]> granicus.if.org Git - php/log
php
16 years agoUse sigsetjmp and siglongjmp instead of setjmp/longjmp in order to be
Rasmus Lerdorf [Tue, 18 Mar 2008 18:34:11 +0000 (18:34 +0000)]
Use sigsetjmp and siglongjmp instead of setjmp/longjmp in order to be
consistent in how we deal with the signal mask.  POSIX doesn't specify
what to do with the signal mask in setjmp/longjmp which has resulted in
the signal mask getting saved on *BSD and not getting saved on Linux.
Making the behaviour explicit via sigsetjmp/siglongjmp gives us
consistency and saves expensive sigprocmask() syscalls on *BSD.

16 years agoIgnore steph's pretty batch file
Elizabeth Marie Smith [Tue, 18 Mar 2008 18:00:40 +0000 (18:00 +0000)]
Ignore steph's pretty batch file

16 years agoFix the build
Andrey Hristov [Tue, 18 Mar 2008 17:30:55 +0000 (17:30 +0000)]
Fix the build

16 years agoGeneric function for binary probes, kill the other two. And get rid of the annoying...
Steph Fox [Tue, 18 Mar 2008 17:10:20 +0000 (17:10 +0000)]
Generic function for binary probes, kill the other two. And get rid of the annoying double check for CL.

16 years agoFixed a bunch of bugs reported in
Andrey Hristov [Tue, 18 Mar 2008 16:57:31 +0000 (16:57 +0000)]
Fixed a bunch of bugs reported in
Bug #44352 mysqli_connect_error() false negative for host errors
From now on the mysqli object doesn't have that magic properties, like
error, which were readable but not visible through isset(), property_exists()
and var_dump(). All other ext/mysqli classes were fixed too.
Now it will be easier to debug mysqli based applications.

16 years agoAdding more tests for serialize() and unserialize().
Robin Fernandes [Tue, 18 Mar 2008 15:11:48 +0000 (15:11 +0000)]
Adding more tests for serialize() and unserialize().

16 years agoremove ze1_compat tests
Antony Dovgal [Tue, 18 Mar 2008 14:50:14 +0000 (14:50 +0000)]
remove ze1_compat tests

16 years agoone more forgotten ze1_compat leftover
Antony Dovgal [Tue, 18 Mar 2008 14:48:09 +0000 (14:48 +0000)]
one more forgotten ze1_compat leftover

16 years agoremove ze1_compat leftovers
Antony Dovgal [Tue, 18 Mar 2008 14:44:35 +0000 (14:44 +0000)]
remove ze1_compat leftovers

16 years agoMFH: Dropped zend.ze1_compatibility_mode
Felipe Pena [Tue, 18 Mar 2008 14:10:45 +0000 (14:10 +0000)]
MFH: Dropped zend.ze1_compatibility_mode
[DOC]

16 years agoRemoved hack (we don't need to modify class name).
Dmitry Stogov [Tue, 18 Mar 2008 11:37:00 +0000 (11:37 +0000)]
Removed hack (we don't need to modify class name).
(the problem is covered by Zend/tests/ns_056.phpt)

16 years agoImplemented concept of "delayed early binding" that allows opcode caches to perform...
Dmitry Stogov [Tue, 18 Mar 2008 08:36:30 +0000 (08:36 +0000)]
Implemented concept of "delayed early binding" that allows opcode caches to perform class declaration (early and/or run-time binding) in exactly the same order as vanila php.
The following pseudo-code explains how it should be used in opcode cache.

function cache_compile_file($filename) {
        if (!is_cached($filename)) {
                ...
                orig_compiler_options = CG(compiler_optins);
                CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES |
                                        ZEND_COMPILE_DELAYED_BINDING;
                $op_array = orig_compile_file($filename);
                CG(compiler_options) = orig_copiler_options;
                ...
        } else {
                $op_array = restore_from_cache($filename);
        }
        zend_do_delayed_early_binding($op_array);
}

16 years agoYou might as well have 'the Steph special' too :-)
Steph Fox [Tue, 18 Mar 2008 03:23:14 +0000 (03:23 +0000)]
You might as well have 'the Steph special' too :-)
I can never remember the cscript line, so let's just have 'configure' instead.

16 years agore2c checking.
Steph Fox [Tue, 18 Mar 2008 03:12:42 +0000 (03:12 +0000)]
re2c checking.
If it's not installed, the least scary of messages goes out.
If it's installed but older than the required version, the download link is given.

16 years agoFix build
Felipe Pena [Tue, 18 Mar 2008 00:24:21 +0000 (00:24 +0000)]
Fix build

16 years agofix integer overflow in length calculation
Stanislav Malyshev [Mon, 17 Mar 2008 23:06:32 +0000 (23:06 +0000)]
fix integer overflow in length calculation

16 years agoProperly address incomplete multibyte chars inside escapeshellcmd()
Ilia Alshanetsky [Mon, 17 Mar 2008 23:01:27 +0000 (23:01 +0000)]
Properly address incomplete multibyte chars inside escapeshellcmd()

16 years agoRevert
Rasmus Lerdorf [Mon, 17 Mar 2008 18:27:08 +0000 (18:27 +0000)]
Revert

Never mind, it looks like ext/filter does an estrdup on everything it
gets which doesn't seem very efficient to me as most things it gets
passed will already be emalloc'ed.  My custom version of the filter
extension doesn't do this which led to the confusion.

16 years agoWe need to pass PHP-managed pointers to filter here to avoid having
Rasmus Lerdorf [Mon, 17 Mar 2008 18:03:31 +0000 (18:03 +0000)]
We need to pass PHP-managed pointers to filter here to avoid having
emalloc'ed data assigned to things like r->uri and having it get efree()'ed
on request shutdown which then means that if the Apache logging module
tries to log r->uri it would be reading from free'ed memory.  So a simple
estrdup before the filter call takes care of that.

16 years agofix win32 build
Stanislav Malyshev [Mon, 17 Mar 2008 17:29:13 +0000 (17:29 +0000)]
fix win32 build

16 years agoremove duplicated sections
Nuno Lopes [Mon, 17 Mar 2008 17:19:48 +0000 (17:19 +0000)]
remove duplicated sections

16 years agodetect test cases with duplicated sections
Nuno Lopes [Mon, 17 Mar 2008 17:18:19 +0000 (17:18 +0000)]
detect test cases with duplicated sections

16 years agoFix build on Windows
Scott MacVicar [Mon, 17 Mar 2008 17:06:51 +0000 (17:06 +0000)]
Fix build on Windows

16 years agoadd request_order
Stanislav Malyshev [Mon, 17 Mar 2008 16:34:18 +0000 (16:34 +0000)]
add request_order

16 years agofix tests (removed duplicated stuff)
Nuno Lopes [Mon, 17 Mar 2008 16:32:15 +0000 (16:32 +0000)]
fix tests (removed duplicated stuff)

16 years agoremove leftovers
Nuno Lopes [Mon, 17 Mar 2008 16:21:49 +0000 (16:21 +0000)]
remove leftovers

16 years agofix test
Antony Dovgal [Mon, 17 Mar 2008 15:35:32 +0000 (15:35 +0000)]
fix test

16 years agoMFH: Fix bug #44443 (cvsclean fails on Darwin 9)
Gwynne Raskind [Mon, 17 Mar 2008 15:22:22 +0000 (15:22 +0000)]
MFH: Fix bug #44443 (cvsclean fails on Darwin 9)

16 years agofix tests
Antony Dovgal [Mon, 17 Mar 2008 14:59:23 +0000 (14:59 +0000)]
fix tests

16 years agoBFN
Antony Dovgal [Mon, 17 Mar 2008 14:55:40 +0000 (14:55 +0000)]
BFN

16 years agoMFH: fix #39127 (Old-style constructor fallbacks produce strange results)
Antony Dovgal [Mon, 17 Mar 2008 14:54:42 +0000 (14:54 +0000)]
MFH: fix #39127 (Old-style constructor fallbacks produce strange results)

16 years agofix test
Antony Dovgal [Mon, 17 Mar 2008 14:05:39 +0000 (14:05 +0000)]
fix test

16 years agoFix test
Scott MacVicar [Mon, 17 Mar 2008 10:29:17 +0000 (10:29 +0000)]
Fix test

16 years agouse @ to silence the commands
Antony Dovgal [Mon, 17 Mar 2008 10:05:04 +0000 (10:05 +0000)]
use @ to silence the commands

16 years ago- new tests for ctype functions
Josie Messa [Mon, 17 Mar 2008 09:52:02 +0000 (09:52 +0000)]
- new tests for ctype functions

16 years agoMake re2c required
Scott MacVicar [Sun, 16 Mar 2008 23:54:06 +0000 (23:54 +0000)]
Make re2c required

16 years ago- No more flex underwindows either
Marcus Boerger [Sun, 16 Mar 2008 22:26:42 +0000 (22:26 +0000)]
- No more flex underwindows either

16 years ago- Update windows build script
Marcus Boerger [Sun, 16 Mar 2008 22:16:56 +0000 (22:16 +0000)]
- Update windows build script

16 years agoFix build (ZTS)
Felipe Pena [Sun, 16 Mar 2008 21:55:46 +0000 (21:55 +0000)]
Fix build (ZTS)

16 years ago- Fix build
Marcus Boerger [Sun, 16 Mar 2008 21:42:42 +0000 (21:42 +0000)]
- Fix build

16 years ago- Add files generated by re2c
Marcus Boerger [Sun, 16 Mar 2008 21:23:02 +0000 (21:23 +0000)]
- Add files generated by re2c

16 years ago- Rewrite scanner to be based on re2c instead of flex
Marcus Boerger [Sun, 16 Mar 2008 21:06:55 +0000 (21:06 +0000)]
- Rewrite scanner to be based on re2c instead of flex
  The full patch is available as:
  http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
  This is against php-re2c repository version 98
  An older patch against version 97 is available under:
  http://php.net/~helly/php-re2c-97-20080316.diff.txt

16 years agoRemove unused variable
Ilia Alshanetsky [Sun, 16 Mar 2008 15:15:21 +0000 (15:15 +0000)]
Remove unused variable

16 years ago- Updated to version 2008.1 (2008a)
Derick Rethans [Sun, 16 Mar 2008 07:21:00 +0000 (07:21 +0000)]
- Updated to version 2008.1 (2008a)

16 years agoMFB: Fixed bug #44440 (st_blocks undefined under BeOS)
Felipe Pena [Sat, 15 Mar 2008 10:32:32 +0000 (10:32 +0000)]
MFB: Fixed bug #44440 (st_blocks undefined under BeOS)

16 years agoAdd SKIPIF (32bit platform only)
Felipe Pena [Fri, 14 Mar 2008 23:15:47 +0000 (23:15 +0000)]
Add SKIPIF (32bit platform only)

16 years agoMFH
Lukas Smith [Fri, 14 Mar 2008 21:52:47 +0000 (21:52 +0000)]
MFH

16 years agoImprove GC to support garbage created in destructors during objects utilization
Dmitry Stogov [Fri, 14 Mar 2008 18:36:34 +0000 (18:36 +0000)]
Improve GC to support garbage created in destructors during objects utilization

16 years agoFix build (ZTS)
Felipe Pena [Fri, 14 Mar 2008 17:56:52 +0000 (17:56 +0000)]
Fix build (ZTS)

17 years ago- MFH: Allow datetime objects to be serialized and woken up.
Derick Rethans [Fri, 14 Mar 2008 16:19:52 +0000 (16:19 +0000)]
- MFH: Allow datetime objects to be serialized and woken up.
- MFH: Implemented __set_state().

17 years agoRemoved commented code and unnecessary inline function
Dmitry Stogov [Fri, 14 Mar 2008 13:35:40 +0000 (13:35 +0000)]
Removed commented code and unnecessary inline function

17 years agoFixed GC bug
Dmitry Stogov [Fri, 14 Mar 2008 13:21:04 +0000 (13:21 +0000)]
Fixed GC bug

17 years agoMFH: check if return value of write() is -1 and abort upload in this case setting...
Antony Dovgal [Fri, 14 Mar 2008 13:11:12 +0000 (13:11 +0000)]
MFH: check if return value of write() is -1 and abort upload in this case setting the correct error status

17 years ago- MFH Fix possible memory corruption
Marcus Boerger [Thu, 13 Mar 2008 19:46:44 +0000 (19:46 +0000)]
- MFH Fix possible memory corruption

17 years ago[DOC] adds new odbc driver specific ODBC_ATTR_ASSUME_UTF8 to deal with unicode coming...
Elizabeth Marie Smith [Thu, 13 Mar 2008 16:55:09 +0000 (16:55 +0000)]
[DOC] adds new odbc driver specific ODBC_ATTR_ASSUME_UTF8 to deal with unicode coming out of Microsoft SQL Server and is only relevant on windows, use it if unicode output from the server is garbled and it will autoconvert text - original patch by wez

17 years agoMFB: Fixed bug #43677 (Inconsistent behaviour of include_path set with
Ilia Alshanetsky [Thu, 13 Mar 2008 16:01:31 +0000 (16:01 +0000)]
MFB: Fixed bug #43677 (Inconsistent behaviour of include_path set with
php_value). (Patch by: manuel at mausz dot at)

17 years ago- Fixed bug #44257 (timelib_tz_lookup_table must use float for gmtoffset).
Derick Rethans [Thu, 13 Mar 2008 15:59:48 +0000 (15:59 +0000)]
- Fixed bug #44257 (timelib_tz_lookup_table must use float for gmtoffset).

17 years ago- Added support for parsing date/time strings returned by MS SQL with strtotime().
Derick Rethans [Thu, 13 Mar 2008 15:54:25 +0000 (15:54 +0000)]
- Added support for parsing date/time strings returned by MS SQL with strtotime().

17 years agoDisable path resolution for filenames with stream wrappers
Dmitry Stogov [Thu, 13 Mar 2008 14:09:54 +0000 (14:09 +0000)]
Disable path resolution for filenames with stream wrappers
More careful check for relative pathes (./xxx and ../xxx)

17 years ago[DOC] add request_order INI variable to control $_REQUEST content
Stanislav Malyshev [Wed, 12 Mar 2008 20:24:45 +0000 (20:24 +0000)]
[DOC] add request_order INI variable to control $_REQUEST content
# if not set (default), variables_order still is used
# request_order accepts G,P and C

17 years agoSync with fix for #44394
Felipe Pena [Wed, 12 Mar 2008 19:34:37 +0000 (19:34 +0000)]
Sync with fix for #44394

17 years agoMFB: Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes...
Felipe Pena [Wed, 12 Mar 2008 19:18:42 +0000 (19:18 +0000)]
MFB: Fixed bug #42177 (Warning "array_merge_recursive(): recursion detected" comes again...)

17 years agoMFH: New test for existing behavior
Christopher Jones [Wed, 12 Mar 2008 17:52:59 +0000 (17:52 +0000)]
MFH: New test for existing behavior

17 years agoFixed bug #44388 (Crash inside exif_read_data() on invalid images)
Ilia Alshanetsky [Wed, 12 Mar 2008 17:32:01 +0000 (17:32 +0000)]
Fixed bug #44388 (Crash inside exif_read_data() on invalid images)

17 years agoFixed test
Dmitry Stogov [Wed, 12 Mar 2008 15:20:23 +0000 (15:20 +0000)]
Fixed test

17 years agoFix bug #41828 (Fix crash on wrong instantiation)
Etienne Kneuss [Wed, 12 Mar 2008 13:34:47 +0000 (13:34 +0000)]
Fix bug #41828 (Fix crash on wrong instantiation)

17 years agoNew test
Felipe Pena [Wed, 12 Mar 2008 13:31:38 +0000 (13:31 +0000)]
New test

17 years agoNew tests
Felipe Pena [Wed, 12 Mar 2008 12:58:12 +0000 (12:58 +0000)]
New tests

17 years agoMerged into 5_2
Felipe Pena [Wed, 12 Mar 2008 11:28:37 +0000 (11:28 +0000)]
Merged into 5_2

17 years agoCode simplification
Dmitry Stogov [Wed, 12 Mar 2008 10:40:02 +0000 (10:40 +0000)]
Code simplification

17 years agoOptimized ZEND_FETCH_CLASS + ZEND_ADD_INTERFACE into single ZEND_ADD_INTERFACE opcode
Dmitry Stogov [Wed, 12 Mar 2008 10:32:12 +0000 (10:32 +0000)]
Optimized ZEND_FETCH_CLASS + ZEND_ADD_INTERFACE into single ZEND_ADD_INTERFACE opcode

17 years agoFixed bug #44414 (Incomplete reporting about abstract methods)
Dmitry Stogov [Wed, 12 Mar 2008 09:46:42 +0000 (09:46 +0000)]
Fixed bug #44414 (Incomplete reporting about abstract methods)

17 years agoFixed warning
Dmitry Stogov [Wed, 12 Mar 2008 08:52:49 +0000 (08:52 +0000)]
Fixed warning

17 years agoFixed bug #44394 (Last two bytes missing from output)
Felipe Pena [Wed, 12 Mar 2008 02:40:57 +0000 (02:40 +0000)]
Fixed bug #44394 (Last two bytes missing from output)

17 years agoMFH
Christopher Jones [Wed, 12 Mar 2008 01:26:44 +0000 (01:26 +0000)]
MFH

Cleaned up whitespace

Fixed bug #44372 (compilation with Oracle 10gR1 libraries)
http://bugs.php.net/bug.php?id=44372

Updated updated error number list to improve re-connection
behavior after a database restart.

Guard against potential internal list corruption after ping
removes old oci_pconnect() information.

Fix ini_set("oci8.connection_class", "abc") to get an appropriate
persistent connection.

Ping at oci8.ping_interval for oci_connect() and oci_new_connect()
when DRCP connections are used. This improves non-persistent
connection reliability if a database gets restarted.

17 years agoAdding itk again to non-threaded MPMs. Sorry for the confusion
Lars Strojny [Tue, 11 Mar 2008 22:47:39 +0000 (22:47 +0000)]
Adding itk again to non-threaded MPMs. Sorry for the confusion

17 years agoAdd new test (bug reported in internals list by Robin)
Felipe Pena [Tue, 11 Mar 2008 16:56:06 +0000 (16:56 +0000)]
Add new test (bug reported in internals list by Robin)

17 years agoAdd new test (bug reported in internals list by Robin)
Felipe Pena [Tue, 11 Mar 2008 16:48:14 +0000 (16:48 +0000)]
Add new test (bug reported in internals list by Robin)

17 years agoMissing a line
Felipe Pena [Tue, 11 Mar 2008 15:26:24 +0000 (15:26 +0000)]
Missing a line

17 years agoNew tests
Felipe Pena [Tue, 11 Mar 2008 15:18:58 +0000 (15:18 +0000)]
New tests

17 years agoFix test
Felipe Pena [Tue, 11 Mar 2008 11:04:53 +0000 (11:04 +0000)]
Fix test

17 years agosome more tests
Antony Dovgal [Tue, 11 Mar 2008 10:40:37 +0000 (10:40 +0000)]
some more tests

17 years agoMFH: fix segfault - error_string may be NULL, in this case we have to follow the...
Antony Dovgal [Tue, 11 Mar 2008 10:27:10 +0000 (10:27 +0000)]
MFH: fix segfault - error_string may be NULL, in this case we have to follow the old behavior

17 years ago- Fix test
Josie Messa [Tue, 11 Mar 2008 10:17:51 +0000 (10:17 +0000)]
- Fix test

17 years ago- Added extra whitespace around error messages in expected output
Josie Messa [Tue, 11 Mar 2008 10:00:26 +0000 (10:00 +0000)]
- Added extra whitespace around error messages in expected output

17 years agoFixed memory corruption because of double free()
Dmitry Stogov [Tue, 11 Mar 2008 09:36:41 +0000 (09:36 +0000)]
Fixed memory corruption because of double free()

17 years agoMore todo items
Ilia Alshanetsky [Tue, 11 Mar 2008 00:12:53 +0000 (00:12 +0000)]
More todo items

17 years agoFix tests (new error message for void parameters)
Felipe Pena [Mon, 10 Mar 2008 23:14:11 +0000 (23:14 +0000)]
Fix tests (new error message for void parameters)

17 years agoFix tests (new error message for void parameters)
Felipe Pena [Mon, 10 Mar 2008 22:17:59 +0000 (22:17 +0000)]
Fix tests (new error message for void parameters)

17 years agoMFH: New way for check void parameters
Felipe Pena [Mon, 10 Mar 2008 22:15:36 +0000 (22:15 +0000)]
MFH: New way for check void parameters

17 years agoMFH: Added new macro for check void parameters.
Felipe Pena [Mon, 10 Mar 2008 22:02:41 +0000 (22:02 +0000)]
MFH: Added new macro for check void parameters.
(deprecating ZEND_WRONG_PARAM_COUNT for this cases)

17 years agoUpdate mysqlnd, ext/mysql and ext/mysqli - now possible to compile with different
Andrey Hristov [Mon, 10 Mar 2008 20:15:38 +0000 (20:15 +0000)]
Update mysqlnd, ext/mysql and ext/mysqli - now possible to compile with different
configurations one or the another extension to use libmysql or mysqlnd mixed in
one binary

17 years agochar **error_message was passed but not used. This causes problems in cases
Andrey Hristov [Mon, 10 Mar 2008 19:54:47 +0000 (19:54 +0000)]
char **error_message was passed but not used. This causes problems in cases
of getaddrinfo() failure, because the upper layers don't get the error.
initialize a variable because we were reading initialized in case of error.

17 years agofix gcov build
Antony Dovgal [Mon, 10 Mar 2008 17:26:33 +0000 (17:26 +0000)]
fix gcov build

17 years ago- New tests for getcwd() function
Josie Messa [Mon, 10 Mar 2008 15:22:47 +0000 (15:22 +0000)]
- New tests for getcwd() function

17 years ago- Modified expected output to allow tests to work on all platforms
Josie Messa [Mon, 10 Mar 2008 15:10:32 +0000 (15:10 +0000)]
- Modified expected output to allow tests to work on all platforms

17 years agoImprove the Darwin 9 hack considerably and switch to using dl*() instead of NS*(...
Felipe Pena [Mon, 10 Mar 2008 15:06:04 +0000 (15:06 +0000)]
Improve the Darwin 9 hack considerably and switch to using dl*() instead of NS*() on Darwin 8+. (Patch by Gwynne)

17 years ago- New tests for scandir() function
Josie Messa [Mon, 10 Mar 2008 14:12:41 +0000 (14:12 +0000)]
- New tests for scandir() function

17 years agoFix typo
Johannes Schlüter [Mon, 10 Mar 2008 13:39:53 +0000 (13:39 +0000)]
Fix typo

17 years agoRemove unneeded entry
Andrey Hristov [Mon, 10 Mar 2008 11:19:24 +0000 (11:19 +0000)]
Remove unneeded entry