]> granicus.if.org Git - php/log
php
17 years agoMoving extension specific code to php_mysqlnd.c as the old rule is.
Andrey Hristov [Mon, 28 Jan 2008 23:24:05 +0000 (23:24 +0000)]
Moving extension specific code to php_mysqlnd.c as the old rule is.

17 years agoMFB: fix #43927 (koi8r is missing from html_entity_decode())
Antony Dovgal [Mon, 28 Jan 2008 23:08:07 +0000 (23:08 +0000)]
MFB: fix #43927 (koi8r is missing from html_entity_decode())
patch by andy at demos dot su

17 years agoMFB:
Andrey Hristov [Mon, 28 Jan 2008 22:54:21 +0000 (22:54 +0000)]
MFB:
some config.w32 fixes
moved mysqlnd's block allocator to a separate file and also now
it's part of the connection, no MT problems.

17 years ago- Make SplObjectStorage implement ArrayAccess
Marcus Boerger [Mon, 28 Jan 2008 22:43:21 +0000 (22:43 +0000)]
- Make SplObjectStorage implement ArrayAccess

17 years ago'It works on my box'.
Steph Fox [Mon, 28 Jan 2008 21:23:02 +0000 (21:23 +0000)]
'It works on my box'.

Please test.

17 years ago- Added two optional parameters to timezone_transitions_get() /
Derick Rethans [Mon, 28 Jan 2008 21:12:24 +0000 (21:12 +0000)]
- Added two optional parameters to timezone_transitions_get() /
  DateTimeZone::getTranstions() to limit the range of transitions being
  returned.

17 years ago- MF53: Fixed test case.
Derick Rethans [Mon, 28 Jan 2008 21:02:09 +0000 (21:02 +0000)]
- MF53: Fixed test case.

17 years ago- MF53: Added missing folding tags.
Derick Rethans [Mon, 28 Jan 2008 20:36:04 +0000 (20:36 +0000)]
- MF53: Added missing folding tags.

17 years ago- Send the debug info to stderr instead of stdout.
Derick Rethans [Mon, 28 Jan 2008 20:33:50 +0000 (20:33 +0000)]
- Send the debug info to stderr instead of stdout.

17 years ago- Added DateTime::getTimestamp() / date_timestamp_get().
Derick Rethans [Mon, 28 Jan 2008 20:29:40 +0000 (20:29 +0000)]
- Added DateTime::getTimestamp() / date_timestamp_get().

17 years agofix PharFileInfo->setAlias (was wildly broken)
Greg Beaver [Mon, 28 Jan 2008 20:18:15 +0000 (20:18 +0000)]
fix PharFileInfo->setAlias (was wildly broken)
fix directory creation in zip archives
update zip tests to use phar to create the zip, and then copy to a new file

17 years agoMFB: More optimizations - less MM calls
Andrey Hristov [Mon, 28 Jan 2008 18:27:49 +0000 (18:27 +0000)]
MFB: More optimizations - less MM calls
Clearly separated fetching (physical reading) from decoding phases (data
interpretation). Threaded fetching added but disabled as needs more work for
Windows. For Linux needs some touches to add pthreads if this is enabled,
probably with a compile-time switch.
The code reorganisation makes it easy to add also async API, similar to
cURL's one.

17 years agoGet rid of zip requirement in the last few tests
Steph Fox [Mon, 28 Jan 2008 16:49:28 +0000 (16:49 +0000)]
Get rid of zip requirement in the last few tests
@Greg: zip/tarmaker.inc needs a rewrite

17 years agoGet rid of zip requirement
Steph Fox [Mon, 28 Jan 2008 16:31:56 +0000 (16:31 +0000)]
Get rid of zip requirement

17 years agoFixed bug #43954 (Memory leak when sending the same HTTP status code more than once.)
Scott MacVicar [Mon, 28 Jan 2008 16:08:14 +0000 (16:08 +0000)]
Fixed bug #43954 (Memory leak when sending the same HTTP status code more than once.)

17 years ago- Moved phar_unixify_path_separators() to a single central point
Steph Fox [Mon, 28 Jan 2008 14:39:17 +0000 (14:39 +0000)]
- Moved phar_unixify_path_separators() to a single central point
- The last two VC 6 compiler warnings gone. Please test under *nix.

17 years agoRemove items already in 5.3
Hannes Magnusson [Mon, 28 Jan 2008 11:34:23 +0000 (11:34 +0000)]
Remove items already in 5.3

17 years agoremove unused PHP_MYSQL_API macro
Nuno Lopes [Mon, 28 Jan 2008 11:16:37 +0000 (11:16 +0000)]
remove unused PHP_MYSQL_API macro

17 years agoremove ext/zip dependency entirely, write better native zip support
Greg Beaver [Mon, 28 Jan 2008 08:52:08 +0000 (08:52 +0000)]
remove ext/zip dependency entirely, write better native zip support
re-organize, create util.c, move entry_info/archive_data/entry_data access methods to this file
refactor entry->fp, now this is abstracted with phar_get_efp() and phar_seek_efp(), fixes all weird dependency issues
permanently solve the "millions of file pointers" issue for read access.  All compressed files are read into a single
temporary stream, and their constraints are controlled by the entry->fp abstraction

Improvements in this zip implementation over ext/zip:
 * full read/write support for bzip2 compressed files
 * much more efficient access for accessing only a few files within large zip files, as crc/header validation is
   done just-in-time
 * full stream support for opendir/rename/rmdir/mkdir as well as all of the other stream funcs
 * full support for setting file perms via Phar::chmod(), stored as zip-standard extra field
 * no problem with large zips and many open file pointers

# TODO: add big-endian system support for tar/zip file format headers, otherwise the implementation is complete
# TODO: test on windows and fix any windows-specific issues
# TODO: verify zips created work with unzip/winzip/windows explorer and so on

17 years agoChangeLog update
<changelog@php.net> [Mon, 28 Jan 2008 01:31:33 +0000 (01:31 +0000)]
ChangeLog update

17 years ago- Fixed parsing of timestamps.
Derick Rethans [Sun, 27 Jan 2008 22:15:59 +0000 (22:15 +0000)]
- Fixed parsing of timestamps.

17 years agoFix test
Hannes Magnusson [Sun, 27 Jan 2008 19:10:26 +0000 (19:10 +0000)]
Fix test

17 years ago- Test went to 5.2... somehow.... very strange
Marcus Boerger [Sun, 27 Jan 2008 18:19:45 +0000 (18:19 +0000)]
- Test went to 5.2... somehow.... very strange

17 years ago- Add second parameter to SplObjectStorage::attach()
Marcus Boerger [Sun, 27 Jan 2008 18:04:54 +0000 (18:04 +0000)]
- Add second parameter to SplObjectStorage::attach()
- Add SplObjectStorage::setInfo()
- Add SplObjectStorage::getInfo()

17 years ago- Update proto.
Derick Rethans [Sun, 27 Jan 2008 17:44:16 +0000 (17:44 +0000)]
- Update proto.

17 years ago- Added support for selectively listing timezone identifiers through
Derick Rethans [Sun, 27 Jan 2008 17:28:58 +0000 (17:28 +0000)]
- Added support for selectively listing timezone identifiers through
  timezone_identifiers_list() / DateTimezone::listIdentifiers().

17 years agofix test
Nuno Lopes [Sun, 27 Jan 2008 17:02:01 +0000 (17:02 +0000)]
fix test

17 years agobe more strict in the skipif
Nuno Lopes [Sun, 27 Jan 2008 16:54:02 +0000 (16:54 +0000)]
be more strict in the skipif

17 years agoMFB: fix skipifs
Nuno Lopes [Sun, 27 Jan 2008 16:52:34 +0000 (16:52 +0000)]
MFB: fix skipifs

17 years agoadd missing export
Rob Richards [Sun, 27 Jan 2008 16:32:37 +0000 (16:32 +0000)]
add missing export

17 years ago- revert over constfying
Marcus Boerger [Sun, 27 Jan 2008 15:03:55 +0000 (15:03 +0000)]
- revert over constfying

17 years agoTypo
Etienne Kneuss [Sun, 27 Jan 2008 14:07:54 +0000 (14:07 +0000)]
Typo

17 years ago-Pointer doesn't move if we're moving forward and shifting at the same time
Etienne Kneuss [Sun, 27 Jan 2008 13:54:32 +0000 (13:54 +0000)]
-Pointer doesn't move if we're moving forward and shifting at the same time
-Userland implementation
-Doxygen doc

17 years agoChangeLog update
<changelog@php.net> [Sun, 27 Jan 2008 01:31:29 +0000 (01:31 +0000)]
ChangeLog update

17 years agoIterator implementation for SplDoublyLinkedList, SplStack, SplQueue
Etienne Kneuss [Sat, 26 Jan 2008 18:06:51 +0000 (18:06 +0000)]
Iterator implementation for SplDoublyLinkedList, SplStack, SplQueue

17 years agoChangeLog update
<changelog@php.net> [Sat, 26 Jan 2008 01:31:34 +0000 (01:31 +0000)]
ChangeLog update

17 years ago- Added is_writable() check on temp directory
Steph Fox [Sat, 26 Jan 2008 00:12:00 +0000 (00:12 +0000)]
- Added is_writable() check on temp directory
- Regenerated stub and tests/nophar.phar
- Fixed tests

17 years agoMFB: const keywording
Nuno Lopes [Fri, 25 Jan 2008 20:30:36 +0000 (20:30 +0000)]
MFB: const keywording

17 years agoMFB: const keywording
Nuno Lopes [Fri, 25 Jan 2008 20:21:18 +0000 (20:21 +0000)]
MFB: const keywording

17 years agoMFB: const'ify
Nuno Lopes [Fri, 25 Jan 2008 20:04:44 +0000 (20:04 +0000)]
MFB: const'ify

17 years agoMFB: move data to const segment
Nuno Lopes [Fri, 25 Jan 2008 19:58:51 +0000 (19:58 +0000)]
MFB: move data to const segment

17 years agospread some static keywords
Nuno Lopes [Fri, 25 Jan 2008 19:39:45 +0000 (19:39 +0000)]
spread some static keywords

17 years agoMFB: Fix html_entity_decode when converting numeric html entities, the numeric values...
Scott MacVicar [Fri, 25 Jan 2008 18:11:19 +0000 (18:11 +0000)]
MFB: Fix html_entity_decode when converting numeric html entities, the numeric values for the extended character set don't correspond to that of windows-1251 and cp866.

17 years ago- Rewrite stub to take up slightly less space
Steph Fox [Fri, 25 Jan 2008 17:26:18 +0000 (17:26 +0000)]
- Rewrite stub to take up slightly less space
- Fix tests
- Test phars should probably be regenerated, although only one fails here currently (nophar.phar in web context)

17 years ago"What helly said"
Steph Fox [Fri, 25 Jan 2008 16:05:26 +0000 (16:05 +0000)]
"What helly said"

17 years agofix win32 compile
Rob Richards [Fri, 25 Jan 2008 15:54:31 +0000 (15:54 +0000)]
fix win32 compile

17 years agofix zts build
Rob Richards [Fri, 25 Jan 2008 15:52:00 +0000 (15:52 +0000)]
fix zts build

17 years agoMake all possible build combinations work under doze (external zip library)
Steph Fox [Fri, 25 Jan 2008 15:00:24 +0000 (15:00 +0000)]
Make all possible build combinations work under doze (external zip library)

17 years agoendless loop (and stack overflow) protection in compact()
Antony Dovgal [Fri, 25 Jan 2008 13:42:24 +0000 (13:42 +0000)]
endless loop (and stack overflow) protection in compact()

17 years agoChangeLog update
<changelog@php.net> [Fri, 25 Jan 2008 01:31:35 +0000 (01:31 +0000)]
ChangeLog update

17 years ago- Add a basic test for array_shuffle()
Robert Nicholson [Fri, 25 Jan 2008 00:33:00 +0000 (00:33 +0000)]
- Add a basic test for array_shuffle()

17 years ago- add some basic tests for array diff and intersection functions
Robert Nicholson [Fri, 25 Jan 2008 00:17:34 +0000 (00:17 +0000)]
- add some basic tests for array diff and intersection functions

17 years agouse local header when building bundled regex engine
Antony Dovgal [Thu, 24 Jan 2008 23:01:47 +0000 (23:01 +0000)]
use local header when building bundled regex engine

17 years agoFixed win32 build
Dmitry Stogov [Thu, 24 Jan 2008 18:08:23 +0000 (18:08 +0000)]
Fixed win32 build

17 years agoFixed compilation warnings
Dmitry Stogov [Thu, 24 Jan 2008 18:08:06 +0000 (18:08 +0000)]
Fixed compilation warnings

17 years ago- New tests for compact()
Robert Nicholson [Thu, 24 Jan 2008 14:50:18 +0000 (14:50 +0000)]
- New tests for compact()
# compact_variation1.phpt will fail until bug #29044 is fixed

17 years agofix zts build
Rob Richards [Thu, 24 Jan 2008 14:08:45 +0000 (14:08 +0000)]
fix zts build

17 years agoIncreased Zend MM cache size
Dmitry Stogov [Thu, 24 Jan 2008 12:21:48 +0000 (12:21 +0000)]
Increased Zend MM cache size

17 years agoFixed possible GC failure bacause of EG(object_store).object_buckets reallocation
Dmitry Stogov [Thu, 24 Jan 2008 11:54:55 +0000 (11:54 +0000)]
Fixed possible GC failure bacause of EG(object_store).object_buckets reallocation

17 years agoFixed GC bug
Dmitry Stogov [Thu, 24 Jan 2008 10:49:44 +0000 (10:49 +0000)]
Fixed GC bug

17 years ago- Show GC statistics if GC benchmarking is enabled.
Derick Rethans [Thu, 24 Jan 2008 10:41:52 +0000 (10:41 +0000)]
- Show GC statistics if GC benchmarking is enabled.
#- Discussed this with Dmitry.

17 years agoFix potential crash when non-array is used optimisticly
Sara Golemon [Thu, 24 Jan 2008 10:27:59 +0000 (10:27 +0000)]
Fix potential crash when non-array is used optimisticly

17 years agoFixed bug #43426 (crash on nested call_user_func() calls)
Dmitry Stogov [Thu, 24 Jan 2008 09:47:10 +0000 (09:47 +0000)]
Fixed bug #43426 (crash on nested call_user_func() calls)

17 years agoFlag unicode safe functions
Sara Golemon [Thu, 24 Jan 2008 09:44:28 +0000 (09:44 +0000)]
Flag unicode safe functions

17 years agoChanged EG(argument_stack) implementation.
Dmitry Stogov [Thu, 24 Jan 2008 09:41:48 +0000 (09:41 +0000)]
Changed EG(argument_stack) implementation.

17 years agoChangeLog update
<changelog@php.net> [Thu, 24 Jan 2008 01:31:35 +0000 (01:31 +0000)]
ChangeLog update

17 years agoinitial work on more efficient zip implementation, read support working, write not...
Greg Beaver [Wed, 23 Jan 2008 23:19:03 +0000 (23:19 +0000)]
initial work on more efficient zip implementation, read support working, write not implemented yet
This implementation will support read/write of extra field headers, both zlib/bzip2 compression read/write
it will also delay header comparison/crc32 check until file open, making opening a single file
within the zip much more efficient for large zip files
it also uses emalloc/php streams and is therefore less likely to leak.
this code is not yet built in config.m4/config.w32

17 years agotypo
Dmitry Stogov [Wed, 23 Jan 2008 19:15:11 +0000 (19:15 +0000)]
typo

17 years agoMerge with internal version
Andrey Hristov [Wed, 23 Jan 2008 19:09:33 +0000 (19:09 +0000)]
Merge with internal version

17 years agoAdditional executor specialization
Dmitry Stogov [Wed, 23 Jan 2008 17:56:15 +0000 (17:56 +0000)]
Additional executor specialization

17 years agoadd missing TSRMLS_CC and fix segfaults in ZTS mode
Antony Dovgal [Wed, 23 Jan 2008 15:14:18 +0000 (15:14 +0000)]
add missing TSRMLS_CC and fix segfaults in ZTS mode

17 years agofix test
Antony Dovgal [Wed, 23 Jan 2008 11:38:31 +0000 (11:38 +0000)]
fix test

17 years agofix #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL...
Antony Dovgal [Wed, 23 Jan 2008 11:20:00 +0000 (11:20 +0000)]
fix #43559 (array_merge_recursive() doesn't behave as expected with duplicate NULL values)
patch by Felipe

17 years agoMFH: fix leak appearing when appending data to unnamed attribute
Antony Dovgal [Wed, 23 Jan 2008 09:59:42 +0000 (09:59 +0000)]
MFH: fix leak appearing when appending data to unnamed attribute

17 years agoChangeLog update
<changelog@php.net> [Wed, 23 Jan 2008 01:31:38 +0000 (01:31 +0000)]
ChangeLog update

17 years agoMFB:Fixed bug #43912 (Interbase column names are truncated to 31 characters)
Ilia Alshanetsky [Wed, 23 Jan 2008 01:23:12 +0000 (01:23 +0000)]
MFB:Fixed bug #43912 (Interbase column names are truncated to 31 characters)

17 years ago- Bugfix #37076 (SimpleXML ignores .=). (felipe, marcus)
Marcus Boerger [Tue, 22 Jan 2008 20:40:30 +0000 (20:40 +0000)]
- Bugfix #37076 (SimpleXML ignores .=). (felipe, marcus)

17 years agofix 2 tests, add phar.readonly checks to rmdir/mkdir
Greg Beaver [Tue, 22 Jan 2008 20:24:52 +0000 (20:24 +0000)]
fix 2 tests, add phar.readonly checks to rmdir/mkdir

17 years agoNews: already in 5_3
Etienne Kneuss [Tue, 22 Jan 2008 19:51:11 +0000 (19:51 +0000)]
News: already in 5_3
Typos (Dan Scott)
ctor inside the structure. dtor/ctor used on push/pop for better potential interoperability

17 years agonew test by Lars Strojny
Antony Dovgal [Tue, 22 Jan 2008 15:42:12 +0000 (15:42 +0000)]
new test by Lars Strojny

17 years agoAdded garbage collector
Dmitry Stogov [Tue, 22 Jan 2008 09:29:29 +0000 (09:29 +0000)]
Added garbage collector

17 years agofix tests to match CVS
Greg Beaver [Tue, 22 Jan 2008 05:26:38 +0000 (05:26 +0000)]
fix tests to match CVS

17 years agoChangeLog update
<changelog@php.net> [Tue, 22 Jan 2008 01:31:33 +0000 (01:31 +0000)]
ChangeLog update

17 years agoAdd doxygen docs for SplDoublyLinkedList, SplStack, SplQueue
Etienne Kneuss [Mon, 21 Jan 2008 21:54:00 +0000 (21:54 +0000)]
Add doxygen docs for SplDoublyLinkedList, SplStack, SplQueue

17 years agoChanged exception handling. Now each op_array doesn't contain ZEND_HANDLE_EXCEPTION...
Dmitry Stogov [Mon, 21 Jan 2008 19:41:41 +0000 (19:41 +0000)]
Changed exception handling. Now each op_array doesn't contain ZEND_HANDLE_EXCEPTION opcode in the end

17 years agoFixed compilation warning
Dmitry Stogov [Mon, 21 Jan 2008 19:11:22 +0000 (19:11 +0000)]
Fixed compilation warning

17 years agoYet another comparison optimisation for usual cases
Dmitry Stogov [Mon, 21 Jan 2008 19:10:51 +0000 (19:10 +0000)]
Yet another comparison optimisation for usual cases

17 years agofix #42861 (strtr() crashes in Unicode mode when $from argument is empty)
Antony Dovgal [Mon, 21 Jan 2008 14:37:19 +0000 (14:37 +0000)]
fix #42861 (strtr() crashes in Unicode mode when $from argument is empty)

17 years agoEliminate unnecessary checks for INC/DEC IS_CV
Dmitry Stogov [Mon, 21 Jan 2008 14:26:47 +0000 (14:26 +0000)]
Eliminate unnecessary checks for INC/DEC IS_CV

17 years agofix newly added segfault
Antony Dovgal [Mon, 21 Jan 2008 09:08:12 +0000 (09:08 +0000)]
fix newly added segfault

17 years agoUnicode migration for ext/ctype
Sara Golemon [Mon, 21 Jan 2008 08:10:21 +0000 (08:10 +0000)]
Unicode migration for ext/ctype

17 years agoSome unicode upgrades...
Sara Golemon [Mon, 21 Jan 2008 07:30:49 +0000 (07:30 +0000)]
Some unicode upgrades...

17 years agoFlag safe func
Sara Golemon [Mon, 21 Jan 2008 06:36:58 +0000 (06:36 +0000)]
Flag safe func

17 years agoFlag additional unicode safe funcs
Sara Golemon [Mon, 21 Jan 2008 06:36:02 +0000 (06:36 +0000)]
Flag additional unicode safe funcs

17 years agoMake unicode ready
Sara Golemon [Mon, 21 Jan 2008 06:08:03 +0000 (06:08 +0000)]
Make unicode ready

17 years agofix problems found while documenting. Throw consistent exceptions, chmod is not...
Greg Beaver [Mon, 21 Jan 2008 05:28:09 +0000 (05:28 +0000)]
fix problems found while documenting.  Throw consistent exceptions, chmod is not allowed on
temporary directories, but is allowed on regular ones
allow uncompressAllFiles() to decompress a gzip/bzipped tar archive
fix some protos

17 years agoChangeLog update
<changelog@php.net> [Mon, 21 Jan 2008 01:31:31 +0000 (01:31 +0000)]
ChangeLog update

17 years agoMFB: Optimize wddx boolean encoding
Ilia Alshanetsky [Sun, 20 Jan 2008 15:33:42 +0000 (15:33 +0000)]
MFB: Optimize wddx boolean encoding

17 years agoFixed bug#43875 (Two error messages returned for $new and $flag argument in mysql_con...
Hannes Magnusson [Sun, 20 Jan 2008 14:10:16 +0000 (14:10 +0000)]
Fixed bug#43875 (Two error messages returned for $new and $flag argument in mysql_connect())

17 years agoFix mem errors
Etienne Kneuss [Sun, 20 Jan 2008 12:51:33 +0000 (12:51 +0000)]
Fix mem errors