]> granicus.if.org Git - php/log
php
23 years agoshite :) too much WS fixes. leave the licence as it was...
Christian Stocker [Fri, 18 Jan 2002 15:45:44 +0000 (15:45 +0000)]
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 ...)

23 years ago- WS fixes (replaced " " by \t)
Christian Stocker [Fri, 18 Jan 2002 15:40:26 +0000 (15:40 +0000)]
- WS fixes (replaced "    " by \t)

23 years ago- added optional parameters format and level for domxml_dump_node()
Christian Stocker [Fri, 18 Jan 2002 15:03:13 +0000 (15:03 +0000)]
- added optional parameters format and level for domxml_dump_node()

23 years ago- added macro DOMXML_PARAM_ONE
Christian Stocker [Fri, 18 Jan 2002 12:40:12 +0000 (12:40 +0000)]
- added macro DOMXML_PARAM_ONE
@- added function domxml_dump_node($doc,$node). Dumps a node plus all
@  children into a string. (chregu)

23 years ago@- Added function domxml_node_get_content() (chregu)
Christian Stocker [Fri, 18 Jan 2002 11:04:10 +0000 (11:04 +0000)]
@- Added function domxml_node_get_content() (chregu)

23 years ago# sorry for the mixing of different things in this commit
Christian Stocker [Fri, 18 Jan 2002 07:58:47 +0000 (07:58 +0000)]
# 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)

23 years agoFix typo
Yasuo Ohgaki [Fri, 18 Jan 2002 06:51:04 +0000 (06:51 +0000)]
Fix typo

23 years agoChangeLog update
<changelog@php.net> [Fri, 18 Jan 2002 01:13:34 +0000 (01:13 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Fri, 18 Jan 2002 01:13:30 +0000 (01:13 +0000)]
NEWS update

23 years agoNew function yaz_es_result: Z395.0 Extended Services Result.
Adam Dickmeiss [Thu, 17 Jan 2002 23:21:28 +0000 (23:21 +0000)]
New function yaz_es_result: Z395.0 Extended Services Result.
----------------------------------------------------------------------

23 years agoFixed shmop_read to append \0 to returned string in shmop_read to eliminate Zend...
Ilia Alshanetsky [Thu, 17 Jan 2002 19:58:53 +0000 (19:58 +0000)]
Fixed shmop_read to append \0 to returned string in shmop_read to eliminate Zend warnings

23 years ago@ - Don't touch any globals in session_unset() if register_globals is set
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.

23 years ago@ - Added 3 new optional parameters to OCIFetchStatement(). They control
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...

23 years agoFix attribution, its Petr's patch, not mine :)
Sterling Hughes [Thu, 17 Jan 2002 17:26:38 +0000 (17:26 +0000)]
Fix attribution, its Petr's patch, not mine :)

23 years agoLittle cleanup, add information about Sablotron 0.8
Sterling Hughes [Thu, 17 Jan 2002 17:26:09 +0000 (17:26 +0000)]
Little cleanup, add information about Sablotron 0.8

23 years agoUpdate for Sablotron .8
Sterling Hughes [Thu, 17 Jan 2002 17:21:38 +0000 (17:21 +0000)]
Update for Sablotron .8

23 years agoUse libxml2 header if there are older version. Reported by <jwagoner@wlion.com>
Yasuo Ohgaki [Thu, 17 Jan 2002 01:18:25 +0000 (01:18 +0000)]
Use libxml2 header if there are older version. Reported by <jwagoner@wlion.com>

23 years agoAdded XsltStylesheet class with methods:
Jaroslaw Kolakowski [Thu, 17 Jan 2002 01:13:39 +0000 (01:13 +0000)]
Added XsltStylesheet class with methods:
- domxml_xslt_stylesheet(string),
- domxml_xslt_stylesheet_doc(DomDocument),
- domxml_xslt_stylesheet_file(filename),
- process(DomDocument,parameters array) - previously domxml_xslt_process().

23 years agoChangeLog update
<changelog@php.net> [Thu, 17 Jan 2002 01:12:29 +0000 (01:12 +0000)]
ChangeLog update

23 years agoExport php_session_register_module/serializer
Yasuo Ohgaki [Wed, 16 Jan 2002 23:24:37 +0000 (23:24 +0000)]
Export php_session_register_module/serializer

23 years agoFix typo
Rasmus Lerdorf [Wed, 16 Jan 2002 22:32:40 +0000 (22:32 +0000)]
Fix typo

23 years agomysql_db_query is deprecated, fixed by using mysql_select_db and
Marc Boeren [Wed, 16 Jan 2002 16:28:50 +0000 (16:28 +0000)]
mysql_db_query is deprecated, fixed by using mysql_select_db and
mysql_query (Mc).

23 years agoExport php_session_register_module/serializer.
Yasuo Ohgaki [Wed, 16 Jan 2002 04:56:35 +0000 (04:56 +0000)]
Export php_session_register_module/serializer.

23 years agoChangeLog update
<changelog@php.net> [Wed, 16 Jan 2002 01:14:36 +0000 (01:14 +0000)]
ChangeLog update

23 years ago- Fixed a bug with matching string containing null bytes.
Andrei Zmievski [Tue, 15 Jan 2002 15:40:31 +0000 (15:40 +0000)]
- Fixed a bug with matching string containing null bytes.

23 years agoChangeLog update
<changelog@php.net> [Tue, 15 Jan 2002 01:14:47 +0000 (01:14 +0000)]
ChangeLog update

23 years ago- using macro in xpath_register_ns()
Chris Jarecki [Mon, 14 Jan 2002 21:43:18 +0000 (21:43 +0000)]
- using macro in xpath_register_ns()
- fixed protos in xpath functions

23 years ago- Fix crash bug in call_user_function_ex(). Thanks to Sebastian for the
Andi Gutmans [Mon, 14 Jan 2002 16:55:23 +0000 (16:55 +0000)]
- Fix crash bug in call_user_function_ex(). Thanks to Sebastian for the
- very nice and short reproducing script.
<?php
$array = array('foo', 'bar');

uasort($array, 'cmp');

function cmp($a, $b)
{
return (strcmp($a[1], $b[1]));
}
?>

23 years agofix for bug #14776
Stefan Esser [Mon, 14 Jan 2002 13:36:54 +0000 (13:36 +0000)]
fix for bug #14776

23 years agoUpdate Exceptions example.
Sebastian Bergmann [Mon, 14 Jan 2002 12:14:18 +0000 (12:14 +0000)]
Update Exceptions example.

23 years agofixed an error in mbstring caused by confliction with regex.
Rui Hirokawa [Mon, 14 Jan 2002 03:08:40 +0000 (03:08 +0000)]
fixed an error in mbstring caused by confliction with regex.

23 years agoChangeLog update
<changelog@php.net> [Mon, 14 Jan 2002 01:13:37 +0000 (01:13 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Mon, 14 Jan 2002 01:13:34 +0000 (01:13 +0000)]
NEWS update

23 years agoFixed build in the directory other than $top_srcdir.
Edin Kadribasic [Sun, 13 Jan 2002 23:51:56 +0000 (23:51 +0000)]
Fixed build in the directory other than $top_srcdir.

23 years ago- Change exception handling to use the Java-like catch(MyException $exception)
Andi Gutmans [Sun, 13 Jan 2002 20:21:55 +0000 (20:21 +0000)]
- Change exception handling to use the Java-like catch(MyException $exception)
- semantics. Example:
<?php

class MyException {
function __construct($exception)
{
$this->exception = $exception;
}

function Display()
{
print "MyException: $this->exception\n";
}

}
class MyExceptionFoo extends MyException {
function __construct($exception)
{
$this->exception = $exception;
}
function Display()
{
print "MyException: $this->exception\n";
}
}

try {
throw  new MyExceptionFoo("Hello");
} catch (MyException $exception) {
$exception->Display();
}
?>

23 years agoNew DSN "protcocol(protocol_opts)" format support:
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

23 years ago- MFZE1
Andi Gutmans [Sun, 13 Jan 2002 17:51:18 +0000 (17:51 +0000)]
- MFZE1

23 years ago4.1.1 NEWS entry block was missing from the HEAD tree
Rasmus Lerdorf [Sun, 13 Jan 2002 16:50:08 +0000 (16:50 +0000)]
4.1.1 NEWS entry block was missing from the HEAD tree

23 years agofixed some link error of gd's configure.
Rui Hirokawa [Sun, 13 Jan 2002 06:25:18 +0000 (06:25 +0000)]
fixed some link error of gd's configure.

23 years agoThis should fix cli build when running 'make install' directly.
Edin Kadribasic [Sun, 13 Jan 2002 05:26:20 +0000 (05:26 +0000)]
This should fix cli build when running 'make install' directly.

23 years ago - Added xpath_register_ns() function.
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)

23 years agoChangeLog update
<changelog@php.net> [Sun, 13 Jan 2002 01:10:35 +0000 (01:10 +0000)]
ChangeLog update

23 years agoFixed CLI build when the main SAPI is built as a shered library.
Edin Kadribasic [Sat, 12 Jan 2002 22:48:54 +0000 (22:48 +0000)]
Fixed CLI build when the main SAPI is built as a shered library.

23 years agoModified the build system to always build CLI SAPI.
Edin Kadribasic [Sat, 12 Jan 2002 14:51:54 +0000 (14:51 +0000)]
Modified the build system to always build CLI SAPI.

23 years agoMy bad. Left some stray debugging code in previous commit.
Gavin Sherry [Sat, 12 Jan 2002 07:38:35 +0000 (07:38 +0000)]
My bad. Left some stray debugging code in previous commit.

23 years agoSee the update to dba_db3.c
Gavin Sherry [Sat, 12 Jan 2002 07:23:35 +0000 (07:23 +0000)]
See the update to dba_db3.c

23 years agoThis fixes the notorious "mode 'c' fails" bug (see bugs - 10380, 10798, 11732). The...
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.

23 years agoFixed segfault in imap_bodystruct() when called with an invalid message
Vlad Krupin [Sat, 12 Jan 2002 05:39:07 +0000 (05:39 +0000)]
Fixed segfault in imap_bodystruct() when called with an invalid message
number. Now it fails with a warning instead.

23 years agoChangeLog update
<changelog@php.net> [Sat, 12 Jan 2002 01:11:03 +0000 (01:11 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Sat, 12 Jan 2002 01:11:00 +0000 (01:11 +0000)]
NEWS update

23 years agoAdded domxml_node_replace_node() function.
Jaroslaw Kolakowski [Fri, 11 Jan 2002 21:15:46 +0000 (21:15 +0000)]
Added domxml_node_replace_node() function.

23 years ago@Added multi-byte enabled regex functions. (Rui)
Rui Hirokawa [Fri, 11 Jan 2002 13:21:09 +0000 (13:21 +0000)]
@Added multi-byte enabled regex functions. (Rui)

23 years ago- mkdir(): made second (mode) parameter optional, default to 0777
Markus Fischer [Fri, 11 Jan 2002 10:44:24 +0000 (10:44 +0000)]
- mkdir(): made second (mode) parameter optional, default to 0777
           switched to zend_parse_parameters().
# Added vim 'noet' setting

23 years ago- Added HTTP::head($url) which sends a "HEAD" HTTP command to a server
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

23 years agoChangeLog update
<changelog@php.net> [Fri, 11 Jan 2002 01:11:10 +0000 (01:11 +0000)]
ChangeLog update

23 years agosubmit a test that will fail due to php bug #14744
Tomas V.V.Cox [Fri, 11 Jan 2002 00:04:55 +0000 (00:04 +0000)]
submit a test that will fail due to php bug #14744

23 years agoAdding functions to get BLOB/CLOB size from a lob_handle.
Frank M. Kromann [Thu, 10 Jan 2002 21:56:18 +0000 (21:56 +0000)]
Adding functions to get BLOB/CLOB size from a lob_handle.
Added descriptions on most protos

23 years agoFix the recursive counting, it was broken for associative or non-sequential
Andrei Zmievski [Thu, 10 Jan 2002 21:31:06 +0000 (21:31 +0000)]
Fix the recursive counting, it was broken for associative or non-sequential
arrays. Also update NEWS file.

23 years ago- Make an E_NOTICE error type show 'Notice' instead of 'Warning'.
Derick Rethans [Thu, 10 Jan 2002 16:00:08 +0000 (16:00 +0000)]
- Make an E_NOTICE error type show 'Notice' instead of 'Warning'.

23 years agoFix startup crash
Yasuo Ohgaki [Thu, 10 Jan 2002 12:08:39 +0000 (12:08 +0000)]
Fix startup crash
# Sascha, thanks for fixing poor patch :)
# mm save handler does not work regardlress of
# save path patch or not for some reason.

23 years ago- Unified error messages.
Markus Fischer [Thu, 10 Jan 2002 09:09:19 +0000 (09:09 +0000)]
- Unified error messages.
- Improved argument handling in dio_fcntl().

23 years agoImproved code for handling PS(save_path)
Sascha Schumann [Thu, 10 Jan 2002 07:37:10 +0000 (07:37 +0000)]
Improved code for handling PS(save_path)

Don't MFH before further testing

23 years agoWs fix
Sascha Schumann [Thu, 10 Jan 2002 07:28:27 +0000 (07:28 +0000)]
Ws fix

23 years ago(PHP touch) Operate on a stack buffer.. no need for allocating newtime
Sascha Schumann [Thu, 10 Jan 2002 07:25:00 +0000 (07:25 +0000)]
(PHP touch) Operate on a stack buffer.. no need for allocating newtime
on the heap.

23 years agoAdd three-parameter touch() which enables users to set
Sascha Schumann [Thu, 10 Jan 2002 07:21:57 +0000 (07:21 +0000)]
Add three-parameter touch() which enables users to set
mtime/atime to different values.

23 years agoFix bug in test script
Yasuo Ohgaki [Thu, 10 Jan 2002 06:44:02 +0000 (06:44 +0000)]
Fix bug in test script

23 years agoMake use of save_path for mm file.
Yasuo Ohgaki [Thu, 10 Jan 2002 06:14:40 +0000 (06:14 +0000)]
Make use of save_path for mm file.
Patch by Henning Schmiedehausen <hps@intermeta.de>
Closes bug 14808

23 years agoMake these tests succeed with non-standard settings
Sascha Schumann [Thu, 10 Jan 2002 05:11:19 +0000 (05:11 +0000)]
Make these tests succeed with non-standard settings

23 years ago- Fix compilation. (Christian Stocker)
Markus Fischer [Thu, 10 Jan 2002 01:53:22 +0000 (01:53 +0000)]
- Fix compilation. (Christian Stocker)

23 years agoChangeLog update
<changelog@php.net> [Thu, 10 Jan 2002 01:15:32 +0000 (01:15 +0000)]
ChangeLog update

23 years agoYear update
Yasuo Ohgaki [Thu, 10 Jan 2002 00:39:42 +0000 (00:39 +0000)]
Year update

23 years agoshmop got a new maintainer
Yasuo Ohgaki [Thu, 10 Jan 2002 00:38:05 +0000 (00:38 +0000)]
shmop got a new maintainer

23 years agoRename finite/isinf/isnan to more standard is_*() names.
jim winstead [Wed, 9 Jan 2002 23:59:05 +0000 (23:59 +0000)]
Rename finite/isinf/isnan to more standard is_*() names.

23 years agoMove type-handling functions into ext/standard/type.c (which had
jim winstead [Wed, 9 Jan 2002 23:47:46 +0000 (23:47 +0000)]
Move type-handling functions into ext/standard/type.c (which had
a few otherwise unused functions in it).

23 years ago- Correct some protos.
Markus Fischer [Wed, 9 Jan 2002 16:51:53 +0000 (16:51 +0000)]
- Correct some protos.

23 years ago- Fix bug introduced in earlier patch
Derick Rethans [Wed, 9 Jan 2002 16:03:36 +0000 (16:03 +0000)]
- Fix bug introduced in earlier patch

23 years ago- fixed typo in deprecated functionname
Uwe Steinmann [Wed, 9 Jan 2002 08:09:16 +0000 (08:09 +0000)]
- fixed typo in deprecated functionname

23 years ago- shmop_open has a new flag for read/write access, 'w'
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 :)

23 years ago- Fixed compile with older libxml.
foobar [Wed, 9 Jan 2002 03:42:30 +0000 (03:42 +0000)]
- Fixed compile with older libxml.
# I had libxml 2.4.2 installed.

23 years ago- Fixed the creation of pear-get script.
foobar [Wed, 9 Jan 2002 03:41:48 +0000 (03:41 +0000)]
- Fixed the creation of pear-get script.

23 years agoReverted Hartmut's patch as it caused more trouble than it solved.
foobar [Wed, 9 Jan 2002 03:40:51 +0000 (03:40 +0000)]
Reverted Hartmut's patch as it caused more trouble than it solved.
# Broke my build totally. The 'correct' fix is to make the checks better
# everywhere. ie. to check for existance of the library/symbol in some lib.

23 years agowhitespace
foobar [Wed, 9 Jan 2002 02:06:32 +0000 (02:06 +0000)]
whitespace

23 years agoChangeLog update
<changelog@php.net> [Wed, 9 Jan 2002 01:13:39 +0000 (01:13 +0000)]
ChangeLog update

23 years agoA
Jaroslaw Kolakowski [Tue, 8 Jan 2002 19:13:42 +0000 (19:13 +0000)]
A
Changed names of functions:
- htmldoc() to html_doc(),
- htmldocfile() to html_doc_file(),
- domxml_htmldumpmem() to domxml_html_dump_mem(),
- htmldumpmem() to html_dump_mem().

23 years agoSome whitespace fixes (naugthy me :) and make use of PHP_CHECK_LIBRARY
foobar [Tue, 8 Jan 2002 17:51:08 +0000 (17:51 +0000)]
Some whitespace fixes (naugthy me :) and make use of PHP_CHECK_LIBRARY
macro instead of AC_CHECK_LIB.

# Better not touch LIBS anywhere. It might cause unexpected build problems
# if someone forgets to set it back in some config.m4..

23 years agoChanged proto via Georg Richter's request.
Sterling Hughes [Tue, 8 Jan 2002 06:06:58 +0000 (06:06 +0000)]
Changed proto via Georg Richter's request.

23 years agoChangeLog update
<changelog@php.net> [Tue, 8 Jan 2002 01:14:25 +0000 (01:14 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Tue, 8 Jan 2002 01:14:22 +0000 (01:14 +0000)]
NEWS update

23 years ago- Added functions: htmldoc(), htmldocfile(), domxml_htmldumpmem().
Jaroslaw Kolakowski [Tue, 8 Jan 2002 00:31:26 +0000 (00:31 +0000)]
- Added functions: htmldoc(), htmldocfile(), domxml_htmldumpmem().
- Added error handling for the libxml library.
- Added preliminary DOM XSLT support:
-- uses the libxslt library,
-- operates on DOM objects, not strings,
-- functions: domxml_xslt_process(), domxml_xslt_version().

23 years agobrowscap url fix, plus removed ^M references. it should look nice on any os.
James Cox [Mon, 7 Jan 2002 18:51:51 +0000 (18:51 +0000)]
browscap url fix, plus removed ^M references. it should look nice on any os.

23 years agochanged the instructions for php with win32 + apache. Recommending using sapi
James Cox [Mon, 7 Jan 2002 18:31:18 +0000 (18:31 +0000)]
changed the instructions for php with win32 + apache. Recommending using sapi
over cgi binary, since cgi binary and apache don't mix well security wise.

23 years agoNew PostgreSQL functions
Yasuo Ohgaki [Mon, 7 Jan 2002 08:14:34 +0000 (08:14 +0000)]
New PostgreSQL functions

23 years agoFixed some protos.
Egon Schmid [Mon, 7 Jan 2002 06:58:01 +0000 (06:58 +0000)]
Fixed some protos.

23 years ago@added mb_get_info() to get internal settings of mbstring.
Rui Hirokawa [Mon, 7 Jan 2002 02:40:54 +0000 (02:40 +0000)]
@added mb_get_info() to get internal settings of mbstring.

23 years agoChangeLog update
<changelog@php.net> [Mon, 7 Jan 2002 01:13:47 +0000 (01:13 +0000)]
ChangeLog update

23 years agoNEWS update
<changelog@php.net> [Mon, 7 Jan 2002 01:13:44 +0000 (01:13 +0000)]
NEWS update

23 years ago- Fix domxml_node_unlink_node() proto and return value.
Markus Fischer [Mon, 7 Jan 2002 00:54:20 +0000 (00:54 +0000)]
- Fix domxml_node_unlink_node() proto and return value.

23 years agows
Tomas V.V.Cox [Mon, 7 Jan 2002 00:11:11 +0000 (00:11 +0000)]
ws

23 years agoAdded IPv6 support
Stig Venaas [Sun, 6 Jan 2002 23:10:54 +0000 (23:10 +0000)]
Added IPv6 support
@- Added IPv6 support in FTP extension. (Stig Venaas)

23 years agohostconnect now divides the timeout with no. of addresses. If a connection
Stig Venaas [Sun, 6 Jan 2002 22:45:43 +0000 (22:45 +0000)]
hostconnect now divides the timeout with no. of addresses. If a connection
attempt times out, it goes on to the next. Unless each timeout would be
<5s. Added php_any_addr() that fills out the any address for IPv6 and IPv4.