Zeev Suraski
dbccd75b06
*** empty log message ***
1999-09-29 21:46:37 +00:00
Andi Gutmans
202d7dd216
Fix leak in += with arrays
1999-09-29 17:45:44 +00:00
Andi Gutmans
06d04d15a8
- Fix SEND_VAR problem after fetch'ing a variable and not knowing the fetch type
1999-09-29 17:18:36 +00:00
Thies C. Arntzen
446e5d0fff
added add_property_resource
1999-09-29 15:25:06 +00:00
Andi Gutmans
59d5462a6a
- Stop using the locking mechanism and start using refcount.
...
Now we know when we need to free but we still need to support it
1999-09-28 17:37:14 +00:00
Andi Gutmans
b56fd4602f
- First part of the patch which makes reads use ptr and not ptr_ptr.
1999-09-28 16:03:09 +00:00
Sascha Schumann
7ed68c0f53
Provide alternative istdiostream.
...
This has been tested with Sun WorkShop 4.2 C++ which does not
contain class istdiostream.
1999-09-28 11:54:02 +00:00
Sascha Schumann
b7a1130143
Actually allow to set CXXFLAGS
1999-09-26 20:59:47 +00:00
Sascha Schumann
0ac169b474
Build communication channel and add checks for C++ library
1999-09-26 20:12:05 +00:00
Andi Gutmans
4fff0386ac
- Changed Ts{}.var to Ts{}.var.ptr_ptr.
1999-09-26 05:45:18 +00:00
Sascha Schumann
d8895c02f7
Add _ex API implementation for booleans.
1999-09-24 19:22:25 +00:00
Zeev Suraski
85844ace95
Exify the standardized resource stuff
1999-09-24 14:03:45 +00:00
Andi Gutmans
63c15d292a
- Fix bug #2364 .
...
I haven't checked all of the conversion macros yet but there's a change
there are more such bugs there.
1999-09-23 16:13:31 +00:00
Sascha Schumann
4efa22c84e
Fix vpath build w/ thread-safe enabled on Unix.
1999-09-23 16:07:16 +00:00
Thies C. Arntzen
49c891f2cf
preliminary fix for each until andi & zeev clean up!
1999-09-22 09:57:42 +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
Andi Gutmans
228a537bbe
- Fix problem where function parameter fetches were created too late.
1999-09-21 20:00:01 +00:00
Zeev Suraski
a30f028a12
Add get_func_args()
1999-09-21 07:31:24 +00:00
Zeev Suraski
9f1d0dec47
*** empty log message ***
1999-09-21 00:46:22 +00:00
Andi Gutmans
68217ef564
- Move some more Zend internal functions from PHP
1999-09-20 21:28:37 +00:00
Andi Gutmans
5e3bbea0ff
- Next part of locking fix.
...
$var = expr; and $var += expr; first create code for expr and later on
for the fetch_w of $var.
1999-09-20 18:17:32 +00:00
Andi Gutmans
7831d30265
- Newline for Sun's compiler
1999-09-20 17:01:38 +00:00
Andi Gutmans
06a18f169b
- Add some internal functions to Zend
1999-09-20 16:56:09 +00:00
Andi Gutmans
babad2694e
- First step in fixing locking problem. Array fetches are now always done last.
...
Later on we will want to delay the write fetches even longer until after their
resulting expression is parsed. The way it is now, will make it very easy
to delay as long as we need.
1999-09-20 15:44:30 +00:00
Andi Gutmans
82c8a9e745
- Indirect references had all of the fetches by mistakenly backpatched.
...
Actually all of the fetches are supposed to be read, except for the last
one.
1999-09-20 14:45:36 +00:00
Zeev Suraski
7a4a5944f9
Added zend_num_args() and zend_get_arg()
1999-09-20 13:00:35 +00:00
Zeev Suraski
13d840bc3f
Add a file in which we can put Zend builtin functions
1999-09-20 12:24:39 +00:00
Andi Gutmans
1ac04fe9f4
- Try to fix the leak Rasmus reported. It's pretty sucky code so I'm really
...
not sure this fix is OK.I can't remember all of what we did there.
1999-09-18 22:07:12 +00:00
Zeev Suraski
6ddd686141
Safer behavior
1999-09-18 13:07:45 +00:00
Thies C. Arntzen
aa5102490a
make SUNs c89 happy
1999-09-17 13:57:24 +00:00
Thies C. Arntzen
20ee106672
no // in the sources please
1999-09-17 12:16:21 +00:00
Thies C. Arntzen
83bbb90d10
added newline at end of file
1999-09-17 12:14:31 +00:00
Zeev Suraski
567b3cef6b
- Fix bug #2318
1999-09-17 02:06:12 +00:00
Zeev Suraski
52e769d883
Introduce convert_to_*_ex()
1999-09-16 23:15:34 +00:00
Sascha Schumann
119b85b736
this helps compiling on non-ANSI C compliant platforms
1999-09-16 14:06:35 +00:00
Stig S. Bakken
af1e5ad881
Make sure HAVE_LIBDL gets defined.
...
Disable more C++ tests when not configured for thread safety.
1999-09-13 11:29:44 +00:00
Zeev Suraski
5f1793e21c
Make this class instanciatable
1999-09-12 19:27:50 +00:00
Sascha Schumann
c656292b96
check for c++ only, if thread safety is enabled
1999-09-12 14:14:34 +00:00
Zeev Suraski
ca1b3ffbc8
Shut up a warning
1999-09-10 16:16:24 +00:00
Andi Gutmans
22f066e708
- Add foreach() freeing code.
...
- Fix switch() freeing code to only free current function's switch expressions.
- I have a feeling break expr; in a switch where expr > 1 leaks because it
won't free all of the expressions. Fix is probably not trivial.
1999-09-09 14:15:17 +00:00
Andi Gutmans
f0a988a26a
- Fix leak when decrementing strings which actually are longs.
1999-09-09 12:59:09 +00:00
Andi Gutmans
67daaa7aac
- Fix for floating point array offsets. Same behaviour as in PHP 3.0. We
...
casted to (long).
1999-09-08 20:38:08 +00:00
Andi Gutmans
afecff3aa4
- Add -b option to flex++
1999-09-08 17:16:22 +00:00
Stig S. Bakken
928863f85b
define tests first, use after.
1999-09-07 09:02:41 +00:00
Andi Gutmans
4bc3097e6f
- Fix win32 compile
1999-09-06 20:43:35 +00:00
Andi Gutmans
a0bad70bd1
- Make zend compile again in Win32.
1999-09-06 20:33:40 +00:00
Stig S. Bakken
623406cf2b
hand-patched some MSVC files
1999-09-06 16:15:27 +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
Andi Gutmans
2807ba18e1
- Oops
1999-09-05 19:37:24 +00:00
Andi Gutmans
99947a251e
- Shift around header files.
1999-09-05 19:03:35 +00:00