Commit Graph

16610 Commits

Author SHA1 Message Date
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
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