Commit Graph

989 Commits

Author SHA1 Message Date
Stig Bakken
5aab8b2b8b * tolerate $args being empty 2002-07-09 10:52:25 +00:00
Stig Bakken
d90cada542 * tiniest optimization 2002-07-09 10:52:04 +00:00
Stig Bakken
0a6d81b56e * typo 2002-07-09 10:51:41 +00:00
Stig Bakken
b85f40f079 * added "pear sign" command 2002-07-07 21:12:40 +00:00
Stig Bakken
24909111fc * use System::mktemp
* check if an install is about to overwrite existing files belonging
  to other packages, bail out if not in "force" mode
2002-07-07 21:10:29 +00:00
Stig Bakken
6e0745b57a * don't set include path if running 'pear.in' without substitutions
made by the installer
* sort command names in help output
2002-07-07 21:01:10 +00:00
Stig Bakken
81e5b17f91 * made rebuildFileMap method public, added caching and checkFileMap method 2002-07-07 20:48:54 +00:00
Shane Caraveo
8619108154 Let 'pear build' work on windows for building pecl extensions.
A few notes:
Currently only supports release builds, and of course, requires msdev!
pecl packages must have package.xml and xxx.dsp files for this to work
the package name in package.xml must match the name of the dsp file, so
package iisfunc must have dsp iisfunc.dsp
2002-07-07 20:47:57 +00:00
Stig Bakken
87f97ba5c9 * use System::mktemp rather than PEAR_Common::mkTempDir 2002-07-07 20:42:08 +00:00
Stig Bakken
38a56a51cc * silence warning 2002-07-07 20:41:20 +00:00
Christian Dickmann
d04c8495d3 add local XMLRPC cache 2002-07-06 14:44:05 +00:00
Stig Bakken
6b4707320d * define PEAR_ZE2 when running with Zend Engine 2 2002-07-05 01:52:09 +00:00
Martin Jansen
1b1d5da907 * Remove http:// from the proxy server string.
Patch by: "michiel bakker" <michiel_bakker@hotmail.com>
2002-07-04 20:28:56 +00:00
foobar
bb0d7d6e31 - Let's be tad more verbose what's happening during 'make install' 2002-07-03 22:12:13 +00:00
Christian Dickmann
a6783f8070 make 'remote-info' use package.info. add deps to 'list-all' 2002-07-02 13:04:01 +00:00
Tomas V.V.Cox
ba7bdbdb65 change the include_path setting to be in the php space instead
of doing in the interpreter line (seems to break FreeBSD)
2002-06-25 13:45:29 +00:00
Martin Jansen
2fec25ad73 * Rephrase help text. 2002-06-24 16:03:45 +00:00
Stig Bakken
7914985b1a * typo 2002-06-21 13:11:04 +00:00
Stig Bakken
0f4ccfaa27 * bending over backwards to find sensible defaults 2002-06-21 06:08:54 +00:00
Tomas V.V.Cox
77acb22bba - Force params to version_compare() to be strings, otherwise some
comparations will fail (ex. 0.9 will be equal to 0.90)
- Other minor cleanup's
2002-06-19 23:38:59 +00:00
Tomas V.V.Cox
fa2ee37313 Do NOT allow install packages with errors in its description file 2002-06-19 22:51:29 +00:00
Tomas V.V.Cox
455f7bc746 "Release notes"++ 2002-06-18 08:41:39 +00:00
Tomas V.V.Cox
d2b435eb08 Dropped case insentive ext search in PEAR::loadExtension() 2002-06-17 14:35:12 +00:00
Tomas V.V.Cox
4211d0e590 Typo in the folding mark 2002-06-17 14:04:01 +00:00
Stig Bakken
271c2526df * php-4.2.1-installer.exe for Windows is installed in c:\php by
default, but it has PHP_SYSCONFDIR set to c:\php4.  workaround.
2002-06-17 13:56:38 +00:00
Tomas V.V.Cox
80361edcb6 Use the new PEAR::loadExtension() in checkExtension() instead
of the "hack"
2002-06-17 13:50:33 +00:00
Tomas V.V.Cox
87ddd96027 Added PEAR::loadExtension($ext) - OS independant PHP extension load
# PEAR developers, please use this function if you need to check or
# load an extension.
2002-06-17 13:39:29 +00:00
Tomas V.V.Cox
9e67012d74 trailing ws 2002-06-17 13:32:42 +00:00
Stig Bakken
97fd0acc14 * doh 2002-06-17 10:58:34 +00:00
Alan Knowles
c904e22ade Fixing for the coding standard :) 2002-06-17 10:52:21 +00:00
Stig Bakken
2ae8219d44 * add xmlrpc request to debug output (verbosity level 4+) 2002-06-17 10:26:55 +00:00
Alan Knowles
19b63d5f87 Added Dependancy check on XML - previously pear installer failed silently 2002-06-17 04:49:14 +00:00
Tomas V.V.Cox
19bfe8a3e1 Install the pear command under the bin_dir setting intead of the fixed
PHP_BINDIR
2002-06-16 14:30:14 +00:00
Stig Bakken
c55ce8b07f * set include_path when running "pear" 2002-06-16 05:43:48 +00:00
Tomas V.V.Cox
9baec5623d - Fix issue with the DIRECTORY_SEPARATOR, did make the install of
XML_image2svg fail
- TODO++ and others minor stuff
2002-06-14 23:18:04 +00:00
Stig Bakken
972edb2795 * if verbosity config is > 3, display xmlrpc response
* another bugfix
2002-06-14 22:25:37 +00:00
Alan Knowles
4f1531b163 remote list and remote listall, can now list non-stable packages if you set prefered_state to something else 2002-06-14 15:03:29 +00:00
Alan Knowles
78fffcce0e Fixed XML RPC sending of args - lets try and get the right tag :) 2002-06-14 14:55:28 +00:00
Tomas V.V.Cox
cf4002fd58 Change a little the dep db structure
Comment the code and some clean up's
2002-06-13 15:10:42 +00:00
Tomas V.V.Cox
3507f15519 More work on the dependencies DB (still not tested/used) 2002-06-13 13:41:12 +00:00
Stig Bakken
efbb0b125c * comment typos 2002-06-12 21:23:22 +00:00
Stig Bakken
16a112094b * set working version to 0.91-dev 2002-06-12 21:19:51 +00:00
Stig Bakken
ab9159719b * minor cleanup 2002-06-12 21:17:10 +00:00
Tomas V.V.Cox
d2b830ff4a Attempt to make pear.bat work better under Windows 2002-06-12 16:31:53 +00:00
Tomas V.V.Cox
4bb9c66fee Commented out old unused stuff
# I'm not familiar with the 'make' syntax, please tell me if
# something is wrong
2002-06-09 18:34:04 +00:00
Tomas V.V.Cox
613496c4ef Moved to pear/Archive_Tar/scripts 2002-06-09 18:25:40 +00:00
Tomas V.V.Cox
c67c595645 if (!dl(php_gtk)) die("Unable to load the php_gtk extension\n"); 2002-06-09 18:18:01 +00:00
Tomas V.V.Cox
8c8599222e Beautify config-show output, some wrap changes and fix small
issue with _tableRow() with line counting
2002-06-09 18:12:59 +00:00
Tomas V.V.Cox
0d5d98a6d8 displayLine() -> outputData() 2002-06-09 16:29:50 +00:00
Tomas V.V.Cox
7647781340 - outputData($data, $command)
+ outputData($data, $command = '_default')
2002-06-09 16:28:46 +00:00
Christian Dickmann
3dd47bc651 add modes to list-all. fix a mergerbug 2002-06-08 18:44:34 +00:00
Tomas V.V.Cox
2ed7358250 Hopefully fixed a couple of problems with destination paths:
- Bug #17529
- In Windows getting <pear>\/\<file>
- Documentation under <doc_dir>/Package/Package/

# Please test it and report possible problem
2002-06-08 17:34:46 +00:00
Tomas V.V.Cox
f33c5896ac Experimental dependencies database handling functions
(not yet in production)
2002-06-07 18:07:38 +00:00
Tomas V.V.Cox
fcd6d2b5cd Beautify remote-info 2002-06-07 15:06:25 +00:00
Tomas V.V.Cox
f3673c8798 - Reapplied the "treat umask as octal in "config-set"
command" Stig's patch
- Ported the config-help command to new UI API
2002-06-07 14:50:39 +00:00
Tomas V.V.Cox
8f21117efb more wrapping cases 2002-06-07 14:48:01 +00:00
Tomas V.V.Cox
ebea2ed5cf Remove debug code 2002-06-07 10:22:00 +00:00
Tomas V.V.Cox
eeb7f9dafc More info output retouchs 2002-06-07 10:20:41 +00:00
Tomas V.V.Cox
b5bf0fb154 Fix some minor issues with the parsing 2002-06-07 10:18:59 +00:00
Stig Bakken
2bc921c60a * get rid of pearize 2002-06-07 10:17:25 +00:00
Tomas V.V.Cox
c083784023 Make "info" full human friendly (in deps list and lastmodified) 2002-06-07 08:45:00 +00:00
Tomas V.V.Cox
9f46d24922 Make $_deps_rel_trans and $_deps_type_trans globally avaible:
moved from Command/Package.php -> Command/Common.php
2002-06-07 08:43:45 +00:00
Tomas V.V.Cox
149dcec76f Be nicer with the help 2002-06-07 08:05:48 +00:00
Tomas V.V.Cox
7770b625ba ws 2002-06-07 08:04:05 +00:00
Tomas V.V.Cox
1dac8c275b Put back the "info" command in its full state:
"Displays information about a package. The package argument may be a
local package file, an URL to a package file, or the name of an
installed package."
Command "package-info" depreciated (again)
2002-06-07 07:54:28 +00:00
Stig Bakken
678456cf0f * prepare 0.90 2002-06-06 11:31:07 +00:00
Stig Bakken
d1826b4287 * add "nobuild" option to installer (-B or --nobuild option to CLI frontend) 2002-06-06 10:51:26 +00:00
Stig Bakken
d8c07cc63d * remove debug output 2002-06-06 10:37:13 +00:00
Stig Bakken
cf81f686e9 * when building, look for "package-version" subdirectory, needed for
building stuff straight from tarballs
2002-06-06 10:35:16 +00:00
Stig Bakken
9161f8a32e * add PEAR_COMMON_PACKAGE_NAME_PREG constant 2002-06-06 10:16:42 +00:00
Stig Bakken
3c587c0aad * make displayFatalError work again 2002-06-06 10:16:01 +00:00
Tomas V.V.Cox
aa7d447d25 Forgot that one 2002-06-06 09:05:04 +00:00
Tomas V.V.Cox
8447d094c6 Wrap table contents
# Sorry could't wait for that commit :-)
2002-06-06 08:50:31 +00:00
Tomas V.V.Cox
41e7696ec9 Implemented "pear info <Installed Package>" command
# Stig, why I'm sure that you already have implemented this
# command? Have to stop with my LSD therapy
2002-06-06 07:25:07 +00:00
Tomas V.V.Cox
ec9c0bf0a7 Split the doPackageInfo() in doPackageInfo() and _infoForDisplaying()
(this last one can be statically called and is used also from
the "info" command)
2002-06-06 07:22:23 +00:00
Tomas V.V.Cox
eb54d687ad package.xml file for the PEAR Mail package 2002-06-06 06:43:19 +00:00
Tomas V.V.Cox
fda17098b1 That will really avoid PHP warnings 2002-06-06 06:40:05 +00:00
Tomas V.V.Cox
1971e52e33 Fix package command
# can't beleive you don't test commits :-)
2002-06-06 06:35:12 +00:00
Stig Bakken
4317a5c7a9 * sort package names in "pear list" 2002-06-04 15:25:23 +00:00
Stig Bakken
b8ec647fc5 * fix bug that was re-introduced during merge 2002-06-02 23:59:41 +00:00
Christian Dickmann
ee44ad4f5b make 'pear remote-info' work with CLI 2002-06-02 20:24:50 +00:00
Christian Dickmann
19c946cce2 make 'pear search' work with CLI. fix a typo 2002-06-02 20:13:50 +00:00
Christian Dickmann
0220472176 silence unlink() and rmdir(). fix a bug where wasn't set due to wrong ini setting 2002-06-02 14:27:15 +00:00
Stig Bakken
f111dff665 * merge NEW_UI_API branch 2002-06-02 13:07:19 +00:00
Tomas V.V.Cox
3a32f51b11 fread already detects EOF 2002-05-31 18:49:47 +00:00
Tomas V.V.Cox
5d43ef2cd0 Be able to handle strings as well as arrays in _multipleToStruct() 2002-05-31 18:12:56 +00:00
Tomas V.V.Cox
5cb633933f - Make mkTemp() automatically removed temporary created files
or dirs at script shutdown time
- Remove unnecesarry PEAR inheritance
- Some PHPDoc fixes
2002-05-31 17:47:19 +00:00
Jan Lehnardt
57adfb0dec - add testcase for PEAR::delExpect() 2002-05-30 09:39:52 +00:00
Jan Lehnardt
5ec88a3b73 - minor improvement of readability,
#thanks richy ;)
2002-05-29 21:55:52 +00:00
Jan Lehnardt
998ef91cad - added delExpect() API method. It allows to unset one or more expected
- error codes.
 - requires _checkDelExpect() (private) which I added as well.
 - inspired by chregu (PHP-Deluxe, page 75)
2002-05-29 21:41:27 +00:00
Stig Bakken
43beb1deda * 0.11 release coming up 2002-05-28 01:22:41 +00:00
Stig Bakken
a0b0ad161f * drop package-info command (deprecated by "info") 2002-05-28 01:21:47 +00:00
Stig Bakken
1ed83e4970 * update test 2002-05-28 01:21:26 +00:00
Stig Bakken
ecf93ec1fd * update 0.11 release notes
* move build logic into PEAR_Builder
2002-05-28 01:01:43 +00:00
Stig Bakken
599cede43e * disable *&$^*#@ runtime ^@#*&$@ magical ^*!@@!! quoting 2002-05-28 00:45:19 +00:00
Stig Bakken
0adf7e2530 * sync up 2002-05-28 00:35:16 +00:00
Stig Bakken
52a00c9a0c * disable magic_quotes_runtime (what a broken concept!!) while
reading config files
2002-05-28 00:31:04 +00:00
Stig Bakken
819dd35055 * fix some errors/warnings
* install data and test files now
2002-05-28 00:11:41 +00:00
Stig Bakken
245ca5aa7c * added data_dir and test_dir 2002-05-28 00:01:19 +00:00
Stig Bakken
926dcdc854 * moved the --without-pear compat defines to the right place 2002-05-27 22:28:26 +00:00