1
0
mirror of https://github.com/php/php-src.git synced 2026-04-24 16:38:25 +02:00
Commit Graph

24473 Commits

Author SHA1 Message Date
Andrey Hristov f2d23c7f37 put the trigger in the right place 2010-04-20 19:09:56 +00:00
Andrey Hristov eda9959e36 It is possible that change user tries an user who has old password.
Instead of error message that doesn't say much there is more information now.
2010-04-20 18:04:24 +00:00
Felipe Pena 6df7a7d7b5 - Improve test 2010-04-20 16:45:46 +00:00
Felipe Pena 3a0a2af52c - Fixed bug #51615 (PHP crash with wrong HTML in SimpleXML) 2010-04-20 16:24:21 +00:00
Felipe Pena b7bd1167a9 - Fixed bug #51607 (pg_copy_from does not allow schema in the tablename argument)
Patch by: cbandy at jbandy dot com
2010-04-20 15:59:01 +00:00
Dmitry Stogov e7d3ec6dee Fixed bug #49700 (memory leaks in php_date.c if garbage collector is enabled) 2010-04-20 15:41:35 +00:00
Felipe Pena 8c14acfc82 - Fixed bug #51609 (pg_copy_to: Invalid results when using fourth parameter) 2010-04-20 14:11:53 +00:00
Felipe Pena 6d951e2ded - Fix copyrights 2010-04-20 13:50:34 +00:00
Antony Dovgal 91a214008c fix build 2010-04-20 12:50:02 +00:00
Felipe Pena f507cc9cf6 - Fixed bug #51608 (pg_copy_to: WARNING: nonstandard use of \\ in a string literal)
Patch by: cbandy at jbandy dot com
2010-04-20 11:49:23 +00:00
Dmitry Stogov 453b49ed20 Added a number of small performance tweaks and optimizations
. ZEND_RECV now always has IS_CV as its result
  . ZEND_CATCH now has to be used only with constant class names
  . ZEND_FETCH_DIM_? may fetch array and dimension operans in a different order
2010-04-20 11:16:39 +00:00
Dmitry Stogov dd5c478be6 Added concept of interned strings. All strings constants known at compile time are allocated in a single copy and never changed. 2010-04-20 11:05:54 +00:00
Dmitry Stogov 94dd83722b Changed the structure of op_array.opcodes. The constant values are moved from opcode operands into a separate literal table 2010-04-20 10:57:45 +00:00
Antony Dovgal f151e24218 fix infinite loop in the test 2010-04-20 10:04:26 +00:00
Adam Harvey afa1045305 Added explanatory comments to filter_input and filter_input_array to document
why some code that looks intuitively wrong is actually correct. Related to
bug #51344 (FILTER_NULL_ON_FAILURE flag automatically set in filter_input()
functions).
2010-04-20 04:31:11 +00:00
Stanislav Malyshev 129019b9fc fix 64-bit integer overflow in mhash_keygen_s2k 2010-04-20 00:45:07 +00:00
Stanislav Malyshev c93a4f192b restore $this support for closures to its former glory 2010-04-19 19:45:03 +00:00
Felipe Pena 6f03cbf664 - Fixed bug #51590 (JSON_ERROR_UTF8 is undefined) 2010-04-18 18:07:27 +00:00
Stanislav Malyshev b65385aa44 fix non-ts build 2010-04-16 23:36:53 +00:00
Christopher Jones 9cd79b40c5 Fixed Bug #51577 (Uninitialized memory reference with oci_bind_array_by_name) 2010-04-16 20:36:40 +00:00
Kalle Sommer Nielsen a5304b138f Removed register_long_arrays ini option (and $HTTP_SESSION_VARS from ext/session) 2010-04-15 16:36:08 +00:00
Andrey Hristov fb76a3f2db Last batch of int/uint comparison fixes 2010-04-15 15:58:26 +00:00
Andrey Hristov 7f43fc3b02 More int/uint comparison warning fixes 2010-04-15 15:53:58 +00:00
Andrey Hristov f40779091c Fix some int/uint comparison warnings 2010-04-15 15:28:00 +00:00
Andrey Hristov 8912e8f04e Remove unused file 2010-04-15 15:22:56 +00:00
Andrey Hristov 6f0adc06fa more WS 2010-04-15 15:16:29 +00:00
Andrey Hristov a9880e78c6 CS + WS changes 2010-04-15 12:55:04 +00:00
Andrey Hristov c04f752625 Fix for bug#49234 method not found ssl_set
Patch was tested and compiles on Windows. (Thanks Kalle)
2010-04-15 11:01:30 +00:00
Pierre Joye 623818f416 - #35638, add udate to imap_fetch_overview 2010-04-14 09:45:37 +00:00
Kalle Sommer Nielsen 6169d91ba7 * Pass TSRMLS_C around pageinfo.c
* Use zend_parse_parameters_none() in pageinfo.c
2010-04-13 11:41:40 +00:00
Kalle Sommer Nielsen 7ef4cdf471 Remove a couple TSRMLS_FETCH() calls around ext/main/sapi 2010-04-13 11:02:15 +00:00
Ilia Alshanetsky 1b8b6d931a MFB: Fixed bug #51512 (mb_send_mail* fail when mail.add_x_header is on by default) 2010-04-12 14:05:00 +00:00
Pierre Joye 4290928fb3 - fix inline doc 2010-04-12 08:40:59 +00:00
Pierre Joye 95fcd75af2 - [doc] add stream_set_read_buffer, equivalent of stream_set_write_buffer for read operations. Fixing possible bad effects while reading devices. full context support is under work. 2010-04-12 08:25:50 +00:00
Kalle Sommer Nielsen 4e7b11ccce Removed y2k_compliance ini option, making it "always" enabled internally
- The only reference to y2k_compliance was in php_std_date(). Browsers thats not compatable have a marketshare of 0.01% if they even are in use today
2010-04-12 07:34:30 +00:00
Kalle Sommer Nielsen 8087be61d0 * Changed the way removed ini directives are shown so its easier to add new ones
* Removed define_syslog_variables and its associated functions
2010-04-12 01:52:55 +00:00
Derick Rethans 4da75af2f8 - Expose date-extension object creation externally.
- Expose DateTime object initialisation externally.
2010-04-10 20:33:41 +00:00
Rob Richards 6f95046109 fix bug #50828 (DOMNotation is not subclass of DOMNode) 2010-04-09 11:34:34 +00:00
Andrey Hristov c0531d8db0 Fixint INT_AND_FLOAT_AS native. It was working ok on 64bit but
because on 32bit SIZEOF_LONG is 4 and INT64 from MySQL is 8 everything
was converted to string, even if it was able to put it in a long.
This closes Request #50651 Native type cast returns wrong result
2010-04-08 13:20:37 +00:00
Andrey Hristov 4b2111d178 Fixing the second test 2010-04-08 13:18:52 +00:00
Andrey Hristov 4e441ef30b one more fix and both work with libmysql and mysqlnd 2010-04-08 10:53:38 +00:00
Andrey Hristov 8467978d7a Fix for bug #51026 ssl not working 2010-04-08 09:01:21 +00:00
Pierre Joye 2137c3a036 - WS 2010-04-08 07:50:05 +00:00
Andrey Hristov 840d2dc8a7 Another fix for the 16 chars user limitation of MySQL 2010-04-07 18:28:46 +00:00
Andrey Hristov dfbe6cb392 Fix test. The usernames in the server are 16 chars long 2010-04-07 18:05:42 +00:00
Andrey Hristov 92698a331f Fix the Windows build (void* arithmetic) as well as --disable-zlib
build.
2010-04-06 18:14:23 +00:00
Andrey Hristov 3cb852fe6b Stricly C 2010-04-06 14:33:55 +00:00
Antony Dovgal adaf07849d fix typo 2010-04-06 13:42:21 +00:00
Andrey Hristov b8484a2e89 Recommit with an Windows build fix:
Fix inconsistencies
- memory allocated with spprintf, or likes, outside of mysqlnd's
allocator functions should not be freed by the mysqlnd's allocator
(a wrapper around emalloc/malloc).
- memory allocated by the mysqlnd's allocator should only be freed
  by it.
- add a mode to track memory usage (malloc/free)
2010-04-06 13:28:23 +00:00
Felipe Pena f3d312ce87 - Fix tests 2010-04-04 17:21:27 +00:00