Commit Graph

31432 Commits

Author SHA1 Message Date
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
Dmitry Stogov
fbf8880292 Fixed var_dump() identation bug 2005-08-15 07:19:10 +00:00
Dmitry Stogov
fceb6086b2 Fixed another print_r() bug 2005-08-15 07:12:52 +00:00
Dmitry Stogov
feff569e96 Fixed print_r() in unicode mode. 2005-08-15 06:34:20 +00:00
de360b9d6d ChangeLog update 2005-08-15 05:41:46 +00:00
Marcus Boerger
bc4202473e - Simplify and make work in all modes 2005-08-14 21:26:01 +00:00
Marcus Boerger
b7e23d00c6 - Need to terminate [v]uspprintf() with two \0 2005-08-14 21:04:52 +00:00
Ilia Alshanetsky
383673b508 Fixed build. 2005-08-14 20:24:34 +00:00
Marcus Boerger
5e298240d6 - Where did my backslash vanish? 2005-08-14 20:12:51 +00:00
Marcus Boerger
d0c6d77b9e - Handle different cases of the actual strings correctly 2005-08-14 20:11:05 +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
444befd82b - Treat class_name in the exact same manner as prop_name before 2005-08-14 15:19:45 +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
Wez Furlong
7d44da10b6 tidy up implicit_mode handling; spotted by Nuno
There's probably a much more efficient way to do this than the current strchr stuff.
2005-08-14 13:48:29 +00:00
Johannes Schlüter
9ce521ec03 - Fix tab-completion in unicode mode and for constants. 2005-08-14 13:09:34 +00:00
6373103906 ChangeLog update 2005-08-14 05:35:00 +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
b282b4d1ec a bit of pedantic ws 2005-08-13 19:22:03 +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
87ed16b368 ChangeLog update 2005-08-13 05:32:26 +00:00
Wez Furlong
c2d2151654 make the icu library detection more friendly.
Also note that we can only probe for libraries after we've set up the
implicit php_build path.
2005-08-13 02:47:24 +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
Marcus Boerger
7c14b0169a - Unicode
# We probably might want to move spprintf.c/h into Zend now
2005-08-13 01:31:14 +00:00
Marcus Boerger
fe273229b7 - This might already be defined 2005-08-13 00:37:08 +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
6bd0350af8 make valgrind and gcc happy 2005-08-12 23:21:29 +00:00
Antony Dovgal
29573483de initialize key type when adding next index 2005-08-12 22:53:13 +00:00
Antony Dovgal
b40db3bcb8 allow default_charset & default_mimetype to be changed during runtime 2005-08-12 21:46:14 +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
Wez Furlong
4375c3fd7a /GB option is the default; remove it.
Add compiler version checks, as vs.net 2005 has dropped support for /YX and /GB
options, and deprecated ANSI stdio (in favour of more secure, non-standard
versions).
2005-08-12 20:05:19 +00:00
Antony Dovgal
363d0aa028 fix fgetc() & compile warnings 2005-08-12 19:27:45 +00:00
Antony Dovgal
9ab69a286b fix typo noticed by Nuno 2005-08-12 19:02:22 +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
Andrei Zmievski
c699b51a0e Update. 2005-08-12 18:14:26 +00:00
Antony Dovgal
969c533b83 fix compile warnings 2005-08-12 18:03:55 +00:00
Andrei Zmievski
3abcd65161 *** empty log message *** 2005-08-12 17:29:21 +00:00
Andrei Zmievski
13a179d837 Add unicode macros for when Zend memory manager is disabled. 2005-08-12 17:14:21 +00:00
Antony Dovgal
e458e45486 fix array_merge() adding one superfluous byte to the key 2005-08-12 16:49:20 +00:00