Wez Furlong [Sun, 31 Aug 2003 01:44:45 +0000 (01:44 +0000)]
install sqlite headers with the rest of php.
We only really need sqlite.h, but our build system doesn't provide for
installation of a single header file
(at least not that I can see)
Marcus Boerger [Sat, 30 Aug 2003 18:58:40 +0000 (18:58 +0000)]
Add frame numer and finally display stack trace in the message.
#
# And voila - nice useable and helpfull exceptions in PHP.
# Now we need to tell ppl 'anyway don't use them if possible'.
#
Marcus Boerger [Sat, 30 Aug 2003 11:40:37 +0000 (11:40 +0000)]
- The compiler can't detect all abstract function calls so we need to check.
# In this case throwing a dedicated exception is better than the error we
# show when the compiler can detect the abstract call because its run-time.
Marcus Boerger [Fri, 29 Aug 2003 23:27:22 +0000 (23:27 +0000)]
- Add zend_merge_properties() which is designed to serve *_fetch_object().
- Explain drawbacks of object_and_properties_init and zend_merge_properties.
#
# I guess we can live with the purity problem of potentially calling __set()
# of an object which wasn't already ctored.
#
Greg Beaver [Fri, 29 Aug 2003 20:50:36 +0000 (20:50 +0000)]
fix optional dependencies in Dependency.php, remove ugly hack in Installer, add note about Cox's cool addition to pear install, remove noise of who did what from package.xml, fix #25008
Tomas V.V.Cox [Fri, 29 Aug 2003 18:23:31 +0000 (18:23 +0000)]
This patch allows:
pear install DB-1.2 -> specific version
pear install DB-stable -> latest stable version
(stable, beta, alpha, ..)
pear install DB-1.2.tar -> download in tar format
Currently only "install" and "upgrade" support this
more will come shortly.
Sascha Schumann [Fri, 29 Aug 2003 12:33:47 +0000 (12:33 +0000)]
Fix a segfault which occured when using a storage format not capable
of expressing references (e.g. WDDX) and deserializing a session variable
whose name conflicted with an existing symbol in the global scope.
PR: #25307
Submitted by: Jani Taskinen
Speling fixes: me
Marcus Boerger [Thu, 28 Aug 2003 22:56:41 +0000 (22:56 +0000)]
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.
#
Ard Biesheuvel [Thu, 28 Aug 2003 22:12:06 +0000 (22:12 +0000)]
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
Marcus Boerger [Thu, 28 Aug 2003 20:35:54 +0000 (20:35 +0000)]
- 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.
Greg Beaver [Thu, 28 Aug 2003 03:42:21 +0000 (03:42 +0000)]
* 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
Ilia Alshanetsky [Wed, 27 Aug 2003 23:53:15 +0000 (23:53 +0000)]
Prevent abrupt script execution when sendmail_path contains invalid
executable.
Add more detail to the warnings regarding execution of sendmail binary.
Ard Biesheuvel [Wed, 27 Aug 2003 22:55:06 +0000 (22:55 +0000)]
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