Commit Graph

452 Commits

Author SHA1 Message Date
Tomas V.V.Cox
db508778ad Added readPHPArgv() function that will safely read the $argv PHP array
across different PHP configurations. Will take care on register_globals
and register_argc_argv ini directives and the new $_SERVER vars
2002-01-06 20:17:00 +00:00
Tomas V.V.Cox
7f98b04296 Added check for $argv avaible
(thanks Michael Härtl <mhaertl@pressline.de>)
2002-01-05 17:20:08 +00:00
Stig Bakken
54ad4c578c * PEAR.php line number changes again 2002-01-02 17:19:25 +00:00
Stig Bakken
6ca17a6e35 * registry files renamed from .inf to .reg, update test 2002-01-02 17:18:52 +00:00
Stig Bakken
7ab86afd32 * support "pear-get install XML_RPC" 2002-01-02 17:12:26 +00:00
Stig Bakken
4fc3baefd2 * start splitting "pear" command into "pear" and "pear-get" 2002-01-02 17:11:34 +00:00
Stig Bakken
d379d735fb * use new overloading API properly 2002-01-02 17:09:59 +00:00
Stig Bakken
9311e05119 * install PEAR/Dependency.php 2001-12-29 02:12:02 +00:00
Tomas V.V.Cox
6b0ac4420c - Rewrote infoFromTgzFile() (Stig, no more "pedantic" :-)
- Added <description> tag for package.xml
- Temporal fix arround php bug #14744 and temp files cleaning
2001-12-28 19:27:08 +00:00
Stig Bakken
b22a776018 * added <description> element in <package> 2001-12-28 02:09:27 +00:00
Tomas V.V.Cox
bc7bc41e6f switch to use the xml end tag function for correct handling
of multiline tag contents
2001-12-27 11:10:56 +00:00
Tomas V.V.Cox
65a205a7db added default target for installing documentation 2001-12-26 04:00:30 +00:00
Tomas V.V.Cox
09dba8cf28 reverted the last change for now 2001-12-26 03:58:44 +00:00
Tomas V.V.Cox
a8f7a57e97 - Install files marked as "role=doc" in a central PEAR doc dir
(defaults to PHP_DATADIR/pear/doc/Package_name/)
- Store a new property of each installed file ['installed_as'] for
  easy uninstall
2001-12-26 03:57:47 +00:00
Stig Bakken
bd1a88fab6 * use "windir" env.var on Windows too 2001-12-26 01:50:08 +00:00
Stig Bakken
6b8397b9f7 * added System::tmpdir() method (now uses SystemRoot env.var on Windows) 2001-12-26 01:23:04 +00:00
Tomas V.V.Cox
bda81affd2 added the <license> tag under <release> for the package.xml file 2001-12-23 21:32:09 +00:00
Stig Bakken
9c3b983a35 * add "pedantic" mode in infoFromTgzFile and skip some checks if not
pedantic
2001-12-22 04:42:12 +00:00
Yasuo Ohgaki
d4aa7982cf Install session module haeder 2001-12-21 22:50:47 +00:00
Martin Jansen
6c118a143a * Change $Version$ to $Revision$. 2001-12-18 17:06:28 +00:00
Martin Jansen
4b389679c4 * Convert tabs to spaces. 2001-12-18 14:13:43 +00:00
Tomas V.V.Cox
8e18d716f8 that makes more sense 2001-12-18 08:52:48 +00:00
Tomas V.V.Cox
be45657eea quick fix for the "pear info" command 2001-12-18 08:48:28 +00:00
Tomas V.V.Cox
1a451a98ba Added dependencies check support for Installer 2001-12-17 21:11:50 +00:00
Tomas V.V.Cox
2816eafc06 ensure correct package names and versions in the xml parser 2001-12-17 21:10:11 +00:00
Tomas V.V.Cox
ed2bff2a7f - Added callCheckMethod() for making easy the integration with
the PEAR_installer class
- Reverted the logic of the returned value of the check methods.
  They will return false on no error or the error string on error
- Added signOperator() to output the representation of the operator
  with signs instead of letters ('ge' -> '>=')
- Other minor changes
2001-12-17 21:08:58 +00:00
Tomas V.V.Cox
47419f899f call PEAR::raiseError() instead of $this->raiseError() in factory() 2001-12-17 15:33:34 +00:00
Ulf Wendel
8a4b6a79b7 - included PEAR.php
- flush(): consistent cache group defaults
2001-12-17 11:23:33 +00:00
Tomas V.V.Cox
a919c54de1 added support for <deps> and <dep> tags 2001-12-16 16:21:35 +00:00
Tomas V.V.Cox
e2a5cf3fcb use the System class for mkDirHier() and mkTempDir() 2001-12-16 15:14:00 +00:00
Tomas V.V.Cox
a74e56fe05 improved phpdoc of mkTemp() 2001-12-16 01:36:49 +00:00
Tomas V.V.Cox
aadc3fea32 Added System::mktemp() (Creates temporal files or directories) 2001-12-16 01:30:31 +00:00
Martin Jansen
64a857c52e * Destructors seem to work like a charm. -> No need to keep this line. 2001-12-15 15:01:35 +00:00
Martin Jansen
dbe0db638e * Add links to the new documentation. 2001-12-15 14:55:02 +00:00
Sterling Hughes
a98c093d44 be rfc compliant...
RFC 822 *only* supports four digits for the year in order to have a compliant
header.
RFC 850 supports two digits for the year (y2k_incompliant :) so use that when
y2k_compliance is turned off.

In either case, both of these formats require that GMT be appended to the header,
so we do this as well
2001-12-14 11:43:20 +00:00
Stig Bakken
7ea3d57462 * update to new overload api 2001-12-14 07:47:41 +00:00
Alexander Merz
4024d1f938 fix phpdoc 2001-12-13 23:07:16 +00:00
Andrei Zmievski
6bd64164d5 Always output config.nice for standalone extensions. (Really helps with
PHP-GTK).
2001-12-12 20:26:13 +00:00
Stig Bakken
aef2b692c1 * implemented "upgrade"
* report install/uninstall errors
2001-12-12 01:35:03 +00:00
Stig Bakken
035cf39d34 * install PEAR/Autoloader.php 2001-12-12 01:32:01 +00:00
Stig Bakken
4adfb80edc * implemented upgrade 2001-12-12 01:30:56 +00:00
Stig Bakken
491a2f5219 * PEAR_Registry::updatePackage now takes an optional 2nd arg for
replacing package info instead of merging
2001-12-12 01:29:27 +00:00
Stig Bakken
64349569de * make do without overload function 2001-12-12 00:10:47 +00:00
Tomas V.V.Cox
18f2ffeead fixed bug #14414 2001-12-11 20:52:58 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
Stig Bakken
180cce6f63 * fixed the sub-command option parsing
* added -r option to install/uninstall (registers package without
  installing any files, for use by rpm and the like)
2001-12-11 08:39:56 +00:00
Stig Bakken
131acf55f7 * added "register_only" option for install/uninstall 2001-12-11 08:39:01 +00:00
Stig Bakken
79f5dcf7d6 * now using ext/overload
# how to use:
#
# $remote = new PEAR_Remote;
# $remote->package_listAll();
# $remote->user_activate("johndoe");
#
# (when using overloading, "_" is replaced with "." before doing
#  the xmlrpc call)
2001-12-10 17:04:56 +00:00
Stig Bakken
b26e4a97c9 * PEAR_Registry::packageInfo now takes a second arg for returning a single
attribute
2001-12-10 17:01:32 +00:00
Stig Bakken
936923a3b6 * added fold marks, moved around some code and silenced some Archive_Tar
notices
2001-12-10 17:00:32 +00:00