]> granicus.if.org Git - php/log
php
16 years ago- Use the right tool here too
Jani Taskinen [Wed, 26 Mar 2008 13:35:54 +0000 (13:35 +0000)]
- Use the right tool here too

16 years agoMFH:
Marcus Boerger [Tue, 25 Mar 2008 22:05:22 +0000 (22:05 +0000)]
MFH:
- Fix memory leak found by Osman
- Merge strlen to sizof change from CLI

16 years ago- MFH Use sizeof rather than strlen and cleanup
Marcus Boerger [Tue, 25 Mar 2008 21:58:29 +0000 (21:58 +0000)]
- MFH Use sizeof rather than strlen and cleanup

16 years agoRemoved unused variable
Ilia Alshanetsky [Tue, 25 Mar 2008 20:19:04 +0000 (20:19 +0000)]
Removed unused variable

16 years agoFix typo, thank Jani :)
Andrey Hristov [Tue, 25 Mar 2008 20:00:18 +0000 (20:00 +0000)]
Fix typo, thank Jani :)

16 years agonews entry
Andrey Hristov [Tue, 25 Mar 2008 18:30:56 +0000 (18:30 +0000)]
news entry

16 years agoSmall updates & a fix for
Andrey Hristov [Tue, 25 Mar 2008 18:27:17 +0000 (18:27 +0000)]
Small updates & a fix for
Bug #43832 mysqi_get_charset() doesn't expose charset comment

16 years agoMFH:
Felipe Pena [Tue, 25 Mar 2008 18:08:37 +0000 (18:08 +0000)]
MFH:
- Renamed zend_do_fetch_class_name() to zend_do_build_full_name() (It is not used only for classes)
- Moved zend_resolve_class_name prototype to zend_compile.h

16 years agorevert stmt release on connection error change (and sync with PHP 6)
Christopher Jones [Tue, 25 Mar 2008 17:38:07 +0000 (17:38 +0000)]
revert stmt release on connection error change (and sync with PHP 6)

16 years agoRemove trailing period from error thus syncing with PHP 6
Christopher Jones [Tue, 25 Mar 2008 17:20:27 +0000 (17:20 +0000)]
Remove trailing period from error thus syncing with PHP 6

16 years ago- MFH: New egg
Johannes Schlüter [Tue, 25 Mar 2008 17:17:56 +0000 (17:17 +0000)]
- MFH: New egg

16 years agoOptimized detection of "__call" and "__callstatic" methods.
Dmitry Stogov [Tue, 25 Mar 2008 13:04:03 +0000 (13:04 +0000)]
Optimized detection of "__call" and "__callstatic" methods.

16 years agorename PHP_OCI8_VERSION in preparation for peclversioning RFC. Remove obsolete HAVE_...
Christopher Jones [Tue, 25 Mar 2008 02:00:32 +0000 (02:00 +0000)]
rename PHP_OCI8_VERSION in preparation for peclversioning RFC.  Remove obsolete HAVE_OCI8_ATTR_STATEMENT macro

16 years agoFixed test on systems where . and .. order not guaranteed
Ilia Alshanetsky [Mon, 24 Mar 2008 18:33:54 +0000 (18:33 +0000)]
Fixed test on systems where . and .. order not guaranteed

16 years agoMFH: disabled mmap() when copying files to memory
Antony Dovgal [Mon, 24 Mar 2008 16:28:35 +0000 (16:28 +0000)]
MFH: disabled mmap() when copying files to memory

16 years agoAnother thing version_compare() allows...
Steph Fox [Mon, 24 Mar 2008 15:11:46 +0000 (15:11 +0000)]
Another thing version_compare() allows...

16 years ago- Updated to version 2008.2 (2008b)
Derick Rethans [Mon, 24 Mar 2008 13:00:47 +0000 (13:00 +0000)]
- Updated to version 2008.2 (2008b)

16 years agoFixed tests
Dmitry Stogov [Mon, 24 Mar 2008 10:09:41 +0000 (10:09 +0000)]
Fixed tests

16 years agoFixed ws and comment
Dmitry Stogov [Mon, 24 Mar 2008 09:30:41 +0000 (09:30 +0000)]
Fixed ws and comment

16 years agoFixed tests (file order is undefined, so we need to sort() them)
Dmitry Stogov [Mon, 24 Mar 2008 09:00:33 +0000 (09:00 +0000)]
Fixed tests (file order is undefined, so we need to sort() them)

16 years ago- Extend that regexp (again)
Steph Fox [Sun, 23 Mar 2008 21:59:31 +0000 (21:59 +0000)]
- Extend that regexp (again)
- Revert the changes affecting external template.rc files

16 years ago- MFH Add .cvsignore
Marcus Boerger [Sun, 23 Mar 2008 16:53:52 +0000 (16:53 +0000)]
- MFH Add .cvsignore

16 years agoRemoved unused variable
Ilia Alshanetsky [Sun, 23 Mar 2008 15:48:10 +0000 (15:48 +0000)]
Removed unused variable

16 years ago- MFH Add tests
Marcus Boerger [Sun, 23 Mar 2008 13:38:41 +0000 (13:38 +0000)]
- MFH Add tests

16 years agoDon't break PECL extensions that are oh-so-nearly doing The Right Thing [TM]
Steph Fox [Sat, 22 Mar 2008 22:16:55 +0000 (22:16 +0000)]
Don't break PECL extensions that are oh-so-nearly doing The Right Thing [TM]
(mcve, runkit, win32ps)

16 years ago- Another re2c version bump and scanner regeneration
Marcus Boerger [Sat, 22 Mar 2008 17:59:52 +0000 (17:59 +0000)]
- Another re2c version bump and scanner regeneration
# It appears no one has used re2c in the way we do

16 years ago- Require 0.13.3
Marcus Boerger [Sat, 22 Mar 2008 15:39:53 +0000 (15:39 +0000)]
- Require 0.13.3

16 years agouse correct flags
Antony Dovgal [Sat, 22 Mar 2008 12:56:16 +0000 (12:56 +0000)]
use correct flags

16 years agoAllow Stas his "1.0.0RC1-dev"
Steph Fox [Sat, 22 Mar 2008 09:33:31 +0000 (09:33 +0000)]
Allow Stas his "1.0.0RC1-dev"

16 years agoIndependent versioning for PECL extensions (and only PECL, for now)
Steph Fox [Sat, 22 Mar 2008 09:07:59 +0000 (09:07 +0000)]
Independent versioning for PECL extensions (and only PECL, for now)
This affects the RC template used to ship information with the DLL in Windows distributions - nothing else.
It will potentially affect 13 PECL modules at present (and yes I do know which ones!)

16 years agoFurther improvements to error handling
Christopher Jones [Sat, 22 Mar 2008 01:27:50 +0000 (01:27 +0000)]
Further improvements to error handling

16 years ago- MFH Settle to 4 MB, see internals@ archives
Marcus Boerger [Fri, 21 Mar 2008 19:37:43 +0000 (19:37 +0000)]
- MFH Settle to 4 MB, see internals@ archives

16 years ago- Fix YYFILL()
Marcus Boerger [Fri, 21 Mar 2008 18:47:26 +0000 (18:47 +0000)]
- Fix YYFILL()

16 years ago- MFH Fix comment
Marcus Boerger [Fri, 21 Mar 2008 18:21:09 +0000 (18:21 +0000)]
- MFH Fix comment

16 years ago- Simplify
Marcus Boerger [Fri, 21 Mar 2008 18:20:07 +0000 (18:20 +0000)]
- Simplify

16 years ago- Fix streams handling logic, only real FPs can be mmaped here
Marcus Boerger [Fri, 21 Mar 2008 18:15:43 +0000 (18:15 +0000)]
- Fix streams handling logic, only real FPs can be mmaped here

16 years ago- MFH Increase max mmap size to 8 MB
Marcus Boerger [Fri, 21 Mar 2008 17:13:08 +0000 (17:13 +0000)]
- MFH Increase max mmap size to 8 MB

16 years agoMFH: revert
Antony Dovgal [Fri, 21 Mar 2008 16:39:11 +0000 (16:39 +0000)]
MFH: revert

16 years ago- Bugfix 44461
Marcus Boerger [Fri, 21 Mar 2008 15:29:34 +0000 (15:29 +0000)]
- Bugfix 44461

16 years ago- MFH Add new test
Marcus Boerger [Fri, 21 Mar 2008 15:21:38 +0000 (15:21 +0000)]
- MFH Add new test

16 years agofix ZTS build
Antony Dovgal [Fri, 21 Mar 2008 08:28:24 +0000 (08:28 +0000)]
fix ZTS build

16 years agoRefine fix for multibyte char hanling inside command names and args
Ilia Alshanetsky [Thu, 20 Mar 2008 23:25:31 +0000 (23:25 +0000)]
Refine fix for multibyte char hanling inside command names and args

16 years ago- MFH: Fix the DateTimeZone::getTransitions() algorithm.
Derick Rethans [Thu, 20 Mar 2008 19:43:36 +0000 (19:43 +0000)]
- MFH: Fix the DateTimeZone::getTransitions() algorithm.

16 years agodocument the change
Stanislav Malyshev [Thu, 20 Mar 2008 18:12:58 +0000 (18:12 +0000)]
document the change

16 years ago[DOC] make short_open_tag user-accessible
Stanislav Malyshev [Thu, 20 Mar 2008 17:30:14 +0000 (17:30 +0000)]
[DOC] make short_open_tag user-accessible

16 years agoMFH: fix bug #44478 (Inconsistent behaviour when assigning new nodes)
Rob Richards [Thu, 20 Mar 2008 16:48:10 +0000 (16:48 +0000)]
MFH: fix bug #44478 (Inconsistent behaviour when assigning new nodes)
add test

16 years agoNews entry
Andrey Hristov [Thu, 20 Mar 2008 15:39:44 +0000 (15:39 +0000)]
News entry

16 years agoSmall fix and a test case to prove it's right
Andrey Hristov [Thu, 20 Mar 2008 15:29:14 +0000 (15:29 +0000)]
Small fix and a test case to prove it's right

16 years agoAllow Elizabeth's favourite function to accept 2-4 sets of digits in version.
Steph Fox [Thu, 20 Mar 2008 15:03:20 +0000 (15:03 +0000)]
Allow Elizabeth's favourite function to accept 2-4 sets of digits in version.

16 years ago- Don't modify the variables which are passed for parameter binding.
Andrey Hristov [Thu, 20 Mar 2008 14:03:30 +0000 (14:03 +0000)]
- Don't modify the variables which are passed for parameter binding.
  We need to clone them, if there will be a transformation (convert_to_xxx)
  which will change the origin
  (bug#44390 bind_param / bind_result and Object member variables)
- Make mysqlnd more compatible to libmysql, in this case if the execute of
  a statement fails set the state of the statement back to PREPARED
- A test case to check the case of a failing statement.

16 years agoMFH
Antony Dovgal [Thu, 20 Mar 2008 12:14:06 +0000 (12:14 +0000)]
MFH

16 years agoMFH: fix tests
Antony Dovgal [Thu, 20 Mar 2008 08:35:44 +0000 (08:35 +0000)]
MFH: fix tests

16 years agoMFH: Fix bug #44487 (call_user_method_array issues a warning when throwing an exception).
David Soria Parra [Thu, 20 Mar 2008 00:52:46 +0000 (00:52 +0000)]
MFH: Fix bug #44487 (call_user_method_array issues a warning when throwing an exception).

16 years agoignore generated files
Nuno Lopes [Wed, 19 Mar 2008 23:25:53 +0000 (23:25 +0000)]
ignore generated files

16 years agofix gcov build
Nuno Lopes [Wed, 19 Mar 2008 23:24:56 +0000 (23:24 +0000)]
fix gcov build

16 years agoAdding language tests.
Steve Seear [Wed, 19 Mar 2008 18:06:24 +0000 (18:06 +0000)]
Adding language tests.

16 years agoAdded some class tests; Replaced some hardcoded instance ids with %d.
Steve Seear [Wed, 19 Mar 2008 17:56:10 +0000 (17:56 +0000)]
Added some class tests; Replaced some hardcoded instance ids with %d.

16 years agoAdding tokenizer test
Steve Seear [Wed, 19 Mar 2008 17:43:50 +0000 (17:43 +0000)]
Adding tokenizer test

16 years agoAdding streams tests
Steve Seear [Wed, 19 Mar 2008 17:38:23 +0000 (17:38 +0000)]
Adding streams tests

16 years agoAdding filesystem tests
Steve Seear [Wed, 19 Mar 2008 17:25:47 +0000 (17:25 +0000)]
Adding filesystem tests

16 years agoTypo (I wonder if anybody would ever have noticed this)
Rasmus Lerdorf [Wed, 19 Mar 2008 16:28:46 +0000 (16:28 +0000)]
Typo (I wonder if anybody would ever have noticed this)

16 years agoOn Windows I guess there is no point starting the timeout thread until
Rasmus Lerdorf [Wed, 19 Mar 2008 15:30:49 +0000 (15:30 +0000)]
On Windows I guess there is no point starting the timeout thread until
we actually have a timeout value.

16 years agoMake sure we set the signal handler when reset_signals is true, regardless
Rasmus Lerdorf [Wed, 19 Mar 2008 15:22:17 +0000 (15:22 +0000)]
Make sure we set the signal handler when reset_signals is true, regardless
of the actual timeout value.

16 years agoMFH
Antony Dovgal [Wed, 19 Mar 2008 12:44:13 +0000 (12:44 +0000)]
MFH

16 years agoMFH: make use of zend_atol()
Antony Dovgal [Wed, 19 Mar 2008 12:42:16 +0000 (12:42 +0000)]
MFH: make use of zend_atol()

16 years agoMFH: add zend_atol()
Antony Dovgal [Wed, 19 Mar 2008 12:41:23 +0000 (12:41 +0000)]
MFH: add zend_atol()

16 years agofix test
Antony Dovgal [Wed, 19 Mar 2008 12:36:09 +0000 (12:36 +0000)]
fix test

16 years agoRemoved ze1_compatibility_mode INI options
Ilia Alshanetsky [Wed, 19 Mar 2008 12:16:14 +0000 (12:16 +0000)]
Removed ze1_compatibility_mode INI options

16 years agoDisabled $GLOBALS' refcount modification
Dmitry Stogov [Wed, 19 Mar 2008 11:46:10 +0000 (11:46 +0000)]
Disabled $GLOBALS' refcount modification

16 years agoRemove accidental change
Felipe Pena [Wed, 19 Mar 2008 03:15:56 +0000 (03:15 +0000)]
Remove accidental change

16 years agoMFB: Fixed bug #43614 (incorrect processing of numerical string keys of array in...
Felipe Pena [Wed, 19 Mar 2008 03:05:35 +0000 (03:05 +0000)]
MFB: Fixed bug #43614 (incorrect processing of numerical string keys of array in arbitrary serialized data)

16 years agoFixed bug #44445 (email validator does not handle domains
Ilia Alshanetsky [Tue, 18 Mar 2008 23:31:34 +0000 (23:31 +0000)]
Fixed bug #44445 (email validator does not handle domains
starting/ending with a -)

16 years agoCorrect name for the file
Elizabeth Marie Smith [Tue, 18 Mar 2008 22:48:26 +0000 (22:48 +0000)]
Correct name for the file

16 years agoAdd new empty child terminate sapi hook to the rest of the sapis
Rasmus Lerdorf [Tue, 18 Mar 2008 22:23:21 +0000 (22:23 +0000)]
Add new empty child terminate sapi hook to the rest of the sapis

16 years agoexit_on_timeout patch
Rasmus Lerdorf [Tue, 18 Mar 2008 21:42:50 +0000 (21:42 +0000)]
exit_on_timeout patch

After the sigsetjmp change, this is patch #2 in an effort to get some
sanity restored to signal handling in PHP.

This patch does two things.  First, it makes it possible to reset the
timeout without resetting the signal handlers.  This is important for
cases where an extension may have deferred signals in its MINIT in order
to implement critical sections. It also lays the groundwork for cleaning
up our signal handling and perhaps eventually implementing our own
signal deferring mechanism so we can have true critical sections.

The second thing this does is to make it possible to terminate the current
child process (only for Apache1 at the moment) on a timeout.  There are
a number of extensions that are unhappy about being longjmp'ed out of
and when this happens on a timeout they are left in an inconsistent state.
By turning on exit_on_timeout you can now force the process to terminate
on a timeout which will clean up any hanging locks and/or memory left
hanging after the longjmp.

16 years agoMake the sigsetjmp change more robust. On systems that don't have
Rasmus Lerdorf [Tue, 18 Mar 2008 21:14:28 +0000 (21:14 +0000)]
Make the sigsetjmp change more robust.  On systems that don't have
sigsetjmp use setjmp.  Windows is of course weird in that it seems to
have sigsetjmp but not sigjmp_buf (??) so force it to use setjmp in
config.w32.h.in

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