Commit Graph

33951 Commits

Author SHA1 Message Date
Marcus Boerger
c67d8b2152 - Iterator API was changed 2006-02-05 23:31:47 +00:00
Marcus Boerger
ea00c7597f - Add missing .cvsignore 2006-02-05 23:29:34 +00:00
Marcus Boerger
c8d78028b5 - Disallow foreach($v as &$ref) when $v is an object that implements
interface Iterator. The signature of Iterator::current() doesn't allow
  that. Maybe ppl also want IteratorByReference or similar. Unfortunatley
  this comes with an API change but there is no easier way.
2006-02-05 23:26:55 +00:00
Andrei Zmievski
a6e8746bbe Needs to use .ustr. portion of the union for IS_UNICODE. 2006-02-05 20:54:11 +00:00
Antony Dovgal
bd8a167442 fix #36295 (typo in SplFileObject::flock() parameter name) 2006-02-05 19:22:13 +00:00
Marcus Boerger
44baf1f3ec - Initialize variable 2006-02-05 16:25:46 +00:00
Pierre Joye
9c7d105c9b - MFB: ini entry for gd.jpeg_ignore_warning 2006-02-05 16:05:46 +00:00
Pierre Joye
d78e8d749c - test for jpeg support 2006-02-05 15:53:02 +00:00
Marcus Boerger
6bfa4b19e1 - Fix comparision where one argument is an object 2006-02-05 13:12:20 +00:00
Marcus Boerger
19117cf9c9 - Fix bug #36287 2006-02-05 11:43:28 +00:00
5f1572d8e4 ChangeLog update 2006-02-05 06:31:42 +00:00
Frank M. Kromann
322be18f4d MFB51 Fix build on win32 2006-02-04 23:58:22 +00:00
Derick Rethans
8440dc27db - Test commit to see if mail works. 2006-02-04 15:36:35 +00:00
Pierre Joye
ccaa5eaab2 - remove libjpeg direct output and wrap them in php warnings 2006-02-04 14:56:58 +00:00
Rob Richards
1e2a3e8b7c MFB51: Fixed bug #34272 (empty array onto COM object blows up)
fix mem leaks
WS fixes
add test
2006-02-04 10:59:18 +00:00
b352adf0c5 ChangeLog update 2006-02-04 06:31:55 +00:00
Andrei Zmievski
589d28e429 Implement Traversable instead of Iterator. 2006-02-04 00:41:42 +00:00
Andrei Zmievski
fe5aac2f41 Add code unit ops. 2006-02-04 00:35:37 +00:00
Andrei Zmievski
4a3bf22b81 Abstract the iterator interface so that we can add new types. 2006-02-04 00:23:52 +00:00
Andrei Zmievski
94e3087be7 Gah. In order to avoid memory corruption when using references in
foreach() this code is necessary. But it makes iterator 6x slower. We
should keep thinking about how to optimize it.
2006-02-03 23:50:42 +00:00
Andrei Zmievski
aa7ed0788c Guard against assign-by-ref. 2006-02-03 21:53:05 +00:00
Dmitry Stogov
47e607a93a Fixed bug #36158 (SIGTERM is not handled correctly when running as a FastCGI server) 2006-02-03 16:30:27 +00:00
Antony Dovgal
760d8cda46 MF51: fix #36010 (Segfault when re-creating and re-executing statements with bound parameters) 2006-02-03 14:48:24 +00:00
Antony Dovgal
a1640d5ef9 duplicate string when needed 2006-02-03 13:24:26 +00:00
Dmitry Stogov
558e883302 Fixed bug #36268 (Object destructors called even after fatal errors) 2006-02-03 09:33:31 +00:00
22a5e72322 ChangeLog update 2006-02-03 06:31:41 +00:00
Andrei Zmievski
682ec6e25e Rewrite to use C-level iterators for performance. Also, cache the string
in the iterator object for immutability.
2006-02-03 00:09:19 +00:00
Marcus Boerger
aa55f8731a - Fix ArrayIterator::seek() edge cases 2006-02-02 22:11:49 +00:00
Antony Dovgal
098a1c98ff MF51: nuke unused variable 2006-02-02 21:43:40 +00:00
Pierre Joye
bc436e2fd3 - add a weak/tolerant mode to the jpeg loader
* new INI option to enable it (off by default)
   gd.jpeg_ignore_warning (0|1)
 * The default mode is the current behavior
 * if the warning mode is enabled, the image may be loaded succesfully
   but the jpeg warnings will be raise as notices
2006-02-02 20:30:54 +00:00
Marcus Boerger
9f628d10f6 - Fix oversight 2006-02-02 19:02:05 +00:00
Sara Golemon
ff87d57268 Prevent bindport from being used uninitialized 2006-02-02 18:16:25 +00:00
Ilia Alshanetsky
555cfd0146 MFB51: Only use win32 directory separators on win32 or netware. 2006-02-02 15:10:23 +00:00
Antony Dovgal
2c508bc1f0 fix tests 2006-02-02 15:04:22 +00:00
Antony Dovgal
d63e26191a fix win32 snapshots 2006-02-02 14:45:54 +00:00
Antony Dovgal
c4daf2fffa add test for bug #36258 2006-02-02 13:57:04 +00:00
Antony Dovgal
6f1ccba730 add missing folding tags
nuke unnecessary semicolons
2006-02-02 12:40:07 +00:00
Antony Dovgal
fc2f82751a MF51: fix #36258 (SplFileObject::getPath() may lead to segfault) 2006-02-02 12:20:26 +00:00
Dmitry Stogov
edbb459290 Bug #36226 Inconsistent handling when passing potential arrays 2006-02-02 11:42:12 +00:00
Omar Kilani
690859c1fd Fix encoding of empty strings.
Add empty string value test case.
2006-02-02 10:54:32 +00:00
Dmitry Stogov
ed3a54c657 AIX support 2006-02-02 10:00:09 +00:00
b7b5b9fe79 ChangeLog update 2006-02-02 06:31:46 +00:00
Sebastian Bergmann
f3ddda4229 Fix Andrei. 2006-02-02 06:01:27 +00:00
Andrei Zmievski
d887f2238b Remove debug message. 2006-02-02 00:05:21 +00:00
Andrei Zmievski
2b763aa305 Check for intern->text before destroying it. 2006-02-01 23:53:53 +00:00
Andrei Zmievski
d4c929764a Proof-of-concept for TextIterator. Much more work to be done here. 2006-02-01 23:50:50 +00:00
Dmitry Stogov
d4a61bb8de Fixed encoding of inhereted objects 2006-02-01 17:18:38 +00:00
Joe Orton
af6dd5cb7e Fixed bug #36208 (symbol namespace conflicts using bundled gd). (Jakub Moc) 2006-02-01 13:10:04 +00:00
Antony Dovgal
8416426488 fix #36242 (Possible memory corruption in stream_select()) 2006-02-01 10:31:26 +00:00
Antony Dovgal
d7393d2d02 fix build 2006-02-01 09:10:23 +00:00