Andi Gutmans [Thu, 31 Aug 2000 23:43:51 +0000 (23:43 +0000)]
- Always include TSRM in PHP build. This will enable us to move virtual
- cwd to TSRM.
- BTW, if I comile with --enable-experimental-zts not from php4/ but from
- php4/cgi (ran ../configure there) then the build doesn't work also b4
- this patch.
Andi Gutmans [Thu, 31 Aug 2000 22:24:20 +0000 (22:24 +0000)]
- Use emalloc() for opened_path now. This was a potential leak before.
- This patch has potential to break stuff but I tested it as much as I
- could. Fixes should be easy.
Andi Gutmans [Thu, 31 Aug 2000 19:02:14 +0000 (19:02 +0000)]
- Change license of .c and .h files of TSRM. It's still not the complete
- text like in the PHP headers because we don't have it on the web yet but
- it should be enough to allow Sascha to touch TSRM :)
Zeev Suraski [Wed, 30 Aug 2000 18:02:00 +0000 (18:02 +0000)]
- Truly fix varargs handling - the current situation was a sure-fire crash in most platforms
(the older code worked, even though it didn't compile well for some very odd reason, probably
a compiler bug; The new code would cause PHP to crash if both display_errors/log_errors and
track_errors were enabled)
Andi Gutmans [Tue, 29 Aug 2000 18:21:07 +0000 (18:21 +0000)]
- To configure with ingres should be --with-ingres and not --with-ii
- Changing it for 4.0.2 so that we don't have backwards compatibility
- problems later on
Stig Bakken [Tue, 29 Aug 2000 09:18:48 +0000 (09:18 +0000)]
@Added PHP API for Zend's ticks
Added PHP API for registering tick functions. Ticks is a per-instruction
callback in Zend that allows us to implement cooperative multitasking
within PHP. Example:
Andi Gutmans [Sun, 27 Aug 2000 19:56:22 +0000 (19:56 +0000)]
- Use do_alloca()/free_alloca() for old_cwd. This will ensure speed in
- non-ISAPI environments but in ISAPI will use emalloc()/efree() to save
- stack space. MS only gives us 10KB those bastards.
Andi Gutmans [Sun, 27 Aug 2000 19:51:50 +0000 (19:51 +0000)]
- Reverting Sascha's patch although I don't like doing these kind of things
- but as it is Sascha who has reverted a zillion patches I don't feel that
- bad about it :)
- The patch is morally incorrect and it actually also has a crash bug which
- I won't point out because it shouldn't be there.
- SG(path_translated) should be set by the SAPI module correctly and if it
- isn't the SAPI module should be fixed and not add code to PHP. There is
- enough special case code in PHP and I would like to clean it up and not
- add more.
- Last but not least, old_cwd takes 4KB of stack space. We should probably
- malloc() it because in ISAPI we only have 10KB of stack space.
Stig Bakken [Sun, 27 Aug 2000 19:46:06 +0000 (19:46 +0000)]
@PHP 3 regression testing framework re-born (Stig)
Took the old PHP 3 regression testing framework and rewrote it in PHP.
Should work on both Windows and UNIX, however I have not tested it on
Windows. See tests/README for how to write tests. Added the PHP 3
tests and converted most of them.
Sascha Schumann [Sun, 27 Aug 2000 19:38:18 +0000 (19:38 +0000)]
If a SAPI module does not pass an absolute path as primary_file to
php_execute_script(), we will now change the filename to point to
the absolute path.
Andi Gutmans [Sun, 27 Aug 2000 19:20:53 +0000 (19:20 +0000)]
- This should be more efficient.
- Post 4.0.2 it's time to move the whole opened_path and virtual stuff
- to emalloc() and friends including some alloca() improvements where
- possible but I don't want to break anything before