Sebastian Bergmann
bf5bb84277
MFZE1: make sure the resource-list is always consistent during shutdown (Thies).
2002-04-19 16:53:36 +00:00
Sebastian Bergmann
62dc854bb0
Happy New Year.
2002-01-06 15:21:36 +00:00
Derick Rethans
9b391a83c2
- MFZE1 for exit fix, exposing current function name in error messages and
...
exposing zend_zval_type_name().
2002-01-03 14:19:13 +00:00
Sebastian Bergmann
d863d52a5d
Update headers.
2001-12-11 15:16:21 +00:00
Zeev Suraski
4f6c95d17a
Whitespace
2001-08-11 15:56:40 +00:00
Zeev Suraski
7deb44e36d
Some cleanup
2001-08-02 06:16:20 +00:00
Zeev Suraski
57507b4ea6
More TSRMLS_FETCH annihilation
2001-07-31 05:32:25 +00:00
Zeev Suraski
d76cf1da18
More TSRMLS_FETCH work
2001-07-31 04:53:54 +00:00
Zeev Suraski
8ce8324e59
More TSRMLS_FETCH annihilation
2001-07-30 04:54:16 +00:00
Zeev Suraski
2c254ba762
Get rid of ELS_*(), and use TSRMLS_*() instead.
...
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:10:39 +00:00
Zeev Suraski
931ebe08d7
Improve bailout mechanism, supports nesting of bailouts a-la try..catch
2001-07-21 14:25:27 +00:00
Zeev Suraski
8084d27885
Implement a more granular shutdown mechanism for the executor -
...
prevent corruption of constants and missing destructions of resources
2001-07-20 14:20:34 +00:00
Thies C. Arntzen
7b7e72d1d2
the resource-lists are now destroyed backwards. this will make sure that
...
resources get destroyed in the opposite order they were created and thereby
db-cursors will always be released before their corresponding connection etc.
this sould not break anything!
2001-07-13 12:05:47 +00:00
Andi Gutmans
e2f12eb0e5
- Whitespace and change the name of the macro to something more verbose
...
ZEND_GET_RESOURCE_ID(...)
2001-05-20 20:25:20 +00:00
James Moore
c1164ad5bf
@ - Add new ZEND_GET_LE macro for retrieving destructor
...
@ id's from remote extensions. (Jmoore, Zend Engine)
2001-05-20 17:06:39 +00:00
Andi Gutmans
65d9584ac0
- Don't allow resource types of 0
2001-05-20 16:04:22 +00:00
Zeev Suraski
9aac926d3f
Fix warning
2001-03-28 16:12:16 +00:00
Zeev Suraski
6dafabd73f
Make Windows happy
2001-03-28 15:46:51 +00:00
Zeev Suraski
3492049c86
Get rid of more redundant code
2001-03-28 15:32:52 +00:00
Zeev Suraski
3d3d8881c6
Cleaner way of making sure resources start at 1 and not 0...
2001-03-28 15:22:15 +00:00
Zeev Suraski
8c13f9d56f
Remove redundant code
2001-03-28 14:56:28 +00:00
Zeev Suraski
59c32058fc
God knows what this code was doing...
2001-03-27 16:46:24 +00:00
Andi Gutmans
d2c9e8074c
- Update copyright year
2001-02-26 05:43:27 +00:00
Thies C. Arntzen
dd7eb4284b
fix a couple of warnings
2001-01-23 17:55:17 +00:00
Zeev Suraski
b8b40f697e
Fix persistent resources, once and for all...
2001-01-16 23:49:16 +00:00
Andi Gutmans
e976d8ed1d
- Make plist_destructor work like list_destructor to allow it to call
...
extended destructors.
2001-01-04 06:20:26 +00:00
Andrei Zmievski
dadb140e2f
- Fixed a bug in zend_rsrc_list_get_rsrc_type()
...
- Switched register_list_destructors() to use
zend_register_list_destructors_ex() instead
2000-10-20 18:26:15 +00:00
Zeev Suraski
55d313db99
Improve register_resource_ex() infrastructure
2000-07-14 20:00:24 +00:00
Zeev Suraski
3513866627
Another persistent hash - disable apply protection
2000-07-11 14:47:34 +00:00
Andi Gutmans
e1705c0810
*** empty log message ***
2000-06-15 19:09:51 +00:00
Zeev Suraski
4cb9a483d2
- Clean up resource lists namespace
...
- Prepare extended resource list destructor APIs (currently unused)
2000-04-15 13:02:22 +00:00
Zeev Suraski
f44afc6e99
Fix the problem with dl()'d modules not freeing their resources properly
2000-04-03 05:26:41 +00:00
Zeev Suraski
5e55e47f7f
It's official now...
2000-03-06 05:26:39 +00:00
Zeev Suraski
0ac9536d99
(c) patch
2000-02-19 22:46:42 +00:00
Zeev Suraski
62114c1806
Destructors no longer return ints, the low level problem it was intended to solve is long gone now...
2000-01-17 17:33:37 +00:00
Zeev Suraski
ee08b81aab
- Make zend_hash_apply() (and friends) reentrant and much, much quicker
...
- Introduce zend_hash_graceful_destroy(), which allows the destructor functions to
use zend_hash_apply() and/or zend_hash_graceful_destroy()
- Switch to zend_hash_graceful_destroy() in the resource list shutdowns
2000-01-16 20:59:03 +00:00
Zeev Suraski
caaeb9ff12
Fix a bug in call_user_function_ex()
2000-01-15 22:52:24 +00:00
Thies C. Arntzen
6e07d060fc
(zend_fetch_resource) added warinig if resource is of wrong type
1999-10-13 12:59:48 +00:00
Thies C. Arntzen
6d7c18c1f5
new improved resource-API
1999-10-12 14:51:17 +00:00
Zeev Suraski
85844ace95
Exify the standardized resource stuff
1999-09-24 14:03:45 +00:00
Thies C. Arntzen
5f3515652a
if you pass NULL as the resource_type_name to zend_fetch_resource*&friends the functions will not print any warnings if the resource is not found!
1999-09-22 09:46:44 +00:00
Zeev Suraski
6ddd686141
Safer behavior
1999-09-18 13:07:45 +00:00
Stig S. Bakken
009025e00d
* header file cleanup
...
* fixed --enable-thread-safety build for UNIX
I don't have a Win32 environment available, could someone please try
compiling on Win32 to see if I got all the header file stuff right there?
1999-09-06 16:14:08 +00:00
Zeev Suraski
7d33215124
Fix a stupid bug (from stefan@roehri.ch)
1999-09-04 21:58:51 +00:00
Zeev Suraski
3feb4b3bdd
Add new API for resources
1999-09-03 19:12:07 +00:00
Andi Gutmans
bf8c6dbd99
- Get rid of C++ comments
1999-07-20 13:01:30 +00:00
Zeev Suraski
8d1de13aef
0.91 update
1999-07-19 20:02:12 +00:00
Zeev Suraski
b5b1117760
License update
1999-07-16 14:58:16 +00:00
Zeev Suraski
81d901b14d
Step 1 in nuking the garbage collector:
...
- Change the hash destructor to return int
- Don't kill the bucket on hash_destroy if the destructor returns 0
1999-07-09 17:24:47 +00:00
Zeev Suraski
9108abc287
Minor updates (mostly __declspec() stuff)
1999-06-04 11:44:02 +00:00