Commit Graph

51 Commits

Author SHA1 Message Date
Greg Beaver
9752cbde12 merge in PEAR 1.3.5 2005-03-28 16:38:59 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Greg Beaver
06ef18bed9 fix #279 2003-12-07 00:29:46 +00:00
Greg Beaver
0c9a167bea fixed #39 commands that need LOCK_SH fail as non-root 2003-09-28 05:07:27 +00:00
Tomas V.V.Cox
7d67054891 Added support for spaces in path names (thanks Greg!) 2003-08-03 19:32:07 +00:00
Tomas V.V.Cox
01795e2ae1 Moved dependecy db code to its own file 2003-07-07 15:42:58 +00:00
Martin Jansen
e95ee2b313 * Silence warning 2003-06-28 18:14:24 +00:00
Pierre Joye
8aac7b57c0 - Sync, HEAD is now uptodate 2003-06-27 10:59:43 +00:00
Pierre Joye
dd2d9c3315 - Sync 2003-06-27 10:46:54 +00:00
Martin Jansen
f2f140bbe9 * Fix for bug #23954
# MFH?
2003-06-22 19:14:16 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Pierre Joye
400e5c0b66 - Fix the "weird bug" with different serialized file under cli/cgi or apache sapi
Important Notice:
*always* use 'wb' to write file, sapi cli and cgi force the default to be binary, apache does not.
2003-05-27 23:31:56 +00:00
Pierre Joye
b5c2adf41e Silent a notice 2003-05-08 17:11:02 +00:00
Stig Bakken
4d79859291 * remove track_errors ini fiddling, was a PHP bug that should be fixed now 2003-04-03 23:05:25 +00:00
Stig Bakken
0e6fca4f22 * email address change 2003-03-18 12:06:09 +00:00
Sebastian Bergmann
61ce6bc8f1 Bump year. 2002-12-31 16:18:29 +00:00
Martin Jansen
1fe42e10b7 * Nuke warning when $php_errormsg is not set. 2002-10-04 20:00:51 +00:00
Tomas V.V.Cox
5d4b690bab Changed Windows 9x detection code (reported by Alex Merz) 2002-08-06 16:35:19 +00:00
Stig Bakken
0a6d81b56e * typo 2002-07-09 10:51:41 +00:00
Stig Bakken
81e5b17f91 * made rebuildFileMap method public, added caching and checkFileMap method 2002-07-07 20:48: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
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
Tomas V.V.Cox
f33c5896ac Experimental dependencies database handling functions
(not yet in production)
2002-06-07 18:07:38 +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
3460eedfca * add "_lastmodified" timestamp to registry files (don't trust filemtime) 2002-04-24 00:48:06 +00:00
Alexander Merz
eb85e073e5 Win95/98/Me doesn't support locking, please check patch on other systems 2002-04-09 14:00:05 +00:00
Tomas V.V.Cox
ebb85a3738 Fix a problem when list-installed is called in a new installation 2002-04-09 13:11:51 +00:00
Stig Bakken
9de06e3662 * just renaming some comments 2002-04-02 09:18:07 +00:00
Tomas V.V.Cox
7b68037886 People reported problems with flock(LOCK_SH) and fopen('w') 2002-04-01 16:10:39 +00:00
Tomas V.V.Cox
0e20c6e383 _lock() now returns PEAR Error or true for consistency 2002-03-26 16:29:53 +00:00
Stig Bakken
365505daed * move logic to _assertStateDir 2002-03-24 01:52:38 +00:00
Tomas V.V.Cox
b217ed9711 The System class was modified to always return true or false instead
of PEAR Errors. Changed then assertStateDir() to check for false.
2002-03-23 18:36:52 +00:00
Stig Bakken
b5604d18dc * _lock() calls _assertStateDir() 2002-03-23 10:18:32 +00:00
Stig Bakken
e41dca2995 * No point in creating the lock file directory if it does not exist (so many
other things would fail anyway).  Throw an error instead.
2002-03-22 08:32:40 +00:00
Tomas V.V.Cox
9772468d37 - Make the rellocation of packages work as expected if the target
dir doesn't exist
- The "install -f" now replaces the info in the registry
2002-03-21 22:29:03 +00:00
Stig Bakken
32d3a0afd7 * added file locking
* added file name to package map
2002-03-11 15:13:19 +00:00
Sebastian Bergmann
90613d2282 Maintain headers. 2002-02-28 08:29:35 +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
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
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +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
e6f95ee99b * rename files to .reg (not .inf) 2001-11-13 01:06:48 +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
b0a803d127 * update tests 2001-10-31 05:52:41 +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
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
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