]> granicus.if.org Git - php/log
php
16 years agoas discussed on internals, enable phar by default for testing purposes.
Greg Beaver [Fri, 16 May 2008 00:01:56 +0000 (00:01 +0000)]
as discussed on internals, enable phar by default for testing purposes.
Phar is enabled as a shared extension by default in order to allow zlib/bz2 to be built shared.  If phar is statically built,
both zlib and bz2 must be statically built in order for phar to use them, so default compile as shared is much more flexible

16 years agoadd full metadata support for tar-based archives and test
Greg Beaver [Thu, 15 May 2008 23:46:29 +0000 (23:46 +0000)]
add full metadata support for tar-based archives and test

16 years agofix potentially major security hole: modification/creation of files in .phar director...
Greg Beaver [Thu, 15 May 2008 16:09:01 +0000 (16:09 +0000)]
fix potentially major security hole: modification/creation of files in .phar directory enabled in many locations
which then allows easy creation of tar/zip-based phar archives with a simple rename even when phar.readonly=1.  Plug the hole very tightly, allowing read access to
files, and also excluding them from opendir() output

16 years agomake test OS-agnostic
Greg Beaver [Thu, 15 May 2008 14:01:30 +0000 (14:01 +0000)]
make test OS-agnostic

16 years ago- Fix test, add a couple of new ones
Steph Fox [Thu, 15 May 2008 12:37:45 +0000 (12:37 +0000)]
- Fix test, add a couple of new ones

@Greg: it seems we covered it already ;)

16 years agoTests from London test fest 2008
Zoe Slattery [Thu, 15 May 2008 12:23:47 +0000 (12:23 +0000)]
Tests from London test fest 2008

16 years ago- MFH
Steph Fox [Wed, 14 May 2008 21:29:51 +0000 (21:29 +0000)]
- MFH
- Make internal code forward-compatible. This included a binary cast in the default stub, hence test updates.

16 years agofix test names
Antony Dovgal [Wed, 14 May 2008 13:04:05 +0000 (13:04 +0000)]
fix test names

16 years ago- MFH: Add check for avoid segfault when trying instantiate PDORow manually
Felipe Pena [Wed, 14 May 2008 12:32:21 +0000 (12:32 +0000)]
- MFH: Add check for avoid segfault when trying instantiate PDORow manually

16 years agoWindows configure fixes, a few additional lib names allowed, apache2 only on for...
Elizabeth Marie Smith [Wed, 14 May 2008 03:13:17 +0000 (03:13 +0000)]
Windows configure fixes, a few additional lib names allowed, apache2 only on for zts builds since apache on win is always threaded, isapi no longer stops configure in non-zts mode, look for _debug for debug libraries when debug is enabled

16 years ago- Fixed tests (added default_charset=)
Felipe Pena [Tue, 13 May 2008 19:17:17 +0000 (19:17 +0000)]
- Fixed tests (added default_charset=)

16 years agofix test
Greg Beaver [Tue, 13 May 2008 18:06:55 +0000 (18:06 +0000)]
fix test

16 years ago- Added SKIPIF
Felipe Pena [Tue, 13 May 2008 14:49:06 +0000 (14:49 +0000)]
- Added SKIPIF

16 years ago- Allow broken.dirnames to use phar too
Steph Fox [Tue, 13 May 2008 14:11:24 +0000 (14:11 +0000)]
- Allow broken.dirnames to use phar too
- Add test
- Kill MSVC compiler warning

16 years agoMFH: New/updated tests
Christopher Jones [Tue, 13 May 2008 00:05:09 +0000 (00:05 +0000)]
MFH: New/updated tests

16 years agoThis commit was manufactured by cvs2svn to create branch 'PHP_5_3'.
SVN Migration [Mon, 12 May 2008 21:03:49 +0000 (21:03 +0000)]
This commit was manufactured by cvs2svn to create branch 'PHP_5_3'.

16 years ago- New tests
Felipe Pena [Mon, 12 May 2008 17:57:21 +0000 (17:57 +0000)]
- New tests

16 years agoMFH
Antony Dovgal [Mon, 12 May 2008 15:31:08 +0000 (15:31 +0000)]
MFH

16 years ago- New tests
Felipe Pena [Mon, 12 May 2008 14:58:31 +0000 (14:58 +0000)]
- New tests

16 years ago- MFH: New tests
Felipe Pena [Mon, 12 May 2008 13:31:36 +0000 (13:31 +0000)]
- MFH: New tests

16 years ago- Fixed test
Felipe Pena [Mon, 12 May 2008 11:15:32 +0000 (11:15 +0000)]
- Fixed test

16 years agoFixed bug #44952 (isset() does not checks correctly variable variable)
Dmitry Stogov [Mon, 12 May 2008 09:09:05 +0000 (09:09 +0000)]
Fixed bug #44952 (isset() does not checks correctly variable variable)

16 years agoMFH: revert patch that causes invalid reads/crashes on Linux
Antony Dovgal [Mon, 12 May 2008 08:47:01 +0000 (08:47 +0000)]
MFH: revert patch that causes invalid reads/crashes on Linux

16 years agoAdded API to use namesapces in internal extensions
Dmitry Stogov [Mon, 12 May 2008 07:11:55 +0000 (07:11 +0000)]
Added API to use namesapces in internal extensions

16 years agoMFH: Fixed test after fixing bug #44830
Matt Wilmas [Mon, 12 May 2008 05:08:49 +0000 (05:08 +0000)]
MFH: Fixed test after fixing bug #44830

16 years ago- MFH: New tests
Felipe Pena [Sun, 11 May 2008 22:44:56 +0000 (22:44 +0000)]
- MFH: New tests

16 years agoMFH: Fixed error message typo
Matt Wilmas [Sun, 11 May 2008 11:46:44 +0000 (11:46 +0000)]
MFH: Fixed error message typo

16 years agoMFH: Add tests for ReflectionFunction::getExtension*().
Sebastian Bergmann [Sun, 11 May 2008 04:57:09 +0000 (04:57 +0000)]
MFH: Add tests for ReflectionFunction::getExtension*().

16 years agoMFH: dos2unix *.phpt
Sebastian Bergmann [Sun, 11 May 2008 04:53:18 +0000 (04:53 +0000)]
MFH: dos2unix *.phpt

16 years ago- MFH: New tests
Felipe Pena [Sun, 11 May 2008 03:50:28 +0000 (03:50 +0000)]
- MFH: New tests

16 years agoMFH: Restore end check for "escape" strings
Matt Wilmas [Sat, 10 May 2008 09:17:29 +0000 (09:17 +0000)]
MFH: Restore end check for "escape" strings

16 years agoMFH
Matt Wilmas [Fri, 9 May 2008 14:41:16 +0000 (14:41 +0000)]
MFH

16 years ago- New tests
Felipe Pena [Fri, 9 May 2008 14:16:24 +0000 (14:16 +0000)]
- New tests

16 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.

16 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

16 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

16 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)

16 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)

16 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)

16 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

16 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)

16 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

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

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

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

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

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

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

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

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

16 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

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

16 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)

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

16 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)

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

16 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

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

16 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

16 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.

16 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

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

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

16 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

16 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())

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

16 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

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

16 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)

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

16 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

16 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

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

16 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".

16 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

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

16 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

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

16 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.

16 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

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

16 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())

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

16 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

16 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.

16 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)

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

16 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.

16 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)

16 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)

16 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]

16 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]

16 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.

16 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.

16 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.

16 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

16 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

16 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

16 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.

16 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