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
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
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
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
Marcus Boerger
5085c21d7e
- TSRM Fix
2005-08-16 20:22:33 +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
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
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
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
Ilia Alshanetsky
7cd5109184
input validation.
2005-08-15 16:01:43 +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
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
Marcus Boerger
b3b53b6640
- ntive is better than standard (Andrei)
2005-08-13 21:18:47 +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
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
369d59c20b
Fixed str_repeat() bug
2005-08-12 13:41:15 +00:00
Sebastian Bergmann
6b98cc4ef5
Patch by Michael Wallner, signed off by Edin Kadribasic.
2005-08-12 10:10:41 +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
Andrei Zmievski
264cec8be6
Unicode support.
2005-08-11 23:36:07 +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
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
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
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
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
foobar
000a9e3015
- Fixed problem with -dextension=foobar.so not having it's MINIT run.
2005-08-08 16:49:44 +00:00
foobar
df5cfe27b4
- Fixed bug #29334 (mail() provides incorrect message time header)
2005-08-07 22:06:29 +00:00
foobar
3982f722c2
Skip test on solaris
2005-08-05 09:19:43 +00:00
Dmitry Stogov
98e70ab585
Fixed bug #33989 (extract($GLOBALS,EXTR_REFS) crashes PHP)
2005-08-04 10:34:39 +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
be10050d8f
Added test for bug #25359
2005-07-30 13:37:57 +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
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
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
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
Dmitry Stogov
e4b1fb6455
Recursion protection
2005-07-21 07:18:02 +00:00
foobar
db138c59d4
MFB4_4: Fix compile problem with --regex=system on some systems
2005-07-18 23:17:24 +00:00
Dmitry Stogov
70bd938bbd
Fixed bug in new module statrup mechanism
2005-07-18 16:20:08 +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
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
Sara Golemon
45f624adc4
Route ftp:// wrapper via transports layer.\nFix typo in datastream crypto startup
2005-07-13 23:28:22 +00:00
Ilia Alshanetsky
fa4ea0fff4
Added support for LOCK_EX flag for file_put_contents().
2005-07-12 17:55:38 +00:00
Antony Dovgal
38e4fb09e0
fix tsrm build
2005-07-08 18:16:46 +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
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
3baf1f7632
fix #33605 (substr_compare() crashes with negative offset & length)
2005-07-07 15:19:40 +00:00
foobar
887f44a9dd
- Fixed crash in serialize() + classes. (64bit only)
2005-07-05 23:48:44 +00:00
Ilia Alshanetsky
c933634253
Fixed crash inside stream_get_line() when length parameter equals 0.
2005-07-05 19:24:07 +00:00
Dmitry Stogov
1d33a3e95e
Fixed bug #31158 (array_splice on $GLOBALS crashes)
2005-07-04 10:01:10 +00:00
Derick Rethans
8aa3554d19
- Reimplemented time(), getdate() and localtime() functions with new datetime
...
library.
2005-07-03 20:45:08 +00:00
Derick Rethans
0ef991e5ae
- Fixed bug #33532 (Different output for strftime() and date()).
...
- Re-implemented checkdate(), strftime() and gmstrftime() with the new timelib
code.
2005-07-03 19:14:55 +00:00
Derick Rethans
d3c83378eb
- Move mktime/gmmktime related tests from ext/standard to ext/date.
2005-07-03 14:36:59 +00:00
Derick Rethans
ed02f202f0
- Fixed bug #30096 (gmmktime does not return the corrent time).
...
- Re-implemented mktime and gmmktime with new date time library.
- Added testcase for bug #30096 , updated test cases for E_STRICT warning of
is_dst parameter usage for mktime/gmmktime.
2005-07-03 14:27:31 +00:00
Anantha Kesari H Y
98a2eeacc7
As fork implementation of NetWare LibC still in experimental stages making the procve based solution ahead of HAVE_FORK. Later When fork becomes stable will revert this fix.
...
--Kamesh from hyanantha's account
2005-07-01 06:49:29 +00:00
Derick Rethans
e155585e6e
- Reimplemented date and gmdate with new timelib code.
...
- Removed old date/gmdate implementations.
- Moved date() related testcases to ext/date/tests.
- Implemented bug #33452 .
- Fixed testcase for bug #27719 - there is no timezone called "EST5DST".
2005-06-30 21:38:06 +00:00
foobar
6cea418c31
Netware also uses autoconf based config now
2005-06-30 14:11:13 +00:00
Dmitry Stogov
2ca2dc0b08
Restored old behavior of zend_statup_module()
2005-06-30 13:43:00 +00:00
foobar
340bcffdf0
- Unify (+ spl can't be build shared so COMPILE_DL_SPL
2005-06-30 11:15:00 +00:00
Johannes Schlüter
44c021d851
- Fix TSRM build
2005-06-29 09:28:44 +00:00
foobar
a66eb331f0
- Regenerated with re2c 0.9.8
2005-06-28 23:16:49 +00:00
Stanislav Malyshev
62d4d8b8d2
fix handling of non-PHP classes (John Coggeshall)
2005-06-28 09:46:30 +00:00
Ilia Alshanetsky
49c233212b
Fixed bug #32160 (copying a file into itself leads to data loss).
2005-06-22 16:13:47 +00:00
foobar
8566f52297
"64M should be enough for everyone." -- Jani, 2005 :)
2005-06-22 12:54:04 +00:00
Dmitry Stogov
27374bfaf5
Fixed bug #31213 (Sideeffects caused by fix of bug #29493 )
2005-06-21 12:10:51 +00:00
foobar
6f3b02cba4
typo
2005-06-20 11:10:11 +00:00
Derick Rethans
3cdc895213
- Added backward compability wrapper "php_parse_date()".
...
- Changed WDDX extension to use new date parsing code.
- Removed all remnants to the old parser.
#- I hope that I didn't break the .dsp's...
2005-06-19 22:15:27 +00:00
Ilia Alshanetsky
b9575ead72
make substr_count() 30% when counting instances of 1 byte long strings.
2005-06-19 16:31:51 +00:00
Ilia Alshanetsky
67ea97dfdf
Added offset & length parameters to substr_count() function.
2005-06-18 18:23:12 +00:00
foobar
a104447d46
Make sure $_ENV is populated
2005-06-18 02:24:37 +00:00
foobar
f2ddefcc56
- This is no bug.
2005-06-18 02:06:31 +00:00
Ilia Alshanetsky
bcd33d5f18
Added offset parameter to the stream_copy_to_stream() function.
2005-06-17 23:29:20 +00:00
Antony Dovgal
8d2dd7901c
add news entry and test for bug #33382
2005-06-17 10:53:15 +00:00
Dmitry Stogov
f47c78487b
Improved PHP extension loading mechanism with support for module dependencies and conflicts
2005-06-17 09:39:23 +00:00
Derick Rethans
b7ea5dc5f4
- Move strtotime() related testcases to ext/date/tests.
2005-06-16 17:35:08 +00:00
Wez Furlong
b680c5c5e1
Don't emit the E_STRICT dl-is-deprecated notice on SAPI's where dl() is widely (and safely) used.
...
This allows our test-suite to run in E_STRICT mode.
2005-06-16 15:36:39 +00:00
Wez Furlong
4de4565710
Fix compile on win32 at least.
2005-06-16 15:03:36 +00:00
Derick Rethans
f847c6f948
- Update maintainers and credits.
2005-06-16 10:44:41 +00:00
Andrei Zmievski
be0458269e
WS fix
2005-06-15 21:20:26 +00:00
Andrei Zmievski
ec09711101
Fix FCI cache for array_walk and user array compare functions. Bug
...
#33286 . (Patch from m.bretz@metropolis-ag.de )
2005-06-15 20:51:33 +00:00
Derick Rethans
4fb4cac65c
- Add my new timelib and ext/date. For now only strtotime() makes use of this.
2005-06-14 21:32:29 +00:00
Ilia Alshanetsky
ba93fc60af
Removed unused var.
2005-06-12 17:07:20 +00:00
Hartmut Holzgraefe
55b5376d19
Support for GLOB_ERR so that glob() reports permission problems (Bug #28355 )
2005-06-12 07:53:24 +00:00
Hartmut Holzgraefe
d5adc7ceff
thinko fix (E_COMMIT_AFTER_MIDNIGHT)
2005-06-12 01:13:24 +00:00
Hartmut Holzgraefe
4440d3897e
Removed bogus fix for bug #28355 (it was dead code anyway)
2005-06-12 00:59:04 +00:00
foobar
8030941485
revert
2005-06-11 23:53:21 +00:00
foobar
467db93099
regenerated with re2c 0.9.7
2005-06-11 18:00:37 +00:00
Dmitry Stogov
4c0970bec6
Fixed reference counting and probable crash on fclose() or shutdown
2005-06-09 08:19:30 +00:00
Dmitry Stogov
72c6d5cbaf
Fixed memory allocation bugs in array_reduce() with initial value ( #22463 & #24980 )
2005-06-08 19:54:24 +00:00
Dmitry Stogov
415ec46927
Fixed incorrect usage of zend_mangle_property_name() (valgrind errors)
2005-06-08 15:48:12 +00:00
foobar
7101cd821a
- It is nice to close the script with ?>..
2005-06-07 21:39:54 +00:00
Derick Rethans
7a3dbcd1c4
- Added the --disable-zend-memory-manager switch to disable the Zend memory
...
manager.
#- I discussed this with Dmitry today - we found it useful.
2005-06-07 13:36:08 +00:00
Derick Rethans
c6ae4a98be
- Fixed bug #33242 (Mangled error message when stream fails).
2005-06-06 12:39:57 +00:00
Derick Rethans
ad21bb1baa
- That should have been removed, not commented out.
2005-06-02 08:51:20 +00:00
Derick Rethans
90f4590d87
- Fixed memory corruption in stristr().
2005-06-02 08:29:37 +00:00
foobar
f887ae2e80
touch
2005-06-02 05:49:56 +00:00
Ilia Alshanetsky
fd396287d0
Fixed bug #33210 (relax jpeg recursive loop protection).
2005-06-01 22:28:03 +00:00
Dmitry Stogov
9383e1b858
Fixed bug #30791 (magic methods (__sleep/__wakeup/__toString) call __call if object is overloaded)
2005-06-01 11:03:58 +00:00
foobar
156a908997
- Fixed bug #33200 (preg_replace(): magic_quotes_sybase=On makes 'e' modifier misbehave)
2005-05-31 12:54:56 +00:00
foobar
8defc849cc
Touch
2005-05-31 09:41:46 +00:00
foobar
b185ee0315
- Fixed bug with unserialize() with "exotic" letters in class names
...
# Patch by: Christian Schneider <cschneid@cschneid.com>
2005-05-31 09:41:36 +00:00
foobar
a20383ba06
- Unify the "configure --help" texts
2005-05-29 23:17:16 +00:00
Andrei Zmievski
3d2944863c
Do a cache flush if we detect possible cache corruption (same as for
...
PCRE).
2005-05-26 21:48:35 +00:00
Ilia Alshanetsky
fddaa54410
Added scheme validation for parse_url().
2005-05-26 03:56:21 +00:00
Stanislav Malyshev
47294288fe
fix is_object() on non-php objects
2005-05-25 10:57:40 +00:00
foobar
396affc81e
nuked unused header file
2005-05-24 15:24:33 +00:00
Antony Dovgal
4ce95ef1ea
fix bug #33076 (str_ireplace() incorrectly counts result string length and may cause segfault)
...
add test
2005-05-20 14:23:42 +00:00
Antony Dovgal
d5bb03b11a
fix bugs #32742 (segmentation fault when the stream with a wrapper is not closed),
...
#32171 (Userspace stream wrapper crashes PHP)
2005-05-16 08:37:14 +00:00
Andrey Hristov
0e459321bf
move math_standard_deviation and math_variance to the stats PECL extension
2005-05-13 10:11:19 +00:00