Commit Graph

17339 Commits

Author SHA1 Message Date
Marcus Boerger
1bec704ea7 - Fix editor blocks 2005-11-27 12:13:42 +00:00
Antony Dovgal
9fdd2b6940 show OIC version in phpinfo(); if possible
fix build with older versions: SQLT_BDOUBLE & SQLT_BFLOAT first appeared in Oracle 10
2005-11-26 17:34:35 +00:00
Michael Wallner
2563c13553 - ditch warnings 2005-11-26 14:17:09 +00:00
Michael Wallner
a278e9a74d - use php_hash_* types
# ok with everybody?
2005-11-26 13:15:06 +00:00
Antony Dovgal
34c4afe3dd MF51: add properties hashtable to Timezone class 2005-11-26 12:37:20 +00:00
Antony Dovgal
173cbe620f fix #35402 (New date class causes crash in get_object_vars()) 2005-11-26 09:39:50 +00:00
Michael Wallner
3bc5c7e420 uhm... 2005-11-26 00:15:03 +00:00
Michael Wallner
90561e4fe8 - add crc32 2005-11-26 00:08:06 +00:00
Michael Wallner
6c16fac2b5 - add adler32 2005-11-25 23:12:44 +00:00
Michael Wallner
55f3cabb90 - ditch warnings
- add gost and snefru test
- CREDITS += mike
2005-11-25 18:24:34 +00:00
Michael Wallner
7a9fcb329f - add gost algo
- declare tables static
2005-11-25 16:12:30 +00:00
Wez Furlong
145bdfa9a4 Use right define: ZEND_MODULE_API_NO as these are PHP modules, not Zend extensions 2005-11-25 15:44:40 +00:00
foobar
04dffec1c4 - Use right define: ZEND_MODULE_API_NO as these are PHP modules, not Zend extensions 2005-11-25 15:40:14 +00:00
Antony Dovgal
a526db7956 fix #35391 (pdo_mysql::exec does not return number of affected rows) 2005-11-25 12:54:18 +00:00
Michael Wallner
7a0886509e - add a simple benchmark 2005-11-25 12:21:28 +00:00
Michael Wallner
f1054f3473 - add snefru algo
- fix empty else in config.m4
2005-11-25 11:54:49 +00:00
Antony Dovgal
d31cd8bf85 change handles destruction order (based on the patch by Chris Jones) and fix typo 2005-11-25 10:16:55 +00:00
Ilia Alshanetsky
edca4a83ba Fixed copy & paste error 2005-11-24 23:24:53 +00:00
Ilia Alshanetsky
9e3bff7b0f 1.0.1 release 2005-11-24 23:12:38 +00:00
Marcus Boerger
ba03c4fcc3 - Synch test name 2005-11-24 20:27:27 +00:00
Ilia Alshanetsky
40b2772dcd MFB51: Fixed bug #35358 (Incorrect error messages for PDO class constants). 2005-11-24 16:22:27 +00:00
Antony Dovgal
eb40be874a fix #35322 (oci_connect() after oci_close() gives unknown resource) 2005-11-24 15:15:28 +00:00
Michael Wallner
4875427d16 - fix tiger algo 2005-11-24 14:28:34 +00:00
Michael Wallner
e4bef616f8 - fix segvs
# there's still somthing wrong though
2005-11-24 14:07:24 +00:00
Michael Wallner
4ce1074df9 - add tiger algo 2005-11-24 08:59:54 +00:00
Sara Golemon
0d8bbe7575 Sync tests with new defaults 2005-11-24 04:37:04 +00:00
Marcus Boerger
fac6e1b4c0 - License for core extensions is PHP License
- Add Johannes to credits for his work here
2005-11-24 00:30:41 +00:00
Michael Wallner
ddc2444d2c - add whirlpool algo 2005-11-23 21:15:41 +00:00
Johannes Schlüter
41cc009a9e Changed reflection constants to class constants 2005-11-23 20:47:42 +00:00
Michael Wallner
3da6204bf6 - add salsa implementation
# its not common and I've no reference output to compare against,
# thus it's not enabled; I'm also pretty unsure about the initialization
2005-11-23 17:18:56 +00:00
Michael Wallner
d11d157c9f - no trailing NULs 2005-11-23 16:36:11 +00:00
foobar
1b716123f2 - No need for extra strlen() call here 2005-11-23 15:51:45 +00:00
foobar
754d011d8d fix leaks 2005-11-23 15:50:27 +00:00
Rui Hirokawa
4c5d74a058 fixed 5307 unexpected header can be injected to mb_send_mail(). 2005-11-23 15:16:39 +00:00
Antony Dovgal
d4a9f53abc add test for #35336 2005-11-23 11:55:09 +00:00
Rob Richards
061039b182 fix build under 5.0
fix crash when XMLWriter is instantiated but not used
2005-11-23 11:23:39 +00:00
Rob Richards
8c8f92f45f add test 2005-11-23 03:10:45 +00:00
Rob Richards
406910e1e9 add registerNodeClass() method
- methods can now natively return user classes registered with document
2005-11-23 02:56:41 +00:00
Rob Richards
fba57a97ca move document property struct from xml_common.h 2005-11-23 02:54:10 +00:00
Rob Richards
73e6869340 implement setIDAttributeXXX functionality 2005-11-23 02:52:56 +00:00
Rob Richards
8038df9ce2 Fixed bug #35342 (isset(DOMNodeList->length) returns false). 2005-11-23 00:55:34 +00:00
Ilia Alshanetsky
574a01f9b7 No dynamic output, so no need for regex. 2005-11-23 00:30:08 +00:00
foobar
f94c2783b4 - Fixed PECL bug #6021: parse_str() returns empty array when filter enabled 2005-11-23 00:20:16 +00:00
Ilia Alshanetsky
083874aab2 emalloc -> safe_emalloc 2005-11-23 00:19:20 +00:00
Ilia Alshanetsky
92281a047f MFB51: Fixed bug #35046 (phpinfo() uses improper css enclosure). 2005-11-23 00:15:26 +00:00
Antony Dovgal
e3586e0407 MF51: fix #35341 (Fix for bug #33760 breaks build with older curl) 2005-11-22 22:54:22 +00:00
Sara Golemon
d1aeaab5cc MFB (r-1.6.2.1) 2005-11-22 22:08:22 +00:00
Michael Wallner
99c8d42a7b - hexlen is 2*digestlen 2005-11-22 19:23:55 +00:00
Michael Wallner
4c61cf6f4c - install extension headers
- make the hash algo registry case insensitive
- "export" inline php_hash_bin2hex
2005-11-22 19:17:58 +00:00
Antony Dovgal
066fb72fdd Initial implementation of oci_bind_array_by_name()
At the moment we support only these types:
SQLT_NUM, SQLT_INT, SQLT_LNG - integer/long
SQLT_FLT - float
SQLT_AFC, SQLT_CHR, SQLT_VCS, SQLT_AVC, SQLT_STR, SQLT_LVC - char/varchar
SQLT_ODT - date

More supported types may follow.
2005-11-22 16:30:36 +00:00
Michael Wallner
8115e71039 - avoid segvs 2005-11-22 12:24:25 +00:00
Ilia Alshanetsky
f950925688 MFB51: Fixed command error in ftp:// wrapper. 2005-11-22 03:01:59 +00:00
foobar
bcade7ced4 - Fixed header installing under phpize builds 2005-11-21 23:07:36 +00:00
Michael Wallner
77e5a7e300 - fix a couple of warnings
- export php_hash_fetch_ops() and php_hash_register_ops()
2005-11-21 15:09:58 +00:00
Dmitry Stogov
a86414864b Fixed "getParameters" method 2005-11-21 10:57:28 +00:00
Sara Golemon
9496259e1a Fix double-final potentially causing double-free 2005-11-21 06:05:37 +00:00
Derick Rethans
d732859624 - MF51: Fixed bug #35143 (gettimeofday() ignores current time zone).
- MF51: Fixed tests due to class constants patch.
2005-11-20 20:31:49 +00:00
Sara Golemon
7ad4fb0c27 Add HAVAL algorithm
Bit widths: 128, 160, 192, 224, 256
Passes: 3, 4, 5
2005-11-20 20:14:22 +00:00
Ilia Alshanetsky
9979ac2215 MFB51: Fixed bug #35303 (PDO prepare() crashes with invalid parameters). 2005-11-20 20:07:38 +00:00
foobar
895e795b53 - Fixed bug #35243 (php_mblen() crashes when compiled with thread-safety on Linux) 2005-11-20 18:06:09 +00:00
Johannes Schlüter
57deca0c8f - Fix SPL class listing for phpinfo in unicode mode 2005-11-20 15:21:23 +00:00
Marcus Boerger
29e64a2fc8 - Extend SimpleXmlElement::__construct() with two parameters
. int options: pass options to 2.6.0+ parsing functions
  . bool data_is_url: whether first parameter is a url rather then xml data
- Fix parameter parsing
2005-11-20 13:03:15 +00:00
Marcus Boerger
1bd7af815c - Do locking in lib rather then on streams 2005-11-20 12:39:04 +00:00
Sara Golemon
4a3e87ad96 Add hmac-md5 test file to package.xml 2005-11-19 23:16:56 +00:00
Michael Wallner
1736cb4759 PHP-5.1 compatibility 2005-11-19 21:41:08 +00:00
Antony Dovgal
9846ceeab6 fix PECL bug #5986 (connections use case sensitive hashed details) 2005-11-19 21:36:06 +00:00
Sara Golemon
7cbd9686b1 Add streams based incremental hashing updaters 2005-11-19 21:09:40 +00:00
Sara Golemon
ef37868378 Expose registered hashing algos 2005-11-19 20:13:08 +00:00
Marcus Boerger
471af93da9 - Fix bug #35295 typo in config.m4 for reflection extension 2005-11-19 17:47:22 +00:00
Antony Dovgal
9f4390ce8b fix #35293 (PDO segfaults when using persistent connections) 2005-11-19 16:39:47 +00:00
Michael Wallner
65ccbc1bc4 - fix PCRE_INCDIR for external libpcre 2005-11-19 10:30:52 +00:00
Rui Hirokawa
1c23277a91 fixed #35253 length of the encoded string vilolates a RFC. 2005-11-19 06:32:20 +00:00
Marcus Boerger
71b8ed31c3 - Disabled globals code in a way that does not affect purist or old compilers 2005-11-18 22:59:07 +00:00
Sara Golemon
a00062d63e Typo 2005-11-18 21:39:29 +00:00
Sara Golemon
a0f5787e20 One last 64bit change, skip all this long long malarkey when we're on 64bit procs 2005-11-18 21:37:19 +00:00
Sara Golemon
d97c072a75 Macrofy 64bit integers in sha384/sha512 to make Win32 happy 2005-11-18 21:30:05 +00:00
Frank M. Kromann
5907e1f08a Fix #33201 Crash when fetching some data types 2005-11-18 21:22:50 +00:00
Sara Golemon
7cd42570ed Add HMAC support 2005-11-18 20:58:54 +00:00
Frank M. Kromann
87e899e4a4 Fix #33963. mssql_bind fails on input parameters 2005-11-18 20:48:22 +00:00
Frank M. Kromann
cc9225f8dc Fix #32009 crash when mssql_bind() is called more than once 2005-11-18 20:40:28 +00:00
Sara Golemon
614a3fb8a4 Expose sha1() and sha1_file() functions when core funcs not present
Not an issue yet, but could be...
2005-11-18 20:17:31 +00:00
Sara Golemon
5c213de12e Initial Commit 2005-11-18 19:51:09 +00:00
Frank M. Kromann
14889ccfbd Fix #33153 Crash in mssql_next_result(). 2005-11-18 19:13:35 +00:00
foobar
ffa0e13a59 MFB51: fix build when --with-libedit is used 2005-11-18 15:11:14 +00:00
Dmitry Stogov
2d95730e89 Fixed bug #35273 (Error in mapping soap - java types) 2005-11-18 10:59:55 +00:00
Derick Rethans
168db42521 - Ready 0.9.3. 2005-11-18 09:56:11 +00:00
Derick Rethans
ccbf79462f - Fixed default so that it does not even encode quotes. 2005-11-18 09:17:59 +00:00
Marcus Boerger
15d89ffd28 - Reflection was moved to its own extension 2005-11-17 23:43:53 +00:00
Marcus Boerger
5a0cf29863 - Need to define HAVE_REFLECTION 2005-11-17 23:21:15 +00:00
Marcus Boerger
a40a48fbd4 - Move Reflection into its own extension 2005-11-17 22:59:39 +00:00
Marcus Boerger
0be9760a60 - reflection not reflectino 2005-11-17 22:49:03 +00:00
Marcus Boerger
3d6e4e85b3 - Make this an extension 2005-11-17 22:42:00 +00:00
Rasmus Lerdorf
b312256f08 MFB: missing }}} 2005-11-17 21:57:30 +00:00
Ilia Alshanetsky
e919694017 MFB51: Moved date constants into the date class, they all class constants
now.
2005-11-17 21:07:27 +00:00
Sara Golemon
f005e298a0 Bugfix #32371 php://input sometimes returns duplicate data 2005-11-17 19:39:39 +00:00
Ilia Alshanetsky
47414c4204 MFB51: fixed test 2005-11-17 18:25:48 +00:00
Ilia Alshanetsky
f5608e0798 MFB51: Fixed bug #35248 (sqlite_query() doesnt set error_msg when return
value is being used).
2005-11-17 14:40:11 +00:00
Derick Rethans
13373c5f9d - MF51: Fixed bug #35218 (strtotime no longer ignores timezone comments like (PST)). 2005-11-17 13:15:01 +00:00
foobar
7b7b6c20a6 - Renamed config.m4 to config0.m4
# PCRE configure tests must be run before e.g. ext/filter
2005-11-17 10:01:47 +00:00
foobar
dca23aa9cf fix typo 2005-11-17 09:56:28 +00:00
foobar
1399d605df - Moved the files from resource to one level down.
# This makes the gcov thing actually work :)
2005-11-17 09:52:35 +00:00
foobar
1c41c53e39 - Filters may behave differently with empty string so pass it on 2005-11-17 00:49:48 +00:00
foobar
f8667e1809 - Add simple test for filter_data() basic filters 2005-11-17 00:48:51 +00:00
foobar
2f42d7df03 - Fix PECL bug #5963 2005-11-17 00:03:03 +00:00
foobar
1d086bd268 - Fix build in PECL mode and in PHP core 2005-11-16 23:18:16 +00:00
foobar
1044416541 - Fix build problems with pecl/filter/ 2005-11-16 22:14:24 +00:00
Dmitry Stogov
376d30f441 Fixed bug #35229 (call_user_func() crashes when arguement_stack is nearly full) 2005-11-16 09:43:56 +00:00
Pierre Joye
29a04a28ef - switch to bsd license
- prepare 2.0.1
2005-11-15 15:36:29 +00:00
Dmitry Stogov
8bb39e7dba Allow recursive calls to __get/__set for different properties 2005-11-15 15:21:47 +00:00
Ilia Alshanetsky
dffc74c54e Allow recursive calls to __get/__set for different properties 2005-11-15 14:57:42 +00:00
Antony Dovgal
21aeacfa9d call zend_objects_destroy_object() explicitly
fix segfault when intern->time is NULL
2005-11-15 14:07:43 +00:00
foobar
29c580f138 fix warning 2005-11-15 13:43:57 +00:00
foobar
0907893b2b - Prepare for including in PHP core 2005-11-15 11:55:28 +00:00
Ilia Alshanetsky
5fd55abd66 Fixed possible crash in http:// wrapper. 2005-11-15 04:24:17 +00:00
Frank M. Kromann
0eaec9871c MFB: Change max_procs from 25 to library default. This will make FreeTDS connections work a bit better 2005-11-14 23:14:54 +00:00
Antony Dovgal
e658842761 fix #35197 (Destructor is not called) and similar issues in other extensions 2005-11-14 21:52:27 +00:00
Derick Rethans
574a210973 - Fixed protos. 2005-11-12 14:56:35 +00:00
Marcus Boerger
e556247281 - Use the const instead of hard coding 2005-11-11 16:51:24 +00:00
foobar
9b7a28e9a2 fix configure help 2005-11-10 08:04:57 +00:00
foobar
3e1bb4edf3 - Fixed bug #35179 (tokenizer extension needs T_HALT_COMPILER) 2005-11-10 07:49:40 +00:00
foobar
2cf0ce2925 - Change paths to be relative
#
# Derick, don't forget to move the .re file into this same directory!
#
# This was the 2nd last piece of making the code-coverage thing to work
# properly with VPATH builds. Once Derick moves the parse_date.re
# in the same directory where the generated file lives, it's done.
#
# Just copying it by hand in your sources in the meantime and doing
# "./configure --enable-gcov && make lcov" will produce data in lcov_html/
#
2005-11-08 22:45:55 +00:00
foobar
72fd0627eb nuke #line directives. 2005-11-08 20:25:11 +00:00
foobar
2434baffdb - Fix #line paths 2005-11-08 20:12:09 +00:00
foobar
3392f566c3 - Use the source file as output filename instead of stdout 2005-11-08 12:35:01 +00:00
foobar
4352fa69d4 - use the target file name as output file instead of stdout 2005-11-08 12:34:16 +00:00
Dmitry Stogov
84bcd9ac96 Fixed bug #35142 (SOAP Client/Server Complex Object Support) 2005-11-08 08:36:50 +00:00
foobar
2d9c625cf1 - Make sure the generated files have relative paths in the #line directives 2005-11-08 00:02:50 +00:00
Marcus Boerger
66a9b0b6ae - Fix Bug #32223 weird behaviour of pg_last_notice 2005-11-07 12:56:23 +00:00
Dmitry Stogov
4e744e2b42 Fixed bug #35091 (SoapClient leaks memory) 2005-11-07 10:07:55 +00:00
Marcus Boerger
f53de944df - MFB Add tests 2005-11-06 12:27:11 +00:00
Marcus Boerger
1626dba133 -MFB Fix parameter parsing 2005-11-06 12:01:42 +00:00
Marcus Boerger
ff72c376c2 - MFB Fix tests expectations 2005-11-06 10:53:39 +00:00
Rasmus Lerdorf
65bb007a3e MFB - This isn't a DOM thing anymore, just libxml 2005-11-05 22:41:09 +00:00
Rasmus Lerdorf
f16fb8484d MFB - We don't need the simplexml requirement here anymore 2005-11-05 22:32:55 +00:00
Ilia Alshanetsky
c4ee761db1 MFB51: Fixed bug #31971 (ftp_login fails on some SSL servers) 2005-11-05 22:02:40 +00:00
Rui Hirokawa
02e44183bb fixed garbled multibyte characters. 2005-11-05 04:47:29 +00:00
Marcus Boerger
ce939c2cc5 - Add missing check flag 2005-11-03 22:04:35 +00:00
Marcus Boerger
e2ea55ccbe - Tray fixing #35088 2005-11-03 21:58:42 +00:00
Marcus Boerger
3243167b45 - Add missing check 2005-11-03 21:28:16 +00:00
foobar
6352110b7f - Fixed bug #35078 (configure does not find ldap_start_tls_s) 2005-11-03 20:41:05 +00:00
Michael Wallner
36d3c24c6e - MFB44: #34851 (SO_RECVTIMEO and SO_SNDTIMEO socket options expect integer
parameter on Windows)
2005-11-03 15:01:31 +00:00
foobar
0c2f3ea24e - Fix bad usage of php_checkuid() 2005-11-02 21:26:08 +00:00
Derick Rethans
9d0664976f - Fixed posix_mknod() checks and warnings. 2005-11-02 15:50:06 +00:00
Rob Richards
8de7ff8c91 optimize sxe_add_registered_namespaces
add only first encountered prefixes to namespace arrays
update test
2005-11-01 23:21:29 +00:00
foobar
aeb5830c20 MFB: fixed test 2005-11-01 22:42:03 +00:00
Marcus Boerger
8088087b0b - Update docu 2005-11-01 21:46:33 +00:00
Marcus Boerger
d73184b6ba - The iterator base interface is Traversable not IteratorAggregate 2005-11-01 21:17:51 +00:00
Frank M. Kromann
cb34f4e3d3 Fix #35037. Selecting a uniqueidentifier would return unknown data type when used with freetds. 2005-11-01 18:14:52 +00:00
foobar
60084a7507 *** empty log message *** 2005-11-01 17:04:29 +00:00
Marcus Boerger
35d80e39d2 - Allow to recive derived SplFileInfo/SplFileObject instances 2005-11-01 16:54:44 +00:00
foobar
bd7f131a41 - Hiding bugs is not the purpose of the regression tests. 2005-11-01 14:36:13 +00:00
Marcus Boerger
78456eb9a2 - Test no namespace case, too 2005-11-01 11:55:13 +00:00
Marcus Boerger
9956744821 - Handle default namespaces
# Another time it shows xml is far from being simple
2005-11-01 11:53:14 +00:00
Dmitry Stogov
d846b5382d Fixed SIGSEGV 2005-11-01 11:11:19 +00:00
Brian France
3130689708 MFB: Fixed phpize build (default PHP_OPENSSL to no if not set) 2005-11-01 00:46:44 +00:00
Ilia Alshanetsky
b8665d4169 MFB51: Additional open_basedir/safe_mode checks. 2005-10-31 23:45:50 +00:00
Marcus Boerger
15f4a227e0 - Make SimpleXMLIterator implement Countable 2005-10-31 20:29:34 +00:00
Marcus Boerger
6b4a4afe8c - Implement count interface 2005-10-31 20:06:28 +00:00
Rob Richards
9c982bb62c check node type before accessing ns - prevent corruption under compact mode 2005-10-31 19:51:40 +00:00
Marcus Boerger
1b7db10076 - We don't need those 2005-10-31 19:47:00 +00:00
Marcus Boerger
2aadbbfca6 - Add functions to check for registered/in use namespaces 2005-10-31 19:09:13 +00:00
Marcus Boerger
cd5a60d36d - Fix memleaks 2005-10-30 22:55:21 +00:00
Marcus Boerger
a415bcc5d9 - Bugfix #35028 XML object fails FALSE test 2005-10-30 20:37:22 +00:00
Ilia Alshanetsky
2eed561d10 MFB51: Improve iconv skip conditions 2005-10-30 18:08:17 +00:00
Ilia Alshanetsky
61c8e857e4 MFB51: Fixed bug #35022, #35019 (Regression in the behavior of key/current
functions).
2005-10-30 18:04:20 +00:00
Marcus Boerger
f93d64e8ce - Add docu 2005-10-30 16:07:29 +00:00
Marcus Boerger
82aa412cf8 - Fix unicode expectations 2005-10-30 14:00:45 +00:00
Ilia Alshanetsky
1321658d91 MFB51: Fixed bug #35014 (array_product() always returns 0). 2005-10-30 13:46:34 +00:00
Marcus Boerger
e1ce1262ce - Add new test 2005-10-30 13:01:01 +00:00
Marcus Boerger
b4ad6bbc82 - Protect against some edge case that is currently imossible, but will be 2005-10-30 00:38:39 +00:00
Marcus Boerger
378d5b764f - Simplify & speedup, once more 2005-10-30 00:35:55 +00:00
Marcus Boerger
b5c08eab91 - Simplify & speedup 2005-10-30 00:20:35 +00:00
Marcus Boerger
29be6e9b51 - Fix attribute handling when using xpath expressions that lead to attributes 2005-10-29 21:16:17 +00:00
Marcus Boerger
5303f42825 - Use var_dump() and fix test expectations 2005-10-29 21:01:03 +00:00
Marcus Boerger
bf0f844521 - Add new example 2005-10-29 20:38:30 +00:00
Marcus Boerger
a5a9cd2f0f - Attribues don't have children 2005-10-29 20:37:59 +00:00
Marcus Boerger
9ee8a78cef - Add new example 2005-10-29 16:38:49 +00:00
Marcus Boerger
b4762f13f1 - Change var_dump to include all that is reachable, incl. @attributes
- Adapt tests and add new one
2005-10-29 16:12:57 +00:00
Marcus Boerger
7ae517c131 - It's better to use our own strtol here 2005-10-29 15:49:28 +00:00
Marcus Boerger
bdb7ff4c2e - Increase buffer for 64 bit systems 2005-10-29 15:48:14 +00:00
Marcus Boerger
dd702a23dc - Fix stupid unicode warnings 2005-10-29 15:44:37 +00:00
Marcus Boerger
5c4d1edef3 - Add AppendIterator::getIteratorIndex
- Add AppendIterator::getArrayIterator
2005-10-29 15:37:57 +00:00
Marcus Boerger
feafd25b0d - Add class SplTempFileObject 2005-10-29 15:15:22 +00:00
Marcus Boerger
86cbff9538 - Allow to specify ma memory usage for temp stream 2005-10-29 15:09:12 +00:00
Marcus Boerger
6e70cdabad - Register temp and memory stream here 2005-10-29 14:29:59 +00:00
Marcus Boerger
ef3b427e5c - Fix PECL Bug #5772; FETCH_FUNC broken for mixed case function names
# Mhhh, now wez and me did it in different branches only because i forgot
# to commit and MFH too
2005-10-29 11:10:34 +00:00
Frank M. Kromann
82c00c179d Make sure haystack_len is initialized before it's used 2005-10-28 19:29:29 +00:00
Frank M. Kromann
8fc3fd1d7a Adding missing function declarations to fix win32 build 2005-10-28 19:21:46 +00:00
Antony Dovgal
04ebdfa967 fix #35003 (Warning: PDOStatement::fetch(): column 0 data was too large for buffer and was)
this is just a quick fix, the real one will follow after the weekend from Wez
2005-10-28 15:01:47 +00:00
Dmitry Stogov
6ca72e6ea5 Fixed bug #34982 (array_walk_recursive() modifies elements outside function scope) 2005-10-28 10:06:53 +00:00
Dmitry Stogov
44e9370026 Fixed bug #34982 (array_walk_recursive() modifies elements outside function scope) 2005-10-28 09:57:50 +00:00
Dmitry Stogov
9cb1032718 Fixed bug #34725 (CLI segmentation faults during cleanup in ZTS if ext/pcre is DSO) 2005-10-28 08:31:01 +00:00
Dmitry Stogov
2b5cd0e756 Unicode support 2005-10-28 08:07:17 +00:00
Dmitry Stogov
3c166ac947 Fixed test (unicode support) 2005-10-28 07:31:21 +00:00
Rob Richards
a953be4fff fix crash setting attr from foreign doc (throws exception)
add test
2005-10-27 23:49:38 +00:00
Antony Dovgal
4329fff15f forgot to commit new pdo_attr_ function 2005-10-27 19:38:36 +00:00
Antony Dovgal
a22b830c9c add MySQL options and corresponding constants 2005-10-27 17:33:43 +00:00
Antony Dovgal
7038c647e1 - free S->stmt
- return correct value from the cursor_closer
- make sure S->stmt is NULL'ed
2005-10-27 17:25:31 +00:00
Pierre Joye
0a160d3459 - MFB #34980, divisor and offset never passed correctly (s/float/double/) 2005-10-27 11:07:39 +00:00
Derick Rethans
19c7917e35 - Update package files. 2005-10-27 09:36:26 +00:00
Derick Rethans
50e247999d - Fixed a crash when a non-array option was passed in combination with the
callback filter.
2005-10-27 09:27:34 +00:00
Dan Scott
0a7164c970 Add test for PDO::ATTR_CASE. 2005-10-26 23:46:52 +00:00
Antony Dovgal
5c5e74581b make compilers happy 2005-10-26 22:46:51 +00:00
Antony Dovgal
5f7baf7312 fix #34996 (ImageTrueColorToPalette() crashes when ncolors is zero) 2005-10-26 21:35:56 +00:00
Antony Dovgal
21b1f3279b Unicode related patchset
fixes two problems:
- wrong offset counting and ..
- OCI_NEED_DATA error when reading unicode CLOBs (fixes PECL bug #5719)
2005-10-26 18:52:00 +00:00
Derick Rethans
04d1624be9 - Make it compile when inside the PHP source tree. 2005-10-26 15:05:22 +00:00
Derick Rethans
35a0866735 - Allow settable default flags for the filters. 2005-10-26 14:37:08 +00:00
Antony Dovgal
0fb9af4eac fix #34977 (Compile failure on MacOSX due to use of varargs.h) 2005-10-26 13:49:19 +00:00
Derick Rethans
bcf6e4057a - Update package.xml files. 2005-10-26 13:23:16 +00:00
Derick Rethans
a3997030fa - Implemented this like the comment says, otherwise it will ofcourse modify
both instances of this variable name...
2005-10-26 13:20:52 +00:00
foobar
f2e946c79c Fix configure 2005-10-26 11:33:17 +00:00
foobar
4d9e40f8dd Fix indent 2005-10-26 11:33:05 +00:00
Dan Scott
52f9772049 Correct non-standard SQL. Standard SQL would define "DEFAULT NULL" -- but
that is the default value if the DEFAULT clause is omitted anyways.
2005-10-26 08:32:25 +00:00
Derick Rethans
c07f4ff8b6 - More ZTS fixes. 2005-10-26 07:56:16 +00:00
Derick Rethans
9f28be05e3 - Fixed ZTS mode
- Added input_name_to_filter() function.
2005-10-26 07:48:51 +00:00
Marcus Boerger
578f36cc4a - zend_is_callable_ex() was changed 2005-10-25 19:38:49 +00:00
Michael Wallner
c8fd741ef0 fix bug #34965 tidy is not binary safe 2005-10-25 17:57:30 +00:00
Antony Dovgal
aad3dcd493 use correct enum type for the arg 2005-10-25 16:03:11 +00:00
Ilia Alshanetsky
85aaa8e388 Fixed bug #34968 (bz2 extension fails on to build on some win32 setups). 2005-10-25 15:52:08 +00:00
Michael Wallner
3fa81199ad - fix the fix 2005-10-25 15:35:22 +00:00
Michael Wallner
b680d05c8e - add test case too 2005-10-25 15:17:11 +00:00
Michael Wallner
a31744ee55 - fix bug #34821 zlib encoders fail on widely varying binary data on windows 2005-10-25 15:13:55 +00:00
Antony Dovgal
a80a5b8cda apply workaround for the leak only when GLIBC is used 2005-10-25 14:56:48 +00:00
Michael Wallner
6cb40d4c48 - thread safe SSL crypto locks, fixes bug #33760 2005-10-25 14:29:07 +00:00
Ilia Alshanetsky
21f852eeb2 MFB51: Do not run tests if iconv extension is unavailable. 2005-10-25 14:23:22 +00:00
Antony Dovgal
e90fd61a77 fix problem with garbage appearing in hostnames 2005-10-25 08:19:11 +00:00
Derick Rethans
bc6dba17e4 - Fixed segfault in case an empty parameter was passed. 2005-10-25 07:54:13 +00:00
foobar
c87c580e4e fix build 2005-10-24 22:45:54 +00:00
Antony Dovgal
b7267ff12b fix #34970 (ldap configuration issues) 2005-10-24 20:24:05 +00:00
Rolland Santimano
37d12b82b3 - Unicode impl of strrchr() 2005-10-24 14:35:02 +00:00
Dmitry Stogov
3cad8e2fb4 Fixed bug #34950 (Unable to get WSDL through proxy) 2005-10-24 07:43:48 +00:00
Dmitry Stogov
47893ed920 Reverted fix for bug #34934. The bug marked as bogus. 2005-10-24 07:01:43 +00:00
Marcus Boerger
f7459bad30 - Fix issue with entities in attributes 2005-10-23 23:41:20 +00:00
Marcus Boerger
d78da85370 - Add new test 2005-10-23 23:25:46 +00:00
Antony Dovgal
85e1d03261 fix #34938 (dns_get_record() doesn't resolve long hostnames and leaks) 2005-10-23 18:31:36 +00:00
Ilia Alshanetsky
6a271cc9c9 MFB51: Fixed memory leak on error. 2005-10-23 15:29:38 +00:00
Wez Furlong
58f42f04ad merge VCWD_ACCESS bugfix to head.
Test suite is unusable in HEAD, so I guess it works here too.
2005-10-22 17:26:16 +00:00
Rolland Santimano
a948324778 - php_u_stristr: Remove leading back-slash ... sheesh 2005-10-22 13:36:55 +00:00
Rolland Santimano
68487a234e - php_u_stristr: s/codepts/codepoints/ - make Jani happy 2005-10-22 13:32:51 +00:00
Rolland Santimano
03b7fe7666 - Unicode impl of strpbrk() 2005-10-22 13:25:00 +00:00
Rolland Santimano
c36ac8de3d - php_u_stristr: Code comments 2005-10-22 05:52:53 +00:00
Marcus Boerger
581d856af7 - Do not include because of implementing an interface if parent implements
the interface already
2005-10-21 23:42:56 +00:00
Antony Dovgal
aff2ed53ca fix ws 2005-10-21 15:54:46 +00:00
Dmitry Stogov
02090106d8 Fixed bug #34934 (offsetExists is not called from array_key_exists) 2005-10-21 15:20:30 +00:00
Antony Dovgal
d6f6d9f840 fix possible crash in dns_get_record()
cleanup code a bit
(partly fixes #34938)
2005-10-21 13:48:07 +00:00
Dmitry Stogov
45699741e1 Fixed fgetcsv() and fputcsv() inconsistency. 2005-10-21 12:14:11 +00:00
Dmitry Stogov
5fd04023dc Fixed bug #34782 (token_get_all() gives wrong result) 2005-10-21 09:33:04 +00:00
Dmitry Stogov
6ef4239827 Fixed bug #29268 (__autoload() not called with Reflection->getClass()) 2005-10-21 08:03:39 +00:00
Rolland Santimano
5ca019aad3 - Unicode impl of stristr() 2005-10-20 19:25:54 +00:00
Ilia Alshanetsky
37015ffcfa MFB51: Fixed tests to work with ZTS builds 2005-10-20 19:22:55 +00:00
Antony Dovgal
5feaae6a4c use proper constants 2005-10-20 16:54:19 +00:00
Antony Dovgal
0bd9c3d109 use constants instead of their values 2005-10-20 16:50:43 +00:00
Antony Dovgal
fc834fef2f copy/paste typo 2005-10-20 16:46:44 +00:00
Derick Rethans
d095243b99 - MF51: Fixed bug #34874 and #33546 (Problems with lone daynames). 2005-10-19 21:11:15 +00:00
Rolland Santimano
8ed78ae796 - Unicode impl of str[c]spn() 2005-10-19 19:10:13 +00:00
Ilia Alshanetsky
d0f62c960f Fixed bug #34623 (Crash in pdo_mysql on longtext fields). 2005-10-19 14:11:25 +00:00
Ilia Alshanetsky
087145d953 Change E_ERROR to E_WARNING when more_entropy flag is off on Cygwin. 2005-10-19 13:41:36 +00:00
foobar
972a29d93c - Fixed error messages and tests 2005-10-19 11:18:16 +00:00
Antony Dovgal
4aaf47e7bc remove undef HAVE_OCI_STMT_PREPARE2 2005-10-19 09:11:22 +00:00
Dmitry Stogov
050d36d8af Fixed memory leak in ZTS mode 2005-10-19 07:55:05 +00:00
Derick Rethans
ff43c2eea5 - Improve error messages a bit. 2005-10-19 07:21:35 +00:00
Ilia Alshanetsky
090ef86983 Do not set authorizer unless safe_mode or open_basedir are being used. 2005-10-18 22:50:43 +00:00
Antony Dovgal
f1272dee51 nuke unused var and silence warnings 2005-10-18 14:50:20 +00:00
Ilia Alshanetsky
8f6a90297a MFB51: Fixed bug #34899 (Fixed sqlite extension compile failure). 2005-10-18 14:34:00 +00:00
Antony Dovgal
096cb8c2de use php_error_docref() instead of php_error() everywhere 2005-10-18 13:51:20 +00:00
Antony Dovgal
00ee8a036c typo 2005-10-18 13:39:51 +00:00
Derick Rethans
9e6588d6f0 - Allow mime_content_type() to work with even a slightly broken mime magic
file.
2005-10-18 13:02:11 +00:00
Antony Dovgal
37bc8289b9 fix mime_magic problems with ZTS 2005-10-18 12:41:13 +00:00
Antony Dovgal
5561b8a9ab fix bug #34902 (mysqli::character_set_name() - undefined method) 2005-10-18 10:01:08 +00:00
Dan Scott
887901c35c Apply patch for #34900, sight unseen. 2005-10-18 01:01:32 +00:00
Rolland Santimano
a9ce7d32e4 - Unicode impl of stripos() 2005-10-17 19:50:13 +00:00
Rob Richards
176e782079 only need context set once 2005-10-17 19:47:23 +00:00
Rolland Santimano
b277b1d1c0 - Unicode impl of strrpos() 2005-10-17 17:07:44 +00:00
Ilia Alshanetsky
b154fa6e7c Properly fixed bug #34456 (original patch completely reverted). 2005-10-17 15:29:55 +00:00
Derick Rethans
194e2dd081 - MF51: Fixed bug #29361 (var_export() producing invalid code). 2005-10-17 15:03:12 +00:00
Ilia Alshanetsky
ee5282ad63 Fixed bug #34884 (Possible crash in ext/sqlite when sqlite.assoc_case is
being used).
2005-10-17 14:29:20 +00:00
Ilia Alshanetsky
21979641ca Further URL validations in safe_mode/open_basedir configs. 2005-10-17 02:42:17 +00:00
foobar
0465f487a4 - Silence unnecessary output 2005-10-16 20:41:02 +00:00
Marcus Boerger
c49a1999cb - Add ability to access private properties of base classes
- Add ability to specify fully qualified name for properties
- ReflectionClass::getInterfaces89 now returns associative array
2005-10-16 16:13:55 +00:00
Derick Rethans
df0184f25a - MF51: Fixed timezone guessing on Windows. 2005-10-15 18:14:40 +00:00
Derick Rethans
1f5660526a - MF51: Updated timezone database to version 2005.14. 2005-10-15 18:14:11 +00:00
Derick Rethans
a923f3d6f0 - Fixed folding markers. 2005-10-15 12:50:20 +00:00
Ilia Alshanetsky
0ec88c52cd MFB51: ZTS fix 2005-10-14 15:38:56 +00:00
Ilia Alshanetsky
1c8c3c063b Fixed test failure 2005-10-13 21:26:08 +00:00
Rob Richards
5abf267c11 move constants to class 2005-10-13 21:19:14 +00:00
Rob Richards
e6dbb50a40 insure stream usage 2005-10-13 20:17:18 +00:00
Marcus Boerger
91ac79530d - SPL example was changed, so change PDO test accordingly 2005-10-13 19:48:07 +00:00
Marcus Boerger
533b61cf3b - Add ability to bypass key() surrounding and make that default 2005-10-13 19:45:29 +00:00
foobar
40af0645b9 proper quoting, breaking, etc. 2005-10-13 19:28:47 +00:00
Marcus Boerger
bd6cbd6a0e - MFB Do not try to autoload the class, use internal only 2005-10-13 18:41:04 +00:00
Antony Dovgal
956dea1e37 correct it one more time (grrr) 2005-10-13 15:22:20 +00:00
Antony Dovgal
c387f9b359 correct the fix 2005-10-13 15:18:37 +00:00
Antony Dovgal
3c6d14bd0b fix #34856 (configure fails to detect libiconv's type) 2005-10-13 15:13:29 +00:00
Antony Dovgal
db520f01b1 fix #34855 (ibase_service_attach() segfault on AMD64) 2005-10-13 12:58:22 +00:00
Marcus Boerger
722613aeb8 - Use pcre_cache_entry* rather than pcre* directly for refcounting
# This prevents a theoretical crash when using too many regexes
2005-10-12 22:52:09 +00:00
Marcus Boerger
56325bc275 - Drop one cache related function which is not really neccessary 2005-10-12 22:45:15 +00:00
Marcus Boerger
eb48d356bd - Add/expose function to compile and access pcre_cache_entry structs 2005-10-12 22:37:30 +00:00
Derick Rethans
569f8afa2c - Apperently you can't store NULL pointer values into Zend hashes - god know
why not - so we won't store those in the cache anymore.
2005-10-12 19:49:35 +00:00
Ilia Alshanetsky
fd2365ae3c Fixed bug #34758 (PDO_DBLIB did not implement rowCount()). 2005-10-12 15:02:35 +00:00
Antony Dovgal
4dc417469d fix compile warnings again 2005-10-12 14:43:55 +00:00
Antony Dovgal
2791fea1b5 MF51: make GCC happy and improve CS a bit 2005-10-12 14:30:34 +00:00
Antony Dovgal
e371613f9c nuke unused vars 2005-10-12 14:03:26 +00:00
Rob Richards
5466fe38ed use spprintf where appropriate 2005-10-12 13:57:14 +00:00
Antony Dovgal
dd14ae2327 MF51: fix TS build 2005-10-12 13:33:33 +00:00
Dmitry Stogov
1bedfbeb24 Unicode support 2005-10-12 12:13:54 +00:00
Dmitry Stogov
7adf1a259c Fixed unicode support for strip_tags() 2005-10-12 11:00:47 +00:00
Rob Richards
9c9d49379f Fixed Bug #27908 (xml default_handlers not being called)
Fix memleak when entitydecls are parsed
remove old ifdefs
2005-10-12 03:20:13 +00:00
foobar
205e9957c8 fix test 2005-10-11 18:12:01 +00:00
Ilia Alshanetsky
9c5a8bac1c Fixed bug #33167 (Possible crash inside pg_fetch_array()). 2005-10-11 16:18:40 +00:00
Ilia Alshanetsky
2bebbe7773 Fixed bug #34742 (ftp wrapper failures caused from segmented command transfer). 2005-10-11 14:33:14 +00:00
Antony Dovgal
492a1e4124 MF51: fix #34757 (iconv_substr() gives "Unknown error" when offset > string length) 2005-10-11 13:59:18 +00:00
Dmitry Stogov
e00b9ab746 Fixed bug #32455 (wrong setting property to unset value) 2005-10-11 10:16:03 +00:00
Dmitry Stogov
866908ca97 Fixed bug #34790 (preg_match_all(), named capturing groups, variable assignment/return => crash) 2005-10-11 06:46:18 +00:00
Marcus Boerger
68f663eaf8 - Provide const RegExIterator::USE_KEY and actually use it in the test 2005-10-11 00:18:32 +00:00
Marcus Boerger
ac92e5988c - Add (Recursive)RegExIterator 2005-10-10 23:58:42 +00:00
Marcus Boerger
d1ff98a560 - Register new class 2005-10-10 21:45:09 +00:00
Marcus Boerger
f9f2e8fa56 - Finalize work on SplFileInfo and derived for now (add missing get*Info())
- Update docu
2005-10-10 21:06:54 +00:00
Antony Dovgal
20b8eb26fe MF51: use proper macros and vars instead of strlen() 2005-10-10 20:16:35 +00:00
Antony Dovgal
870a19056f MF51: fix #34818 2005-10-10 20:14:31 +00:00
Derick Rethans
d9a3cfd931 - Make sure the tzcache' dtor doesn't cleanup cached misses in the lookup
tables.
2005-10-10 16:41:40 +00:00
George Schlossnagle
bb09dad9d0 remove potentially bogus test 2005-10-10 16:02:20 +00:00
Dmitry Stogov
89df282855 Fixed XML Schema error 2005-10-10 15:40:43 +00:00
Ilia Alshanetsky
42663f639d Fixed bug #34809 (FETCH_INTO in PDO crashes without a destination object). 2005-10-10 14:43:51 +00:00
Antony Dovgal
5ec88f863e MF51: fix #34810 (mysqli::init() and others use wrong $this pointer without checks) 2005-10-10 12:59:47 +00:00
Antony Dovgal
28ce7290e9 update changelog 2005-10-10 10:48:38 +00:00
foobar
9f8c7e0850 Fix copypastetypo 2005-10-10 10:28:21 +00:00
foobar
3cce2dc2ee Fix copypastetypo 2005-10-10 10:27:27 +00:00
Antony Dovgal
f15f20ffa2 fix #33383 (crash when retrieving empty BLOBs) 2005-10-10 10:16:58 +00:00
foobar
2d5f21c2fb - Fix build for distros where the header files are under */include/freetds/ 2005-10-10 09:50:24 +00:00
Marcus Boerger
623df3a859 - Fix logic 2005-10-10 06:06:12 +00:00
foobar
146b1a3928 fix test 2005-10-10 05:56:53 +00:00
foobar
acaa301798 MFB 2005-10-09 20:44:26 +00:00
foobar
f51f365fcf Fix properly 2005-10-09 20:38:28 +00:00
foobar
1b5c95e4ee - Fixed bug #34796 (missing SSL linking in ext/ftp when configured as shared) 2005-10-09 20:33:09 +00:00
Ilia Alshanetsky
47bf5f068c Fixed bug #34777 (Crash in dblib when fetching non-existent error info). 2005-10-09 18:59:27 +00:00
Andrey Hristov
1483b322f4 MFB 2005-10-09 17:57:37 +00:00
Marcus Boerger
d4190c0513 - Add 'overwrites' info to method dump
# Right now we have to compute that information because it is not available
2005-10-09 17:14:15 +00:00
Marcus Boerger
8f4f012a2c - Apply workaround for test until someone fixes the issue (which is unrelated to pg_*()) 2005-10-09 16:05:01 +00:00
Marcus Boerger
6355dc71df - Make test check for PlPgSQL before using it 2005-10-09 15:57:40 +00:00
Marcus Boerger
362ea7143e - Add new test 2005-10-09 15:13:25 +00:00
Marcus Boerger
c124fa566c Bugfix #34704 (Infinite recursion due to corrupt JPEG) (Tim Starling) 2005-10-09 14:11:44 +00:00
Dmitry Stogov
c8f43c67d0 Fixed bug #34788 (SOAP Client not applying correct namespace to generated values) 2005-10-09 12:42:06 +00:00
Dmitry Stogov
3ea64d3377 Fixed fault message formatting 2005-10-09 11:31:51 +00:00
Dmitry Stogov
f60b382906 Fixed bug #34787 (SOAP Client not handling boolean types correctly) 2005-10-09 11:06:09 +00:00
Marcus Boerger
b3fb938ada - Fix potential SEGV with overloaded objects 2005-10-09 09:55:30 +00:00
Marcus Boerger
c188afdd03 - Add ReflectionMethod::getPrototype()
- Add some usefull information to the method dump
  . From where it was inherited
  . The prototype
2005-10-08 23:37:31 +00:00
Pierre Joye
d8b5fb88cd - add compression mode argument to imagepng
(MFH to 5.1?)
2005-10-08 19:29:04 +00:00
Marcus Boerger
033ffc206d - Add new example directorytree_size.php
- Improve SplFileInfo:
  . add function getFilename()
  . add function getPath()
-Improve RecursiveTreeIterator
  . add const BYPASS_CURRENT to bypass current instead of getting its
    string representation
  . make key() return the parent key() which calls inner iterators key()
- Improve RecursiveDirectoryIterator
  . add consts CURRENT_AS_FILEINFO, KEY_AS_FILENAME, NEW_CURRENT_AND_KEY
  . make current() return getFilename() or getFileInfo() depending on flags
  . make key()     return getPathname() or getFilename() depending on flags
- Improve DirectoryIterator
  . make __construct() accept flags as second parameter
- Update docu
2005-10-08 18:57:17 +00:00
Marcus Boerger
7b330f195b - Add new class SplFileInfo
. Make DirectoryIterator inherit it
  . Make SplFileObject inherit it
2005-10-08 15:55:04 +00:00
Derick Rethans
d35d37e74c - Fixed bug #34676: missing support for strtotime("midnight") and
strtotime("noon").
2005-10-08 14:30:15 +00:00
Marcus Boerger
babb2d5337 - Add new test 2005-10-07 23:23:00 +00:00
Marcus Boerger
d6af3d268d - Prevent notices from showing up if inner's current() does not return a string 2005-10-07 23:14:49 +00:00
Derick Rethans
f70499f83a - Make the Windows guessing routines actually return the guessed timezone. 2005-10-07 20:31:57 +00:00
George Schlossnagle
0315733264 Test simple derivation via restriction 2005-10-07 15:06:09 +00:00
Derick Rethans
5b9d65e873 - Change parameter name because NetWare expands "tzname" as a macro to
something else.
2005-10-07 13:33:13 +00:00
Rob Richards
b2515629af maintain BC for PECL 2005-10-07 13:26:11 +00:00
Dmitry Stogov
3b6f181dd8 Fixed bug #34766 (possible crash on HTTP redirection) 2005-10-07 11:55:53 +00:00
Dmitry Stogov
5d4a602eaa Reverted last George patches 2005-10-07 08:21:37 +00:00
Derick Rethans
83bb14d2ff - Fixed bug #34771 (strtotime() fails with 1-12am/pm). 2005-10-07 08:05:10 +00:00
Derick Rethans
0993034101 - Synced timezonemap with latest data. 2005-10-07 07:57:43 +00:00
George Schlossnagle
90de6c8216 Permit correct usage of inherited encoders (from restriction/extension
"base" directives) for xml response decoding.
2005-10-07 05:14:31 +00:00
George Schlossnagle
6ca9ed38e4 support complex types in restrictions and extensions 2005-10-06 22:30:08 +00:00
Frank M. Kromann
3afe5200cc Fix Win32 build by adding missing function declaration. 2005-10-06 21:40:30 +00:00
Ilia Alshanetsky
37a1bb6f52 Added missing safe_mode checks. 2005-10-06 20:37:25 +00:00
Marcus Boerger
6453e19d2b - Fix test in unicode mode 2005-10-06 20:17:11 +00:00
Marcus Boerger
93a27ebb60 - MFB dynamic lookup of PDOException base 2005-10-06 19:32:27 +00:00
Rob Richards
9b912f6806 use sizeof instead of define 2005-10-06 18:47:47 +00:00
Derick Rethans
61eae75ec3 - Fixed Windows build (patch by Mike) 2005-10-06 13:03:31 +00:00
Dmitry Stogov
362f3fd7ea Fixed compilation error 2005-10-06 06:27:27 +00:00
Rob Richards
67be950883 fix buffer lengths passed to snprintf 2005-10-05 22:35:11 +00:00
Marcus Boerger
8b14aded85 - MFB Missing constants 2005-10-05 21:57:45 +00:00
Rob Richards
699084da71 these should have remained ints 2005-10-05 19:52:58 +00:00
Rob Richards
76324c5f7c - speed and memory usage optimizations
- implement readInnerXml, readOuterXml and readString: requires libxml 2.6.20
- add encoding and options paramters to open and XML methods
   options from libxml extension may be passed
   i.e. LIBXML_XINCLUDE to perform xinclude during read
2005-10-05 19:41:57 +00:00
Marcus Boerger
6ccd7ef74d - Update cast_object handlers 2005-10-05 19:12:44 +00:00
Marcus Boerger
38e65a872f - Update example 2005-10-05 19:10:22 +00:00
Derick Rethans
e8f96db932 - MF51: Windows Timezone guessing code 2005-10-05 18:38:30 +00:00
Rob Richards
285df9fa6e fix ZTS build 2005-10-05 16:39:37 +00:00
Ilia Alshanetsky
f10effd288 Missing safe_mode/open_basedir checks for file uploads. 2005-10-05 14:32:19 +00:00
Derick Rethans
85f1a3f3b0 - Update package files. 2005-10-05 12:25:32 +00:00
Rolland Santimano
07ff8d5632 - strip_tags(): some fixes, still AWiP 2005-10-05 12:16:02 +00:00
Derick Rethans
1451c14684 - Remove README, everything is implemented now. 2005-10-05 11:46:18 +00:00
Antony Dovgal
2cf16cf942 fix test 2005-10-05 09:00:14 +00:00
Dmitry Stogov
408337fc18 Fixed throwing exceptions derived from SoapFault 2005-10-05 07:01:48 +00:00
Antony Dovgal
f3e70f5b8c fix #34723 (array_count_values() strips leading zeroes) 2005-10-04 20:47:48 +00:00
Derick Rethans
17bc1d09e8 - Implemented user level data filter.
- Fixed a memory leak.
2005-10-04 14:47:30 +00:00
Derick Rethans
6f9c13f222 - Add a function that returns whether a specific input variable exists or not. 2005-10-04 13:42:52 +00:00
Antony Dovgal
d98fb9b27a MFB5.1: fix #32179 (xmlrpc_encode() segfaults with recursive references) 2005-10-04 12:07:24 +00:00
Dmitry Stogov
7f89924239 Unicode support 2005-10-04 07:59:14 +00:00
Marcus Boerger
31d9d6c5b5 - MFB Add optional deps for SPL 2005-10-04 07:48:43 +00:00
Dmitry Stogov
c8aa7f6088 Fixed compilation error (gcc-4). 2005-10-04 06:33:10 +00:00
Antony Dovgal
1f62b7e105 nuke warning 2005-10-03 23:47:55 +00:00
Antony Dovgal
8ced962510 MFB5.1: include the header, eliminate warning 2005-10-03 23:43:43 +00:00
foobar
1ce96bd69f Generated files are included like this.. 2005-10-03 20:20:50 +00:00
foobar
686cbaf078 Add include path to the timelib headers 2005-10-03 20:20:20 +00:00
Marcus Boerger
070ed30039 - Throw an exception if an illegal string value is being used in ArrayObject::offsetSet() 2005-10-03 17:58:47 +00:00
Rolland Santimano
11d1574211 - Unicode impl of strip_tags() 2005-10-03 17:00:00 +00:00
Marcus Boerger
a0674235e3 - Really allow SXE being shared by not using anything from it directly in SPL 2005-10-03 16:04:50 +00:00
Marcus Boerger
272ff777c5 - Add missing test from base
- Change require to require_once (found by kevin)
2005-10-03 15:06:06 +00:00
Ilia Alshanetsky
63cd70e920 GLOBALS protection for extract() function. 2005-10-03 14:01:36 +00:00
Marcus Boerger
94274df4e0 - Add more sorting funcs to ArrayObject/Iterator 2005-10-03 13:34:01 +00:00
Marcus Boerger
fcbb1d572e - Make prefixing more generic 2005-10-03 13:29:30 +00:00
Antony Dovgal
eca0493e05 update changelog 2005-10-03 13:05:48 +00:00
Antony Dovgal
cc96f31ac7 fix PECL bug #5571 (oci_new_connect() not closed by oci_close()) 2005-10-03 13:02:14 +00:00
Marcus Boerger
12c2b1f128 - Add sorting to ArrayObject/Iterator 2005-10-03 12:55:11 +00:00
Derick Rethans
f027a065a7 - Only load external database when it is newer. 2005-10-03 11:34:27 +00:00
Derick Rethans
b75871d017 - Allow an external Timezone Database to be used. 2005-10-03 11:15:21 +00:00
Marcus Boerger
a964956aa1 - Update 2005-10-03 10:17:02 +00:00
Marcus Boerger
086912dfff - Allow to use currnet() and key() in __toString() 2005-10-03 10:08:56 +00:00
Marcus Boerger
59557385ac - Make reflection class pointers available for others 2005-10-03 10:04:33 +00:00
Dmitry Stogov
db13ecd5aa MFH (Bug #34643 wsdl default value) 2005-10-03 09:52:54 +00:00
Marcus Boerger
748d497764 - Rewrite flags as hex values 2005-10-03 09:39:35 +00:00
Marcus Boerger
b1fc84f584 - Fix issue with RecursiveArrayIterator::getChildren() 2005-10-03 09:12:39 +00:00
Rolland Santimano
eea40f95d8 - Unicode impl of similar_text() 2005-10-03 06:14:10 +00:00
Ilia Alshanetsky
19b334a08a Fixed memory leak. 2005-10-03 03:53:57 +00:00
Marcus Boerger
f28eec269c - Add new example 2005-10-02 23:12:12 +00:00
Marcus Boerger
b18ffb406e - Simplify SPL checks for PDOException base 2005-10-02 20:36:02 +00:00
Marcus Boerger
3e0c56aac2 - Fix PDOException base
- MFH PDO::getAvailableDrivers()
- Fix compiler warnings
2005-10-02 20:32:17 +00:00
Marcus Boerger
a39841e57d - Allow to check for default statment class 2005-10-02 18:45:59 +00:00
Marcus Boerger
8ece2140cb - Add ability to change default statement class for PDO::execute()/query() 2005-10-02 18:32:05 +00:00
Pierre Joye
9688e4017b - remove gdttf 2005-10-02 18:31:37 +00:00
Pierre Joye
918b48839b - ft1 support remove, #2, gdttf.* 2005-10-02 18:06:13 +00:00
Pierre Joye
9c6a41fbdb - drop freetype1 support 2005-10-02 18:01:51 +00:00
Marcus Boerger
eedd7b36d2 - Add new example 2005-10-02 17:32:36 +00:00
Marcus Boerger
bfaf987363 - MFB spl/simplexml integration (when sxe is shared) 2005-10-01 15:55:27 +00:00
Derick Rethans
2eaf85c481 - MF51: Implemented better timezone guessing algorithm. 2005-10-01 15:07:20 +00:00
Pierre Joye
00953d1a15 - MFB: #33125, alpha emulation broken 2005-09-30 20:58:41 +00:00
Rolland Santimano
2dc1c72917 - substr_replace(): call correct funcn for string conversion 2005-09-30 13:19:15 +00:00
Rolland Santimano
8ec9f097b6 - Unicode impl of levenshtein() 2005-09-30 06:20:47 +00:00
Ilia Alshanetsky
a36e2bd05a Fixed possible crash and/or memory corruption in import_request_variables()
Fixed potential GLOBALS overwrite via import_request_variables().
2005-09-29 16:30:15 +00:00
Rolland Santimano
c893c70275 - Unicode impl of strtok() 2005-09-29 11:05:30 +00:00
Dmitry Stogov
4dd3b9436a Fixed wrong array autodetection 2005-09-29 10:00:59 +00:00
Rolland Santimano
6f06e93237 - Updated addslashes(): add codepoints directly rather than with zend_codepoint_to_uchar() 2005-09-29 09:33:38 +00:00
Rob Richards
b4f80a9416 add dsp file 2005-09-29 01:05:17 +00:00
Edin Kadribasic
0ea9eb4313 Update php4 build file, compile against istantclient 2005-09-28 22:31:45 +00:00
Ilia Alshanetsky
146517684d Fixed possible GLOBALS variable override when register_globals are ON.
Fixed possible register_globals toggle via parse_str().
2005-09-28 22:31:29 +00:00
Rolland Santimano
c775c4cf83 - Updated substr_replace() to use:
- zend_get_unified_string_type()/convert_to_explicit_type() for type conversion
  - u_countChar32() for counting codepoints
2005-09-28 14:58:31 +00:00
Dmitry Stogov
eb48c25451 Fixed bug #34453 (parsing http://www.w3.org/2001/xml.xsd exception) 2005-09-28 11:23:32 +00:00
Rolland Santimano
227791e5af - Unicode impl of {add,strip}slashes() 2005-09-28 09:22:08 +00:00
Derick Rethans
01520328e6 - Implemented input_filters_list() function to return all supported filters. 2005-09-28 09:10:45 +00:00
Dmitry Stogov
b94dc286e7 Fixed bug #34643 (wsdl default value has no effect) 2005-09-27 15:24:47 +00:00
Ilia Alshanetsky
200d5924cf Allow substr_compare() to take a negative offset to facilitate start of the
comparison from the end of string.
2005-09-26 23:08:10 +00:00
Ilia Alshanetsky
6495d65c5c Touch generated file 2005-09-26 19:32:17 +00:00
Ilia Alshanetsky
94d1e56360 Update bundled libsqlite3 to version 3.2.7 2005-09-26 19:31:41 +00:00
Derick Rethans
74c7eb7723 - Implemented callback filter. 2005-09-26 18:38:49 +00:00
Marcus Boerger
179ab26968 - Reset global pointer to NULL after mem free (required for apache 1.3) 2005-09-26 17:54:57 +00:00
Antony Dovgal
dce4c522af the last 64bit fix 2005-09-26 16:48:24 +00:00
Derick Rethans
c319c60125 - Implement validate_ip filter for IPv4. 2005-09-26 13:45:38 +00:00
Dmitry Stogov
1b1b864941 Unicode support 2005-09-26 07:23:49 +00:00
Derick Rethans
12945df662 - Implemented validate_url filter. 2005-09-26 06:57:05 +00:00
Antony Dovgal
28205f28ef 2nd part of previous fix 2005-09-25 23:49:13 +00:00
Antony Dovgal
bf69d23a21 more 64-bit fixes 2005-09-25 23:46:28 +00:00
Antony Dovgal
de50d0275c fix 64bit issues caused by wrong "long" usage 2005-09-25 21:44:32 +00:00
Antony Dovgal
5ec597013e fix arguments-by-ref with 5.x (problem appeared after the last 4.x compat patch)
make sure username_len is always initialized
2005-09-25 18:24:52 +00:00
Marcus Boerger
a2cbf80002 - Make code more readable, fix issue with parameter parsing introduced with
unicode update
2005-09-25 18:06:08 +00:00
Ilia Alshanetsky
6e37a621f8 Fixed bug #34321 (Possible crash in filter code). 2005-09-25 13:26:19 +00:00
Marcus Boerger
7e1763a115 - Implement RecursiveIteratorIterator::setMaxDepth()/getMaxDepth() 2005-09-25 12:01:31 +00:00
Marcus Boerger
da8c0af034 - Rename here too 2005-09-24 23:48:26 +00:00
foobar
6fe5050c45 fix typo 2005-09-24 23:22:44 +00:00
Marcus Boerger
8c131ac952 - Serializeable was renamed to Serializable long ago 2005-09-24 23:18:14 +00:00
Edin Kadribasic
c752d6b2ad MFB: Allow php extensions to use php_escape_shell_cmd() and php_escape_shell_arg(), needed for mbstring 2005-09-24 15:22:57 +00:00
Edin Kadribasic
c4e65a4a2d MFB: Build PDO and SQLite as shared 2005-09-24 15:15:13 +00:00
Pierre Joye
97bad74c0f - #33220, fix infinite loop while loading invalid gif, this patch fixes
at least many cases (nlopess)
2005-09-24 14:37:49 +00:00
Edin Kadribasic
8e6b7667c6 MFB: Declare functions used by driver as PDO_API in php_pdo_driver.h 2005-09-24 14:19:24 +00:00
Derick Rethans
47236d7fc7 - Implemented filter_int, filter_float and filter_bool. 2005-09-23 23:09:47 +00:00
Marcus Boerger
6265c1623f - Remove unused variable 2005-09-23 23:02:29 +00:00
foobar
be3a2c634d - Improved the fix for #21306 a bit 2005-09-23 08:13:57 +00:00
Antony Dovgal
47ed27c6bb fix #32081 (mysqli_real_connect(): mysqli.default_socket in php.ini has no effect) for real 2005-09-22 20:14:15 +00:00
Antony Dovgal
0b57661b2d .. and the fix 2005-09-22 16:42:21 +00:00
Antony Dovgal
6a956b3d43 fix Win32 builds for PHP_4_4
(patch by Edin)
2005-09-22 16:25:59 +00:00
Derick Rethans
9000038bd2 - Changed variable handling code so that filter flags work for the unsafe_raw
filter.
- Added better support for \0 characters.
- Added utility function to HTML encode low/high characters.
- Added support for encode low/high flags to the string and special_chars
  filter.
- Added support for strip and encoding flags to the unsafe_raw filter.
2005-09-22 14:32:28 +00:00
Antony Dovgal
22d9a9bb86 prepare to release 1.1.1 2005-09-22 12:15:03 +00:00
Derick Rethans
66e3c106d1 - Removed ALLOW_SIGN filter flag, as this will always be allowed.
- Added ALLOW_SCIENTIFIC flag for the FS_NUMBER_FLOAT filter.
- Implemented string, encoded, special_chars, unsafe_raw, email, url,
  number_int, number_float and magic_quotes filters.
2005-09-22 10:06:57 +00:00
Marcus Boerger
a28c82fceb - Fixed Bug #34590 User defined PDOStatement class can't implement methods 2005-09-21 22:53:50 +00:00
Marcus Boerger
d9ed9945cb - MFB 2005-09-21 18:49:37 +00:00
Dmitry Stogov
af0dd442f3 Fixed memory corruption 2005-09-21 15:54:42 +00:00
Dmitry Stogov
18c1c3a82f Allow fopen() make HTTPS requests throug HTTP proxies 2005-09-21 15:04:48 +00:00
Ilia Alshanetsky
ac43306e72 MFB: fixed compiler warnings 2005-09-21 13:23:12 +00:00
Ilia Alshanetsky
db186add45 Fixed bug #34565 (mb_send_mail does not fetch mail.force_extra_parameters) 2005-09-21 13:15:20 +00:00
Johannes Schlüter
01f01cdb48 - Remove HTML fragments from phpcredits() in CLI mode 2005-09-20 22:17:34 +00:00
foobar
6f0648dab6 - Fixed bug #21306 (catch bailouts of write handler during RSHUTDOWN) 2005-09-20 20:56:21 +00:00
Ilia Alshanetsky
75555bc472 Allow overloading of PDO constructor. 2005-09-20 19:52:05 +00:00
Marcus Boerger
97bedcc064 - Provide helper function to avoid TSRM issues with exception base and root 2005-09-20 18:46:15 +00:00
Derick Rethans
bc0308b2e4 - Moved constants to private .h file
- Added comments to filter stubs as per discussion with Ilia
- Renamed regexp to validate_regexp filter
- Added stubs for validate_url, validate_email and validate_ip filters.
- Implemented "string" (stripped) filter
2005-09-20 15:01:42 +00:00
Stanislav Malyshev
961d12fa2d fix crash on restarting static PHP having session modules loaded 2005-09-20 14:05:16 +00:00
Dmitry Stogov
140b23620b ZTS fix 2005-09-20 06:17:30 +00:00
Ilia Alshanetsky
71f9416fda MFB: remove PDO_ prefix 2005-09-20 00:46:07 +00:00
Wez Furlong
ed6fa70f49 use PDO:: class constants 2005-09-20 00:45:16 +00:00
Ilia Alshanetsky
3953b14024 Make PDO use class constants 2005-09-20 00:33:42 +00:00
Marcus Boerger
2c6cf58a96 - Add eytension consts to extension output (Johannes)
- Fix WS in output
2005-09-19 20:29:33 +00:00
Antony Dovgal
c6e6b44b82 MF5.0: add new test 2005-09-19 18:59:50 +00:00
Dmitry Stogov
b45944a5b3 Fixed access to uninitialized value 2005-09-19 18:47:36 +00:00
Marcus Boerger
b4271e8f3f - Fix filename in docu 2005-09-19 18:28:01 +00:00
Marcus Boerger
97948f29a9 - Add deprecated/compatibility class for BC 2005-09-19 18:25:23 +00:00
Marcus Boerger
2568c8a0cb - More TSRM fixes 2005-09-19 18:17:39 +00:00
Marcus Boerger
a3aa58fdea - Fix building with 5.0 2005-09-19 18:05:00 +00:00
Dmitry Stogov
f6a20bad6e Unicode support 2005-09-19 07:49:13 +00:00
Dmitry Stogov
4d8290d000 Unicode support 2005-09-19 07:23:47 +00:00
Dmitry Stogov
9fc1de0181 Fixed test file 2005-09-19 06:11:12 +00:00
Marcus Boerger
8663b3a191 - Update docu: new slides are available 2005-09-18 17:51:37 +00:00
Marcus Boerger
d9604967ff - Observer/Subject have been renamed 2005-09-18 17:44:50 +00:00