1
0
mirror of https://github.com/php/php-src.git synced 2026-04-27 01:48:26 +02:00
Commit Graph

25585 Commits

Author SHA1 Message Date
Dmitry Stogov fbe8cf9a40 Fixed crash when passing invalid timestamp (negative integer on win32) 2011-05-04 07:53:22 +00:00
Antony Dovgal 354cb67597 fix tests 2011-05-03 11:15:30 +00:00
Felipe Pena 48cb3447bb - Fixed ZTS build 2011-05-01 19:22:24 +00:00
Gustavo André dos Santos Lopes 6d9d7af86f - Fixed bug #54580 (get_browser() segmentation fault when the browscap ini
directive is set in activation time). This commit fixes this by adding a per
  request parsing of the browscap file that's when get_browser is called the
  first time and the directive is set on activation time.w
2011-05-01 18:37:20 +00:00
Gustavo André dos Santos Lopes 93f65cdeac - Fixed bug #54623 (Segfault when when writing to a persistent socket after
closing a copy of the socket).
2011-05-01 03:57:01 +00:00
Derick Rethans 9c285fddbb - Updated to version 2011.7 (2011g) 2011-04-30 20:18:51 +00:00
Gustavo André dos Santos Lopes c2d392e934 - Fixed build on Solaris. 2011-04-30 15:56:07 +00:00
Gustavo André dos Santos Lopes a6c9737749 - Fixed SKIPIF section missing a semicolon. 2011-04-30 15:54:44 +00:00
Peter Cowburn e77bd31f3f fix method name in JsonSerializable exception message 2011-04-30 12:57:23 +00:00
Ilia Alshanetsky 118695a4ea #doc
Added 3rd parameter to filter_var_array() and filter_input_array() 
functions that allows disabling addition of empty elements
2011-04-28 12:32:47 +00:00
Rasmus Lerdorf 53204a26d2 Fix test by pointing this at a smaller file that is less likely to break the test 2011-04-27 21:27:31 +00:00
Rasmus Lerdorf c09f0822fd Fix broken test 2011-04-27 15:08:44 +00:00
Martin Jansen 0c8438462c The project calls itself OpenSSL and not openSSL, so let's keep it
that way in our code as well.
2011-04-25 16:50:30 +00:00
Pierre Joye b948b7d8ea - keep node creation check 2011-04-25 09:31:00 +00:00
Pierre Joye c8542ceac6 - keep inode creation check 2011-04-25 09:28:08 +00:00
Rasmus Lerdorf 380c3e5127 SSLV2 patch cleanup 2011-04-24 23:27:48 +00:00
Pierre Joye 6336b28019 - fix use of unitiliazed var 2011-04-24 22:08:11 +00:00
Rasmus Lerdorf f1806e67e6 Support for openssl without SSLv2 supprot compiled in. Distros are starting to
remove support now and this wasn't compiling anymore on my Debian dev box.
2011-04-24 20:47:22 +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
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 77ed819430 Fixed bug #54323 (Accessing unset()'ed ArrayObject's property causes crash) 2011-04-07 14:52:30 +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
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
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 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
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 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
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
Felipe Pena 3acdca4703 - Fixed bug #54395 (Phar::mount() crashes when calling with wrong parameters) 2011-03-26 17:02:34 +00:00