Commit Graph

681 Commits

Author SHA1 Message Date
Wez Furlong
bfe9871c83 fix for pecl modules; runs "make install" and correctly adds the files to the
transaction and package.

(as far as I know).
2004-09-22 19:04:56 +00:00
Tomas V.V.Cox
1fb65c4c29 More output magic on nested exceptions 2004-06-21 04:36:17 +00:00
Tomas V.V.Cox
24ec6e5a5c Be more consistent with CS 2004-06-21 04:06:18 +00:00
Tomas V.V.Cox
8957eac122 Some API changes:
- addObserver() params order switched
- signal() -> _signal()
- public:getCauseMessage() -> private:_getCauseMessage()
- some more docs
2004-06-21 03:53:39 +00:00
Tomas V.V.Cox
d3de81fb00 First release of the PEAR_Exception class
(dedicated to otherbird)
2004-06-20 19:08:37 +00:00
Martin Jansen
6910e6432a * Replaced the nonexistent word "postfix" with "suffix". 2004-06-18 14:41:01 +00:00
Pierre Joye
0f5e09c192 - Fix #1602 (reported by Cox)
Do not display var=value using config-get (easy scripting)
2004-06-15 16:48:49 +00:00
Pierre Joye
495925381e - Typo (#1627) (cox) 2004-06-13 14:06:01 +00:00
Greg Beaver
22fa023c88 fix bug #1610: pear package doesn't validate deps
It was never validating deps at all!
2004-06-12 06:15:55 +00:00
Greg Beaver
9873fa5e42 fix bug #1615: installer must create extension dir if it doesn't exist, patch by Tomas 2004-06-12 05:48:10 +00:00
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
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
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
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
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
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
af03ecf9e1 fix 1186: notice in PEAR_Common undeclared $_packageName 2004-04-30 02:05:45 +00:00
Greg Beaver
1f22d848e9 fix bug 1242 - notice if multi-dimensional array is passed as a parameter
add optional parameter to staticHasErrors() that allows error determination for a single package
2004-04-27 04:31:39 +00:00
Greg Beaver
ae73e40808 fixed #534 for real (remove notice if state=stable doesn't exist, and use "none" for stable version number) 2004-04-03 15:56:00 +00:00
Greg Beaver
9d86149b01 fix #534: pear search doesn't list unstable releases 2004-04-03 06:06:17 +00:00
Greg Beaver
57b32bdf57 small changes
Use '' instead of ""
allow subclasses to easily change the exception class used just by
overriding the _exceptionClass property
2004-03-21 23:00:54 +00:00
Greg Beaver
0ba63371ed new Error Stack for PEAR, EXPERIMENTAL until proven solid and stable 2004-03-19 00:48:18 +00:00
Martin Jansen
ba7d6efe7b * Converting tabs to spaces 2004-03-18 12:23:57 +00:00
Martin Jansen
254456a4a6 * Typo fixes 2004-03-18 12:21:28 +00:00
Pierre Joye
4a31a6a88b - revert previous commit:
- Features freeze period
 - No agreement on this change
 - Even if an agreement exists, this change is not enough to allow the
   usage of this new tag
2004-03-12 18:22:48 +00:00
Martin Jansen
c653c6d1d9 * Adding new state "emeritus", which can be used for former maintainers of
packages.

Submitted by: Daniel Convissor

# The necessary updates for the website and the manual will follow in a
# few hours or at least tomorrow morning.
2004-03-12 18:05:08 +00:00
Christian Stocker
c18b8dcd2d - fix a linefeed problem, if there are more than one configureoption 2004-03-04 13:37:37 +00:00
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