Commit Graph

624 Commits

Author SHA1 Message Date
Marcus Boerger
75c95e09c3 - Add new test 2006-03-03 23:35:06 +00:00
Marcus Boerger
ce20de5e46 - Fix issue with LimitIterator and bounds checking 2006-03-03 23:34:49 +00:00
Marcus Boerger
742c59862d - Test addition 2006-03-03 22:58:13 +00:00
Marcus Boerger
b9630ddf52 - Fix issue with LimitIterator 2006-03-03 22:56:27 +00:00
Marcus Boerger
7bb0ca9ce6 - Fix SEGV with AppendIterator when base class constructor was not called
- Generic check to prevent double call to constructors of SPL iterators
2006-03-03 21:35:16 +00:00
Marcus Boerger
1c0d546bd4 - Fix issues withhandling of derived info classes as entries 2006-02-27 22:31:07 +00:00
Marcus Boerger
5a42b4086b - Extend struct to allow inherited c classes hookk their own info there 2006-02-27 18:15:29 +00:00
Dmitry Stogov
36002f16c3 Fixed test file 2006-02-22 12:22:07 +00:00
Marcus Boerger
54c4478a12 - 2006 now 2006-02-21 23:21:53 +00:00
Marcus Boerger
de27da1c85 - More bodies 2006-02-21 21:22:39 +00:00
Marcus Boerger
0cf591a5f9 - Ensure non abstract methods have code
# This is very usefull once doxygen 1.4.7 comes out with my patch :-)
2006-02-21 21:19:34 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Marcus Boerger
53f2048fd1 - Its 2006 already 2006-02-21 09:47:09 +00:00
Marcus Boerger
43e9def563 - Update 2006-02-21 09:45:38 +00:00
Marcus Boerger
b56190d25b - Add some arginfo 2006-02-20 22:23:27 +00:00
Marcus Boerger
45dd9a10b8 - WS 2006-02-20 22:21:24 +00:00
Marcus Boerger
f4fd040d73 - Include examples in documentation
- Provide a better place for the examples
2006-02-20 22:19:04 +00:00
Andi Gutmans
1efe984d08 - Get rid of using ENFORCE_SAFE_MODE. 2006-02-19 04:29:42 +00:00
Dmitry Stogov
09ca61c125 Made server wide switch for unicode on/off (according to PDM). 2006-02-13 10:23:59 +00:00
Marcus Boerger
887d1202f4 - No more old parameter api usage 2006-02-12 16:43:30 +00:00
Antony Dovgal
50bbedcec3 fix #36359 (splFileObject::fwrite() doesn't write when no data length specified) 2006-02-10 16:56:56 +00:00
Antony Dovgal
96543b01ad initialize variables and reduce the number of warnings 2006-02-06 11:28:20 +00:00
Marcus Boerger
8d0a71a30e - Finally enable optimization 2006-02-06 02:07:08 +00:00
Marcus Boerger
ee37c70736 - WS
- current() doesn't return anything
2006-02-06 01:49:13 +00:00
Marcus Boerger
0d1594692d - Simplify 2006-02-06 01:42:37 +00:00
Marcus Boerger
42cc8c1ba3 - Simplify 2006-02-06 01:30:26 +00:00
Marcus Boerger
9b8b9632cd - Add new test 2006-02-06 01:28:08 +00:00
Marcus Boerger
1ea1975817 - Synch c-level iterator and iterator methods
- Fix iterator checks
# A nice discussion with Andrei made me remember this issue
2006-02-06 00:58:11 +00:00
Marcus Boerger
c67d8b2152 - Iterator API was changed 2006-02-05 23:31:47 +00:00
Antony Dovgal
bd8a167442 fix #36295 (typo in SplFileObject::flock() parameter name) 2006-02-05 19:22:13 +00:00
Marcus Boerger
19117cf9c9 - Fix bug #36287 2006-02-05 11:43:28 +00:00
Marcus Boerger
aa55f8731a - Fix ArrayIterator::seek() edge cases 2006-02-02 22:11:49 +00:00
Marcus Boerger
9f628d10f6 - Fix oversight 2006-02-02 19:02:05 +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
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
Ilia Alshanetsky
9201fa6918 MFB51: Fixed bug #36134 (DirectoryIterator constructor failed to detect
empty directory names).
2006-01-23 15:24:41 +00:00
Marcus Boerger
2a2eae219c - Fix error message 2006-01-23 02:26:15 +00:00
Antony Dovgal
4f07cff61c fix typo (and possible segfault) 2006-01-18 23:39:00 +00:00
Dmitry Stogov
227295a4f1 Unicode stuff is changed according to decision maden on PDM.
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
Antony Dovgal
8f86b6d145 avoid segfaults 2006-01-15 16:05:49 +00:00
Marcus Boerger
2d3dc44908 - Fix issue found by nuno 2006-01-15 00:17:08 +00:00
Marcus Boerger
d91dd0a0bb - Update 2006-01-14 20:20:53 +00:00
Marcus Boerger
f22c929561 - Fix #35998 (getPathname() method always returns unix style filenames) 2006-01-13 19:35:27 +00:00
Marcus Boerger
9f0f9bc958 - Update 2006-01-06 19:57:49 +00:00
foobar
f8bda52627 - Fix configure on Solaris 2006-01-06 14:03:28 +00:00
Marcus Boerger
4c5fb5fc50 - Fix docu 2006-01-05 19:00:01 +00:00
Marcus Boerger
c9128375f9 - Update examples 2006-01-04 15:34:26 +00:00
Marcus Boerger
e16171a6b1 - MFB 2006-01-01 19:57:27 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
6102ec3a06 - Remove wrong inline usage (and fix bug #35796) 2005-12-25 16:03:38 +00:00
Marcus Boerger
d06b1b77a1 - MFB Make this work with VPATH builds too 2005-12-24 13:19:49 +00:00
Marcus Boerger
2f2711acfd - MFB Fix leak 2005-12-22 00:38:05 +00:00
Marcus Boerger
b6caa5e369 - MFB Fix memleak 2005-12-22 00:24:49 +00:00
Antony Dovgal
73db3873cc MFB: merge two skipif entries 2005-12-22 00:20:44 +00:00
Marcus Boerger
8a7a093996 - Add missing skipif 2005-12-21 22:21:54 +00:00
Marcus Boerger
d3ae24eb79 - MFB Need to store length (and type) of class name 2005-12-21 20:12:44 +00:00
Marcus Boerger
a9a1bd419b - Only apply workaround solution for 64 bit machines when necessary
# Actually this can already be necessary on 32 bit machine and also not be
# necessary on 64 bit machines. It all depends on the compiler settings.
2005-12-20 21:36:47 +00:00
Antony Dovgal
320b5ce461 MFB: more SPL leak fixes 2005-12-20 12:41:38 +00:00
Antony Dovgal
e236055976 MFB: fix possible invalid reads 2005-12-19 13:53:28 +00:00
Marcus Boerger
1a7b411f9a - MFH IteratorIterator::__construct() fixes 2005-12-19 00:55:40 +00:00
Antony Dovgal
099ab8ac8d MFB: fix leak in SPL iterators 2005-12-18 22:53:18 +00:00
Antony Dovgal
891059b089 more spelling fixes 2005-12-18 21:00:59 +00:00
Antony Dovgal
3e2d9c2549 fix spelling 2005-12-18 20:57:06 +00:00
Zeev Suraski
d04772ab12 Prototype fix (MFB) 2005-12-18 15:47:03 +00:00
Zeev Suraski
4000ac531c Prototype fixes (MFB) 2005-12-18 15:41:22 +00:00
Zeev Suraski
9955ce10b1 Fix prototype (MFB) 2005-12-18 14:05:23 +00:00
Marcus Boerger
884cb32a38 - MFB 2005-12-17 00:09:06 +00:00
Marcus Boerger
cea4c80b88 - Add new tests 2005-12-16 22:22:14 +00:00
Marcus Boerger
218c07c328 - Fix issue spotted by Wez using ms vc 2005 2005-12-14 09:55:04 +00:00
Marcus Boerger
12c5f90386 - Change to use sane default flags fro RecursiveDirectoryIterator
- Drop 2nd parameter from DirectoryIterator::__construct()
2005-12-11 16:43:00 +00:00
Antony Dovgal
be74ca8f85 MF51: nuke C++ comment 2005-12-09 13:32:07 +00:00
Antony Dovgal
d5cd3efe2b fix segfault in SplFileObject when file doesn't exist or cannot be read 2005-12-08 19:53:43 +00:00
Dmitry Stogov
8010c59c88 Unicode support 2005-12-07 16:52:13 +00:00
foobar
5f44819b72 - function_entry -> zend_function_entry (php3 legacy!) 2005-12-06 02:00:07 +00:00
Stanislav Malyshev
1a60646023 MF5.1: fix reallocation bug 2005-12-05 20:08:19 +00:00
Marcus Boerger
df710be5c7 - Fix minor issues in RecursiveDirectoryIterator & provide new flag consts 2005-11-27 13:07:18 +00:00
Marcus Boerger
1bec704ea7 - Fix editor blocks 2005-11-27 12:13:42 +00:00
Johannes Schlüter
57deca0c8f - Fix SPL class listing for phpinfo in unicode mode 2005-11-20 15:21:23 +00:00
Antony Dovgal
e658842761 fix #35197 (Destructor is not called) and similar issues in other extensions 2005-11-14 21:52:27 +00:00
Marcus Boerger
ce939c2cc5 - Add missing check flag 2005-11-03 22:04:35 +00:00
Marcus Boerger
e2ea55ccbe - Tray fixing #35088 2005-11-03 21:58:42 +00:00
Marcus Boerger
3243167b45 - Add missing check 2005-11-03 21:28:16 +00:00
Marcus Boerger
8088087b0b - Update docu 2005-11-01 21:46:33 +00:00
Marcus Boerger
d73184b6ba - The iterator base interface is Traversable not IteratorAggregate 2005-11-01 21:17:51 +00:00
Marcus Boerger
35d80e39d2 - Allow to recive derived SplFileInfo/SplFileObject instances 2005-11-01 16:54:44 +00:00
Marcus Boerger
15f4a227e0 - Make SimpleXMLIterator implement Countable 2005-10-31 20:29:34 +00:00
Marcus Boerger
f93d64e8ce - Add docu 2005-10-30 16:07:29 +00:00
Marcus Boerger
82aa412cf8 - Fix unicode expectations 2005-10-30 14:00:45 +00:00
Marcus Boerger
5303f42825 - Use var_dump() and fix test expectations 2005-10-29 21:01:03 +00:00
Marcus Boerger
bf0f844521 - Add new example 2005-10-29 20:38:30 +00:00
Marcus Boerger
a5a9cd2f0f - Attribues don't have children 2005-10-29 20:37:59 +00:00
Marcus Boerger
9ee8a78cef - Add new example 2005-10-29 16:38:49 +00:00
Marcus Boerger
bdb7ff4c2e - Increase buffer for 64 bit systems 2005-10-29 15:48:14 +00:00
Marcus Boerger
dd702a23dc - Fix stupid unicode warnings 2005-10-29 15:44:37 +00:00
Marcus Boerger
5c4d1edef3 - Add AppendIterator::getIteratorIndex
- Add AppendIterator::getArrayIterator
2005-10-29 15:37:57 +00:00
Marcus Boerger
feafd25b0d - Add class SplTempFileObject 2005-10-29 15:15:22 +00:00
Dmitry Stogov
2b5cd0e756 Unicode support 2005-10-28 08:07:17 +00:00
Antony Dovgal
5c5e74581b make compilers happy 2005-10-26 22:46:51 +00:00