Commit Graph

4632 Commits

Author SHA1 Message Date
Arnaud Le Blanc
cfce0a9828 NEWS 2010-05-11 16:40:03 +00:00
Hannes Magnusson
0a4054d85a NEWS is not docs and limit lines to 80chars 2010-05-07 19:04:45 +00:00
Dmitry Stogov
d5800f881c Optimized access to static properties using executor specialization. A constant class name may be used as a direct operand of ZEND_FETCH_* instruction without previous ZEND_FETCH_CLASS. 2010-05-06 10:27:35 +00:00
Dmitry Stogov
77b2e54658 Fixed PDO objects binary incompatibility 2010-05-06 08:37:41 +00:00
Sara Golemon
1381b14eaa Add JSON_Serializable interface
Objects implementing JSON_Serializable will have
their ->jsonSerialize() method called

Similar to serialize() and __sleep()
2010-05-05 22:48:14 +00:00
Etienne Kneuss
e6ee260b25 Implement SplObjectStorage::getHash() 2010-04-29 15:47:41 +00:00
Kalle Sommer Nielsen
dd8e59da8f Removed safe_mode
* Removed ini options, safe_mode*
 * Removed --enable-safe-mode --with-exec-dir configure options on Unix
 * Updated extensions, SAPI's and core
 * php_get_current_user() is now declared in main.c, thrus no need to include safe_mode.h anymore
2010-04-26 23:53:30 +00:00
Felipe Pena
0a6bcd44a7 - Removed allow_call_time_pass_reference (Pierrick) 2010-04-26 00:13:34 +00:00
David Soria Parra
08b9fdc8a3 Add DTrace probes 2010-04-24 13:32:30 +00:00
Dmitry Stogov
e87d72002b Optimized access to global constants using values with pre-calculated hash_values from litersls table 2010-04-22 15:03:17 +00:00
Dmitry Stogov
fb9d95e5a4 ZEND_RETURN is splitted into two new instructions ZEND_RETURN and ZEND_RETURN_BY_REF 2010-04-22 11:56:45 +00:00
Kalle Sommer Nielsen
e73a794105 Removed the session 4.2 bug compatibility mode 2010-04-22 01:07:48 +00:00
Kalle Sommer Nielsen
3f29144348 Removed session_is_registered(), session_register() and session_unregister().
-- They are no longer needed without register_globals
2010-04-21 23:03:16 +00:00
Kalle Sommer Nielsen
9d395a4a2b Removed import_request_variables(), this is not needed anymore without register_globals 2010-04-21 22:23:55 +00:00
Kalle Sommer Nielsen
9a38f301d6 Remove highlight.bg, it was removed in the old trunk and its not referenced in zend_highlight.c, meaning its not even implemented correctly in 5.3. 2010-04-21 21:56:24 +00:00
Kalle Sommer Nielsen
febee11285 Removed register_globals 2010-04-21 01:27:22 +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
Dmitry Stogov
ea53dc5af6 Added an optimization which saves memory and emalloc/efree calls for empty HashTables 2010-04-20 10:49:22 +00:00
Stanislav Malyshev
c93a4f192b restore $this support for closures to its former glory 2010-04-19 19:45:03 +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
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
ecd006350a NEWS entry for the define_syslog_variables commit 2010-04-12 07:01:46 +00:00
Rasmus Lerdorf
fac463ed4a Moved to 5.3 2010-03-31 23:01:38 +00:00
Rasmus Lerdorf
4d75c64415 Added the full htmlspecialchars() functionality which includes utf-8
validation as a default filter.
2010-03-31 21:50:36 +00:00
Rasmus Lerdorf
9692a3619c Set session.entropy_file to /dev/urandom or /dev/arandom by
default if present at compile-time.  Addresses part of bug #51436
2010-03-31 18:03:17 +00:00
Johannes Schlüter
26af575926 Add ReflectionZendExtension class and --rz option to CLI 2010-03-30 22:35:23 +00:00
Johannes Schlüter
347e2bce22 Add ReflectionExtension::isTemporary() and ReflectionExtension::isPersistent(). 2010-03-30 20:50:42 +00:00
Ilia Alshanetsky
005df4f01f Upgraded bundled sqlite to version 3.6.23.1 2010-03-30 11:52:25 +00:00
Ilia Alshanetsky
6e92347ddf Upgraded bundled PCRE to version 8.02. 2010-03-29 11:58:06 +00:00
Michael Maclean
e52fa0027b Add Tokyo Cabinet abstract DB support to ext/dba 2010-03-24 23:38:59 +00:00
Martin Jansen
3842a993fe Added Jenkins's one-at-a-time hash support to ext/hash. 2010-03-24 15:47:40 +00:00
Michael Maclean
e4e9eaef4c Minor fix to constants registered in ext/hash, and update NEWS 2010-03-23 23:39:09 +00:00
Rasmus Lerdorf
906dd4eac5 Switch default_charset, if not specified, from ISO-8859-1 to UTF-8
I have been wanting to make this change for years, but there is a small
chance of BC issues, so it shouldn't go into a minor release.
2010-03-23 18:08:06 +00:00
Derick Rethans
b7f2658527 - Set trunk version. 2010-03-23 16:04:53 +00:00
Ilia Alshanetsky
995d15ebcc Fixed bug #51338 (URL-Rewriter is still enabled if use_only_cookies is on). 2010-03-22 12:16:45 +00:00
Felipe Pena
3488cd43be - Fixed bug #49429, #51331 (odbc_autocommit doesn't work) 2010-03-20 18:19:16 +00:00
Raphael Geissert
d8da372fd0 Fix CVE-2010-0397: null pointer dereference when processing invalid XML-RPC
requests (bug #51288)
2010-03-13 18:40:29 +00:00
Adam Harvey
f60946eb54 Fixed bug #51269 (zlib.output_compression Overwrites Vary Header). 2010-03-11 06:20:22 +00:00
Felipe Pena
78cf85ab44 - Fixed bug #51257 (CURL_VERSION_LARGEFILE incorrectly used after libcurl version 7.10.1)
patch by: aron dot ujvari at microsec dot hu
2010-03-10 22:58:46 +00:00
Adam Harvey
bdbb2e77ca Fixed bug #51242 (Empty mysql.default_port does not default to 3306 anymore, but 0). 2010-03-09 05:08:31 +00:00
Felipe Pena
68f805a6d0 - Fixed bug #51237 (milter SAPI crash on startup)
patch by: igmar at palsenberg dot com
2010-03-08 23:29:46 +00:00
Ilia Alshanetsky
48adfafab8 Fixed bug #51213 (pdo_mssql is trimming value of the money column). 2010-03-08 12:39:44 +00:00
Derick Rethans
3025ca8e17 - Fixed bug #46111 (Some timezone identifiers can not be parsed). 2010-03-07 19:18:06 +00:00
Derick Rethans
4447b87d91 - Fixed bug #48902 (Timezone database fallback map is outdated). 2010-03-07 18:21:23 +00:00
Derick Rethans
02e4644786 - Fixed bug #49059 (DateTime::diff() repeats previous sub() operation). 2010-03-07 17:25:16 +00:00
Derick Rethans
156d780cbd - Fixed bug #40778 (DateInterval::format("%a") is always zero when an interval
is created from an ISO string).
2010-03-07 15:26:39 +00:00
Felipe Pena
04753cae60 - Fix order 2010-03-07 13:58:02 +00:00
Derick Rethans
f1286280d1 - Fixed bug #50555 (DateTime::sub() allows 'relative' time modifications). 2010-03-07 13:54:46 +00:00
Derick Rethans
2d2e02740a - Fixed bug #50392 (date_create_from_format enforces 6 digits for 'u' format
character).
2010-03-07 13:08:47 +00:00
Felipe Pena
f867fadd22 - Fixed bug #50383 (Exceptions thrown in __call / __callStatic do not include file and line in trace) 2010-03-07 02:17:11 +00:00
Felipe Pena
ea1447c3ce - Fixed bug #50810 (property_exists does not work for private) 2010-03-07 00:49:34 +00:00
Raphael Geissert
1f24be304f Add NEWS entries for filter overflow fix 2010-03-06 20:02:25 +00:00
Derick Rethans
13e0d47cf3 - Fixed bug #51096 ('last day' and 'first day' are handled incorrectly when
parsing date strings).
- For 5.2 I just added the test case minus new 5.3 additions.
2010-03-06 16:04:47 +00:00
Felipe Pena
6c153e8634 - Fixed bug #50358 (Compile failure compiling ext/phar/util.lo) 2010-03-06 14:45:49 +00:00
Christopher Jones
f3ad58a8a0 Fixed bug #51086 (DBA DB4 doesn't work with Berkeley DB 4.8) 2010-03-05 06:45:28 +00:00
Felipe Pena
667f00f6dc - BFN #50999 2010-03-05 02:33:03 +00:00
Ilia Alshanetsky
4db5175f54 Fixed bug #51190 (ftp_put() returns false when transfer was successful). 2010-03-04 12:52:58 +00:00
Felipe Pena
ecae1f4923 - Entry in wrong place... 2010-03-03 22:21:57 +00:00
Felipe Pena
c302509726 - Fixed bug #50731 (Inconsistent namespaces sent to functions registered with spl_autoload_register) 2010-03-03 00:15:34 +00:00
Ilia Alshanetsky
772a84d5b9 Fixed bug #51171 (curl_setopt() doesn't output any errors or warnings when an invalid option is provided) 2010-03-02 12:54:23 +00:00
Felipe Pena
79f618833f - Fixed bug #51176 (Static calling in non-static method behaves like $this->) 2010-03-02 00:16:40 +00:00
Pierre Joye
707d02b7f5 - merge/update/fix 2010-02-24 19:57:56 +00:00
Pierre Joye
e8be606367 - restore the credit, always been this name, will always be 2010-02-22 09:15:32 +00:00
Jani Taskinen
6a5c911b3f - Fixed NEWS entry order + removed aliases (only real names here!) 2010-02-22 09:06:06 +00:00
Pierre Joye
2075801b32 - crypt entry 2010-02-22 00:39:55 +00:00
Pierre Joye
299352bf54 - merge 5.3.2RC2 changes, unsorted # for now 2010-02-12 01:22:10 +00:00
Pierre Joye
15a3c450b7 - those are in 5.3.2 now, merge to 5.3.2 section is coming 2010-02-11 21:17:13 +00:00
Ilia Alshanetsky
ad9bbf26ab Fixed safe_mode validation inside tempnam() when the directory path does not end with a /). 2010-02-11 12:32:21 +00:00
Derick Rethans
5a43f269cc - Fixed bug #49585 (date_format buffer not long enough for >4 digit years).
#- Was already partly fixed with my previous commit.
2010-02-10 16:55:40 +00:00
Ilia Alshanetsky
95ecd5680f Typo fix 2010-02-09 22:47:03 +00:00
Andrey Hristov
52371a2d15 Fix bug#50416
PROCEDURE db.myproc can't return a result set in the given context
2010-02-08 13:09:34 +00:00
Pierre Joye
c58f63a38a - Fixed #44098, imap_utf8() returns only capital letters 2010-02-07 13:06:54 +00:00
Jani Taskinen
b96f3d1e02 bfn 2010-02-07 11:41:44 +00:00
Rasmus Lerdorf
1947334023 Fix bug #50940 2010-02-05 18:59:05 +00:00
Ilia Alshanetsky
d5fd93e997 Fixed bug #50907 (X-PHP-Originating-Script adding two new lines in *NIX). 2010-02-02 12:50:21 +00:00
Dmitry Stogov
694a72c5af Fixed bug #50723 (Bug in garbage collector causes crash) 2010-02-02 12:32:29 +00:00
Ilia Alshanetsky
b0f76c2534 Fixed bug #50847 (strip_tags() removes all tags greater then 1023 bytes long) 2010-02-01 12:59:08 +00:00
Jani Taskinen
d062a02a1c pff 2010-01-31 22:48:09 +00:00
Ilia Alshanetsky
dff4e7fda1 Fixed a possible open_basedir/safe_mode bypass in session extension identified by Grzegorz Stachowiak. 2010-01-31 18:06:29 +00:00
Jani Taskinen
0b03122dc0 - Short is enough, people will not understand it anyway. And this is not a TODO, this is what was already done.. 2010-01-27 16:14:53 +00:00
Ilia Alshanetsky
eb1dc0babf Fixed bug #50859 (build fails with openssl 1.0 due to md2 deprecation) 2010-01-27 12:55:01 +00:00
Pierre Joye
dcd53bdfff - attempt to be more clear 2010-01-27 10:39:23 +00:00
Pierre Joye
4118379bda - update 2010-01-27 08:14:50 +00:00
Ilia Alshanetsky
daa380c0cb Fixed bug #50829 (php.ini directive pdo_mysql.default_socket is ignored) 2010-01-26 13:15:52 +00:00
Jani Taskinen
5952473b7a - Fixed bug #50832 (HTTP fopen wrapper does not support passwordless HTTP authentication) 2010-01-25 16:28:13 +00:00
Jani Taskinen
00a8cab860 fix entries..can you count to 80? 2010-01-24 18:39:14 +00:00
Pierre Joye
f2dafc35ee - today entries 2010-01-24 18:05:36 +00:00
Sriram Natarajan
0ea435c6e0 - Fixed bug #50756 (CURLOPT_FTP_SKIP_PASV_IP does not exist.) 2010-01-23 01:37:32 +00:00
Ilia Alshanetsky
50016d9dec Upgraded bundled PCRE to version 8.01 2010-01-21 17:49:38 +00:00
Ilia Alshanetsky
7e79b2684a Upgraded bundled sqlite to version 3.6.22. 2010-01-19 12:38:55 +00:00
Ilia Alshanetsky
7e1f29e930 Fixed bug #50787 (stream_set_write_buffer() has no effect on socket streams). 2010-01-18 12:50:08 +00:00
Ilia Alshanetsky
ebe5ff73f8 Fixed bug #50761 (system.multiCall crashes in xmlrpc extension). 2010-01-17 17:19:38 +00:00
Jani Taskinen
e421bee7af - Fixed bug #48811 (Directives in PATH section do not get applied to subdirectories) 2010-01-16 21:01:12 +00:00
Rob Richards
915c8778e2 fix bug #49463 (setAttributeNS fails setting default namespace)
add test
2010-01-15 21:29:56 +00:00
Stanislav Malyshev
932e276c0b add filters to mcrypt
# trunk will follow soon
2010-01-15 21:02:20 +00:00
Ilia Alshanetsky
6254378830 Fixed bug #50732 (exec() adds single byte twice to $output array). 2010-01-13 13:44:58 +00:00
Ilia Alshanetsky
d2e14e3f20 Fixed bug #50728 (All PDOExceptions hardcode 'code' property to 0) 2010-01-12 12:46:54 +00:00
Pierre Joye
7aacc1ccbc - use png_sig_cmp to support libpng 1.4, old is deprecated already in older version 2010-01-10 02:13:45 +00:00