Commit Graph

16495 Commits

Author SHA1 Message Date
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
Marcus Boerger
eede773730 - Add missing docu 2005-09-18 17:39:12 +00:00
Marcus Boerger
7a9c654f83 - Derick changed the test but forgot to make the code use E_RECOVERABLE_ERROR 2005-09-18 17:32:52 +00:00
Marcus Boerger
02038b4ac4 - Rename 'CachingRecursiveIterator' to 'RecursiveCachingIterator' so that
all of those follow the naming scheme 'Recursive<*>Iterator'
2005-09-18 16:51:24 +00:00
Marcus Boerger
445e382454 - Move RecursiveArrayIterator into .c
- Add ability to control iterator class of ArrayObject
- Implement option to make CachingIterator cache all read elements
- Implement ArrayAccess to CachingIterator to access cached elements
- Update docu
- Update tests
2005-09-18 11:34:36 +00:00
Antony Dovgal
1b1c0e3c78 check class_entry of this_ptr in Reflection API, so we won't get an alien this_ptr
when called statically in a function that is called statically too (without being
declared as static)
2005-09-16 20:20:46 +00:00
Dmitry Stogov
746e88e3d5 Fixed bug #34478 (Incorrect parsing of url's fragment (#...)) 2005-09-16 15:47:42 +00:00
Marcus Boerger
35c85a23f1 - MFB 2005-09-16 15:23:37 +00:00
Derick Rethans
0f391bb0b3 - Add E_RECOVERABLE.
#- Thought I did this before already actually...
2005-09-15 16:19:48 +00:00
Marcus Boerger
50301ddc98 - Rename file class again by popular demmand: calling it SplFileObject now
# Any other idea about the name? Or should i come up with a renaming plan
# for the upcoming versions? :-)
2005-09-15 14:07:39 +00:00
Marcus Boerger
5f437cd590 - Changed in version 5.1 2005-09-15 03:52:58 +00:00
Marcus Boerger
849fb07201 - MFB 2005-09-15 03:48:38 +00:00
Marcus Boerger
8aa7f36a3b - Rename Observer to SplObserver
- Rename Subject to SplSubject
- Move SPL constants to class constants
- Update docu
2005-09-15 03:31:37 +00:00
Rasmus Lerdorf
868c4b72df Add FS_STRIPPED alias 2005-09-15 03:16:09 +00:00
Ilia Alshanetsky
f7a4a852df Fix error detection for queries such as OPTIMIZE 2005-09-14 15:34:42 +00:00
Derick Rethans
6e3d5a9e22 - Rename icu_loc* to i18n_loc*
- Added i18n_strtotitle (name is not sure yet) - work in progress.
2005-09-14 14:56:01 +00:00
Andrei Zmievski
387e353009 Fix for Unicode access. 2005-09-13 21:04:07 +00:00
Ilia Alshanetsky
a383bd062c Make key() and current() take argument by value. 2005-09-13 13:22:49 +00:00
Antony Dovgal
d94f338cf4 fix #34450 (Segfault when calling mysqli_close() in destructor) 2005-09-13 09:19:58 +00:00
foobar
e720736a4f - Fixed build with phpize 2005-09-12 17:14:20 +00:00
Ilia Alshanetsky
58fda11b15 Fixed bug #34456 (Possible crash inside pspell extension).
# Patch by Nuno Lopes
2005-09-12 15:26:48 +00:00
Dmitry Stogov
03c6efab67 Additinal fix for bug #34277 (array_filter() crashes with references and objects) 2005-09-12 09:58:35 +00:00
Derick Rethans
161777af26 - Reimplement SORT_LOCALE_STRING with ICU locales. 2005-09-12 09:53:23 +00:00
Dmitry Stogov
1e32cdbb7d Fixed bug #34449 (ext/soap: XSD_ANYXML functionality not exposed) 2005-09-12 08:23:49 +00:00
Dmitry Stogov
f4a3454c52 Fix for exceptions in __sleep() 2005-09-12 07:14:54 +00:00
Dmitry Stogov
b81255d4fd ZTS fix 2005-09-12 06:31:54 +00:00
Wez Furlong
37ace0651b merge other PDO fixes from 5.1 branch.
Allow pdo_sqlite to build against 5.0 and 5.1 too.
2005-09-11 05:08:49 +00:00
Wez Furlong
d84239ae87 touch file 2005-09-11 05:04:43 +00:00
Wez Furlong
434fa24dfa Merge changes from 5.1 branch.
Add compat header that allows PDO head to compile against PHP 5.0 and PHP 5.1.
2005-09-11 05:04:00 +00:00
Wez Furlong
739c0680d0 actually reset the statement when closeCursor() is called. 2005-09-11 04:59:41 +00:00
Rolland Santimano
05e365bab3 - str_pad(): Use u_countChar32() for codepoint counting, eumalloc/eurealloc() for Unicode mallocs. 2005-09-09 19:07:18 +00:00
Antony Dovgal
4c8425e9ba new test 2005-09-09 14:08:03 +00:00
Antony Dovgal
98899d1083 fix problem appearing when binding empty values 2005-09-09 14:00:03 +00:00
Ilia Alshanetsky
5754b7321a Allow retrieval of query parse errors from SQLite.
# Patch by Nuno Lopes
2005-09-08 21:07:26 +00:00
Ilia Alshanetsky
1e13bca414 Fixed bug #34420 (Possible crash inside curl_multi_remove_handle()). 2005-09-08 14:49:58 +00:00
Derick Rethans
9d04a8e369 - Make ord() work on binary strings too. 2005-09-08 14:07:40 +00:00
Antony Dovgal
034e794fe9 use "connections" instead of "links" everywhere to avoid possible confusion 2005-09-08 13:16:24 +00:00
Dmitry Stogov
b0b0f8147d Fixed craches in substr_replace() 2005-09-08 12:40:01 +00:00
Antony Dovgal
fb8258e8b7 fix phpinfo() output for iconv extension
(convert unicode values to string before outputting them)
2005-09-08 11:48:07 +00:00
Dmitry Stogov
49c3b14f53 Unicode support for PHP constants 2005-09-08 11:10:34 +00:00
Rob Richards
d1cf2c5ffe add save options parameter 2005-09-08 10:34:37 +00:00
Rob Richards
65f96ca6f2 add additional constants
remove un-needed ifdefs
2005-09-08 10:33:57 +00:00
Dmitry Stogov
90b45fcbbd Fixed crash on AIX 2005-09-08 06:18:47 +00:00
Rolland Santimano
a441e78984 - Unicode impl of substr_replace() 2005-09-08 05:05:36 +00:00
Derick Rethans
f872d3346c - Fix buglett with date() that cause truncated strings to be returned when
Unicode is turned on.
2005-09-07 19:09:27 +00:00
Dmitry Stogov
7eeb91187b Fixed memory allocation bug 2005-09-07 15:34:50 +00:00
Antony Dovgal
324080065d new test 2005-09-07 15:27:09 +00:00
Ilia Alshanetsky
2195f7ec74 Upgraded sqlite2 lib to 2.8.16 2005-09-07 15:10:15 +00:00
Antony Dovgal
49cf0eff6a add Andi & Wez as lead maintainers and make myself lead too 2005-09-07 13:05:51 +00:00
Antony Dovgal
984f303713 I doubt that all these people are going to develop it in PECL,
so remove them and fix those complains about non-existing users.
2005-09-07 12:44:19 +00:00
Antony Dovgal
8137d9a075 prepare to PECL release 2005-09-07 12:40:38 +00:00
Edin Kadribasic
adcc19f9ec Support for Windows (Michael Wallner) 2005-09-07 11:16:57 +00:00
Antony Dovgal
ec8531cfb1 don't try to fetch resource when there is 0 args 2005-09-07 08:58:32 +00:00
Dmitry Stogov
18e259480e Fixed unicode support for substr_count() 2005-09-07 07:00:03 +00:00
Antony Dovgal
1287891c3b removed __FUNCTION__ (by popular demand) 2005-09-06 21:44:53 +00:00
Antony Dovgal
4a2b8cb6d0 fix credits 2005-09-06 21:42:26 +00:00
Edin Kadribasic
b5a5b22cbb Sync windows build and link against instant client libs 2005-09-06 21:38:16 +00:00
Edin Kadribasic
e18b812ba6 Remove utf-8 chars 2005-09-06 21:30:28 +00:00
Antony Dovgal
726f3e3881 workaround for some b0rked compilers 2005-09-06 21:11:19 +00:00
Antony Dovgal
e0ed2b45ff new tests 2005-09-06 19:33:18 +00:00
Antony Dovgal
3df94e1112 Updated OCI8 driver
This updated fixes (this list is not complete):
-------------------
#33915 - crash in _oci_close_session
#26393 - Segfault during request shutdown in _oci_close_session() (oci8.c:2443)

#32741 - hang on ociexecute() with collections (only with 10g, works with 9i)
#32325 - can't retrieve collection using OCI8
#33583 - Apache1.3.33 Segmentation fault with php5 & OCI_New_Collection

#32361 - connection oci_connect stay persist after process the php
#29013 - multiple logins cause handles become invalid
#28944 - OCITypeByName: OCI-21522 with two connections

Fixed by connection handling rewrite.

#32140 - NVARCHAR columns are truncated
#31042 - oci_fetch_* sets field value to false
#27156 - OCIFetchInto returns false as column value when column contains >1 umlaut

Fixed by multiplying buffer size by 3.

#33866 - OCIlogon do not returns conn resource for account with expired paswd
#33365 - logon fails when password expires

Fixed by adding new oci_password_change() call syntax.

#33159 - DB-connect via webserver fails after DB-restart ORA-24327
#30808 - oci8 cannot connect after restarting DB
#30127 - lost oracle connection. need restart apache.
#29902 - oci8 doesn't disconnect sessions, overloads oracle server
#29779 - (the same issue with the Oracle server going offline)
#26829 - Killed Oracle Sessions openned with OCIPLogon()

Fixed by adding oci8.ping_interval option.

#32988ext/oci8: OCI doesn't support DB external authentication

Fixed by adding support of external credentials (turned off by default).

Added new INI options:
----------------------
oci8.ping_interval
oci8.max_persistent
oci8.persistent_timeout
oci8.privileged_connect
oci8.statement_cache_size
oci8.default_prefetch
oci8.old_oci_close_semantics

See the updated docs for the detailed descriptions.

Major changes:
--------------
- connection handling algorithm rewritten. That should add stability and fix all non-reproducible crashes etc;
- extension refactored and divided into several files to improve readability and to make it easier to maintain;
- added support of statement caching;
- added support of privileged connections using external credentials;
- added new INI options to manage persistent connections;
- fixed oci_close() to close connections correctly.
2005-09-06 19:31:59 +00:00
Derick Rethans
8774e8e1aa - Updated the framework, cleaned up some code.
#- Basically the only real thing left is the body for the filters.
2005-09-06 18:46:37 +00:00
Rolland Santimano
8404034552 Pointer arithmetic with char * rather than void * 2005-09-05 16:37:45 +00:00
foobar
7036ac440c touch 2005-09-05 16:20:56 +00:00
foobar
80079e61a5 - Fixed bug #34311 (unserialize() crashes with characters above 191 dec) 2005-09-05 16:19:35 +00:00
Rolland Santimano
8d5d2125d0 - Unicode impl of str_pad() 2005-09-05 10:55:35 +00:00
Frank M. Kromann
6e6def1e77 MFB: Fix for #34369
Add extra parameter to mssql_connect to force a new connection
2005-09-05 05:05:34 +00:00
Marcus Boerger
5deac4859e - Add missing docu tag 2005-09-04 18:57:21 +00:00
Marcus Boerger
4cba6ac94d - Update docu 2005-09-04 18:51:50 +00:00
Edin Kadribasic
856b81ff0c touch 2005-09-04 00:58:49 +00:00
Edin Kadribasic
baecb3d18d MFB 2005-09-04 00:58:21 +00:00
Edin Kadribasic
0161d1bfd1 MFB 2005-09-03 23:52:56 +00:00
Marcus Boerger
a826dd2918 - Fix docu 2005-09-02 19:16:43 +00:00
Marcus Boerger
03136fc95d - Update docu 2005-09-02 19:15:30 +00:00
Ilia Alshanetsky
3ed0413de5 Resolved bug #34240.
# Thanks to xuefer at 21cn dot com for providing it.
2005-09-02 17:25:10 +00:00
Rob Richards
9a95a98628 Fix crash: handler name not length needs to be passed to php_error_docref 2005-09-02 15:38:22 +00:00
Derick Rethans
5169c32573 - Added date_time_set, date_date_set and date_isodate_set() functions, and
setTime, setDate and setISODate() methods.
2005-09-02 14:57:42 +00:00
Derick Rethans
42fe62541e - Update timezone database to version "2005m". 2005-09-02 12:31:41 +00:00
Derick Rethans
9495b782b2 - Added comments into the database file, so that we can more easily spot
changes.
2005-09-02 11:39:42 +00:00
Derick Rethans
31f3f81c82 - MF51: Fixed bug #34304 (date() doesn't have a modifier for ISO Week Day). 2005-09-02 09:41:08 +00:00
Derick Rethans
e4fd549af9 - Fixed bad MF51. 2005-09-02 09:39:21 +00:00
foobar
f52a9e84ed - Moved pfpro, ovrimos and mcve to PECL
# Pierre will create the packages for these
2005-09-02 09:10:01 +00:00
Rob Richards
acfde98e6e Fix key length so params passed by array can be retrieved by getParameter() 2005-09-02 06:37:29 +00:00
foobar
d61c1eeeba MFB 2005-09-02 05:18:30 +00:00
George Schlossnagle
fbd6ce4db5 Resolution to http://pecl.php.net/bugs/bug.php?id=5193 for all drivers. 2005-09-01 14:39:58 +00:00
George Schlossnagle
23a74267d9 protect against underflow - refs http://pecl.php.net/bugs/bug.php?id=5193 2005-09-01 14:31:34 +00:00
Dmitry Stogov
176a76dbec MFH 2005-09-01 13:03:48 +00:00
Derick Rethans
06562e3e8e - Fixed bug #33414 (Comprehensive list of incorrect days returned after
strtotime() / date() tests).
2005-09-01 12:41:43 +00:00
Dmitry Stogov
cbd1c89e81 Fixed bug #34277 (array_filter() crashes with references and objects) 2005-09-01 11:58:41 +00:00
Dmitry Stogov
7b7551085b Support for class constants and static members for internal classes 2005-09-01 10:05:01 +00:00
Ilia Alshanetsky
f376178101 Fixed bug #34001 (pdo_mysql truncates numberic fields at 4 chars) 2005-09-01 01:56:36 +00:00
foobar
805bb588d9 Fixed bug #34323 2005-08-31 22:29:24 +00:00
Rob Richards
af7f90f6c7 make sxe_properties_get respect namespace scope 2005-08-31 17:00:22 +00:00
foobar
39e0c382df Update credits 2005-08-31 15:01:13 +00:00
foobar
f35af61ef8 Moved to PECL 2005-08-31 14:55:13 +00:00
Derick Rethans
447425d9f1 - Fixed bug #33957 (gmdate('W')/date('W') sometimes returns wrong week number). 2005-08-31 14:31:45 +00:00
foobar
315cdad9b0 - Fixed bug #34306 (wddx_serialize_value() crashes with long array keys) 2005-08-31 14:30:46 +00:00
George Schlossnagle
c2e9f5d9a5 Set port even if host is localhost.
Should resolve 34072
2005-08-31 03:48:01 +00:00
Ilia Alshanetsky
50fb7a8261 Added optional parameter to http_build_query() to allow specification of
string separator.
2005-08-31 01:19:40 +00:00
Ilia Alshanetsky
4f1520912c Fixed bug #32589 (possible crash inside imap_mail_compose() function). 2005-08-30 22:02:43 +00:00
George Schlossnagle
26fd380b1d this is the number of params, not the top index 2005-08-30 19:59:11 +00:00
George Schlossnagle
6a687a1fad this is the number of params, not the top index (otherwise unix_socket doesnt work 2005-08-30 19:55:54 +00:00
Marcus Boerger
0165ab6251 - Adds module registering a function to struct zend_internal_function.
(Johannes)
# This information is by reflection API and error messages.
2005-08-30 18:27:17 +00:00
Derick Rethans
cbe8be6a17 - Fixed bug #34302 (date('W') do not return leading zeros for week 1 to 9). 2005-08-30 09:17:56 +00:00
Marcus Boerger
650c3d2094 - Fix const speling (correct in branshes where did it vanish here) 2005-08-30 07:27:06 +00:00
Dmitry Stogov
93c08f1c8b Fixed possible memory leak 2005-08-30 07:19:59 +00:00
Marcus Boerger
51e3db28ea - Fix #34299: ReflectionClass::isInstantiable() returns true for abstract classes 2005-08-29 22:11:53 +00:00
Dmitry Stogov
a3b7eb2284 Fixed gcc 4 compatibility 2005-08-29 06:51:14 +00:00
Ilia Alshanetsky
019aec0a6c touch 2005-08-28 16:57:30 +00:00
Ilia Alshanetsky
bb38017142 Upgrade sqlite lib to 3.2.5 2005-08-28 16:57:01 +00:00
Rob Richards
4509fb9d5d Fixed bug #34276 (setAttributeNS doesn't work with default namespace)
Add test
2005-08-28 16:22:03 +00:00
foobar
bc1f800a72 - Fixed bug #34284 (CLI phpinfo showing html on _SERVER["argv"]) 2005-08-28 01:02:54 +00:00
foobar
fc97c0212e - Fixed bug #34221 (Compiling xmlrpc as shared fails other parts) 2005-08-28 00:43:29 +00:00
Rolland Santimano
c7ad26fbf4 - Unicode impl of substr_count() 2005-08-27 19:14:05 +00:00
Marcus Boerger
271f5d04ec - Check for static libs, too 2005-08-26 15:24:26 +00:00
Rolland Santimano
c81d6d6cfd - Updated strrev() to handle base+combining sequences 2005-08-26 10:21:07 +00:00
Ilia Alshanetsky
c1e661ce70 MFH: Fixed bug #34214 (base64_decode() does not properly ignore whitespace) 2005-08-26 03:32:53 +00:00
Rob Richards
de9e0c588f Fix URI escaping 2005-08-26 02:29:32 +00:00
Marcus Boerger
b5ad2a4b20 - Bugfix #34257 lib64 not handled correctly in ming extension 2005-08-25 20:49:49 +00:00
Dmitry Stogov
fc03492c0b Fixed memory leaks 2005-08-25 13:53:38 +00:00
foobar
0ed53849a5 MFB 2005-08-25 12:26:12 +00:00
Derick Rethans
d468a854f9 - Fixed bug #34087 for real. 2005-08-25 09:46:31 +00:00
Sara Golemon
23b729dc15 sizeof(char) != sizeof(UChar) Don't tell ucnv_toUnicode it has more space than it really does 2005-08-25 08:59:24 +00:00
Dmitry Stogov
fe88b03b99 ZTS fix 2005-08-25 06:50:16 +00:00
Andrei Zmievski
64dbc03c93 Fix ZTS. 2005-08-24 17:16:14 +00:00
Derick Rethans
c4d08b15f0 - Make it compile in ZTS mode
#- *untested*
2005-08-24 17:10:25 +00:00
Derick Rethans
e87054dbec - Fix test. 2005-08-24 14:17:58 +00:00
Derick Rethans
e226f0f87f - Fixed bug #34087 (strtotime() does not work with date format "Y/m/d").
- Make use of YYMAXFILL.
- Added support for using a . as hour/minute/second separator.
2005-08-24 13:47:28 +00:00
Dmitry Stogov
47539d32d0 Fixed boolean encoding (from 0/1 to false/true) to support some buggy soap SDKs.
Fixed support for missing nillable elements of sequnces.
2005-08-24 11:46:27 +00:00
Johannes Schlüter
a221a9742a - Fix alphabetic order and add missing class 2005-08-24 10:16:45 +00:00
foobar
36ee721519 Test for bug #34214 2005-08-23 21:39:39 +00:00
Andrei Zmievski
2a8a18b22c Fix verbosity for var_inspect(). 2005-08-23 17:22:54 +00:00
Dmitry Stogov
8f6f97a77d Unicode support 2005-08-23 12:53:31 +00:00
Dmitry Stogov
f4b8f4e958 Unicode support cleanup 2005-08-23 09:33:46 +00:00
Ilia Alshanetsky
739c7d3869 Make dba extension support BerkleyDB 4.3. 2005-08-22 19:59:19 +00:00
Dmitry Stogov
641e6f11e4 Now fread() returns bool(false) on error instead of empty string 2005-08-22 16:42:39 +00:00
Derick Rethans
8deeef8805 - Fixed typo. 2005-08-22 14:16:07 +00:00
Dmitry Stogov
e404ee456b Fixed unicode support for ltrim() 2005-08-22 14:14:10 +00:00
Dmitry Stogov
ab2e9bc9bd Unicode support 2005-08-22 13:32:46 +00:00
Dmitry Stogov
6b622046dc zend_is_callable() and zend_make_callable() were changed to return readable function name as zval (instead of string). 2005-08-22 12:22:16 +00:00
Ilia Alshanetsky
c8dedc16a8 Fixed bug #34191 (ob_gzhandler does not enforce trailing \0). 2005-08-21 16:02:25 +00:00
Andrei Zmievski
23086f5f1c Unicode support for ord() and chr(). 2005-08-19 22:00:21 +00:00
Andrei Zmievski
676a3cf46e Use RETVAL_ASCII_STRINGL() here. 2005-08-19 17:53:03 +00:00
Dmitry Stogov
90393d675f Unicode support 2005-08-19 13:20:16 +00:00
Rolland Santimano
973e98f51e - Unicode capable impl() of strrev() 2005-08-19 10:59:19 +00:00