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

60784 Commits

Author SHA1 Message Date
Pierre Joye 11941b3fd2 - not desired yt 2011-04-19 21:57:01 +00:00
Pierre Joye 600c9498f9 - fix build >(btw, has novell man pages too?) 2011-04-19 21:43:22 +00:00
Hannes Magnusson 988b8a9cbe Add an --man-dir to php-config too 2011-04-18 11:13:37 +00:00
Hannes Magnusson e9bc36522a Expose PHP_MANDIR
Useful for apps (like the pear installer, phd, .. etc) to install their manpages into the same dir as php did :]
2011-04-18 09:50:32 +00:00
Felipe Pena b57d9f41cf - Fixed ZTS build 2011-04-17 22:06:27 +00:00
Stanislav Malyshev 3440d853c7 implement FR #54540 - Allow loading of arbitrary resource bundles when fallback is disabled 2011-04-17 21:56:26 +00:00
Rob Richards 944a2b0c80 Implement FR #48587 (MySQL PDO driver doesn't support SSL connections) 2011-04-15 14:24:40 +00:00
Dmitry Stogov 50ce16deff Fixed bug #54268 (Double free when destroy_zend_class fails) 2011-04-15 12:43:20 +00:00
Dmitry Stogov 8fe3ea75cb Changed initialization order to workaround against crashes after memory overflow 2011-04-15 09:59:42 +00:00
Dmitry Stogov e623543452 Improved GC to avaid reconstruction of HashTables for object properties 2011-04-15 09:57:43 +00:00
Felipe Pena 07f60310b2 - Remove undesired line (reported by Gökhan Özbulak) 2011-04-13 13:38:52 +00:00
Stanislav Malyshev c4a8866abb fix bug #54238 (use-after-free in substr_replace()) 2011-04-13 06:32:41 +00:00
Ilia Alshanetsky 465ffa7fa2 Fixed bug #54121 (error message format string typo). 2011-04-12 18:33:08 +00:00
Boris Lytochkin b1d9284901 fix typo 2011-04-12 08:00:14 +00:00
Gustavo André dos Santos Lopes 09b990f499 - Fixed bug #54440: libxml extension ignores default context. 2011-04-09 18:32:55 +00:00
Gustavo André dos Santos Lopes db01e840c2 - Fixed bug #54494: mb_substr() mishandles UTF-32LE and UCS-2LE. 2011-04-09 16:59:36 +00:00
Sebastian Bergmann 6f3148db81 Add optional argument to debug_backtrace() and debug_print_backtrace() to limit the amount of stack frames returned. 2011-04-09 09:52:24 +00:00
Dmitry Stogov efcb9a71cd - Fixed bug #54358 (Closure, use and reference)
- Fixed bug #54039 (use() of static variables in lambda functions can break staticness)
2011-04-08 10:02:07 +00:00
Dmitry Stogov 77ed819430 Fixed bug #54323 (Accessing unset()'ed ArrayObject's property causes crash) 2011-04-07 14:52:30 +00:00
Dmitry Stogov d3274b7f20 Missed tests 2011-04-07 14:34:07 +00:00
Dmitry Stogov 2e25ec9eb7 Fixed bug #54372 (Crash accessing global object itself returned from its __get() handle) 2011-04-07 13:35:27 +00:00
Adam Harvey 187eb235fe Implement FR #54459 (Range function accuracy) by changing the way range()
calculates values when used with floating point bounds/step.
2011-04-06 10:23:06 +00:00
Gustavo André dos Santos Lopes 18d71a6f59 - Updated UPGRADING now that multicast support was decided
trunk only.
2011-04-06 10:17:52 +00:00
Boris Lytochkin bbb4f679ae * Net-SNMP version detection and proper processing
* more UCD-SNMP-related code removal
2011-04-06 06:58:25 +00:00
Boris Lytochkin cab643f615 * added detection and walkaround for net-snmp library bug (net-snmp BUGid 2027834)
* drop UCD-SNMP support, R.I.P.
2011-04-05 12:20:35 +00:00
Pierrick Charron 1368364469 Fix common typos in the source code (Reported in Bug #54065)
# External libraries were excluded
# Thanks eitan at eitanadler dot com for the first patch :)
2011-04-03 21:46:52 +00:00
Felipe Pena 9e05a9ad13 - Removed unused variable (Pierrick) 2011-04-03 17:20:34 +00:00
Ilia Alshanetsky 063aba2e65 Fixed bug #53037 (FILTER_FLAG_EMPTY_STRING_NULL is not implemented). 2011-04-03 16:30:31 +00:00
Pierrick Charron 5a8c917c37 Fixed bug #54454 (substr_compare incorrectly reports equality in some cases) 2011-04-03 07:18:27 +00:00
Felipe Pena 70075bc84c - Improved message and version checking 2011-04-02 01:24:53 +00:00
Pierre Joye 599d9134fc - add CURLINFO_REDIRECT_URL 2011-04-01 17:19:08 +00:00
Pierre Joye 4aac903e61 - [doc] add ini option to set the default cainfo file, in case none was set at compile time 2011-04-01 17:10:52 +00:00
Derick Rethans fee45b7a5f - Updated to version 2011.5 (2011e) 2011-04-01 11:24:49 +00:00
Pierre Joye 6aed81764e - fix bug #54423, fix build in trunk, introduce by previous related commit 2011-03-31 23:58:06 +00:00
Antony Dovgal 6e7a3015e5 fix bug #54423 (classes from dl()'ed extensions are not destroyed) 2011-03-31 11:59:34 +00:00
Pierre Joye 27c0221dc9 - not used on win 2011-03-30 09:46:56 +00:00
Pierre Joye f7249e7c5c - fix build, should fix that code too on non win (wondering if that part was working at all) 2011-03-30 09:46:20 +00:00
Pierre Joye 38bbbe3417 - attempt to fix build, 1st error 2011-03-30 09:42:21 +00:00
Pierre Joye b7a99bbbb8 - fix build 2011-03-30 09:25:09 +00:00
Christopher Jones 92ecff668f Refactor OCI8 config.m4: improve messages and merge similar conditionals 2011-03-29 21:37:45 +00:00
Felipe Pena 5def890d4d - Fixed bug #44989 (64bit Oracle RPMs still not supported by pdo-oci)
patch by: jbnance at tresgeek dot net
2011-03-29 18:40:20 +00:00
Pierre Joye 264d2b3480 - Fixed bug #48465 (sys_get_temp_dir() possibly inconsistent, windows fix 2011-03-28 16:43:49 +00:00
Pierre Joye 0625b3882d - re enable static analyzer, crash fixed with snapshot builds 2011-03-28 10:55:34 +00:00
Nuno Lopes 301eda5b6d MFB (r309775): fix last commit 2011-03-28 09:11:28 +00:00
Gustavo André dos Santos Lopes f7b7b6aa9e - Improved upon r309729.
- Extented strategy to remaining the classes on spl_directory.c, even those that don't crash.
- UPGRADING.
- Better bug54384.phpt, with all the classes covered.
2011-03-27 22:44:34 +00:00
Arnaud Le Blanc 11efb7295e UPGRADING 2011-03-27 20:24:40 +00:00
Arnaud Le Blanc b83e243c23 Added CallbackFilterIterator and RecursiveCallbackFilterIterator classes
[DOC] This is a concrete FilterIterator which takes a callback as
constructor parameter, and uses this callback for filtering. This allows
to use FilterIterator without extending it.

CallbackFilterIterator Example:

$it = new ArrayIterator(range(1,100));
$it = new CallbackFilterIterator($it, function($value) {
	return $value % 2;
});
foreach($it as $value) // ...

RecursiveCallbackFilterIterator Example:

$it = new RecursiveDirectoryIterator("/");
$it = new RecursiveCallbackFilterIterator($it, function($file, $k, $it) {
	return $it->hasChildren() || $file->getSize() > 1024;
});
foreach(new RecursiveIteratorIterator($it) as $file) // ...

The callback takes the current value, the current key and the inner
iterator as parameters.
2011-03-27 20:13:27 +00:00
Felipe Pena 2191af9546 - Fixed compiler warnings 2011-03-27 18:14:58 +00:00
Boris Lytochkin 907244a822 added info about changes in SNMP extension 2011-03-27 09:44:38 +00:00
Gustavo André dos Santos Lopes c2fe893985 - Fixed bug #54384: Several SPL classes crash when parent constructor is
not called.
#Merge to 5.3 pending (slight BC break on AppendIterator, as it's no
#longer possible to defer the call to the parent constructor until
#after the constructor is performed).
#Bugs fixed in an atypical way for SPL. The parent constructor call
#check is performed at construction time by using a wrapper constructor
#instead of a check on the beginning of each instance method.
#Perhaps this should be uniformized in trunk; this method was mainly
#applied only to the ones crashing, except a few iterators (at least
#AppendIterator and RecursiveIteratorIterator).
2011-03-27 04:21:06 +00:00