Felipe Pena
0f9a030d87
MFB: Fixed Bug #42838 (Wrong results in array_diff_uassoc)
2008-02-14 14:17:32 +00:00
Felipe Pena
3531b3ff5f
New test
2008-02-14 13:51:15 +00:00
Andrey Hristov
77d6a5afe8
Update mysqlnd - fix bg_store
2008-02-14 12:51:00 +00:00
Josie Messa
fab35b7748
- New tests for array_slice() function
2008-02-14 11:13:56 +00:00
Dmitry Stogov
7412aae873
Fixed memory leak
2008-02-14 08:46:42 +00:00
Derick Rethans
aa93ba42ff
- Add some missing elements from the return value.
2008-02-13 21:53:01 +00:00
Etienne Kneuss
7c89093243
Fix inconcistencies between substr and substr_compare
2008-02-13 16:59:56 +00:00
Josie Messa
e100d53bff
- New tests for array_shift() function
2008-02-13 16:40:42 +00:00
Josie Messa
af9f6b3938
- New tests for array_push() function
2008-02-13 16:14:02 +00:00
Greg Beaver
f72ce59e95
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
2008-02-13 15:00:31 +00:00
Josie Messa
54731fea32
- committing tests for array_merge() function
2008-02-13 14:19:37 +00:00
Josie Messa
b12ed7908d
- committig tests for array_key_exists() function
2008-02-13 13:12:06 +00:00
Marcus Boerger
c345217eab
- Make this behave like in <= 5.2.5 and test for it
2008-02-13 12:01:16 +00:00
Greg Beaver
a52b2dee46
fix potential memleak due to destruction of filterparams zval
2008-02-12 23:27:46 +00:00
Andrey Hristov
038a533d65
Fix Windows build. VC doesn't like nested macros - expansion + #if
2008-02-12 22:06:06 +00:00
Johannes Schlüter
e55831f370
- Make clear what's going on and avoid overwriting parameters
2008-02-12 20:43:28 +00:00
Johannes Schlüter
35bfb9028f
- Fix build with TSRM and mysqlnd
2008-02-12 20:18:56 +00:00
Josie Messa
3d0c36cc39
- committing array_change_key_case variation tests
2008-02-12 17:45:47 +00:00
Steph Fox
2a5f1ba3a6
Add missing SKIPIF, rename vars for readability
2008-02-12 16:55:50 +00:00
Steph Fox
2ad96985c7
- it helps if you add the new files :)
2008-02-12 16:42:35 +00:00
Steph Fox
85e641ebb4
Make tests/tar in line with tests/zip.
2008-02-12 16:39:59 +00:00
Antony Dovgal
4a7c24b267
nuke unnecessary TSRMLS_FETCH()
2008-02-12 10:54:27 +00:00
Andrey Hristov
a4c1bc02b7
Fix typo
2008-02-12 10:51:25 +00:00
Felipe Pena
de211f67f3
MFB: Fixed Bug #44094 (SEGFAULT when using mysql_connect())
2008-02-12 10:15:16 +00:00
Dmitry Stogov
87a8f72f49
Added NOWDOC
2008-02-12 09:28:30 +00:00
Greg Beaver
592635d0c0
fix TSRM build
2008-02-12 05:38:01 +00:00
Greg Beaver
97484e0b95
update TODO to reflect must-haves prior to 2.0
2008-02-12 05:36:02 +00:00
Greg Beaver
22d05677c1
fix test (all tests pass on unix now)
2008-02-12 05:30:59 +00:00
Greg Beaver
3234e78ca1
fix remaining broken tests broken by the addition of phar->fp closing
2008-02-12 05:28:06 +00:00
Greg Beaver
2f1ec934af
fix some of the failing tests due to non-reopened phar fp
2008-02-12 05:16:53 +00:00
Felipe Pena
fd18a414a0
MFB: array_slice() - Fixed behavior when NULL is given in third parameter (BC)
2008-02-12 01:49:42 +00:00
Stanislav Malyshev
846cb3d56e
fix build
2008-02-12 01:30:58 +00:00
Felipe Pena
1573f8c01c
New test
2008-02-12 01:21:29 +00:00
Stanislav Malyshev
b24e9accb7
HNY
2008-02-12 01:04:15 +00:00
Stanislav Malyshev
1a368f6f8b
MFB __DIR__ constant support
2008-02-12 01:04:08 +00:00
Steph Fox
b1ed2e8059
There's a difference between 'BORKED' and 'FAILED'...
2008-02-11 21:05:47 +00:00
Steph Fox
ef46f3e3a2
Funnily enough those frontcontroller tests still pass here! Investigating...
2008-02-11 20:55:44 +00:00
Steph Fox
914c94d497
kill a couple of msvc warnings
2008-02-11 20:53:05 +00:00
Greg Beaver
ba002c5b9c
revert last commit to phar_object.c
...
fix open file pointers issue on windows
2008-02-11 17:13:18 +00:00
Greg Beaver
4c68617106
add destructor for Phar object to decrease refcount
2008-02-11 16:49:53 +00:00
Andrey Hristov
82ad02f0cd
cvs sync
2008-02-11 16:45:15 +00:00
Etienne Kneuss
781180dcd4
Provide ctod/dtor with TSRM
2008-02-11 16:38:01 +00:00
Ilia Alshanetsky
95cd0deab0
MFB:Fixed test on 64bit machines
2008-02-11 16:23:25 +00:00
Felipe Pena
025d27e2ab
Fix test (missing result)
2008-02-11 15:57:34 +00:00
Felipe Pena
8b4f61cf00
Fix test (UEXPECTF)
2008-02-11 15:46:51 +00:00
Andrey Hristov
925c22c65b
new 6.0 flag
2008-02-11 14:48:39 +00:00
Antony Dovgal
1d540b4255
this is integer, not pointer
2008-02-11 13:34:26 +00:00
Greg Beaver
d659ce7a0c
fix windows pathname issues
2008-02-11 07:33:20 +00:00
Greg Beaver
8cd58822c3
fix TSRM and 5.2 build
2008-02-11 06:58:56 +00:00
Greg Beaver
ca7ae5d190
update TODO
2008-02-11 06:54:46 +00:00
Greg Beaver
d388ec586f
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)
2008-02-11 06:53:56 +00:00
Greg Beaver
de5238a3bc
minor refactoring to remove 1 call to zend_get_executed_filename()
2008-02-11 06:49:22 +00:00
Greg Beaver
1a6fb65c83
new test for special tar-based app and more iteration test
2008-02-11 06:47:26 +00:00
Greg Beaver
78e8eb3900
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
2008-02-11 06:46:44 +00:00
Greg Beaver
3874e12ee5
fix 5.2 build
2008-02-11 04:48:58 +00:00
Greg Beaver
3ade59e537
update test phars
2008-02-11 01:07:53 +00:00
Johannes Schlüter
6595b0dc5e
The exact message differs on different systems
2008-02-10 23:36:27 +00:00
Etienne Kneuss
e370d5bccc
Cosmetics, move stuff around, ws
2008-02-10 14:07:40 +00:00
Felipe Pena
9d229c7f7c
Fixed Bug #42229 (fgetcsv() behaves differently for a file containing '\n' with php5 and php6)
2008-02-10 04:09:12 +00:00
Felipe Pena
6420454991
New test
2008-02-10 03:55:39 +00:00
Felipe Pena
c1bdb769a0
Fixed Bug #42163 (fgetcsv() gives different output with and without Unicode)
2008-02-10 02:13:37 +00:00
Johannes Schlüter
7aad715a56
Fix build on Solaris
2008-02-09 21:58:39 +00:00
Felipe Pena
a4363b1f7f
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
2008-02-09 19:46:49 +00:00
Felipe Pena
9619ec2317
New test for strtok
2008-02-09 18:12:45 +00:00
Andrey Hristov
533618d2a0
Remove dead code
2008-02-08 09:57:01 +00:00
Antony Dovgal
6d9453aa91
add ifdefs and fix folding
2008-02-08 09:25:02 +00:00
Antony Dovgal
271e0394d7
fix 5_3 build
2008-02-08 09:21:24 +00:00
Dmitry Stogov
cce5140cf3
Improved md5() implementation (Solar Designer)
2008-02-08 09:11:28 +00:00
Greg Beaver
19df8a4d7f
fix issues in opendir() with empty directories within a phar archive, port filterparams fix to tar.c
2008-02-08 05:57:40 +00:00
Greg Beaver
15410a4f66
make maximum manifest size 100MB for phar archives, simple apps are hitting the 1 MB limit quite easily.
2008-02-08 05:56:26 +00:00
Greg Beaver
5b5c86df9f
better fix for double free - ensure that SEPARATE_ZVAL() inside
...
zlib_filter.c actually separates the zval, then we can zval_dtor() it
properly
2008-02-08 05:41:59 +00:00
Greg Beaver
4e42110f3e
remove test accidentally added
2008-02-08 05:08:18 +00:00
Greg Beaver
fa7a1779a1
remove unnecessary INIT_ZVAL(filterparams) that causes unfreed value
2008-02-08 05:05:13 +00:00
Greg Beaver
e3c64bd53b
fix memory leaks. There are some leaks in libz that I can't fix, but none triggered in the current tests
2008-02-08 04:26:41 +00:00
Greg Beaver
c31f04b5f3
SEPARATE_ZVAL does not work for this situation. We always want
...
to duplicate and copy, so do it manually and reset refcount to 1
2008-02-08 03:53:17 +00:00
Greg Beaver
a3c910739f
fix flipped logic
2008-02-08 01:08:02 +00:00
Greg Beaver
67a9fd8783
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.
2008-02-08 01:06:12 +00:00
Greg Beaver
43f2638634
better fix for invalid mem access
2008-02-08 00:58:39 +00:00
Greg Beaver
7575b012f2
fix invalid read/write if strstr() returns NULL
2008-02-08 00:55:38 +00:00
Greg Beaver
e67c584348
[DOC]
...
refactor the $rewrites parameter in Phar::webPhar. Now it is a callback
that accepts the path requested. This callback should return the actual filename
requested as a string, or false to deny access as HTTP 403.
Also fix incorrect munging of SCRIPT_NAME variable in mungServer
More importantly, Phar::webPhar now finds the filename hidden in:
http://localhost/myphar.phar/internal/file.php/extra/stuff
as 'internal/file.php' in phar 'myphar.phar' with REQUEST_URI '/internal/file.php/extra/stuff'
this will allow pharring up apps that use REQUEST_URI for front controller stuff.
2008-02-07 23:42:03 +00:00
Felipe Pena
0a5d2b1ac7
Fix error message
2008-02-07 13:26:36 +00:00
Felipe Pena
8083c40376
Added UEXPECTF
2008-02-07 13:18:58 +00:00
Felipe Pena
6935680443
Added UEXPECTF
2008-02-07 13:06:50 +00:00
Felipe Pena
77864cdc8e
Fixed some tests (UEXPECT)
2008-02-07 12:45:54 +00:00
Jani Taskinen
ea66acd4d3
- Fix test (no files in "root" please)
2008-02-07 12:15:41 +00:00
Antony Dovgal
a04bcdfcec
remove old code leftover causing problems
2008-02-07 08:45:43 +00:00
Greg Beaver
1cac0aa8e2
fix webPhar() in CGI sapi, update tests to reflect reality of how these ENV vars are passed
2008-02-07 04:24:58 +00:00
Marcus Boerger
4ad89748c3
- Fix missing check and tests
2008-02-06 20:39:54 +00:00
Jani Taskinen
ff77e247d4
- Add test for the "modifying original array" bug
2008-02-06 19:13:10 +00:00
Jani Taskinen
f96e514a83
ws
2008-02-06 19:06:05 +00:00
Jani Taskinen
42b69fc802
- Fixed bug in handling arrays which caused the original array being modified too.
2008-02-06 19:05:18 +00:00
Andrey Hristov
0c65a68fc9
Fix a bug and a test
2008-02-06 14:11:32 +00:00
Andrey Hristov
bb4051d480
Fix test
2008-02-06 13:01:30 +00:00
Andrey Hristov
ac3d36818f
Pconnect working with mysqli_real_connect()
2008-02-06 11:35:44 +00:00
Zoe Slattery
87a60ef453
Fixing 32 bit specific
2008-02-06 09:28:01 +00:00
Zoe Slattery
4da92843b9
Tests for assorted Maths functions
2008-02-06 08:39:23 +00:00
Felipe Pena
b50f869aac
Fixed bug #42167 (fgetcsv gives different output on php6 compared to php5), #42219 (length argument of fgetcsv() is not effective/working in PHP6)
2008-02-06 02:56:49 +00:00
Marcus Boerger
ee507a2d05
- Add new test
2008-02-05 18:56:40 +00:00
Ilia Alshanetsky
4545b5bf25
MFB: Fixed bug #44046 (crash inside array_slice() function with an invalid
...
by-ref offset).
2008-02-05 16:02:23 +00:00
Robert Nicholson
8f6de4aada
- fix arsort_variation3.phpt which was missing its EXPECT section
2008-02-05 11:20:28 +00:00
Marcus Boerger
95fe32b4e6
- Really last flag change (got confused with code)
2008-02-04 21:37:43 +00:00
Jani Taskinen
71e3d357ef
- Fixed bugs #43915 , #43923 and #44019 , a tiny performance issue fixed too
2008-02-04 20:45:16 +00:00
Marcus Boerger
cf8300a542
- Update docu
2008-02-04 20:40:29 +00:00
Felipe Pena
c866bc64cf
Fix wrong test
2008-02-04 19:58:12 +00:00
Felipe Pena
9df576bed3
Fixed wrong fix
2008-02-04 19:48:14 +00:00
Marcus Boerger
f5480b2cb0
- Fix/add folding markers
2008-02-04 19:39:07 +00:00
Marcus Boerger
ee8827288f
- Really fix flag handling
2008-02-04 19:33:03 +00:00
Marcus Boerger
de120f6698
- Fix #44018 (RecursiveDirectoryIterator options inconsistancy)
2008-02-04 18:46:02 +00:00
Felipe Pena
aa79b70645
Fixed Bug #42057 (fwrite() writes data into file when length is given as a negative value)
2008-02-04 18:45:40 +00:00
Marcus Boerger
223764b66d
- Setting flags once is enough
2008-02-04 18:35:08 +00:00
Andrey Hristov
8d7807d681
MFB: Simplify unique string generation and plug a leak.
2008-02-04 17:55:51 +00:00
Andrey Hristov
cfcf16f0f7
Fix a leak and memory warning.
2008-02-04 17:32:43 +00:00
Felipe Pena
360fed57da
Fix error messages
2008-02-04 17:21:01 +00:00
Marcus Boerger
a78c1b4759
Fix default flag value in contructor
2008-02-04 17:18:48 +00:00
Marcus Boerger
3c7c97303d
- Fix ArrayObject serializing
...
- Fix test expectations
2008-02-04 16:47:06 +00:00
Marcus Boerger
ea6907a055
- Fix test
2008-02-04 16:12:47 +00:00
Marcus Boerger
fac5ae96cb
- Fix message
2008-02-04 15:58:12 +00:00
Felipe Pena
421295b52e
Fix tests
2008-02-04 15:43:09 +00:00
Sebastian Bergmann
2b486e5833
Add missing Reflection API metadata for DOM classes.
2008-02-04 15:22:40 +00:00
Felipe Pena
ac99835507
Fix tests (new error message)
2008-02-04 15:22:08 +00:00
Felipe Pena
b315388200
Fix tests (new error message)
2008-02-04 14:02:01 +00:00
Felipe Pena
1348f95d20
Fix tests (new error message)
2008-02-04 13:08:27 +00:00
Felipe Pena
76dab1562f
Fix tests (new error message)
2008-02-04 12:37:15 +00:00
Robert Nicholson
caea756765
- added some new tests for arsort
2008-02-04 00:06:54 +00:00
Ilia Alshanetsky
fb738d95bf
MFB: Fixed bug #44028 (crash inside stream_socket_enable_crypto() when
...
enabling encryption without crypto type)
2008-02-03 16:14:44 +00:00
Marcus Boerger
925071ce41
- Rename it again
...
[DOC]
- Add config_get_hash()
2008-02-03 14:44:30 +00:00
Derick Rethans
836e228265
- Sync tests.
2008-02-03 14:37:00 +00:00
Marcus Boerger
f2ce43983f
- Rename dump_config_hash() to get_config_hash() as it doesn't dump
2008-02-03 14:35:29 +00:00
Derick Rethans
91038a08bf
- Support "first/last day of <month>" style texts.
2008-02-03 14:10:48 +00:00
Marcus Boerger
ff88449c31
- Fix error handling
2008-02-02 23:02:16 +00:00
Marcus Boerger
b0f5c889fe
- Add new classes
2008-02-02 22:56:25 +00:00
Marcus Boerger
ac11e1c12d
- MFB glob handling
...
- Add GlobIterator and FilesystemIterator
# Commit to 5.3 for more
2008-02-02 22:53:05 +00:00
Marcus Boerger
2d4c9b291f
- Show interfaces
2008-02-02 21:02:08 +00:00
Derick Rethans
2c2947f93d
- Make timezone_open() work again.
2008-02-02 17:25:40 +00:00
Marcus Boerger
0034d47f09
- Fix tests
2008-02-02 13:33:21 +00:00
Marcus Boerger
6840a7815d
- Fix flag handling (MFB)
2008-02-02 13:11:12 +00:00
Greg Beaver
2b9a4279dd
fix logic of path redirection. always prepend index_php with "/" if it doesn't have it,
...
and then if path_info ends with "/" just use entry + 1
2008-02-02 05:20:37 +00:00
Antony Dovgal
de10394d60
fix test, add 64bit version
2008-02-01 23:18:53 +00:00
Greg Beaver
9af8b12b2b
move to in between BEGIN_EXTERN_C() block, to avoid breakage with C++ (i.e. windows)
...
# david, can you check on mac to be sure this doesn't break?
2008-02-01 22:23:37 +00:00
David Coallier
d4d8f3d412
- OSX "extern" compatibility fix.
2008-02-01 22:13:14 +00:00
Greg Beaver
47320359e9
remove unused variable, eliminate an invalid read reported by valgrind
2008-02-01 19:50:06 +00:00
Zoe Slattery
bd8678289b
A few new tests for math functions
2008-02-01 17:16:40 +00:00
Robert Nicholson
6da9b239aa
- a few more gd tests (committed on behalf of andy wharmby)
2008-02-01 16:32:37 +00:00
Josie Messa
dcd8dff11b
- Committing new tests for MBString extensions
...
- The tests listed in the following link will fail as they are adjusted
to expose bugs
(more details here: http://news.php.net/php.qa/62382 )
2008-02-01 15:40:23 +00:00
Steph Fox
b5e8315e80
ws
2008-02-01 14:40:57 +00:00
Steph Fox
3e6d9e72d4
Generate newline at end of stub.h
2008-02-01 14:38:45 +00:00
Antony Dovgal
e493059f55
check for empty/null path
...
still some leaks are left
2008-02-01 11:36:45 +00:00
Antony Dovgal
addf32d7d9
we don't want to modify the pointer contents, we just want to change the pointer itself
2008-02-01 11:25:59 +00:00
Antony Dovgal
97c3dbaf56
this string should be freed later since path == free_path
2008-02-01 11:25:11 +00:00
Antony Dovgal
f6238ee664
fix compile warning (No newline at end of file)
2008-02-01 11:09:34 +00:00
Christopher Jones
02a2dc3e0c
New test for old, suspended bug
2008-01-31 22:02:09 +00:00
Rob Richards
96c4eba263
fix bug #42369 (Implicit conversion to string leaks memory)
...
add test
2008-01-31 21:58:09 +00:00
Nuno Lopes
4d9261b28d
fix gcc 4 build
2008-01-31 18:48:00 +00:00
Rob Richards
e2c4c7359b
fix win32 build
2008-01-31 11:09:50 +00:00
Marcus Boerger
c437d4d430
- Fix test
2008-01-31 07:43:49 +00:00
Marcus Boerger
7d3758fa08
- SPL has been changed
2008-01-30 23:50:23 +00:00
Marcus Boerger
ff4634120c
- MFB SplDirectoryIterator/glob:// stream integration
2008-01-30 23:49:49 +00:00
Marcus Boerger
33dc86c435
- Fixed glob:// stream handling in (Recursive)DirectoryIterator.
2008-01-30 20:31:09 +00:00
Ilia Alshanetsky
a28f797952
MFB: Fixed bug #43981 (gmp_div_r() does not preserve the sign of 1st argument)
2008-01-30 18:26:08 +00:00
Zoe Slattery
76022e67d8
Removing superfluous --INI-- section
2008-01-30 17:55:12 +00:00
Rob Richards
ec042f7d55
fix bug #41562 (SimpleXML memory issue)
2008-01-30 15:28:09 +00:00
Felipe Pena
9cfc5580f4
Fix test
2008-01-30 15:23:41 +00:00
Antony Dovgal
f3643b59a5
fix ZTS build
2008-01-30 12:50:49 +00:00
Felipe Pena
8ca171f514
Fix tests
2008-01-30 11:56:34 +00:00
Felipe Pena
c31d0d112f
Fixed Bug #43926 (isInstance() isn't equivalent to instanceof operator)
2008-01-30 10:54:41 +00:00
Dmitry Stogov
42a683d688
Imporoved PHP binary size and startup speed with GCC4 visibility control (Nuno)
2008-01-30 09:56:22 +00:00
Antony Dovgal
d48c9d1a18
both pdo & spl dependencies are optional
2008-01-30 09:11:08 +00:00
Rasmus Lerdorf
ffa4d39dcc
Fix typo
2008-01-30 08:52:55 +00:00
Dmitry Stogov
5059b53579
ZTS fix
2008-01-30 08:10:28 +00:00
Sebastian Bergmann
0cd5ebfe06
Fix arginfo.
2008-01-30 06:48:02 +00:00
Stanislav Malyshev
400c9ecf7b
fix #43941 : invalid utf-8 not accepted
2008-01-30 03:21:30 +00:00
Steph Fox
ed2785e2a5
OK so let's kill the bug-hider
2008-01-30 00:53:56 +00:00
Rasmus Lerdorf
b5ff09a345
Fixed bug #43957
2008-01-29 23:29:04 +00:00
Rob Richards
65c4bd9d08
fix win32 build
2008-01-29 22:06:16 +00:00
Stanislav Malyshev
67c08a57dc
no sleep here either
2008-01-29 22:03:44 +00:00
Sebastian Bergmann
133679ec8c
- Fix arginfo and prototype.
2008-01-29 21:21:04 +00:00
Nuno Lopes
2df29d5d4a
upgrade to pcre 7.6
2008-01-29 20:23:52 +00:00
Derick Rethans
6d6ae90d03
- MF53: That should have been ||.
2008-01-29 20:15:44 +00:00
Derick Rethans
c3505930f0
- Make whitespace the same as in 5.3.
2008-01-29 20:12:23 +00:00
Derick Rethans
4b738ef8ba
- Commit generated file.
2008-01-29 20:10:53 +00:00
Derick Rethans
87c936ef2c
- Fixed bug #43960 (strtotime() returns timestamp in the future when given a
...
bogus string).
2008-01-29 20:08:42 +00:00
Andrey Hristov
508841bb5c
Fix the build, add a missing file
2008-01-29 18:13:12 +00:00
Sebastian Bergmann
ea88b098d9
Add Reflection API metadata for DOMXPath.
2008-01-29 15:55:14 +00:00
Sebastian Bergmann
ffeeb3dc72
Add Reflection API metadata for DOMNode.
2008-01-29 15:23:08 +00:00
Dmitry Stogov
205eda4377
missing spaces
2008-01-29 12:25:38 +00:00
Andrey Hristov
2687e55829
Moved initialization into a separate function
2008-01-29 12:00:52 +00:00
Steph Fox
76640a615f
- One last tweak (so Phar and no-phar work the same again now)
...
- Bunch of test fixes
- Note: I added a silencer to the unlink() call in zip/tarmaker to avoid system warnings here. If this messes up tests elsewhere we'll need to re-think.
2008-01-29 11:58:27 +00:00
Dmitry Stogov
5d1e742056
Fixed bug #43505 (Assign by reference bug)
2008-01-29 10:45:19 +00:00
Dmitry Stogov
a2b707fcd7
Fixed bug #43918 (Segmentation fault in garbage collector)
2008-01-29 09:59:53 +00:00
Steph Fox
182519877b
Job done.
2008-01-29 09:45:11 +00:00
Robert Nicholson
566fa19dec
- update compact_variation1.phpt to take into account fix for bug #29044
2008-01-29 08:49:11 +00:00
Sebastian Bergmann
f238cbb0a0
Add Reflection API metadata for XSLTProcessor.
2008-01-29 07:51:40 +00:00
Steph Fox
7e85b150a6
Rock'n'roll... just php includes to figure out now.
2008-01-29 07:10:22 +00:00
David Coallier
b837f8c8b3
- Good proto message and description of function
2008-01-29 01:44:38 +00:00
Antony Dovgal
251e3a649d
fix #43596 (array_slice(): $length arg ignored when it is 0)
2008-01-29 00:39:26 +00:00
Andrey Hristov
e580f0fd24
Moving extension specific code to php_mysqlnd.c as the old rule is.
2008-01-28 23:24:05 +00:00
Antony Dovgal
bc9cba1a93
MFB: fix #43927 (koi8r is missing from html_entity_decode())
...
patch by andy at demos dot su
2008-01-28 23:08:07 +00:00
Andrey Hristov
6d9fdbce50
MFB:
...
some config.w32 fixes
moved mysqlnd's block allocator to a separate file and also now
it's part of the connection, no MT problems.
2008-01-28 22:54:21 +00:00
Marcus Boerger
e3492e6d01
- Make SplObjectStorage implement ArrayAccess
2008-01-28 22:43:21 +00:00
Steph Fox
a6abbfd55d
'It works on my box'.
...
Please test.
2008-01-28 21:23:02 +00:00
Derick Rethans
bc72c13db1
- Added two optional parameters to timezone_transitions_get() /
...
DateTimeZone::getTranstions() to limit the range of transitions being
returned.
2008-01-28 21:12:24 +00:00
Derick Rethans
22c1b3b303
- MF53: Fixed test case.
2008-01-28 21:02:09 +00:00
Derick Rethans
ba5cc7524a
- MF53: Added missing folding tags.
2008-01-28 20:36:04 +00:00
Derick Rethans
b66faab7be
- Added DateTime::getTimestamp() / date_timestamp_get().
2008-01-28 20:29:40 +00:00
Greg Beaver
f4e4ad0cd1
fix PharFileInfo->setAlias (was wildly broken)
...
fix directory creation in zip archives
update zip tests to use phar to create the zip, and then copy to a new file
2008-01-28 20:18:15 +00:00
Andrey Hristov
18c8e6501b
MFB: More optimizations - less MM calls
...
Clearly separated fetching (physical reading) from decoding phases (data
interpretation). Threaded fetching added but disabled as needs more work for
Windows. For Linux needs some touches to add pthreads if this is enabled,
probably with a compile-time switch.
The code reorganisation makes it easy to add also async API, similar to
cURL's one.
2008-01-28 18:27:49 +00:00
Steph Fox
618a29411d
Get rid of zip requirement in the last few tests
...
@Greg: zip/tarmaker.inc needs a rewrite
2008-01-28 16:49:28 +00:00
Steph Fox
975a1b87af
Get rid of zip requirement
2008-01-28 16:31:56 +00:00
Steph Fox
9fd5c0b438
- Moved phar_unixify_path_separators() to a single central point
...
- The last two VC 6 compiler warnings gone. Please test under *nix.
2008-01-28 14:39:17 +00:00
Nuno Lopes
2b7d0c4471
remove unused PHP_MYSQL_API macro
2008-01-28 11:16:37 +00:00
Greg Beaver
6cdabede4c
remove ext/zip dependency entirely, write better native zip support
...
re-organize, create util.c, move entry_info/archive_data/entry_data access methods to this file
refactor entry->fp, now this is abstracted with phar_get_efp() and phar_seek_efp(), fixes all weird dependency issues
permanently solve the "millions of file pointers" issue for read access. All compressed files are read into a single
temporary stream, and their constraints are controlled by the entry->fp abstraction
Improvements in this zip implementation over ext/zip:
* full read/write support for bzip2 compressed files
* much more efficient access for accessing only a few files within large zip files, as crc/header validation is
done just-in-time
* full stream support for opendir/rename/rmdir/mkdir as well as all of the other stream funcs
* full support for setting file perms via Phar::chmod(), stored as zip-standard extra field
* no problem with large zips and many open file pointers
# TODO: add big-endian system support for tar/zip file format headers, otherwise the implementation is complete
# TODO: test on windows and fix any windows-specific issues
# TODO: verify zips created work with unzip/winzip/windows explorer and so on
2008-01-28 08:52:08 +00:00
Derick Rethans
dc5f4e48ee
- Fixed parsing of timestamps.
2008-01-27 22:15:59 +00:00
Marcus Boerger
3eadc491a2
- Test went to 5.2... somehow.... very strange
2008-01-27 18:19:45 +00:00
Marcus Boerger
77d7cbaa66
- Add second parameter to SplObjectStorage::attach()
...
- Add SplObjectStorage::setInfo()
- Add SplObjectStorage::getInfo()
2008-01-27 18:04:54 +00:00
Derick Rethans
408a892458
- Update proto.
2008-01-27 17:44:16 +00:00
Derick Rethans
14665d9149
- Added support for selectively listing timezone identifiers through
...
timezone_identifiers_list() / DateTimezone::listIdentifiers().
2008-01-27 17:28:58 +00:00
Nuno Lopes
b952c7f048
fix test
2008-01-27 17:02:01 +00:00
Nuno Lopes
875d3f15fd
be more strict in the skipif
2008-01-27 16:54:02 +00:00
Nuno Lopes
85adde057e
MFB: fix skipifs
2008-01-27 16:52:34 +00:00
Rob Richards
0466c8c54b
add missing export
2008-01-27 16:32:37 +00:00
Marcus Boerger
f1d8a5ca60
- revert over constfying
2008-01-27 15:03:55 +00:00
Etienne Kneuss
3ee8346719
Typo
2008-01-27 14:07:54 +00:00
Etienne Kneuss
dee0ae6da5
-Pointer doesn't move if we're moving forward and shifting at the same time
...
-Userland implementation
-Doxygen doc
2008-01-27 13:54:32 +00:00
Etienne Kneuss
2b70f51668
Iterator implementation for SplDoublyLinkedList, SplStack, SplQueue
2008-01-26 18:06:51 +00:00
Steph Fox
6f95353e77
- Added is_writable() check on temp directory
...
- Regenerated stub and tests/nophar.phar
- Fixed tests
2008-01-26 00:12:00 +00:00
Nuno Lopes
64d4e4244a
MFB: const keywording
2008-01-25 20:30:36 +00:00
Nuno Lopes
d2a2269f55
MFB: const keywording
2008-01-25 20:21:18 +00:00
Nuno Lopes
8cca6b219e
MFB: const'ify
2008-01-25 20:04:44 +00:00
Nuno Lopes
7955d9a8c1
MFB: move data to const segment
2008-01-25 19:58:51 +00:00
Nuno Lopes
56173a3de8
spread some static keywords
2008-01-25 19:39:45 +00:00
Scott MacVicar
43c5d044d0
MFB: Fix html_entity_decode when converting numeric html entities, the numeric values for the extended character set don't correspond to that of windows-1251 and cp866.
2008-01-25 18:11:19 +00:00
Steph Fox
ddc051cebe
- Rewrite stub to take up slightly less space
...
- Fix tests
- Test phars should probably be regenerated, although only one fails here currently (nophar.phar in web context)
2008-01-25 17:26:18 +00:00
Steph Fox
69afbc1099
"What helly said"
2008-01-25 16:05:26 +00:00
Rob Richards
3b37e3a80d
fix win32 compile
2008-01-25 15:54:31 +00:00
Rob Richards
9f3efb0e5a
fix zts build
2008-01-25 15:52:00 +00:00
Steph Fox
61c3a60815
Make all possible build combinations work under doze (external zip library)
2008-01-25 15:00:24 +00:00
Antony Dovgal
c98b4a5c68
endless loop (and stack overflow) protection in compact()
2008-01-25 13:42:24 +00:00
Robert Nicholson
4726a6f2bc
- Add a basic test for array_shuffle()
2008-01-25 00:33:00 +00:00
Robert Nicholson
38c322d3db
- add some basic tests for array diff and intersection functions
2008-01-25 00:17:34 +00:00
Antony Dovgal
ea3875b62f
use local header when building bundled regex engine
2008-01-24 23:01:47 +00:00
Robert Nicholson
0cf88073f0
- New tests for compact()
...
# compact_variation1.phpt will fail until bug #29044 is fixed
2008-01-24 14:50:18 +00:00
Rob Richards
7d17152cc2
fix zts build
2008-01-24 14:08:45 +00:00
Sara Golemon
1f035e7bb7
Fix potential crash when non-array is used optimisticly
2008-01-24 10:27:59 +00:00
Greg Beaver
29c5c804d0
initial work on more efficient zip implementation, read support working, write not implemented yet
...
This implementation will support read/write of extra field headers, both zlib/bzip2 compression read/write
it will also delay header comparison/crc32 check until file open, making opening a single file
within the zip much more efficient for large zip files
it also uses emalloc/php streams and is therefore less likely to leak.
this code is not yet built in config.m4/config.w32
2008-01-23 23:19:03 +00:00
Andrey Hristov
69f4a40d99
Merge with internal version
2008-01-23 19:09:33 +00:00
Antony Dovgal
2d5ff6a7b0
add missing TSRMLS_CC and fix segfaults in ZTS mode
2008-01-23 15:14:18 +00:00
Antony Dovgal
346867aaf8
fix test
2008-01-23 11:38:31 +00:00
Antony Dovgal
f6169ad7ca
fix #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values)
...
patch by Felipe
2008-01-23 11:20:00 +00:00
Antony Dovgal
bcd286cfa1
MFH: fix leak appearing when appending data to unnamed attribute
2008-01-23 09:59:42 +00:00
Ilia Alshanetsky
c89066d03e
MFB:Fixed bug #43912 (Interbase column names are truncated to 31 characters)
2008-01-23 01:23:12 +00:00
Marcus Boerger
2f1540e162
- Bugfix #37076 (SimpleXML ignores .=). (felipe, marcus)
2008-01-22 20:40:30 +00:00
Greg Beaver
47a60c4f16
fix 2 tests, add phar.readonly checks to rmdir/mkdir
2008-01-22 20:24:52 +00:00
Etienne Kneuss
34afc9ae6e
News: already in 5_3
...
Typos (Dan Scott)
ctor inside the structure. dtor/ctor used on push/pop for better potential interoperability
2008-01-22 19:51:11 +00:00
Antony Dovgal
2b2e025690
new test by Lars Strojny
2008-01-22 15:42:12 +00:00
Greg Beaver
f51bf6118c
fix tests to match CVS
2008-01-22 05:26:38 +00:00
Etienne Kneuss
85254498dc
Add doxygen docs for SplDoublyLinkedList, SplStack, SplQueue
2008-01-21 21:54:00 +00:00
Antony Dovgal
596403f226
fix #42861 (strtr() crashes in Unicode mode when $from argument is empty)
2008-01-21 14:37:19 +00:00
Antony Dovgal
3dcfd1b65b
fix newly added segfault
2008-01-21 09:08:12 +00:00
Sara Golemon
2ee33d336f
Unicode migration for ext/ctype
2008-01-21 08:10:21 +00:00
Sara Golemon
42524ff33f
Some unicode upgrades...
2008-01-21 07:30:49 +00:00
Sara Golemon
4106cbf6d1
Flag additional unicode safe funcs
2008-01-21 06:36:02 +00:00
Sara Golemon
87c8d19c1b
Make unicode ready
2008-01-21 06:08:03 +00:00
Greg Beaver
b2412c4568
fix problems found while documenting. Throw consistent exceptions, chmod is not allowed on
...
temporary directories, but is allowed on regular ones
allow uncompressAllFiles() to decompress a gzip/bzipped tar archive
fix some protos
2008-01-21 05:28:09 +00:00
Ilia Alshanetsky
961af05505
MFB: Optimize wddx boolean encoding
2008-01-20 15:33:42 +00:00
Hannes Magnusson
dfebf08378
Fixed bug#43875 (Two error messages returned for $new and $flag argument in mysql_connect())
2008-01-20 14:10:16 +00:00
Etienne Kneuss
2049896282
Fix mem errors
2008-01-20 12:51:33 +00:00
Greg Beaver
117f5e2639
add web-based support for default stub, now phars written with webPhar() will work
...
out of the box regardless of server configuration with phar file format
split up stub.h strings into 2046 byte chunks because MS VC 6 is friggin stupid
2008-01-20 00:49:45 +00:00
Greg Beaver
34c1e6e112
s/1.3.0/2.0.0/
2008-01-19 20:13:31 +00:00
Greg Beaver
d5fd042872
bump 1.3.0 to 2.0.0, this is a big feature addition release
2008-01-19 19:51:14 +00:00
David Coallier
f6267ce134
- Wrong icu call, now using u_strToLower correctly
2008-01-19 19:47:41 +00:00
David Coallier
7a66695286
- Added lcfirst() function. The sister function of ucfirst()
...
- Test #1 for lcfirst()
2008-01-19 19:23:25 +00:00
Andrey Hristov
dfd4b99e05
Fix build issue
2008-01-19 18:56:19 +00:00
Greg Beaver
d7ff13cf9a
update package.xml
2008-01-19 18:39:49 +00:00
Greg Beaver
a5358c0725
bump API version if the created phar has directories in it, so that it won't load with older phar versions
2008-01-19 18:30:30 +00:00
Greg Beaver
d583fae0cc
add Phar::createDefaultStub(), which can take as an argument the filename
...
that should be loaded as a "bootstrap" for the phar archive
2008-01-19 04:26:22 +00:00
Nuno Lopes
dc84b8b767
fix gcov build
2008-01-18 20:12:45 +00:00
Christopher Jones
f55c8670af
Add ifdef
2008-01-18 16:03:23 +00:00
Antony Dovgal
98164c99ac
fix test
...
the library vresion is actually exposed by ext/mysqli, not ext/mysql
2008-01-18 12:48:22 +00:00
Greg Beaver
7540adf058
major improvement:
...
the new default stub allows creation of phars that run identically
1) with Phar extension
2) without Phar extension
3) extracted to disk from the phar
this makes the default phar format quite interesting as it eliminates the only drawback of the extension
2008-01-18 05:42:16 +00:00
Pierre Joye
1e513413f2
- MFB: reflect the correct version
2008-01-18 01:24:29 +00:00
Greg Beaver
44173ebb5e
MF5.3: install headers, use correct zip version
2008-01-18 00:33:15 +00:00
Greg Beaver
109cbc9f50
add needed define back into config.w32, make zip required mod on win32, remove lib/.cvsignore
2008-01-18 00:11:37 +00:00
Derick Rethans
cd9bc73574
- Fixed bug #41599 (setTime() fails after modify() is used).
2008-01-17 20:58:26 +00:00
Derick Rethans
13d1ef3015
- Fixed bug #43075 (Support 2007-11-01T24:00:00+00:00).
2008-01-17 20:43:58 +00:00
Derick Rethans
19af2f67d1
- Fixed bug #43808 (date_create never fails (even when it should)).
2008-01-17 20:34:17 +00:00
Greg Beaver
ad23787e0c
remove unneeded define, zip is required on windows
2008-01-17 20:21:55 +00:00
Greg Beaver
5689f3c9c6
add new test for opening a zip-based phar with no zip ext, update skipif for phar_convert test
2008-01-17 20:17:40 +00:00
Derick Rethans
da0da918c0
- Fixed bug #43003 (Invalid timezone reported for DateTime objects constructed
...
using a timestamp).
2008-01-17 19:58:24 +00:00
Derick Rethans
64c498bddd
- Added support for abbreviation and offset based timezone specifiers for
...
DateTime::getOffset() and DateTime::getName().
- Fixed bug #43527 (DateTime created from a timestamp reports environment
timezone).
- Fixed bug #42190 (Constructing DateTime with TimeZone Indicator invalidates
DateTimeZone).
2008-01-17 18:48:44 +00:00
Ilia Alshanetsky
f5aae18ad3
MFB: Fixed bug #43871 (crash inside dns_get_record)
2008-01-17 14:12:36 +00:00
Greg Beaver
e4c02a6b96
do fancy-shmancy zip dependency validation because ZEND_MOD_OPTIONAL_EX doesn't do any version validation
2008-01-17 05:52:18 +00:00
Greg Beaver
86fc96d86b
update package.xml
2008-01-17 04:56:40 +00:00
Greg Beaver
fa6027041d
refine config.m4 to use the newly found zip headers
2008-01-17 04:04:30 +00:00
Greg Beaver
9a59e60657
remove HAVE_ZIP defines just as we removed HAVE_BZ2 defines and for the same reason
...
update outdated description of phar in config.m4
make zip extension mandatory on windows for compiling purposes
2008-01-17 03:59:07 +00:00
Greg Beaver
a3718dcfa3
no need to use conditional defines for bz2, we don't call it except indirectly through stream wrappers.
...
After removing HAVE_BZ2 conditionals, phar works even if bz2 is not present on installation through pecl
2008-01-17 03:48:29 +00:00
Greg Beaver
535865e908
give up on gpg signing because of non-existent windows support for gpg signing lib
2008-01-17 03:19:44 +00:00
Greg Beaver
ff076eb3cc
update m4 to make zip support always enabled so zip headers must be installed, add dep to package.xml
2008-01-17 02:03:59 +00:00
Greg Beaver
0e934c70d7
add optional whole-file compression to convertToTar/convertToPhar
2008-01-16 21:09:32 +00:00
Greg Beaver
31ed60001c
fix build on windows
2008-01-16 20:17:47 +00:00
Marcus Boerger
0aaea797da
- Fixed Bug #37964 (Reflection shows private methods of parent class)
...
(felipe@php.net )
2008-01-16 14:19:07 +00:00