Commit Graph

14126 Commits

Author SHA1 Message Date
Wez Furlong
826583dc91 Nicer error message when an invalid function name is specified. 2003-04-17 03:38:20 +00:00
Wez Furlong
f7dbd9d909 Prep for release. 2003-04-17 03:19:33 +00:00
Wez Furlong
1c3b2a28d1 Update TODO and example.
Hide phpize crap from CVS
2003-04-17 03:15:13 +00:00
Wez Furlong
c73e304dc2 Implement a php function so that the following SQL can be used:
SELECT php('md5', sql) from sqlite_master

The php function has takes the name of a php function to call as the first
parameter; each additional parameter is passed on to the function, much like
call_user_func().

You can call both built-in and script-defined functions in this way.
2003-04-17 03:14:14 +00:00
foobar
2cd55ce73b touch 2003-04-17 02:54:23 +00:00
foobar
b319982868 add missing header 2003-04-17 02:53:32 +00:00
foobar
85874549d6 touch 2003-04-17 02:45:10 +00:00
Wez Furlong
5e0b9bb451 Implement sqlite_escape_string() function. 2003-04-17 02:20:26 +00:00
Wez Furlong
2d14d8b520 Implement safe_mode and open_basedir checks.
Add package.xml
2003-04-17 01:57:55 +00:00
Wez Furlong
cc5903adb4 Add readme and todo 2003-04-17 01:37:42 +00:00
Wez Furlong
25954d1d72 This commit was generated by cvs2svn to compensate for changes in r123706,
which included commits to RCS files with non-trunk default branches.
2003-04-17 01:29:45 +00:00
Moriyoshi Koizumi
0c5548e636 Fixed implicit cast issue with is*() and to*() functions 2003-04-16 21:40:48 +00:00
Moriyoshi Koizumi
0ad2fc2007 Fixed bug #19795
# to*() and is*() expect for their arguments an integer in range of 0 - 255
2003-04-16 21:10:29 +00:00
Moriyoshi Koizumi
ccbec3e56c Fixed typo 2003-04-16 20:00:46 +00:00
Moriyoshi Koizumi
8e15c4daff compiler warning fix and possible 64bit fix 2003-04-16 19:18:35 +00:00
Moriyoshi Koizumi
ec91e86850 Fixed bug #23080 2003-04-16 17:31:31 +00:00
Moriyoshi Koizumi
2a31fa0569 Fixed memleak 2003-04-16 15:10:01 +00:00
Moriyoshi Koizumi
6dd17c380d Added missing sanity check 2003-04-16 14:55:25 +00:00
Moriyoshi Koizumi
49b43ad115 Changed stream filter factory to be capable of accepting a zval as a parameter
instead of a string
2003-04-16 14:30:25 +00:00
Sascha Schumann
0bda867fe7 Simplify use of this header in external apps 2003-04-16 09:14:32 +00:00
Marcus Boerger
8363658641 Change to use safe_emalloc() and provide macro for now 2003-04-16 06:10:41 +00:00
foobar
b02dd10e03 SKIP -> SKIPIF 2003-04-16 02:21:30 +00:00
Ilia Alshanetsky
7f8bd25fcc Fixed bug #23225 (money_format() didn't handle erroneous return of strfmon)
# Initial patch proposed by marcot@tabini.ca
2003-04-16 01:07:03 +00:00
Ilia Alshanetsky
56e44a4fc2 Fixed bug #22939 (crash in imap_header_info()). 2003-04-16 00:58:30 +00:00
Ilia Alshanetsky
7d2b4cab36 Cleaner error handling. 2003-04-15 01:48:02 +00:00
Ilia Alshanetsky
f1bd3d539f Fixed bug #23187 (memory leaks in sybase_connect/sybase_pconnect).
Intial patch by: fukusaka@xa2.so-net.ne.jp
2003-04-15 00:59:42 +00:00
Marcus Boerger
da540a4d3b Fixed Bug #23188 CDB databases created with 'c' mode do not work. 2003-04-14 21:50:48 +00:00
Ilia Alshanetsky
3d6fccc08c Fixed bug #23152 ($http_response_header empty on invalid URLs) 2003-04-14 13:55:34 +00:00
Sara Golemon
9103aac254 Modify str_replace/str_ireplace to report how many needles were matched. (FR #8218) 2003-04-13 22:59:19 +00:00
Marcus Boerger
268ffda27d Reenable dba_popen() 2003-04-13 19:50:28 +00:00
Sergey Kartashoff
b296a3bd64 - Udm_Make_Excerpt has been fixed to be compatible with mnogosearch-3.2.10+ 2003-04-13 17:52:25 +00:00
Moriyoshi Koizumi
560efa10c0 Forgot about this one :) 2003-04-12 21:56:08 +00:00
Moriyoshi Koizumi
fa0ac8a273 Made dirname() binary-safe. 2003-04-12 21:53:46 +00:00
Sara Golemon
76965beb04 Add tests for strrpos/stripos, and minor fix to maintain BC for condition with empty needles/haystacks 2003-04-12 20:04:06 +00:00
Sara Golemon
0b5c1112c5 Rewrite strrpos and strripos to be binary safe and behave the way their prototype suggests (also like their counterparts strpos and stripos) i.e.: Allow string needles rather than just characters 2003-04-12 07:36:22 +00:00
Derick Rethans
a802e0d6b3 - Fixed protos 2003-04-11 09:53:01 +00:00
Hartmut Holzgraefe
e06fdaae8b accept possible leaks for now to make SELECTS with both bound parameters
and results again ...
2003-04-11 04:41:52 +00:00
Hartmut Holzgraefe
a1ff81d277 proto fix 2003-04-11 04:30:29 +00:00
Hartmut Holzgraefe
2f26d2b693 parameter count for bind stuff is different in OO interface 2003-04-11 04:29:28 +00:00
Sara Golemon
8da5e8e48e Export constants to userland 2003-04-11 02:55:00 +00:00
Ilia Alshanetsky
4fbd27252d Fixed integer overflow inside mhash_keygen_s2k(). 2003-04-11 02:40:21 +00:00
Christian Stocker
aa09b09e1a - More TSRMLS stuff.
- Fixed memleaks in domxml_doc_add_root, domxml_xslt_stylesheet
  and domxml_xslt_stylesheet_doc
- Completed implementation of domxml_doc_imported_node.
2003-04-10 12:45:38 +00:00
Ilia Alshanetsky
8a9ff734a0 Fixed a crash in the query tracer output due to buffer overflow.
Fixed a crash in notice message for unbuffered query.
2003-04-10 04:35:39 +00:00
Marcus Boerger
1cdd29eeef Fix ZTS build and warnings 2003-04-09 19:14:44 +00:00
Rasmus Lerdorf
861679d6c3 MFB: Forgotten _FORM -> _REQUEST change 2003-04-09 17:46:42 +00:00
Derick Rethans
429ae4e821 - Fixed printing the version string if it includes zend extensions in
text-mode
2003-04-09 15:19:07 +00:00
Edin Kadribasic
45d27aab68 *** empty log message *** 2003-04-09 12:03:58 +00:00
Christian Stocker
6f9d53e02d - Fixed some memleaks when using attributes
- Added attrnode->set_value()
(by Rob Richards)
2003-04-09 07:29:39 +00:00
Ilia Alshanetsky
7029ef01b3 Added missing bit from gd2.0.12 sync. 2003-04-09 01:55:48 +00:00
Sara Golemon
87c5019dd2 Switch file_put_contents 'bool use_include_path' to 'int flags' to allow other options such as appending 2003-04-08 23:24:53 +00:00
Sara Golemon
41d4fcd0da Add context support to file_put_contents() and readfile(), convert readfile() to zend_parse_parameters usage, fix proto for file_put_contents() 2003-04-08 22:10:15 +00:00
Sara Golemon
1e853b74a3 Added context support to file() 2003-04-08 21:00:07 +00:00
Christian Stocker
7a14e6358a fixes memleaks in element->get_elements_by_tagname & document->get_elements_by_tagname 2003-04-08 19:30:27 +00:00
Christian Stocker
b99146a5c7 make it possible to free DomHtmlDocuments as well 2003-04-08 17:22:19 +00:00
Andrei Zmievski
b18542ba68 Remove php_memnstr (it's in ZE now). 2003-04-08 17:15:43 +00:00
Christian Stocker
50f5fcb0fe make it compile .... 2003-04-08 14:29:15 +00:00
foobar
a45b4258f0 file_set_contents -> file_put_contents 2003-04-08 14:12:52 +00:00
Christian Stocker
2c3dc13027 - Fixes a bunch of memleaks, especially with attributes (by Rob Richards and me)
- Added domdocument->free() for freeing documents during script-time
#will later merge to PHP_4_3
2003-04-08 13:19:49 +00:00
Sebastian Bergmann
11f53cd111 Fix Win32 build. 2003-04-08 07:36:58 +00:00
Ilia Alshanetsky
b2e521a178 Fixed bug #23102 (integer overflow in exif_iif_add_value()). 2003-04-08 00:18:57 +00:00
Sara Golemon
8001f2922c Add context support to file_get_contents 2003-04-08 00:02:47 +00:00
Sara Golemon
70155b6dcf Introduce support for context options 'method', 'header', 'content' 2003-04-07 21:02:04 +00:00
foobar
c3e90bd6ed Fixed bug #23071 (when DST in effect, date("T") crashed PHP) 2003-04-06 22:37:45 +00:00
Marcus Boerger
448d361290 Collate version handling and bump up version (noticed by Peter Neuman) 2003-04-05 20:43:53 +00:00
Christian Stocker
5dc852e734 @- Added domxml_doc_create_document_fragment() and
@    domxml_document_fragment_open_mem(string) method (Christian)
Useful for adding and parsing (well-balanced) document fragments.
- Bumped up API version number
2003-04-05 19:56:41 +00:00
foobar
78365069f0 Better ifdef it out here too 2003-04-05 17:33:55 +00:00
Sara Golemon
a8711474c0 Debug watches probably don't belong in CVS. 2003-04-05 17:31:34 +00:00
Ilia Alshanetsky
61026e391c Syncronized bunbled GD library with gd 2.0.12
# One very useful feature that I still need to add support for in our
# interface to the lib is the support for png compression for imagepng().
2003-04-05 17:23:55 +00:00
Sascha Schumann
4226fe67d1 dividend -> divisor
Submitted by: Jesus M. Castagnetto <jmcastagnetto@yahoo.com>
2003-04-05 11:22:15 +00:00
Brian France
031aef1e0c Added HAVE_CONFIG_H check so the phpize build method works 2003-04-05 08:14:56 +00:00
Wez Furlong
c64256e671 Warning fix 2003-04-04 21:09:25 +00:00
Sara Golemon
a65564f0fa User shouldn't have to initialize this pass-by-ref parameter 2003-04-04 20:43:36 +00:00
foobar
cbb98284da - Fixed bug #22944 (--with-java "make install" fails) 2003-04-04 17:42:46 +00:00
Sterling Hughes
335a1c1a6d forgot to commit this. 2003-04-04 16:00:33 +00:00
foobar
9fbb5b5327 Check that t1lib has T1_StrError 2003-04-04 15:56:10 +00:00
foobar
392f3c2d7c - Checks specific to some extension belong in the extension's config.m4 2003-04-04 15:42:54 +00:00
Moriyoshi Koizumi
da4cf6f9d8 Fixed memleak in socket_select 2003-04-04 14:16:59 +00:00
Moriyoshi Koizumi
b78e3c5155 Added cmsghdr check. Now sockets extension can be built under cygwin. 2003-04-04 13:02:43 +00:00
Moriyoshi Koizumi
d1b82409c3 Added missing sanity check, which was causing segfault. 2003-04-04 09:06:23 +00:00
Wez Furlong
0148c0cb02 Simplify and enhance readability. 2003-04-04 08:57:40 +00:00
Sara Golemon
b2d4514580 Added stream_get_transports() 2003-04-04 05:21:03 +00:00
Ilia Alshanetsky
5ec34bcd82 Might as well disallow 0x0 images.
Thanks Marcus.
2003-04-04 01:33:57 +00:00
Ilia Alshanetsky
925bc0fd7d Fix segfault in imagecopyresized(). 2003-04-04 00:16:47 +00:00
foobar
74868f3a45 - Better errors for T1lib.
- Sanity check into imagepsextendfont().
# Patches by John Coggeshall <john@coggeshall.org>
2003-04-04 00:09:23 +00:00
foobar
2063094acc Use php_error_docref. 2003-04-03 23:10:08 +00:00
Rasmus Lerdorf
7461f1f45a MFB 2003-04-03 22:45:25 +00:00
Sascha Schumann
c2e2423838 Fix segfaults in imagecreate/imagecreatetruecolor 2003-04-03 19:18:57 +00:00
Sara Golemon
465bb61357 Kludgy fix for floating point drift causing problems like range(1.0,1.5,0.1) == array(1.0,1.1,1.2,1.3,1.4); 2003-04-03 18:33:05 +00:00
Sascha Schumann
7e7bbb751e Prevent entering of anything but arrays/strings in register_shutdown_func
Noticed by: Jan Schneider
2003-04-03 18:09:41 +00:00
Christian Stocker
630a00dda6 - Added domxml_elem_set_attribute_node() method. (Rob Richards) 2003-04-03 10:21:19 +00:00
Georg Richter
05e02eb27b fixed mysqli_prepare_result 2003-04-03 08:03:59 +00:00
Georg Richter
130860e709 fixed output 2003-04-03 08:03:12 +00:00
Derick Rethans
6412e65bf9 - CS 2003-04-03 06:21:59 +00:00
foobar
c94eeb9fad Another CS fix.
# Rasmus, at least try keep the style consistent..
2003-04-03 01:16:34 +00:00
foobar
16da825c7c CS fix 2003-04-03 01:12:47 +00:00
Moriyoshi Koizumi
cb38be1bd2 Fixed segfault in xml_parser_create()
# due to too many %s in printf spec
2003-04-03 01:00:45 +00:00
Ilia Alshanetsky
6965f229a6 MFH 2003-04-03 00:55:56 +00:00
Moriyoshi Koizumi
8784a497b8 Fixed segfault in mb_ereg_match() 2003-04-03 00:15:13 +00:00
Moriyoshi Koizumi
8b539ed766 Fixed lots of crashes in mbregex.
# most of them were caused by stupid mistakes
2003-04-03 00:01:44 +00:00
Rasmus Lerdorf
1dba0c1ba7 MFB: Check for negative precision 2003-04-02 23:51:52 +00:00
Rasmus Lerdorf
066a68d7fa MFB: Fix unregister_tick_function crash 2003-04-02 23:11:31 +00:00
Georg Richter
625df86428 fixed expected output 2003-04-02 22:07:27 +00:00
Rasmus Lerdorf
716142c4ea MFB: Get rid of bogus dtors 2003-04-02 22:07:22 +00:00
Rasmus Lerdorf
1612ffad05 MFB: Fix the setlocale() segfault 2003-04-02 21:33:02 +00:00
Sterling Hughes
bb7c2ddb23 add the ability for curl_multi_info to introspect the handles.
# Zend commit doesn't break anything, so I'm committing it.  If anyone
# has problems, just speak up. :)
2003-04-02 16:58:52 +00:00
Colin Viebrock
4888473efa fixes for logo guid functions 2003-04-02 16:51:40 +00:00
Edin Kadribasic
f773cd8fea Fixed bug #23008 2003-04-02 12:36:03 +00:00
Christian Stocker
19771e0433 Patch for Bug #22774 by Rob Richards 2003-04-02 10:31:33 +00:00
Sara Golemon
c249c67178 New test for userfilters rewrite 2003-04-02 00:41:09 +00:00
Ilia Alshanetsky
aab9718253 Fixed possible integer overflow in str_repeat(). 2003-04-02 00:25:45 +00:00
Jay Smith
dcf0c70950 Fix 'timestamp without timezone', too. 2003-04-01 23:56:16 +00:00
Marcus Boerger
ccfcd0d411 Fix 'time with timezone', too 2003-04-01 23:34:11 +00:00
Jay Smith
cff236c4a6 Fixed bug #23009 (pg_select with timestamp) 2003-04-01 23:26:10 +00:00
Rasmus Lerdorf
4b343a0562 MFB 2003-04-01 21:47:21 +00:00
Moriyoshi Koizumi
6301bd9b95 Fixed bogus test 2003-04-01 19:47:33 +00:00
Rasmus Lerdorf
20ea550235 MFB 2003-04-01 19:12:32 +00:00
Moriyoshi Koizumi
b302824171 Added a test case for bug #22538 2003-04-01 19:10:04 +00:00
Moriyoshi Koizumi
2954ea0a01 oops 2003-04-01 18:56:59 +00:00
Moriyoshi Koizumi
1bb22a8bd0 Reverted the last patch; the problem is elsewhere.. 2003-04-01 18:56:26 +00:00
Rasmus Lerdorf
423147c194 MFB 2003-04-01 18:50:31 +00:00
Moriyoshi Koizumi
df22d1016f Fixed crash that occurs due to an abused persistent hashtable.
# thanks Sascha again.
2003-04-01 18:44:00 +00:00
Moshe Doron
3c982dea22 oops 2003-04-01 12:54:35 +00:00
Moshe Doron
d8b5687925 revert due the last string.c revert 2003-04-01 12:53:44 +00:00
Moshe Doron
31bd24860c revert last commit for now 2003-04-01 12:46:01 +00:00
Moriyoshi Koizumi
6eaa47854e Fixed crash in mb_convert_encoding() that occurs when a void array is
passed as the third parameter
2003-04-01 11:49:30 +00:00
Thies C. Arntzen
60214a0338 *** empty log message *** 2003-04-01 11:04:38 +00:00
Sascha Schumann
1879b27fc6 fix VPATH builds 2003-04-01 10:16:12 +00:00
Sascha Schumann
cc39646730 Fix segfault in register_shutdown_function 2003-04-01 10:02:29 +00:00
Sara Golemon
48c947389e Bug #22962 2003-04-01 06:21:54 +00:00
Sebastian Bergmann
b8e3e0bfe3 Sorry Sterling, but this broke the ZTS build and I'd rather not 'ZTS fix' an April's Fool joke. 2003-04-01 05:30:32 +00:00
Sterling Hughes
53d90d8b9b Add the landonize() and landonize_url() functions which provide a secure
alternative to the sha1() and sha1_file() functions.
2003-04-01 05:01:50 +00:00
Moriyoshi Koizumi
93386a8b09 oops 2003-03-31 23:49:53 +00:00
Moriyoshi Koizumi
e8f13586a7 Fixed test; in ZE2, all the properties used in any methods are populated
at compile time.
2003-03-31 22:54:18 +00:00
Moriyoshi Koizumi
383808e9d3 Fixed proto to sync with the documentation 2003-03-31 20:36:46 +00:00
Moriyoshi Koizumi
4932306f94 Rearranged search order for the magic file to avoid further confusions 2003-03-31 19:48:53 +00:00
Moshe Doron
64bd1cdbd6 # make derik happy 2003-03-31 19:01:43 +00:00
Moshe Doron
dc8daad70d fix for 22904
@ now addslashes() do it also on cybase magic mode(moshe).
2003-03-31 18:56:41 +00:00
Wez Furlong
16dae2eba0 Fix const warning 2003-03-31 17:58:29 +00:00
Moshe Doron
5c3a073c07 # unnecessary condition here. 2003-03-31 12:08:31 +00:00
foobar
1d3542a6bc cleanup 2003-03-31 08:49:19 +00:00
Sascha Schumann
0481896ff7 TS issue, noticed by Sebastian Bergmann 2003-03-31 05:39:25 +00:00
Sascha Schumann
cb3c506639 Ensure that the seed function has been called, even if we are used by
another module's request init function.

Noticed by: marcus.boerger@t-online.de
2003-03-31 03:24:18 +00:00
Derick Rethans
07dd6f49ff - Typo and some whitespace 2003-03-30 22:29:22 +00:00
Derick Rethans
27496361d5 - Added optional parameter to openssl_sign() to specify the hashing
algorithm to use. (Patch by Scott <scott@planetscott.ca>)
@- Added optional parameter to openssl_sign() to specify the hashing
@  algorithm to use. (scott@planetscott.ca, Derick)
2003-03-30 22:25:23 +00:00
Ilia Alshanetsky
feba44546c Fixed bug #22965 (Crash in gd lib's ImageFillToBorder()). 2003-03-30 20:48:05 +00:00
Georg Richter
e3bf2f5c9c changed constant name 2003-03-30 15:28:21 +00:00
Georg Richter
7ff2c00be8 changed macro 2003-03-30 13:51:06 +00:00
Sebastian Bergmann
38491e487f --+_ 2003-03-30 09:24:40 +00:00
Moriyoshi Koizumi
47e40e1b98 Improved var_dump() and debug_zval_dump() so they also show the
namespace of the given object.
2003-03-29 21:29:22 +00:00
Moriyoshi Koizumi
9e6fdcd8f6 Fixed test cases so they wouldn't be failed in case register_globals=on 2003-03-29 07:13:47 +00:00
Ilia Alshanetsky
0e73275429 CS 2003-03-28 14:31:31 +00:00
David Hill
60a7aef6e9 Changing parsedate to be reentrant using pure_parser (Dave) 2003-03-28 13:10:52 +00:00
Moriyoshi Koizumi
8bdef0dda5 Removed redundant aliases & CS fix. 2003-03-28 03:38:13 +00:00
Harald Radi
f629da9384 MFB ext/com
fix #22899
invoke is called twice
2003-03-27 19:56:59 +00:00
Ilia Alshanetsky
3db5278dcc CS 2003-03-27 18:57:53 +00:00
David Hill
86569cb154 Backing out part of TZ change 2003-03-27 14:23:48 +00:00
Edin Kadribasic
688c24bcaa MFB 2003-03-27 13:30:40 +00:00
David Hill
1fa7504fae Changing TZ to match Unix98 standard to make Tru64 happy 2003-03-26 16:42:03 +00:00
Sebastian Bergmann
3fc852824f Eliminate TSRMLS_FETCH() calls in destroy_op_array() and zend_get_class_entry(). 2003-03-26 07:44:11 +00:00
Sebastian Bergmann
a9b479612f Eliminate TSRMLS_FETCH() call in php_find_gd_font(). 2003-03-26 06:30:45 +00:00
Edin Kadribasic
d52937b8e7 MFB: php_gd.dll is no longer bult and the bundled library is always used. 2003-03-25 10:30:58 +00:00
Sebastian Bergmann
5ca078779a Eliminate some TSRMLS_FETCH() calls. Tested with Win32 build of SAPI/CGI and SAPI/CLI on Win32. 2003-03-25 08:07:13 +00:00
Edin Kadribasic
96e9337fc8 MFB 2003-03-24 21:49:46 +00:00
Moriyoshi Koizumi
570e929d49 Fixed bug #22834 (compile failure due to ugly implicit casts) 2003-03-24 21:22:23 +00:00
Moriyoshi Koizumi
03a5129429 oops... 2003-03-24 19:24:35 +00:00
Moriyoshi Koizumi
68b03bde3a Added test cases for new functionality 2003-03-24 19:21:20 +00:00
Moriyoshi Koizumi
93b250f923 Added koi8-r, cp866, and cp1251 support for htmlentities 2003-03-24 19:13:02 +00:00
Ilia Alshanetsky
5c159052bf Added missing header that prevents successful compilation. 2003-03-24 15:21:53 +00:00
foobar
0b4784d951 Fixed bug #18640 properly 2003-03-24 10:18:00 +00:00
Georg Richter
e43e219e46 changed method name 2003-03-24 07:43:28 +00:00
Alex Waugh
d403ed4bc3 Fix linkage of symbols. 2003-03-23 21:58:03 +00:00
Shane Caraveo
456b6cbeab The environment should *never* be magic quoted. 2003-03-23 19:30:31 +00:00
Wez Furlong
badd5fb6fd Fix curl detection when multiple installations exist 2003-03-23 18:14:41 +00:00
Moriyoshi Koizumi
9c038be621 Added some compiler check 2003-03-23 01:44:58 +00:00
Moriyoshi Koizumi
0d2bd85a61 Fixed win32 build, which fails with non-SBCS-compatible locale settings. 2003-03-22 23:31:52 +00:00
Sterling Hughes
0a4282eabf fix segfault in file_set_contents() when the file could not successfully
be opened.
2003-03-21 22:22:15 +00:00
Marcus Boerger
f83c88e81d Add missing initialization 2003-03-21 18:08:59 +00:00
Sterling Hughes
ecef1df39c This broke the xml extension, and pres2, commented out for now 2003-03-21 05:26:56 +00:00
Marcus Boerger
49adbd1ef6 missing TSRMLS_FETCH 2003-03-20 20:03:21 +00:00
Marcus Boerger
f14a65c7b9 CS 2003-03-20 19:54:22 +00:00
Christian Stocker
0cc4b081a3 fix for bug #22786 ("Crash when trying to call DomAttribute's set_namespace method") 2003-03-20 09:48:19 +00:00
foobar
6638543a72 WS & CS fixes.. 2003-03-20 01:27:40 +00:00
foobar
c8791084db CS fix 2003-03-20 01:17:05 +00:00
foobar
0af32bc1ac WS & CS fixes 2003-03-20 01:12:57 +00:00
foobar
fb2c346be1 WS & CS fixes 2003-03-20 00:37:12 +00:00
foobar
eccecff5f9 WS & CS fixes 2003-03-20 00:22:57 +00:00
foobar
6a6e0151c5 Better config.m4.. 2003-03-19 23:52:45 +00:00
foobar
9ff622f268 And this too.. 2003-03-19 23:10:27 +00:00
foobar
efe365abdc Andrei forgot this.. 2003-03-19 23:08:58 +00:00
Wez Furlong
0fd995f9fc Add the mode string that was used to open the stream to the meta data,
as requested by Philip Olson.
2003-03-18 23:45:27 +00:00
Wez Furlong
86fb577d59 Implement persistent plain file streams.
Usage:

php_stream *stream = php_stream_fopen("/path/to/file", "r+b", NULL,
	STREAM_OPEN_PERSISTENT | ENFORCE_SAFE_MODE | REPORT_ERRORS);

the filename and mode are combined to form the hash key for the persistent
list; they must be identical for this same stream to be returned again in the
next request.

Calling php_stream_close() on a persistent stream *will* close it, as is
usual with all persistent resources in PHP/ZE.

This is deliberately *not* exposed to user-space PHP at this time.
2003-03-18 23:37:54 +00:00
Jay Smith
c0d1508ec8 get_browser() needs to use zend_is_auto_global() on _SERVER. 2003-03-18 21:49:01 +00:00
Marcus Boerger
3e621fac94 make phpinfo() depend on executed sapi 2003-03-18 20:52:52 +00:00
Ilia Alshanetsky
d29d55e772 Cleanup. 2003-03-18 18:29:10 +00:00
foobar
d0ac3d0646 Fixed bug #22765 2003-03-18 17:30:32 +00:00
Wez Furlong
ce01fd9526 Avoid using FILE* where possible.
Tidy up handling of potential error situations for the php:// wrapper.
2003-03-18 16:40:29 +00:00
Wez Furlong
267db80b21 avoid unsigned issues. 2003-03-18 15:15:10 +00:00
Wez Furlong
862586e376 CS fixes 2003-03-18 14:35:15 +00:00
Stig Bakken
0e6fca4f22 * email address change 2003-03-18 12:06:09 +00:00
foobar
980bac69f9 Fixed bug #22751 (Compile error in gdcache when external libgd is used) 2003-03-18 02:13:49 +00:00
foobar
6443ce1fc5 Fix the bad logic.. 2003-03-17 15:56:17 +00:00
foobar
b4b661ae0a WS & CS fixes 2003-03-17 15:06:11 +00:00
foobar
d8a62b8e4d WS & CS fixes 2003-03-17 14:45:07 +00:00
Hartmut Holzgraefe
3343327ea1 fixing my proto fix :| 2003-03-17 13:50:27 +00:00
Hartmut Holzgraefe
dbe4f2238c proto fixes 2003-03-17 13:11:19 +00:00
Hartmut Holzgraefe
fa692f6744 proto fix 2003-03-17 13:08:59 +00:00
Hartmut Holzgraefe
212abb4996 proto fix 2003-03-17 13:00:13 +00:00
Hartmut Holzgraefe
6f24340f22 more proto fixes 2003-03-17 12:48:38 +00:00
Sascha Schumann
d0debaf45c Merge macro changes 2003-03-16 23:02:19 +00:00
foobar
fcb43b70ef WS & CS fixes + some TSRM_FETCH() removals + pval -> zval 2003-03-16 05:00:50 +00:00
foobar
d4a72592a4 - Fixed bug #22709 (crash within interbase when database unavailable) 2003-03-16 00:37:01 +00:00
Hartmut Holzgraefe
e6633a9611 lots of proto stuff 2003-03-15 22:51:49 +00:00
Wez Furlong
b66957c56a fix proto 2003-03-15 13:29:35 +00:00
Jay Smith
830b14297f @- Fixed bug #22386 (Using browscap causes segfault). This fix
@  also adds an optional bool argument to get_browser() that
@  makes the return value an array instead of an object. (jay)
2003-03-14 17:54:38 +00:00
foobar
4a244a3889 No c++ comments 2003-03-14 17:49:44 +00:00
foobar
b07507f086 No c++ comments! 2003-03-14 17:37:44 +00:00
Ilia Alshanetsky
199ae10f01 Whitespace fixes. 2003-03-14 16:56:38 +00:00
Daniela Mariaschi
1afc5a59fe reverting to version 1.9 2003-03-14 08:27:29 +00:00
Alan Knowles
84aa3953e6 remove makefile and libs.mk from package file 2003-03-14 02:13:42 +00:00
Alan Knowles
b45ce67f95 removing files not needed so diff -u works nicely 2003-03-14 02:11:54 +00:00
Alan Knowles
65a71f4331 fix package file - note the package is called ext_soap - I suspect it will conflict with SOAP if downloaded - anyone want to comment on ideas for this... 2003-03-14 02:10:23 +00:00
Alan Knowles
0e2f675c87 fixes to enable module building 2003-03-14 02:08:30 +00:00
Alan Knowles
bd69062b14 add support for shared library building - shout stop alan - if any objections.. 2003-03-14 01:58:21 +00:00
Daniela Mariaschi
ceb608fcb2 Test for libgds needs libcrypt with Firebird to succeed 2003-03-13 23:15:43 +00:00
Daniela Mariaschi
08267e4a55 Numeric/decimal datatype overflow on Win32.
Fixed bug #20641
2003-03-13 21:58:29 +00:00
Derick Rethans
bce69f1218 - Whitespace 2003-03-13 21:09:27 +00:00
Jay Smith
39ec83bb5f Solaris knows nothing of "Europe/Amsterdam". Use "US/Eastern" instead. 2003-03-13 18:51:39 +00:00
Ilia Alshanetsky
cf072c4a75 Fixed bug #22681 (Crash when reading from invalid file pointer). 2003-03-13 18:15:31 +00:00
foobar
ce4bf275c9 Prevent using both --with-sybase and --with-sybase-ct in same build 2003-03-13 17:27:28 +00:00
Sara Golemon
cbf8c3e346 Bug #21534. Silly typo. 2003-03-13 16:10:21 +00:00
Ilia Alshanetsky
d6a02110b0 Cleanup. 2003-03-13 02:22:31 +00:00
Sterling Hughes
39b8f06f9b @ Add the file_set_contents() function, as a complement to the file_get_contents()
@ function. (Sterling)
2003-03-12 06:47:34 +00:00
Ilia Alshanetsky
68e36864c9 Fixed spprintf() usage.
Fixed compiler warnings.
2003-03-12 04:46:03 +00:00
foobar
bf90cdeff9 Added the type constants for imagegd2() 2003-03-12 04:29:51 +00:00
foobar
2fee56b2a2 Fix bug #22646 2003-03-12 04:15:28 +00:00
Ilia Alshanetsky
88281627bc Style fixes. 2003-03-12 00:51:03 +00:00
foobar
9e501d4f37 - Fixed bug #20715 (odbc could not be compiled as shared extension) 2003-03-11 03:11:36 +00:00
Sascha Schumann
65b9a40640 fix sizeof(size_t) > sizeof(uint) issue 2003-03-11 02:28:46 +00:00
foobar
98b19bbe7e Fixed bug #22616 (Wrong order of -lssl and -lcrypto with IMAP) 2003-03-11 02:11:57 +00:00
Sascha Schumann
dfb0d70b5b reverting jani's non-sense commits 2003-03-11 01:47:06 +00:00
Georg Richter
efde6643d4 added new profiler-files 2003-03-11 01:22:20 +00:00
Georg Richter
7cf921a56f profiler:
moved profiler stuff from php_mysql.h to separate include file
added port communication
added xml support for file and port output
2003-03-11 01:19:21 +00:00
foobar
febb535db0 touch 2003-03-10 22:59:46 +00:00
foobar
7a1ecedf85 64bit issue fixed 2003-03-10 22:59:34 +00:00
Moriyoshi Koizumi
a41e0c1382 Modified the test to reflect the recent change on var_dump() 2003-03-10 20:46:39 +00:00
David Hill
a7b84ac7cb Correcting int/long mismatched - 64bit issues. 2003-03-10 20:30:33 +00:00
Ilia Alshanetsky
822b53b95a Fixed bug #22613 (imagettfbox() does not add the kerning distance to the
running position).
Fixed few possible memory leaks.
2003-03-10 19:07:22 +00:00
David Hill
4f8ae7b111 fixing missed int to long with zend_parse_parameters 2003-03-10 15:52:10 +00:00
Andrei Zmievski
b1546a1775 Print the object handle (it's useful). 2003-03-10 15:13:32 +00:00
David Hill
1edf7f55e5 64 bit corrections to parameters to OnUpdateInt Bug #20994 (Dave) 2003-03-10 14:50:16 +00:00
foobar
a7d8bc6894 cs & ws fixes 2003-03-10 02:14:09 +00:00
Sara Golemon
c4a491e12c Adjustment to user filters reimplementation. Make a bucket an object containing a resource(the real bucket) and a data element for direct operations. Simplifies
user interface and reduces number of function calls/reallocs needed.
2003-03-09 23:12:31 +00:00
Derick Rethans
0d603b2d9a - Fix proto 2003-03-09 00:05:48 +00:00
Georg Richter
15f648c8f9 various changes for profiler 2003-03-08 23:33:12 +00:00
Derick Rethans
1b9ee1a8ea - Fixed a bug in GD's truecolor TTF handling 2003-03-08 18:27:12 +00:00
Stefan Esser
1f54605723 wrong place. 2003-03-08 14:51:16 +00:00
Stefan Esser
76c427fd05 fixing memory leak 2003-03-08 14:37:01 +00:00
Ilia Alshanetsky
20c2c39f3c Fixed bug #22585 (Do not terminate the script on minor errors). 2003-03-07 14:03:53 +00:00
foobar
3c9155e0cb Renamed OnUpdateInt -> OnUpdateLong to prevent further misunderstandings.
# Intentionally left out any 'alias' for it, this way 3rd party extension
# maintainers will really NOTICE the change.
2003-03-07 05:15:28 +00:00
foobar
e32eaf29de Fixed typo caught by Dave. 2003-03-07 04:32:36 +00:00
foobar
1b38773eef WS & CS fixes 2003-03-07 01:03:04 +00:00
foobar
2da432cc19 WS & CS fixes 2003-03-07 00:52:04 +00:00
foobar
8d6c858aba WS & CS fixes 2003-03-07 00:40:54 +00:00
David Hill
5c90216d2c 64-bit correction to variables passed to zend_parse_parameters
@64-bit correction to variables passed to zend_parse_parameters (Dave)
2003-03-06 23:07:28 +00:00
Stefan Esser
af4aa97d1e Fixing functionicalls with variable number of parameters... 2003-03-06 20:31:20 +00:00
Moriyoshi Koizumi
9bdc86973b Fixed a small leak in the convert filter code 2003-03-05 17:51:33 +00:00
Ilia Alshanetsky
4f4f0a9771 Added test case for bug #22544. 2003-03-05 16:19:08 +00:00
Ilia Alshanetsky
d31fa3da61 Better identification of bundled GD library. 2003-03-05 16:08:01 +00:00
Ilia Alshanetsky
fd088722a7 Fixed bug #22544 (missing fix from official gd). 2003-03-05 15:57:28 +00:00
Wez Furlong
b68739f7f9 - Remove legacy non-streams code (as discussed with Brad).
- Make get_http_header_value() work using case-insensitive compares
  for the header names, as per relevant RFC's.
- General performance boost for get_http_headers().
- Fix a crash bug when a malformed URL is passed to the soap client.
- Implement https:// support in the the soap client. (does not verify
  the remote server certificate; it provides an encrypted link only).
- Provide a hook for libxml to parse files using any registered PHP
  wrapper, including https://, ftps:// and any user-space streams.
2003-03-05 14:23:56 +00:00
Corne' Cornelius
5ab857c8b9 - Reverted emalloc(),efree() changed for persistant connection resources 2003-03-05 13:17:00 +00:00
Corne' Cornelius
e25dabc747 - Changed malloc() and free() to emalloc() and efree() 2003-03-05 09:38:00 +00:00
Moriyoshi Koizumi
d2eb897739 Added missing phpinfo entry (Russian support) 2003-03-05 06:16:22 +00:00
Marcus Boerger
f5a7a1c094 Use stream locking support
# needs more testing
2003-03-04 23:45:48 +00:00
Wez Furlong
8e5aaa0e7c Miscellaneous compilation warning, coding standards, build related,
memory leak and segfault related fixes.

The simple soap client/server code examples now run without leaking or
segfaulting.
2003-03-04 23:01:24 +00:00
Marcus Boerger
cf7101d354 Support all possible configurations and simplify includes 2003-03-04 20:31:42 +00:00
Marcus Boerger
238abf8c7f fix dba by fixing key_len retrieval 2003-03-04 19:56:35 +00:00
foobar
5546f1e259 typofix 2003-03-04 18:59:16 +00:00
Moriyoshi Koizumi
aa40a02de8 64bit long fix 2003-03-04 17:18:40 +00:00
Moriyoshi Koizumi
3940c673e3 64bit long fix: patch by Dave Hill 2003-03-04 17:10:29 +00:00
Ilia Alshanetsky
c5053e0f62 Fixed bug #22437. 2003-03-04 16:34:52 +00:00
Ilia Alshanetsky
53530765ff Added support for http redirects to ftp.
Fixed bug #22508 (Added protection against circular HTML redirects).
2003-03-04 16:04:05 +00:00
Ilia Alshanetsky
b162e18a29 Skip test if running under safe-mode. 2003-03-04 14:37:38 +00:00
Christian Stocker
6804378398 MFB (make it really W3C compatible (unlink node, when in tree...)) 2003-03-04 13:38:38 +00:00
Edin Kadribasic
d1feae01d9 Credits update. 2003-03-04 00:10:11 +00:00
Georg Richter
338ec7b859 fixed bug in macro-definition 2003-03-03 22:50:56 +00:00
Georg Richter
359d21aa54 disabled output of errormessages 2003-03-03 22:50:34 +00:00
Georg Richter
281960ee78 added profiler support 2003-03-03 22:36:47 +00:00
Edin Kadribasic
6c20fa725e MFB: Enabled mcrypt_generic_deinit() on windows (#22520) 2003-03-03 21:25:25 +00:00
foobar
826d9ace59 typofix 2003-03-02 18:52:29 +00:00
foobar
6290b1c2cb Special case for MacosX.. 2003-03-02 18:50:45 +00:00
foobar
96f6d1fdbd Fixed bug #22485 (hardcoded shared lib extensions) 2003-03-02 18:47:35 +00:00
Zeev Suraski
622da33231 - Optimize $_REQUEST
- Fix phpinfo()
2003-03-02 13:35:01 +00:00
Wez Furlong
6fed2e95b2 Fix build for activescript sapi 2003-03-02 13:09:48 +00:00
Zeev Suraski
4e55747a2b Add JIT initialization for _SERVER and _ENV
(it's less important for the others, even though it should be fairly
easy now too)
2003-03-02 10:19:15 +00:00
Moriyoshi Koizumi
da0d5a11ed Fixed my silly mistake in the filter code 2003-03-02 08:39:01 +00:00
Wez Furlong
c6e40696e1 Fix two crash bugs when optional parameters are not specified.
Fix folding markers.
2003-03-01 15:40:06 +00:00
Pierre Joye
31509f124f update credits (ilia,myself) 2003-03-01 01:28:10 +00:00
Wez Furlong
558db0d87a Expose php_stream_copy_to_stream as stream_copy_to_stream(); a high
performance alternative to looping reads and writes.
2003-03-01 01:27:50 +00:00
Wez Furlong
349ce76f96 Tidy up stupid signed/unsigned issues with win32 by introducing a php_socket_t typedef. 2003-02-28 21:03:36 +00:00
Wez Furlong
68c1294462 Add this file... 2003-02-28 20:06:05 +00:00
Wez Furlong
1b53a2d12e New user-space functions:
. stream_socket_client() - similar to fsockopen(), but more powerful.
  . stream_socket_server() - Creates a server socket.
  . stream_socket_accept() - Accept a client connection.
  . stream_socket_get_name() - Get local or remote name of socket.

Tidy up some leaks and debug printfs.
Move more streams functions into streamsfuncs.c and streamsfuncs.h.
2003-02-28 19:53:21 +00:00
Ilia Alshanetsky
14bf872003 Fixed compiler warnings. 2003-02-28 17:26:28 +00:00
Hartmut Holzgraefe
050e86fde4 it is still to early in the morning for coding :( 2003-02-28 07:57:00 +00:00
Hartmut Holzgraefe
80d267e271 make sure that GNU extensions exist for fnmatch() 2003-02-28 07:52:23 +00:00
foobar
535a73a71e - Fixed bug #22312 (crash on failed connection when curl_getinfo() was called).
(Phil Oleson <poleson@verio.net>)
2003-02-28 07:34:45 +00:00
foobar
08b5f6b2b9 - No need to include the ssl headers elsewhere but in ext/openssl
# ext/ftp doesn't use streams yet so it needs to include them.
2003-02-28 07:25:15 +00:00
foobar
282512abea YAZ 2.0 or later is required now. 2003-02-28 07:17:47 +00:00
foobar
95d756f467 ws & CS 2003-02-28 06:33:04 +00:00
Ilia Alshanetsky
912bef379d Fixed compiler warning. 2003-02-27 23:53:55 +00:00
Ilia Alshanetsky
57eabeea29 fixed compiler warnings. 2003-02-27 23:50:55 +00:00
Wez Furlong
0cec0bd8a9 streams.c -> streamsfuncs.c
# argh!
2003-02-27 22:48:13 +00:00
Wez Furlong
493ef36299 Update win32 build.
Since msvc sucks, I had to rename ext/standard/streams.c to ext/standed/streamsfuncs.c
2003-02-27 22:43:51 +00:00
Wez Furlong
5def83df0b Move streams specific stuff from ext/standard/file.c -> ext/standard/streams.c
Move win32 select implementation into win32/.
Will update win32 build in a moment.
2003-02-27 22:23:39 +00:00
Ilia Alshanetsky
ea1f34e892 Fixed a bug that would cause filetype() to return "unknown" for
non-existent files on Win32.
2003-02-27 20:38:00 +00:00
Wez Furlong
cfd8150b30 Add a generic meta data api for streams. 2003-02-27 19:10:24 +00:00
Wez Furlong
76ebaa6ee7 - Move https:// and ftps:// wrapper registration into the openssl module.
- Expose the http:// and ftp:// wrappers as PHPAPI
- Remove unused variables
2003-02-27 18:16:35 +00:00
Wez Furlong
fd61f69077 Another big commit (tm).
Main Changes:
- Implement a socket transport layer for use by all code that needs to open
  some kind of "special" socket for network or IPC.
- Extensions can register (and override) transports.
- Implement ftruncate() on streams via the ioctl-alike option interface.
- Implement mmap() on streams via the ioctl-alike option interface.
- Implement generic crypto API via the ioctl-alike option interface.
  (currently only supports OpenSSL, but could support other SSL toolkits,
  and other crypto transport protocols).

Impact:
- tcp sockets can be overloaded by the openssl capable sockets at runtime,
  removing the link-time requirement for ssl:// and https:// sockets and
  streams.
- checking stream types using PHP_STREAM_IS_SOCKET is deprecated, since
  there are now a range of possible socket-type streams.

Working towards:
- socket servers using the new transport layer
- mmap support under win32
- Cleaner code.

# I will be updating the win32 build to add the new files shortly
# after this commit.
2003-02-27 17:43:38 +00:00
Ilia Alshanetsky
560e33968d Fixed bug #21410 (fixed handling of NULL or "" files on Win32) 2003-02-27 16:41:23 +00:00
Hartmut Holzgraefe
52ca521b40 changed from strncpy to strlcpy on request 2003-02-27 10:21:32 +00:00
Corne' Cornelius
5e09029ba7 - Changed maxmsglen in ifx_errormsg() back to normal 255 instead of 10 2003-02-27 08:59:16 +00:00
Corne' Cornelius
8a7822cf24 - Fixed possible Segfault in ifx_errormsg() using malloc() instead of emalloc() 2003-02-27 08:56:15 +00:00
Pierre Joye
972c04e50b add imagesavealpha wrapper (Jukka Holappa <jukkaho@mail.student.oulu.fi>,
2 Pierre-Alain Joye)
2003-02-26 23:22:09 +00:00
Pierre Joye
fbd867184c add imagesavealpha wrapper (Jukka Holappa <jukkaho@mail.student.oulu.fi>,
Pierre-Alain Joye)
2003-02-26 23:21:44 +00:00
Ilia Alshanetsky
695ae92c97 1) Make the output of system() binary safe
2) Solved a memory leak when the return_value variable passed by reference is
   not an integer in system()/exec()/passthru().
3) Solved a bug in exec(), which would make it append to the 2nd parameter
   (passed by reference) if the parameter is an array instead of overwriting it.
4) Changed the code to use the streams code, resulting in a smaller code base.
5) Various cleanups resulting in reduction of overall code base inside the file
   by ~ 1/3.
6) Speed improvements of ~2.5 times compared to previous performance (based on
   attached PHP script).
2003-02-26 22:11:12 +00:00
Marcus Boerger
d737741329 allow keys as array(group, name) for handler inifile 2003-02-26 22:07:50 +00:00
Marcus Boerger
ce04e8a91a ws 2003-02-26 22:05:32 +00:00
Marcus Boerger
cdcb86a4da make it faster 2003-02-26 22:03:55 +00:00
Marcus Boerger
6fd9c32346 if skip param of dba_fetch is -1 stop do not restart search after last element 2003-02-26 22:03:00 +00:00
Derick Rethans
424c41a72e - Added an extra ini setting with which extra commands can be forced to
the sendmail deamon on a per-vhost base. The value in this ini setting
  will override all extra commands passed as the 5th parameter to mail()
  and will work in Safe Mode.
@- Added an extra ini setting (mail_force_extra_paramaters) which forces
@  the addition of the specified parameters to be passed as extra
@  parameters to the sendmail binary. These parameters will always replace
@  the value of the 5th parameter to mail(), even in safe mode. (Derick)
2003-02-26 20:04:16 +00:00
Derick Rethans
17acc55ad0 - Fix proto 2003-02-26 19:34:16 +00:00
Derick Rethans
bc11c47ce6 - Whitespace 2003-02-26 19:25:24 +00:00
Hartmut Holzgraefe
499a97a9b2 changed to emalloc just to be safe 2003-02-26 16:06:07 +00:00
Brad LaFountain
2c1b3b74b2 changes in the past shouldn't have compiled. 2003-02-26 03:04:00 +00:00
Ilia Alshanetsky
aee0c18bde Made shell_exec() use streams, this simplifies the code and in some cases
makes it a little faster too.
2003-02-25 23:52:34 +00:00
Ilia Alshanetsky
bce8bfdae4 MFH (forgot to put this fix into the 5.X tree). 2003-02-25 23:39:57 +00:00
Moriyoshi Koizumi
991da29849 Set fgetss() free from the length parameter 2003-02-25 20:12:18 +00:00
Ilia Alshanetsky
503e49feae Fixed test. 2003-02-25 16:27:51 +00:00
Ilia Alshanetsky
f29964e2ba Fixed bug #22414 and added a test case for it. 2003-02-25 16:21:00 +00:00
foobar
400f466040 Cleanup 2003-02-25 11:48:50 +00:00
Adam Dickmeiss
79a3618b36 Tabify 2003-02-25 08:34:33 +00:00
Adam Dickmeiss
45214b2340 yaz_search supports query type cql 2003-02-25 08:31:53 +00:00
foobar
afc69728a8 (hope) fix some win32 build errors 2003-02-25 07:19:44 +00:00
Corne' Cornelius
086b317448 - Added Corne' Cornelius to CREDITS/Authors 2003-02-25 06:59:15 +00:00
Corne' Cornelius
9f48874675 - Changed IFX_VERSION to work with Major versions with more then one digit 2003-02-25 05:33:28 +00:00
foobar
14f98fca45 fix bug #22324, libjdbcoci8.so is not necessarily needed.. 2003-02-25 04:36:54 +00:00
Ilia Alshanetsky
e8823a205a Fixed bug #22402 (opening of ftp for read/write could fail due to invalid
return code handling).
Solution suggested by jan@jancm.org
2003-02-25 04:20:22 +00:00
Ilia Alshanetsky
348200b54d Fixed a crash in gdImageCopyMergeGray(). 2003-02-25 03:49:26 +00:00
Stig Bakken
d4dff9e92a * add new ZE2 tokens 2003-02-25 02:08:49 +00:00
Ilia Alshanetsky
862634ffa5 Added locking to streams.
Allow PHP to automatically release locks on files when terminating the
stream.
Fixed bugs in the handling of the 3rd optional parameter to flock().
2003-02-25 01:39:06 +00:00
Moriyoshi Koizumi
14db9ea88d Fixed string.strip_tags filter so it reflects the change on php_strip_tags 2003-02-24 22:41:55 +00:00
Moriyoshi Koizumi
b44b0b80e0 Made fgetss() binary safe too 2003-02-24 22:39:47 +00:00
Moriyoshi Koizumi
8f341f6a19 Fixed possible buffer overflow of php_strip_tags 2003-02-24 22:19:36 +00:00
Moriyoshi Koizumi
385a809694 Made strip_tags() binary safe 2003-02-24 22:01:12 +00:00
Sara Golemon
85a5ef3ec9 Initial re-implementation of userfilters after filterchain redesign by wez. More userspace API to come. 2003-02-24 21:56:19 +00:00
Wez Furlong
088e2692c3 MFB: Bunch of streams related fixes. 2003-02-24 21:40:23 +00:00
Ilia Alshanetsky
4474f9225a Fixed bug #22355 (PHP would remove folding from Subject & To fields). 2003-02-24 19:41:18 +00:00
Moriyoshi Koizumi
93b6d05bb8 Forgot to fix this part 2003-02-24 16:54:21 +00:00
Moriyoshi Koizumi
f73f94f258 Fixed a signed / unsigned issue.
# imagine the case like "\\\xfe" where walk[1] takes a value that is greater
# than 127 in integer...
2003-02-24 16:29:00 +00:00
Moriyoshi Koizumi
171fd93840 Style fix 2003-02-24 16:13:13 +00:00
Hartmut Holzgraefe
cfb377ce33 "key" has to be zero-delimited 2003-02-24 13:35:07 +00:00
foobar
cf72bfbae1 no c++ comments 2003-02-24 08:27:24 +00:00
Corne' Cornelius
7afe50fc5c (PHP ifx_errormsg) Fixed Informix bug where ifx_errormsg() would Segfault
on an unopened connecection and with an errorcode supplied
2003-02-24 06:34:37 +00:00
foobar
6ed8720fa2 fix compile warning 2003-02-24 03:27:00 +00:00
Ilia Alshanetsky
a3cb589b71 Fixed bug #22382 (fgetcsv did not handle \" correctly). 2003-02-24 03:13:25 +00:00
foobar
c87c4c7bd7 Extra paranoia checks if dn_skipname/dn_expand exist or not 2003-02-24 00:09:18 +00:00
foobar
de54cd0a08 Fix for bug #22353 2003-02-23 08:14:25 +00:00
Marcus Boerger
fbe7e1d977 Dropped optimization
# It is impossible to combine skip=-1 searches with firstkey/nextkey results
2003-02-22 23:47:09 +00:00
Marcus Boerger
c0e9bd0830 INI files are case insensitive 2003-02-22 20:49:07 +00:00
Ilia Alshanetsky
8908faa47f Revent previous patch, adding of file_write_content() was premature. 2003-02-22 20:35:22 +00:00
Ilia Alshanetsky
d2e2fbcc5b int/long change. 2003-02-22 20:33:11 +00:00
Marcus Boerger
fef5b7c3a1 Remove testcode 2003-02-22 17:37:27 +00:00
Marcus Boerger
8ab1924ca3 @Added dba handler inifiles to support ini files. (Marcus) 2003-02-22 17:20:06 +00:00
Andrey Hristov
8c2dbd5f0f additional speedup for array_shift(). No need to rehash if the removed element's
key is not scalar and elements with scalar keys are already well numbered
(sequentially from 0) for some reason. This is the case if the leading
elements have no scalar indexes.
2003-02-22 13:55:11 +00:00
Andrey Hristov
94040a28ce rehash only in case something is changed.
#lowers the execution time in half on my machine on array with 1000 elements
#with nonscalar keys. Maybe it can be optimized further.
2003-02-22 10:54:26 +00:00
Georg Richter
0133377fba removed some comments 2003-02-22 07:47:46 +00:00
Georg Richter
b63fbf2763 Fixed bug with stmt_close (libmysql bk version 1.1477 required)
Fixed bug with mysql_execute and float values
2003-02-22 07:31:01 +00:00
foobar
7d256c1ae1 MFB 2003-02-21 10:43:32 +00:00
foobar
b420beba61 - Fixed bug: #22339
# No NEWS, this was bug introduced by Marcus a while ago..
# Not present in php4.3.x branch
2003-02-21 08:45:58 +00:00
foobar
12ce594f64 MFB 2003-02-21 06:50:25 +00:00
foobar
161d31c8bc ZTS fixes 2003-02-21 06:46:12 +00:00
Rasmus Lerdorf
d08a0e99c8 An input filter might not simply strip stuff, it might also turn things
into entities or use some other mechanism which causes the filtered data
to be longer than the original data.  Ergo, pass in the address of the
buffer instead so the filter is free to reallocate it.
2003-02-20 22:21:49 +00:00
Justin Erenkrantz
9d89ef3295 Remove C++-style comment. (Breaks Sun Forte compiler.) 2003-02-20 21:48:58 +00:00
Sara Golemon
2002ca0203 Reduce unnecessary filter applications when stream is (read|write) only 2003-02-20 20:05:31 +00:00
Moriyoshi Koizumi
63291af120 Fixed bug #22330 (overloaded strrpos() gives wrong results)
Patch by david at santinoli dot com. Thanks!
2003-02-20 17:52:42 +00:00
Derick Rethans
2bff9cae27 - Fixed testcase... you can never trust on RFCs it seems 2003-02-20 16:15:41 +00:00
Derick Rethans
91766d4b9a - Fixed copy and paste bug 2003-02-20 10:33:55 +00:00
Derick Rethans
b4b33b11ef - Also add the optional raw output parameter to md5_file and sha1_file. 2003-02-20 10:32:35 +00:00
foobar
0f593f899f Fixed bug: #22306 (pg_lo_seek($h, 0, PGSQL_SEEK_SET) succeeds but returns false) 2003-02-20 07:10:07 +00:00
Derick Rethans
ead7521e4d - No need to add the \0 ourselves, the estrndup in STRINGL takes care of
that for us.
2003-02-20 06:56:37 +00:00
Sascha Schumann
6f5b46c118 generally urlencode parameters 2003-02-20 06:18:16 +00:00
foobar
6043ee22e8 - Fixed bug #22299 (gethostbyname() crash with non-existing domain on MacOSX) 2003-02-20 05:34:58 +00:00
Ilia Alshanetsky
69094da0e8 Revert accidental commit. 2003-02-20 00:34:03 +00:00
Ilia Alshanetsky
3bff5c0419 Fixed bug #22308 (optimized passthru, code is now ~40 times faster). 2003-02-20 00:32:51 +00:00
Jon Parise
370c0cbf91 Add folding markers and editor directive blocks. 2003-02-19 21:36:00 +00:00
Rasmus Lerdorf
afb8842cea Fix mbstring input_filter 2003-02-19 20:56:47 +00:00
Rasmus Lerdorf
7429c2dc3f Input Filter support. See README.input_filter for details.
@- Input Filter support added. See  README.input_filter. (Rasmus)
2003-02-19 19:41:09 +00:00
Marc Boeren
85f81c6006 Fix for bug #22221: pgsql version for dbx_query suppressed a warning that
was trappable by using a user-defined error-handler. A different use of
pgsql_getrow removed the warning and thus the need for suppressing it.
2003-02-19 13:32:27 +00:00
Corne' Cornelius
71e6110bc8 - Revert latest commit 2003-02-19 09:52:52 +00:00
Corne' Cornelius
ad56bbe4a4 - Added Input Descriptor Binding to be used by blobs. This fixed a bug
where ESQL/C would cause a Segmentation fault if the first blob in a
  result is NULL or '' as soon as it gets a result with blob != NULL
- Fixed leaks where blobs resources weren't always freed
2003-02-19 09:29:26 +00:00
foobar
2b90480fa9 scandir -> php_scandir, alphasort -> php_alphasort 2003-02-19 09:27:29 +00:00
foobar
8e3f23e3c0 ws fixes + missing $Id$ tags, headers added 2003-02-19 08:40:19 +00:00
Corne' Cornelius
48e5c1dae7 Updated IFX_VERSION entry to work with new Version output of ESQL/C
@- Updated IFX_VERSION entry to work with new Version output of ESQL/C (Corne')
2003-02-19 07:16:01 +00:00
Ilia Alshanetsky
a6ef609a37 Fixed bug #22283 (possible crash when opening relative URLs). 2003-02-19 00:49:31 +00:00
Moriyoshi Koizumi
69113a3099 Added string.strip_tags filter. 2003-02-19 00:12:23 +00:00
Moriyoshi Koizumi
6389a79ea5 Fixed memory leaks on conversion failure. 2003-02-18 23:30:36 +00:00
Moriyoshi Koizumi
8793a78fee Revived convert filter codes 2003-02-18 23:22:49 +00:00
Jon Parise
40dacff24a Remove a stray COM reference. 2003-02-18 23:22:15 +00:00
Marcus Boerger
b8f518a451 - wrong use of sizeof(char)
- use define for block size
- a bit faster
2003-02-18 22:19:18 +00:00
Marcus Boerger
7b6fb4b7b3 coding style 2003-02-18 20:49:52 +00:00
Marcus Boerger
3db2b2bc7c avoiding problems 2003-02-18 20:48:05 +00:00
Derick Rethans
d95c41eddb - Added new parameter to sha1() and md5() which return the digest as
binary data. (Original patch by Michael Bretterklieber <mbretter@jawa.at>)
- Added test cases for sha1() and md5() based on the testvectors in RFC 1321
  and RFC 3174.
@- Added new parameter to sha1() and md5() which return the digest as
@  binary data. (Michael Bretterklieber <mbretter@jawa.at>, Derick)
2003-02-18 20:31:19 +00:00
Moriyoshi Koizumi
dd0462c78f Added description for the hand-made finite state machine. 2003-02-18 20:31:04 +00:00
Sascha Schumann
4ec77cfbb5 Refactor new-session-id code 2003-02-18 19:29:38 +00:00
Sascha Schumann
2699c26f42 Remember whether to send a cookie, so that we send out the correct
session id.  Also improve check for active session
2003-02-18 19:13:49 +00:00
Wez Furlong
4c4d77d23e Fix incorrect TSRMLS_CC usage.
Fix com_create_guid()
2003-02-18 19:03:44 +00:00
Sascha Schumann
32e0c8161c add session_regenerate_id() 2003-02-18 18:50:44 +00:00
Moriyoshi Koizumi
bcd49d63c3 Fixed mb_send_mail() so that Content-Type and Content-Transfer-Encoding
headers are overridable by additional header parameters.
This patch fixes bug #21985 and bug #22064.
2003-02-18 18:49:47 +00:00
Moriyoshi Koizumi
89caaeb87c Fixed bug #21708 (ucfirst() trouble again)
# this bug is related to bug #21689
2003-02-18 18:11:34 +00:00
Moriyoshi Koizumi
d4e9d48b18 Fixed bug #21689 (fgetcsv suppresses some characters before a separator)
The fix is suggested by Masahiro Nakayama <masa@sfc.wide.ad.jp>

# is* functions expect their argument to be an integer in range of 0-255
2003-02-18 15:15:22 +00:00
Wez Furlong
aad491817c Implement com_create_guid().
Add a special case for RETVAL_VARIANT when a variant is of type VT_DISPATCH but has a NULL dispatch pointer.
This kind of variant is returned by the WindowsInstaller automation interface.
2003-02-18 09:46:19 +00:00
Wez Furlong
e52aac940f Implement simple stream support in the ZE scanners. 2003-02-18 09:37:54 +00:00
Georg Richter
500dfcfd62 added new function mysqli_stmt_store_result 2003-02-18 08:49:00 +00:00
Georg Richter
05d10452ba test for mysqli_stmt_store_result 2003-02-18 08:41:16 +00:00
Wez Furlong
2003d8eeb6 Implement com_indexed_prop_set() which allows setting of array-like indexed properties on COM objects.
It is expected that this function will be transient, waiting for engine-level and then rpc-level support to be implemented so that this can be integrated more completely.
I'm committing this now so that others can help develop the msi installer scripts that require this feature.
2003-02-18 07:36:31 +00:00
Sara Golemon
73c78270b6 Introduce //filter target to php: wrapper to allow inline application of filters during fopen() style opperations 2003-02-18 06:10:14 +00:00
foobar
25a7332e9b getpriority() and setpriority() are in libc.. 2003-02-18 03:25:33 +00:00
foobar
28f4cb18ec nice() is part of libc, use AC_CHECK_FUNCS instead 2003-02-18 03:22:47 +00:00
Ilia Alshanetsky
5b858c9e94 Fixed compiler warning. 2003-02-18 03:12:38 +00:00
Sara Golemon
6fe4ab41f0 Fix stream_filter_(ap|pre)pend to allow attaching on the read and/or write chains. Automagically decide what to do if noone tells us. 2003-02-18 02:53:24 +00:00
Ilia Alshanetsky
0503336ede Added pcntl_setpriority & pcntl_getpriority(). These functions can be used
to fetch and alter the priority of a process.
2003-02-18 01:41:06 +00:00
Wez Furlong
1e34a6bffc Add basic test of read filters and read filter chain. 2003-02-18 01:24:41 +00:00
Ilia Alshanetsky
0ad5cac954 By popular demand nice() is renamed to proc_nice().
A better error message for proc_nice() failure.
2003-02-18 01:23:51 +00:00
Wez Furlong
32165a5546 Implement new filter API, stage 1.
This breaks user-space filters (for the time being), and those
weird convert.* filters in ext/standard/filters.c

The filters stack has been separated into one chain for read and one chain
for write.

The user-space stream_filter_append() type functions currently only operate
on the read chain. They need extending to work with the write chain too.
2003-02-18 01:22:21 +00:00
Ilia Alshanetsky
0fd1009fcc Added nice() function, which allows changing of priority for the current
process.
2003-02-18 01:07:57 +00:00
Georg Richter
19a9b4f310 new test (class which extends mysqli. currently this test fails :( ) 2003-02-18 00:42:38 +00:00
Georg Richter
2f604f67e8 removed duplicate code 2003-02-18 00:32:47 +00:00
Georg Richter
bc5eb4b3b4 fixed some leaks when mysql_close will be called before all stmts are freed. 2003-02-18 00:00:51 +00:00
Georg Richter
bf348326bd additional tests for non freed objects 2003-02-17 23:29:58 +00:00
foobar
5c63fad55c MFB: Sanity check. 2003-02-17 22:45:50 +00:00
Georg Richter
3686b61548 test for mysql_fetch_row (oo-style) 2003-02-17 16:19:49 +00:00
Zeev Suraski
4934744b93 Win32 build improvements 2003-02-17 13:29:59 +00:00
Georg Richter
1f188f6554 added close method/alias for result object (for compatibility with statement and
link objects)
2003-02-17 09:38:32 +00:00
Georg Richter
1076328edb test for OO-Implementation (bind_result) 2003-02-17 08:54:23 +00:00
Shane Caraveo
216d1d00a5 you know it's time to get away from the keyboard when you do this.
fix my last fix
2003-02-17 06:45:37 +00:00
Derick Rethans
738d4f401f - Style polizei 2003-02-17 06:35:13 +00:00
foobar
7e9fb9f21f - Cleaned this mess a bit:
. Centralized the functions sunrise/sunset to php_sunrise_sunset
    to lessen duplicate code.
  . Made wrapper function php_do_date_sunrise_sunset() to lessen
    duplicate code.
  . Coding style fixes.
  . renamed sunfuncs.h -> php_sunfuncs.h
2003-02-17 06:28:07 +00:00
foobar
d3e006eafd - These results were obviously got with TZ=GMT
# also prefixed the test results with the tested option
# so it's easier to see which one fails..
2003-02-17 06:23:22 +00:00
foobar
6b7a822cec Assuming the results were created in system with Asia/Jerusalem as TZ 2003-02-17 05:51:03 +00:00
Shane Caraveo
eb6b7e80be fix it the right way 2003-02-17 05:47:56 +00:00
foobar
1c89652590 override precision ini setting 2003-02-17 05:02:05 +00:00
Shane Caraveo
354a7d804b If you pass NULL, you do not get a NULL value, make sure it is. 2003-02-17 03:26:16 +00:00
foobar
4e3d4e4329 - Let's be consistent with these.. 2003-02-17 03:07:33 +00:00
Wez Furlong
f871a58783 Fix compile warning 2003-02-17 00:01:31 +00:00
Wez Furlong
63c95db648 Remove unused vars 2003-02-16 22:33:29 +00:00
Moshe Doron
ea8d11cc87 @ new idate() function.
@ new date_sunrise() function.
@ new date_sunset() function.
#since i have no premission updating the win32 project file, i'm sending patch on the list.
2003-02-16 22:28:01 +00:00
Georg Richter
fe9a33a002 fixed output 2003-02-16 21:19:32 +00:00
Ilia Alshanetsky
148fdce82d Reverted lld -> lld patch and added explanation as to why it should not be
done.
2003-02-16 17:59:30 +00:00
Ilia Alshanetsky
ad1972fae9 Moved longlong conversion to a macro. 2003-02-16 15:56:57 +00:00
Ilia Alshanetsky
2ac79528c9 better skip condition. 2003-02-16 15:47:22 +00:00
Wez Furlong
32c1eafe85 Remove bogus test.
Append mode always causes written data to go to the end of the file,
regardless of the current seek position.
2003-02-16 15:42:14 +00:00
Wez Furlong
7e92f636ef Integrate Shanes patch that allows specifying the cwd and environment
for the child process created by proc_open().
2003-02-16 15:38:54 +00:00
Georg Richter
c40eff35da test for mysqli_prepare_result 2003-02-16 13:48:00 +00:00
Wez Furlong
ce432004be Fix bcmath build under win32.
# These problems occur because winsock2.h MUST be included before
#  windows.h.
2003-02-16 12:46:16 +00:00
Georg Richter
ffe43821d0 test for mysqli_stmt_affected_rows (delete command) 2003-02-16 12:04:21 +00:00
Georg Richter
6997d50ff0 added new function mysqli_stmt_affected_rows
added bigint support for mysqli_affected_rows
fixed memleak in mysqli_prepare (stmt->is_null)
fixed return type for mysqli_connect
2003-02-16 12:03:37 +00:00
Wez Furlong
0a18a9d744 A add much more useful select(2) implementation than is provided by
windows sockets.  The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.

This change required linking against the winsock2 library.  In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default.  It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.

Also, add a win32 compatible pipe test when opening a stream from a pipe.  This test will only work on NT, win2k and XP platforms.  Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered.  I will be working on a fix for this issue for win9x.
2003-02-16 03:48:49 +00:00
Ilia Alshanetsky
9f7fbaf5c2 Proper lib detection. 2003-02-15 20:09:49 +00:00
Wez Furlong
27e3d6477f Add optional signal parameter to proc_terminate. 2003-02-15 17:33:11 +00:00
Wez Furlong
c3c24054e8 Add proc_terminate() function to forcibly kill off a process created
with proc_open().
2003-02-15 17:18:57 +00:00
Ilia Alshanetsky
8a07cc45cf Fixed skip condition. 2003-02-15 17:06:35 +00:00
Georg Richter
e671a8c3e4 added skipif section (innodb-support) 2003-02-15 16:21:35 +00:00
Moriyoshi Koizumi
b069f35022 Fixed bug #22227
Added test case for bug #22227
2003-02-15 15:57:31 +00:00
Ilia Alshanetsky
f8e0290cd6 Allow mysqli to be built when imap (c-client) is used. 2003-02-14 21:27:13 +00:00
Ilia Alshanetsky
c59240d599 CS fixes. 2003-02-14 20:15:11 +00:00
Ilia Alshanetsky
43eda85d5a Fixed compile warnings. 2003-02-14 20:14:44 +00:00
Georg Richter
e8fd6662ae test for bind_result with show 2003-02-14 19:49:35 +00:00
Marcus Boerger
c34fde086b a little bit slower but somewhat tricky and more flexible and it does not
allocate static buffers anymore
2003-02-14 19:43:06 +00:00
Moriyoshi Koizumi
9b49146dc1 Fixed a str_replace() bug similar to bug #22224 2003-02-14 18:59:50 +00:00
Moriyoshi Koizumi
b3a8349191 Fixed bug #22224 (implode changes object references in array)
Added test case for the bug
2003-02-14 18:42:36 +00:00
Ilia Alshanetsky
f6e4904759 CS fixes. 2003-02-14 18:35:30 +00:00
Ilia Alshanetsky
410dd6abaf Fixed a typo. 2003-02-14 18:27:20 +00:00
Georg Richter
2841d94f02 fixed compiler warning 2003-02-14 18:18:12 +00:00
Georg Richter
c544a77836 fixed a bug in mysqli_fetch
removed c++ comment (thx to Jani :)
fixed compiler warning
2003-02-14 18:17:25 +00:00
Ilia Alshanetsky
031dd997fb Missing portion of the previous patch. 2003-02-14 16:49:09 +00:00
Ilia Alshanetsky
4f1b6364f9 Buncha Fixes.
* Fixed a number of memory leaks.
 * Fixed some php_error_docref() calls that tried to print non-existent
   arguments.
 * Fixed some signed/unsigned problems.
 * Fixed the MYSQLI_FETCH_RESOURCE macro so that compilers do not complain
   about un-initialized variables.
 * CS fixes.
2003-02-14 16:45:31 +00:00
Georg Richter
14bc73defe bind_result fix 2003-02-14 16:31:51 +00:00
Georg Richter
1a7a41cf9f fixed a bug in prepare/bind 2003-02-14 16:31:22 +00:00
foobar
f9f4644a84 - Don't add libcrypt if the crypt() function is provided already.
(by libc, like in HP-UX)
2003-02-14 01:27:15 +00:00
Sara Golemon
a9e1b5f641 MFB(r-1.68.2.5) Bug 22052 2003-02-13 22:20:21 +00:00
Marcus Boerger
0b2216e03d pass tsrmls instead of fetching it always 2003-02-13 21:41:00 +00:00
Sara Golemon
d1d0d0b71a Bug #22059. ftp_chdir() causes segfault. efree(ftp->pwd) was being called without knowing for certain that ftp->pwd
actually pointed anywhere.
2003-02-13 19:48:49 +00:00
Ilia Alshanetsky
2443adb8b5 Added test case for bug #22187. 2003-02-13 19:07:20 +00:00
foobar
e6841d6c35 Added test for those different crypt() methods. Hopefully I got the results right. 2003-02-13 18:49:57 +00:00
Georg Richter
bad0ab1576 include file for test 2003-02-13 18:21:37 +00:00
Ilia Alshanetsky
55840914cb Fixed warnings. 2003-02-13 17:39:18 +00:00
Ilia Alshanetsky
7fffe4338a Fixed bug #22207 (e notation in *printf would be missing a 0 when there is
no exponent).
Added a test case for the bug.
2003-02-13 17:25:31 +00:00
Edin Kadribasic
f0e7b24e60 Use my_ulonglong instead of unsigned long long to make msvc++ happy. 2003-02-13 17:15:22 +00:00
Ilia Alshanetsky
f9457bf842 Added missing header needed for rpc_error(). 2003-02-13 14:54:43 +00:00
Edin Kadribasic
ab4bbd51ff Initial windows project file 2003-02-13 14:46:11 +00:00
Ilia Alshanetsky
f8eba6ded2 Added 'x' mode for fopen() used on local files. This mode will create a new
file only if a file does not already exist (O_CREAT|O_EXCL).
2003-02-13 14:40:17 +00:00
Wez Furlong
95e7c2e9ed Use FILE*-less implementation for php://(stdin|stdout|stderr) 2003-02-13 13:43:37 +00:00
Wez Furlong
1c3de808b9 Avoid problems with chunk_size and auto_detect_line_endings. 2003-02-13 13:38:20 +00:00
Wez Furlong
b81ea669a0 cli should be allowed to have the chroot() function. 2003-02-13 13:35:55 +00:00
Georg Richter
124f76c557 removed warnings (unused vars) 2003-02-13 08:54:46 +00:00
Uwe Steinmann
1b46eeb1cf - added more missing strcmp() 2003-02-13 07:59:24 +00:00
foobar
a91a14ab16 ws fix 2003-02-13 07:02:53 +00:00
Georg Richter
6bddc36966 new tests 2003-02-13 01:23:28 +00:00
Georg Richter
44559a18f9 added new function int mysql_get_server_version
this function is available since libmysql change set 1.1450 (2002-02-13)
2003-02-13 00:11:17 +00:00
Georg Richter
ef086ad82d changed function entries for statements 2003-02-12 21:07:28 +00:00
Ilia Alshanetsky
24a86f2064 Fixed bug #22191 (frontbase build was broken for people using older
versions).
2003-02-12 20:44:00 +00:00
Mark L. Woodward
8fee867865 Fix for GCC 3 2003-02-12 18:34:21 +00:00
Derick Rethans
b8ad8c9f83 - Let's add the config.m4 file too :-) 2003-02-12 16:24:41 +00:00
Ilia Alshanetsky
e1802d7228 Fixed bug #22048 (incorrect insertion of session id when tabs are used to
separate tag elements).
2003-02-12 14:56:13 +00:00
Uwe Steinmann
8c5ece1637 - Fixed compile errors and some oddities like missing strcmp 2003-02-12 11:18:43 +00:00
Georg Richter
91eeae5e1d added new tests 2003-02-12 10:40:19 +00:00
Georg Richter
2706394076 removed function mysql_num_warnings (libmysql change). 2003-02-12 10:39:06 +00:00
foobar
de3b1acfc3 Fix obvious errors.. 2003-02-12 03:05:28 +00:00
Georg Richter
ff8f0eb7da adding a few tests 2003-02-12 00:46:29 +00:00
Georg Richter
7d7c07a77c initial upload 2003-02-12 00:45:53 +00:00
Ilia Alshanetsky
246a075624 Fixed bug #22048 (crash in imap_headers when the e-mail contains an
abnormally large number of special characters).
2003-02-11 22:57:22 +00:00
Ilia Alshanetsky
53f96c8b02 Added strpbrk(), which is essentially a wrapper around C's strpbrk function
that allows searching through a string for a character list.
2003-02-11 22:47:26 +00:00
Melvyn Sopacua
e4a08fb43d Update time 2003-02-11 20:26:27 +00:00
Zeev Suraski
f983e13e4e Fix random crashes 2003-02-11 13:46:30 +00:00
Moriyoshi Koizumi
1068156252 Fixed ZTS build 2003-02-11 03:55:08 +00:00
foobar
fccbb1431b - There's no point in allowing using both --with-readline and --with-libedit
the same time. Prefer --with-readline.
- Use PHP_ADD_LIBRARY when there is no path available.
2003-02-11 03:24:30 +00:00
foobar
08f3bb094a - Fixed bug: #21549 (problem with Ingres II persistent connections) 2003-02-11 02:42:59 +00:00
Frank M. Kromann
08b788dd44 Bug #20426. Convert SMALLDATETIME correct 2003-02-11 01:24:07 +00:00
Harald Radi
c7de5d15b7 clean up source and improve hashing for implicitly
created objects (aka return values)
2003-02-11 00:55:27 +00:00
Harald Radi
be950d9c51 improved reverse lookup of ProgID based on an IDispatch pointer 2003-02-11 00:54:27 +00:00
Sascha Schumann
a10f0830e6 support setting the filemode using session.save_path 2003-02-11 00:42:54 +00:00
Sascha Schumann
5e601732a3 use appropiate prefixes in the ps_module structure so we don't clash
with syscalls
2003-02-11 00:42:14 +00:00
Wez Furlong
0c70df4907 fix rpc_error call 2003-02-10 23:22:49 +00:00
Ilia Alshanetsky
53b7b0eb8c Merged the flags for the file() function into a single flag. 2003-02-10 22:26:53 +00:00
Harald Radi
5066caef31 a bunch of fixes 2003-02-10 20:59:11 +00:00
Harald Radi
ef9bc6eaad s/com/skeleton/ is not always a good idea 2003-02-10 20:58:30 +00:00
Wez Furlong
0ff83111c7 byref really means that we want the zval... 2003-02-10 20:30:24 +00:00
Moriyoshi Koizumi
21f766b7a4 Fixed zlib.output_compression so it can work even if zlib extension is built as shared 2003-02-10 19:04:44 +00:00
Wez Furlong
447976d8ee Implement com_describe 2003-02-10 18:37:28 +00:00
Jon Parise
1b8755994e Correct the spelling of 'supported'. 2003-02-10 15:46:47 +00:00
Wez Furlong
35639435c9 Error reporting clean up 2003-02-10 13:13:28 +00:00
Wez Furlong
81795c7f11 Newly created objects should use a separate function_table from the global class entry table.
For objects instantiated via new, make sure that intern->function_table uses the newly created table when the class is registered.
For generic per-object hashing, copy the ce->function_table into intern->function_table.
2003-02-10 12:36:07 +00:00
Wez Furlong
b0894e7eba Error reporting leaks and cleanup 2003-02-10 12:33:15 +00:00
Wez Furlong
79c046d8a8 Add additional optional parameter to openssl_pkcs7_encrypt to specify the
cipher.  The cipher can be one of the constants listed below.

Based on a patch from:
stefan at cuba dot ionum dot ch

 	OPENSSL_CIPHER_RC2_40,   (the default)
 	OPENSSL_CIPHER_RC2_128,
 	OPENSSL_CIPHER_RC2_64,
 	OPENSSL_CIPHER_DES,
 	OPENSSL_CIPHER_3DES,

proto bool openssl_pkcs7_encrypt(string infile, string outfile,
   mixed recipcerts, array headers [, long flags [, long cipher]])
2003-02-10 09:49:31 +00:00
Hartmut Holzgraefe
769cb03c35 proto fixes 2003-02-10 00:47:45 +00:00
foobar
885a1a4d08 some win32 fixes by Kai 2003-02-10 00:21:51 +00:00
Harald Radi
b0fb007f0f fix a memleak 2003-02-09 23:17:42 +00:00
Wez Furlong
eefe0f1bb0 ZTS fix 2003-02-09 23:11:23 +00:00
Kai Schroeder
eb8bccee56 fix for #17928 2003-02-09 21:44:51 +00:00
Wez Furlong
03e22793ff Fix various little leaks and segfaults.
Fix scripts like this:
$obj = new COM('Foo');
$obj2 = $obj->get_object();
$obj2->method();  // <-- would segfault here
2003-02-09 21:40:13 +00:00
Wez Furlong
9ef5cc7ef9 Add get_class_name handler so that the current var_dump implementation does not segfault.
Add a generic rpc_object_from_data() function for generating rpc objects from C code (as discussed with Harald).
2003-02-09 21:37:41 +00:00
Wez Furlong
47922a6996 Fix some warnings 2003-02-09 21:35:31 +00:00
Ilia Alshanetsky
f98ea4c46d Added feature request #9173 (added stream_get_line(), this function will
read either the specified number of bytes or until the ending string is
found).
2003-02-09 20:43:05 +00:00
Ilia Alshanetsky
8b5bc3ecd3 Added feature request #17983 (optional parameter to mkdir() that makes
directory creation recursive).
Fixed prototype for file() function.
2003-02-09 20:35:54 +00:00
Ilia Alshanetsky
4eae41915f Added feature request #14097 (option allowing file() command not to include
line endings in it's output. As well as another option, which allows blank
lines to be excluded from the output).
2003-02-09 20:05:13 +00:00
foobar
83403958ed break: First one not needed, second missing. 2003-02-09 19:57:50 +00:00
foobar
a09e1397c7 Fixed compile failures when ZLIB / PCRE are compiled as shared
extensions in same build.
2003-02-09 19:09:52 +00:00
foobar
7d46becbb2 Let this compile even if PCRE is compiled as shared in same build. 2003-02-09 18:47:21 +00:00
foobar
8678f51835 Fixed bug #22131, enable use of shared lib with pcre. 2003-02-09 14:59:07 +00:00
Marcus Boerger
8d183b7ccc Kill some warnings
# the remainig is not easy to solve: float_var = float_cast(extpression)
# This cannot be fixed by simply casting again to float because some
# compilers may ignore the double casting.
2003-02-09 14:17:05 +00:00
Marcus Boerger
547509d546 XBM for win 2003-02-09 14:05:23 +00:00
Kai Schroeder
e42339a6b4 shane added is_executable() for windows last night 2003-02-09 13:54:01 +00:00
Kai Schroeder
d1338ff914 reverting to version 1.5; shane added is_executable() for windows last night 2003-02-09 13:52:46 +00:00
Kai Schroeder
390799592d newlines changed 2003-02-09 13:25:23 +00:00
Kai Schroeder
f93b09b2db getopt() is currently not available on Windows 2003-02-09 13:23:50 +00:00
Kai Schroeder
11e81f89fd there are no symlinks on Windows 2003-02-09 13:20:17 +00:00
Kai Schroeder
ea9101135f is_executable() does not exist on Windows 2003-02-09 13:19:23 +00:00
Kai Schroeder
6fa2536252 die() to skip second message 2003-02-09 12:34:55 +00:00
Kai Schroeder
1e24498461 MSVC's mktime() does not examine the existence of a daylight-saving-time zone 2003-02-09 12:28:01 +00:00
Kai Schroeder
745bec1c48 Windows doesn't know timezone CET 2003-02-09 12:22:18 +00:00
Kai Schroeder
93d4e6e5ed skip for Windows (does not support dates prior to midnight, January 1, 1970) 2003-02-09 12:21:47 +00:00
Kai Schroeder
d6567abbf4 Windows does not support dates prior to midnight, January 1, 1970 2003-02-09 12:20:54 +00:00
Kai Schroeder
8e14c4a89f test for mktime() 2003-02-09 12:19:02 +00:00
Derick Rethans
f35f5f56c4 - Whitespace fixes 2003-02-09 12:15:05 +00:00
Frank M. Kromann
da56457eec cleanup variable initializations 2003-02-09 09:39:53 +00:00
Frank M. Kromann
9c161984a8 Fixing coredump when no php.ini file is used 2003-02-09 08:33:40 +00:00
Frank M. Kromann
eca4eb4522 MFB 2003-02-09 07:50:56 +00:00
Yasuo Ohgaki
7f81a4a62f Fixed one more improper row offset handling. 2003-02-09 07:50:16 +00:00
Yasuo Ohgaki
ac16adae0a Fixed improper result offset handling.
Prevent error when connection is broken. (optional)
2003-02-09 07:24:18 +00:00
Frank M. Kromann
62d42c2425 Bug #21707 problem with real 2003-02-09 07:18:02 +00:00
Frank M. Kromann
c62983b1ec Syncronize with branch 2003-02-09 06:27:38 +00:00
Shane Caraveo
5048f8c60e is_executable() now available on win32
stats can now get information provided by access()
2003-02-09 03:49:43 +00:00
Andrey Hristov
f8656a71bb adding a note. 2003-02-08 19:13:04 +00:00
Andrey Hristov
550def56d5 making it compilable under ZE2 (PHP5).
NOTE : Even it is compilable there is an compilation warning because of that
handle_function_call is deprecated in ZE2 (#if 0). Look like there will is
a problem with __call().
2003-02-08 19:11:04 +00:00
Sascha Schumann
a0d1331137 Fix segfault in bindtextdomain when first parameter was empty.
The Linux man page states: domainname must be a non-empty string.

Noticed by: Nils Meyer
2003-02-08 18:58:34 +00:00
foobar
b7a9ef8d80 style & ws fixes 2003-02-08 15:26:17 +00:00
Pierre Joye
a5f35ef94a Add gdImageEllipse
Replace gdImageFilledEllipse by a new function (backported from
the new phpgd)
the new gdImageFilledEllipse fix bug bug #22103 (ellipse part)
2003-02-08 08:41:43 +00:00
Sara Golemon
3631b28f44 chunk_size should always be reduced to 1 while scanning response headers to avoid buffering the actual stream prior to any read calls. 2003-02-07 23:44:58 +00:00
Ilia Alshanetsky
67b19b08e3 Added str_split() function. This function can be used to break down a
string into an array.
2003-02-07 21:36:18 +00:00
Ilia Alshanetsky
b1a6778fe5 Added get_browser() function. This function can be used to fetch the headers
sent by the server when a request is made for a given URL.
2003-02-07 21:33:35 +00:00
Dan Kalowsky
cba812ef5c MFB 2003-02-07 02:59:16 +00:00
Tal Peer
724aeb8bac Moving fribidi to PECL 2003-02-06 22:23:21 +00:00
Sara Golemon
874661a66e bc_raise() can return a scale lower than that passed into it. While most other bcmath calls won't, it's safest to do a quick check that we're only
reducing n_scale, not increasing it.
2003-02-06 22:18:41 +00:00
foobar
20f9b6d02c - Fixed bug #22088 (array_shift() leaves next index to be +1 too much) 2003-02-06 15:27:53 +00:00
foobar
073a80fbcc fix the test 2003-02-06 15:22:41 +00:00
foobar
102f8cf4c1 Added testcase for bug #22088 2003-02-06 15:04:53 +00:00
Ilia Alshanetsky
f12a6b7663 Added array_walk_recursive() function that can apply array_walk recursively
to an array.
2003-02-05 17:56:08 +00:00
Wez Furlong
20d886da50 Credits for iconv 2003-02-05 08:15:07 +00:00
Andi Gutmans
8603feb6fa - Please follow coding standards (this isn't java :) 2003-02-04 21:07:40 +00:00
Marcus Boerger
1af77be5fd fix ZTS build 2003-02-04 21:01:54 +00:00
Sara Golemon
3eab32163c Bug#13551 bcmath functions should not apply scale to arguments, only to result 2003-02-04 19:03:30 +00:00
Ilia Alshanetsky
a89a651a46 Made the row parameter in pg_result_seek() non-optional, the current
implementation would result in random behavior if the 2nd argument is not
passed.
Fixed bug #22042 (pg_result_seek() would never seek to the 1st row in the
result due to always seeking to row next to the one requested).
Removed dead code from pg_result_seek().
2003-02-04 18:34:00 +00:00
Zeev Suraski
3a1a209baf Updates reflecting infrastructure changes 2003-02-04 13:12:48 +00:00
Uwe Steinmann
be3908cc8e - fixed some prototypes and folding 2003-02-04 10:57:35 +00:00
Uwe Steinmann
e27c4c622e - fixed prototype of pdf_get_buffer() 2003-02-04 10:23:12 +00:00
Ilia Alshanetsky
0d2368554a Fixed bug #22017 (non descriptive error to appear when timestamp passed to
date() has value < 0. Win32 does not support timestamps prior to midnight
(00:00:00), January 1, 1970).
2003-02-03 22:48:26 +00:00
Ilia Alshanetsky
d89c38961b Make putenv() return a proper error rather then NULL when invalid argument
is passed.
2003-02-03 21:48:36 +00:00
Ilia Alshanetsky
065e4d6550 Fixed bug #22022 (Crash in imap_mail_compose() if the body is an empty array). 2003-02-03 21:24:32 +00:00
Ilia Alshanetsky
b0924da0cf Fixed bug #22031 (Made curl_write() & curl_write_header() binary safe). 2003-02-03 20:56:23 +00:00
Moriyoshi Koizumi
47f6ed8dbb Trivial test adjustment 2003-02-03 20:29:07 +00:00
Moriyoshi Koizumi
0ae9394c39 zend_get_parameters_* => zend_parse_parameters 2003-02-03 20:25:25 +00:00
foobar
07a9729071 - Fixed bug: #21998 (array_pop() did not reset the current array position)
# This behaves now same as in PHP 4.2.3
2003-02-03 16:57:02 +00:00
foobar
7147949a4e Correct description of the problem 2003-02-03 16:52:04 +00:00
Moriyoshi Koizumi
a4fe845aba Really fixed proto.
# sorry for messing
2003-02-03 16:46:45 +00:00
Moriyoshi Koizumi
2a92efdaf9 Oops! wrong commit. Reverting... 2003-02-03 16:45:56 +00:00
Moriyoshi Koizumi
e58e11743a Fixed proto 2003-02-03 16:44:28 +00:00
Moriyoshi Koizumi
e5a4b5b2dc Fixed test case for mb_strpos().
# the third parameter should specify an offset but an encoding name
2003-02-03 16:16:37 +00:00
foobar
be83a02b8c This cause some warning/error in AIX 2003-02-03 13:08:08 +00:00
foobar
8e673a3fa0 Test that libgds actually exists. 2003-02-03 11:45:44 +00:00
foobar
1887456484 ws 2003-02-03 09:55:09 +00:00
foobar
bb97dfaccb Added test for bug #21998 2003-02-03 06:43:08 +00:00
Ilia Alshanetsky
923ae6ca3e Gave the user the ability to specify encoding of the request.
Patch by jens@mermaidconsulting.dk.
2003-02-02 20:56:51 +00:00
Sebastian Bergmann
7ed0972683 Fix warning. 2003-02-02 18:50:42 +00:00
Zeev Suraski
53060ef869 Fix phpinfo() display of Zend extensions 2003-02-02 15:53:04 +00:00
Marcus Boerger
1d9477f386 - new xbm support
@Added XBM support for bundled gd library. (marcus)

# It was enabled by the last commit and fixed by this one.
2003-02-02 01:34:54 +00:00
Marcus Boerger
3e675c1cf4 avoid warnings 2003-02-01 23:38:29 +00:00
Marcus Boerger
07246c2f99 Bundled version has XBM support as well as external.
# Now fix the shit behind it...
2003-02-01 23:25:14 +00:00
Marcus Boerger
129bd74b45 Show if XPM support is available & Set availability bit only when available. 2003-02-01 23:23:59 +00:00
Marcus Boerger
27ccc66518 @Added XBM support for GetImageSize(). (helly) 2003-02-01 23:14:13 +00:00
Marcus Boerger
895c27d3fc Change DBM detection order 2003-02-01 22:19:04 +00:00
Marcus Boerger
0319e63775 - unify configure mechanisms (include file handling)
- fix dbm
- allow dbm to be based on gdbm
2003-02-01 18:59:59 +00:00
Wez Furlong
84f83e8559 Don't assume that objects have class entries (in the ZE1 sense) when
determining the class name.
Additionally, don't assume that objects have a properties hash either.
2003-02-01 03:52:31 +00:00
Melvyn Sopacua
f20d394e2d Require 2.5.6+
MFB: Be -ltdl aware
2003-01-31 23:01:36 +00:00
Ilia Alshanetsky
31a3135014 Fixed bug #21986 (openssl test failure). 2003-01-31 22:15:56 +00:00
Marcus Boerger
0629bdb061 Shared dba requires at least db-3.3 2003-01-31 20:06:44 +00:00
Marcus Boerger
037986db20 Fix proto 2003-01-31 19:12:23 +00:00
Frank M. Kromann
b079cc2af5 Rename script.
Add check for CLI version
2003-01-31 18:51:28 +00:00
Sascha Schumann
bea6ff5183 Unbreak $Id tag 2003-01-31 16:24:12 +00:00
foobar
e9a132f223 No c++ comments.. 2003-01-31 14:18:50 +00:00
Moriyoshi Koizumi
b00cc4f2bb Fixed a mb_send_mail() bug that has been reported in php-i18n@lists.php.net
See http://lists.php.net/article.php?group=php.i18n&article=427
2003-01-31 14:15:49 +00:00
Sara Golemon
81797baed4 Add ftp_raw() to send raw command strings to an FTP server. 2003-01-31 04:54:57 +00:00
Frank M. Kromann
ff605d071f Use platform specific extension. 2003-01-31 03:45:13 +00:00
Frank M. Kromann
04abd3af69 Dtandard visual studio project for ext_skel 2003-01-31 03:44:55 +00:00
Frank M. Kromann
941dc7260d Wrapper script to use ext_skel on Win32 2003-01-31 03:44:20 +00:00
Ilia Alshanetsky
242a9a47c7 Fix compiler warning. 2003-01-30 22:37:50 +00:00
Marcus Boerger
302f97abbc Revert this part, the new one adds more problems than it solves. 2003-01-30 21:36:05 +00:00
Sara Golemon
65146ceb26 Unify str_replace and str_ireplace using INTERNAL_FUNCTION_PARAM_PASSTHRU -- reduce codebase/maintenance complexity 2003-01-30 20:09:19 +00:00
foobar
21803056b5 fix bug: #21945 (zts build failed) 2003-01-30 19:30:13 +00:00
Marcus Boerger
f2ff4678cd Allow to link against chosen modules correctly 2003-01-30 18:28:42 +00:00
Sara Golemon
37ff98978b Feature Request # 5919 - Addition of str_ireplace()
Also removed deprecated BM str replace menthod
Also rewrote php_str_to_str to use more processor/memory efficient method (ilia)
2003-01-30 05:00:41 +00:00
Ilia Alshanetsky
453368afdf Removed pointless checks. 2003-01-30 02:33:16 +00:00
Ilia Alshanetsky
ebf13bc940 Added sanity checks. 2003-01-29 19:33:38 +00:00
Maxim Maletsky
808cb3ad74 Added myself to the maintainers list. 2003-01-29 18:31:48 +00:00
Edin Kadribasic
ca0b63e420 Enable embedded code using sapi/embed to use dl(). 2003-01-29 15:39:10 +00:00
Harald Radi
f8e014b228 MFPHP_4_3 2003-01-29 00:49:09 +00:00
Ilia Alshanetsky
e6170c0b30 Added part of strpos commit that never made it in for some reason.
# Thanks Pollita.
2003-01-29 00:07:01 +00:00
foobar
41d6e9af8d Fix configure. (typo?) 2003-01-28 10:55:36 +00:00
foobar
68ffe71a12 fix some typos 2003-01-28 06:56:32 +00:00
foobar
c96fe825b8 fix typo 2003-01-28 06:52:09 +00:00
Marcus Boerger
1ab64d2b96 - fix this: els is optional but may not be empty 2003-01-28 06:27:01 +00:00
Frank M. Kromann
0e38fedcd7 Fix the setting of computer name and processor type for php_uname() on Win32 2003-01-28 05:02:12 +00:00
Ilia Alshanetsky
2d0f432490 Added scandir() function, which allows quick retrieval of all files &
directories within the specified path and sort the output in alphabetical
or reverse alphabetical order.
2003-01-28 01:48:57 +00:00
foobar
946032f40b - Cleaned up and made less error-prone
- Changed --enable-mime-magic -> --with-mime-magic[=FILE] to allow
  specifying of the file during configure.
2003-01-28 01:00:15 +00:00
Marcus Boerger
2b5a5ca669 - fix "--without-flatfile"
- simplify Berkley DB verison check
2003-01-28 00:10:05 +00:00
Maxim Maletsky
e4ec7372e9 This fixes "warning C4101: 'charsetid' : unreferenced local variable" on VC6 2003-01-27 20:05:48 +00:00
Maxim Maletsky
897a708c87 @- Fixed bug #17448 (Print the message when OCI_SUCCESS_WITH_INFO is returned).
(Maxim)
2003-01-27 19:52:11 +00:00
Sara Golemon
d0cb097c52 Fix potential buffer overflow. 2003-01-27 19:51:50 +00:00
Edin Kadribasic
c7441b2379 Fixed bug #21597 (made glob() understand windows paths) 2003-01-27 16:29:47 +00:00
Uwe Steinmann
c375b0b05c - fixed several bugs in hw_document_xx() functions. The macro to access
the document was the same as for a link to the sever.
2003-01-27 09:11:17 +00:00
Sara Golemon
761fa96412 Feature Request #21748. Added function ftp_chmod(). 2003-01-27 02:54:12 +00:00
Sander Roobol
e9d0a58cb0 Fix build 2003-01-26 09:13:31 +00:00
Sara Golemon
3ad9839f2f Feature Request #21784 Added: imagecolorallocatealpha (pollita@php.net,jasper@pointless.net) 2003-01-26 01:15:02 +00:00
Marcus Boerger
564788b6f5 The builtin version was always used even if configured otherwise. 2003-01-25 19:46:58 +00:00
Ilia Alshanetsky
ef021e8964 Removed unneeded code. 2003-01-25 18:55:07 +00:00
Hartmut Holzgraefe
974ff24e80 - mime file parser messages only with mime_magic.debug=On (default: off)
- fix docref URL in startup error messages
- show status in php info, either "enabled" or "..., disabled"
2003-01-25 16:25:37 +00:00
Hartmut Holzgraefe
6a4a858294 preparations for making magic file parser silent 2003-01-25 13:33:29 +00:00
Hartmut Holzgraefe
f95759b36a suggesting a plain magic file insteat of a mime one is a bad idea 2003-01-25 10:51:04 +00:00
Ilia Alshanetsky
efae1b9ace Fixed a typo. 2003-01-25 00:25:32 +00:00
Ilia Alshanetsky
758ea308a9 Fixed compiler warning. 2003-01-25 00:23:03 +00:00
Sascha Schumann
330740f7cd Remove ugly netware hacks from the code 2003-01-24 23:57:32 +00:00
Ilia Alshanetsky
e10f20924e Removed unnecessary checks. 2003-01-24 22:58:46 +00:00
Dan Kalowsky
b48d709746 Patch for bug #21844 2003-01-24 22:40:38 +00:00
Ilia Alshanetsky
383171b11b Fixed bug #21533 (a rare condition where error can remain undefined and
result in undefined behavior when it is used without being initialized).
2003-01-24 19:23:53 +00:00
Ilia Alshanetsky
417ba55c1f Fixed bug #21865. 2003-01-24 19:15:54 +00:00
foobar
142da0ed58 Fix bug #21795, Undeclared statement in oci8.c (OCI_ATTR_STATEMENT) 2003-01-24 17:51:19 +00:00
Ilia Alshanetsky
6efe008598 Fixed compile warning. 2003-01-24 16:45:34 +00:00
Ilia Alshanetsky
d2162b32b1 Fixed compile warning. 2003-01-24 16:39:49 +00:00
Ilia Alshanetsky
f163a4d16b Fixed a memory leak.
zend_error -> php_error_docref.
2003-01-24 16:34:20 +00:00
Ilia Alshanetsky
38ad0e9104 zend_error -> php_error_docref. 2003-01-24 16:29:40 +00:00
Ilia Alshanetsky
95bfbfe1c1 Fixed compile warning. 2003-01-24 16:23:11 +00:00
Andrey Hristov
600fce5890 Resolving problem on OSF1 and probably other
64 bit platforms. Thanks for the feedback of Magnus (novell kiruna se).
2003-01-24 13:18:08 +00:00
Andrey Hristov
1d0214bee4 Adding cast. 2003-01-24 12:19:59 +00:00
foobar
4dfc7cc87c - Fixed stupid typo..
# I will test before commit, I will test before commit...
2003-01-24 10:12:55 +00:00
foobar
e771bdb23d Fixed bug: #20857, snmpset() fails 2003-01-24 09:52:46 +00:00
foobar
45f1f1711d ws fixes 2003-01-24 09:40:53 +00:00
Ilia Alshanetsky
4fde1b8de1 zend_error() -> php_error_docref(). 2003-01-24 05:21:08 +00:00
Moriyoshi Koizumi
cfbd0bb58a Really fixed the mb issue of mb_ereg_replace()
# my previous patch is somewhat wrong
2003-01-23 20:38:44 +00:00
Moriyoshi Koizumi
3e7b832895 Fixed a mb_ereg_replace() bug; the function was not completely multibyte-safe. 2003-01-23 20:07:39 +00:00
Moriyoshi Koizumi
8dfb2df649 Renamed the test name as per the convension 2003-01-23 19:21:51 +00:00
Moriyoshi Koizumi
6fc22aa5d9 Test name formatting 2003-01-23 19:07:25 +00:00
Moriyoshi Koizumi
7abc6e4338 Made the test's name more descriptive 2003-01-23 19:00:06 +00:00
Moriyoshi Koizumi
0344311bde Removed pointless checks 2003-01-23 18:48:43 +00:00
Moriyoshi Koizumi
24ae309037 Added test case for bug #21732 2003-01-23 18:22:55 +00:00
foobar
e1c985d9a7 Fix bug: #21817 (only enable this if --with-kerberos is used) 2003-01-23 16:29:49 +00:00
foobar
04eca7536c MFB 2003-01-23 06:23:08 +00:00
foobar
895a3a109f Correct default path 2003-01-23 05:33:11 +00:00
Ilia Alshanetsky
6bf2ce3429 Removed non-needed code. 2003-01-22 22:07:22 +00:00
Anil Madhavapeddy
dea44dfc9a typo 2003-01-22 20:41:28 +00:00
Frank M. Kromann
66ee5dfac2 adding missing zlib.lib and path to bindlib 2003-01-22 20:13:11 +00:00
Ilia Alshanetsky
d24148f3d0 Fixed a crash when invalid color is passed to imagepstext(). 2003-01-22 19:53:29 +00:00
Moriyoshi Koizumi
812a419019 Oops! wrong patch. Reverted. 2003-01-21 22:09:09 +00:00
Moriyoshi Koizumi
ce5df6d949 Fixed mb_ereg_replace() bug (the function has ignored the default option) 2003-01-21 22:03:29 +00:00
Moriyoshi Koizumi
9a723fcb4e Fixed mb_ereg_search() segfault that occurs when the function is called
before a string to be searched is passed by mb_ereg_search_init()
2003-01-21 19:31:07 +00:00
Andrey Hristov
bd55130077 increasing readability. 2003-01-21 17:37:59 +00:00
Ilia Alshanetsky
dc150fd2ea getParameters -> zend_get_parameters_ex. 2003-01-21 15:27:39 +00:00
Ilia Alshanetsky
8a9e09a44a ARG_COUNT(ht) -> ZEND_NUM_ARGS(). 2003-01-21 14:56:40 +00:00
Pierre Joye
9ad850637e Remove the (c), in the future, can we add PHP Licence terms for the new
functions ?
2003-01-21 02:10:19 +00:00
Pierre Joye
81c68ab8d5 Add credits to my functions (thx for the advice Wez&Ilia :) 2003-01-21 01:49:34 +00:00
Ilia Alshanetsky
053023a71e quota function fixes. Thanks Wez. 2003-01-20 21:28:09 +00:00
Ilia Alshanetsky
20925f97b9 Changed php_error to php_error_docref.
Removed pointless memory allocation checks.
Memory leak fix inside quota functions.
2003-01-20 19:41:58 +00:00
Moriyoshi Koizumi
e3e364f77b Fixed bug #21758 2003-01-20 16:45:21 +00:00
Ilia Alshanetsky
aa8b1d6db3 Restore php_error -> php_error_docref patch. 2003-01-20 16:15:18 +00:00
Derick Rethans
f1ba2137c0 - Add credits for Magnus 2003-01-20 12:34:07 +00:00
foobar
f6cee90129 Add test for png.h 2003-01-20 10:39:29 +00:00
Mark L. Woodward
7eeea7e55d Updated for Msession 1.2.
Includes new APIs
2003-01-20 03:16:24 +00:00
Ilia Alshanetsky
2292a652a6 ZTS fix. 2003-01-19 23:32:22 +00:00
Moriyoshi Koizumi
dfbfa1a36f Improved the patched part to prevent further potential bugs 2003-01-19 17:23:48 +00:00
Ilia Alshanetsky
2efab7a22a fixed typos 2003-01-19 15:01:34 +00:00
Harald Radi
b51b6f0fbf ini patch to allow 'entry[] = value' entries 2003-01-19 12:18:46 +00:00
Moriyoshi Koizumi
a1e6457561 Fixed bug #21744(21741)
Added test case for the bug
2003-01-19 11:32:54 +00:00
Ilia Alshanetsky
1fe4990bc0 ZTS fixes. 2003-01-19 08:32:26 +00:00
Ilia Alshanetsky
2500199ae3 ZTS fixes. 2003-01-19 04:09:32 +00:00
Ilia Alshanetsky
fec2af82b8 Changed php_error to php_error_docref.
Make mcal compile with ZE2.
2003-01-19 00:47:03 +00:00
Ilia Alshanetsky
3d8e54f3a2 Changed php_error to php_error_docref. 2003-01-19 00:45:53 +00:00
Derick Rethans
add3ec4e0b s/4.4/5.0 2003-01-18 22:33:56 +00:00
Ilia Alshanetsky
aebb39b014 Changed php_error to php_error_docref.
Thanks to Marcus Börger for writing a script that significantly simplifies
this process.
2003-01-18 21:31:11 +00:00
Ilia Alshanetsky
b2ecf47755 Fixed bug #21732 (Added a sanity check, that prevents parameter mismatch). 2003-01-18 20:48:52 +00:00
Ilia Alshanetsky
984c0918ab Removed pointless memory allocation checks. 2003-01-18 20:10:23 +00:00
Ilia Alshanetsky
71e9f8cdd5 Removed pointless memory allocation checks. 2003-01-18 20:01:46 +00:00
Ilia Alshanetsky
60af5507a5 Changed php_error to php_error_docref. 2003-01-18 19:57:25 +00:00
Ilia Alshanetsky
1ae3c0e66e Removed pointless memory allocation checks.
Changed php_error to php_error_docref.
2003-01-18 19:53:35 +00:00
Ilia Alshanetsky
7cc28802af Changed php_error to php_error_docref. 2003-01-18 19:51:21 +00:00
Ilia Alshanetsky
a7b91019e9 Removed pointless memory allocation checks. 2003-01-18 19:49:28 +00:00
Ilia Alshanetsky
e2868b5788 Removed pointless memory allocation checks. 2003-01-18 19:41:56 +00:00
Ilia Alshanetsky
72b356c1bc Removed pointless memory allocation checks. 2003-01-18 19:28:10 +00:00
Moriyoshi Koizumi
94c25df592 WS 2003-01-18 19:26:01 +00:00
Ilia Alshanetsky
b566ad5d1b Changed php_error to php_error_docref. 2003-01-18 19:20:02 +00:00
Marcus Boerger
9d02c2bd56 correct my fault here and documnet the sense of the test 2003-01-18 19:06:29 +00:00
Moriyoshi Koizumi
310397f2ee Fixed typo 2003-01-18 19:02:21 +00:00
Moriyoshi Koizumi
2aa7bf8d8b Added test case for bug #21730 2003-01-18 18:59:27 +00:00
Ilia Alshanetsky
a3daf3bbe8 Additional memory allocation fixes by Marcus Börger. 2003-01-18 18:51:12 +00:00
Moriyoshi Koizumi
e23fead99f Tons of WS fixes 2003-01-18 18:49:47 +00:00
Ilia Alshanetsky
e0654de590 Removed the no longer needed memory allocation checks. 2003-01-18 18:32:19 +00:00
Moriyoshi Koizumi
21b4499953 Fixed bug #21726 and #21730 2003-01-18 18:31:13 +00:00
Andrey Hristov
309ef518fc Renamed get_memory_usage() to memory_get_usage() (per Andi's advice)
This doesn't break any BC.
2003-01-18 15:03:01 +00:00
Wez Furlong
7002a39f97 Fix potential problem for 64-bit architectures. 2003-01-18 14:10:22 +00:00
Derick Rethans
39aa3a5d98 - Fixed memleak in fscanf(). 2003-01-18 13:55:58 +00:00
Derick Rethans
a50e9acd8e - Skip test if the function to test is not available
#- Perhaps we need some infrastructure for this...
2003-01-18 13:53:25 +00:00
foobar
83e9f23182 Fix bug: #21687, imap extension does not include gss authentication mechanism 2003-01-18 07:00:47 +00:00
Ilia Alshanetsky
054826b192 Added missing test result. 2003-01-17 23:57:43 +00:00
Ilia Alshanetsky
833473d1de Removed pointless checks of array_init() return value. 2003-01-17 21:37:56 +00:00
Moriyoshi Koizumi
f71ef5e091 Fixed a quoted printable decoder so that it would conform to RFC2045. 2003-01-17 20:00:31 +00:00
Andrey Hristov
6c843d1431 Moved to C style comments.
Last time forgot to convert the header files.
2003-01-17 19:35:13 +00:00
Marcus Boerger
973c5fa1ec fix jp2 detection and add testfile 2003-01-17 18:51:30 +00:00
Ilia Alshanetsky
169eb85e0a Syncronize bundled GD library with latest GD (2.0.11). 2003-01-17 18:34:07 +00:00
Derick Rethans
cce2ffed8a - Fixed a bug that made that no newline was displayed when there was no value
for a row.
2003-01-17 18:07:10 +00:00
Andrey Hristov
7dd7b03aa8 Removed pointless checks around array_init(). 2003-01-17 16:33:01 +00:00
Ilia Alshanetsky
fb6517e8ab Fixed memory leaks in imap_get_quota & imap_get_quotaroot.
Removed pointless checks around array_init().
2003-01-17 16:07:39 +00:00
Moriyoshi Koizumi
f94cbfe52b Significant speed enhancements. I was underestimating the power of recent
CPUs :)
2003-01-17 09:04:02 +00:00
Harald Radi
77f7ae3814 revert previous commit 2003-01-16 22:08:00 +00:00
Harald Radi
76adb58b7a unbreak the build 2003-01-16 21:52:06 +00:00
Ilia Alshanetsky
41092dbd8a Fixed bug #21651 (crash in pdf_open_memory_image() when inserting a
non truecolor image).
2003-01-16 21:18:49 +00:00
Moriyoshi Koizumi
93481ce9b8 Finally fixed a qp encoder bug that line break characters that appear exactly
at the end of the chunk lost in the output.
# I bet no more problems will occur in quoted-printable encoder.
# But I recognised the counterpart is still buggy due to RFC2045-incompliance.
2003-01-16 20:59:07 +00:00
Marcus Boerger
1dabcd4dad - JPEG 2000 support 2003-01-16 19:46:12 +00:00
Marcus Boerger
8958762de6 - corrected error in file detection for very small files
- JPEG 2000 support, mostly Adam Wright <adam@elysium.ltd.uk>
@Enhanced jpeg 2000 support for GetImageSize(). (marcus, Adam Wright)
2003-01-16 19:45:26 +00:00
Harald Radi
b1613e16f2 change library name 2003-01-16 18:53:45 +00:00
Harald Radi
f390fbb92a update skeleton 2003-01-16 18:46:59 +00:00
Harald Radi
5aae306f96 for those who prefer to have com as a shared lib 2003-01-16 18:15:44 +00:00
Harald Radi
7f127a22df make layers loadable as self-sustaining php extension
which registeres itself in the rpc framework.
2003-01-16 17:49:22 +00:00
Dan Kalowsky
dacf98c86f typo corrected 2003-01-16 16:42:25 +00:00
Dan Kalowsky
ae8f64e325 Adding in test ability for WIndows to fetch_objects 2003-01-16 16:27:31 +00:00
Edin Kadribasic
d4e143b8be Fixed bug #21648 2003-01-16 13:19:50 +00:00
Sascha Schumann
db8b4c6762 Add INI setting session.hash_bits_per_character which enables developers
to choose how session ids are represented, regardless of the hash algorithm.
2003-01-16 07:21:49 +00:00
Ilia Alshanetsky
4e53357e9b Fixed bug #20079 (made ora_logoff return TRUE on success). 2003-01-16 02:53:44 +00:00
Ilia Alshanetsky
1351f42efc More build fixes. 2003-01-15 19:36:13 +00:00
Wez Furlong
a3a2dcd8a9 Relieve scripts of the burden of ensuring that all pipes are closed prior
to calling proc_close().
Implement proc_get_status(resource $process) which returns an array of
information about a process created with proc_open().
The information includes:
array(
	"command" => string "name of the command",
	"pid" => long process identifier,
	"running" => bool true if the process is still running
	"exitcode" => long exitcode if the process exited
	"signaled" => bool true if the process was signaled
	"termsig" => long signal number if signaled
	"stopped" => bool true if the process is stopped
	"stopsig" => long signal number if stopped
);
2003-01-15 18:54:03 +00:00
Ilia Alshanetsky
d4f73f8da6 Fixed a typo. 2003-01-15 17:22:03 +00:00
Wez Furlong
1a314027d3 - Move proc_open code to a source file of it's own.
- Tidy up that netware mess by performing a configure check which will
  define the symbol PHP_CAN_SUPPORT_PROC_OPEN if PHP can support proc_open.
- Protected the proc_open specific code with #ifdef PHP_CAN_SUPPORT_PROC_OPEN
  so that user-space scripts can use function_exists and react accordingly.

** Heads Up Win32: You need to add ext/standard/proc_open.c to the DSP and
** #define PHP_CAN_SUPPORT_PROC_OPEN in the w32 config header.
2003-01-15 16:29:00 +00:00
Ilia Alshanetsky
ea0f37fc76 Build fixes. 2003-01-15 15:36:28 +00:00
Moriyoshi Koizumi
fdf0768d4e Fixed a qp encoder bug that the constructor sometimes fails if
line-breaking mode is off.
2003-01-15 15:05:17 +00:00
Ilia Alshanetsky
475125ac25 Typo fixes. 2003-01-15 14:05:41 +00:00
Ilia Alshanetsky
f704ac13a8 Fixed typo. 2003-01-15 14:02:11 +00:00
Ilia Alshanetsky
2b121d0b37 Various corrections. 2003-01-15 13:55:34 +00:00
Ilia Alshanetsky
dbe5972a0d Fixed typos. 2003-01-15 13:50:54 +00:00
Ilia Alshanetsky
e0e77d7d02 Typo corrections. 2003-01-15 13:48:07 +00:00
Yasuo Ohgaki
345ada81c8 Fixed proto 2003-01-15 10:21:15 +00:00
Adam Dickmeiss
f8b55fabc5 Fix functions comments (connection resource rather than connection id).
New functions yaz_set_option and yaz_get_option.
Cleanup in yaz_connect.
2003-01-15 08:00:44 +00:00
Adam Dickmeiss
701ab27de7 Fix lib config for the case where YAZ depends on multiple libraries 2003-01-15 07:57:52 +00:00
Ilia Alshanetsky
fc9282c183 Kill compile warning. 2003-01-15 03:37:11 +00:00
Ilia Alshanetsky
299614ae16 Newer parameter parsing API. 2003-01-15 03:01:17 +00:00
Ilia Alshanetsky
a354531144 Getting rid of the old API parsing code. 2003-01-15 02:54:54 +00:00
Ilia Alshanetsky
c2d66fa8bf Changed php_error to php_error_docref.
Made use of the more recent parameter parsing API, zend_get_parameters*.
2003-01-15 02:49:38 +00:00
Ilia Alshanetsky
ad42fba9fa Removed pointless checks around array_init() & ZE memory allocation macros.
Changed php_error to php_error_docref.
Dropped getParam* parameter parsing API in favor of zend_get_parameters*.
2003-01-15 02:31:16 +00:00
Ilia Alshanetsky
a63b47cae0 This patch allows cpdf to be compiled in conjunction with ncurses, which was
not possible before due to conflicting defines.
2003-01-15 00:52:06 +00:00
Ilia Alshanetsky
e37aee1a34 Porting of patch applied to ext/xmlrpc. 2003-01-14 21:04:47 +00:00
Ilia Alshanetsky
a0b3f822f7 Made the code use php_error_docref().
Removed pointless checks around array_init() and emalloc().
Switched to zend_get_parameters_ex() argument parsing API.
2003-01-14 21:02:14 +00:00
Andrey Hristov
05ff5da32b Migrated to C style comments. 2003-01-14 20:24:40 +00:00
Ilia Alshanetsky
74e34d1657 Changed getParameters() to zend_get_parameters_ex(). 2003-01-14 20:07:52 +00:00
Ilia Alshanetsky
1dbf11e1ba Fixed compile warnings. 2003-01-14 20:05:38 +00:00
Ilia Alshanetsky
f12a4164a5 One more typo. 2003-01-14 20:02:42 +00:00
Ilia Alshanetsky
44c8927daf Fixed typos. 2003-01-14 19:59:48 +00:00
Moriyoshi Koizumi
3ae7d13bc9 Appended my name to the list of authors 2003-01-14 19:26:00 +00:00
Moriyoshi Koizumi
ac66d4481e Test update for new feature 2003-01-14 19:25:10 +00:00
Ilia Alshanetsky
cd267a3df4 Switched from old getParse* argument parsing API to a more recent
zend_get_parameters*.
2003-01-14 18:54:44 +00:00
Andrey Hristov
7866f02260 added function get_memory_usage(). available only when PHP is compiled
with --enable-memory-limit
2003-01-14 18:26:47 +00:00
Ilia Alshanetsky
62f7e27141 Fixed compile warning & removed useless variable. 2003-01-14 17:45:31 +00:00
Ilia Alshanetsky
7d14dae0bb Changed php_error to php_error_docref.
Got rid off the ancient getParameters* parameter parsing API.
2003-01-14 17:44:56 +00:00
Moriyoshi Koizumi
e5c5412777 Added a new option "force-encode-first" to the quoted-printable encoder
as per Wez's request. If enabled, the encoder forcefully does qp
tranformation on every first character of lines in incoming stream.
2003-01-14 16:42:18 +00:00
Ilia Alshanetsky
4bc247553a Changed php_error() to php_error_docref().
Made pdfdoc retrieval a macro.
2003-01-14 15:15:53 +00:00
Moriyoshi Koizumi
bde6801add Made php_quot_print_decode() RFC2045-compliant
# this function is only used in iconv extension and the corresponding
# userland function doesn't use it, so I don't see any BC issue here.
2003-01-14 15:14:11 +00:00
Edin Kadribasic
45e9f594bb MFB: bind_textdomain_codeset() availability on windows 2003-01-14 14:46:33 +00:00
Ilia Alshanetsky
6fb507b53e Changed php_error to php_error_docref().
Removed pointless checks around array_init().
2003-01-14 02:39:10 +00:00
Moriyoshi Koizumi
a0be48c109 Fixed small memory leak that occurs when the invalid line length is passed
to the qprint ctor.
2003-01-14 01:27:57 +00:00
Moriyoshi Koizumi
121e625977 Fixed quoted-printable encoder so that it produces RFC2045 complicant
output. As per this specification requirement, the constructor now accepts
three options: binary (boolean), line-len (uint), line-break-chars (string).
2003-01-14 01:23:35 +00:00
foobar
cabee3635f Fixed bug: #21543, Informix version detection fails 2003-01-13 23:31:13 +00:00
Frank M. Kromann
d07dc0fc4c false should be VT_FALSE 2003-01-13 19:33:10 +00:00
Andrey Hristov
1cdc956637 added array_combine().
Creates an array by using the elements of the first parameter as keys and
the elements of the second as correspoding keys. Error is thrown in case
the arrays has different number of elements. Number of elements 0 is not
valid for both parameters.
2003-01-13 18:12:23 +00:00
Andrey Hristov
ffeb57afb5 Modifying TS build.
Migrating to _ex API for hash traversal.
2003-01-13 16:39:16 +00:00
Edin Kadribasic
f09be34dd3 Adjust paths to the new location java.dsp 2003-01-13 15:15:24 +00:00
Edin Kadribasic
8dbbddfb54 Fix ZTS build here too.
#
# What is the correct location of XMLRPC extension?
# Can the reduntand one be removed then and the build system fixed
# to acommodate that.
2003-01-13 13:39:29 +00:00
Edin Kadribasic
8ef5a3d48e Fixed ZTS build. 2003-01-13 13:36:23 +00:00
Moriyoshi Koizumi
78f527e2b7 Fixed a silly segfault bug caused by lack of strict type checking 2003-01-13 11:00:22 +00:00
Moriyoshi Koizumi
ab71e2cbaa . Implemented a common filter parameter parsing function.
# For example "base64-encode.line-break-chars=--,base64-decode.blah=foobar"
# will be parsed and splitted into a zval array as
# array(2) {
#   ["base64-encode"]=>
#   array(1) {
#     ["line-break-chars"]=>
#     string(2) "--"
#   }
#   ["base64-decode"]=>
#   array(1) {
#     ["blah"] =>
#     string(6) "foobar"
#   }
# }
. Added automatic line-breaking feature for base64 encode filter. This
  can be turned on by putting a option entry "base64-encode.line-length"
  to the filter parameters.
2003-01-13 10:21:40 +00:00
Derick Rethans
2cbcb743d8 - Fix ZTS build 2003-01-13 08:19:50 +00:00
Moriyoshi Koizumi
1fec8e3d13 Fixed a bug of the base64 decoder that a sequence of intervening
characters that are supposed to be ignored by the decoder cause output
corruption.
2003-01-12 21:05:22 +00:00
Stanislav Malyshev
98175957a7 ZE2 compatibility 2003-01-12 18:42:16 +00:00
Sebastian Bergmann
f37cb1c617 ZTS fixes. 2003-01-12 14:47:18 +00:00
Stanislav Malyshev
a7e14749e7 Disable ZE2-incompatible parts
# This should be rewritten for ZE2 anyway...
2003-01-12 14:43:04 +00:00
Stanislav Malyshev
bcc1e5a74e remove unneeded var 2003-01-12 13:50:17 +00:00
Moriyoshi Koizumi
a88173bf86 Fixed infinite loop bug when an invalid quoted-printable escape sequence
appears in the streem.
2003-01-12 13:46:11 +00:00
Moriyoshi Koizumi
b1e8631986 Fixed error msg format so it correctly reports the actual filter name 2003-01-12 13:41:35 +00:00
Sascha Schumann
f2f1f94e36 add INI setting session.hash_function
add support for creating session ids using SHA-1
source more entropy for session ids
2003-01-12 13:07:14 +00:00
Sascha Schumann
0b8401bf27 handle ERANGE from strtol properly 2003-01-12 13:05:32 +00:00
Moriyoshi Koizumi
aa41ab285a . Updated quoted-printable filter by a neater implementation.
. Changed emalloc family functions to pemalloc ones for persistent filters.
. Changed base64 and quoted-printable filter names to "convert.base64-encode",
  "convert.base64-decode", "convert.quoted-printable-encode", and
  "convert.quoted-printable-decode" respectively for the consistency that
  may be requested later.
2003-01-12 12:48:13 +00:00
Sebastian Bergmann
17c1518792 Patch by Giuseppe Tanzilli <g.tanzilli@gruppocsf.com>. 2003-01-12 08:03:18 +00:00
Frank M. Kromann
874cddd4ae Release skiped results. This will free memory on the server.
Make mssql_execute work for stored procedures with and without returning result sets
2003-01-12 06:28:41 +00:00
Ilia Alshanetsky
c4088ce25b Do not 'convert' double columns to integers after the 1st row in the result
set.
2003-01-11 23:50:37 +00:00
Ilia Alshanetsky
48f2ad4703 Fixed handling of NUMERIC type, when it contains numbers that could
potentially exceed the interger limit.
2003-01-11 23:06:35 +00:00
Moriyoshi Koizumi
7fa0970567 Reverted because correct decision has not been made yet. 2003-01-11 23:05:19 +00:00
Moriyoshi Koizumi
b66b92e996 Reduced warnings in ZE2 build 2003-01-11 22:32:19 +00:00
Moriyoshi Koizumi
dd2ad168e1 Reduced compiler warnings in ZE2 build 2003-01-11 22:17:37 +00:00
Andrey Hristov
cd2ce96e03 reverting 2003-01-11 19:37:23 +00:00
Ilia Alshanetsky
8facc65202 Added stripos() & strripos() functions.
Added 3rd parameter (offset) to strrpos().
2003-01-11 17:52:38 +00:00
Derick Rethans
6b7eaaa2c4 - Moving java and dotnet extensions to ext/rpc 2003-01-11 12:23:45 +00:00
Sebastian Bergmann
213b5abd06 Add missing ,. 2003-01-11 09:51:53 +00:00
Harald Radi
656ccddfce fix build 2003-01-11 08:59:37 +00:00
Harald Radi
5fc6842817 this is now implemented by the engine itself 2003-01-10 23:40:12 +00:00
Harald Radi
fff34aa3be ext/com is not compatible with ZE2, the ZE2 version is located in
ext/rpc/com
2003-01-10 23:39:09 +00:00
Frank M. Kromann
16cda12728 Fixing copy and paste errors 2003-01-10 19:33:31 +00:00
Frank M. Kromann
c2e7158712 Avoid warnings when running stored procedures returning multiple results
before setting output and return values.
Additional results can be skipped by the optional parameter to mssql_execute
2003-01-10 19:23:36 +00:00
Christian Stocker
9234916fc8 Throw error if object is not a XML_DOCUMENT_NODE in domxml_dump_node() 2003-01-10 18:07:36 +00:00
Andrey Hristov
53656f196b skipping unneeded copy 2003-01-10 17:39:10 +00:00
Wez Furlong
cf9f784ecd Fix the number format fix when the number of decimal places is 0.
# Thanks to Edin for his telepathy!
2003-01-10 13:32:24 +00:00
Derick Rethans
0988bc2ee6 - Fixed bug #20155: xmlrpc compile problem with zendengine2 (Path by Jan
Schneider)
@- Fixed bug #20155: xmlrpc compile problem with zendengine2 (Derick, Jan
@  Schneider)
2003-01-10 08:24:55 +00:00
Moriyoshi Koizumi
380928e6bf Reduced compiler warnings 2003-01-10 04:44:21 +00:00
Moriyoshi Koizumi
7ecd3ff91a Reduced compiler warnings 2003-01-10 04:37:26 +00:00
Moriyoshi Koizumi
6a1d69d4ba Added missing cast operators 2003-01-10 04:32:25 +00:00
Ilia Alshanetsky
dee2d7fed7 Fixed ImageRotate when rotation angle is 90 degrees, patch by
leon@leonatkinson.com.
2003-01-10 02:00:39 +00:00
Ilia Alshanetsky
5413a66cbb CS fixes 2003-01-09 23:23:32 +00:00
Ilia Alshanetsky
3e5bbba351 Fixed a memory corruption that occurs when an unterminated " is encountered
this bug maybe be related to #21556.
2003-01-09 22:49:18 +00:00
Frank M. Kromann
8e0535bcd5 Adding extended checks for where FreeTDS is installed 2003-01-09 22:35:16 +00:00
Sara Golemon
4d789b593f Bug #21531 file_exists() and other filestat functions throw errors when in safe mode and file/directory does not exist.
Extended php_checkuid function to add "flags" field via rename to php_checkuid_ex with alias for BC in functions that do want safe mode errors thrown.
2003-01-09 21:57:45 +00:00
Moriyoshi Koizumi
82c6d54517 Fixed typo 2003-01-09 20:23:36 +00:00
Wez Furlong
59e4fdcc10 Implement fprintf() and vfprintf().
Add a couple of tests.
2003-01-09 17:29:31 +00:00
Wez Furlong
d8fbd1acef Fix Bug #21523 - number_format could cause a memory allocation for a
negative memory size in situations where the sprintf implementation of the
host system generated less decimal places than were requested.

Resolved this issue by making number_format examine the string returned
by spprintf and have it pad to the correct number of decimal places.

Added a test-case based on the bug report; the length of decimal places
required to trigger this bug is sprintf implementation dependent; as the
implementation is now using spprintf (provided by PHP), that number is
78 digits (NDIG - 2).

# I played with the idea of enhancing sprintf to do the equivalent, but
# it was too much effort considering that the precision of floats/doubles
# is not good enough to warrant it.

# This fix could do with some QA from someone else to make sure there are
# no memory bounds problems and then MFH it to PHP_4_3
2003-01-09 15:44:49 +00:00
Frank M. Kromann
b33fe2b2c6 Use the correct link when checking for more results on stored procedures 2003-01-09 08:19:41 +00:00
Frank M. Kromann
6660f8ae4e Restire BC for mssql_execute(). This will not break the new feature for handling
multiple results from a single stired procedure.
Adding mssql_free_statement()
2003-01-09 08:00:07 +00:00
Ilia Alshanetsky
ef9ba94c8b Fixed bug #21529 (memory corruption by fsockopen()). 2003-01-09 03:33:15 +00:00
Frank M. Kromann
392e5013b4 changed from LVAL to RESVAL macro 2003-01-09 02:44:44 +00:00
Yasuo Ohgaki
ae8db8c608 Adjust config.m4 for new build system and improve lib detection a little 2003-01-09 01:19:26 +00:00
foobar
66fd5008ab Fix the ZTS build. 2003-01-09 00:15:33 +00:00
Moriyoshi Koizumi
59393ef3ad Reimplemented base64 filter to use iconv()-like facility for flexibility.
# I'm leaving the code dirty & ugly prior to the discussion.
2003-01-08 23:44:38 +00:00
Frank M. Kromann
7cd7cad1b5 Changed global data type to avoid problems with initialization 2003-01-08 23:19:54 +00:00
Ilia Alshanetsky
072be90d6f Added support for WBMP images. 2003-01-08 20:36:03 +00:00
Ilia Alshanetsky
17e51c5946 Fixed bug #21518.
Fixed memory in leak ImageCreateFromString().
Fixed a bug that prevented proper identification of WBMP images and thus
prevented ImageCreateFromString() from working on those images.
2003-01-08 18:11:40 +00:00
Zeev Suraski
ada5c4009e Fix UMR 2003-01-08 13:28:16 +00:00
Georg Richter
5312594a27 fixed bug #21498 2003-01-08 11:00:06 +00:00
Ilia Alshanetsky
2d4a4a99d3 Removed unused variable. 2003-01-08 03:33:00 +00:00
Ilia Alshanetsky
ac3e8601ae Version is char ;). 2003-01-08 00:38:36 +00:00
Dan Kalowsky
19b25ca5d2 Version tag for future move to PECL 2003-01-07 23:00:11 +00:00
Dan Kalowsky
b89d9db706 Reverting last change as it really doesn't fix longreadlen problems in all
cases.
2003-01-07 22:56:58 +00:00
Moriyoshi Koizumi
b064810550 Instances should not be freed in dtor()... 2003-01-07 22:53:42 +00:00
Moriyoshi Koizumi
b86a4edeed Made error msg format more consistent 2003-01-07 22:52:24 +00:00
Pierre Joye
a9999190c6 Fix line drawed twice (L. Atkinson) 2003-01-07 22:34:00 +00:00
Sara Golemon
f4f313ff40 Backout changes between 1.6 and 1.7 2003-01-07 16:43:26 +00:00
Levi Dixon
beb7476ba9 Added support for Shared Data Mode for OCI8_VERSION >= 8.1, which will provide memory savings by sharing common statement data 2003-01-07 15:55:59 +00:00
Ilia Alshanetsky
f7513855b3 Fixed ZTS build with ZE2. 2003-01-07 14:34:41 +00:00
Ilia Alshanetsky
928c260c57 ZTS cleanup. 2003-01-07 13:02:43 +00:00
Zeev Suraski
651cea08f0 whitespace 2003-01-07 11:37:09 +00:00
Sascha Schumann
e180f20e63 tell user which header files could not be found 2003-01-07 09:49:08 +00:00
Moriyoshi Koizumi
346fa499ca Fixed small leak 2003-01-07 08:57:27 +00:00
Frank M. Kromann
1638ddd4c2 Making the mssql extension work when build as a shared object 2003-01-07 05:19:48 +00:00
Ilia Alshanetsky
f0de896ed2 Fixed ZTS build. 2003-01-07 03:44:12 +00:00
Ilia Alshanetsky
34e868d451 MFB + CS 2003-01-07 02:47:24 +00:00
Moriyoshi Koizumi
eed5a6bed0 Implemented quoted-printable stream filter 2003-01-07 01:41:18 +00:00
Sara Golemon
35b1635c81 Add option to stream_get_filters() user-defined fiters vs. all filters, default to user only 2003-01-07 01:02:29 +00:00
Moriyoshi Koizumi
00a36a09e1 Implemented string.base64 stream filter
@- Implemented string.base64 stream filter. (Moriyoshi)
2003-01-07 00:03:25 +00:00
Ilia Alshanetsky
97dd1e8abf Fixed bug #21453 (improper handling of non-terminated <). 2003-01-06 22:13:03 +00:00
Ilia Alshanetsky
15f7c2c332 Fixed Bug #21443 and related bug #21468. 2003-01-06 21:43:28 +00:00
Dan Kalowsky
86b99ffcf6 Patch for bug #19349 2003-01-06 18:23:55 +00:00
Dan Kalowsky
b588e10553 Correction for bug #21279 2003-01-06 18:10:06 +00:00
Moriyoshi Koizumi
4c2d6cfea8 Moved php_quot_print_decode() to quot_print.c so that it can be used
outside the iconv module
2003-01-06 15:47:25 +00:00
Moriyoshi Koizumi
d0570815af Added more RFC2047-compliancy check in iconv_mime_decode() 2003-01-06 15:40:22 +00:00
Moriyoshi Koizumi
6f44489b68 Fixed iconv_mime_decode() so that it comforms to RFC2231 2003-01-06 15:35:42 +00:00
Georg Richter
8aeb7f35bc fixed missing & (Thx to Sebastian Bergmann) 2003-01-06 14:13:47 +00:00
Wez Furlong
d23d4b366d Make it slightly more obvious that the return value is relative to the length
of the input data.
2003-01-06 14:04:23 +00:00
Edin Kadribasic
3d9c3c6662 MFB:
Fixed bug #20503 (imagesetbrush() availability on windows).
2003-01-06 10:49:52 +00:00
Anantha Kesari H Y
b3d80fe441 Removed #ifdef NetWare and made the necessary changes in the directory structure of NetWare. 2003-01-06 10:28:34 +00:00
Christian Stocker
413053aa75 - get_path forgotten in .h file
- fix crash in domxml_node_insert_before() (by Lukas Schröder)
2003-01-06 09:59:53 +00:00
Anantha Kesari H Y
303f888a09 Changes for NetWare makefile. 2003-01-06 09:05:59 +00:00
Anantha Kesari H Y
f58016b348 Makefile added newly and modified the header file for NetWare. 2003-01-06 09:05:03 +00:00
Christian Stocker
cafc0b2e59 @- Added domxml_node_get_path() (Lukas Schröder)
- Fixed segfault, when trying to add a node to itself.
2003-01-06 08:47:35 +00:00
Anantha Kesari H Y
509b4d39b5 Added #ifdef HAVE_SYSLOG_H around syslog function in the whole file to avoid link failure. 2003-01-06 05:59:17 +00:00
Sara Golemon
999d989aa9 Added string.toupper and string.tolower filters and generalized non-op filter methods 2003-01-06 05:22:06 +00:00
Frank M. Kromann
6b0b7e3f42 Nuke warning, on Win32 build 2003-01-06 04:29:33 +00:00
Frank M. Kromann
01f5c5d6fe enable imageftbbox() and imagefttext() on WIn32 2003-01-06 04:28:49 +00:00
Sara Golemon
42e912da79 Expose stream_filters_hash so that it can be searched by stream_get_filters() 2003-01-06 04:06:40 +00:00
Edin Kadribasic
e0ed7e9057 Complete gif readonly support addition by adding missing gd_gif_in.c
file to the project.
2003-01-06 01:39:08 +00:00
Edin Kadribasic
6113d95433 Comment out non ANSI C standard comliant code. Fixes win32 build. 2003-01-06 01:26:14 +00:00
Edin Kadribasic
59b37a5ce4 Fixed win32 build. 2003-01-06 01:08:59 +00:00
Ilia Alshanetsky
b52eb8f14a Fixed bug #21445. 2003-01-06 00:47:40 +00:00
Sara Golemon
7dae400063 Fixes to stream_get_wrappers() and stream_get_filters() handle hash table layouts better, plus some picune whitespace fixes 2003-01-05 22:24:49 +00:00
Georg Richter
2fbb9a5247 fixed bug #21435 2003-01-05 20:53:06 +00:00
Sebastian Bergmann
c9d9e053f3 Define HAVE_GD_GIF_READ. 2003-01-05 16:32:01 +00:00
Edin Kadribasic
fc03762871 MFB:
Made xslt_set_encoding() available on windows (bug #20640).
2003-01-05 13:54:30 +00:00
Ilia Alshanetsky
d5a8bb2d0b Fixed a memory leak in setlocale() & localeconv(). 2003-01-05 04:29:14 +00:00
Sara Golemon
43630e2ac0 Added stream_get_filters(); to list registered filters 2003-01-05 03:24:38 +00:00
Derick Rethans
b816089fbf - Fix some of the netware crap 2003-01-05 00:56:17 +00:00
Derick Rethans
e58c221204 - Change Warnings to Notices 2003-01-04 23:55:57 +00:00
Ilia Alshanetsky
5f36ce398e CS fixes. 2003-01-04 23:31:55 +00:00
Marcus Boerger
fff1c67b56 Fix ZTS-ZE2 build 2003-01-04 20:06:32 +00:00
Marcus Boerger
6a75a52ad8 better to check for existance first 2003-01-04 19:19:59 +00:00
Marcus Boerger
2705070dd8 Fix ZTS-ZE2 build 2003-01-04 19:18:43 +00:00
Moriyoshi Koizumi
0d0127fbfb Fixed cut'n'paste failure 2003-01-04 13:52:54 +00:00
Moriyoshi Koizumi
b13a6276e1 Added test case for iconv_mime_encode() 2003-01-04 13:39:59 +00:00
Derick Rethans
6439ad7640 - Fixed bug #21232 (Unresolved references to PQsetnonblocking). (Patch by
Floyd <floyd@studiodust.com>)
2003-01-04 12:33:46 +00:00
Martin Jansen
4343df9de2 * Update copyright year to 2003. 2003-01-04 11:56:35 +00:00
Moriyoshi Koizumi
cd2b0fe706 Added test case for iconv_mime_decode() 2003-01-03 20:33:53 +00:00
Moriyoshi Koizumi
07dcab60f0 Added test cases for iconv_strpos() and iconv_strrpos() 2003-01-03 20:02:23 +00:00
Moriyoshi Koizumi
006b455c6a Fixed an iconv_strrpos() bug that the function doesn't return accurate
position of last occurrence
2003-01-03 20:01:13 +00:00
Derick Rethans
4d3c4ab45d - Update todo 2003-01-03 19:50:41 +00:00
Derick Rethans
419af9f12a - Removed support for libmcrypt 2.2.x to allow cleaner code. Another reason
to upgrade libmcrypt to a 2.5.x series as the older ones have too much bugs
  to be safely used with PHP.
- Updated macro's, php_errors and parameter parsing.
@- Removed support for libmcrypt 2.2.x to allow cleaner code. Another reason
@  to upgrade libmcrypt to a 2.5.x series as the older ones have too much bugs
@  to be safely used with PHP. (Derick)
2003-01-03 19:49:44 +00:00
Ilia Alshanetsky
f99fa7170e Fixed a bug that would cause flock() to never set the 3rd argument.
CS fixes & switched to new parameter parsing API.
2003-01-03 18:33:28 +00:00
Ilia Alshanetsky
71ab7dfccc Fixed a memory leak that occurs if the location specified by redirect header
cannot be opened.
2003-01-03 17:12:35 +00:00
Ilia Alshanetsky
c52cdad25a Further fixes related to bug #21267. 2003-01-03 17:05:16 +00:00
Anantha Kesari H Y
2e52c112df Modified for NetWare. 2003-01-03 16:06:02 +00:00
Anantha Kesari H Y
830298beb8 Modified for NetWare. 2003-01-03 14:37:42 +00:00
Anantha Kesari H Y
32ef849171 Modified for NetWare. 2003-01-03 14:31:31 +00:00
Moriyoshi Koizumi
3149fc7c40 Added offset validity check for iconv_strpos() 2003-01-03 14:29:49 +00:00
Anantha Kesari H Y
9c3f39a074 New file added for NetWare. 2003-01-03 14:24:34 +00:00
Anantha Kesari H Y
90ba724072 Modified for NetWare. 2003-01-03 14:24:07 +00:00
Derick Rethans
8f82834a79 - Update this one as well 2003-01-03 10:52:23 +00:00
Derick Rethans
32254e0938 - Remove double "Win32 COM" functions line 2003-01-03 10:48:38 +00:00
Sara Golemon
7b37272381 Added stream_get_wrappers() 2003-01-03 08:02:36 +00:00
Moriyoshi Koizumi
f76df0ba1b Added test cases for iconv_strlen() and iconv_substr() 2003-01-03 05:48:51 +00:00
Moriyoshi Koizumi
a3330b5ab3 Fixed iconv_mime_decode() so it would give more awareness to stateful codesets 2003-01-03 05:38:50 +00:00
Moriyoshi Koizumi
e1dd919204 Fixed infinite loop of iconv_mime_encode() in case the specified line length is too short to contain a proper mime-encoded string 2003-01-03 05:34:05 +00:00
Moriyoshi Koizumi
c703ad78d0 Give mo' shift-sequence awareness to iconv_mime_encode 2003-01-03 05:32:13 +00:00
Moriyoshi Koizumi
354a42fd5f More shift-sequence awareness for iconv_substr() 2003-01-03 05:28:25 +00:00
Moriyoshi Koizumi
1f8cee7666 Added missing casting operators 2003-01-03 05:26:44 +00:00
Moriyoshi Koizumi
bf48e7bc9f MFB 2003-01-03 05:16:12 +00:00
Moriyoshi Koizumi
6144a7288e MFB: fixed shift-out sequence unawareness issue 2003-01-03 05:14:34 +00:00
Moriyoshi Koizumi
f962ba6abb Fixed small leaks in array_map() in case the first parameter is NULL like
array_map(NULL, array(...));
2003-01-03 05:05:12 +00:00
Ilia Alshanetsky
f65e8488d7 Fixed a small memory leak when a NULL variable is passed to
openssl_csr_sign() as the first argument.
2003-01-02 21:18:59 +00:00
Ilia Alshanetsky
0ff59a1353 Fixed bug #21338 (crash inside html_entity_decode() when "" is passed).
Added test case for the bug.
2003-01-02 19:49:30 +00:00
Frank M. Kromann
4da2e804e0 Allow base64 functions to be called from an extension buils as .so/.dll (iconv) 2003-01-01 18:11:18 +00:00
Zeev Suraski
70446a6416 build fixes 2003-01-01 13:26:17 +00:00
Sebastian Bergmann
0ab3a13612 Fix warnings. 2003-01-01 12:36:06 +00:00
Wez Furlong
97a0102b81 Tidy up 2003-01-01 11:21:40 +00:00
Wez Furlong
f58628ca4d Move rot13 filter into a new filters.c source file.
Tidy up some other filter related code.

# win32 -> someone please add user_filters.c and filters.c to the .dsp
2003-01-01 11:04:44 +00:00
Moriyoshi Koizumi
c4e8b2baab Added various functions that relies on the iconv facility:
iconv_strlen(), iconv_substr(), iconv_strpos(), iconv_strrpos(),
iconv_mime_encode(), iconv_mime_decode()

# hope this be a new year gift for you. Happy new year!
2002-12-31 19:13:16 +00:00
Wez Furlong
350b0bbeac Implement user-space filters.
See ext/standard/tests/file/userfilters.phpt for an example of their use.
2002-12-31 18:39:36 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Rasmus Lerdorf
f88e29bc0d Fix for bug #21311 2002-12-31 15:18:52 +00:00
Wez Furlong
abc4b4bb99 Fix for #21304 (gzopen did not report errors on open; "a" mode broken) 2002-12-31 11:42:15 +00:00
Ilia Alshanetsky
87a8b04051 Fix ZTS build. 2002-12-31 00:04:52 +00:00
Ilia Alshanetsky
0acb52fc3b Fixed bug #21228 (broken check for ob_gzhandler).
Fixed a bug that made ob_start return incorrect return value.
2002-12-30 19:39:31 +00:00
Marcus Boerger
67f0a6f6c0 testing default handler should be a separate test 2002-12-30 19:20:11 +00:00
Marcus Boerger
aa8e5cdde7 -disallow using db-<n> with libraries of different major versions
-disallow using db-4.1 with patch level < 25
-fix db-4.1
-added undocumented DB_FCNTL_LOCKING flag for version 3 and 4
# wow the sleepycat guys answered *very* fast
2002-12-30 17:42:55 +00:00
Ilia Alshanetsky
bd19dabefe Fixed bug #21226 (parse_url handling of urls without a path). 2002-12-30 16:42:49 +00:00
Derick Rethans
d454becda8 - Whitespace 2002-12-30 15:03:50 +00:00
Marcus Boerger
32dda8b0cb ws 2002-12-30 13:09:03 +00:00
Marcus Boerger
4d2f7207c0 Add info function to handlers and return handler info when dba_handlers is
called with optional parameter full_info set true.
2002-12-30 13:07:30 +00:00
Marcus Boerger
426cf8eb57 fix state-machine in cases T_AAAA is not available 2002-12-30 11:59:22 +00:00
Marcus Boerger
a213c71735 2nd part of the patch 2002-12-30 11:43:18 +00:00
Marcus Boerger
4b9e8fc899 -better parameter names for DBA_HND macros
-remove unnecessary notice
2002-12-30 11:32:37 +00:00
Derick Rethans
e76d0043da - Align mssql comment and clarify DBA handler selection 2002-12-30 08:55:21 +00:00
Ilia Alshanetsky
88d26985b8 Fixed bug #21267 (opening URLs that result in redirection to a relative
path was failing).
2002-12-29 20:01:33 +00:00
Ilia Alshanetsky
c731daeda7 Fixed bug #21268 (session_decode() returned FALSE on success). 2002-12-29 18:50:55 +00:00
Marcus Boerger
c69d034a87 Added support for db3/db4 error handling/information 2002-12-29 15:32:38 +00:00
Marcus Boerger
9b22813c4d Add a default handler that makes handler parameter to open functions
optional.
@Improved dba extension (Marcus)
@-Made handler parameter of dba_(p)open() optional.
@-Added php.ini option 'dba.default_handler' to specify a default handler.
2002-12-29 15:31:00 +00:00
Sascha Schumann
955b27cd64 Fix order of library additions, so that the imap extension now builds
successfully with static imap/ssl libs.  configure was already failing
before.
2002-12-28 15:33:25 +00:00
Ilia Alshanetsky
22a2636d9d Made DBA tests not dependant on error reporting settings. 2002-12-27 04:46:40 +00:00
Derick Rethans
f3d3dd5bc8 - MFB 2002-12-26 23:45:05 +00:00
Georg Richter
4abcff7631 added Wez, Ilia & myself 2002-12-26 23:38:18 +00:00
Wez Furlong
bb640840c3 Remove cruft that opened a stream that was never closed in get_meta_tags().
(probably my fault).
Noticed by Philip Olson
2002-12-26 22:35:00 +00:00
Sterling Hughes
457f22c198 if needle is empty free allocated memory 2002-12-26 20:52:42 +00:00
Sterling Hughes
ca67d27fb2 remove memleak 2002-12-26 19:56:44 +00:00
Marcus Boerger
4041d4faed Add missing test for db4 handler 2002-12-26 19:55:06 +00:00
Derick Rethans
b996b32031 - Add test for bug #21182 2002-12-25 20:08:36 +00:00
Ilia Alshanetsky
fbcee73c8c Make range operate on the copies of the parameters rather then modify the
actual parameters.
2002-12-25 20:02:03 +00:00
Stefan Esser
e900f8c97b do correct casting 2002-12-24 23:28:05 +00:00
Ilia Alshanetsky
2e6e0f87dc Removed pointless assignment. 2002-12-24 23:19:54 +00:00
Ilia Alshanetsky
0a2d473df0 The -1 is no longer needed, since it is done automatically by strlcpy(). 2002-12-24 17:33:33 +00:00
Ilia Alshanetsky
a747d1f864 Changed strncpy() to strlcpy(). 2002-12-24 17:30:48 +00:00
Ilia Alshanetsky
59b6ffee1e A variety of CS style fixes, which include:
* Changed all argument parsing to use the new zend_parse_parameters()
 * If a function is unavailable due to lack of support for a certain feature,
   do not make the function avaliable, rather then making it print an error
   saying that the functionality offered by the function is not avaliable.
 * Lots of WS fixes all over the file.
 * Change strcpy() to strncpy() to prevent possible buffer overflows.
Fixed a bug in ncurses_pair_content(), 1st parameter was wrong.
Fixed several function prototypes that failed to indicate that functions
accepted arguments by reference.
2002-12-24 17:20:33 +00:00
Melvyn Sopacua
0764c3101b Verify if gl_pathv is not NULL, which it is, when GLOB_NOMATCH isn't
supported and there are no matches.

# BSDi/Mac OSX are affected.
2002-12-23 18:33:46 +00:00
Stefan Esser
0bb1ff71d6 fix compile error on IRIX 2002-12-23 08:50:05 +00:00
Ilia Alshanetsky
af55703d52 Fixed various memory leaks.
# Should this be MFHed?
2002-12-22 20:16:37 +00:00
Moriyoshi Koizumi
45f67837e6 Removed "%s" from format strings 2002-12-22 19:51:49 +00:00
Ilia Alshanetsky
0ae3050aa5 Fixed bug #21146. 2002-12-22 19:44:01 +00:00
Moriyoshi Koizumi
d70f96550c php_error => php_error_docref 2002-12-22 19:16:09 +00:00
Moriyoshi Koizumi
9b3f810564 WS fix 2002-12-22 19:05:06 +00:00
Moriyoshi Koizumi
dcc030f5ef Fixed bug #21144 2002-12-22 19:01:44 +00:00
Wez Furlong
c5091eedf1 Forgot to include this in my previous commit for #21131 fix. 2002-12-22 18:06:27 +00:00
Wez Furlong
efea12fec5 Fix for Bug #21131: fopen($file, 'a+') would incorrectly assume that
the stream position was at offset 0.
This corrects that assumption by querying the stream for it's position
when it detects the 'a' "flag" in the mode parameter to fopen.
Also added a test for plain files and amended the userstreams test to
take this into account.
2002-12-22 18:05:36 +00:00
Sascha Schumann
20e8bc31f0 (char *) vptr += expr; is refused by the IRIX compiler, so we use
vptr = (char *) vptr + expr; instead.
2002-12-22 16:34:13 +00:00
Sascha Schumann
280f4a4373 'index' is a function name in the C library, do not use it as variable name.
also, cast the 'void *' correctly to a 'char *' for manipulation
instead of an 'int'.
2002-12-22 16:03:28 +00:00
Ilia Alshanetsky
98e85ae80b Fixed bug #20987 (no handling for client certificates). 2002-12-21 18:03:46 +00:00
Derick Rethans
16e5459f94 MFB: Fix typo 2002-12-21 17:48:37 +00:00
Andrei Zmievski
ddea2a190f Alias dba_popen() to dba_open() until persistent STDIO streams are
implemented.
2002-12-21 01:09:27 +00:00
Stefan Esser
e4e299614e need more space 2002-12-20 19:37:07 +00:00
Georg Richter
d5f02c553b fixed some warning when using external 4.x libs 2002-12-20 18:52:27 +00:00
Frank M. Kromann
ad69583ba1 Fixing Win32 build by adding missing libraries 2002-12-20 18:40:31 +00:00
Sara Golemon
13308b5a94 Minor clarification in meaning of bitmask constants
/* PHP_DNS_xx = 1<<(T_xx-1) */
T_CNAME = 5 ergo PHP_DNS_CNAME should be 0x00000010.
T_SOA = 6 ergo PHP_DNS_CNAME should be 0x00000020.
2002-12-20 18:34:56 +00:00
Marcus Boerger
efd314e767 -Fix memory handling of persistent dba connections.
-Update tests.
# cdb and flatfile still FAIL for dba_popen since the known streams problem
2002-12-20 17:47:58 +00:00
Ilia Alshanetsky
3a4bf3f904 When low & high are the same return an array containing the low value.
Added support for float values and handling of numeric values being passed
as strings.
Added a test case for range().
2002-12-20 17:16:31 +00:00
Marcus Boerger
d795243db3 @Make uniqid() parameters optional and allow any prefix length. (Marcus) 2002-12-20 17:06:25 +00:00
Marcus Boerger
8652e8ac27 MFB 2002-12-20 17:04:33 +00:00
Andrei Zmievski
c45f76112f At least this problem exposed some leaks.. 2002-12-20 16:45:34 +00:00
Marcus Boerger
26038795f8 -disable uniqid() when required lib functions not available
-emit an error when uniqid() will fail
-make more_entropy parameter default to true for CYGWIN
2002-12-20 16:34:42 +00:00
Sterling Hughes
3cb16973ef silly error, will MFH 2002-12-20 15:44:51 +00:00
Wez Furlong
602734c7d9 Correct mistake introduced by my last commit on these files;
*_from_pipe() is for process-pipes created by fopen, not generic pipes
created from proc_open().
Correctly implemented the fifo/pipe check for *_from_file() and it seems
to be working correctly now.
2002-12-19 20:23:50 +00:00
Ilia Alshanetsky
594c3808d4 Fixed bug #21098. 2002-12-19 17:06:36 +00:00
Edin Kadribasic
2fc8358e3a MFB: Remove dependancy on libtool library which is no longer needed. 2002-12-19 10:49:05 +00:00
Moriyoshi Koizumi
d2fa4670dc Prevented test failure caused by LF code variety 2002-12-18 23:06:27 +00:00
Pierre Joye
baea3414a3 Fix a crash while using an invalid color with imagesetstyle, see the sample
script in the manual to reproduce it :)
2002-12-18 21:13:21 +00:00
Frank M. Kromann
e93a1a92ec Fixing WIn32 build after adding support for FreeTDS 2002-12-16 22:44:08 +00:00
Frank M. Kromann
5664a358fa Allow the native MSSQL extension to be compiled with FreeTDS on *nix platforms.
This will make the whole MSSAL API available on these platforms.
@Allow compilation of mssql extension on *nix.
2002-12-16 22:26:49 +00:00
Sergey Kartashoff
afa0e1e03e - mnogosearch extension updated to compile with mnogosearch-3.2.8 2002-12-16 19:17:10 +00:00
Marcus Boerger
59656cc706 fix compiler definition tests 2002-12-16 17:52:43 +00:00
Marcus Boerger
50af908f01 fix compiler definition tests 2002-12-16 15:53:46 +00:00
Marcus Boerger
2d3b3fd97f fix test 2002-12-16 15:19:57 +00:00
Marcus Boerger
9042a9ddbd Add version check since this will be available since php 4.4. 2002-12-16 15:04:12 +00:00
Marcus Boerger
da1a617f6b forgot to remove that dot 2002-12-16 14:54:35 +00:00
Marcus Boerger
5dc4d38204 -Add constant that shows whether or not exif uses mbstring.
-Fix tests
2002-12-16 14:48:00 +00:00
Marcus Boerger
6e055f9a77 change mbstring detection 2002-12-16 09:58:49 +00:00
Ilia Alshanetsky
f620fdbed3 A better memory leak patch. 2002-12-16 07:46:36 +00:00
Marcus Boerger
c1be81a84e ws 2002-12-15 18:49:07 +00:00
Marcus Boerger
05436b1378 MFB: gd uses float instead of double 2002-12-15 18:16:11 +00:00
Ilia Alshanetsky
cc4748139c Close log file on shutdown. 2002-12-15 07:03:32 +00:00
Ilia Alshanetsky
078dfe8d57 Fixed a memory leak. 2002-12-15 06:44:30 +00:00
Marcus Boerger
16694d3500 Fix build when mbstring is a shared module or dll under windows 2002-12-14 19:53:20 +00:00
Pierre Joye
137beb12ca Do not allow AA if not trueColor (imageantialias does nothing) 2002-12-14 19:23:29 +00:00
Marcus Boerger
9455657a7a Bugfix: #21010 (Here it's maker (manufacturer) instead of marker) 2002-12-14 17:49:19 +00:00
foobar
c07f7c8df8 MFB: Fix bug #20995 2002-12-14 09:33:37 +00:00
Marcus Boerger
95c701d328 MFB: ZTS fix by Ilia 2002-12-13 09:17:04 +00:00
Vlad Krupin
e969d788bf Fix for bug 19727. dBase5 (at least for windows) seems to allow 1024 fields 2002-12-13 03:09:52 +00:00
Moriyoshi Koizumi
92d5faca60 MFB 2002-12-12 21:44:53 +00:00
Moriyoshi Koizumi
d679e5d2aa Added a test case for bug #20934 2002-12-12 21:42:17 +00:00
Stefan Esser
7924bf8705 remove extra char in case of binary/money fields 2002-12-12 21:30:39 +00:00
Ilia Alshanetsky
7a282ddcfd Fixed bug #20974 (added missing sanity check). 2002-12-12 21:17:36 +00:00
Melvyn Sopacua
44b7c16b03 Fix for BSD's (possibly others):
Accept system default, for the index. Don't initialize it.
2002-12-12 18:50:26 +00:00
Wez Furlong
c5d4e4b321 MFB: popen/pclose and proc_open/proc_close fixes. 2002-12-12 17:51:25 +00:00
Wez Furlong
81c02040f0 Attempt to add more entropy for key generation. 2002-12-12 15:50:11 +00:00
Ilia Alshanetsky
53b333d153 Fixed misspelling of the Greek letter lambda,
noticed by jmartin-php@notamusica.com.
2002-12-12 14:50:58 +00:00
Marcus Boerger
c2078cdabf php_error -> php_error_docref conversion fix (noticed by derick) 2002-12-12 14:12:42 +00:00
Wez Furlong
1ef74a4f79 Patch for #20936 (openssl: public key handling was broken).
Thanks to <jeroen@derks.it> for the patch.
2002-12-12 13:42:23 +00:00
Ilia Alshanetsky
75c180f242 Fixed bug #20927 and updated the test case for the bug. 2002-12-12 13:38:19 +00:00
Moriyoshi Koizumi
3bbcb0d0dd Fixed bug #20934 (htmlspecialchars returns latin1 from UTF-8) 2002-12-12 13:25:51 +00:00
Marcus Boerger
a40ccefd32 php_error -> php_error_docref 2002-12-12 13:08:59 +00:00
Marcus Boerger
53309aace0 SIGIOT may not be defined in cygwin 2002-12-12 12:23:32 +00:00
Marcus Boerger
835c4dedbb typeconversion is needed here for cygwin 2002-12-12 12:18:44 +00:00
Marcus Boerger
26b101dd1b O_ASYNC is not defined in cygwin 2002-12-12 12:15:10 +00:00
Edin Kadribasic
8eb1791790 MFB: DOM/XSLT support in win32 build (bug #20485). 2002-12-12 10:56:33 +00:00
Ilia Alshanetsky
20bc6a09e0 Added check for availability of jpeg support. 2002-12-11 22:37:05 +00:00
Ilia Alshanetsky
67aca57c3b Fixed build with non-bundled GD. Hidden the anti-alias functions when
non-bundled GD is used and made imagecreatefromxpm() unavailable because
of a bug in the external GD library.
2002-12-11 22:25:23 +00:00
Pierre Joye
5acfdf3ca1 Fix brightness filter (argument ingnored) 2002-12-11 22:23:51 +00:00
Ilia Alshanetsky
a88a99fb9d White space fixes. 2002-12-11 21:55:45 +00:00
Ilia Alshanetsky
f4b5f0904b Syncronize bundled gd sources with that of gd 2.0.9, affected functions
are: gdImageBrushApply() & gdImageCopyResized().
2002-12-11 21:52:29 +00:00
Pierre Joye
983d8e5efd Add antialias flag to image structure
Add AA support
2002-12-11 20:47:26 +00:00
Pierre Joye
7ec74f64f9 Add gdImageAAline (antialiased line)
Add AA support for gdImagePolygon
2002-12-11 20:46:52 +00:00
Pierre Joye
221413e5ef Remove double definition of imagesettile
Add imageantiallias
2002-12-11 20:45:47 +00:00
Pierre Joye
4d522e3686 Add imageantialias(im, flag)
Add AA support for bundled imageline
2002-12-11 20:44:44 +00:00
Melvyn Sopacua
4b3b409b48 Add testcase for reported wordwrap bug 2002-12-11 20:22:42 +00:00
Ilia Alshanetsky
2ab549c5f2 Added missing &. 2002-12-11 20:04:23 +00:00
Ilia Alshanetsky
c194d9333d Added getopt() test. 2002-12-11 17:38:28 +00:00
Sara Golemon
04d6f6ab50 Renamed bc_powmod to bcpowmod to keep it inline with existing module
functions.  Fixed whitespace problem.
2002-12-11 16:28:16 +00:00
Ilia Alshanetsky
5f9681ff80 Added missing variable to parameter retrieval. 2002-12-11 15:32:35 +00:00
foobar
3fc83fd8e3 - ws fixes
- // -> /* */ (No C++ comments in c code!)
- #if / #else / etc. have to start from first column.
2002-12-11 15:25:39 +00:00
Rui Hirokawa
3d324676a5 fixed lack of variable initialization bug. 2002-12-11 14:39:37 +00:00
Abdul-Kareem Abo-Namous
089f1b5771 fixed string comparison which brought up a gcc warning. 2002-12-11 14:18:40 +00:00
Marcus Boerger
e0c983a013 Warnings and Notices when lock modifiers for dba_(p)open are used wrong.
This finally closes bug #20828 (and i hope it must not be reopened)
2002-12-11 10:37:38 +00:00
Georg Richter
230f4ebb06 Security fix (merged from 3.23.54) 2002-12-11 08:28:41 +00:00
Ilia Alshanetsky
52d0f1c143 decode variable is only used when mbstring is avaliable. 2002-12-11 07:37:30 +00:00
Ilia Alshanetsky
08e020a870 ZTS fix. 2002-12-11 07:29:51 +00:00
Ilia Alshanetsky
533d3273bd Fix ZTS build 2002-12-11 02:30:00 +00:00
Marcus Boerger
a6e9674bfd add missing comment 2002-12-10 22:51:09 +00:00
Marcus Boerger
b94e0d9eac LOCK_EX is not allowed in read mode -> try using existing .lck file in read
only mode only when in read mode.
2002-12-10 22:49:33 +00:00
Wez Furlong
ac8469bd55 No longer experimental 2002-12-10 22:21:34 +00:00
Wez Furlong
9746be4779 use php_error_docref and tidy up some WS/coding standards. 2002-12-10 22:18:58 +00:00
Marcus Boerger
17117063ce -remove second attempt to close lock file
-default to lock on db file instead on .lck file.
-try to use existing .lck file and only create it on failure (allows ro access)
2002-12-10 22:02:52 +00:00
Marcus Boerger
dbf4bcc08b stick to "check <what> <result>" scheme, do not repeat messages and
align messages correctly.
2002-12-10 21:53:02 +00:00
Stefan Esser
e5dbcb0890 fixing cut&paste bug 2002-12-10 20:18:25 +00:00
Marcus Boerger
d1c70a6417 directory values are optional 2002-12-10 20:11:41 +00:00
Marcus Boerger
644bd60d29 remove not wanted skeleton comment and align configure message 2002-12-10 20:09:35 +00:00
Ilia Alshanetsky
2b063828e0 Fixed build with GD 1.8.4 2002-12-10 19:45:58 +00:00
Frank M. Kromann
62fb872a4d Fixing ZTS Build 2002-12-10 19:28:04 +00:00
Sara Golemon
51c9f2c64b Added support for libbcmath's bc_raisemod function as bc_powmod() 2002-12-10 19:04:27 +00:00
Ilia Alshanetsky
91a6272972 Fixed win32 build. 2002-12-10 18:00:47 +00:00
Ilia Alshanetsky
99f2b9674f Fixed build with GD 1.8.4 2002-12-10 17:57:41 +00:00
Edin Kadribasic
28c32e1fc8 MFB: Fix ZTS build. 2002-12-10 17:07:40 +00:00
foobar
8416a0433a This extension requires cyrus-imap >= 2.0.8 2002-12-10 16:34:20 +00:00
Stefan Esser
f481a209b7 fixing crashbug
patch by freddy77@angelfire.com
2002-12-10 15:18:01 +00:00
Marcus Boerger
26c5c323ab -make those debug messages 2002-12-10 14:35:13 +00:00
Marcus Boerger
922ce573cf -when required haeder was not found --with-cdpf was simply ignored. I
changed this to be an error.
-cpdf did not check for --with-jpeg-dir and --with-tiff-dir
2002-12-10 14:31:00 +00:00
Ilia Alshanetsky
aa4c85dda1 Fixed bug #20907, patch by m-arai@sco.bekkoame.ne.jp. 2002-12-10 00:10:27 +00:00
foobar
8a8041befe fix typos 2002-12-09 18:30:50 +00:00
foobar
31415ad2b5 Make this actually work too. 2002-12-09 18:29:22 +00:00
Wez Furlong
58210f9232 Centralize fopencookie test 2002-12-09 18:29:07 +00:00
foobar
44aec93861 Fix the build with new cyrus and sasl2 libs 2002-12-09 18:05:37 +00:00
Marcus Boerger
ba534ac7c8 Added open modifier '-' to skip/ignore locking. See bug #20828, #20858 2002-12-09 17:54:13 +00:00
Wez Furlong
ca6b002e4c MFB: zlib stream tests 2002-12-09 16:43:15 +00:00
Moriyoshi Koizumi
4974f268a6 @- Let array_search() accept objects as a needle under ZendEngine2. (Moriyoshi) 2002-12-09 15:54:38 +00:00
Edin Kadribasic
3994fbbc86 MFB: Fix for #20894. 2002-12-09 13:35:57 +00:00
foobar
085f362ae3 T_AAAA is not always available. 2002-12-09 11:50:15 +00:00
Wez Furlong
f4ca743d66 MFB zlib related fixes
(sorry I didn't get around to doing this sooner)
2002-12-09 10:54:20 +00:00
Christian Stocker
bda98029b4 PHP_FALIAS for doc_get_elements_by_tagname got lost 2002-12-09 08:14:15 +00:00
Ilia Alshanetsky
8f6d5dc775 Fixed a color mixup in gdImageCopyResampled() when dealing with true-color
images & brought the code up to PHP coding standards.
2002-12-08 21:07:13 +00:00
Moriyoshi Koizumi
8d1b2bf8a5 Prevented return_value from being freed() twice 2002-12-08 09:54:30 +00:00
Sara Golemon
a4d6863ee5 Bug #17174 Added IPv6 (AAAA record) support to dns_check_record() also added support to dns_get_record 2002-12-08 08:14:43 +00:00
Timm Friebe
b9fa1813b2 - Fixed three memory leaks
- Fixed segfault with sybase_unbuffered_query() and unfetched resultsets
2002-12-07 19:49:31 +00:00
Frank M. Kromann
7f3783ec15 fixing code style 2002-12-07 06:05:06 +00:00
Frank M. Kromann
0d812352be Fixing a possible strcat on a NULL pointer 2002-12-06 22:52:31 +00:00
Moriyoshi Koizumi
3500c239a0 Fixed build with autoconf-2.54 2002-12-06 18:25:39 +00:00
Ilia Alshanetsky
3bc8512cf0 Added test case for bug #20865. 2002-12-06 17:46:26 +00:00
Ilia Alshanetsky
ed7c3bfe0e Fixed bug #20865, array_key_exists() could not locate NULL keys. 2002-12-06 17:35:52 +00:00
Marcus Boerger
e0a972c061 cpdf + bundled gd
#maybe someone finds a better solution (perhaps in config) and comitts it
2002-12-06 16:33:57 +00:00
Abdul-Kareem Abo-Namous
646c4747b4 added support for multiple character sets.
OCILogon now has a forth optional parameter, which is the character set requested by the string (i.e. we8iso8859p1). when left blank, NLS_LANG or default is used.

config.m4 was changed to identify Oracle 9+ which is needed for this feature. all other oracle versions (lesser) fall back to the old behaviour.
2002-12-06 13:44:35 +00:00
Ilia Alshanetsky
33de9befa1 Fixed bug #20812, ftp_get returned NULL on success instead of TRUE. 2002-12-06 06:07:40 +00:00
Pierre Joye
dda7acaad5 Add imageistruecolor 2002-12-06 02:16:06 +00:00
Ilia Alshanetsky
d6c29c781e Fixed a memory leak inside heb_number_to_chars(). 2002-12-05 22:46:54 +00:00
Ilia Alshanetsky
c668055159 Remove pointless checks for array_init() return values. 2002-12-05 22:28:02 +00:00
Marcus Boerger
4ce4a1c32c php_error -> php_error_docref 2002-12-05 21:53:25 +00:00
Sara Golemon
ad65d01cbe Bug #20746. Renamed aggregation_info() to aggregate_info() per naming conventions and created alias for BC. 2002-12-05 21:20:47 +00:00
Marcus Boerger
49a99a98f4 -php_error -> php_error_docref
-removed some cases where emalloc result was tested
2002-12-05 20:59:49 +00:00
Marcus Boerger
3cf581b1b3 correct code that is guarded by "#if 0" 2002-12-05 20:41:55 +00:00
Marcus Boerger
9a04528061 fix ZTS build 2002-12-05 20:39:43 +00:00
Marcus Boerger
dcfe988820 php_error -> php_error_docref 2002-12-05 20:13:35 +00:00
Marcus Boerger
47b0e79b1a -fix a warning that was an error
-php_error -> php_error_docref
2002-12-05 20:01:31 +00:00
Ilia Alshanetsky
7364e3b771 Fixed bug #12556, updated the test for this bug. 2002-12-05 20:01:19 +00:00
Marcus Boerger
cf5d2e79b9 fix debug only 2002-12-05 19:49:12 +00:00
Derick Rethans
83741be445 - Renamed snmpv3_* to snmp3_*
- Conversion to php_error_docref
- Whitespace fixes
2002-12-05 19:33:03 +00:00
Melvyn Sopacua
bd06d48e56 Test data 2002-12-05 19:30:28 +00:00
Melvyn Sopacua
76436b8820 Add a testcase for this bug 2002-12-05 19:29:45 +00:00
Marcus Boerger
19d5e535c0 Remove unnecessary code here 2002-12-05 15:52:20 +00:00
foobar
f8c050395c ws fix (bug: #20808) 2002-12-05 15:44:27 +00:00
Marcus Boerger
373361d9c4 Return FALSE on error as mentioned by John Coggeshall.
See Bug #20822
2002-12-05 12:39:00 +00:00
Rasmus Lerdorf
4c749f08c0 Fix build 2002-12-04 23:21:30 +00:00
Ilia Alshanetsky
8d4b717518 Added GD image conversion tests. 2002-12-04 21:04:07 +00:00
Ilia Alshanetsky
5779f9bb0f Made imagecreatefromxpm() work once again. 2002-12-04 20:58:04 +00:00
Ilia Alshanetsky
1e8ec47a99 Fixed a memory leak inside gdImageTrueColorToPalette(). 2002-12-04 17:16:19 +00:00
Moriyoshi Koizumi
cf0a0f0967 Added a test for bug #12776 2002-12-04 17:01:07 +00:00
Moriyoshi Koizumi
7bf4090efb Fixed segfaults of array_walk() when keys are passed to cb by reference.
Fixed bug #12776.
2002-12-04 16:41:28 +00:00
Ilia Alshanetsky
143e46ae28 WS fixes. 2002-12-04 16:29:48 +00:00
Sebastian Bergmann
49f05c470a Fix bugs #20270, #15702, #18600. Patch by Tony J. White <tjw@tjw.org>. 2002-12-04 08:18:02 +00:00
Pierre Joye
00881ea504 Fix imagegd stdoutput
Typo 256 colors
2002-12-04 02:48:23 +00:00
Pierre Joye
e8e2420042 Fix imagegd crashes when used with truecolor image (from jpeg,png, or imagecreatetruecolor)
may we add parameters to imagegd to let user specify the palette size and dither (set to 256 and true) ?
2002-12-04 02:37:21 +00:00
Frank M. Kromann
956d63899c Changed php_error() to php_error_docref() 2002-12-03 19:39:25 +00:00
Ilia Alshanetsky
e1b9a77725 Fixed a bug that caused a crash in pdf_open_memory_image(), when a truecolor
image was loaded, it now checks if the image is truecolor and performs the
appropriate calculations (fixed bug #20785).
Changed E_WARNING back to E_ERROR.
2002-12-03 19:25:17 +00:00
Frank M. Kromann
686010e050 Changed php_error() to php_error_docref() 2002-12-03 19:19:15 +00:00
Frank M. Kromann
13b6390df7 Bug #19370
Allow stored procedures to return multiple results.
2002-12-03 18:57:04 +00:00
Frank M. Kromann
5eaf2d10e7 Bug #17593
Make sure any pending data is released from the server when freeing the result
2002-12-03 18:04:35 +00:00
Ilia Alshanetsky
b08f247f32 Fixed a crash that occurs during the last step of png/jpeg -> gd2 -> png/jpeg
conversion. The same crash still occures with png/jpeg -> gd -> png/jpeg, because
apparently gd format cannot handle truecolor images.
Turned off debug messages inside gd_gd2.c.
2002-12-03 15:43:17 +00:00
Moriyoshi Koizumi
242ddba326 Fixed leaks in array_walk() 2002-12-03 15:02:06 +00:00
foobar
7d744c54b4 - Need these libraries for static build 2002-12-03 11:34:12 +00:00
foobar
68eaf6391a - Fixed the build with iPlanet LDAP SDK 5.x 2002-12-03 09:35:42 +00:00
Frank M. Kromann
679d645738 Allocating enough memory to hold values.
Fix crash when certan stored procedures was called. This caused the free_result function to free memory not yet allocated.
2002-12-03 05:56:39 +00:00
Moriyoshi Koizumi
e7f1bbf0f2 Iconv extension is no longer experimental 2002-12-02 21:29:06 +00:00
Moriyoshi Koizumi
de79a4e9d8 Reverted the changes because the problem was elsewhere. 2002-12-02 21:10:37 +00:00
Frank M. Kromann
b2a648f5b5 Fixing the Win32 compilation of mbstring with mbregex enabled. 2002-12-02 19:18:23 +00:00
Frank M. Kromann
a7f3ad42a4 Fixing build on WIn32
MBREGEX is disabled for now. 5 mbre_* functions are undefined on WIn32
2002-12-02 18:19:17 +00:00
Ilia Alshanetsky
057e87e6e5 Repositioned CoInitialize and CoUninitialize that apparetly makes it more
correct according to MS docs. Patch (+5) by Michael Sisolak
<msisolak@yahoo.com>.
2002-12-02 06:43:54 +00:00
Ilia Alshanetsky
a6e02dc45d Fixed a crash bug that can occur due to PDF_delete() being called more then
once and E_ERROR occurring during the shutdown sequence.
2002-12-02 06:35:29 +00:00
Jason Greene
5e1741fd48 Revert patch that should have been reverted a long time ago.
There was a memory leak in the error handling system on win32, that this patch
circumvented (by preventing the errors (EAGAIN mesages) from being generated).
# I must have forgotten to remove this when I fixed the leak
2002-12-02 05:45:13 +00:00
Sterling Hughes
065104b8fe TODO: Cleanup elements that have happened, or most likely won't happen. There
is probably more that should be gone, but its still a move in the right
direction.

Other stuff is ws/formatting changes
2002-12-01 22:15:39 +00:00
Stefan Roehrich
e50dc16b21 Comment about maximal length now matches code. 2002-12-01 18:48:51 +00:00
foobar
cef45338c9 fix build.. 2002-12-01 17:24:00 +00:00
Derick Rethans
7fbcf76973 -fix typo 2002-12-01 13:43:17 +00:00
Marcus Boerger
fa38a6af6f No more (f)printf for errors and warnings instead use php_error_docref. 2002-12-01 11:43:54 +00:00
Moriyoshi Koizumi
aeb6a6c458 Fixed possible buffer overflow in php_base64_decode();
# This bug doesn't appear to be harmful for now,
# so I won't merge it into branches...
2002-12-01 02:44:50 +00:00
Marcus Boerger
38f5812191 Skip overload for ZE2
Bug #20156
2002-12-01 00:38:30 +00:00
Frank M. Kromann
7afd92792b Fix the use of "personal" information in To and Cc headers 2002-11-30 21:49:20 +00:00
Ilia Alshanetsky
cc13af6a07 Fixed bug #20716. 2002-11-30 19:12:48 +00:00
Marcus Boerger
0d7957bc15 Bug #20433 2002-11-30 18:36:17 +00:00
Christian Stocker
3429e3313b fixed big bad memory leak in xpath objects. 2002-11-30 10:38:17 +00:00
Jason Greene
5d554c20d2 Sockets is no longer experimental 2002-11-29 23:44:06 +00:00
Moriyoshi Koizumi
b9687bea65 Prevented the result from being affected by function overloading 2002-11-29 18:32:50 +00:00
Sander Roobol
348b429b5b Remove all traces of _bc_Free_list - it's not used anymore 2002-11-29 17:59:30 +00:00
Yasuo Ohgaki
e4be6b3ac2 Fixed problem with PostgreSQL 7.3 2002-11-29 17:18:01 +00:00
Christian Stocker
71235e4140 removed unused variable 2002-11-29 16:31:41 +00:00
Christian Stocker
55ee8af808 fix for bug #20389 (no trailing slash in configure option) 2002-11-29 13:30:29 +00:00
Christian Stocker
a2ccb29a97 @- Added xpath_register_ns_auto([contextnode]) for automatically registering
@  namespace definitions (chregu)

changed my mind. Automatic namesapce registration is not done within
xpath_eval() anymore, but in a seperate function.
2002-11-29 11:22:06 +00:00
Christian Stocker
eed5b11b5f do some kind of automatic namespace registration in xpath_eval(). This
works only for namespaces defined in the context node (eg docroot if
no second argument is given. If one wants to use namespaces defined
elsewhere or with different prefixes, you still have to use
xpath_ns_register()
2002-11-29 10:24:44 +00:00
Christian Stocker
b1dab29214 relative xpath queries are already possible
(use $ctx->xpath_eval($xpath,$contextnode) )
2002-11-29 08:28:53 +00:00
Christian Stocker
cac5d670b3 get_element_by_id does not need LIBXML_XPATH support 2002-11-29 07:50:37 +00:00
Marcus Boerger
65eb0d8125 Conversion fixes 2002-11-29 01:44:19 +00:00
Marcus Boerger
0a7487e32d Conversion fixes 2002-11-28 22:48:20 +00:00
Ilia Alshanetsky
398ff4fe82 Fixed mhash tests, apparently the TIGER algorithm was updated (fixed?) in
later mhash releases and consequently returns a different hash. I've updated
the hash to the one generated by latter releases.
Removed useless \r from ext/mhash/tests/003.phpt.
2002-11-28 14:13:44 +00:00
Martin Kraemer
966f75d4fb Portability: avoid <malloc.h> warnings on FreeBSD 2002-11-28 09:19:16 +00:00
Martin Kraemer
f3845c3ae0 Portability: The header contains the declaration; while the source ext/bcmath/libbcmath/src/init.c has the definition
(otherwise some compilers complain about 'duplicate symbols')
2002-11-28 08:26:14 +00:00
Martin Kraemer
c5a7a522a1 Portability: Use 0 if the platform does not define EX_OK 2002-11-28 08:23:36 +00:00
Sterling Hughes
52a451ccd2 no more need for this either 2002-11-27 20:06:01 +00:00
Sterling Hughes
5c96f91123 don't use stupid constants, be smart, just read the line 2002-11-27 20:05:20 +00:00
Frank M. Kromann
7abdf90a0e free alocated mem.
minor changes in the layout
2002-11-27 18:52:31 +00:00
Tal Peer
1d768548cd jdtojewish() test 2002-11-27 15:54:32 +00:00
Tal Peer
8aac1ce2ee Added an additional (optional) argument to jdtojewish() to keep BC
with 4.3 (and let users getdates in Hebrew without further formatting)
2002-11-27 15:52:25 +00:00
Ilia Alshanetsky
e195b10ede Fixed bug #20664. 2002-11-27 06:20:19 +00:00
Marcus Boerger
28c10e29d0 -Code completley rewritten 2002-11-27 02:42:41 +00:00
Marcus Boerger
569c69ba36 -Add test for exif_read_data and magic_quotes_runtime 2002-11-27 02:31:26 +00:00
Marcus Boerger
57f41b1a90 -Forgot to correct length 2002-11-27 02:28:29 +00:00
Marcus Boerger
3ff08b91a6 -Add magic_quotes_runtime support
-Fix Canon Markernote
2002-11-27 01:46:36 +00:00
Frank M. Kromann
9f927c1a2e time is a function. Use the name of the variable 'timestamp' 2002-11-26 23:03:07 +00:00
Frank M. Kromann
863962d5cf Adding missing header file on Win32 2002-11-26 23:02:09 +00:00
Frank M. Kromann
0cddc5b4eb removing unused variables 2002-11-26 23:01:17 +00:00
Frank M. Kromann
2ac7c4f2de Adding missing ; 2002-11-26 22:44:16 +00:00
Moriyoshi Koizumi
98dace883e Improved the error reporting portion of array_walk() as suggested by Markus 2002-11-26 22:12:40 +00:00
Moriyoshi Koizumi
3fd513f32a Prevent too many error reports from being displayed 2002-11-26 21:51:37 +00:00
Moriyoshi Koizumi
61b3d5ccb5 Fixed incorrect error messages of array_walk() in case the callback is
specified in an array form
2002-11-26 21:21:32 +00:00
Christian Stocker
20688a30ab Fix for Bug #20639 DomElement->get_elements_by_tagname() doesn't work 2002-11-26 15:37:54 +00:00
Wez Furlong
b1a5434537 Update to use new parameter parsing API.
Updates to Jewish/Hebrew calendar code.
Patch from Moshe Doron, amended by Tal Peer,
reviewed by me.
# Maybe Tal and/or Moshe could comment on whether this should
# also be commited to the 4_3 branch (it completes some earlier work
# started prior to the branch).
2002-11-26 14:52:00 +00:00
Marcus Boerger
579e3ca96b Add Berkeley db4 support 2002-11-26 12:05:59 +00:00
Marcus Boerger
197fd585bd -Disallow combining db2 with db3 which are conflicting.
-Stop searching for headers and libraries when found.
-Check version for Berkeley DB library headers.
2002-11-26 12:00:25 +00:00
Frank M. Kromann
a2bf03ccea Avoid , at the end of each string (to, cc and bcc) 2002-11-26 07:04:31 +00:00
Yasuo Ohgaki
f0b6f5450c Remove a warning 2002-11-26 02:13:35 +00:00
Ilia Alshanetsky
9497ba9d49 MFH (test failure if session.serialize_handler is not set to php). 2002-11-25 23:20:05 +00:00
Stefan Esser
ababfedb66 tmp_line was possible uninitialised, resulting in crap error messages. 2002-11-25 22:53:57 +00:00
Ilia Alshanetsky
693fd4a36b Added a check to determine if the file can be retrieved or sent.
This check also prevents incorrect error reporting in the event the retrieval
or the sending of the file cannot be accomplished.
2002-11-25 22:00:52 +00:00
Maxim Maletsky
d9cf3c2a0e Bug# 16798. Tests appreciated by someone with Oracle 8.0 2002-11-25 18:14:45 +00:00
Moriyoshi Koizumi
53fba5f8a6 @- Enabled mbregex by default when mbstring is also enabled (Moriyoshi) 2002-11-25 17:44:14 +00:00
Moriyoshi Koizumi
12d4a19fce Forgot to adjust this one 2002-11-25 17:21:50 +00:00
Moriyoshi Koizumi
76b218cb6e Renamed several internal functions for consistency 2002-11-25 17:20:20 +00:00
Rui Hirokawa
b3cfda6389 simplified korean encoding conversion table. 2002-11-25 15:21:04 +00:00
Ilia Alshanetsky
c330fdc1a1 Removed un-needed zlib check. 2002-11-25 14:25:52 +00:00
Hartmut Holzgraefe
8bd550825f email address change 2002-11-25 12:30:28 +00:00
Ilia Alshanetsky
9251486567 Synchronized bundled gd library with the latest stable GD, 2.0.6
Fixed a configuration problem with xpm.
Fixed 2 possible memory leaks in fontFetch().
2002-11-25 01:51:53 +00:00
Yasuo Ohgaki
5c851cba19 Cleanup state=4 and avoid using sscanf() 2002-11-25 01:38:29 +00:00
Moriyoshi Koizumi
436bc265e6 MFB 2002-11-24 19:48:58 +00:00
Sergey Kartashoff
dab1bb005a - Header file update for new mnogosearch functions 2002-11-24 19:39:47 +00:00
Sergey Kartashoff
319f286562 @- A new functions have been added: udm_set_agent_param_ex and
udm_get_res_field_ex
- A new functions have been added: udm_set_agent_param_ex and
  udm_get_res_field_ex
2002-11-24 19:36:46 +00:00
Sascha Schumann
3f6b470770 Use proper form of NUL
Drop superfluous checks for NULL results
2002-11-24 16:23:37 +00:00
Sterling Hughes
490903da5a null after the erealloc() 2002-11-24 15:11:43 +00:00
Yasuo Ohgaki
5c2fda30b2 Added missing '\0' 2002-11-24 07:45:26 +00:00
Moriyoshi Koizumi
c7c7132a66 Renamed the file because this is actually a test for gdImageStringFt(). 2002-11-24 01:32:15 +00:00
Ilia Alshanetsky
ef1d4e1dcf Fix compile warning, MIN/MAX macros may already be defined by param.h 2002-11-24 01:30:51 +00:00
Ilia Alshanetsky
67e25fcbd8 Added gdPEstrdup macro. 2002-11-24 01:20:13 +00:00
Ilia Alshanetsky
ef26e2d1f8 Fixed 3 memory leaks.
Formatted the code to meet PHP's coding standards, which makes it MUCH easier
to understand.
2002-11-24 01:15:34 +00:00
Moriyoshi Koizumi
9db2512418 Fixed the macro so this can be compiled with ft1 2002-11-24 00:59:41 +00:00
Moriyoshi Koizumi
fe23fcab12 Sorry, wrong commit. 2002-11-23 23:35:57 +00:00
Moriyoshi Koizumi
0f8916e37c Dismissed the second part of the test 2002-11-23 23:34:38 +00:00
Frank M. Kromann
ecd975550b Adding mb_gpc files to project 2002-11-23 22:59:24 +00:00
Moriyoshi Koizumi
4124672edf Fixed leaks. Other leaks are originated in libgd. 2002-11-23 22:11:59 +00:00
Moriyoshi Koizumi
57e4b81d13 Fixed segfaults 2002-11-23 21:33:31 +00:00
Marcus Boerger
1827a58de0 Allow db4.0 & db4.1 here. Patch by Ralf Engelschall (rse@engelschall.com) 2002-11-23 21:11:12 +00:00
Moriyoshi Koizumi
f920e5d068 Forgot this one. Updated license information 2002-11-23 20:17:46 +00:00
Moriyoshi Koizumi
7f1f056f16 Updated license information headers 2002-11-23 20:14:33 +00:00
Moriyoshi Koizumi
22a9d7ad25 Separated GPC related part from mbstring.c 2002-11-23 20:08:44 +00:00
foobar
5e429447b1 ws fix 2002-11-23 19:20:44 +00:00
Derick Rethans
36e82c84ae - Make it compile on IRIX again
#- Tested with Linux/FreeBSD and IRIX
2002-11-23 19:03:21 +00:00
Moriyoshi Koizumi
44c98c7e3f Fixed some odd behaviours of range() 2002-11-23 11:27:56 +00:00
Moriyoshi Koizumi
715ad2730c Fixed tab positions. 2002-11-23 11:20:51 +00:00
Moriyoshi Koizumi
40d605a385 Test for mb_send_mail() under language=Korean 2002-11-23 05:26:18 +00:00
Sara Golemon
e9047df607 New function dns_get_record(): close resolver socket after use.
fix to internal func php_parserr(): correct bug in return state.
2002-11-23 01:09:07 +00:00
Marcus Boerger
318e561905 Testing default behaviour 2002-11-23 00:54:04 +00:00
Rui Hirokawa
c38db57f3c fixed some bugs in korean encoding conversion. 2002-11-22 23:34:55 +00:00
Rasmus Lerdorf
761bcbd751 Applied imagedeallocate() fix 2002-11-22 23:25:14 +00:00
Ilia Alshanetsky
962e4864a1 Fixed bug #20560. 2002-11-22 21:51:38 +00:00
Marcus Boerger
e7d20a0422 Make magic_quotes_runtime work bidirectional for dba 2002-11-22 15:47:48 +00:00
Marcus Boerger
d33ff48608 Show which algorythm fails and do not fail when we have new algos.
#for me TIGER fails anybody else?
2002-11-22 14:07:29 +00:00
Jan Kneschke
b4ced28d7c - protect the function against a non-xml document
- initializing variables reduces the number of seg-faults
2002-11-22 13:41:51 +00:00
Jan Kneschke
3598fbcef9 - fixed a buffer under run
- initializing variables is a good thing
  - in case of a invalid response we don't seg-fault here anymore
2002-11-22 13:39:06 +00:00
Sander Roobol
f200f739d8 Made bcmath extension thread safe.
@Made bcmath extension thread safe. (Sander)
2002-11-22 09:25:29 +00:00
Ilia Alshanetsky
489b0f2115 Added missing header (fixed bug #20555). 2002-11-22 02:38:03 +00:00
Ilia Alshanetsky
2ca45412ed Added a test case for bug #20528. 2002-11-22 00:08:57 +00:00
Ilia Alshanetsky
c7dd366c1a Fixed bug #20528. 2002-11-21 23:51:52 +00:00
Melvyn Sopacua
7732ce7fe3 Fix bug #20518 2002-11-21 23:28:26 +00:00
Melvyn Sopacua
8d42dd7a8b test for bug #20518 2002-11-21 23:27:38 +00:00
Maxim Maletsky
e20121e6c7 Added E_WARNING to OCIPasswordChage() when Safe Mode is in effect 2002-11-21 21:26:18 +00:00
Maxim Maletsky
b5ae4adde1 @- Added OCIPasswordChange() which allows the password of an Oracle account to be changed. (Maxim) 2002-11-21 20:49:33 +00:00
Maxim Maletsky
1f73196bf9 comment typo 2002-11-21 20:32:56 +00:00
Maxim Maletsky
8338d8bfce Disabled OCIPasswordChange() in safe mode. Possible security risks. 2002-11-21 20:28:11 +00:00
Moriyoshi Koizumi
1748935997 Added missing mb_internal_encoding() 2002-11-21 18:12:53 +00:00
Moriyoshi Koizumi
adfcb09190 Removed unnecessary "\n" 2002-11-21 17:36:16 +00:00
Moriyoshi Koizumi
9762403c26 Added a test case for imagettftext() 2002-11-21 17:26:18 +00:00
Sander Roobol
b8cf1a369f Hardcode the bcmath.scale ini-entry 2002-11-21 16:16:38 +00:00
Rui Hirokawa
13a51b8f20 mbstring is supporting CJK + some other encodings. 2002-11-21 16:12:49 +00:00
Rui Hirokawa
8a2b5991d6 fixed incorrect encoding conversion in korean. 2002-11-21 16:05:38 +00:00
Sander Roobol
f4ffead6fa Adding tests for the bcmath extension 2002-11-21 15:24:45 +00:00
Hartmut Holzgraefe
fb5ac5d286 the apache 1.x sapi read_posts tests for SG(read_post_bytes) being
counted up, so lets make it happy although this value is not really
needed in these cases ...
2002-11-21 10:29:11 +00:00
Andi Gutmans
32fcc74395 - CVS nuked number.* so we'll nuke it from the build:) 2002-11-20 21:16:39 +00:00
Andi Gutmans
b0528dbe5e - Revert previous patch 2002-11-20 20:03:01 +00:00
Andi Gutmans
e6b7ab9db8 - Intermediate commit which works on making bcmath thread-safe. 2002-11-20 19:48:12 +00:00
Frank M. Kromann
c77d276997 Adding path to resolv.lib 2002-11-20 18:53:14 +00:00
Sascha Schumann
a257d758a5 Add an error message to the ini handlers 2002-11-20 17:15:00 +00:00
Sascha Schumann
e9ed065afc add protective checks to ini updates
Noticed by: Derick Rethans <d.rethans@jdimedia.nl>
PR: #20284
2002-11-20 16:06:29 +00:00
Ilia Alshanetsky
7908cffab4 Switched to a new parameter parsing API, which simplifies the code.
Made error reporting use php_error_docref().
Fixed a memory leak in shmop_open() when an invalid flag is specified.
Added tests for shmop() extension.
2002-11-20 15:56:56 +00:00
Sander Roobol
e532b24d82 One Apache 1.3 line is enough 2002-11-20 12:53:40 +00:00
Ilia Alshanetsky
d7d2b6ef50 Switched to a new parameter parsing API, which simplifies the code a great deal.
Made error reporting use php_error_docref()
Fixed a bug in mhash_keygen_s2k() that caused non \0 terminated data to be returned.
Added tests of all mhash functions.
2002-11-20 06:48:39 +00:00
Stefan Esser
63a50e500d Adding SHA1 tests. 2002-11-19 23:25:57 +00:00
Ilia Alshanetsky
7751c4f549 Do not register IMAGETYPE_SWC if zlib, which is needed for parsing of swc
files is not available.
2002-11-19 21:24:47 +00:00
Ilia Alshanetsky
11e7f6278d Addressed the issue of persistant allocation.
Fixed bug #20470.
Fixed a memory leak in gdttf.c that would happen when an error during
processing occures.
2002-11-19 19:55:54 +00:00
Moriyoshi Koizumi
72f0be09c0 Function renamings: s/php_mbstr_/php_mb/.
# all of which are static so I don't see any problem for now.
2002-11-19 17:23:41 +00:00
Moriyoshi Koizumi
41ef851eb5 Unified the duplicated portions.
# No need to merge this patch to the branch
2002-11-19 17:02:06 +00:00
Moriyoshi Koizumi
65677445b4 Added a test to check whether mb_parse_str() works properly 2002-11-19 16:56:43 +00:00
Moriyoshi Koizumi
18089ce360 Modified the test so it wouldn't be affected by ini settings. 2002-11-19 16:55:34 +00:00
Edin Kadribasic
543c383302 Update Credits 2002-11-19 15:11:27 +00:00
Derick Rethans
0b2d775d3d - Already moved to PECL, but forgot to remove it from php4 2002-11-19 09:51:50 +00:00
Marcus Boerger
3ca6344e57 -rename checkdnsrr to dns_check_record, keep old name as alias
-rename getmxrr to dns_get_mx, keep old name as alias
-added dns_get_record
@Added dns_get_record() which allows to retrieve DNS information about
@a host. (Marcus, Pollita)
2002-11-19 02:34:13 +00:00
Edin Kadribasic
ff55850562 No need to declare functions used internally by DBA as PHPAPI. This
fixes windows build.
2002-11-19 01:06:42 +00:00
Moriyoshi Koizumi
b75f2df3d4 We have to use binary mode here. 2002-11-18 21:20:45 +00:00
Moriyoshi Koizumi
a9d7509036 Fixed possible leaks 2002-11-18 21:15:41 +00:00
Thies C. Arntzen
6aaa7bc345 use FREE_ZVAL when freeing zvals 2002-11-18 17:34:55 +00:00
Sascha Schumann
58b26398de Add FAM support for LGPLed libfam.
FAM, the File Alteration Monitor, provides an API that applications can use to
be notified when specific files or directories are changed.

FAM is being used in Enlightenment, GNOME/Nautilus, and KDE.

# Yes, this will be moved to PECL once that is fully usable. Emails about
# this issue will likely be redirected to /dev/null. :-)
2002-11-18 17:06:05 +00:00
Marcus Boerger
301330ff88 -Added colordepth for png
-Added tests for width/heidth for unsigned/signed problems
2002-11-18 16:51:02 +00:00
Marcus Boerger
a3d821c695 Added colordepth for png 2002-11-18 16:50:10 +00:00
Sascha Schumann
52f1135c8f add missing backslash 2002-11-18 15:55:07 +00:00
Edin Kadribasic
b8d3c75a6c Nuke one more win32 linking warning. 2002-11-18 15:53:00 +00:00
Marcus Boerger
25456939b3 Fixing unsigned/signed problems (and i thought about it before...) 2002-11-18 15:49:06 +00:00
Derick Rethans
e93f1c00c6 - Remove outdated GPL clause; the file was totally rewritten 2002-11-18 15:45:27 +00:00
Edin Kadribasic
d40c5e2624 Really nuke win32 linking warnings. 2002-11-18 14:33:34 +00:00
Ilia Alshanetsky
6e99ecdb01 Hopefully fix win32 linker warnings. 2002-11-18 13:17:14 +00:00
Ilia Alshanetsky
d9ecd30cc4 Changed memory allocation wrappers to macros, so that it is possible to see
where the memory leak is happening.
2002-11-18 12:31:39 +00:00
Wez Furlong
bceb56b2ba Re-enable the curlwrappers configure option.
I still don't recommend it's use unless you are hacking both curl and PHP
to make it work.
2002-11-18 12:00:21 +00:00
Wez Furlong
ca58966a0d Merge streams changes from branch. 2002-11-18 11:39:42 +00:00
foobar
6987855e95 Fixed bug: #20458 (--with-qtdom=shared broken) 2002-11-18 05:06:02 +00:00
foobar
43584058e9 Added error message if browscap location is not set in php.ini 2002-11-18 03:23:51 +00:00
Ilia Alshanetsky
c7fa1fa99f Fixed bug #20462. 2002-11-18 03:16:13 +00:00
Ilia Alshanetsky
c5107b8989 Removed duplicate php_compat.h include. 2002-11-18 02:30:27 +00:00
foobar
a3e9ae20d9 Fix the test. (and indented it for easier bug spotting :) 2002-11-18 00:41:27 +00:00
Ilia Alshanetsky
8d00d54f2f Fixed gd 2.0.4 check 2002-11-17 21:57:43 +00:00
Sebastian Bergmann
9229918fd7 Fix warning. HAVE_MEMMOVE is already defined in config.w32.h. 2002-11-17 21:50:00 +00:00
Sebastian Bergmann
b4e42dd43f Fix Win32 build. (Lots of linkage warnings remain!) 2002-11-17 21:29:16 +00:00
Ilia Alshanetsky
a10e0b6d8e A better gd >=2.0.4 version check for non-bundled gd library. 2002-11-17 20:18:44 +00:00
Derick Rethans
8c86784cae - MFB 2002-11-17 19:45:10 +00:00
Ilia Alshanetsky
cea2419529 Upgraded the bundled expat library to 1.95.5 (latest stable, atm).
Fixed bug #20442.
2002-11-17 18:37:48 +00:00
Derick Rethans
1a5037de1a - Fix compile problems for mips pro 2002-11-17 14:25:50 +00:00
Derick Rethans
c3fe54dfab - MFB: Fix memory allocation problem in bundled GD (reported by Brian Havard) 2002-11-17 13:11:46 +00:00
Marcus Boerger
24726b0c64 Conversion fix by Michael Mauch 2002-11-17 09:27:48 +00:00
Marcus Boerger
2442adabe5 Force float for the float test 2002-11-16 23:45:58 +00:00
Marcus Boerger
4f747e80f0 Show module used in test 2002-11-16 19:43:53 +00:00
Marcus Boerger
015c117e37 -Do not rely on a side effect of 32bit platforms (patch by Michael Mauch)
-remove unused sections
2002-11-16 17:28:04 +00:00
Marcus Boerger
31e1cd13e2 removed unused sections 2002-11-16 17:26:52 +00:00
Ilia Alshanetsky
47596de32f Fixed the test so it works properly on both 32 and 64 bit platforms. 2002-11-16 17:26:26 +00:00
Marcus Boerger
a3157908a8 Make getimagesize more robust against corrupt files 2002-11-16 17:02:07 +00:00
Georg Richter
208a3a3717 forgot to decrement result_allocated :( 2002-11-16 16:07:54 +00:00
Sebastian Bergmann
47388f2121 Fix Win32 build. 2002-11-16 08:30:31 +00:00
Marcus Boerger
dbf8593b5b When --enable-dba is used then include builtin modules unless --without-xxx
is not used.
2002-11-15 21:28:42 +00:00
Ilia Alshanetsky
2306c0e9d7 Removed the md5 checks since the files may be slightly different due to
float -> int conversion inconsistencies on various architectures.
2002-11-15 18:53:07 +00:00
Maxim Maletsky
9e3788864b WS 2002-11-15 18:20:59 +00:00
Maxim Maletsky
336e559718 Tons of WS fixes all over the file 2002-11-15 17:59:19 +00:00
Ilia Alshanetsky
8193641d2d With ZTS on, we need to resolve the full paths before making symlinks.
If a chdir() call occurs before the symlink operation, the symlink is
created in the current directory rather then directory we've chdired to
because in ZTS we don't actually chdir but store the new path internally.

For an example of this problem consider the ext/standard/tests/file/001.phpt
test under ZTS.
2002-11-15 16:34:16 +00:00
Moriyoshi Koizumi
90317cbc5d Always use binary mode for magic files 2002-11-15 16:25:31 +00:00
Moriyoshi Koizumi
7222abda70 Include php_config.h for HAVE_MBSTRING 2002-11-15 16:13:36 +00:00
Marcus Boerger
93769053cc Use flatfile if available.
# This way we are using the internal library which we know about most.
2002-11-15 16:11:51 +00:00
Moriyoshi Koizumi
003be7fe32 Divided the overload test into two so as to handle the case mbregex is
not enabled
2002-11-15 15:59:07 +00:00
Marcus Boerger
7d03dc004e Show which handler was used in the test 2002-11-15 15:58:09 +00:00
Moriyoshi Koizumi
b62afe783d %s/SKIP/skip/g 2002-11-15 15:34:57 +00:00
Marcus Boerger
5841e290ac Simplify and show skip reason 2002-11-15 15:22:07 +00:00
Marcus Boerger
adffe9fba6 Show correct result 2002-11-15 15:17:39 +00:00
Moriyoshi Koizumi
3ecc71a099 Fixed segfault in case the specified magic file cannot be read. 2002-11-15 15:13:30 +00:00
Moriyoshi Koizumi
46b4abc08b Removed unnecessary ?> 2002-11-15 14:53:58 +00:00
Moriyoshi Koizumi
b23d2c8beb Fixed bogus SKIPIF conditions. 2002-11-15 14:49:57 +00:00
Marcus Boerger
8c598f8bff Only show the first results 2002-11-15 14:46:52 +00:00
Moriyoshi Koizumi
f0a7db1c7e Added some skipif conditions to handle the case mbstring is enabled but mbregex is disabled. 2002-11-15 14:26:33 +00:00
Marcus Boerger
66ec203e70 Showing memleaks for a memleak test is a good idea 2002-11-15 11:55:57 +00:00
Marcus Boerger
4ef6a3af03 db is deprecated now 2002-11-15 11:49:58 +00:00
Marcus Boerger
b030a7a140 Fix segfaults (check ext/domxml/tests/domxml002.phpt) 2002-11-15 11:06:13 +00:00
Georg Richter
d46bd1cd63 removed restore_connection_defaults for pconnects (discussed on php-dev@)
bug #19529 closed
bug #12513 reopened
2002-11-15 10:35:10 +00:00
foobar
dadfd6e94a ws fix 2002-11-15 07:21:33 +00:00
Moriyoshi Koizumi
fb20eae7fc Fixed bug #20381 2002-11-15 02:16:41 +00:00
Moriyoshi Koizumi
ac209557dd Added a test case for bug #20381 2002-11-15 02:11:23 +00:00
Maxim Maletsky
cd9b495663 I mean - todo typo :) 2002-11-15 02:06:11 +00:00
Maxim Maletsky
05f07d2eba todo typo 2002-11-15 02:05:06 +00:00
Moriyoshi Koizumi
ee37386183 Use C comments 2002-11-15 01:45:23 +00:00
Moriyoshi Koizumi
5ca953b10f Fixed a problem that ICONV_IMPL doesn't give a correct value in win32 build. 2002-11-14 23:07:53 +00:00
Stig Bakken
bdeb45b335 Added PATH_SEPARATOR constant 2002-11-14 22:50:01 +00:00
Moriyoshi Koizumi
9efefc742b Added a test for zend-multibyte extension 2002-11-14 22:38:43 +00:00
Marcus Boerger
25641a7e96 Minor test corrections 2002-11-14 21:45:01 +00:00
Marcus Boerger
37e64f38ac Test is affected by mbstring 2002-11-14 21:43:49 +00:00
Moriyoshi Koizumi
e40416ebf6 Fixed possible buffer over run in php_mb_safe_strrchr_ex() 2002-11-14 21:33:36 +00:00
Maxim Maletsky
7890b6fc87 Added function OCIPasswordChange() that allows renewal of an expired Oracle password.
# Tested, but still considered experimental...
2002-11-14 21:26:57 +00:00
Andrei Zmievski
26bd73fec6 Sort the modules for info output as well. 2002-11-14 21:15:42 +00:00
Marcus Boerger
dbb95f338e file() is affected by magic_quotes_runtime 2002-11-14 21:15:31 +00:00
Marcus Boerger
a14bc7685d Add magic_quotes_runtime support 2002-11-14 21:09:41 +00:00
Marcus Boerger
8579756c05 Test for bug #14383 2002-11-14 20:30:53 +00:00
Moriyoshi Koizumi
6841184abc Fix build 2002-11-14 19:04:29 +00:00
Moriyoshi Koizumi
dac0b6fc4f Moved some mbregex related portions from mbstring.c to php_mbregex.c
# No need to merge this change to PHP_4_3 branch
2002-11-14 18:54:42 +00:00
Moriyoshi Koizumi
db6efcf7e5 Prevent warnings under safe mode 2002-11-14 18:38:38 +00:00
Ilia Alshanetsky
4e1d684027 Fixed ZTS compile warning. 2002-11-14 16:32:30 +00:00
Ilia Alshanetsky
5f7de8bf5b Fixed bug #20423. 2002-11-14 16:20:23 +00:00
Marcus Boerger
f986cb84f3 Fix TSRM build 2002-11-14 15:09:53 +00:00
Marcus Boerger
a391c4b12b Fix warnings (Marcus & Pierre-Alain Joye) 2002-11-14 15:08:39 +00:00
Wez Furlong
f921ea9f7d Add a test case for this "bug" # 20134.
I'm not sure that this test is actually useful, so I'm not adding
it to the branch.
2002-11-14 14:56:35 +00:00
Marcus Boerger
5ec9375760 Fix locking behaviour: On some systems read during write is permitted but
most libraries are not capable of that. GDBM is system dependant so there
we only test  that we do not deadlock.
2002-11-14 14:32:39 +00:00
Wez Furlong
4e85935386 MFB 2002-11-14 14:26:15 +00:00
Ilia Alshanetsky
6b7d77a7a0 Fixed bug #20420 and added partial urls to the test of the function. 2002-11-14 13:40:14 +00:00
Wez Furlong
b01add793c Add this test to make sure that fopencookie is detected and working
correctly (or that the less efficient tmpfile casting is working).
More details in the test itself.
2002-11-14 12:20:36 +00:00
Wez Furlong
08362f90d9 Fix build for unix.
Not sure if this needs merging to the branch (haven't got that far yet today).
2002-11-14 12:06:01 +00:00
Wez Furlong
9ae3c2f7bd Commit these before Sterling renames the files again :-)
When curlstreams are enabled, registers a each supported protocol
with PHP.
"More Correctly" implement eof for curlstreams.
Still not ready for anything like primetime.
2002-11-14 11:41:24 +00:00
Derick Rethans
bab4957d1c - MFB: Fixed bug #20484 (stream_get_meta_data crashes on a normal file
stream). (Derick, Wez)
2002-11-14 10:56:35 +00:00
Jon Parise
92df58dab6 @- Added an optional "step" parameter to range(). (Jon) 2002-11-14 05:46:10 +00:00
Sterling Hughes
89ea16ffaa remove C++ comments 2002-11-14 04:07:51 +00:00
James Cox
ad9788d853 changing..
#also, i think the qa and web team needs updating -- i'd like to see web change to a more general infrastructure category... anyone care to volunteer? :)
2002-11-14 02:05:53 +00:00
foobar
8efbeb68a1 MFB: Fix for bug: #20412 2002-11-14 00:21:14 +00:00
Edin Kadribasic
1eddce79dd MFB (made mbstring compile on windows again). 2002-11-13 23:11:14 +00:00
Sterling Hughes
9d04acdaaa curl_multi_info_read is unimplemented... 2002-11-13 22:43:31 +00:00
Sterling Hughes
537284418c add multi support and reorganize things a bit... 2002-11-13 22:25:33 +00:00
Ilia Alshanetsky
4522738188 Added tests for imagefilter() function. 2002-11-13 20:03:59 +00:00
Ilia Alshanetsky
901980b3ab Added imagefilter() function by Pierre-Alain Joye (paj@pearfr.org). This
function allows negate, grayscale, brightness, contrast, colorize, selective blur,
Gaussian blur, edge detect, smooth, sharpen and emboss filters to be applied
on an image.
2002-11-13 20:02:58 +00:00
Ilia Alshanetsky
a7487bb4f8 Compile warning fix. 2002-11-13 17:17:32 +00:00
Ilia Alshanetsky
0cb9c53033 Added a skip condition for when mail() function is not avaliable. 2002-11-13 17:16:33 +00:00
Ilia Alshanetsky
b0d519f730 Added a skip condition for when the encoding needed for the test is not
available or supported.
2002-11-13 16:52:48 +00:00
Marcus Boerger
244d5d1c11 must be unsigned
# maybe i will change this to size_t for 64bit systems but i do not have the
# time now and i have problems building php on a sun.
2002-11-13 16:30:50 +00:00
Marcus Boerger
4dd5fc67b7 -use size_t
-recheckin header as unix file
2002-11-13 16:28:44 +00:00
John Coggeshall
253cecd43a Added GLOB_ONLYDIR and GLOB_BRACE for compatiable systems for the glob()
function.

Modified the layout and some minor logic in the experimental webHarness()
test class

Added Whitespace accidently to array.c :)
2002-11-13 13:31:33 +00:00
Edin Kadribasic
ae51b7f4db Allow use of Berkeley db version 3.1 as found on many RedHat systems. 2002-11-13 13:12:26 +00:00
Edin Kadribasic
af436aa873 Added support for bundled flatfile, cdb and cdb_make handlers
to win32 build of the dba extension.
2002-11-13 12:12:44 +00:00
Moriyoshi Koizumi
9f2a1ce9d4 Added a test for mb_send_mail() to check if the function properly handles
Traditional Chinese characters.
2002-11-13 12:00:47 +00:00
Moriyoshi Koizumi
fd01313fde Corrected Traditional Chinese language spec and the preferred MIME name
of which the encoding is used in that locale.
2002-11-13 11:57:59 +00:00
Marcus Boerger
77c9dfae6b avoid fileno() 2002-11-13 10:17:19 +00:00
Derick Rethans
801c698992 - Reset globals for each request 2002-11-13 08:54:34 +00:00
Moriyoshi Koizumi
2016c0cc0a Added a test for mb_send_mail() to check if the simplified Chinese support
works
2002-11-13 08:45:37 +00:00
Moriyoshi Koizumi
d9ebc7aadb Updated the test 2002-11-13 08:27:17 +00:00
Moriyoshi Koizumi
7addde8521 Prevented unwanted encoding detections in mb_send_mail()
# This patch shouldn't break BC
2002-11-13 08:26:04 +00:00
Moriyoshi Koizumi
e01b60c2fb Fixed mb_encode_mimeheader() to work with languages other than Japanese and
English
2002-11-13 08:13:34 +00:00
Moriyoshi Koizumi
04f59073e6 Fixed a buffer over-run bug in case a function to be overloaded doesn't exist.
# This patch was made by Ilia.
2002-11-13 07:40:11 +00:00
Andrei Zmievski
e87b45de44 Disable mbstring by default. 2002-11-13 04:36:04 +00:00
foobar
aab64595fa Using // is not very good idea.. 2002-11-12 23:34:06 +00:00
Edin Kadribasic
9a275e27a5 Fixed ZTS build and removed an unused variable. 2002-11-12 22:59:11 +00:00
Edin Kadribasic
f4903cd901 Fix build. flock_compat.c and flock_compat.h are now in the exported
part of php4ts.dll.
2002-11-12 22:44:11 +00:00
Moriyoshi Koizumi
16cf26ee18 Cosmetics 2002-11-12 22:05:18 +00:00
Moriyoshi Koizumi
3cf7002469 Fixed a function overloading related bug.
# Yet I suspect the problem is in another place...
2002-11-12 21:58:53 +00:00
Moriyoshi Koizumi
c65cbd2409 Fixed the tests so that they won't be affected by the ini setting of
default_charset
2002-11-12 21:37:54 +00:00
Marcus Boerger
0b8c9fc5b2 fix warnings 2002-11-12 21:11:01 +00:00
Marcus Boerger
b855dcc876 ftruncate is defined in flock_compat.h on windows 2002-11-12 21:03:10 +00:00
Moriyoshi Koizumi
072466203d Fixed language name 2002-11-12 20:06:20 +00:00
Moriyoshi Koizumi
5d547d1f0c Added test cases for mb_send_mail() 2002-11-12 20:04:58 +00:00
Moriyoshi Koizumi
827974bc94 Forgot to change this one. 2002-11-12 19:44:56 +00:00
Moriyoshi Koizumi
268903ce6c Added neutral language spec for backwards compatibility 2002-11-12 19:24:45 +00:00
Hartmut Holzgraefe
be5e379ec6 HTTP_RAW_POST_DATA BC fixes
# hopefully all done, commiting anyway to continue work on my home box
php://input stream fixes (POST data handerl mangles data, CLI crashbug)
2002-11-12 18:29:11 +00:00
Ilia Alshanetsky
ef7bd02688 Added test for swc files (compressed swf files), this must be done in a
separate test, since this test has a dependency on the zlib extension.
2002-11-12 17:47:20 +00:00
Ilia Alshanetsky
d84afe1121 Fixed a memory leak. 2002-11-12 17:41:26 +00:00
foobar
2972859dcf ws fixes 2002-11-12 17:31:39 +00:00
Ilia Alshanetsky
619fc2c3c0 Data manipulation (for big endian transformation) should occur after the
data has been read from file.
2002-11-12 16:14:18 +00:00
Marcus Boerger
f6885ab970 use *e*malloc functions 2002-11-12 16:02:03 +00:00
Marcus Boerger
1ad91e8b9b fix warnings 2002-11-12 15:09:44 +00:00
James Moore
48d27095a7 Forgot the parsers and scanners 2002-11-12 14:31:37 +00:00
James Moore
41114c05fe Rewrite of the W32api extension
@ New version of w32api extension. Old API deprecated (jmoore)
2002-11-12 14:29:42 +00:00
Ilia Alshanetsky
1a3e0f0487 Fixed compile error. 2002-11-12 14:18:25 +00:00
Marcus Boerger
c53e21ef05 php_error() => php_error_docref() 2002-11-12 13:16:13 +00:00
Timm Friebe
0d879e3323 - Added optional parameter to sybase_fetch_object() (Timm)
- Changed php_error and zend_error to php_error_docref (Timm)
- Changed sybase_query() to clean up and free unread results (Timm)
2002-11-12 13:13:12 +00:00
Marcus Boerger
b06085dd46 fix warnings 2002-11-12 13:12:58 +00:00
Marcus Boerger
22b8f0ea42 fix windows warning: not needed here 2002-11-12 13:11:37 +00:00
Marcus Boerger
99beb8034e -fix includes
-fix one missing efree
-replace efree/emalloc with erealloc
2002-11-12 12:01:57 +00:00
Marcus Boerger
597acbc3d3 new function gd_info() returns an associative array of gd support options. # The index names are those from the minfo function. Therefore it is
# easy to look into phpinfo() to see which index names are possible.
2002-11-12 11:49:11 +00:00
Marcus Boerger
3ba7df4c6a fix warnings
#highest bit cannot be set so this must work
2002-11-12 11:46:21 +00:00
Marcus Boerger
1017cf99a0 fix warnings 2002-11-12 11:45:10 +00:00
Marcus Boerger
f2de217740 correct the last patch: make flock() a function again when it is missing
#function name should be flock and not php_flock of cause
2002-11-12 09:09:55 +00:00
Yasuo Ohgaki
f482ac4011 Speed up pg_escape_bytea, from O(n^2) => O(n). My test script speed up
from 50 sec to 5 sec. (sscanf is too slow at least under my linux, I
might write better function that unescape values later)
Use emalloc/erealloc for bundled PQescapeBytea(php_pgsql_escape_bytea)
2002-11-12 09:07:36 +00:00
Derick Rethans
28d3be43a3 - Fix warning 2002-11-12 08:11:23 +00:00
David Viner
687b684d7b adding to do list to help clarify exactly what we are (or
should be) working on for the XSLT extension.
--dviner
2002-11-12 05:14:47 +00:00
Zak Greant
c29f1aa468 Modified php_mysql_do_connect() as suggested by Nick Gaugler - using
mysql_ping() as a more efficient alternative to using mysql_stat() to
check if the server is alive and then calling mysql_(real_)?connect() to
reconnect.

Simple tests of opening pconnects indicate that only about 10k of data per
ping needs to be returned to the client per connection check, rather than
about 110k per status check.
2002-11-12 01:41:16 +00:00
Marcus Boerger
b8696890ca make flock() a function again when it is missing 2002-11-11 23:40:33 +00:00
Harrie Hazewinkel
6a14b16e34 Adding a more detail print functions, that assist/make it easier for
creating SNMP scripts.
They are only supported when you have NET-SNMP.
Need to be documented still though.
2002-11-11 21:37:19 +00:00
Harrie Hazewinkel
957f651708 Adding SNMPv3 support.
This splits the old php_snmp function into an argument parsing part and
a data retrieval part. The data retrieval part is reused for SNMPv3.
SNMPv3 has only a different argument parsing.

THe code is not extremely beautiful, but having NET-SNMP and
UCD-SNMP support creates this. :-(
Documentation must still be done.
2002-11-11 21:09:19 +00:00
Marcus Boerger
759e4b10e8 Use php_flock instead of flock 2002-11-11 20:53:41 +00:00
Marcus Boerger
1554bb6db6 -make the flock() emulation a separate function named php_flock()
-use a define to make php_flock() available as flock() when necessary
# The emulated php_flock even works on NFS this will be used elsewhere.
2002-11-11 20:52:09 +00:00
Harrie Hazewinkel
e1f884c4bc Fixing the php_info function.
Print UCD-SNMP when UCD-SNMP is used.
Print NET-SNMP when NET-SNMP is used.
2002-11-11 18:45:50 +00:00
Ilia Alshanetsky
aec6258a17 Fixed compile warnings. 2002-11-11 16:54:26 +00:00
Marcus Boerger
2f06a4fa77 make flock PHPAPI 2002-11-11 16:43:19 +00:00
Jason Greene
f8aae8702c Switch to using error_docref
# Satisfy all those named Mar[ck]us
2002-11-11 16:34:39 +00:00
Edin Kadribasic
a2c170e296 Fixed windows build. Symbol PHP_EXPORTS is a no-no for dynamically
linked extensions.
2002-11-11 16:11:32 +00:00
Moriyoshi Koizumi
f300bdce82 Added support for windows code pages. 2002-11-11 13:31:08 +00:00
Moriyoshi Koizumi
488255ce54 WS 2002-11-11 13:28:34 +00:00
Georg Richter
f328f3ea51 Added new functionality:
Warnings for table/index scans
	Warnings for SQL-Errors
	Warnings for non free result sets

It can be activated via ini.setting "mysql.trace_mode"
2002-11-11 12:54:06 +00:00
Marcus Boerger
c4e57b182e -fix file open mode when modifier 'd' is used
#Add my name to authors
2002-11-11 12:04:12 +00:00
Marcus Boerger
dcc7fc16b6 -Precondiftion: no open files
-do not show warning from dba_open call for read during write
# Interesting is that on some systems read during write is permitted...
# I will change the tests as soon as i find a way to have this equal on all
# systems
2002-11-11 12:00:58 +00:00
Marcus Boerger
1cb7dc2166 Add missing flush 2002-11-11 11:57:25 +00:00
Jason Greene
5e2c75c576 Report function name when log() triggers a base warning 2002-11-11 05:35:04 +00:00
Jason Greene
84bd2901c4 Add the ability to take the logarithm of any base by adding a base parameter
to log()
Added regression tests for the new form
2002-11-11 05:21:35 +00:00
Jason Greene
9e2a312f2e add test function for log()
# It is difficult to test an approximation of an approximation, but I
# believe this test should be close enough to verify the function is working
# correctly.
2002-11-11 03:45:04 +00:00
Moriyoshi Koizumi
67e6c356f6 Fixed mb_convert_case() / mb_strtolower() / mb_strtoupper() to work in
64bit systems
2002-11-11 02:39:32 +00:00
James Cox
85e9468b1d give Wez streams credits he deserves. 2002-11-10 23:49:04 +00:00
Marcus Boerger
b8f3b83511 Emit a warning when open mode modifier t is used wrong. 2002-11-10 23:07:35 +00:00
Marcus Boerger
4f636c6b3b Add $lock_flag which allows to change lock behaviour for both 'l' and 'd'
Remember gdbm has its own locking so 't' does not work here - maybe a
warning is needed for that, too.
2002-11-10 22:56:29 +00:00
Marcus Boerger
89b586d415 Use 'l' to open database file with locking on .lck file. 2002-11-10 22:07:17 +00:00
Moriyoshi Koizumi
66d606df5f Fixed mb_send_mail() so that it correctly handles the language setting. 2002-11-10 21:32:54 +00:00
Moriyoshi Koizumi
a56ea0ab81 Fixed German language spec entry. 2002-11-10 21:31:26 +00:00
Derick Rethans
30daa9489c - Make it rely on cURL version 7.9.8 again, so that we can start with the
Release Process.
2002-11-10 21:26:14 +00:00
Derick Rethans
a88e5c6e8d - Remove \n from error messages 2002-11-10 21:24:54 +00:00
Moriyoshi Koizumi
2007517447 Fixed OnUpdate_mbstring_language so that change for mbstring.language
would be reflected to the setting properly
2002-11-10 21:18:54 +00:00
Moriyoshi Koizumi
3e21044d81 Changed the default settings so that it shouldn't affect htmlentities() 2002-11-10 20:53:36 +00:00
Ilia Alshanetsky
a6a3b00762 Added a missing '.', which is needed for proper skip check. 2002-11-10 20:01:56 +00:00
Moriyoshi Koizumi
a1d6dccb59 These changes seems to have bad effect on htmlentities().
Remove it.
2002-11-10 19:05:51 +00:00
Marcus Boerger
705a4e251c -Centralise open stream for builtin modules that use streams
-If locks work on database file then only one stream open call is used
2002-11-10 17:58:46 +00:00
Marcus Boerger
224e530ee1 finish work on locking
-all but gdbm do internal locking now since only gdbm has internal locking
-you can force locking on database or lck file (with gdbm this makes no
 sense so a notice is generated)
2002-11-10 16:03:17 +00:00
Moriyoshi Koizumi
8c517d7d1d Added a test case to check if my recent patch works 2002-11-10 15:52:00 +00:00
Melvyn Sopacua
d3da22fb95 - implement xslt_backend_info
- add test for it
- fix some prototypes
2002-11-10 12:18:03 +00:00
Maxim Maletsky
8b36fd2afa fixed several proto return types throughout the extension 2002-11-10 05:31:12 +00:00
Ilia Alshanetsky
cc85828811 Fixed bug #19935. Made OpenSSL file system operations abide by safe_mode
& open_basedir restrictions.
2002-11-10 05:19:40 +00:00
Moriyoshi Koizumi
60febe2890 Fixed typo 2002-11-09 23:10:02 +00:00
Moriyoshi Koizumi
0a801f1deb Added a test for mb_substr_count() 2002-11-09 17:07:29 +00:00
Moriyoshi Koizumi
0e6445b8b1 Added mb_substr_count() as per the request #15097 2002-11-09 17:05:47 +00:00
Moriyoshi Koizumi
f47cf49139 Fixed PHP_INI_MH(OnUpdate_mbstring_language) so that ini entry values
are properly updated.
2002-11-09 16:15:40 +00:00
Sterling Hughes
c4bb7f4776 add a whole bunch of constants that make the interface somewhat up-to-date. 2002-11-09 13:52:00 +00:00
Sterling Hughes
767c02af51 add check for curl 7.10.2 2002-11-09 13:08:49 +00:00
Andrei Zmievski
a60968287c Fix memory leak in non-ZTS mode. 2002-11-09 00:43:37 +00:00
Andrei Zmievski
1a8d4258ec Remove unnecessary comments. 2002-11-08 21:20:48 +00:00
Moriyoshi Koizumi
8e1f89bc6f Use proper types 2002-11-08 18:40:54 +00:00
Moriyoshi Koizumi
5b62dc07e1 Fixed typo 2002-11-08 18:06:31 +00:00
Sterling Hughes
71d316e39e add support for curl 7.10.* constants (at least most of them)
add support for persistent connections
2002-11-08 17:58:43 +00:00
Marcus Boerger
bf303c2ab7 hide possible warnings
#Why should one initialize $php_errormsg to NULL
#It would be easier to have it initialised by the system, wouldn't it?
2002-11-08 17:03:06 +00:00
Sterling Hughes
80f88a9851 use consistent constants 2002-11-08 15:49:32 +00:00
Moriyoshi Koizumi
72e0aa894a Added a test for function overloading behaviour 2002-11-08 07:22:10 +00:00
CHAILLAN Nicolas
2838df58fb Very little fixes 2002-11-08 03:05:19 +00:00
Ilia Alshanetsky
d28e3d9dc5 Fixed prototype of image_type_to_mime_type(), bug #20094. 2002-11-08 03:04:23 +00:00
Ilia Alshanetsky
9cc24bad1e Fixed compile warning when compiling without openssl support. 2002-11-08 03:02:51 +00:00
Ilia Alshanetsky
b6e3ae97c4 Move SWC (compressed swf) check into a separate test because this check
requires zlib. This separation allows us to skip the test if zlib is
not available and not fail.
2002-11-08 02:50:28 +00:00
Ilia Alshanetsky
0bdefe4d1e Added skip conditions in the event the required charset is not avaliabled.
Removed old (commented out) module loading code.
2002-11-08 01:12:03 +00:00
Ilia Alshanetsky
4910b2da98 Added a skip condition if the English dictionary needed for the test is not
avaliable.
2002-11-08 01:09:47 +00:00
Ilia Alshanetsky
1504ad65fc Added a skip condition in the event posix_kill(), which is used by the test
is not avaliable.
2002-11-08 01:08:52 +00:00
Ilia Alshanetsky
6e06948c19 Removed duplicate assignment. 2002-11-08 01:08:01 +00:00
Marcus Boerger
95018fc5c0 -lock support moved from dba_flatfile.c to dba.c
-flatfile, cdb, cdb_make use locking now
#locking is blocking per default use 'rt', 'wt', ct' or 'nt' for non blocking alias
#test access to a database file.
#locking uses flock() which will be emulated or warned if that is not eally
#possible in ext/standard/flock_compat.c
2002-11-08 01:03:53 +00:00
Marcus Boerger
1a4c1eb8a9 not needed anywhere here 2002-11-07 23:09:41 +00:00
Marcus Boerger
78857eb9d4 expand test: see if another insert fails 2002-11-07 23:03:58 +00:00
Marcus Boerger
39876b881b -rename anything to flatfile_xxx/FLATFILE_xxx
-fix update function
-add warnings for update function
2002-11-07 23:03:16 +00:00
Brian France
3902b068c3 Changed: EXPAT_SHARED_LIBADD -> XML_SHARED_LIBADD
If the xml extension was built shared with a shared libexpat
	it would not get the required link to libexpat.so.
2002-11-07 19:31:08 +00:00
Wez Furlong
be769483d5 Really disable curlwrappers configure option. 2002-11-07 18:07:03 +00:00
Ilia Alshanetsky
7db2ebd8ea This makes the output of the tests consistent on 32bit and 64 bit platforms.
The old test relied on the 32 bit behaviour, which caused them to always fail
on 64 bit platforms.
2002-11-07 17:49:11 +00:00
Ilia Alshanetsky
ada01d75e0 Added swf info. 2002-11-07 16:42:32 +00:00
Ilia Alshanetsky
bd41e0503d Added swf and swc (compressed swf) test cases and added 'bits' portion to
the expected bmp test results.
2002-11-07 16:38:57 +00:00
Ilia Alshanetsky
15fb290edc Fixed a crash in image_type_to_mime_type(), when a non integer value is
passed to the function.
Fixed Width/Height detection of bmp files on big endian systems.
Added bit depth detection for bmp files.
2002-11-07 16:37:46 +00:00
Ilia Alshanetsky
c2337fd851 Added additional tests to parse_url() test suit, corrected the output of 2
existing tests, which were affected by a bug fixed in latest update to
parse_url() source code.
2002-11-07 15:46:34 +00:00
Ilia Alshanetsky
8645f5c200 parse_url can now correctly parse mailto:, zlib: (old zlib wrapper) and
simular. Thanks to Wez Furlong for noticing the problem.
2002-11-07 15:41:32 +00:00
Wez Furlong
c2a4f94147 WS 2002-11-07 14:52:02 +00:00
Wez Furlong
7d4bf32ca2 Make this static also. 2002-11-07 14:46:40 +00:00
Wez Furlong
8180b9e9c7 Make this static 2002-11-07 14:42:20 +00:00
Marcus Boerger
2a2a41b5f2 add test to see if insert fails when key already exists 2002-11-07 14:18:42 +00:00
Marcus Boerger
927033c616 remove debug output and use php_error_docref instead 2002-11-07 13:00:37 +00:00
Ilia Alshanetsky
b801568bbb Fixed a crash in headers_sent(), that occures if
php_get_output_start_filename() returns NULL.
2002-11-07 00:23:58 +00:00
Ilia Alshanetsky
78e2e69b23 Instead of checking whether realpath exists based on OS. Use the
HAVE_REALPATH define, which is set if realpath() is avaliable. This patch
also resolves bug #18868.
2002-11-06 18:07:23 +00:00
Sascha Schumann
3037b35b31 emalloc never returns 0, so we can simplify the code paths.
also replace ecalloc with emalloc+memset, so that the latter can be inlined.
2002-11-06 17:59:03 +00:00
Moriyoshi Koizumi
5c7b062d6f Cosmetics 2002-11-06 16:58:08 +00:00
Moriyoshi Koizumi
c22c2e4772 Added a test case to check the behaviour on failure 2002-11-06 16:57:53 +00:00
Marcus Boerger
85d09b872d added missing magic_quotes_runtime=0 2002-11-06 16:56:44 +00:00
Moriyoshi Koizumi
0228d5bdcb Clean up 2002-11-06 16:54:18 +00:00
Moriyoshi Koizumi
cac70c5523 Stricter SKIPIF conditions 2002-11-06 16:37:10 +00:00
Moriyoshi Koizumi
49f15ab314 Fixed segfaults in case the specified encoding is not acceptable to iconv. 2002-11-06 16:29:16 +00:00
Moriyoshi Koizumi
6789057697 Oops, preg_match() returns integer value, not boolean. 2002-11-06 15:14:58 +00:00
Moriyoshi Koizumi
e4460fa5a3 Made skip conditions stricter. 2002-11-06 15:06:35 +00:00
Marcus Boerger
caa194d47e -convert from dos to unix file
-disallow cdb_make
2002-11-06 11:59:14 +00:00
Marcus Boerger
c7b7cf17c2 check whether a written databse can be appended and if read during write
is permitted
#i use ksort for the result here since some dbm libraries sort their result
#but that is nothing to test here.
2002-11-06 11:18:00 +00:00
Marcus Boerger
7fb5e192fb fix locks and reading
#i will extend the tests to guard on such failures
2002-11-06 10:43:41 +00:00
Wez Furlong
ec955b07bb Disable --with-curlwrappers.
(Pending support from libcurl itself)
2002-11-06 10:24:48 +00:00
Marcus Boerger
678829add6 There shall never be an external library for this (hopefully). 2002-11-06 10:08:38 +00:00
Marcus Boerger
88af7e9897 Use the the name 'flatfile' correctly so the handler support can be built now.
#I do not like the lock solution since a crashed php would leave the *lck
#file locked now.
2002-11-06 09:17:51 +00:00
Marcus Boerger
4be50925ad move newly introduced flatfile support from dbm to new flatfile handler
# do not make the same mistake as with ext/db where it was not clear
# which format was used.
2002-11-06 04:16:18 +00:00
Marcus Boerger
5d9563df56 correct file open modes 2002-11-06 02:21:49 +00:00
Marcus Boerger
31b6a5cebf #add myself 2002-11-06 01:53:50 +00:00
Marcus Boerger
f0acf84dc7 Incorporate rewritten version of dbm from db extension.
# currently locks are missing :-(
2002-11-06 01:47:06 +00:00
Ilia Alshanetsky
89d4cd1d6b Fixed compile warning, removed unused variables and added process.h header,
which is needed on Windows for getpid() function.
2002-11-05 19:57:04 +00:00
Marcus Boerger
b3ab4ece8d correct errors 2002-11-05 19:38:06 +00:00
Andi Gutmans
1f42a2b88f - Arghh... Change #ifdef to #ifndef 2002-11-05 19:02:37 +00:00
Andi Gutmans
a0ed2ef379 - Fix Engine 2 build 2002-11-05 19:01:36 +00:00
Moriyoshi Koizumi
307024dc68 Fixed typo 2002-11-05 17:46:36 +00:00
Moriyoshi Koizumi
e2112f174a Added a test for bug #20261 2002-11-05 17:25:59 +00:00
Ilia Alshanetsky
6d57337cda Fixed a memory leak in array_fill().
The refcount hack is now done for ZE1 only and is slightly faster then the
original.
After this patch array_fill() can consistently create arrays with >65k elements.
2002-11-05 16:19:19 +00:00
Marcus Boerger
77858f7fcd -use of emalloc functions
-info was not initialised fulle due to memset parameters
 now that the whole structure is initialised we can stop putting 0 in it.
2002-11-05 15:01:20 +00:00
Marcus Boerger
177b24a44e Why did open fail? 2002-11-05 14:46:36 +00:00
Ilia Alshanetsky
41a77bccba Fix compile warning. 2002-11-05 14:28:32 +00:00
Edin Kadribasic
95314707ca Added two new targets to the ldap win32 build which enable ldap
extension to be linked with ssl version of openldap libs.
2002-11-05 14:19:22 +00:00
Edin Kadribasic
ce2b880a53 Fixed win32 build by including missing stddef.h 2002-11-05 14:18:20 +00:00
Moriyoshi Koizumi
bef514afda style fix 2002-11-05 13:52:11 +00:00
Marcus Boerger
30e916d5cd added missing compiler define 2002-11-05 12:03:01 +00:00
Marcus Boerger
2db35e91ea no memory no members 2002-11-05 11:22:48 +00:00
Marcus Boerger
3bfb7162a8 silence
#when i get this code right tmp_line is not initialised, too.
#Therefore php_stream_wrapper_log_error() will be called with
#undefined value, will it?
2002-11-05 11:17:45 +00:00
Marcus Boerger
210c6e75f2 Use EXPECT again 2002-11-05 09:52:30 +00:00
Adam Dickmeiss
752f0b0abf Fix handling of zero-length records 2002-11-05 09:19:24 +00:00
Timm Friebe
2bcca9e315 #- Added myself here 2002-11-05 08:30:57 +00:00
Timm Friebe
514b69824e @- Implemented features/changes requested in Bug #16960 (Timm):
@  . Added a new function sybase_unbuffered_query()
@  . Added a new function sybase_fetch_assoc()
@  . Added sybase_set_message_handler() which enables users to handle
@    server messages in a callback function
@  . Added an ini entry for deadlock retries - retrying deadlocks
@    can cause transaction state to break (sybct.deadlock_retry_count,
@    defaults to -1 "forever").
@  . Fixed sybase_fetch_object() not to return objects with numeric
@    members
@  . Fixed issues with identical fieldnames
@  . Made sybase_fetch_*() functions return correct datatypes
@  . Made phpinfo() section more verbose
@  . Made sybase_query() error messages more verbose
2002-11-05 08:29:57 +00:00
Stig Bakken
efeaa5917c Added separate functions for setting include_path, for environments
where ini_set has been disabled.  New functions: get_include_path(),
set_include_path(), restore_include_path()
2002-11-05 06:05:48 +00:00
Ilia Alshanetsky
ecb5c7e08e Revert virtual_link() patch. 2002-11-04 23:24:15 +00:00
David Reid
e66a760f6b Not all systems have sys/ipc.h so let's check and only include it if we
have it.
2002-11-04 20:08:09 +00:00
Marcus Boerger
5be5c7f14f incorporate cdb-0.75 as suggested by D. J. Bernstein
#dba now supports cdb_make
2002-11-04 17:53:04 +00:00
Ilia Alshanetsky
a8d4bb9d28 Silence compiler warning. 2002-11-04 17:38:30 +00:00
Marcus Boerger
02c903b25e use ecmalloc/efree functions instead of (c|m)alloc/free 2002-11-04 13:39:17 +00:00
Moriyoshi Koizumi
90792bca29 Fixed bug #20243 2002-11-04 12:53:24 +00:00
Marcus Boerger
9d0c4b7bc5 passing around TSRM
#going to add CDB_MAKE support
2002-11-04 12:27:13 +00:00
Melvyn Sopacua
67efacc344 Add test for both sysvsem and sysvshm 2002-11-04 02:44:09 +00:00
Ilia Alshanetsky
02fcdec6b7 Fix win32 build. 2002-11-03 21:21:13 +00:00
Moriyoshi Koizumi
f6ad144abb Added a new test 2002-11-03 20:35:46 +00:00
Moriyoshi Koizumi
7f5d98203e Fixed OnUpdate_zlib_output_compression() behaviour 2002-11-03 20:31:00 +00:00
Marcus Boerger
529fbfffc4 missing 2002-11-03 20:17:00 +00:00
Melvyn Sopacua
f42cbf7309 ws 2002-11-03 17:46:38 +00:00
Marcus Boerger
068d9d4786 no c++ comments 2002-11-03 16:50:08 +00:00
Marcus Boerger
aaf5911b16 cdb now allows multiple key-value pairs with same key 2002-11-03 16:43:07 +00:00
Marcus Boerger
ea7b5d41d3 cdb interface is currently readonly 2002-11-03 15:22:32 +00:00
Marcus Boerger
a54cf8b94a cdb interface is currently readonly 2002-11-03 15:11:42 +00:00
Marcus Boerger
6668f61ecb -fixed
-use *e*malloc
2002-11-03 15:09:49 +00:00
Marcus Boerger
81ef4fd958 add tests for functions in image.c (not requiring gd,zlib or exif) 2002-11-03 13:52:45 +00:00
Wez Furlong
92e9c825b4 Fix leak when read call fails (see comment in #16635). 2002-11-03 13:22:49 +00:00
Moriyoshi Koizumi
941d5e3894 style keisatsu 2002-11-03 08:50:43 +00:00
Moriyoshi Koizumi
408e019b25 Disabled output_handler in INI section 2002-11-03 08:37:59 +00:00
Dan Kalowsky
bbb798315e Bug #20148 suggested work around for now. 2002-11-02 20:18:10 +00:00
Ilia Alshanetsky
ec3b50b8bb Revert previous dirname() patch. 2002-11-02 18:54:31 +00:00
Melvyn Sopacua
aa4bf3607b Skip when Sablotron version is too old 2002-11-02 17:24:57 +00:00
Melvyn Sopacua
8a210264e7 - Use spprintf to avoid two calls to zend_get_executed_filename, suggested
by Marcus Börger
2002-11-02 15:01:43 +00:00
Moriyoshi Koizumi
e9982c06c7 Reduced compiler warnings 2002-11-02 13:38:32 +00:00
Marcus Boerger
832b5a4964 fix TSRM build 2002-11-02 10:58:02 +00:00
Marcus Boerger
7ea6e4431e fix a warning 2002-11-02 10:34:51 +00:00
Melvyn Sopacua
204552683c Fix typo
# Sorry Lenar
2002-11-02 01:44:35 +00:00
Melvyn Sopacua
41daebe049 test rename 2002-11-02 01:34:56 +00:00
Melvyn Sopacua
ccd3b27af2 - Fix issues with 'arg' scheme and external files, bug #20177
- Add authors

# Need to rename test, grrr
2002-11-02 01:32:09 +00:00
Melvyn Sopacua
2f187e86e5 Test for files in 'args' provided handles 2002-11-02 01:13:22 +00:00
foobar
4dabb162d0 - Added searching for Kerberos libs in default locations if no path is
given for --with-kerberos.

# Marcus, please try this. :)
2002-11-01 16:45:59 +00:00
Lenar Lõhmus
d2275d9195 Fix scheme_getall() function so that data returned by user is always
converted to string except when script returns FALSE or NULL. In this case
signal sablotron that we are not able to handle requested scheme.
2002-11-01 14:44:06 +00:00
Marcus Boerger
f7bd4ce0ba Add testcase for every single handler
# db2 fails for me with SIGSEGV
2002-11-01 14:23:23 +00:00
Marcus Boerger
d50e62cbac Always show handler used 2002-11-01 14:21:36 +00:00
Marcus Boerger
5ab8fb4df1 test.dbm* -> test0.dbm* 2002-11-01 14:20:31 +00:00
Marcus Boerger
a5968cf369 php_error -> php_error_docref 2002-11-01 14:15:24 +00:00
Melvyn Sopacua
b3b01c253d Fix test output 2002-11-01 13:43:40 +00:00
Marcus Boerger
20d7a682ab update test
#This test fails for me. I expanded the test output and checked the function.
#The only way to fix this behaviour would be to store the last result in a
#global value and fetch the time again in case the newer value is less the
#the older value.
2002-11-01 12:12:40 +00:00
Christian Stocker
70b9310d3a fix for bug #20209 (appending text nodes leads to segfaults sometimes) 2002-11-01 10:06:10 +00:00
Melvyn Sopacua
46faef79f6 Segfault test, currently unsolved 2002-11-01 02:27:43 +00:00
Melvyn Sopacua
80ee077307 Testcase for new Sablotron option 2002-11-01 02:21:58 +00:00
Melvyn Sopacua
12498fcec7 - Fix registration of XSLT_SABOPT_FILES_TO_HANDLER 2002-11-01 02:05:36 +00:00
Ilia Alshanetsky
0ce0939a91 Fixed win32 build (hopefuly). 2002-11-01 01:20:05 +00:00
Ilia Alshanetsky
500df32e0c Fixed bug #18710. dirname() now returns consistent output when dealing with
\ directory separators on Windows.
2002-11-01 00:53:27 +00:00
John Coggeshall
6ac365896c Modified the experimental new test class to make it easier to port to the
web. Pushed all echo statements through a function that can be
overwritten, changed the way pass/skip/fail is handled (separate function)
that of course can also be overwritten. To begin testing of a web-based
test script also created a webHarness class which will output HTML. To
use, just $a = new webHarness(); instead of $a = new testHarness(); A few
modifications still must be made to remove the CLI reliance completely.

Also modified a test script description.
2002-11-01 00:22:02 +00:00
Melvyn Sopacua
294b419d67 copy/waste error 2002-10-31 21:27:00 +00:00
Melvyn Sopacua
5062dbee4c - Add constant XSLT_SABOPT_FILES_TO_HANDLER overriding the default
behavior of Sablotron to handle files itself, even if a scheme-handler
  is registered.
- Implement xslt_getopt
- Modify behavior of xslt_setopt, so that it returns the previous value.

# All these need Sab CVS version > 2002/10/31
2002-10-31 21:21:01 +00:00
Melvyn Sopacua
45227ec40c Fix typo 2002-10-31 21:11:57 +00:00
Melvyn Sopacua
bcf61b073a Add test for xslt_getopt
# see next commit
2002-10-31 21:09:05 +00:00
Moriyoshi Koizumi
a00abb6850 Fixed library capability detection behaviour.
# Whew! I've fixed all the known problems.
# And should I become a maintainer of this module?
2002-10-31 20:23:53 +00:00
Christian Stocker
0b8040aa8d fix proto for clone_node 2002-10-31 19:52:45 +00:00
Moriyoshi Koizumi
f94e45aaf3 Moved the test into the suitable place 2002-10-31 15:28:21 +00:00
Derick Rethans
0998fcd804 - Added an aditional parameter to the jdtojewish() function which makes
the function return the symbolic hebrew name. (Patch by Moshe Doron
  <mosdoron@netvision.net.il>)
@- Added an aditional parameter to the jdtojewish() function which makes
@  the function return the symbolic hebrew name. (Moshe Doron, Derick)
2002-10-31 09:16:23 +00:00
Wez Furlong
bfdb85d1f0 Correct a copy-n-paste bug. Spotted by Michael Sisolak <msisolak@yahoo.com> 2002-10-31 08:23:55 +00:00
Derick Rethans
fb41198f05 - Fix test, in some cases the first significant number in the time
was a 3
2002-10-31 06:37:18 +00:00
Dan Kalowsky
7d74a72dfd Patch for windows DSN less connection #20086 (by john@johnandlouise.com) 2002-10-31 02:57:06 +00:00
Moriyoshi Koizumi
b3e3420120 Prevent unnecessary notices on success 2002-10-30 19:21:56 +00:00
Ilia Alshanetsky
4332612812 Fixed a memory leak on ldap_connect() failure. 2002-10-30 18:12:34 +00:00
Marcus Boerger
536c34ebc9 fix warnings 2002-10-30 17:54:36 +00:00
Marcus Boerger
656b3ae8ec that was not good :-(
#failure was in my installation
2002-10-30 17:42:36 +00:00
Hartmut Holzgraefe
d8837750de getopt with long options reverted to configure problems
(may find the wrong getopt.h so needed structures are not defined :(   )
2002-10-30 15:11:11 +00:00
Marc Boeren
6d9447a3dc Coding style.
# not my style :-)
2002-10-30 15:03:01 +00:00
Marcus Boerger
eab2c769d9 added default library path 2002-10-30 14:57:59 +00:00
Marc Boeren
c47e427e5b Fixed weird membug in oci8 support. 2002-10-30 14:57:55 +00:00
Marcus Boerger
328396920b php_error -> php_error_docref 2002-10-30 14:15:16 +00:00
Christian Stocker
9250827af6 Added 2 more items 2002-10-30 13:14:23 +00:00
Marc Boeren
7b9eae0e6e escape_string functions will now return empty string directly. 2002-10-30 12:02:51 +00:00
Moriyoshi Koizumi
939a5870cf Fixed typo 2002-10-30 11:57:29 +00:00
Moriyoshi Koizumi
a4edf018cb Added a test case for bug #20169 2002-10-30 11:48:51 +00:00
Moriyoshi Koizumi
8ff7d5ff54 Fixed bug #20169 2002-10-30 11:42:51 +00:00
Moriyoshi Koizumi
45361297f3 Fixed mb_ereg_replace() bug 2002-10-30 10:35:55 +00:00
Moriyoshi Koizumi
a705a8b597 Clean up. 2002-10-30 08:06:52 +00:00
Moriyoshi Koizumi
352a9f093c Removed dl() code 2002-10-30 07:54:33 +00:00
Moriyoshi Koizumi
ac4eb2cccc Shortened comments. I also think they were too long. 2002-10-30 07:53:15 +00:00
Wez Furlong
54f02722f6 And some more ncurses functions. 2002-10-30 02:54:48 +00:00
Brad House
d7df705925 constant MC_TRAN_CHNGPWD typo 2002-10-30 01:08:19 +00:00
Ilia Alshanetsky
7150658615 This patch allows compilation of gd against non-bundled gd library older
then 2.0.4.
2002-10-30 01:05:16 +00:00
Marcus Boerger
6f8bfd148a make microtime and gettimeofday unavailable instead of return false return
false in case needed library function is unavailable.
2002-10-29 23:35:49 +00:00
Rasmus Lerdorf
a24534a1ed Update bundled gd library with relevant changes from gd-2.0.4
I still need to add a configure check for the gdIOCtx struct
changes so building against older external gd libs will work again.
2002-10-29 23:08:01 +00:00
Marcus Boerger
8c95cefac6 -add reason to --SKIPIF--
-add magic_quotes_runtime to --INI--
--use var_dump()
2002-10-29 21:57:51 +00:00
Marcus Boerger
6663f2cd0a -do not dl() load
-magic_quotes_runtime
2002-10-29 21:51:32 +00:00
Ilia Alshanetsky
8c6316ef7b Corrected un-initialized variable usage. 2002-10-29 20:19:38 +00:00
Moriyoshi Koizumi
21e8efbb87 It's better to know the version is "unknown", rather than "" 2002-10-29 19:09:27 +00:00
Moriyoshi Koizumi
fc0e6ff90e Added test cases to check the compatibility with standard ereg functions. 2002-10-29 19:01:10 +00:00
Melvyn Sopacua
066e8aeef6 Add locale for BSDi
# Allthough these characters are used in germany, that doesn't mean, that
# they're not part of the latin-1 character set.
2002-10-29 17:43:08 +00:00
Marcus Boerger
84e5746efb fix warnings 2002-10-29 16:57:52 +00:00
Marcus Boerger
402adbbe9d -php_error => php_error_docref
-two warnings
2002-10-29 16:45:19 +00:00
Moriyoshi Koizumi
630a4ff924 Removed dl() stuff 2002-10-29 16:28:12 +00:00
Moriyoshi Koizumi
e8cf2253fb Improved library identification 2002-10-29 16:18:12 +00:00
Marcus Boerger
cc62badf9d corrected output 2002-10-29 16:09:03 +00:00
Marcus Boerger
2719c54b32 -Use skipif.inc
-split into two tests
-domxml001.phpt should work
-domxml002.phpt contains the part that fails
2002-10-29 16:06:51 +00:00
Marcus Boerger
5c92a61dcb Add simple parsing test 2002-10-29 16:04:42 +00:00
Ilia Alshanetsky
19820c0e83 Added a skip condition for situations where the TZ variable could not be
set (safe_mode).
2002-10-29 15:36:47 +00:00
Moriyoshi Koizumi
f498b68c05 WS fix 2002-10-29 15:05:07 +00:00
Wez Furlong
a4a517015e I like my C comments, thanks very much. 2002-10-29 14:36:49 +00:00
Wez Furlong
2d2a375fa6 length of lyrics is not part of the test. 2002-10-29 14:31:54 +00:00
Marc Boeren
25e7a09229 Added dbx_escape_string function
# tested on odbc, oci8 and mysql
@Added dbx_escape_string function to dbx module. (Marc)
2002-10-29 14:08:40 +00:00
Marcus Boerger
82317945e5 -WS
-Use "//" instead of "/* ... */" comments
#this test fails for me. Very weired...
2002-10-29 14:05:55 +00:00
Marcus Boerger
62667ee6a6 -Only accept one single message which is expected.
-Move error related settings to --INI-- section
#Now see we can do it correct
2002-10-29 14:03:37 +00:00
Marc Boeren
a493135a41 Added test for dbx_escape_string 2002-10-29 14:01:27 +00:00
Marcus Boerger
c4e3bbb5d7 no C++ comments
#args sorry on that & thx jani
2002-10-29 13:26:44 +00:00
Marcus Boerger
083fc401fe fix overrun 2002-10-29 12:53:58 +00:00
Marcus Boerger
2ab1bd044f add reason 2002-10-29 12:18:23 +00:00
Marcus Boerger
d0c535d0a6 Fix tests
#Why do i need to define the class infront of its usage in ZE2?
2002-10-29 12:12:19 +00:00
Marcus Boerger
c9f7fb8b4e rename and WS fixes 2002-10-29 11:59:24 +00:00
Marcus Boerger
51ed05cc3d -php_error => php_error_docref 2002-10-29 11:56:46 +00:00
Marcus Boerger
65222ddfb3 do not dl() load in skipif.inc 2002-10-29 11:43:46 +00:00
Ilia Alshanetsky
4b6640be45 Fixed compile warning. 2002-10-29 01:28:21 +00:00
Ilia Alshanetsky
e34ea3adb4 Added a patch by Pierre-Alain Joye <paj@pearfr.org>, which implements the
imagerotate() that allows rotation of images in gd.
2002-10-29 01:15:44 +00:00
Sterling Hughes
4ba703577b fix bug # 17497
(fix by: ddb@bitxtender.de)
2002-10-28 20:16:24 +00:00
Sander Roobol
a207b641e5 Fix proto and #20137 2002-10-28 18:00:30 +00:00
Marcus Boerger
6829a7a5b1 fix this tests
-they did not dl load module in test....
-disable E_NOTICE
2002-10-28 17:15:21 +00:00
Adam Dickmeiss
e7daf531de Raw records for yaz_record 2002-10-28 10:56:24 +00:00
Marc Boeren
1d1febb79b Added ini-entry and dbx_query flags to control the returned
column names (unchanged, lowercase, uppercase).
2002-10-28 09:41:15 +00:00
Christian Stocker
fe34195288 Patch by Morus Walter, concerning some dtd/entity expanding stuff. 2002-10-28 08:54:30 +00:00
Sterling Hughes
62d10bc969 make one-line read work on win32...
# The implementation of this function is brain-dead, but at least
# now its brain-dead on win32 too... ;-)
2002-10-28 03:05:04 +00:00
Marcus Boerger
b763fe7622 fix test 2002-10-28 00:02:25 +00:00
Marcus Boerger
b9eda54711 This test requires special settings
#wait/read next commit on run-test.php
2002-10-27 23:56:08 +00:00
Wez Furlong
7a71b3ba38 Expose some more ncurses functions. 2002-10-27 18:15:35 +00:00
Melvyn Sopacua
50dced2eea Add FreeBSD locale 2002-10-27 17:07:26 +00:00
Melvyn Sopacua
4d8518e83f Add FreeBSD locale 2002-10-27 17:01:48 +00:00
Melvyn Sopacua
d95b71973e Avoid possible clash with mysql, but still make it work for BSD's.
Struct verified to be compatible with Linux, FreeBSD, BSDi, AIX 4.3.3 and
Solaris 5.7.
2002-10-27 11:56:06 +00:00
Moriyoshi Koizumi
eef8649fa4 Capitalized the title string 2002-10-27 03:07:05 +00:00
Ilia Alshanetsky
d88775c5ae Better fix for bug #20108. 2002-10-26 22:18:40 +00:00
Ilia Alshanetsky
e12826bc34 Added expected output. 2002-10-26 20:55:48 +00:00
Ilia Alshanetsky
2c480b0f6f Fixed bug #20108. 2002-10-26 20:45:17 +00:00
Derick Rethans
758d074822 - Fix typoes 2002-10-26 20:09:15 +00:00
Derick Rethans
77d10050e1 - fix type 2002-10-26 20:07:49 +00:00
Melvyn Sopacua
93fcd7ea5d Test for bug in sprintf
# Doesn't segfault for me, but gives a lot of garbage, so I really don't
# know what the output should be. Results posted to QA
2002-10-26 20:07:26 +00:00
Marcus Boerger
92b63c4be5 remove original version 2002-10-26 16:58:38 +00:00
Marcus Boerger
24fe2a0f2d change to use EXPECTREGEX and rename 2002-10-26 16:56:26 +00:00
Marcus Boerger
0679a9139f split tests 2002-10-26 16:48:03 +00:00
Marcus Boerger
0d68286a95 fine tune 2002-10-26 16:09:50 +00:00
Moriyoshi Koizumi
e13c936bd3 Clean-ups 2002-10-26 08:52:17 +00:00
Moriyoshi Koizumi
905d95fa03 Renamed the test 2002-10-26 08:50:05 +00:00
Moriyoshi Koizumi
d883bf51df Added a test case for ob_iconv_handler() 2002-10-26 08:45:49 +00:00
Moriyoshi Koizumi
6537b7b21a Fixed typo... what did this "#" sign mean? 2002-10-26 07:49:46 +00:00
Yasuo Ohgaki
75583ee2a6 Remove useless check.
# Problem was in other place
2002-10-26 02:08:05 +00:00
Moriyoshi Koizumi
5a6c529f43 Renamed test cases 2002-10-25 21:39:02 +00:00
Moriyoshi Koizumi
16315a9a22 Added a test case for bug #20087 2002-10-25 21:29:14 +00:00
Ilia Alshanetsky
9526ca998d This is needed for BSD (FreeBSD, BSDi and possibly others), problem
was indentified by Melvyn Sopacua.
2002-10-25 20:09:53 +00:00
Ilia Alshanetsky
fdd2cb6024 Cleanup (make sterling happy). 2002-10-25 19:33:09 +00:00
Melvyn Sopacua
7e4beef623 - Add XSLT_REG_ERRMSG macro to register an error on the handle
- Rename constants to a bit more appropreate format
- Add XSLT_ERR_UNSUPPORTED_SCHEME to be returned for scheme handlers.

# Docs on xslt_set_scheme_handlers are in progress.
2002-10-25 19:23:15 +00:00
Melvyn Sopacua
d2f81e2083 Tests renamed
Remove dl() from skipif, for potential problems accross platforms and
versions.
2002-10-25 19:17:16 +00:00
Melvyn Sopacua
dbc6c32152 test renaming 2002-10-25 19:13:34 +00:00
Moriyoshi Koizumi
af9aefc9be Additional fix for #20087
# Thanks, Derick!
2002-10-25 18:35:25 +00:00
Ilia Alshanetsky
c88e0fd5de Fixed a bug in the test that would cause it to always fail. 2002-10-25 17:52:32 +00:00
Derick Rethans
9e1b9a89f9 - Fixed bug #20087 (Assertion failure when the value was empty) 2002-10-25 17:44:52 +00:00
Moriyoshi Koizumi
e7cc9d0274 Updated the test cases for htmlentities() 2002-10-25 13:12:31 +00:00
Moriyoshi Koizumi
16fc9f6539 Fix build if mbstring is enabled as shared extension. 2002-10-25 13:12:05 +00:00
Marcus Boerger
63a9d4fa2e fix ZTS build 2002-10-25 11:50:35 +00:00
Derick Rethans
1a25797249 - Naming style 2002-10-25 11:20:45 +00:00
Marcus Boerger
0a7653263d README.TESTING examples 2002-10-25 11:10:08 +00:00
Marcus Boerger
5a8ed1e734 New naming scheme 2002-10-25 11:09:01 +00:00
Marcus Boerger
ee4dfeec5d New naming scheme 2002-10-25 10:59:52 +00:00
Marcus Boerger
0433e71a76 README.TESTING examples 2002-10-25 10:46:19 +00:00
Marcus Boerger
d5911a2cbb remove unnecessary sections
#becomes an example
2002-10-25 10:28:37 +00:00
Marcus Boerger
63cffd7eae Implemented dba_list() that returns an array rsrcid=>filename and a test. 2002-10-25 10:06:35 +00:00
Marcus Boerger
a707e77a1b Added some tests for dba extension 2002-10-25 09:42:29 +00:00
Moriyoshi Koizumi
36447ebe05 Fixed null value check in php_mb_mbchar_bytes_ex() as it should be 2002-10-25 09:36:36 +00:00
Moriyoshi Koizumi
34aa59baf9 Added two new rows to MINFO that describes iconv library info. 2002-10-25 08:51:59 +00:00
Moriyoshi Koizumi
b309c0515c Adjusted MINFO table style 2002-10-25 08:31:27 +00:00
Ilia Alshanetsky
b109f8e3bd Added a mechanism allowing the disabling of the ability to change
certain INI options when safe_mode is enabled.

ATM three options are limited:
max_execution_time
memory_limit
child_terminate

This patch also fixes bug #17287.
2002-10-25 01:06:46 +00:00
Moriyoshi Koizumi
75db2913f1 Added some cases which test if charset determination with
SG(default_charset) works.
2002-10-24 22:21:03 +00:00
Moriyoshi Koizumi
d347143fe1 Improved determine_charset() to look up SG(default_charset) value 2002-10-24 22:04:28 +00:00
Moriyoshi Koizumi
c7c418c25a Added new test cases for htmlentities 2002-10-24 21:11:41 +00:00
Moriyoshi Koizumi
429f8fa6d7 Fixed ISO-8859-1 handling. 2002-10-24 21:10:45 +00:00
Marcus Boerger
82b96d99f3 implemented dba_handlers()
@Added dba_handlers() that lists all installed handlers in an array. (marcus)
2002-10-24 20:43:03 +00:00
Hartmut Holzgraefe
0e28eaf550 trying to fix #20063 2002-10-24 20:04:16 +00:00
Moriyoshi Koizumi
f2269ef4a3 Added &euro; support to cp1252 table 2002-10-24 19:52:30 +00:00
Marcus Boerger
cb330eb5d7 -specify reason if connection is not specified
-remove unnecessary sections
2002-10-24 19:34:18 +00:00
Melvyn Sopacua
6695544db2 - Add locale string for FreeBSD
ATTN: Test nog longer skips, but fails. So whatever has changed since 4.2.3
affects BSD systems.
2002-10-24 19:17:11 +00:00
Marcus Boerger
e1508efb45 fix compiler warning?: implement default mentioned by manual 2002-10-24 19:17:08 +00:00
Marcus Boerger
15b2e277a4 fix compiler warning 2002-10-24 19:15:40 +00:00
Derick Rethans
67670560e4 - Protect function definitions with #ifdef's too 2002-10-24 18:49:57 +00:00
foobar
0bac55b4e7 - If functions are not available on OS, they're not available in PHP. 2002-10-24 18:31:11 +00:00
Marcus Boerger
86465058a4 one version for php<4.2.3 and one for php>=4.2.3 2002-10-24 18:18:44 +00:00
Ilia Alshanetsky
e4becf42ed Added an ini option to hide the expected memory leak. This is done for
compatibility with systems where report_memleak is turned off or running
PHP with --disable-debug.
2002-10-24 17:02:44 +00:00
Marc Boeren
acea3ab036 Changed the dbx_oci8 behaviour to return lowercase column-names,
which is a hack but at least it makes it easier for users
to create portable apps.
# Perhaps this should be controlled by a (.ini?) directive or define
# which determines the change (toupper, tolower, nochange)?
2002-10-24 14:26:14 +00:00
Marc Boeren
b5783184ea Not happy with the hack to handle the uppercase fieldnames that oracle
returns. Changed the dbx_oci8 behaviour to return lowercase instead,
which is also a hack but at least it makes it much easier for users
to create portable apps (Mc).
# also, I prefer lowercase :-)
2002-10-24 14:16:28 +00:00
Moriyoshi Koizumi
e95fa639d6 Reverted because my patch doesn't make sense: it was just my problem. 2002-10-24 14:12:06 +00:00
Moriyoshi Koizumi
06012c3f42 Fix build 2002-10-24 14:01:45 +00:00
Sascha Schumann
2909e5c9c9 centralize #include "build-defs.h" and drop (sometimes inconsistent) other
instances
2002-10-24 13:15:49 +00:00
Derick Rethans
beffb8164c - True and false are not always defined, used numbers now 2002-10-24 12:52:13 +00:00
Sascha Schumann
6bf422d62e Make PHP compile out-of-the-box with uClibc 2002-10-24 12:21:07 +00:00
Sascha Schumann
e60c601bd1 improved warning message
# this should really link to an external page which explains the issue deeply
2002-10-24 10:40:48 +00:00
Jan Lehnardt
cf4d435a12 - fix segfault in proc_open
#no bugreports found
2002-10-24 08:46:21 +00:00
Ilia Alshanetsky
9d079e9b3e Various corrections aimed at making the test's results consistent across
all enviroments.
2002-10-24 02:40:03 +00:00
Marcus Boerger
1ff1e6496b use german characters for a test with german locale 2002-10-24 00:49:38 +00:00
Marcus Boerger
339dfe0cd2 better use var_dump and EXPECTF
#seems i waited for EXPECTF
2002-10-23 23:51:15 +00:00
Moriyoshi Koizumi
74883a9583 Make php_mb_is_mb_leadbyte() obsolete. It only works with double-byte chars.
# Sorry Marcus, it seems we were working simultaneously :)
2002-10-23 23:25:27 +00:00
Marcus Boerger
37d2a1dd08 fix warning 2002-10-23 23:09:08 +00:00
Marcus Boerger
b321568b96 fix warning: used in rfc1867.c 2002-10-23 23:08:20 +00:00
Marcus Boerger
015832d81e fix style and warnings 2002-10-23 23:07:14 +00:00
Ilia Alshanetsky
2f3cd572fb Added 'skip logic' to the test on platforms where the locale required by
this test is not avaliable.
2002-10-23 23:04:43 +00:00
Melvyn Sopacua
703e360a35 suddenly, there was a newline 2002-10-23 22:21:40 +00:00
Moriyoshi Koizumi
069bfc57d9 Updated the test case 2002-10-23 20:38:18 +00:00
Moriyoshi Koizumi
3bc01b5d0b Modified mb_convert_case() to handle cased characters properly when MB_CASE_TITLE is specified. 2002-10-23 20:32:51 +00:00
Moriyoshi Koizumi
d59f9b756e Fixed comment position.
# Sorry for repetitive commit logs :)
2002-10-23 19:58:37 +00:00
Melvyn Sopacua
d365b09ec3 Make it work without .php files 2002-10-23 19:52:26 +00:00
Moriyoshi Koizumi
afa9f42f47 Function renaming. 2002-10-23 19:51:50 +00:00
Moriyoshi Koizumi
83fd27ee0a Added folding markers for happier hacking 2002-10-23 19:38:46 +00:00
Andrey Hristov
d9c067ecc7 Test case regarding randomization of shuffle() and str_shuffle().
The code was provided by Adam Trachtenberg : adam trachtenberg com
2002-10-23 19:33:12 +00:00
Moriyoshi Koizumi
e8e614101d Style keisatsu 2002-10-23 19:20:27 +00:00
Moriyoshi Koizumi
fdc91ccc73 Renaming the functions. 2002-10-23 18:32:55 +00:00
Moriyoshi Koizumi
b7703551ed Remaned the functions for consistency 2002-10-23 16:54:31 +00:00
Moriyoshi Koizumi
cbc9256fc9 MFH 2002-10-23 16:48:33 +00:00
Hartmut Holzgraefe
a681203a83 don't assume yp-functions are always in libc, try also libnsl 2002-10-23 16:04:03 +00:00
Marcus Boerger
fa95a4a269 Shorten
# will be used as an example in README.TESTING
2002-10-23 12:47:31 +00:00
Marc Boeren
4448c3f69f Added Oracle (oci8) support
@Added Oracle (oci8) support to dbx module (Mc)
2002-10-23 10:50:22 +00:00
Marc Boeren
1b50e47648 Updated tests for Oracle (oci8) support (Mc) 2002-10-23 10:45:29 +00:00
foobar
d313b3c285 - No tabs, no echoing, no unnecessary code 2002-10-23 02:46:09 +00:00
Hartmut Holzgraefe
cdecc42086 make it work with pre-v5 fdftk again 2002-10-23 01:11:06 +00:00
Moriyoshi Koizumi
4758b109a5 Do the same test as ext/standard/test/strings/strtoupper.phpt does 2002-10-22 20:34:53 +00:00
Moriyoshi Koizumi
68a5d1bca3 Improved determine_charset() to use mbstring.internal_encoding when the last
param is a null string. (If the param is omitted, it takes iso-8859-1 as
the default charset in favour of backwards compatibility.)
2002-10-22 20:11:48 +00:00
Melvyn Sopacua
d6e639a02f test for locale support in strtoupper 2002-10-22 19:39:17 +00:00
Ilia Alshanetsky
62aefeb01f Fixed ZTS build. 2002-10-22 18:54:09 +00:00
Marcus Boerger
14626a1836 ups - the other way round of course 2002-10-22 18:47:41 +00:00
Marcus Boerger
376dcd80bb Updated tests 2002-10-22 18:40:30 +00:00
Marcus Boerger
822e9b6e56 Fix this extension.
#The problem was that the extension suspected the hash list to be a
#straight forward list with no closed elements.
2002-10-22 18:39:05 +00:00
Marcus Boerger
e2a62e21c2 Fix for cases when new_length is NULL 2002-10-22 18:27:56 +00:00
Ilia Alshanetsky
30abd18322 Fixed a possible segmentation fault in file() function. 2002-10-22 18:07:11 +00:00
Ilia Alshanetsky
9f6a8748e1 Small corrections to the expected output. 2002-10-22 17:38:13 +00:00
Ilia Alshanetsky
6b67dc8dd5 Fixed implode test 2002-10-22 17:17:56 +00:00
Jon Parise
f62fc1a0ef Correct case for README.TESTING. 2002-10-22 12:28:49 +00:00
Marcus Boerger
32a77eff78 Update documentation 2002-10-22 09:00:52 +00:00
Frank M. Kromann
938a78a85b Fixing check to enable dl() for both cgi and cgi-fcgi 2002-10-22 07:00:51 +00:00
foobar
7d3dc68a79 Nuke tabs. 2002-10-21 23:41:55 +00:00
foobar
f93096ecb6 Removed tabs and combined those multiple AC_CHECK_FUNCS calls to one. 2002-10-21 23:41:38 +00:00
Ilia Alshanetsky
d8480c8088 Fixed symlink/link functions on ZTS builds.
Made URL detection in symlink code use php_stream_locate_url_wrapper().
2002-10-21 23:35:29 +00:00
foobar
0abca4f60a Cleanup. (no tabs here!) 2002-10-21 22:58:52 +00:00
Wez Furlong
dabf1053cd Refine stream_select() to work with streams that have data in their read
buffers.
When selecting for read, the streams are examined; if any of them have
pending read data, no actual select(2) call is performed; instead the
streams with buffered data are returned; just like a regular select
call.
Prevent erroneous warning in stream_select when obtaining the fd.
2002-10-21 22:54:37 +00:00
Sterling Hughes
102c945501 no need to double fetch 2002-10-21 22:35:59 +00:00
Hartmut Holzgraefe
eb137d3d80 @ updated FDF extension to work with current Adodeb fdftk 5.0 (hartmut)
reworked some existing stuff
added some functions suporting stuff that have been added since fdftk 2.0
emulating read from/save to strings by transparently using temp. files
  (activeX version of fdftk has this, but not plain C version :( )
2002-10-21 19:55:28 +00:00
Hartmut Holzgraefe
f768d343f5 fixed build for getopt_long-less platforms,
removed left-over todo comments
2002-10-21 19:24:48 +00:00
foobar
3fd56c2995 Changed --with-gd to behave same way as --with-mysql does. 2002-10-21 19:19:08 +00:00
Moriyoshi Koizumi
bce3d0cf7d Renamed the test cases. 2002-10-21 19:19:05 +00:00
Jon Parise
20e6ed36ec Convert C++ style comments to C style comments. 2002-10-21 19:12:13 +00:00
Hartmut Holzgraefe
30ed5a5483 killed some warnings identified by sebastian 2002-10-21 19:08:18 +00:00
Hartmut Holzgraefe
8b7e9d7774 some changes to how request input data (Content-Lenght >0) is handled
- webdav-specific stuff removed (should be handled using httpd.conf
  LIMIT or equivalents)
- always_populate_raw_post_data now working on any method, not just
  POST (and webdav methods with allow_webdav_methods), when
	Content-Length is greater zero
- raw input data is also available using php://input stream,
  this way one doesn't have to care about memory_limit
- input data is now always consumed (although maybe ignored,
  this fixes we had withproblems with keep-alive connections
@ raw POST data is now available as php://input stream (hartmut)
2002-10-21 16:41:06 +00:00
Hartmut Holzgraefe
b67b00efcd getopt() now supports long options on platforms that have getopt_long()
getopt() now working independant of register_argc_argv settings
2002-10-21 16:07:21 +00:00
Hartmut Holzgraefe
ed75204a85 ZTS build fix 2002-10-21 14:56:42 +00:00
Thies C. Arntzen
31e4d62378 #19948 2002-10-21 11:00:40 +00:00
Moriyoshi Koizumi
4eadff2233 More style fixes... 2002-10-21 10:47:41 +00:00
Moriyoshi Koizumi
d953754d74 Let them say why they are skipped 2002-10-21 10:35:02 +00:00
Melvyn Sopacua
b4b26c2f9b Skip this when strtoupper doesn't behave as expected, because casefolding
depends on this.
2002-10-21 08:55:07 +00:00
foobar
3be17e3f26 - Prevent resetting the PHP_*_DIR variables if already set. 2002-10-21 02:46:13 +00:00
Moriyoshi Koizumi
821349465a style keisatsu :) 2002-10-21 02:39:53 +00:00
Moriyoshi Koizumi
cee696d9e7 Added a new test case to confirm the inconsistent regex behaviour reported
on php-users@php.gr.jp (10830)
2002-10-21 02:27:51 +00:00
Moriyoshi Koizumi
fe7c6debd9 Changed the dafault option for consistency 2002-10-21 02:24:06 +00:00
Moriyoshi Koizumi
f45231a8ed Added mb_strtolower() and mb_strtoupper()
@- Added mb_strtolower() and mb_strtoupper(). (Moriyoshi)
2002-10-21 01:44:59 +00:00
foobar
2a81281fd2 Align with other configure --help texts 2002-10-21 00:35:17 +00:00
foobar
e232b212ba There is no point doing this test. Some systems think root can always execute so this is always true. 2002-10-21 00:30:05 +00:00
Moriyoshi Koizumi
852117694a Changed mb_regex_set_options() more informative 2002-10-20 15:11:04 +00:00
Derick Rethans
3322581c04 - Only include ftok() if it is available 2002-10-20 13:35:56 +00:00
Derick Rethans
c5a73b31f6 - Remove #ifdefs around ftok function so that it is also available when
none of the IPC extensions are enabled.
2002-10-20 10:18:20 +00:00
Moriyoshi Koizumi
7fb4938981 ZTS fixes 2002-10-20 07:16:20 +00:00
Masaki Fujimoto
a6ecdca0ef fixed highlight related bugs (in case shift_jis input/output filters are enabled) 2002-10-20 02:57:40 +00:00
Maxim Maletsky
4efcd0f5d1 fixed proto: OCIExecute() returns boolean, not integer 2002-10-20 02:20:13 +00:00
Derick Rethans
11961b1311 - Hopefully fix test file problems 2002-10-19 19:17:13 +00:00
Ilia Alshanetsky
3443f07b3f Silence compile warning. 2002-10-19 17:13:14 +00:00
Maxim Maletsky
fd04def23b a silly comment typo 2002-10-19 16:11:16 +00:00
Maxim Maletsky
39afab2039 - fixed proto for OciBindByName to represent the forth parameter optional 2002-10-19 15:51:04 +00:00
foobar
0d98fc6777 --with-zlib-dir has to be defined here to enable phpize build 2002-10-19 13:27:53 +00:00
Wez Furlong
829f1855fd made fgets() binary safe.
php_stream_gets is now a macro which calls php_stream_get_line. The latter
has an option argument to return the number of bytes in the line.
Functions like fgetcsv(), fgetss() can be made binary safe by calling
php_stream_get_line directly.

# HEADS UP: You will need to make clean after updating your CVS, as the
# binary signature has changed.
2002-10-19 13:11:48 +00:00
Derick Rethans
8998bce403 - Style polizei =) 2002-10-19 12:58:41 +00:00
Marcus Boerger
cda87f7509 Allow ifd start at offset other than 00000007h and provide testcase.
#Now we can read images modified by Exifer.
2002-10-19 09:52:00 +00:00
Yasuo Ohgaki
572b2a5a5a Revert invalid patch. It seems the real problem is in php error
function(s). It exits with return code -1 when php_error_docref()
is called.

There is custom error handler and without custom error handler,
it is working.
2002-10-19 06:05:16 +00:00
Yasuo Ohgaki
29a53a47f6 Skip field when there is obvious error.
Fixed freeing of wrong zval.
2002-10-19 04:46:19 +00:00
Yasuo Ohgaki
98ab76d23c Fixed typo. 2002-10-19 04:01:27 +00:00
Ilia Alshanetsky
c3270448ac Added handling for file:/ schema, which does not contain a host. 2002-10-18 23:54:58 +00:00
foobar
4821b2f301 ws fixes 2002-10-18 22:08:23 +00:00
Ilia Alshanetsky
4b83b189fe Fixed bug #19971 (optimized the file() function).
The file() function is now also binary safe.
2002-10-18 20:39:49 +00:00
Wez Furlong
9b87199e2a Improve file().
Patch by Tal Peer <tal@php.net>
2002-10-18 16:55:47 +00:00
Andrei Zmievski
92d61459c0 @- Fixed an infinite loop in setlocale() when only invalid locale names
@  were passed in the array. (patch by Pal Loberg, pallo@initio.no).
2002-10-18 13:07:50 +00:00
Tal Peer
af3493d30c Changed fribidi_get_charsets() return value to also include the constant
itself (as the key).
2002-10-18 08:59:15 +00:00
Yasuo Ohgaki
5693bd4cdf Added tests for new functions 2002-10-18 07:52:09 +00:00
Yasuo Ohgaki
7094b48b23 Added pg_get_pid() 2002-10-17 23:41:34 +00:00
Ilia Alshanetsky
30c16baac2 Renamed word_count to str_word_count to comply with naming conventions.
Thanks Andi, for catching this oversight.
2002-10-17 22:44:44 +00:00
Tal Peer
56f744e0df Improved fribidi_charset_info() slightly 2002-10-17 18:32:16 +00:00
Tal Peer
b941224d5d New functions:
fribidi_get_charsets()
fribidi_charset_info()
@- Added function fribidi_get_charsets() (Tal)
@- Added function fribidi_charset_info() (Tal)
2002-10-17 18:04:43 +00:00
Harald Radi
84c9395f18 @ fixes bugs #19156 and #19544 (memleak) 2002-10-17 16:21:00 +00:00
Ilia Alshanetsky
cdf39db369 Added support for file:/. Thanks to Thies for noticing the problem. 2002-10-17 13:59:55 +00:00
Thies C. Arntzen
58d1ee0915 @- Added Oracle TIMESTAMP type to oci8 extension. (thies) 2002-10-17 08:09:31 +00:00
Yasuo Ohgaki
601a507ad6 Added async message function - pg_get_notify() 2002-10-17 07:58:46 +00:00
Yasuo Ohgaki
29d16f67f4 Remove mysql_result_seek() alias. 2002-10-17 07:24:04 +00:00
foobar
9870028d05 Fix this for Wez and his antique ucd-snmp 2002-10-17 06:39:55 +00:00
foobar
258177fafa Fix the phpize build 2002-10-17 05:06:53 +00:00
foobar
fcfa4ea62f Part 1 of fixing the shared build 2002-10-17 04:42:22 +00:00
foobar
d1c252b48b --with-zlib-dir was missing. Needed for phpize builds 2002-10-17 04:21:53 +00:00
Ilia Alshanetsky
47b57f2569 Added word_count() function that allows counting of words inside a string.
The function also allows the user to retrieve all the words from a string.
2002-10-17 03:27:19 +00:00
foobar
8aaa004980 ws fixes 2002-10-17 02:51:22 +00:00
Harald Radi
7bacb2fcc4 @ changed the VARIANT class to be able to create arrays of all types
@ and not only VT_VARIANT
2002-10-16 23:56:33 +00:00
Rasmus Lerdorf
ebfd9aaa47 Fix for bug #19941 2002-10-16 22:34:44 +00:00
Rui Hirokawa
6f46548412 modified zend_bool handling code. 2002-10-16 14:08:47 +00:00
Rui Hirokawa
22f44fa673 *** empty log message *** 2002-10-16 13:37:49 +00:00
Rui Hirokawa
585eefca14 fixed a problem when mbstring.encoding_translation is defined per directory basis. 2002-10-16 13:27:40 +00:00
Rui Hirokawa
e5f81ee881 fixed a problem when mbstring.encoding_translation is defined per directory basis. 2002-10-16 13:22:57 +00:00
foobar
16de7dd8a7 - Fixed memleak when connection fails.
- Fixed snmpget() to work with net-snmp
- Fixed the error messages to use the new style.
2002-10-16 02:33:47 +00:00
foobar
e99b3cdff2 Some more compatibility fixes for net-snmp vs ucd-snmp 2002-10-16 00:58:15 +00:00
foobar
3c863a6da1 - Fix the last commit..(thanks to Harrie Hazewinkel <harrie@lisanza.net>) 2002-10-16 00:29:56 +00:00
Edin Kadribasic
4a7c12a210 Added win32 project file. 2002-10-16 00:02:32 +00:00
Wez Furlong
2f6952c936 Nope, that last one wasn't a leak in main/streams.c, it was
file_get_contents misinterpreting the result...
2002-10-15 16:45:26 +00:00
Sterling Hughes
c2624f4269 Fix a problem relating to these structure symbols being redefined on LFS
systems.

Fix by Sascha Schumann <sascha@apache.org>
2002-10-15 16:41:39 +00:00
Wez Furlong
30f9c47d61 Fix for 19906.
gzeof has different semantics from feof, in that gzeof will return true
if the read position is at EOF, even if the most recent read was 100%
successful.
feof will return true only (usually) if the most recent fread failed.
2002-10-15 16:01:00 +00:00
Sterling Hughes
57440cc984 hopefully silence compile warnings on Solaris related to HUGEVAL being
undefined.. HUGEVAL is defined (well the manual would indicate so) in
stdlib.h, not math.h.

Bug #: 19807
2002-10-15 14:51:01 +00:00
Andrei Zmievski
c65c182693 Upgrade to version 3.92. 2002-10-15 13:59:58 +00:00
Ilia Alshanetsky
b4348434be Fixed the output_handler ini setting.
Code cleanup.
2002-10-15 12:48:21 +00:00
Ilia Alshanetsky
04db537d97 Added tests for %e & %E 2002-10-15 12:08:02 +00:00
Ilia Alshanetsky
95312e994e Fixed bug #4232. (Added support for %e and %E to printf/sprintf) 2002-10-15 12:07:36 +00:00
Derick Rethans
1a08e5b622 - Staying consistent with other tests 2002-10-15 06:37:05 +00:00
Wez Furlong
94ef7bc81e Don't use streams-level buffer on zlib streams. 2002-10-15 02:27:15 +00:00
foobar
23706f18d6 Make this thing to compile with net-snmp-5.0.x 2002-10-15 00:43:34 +00:00
Marcus Boerger
d396d9c7ce remove ob_end_clean() and instead use ini section
#Derick you're right this was no good idea. I just left it over after testing
#the test.
2002-10-15 00:35:05 +00:00
foobar
9618e4e854 This test should not print out the error (which is correct). 2002-10-14 23:09:48 +00:00
Ilia Alshanetsky
aba1996d95 Fixed bug #19649. 2002-10-14 18:13:18 +00:00
Ilia Alshanetsky
fed3b964ea Added float printing tests. 2002-10-14 16:31:56 +00:00
Ilia Alshanetsky
99f2fc81f3 Fixed a bug (introduced in previous patch) that caused non-double values to
be converted to 0 by printf/sprint functions when %f format is specified.
2002-10-14 16:03:16 +00:00
foobar
1fa263a4ec This is not zval.. 2002-10-14 02:46:52 +00:00
Wez Furlong
86e60a2d7a @- fgets($fp) (with no length parameter) now uses a buffer as long as the
@  the next line available from the $fp. Previously, there was a 1KB limit.
@  (Wez)
2002-10-14 02:28:35 +00:00
Wez Furlong
39f8d4c971 Add a sanity check and more verbose output in the case of an error. 2002-10-14 02:25:51 +00:00
Wez Furlong
70b796b143 (php_socket_errno) win32 errno compatible macro.
(php_socket_strerror) win32 compatible strerror replacement.
Add an E_NOTICE when a socket write fails.
2002-10-13 22:01:40 +00:00
Derick Rethans
f9fdd74a03 - Fixed bug #19885, dl() no longer gives a fatal error when a module
could not be loaded. (Derick)
2002-10-13 14:14:34 +00:00
Derick Rethans
bfc3250187 - Hardcode dependent ini setting 2002-10-13 11:14:49 +00:00
Yasuo Ohgaki
1917f5f382 Fixed proto. Clean up. 2002-10-13 09:48:18 +00:00
Yasuo Ohgaki
a6de0807ae Need to init connstring when there are 2 args. 2002-10-13 09:41:35 +00:00
Yasuo Ohgaki
2c23e56c7f Introduce connect_type option to pg_connect().
pg_connect(conn_str, conn_type) is allowed.
@Added PGSQL_CONNECT_FORCE_NEW option to pg_connect() (Yasuo)
# If you have better idea about constant name(s), let me know.
2002-10-13 09:37:27 +00:00
Yasuo Ohgaki
6edd9d2f72 Enable pg_escape_bytea(). 2002-10-13 03:00:48 +00:00
Ilia Alshanetsky
b855893b0c Fixed ZTS build
Fixed 2 ZTS related warnings
2002-10-13 01:40:46 +00:00
Wez Furlong
3a8c49afc1 Make PHP follow 301 correctly.
# There may be other cases that need handling properly; I'll have to spend
# some time investigating why we even need special cases now; it's got
# something to do with Ilia's patch to fix memory leaks.
2002-10-13 01:03:43 +00:00
Derick Rethans
db89afc45b - Hardcode setting which affects the test 2002-10-12 17:12:43 +00:00
Derick Rethans
8f7f6045b0 - Make the test do what it says 2002-10-12 16:53:13 +00:00
Sander Roobol
36fd03b578 Typo 2002-10-12 16:16:36 +00:00
Ilia Alshanetsky
bcf1d4ff80 Fixed a bug introduced by previous patch. 2002-10-12 16:09:01 +00:00
Stefan Esser
89f4f7b8f5 I already said that this construct was wrong...
most probably fixes bug #19876
2002-10-12 08:16:20 +00:00
Ilia Alshanetsky
a0489ac950 Fixed memory leaks. 2002-10-12 03:11:28 +00:00
Rui Hirokawa
8884469e11 changed INI restriction to enable per-directory settings. 2002-10-12 01:18:43 +00:00
foobar
3e23ab6893 Made the fribidi-config search a bit better. 2002-10-12 01:14:42 +00:00
Tal Peer
814373e8b7 Use var_dump instaed of plain echo 2002-10-11 20:20:52 +00:00
Moriyoshi Koizumi
f5b53c17ab Improved the test cases so that they will be skipped rather than failed, if libiconv is not used. 2002-10-11 18:07:47 +00:00
Markus Fischer
f43e4cc93d - Document were the first test came from. 2002-10-11 18:06:15 +00:00
Moriyoshi Koizumi
764df05768 *** empty log message *** 2002-10-11 17:48:39 +00:00
Moriyoshi Koizumi
adbdd71dc8 Fixed possible compile-time failure 2002-10-11 17:01:34 +00:00
foobar
e7b49d64a6 Renamed and fixed constant 2002-10-11 15:50:37 +00:00
foobar
12c713cf7f - Removed ext/icap (ext/mcal is the one to be used) 2002-10-11 15:30:44 +00:00
foobar
0654763cc6 ws fix 2002-10-11 15:25:36 +00:00
Ilia Alshanetsky
8c6088839b Added test for explode() function. 2002-10-11 15:19:57 +00:00
Ilia Alshanetsky
b7917def13 Fixed bug #19865 2002-10-11 14:48:25 +00:00
Christian Stocker
0e384b473b text and comment nodes do not have children... test was wrong, implementation
is right :)
2002-10-11 14:02:59 +00:00
Christian Stocker
820e5b766a node->attributes returns null, if there are no attributes. 2002-10-11 14:00:12 +00:00
Derick Rethans
e06550f853 - Fix problem with var_export when objects with numeric indexes were
exported. We now skip those, as there is no way to export valid code for
  it.
2002-10-11 13:49:20 +00:00
foobar
edc755aa54 fix typo. 2002-10-11 13:43:24 +00:00
Derick Rethans
5a6243a4b5 - Change constant name 2002-10-11 13:09:48 +00:00
Sander Roobol
524c9ef26a Fixed problems with the new nl2br() and beautified the code a little.
Closes #19858.
2002-10-11 12:42:01 +00:00
Derick Rethans
4da5ec8965 - Add case for bug 19858 2002-10-11 11:03:36 +00:00
Derick Rethans
bbf6b5fee4 - Skip if an external lib gd is used (which always has this crash-bug) 2002-10-11 10:08:42 +00:00
Derick Rethans
7713b4097d - Add indetified for bundled GD 2002-10-11 09:49:38 +00:00
Derick Rethans
03b3478754 - Style polizei :) 2002-10-11 08:15:05 +00:00
Moriyoshi Koizumi
d2f99493a0 Reformatted.
# Still bad?
2002-10-11 08:01:18 +00:00
Moriyoshi Koizumi
1a867685a0 Added ICONV_IMPL and ICONV_VERSION constants.
@- Added ICONV_IMPL and ICONV_VERSION constants to iconv extension to
@  indicate which iconv implementation is used. (Moriyoshi)
2002-10-11 07:50:47 +00:00
Moriyoshi Koizumi
fe79eaf08f Added set_time_limit(); We should stop it in some time. See the comment in the script for detail. 2002-10-11 07:38:18 +00:00
Sebastian Bergmann
fcf35e7b4c Fix ZTS build. 2002-10-11 04:44:14 +00:00
Ilia Alshanetsky
287b7f9bcb Switched from localeconv to localeconv_r, which is apparently thread-safe. 2002-10-11 03:19:38 +00:00
Sterling Hughes
f61889e72d revert patch 2002-10-10 19:24:45 +00:00
Melvyn Sopacua
641f346cf6 Another small test for iconv transliteration, from GNU libiconv testkit 2002-10-10 19:06:00 +00:00
Andrey Hristov
cd282dad98 ws fixes 2002-10-10 18:41:24 +00:00
Moriyoshi Koizumi
9520422501 Fixed the encoding 2002-10-10 17:16:46 +00:00
Moriyoshi Koizumi
7b3fb01072 Updated the test cases so that they use mb_regex_set_options.
Added a test for mb_regex_set_options.
2002-10-10 17:05:04 +00:00
Moriyoshi Koizumi
2f88f504c1 Fixed mb_regex_set_options() 2002-10-10 17:00:36 +00:00
Moriyoshi Koizumi
70742ae9b6 --disable-mbregex had no effect 2002-10-10 16:57:52 +00:00
Melvyn Sopacua
e4e53bb4b3 It used to be 003 2002-10-10 16:49:33 +00:00
Ilia Alshanetsky
bc14a6f133 This patch fixes handling of floats on locales where decimal point is not a
'.'. Problem is best demonstrated by bug #17079.
2002-10-10 16:29:35 +00:00
Melvyn Sopacua
d49b576243 Fix platform dependencies, setlocale output, bug #19836 2002-10-10 15:27:11 +00:00
Ilia Alshanetsky
67c081afd6 Fixed a few more memory leaks. 2002-10-10 14:46:18 +00:00
foobar
1b5ee53dd7 - Fix the text alignment to be about same in any browser.
# Please test this, it's now same in NS 4.78 (linux), IE 5.5 and
# Mozilla 1.2a (win32). (I don't have any other browsers installed now)
2002-10-10 04:28:15 +00:00
foobar
d448bd7840 Be consistent with other extensions. 2002-10-10 04:26:03 +00:00
foobar
9029b356b2 - Cleaned up some code and used the proper macros for ZTS stuff.
- Fixed a memleak.
- Fixed a bug in pfpro_process() when response contains only 2 entries.
  (random garbage added in the end of the value + key sometimes wrong)

# Sorry for including the ws fixes..I got carried away when fixing that bug
2002-10-10 02:23:24 +00:00
foobar
7c7905468b - Fixed the payflowpro version check and cleaned up this a bit. 2002-10-10 00:24:26 +00:00
foobar
1345c76162 Revert previous change, it did not fix anything. 2002-10-09 23:18:47 +00:00
Melvyn Sopacua
418908f994 Test for standard transliteration.
Original check-translit from GNU libiconv-1.8
2002-10-09 23:16:39 +00:00
James Cox
fbd4b1733d overrule <center> 2002-10-09 22:32:01 +00:00
Derick Rethans
c10b169670 - Use a more descriptive filename 2002-10-09 20:30:30 +00:00
Jan Lehnardt
d888b62eb2 - remove ext/cybercash
- http://www.verisign.com/support/cyberCash/dnsChangeNotification.html

 - The migration of CyberCash merchants to the VeriSign Payflow service is
 - scheduled for completion in mid-February. At that time we will begin the
 - shutdown of the CyberCash payment gateway and all related systems. This
 - final shutdown process requires us to change DNS for the VeriSign Payflow
 - service. The DNS change is scheduled at approximately 6PM ET on February 28,
 -  2002.
@- removed ext/cybercash (jan)
2002-10-09 20:20:18 +00:00
Moriyoshi Koizumi
cfcfd094e9 Renamed the test case files in order to avoid confusion 2002-10-09 20:19:13 +00:00
Jan Lehnardt
1df2d5eecb - let's talk about leftovers..... 2002-10-09 19:36:54 +00:00
Jan Lehnardt
e797cdb421 - fix alignment 2002-10-09 19:27:16 +00:00
Jan Lehnardt
a3fea96a7a - note aspell 2002-10-09 19:25:17 +00:00
Jan Lehnardt
4aed2f2308 - R.I.P. ext/ccvs.
@- removed ext/ccvs (jan)
2002-10-09 19:15:31 +00:00
Jan Lehnardt
31b0867fe6 - R.I.P. ext aspell
@- removed ext/aspell (jan)
#configure note follows
2002-10-09 19:12:32 +00:00
Jan Lehnardt
6b3234f3d4 - fix build on FreeBSD, verified by thies. 2002-10-09 18:59:15 +00:00
Sterling Hughes
2c4aa71d32 clean these functions up using zend_parse_parameters and nuke the use of
HASH_OF() which is inappropriate in these cases...
2002-10-09 18:29:45 +00:00
Sterling Hughes
521a9bdadc small cleanups... 2002-10-09 17:15:56 +00:00
Colin Viebrock
46a96d9363 no charsets, only basic entity escaping 2002-10-09 14:39:39 +00:00
Derick Rethans
6b3820a510 - Skip when GD is not available 2002-10-09 13:54:21 +00:00
Andrey Hristov
868ae8b6e0 ws fixes. 2002-10-09 13:50:06 +00:00
Derick Rethans
f6f58fc300 - Added test case for bug #19266 2002-10-09 13:48:28 +00:00
Zak Greant
70e49320f1 Removed spurious code. Thanks Derick 2002-10-09 13:46:18 +00:00
Ilia Alshanetsky
a75eb9c4dd Optimizations to various php string functions substr_count(), strrev(),
nl2br(), php_addslashes() and php_memnstr().
2002-10-09 13:37:02 +00:00
Ilia Alshanetsky
40d1127568 Fixed memory leaks. 2002-10-09 13:29:10 +00:00
Zak Greant
6a590082ca Minor tweak - using memcpy(), instead of strcpy() for static strings. Gives better performance. Thanks Zeev. 2002-10-09 13:05:42 +00:00
Rui Hirokawa
382a92cc5a added @ to suppress a notice. 2002-10-09 12:54:52 +00:00
Zak Greant
0ecf32f750 Possible fix for bug #19529 (thanks Rasmus, Arjen and Monty)
Major changes to _restore_connection_defaults
 - added code block to finds and releases the active mysql result (if any)
 - this should prevent the 'Commands out of sync' error that would be
   raised when a query is made when unfreed results exist

Minor changes to _restore_connection_defaults
 - replaced calls to mysql_real_query with mysql_query
   - we probably should not be using mysql_real_query without checking to
     see if we have a version that supports the function.
   - given that we control the query strings here and do not need to
     worry about binary safety, I am using mysql_query instead
   - see the bug report for further discussion
2002-10-09 12:33:40 +00:00
Andrey Hristov
0e5ff737f4 Test case for str_shuffle(). 2002-10-09 10:53:27 +00:00
Andrey Hristov
16a82f2b47 Returning to the old behavior of str_shuffle() a bit. Now the passed string is
left unmodified and the shuffled string is returned.
2002-10-09 10:33:22 +00:00
Markus Fischer
121d4d1ef0 - Fix protos (resource instead of int for stream_id, fix some return protos,
consistent usage of options instead of flags).
- Make imap_ping,imap_setquota and imap_setacl  return a real (bool) now.
2002-10-09 09:20:46 +00:00
Zak Greant
dbf1d82afa Set default value for mysql.connect_timeout to -1. This setting matches the setting in php.ini-dist and ensures that the default behavior is to leave connect_timeout alone. 2002-10-09 07:34:48 +00:00
Ilia Alshanetsky
7d19c1b9e5 Added nl2br() test 2002-10-08 23:46:02 +00:00
Ilia Alshanetsky
8c77e13e92 Added test for strrev() function. 2002-10-08 21:51:59 +00:00
Andrei Zmievski
3b60494829 Tokenizer has been stable for some time now. 2002-10-08 20:12:55 +00:00
Ilia Alshanetsky
e672ce4ccc Fixed bug #19280 2002-10-08 20:07:52 +00:00
Colin Viebrock
080c7a789e don't define fonts ... use the browser defaults 2002-10-08 19:42:23 +00:00
Derick Rethans
4a54968c71 - hardcode default rewriting tags 2002-10-08 18:30:38 +00:00
Moriyoshi Koizumi
579a1c3ab1 ZTS fixes 2002-10-08 17:20:10 +00:00
Melvyn Sopacua
03777770c0 Fix config bug reported by Jan Lehnart.
Keep it simple, and the size of a pointer is always known, duh.
2002-10-08 16:20:20 +00:00
Moriyoshi Koizumi
e9444610eb Removed table generating code. The return values of isalnum() may vary by the locale setting. 2002-10-08 15:15:50 +00:00
Ilia Alshanetsky
8f4276b61d Fixed memory leak. 2002-10-08 14:57:06 +00:00
Tal Peer
be7da25930 Enhanced test to also check charsets CP1255 and ISO-8859-8 2002-10-08 14:08:17 +00:00
Derick Rethans
2af2e62850 - Add the source file too 2002-10-08 10:01:34 +00:00
Derick Rethans
f0c1345cb6 - Add blowfish compatibility test 2002-10-08 10:00:52 +00:00
Andrey Hristov
0ad8b4aa10 Now str_shuffle() has the randomization characteristics of shuffle().
str_shuffle() won't return anymore the randomized string and thus will be
consistent with shuffle(). Since this function is new to 4.3.0 no BC
problems.
#Thanks to Adam Trachtenberg for providing good example to check the
#permuations distribution.
2002-10-08 09:52:59 +00:00
Derick Rethans
2005705272 - Skip if the function is not available (in case pcre was not compiled in). 2002-10-08 09:46:31 +00:00
Tal Peer
6d80a07ba0 Added test to check if charsets constants are defined 2002-10-08 08:17:03 +00:00
Derick Rethans
bde85234d6 - Please do not use notices for debug information 2002-10-08 08:01:06 +00:00
Derick Rethans
5a84ae6489 - Use error_reporting E_ALL 2002-10-08 07:55:02 +00:00
Sebastian Bergmann
af8230e28c Fix ZTS build. 2002-10-08 05:08:39 +00:00
Rasmus Lerdorf
0179bd7657 Get rid of redundant loop 2002-10-08 00:16:55 +00:00
Rasmus Lerdorf
69677a7a67 FreeBSD ming port sticks ming.h in /usr/local/include/ming/ming.h and
we weren't finding it there.
2002-10-08 00:15:10 +00:00
Rasmus Lerdorf
5acdd41d6e Make zlib-dir actually mean something during the check 2002-10-07 22:27:50 +00:00
Dan Kalowsky
164188d122 Fix for bug #19798 (submitted by mclap@simpage.mv.ru) 2002-10-07 21:58:56 +00:00
Rasmus Lerdorf
74286bd28d Argh! Revert. I'm on drugs. Was linking in a newer libz when I checked
this.
2002-10-07 21:13:46 +00:00
Ilia Alshanetsky
d6775c5c3f Added tests for strstr(), strpos() and substr_count() functions. 2002-10-07 21:07:42 +00:00
Rasmus Lerdorf
a6b780f94e Oops, should still define that. Didn't think I needed it as nothing in
ext/zlib checks it, but it is checked elsewhere.
2002-10-07 20:59:59 +00:00
Rasmus Lerdorf
6446f7158b This restriction is no longer true after the streams changes. 2002-10-07 20:55:41 +00:00
Moriyoshi Koizumi
8f1fb5768b Fixed typo. 2002-10-07 20:12:48 +00:00
Tal Peer
0ae2166fbe Initial commit of fribidi_log2vis test 2002-10-07 19:35:30 +00:00
Moriyoshi Koizumi
a0f61c9c51 Added test cases for mbregex 2002-10-07 18:02:05 +00:00
Moriyoshi Koizumi
2e1d931c66 Lots of clean-up for upcoming mbstring merging event.
Added mb_regex_set_options().
The Options parameters of various mbregex functions are now deprecated.
@- Added mb_regex_set_options(). The Options parameters of
@  various mbregex functions are now deprecated. (Moriyoshi).
2002-10-07 17:59:49 +00:00
Andrei Zmievski
6863d70ef3 Use a copy of locale instead of the original. Fixes bug #19482. 2002-10-07 17:16:23 +00:00
David Viner
0803ebfa3e adding test of xslt_set_object
--dviner
2002-10-07 16:59:08 +00:00
Moriyoshi Koizumi
931e25297b fixed mb_split (the value of third parameter treated wrongly) 2002-10-07 16:46:42 +00:00
Rasmus Lerdorf
ef9b51bcb0 readdir() was returning NULL instead of FALSE when used on an invalid
directory handle.  If someone forgot to check (as someone here did) that
the opendir() succeeded, and then followed the documented usage by checking
readdir()!==FALSE things would go awry.  The ZEND_FETCH_RESOURCE macro
explicitly does a RETURN_NULL on failure which is not what we want in this
case, so work around it.  No need to change it for the OO case since the
object is not created if the opendir fails.
2002-10-07 16:46:38 +00:00
Moriyoshi Koizumi
9b849892ea MFH 2002-10-07 16:15:36 +00:00
Stefan Esser
a8191a66c1 never smash the stack... 2002-10-07 16:11:30 +00:00
Stefan Esser
5619a3d0a5 fixing possible off by one in error case 2002-10-07 16:05:28 +00:00
foobar
eb67b2476b Fix obvious error.. 2002-10-07 11:08:11 +00:00
Jan Lehnardt
94daa9c26a - fix typo and improve error message 2002-10-07 10:09:07 +00:00
Sascha Schumann
8ca10fb5e8 Call ob_flush to force the buffer contents to go through the rewriter. 2002-10-07 10:07:27 +00:00
Marc Boeren
cee4219e49 Tests will be skipped if a tester does not explicitly specify the
test-database setup in dbx_test.p.
2002-10-07 09:27:02 +00:00
Sascha Schumann
2dde6fb594 Print out warning only, if a variable was actually migrated 2002-10-07 02:37:50 +00:00
Melvyn Sopacua
2628482ee9 (xslt tests) Add test for memory leaks, caused by inapproreate use of
the struct. Memory leak is caused by at least 2 errors on
             handle.
2002-10-06 23:58:51 +00:00
Sebastian Bergmann
d7f9e8526f Silence warning. 2002-10-06 21:47:54 +00:00
Sander Roobol
00a2715eda We're testing stripCslashes() here :) 2002-10-06 19:26:56 +00:00
Sander Roobol
3e222bcbf1 Some more weird tests on Derick's request :) 2002-10-06 19:17:04 +00:00
Sander Roobol
9edfd75a5c Some string tests 2002-10-06 19:12:22 +00:00
Derick Rethans
bd48e0cfe9 - Add new tests for: array_change_key_case, array_chunk and
array_count_values.
2002-10-06 18:42:03 +00:00
Sander Roobol
004d3d3a30 Fix another leak in implode() 2002-10-06 18:39:03 +00:00
Rasmus Lerdorf
76ee49e5b4 Fix for bug 19781 2002-10-06 17:47:50 +00:00
Ilia Alshanetsky
6b5575a101 Code cleanup. Thanks Andi. 2002-10-06 17:17:38 +00:00
Rasmus Lerdorf
f32d63a3b3 Add php_ini_scanned_files() so "make test" can tell you when you have
additional .ini files that are scanned.
2002-10-06 17:04:10 +00:00
Sander Roobol
af14a8e75f You can't detect NULL nicely - false is better and more PHPish. 2002-10-06 17:00:33 +00:00
Rasmus Lerdorf
d940131774 Fix build 2002-10-06 16:37:33 +00:00
Sander Roobol
533fda4121 Fixed getopt() - made it actually work 2002-10-06 16:33:14 +00:00
Melvyn Sopacua
8e1da7dbda MFB 2002-10-06 16:32:24 +00:00
Ilia Alshanetsky
12f47fe85a Added expected data to parse_url() test 2002-10-06 16:15:06 +00:00
Ilia Alshanetsky
1bbb55ec11 Added a much faster parse_url() implementation. This also fixes a number
of bugs in the old parse_url() implementation.
2002-10-06 16:14:42 +00:00
Melvyn Sopacua
a22ab3f8e3 missed this, needed by 007.phpt 2002-10-06 15:51:33 +00:00
Moriyoshi Koizumi
a1b3f8382d added support for aliases of the encodings. 2002-10-06 15:31:52 +00:00
Zeev Suraski
df55f35798 Revert the implicit_flush mess.
Do not revert it again under any circumstances!

Yasuo/anybody else - if there are issues with implicit_flush, please inform
me and I will fix them.
2002-10-06 12:02:53 +00:00
Sander Roobol
68cd067670 Fixed segfault and memory leak in the new implementation of implode() 2002-10-06 11:28:11 +00:00
Sander Roobol
8cf14a42f5 Add testcases for implode() and str_repeat() 2002-10-06 11:26:49 +00:00
Sebastian Bergmann
6ca22a1740 HAVE_MBSTRING awareness. 2002-10-06 09:36:26 +00:00
Sebastian Bergmann
df472058e2 HAVE_MBREGEX awareness. 2002-10-06 09:29:54 +00:00
Zeev Suraski
de36720e0e Begin the cleanup - remove ob_flush_all() 2002-10-06 09:06:24 +00:00
Rasmus Lerdorf
b832af75f0 WS fix - although the entire libgd directory is horrendously formatted.
However, since we are forking existing code, fixing it would make it much
harder to merge any Boutell patches (if they ever come out with any).
2002-10-06 08:39:05 +00:00
Rasmus Lerdorf
731943287f Oops 2002-10-06 08:35:22 +00:00
Rasmus Lerdorf
409620351f Ok, perhaps it's too late at night, but I see absolutely no reason for
this chunk of code here.  Why is it writing a palette.map file to disk
in the middle of this function?  Looks like leftover debug code, and this
particular code seems to be crashing on OSX as per bug #19704.
2002-10-06 07:19:07 +00:00
Rasmus Lerdorf
26b69a7d93 Fix for bug #19700 - code by Wez 2002-10-06 06:47:53 +00:00
Moriyoshi Koizumi
0601d1fc41 made messages more consistent 2002-10-06 06:37:47 +00:00
Moriyoshi Koizumi
55b591365f Warnings for empty regular expressions 2002-10-06 06:21:34 +00:00
Rasmus Lerdorf
72d90fc41c As discussed a while ago, decoding GIF images is not considered a Unisys
LZW patent violation so we can distribute read-only GIF support with
our bundled GD2.  The patent also expires in 2003, which is quickly
approaching, so we can roll in write support soon unless things change.
2002-10-06 06:03:17 +00:00
Frank M. Kromann
797a0dc33c Adding missing include path's to non TS projects 2002-10-06 02:14:22 +00:00
Frank M. Kromann
0d23670b30 Fixing comment allowing the module to compile again 2002-10-06 02:10:19 +00:00
Derick Rethans
b007bd0696 - Add parse_url() tests (expect will follow later)url_t.phpt 2002-10-05 20:28:35 +00:00
Melvyn Sopacua
9bb526c283 (xslt tests) Add test for new backend API (005.phpt), new function
(006.phpt) and a crash test (007.phpt)
             006.phpt also tests handling of public entities, which is in
             essence new to the extension, since there was no way to turn
             it on.
# These new functions and backend will be added shortly.
# TODO: test for xslt_set_object
2002-10-05 19:44:26 +00:00
Melvyn Sopacua
b83d7bbf8a (xslt tests) Test for reference to a non-existing scheme handler. 2002-10-05 16:11:46 +00:00
Melvyn Sopacua
1fbef62ae9 (xslt: error_print) Fixes a leak when multiple error messages are issued
during a transformation.
# It's probably better to wrap this in an internal function, since it's
# easily forgotten.
2002-10-05 14:04:19 +00:00
Wez Furlong
9d5bab5a0d EOF related fixes. 2002-10-05 10:59:35 +00:00
Wez Furlong
93f9eea77d Revert. The problem lies elsewhere. 2002-10-05 10:58:55 +00:00
Wez Furlong
ae36c08b54 Fix Win32 build as PHP_CONFIG_FILE_SCAN_DIR is not #defined. 2002-10-05 10:55:54 +00:00
Wez Furlong
077fe52d8b This seems to resolve the issues with fgets.
I've moved EOF detection into the streams layer; a stream reader
implementation should set stream->eof when it detects EOF.
Fixed test for user streams - it still fails but that is due to an output
buffering bug.
2002-10-05 10:35:13 +00:00
Markus Fischer
945ccfa76a - Remove superfluous E_WARNING if mysql_connect() fails; there's already
an E_WARNING a few lines above.
2002-10-05 00:54:31 +00:00
David Viner
4f98cc5a55 adding the xslt_set_object function (as per discussion on php-dev and
the newly created sab-php@gingerall.cz)
--dviner
2002-10-04 23:06:10 +00:00
David Viner
1665272cee adding segfault detection as proposed by Lenar Lõhmus [lenar@vision.ee]
--dviner
2002-10-04 22:43:55 +00:00
Stefan Esser
4368b8e4ac some FTP servers return 32bit port numbers. 2002-10-04 22:20:08 +00:00
Stefan Esser
87c0577a0c some broken ftp servers return 32bit port numbers. 2002-10-04 21:58:39 +00:00
Sterling Hughes
df837e67c7 have implode use the smart_str_*() functions, this should speed things up
quite a bit...
2002-10-04 20:44:19 +00:00
Wez Furlong
c429805e0b Make that error message more meaningful for systems like my SuSE 7.0 with
an apparently broken magic file.
2002-10-04 19:01:34 +00:00
Rasmus Lerdorf
5610e348ec Kill a few more warnings 2002-10-04 18:03:29 +00:00
Rasmus Lerdorf
2ca6f26918 Kill warning 2002-10-04 18:01:52 +00:00
Marcus Boerger
3d6ecdeff0 return FALSE on error 2002-10-04 17:17:01 +00:00
Sander Roobol
e6e2c1c70d Fixed a bug in the new implementation of str_repeat() 2002-10-04 17:10:51 +00:00
Derick Rethans
ec6713f1ca - dot :) 2002-10-04 16:55:46 +00:00
Sterling Hughes
5605dcf7b6 fix a memory leak in implode()
# kept seperate from last commit on purpose.. ;)
2002-10-04 16:54:56 +00:00
Sterling Hughes
abc9991925 @ Make the glue argument to implode() optional, if it is not specified
@ default to using "". (Sterling)
2002-10-04 16:53:14 +00:00
Melvyn Sopacua
c4805ffeb1 Improve testkit for xslt.
002.phpt and 003.phpt are regression tests for reported bugs.
 004.phpt has been known to cause problems in some Sab/PHP combinations.
 No known reports in bug db for that one.
 Added skip mechanism
@- Added regression test for bugs #17791 and #17931 (Melvyn)
2002-10-04 11:41:34 +00:00
Melvyn Sopacua
7f1ad2395d (xslt_set_error_handler) Fixes array 'fields' argument to contain correct
information.
                         Patch by Lenar Lohmus.
@- Fixed fields argument to contain correct info. (Lenar Lohmus)
2002-10-04 09:22:03 +00:00
Rasmus Lerdorf
989a61ed98 As discussed, add --with-config-file-scan-dir compile-time switch defining
a directory which will be scanned for *.ini files after the main php.ini
file has been parsed.  This makes it much easier to automatically deploy
a modular PHP since adding extensions which have their own ini switches can
now be done by simply dropping a foo.ini file in the right directory and
restarting.  A list of parsed ini files is maintained and shown on the
phpinfo page.
2002-10-04 04:47:35 +00:00
Sean Bright
114dff39ce Add missing ?> 2002-10-04 02:34:15 +00:00
Sascha Schumann
df0ea33d2b peek at freebsd's libc and fix _php_math_basetozval
PR: #19733
2002-10-04 02:21:33 +00:00
Sascha Schumann
cfaffd2185 overflow check for _php_math_basetozval 2002-10-04 02:20:41 +00:00
Sascha Schumann
397277b8c3 Fix php_stat brokenness. 2002-10-04 01:05:03 +00:00
Sascha Schumann
fb84b3e1d0 remove trans_sid=1 2002-10-03 23:13:36 +00:00
Sascha Schumann
5db24fbb7b 20: rewriter uses arg_seperator.output for modifying URLs
21: rewriter handles <form> and <fieldset> correctly
2002-10-03 23:12:16 +00:00
Sascha Schumann
47cc29c9d1 19: serializing references test case using globals
18: rewriter correctly handles attribute names which contain dashes
2002-10-03 22:54:15 +00:00
Andrei Zmievski
a38123e756 Revert the patch for now. We'll be branching on Saturday the way it's
implemented is a bit half-baked. We can always merge it into the branch
at a later point.
2002-10-03 18:30:27 +00:00
Andrey Hristov
52c529c5af ws fixes.
#again :)
2002-10-03 18:15:18 +00:00
Sascha Schumann
eab0f5965f code from ancient bug #5271
setting $_SESSION before session_start() should not cause segfault
2002-10-03 16:55:08 +00:00
Sascha Schumann
3998374a0d invalid session.save_path should not cause a segfault 2002-10-03 16:49:52 +00:00
Sascha Schumann
61e47a342e use_trans_sid should not affect SID 2002-10-03 16:43:44 +00:00
Sascha Schumann
8882b28e60 editing 2002-10-03 16:14:55 +00:00
Sascha Schumann
d661fa4b46 A script should not be able to modify session.use_trans_sid 2002-10-03 15:58:10 +00:00
Sascha Schumann
bb4f911035 There should not be any warning with regard to redefining SID 2002-10-03 15:52:36 +00:00
Sascha Schumann
dba3e4c7ad Registering _SESSION should not segfault. 2002-10-03 15:48:18 +00:00
Sascha Schumann
d4e1ac6c26 Mini test cases for fixed segfaults 2002-10-03 15:39:29 +00:00
Sascha Schumann
5fe046c4c3 session_decode should not segfault 2002-10-03 15:33:00 +00:00
Sascha Schumann
e24247e632 Remove ob_start() 2002-10-03 15:19:55 +00:00
Sascha Schumann
16f54aaca8 Add test for unset($_SESSION["x"]); behaviour 2002-10-03 15:19:43 +00:00
Sascha Schumann
c4adf94fbd make tests work with CLI 2002-10-03 15:11:01 +00:00
Sascha Schumann
7e03310a6a Don't emit warning, if there is nothing to send 2002-10-03 15:10:36 +00:00
Ilia Alshanetsky
2ea2b662a4 Optimized str_repeat() function, it is now 10x faster on 1 byte multipliers
and 5-6x faster on multi-byte multipliers.
2002-10-03 13:59:31 +00:00
Yasuo Ohgaki
39b0eb9b22 Fixed broken code by Derick.
ob_implicit_flush() and ob_flush_all() are stopped working.
var_dump() and hightlisht_string() outputs buffer contents wrongly
with ob_implicit_flush().

Everyone should be happy now.
It was only OG(implicit_flush) interpretation issue after all.
2002-10-03 13:32:01 +00:00
Stefan Esser
8fae3d7a49 swapped conditions to correct the logic 2002-10-03 12:16:44 +00:00
Andrey Hristov
ae70a4e458 few ws fixes. 2002-10-03 12:06:52 +00:00
Stefan Esser
b220b7113f Added ftp_ssl_connect() for FTP over SSL. 2002-10-03 11:33:05 +00:00
Marcus Boerger
9f8b57fb57 typing 2002-10-03 10:44:13 +00:00
Andrey Hristov
cebb0f76b8 ws fixes. 2002-10-03 10:42:57 +00:00
Derick Rethans
9b517c4b93 - Revert changed to implicit_flush behavior. The new behavior was not
intended in the first place.
2002-10-03 10:35:33 +00:00
Yasuo Ohgaki
b0fcd61207 Fixed broken higlight_string() 2002-10-03 09:19:31 +00:00
Stefan Esser
8827f8eca9 renamed ftp_async_* into ftp_nb_* 2002-10-03 09:10:24 +00:00
Jan Lehnardt
aadb0c910b - Added wddx_serialize_type(). Allows users to cast values to WDDX types
@- Added wddx_serialize_type(). Allows users to cast values to WDDX types (jan)
2002-10-03 08:56:10 +00:00
Yasuo Ohgaki
1731767272 Prevent unwanted fluhsing. 2002-10-03 08:54:45 +00:00
Sascha Schumann
114c544b9b Purge ini_set calls and replace through INI sections. 2002-10-03 08:07:21 +00:00
Andi Gutmans
b276a96f4b - Fix ZTS build 2002-10-03 07:23:50 +00:00
Yasuo Ohgaki
0a6f5f9996 Update test 2002-10-03 07:19:27 +00:00
Yasuo Ohgaki
66a50c5373 Added ob_flush_all() that flushes bufferred contents until it actually
sent/printed.
@ Added ob_flush_all() that flushes all buffers. (Yasuo)
2002-10-03 07:17:14 +00:00
Sascha Schumann
13f5db1b67 Make the interpretation of gc_probability configurable by adding
session.gc_dividend. The probability of running gc on each request is then
gc_probability/gc_dividend.
2002-10-03 06:45:15 +00:00
Sascha Schumann
be319c721a Reenable E_WARNING and test session.bug_compat_warn in addition. 2002-10-03 06:41:25 +00:00
Sascha Schumann
afb1458910 session_destroy resets the sid, so we need to set it again here 2002-10-03 06:33:19 +00:00
Sascha Schumann
356ea7ffbd Verify PHP 4.2 compatibility: global is used albeit register_globals=0 2002-10-03 06:32:45 +00:00
Sascha Schumann
0ed434a13b Use ZEND_SET_SYMBOL_WITH_LENGTH correctly (hopefully)
It strikes me as awkward that a Zend API user needs to take care of
doing the engine's reference counting.

This fixes a memory overrun in a testcase.  All ZEND_SET_* calls
should be correct now.
2002-10-03 06:29:58 +00:00
Sascha Schumann
15b23945ad (track_init) Use is_ref/refcount parameters of SET_SYMBOL macros
(save_current_state) Prevent a possible deadlock which occurs when
the track vars are inaccessible
2002-10-03 05:53:45 +00:00
Sascha Schumann
d4ef4079de Verify PHP 4.2 compatibility: unset($c) with enabled register_globals 2002-10-03 05:06:01 +00:00
Yasuo Ohgaki
f6dfd6b184 Forgot 1 byte for \0 2002-10-03 04:56:54 +00:00
Yasuo Ohgaki
5f1bb18c36 Save memory 2002-10-03 04:54:01 +00:00
Sascha Schumann
8a586103fc Align behaviour with 4.2 with regard to register_globals=1
session_register("c");
unset($c);
$c = time();

If a user unsets a global session variable, it is not a reference
to a $_SESSION slot anymore.

During serialization, PHP 4.2 will not find the respective entry in
$_SESSION and fall back to the global sym table.
2002-10-03 04:53:05 +00:00
Yasuo Ohgaki
22bf29384e Move wrong output buffer usage check to ob_gzhandler init.
Export some output buffer functions.
2002-10-03 03:58:12 +00:00
Sascha Schumann
b9077e5a9d Nuke PS(vars), we keep the state of registered session variables now
completely in PS(http_session_vars). This avoids bugs which are caused
by a lack of synchronization between the two hashes. We also don't need
to worry about prioritizing one of them.

Add session.bug_compat_42 and session.bug_compat_warn which are enabled
by default. The logic behind bug_compat_42:

IF bug_compat_42 is on, and
IF register_globals is off, and
IF any value of $_SESSION["key"] is NULL, and
IF there is a global variable $key, then
$_SESSION["key"] is set to $key.

The extension emits this warning once per script, unless told otherwise.

"Your script possibly relies on a session side-effect which existed until
PHP 4.2.3. Please be advised that the session extension does not consider
global variables as a source of data, unless register_globals is enabled.
You can disable this functionality and this warning by setting
session.bug_compat_42 or session.bug_compat_warn.
2002-10-03 03:23:02 +00:00
Yasuo Ohgaki
1b675aa690 Rename pg_data_seek() to pg_result_seek().
Added mysql_result_seek() which is alias of mysql_data_seek().
2002-10-03 02:32:09 +00:00
Yasuo Ohgaki
bd177ce7c1 Added ob_get_clean() and ob_get_flush().
Someone requested this feature before.
@ Added ob_get_clean() and og_get_flush(). (Yasuo)
2002-10-03 01:36:44 +00:00
David Reid
9b10843481 Add more BeOS support... 2002-10-02 23:52:08 +00:00
Daniela Mariaschi
69a6289e8c syntax to avoid error while reading data from file in ibase_blob_import 2002-10-02 23:05:06 +00:00
Sascha Schumann
4ea4f294b6 Fix harmless memory leaks and simplify track_vars_init. 2002-10-02 21:51:32 +00:00
Andrey Hristov
83a0f20381 Making strrchr() binary safe.
Test case added.
2002-10-02 18:58:09 +00:00
Andrey Hristov
2092d80230 Making strstr() binary safe. 2002-10-02 18:41:55 +00:00
Andrey Hristov
b2d93b67fc Ws fix. Forgot to add this in the previous commit. 2002-10-02 18:13:56 +00:00
Andrey Hristov
f02b1507dc ws fixes. 2002-10-02 17:56:04 +00:00
Derick Rethans
f85e6fe51d - Added CURLOPT_FTP_USE_EPSV option. (Patch by Alex Howansky
<alex@wankwood.com>)
2002-10-02 16:44:48 +00:00
Marcus Boerger
d4bba6d158 Revisted Wez patch: chunk_size 0 means cahce the whole output. So
we must apply the default before calling php_enable_output_compression().
I have left the default setting in the rinit function even though i do think
it is not necessary.
2002-10-02 15:02:16 +00:00
Colin Viebrock
f871f3870d Fix for SRM module (and maybe others). Header rows are now not HTML
escaped, so make sure you do this yourself in the modules.
2002-10-02 14:27:32 +00:00
Harald Radi
afb75a45e9 fixes bugs #19156 and #19544 2002-10-02 12:53:51 +00:00
Yasuo Ohgaki
2300bddb9c Fixed pg_escape_typea() 2002-10-02 06:30:40 +00:00
Yasuo Ohgaki
520486e8b1 Clean up a little. 2002-10-02 06:22:52 +00:00
Sascha Schumann
e1dd35bddb The pread/pwrite macros check for a bug in the Linux glibc now.
The bug causes the kernel not to return -1/EAGAIN. The new test case
has been borrowed from the Linux Test Project.

This also fixes a bug which apparently caused HAVE_PREAD/WRITE to be
defined even if the more complex checks failed (ac_cv_func_NAME=no
was set albeit with no difference).
2002-10-02 06:05:16 +00:00
Yasuo Ohgaki
69957c56b3 Added pg_unescape_bytea(). Fixed pg_data_seek().
php_pgsql_unescape_bytea(PQunescapeBytea) is shamelessly stolen from PostgreSQL 7.3 :)
2002-10-02 04:03:21 +00:00
Yasuo Ohgaki
2745e8b9b2 Add some example functions for mysql users. 2002-10-02 03:32:27 +00:00
Yasuo Ohgaki
b8fdd3c7ae Added pg_data_seek().
pg_result_seek() woudl be better name, but there is mysql_data_seek()...
2002-10-02 03:16:35 +00:00
Yasuo Ohgaki
2728440fdc Added pg_ping() 2002-10-02 02:41:21 +00:00
Yasuo Ohgaki
f8f11ac0a2 Rename pg_metadata() to pg_meta_data() to confirm naming standard 2002-10-02 02:11:27 +00:00
Stefan Esser
a87f4afc35 repairing the chaos
utime("filename", NULL) is not only valid but a MUST on linux if you are
not the owner...
2002-10-01 21:53:25 +00:00
Sascha Schumann
8b78c78973 Disable pread/pwrite for now until we can clarify why it should be
impossible to write a check for a broken OS feature.
2002-10-01 19:19:10 +00:00
Sascha Schumann
856cd5e17a The session extension ensures now that get_session_var can rely
on the state of $_SESSION/$HTTP_SESSION_VARS. It does not look up
symbols in the global symbol table anymore.

This was achieved by actually planting references between every
$_SESSION["x"] and $x, not only when restoring a session, but also
when registering a session variable (in a register_globals=1 context).

Upon registering a new variable, this memory leak continues to show
up, regardless of register_globals.

ext/session/session.c(272) :  Freeing 0x0818F01C (12 bytes), script=test

Obviously, the newly allocated empty zval is not properly freed.  If anyone
has any idea on how to fix that, please step forward.
2002-10-01 11:59:45 +00:00
Zeev Suraski
2c4b6fff6d Fix warnings 2002-10-01 10:16:40 +00:00
foobar
8634346e73 - Removed unnecessary dlopen checks. (this is done in Zend.m4 already) 2002-10-01 01:47:09 +00:00
David Reid
6477b0b5d8 Use the built in autoconf test for fnmatch. Simply using the
AC_CHECK_FUNCS seems to give false positives on beos and reading
the comments on other systems as well.
2002-09-30 23:31:13 +00:00
Wez Furlong
7bcc97c82e Add header file required for pread/pwrite (on my system at least). 2002-09-30 10:18:57 +00:00
Wez Furlong
4356932dfe Fix infinite recursion bug when using zlib output compression.
Cause: the chunk size is taken from the zlib.output_compression setting,
which is 0 or 1.  This causes the block_size for output buffer to be set
to 0 (1 / 2) and thus causes infinite recursion in php_ob_allocate().
Solution: use a value of 0 for the chunk size which will use the default
sizes.  Also add a sanity check which will default the block_size to 1
if it ends up as 0.
2002-09-30 10:18:06 +00:00
Derick Rethans
3b99744f0b - Fix ZE2 build when overload is enabled 2002-09-30 09:40:12 +00:00
Uwe Steinmann
86e3e1ac85 - make_objrec_from_array() gets a second parameter to handle key/pairs of
the form key=value and key:value.
- Proper treatment of the attribute SQLStmt
2002-09-30 09:27:56 +00:00
Yasuo Ohgaki
545f894524 Added pg_fetch_assoc(). Fixed proto. Added/fixed comments.
# It seems last attempt was failed. Try committing again.
2002-09-30 09:07:57 +00:00
Yasuo Ohgaki
5a6703484d Use PGSQL_CONV_FORCE_NULL as it is supposed.
PGSQL_CONV_FORCE_NULL inserts NULL to field instead of
NULL string for string type tuples.
2002-09-30 07:35:41 +00:00
Yasuo Ohgaki
788e4070b6 Use of PGSQL_CONV_INGORE_NOT_NULL as it is supposed. Change comment a little. 2002-09-30 07:24:41 +00:00
Tim Toohey
6a952f0856 fix gdImageCopyResampled() for non-constant alpha layer 2002-09-30 07:23:34 +00:00
Sascha Schumann
21300f5e5a sync 2002-09-30 04:59:01 +00:00
Sascha Schumann
aa9bb5aefa Fix my stupid mistake which broke <form> handling 2002-09-30 04:56:38 +00:00
Yasuo Ohgaki
dbd1a45d70 Fix TODO desc 2002-09-30 04:15:39 +00:00
Yasuo Ohgaki
b7d1a58e25 Remove unused def. Add TODO. 2002-09-30 04:15:01 +00:00
Yasuo Ohgaki
90fc47f4d1 Improve error message. Fix proto. 2002-09-30 03:51:54 +00:00
Jon Parise
033224784b @ - Added getopt() for parsing command line options and arguments. (Jon) 2002-09-30 03:02:52 +00:00
Jason Greene
06ad8620db Fix thread safety issue 2002-09-30 02:09:42 +00:00
Wez Furlong
388bfe5ffe Prevent possible problems with two resource ids referencing the same
panel.
2002-09-29 22:55:09 +00:00
Ilia Alshanetsky
0454bf2d0d Removed the ceil(-0.5); test. The return value is depedant on system's
libc and even when proper value '-0' is returned, var_dump() converts
it to 0 anyway.
2002-09-29 21:45:54 +00:00
foobar
5346391d16 ws fix 2002-09-29 19:28:12 +00:00
Ilia Alshanetsky
0e7e7ae961 Corrected ceil(-0.5) output value, it is 0 not -0. 2002-09-29 19:21:10 +00:00
foobar
3cf681c1d9 Make it compile with the latest _release_ too.. 2002-09-29 18:53:19 +00:00
Ilia Alshanetsky
4c4d5a617b Fixed a crash, which would occur when save_handler is invalid. 2002-09-29 18:33:14 +00:00
Ilia Alshanetsky
2af630f87d Fixed bug #17281 2002-09-29 15:55:11 +00:00
Ilia Alshanetsky
1142e16075 Fixed bugs #16995 and #19392 2002-09-29 15:26:50 +00:00
Ilia Alshanetsky
fba852e16b Fixed bug #19366 2002-09-29 14:45:57 +00:00
Wez Furlong
18f94ecea4 Added ncurses_getyx(). 2002-09-28 22:50:23 +00:00
Wez Furlong
7694770304 Rename streams functions to fit with naming conventions, adding aliases
for old functions where required.
Make use of recent changes to chunk size and timeout setting code.
2002-09-28 22:14:21 +00:00
Sergey Kartashoff
074d6c7607 - Site mirror detection and popularity rank has been added to mnogosearch
extension
2002-09-28 17:52:18 +00:00
Wez Furlong
0b5aae65f1 Fix crash bug and return value. 2002-09-28 17:03:02 +00:00
James Moore
523274d311 Make ext/fribidi compile against latest fribidi CVS 2002-09-28 15:37:21 +00:00
Marcus Boerger
9be7455fe0 Synch with README.TESTING 2002-09-28 13:59:17 +00:00
Wez Furlong
8aae36aecb Add missing folding marker. 2002-09-28 13:04:47 +00:00
Yasuo Ohgaki
ec340e039a It must be GLOB_NOCHECK instead of GLOB_NOMATCH.
GLOB_NOMATCH does not make sense at all.
2002-09-28 09:14:45 +00:00
Wez Furlong
315e0a599b Implement stream_select() which works just like socket_select, but only on
streams.
@ - Added stream_select() which works like socket_select but only works on
@   streams returned by fopen(), fsockopen() and pfsockopen(). (Wez)
2002-09-27 23:42:38 +00:00
Wez Furlong
65d3e611f9 More ncurses functions and constants. 2002-09-27 22:33:14 +00:00
Wez Furlong
dd6d22b6a1 Implement some more window routines, add pad functions.
Add panel functions when libpanel is also detected.
Register STDSCR constant during ncurses_init().
2002-09-27 17:03:53 +00:00
Colin Viebrock
69e677cda7 fix formating by breaking on to separate lines 2002-09-27 16:05:47 +00:00
Edin Kadribasic
0a0c6a49f5 @- Fixed bug #19595 (Missing functions for GD2 format handling).
(Edin)
Fixed bug #19595 (Missing functions for GD2 format handling).
2002-09-27 13:31:43 +00:00
foobar
08d3ad407c ws 2002-09-27 13:15:56 +00:00
Hartmut Holzgraefe
5797668cc3 /tmp/cvsmLUuXQ 2002-09-27 12:40:31 +00:00
Edin Kadribasic
bf094736b7 Update credits.
# Updated by scripts/credits. For some reason it put "Java" and "Win32 COM"
# twice. I removed the duplicates manually.
2002-09-27 12:23:49 +00:00
Tal Peer
85648dd059 - Fixed case in extension name 2002-09-27 12:12:06 +00:00
Yasuo Ohgaki
7dae78b7f5 No need to define GLOB_NOMATCH. 2002-09-27 11:44:42 +00:00
Derick Rethans
e646304c1f @- Fix for bug #19633 (wrong directories in ext/ldap/config.m4). (Derick)
- Fix for bug #19633 (wrong directories in ext/ldap/config.m4).
2002-09-27 10:38:08 +00:00
Wez Furlong
4279f74e5a Really *really* fix the segfault bug #17274 and bug #19627 this time.
@ - Fixed bugs #17274 and #19627 (segfault in sem_remove). (Wez)
2002-09-27 10:24:54 +00:00
Jan Lehnardt
bcb3067d34 - be more conservative ;) 2002-09-27 10:17:52 +00:00
Sebastian Bergmann
cb6ef08e8c Fix ZTS build. 2002-09-26 19:48:56 +00:00
Colin Viebrock
982c510cd9 update credits page with proper HTML, fix HTML escaping, and a few tweaks 2002-09-26 19:33:23 +00:00
Sebastian Bergmann
fd7326395b Fix warning. 2002-09-26 19:18:35 +00:00
Sebastian Bergmann
b5d4b5496d Fix ZTS build. 2002-09-26 18:13:32 +00:00
Ilia Alshanetsky
57c91b571e Fixed bug #11643 2002-09-26 18:12:27 +00:00
Colin Viebrock
c7c275b741 fix phpinfo() output for better browser BC 2002-09-26 17:54:54 +00:00
foobar
6b8480fab6 Fix bug: #14991 (changing session.use_trans_sid does not work in scripts) 2002-09-26 16:46:21 +00:00
Wez Furlong
4d9d06c874 Emit a warning when an unsupported charset is requested in htmlentities.
Fixed #18521.
2002-09-26 16:07:14 +00:00
Tal Peer
1e9a373602 - Fixed fatal error 2002-09-26 12:58:31 +00:00
Wez Furlong
c484eb8c97 Fix segfault in wrapper error log mechanism when errors are logged on
second and subsequent events.
Implement very simple recursion protection for user streams written
like this:
class urlEncodeStream {
    var $fp = NULL;

    function stream_open($path, $mode, $options, &$opened_path)
    {
        $this->fp = fopen($path, $mode); // <-- this recurses infinitely
        return is_resource($this->fp);
    }
}

file_register_wrapper('urlencode', 'urlEncodeStream');
$fp = fopen('urlencode:///tmp/outputfile.txt', 'w');

Noticed by: Yasuo.
2002-09-26 12:12:27 +00:00
Jan Lehnardt
1f227cd2e3 - GLOB_NOMATCH and GLOB_NOESCAPE are only defined in win32/glob.h
- fixes build on FreeBSD 4.6
2002-09-26 11:19:26 +00:00
Tal Peer
372b1fae01 - Reverted back to old param parsing api (and eliminated a segfault by doing that)
- Added the CapRTL charset -- should be used for testing on machines without Hebrew/Arabic/Persian
 fonts
- Changed the note about deprecated behaviour from E_WARNING to E_NOTICE
2002-09-26 10:43:42 +00:00
Wez Furlong
4c2a9c091b Remove an unused variable and a now-unused function. 2002-09-26 10:17:41 +00:00
Wez Furlong
3a67c67737 Rename file_get_wrapper_data -> file_get_meta_data.
It now always returns useful information for all streams.
Unified that data with socket_get_status and made socket_get_status
an alias for file_get_meta_data.

Fix Location header following which was broken in this commit:
http://cvs.php.net/diff.php/php4/ext/standard/http_fopen_wrapper.c?r1=1.41&r2=1.42&ty=h
2002-09-26 10:14:41 +00:00
Yasuo Ohgaki
7d87babada Remove dup 2002-09-26 07:55:59 +00:00
Sebastian Bergmann
f5426838f9 Fix ZTS build. Fix warning. 2002-09-26 07:30:16 +00:00
Hartmut Holzgraefe
1a2df34d9d fix windows build 2002-09-26 07:15:33 +00:00
Sebastian Bergmann
d6e24f21f9 Sync MSVC project files. 2002-09-26 06:10:22 +00:00
Tal Peer
a77763facc - Initial commit 2002-09-26 05:47:56 +00:00
Wez Furlong
1a87c6b5bf (PHP mb_convert_case) Add function that will convert the case of a string
Respecting it's encoding (or the internal encoding).
2002-09-26 00:53:47 +00:00
Hartmut Holzgraefe
0d815b5713 glob should now be ZTS/open_basedir/safe_mode aware (finally) 2002-09-26 00:27:52 +00:00
Hartmut Holzgraefe
419efa6eeb symbolic constants for fnmatch flags added 2002-09-26 00:27:13 +00:00
Andrey Hristov
7badd563cb Test case for strspn()/strcspn(). 2002-09-25 19:08:38 +00:00
Andrey Hristov
f80a817f7c Added common handler for strspn() and strcspn(). Almost of the code is
identical. Modified to accept up to 4 params. Last 2 optional start & len.
They are analogic to start & len of substr(). So the behavior when start &
len are used is like
strspn(substr($s,$start,$len),$good_chars) and
strcspn(substr($s,$start,$len), $bad_chars)
2002-09-25 19:06:29 +00:00
Andrey Hristov
fc46a46b06 str_shuffle() function added. Like shuffle() for arrays - however the
algorithm for creating the permutation is quite simple. More like
the implementation of shuffle() for 4.2.1 .
2002-09-25 18:06:05 +00:00
Andrei Zmievski
c9b9e63ea3 *** empty log message *** 2002-09-25 17:48:10 +00:00
Wez Furlong
0141e97052 Make these all work with persistent streams too. 2002-09-25 15:46:47 +00:00
Wez Furlong
696e0a2301 Implement persistent streams. (for pfsockopen).
Juggle some includes/definitions.
Tidy up streams use in ext/standard/file.c
2002-09-25 15:25:12 +00:00
Andrei Zmievski
27255d7419 Fix bug #17570. 2002-09-25 14:02:34 +00:00
Tal Peer
0c5538d077 - Update proto 2002-09-25 13:49:55 +00:00
Ilia Alshanetsky
7ae2196852 Fixed bugs #18167 & #16859 2002-09-25 13:26:03 +00:00
Sascha Schumann
03c07308d3 Improve error messages 2002-09-25 12:38:45 +00:00
Ilia Alshanetsky
322a24a526 prevent segv on Windows with negative localtime values. 2002-09-25 12:20:56 +00:00
Sascha Schumann
c57d419925 Sync 2002-09-25 12:15:42 +00:00
Sascha Schumann
41c0b43772 Allow - as part of an attribute
PR: #19573
2002-09-25 12:15:22 +00:00
Sascha Schumann
7af64ef531 Fix #13472 by making it possible to append the <input> stuff after
<fieldset> for xhtml compliance.
2002-09-25 11:06:24 +00:00
Sascha Schumann
91bbb302c1 Sync with .re 2002-09-25 10:36:19 +00:00
Sascha Schumann
3cadecec1b Allow malformed HTML such as
<a onClick=window.open("/hardware/somevar.php?hinfoid=","chgti") ..>

where ["'] are part of the attribute value.
2002-09-25 10:35:28 +00:00
Ilia Alshanetsky
f91b3d5c6d Fixed bug #17957 2002-09-24 16:34:54 +00:00
Zeev Suraski
5f1bffe0cd Fix indirection 2002-09-24 10:55:56 +00:00
Wez Furlong
a12423f959 Fix for #19570: last character in translation table is omitted. 2002-09-24 10:05:45 +00:00
Sascha Schumann
75c9efc08a Fix typo 2002-09-24 06:39:43 +00:00
Sascha Schumann
8f81e9ad23 Replace underscores with dashes in --enable-mime-magic 2002-09-24 06:37:17 +00:00
Wez Furlong
4cdf8c7c36 Fix EOL markers for file() so that Mac EOL work correctly. 2002-09-24 02:46:38 +00:00
Tal Peer
6eb8b0dcf2 - Fixed build on Win32 (and made the ext use a newer API)
- Various CS fixes
- Converted the parameter parsing to the new API
2002-09-23 20:24:29 +00:00
Wez Furlong
d14a7e0c19 WS 2002-09-23 18:13:31 +00:00
Wez Furlong
c74b9faca5 Implement a default_socket_timeout and auto_detect_line_endings ini options.
Also move user_agent from BG to FG.
2002-09-23 18:12:39 +00:00
Wez Furlong
35d29fb69e basic_functions.c 2002-09-23 17:27:37 +00:00
Sascha Schumann
7915f83342 (PHP touch) Remove an extraneous time() call.
Yasuo added this line in rev 1.90 for no apparent reason.
2002-09-23 14:59:24 +00:00
Wez Furlong
ad4afdf827 fix some warnings. 2002-09-23 14:50:21 +00:00
Sebastian Bergmann
fd329d2cd1 Fix warning. 2002-09-23 14:20:02 +00:00
Sascha Schumann
ff12826fc1 (php_get_session_var) Always return FAILURE if no data source was found.
Noticed by: Sebastian Bergmann
2002-09-23 14:04:50 +00:00
Wez Furlong
9e84b3d5b5 Revise buffer/seek code a little.
Tidy up user streams even more.
Make test case quite aggressive.
2002-09-23 13:22:10 +00:00
Jason Greene
a8ca9932f4 Implement contstants on win32
@Implement platform independant socket error constants, which benefits error handling
2002-09-23 03:34:21 +00:00
Wez Furlong
4d8a07d529 Implement read buffering in streams.
Eliminate similar code from network.c.
Implement fgets equivalent at the streams level, which can detect
the mac, dos and unix line endings and handle them appropriately.
The default behaviour is unix (and dos) line endings.
An ini option to control this behaviour will follow.
# Don't forget to make clean!
# I've done some testing but would appreciate feedback from
# people with scripts/extensions that seek around a lot.
2002-09-23 01:47:04 +00:00
Derick Rethans
9e9e7c677a - update project file (no precompiled headers) 2002-09-22 18:09:27 +00:00
Derick Rethans
d52983dfab - Unbreak build 2002-09-22 16:23:44 +00:00
James Cox
b1b0230e6d typo 2002-09-22 16:14:11 +00:00
Derick Rethans
9c6f744649 - Fix ZTS build 2002-09-21 18:25:04 +00:00
Ilia Alshanetsky
fda169417f Added a test script for strip_tags() function. 2002-09-21 17:34:45 +00:00
Ilia Alshanetsky
8fc94a082f Fixed bug #7472 as well as many other bugs with strip_tags implementation. 2002-09-21 17:34:06 +00:00
Andrey Hristov
9ee1ce156f ws fixes.
#hope not to be flamed :)  what a wonderful day.
2002-09-21 16:10:33 +00:00
Ilia Alshanetsky
78f3ad40a8 Fixed bug #12934
locatime() now returns an error message when passed a negative value.
2002-09-21 15:41:20 +00:00
Sascha Schumann
30f038be18 Add '+' modifier.
+      A sign (+ or -) always be placed  before  a  number
              produced by a signed conversion.  By default a sign
              is used only for negative numbers. A + overrides  a
              space if both are used.
2002-09-21 15:08:59 +00:00
Andrey Hristov
9980cf5f53 Test case for array_intersect() and array_intersect_assoc() 2002-09-21 14:50:55 +00:00
Andrey Hristov
a920f00479 New function added - array_intersect_assoc() similar to array_intersect()
but the keys are also used in the comparison. So the result is a subset of
the result of array_intersect().
Test will be committed too.
2002-09-21 14:50:04 +00:00
Tal Peer
12ef3d3f6b Changed version from NO_VERSION_YET to 0.1
@ - Fixed compilation errors when compiling with the fribidi extension (Bug #16414) (Tal)
2002-09-21 10:58:46 +00:00
Sascha Schumann
e20c6c8e9c Because track vars are always initialized, get_session_var failed
to work in the register_globals=1 case.

It is now possible again to store session variables in global vars.
2002-09-21 05:46:32 +00:00
foobar
a45e53b02d fix typo 2002-09-20 15:42:23 +00:00
Martin Kraemer
c54b79bdd9 Since the cyrus extension prints only one line, and no subsequent info,
it should have a similar appearance as the other one-liners.
Use php_info_print_table_row() instead of php_info_print_table_header(),
as in the other extensions.
2002-09-20 15:39:50 +00:00
Ilia Alshanetsky
bc8eda5385 Fixed bugs #12989 and #12120 2002-09-20 11:48:47 +00:00
foobar
26fb2879d5 Added check for yaz version into configure. 2002-09-20 02:46:38 +00:00
Ilia Alshanetsky
f119fd6498 Fixed bug #19487 2002-09-20 01:25:55 +00:00
foobar
4a39f70a9a Added missing convert_to_* funcs. (should fix some crashes) 2002-09-20 00:47:00 +00:00
Colin Viebrock
14a6cc8847 Change phpinfo() to use CSS styling instead of HTML code.
It doesn't render as nicely as it used to on older browsers, but it
does result in smaller files, and opens the door to using your own CSS
to style it differently.

There is a patch to Zend/zend_ini.c, but I don't have enough Karma, so
Derick has the patch.
2002-09-19 21:57:25 +00:00
Colin Viebrock
cd47bf286f change my email address 2002-09-19 21:51:34 +00:00
Ilia Alshanetsky
ae5222ac23 Fixed bug #19504
Alligned 'Enable sysvmsg support' message.
2002-09-19 20:14:58 +00:00
Derick Rethans
cf07c698d1 - Align configure --help messages 2002-09-19 20:14:35 +00:00
Ilia Alshanetsky
a694fa9ca7 Fixed bug #19313
Fixed argument count check for system/exec/passthru functions
Added a check to system/exec/passthru functions to make sure execution
parameter is not blank before attempting to execute it.
2002-09-19 18:59:32 +00:00
Ilia Alshanetsky
9259c4e598 Fixed bug #19414 2002-09-19 18:22:51 +00:00
Zeev Suraski
aaf8d48fc3 Fix the last part of bug #13982 (ignore_user_abort() settings were 'leaking'
between requests)
2002-09-19 16:01:53 +00:00
Adam Dickmeiss
05aa5e6193 Remove compatibility for old YAZ versions (use ZOOM API only) 2002-09-19 12:20:07 +00:00
Adam Dickmeiss
a9b2e812df New option for yaz_connect: charset 2002-09-19 10:18:44 +00:00
Sebastian Bergmann
4cdd5b4f73 Remove obsolete directory. 2002-09-19 09:09:28 +00:00
Sascha Schumann
d964e73160 Add support for cdb-0.75
The install_cdb.sh script fills the gap of installing header files and
creating a cdb library which programs can link against.
2002-09-19 04:18:20 +00:00
Dan Kalowsky
25a908f41a white space fix 2002-09-19 02:32:48 +00:00
James Cox
70f17979fb white background please 2002-09-18 21:56:00 +00:00
Ilia Alshanetsky
0dddad02fa Fixed bug #19446 2002-09-18 21:34:30 +00:00
Ilia Alshanetsky
869c42a511 Added additional handlers for compressed swf files, which require
entire file to be downloaded for successful decompression.
2002-09-18 20:37:24 +00:00
Dan Kalowsky
3ae9127b46 Patch for Bug #19402 provided by Kevin Way (kevin.way@overtone.org) 2002-09-18 11:57:17 +00:00
Wez Furlong
ff7bece5bb Tidy up some user stream code.
Add a small test case (not yet complete).
2002-09-18 10:15:40 +00:00
Hartmut Holzgraefe
f8358b44d1 setlocale() will now accept multiple locale arguments, first match wins 2002-09-18 07:55:30 +00:00
Tal Peer
21ceacc487 # err.. fix comment 2002-09-17 19:30:06 +00:00
Tal Peer
10cabf5259 # Fixed proto and header of log2vis() 2002-09-17 18:08:45 +00:00
Tal Peer
e9ccb81903 * The second argument of
fribidi_log2vis now accepts a constant.
The old way (using strings) is still available
but deprecated.
2002-09-17 16:27:27 +00:00
Hartmut Holzgraefe
4e6635742d it should not only work for the failure case
but also not fail (segfault) on the working case
2002-09-17 13:54:40 +00:00
Hartmut Holzgraefe
c5d4be214c stupid lino-typo .... :( 2002-09-17 12:59:36 +00:00
Hartmut Holzgraefe
0c7d9c3742 headers_sent() may now return information about where output started
using the optional $file and $line reference parameters
2002-09-17 12:37:26 +00:00
Tal Peer
10a460622f oops. 2002-09-16 19:08:45 +00:00
Tal Peer
d2969d4e3d Added myself 2002-09-16 18:35:26 +00:00
foobar
aef1c680bc - Require Fribidi 0.10.4 -> no more glib needed.
- Cleaned up a bit.
2002-09-16 15:31:32 +00:00
Tal Peer
f574e7cffa * More work on returning errors properly and freeing resources 2002-09-15 09:58:35 +00:00
Tal Peer
e0247cbd6e *Fixed compilation errors and enhanced the code 2002-09-15 09:32:29 +00:00
Jon Parise
26e6252e43 Line up the 'configure --help' output. 2002-09-15 01:39:30 +00:00
Wez Furlong
a2c6a6c186 Update bundled pcrelib to 3.9.
# Tested under Linux only
2002-09-14 14:45:35 +00:00
Jan Lehnardt
53b0623878 - fix typo in comment 2002-09-14 12:09:47 +00:00
Andi Gutmans
288e9b1793 - Don't think we need the do { } while (0) here 2002-09-14 06:38:48 +00:00
Ilia Alshanetsky
687312be41 Do not create the destination file, if opening of the source file failed
during copy().
2002-09-13 13:34:06 +00:00
Stefan Esser
714eb8069a made new ssl activate function the default. 2002-09-12 21:52:09 +00:00
foobar
fb9bd8d20a ws fix 2002-09-12 21:42:33 +00:00
Derick Rethans
861f68834a - Fixed linker error when HAVE_STRFTIME was not set 2002-09-12 11:18:47 +00:00
Thies C. Arntzen
b905e40e92 @- OCIResult() could return garbage if called on empty result-sets. (thies)
# fix #19364
2002-09-12 09:48:03 +00:00
Andrey Hristov
23d3cd79c1 Fixing my zts fix.
#Sorry Edin
2002-09-12 08:20:37 +00:00
Andrey Hristov
ad92434638 Removed magic numbers about the behavior of php_array_diff - proposed by
Andi and Jon Parise.
#It is strange that I commited ZTS code but after that Edin fixed ZTS build
#when I updated - it wasn't ZTS. hmmm. anyway fixing ZTS build.
2002-09-12 08:04:42 +00:00
Edin Kadribasic
ad34142e97 My compiler likes it like this. 2002-09-11 23:10:58 +00:00
Edin Kadribasic
705e72f363 Fix ZTS build. 2002-09-11 23:09:11 +00:00
Sterling Hughes
9f4658427f virtual filepath fix, don't know why i bother, the module isn't threadsafe
and never will be, but still...
2002-09-11 22:43:58 +00:00
Sterling Hughes
b34bec20a7 max this use the virtual_filepath() function and feel all threadsafe and
wholesome inside
2002-09-11 22:40:56 +00:00
Derick Rethans
c57b3c6533 - Un-deprecating mysql_escape_string
#- This will remove the annoying notices, while this function is used in
#  a lot of scripts. There is not reason why we should discontinue it's use
#  as it works perfect for about 99% of the time.
2002-09-11 21:06:52 +00:00
Derick Rethans
aaf920f9d5 - Little whitespace changes 2002-09-11 18:40:56 +00:00
Andrey Hristov
2b710f7e5c Regression test for array_diff() and array_diff_assoc(). The latter is newly
introduced.
2002-09-11 18:16:11 +00:00
Andrey Hristov
afdfe38ef3 New function added : array_diff_assoc() . Like array_diff() but does
additional checks on key values. Test script will be added too.
#My first patch . it feels strange :)
2002-09-11 18:13:48 +00:00
foobar
eb3b486f21 For now, check only when not using bundled GD lib. 2002-09-11 16:40:35 +00:00
Sander Roobol
1715acfdc4 Fix configure 2002-09-11 16:17:33 +00:00
foobar
e54bc671dd Added build test. Bug: #19345 2002-09-11 15:34:44 +00:00
Dan Kalowsky
6fe296aa69 Patch for Bug #19341 submitted by list@firehawksystems.com 2002-09-11 15:05:06 +00:00
foobar
746c147670 tok tok.. 2002-09-11 14:51:09 +00:00
Andrei Zmievski
3f4a2b1b6a @- Added ability to use Perl-style ${n} subpattern references in the
@  replacement string for preg_replace(). Takes care of bug #18442. (Andrei)
2002-09-11 14:41:25 +00:00
foobar
daf6a5ab1a ws fix 2002-09-11 14:40:52 +00:00
foobar
be52343850 fix proto 2002-09-11 14:24:27 +00:00
foobar
a254506a3c ws fix 2002-09-11 14:21:39 +00:00
Anantha Kesari H Y
e75aae81fc Removed unnecessary code that was added for NetWare 2002-09-11 10:28:22 +00:00
Edin Kadribasic
333b01b041 Fixed ZTS build. 2002-09-10 22:36:43 +00:00
Andrei Zmievski
dd7cf22443 @- Fixed array_merge_recursive() to avoid problems with merging cyclical
@  arrays (bug #16064). (Andrei)
2002-09-10 18:34:16 +00:00
James Cox
022e83908f moved vpopmail to pecl.
# with original authors permission, and i am working on it a bit now.
2002-09-10 13:48:13 +00:00
Wez Furlong
49d77dbc01 Patch for BSD-ish systems from Melvyn Sopacua <msopacua@idg.nl>,
slightly modified.
2002-09-10 13:04:08 +00:00
Stefan Esser
184323cbe5 php_url_parse() replaces controlchars with '_' now. This stops fopen wrapper
CR/LF injection issues.
2002-09-10 08:06:25 +00:00
Jason Greene
565492248a Fix crash bug and memory leak in vectors
#still need to revisit how these are done, i.e. they are not binary safe
2002-09-10 04:12:55 +00:00
Dan Kalowsky
e1fe1e189c missed one section for #15630 2002-09-09 21:01:33 +00:00
Christian Stocker
ab40c954fb chregu: Can you please use the new php_error_docref in new code? 2002-09-09 20:32:49 +00:00
Christian Stocker
2375745ab4 Fix for bug 19266 (don't allow appending nodes from 2 different documents) 2002-09-09 20:21:31 +00:00
Andrei Zmievski
2c6154d7aa @- Added ability to extract() variables as references via OR'able EXTR_REFS
@  flag. (Andrei)
2002-09-09 20:05:20 +00:00
Wez Furlong
8a85e0f614 put that back... 2002-09-09 19:11:35 +00:00
Wez Furlong
6bc7e97161 Revert Dericks accidental commit :-)
Add an Id tag so we can see at a glance who is to blame.
2002-09-09 19:09:23 +00:00
Dan Kalowsky
32a03b3aed Patch for Bug #18640 (submitted by michael.mauch@gmx.de) 2002-09-09 19:03:51 +00:00
foobar
faf9934272 Version check for Sablotron. 2002-09-09 18:17:12 +00:00
Georg Richter
a9c64d174b - renamed rollback function to _restore_connection_default
- in _restore_connection_default:
  - unset the selected database (thx to Paul DuBois)
  - set session variable autocommit to default (=1)
2002-09-09 15:53:05 +00:00
Anantha Kesari H Y
97a601fc15 NetWare related changes/modifications 2002-09-09 10:12:44 +00:00
Derick Rethans
c1f6b2efbd - Consistent use of macros 2002-09-09 09:44:52 +00:00
Stefan Esser
cbf5e3ca06 Added possibility to reuse an old SSL session id.
Ugly but needed for f.e.: debians ftpd-ssl
2002-09-08 22:26:11 +00:00
Jon Parise
dc056bf2d0 Capitalization 2002-09-08 20:59:53 +00:00
Shane Caraveo
2c6dca5a6e someone missed code requiring ssl 2002-09-08 20:52:03 +00:00
Stefan Esser
8dbcb26fd0 ftp(s) fopen() wrapper does no longer ignore the ip returned by PASV. 2002-09-08 19:35:42 +00:00
Stefan Esser
9fca868f90 Control connection gets closed in ssl mode now, too. 2002-09-08 19:11:07 +00:00
Stefan Esser
ec4a3fa68e Added EXPERIMENTAL ftps fopen wrapper.
For now this leaks the control connection stream because you cannot
close the control connection in ssl mode before you read the data.
2002-09-08 16:45:32 +00:00
Sander Roobol
8a9820331c Fix typo 2002-09-08 08:08:35 +00:00
Jan Lehnardt
de3b5c3631 - cosmetics 2002-09-07 23:14:22 +00:00
Yasuo Ohgaki
16125ec2bf This should fix var handling problems finally. 2002-09-07 22:51:39 +00:00
Ilia Alshanetsky
407088509f Added a check to ensure user_agent header is not sent if user_agent value
if blank.
2002-09-07 21:57:11 +00:00
Yasuo Ohgaki
69cc47358e Fixed errno hanlding. Patch by Moriyoshi Koizumi <readjust@deneb.freemail.ne.jp> 2002-09-07 21:08:47 +00:00
Wez Furlong
3df412cf9b Fix a couple of bad pointer indirections (oops).
Lets stick to a single category of "http" for the "user_agent"
context override.
2002-09-07 20:58:30 +00:00
Wez Furlong
97f134cb45 fix warning 2002-09-07 20:54:14 +00:00
foobar
cb8493b2fb This was not a good idea. 2002-09-07 19:09:09 +00:00
Wez Furlong
30082fdb68 Implement php://output wrapper, which can be used to write to the output
buffer via PHPWRITE.
2002-09-07 19:00:46 +00:00
Sterling Hughes
ce686a63de commit the correct/up-to-date version 2002-09-07 15:55:04 +00:00
Sterling Hughes
91df221ab7 @ Made the User-Agent that php's fopen wrappers send, configurable via
@ php.ini or via a stream context. (Sterling)

The stream context is untested, but it should/could work :)  Either way it
doesn't make the rest of the code bad. Wez -- please take a looksie for me
:)
2002-09-07 15:45:29 +00:00
Sergey Kartashoff
d96a5d8c5c - New mnogosearch extension features has been added to group results
by site.
- Mnogosearch module fixes and cleanups.
2002-09-07 14:19:52 +00:00
Yasuo Ohgaki
b65073d3ea Fixed array var handling. Patch by Moriyoshi Koizumi <readjust@deneb.freemail.ne.jp> 2002-09-07 14:07:05 +00:00
Sander Roobol
86e68f34f5 Fix build with bundled gd when builddir!=srcdir 2002-09-07 12:53:05 +00:00
Yasuo Ohgaki
27ce2cfa24 Fixed trancated value bug when array is used 2002-09-07 09:23:39 +00:00
Ilia Alshanetsky
3c95ac6b4f Fixed a massive memory leak that occurs when an opened webpage returns
a non 200 return code.
2002-09-07 07:13:43 +00:00
Georg Richter
0797d5f989 fixed typo 2002-09-06 12:11:30 +00:00
James Cox
5d4080ec38 remove uneeded def 2002-09-06 10:34:30 +00:00
Sascha Schumann
702d7afc3c Reenable pwrite/pread support
The old checks supposed that pread/pwrite worked, if a declaration was
found in <unistd.h>.  We now actually check whether they work successfully
before using them.
2002-09-06 10:27:26 +00:00
Anantha Kesari H Y
8f14aafe97 NetWare related changes/modifications 2002-09-06 10:20:39 +00:00
Derick Rethans
828c2a9c46 - argh... this is getting annoying 2002-09-06 07:47:49 +00:00
Anantha Kesari H Y
338332c799 NetWare related changes/modifications 2002-09-06 07:44:30 +00:00
Derick Rethans
dc3ea09991 - Please do not use spaces for indentation!
- Removed redundend ifdefs
2002-09-06 07:30:51 +00:00
Anantha Kesari H Y
dc5d3f5585 NetWare related additions/modifications 2002-09-06 07:27:27 +00:00
Anantha Kesari H Y
0ea12a47ab NetWare related additions/modifications 2002-09-06 06:39:57 +00:00
Dan Kalowsky
e560822fa7 silence a windows build warning 2002-09-05 21:29:39 +00:00
foobar
71ecad8fbe Remove unnecessarily commented code. 2002-09-05 21:16:34 +00:00
foobar
d94758bec2 Remove unnecessary commented code. 2002-09-05 21:12:55 +00:00
foobar
d1009fe707 Using --with-zlib-dir should work now with phpized builds too. 2002-09-05 20:13:20 +00:00
Derick Rethans
2b6ba50601 - Unbreak build 2002-09-05 18:11:33 +00:00
Derick Rethans
99850fcc28 - Tabs for indentation 2002-09-05 14:36:33 +00:00
Derick Rethans
5c0b6f7fa8 - Please use tabs for indentation 2002-09-05 14:32:47 +00:00
Anantha Kesari H Y
8b8f1e0590 NetWare related additions/modifications 2002-09-05 14:25:07 +00:00
Ilia Alshanetsky
eb58557e1c Fixed a buffer overflow that occurs when wordwrap is unable to calculate
the correct number of times the multi-byte break needs to be inserted into
the string.
2002-09-05 14:00:28 +00:00
Anantha Kesari H Y
96a4626b68 NetWare related additions/modifications 2002-09-05 12:09:57 +00:00
Anantha Kesari H Y
3e867bfdb1 NetWare related additions/modifications 2002-09-05 12:03:43 +00:00
Anantha Kesari H Y
bbc162d164 NetWare related additions/modifications 2002-09-05 11:50:43 +00:00
Anantha Kesari H Y
76d94e57ab NetWare related additions/modifications 2002-09-05 11:35:10 +00:00
Derick Rethans
60dcc761ac - php_error -> php_error_docref
- corrected proto of implode() (to match the docs)
2002-09-05 11:29:31 +00:00
Anantha Kesari H Y
98a1d774df NetWare makefile for LDAP Extension 2002-09-05 11:26:05 +00:00
Anantha Kesari H Y
ad844f0b1b NetWare related additions/modifications 2002-09-05 11:22:20 +00:00
Hartmut Holzgraefe
101d155baa in stristr:
this check was in the wrong place, the real version was some lines
below, this one assumed the type was 'string' in any case
now it looks like strstr
2002-09-05 11:12:01 +00:00
Anantha Kesari H Y
77e2ed4834 NetWare related additions/modifications into FTP files 2002-09-05 10:13:27 +00:00
foobar
c40262ef99 This _should_ fix those builds where gd.h might be in many places in
the system. Not guaranteed, but now the path for the found gd.h is always
first in the includes.
2002-09-05 00:24:33 +00:00
foobar
ba057e9bf3 Fix build with GD < 2.0.x 2002-09-05 00:22:40 +00:00
Yasuo Ohgaki
9e252a9616 php_error -> php_error_docref 2002-09-04 22:25:13 +00:00
foobar
3bf7519210 @- Added --disable-all configure option. (Jani) 2002-09-04 18:47:28 +00:00
foobar
dcf995c648 ws fix 2002-09-04 17:41:51 +00:00
foobar
25e91506cb Fix the shared build (nobody ever build this as shared?) 2002-09-04 17:40:36 +00:00
Martin Kraemer
20f85627f5 The sasl.h file is in .../include/sasl/ (at least in cyrus-sasl-2.1.6) 2002-09-04 14:41:29 +00:00
foobar
f05db43a68 Fix bug: #19212 2002-09-04 14:30:36 +00:00
Sebastian Bergmann
419321979d Don't build ext/overload with Zend Engine 2. 2002-09-04 13:55:52 +00:00
Dan Kalowsky
e5324723d0 sniper claims its safe to take these out as well. 2002-09-04 13:52:41 +00:00
Dan Kalowsky
65df9d5127 taking out the PWRITE calls too 2002-09-04 13:51:08 +00:00
Dan Kalowsky
31fe6a549f This fixes Bug #19022 and #15983 2002-09-04 13:42:59 +00:00
Martin Kraemer
ab2df38f3d Fix bogus test 2002-09-04 12:50:41 +00:00
Anantha Kesari H Y
06e2fabc02 To include the NetWare config file 2002-09-04 11:20:18 +00:00
Yasuo Ohgaki
38ef35e5b0 Fixed undefiend referece at build time.
Fixed transilit test script.
Make fixes available on Windows.
Patch by Yoshimori Koizumi<readjust@deneb.freemail.ne.jp>
2002-09-04 05:17:16 +00:00
Dan Kalowsky
610b2b76d7 Fix for bug #19155 UNTESTED. Unfortunately I don't have a way to test it
hopefully the user will.
2002-09-04 04:24:54 +00:00
Dan Kalowsky
21e5f8ed77 No C++ comments, again! 2002-09-04 04:03:20 +00:00
Dan Kalowsky
4efc96d575 No C++ Comments 2002-09-04 03:57:59 +00:00
foobar
639221694f Use zend_ini_string instead of the 'alias'. 2002-09-03 22:54:02 +00:00
Rasmus Lerdorf
86c4c1730e Check for uppercase function names in .def files - patch from David Viner 2002-09-03 20:57:20 +00:00
Rui Hirokawa
ee2e4ed41f removed #ifdef for mbstring.encoding_translation. 2002-09-03 09:11:33 +00:00
Rui Hirokawa
9b33531910 *** empty log message *** 2002-09-03 05:20:40 +00:00
Rui Hirokawa
7678ada2b8 --enable-mbstr-enc-trans is abolished to prevent some problems about POST/GET/Cookie variables. the same functionality is controllable in php.ini option mbstring.encoding_translation (default:Off). 2002-09-03 05:18:20 +00:00
Sergey Kartashoff
e32f35eb4e - Udm_Cat_Path, Udm_Cat_List, Udm_Get_Doc_Count functions have been fixed
to work with mnogosearch-3.2.6 and later.
- Removed search words highlighting while getting document URL in
  mnogosearch extention
2002-09-01 14:11:46 +00:00
Jan Lehnardt
2334abeff4 - cosmetics 2002-08-31 21:43:54 +00:00
Adam Dickmeiss
b18b6f3691 Bug fix: dont cache connection if proxy setting have changed 2002-08-30 13:26:41 +00:00
foobar
06fe943795 Fix shared build 2002-08-30 03:52:41 +00:00
foobar
4e34d6ce27 Fix bug: #19124, xmlrpc extension builds ok now as shared extension. 2002-08-30 02:57:13 +00:00
foobar
55b22b16a2 xpm.h is sometimes in /usr/include/X11 (or /usr/X11R6/include/X11) 2002-08-30 02:44:45 +00:00
foobar
bda34955db Fix the build when bundled gd library is used 2002-08-30 02:41:52 +00:00
Jan Lehnardt
81dcd62bc2 - seperate registered streams.
#read: make sebastian happy ;)
2002-08-29 18:28:11 +00:00
Ilia Alshanetsky
7a7497e21b Fixed the \0 check in previous patch. 2002-08-29 15:58:33 +00:00
Ilia Alshanetsky
337448322f Fixed bug #18966 2002-08-29 15:44:00 +00:00
foobar
e040302807 Remove unnecessary whitespace 2002-08-29 15:28:09 +00:00
Jan Lehnardt
e1cac684df - fix ZTS build. thanks to edin. 2002-08-29 09:11:22 +00:00
Marcus Boerger
38247a7993 One zero to much 2002-08-29 08:32:41 +00:00
Derick Rethans
9d31d92712 - EXIF is about meta data from images, not for digital cameras 2002-08-29 05:36:42 +00:00
foobar
04bbf46957 Fix bug: #19159, mysql_field_count was available since 3.22.24 2002-08-29 01:17:24 +00:00
foobar
715615ea6b revert that undiscussed change until it is really agreed upon. 2002-08-29 00:55:24 +00:00
Ilia Alshanetsky
f387972a97 Fixed compile warning (unused variable)
Added a \n separator between Addition Modules
2002-08-28 23:19:59 +00:00
Jan Lehnardt
6676617693 - add phpinfo() support for CLI.
@phpinfo() support for CLI (jan)
2002-08-28 22:31:51 +00:00
Rasmus Lerdorf
89651dabde Description didn't match the function here 2002-08-28 22:14:42 +00:00
Marcus Boerger
562b78f422 Enable EXIF by default as discussed with Rasmus
@Made EXIF (digital camera) extension enabled by default. (Marcus)
2002-08-28 19:31:01 +00:00
Derick Rethans
a235002eeb - Let's make this a little bit more professional :) 2002-08-28 12:10:00 +00:00
Derick Rethans
5b9a26da81 - Whitespace 2002-08-28 09:28:06 +00:00
Jason Greene
b3a1998386 @socket_recvfrom is now binary safe (Jason)
Zero the structure so that when the tcp layer of the OS decides to ignore it,
we do not think we are getting a value
2002-08-28 06:15:13 +00:00
Dan Kalowsky
936df3c34f silence build warning, added default case 2002-08-28 06:13:49 +00:00
foobar
d102e54d5b This extension is not forced to be compiled as shared. 2002-08-28 02:44:40 +00:00
foobar
3410e25b17 Added the header and removed some commented out stuff (wrong place anyway) 2002-08-28 02:43:46 +00:00
foobar
73f43e35f0 ws fixes 2002-08-28 02:38:17 +00:00
foobar
1939764d98 Fix ZTS build 2002-08-28 02:08:57 +00:00
Brad House
77208efb26 Adding a left-out command 2002-08-27 20:55:48 +00:00
Marcus Boerger
1ab90386cf Some requirements engineering: today necessary defines exists where
needed.
2002-08-27 20:10:46 +00:00
Marcus Boerger
d1b56bf810 php_error_docref
BUT didn't we decide to disable those functions when not supported
instead of displaying an error?
2002-08-27 19:40:55 +00:00
Marcus Boerger
965ecdb3a6 php_error_docref 2002-08-27 15:32:04 +00:00
Marcus Boerger
a8027c1428 Remove this nonsense - this makes the module unpredicable since we do
not have default values in ini and more encodings will follow.
2002-08-27 14:57:09 +00:00
Christian Stocker
e8b3e2abe7 fix some to long property strings 2002-08-27 08:40:44 +00:00
Christian Stocker
b29110dd3d argh, domxml_doc_free is not yet ready for CVS :) 2002-08-27 07:33:55 +00:00
Christian Stocker
567c4bbe4b stupid typo 2002-08-27 07:25:53 +00:00
Christian Stocker
e0b4533eeb fix memleak in php_domxslt_string_to_xpathexpr 2002-08-27 06:54:21 +00:00
Marcus Boerger
a3c5628f82 -php_error_docref
-nuke unused variable
2002-08-27 00:44:57 +00:00
Marcus Boerger
f06fcbd59a header for last commit 2002-08-27 00:44:07 +00:00
Marcus Boerger
36ede8b86f -fix memory leak on failure
-only use one function for nearly identical things
-fix stripslashes not working on input directly
2002-08-27 00:20:37 +00:00
Marcus Boerger
6063c8c478 fix fwrite to no longer apply stripslashes on input string when
magic_quotes_runtime is set On.
2002-08-26 23:18:59 +00:00
Marcus Boerger
f0b492b88d fix proto and tweak error message 2002-08-26 23:16:51 +00:00
Wez Furlong
cfb5002e0b Implement com_invoke_ex, which allows the user to specify the invoke kind
flags, so that custom invocations can be made.
Tidy up code for com_propget and com_propset, so that it can work with
objects as well as resources.
# This code is from a couple of months ago, and has been hanging around
# on my windows dev box; I'm not entirely sure where I needed com_invoke_ex,
# but the additions to propget and propset are useful.
2002-08-26 13:36:35 +00:00
Derick Rethans
fc7eb838fc - Whitespace 2002-08-26 09:47:46 +00:00
Derick Rethans
7edb660af9 @- Use escape_shell_cmd() to allow multiple extra parameters to the
@  invocation of the mailer as used in the fifth parameter to mail(). (Derick)
- Use escape_shell_cmd() to allow multiple extra parameters to the invocation
  of the mailer as used in the fifth parameter to mail().
2002-08-26 09:44:31 +00:00
Jason Greene
1ce75e3a63 Implement socket errno values for UNIX based platforms.
They are all prefixed with SOCKET_ to preserve name space
Win32 will follow...
2002-08-25 23:28:42 +00:00
Sebastian Bergmann
e8b50bc834 Fix ZTS build. 2002-08-25 22:17:56 +00:00
Wez Furlong
ddddf398af WS 2002-08-25 19:44:25 +00:00
Ilia Alshanetsky
64ef43ecd4 Slight optimization of php_strtoupper & php_strtoupper functions. 2002-08-25 19:08:07 +00:00
Marcus Boerger
412c2ba7a3 MFB 2002-08-25 18:48:46 +00:00
Marcus Boerger
ba40963985 improoved error messages 2002-08-25 18:21:40 +00:00
Derick Rethans
8218b5838c @- PHP's cURL extention now requires cURL version 7.9.8 (Derick)
- Bump up required version number of cURL to 7.9.8
2002-08-25 12:24:40 +00:00
Wez Furlong
5c6ad38c31 Prevent possible problems with include_path. 2002-08-25 12:09:57 +00:00
Wez Furlong
c7be7b55d1 Add a "closing" parameter for filters to determine if a flush is the last
flush before the stream is closed.  This allows filters to finish a chunk
and write footers etc.
2002-08-25 10:26:58 +00:00
Wez Furlong
27adb75585 Remove php_stream_error as discussed with Rasmus.
Unify error messages for ext/ftp. (which was using php_stream_error).
2002-08-25 10:10:23 +00:00
Yasuo Ohgaki
798236bc93 Changed pg_connection_info()/pg_connection_reset()/pg_connection_busy()/pg_result_status()/pg_result_error() silently return FALSE when resource is not passed to them.
@ Changed pg_connection_info()/pg_connection_reset()/pg_connection_busy()/pg_result_status()/pg_result_error() silently return FALSE when resource is not passed to them. (Yasuo)
2002-08-24 22:28:28 +00:00
Yasuo Ohgaki
d23cb1686d Rename mysql_character_set_name() to mysql_client_encoding(). pg_client_encoding() is available from PHP4.0.3 and this function is available from PHP 4.3.0 2002-08-24 21:41:25 +00:00
Zeev Suraski
4b81d04210 Undeprecate mysql_db_query() 2002-08-24 13:15:35 +00:00
Stefan Esser
3efb925931 Overwrite control chars in parameters with whitespace instead of truncating. 2002-08-24 11:37:50 +00:00
Georg Richter
11bd3c08b6 changed zend_error -> php_error_docref() 2002-08-24 10:53:40 +00:00
Den V. Tsopa
a1e0e5c859 convert encoding to cp1251,cp866 was not working, fixed 2002-08-24 09:48:00 +00:00
Georg Richter
3bd2a54064 changed error messages according to CODING_STANDARDS 2002-08-24 09:27:51 +00:00
Yasuo Ohgaki
e4f9053061 Fixed typo 2002-08-24 07:19:40 +00:00
Yasuo Ohgaki
488a1e7399 Make pg_result_status() a little more useufl by ignoring invalid
parameter and return FALSE.
(i.e. pg_query() may return FALSE instead of result resource)
2002-08-24 07:18:15 +00:00
Marcus Boerger
149ad05b4f php_error_docref
#New conversion available at: http://docref.txt.marcus-boerger.de
2002-08-24 01:19:28 +00:00
Zeev Suraski
5a5e206ec2 Fix import_request_variables() 2002-08-24 00:45:09 +00:00
foobar
135a1c64c4 Made this extension to use the resource stuff 2002-08-23 22:24:02 +00:00
foobar
06c6a96721 ws fix 2002-08-23 20:57:30 +00:00
Rasmus Lerdorf
53e6c07907 stream closing bug here too 2002-08-23 17:53:03 +00:00
Wez Furlong
533c16e21e Fix segfault reported by Rasmus. 2002-08-23 17:45:46 +00:00
Georg Richter
6650761f9b fixed bug #18643 2002-08-23 15:56:34 +00:00
Christian Stocker
064fb5c3cb renamed xslt_dump_* to xslt_result_dump_* to avoid confusion
# will adjust NEWS file later
2002-08-23 15:26:19 +00:00
Christian Stocker
9278d9bf1a fix memleak in xslt->dump_mem() 2002-08-23 15:19:16 +00:00
Georg Richter
0c386174db fixed bug #19016
SSL is only available for MYSQL_VERSION_ID >= 40000
2002-08-23 14:10:27 +00:00
Georg Richter
8153dfc877 fixed bug #16965 2002-08-23 10:16:19 +00:00
Zeev Suraski
a6e8e72372 Fix ob_gzhandler()'s handling of requests w/o compression but that do have
the Accept-Encoding header
2002-08-23 08:37:35 +00:00
Ilia Alshanetsky
081e420c18 Fixed a typo 2002-08-22 19:19:37 +00:00
Marcus Boerger
17743955d0 more php_error_docref 2002-08-22 19:14:27 +00:00
Marcus Boerger
727067f59c php_error_docref... 2002-08-22 18:38:44 +00:00
Wez Furlong
62b7b412e2 *cough* 2002-08-22 17:40:25 +00:00
Wez Furlong
a388ab6205 Fix error messages. 2002-08-22 17:37:46 +00:00
Marcus Boerger
902c17e05a fiw warnings 2002-08-22 16:21:32 +00:00
Christian Stocker
8e52350a49 - moved xslt_dump_ to better place
- removed unused variables
2002-08-22 16:04:28 +00:00
Christian Stocker
1a486b6676 @- Added XsltObject->dump_file($result,$filename[,$compression]) for dumping
@  xslt-result directly into a file. (chregu)
2002-08-22 15:54:23 +00:00
Christian Stocker
1f57dec2bf @- Added XsltObject->dump_mem($result) for returning xslt-result directly
@  into a string (morus.walter@web.de, chregu)

- XsltObject->dump_file() will follow
- bumped up needed libxslt version to 1.0.18
2002-08-22 15:02:41 +00:00
Christian Stocker
2ce44cd99c return version number of linked libxml2, not of the one, which it was
compiled against
2002-08-22 14:32:43 +00:00
Marcus Boerger
9b9052f27a fix zts build 2002-08-22 14:02:08 +00:00
Mark L. Woodward
7711aac1d8 Removed C++ comments 2002-08-22 13:30:03 +00:00
Edin Kadribasic
3c4c2926d0 magic.mime seems to be more common name for the file. 2002-08-22 13:23:51 +00:00
Edin Kadribasic
55173781b5 @- Made mime_magic extension available on win32 platform. (Edin)
Mime_magic extensions builds on windows now.
2002-08-22 13:16:03 +00:00
Ilia Alshanetsky
848bcf7527 Instead of hardcoding the path of magic.mime file, try to find the file
inside common paths for the file.
2002-08-22 12:21:25 +00:00
Ilia Alshanetsky
484d7793e0 Fixed a number of compile warnings. 2002-08-22 12:15:20 +00:00
Christian Stocker
47d8e08b11 @ - Added xslt_backend_version() and xslt_backend_name() for getting
@   information about the processor backend. (chregu)
2002-08-22 09:54:06 +00:00
Stefan Roehrich
0ea1dda8cd Fixed prototype.
Fixed double printing of function name in docref error messages.
2002-08-22 09:38:55 +00:00
Tim Toohey
266193159b (PHP imagecolormatch) makes a palette image match the colours in the
true-color version.
(PHP imagelayereffect) extended alpha-channel mixing effects for the
                       bundled GD library
@Added ImageColorMatch() and ImageLayerEffect() functions
@which work with the bundled GD library (ttoohey)
2002-08-22 07:28:26 +00:00
Jason Greene
261a60a360 @Made major improvents to the pcntl extension(Jason):
@ - Greatly improved performance, by switching the signal callback mechanism
@   to use ticks
@ - Implemented object signal callback ability by using array($obj, $method)
@ - Added a restart parameter to pcntl_signal, which allows you to disable
@   the default of system call restarting
Changed callback hash table to be initialized and destroyed per reqeust
(allows the ability to use request life zvals as handles)
Nuked warnings
Modified test script to adjust to new ticks backend
Some slight WS fixes
2002-08-22 04:20:10 +00:00
foobar
faff3a6e8a kill some compile warnings 2002-08-22 01:25:52 +00:00
foobar
ff5ed789bc style fix 2002-08-22 01:20:50 +00:00
foobar
0d4776625a comment out unused variable 2002-08-22 01:06:14 +00:00
foobar
7796bc12dd kill compiler warning (unused variable) 2002-08-22 00:43:18 +00:00
foobar
b9d4067001 Fix typo. 2002-08-22 00:34:07 +00:00
Marcus Boerger
d104d08a84 These require exif and mbstring 2002-08-21 23:14:40 +00:00
Ilia Alshanetsky
ea1bb5e172 Added monetary.h to prevent compile warning.
Fixed a memory leak inside money_format function, which occures if the
parameters to the function are not valid.
Fixed a segmentation fault inside money_format in the event the value
to be formated is >1024 bytes.
Made the return value of money_format be null terminated.
2002-08-21 13:14:57 +00:00
Marcus Boerger
3b24fc1c5a Reflect recent changes to exif.c 2002-08-21 11:37:22 +00:00
Marcus Boerger
95e933fc99 Fixes array test 004.phpt. Nice copy paste error. 2002-08-21 11:23:44 +00:00
Marcus Boerger
a70640480a Patch from Melvyn Sopacua <msopacua@idg.nl> finally fixes it (bug 19006). 2002-08-21 10:42:55 +00:00
Sebastian Bergmann
090e30a863 Fix ZTS build. 2002-08-21 06:22:19 +00:00
Derick Rethans
ccf51590b3 - Proper format for CREDITS files 2002-08-21 05:41:49 +00:00
Uwe Steinmann
6a79e354c1 - gave overdue credits to christian 2002-08-21 05:39:28 +00:00
Dan Kalowsky
4809e8ebbc This final change enables the ext/java to compile on OSX.
# now to do testing and ensure that it works as stated... weeee...
2002-08-21 04:42:58 +00:00
Ilia Alshanetsky
a86b1fc275 Fixed compile warning. 2002-08-21 03:59:27 +00:00
Marcus Boerger
d3d12daec4 add ini setting precision - this does not fix the real problem here 2002-08-21 03:13:33 +00:00
Marcus Boerger
e0c967508a more ini settings 2002-08-21 03:10:55 +00:00
Dan Kalowsky
a832091a2c One more patch up towards OSX compatibility...
# it compiles now with the ObjC files (Finlay Doobie rocks the casbah)
2002-08-21 01:41:22 +00:00
Marcus Boerger
be1e23cbc9 Add var_dump float format test 2002-08-21 01:27:56 +00:00
Marcus Boerger
534a63b5af Add combined base64 and md5 test 2002-08-21 01:26:21 +00:00
Marcus Boerger
9607a482b2 fix array tests
someone must have changed precision in php.ini-dist from 14 to 12
2002-08-21 01:22:02 +00:00
Dan Kalowsky
7ac1397636 Correcting english in config 2002-08-20 23:08:24 +00:00
Wez Furlong
9d348ea800 Implement filter API for streams.
Filters can be stacked onto a stream; more details will follow in docs and
on php-dev.

Implement "string.rot13" filter

Allows the following script:

$fp = fopen("file.txt", "r");
stream_filter_prepend($fp, "string.rot13");

// File contents will be subject to a rot13 transformation before
// being output.
fpassthru($fp);
fclose($fp);
2002-08-20 20:47:47 +00:00
Wez Furlong
a9ba30cd89 fix vim modeline 2002-08-20 20:43:45 +00:00
Marcus Boerger
f15b4c1e30 change to php_error_docref()
#documentation about output relevant ini settings will be in ref.outcontrol
2002-08-20 20:22:30 +00:00
Marcus Boerger
0f8681fc69 Changed handling of output buffer sizes. 2002-08-20 20:07:00 +00:00
Marcus Boerger
7bd7e14e4c Changed handling of output buffer sizes.
#.c to follow
2002-08-20 20:01:14 +00:00
Marcus Boerger
fdf514f45c Changed handling of output buffer sizes. 2002-08-20 19:51:00 +00:00
foobar
c4d424254a remove tabs 2002-08-20 12:01:24 +00:00
Derick Rethans
c20c3fc610 - Fix for the compiler on Compaq Tru64 4.0F PK3 (bug #18974) 2002-08-20 11:18:18 +00:00
Marcus Boerger
bb258468fc NO C++ comments 2002-08-20 10:00:28 +00:00
Edin Kadribasic
e632758b19 Windows build supports returning the sql statement which failed. 2002-08-20 09:15:11 +00:00
Edin Kadribasic
48389cc2a6 Fixed build with Oracle 8.0.x (bug #18973). 2002-08-20 07:26:50 +00:00
Wez Furlong
5f9a5a7c8e Remove php_stream_sock_set_blocking and replace with
php_stream_set_option which can be used in a similar way as ioctl()
to set options for streams.

Current options include buffering and blocking support.

o Buffer control is support for stdio based streams.
o Blocking/non-blocking is supported for stdio and socket based streams.
2002-08-19 22:59:10 +00:00
Ilia Alshanetsky
6dbc0e5483 Convert the value of tz_minuteswest inside struct timezone on Windows to
minutes from seconds.
2002-08-19 21:59:46 +00:00
foobar
7ea1e2d511 Fix the build when using --with-java without any path 2002-08-19 21:49:37 +00:00
Adam Dickmeiss
e1a8983287 Make options piggyback and timeout work with ZOOM 2002-08-19 21:15:59 +00:00
Zeev Suraski
df4fdeb54e Fix a warning 2002-08-19 20:47:42 +00:00
Sander Roobol
bed405cce4 Sync with var_unserializer.re 2002-08-19 20:02:59 +00:00
Sander Roobol
47ae4068bb Made unserialize handle floats with an E notation - bug #18654
Patch by Christophe Sollet <csollet@coleebris.com>.
(I'll commit a new var_unserializer.c in a second)
2002-08-19 19:45:46 +00:00
Christian Stocker
9698d5da45 w3c adjustments :)
- has_attributes returns empty string if attribute is not there
- parent_node returns null, if no parent
2002-08-19 14:01:04 +00:00
Stanislav Malyshev
2282ac6074 ZE2 compatibility fix
## In ZE2 the hash contains zend_class_entry *!
2002-08-19 10:58:18 +00:00
Stanislav Malyshev
05156fa349 ZE2 compatibility fix
## In ZE2 the hash contains zend_class_entry *!
2002-08-18 12:22:28 +00:00
Ilia Alshanetsky
1aea030cf2 Corrected if() syntax in previous patch. 2002-08-18 07:54:33 +00:00
Ilia Alshanetsky
d42dbfce8e Fixed a segmentation fault that would occur if an entry contained a
non-terminated enclosure. Bug #12556
2002-08-18 06:55:32 +00:00
Anil Madhavapeddy
d5fd43be37 include PDFLIB_SHARED_LIBADD in the pdflib test, or it fails with
unresolved symbols on OpenBSD
2002-08-18 05:13:05 +00:00
James Cox
aad8f14739 reverting to 1.73 for steph (sfox@php.net)
#is it just me or reverting using cvs just suck?
2002-08-18 05:05:44 +00:00
Dan Kalowsky
4e3cb1d3c5 Bug Fix #18960 - Submitted by alan_k@php.net 2002-08-18 04:33:10 +00:00
Zeev Suraski
3b646f0e5d Use mtime instead of atime, as we always update the session file anyway. 2002-08-17 20:32:26 +00:00
Christian Stocker
6cbb350607 More W3C conformance stuff (they returned all false before..)
- DomNode->attributes() returns NULL, if not found.
- DomNode->first_child() returns NULL, if not found
- DomNode->last_child() returns NULL, if not found.
- DomNode->namespace_uri() returns NULL, if not found.
2002-08-17 11:47:21 +00:00
foobar
2ae84184d3 ws fixes 2002-08-16 23:25:53 +00:00
Dan Kalowsky
26e044a143 Silence a compiler warning, and returns the SUCCESS value on PHP_MINIT 2002-08-16 16:56:55 +00:00
Andi Gutmans
f7096fb8fc - Use tabs instead of spaces for indentation!
- Fix all sorts of ugly whitespace things.
- People, please write code according to our standards even if you don't
- like them.
2002-08-16 15:45:22 +00:00
Ilia Alshanetsky
3bd899ea43 Fixed a compile failure in Win32 caused by previous patch.
Changed else statement to comply with PHP coding standards.
2002-08-16 15:04:00 +00:00
Jason Greene
980feb5e98 Nuke warnings on strict compilers 2002-08-16 14:23:27 +00:00
Ilia Alshanetsky
f11c3a4095 Added a handler for php -r '' for SAFE_MODE 2002-08-16 12:47:56 +00:00
Sterling Hughes
88c1d8983f clean this up a bit 2002-08-16 10:08:32 +00:00
Christian Stocker
9c20c7c9ba More on the way to W3C coformance:
@- Changed DomNode->next_sibling and DomNode->previous_sibling to return NULL
@  instead of false (W3C specs). (chregu)
@- Changed DomNode->insert_before() and DomNode->append_child() to conform to
@  W3C specs (moving not copying nodes, accepting NULL as 2nd param). (chregu)
2002-08-16 08:42:41 +00:00
Ilia Alshanetsky
b284497eaf Added safe_mode & open_basedir check when a user is chaning ini options
that specify file system paths. Fixes bug #17168.
2002-08-16 01:39:10 +00:00
Zeev Suraski
900651b7ab Make unset($_SESSION['foo']) actually remove the variable from the session,
if register_globals is off.
2002-08-15 21:44:44 +00:00
Zeev Suraski
cc287d4c21 Update email address 2002-08-15 21:43:41 +00:00
Dan Kalowsky
26986164b4 Correcting some english in the comment... 2002-08-15 19:32:08 +00:00
Dan Kalowsky
dee21adc3d Fix for bug #18401, makes shuffle() properly generate all possibilities.
Patch provided by Adam Trachtenberg <adam@trachtenberg.com>
2002-08-15 19:09:05 +00:00
Christian Stocker
993d235c07 include libxml/xinclude.h to make some compilers happy 2002-08-15 18:02:25 +00:00
Dan Kalowsky
1462813bfd A fix suggested by chregu (who doesn't have karma) to re-enable older java
JDKs to work.
2002-08-15 14:18:09 +00:00
Christian Stocker
2126f799b9 proto fixes 2002-08-15 13:26:32 +00:00
Christian Stocker
c0f4035116 @ - Added DomNode->set_namespace(uri[,prefix]) (chregu)
- Added third optional parameter (prefix) to DomDocument->create_element_ns()
- generate prefix from random number, if not provided.
2002-08-15 12:43:44 +00:00
Alan Knowles
d46bdbde66 changed default stop bits to a valid value 2002-08-15 09:39:35 +00:00
Alan Knowles
08887eaaf2 changed default stop bits 2002-08-15 09:37:26 +00:00
Alan Knowles
0dc8cdd4c7 adding dio_tcsetattr and ASYNC support 2002-08-15 09:23:41 +00:00
Zeev Suraski
0e6b647741 coming to think of it, it shouldn't be necessary at all (thanks Jani :) 2002-08-15 00:37:21 +00:00
Zeev Suraski
f4196d9bd2 Fix build 2002-08-15 00:35:36 +00:00
Marcus Boerger
18ef76e361 do not include "php_have_iconv.h" 2002-08-14 23:48:52 +00:00
Yasuo Ohgaki
13a3dd7b77 Forgot to update source default. 2002-08-14 22:31:39 +00:00
Dan Kalowsky
c55d024c29 Comming a fix for a compile error found in Bug #15630
# NOTE this is NOT the supplied patch in said bug for fixing imap_utf7_decode
2002-08-14 20:55:11 +00:00
Dan Kalowsky
161e279981 Silencing a compilier warning on windows 2002-08-14 20:40:48 +00:00
Dan Kalowsky
f3fc7fe2fd Updating the error message to state a difference between libraries and
include.  Also restoring old for search to keep BC on configure
2002-08-14 17:49:41 +00:00
Christian Stocker
5c935cb372 - let DomNode->replace_child always behave correctly (acc. to W3C specs)
if the newchild had the same parent as the old child, nothing happened,
which seemed strange behaviout to me...
2002-08-14 17:38:20 +00:00
Dan Kalowsky
4b691d154a Adding a check for the binaries rather than just the directories. 2002-08-14 17:04:05 +00:00
Christian Stocker
ce71fe0288 DomNode->replace_node moves instead of copies node. 2002-08-14 16:53:56 +00:00
Dan Kalowsky
d10bf42029 JavaC doesn't take flags like this, Java jar does, pay attention kalowsky 2002-08-14 16:53:49 +00:00
Dan Kalowsky
00b467bd6a cleaning up the displayed path (removing the ./ in the middle) 2002-08-14 16:49:22 +00:00
Dan Kalowsky
38a6873f20 correcting these to be only docref's not docref1's 2002-08-14 16:23:16 +00:00
Dan Kalowsky
73557f5b52 Adding in MSG_RESULT check and \n for configure output viewing 2002-08-14 16:22:20 +00:00
Christian Stocker
c0a79401fd - fix for bug #17771 (insert_before misbeaviour (DOM L2 spec.))
@ - DomNode->insert_before behaves now according to W3C spec
@   ie. new_child is moved, not copied. (chregu)
2002-08-14 16:12:18 +00:00
Dan Kalowsky
9f597d2dd1 Correcting mis-versioned comment 2002-08-14 16:11:49 +00:00
Dan Kalowsky
8d9487c00e JAVA_INCLUDE, not JAVE_INCLUDE 2002-08-14 16:01:13 +00:00
Dan Kalowsky
49dd85c460 A little more clean up on the error messages, with a sample JDK 1.3 path to libjava.so 2002-08-14 15:29:48 +00:00
Dan Kalowsky
8b1e7744c1 correcting the AC_MSG_RESULT line 2002-08-14 14:37:04 +00:00
Dan Kalowsky
ba07aa06d8 adding in PATH check for JavaJar as well... 2002-08-14 14:36:08 +00:00
Christian Stocker
63874f9017 @ - Added some namespace support with DomNode->add_namespace(uri, prefix)
@   and DomDocument->create_element_ns(uri, nodename) (chregu)
2002-08-14 14:23:44 +00:00
Dan Kalowsky
6be8fb6a2e Fix a bug for a user provided path as eru. 2002-08-14 13:48:44 +00:00
Christian Stocker
780c1605c8 bump up api version number 2002-08-14 09:20:19 +00:00
Christian Stocker
280cb97fef fix for bug #18196
@ - DomElement->node_name() takes optional boolean argument for retrieving
@ -  full qualified name (ie namespace prefix) (chregu)
2002-08-14 09:07:34 +00:00
Christian Stocker
323765cc17 fix for bug #18395 (DOMXML crash on removing previously created attributes) 2002-08-14 08:27:36 +00:00
Christian Stocker
43bdd6ed73 @ - DomNode->child_nodes() returns empty array instead of false, if no
@ - child nodes are found (chregu)
2002-08-14 07:29:46 +00:00
Den V. Tsopa
e139decdea Revert from patch added mb_guess_encoding to previous version 2002-08-14 06:38:07 +00:00
Yasuo Ohgaki
8c020d357f Add warning... It seems posting message to php-dev/php-cvs does not work! 2002-08-14 06:28:16 +00:00
Den V. Tsopa
4f5743582e Added new function mb_guess_encoding, based on symbols rating 2002-08-14 05:41:40 +00:00
Brad LaFountain
7c1d2ff2e4 some more doc/lit stuff
some more wsdl stuff
2002-08-14 05:26:25 +00:00
Dan Kalowsky
2f1b6397bc Fix for Bug #17572 2002-08-13 23:48:05 +00:00
Dan Kalowsky
19e42a2ed3 Fixed another memory leak, patch provided by Ilia <ilia@prohost.org> 2002-08-13 23:12:54 +00:00
Dan Kalowsky
ed135034a9 Fixes a memory leak which results when an invalid format code is
specified.  Patch by Ilia <ilia@prohost.org>
#Someone give him php4 karma :)
2002-08-13 21:56:39 +00:00
Dan Kalowsky
ce160f1bde fixing my misunderstanding of the php_error_docref 2002-08-13 21:39:36 +00:00
Dan Kalowsky
4fcca0167b Removing the PHP_31 tag...
# I'm not sure if the rest of this define can go or not...
2002-08-13 21:35:54 +00:00
Dan Kalowsky
ea6ed5b8a5 Fixing the php_error_docref's to be compliant with the standard.
# Can't we just compress all these docrefs down to one function?!?
2002-08-13 13:26:31 +00:00
Marcus Boerger
6474731f91 some work on the messages 2002-08-13 09:41:30 +00:00
Dan Kalowsky
e9dcdd12aa Fix for Bug #18873 2002-08-13 05:12:32 +00:00
Rasmus Lerdorf
b025bb1023 Missing proto 2002-08-13 05:08:47 +00:00
Rasmus Lerdorf
7a8330acd9 Single-line comments please 2002-08-13 05:00:11 +00:00
Dan Kalowsky
039902b912 spelling error 2002-08-13 04:52:50 +00:00
Dan Kalowsky
aed9e2355c Added more folding markers.... 2002-08-13 04:47:02 +00:00
Rasmus Lerdorf
f50df31d7f bool not boolean 2002-08-13 04:44:45 +00:00
Rasmus Lerdorf
3ffe4cb1ff bool not boolean 2002-08-13 04:37:28 +00:00
Rasmus Lerdorf
d820c177bf dir() returns an instantiated object, not a class. 2002-08-13 04:24:15 +00:00
Rasmus Lerdorf
87ddcef3c3 Don't use long as a type 2002-08-13 04:20:34 +00:00
Rasmus Lerdorf
fb0c9122c1 Fix typo 2002-08-13 04:19:25 +00:00
Rasmus Lerdorf
0779da509b Don't use long as a type 2002-08-13 04:11:51 +00:00
Dan Kalowsky
f9e8a5701b Fix for Bug #18746 by sfox and I
#What is the GDBM_FIX for anyways, we can find it anywhere?
2002-08-13 04:10:31 +00:00
Dan Kalowsky
099d7df2e5 Let to php_error_docref revolution begin 2002-08-13 00:45:08 +00:00
Marcus Boerger
4294f2a93d use of php_error_docref 2002-08-12 20:18:25 +00:00
Marcus Boerger
ac9991a245 -wrong fabsf define for MSVC.6
-MIN and MAX only if undefined
#should be last commit to fix all warnings (-:
2002-08-12 19:09:26 +00:00
Dan Kalowsky
7d5d00bf81 Point corrected by Markus 2002-08-12 18:21:33 +00:00
Dan Kalowsky
8d2d105cff Umm forgot to clean up the error messages, and add a stop for looping. 2002-08-12 16:17:18 +00:00
Dan Kalowsky
ee240f5e4b cleaned up to work with OpenLink iODBC better 2002-08-12 16:04:48 +00:00
Wez Furlong
fc1ef270ce Implement curl based wrappers.
Currently read-only, and http is the only thing tested.
Because of this, using them can be controlled by configure:

--with-curlwrappers     Use CURL for url streams

Not for production use...

This enables http, https, ftp and ldap protocols as streams.
2002-08-12 15:56:13 +00:00
Marcus Boerger
bdaae34cb9 ups wrong include committed
#if anybody objects we would need config stuuf in ligd otherwise but
#this way we can use other php functions...for example we could use
#php_error_docref....
2002-08-12 15:29:05 +00:00
Marcus Boerger
2df2e24a54 check for fabsf and floorf in config.m4
msvc.6 needs a define, msvc.net needs special treatment
2002-08-12 13:59:01 +00:00
Christian Stocker
c0f12111ba @ - Added $DomDocument->xinclude() for substitution of XIncludes in
a DomDocument (chregu)
2002-08-12 13:11:50 +00:00
Marcus Boerger
9d03c0bdf0 more conversion fixes 2002-08-12 09:58:51 +00:00
Dan Kalowsky
7b9de90061 okay confirmation they don't exist in another driver... they're gone 2002-08-12 00:00:54 +00:00
Marcus Boerger
0dcbf7e375 -quick hack to allow compilation under windows again
-correct solution to follow tomorrow
2002-08-11 23:56:11 +00:00
Dan Kalowsky
6b31498d09 The start of adding odbc_data_source() functionality 2002-08-11 23:39:03 +00:00
Marcus Boerger
251882de7d missed to commit this fix: correct since this is only a flag 2002-08-11 19:19:35 +00:00
Marcus Boerger
b9c0c918cc try even more to fix those warnings.....
#repeat: this code must come from hell
2002-08-11 19:13:07 +00:00
Wez Furlong
3fe62cf0fb Missing word... 2002-08-11 18:51:40 +00:00
Dan Kalowsky
299494ea5e The start of adding in MacOSX compatibility. No objections on the
php-dev list from the sent patch for a week.  Test and fix.
2002-08-11 15:33:25 +00:00
Wez Furlong
bcef712ad6 Properly implement TSRM parameters to the new log_error
function... (Thanks Marcus!)
Add a convenience macro for importing a stream from a zval.
2002-08-11 14:29:01 +00:00
Marcus Boerger
f9b6bac2a8 try to get this work ... 2002-08-11 14:05:30 +00:00
Marcus Boerger
1723861618 try to fix those warnings.....
#this code must come from hell: will we change code to our coding-scheme?
2002-08-11 13:50:27 +00:00
Wez Furlong
5a21ab42cb Introduce an error stack for wrappers, to help prevent multiple errors
and warnings (some of which are bogus) when there are problems opening
streams.
Implement sanity check on the mode used to open ftp and http connections.
This fixes Bug 12004.
2002-08-11 10:53:10 +00:00
Yasuo Ohgaki
42355837c1 Changed my mind.
Let users decided whether users want larger chunk size or not.
@ Changed zlib.output_compression behavior. If larger chunk is preferred,
  enable output_buffering also. (Marcus, Yasuo)
2002-08-11 02:32:49 +00:00
Yasuo Ohgaki
02ed705818 Generally speaking, sending packets less than 1KB is not efficient.
We're better to take some benchmarks see if removing extra buffer
is actually a good idea or not.
2002-08-11 01:11:11 +00:00
Wez Furlong
0c7a386b3e correct proto 2002-08-10 20:19:49 +00:00
Marcus Boerger
21903dfc7e corrected handling of internal output buffers
minor fixs
2002-08-10 16:12:36 +00:00
Marcus Boerger
ff63bf2a4f no need to start additional first buffer when output compression is first buffer 2002-08-10 12:58:46 +00:00
Marcus Boerger
289607970c should fix all windows warnings 2002-08-10 10:40:59 +00:00
Marcus Boerger
9c8ba935d6 Improved handling of output buffers (see news)\n#No trim for the string parameter... 2002-08-09 22:29:58 +00:00
Georg Richter
0019a842b4 forgot to remove another LOCAL_INFILE opion call 2002-08-09 21:13:00 +00:00
Wez Furlong
ccb5c84b6c Centralize some blocking socket related code.
# It's been a while since I wrote this!
2002-08-09 21:02:36 +00:00
Wez Furlong
9eb215511f syntax highlighting for vim 2002-08-09 20:56:52 +00:00
Marcus Boerger
783fddeb0f possible memoryleak 2002-08-09 20:53:37 +00:00
Georg Richter
34b166579c fixed bug #18815 2002-08-09 20:38:12 +00:00
Yasuo Ohgaki
c528157123 Remove duplicated checks. 2002-08-08 22:59:41 +00:00
James Cox
073d7a483f thunder seems to have stopped 2002-08-08 21:26:49 +00:00
Hartmut Holzgraefe
1059312f37 reverting ' to \" to stop stupid discussions
although i still do not believe the arguments are reasonable ...
2002-08-08 20:19:33 +00:00
Sebastian Bergmann
9abdbd9c29 Fix warnings. 2002-08-08 18:55:19 +00:00
Marcus Boerger
9cf0c30968 those are allways defined -> fixes warning in basic_functions.c 2002-08-08 17:53:52 +00:00
James Cox
66e78004c1 Reverting patch. after more investigation this doesn't help in all that many cases, and with Wez's better patch, sometimes degrade's quality. 2002-08-08 15:02:14 +00:00
Hartmut Holzgraefe
e539c5564d the order to do things is save-compile-commit
no variations and make sure editor and shell are in the same dir :(
2002-08-08 13:59:19 +00:00
Hartmut Holzgraefe
83586a6c06 fix for #18782 (setting background color without making sure the text
crtmut in /new/php/php4untouched on hartmut
php4untouched > cvs update ext/standard/info.
cvs [update aborted]: received interrupt signal

hartmut in /new/php/php4untouched on hartmut
php4untouched > cvs update ext/standard/info.c
RCS file: /repository/php4/ext/standard/info.c,v
retrieving revision 1.184
retrieving revision 1.188
Merging differences between 1.184 and 1.188 into info.c
rcsmerge: warning: conflicts during merge
cvs server: conflicts found in ext/standard/info.c
C ext/standard/info.c

hartmut in /new/php/php4untouched on hartmut
php4untouched > cvs log ext/standard/info.c

RCS file: /repository/php4/ext/standard/info.c,v
Working file: ext/standard/info.c
head: 1.188
branch:
locks: strict
access list:
symbolic names:
        dev/: 1.188
				        php_4_2_2: 1.167.2.1
								        PHP_4_2_2: 1.167.2.1.0.2
												        php_4_3_0_dev_zend2_alpha2: 1.183
																        php5_5_0: 1.182
																				        php_4_3_0dev: 1.182
																								        php_4_3_0_dev_zend2_alpha1: 1.181
																												        php_4_2_1: 1.167.2.1
																																        php_4_2_1RC2: 1.167.2.1
																																				        php_4_2_1RC1: 1.167.2.1
																																								        php_4_2_0: 1.167.2.1
																																												        php_4_2_0RC4: 1.167.2.1
																																																        php_4_2_0RC3: 1.167.2.1
																																																				        php_4_2_0RC2: 1.167.2.1
																																																								        php_4_2_0RC1: 1.167.2.1
																																																												        PHP_4_2_0: 1.167.0.2
																																																																        php_4_1_2: 1.153.2.1
																																																																				        php_4_1_1: 1.153.2.1
																																																																								        ChangeLog: 1.161
																																																																												        php_4_1_0: 1.153.2.1
																																																																																        php_4_1_0RC5: 1.153.2.1
																																																																																				        php_4_1_0RC4: 1.153.2.1
																																																																																								        php_4_1_0RC3: 1.153.2.1
																																																																																												        php_4_1_0RC2: 1.153.2.1
																																																																																																        php_4_1_0RC1: 1.153.2.1
																																																																																																				        php_4_0_7RC3: 1.153
																																																																																																								        php4: 1.157
																																																																																																												        POST_SUBST_Z_MACROS: 1.157
																																																																																																																        PRE_SUBST_Z_MACROS: 1.155
																																																																																																																				        php_4_0_7RC2: 1.153
																																																																																																																								        RAND_REDESIGN: 1.154.0.2
																																																																																																																												        php_4_0_7RC1: 1.153
																																																																																																																																        PHP_4_0_7: 1.153.0.2
																																																																																																																																				        PRE_TSRM_MERGE_PATCH: 1.142
																																																																																																																																								        php_4_0_6: 1.137.2.1
																																																																																																																																												        php_4_0_6RC4: 1.137.2.1
																																																																																																																																																        php_4_0_6RC3: 1.137.2.1
																																																																																																																																																				        php_4_0_6RC2: 1.137.2.1
																																																																																																																																																								        php_4_0_6RC1: 1.137
																																																																																																																																																												        PHP_4_0_6: 1.137.0.2
																																																																																																																																																																        php_4_0_5: 1.132
																																																																																																																																																																				        php_4_0_5RC8: 1.132
																																																																																																																																																																								        php_4_0_5RC7: 1.132
																																																																																																																																																																												        php_4_0_5RC6: 1.132
																																																																																																																																																																																        php_4_0_5RC5: 1.132
																																																																																																																																																																																				        php_4_0_5RC4: 1.132
																																																																																																																																																																																								        php_4_0_5RC3: 1.132
																																																																																																																																																																																												        php_4_0_5RC2: 1.132
																																																																																																																																																																																																        php_4_0_5RC1: 1.132
																																																																																																																																																																																																				        PHP_4_0_5: 1.132.0.2
																																																																																																																																																																																																								        php_4_0_4pl1: 1.124
																																																																																																																																																																																																												        php_4_0_4pl1RC2: 1.124
																																																																																																																																																																																																																        php_4_0_4pl1RC1: 1.124
																																																																																																																																																																																																																				        php_4_0_4REL: 1.124
																																																																																																																																																																																																																								        php_4_0_4RC6: 1.124
																																																																																																																																																																																																																												        php_4_0_4RC5: 1.124
																																																																																																																																																																																																																																        php_4_0_4RC4: 1.124
																																																																																																																																																																																																																																				        php_4_0_4RC3: 1.124
																																																																																																																																																																																																																																								        php_4_0_4: 1.124.0.2
																																																																																																																																																																																																																																												        php_4_0_3: 1.116
																																																																																																																																																																																																																																																        php_4_0_3RC2: 1.114
																																																																																																																																																																																																																																																				        php_4_0_3RC1: 1.114
																																																																																																																																																																																																																																																								        php_4_0_2: 1.113
																																																																																																																																																																																																																																																												        php_4_0_2RC1: 1.110
																																																																																																																																																																																																																																																																        PRE_FILE_COMPILE_API_CHANGE: 1.108
																																																																																																																																																																																																																																																																				        php_4_0_1pl1: 1.104
																																																																																																																																																																																																																																																																								        php_4_0_1: 1.104
																																																																																																																																																																																																																																																																												        php_4_0_1RC2: 1.104
																																																																																																																																																																																																																																																																																        php_4_0_1RC: 1.101
																																																																																																																																																																																																																																																																																				        php_4_0_0: 1.93
																																																																																																																																																																																																																																																																																								        php_4_0RC2: 1.89
																																																																																																																																																																																																																																																																																												        php_4_0RC1: 1.70
																																																																																																																																																																																																																																																																																																        php_4_0b4pl1: 1.67
																																																																																																																																																																																																																																																																																																				        php_4_0b4: 1.65
																																																																																																																																																																																																																																																																																																								        php_4_0b4_rc1: 1.65
																																																																																																																																																																																																																																																																																																												        BEFORE_SAPI_POST_PATCH_17_FEB_2000: 1.62
																																																																																																																																																																																																																																																																																																																        BEFORE_SAPIFICATION_FEB_10_2000: 1.60
																																																																																																																																																																																																																																																																																																																				        BEFORE_PRE_SHUTDOWN_REVERSE_PATCH: 1.57
																																																																																																																																																																																																																																																																																																																								        PRE_ISSET_TYPE: 1.55
																																																																																																																																																																																																																																																																																																																												        PRE_LIBZEND_TO_ZEND: 1.51
																																																																																																																																																																																																																																																																																																																																        PRE_USED_RETURN_VALUE_PATCH: 1.39
																																																																																																																																																																																																																																																																																																																																				        php_4_0b3: 1.39
																																																																																																																																																																																																																																																																																																																																								        php_4_0b3_RC5: 1.39
																																																																																																																																																																																																																																																																																																																																												        php_4_0b3_RC4: 1.39
																																																																																																																																																																																																																																																																																																																																																        php_4_0b3_RC3: 1.39
																																																																																																																																																																																																																																																																																																																																																				        php_4_0b3_RC2: 1.39
																																																																																																																																																																																																																																																																																																																																																								        before-sapi-split: 1.36
																																																																																																																																																																																																																																																																																																																																																												        php_4_0b2: 1.30
																																																																																																																																																																																																																																																																																																																																																																        php_4_0b2-2: 1.27
																																																																																																																																																																																																																																																																																																																																																																				        php_4_0b2-1: 1.27
																																																																																																																																																																																																																																																																																																																																																																								        BEFORE_NEW_OPERATOR_FIX: 1.26
																																																																																																																																																																																																																																																																																																																																																																												        newoperator: 1.26.0.2
																																																																																																																																																																																																																																																																																																																																																																																        BEFORE_BIG_SYMBOL_CHANGE: 1.26
																																																																																																																																																																																																																																																																																																																																																																																				        php_4_0b1: 1.25
																																																																																																																																																																																																																																																																																																																																																																																								        BEFORE_REMOVING_AI_COUNT_FINAL_STEP: 1.14
																																																																																																																																																																																																																																																																																																																																																																																												        BEFORE_REMOVING_GC_STEP1: 1.14
																																																																																																																																																																																																																																																																																																																																																																																																        BEFORE_PHP4_APACHE_MODULE_CHANGE: 1.14
																																																																																																																																																																																																																																																																																																																																																																																																				keyword substitution: kv
																																																																																																																																																																																																																																																																																																																																																																																																				total revisions: 191;   selected revisions: 191
																																																																																																																																																																																																																																																																																																																																																																																																				description:
																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.188
																																																																																																																																																																																																																																																																																																																																																																																																				date: 2002/08/05 19:00:09;  author: helly;  state: Exp;  lines: +16 -2
																																																																																																																																																																																																																																																																																																																																																																																																				Correct carset if iconv is active
																																																																																																																																																																																																																																																																																																																																																																																																				#Same solution would work for mbstring - but that must wait
																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.187
																																																																																																																																																																																																																																																																																																																																																																																																				date: 2002/08/04 22:49:48;  author: helly;  state: Exp;  lines: +9 -3
																																																																																																																																																																																																																																																																																																																																																																																																				-Send charset US-ASCII or ini setting default_charset.
																																																																																																																																																																																																																																																																																																																																																																																																				#After some discussion with Ilia Alshanetsky
																																																																																																																																																																																																																																																																																																																																																																																																				#But perhaps we should have a look for a mbstring solution...
																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.186
																																																																																																																																																																																																																																																																																																																																																																																																				date: 2002/08/04 18:59:16;  author: georg;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																				ups.. :)
																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.185
																																																																																																																																																																																																																																																																																																																																																																																																				date: 2002/08/04 18:57:02;  author: georg;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																				added meta tag (w3c compliance)
																																																																																																																																																																																																																																																																																																																																																																																																				Thx to Ilia Alshanetsky (ilia@prohost.org)
																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.184
																																																																																																																																																																																																																																																																																																																																																																																																				date: 2002/07/01 18:52:30;  author: derick;  state: Exp;  lines: +8 -8
																																																																																																																																																																																																																																																																																																																																																																																																				- No C++ comments
																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.183
																																																																																																																																																																																																																																																																																																																																																																																																				date: 2002/06/19 13:24:01;  author: sander;  state: Exp;  lines: +7 -12
																																																																																																																																																																																																																																																																																																																																																																																																				Made the API versions appear better on phpinfo();
																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.182
																																																																																																																																																																																																																																																																																																																																																																																																				date: 2002/06/08 10:25:44;  author: mfischer;  state: Exp;  lines: +32 -2
																																																																																																																																																																																																																																																																																																																																																																																																				- Since streams are always enabled, instead of just printing 'enabled' we tell
																																																																																																																																																																																																																																																																																																																																																																																																				  what streams are currently registered.
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.181
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/24 17:25:40;  author: sander;  state: Exp;  lines: +4 -4
																																																																																																																																																																																																																																																																																																																																																																																																					Fix <head> and <body> tags in phpinfo() output (#17411)
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.180
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/13 17:43:04;  author: zeev;  state: Exp;  lines: +6 -6
																																																																																																																																																																																																																																																																																																																																																																																																					- Fix a buglet in printing of GPCSE arrays
																																																																																																																																																																																																																																																																																																																																																																																																					- Remove indirect access
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.179
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/13 08:46:21;  author: zeev;  state: Exp;  lines: +4 -1
																																																																																																																																																																																																																																																																																																																																																																																																					- Centralize html_puts() again
																																																																																																																																																																																																																																																																																																																																																																																																					- Revolutionize phpinfo()'s speed
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.178
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/12 14:50:54;  author: sas;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																					Use string_len information
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.177
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/12 14:48:22;  author: sas;  state: Exp;  lines: +7 -6
																																																																																																																																																																																																																																																																																																																																																																																																					reenable php_html_puts
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.176
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/11 12:41:32;  author: zeev;  state: Exp;  lines: +6 -6
																																																																																																																																																																																																																																																																																																																																																																																																					Centralize html_puts() logic - php_html_puts() remains as an API wrapper
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.175
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/09 11:56:52;  author: derick;  state: Exp;  lines: +4 -1
																																																																																																																																																																																																																																																																																																																																																																																																					- Add PHP_API_VERSION too
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.174
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/09 11:47:37;  author: derick;  state: Exp;  lines: +7 -4
																																																																																																																																																																																																																																																																																																																																																																																																					- Show both API nos
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.173
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/02 17:36:00;  author: fmk;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																					Fixing wrong pointer
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.172
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/05/02 12:33:03;  author: derick;  state: Exp;  lines: +7 -1
																																																																																																																																																																																																																																																																																																																																																																																																					- Add Zend API No. to phpinofo() output
																																																																																																																																																																																																																																																																																																																																																																																																					----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																					revision 1.171
																																																																																																																																																																																																																																																																																																																																																																																																					date: 2002/03/29 10:19:23;  author: ssb;  state: Exp;  lines: +71 -17
																																																																																																																																																																																																																																																																																																																																																																																																					(PHP php_uname) display runtime uname rather than compile-time uname, added
																																																																																																																																																																																																																																																																																																																																																																																																					                an optional parameter to get single fields (like uname(1))
																																																																																																																																																																																																																																																																																																																																																																																																													# Windows version is not tested, and I didn't know how to get
																																																																																																																																																																																																																																																																																																																																																																																																													# `uname -n` on Windows, so it's hardcoded to "localhost" for now.
																																																																																																																																																																																																																																																																																																																																																																																																													# Windows gurus feel free to fix. :-)
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.170
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2002/03/15 21:03:05;  author: wez;  state: Exp;  lines: +2 -4
																																																																																																																																																																																																																																																																																																																																																																																																													New PHP streams...
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.169
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2002/03/14 18:39:53;  author: zeev;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																													Change case for consistency
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.168
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2002/03/14 13:35:19;  author: zeev;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																													Make it clearer what this entry means
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.167
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2002/03/04 20:14:52;  author: sas;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																													branches:  1.167.2;
																																																																																																																																																																																																																																																																																																																																																																																																													Add apparently missing include
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.166
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2002/03/04 18:46:53;  author: sas;  state: Exp;  lines: +7 -6
																																																																																																																																																																																																																																																																																																																																																																																																													Supply php_html_puts which escapes a whole string.. now fully works in ZTS
																																																																																																																																																																																																																																																																																																																																																																																																													mode, too.
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.165
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2002/03/04 18:12:55;  author: sas;  state: Exp;  lines: +5 -5
																																																																																																																																																																																																																																																																																																																																																																																																													revert last commit, puts does more through putc.
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.164
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2002/03/04 17:48:20;  author: sas;  state: Exp;  lines: +6 -6
																																																																																																																																																																																																																																																																																																																																																																																																													Use PHPWRITE to output data.  Because this just outputs diagnostic
																																																																																																																																																																																																																																																																																																																																																																																																													information, a few spaces won't hurt (and multiple ones are rendered
																																																																																																																																																																																																																																																																																																																																																																																																													as one by browsers anyway).  Micro-benchmarks which use phpinfo()
																																																																																																																																																																																																																																																																																																																																																																																																													as a mean to generate output will yield more through-put now
																																																																																																																																																																																																																																																																																																																																																																																																													(35 req/s vs. 83 req/s in tux).
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.163
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2002/02/28 08:26:45;  author: sebastian;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																													Maintain headers.
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.162
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2001/12/29 14:23:58;  author: sebastian;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																													PHP 4.0 -> PHP 4. Patch by Martin Jansen <mail@martin-jansen.de>.
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.161
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2001/12/11 15:30:32;  author: sebastian;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																													Update headers.
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.160
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2001/12/06 13:31:34;  author: sterling;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																													use PHP_INFO_ALL and PHP_CREDITS_ALL instead of hardcoding them
																																																																																																																																																																																																																																																																																																																																																																																																													----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																													revision 1.159
																																																																																																																																																																																																																																																																																																																																																																																																													date: 2001/10/11 23:33:49;  author: ssb;  state: Exp;  lines: +17 -6
																																																																																																																																																																																																																																																																																																																																																																																																													* zend_module_entry change: apino, debug and zts are moved first,
																																																																																																																																																																																																																																																																																																																																																																																																													  see README.EXTENSIONS file for upgrade help.
																																																																																																																																																																																																																																																																																																																																																																																																														@Introduced extension version numbers (Stig)
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.158
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/10/06 20:13:37;  author: derick;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																														- <br> -> <br />
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.157
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/09/25 22:48:43;  author: jeroen;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																														2nd phase in back-substitution those macro's

																																																																																																																																																																																																																																																																																																																																																																																																														I've got pretty much everything now...
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.156
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/09/25 21:58:23;  author: jeroen;  state: Exp;  lines: +13 -13
																																																																																																																																																																																																																																																																																																																																																																																																														Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.155
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/09/09 13:29:18;  author: derick;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																														- Don't wrap lines... this is annoying while coding.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.154
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/08/15 22:37:31;  author: sniper;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																														Add the build time too. Bug: #12774
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.153
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/08/13 19:31:16;  author: zeev;  state: Exp;  lines: +5 -3
																																																																																																																																																																																																																																																																																																																																																																																																														branches:  1.153.2;
																																																																																																																																																																																																																																																																																																																																																																																																														Fix crashes in parse_parameters calls
																																																																																																																																																																																																																																																																																																																																																																																																														HEADS UP:  Make sure you supply TSRMLS_CC for this function!
																																																																																																																																																																																																																																																																																																																																																																																																														I'll try to think of a way that'd allow us to find this issue using
																																																																																																																																																																																																																																																																																																																																																																																																														the compiler.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.152
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/08/13 07:55:38;  author: rasmus;  state: Exp;  lines: +19 -13
																																																																																																																																																																																																																																																																																																																																																																																																														Track down a few more functions that don't check for 0 args and use
																																																																																																																																																																																																																																																																																																																																																																																																														faster mechanism
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.151
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/08/13 07:28:57;  author: rasmus;  state: Exp;  lines: +3 -1
																																																																																																																																																																																																																																																																																																																																																																																																														Oops, a little too much simplification there.. ;)
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.150
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/08/13 06:43:47;  author: rasmus;  state: Exp;  lines: +34 -36
																																																																																																																																																																																																																																																																																																																																																																																																														We don't consistently check for args passed to functions that don't
																																																																																																																																																																																																																																																																																																																																																																																																														take any args.  In some cases we probably want to skip the check for
																																																																																																																																																																																																																																																																																																																																																																																																														performance reasons, but in other cases where performance is unlikely
																																																																																																																																																																																																																																																																																																																																																																																																														to be a factor, not throwing a warning on the wrong number of args passed
																																																																																																																																																																																																																																																																																																																																																																																																														to a function is at best inconsistent, and at worst it could hide a bug.
																																																																																																																																																																																																																																																																																																																																																																																																														So, add a few such checks.  There are still lots of cases out there.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.149
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/08/11 17:03:37;  author: zeev;  state: Exp;  lines: +11 -11
																																																																																																																																																																																																																																																																																																																																																																																																														Whitespace
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.148
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/08/08 17:16:20;  author: zeev;  state: Exp;  lines: +8 -7
																																																																																																																																																																																																																																																																																																																																																																																																														- Implement $_FORM
																																																																																																																																																																																																																																																																																																																																																																																																														- Update phpinfo()
																																																																																																																																																																																																																																																																																																																																																																																																														- Update NEWS
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.147
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/07/31 04:53:50;  author: zeev;  state: Exp;  lines: +4 -5
																																																																																																																																																																																																																																																																																																																																																																																																														More TSRMLS_FETCH work
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.146
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/07/30 09:16:44;  author: zeev;  state: Exp;  lines: +3 -4
																																																																																																																																																																																																																																																																																																																																																																																																														More TSRMLS_FETCH work
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.145
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/07/30 06:18:06;  author: zeev;  state: Exp;  lines: +3 -2
																																																																																																																																																																																																																																																																																																																																																																																																														More TSRMLS_FETCH work, and a bit of cleanup
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.144
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/07/28 11:36:17;  author: zeev;  state: Exp;  lines: +1 -2
																																																																																																																																																																																																																																																																																																																																																																																																														Redesigned thread safety mechanism - nua nua
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.143
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/07/27 10:16:30;  author: zeev;  state: Exp;  lines: +10 -10
																																																																																																																																																																																																																																																																																																																																																																																																														- Get rid of ELS_*(), and use TSRMLS_*() instead.
																																																																																																																																																																																																																																																																																																																																																																																																														- Move to the new ts_allocate_id() API
																																																																																																																																																																																																																																																																																																																																																																																																														This patch is *bound* to break some files, as I must have had typos somewhere.
																																																																																																																																																																																																																																																																																																																																																																																																														If you use any uncommon extension, please try to build it...
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.142
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/06/19 15:21:28;  author: sbergmann;  state: Exp;  lines: +12 -12
																																																																																																																																																																																																																																																																																																																																																																																																														Finish phpinfo() HTML 4.01 tweaking.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.141
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/06/15 18:34:09;  author: sbergmann;  state: Exp;  lines: +38 -40
																																																																																																																																																																																																																																																																																																																																																																																																														Make output of phpinfo() compliant with HTML 4.01.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.140
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/06/06 13:05:51;  author: rasmus;  state: Exp;  lines: +27 -13
																																																																																																																																																																																																																																																																																																																																																																																																														Fix folding and clean up some extensions
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.139
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/06/05 13:12:04;  author: rasmus;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																														vim-6 does folding - clean up a bunch of missing folding tags plus
																																																																																																																																																																																																																																																																																																																																																																																																														some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.138
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/05/20 01:31:53;  author: sniper;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																														This looks better.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.137
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/05/11 13:34:49;  author: derick;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																														branches:  1.137.2;
																																																																																																																																																																																																																																																																																																																																																																																																														Tabs please...
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.136
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/05/11 13:32:10;  author: sbergmann;  state: Exp;  lines: +3 -1
																																																																																																																																																																																																																																																																																																																																																																																																														Fix for bug #10815.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.135
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/05/06 15:20:56;  author: sniper;  state: Exp;  lines: +14 -14
																																																																																																																																																																																																																																																																																																																																																																																																														Fix bug: #10323. Every value outputted is now escaped.
																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.134
																																																																																																																																																																																																																																																																																																																																																																																																														date: 2001/04/22 01:09:13;  author: ssb;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																														* expanded the following constants and made them available in PHP:
																																																																																																																																																																																																																																																																																																																																																																																																														  DEFAULT_INCLUDE_PATH
																																																																																																																																																																																																																																																																																																																																																																																																															  PEAR_INSTALL_DIR
																																																																																																																																																																																																																																																																																																																																																																																																																  PHP_EXTENSION_DIR
																																																																																																																																																																																																																																																																																																																																																																																																																	  PHP_BINDIR
																																																																																																																																																																																																																																																																																																																																																																																																																		  PHP_LIBDIR
																																																																																																																																																																																																																																																																																																																																																																																																																			  PHP_DATADIR
																																																																																																																																																																																																																																																																																																																																																																																																																				  PHP_SYSCONFDIR
																																																																																																																																																																																																																																																																																																																																																																																																																					  PHP_LOCALSTATEDIR
																																																																																																																																																																																																																																																																																																																																																																																																																						  PHP_CONFIG_FILE_PATH
																																																																																																																																																																																																																																																																																																																																																																																																																							* no longer generating pear/PEAR.php
																																																																																																																																																																																																																																																																																																																																																																																																																							* fixed some tests
																																																																																																																																																																																																																																																																																																																																																																																																																							* some more installer work
																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.133
																																																																																																																																																																																																																																																																																																																																																																																																																							date: 2001/04/17 17:06:06;  author: wez;  state: Exp;  lines: +6 -1
																																																																																																																																																																																																																																																																																																																																																																																																																							Changes for streams.  Added temporary fopenstream function to PHP so that
																																																																																																																																																																																																																																																																																																																																																																																																																							the streams can be tested.
																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.132
																																																																																																																																																																																																																																																																																																																																																																																																																							date: 2001/03/04 22:03:23;  author: zeev;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																							I don't know German, but I imagine that was the problem :)
																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.131
																																																																																																																																																																																																																																																																																																																																																																																																																							date: 2001/03/04 15:49:38;  author: zeev;  state: Exp;  lines: +7 -8
																																																																																																																																																																																																																																																																																																																																																																																																																							Fix phpinfo() bug that crept in
																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.130
																																																																																																																																																																																																																																																																																																																																																																																																																							date: 2001/03/04 02:41:27;  author: fmk;  state: Exp;  lines: +9 -15
																																																																																																																																																																																																																																																																																																																																																																																																																							Changed code layout to remove PHP warning when running php as a CGI.
																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.129
																																																																																																																																																																																																																																																																																																																																																																																																																							date: 2001/02/26 06:07:17;  author: andi;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																							- Fix copyright notices with 2001
																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.128
																																																																																																																																																																																																																																																																																																																																																																																																																							date: 2001/01/02 22:49:26;  author: zeev;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																																							Many patches.  I hope I remember them all:

																																																																																																																																																																																																																																																																																																																																																																																																																							- Make sapi_module available to external modules (PHPAPI)
																																																																																																																																																																																																																																																																																																																																																																																																																							- Make the php.ini path reported in phpinfo() always point to
																																																																																																																																																																																																																																																																																																																																																																																																																							  real full path of the php.ini file
																																																																																																																																																																																																																																																																																																																																																																																																																								- Optimized the ISAPI module not to read unnecessary server
																																																																																																																																																																																																																																																																																																																																																																																																																								  variables and read necessary variables at most once.
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.127
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/12/27 15:43:05;  author: zeev;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																									- Make the INI mechanism thread safe (fix necessary API changes from Zend)
																																																																																																																																																																																																																																																																																																																																																																																																																									- Make the Win32 non-TS configuration build again
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.126
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/12/22 12:57:08;  author: zeev;  state: Exp;  lines: +2 -3
																																																																																																																																																																																																																																																																																																																																																																																																																									Heads up people!

																																																																																																																																																																																																																																																																																																																																																																																																																									Updated the get_current_key() API - the relevant authors, please take
																																																																																																																																																																																																																																																																																																																																																																																																																									a look at the updated code and make sure it's ok...
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.125
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/12/19 22:59:14;  author: zeev;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																																									Add the QA team to the credits
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.124
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/11/20 10:05:57;  author: hholzgra;  state: Exp;  lines: +1 -146
																																																																																																																																																																																																																																																																																																																																																																																																																									first step towards auto-generated credits
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.123
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/11/19 19:18:12;  author: hholzgra;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																									typo fix (copy/paste bug?)
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.122
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/11/11 18:38:26;  author: sas;  state: Exp;  lines: +7 -6
																																																																																																																																																																																																																																																																																																																																																																																																																									Add Apache 2.0 sapi module and sort alphabetically.
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.121
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/11/06 22:53:11;  author: derick;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																									- Added myself to the credits...
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.120
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/11/05 23:34:49;  author: jdonagher;  state: Exp;  lines: +25 -5
																																																																																																																																																																																																																																																																																																																																																																																																																									Bring phpcredits() up to date
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.119
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/11/02 19:07:15;  author: neotron;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																									Added Caudium to credit line.
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.118
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/10/31 17:21:52;  author: hholzgra;  state: Exp;  lines: +4 -4
																																																																																																																																																																																																																																																																																																																																																																																																																									generalization of image handling in phpinfo
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.117
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/10/29 11:38:24;  author: zeev;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																									Initial steps to move the INI mechanism to the Zend engine
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.116
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/10/11 13:51:32;  author: hholzgra;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																																									proto typo fixes
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.115
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/10/11 11:40:29;  author: hholzgra;  state: Exp;  lines: +10 -1
																																																																																																																																																																																																																																																																																																																																																																																																																									added missing protos
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.114
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/09/30 16:12:54;  author: andi;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																									- Cleanup some output functions
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.113
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/08/27 22:46:40;  author: rasmus;  state: Exp;  lines: +17 -20
																																																																																																																																																																																																																																																																																																																																																																																																																									Some minor cleanup to make W3C's tidy validator happy
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.112
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/08/27 19:42:45;  author: ssb;  state: Exp;  lines: +35 -19
																																																																																																																																																																																																																																																																																																																																																																																																																									@Added php_uname() function (Stig)
																																																																																																																																																																																																																																																																																																																																																																																																																									Added php_uname() function.
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.111
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/08/26 12:53:13;  author: rubys;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																																									Add ***EXPERIMENTAL*** Zend OO Extension support for Microsoft.Net
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.110
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/08/21 09:50:52;  author: sas;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																									Cleaning up some mess
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.109
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/08/20 14:43:56;  author: sas;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																									Fix numerus of SAPI Modules title
																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.108
																																																																																																																																																																																																																																																																																																																																																																																																																									date: 2000/07/26 05:41:38;  author: sterling;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																																									* EXTENSIONS -- update status on CURL & SWF
																																																																																																																																																																																																																																																																																																																																																																																																																									* NEWS --
																																																																																																																																																																																																																																																																																																																																																																																																																									  1.  Change wording for the ibase and sybase DB announcement.
																																																																																																																																																																																																																																																																																																																																																																																																																										  2.  Remove second pfpro announcement, if pfpro is being released with 4.0.2
																																																																																																																																																																																																																																																																																																																																																																																																																											  entries about new features before 4.0.2 shouldn't be in there.
																																																																																																																																																																																																																																																																																																																																																																																																																												  3.  Joey, that entry just doesn't seem incredibly relevant to the NEWS file,
																																																																																																																																																																																																																																																																																																																																																																																																																													  I'll backport it if you want (or add a new entry).
																																																																																																																																																																																																																																																																																																																																																																																																																														* ext/standard/info.c -- Add a CREDIT_LINE() for CURL.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.107
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/07/25 10:54:07;  author: stas;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																																														Report configuration path that is really used, not that is compiled in
																																																																																																																																																																																																																																																																																																																																																																																																																														# it does matter when using -c option
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.106
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/07/24 01:39:49;  author: david;  state: Exp;  lines: +3 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
																																																																																																																																																																																																																																																																																																																																																																																																																														Added a few RCS $Id$ tags.

																																																																																																																																																																																																																																																																																																																																																																																																																														# Note: I have avoided changing any .h files if the corresponding .c file
																																																																																																																																																																																																																																																																																																																																																																																																																														# had not already been changed as I am not sure if there are any legal
																																																																																																																																																																																																																																																																																																																																																																																																																														# issues here. So some extensions still have PHP 3 headers.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.105
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/07/08 19:31:16;  author: eschmid;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Uncomplete proto.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.104
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/26 18:05:49;  author: andrei;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														Separate plain name returned by php_sapi_module() and pretty name
																																																																																																																																																																																																																																																																																																																																																																																																																														used for output.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.103
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/26 14:55:38;  author: kk;  state: Exp;  lines: +3 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														Corrected a syntax error: Macro requires braces.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.102
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/26 14:43:37;  author: kk;  state: Exp;  lines: +12 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														Added function php_sapi_name() as written by Stefan Livieratos.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.101
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/17 07:08:53;  author: hholzgra;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														changed default cell alignment to "left" (see bug id #5048)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.100
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/16 18:23:57;  author: hholzgra;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														C++ // comments are evil ...
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.99
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/09 01:50:44;  author: zeev;  state: Exp;  lines: +9 -7
																																																																																																																																																																																																																																																																																																																																																																																																																														Move back everything to where it belongs...
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.98
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/06 17:26:15;  author: hholzgra;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														added missing '/' to closing <center> tag (BUG ID #4416)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.97
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/05 19:47:44;  author: andi;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.96
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/06/03 03:05:29;  author: zeev;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														- Make the INI entries sorted in phpinfo()
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.95
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/05/27 00:24:03;  author: zeev;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Add Sam Ruby
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.94
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/05/25 11:01:31;  author: kk;  state: Exp;  lines: +2 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														- Added credits.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.93
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/05/19 08:28:53;  author: zeev;  state: Exp;  lines: +6 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Minor output mods
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.92
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/05/18 15:34:35;  author: zeev;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														Update the license with the new clause 6
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.91
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/05/12 20:49:26;  author: sterling;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														Add Meself for LibSWF.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.90
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/05/12 20:11:14;  author: jah;  state: Exp;  lines: +3 -3

																																																																																																																																																																																																																																																																																																																																																																																																																														# Correct spelling, adding Andrew because half the code in that module is
																																																																																																																																																																																																																																																																																																																																																																																																																														# his, removing myself from Informix because I don't think my influence to
																																																																																																																																																																																																																																																																																																																																																																																																																														# that module was big enough worth mentioning, adding myself to GD because
																																																																																																																																																																																																																																																																																																																																																																																																																														# I think T1lib is worth mentioning. BTW, who wrote the TTF extension? I think
																																																																																																																																																																																																																																																																																																																																																																																																																														# he is missing credits here.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.89
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/05/04 10:38:14;  author: sas;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Change reentrancy API to always use the php prefix.

																																																																																																																																																																																																																																																																																																																																																																																																																														Check for the declaration of reentrant functions, so that we can use
																																																																																																																																																																																																																																																																																																																																																																																																																														them in non-ZTS mode on all platforms.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.88
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/27 18:37:02;  author: zeev;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														More error handling work (still completely disabled)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.87
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/21 16:20:11;  author: thies;  state: Exp;  lines: +6 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														add VDIR info
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.86
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/19 23:46:26;  author: zeev;  state: Exp;  lines: +2 -5
																																																																																																																																																																																																																																																																																																																																																																																																																														Fix Win32 compilation.  Hillarious April 1st joke!
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.85
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/19 23:17:02;  author: cmv;  state: Exp;  lines: +17 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														A little easter egg for April 1st ... :)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.84
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/19 12:43:54;  author: zeev;  state: Exp;  lines: +6 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														phpcredits() update.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.83
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/17 18:57:40;  author: eschmid;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Have forgotten myself.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.82
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/14 21:12:21;  author: eschmid;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Small corrections.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.81
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/14 18:22:43;  author: zeev;  state: Exp;  lines: +5 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Add the documentation team to the credits page
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.80
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/10 20:21:01;  author: zeev;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														Object overloading API changed slightly (llist is now a pointer)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.79
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/07 16:41:19;  author: cmv;  state: Exp;  lines: +11 -10
																																																																																																																																																																																																																																																																																																																																																																																																																														more prettiness
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.78
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/07 15:30:47;  author: zeev;  state: Exp;  lines: +8 -6
																																																																																																																																																																																																																																																																																																																																																																																																																														Unify
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.77
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/06 22:54:33;  author: andi;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														- ZEND_DEBUG is always defined
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.76
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/05 22:30:19;  author: cmv;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														phpinfo() prettying

																																																																																																																																																																																																																																																																																																																																																																																																																														I will get to the rest of the functions later tonight or tomorrow
																																																																																																																																																																																																																																																																																																																																																																																																																														(i.e. from hyperwave to snmp)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.75
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/05 21:03:30;  author: cmv;  state: Exp;  lines: +5 -3
																																																																																																																																																																																																																																																																																																																																																																																																																														finally (thanks Andreas)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.74
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/05 21:00:35;  author: cmv;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																																														still cant get this
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.73
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/05 20:48:46;  author: cmv;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														phpinfo() prettying
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.72
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/05 20:29:20;  author: cmv;  state: Exp;  lines: +5 -3
																																																																																																																																																																																																																																																																																																																																																																																																																														fixed the segfault problem (probably not the prettiest way, but)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.71
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/04/05 20:17:02;  author: cmv;  state: Exp;  lines: +132 -62
																																																																																																																																																																																																																																																																																																																																																																																																																														Prettying up the output of phpinfo().  Someone has to tell me how
																																																																																																																																																																																																																																																																																																																																																																																																																														to get a new .gif logo in there, and why the ZEND_DEBUG output is
																																																																																																																																																																																																																																																																																																																																																																																																																														causing seg faults.

																																																																																																																																																																																																																																																																																																																																																																																																																														I also need to go through all the modules and fix up the output they
																																																																																																																																																																																																																																																																																																																																																																																																																														create.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.70
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/03/16 02:18:24;  author: thies;  state: Exp;  lines: +2 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														*** empty log message ***
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.69
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/26 03:20:54;  author: zeev;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														- Convert 'PHP3' to 'PHP'
																																																																																																																																																																																																																																																																																																																																																																																																																														- Avoid declaring crypt() related salt types twice
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.68
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/24 08:07:29;  author: eschmid;  state: Exp;  lines: +0 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														More protos.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.67
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/21 14:50:41;  author: chagenbu;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														being accountable for the imap and mcal work that I've done (and adding an
																																																																																																																																																																																																																																																																																																																																																																																																																														MCAL credits line)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.66
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/21 14:35:28;  author: askalski;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														added myself to the FTP/IMAP credits
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.65
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/19 23:41:21;  author: zeev;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														the pipe is breaking all the time
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.64
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/19 20:12:26;  author: zeev;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														Worked on beautifying rfc1867.c a bit
																																																																																																																																																																																																																																																																																																																																																																																																																														@- Introduced $HTTP_POST_FILES[], that contains information about files uploaded
																																																																																																																																																																																																																																																																																																																																																																																																																														@  through HTTP upload (Zeev)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.63
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/18 17:59:44;  author: zeev;  state: Exp;  lines: +35 -9
																																																																																																																																																																																																																																																																																																																																																																																																																														- Fix some issues with the ISAPI module, made it friendlier to non Win32 platforms
																																																																																																																																																																																																																																																																																																																																																																																																																														- Added .reg file for PWS setup
																																																																																																																																																																																																																																																																																																																																																																																																																														- Reordered some stuff in phpinfo()
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.62
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/11 15:59:29;  author: zeev;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																																														Fine tune Andi's patch
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.61
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/10 21:53:56;  author: andi;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																																														- Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.60
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/05 22:58:59;  author: zeev;  state: Exp;  lines: +56 -84
																																																																																																																																																																																																																																																																																																																																																																																																																														Standardize
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.59
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/05 15:16:11;  author: zeev;  state: Exp;  lines: +0 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														Cleanup patches
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.58
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/02/02 14:15:33;  author: andrei;  state: Exp;  lines: +2 -3
																																																																																																																																																																																																																																																																																																																																																																																																																														Some rearranging.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.57
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/01/09 18:32:13;  author: zeev;  state: Exp;  lines: +6 -3
																																																																																																																																																																																																																																																																																																																																																																																																																														@- Fixed a possible crash in phpinfo() (Zeev)
																																																																																																																																																																																																																																																																																																																																																																																																																														phpinfo() now ensures that HTTP_*_VARS[] are actually arrays before it tries
																																																																																																																																																																																																																																																																																																																																																																																																																														to access them...
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.56
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 2000/01/01 01:31:52;  author: sas;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Happy Y2K patch! Happy new year (or the new millennium, depending on whether
																																																																																																																																																																																																																																																																																																																																																																																																																														you start counting at 0 or 1).
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.55
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/21 20:35:43;  author: zeev;  state: Exp;  lines: +12 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														@- Fixed a bug in ODBC error reporting (Zeev)
																																																																																																																																																																																																																																																																																																																																																																																																																														@- Added PHP_Logo_GUID() and Zend_Logo_GUID() functions, that return the GUIDs
																																																																																																																																																																																																																																																																																																																																																																																																																														@  of the PHP and Zend logos used in phpinfo() (Zeev)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.54
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/20 23:09:49;  author: sas;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Use sapi_module_struct to contain SAPI module name
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.53
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/20 15:38:44;  author: zeev;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Make the Win32 tree compile again
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.52
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/20 07:12:27;  author: sas;  state: Exp;  lines: +2 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														Add information about chosen SAPI module to phpinfo()
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.51
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/18 22:35:27;  author: zeev;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																														- The tree compiles again
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.50
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/18 04:01:14;  author: zeev;  state: Exp;  lines: +7 -7
																																																																																																																																																																																																																																																																																																																																																																																																																														More php3_ annihilation
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.49
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/14 03:48:46;  author: thies;  state: Exp;  lines: +12 -8
																																																																																																																																																																																																																																																																																																																																																																																																																														use _ex-API
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.48
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/07 02:49:03;  author: evan;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														Mention CyberCash.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.47
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/03 20:08:24;  author: rubys;  state: Exp;  lines: +2 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														windows build errors
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.46
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/03 17:10:18;  author: neotron;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														Added credit notes for Roxen SAPI module
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.45
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/12/03 13:31:41;  author: ssb;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Add configure command to phpinfo() output (Stig)
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.44
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/11/29 15:36:24;  author: rubys;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														Initial alpha-level of sapi/servlet.  See README for details.
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.43
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/11/24 17:56:31;  author: sas;  state: Exp;  lines: +0 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														Killing some unused variable warnings
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.42
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/11/22 19:10:14;  author: fmk;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														add MS SQL module to credit info
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.41
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/11/18 03:03:24;  author: rubys;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														arg!  alphabetize correctly!
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.40
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/11/18 02:40:52;  author: rubys;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																														add Java module to credit info
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.39
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/10/20 16:16:58;  author: sas;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														(_display_module_info): Add anchor for module names
																																																																																																																																																																																																																																																																																																																																																																																																																														----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																														revision 1.38
																																																																																																																																																																																																																																																																																																																																																																																																																														date: 1999/10/04 15:18:19;  author: sas;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																														        * archive-based convenience libraries completely replaced
																																																																																																																																																																																																																																																																																																																																																																																																																																		          with libtool components

																																																																																																																																																																																																																																																																																																																																																																																																																																							        * SAPI targets can enable thread-safe mode and define
																																																																																																																																																																																																																																																																																																																																																																																																																																											          shared/static/program build target

																																																																																																																																																																																																																																																																																																																																																																																																																																																        * all configure scripts use the same config.cache

																																																																																																																																																																																																																																																																																																																																																																																																																																																				        * phplibdir is $(top_builddir)/modules to avoid
																																																																																																																																																																																																																																																																																																																																																																																																																																																								          permission problems

																																																																																																																																																																																																																																																																																																																																																																																																																																																													        * sapi/*/Makefile.inc are gone

																																																																																																																																																																																																																																																																																																																																																																																																																																																																	        * runpath handling cleaned up

																																																																																																																																																																																																																																																																																																																																																																																																																																																																					        * top-level Makefile.in obsoleted through Makefile.am

																																																																																																																																																																																																																																																																																																																																																																																																																																																																									        * --enable-versioning uses libtool's cleaner and more
																																																																																																																																																																																																																																																																																																																																																																																																																																																																													          portable -export-symbols feature
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																		----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																		revision 1.37
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																		date: 1999/10/01 14:54:55;  author: andrei;  state: Exp;  lines: +4 -4
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																		rename.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																		----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																		revision 1.36
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																		date: 1999/09/25 15:41:51;  author: sas;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																		    Add entry for AOLserver.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.35
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/09/24 18:02:58;  author: thies;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				updated XML (only partly tested)
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.34
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/09/16 22:15:43;  author: zeev;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Generalize SAPI a bit
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.33
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/09/13 01:11:41;  author: zeev;  state: Exp;  lines: +7 -1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Modified phpinfo() to show the contents of arrays in HTTP_*_VARS[]
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.32
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/09/13 00:35:03;  author: zeev;  state: Exp;  lines: +14 -2
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Fix a buglet, and avoid crashing in phpinfo() (fixes an elusive legacy bug too)
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.31
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/09/11 16:32:08;  author: zeev;  state: Exp;  lines: +4 -4
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Rename allow_builtin_links to expose_php
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.30
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/08/07 18:21:35;  author: zeev;  state: Exp;  lines: +18 -10
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Built-in phpinfo() links are now turned off by default.  They can be
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				turned on using the allow_builtin_links INI directive
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.29
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/08/07 17:52:11;  author: zeev;  state: Exp;  lines: +18 -3
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				- Changed phpinfo() to list modules that have no info function
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.28
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/08/07 15:50:26;  author: sr;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Corrected spelling.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.27
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/08/02 19:16:50;  author: zeev;  state: Exp;  lines: +38 -38
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Removed '3' from key functions in PHP (maintained compatibility through
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				php3_compat.h)
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.26
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/19 20:27:49;  author: andrey;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Updated status
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.25
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/19 18:37:42;  author: zeev;  state: Exp;  lines: +10 -10
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				*** empty log message ***
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.24
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/19 14:07:10;  author: sas;  state: Exp;  lines: +1 -0
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				update
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.23
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/19 13:35:13;  author: andrey;  state: Exp;  lines: +3 -1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				More credits.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.22
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/17 20:38:14;  author: andrey;  state: Exp;  lines: +2 -1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				Update credits a bit.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				"Overall Work" line should probably be extended.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.21
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/17 19:22:27;  author: zeev;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				*** empty log message ***
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.20
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/17 19:17:42;  author: zeev;  state: Exp;  lines: +115 -60
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				I was sure I committed these already.  Weird
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.19
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/17 17:33:42;  author: zeev;  state: Exp;  lines: +44 -2
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				*** empty log message ***
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.18
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/16 13:12:56;  author: zeev;  state: Exp;  lines: +9 -20
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				License update
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.17
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/14 23:34:30;  author: zeev;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				php3.ini -> php.ini
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.16
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/14 23:33:00;  author: zeev;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				* Update logos
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				* Move from PreAlpha 1 to Beta 1.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.15
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/07/14 16:02:10;  author: andi;  state: Exp;  lines: +129 -151
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				- Add a bitwise flag to phpinfo()
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				- Import a draft of the new PHP license
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.14
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/05/20 12:06:45;  author: andi;  state: Exp;  lines: +6 -0
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				- Small fixes
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.13
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/05/16 11:19:26;  author: sas;  state: Exp;  lines: +2 -2
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				conv_proto *.[ch]
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.12
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/05/11 00:43:46;  author: zeev;  state: Exp;  lines: +13 -17
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				beatify Apache's info func
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				revision 1.11
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				date: 1999/05/09 08:48:01;  author: zeev;  state: Exp;  lines: +100 -159
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				* Finalizing the PHP version of SAPI.  Support POST and cookies among other things.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				* Fully implement ISAPI support - POST and cookies among other things.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				* Almost completely rewrote phpinfo().  Allow modules to easily display their
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																				  information in phpinfo() without modifying phpinfo() itself (prototype for
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																					  the module info function was changed, thus the large amount of updated module
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																						  files).
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							* Initial extended SAPI support for Apache, completely untested.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							* CGI now uses SAPI fully as well.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.10
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							date: 1999/05/06 18:09:50;  author: zeev;  state: Exp;  lines: +3 -0
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							* Optimize _php3_parse_gpc_data() and clean it up, plus fix a couple of Zend related memory leaks in it
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.9
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							date: 1999/05/02 19:54:02;  author: zeev;  state: Exp;  lines: +7 -2
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							Move path_info to the SAPI structure
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							revision 1.8
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							date: 1999/04/26 17:26:36;  author: zeev;  state: Exp;  lines: +19 -10
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							* Get the Apache module to compile again
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							* Get rid of php3_rqst, use SG(server_context) instead (there's still Apache-specific code,
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																							  but it nuked a global)
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																								----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																								revision 1.7
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																								date: 1999/04/26 14:00:49;  author: zeev;  state: Exp;  lines: +1 -3
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																								* Plenty of thread safety and Win32 work.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																								* Changed PHP4 to compile as a DLL, both ISAPI and the the CGI run with the same DLL.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																								* Switched to using the DLL runtime library under Win32.  PHP will NOT work if
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																								  compiled against the static library!
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									* Removed yesterday's php4libts project (with php4dllts, it's obsolete).

																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									This *does* affect thread-unsafe Windows as well - the thread unsafe CGI is also
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									dependant on the thread-unsafe DLL.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.6
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									date: 1999/04/24 00:11:56;  author: zeev;  state: Exp;  lines: +8 -12
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									A lot of cleanups...  Removed old thread-safe code and other redundant code and files
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.5
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									date: 1999/04/23 20:05:59;  author: zeev;  state: Exp;  lines: +1 -3
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									Remove tls.[ch]
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.4
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									date: 1999/04/22 00:25:57;  author: ssb;  state: Exp;  lines: +1 -1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									moved fdf, hyperwave, informix and some smaller files
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.3
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									date: 1999/04/18 15:58:26;  author: zeev;  state: Exp;  lines: +3 -3
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									Make Win32 happy with the recent changes.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.2
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									date: 1999/04/17 01:52:58;  author: ssb;  state: Exp;  lines: +6 -2
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									make sure the images on the phpinfo() page point to PHP-enabled pages
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									----------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									revision 1.1
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									date: 1999/04/17 00:37:06;  author: ssb;  state: Exp;
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									First commit of re-structuring phase one.  We have started using automake in
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									sub-directories and started to move extension code into ext/<name>.  For now,
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									I have moved the "standard" extension (which is quite a mix of everything
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									right now) and the GD extension into their own subdirs in ext/.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									The configure script now also runs configure in the libzend directory
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									automatically and makes sure php4 and libzend use the same config.cache file.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									To avoid running configure in libzend, use the --no-recursion option.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									"make" in php4 also builds libzend now.
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									The Apache module doesn't compile right now, but a fix for that is
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									coming up.

																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									CVS: ----------------------------------------------------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									CVS:
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									CVS: Committing in .
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									CVS:
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									CVS: Modified Files:
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									CVS:  ext/standard/info.c
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									CVS: ----------------------------------------------------------------------
																																																																																																																																																																																																																																																																																																																																																																																																																																																																																									~                                               olor is readable on it)

someone should change all this to make use of CSS as we already have
a CSS block in there, but i do not know enough about it

oh, btw: changed all the ugly uses of \" in tag attriutes to '
as i was already on it ;)
2002-08-08 13:31:49 +00:00
Georg Richter
f9e5ba3446 Ups, forgot to remove load_infile tests. Thx to Brad Bulgar 2002-08-08 08:17:24 +00:00
Yasuo Ohgaki
4b7ad8104e Forgot this one. Fix build 2002-08-08 01:50:23 +00:00
Yasuo Ohgaki
19df86f388 Fix build 2002-08-08 01:46:07 +00:00
Georg Richter
8f7792a769 added zend_error messages for deprecated functions
inserted zak and me in author list/credits
2002-08-07 22:02:11 +00:00
Georg Richter
f4b4797aa8 removed unsued constants (MYSQL_USE_RESULT and MYSQL_STORE_RESULT) 2002-08-07 21:21:46 +00:00
Joseph Tate
3001ecc948 #Stupid. Sorry. 2002-08-07 17:03:42 +00:00
Joseph Tate
17d94ed821 #Don't use C++ Comments bug #18783 2002-08-07 16:52:00 +00:00
Marcus Boerger
abb280e9f7 left on debug infos
#overlooked that in diff
2002-08-07 16:35:48 +00:00
Marcus Boerger
36986742ae Ignore additional thumbnails
#anybody interested in expansion to support multiple thumbnails?
2002-08-07 16:19:43 +00:00
Brad House
a77c0a13f7 more syncing with libmcve-3.0 2002-08-07 14:29:16 +00:00
Yasuo Ohgaki
885d8073e4 Fixed crash. Patch by <kilbi@rad.rwth-aachen.de> 2002-08-07 11:50:49 +00:00
Brad LaFountain
a8326d6f62 Sync with Sourceforge CVS 2002-08-07 03:03:09 +00:00
Dan Kalowsky
e47f69532f A folding we will go, a folding we will go,
adding the fold and vim lines to make this easier to follow
2002-08-06 22:08:23 +00:00
Marko Karppinen
7498f56852 Updated proto to match the function (fix compile bustage on osx) 2002-08-06 19:39:12 +00:00
Brad House
d5ec9a9886 sync to libmcve-3.0 2002-08-06 16:36:05 +00:00
Dan Kalowsky
e410749014 Keeping function prototype variables the same 2002-08-06 03:48:15 +00:00
Marcus Boerger
7477baf33a datatype inconsistency found by Dan Kalowsky 2002-08-06 03:32:16 +00:00
Sascha Schumann
cd64450cd7 Touch file 2002-08-06 00:07:05 +00:00
Harald Radi
2007b1216a removed a possible NULL pointer referencing inside an error handler 2002-08-05 23:41:25 +00:00
Harald Radi
01dee775d1 found a memleak 2002-08-05 23:38:35 +00:00
Dan Kalowsky
61fc6e766f Removing the imap_popen command... because as Jani puts it "it never worked
and it never will work" until IMAP servers support this feature.
2002-08-05 21:53:09 +00:00
Stig Venaas
dddf235671 Made ldap_connect/bind/unbind() use zend_parse_parameters() 2002-08-05 21:14:14 +00:00
Marcus Boerger
55f735a587 Correct carset if iconv is active
#Same solution would work for mbstring - but that must wait
2002-08-05 19:00:09 +00:00
Marcus Boerger
6c094c3e07 ws fix 2002-08-05 18:42:41 +00:00
Marcus Boerger
dd8ec2dc0a -fix one warning
-send Content-Type Header with charset
2002-08-05 18:26:06 +00:00
Marcus Boerger
fd26a5c0a9 -New function ob_list_handlers
@- Added ob_list_handlers() which returns an array of all active output
@  handlers. (marcus)
2002-08-05 03:09:42 +00:00
Shane Caraveo
7645343c4a need to export var_replace and var_destroy for win32 2002-08-04 23:45:38 +00:00
Marcus Boerger
c467129528 move html_entities.c to proper place
#nice to have snaps.php.net
2002-08-04 22:54:24 +00:00
Marcus Boerger
fa175d6fa2 -Send charset US-ASCII or ini setting default_charset.
#After some discussion with Ilia Alshanetsky
#But perhaps we should have a look for a mbstring solution...
2002-08-04 22:49:48 +00:00
foobar
ed4267cf34 Add PHP_MINFO_* 2002-08-04 21:37:44 +00:00
Marcus Boerger
367ca8e2ae -Correct mime_name for HTML-ENTITIES encoding is of cause US-ASCII
-Full list of ASCII aliases
2002-08-04 20:50:53 +00:00
Marcus Boerger
81df625260 -Fix warnings (fixed all?) 2002-08-04 18:59:19 +00:00
Georg Richter
06b5f1f546 ups.. :) 2002-08-04 18:59:16 +00:00
Sergey Kartashoff
7fd1881692 - a small fix to mnogosearch extension (affecting UDM_BROWSER_CHARSET) 2002-08-04 18:58:20 +00:00
Georg Richter
83a09ac1f9 added meta tag (w3c compliance)
Thx to Ilia Alshanetsky (ilia@prohost.org)
2002-08-04 18:57:02 +00:00
Marcus Boerger
c4e66f4192 -Add new file to windows build 2002-08-04 18:33:28 +00:00
Marcus Boerger
77abd9d55a -New encoding/decoding HTML-ENTITIES.
#This allows to enforce named and numeric entities in output.
#Example:CMS that reads UTF8 or ISO-8859-1 but exports HTML in ASCII.
#Using mbstring.http_output=HTML-ENTITIES users receive entities which
#can displayed correctly independant of any brwoser side encoding.
@New mbstring encoding/decoding HTML-ENTITIES. (marcus)
2002-08-04 14:20:11 +00:00
Marcus Boerger
f2f70b5dda -Allow double quotes for encoding lists (if used in ini for example)
-New parameter 'L' for mb_http_input() to retieve input encoding as
 comma separated string.
@New parameter 'L' for mb_http_input() to retrieve input encoding as
 comma separated string. (marcus)
2002-08-04 14:10:58 +00:00
James E. Flemer
9eb1213206 Close pipes to avoid deadlock.
Submitted By: Melvyn Sopacua <msopacua@idg.nl>
2002-08-03 14:54:30 +00:00
Dan Kalowsky
d4ec2c30a0 Cleaning up the imap_get_quotaroot return array to remove useless data 2002-08-03 14:48:47 +00:00
Sergey Kartashoff
7279543c30 # mnogosearch example fix 2002-08-03 11:34:53 +00:00
Sergey Kartashoff
7a0fbd668a - UDM_PARAM_STORED mnogosearch parameter has been added to set
stored address.
2002-08-03 11:23:51 +00:00
Andi Gutmans
4b492c4deb - Fix build on Windows. Also please don't use Java style opening function
- bracket indentation.
2002-08-03 09:48:34 +00:00
Sergey Kartashoff
37e58c21b2 - An Udm_Make_Excerpt function has been added to mnogosearch extension
to support excerpts while using with mnogosearch-3.2.5 or later.
2002-08-03 08:53:27 +00:00
Brad LaFountain
c90764d753 one last fix for array_shift 2002-08-03 00:40:46 +00:00
James E. Flemer
3a8d66a021 Fix typo in #if. Bug #17538. 2002-08-02 14:35:24 +00:00
Marcus Boerger
de8c36dcaa -use const to clarify code
-fix tsrmls build (therefore rfc1867.c)
2002-08-02 10:22:31 +00:00
Hartmut Holzgraefe
e5fa36eee4 added money_format() function
this is similar to C-libs strfmon(), using the same format string
semantics but a different function prototype, so i decided to
give it a more speaking name similar to number_format()
2002-08-02 10:08:53 +00:00
Sergey Kartashoff
c9107a668f - UDM_PARAM_WORD_MATCH icorrect behavior has been fixed in
mnogosearch extension
2002-08-02 07:22:19 +00:00
Rui Hirokawa
7527bf0c58 made sapi_register_treat_data() to support multibyte input encoding translation without MBSTR_ENC_TRANS and changed php_treat_data to php_default_treat_data. 2002-08-02 06:53:48 +00:00
Brad LaFountain
9b0553c390 array_pop wasnt setting next index 2002-08-01 17:34:31 +00:00
foobar
922b7596a2 That was not correct.. 2002-08-01 16:44:47 +00:00
foobar
6df2b90c05 Reset index when doing array_pop() 2002-08-01 16:39:52 +00:00
foobar
362fc4ee76 Add test for the index resetting. 2002-08-01 16:39:14 +00:00
Rasmus Lerdorf
b15651c95f Ugh 2002-08-01 15:51:56 +00:00
Dan Kalowsky
f08a51f05a Adding in some BC for users to imap_get_quota() function 2002-08-01 14:47:48 +00:00
foobar
ababdff402 Added tests for array_shift/array_pop. 2002-08-01 12:33:02 +00:00
foobar
06b3dd122f Nuke compile warning. 2002-08-01 12:07:15 +00:00
foobar
9d62cd7d45 - Removed the DOS line endings
- Changed the '//' comment (this is C, not C++) to /* */
# Brad, use some editor which works..
2002-08-01 12:06:46 +00:00
Brad LaFountain
4f5bd6b7d4 made array_shift re-index like it did before previous fix 2002-08-01 04:38:11 +00:00
Sterling Hughes
3754f76507 add support for the curl dns cache 2002-07-31 22:10:58 +00:00
Marcus Boerger
dfe1a65faf -fix warnings in windows build 2002-07-31 21:34:37 +00:00
Zeev Suraski
bc82be4284 Fix crash 2002-07-31 14:41:06 +00:00
Dan Kalowsky
2832d8df94 WS 2002-07-31 13:51:20 +00:00
Dan Kalowsky
cc491407de Just adding in an error check that seems to work here well. 2002-07-31 13:50:51 +00:00
foobar
9fe39b9604 Reverted the patch..it breaks the original behaviour of at least array_shift. 2002-07-31 13:49:50 +00:00
Dan Kalowsky
7f30227181 removing the useless +1's on sizeof() and adding the mail_parameter for the
getquot inside the imap_get_quotaroot function.  thank Jani.
2002-07-31 01:03:31 +00:00
Dan Kalowsky
579d1b6a28 fixes a typo in the word "limit", adds the null character to the strlen,
and seems to make imap_get_quotaroot return the correct values despite
cclients claim of "getquotaroot list improper".
2002-07-30 23:16:11 +00:00
Brad LaFountain
70fb744365 fixed bugs 16063 and 16068
increased preformance of array_pop and array_shift
2002-07-30 22:54:12 +00:00
Stefan Esser
a6cf14ac5c ftp_close returns now TRUE on success and FALSE on failure. 2002-07-30 20:37:59 +00:00
Dan Kalowsky
18c0d30c58 Commiting Steph@php.net's patch to re-enable touch on Win32 machines 2002-07-30 20:24:13 +00:00
Rasmus Lerdorf
b17544fa33 Add --skel=dir option to ext_skel (patch from David Viner) 2002-07-30 19:02:23 +00:00
Rasmus Lerdorf
059f302596 Fix strtotime() "next" keyword handling. 2002-07-30 18:42:19 +00:00
Rasmus Lerdorf
d56bc7934d Fix for #18638 (str_rot13 bug) 2002-07-30 10:51:33 +00:00
Adam Dickmeiss
5246b7d9d4 Fixed proxy setting for ZOOM 2002-07-30 10:50:48 +00:00
Sterling Hughes
2f0a47cd55 add sablotron version, patch by Christian Stocker... 2002-07-29 23:57:26 +00:00
Adam Dickmeiss
ab9494f9cc Make PHP part of Z39.50 implementation name 2002-07-29 21:51:48 +00:00
Adam Dickmeiss
9decd37336 Use type ext rather than raw for ZOOM record fetch 2002-07-29 19:56:59 +00:00
Christian Stocker
825b5a42e2 - nodename is not always set, check if it really is.
- make force_ref for aliases as well
2002-07-29 14:04:44 +00:00
Edin Kadribasic
a55c1228ed Fixed bug #14657 (patch by Steph Fox) 2002-07-29 13:13:50 +00:00
Yasuo Ohgaki
073c21e5c0 Allow xmlrpc-epi header files stored under include/xmlrpc-epi 2002-07-28 21:03:26 +00:00
Derick Rethans
1630e1788f - Copy and paste error -> unify error messages 2002-07-28 19:29:28 +00:00
Stefan Esser
bffe4cf222 Added sha1, sha1_file functions. 2002-07-28 19:18:08 +00:00
Marcus Boerger
0383426860 -decode several MarkerNotes
-correct offset information in debug mode
@exif_read_data() can decode MarkerNote of several Cameras. (Marcus)
2002-07-28 17:21:51 +00:00
Stefan Roehrich
6f786ebf3e Commit patch as discussed on LinuxTag and posted to php-dev in June.
Disables zlib.output_compression for scripts with image/ content-type
header (fixes bug #16109) and makes it possible to switch
zlib.output_compression during script execution before the headers are
sent.
@- zlib.output_compression is disabled for "image/" content-type
@  headers and can be changed during script execution. (Stefan)
2002-07-28 14:08:08 +00:00
Yasuo Ohgaki
05aa532310 Unify error messages 2002-07-28 11:17:57 +00:00
Marcus Boerger
0b6074a343 forgot to move imeageellipse out of #ifdef HAVE_LIBGD20 2002-07-28 10:00:37 +00:00
Yasuo Ohgaki
3e7c884b1c Fixed query string handling. Now some.php?a&b=1;c works.
# arg_separator.output can be multile chars
2002-07-28 09:42:15 +00:00
Rui Hirokawa
fbbeaec630 fixed: output encoding translation by mb_output_handler() in ext/mbstring was not usable when Content-Type is set by header(). 2002-07-27 13:58:16 +00:00
Stefan Esser
70d7184624 Do not leak data connection. 2002-07-27 09:18:51 +00:00
foobar
d1e3622fcc - Fix bug: #18509, e.g. setting CURLOPT_BINARYTRANSFER succeeds always.
- Also set the binary mode ONLY if the passed value is true..
2002-07-26 22:57:14 +00:00
Frank M. Kromann
df0bab2c7b Fizing ZTS build 2002-07-26 22:14:55 +00:00
Stefan Esser
80e9724ccc [EXPERIMENTAL] Added functions for asynchronous FTP transfers 2002-07-26 22:00:25 +00:00
Marcus Boerger
8b853592b1 Missing Photoshop tags 2002-07-26 17:09:02 +00:00
Dan Kalowsky
b53b76335f forgot to make the same change to imap_get_quota... 2002-07-26 17:08:05 +00:00
Dan Kalowsky
05f3881995 Minor memory fix suggested by Zeev 2002-07-26 16:59:11 +00:00
Georg Richter
797f7736eb Bugfix: #18532
Fixed week number calculation in accordance with ISO 8601
2002-07-26 16:50:34 +00:00
Stefan Esser
55c1b3d35b fixed cut & paste typo 2002-07-26 16:26:55 +00:00
Dan Kalowsky
9f3f613642 Adding initial support for PHP imap_get_quotaroot
# apparently c-client does not like Cyrus's GETQUOTAROOT return list this
# is still be worked out, but all functionality should be there
# Return array is still not very organized
2002-07-26 16:26:01 +00:00
Dan Kalowsky
0ccc2207bf (PHP imap_get_quota) updated to properly reflect the RFC 2087 as per
bug #14673
@- imap_get_quota now allows multiple resource values to be returned, as
   per RFC 2087, closes bug #14673 (kalowsky, Sander Steffann)
2002-07-26 16:22:43 +00:00
Marcus Boerger
b0b2226352 reapply patch for imageellipse beeing wrappet to imagearc if missing
# derick: the rest of the patch wasn't removed
2002-07-26 13:24:45 +00:00
Stefan Esser
c9676ccad7 @- FTP extension does support (auto)resuming now.
Added (Auto)Resuming functionality to ftp_(f)get/(f)put via optional 5th parameter.
2002-07-26 13:03:08 +00:00
Stefan Esser
02e6cd022a all functions based on php_stat are now safe mode aware... 2002-07-26 08:04:42 +00:00
foobar
df3ae7ca85 Fixed bug: #18561. 2002-07-25 11:33:21 +00:00
Derick Rethans
b7cc9f7447 - Added parameter to print_r which returns the variable representation
instead of echoing it.
@- Added parameter to print_r which returns the variable representation
@  instead of echoing it. (Derick)
2002-07-25 11:22:20 +00:00
Marcus Boerger
4a8dd1255f -handling of thumbnails in sub IFDs (the Photoshopway for TIFF)
-Some Photoshop specific tags
#after the last patches this finally fixes all warnings and errors in bug #18405
2002-07-25 00:52:30 +00:00
Yasuo Ohgaki
7b3fb771e4 is_object() returns FALSE if object is a "incomplete object".
Raise E_NOTICE, instead of E_ERROR, for setting/getting properties
to/from a "incomplete object".
2002-07-24 09:55:11 +00:00
Uwe Steinmann
7df5113ef2 - removed unused variable 2002-07-24 05:59:04 +00:00
Marcus Boerger
837fa41da5 -naming convention
-better notices
-(D)WORD are unsigned datatypes
-started to split tygs into different arrays that would allow to handle vendor specific tags after detection of their markers
#BUT simply i do not have any vendor specific image tags...
2002-07-24 00:05:41 +00:00
jim winstead
e83a35d215 restore shane to list of members of php group (got lost somewhere along the way) 2002-07-23 23:46:54 +00:00
Edin Kadribasic
35cd16f6bf MFB (patch by Troels Arvin <troels@arvin.dk>).
Added pcre include path to global list of includes in order to allow
use of external pcre libs.
2002-07-23 13:07:29 +00:00
foobar
3177f1ca2a Fix bug: #18479. Better error message what was not found. 2002-07-23 01:11:16 +00:00
Jason Greene
a64eceef59 Switch streams socket abstraction to use a timeval structure instead of an
integer to allow subsecond timeouts.

This supports the previous behavior of fsockopen()
Fixes bug #16261
2002-07-22 18:46:26 +00:00
Marcus Boerger
469266e4a2 added some more tags from WinXP
changed conersion for TAG_FMT_SBYTE & BYTE
#second change fixes unnecessary conversion timeout
#found by Johan Hultgren <johan@6thgear.se>
2002-07-22 15:07:12 +00:00
Marcus Boerger
b4c3a0f06e added EXIF Version 2.2 Tags 2002-07-22 11:36:17 +00:00
foobar
2701726cf8 Fix typo.. 2002-07-22 08:58:21 +00:00
Yasuo Ohgaki
882f83cf81 Copy empty_string, fixed crash.
# I thought efree() won't free empty_string...
2002-07-22 06:38:36 +00:00
Marcus Boerger
21da93abe1 unify error messages & notices
# this fixes exif again since it was broken by message unify
2002-07-21 22:38:23 +00:00
Georg Richter
cbcdae7002 removed changes for mysql_select_db (optional parameter)
Why:
1) Its not the common way to add additionally functionality for functions or
features which are already implemented in SQL. Therefore also a lot of
mysql functions are marked as deprecated (and will be removed in near future)

2) The implemented workaround works only when mysql_select_db was called
before (fetching the databasename from mysql->conn.db). It returns invalid
or inconsistent results e.g.:

- when "USE databasename" via mysql_query was used
- when database was dropped or grant privileges had changed.

In conjunction with persistent connection, there are also some inconsistencies,
cause mysql_select_db returns the databasename from an old connection.

To determine the database name just use the SQL command "SELECT DATABASE()"
2002-07-21 21:36:10 +00:00
Georg Richter
96276bf8a0 fixed bug in mysql_real_escape_string:
allocated 1 more byte for '\0' terminating character
2002-07-21 20:16:03 +00:00
Yasuo Ohgaki
36e80ddc15 Added pg_fetch_all() that fetch all rows in result.
Useful and faster when there is enough memory.
@Added pg_fetch_all() that fetch all rows in result. (Yasuo)
2002-07-21 07:25:10 +00:00
Stig Bakken
d0f2e617ce * fixed some errors in package.xml 2002-07-21 06:35:55 +00:00
Yasuo Ohgaki
78a2781936 Fixed php_pgsql_convert's bool type handling. 2002-07-20 07:45:01 +00:00
Yasuo Ohgaki
0b7f2da4cf Hmm. My PostgreSQL returns "bool" for boolean now. 2002-07-20 07:24:15 +00:00
Yasuo Ohgaki
06c969e68a Fixed convetion when null string is passed to php_pgsql_convert() 2002-07-20 07:08:17 +00:00
Yasuo Ohgaki
c0306424fa Fixed crash. 2002-07-20 06:45:35 +00:00
Harald Radi
cbe4f69663 - added a skeleton for new layers
- a bit cleanup
2002-07-19 16:19:00 +00:00
Derick Rethans
70a5d29ece Unify error messages 2002-07-19 09:21:29 +00:00
Derick Rethans
2390cdafcf Unify error messages 2002-07-19 08:36:43 +00:00
Derick Rethans
7409f1cfd4 Unify error messages 2002-07-19 07:18:16 +00:00
Harald Radi
c83f78dc96 ext/rpc/com should work now, but there's still lots of work left. 2002-07-18 18:31:37 +00:00
Dan Helfman
2d695778e8 removing tclink extension so it can be moved to pear/pecl 2002-07-17 22:53:43 +00:00
Dan Helfman
ee250fb4d6 new credit card processing module for TrustCommerce
http://trustcommerce.com/tclink.html
2002-07-17 22:07:05 +00:00
Andrei Zmievski
8e71a98cc9 Fix DL entry point. 2002-07-17 19:27:36 +00:00
foobar
a85f813b6c Remove evil quotes 2002-07-17 17:28:57 +00:00
Christian Stocker
2ba020d012 even more items on the TODO list 2002-07-17 08:59:05 +00:00
Christian Stocker
bb069a1ccb nodename is not always set, check if it really is. 2002-07-17 08:57:29 +00:00
Yasuo Ohgaki
ba670fb19d Fixed build. 2002-07-17 07:50:32 +00:00
foobar
e20b22fbc3 unbreak the shared build..again 2002-07-17 06:01:37 +00:00
Yasuo Ohgaki
a6384b3685 Added safe_mode & open_basedir checks for pg_lo_export()
@Added safe_mode & open_basedir checks for pg_lo_export() (Yasuo)
2002-07-17 05:01:58 +00:00
Yasuo Ohgaki
166ace3fa9 Added open_basedir check.
@ Added open_basedir check for pg_lo_import() (Yasuo)
2002-07-17 04:58:58 +00:00
Yasuo Ohgaki
7eecae7527 Changed configure option order to make it clear option dependecy to users. 2002-07-17 00:17:43 +00:00
Yasuo Ohgaki
dc794edb1a Disable input encoding tranlation by default. 2002-07-17 00:11:32 +00:00
foobar
dcb0523894 fix protos 2002-07-16 19:26:23 +00:00
Jason Greene
9b68acb7f7 @Fixed infinite recursion crash bug in ticks (Jason)
Prevent reenterant calls to a user tick function by flagging the function
entry during call.

This prevents code like the following from infinitely recursing until a
crash occurs:
<?php

register_tick_function(a);

declare(ticks=1) {
	function a() {
		print "blah\n";
	}
	;
	;
	;
	;
}
?>
2002-07-16 14:14:22 +00:00
Georg Richter
950a576f73 Added support for php.ini parameter "mysql.connect_timeout" 2002-07-16 13:53:54 +00:00
Edin Kadribasic
50ca75a0f6 Fix bug #16985 (wrong count of GET/POST variables). 2002-07-15 17:48:54 +00:00
Anantha Kesari H Y
44bbec7acb mysql_create_db and mysql_drop_db disabled for NetWare 2002-07-15 11:14:18 +00:00
Yasuo Ohgaki
a1f37648b3 Clean up code a little (Remove a use of magic number)
Change/add appropriate comments.
2002-07-15 10:04:01 +00:00
Shane Caraveo
59e1b8e1c2 make this work with wsdl also 2002-07-14 22:57:53 +00:00
Andrei Zmievski
3650bab76f Fix Bug #18341.
@- Fixed cases where preg_split() incorrectly terminated final element if
@  it contained null byte. (Andrei)
2002-07-14 22:36:47 +00:00
Shane Caraveo
da1a01ee93 a few fixes
fix __isfault
fix decimal encoding
fix a couple crashers in release builds by initializing variables
set http to 1.0 since 1.1 features are not really supported
2002-07-14 22:16:21 +00:00
Shane Caraveo
eaf442b97f A start towards porting interop tests to php-soap 2002-07-14 22:14:38 +00:00
Rasmus Lerdorf
6d992a9f0d Fix a couple of protos 2002-07-14 15:45:33 +00:00
Yasuo Ohgaki
52f1ae5ac5 Move comment.
Remove a skip condition does not required.
2002-07-14 01:12:23 +00:00
foobar
7259893862 These options are all enabled by default. (why?) 2002-07-14 00:12:13 +00:00
foobar
b87ac98701 These options are all enabled by default. (why?) 2002-07-14 00:11:44 +00:00
Yasuo Ohgaki
3639807a81 Fix tests. Moriyoshi Koizumi <readjust@deneb.freemail.ne.jp> 2002-07-14 00:08:22 +00:00
Sander Roobol
99b495b25d Fixed win32 build 2002-07-13 09:26:36 +00:00
foobar
7892e41645 Kill compiler warning 2002-07-13 08:42:38 +00:00
foobar
7e8aa50fe0 Fix SKIPs for these tests. 2002-07-13 08:08:36 +00:00
foobar
f059932711 nuke unused variable warning 2002-07-13 07:10:59 +00:00
foobar
efd065ff78 Fixed some unused variable warnings 2002-07-13 05:53:06 +00:00
foobar
0ace7f66f3 Nuke unused variable 2002-07-13 05:42:47 +00:00
foobar
3624b97ff1 Kill compile warning 2002-07-13 05:42:01 +00:00
foobar
71b0e91bad Really fix it this time.. 2002-07-13 05:01:55 +00:00
foobar
e3797ab76a Fixed bug: #16638. 2002-07-13 04:45:21 +00:00
foobar
2f8dc7a47c - Made the trim functions use same base function. (less code :)
- Renamed php_trim2 -> php_trim (not used anyplace else, yet)
- Made php_trim abit more usable for external use. (not necessary to use
  zvals with it anymore)
2002-07-13 04:13:43 +00:00
foobar
1e48f66729 Fixed the undefined reference to 'gdttf' errors when using bundled GD lib.
# I removed that in the first place..don't remember why. :(
2002-07-13 04:06:26 +00:00
Yasuo Ohgaki
4994b58c0b Fixed tests. Patch by Yoshimori Koizumi <readjust@deneb.freemail.ne.jp> 2002-07-13 01:05:13 +00:00
foobar
5d001a9ab6 Partially reverted the netware related commit. 2002-07-12 23:25:30 +00:00
foobar
20a735db2c Beauify a bit.. 2002-07-12 22:59:35 +00:00
foobar
21245bcbeb Some ws fixes. And removed the problems causing typedef for ushort. 2002-07-12 22:57:19 +00:00
foobar
48634e4026 - Fixed compile (bug #18297) on such systems which define uchar. 2002-07-12 22:34:43 +00:00
foobar
7b0b6d0b8c Bail out the given path does not have the libraries in it. 2002-07-12 22:11:54 +00:00
foobar
36fbe5c933 Fixed bug: #18295. e_os.h is not supposed to be included.. 2002-07-12 21:46:36 +00:00
Anantha Kesari H Y
2af885d467 Added NetWare changes 2002-07-12 12:55:56 +00:00
foobar
93f9acbffa Make configure stop if something is wrong with libraries/linking. 2002-07-12 12:13:45 +00:00
foobar
ceadbe0e99 Fix ZTS build 2002-07-12 11:45:05 +00:00
Sebastian Bergmann
bec1633335 Remove unused variables. 2002-07-12 04:57:14 +00:00
foobar
c334894a2b ws fix 2002-07-11 20:29:53 +00:00
Rui Hirokawa
555ca8eedd added mbstring.language option in ext/mbstring. 2002-07-11 15:45:35 +00:00
Adam Dickmeiss
6c19790778 yaz.max_links, yaz_log_file setting. User-defined Other Info 2002-07-11 13:04:03 +00:00
Adam Dickmeiss
377f5cfb13 Include YAZ support libs (if any) 2002-07-11 13:02:52 +00:00
Uwe Steinmann
ecba0709e6 - added missing file 2002-07-11 06:35:28 +00:00
James Cox
a234c521b9 adding patch from http://www.coupin.net/gd-freetype/ which makes images anti aliased (and therefore more readable).
#this does actually work.
2002-07-11 04:36:22 +00:00
Yasuo Ohgaki
f3f3f76209 Added traslit test files. Moriyoshi Koizumi <readjust@deneb.freemail.ne.jp> 2002-07-11 03:44:12 +00:00
Yasuo Ohgaki
2e77bb3072 Fix #16069. Patch by Moriyoshi Koizumi <readjust@deneb.freemail.ne.jp>
@ Made iconv() work well with libiconv or libgconv. (Moriyoshi, Yasuo)
2002-07-11 03:37:28 +00:00
foobar
4d69e91806 Fix bug: #14052 2002-07-11 02:48:00 +00:00
foobar
c8f5edec93 Fixed bug: #16637, username/password needs to be urlencoded. 2002-07-11 02:35:45 +00:00
foobar
0790c58f96 Fixed bug: #18250 2002-07-11 02:31:38 +00:00
Harald Radi
77f1d265be merging parts of the old com extension to the new rpc extension 2002-07-10 20:27:17 +00:00
Jason Greene
d907b2d525 @Fixed socket_set_timeout on win32 (Jason, Edin, Jani) 2002-07-10 15:23:47 +00:00
Georg Richter
05007b0cbb 1) New constants:
MYSQL_CLIENT_SSL for ssl connections
MYSQL_CLIENT_COMPRESS for compressed protocol
MYSQL_CLIENT_IGNORE_SPACES for spaces after function names
MYSQL_CLIENT_INTERACTIVE for closing connections after timeout_interactive seconds

2) Optional parameter client_flags for mysql_connect and mysql_pconnect
For parameter desctiption see 1.
This also should fix bug #13589

3) New internal function _rollback_mysql_transactions, which is called via
PHP_RSHUTDOWN_FUNCTION
This fixes bug #12513
2002-07-10 13:16:24 +00:00
Derick Rethans
2855b21e1c - Initialize var properly 2002-07-09 21:42:07 +00:00
Stig Venaas
910e6275d4 Hopefully fixes build with IBM's LDAP library 2002-07-09 20:54:49 +00:00
Harald Radi
d90ca98223 add file again that andrei deleted by
accident (i don't want to blame anyone here)
2002-07-09 20:32:05 +00:00
Sterling Hughes
31d5c44ea5 eek 2002-07-08 21:12:07 +00:00
Sterling Hughes
c28f8fca08 commit petr's sax handler patch 2002-07-08 21:04:59 +00:00
Andi Gutmans
c28df01280 - Add TSRMLS_DC to prototype. 2002-07-08 18:44:05 +00:00
Andi Gutmans
b4146638f0 - Fix TSRMLS_* stuff 2002-07-08 18:29:54 +00:00
foobar
df9fc2bb51 Fix shared build and made the logic of finding the socket location better. 2002-07-08 15:31:01 +00:00
Derick Rethans
728f2de442 Unify error messages 2002-07-08 12:52:22 +00:00
Derick Rethans
bd356fd0b9 Unify error messages 2002-07-08 11:52:57 +00:00
Derick Rethans
fca0231206 - Add warning to is_*() functions if more than one argument was passed 2002-07-08 11:50:01 +00:00
Derick Rethans
392a452c80 Silence warning 2002-07-08 07:33:22 +00:00
Derick Rethans
cc920570fd Unify error messages 2002-07-08 07:32:59 +00:00
Derick Rethans
7faa669915 - Fix for bug #14580: Made key() binary safe 2002-07-08 07:02:55 +00:00
Shane Caraveo
a51e6a9400 a little more whitespace fix 2002-07-08 01:32:34 +00:00
Shane Caraveo
ec3b1f1feb fix the line ending problems in the files 2002-07-08 01:23:06 +00:00
Shane Caraveo
f8875adaab import php-soap library from sourceforge 2002-07-07 23:03:43 +00:00
Sterling Hughes
a6d815fb7c fix win32 build 2002-07-07 21:51:25 +00:00
Christian Stocker
e5bcd202ce @ - Added domxml_node_namespace_uri() (Rui Lopes). 2002-07-07 17:19:29 +00:00
Sebastian Bergmann
72e7e4afd9 Fix warning. 2002-07-07 08:19:36 +00:00
Jason Greene
0cd2d8bd38 Remove sleep workaround, and fix the actual win32 memory leak which
was occurring in the error reporting system. The reason why sleepex appeared
to be working was because it suppressed EWOULDBLOCK errors in the example
(which was non-blocking)
@Fix win32 memory leak in /ext/sockets that would occur on any error condition
@Fix host resolution error messages on win32
2002-07-07 07:01:17 +00:00
foobar
5ea1e264ff ws fix 2002-07-07 00:55:51 +00:00
foobar
d85eeba77c Fix the fix properly. 2002-07-07 00:54:38 +00:00
Derick Rethans
7cdd6a6bb5 - Consistent error messages 2002-07-06 11:18:47 +00:00
foobar
f56450ff14 Fix bug: #16707 2002-07-05 19:34:42 +00:00
foobar
466208eafb Fix typo. 2002-07-05 18:16:31 +00:00
Rui Hirokawa
ead78e9125 fixed shift_jis character corruption including 0x5c as second byte following a slash on uploaded filename. 2002-07-05 15:06:39 +00:00
Dan Libby
2154e7b55b merged in updates from SF project. bring php repository up to date with xmlrpc-epi version 0.51 2002-07-05 04:43:55 +00:00
Stig Bakken
c6ec881953 * fix segfault in case of odd version numbers 2002-07-05 01:00:05 +00:00
Stig Bakken
8b4a25ec13 (PHP version_compare) added "alpha" and "beta", make tests pass 2002-07-05 00:55:02 +00:00
foobar
b0ed560c95 @- Added optional 3rd parameter 'recursive' to ftp_rawlist() which will
@  do 'LIST -R' instead of 'LIST'. (Jani)
# tested too..and it even works. :)
# (removed that Z_TYPE_P() pollution also..)
2002-07-04 13:48:48 +00:00
foobar
bb0d7d6e31 - Let's be tad more verbose what's happening during 'make install' 2002-07-03 22:12:13 +00:00
Frank M. Kromann
bda7548a00 Removed unneeded check for MBSTR_ENC_TRANS 2002-07-03 18:45:34 +00:00
Frank M. Kromann
9a743eef77 Adding _RU files to project 2002-07-03 18:24:14 +00:00
Frank M. Kromann
0818410f7c Fixing ZTS build 2002-07-03 18:23:55 +00:00
Frank M. Kromann
fd348068f4 Adding missing prototype 2002-07-03 18:23:24 +00:00
Rui Hirokawa
bb21c40738 fixed shift_jis character corruption including 0x5c as second byte on uploaded filename. 2002-07-03 13:36:19 +00:00
Sterling Hughes
f7a5c05bb6 formatting fixes 2002-07-03 12:02:17 +00:00
Sterling Hughes
51e5a578b7 fix bug #17963 2002-07-03 11:50:00 +00:00
Edin Kadribasic
9dcfbf41fa Fixed win32 build. 2002-07-03 10:54:42 +00:00
Sascha Schumann
9c876ea01a Add sapi_header_op interface which supersedes the sapi_add_header and _ex
calls.

Revert the change to the sapi_add_header_ex interface.

Fix various bugs:

1.  header("HTTP/1.0 306 foo");
    header("Location: absolute-uri");

    did not work in combination with several SAPI modules, because
    http_status_line was never properly reset.  And thus, all SAPI
    modules which looked at http_status_line ignored the changed
    http_response_code.

2.  The CGI SAPI did not send out the HTTP status line at all, if
    http_status_line had not been set explicitly by calling
    header("HTTP/1.0 200 foo");
2002-07-03 10:42:31 +00:00
Derick Rethans
c73733c59a - Fix windows build
#- I could not test this, please try!
2002-07-03 06:45:01 +00:00
Uwe Steinmann
47b5b8da58 - fixed bug in hwnew_new_document_from_file 2002-07-03 06:10:29 +00:00
foobar
980d7a11a9 Fix the nasty crash. And Sterling..test next time before you commit? 2002-07-03 03:18:55 +00:00
foobar
29aae162e0 ws fix 2002-07-03 02:16:46 +00:00
Frank M. Kromann
8a7c339974 Add default arguments to new internal mail function. 2002-07-02 23:46:15 +00:00
Frank M. Kromann
d305126002 Make sure To addresses are parsed correct with RFC822. 2002-07-02 23:45:32 +00:00
Marcus Boerger
b634ec9e30 -fix datatypes for some vriables
-fix comment for function exif_process_CME
-force return parameters to be passed by reference
#this should kill warnings on win systems as found by Edin
2002-07-02 22:38:37 +00:00
Frank M. Kromann
a66cbb8e07 Fixing compilation of FrontBase extension with ZTS 2002-07-02 21:36:11 +00:00
Sterling Hughes
d4512030bb use access instead of manually determining file permissions.. 2002-07-02 21:02:34 +00:00
Frank M. Kromann
407a0ec66a Switch from imap_sendmail.* to sendmail.c under Win32 2002-07-02 19:29:15 +00:00
Derick Rethans
f7cab95a7d - Be nice to users and allow them to check if the mail was send 2002-07-02 14:22:22 +00:00
Derick Rethans
0d61ab3814 - Disable 5th parameter to mail in safemode
@- Disabled the fifth parameter to the mail function in safemode. (Derick)
2002-07-02 13:56:47 +00:00
Derick Rethans
7b7608d630 - Fix for bug #15547 (Patch by Justin Garrett <usjgarrett@byu.edu>) 2002-07-02 06:16:35 +00:00
Derick Rethans
d73eed9210 - No C++ comments 2002-07-01 18:52:30 +00:00
Christian Stocker
e1483035b6 outcomment everything related to domxml_elem_set_attribute_node(). This
function is not implemented and shouldn't show up at all for the time
being
2002-07-01 14:48:38 +00:00
Derick Rethans
7115041c92 - More error messages cleanup 2002-06-30 11:14:27 +00:00
foobar
3c873776b8 Fix bug: #16252 2002-06-30 05:10:40 +00:00
Sascha Schumann
71a603ea32 Fix some 8bit issues with IRCG nickname encoding and
Change the underlying interface of smart_str to accept unsigned char.
2002-06-29 18:46:49 +00:00
Derick Rethans
dc900d4f77 Unify error messages part 1 2002-06-29 17:40:28 +00:00
Derick Rethans
06ad4767e3 - Fix GD build with GD 1.8.3 2002-06-29 15:54:02 +00:00
Derick Rethans
1bf9b3d736 - Fix for bug #17654 2002-06-29 15:39:41 +00:00
Thies C. Arntzen
5a0c283700 fix leak 2002-06-29 11:13:03 +00:00
Sergey Kartashoff
46079bc015 Search example (which demonstrates using of mnogosearch API) is updated. 2002-06-29 10:42:54 +00:00
foobar
4a4abfa65d Fix some build error on win32 (snapshot build) 2002-06-29 02:12:42 +00:00
James Cox
cd5fe093b3 make this build too. 2002-06-29 02:03:36 +00:00
James Cox
2ba3ae05bd removed these files from build. 2002-06-29 02:01:32 +00:00
foobar
158370464a This is not done anymore. (should fix win32 snapshot build too) 2002-06-29 01:55:36 +00:00
foobar
adade98519 - Fix the shared problem. (the previous patch really didn't fix anything) 2002-06-29 01:19:35 +00:00
foobar
0ffb2c25cf Missing TSRMLS_* stuff 2002-06-29 00:40:34 +00:00
Anil Madhavapeddy
ed6b43582e remember the value of ext_shared passed into the --with-pdflib, since it
gets overwritten by future PHP_ARG_WITH checks in the same m4 fragment

from wilfried@openbsd.org
2002-06-28 16:47:36 +00:00
Derick Rethans
0c8d24b53a - More gotchas... 2002-06-28 15:08:20 +00:00
Derick Rethans
787ee41beb - Fix more TSRM gotchas 2002-06-28 14:51:12 +00:00
Derick Rethans
ea7653f667 - Fix TSRM gotcha 2002-06-28 14:35:20 +00:00
foobar
29a2967936 t1lib.h needs to be included here now. 2002-06-28 12:46:07 +00:00
foobar
e2eaa0261a Moved all gd.h related stuff to gd.c 2002-06-28 12:35:30 +00:00
foobar
569da8b3bf Remove unnecessary #include's 2002-06-28 12:25:57 +00:00
foobar
78adadafc4 Remove unused files. 2002-06-28 12:23:20 +00:00
Derick Rethans
b7ffa6033b Unify error messages 2002-06-28 10:52:11 +00:00
foobar
32e08c7e52 Fix bug: #14735 2002-06-28 09:53:25 +00:00
foobar
ab0d5fecd3 Fix bug: #17528, do not crash with empty string. 2002-06-28 09:23:50 +00:00
foobar
316a8b0b4f - Fix annoying redefine warning..
# ZAK! Heads up and fix this in Mysql CVS too.
2002-06-28 08:34:34 +00:00
foobar
feb450bae7 - Fix bug: #17671 2002-06-28 07:47:19 +00:00
Derick Rethans
4330c0d9f3 - Fix for bug #18039 2002-06-28 07:12:32 +00:00
Derick Rethans
b24c24969c Unify error messages 2002-06-28 06:43:17 +00:00
foobar
087f2be56f - Fixed bug: #17977, session build as shared works now with mm handler too.
- Added listing of save handlers into phpinfo() output
2002-06-28 02:27:02 +00:00
foobar
1f2c1d8093 Consistency fix. 2002-06-27 23:05:11 +00:00
foobar
c8f3357586 - Fixed bug: #15595 (and possibly others too) 2002-06-27 22:16:53 +00:00
Sander Roobol
609e134871 Update configure line in phpinfo() after re-running configure without
running make clean first, bug #18012.
2002-06-27 10:01:06 +00:00
Derick Rethans
78ed8dcb7d Unify error messages 2002-06-27 06:54:51 +00:00
Derick Rethans
51dfe5eebe Unify error messages 2002-06-27 06:49:02 +00:00
Derick Rethans
a954dd6ee9 - Remove \n 2002-06-27 06:24:26 +00:00
foobar
e6921a7b23 - Cleaning up the mess..these are NOT zvals. 2002-06-27 01:47:36 +00:00
foobar
7eb0741a68 - Fixed bug: #17999
- The errors should always be stored, but they are not supposed to be
  shown at request shutdown unless E_NOTICES are allowed.
2002-06-26 23:28:31 +00:00
Anil Madhavapeddy
639d607db6 use LIBNAME consistently. Useful on systems like OpenBSD where the curses
library is called 'curses' and not 'ncurses'
2002-06-26 22:22:47 +00:00
Anil Madhavapeddy
34b3fbd153 the ncurses_getch() is in the wrong place and never gets run 2002-06-26 22:20:09 +00:00
foobar
34de1f6578 Better not pollute the EXTRA_LIBS with libpaths. 2002-06-26 21:44:58 +00:00
Derick Rethans
ea303541f8 - And the SAPI too 2002-06-26 18:58:49 +00:00
Derick Rethans
3696bc781a - Update credits 2002-06-26 18:58:25 +00:00
Derick Rethans
e1c2e158ff - Update TODO 2002-06-26 18:49:42 +00:00
Derick Rethans
734496b44f - Nuke some TSRMLS_FETCHes 2002-06-26 18:49:08 +00:00
Derick Rethans
b5c0408594 - Fix build
#- Please test next time! This file is never installed with a default gd
#  install
2002-06-26 18:32:27 +00:00
Derick Rethans
f9b21c4b7d - Fix typo 2002-06-26 13:07:40 +00:00
Derick Rethans
1d5ab209eb - Unify error messages
#- This is the last one for today... can't really stand another
#  get_active_function_name(TSRMLS_C)  :)
2002-06-26 09:09:35 +00:00
Derick Rethans
ef591e5b81 Unify error messages 2002-06-26 08:57:18 +00:00
Derick Rethans
20213ed1b7 Unify error messages 2002-06-26 08:48:55 +00:00
Derick Rethans
6540bebab4 Unify error messages 2002-06-26 08:39:52 +00:00
Derick Rethans
e7d006fa31 Unify error messages 2002-06-26 08:32:25 +00:00
Derick Rethans
7d4a78bad5 Unify error messages 2002-06-26 08:07:59 +00:00
Sascha Schumann
ee477dbc56 Fix code which makes wrong assumptions about the return value of snprintf.
The AOLserver module did not use the return value, so simply drop it.
2002-06-26 07:54:50 +00:00
Derick Rethans
f57306cdd9 Unify error messages 2002-06-26 07:54:00 +00:00
Andi Gutmans
1f58a8f087 - No idea why this wasn't crashing before. 2002-06-26 07:36:01 +00:00
Derick Rethans
8967b5725b Unify error messages 2002-06-26 07:24:47 +00:00
Derick Rethans
2d1b304781 - Unify error messages 2002-06-26 06:49:25 +00:00
Marcus Boerger
67bfbbe881 map imageellipse to imagearc if missing
fix warnings
2002-06-25 22:23:41 +00:00
Marcus Boerger
43ec2dfa59 bits/channels for gif 2002-06-25 21:22:14 +00:00
Christian Stocker
d68707a2c9 should compile on windows again 2002-06-25 09:46:15 +00:00
Christian Stocker
15416d6797 include libxml/parserInternals.h 2002-06-25 09:19:20 +00:00
Marcus Boerger
33b5d72f6c imageellipse is removed in 2.01
#maybe someone reintroduces this one in bundled lib?
2002-06-25 09:00:09 +00:00
Markus Fischer
c15d83b9ed - Fix proto. 2002-06-25 06:24:45 +00:00
Marcus Boerger
46a373ba70 modified test3 (old one had a warning) 2002-06-24 22:22:42 +00:00
Marcus Boerger
ba6498e4c5 missing return value 2002-06-24 22:00:22 +00:00
Marcus Boerger
cccc4e3c5a register IMAGETYPE_<xxx> constants in image.c as they are needed
there.
2002-06-24 19:36:26 +00:00
Derick Rethans
2a6980a720 - Make functions not exist when they are not available. This means you can
now safely do function_exists() on all gd functions.
2002-06-24 19:31:44 +00:00
Marko Karppinen
ec88777f59 Revert to php_4_2_1 to get sablotron working again.
# Sterling, please fix the DOM stuff asap so we can enjoy
# the new functionality!
2002-06-24 19:31:31 +00:00
Marcus Boerger
48bdf08edb @GetImageSize now allways set fields unknown to 0 and new Imagetype
@iff. (Marcus)
2002-06-24 19:19:08 +00:00
Christian Stocker
b6440188b1 added some points to the todo list 2002-06-24 18:02:48 +00:00
foobar
f0998192b4 No need to have multiple AC_CHECK_FUNCS calls 2002-06-24 09:25:51 +00:00
Sterling Hughes
8a04592352 standardize a bit (we know its enabled :) 2002-06-23 22:44:29 +00:00
Marcus Boerger
1f56d4ba08 -imagetype2mimetype renamed to image_type_to_mime_type 2002-06-23 00:43:11 +00:00
Marcus Boerger
16a753d3c2 -new test for WinXP tags 2002-06-23 00:39:34 +00:00
Marcus Boerger
b21a4d7fa9 -fix test results 2002-06-23 00:38:25 +00:00
Marcus Boerger
966e1d450e -corrected test result 2002-06-23 00:26:34 +00:00
Marcus Boerger
d782c712ca -exif version
-missing constant (and notice)
-corrected error messages
2002-06-22 23:43:16 +00:00
Marcus Boerger
4c53f954be @exif_read_data returns mime-type now for image and thumbnail And exif_thumbnail now optionally returns imagetype. (Marcus)
#So now you can use imagetype2filetype with exif_thumbnail
2002-06-22 18:38:33 +00:00
Marcus Boerger
c8f1529d08 @GetImageSize now returns additional index 'MimeType' and new function
@imagetype2mimetype to convert php imagetypes to mime-types. (Marcus)
#the reason why i export php_imagetype2mimetype is that i use that for
#exif, too. Followup example will explain why.
2002-06-22 18:14:39 +00:00
Marcus Boerger
d4b1909afe ws fix 2002-06-22 17:09:28 +00:00
Stig Venaas
58ce28e588 Better not include ldap_parse_result() and ldap_start_tls() at all in
the symbol table when they are not usable. Makes it possible to check
on their usability.
2002-06-22 15:41:39 +00:00
Stig Venaas
c83f5a530d Added test for ldap_start_tls_s() 2002-06-22 11:41:36 +00:00
Den V. Tsopa
f26fbd2bd5 small fix in preprocessor directive 2002-06-22 08:01:57 +00:00
Markus Fischer
d01f7a8a52 - Fix ZTS build, see #17915. 2002-06-21 22:22:46 +00:00
Harald Radi
5a6a5bc609 removed CONST_EFREE_PERSISTENT so that andi can commit his patch
# _now_ it should work
2002-06-21 10:43:45 +00:00
Harald Radi
5dbd205bf7 removed CONST_EFREE_PERSISTENT so that andi can commit his patch
# second try
2002-06-21 10:35:33 +00:00
Harald Radi
ed1b5c0388 removed CONST_EFREE_PERSISTENT so that andi can commit his patch
# this is one of these nice patches where you only remove something :)
# i still don't get what CONST_EFREE_PERSISTENT should have done
# there but the cvs log says that i can blame zeev :-P
2002-06-21 10:02:26 +00:00
Derick Rethans
6869cb3f5a - Added a new parameter to the header() function which overrides the HTTP
response code.
@- Added a new parameter to the header() function which overrides the HTTP
@  response code. (Derick)
2002-06-21 09:31:21 +00:00
foobar
e79b06fc02 Make this extension compile as shared extension too. 2002-06-21 00:15:48 +00:00
Sander Roobol
7c4ad7eda4 ZTS fixes
# if this breaks something, please let me know... i've got really no
# idea what i'm doing but this fixes the ZTS build :)
2002-06-20 20:13:20 +00:00
Uwe Steinmann
662962f25c - take version of libxslt and libxml from runtime variables to make
sure the reported versions correspond to the actually installed
	versions of libxml and libxslt
2002-06-20 05:48:45 +00:00
Marcus Boerger
010e5e60ac correct handling/generating of php_mbstr_default_identify_list 2002-06-19 21:55:42 +00:00
Christian Stocker
6ff3e9dc3d - Make domxml_xslt_process() working again. 2002-06-19 15:12:14 +00:00
Sander Roobol
3d1612c2fb Made the API versions appear better on phpinfo(); 2002-06-19 13:24:01 +00:00
foobar
5060a9b379 Fix bug: #17130 2002-06-19 01:11:20 +00:00
Stig Venaas
7853832234 Made array_unique() always keep the first occurrences of duplicates,
making the behavior easier to understand, and maybe more useful.
2002-06-18 19:37:59 +00:00
Andi Gutmans
52c941dc01 - Nuke use of persist_alloc(). This can't be used with a new memory manager 2002-06-18 18:51:33 +00:00
Jan Lehnardt
df226a54d9 - WS-fixes 2002-06-18 13:16:33 +00:00
Hartmut Holzgraefe
303852b42e - fixed bug in enclosure handling (was still hardcoded to '"' in one place)
- added possibility to pass empty enclosure if you really don't want one
2002-06-18 12:16:27 +00:00
Sander Roobol
ace4a23dfc Fixed stripslashes when magic_quotes_sybase is enabled, and add a test for
add- and stripslashes().
# this time without cvs messing up and aborting, hopefully :)
2002-06-18 11:51:06 +00:00
Sander Roobol
07975157eb Fix stripslashes when magic_quotes_sybase is enabled, and add a test for
add- and stripslashes().
2002-06-18 11:42:21 +00:00
Derick Rethans
ba5257a2ec - Fix for bug #16065 2002-06-18 11:09:21 +00:00
Derick Rethans
94127f25e3 - oops... read before commit :) 2002-06-18 10:09:41 +00:00
Derick Rethans
81860467d4 - It doesn't work from within a script... so we disallow it 2002-06-18 10:06:54 +00:00
Markus Fischer
416c02f2a0 - User proper macros as suggested by Marc. 2002-06-18 07:48:41 +00:00
Markus Fischer
7cefd2fe09 - Fix ZTS build. 2002-06-18 01:51:59 +00:00
foobar
cff4039c47 Fixed bug: #17137, test pass still 2002-06-18 00:56:11 +00:00
Edin Kadribasic
67689bd557 ZTS fix. 2002-06-18 00:14:52 +00:00
Edin Kadribasic
fb6bcda13b Check for +/- infinity in base_convert (bug #14807). 2002-06-18 00:04:33 +00:00
Sergey Kartashoff
5e4ee5ac1b # Mnogosearch extension update. Now it should work with
# latest mnogosearch-3.2.5.
2002-06-17 17:39:18 +00:00
Andrei Zmievski
a347ed559b Applied fix for #17764.
@- Fixed a crash in ereg_replace() when backreference number was greater
@  than the number of subpatterns. (oliver@billix.franken.de)
2002-06-17 15:10:22 +00:00
Hartmut Holzgraefe
efdde5efe5 making printf/sprintf locale-aware without external dependencies 2002-06-17 11:50:25 +00:00
Hartmut Holzgraefe
00b667b61b fixed return types for ucwords/ucfirst when passed an empty string 2002-06-17 11:37:49 +00:00
foobar
4e37016cb6 - Made dbase_get_record() and dbase_get_record_with_names use same backend
function as they both do same thing, just the output is different.

  Fixes also bug #17762 as side effect.
2002-06-17 02:27:34 +00:00
Stefan Esser
984b48b009 Fixed Bug #17790
- link and symlink now check uid and open_base_dir for link and its target
2002-06-16 21:24:15 +00:00
Hartmut Holzgraefe
0170e42763 reverted patch depending on not yet commited work 2002-06-16 21:22:10 +00:00
Derick Rethans
7672dbcdcf - Fix version in phpinfo(); 2002-06-16 18:20:21 +00:00
Hartmut Holzgraefe
7686d43737 make sprinf() locale-aware (Bug# 12647) 2002-06-16 13:14:21 +00:00
foobar
d8a361b8d5 Fixed bug: #17732.
xmlrpc_decode_request() and xmlrpc_set_type() expect some parameters to be
passed by reference.
2002-06-16 02:24:18 +00:00
Markus Fischer
1aac85becd - Be more verbose which index causes the warning. 2002-06-15 18:14:19 +00:00
Markus Fischer
9fea4c1f5f - Don't forget to close the stream. 2002-06-15 17:46:44 +00:00
Harald Radi
a3c79eca49 workaround for a win32 memleak
# this definitely has to be revisited !
# maybe we should use winsock2 and overlapped IO
2002-06-15 16:04:59 +00:00
Harald Radi
f7bdde218e workaround for a win32 memleak
# this definitely has to be revisited !
# maybe we should use winsock2 and overlapped IO
2002-06-15 15:58:16 +00:00
Sebastian Bergmann
01316104b3 Add gd_bundled to php_modules.dsw. 2002-06-14 16:37:24 +00:00
Edin Kadribasic
7e44ab0308 Use some more sane paths for win32 version. 2002-06-14 14:48:33 +00:00
Markus Fischer
cf8166ee90 - Remove freetype.lib and HAVE_LIBTTF; we're always linking against freetype2
anyway.
2002-06-14 14:48:13 +00:00
Christian Stocker
f9325a6a29 - renamed domxml_parser_reference to domxml_parser_entitiy_reference
- renamed domxml_cdata_block to domxml_parser_cdata_section
  (more consistent with the domxml_create_XXX methods)
- added domxml_parser_processing_instruction(target,data)
- added domxml_parser_namespace_decl(href,prefix)
2002-06-14 12:37:28 +00:00
Christian Stocker
f185f06f27 - oops, that didn't even compile
- added domxml_parser_reference(reference)
2002-06-14 12:20:13 +00:00
Christian Stocker
7edd730be5 @ - Added preliminary SAX-Input support. It's now possible to build a DomDocument
@   with SAX-Events (added domxml_parser_start_document(), domxml_parser_end_document(),
@   domxml_parser_start_element(tagname[,attributes]), domxml_parser_end_element(tagname),
@   domxml_parser_characters(characters), domxml_parser_cdata_block(cdata),
@   domxml_parser_comment(comment), domxml_parser_get_document(). (chregu)
# More Sax Events to be implemented. Sax Output (from file or DOM-Tree) is
#  not that easy to implement, but possible...
2002-06-14 12:12:04 +00:00
Sebastian Bergmann
596859eb44 Remove unused local variables. 2002-06-14 05:42:08 +00:00
foobar
748e75774d - Fixed bug #15803 (and propably others related too, part 2/2)
. Changed the configure/compile so that it doesn't "pollute" the INCLUDES
    anymore and thus cause trouble with other extensions which
    might use the same header files. (e.g. Informix)
  . Separated the #include statements to own file so we don't get any
    errors when compiling main/internal_functions.c
2002-06-14 00:07:16 +00:00
foobar
18943c345d - Fixed bug #15803 (and propably others related too)
. Changed the compile so that it doesn't "pollute" the INCLUDES
    anymore and thus cause trouble with other extensions which
    might use the same header files. (e.g. ODBC)
  . Some fixes for Informix compile problems (with the new build system)
  . Removed unnecessary stub.c file.
2002-06-14 00:01:49 +00:00
Markus Fischer
fd3b919abf - Initial MSVC makefile to create a php_gd2.dll based on the bundled libgd,
works out of the box here with the right image libs and headers.
# Edin, I think it's your turn now. Feel free to tweak it for your needs.
# Could only compile Release_TS so far (no debug .lib files)
2002-06-13 23:08:40 +00:00
foobar
ce379abfbd Fixed bug: #17751 (typo) 2002-06-13 19:41:25 +00:00
Stefan Esser
2eb859842b Fixed: possible bufferunderrun (worst case == invalid free bytes counter)
Fixed: isXXXX macros need (unsigned char) cast

Fixed: bug#17746 - control chars are now filtered within "to" and "subject" parameters
2002-06-13 18:54:45 +00:00
Christian Stocker
ff9a003f26 - Added DOMXML_LOAD_DONT_KEEP_BLANKS as possible mode, if one wants really nicely
formatted XML-Documents (but this can have sideeffects, if you depend on whitespaces..)
- bumped up domxml-api-version number.
2002-06-13 10:47:19 +00:00
Christian Stocker
1177e74fea @ - Added better error-messages (3rd parameter) and validating of DTDs (2nd parameter) to
@   domxml_open_mem(string xml[, int mode[, array errors]]) and domxml_open_file(string filename[, int mode[, array errors]]).
@ - Added domxml_doc_validate([array errors]) for validating existing DomDocuments with a DTD.
2002-06-13 09:05:56 +00:00
Derick Rethans
1233f27eec - Fix for bug #14410 (Patch by C. McCohy <mccohy@kyberdigi.cz>). 2002-06-13 06:32:14 +00:00
foobar
b5e46c5e05 Fix build in ZTS mode 2002-06-13 01:04:40 +00:00
Andrei Zmievski
4f4b983a39 This patch adds ability to capture string offsets in the preg_match_*()
results.
2002-06-12 20:04:20 +00:00
foobar
01dff4d97a - Fixed bug #17669. PG(magic_quotes_runtime) wasn't reset for each request. 2002-06-12 17:25:48 +00:00
Andrei Zmievski
87f5f3962d Properly return the result of __call() handler. 2002-06-12 16:46:24 +00:00
Hartmut Holzgraefe
808dd7dd5f fix for bug #10616 -> mktime() with negative date offsets not working on MacOSX 2002-06-12 15:35:27 +00:00
Christian Stocker
3ba753f3d8 Fixed domxml_get_element_by_id() 2002-06-12 11:13:11 +00:00
Sascha Schumann
dcf67c4433 This option enables administrators to make their users invulnerable to
attacks which involve passing session ids in URLs.
2002-06-12 08:18:36 +00:00
Markus Fischer
9ec38259ed - Those have been implemented already. 2002-06-11 21:29:32 +00:00
Hartmut Holzgraefe
ddac6892f4 now it works on streams (plus some debug code removed) 2002-06-11 09:37:31 +00:00
Jason Greene
c6a36d585b @Impelemented timeout functionality, and fixed error handling of fsockopen() on win32
Also fixed error handling on unix (micropatch)

Closes Bug #14740
2002-06-11 03:55:28 +00:00
foobar
73f2ab9951 - Reverted last bogus commit and fixed the credits in NEWS.
# STIG! Do a 'cvs update' before you commit anything!!
2002-06-11 00:18:34 +00:00
Markus Fischer
9b1ec11184 - Typo. 2002-06-10 22:43:49 +00:00
Stig Bakken
a4ecce0cd9 @Add --with-mysql-sock option (James Cox) 2002-06-10 21:35:26 +00:00
Harald Radi
fd8082ef67 pooling and singleton finally work 2002-06-10 21:16:25 +00:00
Harald Radi
f1f6818c20 new testcases 2002-06-10 21:15:38 +00:00
Frank M. Kromann
509c606dbc Adding ini setting for max_procs 2002-06-10 19:31:29 +00:00
Sergey Kartashoff
662235a522 # Mnogosearch new function calls fixes 2002-06-10 16:46:06 +00:00
Jan Lehnardt
a8de8ec90c - whitespace fix 2002-06-10 16:34:25 +00:00
Markus Fischer
cac49284b4 - Fix win32/mysql.
- Revert cryptic WS commit on php4dllts.dsp.
2002-06-10 15:53:26 +00:00
Joseph Tate
5bb233a931 #Undeprecated attribute access methods 2002-06-10 14:48:28 +00:00
Harald Radi
d63056b10b fix the build
# these files were blank, i suppose this happened by accident
2002-06-10 13:09:46 +00:00
Sergey Kartashoff
05a304d3a9 - MnoGoSearch extension compile fix with mnogosearch-3.2.4 and 3.2.5 2002-06-10 12:24:43 +00:00
Harald Radi
8e19555608 fix the build 2002-06-10 12:21:58 +00:00
Markus Fischer
f9936a8459 - Fix proto. 2002-06-10 10:28:33 +00:00
Sergey Kartashoff
2c6e3c80a1 # mnogosearch update. Does not compile at this moment, but
# there are not so many things left to fix...
2002-06-10 08:55:18 +00:00
Markus Fischer
3856c3ff39 - Fix easter_(days|date)()s first parameter now really defaults to the current
year if ommited (it was document but didn't work).
2002-06-10 07:51:28 +00:00
Andrei Zmievski
7f4c12b006 Fix bug #7045: shuffle() now provides consistent distribution of values
in the array.
2002-06-10 02:28:32 +00:00
Harald Radi
30e1541595 reflect the new abstraction changes in the demo layer 2002-06-09 14:52:50 +00:00
Harald Radi
c55e855fdd - using stas' abstraction now
- layer can add individual ini settings now
- classentries for the loaded rpc object are created dynamically now
  class hirarchy looks like: rpc<-[layer]<-[object]  (e.g. rpc<-com<-adodb),
  thus the whole class tree is reflected into php
- added user-functions to mark an object as a singleton and as poolable

#rest of the linuxtag work
2002-06-09 14:51:41 +00:00
Sander Roobol
85a99fa5a3 Don't use headers if the module contains only one phpinfo() entry, just
stick to ordinary rows.
2002-06-09 12:56:27 +00:00
Sander Roobol
c5dc21f8c2 Made phpinfo() show if we're using the bundled version of GD 2002-06-09 12:44:33 +00:00
James Cox
210744928f dont test for the socket -- enables installs over NFS etc.
# my previous commit was the revision before the fixed one (ie, i had the fix) so apologies for that.
2002-06-09 11:43:50 +00:00
Sander Roobol
a2849b868b Fixed detection of JPEG support in bundled version of GD. 2002-06-09 11:27:04 +00:00
Sander Roobol
2f6c2a9b18 Fixed configure stuff
# It didn't work for me... hope it works for everybody now...
2002-06-09 10:46:13 +00:00
Andrei Zmievski
5f3a9ebf13 Make RAND_RANGE() an API macro. 2002-06-09 04:26:36 +00:00
foobar
fd70290b76 De-messify 2002-06-09 00:53:28 +00:00
foobar
c8bacb7a06 Cleaned up the mess. Now it actually works too.
# TEST BEFORE COMMIT!!
2002-06-09 00:50:46 +00:00
James Cox
00779e5fa3 @ added support for --with-mysql-sock so people can specify it (eg, NFS compiles, etc)
changed the default mysql.sock location to use the one from the RPM. Added /usr/local
  locations to the search list. (imajes)
2002-06-08 11:37:20 +00:00
Markus Fischer
0cd40c2808 - Since streams are always enabled, instead of just printing 'enabled' we tell
what streams are currently registered.
2002-06-08 10:25:44 +00:00
Zak Greant
9daec6d227 Updating embedded libmysql to version 3.23.48 2002-06-07 15:07:55 +00:00
Joseph Tate
7a58bc690a Added aliases to make attr_node access functions more consistent.
Old access functions are now deprecated.
CVS: ----------------------------------------------------------------------
CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: 	php_domxml.c
CVS: ----------------------------------------------------------------------
2002-06-07 14:56:08 +00:00
Daniela Mariaschi
8a65d5d3cb Add control on IB version. ibase_add_user(), ibase_modify_user()
and ibase_delete_user() are available with IB6 or later
2002-06-06 19:51:04 +00:00
Daniela Mariaschi
70184d32a4 Add control on the IB version. ibase_add_user(),ibase_modify_user()
and ibase_delete_user()  are available with IB6 or later
2002-06-06 19:47:28 +00:00
Markus Fischer
cc01a5dabf - Remove C++ comments. 2002-06-06 17:59:37 +00:00
Markus Fischer
565f3797dc - Revert Ws thingy.
# Lazy bastard :-)
2002-06-06 12:58:25 +00:00
foobar
49523ba7d1 Changed the configure option to be --enable/disable 2002-06-06 12:44:28 +00:00
Sergey Kartashoff
8fe1b8e9d8 # More mnogosearch updates 2002-06-06 05:45:46 +00:00
foobar
9f238de87b ws and indent fixes 2002-06-05 23:58:51 +00:00
foobar
12f6175f26 - Fixes a segfault reported in #17584 2002-06-05 23:24:23 +00:00
Derick Rethans
3fb8db4ca8 - Fix a problem in domxml_dump_mem(_file) with xmlKeepBlanksDefault not
being set. (patch by Rob Richards <rrichards@digarc.com>)
2002-06-05 15:24:49 +00:00
Sergey Kartashoff
3b1d852949 # mnogosearch work continued 2002-06-05 14:34:54 +00:00
Sergey Kartashoff
30afc3585c more mnogosearch compilation fixes 2002-06-05 13:06:56 +00:00
Sergey Kartashoff
1e3b1d16c1 MnoGoSearch extension fixes to compile under latest
mnogosearch 3.2.4 and 3.2.5. Still does not compile with them,
but the work still in progress...
2002-06-05 10:11:04 +00:00
foobar
9a47e545f6 - Fixed the include paths for the needed libraries for bundled libgd.
- Removed files which are not needed with libgd2 from the PHP_NEW_EXTENSION.
2002-06-04 18:44:54 +00:00
Edin Kadribasic
3b3ec06ee7 Added function pcntl_alarm().
@- Added pctnl_alarm() function. (Edin)
2002-06-04 15:51:25 +00:00
Joseph Tate
68845d9811 #Whitespace fix: Sorry 2002-06-04 14:30:12 +00:00
Joseph Tate
316f8f0764 Bug fix to #17560 submitted by Rob Richards 2002-06-04 14:20:54 +00:00
Mark L. Woodward
63ded04ef5 Added persistent connections, and automattic reconnect on
lost connections. Requires Phoenix 1.0
2002-06-04 13:59:46 +00:00
Markus Fischer
b4bcdda57b - Fix ZTS built. 2002-06-04 08:54:14 +00:00
foobar
1528a3d1fb Fixed bug: #17535 2002-06-04 02:33:10 +00:00
foobar
1a06a2fa15 - Made the bundled libgd actually work. Fixed bug: #17244 2002-06-04 01:13:01 +00:00
Markus Fischer
8e8f75a864 - Move macro code into distinct function for easier debugging as suggested by
Andi.
2002-06-03 20:52:07 +00:00
Rasmus Lerdorf
ca9c4270f8 Make sure len is defined here 2002-06-03 18:26:27 +00:00
Edin Kadribasic
e7ab5766d6 Fixed array_rand() on ZTS platforms.
@- Fixed array_rand() on thread-safe platforms such as Windows. (Edin)
2002-06-03 17:49:48 +00:00
Markus Fischer
8060dae548 - Fix isatty() and ttyname() (Closes #17323, #17333). 2002-06-03 15:49:38 +00:00
Adam Dickmeiss
553eda4145 Use ZOOM API for newer YAZ versions. 2002-06-02 21:59:58 +00:00
Adam Dickmeiss
0315c1e1c9 report error when YAZ cannot be found 2002-06-02 21:58:35 +00:00
Stefan Roehrich
cce0d2f72d Added "Vary: Accept-Encoding" header to zlib.output_compression
compressed output as with obgzhandler().
@ If zlib.output_compression is enabled and a page is compressed
@ a "Vary: Accept-Encoding" header is added. (Stefan)
# obgzhandler() sends this header, I think it is recommened by
# RFC 2616. If there are problems (e.g. with some browsers)
# it should be reverted.
2002-06-02 21:35:06 +00:00
Stefan Roehrich
506282af5c WS change to make very old compilers/preprocessors (e.g. HP/UX 9)
happy (thanks to Andreas Ley for recognizing this).
2002-06-01 20:14:58 +00:00
Frank M. Kromann
426b47837f Makring function declarations match implementations (ZTS compilation) 2002-06-01 05:45:25 +00:00
foobar
73ab5708b4 Fixed typo.. 2002-05-31 23:20:04 +00:00
Brad LaFountain
fa60d31d27 Changed PHP_EXPORTS to DOMXML_EXPORTS as Edin Kadribasic suggested 2002-05-31 13:38:58 +00:00
Harald Radi
d3383bab2d added wez to the com extension 2002-05-31 10:06:19 +00:00
Harald Radi
d1b01b92ab added wez and ordered names alphabetically 2002-05-31 09:43:22 +00:00
Brad LaFountain
5313321e08 initalize variable in domxml_doc_document_element() 2002-05-31 06:14:29 +00:00
Brad LaFountain
2eb29ca917 defined PHP_EXPORTS for exporting php_domobject_new() 2002-05-31 06:01:50 +00:00
Brad LaFountain
e6fa086537 added the ability to use new keywork with domxmls objects "new DomDocument()"
instead of xmldoc. This also allows you to create nodes without having
  a whole document "new DomElement("foo")".

moved DOMXML_API_VERSION to php_domxml.h
exposed php_domobject_new for other extensions to use
removed some un-needed code
2002-05-31 05:58:40 +00:00
Harald Radi
acc1021f0d #forgot something 2002-05-30 23:17:48 +00:00
Harald Radi
d3ca5abab7 @ Added missing AddRef() calls in the COM extension. This should
@ fix weird behaviour (in particular with ADODB). (Harald)

# waah, this suxx
2002-05-30 23:07:23 +00:00
Markus Fischer
39f16dbc65 - Tell the user why his session doesn't work if he uses custom session_id()s. 2002-05-30 11:41:37 +00:00
Den V. Tsopa
509df14ff4 Fixes some dummy errors (again). 2002-05-30 10:10:16 +00:00
Den V. Tsopa
1da8768cae Added GB2312 alias for CN-GB 2002-05-29 09:15:28 +00:00
Derick Rethans
b049f9bf17 - Fix for bug #17503 2002-05-29 08:40:43 +00:00
Den V. Tsopa
9cd5bf77a7 @Fixed some dummy errors. (dets) 2002-05-29 08:33:23 +00:00
Hartmut Holzgraefe
f404c23b5f moved to PECL 2002-05-27 13:14:02 +00:00
Stig Bakken
90efd3abe6 @Fix segfault in version_compare() (Stig) 2002-05-26 12:01:30 +00:00
Rui Hirokawa
d3012238bc reverted my patch. 2002-05-24 22:30:24 +00:00
Rui Hirokawa
ee480a7ec8 reverted patch to support iso2022kr. 2002-05-24 22:28:42 +00:00
Sander Roobol
b80c27f7ae Fix <head> and <body> tags in phpinfo() output (#17411) 2002-05-24 17:25:40 +00:00
Derick Rethans
de2c71e7cb - Added support for compressed SWF (Flash MX) files to getimagesize().
(Fixes feature request #17272).
@- Added support to getimagesize() for compressed Flash MX files. (Derick)
2002-05-23 21:48:27 +00:00
Andrei Zmievski
001b4c71e4 This code adds string offset capturing in preg_split() results. Original
patch by David Brown, modified by me.
2002-05-23 17:22:05 +00:00
Andi Gutmans
fc059f5e40 - Fix typo 2002-05-23 14:28:14 +00:00
Wez Furlong
e202ad5c8b Add simple test case for proc_open 2002-05-23 10:46:06 +00:00
Wez Furlong
4fd00c9502 Fix (stupid) segfault. #17379 2002-05-23 10:17:07 +00:00
Derick Rethans
708f980389 - Fix unchecked return values with parameters to proc_open. (Fixes
bug #17375)
2002-05-23 07:52:03 +00:00
Derick Rethans
c37d2a97ac - Fix errormessage and whitespace 2002-05-23 07:08:25 +00:00
Yasuo Ohgaki
b768cf0322 Added 4th parameter to specify enclosure character. Patch by Dean Richard Benson <dean@vipersoft.co.uk>
Spit more meaningful error messages when delim and/or enclosure char is null.
2002-05-23 07:03:43 +00:00
Wez Furlong
762effcf60 Add documentation comment for properties in com_print_typeinfo 2002-05-21 22:44:10 +00:00
Wez Furlong
fbf920d9a3 Enhance com_print_typeinfo.
The main expected use is like this, for figuring out what methods
are allowed for a COM object:

$ie = new COM("InternetExplorer.Application");
// Prints class definition for IE object
com_print_typeinfo($ie, "InternetExplorer.Application", false);
// Prints class definition for default IE event handler
com_print_typeinfo($ie, "InternetExplorer.Application", true);
2002-05-21 22:41:45 +00:00
Andrei Zmievski
f08e0ef9d4 Fix bug #16939. 2002-05-21 21:23:20 +00:00
Wez Furlong
8a53a89a94 Correct usage of convert_to_string_ex which is not allowed to zval* 2002-05-21 20:57:04 +00:00
Wez Furlong
c05834fbce Reformat some comments. 2002-05-21 20:51:31 +00:00
Wez Furlong
e2b9f0d964 Fix a flag, remove an old comment. 2002-05-21 20:46:08 +00:00
Wez Furlong
e04d6ca9f7 - Make sure that COM and VARIANT resources are returned as resources
rather than longs.
- Make the IDispatch implementation a bit more generic (and
  fix my mess of pointers).
- Add new com_message_pump() function that acts like an interruptible
  usleep() that processes COM calls/events.
- Add new com_print_typeinfo() function for "decompiling" the typeinfo
  for an interface into PHP script.  This is useful for generating a
  skeleton for use as an event sink.
- Add new com_event_sink() function for sinking events from COM
  objects.  Usage is like this:

<?php

class IEEventSinker {
	var $terminated = false;

	function ProgressChange($progress, $progressmax) {
		echo "Download progress: $progress / $progressmax\n";
	}
	function DocumentComplete(&$dom, $url) {
		echo "Document $url complete\n";
	}
	function OnQuit() {
		echo "Quit!\n";
		$this->terminated = true;
	}
}

$ie = new COM("InternetExplorer.Application");

$sink =& new IEEventSinker();
com_event_sink($ie, $sink, "DWebBrowserEvents2");

$ie->Visible = true;
$ie->Navigate("http://www.php.net");

while(!$sink->terminated) {
	com_message_pump(4000);
}
$ie = null;
?>
2002-05-21 18:58:11 +00:00
Hartmut Holzgraefe
8a6f6fca1d ZTS issues fixed 2002-05-21 12:02:44 +00:00
Hartmut Holzgraefe
7f732313a7 not beautifull (yet), but should fix ZTS builds 2002-05-21 10:14:12 +00:00
Sebastian Bergmann
4405b313c5 ZTS fixes. 2002-05-21 07:10:26 +00:00
Den V. Tsopa
4974e6073e Added russian codepages (koi8-r,cp1251,cp866) support. 2002-05-21 07:00:34 +00:00
Edin Kadribasic
16e9e77e2a Fix for #17315. Requires client library 7.2 or greater to compile. 2002-05-21 01:03:13 +00:00
Markus Fischer
94501132c6 - Fix posix_isatty() and posix_ttyname() (Closes #17323) 2002-05-20 23:26:13 +00:00
Markus Fischer
601cf3690c - Add safe_mode/uid and open_basedir check to zip_open() (closes #16927). 2002-05-20 18:33:08 +00:00
Markus Fischer
720a890f84 - ZTS gotcha 2002-05-20 17:41:35 +00:00
Markus Fischer
96bf2d1deb - Add open_basedir check for all functions using php_stat() (filesize, stat,
etc), closes #11563.
2002-05-20 17:18:18 +00:00
Harald Radi
e47a667cc9 integrating wez's patch 2002-05-20 15:35:57 +00:00
Yasuo Ohgaki
62b8c29083 Fixed possible pg_lo_write() overflow and make it more fail safe. 2002-05-20 01:40:22 +00:00
Wez Furlong
fc964e88d3 Added generic COM wrapper for PHP objects. 2002-05-20 01:31:48 +00:00
Yasuo Ohgaki
c6873da401 Improve large object performance. pg_lo_read() and pg_lo_read_all() should perform
much better now.
Fixed Old API support for pg_lo_import().
2002-05-20 01:02:29 +00:00
Edin Kadribasic
544694255a Added glob() support for windows. 2002-05-19 14:32:24 +00:00
foobar
3b9401a3ed DO NOT use C++ comments! 2002-05-19 00:02:07 +00:00
Christian Stocker
ccd962e155 - delete attributes as well in php_free_xml_node
- more consistent naming in phpinfo()
2002-05-18 20:19:43 +00:00
Christian Stocker
b692311fdd added "domxml API version" in phpinfo() output. 2002-05-18 17:07:59 +00:00
Christian Stocker
def8bc92fc mem leak fix for domxml_dump_node 2002-05-18 14:38:22 +00:00
Christian Stocker
987ab91efb fixes memleak in html_dump_mem 2002-05-18 14:23:31 +00:00
Christian Stocker
81c8b8e7a4 rename the object name for comment nodes to domcoment 2002-05-18 14:21:46 +00:00
Markus Fischer
25a616d7aa - Fix portability issues with empty results on Linux and FreeBSD, add safe_mode
check and simplify code.
# Hartmut, what was the VCWD check for ?!
2002-05-18 13:31:31 +00:00
Christian Stocker
034d684089 WS fixes 2002-05-18 10:05:21 +00:00
Christian Stocker
f275fe0b0b This should fix a big bad memory leak in freeing the nodes at script end. 2002-05-18 09:35:28 +00:00
Wez Furlong
7ae1630a97 proto tweak 2002-05-17 12:42:40 +00:00
Wez Furlong
c347e0ce88 Add an optional flag to sem_get that specifies if the semaphore should be
automatically released on request shutdown. (#16986)
Fix a segfault in sem_remove (#17274)
2002-05-17 12:33:49 +00:00
Cliff Woolley
34d471d22e Only the last cookie was getting set. (You can have
more than one Set-Cookie: header, as indicated by
http://wp.netscape.com/newsref/std/cookie_spec.html.)

PR: 16626
Submitted by: regina@hitel.net
2002-05-17 07:10:19 +00:00
Christian Stocker
78acc6d865 - replaced domxml_doc_document_element implementation do use libxml2 method
- renamed domxml_add_root to domxml_doc_add_root (and added alias for BC)
- aliased $doc->get_root to domxml_document_element
@ - added domxml_doc_set_root to change the root node (Lukas Schroeder)
2002-05-16 21:59:26 +00:00
Preston L. Bannister
e3ae02255b Restrict ctype tests to POSIX portable characters (0..127) and add numeric character tests. 2002-05-16 21:55:26 +00:00
Preston L. Bannister
1fdff888ce Remove leading "./" from include filenames as in PHP this defeats include_path. 2002-05-16 21:53:18 +00:00
Preston L. Bannister
6b2ab5f66d Adjust dirname() on Win32 to match CWD per drive semantics. 2002-05-16 16:04:45 +00:00
Rasmus Lerdorf
adf701a3ef Grr.. I keep leaving my debug in... 2002-05-16 14:42:22 +00:00
Rasmus Lerdorf
5d286e21ea Fix for #17271
@ Fix crash bug in stripslashes() when working in sybase mode (Rasmus)
2002-05-16 14:41:15 +00:00
Preston L. Bannister
0b70f9e884 Range check arguments to mb_strcut().
Test ext/mbstring/013.phpt causes a hard failure w/o this.
2002-05-16 12:31:05 +00:00
Preston L. Bannister
9d3ed920b5 Proper declaration to suppress compiler warning. 2002-05-16 12:07:11 +00:00
foobar
2f12941fac - Made all is_*() functions to return only boolean values.
- Killed the "file not found" error for is_link(). (finally..)
2002-05-16 01:07:21 +00:00
Frank M. Kromann
7ca89cedf7 Fixing the mssql_query to handle multiple results correct if the first result does not return any data. 2002-05-15 18:07:17 +00:00
Harald Radi
37b9089bfa this should finally fix bug #14353 2002-05-15 17:59:48 +00:00
Christian Stocker
20226f71fc libxml2 >= 2.4.14 is needed (since quite some time ...) 2002-05-15 12:41:55 +00:00
Rui Hirokawa
5f8009a7ea added ISO-2022-KR support in mbstring. 2002-05-15 12:13:56 +00:00
Derick Rethans
c2f2a0a86c - It's bundled, thus not experimental anymore 2002-05-15 05:25:16 +00:00
Frank M. Kromann
8d4097b29c Fixing hanfling of data type REAL.
Remove extra bytes allocated by emalloc calls
2002-05-14 23:57:43 +00:00
Rui Hirokawa
e0a10acf8f fixed a initialization bug in euc-tw. 2002-05-14 21:42:46 +00:00
Markus Fischer
9b86cff931 - Adjust for improved error messages from win32/sendmail.c 2002-05-14 20:43:48 +00:00
Rasmus Lerdorf
01835e0469 fix copyresampled bug in bundled gd lib 2002-05-13 20:20:16 +00:00
Rasmus Lerdorf
f81ec94ac0 Make sure newtime is never NULL 2002-05-13 18:11:27 +00:00
Zeev Suraski
1bfb3595a8 - Fix a buglet in printing of GPCSE arrays
- Remove indirect access
2002-05-13 17:43:04 +00:00
Andrei Zmievski
1668570e4d Changing email address. 2002-05-13 17:28:38 +00:00
Zeev Suraski
2260e1742d - Centralize html_puts() again
- Revolutionize phpinfo()'s speed
2002-05-13 08:46:24 +00:00
Jon Parise
9ec5aa9a92 Instead of calling mail_fetchheader_full() to retrieve the complete header
information just to extract the message envelope, call mail_fetchenvelope(),
which returns just what we need.

This is simpler, faster, and saves the IMAP server some work.

Submitted by: Adam Kauffman <adam.kauffman@mindspring.com>
2002-05-13 00:29:22 +00:00
Jon Parise
066d417d69 @Improve IMAP performance when dealing with large mailboxes.
Submitted by: Rob Siemborski <rjs3@andrew.cmu.edu>
2002-05-12 20:53:25 +00:00
Sascha Schumann
226e1ed246 As far as I can tell, the AC_CHECK_MEMBER could not succeed,
because it does not include <sys/socket.h> which is necessary
for the definition of struct msghdr.  This include file is not
part of ac_includes_default.

Regardless, AC_CHECK_MEMBER is a autoconf-2.5x macro and thus we
expand it here for 2.13 compatibility.
2002-05-12 17:28:12 +00:00
Rasmus Lerdorf
93af4bdfb7 Change safe-mode rule for rmdir() to match unlink() - allow is target
is opened by caller or in a directory owned by caller
@ Minor fix to rmdir() under safe-mode (Rasmus)
2002-05-12 15:59:42 +00:00
Sebastian Bergmann
90229ba841 Nuke unused local variables. 2002-05-12 15:14:21 +00:00
Marko Karppinen
554b7684ed Add an option to calculate easter dates based on the Gregorian calendar
during the years 1582-1752. Earlier this was only possible from
1753 onwards. Use the optional parameter CAL_EASTER_ROMAN with
easter_days() to enable this. This is a fix for bug #12766.
# As you can see, my Sundays are *so* busy...
2002-05-12 15:06:04 +00:00
Sascha Schumann
b3de60dbf0 Fix this again.
If you are unsure whether enable or with shall be used, please
inquire on the mailing list.

WITH is solely for the purpose of pointing to paths and other external
entities.

Note that the comment has always mentioned "--disable-mbstring" which
clearly refers to enable and not with.
2002-05-12 14:55:25 +00:00
Sascha Schumann
feaa12a9bf Use string_len information 2002-05-12 14:50:54 +00:00
Sascha Schumann
a769454d79 reenable php_html_puts 2002-05-12 14:48:22 +00:00
Rui Hirokawa
767fa10a92 added chinese HZ encoding support. fixed ascii area character conversion was not work in euc-cn and euc-kr. 2002-05-12 13:06:13 +00:00
Sascha Schumann
38ad391894 - Fix the way code was outcommented
- Remove unused STR_CAT macro
- Remove limits/tests based on unused macro
- Implement cache_limiter(private) using private_no_expire
2002-05-12 12:51:42 +00:00
Daniela Mariaschi
87148b6edd fix bug #17040 ibase_close again.....
User can't close a connection if there are blobs opened.
He must close them before to not loose data....
2002-05-12 12:18:56 +00:00
Jason Greene
969d7e5a82 Fix build on IRIX for both mips and gcc 2002-05-12 07:22:47 +00:00
Rui Hirokawa
b3690bbe19 fixed to support --with-mbsting=LANG. 2002-05-12 00:26:43 +00:00
Rasmus Lerdorf
465b2d54db Another safe-mode fix. parse_ini_file() did not check
@ safe-mode fix for parse_ini_file()  (Rasmus)
2002-05-11 19:19:49 +00:00
Rasmus Lerdorf
9cbcc9b822 show_source() safe-mode fix
@ show_source() was evading safe-mode - fixed (Rasmus)
2002-05-11 18:35:59 +00:00
Sterling Hughes
e15a3c42f3 remove stale 1 2002-05-11 17:41:16 +00:00
Sterling Hughes
2e72f8cc1f WS Fixes (and similair stylistic changes) 2002-05-11 17:00:49 +00:00
Sterling Hughes
0a21aa12b2 allocate globals, making this work in zts mode
(not that it really matters, since libswf isn't thread safe...)
2002-05-11 15:58:55 +00:00
Markus Fischer
51ba96c603 - Update 2002-05-11 14:52:29 +00:00
Zeev Suraski
bf97148978 Centralize html_puts() logic - php_html_puts() remains as an API wrapper 2002-05-11 12:41:33 +00:00
Markus Fischer
c7a15e6388 - Fail gracefully and not just bail out with an error message from dirname
because no argument was given.
2002-05-11 03:11:46 +00:00
Yasuo Ohgaki
f314d24d03 Reduce number of realloc calls. 2002-05-11 03:01:08 +00:00
Edin Kadribasic
cfd594e0ee Made ZIP extension available on Windows.
@- Made ZIP extension available on Windows. (Edin)
2002-05-11 02:12:44 +00:00
Christian Stocker
827a769c28 @- added fifth optional parameter to domxml_xslt_process. If set,
it will output profiling information to the file stated (chregu)
- introduced version numbering for this extension
2002-05-10 14:59:14 +00:00
Edin Kadribasic
51cb237aa6 Fix win32 build. 2002-05-10 02:39:37 +00:00
Daniela Mariaschi
cbb2dbb2e2 corrected parameter 2002-05-09 21:57:49 +00:00
Daniela Mariaschi
f7d5d1036c fix test 5 to pass 2002-05-09 21:41:20 +00:00
Frank M. Kromann
f0141f965f Allow the MSSQL extension to use NT authentication 2002-05-09 20:37:45 +00:00
Sander Roobol
375d7960a7 Revert Preston's patch 2002-05-09 20:02:47 +00:00
Preston L. Bannister
9fdec2e345 Change default directory for session data from /tmp (non-portable) to none.
Default directory for session data (if not specified) is same (platform-specific) directory used for temporary files.
This is backwards compatible and removes the need for explicitly specifying the session.save_path on Win32.
2002-05-09 19:42:00 +00:00
Edin Kadribasic
2e317ff727 No need to link libxm2 in order to build php_crack.lib 2002-05-09 15:58:19 +00:00
Derick Rethans
f58ad95c00 - Add PHP_API_VERSION too 2002-05-09 11:56:52 +00:00
Derick Rethans
7b3ce60a23 - Show both API nos 2002-05-09 11:47:37 +00:00
Jason Greene
cfb285a391 Fix overflow 2002-05-08 15:30:04 +00:00
Rui Hirokawa
f30b722f14 Added conversion support from script character encoding to internal character encoding. This feature is very useful for japanese who uses Shift_JIS encoding because some of characters in Shift_JIS are including '0x5c' and it causes some troubles on Zend parser. This patch is made by Masaki Fujimoto. 2002-05-08 12:33:44 +00:00
Zak Greant
4128739695 Minor improvement to error message for mysql_data_seek 2002-05-08 07:38:09 +00:00
Derick Rethans
31d1fac578 - Forgot one 2002-05-08 05:19:27 +00:00
Frank M. Kromann
c75e794ebe Kill a compiler warning on Win32 2002-05-08 03:56:43 +00:00
Jason Greene
d4b11fb33f Fix 10830, and 17074
FreeBSD requires the exact length of the socket type
2002-05-07 18:47:17 +00:00
Jason Greene
f30fefcb30 Fix invalid warning caused by bogus convert_to_* calls
Fix possible invalid data in status for pcntl_waitpid()
2002-05-06 23:01:46 +00:00
Jason Greene
4c9dbf9335 Fix type-o that broke ZTS build
Fix 3 nasty crash bugs that could occur if pcntl_exec's call to execve errored
2002-05-06 19:48:39 +00:00
jim winstead
51e2ea5ed2 fix problem with mkdir() on freebsd 2002-05-06 17:31:22 +00:00
Wez Furlong
a03d09e2d9 Add support for remaining entities in HTML 4 for the UTF-8 encoding in
htmlentities/htmlspecial chars.
This is a fix for for #17008.
# I would *really* appreciate it if someone with a good eye could verify
# that all the entities are there and are correctly numbered; I've checked
# it three times, but it's best to be sure.
2002-05-05 23:06:39 +00:00
Stanislav Malyshev
b67bafefa5 Return right exit status 2002-05-05 17:14:12 +00:00
Thies C. Arntzen
5d177788ea touch 2002-05-05 16:40:20 +00:00
Thies C. Arntzen
23251ebd1a re-add accidentily nuked session_adapt_url() 2002-05-05 16:39:49 +00:00
Rui Hirokawa
b7321edb84 bug fixed in unicode -> cp1252 table. 2002-05-05 11:42:18 +00:00
Rui Hirokawa
39c951ed88 added missing areas on Unicode->CP936 conversion table. added an alias CP932 on sjis-win. 2002-05-05 02:22:36 +00:00
Sascha Schumann
67d00f8c1d sync 2002-05-05 02:07:33 +00:00
Sascha Schumann
c8f884fac8 the output buffer is flushed during request shutdown before it
reaches our rshutdown, so it is safe to delete the contents of
the url rewriter variables here.
2002-05-05 02:07:16 +00:00
Sascha Schumann
d41773e8b6 update 2002-05-04 18:34:29 +00:00
Sascha Schumann
9743860d35 simplify handling of variables by maintaining two strings which
are simply appended instead of traversing the hash table on each
URL/form.

also fix an unconditional segfault in rshutdown due to efree'ing
a static char *.

remove remove_var, add reset_vars.  move the function declarations
into the right header file.
2002-05-04 18:33:13 +00:00
Sascha Schumann
ebfff2df7e ret set but unused 2002-05-04 18:11:36 +00:00
Sascha Schumann
74b09cbcf8 c set but unused 2002-05-04 17:41:51 +00:00
Sascha Schumann
34b899e2da inheader set but unused 2002-05-04 17:41:11 +00:00
Sascha Schumann
ea84524bc2 block_ended/opposite_target were set but never used 2002-05-04 17:38:45 +00:00
Sascha Schumann
a6c3ce15ae don't emit code for version 2002-05-04 17:36:58 +00:00
Sascha Schumann
1f09644ff7 Fix linkage of symbols 2002-05-04 17:26:45 +00:00
Sascha Schumann
9e91566179 entry_length was set but never used 2002-05-04 17:24:08 +00:00
Sascha Schumann
01c980980c update 2002-05-04 17:17:54 +00:00
Sascha Schumann
2438488c68 rval_temp was declared but never used 2002-05-04 17:17:43 +00:00
Sascha Schumann
140158734f redirected is set but never used 2002-05-04 17:16:28 +00:00
Sascha Schumann
62c54fca9f include url.h 2002-05-04 17:15:09 +00:00
Sascha Schumann
2a4dea6c18 include url.h to pull in declaration of php_url_encode 2002-05-04 17:14:56 +00:00
Sascha Schumann
4378214b80 Make this code work on compilers which don't consider the address
of a variable on the stack available at compile time.
2002-05-04 17:12:26 +00:00
Sascha Schumann
e919e7e526 unused var 2002-05-04 16:59:41 +00:00
Sascha Schumann
3fbbd61dc2 p is set, but never used. 2002-05-04 16:54:13 +00:00
Sascha Schumann
ee70764592 Turn misplaced PHP_ARG_WITH into _ENABLE
and fix --enable-mbstring=shared
2002-05-04 16:50:10 +00:00
Sascha Schumann
9517ff0689 Fix --enable-session=shared 2002-05-04 16:48:48 +00:00
Sascha Schumann
3c89ce7843 Fix --enable-xml=shared 2002-05-04 16:48:01 +00:00
Stig Venaas
d47d8b99c5 Reworked result resource handling so that result is not freed until all
its result entry resources are freed
@- Fixed resource bug in LDAP extension. (Stig Venaas)
2002-05-04 14:27:48 +00:00
Rui Hirokawa
fa1904b6e8 fixed a problem that ereg_replace() couldn't match with line stand/end marker. 2002-05-04 11:20:12 +00:00
Christian Stocker
d5c7421a7c removed the function for domxml_node_add_child and made an alias to
domxml_node_append_child for BC
2002-05-03 13:53:46 +00:00
Christian Stocker
e7f7fb1781 WS fixes 2002-05-03 09:51:06 +00:00
Christian Stocker
9c37ea1888 one parameter too much 2002-05-03 09:46:27 +00:00
Christian Stocker
67c5b2e4fd added encoding support for domxml_dump_mem() 2002-05-03 09:45:09 +00:00
Thies C. Arntzen
023a381323 forgot 2002-05-03 08:32:03 +00:00
Sebastian Bergmann
8193ca7891 Fix ZTS build. 2002-05-03 08:10:43 +00:00
Thies C. Arntzen
9712a4b3c8 @ - Added output_add_rewrite_var() and output_remove_rewrite_var() to inject
@   and remove variables from the URL-Rewriter. (thies)
i have also modified the session module to use this - so it doesn't
need to fiddle with the output-system any more
2002-05-03 08:00:41 +00:00
Frank M. Kromann
810c9dd963 Changed & to &&. 2002-05-02 17:54:54 +00:00
Frank M. Kromann
e789e72515 Adding missing files to the project 2002-05-02 17:53:42 +00:00
Frank M. Kromann
bd75b407cf Fixing wrong pointer 2002-05-02 17:36:00 +00:00
Jason Greene
89c59569ba socket_write() should just use the standard socket error macro so that errors will be consistent if the macro ever changes 2002-05-02 16:45:22 +00:00
Harald Radi
fe84a29b3f remove temporary resources immediately
return value fix

#thanks to alan for 'remote debugging'
2002-05-02 13:37:31 +00:00
Derick Rethans
0c16e026b0 - Add Zend API No. to phpinofo() output 2002-05-02 12:33:03 +00:00
foobar
399914da92 Stop the search when the libs are found. 2002-05-02 10:22:26 +00:00
Yasuo Ohgaki
43df0c78c0 Move Content-Length: header handling from zlib.c to output.c
When output buffer is enabled and header can be sent, Content-Length:
header is added always from now on.
2002-05-02 01:12:01 +00:00
Derick Rethans
8fe3c0c5d4 - Fix String is not zero-terminated error in base64_decode 2002-05-01 20:11:09 +00:00
Markus Fischer
07efbff856 - Update protos for socket_read() and socket_write().
- Set last_error in socket_write().
2002-05-01 16:38:22 +00:00
Markus Fischer
ae5bc7c0f6 - Update protos for getpeer/getsock-name. 2002-05-01 16:08:50 +00:00
Jason Greene
38a6325178 Fix BYREF_FORCE that was not being read
Fix error message
2002-05-01 15:14:49 +00:00
Markus Fischer
1a5501ddfd - Rename setopt and getopt to set_option and get_option, provide alias. 2002-05-01 11:08:08 +00:00
Markus Fischer
a2fbdad20e - Fix couple of problems with socket_create_pair():
- Force fourth argument to be passed by reference
  - Since the argument is modified there is no need to force it to be an array
    since it's destroyed anyway
  - Only modify the argument if socketpair() was successfully
  - Fix string modified for error message message
  - Set global last_error when socketpair() fails
2002-05-01 10:41:10 +00:00
Markus Fischer
7ee9e9d9e5 - Add SOMAXCONN constant. 2002-05-01 09:25:26 +00:00
Wez Furlong
3a68052828 Fix for #16885 2002-05-01 08:22:17 +00:00
Wez Furlong
f571438d7a Probable fix for #16940. 2002-05-01 07:50:13 +00:00
Markus Fischer
cc4ff9c3ac - WS fixes 2002-05-01 07:35:01 +00:00
Jason Greene
9a841d116b Changed socket_select to force reference copy, the older code would modify all references
@Fixed a bug in socket_select() that could cause unexpected behavior when using a statement
@ like $w=$e=array($sock);
@This change unfortunately prevents the use of constant values(NULL) for the socket array paramaters.
@Instead use a temporary variable or an expression with the leftmost member being a temporary variable.
@ ex. socket_select($w, $r, $e=NULL, 10);

Also fix small memory leak.
2002-05-01 04:46:59 +00:00
Harald Radi
6055c2b11a ZE2 compatibility fixes 2002-04-30 23:34:09 +00:00
Markus Fischer
a369d06bea - Forgot to update proto 2002-04-30 22:03:51 +00:00
Markus Fischer
c1c1ee9f6e - Allow resetting the module global last_error too. 2002-04-30 22:01:06 +00:00
Sebastian Bergmann
92748918c5 More unused variables. 2002-04-30 15:21:04 +00:00
Stanislav Malyshev
f42bb6cfe4 Fix ZE1 build 2002-04-30 14:45:50 +00:00
Sebastian Bergmann
28e1120978 Fix ZTS build. Remove unused variables. 2002-04-30 14:36:43 +00:00
Sascha Schumann
6f57419453 Touch file 2002-04-30 13:47:16 +00:00
Dan Kalowsky
d55c9134c8 reverting the cursor change as it seems to break many ODBC drivers. 2002-04-30 13:17:48 +00:00
Rui Hirokawa
813a795c64 fixed compile warning with Visual C++. 2002-04-30 12:45:14 +00:00
Rui Hirokawa
5df01432c7 added simplified chinese, traditional chinese, korean support to mbstring. Note that this feature is experimental. 2002-04-30 12:00:42 +00:00
Stanislav Malyshev
18805e8323 ZE2 compatibility fix 2002-04-30 11:30:07 +00:00
Stanislav Malyshev
3dd6217c0b ZE2 compatibility fixes 2002-04-30 11:29:28 +00:00
foobar
3b1ae7c62a revert last bogus change. There is bug in is_file() 2002-04-30 10:38:06 +00:00
Uwe Steinmann
3858221c2f - added function domxml_parser_set_keep_blanks() 2002-04-30 05:18:12 +00:00
Frank M. Kromann
eeb4fd9b45 Adding missing files to project 2002-04-30 04:36:34 +00:00
Sebastian Bergmann
eacad68c68 Fix ZTS build. 2002-04-30 04:27:52 +00:00
Wez Furlong
2d88266965 Use ftok for message queue key. 2002-04-30 00:58:52 +00:00
Wez Furlong
501ed6ccb2 Make use of new flag so that we can buffer http headers when we know that
the stream is not intended to be used in require/include.
2002-04-30 00:30:00 +00:00
Wez Furlong
760573695c Implement user-space funtions to operate on stream contexts. 2002-04-30 00:28:24 +00:00
Wez Furlong
840ed90f2b Fix is_file test.
# Is there a good reason for having the actual test in an include file??
2002-04-30 00:26:49 +00:00
foobar
94f9b3bdb5 Never add libraries without checking that they exist and can be linked. 2002-04-29 18:08:20 +00:00
Harald Radi
e72caee650 RETURN_NULL() is defined with braces while RETURN_TRUE
and RETURN_FALSE are defined without.
seems not very consistent ?
2002-04-29 17:20:15 +00:00
Stanislav Malyshev
11df2122df Add comments for the fix 2002-04-29 16:02:41 +00:00
Stanislav Malyshev
91a78e2974 Fix here too 2002-04-29 16:02:10 +00:00
Harald Radi
667a0841f3 functions returned FALSE in case of error and the oo api returned NULL.
make them both behave equal (return NULL, as FALSE can be a valid value).
2002-04-29 15:50:30 +00:00
Stanislav Malyshev
aa10ac9a64 Yet another serialization fix - for incomplete class 2002-04-29 15:44:30 +00:00
foobar
d066ed7c0e Make it possible to use recode 3.5 too. (happy now Wez? :) 2002-04-29 15:40:16 +00:00
Markus Fischer
8cf30c79ff - Fix WS and CS a bit 2002-04-29 15:06:48 +00:00
Markus Fischer
c970490d28 - Store last errno in the module global 'last_error' implicitely
- Set the global 'last_error' explicitely for functions which can't return an
  error withing a single socket context (socket_create and socket_select)
- Modified socket_last_error() to return global modules last
  error if no socket resource is given
- Added a couple of more E_WARNING messages in case something
  goes foobar so the user isn't left alone in the dark.
2002-04-29 14:52:29 +00:00
Wez Furlong
ab69b0c6ec Slightly alter the signature of msg_send and msg_receive so that error
codes and serialized "false" messages can be distinguished.
2002-04-29 12:52:34 +00:00
Rui Hirokawa
2f52cbbb7c shlib suffix was not defind and rint() was not found without -lm. 2002-04-29 02:55:55 +00:00
Sascha Schumann
71124226d5 Touch generated file
# is it really so hard to remember this?
2002-04-28 21:24:52 +00:00
Stanislav Malyshev
a57381e3bd Fix couple of nasty serializer bugs:
a) When array unserializer encounters less data than it expects (like:
a:1:{}) it crashes. I don't understand exactly why it does, but the fact
is it does. So now it should catch "}" and bail out.
b) When array/object data are serialized, the count is written by hash
count. However, it can be that in-loop check fails and less data than
expected will then be written into the array. Which, due to a), would
crash on unserialize. So now it will write empty entries in place of
entries it cannot serialize (the other choice would be make two passes on
the data, which I don't like).
2002-04-28 16:56:33 +00:00
Thies C. Arntzen
245708b0db timestamp 2002-04-28 11:46:58 +00:00
Thies C. Arntzen
42158ef7c8 revert session_set_userdata - diffent patch will come shortly 2002-04-28 11:45:45 +00:00
foobar
80f9fdf3c7 @- Added optional 3rd parameter to mysql_select_db() which makes it return
@  the previously selected database name. (Jani)
2002-04-28 06:38:12 +00:00
foobar
305260ce4a kill a compile warning 2002-04-28 05:36:05 +00:00
foobar
c1c8a4fcfa touch file. Please commit first the .re file and afterwards the .c source. Otherwise, timestamps will be broken. 2002-04-28 04:14:47 +00:00
foobar
817750b088 ws fix 2002-04-28 01:37:54 +00:00
Yasuo Ohgaki
de4a0ba58e Add test case for file_exist/is_file 2002-04-28 00:05:43 +00:00
Sascha Schumann
30fd7de1fa s/len/xln/ was necessary here
Noticed by: Charles O Parks III
2002-04-27 23:37:17 +00:00
Sascha Schumann
aab439f26f Use a single macro to set cl header 2002-04-27 18:41:38 +00:00
Thies C. Arntzen
7b59a131b6 @ - If possible set Content-Length header in zlib.output_compression mode. (thies) 2002-04-27 17:03:32 +00:00
Harald Radi
da9dd9acc9 updated TODO list 2002-04-27 15:47:18 +00:00
Thies C. Arntzen
2dee392e5b part 2 of last commit 2002-04-27 14:08:07 +00:00
Thies C. Arntzen
eb105693b8 @ - added session_set_userdata() which enables you to specify one variable
@   that will be kept in the browser in addition to the session-id. This
@   only works when using trans-sid sessions (no cookie). (thies)
2002-04-27 14:07:52 +00:00
Harald Radi
a380af2247 don't set CLSCTX_REMOTE_SERVER if NULL is passed as servername 2002-04-27 10:17:46 +00:00
foobar
6147e1e720 Fix bug: #16743 2002-04-27 01:02:52 +00:00
Yasuo Ohgaki
6cc8919dc4 Fixed bug #16861.
touch sets wrong atime or mtime when they are not specified.
touch silently failed when HAVE_UTIME is not defined.
(This needs more consideration. Which platform does not support it?)
# Derick, after HAVE_UTIME issue is resovled, this should be merged.
# or we can just merge 1st problem for now.
2002-04-26 23:46:51 +00:00
Sascha Schumann
2b07dd4fe3 three less strlen invocations 2002-04-26 21:27:38 +00:00
Harald Radi
51241dba94 this patch should fix a bug where intermediate comvals were not
released before they were freed. this caused outproc com server
to belive that they still referenced even when the php process
already terminated.
2002-04-26 18:20:45 +00:00
Dan Kalowsky
ce39ba7265 bug fix for bug #15758, a double free'ing of an ODBC connection 2002-04-26 14:56:34 +00:00
Sascha Schumann
4efba9ef9d Improve use of module_globals macros 2002-04-26 10:13:45 +00:00
Wez Furlong
f03115aae1 Add sysv IPC support (wrappers for msgsnd and friends). 2002-04-25 23:14:43 +00:00
jim winstead
79d113ba50 update generated file 2002-04-25 22:12:56 +00:00
jim winstead
bc977dd195 Do not add redundant id attribute. It doesn't make the output any
more standards compliant.
2002-04-25 22:12:38 +00:00
Edin Kadribasic
54440c8bfd Some systems have mysql socket in /var/run/mysql 2002-04-25 21:07:36 +00:00
Edin Kadribasic
b1c1a99b3d MFB 2002-04-25 17:20:14 +00:00
Rui Hirokawa
860e675884 fixed directory access problem when direcory name is encoded in japanese Shift_JIS encoding. 2002-04-25 14:43:40 +00:00
Sascha Schumann
46527b3f5a Touch generated file to increase timestamp 2002-04-25 09:02:01 +00:00
Yasuo Ohgaki
c5b4a507fe Added test for pg_fetch_*() functions 2002-04-25 07:52:01 +00:00
Yasuo Ohgaki
b4c943ee7b Revert last 2 commits.
# Most PostgreSQL users should enable multibyte support ;)
2002-04-25 07:09:45 +00:00
Derick Rethans
8ffd089e02 - Fix for bug #16811 2002-04-25 06:43:11 +00:00
Derick Rethans
4ec1a03653 - Fix for bug #14353 2002-04-25 06:37:22 +00:00
Derick Rethans
4a834dfa44 - Fix for bug 16810 (XHTML compliance) 2002-04-25 06:30:09 +00:00
Yasuo Ohgaki
534ba498e3 Fix version in message 2002-04-25 02:40:58 +00:00
foobar
9f096d2578 Only support the new libexpat. 2002-04-25 01:47:35 +00:00
Yasuo Ohgaki
c65a20df4a pg_client_encoding/pg_set_client_encoding should be compiled always.
Recent libpq has PQclientEncoding/PQsetClientEncoding regarless of
multibyte support enabled or not.

Reported by c@cornelia-boenigk.de

# This should be merged, but need a little more testing.
2002-04-25 01:42:23 +00:00
Yasuo Ohgaki
48ea7057e4 Remove result_type from pg_fetch_object() proto.
It still accepts 3rd argument, but passing 3rd argument
does not make sense for pg_fetch_object().
2002-04-24 23:03:48 +00:00
Yasuo Ohgaki
cf7f465ef9 It does not make any sense to have a PGSQL_BOTH as a default for pg_fetch_object()
Noticed by c@cornelia-boenigk.de
2002-04-24 22:57:21 +00:00
Dan Kalowsky
55e43151d5 clearing up some code to remove any possible confusion in variable counts 2002-04-24 22:07:29 +00:00
foobar
e46f57b6fb - Fixed a typo..
# not related to the localhost.localdomain thing..
2002-04-24 18:00:39 +00:00
foobar
0d7b1a4e94 - Do the ssl_onceonlyinit() as last. This is how c-client creates
the linkage.c (used by Pine).
2002-04-24 15:29:52 +00:00
Andrei Zmievski
5ff970ba7d Fix Bug #14795. 2002-04-24 15:23:43 +00:00
Andrei Zmievski
4fc01022e6 Fix unwanted type conversion in array_merge_recursive (Bug #14990). 2002-04-24 15:01:53 +00:00
foobar
712c85eddc One big mess is a bit less mess now. 2002-04-24 12:45:55 +00:00
foobar
0a1f795271 Fix ZTS build. 2002-04-24 05:49:57 +00:00
foobar
c3a6cbbc42 Fixed the extension name. 2002-04-23 23:30:20 +00:00
foobar
4586a989ef Wrong variable used here.. 2002-04-23 23:17:41 +00:00
Markus Fischer
a8b633bfa2 - Fix proto. 2002-04-23 22:22:17 +00:00
Markus Fischer
be013212bc - Fix pcntl_waitpid() [Fixes #16766]. 2002-04-23 21:21:41 +00:00
Sascha Schumann
1d22766fb1 Add #ifdef.. around F_SETFD. 2002-04-23 19:58:31 +00:00
Derick Rethans
e31793414d Fix TSRMLS_CC thingies. 2002-04-23 19:01:31 +00:00
Uwe Steinmann
fc851f342a - replace_child() will not add a child twice
- domxml_open_mem() drops old optional parameter to switch between reading
  from a string or a file.
- new optional parameter for domxml_open_mem() which set the mode how the
  document shall be parsed
2002-04-23 13:24:25 +00:00
Yasuo Ohgaki
417f299d0e Remove unneeded 'return'. 2002-04-23 08:10:45 +00:00
Yasuo Ohgaki
e6780384ad Fix possible wide char prolem.
Fix empty output when no conversion is performed.
# Derick, this needs to be merged.
2002-04-23 08:07:19 +00:00
Uwe Steinmann
1e9000e315 - added new function DomDocument->ids (subject to change) 2002-04-23 06:26:46 +00:00
Uwe Steinmann
d4c273c3a7 - get_element_by_id() doesn't use xpath anymore but searches in
xmlDoc->ids as provided by libxml.
- New function DomDocument->ids() returns a list of ids (subject to change)
- replace_node() doesn't make a copy of the new node if it has no parents
2002-04-23 06:05:38 +00:00
Yasuo Ohgaki
e7e0eddadd Make pg_convert/pg_insert/pg_select/pg_update/pg_delete a bit more flexible.
pg_convert() may ignore, NOT NULL and/or DEFAULT.
pg_insert/pg_update/pg_select/pg_update may return query string.
2002-04-23 03:42:26 +00:00
Sascha Schumann
303a784822 remove unnecessary casts
# if you mind the bogus warnings, you can either switch the compiler
# or decrease the warning level
2002-04-22 20:42:01 +00:00
Sascha Schumann
5a83ad6dc1 Set the close-on-exec flag for fds. Child processes should not inherit
the fd.

Also rip out the broken O_EXCL use.  Our file names are not unique and
this left a small window open where creating a session file would fail
(a, b notice that the file does not exist; a creates the file successfully;
 b tries to create, but fails due to O_EXCL).
2002-04-22 20:39:24 +00:00
Harald Radi
894aac6e19 set up a proxy object when requesting a reference to a variable 2002-04-22 19:40:01 +00:00
Harald Radi
b29604fefc fixes a warning when compiling under win32 2002-04-22 18:02:01 +00:00
Harald Radi
94ba23998f changes related to the latest commit of the zend engine 2002-04-22 14:25:46 +00:00
Sascha Schumann
ebd957f69e hash keys lengths include the NUL-byte, so we need to copy one byte less.
also add missing commas in the INSERT clause.

Noticed by: Yasuo Ohgaki
2002-04-22 08:18:19 +00:00
Rui Hirokawa
aa9cf268db small performance improvement when pass is selected as input encoding. 2002-04-21 22:06:55 +00:00
Wez Furlong
6d1dc8141c Apply that patch I wrote ages ago that fixes some problems with true-color
vs palette based handling.
Also implements the gdImageStringFTEx function.
2002-04-21 13:48:22 +00:00
Sascha Schumann
d1a1f17628 refactoring in pgsql_do_connect and some "leaner" code in pgsql_add_quotes 2002-04-21 11:29:17 +00:00
Sascha Schumann
c2c23ff6df Avoid allocating resources, if we know that the input array is empty.
Also pass tsrmls to do_exec.
2002-04-21 10:44:31 +00:00
Sascha Schumann
bf87992040 speling fix and s/FAILURE/HASH_KEY_NON_EXISTANT/ 2002-04-21 10:37:40 +00:00
Sascha Schumann
c6016fcfd2 The default has been changed to assume failure, because there were 5-10
cases of failure and one success.
2002-04-21 10:28:01 +00:00
Sascha Schumann
db24a14b9b Add PGSQL_RETURN_OID which encapsulates the LONG_MAX check etc.
Add a few missing smart_str_0's.

Remove a "(" in a probably less-tested #ifdef.. branch
2002-04-21 10:22:31 +00:00
Sascha Schumann
9a7418906c Also support --disable-shared installations of pgsql 2002-04-21 10:18:34 +00:00
Sascha Schumann
7e597b260a My patch as posted to php-dev + warnings/errors fixed as seen in
Yasuo's reply.
2002-04-21 09:46:29 +00:00
foobar
65078f3b50 Tiny typo.. 2002-04-21 02:50:38 +00:00
Sascha Schumann
d30fc27e5a simplify and improve speed of smart_str_print_long.
also add a variant for unsigned numbers.
2002-04-21 01:17:49 +00:00
Sterling Hughes
5db5498f90 expletives deleted. 2002-04-21 00:41:38 +00:00
Sterling Hughes
dc3b3fa302 some more fixes towards making it work again 2002-04-21 00:27:05 +00:00
Sascha Schumann
5e25c15d6c allocate space for NUL 2002-04-20 18:58:20 +00:00
Derick Rethans
6075a65319 - initialize globals properly 2002-04-20 18:33:54 +00:00
jim winstead
36751953d4 include the checks for various support libraries to --with-gd=php section. the
libgd stuff needs some additional checks to handle the presence/absence of
things like libpng, but this helps when most things are included.
2002-04-20 18:02:14 +00:00
jim winstead
95e9eb35d8 s/.o/.c/ 2002-04-20 17:24:37 +00:00
Sterling Hughes
a8504dc592 realloc buffer down 2002-04-20 16:08:30 +00:00
Sascha Schumann
20c0fed127 If I don't want mbstring, I also don't want this transparent encoding
thingee which caused an undefined reference in main.o.
2002-04-20 15:17:57 +00:00
Yasuo Ohgaki
3087b96ece Make pg_lo_import()/pg_lo_unlink()/pg_lo_open()/pg_lo_export() work with oid larger than 2^31.
@Added large OID value (2^31 to 2^32) support for pg_lo_import()/pg_lo_unlink()/pg_lo_open()/pg_lo_export(). (Yasuo)
2002-04-20 14:06:47 +00:00
Yasuo Ohgaki
29e3175f97 Added comment to fix large OID value handling later.
Fixed wrong conversion specifiers.
2002-04-20 04:17:17 +00:00
Yasuo Ohgaki
3ee7591ae9 Added missing 'd'. 2002-04-20 03:50:21 +00:00
Yasuo Ohgaki
d845ba2077 Some cleanup.
More OID range related fixes.
# Need a little more work for OID
2002-04-20 03:37:01 +00:00
Yasuo Ohgaki
07125ea9f4 Fixed OID overflow. If value is larger than MAX_LONG,
pg_last_oid() returns string to keep correct value.
2002-04-20 03:03:42 +00:00
Yasuo Ohgaki
04fb5ef2e3 Added API version for C programs 2002-04-20 02:38:30 +00:00
Yasuo Ohgaki
c53c212da6 Remove warnings.
Fixed OID overflow bug.
Fixed type convertion bug.
# Thank you Edin.
2002-04-20 02:31:48 +00:00
Sterling Hughes
c53003575a throw a warning if encoding support not available... 2002-04-19 23:46:09 +00:00
Sterling Hughes
8912735d86 make it work with dom processing, this allows DOM tree caching to avoid
re-parsing the same data.  Currently very beta -- DO NOT USE.  Will be cleaning
this up over the next few days...  Need this in here for version history, and
to show other people
2002-04-19 22:17:23 +00:00
Adam Dickmeiss
4bf2f16771 Indentation;) 2002-04-19 20:15:40 +00:00
Adam Dickmeiss
6ad3b2bf43 fix warning 2002-04-19 20:03:47 +00:00
Andrei Zmievski
4acbbcf5a9 Revert bogus patch. 2002-04-19 17:23:22 +00:00
Derick Rethans
18a3f085aa - Fix warnings in VC 2002-04-19 14:57:46 +00:00
Yasuo Ohgaki
e64696d729 Fixed pg_insert/update/select/delete overflow. 2002-04-19 13:09:09 +00:00
Yasuo Ohgaki
825e011805 Update tests 2002-04-19 12:24:58 +00:00
Yasuo Ohgaki
7a8ad06121 Added "NOT NULL" check and do not add converted variable when field is NULL and HAS DEFAULT.
(php_pgsql_convert)
2002-04-19 12:24:14 +00:00
Yasuo Ohgaki
8d8ca2602b Changed "default" -> "has default" (metadata)
Fixed comment. Do not use magic number.
2002-04-19 12:19:29 +00:00
Wez Furlong
928bae9cf8 Make scheme part decoding rfc2396 compliant.
Change zlib:// and bzip2:// to compress.zlib:// and compress.bzip2://
Tidy up old socket/network code/comments.
2002-04-19 10:06:41 +00:00
Yasuo Ohgaki
fe6990cc6b Remove compiler warnings 2002-04-19 07:56:41 +00:00
Yasuo Ohgaki
c1ae59c588 Fixed file include error 2002-04-19 07:55:24 +00:00
Yasuo Ohgaki
ec11233183 Remove warning. 2002-04-19 07:54:52 +00:00
Yasuo Ohgaki
2efc8847cd Fixed test title (strlen -> mb_strlen) 2002-04-19 07:51:00 +00:00
Yasuo Ohgaki
f463be8408 Leave "" (null string) when converting. 2002-04-19 07:47:53 +00:00
Yasuo Ohgaki
3b75b606d8 Remove warnings 2002-04-19 07:33:51 +00:00
Yasuo Ohgaki
26bf419778 Fixed messages 2002-04-19 07:08:26 +00:00
Yasuo Ohgaki
6c8bcadf76 Enable mbstring by default.
@ mbstring module is enabled by default (Yasuo)
2002-04-19 06:32:26 +00:00
Sebastian Bergmann
c57ab20ac8 Make use of HAVE_MYSQL. Reviewed by: Sterling. 2002-04-18 16:48:03 +00:00
Sander Roobol
fd167a7d42 Removed redefinition of MIN() 2002-04-18 14:05:28 +00:00
Sander Roobol
151bc2a082 Removing unused variable 2002-04-18 14:04:10 +00:00
Derick Rethans
c0c9279c0a - MFH: Make DBA compile as a shared module again 2002-04-18 12:30:18 +00:00
Harald Radi
f246e23799 whitespace fixes 2002-04-18 10:05:47 +00:00
Alan Brown
ad9f90a223 Missing break; causes fallthrough which actually causes heap corruption in the debugging version despite being just plain wrong. Also placed a default "Unavailable" message when the object does not populate the EXCEPINFO structure. Also removed a minor memory leak. 2002-04-18 01:56:29 +00:00
Alan Brown
bbb133f292 When V_BSTR() is NULL, we pass a NULL pointer into php_OLECHAR_to_char() which reports an exception. Better to map a NULL string pointer to ZVAL_NULL. 2002-04-18 01:52:07 +00:00
Uwe Steinmann
4a2c9980b8 - fixed memory leak 2002-04-17 07:33:39 +00:00
Sebastian Bergmann
208c52fda6 Beautify. 2002-04-17 05:19:10 +00:00
Wez Furlong
b10b24d50c Always initialize wrappers, regardless of PG(allow_url_fopen).
Add is_url field to wrapper structure; the stream wrapper openers
will disallow opening is is_url && !PG(allow_url_fopen).
Add infrastructure for stat($url) and opendir($url).
Tidy up/centralize code that locates and instantiates wrappers for the
various operations.
Implement opendir for plain files.
Make the PHP opendir and dir functions use the streams implementations.
Add modelines for syntax highlighting the pear scripts in vim
2002-04-16 22:14:27 +00:00
Sterling Hughes
651c00718a move xslt_error and xslt_errno down to functions, in order to
make logical room for the xslt_dom_* functions

# (xslt_dom_* will be a basic api, allowing no dom manipulation,
#  however, one of these days I'll write a message/extension that
#  handles xslt/dom/sax in a coherent manner -- just you watch :)
2002-04-16 15:54:59 +00:00
Wez Furlong
1f4d4873dc remove old code 2002-04-16 14:47:20 +00:00
Sander Roobol
c18338b84e Added missing function to function_entry 2002-04-16 14:19:09 +00:00
foobar
01ae2f026e removed ws pollution 2002-04-16 12:58:23 +00:00
foobar
6394a85af8 Added 2 new tokens: T_CLASS_C and T_FUNC_C 2002-04-16 12:53:07 +00:00
Derick Rethans
561552cb4d - MFB: Remove version number 2002-04-16 10:14:08 +00:00
Sterling Hughes
e937ad5adf update these docs, phpdoc will lag a bit :) 2002-04-16 06:41:05 +00:00
Sterling Hughes
2b5a95b54b Prefix current functions with "sax" in order to make way for dom interface
backwards compatibility is maintained via function aliases
xslt_sax_set_sax_handlers is a bit wierd, i guess...
2002-04-16 06:37:19 +00:00
Sterling Hughes
59f3ba1490 clean up the error code a tidbit 2002-04-16 06:04:17 +00:00
Stig Bakken
e07f7cce08 * build tokenizer by default 2002-04-16 05:37:51 +00:00
Frank M. Kromann
1c111b5d3f Fixing Win32 compilation of mbstring 2002-04-15 23:03:48 +00:00
Frank M. Kromann
45881d2b40 Fixing Win32 compilation of exit 2002-04-15 22:23:20 +00:00
Mark L. Woodward
c000d491d7 Chages for beta3 2002-04-15 22:00:56 +00:00
Uwe Steinmann
de2ef69032 - DomNode->replace_node() now returns the node that was replace and
not the new node
- fixes Bug #15949
2002-04-15 15:39:10 +00:00
Uwe Steinmann
c7e391637c - added DomNode->replace_child() 2002-04-15 14:45:38 +00:00
Marcus Boerger
ef5c0f7cc6 support for WinXP tags (thanks to Rui Carmo) 2002-04-14 20:47:21 +00:00
Thies C. Arntzen
136240ae46 fix crash bug introduced by last commit 2002-04-14 18:27:27 +00:00
Derick Rethans
069d83c68a - Fix null-termination problem 2002-04-14 08:49:57 +00:00
Rui Hirokawa
d5158c20a4 fixed error output handler when 'pass' is choosed as output encoding. 2002-04-14 08:18:55 +00:00
Frank M. Kromann
cd0b3ea491 /usr/lib is the default install dir on Mandrake 2002-04-14 02:28:09 +00:00
foobar
72c40cdf42 - Use the correct javac/jar binaries. 2002-04-14 00:40:36 +00:00
Thies C. Arntzen
12541a481e ocibind: avoid warning in debug mode if an outbound variable is NULL 2002-04-13 18:58:18 +00:00
Thies C. Arntzen
33a493cf82 @- Mixing OCIPlogon and OCINLogon no longer leak Oracle-Sessions. (thies) 2002-04-13 12:10:03 +00:00
Christian Stocker
67292ee205 @- old $node->append_child() is now $node->append_sibling(), since
@  new append_child() now behaves like excepted (= W3C standard) (chregu, uwe)
2002-04-13 10:23:46 +00:00
Sascha Schumann
83719f5cd8 s/==/=/ 2002-04-13 09:26:29 +00:00
Rasmus Lerdorf
be2078bb73 oops 2002-04-13 05:43:14 +00:00
Markus Fischer
c7a1d96f8a - Fix a possible memory leak in xml_set_handler().
I stumbled over this while trying out 'pear package' which, while doing
  xml parsing, re-assigns the variaous callback handlers depending
  on the version during xml processing.

  If this check causes problems, let me know.
2002-04-13 05:06:33 +00:00
Rasmus Lerdorf
7a8cade379 Initial commit of the built-in libgd based on GD-2.0.1
This initial checkin has no changes to any of the libgd code so it can
be used as a basis for diffs.  It also will not build currently because
of this.  The PHP gd checks need to be incorporated along with a bit of
other config magic.  It also shouldn't break the build and will only
take effect if you use --with-gd=php right now.
2002-04-13 02:03:09 +00:00
foobar
c46199f5b9 Do NOT use c++ comments in c code!!!!! 2002-04-13 00:31:55 +00:00
foobar
8581de0fe2 Fix the build.
# Marcus, do you TEST build at all before you commit?!
2002-04-12 22:02:28 +00:00
foobar
067ca4e813 Do NOT use C++ comments in C code. 2002-04-12 21:19:59 +00:00
Wez Furlong
4df5076d2f fix build with ZE2 2002-04-12 19:26:08 +00:00
Jan Lehnardt
9b09fba139 - MFB (4_2_0) 2002-04-12 16:54:01 +00:00
Marcus Boerger
50d957cd7a Ini settings for internal encoding and decoding of Unicode and JIS formatted user comments.
@- Ini settings for encoding/decoding Unicode/JIS user comments (Marcus)
2002-04-12 16:35:56 +00:00
Frank M. Kromann
7ff43f040f Removing a unused local variable.
Setting the size before returning the value in readgzfile
2002-04-12 16:25:31 +00:00
Marcus Boerger
0f0a5dddf3 -new function php_mb_check_encoding_list
-mark module globals as const (thread safety)
2002-04-12 16:17:16 +00:00
Sander Roobol
fa8e2db095 This test should be skipped if(!cgi) 2002-04-12 15:25:54 +00:00
Marcus Boerger
df82b2ec75 -fix mb_detect_order
-php_mbstring_parse_encoding_list/array return 0 on any illegal input
2002-04-12 14:24:54 +00:00
Uwe Steinmann
ce00085cdd - added method DomNode->remove_child() 2002-04-12 13:23:07 +00:00
Uwe Steinmann
53de1218fd - fixed stupid compile error 2002-04-12 11:47:48 +00:00
Uwe Steinmann
9b0564beb5 - insert_before(): copy node before doing the insert
- append_child(): actually do an append child and not and add sibling
- what is called xmlDtd in libxml is actually the class DocumentType
  in DOM. The domxml extension used a class DomDtd which is not defined
	in the DOM standard. Instead of using DomDtd DomDocumentType is now
	used. DomDtd has been renamed to Dtd but has not meaning anymore.
- added more functions
2002-04-12 11:32:23 +00:00
Rasmus Lerdorf
eb43795ccb This exif test was failing because the \0's in the expected output had
disappeared.  It may be CVS doing this.  I have put the nulls back, but we
may have to mark this as a binary file in th cvswrappers, or rewrite the
test to not output nulls.
2002-04-12 01:07:46 +00:00
Yasuo Ohgaki
0c9182ad71 Update Sablotron version supported. 2002-04-12 00:44:59 +00:00
Marcus Boerger
fffb1a5d21 interpret empty to_encoding as encoding not set what results in current_internal_encoding 2002-04-11 22:52:43 +00:00
Rui Hirokawa
adf58908e4 fixed a bug which causes crash when charset is not set. 2002-04-11 22:27:00 +00:00
Harald Radi
6f22159aa2 fixed type 2002-04-11 20:32:03 +00:00
Jan Lehnardt
49d6f53007 - add quotes. Cought by: Roman Neuhauser <neuhauser@mail.cz> 2002-04-11 17:20:47 +00:00
Yasuo Ohgaki
25db882a77 Fix ZTS build
# Please check caller when you add TSRMLS_DC. Especically if it's PHPAPI function...
# find . -name "*.c" | xargs grep php_mail
2002-04-11 13:40:19 +00:00
Wez Furlong
4adb1e58eb Fix declarations (Thanks Sebastian) 2002-04-11 12:13:17 +00:00
Marcus Boerger
4407312d4f thread safe 2002-04-11 08:07:22 +00:00
Marcus Boerger
628e639c08 fix warning 2002-04-11 07:26:53 +00:00
Marcus Boerger
42dc682626 fix testproblem 2002-04-11 06:41:55 +00:00
Yasuo Ohgaki
932e33e259 TSRMG => TSRMLS 2002-04-11 05:06:16 +00:00
Wez Furlong
8dd62722c4 fix warning 2002-04-10 23:51:48 +00:00
Wez Furlong
e1d0a14790 Implement stream context and status notification system.
Bump the BC for zlib notice to a warning
# See my RFC to php-dev a few days ago
2002-04-10 22:42:32 +00:00
Uwe Steinmann
281b5d96e2 - extension to access a Hyperwave Server based on the official
Hypwerwave SDK. The function of this module is similar to the
	existing hyperwave extension but the api is very different.
2002-04-10 13:33:59 +00:00
Rui Hirokawa
1f847267e7 changed mbstring to make thread safe. 2002-04-10 12:47:41 +00:00
Sascha Schumann
297ee300de ws changes 2002-04-10 12:22:36 +00:00
Sascha Schumann
dc56d2d050 Replace all memsets with variable initializations
Change flow of code in functions to end in the "positive" branch.

Changes verified using the original php3 dba tests.
2002-04-10 12:16:31 +00:00
Sascha Schumann
1eb8ee6f6d too quick. full speed back. 2002-04-10 11:12:19 +00:00
Sascha Schumann
1ed150172a Please test patches which are merged into the release branch.
db2 has a standard UNIX API which in turn means that
it returns non-zero in error conditions.
2002-04-10 11:10:17 +00:00
Derick Rethans
a19078870e - Fix defines 2002-04-10 06:22:12 +00:00
Marcus Boerger
f140a8dd0d fix exif using vspprintf 2002-04-10 01:18:52 +00:00
jim winstead
f5b7d979c0 Fix bug #15835. 2002-04-09 20:18:09 +00:00
Stig Bakken
704713caf8 * remove extra end-fold 2002-04-09 17:32:39 +00:00
Mark L. Woodward
5e5bccccaa Added new features for msession beta 2 2002-04-08 23:07:23 +00:00
foobar
7cafcc1ef5 ws fix 2002-04-08 22:54:06 +00:00
foobar
edead0523b CPP directives must start on the beginning of line 2002-04-08 22:21:08 +00:00
foobar
e3cc458d25 - Revert that change. Added a warning about this. 2002-04-08 18:43:35 +00:00
foobar
77c058a06a There's really no point in allowing using the system regex library. 2002-04-08 07:47:17 +00:00
foobar
23a3cc71e3 Using system regex lib seems not to work quite well when compiled with Apache. 2002-04-08 06:45:52 +00:00
Derick Rethans
cbed0567aa - Fix wrong logic (Thanks to Alan for noticing it) 2002-04-08 06:36:03 +00:00
Yasuo Ohgaki
34625daf18 Remove unneeded conversions from pg_convert. 2002-04-08 04:21:04 +00:00
Yasuo Ohgaki
d023a96cc6 Make it compile with ZTS.
# Forgot to test with ZTS
2002-04-08 02:01:45 +00:00
Yasuo Ohgaki
8fab36f99c Update README 2002-04-08 01:50:06 +00:00
Yasuo Ohgaki
4ac70c6821 Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update()
and pg_delete().
@ Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update()
@ and pg_delete(). (Yasuo)
2002-04-08 01:37:38 +00:00
Yasuo Ohgaki
7d48177f37 Return proper result. 2002-04-08 00:50:44 +00:00
foobar
7770fd5710 Some ws fixes and general cleanup. 2002-04-08 00:46:23 +00:00
Yasuo Ohgaki
994cdb4b14 Added 2nd parameter for pg_result_status(). PGSQL_STATUS_LONG is for LONG result status.
PGSQL_STATUS_STRING is for SQL command name successfully executed for this result.
@ Added 2nd parameter for pg_result_status() to specify return type. (Yasuo)
2002-04-08 00:43:58 +00:00
Marcus Boerger
59f332800f correcting some more whitespace
#hope that's it
2002-04-07 23:30:01 +00:00
foobar
e034d43ccf Fixed compile failure with ZTS build. 2002-04-07 22:43:17 +00:00
Andi Gutmans
35befd3eb3 - Fix build with Visual Studio .NET. The MySQL team said they'll commit
- their fix a long time ago and never did. One day they'll update the
- whole MySQL client library.
2002-04-07 20:49:10 +00:00
Hartmut Holzgraefe
954dbb2d35 fix and regression test for Bug #16473 2002-04-07 19:46:45 +00:00
Marcus Boerger
bba604b3d8 -fix warnings
-fix layout
2002-04-07 18:45:30 +00:00
Marcus Boerger
0743669f1c -fix warnings 2002-04-07 18:09:31 +00:00
Wez Furlong
1f2344104f fix for #16469 2002-04-07 10:56:30 +00:00
Yasuo Ohgaki
dbe3dfda5f Nuke waring with ZTS build 2002-04-07 05:21:43 +00:00
Yasuo Ohgaki
0cace44107 Fixed ZTS build 2002-04-07 05:20:16 +00:00
Wez Furlong
62538caa86 Added BC support for old style zlib: wrapper.
Added notice when a requested wrapper is not found.
# This BC thing was giving me nightmares.
# It took me 10 minutes to realize I hadn't compiled in zlib support also.
2002-04-06 17:29:39 +00:00
Derick Rethans
d449021900 - Fix zzip_entry_read 2002-04-06 17:28:58 +00:00
Yasuo Ohgaki
179a52b025 Chages for new pg_last_notice() 2002-04-06 06:42:02 +00:00
Yasuo Ohgaki
b2fce9e893 Make pg_last_notice() work as it is designed. It returns last notice message for connection resource specified.
Added "pgsql.ignore_notice" ini entry.
Added "pgsql.log_notice" ini entry.
@ Make pg_last_notice() work as it is designed. It returns notice message PostgreSQL connection resource specified.
@ Added "pgsql.ignore_notice" ini entry.
@ Added "pgsql.log_notice" ini entry.
2002-04-06 05:52:52 +00:00
Andrei Zmievski
0141256493 - Fixed a leak in xml_decode().
- Fixed it so it's possible to compile as a shared extension.
2002-04-06 03:50:28 +00:00
Yasuo Ohgaki
65ba307319 Use get_active_function_name() for error messages. 2002-04-06 01:01:41 +00:00
Joseph Tate
5ae6b3e17a Added test suite for domxml extension.
#eventually I'll separate all the tests into separate files, but until
#then, I'll commit it so that everyone can use it.
2002-04-05 20:55:37 +00:00
Joseph Tate
7954c7bafe Added unlink_node alias for consistency 2002-04-05 18:18:23 +00:00
Marcus Boerger
313503aa92 -testing unicode user-comment 2002-04-05 18:05:48 +00:00
Marcus Boerger
8a388954ea -correct length for ASCII
-global encoding variables
#will become ini settings explanation on what to set follows then
2002-04-05 17:59:29 +00:00
Marcus Boerger
1185a30687 include comma separated encoding lists in test 2002-04-05 16:25:05 +00:00
Marcus Boerger
cbb96206be no space for comma separated encoding lists 2002-04-05 16:24:08 +00:00
Marcus Boerger
b3a96ba509 aligning #
#mentioned by derick
2002-04-05 16:02:54 +00:00
Christian Stocker
672586726e oops. that was an error not detected in shared library mode ... 2002-04-05 15:47:08 +00:00
Christian Stocker
e448122bd5 added domxml_parser(), domxml_parser_add_chunk() and domxml_parser_end().
It provides access to the PushParser interface of libxml2.
2002-04-05 15:27:52 +00:00
Stig Bakken
dedf2a4c39 @Add zlib.output_compression_level option (Stig) 2002-04-05 13:07:43 +00:00
Zeev Suraski
385b233040 Fix gzip/bz2 builds for Windows 2002-04-05 11:51:43 +00:00
Yasuo Ohgaki
1abb9cd02c Add error message from _notice_handler()
# Currently, it always logs whennever notice message is
# recieved. I'll change error log optional later.
2002-04-05 07:57:33 +00:00
Yasuo Ohgaki
7f2446e7de Fix pg_last_notice() double free.
# This should be merged
2002-04-05 06:37:26 +00:00
Yasuo Ohgaki
a9452edac7 Add notice message test
# Need to figure out why estrduped string is not null terminated
2002-04-05 06:30:18 +00:00
Yasuo Ohgaki
d84f0e5530 Update message 2002-04-05 06:07:46 +00:00
Yasuo Ohgaki
04691a516b Add bytea field to test table.
Use table name variable.
2002-04-05 06:06:21 +00:00
Yasuo Ohgaki
22007a29de Add real pg_escape_bytea() test. 2002-04-05 06:05:28 +00:00
Yasuo Ohgaki
eb7ed9105a Fixed way of exporing functions. (Need PHPAPI for Win)
Fixed if statement format. ("if () stmt;" should be "if () \n {stmt;}")
Fixed error message so that appropriate function names are
displayed.
2002-04-05 02:13:32 +00:00
Marcus Boerger
d0de28ece4 Unicode is now based on php_mb_convert_encoding if available
#currently only ISO-8859-15 is supported as result
#maybe this will become an ini setting
2002-04-05 01:25:53 +00:00
Marcus Boerger
cb51e72c46 new function php_mb_convert_encoding 2002-04-05 01:23:22 +00:00
Marcus Boerger
bc6d302fcf removed calls to wctomb, wcstombs
#leave UNICODE to user
2002-04-04 20:45:53 +00:00
jim winstead
e7d5c0e253 mailparse moved to pear/PECL. 2002-04-04 18:43:59 +00:00
Sander Roobol
cebaafba15 Fixed build with multiple concurrent jobs (make -j) 2002-04-04 18:15:52 +00:00
Yasuo Ohgaki
24b76bba21 Fix tests 2002-04-04 15:25:46 +00:00
foobar
d658b1a8d7 Revert the bogus patch. 2002-04-04 14:33:05 +00:00
Yasuo Ohgaki
68f8029fbb Added pg_escape_*() test 2002-04-04 13:59:44 +00:00
Yasuo Ohgaki
fafea27a2d Clean up pg_escape_*() 2002-04-04 13:54:51 +00:00
Christian Stocker
afeda57153 - fixed a lot of memory leaks (by Lukas Schroeder)
- get_attribute() returns False instead of empty string, if attribute not found
2002-04-04 12:16:48 +00:00
Yasuo Ohgaki
186823957a Fixed crash with pg_escape_*()
# I'll MFH later.
2002-04-04 10:25:12 +00:00
Daniela Mariaschi
c02a5dcc1d Fixed sigfault in ibase_close(). Bug #15419 #15992
@- Fixed sigfault in ibase_close() if user doesn't free resultset
@  (Bug #15419, #15992) (daniela)
2002-04-04 02:15:47 +00:00
foobar
97ba30ba5c - OS X support for dynamically loaded extensions. (patch by Marko)
# NEWS entry coming up..
2002-04-04 00:24:34 +00:00
Sterling Hughes
7201d8b54e fix bug #15150, thanks to daniel at haxx.se for the fix 2002-04-03 23:59:36 +00:00
Derick Rethans
755b8542e4 - Fix as suggested my Marcus 2002-04-03 19:50:02 +00:00
Wez Furlong
fea3b0a7f8 fix TS build 2002-04-03 13:47:21 +00:00
Wez Furlong
27d1f7db16 Tidy up win32 implementation of proc_open.
Respect safe_mode_exec_dir.
Implement proc_close and return process return code under win32.
2002-04-03 13:39:35 +00:00
Wez Furlong
74dd73711b add test for mailparse_extract_part_file 2002-04-03 13:38:43 +00:00
Wez Furlong
a0f165a5cb main/streams.c 2002-04-02 16:46:33 +00:00
Derick Rethans
b0970a3b27 - Fix layout 2002-04-02 12:54:21 +00:00
Derick Rethans
f71adad3cf - Whitespace 2002-04-02 06:41:23 +00:00
foobar
8d151063d3 Be a bit more verbose about what was not found. 2002-04-02 00:04:53 +00:00
Kirill Maximov
33ed30fce8 (PHP quoted_printable_decode) Fixed CR/LF processing for Windows/OS2
@ Fixed CR/LF processing for Windows/OS2 in quoted_printable_decode (kir)
2002-04-01 17:03:01 +00:00
Derick Rethans
f4447a9cc1 - Fix for bug #14966 2002-04-01 09:19:57 +00:00
Markus Fischer
700b9eb734 - Nuke *FETCH macros. 2002-04-01 08:05:17 +00:00
Marcus Boerger
0fd732214a #cleanup source 2002-04-01 03:15:57 +00:00
Mark L. Woodward
3828c26a8d PHP_SESSION_API not always defined. 2002-04-01 01:38:53 +00:00
Markus Fischer
ab2194d1da - Fix compilation.
# Marcus, could you please fix the whitespace in this file?
2002-03-31 23:00:31 +00:00
foobar
6214164d28 Fixed the build issues reported by Stas. 2002-03-31 15:41:24 +00:00
Mark L. Woodward
f83d005d46 Fixed conditional compilation based on macros changed in
ext/session/php_session.h which changed.
2002-03-31 05:38:10 +00:00
Yasuo Ohgaki
266692a59a Print multibyte and SSL support is compiled in libpq or not. 2002-03-31 01:45:22 +00:00
Yasuo Ohgaki
7ff1412432 Print PostgreSQL version number in phpinfo() 2002-03-31 01:18:32 +00:00
Sascha Schumann
3a3acee3c9 - Proper use of underscores (s/createsid/create_sid/)
- Bump the API date and remove extra cpp macro
- Pass TSRMLS appropiately to the create_sid function
2002-03-30 16:29:15 +00:00
Marcus Boerger
e4f4386758 -compiler warnings 2002-03-30 14:28:05 +00:00
Markus Fischer
e4d2fa88d7 - Fix #16348. 2002-03-30 01:56:52 +00:00
Mark L. Woodward
346d74a146 Added field to ps_module structure to hold function pointer for the creation
of the session ID string. Default PS_MOD() macro sets this to be the default
creation routine. PS_MOD_SID() macro sets this to a handlers session ID
creation routine.
2002-03-29 16:00:27 +00:00
foobar
a0e3bd8f0e WS fix 2002-03-29 12:56:25 +00:00
Jan Lehnardt
bc19dd6900 - add mysql_info function 2002-03-29 12:47:02 +00:00
Yasuo Ohgaki
c7d72bb20d Fix build failure with PostgreSQL 6.5.x
# I'll merge this to 4.2.0 branch later
2002-03-29 11:24:54 +00:00
Stig Bakken
7f89d8c13a (PHP php_uname) display runtime uname rather than compile-time uname, added
an optional parameter to get single fields (like uname(1))
# Windows version is not tested, and I didn't know how to get
# `uname -n` on Windows, so it's hardcoded to "localhost" for now.
# Windows gurus feel free to fix. :-)
2002-03-29 10:19:23 +00:00
Marcus Boerger
efad4e4281 #and when the test does not result like you expect -> change test data
-fix test image
2002-03-29 01:33:30 +00:00
Marcus Boerger
d0be2aabe4 -fix possible problem on low memory
-fix problem on failure
2002-03-29 01:32:26 +00:00
Joseph Tate
ab982d819a -Crack extension now available for Win32 platforms. You will need to
acquire the cracklib libraries from
 http://www.jtatesoftware.com/cracklib/.
@A project has been added to the crack extension to allow it to be compiled
@under Win32.  Cracklib libraries for Win32 are available from
@http://www.jtatesoftware.com/cracklib/.

#
#Will the person who does the releases for php for windows please be sure
#to add this to the list of extensions to be built.
#
#Will someone with doc karma add this extension to the list on the
#Installation on Windows Systems page:
#http://www.php.net/manual/en/install.windows.php.
#
#Will someone please add the following to php.ini-recommended and
#php.ini-dist:
#To the extensions list:
#;extension = php_crack.dll
#
#To the Module Settings section:
#[Crack]
##Modify the setting below to match the directory location of the cracklib
##dictionary files.  Include the base filename, but not the file extension.
#;crack.default_dictionary = 'C:\php4\lib\cracklib_dict'
#
#I will send a diff to the php-dev list.
#
#Thanks
2002-03-28 18:48:12 +00:00
Derick Rethans
803d2b3154 - MFB 2002-03-28 07:36:02 +00:00
Wez Furlong
4361807185 add test for file_get_contents 2002-03-28 01:20:28 +00:00
Wez Furlong
959021a8c9 Add subject hash to parsed x509 data.
Make the test use file_get_contents().
2002-03-28 00:56:19 +00:00
Wez Furlong
2539cbc74c Phase 3 of OO wrapper cleanup
# What was phase 2?
2002-03-28 00:49:00 +00:00
Wez Furlong
fa4341dcdf make quoted-printable encoding safe for use with digital signatures. Added some tests 2002-03-28 00:43:44 +00:00
foobar
bf663c9746 Fixed bug: #16237 2002-03-27 23:47:06 +00:00
Joseph Tate
113f08bc4b Fixing compile warning under Win32 2002-03-27 21:45:45 +00:00
Hartmut Holzgraefe
492c837272 fix for Bug #16314 2002-03-27 20:20:57 +00:00
foobar
cb104bbfb4 Moved these example scripts out of tests. 2002-03-27 15:39:30 +00:00
foobar
2d8c05bb38 - Fixed bug: #16203
# unconditionally adding libraries which are not even neeeded is evil.
2002-03-27 15:30:52 +00:00
Wez Furlong
f870804c45 add test case for multiple To: lines 2002-03-27 14:07:48 +00:00
Wez Furlong
16fed222f6 allow headers hash to handle multiple To: lines 2002-03-27 14:05:56 +00:00
Hartmut Holzgraefe
ad361b50dc not enabled by default 2002-03-27 13:54:09 +00:00
Hartmut Holzgraefe
aba71d94e0 moved 'static' prototypes to prevent warnings 2002-03-27 13:51:55 +00:00
Hartmut Holzgraefe
65f93ba4f7 preparing for Content-Encoding detection 2002-03-27 11:56:42 +00:00
Sascha Schumann
bc11acbf02 Defer linking against libmcal until we have built the extension,
so that extension-supplied symbols are available.

Also factorize the header file checks.

Reported by: Brandon Knitter
URL: http://news.php.net/article.php?group=php.dev&article=81833
2002-03-27 10:26:17 +00:00
Sascha Schumann
a40b4ff52b Remove generated file 2002-03-27 10:06:24 +00:00
Hartmut Holzgraefe
2875cb8a7f build conflicts fixed 2002-03-26 19:57:32 +00:00
Sander Roobol
9b6a8d2639 Fixed the array-tests. Broke the test up into various smaller tests.
Reduced the test data because it was unmanageable.
# I hope everything is ok :)
2002-03-26 18:17:38 +00:00
Sascha Schumann
fb048880aa outcomment default linking against pam due to no feedback
regarding its purpose
2002-03-26 11:05:18 +00:00
Sascha Schumann
5428e463bd If an argument (<tag val=argument..) was not quoted, leave it that way. 2002-03-26 10:23:33 +00:00
Yasuo Ohgaki
ec0c373992 Remove warnings 2002-03-26 08:49:36 +00:00
Yasuo Ohgaki
c8a3623708 Changed error messages to be consistent with other error messages 2002-03-26 08:43:57 +00:00
Derick Rethans
13633cb945 - MFB 2002-03-26 08:29:14 +00:00
Markus Fischer
f521ae3f30 - Fix bug 11244 (patch by "Tal Peer" <hazgul99@hotmail.com>).
# Sorry for the delay :-)
2002-03-26 07:57:07 +00:00
foobar
edb03cdbb4 - Use correct header file. 2002-03-26 00:14:27 +00:00
Wez Furlong
74749ad642 Fix regular openssl_pkey_get_private($content, $phrase) syntax and
add test case.
This stuff should be merged into the 4.2 branch.
2002-03-26 00:03:11 +00:00
foobar
f4736c72ea Why was this here?? 2002-03-25 23:46:22 +00:00
Sterling Hughes
64c894b164 Whitespace fixes 2002-03-25 22:49:25 +00:00
Georg Richter
6a0bf08ce3 fixed prototype for mysql_ping 2002-03-25 12:09:38 +00:00
Sterling Hughes
7ae1dd662f more zend_parse_parameters fixup 2002-03-25 01:19:59 +00:00
Sterling Hughes
3c3ae850a2 Fix-up the last fix a bit
Clean up mysql_list_processes
2002-03-25 01:14:30 +00:00
Hartmut Holzgraefe
d2b8655775 pproto fix 2002-03-25 01:08:39 +00:00
Sterling Hughes
05475d809b clean up mysql_real_escape_string() a bit
# I really think we should just add a database handle
# parameter to mysql_escape_string()
2002-03-25 01:07:23 +00:00
Hartmut Holzgraefe
14e298f805 initial checkin 2002-03-25 00:42:37 +00:00
Zak Greant
3fae05b014 Added mysql_table_name() alias for mysql_tablename()
Improved logic of parameter parsing code for mysql_ping
 - made test for no arguments more explicit
 - combined to if blocks into one if/else if block
2002-03-24 23:33:07 +00:00
Hartmut Holzgraefe
2c413f116a 1st implementation of magic-file based mime_content_type(string filename) 2002-03-24 23:00:47 +00:00
Sterling Hughes
ad8b00be3e fix freebsd compile 2002-03-24 21:16:02 +00:00
Sander Roobol
f12dfba7e0 Fixed tiny mistake in proto (tnx to Egon for spotting it). 2002-03-24 18:19:31 +00:00
Wez Furlong
5ee65bd8f5 Phase 1 of wrapper OO cleanup.
# Collecting underpants
2002-03-24 18:05:49 +00:00
Sander Roobol
68b18b05fe Fix typo in proto. 2002-03-24 18:01:41 +00:00
Derick Rethans
a9439b7072 - Fix proto 2002-03-24 17:59:39 +00:00
Georg Richter
c47244cd8a changed prototype for mysql_real_escape_string 2002-03-24 17:57:32 +00:00
Mark L. Woodward
4211c9fed2 Added support for session manager ID creation, works with patch submitted earlier 2002-03-24 17:54:19 +00:00
Zak Greant
fa4bd7ab32 Added mysql_ping() function. 2002-03-24 17:34:20 +00:00
Georg Richter
e15bb45a1e a) ws fixed
b) changed mysql_list_processes, mysql_stat (zend_parse_parameters)
c) New functions:
	1) mysql_real_escape_string	this function is similar to mysql_escape_string (deprecated).
					it needs a mysql-connection to escape a string according to the
					current character set

	2) mysql_character_set_name	returns the current character set for the connection

	3) mysql_thread_id		return the pid for the current connection. This function is usefull
					when using mysql_list_processes
2002-03-24 17:19:19 +00:00
Jan Lehnardt
04f6ec87d0 - initial checkin of basic testcases for pspell 2002-03-24 16:22:50 +00:00
Zak Greant
28de0b545e (PHP mysql_list_processes) Returns a pointer to a result set containing
information on the processes running in the
                           MySQL server.
(PHP mysql_stat) Returns a string containing information on the status
                 of the MySQL server.
@- Added two new functions: mysql_list_processes and mysql_stat (Georg)
@- mysql_list_processes() fetches information on the processes running on
@  the MySQL server.
@- mysql_stat() returns status information for a MySQL server.
#  Committed for Georg by Zak
2002-03-24 10:57:40 +00:00
Derick Rethans
66e510f60a - Fix for bug #16232 (Patch by Alan Knowles <alan@akbkhome.com>) 2002-03-24 10:40:21 +00:00
Sterling Hughes
dc81ee82a1 revert out accidental code 2002-03-23 23:47:53 +00:00
Sterling Hughes
6270efc5a9 remove experimental status 2002-03-23 23:46:04 +00:00
Sterling Hughes
34ba10b98b the point can be made both ways :) 2002-03-23 23:40:19 +00:00
Sterling Hughes
496c46c3f0 make key identifiers case sensitive 2002-03-23 23:37:17 +00:00
Derick Rethans
60f20cd870 - Fix experimental notice 2002-03-23 23:30:17 +00:00
Jan Lehnardt
8897845f3b - fix "xml_parse_into_struct/umlauts in tags" testcase. It never really
- worked
2002-03-23 23:24:48 +00:00
Derick Rethans
1f9b519c55 - Remove read_uploaded_file 2002-03-23 23:03:04 +00:00
Hartmut Holzgraefe
e40ce9963e dl is now aware of modules compiled for php <4.1.0
which have a slightly different module_entry structure
2002-03-23 15:37:27 +00:00
Derick Rethans
e2f110d982 - Added read_uploaded_file (patch by Andrew Sitnikov <sitnikov@infonet.ee>) 2002-03-23 14:10:57 +00:00
Rui Hirokawa
751dcedb08 fixed some errors in regression tests. 2002-03-23 07:36:27 +00:00
Rui Hirokawa
d1caef7155 changed license from GPL2 to PHP License. 2002-03-23 07:33:13 +00:00
Rui Hirokawa
8c09fb90ba fixed compile warnings. 2002-03-23 07:32:40 +00:00
Hartmut Holzgraefe
ab928b03d6 proto fix 2002-03-23 01:43:38 +00:00
foobar
cf267402b5 fix the fix 2002-03-22 13:55:11 +00:00
foobar
35e7255055 - Fixed minor inconvenience with iconv detection when iconv is found in libc 2002-03-22 13:49:05 +00:00
Derick Rethans
fe614114e6 - oops :) 2002-03-22 12:15:40 +00:00
Derick Rethans
bdf73d2972 - Fix for bug #14644 (patch by samuel_carriere@hotmail.com) 2002-03-22 12:13:59 +00:00
Derick Rethans
25b42ae3b6 - Fix handling of zero'th argument for sprintf()'s argument swapping code
(Patch by Morten Poulsen <morten@afdelingp.dk>)
2002-03-22 09:09:18 +00:00
Hartmut Holzgraefe
10811cd0d8 getting rid of the warn_not_available alias 2002-03-22 01:10:31 +00:00
Markus Fischer
1d75089d8b *** empty log message *** 2002-03-21 22:35:02 +00:00
Markus Fischer
341af63328 - Use proper macros for php_stream_cast() return values (fixes #16211). 2002-03-21 22:05:40 +00:00
foobar
4110878a24 This file is generated and not supposed to be in CVS 2002-03-21 20:25:01 +00:00
foobar
d533371760 - Fixed bug #16165 again. We check libc for iconv functions only if
no path is given for --with-iconv.
# I hope this is the last time.
2002-03-21 20:22:05 +00:00
Marcus Boerger
eb8c6b4696 -removed old streams test code 2002-03-21 20:16:22 +00:00
Marcus Boerger
ac6ae669e4 -fixed memory handling 2002-03-21 19:59:08 +00:00
Hartmut Holzgraefe
b00d9a5b2c added fnmatch() and glob() functions
could someone please check if i got the virtual dir stuff right?
2002-03-21 19:18:13 +00:00
Wez Furlong
06f6e47e4c Require that wrappers use <protocol>://<path> to avoid
ambiguities when filenames have ':' characters.
This slightly breaks BC with the old style zlib: wrapper.
2002-03-21 17:02:50 +00:00
Hartmut Holzgraefe
8c0fd5bc35 proto fixes 2002-03-21 16:10:08 +00:00
foobar
ec1b89a627 Minor detail fixed. 2002-03-21 15:49:55 +00:00
Andrei Zmievski
1cf188ae1b Fix compilation when PCRE is disabled. 2002-03-21 15:28:46 +00:00
Sander Roobol
a15c9a31eb Added tests for pow()'ing with broken exponents and some additional test
for count()'ing arrays.
2002-03-21 14:18:30 +00:00
Rui Hirokawa
4e494746c1 fixed POST/GET input processing. 2002-03-21 13:44:39 +00:00
Marcus Boerger
671829bff4 #ws 2002-03-21 13:16:03 +00:00
Wez Furlong
c0e39dfa9c Implement bz2 streams and bz2: wrapper.
You can now do this:
copy("zlib:src.gz", "bz2:dest.bz2");
As with zlib, most of the functions with counterparts
in file.c are now aliases to those functions.
2002-03-21 02:27:41 +00:00
Wez Furlong
8da0093935 really nuke it... 2002-03-21 01:22:36 +00:00
Wez Furlong
a662f012bb Convert the gzfile related functions into aliases for their equivalents
in ext/standard/file.c, so a gzopen()ed file pointer can be used in
fread, fseek etc.
Improved behaviour of zlib stream.
Moved passthru code into streams.c
# I'm not happy about BG(mmap_file)
Nuked gzgetss_state as no longer needed.
2002-03-21 01:11:52 +00:00
Yasuo Ohgaki
4094513915 Show function name in error message. 2002-03-21 00:06:45 +00:00
Boian Bonev
4586665c19 ws fix 2002-03-20 19:45:25 +00:00
Boian Bonev
e94ffe37e7 fix version checking - now handle 1.2.3 and 1.2 as well 2002-03-20 19:22:54 +00:00
Sander Roobol
8581f8394b Some PHP-info layout fixes (\n will automatically be converted into <br />)
and a comment-related fix.
2002-03-20 18:29:28 +00:00
Boian Bonev
396dc67cf7 fix a missing [ 2002-03-20 18:22:32 +00:00
Wez Furlong
3dbde95896 Make state parameter of php_strip_tags passed by reference.
Move state tracking to stream structure.
2002-03-20 14:38:13 +00:00
Wez Furlong
659a071e3d Streams are all tracked as resources now.
Add some logic that will help track down leaks
when debug is enabled.
2002-03-20 14:21:30 +00:00
Wez Furlong
14d62c7b62 Add parameter here too... 2002-03-20 13:50:16 +00:00
Sascha Schumann
350de12bc2 Expand the variables in PHP_EXPAND_BUILD_VARS.
Make HAVE_ICONV/HAVE_LIBICONV available through the more
fine-grained approach using a single include file per
directive.  This will significantly reduce the price of
full dependencies for developers, because basically each
file today includes php.h which includes php_config.h.

If PHP_ATOM_INC is defined, these include files can be used.

For all PHP_DEFINEs, empty files are created upon configure start.
2002-03-20 13:24:59 +00:00
Wez Furlong
6f77640ca8 add forgotten parameter 2002-03-20 13:21:55 +00:00
Sascha Schumann
c8ec0fa4bd Fix building mysql client library
Run client lib specific checks only when clientlib is used
Remove second invocation of MYSQL_SOCK
2002-03-20 12:40:27 +00:00
foobar
4597486984 - Fixed (hope so :) like Sascha said. 2002-03-20 12:00:26 +00:00
Sascha Schumann
6bbf968f8a There should not be any trailing data on an #endif line 2002-03-20 08:53:55 +00:00
Markus Fischer
f130bdb59e - Fix for #16176. 2002-03-20 08:17:06 +00:00
foobar
956a7762b8 - This is not needed here 2002-03-20 02:07:32 +00:00
foobar
4a0291d238 - Make it possible to build ext/openssl as shared extension 2002-03-20 02:07:11 +00:00
foobar
00929ff9ac - Fixed bug: #16139 (compile failure with Mysql 4.0.1)
- Some tests were only run when compiling with the bundled libs.
  (caused some compile warnings with external mysql libs)
- Another try to fix the zlib issue..(uncompress)
2002-03-20 01:31:22 +00:00
foobar
e8271cc71e - Fix this without breaking BC 2002-03-20 00:39:28 +00:00
Harald Radi
2adf5bea7c pass function signature in zend_parse_parameters style
lookup cache works now per signature (not only method name)
reviewed resource management
# have to learn now ..
2002-03-19 23:28:52 +00:00
Frank M. Kromann
f6ec73d37f Minor change to allocated lengths for dates 2002-03-19 23:00:17 +00:00
Markus Fischer
7bf57c999c - Support vpopmail 5.2 (fixes #16120). 2002-03-19 22:47:37 +00:00
Frank M. Kromann
42ba9987ea Oops.. This should make I64 work on WIn32 as well 2002-03-19 22:38:35 +00:00
Frank M. Kromann
0201386fac Changing the LongInteger to return 64 bit integers as string values with all 64 bit 2002-03-19 22:36:42 +00:00
Markus Fischer
cd0ceca76f - Fix bug spotted by Lukas Schroeder <lukas@edeal.de>. 2002-03-19 21:18:18 +00:00
Harald Radi
cb2368c905 fixed memleaks
added method lookup caching
pass function signature to hash function callback
2002-03-19 18:46:28 +00:00
Frank M. Kromann
5280936895 Adding support for TinyInteger and LongInteger database types 2002-03-19 18:33:05 +00:00
Wez Furlong
14a3911866 fix for bug #16168 2002-03-19 17:49:02 +00:00
Ludovico Magnocavallo
6ebf422685 Fixed include of interbase.inc
Fixed test database path
Changed v_date field in test table definition to timestamp type
Reduced maximum length of double precision type to 18

Tests 001 002 003 006 pass
Test 004 (BLOB test) still needs to be fixed
Test 005 (Transaction) gives the right output but issues a warning
2002-03-19 16:52:41 +00:00
Daniela Mariaschi
c3daa18168 fixed floating number incorrectly rendered (as mentioned by giancarlo@niccolai.ws in BUG #14755) 2002-03-19 15:29:17 +00:00
Wez Furlong
32a4f35580 register some constants for user streams 2002-03-19 14:35:55 +00:00
Uwe Steinmann
17b2eb13cc - the fdf include file shipped with the FDF toolkit is spelled
in lower case (at least in version 5.0)
2002-03-19 14:03:30 +00:00
Wez Furlong
6abe71bebc s/fgetwrapperdata/file_get_wrapper_data/ 2002-03-19 13:33:07 +00:00
Sascha Schumann
3757a81367 Remove trailing ;
The macro can now safely be used in constructs such as

if (..) foo() else bar();
2002-03-19 12:11:46 +00:00
Sascha Schumann
f84167571f touch file. Please commit first the .re file and afterwards the .c source. Otherwise, timestamps will be broken. 2002-03-19 11:39:41 +00:00
Thies C. Arntzen
3550d75d0f fix #12793 - serialize will now spit a notice if the return value of __sleep is
bogus.
2002-03-19 11:25:21 +00:00
foobar
2bdd6f522e - Not needed anymore. 2002-03-19 10:49:26 +00:00
Wez Furlong
06712a508a Implement user-space streams.
There's probably room for improvement,
docs will following some time this week.
2002-03-19 03:51:01 +00:00
Harald Radi
a85ea38eac added lookup caching and now make use of the new thread
safe hashtables (not in cvs right now)
2002-03-19 03:36:16 +00:00
Vlad Krupin
7139845af9 Fix ftp_size() returning bogus results.
# make sure the server is in BINARY mode before requesting file size.
2002-03-18 22:26:32 +00:00
Markus Fischer
30454e237b - Let OCIError() also return the sql statement which failed and the exact
position into the statement where it failed (if applicable).
  Patch by Daniel Ceregatti <vi@sh.nu>.
2002-03-18 21:01:29 +00:00
Wez Furlong
e3a884f552 fix error message which appeared even if no ssl mode was selected 2002-03-18 20:44:15 +00:00
Wez Furlong
c9d5e13738 TSRMLS related work on streams, as discussed with Zeev.
# Should be the last "broad" commit for a while
# Don't forget to make clean ; make
2002-03-18 18:54:32 +00:00
Hartmut Holzgraefe
c19dfe84c7 proto fixes 2002-03-18 18:00:24 +00:00
Sascha Schumann
26a92a72f1 unused makefile.in 2002-03-18 14:38:01 +00:00
Sascha Schumann
94a3c1e7a4 empty files, let them go 2002-03-18 14:37:22 +00:00
Wez Furlong
5fb9f9c134 fix warning 2002-03-18 11:49:40 +00:00
Wez Furlong
8ba2514253 Fix build.
Warning about TSRM testing still applies.
2002-03-18 11:46:00 +00:00
Wez Furlong
1222d80860 having streams is now the default 2002-03-18 10:44:39 +00:00
Stanislav Malyshev
834042f56d Update .dsp 2002-03-18 09:47:24 +00:00
Stanislav Malyshev
858291e6b5 Fix build 2002-03-18 09:42:20 +00:00
Zeev Suraski
a145646e74 Fix build 2002-03-18 09:20:43 +00:00
Sascha Schumann
68d2592f52 Rename HAVE_PHP_STREAM to PHP_HAVE_STREAMS, because
1.) a PHP-specific symbol should be in the php namespace, and
2.) there are multiple streams and the old configure parameter was plural, too.
2002-03-18 08:29:17 +00:00
Sascha Schumann
d74666a648 touch file 2002-03-18 08:22:33 +00:00
Zeev Suraski
73e79322ba Fix the build and all of the outstanding VC++ warnings 2002-03-18 08:05:28 +00:00
Yasuo Ohgaki
9d2edd0fd8 Use common.inc instead of common.php for ease of use (rm -f *.php for failed
test files)
2002-03-18 06:03:53 +00:00
Marcus Boerger
68f4e7c328 -streams are no longer an option 2002-03-18 05:32:25 +00:00
jim winstead
349936c93e Fix calculation of output buffer size in wordwrap(). (Thanks to Wez.) 2002-03-18 02:00:57 +00:00
Marcus Boerger
c645babd8a -use php_stream_make_seekable 2002-03-18 00:12:47 +00:00
Wez Furlong
d2d8762267 Streams now make more use of the memory manager, so tracking down
leaking streams should be easier.
# I hate these big commits
2002-03-17 22:50:59 +00:00
foobar
19e82a49f9 - Made one test/setup macro for iconv and fixed it to check
for libc first.
2002-03-17 21:09:21 +00:00
Stefan Esser
cce45de17c move_uploaded_files checks open_basedir now 2002-03-17 20:56:20 +00:00
Jason Greene
aab103e9fc Remove already included file 2002-03-17 19:41:24 +00:00
Sander Roobol
9ca0100889 Fixed compile error about gdImageColorResolve (#14426, #15000). 2002-03-17 17:01:18 +00:00
Harald Radi
65c4e9e0fd removed anoying warnings 2002-03-17 16:45:56 +00:00
Wez Furlong
436e339bc7 Fix for Bug #16121: make unix socket names binary safe.
# Could be applied to 4.2 branch, but I don't have a working copy, and
# I don't think it's amazingly critical.
2002-03-17 13:19:27 +00:00
Marcus Boerger
20f2e63289 #removed code to track down error in streams 2002-03-17 12:16:29 +00:00
Markus Fischer
519e6b2208 - Let configure also detect installation in standard unix paths.
- Properly format error message.
2002-03-17 08:33:25 +00:00
Markus Fischer
bfbb3bba1f - Fix some compiler warnings and errors. 2002-03-17 08:10:04 +00:00
Wez Furlong
1d3ad85ac2 fix win32 warning and ming leak 2002-03-17 01:58:42 +00:00
Markus Fischer
9a6296c47e - WS and code style fix. 2002-03-16 22:31:57 +00:00
foobar
6f546e7b42 - Fixed some typos. 2002-03-16 22:19:33 +00:00
Markus Fischer
6c27722398 - Some more TSRMLS fixes. 2002-03-16 22:19:10 +00:00
Harald Radi
2be6527fc6 fixed TSRM build 2002-03-16 22:08:23 +00:00
Marcus Boerger
bcad7a593a -quick hack to bug in streams....but where? 2002-03-16 21:19:17 +00:00
Marcus Boerger
d50102b6ab -disabling debug
#Wez: i have an error when closing the original file after stream copy...
2002-03-16 20:25:51 +00:00
Marcus Boerger
f24caf3244 -formatting 2002-03-16 20:12:58 +00:00
Marcus Boerger
fe9cb020ae -fix bug for not correct terminated comments
-switch to streams
@exif functions now support streams using memory streams where @necessary (marcus)
2002-03-16 20:12:17 +00:00
Wez Furlong
b85096ffe9 fix build problem for interbase 2002-03-16 18:43:41 +00:00
Wez Furlong
5d0c53eecf Fix some issues with gzFile and fsockopen. 2002-03-16 18:42:42 +00:00
Wez Furlong
0895998bef s/get_file_contents/file_get_contents/ 2002-03-16 16:52:24 +00:00
Harald Radi
11a67831d1 blah 2002-03-16 16:15:34 +00:00
Wez Furlong
201446c2b5 Ooops. 2002-03-16 16:14:56 +00:00
Wez Furlong
0447327118 Implement get_file_contents() as discussed (briefly!) by myself, Derick
and Sterling on php-dev some months ago.
It returns the file contents as a string, and uses mmap if possible.
2002-03-16 16:06:18 +00:00
Markus Fischer
ac50b53018 - WS fix. 2002-03-16 15:50:20 +00:00
Markus Fischer
3c52ef676f - Don't forget to close the handle. 2002-03-16 15:42:34 +00:00
Wez Furlong
80f52730ff correct some problems with ming 2002-03-16 15:15:51 +00:00
Wez Furlong
bed04279c3 Hopefully fix resource usage so that we have no leaks and don't segfault. 2002-03-16 14:39:51 +00:00
Wez Furlong
30647934a4 Tweak the API to be more consistent.
Update docs.
2002-03-16 13:48:57 +00:00
Markus Fischer
d4e63bc5bf - Raise warning when trying to execute non-executeable shell
for mail delivery binary.
2002-03-16 12:45:43 +00:00
Harald Radi
01e5d78b80 TSRM fix 2002-03-16 12:22:25 +00:00
Stefan Esser
e926db7bfa fixed possible bufferoverflow in get_next_char
malformed input to htmlentities/htmlspecialchars
with utf-8 encoding crashed the server

ex: htmlentities("\xfd...(30times)", ENT_NOQUOTES, "utf-8");
2002-03-16 09:44:30 +00:00
Rui Hirokawa
9a735efbce fixed some errors of mbstring in regression tests. 2002-03-16 07:33:21 +00:00
Wez Furlong
636829345e Allow php_stream_copy_to_stream to do nothing when used with code
that calculates a max length of zero. (Thanks again Marcus).
2002-03-16 02:48:35 +00:00
Marcus Boerger
94b6c6e87f -use of corrected stream seek
#thanks to Wez!
#image.c no works again
2002-03-16 02:46:04 +00:00
Wez Furlong
52982c422e This should help with some build problems/warnings under win32.
Someone still needs to add the streams.c file to the MSVC
project/workspace though (there are so many that I don't really know
what I am doing :-).
2002-03-16 02:33:00 +00:00
Marcus Boerger
59ba0b5172 -new streams 2002-03-16 02:23:57 +00:00
Wez Furlong
bc264db921 change * formatting 2002-03-16 01:37:24 +00:00
Wez Furlong
a184f5d1d3 * formatting, plus remove some old fopen wrappers 2002-03-16 01:34:52 +00:00
Wez Furlong
09213d7bf8 change * formatting 2002-03-16 01:28:57 +00:00
jim winstead
d3400b2b5f the 'setup' script was removed more than two years ago.
these can be safely removed from the 4.2 branch, too.
2002-03-16 00:21:40 +00:00
Harald Radi
c1fe9cd279 ongoing development ... 2002-03-15 23:28:10 +00:00
Wez Furlong
0f65280cb5 New PHP streams... 2002-03-15 21:03:08 +00:00
Harald Radi
3a1ebd4f51 @ fixed a bug that caused php to crash in php_COM_get_ids_of_names() (Harald, Paul) 2002-03-15 20:48:26 +00:00
Derick Rethans
b5252e28dd - Fix proto (again) 2002-03-15 19:04:22 +00:00
Derick Rethans
108448f37a - proto fixes 2002-03-15 18:22:57 +00:00
Daniela Mariaschi
716e6a03db added new ibase_fetch_assoc() php function 2002-03-15 15:26:01 +00:00
Stig Bakken
fb624cb77a * "new and improved" iconv test 2002-03-15 13:56:32 +00:00
Harald Radi
720c40dd4e fixed HashTable allocation 2002-03-15 13:10:35 +00:00
Stig Bakken
2e597b8dc8 * fix for db3 from ports on freebsd 2002-03-15 11:26:47 +00:00
Stig Bakken
9aa5afacee * yet another iconv config fix, should be able to handle most or all
configurations now (giconv/iconv, static libs only, iconv in libc etc.)
2002-03-15 10:06:37 +00:00
Wez Furlong
1cc6a8e998 it's late; no more commits from me tonight... 2002-03-15 02:06:08 +00:00
Wez Furlong
0454ad4de8 should have diffed first... 2002-03-15 02:00:55 +00:00
Wez Furlong
ae9db4e440 fix for ZE2 compile 2002-03-15 01:58:00 +00:00
Harald Radi
ff62e746d2 rpc apstraction module
does only work with ZendEngine2
2002-03-15 00:00:34 +00:00
Derick Rethans
7935e73749 - Fix bug #16078 2002-03-14 18:41:35 +00:00
Zeev Suraski
7b3660c6e8 Change case for consistency 2002-03-14 18:39:53 +00:00
Wez Furlong
93ad205756 fix buglet 2002-03-14 14:05:13 +00:00
Zeev Suraski
20f3b718dc Make it clearer what this entry means 2002-03-14 13:35:19 +00:00
Derick Rethans
bfa2653b61 - Whitespace part 1 2002-03-14 12:20:53 +00:00
Stefan Esser
77b5d80081 fixed: last commit had debug code in it 2002-03-14 11:26:10 +00:00
Stefan Esser
229e7769f4 fixed whitespace
fixed lots of possible bufferoverflows
fixed memoryleak
2002-03-14 11:22:53 +00:00
Yasuo Ohgaki
dcd86d154e Fixed var_dump() crash when there is recursion.
# Since I said it's easy to fix :)
2002-03-14 09:36:13 +00:00
Jason Greene
8abf829c2a Fix CREDIT files, remove email address 2002-03-13 18:45:39 +00:00
Sebastian Bergmann
bcdef75be8 Fix credits. 2002-03-13 15:52:24 +00:00
Jason Greene
caa3dbfbb1 Update Credits
#Forgot about sapi
2002-03-13 14:40:31 +00:00
Jason Greene
d53439f246 Update Credits 2002-03-13 14:11:09 +00:00
Sascha Schumann
730800a96d Because of the feature "don't try to send a cookie, if the sid
was contained in get/post variables" (which I still am not convinced
of completely), we need a separate variable which determines whether
to define SID in the event that a cookie was not sent.

Noticed by: Matt Allen
2002-03-13 13:08:49 +00:00
Stig Bakken
5274f1a708 * another libconv->libiconv typo 2002-03-13 09:59:43 +00:00
Sascha Schumann
1599932c2e Fix leftovers from yesterday (s/PHP_EXTENSION/PHP_NEW_EXTENSION/). 2002-03-13 09:18:53 +00:00
Christian Stocker
7542aa7499 Return attribute name in node_name(), if it's a XML_ATTRIBUTE_NODE 2002-03-13 08:08:22 +00:00
Christian Stocker
da773a0cfc Return #document in node_name(), if it's a XML_DOCUMENT_NODE 2002-03-13 07:31:16 +00:00
Stig Bakken
923c47893a * muscat extension moved to PECL (it is GPL'ed and it has never been
appropriate to distribute it with PHP)
2002-03-13 06:26:22 +00:00
Boian Bonev
748c255306 fix all comments in protos 2002-03-13 03:51:22 +00:00
Wez Furlong
07f5120ee3 I've altered my diagnosis of segfault/leak problem 2002-03-13 02:49:03 +00:00
Wez Furlong
3ef239bfc8 Fix some issues with ZE2, but now have some leaks.
# Any ideas Andrei?
2002-03-13 02:14:28 +00:00
Yasuo Ohgaki
85106b82e9 Fixed a compiler warning 2002-03-13 00:29:53 +00:00
Marcus Boerger
e03a8a995c -handling 2002-03-13 00:21:51 +00:00
Marcus Boerger
659833a066 -remove filetime from test
# that's magic - now the test should work on all installations
2002-03-13 00:20:48 +00:00
Andi Gutmans
617b26f41d - Compile fixes for Engine 2 2002-03-12 20:28:17 +00:00
Andi Gutmans
c8e7db984c - Allow duality between Engine 1 & 2 using ZEND_STANDARD_CLASS_DEF_PTR 2002-03-12 20:18:01 +00:00
Sascha Schumann
2fe4117113 missed zlib.c 2002-03-12 17:50:12 +00:00
Sascha Schumann
5b3a5f1e13 nuke old makefiles 2002-03-12 16:54:26 +00:00
Sascha Schumann
e0bdaedca1 forgot to add _NEW_ 2002-03-12 16:53:20 +00:00
Sascha Schumann
283b860c58 php_new_extension 2002-03-12 16:53:19 +00:00
Sascha Schumann
06473e08a5 old makefiles 2002-03-12 16:52:17 +00:00
Sascha Schumann
1d06a3166c remove old makefiles 2002-03-12 16:50:43 +00:00
Sascha Schumann
d9a2bb2ec0 Remove old Makefile templates 2002-03-12 16:44:50 +00:00
Sascha Schumann
120a6ede44 add makefile fragment manually 2002-03-12 16:44:01 +00:00
Sascha Schumann
5cba3a99c2 extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed 2002-03-12 16:44:00 +00:00
Marcus Boerger
3c47fb91e8 -usability
-tests
2002-03-12 16:43:29 +00:00
Sascha Schumann
a9f706812d php_new_extension 2002-03-12 16:40:34 +00:00
Sascha Schumann
54d27d7902 unused file 2002-03-12 15:56:27 +00:00
Stig Bakken
612f2b87d2 * fix compile problem on platforms without iconv in libc 2002-03-12 15:15:27 +00:00
Marcus Boerger
8a622d0668 -return size of thumbnail even if it not read 2002-03-12 13:49:40 +00:00
Stefan Roehrich
edcb5813db (PHP gzencode) Reimplementation of gzencode(). Now works as documented
(gzencode(string data [, int level [, int encoding_mode]])),
               should fix #15930.
@- The second parameter of gzencode() now is the compression level like
@  in the documentation. The encoding mode is a third (optional) parameter.
# Rework of gzencode(), output should be closer to real gzip output.
# I think in the old version there could be some problems with
# this function and output compression, should be fixed, too.
2002-03-12 13:23:58 +00:00
Stefan Roehrich
cede952f6a (PHP gzinflate) Workaround for bug #14939 (buffer error in gzinflate()).
Fixed prototype and added test for #14939.

# We have extra \0 if the input comes directly from gzdeflate()
# so give one extra byte as length to workaround behaviour of zlib.
# I want to avoid copying the input, but if there are problems,
# please tell (see my message <20020310175611.GA4472@stefan.roehri.ch> to
# php-dev).
2002-03-12 13:06:40 +00:00
Marcus Boerger
f96696e2a1 -reflect changes
-find image from run-tests.php
2002-03-12 12:42:45 +00:00
Christian Stocker
b6d4004fd9 forgot SEPARATE_ZVAL, produced segfaults.
segfaulted only in 4_2_0 (not in HEAD and 4_0_7, strange...)
2002-03-12 11:15:03 +00:00
Andreas Karajannis
bcdf9b3d4c Removed sqlrte from SAP DB liblist as it is not needed. 2002-03-12 09:54:46 +00:00
Markus Fischer
f499aa1f33 - Remove *FETCH() statements.
- Clean up WS and parenthesis indentation.
2002-03-12 09:12:42 +00:00
Christian Stocker
668ade05c6 nicer (optional) formated output in dump_mem and dump_mem_file 2002-03-12 08:24:50 +00:00
Sebastian Bergmann
6adb33006b Fix TSRMLS_CC. 2002-03-12 07:20:00 +00:00
Yasuo Ohgaki
c43792602e Change php_addslashes() a little.
Since most users do not use magic_quote_sybase, be nicer to
users not using magic_quote_sybase.
2002-03-12 07:05:40 +00:00
Yasuo Ohgaki
e953dba0d7 Make use of TSRMLS_C/D 2002-03-12 06:56:57 +00:00
Marcus Boerger
06a242169c -support for array tags
-better memory handling
-support for thumbnails in TIFF format
-new functions exif_imagetype
@-new function exif_imagetype
@-exif_thumbnail fupports thumbnails in TIFF format and can return size
@ of thumbnail
2002-03-12 06:14:45 +00:00
Marcus Boerger
e39dcad91a -fixed bug 15174
-support for some broken jpegs: bug 13213
-better memory handling
-initial jpeg2000 support (only jpc not jp2,jb2,jpx)
2002-03-12 06:08:48 +00:00
Yasuo Ohgaki
e0867ffcf1 Add missing skipif.inc 2002-03-12 05:42:43 +00:00
foobar
b4f73cc4f9 - Fix more possible bugs (bug #16008 related) 2002-03-12 02:27:03 +00:00
Derick Rethans
ddf0fac996 - fix bug #16008 2002-03-11 23:11:04 +00:00
Christian Stocker
48da8216f9 @ implemented domxml_elem_get_elements_by_tagname
@ new function domxml_doc_get_elements_by_tagname
@ new function domxml_doc_get_element_by_id (chregu)
2002-03-11 22:37:32 +00:00
Markus Fischer
d5b1a4f811 - Slightly unify error/warning messages.
- Switch to zend_parse_parameters().
- Fix whitespaces.
2002-03-11 22:23:05 +00:00
Sander Roobol
b9e8bddb3a Maintain headers 2002-03-11 16:58:29 +00:00
Yasuo Ohgaki
1718f1bd33 Print function names in error messages 2002-03-11 14:53:59 +00:00
Sascha Schumann
2a8d55ff1d Add global include path, so that other extensions can access
the expat header.
2002-03-11 13:32:44 +00:00
Yasuo Ohgaki
8885f79909 WS and indent 2002-03-11 07:23:07 +00:00
Yasuo Ohgaki
2a6ae3b7db Add comments for constants. Remove unneeded constants included by mistake. 2002-03-11 07:19:57 +00:00
Yasuo Ohgaki
7bccaefc41 Small memory leak fix that does not matter much. 2002-03-11 07:11:54 +00:00
Yasuo Ohgaki
8b8fcff81b Fix possible build error under Windows.
# Recent libpq under windows supports PQcmdTuples, right?
2002-03-11 07:09:12 +00:00
Sebastian Bergmann
6729e0e9bf Fix thread-safe build. 2002-03-11 05:43:23 +00:00
Jason Greene
cd4954b7b5 Fix WS 2002-03-11 01:24:42 +00:00
jim winstead
8544cc1532 handle numeric strings. this means we're less picky about the argument
types, but the math functions aren't generally that picky.
2002-03-10 23:46:43 +00:00
Markus Fischer
949e6dbaae - Fix protos. 2002-03-10 23:45:02 +00:00
Rui Hirokawa
68976a35ce fixed wrong include file. 2002-03-10 13:17:59 +00:00
Rui Hirokawa
06923253c3 fixed module name iconv->mbstring. 2002-03-10 12:23:11 +00:00
Markus Fischer
bbe42d7673 - Fix crash in iconv_set_encoding(). [Closes #15799] 2002-03-10 09:22:31 +00:00
foobar
fe7a2440ca - Renamed aggregate.lib.php -> aggregate.lib (.php files are always deleted bycvsclean) 2002-03-10 02:38:06 +00:00
foobar
16d61c974c - Fixed bug: #15686 2002-03-09 21:30:12 +00:00
foobar
5b32b3c4df - Fixed bug: #15190 2002-03-09 18:17:06 +00:00
Sander Roobol
a4e5289335 Oops... 1 digit is allowed too! Reverting my fix. 2002-03-09 11:23:48 +00:00
Jason Greene
494d2d0d5a Fix build on win32 2002-03-09 06:41:19 +00:00
Jason Greene
3c9c83640f Fixed bug where NULL specified in sec was not waiting infinately as it should
Fixed bug where socket_select was not producing an error message on error
Fixed bug where -1 was getting returned instead of FALSE in socket_recv(),
socket_send(), socket_sendto(), and socket_select()
2002-03-09 04:37:54 +00:00
foobar
131f125fdd whitespace.. 2002-03-09 00:24:42 +00:00
Christian Stocker
f8964007f8 @ implemented domxml_elem_get_attribute_node(attrname) (chregu) 2002-03-08 22:16:07 +00:00
Marcus Boerger
42e478c7aa -support for out of section data 2002-03-08 20:56:44 +00:00
Sander Roobol
58a52f93bc Fixed many tests, mostly incorrect paths. 2002-03-08 19:16:19 +00:00
Joseph Tate
ea48f89d26 Added linking files to make build compatible with RH 7.2's updated libxslt
packages.  Should not break when compiling with older versions.  This may
fix bug #15942 as well.
Configure was giving a Warning message without these lines when --with-xslt was
specified.
2002-03-08 18:56:00 +00:00
Sander Roobol
6e6bd72e0d (php_date) Fixed 'r' modifier to always return two digits for the day
value (see RFC 822) (#15952).
2002-03-08 17:25:43 +00:00
Hartmut Holzgraefe
94c14ad4f6 reimplementation using macro instead of function pointer ( Bug #15951 ) 2002-03-08 11:59:02 +00:00
Marcus Boerger
27242a7a46 -change IsColor from non zero to 1
-new test and example for documentation
2002-03-08 11:33:46 +00:00
Christian Stocker
2cdb9f1bf9 @ domxml_elem_remove_attribute(attibutename) is now implemented (chregu) 2002-03-08 11:05:13 +00:00
Christian Stocker
0cf6de6fcb @ added formatting option to domxml_dump_mem() (chregu) 2002-03-08 09:18:31 +00:00
Marcus Boerger
355150ebde -Changes according to exif.c 1.55 2002-03-08 01:11:03 +00:00
Marcus Boerger
9363bfad7e -Support for IFD Arrays
#necessary for update/write operations
2002-03-08 01:09:54 +00:00
Marcus Boerger
d994d0b47d TIFF support for 'non' digicam files
# same as in standard/image.c but here it's more complex
2002-03-08 01:06:59 +00:00
Marcus Boerger
d09d38ad6e TIFF support for 'non' digicam files 2002-03-08 00:57:08 +00:00
Joseph Tate
7ad4b465ca Commented out a few lines that were causing a segfault in the unlink code.
This fixes bug #14522.  I've tested that it does not cause a segfault under
RH 7.2, and retains all functionality.  I recommend that this patch be
considered for the PHP_4_2_0 tree as well, as having a function that core
dumps every time is a bad thing(TM).
2002-03-07 23:52:57 +00:00
foobar
88750086cc - Fixed some compile warnings and removed bogus comments. 2002-03-07 21:41:51 +00:00
Sascha Schumann
d62c336cf2 These tests currently depend on register_globals=1 2002-03-07 20:51:27 +00:00
Jon Parise
822c150636 Correct the header file ordering. From 'man 3 inet' (FreeBSD 4.5):
#include <sys/types.h>
	#include <sys/socket.h>
	#include <netinet/in.h>
	#include <arpa/inet.h>
2002-03-07 20:27:37 +00:00
Frank M. Kromann
7d88c35ffd Making mbstring compile under WIn32 2002-03-07 17:28:50 +00:00
Joseph Tate
b6c9805cc8 Added type attribute wrappers to the remaining node types that did not have
them.  I.e. XML_ATTRIBUTE_NODE and XML_CDATA_SECTION_NODE.  Mentioned in
Bug #15918.
2002-03-07 16:34:13 +00:00
Joseph Tate
f0bb6ff3db Added TODO item to modify new_child so that more than just element nodes
can be created.
2002-03-07 16:33:02 +00:00
Derick Rethans
8d4656dcf6 - Remove CVS things 2002-03-07 15:51:29 +00:00
Sascha Schumann
c12dc3851b touch file 2002-03-07 15:44:10 +00:00
Rui Hirokawa
5634d3a8f7 reverted my patch to fix freetype2 related problem. 2002-03-07 15:07:12 +00:00
Sascha Schumann
62a6c3bfcc Bad extension. Still using AC_ADD_INCLUDE! 2002-03-07 14:59:48 +00:00
Sascha Schumann
5eb451ff18 Remove .libs from .cvsignores, except /. 2002-03-07 14:57:15 +00:00
Sascha Schumann
9d9d39a0de Please welcome the new build system.
If you encounter any problems, please make sure to email sas@php.net
directly.

An introduction can be found on

http://schumann.cx/buildv5.txt
2002-03-07 14:20:02 +00:00
Yasuo Ohgaki
00e71a8c7e Rename common.php to common.inc for easier deletion of garbages.
e.g. "rm -f *.php"
2002-03-07 08:06:22 +00:00
Hartmut Holzgraefe
08ce0598c5 more proto stuff 2002-03-07 00:13:41 +00:00
Hartmut Holzgraefe
87e1cd308f proto fixes:
- changed 'double' to 'float'
  - changed 'int' to 'resource' where appropriate
  - format change: proto has to be on a single line and description
    on the very next one, some tools still rely on this
2002-03-07 00:01:26 +00:00
Marcus Boerger
ac80c9d00e - standard test scripts for exif
#hope all problems in exif are resolved now
2002-03-06 22:01:45 +00:00
Marcus Boerger
0a0942b193 -comments
#just another jhead.c line
2002-03-06 20:52:17 +00:00
Marcus Boerger
15d74e343b -comments 2002-03-06 20:24:29 +00:00
Jason Greene
165a97c90f Sockets Rework Patch 3 of 3
Nuked all fd code
Rewrote socket_select to use arrays instead of the fd code
(This has the side-effect of fixing quite a few bugs)
2002-03-06 20:19:09 +00:00
Derick Rethans
d716e02a98 - Fix for bug #12383 and #14755: 105.05$ becomes 105.5$ (Patch by: Giancarlo
Niccolai <giancarlo@niccolai.org>)
2002-03-06 19:54:47 +00:00
James E. Flemer
01505de0b1 (PHP opendir) Changed CHECKUID_ALLOW_ONLY_DIR to CHECKUID_ALLOW_ONLY_FILE
so that relative paths (vs absolute) work correctly.
2002-03-06 18:31:33 +00:00
Marcus Boerger
3dc95db8b7 -updated test to reflect third parameter of exif_read_data 2002-03-06 18:21:50 +00:00
Marcus Boerger
0b5759f7bf -missing efree
-incorrect index/length computing: left from jhead
#no errors left with test files - controlled manually with hexeditor
2002-03-06 18:11:57 +00:00
Dan Kalowsky
86ca867930 quelling a warning, and ensuring now undefined behavior 2002-03-06 16:15:28 +00:00
Dan Kalowsky
160fe54bab When #if BLAHING a section, ensure to make it's prototype included. Returns
build capability to MacOSX.
2002-03-06 16:14:00 +00:00
Derick Rethans
f3d1ae176f - Add 'appname' parameter to sybase_connect. (Patch by Christophe Sollet
<csollet@coleebris.com>)
2002-03-06 15:59:57 +00:00
Sascha Schumann
b5660126d0 Do the estrdups after checking for parameter constraints.
No real memory leaks though, because they are catched by the
memory manager.
2002-03-06 12:34:47 +00:00
Sascha Schumann
0c69739feb Did not revert back enough.
This patch does not make sense, because it enforces the existence
of a single directory.
2002-03-06 12:25:01 +00:00
Sascha Schumann
0bf5fc14be SID shall be defined to name=id, if the client did not supply
a cookie.
2002-03-06 12:12:39 +00:00
Sascha Schumann
8141c7761c Merge in session API changes (carry around tsrm context)
Now PHP_SESSION_API is defined to the date of the last change,
so that externa source-code can handle changes more gracefully.
2002-03-06 11:49:51 +00:00
Sascha Schumann
398b1011dc Always initialize the track-vars 2002-03-06 11:41:17 +00:00
Derick Rethans
2f04af4402 - More ZTS fixes 2002-03-06 11:26:05 +00:00
Derick Rethans
79330dc592 - Fix build with ZTS 2002-03-06 11:20:11 +00:00
Marcus Boerger
efddda3d6d -updated test 2002-03-06 09:32:02 +00:00
Marcus Boerger
0ecd2f0876 -new working thumbnail code
-everything uses new data structures
-new function exif_thumbnail
#nearly stripped off all jhead code
@read_exif_data is now an alias for exif_read_data
@  important to differenciate old/new version for tests)
@new function exif_tagname returns the names of tags
@new function exif_thumbnail extracts embedded thumbnail (Marcus)
#switched to internal version 1.2
2002-03-06 09:31:32 +00:00
Sascha Schumann
ca59cb7cf9 Weep out all recent commits of Yasuo.
I don't have time right now to leave in the good ones and remove
only the bad ones.

There are some semantical changes which I reject, because
they aim at fixing a bug which is at a completely other location.

Then SID does not gefined anymore properly. (This broken patch
has not been sent to me at all.)

Also, there were *so* many whitespace changes which already
make these commits bogus.
2002-03-06 09:02:31 +00:00
Yasuo Ohgaki
d36ddb5a9f Fixed typo :) 2002-03-06 09:01:13 +00:00
Yasuo Ohgaki
ae3edadca6 Use static mm file save path. Now we can safely stop web server at start up when there is an error. Older mm uses static mm file path anyway. 2002-03-06 08:54:55 +00:00
Yasuo Ohgaki
0010418ea7 Fix crash bug #14232 2002-03-06 07:49:49 +00:00
Yasuo Ohgaki
da977f8251 Make php start even with wrong save_path. 2002-03-06 06:29:43 +00:00
Jason Greene
e228b16885 Socket Rework Patch 2
Redesigned socket_recv() as outlined on php-dev
Modified socket_last_error() to no longer clear the error
Added socket_clear_error()
Fixed socket_set_nonblock()
Added socket_set_block()
Fixed a proto
Saved 1 byte of RAM : )
2002-03-06 05:21:56 +00:00
Yasuo Ohgaki
92facba86f Oops. Fix compile failure 2002-03-06 00:42:39 +00:00
Yasuo Ohgaki
a2fecc2d79 Using session_save_path() after starting session is obvious error.
Riase E_NOTICE error instead of E_WARNING. Since it is valid if
user uses session_save_path() with session_module_name().
2002-03-06 00:40:42 +00:00
Yasuo Ohgaki
09e6133e84 Return FALSE when session_module_name() failed. Fix a little leak. 2002-03-06 00:34:57 +00:00
Yasuo Ohgaki
b17fd60310 Raise error when session module failed to open or read 2002-03-06 00:26:38 +00:00
Yasuo Ohgaki
782462a4ca More TSRM work 2002-03-06 00:12:48 +00:00
Yasuo Ohgaki
4042334882 Remove TSRMLS_FETCH() and use TSRMLS_C/TSRMLS_D
# Need a little more work for backword compatibility
2002-03-06 00:05:21 +00:00
Yasuo Ohgaki
bc383c2eab Fixed crash with mm save handler 2002-03-05 23:45:50 +00:00
Yasuo Ohgaki
d809d046df Fix bug #15322 and fix a little memory leak 2002-03-05 23:37:00 +00:00
Zeev Suraski
1c3c40a339 Make $_SESSION and $HTTP_SESSION_VARS links to each other 2002-03-05 22:06:35 +00:00
Marcus Boerger
088450efce -fixes
-changed internal data structures
#nearly stripped off all jhead code
2002-03-05 19:47:19 +00:00
Dan Kalowsky
af4b22ceb5 Breaking BC, but making odbc_fetch_into behavior more consistent 2002-03-05 16:45:02 +00:00
Markus Fischer
003bb8c2b4 - Introduced posix_errno() (get error number from last error message) and
posix_strerror() (convert error number into error string).

- Do not output any error message if any of the function fails with FALSE
  return value. The proper way now is to call posix_errno() and
  posix_strerror() after encountering an error condition.

- Function not support on a system no longer issue a 'not available' error
  but simply don't exist so we can safely use 'function_exists'.

- Fixed protos.

- Use new parameter parsing API.

- posix_uname() may be aware of 'domainname' (GNU extension)

- posix_getgrnam(), posix_getgrgid(): the returned information does no
  longer contains mixture of string and numbered keys (hash / array)
  but contains key 'member' with an array of all members in a list
  (or an empty array). This breaks BC but is the right thing IMHO.
2002-03-05 16:04:04 +00:00
Derick Rethans
eeeb95595f - More test fixes 2002-03-05 09:02:02 +00:00
Derick Rethans
39225a22b8 - Fix tests to work with CLI
#- Not totally done, but this makes it a lot better
2002-03-05 09:00:56 +00:00
Derick Rethans
9354703d9d - Fix mcrypt tests 2002-03-05 08:24:21 +00:00
Dan Kalowsky
1e0ee7b1b5 Added a comment for future reference 2002-03-05 06:15:01 +00:00
Jason Greene
7d7b1ae9b5 Style Improvement 2002-03-05 03:45:23 +00:00
Frank M. Kromann
5f4fe6255e Killing compiler warning 2002-03-05 00:28:20 +00:00
Frank M. Kromann
68caa64328 Making dbase compule under WIn32 2002-03-05 00:28:07 +00:00
Dan Kalowsky
a3010a9b8f Fix for Bug 14423. Enables FreeBSD to use iconv functionality. 2002-03-04 23:28:17 +00:00
Marcus Boerger
ce4bf31268 - also test TIFF support in GetImageSize 2002-03-04 23:20:48 +00:00
Marcus Boerger
6b2a074330 - Read IsColor for TIFF 2002-03-04 23:19:27 +00:00
Sascha Schumann
e991374db6 Add apparently missing include 2002-03-04 20:14:52 +00:00
Sascha Schumann
b4d5aa5c50 Supply php_html_puts which escapes a whole string.. now fully works in ZTS
mode, too.
2002-03-04 18:46:55 +00:00
Sebastian Bergmann
f79e39cf56 Silence warning. 2002-03-04 18:21:43 +00:00
Sascha Schumann
316a03ca17 revert last commit, puts does more through putc. 2002-03-04 18:12:55 +00:00
Sascha Schumann
42bd356be8 Use PHPWRITE to output data. Because this just outputs diagnostic
information, a few spaces won't hurt (and multiple ones are rendered
as one by browsers anyway).  Micro-benchmarks which use phpinfo()
as a mean to generate output will yield more through-put now
(35 req/s vs. 83 req/s in tux).
2002-03-04 17:48:20 +00:00
Marcus Boerger
d95f691e3f - TIFF support for GetImageSize
@ TIFF support for GetImageSize (Marcus)
2002-03-04 17:17:41 +00:00
Marcus Boerger
a7403576e1 - disabled debug information
- added missing width/height from primary ifd for TIFF
2002-03-04 17:09:24 +00:00
James Cox
c63843eb29 typos suck. 2002-03-04 17:09:09 +00:00
Jason Greene
c6c7380d88 Style mismatch: Jon's catch 2002-03-04 15:02:23 +00:00
Stanislav Malyshev
800e8af417 cygwin fix 2002-03-04 11:11:25 +00:00
Jon Parise
9d43b9ecf5 Silence warning under Solaris 8 (WorkShop Compilers 5.0 98/12/15 C 5.0). 2002-03-04 11:03:19 +00:00
Marcus Boerger
be5908b06c -addition to last change: php_image.h must be included now 2002-03-04 09:29:06 +00:00
James Cox
0c78c87f34 Changing the Velocis extension to now be called Birdstep, due to a product/company change.
added aliases for Velocis to the birdstep functions.
# testing is both advised and encouraged!
@ The Velocis extension is no
2002-03-04 09:10:32 +00:00
Sascha Schumann
cd5f8608e2 Restore use of inline 2002-03-04 08:37:44 +00:00
Rasmus Lerdorf
83e6dbcf19 Let getimagesize() and read_exif_data() share the same constants to
promote a little bit of code reuse here on two very similar problems.
2002-03-04 07:21:30 +00:00
Marcus Boerger
9c8ad6614f -Updated test.txt and provided test.php
# simply including test.txt
@Added test.php/txt to have a possibility to check ext/exif
@(Marcus)
2002-03-04 06:26:07 +00:00
Marcus Boerger
642ab24df1 -Added TIFF support
-Changed parameters after checking bugdatabase and discussion with
    Rasmus: 1st=Filename, 2nd=NeededSections
# 3rd=Thumbnail, 4th=All
#   3rd and 4th parameter are currently diabled because the code
#   does not work correctly (will correct this in later versions).
#   Changing the parameters will not cause any problems because the
#   old parameter functions never found their way in documentation
#   and the they did not work...
@-Added TIFF support
@-Changed parameters after checking bugdatabase and discussion with Rasmus
@    1st=Filename, 2nd=NeededSections
@    If the 2nd parameter is not present or 0 or '' the function will return
@        a result array even if no data was read from file.
#        Personally i consider a default behaviour to generate no array if
#        no data is present as a bad idea because here we can generate as
#        much information as possible....
@    If the 2nd parameter is a string then that string describes which
@        sections have to be present in the file to generate a result array.
@        If none of the needed section is found the result will be false.
@        Section strings are "ANY_TAG","IFD0","COMMENT","EXIF","GPS","INTEROP"
@        "FPIX","APP12". Each string has to be separated by a colon. So
@        "COMMENT,EXIF" returns an array if either a comment or an Exif
@        section is present. "IFD0" is standard datastructure in a TIFF/JPEG
@        file that contains image information. "EXIF" is the Exif structure
@        of TIFF/JPEG (IFD0 subdirectory). "GPS", "INTEROP", "FPIX", "APP12"
@        are additional IFD0 subdirectories. The APP12 support is an
@		 experimental Olympus support.
#        Do not worry this is no problem, it is safe.
@(Marcus)
2002-03-04 06:21:58 +00:00
Jason Greene
03baef7a3d Patch 1 of 3 (2 in 3 still in progress) of sockets rework
Abstracted string -> ipv4 value conversion which unifies all functions
Standardized Host Lookups
Fixed Broken host error values
Fixed error detection in sendmsg
Added some safety struct zeroing
Modified bind to consitentlyy use sockaddr_storage(not just for AF_UNIX)
#Note this could potentially break the build on other platforms, as I have
#not tested them yet (Will soon though)
2002-03-04 05:27:04 +00:00
James E. Flemer
787ce372b9 (PHP opendir) Added safe_mode checks on path.
@- Added safe_mode checks for opendir(). (jflemer)
2002-03-03 20:46:57 +00:00
Derick Rethans
bc7e0b5512 - Make the 2nd parameter to pgsql_fetch_* support NULL in case 3 parameters
are supplied, but you do not want to provide a row number yourself.
@- Make the 2nd parameter to pgsql_fetch_* support NULL in case 3
@  parameters are supplied, but you do not want to provide a row number
@  yourself. (Derick)
2002-03-02 19:53:11 +00:00
Hartmut Holzgraefe
547b25fd13 php has no 'double', only 'float' 2002-03-02 17:08:09 +00:00
Hartmut Holzgraefe
0558bc5b1c tab/space mixture cleand up,
editor config comments added,
minor proto fixes
2002-03-02 16:49:06 +00:00
Hartmut Holzgraefe
bff90c71c1 typo fix 2002-03-02 16:41:55 +00:00
Zeev Suraski
7c3763d056 Fix another crash bug 2002-03-02 15:59:16 +00:00
Hartmut Holzgraefe
7c655ad471 enable ctype functions by default 2002-03-02 15:44:08 +00:00
Marcus Boerger
442773abb3 Wrong brackets by rasmus...but sorry the fault was mine because i missed them...
i also decided to call the first working version 1.0a

by the way: currently i am working on tiff files and it looks like it may work
2002-03-02 15:43:19 +00:00
Zeev Suraski
8ffc0e192f Fix a crash bug in the session module 2002-03-02 14:18:45 +00:00
Derick Rethans
6f9c7bcf21 - Fix warning message for join(). 2002-03-02 14:06:57 +00:00
Derick Rethans
80ac68cc59 - Fix CREDITS files 2002-03-02 13:44:08 +00:00
Derick Rethans
d5fee0cb0c - Make GD functions only available if they really exist (Patch by
matslin@orakel.ntnu.no)
2002-03-02 12:32:31 +00:00
Yasuo Ohgaki
7ce7a73095 Add mbstring tests 2002-03-02 10:44:57 +00:00
Rasmus Lerdorf
15ba6402bd Fix a couple of warnings 2002-03-02 08:37:28 +00:00
Yasuo Ohgaki
9981d06217 Improved iconv usage with libc's iconv. No overrun. More efficient memory
allocation.
Hopefully, all bugs reported for iconv will be resolved when users are using
libc iconv.
@Improved iconv with libc's iconv
2002-03-02 07:04:59 +00:00
Yasuo Ohgaki
cdedece154 Add more tests for iconv 2002-03-02 07:00:40 +00:00
Derick Rethans
8b5411b938 - Fix for Sun WorkShop 6 update 2 compiler (Bug #15812) 2002-03-01 16:52:16 +00:00
Derick Rethans
6f6c4ec7c7 - Add support for returning NULL values from Interbase resultsets (Patch by
Daniela Mariaschi <mariaschi@libero.it>)
2002-03-01 14:03:10 +00:00
Yasuo Ohgaki
5fa8b2087f Fix compiler warnings and header file path. 2002-03-01 12:01:53 +00:00
Zeev Suraski
bb685a402f Fix php_splice() to work with large values 2002-03-01 12:00:05 +00:00
Yasuo Ohgaki
6ecd17100e Update doc 2002-03-01 11:52:04 +00:00
Marcus Boerger
0857bdbcde +Support for Photographer/Editor Copyright as associative array as this is a new feature the change (optionally being an array) has to be mentioned in documentation.
+New function exif_headername can be used to read the internal Tag namelist (was mainly created for debugging purpose but maybe somone writes code to create/update exif headers here).
+An internal version number is present.
+A testpage is supplied test.txt describes how the test works.
+The oldfunction read_exif_data has got an alias exif_read_data

As the old version of this module is very buggy i decided to implement the testpage (test.txt) and to create the alias. The test script only works with the alias as the old version does not pass tests. By the way it seems a good way to prepend 'exif_' to all functions in the module.
2002-03-01 04:01:26 +00:00