Commit Graph

30 Commits

Author SHA1 Message Date
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
Zeev Suraski
8dd4a63366 Remove redundant includes 1999-04-24 09:26:09 +00:00
Zeev Suraski
a9f9ae7920 Thread safety patch. It works now with 'just in time' resource initialization! 1999-04-21 17:26:37 +00:00
Andi Gutmans
573b46022c Zend Library 1999-04-07 18:10:10 +00:00