Commit Graph

21569 Commits

Author SHA1 Message Date
Antony Dovgal
617ab865a0 MFH: fix int<->long mess causing lots of segfaults on x86_64 2008-08-01 08:27:56 +00:00
Hannes Magnusson
f8f406208b Fix skipif (altough I can't find any such method in the source..?) 2008-08-01 08:01:31 +00:00
Marcus Boerger
152e4273d1 - Consistency rocks: Make all lines start with tabs for indentation
# Just as anythign else we do.
# Also saves about ~0.5k in phar.phar
2008-08-01 06:16:35 +00:00
Marcus Boerger
d29fba1678 - Fix pear PHP_Archive class file location 2008-08-01 05:43:09 +00:00
Scott MacVicar
06337965ae Still need defines so that sqlite3.h will match the lib that sqlite3 uses 2008-07-31 23:56:32 +00:00
Scott MacVicar
7065da57b7 Bundled pdo_sqlite files are no longer required 2008-07-31 23:36:47 +00:00
Scott MacVicar
0d2f16d3d0 Make pdo_sqlite use the bundled extension with sqlite3 (pdo_sqlite gets fts!)
Fix test after class rename
2008-07-31 23:25:39 +00:00
Scott MacVicar
d9509f7a6d Class rename to match Coding Standards 2008-07-31 22:30:26 +00:00
Hannes Magnusson
a31dc0ccd0 Which means do not include.., thanks Jani :) 2008-07-31 22:30:25 +00:00
Hannes Magnusson
f2d88b3efa Say without, since its enabled by default 2008-07-31 22:28:51 +00:00
Scott MacVicar
9abe173e8c Enable by default and fix compile error 2008-07-31 22:24:05 +00:00
Johannes Schlüter
b9f7b21ec1 MFH (DOC] Add array_replace/array_replace_recursive (Mett Wilmas) 2008-07-31 20:18:17 +00:00
Pierre Joye
3250870249 - MFH: add detection for newer libs 2008-07-31 18:04:49 +00:00
Moriyoshi Koizumi
2d08b5aa86 - MFH: Fixed bug #44617 (wrong HTML entity output when substitute_character=entity) 2008-07-31 17:37:12 +00:00
Scott MacVicar
00788aa163 Fix test 2008-07-31 17:13:31 +00:00
Scott MacVicar
76cf0f6e6b Stray RETURN_TRUE value 2008-07-31 16:31:12 +00:00
Olivier Hill
d247a23188 Fix regression issue 2008-07-31 14:20:40 +00:00
Pierre Joye
c71b745655 - update config to match config.m4
(still does not build but will be fixed for alpha2)
2008-07-31 13:13:20 +00:00
Jani Taskinen
b4e313eed4 MFH:- fix test 2008-07-31 11:50:16 +00:00
Rasmus Lerdorf
c6671a0596 Fix test to test higher nesting level 2008-07-31 11:46:23 +00:00
Rasmus Lerdorf
a3383ac3d7 Fix for bug #45030 2008-07-31 09:23:18 +00:00
Scott MacVicar
97400c6cd3 MFH: get fileinfo building again on Windows 2008-07-31 00:33:02 +00:00
Felipe Pena
b2e0077261 - MFH: Fixed memory leak.
# Test: locale_filter_matches(str_repeat('a', 520), str_repeat('a', 520), 1);
2008-07-30 19:34:23 +00:00
Derick Rethans
b5e2564abf - MFH: Fixed a bug with the YYYY-MM format not resetting the day correctly.
- MFH: Fixed a bug in the DateTime->modify() methods, it would not use the
  advanced relative time strings.
- MFH: Fixed return values of all the modifying methods, they now properly
  return the object itself.
2008-07-30 18:00:44 +00:00
Felipe Pena
fcd87bc3a1 - Fixed crash when NULL is passed to locale_accept_from_http() 2008-07-30 16:43:11 +00:00
Rasmus Lerdorf
2f469e8c15 We can afford a larger stack here and other json parsers out there
go deeper than 128.
2008-07-30 13:52:59 +00:00
Antony Dovgal
8127bc0d6b fix folding 2008-07-30 11:59:05 +00:00
Antony Dovgal
e78f487d65 enable this test on all platforms, no reason to limit it windows only 2008-07-30 09:58:55 +00:00
Antony Dovgal
c44161d303 fix test 2008-07-30 09:55:20 +00:00
Pierre Joye
6dcd9b58d5 - mbstring is built shared on windows
it looks like the idea was to have it static (but does not work)
2008-07-30 09:26:15 +00:00
Pierre Joye
4e00d919d2 - fix VC9 build (5.3+)
Please do not revert this fix again and to merge 5.3's changes to HEAD
2008-07-30 08:38:37 +00:00
Jani Taskinen
769400ea83 MFH:ws 2008-07-30 08:18:05 +00:00
Kalle Sommer Nielsen
2d2f6a57f1 MFH: Add test for imagecolorclosesthwb() 2008-07-30 04:35:57 +00:00
Kalle Sommer Nielsen
4f6ad789c7 Add test case for #44849 2008-07-30 01:37:54 +00:00
Pierre Joye
acd17a85dc - MFH: missing in the previous crypt commit (shutdown frees the locking mechanism) 2008-07-29 17:28:41 +00:00
Arnaud Le Blanc
c58e2b9d20 MFH: Added pcntl_sigwaitinfo(), pcntl_sigtimedwait() and pcntl_sigprocmask()
[DOC] pcntl_sigprocmask() allows to block signals. pcntl_sigwaitinfo()
allows to fetch blocked signals or signals delivered while pcntl_sigwaitinfo()
is running. pcntl_sigtimedwait() is pcntl_sigwaitinfo() with a timeout.
2008-07-29 16:59:10 +00:00
Arnaud Le Blanc
204fcbe5d3 MFH: Added pcntl_signal_dispatch()
[DOC] pcntl_signal_dispatch() allows to dispatch pending signals to registered
signal handler functions on-demand. This allows to use pcntl_signal() without
ticks.
2008-07-29 16:46:11 +00:00
Dmitry Stogov
b6cca30211 Fixed memory leak 2008-07-29 14:28:11 +00:00
Arnaud Le Blanc
738346fd92 MFH: Fixed previous fix 2008-07-29 13:57:43 +00:00
Dmitry Stogov
cbf2df4d19 Fixed memory leak 2008-07-29 12:56:52 +00:00
Dmitry Stogov
062daaf6a5 Fixed test 2008-07-29 12:17:19 +00:00
Dmitry Stogov
3c62c4bf7e Removed warning 2008-07-29 11:50:05 +00:00
Antony Dovgal
57caabf653 don't segfault if given invalid/empty private key 2008-07-29 11:18:40 +00:00
Antony Dovgal
2543206105 don't free function name before calling the function 2008-07-29 11:09:00 +00:00
Antony Dovgal
b53da9cd80 fix folding 2008-07-29 10:52:08 +00:00
Antony Dovgal
d9abccb322 MFH: fix copy/paste error (patch by Mikko) 2008-07-29 10:42:44 +00:00
Scott MacVicar
e30b104148 Fix build where __const is already defined like OS X. 2008-07-29 01:20:28 +00:00
Scott MacVicar
2b040f2d66 MFH: Add freelist for tracking sqlite statements to free on implicit SQLite3::close() 2008-07-29 00:56:53 +00:00
Moriyoshi Koizumi
ae04a26afe - Typo. 2008-07-29 00:02:12 +00:00
Scott MacVicar
b8744bf3c9 Fix error when fetchArray reaches the last row, and prototyp error 2008-07-28 23:01:02 +00:00
Derick Rethans
1c8055a4ff - Updated to version 2008.5 (2008e) 2008-07-28 19:31:44 +00:00
Arnaud Le Blanc
0f9026daf9 MFH: When automatically redirecting an HTTP request, use the GET method when the
original method was not HEAD or GET (fixes #45540)
#
# The RFC says that in case of 3xx code, "The action required MAY be
# carried out [...] *only if the method used in the second request is GET or
# HEAD*".
#
# This may not break anything as actually POST requests replying
# with a Location header never worked as the redirecting request was sent using
# the POST method, but without Entity-Body (and without Content-Length header,
# which caused the server to reply with a "411 Length Required" or to treat
# the request as GET).
#
2008-07-28 19:08:02 +00:00
Elizabeth Marie Smith
49aa0feaae Secure versions of string functions don't exist for VC6 2008-07-28 16:43:51 +00:00
Pierre Joye
d4b0beb322 - MFH: vc6 is picky about brackets when used with a defined type... 2008-07-28 16:33:17 +00:00
Etienne Kneuss
1da16cef08 MFH: Increase coverage a bit 2008-07-28 14:24:45 +00:00
Jani Taskinen
7a70ad4502 - Fix EOLs 2008-07-28 11:59:35 +00:00
Pierre Joye
1e820eca02 -MFH:
- #45430, windows implementation of crypt is not TS
 - add Blowfish (using implementation from Solar Designer <solar at openwal dot com>) and extended DES support
 - Make crypt features portable:
   - if no crypt_r, php's implemetation is used (all algo and TS), php can't be used with unsafe crypt anymore
   - if one algo is missing, php's implemetation is used
   - Windows always use php's implementation
 - removed old code in windows/
2008-07-28 11:50:35 +00:00
Moriyoshi Koizumi
b9eaa80150 - SCNG(input_filter) can be null if the script encoding is idential to
the internal encoding.
2008-07-28 07:01:54 +00:00
Moriyoshi Koizumi
cc8145d14f - ??? 2008-07-28 06:13:57 +00:00
Moriyoshi Koizumi
a28497d6e5 - Fix __halt_compiler() weirdness with zend-mulibyte enabled 2008-07-28 05:59:17 +00:00
Marcus Boerger
f24a083dfe - Allow building with ming-0.4rc1 (the latest available ming)
# Necessary to get gcov.php.net working again
2008-07-27 21:32:50 +00:00
Derick Rethans
7537b5b6d7 - MFH: Fixed DateTime::setTimestamp() and added a test for it. 2008-07-27 19:10:23 +00:00
Christopher Jones
8126b1ab94 MFH Update README. Bump ver ready for PECL release 2008-07-27 17:50:41 +00:00
Marcus Boerger
fb5c092815 - Fix openssl check 2008-07-27 04:23:00 +00:00
Jani Taskinen
9218157548 MFH: fix build 2008-07-26 23:58:06 +00:00
Jani Taskinen
96ea7313a6 MFH: build fixes, cs, ws, etc. 2008-07-26 23:42:53 +00:00
Jani Taskinen
9acc87feff - Removed merge typos 2008-07-26 23:38:14 +00:00
Jani Taskinen
0bc9577588 update credits 2008-07-26 22:19:41 +00:00
Jani Taskinen
54203ea5d0 MFH:tune 2008-07-26 22:18:38 +00:00
Jani Taskinen
d448b6b70d - No tabs. 2008-07-26 22:14:52 +00:00
Dmitry Stogov
478acfd8b4 . Added support for using static HEREDOCs to initialize static variables and class members or constants. (Matt)
. Improved syntax highlighting and consistency for variables in double-quoted strings and literal text in HEREDOCs and backticks. (Matt)
. Optimized interpolated strings to use one less opcode. (Matt)
2008-07-26 15:30:28 +00:00
Dmitry Stogov
af05ce0af6 Fixed is_callable/call_user_func mess that had done different things for very similar arguments e.g. array("A","B") and "A::B" 2008-07-26 13:14:04 +00:00
Arnaud Le Blanc
77baec3f6d MFH: Fix bug #45622 (isset($arrayObject->p) misbehaves with ArrayObject::ARRAY_AS_PROPS set) 2008-07-26 12:34:10 +00:00
Felipe Pena
8085094da8 MFH:
- Added arginfo
- Fixed:
  . proto: finfo_buffer
  . parameter type in _php_finfo_get_type()
2008-07-25 15:23:10 +00:00
Moriyoshi Koizumi
9225429040 - MFH: Fix warnings 2008-07-25 14:04:54 +00:00
Moriyoshi Koizumi
52d5287d9a - MFH: Fix wrong cast 2008-07-25 13:57:23 +00:00
Jani Taskinen
281352fe02 MFH: Fix PDO configure dependancy: If --disable-pdo is used, disable all
MFH: enabled-by-default drivers. Also error out if you try to configure
MFH: a driver as static but pdo is disabled.
2008-07-25 13:46:24 +00:00
Moriyoshi Koizumi
1f7e547662 - MFH: Fix a typo in mb_stripos() that caused segfaults (noticed by bs@php.net, thanks). 2008-07-25 12:51:47 +00:00
Andrey Hristov
7833cf9f10 MFH: Fixed bug#45019 Segmentation fault with SELECT ? and UNION 2008-07-25 12:46:03 +00:00
Rob Richards
aa81dabddc MFH: fix zts build 2008-07-25 12:41:57 +00:00
Jani Taskinen
fd3b5bcc5a - Fix description 2008-07-25 12:04:54 +00:00
Jani Taskinen
213fd450fa - No tabs, fix indent in configure --help 2008-07-25 12:01:47 +00:00
Moriyoshi Koizumi
935846db2b - Fix tests. 2008-07-25 10:48:20 +00:00
Dmitry Stogov
ac68c41f8d Fixed support for static methods 2008-07-25 09:44:47 +00:00
Jani Taskinen
ccc012d3f6 MFH: enable fileinfo by default 2008-07-25 09:16:22 +00:00
Jani Taskinen
bdf5b7bdba Update credits 2008-07-25 09:13:24 +00:00
Jani Taskinen
e593146673 MFH: cleanup 2008-07-25 09:10:11 +00:00
Dmitry Stogov
176ebc26ea Fixed uninitialized data 2008-07-25 08:50:55 +00:00
Antony Dovgal
a46319d86d fix typos 2008-07-25 08:45:09 +00:00
Michael Wallner
15da8367c4 - Changed HTTP stream wrapper to accept any code between and including
200 to 399 as successful. (patch by Noah Fontes)
2008-07-25 08:27:37 +00:00
Dmitry Stogov
691d4a6999 Fixed uninitialised data 2008-07-25 08:23:07 +00:00
SVN Migration
7b0f90e0c8 This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2008-07-25 08:18:35 +00:00
Moriyoshi Koizumi
bb35ab45bb - MFH: suppress signedness warnings 2008-07-25 03:42:01 +00:00
Scott MacVicar
d584ed4a01 SQLite3 extension, still has 2 failing tests that will be sorted tomorrow. Will merge to head tomorrow as well. 2008-07-25 02:44:59 +00:00
SVN Migration
14ce4a1d0a This commit was manufactured by cvs2svn to create branch 'PHP_5_3'. 2008-07-25 02:44:58 +00:00
Moriyoshi Koizumi
4f42ed39c0 - Revived zend multibyte 2008-07-24 22:21:41 +00:00
Felipe Pena
0fbe6a0c14 - MFH: Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:52:24 +00:00
Frank M. Kromann
ae8a21ad77 Fix parameter types for a couple of methods 2008-07-24 18:39:42 +00:00
Moriyoshi Koizumi
150d7a5489 - MFH: fix win32 build 2008-07-24 17:00:03 +00:00
Pierre Joye
246d836a28 - MFH: force static for now, broken now 2008-07-24 16:05:34 +00:00