Sean Bright [Sun, 20 Jan 2002 04:55:40 +0000 (04:55 +0000)]
These PHP3_* macros aren't defined in the code, so these haven't been doing
anything for some time now (at least since 4.0 was released). So let's go
ahead and remove those.
# If I missed something obvious, let me know and I will revert the patch.
Edin Kadribasic [Sun, 20 Jan 2002 02:30:18 +0000 (02:30 +0000)]
Modified the build system to make certain extensions (pcntl, ncurses,
pcntl) only with cgi/cli sapi's. This was done by adding 3rd optional
parameter to PHP_EXTENSION macro which should be set to "cli" if
the extension only makes sense for that class of api's.
- Fixed passing parameters to domxml_xslt_process(). Now they can be either strings or XPath expressions.
- Several minor fixes in domxml_xslt_process().
Wez Furlong [Sat, 19 Jan 2002 14:06:52 +0000 (14:06 +0000)]
Make the decoder less strict to allow for brain-dead mailers that mark
messages as 7bit but then include 8bit chars in the body.
Thanks to Dan Fitzpatrick for bringing this to my attention.
shite :) too much WS fixes. leave the licence as it was...
# (why uses pear spaces and php tabs anyway... but i don't want to start another CS flame war ...)
# sorry for the mixing of different things in this commit
- added DOMXML_PARAM_THREE macro
- renamed domxml_dumpmem to domxml_dump_mem, added alias for
domxml_dumpmem
- domxml_has_attributes was missing in in zend_function_entry
@- added function domxml_dump_file($filename,[$compression]). Dumps XML to
@ a file and uses compression, if specified (chregu)
@- added exslt integration (see http://exslt.org for details). To be
@ configured with --with-dom-exslt[=DIR] (and --with-dom-xslt) (chregu, jaroslaw)
Thies C. Arntzen [Thu, 17 Jan 2002 18:56:11 +0000 (18:56 +0000)]
@ - Don't touch any globals in session_unset() if register_globals is set
@ to off. (Thies)
guys, shoot me if i'm wrong, but when we have set register_globals to off we
should _not_ touch any global variables at any time, right? so all session
register/unregister should only work on $HTTP_SESSION_VARS and $_SESSION. this
patch fixes at least one spot where we were touching globals even with
register_globals set to off.
Thies C. Arntzen [Thu, 17 Jan 2002 18:40:59 +0000 (18:40 +0000)]
@ - Added 3 new optional parameters to OCIFetchStatement(). They control
@ the number of rows to skip at the beginning of the cursor, the
@ maximun numer of rows that should be fetched and the format of the
@ returned array. (Thies)
# sorry, no time to write the docs for this right now...
Tomas V.V.Cox [Sun, 13 Jan 2002 18:24:56 +0000 (18:24 +0000)]
New DSN "protcocol(protocol_opts)" format support:
phptype://user:pass@protocol(proto_opts)/database
ex:
pgsql://user@unix()/pear
mysql://user@unix(/path/to/socket)/pear
pgsql://user:pass@word@tcp(somehost:7777)/pear
Chris Jarecki [Sun, 13 Jan 2002 01:17:34 +0000 (01:17 +0000)]
- Added xpath_register_ns() function.
@ - Added xpath_register_ns() function.
@ It makes possible to issue XPath queries with namespaces
@ like for example: "//namespace:sampletag" (Chris Jarecki)
Gavin Sherry [Sat, 12 Jan 2002 07:22:27 +0000 (07:22 +0000)]
This fixes the notorious "mode 'c' fails" bug (see bugs - 10380, 10798, 11732). The bug originates from the fact that mode "c" for db3 sets 'type' to DB_UNKNOWN and mode DB_CREATE when the database already exists. The underlying library raises an error at this logical discrepancy: obviously one cannot create a database of unknown type.
Tomas V.V.Cox [Fri, 11 Jan 2002 01:51:24 +0000 (01:51 +0000)]
- Added HTTP::head($url) which sends a "HEAD" HTTP command to a server
and returns the headers as an associative array
- Call-time pass-by-reference fixes
Yasuo Ohgaki [Wed, 9 Jan 2002 08:02:21 +0000 (08:02 +0000)]
- shmop_open has a new flag for read/write access, 'w'
- eliminated a segfault when trying to write to a SHM_RDONLY segment
- eliminated a segfault when an invalid flag which starts with 'a' or 'c' is passed
- updated creators' email addresses
- changed error messages to say shmop_* instead of shm* to correspond with new shmop_* function names
Patch by Ilia Alshanetsky (ilia@prohost.org)
# Please test :)