Commit Graph

4657 Commits

Author SHA1 Message Date
Dmitry Stogov
fc03492c0b Fixed memory leaks 2005-08-25 13:53:38 +00:00
Dmitry Stogov
b01df7d793 Fixed access to uninitialized variables 2005-08-25 07:56:15 +00:00
e992d178bc ChangeLog update 2005-08-25 05:43:45 +00:00
Andrei Zmievski
d0d6a1f16f - Require declare(encoding=...) to come before any opcodes. Read source
comments for more info.
- Op arrays now know which script encoding they were compiled from.
- Use this information to intelligently convert inline HTML blocks to
  the output encoding. Currently it opens and closes a new converter for
  each block, but we can optimize it.
2005-08-24 20:42:09 +00:00
Dmitry Stogov
5820ee959e Fixed return-by-reference from internal functions 2005-08-24 10:41:51 +00:00
85989c29be ChangeLog update 2005-08-24 05:33:46 +00:00
Andrei Zmievski
ec65bc1039 Implement Unicode support for strncasecmp(). 2005-08-23 22:05:22 +00:00
Andrei Zmievski
291c282cce Damn. 2005-08-23 21:08:35 +00:00
Andrei Zmievski
e3ec5efc5e - Rewrite zend_u_binary_strncmp() to work on codepoint level. Calling
u_strCompare() doesn't help because it assumes that the input lengths
  specify the number of UChar's.
- Change zend_u_binary_strcmp() to use u_strCompare() (and it's fine to
  use it here, since we work with whole strings here).
2005-08-23 20:11:59 +00:00
Andrei Zmievski
df3a14953e This was so embarassingly silly. 2005-08-23 16:37:24 +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
Dmitry Stogov
24743055a3 Changed is_a() and is_subcalls_of() functions to not call __autoload() (in the same way as "instanceof" operator). 2005-08-23 07:23:30 +00:00
Dmitry Stogov
cfe1dcb6e9 Unicode support for strncasecmp() 2005-08-23 06:51:11 +00:00
a02b4ebd63 ChangeLog update 2005-08-23 05:45:43 +00:00
Andrei Zmievski
26d10c5c76 Unicode support for strcasecmp(). 2005-08-22 22:17:19 +00:00
Andrei Zmievski
ce0001996b We should use u_memcpy() whenever possible, to simplify code. 2005-08-22 17:48:17 +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
Dmitry Stogov
6fad26469c Fixed memory leak 2005-08-22 06:56:26 +00:00
056084632b ChangeLog update 2005-08-20 05:39:48 +00:00
Andrei Zmievski
87f0bee331 Unicode support for strcmp()/strncmp(). 2005-08-19 23:15:36 +00:00
Andrei Zmievski
da4721427a *** empty log message *** 2005-08-19 22:33:39 +00:00
Dmitry Stogov
90393d675f Unicode support 2005-08-19 13:20:16 +00:00
Dmitry Stogov
0475054c7c Unicode support 2005-08-19 11:56:03 +00:00
Dmitry Stogov
b0e24970bb Unicode support cleanup 2005-08-19 10:54:26 +00:00
Dmitry Stogov
d90d6c5d2b nstanceof operator shouldn't call __autoload() 2005-08-19 08:11:16 +00:00
dec714885d ChangeLog update 2005-08-19 05:37:01 +00:00
Andrei Zmievski
fe71ae29d9 - Implement zend_codepoint_to_uchar().
- Rename and fix zend_get_unified_string_type() so that it does not
  allow mixing of binary and Unicode types.
2005-08-18 22:33:23 +00:00
Dmitry Stogov
8a749ee333 Suppoer for unicode exception messages 2005-08-18 15:42:46 +00:00
Dmitry Stogov
74dafa95d1 Unicode support for extract() 2005-08-18 15:14:08 +00:00
Antony Dovgal
e27521e578 fix memleak 2005-08-18 15:13:15 +00:00
Ilia Alshanetsky
6ebfbd15d5 Fixed bug #34156 (memory usage remains elevated after memory limit is reached) 2005-08-18 15:02:10 +00:00
foobar
45ed0b936b - Removed EOL from error message 2005-08-18 12:34:13 +00:00
Dmitry Stogov
0f026c9fb7 Unicode support 2005-08-18 10:18:40 +00:00
Dmitry Stogov
1865a48752 *** empty log message *** 2005-08-18 07:34:49 +00:00
Dmitry Stogov
09a3c92df7 We don't need EMPY_STRING here. This function is execuited in non-unicode context only. 2005-08-18 06:33:44 +00:00
3d75fd980a ChangeLog update 2005-08-18 05:51:13 +00:00
Marcus Boerger
26d72ec348 - Fix TSRM 2005-08-17 20:02:45 +00:00
Andrei Zmievski
042bb6a306 Disallow mixing binary and Unicode types when T specifiers are used. 2005-08-17 18:15:18 +00:00
Andrei Zmievski
3d8b32a0e3 - Introduce 'y' specifier for functions expecting binary data.
- convert_to_binary() now uses convert_to_string() in non-Unicode mode.
2005-08-17 17:30:02 +00:00
Dmitry Stogov
8c33fcf7ce Unicode mode doesn't allow non-unicode properties 2005-08-17 17:07:52 +00:00
Andrei Zmievski
eee20001fd Bump up Zend version to 3.0.0
# I think the changes made due to Unicode support justify it.
2005-08-17 16:43:11 +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
9854402cb7 Unicode support 2005-08-17 10:24:38 +00:00
edb7d19f58 ChangeLog update 2005-08-17 05:32:47 +00:00
Andrei Zmievski
9bd026e6b4 Fix it here too 2005-08-16 18:21:04 +00:00
Andrei Zmievski
250726f95b Z_UNI* are the right macros to use. 2005-08-16 18:10:40 +00:00
Dmitry Stogov
903406ef8f Unicode support 2005-08-16 14:33:02 +00:00
Dmitry Stogov
8063984f4b Fixed memory leak 2005-08-16 10:49:38 +00:00