Sterling Hughes [Fri, 14 Dec 2001 11:43:20 +0000 (11:43 +0000)]
be rfc compliant...
RFC 822 *only* supports four digits for the year in order to have a compliant
header.
RFC 850 supports two digits for the year (y2k_incompliant :) so use that when
y2k_compliance is turned off.
In either case, both of these formats require that GMT be appended to the header,
so we do this as well
Vlad Krupin [Fri, 14 Dec 2001 04:22:01 +0000 (04:22 +0000)]
Fixed bug #5993. Now if the result returned from a database is bigger
than a long, dbase_get_record() and dbase_get_record_with_names() will
return a string instead.
# Need to update documentation to reflect that change
@ Fixed problem with dbase not returning very large (larger than long)
@ integers properly. (Vlad)
- new parameter parsing api used
- added proto descriptions (not complete)
- swapped x/y arguments
- indentation style fix (no seperate WS fix as most of the file changed anyway)
Andi Gutmans [Wed, 12 Dec 2001 20:45:38 +0000 (20:45 +0000)]
- Infrastructure changes for allowing to access the global scope from
- within a class scope.
- Fix the Zend.dsp project a bit. It seems someone pretty much killed it
- when commiting their own personal configuration. Please be careful in
- future.
Andrei Zmievski [Wed, 12 Dec 2001 02:27:49 +0000 (02:27 +0000)]
Ack, apparently in statically linked-in extensions we have to clean the
hash of overloaded classes on request shutdown. Also, added some fold
markers and rearranged some defines.
Andi Gutmans [Tue, 11 Dec 2001 17:56:57 +0000 (17:56 +0000)]
- Start making scope change correctly when calling namespace functions.
- When inside a namespace fallback to global namespace when function
- or constant is not found.
Stig Bakken [Tue, 11 Dec 2001 08:39:56 +0000 (08:39 +0000)]
* fixed the sub-command option parsing
* added -r option to install/uninstall (registers package without
installing any files, for use by rpm and the like)
Andrei Zmievski [Tue, 11 Dec 2001 04:41:15 +0000 (04:41 +0000)]
This commit implements property-specific accessors.
When overload() is called, it not only scans for general handlers, but
also for any methods beginning with __get_ and __set_ and saves a list of
them. Then when a property is accessed, e.g. $obj->x, the extension will first
check whether __get_x() is available, and will call it if it is, otherwise
it will invoke the general __get() handler.
Andrei Zmievski [Mon, 10 Dec 2001 17:20:04 +0000 (17:20 +0000)]
Modified __call() handler to accept a byref return value parameter that
should be filled in. The __call() handler is now supposed to return true
or false, depending on whether it was successful or not.
Stig Bakken [Mon, 10 Dec 2001 17:04:56 +0000 (17:04 +0000)]
* now using ext/overload
# how to use:
#
# $remote = new PEAR_Remote;
# $remote->package_listAll();
# $remote->user_activate("johndoe");
#
# (when using overloading, "_" is replaced with "." before doing
# the xmlrpc call)
Andrei Zmievski [Sun, 9 Dec 2001 04:28:23 +0000 (04:28 +0000)]
- Only destroy the current object if it was received from the __get() handler.
- Changed the way method arguments are passed to __call() handler. They are
now encapsulated inside of an array, which makes it easier to pass them
to call_user_func_array().
Sterling Hughes [Sun, 9 Dec 2001 01:18:20 +0000 (01:18 +0000)]
Align comments in xslt.c
First try at fixing funny resource free'ing problems with objects, don't
perform a zval seperation when we're directly saving a pointer to the SAX
or Scheme handlers