Tomas V.V.Cox
f40007a1ef
- Use getenv('TERM') instead of $_ENV (empty for me in 4.1.1)
...
- Added 'linux' as bold capable list of term types
- Pass the col by reference for making the wrap take effect in tableRow
2002-03-23 16:50:43 +00:00
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
5d11204de0
* rename class/methods
2002-03-22 11:09:58 +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
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
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
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
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
Stig Bakken
32d3a0afd7
* added file locking
...
* added file name to package map
2002-03-11 15:13:19 +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
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
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
3ea5f3343b
* started implementing new "cross-environment" command API
...
# work in progress, not tested at all yet!
2002-02-23 15:32:36 +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
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
Tomas V.V.Cox
a5c0adc9fe
Now System will return false on fail
2002-02-10 17:23:04 +00:00
Stig Bakken
a33fd65b12
* silence warning
2002-01-30 12:18:10 +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
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
Stig Bakken
7ab86afd32
* support "pear-get install XML_RPC"
2002-01-02 17:12:26 +00:00
Stig Bakken
d379d735fb
* use new overloading API properly
2002-01-02 17:09:59 +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
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
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
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
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
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
Stig Bakken
7ea3d57462
* update to new overload api
2001-12-14 07:47:41 +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
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +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
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
fde1575ba2
checking if package.xml.gz exists, before checking if it's writeable
2001-11-14 09:22:00 +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
13fb78bab1
* some minor improvements
2001-11-10 10:37:24 +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
81b5aabb33
typo
2001-11-07 09:24:55 +00:00
Tomas V.V.Cox
16f8af514f
E_ALL fixes
2001-11-06 00:22:18 +00:00
Christian Stocker
288871505b
typo
2001-11-02 17:57: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
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
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
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
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