Commit Graph

22058 Commits

Author SHA1 Message Date
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