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
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
Dmitry Stogov
80079885bb
Quick fix (API was changed)
2005-08-19 10:55:05 +00:00
Dmitry Stogov
b0e24970bb
Unicode support cleanup
2005-08-19 10:54:26 +00:00
Dmitry Stogov
2b5ebdde1d
ZTS fix
2005-08-19 07:49:41 +00:00
Dmitry Stogov
974b209f78
ZTS fix
2005-08-19 07:26:13 +00:00
Andrei Zmievski
fd05d40cbe
Rework range() to be able to work on binary strings and also on Unicode
...
code points. Binary strings are not interpreted as numeric.
2005-08-18 22:51:46 +00:00
Andrei Zmievski
0b036a8fdc
Use u_totitle() instead of u_toupper() in ucwords().
2005-08-18 22:37:22 +00:00
Dmitry Stogov
74dafa95d1
Unicode support for extract()
2005-08-18 15:14:08 +00:00
foobar
03cec74a0d
Nuked EOLs from error messages
2005-08-18 13:34:04 +00:00
foobar
dde3f89dd4
Nuked EOL from error message
2005-08-18 12:56:36 +00:00
foobar
b385e0ad39
Nuke EOLs from error messages
2005-08-18 12:54:32 +00:00
foobar
98ce7bf37b
- Removed EOL from error message
2005-08-18 12:40:17 +00:00
foobar
4985dd8da3
- Removed EOLs from error messages
2005-08-18 12:37:24 +00:00
Dmitry Stogov
3658f1fb7b
Unicode support
2005-08-18 11:47:03 +00:00
Dmitry Stogov
474ff091a2
var_export() should escape \ and ' characters.
2005-08-18 11:13:50 +00:00
Dmitry Stogov
e56f9d2eea
Unicode support
2005-08-18 07:16:52 +00:00
Dmitry Stogov
704b4d7b61
Fixed tests
2005-08-18 06:32:39 +00:00
Rolland Santimano
fd4e6da642
- Removed 'proto' from description of internal funcns: ucfirst()/ucwords()
2005-08-18 05:53:46 +00:00
Rolland Santimano
412dac1576
Unicode-capable impl of ucwords()
2005-08-17 20:29:00 +00:00
Andrei Zmievski
202bb697fd
Fix bin2hex() to work on binary data and return strings of correct type.
2005-08-17 17:39:04 +00:00
Rolland Santimano
ed370daef5
Unicode impl of ucfirst()
2005-08-17 17:33:19 +00:00
foobar
cbb14bec35
Fix ZTS build
2005-08-17 17:02:46 +00:00
Dmitry Stogov
263d919a20
Unicode support for range()
2005-08-17 15:12:03 +00:00
Dmitry Stogov
21c6c8c8fe
Proper handling of unicode strings with \0 in the middle
2005-08-17 15:11:41 +00:00
Dmitry Stogov
0df66e7eaa
Unicode support
2005-08-17 14:16:05 +00:00
Dmitry Stogov
6d62ccc769
Unicode support
2005-08-17 14:01:06 +00:00
Dmitry Stogov
48def9a6ad
Unicode support
2005-08-17 13:10:04 +00:00
Dmitry Stogov
f4ea6b0656
Fixed bug #32981 (ReflectionMethod::getStaticVariables() causes apache2.0.54 seg fault)
2005-08-17 11:57:10 +00:00
Dmitry Stogov
3509630024
trim() should accept objects with __toString() method
2005-08-17 11:36:32 +00:00
Rolland Santimano
c98838037e
php_u_trim_range(): Alloc UChar32 units rather than UChar
2005-08-17 10:26:02 +00:00
Dmitry Stogov
8c63822f0d
Fixed implode() bugs
2005-08-17 07:59:31 +00:00
Rolland Santimano
616089e772
Updated implode() impl as per Andrei's comments
...
[http://news.php.net/php.cvs/33457 ]
2005-08-17 07:14:12 +00:00
Zeev Suraski
63c6feaff7
Add SoapClient::__setSoapHeaders()
2005-08-17 07:04:50 +00:00
Ilia Alshanetsky
e7ad6720fa
Provide a common handler for "close".
...
Macro the name validation.
2005-08-16 23:10:36 +00:00
Marcus Boerger
5085c21d7e
- TSRM Fix
2005-08-16 20:22:33 +00:00
Marcus Boerger
4a43e9c812
- TSRM Fix
2005-08-16 20:15:21 +00:00
Andrei Zmievski
06c3c85e19
md5() and md5_file() should return binary strings when raw_output is
...
set.
2005-08-16 19:45:00 +00:00
Andrei Zmievski
c79fbfe6f3
And here
2005-08-16 19:43:23 +00:00
Andrei Zmievski
b477936661
And here.
2005-08-16 18:22:22 +00:00
Derick Rethans
1ee41e0d92
- Fixed a couple of bugs in the new smart_str macros, and allow them to
...
allocate two extra bytes (so that we can pad them with two \0's for UTF-16)
- Fixed usage of smart_str's in the PAD and INS_STRING macros.
2005-08-16 18:02:41 +00:00
Antony Dovgal
5adc3ce7c6
nuke unused vars
2005-08-16 16:57:59 +00:00
Dmitry Stogov
27f39c6826
Unicode support
2005-08-16 16:29:16 +00:00
Dmitry Stogov
d0944d74f4
Unicode support
2005-08-16 15:09:51 +00:00
Ilia Alshanetsky
b3d7ae9399
Fixed bug #34148 (+,- and . not supported as parts of scheme).
2005-08-16 14:10:13 +00:00
Rolland Santimano
3b4b22a8fc
Unicode capable impl of implode()
2005-08-16 12:04:13 +00:00
Dmitry Stogov
f79fed6286
Unicode support
2005-08-16 10:18:43 +00:00
Dmitry Stogov
7b7a4aac86
Unicode support
2005-08-16 09:25:04 +00:00
Dmitry Stogov
238a40418b
Unicode support
2005-08-16 09:11:00 +00:00
Rolland Santimano
bc87019a80
Updated calls to php_trim() to provide arg for returned string type
2005-08-16 06:04:59 +00:00
Rolland Santimano
c1b8eda121
php_trim() takes extra arg to determine string type to be returned
2005-08-16 06:02:56 +00:00
Ilia Alshanetsky
99dd2d008f
Input validation part 2.
2005-08-16 00:25:21 +00:00
Ilia Alshanetsky
3ee4d80fc3
MFH: Chunk the output
2005-08-15 23:24:47 +00:00
Antony Dovgal
760313346a
eliminate compile warning
2005-08-15 23:01:42 +00:00
Marcus Boerger
a24a21ecf0
- No c comment (+ old non unicode way not needed any longer)
2005-08-15 19:16:30 +00:00
Johannes Schlüter
c5d862c254
- Fix leak with explode of empty unicode string
2005-08-15 19:12:59 +00:00
Dmitry Stogov
909e0a1c4e
Unicode support
2005-08-15 17:29:07 +00:00
Rob Richards
bbe63287e7
Fixed bug #34103 (line numbering not maintained in dom document)
2005-08-15 17:13:15 +00:00
Dmitry Stogov
82a504721e
Unicode support
2005-08-15 16:13:02 +00:00
Ilia Alshanetsky
7cd5109184
input validation.
2005-08-15 16:01:43 +00:00
Dmitry Stogov
a655a60999
Fixed memory leak
2005-08-15 14:41:31 +00:00
Dmitry Stogov
08fe0d1da3
Test engine is improved to support unicode mode
2005-08-15 14:37:55 +00:00
Dmitry Stogov
7061405249
Fixed trim()'s memory leak in unicode mode
2005-08-15 08:11:35 +00:00
Dmitry Stogov
0bdfac1169
Tests are fixed according to new var_dump()/pront_r() format (to pass in non-unicode mode)
2005-08-15 07:55:41 +00:00
Marcus Boerger
bc4202473e
- Simplify and make work in all modes
2005-08-14 21:26:01 +00:00
Ilia Alshanetsky
383673b508
Fixed build.
2005-08-14 20:24:34 +00:00
Marcus Boerger
8b9c131f55
- Initial support of easy way to generate unicode strings: [v]uspprinf()
...
# Same semantics as [v]spprintf, only it prints unicode strings instead of
# native strings. Atm it has a little problem since it length doesn't take
# the difference between UTF-16 code points vs units into account. But as
# long as no 4 byte codes are involved it should already run everything.
2005-08-14 17:14:42 +00:00
Marcus Boerger
cdd5e86cc2
- If prop_name is printed as unicode then class_name needs to be treated
...
in the exact same manner
2005-08-14 15:18:46 +00:00
Marcus Boerger
a19585eb49
- Show classname very needed
...
- No 3rd " which doesn't help parsing
# Does the class name need to be printed as u"<name>" ?
2005-08-14 15:08:38 +00:00
foobar
4414846b18
fix protos
2005-08-14 02:03:02 +00:00
foobar
a8cf2db6dd
Missed some "de" to "un" changes
2005-08-14 01:17:52 +00:00
foobar
f73c6be9b7
- consistency fix, part 1/inf
2005-08-14 00:46:51 +00:00
Marcus Boerger
b3b53b6640
- ntive is better than standard (Andrei)
2005-08-13 21:18:47 +00:00
Wez Furlong
77b183386c
unicode enable COM parameters (but not method/property names yet)
2005-08-13 19:03:58 +00:00
Wez Furlong
57ae2f99b7
Fixup config.w32.
...
Implement unicode_decode() and unicode_encode(), as described in README.UNICODE.
Still need to decide how to handle errors here, since there is no error return,
and a conversion error is not necessarily fatal.
2005-08-13 13:43:31 +00:00
Wez Furlong
227a6d154b
could have sworn that I did this already
2005-08-13 12:33:00 +00:00
Marcus Boerger
ff1d752b81
- IS_STRING does not necessarily mean ascii so 'standard' is better
...
# Maybe we call them legacy strings
2005-08-13 10:19:31 +00:00
Marcus Boerger
acca0d32b0
Add is_unicode(), is_binary() and is_buffer()
2005-08-13 10:16:04 +00:00
Wez Furlong
c2909b377b
vs.net 2005 introduces 64-bit time_t.
...
I can't say that I think this is a great idea, but it does highlight a couple
of dodgy areas where we assume that ints and longs are the same thing as
time_t's. Let's try to ensure that we declare structure fields and function
parameters with the correct type when we're talkingabout time_t's, to avoid
possibly nasty problems with passing the wrong sized thing around.
2005-08-13 02:23:29 +00:00
Wez Furlong
8b7d070358
what they totally screw up on one hand, MS compilers almost compensate with on
...
the other.
2005-08-12 23:59:59 +00:00
Wez Furlong
45412770a2
sizeof(time_t) !== sizeof(int)
...
also, sizeof(timelib_sll) != sizeof(int)
We get loads of truncation errors int this code when we assign 64 values into smaller ints.
2005-08-12 23:46:42 +00:00
Wez Furlong
f6276a2b8a
zts fixes
2005-08-12 23:32:31 +00:00
Antony Dovgal
d09b1b1e89
shut up warnings
2005-08-12 20:58:28 +00:00
Antony Dovgal
df39154c83
nuke unused variables
2005-08-12 20:58:05 +00:00
Antony Dovgal
363d0aa028
fix fgetc() & compile warnings
2005-08-12 19:27:45 +00:00
Antony Dovgal
0714953a44
change ["var_name":private"] -> ["var_name:private"]
...
* I'm also not sure we want ["var_name:public"], but I left it as is.
2005-08-12 18:54:18 +00:00
Antony Dovgal
969c533b83
fix compile warnings
2005-08-12 18:03:55 +00:00
Antony Dovgal
e458e45486
fix array_merge() adding one superfluous byte to the key
2005-08-12 16:49:20 +00:00
Antony Dovgal
079a748d3c
fix php_u_trim() and compile warnings
2005-08-12 16:46:38 +00:00
Dmitry Stogov
96a24404ce
Unicode support
2005-08-12 14:57:58 +00:00
Sebastian Bergmann
52b001cc05
ZTS fixes.
2005-08-12 14:08:28 +00:00
Dmitry Stogov
369d59c20b
Fixed str_repeat() bug
2005-08-12 13:41:15 +00:00
Dmitry Stogov
e1627558ed
Unicode support
2005-08-12 13:09:58 +00:00
Dmitry Stogov
3e7ab37d9f
Unicode support
2005-08-12 12:59:20 +00:00
Dmitry Stogov
f39c77dda0
Fixed SIGSEGV
2005-08-12 12:14:31 +00:00
Dmitry Stogov
21c1109e0c
Unicode support
2005-08-12 11:29:33 +00:00
Sebastian Bergmann
6b98cc4ef5
Patch by Michael Wallner, signed off by Edin Kadribasic.
2005-08-12 10:10:41 +00:00
foobar
3ed4aee952
- Some minor fixes
2005-08-12 09:10:04 +00:00
Sebastian Bergmann
6ad189f82a
ZTS fixes.
2005-08-12 05:58:02 +00:00
foobar
8814b83419
No more versions here
2005-08-12 00:17:26 +00:00
foobar
8429f174b8
fix test
2005-08-11 23:50:04 +00:00
foobar
3eaa48b58f
fix skip conditions
2005-08-11 23:45:13 +00:00
Andrei Zmievski
264cec8be6
Unicode support.
2005-08-11 23:36:07 +00:00
Andrei Zmievski
b80cb7bd2f
Unicode support
2005-08-11 23:35:03 +00:00
Antony Dovgal
b58f366c5c
MF5.1: fix #34078 (Reflection API problems in methods with boolean or null default values)
...
(andrei said to sara a few hours ago you may commit whatever you want until 9pm) (c) helly
if there are any problems with this patch - please tell me, I'll revert it immediately
2005-08-11 21:32:57 +00:00
Marcus Boerger
ef36d692cd
- Johannes did a great work on the shell
...
# Now he wants to maintain CLI ?-)
2005-08-11 20:45:27 +00:00
Marcus Boerger
95064517d3
- Support non static class loader methods
2005-08-11 01:19:11 +00:00
Wez Furlong
b1ca475703
Probable fix for #34054 .
2005-08-10 23:48:22 +00:00
Ilia Alshanetsky
46ef5b1708
Fixed bug #34068 (Numeric string as array key not cast to integer in
...
wddx_deserialize()).
2005-08-10 22:36:20 +00:00
Marcus Boerger
601b8fd2e5
- Register new classes with spl_classes()
2005-08-10 22:01:15 +00:00
Marcus Boerger
20de5cc091
- Implement SplObjectStorage as announced during OSCON
...
# This class starts naming of new classes in Spl by prefix Spl as dicussed.
# The class reduces object storage complexity from O(n) to O(1) which is
# not possible in user space.
2005-08-10 21:56:01 +00:00
Marcus Boerger
1434e56f6d
- WS
2005-08-10 21:53:53 +00:00
Marcus Boerger
9e38d04a7c
- Add RecursiveFilterIterator
...
- Derive ParentIterator from RecursiveIterator
# Actually brought up by a user. It is of course better to filter first and
# do the recursion only for accepted values. Otherwise you would iterate
# children and possibly recurse into them just to ignore them later anyway.
2005-08-10 19:48:48 +00:00
Dmitry Stogov
b0d3aec8ad
Fixed bug #25359 (array_multisort() doesn't work in a function if array is global or reference)
2005-08-10 12:02:14 +00:00
Antony Dovgal
c48f944a04
fix build
2005-08-10 10:28:18 +00:00
Marcus Boerger
aa53dcddab
- Support sttaic class loader methods
2005-08-10 08:31:57 +00:00
Dmitry Stogov
b03e53836e
Fixed bug #33940 (array_map() fails to pass by reference when called recursively)
2005-08-10 08:23:39 +00:00
Dmitry Stogov
655e19326d
Fixed bug #29253 (array_diff with $GLOBALS argument fails)
2005-08-10 07:43:16 +00:00
Dmitry Stogov
73c8a340cf
Fixed test file (.inc.php -> .php)
2005-08-10 06:36:25 +00:00
Marcus Boerger
af2e8a3db5
- PEAR uses .php not .inc.php
2005-08-09 21:11:42 +00:00
Derick Rethans
cef2cd485a
- Fixed TSRM issue.
...
- Added guessed timezone to phpinfo() output.
- Initialize is_dst in some cases.
- Corrected some test cases.
2005-08-09 21:07:54 +00:00
Johannes Schlüter
69303b58a4
- Added option to strstr() and stristr() to get a particular haystack component
2005-08-09 20:49:19 +00:00
Ilia Alshanetsky
fde8b6006e
Missing patch bit.
2005-08-09 17:58:02 +00:00
Andrei Zmievski
2ae8d36a3c
Remove old internal.h file.
2005-08-09 17:29:44 +00:00
Ilia Alshanetsky
430dea8ef8
News and constants for parse_url().
2005-08-09 14:40:59 +00:00
Ilia Alshanetsky
ebc108124b
Added option to parse_url() to retrieve a particular URL component.
2005-08-09 14:17:28 +00:00
Ilia Alshanetsky
726e1efe86
Added curl_setopt_array(), allowing setting of multiple cURL options.
...
Added CURLINFO_HEADER_OUT to facilitate request retrieval.
2005-08-09 14:14:55 +00:00
Sebastian Bergmann
77dfdccdd4
MFB: Sync with config.m4.
2005-08-09 09:46:52 +00:00
Andrei Zmievski
e623e5352d
Upgrade to PCRE version 6.2.
...
# Don't worry, upgrade for other branches is coming
2005-08-08 23:59:04 +00:00
Frank M. Kromann
1a7524d7c6
Make sure this works for multiple results as well
2005-08-08 23:09:06 +00:00
Frank M. Kromann
0030ec7f4e
Remove debug code and optimize a bit
2005-08-08 22:55:56 +00:00
Magnus M��tt�
1b31cbdf1a
makedev is a macro on several systems.
2005-08-08 21:44:58 +00:00
Frank M. Kromann
030542c238
Fix #32010 . Leak in mssql_fetch_batch().
2005-08-08 21:32:18 +00:00
foobar
000a9e3015
- Fixed problem with -dextension=foobar.so not having it's MINIT run.
2005-08-08 16:49:44 +00:00
Ilia Alshanetsky
919b0bd5b4
Adjust date("") handling.
2005-08-08 16:49:30 +00:00
Dmitry Stogov
c9103e18b0
Automatic encoding/decoding of hexbin data type (base64 support is improved)
2005-08-08 09:53:58 +00:00
foobar
df5cfe27b4
- Fixed bug #29334 (mail() provides incorrect message time header)
2005-08-07 22:06:29 +00:00
foobar
757a76df3f
Missing entry
2005-08-07 21:00:28 +00:00
Ilia Alshanetsky
c59d0aeb0a
Update todo.
2005-08-07 18:33:45 +00:00
foobar
c1fee15561
This test failed because libxml versions differ..
2005-08-07 14:22:10 +00:00
Derick Rethans
46854447c5
- Fix skip-if comment.
2005-08-07 12:48:31 +00:00
Pierre Joye
a26f8ca351
- each file needs a role
...
NB: "Fix" 1.4 to do what 1.3 does
2005-08-07 00:50:36 +00:00
Pierre Joye
e451fb4a42
- add package2.xml
2005-08-06 23:31:12 +00:00
Pierre Joye
b345d31ffd
- prepare release
2005-08-06 23:30:50 +00:00
Pierre Joye
b80eaf1721
- fix examples
2005-08-06 23:09:29 +00:00
Edin Kadribasic
6e5ddd7b30
Only link zlib if we dont compile it in ( #3406 )
2005-08-06 22:20:06 +00:00
Edin Kadribasic
36cc9d0d42
Add missing export
2005-08-06 22:18:41 +00:00
Rob Richards
c47f0cc73b
fix tests
2005-08-06 18:23:40 +00:00
Andrey Hristov
f25c366a73
add a comment
2005-08-06 16:56:42 +00:00
Andrey Hristov
313ff9998e
add error checking
2005-08-06 16:38:48 +00:00
Andrey Hristov
dcc18b6d6f
fix problem on 64 bit - when asking for "l" supply long not int because
...
on 64 bit they differ and zend_parse_parameters makes a *(long*) cast
which means that if the variable is int 4 bytes of the variable(s)
declared before it (on the stack) will be overwritten. In this case
this is the length of the query -> made 0 and mysqli_query() returns
FALSE.
2005-08-06 16:15:53 +00:00
Frank M. Kromann
7675a85828
Fix for #32531
...
No need to alias these functions on windows or if the mssql extension is compiled. This change will allow the use of both extensions at the same time.
2005-08-06 05:42:51 +00:00
Frank M. Kromann
806961aeee
Cleanup to match the current cvs version of ming0.3beta
2005-08-06 05:30:20 +00:00
foobar
91860cf594
No HTML output if html_errors is off (bug #34006 )
2005-08-05 22:37:48 +00:00
foobar
4b0c39887c
- Fixed bug #34015
...
# Whatever this test was supposed to try to test...sheesh..
2005-08-05 20:38:50 +00:00
Anantha Kesari H Y
9270751a7f
NetWare specific stat structure issues.
...
--Kamesh
2005-08-05 14:03:57 +00:00
foobar
3982f722c2
Skip test on solaris
2005-08-05 09:19:43 +00:00
Derick Rethans
f3d9a1adbd
- Update TODO
2005-08-04 14:59:29 +00:00
Dmitry Stogov
98e70ab585
Fixed bug #33989 (extract($GLOBALS,EXTR_REFS) crashes PHP)
2005-08-04 10:34:39 +00:00
Ilia Alshanetsky
ecc34bddcc
Fixed memory leak.
2005-08-03 18:26:16 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
foobar
ce32c4ece7
update credits
2005-08-03 13:47:34 +00:00
foobar
916815b779
Bump up the year
2005-08-03 13:30:58 +00:00
Derick Rethans
ef28855f4e
- Fix test.
2005-08-02 21:16:05 +00:00
Dmitry Stogov
c9571d7786
Fixed ZTS build
2005-08-02 11:15:42 +00:00
Marcus Boerger
cf7089972f
- Need to expose this one too
2005-08-02 02:20:01 +00:00
Marcus Boerger
fb5f1b7fad
- Update version info
2005-08-02 00:00:41 +00:00
Edin Kadribasic
88fcc4859f
Allow building gd on windows systems without t1lib (M. Sisolak) #33620
2005-08-01 21:57:09 +00:00
Edin Kadribasic
d8cf02edb3
Allow building against the latest cclient
2005-08-01 20:55:31 +00:00
Dmitry Stogov
1066066436
Allow SOAP work when allow_url_fopen is turned off.
2005-08-01 11:38:02 +00:00
Derick Rethans
a5efa0d4c3
- Fixed testcase.
2005-08-01 07:38:20 +00:00
foobar
a78730c257
Added test for bug #27908
2005-07-31 21:59:01 +00:00
foobar
ac19a759b6
- Fix test.
2005-07-31 21:18:16 +00:00
Rob Richards
0cbcd08e7c
SystemID and publicID params reversed in declaration handlers
2005-07-31 17:14:13 +00:00
foobar
be10050d8f
Added test for bug #25359
2005-07-30 13:37:57 +00:00
Wez Furlong
8fdec883ab
switch to ansi declaration so that vs.net 2005 groks it.
2005-07-29 23:31:59 +00:00
Ilia Alshanetsky
4b935b9a8a
Fixed sqlite build, sqlite3.h was not being correctly generated.
2005-07-29 20:41:52 +00:00
Ilia Alshanetsky
1564872062
Backport of libsqlite fix in relation to AS keyword.
2005-07-29 19:48:52 +00:00
foobar
0bb094e52b
- Fixed bug #33837 (Informix ESQL version numbering schema changed)
2005-07-29 19:41:01 +00:00
foobar
b325b340b7
- Fixed bug #33899 (CLI: setting extension_dir=some/path extension=foobar.so does not work)
2005-07-29 13:25:33 +00:00
foobar
a5c41b2c8e
- Fixed bug #33917 (number_format() output with > 1 char separators)
2005-07-29 12:58:25 +00:00
foobar
4b0cdf8cd4
fix VPATH builds
2005-07-29 09:50:15 +00:00
Marcus Boerger
0b34e041e3
- Before we later run into BC trouble we split flags into two params mode
...
and flags now before branching for 5.1.
2005-07-28 21:09:02 +00:00
Marcus Boerger
d608181dc7
- Allow static loader functions (but only for 5.1.1 as discussed with Andi)
2005-07-28 20:59:44 +00:00
Anantha Kesari H Y
83b5eb54c4
defined EX_OK and EX_TEMPFAIL in ext/standard/mail.c for NETWARE rather than including a sysexits.h.
...
-Kamesh
2005-07-28 09:41:34 +00:00
Marcus Boerger
a935b06236
- Fix issues with iterators and excpetions
...
# update documentation
#
# In 5.2 we need to implement an event handler onException() to be invoked
# on exceptions during getChildren() calls. Its default implementation
# would simply rethrow the exception if the flag is not set and delete if
# if it was set. To do so the exceptions refcount needs to be increased
# before calling zend_clear_exception() to keep the exception alive but
# clear the control information.
#
# As a side note this is alos the easy solution to allow multi exception
# handling: Simply clear the engine's exception info and add a property
# called $previousException to the base exception and assign it from the
# already pending one.
2005-07-27 22:19:01 +00:00
Ilia Alshanetsky
3674649c59
Fixed bug #32139 (SOAP client does not auto-handle base64 encoding).
2005-07-27 14:52:52 +00:00
Wez Furlong
bf85bf515e
add sanity checks
2005-07-27 14:18:01 +00:00
Wez Furlong
a6f0d99e5b
fixup the build in HEAD again... moved the maintainer only stuff out of the
...
config.m4 and into a separate script to make it cleaner
2005-07-27 11:53:00 +00:00
Wez Furlong
b87c4b6abe
typo
2005-07-27 04:20:50 +00:00
Wez Furlong
32cf3cc19f
Yes, I can't count the months, and no, I'm not related to Ilia.
2005-07-27 04:07:44 +00:00
Wez Furlong
dcac8e1a44
Prep for PECL release.
...
Fixup config.m4 to work properly under a pear tool vpath build
# seems strange that it was so badly broken... did something major change?
2005-07-27 04:07:11 +00:00
Wez Furlong
9b73ab50b6
Add support for instant client 10.1.0.4.
...
Theoretically also add support for 10.2 libraries.
Prep for PECL release.
2005-07-27 03:48:08 +00:00
Wez Furlong
eab79e8de6
prep for pecl release
2005-07-27 03:22:03 +00:00
Wez Furlong
73d7fb493c
Add package.xml
2005-07-27 03:13:05 +00:00
Wez Furlong
f7c0b7d09e
prep for PECL release
2005-07-27 03:12:43 +00:00
Wez Furlong
ba77f8515b
prep for PECL release
2005-07-27 02:51:01 +00:00
Wez Furlong
163c92510a
Prep for PECL release
2005-07-27 02:39:46 +00:00
Ilia Alshanetsky
2d920f6848
Only set authorizer if we intend to use it (safe_mode or open_basedir).
2005-07-27 02:35:37 +00:00
Ilia Alshanetsky
86d81fd743
Fixed bug #33869 (strtotime() problem with "+1days" format).
2005-07-26 22:29:27 +00:00
Ilia Alshanetsky
f2874cf737
Fix for bug #33869
2005-07-26 22:22:06 +00:00
Ilia Alshanetsky
b77cefd588
Updated URL leading to latest aspell.
2005-07-25 22:53:01 +00:00
Marcus Boerger
e8ea32a789
- Add new test
2005-07-25 20:21:43 +00:00
Marcus Boerger
c6018b85c4
- Be flexible about spellbook - we want to test the ext not the spell corrections available
2005-07-25 18:27:41 +00:00
Anantha Kesari H Y
b1183590e9
ext/standard/fsock.h
...
Removing redundant inclusion of headers for NetWare
ext/standard/lcg.c
NetWare LibC SDK sys/time.h implicitly includes sys/timval.h so nothing special needed for NetWare here.
--Kamesh
2005-07-25 13:12:10 +00:00
Ilia Alshanetsky
bc80bdb973
Added test for bug #33841 .
2005-07-24 17:19:59 +00:00
Ilia Alshanetsky
66125c18a3
Fixed bug #33841 (pdo sqlite driver forgets to update affected column count
...
on execution of prepared statments).
2005-07-23 23:34:04 +00:00
Ilia Alshanetsky
29bf2d3a09
Fixed bug in str_word_count() when charlist if specified and "word" starts
...
with a character found inside the charlist.
2005-07-23 19:44:13 +00:00
Pierre Joye
9859780570
- fix #33794 imagerotate rotates only CCW
...
introduced by transparent color patch
2005-07-23 16:41:38 +00:00
foobar
03897956b2
revert fix that did not fix anything
2005-07-22 22:00:55 +00:00
Yasuo Ohgaki
813bd67320
fix build with older postgresql
2005-07-22 18:48:14 +00:00
Marcus Boerger
d8eece2b43
- Add missing part to make colon in parameter binding optional
2005-07-22 14:31:20 +00:00
Marcus Boerger
e4b07b3ebe
- Test the colon is optional in binding
2005-07-22 14:27:35 +00:00
Wez Furlong
cfe1dc3b46
this looks like a much better fix for refcounting/shutdown in lazy objects.
2005-07-22 04:33:56 +00:00
Wez Furlong
882503110d
fix leak (ugh, this nuance gets me every time)
2005-07-22 02:09:19 +00:00
Wez Furlong
3560bb9c2b
Fixes #33785 for me
2005-07-22 01:34:43 +00:00
Ilia Alshanetsky
3db688c6c9
Added test for PDO_FETCH_LAZY.
...
# This currently fails, see bug 33785
2005-07-21 19:33:48 +00:00
Derick Rethans
8a3d3aefbb
- Changed the year parameter so that 0..69 maps to 2000..2069 and 70..100 maps
...
to 1970..2000, which was in the original code, but not in the documentation.
2005-07-21 10:09:40 +00:00
Dmitry Stogov
e4b1fb6455
Recursion protection
2005-07-21 07:18:02 +00:00
Ilia Alshanetsky
4b6d351cd3
Missing bit of the previous commits
2005-07-20 16:22:09 +00:00
Dmitry Stogov
e07d2f4803
"_local_cert" and "_passphrase" properties moved into "_stream_context".
...
As a result now it is possible to use certificates during access WSDL files.
2005-07-20 10:21:49 +00:00
Dmitry Stogov
3102638061
Fixed tests
2005-07-20 10:06:10 +00:00
Derick Rethans
e6c1ff254d
- Fixed bug #33578 (strtotime() problem with "Oct17" format).
...
- Fixed problems with lone years in strtotime().
- Added functions to timelib to get a list of all abbreviations and timezone
identifiers.
- Fixed problems with parsed dates that only have GMT offsets associated
with them.
- Fixed a Windows compile problem.
- Added special constants for different often used date formats (DATE_ISO8601,
DATE_RFC822, DATE_RSS etc).
- Fixed date_default_timezone_get() to return the guessed timezone if none
was set yet with date_default_timezone_set().
- Added experimental support for Date/Timezone objects as per specifications.
2005-07-20 08:31:02 +00:00
Marcus Boerger
efcfe44299
- Use correct/complete skipif condition
2005-07-20 07:33:19 +00:00
Wez Furlong
ec50ec65b9
use pdo core test suite.
...
Now passes all but one test. Volunteers that want to track down the cause
for test pdo_018.phpt not passing are welcome.
2005-07-20 05:27:27 +00:00
Wez Furlong
08891a1c1b
some drivers want you to say that its ok to use NULL for these columns.
2005-07-20 05:27:00 +00:00
Ilia Alshanetsky
99d8090cb2
Fixed memory corruption (wrong order of operations of stored prep. stmt).
...
Optimize the max length calculation process.
2005-07-20 04:30:14 +00:00
Ilia Alshanetsky
97e8c6f4a9
Proper handling for databases that need to pre-calculate length of large
...
columns, which is not normally done for performance reasons.
2005-07-20 03:38:33 +00:00
Wez Furlong
79f3cb9856
Add PDO_PGSQL_ATTR_DISABLE_NATIVE_PREPARED_STATEMENT attribute, which, when set
...
to true, forces the driver to use PDO's own emulated prepared statement
support.
Why would you want that, considering that native prepared statements are
supposed to be the best thing ever?
"Often postgresql will have to plan the query without knowing the parameters -
and it will choose a bad plan. In some cases it will plan based on the first
parameters you send. "
Ugh. So now we have a way to let you decide that you know better than the
pgsql query planner.
2005-07-20 02:37:57 +00:00
Ilia Alshanetsky
9438584d76
Only set attribute if result set contains some columns.
2005-07-20 02:36:34 +00:00
Ilia Alshanetsky
1e1d2e2b0d
clean up
2005-07-20 02:19:20 +00:00
Wez Furlong
8adbc92d4b
this hack can and does segv; let's remove it.
2005-07-20 01:59:14 +00:00
foobar
40a049b27e
Skip tests in 64bit systems
2005-07-20 00:18:24 +00:00
Wez Furlong
3b5af6d43f
Remove stale #ifdefs (this is PHP 5 only code).
...
Add a stream_context option to the SoapClient constructor; this allows
generic stream context options to be set without having to add code to the
SoapClient every time a context option is added.
2005-07-19 19:48:02 +00:00
Wez Furlong
d4348d11dd
try to make the test a bit more portable
2005-07-19 16:55:48 +00:00
Wez Furlong
3ebfbe6bd2
this should always be a string here, but just in case, convert it.
2005-07-19 16:55:22 +00:00
Wez Furlong
6e7a8f10d1
if we didn't detect an error, don't return -1 rows, as that means that we found an error
2005-07-19 16:54:51 +00:00
Wez Furlong
43c1a1b73c
Closes #33533 by implementing proper dynamic fetching of long text columns.
2005-07-19 15:26:16 +00:00
Wez Furlong
e568ea3277
Limit the size of columns to 64K, so we don't try to allocate 2GB for each text
...
column coming out of informix.
Refs Bug #33533 .
Not totally closed yet; still need to cater for text fields longer than 64k in a sane manner.
2005-07-19 03:39:49 +00:00
Brad House
96a273a10d
\#if BRAD_0'd latest changes as requested until 5.1.0 release
2005-07-19 00:34:39 +00:00
foobar
db138c59d4
MFB4_4: Fix compile problem with --regex=system on some systems
2005-07-18 23:17:24 +00:00
Brad House
936e199d38
sync missing functions from libmonetra-5
2005-07-18 20:10:07 +00:00
Dmitry Stogov
70bd938bbd
Fixed bug in new module statrup mechanism
2005-07-18 16:20:08 +00:00
foobar
e63d1706cf
touch with working re2c
2005-07-18 16:08:37 +00:00
Wez Furlong
be88f5a960
make a start on a debugging function.
2005-07-18 14:46:55 +00:00
Wez Furlong
d9826ec143
touch generated file
2005-07-18 14:44:56 +00:00
Wez Furlong
7f053e062c
avoid :: when looking for named parameters.
...
Refs Bug #33736 .
2005-07-18 14:44:14 +00:00
Wez Furlong
4854dd71de
this needs to be the column count, otherwise a db->query() that returns 0 rows
...
will fail rather than returning a statement with no rows.
2005-07-18 14:40:49 +00:00
Ilia Alshanetsky
a6931b3923
Cleanup buffers on handle re-use.
2005-07-18 13:47:33 +00:00
Frank M. Kromann
890b1602fb
Make sure we build with SWFPrebuilt.
2005-07-18 00:42:48 +00:00
Marcus Boerger
503330fb88
- Provide distinction and distinct tests
2005-07-18 00:14:54 +00:00
Marcus Boerger
70ec0f41ac
- Compatibility with ming 0.2a and 0.3a
2005-07-17 23:58:40 +00:00
Marcus Boerger
62c47d1778
- Write temp file in test dir
2005-07-17 23:58:02 +00:00
Marcus Boerger
dfeddbe539
- If you ask me both (expat and libxml) are not really accurate about byte
...
positions and columns...however the line number information is now
correct for both so for the moment we live with the situation that they
return different byte and column information.
2005-07-17 17:38:16 +00:00
Ilia Alshanetsky
2889c497f5
Added 2 missing cURL options available in all versions.
2005-07-16 18:33:09 +00:00
George Schlossnagle
d0ec239661
Darwin seems to like this much better.
2005-07-15 16:47:48 +00:00
George Schlossnagle
869d6002d6
Darwin seems to like this arrangement much better.
2005-07-15 16:47:12 +00:00
Sara Golemon
67a66b858f
Pass context parameter through to xport_create
2005-07-15 15:45:43 +00:00
Anantha Kesari H Y
384a96faf6
ext/standard/file.h NetWare LibC has fnmatch and realpath implemented.
...
ext/standard/syslog.c Except LOG_SYSLOG other syslog macros are supported by NetWare LibC.
ext/standard/string.c NetWare fix for dirname
-- Kamesh
2005-07-15 12:35:12 +00:00
Ilia Alshanetsky
7d1b4145b1
Fixed compiler warning.
2005-07-14 23:17:16 +00:00
Ilia Alshanetsky
6be7584eba
Properly recognize redirect code 303.
...
When encountering redirect on POST request follow browsers and cURL and
perform GET on the specified location field.
2005-07-14 14:59:16 +00:00
Wez Furlong
8c446726cf
Add test case
2005-07-14 02:21:03 +00:00
Wez Furlong
fc48f9096d
gah!
2005-07-14 02:20:52 +00:00
Wez Furlong
d025a14d33
Thanks 'james' (a visitor to my blog) for reporting this bug.
2005-07-14 02:09:54 +00:00
Wez Furlong
695e195a27
keep this as a placeholder for debugging weird regressions
2005-07-14 02:09:08 +00:00
Wez Furlong
fbc568013a
Add utility for driver-specific tests
2005-07-14 02:08:18 +00:00
Wez Furlong
0601249f82
it is not an error for a statement to return 0 rows.
...
Andrey: please run the test suite before each commit!
This broke beta 3 and was clearly visible as a result of running the tests.
Running further tests now.
2005-07-14 02:03:54 +00:00
Sara Golemon
45f624adc4
Route ftp:// wrapper via transports layer.\nFix typo in datastream crypto startup
2005-07-13 23:28:22 +00:00
foobar
ada35ab562
fixed typos
2005-07-13 07:04:29 +00:00
Antony Dovgal
502b00c3f6
add forgotten ifdefs, fix #33667 (mysqli doesn't compile)
2005-07-12 20:38:34 +00:00
Andrey Hristov
5232c4a544
ok, call pdo_mysql_error() before returning -1
2005-07-12 19:32:13 +00:00
Andrey Hristov
8899425e26
strictly check the result of mysql_affected_rows()
2005-07-12 19:22:05 +00:00
Ilia Alshanetsky
fa4ea0fff4
Added support for LOCK_EX flag for file_put_contents().
2005-07-12 17:55:38 +00:00
Georg Richter
9aabcf7016
changed version dependency for charset functions
2005-07-12 15:45:07 +00:00
Wez Furlong
3e5ddd2a80
compile before commit...
2005-07-12 12:21:53 +00:00
Wez Furlong
04dd0e1094
Enable unix build for dblib/sybase/freetds.
...
The extension is named pdo_dblib and the driver dblib on unix.
2005-07-12 12:16:02 +00:00
Wez Furlong
93962139fb
Avoid estrdup(NULL), modified patch from Zhao ming sen.
2005-07-12 11:02:23 +00:00
Georg Richter
9caaee66bd
removed charset structure. libmysql now provides a function
...
mysqli_get_character_set_info (Vers. 5.0.10)
2005-07-12 09:35:16 +00:00
foobar
2f558a3798
Touch with working re2c
2005-07-12 07:06:01 +00:00
Wez Furlong
0562581de8
touch generated file
2005-07-12 03:20:08 +00:00
Wez Furlong
9240c5f521
remember ? -> :pdox mapping so that binds by position can be mapped to names if required.
2005-07-12 03:19:44 +00:00
Wez Furlong
1bd3483dea
fix bug when query was rewritten from ? to :name
2005-07-12 03:18:17 +00:00
Wez Furlong
4f22ac0cdd
improve handling of bound input parameters when no maximal length value is set;
...
default to 4000 as the maximal length, which is the biggest size possible
without using a LONG type (if you specify anything larger than this, you'll end
up with ORA-1461).
Don't assume that all parameters were output parameters after execution, as
this would clobber the input values when used in a loop.
2005-07-12 02:43:39 +00:00
Wez Furlong
664ebfa499
expand oracle null handling compatability by offering the ability to convert
...
NULLs into empty strings as well as the other way around. It still doesn't
help a great deal in the long run, but at least the option is there.
Make sure hash tables are nulled out to avoid double freeing them.
2005-07-12 02:40:59 +00:00
Wez Furlong
f5a09e87ee
should always bind columns after execute.
...
There're probably more of these to fix.
2005-07-12 02:38:39 +00:00
Ilia Alshanetsky
e21f5f9592
A bit of further tuning.
2005-07-11 14:46:01 +00:00
Andrey Hristov
b3aa24ff98
fix a segfault with the following script:
...
<?php
$dbh = new PDO('mysql:dbname=test;host=localhost', "root", "secret");
$what = 1;
$stmt = $dbh->prepare('select a, b, c from t123 where a=:what');
$stmt->bindParam(1, $what, PDO_PARAM_INT, 12);
var_dump($stmt->execute());
var_dump($stmt->fetchObject());
?>
2005-07-11 14:14:56 +00:00
Andrey Hristov
9749926224
- mysql_affected_rows() already returns an unsigned long
...
- optimize a bit the real_escape
- handle the situation when libmysql bails out because of lack of memory
2005-07-11 13:52:13 +00:00
Ilia Alshanetsky
35df0e5571
Compiler warning fix.
2005-07-11 03:24:28 +00:00
foobar
21ed9234a0
- Moved ext/dbx and ext/ircg to PECL.
2005-07-10 19:05:09 +00:00
foobar
08f8fcf8f4
touch
2005-07-10 17:56:35 +00:00
Wez Furlong
0d7fa88b4e
Fix #33624 , mysterious crashes on shutdown on win32
2005-07-10 14:56:36 +00:00
Marcus Boerger
000ef9c4b5
- use three digit octal character definition
2005-07-10 14:04:20 +00:00
Andrey Hristov
31de8e9018
stmt->column_count is set only if the result has been already bound, don't
...
rely on that and use the real count which is kept in st_mysql_stmt
#of course using internal values is bad idea but the comment already says
#that this should be fixed
2005-07-10 02:58:51 +00:00
Andrey Hristov
55ab9b75a6
ok, calculate max_length only in case of a blob (normal, medium, long).
...
in case of a varchar lets allocate 255 bytes and be quick without asking
libmysql to update max_length
2005-07-10 02:49:14 +00:00
Andrey Hristov
2711d70d33
if the result set is buffered ask libmysql to compute the lengths, so
...
later allocate buffer as big as the largest value of the column in the
result set (max_legth positive).
2005-07-10 02:20:26 +00:00
Wez Furlong
5602a5ba65
Get precise lengths from the server, as suggested by Andrey.
2005-07-10 02:00:35 +00:00
Wez Furlong
3d373f86f0
Related to #33624 . Crashes for me on shutdown, but seems ok for the rest of the world.
2005-07-09 18:52:36 +00:00
Ilia Alshanetsky
eb4aff5a91
Added safety checks.
2005-07-09 05:08:54 +00:00
Ilia Alshanetsky
4c18dfc852
Make cursor closer work with emulation as well.
2005-07-09 05:04:43 +00:00
Wez Furlong
f21084cb0b
don't free the cols until we know we have another rowset
2005-07-09 05:01:14 +00:00
Ilia Alshanetsky
858d827790
Added cursor closer handler.
...
Fixed memory leak.
2005-07-09 04:54:04 +00:00
Ilia Alshanetsky
df60983b75
Added missing header check.
2005-07-09 04:43:16 +00:00
Ilia Alshanetsky
d3a9f93111
cursor_closer for SQLite.
2005-07-09 04:37:27 +00:00
Ilia Alshanetsky
c58e878513
Implement cursor_closer for MySQL driver.
2005-07-09 04:30:49 +00:00
Wez Furlong
007f571beb
for the transactions test case, detect working transactions before attempting to run the tests.
...
Additional ugliness required because mysql does stupid stuff like this:
mysql> CREATE TABLE foo (id int) TYPE=innodb;
Query OK, 0 rows affected, 2 warnings (0.00 sec)
mysql> SHOW CREATE TABLE foo;
CREATE TABLE `foo` (
`id` int(11) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
In addition, BEGIN, COMMIT and ROLLBACK all succeed, even when no tables
support transactions.
2005-07-09 04:28:45 +00:00
Ilia Alshanetsky
ba66cac1cf
Fixed memory leak
2005-07-09 04:21:14 +00:00
Wez Furlong
c2f3636cf2
Fix two bugs:
...
- execute() would not re-fetch meta data after nextRowset() had been called.
- buffered mode would only be enabled on the first execute on a statement handle.
2005-07-09 03:54:13 +00:00
Wez Furlong
d3b653e97b
Added:
...
proto bool PDOStatement::closeCursor()
Closes the cursor, leaving the statement ready for re-execution.
The purpose of the function is to free up the connection to the server so that
other queries may be issued, but leaving the statement in a state that it can
be re-executed.
This is implemented either as an optional driver specific method (allowing for
maximum efficiency), or as the generic PDO fallback if no driver specific
function is installed.
The PDO generic fallback is semantically the same as writing the following code
in your PHP script:
do {
while ($stmt->fetch())
;
if (!$stmt->nextRowset())
break;
} while (true);
2005-07-09 03:52:41 +00:00
Ilia Alshanetsky
5fe5da90ea
Safer way of allowing 'blank' user/pass.
...
# Thanks Wez.
2005-07-09 02:53:07 +00:00
foobar
15e772ce13
- No need to use convert_to_string_ex() when dealing with strings
2005-07-09 00:59:49 +00:00
foobar
fcee086982
- Fixed bug #33588 (LDAP: RootDSE query not possible).
2005-07-09 00:46:45 +00:00
Ilia Alshanetsky
0b1931a8ff
Fix needed for PostgreSQL driver to allow $user & $pass to be supplied via
...
DSN as NULL.
2005-07-08 23:33:35 +00:00
Wez Furlong
6ee00c8199
fix leak
2005-07-08 20:45:19 +00:00
Marcus Boerger
ca59b1158e
- Regenerate using re2c 0.9.8
2005-07-08 20:38:13 +00:00
Marcus Boerger
8d743e70e0
- std not needed -> avoid warning
2005-07-08 20:35:41 +00:00
Wez Furlong
7976182b94
Fix Bug #33111
2005-07-08 19:28:52 +00:00
Wez Furlong
168b6500fd
Fix #33618
2005-07-08 19:25:37 +00:00
Wez Furlong
6377c0ccca
Fix PECL #4753
2005-07-08 19:05:57 +00:00
Antony Dovgal
38e4fb09e0
fix tsrm build
2005-07-08 18:16:46 +00:00
Wez Furlong
512af63a63
rewrite original names to our preferred format
2005-07-08 17:01:20 +00:00
Wez Furlong
dec54a98fa
generated file
2005-07-08 17:00:48 +00:00
Wez Furlong
38a02b6244
For named-parameter-to-named-parameter rewrites, we need to map the original
...
names to the new names.
2005-07-08 17:00:28 +00:00
Ilia Alshanetsky
2301d93156
Some of us don't have PostgreSQL 8.0 :)
2005-07-08 16:20:13 +00:00
Ilia Alshanetsky
bf020f87e1
Missing bit of the previous patch.
2005-07-08 16:17:04 +00:00
Ilia Alshanetsky
046635075b
Fixed compiler warning.
2005-07-08 16:06:05 +00:00
Wez Furlong
529d8177fe
Add early support for native prepared statements in pgsql.
...
Note that some tests now fail; if we can't resolve this in time for the beta,
the prepare code should be disabled (I'll add a flag for this later today).
2005-07-08 15:27:34 +00:00
Wez Furlong
8f31f0cfaa
Fix a shutdown order issue I saw in the pgsql driver. Hope this doesn't mess
...
up something in the OCI driver; I think I've been here before.
2005-07-08 15:25:15 +00:00
Wez Furlong
206c7b8372
And the generated version of the parser
2005-07-08 15:24:42 +00:00
Wez Furlong
ab1ba644db
add a bit of a hack to cater for pgsql prepared statements.
...
These are effectively named statements with strong constraints on the naming
format. We cater for this in a fairly generic way: allow a driver to replace
the format string we use to generate names from positional parameters. In
addition, if that format is set, we always force a rewrite from regular names
to the strongly enforced names.
2005-07-08 15:24:21 +00:00
Wez Furlong
057e1973c7
and as a result, need to update the expected data
2005-07-08 15:21:43 +00:00
Wez Furlong
8e30a80733
we declare the column as NOT NULL, so inserting NULL is not a good idea.
2005-07-08 15:20:18 +00:00
Antony Dovgal
eb7dc34bfb
make use of T token
2005-07-08 12:39:51 +00:00
Antony Dovgal
592a0835fa
fix #33597 (setcookie() "expires" date format doesn't comply with RFC)
2005-07-08 12:30:24 +00:00
Antony Dovgal
39379b8f58
rename php_format_date() to date_format()
...
add wrapper for date_format() to use it in other extensions
2005-07-08 12:26:30 +00:00
Antony Dovgal
d705522bbe
fix #33614 (memory leak in new strftime())
2005-07-08 10:23:33 +00:00
Dmitry Stogov
76a447c900
Fixed HTTP basic authentication headers during subrequsts to xsd files
2005-07-08 09:36:28 +00:00
foobar
a7e85b3c07
Make sure we get a WARNING and not an ERROR here :)
2005-07-08 08:53:25 +00:00
Dmitry Stogov
3fea0b7b8c
Fixed support for <any> in base type of extension
2005-07-08 07:16:56 +00:00
Wez Furlong
49c1882837
Add a PDO_ATTR_STRINGIFY_FETCHES attribute, which is used to convert integer or
...
floating point values into strings during fetch. This is a compatibility hack
for drivers that return native types rather than string representations.
We use this flag in the test suite to persuade postgres tests to pass.
2005-07-08 04:13:00 +00:00
Ilia Alshanetsky
ef7bd06657
Added pg_fetch_all_columns() function to fetch all values of a column from
...
a result cursor.
2005-07-08 00:40:32 +00:00
foobar
71d28a82cf
- Fixed stupid bug in PHP_INSTALL_HEADERS() macro: "foo bar" != foo bar
...
- ext/date/lib/timelib_config.h is also installed now
2005-07-07 23:18:22 +00:00
Antony Dovgal
b2141b04d2
do not set error_code to HY000 when there was NO error
...
reset both handle & statement error codes to 0
2005-07-07 23:03:22 +00:00
Antony Dovgal
b0e700524f
free parameter when requested to do so
2005-07-07 23:02:22 +00:00
Ilia Alshanetsky
5156c7b38f
1st set of fixes to make tests work with MySQL
...
# Additional changes pending
2005-07-07 18:49:58 +00:00
Ilia Alshanetsky
e7b930ea9a
Make prepared statements obey buffering flag in MySQL.
2005-07-07 17:53:34 +00:00
Dmitry Stogov
bcd201f522
Fixed SIGSEGV on decoding <any> elements
2005-07-07 17:29:25 +00:00
Wez Furlong
da7d537d49
populate the new dbh->driver field.
...
Implement PDO_ATTR_DRIVER_NAME.
2005-07-07 17:08:01 +00:00
Ilia Alshanetsky
22896664a8
Fixed memory leak
2005-07-07 16:27:46 +00:00
Wez Furlong
294a44a9cb
add an attribute for returning the driver name
2005-07-07 16:24:51 +00:00
Dmitry Stogov
345e0255b5
Fixed bug #33512 (Add missing support for isset()/unset() overloading to complement the property get/set methods)
2005-07-07 16:07:09 +00:00
Ilia Alshanetsky
307f622817
Fixed memory leak.
2005-07-07 15:54:00 +00:00
Wez Furlong
5fe199fb0f
remove old test files
2005-07-07 15:36:00 +00:00
Wez Furlong
4580a7fd8e
using new tests
2005-07-07 15:34:46 +00:00
Wez Furlong
9d37c58059
use new tests
2005-07-07 15:33:06 +00:00
Ilia Alshanetsky
721687e11c
Stop on the 1st skip.
2005-07-07 15:32:32 +00:00
Wez Furlong
b7459aaf7d
adopt new tests
2005-07-07 15:20:06 +00:00
Antony Dovgal
3baf1f7632
fix #33605 (substr_compare() crashes with negative offset & length)
2005-07-07 15:19:40 +00:00
Wez Furlong
3c5b9a6e6a
skip if we can't connect (include reason in skip output)
2005-07-07 15:15:01 +00:00
Ilia Alshanetsky
86028ad122
Return an empty array rather then FALSE in fetchAll() on no results.
2005-07-07 15:14:10 +00:00
Ilia Alshanetsky
703c55577b
Fixed memory leak, after SQLITE_DONE sqlite3_data_count() always returns 0.
2005-07-07 15:13:28 +00:00
Wez Furlong
3fbb2081a1
adopt new tests
2005-07-07 15:04:45 +00:00
Wez Furlong
dc09c2ef9c
DB2 wants us to use the proper ODBC 3 function for closing a cursor.
2005-07-07 14:20:04 +00:00
Wez Furlong
c80b4c7440
Need to state NOT NULL here, as DB2 won't allow the UNIQUE constraint without it.
2005-07-07 14:09:58 +00:00
Wez Furlong
32663f7da7
make column names lower case
2005-07-07 13:59:34 +00:00
Wez Furlong
618afbdfc8
adopt common tests
2005-07-07 13:58:35 +00:00
Wez Furlong
fff515bc46
more paranoia about the attribute param here too
2005-07-07 13:56:39 +00:00
Wez Furlong
1095da42e0
extra paranoia about the attribute param
2005-07-07 13:56:09 +00:00
Wez Furlong
ce3c90414b
Hmm, these ldflags went AWOL.
2005-07-07 13:42:12 +00:00
Ilia Alshanetsky
6c332449f9
Use PQexecParams() when available, use original case in all other instances.
2005-07-07 13:35:39 +00:00
Wez Furlong
f94f36fee8
adopt generic PDO test suite
2005-07-07 13:04:26 +00:00
Wez Furlong
93024bc268
Fix handling of parameter binding.
...
We need to guess at parameter sizing in some cases (eg: MS Access) as the
SQLDescribeParam() API is an optional feature.
Tidy up error handling.
Add workaround for a shutdown bug that I see with MS ODBC implementation.
(working to determine the precise cause of this).
PDO core test suite now passes all tests.
2005-07-07 12:49:21 +00:00
Wez Furlong
68caaadc6a
Fix bug in bindColumn() for drivers that implement native prepared statements
...
and that use the PDO rewriter to handle non-native parameter syntax.
2005-07-07 12:45:40 +00:00
Wez Furlong
576ff830a9
pedantic WS
2005-07-07 12:44:44 +00:00
Wez Furlong
f4681fd86b
It's not portable to expect any consistency between drivers in the return value
...
of an exec() when running DDL; revise test.
2005-07-07 12:42:52 +00:00
Dmitry Stogov
0eb0b781e0
Fixed memory leaks
2005-07-07 11:19:56 +00:00
Rob Richards
b27d49579a
Allow NULL namespaceURI for getAttributeNodeNS
2005-07-07 10:36:08 +00:00
Rasmus Lerdorf
3064cb787d
Missing closing folding marker
2005-07-07 03:53:47 +00:00
Ilia Alshanetsky
10e1eecf3f
Leave it up to the user to decide if to escape the sequence name or not.
2005-07-07 02:17:20 +00:00
Ilia Alshanetsky
bcb447f6b8
Faster sequence id retrieval.
2005-07-07 00:52:19 +00:00
Edin Kadribasic
56dd9f5731
Export missing symbol
2005-07-06 21:18:09 +00:00
Dmitry Stogov
e7217e032c
Fixed possible crash
2005-07-06 14:15:51 +00:00
Wez Furlong
30c916f21a
rename pdo_test.php to pdo_test.inc, add it, and update tests.
2005-07-06 13:19:25 +00:00