]>
granicus.if.org Git - php/log
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)
Greg Beaver [Mon, 24 Mar 2008 03:05:24 +0000 (03:05 +0000)]
a subtle plea for help to Marcus...
Greg Beaver [Mon, 24 Mar 2008 03:01:31 +0000 (03:01 +0000)]
fix read/write for PharData object, update tests to current API
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
<changelog@php.net> [Mon, 24 Mar 2008 01:31:45 +0000 (01:31 +0000)]
ChangeLog update
Greg Beaver [Mon, 24 Mar 2008 01:18:50 +0000 (01:18 +0000)]
prevent direct setting of stub or alias in tar/zip
Greg Beaver [Sun, 23 Mar 2008 22:51:00 +0000 (22:51 +0000)]
update TODO
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
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()
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!
Marcus Boerger [Sun, 23 Mar 2008 16:51:52 +0000 (16:51 +0000)]
- Add .cvsignore
Ilia Alshanetsky [Sun, 23 Mar 2008 15:49:51 +0000 (15:49 +0000)]
MFB: removed unused var
Marcus Boerger [Sun, 23 Mar 2008 13:38:20 +0000 (13:38 +0000)]
- MFH Add tests
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
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
Greg Beaver [Sun, 23 Mar 2008 05:39:58 +0000 (05:39 +0000)]
fix potential segfault by misuse of phar_find_in_include_path
<changelog@php.net> [Sun, 23 Mar 2008 01:31:36 +0000 (01:31 +0000)]
ChangeLog update
Greg Beaver [Sun, 23 Mar 2008 00:05:53 +0000 (00:05 +0000)]
fix memleak found by valgrind
Greg Beaver [Sat, 22 Mar 2008 22:56:04 +0000 (22:56 +0000)]
fix Bug #13110: using rewrite parameter to webPhar causes memory error
Greg Beaver [Sat, 22 Mar 2008 22:44:21 +0000 (22:44 +0000)]
add failing test for bug #13110
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
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
Greg Beaver [Sat, 22 Mar 2008 21:54:55 +0000 (21:54 +0000)]
fix memleak in php 5.2, simplify code slightly
Steph Fox [Sat, 22 Mar 2008 21:54:15 +0000 (21:54 +0000)]
Satisfy Greg's inertia
Greg Beaver [Sat, 22 Mar 2008 21:53:11 +0000 (21:53 +0000)]
fix test
Felipe Pena [Sat, 22 Mar 2008 20:37:08 +0000 (20:37 +0000)]
- Fixed compilation warnings
Felipe Pena [Sat, 22 Mar 2008 19:29:43 +0000 (19:29 +0000)]
Fixed compilation warnings
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
Steph Fox [Sat, 22 Mar 2008 17:09:24 +0000 (17:09 +0000)]
Make versioning more standard
Marcus Boerger [Sat, 22 Mar 2008 16:33:33 +0000 (16:33 +0000)]
- Fix build for PHP < 5.3
Felipe Pena [Sat, 22 Mar 2008 14:58:29 +0000 (14:58 +0000)]
- Added some UEXPECTs
- Fixed some tests
Antony Dovgal [Sat, 22 Mar 2008 12:56:07 +0000 (12:56 +0000)]
use correct flags
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'
Marcus Boerger [Sat, 22 Mar 2008 01:48:45 +0000 (01:48 +0000)]
- Still missed one debug output
<changelog@php.net> [Sat, 22 Mar 2008 01:31:41 +0000 (01:31 +0000)]
ChangeLog update
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
Marcus Boerger [Sat, 22 Mar 2008 00:11:43 +0000 (00:11 +0000)]
- Constify
Marcus Boerger [Fri, 21 Mar 2008 23:56:52 +0000 (23:56 +0000)]
- Don't throw exception for uninitialized instance
Marcus Boerger [Fri, 21 Mar 2008 23:31:31 +0000 (23:31 +0000)]
- Damn forgot to remove the debug code
Marcus Boerger [Fri, 21 Mar 2008 23:22:18 +0000 (23:22 +0000)]
- Fix stub/hashbang generation
Marcus Boerger [Fri, 21 Mar 2008 23:07:44 +0000 (23:07 +0000)]
- Fix error message
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()
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
Marcus Boerger [Fri, 21 Mar 2008 19:37:32 +0000 (19:37 +0000)]
- Settle to 4 MB, see internals@ archives
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
Marcus Boerger [Fri, 21 Mar 2008 18:20:51 +0000 (18:20 +0000)]
- Fix comment
Marcus Boerger [Fri, 21 Mar 2008 17:12:38 +0000 (17:12 +0000)]
- Increase max mmap size to 8 MB
Antony Dovgal [Fri, 21 Mar 2008 16:38:50 +0000 (16:38 +0000)]
[DOC] revert short tags to their previous state
Marcus Boerger [Fri, 21 Mar 2008 15:18:18 +0000 (15:18 +0000)]
- Add new test
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
Antony Dovgal [Fri, 21 Mar 2008 12:07:14 +0000 (12:07 +0000)]
sync with 5_3
Antony Dovgal [Fri, 21 Mar 2008 08:28:09 +0000 (08:28 +0000)]
fix ZTS build
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.
Steph Fox [Fri, 21 Mar 2008 05:05:23 +0000 (05:05 +0000)]
Cosmetics (RC data)
<changelog@php.net> [Fri, 21 Mar 2008 01:31:42 +0000 (01:31 +0000)]
ChangeLog update
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
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
Derick Rethans [Thu, 20 Mar 2008 19:43:02 +0000 (19:43 +0000)]
- Fix the DateTimeZone::getTransitions() algorithm.
Stanislav Malyshev [Thu, 20 Mar 2008 17:31:17 +0000 (17:31 +0000)]
MF5: make short_open_tag user-accessible
Rob Richards [Thu, 20 Mar 2008 16:46:55 +0000 (16:46 +0000)]
fix bug #44478 (Inconsistent behaviour when assigning new nodes)
add test
Andrey Hristov [Thu, 20 Mar 2008 15:34:09 +0000 (15:34 +0000)]
Small fix and a test case to prove it
Andrey Hristov [Thu, 20 Mar 2008 13:58:46 +0000 (13:58 +0000)]
Missing lines from the param-bind-non-changing fix
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.
Antony Dovgal [Thu, 20 Mar 2008 12:13:57 +0000 (12:13 +0000)]
expect->expectf
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)
<changelog@php.net> [Thu, 20 Mar 2008 01:31:43 +0000 (01:31 +0000)]
ChangeLog update
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).
Nuno Lopes [Wed, 19 Mar 2008 23:26:58 +0000 (23:26 +0000)]
add
George Wang [Wed, 19 Mar 2008 22:43:25 +0000 (22:43 +0000)]
catch up with the latest release
Felipe Pena [Wed, 19 Mar 2008 19:16:58 +0000 (19:16 +0000)]
Fixed test
Steve Seear [Wed, 19 Mar 2008 18:06:22 +0000 (18:06 +0000)]
Adding language tests.
Steve Seear [Wed, 19 Mar 2008 17:56:08 +0000 (17:56 +0000)]
Added some class tests; Replaced some hardcoded instance ids with %d.
Steve Seear [Wed, 19 Mar 2008 17:43:49 +0000 (17:43 +0000)]
Adding tokenizer test
Steve Seear [Wed, 19 Mar 2008 17:38:20 +0000 (17:38 +0000)]
Adding streams tests
Steve Seear [Wed, 19 Mar 2008 17:26:36 +0000 (17:26 +0000)]
Adding filesystem tests
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.
Felipe Pena [Wed, 19 Mar 2008 15:34:38 +0000 (15:34 +0000)]
Cosmetic
Felipe Pena [Wed, 19 Mar 2008 15:22:59 +0000 (15:22 +0000)]
Fixed test
Felipe Pena [Wed, 19 Mar 2008 15:13:12 +0000 (15:13 +0000)]
Fixed tests
Felipe Pena [Wed, 19 Mar 2008 14:55:58 +0000 (14:55 +0000)]
Fixed test
Felipe Pena [Wed, 19 Mar 2008 14:45:24 +0000 (14:45 +0000)]
Fixed test
Felipe Pena [Wed, 19 Mar 2008 14:19:54 +0000 (14:19 +0000)]
Added UEXPECT
Antony Dovgal [Wed, 19 Mar 2008 14:00:47 +0000 (14:00 +0000)]
fix test
Felipe Pena [Wed, 19 Mar 2008 14:00:46 +0000 (14:00 +0000)]
Fixed error message (%s -> %v)
Antony Dovgal [Wed, 19 Mar 2008 12:44:05 +0000 (12:44 +0000)]
fix typo
Antony Dovgal [Wed, 19 Mar 2008 12:40:48 +0000 (12:40 +0000)]
make use of zend_atol()
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
Antony Dovgal [Wed, 19 Mar 2008 12:36:00 +0000 (12:36 +0000)]
fix test
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)
<changelog@php.net> [Wed, 19 Mar 2008 01:31:36 +0000 (01:31 +0000)]
ChangeLog update
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 -)
Andrey Hristov [Tue, 18 Mar 2008 17:32:03 +0000 (17:32 +0000)]
MFB : fix the build
Andrey Hristov [Tue, 18 Mar 2008 16:58:43 +0000 (16:58 +0000)]
MFB - Bug #44352 mysqli_connect_error() false negative for host errors
Robin Fernandes [Tue, 18 Mar 2008 15:12:42 +0000 (15:12 +0000)]
Adding more tests for serialize() and unserialize().
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)
Dmitry Stogov [Tue, 18 Mar 2008 08:36:49 +0000 (08:36 +0000)]
Implemented concept of "delayed early binding" that allows opcode caches to perform class declaration (early and/or run-time binding) in exactly the same order as vanila php.
The following pseudo-code explains how it should be used in opcode cache.
function cache_compile_file($filename) {
if (!is_cached($filename)) {
...
orig_compiler_options = CG(compiler_optins);
CG(compiler_options) |= ZEND_COMPILE_IGNORE_INTERNAL_CLASSES |
ZEND_COMPILE_DELAYED_BINDING;
$op_array = orig_compile_file($filename);
CG(compiler_options) = orig_copiler_options;
...
} else {
$op_array = restore_from_cache($filename);
}
zend_do_delayed_early_binding($op_array);
}
Dmitry Stogov [Tue, 18 Mar 2008 06:44:54 +0000 (06:44 +0000)]
Fixed test
<changelog@php.net> [Tue, 18 Mar 2008 01:31:32 +0000 (01:31 +0000)]
ChangeLog update
Felipe Pena [Tue, 18 Mar 2008 00:37:35 +0000 (00:37 +0000)]
Fix build
Stanislav Malyshev [Mon, 17 Mar 2008 23:07:55 +0000 (23:07 +0000)]
fix integer overflow in lenght calculation