Commit Graph

742 Commits

Author SHA1 Message Date
Tomas V.V.Cox
a974fbd9ae fix a problem handling nested directories 2002-03-21 19:12:49 +00:00
Tomas V.V.Cox
9bee3510ea readd the "list" command 2002-03-21 11:33:54 +00:00
Tomas V.V.Cox
b14c8152da Adapt this commands to the new config store mechanism and command params 2002-03-21 11:16:15 +00:00
Tomas V.V.Cox
139f69ca32 Pass config to command factory and pass the correct command params 2002-03-21 11:13:02 +00:00
Tomas V.V.Cox
47c71bcaa1 - The config object is stored by the factory method
- Make install/unistall/package work again (didn't work for me)
2002-03-21 11:10:17 +00:00
Tomas V.V.Cox
67b971aece Clean up unused stuff 2002-03-21 11:04:56 +00:00
foobar
4a0291d238 - Make it possible to build ext/openssl as shared extension 2002-03-20 02:07:11 +00:00
Stig Bakken
c19ddade2c * install PEAR_Command_Package 2002-03-19 19:59:05 +00:00
Stig Bakken
de381091ba * re-add "package" command 2002-03-19 19:55:30 +00:00
Stig Bakken
fdf8cafd11 * "pear login" finally works 2002-03-19 19:31:02 +00:00
Stig Bakken
97beb58d43 * fix http auth bug 2002-03-19 19:30:06 +00:00
Stig Bakken
529ec7cda4 * add optional default parameter to userDialog method 2002-03-19 19:28:48 +00:00
Stig Bakken
623905dfbf * pear-get gone 2002-03-19 01:13:20 +00:00
Stig Bakken
41c1c08495 * get rid of this hack 2002-03-18 18:01:14 +00:00
Stig Bakken
a036fe5b72 * Refactoring of "pear" command internals. Highlights:
- user interface abstraction, making a Gtk installer should only be
   a matter of implementing PEAR_CommandUI_Gtk plus a "pear-gtk" executable
 - separated code into command classes, able to specify one or more
   commands
 - no more "pear-get" :-)
* fixed use of PEAR_Config::singleton to avoid object copying
2002-03-18 17:39:52 +00:00
Stig Bakken
c55f61c9aa * added optional layer parameter to get() method
* added isDefinedLayer() method
2002-03-16 23:48:23 +00:00
Sascha Schumann
2ea99fe17a a bit of refactoring and making always_shared a nop in every day life 2002-03-13 12:30:49 +00:00
Sascha Schumann
e10ca10084 Provide context-specific functions which yield the directories
of extensions (PHP 4 configure vs. self-contained module)
2002-03-13 09:20:49 +00:00
Tomas V.V.Cox
7c77b1a71e No more lines on this test 2002-03-13 01:46:10 +00:00
Tomas V.V.Cox
12b0eae9e2 phpdoc update 2002-03-13 01:39:51 +00:00
Tomas V.V.Cox
409a631bed Fix error handling selection when both class and global are set 2002-03-13 01:17:47 +00:00
Stig Bakken
32d3a0afd7 * added file locking
* added file name to package map
2002-03-11 15:13:19 +00:00
Sascha Schumann
9c3b0c752e Invoke pear-related targets conditionally and
rename install-data-local target to install-pear.
Also remove PEAR_DIR, because it is unused.
2002-03-11 13:17:44 +00:00
Sander Roobol
58a52f93bc Fixed many tests, mostly incorrect paths. 2002-03-08 19:16:19 +00:00
Sascha Schumann
9d9d39a0de Please welcome the new build system.
If you encounter any problems, please make sure to email sas@php.net
directly.

An introduction can be found on

http://schumann.cx/buildv5.txt
2002-03-07 14:20:02 +00:00
Stig Bakken
fda570aadc * PEAR_Config test complete 2002-03-05 20:39:38 +00:00
Stig Bakken
80f1212660 * update PEAR_Config test 2002-03-05 17:39:53 +00:00
Stig Bakken
856e382c8b * fix singleton() so it actually works
* insert file format version in written files
* add getSetValues() method for listing the valid values for a set value
2002-03-05 17:39:29 +00:00
Stig Bakken
22aac3652e * fix PEAR::setErrorHandling() settings so they apply when using raiseError() 2002-03-05 14:43:02 +00:00
Stig Bakken
2b9f535589 * fixed a couple of bugs in PEAR_Config revealed by test 2002-03-05 00:41:36 +00:00
Stig Bakken
8188c50c28 PEAR_Config rewrite:
* Now supports (in theory) an arbitrary number of
  config "layers" (different sets of configuration data with a defined
  priority).
* Specify the type of config values so different frontends can make
  user-friendly configuration interfaces.  Valid types are currently
  "string", "integer", "file", "directory", "set" and "password".  The
  set type lets you specify a limited set of values that the config
  values must be selected from.  Password values are stored
  base64-encoded.
* Added phpdoc comments and some docs for config values.
* Added singleton method.
# configuration files still contain serialized data
2002-03-04 10:02:45 +00:00
Stig Bakken
8d7d6ce2c3 * more cli test fixes 2002-03-02 03:11:02 +00:00
Stig Bakken
4c73289238 * updated tests to work with cli 2002-03-02 03:07:48 +00:00
Stig Bakken
b8aa2339d3 fix test 2002-03-02 02:47:48 +00:00
Stig Bakken
8e0e7cd4ba * code for install/uninstall/upgrade complete, not yet tested
# uses a new, un-committed version of PEAR_Config
2002-03-01 09:43:18 +00:00
Stig Bakken
a146a16475 * output a reminder to set CVS tags after packaging 2002-03-01 09:16:49 +00:00
Sebastian Bergmann
90613d2282 Maintain headers. 2002-02-28 08:29:35 +00:00
Stig Bakken
4a2e3c4a20 * fix broken dtd
# Tomas, there is no way to do what you want in the DTD without switching
# from XML to SGML.  Sorry :-)
2002-02-24 10:45:28 +00:00
Tomas V.V.Cox
3e4235b29a DTD corrections (make it require minimal data for installer) 2002-02-23 21:21:18 +00:00
Stig Bakken
3ea5f3343b * started implementing new "cross-environment" command API
# work in progress, not tested at all yet!
2002-02-23 15:32:36 +00:00
Tomas V.V.Cox
2833e8467c Point readers to pear web 2002-02-23 13:47:16 +00:00
Tomas V.V.Cox
40c5f9afbc outdated TODO not needed for the moment 2002-02-23 13:44:52 +00:00
Vincent Blavet
508b9eff57 * Packager : Changing the order of the files in the package archive file.
The package.xml file is now at the 'root' of the archive, the files tree are under a 'packagename'-'packageversion' folder
* Installer : installing the knew archive format AND supporting the existing format
2002-02-22 21:57:04 +00:00
Vincent Blavet
04db776e71 Config variables must be set between "" while using pear.bat windows script 2002-02-20 22:39:16 +00:00
Vincent Blavet
16c5edd86f * Correct bug while using windows dir separator. It is now supported 2002-02-20 22:15:28 +00:00
Martin Jansen
52ba15e99d ='typo' 2002-02-18 10:27:36 +00:00
Martin Jansen
12ebcb3a21 * Fix for bug #15500 2002-02-17 15:32:53 +00:00
Stig Bakken
2eef6d482f * allow <license> in both <package> and <release>
* added <changelog> element
* added "data" role for files
* allow nested <dir> elements
2002-02-17 14:43:16 +00:00
Jon Parise
d8bfdb4f91 Image/Remote.php and Mail/mime.php have moved to the pear/ repository. 2002-02-17 04:31:30 +00:00
Vincent Blavet
f6f6d88ad3 * Synchronize pearwin script with pearcmd-xxx.php commands
* Still work to do
2002-02-13 21:27:54 +00:00
Vincent Blavet
dac7d61612 * user system/user config rather than default value 2002-02-13 21:26:39 +00:00
Vincent Blavet
e5a24250d2 - Adding support for remote-list command (with XML-RPC installed)
- Start support of show-config (still work to do ...)
2002-02-13 08:50:07 +00:00
Stig Bakken
6176cf5216 * "pear-get install Auth" works now 2002-02-13 01:40:18 +00:00
Stig Bakken
773ee5d7e7 * don't use ext/overload yet 2002-02-13 01:09:55 +00:00
Stig Bakken
042b883899 * print package name 2002-02-13 01:07:30 +00:00
Jan Lehnardt
9869854d47 - added support for different error messages for the following cases:
-
 - if a user with unsufficient permissions trys to select a database
 - PEAR::DB previously threw a "no database selected" error  instead
 - of a more proper "insufficient permissions". This is fixed now.
 -
 - if a user selects a nonexistant database PEAR::DB threw a
 - "no database selected" error instead of "no such database".
 - This is fixed as well.
 -
 - I added two new constants to DB.php and a simple case construct to
 - DB/mysql.php which can be easily extended to achive the above. I
 - hope this is ok.
 - Thanks to Till Gerken for mentioning this.
2002-02-12 18:29:27 +00:00
Martin Jansen
5aa0158452 * Fix bug #15423. 2002-02-11 13:07:42 +00:00
Tomas V.V.Cox
a5c0adc9fe Now System will return false on fail 2002-02-10 17:23:04 +00:00
Tomas V.V.Cox
0dd3010501 test suite for the System class 2002-02-10 17:12:43 +00:00
Tomas V.V.Cox
d966015b52 - Now error will be triggered with trigger_error(). When a command
fails the function will return false
- In-line documentation update
2002-02-10 17:03:22 +00:00
Martin Jansen
7270b4223d * Better error handling. 2002-02-07 20:50:08 +00:00
Martin Jansen
5e9b1634c6 * Partially fix bug #15423. 2002-02-07 11:15:54 +00:00
Tomas V.V.Cox
b91c077710 added 'System::type()' (show the full path of a command)
Copied almost verbatim from Stig's PEAR_Dependency::checkProgram()
2002-02-06 08:32:00 +00:00
Stig Bakken
ad882c44c9 * add some missing attributes 2002-02-02 00:06:44 +00:00
Tomas V.V.Cox
22aee18f0b Fix remote security risk, pointed out by Wolfram Kriesing 2002-02-01 16:36:32 +00:00
Tomas V.V.Cox
1cb07caf63 Added support for passing special backend params in DSN. Ex:
ibase://user:pass@localhost/db?role=foo&dialect=bar
2002-02-01 15:03:17 +00:00
Martin Jansen
2077f62d08 * Fix bug #15313 2002-01-31 13:41:04 +00:00
Stig Bakken
c049dda279 * lowercase tags and attributes 2002-01-31 08:19:34 +00:00
Stig Bakken
0943dc82dd * remove broken rule for rebuilding Makefile 2002-01-31 08:19:09 +00:00
Stig Bakken
c1048eac9f * don't make command libs executable 2002-01-30 12:21:25 +00:00
Stig Bakken
615f110d4e * modularize "pear" and "pear-get" commands somewhat. checking options
etc. is done for both in pearcmd-common.php.
2002-01-30 12:20:12 +00:00
Stig Bakken
a33fd65b12 * silence warning 2002-01-30 12:18:10 +00:00
Stig Bakken
f4425aece6 * bring DTD up to date 2002-01-30 09:23:34 +00:00
Vincent Blavet
3d95bf927c * Remove the use of a temp dir
* Tar archive is now doing the same work with less overhead
2002-01-26 12:36:30 +00:00
Tomas V.V.Cox
7eebc64347 correct url 2002-01-24 15:02:05 +00:00
Vincent Blavet
06c98b477b * Call the PEAR_Registry constructor with the optional parameter 2002-01-24 08:24:24 +00:00
Vincent Blavet
1696a2c4e2 * Adding the ability to set the PEAR_INSTALL_DIR while creating the Registry object (in the same way as Installer.php) 2002-01-24 08:22:46 +00:00
Vincent Blavet
f2121e4bcf * Adding support of extraction of remote archive http://www/archive.tgz
* Correct bug while using Windows root path c:\xxx\yyy in extract fct
2002-01-24 08:08:54 +00:00
Vincent Blavet
2c91e54d5a * Add uninstall command
* Add list-installed command
2002-01-23 19:09:54 +00:00
Tomas V.V.Cox
62c9234520 Return false when the directory can not be created in mkDir() 2002-01-23 18:53:08 +00:00
Jon Parise
6aa6a6ab87 Adding Archive/Tar.php to php4/pear/. This is needed in order for the
phptar script (php4/pear/scripts/phptar) to be useful, so it makes sense
to make Archive/Tar.php a standard component.
2002-01-21 18:25:04 +00:00
Sebastian Bergmann
23f8fe7d47 Move Cache to /pear. 2002-01-20 16:06:08 +00:00
Sebastian Bergmann
9904415f88 Move Payment_Verisign to /pear. 2002-01-20 15:55:04 +00:00
Sebastian Bergmann
8019a1cfe2 Move Benchmark, Math, Numbers to /pear. Remove Log, it was already in /pear. 2002-01-20 15:44:32 +00:00
Tomas V.V.Cox
87530cf819 Stores limit_from and limit_count as DB_result proporties instead
of DB_common. Fixs bug when doing queries inside limitQuery results.
2002-01-19 07:46:23 +00:00
Tomas V.V.Cox
4cfbd67b08 New DSN "protcocol(protocol_opts)" format support:
phptype://user:pass@protocol(proto_opts)/database
ex:
pgsql://user@unix()/pear
mysql://user@unix(/path/to/socket)/pear
pgsql://user:pass@word@tcp(somehost:7777)/pear
2002-01-13 18:24:56 +00:00
Tomas V.V.Cox
e5898af98c - Added HTTP::head($url) which sends a "HEAD" HTTP command to a server
and returns the headers as an associative array
- Call-time pass-by-reference fixes
2002-01-11 01:51:24 +00:00
Tomas V.V.Cox
3a878be7a1 submit a test that will fail due to php bug #14744 2002-01-11 00:04:55 +00:00
Tomas V.V.Cox
ed01060897 ws 2002-01-07 00:11:11 +00:00
Tomas V.V.Cox
ce82f6261a use the new Console_Getopt::readPHPArgv() function to read args 2002-01-06 20:19:41 +00:00
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
Stig Bakken
2c96b5856f * renamed check methods to checkXxx
* completed the extension check method
* added checks for os, php version, programs and sapi backend
2001-12-10 16:59:17 +00:00
Stig Bakken
cd9f1f828e * fix phpdoc comments 2001-12-10 16:40:30 +00:00
Stig Bakken
883e3395f0 * stop parsing arguments when encoutering the first non-option arg 2001-12-10 16:38:44 +00:00
Stig Bakken
b11d1eb440 * initial commit of PEAR method autoloader 2001-12-10 01:50:11 +00:00
Tomas V.V.Cox
4bffed7769 Rename Dependencie.php to Dependency.php 2001-12-02 16:29:37 +00:00
Tomas V.V.Cox
3898513fbd Class for checking dependencies 2001-12-02 00:44:02 +00:00
Tomas V.V.Cox
f4299a90e2 check for version for not building broken packages (thanks Markus) 2001-12-01 17:55:47 +00:00
Tomas V.V.Cox
15f0f8ae23 implemented "uninstall" command 2001-11-15 01:24:35 +00:00
Christian Stocker
57d908ea1f adding PEAR/Registry.php 2001-11-14 09:55:38 +00:00
Christian Stocker
fde1575ba2 checking if package.xml.gz exists, before checking if it's writeable 2001-11-14 09:22:00 +00:00
Stig Bakken
f705826052 * command name changes 2001-11-13 01:07:36 +00:00
Stig Bakken
e6f95ee99b * rename files to .reg (not .inf) 2001-11-13 01:06:48 +00:00
Stig Bakken
79f0345166 * error message cleanup
* store registry object as property
2001-11-13 01:05:46 +00:00
Martin Jansen
62f57095a0 * shame on me ... 2001-11-12 10:52:41 +00:00
Martin Jansen
98bda8de71 * typo 2001-11-12 10:51:42 +00:00
Jon Parise
1c7f015c4d Provide the full URL to pear.php.net. 2001-11-12 03:04:06 +00:00
Markus Fischer
3a1b1142fe Add missing loop variable $i.
Suppress more warnings when using the option separator '--'.
2001-11-11 04:09:08 +00:00
Markus Fischer
d672226d6f Suppress warning on long-options without an additional argument. 2001-11-11 03:59:22 +00:00
Martin Jansen
13fb78bab1 * some minor improvements 2001-11-10 10:37:24 +00:00
Tomas V.V.Cox
878fb495fe - By default DB_FETCHMODE_OBJECT will do a cast to object from the row
array (twice fast than with DB_Row)
- API Doc updates/fixs
2001-11-08 13:53:44 +00:00
Stig Bakken
61cad20c12 * store registry data in PEAR_INSTALL_DIR/.registry instead of /var/something 2001-11-07 10:43:04 +00:00
Stig Bakken
b1976de01b * fix "list" command 2001-11-07 09:25:39 +00:00
Stig Bakken
81b5aabb33 typo 2001-11-07 09:24:55 +00:00
Chuck Hagenbuch
352e52716a fix the singleton and factory methods for
a). php 4.0.6 (where include_once might return false)
b). to use references and not copy so many objects
2001-11-06 21:46:41 +00:00
Tomas V.V.Cox
5695709fb7 E_ALL fixes 2001-11-06 01:05:28 +00:00
Tomas V.V.Cox
16f8af514f E_ALL fixes 2001-11-06 00:22:18 +00:00
Stig Bakken
db44b1086c * expectError() now accepts "*" as a catch-all
* updated tests
2001-11-04 09:07:17 +00:00
Christian Stocker
288871505b typo 2001-11-02 17:57:17 +00:00
Tomas V.V.Cox
3a0e43cb54 use feautres property instead of options 2001-11-02 00:38:23 +00:00
Tomas V.V.Cox
fa15d6069c - Added row limit support for fetchInto and fetchRow
- Added getRowCounter method for DB_result to get the row number
  you are fetching in limited queries
2001-11-01 15:14:17 +00:00
Stig Bakken
8a7f7d5cae * pearweb xmlrpc layer now handles PEAR errors 2001-10-31 06:21:11 +00:00
Stig Bakken
b0a803d127 * update tests 2001-10-31 05:52:41 +00:00
Stig Bakken
2c05c7e0ac * removed error_prepend and error_append properties 2001-10-31 05:48:16 +00:00
Stig Bakken
b5dc4f7ce0 renamed "debuginfo" property declaration to "userinfo" 2001-10-31 05:44:19 +00:00
Stig Bakken
f0df3f5f82 * added "pear info" and "pear show-config" commands
* "pear install" now using the package registry
2001-10-31 05:39:11 +00:00
Stig Bakken
3a97065f87 * disable case-folding in the xml parser (for consistency now that the
DTD is all lowercase)
2001-10-30 12:29:55 +00:00
Stig Bakken
9a8854b5b1 * improved error reporting in PEAR_Remote::call 2001-10-30 12:28:39 +00:00
Stig Bakken
ed03a30603 * added getKeys method 2001-10-30 12:27:58 +00:00
Stig Bakken
4fc273adda ws 2001-10-30 12:19:36 +00:00
Stig Bakken
31391b8df3 * moved <filelist> from <package> to <release>
* added <state> element
2001-10-30 12:08:07 +00:00
Frank M. Kromann
e9c09b86e1 Adding nextResult() function allowing batches of sql statements to be
executed with one call to the query function.
2001-10-29 23:37:27 +00:00
Frank M. Kromann
51ef66ed67 Adding fbsql.php to PEAR install 2001-10-29 19:28:22 +00:00
Stig Bakken
7ab89b02c4 * started working on "pear list" command 2001-10-29 14:15:43 +00:00
Stig Bakken
b60aedc275 * PEAR_Registry: renamed "upgradePackage" to "updatePackage"
* added tests for PEAR_Config and PEAR_Registry
2001-10-29 12:17:37 +00:00
Stig Bakken
f8055473a4 * moved System.php out of Experimental/ 2001-10-29 12:15:53 +00:00
Stig Bakken
dc9fc4155e * typo 2001-10-29 07:21:08 +00:00
Stig Bakken
c62fdf8f11 * added listPackages
* made packageInfo param optional, if not specified returns info for
  all packages
2001-10-28 23:35:10 +00:00
Stig Bakken
fd42c6afba * nuked PEAR_Packlist class and added PEAR_Registry instead 2001-10-28 23:22:17 +00:00
Stig Bakken
cd0fb34562 * actually implement -s/-S options :-) 2001-10-27 07:52:12 +00:00
Stig Bakken
475796a0d7 removed 2001-10-26 20:05:34 +00:00
Stig Bakken
c278bfc448 * implemented "pear list-packages", the first sub-command using xmlrpc 2001-10-26 11:45:21 +00:00
Stig Bakken
f197cf3630 * PEAR_Config class to maintain system and per-user configuration for
PEAR installations
* PEAR_Remote class to communicate with the backend server (xmlrpc)
* change pear script's option parsing to "-d foo=bar" style
* added -c/-C (user/system config file) and -s/-S (store user/system config)
  options
2001-10-26 10:07:43 +00:00
Markus Fischer
1a247ba1d8 Made error returning on missing extensions consistent across all backends 2001-10-14 01:23:07 +00:00
Martin Jansen
4d54d1919c * updated email adress 2001-10-13 09:32:34 +00:00
Martin Jansen
e9eb586106 * fixed problem with copyright header on some systems. 2001-10-13 06:22:09 +00:00
Martin Jansen
d37016f26d * streamlined the copyright header
* changed path names in pear.bat to more typical values
# The GUI installer on Win32 installs PHP to c:\php by default, so we
# should make that the predefined value in the PEAR batch file.
2001-10-12 20:39:50 +00:00
Alexander Merz
8d66ae62e9 typo 2001-10-12 19:46:21 +00:00
Alexander Merz
262bcc637d win version of pear the pear script 2001-10-12 19:43:58 +00:00
Stig Bakken
405142087c * replaced PEAR::phpVersionIs with version_compare 2001-10-11 22:11:34 +00:00
Stig Bakken
1f40bd4cd9 * updated line numbers 2001-10-11 01:23:53 +00:00
Tomas V.V.Cox
692d30b7be fix a problem with the propagation of baseinstalldir and role 2001-10-10 18:42:23 +00:00
Tomas V.V.Cox
d557151ce7 more clean up/fixes 2001-10-09 02:56:33 +00:00
Tomas V.V.Cox
13682462c7 some clean up 2001-10-08 16:52:33 +00:00
Tomas V.V.Cox
c7239f2b00 more work on Windows support 2001-10-08 06:12:13 +00:00
Tomas V.V.Cox
5f5bbfd3f3 added mkTempDir to create temporal directories 2001-10-08 06:10:54 +00:00
Tomas V.V.Cox
fb487bc38d detect and report error 2001-10-08 03:31:14 +00:00
Tomas V.V.Cox
28f5a1e6e9 use Tar.php class and clean up some unused properties 2001-10-08 03:29:34 +00:00
Tomas V.V.Cox
5b0e540882 work on Windows support (use Tar class and System class) 2001-10-07 20:16:41 +00:00
Tomas V.V.Cox
b46e7d76b4 use the new System class for common file opperations 2001-10-07 20:14:11 +00:00
Tomas V.V.Cox
20505d8483 added tests for PHP version comparing functions 2001-10-05 13:02:08 +00:00
Tomas V.V.Cox
b244f61139 changed the logic of version comparation 2001-10-05 12:46:21 +00:00
Tomas V.V.Cox
1f470ecca6 E_ALL fixes 2001-10-05 01:32:13 +00:00
Tomas V.V.Cox
0ebee4d29f get rid of the RC part of php versions 2001-10-05 00:28:36 +00:00
Tomas V.V.Cox
0786889de0 added method phpVersionIs() to find if a PHP version is minor, greater
or both (see in-line doc for more info)
2001-10-04 19:05:09 +00:00
Jon Parise
c6bed4ce3d Search for the '@' symbol in the DSN from the right instead of the left.
That will allow the password element to include a '@' symbol without
confusing the DSN parser.

Submitted by: Alex L <admin@networkessence.net>
2001-10-04 00:29:37 +00:00
Tomas V.V.Cox
e3e28c8f59 extract only the package.xml file instead of all files 2001-09-29 00:38:24 +00:00
Tomas V.V.Cox
15ac0567f9 implemented infoFromTgzFile() 2001-09-28 00:55:16 +00:00
Tomas V.V.Cox
73b5ff0389 tab vs ws 2001-09-27 23:59:16 +00:00
Tomas V.V.Cox
95d19651f3 don't want "-" in package names 2001-09-27 23:31:15 +00:00
Stig Bakken
f12896d23b * hopefully the only changes required for the initials->user rename 2001-09-04 03:34:59 +00:00
Stig Bakken
04439c305b * rename "initials" to "user" for clarity 2001-09-04 03:23:56 +00:00
Jesus M. Castagnetto
22dc6f2a3b s/fileList/filelist/ 2001-09-02 00:11:44 +00:00
Jesus M. Castagnetto
2f9b7b8737 Changed element and attribute names to lowercase to match the changes
in the package.xml files
2001-09-02 00:09:52 +00:00
Tomas V.V.Cox
a95fb10461 renumber error lines 2001-08-31 19:21:02 +00:00
Tomas V.V.Cox
2567b428b2 fix for DB/tests/db_error2.phpt 2001-08-31 19:13:24 +00:00
Tomas V.V.Cox
bf0ab08fb8 fix problem when mixing different error modes under certain circumstances
(pear/test/pear_error3.phpt)
2001-08-31 17:56:44 +00:00
Tomas V.V.Cox
409b87d41e make some tests to work. Still left the Notice of the deprecated use of
call_user_method, no way to shut it down.
2001-08-31 16:43:08 +00:00
Tomas V.V.Cox
4861c0cf99 Use _default_error_options as the options for PEAR_ERROR_CALLBACK.
Depreciate the use of _default_error_callback
2001-08-31 16:12:33 +00:00
Tomas V.V.Cox
cc747779ce fix userinfo msg in Pear_Error::toString() when callback mode is selected
and style
2001-08-31 13:27:46 +00:00
Tomas V.V.Cox
567c10ba4c killed obscure bug in pushErrorHandling 2001-08-30 19:55:57 +00:00
Tomas V.V.Cox
0fdc143d9e The "actual" mode must be taken, not the error object mode 2001-08-30 15:27:55 +00:00
Tomas V.V.Cox
176bf835e4 added the Mail/mime.php file 2001-08-28 13:39:50 +00:00
Stig Bakken
b3745665dd * tidy up "make install" output 2001-08-28 13:07:33 +00:00
Stig Bakken
821ea15431 * Archive_Tar is no longer experimental 2001-08-28 12:26:47 +00:00
Stig Bakken
c93ec77f15 * Log/Observer.php rename fix 2001-08-28 12:11:32 +00:00
Stig Bakken
36c27603b1 * started work on php file support 2001-08-28 11:18:08 +00:00
Stig Bakken
f7fcf3a701 * fold case when parsing package.xml 2001-08-28 08:52:03 +00:00
Stig Bakken
2ccffc5600 * fixes to make package.xml parsing case insensitive 2001-08-27 21:25:16 +00:00
Tomas V.V.Cox
9037bedb9e The "pear package" command will try to open "./package.xml" if no more
params are given.
2001-08-19 12:53:01 +00:00
Tomas V.V.Cox
df54bca0a0 better error hanlding 2001-08-19 12:37:51 +00:00
Tomas V.V.Cox
cf70755a05 maintain original file perms 2001-08-19 12:30:24 +00:00
Stig Bakken
b96e13a99d Added "phptar" command as proof that the Archive_Tar class works.
# Great work, Vincent!
2001-08-19 00:34:08 +00:00
Tomas V.V.Cox
a0bf4ac47d added support for the following tags in package.xml:
- <State> inside <Release> (package development state: 'alpha','beta','stable','snapshot')
- <Changelog> stores <Release> entries
- <Maintainers> stores multiple <Maintainer> entries
- <Role> inside <Maintainer> ('lead','developer','contributor','helper')
2001-08-18 14:40:25 +00:00
Sebastian Bergmann
d311622203 Forgot to add DB.php. 2001-08-17 08:51:09 +00:00
foobar
12a74c513d These files do not exist anymore. 2001-08-17 08:47:43 +00:00
Chuck Hagenbuch
2b9e767822 PEAR::raiseError() can be called statically - don't assume $this will be
there!
2001-08-15 21:26:12 +00:00
Stig Bakken
84cdabcec0 * point people to the manual instead 2001-08-15 21:03:51 +00:00
Stig Bakken
d400f78079 * expected error codes are stored on a stack now, PEAR::expectError()
pushes into it, PEAR::popExpect() pops off it
* made pear_error test work on other boxes than my own :-)
2001-08-14 21:11:33 +00:00
Stig Bakken
3c801213c6 * updated test (currently passes only on my laptop, sorry...) 2001-08-14 12:49:51 +00:00
Stig Bakken
c49f8aa0ef * added expectError() method 2001-08-14 12:49:25 +00:00