Stig Bakken
405142087c
* replaced PEAR::phpVersionIs with version_compare
2001-10-11 22:11:34 +00:00
Tomas V.V.Cox
b244f61139
changed the logic of version comparation
2001-10-05 12:46:21 +00:00
Tomas V.V.Cox
0ebee4d29f
get rid of the RC part of php versions
2001-10-05 00:28:36 +00:00
Tomas V.V.Cox
0786889de0
added method phpVersionIs() to find if a PHP version is minor, greater
...
or both (see in-line doc for more info)
2001-10-04 19:05:09 +00:00
Tomas V.V.Cox
2567b428b2
fix for DB/tests/db_error2.phpt
2001-08-31 19:13:24 +00:00
Tomas V.V.Cox
bf0ab08fb8
fix problem when mixing different error modes under certain circumstances
...
(pear/test/pear_error3.phpt)
2001-08-31 17:56:44 +00:00
Tomas V.V.Cox
4861c0cf99
Use _default_error_options as the options for PEAR_ERROR_CALLBACK.
...
Depreciate the use of _default_error_callback
2001-08-31 16:12:33 +00:00
Tomas V.V.Cox
cc747779ce
fix userinfo msg in Pear_Error::toString() when callback mode is selected
...
and style
2001-08-31 13:27:46 +00:00
Tomas V.V.Cox
567c10ba4c
killed obscure bug in pushErrorHandling
2001-08-30 19:55:57 +00:00
Tomas V.V.Cox
0fdc143d9e
The "actual" mode must be taken, not the error object mode
2001-08-30 15:27:55 +00:00
Chuck Hagenbuch
2b9e767822
PEAR::raiseError() can be called statically - don't assume $this will be
...
there!
2001-08-15 21:26:12 +00:00
Stig Bakken
d400f78079
* expected error codes are stored on a stack now, PEAR::expectError()
...
pushes into it, PEAR::popExpect() pops off it
* made pear_error test work on other boxes than my own :-)
2001-08-14 21:11:33 +00:00
Stig Bakken
c49f8aa0ef
* added expectError() method
2001-08-14 12:49:25 +00:00
Tomas V.V.Cox
96aab6aed4
don't show the call_user_method deprecated use warning (disturbs tests)
2001-08-04 10:47:10 +00:00
Stig Bakken
ae92dc7139
* DB_storage broke when DB_common::query was added, fixed
2001-07-31 07:57:14 +00:00
Tomas V.V.Cox
1e2d51855c
raiseError() now can accepts a PEAR error object in its first argument. With
...
this, users can "re-throw" a previously created PEAR error object (very
useful after the use of (push|pop)ErrorHandling)
2001-07-29 04:25:33 +00:00
Tomas V.V.Cox
fa75ae3394
Added the methods pushErrorHandler and popErrorHandler. With this it's
...
posible to override the actual error handler with a new one for the time
you need and restore it back when finish.
2001-07-29 03:46:55 +00:00
Martin Jansen
7efccca429
* reverted "DIRECTORY_SEPARATOR" patch
2001-07-07 15:54:27 +00:00
Martin Jansen
9899ec9bef
* added missing constant
2001-07-07 12:45:20 +00:00
Stig Bakken
2d6d626c75
* added missing doc for PEAR::raiseError skipmsg parameter
2001-05-23 12:37:43 +00:00
Stig Bakken
2cf1b8d345
* expanded the following constants and made them available in PHP:
...
DEFAULT_INCLUDE_PATH
PEAR_INSTALL_DIR
PHP_EXTENSION_DIR
PHP_BINDIR
PHP_LIBDIR
PHP_DATADIR
PHP_SYSCONFDIR
PHP_LOCALSTATEDIR
PHP_CONFIG_FILE_PATH
* no longer generating pear/PEAR.php
* fixed some tests
* some more installer work
2001-04-22 01:09:14 +00:00
Stig Bakken
576b6e9236
* PEAR.php is now generated by configure
2000-07-24 23:54:26 +00:00
David Croft
96eada8f80
licence versions -> 2.02 in pear files
2000-07-24 10:31:43 +00:00
Stig Bakken
0f0f1cebcb
* new class: PEAR - can be used as a base class for others.
...
* PEAR_Error moved into PEAR.php to reduce the number of files that are
always included
* cleaned up the PEAR_Error API a bit and changed the two classes using it
* added PEAR_Installer - an administration class for installing packages
and maintaining a "class/file cache"
2000-07-24 08:05:51 +00:00