Andi Gutmans
4a6869c98e
- Better FreeBSD fix. Does fp_except_t exist on 3.4?
2000-06-18 15:44:23 +00:00
Andi Gutmans
53a5eccf66
- I don't know how this happened. I tested the bloody thing and I remember
...
- copy&pasting from code which used ~.
2000-06-18 04:22:12 +00:00
Zeev Suraski
3cda6a750e
Allow the symbol_table to be passed to call_user_function_ex()
2000-06-17 16:50:38 +00:00
Zeev Suraski
84eb48f0a1
Ok, this time here's some real Win32 system programming :)
...
Redesigned the timeout system using a single timeout thread and a single window,
and used a much quicker check.
2000-06-16 14:27:28 +00:00
Zeev Suraski
ef0bd3d102
- Move timeout code to Zend
...
- Implement timeouts in Win32
2000-06-16 01:54:56 +00:00
Zeev Suraski
8b794bb1dd
Fix non thread-safe mode - asp_tags/short_tags etc weren't getting initialized properly
2000-06-15 19:18:57 +00:00
Andi Gutmans
1f5ee72e2d
- Solve floating point precision crash on FreeBSD.
2000-06-11 18:07:14 +00:00
Andi Gutmans
5928970d22
- Fixes crash problem on FreeBSD when losing precision. Need to still see
...
- how to detect we're on FreeBSD
2000-06-11 17:45:19 +00:00
Zeev Suraski
98bf43f229
Enable asp_tags/short_tags/allow_call_time_pass_by_reference to work on a per-directory
...
basis as well
2000-06-06 19:13:54 +00:00
Andi Gutmans
01d478ba56
- Change #if to #ifdef.
2000-06-03 07:34:20 +00:00
Zeev Suraski
2ffe85ddac
Don't take chances with new include files
2000-06-03 04:14:31 +00:00
Zeev Suraski
0b7a9cea88
- Fix Win32 compilation (Use winsock2.h from now on)
...
- Add lambda() support
2000-06-03 01:49:49 +00:00
Zeev Suraski
8a8c3eafc8
Nuke the old error code, use the new one
2000-06-02 12:21:49 +00:00
Zeev Suraski
0302ee5992
- Remove ugly Ltd.
2000-05-22 16:55:56 +00:00
Sam Ruby
c5cf13eb29
Windows build failure
2000-05-21 19:26:50 +00:00
Andi Gutmans
a8b0d9609c
- Fix Apache php source highlighting mode. It was crashing due to the
...
- module shutdown functions being called when the startup functions weren't
- being called.
2000-05-21 17:41:16 +00:00
Sascha Schumann
7a2d83acdc
Source file does not end with a newline. Some old compilers don't like that.
2000-05-01 22:36:10 +00:00
Zeev Suraski
ddbcbb666d
Fix a bug in the resource dispencer
2000-04-28 15:52:02 +00:00
Zeev Suraski
974671eced
*** empty log message ***
2000-04-27 21:48:47 +00:00
Zeev Suraski
b80b8381d4
More error handling work (still completely disabled)
2000-04-27 19:38:11 +00:00
Thies C. Arntzen
f4c9d96f2e
fixed shutdown crash if MSHUTDOWN tries to php_error() something.
2000-04-24 12:47:07 +00:00
Zeev Suraski
67f6974373
Initial support for trapping errors (not complete and disabled; will be enabled only
...
post-PHP 4.0.0)
2000-04-19 15:08:06 +00:00
Zeev Suraski
603d5ff5d8
Fix ZTS
2000-04-15 14:17:18 +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
5dba477467
- Some header dependencies cleanup
...
- Generalize zval_print() and zval_print_r()
2000-03-25 19:10:07 +00:00
Andi Gutmans
13e7413182
- Change zend_startup to accept a flag for starting builtin functions
2000-03-21 19:01:19 +00:00
Thies C. Arntzen
3092c10e93
renamed _string_value_() to __string_value().
2000-03-18 14:55:29 +00:00
Thies C. Arntzen
a4bf381557
renamed "to_string" -> "_string_value_"
2000-03-16 02:09:47 +00:00
Andi Gutmans
6ef9f9fe9c
- Missed one
2000-03-06 15:58:50 +00:00
Sam Ruby
fc173b6ace
Unresolved externs
2000-03-06 10:46:40 +00:00
Zeev Suraski
5e55e47f7f
It's official now...
2000-03-06 05:26:39 +00:00
Zeev Suraski
56251a7239
Wrap some commonly unused callbacks
2000-03-05 19:50:10 +00:00
Andi Gutmans
4dd71d4cfe
- Upgrade to year 2000
2000-03-01 17:24:43 +00:00
Zeev Suraski
0ac9536d99
(c) patch
2000-02-19 22:46:42 +00:00
Andi Gutmans
f1a2ee55e0
- Add ZEND_API
2000-02-17 08:03:13 +00:00
Zeev Suraski
9f51f154aa
- Stop passing list/plist to internal functions
...
- Add a typedef for the pCopyConstructor function pointer
- Minor hacks
2000-02-05 15:11:24 +00:00
Thies C. Arntzen
8c4ab98e17
added missing break.
2000-02-01 11:37:33 +00:00
Zeev Suraski
fafbf6d8da
- Implement declare() with declarables framework
...
- Implement ticks - Germany&Norway - 5 points!
2000-01-24 19:00:30 +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
dc0e663241
Allow module startup to be separate from the compiler/executor startup
2000-01-16 19:41:15 +00:00
Andi Gutmans
bdefd5da15
- Change IS_UNSET -> IS_NULL
2000-01-04 13:22:58 +00:00
Zeev Suraski
f2d703e916
- Nuke undefined_variable_string
...
- Introduce IS_UNSET
1999-12-31 13:56:59 +00:00
Zeev Suraski
5864b57eec
This should enable people to use ALLOC_ZVAL() in code outside the php4.dll
1999-12-30 05:25:44 +00:00
Thies C. Arntzen
9cf1a98d0e
fix UMR in ZTS mode
1999-12-27 11:22:57 +00:00
Zeev Suraski
5ba5f00f65
export
1999-12-22 20:24:52 +00:00
Andrei Zmievski
80bab9d939
We're using ZVAL's now.
1999-12-21 17:14:31 +00:00
Andi Gutmans
213d0e2fb2
- More fixes related to the return references patch
...
- eval_string() and call_user_function_ex() still don't work.
- The libzend tree is untested and might not be stabl yet.
1999-12-19 06:39:17 +00:00
Sascha Schumann
70df2d7478
Fix some warnings
1999-12-05 16:23:45 +00:00
Zeev Suraski
9baad80459
- Break the zend->PHP dependency introduced by the .php extension for use(),
...
by providing an API
- Enable Stig's patch for use() extensions (it wasn't refered to by the parser)
- Fix a memory leak in that code
1999-12-04 13:26:57 +00:00
Stig S. Bakken
93536507f6
Fix warnings surfacing in maintainer-mode.
1999-12-01 22:55:20 +00:00
Andi Gutmans
5463dd5b38
- Add use support (behaves like require, but will not use the same file twice)
...
- Add import support (behaves like include, but requires parentheses; will not
use the same file twice; Currently, it is not yet properly implemented, and
only behaves like include)
1999-11-30 20:15:04 +00:00
Zeev Suraski
13d840bc3f
Add a file in which we can put Zend builtin functions
1999-09-20 12:24:39 +00:00
Zeev Suraski
5f1793e21c
Make this class instanciatable
1999-09-12 19:27:50 +00:00
Andi Gutmans
99947a251e
- Shift around header files.
1999-09-05 19:03:35 +00:00
Zeev Suraski
6313238c63
Fix for Thies's UMR
1999-08-20 17:02:11 +00:00
Andi Gutmans
acd6114fa7
- Add some ZENDAPI's
1999-08-17 19:25:22 +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
Andi Gutmans
91d7ba7610
Change true/false back to 1/""
1999-07-15 20:38:00 +00:00
Andi Gutmans
762158aa65
Fix thread unsafe constants startup
1999-07-14 19:49:19 +00:00
Andi Gutmans
fec59d3b4d
- License update
...
- Fix multithreaded constants startup
1999-07-14 16:00:47 +00:00
Andi Gutmans
fb7a4b6486
Fix assignments of reference variables
1999-07-10 16:56:56 +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
d035af4af1
*** empty log message ***
1999-06-19 20:42:15 +00:00
Zeev Suraski
99fd17df63
Change __print into to_string()
1999-06-11 11:02:38 +00:00
Zeev Suraski
da9faa2c3a
* Make the output handling of variables much, much cooler.
...
Uses zend_make_printable_zval() instead of convert_to_string() now:
$foo = true;
print "\$foo is $foo";
will now print
$foo is true
(instead of "$foo is 1", earlier).
Also, with objects, it automatically tries to call __print() and use it as a printing
function.
For example:
class foo {
function __print() { return "Foo Object"; }
};
$foo = new foo;
print $foo;
will print "Foo Object".
1999-06-11 10:44:26 +00:00
Zeev Suraski
ed06a70f7f
* Centralized shutdown
...
* Change shutdown order again
1999-06-05 20:00:00 +00:00
Zeev Suraski
9108abc287
Minor updates (mostly __declspec() stuff)
1999-06-04 11:44:02 +00:00
Zeev Suraski
b0bfa458b5
* Fix all hash checks that checked Bucket.arKey for NULL, when it was changed
...
to char[1], these checks should have been changed to Bucket.nKeyLength==0
* Support runtime declaration of functions. I ended up changing the grammar
to catch top level functions vs. nested functions. The reason is simple -
if we don't have functions properly declared at compile-time, function calls
cannot be resolved at compile time, and have to be resolved at runtime, which
ends up being much much slower (without the optimizer, that is).
It's no biggy though, the grammar change isn't that bad.
1999-05-15 15:47:24 +00:00
Zeev Suraski
6bc6dacf5c
Fixes:
...
* Avoid closing stdin (I could have sworn I've committed that already)
* unclean_shutdown patches
1999-05-11 21:39:48 +00:00
Zeev Suraski
74a9ed7b3f
Weed out all BoundsChecker-found bugs (including a serious file descriptor leak
...
in the C++ scanner)
1999-05-10 20:46:42 +00:00
Zeev Suraski
bfbe86187e
Almost forgot to commit those
1999-05-09 12:24:21 +00:00
Andi Gutmans
fcaf734f94
- Don't support interactive mode when thread safe.
1999-05-02 19:07:46 +00:00
Zeev Suraski
7c4a08381e
Various thread safety fixes and DLL updates
1999-04-26 14:10:42 +00:00
Andi Gutmans
df6134bc42
-More commits
1999-04-26 03:03:39 +00:00
Zeev Suraski
e06a1ed265
Thread safety fixes
1999-04-24 16:16:11 +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
Zeev Suraski
7a87fcbbda
Thread safety patch. We're still not quite there but it compiles again, and
...
more logic has been implemented.
1999-04-21 03:49:09 +00:00
Zeev Suraski
342c6e0b23
Whatnot:
...
* updated alloc_persist to use critical sections
* changed extension shutdown to two-phase
* updated dependencies
* PR support (don't remember if there was any really)
1999-04-18 15:11:52 +00:00
Zeev Suraski
7656c77c38
We need to initialize the utility values after we initialize the INI file, which in
...
turn, is after we initialize Zend. Set the utility values separately from Zend's
initialization
1999-04-10 11:21:55 +00:00
Rasmus Lerdorf
a6043d3e1e
*** empty log message ***
1999-04-07 18:18:16 +00:00
Andi Gutmans
573b46022c
Zend Library
1999-04-07 18:10:10 +00:00