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
Dan Kalowsky [Wed, 27 Aug 2003 18:21:52 +0000 (18:21 +0000)]
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.
Sara Golemon [Wed, 27 Aug 2003 00:43:54 +0000 (00:43 +0000)]
Squelch warning "Variable may be used uninitialized."
This would never occur anyway because of the logic of the function,
but gcc isn't quite smart enough to realize this.
Greg Beaver [Mon, 25 Aug 2003 06:34:46 +0000 (06:34 +0000)]
adding me as helper, adding dependency on XML_RPC 1.0.4 and optional dependency on xmlrpc extension - this will change to dependency on XML_RPC 1.0.5 if all of Marshall's ideas are implemented