Commit Graph

3312 Commits

Author SHA1 Message Date
Jay Smith
a79c751ae2 Relying on longer matches seems to work better than
matching the whole string with ^...$.
2003-05-30 19:06:34 +00:00
Moriyoshi Koizumi
a51ab0fed0 Fixed bug #23894 (sprintf() decimal specifiers problem) 2003-05-30 13:49:33 +00:00
Moriyoshi Koizumi
3c0071a211 Added test case for bug #23894 2003-05-30 13:48:14 +00:00
Marcus Boerger
25704f0753 Fix memleaks (detected by rrichards@php.net) 2003-05-30 12:28:48 +00:00
Marcus Boerger
97a9bf4dd1 MFB 2003-05-29 12:54:01 +00:00
foobar
3c2f9fd5c0 MFB: php_error_docref -> zend_error (MINIT) 2003-05-27 17:24:59 +00:00
Melvyn Sopacua
e4006659b2 MFB: LC_MESSAGES support 2003-05-27 00:42:39 +00:00
Moriyoshi Koizumi
3cd1ea3154 Changed the test so it would not fail on some old platforms. 2003-05-26 22:16:14 +00:00
foobar
380bf699ae Added regression test for bug #23788 2003-05-26 03:55:08 +00:00
Ilia Alshanetsky
2e361db1fe Fixed bug #23788 (str|preg_replace clober the array elements).
# Should this be MFBed to 4.3 branch?
2003-05-25 21:48:57 +00:00
Marcus Boerger
0b0e0e9511 Update after fix 2003-05-24 17:12:58 +00:00
Marcus Boerger
e035046ac2 Add new test 2003-05-24 17:10:34 +00:00
Marcus Boerger
3b2fa8bb96 Fix namespace related problems 2003-05-24 17:10:03 +00:00
Marcus Boerger
7ff718f455 Make this a warning 2003-05-23 20:51:49 +00:00
foobar
a747e1b768 added another test case (due to the problems we saw with 4.3.2RC4) 2003-05-22 23:59:37 +00:00
Sara Golemon
af5e2af752 Setup FG(default_context) in RINIT/RSHUTDOWN instead of fg_ctor/fg_dtor.
Frees context at right time without double freeing.
2003-05-21 21:36:51 +00:00
Sterling Hughes
24eee37fed seems there is only the stupid way to be stupid (implode copying array
elements)
at least we check for IS_STRING, which should clear this up 90% of the time
2003-05-21 17:44:08 +00:00
Sterling Hughes
90ae4e0095 be stupid, but at least be smart about being stupid. 2003-05-21 17:38:17 +00:00
Sterling Hughes
8d5c30c14b make brian happy 2003-05-21 16:52:09 +00:00
Wez Furlong
2d1a6e5dc2 MFB context refcounting and text-mode fopen fixes 2003-05-21 13:33:55 +00:00
Marcus Boerger
e504166277 This depends on libc and CPU used 2003-05-21 07:23:45 +00:00
Sara Golemon
83b7b75c3c Implement default contexts. For the moment this is useless
but it will be used soon for connection pooling.
2003-05-21 04:04:50 +00:00
Sterling Hughes
3c6fd35007 initialize these to NULL 2003-05-20 18:18:56 +00:00
Jay Smith
515f0e3f71 Make get_browser() try harder to find better matches. 2003-05-20 17:59:16 +00:00
Sterling Hughes
9ac50a13d7 convert array functions to use fast_call_user_function(), gives a nice
performance win.
2003-05-20 16:46:53 +00:00
Hartmut Holzgraefe
78b874f85e C++ extensions build fix 2003-05-20 13:32:21 +00:00
Marcus Boerger
4a11372805 Fix Test (2nd time) 2003-05-20 00:09:47 +00:00
Marcus Boerger
0c77fef23a Fix Test 2003-05-19 22:16:58 +00:00
Sara Golemon
8e9c159f75 The bucket rewrite was done some time ago... 2003-05-19 18:40:11 +00:00
Derick Rethans
92f0da58e6 - Rename stream_register_filter() to stream_filter_register(),
stream_register_wrapper() to stream_wrapper_register() and added an alias for
  the latter change.
2003-05-19 15:35:06 +00:00
Ilia Alshanetsky
8e3772a827 Added skip condition. 2003-05-19 04:57:01 +00:00
foobar
422309353d CS 2003-05-18 14:55:18 +00:00
Marcus Boerger
66a3e8deb7 Fix test (for now - need EXPECTF/EXPECTREGEX) 2003-05-18 12:10:03 +00:00
Marcus Boerger
dbf0d7572e Fix unserialize (commit later) 2003-05-18 12:09:08 +00:00
Marcus Boerger
2307193255 Fix unserialize 2003-05-18 12:08:51 +00:00
Moriyoshi Koizumi
80c75c4d62 MFB(r-1.1.2.7): fix test 2003-05-17 20:06:00 +00:00
Sebastian Bergmann
85a13e3e9a Fix warnings. 2003-05-17 06:21:34 +00:00
Sara Golemon
8924395720 MFB(r-1.333.2.27) Bugfix 23654. If subject is an array and it contains other arrays, we want to pass those subarrays through unchanged rather than attempt to convert them to string. 2003-05-16 23:30:08 +00:00
Ilia Alshanetsky
7e2a99d091 Fixed bug #23657 (Missing initialization in browscap module init) 2003-05-16 15:13:47 +00:00
Moriyoshi Koizumi
27b8c453b9 copy'n'paste failure 2003-05-16 06:24:57 +00:00
Moriyoshi Koizumi
3d2b9af9eb Added test case for bug #23650 2003-05-16 06:20:23 +00:00
Moriyoshi Koizumi
8cbb6b6341 Fixed bug #23650 (strip_tags() removes hyphens) 2003-05-16 06:19:51 +00:00
Ilia Alshanetsky
e2444c223b MFB 2003-05-16 01:09:58 +00:00
Moriyoshi Koizumi
f78ec11339 Fixed test so it won't fail in case the output handler is enabled 2003-05-15 19:20:31 +00:00
Sara Golemon
022a1625a3 Implement unlink() method in ftp wrapper ops and do some general cleanup of other code 2003-05-14 18:02:10 +00:00
Sara Golemon
65d359d71a Fold 'options' parameter into wops->unlink method 2003-05-14 15:12:07 +00:00
Sascha Schumann
31dc62a905 MFB segfault fix 2003-05-14 08:27:48 +00:00
Sara Golemon
5126fbe556 Setup unlink() method in wrapper_ops structure, implement unlink in plainfiles wrapper, explicitly set method NULL in other wrappers (for now), and rewrite unlink userland function to call into wrapper_ops 2003-05-14 06:10:04 +00:00
Moriyoshi Koizumi
4e9e9c6e21 Fixed bug #22463 and bug #23581 2003-05-11 06:36:37 +00:00
Moriyoshi Koizumi
065a192411 Added a test case for bug #23581 2003-05-11 06:33:35 +00:00
Moriyoshi Koizumi
b666d8c679 Added test case for bug #22463 2003-05-11 02:37:17 +00:00
Moriyoshi Koizumi
598dba147d Fixed test case so it reflects the recent change on var_dump() 2003-05-08 23:23:02 +00:00
Moriyoshi Koizumi
ea39409c60 Added missing break 2003-05-08 16:45:59 +00:00
Moriyoshi Koizumi
e911b39158 Added "€" support for htmlentities() and html_entity_decode() 2003-05-08 15:43:34 +00:00
Moriyoshi Koizumi
ee86979e21 I should have tested more carefully.. 2003-05-08 15:39:24 +00:00
Moriyoshi Koizumi
6ed4fd1666 Improved html_entity_decode() so it can handle multibyte charsets and
numeric entities.
2003-05-08 10:42:20 +00:00
Ilia Alshanetsky
b20df54af7 Make serialize precision a configurable option. 2003-05-08 01:23:21 +00:00
Sara Golemon
13191aa841 Revert, this caused more trouble than it fixed. 2003-05-07 20:33:53 +00:00
Moriyoshi Koizumi
29f346d7d7 Removed redundant TSRMLS_FETCH's 2003-05-07 17:40:46 +00:00
Sara Golemon
451cd602f6 HINFO RDATA is <label><label> not <nshort><nshort> 2003-05-06 19:51:46 +00:00
Ilia Alshanetsky
7f404846ad s/g/G/ 2003-05-05 22:21:29 +00:00
Ilia Alshanetsky
a7591863fd Fixed tests to reflect full float values. 2003-05-05 19:57:32 +00:00
Moriyoshi Koizumi
b874a54846 Added links to HTML entity resources 2003-05-05 19:50:15 +00:00
Hartmut Holzgraefe
e6490c4a41 basename() now binary safe, testcases added 2003-05-05 13:46:14 +00:00
Hartmut Holzgraefe
e364d1f589 proto fix 2003-05-05 12:36:35 +00:00
Thies C. Arntzen
747822c616 fixed FMR 2003-05-05 12:17:02 +00:00
Ilia Alshanetsky
88bafcb7a5 Safer implementation.
Thanks Marcus.
2003-05-04 19:09:54 +00:00
Ilia Alshanetsky
75c01dd66b Fixed bug #23298 (serialize cuts off floats & doubles) 2003-05-04 18:41:02 +00:00
Moriyoshi Koizumi
b44ae54bc6 Real fix and a test case for bug #22008 2003-05-04 12:44:36 +00:00
Moriyoshi Koizumi
e9c903ad3f A quick fix for bug #22008
# BTW I'm working on an enhanced strip_tags implementation with re2c, which
# will feature more CSS awareness and more stateful scanning.
2003-05-04 11:45:58 +00:00
Moriyoshi Koizumi
1dfc59f6d8 Added missing sanity check
# likely a fix for bug #23457
2003-05-04 11:19:57 +00:00
Moriyoshi Koizumi
7638a25fef Fixed bug #23449 2003-05-02 11:00:42 +00:00
Andrey Hristov
a894bf5c87 Extending substr_replace().
Every parameter can be mixed (string/array) also the return type.
#see the test file if you need more info.
2003-05-02 10:02:40 +00:00
Sara Golemon
07c679064a Bug Fix (22433). When the bottom of a range() is chr(0) or the top is chr(255), the for loop carries over and never exits. 2003-05-02 00:58:02 +00:00
Moriyoshi Koizumi
193fe6863a Really fix the test.
# sorry for the mess..
2003-04-30 16:30:44 +00:00
Sara Golemon
5d3a8e4ce7 Add support for SRV and NAPTR records to dns_get_record() and dns_check_record()
Feature Request #23407
2003-04-29 22:02:01 +00:00
Wez Furlong
89503b163e Fix dirname() under win32.
The calculated length would be off-by-two under windows, which resulted in bogus dirnames.
2003-04-29 13:35:48 +00:00
Moriyoshi Koizumi
180806f9e6 Fixed typo 2003-04-29 13:05:58 +00:00
Moriyoshi Koizumi
cc9b7895a0 Fixed bogus skip condition 2003-04-29 13:04:19 +00:00
Jay Smith
ab1124b014 A few fixes Uwe suggested, plus plugged a memleak and a possible
overrun.
2003-04-28 21:49:47 +00:00
Derick Rethans
9ab3ad2963 - Commit the .c file too... 2003-04-28 18:52:59 +00:00
Derick Rethans
cd13464709 - Make them available on Windows too from other files. 2003-04-28 18:41:32 +00:00
Sascha Schumann
e422f56dff improve php_url_encode 2003-04-28 16:24:14 +00:00
Moriyoshi Koizumi
f4c9feb774 Added missing sanity check in fgetcsv() 2003-04-28 15:04:56 +00:00
Wez Furlong
169b3f72ed Fix for #23340; fopen on multiple urls from the same server crashes. 2003-04-28 14:41:36 +00:00
Sara Golemon
bb48c7d861 Take STREAMS_CC/STREAMS_DC declarations out of do_connect/do_pasv where they don't need to be. Add minimalist url_stat method to ftp:// wrapper which can at least determine filesize. Other properties set to 0 since the FTP protocol simply doesn't support exploring them. url_stat won't actually work however until ext/standard/filestat.c is patched to allow stat wrappers. 2003-04-26 01:55:31 +00:00
Sara Golemon
2d558127af No idea how that character dissapeared. 2003-04-24 22:25:33 +00:00
Sara Golemon
2fc1d2c330 Fix error handling bug I just introduced (php_ftp_fopen_connect == NULL) and add append support to wrapper 2003-04-24 21:21:41 +00:00
Sara Golemon
228f65f889 Abtract some ftp connection/negotiation steps out and add support for stream_opendir. This allows things like opendir('ftp://ftp.foo.com/path') 2003-04-24 20:32:14 +00:00
David Hill
cec89b2446 Fix compiler error on null statement in switch 2003-04-24 18:01:26 +00:00
Rasmus Lerdorf
0d248d81a6 MFB: &039; which is a single-quote may also come in as &39;
I see no reason not to support both in html_entity_decode()
2003-04-22 20:47:09 +00:00
Sara Golemon
cb89565ba4 Feature Request #7121.
Allow overwritting of files via ftp:// wrapper.
Requires context option:  $context['ftp']['overwrite'] != 0
2003-04-22 04:13:09 +00:00
Sascha Schumann
c523fc4766 Add vr class
Noticed by: Jon Parise
2003-04-22 03:21:29 +00:00
Moriyoshi Koizumi
c591d4decd Reduced leaks in userland filters 2003-04-21 18:43:36 +00:00
Moriyoshi Koizumi
cf620ddfdb Unified all those redundant printf's 2003-04-21 18:00:41 +00:00
Stanislav Malyshev
5a904d6ea8 Update to latest inteface change for get_class_name 2003-04-21 17:03:29 +00:00
Sara Golemon
7c8c09b3cf Revert change to stream_copy_to_stream() 2003-04-20 01:18:58 +00:00
Marcus Boerger
9e19524c5e Access the struct directly here 2003-04-19 19:06:52 +00:00
Ilia Alshanetsky
6bc4ce43d0 Do not hardcode php path. 2003-04-19 18:10:54 +00:00
Ilia Alshanetsky
e4c38aec5a Do not make the test rely on the availability of the cat command. 2003-04-19 17:45:46 +00:00