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
Greg Beaver
af03ecf9e1
fix 1186: notice in PEAR_Common undeclared $_packageName
2004-04-30 02:05:45 +00:00
Greg Beaver
65ecfc28cf
fix unit test with PEAR 1.3.1
2004-04-30 01:57:35 +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
8a91c1d5b8
re-organize as per PEAR-Core discussion
2004-04-09 07:38:48 +00:00
Greg Beaver
dfa4a5d927
as per PEAR-Core discussion, remove all but absolutely essential
...
packages for the installer, and for PEAR_Frontend_Web
2004-04-09 01:12:41 +00:00
Greg Beaver
7ab7b99ac1
oops, PHPUnit2, not PHPUnit
2004-04-08 23:52:36 +00:00
Jon Parise
ba863b4558
Include Mail 1.1.3 with PHP 5.
2004-04-08 18:27:26 +00:00
Greg Beaver
b3cec4d9d4
Dan wants tabs -> spaces
2004-04-08 15:03:21 +00:00
Greg Beaver
eaa48d3743
forgot phpunit -> phpunit2 for php5
2004-04-08 14:59:31 +00:00
Greg Beaver
fdc1b53183
this should update the list
...
# Pierre-Alain, have you tested frontend_web with pager 2 yet?
2004-04-08 14:30:13 +00:00
Wez Furlong
61144768ed
Add this list here, so that pear-core guys can manipulate the PEAR bundle
...
for the win32 snapshot.
2004-04-08 13:32:50 +00:00
Greg Beaver
0715add65f
developer -> lead for cellog
2004-04-07 00:29:58 +00:00
Greg Beaver
e09aff93fb
add PEAR_ErrorStack to description of PEAR
2004-04-06 22:18:37 +00:00
Greg Beaver
f2e8c04e8a
change release date
2004-04-06 22:08:51 +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
b79e803a43
fix Bug #937 throwError() treats every call as static
...
fix Bug #964 PEAR_ERROR_EXCEPTION causes fatal error
2004-04-03 06:28:54 +00:00
Greg Beaver
9d86149b01
fix #534 : pear search doesn't list unstable releases
2004-04-03 06:06:17 +00:00
Greg Beaver
361951bc01
not devel any more
2004-04-03 00:42:20 +00:00
Greg Beaver
578c28fb0c
update naming of tests - forgot to rename files before committing,
...
but this is not a big deal, as the name 'Error_Stack' still makes sense
2004-03-21 23:06:20 +00:00
Greg Beaver
9b530c04f1
added in wrong directory, move to tests/
2004-03-21 23:02:29 +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
4039adabf4
new package.xml to be used for installing tests, to make it easy to collect all tests in the same location for all PEAR packages
2004-03-21 22:57:33 +00:00
Stig Bakken
c9a5a75fef
* fit copyright header on 80 columns
2004-03-21 22:11:18 +00:00
Greg Beaver
a145c1b4ce
update to 1.3.1dev
2004-03-19 03:16:12 +00:00
Greg Beaver
4180b972ae
phpunit tests for PEAR_ErrorStack
2004-03-19 00:48:39 +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
Greg Beaver
e3c0e33f11
fix #1008 : safe mode raises warning
...
fix register_argc_argv in pear.bat
2004-03-13 17:37:23 +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