Commit Graph

39951 Commits

Author SHA1 Message Date
Hannes Magnusson
6eee7dfce1 MFB: Fix protos 2007-12-15 12:57:05 +00:00
Antony Dovgal
b6da010f35 fix test 2007-12-15 12:44:21 +00:00
4399577219 ChangeLog update 2007-12-15 01:31:29 +00:00
David Coallier
4c7266904d - MFB: Bug #41528
- Added possibility to serialize and unserialize classes that extend to ArrayObject
- See ext/spl/tests/array_023.phpt and ext/spl/tests/bug41528.php for references
- Put a folding for all SPL_ARRAY_METHOD() def
2007-12-15 01:18:28 +00:00
Etienne Kneuss
d6259bc207 Fix folding 2007-12-14 22:52:53 +00:00
Greg Beaver
bb4096ff29 Phar->buildFromIterator now can also accept a stream handle as a value in addition
to a file path (string) or SplFileInfo object
[DOC]
2007-12-14 19:45:22 +00:00
Greg Beaver
f01adb0048 fix test 2007-12-14 18:54:54 +00:00
Greg Beaver
47cef85c22 fix alias overloading detection on windows 2007-12-14 18:42:57 +00:00
Greg Beaver
052dcfcbae fix test 2007-12-14 18:37:49 +00:00
Greg Beaver
4fb3122b16 fix terrible logic discovered in windows testing (not sure how it ever worked on unix) 2007-12-14 18:34:12 +00:00
Raghubansh Kumar
c9ff678d1c New testcases for token_get_all() function 2007-12-14 16:19:29 +00:00
Scott MacVicar
b03ba567d8 MFB: Change createFromTimestamp to setTimestamp 2007-12-14 14:52:38 +00:00
Scott MacVicar
feaa1ba014 - Add Datetime::createFromTimestamp to allow setting of a unix timestamp without invoking the date parser. 2007-12-14 14:27:18 +00:00
Dmitry Stogov
a692ca857e executor optimization 2007-12-14 14:15:23 +00:00
Greg Beaver
708569029c windows fixes #2 (thanks Steph you rule) 2007-12-14 05:45:48 +00:00
Greg Beaver
c6fe26af37 windows fixes (thanks Steph you rule) 2007-12-14 05:39:20 +00:00
Greg Beaver
16c8adf0c1 fix test 2007-12-14 05:22:53 +00:00
Greg Beaver
38bf150e4d remove stupid*$(# debug code 2007-12-14 05:00:59 +00:00
David Coallier
8f41f80411 - Added other test with some unicode words (Sorry if this chinese word
turns out to be offensive I have no clue what it means, just copied it)
2007-12-14 04:49:47 +00:00
David Coallier
4b5929f7bf - MFB: Merged bug41528.phpt test from 5_3
- Added a very similar test but this one just makes sure we keep
  all the properties of the class members that we just serialized
2007-12-14 04:23:09 +00:00
Greg Beaver
2c77090174 better fix, revert unintentional commit to Makefile.frag 2007-12-14 04:10:14 +00:00
Greg Beaver
63f3d5958d fix build on windows, fix segfault in tsrm by uninitialized pointer 2007-12-14 04:08:34 +00:00
fe0b683b21 ChangeLog update 2007-12-14 01:31:26 +00:00
Antony Dovgal
8849402818 add workaround for glibc issue 2007-12-13 22:29:15 +00:00
Douglas Goldstein
235f9515ce add tests for ldap_dn2ufn() 2007-12-13 18:00:46 +00:00
Douglas Goldstein
5af2c9ef9f expand ldap_explode_dn() tests. 2007-12-13 17:46:23 +00:00
Antony Dovgal
63c9380328 add new tests written by Felipe Pena 2007-12-13 13:51:02 +00:00
Dmitry Stogov
579defac82 Allowed import of global classes "use ::GlobalClassName;" (Gregory) 2007-12-13 10:02:26 +00:00
Dmitry Stogov
d47c88feb2 Allowed multiple namespaces per file (Gregory) 2007-12-13 08:58:28 +00:00
Dmitry Stogov
96a21b31d6 Fixed test 2007-12-13 07:57:52 +00:00
Greg Beaver
3b356d5ed8 new test
now, SplDirectoryIterator can be used directly with Phar->buildFromIterator() in order to populate the
files in a phar archive.  When combined with a RegexIterator and other filters, it becomes very easy to create
a phar archive with 1 line of code
[DOC]
2007-12-13 05:22:06 +00:00
4d2f0d8ab6 ChangeLog update 2007-12-13 01:31:28 +00:00
Greg Beaver
6e78306595 new test 2007-12-13 01:20:25 +00:00
Greg Beaver
d243f9ff99 code re-organize to make it more logical 2007-12-13 01:16:56 +00:00
Greg Beaver
4f2d1674ca new test 2007-12-13 01:14:13 +00:00
Greg Beaver
c1a6037cf2 fix test, new test 2007-12-13 01:12:10 +00:00
Greg Beaver
38b35f1448 Phar->buildFromIterator: fix another mem leak, fix test 2007-12-13 01:05:59 +00:00
Greg Beaver
5051732d4c kill 1 memleak 2007-12-13 01:01:27 +00:00
Greg Beaver
463731e2de Phar->buildFromIterator: use spl_iterator_apply(), add 4 tests (mem leaks not yet fixed in the 4th) 2007-12-13 00:54:15 +00:00
Ilia Alshanetsky
0b6a51e539 MFB: Fixed bug #43580 (removed bogus declaration of a non-existent
php_is_url() function)
2007-12-13 00:27:43 +00:00
Greg Beaver
5af85b4f8f implement Phar::buildFromIterator()
first argument is an iterator that returns as values paths to files to add to the phar archive
the key should be the path that the file should be saved as within the phar archive
if the optional second parameter is passed, then the key is ignored and substr(value, strlen(base_directory)) is
used as the save path within the phar archive
[DOC]
2007-12-12 18:01:40 +00:00
Antony Dovgal
5040c2131c add support for Valgrind 3.3.0 (which doesn't have --log-file-exactly option) 2007-12-12 09:20:41 +00:00
b56229e928 ChangeLog update 2007-12-12 01:31:25 +00:00
Greg Beaver
8a614e30db use thread-safe global var to store zend_compile_file, and restore the current zend_compile_file, not the one we
found in MINIT
2007-12-11 19:28:35 +00:00
Greg Beaver
47d859ced2 use stream_copy_to_stream again, figured out how to make the stupid filters work 2007-12-11 19:21:01 +00:00
Greg Beaver
f8fc8fbd69 fix test in 5.3+ 2007-12-11 19:19:47 +00:00
Douglas Goldstein
343258cb31 add skipif case if the ldap extension is not loaded 2007-12-11 17:33:10 +00:00
Douglas Goldstein
7e97026be8 put ldap_explode_dn.phpt in proper directory 2007-12-11 17:30:58 +00:00
Douglas Goldstein
af4cbab850 Adding initial tests for LDAP module. Adding tests for ldap_explode_dn() function 2007-12-11 17:21:51 +00:00
Jani Taskinen
80518808e7 - Revert previous patch, it was correct to do this, error is logged if logging is enabled 2007-12-11 12:25:52 +00:00