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
Andi Gutmans [Sat, 26 Aug 2000 14:24:33 +0000 (14:24 +0000)]
- Also change constants. Note: PHP tries to make names intuitive.
- PHP extensions don't necessarily need to use the exact C counter part, it
- should be easy to read and not be short names such as II_*
Andi Gutmans [Sat, 26 Aug 2000 14:21:26 +0000 (14:21 +0000)]
- Asked the author a long time already to change the function names to
- something which won't take up all of the ii_* names (not verbose enough).
- I'm doing it myself now so it really has to be checked as I can't compile.
- Changed both the function names and INI parameter names.
Andrei Zmievski [Fri, 25 Aug 2000 13:51:07 +0000 (13:51 +0000)]
@- Fixed a bug in preg_replace() that would truncate subject string if the
@ first argument was en empty array. (Andrei)
This fixes bug #6346, that would truncate subject string if the
first argument was en empty array.
added the gd extension - see the comment!
# configuring the gd extesion is currently a mess.
# currently its configured with jpg, wbmp, png and ttf
# maybe we should think about moving that stuff to the
# config.w32.h or to a seperate gdwin32 header
Sterling Hughes [Thu, 24 Aug 2000 01:34:16 +0000 (01:34 +0000)]
-Add getCode() method to PEAR_Error
-Correct license versions + My Address for DB/* mods
-Correct ibase module
-Javadocize File_Find
-Add a optional constructor to DB that passes it on to DB::connect()
Make parsedate build again
# I do not really know what's the problem with const, but I do know
# it doesn't compile when declaration and definition don't match
Chris Vandomelen [Wed, 23 Aug 2000 06:41:51 +0000 (06:41 +0000)]
Corrected bugs in php_if_connect() to make it work properly -- needed to
run htons() on the port number provided, and needed to perform DNS lookups
properly and store the results as expected.