Commit Graph

550 Commits

Author SHA1 Message Date
Stig Bakken
5d11204de0 * rename class/methods 2002-03-22 11:09:58 +00:00
Stig Bakken
9631885246 * temporarily added: nuke old files/dirs 2002-03-22 10:28:27 +00:00
Stig Bakken
73d26803f0 * one last CommandUI -> Frontend change 2002-03-22 10:05:40 +00:00
Stig Bakken
60035fb949 * rename PEAR_CommandUI* to PEAR_Frontend*
* rename PEAR/Command/Login.php to PEAR/Command/Auth.php
* replace PEAR/Command/Info.php with PEAR/Command/Registry.php (will contain
  more commands related to the local registry)
* started working on Frontend table output
2002-03-22 09:22:28 +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
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
a7936eea78 - Implement command level options
- Removed call pass by reference
- Readd $options to command::run() params
2002-03-21 20:52:26 +00:00
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