Commit Graph

7019 Commits

Author SHA1 Message Date
Rasmus Lerdorf
add9048b30 Need the gcc version check here too 2009-06-17 08:57:44 +00:00
0ae1a1f965 ChangeLog update 2009-06-17 01:33:11 +00:00
Rasmus Lerdorf
4fc0630fa5 Tweak to make this compile with gcc2 2009-06-16 16:11:05 +00:00
Felipe Pena
8654130af4 - Fixed build (removed trailing comma) patch by Seiji Masugata <s.masugata at digicom.dnp.co.jp> 2009-06-16 14:29:18 +00:00
1f6a21a72f ChangeLog update 2009-06-16 01:33:20 +00:00
Pierre Joye
b908c70fa1 - silent compilation warnings (no MFH yet) 2009-06-15 14:06:30 +00:00
d3b1a45162 ChangeLog update 2009-06-15 01:33:03 +00:00
andy wharmby
fada257def Basic tests for function_exists() and get_defined_functions(). Tested on Windows, Linux and Linux 64 bit. 2009-06-14 13:49:18 +00:00
Pierre Joye
7633999aa5 - MF53: fix build (void alarm) 2009-06-14 10:24:42 +00:00
f1fad174b5 ChangeLog update 2009-06-13 01:33:03 +00:00
Felipe Pena
35920eec26 - Constified method_name arg. in zend_get_user_call_function() and zend_get_user_callstatic_function() 2009-06-12 21:43:22 +00:00
Felipe Pena
8c782591dc - Fixed bug #48533 (__callStatic is not invoked for private/protected methods) 2009-06-12 01:00:30 +00:00
25e12937e5 ChangeLog update 2009-06-10 01:32:52 +00:00
35700e9e58 ChangeLog update 2009-06-09 01:32:50 +00:00
Antony Dovgal
23689799a5 revert yet another wrongly MFBed fix 2009-06-08 11:42:56 +00:00
8c82836264 ChangeLog update 2009-06-08 01:33:06 +00:00
Ilia Alshanetsky
18cf69002a MFB: Fixed bug #44827 (define() is missing error checks for class constants) 2009-06-08 01:27:11 +00:00
Matt Wilmas
756d134c45 Fixed bug #47836 (array operator [] inconsistency when the array has PHP_INT_MAX index value)
Also simplified related array_push() test
2009-06-07 19:28:02 +00:00
Matt Wilmas
b412586e4f Changed error messages to use "cannot" instead of "can not" (meaning "also can") 2009-06-07 15:45:46 +00:00
15babe7715 ChangeLog update 2009-06-06 01:33:00 +00:00
Brian Shire
d2ef7b42ee Make pass_two visible to extensions with ZEND_API (required for optimizer). 2009-06-05 23:20:58 +00:00
Rasmus Lerdorf
698d284b1f No always_inline attribute in gcc2 2009-06-05 22:19:59 +00:00
Matt Wilmas
e9b382cc2e Added zend_eval_stringl and made create_function(), etc. binary-safe 2009-06-05 18:50:10 +00:00
Arnaud Le Blanc
76c919552b better fix for #48409 , #48428 , #48228
# (again, sorry)
2009-06-05 11:21:16 +00:00
882b1b30d2 ChangeLog update 2009-06-05 01:32:58 +00:00
Matt Wilmas
9061bf39bd Updated tests after double->long conversion change (basically to match 5.2)
# Let me know about other failing tests I missed
2009-06-04 18:24:09 +00:00
Matt Wilmas
8aa9727037 Restored double->long conversion behavior to that of PHP 5.2 (on most platforms) and prior:
* Out-of-range numbers overflow/preserve least significant bits (no LONG_MAX/MIN limit)
 * See bug #42868 (presumably-rare platform with different results in 5.2)
 * On 32-bit platforms with 64-bit long type, a zend_long64 cast has been added,
    otherwise it's the same as 5.2
 * Use this conversion method everywhere instead of some plain (long) casts

Added 'L' parameter parsing specifier to ensure a LONG_MAX/MIN limit:
 * Essentially what 5.3's new conversion was doing in most cases
 * Functions with "limit" or "length" type params could be updated to use this,
    and prevent confusing overflow behavior with huge numbers (*also* in 5.2)
  - See bug #47854, for example; or even #42868 again

# Test updates coming
2009-06-04 18:18:47 +00:00
ed3f87a424 ChangeLog update 2009-06-03 01:32:53 +00:00
Jani Taskinen
db4dcd9f4d fix test 2009-06-02 08:02:21 +00:00
6895520ba3 ChangeLog update 2009-06-02 01:33:48 +00:00
Nuno Lopes
f3b259d08c MFB: fix compiler warnings by moving all std includes after include of zend_config.h 2009-06-01 17:52:29 +00:00
Arnaud Le Blanc
a2412a68cd New tests
# These tests were failing on different configurations, so adding them
# all to get more chances of seeing one failing in case of problem.
2009-06-01 16:10:13 +00:00
Arnaud Le Blanc
07f2ac9f0a better fix for #48409 , #48428 , #48228 2009-06-01 15:07:27 +00:00
0feaf51d5e ChangeLog update 2009-05-31 01:33:14 +00:00
Arnaud Le Blanc
b80d1404e6 Take small blocks cache into account in memory_get_usage() 2009-05-30 16:42:01 +00:00
Arnaud Le Blanc
4b10620024 Fix aliasing issue (fixes #48409 , #48428 , #48228) 2009-05-30 16:30:39 +00:00
62ceffce70 ChangeLog update 2009-05-30 01:33:14 +00:00
Pierre Joye
2e41430516 - MFB: #42143, the constant NAN is reported as 0 on Windows 2009-05-29 08:18:42 +00:00
ffa6025d9a ChangeLog update 2009-05-28 01:32:58 +00:00
David Soria Parra
d482bb692a Remove duplicated code of zend_hash_func and alias it to zend_get_hash_value 2009-05-27 11:58:44 +00:00
f02e4bed7c ChangeLog update 2009-05-26 01:32:56 +00:00
Felipe Pena
6d34e06a2f - Dropped *_TEXT* macros in favor of unicode macros direct usage 2009-05-25 14:32:15 +00:00
Felipe Pena
0497e208cb - Fixed macro (thanks Kalle) 2009-05-25 13:11:09 +00:00
Sara Golemon
5ae1723c7e Expand zend_(u_)symtable_update_current_key to allow specifying HashPosition 2009-05-25 01:16:19 +00:00
01d1074f51 ChangeLog update 2009-05-24 01:32:48 +00:00
Andrei Zmievski
afa4e41c2f Implement JIT request decoding support for $_GET and $_POST. 2009-05-23 18:03:27 +00:00
d2d418a8b4 ChangeLog update 2009-05-23 01:33:20 +00:00
Arnaud Le Blanc
4399c7670f Use zend_get_property_info() in get_class_vars() (fixes #46812) 2009-05-22 11:18:57 +00:00
2b4e245de9 ChangeLog update 2009-05-20 01:32:45 +00:00
Brian Shire
696b664caa Fix bug #47859 parse_ini_file() does not like asterisk (*) in key in the beginning, and allow [*_-] chars at start of ini labels 2009-05-19 15:59:25 +00:00
Arnaud Le Blanc
7f1b747903 Add GCC warnings in debug cflags for things likely to break VC builds
(-Wpointer-arith -Wdeclaration-after-statement)
2009-05-19 11:40:05 +00:00
e248859aa3 ChangeLog update 2009-05-19 01:32:43 +00:00
26d03e6200 ChangeLog update 2009-05-16 01:32:45 +00:00
Felipe Pena
5c09594daa - Missing zend_exceptions.h (Kalle) 2009-05-15 17:04:30 +00:00
e1d91d2ceb ChangeLog update 2009-05-15 01:32:53 +00:00
9c47a653b2 ChangeLog update 2009-05-14 01:32:51 +00:00
d63136c20f ChangeLog update 2009-05-13 01:32:51 +00:00
Jani Taskinen
7f6657c243 - Fixed bug #48247 (PHP crashes on errors during startup)
#
# This was sum of many little things:
# 1. Wrong assumption made in order_by_dep.awk on the ordering
#    (that script was done prior to adding runtime deps..?)
# 2. request shutdown calls weren't done in reverse order like all other
#    shutdown funcs are called.
# 3. config0.m4 rename is necessary for keeping things simple.
#
2009-05-13 00:45:57 +00:00
Felipe Pena
7ff880405f - Fixed bug #48248 (SIGSEGV when access to private property via &__get) 2009-05-12 22:50:56 +00:00
de0b9844f0 ChangeLog update 2009-05-12 01:32:56 +00:00
Felipe Pena
6f52819a75 - Fix code && new test 2009-05-11 14:59:37 +00:00
Felipe Pena
d8c53cbf5b - Added missing param checks 2009-05-11 14:13:41 +00:00
Jani Taskinen
a173e44b1f - Removed unnecessary TSRMLS_FETCH() calls 2009-05-11 08:31:03 +00:00
Jani Taskinen
afe34550ad - Syncing with PHP_5_3 (merging some stuff that was not merged before for some reason) 2009-05-11 07:51:43 +00:00
288ddbc16d ChangeLog update 2009-05-11 01:33:02 +00:00
Jani Taskinen
e676f1c24a - And more CS fixes 2009-05-11 00:45:09 +00:00
Jani Taskinen
a8c7f8718e - Nuked more whitespace 2009-05-11 00:40:10 +00:00
Jani Taskinen
1895deb41c ws 2009-05-10 22:37:30 +00:00
Jani Taskinen
5ff419882b MFB: missing part of the GC stuff 2009-05-10 21:55:07 +00:00
08ce133aca ChangeLog update 2009-05-09 01:33:06 +00:00
Scott MacVicar
0c54cd40c0 PPC machines mark char as unsigned, rather than signed.
This caused a segfault when using the T type for zend_parse_parameters because the default value
ended up being 255 and never -1
2009-05-08 11:36:35 +00:00
f17f644b5f ChangeLog update 2009-05-08 01:33:08 +00:00
Felipe Pena
f350831de6 - Missing title 2009-05-07 12:15:48 +00:00
6364769e3d ChangeLog update 2009-05-06 01:32:49 +00:00
Matt Wilmas
e7fc1be6cc Regenerate 2009-05-05 01:44:33 +00:00
Matt Wilmas
e559a4ad99 Implemented manual scanning for strings/comments, plus misc. fixes
For details, see http://news.php.net/php.internals/43808
2009-05-05 01:35:13 +00:00
c18c8ee36d ChangeLog update 2009-05-02 01:32:45 +00:00
Jani Taskinen
b64ebc969a - Fix compile warning in debug mode 2009-05-01 21:46:39 +00:00
c00b019f04 ChangeLog update 2009-05-01 01:32:55 +00:00
Arnaud Le Blanc
9185867471 Added missing UChar* and zstr malloc variants 2009-05-01 00:29:49 +00:00
c29da1f499 ChangeLog update 2009-04-28 01:33:00 +00:00
3322913c74 ChangeLog update 2009-04-25 01:32:46 +00:00
Arnaud Le Blanc
778baeb1b2 Fix tests 2009-04-24 15:52:38 +00:00
Arnaud Le Blanc
10a5707781 zend_vm_gen 2009-04-24 15:48:22 +00:00
Arnaud Le Blanc
acb8489d26 Fix handling of unicode string offsets (tests/strings/bug22592.phpt) 2009-04-24 15:47:20 +00:00
1d4facf3a9 ChangeLog update 2009-04-23 01:33:48 +00:00
Brian Shire
82cabe1ca4 fix DVAL_TO_LVAL conversion for static array indexes, related to bug #46701 2009-04-22 21:27:17 +00:00
f65591de90 ChangeLog update 2009-04-22 01:32:44 +00:00
Dmitry Stogov
c951268912 Fixed bug #48004 (Error handler prevents creation of default object) 2009-04-21 09:40:33 +00:00
Dmitry Stogov
d4f6ab748d Fixed bug #48004 (Error handler prevents creation of default object) 2009-04-21 08:12:23 +00:00
a997ebacf1 ChangeLog update 2009-04-17 01:33:01 +00:00
Hannes Magnusson
a563e4224d Fixed bug#47981 (error handler not called regardless) 2009-04-16 13:47:25 +00:00
7fc6364ef9 ChangeLog update 2009-04-09 01:33:14 +00:00
Stanislav Malyshev
59a4a9545c iadd utility macro 2009-04-08 23:08:16 +00:00
Matt Wilmas
bab2569a8a Changed spelling from "build" to "built" 2009-04-08 13:26:24 +00:00
Dmitry Stogov
f3a3d2fe8a Improved specialization (IS_CONST can't be IS_OBJECT) 2009-04-08 13:19:53 +00:00
Dmitry Stogov
7407641998 Calculate hash value once 2009-04-08 13:18:15 +00:00
Dmitry Stogov
e0f577693f Removed deprecated code and fixed function name in error message 2009-04-08 13:17:27 +00:00
Dmitry Stogov
1f11ef709a Added ability to check build_id by extension 2009-04-08 12:19:13 +00:00
Felipe Pena
2582b6ca24 - Added test 2009-04-08 00:29:55 +00:00