Sebastian Bergmann
61ce6bc8f1
Bump year.
2002-12-31 16:18:29 +00:00
Pierre Joye
54d920dd3c
Sorry Derick, generated the wrong patch
...
and we don't need to recreate an array ;)
2002-10-08 13:17:01 +00:00
Derick Rethans
fa5ce6bbfa
- Fix for deprecated function
2002-10-08 13:02:31 +00:00
Martin Jansen
64a31beb6a
* Fix bug #19269 .
...
This patch makes popErrorHandling() pop the first _two_ elements
from the error handler stack to prevent un-necessary memory
consumption.
# Patch by: jrust (at) rustyparts (dot) com
2002-09-25 17:36:24 +00:00
Stig Bakken
f246ef4239
* always enable track_errors
...
* added throwError method (simpler version of raiseError)
2002-07-21 07:04:45 +00:00
Stig Bakken
6b4707320d
* define PEAR_ZE2 when running with Zend Engine 2
2002-07-05 01:52:09 +00:00
Tomas V.V.Cox
d2b435eb08
Dropped case insentive ext search in PEAR::loadExtension()
2002-06-17 14:35:12 +00:00
Tomas V.V.Cox
4211d0e590
Typo in the folding mark
2002-06-17 14:04:01 +00:00
Tomas V.V.Cox
87ddd96027
Added PEAR::loadExtension($ext) - OS independant PHP extension load
...
# PEAR developers, please use this function if you need to check or
# load an extension.
2002-06-17 13:39:29 +00:00
Tomas V.V.Cox
9e67012d74
trailing ws
2002-06-17 13:32:42 +00:00
Jan Lehnardt
5ec88a3b73
- minor improvement of readability,
...
#thanks richy ;)
2002-05-29 21:55:52 +00:00
Jan Lehnardt
998ef91cad
- added delExpect() API method. It allows to unset one or more expected
...
- error codes.
- requires _checkDelExpect() (private) which I added as well.
- inspired by chregu (PHP-Deluxe, page 75)
2002-05-29 21:41:27 +00:00
Stig Bakken
ea14cadea2
* phpdoc fixes (un-break the broken)
2002-05-26 12:50:36 +00:00
Stig Bakken
0ca308d152
* fix phpdoc
2002-04-19 13:58:25 +00:00
Richard Heyes
f006b2bbc3
* Added getStaticProperty() for static methods.
2002-04-08 21:03:41 +00:00
Richard Heyes
d3c0d67060
* Added registerShutdownFunc() method
2002-04-06 17:01:14 +00:00
Tomas V.V.Cox
02bff6ce0e
Fix bug in pushErrorHandling() (fail under very specific circumstances)
2002-04-06 15:12:04 +00:00
Tomas V.V.Cox
12b0eae9e2
phpdoc update
2002-03-13 01:39:51 +00:00
Tomas V.V.Cox
409a631bed
Fix error handling selection when both class and global are set
2002-03-13 01:17:47 +00:00
Stig Bakken
22aac3652e
* fix PEAR::setErrorHandling() settings so they apply when using raiseError()
2002-03-05 14:43:02 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Martin Jansen
52ba15e99d
='typo'
2002-02-18 10:27:36 +00:00
Martin Jansen
64a857c52e
* Destructors seem to work like a charm. -> No need to keep this line.
2001-12-15 15:01:35 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Stig Bakken
db44b1086c
* expectError() now accepts "*" as a catch-all
...
* updated tests
2001-11-04 09:07:17 +00:00
Stig Bakken
2c05c7e0ac
* removed error_prepend and error_append properties
2001-10-31 05:48:16 +00:00
Stig Bakken
b5dc4f7ce0
renamed "debuginfo" property declaration to "userinfo"
2001-10-31 05:44:19 +00:00
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