Commit Graph

60873 Commits

Author SHA1 Message Date
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
Felipe Pena
3acdca4703 - Fixed bug #54395 (Phar::mount() crashes when calling with wrong parameters) 2011-03-26 17:02:34 +00:00
Ulf Wendel
8138f7de40 Update of mysqlnd version. This has been forgotten when introducing set_autocommit, tx_commit, tx_rollback calls (http://svn.php.net/viewvc?view=revision&revision=308669). 2011-03-25 10:45:28 +00:00
Andrey Hristov
133ba9b5dd fix buffer overflow - overwriting with 0x0, due to
unchecked buffer size. This can be easily workarouned on 
existing unpatched systems by increasing
mysqlnd.net_cmd_buffer_size ini variable to more than 8k
2011-03-24 16:12:18 +00:00
Ulf Wendel
38fd7f48d0 Limit test with 65k params, should crash mysqlnd 2011-03-24 13:40:06 +00:00
Ilia Alshanetsky
e42662039f Fixed a crash inside dtor for error handling. 2011-03-24 12:57:38 +00:00
Felipe Pena
39e0aa4dc6 - Fixed bug #54292 (Wrong parameter causes crash in SplFileObject::__construct()) 2011-03-23 22:46:04 +00:00
Christopher Jones
0a4d7e88c9 Fixed bug #54084 (Fix apxs Apache version test to work with Oracle HTTP Server) (Chris Jones) 2011-03-23 18:56:47 +00:00
Andrey Hristov
e7a5fb405e Fix compressed build, make it easier 2011-03-23 17:14:28 +00:00
Adam Harvey
72d740f8fa Implement request #54355 (Test for de_DE doesn't use UTF-8 locales). Patch by
Ondřej Surý.
2011-03-23 08:59:11 +00:00
Ulf Wendel
1eb3bdd802 Coverage for a 'silent server protocol change' from the past for which both mysqlnd and libmysql have workarounds. 2011-03-23 08:57:52 +00:00
Adam Harvey
b2d384355d Bah, these should have been in the last commit too. Update expected output for
further tests that now generate warnings after r306931.
2011-03-23 08:48:32 +00:00
Adam Harvey
f9b8088349 Update test that now generates a warning after r306931, which increased the
error you get when silently casting an empty variable to an object to an
E_WARNING from E_STRICT.
2011-03-23 08:43:36 +00:00
Felipe Pena
2adf58cfcf - Fixed bug #54283 (new DatePeriod(NULL) causes crash) 2011-03-23 01:22:18 +00:00
Gustavo André dos Santos Lopes
63673a533f - Updating UPGRADING for r309516 and modest merge to 5.3. 2011-03-23 00:51:22 +00:00
Felipe Pena
11c4a5b96a - Fixed bug #54281 (Crash in non-initialized RecursiveIteratorIterator) 2011-03-22 22:41:16 +00:00
Andrey Hristov
3ffac762b0 palloc is long dead, use more appropriate name 2011-03-22 14:39:58 +00:00
Andrey Hristov
a6d4f047d4 Fix message 2011-03-22 14:39:36 +00:00
Andrey Hristov
cfb01aab63 remove more unneeded includes 2011-03-22 12:54:02 +00:00
Andrey Hristov
15fd9c4f58 remove unneeded includes 2011-03-22 12:22:16 +00:00
Adam Harvey
9de1ad4cd2 Fix bug #54318 (Non-portable grep option used in PDO pgsql configuration).
Patch by Ben Walton <bwalton at artsci dot utoronto dot ca>.
2011-03-22 09:12:01 +00:00
Adam Harvey
991ba13174 Fix bug #54340 (DateTime::add() method bug). 2011-03-22 08:33:22 +00:00