Commit Graph

40185 Commits

Author SHA1 Message Date
Antony Dovgal
6b31eb58c7 fix test 2007-12-29 10:32:39 +00:00
Greg Beaver
b8592e228d make blah.phar/ access indexfile just like blah.phar 2007-12-29 02:40:49 +00:00
Greg Beaver
f56865ad4d fix redirects and s/redirects/rewrites/ 2007-12-29 02:38:29 +00:00
Hannes Magnusson
2ea5df33a7 Update the class method documentation links 2007-12-29 02:21:25 +00:00
Greg Beaver
9320ac9893 remove FIXME - it's been fixed 2007-12-29 02:04:09 +00:00
Greg Beaver
3dcee1c8c7 fix index/custom 404 page 2007-12-29 02:01:12 +00:00
Greg Beaver
06a98d96c7 update proto, arginfo for webPhar 2007-12-29 01:37:12 +00:00
Greg Beaver
acc44900de add vastly improved 404 handling 2007-12-29 01:35:46 +00:00
18b84b89ba ChangeLog update 2007-12-29 01:31:29 +00:00
Greg Beaver
60dc8e5ff4 fix redirect to index file 2007-12-28 23:33:15 +00:00
Ulf Wendel
b9963f50d9 Merge from 5_3. Fixing 32 vs. 64bit issue. 2007-12-28 18:28:21 +00:00
Ulf Wendel
4ba70f548c Merge from 5_3 - MySQL 6.0 SQL fixes 2007-12-28 18:19:17 +00:00
Andrey Hristov
d265efd570 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.
2007-12-28 15:38:23 +00:00
Dmitry Stogov
d107ebec58 Fixed possible memory corruption 2007-12-28 15:32:25 +00:00
Ulf Wendel
5e64d2273e Sync from 5_3. Cutting off a few edges:
- use connection parameter from environment variables
 - check if MySQL supports procedures
 - whitespace
2007-12-28 14:51:26 +00:00
Dmitry Stogov
9f4a22f1a8 Fixed test related to bug #38469 2007-12-28 13:23:13 +00:00
Dmitry Stogov
9da3b7cf8e Fixed bug #38469 (unexpected creation of cycle, json tests failed, leaks memory) 2007-12-28 13:22:17 +00:00
Dmitry Stogov
35111ba922 Initialize operand type 2007-12-28 09:47:56 +00:00
5cf4f8c716 ChangeLog update 2007-12-28 01:31:29 +00:00
Nuno Lopes
bda5e59329 MFB: fix tests 2007-12-27 16:05:58 +00:00
Dmitry Stogov
5e649f9e8d Use proper result type 2007-12-27 13:52:29 +00:00
Dmitry Stogov
eb572d0093 Added ability to use SplArrays instead of plain arrays in ext/soap. (Joshua Reese, Dmitry) 2007-12-27 13:10:32 +00:00
Dmitry Stogov
171c52087e Fixed 32/64-bit tests (Serg) 2007-12-27 11:23:30 +00:00
Hannes Magnusson
003bb5ceaa MFB5.3: Fixed bug#43105 (PHP seems to fail to close open files.) 2007-12-27 02:11:05 +00:00
3b0f358d31 ChangeLog update 2007-12-27 01:31:33 +00:00
Hannes Magnusson
bc3e6d743c Fix typo (TAKAGI Masahiro) 2007-12-26 21:01:15 +00:00
Greg Beaver
e1a41da652 fix on windows
# it works! it works!
2007-12-26 16:59:01 +00:00
e37b2f46f7 ChangeLog update 2007-12-26 01:31:36 +00:00
Hartmut Holzgraefe
229919cb55 Fix for bug #42548 "PROCEDURE xxx can't return a result set" 2007-12-25 18:23:07 +00:00
Raghubansh Kumar
74584f8521 fix test : do not run when run as root 2007-12-25 16:14:32 +00:00
Dmitry Stogov
a84b22d125 Fixed %f regex 2007-12-25 12:06:53 +00:00
Dmitry Stogov
1ccc6a4f10 Fixed bug #43651 (is_callable() with one or more nonconsecutive colons crashes) 2007-12-25 10:58:49 +00:00
dae2a5f2a5 ChangeLog update 2007-12-25 01:31:32 +00:00
Greg Beaver
e861913e39 fix windows build
# there HAS to be a better way to do this...
2007-12-24 21:40:54 +00:00
Greg Beaver
4ae47c1df9 remove unused variable 2007-12-24 20:48:12 +00:00
Greg Beaver
5200481aaf fix mem leak 2007-12-24 20:30:44 +00:00
Dmitry Stogov
0c75772f68 Additional fix for bug #42868 2007-12-24 18:10:20 +00:00
Raghubansh Kumar
11178281fc new testcases for dir() function 2007-12-24 05:07:47 +00:00
Raghubansh Kumar
b90cab7ec7 fix tests 2007-12-24 04:29:26 +00:00
Raghubansh Kumar
7deb552a07 Changing the regex for %f so the it will match e-, e+ and e. 2007-12-24 04:20:15 +00:00
Greg Beaver
02c7ff1343 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]
2007-12-23 21:12:42 +00:00
Greg Beaver
d443c76bed new test for front controller 2007-12-22 07:47:15 +00:00
Greg Beaver
8e4cc4b3dd 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]
2007-12-22 07:46:53 +00:00
2bbd4be65e ChangeLog update 2007-12-22 01:31:34 +00:00
Johannes Schlüter
e40c4fc243 - Fix #43450 (Memory leak on some functions with implicit object
__toString() call) (Davic C.)
2007-12-21 20:56:10 +00:00
Greg Beaver
245ca069c8 same fix we used in linux to make all extension deps optional 2007-12-21 19:02:20 +00:00
Dmitry Stogov
306a73677e Fixed test 2007-12-21 09:42:07 +00:00
Greg Beaver
185a4a8309 on second thought, hooking into getcwd() is a bad idea, who uses this for code loading, anyways? 2007-12-21 04:49:25 +00:00
62c602f17d ChangeLog update 2007-12-21 01:31:31 +00:00
Greg Beaver
0d830a27ea implement cleaning of crap paths - major functionality boost 2007-12-20 23:12:40 +00:00