Commit Graph

1223 Commits

Author SHA1 Message Date
Andi Gutmans
3353ad7e6e - Make people happy who like the Zend version number bumped up in parallel
with PHP.
2001-01-21 11:43:34 +00:00
Andi Gutmans
ef95a346f1 - Patch from Sterling. Add API calls to add zval's as array indeces/
object properties. Add _ex functions which take the string length as an
  argument for better performance.
2001-01-20 19:16:38 +00:00
Andi Gutmans
0a3761e283 - For Sterling. I wonder if not all of the API functions should take the
- key_length as a parameter in order to save that strlen().
2001-01-19 08:40:49 +00:00
Andi Gutmans
62606e7789 - Fix leak in fetch_dim_address() which was already fixed in
- fetch_dim_object(). Take the oppertunity to make both use the same
- function and not duplicate the code.
2001-01-17 17:34:16 +00:00
Zeev Suraski
b8b40f697e Fix persistent resources, once and for all... 2001-01-16 23:49:16 +00:00
Zeev Suraski
0e08845eb0 Add free_estring() 2001-01-15 10:52:06 +00:00
Zeev Suraski
dc45d88c47 Add newline 2001-01-12 11:14:46 +00:00
Rasmus Lerdorf
b208f6bc7d Fix for bug number 8666 2001-01-12 06:55:57 +00:00
Zeev Suraski
0301041f79 Fix mismatch in return values 2001-01-07 19:04:02 +00:00
Zeev Suraski
903018ef36 - Remove backward dependency from PHP -> Zend
- Rename get_ini_entry() as get_configuration_directive() for clarity
  (it doesn't use the INI subsystem, but the module-supplied function for
  retrieving configuration directives)
2001-01-07 18:39:11 +00:00
Zeev Suraski
5f6bc23931 Remove -S option on all bison calls 2001-01-07 18:31:55 +00:00
Zeev Suraski
1f23e50789 Fix possibility of a crash during startup (very unlikely, but possible) 2001-01-07 02:47:32 +00:00
Zeev Suraski
bcf179d047 Remove -S 2001-01-06 20:11:22 +00:00
Andi Gutmans
572e0b78fb - This slipped in by mistake. 2001-01-06 09:56:36 +00:00
Zeev Suraski
aae9e7ee59 Merge in some ZEND_API additions from Daniel Beulshausen (needed for the
Win32 Apache module)
2001-01-05 15:01:15 +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
Zeev Suraski
f3258b2426 Fix another case of possible line number corruption 2001-01-03 23:00:01 +00:00
Zeev Suraski
6b23ef6cef Commit missing declaration 2001-01-03 08:35:23 +00:00
Andi Gutmans
7b5138035c - Remove unreachable code 2001-01-01 17:59:08 +00:00
Zeev Suraski
18603033fb Fix possible corruption in line number information 2000-12-30 15:32:12 +00:00
Zeev Suraski
54d53055c2 Make the INI mechanism thread safe (or at least thread safer :) 2000-12-27 15:43:15 +00:00
Zeev Suraski
6f6e13de54 Use iostream.h instead of istream.h (IBM's compiler doesn't come with istream.h,
and iostream.h should include it)
2000-12-26 23:05:55 +00:00
Zeev Suraski
dc2f1d9db7 - Use supplied istdiostream definition for the INI scanner too
- Add Release_TSDbg configuration
2000-12-26 22:15:13 +00:00
Zeev Suraski
b8be713dd5 This needs updating as well 2000-12-24 15:37:39 +00:00
Zeev Suraski
cec94760fd More aggressive protection in call_user_function_ex() 2000-12-24 00:29:14 +00:00
Zeev Suraski
f052eab681 Fix a possible crash bug in call_user_function_ex(), if the function is
in fact not a user function
2000-12-23 12:54:42 +00:00
Sascha Schumann
c334058412 Set the floating-point exception mask on FreeBSD to 0 (as do other
FreeBSD system applications).  Also bump up the module API number
as the zend_hash_get_current_key change affects source and binary
compatibility.
2000-12-22 21:11:34 +00:00
Zeev Suraski
36eaad252f Allow get_current_key() not to return the key itself, instead of a duplicate 2000-12-22 12:49:51 +00:00
Zeev Suraski
0fcce4a77a @* Fixed a possible crash in get_class_methods() (Zeev) 2000-12-22 12:08:04 +00:00
Stanislav Malyshev
1d35ad33c6 Add support for ASP tags in one-line comment 2000-12-19 12:57:38 +00:00
Andi Gutmans
e2f33cb14f - Success! Yay! 2000-12-18 16:11:57 +00:00
Andi Gutmans
e0f026c600 - Yet another one. 2000-12-18 16:10:08 +00:00
Andi Gutmans
0a300b9935 - Testing 2000-12-18 16:08:02 +00:00
Andi Gutmans
9e3fa59ac2 - No luck 2000-12-18 16:06:16 +00:00
Andi Gutmans
532210b5ac - Make this damn commit stuff work. 2000-12-18 16:05:12 +00:00
Andi Gutmans
d3a04db0f2 - Testing 2000-12-18 16:00:15 +00:00
Stanislav Malyshev
63873aba37 Use HashPosition iterator instead of saving/restoring internal pointer 2000-12-18 15:06:03 +00:00
Stanislav Malyshev
9a135a2b29 Preserve internal pointer over print_r (fix #8289) 2000-12-18 13:56:30 +00:00
Andi Gutmans
43adbdcc72 - Fix leak with useless statements such as "foo"; 2000-12-18 13:28:32 +00:00
Andi Gutmans
9a87dc3bdc - Testing Sascha's CVS commit script which should work with branches. 2000-12-18 13:25:53 +00:00
Andi Gutmans
361d04b84b - Testing 2000-12-18 13:24:58 +00:00
Andi Gutmans
1b5493f819 - Testing 2000-12-18 13:23:45 +00:00
Andi Gutmans
2949dcb6c0 - Testing 2000-12-18 13:21:47 +00:00
Andi Gutmans
9722c1397a - Testing 2000-12-18 13:21:07 +00:00
Andi Gutmans
f23ebb7c5e - Testin 2000-12-18 13:20:01 +00:00
Zeev Suraski
603a23ade2 Test, ignore 2000-12-18 13:18:02 +00:00
Zeev Suraski
675985c892 Test, ignore 2000-12-18 13:14:05 +00:00
Zeev Suraski
2ef76284f0 Test, ignore 2000-12-18 13:12:16 +00:00
Zeev Suraski
1f7f2416be Test, ignore 2000-12-18 13:07:50 +00:00
Zeev Suraski
43c94f221a Test, ignore 2000-12-18 13:01:59 +00:00
Stanislav Malyshev
138ea941fa Add notice when auto-converting array to string 2000-12-18 08:47:17 +00:00
Andi Gutmans
d63f8130bc - Clean up the scanner a tiny bit while messing with it. 2000-12-17 20:23:24 +00:00
Andi Gutmans
6529b06618 - %> without asp_tags should not be treated as inline_html but as regular
tokens. Of course the parser will die with a parse error which is the
  correct behavior.
2000-12-17 20:10:16 +00:00
Andi Gutmans
5868427dcf - Fix problem in one line comments with line endings such as ??> 2000-12-17 20:03:35 +00:00
Stanislav Malyshev
98f2db94ec Fix #8279 (-2147483647 > 2147483647).
# Long addition/subtraction may not fit long.
2000-12-17 16:02:59 +00:00
Zeev Suraski
98ce9ed699 Update module_api_no 2000-12-14 00:23:18 +00:00
Zeev Suraski
be895bcb96 Fix call_user_function() with objects - it could leak under certain circumstances 2000-12-13 22:50:10 +00:00
Stanislav Malyshev
868c8769f8 Fix #8195: strncasecmp returns incorrect value 2000-12-12 09:47:30 +00:00
Sascha Schumann
acdae3a149 Hardcode strlen due to problems on SCO OpenServer 5.0.4 which defines
strlen to __std_hdr_strlen.
2000-12-07 19:28:13 +00:00
Stanislav Malyshev
6a356cf5c8 Whitespace fix 2000-12-07 10:36:45 +00:00
Stanislav Malyshev
8ba3eeabd9 Allow var $foo = array(ABC => 1) constructs
# It still doesn't work good with constants, but at least doesn't leak now
2000-12-07 10:36:10 +00:00
Stanislav Malyshev
b531e43c49 Fix memory leak - get_current_key mallocs it's result, no need to
copy it.
2000-12-07 09:39:16 +00:00
Sascha Schumann
fb87cc8c8e INIT_DATA/UPDATE_DATA assumed that pData elements of the size of a void
pointer would actually be aligned like a void pointer. This lead
to bus errors on architectures which don't allow unaligned 32-bit accesses.
2000-12-06 21:24:10 +00:00
Andi Gutmans
352d23b853 - Support for $var =& new foo() syntax. This allows you to use objects
which create extra references to themselves in the constructor.
2000-12-05 18:45:58 +00:00
Zeev Suraski
848e51fda5 Expose all timeout functions 2000-12-05 13:04:05 +00:00
Sascha Schumann
af97475e93 Use the hardly-documented third parameter of AM_INIT_AUTOMAKE to suppress
defining PACKAGE/VERSION.
2000-12-02 13:27:07 +00:00
Andi Gutmans
8d9082563a - Allow passing references which are returned from functions and new
- statements to be passed by reference.
2000-11-27 18:46:23 +00:00
Andrei Zmievski
81814c8ddc Update class constants before trying to get default properties. 2000-11-27 17:00:54 +00:00
Andi Gutmans
be6ab20415 - Remove code which has been commented out for ages. 2000-11-22 19:53:17 +00:00
Sascha Schumann
2ef6b689e8 Pass on the exit status 2000-11-22 04:24:35 +00:00
Zeev Suraski
f8dabac6d5 Fix build 2000-11-21 22:41:49 +00:00
Andi Gutmans
12077112b4 - The baby patch wasn't that innocent :) 2000-11-21 16:14:02 +00:00
Andrei Zmievski
9ca1038535 Sterling's patch to make get_defined_vars() simpler and better. 2000-11-21 15:29:02 +00:00
Andi Gutmans
b2c957d4b1 - NEVER copy and paste :) 2000-11-20 20:54:10 +00:00
Andi Gutmans
b5d5b3a703 - Baby patch towards making the damn pass-by-ref work. 2000-11-20 20:49:42 +00:00
Zeev Suraski
d161e9d1c1 Update API number 2000-11-20 12:59:56 +00:00
Stanislav Malyshev
35f4826fea Add macro to replace value of zval with another value while preserving
referencing structure
2000-11-20 12:35:08 +00:00
Andi Gutmans
6d2a433ec5 - This patch is broken and needs more thorough fixing. 2000-11-20 05:09:21 +00:00
Andi Gutmans
ce87ae4159 - Try and fix the problem when sending references returned from a function by reference. 2000-11-19 19:49:58 +00:00
Zeev Suraski
769cde2f9f Fix Zend build for non ZTS 2000-11-19 12:28:28 +00:00
Zeev Suraski
42b0e1cb1f Forgot to commit the non-debug build fix yesterday... 2000-11-18 11:43:08 +00:00
Zeev Suraski
9a0b61a619 Add thread-safety debugging information (idea - Dmitri Dmitrienko) 2000-11-18 02:43:23 +00:00
Stanislav Malyshev
2d57a5b2a4 Restore compatibility with old broken way 2000-11-14 18:33:58 +00:00
Stanislav Malyshev
0b6a8d0458 Better 0x handling - not change non-0x number behaviour 2000-11-14 17:54:11 +00:00
Stanislav Malyshev
89d5983ad9 Attempt at better handling long 0x-numbers, like 0xffffffff 2000-11-14 17:02:52 +00:00
Andi Gutmans
9b42296bab - Remove unused function 2000-11-13 18:14:16 +00:00
Andi Gutmans
4004ef6f25 - Use typedef's for function pointers so that we can easily define arrays
- of these function pointers.
2000-11-13 17:30:42 +00:00
Stanislav Malyshev
124569d167 Fix zend_llist_apply_with_del - it should remove from list,
not only call dtor
2000-11-13 14:55:28 +00:00
Zeev Suraski
20ab5c58c7 Test, ignore 2000-11-12 17:21:14 +00:00
Andi Gutmans
1ccf94066c - Move SET_UNUSED() to header 2000-11-11 17:59:47 +00:00
Andi Gutmans
86a13dd94e - Beautify by using the standard #define. 2000-11-11 17:41:28 +00:00
Andi Gutmans
5e33cdaef3 - Remove this damn thing once again. 2000-11-10 11:48:12 +00:00
Andi Gutmans
f950a3724c - Maybe it's OK now? :) 2000-11-09 23:54:18 +00:00
Andi Gutmans
113a5bb8c2 - Undo the previous commit for fixing $obj = new foo(). 2000-11-09 23:43:21 +00:00
Andi Gutmans
d9d4824cd3 - Commit experimental patch to fix the problem when doing $a = new foo()
and the constructor assigns $this by reference to other symbol table
  elements. Thanks to Daniel J. Rodriguez on this one.
2000-11-09 22:11:14 +00:00
Zeev Suraski
41d83c5d95 Add ability to find extensions by name 2000-11-08 14:25:42 +00:00
Sascha Schumann
5360d78278 Kill a misleading warning which is intended for old code
which assumes sizeof(int) == sizeof(void *).
2000-11-06 23:40:48 +00:00
Andi Gutmans
1f03630846 - Add trailing \n? 2000-11-03 08:39:39 +00:00
Zeev Suraski
313a459af3 Fix for bug #5571 (by mookid@sigent.ru) 2000-11-03 02:45:55 +00:00
Andi Gutmans
a3a0fe3797 - Fix dependency. 2000-11-03 00:52:20 +00:00