Commit Graph

43175 Commits

Author SHA1 Message Date
Felipe Pena
ea6a37b197 - Added arginfo
- Fixed WS
- Changed C++ comments to C comments
2008-08-11 19:46:57 +00:00
Marcus Boerger
044d27e802 - Cleanup 2008-08-11 19:34:49 +00:00
Marcus Boerger
7f6d70ee5b - Fix shutdown order 2008-08-11 17:33:02 +00:00
Marcus Boerger
de87bc2d27 - EXPECT rather than EXPECTF 2008-08-11 17:30:22 +00:00
Marcus Boerger
320c954402 - Fix memleak with new error handling stack'ing 2008-08-11 17:19:01 +00:00
Nuno Lopes
8da607e08f fix build when host machine doest has pcre installed 2008-08-11 15:40:41 +00:00
Arnaud Le Blanc
ab812be73f Missing files in previous commit (Check the relevant path for open_basedir
in symlink())
2008-08-11 15:32:52 +00:00
Arnaud Le Blanc
0ea8978235 Check the relevant path for open_basedir in symlink() 2008-08-11 15:29:06 +00:00
Nuno Lopes
e279aa07fe add 2008-08-11 15:18:47 +00:00
Felipe Pena
7ea60b6f45 - Fixed wrong check for dynamic properties 2008-08-11 13:35:49 +00:00
Pierre Joye
a37e9d2e0f - skip on wndows, chgrp not supported 2008-08-11 13:29:16 +00:00
Pierre Joye
8369777cae - removed commented code 2008-08-11 13:14:01 +00:00
Pierre Joye
94b661a37f - [DOC] detect if dest is a dir (if the given stream layer supports stat)
and fails
 . remove win32 specific test. The errors are not the same
2008-08-11 13:09:01 +00:00
Felipe Pena
ebb797df4b - Fix build (ZTS) 2008-08-11 12:45:37 +00:00
Marcus Boerger
ae3641d90d - Closure/Reflection integration (original idea by Christian Seiler) 2008-08-11 12:36:01 +00:00
Johannes Schlüter
2888aa20d1 - Fix #45763 (mysqli::multi_query does not work with mysqlnd) 2008-08-11 12:32:47 +00:00
Dmitry Stogov
5564a4c90f - Made closures implementation reflection friendly (Christian)
- Changed E_ERROR(s) into E_RECOVERABLE_ERROR(s) (Marcus)
2008-08-11 08:49:14 +00:00
b4ac71f514 ChangeLog update 2008-08-11 01:32:53 +00:00
Felipe Pena
0a735191e5 - Fixed bug #45765 (ReflectionObject with default parameters of self::xxx cause an error) 2008-08-11 00:46:14 +00:00
Marcus Boerger
2b1b167538 - Fix warning 2008-08-10 22:45:47 +00:00
Marcus Boerger
0c9b0ddcd2 - Oops 2008-08-10 22:27:41 +00:00
Marcus Boerger
ce0fc22f07 - Improve gdb support
# I was actually debugging and trying to solve memleaks a hell lot
2008-08-10 22:18:58 +00:00
Marcus Boerger
aea4ea120f - Fix memleak, Zend's built-in functions get copied before we copy all
functions, thus ending up in the name and param definitions copied twice
  because zend_register_funciton already copies them.
- Also Be able to deallocate Zend's built-in functions and do so when
  appropriate.
- After unregistering Zend's built-in functions only dl() is left and that
  seems to be fine.
2008-08-10 21:52:05 +00:00
Felipe Pena
b9b83ec794 - New parameter parsing API (for *printf()) 2008-08-10 21:48:22 +00:00
Pierre Joye
4a015008b6 - fix the VC6 fix or strncpy_s (md5 crypt failed with VC9 as it used strncpy wrongly) 2008-08-10 21:34:02 +00:00
Antony Dovgal
a270199067 fix bug reported by Henrique
add test
2008-08-10 21:23:21 +00:00
Antony Dovgal
07d8c7dfa0 fix tests 2008-08-10 21:20:05 +00:00
Antony Dovgal
6dca1deb52 fix compilation on AIX 2008-08-10 19:48:48 +00:00
Felipe Pena
f168ea0fb3 - New parameter parsing API (for min() and max()) 2008-08-10 17:49:30 +00:00
Pierre Joye
bb8085acc4 - fix string len 2008-08-10 14:15:31 +00:00
Arnaud Le Blanc
eebec53bc0 Fixed bug #45581 (htmlspecialchars() double encoding &#x hex items) 2008-08-10 13:25:53 +00:00
Arnaud Le Blanc
85bc66aa5c Fixed test 2008-08-10 12:06:49 +00:00
Arnaud Le Blanc
726dfc423d Do not expand $target in symlink(). This made it impossible to symlink to a
symlink. This also caused the target to be wrongly expanded relatively to
the CWD when target was not an absolute path.
2008-08-10 11:54:18 +00:00
Pierre Joye
c76de7966d - [DOC] win's strftime does not support all posix formatting code and have some win specific rules see http://msdn.microsoft.com/en-us/library/fe06s4ak(VS.80).aspx for a complete list: split test for win32 and posix 2008-08-10 11:27:26 +00:00
b77dcab3b1 ChangeLog update 2008-08-10 01:32:08 +00:00
Felipe Pena
255f027443 - Fixed tests 2008-08-10 00:34:42 +00:00
Antony Dovgal
37b57badf0 disable the test on AIX - unlink() deletes directories there (omg..) 2008-08-09 22:35:17 +00:00
Antony Dovgal
83fa3f9874 do not fail & segfault if malloc(0) returns NULL, that's expected
(reproducible on AIX with simple date() and UTC timezone)
2008-08-09 22:00:51 +00:00
Antony Dovgal
34b4cfd5e5 fix leak 2008-08-09 21:58:40 +00:00
Antony Dovgal
c5b2255843 fix typo 2008-08-09 21:02:30 +00:00
05f876bbe7 ChangeLog update 2008-08-09 01:32:15 +00:00
Etienne Kneuss
b8aa44644d Fix error_handling usage in various extensions 2008-08-08 22:06:42 +00:00
Pierre Joye
9bc9e10386 - MFB: add new files 2008-08-08 18:29:51 +00:00
Pierre Joye
1b57b75d50 - sync with 5.3 2008-08-08 18:13:55 +00:00
Marcus Boerger
034d2e5916 - Turns out the easy solution for correct error_handling doesn't work. So
we need to provide save/replace/restore functions right away. It also
  to save/restore in the vm.
2008-08-08 17:10:49 +00:00
Marcus Boerger
927b12e6af - Sorry for the compiler warning 2008-08-08 14:14:52 +00:00
Etienne Kneuss
f3ca0282f2 Test the catching of chains of exceptions 2008-08-08 14:09:15 +00:00
Marcus Boerger
805cc4bf50 - PHP 5.3 todo, store error handling mode on stack when executing internal
or overloaded functions and methods. The issue is that a function might
  set and rely on a certain mode and then calls another internal function
  which changes it again, probably changing it back to the normal mode.
  With this change we need to drop all calls that change the mode back to
  normal using php_std_error_handling(). However there might be places
  where someone wants to restore the last mode. If there is such a case we
  need to add two functions one to save and one to restore. I briefly on
  this and not all cases are clear, especially one in sqlite but that seems
  to be a rather misleading comment. Eitherway I chose to not drop and mark
  as deprecated for now.
2008-08-08 13:18:31 +00:00
Felix De Vliegher
934dd2e326 MFB: Tests for ReflectionMethod::getClosure() and ReflectionFunction::getClosure() 2008-08-08 12:42:40 +00:00
Felix De Vliegher
a3d6855a85 MFB: Documentation fix for getClosure() 2008-08-08 10:53:39 +00:00