]> granicus.if.org Git - php/log
php
16 years agoremove unused variables in phar_fix_filepath
Greg Beaver [Mon, 16 Jun 2008 04:10:53 +0000 (04:10 +0000)]
remove unused variables in phar_fix_filepath
copy virtual_dirs to avoid segfault on multi-process
fix metadata reading for phar.cache_list
initialize manifest to exact size needed (performance increase)
fix freeing of signature on error to use the correct persist value (fixes segfault on error in cache.list)
reset EG(regular_list) so it is identical to how we found it

16 years agofix hashtable creation for tar to be estimated size needed
Greg Beaver [Mon, 16 Jun 2008 04:09:20 +0000 (04:09 +0000)]
fix hashtable creation for tar to be estimated size needed

16 years agofix hashtable creation for zip to be exact size needed, fix endian issue for loading...
Greg Beaver [Mon, 16 Jun 2008 04:06:59 +0000 (04:06 +0000)]
fix hashtable creation for zip to be exact size needed, fix endian issue for loading manifest

16 years agominor performance improvement
Greg Beaver [Sun, 15 Jun 2008 23:00:46 +0000 (23:00 +0000)]
minor performance improvement

16 years agofix memleak
Greg Beaver [Sun, 15 Jun 2008 22:51:46 +0000 (22:51 +0000)]
fix memleak

16 years agoanother optimization - move inode hash to initial manifest parsing, improves runtime...
Greg Beaver [Sun, 15 Jun 2008 21:42:20 +0000 (21:42 +0000)]
another optimization - move inode hash to initial manifest parsing, improves runtime perf of stat slightly

16 years agominor optimization
Greg Beaver [Sun, 15 Jun 2008 21:15:29 +0000 (21:15 +0000)]
minor optimization

16 years ago- Improved warning message to call-time pass-by-reference when used with internal...
Felipe Pena [Sun, 15 Jun 2008 18:27:37 +0000 (18:27 +0000)]
- Improved warning message to call-time pass-by-reference when used with internal function
  (http://news.php.net/php.internals/38252)

16 years agoHUGE speed improvement, from 19 req/sec to 27 req/sec for phpMyAdmin - now speed...
Greg Beaver [Sun, 15 Jun 2008 18:15:48 +0000 (18:15 +0000)]
HUGE speed improvement, from 19 req/sec to 27 req/sec for phpMyAdmin - now speed with apc+phar.cache_list = on-disk speedcvs diff -u |less  This is by generating a list of virtual directories and using those in stat calls instead of scanning the whole manifest hash table.  on-disk phpMyAdmin = 28 req/sec

16 years agoMFH: Add tests for iterators when instanciated without argument (by Sebastian SchÃ...
Etienne Kneuss [Sun, 15 Jun 2008 11:47:34 +0000 (11:47 +0000)]
MFH: Add tests for iterators when instanciated without argument (by Sebastian Schürmann)

16 years agoMFH: fixed bug #45251 (double free or corruption with setAttributeNode())
Rob Richards [Sat, 14 Jun 2008 11:22:57 +0000 (11:22 +0000)]
MFH: fixed bug #45251 (double free or corruption with setAttributeNode())
add test

16 years ago- Fix build (ZTS)
Felipe Pena [Fri, 13 Jun 2008 22:28:55 +0000 (22:28 +0000)]
- Fix build (ZTS)

16 years ago[DOC] implement full signature support for tar-based archives. By default, data...
Greg Beaver [Fri, 13 Jun 2008 22:07:44 +0000 (22:07 +0000)]
[DOC] implement full signature support for tar-based archives.  By default, data archives do
not have a signature, but can have one set via setSignatureAlgorithm()

16 years agofull refactor of signatures complete - now to implement them for tar as a starting...
Greg Beaver [Fri, 13 Jun 2008 20:15:19 +0000 (20:15 +0000)]
full refactor of signatures complete - now to implement them for tar as a starting point

16 years agoPHP_5_2 compat - add pestrndup if undefined
Greg Beaver [Fri, 13 Jun 2008 15:59:13 +0000 (15:59 +0000)]
PHP_5_2 compat - add pestrndup if undefined

16 years agoCommited for Sanjay, reviewed by Pierre. Testfest task 5.
Zoe Slattery [Fri, 13 Jun 2008 15:57:42 +0000 (15:57 +0000)]
Commited for Sanjay, reviewed by Pierre. Testfest task 5.

16 years agoCommited for Sanjay, reviewed by Pierre. Testfest task 117.
Zoe Slattery [Fri, 13 Jun 2008 15:20:04 +0000 (15:20 +0000)]
Commited for Sanjay, reviewed by Pierre. Testfest task 117.

16 years agoMFH
Rui Hirokawa [Fri, 13 Jun 2008 14:48:33 +0000 (14:48 +0000)]
MFH

16 years agoCommited for Sanjay, reviewed by Pierre. Testfest task 79.
Zoe Slattery [Fri, 13 Jun 2008 13:49:40 +0000 (13:49 +0000)]
Commited for Sanjay, reviewed by Pierre. Testfest task 79.

16 years agoCommited for Sanjay, reviewed by Pierre. Testfest task 117.
Zoe Slattery [Fri, 13 Jun 2008 13:31:18 +0000 (13:31 +0000)]
Commited for Sanjay, reviewed by Pierre. Testfest task 117.

16 years agoCommited for Sanjay, reviewed by Pierre. Testfest task 118.
Zoe Slattery [Fri, 13 Jun 2008 13:11:37 +0000 (13:11 +0000)]
Commited for Sanjay, reviewed by Pierre. Testfest task 118.

16 years ago- Fix build (ZTS)
Felipe Pena [Fri, 13 Jun 2008 13:06:46 +0000 (13:06 +0000)]
- Fix build (ZTS)

16 years agopartial refactor - move signature verification into its own function, in preparation...
Greg Beaver [Fri, 13 Jun 2008 06:34:41 +0000 (06:34 +0000)]
partial refactor - move signature verification into its own function, in preparation for tar/zip signature support.
next is signature creation

16 years agoMFH: Add pestrndup()
Matt Wilmas [Fri, 13 Jun 2008 04:16:58 +0000 (04:16 +0000)]
MFH: Add pestrndup()

16 years agoTestfest: putenv() safe_mode tests by Brian DeShong
Lars Strojny [Thu, 12 Jun 2008 22:36:43 +0000 (22:36 +0000)]
Testfest: putenv() safe_mode tests by Brian DeShong

16 years agoTestfest: various tests for ReflectionParameter
Lars Strojny [Thu, 12 Jun 2008 21:41:21 +0000 (21:41 +0000)]
Testfest: various tests for ReflectionParameter

16 years agoTestfest test cases for ReflectionExtension
Lars Strojny [Thu, 12 Jun 2008 21:25:08 +0000 (21:25 +0000)]
Testfest test cases for ReflectionExtension

16 years agoTestfest: ReflectionExtension tests by Gerrit te Sligte and Leon Luijkx
Lars Strojny [Thu, 12 Jun 2008 20:55:38 +0000 (20:55 +0000)]
Testfest: ReflectionExtension tests by Gerrit te Sligte and Leon Luijkx

16 years agoAdd tests from testfest
Etienne Kneuss [Thu, 12 Jun 2008 20:52:34 +0000 (20:52 +0000)]
Add tests from testfest

16 years agoTestfest: ReflectionExtension::info()-test by Stefan Koopmanschap
Lars Strojny [Thu, 12 Jun 2008 20:46:23 +0000 (20:46 +0000)]
Testfest: ReflectionExtension::info()-test by Stefan Koopmanschap

16 years agoAdd tests from testfest
Etienne Kneuss [Thu, 12 Jun 2008 20:46:12 +0000 (20:46 +0000)]
Add tests from testfest

16 years agoReflection::getModifierNames()-test by Felix De Vliegher (Testfest)
Lars Strojny [Thu, 12 Jun 2008 20:31:06 +0000 (20:31 +0000)]
Reflection::getModifierNames()-test by Felix De Vliegher (Testfest)

16 years ago[DOC] add phar.cache_list, a PATH_SEPARATOR-separated list of full paths to phar...
Greg Beaver [Thu, 12 Jun 2008 18:56:23 +0000 (18:56 +0000)]
[DOC] add phar.cache_list, a PATH_SEPARATOR-separated list of full paths to phar archives to cache
at startup.  This caches the manifest, so that on first access to a phar archive, no file manifest parsing occurs.

This could use further tweaking.  For instance, the full copy of the manifest into the current process may be unnecessary if refcounting could be external
to the manifest.  This would be another significant gain.  With APC, I measure a slight perf increase to 19 req/sec up from 16 req/sec, without it approaches
regular PHP at 3.8 req/sec (regular is 4 req/sec).  This is benching phpMyAdmin

16 years agoensure we don't try to use an unitialized hash table
Greg Beaver [Thu, 12 Jun 2008 18:46:58 +0000 (18:46 +0000)]
ensure we don't try to use an unitialized hash table

16 years agoMFH
Antony Dovgal [Thu, 12 Jun 2008 12:40:13 +0000 (12:40 +0000)]
MFH

16 years agofix build (noticed by Alexey Zakhlestin)
Antony Dovgal [Thu, 12 Jun 2008 10:31:22 +0000 (10:31 +0000)]
fix build (noticed by Alexey Zakhlestin)

16 years agofix error messages
Greg Beaver [Thu, 12 Jun 2008 04:57:24 +0000 (04:57 +0000)]
fix error messages

16 years ago- New test
Felipe Pena [Wed, 11 Jun 2008 22:40:13 +0000 (22:40 +0000)]
- New test

16 years agoMFH
Antony Dovgal [Wed, 11 Jun 2008 22:36:28 +0000 (22:36 +0000)]
MFH

16 years ago- Removed direct executor recursion.
Dmitry Stogov [Wed, 11 Jun 2008 13:18:41 +0000 (13:18 +0000)]
- Removed direct executor recursion.
- Use fastcall calling convention in executor on x86.

16 years agoFilesystem tests.
Steve Seear [Wed, 11 Jun 2008 12:38:56 +0000 (12:38 +0000)]
Filesystem tests.

16 years agoFixed test
Dmitry Stogov [Wed, 11 Jun 2008 10:08:14 +0000 (10:08 +0000)]
Fixed test

16 years agoFixed test
Dmitry Stogov [Wed, 11 Jun 2008 09:58:32 +0000 (09:58 +0000)]
Fixed test

16 years agocloseder/readdir/rewinddir must work only with directories
Dmitry Stogov [Wed, 11 Jun 2008 09:01:56 +0000 (09:01 +0000)]
closeder/readdir/rewinddir must work only with directories

16 years agoFixed memory leak
Dmitry Stogov [Wed, 11 Jun 2008 07:45:44 +0000 (07:45 +0000)]
Fixed memory leak

16 years agoFixed test
Dmitry Stogov [Wed, 11 Jun 2008 06:30:09 +0000 (06:30 +0000)]
Fixed test

16 years agoMFH: fixed imap_listscan() proto
Philip Olson [Wed, 11 Jun 2008 02:32:23 +0000 (02:32 +0000)]
MFH: fixed imap_listscan() proto

16 years ago- Change E_COMPILE_ERROR to E_WARNING (for wrong visibility on magic methods)
Felipe Pena [Tue, 10 Jun 2008 23:09:09 +0000 (23:09 +0000)]
- Change E_COMPILE_ERROR to E_WARNING (for wrong visibility on magic methods)

16 years agonew tests (forgot to add these earlier)
Greg Beaver [Tue, 10 Jun 2008 19:23:09 +0000 (19:23 +0000)]
new tests (forgot to add these earlier)

16 years agofix PHP Bug #45218: PHAR archive built from directory limited by max open file handles
Greg Beaver [Tue, 10 Jun 2008 19:20:33 +0000 (19:20 +0000)]
fix PHP Bug #45218: PHAR archive built from directory limited by max open file handles

16 years agoWritten by Sanjay Mantoor and reviewed by Pierre.
Zoe Slattery [Tue, 10 Jun 2008 18:29:48 +0000 (18:29 +0000)]
Written by Sanjay Mantoor and reviewed by Pierre.

16 years agofix memleak on error
Greg Beaver [Tue, 10 Jun 2008 17:58:09 +0000 (17:58 +0000)]
fix memleak on error

16 years ago- BFN
Marcus Boerger [Tue, 10 Jun 2008 17:51:51 +0000 (17:51 +0000)]
- BFN

16 years agofix typo
Antony Dovgal [Tue, 10 Jun 2008 08:14:52 +0000 (08:14 +0000)]
fix typo

16 years agoadd get_debug_info
Etienne Kneuss [Mon, 9 Jun 2008 17:29:23 +0000 (17:29 +0000)]
add get_debug_info

16 years agofix compile warnings if openssl is enabled statically. fix dangerous use of wrong...
Greg Beaver [Mon, 9 Jun 2008 16:07:18 +0000 (16:07 +0000)]
fix compile warnings if openssl is enabled statically.  fix dangerous use of wrong length var in openssl signature verification

16 years agoMFH
Antony Dovgal [Mon, 9 Jun 2008 13:20:01 +0000 (13:20 +0000)]
MFH

16 years agofix test
Antony Dovgal [Mon, 9 Jun 2008 09:26:03 +0000 (09:26 +0000)]
fix test

16 years ago- should not be called butlet remove it as well
Pierre Joye [Sun, 8 Jun 2008 11:40:49 +0000 (11:40 +0000)]
- should not be called butlet remove it as well

16 years agoallow aggregating use statements
Stanislav Malyshev [Sun, 8 Jun 2008 09:38:47 +0000 (09:38 +0000)]
allow aggregating use statements

16 years agoMFH: more checks and tests
Antony Dovgal [Sat, 7 Jun 2008 21:36:13 +0000 (21:36 +0000)]
MFH: more checks and tests

16 years agoadd more tests (Felipe)
Antony Dovgal [Sat, 7 Jun 2008 14:10:42 +0000 (14:10 +0000)]
add more tests (Felipe)

16 years agoMFH
Antony Dovgal [Sat, 7 Jun 2008 14:09:06 +0000 (14:09 +0000)]
MFH

16 years agoadd new test
Antony Dovgal [Sat, 7 Jun 2008 12:49:35 +0000 (12:49 +0000)]
add new test

16 years agoMFH: disallow $a[] = value syntax
Antony Dovgal [Sat, 7 Jun 2008 12:47:04 +0000 (12:47 +0000)]
MFH: disallow $a[] = value syntax

16 years agoMFH
Antony Dovgal [Sat, 7 Jun 2008 08:05:55 +0000 (08:05 +0000)]
MFH

16 years agoMFH: Fix segfault caused by get_current_data on an uninitialized element
Etienne Kneuss [Sat, 7 Jun 2008 01:46:44 +0000 (01:46 +0000)]
MFH: Fix segfault caused by get_current_data on an uninitialized element

16 years agoMFH: Implements C arrays wrapper
Etienne Kneuss [Fri, 6 Jun 2008 23:53:43 +0000 (23:53 +0000)]
MFH: Implements C arrays wrapper

16 years agofix test
Antony Dovgal [Fri, 6 Jun 2008 07:45:51 +0000 (07:45 +0000)]
fix test

16 years agoMFB: OCI8: Remove macros obsoleted by rev 1.55.2.3.2.11.2.1 when Oracle 8 support...
Christopher Jones [Thu, 5 Jun 2008 23:43:10 +0000 (23:43 +0000)]
MFB: OCI8: Remove macros obsoleted by rev 1.55.2.3.2.11.2.1 when Oracle 8 support was dropped

16 years agoMFB: sync with PECL 1.2.5 release
Christopher Jones [Thu, 5 Jun 2008 23:41:35 +0000 (23:41 +0000)]
MFB: sync with PECL 1.2.5 release

16 years agoMFH: Make tests interruptible; clean up tables at start
Christopher Jones [Thu, 5 Jun 2008 23:28:16 +0000 (23:28 +0000)]
MFH: Make tests interruptible; clean up tables at start

16 years ago- Fixed bug #45186 (__call depends on __callstatic in class scope)
Felipe Pena [Thu, 5 Jun 2008 18:53:06 +0000 (18:53 +0000)]
- Fixed bug #45186 (__call depends on __callstatic in class scope)

16 years ago- Fixed bug #45180 ('class::method' works differently than array('class', 'method'))
Felipe Pena [Thu, 5 Jun 2008 18:50:29 +0000 (18:50 +0000)]
- Fixed bug #45180 ('class::method' works differently than array('class', 'method'))

16 years ago- New tests
Felipe Pena [Thu, 5 Jun 2008 18:33:00 +0000 (18:33 +0000)]
- New tests

16 years agoMFH: fix test
Rob Richards [Thu, 5 Jun 2008 08:29:29 +0000 (08:29 +0000)]
MFH: fix test

16 years agoMFH: rawurlencode now conforms to rfc 3986 (~ is not encoded) [DOC]
Rob Richards [Wed, 4 Jun 2008 19:35:15 +0000 (19:35 +0000)]
MFH: rawurlencode now conforms to rfc 3986 (~ is not encoded) [DOC]

16 years ago- New test
Felipe Pena [Wed, 4 Jun 2008 18:32:56 +0000 (18:32 +0000)]
- New test

16 years ago- Make phar.phar building work for virtualized builds
Marcus Boerger [Wed, 4 Jun 2008 16:38:13 +0000 (16:38 +0000)]
- Make phar.phar building work for virtualized builds

16 years ago- Make sure we are not trying to pack directories
Marcus Boerger [Wed, 4 Jun 2008 14:36:33 +0000 (14:36 +0000)]
- Make sure we are not trying to pack directories

16 years ago- Update
Marcus Boerger [Wed, 4 Jun 2008 09:47:41 +0000 (09:47 +0000)]
- Update

16 years ago- Use -n only for current built PHP
Marcus Boerger [Wed, 4 Jun 2008 09:47:17 +0000 (09:47 +0000)]
- Use -n only for current built PHP

16 years ago- Improve pear usage and PHP_Archive detection
Marcus Boerger [Wed, 4 Jun 2008 09:46:34 +0000 (09:46 +0000)]
- Improve pear usage and PHP_Archive detection

16 years agofix tests
Antony Dovgal [Wed, 4 Jun 2008 07:38:10 +0000 (07:38 +0000)]
fix tests

16 years ago- Prefer current CLI target to build phar.phar
Marcus Boerger [Tue, 3 Jun 2008 20:18:58 +0000 (20:18 +0000)]
- Prefer current CLI target to build phar.phar
- Use php -n
- Use shared phar, bz2, zlib automatically

16 years ago- Fixed bug #45089 (__callStatic $name case sensitivity)
Felipe Pena [Tue, 3 Jun 2008 18:11:12 +0000 (18:11 +0000)]
- Fixed bug #45089 (__callStatic $name case sensitivity)

16 years agoAdd snefru256 as an alias for snefru, since in reality that is the implementation.
Scott MacVicar [Tue, 3 Jun 2008 17:25:42 +0000 (17:25 +0000)]
Add snefru256 as an alias for snefru, since in reality that is the implementation.

16 years agoBFN
Felipe Pena [Tue, 3 Jun 2008 17:17:29 +0000 (17:17 +0000)]
BFN

16 years ago- Removed unnecessary XFAIL section
Felipe Pena [Tue, 3 Jun 2008 17:10:21 +0000 (17:10 +0000)]
- Removed unnecessary XFAIL section

16 years ago- Fixed tests
Felipe Pena [Tue, 3 Jun 2008 15:34:47 +0000 (15:34 +0000)]
- Fixed tests

16 years ago- New tests
Felipe Pena [Tue, 3 Jun 2008 15:30:04 +0000 (15:30 +0000)]
- New tests

16 years ago- MFH: Fixed bug #44769 (declaring private magic methods should throw error)
Felipe Pena [Tue, 3 Jun 2008 14:07:15 +0000 (14:07 +0000)]
- MFH: Fixed bug #44769 (declaring private magic methods should throw error)

16 years agoTests from London test fest 2008
Zoe Slattery [Tue, 3 Jun 2008 12:42:22 +0000 (12:42 +0000)]
Tests from London test fest 2008

16 years ago- MFH Fix style
Marcus Boerger [Mon, 2 Jun 2008 16:58:19 +0000 (16:58 +0000)]
- MFH Fix style

16 years ago- Remove checked-in or older version of phar.phar as we might not be able to open it
Marcus Boerger [Mon, 2 Jun 2008 15:50:42 +0000 (15:50 +0000)]
- Remove checked-in or older version of phar.phar as we might not be able to open it

16 years ago- Need to use a proper inheritance check
Marcus Boerger [Mon, 2 Jun 2008 15:49:03 +0000 (15:49 +0000)]
- Need to use a proper inheritance check

16 years agoCorrect test name
Scott MacVicar [Mon, 2 Jun 2008 14:14:26 +0000 (14:14 +0000)]
Correct test name

16 years ago- PCRE is always there, no need for this check anymore
Jani Taskinen [Mon, 2 Jun 2008 14:13:04 +0000 (14:13 +0000)]
- PCRE is always there, no need for this check anymore

16 years agoMFH: simplify, readability
Jani Taskinen [Mon, 2 Jun 2008 14:12:20 +0000 (14:12 +0000)]
MFH: simplify, readability

16 years ago- Fix issue with -y parameter hanlding (fix typo)
Marcus Boerger [Mon, 2 Jun 2008 13:39:54 +0000 (13:39 +0000)]
- Fix issue with -y parameter hanlding (fix typo)