Commit Graph

6081 Commits

Author SHA1 Message Date
Christian Stocker
33ffb64091 - WS fixes (replaced " " by \t) 2002-01-18 15:40:26 +00:00
Christian Stocker
98e5d33bb8 - added optional parameters format and level for domxml_dump_node() 2002-01-18 15:03:13 +00:00
Christian Stocker
8e70e61bfa - added macro DOMXML_PARAM_ONE
@- added function domxml_dump_node($doc,$node). Dumps a node plus all
@  children into a string. (chregu)
2002-01-18 12:40:12 +00:00
Christian Stocker
afb8248e91 @- Added function domxml_node_get_content() (chregu) 2002-01-18 11:04:10 +00:00
Christian Stocker
793bc648bf # 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)
2002-01-18 07:58:47 +00:00
Adam Dickmeiss
b2e578256e New function yaz_es_result: Z395.0 Extended Services Result.
----------------------------------------------------------------------
2002-01-17 23:21:28 +00:00
Ilia Alshanetsky
5b20d4c067 Fixed shmop_read to append \0 to returned string in shmop_read to eliminate Zend warnings 2002-01-17 19:58:53 +00:00
Thies C. Arntzen
53f8b2d28b @ - 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.
2002-01-17 18:56:11 +00:00
Thies C. Arntzen
dadf411b8d @ - 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...
2002-01-17 18:40:59 +00:00
Sterling Hughes
ce6c5801b3 Update for Sablotron .8 2002-01-17 17:21:38 +00:00
Yasuo Ohgaki
6c41675b0f Use libxml2 header if there are older version. Reported by <jwagoner@wlion.com> 2002-01-17 01:18:25 +00:00
Jaroslaw Kolakowski
bde9576660 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().
2002-01-17 01:13:39 +00:00
Yasuo Ohgaki
7dfff1a835 Export php_session_register_module/serializer 2002-01-16 23:24:37 +00:00
Rasmus Lerdorf
8f1eb93e0a Fix typo 2002-01-16 22:32:40 +00:00
Marc Boeren
4ce7a79870 mysql_db_query is deprecated, fixed by using mysql_select_db and
mysql_query (Mc).
2002-01-16 16:28:50 +00:00
Yasuo Ohgaki
847fd9d595 Export php_session_register_module/serializer. 2002-01-16 04:56:35 +00:00
Andrei Zmievski
d0ed5b984c - Fixed a bug with matching string containing null bytes. 2002-01-15 15:40:31 +00:00
Chris Jarecki
300b5c0955 - using macro in xpath_register_ns()
- fixed protos in xpath functions
2002-01-14 21:43:18 +00:00
Rui Hirokawa
0544cdca3a fixed an error in mbstring caused by confliction with regex. 2002-01-14 03:08:40 +00:00
Rui Hirokawa
26a12ba990 fixed some link error of gd's configure. 2002-01-13 06:25:18 +00:00
Chris Jarecki
6536287267 - 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)
2002-01-13 01:17:34 +00:00
Gavin Sherry
0a8722a0ac My bad. Left some stray debugging code in previous commit. 2002-01-12 07:38:35 +00:00
Gavin Sherry
e8baeb304a See the update to dba_db3.c 2002-01-12 07:23:35 +00:00
Gavin Sherry
8f30e5f619 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. 2002-01-12 07:22:27 +00:00
Vlad Krupin
8df03e2814 Fixed segfault in imap_bodystruct() when called with an invalid message
number. Now it fails with a warning instead.
2002-01-12 05:39:07 +00:00
Jaroslaw Kolakowski
ca7c5978d9 Added domxml_node_replace_node() function. 2002-01-11 21:15:46 +00:00
Rui Hirokawa
c79f749ff8 @Added multi-byte enabled regex functions. (Rui) 2002-01-11 13:21:09 +00:00
Markus Fischer
1e2b854bba - mkdir(): made second (mode) parameter optional, default to 0777
switched to zend_parse_parameters().
# Added vim 'noet' setting
2002-01-11 10:44:24 +00:00
Frank M. Kromann
d454f8bb3a Adding functions to get BLOB/CLOB size from a lob_handle.
Added descriptions on most protos
2002-01-10 21:56:18 +00:00
Andrei Zmievski
ddc039d0f5 Fix the recursive counting, it was broken for associative or non-sequential
arrays. Also update NEWS file.
2002-01-10 21:31:06 +00:00
Yasuo Ohgaki
43c3d4495a 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.
2002-01-10 12:08:39 +00:00
Markus Fischer
daecaa729c - Unified error messages.
- Improved argument handling in dio_fcntl().
2002-01-10 09:09:19 +00:00
Sascha Schumann
770c39fed6 Improved code for handling PS(save_path)
Don't MFH before further testing
2002-01-10 07:37:10 +00:00
Sascha Schumann
bbda8d9678 Ws fix 2002-01-10 07:28:27 +00:00
Sascha Schumann
a1dbb4ab16 (PHP touch) Operate on a stack buffer.. no need for allocating newtime
on the heap.
2002-01-10 07:25:00 +00:00
Sascha Schumann
edfd6d0988 Add three-parameter touch() which enables users to set
mtime/atime to different values.
2002-01-10 07:21:57 +00:00
Yasuo Ohgaki
7d819fc0cf Fix bug in test script 2002-01-10 06:44:02 +00:00
Yasuo Ohgaki
5c0dfdbdbe Make use of save_path for mm file.
Patch by Henning Schmiedehausen <hps@intermeta.de>
Closes bug 14808
2002-01-10 06:14:40 +00:00
Sascha Schumann
3a86163f19 Make these tests succeed with non-standard settings 2002-01-10 05:11:19 +00:00
Markus Fischer
904e3e4a41 - Fix compilation. (Christian Stocker) 2002-01-10 01:53:22 +00:00
jim winstead
831473d76e Rename finite/isinf/isnan to more standard is_*() names. 2002-01-09 23:59:05 +00:00
jim winstead
e68095972e Move type-handling functions into ext/standard/type.c (which had
a few otherwise unused functions in it).
2002-01-09 23:47:46 +00:00
Markus Fischer
98220d2a82 - Correct some protos. 2002-01-09 16:51:53 +00:00
Derick Rethans
aee570302f - Fix bug introduced in earlier patch 2002-01-09 16:03:36 +00:00
Uwe Steinmann
990c27a23a - fixed typo in deprecated functionname 2002-01-09 08:09:16 +00:00
Yasuo Ohgaki
5e3ab6f514 - 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 :)
2002-01-09 08:02:21 +00:00
foobar
6d14a5c60b - Fixed compile with older libxml.
# I had libxml 2.4.2 installed.
2002-01-09 03:42:30 +00:00
foobar
f50277f003 whitespace 2002-01-09 02:06:32 +00:00
Jaroslaw Kolakowski
b178addf5c 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().
2002-01-08 19:13:42 +00:00
foobar
a41ee123df 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..
2002-01-08 17:51:08 +00:00
Sterling Hughes
4afe145a10 Changed proto via Georg Richter's request. 2002-01-08 06:06:58 +00:00
Jaroslaw Kolakowski
415d5cbb75 - 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().
2002-01-08 00:31:26 +00:00
Egon Schmid
ab32202968 Fixed some protos. 2002-01-07 06:58:01 +00:00
Rui Hirokawa
32c1b0fd2e @added mb_get_info() to get internal settings of mbstring. 2002-01-07 02:40:54 +00:00
Markus Fischer
d4fa619d49 - Fix domxml_node_unlink_node() proto and return value. 2002-01-07 00:54:20 +00:00
Stig Venaas
9a307e4550 Added IPv6 support
@- Added IPv6 support in FTP extension. (Stig Venaas)
2002-01-06 23:10:54 +00:00
Stig Venaas
6e1878b0fc Added some consts for arguments in network.c declarations. Moved
php_sockaddr_storage to php_network.h and added check for struct
sockaddr_storage
2002-01-06 11:54:19 +00:00
Markus Fischer
734b77d130 - Refuse attribute nodes on add_child() and add list destructor for PI
nodes. (Christian Stocker)
- Fix append_child() according to add_child().
- Fix some protos, minor code and warning message cosmetics.
2002-01-05 23:50:59 +00:00
jim winstead
4fb4c6d4b3 More tweaking of wordwrap() with the cut parameter set. It was being a
little too aggressive and cutting words without breaking at spaces
first. (A couple of tests were incorrect.)
2002-01-05 23:49:58 +00:00
jim winstead
ca15b22212 New memcpy()-based wordwrap() implementation. The simple case
(single-character break, no forced break) appears to be about 60%
faster, and there's simply no comparison for non-simple cases with
non-trivial amounts of text. The old algorithm was O(n^2) (with an
unfortunately large constant factor) because of the use of strncat(),
the new one is O(n). Added some more tests, too.
@ - Made wordwrap() significantly faster. (Jim)
# test case: $t = join('',file('ChangeLog')); $w = wordwrap($t,10,"\n",1);
# new code completes in less than a second. i'm still waiting for the
# old code to finish.
2002-01-05 20:46:43 +00:00
jim winstead
62395159a9 Fix the Win32 compile. 2002-01-05 08:29:53 +00:00
Egon Schmid
87ad1fdb3b Fixed some protos. 2002-01-05 07:54:49 +00:00
jim winstead
b9d68b8e9d Apparently multi_convert_to_double_ex() didn't quite do what I
thought. Still need to handle numeric strings.
2002-01-05 03:56:38 +00:00
jim winstead
461e105069 Fixed pow(), and added finite(), isinf(), and isnan(). Also fixed
pow() tests.
@- Fixed pow(), and added finite(), isinf(), and isnan(). (Jim)
# Jeroen was on crack, and apparently flunked arithmetic. Names of new
# functions subject to change if people get persnickety about them.
# (They're currently the same as the underlying C library function
# names. Hope nobody forgets to update the tests if they change the
# names.)
# Oh, and pow() uses the new parameter-passing API now.
2002-01-05 03:45:11 +00:00
jim winstead
4b8f435b2a good grief, positive powers of 0 are well-defined. (code fix coming.) 2002-01-05 02:16:16 +00:00
jim winstead
9a171d03e8 Be more aggressive in making sure that substring matches are valid in
ereg_replace before trying to use them.
# i could have sworn i fixed this in php3. ereg() has similar logic, i
# guess i just missed ereg_replace. fixing this lets
# ext/standard/tests/reg/012.phpt pass on my debian/unstable box
2002-01-05 01:59:11 +00:00
Zak Greant
6823fb1fe7 Surprising how tests can fail when they don't have any supporting data :) Thanks for the catch Jan and Jim 2002-01-05 01:58:44 +00:00
Stig Venaas
2ac2b22c9b Made ldap_modify() an alias for ldap_mod_replace(). The two were identical.
#For more info, see my posting on php-dev Dec 25th.
2002-01-04 20:56:03 +00:00
jim winstead
f68b7c5f3e Fixed segfault in wordwrap() when wrapping to zero width and using
multi-character break or trying to force cut (bug #12768, now fails
and issues a warning because forcing a zero-width cut doesn't make
sense). Also converted to new paramater-passing API and avoid making
an extra copy of the return values.
# also added tests.
@- Fixed segfault in wordwrap() when wrapping to zero width and using
@  multi-character break or trying to force cut (bug #12768). (Jim)
2002-01-04 19:48:08 +00:00
Sterling Hughes
1808802279 Added the O_NOCTTY option, for terminal i/o. 2002-01-04 19:42:31 +00:00
Hartmut Holzgraefe
0195cc8364 ncurses is useless in webserver modules 2002-01-04 14:15:51 +00:00
Hartmut Holzgraefe
25534467c7 more unquoted messages with kommas fixed 2002-01-04 14:15:25 +00:00
Hartmut Holzgraefe
5a8b199454 always quote messages with [...], *especialy* when using kommas in the text 2002-01-04 14:13:53 +00:00
Hartmut Holzgraefe
e69e9be289 proto fixes 2002-01-04 14:10:05 +00:00
Hartmut Holzgraefe
5560c7a686 use predefined function instead of hardcoded test 2002-01-04 14:08:50 +00:00
Hartmut Holzgraefe
dda970500e proto fix 2002-01-04 14:08:25 +00:00
Hartmut Holzgraefe
3edcf21dda proto fix 2002-01-04 13:51:03 +00:00
Hartmut Holzgraefe
ec89317ff2 check for library existance before adding them 2002-01-04 12:27:01 +00:00
Frank M. Kromann
5d0ac50c8b Making error handling thread safe. Thanks to Paco Ortiz <fjortiz@comunet.es> 2002-01-03 23:08:21 +00:00
Hartmut Holzgraefe
c9bc54abc3 fix for bug #14832: basename with 2nd parm corrupts source string 2002-01-03 20:20:35 +00:00
Markus Fischer
7603d13733 - Now use ZE's builtin zend_zval_type_name(). 2002-01-03 14:32:36 +00:00
Markus Fischer
7f428de370 - domxml_node_add_child(): Perform deep copy before adding child to prevent
double memory freeing.
# I wonder how this could work before.
2002-01-03 13:20:04 +00:00
Markus Fischer
84b948a15f - FTP_BINARY is more common instead of FTP_IMAGE. 2002-01-03 07:57:58 +00:00
Thies C. Arntzen
21cc717bac protos fixes by Wolfgang Drews 2002-01-03 06:57:22 +00:00
Egon Schmid
e941df5d1a Please, no punctuation mark at the end of the description. 2002-01-03 05:55:22 +00:00
Zak Greant
8c8b49ed20 Adding key_exists alias for array_key_exists, at the request of One-Who-Shall-Not-Be-Named-Because-He-Is-On-Vacation 2002-01-02 21:21:48 +00:00
Markus Fischer
f7bd38413e - Corrected proto for ftp_connect() (new optional parameter for initial
custom timeout).
2002-01-02 15:01:15 +00:00
Markus Fischer
9bde60d148 - Added ftp_set_option(), ftp_get_option() and support for setting a
custom timeout.
# Adding custom buffer size would be next, no promises though.
2002-01-02 14:58:17 +00:00
jim winstead
8e6a16984a jpeg2wbmp,png2wbmp: fix prototypes; _php_image_convert: simplify argument count checking 2002-01-02 01:25:48 +00:00
Markus Fischer
83ccb3e511 - Fixed ftp_fget() and ftp_mkdir() protos. 2002-01-02 01:05:10 +00:00
Markus Fischer
7c197409ae - Corrected proto for ftp_fget(). 2002-01-02 00:42:11 +00:00
Markus Fischer
8559f372fd - Switched to zend_parse_parameters(), unified error/warning messages,
use real resources instead of integers, adjusted prototypes (hope I got
  them all).
2002-01-01 22:15:22 +00:00
Adam Dickmeiss
a1432aa89a Removal of non-essential parameters for non-piggyback search. 2002-01-01 14:09:03 +00:00
Jon Parise
a2d83ca4a4 Match the table style of the other single-row info entries. 2001-12-31 19:46:30 +00:00
Vlad Krupin
543077d915 Now dbase_pack() actually truncates the resulting .dbf file to the right
size (possibly fixing bug #6852 #3).
@Make dbase_pack() truncate the file to the right size. (Vlad)
2001-12-31 12:52:34 +00:00
Vlad Krupin
2f0cd79621 Verified and fixed bug 6852 #2. Now memo fields are 10 butes long, not 9.
That does not seem to affect how the code works except when creating a new
structure, in which case 'M' fields used to get created with size 9.
@Fixed bug 6852 #2. Mem fields are now 10 bytesin size, not 9. (Vlad)
2001-12-31 10:23:30 +00:00
Vlad Krupin
431c1f1d31 Verified and fixed bug 6852 #1. No more null byte after terminating 0x0D.
Verified that the problem is real when creating new files and writing
a record. Both fixed and old versions seem to be able to somehow read
and write already existing files properly though.
@Fixed bug 6852 #1. No more null byte after terminating 0x0D. (Vlad)
2001-12-31 09:13:08 +00:00
Egon Schmid
cc121adc54 Oops, missed one proto. 2001-12-31 05:37:19 +00:00
Egon Schmid
97e03e1573 Fixed some protos. 2001-12-31 05:25:30 +00:00
Egon Schmid
831dfbd011 Fixed some protos. 2001-12-31 04:57:25 +00:00
Georg Richter
69ce6a99a4 some prototypes changed 2001-12-30 19:14:12 +00:00
Zak Greant
f01745896f chdir: corrected proto, converted to zend_parse_parameters 2001-12-30 10:13:08 +00:00
Zak Greant
3ac1646ef2 Corrected bug in php_mysql_fetch_hash() that prevented columns with NULL values from having both numeric and associative indexes. (Bug 14291) 2001-12-30 10:00:26 +00:00
Zak Greant
59a45acca6 chroot: corrected prototype, converted to zend_parse_parameters 2001-12-30 09:50:41 +00:00
Zak Greant
2f6ffb545e Converted getenv to use zend_parse_parameters 2001-12-30 09:36:24 +00:00
Rui Hirokawa
427019cc76 added libfdftk for link path to make shared module. 2001-12-30 09:00:43 +00:00
Egon Schmid
adee5f9451 Fixed a proto. 2001-12-30 08:21:58 +00:00
Egon Schmid
9f69163453 Fixed some protos. 2001-12-30 08:12:29 +00:00
Egon Schmid
f347f25987 Fixed some protos. 2001-12-30 07:29:11 +00:00
Egon Schmid
a3e6298de3 Fixed some protos. 2001-12-30 06:46:53 +00:00
Yasuo Ohgaki
47e4a02a64 Get rid of error message
# These lines should be enabled when save handlers can be initialized
# before session module initialization.
2001-12-30 01:37:23 +00:00
Derick Rethans
57f3c395b8 - Removed is_array_multidimensional 2001-12-29 22:59:40 +00:00
Derick Rethans
ae07e93028 - Added test for recursive counting 2001-12-29 21:05:03 +00:00
Derick Rethans
cef0a461f9 - Added extra parameter to count() that recursively counts elements in an
array and added is_array_multidimensional(). (patch by Vlad Bosinceanu
  <glipy@fx.ro>)
2001-12-29 20:59:59 +00:00
Andi Gutmans
211d712c59 @ Fix bug in krsort() where an extra character was being compared (Andi)
- Fix bug in krsort() where an extra character was being compared (Andi)
2001-12-29 20:47:25 +00:00
Andi Gutmans
66d88ba07b - Fix bug in XML extension which exists due to a not perfect work around
- with ZE1. In ZE2 the correct code seems to work well.
2001-12-29 18:10:01 +00:00
Sebastian Bergmann
9063a96dfa PHP 4.0 -> PHP 4. Patch by Martin Jansen <mail@martin-jansen.de>. 2001-12-29 14:23:58 +00:00
Georg Richter
df9dc889e0 1) fixed bugs in soft label key functions
2) insert new slk-functions
3) defined new key-constants
2001-12-29 11:48:30 +00:00
Vlad Krupin
2f307b2a53 fixed bug preventing pspell from building when pspell header files are
located in an unusual (e.g. /usr/local/include/pspell) location.
@fixed bug that made pspell include pspell.h from a wrong location. (Vlad)
2001-12-29 01:50:10 +00:00
Georg Richter
87932e1e59 mouse support for ncurses added:
ncurses_getmouse, ncurses_ungetmouse, ncurses_mouse_trafo, ncurses_wmouse_trafo
2001-12-28 10:35:53 +00:00
Dan Kalowsky
b76eb3ae40 Making PHP compile again on MacOSX 10.1
# 10.1 does not have inet_pton support yet it seems so disabling it.
2001-12-27 15:42:05 +00:00
Georg Richter
9c133dd23e Added new functions: ncurses_waddstr, ncurses_wnoutrefresh, ncurses_wclear,
ncurses_wcolorset, ncurses_wgetch, ncurses_keypad, ncurses_wmove

minor changes in protos.

Special Thanx to Mathieu Kooiman for submitting his patches!
2001-12-27 08:49:12 +00:00
Stig Venaas
403350e41d unbreak parallel search 2001-12-26 18:40:57 +00:00
Rui Hirokawa
e72d606c36 added code to remove overloaded function in RSHUTDOWN. 2001-12-26 15:21:13 +00:00
Derick Rethans
08c69a5aac - Fix for bug 14690 2001-12-26 10:01:50 +00:00
Yasuo Ohgaki
fe81186629 Fix crash with external session save handlers
# This fixes only a little issue with sub modules
# More fixes are needed to make sub modules work correctly.
# 4.1.x also has the same problem....
2001-12-26 01:55:54 +00:00
Mark L. Woodward
05fd3d04f3 Moved "ifdef HAVE_PHP_SESSION" oops! 2001-12-26 00:50:09 +00:00
Georg Richter
1ca88c9276 activated ncurses_instr
New functions: ncurses_longname, ncurses_termname, ncurses_mousemask
2001-12-25 23:30:55 +00:00
Stig Venaas
a05e74cd29 Added check for ldap_parse_reference() (needed for broken Solaris 2.8), and
report more detailed library version info in the info function.
2001-12-25 14:36:06 +00:00
Georg Richter
ae090a31a5 functions ncurses_erasechar, ncurses_inch, mcurses_killchar:
changed return values from bool to string (char)
2001-12-25 13:34:06 +00:00
Sterling Hughes
85fa03aab3 Avoid a segfault when 0 bytes are returned from a website, and RETURNTRANSFER is enabled. 2001-12-24 13:58:03 +00:00
Mark L. Woodward
04999445d7 Major cleanup 2001-12-23 19:58:22 +00:00
Mark L. Woodward
5514a3e582 A php script which shows how to use msession with PHP sessions 2001-12-23 19:58:00 +00:00
Mark L. Woodward
84d3bfc0ea Added php.ini entry info. 2001-12-23 19:57:33 +00:00
Stig Venaas
ed942af693 Made ldap_set_option work with NULL as link, added option
LDAP_OPT_DEBUG_LEVEL for those that support it, and made sure the rebind
code is currently included for OpenLDAP only.
2001-12-23 16:32:06 +00:00
Markus Fischer
7cf14fb1e1 - Fix tiny leak. 2001-12-23 15:56:41 +00:00
Rui Hirokawa
8488a5a475 @added function overload in mbstring to add multibyte support for string and mail functions. 2001-12-23 15:32:08 +00:00
Alex Waugh
57d2cec170 Check for ushort 2001-12-23 14:37:24 +00:00
Mark L. Woodward
c20deee43d Renamed msession_getdata and msession_setdata to
msession_get_data and msession_set_data respectively.
2001-12-23 02:22:09 +00:00
Derick Rethans
b498ec567c - Fix for bug 14554 - segfault upon zip_entry_open. (patch by
phpbug@robin.pfft.net)
2001-12-23 01:59:10 +00:00
Alex Waugh
e320de1e2e Undefine AF_UNIX under RISC OS 2001-12-23 00:46:13 +00:00
Alex Waugh
3b09117535 Cache results of check for int8 2001-12-23 00:41:27 +00:00
Hartmut Holzgraefe
ebe7376243 re-added prototype folding hooks 2001-12-22 18:54:40 +00:00
Hartmut Holzgraefe
0d69607ebd *now* it is backwards compatible ... 2001-12-22 18:47:59 +00:00
Mark L. Woodward
dc474647e9 Toned down a comment that was written in the heat of the moment. 2001-12-22 13:33:19 +00:00
Derick Rethans
e8f3e3ffa0 - Let ceil also return a float in every case 2001-12-22 11:53:29 +00:00
Derick Rethans
6729156450 - Add test for floor and ceil 2001-12-22 11:52:56 +00:00
Zak Greant
2c9f5d8a91 Modified array_walk, arsort, asort, krsort, ksort, rsort, shuffle, sort,
uasort, uksort and usort.

Corrected prototype comments for all.

Converted to use zend_parse_parameters, except for the u.?sort functions.

Changed return values for failure from implicit NULL to explicit FALSE in
asort(), krsort(), and ksort().

Changed pval to zval in the u.?sort functions.

Added test to help ensure that fixes to code do not change function
behavior. Tests are quite large (~237k) but compress down to ~16k.
Please let me know if this is a problem!
2001-12-22 11:49:56 +00:00
Zeev Suraski
431c793e0c Fix a warning 2001-12-22 03:04:32 +00:00
Zeev Suraski
2f8284ca0a Fix a warning and remove a printf() that slipped in... 2001-12-22 03:04:14 +00:00
Mark L. Woodward
f6c98834ea Added msession_call 2001-12-22 02:10:43 +00:00
Mark L. Woodward
1c057aaf67 reverted chages
Restored zend_get_parameters_ex
Put back ansi brackets
Added author note.
Added msession_call
2001-12-22 02:10:19 +00:00
Derick Rethans
ca1bcd9ac3 - Fix for bug #14646, floor() always returns a float now. 2001-12-21 16:38:49 +00:00
Markus Fischer
ba1d89b386 - Typo. 2001-12-21 12:57:17 +00:00
Derick Rethans
e5c08b815f - Added open basedir checks to file functions. (Patch by
Christoph Kassen <chkassen@chkassen.de>)
2001-12-21 08:04:21 +00:00
Sean Bright
25058db066 Use memset() instead. 2001-12-21 03:50:07 +00:00
Sean Bright
33730ca2b9 Initialize variable to avoid bogus data and possible segfault. 2001-12-21 03:10:11 +00:00
Sean Bright
0ca4f69d31 Switched some functions to use zend_parse_parameters, cleaned up some
unused variables and some whitespace work.
2001-12-21 01:53:25 +00:00
Sebastian Bergmann
825198e7f7 Update header. 2001-12-20 17:08:16 +00:00
Colin Viebrock
0222aed97b Add headers and Id lines 2001-12-20 16:50:49 +00:00
Markus Fischer
529761f0f7 - Fix crash with EntityRef nodes (and properly support them). 2001-12-20 14:40:43 +00:00
Yasuo Ohgaki
d9149f023d Added when experimental functions are added. 2001-12-20 02:31:44 +00:00
Yasuo Ohgaki
806f578365 Updated README. Module will not cancel queued query sent. 2001-12-19 05:57:57 +00:00
Yasuo Ohgaki
4ae3af8a3c Do not cancel queued query automatically. 2001-12-19 05:41:26 +00:00
Yasuo Ohgaki
8e52216b2e More proper error message.
Remove old lines that aren't needed.
2001-12-18 23:52:55 +00:00
Yasuo Ohgaki
ee012b03c1 Get rid of useless path from seach path 2001-12-18 23:47:12 +00:00
Andrei Zmievski
0858fb4b73 @- Added flags parameter to preg_grep(). The only flag currently is
@  PREG_GREP_INVERT that will make the function return entries that
@  did not match. (Andrei)
2001-12-18 19:17:57 +00:00
Frank M. Kromann
92e1241ca9 Adding missing define, needed to build with FrontBase 3.4 and later 2001-12-18 17:40:17 +00:00
Hartmut Holzgraefe
7dd8ded152 typo fix 2001-12-18 11:16:53 +00:00
Hartmut Holzgraefe
dcda91c1a1 proto fix 2001-12-17 21:01:06 +00:00
Derick Rethans
e51ce799af - Try to be a little bit more sane dealing backwards compability 2001-12-17 20:18:16 +00:00
Hartmut Holzgraefe
f0c0b88fdd proto fix 2001-12-17 20:06:29 +00:00
Rui Hirokawa
1524fa7287 output encoding translation turn off in mb_output_handler() when non-text (binary) data was sent.(Patched by Kanemoto.) 2001-12-17 15:30:08 +00:00
Hartmut Holzgraefe
a16b64b7aa yet another proto fix 2001-12-17 12:14:46 +00:00
Hartmut Holzgraefe
eb42e4a847 proto fixes 2001-12-17 11:53:38 +00:00
Hartmut Holzgraefe
67d9cd6975 proto fix 2001-12-17 11:48:07 +00:00
Hartmut Holzgraefe
8a13c8788e added proto descriptions 2001-12-17 10:59:52 +00:00
Yasuo Ohgaki
3778705036 Actually drop test table.
# name is dropdb since it may be changed to actually destory test db
2001-12-17 02:20:43 +00:00
Yasuo Ohgaki
0f12a9ca33 Use database named test for testing 2001-12-17 02:09:07 +00:00
Yasuo Ohgaki
ff219f1f21 Fix compile error 2001-12-17 01:03:52 +00:00
Yasuo Ohgaki
1fc2a27fa5 Funtion rename:
Functions are renamed accoding to coding stanard. Some functions has
completely different name now.
New functions:
pg_copy_to()/pg_copy_from() - by Youichi Iwakiri <yiwakiri@st.rim.or.jp>
pg_lo_tell()/pg_lo_seek()/pg_result_error()/pg_result_status()
pg_escape_string()/pg_escape_bytea() - Only pgsql 7.2 or later.
Fixed:
Wrong mode when clean up connection resource.
Compiler warning for pg_encoding_to_char().
# Please do not document new functions, yet.
# For new functions and other info, please read README
# in module dir.
2001-12-17 00:24:59 +00:00
Yasuo Ohgaki
9a40810c85 Added test files 2001-12-17 00:16:48 +00:00
Rui Hirokawa
26e30dc606 added an option mbstring.func_overload to overload some function by multibyte enabled version of function in mbstring. 2001-12-16 22:58:24 +00:00
Yasuo Ohgaki
13dbb1553c README update
Raise error for bogus installation path for --with-pgsql
Added check for pg_escape_*
2001-12-16 15:36:33 +00:00
Derick Rethans
d578e05f96 Mail should go to php-dev 2001-12-16 13:04:02 +00:00
Derick Rethans
3709eb6ab2 - Fix for bug #14544, bogus warning in pow()
#- I think I do not need to tell who screwed this up....
2001-12-16 10:59:20 +00:00
Hartmut Holzgraefe
424679e9fb proto fixes 2001-12-16 10:18:45 +00:00
Hartmut Holzgraefe
afba31f440 proto fixes 2001-12-16 09:56:01 +00:00
Zeev Suraski
9590c5173c Fix bug #13456 - I'm unable to actually test it 2001-12-15 17:09:37 +00:00
Derick Rethans
f5f4a5cf37 - TSRMLS here and there, it's all about the Windows flair 2001-12-15 14:55:18 +00:00
Derick Rethans
143df7de6b - Added a second parameter to var_export which makes the function return
the variable representation in a string.
2001-12-15 14:45:59 +00:00
Hartmut Holzgraefe
052d5fc85d proto fix 2001-12-15 14:23:07 +00:00
Hartmut Holzgraefe
c51651dee2 proto fixes 2001-12-15 14:22:59 +00:00
Hartmut Holzgraefe
57c7f0ab5c cleanup 2001-12-15 14:20:41 +00:00
Hartmut Holzgraefe
1c23d93135 removed a stray proto comment 2001-12-15 14:20:00 +00:00
Hartmut Holzgraefe
43d0919298 improved xml generatioimproved xml generation 2001-12-15 14:19:13 +00:00
Hartmut Holzgraefe
72c7872e7f proto fix 2001-12-15 14:12:33 +00:00
Derick Rethans
9f6ff716c1 - Added TODO file 2001-12-15 13:18:51 +00:00
Derick Rethans
856c9fa57b - Fix for bug 14162, invalidate the resource then mcrypt_generic_init fails 2001-12-15 13:17:55 +00:00
Markus Fischer
e1d33db97f - Damn Typo. 2001-12-14 21:03:06 +00:00