]> granicus.if.org Git - php/log
php
16 years agoMFB: Fixed test on systems where . and .. order not guaranteed
Ilia Alshanetsky [Mon, 24 Mar 2008 18:34:44 +0000 (18:34 +0000)]
MFB: Fixed test on systems where . and .. order not guaranteed

16 years agoChange streams to not use mmap() when reading files (aka copying to memory).
Antony Dovgal [Mon, 24 Mar 2008 16:28:08 +0000 (16:28 +0000)]
Change streams to not use mmap() when reading files (aka copying to memory).

There are two problems with mmap() in this case:
1) there is no performance gain since we allocate the memory anyways;
2) memcpy() may crash if somebody truncates this file at the same moment
(see http://dev.daylessday.org/diff/mmap.phps for example);

It seems to work fine with fpassthru(), though why it is so should be investigated.

Thanks to Andrey Vasilishin for the report and Anight for pressing this through =)

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

16 years ago- Add documentation
Marcus Boerger [Mon, 24 Mar 2008 12:53:28 +0000 (12:53 +0000)]
- Add documentation

16 years agoFixed ws and comment
Dmitry Stogov [Mon, 24 Mar 2008 09:30:54 +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:41 +0000 (09:00 +0000)]
Fixed tests (file order is undefined, so we need to sort() them)

16 years agoa subtle plea for help to Marcus...
Greg Beaver [Mon, 24 Mar 2008 03:05:24 +0000 (03:05 +0000)]
a subtle plea for help to Marcus...

16 years agofix read/write for PharData object, update tests to current API
Greg Beaver [Mon, 24 Mar 2008 03:01:31 +0000 (03:01 +0000)]
fix read/write for PharData object, update tests to current API

16 years agocheck for invalid aliases, add tests for this and direct setting of stub/alias
Greg Beaver [Mon, 24 Mar 2008 01:33:30 +0000 (01:33 +0000)]
check for invalid aliases, add tests for this and direct setting of stub/alias

16 years agoChangeLog update
<changelog@php.net> [Mon, 24 Mar 2008 01:31:45 +0000 (01:31 +0000)]
ChangeLog update

16 years agoprevent direct setting of stub or alias in tar/zip
Greg Beaver [Mon, 24 Mar 2008 01:18:50 +0000 (01:18 +0000)]
prevent direct setting of stub or alias in tar/zip

16 years agoupdate TODO
Greg Beaver [Sun, 23 Mar 2008 22:51:00 +0000 (22:51 +0000)]
update TODO

16 years agonot all tests have been converted over to the new API, but it works
Greg Beaver [Sun, 23 Mar 2008 22:42:45 +0000 (22:42 +0000)]
not all tests have been converted over to the new API, but it works

conversion is now split into 3 separate methods
1\) convertToZip\(\) convertToTar\(\) and convertToPhar\(\) exclusively change file format
2\) compress\(\) sets compression, accepting Phar::GZ, Phar::BZ2, or Phar::NONE
3\) convertToExecutable\(\) allows stub creation in tar/zip, convertToData\(\) prevents it

all methods return either Phar or PharData objects, allowing fluent interface.

only 1 test has been converted to the new format, but the API works

16 years agoadd Phar->getPath() for retrieving the full path to the phar archive.
Greg Beaver [Sun, 23 Mar 2008 19:03:15 +0000 (19:03 +0000)]
add Phar->getPath() for retrieving the full path to the phar archive.
this is useful for renaming and also always returns the realpath()

16 years agofix param parsing for Phar::running() to be optional
Greg Beaver [Sun, 23 Mar 2008 17:36:57 +0000 (17:36 +0000)]
fix param parsing for Phar::running() to be optional
# this is the last bug for ZF app - it now works!

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

16 years agoMFB: removed unused var
Ilia Alshanetsky [Sun, 23 Mar 2008 15:49:51 +0000 (15:49 +0000)]
MFB: removed unused var

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

16 years agodon't disallow opening .tar/.zip files as Phar object if readonly is disabled, the...
Greg Beaver [Sun, 23 Mar 2008 06:59:59 +0000 (06:59 +0000)]
don't disallow opening .tar/.zip files as Phar object if readonly is disabled, the whole idea is to be able to
add crap including an automatic stub or explicit stub

16 years agorename Phar::getRunningPhar\(\) to Phar::running\(\) and by default return the full
Greg Beaver [Sun, 23 Mar 2008 06:00:31 +0000 (06:00 +0000)]
rename Phar::getRunningPhar\(\) to Phar::running\(\) and by default return the full
phar url, if optional parameter is false, return the path to the phar on disk.  Fix a double free on failed mount

16 years agofix potential segfault by misuse of phar_find_in_include_path
Greg Beaver [Sun, 23 Mar 2008 05:39:58 +0000 (05:39 +0000)]
fix potential segfault by misuse of phar_find_in_include_path

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

16 years agofix memleak found by valgrind
Greg Beaver [Sun, 23 Mar 2008 00:05:53 +0000 (00:05 +0000)]
fix memleak found by valgrind

16 years agofix Bug #13110: using rewrite parameter to webPhar causes memory error
Greg Beaver [Sat, 22 Mar 2008 22:56:04 +0000 (22:56 +0000)]
fix Bug #13110: using rewrite parameter to webPhar causes memory error

16 years agoadd failing test for bug #13110
Greg Beaver [Sat, 22 Mar 2008 22:44:21 +0000 (22:44 +0000)]
add failing test for bug #13110

16 years agomove all blah++ to ++blah where possible for those with crapass compilers
Greg Beaver [Sat, 22 Mar 2008 22:11:49 +0000 (22:11 +0000)]
move all blah++ to ++blah where possible for those with crapass compilers

16 years agofix all frontcontroller tests - cgi sapi was not being detected, only fastcgi
Greg Beaver [Sat, 22 Mar 2008 22:04:21 +0000 (22:04 +0000)]
fix all frontcontroller tests - cgi sapi was not being detected, only fastcgi

16 years agofix memleak in php 5.2, simplify code slightly
Greg Beaver [Sat, 22 Mar 2008 21:54:55 +0000 (21:54 +0000)]
fix memleak in php 5.2, simplify code slightly

16 years agoSatisfy Greg's inertia
Steph Fox [Sat, 22 Mar 2008 21:54:15 +0000 (21:54 +0000)]
Satisfy Greg's inertia

16 years agofix test
Greg Beaver [Sat, 22 Mar 2008 21:53:11 +0000 (21:53 +0000)]
fix test

16 years ago- Fixed compilation warnings
Felipe Pena [Sat, 22 Mar 2008 20:37:08 +0000 (20:37 +0000)]
- Fixed compilation warnings

16 years agoFixed compilation warnings
Felipe Pena [Sat, 22 Mar 2008 19:29:43 +0000 (19:29 +0000)]
Fixed compilation warnings

16 years ago- Renamed zend_do_fetch_class_name() to zend_do_build_full_name() (It is not used...
Felipe Pena [Sat, 22 Mar 2008 19:10:20 +0000 (19:10 +0000)]
- 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 agoMake versioning more standard
Steph Fox [Sat, 22 Mar 2008 17:09:24 +0000 (17:09 +0000)]
Make versioning more standard

16 years ago- Fix build for PHP < 5.3
Marcus Boerger [Sat, 22 Mar 2008 16:33:33 +0000 (16:33 +0000)]
- Fix build for PHP < 5.3

16 years ago- Added some UEXPECTs
Felipe Pena [Sat, 22 Mar 2008 14:58:29 +0000 (14:58 +0000)]
- Added some UEXPECTs
- Fixed some tests

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

16 years ago- Update and include 'channel://pear.php.net/PHP_Archive-0.11.3'
Marcus Boerger [Sat, 22 Mar 2008 01:52:12 +0000 (01:52 +0000)]
- Update and include 'channel://pear.php.net/PHP_Archive-0.11.3'

16 years ago- Still missed one debug output
Marcus Boerger [Sat, 22 Mar 2008 01:48:45 +0000 (01:48 +0000)]
- Still missed one debug output

16 years agoChangeLog update
<changelog@php.net> [Sat, 22 Mar 2008 01:31:41 +0000 (01:31 +0000)]
ChangeLog update

16 years ago- If multiple possible exts are found use the first one.
Marcus Boerger [Sat, 22 Mar 2008 00:15:45 +0000 (00:15 +0000)]
- If multiple possible exts are found use the first one.
  This fixes an issue with: phar.phar info -f install-pear-nozlib.phar
  because that archive contains a .tar file

16 years ago- Constify
Marcus Boerger [Sat, 22 Mar 2008 00:11:43 +0000 (00:11 +0000)]
- Constify

16 years ago- Don't throw exception for uninitialized instance
Marcus Boerger [Fri, 21 Mar 2008 23:56:52 +0000 (23:56 +0000)]
- Don't throw exception for uninitialized instance

16 years ago- Damn forgot to remove the debug code
Marcus Boerger [Fri, 21 Mar 2008 23:31:31 +0000 (23:31 +0000)]
- Damn forgot to remove the debug code

16 years ago- Fix stub/hashbang generation
Marcus Boerger [Fri, 21 Mar 2008 23:22:18 +0000 (23:22 +0000)]
- Fix stub/hashbang generation

16 years ago- Fix error message
Marcus Boerger [Fri, 21 Mar 2008 23:07:44 +0000 (23:07 +0000)]
- Fix error message

16 years ago- Simplify zend_do_build_namespace_name()
Felipe Pena [Fri, 21 Mar 2008 20:41:22 +0000 (20:41 +0000)]
- Simplify zend_do_build_namespace_name()
- Fix macro (Z_USTRLEN/Z_STRLEN -> Z_UNILEN) in zend_do_fetch_class_name()

16 years agofix the memleak - but this breaks the \*compressAllFiles\*() methods because of fatal...
Greg Beaver [Fri, 21 Mar 2008 19:54:07 +0000 (19:54 +0000)]
fix the memleak - but this breaks the \*compressAllFiles\*() methods because of fatal flaw
in renaming implementation - see pecl-dev email for details

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

16 years agowith stream wrappers in include_path, and after marcus's last fix, only 1 failing...
Greg Beaver [Fri, 21 Mar 2008 18:50:22 +0000 (18:50 +0000)]
with stream wrappers in include_path, and after marcus's last fix, only 1 failing test (tar/tar_makegz.phpt)

add mounted file/dir to url stat

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

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

16 years ago[DOC] revert short tags to their previous state
Antony Dovgal [Fri, 21 Mar 2008 16:38:50 +0000 (16:38 +0000)]
[DOC] revert short tags to their previous state

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

16 years agofix #43477 (Error mode ignored in unicode_decode())
Antony Dovgal [Fri, 21 Mar 2008 12:09:28 +0000 (12:09 +0000)]
fix #43477 (Error mode ignored in unicode_decode())
patch by Stephen Bach

16 years agosync with 5_3
Antony Dovgal [Fri, 21 Mar 2008 12:07:14 +0000 (12:07 +0000)]
sync with 5_3

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

16 years agoDeliberate test breakage (no idea how many) in an attempt to see where the valgrind...
Steph Fox [Fri, 21 Mar 2008 05:22:10 +0000 (05:22 +0000)]
Deliberate test breakage (no idea how many) in an attempt to see where the valgrind 'bad news' is coming from on gcov.php.net.

16 years agoCosmetics (RC data)
Steph Fox [Fri, 21 Mar 2008 05:05:23 +0000 (05:05 +0000)]
Cosmetics (RC data)

16 years agoChangeLog update
<changelog@php.net> [Fri, 21 Mar 2008 01:31:42 +0000 (01:31 +0000)]
ChangeLog update

16 years agosave work - sandbox is completely f**ed up, have to rm -rf and start again
Greg Beaver [Thu, 20 Mar 2008 23:59:07 +0000 (23:59 +0000)]
save work - sandbox is completely f**ed up, have to rm -rf and start again

This *SHOULD* fix issues, but I can't get run-tests to work reliably to be absolutely sure

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

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

16 years agoMF5: make short_open_tag user-accessible
Stanislav Malyshev [Thu, 20 Mar 2008 17:31:17 +0000 (17:31 +0000)]
MF5: make short_open_tag user-accessible

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

16 years agoSmall fix and a test case to prove it
Andrey Hristov [Thu, 20 Mar 2008 15:34:09 +0000 (15:34 +0000)]
Small fix and a test case to prove it

16 years agoMissing lines from the param-bind-non-changing fix
Andrey Hristov [Thu, 20 Mar 2008 13:58:46 +0000 (13:58 +0000)]
Missing lines from the param-bind-non-changing fix

16 years ago- Don't modify the variables which are passed for parameter binding.
Andrey Hristov [Thu, 20 Mar 2008 13:25:49 +0000 (13:25 +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.
- 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 agoexpect->expectf
Antony Dovgal [Thu, 20 Mar 2008 12:13:57 +0000 (12:13 +0000)]
expect->expectf

16 years agofix tests (tcp_socket is tcp_socket/ssl when/if openssl is enabled)
Antony Dovgal [Thu, 20 Mar 2008 08:35:11 +0000 (08:35 +0000)]
fix tests (tcp_socket is tcp_socket/ssl when/if openssl is enabled)

16 years agoChangeLog update
<changelog@php.net> [Thu, 20 Mar 2008 01:31:43 +0000 (01:31 +0000)]
ChangeLog update

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

16 years agoadd
Nuno Lopes [Wed, 19 Mar 2008 23:26:58 +0000 (23:26 +0000)]
add

16 years agocatch up with the latest release
George Wang [Wed, 19 Mar 2008 22:43:25 +0000 (22:43 +0000)]
catch up with the latest release

16 years agoFixed test
Felipe Pena [Wed, 19 Mar 2008 19:16:58 +0000 (19:16 +0000)]
Fixed test

16 years agoAdding language tests.
Steve Seear [Wed, 19 Mar 2008 18:06:22 +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:08 +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:49 +0000 (17:43 +0000)]
Adding tokenizer test

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

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

16 years agoMFB
Rasmus Lerdorf [Wed, 19 Mar 2008 16:37:49 +0000 (16:37 +0000)]
MFB

Here are the signal changes from the 5.3 branch that optimizes signal
handler registration and switches from longjmp to siglongjmp in order
to make signal mask handling consistent across different UNIX operating
systems.

16 years agoCosmetic
Felipe Pena [Wed, 19 Mar 2008 15:34:38 +0000 (15:34 +0000)]
Cosmetic

16 years agoFixed test
Felipe Pena [Wed, 19 Mar 2008 15:22:59 +0000 (15:22 +0000)]
Fixed test

16 years agoFixed tests
Felipe Pena [Wed, 19 Mar 2008 15:13:12 +0000 (15:13 +0000)]
Fixed tests

16 years agoFixed test
Felipe Pena [Wed, 19 Mar 2008 14:55:58 +0000 (14:55 +0000)]
Fixed test

16 years agoFixed test
Felipe Pena [Wed, 19 Mar 2008 14:45:24 +0000 (14:45 +0000)]
Fixed test

16 years agoAdded UEXPECT
Felipe Pena [Wed, 19 Mar 2008 14:19:54 +0000 (14:19 +0000)]
Added UEXPECT

16 years agofix test
Antony Dovgal [Wed, 19 Mar 2008 14:00:47 +0000 (14:00 +0000)]
fix test

16 years agoFixed error message (%s -> %v)
Felipe Pena [Wed, 19 Mar 2008 14:00:46 +0000 (14:00 +0000)]
Fixed error message (%s -> %v)

16 years agofix typo
Antony Dovgal [Wed, 19 Mar 2008 12:44:05 +0000 (12:44 +0000)]
fix typo

16 years agomake use of zend_atol()
Antony Dovgal [Wed, 19 Mar 2008 12:40:48 +0000 (12:40 +0000)]
make use of zend_atol()

16 years agoadd zend_atol() and use it instead of zend_atoi() where applicable
Antony Dovgal [Wed, 19 Mar 2008 12:40:20 +0000 (12:40 +0000)]
add zend_atol() and use it instead of zend_atoi() where applicable

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

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

16 years agoChangeLog update
<changelog@php.net> [Wed, 19 Mar 2008 01:31:36 +0000 (01:31 +0000)]
ChangeLog update

16 years agoMFB: Bug #44445 (email validator does not handle domains starting/ending
Ilia Alshanetsky [Tue, 18 Mar 2008 23:32:56 +0000 (23:32 +0000)]
MFB: Bug #44445 (email validator does not handle domains starting/ending
with a -)

16 years agoMFB : fix the build
Andrey Hristov [Tue, 18 Mar 2008 17:32:03 +0000 (17:32 +0000)]
MFB : fix the build

16 years agoMFB - Bug #44352 mysqli_connect_error() false negative for host errors
Andrey Hristov [Tue, 18 Mar 2008 16:58:43 +0000 (16:58 +0000)]
MFB - Bug #44352 mysqli_connect_error() false negative for host errors

16 years agoAdding more tests for serialize() and unserialize().
Robin Fernandes [Tue, 18 Mar 2008 15:12:42 +0000 (15:12 +0000)]
Adding more tests for serialize() and unserialize().

16 years agoRemoved hack (we don't need to modify class name).
Dmitry Stogov [Tue, 18 Mar 2008 11:37:15 +0000 (11:37 +0000)]
Removed hack (we don't need to modify class name).
(the problem is covered by Zend/tests/ns_056.phpt)