Commit Graph

17532 Commits

Author SHA1 Message Date
foobar
d99d22dc11 oops 2006-01-01 13:25:34 +00:00
foobar
3631df802d - fix typo 2006-01-01 13:13:11 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Greg Beaver
75bac89418 fix eof, fix segfault in stat, add unique dev/inode to allow caching via opcode caches like APC, comply with API 0.7.1, add todo items to EXPERIMENTAL 2006-01-01 07:40:36 +00:00
Marcus Boerger
08bccb4a72 - Fix tests 2005-12-31 17:42:27 +00:00
Marcus Boerger
57413e1b28 - MFB 2005-12-31 17:42:01 +00:00
foobar
7fa87000c5 - Fixed bug #35377 (undefined reference to "fdatasync") 2005-12-31 00:53:21 +00:00
Pierre Joye
e45ec1e460 - ensure that x1<x2 or y1<y2 2005-12-30 09:53:05 +00:00
Pierre Joye
3afdc2e490 - add some basic optimisations, usefull when you draw many horizontal or
vertical lines like in charts
2005-12-30 01:19:32 +00:00
Rui Hirokawa
08a9c6f235 added Turkish language definition (related to bug #29955) 2005-12-29 23:52:59 +00:00
Ilia Alshanetsky
1da0da0986 MFB51: Not a fatal error. 2005-12-29 22:00:09 +00:00
Derick Rethans
d932c37ea2 - MFH: Fixed bug #35751 (using date with a timestamp makes httpd segfault). 2005-12-29 10:56:17 +00:00
Ilia Alshanetsky
821e0586df MFB51: Fixed bug #35817 (unpack() does not decode odd number of hexadecimal
values)
2005-12-28 20:56:22 +00:00
Antony Dovgal
64d9c70e4c tweak the fix 2005-12-27 23:27:02 +00:00
Antony Dovgal
38722a19c1 add test for #35821 2005-12-27 22:35:18 +00:00
Antony Dovgal
41973d8969 MF51: fix #35821 (array_map() segfaults when exception is throwed from the callback) 2005-12-27 22:33:40 +00:00
Derick Rethans
4bb5f21009 - Upgraded timezone db to 2005.18. 2005-12-27 19:49:30 +00:00
Ilia Alshanetsky
18685ea039 MFB51: Improve "skip" checks 2005-12-27 17:17:11 +00:00
Pierre Joye
180aa52fea - remove HAVE_LIBGD20, we support only 2.0+ now
(some were removed by my previous commit)
2005-12-27 00:16:05 +00:00
Pierre Joye
7261a0317b - silent compile warning introduced by previous commit 2005-12-27 00:11:16 +00:00
Pierre Joye
954a2823a6 - HAVE_GD_DYNAMIC_CTX_EX, always defined 2005-12-26 21:46:56 +00:00
Pierre Joye
53973f97d0 - check for jpeg support 2005-12-26 21:41:37 +00:00
Pierre Joye
422d9180d1 - remove HAVE_LIBGD204, always set 2005-12-26 20:44:19 +00:00
Pierre Joye
efcdf4ea4d - remove USE_GD_IOCTX, both bundled and extern lib use IOCTX 2005-12-26 20:34:42 +00:00
Pierre Joye
f728cb07e6 - basic gif i/o test 2005-12-26 19:11:51 +00:00
foobar
4cbffe865e fix test 2005-12-26 18:30:12 +00:00
Pierre Joye
7074d0c2bf - imagetypes test
- copyresized title
2005-12-26 17:15:51 +00:00
Antony Dovgal
fbe210b8b5 add new test 2005-12-26 15:15:10 +00:00
Pierre Joye
ab24e85893 - copyresized basic test
more once imagediff is available
2005-12-26 12:05:36 +00:00
Zeev Suraski
9f0868506e Whitespace 2005-12-26 09:30:40 +00:00
Pierre Joye
ed3a1b0e96 - #35805 add LIBXSLT_VERSION, LIBXSLT_DOTTED_VERSION, LIBEXSLT_VERSION and
LIBEXSLT_DOTTED_VERSION

MFH?
2005-12-26 00:54:12 +00:00
Antony Dovgal
b6b4514801 add missing skipif tag 2005-12-25 22:38:36 +00:00
Pierre Joye
5f018ca382 - add colorclosestalpha tests 2005-12-25 22:02:53 +00:00
Pierre Joye
1b6d773657 - add colorresolvealpha to colorresolve tests
- update colormatch
2005-12-25 21:45:04 +00:00
Pierre Joye
76f28deeeb - raise warning instread of errors in colormatch 2005-12-25 20:32:25 +00:00
Ilia Alshanetsky
58a2299c91 MFB51: Make MySQL driver use ANSI complaint quoting style. 2005-12-25 20:30:56 +00:00
Pierre Joye
65df8e80ea - fix leak/segfaults in imagecolormatch
- add tests for imagecolorexact and imagecolormatch
  The later is only about the segv
2005-12-25 19:21:58 +00:00
foobar
6102ec3a06 - Remove wrong inline usage (and fix bug #35796) 2005-12-25 16:03:38 +00:00
Rui Hirokawa
8864bf27e2 fixed #35711, added mbstring.strict_detection to detect the encoding striktly. 2005-12-25 15:21:54 +00:00
Pierre Joye
49f0d6b8c2 - add truecolortopallete and istruecolor test
- titles for colorclosest/resolve...
2005-12-24 14:05:20 +00:00
Pierre Joye
439eaf24d6 - fix titles
- function check
2005-12-24 14:01:54 +00:00
Marcus Boerger
d06b1b77a1 - MFB Make this work with VPATH builds too 2005-12-24 13:19:49 +00:00
Rui Hirokawa
3eab2fa294 fixed #35711 ISO-8859 charset not correctly detected. 2005-12-24 01:20:26 +00:00
Marcus Boerger
1edb0395ab - Fixed Bug #35785 (SimpleXML memory read error) 2005-12-23 20:31:39 +00:00
Marcus Boerger
69ae0635f4 - Add new test 2005-12-23 20:26:22 +00:00
Marcus Boerger
079c4d1b5e - Fix test by splitting it 2005-12-23 20:03:31 +00:00
Stefan Esser
5790c9d727 MFB: format string fixes 2005-12-23 18:43:03 +00:00
Antony Dovgal
1c7661a301 MFB: fix #35781 (stream_filter_append() can cause segfault) 2005-12-23 15:05:42 +00:00
Rui Hirokawa
bcf3a3311d added turkish language support for libmbfl. 2005-12-23 13:53:30 +00:00
Rui Hirokawa
7c20dce548 fixed #29955 mb_strtoupper() / lower() broken with Turkish encoding.. 2005-12-23 13:50:29 +00:00
Antony Dovgal
29d4cc7441 fix tests 2005-12-23 13:24:17 +00:00
Rui Hirokawa
283f4759f6 fixed #28899 mb_substr() and substr() work differently when mbstring.func_overload is enabled. 2005-12-23 11:14:54 +00:00
Dmitry Stogov
b863d32288 Fixed memory corruption and termination through _zend_bailout() 2005-12-23 09:41:31 +00:00
Marcus Boerger
3590c425b3 - Do not test output escaping here 2005-12-23 08:44:34 +00:00
Pierre Joye
2ca0c5abb7 - remove HAVE_GDIMAGECOLORRESOLVE here too (w32) 2005-12-22 23:25:06 +00:00
Pierre Joye
c13515dd1f - add tests for:
- imagecolorclosest
 - imagecolorresolve
 - imagecopy
 - imageline
 -imagesetstyle and dashed line
- remove HAVE_GDIMAGECOLORRESOLVE, always present
2005-12-22 23:22:26 +00:00
Zeev Suraski
84a2475b16 Fix prototype (MFB) 2005-12-22 14:56:29 +00:00
Antony Dovgal
ddf87742ec change -o to || to be more portable 2005-12-22 11:02:51 +00:00
Marcus Boerger
c04b25f63c - Find lib in default locations, too 2005-12-22 08:57:50 +00:00
Dmitry Stogov
9faaef0d08 Fixed memory corruption 2005-12-22 07:54:19 +00:00
Marcus Boerger
2f2711acfd - MFB Fix leak 2005-12-22 00:38:05 +00:00
Marcus Boerger
b6caa5e369 - MFB Fix memleak 2005-12-22 00:24:49 +00:00
Antony Dovgal
73db3873cc MFB: merge two skipif entries 2005-12-22 00:20:44 +00:00
Frank M. Kromann
8560728ae0 Fix #35730 Use correct character encoding with FreeTDS 2005-12-21 22:44:04 +00:00
Marcus Boerger
8a7a093996 - Add missing skipif 2005-12-21 22:21:54 +00:00
foobar
c7fbeb694a - Fixed bug #35461 (Ming extension fails to compile with ming 0.3beta1) 2005-12-21 21:43:26 +00:00
foobar
8b5d0a9178 use more portable || here 2005-12-21 21:15:37 +00:00
Marcus Boerger
d3ae24eb79 - MFB Need to store length (and type) of class name 2005-12-21 20:12:44 +00:00
Ilia Alshanetsky
41ef7fb555 MFB51: Don't lose track of exec() errors in pdo_sqlite2 2005-12-21 16:23:32 +00:00
foobar
88a1a3cecc - Fix possible compile failure if configuring with --disable-all 2005-12-21 14:22:02 +00:00
Pierre Joye
f91b2c66a8 - skip NG if no SCHEMAS support
- skip readInner/OuterXml if not defined
2005-12-21 13:34:44 +00:00
Pierre Joye
720753d864 - readInnerXml() and readOuterXml() test 2005-12-21 13:25:02 +00:00
Antony Dovgal
71ee97561e MFB: fix test, add test for 64bit platform 2005-12-21 12:16:25 +00:00
Antony Dovgal
ca342b5f3b MFB: fix test 2005-12-21 11:46:51 +00:00
Antony Dovgal
632e571642 MFB: add missing skipif conditions, fix existing ones
add one missing test
2005-12-21 11:43:24 +00:00
Antony Dovgal
3231899d71 MFB: add missing skipif conditions 2005-12-21 10:50:10 +00:00
Antony Dovgal
b3741339d5 MFB: fix #35760 (sybase_ct doesn't compile on Solaris) 2005-12-21 10:19:49 +00:00
Pierre Joye
bb2ea6d564 - add some tests, ~70% now 2005-12-21 03:46:02 +00:00
Pierre Joye
02b822397f - typo in error msg 2005-12-21 02:59:00 +00:00
Pierre Joye
0813bcbfd5 - update inline docs
- fix {{{ }}}
2005-12-21 00:37:49 +00:00
Marcus Boerger
a9a1bd419b - Only apply workaround solution for 64 bit machines when necessary
# Actually this can already be necessary on 32 bit machine and also not be
# necessary on 64 bit machines. It all depends on the compiler settings.
2005-12-20 21:36:47 +00:00
Marcus Boerger
7ffe23c515 - MFB Get rid of warnings 2005-12-20 21:12:13 +00:00
Derick Rethans
836978a509 - MF51: This check is unnecessary, as it can only be set through the
date_default_timezone_set() function which checks the value already.
2005-12-20 19:59:47 +00:00
Derick Rethans
2dcdf6769a - Fixed bug #35660 (AIX TZ variable format not understood, yields UTC timezone). 2005-12-20 19:50:05 +00:00
Ilia Alshanetsky
f2d96a5a96 fixed php version detection 2005-12-20 19:17:00 +00:00
Derick Rethans
8e4e37ca9e - MF51: Fixed bug #35699 (date() can't handle leap years before 1970) 2005-12-20 16:01:21 +00:00
Ilia Alshanetsky
81d4a41dfb MFB51: Updated libsqlite in ext/pdo_sqlite to 3.2.8. 2005-12-20 15:33:19 +00:00
Ilia Alshanetsky
d508cfee49 MFB51:
Updated libsqlite in ext/sqlite to 2.8.17.
Use in-memory database for tests.
2005-12-20 15:26:45 +00:00
Ilia Alshanetsky
cf2e00bb39 MFB51: Proper error handling for persistent connections. 2005-12-20 14:50:30 +00:00
Rob Richards
ad97cf20be remove leftover code
clear zend_object rather than deal with the guards
issue notice if node is of a type that cannot be expanded
2005-12-20 14:13:11 +00:00
Antony Dovgal
320b5ce461 MFB: more SPL leak fixes 2005-12-20 12:41:38 +00:00
Antony Dovgal
8f5f3d8408 MFB: add test for #35740 2005-12-20 09:52:05 +00:00
Ilia Alshanetsky
2c98f6435d MFB51: Fixed possible memory corruption. 2005-12-19 16:34:00 +00:00
Rob Richards
ddba5e9531 cleanup code making it easier to add new functionality and maintain
implement xmlwriter_full_end_element and xmlwriter_write_raw
2005-12-19 15:05:41 +00:00
Rob Richards
046b0daf15 Fixed bug #35447 (xml_parse_into_struct() chokes on the UTF-8 BOM)
add test
2005-12-19 14:16:10 +00:00
Antony Dovgal
e236055976 MFB: fix possible invalid reads 2005-12-19 13:53:28 +00:00
Derick Rethans
85858a73b6 - MF51: Updated timezone database to version 2005.17 (q). 2005-12-19 13:32:22 +00:00
Derick Rethans
1394b48d21 - Reintroduced the normal constants.
- Made the test cases work with the normal non-class constants.
- Merged new timelib, which is a bit more cleverer
- Support "UTC" in strtotime() properly.
- Added astro code, which is going to form the base for the new sunfuncs.
2005-12-19 12:57:49 +00:00
Marcus Boerger
1a7b411f9a - MFH IteratorIterator::__construct() fixes 2005-12-19 00:55:40 +00:00
foobar
9562bb9659 - Fixed bug #35723 (xmlrpc_introspection.c fails compile per C99 std) 2005-12-18 22:59:39 +00:00
Antony Dovgal
099ab8ac8d MFB: fix leak in SPL iterators 2005-12-18 22:53:18 +00:00
Antony Dovgal
9e23794cb8 MFB: fix typo 2005-12-18 21:17:42 +00:00
Antony Dovgal
891059b089 more spelling fixes 2005-12-18 21:00:59 +00:00
Antony Dovgal
3e2d9c2549 fix spelling 2005-12-18 20:57:06 +00:00
foobar
f5318a9530 touch with re2c 0.9.11 2005-12-18 19:54:50 +00:00
Ilia Alshanetsky
3a3e7a86e8 MFB51: Fixed UTC handling problem stemming from an earlier fix for bug #35422. 2005-12-18 16:20:12 +00:00
Derick Rethans
663bb230b9 - Those should be lower case only. 2005-12-18 16:06:28 +00:00
Zeev Suraski
9e5bd669d9 Fix prototypes (MFB) 2005-12-18 16:00:02 +00:00
Zeev Suraski
d04772ab12 Prototype fix (MFB) 2005-12-18 15:47:03 +00:00
Zeev Suraski
4000ac531c Prototype fixes (MFB) 2005-12-18 15:41:22 +00:00
Zeev Suraski
9955ce10b1 Fix prototype (MFB) 2005-12-18 14:05:23 +00:00
Antony Dovgal
9f5c6d64bc that's not what I was going to commit.. 2005-12-18 12:50:01 +00:00
Antony Dovgal
176c27c149 fix possible usage of uninitialized variable 2005-12-18 12:48:22 +00:00
Pierre Joye
84673b291e - keep it sync'ed 2005-12-18 02:07:34 +00:00
Ilia Alshanetsky
23005e96f1 MFB51: Fixed parameter parsing for setIndent() method. 2005-12-17 20:05:21 +00:00
Ilia Alshanetsky
bc2ed13110 MFB51: Fixed memory corruption when FETCH_LAZY mode is being used. 2005-12-17 20:00:14 +00:00
Ilia Alshanetsky
1014cb28c2 MFB51: Fixed uninitialized variable in a test. 2005-12-17 19:58:02 +00:00
Antony Dovgal
a63b1bfd0c MFB: int -> long 2005-12-17 16:08:08 +00:00
Marcus Boerger
5d60cbc498 - MFB Fix export 2005-12-17 15:44:44 +00:00
Marcus Boerger
9360c2acd2 - MFB Add optional dependency to ext/dom 2005-12-17 15:41:18 +00:00
Marcus Boerger
884cb32a38 - MFB 2005-12-17 00:09:06 +00:00
Marcus Boerger
25052ff3af - MFB 2005-12-16 23:21:38 +00:00
Ilia Alshanetsky
bc2e673856 MFB51: Fixed bug #35705 (strtotime() fails to parse soap date format
without TZ).
2005-12-16 22:40:09 +00:00
Marcus Boerger
927016e154 - MFB Fix zend_is_callable() usage 2005-12-16 22:26:43 +00:00
Marcus Boerger
cea4c80b88 - Add new tests 2005-12-16 22:22:14 +00:00
Antony Dovgal
c9ae9cd47e MF51: fix #35713 (getopt() returns array with numeric strings when passed options like '-1')
TODO:
make getopt() unicode aware
2005-12-16 20:50:38 +00:00
Pierre Joye
4abc190946 - remove HAVE_LIBGD15, always set 2005-12-16 19:21:55 +00:00
Pierre Joye
cc938b5df0 - fix leaks and wrong error when invalid/empty string are given to
imagecreatefromstring
- add test for imagecreatefromstring
- add test for palettecopy
2005-12-16 19:02:07 +00:00
Pierre Joye
366f2ee161 - adieu HAVE_LIBGD13
- add imagecolorat tests (truecolor and palette)
2005-12-16 17:02:30 +00:00
Antony Dovgal
f39eed623d MF51: fix test, add new one 2005-12-16 15:52:54 +00:00
Antony Dovgal
67f9574b78 fix test
this linenumber may vary
2005-12-16 14:57:13 +00:00
Antony Dovgal
e17430e145 MF51 Ilia's last fix
fix the test appropriately
2005-12-16 14:50:32 +00:00
Ilia Alshanetsky
ed5383b811 MFB51: Cleanup code and prevent usage of uninitialized variable. 2005-12-15 22:54:29 +00:00
Antony Dovgal
1518ba3bf7 fix #35692(iconv_mime_decode() segfault, with libiconv only) 2005-12-15 22:47:27 +00:00
Ilia Alshanetsky
c64ae2f2c9 MFB51: Fixed bug #35694 (Improved error message for invalid fetch mode). 2005-12-15 22:35:18 +00:00
Antony Dovgal
90b95eeb23 fix #35690 (pack() tries to allocate huge memory block when packing float values to strings) 2005-12-15 22:14:25 +00:00
Pierre Joye
72ae77a1d8 - #35681, non ansi comment 2005-12-15 13:57:14 +00:00
Frank M. Kromann
89a3dc14af Export symbols needed by pecl/http 2005-12-15 02:26:14 +00:00
Pierre Joye
ca7270ffa2 - add wbmp read/write tests
- remove HAVE_GD_WBMP, always available
2005-12-14 22:33:34 +00:00
Pierre Joye
aa3fe56fb9 - correct title 2005-12-14 19:50:42 +00:00
Pierre Joye
0ab721ab1d - remove HAVE_GD_GD2 on windows as well 2005-12-14 19:12:57 +00:00
Pierre Joye
5436f9f38d - remove HAVE_GD_GD2, always valid now (2.0.33 or bundled) 2005-12-14 19:10:52 +00:00
Pierre Joye
e2091ad9ea - tests for imagecreatefromgd2 and gd2part 2005-12-14 19:00:28 +00:00
Marcus Boerger
218c07c328 - Fix issue spotted by Wez using ms vc 2005 2005-12-14 09:55:04 +00:00
Greg Beaver
4479bebb13 streamline, add more phpinfo output
switch parameter order for PHP_Archive::mapPhar, will be better in the long run
2005-12-14 03:42:43 +00:00
Antony Dovgal
41fad0ad77 fix spelling and #35665 2005-12-14 00:54:04 +00:00
Greg Beaver
d2339c11e2 add package.xml 2005-12-13 23:40:25 +00:00
Antony Dovgal
3c78e5804a new test 2005-12-13 21:43:16 +00:00
Ilia Alshanetsky
4cb1bf0e9e MFB51: Fixed bug #35655 (whitespace following end of heredoc is lost). 2005-12-13 21:00:49 +00:00
Ilia Alshanetsky
41baa7abbe MFB51: Fixed bug #35630 (strtotime() crashes on certain relative
identifiers).
2005-12-13 02:29:53 +00:00
Antony Dovgal
762842ee30 MF51: fix tests and their skip conditions 2005-12-12 21:21:36 +00:00
foobar
7a44f346a3 - Fix build failure under win32 2005-12-12 19:44:27 +00:00
Dmitry Stogov
c354d5e0f6 Fixed bug #35570 (segfault when re-using soap client object) 2005-12-12 09:25:07 +00:00
Greg Beaver
b4cc79277a complete unit tests (woohoo!)
add stream seek (mistakenly never enabled)
2005-12-12 06:17:16 +00:00
Ilia Alshanetsky
a13a4487a4 MFB51: Fixed bug #35629 (crash in http:// wrapper on multiple redirects). 2005-12-12 05:04:43 +00:00
foobar
953cff2d0a - Added missing fold tags 2005-12-11 22:38:24 +00:00
Ilia Alshanetsky
21a47c4950 MFB51:
Fixed bug #35624 (strtotime() does not handle 3 character weekdays).
Improved fix for bug #35414.
2005-12-11 22:37:20 +00:00
Edin Kadribasic
d2af3d0e30 MFB: Updated to libxml2 to 2.6.22, thanks to rrichards 2005-12-11 21:55:00 +00:00
Greg Beaver
e0b54bcdd3 slightly clearer error message 2005-12-11 21:44:44 +00:00
Edin Kadribasic
48f4c97b8c Use php5 built-in zlib. Unfortunatelly we don't export zError() there
so I habe generic "compression error" will suffice.
2005-12-11 21:23:35 +00:00
Marcus Boerger
12c5f90386 - Change to use sane default flags fro RecursiveDirectoryIterator
- Drop 2nd parameter from DirectoryIterator::__construct()
2005-12-11 16:43:00 +00:00
Marcus Boerger
90a321d854 - MFB 2005-12-11 15:28:52 +00:00
Marcus Boerger
3f8491c2fa - Show an error if no pdo object can be created 2005-12-11 15:24:38 +00:00
Marcus Boerger
10fc301bf9 - Fix tests 2005-12-11 14:49:19 +00:00
Edin Kadribasic
7a57d03c8d Fixed ZTS build 2005-12-11 13:19:43 +00:00
Marcus Boerger
1cc57585d8 - Revert accidential 'drop in' from 1.227 2005-12-11 12:46:51 +00:00
Greg Beaver
dd8e3dd4df fix opendir, add test for subdirectory, revert stupid addition to 018.phpt 2005-12-11 08:14:44 +00:00
Greg Beaver
d4ac5bf120 make sure it doesn't pick up non-entries 2005-12-11 07:26:46 +00:00
Greg Beaver
7187bdc0d3 add opendir/readdir test for root dir, fix dir stat 2005-12-11 07:25:30 +00:00
Omar Kilani
a1bef77510 Remove config.m4 reference to json_c/config.h.
Add package.xml.
2005-12-11 05:13:35 +00:00
Greg Beaver
ca86d4fa92 switch to php_stream_wrapper_log_error from php_error_docref (should be documented somewhere...), add test for failing stream open 2005-12-11 00:00:31 +00:00
Greg Beaver
285b5a934e fix minor leak on zlib error, new test for gzipped internal file 2005-12-10 23:19:32 +00:00
Greg Beaver
bbbd9ba1f1 add missing tests 2005-12-10 02:33:35 +00:00
Greg Beaver
0552791eca crc32 mismatch test 2005-12-10 02:33:09 +00:00
Greg Beaver
fb5cff819d add crc checked flag, for slight speedup on multiple access to the same file 2005-12-10 00:00:00 +00:00
Greg Beaver
e1d98926ba new test, better naming of tests 2005-12-09 23:55:52 +00:00
Greg Beaver
0285ef3952 fix leaks, mem corruption, and add test for successful phar 2005-12-09 23:37:03 +00:00
Antony Dovgal
749c6e3016 fix #35617
no need to separate zvals twice
2005-12-09 22:26:39 +00:00
Rob Richards
37d1633ff4 allow NULL prefix to create default namespace
fix tests
2005-12-09 20:51:23 +00:00
Greg Beaver
48050ca09d add constraint check for number of manifest entries, and test 2005-12-09 19:55:29 +00:00
Antony Dovgal
b0a7b43a55 MF51: fix wrong macro usage 2005-12-09 18:53:54 +00:00
Pierre Joye
183a717c70 - no need to test if jpeg support exists 2005-12-09 18:16:21 +00:00
Pierre Joye
8b81d9279f - MFB: test for compression mode in imagepng 2005-12-09 18:14:12 +00:00
Dmitry Stogov
c548f7d610 Fixed possible SIGSEGV (Rob Richards) 2005-12-09 15:28:57 +00:00
Dmitry Stogov
7810872573 Support for 64-bit platforms 2005-12-09 13:41:06 +00:00
Antony Dovgal
be74ca8f85 MF51: nuke C++ comment 2005-12-09 13:32:07 +00:00
Rob Richards
07bcf94d86 update TODO 2005-12-09 06:43:35 +00:00
Pierre Joye
f567ef8e1c - dtd added, remove from todo 2005-12-09 06:31:21 +00:00
Rob Richards
944dc57ef5 - enable a few additional functions
- add tests
2005-12-09 04:56:21 +00:00
Antony Dovgal
8338c39ff3 add new tests 2005-12-08 22:31:55 +00:00
Antony Dovgal
0b8250468c improve error message 2005-12-08 22:05:44 +00:00
Antony Dovgal
f698b6ea42 add 1 to the max_length to keep \0 at its place 2005-12-08 21:22:38 +00:00
Antony Dovgal
d5cd3efe2b fix segfault in SplFileObject when file doesn't exist or cannot be read 2005-12-08 19:53:43 +00:00
Frank M. Kromann
c443a8d20b Allow the extension to be compiled as shared object on win32 2005-12-08 19:43:53 +00:00
Greg Beaver
755e9c3172 improve error messages to state overrun when it exists. Also, catch overrun before we attempt to write beyond the buffer's end 2005-12-08 07:59:18 +00:00
Greg Beaver
f86df41ff4 new test for truncated manifest 2005-12-08 07:49:47 +00:00
Greg Beaver
68a5fdea12 CS // -> /* */ 2005-12-08 07:38:44 +00:00
Greg Beaver
eb3c055e21 rework errors slightly. Add buffer overflow check for manifest, so we don't create a memory monster by accident 2005-12-08 07:34:16 +00:00
Greg Beaver
919b0736c5 add next truncation test, tweak error messages 2005-12-08 07:08:49 +00:00
Greg Beaver
16bd8c6ac7 add error if seeking fails on self, add test 1 for truncated phar 2005-12-08 06:46:02 +00:00
Greg Beaver
6ff5c1f974 add error if __HALT_COMPILER(); is not declared and new test 2005-12-08 06:38:26 +00:00
Greg Beaver
dc26e611e4 test for no zlib error message 2005-12-08 06:23:21 +00:00
Ilia Alshanetsky
331b7d7b27 MFB51: Fixed bug #35594 (Multiple calls to getopt() may result in a crash). 2005-12-08 03:25:42 +00:00
Ilia Alshanetsky
34701f23eb MFB51: Fixed bug #34359 (Possible crash inside fopen http wrapper). 2005-12-08 02:53:34 +00:00
Michael Wallner
259b231aab - release 1.1 2005-12-07 19:51:38 +00:00
Michael Wallner
92d13b7850 - fix PECL bug #6283 - haval source file entries are missing in package.xml 2005-12-07 18:39:54 +00:00
Dmitry Stogov
8010c59c88 Unicode support 2005-12-07 16:52:13 +00:00
Dmitry Stogov
ce89a8831e Fixed tests 2005-12-07 15:19:30 +00:00
Dmitry Stogov
461f1d3c70 Fixed tests 2005-12-07 14:39:07 +00:00
Dmitry Stogov
25d6294650 Fixed test 2005-12-07 14:32:42 +00:00
Dmitry Stogov
2e83748cfc Fixed bug #33394 (Socket Timeout on SOAP request causes general exception in Apache process). 2005-12-07 13:55:52 +00:00
foobar
0c90ddd3a1 fix tests 2005-12-07 11:53:28 +00:00
Dmitry Stogov
5bb71a7871 Fixed sleep() magic method with private and protected members 2005-12-07 09:41:22 +00:00
Rasmus Lerdorf
9e45839ada A few cleanups. I hope you don't mind Omar. 2005-12-07 09:12:39 +00:00
Pierre Joye
224de2c66a - add latest changes to package.xml 2005-12-07 06:58:14 +00:00
Greg Beaver
eea900316b add PHP_Archive::canCompress() which determines whether zlib decompression is available
clean up code slightly
add lots of error notification
add .cvsignore for tests/
update 002 to handle new testing behavior
2005-12-07 06:39:03 +00:00
Rob Richards
d8427c5efa - fix remaining parameter typo
- add test
2005-12-07 04:59:41 +00:00
Pierre Joye
ddbc24465e - copy/paste error in startDtd, we do not need the res here 2005-12-07 03:20:13 +00:00
Greg Beaver
9c9dcd7d88 parameter count test 2005-12-07 01:47:49 +00:00
Greg Beaver
0a786a87b0 first simple test 2005-12-07 01:44:24 +00:00
Frank M. Kromann
b6f3fc1acf Fix ZTS and Win32 builds 2005-12-07 01:18:54 +00:00
Greg Beaver
ebc087c72a apparently no email here 2005-12-07 00:49:46 +00:00
Antony Dovgal
6b8cb7d2ad fix typo 2005-12-06 19:26:57 +00:00
Antony Dovgal
491c43cf2e nuke erroneous --ENV-- tag
add new tests for oci_bind_array_by_name()
2005-12-06 19:15:02 +00:00
Sara Golemon
d34df75ee1 Block potential segfault.
Context option type not checked for "user_agent","header", and "content"
2005-12-06 19:13:27 +00:00
Antony Dovgal
d93c613429 MF51: use strlen() to get correct element length 2005-12-06 18:54:33 +00:00
Sara Golemon
bc8654e427 MFB: Prep for PECL release 2005-12-06 17:56:56 +00:00
Antony Dovgal
a42b9d7a0f fix CS 2005-12-06 15:20:53 +00:00
Antony Dovgal
6cebabed0a add tests
Code covered:	91.3 %
2005-12-06 15:18:56 +00:00
Antony Dovgal
a59ddf0a56 reimplement php_filter_callback() as exception-safe and without memleaks 2005-12-06 15:17:38 +00:00
Antony Dovgal
a317347723 accept strings and arrays as callback name 2005-12-06 15:16:33 +00:00
Antony Dovgal
b35b72f9ed don't try to encode empty strings 2005-12-06 13:46:56 +00:00
Antony Dovgal
df5f4abe96 fix tests 2005-12-06 10:23:28 +00:00
Antony Dovgal
43f74ba5f1 plug multiple leaks
(you need to destroy the zval before changing its type manually)
2005-12-06 10:21:52 +00:00
Omar Kilani
f54496cd39 Add json extension to PECL. 2005-12-06 06:23:24 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
foobar
a05e8e335d - nuke php3 legacy 2005-12-06 02:10:00 +00:00
foobar
f53c892557 fix build 2005-12-06 02:07:17 +00:00
foobar
5f44819b72 - function_entry -> zend_function_entry (php3 legacy!) 2005-12-06 02:00:07 +00:00
foobar
c0c7b984f0 nuke php3 legacy 2005-12-06 01:39:35 +00:00
foobar
acf2ab661a nuke php3 legacy 2005-12-06 01:26:39 +00:00
foobar
fae94910ae nuke php3 legacy (and be consistent) 2005-12-06 01:02:38 +00:00
foobar
a9166edcf4 nuke php3 legacy 2005-12-06 01:00:13 +00:00
foobar
bb1be4efaf fix build 2005-12-06 00:54:11 +00:00
foobar
879222732d - nuke php3 legacy 2005-12-06 00:51:53 +00:00
foobar
8fa72be4ee - Nuke php3_compat.h 2005-12-06 00:44:22 +00:00
foobar
77205941f5 - nuke php3 legacy 2005-12-06 00:43:35 +00:00
Ilia Alshanetsky
1be62560c5 1.0.2 2005-12-06 00:27:01 +00:00
foobar
7d61579034 - Use the real name instead of the BC name here 2005-12-05 23:52:30 +00:00
foobar
34ad5ab731 - list_entry -> zend_rsrc_list_entry 2005-12-05 23:31:09 +00:00
foobar
0ac2b74b0b - Nuke php3 legacy 2005-12-05 22:53:34 +00:00
foobar
c33bb84930 - Do not use the PHP3 era names 2005-12-05 22:43:01 +00:00
foobar
4851c062fb fix typo 2005-12-05 22:40:31 +00:00
foobar
130333274b - Do not use the PHP3 era names! 2005-12-05 22:38:17 +00:00
foobar
c297b31a52 - Nuke php3 legacy 2005-12-05 22:21:12 +00:00
Brian France
5e81ec643f Wrap the php_session.h include in the same ifdef as the rest of the
session code.
2005-12-05 20:41:57 +00:00
Stanislav Malyshev
1a60646023 MF5.1: fix reallocation bug 2005-12-05 20:08:19 +00:00
Ilia Alshanetsky
f30dbd9f54 MFB51: Fixed bug #35558 (mktime() interpreting 3 digit years incorrectly). 2005-12-05 17:27:24 +00:00
Antony Dovgal
ee5cdb2c14 MF51:
add NEWDECIMAL, NEWDATE, GEOMETRY, SET and ENUM field types
2005-12-05 13:22:49 +00:00
Antony Dovgal
39c135b1c4 MF51:
fix #35536 (mysql_field_type() doesn't handle NEWDECIMAL)
add also SET, ENUM, NEWDATE and GEOMETRY to the switch
2005-12-05 13:20:53 +00:00
Greg Beaver
f9e209f048 fix segfault in opendir/readdir. fix possible duplicate dirs. is_dir() doesn't yet work, so url_stat is not working fully 2005-12-05 08:31:05 +00:00
Greg Beaver
7944a489fd switch to streams, respect safe_mode, open_basedir 2005-12-05 04:47:29 +00:00
Ilia Alshanetsky
9e9a8eb837 MBF51: load proper header file 2005-12-05 04:23:17 +00:00
Greg Beaver
92846c03d4 kill memory leaks 2005-12-05 04:21:36 +00:00
Greg Beaver
852eec498f add ability to detect zlib library when zlib ext is disabled 2005-12-05 01:07:02 +00:00
foobar
6f8644ce1e php3 is dead 2005-12-04 23:27:23 +00:00
Greg Beaver
141aecfcdd attempt to locate zlib even if --with-zlib is disabled, so we can add library support in phar 2005-12-04 23:23:04 +00:00
Greg Beaver
96d6465999 add license text 2005-12-04 22:51:33 +00:00
Greg Beaver
6e0c451133 update header, use PHP 3.01 license 2005-12-04 22:50:54 +00:00
Greg Beaver
9d4036ea7c initial import
# file handling needs to use streams, handle safe_mode/open_basedir
2005-12-04 20:35:38 +00:00
Ilia Alshanetsky
5e2bdfcfcc MFB51: Added tests for new parse_url() and http_build_query() functionality. 2005-12-04 17:58:53 +00:00
Ilia Alshanetsky
08c824bbea MFB51: Fixed bug #35062 (socket_read() produces warnings on non blocking
sockets).
2005-12-04 17:31:40 +00:00
Ilia Alshanetsky
f631fdef4c MFB51: Regen files so they work properly with gcov. 2005-12-04 17:25:26 +00:00
Antony Dovgal
c7631a2dca fix #35543 (php crash when calling non existing method of a class that extends PDO) 2005-12-04 11:40:52 +00:00
Antony Dovgal
a74ea6cfb8 fix typos in xmlwriter/config.m4 2005-12-04 00:20:52 +00:00
Antony Dovgal
e084ac9d8b add declarations
more uint -> size_t fixes
2005-12-03 23:49:52 +00:00
Antony Dovgal
60af8a388c MF51: fix #35538 (new "hash" extensions does not compile on amd64) 2005-12-03 23:31:49 +00:00
Antony Dovgal
58c6a0da27 yet another compile warning 2005-12-03 23:24:07 +00:00
Antony Dovgal
e9f068a7d6 fix compile warning 2005-12-03 23:19:48 +00:00
foobar
cdd291f514 - Fix bug #35530 (ext/bz2 compile failure with phpize) 2005-12-03 13:22:20 +00:00
Michael Wallner
2e3a2a5dbc MF51: add adler32 test 2005-12-03 10:32:42 +00:00
Michael Wallner
5da5750736 - fix ws 2005-12-03 10:24:06 +00:00
Michael Wallner
dbe8a6a629 - add test to package.xml 2005-12-03 10:20:21 +00:00
Michael Wallner
f1a0fdddba - add crc32 test 2005-12-03 10:16:59 +00:00
foobar
2fcfc02141 fix configure --help output 2005-12-03 01:12:35 +00:00
foobar
c7e4853008 fix configure --help output 2005-12-03 01:06:36 +00:00
Sara Golemon
c456c16952 Add MD4 support 2005-12-03 00:51:30 +00:00
foobar
ecd8376f36 - Changed "session.use_only_cookies" to be on by default. 2005-12-02 18:42:41 +00:00
Ilia Alshanetsky
4041e52215 MFB51: Regenerate file to be more gcov friendly 2005-12-02 17:34:35 +00:00
foobar
ab3fcb8f06 MFB51: fix compile warning and paths 2005-12-02 13:23:44 +00:00
Michael Wallner
f48a99133d MF51: use --enable instead of --with 2005-12-02 11:01:19 +00:00
foobar
79bc13d29e - Fix configure 2005-12-02 08:59:26 +00:00
Pierre Joye
f001c7d5a0 - prepare 2.0.2 2005-12-02 00:50:28 +00:00
Michael Wallner
dd947297fe - export everything we've got aliases for 2005-12-01 21:08:17 +00:00
Michael Wallner
4323354ee0 - use php_pcre aliases 2005-12-01 20:53:04 +00:00
Antony Dovgal
37eeba6f27 tweak the fix 2005-12-01 20:39:49 +00:00
Michael Wallner
9bae4e12e4 - ext/filter will need those exports
# php_compat.h still prevents linking
2005-12-01 20:07:01 +00:00
Antony Dovgal
25ac5ff0b7 fix #35508 (PDO fails when unknown fetch mode specified) 2005-12-01 19:59:36 +00:00
Antony Dovgal
1d74918ddd MF51: fix Win32 compile failure 2005-12-01 19:26:31 +00:00
Antony Dovgal
701dfc56b5 two more tests 2005-12-01 18:23:08 +00:00
Rob Richards
6f42894489 change to PHP 3.01 license 2005-12-01 16:41:52 +00:00
Ilia Alshanetsky
38d192b7c6 MFB51: Fixed bug #35499 (strtotime() does not handle whitespace around the
date string).
2005-12-01 16:26:38 +00:00
foobar
7b396961da - Fixed PECL bug #6124: Crash on HTML tags when using FS_STRING 2005-12-01 16:24:19 +00:00
Antony Dovgal
14bdb93d6b MF51: fix #35490 (socket_sendto() unable to handle IPv6 addresses) 2005-12-01 14:03:51 +00:00
Antony Dovgal
4f906aa23f fix potential problem in php_oci_bind_post_exec() when OCIDateToText() fails 2005-12-01 13:46:05 +00:00
Dmitry Stogov
feaa2501d0 Fixed bug #34729 (Crash in ZTS mode under Apache) 2005-12-01 11:49:51 +00:00
foobar
8ae898f486 - Use correct configure option style. Enabled by default. 2005-12-01 08:54:15 +00:00
Sara Golemon
73012ee257 Add hash_hmac() and hash_hmac_file() for single shot HMAC calculations 2005-12-01 04:53:55 +00:00
foobar
2208b59602 - Added win32 build stuff 2005-12-01 00:48:13 +00:00
foobar
cfaa455272 - More cleanups.
# Pierre: Check the convenient list of unnecessary defines in config.m4
# (search for FIXME :)
2005-12-01 00:36:26 +00:00
Ilia Alshanetsky
1792f34008 MFB51: Fixed bug #35496 (Crash in mcrypt_generic()/mdecrypt_generic()
without proper init).
2005-11-30 23:53:47 +00:00
Antony Dovgal
e1a1c5a9b9 add new test 2005-11-30 23:34:51 +00:00
Ilia Alshanetsky
92fd7f24a5 MFB51: Fixed bug #35410 (wddx_deserialize() doesn't handle large ints as keys
properly).
2005-11-30 18:13:17 +00:00
Pierre Joye
6160b285f7 - minor version is 0 2005-11-30 17:33:27 +00:00
Pierre Joye
ead45ca2f6 - use gdlib-config
- bump to 2.0.33 for now, most stable release and closer from the phpgd
  this is only about config.m4, sources cleanup will follow the additions
  of various tests.
2005-11-30 15:59:07 +00:00
Antony Dovgal
6fddd6f878 fix possible crash in pdo_mysql_stmt_dtor() 2005-11-30 11:32:33 +00:00
Michael Wallner
f79f89e265 - fix PHP4 build 2005-11-30 11:11:52 +00:00
Marcus Boerger
a71b5970d5 - Fix tests 2005-11-30 08:14:49 +00:00
Ilia Alshanetsky
2852ace3ef MFB51: fixed zts build 2005-11-29 23:10:48 +00:00
Antony Dovgal
418f83f334 make use of $SED if possible 2005-11-29 21:45:53 +00:00
foobar
fc816c5e76 MFB51: Always use $SED instead of sed 2005-11-29 21:31:35 +00:00
Ilia Alshanetsky
40dd6dfb4e Added missing support for 'B' format identifier to date() function. 2005-11-29 20:48:44 +00:00
Ilia Alshanetsky
667a9b9bce MFB51: Fixed bug #35425 (idate() function ignores timezone settings). 2005-11-29 20:27:21 +00:00
Antony Dovgal
0c110a93d2 MF51: change "-o" to "||" to support weird systems with broken test 2005-11-29 18:38:48 +00:00
Ilia Alshanetsky
1ceacc89f7 MFB51: fixed date tests 2005-11-29 16:25:39 +00:00
Ilia Alshanetsky
7f66777bbf MFB51: Fixed bug #35427 (str_word_count() handles '-' incorrectly). 2005-11-29 16:14:47 +00:00
foobar
1b85d42ba5 - Regenerated with working re2c and with proper options 2005-11-29 08:13:18 +00:00
Marcus Boerger
d237f996f9 - Fix some memleaks 2005-11-29 02:46:19 +00:00
Marcus Boerger
2bb59717c7 - Allow test to be used w/o run-tests.php 2005-11-29 02:41:54 +00:00
Ilia Alshanetsky
eed6f67ffa MFB51:
Fixed bug #35422 (strtotime() does not parse times with UTC as timezone).
Fixed bug #35414 (strtotime() no longer works with ordinal suffix).
2005-11-29 01:31:52 +00:00
Ilia Alshanetsky
2303ff493c MFB51: Fixed bug #35456 (+ 1 [time unit] format did not work). 2005-11-28 23:26:40 +00:00
foobar
a03df6fef7 fix build with libedit 2005-11-28 23:03:49 +00:00
foobar
3cdf23b830 - Fixed bug #35409 (undefined reference to 'rl_completion_matches') 2005-11-28 16:49:35 +00:00
Dmitry Stogov
4192685b64 Fixed bug #35393 (changing static protected members from outside the class, one more reference issue) 2005-11-28 14:33:44 +00:00
Alan Knowles
9aa88e7e43 fix bug #35381 - ensure library is initialized before use 2005-11-28 10:28:17 +00:00
Dmitry Stogov
a859b67027 Fixed bug #35399 (Since fix of bug #35273 SOAP decoding of soapenc:base64binary fails) 2005-11-28 10:09:07 +00:00
Antony Dovgal
e7f4360f2e MF51: use || instead of -o to support weird systems with old test 2005-11-27 23:00:55 +00:00
Antony Dovgal
dc1d5122d1 fix #35430 (PDO crashes on incorrect FETCH_FUNC use) 2005-11-27 20:56:46 +00:00
foobar
0a1d459892 MF51: improve open_basedir check 2005-11-27 20:10:15 +00:00
Antony Dovgal
54047149ad fix config.m4 2005-11-27 18:35:35 +00:00
Antony Dovgal
ed978d2f1a plug memory leak 2005-11-27 18:34:16 +00:00
Marcus Boerger
df710be5c7 - Fix minor issues in RecursiveDirectoryIterator & provide new flag consts 2005-11-27 13:07:18 +00:00
Rob Richards
93ee6cd533 Fixed bug #35316 (Application exception trying to create COM object)
Fix some handler signatures causing memory corruption
Various unicode fixes
2005-11-27 12:21:12 +00:00
Marcus Boerger
1bec704ea7 - Fix editor blocks 2005-11-27 12:13:42 +00:00
Antony Dovgal
9fdd2b6940 show OIC version in phpinfo(); if possible
fix build with older versions: SQLT_BDOUBLE & SQLT_BFLOAT first appeared in Oracle 10
2005-11-26 17:34:35 +00:00
Michael Wallner
2563c13553 - ditch warnings 2005-11-26 14:17:09 +00:00
Michael Wallner
a278e9a74d - use php_hash_* types
# ok with everybody?
2005-11-26 13:15:06 +00:00
Antony Dovgal
34c4afe3dd MF51: add properties hashtable to Timezone class 2005-11-26 12:37:20 +00:00
Antony Dovgal
173cbe620f fix #35402 (New date class causes crash in get_object_vars()) 2005-11-26 09:39:50 +00:00
Michael Wallner
3bc5c7e420 uhm... 2005-11-26 00:15:03 +00:00