Commit Graph

22946 Commits

Author SHA1 Message Date
Marcus Boerger
fa70708d15 Add zend_throw_exception_ex() which allows to format exception messages.
#
# Since we don't have any portable way of printing into a dynamic buffer i
# used a stack buffer of 1K (just like the error printing) and used a dynamic
# buffer in case the necessary function is available.
#
2003-08-28 22:56:41 +00:00
Marcus Boerger
12376a2270 Classe tables work this way 2003-08-28 22:53:24 +00:00
Ard Biesheuvel
6ee5a0db28 Prototype fixes
Return number of affected rows by ibase_query() and ibase_execute() if > 0
# Second change was actually introduced in 1.149, but never
# mentioned in the CVS log
2003-08-28 22:12:06 +00:00
Andrey Hristov
189e2d8862 this is the right parameter 2003-08-28 21:06:44 +00:00
Andrey Hristov
b2eb454171 format string fixes 2003-08-28 21:00:24 +00:00
Andrey Hristov
acb65b7c0a misplaced quote 2003-08-28 20:51:18 +00:00
Andrey Hristov
20383f9080 \n at the end of the message is not needed 2003-08-28 20:43:18 +00:00
Marcus Boerger
8d3620aea8 - Split debug_backtrace() into lowlevel c function and php function wrapper
- Add trace property to default method based on new zend_fetch_debug_backtrace
# Unforunatley the handler for uncaught exception can't show this backtrace
# simply because there is currently no way to do it. If i can think of a
# solution i'll add it. Until them i am open to any ideas/help.
2003-08-28 20:35:54 +00:00
Ilia Alshanetsky
9d9727aac5 Fixed compiler warnings. 2003-08-28 19:17:34 +00:00
Ilia Alshanetsky
4f2e9bbc45 Fixed format error. 2003-08-28 17:56:41 +00:00
Ilia Alshanetsky
21d5061038 Fixed format bug 2003-08-28 17:48:58 +00:00
Sascha Schumann
237da469d7 format string fix 2003-08-28 17:34:33 +00:00
Sascha Schumann
744c68e447 older gccs don't understand attribute((format)) on function pointers 2003-08-28 17:31:31 +00:00
foobar
a1adc61939 - added mcve to the modules workspace 2003-08-28 17:25:34 +00:00
Sascha Schumann
b9a67764d5 Fix error message 2003-08-28 17:09:44 +00:00
Sascha Schumann
af8e15b8db kill warnings 2003-08-28 17:07:40 +00:00
Sascha Schumann
83bd1f4398 ZEND_GCC_VERSION should always be defined to a number so we can use
simple comparisons all the time.
2003-08-28 17:04:16 +00:00
Sascha Schumann
436a07176c fix format strings 2003-08-28 16:49:57 +00:00
Sascha Schumann
341b7b5df1 add format attribute where appropiate 2003-08-28 16:49:43 +00:00
Ard Biesheuvel
50006652ae Fixed some format strings 2003-08-28 16:48:22 +00:00
Sascha Schumann
2e36578cfd Add format attribute to a number of functions
Kill a few warnings
2003-08-28 16:41:20 +00:00
foobar
04bbd9a2f7 Revert the patch per Dan\´s request 2003-08-28 16:35:32 +00:00
Sascha Schumann
6a7dde29e7 kill warnings 2003-08-28 16:28:33 +00:00
foobar
2811f9293d MFB 2003-08-28 16:19:08 +00:00
Stefan Roehrich
dd8aadedf5 Remove NEWS entry because fix was committed to 4.3 branch. 2003-08-28 16:06:49 +00:00
Sascha Schumann
96ad1c8bcb fix format string (long port) 2003-08-28 15:16:20 +00:00
foobar
b26dcef54f MFB 2003-08-28 14:58:02 +00:00
Sascha Schumann
258d958d4f Use ZEND_GCC_VERSION and ZEND_ATTRIBUTE_MALLOC 2003-08-28 14:53:36 +00:00
Sascha Schumann
169d43e5fa cleanup & centralize ZEND_GCC_VERSION and ZEND_ATTRIBUTE_MALLOC so that
they can be used by downstream applications
2003-08-28 14:53:02 +00:00
Andrey Hristov
367880b2c1 proto fix 2003-08-28 12:18:51 +00:00
Sascha Schumann
f065aba3ba Enable attribute((malloc)) for GCC 2.96 2003-08-28 11:55:39 +00:00
Stanislav Malyshev
06273c5637 MF4: -m fix for premature extension unloading 2003-08-28 11:50:32 +00:00
foobar
29b9d26223 typofix 2003-08-28 09:55:11 +00:00
Sascha Schumann
6d7e56a0c8 GCC 2 does not know about malloc yet. 2003-08-28 06:17:05 +00:00
Moriyoshi Koizumi
86e2c16d9c Add further check for "#include MACRO" style syntax 2003-08-28 06:04:48 +00:00
Sascha Schumann
cf1f6e3c4c provide attribute((malloc)) where appropiate 2003-08-28 05:50:15 +00:00
Sascha Schumann
5ef7cc4cb6 Let GCC check format arguments 2003-08-28 05:23:08 +00:00
Greg Beaver
095efa09af * added --alldeps --onlyreqdeps options for pear install/upgrade.
* added automatic dependency sorting, so the order of packages on command-line is unimportant for both install/uninstall
* added one more spaces in paths fix that was missed in PEAR_Common
2003-08-28 03:42:21 +00:00
8a00475722 ChangeLog update 2003-08-28 00:32:00 +00:00
Ilia Alshanetsky
bf82857475 Fixed bug #25109 (Possible crash when fetching field name) 2003-08-28 00:31:36 +00:00
Ilia Alshanetsky
e5879a5060 Fixed tests that failed in ZTS due to incorrect file paths.
Fixed test that failed due to new array dimension property being fetched.
2003-08-28 00:29:44 +00:00
Ard Biesheuvel
c78169086b Test multiple execution of a prepared EXEC PROCEDURE statement 2003-08-28 00:18:27 +00:00
Ard Biesheuvel
36716c2525 Test for BLOB ID survival of close()/connect() 2003-08-28 00:17:25 +00:00
Ard Biesheuvel
fd89b9a783 Removed TSRMLS_FETCH from _php_ibase_module_error() 2003-08-28 00:11:16 +00:00
Ilia Alshanetsky
32b5df0bc7 Prevent abrupt script execution when sendmail_path contains invalid
executable.
Add more detail to the warnings regarding execution of sendmail binary.
2003-08-27 23:53:15 +00:00
Ard Biesheuvel
2db5c7de85 Do not reuse data structure for ibase_execute() results.
Invalidate the results whose statement handle has been invalidated.
# EXEC PROCEDURE results don't need a statement handle, so
# the result doesn't have to be invalidated.
Fixed some add_{index|assoc}_*() bogosity
2003-08-27 22:55:06 +00:00
Marcus Boerger
43836e97c5 Nuke unused variable
# I should have taken Timm's patch
2003-08-27 20:48:41 +00:00
Marcus Boerger
7f5196953c Fix reflection_class::newInstance() 2003-08-27 20:45:34 +00:00
Greg Beaver
3c87b23aa1 adding betterStates() for usage in automatic dependency resolution 2003-08-27 19:27:45 +00:00
Dan Kalowsky
0347ca91f4 Committing a patch for IBM DB2 BLOB support submitted by Clara Liu
(clara@zealworks.com).
# I haven't had time to completely test this patch, a few users have stated
# that it works well for them and a few others want to test with windows
# builds, hence the submission.
2003-08-27 18:21:52 +00:00