]>
granicus.if.org Git - php/log
Greg Beaver [Thu, 8 May 2008 00:49:37 +0000 (00:49 +0000)]
fix serious logic error and potential security issue with phar_compiled_file and
phar_find_in_include_path. We were allowing data-based phars to be executed, and actually marking phar-based phar archives
without '.phar' in the name as data-based phars, which would allow modifying them even if phar.readonly=0. Add test for this sinister case
Ilia Alshanetsky [Wed, 7 May 2008 23:46:11 +0000 (23:46 +0000)]
MFB: kill unused vars
Greg Beaver [Wed, 7 May 2008 17:35:20 +0000 (17:35 +0000)]
fix tar extension detection in open code
Greg Beaver [Wed, 7 May 2008 17:24:22 +0000 (17:24 +0000)]
optimize phar filename extension detection to first search through known phars. This eliminates several stat/realpath calls for archives with lots of files
Antony Dovgal [Wed, 7 May 2008 15:51:34 +0000 (15:51 +0000)]
no need to add this entry - it's in 5_2 already
David Coallier [Wed, 7 May 2008 15:47:04 +0000 (15:47 +0000)]
- Added news item to the NEWS (Fixed bug 44811)
David Coallier [Wed, 7 May 2008 15:45:56 +0000 (15:45 +0000)]
- Test for bug #44811
David Coallier [Wed, 7 May 2008 15:45:02 +0000 (15:45 +0000)]
- Fixed bug #44811 (Improve error message when creating new SoapClient
that contains invalid data)
Andrey Hristov [Wed, 7 May 2008 15:16:27 +0000 (15:16 +0000)]
Update mysqlnd - new ini variable
Felipe Pena [Wed, 7 May 2008 14:08:41 +0000 (14:08 +0000)]
- New tests
Dmitry Stogov [Wed, 7 May 2008 12:04:58 +0000 (12:04 +0000)]
Use IS_CV for dirrent access to $this variable
Greg Beaver [Wed, 7 May 2008 06:43:07 +0000 (06:43 +0000)]
prepare for 2.0.0b1 release, pending review (finally)
Greg Beaver [Wed, 7 May 2008 06:39:05 +0000 (06:39 +0000)]
remove files created
Greg Beaver [Wed, 7 May 2008 06:36:24 +0000 (06:36 +0000)]
validate user-supplied aliases when converting archives to other formats
Greg Beaver [Wed, 7 May 2008 05:38:31 +0000 (05:38 +0000)]
[DOC]
remove phar.extract_list
remove Phar::getExtractList()
Greg Beaver [Wed, 7 May 2008 05:13:41 +0000 (05:13 +0000)]
remove APC fanciness - this was causing non-caching of some files include()d inside a phar archive
<changelog@php.net> [Wed, 7 May 2008 01:31:43 +0000 (01:31 +0000)]
ChangeLog update
Etienne Kneuss [Tue, 6 May 2008 22:59:59 +0000 (22:59 +0000)]
Add a flag that defines whether the objects should get iterated through or not
Greg Beaver [Tue, 6 May 2008 21:46:26 +0000 (21:46 +0000)]
fix zip metadata for archive/fix perms for file in zip/all.phpt test
Greg Beaver [Tue, 6 May 2008 21:34:19 +0000 (21:34 +0000)]
new failing test for testing all zip creation facets
Greg Beaver [Tue, 6 May 2008 21:23:48 +0000 (21:23 +0000)]
fix segfault in buildfromdirectory2 test and potential segfault
Greg Beaver [Tue, 6 May 2008 21:14:53 +0000 (21:14 +0000)]
fix alias overloading handling for archives that are not in use
Greg Beaver [Tue, 6 May 2008 18:25:33 +0000 (18:25 +0000)]
new test for unset behavior
Ilia Alshanetsky [Tue, 6 May 2008 18:04:25 +0000 (18:04 +0000)]
MFB: Fixed bug #44836 (putenv() crashes, avoid direct reference of environ
in POSIX systems).
Dmitry Stogov [Tue, 6 May 2008 17:01:07 +0000 (17:01 +0000)]
Use lazy symbol table initialization for op_arrays called from internal php functions
Dmitry Stogov [Tue, 6 May 2008 16:59:24 +0000 (16:59 +0000)]
Fixed possible memory leak
Dmitry Stogov [Tue, 6 May 2008 16:02:50 +0000 (16:02 +0000)]
GC fix
Kalle Sommer Nielsen [Tue, 6 May 2008 10:57:54 +0000 (10:57 +0000)]
Changed php_*h() + php_log1p() + php_expm1() to be static
<changelog@php.net> [Tue, 6 May 2008 01:31:45 +0000 (01:31 +0000)]
ChangeLog update
Rasmus Lerdorf [Mon, 5 May 2008 21:28:47 +0000 (21:28 +0000)]
No domainname element in utsname on OSX
Dmitry Stogov [Mon, 5 May 2008 11:02:46 +0000 (11:02 +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)
Dmitry Stogov [Mon, 5 May 2008 09:44:07 +0000 (09:44 +0000)]
Support for old-style constructors in namespaces
Kalle Sommer Nielsen [Mon, 5 May 2008 06:28:03 +0000 (06:28 +0000)]
Implemented Windows support for asinh(), acosh(), atanh(), log1p() and expm1() + removed Windows check on tests
[DOC] Windows support for asinh(), acosh(), atanh(), log1p() and expm1()
<changelog@php.net> [Mon, 5 May 2008 01:31:38 +0000 (01:31 +0000)]
ChangeLog update
Etienne Kneuss [Sun, 4 May 2008 21:16:22 +0000 (21:16 +0000)]
Fix protos
Steph Fox [Sun, 4 May 2008 20:58:43 +0000 (20:58 +0000)]
- Some tests for buildFromDirectory()
Derick Rethans [Sun, 4 May 2008 20:50:46 +0000 (20:50 +0000)]
- Added support for "<xth> <weekday of" and "last <weekday> of" phrases to be
used with months - like in "last saturday of februari 2008".
Rob Richards [Sun, 4 May 2008 15:13:39 +0000 (15:13 +0000)]
fix bug #44891 Memory leak using registerPHPFunctions and XSLT Variable
Derick Rethans [Sun, 4 May 2008 09:59:42 +0000 (09:59 +0000)]
- Added support for using ISO 8601 time intervals to define a DatePeriod
iterator.
Antony Dovgal [Sun, 4 May 2008 09:33:56 +0000 (09:33 +0000)]
fix folding
<changelog@php.net> [Sun, 4 May 2008 01:31:42 +0000 (01:31 +0000)]
ChangeLog update
Steph Fox [Sat, 3 May 2008 21:09:56 +0000 (21:09 +0000)]
- Kill Windows warning when int meets short
- All tests still pass
Zoe Slattery [Sat, 3 May 2008 20:39:07 +0000 (20:39 +0000)]
Committing corrected test from Eric Stewart
Etienne Kneuss [Sat, 3 May 2008 16:01:00 +0000 (16:01 +0000)]
MFB: Fix #44838 (static class reference restricting overwriting)
Etienne Kneuss [Sat, 3 May 2008 15:09:24 +0000 (15:09 +0000)]
Fix #44484 (define SimpleXMLElement::__toString())
Derick Rethans [Sat, 3 May 2008 10:59:14 +0000 (10:59 +0000)]
- Added support for using an end date to limit the amount of recursions
with the DatePeriod iterator.
Derick Rethans [Sat, 3 May 2008 10:03:21 +0000 (10:03 +0000)]
- Fixed weekdays algorithm.
Greg Beaver [Sat, 3 May 2008 02:04:24 +0000 (02:04 +0000)]
add Phar::unlinkArchive() to allow complete removal of a parsed phar archive from memory and disk
<changelog@php.net> [Sat, 3 May 2008 01:31:46 +0000 (01:31 +0000)]
ChangeLog update
Felipe Pena [Sat, 3 May 2008 00:36:54 +0000 (00:36 +0000)]
- Fixed bug #44899 (__isset usage changes behavior of empty()) (patch by Etienne Kneuss)
Antony Dovgal [Fri, 2 May 2008 23:04:50 +0000 (23:04 +0000)]
fix build
Derick Rethans [Fri, 2 May 2008 21:32:13 +0000 (21:32 +0000)]
- Fixed an issue in date() where a : was printed for the O modifier after a P
modifier was used.
Derick Rethans [Fri, 2 May 2008 14:16:40 +0000 (14:16 +0000)]
- More coffee required...
Elizabeth Marie Smith [Fri, 2 May 2008 14:10:05 +0000 (14:10 +0000)]
MFB
Derick Rethans [Fri, 2 May 2008 14:08:44 +0000 (14:08 +0000)]
- MF53: fix for bug #44870: rename() on directory deletes same named file.
(Patch by Pierre)
Lars Strojny [Fri, 2 May 2008 13:12:02 +0000 (13:12 +0000)]
Hard enabling it for Windows, readding define for UNIX [DOC]
Lars Strojny [Fri, 2 May 2008 13:06:27 +0000 (13:06 +0000)]
Hard enabling ext/reflection on UNIX too [DOC]
Derick Rethans [Fri, 2 May 2008 12:48:19 +0000 (12:48 +0000)]
- Added DateInterval::createFromDateString() that creates an interval
from the relative parts of a date/time string.
- Fixed an issue where special relative bits were not applied.
#- @DOC
Greg Beaver [Fri, 2 May 2008 05:05:56 +0000 (05:05 +0000)]
refactor isTar/isZip/isPhar into isFileFormat(int format) where format is one of Phar::TAR,, Phar::ZIP, Phar::PHAR
[DOC]
Greg Beaver [Fri, 2 May 2008 04:44:39 +0000 (04:44 +0000)]
update TODO, re-order methods to be alphabetical, tweak extractTo to set permissions and handle NULL for files
# this also matches the docs I just committed :)
<changelog@php.net> [Fri, 2 May 2008 01:31:43 +0000 (01:31 +0000)]
ChangeLog update
Derick Rethans [Thu, 1 May 2008 16:14:29 +0000 (16:14 +0000)]
- Rearranged some structures to allow for more powerfull period/intervals.
Derick Rethans [Thu, 1 May 2008 13:31:00 +0000 (13:31 +0000)]
- Include the starting date by default in the iterator output, but add an
option to disable this behavior.
Ant Phillips [Thu, 1 May 2008 12:36:44 +0000 (12:36 +0000)]
open_basedir tests for directory functions
Ant Phillips [Thu, 1 May 2008 11:46:17 +0000 (11:46 +0000)]
open_basedir tests for directory functions
<changelog@php.net> [Thu, 1 May 2008 01:31:50 +0000 (01:31 +0000)]
ChangeLog update
Derick Rethans [Thu, 1 May 2008 00:10:25 +0000 (00:10 +0000)]
- Added the DatePeriod class/iterator that iterates over a date time object
for a specific number of iterators and applies a DateInterval each time.
Greg Beaver [Wed, 30 Apr 2008 23:49:09 +0000 (23:49 +0000)]
fix possible read past end of buffer by ridiculously stupid convoluted logic (I wrote it, I can call it that) reported by valgrind
Greg Beaver [Wed, 30 Apr 2008 23:44:30 +0000 (23:44 +0000)]
fix unix-only valgrind issue by initializing arch
Greg Beaver [Wed, 30 Apr 2008 23:06:57 +0000 (23:06 +0000)]
fix cwd test in php 5.2, now all tests pass in 5.2 on unix
Greg Beaver [Wed, 30 Apr 2008 23:06:04 +0000 (23:06 +0000)]
fix test to be truly path-agnostic
Greg Beaver [Wed, 30 Apr 2008 22:16:25 +0000 (22:16 +0000)]
fix Bug #13786 on unix (Steph can you verify?)
Greg Beaver [Wed, 30 Apr 2008 22:12:21 +0000 (22:12 +0000)]
fix test (passes in PHP_5_3 on my 64-bit machine, have not yet tested in 5_2)
Greg Beaver [Wed, 30 Apr 2008 22:10:56 +0000 (22:10 +0000)]
add helper file I use for debugging the front controller tests
Greg Beaver [Wed, 30 Apr 2008 22:09:18 +0000 (22:09 +0000)]
add missing file for test
Greg Beaver [Wed, 30 Apr 2008 20:17:27 +0000 (20:17 +0000)]
fix double free
Greg Beaver [Wed, 30 Apr 2008 20:14:54 +0000 (20:14 +0000)]
stupid cut/paste error
Greg Beaver [Wed, 30 Apr 2008 20:14:15 +0000 (20:14 +0000)]
increase code coverage to test cwd stuffs
Ant Phillips [Wed, 30 Apr 2008 15:20:17 +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.
Ant Phillips [Wed, 30 Apr 2008 13:53:50 +0000 (13:53 +0000)]
Break up complicated rename tests into some smaller more consumable chunks
Dmitry Stogov [Wed, 30 Apr 2008 10:44:24 +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
Ant Phillips [Wed, 30 Apr 2008 09:28:00 +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.
Greg Beaver [Wed, 30 Apr 2008 02:20:48 +0000 (02:20 +0000)]
remove unneeded exception handling (webPhar is always within an outer zend_execute block which handles exceptions for us, this is unnecessary)
<changelog@php.net> [Wed, 30 Apr 2008 01:32:01 +0000 (01:32 +0000)]
ChangeLog update
Antony Dovgal [Tue, 29 Apr 2008 13:50:22 +0000 (13:50 +0000)]
fix spelling
Dmitry Stogov [Tue, 29 Apr 2008 13:43:49 +0000 (13:43 +0000)]
Fixed GC slowdown
Steph Fox [Tue, 29 Apr 2008 12:26:58 +0000 (12:26 +0000)]
- Allow setStub() to continue working
- Fix tests broken by earlier commit
Steph Fox [Tue, 29 Apr 2008 12:06:54 +0000 (12:06 +0000)]
- Prevent phars with empty manifests flushing to disk
- This would've fixed that test... removing clean section
@Greg: I commented out the call that breaks the Windows build, pending a decision about its future.
Steph Fox [Tue, 29 Apr 2008 11:37:33 +0000 (11:37 +0000)]
- Fix paths in test
Steph Fox [Tue, 29 Apr 2008 10:45:23 +0000 (10:45 +0000)]
- Add test for bug #13786
Ant Phillips [Tue, 29 Apr 2008 09:24:18 +0000 (09:24 +0000)]
More session tests to improve code coverage for untested extension code
Dmitry Stogov [Tue, 29 Apr 2008 09:18:54 +0000 (09:18 +0000)]
Added missing lazy initialization
Ant Phillips [Tue, 29 Apr 2008 08:57:10 +0000 (08:57 +0000)]
More session tests to improve code coverage for untested extension code
Dmitry Stogov [Tue, 29 Apr 2008 08:15:49 +0000 (08:15 +0000)]
Lazy EG(active_symbol_table) initialization
Antony Dovgal [Tue, 29 Apr 2008 08:08:10 +0000 (08:08 +0000)]
lexer fix by Greg
Antony Dovgal [Tue, 29 Apr 2008 08:04:11 +0000 (08:04 +0000)]
cosmetic enhancements
Antony Dovgal [Tue, 29 Apr 2008 07:26:39 +0000 (07:26 +0000)]
fix test
<changelog@php.net> [Tue, 29 Apr 2008 01:31:45 +0000 (01:31 +0000)]
ChangeLog update
Greg Beaver [Mon, 28 Apr 2008 23:00:46 +0000 (23:00 +0000)]
fix segfault (now all tests pass here)
Greg Beaver [Mon, 28 Apr 2008 22:57:21 +0000 (22:57 +0000)]
fix double free and broken stat.phpt