Commit Graph

23606 Commits

Author SHA1 Message Date
Felipe Pena
663450701d - Fix memory leak 2008-07-29 16:51:21 +00:00
Arnaud Le Blanc
a617bfdf9e 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:03 +00:00
Felipe Pena
2e0054bfec - Fix crash when NULL is passed to bindtextdomain() (sync with 5_3) 2008-07-29 16:21:38 +00:00
Dmitry Stogov
03ebd36385 Fixed memory leak 2008-07-29 14:27:31 +00:00
Arnaud Le Blanc
d739f8f0da Fixed previous fix 2008-07-29 13:57:20 +00:00
Dmitry Stogov
fbb84e37d8 Fixed memory leak 2008-07-29 12:56:18 +00:00
Felipe Pena
886087b701 - Fix the fix 2008-07-29 12:41:58 +00:00
Felipe Pena
b201b13939 - Fix mem. leak 2008-07-29 12:36:36 +00:00
Felipe Pena
a9e846b21e - Fixed tests 2008-07-29 12:20:39 +00:00
Dmitry Stogov
7129a70051 Fixed test 2008-07-29 12:17:04 +00:00
Dmitry Stogov
21f41b06f3 Removed warning 2008-07-29 11:50:23 +00:00
Antony Dovgal
2eeae6909e fix 5 years old copy/paste error (patch by Mikko) 2008-07-29 10:42:15 +00:00
Antony Dovgal
21008970aa fix test 2008-07-29 08:48:46 +00:00
Antony Dovgal
bd5f8ace6e make ReflectionProperty::getValue() and ReflectionProperty::setValue() consistent with their implementations in 5_3 2008-07-29 08:48:16 +00:00
Antony Dovgal
3f754a5aff no need for FETCH anymore.. 2008-07-29 07:33:58 +00:00
Antony Dovgal
652018e18e more similar fixes 2008-07-29 07:32:52 +00:00
Antony Dovgal
d23d92e077 add TSRMLS_DC and fix crash in ZTS mode 2008-07-29 07:29:22 +00:00
Scott MacVicar
bc50a9772c Add freelist for tracking sqlite statements to free on implicit SQLite3::close() 2008-07-29 00:56:22 +00:00
Scott MacVicar
5a2163a439 MFB: Fix error when fetchArray reaches the last row 2008-07-28 23:03:26 +00:00
Derick Rethans
0da9bc904d - Updated to version 2008.5 (2008e) 2008-07-28 19:31:21 +00:00
Arnaud Le Blanc
aa34fda7ee 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:03:57 +00:00
Elizabeth Marie Smith
fec135a4e3 Secure versions of string functions don't exist for VC6 2008-07-28 16:48:38 +00:00
Pierre Joye
852fef98ed - vc6 is picky about brackets when used with a defined type... 2008-07-28 16:32:48 +00:00
Etienne Kneuss
03de75498d Increase coverage a bit 2008-07-28 14:24:35 +00:00
Jani Taskinen
142b3d5c92 - Fix EOLs 2008-07-28 12:01:57 +00:00
Jani Taskinen
4e37190b44 - Fix EOLs. (Pierre: yea, mac2unix..try not touch files with your braindead Winblows editors!) 2008-07-28 11:56:46 +00:00
Pierre Joye
5ba946926f - #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:34:53 +00:00
Pierre Joye
37f0549fb0 - mac to unix 2008-07-28 09:12:07 +00:00
Pierre Joye
5490f8228b - mac to unix format 2008-07-28 09:03:39 +00:00
Pierre Joye
cd9c6a12e9 - Fix ZTS build 2008-07-28 09:01:03 +00:00
Derick Rethans
d4210b7a4a - Fixed DateTime::setTimestamp() and added a test for it. 2008-07-27 19:09:37 +00:00
Christopher Jones
e10ebdfee7 Update README. Bump ver ready for PECL release 2008-07-27 17:48:16 +00:00
Jani Taskinen
280de2941d *sigh* 2008-07-27 00:07:30 +00:00
Jani Taskinen
0afe7e644c - Fix build 2008-07-26 23:57:48 +00:00
Jani Taskinen
4fe829da39 - Fixed build with bundled library 2008-07-26 23:45:54 +00:00
Jani Taskinen
cca6f5a2f8 jfc..*SIGH* 2008-07-26 23:45:02 +00:00
Jani Taskinen
8c7be471fa fix folding tag 2008-07-26 22:58:45 +00:00
Jani Taskinen
093b7afd9e update credits 2008-07-26 22:40:45 +00:00
Jani Taskinen
17ff08250d - Fix ws/cs (please do not invent your own CS...) and weird EOLs 2008-07-26 22:39:56 +00:00
Jani Taskinen
dbcb0b3255 - Fix EOLs 2008-07-26 22:18:00 +00:00
Jani Taskinen
abeff72aeb tune 2008-07-26 22:17:17 +00:00
Jani Taskinen
5d62a072e0 - No tabs. 2008-07-26 22:11:41 +00:00
Dmitry Stogov
ef5f3cfdf2 . 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:31:38 +00:00
Dmitry Stogov
bdf7981e28 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:56 +00:00
Arnaud Le Blanc
a3f0f90dfd Fix bug #45622 (isset($arrayObject->p) misbehaves with ArrayObject::ARRAY_AS_PROPS set) 2008-07-26 12:33:34 +00:00
Scott MacVicar
de9093bf87 Forgot to add these earlier
SQLite3 extension, still has 2 failing tests that will be sorted shortly.
2008-07-26 01:23:45 +00:00
Scott MacVicar
f591e9076d SQLite3 extension, still has 2 failing tests that will be sorted shortly. 2008-07-25 21:34:15 +00:00
Felipe Pena
f074bae1ea - Added arginfo
- Fixed:
  . proto: finfo_buffer
  . parameter type in _php_finfo_get_type()
2008-07-25 15:20:58 +00:00
Moriyoshi Koizumi
de0e9cea83 - Fix warnings 2008-07-25 14:04:39 +00:00
Moriyoshi Koizumi
86e8d7ebf1 - Fix wrong cast 2008-07-25 13:56:50 +00:00
Jani Taskinen
3f73317c79 - Fix PDO configure dependancy: If --disable-pdo is used, disable all enabled-by-default drivers. Also error out if you try to configure a driver as static but pdo is disabled. 2008-07-25 13:38:41 +00:00
Moriyoshi Koizumi
e8741cc4fc - fix a typo in mb_stripos() that caused segfault.
(noticed by bs@php.net, thanks).
2008-07-25 12:50:14 +00:00
Andrey Hristov
cab531026b Fix bug#45019 Segmentation fault with SELECT ? and UNION 2008-07-25 12:45:27 +00:00
Rob Richards
accb0bcc01 fix zts build 2008-07-25 12:40:23 +00:00
Felipe Pena
5d1a2c3317 - Fix build 2008-07-25 11:54:06 +00:00
Dmitry Stogov
c96256bcaf Fixed support for static methods 2008-07-25 09:48:36 +00:00
Jani Taskinen
b3ec151f8f MFB: generated with a bit newer re2c 2008-07-25 09:17:52 +00:00
Jani Taskinen
419a40f14a - Enable fileinfo by default 2008-07-25 09:16:09 +00:00
Jani Taskinen
a1981bf2d8 - Cleanup after test 2008-07-25 09:10:02 +00:00
Dmitry Stogov
013059c247 Fixed uninitialized data 2008-07-25 08:53:11 +00:00
Michael Wallner
6e228f0c76 - 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:10 +00:00
Derick Rethans
0192c570c8 - No C++ comments. 2008-07-25 08:18:34 +00:00
Derick Rethans
1fdbee278a - Updating the libmagic patch.
- Adding myself to credits.
2008-07-25 08:17:21 +00:00
Derick Rethans
1371ec3fbf - Fixed size calculation.
- Reverted cosmetic fixes that makes upgrading harder.
2008-07-25 08:16:03 +00:00
Moriyoshi Koizumi
ffde39dce5 - Suppress signedness warnings. 2008-07-25 03:41:38 +00:00
Felipe Pena
8e1b4a55cc - Added TSRMLS_DC to apply_func_args_t and zend_hash_apply_with_arguments. 2008-07-24 19:50:23 +00:00
Moriyoshi Koizumi
935fa7a97e - Fix win32 build 2008-07-24 16:59:53 +00:00
Pierre Joye
265d2e6c5d - force static for now, broken now 2008-07-24 16:05:17 +00:00
Arnaud Le Blanc
2db33d3d7f Fixed bug #45614 (ArrayIterator::current(), ::key() can show 1st private prop of wrapped object) 2008-07-24 15:51:14 +00:00
Christopher Jones
c3ecda4dfd 1. Fix macro version test for constants
2. [DOC] Increase oci8.default_prefetch to 100.  Better out of box experience.  Consistent woth PDO_OCI
2008-07-24 15:23:29 +00:00
Antony Dovgal
1133a7c224 use "r" instead of "z" when accepting resources 2008-07-24 15:07:37 +00:00
Ulf Wendel
c2c9b61a79 Test for PS fallback logic in prepare() 2008-07-24 15:07:20 +00:00
Antony Dovgal
231bafaade we don't do fstat, hence st struct is uninitalized 2008-07-24 14:53:59 +00:00
Antony Dovgal
54e1d048cd silence compile warning 2008-07-24 14:45:53 +00:00
Antony Dovgal
8e24e64882 fix folding 2008-07-24 14:44:15 +00:00
Arnaud Le Blanc
75449ab505 MFB: Added tests for #42663 2008-07-24 14:39:58 +00:00
Antony Dovgal
29bb0c9dd3 drop freeing of uninitialized variable
add missing return
nuke unused variable
2008-07-24 14:30:58 +00:00
Antony Dovgal
77149f12d1 do not include libmagic/file.c into the build 2008-07-24 14:22:30 +00:00
Scott MacVicar
1390f0614d Remove non existent defines, change THREADSAFE to SQLITE_THREADSAFE and sync with 5.3 2008-07-24 14:20:51 +00:00
Andrey Hristov
613e045ae8 Added test file 2008-07-24 14:17:27 +00:00
Moriyoshi Koizumi
f0582b02e2 - Fix tests. 2008-07-24 13:49:28 +00:00
Moriyoshi Koizumi
33be49a588 - Fixed warnings. 2008-07-24 13:46:35 +00:00
Derick Rethans
8c8b504bc4 - Bundle the data file - you can still use the external file if you
specify that in the call to finfo_open().
2008-07-24 13:40:21 +00:00
Moriyoshi Koizumi
5b494c0f16 - Add mbstring.http_output_conv_mimetypes that allows common non-text
types such as "application/xhtml+xml" to be converted by
  mb_output_handler().
2008-07-24 12:58:37 +00:00
Ulf Wendel
d529003bd2 Make the test pass on 32bit and not bail out because of int vs. double 2008-07-24 12:54:12 +00:00
Felipe Pena
997c24d068 - New parameter parsing API 2008-07-24 12:48:47 +00:00
Scott MacVicar
fe8c688313 Add .cvsignore, update config.w32 and remove the other bundled sqlite library 2008-07-24 11:24:28 +00:00
Dmitry Stogov
72dfe66661 LSB parent/self forwarding 2008-07-24 10:14:01 +00:00
Arnaud Le Blanc
6688c798e1 Allow filters to work on INPUT_SERVER in CLI (bug #44779) 2008-07-24 09:11:48 +00:00
Steph Fox
64a04a58a6 - Make test x-platform 2008-07-24 08:53:56 +00:00
Steph Fox
32b474b730 - Introduce SPL_FILE_DIR_UNIXPATHS. 2008-07-24 08:52:24 +00:00
Antony Dovgal
e6ae49ca17 fix test 2008-07-24 07:32:21 +00:00
Felipe Pena
b1306465de - Fixed tests 2008-07-24 03:30:02 +00:00
Felipe Pena
9c262a3343 - Improved parameter handling 2008-07-24 03:06:16 +00:00
Scott MacVicar
c28a412004 MFB: Update pdo_sqlite to use the amalgamation, much easier to upgrade / maintain. Also kill useless PECL version tag in MINFO. 2008-07-24 01:01:43 +00:00
Hartmut Holzgraefe
92ba7b34ce corrected library search path order in tests 2008-07-23 21:41:27 +00:00
Lars Strojny
441848362d array_intersect_ukey tests by Sanjay Mantoor 2008-07-23 20:38:10 +00:00
Stanislav Malyshev
2ea8d4d604 implement bug #14266 2008-07-23 20:22:28 +00:00
Stanislav Malyshev
2236225b9b typoes 2008-07-23 20:21:23 +00:00
Derick Rethans
e68b8af578 - Fixed an issue with "first <weekday> of" in case the first <weekday> was the
same day-of-week as the first day of the month.
2008-07-23 19:52:51 +00:00
Felipe Pena
211064f588 - Fixed tests 2008-07-23 19:49:07 +00:00
Felipe Pena
cc9a38bdca - New parameter parsing API 2008-07-23 19:33:58 +00:00
Derick Rethans
5ddf492cfc - Fixed bug #43452 (strings containing a weekday, or a number plus weekday
behaved incorrect of the current day-of-week was the same as the one in the
  phrase). (Derick)
2008-07-23 18:49:37 +00:00
Stanislav Malyshev
e670fb5872 add test 2008-07-23 18:46:09 +00:00
Stanislav Malyshev
4ef1a9b99e add locale_accept_from_http 2008-07-23 18:45:10 +00:00
Felipe Pena
ca536ea944 - Fixed bug #45605 (array_uintersect_assoc gives incorrect error message)
(patch by ilewis at uk dot ibm dot com)
2008-07-23 16:27:16 +00:00
Jani Taskinen
5e1f4665e3 Fix test (bug #44985) 2008-07-23 14:15:00 +00:00
Andrey Hristov
40267cdcf8 Fixed bug#44897 - failed to prepare statement
After a PS "CALL()" we have at least one result set. If the SP does also some, then
we need to clean the wire more fool-proof.
2008-07-23 14:06:31 +00:00
Ulf Wendel
1c8d68b019 This little detail seems MySQL version/setup dependent 2008-07-23 12:57:04 +00:00
Antony Dovgal
55fecd6593 invert the logics - FLAG_FCLOSE -> FLAG_NO_FCLOSE 2008-07-23 11:24:35 +00:00
Antony Dovgal
40b04059f9 fix test 2008-07-23 10:26:39 +00:00
Antony Dovgal
1c86fb2739 fix tests names 2008-07-23 10:22:58 +00:00
Antony Dovgal
523f696954 fix test 2008-07-23 09:49:11 +00:00
Antony Dovgal
624122daff sync test with other branches 2008-07-23 09:29:09 +00:00
Hartmut Holzgraefe
d11e0df7ad MFB + Unicode:
added support for object ids in pg_lo_create() and pg_lo_import()
where available (based on code provided by Tatsuo Ishii)
2008-07-23 09:27:01 +00:00
Arnaud Le Blanc
0225470dc5 Fix tests: need simplexml 2008-07-23 09:12:50 +00:00
Antony Dovgal
3b07744b28 add PHP_STREAM_FLAG_FCLOSE to zip streams 2008-07-23 09:09:02 +00:00
Antony Dovgal
179c59e8f7 add PHP_STREAM_FLAG_FCLOSE, bz2 streams can be closed with fclose() 2008-07-23 08:55:59 +00:00
Arnaud Le Blanc
4e641ae41f Fix tests: soap tests in schema/ needs the xml extension 2008-07-23 08:55:39 +00:00
Arnaud Le Blanc
4102806c0c Fix test: use canonical name to avoid problems with domain search path 2008-07-23 08:26:26 +00:00
Marcus Boerger
abe24e95fa - MFH [DOC] Add FilesystemIterator::SKIP_DOTS (flag to skip '.' and '..' in iteration) 2008-07-23 06:12:44 +00:00
Marcus Boerger
eb6333be1c - Add new classes 2008-07-23 06:07:55 +00:00
Andrey Hristov
9f0b69086c Two less failing tests, one of which was definitely a leak in mysqli with mysqlnd
and pconn. ext/mysql is being fixed with a better fix for similar leak.
2008-07-22 23:43:14 +00:00
Marcus Boerger
32f51050bc - Add MultipleIterator (Arnaud, Marcus) 2008-07-22 22:54:15 +00:00
Stanislav Malyshev
0403ce45c6 MFB: constructors fixes and cleanup 2008-07-22 22:11:21 +00:00
Scott MacVicar
955466e479 MFB: Fix windows build error. 2008-07-22 21:56:25 +00:00
Ulf Wendel
beae9faca0 Fixing some tests to expect unicode instead of (binary) strings. 2008-07-22 18:33:28 +00:00
Andrey Hristov
55773e7853 Fix a leak with pconn and mysqlnd 2008-07-22 17:40:43 +00:00
Jani Taskinen
f7560881f6 MFB:- Fixed bug #38680 (Added missing handling of basic types in json_decode)
# This was claimed to be in HEAD but wasn't..some commit reverted it or
# someone didn't check for real..
2008-07-22 17:06:00 +00:00
Scott MacVicar
9f26bea98f Add test for escapeshellcmd and restore previous behaviour with stripping % on Windows. 2008-07-22 16:18:37 +00:00
Andrey Hristov
ea85e2924f More debugging info 2008-07-22 16:05:28 +00:00
Jani Taskinen
c11ebb4076 MFB: sync 2008-07-22 15:31:00 +00:00
Jani Taskinen
24bddd5d58 ws + cs + sync with PHP_5_3 2008-07-22 15:30:33 +00:00
Jani Taskinen
a348a5daa4 - Add missing tests (thanks for being so fucking lazy Ilia!) 2008-07-22 14:14:31 +00:00
Felipe Pena
f76da1b96c - Fixed bug #44246 (closedir() accepts a file resource opened by fopen()) 2008-07-22 14:06:17 +00:00
Rob Richards
7e8013c9cc - Visibility (bug #45557) 2008-07-22 10:29:14 +00:00
Pierre Joye
d3b351114a - fix build 2008-07-22 10:04:53 +00:00
Dmitry Stogov
ed72680e09 Fixed test 2008-07-22 07:13:18 +00:00
Pierre Joye
8c27aa68e5 - Segfault when an exception is thrown on persistent connections 2008-07-22 06:48:09 +00:00
Felipe Pena
7ef0126412 - Added arginfo 2008-07-22 01:46:43 +00:00
Scott MacVicar
69ee229b97 Fix integer oveflow in strrpos() 2008-07-22 01:05:55 +00:00
Lars Strojny
817546a99f Fixing tests broken by the introduction E_USER_DEPRECATED 2008-07-21 22:06:01 +00:00
Pierre Joye
b0a4aa7e3b - #41996, Problem accessing Oracle ROWID (Martin Jansen) 2008-07-21 17:17:58 +00:00
Jani Taskinen
2e4519b19c - Visibility (bug #45564) 2008-07-21 16:22:29 +00:00
Rob Richards
c2eb3ea158 Sync with 5_3 changes 2008-07-21 16:12:28 +00:00
Felipe Pena
2d1fbe1328 - Fixed tests 2008-07-21 14:31:40 +00:00
Felipe Pena
6842e84b34 - MFB: New parameter parsing API 2008-07-21 14:29:46 +00:00
Johannes Schlüter
ae1cd8e253 - Add mysqlnd support for PDO_mysql, fixes at least bug#41997,#42499,
pecl#12794, pecl#12401

# Running the tests:
# (Note: Doesn't work currnetly on HEAD, see:
#  http://news.php.net/php.qa/64378)
#
#  PDO_MYSQL_TEST_DSN  - DSN
#    For example: mysql:dbname=test;host=localhost;port=3306
#
#  PDO_MYSQL_TEST_HOST    - database host
#  PDO_MYSQL_TEST_DB      - database (schema) name
#  PDO_MYSQL_TEST_SOCKET  - database server socket
#  PDO_MYSQL_TEST_ENGINE  - storage engine to use
#  PDO_MYSQL_TEST_USER    - database user
#  PDO_MYSQL_TEST_PASS    - database user password
#  PDO_MYSQL_TEST_CHARSET - database charset
#
#  NOTE: if any of PDO_MYSQL_TEST_[HOST|DB|SOCKET|ENGINE|CHARSET] is
#  part of PDO_MYSQL_TEST_DSN, the values must match. That is, for example,
#  for PDO_MYSQL_TEST_DSN = mysql:dbname=test you MUST set PDO_MYSQL_TEST_DB=test.
2008-07-21 13:05:51 +00:00
Andrey Hristov
0df974b7a5 MFB :
Fix for bug#45179 --with-mysql-sock fails to compile & work
Now --with-mysql-sock controls all mysql extensions. If provided it will be
the default value as it was set in php.ini . php.ini will override it for
ext/mysql and ext/mysqli but not for pdo_mysql
2008-07-21 13:01:41 +00:00
Jani Taskinen
78bab4d9b3 - forgot to commit to HEAD 2008-07-21 13:00:27 +00:00