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

725 Commits

Author SHA1 Message Date
Elizabeth Marie Smith 3adf07b5c6 Fix reflection (always static, never shared) and disable turning off pcre and spl (also always static, never shared) 2008-05-02 14:05:53 +00:00
Dmitry Stogov 3a86a06619 Added missing lazy initialization 2008-04-29 09:18:26 +00:00
Marcus Boerger 26f7d6e48b - MFH SPL can no longer be disabld as discussed some time ago (checked back with RM) 2008-04-09 21:53:00 +00:00
Etienne Kneuss 54b70b6015 MFH: Fix #44511 (Ensure no exception was already thrown by php_stream_opendir) 2008-04-09 19:01:12 +00:00
Marcus Boerger af316021e8 - Rewrite scanner to be based on re2c instead of flex
The full patch is available as:
  http://php.net/~helly/php-re2c-5.3-20080316.diff.txt
  This is against php-re2c repository version 98
  An older patch against version 97 is available under:
  http://php.net/~helly/php-re2c-97-20080316.diff.txt
2008-03-16 21:06:55 +00:00
Marcus Boerger c17997d4b6 - MFH Fix possible memory corruption 2008-03-13 19:46:44 +00:00
Etienne Kneuss b57e7b44da Fix bug #41828 (Fix crash on wrong instantiation) 2008-03-12 13:34:47 +00:00
Etienne Kneuss 05ba20f9b6 MFH: Fix #44144 (object methods as spl autoload functions returned correctly) 2008-02-29 13:55:23 +00:00
Etienne Kneuss 7c2052957c MFH: Fix #44288 (Move declarations) 2008-02-29 09:26:01 +00:00
Etienne Kneuss 6e46f25b12 MFH: Fix folding 2008-02-25 23:41:04 +00:00
Etienne Kneuss c54045a1f9 MFH: SplHeap, SplMinHeap, SplMaxHeap, SplPriorityQueue implementation 2008-02-25 23:39:08 +00:00
Etienne Kneuss 09a928b9c4 MFH: Add debug_info handler to SplDoublyLinkedList/Stack/Queue to make them var_dump friendly 2008-02-19 00:04:20 +00:00
Marcus Boerger 1d98b27235 - MFH Make this behave like in <= 5.2.5 and test for it 2008-02-13 12:05:34 +00:00
Etienne Kneuss 80861c001e MFH: Provide ctod/dtor with TSRM 2008-02-11 16:39:20 +00:00
Etienne Kneuss 901cb5a454 MFH: cosmetics 2008-02-11 13:59:23 +00:00
Marcus Boerger 95262f8ac3 - MFH Really last flag change (got confused with code) 2008-02-04 21:37:47 +00:00
Marcus Boerger dc8bfcaade - MFH Update docu 2008-02-04 20:40:47 +00:00
Marcus Boerger 8f6a6a800e - MFH Fix/add folding markers 2008-02-04 19:40:49 +00:00
Marcus Boerger 81a5389af7 - MFH Really fix flag handling 2008-02-04 19:33:10 +00:00
Marcus Boerger b7a04d786f - MFH Fix #44018 (RecursiveDirectoryIterator options inconsistancy) 2008-02-04 18:46:13 +00:00
Marcus Boerger a547c556b6 - MFH Fix default flag value in contructor 2008-02-04 17:19:07 +00:00
Marcus Boerger 36caad5628 - MFH Fix messages and tests 2008-02-04 17:07:07 +00:00
Marcus Boerger fdf95a00dc - CS/WS 2008-02-04 16:48:06 +00:00
Marcus Boerger b628fc219a - MFH Synch directory changes
[DOC]
# Class FilesystemIterator was introduced to have a better DirectoryIterator
# without having to change DirectoryIterator or RecursiveDirectoryIterator.
# On top of FilterIterator the new GlobIterator was introduced. This one allows
# to implement Countable(). But a glob stream flattens all structure, so it
# cannot be derived from RedursiveIterator. With the new structure all children
# of FilesystemIterator have nearly the same behavior. Just their capabilities
# are a bit different. Check out new inheritance tree on SplFileInfo:
#
# [marcus@frodo PHP_5_3]$ php ext/spl/examples/class_tree.php SplFileInfo
# make: `sapi/cli/php' is up to date.
# SplFileInfo
# |-DirectoryIterator (Iterator)
# | \-FilesystemIterator
# |   |-GlobIterator (Countable)
# |   \-RecursiveDirectoryIterator (RecursiveIterator)
# |     \-Phar (ArrayAccess, Countable)
# |-PharFileInfo
# \-SplFileObject (RecursiveIterator, SeekableIterator)
#   \-SplTempFileObject
2008-02-02 23:09:38 +00:00
Marcus Boerger cd2953db57 - MFH Show interfaces 2008-02-02 21:02:25 +00:00
Felipe Pena ad476edcee Fix the fix 2008-02-02 04:03:03 +00:00
Felipe Pena 1e294b1d37 Fix tests (new error message) 2008-02-02 03:20:51 +00:00
Marcus Boerger 7cced8f520 - Fix build, thanks Christian Rodriguez for noticing
# I wonder why the other machine didn't catch this
2008-02-01 23:46:36 +00:00
Marcus Boerger 55b17871a4 - MFH Fix test 2008-01-31 07:44:01 +00:00
Elizabeth Marie Smith 78a9df9004 Fix windows build 2008-01-31 02:35:44 +00:00
Marcus Boerger 116539a5d1 - WS 2008-01-30 23:45:12 +00:00
Marcus Boerger ef9453546e - Sub path may be NULL 2008-01-30 23:08:13 +00:00
Marcus Boerger 0b71904acc - Fixed glob:// stream handling in (Recursive)DirectoryIterator. 2008-01-30 20:31:07 +00:00
Dmitry Stogov 240fa244c3 Improved PHP binary size and startup speed with GCC4 visibility control (Nuno) 2008-01-30 09:41:12 +00:00
Marcus Boerger e9914e9d06 - MFH Make SplObjectStorage implement ArrayAccess
[DOC]
2008-01-28 22:48:15 +00:00
Marcus Boerger a339867860 MFH:
[DOC] Add ability to store associative infor with objects in SplObjectStorage
- Add second parameter to SplObjectStorage::attach()
- Add SplObjectStorage::setInfo()
- Add SplObjectStorage::getInfo()
2008-01-27 18:07:20 +00:00
Marcus Boerger 5081a15490 - Minor rearrange and fix potential issue with double adding 2008-01-27 15:23:14 +00:00
Marcus Boerger 6b778b0def - MFH revert over constfying 2008-01-27 15:04:41 +00:00
Etienne Kneuss bfe7a47b15 MFH: Typo 2008-01-27 14:08:06 +00:00
Etienne Kneuss 36305912e9 MFH: -Pointer doesn't move if we're moving forward and shifting at the same time
-Userland implementation
-Doxygen doc
2008-01-27 13:59:51 +00:00
Etienne Kneuss 6a7074c837 MFH: Iterator implementation in SplDoublyLinkedList, SplStack, SplQueue 2008-01-26 23:04:43 +00:00
Nuno Lopes 65e86e459a more const kewywording
remove spl_functions_none var (wast used anywhere
2008-01-25 20:29:48 +00:00
Etienne Kneuss de2bb0f497 MFH: Typos (Dan Scott)
ctor inside the structure. dtor/ctor used on push/pop for better potential interoperability
2008-01-22 19:55:31 +00:00
Etienne Kneuss 7366d48c04 MFH: Add doxygen docs for SplDoublyLinkedList, SplStack, SplQueue 2008-01-21 21:55:55 +00:00
Etienne Kneuss 5c5d5dd0f6 MFH: Fix mem errors 2008-01-20 13:26:03 +00:00
Rob Richards 05534af71b MFH: fix win build 2008-01-15 15:46:20 +00:00
Etienne Kneuss 67e82261c2 Fix ZTS build, fix tests 2008-01-15 12:17:35 +00:00
Etienne Kneuss 8e2154f711 MFH: Bump year 2008-01-15 09:44:07 +00:00
Etienne Kneuss 1b4cac77ba MFH: Implement splDoublyLinkedList, splQueue, splStack classes in SPL 2008-01-15 09:38:15 +00:00
Marcus Boerger 522166bad1 - MFH Fix bug in example code found by Surf Chen 2008-01-10 10:11:33 +00:00