Wez Furlong
b10b24d50c
Always initialize wrappers, regardless of PG(allow_url_fopen).
...
Add is_url field to wrapper structure; the stream wrapper openers
will disallow opening is is_url && !PG(allow_url_fopen).
Add infrastructure for stat($url) and opendir($url).
Tidy up/centralize code that locates and instantiates wrappers for the
various operations.
Implement opendir for plain files.
Make the PHP opendir and dir functions use the streams implementations.
Add modelines for syntax highlighting the pear scripts in vim
2002-04-16 22:14:27 +00:00
James Cox
c602369f81
it's been changed back to php.exe
2002-04-09 09:59:17 +00:00
Alexander Merz
f6cc322d7d
updated, requires PHP4.2 php-cgi
2002-04-09 09:28:04 +00:00
Stig Bakken
5bdc0eaafe
* use the UI's displayFatalError method
2002-04-07 16:48:24 +00:00
Stig Bakken
812d9bf3c4
* remove "exit" at the end, it causes a "false" exit code always
2002-04-02 09:10:23 +00:00
Tomas V.V.Cox
def4a8485d
- Set some php.ini values needed by the installer
...
- Removed unused present_array() and heading() functions
2002-04-01 16:49:19 +00:00
Tomas V.V.Cox
1924492aed
Adaptation for the new help system
2002-04-01 14:35:08 +00:00
Stig Bakken
8ce0ceb372
* setUIType -> setFrontendType
2002-03-22 11:57:09 +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
Tomas V.V.Cox
41a8a27676
- Added command level options
...
- Fix error handling for Getopt (it doesn't use raiseError)
2002-03-21 20:55:41 +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
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
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
Vincent Blavet
04db776e71
Config variables must be set between "" while using pear.bat windows script
2002-02-20 22:39:16 +00:00
Martin Jansen
12ebcb3a21
* Fix for bug #15500
2002-02-17 15:32:53 +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
042b883899
* print package name
2002-02-13 01:07:30 +00:00
Martin Jansen
7270b4223d
* Better error handling.
2002-02-07 20:50:08 +00:00
Stig Bakken
c049dda279
* lowercase tags and attributes
2002-01-31 08:19:34 +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
Vincent Blavet
06c98b477b
* Call the PEAR_Registry constructor with the optional parameter
2002-01-24 08:24:24 +00:00
Vincent Blavet
2c91e54d5a
* Add uninstall command
...
* Add list-installed command
2002-01-23 19:09:54 +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
7f98b04296
Added check for $argv avaible
...
(thanks Michael Härtl <mhaertl@pressline.de>)
2002-01-05 17:20:08 +00:00
Stig Bakken
4fc3baefd2
* start splitting "pear" command into "pear" and "pear-get"
2002-01-02 17:11:34 +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
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
Stig Bakken
aef2b692c1
* implemented "upgrade"
...
* report install/uninstall errors
2001-12-12 01:35:03 +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
Tomas V.V.Cox
15f0f8ae23
implemented "uninstall" command
2001-11-15 01:24:35 +00:00
Stig Bakken
f705826052
* command name changes
2001-11-13 01:07:36 +00:00
Stig Bakken
b1976de01b
* fix "list" command
2001-11-07 09:25:39 +00:00
Tomas V.V.Cox
5695709fb7
E_ALL fixes
2001-11-06 01:05:28 +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
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
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
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
Tomas V.V.Cox
73b5ff0389
tab vs ws
2001-09-27 23:59:16 +00:00