]> granicus.if.org Git - php/log
php
17 years ago- New tests
Felipe Pena [Fri, 9 May 2008 14:16:24 +0000 (14:16 +0000)]
- New tests

17 years agoAdded a script that generates phpt test coverage information for functions and methods.
Steve Seear [Fri, 9 May 2008 13:21:49 +0000 (13:21 +0000)]
Added a script that generates phpt test coverage information for functions and methods.

17 years agoMFH: Fix compile error if _GNU_SOURCE is defined
Scott MacVicar [Fri, 9 May 2008 12:59:16 +0000 (12:59 +0000)]
MFH: Fix compile error if _GNU_SOURCE is defined

17 years ago- s/rmdir/rd
Steph Fox [Fri, 9 May 2008 11:20:09 +0000 (11:20 +0000)]
- s/rmdir/rd
- Patch supplied by Richard Quadling

17 years agoMFH: Test for loss of backslash at end of heredoc; For bug #44830 (Very minor issue...
Matt Wilmas [Fri, 9 May 2008 11:06:29 +0000 (11:06 +0000)]
MFH: Test for loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc)

17 years agoMFH: Fix loss of backslash at end of heredoc; For bug #44830 (Very minor issue with...
Matt Wilmas [Fri, 9 May 2008 10:27:51 +0000 (10:27 +0000)]
MFH: Fix loss of backslash at end of heredoc; For bug #44830 (Very minor issue with backslash in heredoc)

17 years agoMFH: Fixed bug #44681 (Resources used as array keys get converted to 0)
Matt Wilmas [Fri, 9 May 2008 09:23:03 +0000 (09:23 +0000)]
MFH: Fixed bug #44681 (Resources used as array keys get converted to 0)

17 years agoCollect all the open_basedir security tests into one place
Ant Phillips [Fri, 9 May 2008 08:39:44 +0000 (08:39 +0000)]
Collect all the open_basedir security tests into one place

17 years ago- Use PHP_DEP_FE and PHP_DEP_FALIAS (magic_quotes related functions)
Felipe Pena [Thu, 8 May 2008 22:21:19 +0000 (22:21 +0000)]
- Use PHP_DEP_FE and PHP_DEP_FALIAS (magic_quotes related functions)

17 years ago- MFH: Fixed detection of invalid class name
Felipe Pena [Thu, 8 May 2008 18:51:28 +0000 (18:51 +0000)]
- MFH: Fixed detection of invalid class name

17 years ago- MFH: Fixed data size
Felipe Pena [Thu, 8 May 2008 18:28:25 +0000 (18:28 +0000)]
- MFH: Fixed data size

17 years agoSync spl tests with HEAD
Etienne Kneuss [Thu, 8 May 2008 12:02:17 +0000 (12:02 +0000)]
Sync spl tests with HEAD

17 years agoFixed test
Dmitry Stogov [Thu, 8 May 2008 09:15:38 +0000 (09:15 +0000)]
Fixed test

17 years agofix test
Antony Dovgal [Thu, 8 May 2008 07:09:10 +0000 (07:09 +0000)]
fix test

17 years agoFix build
Matt Wilmas [Thu, 8 May 2008 04:23:26 +0000 (04:23 +0000)]
Fix build

17 years agoKill unused vars
Ilia Alshanetsky [Wed, 7 May 2008 23:45:28 +0000 (23:45 +0000)]
Kill unused vars

17 years agonew ini_get_all() parameter
Hannes Magnusson [Wed, 7 May 2008 20:04:05 +0000 (20:04 +0000)]
new ini_get_all() parameter

17 years agoMFH
Antony Dovgal [Wed, 7 May 2008 16:01:37 +0000 (16:01 +0000)]
MFH

17 years ago- Added NEWS item for fixation of bug 44811
David Coallier [Wed, 7 May 2008 15:27:25 +0000 (15:27 +0000)]
- Added NEWS item for fixation of bug 44811

17 years agorename the test
Antony Dovgal [Wed, 7 May 2008 15:23:31 +0000 (15:23 +0000)]
rename the test

17 years ago- Fixed bug #44811 (Improve error message when creating a new SoapClient that contain...
David Coallier [Wed, 7 May 2008 15:23:10 +0000 (15:23 +0000)]
- Fixed bug #44811 (Improve error message when creating a new SoapClient that contains invalid data)

17 years agoUpdate mysqlnd
Andrey Hristov [Wed, 7 May 2008 15:14:26 +0000 (15:14 +0000)]
Update mysqlnd

17 years ago- Bug #44811 (Improved error message for creating invalid new SoapClient)
David Coallier [Wed, 7 May 2008 15:14:16 +0000 (15:14 +0000)]
- Bug #44811 (Improved error message for creating invalid new SoapClient)

17 years ago- New tests
Felipe Pena [Wed, 7 May 2008 14:10:03 +0000 (14:10 +0000)]
- New tests

17 years agoUse IS_CV for dirrent access to $this variable
Dmitry Stogov [Wed, 7 May 2008 12:04:39 +0000 (12:04 +0000)]
Use IS_CV for dirrent access to $this variable

17 years agoAdd consistency with the flag
Etienne Kneuss [Tue, 6 May 2008 23:08:06 +0000 (23:08 +0000)]
Add consistency with the flag

17 years agoFixed bug #44836 (putenv() crashes, avoid direct reference of environ in
Ilia Alshanetsky [Tue, 6 May 2008 18:01:32 +0000 (18:01 +0000)]
Fixed bug #44836 (putenv() crashes, avoid direct reference of environ in
POSIX systems)

# Original patch by delphij at FreeBSD dot org

17 years agoMake mysqli compilable in a 5_2 environment. Some want to use mysqlnd+mysqli
Andrey Hristov [Tue, 6 May 2008 17:05:14 +0000 (17:05 +0000)]
Make mysqli compilable in a 5_2 environment. Some want to use mysqlnd+mysqli
with 5_2. This won't hurt 5_2 in any way. Won't be MFB-ed because HEAD is
completely different.

17 years agoUse lazy symbol table initialization for op_arrays called from internal php functions
Dmitry Stogov [Tue, 6 May 2008 17:00:56 +0000 (17:00 +0000)]
Use lazy symbol table initialization for op_arrays called from internal php functions

17 years agoFixed possible memory leak
Dmitry Stogov [Tue, 6 May 2008 16:59:38 +0000 (16:59 +0000)]
Fixed possible memory leak

17 years agoGC fix
Dmitry Stogov [Tue, 6 May 2008 16:03:16 +0000 (16:03 +0000)]
GC fix

17 years agoFixed odd errors caused by last commit
Kalle Sommer Nielsen [Tue, 6 May 2008 11:59:00 +0000 (11:59 +0000)]
Fixed odd errors caused by last commit

17 years ago* Changed php_*h() to be static
Kalle Sommer Nielsen [Tue, 6 May 2008 10:55:49 +0000 (10:55 +0000)]
* Changed php_*h() to be static
* Changed NEWS entry to be say 'native' insted of 'Windows' (ref. *h())

17 years agoRegenerate zend_vm_execute.h
Dmitry Stogov [Tue, 6 May 2008 09:41:39 +0000 (09:41 +0000)]
Regenerate zend_vm_execute.h

17 years agoThere is no domainname element in utsname on OSX
Rasmus Lerdorf [Mon, 5 May 2008 21:26:46 +0000 (21:26 +0000)]
There is no domainname element in utsname on OSX

17 years agoadd atanh() for real
Antony Dovgal [Mon, 5 May 2008 11:28:11 +0000 (11:28 +0000)]
add atanh() for real

17 years ago- Use ZEND_FREE() opcode instead of ZEND_SWITCH_FREE(IS_TMP_VAR)
Dmitry Stogov [Mon, 5 May 2008 11:03:35 +0000 (11:03 +0000)]
- Use ZEND_FREE() opcode instead of ZEND_SWITCH_FREE(IS_TMP_VAR)
- Fixed bug #44913 (Segfault when using return in combination with nested loops
and continue 2)

17 years ago- Fixed build.
Derick Rethans [Mon, 5 May 2008 10:09:54 +0000 (10:09 +0000)]
- Fixed build.

17 years agoSupport for old-style constructors in namespaces
Dmitry Stogov [Mon, 5 May 2008 09:44:39 +0000 (09:44 +0000)]
Support for old-style constructors in namespaces

17 years agoMerge PHP_5_3 - Implemented Windows support for asinh(), acosh(), atanh(), log1p...
Kalle Sommer Nielsen [Mon, 5 May 2008 07:29:41 +0000 (07:29 +0000)]
Merge PHP_5_3 - Implemented Windows support for asinh(), acosh(), atanh(), log1p() and expm1()

[DOC] Merge_5_3

17 years agoMFH: Fix protos
Etienne Kneuss [Sun, 4 May 2008 21:17:33 +0000 (21:17 +0000)]
MFH: Fix protos

17 years ago- MFH: Added support for "<xth> <weekday of" and "last <weekday> of" phrases to
Derick Rethans [Sun, 4 May 2008 20:52:56 +0000 (20:52 +0000)]
- MFH: Added support for "<xth> <weekday of" and "last <weekday> of" phrases to
  be used with months - like in "last saturday of februari 2008".

17 years agoMFH: fix bug #44891 Memory leak using registerPHPFunctions and XSLT Variable
Rob Richards [Sun, 4 May 2008 15:14:23 +0000 (15:14 +0000)]
MFH: fix bug #44891 Memory leak using registerPHPFunctions and XSLT Variable

17 years agofix compile warnings
Antony Dovgal [Sun, 4 May 2008 11:26:50 +0000 (11:26 +0000)]
fix compile warnings

17 years ago- MFH: Added support for using ISO 8601 time intervals to define a DatePeriod
Derick Rethans [Sun, 4 May 2008 10:00:01 +0000 (10:00 +0000)]
- MFH: Added support for using ISO 8601 time intervals to define a DatePeriod
  iterator.
#- @doc

17 years agoMFH: fix folding
Antony Dovgal [Sun, 4 May 2008 09:34:16 +0000 (09:34 +0000)]
MFH: fix folding

17 years ago- Introducing nmake clean-all
Steph Fox [Sat, 3 May 2008 21:12:55 +0000 (21:12 +0000)]
- Introducing nmake clean-all
- This should probably be merged with nmake clean, but I've no way to test the impact on distro builds.

17 years agoCommitting corrected test from Eric Stewart
Zoe Slattery [Sat, 3 May 2008 20:36:36 +0000 (20:36 +0000)]
Committing corrected test from Eric Stewart

17 years agoBFN: #44899
Felipe Pena [Sat, 3 May 2008 16:11:56 +0000 (16:11 +0000)]
BFN: #44899

17 years agoMFH: Fix #44484 (define SimpleXMLElement::__toString())
Etienne Kneuss [Sat, 3 May 2008 15:09:37 +0000 (15:09 +0000)]
MFH: Fix #44484 (define SimpleXMLElement::__toString())

17 years ago- Tabs to spaces.
Derick Rethans [Sat, 3 May 2008 11:08:09 +0000 (11:08 +0000)]
- Tabs to spaces.

17 years ago- Added support for using an end date to limit the amount of recursions
Derick Rethans [Sat, 3 May 2008 10:59:36 +0000 (10:59 +0000)]
- Added support for using an end date to limit the amount of recursions
  with the DatePeriod iterator.
#- @doc

17 years ago- MFH: Fixed weekdays adding/subtracting algorithm.
Derick Rethans [Sat, 3 May 2008 10:04:37 +0000 (10:04 +0000)]
- MFH: Fixed weekdays adding/subtracting algorithm.

17 years ago- MFH: Fixed bug #44899 (__isset usage changes behavior of empty()) (patch by Etienne...
Felipe Pena [Sat, 3 May 2008 00:38:55 +0000 (00:38 +0000)]
- MFH: Fixed bug #44899 (__isset usage changes behavior of empty()) (patch by Etienne Kneuss)

17 years agofix build
Antony Dovgal [Fri, 2 May 2008 23:05:05 +0000 (23:05 +0000)]
fix build

17 years ago- MFH: Fixed an issue in date() where a : was printed for the O modifier after
Derick Rethans [Fri, 2 May 2008 21:33:05 +0000 (21:33 +0000)]
- MFH: Fixed an issue in date() where a : was printed for the O modifier after
  a P modifier was used.

17 years ago- Fix for bug #44870: rename() on directory deletes same named file. (Patch by
Derick Rethans [Fri, 2 May 2008 14:07:26 +0000 (14:07 +0000)]
- Fix for bug #44870: rename() on directory deletes same named file. (Patch by
  Pierre)

17 years agoFix reflection (always static, never shared) and disable turning off pcre and spl...
Elizabeth Marie Smith [Fri, 2 May 2008 14:05:53 +0000 (14:05 +0000)]
Fix reflection (always static, never shared) and disable turning off pcre and spl (also always static, never shared)

17 years agoHard enabling it for Windows, readding define for UNIX [DOC]
Lars Strojny [Fri, 2 May 2008 13:11:45 +0000 (13:11 +0000)]
Hard enabling it for Windows, readding define for UNIX [DOC]

17 years agoHard enabling ext/reflection on UNIX too [DOC]
Lars Strojny [Fri, 2 May 2008 13:05:42 +0000 (13:05 +0000)]
Hard enabling ext/reflection on UNIX too  [DOC]

17 years ago- MFH: Added DateInterval::createFromDateString() that creates an interval
Derick Rethans [Fri, 2 May 2008 12:49:16 +0000 (12:49 +0000)]
- MFH: Added DateInterval::createFromDateString() that creates an interval
  from the relative parts of a date/time string.
- MFH: Fixed an issue where special relative bits were not applied.

17 years ago- MFH: Rearranged some structures to allow for more powerfull period/intervals.
Derick Rethans [Thu, 1 May 2008 16:15:45 +0000 (16:15 +0000)]
- MFH: Rearranged some structures to allow for more powerfull period/intervals.

17 years ago- MFH: Include the starting date by default in the iterator output, but add an
Derick Rethans [Thu, 1 May 2008 13:31:22 +0000 (13:31 +0000)]
- MFH: Include the starting date by default in the iterator output, but add an
  option to disable this behavior.

17 years agoopen_basedir tests for directory functions
Ant Phillips [Thu, 1 May 2008 12:36:46 +0000 (12:36 +0000)]
open_basedir tests for directory functions

17 years agoopen_basedir tests for directory functions
Ant Phillips [Thu, 1 May 2008 11:46:18 +0000 (11:46 +0000)]
open_basedir tests for directory functions

17 years ago- MFH: Added the DatePeriod class/iterator that iterates over a date time
Derick Rethans [Thu, 1 May 2008 00:12:24 +0000 (00:12 +0000)]
- MFH: Added the DatePeriod class/iterator that iterates over a date time
  object for a specific number of iterators and applies a DateInterval each
  time.
@DOC: More will follow though

17 years agoFix session test failures as reported by Antony Dovgal.
Ant Phillips [Wed, 30 Apr 2008 15:20:18 +0000 (15:20 +0000)]
Fix session test failures as reported by Antony Dovgal.

These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.

17 years agoBreak up complicated rename tests into some smaller more consumable chunks
Ant Phillips [Wed, 30 Apr 2008 13:53:52 +0000 (13:53 +0000)]
Break up complicated rename tests into some smaller more consumable chunks

17 years agoIS_CONST operands are always have is_ref==1 and refcount==2, so we can eliminate...
Dmitry Stogov [Wed, 30 Apr 2008 10:44:08 +0000 (10:44 +0000)]
IS_CONST operands are always have is_ref==1 and refcount==2, so we can eliminate unnecessary checks at specialization/compilation stage

17 years agoFix session test failures as reported by Antony Dovgal.
Ant Phillips [Wed, 30 Apr 2008 09:28:02 +0000 (09:28 +0000)]
Fix session test failures as reported by Antony Dovgal.

These were caused by the tests assuming default values for some session
configuration settings, in particular session.save_path and session.name.
The tests now explicitly set these settings in the --INI-- section.

17 years agofix spelling
Antony Dovgal [Tue, 29 Apr 2008 13:50:27 +0000 (13:50 +0000)]
fix spelling

17 years agoFixed GC slowdown
Dmitry Stogov [Tue, 29 Apr 2008 13:43:31 +0000 (13:43 +0000)]
Fixed GC slowdown

17 years agoMore session tests to improve code coverage for untested extension code
Ant Phillips [Tue, 29 Apr 2008 09:24:19 +0000 (09:24 +0000)]
More session tests to improve code coverage for untested extension code

17 years agoAdded missing lazy initialization
Dmitry Stogov [Tue, 29 Apr 2008 09:18:26 +0000 (09:18 +0000)]
Added missing lazy initialization

17 years agoMore session tests to improve code coverage for untested extension code
Ant Phillips [Tue, 29 Apr 2008 08:57:09 +0000 (08:57 +0000)]
More session tests to improve code coverage for untested extension code

17 years agoLazy EG(active_symbol_table) initialization
Dmitry Stogov [Tue, 29 Apr 2008 08:15:20 +0000 (08:15 +0000)]
Lazy EG(active_symbol_table) initialization

17 years agoMFH
Antony Dovgal [Tue, 29 Apr 2008 08:08:21 +0000 (08:08 +0000)]
MFH

17 years agofix test
Antony Dovgal [Tue, 29 Apr 2008 07:26:46 +0000 (07:26 +0000)]
fix test

17 years agofix erroneous use of php_resolve_path in _php_stream_wrapper_open_ex - this breaks...
Greg Beaver [Mon, 28 Apr 2008 22:39:54 +0000 (22:39 +0000)]
fix erroneous use of php_resolve_path in _php_stream_wrapper_open_ex - this breaks require/include for all extensions that intercept zend_resolve_path

17 years agoFixed potentially confusing error message on failure when no errors are logged
Greg Beaver [Mon, 28 Apr 2008 22:37:31 +0000 (22:37 +0000)]
Fixed potentially confusing error message on failure when no errors are logged

17 years agoFix windows build
Scott MacVicar [Mon, 28 Apr 2008 13:21:34 +0000 (13:21 +0000)]
Fix windows build

17 years ago- Fix test even if safe_mode is forced to be "On" in the binary
Jani Taskinen [Mon, 28 Apr 2008 12:30:24 +0000 (12:30 +0000)]
- Fix test even if safe_mode is forced to be "On" in the binary

17 years ago- MFH: Fixed "this week", "previous week"/"last week" and "next week" phrases
Derick Rethans [Sun, 27 Apr 2008 19:14:33 +0000 (19:14 +0000)]
- MFH: Fixed "this week", "previous week"/"last week" and "next week" phrases
  by actually meaning the week.
#- MFH: For now the week starts on Monday, but I plan on making that
#  configurable.

17 years ago- Added new date/time functionality:
Derick Rethans [Fri, 25 Apr 2008 12:35:58 +0000 (12:35 +0000)]
- Added new date/time functionality:
  . support for diffing date/times through date_diff() / DateTime::diff().
  . added DateInterval class to represent the difference between two date/times.
  . support for parsing ISO intervals for use with DateInterval.
  . date_add() / DateTime::add(), date_sub() / DateTime::sub() for applying an
    interval to an existing date/time.
- MFH: Fixed bug #44742 (timezone_offset_get() causes segmentation faults).

17 years agoExtra open_basedir tests
Ant Phillips [Thu, 24 Apr 2008 16:40:54 +0000 (16:40 +0000)]
Extra open_basedir tests

17 years ago- re2c requirement update
Steph Fox [Thu, 24 Apr 2008 16:04:59 +0000 (16:04 +0000)]
- re2c requirement update
(sorry, I thought I'd committed this ages ago)

17 years agoOptimized handlers for ZEND_RECV and ZEND_RECV_INIT opocdes
Dmitry Stogov [Thu, 24 Apr 2008 15:45:46 +0000 (15:45 +0000)]
Optimized handlers for ZEND_RECV and ZEND_RECV_INIT opocdes

17 years agoUpdate ext/mysql's and ext/mysqli's tests
Andrey Hristov [Thu, 24 Apr 2008 14:22:19 +0000 (14:22 +0000)]
Update ext/mysql's and ext/mysqli's tests
Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in
mysqlnd builds as libmysql doesn't support this feature.

17 years agoAllow for chmod() to fail on symbolic links
Ant Phillips [Thu, 24 Apr 2008 13:58:26 +0000 (13:58 +0000)]
Allow for chmod() to fail on symbolic links

17 years ago- MFH: improve test and remove files on exit
Pierre Joye [Thu, 24 Apr 2008 08:45:35 +0000 (08:45 +0000)]
- MFH: improve test and remove files on exit

17 years agoFixed bug #44805 (rename() function is not portable to Windows). (Pierre)
Dmitry Stogov [Thu, 24 Apr 2008 07:45:01 +0000 (07:45 +0000)]
Fixed bug #44805 (rename() function is not portable to Windows). (Pierre)

17 years ago- MFH: Fix Windows build
Johannes Schlüter [Wed, 23 Apr 2008 16:56:51 +0000 (16:56 +0000)]
- MFH: Fix Windows build

17 years agoopen_basedir tests for file system functions (v5.2, 5.3 and 6.0 branches)
Ant Phillips [Wed, 23 Apr 2008 14:10:15 +0000 (14:10 +0000)]
open_basedir tests for file system functions (v5.2, 5.3 and 6.0 branches)

17 years agoThese tests were backported from the PHP 6.0 branch, which in turn were ported from...
Ant Phillips [Tue, 22 Apr 2008 16:04:31 +0000 (16:04 +0000)]
These tests were backported from the PHP 6.0 branch, which in turn were ported from this branch and then updated to remove any dependencies on register_globals. With register_globals removed they are useful tests to run against the 5.X branches.

17 years agoNew set of session extension tests for PHP 5.3 branch.
Ant Phillips [Tue, 22 Apr 2008 16:04:30 +0000 (16:04 +0000)]
New set of session extension tests for PHP 5.3 branch.

These hopefully test a reasonable set of basic, error and variations for
the twenty or so session functions. Note however that they do not
test all the session configuration settings, nor do they test anything
with register_globals enabled.

17 years agoFix some ereg tests for 64bit platforms.
Robin Fernandes [Tue, 22 Apr 2008 15:31:57 +0000 (15:31 +0000)]
Fix some ereg tests for 64bit platforms.

17 years agofix tests
Antony Dovgal [Tue, 22 Apr 2008 13:31:25 +0000 (13:31 +0000)]
fix tests

17 years agoAdded a warning message on pdo::exec() failure in the event of an empty query
Ilia Alshanetsky [Tue, 22 Apr 2008 13:01:45 +0000 (13:01 +0000)]
Added a warning message on pdo::exec() failure in the event of an empty query

17 years agoadd news entry
Antony Dovgal [Mon, 21 Apr 2008 15:42:26 +0000 (15:42 +0000)]
add news entry

17 years ago[DOC] add hash_copy() to be able to copy hash resource
Antony Dovgal [Mon, 21 Apr 2008 15:37:46 +0000 (15:37 +0000)]
[DOC] add hash_copy() to be able to copy hash resource