]> granicus.if.org Git - php/log
php
17 years agofix windows build (hopefully :)
Greg Beaver [Fri, 4 Jan 2008 04:59:12 +0000 (04:59 +0000)]
fix windows build (hopefully :)

17 years agoreplace crappy $_SERVER munging with explicit munging via
Greg Beaver [Fri, 4 Jan 2008 04:57:11 +0000 (04:57 +0000)]
replace crappy $_SERVER munging with explicit munging via
Phar::mungServer().  This static method takes an array with one of these 4 indices (case-sensitive):
'PHP_SELF', 'SCRIPT_NAME', 'SCRIPT_FILENAME', 'REQUEST_URI'
and removes any reference to the actual path on the server.  This allows older apps to function unmodified inside a phar.
the variables are re-registered as PHAR_PHP_SELF and company to allow access from clever script files
[DOC]

17 years agoPhar::webPhar() and various problems relating to shutdown in an apache process fixed
Greg Beaver [Fri, 4 Jan 2008 01:45:37 +0000 (01:45 +0000)]
Phar::webPhar() and various problems relating to shutdown in an apache process fixed

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

17 years agofix tar-based phars creation and loading
Greg Beaver [Thu, 3 Jan 2008 18:13:27 +0000 (18:13 +0000)]
fix tar-based phars creation and loading

17 years agoRemove test for deprecated (and removed) function
Ulf Wendel [Thu, 3 Jan 2008 17:20:19 +0000 (17:20 +0000)]
Remove test for deprecated (and removed) function

17 years agoMFB: Skip test for PostgreSQL driver since error is too dissimilar to other
Ilia Alshanetsky [Thu, 3 Jan 2008 16:47:01 +0000 (16:47 +0000)]
MFB: Skip test for PostgreSQL driver since error is too dissimilar to other
drivers

17 years agoMFB: remove unused PHP_EXTNAME_API macros.
Nuno Lopes [Thu, 3 Jan 2008 16:18:29 +0000 (16:18 +0000)]
MFB: remove unused PHP_EXTNAME_API macros.
#in preparation for the gcc 4 visibility patch

17 years ago- Remove more replication stuff
Johannes Schlüter [Thu, 3 Jan 2008 14:32:52 +0000 (14:32 +0000)]
- Remove more replication stuff

17 years agoHeader protection
Andrey Hristov [Thu, 3 Jan 2008 12:50:05 +0000 (12:50 +0000)]
Header protection

17 years agoRemove unneeded field
Andrey Hristov [Thu, 3 Jan 2008 11:38:03 +0000 (11:38 +0000)]
Remove unneeded field

17 years agoMake it work for MySQL 6.x as well.
Ulf Wendel [Thu, 3 Jan 2008 10:19:02 +0000 (10:19 +0000)]
Make it work for MySQL 6.x as well.

17 years agothis testcase has been split into many smaller testcases and committed.
Raghubansh Kumar [Thu, 3 Jan 2008 09:38:43 +0000 (09:38 +0000)]
this testcase has been split into many smaller testcases and committed.

17 years agoNew smaller testcases for array_map() function
Raghubansh Kumar [Thu, 3 Jan 2008 09:35:11 +0000 (09:35 +0000)]
New smaller testcases for array_map() function

17 years agoAdding PHPT tests for the ReflectionMethod class.
Steve Seear [Thu, 3 Jan 2008 09:07:56 +0000 (09:07 +0000)]
Adding PHPT tests for the ReflectionMethod class.

17 years agocommit missing files (helps if you cvs add, don't it?) for tar implementation
Greg Beaver [Thu, 3 Jan 2008 05:35:19 +0000 (05:35 +0000)]
commit missing files (helps if you cvs add, don't it?) for tar implementation

17 years agoinitial tar support - a few kinks to work on in phar creation, but read works
Greg Beaver [Thu, 3 Jan 2008 04:45:00 +0000 (04:45 +0000)]
initial tar support - a few kinks to work on in phar creation, but read works

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

17 years ago- Fix problems with double definitions
Andrey Hristov [Wed, 2 Jan 2008 21:16:46 +0000 (21:16 +0000)]
- Fix problems with double definitions
- Clean up a bit a type mess - 4 types less. No need to have aliases
  for the same thing (unification is the name).
- New macro for Johannes mysqlnd_stmt_ro_result_metadata
----------------------------------------------------------------------

17 years agoMFB: Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";")
Ilia Alshanetsky [Wed, 2 Jan 2008 19:19:45 +0000 (19:19 +0000)]
MFB: Fixed bug #43647 (Make FindFile use PATH_SEPARATOR instead of ";")

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

17 years agoMFB: Update copyright
Ilia Alshanetsky [Tue, 1 Jan 2008 18:30:59 +0000 (18:30 +0000)]
MFB: Update copyright

17 years ago- Updated to version 2007.11
Derick Rethans [Tue, 1 Jan 2008 15:31:43 +0000 (15:31 +0000)]
- Updated to version 2007.11

17 years agoFix test
Hannes Magnusson [Tue, 1 Jan 2008 14:35:26 +0000 (14:35 +0000)]
Fix test

17 years agoMFB: Leftover: Bump copyright year.
Sebastian Bergmann [Tue, 1 Jan 2008 06:22:15 +0000 (06:22 +0000)]
MFB: Leftover: Bump copyright year.

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

17 years agoadd zip-based phar support. not quite working is webPhar(), not sure why yet
Greg Beaver [Mon, 31 Dec 2007 22:42:40 +0000 (22:42 +0000)]
add zip-based phar support.  not quite working is webPhar(), not sure why yet

17 years agoLeftover: Bump copyright year.
Sebastian Bergmann [Mon, 31 Dec 2007 07:24:13 +0000 (07:24 +0000)]
Leftover: Bump copyright year.

17 years agoBump copyright year, 2 of 2.
Sebastian Bergmann [Mon, 31 Dec 2007 07:12:20 +0000 (07:12 +0000)]
Bump copyright year, 2 of 2.

17 years agoBump copyright year, 1 of 2.
Sebastian Bergmann [Mon, 31 Dec 2007 07:09:33 +0000 (07:09 +0000)]
Bump copyright year, 1 of 2.

17 years agoDocument the 'cxx' parameter to PHP_NEW_EXTENSION.
Jon Parise [Mon, 31 Dec 2007 04:27:47 +0000 (04:27 +0000)]
Document the 'cxx' parameter to PHP_NEW_EXTENSION.

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

17 years agoTest for bug 43663
David Soria Parra [Sun, 30 Dec 2007 17:48:24 +0000 (17:48 +0000)]
Test for bug 43663

17 years ago- Fixed bug #43663 (Extending PDO class with a __call() function doesn't work).
David Soria Parra [Sun, 30 Dec 2007 17:43:08 +0000 (17:43 +0000)]
- Fixed bug #43663 (Extending PDO class with a __call() function doesn't work).

17 years agoChangeLog update
<changelog@php.net> [Sun, 30 Dec 2007 01:31:24 +0000 (01:31 +0000)]
ChangeLog update

17 years ago- This makes no sense with non-ipv6 builds. (and fixes lot of issues with misconfigur...
Jani Taskinen [Sat, 29 Dec 2007 18:46:10 +0000 (18:46 +0000)]
- This makes no sense with non-ipv6 builds. (and fixes lot of issues with misconfigured servers)

17 years agoMFB5.2: Fix test
Hannes Magnusson [Sat, 29 Dec 2007 11:39:06 +0000 (11:39 +0000)]
MFB5.2: Fix test

17 years agoapply correct fix for bug #43522
Antony Dovgal [Sat, 29 Dec 2007 10:50:12 +0000 (10:50 +0000)]
apply correct fix for bug #43522
fix Unicode streams too this time

17 years agofix test
Antony Dovgal [Sat, 29 Dec 2007 10:32:39 +0000 (10:32 +0000)]
fix test

17 years agomake blah.phar/ access indexfile just like blah.phar
Greg Beaver [Sat, 29 Dec 2007 02:40:49 +0000 (02:40 +0000)]
make blah.phar/ access indexfile just like blah.phar

17 years agofix redirects and s/redirects/rewrites/
Greg Beaver [Sat, 29 Dec 2007 02:38:29 +0000 (02:38 +0000)]
fix redirects and s/redirects/rewrites/

17 years agoUpdate the class method documentation links
Hannes Magnusson [Sat, 29 Dec 2007 02:21:25 +0000 (02:21 +0000)]
Update the class method documentation links

17 years agoremove FIXME - it's been fixed
Greg Beaver [Sat, 29 Dec 2007 02:04:09 +0000 (02:04 +0000)]
remove FIXME - it's been fixed

17 years agofix index/custom 404 page
Greg Beaver [Sat, 29 Dec 2007 02:01:12 +0000 (02:01 +0000)]
fix index/custom 404 page

17 years agoupdate proto, arginfo for webPhar
Greg Beaver [Sat, 29 Dec 2007 01:37:12 +0000 (01:37 +0000)]
update proto, arginfo for webPhar

17 years agoadd vastly improved 404 handling
Greg Beaver [Sat, 29 Dec 2007 01:35:46 +0000 (01:35 +0000)]
add vastly improved 404 handling

17 years agoChangeLog update
<changelog@php.net> [Sat, 29 Dec 2007 01:31:29 +0000 (01:31 +0000)]
ChangeLog update

17 years agofix redirect to index file
Greg Beaver [Fri, 28 Dec 2007 23:33:15 +0000 (23:33 +0000)]
fix redirect to index file

17 years agoMerge from 5_3. Fixing 32 vs. 64bit issue.
Ulf Wendel [Fri, 28 Dec 2007 18:28:21 +0000 (18:28 +0000)]
Merge from 5_3. Fixing 32 vs. 64bit issue.

17 years agoMerge from 5_3 - MySQL 6.0 SQL fixes
Ulf Wendel [Fri, 28 Dec 2007 18:19:17 +0000 (18:19 +0000)]
Merge from 5_3 - MySQL 6.0 SQL fixes

17 years agoRemove RPL functions. They were always experimental and lead to crashes.
Andrey Hristov [Fri, 28 Dec 2007 15:38:23 +0000 (15:38 +0000)]
Remove RPL functions. They were always experimental and lead to crashes.
The underlying functions will be removed from libmysql as of MySQL 6.0, so
it's right time to remove them.

17 years agoFixed possible memory corruption
Dmitry Stogov [Fri, 28 Dec 2007 15:32:25 +0000 (15:32 +0000)]
Fixed possible memory corruption

17 years agoSync from 5_3. Cutting off a few edges:
Ulf Wendel [Fri, 28 Dec 2007 14:51:26 +0000 (14:51 +0000)]
Sync from 5_3. Cutting off a few edges:
 - use connection parameter from environment variables
 - check if MySQL supports procedures
 - whitespace

17 years agoFixed test related to bug #38469
Dmitry Stogov [Fri, 28 Dec 2007 13:23:13 +0000 (13:23 +0000)]
Fixed test related to bug #38469

17 years agoFixed bug #38469 (unexpected creation of cycle, json tests failed, leaks memory)
Dmitry Stogov [Fri, 28 Dec 2007 13:22:17 +0000 (13:22 +0000)]
Fixed bug #38469 (unexpected creation of cycle, json tests failed, leaks memory)

17 years agoInitialize operand type
Dmitry Stogov [Fri, 28 Dec 2007 09:47:56 +0000 (09:47 +0000)]
Initialize operand type

17 years agoChangeLog update
<changelog@php.net> [Fri, 28 Dec 2007 01:31:29 +0000 (01:31 +0000)]
ChangeLog update

17 years agoMFB: fix tests
Nuno Lopes [Thu, 27 Dec 2007 16:05:58 +0000 (16:05 +0000)]
MFB: fix tests

17 years agoUse proper result type
Dmitry Stogov [Thu, 27 Dec 2007 13:52:29 +0000 (13:52 +0000)]
Use proper result type

17 years agoAdded ability to use SplArrays instead of plain arrays in ext/soap. (Joshua Reese...
Dmitry Stogov [Thu, 27 Dec 2007 13:10:32 +0000 (13:10 +0000)]
Added ability to use SplArrays instead of plain arrays in ext/soap. (Joshua Reese, Dmitry)

17 years agoFixed 32/64-bit tests (Serg)
Dmitry Stogov [Thu, 27 Dec 2007 11:23:30 +0000 (11:23 +0000)]
Fixed 32/64-bit tests (Serg)

17 years agoMFB5.3: Fixed bug#43105 (PHP seems to fail to close open files.)
Hannes Magnusson [Thu, 27 Dec 2007 02:11:05 +0000 (02:11 +0000)]
MFB5.3: Fixed bug#43105 (PHP seems to fail to close open files.)

17 years agoChangeLog update
<changelog@php.net> [Thu, 27 Dec 2007 01:31:33 +0000 (01:31 +0000)]
ChangeLog update

17 years agoFix typo (TAKAGI Masahiro)
Hannes Magnusson [Wed, 26 Dec 2007 21:01:15 +0000 (21:01 +0000)]
Fix typo (TAKAGI Masahiro)

17 years agofix on windows
Greg Beaver [Wed, 26 Dec 2007 16:59:01 +0000 (16:59 +0000)]
fix on windows

# it works! it works!

17 years agoChangeLog update
<changelog@php.net> [Wed, 26 Dec 2007 01:31:36 +0000 (01:31 +0000)]
ChangeLog update

17 years agoFix for bug #42548 "PROCEDURE xxx can't return a result set"
Hartmut Holzgraefe [Tue, 25 Dec 2007 18:23:07 +0000 (18:23 +0000)]
Fix for bug #42548 "PROCEDURE xxx can't return a result set"

17 years agofix test : do not run when run as root
Raghubansh Kumar [Tue, 25 Dec 2007 16:14:32 +0000 (16:14 +0000)]
fix test : do not run when run as root

17 years agoFixed %f regex
Dmitry Stogov [Tue, 25 Dec 2007 12:06:53 +0000 (12:06 +0000)]
Fixed %f regex

17 years agoFixed bug #43651 (is_callable() with one or more nonconsecutive colons crashes)
Dmitry Stogov [Tue, 25 Dec 2007 10:58:49 +0000 (10:58 +0000)]
Fixed bug #43651 (is_callable() with one or more nonconsecutive colons crashes)

17 years agoChangeLog update
<changelog@php.net> [Tue, 25 Dec 2007 01:31:32 +0000 (01:31 +0000)]
ChangeLog update

17 years agofix windows build
Greg Beaver [Mon, 24 Dec 2007 21:40:54 +0000 (21:40 +0000)]
fix windows build

# there HAS to be a better way to do this...

17 years agoremove unused variable
Greg Beaver [Mon, 24 Dec 2007 20:48:12 +0000 (20:48 +0000)]
remove unused variable

17 years agofix mem leak
Greg Beaver [Mon, 24 Dec 2007 20:30:44 +0000 (20:30 +0000)]
fix mem leak

17 years agoAdditional fix for bug #42868
Dmitry Stogov [Mon, 24 Dec 2007 18:10:20 +0000 (18:10 +0000)]
Additional fix for bug #42868

17 years agonew testcases for dir() function
Raghubansh Kumar [Mon, 24 Dec 2007 05:07:47 +0000 (05:07 +0000)]
new testcases for dir() function

17 years agofix tests
Raghubansh Kumar [Mon, 24 Dec 2007 04:29:26 +0000 (04:29 +0000)]
fix tests

17 years agoChanging the regex for %f so the it will match e-, e+ and e.
Raghubansh Kumar [Mon, 24 Dec 2007 04:20:15 +0000 (04:20 +0000)]
Changing the regex for %f so the it will match e-, e+ and e.

17 years agocomplete re-factoring of front controller. Now it is done with
Greg Beaver [Sun, 23 Dec 2007 21:12:42 +0000 (21:12 +0000)]
complete re-factoring of front controller.  Now it is done with
Phar->webPhar():
<?php
Phar::webPhar();
__HALT_COMPILER();

With the above stub, the default front controller will kick in.  An array of mime type overrides, and another
array mapping phar file entry -> redirected entry can be used to further customize
[DOC]

17 years agonew test for front controller
Greg Beaver [Sat, 22 Dec 2007 07:47:15 +0000 (07:47 +0000)]
new test for front controller

17 years agofirst attempt at major new feature: default front controller for web
Greg Beaver [Sat, 22 Dec 2007 07:46:53 +0000 (07:46 +0000)]
first attempt at major new feature: default front controller for web
Currently, an entire phar entry is leaked for no obvious reason, otherwise it works.  Sample code:
The phar has to be created using Phar->useFrontController(); and the stub performs actual resolution of which file to load:
<?php
Phar::mapPhar();
include 'phar://' . __FILE__ . '/' . substr($_SERVER['REQUEST_URI'], strlen(basename(__FILE__)));
__HALT_COMPILER();
?>

Phar automatically determines mime type from the file extension and either parses or displays the file.  Modification of REQUEST_URI
and other variables should happen in the stub
[DOC]

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

17 years ago- Fix #43450 (Memory leak on some functions with implicit object
Johannes Schlüter [Fri, 21 Dec 2007 20:56:10 +0000 (20:56 +0000)]
- Fix #43450 (Memory leak on some functions with implicit object
  __toString() call) (Davic C.)

17 years agosame fix we used in linux to make all extension deps optional
Greg Beaver [Fri, 21 Dec 2007 19:02:20 +0000 (19:02 +0000)]
same fix we used in linux to make all extension deps optional

17 years agoFixed test
Dmitry Stogov [Fri, 21 Dec 2007 09:42:07 +0000 (09:42 +0000)]
Fixed test

17 years agoon second thought, hooking into getcwd() is a bad idea, who uses this for code loadin...
Greg Beaver [Fri, 21 Dec 2007 04:49:25 +0000 (04:49 +0000)]
on second thought, hooking into getcwd() is a bad idea, who uses this for code loading, anyways?

17 years agoChangeLog update
<changelog@php.net> [Fri, 21 Dec 2007 01:31:31 +0000 (01:31 +0000)]
ChangeLog update

17 years agoimplement cleaning of crap paths - major functionality boost
Greg Beaver [Thu, 20 Dec 2007 23:12:40 +0000 (23:12 +0000)]
implement cleaning of crap paths - major functionality boost

17 years agofix tests
Raghubansh Kumar [Thu, 20 Dec 2007 17:25:06 +0000 (17:25 +0000)]
fix tests

17 years agox86_64 assembler optimization (Brain Shire)
Dmitry Stogov [Thu, 20 Dec 2007 13:11:35 +0000 (13:11 +0000)]
x86_64 assembler optimization (Brain Shire)

17 years agoNew test - Indexing - various special cases
Robert Nicholson [Thu, 20 Dec 2007 11:42:23 +0000 (11:42 +0000)]
New test - Indexing - various special cases

17 years agonew tests for array_map usage variations - string keys and references
Robert Nicholson [Thu, 20 Dec 2007 11:18:08 +0000 (11:18 +0000)]
new tests for array_map usage variations - string keys and references

17 years agoremove minor (and unnecessary I might add) windows compile warnings
Greg Beaver [Thu, 20 Dec 2007 04:12:23 +0000 (04:12 +0000)]
remove minor (and unnecessary I might add) windows compile warnings

17 years agoChangeLog update
<changelog@php.net> [Thu, 20 Dec 2007 01:31:33 +0000 (01:31 +0000)]
ChangeLog update

17 years ago- Fixed rest warnings
Derick Rethans [Wed, 19 Dec 2007 13:13:27 +0000 (13:13 +0000)]
- Fixed rest warnings

17 years agofix test
Raghubansh Kumar [Wed, 19 Dec 2007 10:37:42 +0000 (10:37 +0000)]
fix test

17 years agoholy cow - include/fopen/cwd magic fully working on unix now for windows testing
Greg Beaver [Wed, 19 Dec 2007 04:37:25 +0000 (04:37 +0000)]
holy cow - include/fopen/cwd magic fully working on unix now for windows testing

17 years agomaking progress (include magic works)
Greg Beaver [Wed, 19 Dec 2007 03:17:05 +0000 (03:17 +0000)]
making progress (include magic works)

17 years agoChangeLog update
<changelog@php.net> [Wed, 19 Dec 2007 01:31:31 +0000 (01:31 +0000)]
ChangeLog update

17 years agoAdding PHPT tests for the ReflectionProperty class. reflectionProperty_getValue_error...
Steve Seear [Tue, 18 Dec 2007 17:25:40 +0000 (17:25 +0000)]
Adding PHPT tests for the ReflectionProperty class. reflectionProperty_getValue_error.phpt and reflectionProperty_setValue_error.phpt are failing with behaviour that is inconsistent with PHP5_3.