Tomas V.V.Cox
dc17bcc6ab
fix parse error
2002-03-23 15:56:14 +00:00
Stig Bakken
3402d342a6
* added package-list and package-info commands (for .tgz files)
2002-03-23 10:21:29 +00:00
Stig Bakken
9fae289542
* use switch/case for what it's worth :-)
2002-03-23 10:20:41 +00:00
Stig Bakken
b5604d18dc
* _lock() calls _assertStateDir()
2002-03-23 10:18:32 +00:00
Stig Bakken
ed16ccb275
* support having a toplevel package.xml in tgz files
2002-03-23 10:17:39 +00:00
Stig Bakken
e965aba2aa
* wordwrapping and multiline table cell support
2002-03-23 10:15:36 +00:00
James Cox
7d5e529b55
"reverting" to 1.39 as per Tomas Cox's wishes.
2002-03-23 05:29:09 +00:00
Stig Bakken
5e0f34ea55
* don't start table cells with a space in borderless tables
2002-03-22 12:47:13 +00:00
Stig Bakken
1b09d1f19c
* typo fix
2002-03-22 12:46:18 +00:00
Stig Bakken
75f15860b1
* use PEAR_Frontend tables in config-show command
2002-03-22 12:45:41 +00:00
Stig Bakken
a57a5d7eda
* now using PEAR_Frontend tables
2002-03-22 11:59:52 +00:00
Stig Bakken
fd62c434e5
* ncurses note
2002-03-22 11:58:22 +00:00
Stig Bakken
5cc2e77ca8
* table support working
...
* added bold support for xterm/vt220/vt100 terminals
2002-03-22 11:57:45 +00:00
Stig Bakken
8ce0ceb372
* setUIType -> setFrontendType
2002-03-22 11:57:09 +00:00
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
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