]> granicus.if.org Git - php/log
php
17 years agoFix memory errors
Andrey Hristov [Thu, 14 Feb 2008 14:48:57 +0000 (14:48 +0000)]
Fix memory errors

17 years agoFixed bug #44069 (Huge memory usage with concatenation using . instead of .=)
Dmitry Stogov [Thu, 14 Feb 2008 14:42:16 +0000 (14:42 +0000)]
Fixed bug #44069 (Huge memory usage with concatenation using . instead of .=)

17 years ago- New tests for array_values() function
Josie Messa [Thu, 14 Feb 2008 14:20:51 +0000 (14:20 +0000)]
- New tests for array_values() function

17 years agoMFB: Fixed Bug #42838 (Wrong results in array_diff_uassoc)
Felipe Pena [Thu, 14 Feb 2008 14:17:32 +0000 (14:17 +0000)]
MFB: Fixed Bug #42838 (Wrong results in array_diff_uassoc)

17 years agoNew test
Felipe Pena [Thu, 14 Feb 2008 13:51:15 +0000 (13:51 +0000)]
New test

17 years agoUpdate mysqlnd - fix bg_store
Andrey Hristov [Thu, 14 Feb 2008 12:51:00 +0000 (12:51 +0000)]
Update mysqlnd - fix bg_store

17 years ago- New tests for array_slice() function
Josie Messa [Thu, 14 Feb 2008 11:13:56 +0000 (11:13 +0000)]
- New tests for array_slice() function

17 years agoReverted memrchr() patch, because it is broken on linux 64-bit
Dmitry Stogov [Thu, 14 Feb 2008 10:25:10 +0000 (10:25 +0000)]
Reverted memrchr() patch, because it is broken on linux 64-bit

17 years agoFixed memory leak
Dmitry Stogov [Thu, 14 Feb 2008 08:46:42 +0000 (08:46 +0000)]
Fixed memory leak

17 years agoChangeLog update
<changelog@php.net> [Thu, 14 Feb 2008 01:31:28 +0000 (01:31 +0000)]
ChangeLog update

17 years ago- Add some missing elements from the return value.
Derick Rethans [Wed, 13 Feb 2008 21:53:01 +0000 (21:53 +0000)]
- Add some missing elements from the return value.

17 years ago- Add missig .cvsignore
Marcus Boerger [Wed, 13 Feb 2008 21:03:58 +0000 (21:03 +0000)]
- Add missig .cvsignore

17 years agoFix inconcistencies between substr and substr_compare
Etienne Kneuss [Wed, 13 Feb 2008 16:59:56 +0000 (16:59 +0000)]
Fix inconcistencies between substr and substr_compare

17 years ago- New tests for array_shift() function
Josie Messa [Wed, 13 Feb 2008 16:40:42 +0000 (16:40 +0000)]
- New tests for array_shift() function

17 years agoUse memrchr() instead of zend_memrchr() if available. (Nuno)
Dmitry Stogov [Wed, 13 Feb 2008 16:22:12 +0000 (16:22 +0000)]
Use memrchr() instead of zend_memrchr() if available. (Nuno)

17 years ago- New tests for array_push() function
Josie Messa [Wed, 13 Feb 2008 16:14:02 +0000 (16:14 +0000)]
- New tests for array_push() function

17 years agoremove refcount hack to workaround zlib memleak fixed in zlib
Greg Beaver [Wed, 13 Feb 2008 15:00:31 +0000 (15:00 +0000)]
remove refcount hack to workaround zlib memleak fixed in zlib
intercepted file functions now fall through if the file is not found in the phar, this allows access to external libraries
actually use include_path for locating files for inclusion and in file_get_contents/fopen when include_path is requested.
This allows applications like Zend Framework MVC implementation to function properly

17 years ago- committing tests for array_merge() function
Josie Messa [Wed, 13 Feb 2008 14:19:37 +0000 (14:19 +0000)]
- committing tests for array_merge() function

17 years ago- committig tests for array_key_exists() function
Josie Messa [Wed, 13 Feb 2008 13:12:06 +0000 (13:12 +0000)]
- committig tests for array_key_exists() function

17 years ago- Make this behave like in <= 5.2.5 and test for it
Marcus Boerger [Wed, 13 Feb 2008 12:01:16 +0000 (12:01 +0000)]
- Make this behave like in <= 5.2.5 and test for it

17 years agoChangeLog update
<changelog@php.net> [Wed, 13 Feb 2008 01:31:29 +0000 (01:31 +0000)]
ChangeLog update

17 years agofix potential memleak due to destruction of filterparams zval
Greg Beaver [Tue, 12 Feb 2008 23:27:46 +0000 (23:27 +0000)]
fix potential memleak due to destruction of filterparams zval

17 years agoFix Windows build. VC doesn't like nested macros - expansion + #if
Andrey Hristov [Tue, 12 Feb 2008 22:06:06 +0000 (22:06 +0000)]
Fix Windows build. VC doesn't like nested macros - expansion + #if

17 years ago- Make clear what's going on and avoid overwriting parameters
Johannes Schlüter [Tue, 12 Feb 2008 20:43:28 +0000 (20:43 +0000)]
- Make clear what's going on and avoid overwriting parameters

17 years ago- Fix build with TSRM and mysqlnd
Johannes Schlüter [Tue, 12 Feb 2008 20:18:56 +0000 (20:18 +0000)]
- Fix build with TSRM and mysqlnd

17 years ago- committing array_change_key_case variation tests
Josie Messa [Tue, 12 Feb 2008 17:45:47 +0000 (17:45 +0000)]
- committing array_change_key_case variation tests

17 years agoAdd missing SKIPIF, rename vars for readability
Steph Fox [Tue, 12 Feb 2008 16:55:50 +0000 (16:55 +0000)]
Add missing SKIPIF, rename vars for readability

17 years ago- it helps if you add the new files :)
Steph Fox [Tue, 12 Feb 2008 16:42:35 +0000 (16:42 +0000)]
- it helps if you add the new files :)

17 years agoMake tests/tar in line with tests/zip.
Steph Fox [Tue, 12 Feb 2008 16:39:59 +0000 (16:39 +0000)]
Make tests/tar in line with tests/zip.

17 years agonuke unnecessary TSRMLS_FETCH()
Antony Dovgal [Tue, 12 Feb 2008 10:54:27 +0000 (10:54 +0000)]
nuke unnecessary TSRMLS_FETCH()

17 years agoFix typo
Andrey Hristov [Tue, 12 Feb 2008 10:51:25 +0000 (10:51 +0000)]
Fix typo

17 years agoMFB: Fixed Bug #44094 (SEGFAULT when using mysql_connect())
Felipe Pena [Tue, 12 Feb 2008 10:15:16 +0000 (10:15 +0000)]
MFB: Fixed Bug #44094 (SEGFAULT when using mysql_connect())

17 years agoAdded NOWDOC
Dmitry Stogov [Tue, 12 Feb 2008 09:28:30 +0000 (09:28 +0000)]
Added NOWDOC

17 years agoFixed comilation warnings
Dmitry Stogov [Tue, 12 Feb 2008 09:00:07 +0000 (09:00 +0000)]
Fixed comilation warnings

17 years agoFixed ext/tokenizer test failures because of token renumbering
Dmitry Stogov [Tue, 12 Feb 2008 08:49:19 +0000 (08:49 +0000)]
Fixed ext/tokenizer test failures because of token renumbering

17 years agofix TSRM build
Greg Beaver [Tue, 12 Feb 2008 05:38:01 +0000 (05:38 +0000)]
fix TSRM build

17 years agoupdate TODO to reflect must-haves prior to 2.0
Greg Beaver [Tue, 12 Feb 2008 05:36:02 +0000 (05:36 +0000)]
update TODO to reflect must-haves prior to 2.0

17 years agofix test (all tests pass on unix now)
Greg Beaver [Tue, 12 Feb 2008 05:30:59 +0000 (05:30 +0000)]
fix test (all tests pass on unix now)

17 years agofix remaining broken tests broken by the addition of phar->fp closing
Greg Beaver [Tue, 12 Feb 2008 05:28:06 +0000 (05:28 +0000)]
fix remaining broken tests broken by the addition of phar->fp closing

17 years agofix some of the failing tests due to non-reopened phar fp
Greg Beaver [Tue, 12 Feb 2008 05:16:53 +0000 (05:16 +0000)]
fix some of the failing tests due to non-reopened phar fp

17 years agoMFB: array_slice() - Fixed behavior when NULL is given in third parameter (BC)
Felipe Pena [Tue, 12 Feb 2008 01:49:42 +0000 (01:49 +0000)]
MFB: array_slice() - Fixed behavior when NULL is given in third parameter (BC)

17 years agoChangeLog update
<changelog@php.net> [Tue, 12 Feb 2008 01:31:25 +0000 (01:31 +0000)]
ChangeLog update

17 years agofix build
Stanislav Malyshev [Tue, 12 Feb 2008 01:30:58 +0000 (01:30 +0000)]
fix build

17 years agoNew test
Felipe Pena [Tue, 12 Feb 2008 01:21:29 +0000 (01:21 +0000)]
New test

17 years agoHNY
Stanislav Malyshev [Tue, 12 Feb 2008 01:04:15 +0000 (01:04 +0000)]
HNY

17 years agoMFB __DIR__ constant support
Stanislav Malyshev [Tue, 12 Feb 2008 01:04:08 +0000 (01:04 +0000)]
MFB __DIR__ constant support

17 years agoMFB __DIR_ constant support
Stanislav Malyshev [Tue, 12 Feb 2008 01:02:06 +0000 (01:02 +0000)]
MFB __DIR_ constant support

17 years agoMFB tests for __DIR__
Stanislav Malyshev [Tue, 12 Feb 2008 00:46:32 +0000 (00:46 +0000)]
MFB tests for __DIR__

17 years agoThere's a difference between 'BORKED' and 'FAILED'...
Steph Fox [Mon, 11 Feb 2008 21:05:47 +0000 (21:05 +0000)]
There's a difference between 'BORKED' and 'FAILED'...

17 years agoFunnily enough those frontcontroller tests still pass here! Investigating...
Steph Fox [Mon, 11 Feb 2008 20:55:44 +0000 (20:55 +0000)]
Funnily enough those frontcontroller tests still pass here! Investigating...

17 years agokill a couple of msvc warnings
Steph Fox [Mon, 11 Feb 2008 20:53:05 +0000 (20:53 +0000)]
kill a couple of msvc warnings

17 years agorevert last commit to phar_object.c
Greg Beaver [Mon, 11 Feb 2008 17:13:18 +0000 (17:13 +0000)]
revert last commit to phar_object.c
fix open file pointers issue on windows

17 years agoadd destructor for Phar object to decrease refcount
Greg Beaver [Mon, 11 Feb 2008 16:49:53 +0000 (16:49 +0000)]
add destructor for Phar object to decrease refcount

17 years agocvs sync
Andrey Hristov [Mon, 11 Feb 2008 16:45:15 +0000 (16:45 +0000)]
cvs sync

17 years agoProvide ctod/dtor with TSRM
Etienne Kneuss [Mon, 11 Feb 2008 16:38:01 +0000 (16:38 +0000)]
Provide ctod/dtor with TSRM

17 years agoMFB:Fixed test on 64bit machines
Ilia Alshanetsky [Mon, 11 Feb 2008 16:23:25 +0000 (16:23 +0000)]
MFB:Fixed test on 64bit machines

17 years agoFix test (missing result)
Felipe Pena [Mon, 11 Feb 2008 15:57:34 +0000 (15:57 +0000)]
Fix test (missing result)

17 years agoMFB: Fix segfaults when calling ctors statically
Hannes Magnusson [Mon, 11 Feb 2008 15:54:46 +0000 (15:54 +0000)]
MFB: Fix segfaults when calling ctors statically

17 years agoFix test (UEXPECTF)
Felipe Pena [Mon, 11 Feb 2008 15:46:51 +0000 (15:46 +0000)]
Fix test (UEXPECTF)

17 years agonew 6.0 flag
Andrey Hristov [Mon, 11 Feb 2008 14:48:39 +0000 (14:48 +0000)]
new 6.0 flag

17 years agothis is integer, not pointer
Antony Dovgal [Mon, 11 Feb 2008 13:34:26 +0000 (13:34 +0000)]
this is integer, not pointer

17 years agofix windows pathname issues
Greg Beaver [Mon, 11 Feb 2008 07:33:20 +0000 (07:33 +0000)]
fix windows pathname issues

17 years agofix TSRM and 5.2 build
Greg Beaver [Mon, 11 Feb 2008 06:58:56 +0000 (06:58 +0000)]
fix TSRM and 5.2 build

17 years agoupdate TODO
Greg Beaver [Mon, 11 Feb 2008 06:54:46 +0000 (06:54 +0000)]
update TODO

17 years agomove creation of phar archive to the point at which it is committed to disk, instead of
Greg Beaver [Mon, 11 Feb 2008 06:53:56 +0000 (06:53 +0000)]
move creation of phar archive to the point at which it is committed to disk, instead of
at the moment it is attempted access. (making some real progress now, all tests pass on unix)

17 years agominor refactoring to remove 1 call to zend_get_executed_filename()
Greg Beaver [Mon, 11 Feb 2008 06:49:22 +0000 (06:49 +0000)]
minor refactoring to remove 1 call to zend_get_executed_filename()

17 years agonew test for special tar-based app and more iteration test
Greg Beaver [Mon, 11 Feb 2008 06:47:26 +0000 (06:47 +0000)]
new test for special tar-based app and more iteration test

17 years agomajor refactoring of internal handling of aliases.
Greg Beaver [Mon, 11 Feb 2008 06:46:44 +0000 (06:46 +0000)]
major refactoring of internal handling of aliases.
1) rename is_explicit_alias to is_temporary_alias for clarity and flip the value
2) fix setAlias so that it sets a permanent to-be-saved alias, and restores the old one on error
3) fix Phar constructor to work with sub-directories in RecursiveDirectoryIterator

17 years agofix 5.2 build
Greg Beaver [Mon, 11 Feb 2008 04:48:58 +0000 (04:48 +0000)]
fix 5.2 build

17 years agoChangeLog update
<changelog@php.net> [Mon, 11 Feb 2008 01:31:26 +0000 (01:31 +0000)]
ChangeLog update

17 years agoupdate test phars
Greg Beaver [Mon, 11 Feb 2008 01:07:53 +0000 (01:07 +0000)]
update test phars

17 years ago- Fix typo (see #44095)
Johannes Schlüter [Mon, 11 Feb 2008 00:00:48 +0000 (00:00 +0000)]
- Fix typo (see #44095)

17 years agoThe exact message differs on different systems
Johannes Schlüter [Sun, 10 Feb 2008 23:36:27 +0000 (23:36 +0000)]
The exact message differs on different systems

17 years agoCosmetics, move stuff around, ws
Etienne Kneuss [Sun, 10 Feb 2008 14:07:40 +0000 (14:07 +0000)]
Cosmetics, move stuff around, ws

17 years agoFixed Bug #42229 (fgetcsv() behaves differently for a file containing '\n' with php5...
Felipe Pena [Sun, 10 Feb 2008 04:09:12 +0000 (04:09 +0000)]
Fixed Bug #42229 (fgetcsv() behaves differently for a file containing '\n' with php5 and php6)

17 years agoNew test
Felipe Pena [Sun, 10 Feb 2008 03:55:39 +0000 (03:55 +0000)]
New test

17 years agoFixed Bug #42163 (fgetcsv() gives different output with and without Unicode)
Felipe Pena [Sun, 10 Feb 2008 02:13:37 +0000 (02:13 +0000)]
Fixed Bug #42163 (fgetcsv() gives different output with and without Unicode)

17 years agoChangeLog update
<changelog@php.net> [Sun, 10 Feb 2008 01:31:36 +0000 (01:31 +0000)]
ChangeLog update

17 years agoFix build on Solaris
Johannes Schlüter [Sat, 9 Feb 2008 21:58:39 +0000 (21:58 +0000)]
Fix build on Solaris

17 years ago- Windows build fix
Marcus Boerger [Sat, 9 Feb 2008 21:22:22 +0000 (21:22 +0000)]
- Windows build fix

17 years agoFixed bugs:
Felipe Pena [Sat, 9 Feb 2008 19:46:49 +0000 (19:46 +0000)]
Fixed bugs:
- #42036 fgetc() sets end of the file flag when reading on write only file
- #42037 fgetc() retuns one char when fails to read on php6

17 years agoNew test for strtok
Felipe Pena [Sat, 9 Feb 2008 18:12:45 +0000 (18:12 +0000)]
New test for strtok

17 years agoChangeLog update
<changelog@php.net> [Sat, 9 Feb 2008 01:31:27 +0000 (01:31 +0000)]
ChangeLog update

17 years agofix ===DONE=== with windows EOLs
Nuno Lopes [Fri, 8 Feb 2008 16:47:20 +0000 (16:47 +0000)]
fix ===DONE=== with windows EOLs

17 years agoMFB: add new test
Nuno Lopes [Fri, 8 Feb 2008 13:49:53 +0000 (13:49 +0000)]
MFB: add new test

17 years agoRemove dead code
Andrey Hristov [Fri, 8 Feb 2008 09:57:01 +0000 (09:57 +0000)]
Remove dead code

17 years ago- Type
Marcus Boerger [Fri, 8 Feb 2008 09:28:15 +0000 (09:28 +0000)]
- Type

17 years agoadd ifdefs and fix folding
Antony Dovgal [Fri, 8 Feb 2008 09:25:02 +0000 (09:25 +0000)]
add ifdefs and fix folding

17 years agofix 5_3 build
Antony Dovgal [Fri, 8 Feb 2008 09:21:24 +0000 (09:21 +0000)]
fix 5_3 build

17 years agoImproved md5() implementation (Solar Designer)
Dmitry Stogov [Fri, 8 Feb 2008 09:11:28 +0000 (09:11 +0000)]
Improved md5() implementation (Solar Designer)

17 years agofix issues in opendir() with empty directories within a phar archive, port filterpara...
Greg Beaver [Fri, 8 Feb 2008 05:57:40 +0000 (05:57 +0000)]
fix issues in opendir() with empty directories within a phar archive, port filterparams fix to tar.c

17 years agomake maximum manifest size 100MB for phar archives, simple apps are hitting the 1...
Greg Beaver [Fri, 8 Feb 2008 05:56:26 +0000 (05:56 +0000)]
make maximum manifest size 100MB for phar archives, simple apps are hitting the 1 MB limit quite easily.

17 years agobetter fix for double free - ensure that SEPARATE_ZVAL() inside
Greg Beaver [Fri, 8 Feb 2008 05:41:59 +0000 (05:41 +0000)]
better fix for double free - ensure that SEPARATE_ZVAL() inside
zlib_filter.c actually separates the zval, then we can zval_dtor() it
properly

17 years agoremove test accidentally added
Greg Beaver [Fri, 8 Feb 2008 05:08:18 +0000 (05:08 +0000)]
remove test accidentally added

17 years agoremove unnecessary INIT_ZVAL(filterparams) that causes unfreed value
Greg Beaver [Fri, 8 Feb 2008 05:05:13 +0000 (05:05 +0000)]
remove unnecessary INIT_ZVAL(filterparams) that causes unfreed value

17 years agofix memory leaks. There are some leaks in libz that I can't fix, but none triggered...
Greg Beaver [Fri, 8 Feb 2008 04:26:41 +0000 (04:26 +0000)]
fix memory leaks.  There are some leaks in libz that I can't fix, but none triggered in the current tests

17 years agoSEPARATE_ZVAL does not work for this situation. We always want
Greg Beaver [Fri, 8 Feb 2008 03:53:17 +0000 (03:53 +0000)]
SEPARATE_ZVAL does not work for this situation.  We always want
to duplicate and copy, so do it manually and reset refcount to 1

17 years agoChangeLog update
<changelog@php.net> [Fri, 8 Feb 2008 01:31:29 +0000 (01:31 +0000)]
ChangeLog update

17 years agofix flipped logic
Greg Beaver [Fri, 8 Feb 2008 01:08:02 +0000 (01:08 +0000)]
fix flipped logic

17 years agofix mem leaks
Greg Beaver [Fri, 8 Feb 2008 01:06:12 +0000 (01:06 +0000)]
fix mem leaks
strip trailing slash if present in a directory entry.  This code assumes that
tar_type is directory, as it must be to be a valid directory.