Commit Graph

24964 Commits

Author SHA1 Message Date
Sebastian Bergmann
fa587effb7 Rename reflection*.phpt to Reflection*.phpt for consistency. 2009-04-08 16:08:58 +00:00
Felipe Pena
2582b6ca24 - Added test 2009-04-08 00:29:55 +00:00
Felipe Pena
b002104e72 - Fixed bug #46108 (DateTime - Memory leak when unserializing) 2009-04-07 20:03:01 +00:00
Rob Richards
408a1746a1 fix bug #47849 (Non-deep import loses the namespace)
add test
2009-04-07 15:31:15 +00:00
Pierre Joye
855da166ef - missing implementation gdJpegGetVersionString (thanks Rob) 2009-04-07 13:07:04 +00:00
Pierre Joye
0e1c4f1992 - fix build 2009-04-07 10:34:37 +00:00
Pierre Joye
aee2145f93 - not necessary 2009-04-07 10:04:52 +00:00
Pierre Joye
f20371a7a5 - only gd2+ is supported, no need of this check. (sidenote: PHP_CHECK_LIBRARY seems to use some weird flags (like -lidn in this case)) 2009-04-07 09:53:01 +00:00
Pierre Joye
3bbe4107e2 - MFB:
- #47812, undefined symbol: gdJpegGetVersionInt
 - #46015, Build fails with system gd
 - enable gd_compat when built using system's gd
2009-04-07 09:44:21 +00:00
Pierre Joye
086765ff17 - MFB: initial import, support for external gd library while keeping bug fixes or features (more will be activated later) 2009-04-07 09:43:53 +00:00
Ilia Alshanetsky
230c991f23 MFB: Fixed test 2009-04-06 14:23:17 +00:00
Derick Rethans
3f1194a622 - Updated to version 2009.5 (2009e) 2009-04-06 13:26:32 +00:00
Hannes Magnusson
4b00c4459d Add a test for bug#42596 so people wont try bogusly fixing it again 2009-04-06 12:11:32 +00:00
Hannes Magnusson
4606ffd151 Fix segfault on invalid session.save_path 2009-04-06 11:48:26 +00:00
Pierre Joye
d357aaf591 - nuke unused var 2009-04-06 11:37:51 +00:00
Pierre Joye
eb18af31f9 - fix TS build 2009-04-06 11:07:39 +00:00
Hannes Magnusson
f8ebc02dab Use an obscure name
# Yes, I have "foo.php" :]
2009-04-06 09:31:41 +00:00
Sean Coates
4624a5b9ae improve error message when missing c-client (just bit me on Ubuntu 8.10) 2009-04-04 16:58:39 +00:00
Sebastian Bergmann
607c0fb223 Fix issue reported by Roman Borschel. 2009-04-04 14:35:28 +00:00
Matteo Beccati
7634a5a9b4 - Fixed bug #44173 (PDO->query() parameter parsing/checking needs an
update)
# The changeset is longer than really needed because pdo_stmt.c was
# refactored to remove the "goto"
2009-04-02 16:40:33 +00:00
Felipe Pena
f50dc47814 - Fixed bug #47818 (Segfault due to bound callback param) 2009-04-02 15:52:26 +00:00
Dmitry Stogov
f970a1e5c3 Fixed bug #47851 (is_callable throws fatal error) 2009-04-02 09:56:53 +00:00
Matt Wilmas
9880e99dde Fixed tests, reverted changes from bug #47546 2009-04-02 09:42:12 +00:00
Scott MacVicar
e009672cd2 MFB Rebuild credits, was missed in previous RC 2009-04-02 09:24:16 +00:00
Kalle Sommer Nielsen
11d630b9e9 We dont need to escape % here, it just generates a compiler warning 2009-04-02 05:16:55 +00:00
Matt Wilmas
5557b49982 explode() stuff:
- Fixed bug #47560 (explode()'s limit parameter odd behaviour) by reverting change for bug #47546
- Changed int to long where needed (should fix memory errors from overflow seen in bug #47854)
- Simplified logic a bit with limit and its default value
- php_explode_negative_limit(): removed safe_emalloc (not needed; plain erealloc is used later)
 - Moved declarations/allocation to optimize if the delimiter isn't found
 - Changed ALLOC_STEP size for less realloc's (and maybe better memory block alignment?)
2009-04-01 17:04:17 +00:00
Pierre Joye
4b5d4e8c8c - 8.3.x supports pqprepare 2009-04-01 16:16:20 +00:00
Pierre Joye
1dc4ff564d - MFB: fix build when pqprepare does not exist 2009-04-01 16:14:50 +00:00
Takeshi Abe
a6ef4675fb replaced static gdPngJmpbufStruct, which is afraid of being shared with
several threads, by a couple of auto variables.
2009-04-01 16:05:17 +00:00
Alexey Zakhlestin
7b22d40c61 reverted previous patch, using explicit cast instead 2009-04-01 14:34:21 +00:00
Alexey Zakhlestin
bcfc638490 const pointer was used in non-const context 2009-04-01 11:31:54 +00:00
Kalle Sommer Nielsen
fa7559e4fa Fixed Windows build 2009-04-01 09:38:41 +00:00
Pierre Joye
3e983c6b94 - MFB: silent warning 2009-03-31 18:08:12 +00:00
Pierre Joye
8169cc498b - remove last test for MAX_INT, did not work on x64 and this case is covered by bug47745.phpt 2009-03-31 18:00:33 +00:00
Scott MacVicar
b57c3201e0 Update libsqlite to 3.6.12 2009-03-31 14:15:04 +00:00
Matt Wilmas
029b61b05e - Removed unused LONG_SIGN_MASK definition, and a stray \
- Changed sign flag to int (it's no longer being used in a calculation)
2009-03-31 11:20:31 +00:00
Dmitry Stogov
7dbbd25a14 Fixed bug #47745 (FILTER_VALIDATE_INT doesn't allow minimum integer) 2009-03-31 10:02:51 +00:00
Scott MacVicar
02bf9e7c2f I wish people would test their changes before comitting, especially since the test is *IDENTICAL* as before just with different formatting. 2009-03-30 22:17:02 +00:00
Felipe Pena
cf5e94b010 - Sync with 5.3 2009-03-30 19:43:47 +00:00
Pierre Joye
714b0cdef9 - MFB: better test case, it crashes on more architecture 2009-03-30 18:06:22 +00:00
Kalle Sommer Nielsen
f7373da190 Fixed Windows build, declarations first ladies and gentlemen 2009-03-30 14:21:03 +00:00
Johannes Schlüter
53034b18cb - Fix #47819 (Getting pdo_mysql.so: undefined symbol: mysqlnd_debug_init at
startup)
2009-03-30 13:53:35 +00:00
andy wharmby
369c5701e2 Fix date tests which started failing after change to BST 2009-03-30 12:35:29 +00:00
Scott MacVicar
c0f87cf4d7 Add test for bug #47828 2009-03-30 09:17:47 +00:00
Scott MacVicar
1168bff791 Fix test, -2147483648 is a valid unsigned int where -2147483649 isn't. 2009-03-30 00:41:01 +00:00
Scott MacVicar
bf22f79452 Fix bug #47828 - Converting to UTF-8 can sometimes fail, check error codes and avoid segfault. 2009-03-29 23:32:17 +00:00
Scott MacVicar
743efae83a Fix bug #47826 - Building with system sqlite3 can miss a symbol. 2009-03-29 21:33:58 +00:00
Stig Venaas
64c6587bd9 added OpenLDAP TLS options to ldap_get_option/ldap_set_option 2009-03-29 18:44:45 +00:00
Matteo Beccati
35386a9d2b - Fixed pcntl test for platforms not accepting a very large timeout in sigtimedwait()
# It isn't really necessary for the child to wait for PHP_INT_MAX seconds
2009-03-29 16:42:49 +00:00
Pierre Joye
05f342c805 - check in the libpng dir as well 2009-03-29 14:01:15 +00:00
Matteo Beccati
6bf4c00142 - Fixed bug #47816 (pcntl tests failing on NetBSD)
# Tests will still fail until a few kernel bugs are fixed
2009-03-28 03:17:31 +00:00
Matteo Beccati
98bafbbd67 - Reverting: pcntl_signal() returning NULL when passing wrong parameters
# Wow, my first commit and I broke something, sorry about that :(
2009-03-28 03:11:39 +00:00
Matteo Beccati
61476ca182 MFB:
- Fixed bug #44861 (scrollable cursor don't work with pgsql)
2009-03-28 03:01:38 +00:00
Matteo Beccati
dd6b8d4ceb MFB:
- Updated pdo_pgsql from PHP_5_3
2009-03-28 02:34:02 +00:00
Matteo Beccati
0c58cbcea0 - Fixed pcntl_signal() returning NULL when passing wrong parameters 2009-03-28 01:31:31 +00:00
Felipe Pena
e39452524a - Removed unicode.semantics check 2009-03-27 23:08:28 +00:00
Antony Dovgal
6108689e50 fix segfault 2009-03-27 22:22:02 +00:00
Felipe Pena
7c860bb018 - Removed leftover UG(unicode) checks 2009-03-27 19:50:56 +00:00
Felipe Pena
04c90a0f51 - Removed:
- UG(unicode) checks
- Changed:
     - ZEND_STR_TYPE -> IS_UNICODE
     - convert_to_text -> convert_to_unicode
2009-03-27 19:28:26 +00:00
Hannes Magnusson
fe23a6b147 Fix protos 2009-03-27 19:22:18 +00:00
Arnaud Le Blanc
f5e4506988 fix skip-if 2009-03-27 02:35:10 +00:00
Felipe Pena
6517b087aa - Removed unused declaration 2009-03-26 22:30:05 +00:00
Felipe Pena
b474e18f6c - Removed unused variables 2009-03-26 22:16:48 +00:00
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Felipe Pena
e96a4a7d63 - Fix typo 2009-03-26 13:54:53 +00:00
Felipe Pena
35ddc72b28 - Fixed bug #47769 (Strange extends PDO) 2009-03-26 12:51:30 +00:00
Arnaud Le Blanc
9665b16d57 Fix build on FreeBSD <7 (fixes #47777) 2009-03-25 23:33:36 +00:00
Felipe Pena
77b1147e3f - Fixed bug #47779 (Wrong value for SIG_UNBLOCK and SIG_SETMASK constants).
Patch by: mbeccati at php.net
2009-03-25 22:49:43 +00:00
Ilia Alshanetsky
cec31bc5cc MFB: Fixed bug #47772 (FILTER_VALIDATE_EMAIL allows foo@bar. addresses) 2009-03-25 18:52:08 +00:00
Takeshi Abe
cd31aa574b MFB: #43073, TrueType bounding box is wrong for angle<>0 2009-03-25 16:15:18 +00:00
Takeshi Abe
7d91684a11 fix test to follow #47757 2009-03-25 15:25:05 +00:00
Dmitry Stogov
e2923b2414 Fixed bug #47038 (Memory leak in include) 2009-03-25 15:24:51 +00:00
Felipe Pena
dc61f2e106 - Fixed some code to be working with unicode 2009-03-25 12:05:51 +00:00
Johannes Schlüter
3a76cc254f mysql_db_query() is always deprecated 2009-03-25 10:27:22 +00:00
Christopher Jones
52a14bd8b7 sync with 5.3 2009-03-25 01:59:17 +00:00
Christopher Jones
7594e200ad use random text 2009-03-25 01:57:22 +00:00
Felipe Pena
d0c644c7bb - Synced pieces of codes
- Fixed tests
2009-03-24 19:32:06 +00:00
Pierre Joye
3f3b86fac2 - MFB: #47757 rename JPG to JPEG in phpinfo 2009-03-24 09:42:49 +00:00
Felipe Pena
501a5a0d94 - MFB old changes 2009-03-23 23:58:49 +00:00
Felipe Pena
09c94bda00 - Fix test 2009-03-23 23:03:08 +00:00
Felipe Pena
11dde4a7c5 - Fixed bug #44409 (PDO::FETCH_SERIALIZE calls __construct())
Patch by: matteo at beccati dot com
2009-03-23 23:02:06 +00:00
Derick Rethans
f7943572c1 - Updated to version 2009.4 (2009d) 2009-03-23 21:39:21 +00:00
Felipe Pena
55f4a1c0de - Fixed build 2009-03-23 11:01:07 +00:00
Ilia Alshanetsky
cefb8a91f0 MFB: Improved parameter parsing 2009-03-22 15:07:31 +00:00
Derick Rethans
7d259905cd - Updated to version 2009.3 (2009c) 2009-03-22 11:49:32 +00:00
Zoe Slattery
ec3ee30a75 added skipif for root 2009-03-20 09:09:34 +00:00
Antony Dovgal
92f17edda7 set return_len to 0 when returning empty string and fix segfault 2009-03-20 08:38:42 +00:00
Ilia Alshanetsky
d37c3367db MFB: Fixed bug #47721 (Aligment issues in mbstring and sysvshm extension) 2009-03-19 23:11:54 +00:00
Steph Fox
1abe544f41 - Fix bug #38805 ( PDO Truncates Text from SQL Server Text Data Type Field)
- Bring behaviour into line with ext/mssql
- Several memleaks plugged
2009-03-19 22:15:03 +00:00
Matt Wilmas
efd9d3482d Avoid 2 conversions when decoding numbers 2009-03-19 19:25:42 +00:00
Etienne Kneuss
c856710706 Fix #47231 (offsetGet error using incorrect offset) 2009-03-19 03:00:44 +00:00
Etienne Kneuss
24835e7fb1 Add test covering for #47671 2009-03-19 02:46:41 +00:00
Etienne Kneuss
47aa4817f3 Fix #47671 (cloning SplObjectStorage instances) 2009-03-19 02:44:04 +00:00
Ilia Alshanetsky
f0efcc577b MFB:Improved parameter parsing 2009-03-19 00:19:20 +00:00
andy wharmby
8558435556 New tests for various date extension functions. Tested on Windows, Linux and linux 64 2009-03-18 23:35:10 +00:00
Moriyoshi Koizumi
09f857e49d - Synching .dsp file (I am not sure whether I really should do this) 2009-03-18 17:34:02 +00:00
Takeshi Abe
27cf6d587f Fixed libgd #186 (Tiling true colour with palette image does not work) 2009-03-18 15:29:56 +00:00
andy wharmby
124fc28089 New tests for date extension DateTime methods Tested on Windows, Linux and linux 64 2009-03-18 11:32:56 +00:00
andy wharmby
84bd22c4ee New tests for date extension DateTimeZone methods Tested on Windows, Linux and linux 64 2009-03-18 11:13:01 +00:00
Dmitry Stogov
83a6de49b1 Fixed floating point mathematic speed degradation (Christian) 2009-03-18 10:49:36 +00:00
Scott MacVicar
4143771208 Missing skip in tests 2009-03-17 23:29:39 +00:00
Scott MacVicar
5674e6735b Replace magic values with a define, makes reading it a bit easier 2009-03-17 23:25:39 +00:00
Ilia Alshanetsky
df7460a17b MFB: Fixed compiler warning 2009-03-17 23:22:05 +00:00
Scott MacVicar
bc51a1e9f7 Add PHP_JSON_FORCE_OBJECT for forcing an object output of an array 2009-03-17 23:15:17 +00:00
Felipe Pena
f3d11b4415 - Fix version && year++ 2009-03-17 23:02:22 +00:00
Matt Wilmas
0c20069851 Fixed bug #46882 (Serialize / Unserialize misbehaviour under OS with different bit numbers) 2009-03-17 22:02:05 +00:00
Pierre Joye
85181631ed - MFB: s,win32,windows, and add myself to the list 2009-03-17 15:38:24 +00:00
Scott MacVicar
2d43af2707 Deal with overflow when decoding large numbers 2009-03-17 14:56:49 +00:00
Johannes Schlüter
5306bb0e4b - mark mysqlnd's threading (which can be used for background pre-fetching)
experimental
2009-03-17 10:04:57 +00:00
Andrey Hristov
7271069329 Fix the build, because the macro's name has changed 2009-03-17 09:51:04 +00:00
Moriyoshi Koizumi
8938555fd5 - Make iconv filter accept '.' as the delimiter between encoding names as well
as '/'. It's impossible to specify the filter in php://filter without this
  fix.
2009-03-17 05:27:00 +00:00
Scott MacVicar
43842949b7 Fix bug #47359 - Use the official unofficial mimetype for bmp files, this stops IE from getting confused. 2009-03-17 03:25:44 +00:00
Scott MacVicar
719ba687c0 Fix bug #47678 - Allow loadExtension to be disabled in SQLite3 2009-03-17 02:42:41 +00:00
Scott MacVicar
de4891ab2a Fix bug #47644 - Valid integers are truncated with json_decode() 2009-03-17 02:00:08 +00:00
Christopher Jones
eddf2540da Fix INI blocks 2009-03-17 01:50:34 +00:00
Zoe Slattery
af880ec61e test for /ext/tidy from stefan priebsch 2009-03-16 20:37:18 +00:00
Felipe Pena
85c7789052 - Fixed bug #47616 (curl keeps crashing) 2009-03-16 15:05:21 +00:00
Pierre Joye
b72606c92f - fix the build for win (vc6 or vc9)
- fix logic in time convertion
- force shared on windows, will fix the dirent issue later (no, it is not enough to simply remove the dep or header include)
- add myself before I forget again
2009-03-16 15:02:44 +00:00
Dmitry Stogov
6401ae5c7e Fixed test 2009-03-16 15:00:11 +00:00
Ilia Alshanetsky
52ffe21fdc MFB: Fixed compiler warnings 2009-03-16 12:52:59 +00:00
Mikko Koppanen
9b50cf342d Closes bug #47667 2009-03-16 10:16:16 +00:00
Dmitry Stogov
d3e3c4e666 Fixed bug #47664 (get_class returns NULL instead of FALSE) 2009-03-16 09:52:26 +00:00
Christopher Jones
2d574c99d3 Prepare for PECL OCI8 1.3.5 2009-03-16 05:37:35 +00:00
Christopher Jones
bc535521eb Mac OSX customization for initialization error message 2009-03-16 05:29:49 +00:00
Brian Shire
b9a54927b4 Fix scanner handling of NULL values in heredoc, nowdoc, strings, comments, and non-parsed content. 2009-03-16 01:40:01 +00:00
Scott MacVicar
0ac605c41b fileinfo tests are missing skipif 2009-03-15 23:16:55 +00:00
Scott MacVicar
daf4211e0b Update fileinfo to libmagic 5.00 and remove dependency on dirent.h on Windows 2009-03-15 23:02:35 +00:00
Moriyoshi Koizumi
0a3289baaa - Fix a bug that mbstring.internal_encoding doesn't take effect within
the request encoding converter.
2009-03-15 20:42:30 +00:00
Takeshi Abe
c1b257fc45 Fixed bug #45799 (imagepng() crashes on empty image) 2009-03-14 16:06:57 +00:00
Stanislav Malyshev
878b8c62b8 add new CURL options 2009-03-13 19:41:48 +00:00
Rob Richards
6b475098f8 add LIBXML_LOADED_VERSION constant that contains currently loaded libxml2 version
add libxml2 version being used to info output
2009-03-13 19:35:14 +00:00
Rob Richards
635f8bf9ab MFB: fix bug #47430 (Errors after writing to nodeValue parameter of an absent previousSibling)
add test
2009-03-13 13:43:57 +00:00
Christopher Jones
2fe755e416 Fixed PECL Bug 14268 (Allow 'pecl install oci8' command to 'autodetect' an Instant Client RPM install) & refactor 2009-03-12 23:52:20 +00:00
Ilia Alshanetsky
1f369b1fb2 Fixed bug #47639 (pg_copy_from() WARNING: nonstandard use of \\ in a string
literal)
2009-03-12 22:53:37 +00:00
Andrei Zmievski
c8362a20f6 Fix copy-pasto (needs to return proper CE). 2009-03-12 16:12:44 +00:00
Christopher Jones
e5993635e2 Fix tests to use ENV and re-enable 2009-03-12 14:47:47 +00:00
Brian Shire
b7ff76c6da Add proper EOF handling for language scanner. Fixes bug #46817. Removes dos newlines from a previous commit. 2009-03-11 22:11:41 +00:00
Christopher Jones
350da73bbc Revert local setting changes 2009-03-11 17:12:24 +00:00
Christopher Jones
fdace0c5d0 Bug #46994 (CLOB size does not update when using CLOB IN OUT param in stored procedure) 2009-03-11 16:46:38 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Marcus Boerger
b43851b7aa - Safer flag handling as requested by Greg 2009-03-10 23:27:59 +00:00
Christopher Jones
d9bca66417 New test for oci_fetch_all 2009-03-09 21:19:18 +00:00
Christopher Jones
3db98baa59 Make non-public prototype match the type passed at call 2009-03-09 20:58:13 +00:00
Christopher Jones
cdf17a3f92 Use PHP 5 function name in error message 2009-03-09 20:19:38 +00:00
Christopher Jones
89a216cd23 Bug #47243 (Crash at shutdown on Windows) 2009-03-09 20:07:39 +00:00
Christopher Jones
58acebce20 MHB/sync: Make tests portable with older PHP for PECL builds 2009-03-09 19:55:50 +00:00
Christopher Jones
c7438c63f0 PECL Bug #16035 (oci_connect without ORACLE_HOME defined causes segfault) 2009-03-09 18:59:20 +00:00
Christopher Jones
f8996c4b6c PECL Bug #15988 (sqlnet.ora isn't read with older Oracle libraries) 2009-03-09 18:03:34 +00:00
Christopher Jones
9e317f0102 Prepare README for future PECL OCI8 1.3.5 2009-03-09 17:50:53 +00:00
Christopher Jones
0d4e215db4 Silence initialization warning 2009-03-09 17:48:36 +00:00