Commit Graph

646 Commits

Author SHA1 Message Date
Anil Madhavapeddy
b49e8fe865 Move the _prependPath function into PEAR_Downloader from PEAR_Installer,
as PEAR_Downloader uses it (and PEAR_Installer inherits PEAR_Downloader).

Unbreaks 'pear install -R'
2004-02-29 15:58:17 +00:00
Greg Beaver
3e56af98e0 get_class -> is_a 2004-02-27 02:24:06 +00:00
Stig Bakken
cdad10a21a * apply bold escape codes only if output is going to a terminal/tty 2004-02-17 05:49:16 +00:00
Stig Bakken
2fd0f86c73 * don't cut lines when wrapping output 2004-02-15 17:43:00 +00:00
Greg Beaver
20c8e629a4 make pear run-tests work with PEAR core tests, allow it to work for Windows users as well 2004-01-31 22:39:25 +00:00
Pierre Joye
f9bfd58bd7 - Remove useless property 2004-01-26 00:57:30 +00:00
Pierre Joye
477de56f71 - Fix #521, incorrect filename in CS warnings 2004-01-26 00:49:16 +00:00
Greg Beaver
a440ed6935 fix Bug #594 PEAR_Common::analyzeSourceCode fails on string with $var and {
also fixes SOAP packaging error
2004-01-17 17:20:36 +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
cab4d7137b fix #449: XML_SVG and VFS fail to install properly using PEAR command
fix #455: PEAR_Downloader does not set $ui
2003-12-18 18:09:13 +00:00
Greg Beaver
ad747ba2e3 MFB 2003-12-11 23:57:15 +00:00
Greg Beaver
0134c5c3ab add missing not relation 2003-12-11 23:30:52 +00:00
Greg Beaver
398ab9756a remove references to global variables in validatePackageInfo, remove extraneous summary that is never reached in the switch 2003-12-09 23:43:58 +00:00
Pierre Joye
85ce95847f - MFB (fix pecl install) 2003-12-09 20:54:58 +00:00
Greg Beaver
06ef18bed9 fix #279 2003-12-07 00:29:46 +00:00
Greg Beaver
3148e2e9be fix #205, wider column names for pear list 2003-12-07 00:10:40 +00:00
Greg Beaver
bd766fc7e5 fix #167 2003-12-07 00:02:34 +00:00
Greg Beaver
8161b2f742 MFB 2003-12-06 23:45:36 +00:00
Greg Beaver
cfb05861b9 CS 2003-12-06 23:37:30 +00:00
Greg Beaver
59b98030bc (try again)
fix 2 bugs

- optional dependencies not supported
- incorrect index determination
2003-12-06 23:32:30 +00:00
Greg Beaver
8425c2a16b fix 3 bugs
- optional dependencies not supported
- PHP 5 references (#362)
- incorrect index determination
2003-12-06 23:07:52 +00:00
Greg Beaver
d9f4fd0757 slightly clearer error messages 2003-12-06 22:14:11 +00:00
Greg Beaver
9e361c0278 remove unnecessary experimental code 2003-12-06 21:52:20 +00:00
Greg Beaver
61bd893e0d update phpdoc comment 2003-12-06 06:08:56 +00:00
Greg Beaver
33aa36fb8d add todo for known issue that isn't yet critical but will be 2003-12-06 06:06:50 +00:00
Greg Beaver
29df86f2d1 improve error message, it was both terrible grammar and unclear. 2003-12-06 05:59:25 +00:00
Greg Beaver
d1770cc57f fix error message - was printing an empty preferred state 2003-12-06 05:35:52 +00:00
Greg Beaver
5252f3faa9 merge downloader code into HEAD - it works
fix bug found in uninstall
2003-12-04 02:11:40 +00:00
Greg Beaver
07a0281d00 add helper methods needed - now it is 100% unit tested 2003-12-04 02:00:39 +00:00
Greg Beaver
e8468911ed fixed minor bug 2003-12-04 01:35:45 +00:00
Greg Beaver
1558f748e3 fix bugs found in unit-testing, one BC issue also 2003-12-04 01:22:50 +00:00
Greg Beaver
2ab2d8263c fix notice 2003-12-04 01:22:12 +00:00
Greg Beaver
577cf36f91 remove unnecessary notice generator in certain cases 2003-12-03 23:00:05 +00:00
Greg Beaver
35bdc2f7eb duhhh... 2003-12-03 22:39:55 +00:00
Greg Beaver
cde3509868 2 bugs found here, added deprecation warning for those who have written their own PEAR application 2003-12-01 01:02:40 +00:00
Greg Beaver
3e60df640e 2 bugs found here 2003-12-01 01:00:57 +00:00
Greg Beaver
1b95c31c77 2 bugs found 2003-12-01 00:59:14 +00:00
Greg Beaver
2939c3539d fix bug found by unit testing in package ordering 2003-12-01 00:15:53 +00:00
Greg Beaver
0b24e0a404 remove old holdover code that has no purpose 2003-11-30 22:01:22 +00:00
Greg Beaver
76e83f576c ...and with these changes, 100% BC is maintained. 2003-11-30 22:00:59 +00:00
Greg Beaver
c7c5d7689d experimental code shuffling, moved download() into a new class, PEAR_Downloader.
Reasons:
- 7 parameters for a method with lots of pass by reference
  implies the need to save state, i.e. use an object
- cleaner code.  download() can be easily split into 4 separate but related methods
- Installer.php is now exclusively used for installation
- future extensibility: switching to channels or local package repositories from
  using PEAR_Remote is easy.  Simply extend the API for PEAR_Downloader:
  no changes needed to the installer at all

to install for testing purposes, use

pear upgrade --force package-PEAR-new-Downloader.xml

to uninstall, use

pear upgrade --force package-PEAR.xml
2003-11-30 05:39:02 +00:00
Greg Beaver
24409dc035 fix some bugs found in the unit test 2003-11-29 19:42:19 +00:00
Greg Beaver
e57b75eff4 fix Bug #324 pear -G gives Fatal Error (PHP-GTK not installed, but error is at engine level) 2003-11-29 16:33:54 +00:00
Martin Jansen
6ff584e2fb * Fix potential warning 2003-11-17 09:15:28 +00:00
Greg Beaver
137adbb708 necessary refinement 2003-11-17 06:07:15 +00:00
Greg Beaver
82bd0915f5 fix bug #248, --force does not work as expected 2003-11-17 05:56:50 +00:00
Greg Beaver
c05dfddda4 fix bug #249 2003-11-17 05:45:49 +00:00
Greg Beaver
997db6551a checkExtension() was a complete disaster, can't believe it didn't cause any problems before. 2003-11-01 05:06:27 +00:00
Greg Beaver
48bca64444 fix bug found by unit test 2003-11-01 03:31:52 +00:00
Greg Beaver
6d0360204d better error messages, fix potential problems in the future 2003-10-31 22:53:20 +00:00