Commit Graph

1558 Commits

Author SHA1 Message Date
Greg Beaver
37b73ad2d4 fix bug #1617, exception never returned from PEAR_ErrorStack->push() 2004-06-12 05:36:40 +00:00
Greg Beaver
1f20b7a626 partial fix, bug #1163: rpm build doesn't build properly 2004-06-08 18:26:20 +00:00
Greg Beaver
d14e259823 fix bug #1550: Builder does not set path to match bin_dir 2004-06-08 18:15:11 +00:00
Greg Beaver
29a09f984c fix bug #1378: user/pass must be urldecoded from parse_url in Remote.php 2004-06-08 18:03:46 +00:00
Greg Beaver
628e5530b9 fix bug #1153: PEAR command doesn't work after upgrading
reverting earlier fix - people must have register_argc_argv=on set in php.ini for PEAR to work.
2004-06-08 17:56:22 +00:00
Greg Beaver
b175cdfd71 fix bug #1581: unhelpful error message if "pear blatch" is typed 2004-06-08 17:49:19 +00:00
Pierre Joye
d7e86a5669 - No more Pager 2004-06-06 22:49:46 +00:00
Pierre Joye
8217b64a33 - Update for 5.0RC3 2004-06-06 22:49:10 +00:00
Greg Beaver
b4ae74ae2c update unit tests for PEAR 1.4.0dev6, using new getDownloadURL() xml-rpc call 2004-06-06 16:05:30 +00:00
Greg Beaver
9304645cf3 add missing $tmp to PEAR::isError() 2004-06-06 15:52:41 +00:00
Greg Beaver
84d9651b61 eliminate the annoyance of upgrading from crapster versions of PEAR once and for all.
Now, if getopt2 exists, it is used, otherwise getopt is used.
2004-06-06 15:04:16 +00:00
Greg Beaver
5b565c1eb1 update dependency to PEAR 1.4.0dev5 2004-06-01 14:51:49 +00:00
Greg Beaver
27a4b575e8 test files for PEAR are now installable! 2004-06-01 14:29:59 +00:00
Greg Beaver
cb0b01f7c2 file needed for registry test 2004-06-01 14:27:54 +00:00
Greg Beaver
a0ebaab052 add needed package.xml files for channel tests 2004-06-01 14:15:41 +00:00
Greg Beaver
e78e1dd5e8 update to include all new unit tests and files 2004-06-01 13:55:49 +00:00
Greg Beaver
58483c8776 begin work on making the tests installable 2004-06-01 13:45:55 +00:00
Greg Beaver
472de86f8d prepare for actual installable unit tests 2004-06-01 13:22:28 +00:00
Greg Beaver
86953ab0f5 fix unit tests for 1.4.0dev4 2004-06-01 13:11:15 +00:00
Greg Beaver
2e7e8f30fc fix unit tests for 1.4.0dev3 2004-05-30 17:02:34 +00:00
Greg Beaver
a865b5d0c7 testing file 2004-05-29 09:21:31 +00:00
Greg Beaver
09ee88f9bf modify php_dump.php, .cvsignore ignores *.php
move include to the place where it is used
2004-05-29 09:09:46 +00:00
Greg Beaver
71e0c354ff update _installFile() test for channels 2004-05-29 09:06:09 +00:00
Greg Beaver
32fd0f3ffa update checkDeps/extractDownloadFilename tests for channels 2004-05-29 09:03:43 +00:00
Greg Beaver
478aff5c22 update registry test for channels 2004-05-29 09:02:47 +00:00
Greg Beaver
73124c04be use fake pearweb - now anyone can run the download unit tests.
These tests require channels to pass
2004-05-29 09:02:26 +00:00
Greg Beaver
d4070174d8 fake pearweb package files, for unit testing downloads without an installed pearweb 2004-05-29 09:00:52 +00:00
Greg Beaver
d87e221f44 config unit tests, ready for channels 2004-05-29 08:59:26 +00:00
Greg Beaver
918d45198a new unit tests
pearweb mock object is complete
2004-05-29 08:51:59 +00:00
Greg Beaver
8c5c17c3a1 update for conflicting file test 2004-05-29 08:49:01 +00:00
Greg Beaver
1f31e7ddea new package.xml needed to test conflicting files error 2004-05-29 08:48:01 +00:00
Greg Beaver
ad57096a8b Fix #1395: PEAR_ErrorStack::staticCallback needs to instantiate the stack
Fix up default callback, so that it can be set for each package as well as for all packages.

Callbacks now have 3 levels of control, which may be a bit too complex, default callbacks might have to go for debugging reasons.  Either that or some kind of origination information should be appended to the error array describing which callbacks were called, so debugging is at least possible
2004-05-23 06:06:10 +00:00
Greg Beaver
6f7d0b2a6a in preparation for testing all remote functionality, use a mock object for a functioning pearweb server 2004-05-23 05:33:25 +00:00
Wez Furlong
e419d735c4 Better error message to save looking in the wrong place. 2004-05-21 16:36:37 +00:00
Greg Beaver
f30b95fcf0 fix missing assignment
$this->_errors = array_filter($this->_errors);
2004-05-21 03:43:58 +00:00
Greg Beaver
981948641c fix for BC break
staticGetErrors adds the parameter $level between $purge and $merge, as it will be as common (or more common) as $purge.
2004-05-21 03:33:51 +00:00
Greg Beaver
aaa7263bdd Several issues resolved.
fix 1444: PEAR_ErrorStack->push() needs to validate $msg and $code as string/int
add error level checking to hasErrors() and getErrors().
BC break!!:
staticGetErrors adds the parameter $level between $purge and $merge, as it will be as common (or more common) as $purge.
2004-05-21 03:33:19 +00:00
Marcus Boerger
d94136fc30 - Remove unused blocks 2004-05-19 08:45:46 +00:00
Pierre Joye
9e9576ecfa - T_WHITESPACE for the 1st test... 2004-05-16 21:00:24 +00:00
Pierre Joye
a937ae4762 - PHP allows spaces before :: (parent :: foo(); )
Nota bene, requires another change to really check the syntax:
  loop back to the first non white space element and valid it (parent,
  string or var)
2004-05-16 20:55:29 +00:00
Pierre Joye
915e9a555e - Fix #1329, closedir on exit (kameshj at fastmail dot fm) 2004-05-16 15:43:30 +00:00
Pierre Joye
d049b24dfd - Fix #1330, unused variable 2004-05-16 15:39:07 +00:00
Pierre Joye
59727034b7 - Fix #1249 (wrong print out the wrong state with force option)
- some NL issues, sorry, commit now too
2004-05-16 15:37:13 +00:00
Martin Jansen
46f2330c19 * Providing the full URL to the coding standards. 2004-05-04 10:43:24 +00:00
Greg Beaver
d14b94b8df fix to work with only the installed version of PEAR 2004-04-30 16:45:46 +00:00
Greg Beaver
11be5f887b fix included files and put error messages in PEAR_Downloader where they are needed 2004-04-30 16:37:39 +00:00
Greg Beaver
bf87bf816c remove notices in E_ALL for config test in PHP 4.3.6 2004-04-30 03:39:04 +00:00
Greg Beaver
56d7d95c67 hopefully fix this test for all cases 2004-04-30 03:35:43 +00:00
Greg Beaver
e349a5e41d update to begin process for next release (release is not imminent) 2004-04-30 02:09:03 +00:00
Greg Beaver
94ff299736 fix unit test to work with 1.3.2 (which will be needed) 2004-04-30 02:06:11 +00:00