Sebastian Bergmann
4223aa4d5e
MFH: Bump year.
2007-01-01 09:36:18 +00:00
Antony Dovgal
2f467baf94
MFH
2006-10-11 11:53:02 +00:00
Antony Dovgal
a81eae5d01
MFH: fix segfault/leak, add test
2006-10-11 11:09:42 +00:00
foobar
5bd93221a8
bump year and license version
2006-01-01 12:51:34 +00:00
foobar
23e671a51e
- Bumber up year
2005-08-03 14:08:58 +00:00
Rui Hirokawa
c30f4ab6ec
oniguruma updated to 3.7.1 and changed UChar to OnigUChar.
2005-03-19 08:52:23 +00:00
Moriyoshi Koizumi
01c0d589ef
- Fix bug #30868 (evaluated pointer comparison in mbregex causes compile
...
failure).
2005-02-21 10:19:11 +00:00
Moriyoshi Koizumi
5b5e012bc2
- Update libmbfl (fixes bug #30549 and #31911 ).
...
- Update oniguruma to 3.7.0
2005-02-20 22:18:09 +00:00
Andi Gutmans
56f8195fe5
- Nuke empty_string. It is a reminanent from the time where RETURN_FALSE()
...
used to return "" and not bool(false). It's not worth keeping it because
STR_FREE() and zval_dtor() always have to check for it and it slows down
the general case. In addition, it seems that empty_string has been abused
quite a lot, and was used not only for setting zval's but generally in
PHP code instead of "", which wasn't the intention. Last but not least,
nuking empty_string should improve stability as I doubt every place
correctly checked if they are not mistakenly erealloc()'ing it or
calling efree() on it.
NOTE: Some code is probably broken. Each extension maintainer should
check and see that my changes are OK. Also, I haven't had time to touch
PECL yet. Will try and do it tomorrow.
2004-07-19 07:19:50 +00:00
Moriyoshi Koizumi
11b0f469f0
- Upgrade bundled oniguruma regex library to 2.2.2 (Rui, Moriyoshi)
...
. Supports various encodings such as BIG5, GB2312 and ISO-8859-*
. Fixes bug #26677 (mbstring compile errors with IRIX)
. Many thanks to K.Kosako.
- Remove redundant files that are not relevant to the build.
2004-02-28 20:45:27 +00:00
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
2004-01-08 08:18:22 +00:00
Moriyoshi Koizumi
f2b36ec52b
Fix php_regex_encoding() so it can handle two additional encoding names
...
mbfilter supports by default.
2003-10-02 07:49:14 +00:00
Moriyoshi Koizumi
83609e0874
Repatch fixes for the problem that was reported at php-dev@php.gr.jp ( #884 )
2003-09-26 17:43:39 +00:00
Moriyoshi Koizumi
1ee441613d
Remove useless mutex code due to the switch to oniguruma.
2003-09-23 20:11:05 +00:00
Rui Hirokawa
ce66e1eb8d
fixed wrong string length in mbregex.
2003-09-23 02:47:06 +00:00
Rui Hirokawa
25bb0d16a9
fixed win32-build and update e-mail address in mbstring.
2003-09-23 02:43:04 +00:00
Rui Hirokawa
5a80df26f3
@mbfilter is changed to bundled version of libmbfl to prevent LGPL licence problem. mbregex is changed to oniguruma.
2003-08-23 06:18:44 +00:00
James Cox
f68c7ff249
updating license information in the headers.
2003-06-10 20:04:29 +00:00
Ilia Alshanetsky
894e2aaf68
emalloc -> safe_emalloc
2003-05-01 21:08:31 +00:00
Moriyoshi Koizumi
8784a497b8
Fixed segfault in mb_ereg_match()
2003-04-03 00:15:13 +00:00
Moriyoshi Koizumi
8b539ed766
Fixed lots of crashes in mbregex.
...
# most of them were caused by stupid mistakes
2003-04-03 00:01:44 +00:00
Moriyoshi Koizumi
2954ea0a01
oops
2003-04-01 18:56:59 +00:00
Moriyoshi Koizumi
1bb22a8bd0
Reverted the last patch; the problem is elsewhere..
2003-04-01 18:56:26 +00:00
Moriyoshi Koizumi
df22d1016f
Fixed crash that occurs due to an abused persistent hashtable.
...
# thanks Sascha again.
2003-04-01 18:44:00 +00:00
Moriyoshi Koizumi
3940c673e3
64bit long fix: patch by Dave Hill
2003-03-04 17:10:29 +00:00
Moriyoshi Koizumi
cfbd0bb58a
Really fixed the mb issue of mb_ereg_replace()
...
# my previous patch is somewhat wrong
2003-01-23 20:38:44 +00:00
Moriyoshi Koizumi
3e7b832895
Fixed a mb_ereg_replace() bug; the function was not completely multibyte-safe.
2003-01-23 20:07:39 +00:00
Moriyoshi Koizumi
812a419019
Oops! wrong patch. Reverted.
2003-01-21 22:09:09 +00:00
Moriyoshi Koizumi
ce5df6d949
Fixed mb_ereg_replace() bug (the function has ignored the default option)
2003-01-21 22:03:29 +00:00
Moriyoshi Koizumi
9a723fcb4e
Fixed mb_ereg_search() segfault that occurs when the function is called
...
before a string to be searched is passed by mb_ereg_search_init()
2003-01-21 19:31:07 +00:00
Ilia Alshanetsky
984c0918ab
Removed pointless memory allocation checks.
2003-01-18 20:10:23 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Moriyoshi Koizumi
de79a4e9d8
Reverted the changes because the problem was elsewhere.
2002-12-02 21:10:37 +00:00
Frank M. Kromann
a7f3ad42a4
Fixing build on WIn32
...
MBREGEX is disabled for now. 5 mbre_* functions are undefined on WIn32
2002-12-02 18:19:17 +00:00
Moriyoshi Koizumi
76b218cb6e
Renamed several internal functions for consistency
2002-11-25 17:20:20 +00:00
Moriyoshi Koizumi
7f1f056f16
Updated license information headers
2002-11-23 20:14:33 +00:00
Moriyoshi Koizumi
6841184abc
Fix build
2002-11-14 19:04:29 +00:00
Moriyoshi Koizumi
dac0b6fc4f
Moved some mbregex related portions from mbstring.c to php_mbregex.c
...
# No need to merge this change to PHP_4_3 branch
2002-11-14 18:54:42 +00:00
Edin Kadribasic
1eddce79dd
MFB (made mbstring compile on windows again).
2002-11-13 23:11:14 +00:00
Moriyoshi Koizumi
e9982c06c7
Reduced compiler warnings
2002-11-02 13:38:32 +00:00
Moriyoshi Koizumi
45361297f3
Fixed mb_ereg_replace() bug
2002-10-30 10:35:55 +00:00
Moriyoshi Koizumi
852117694a
Changed mb_regex_set_options() more informative
2002-10-20 15:11:04 +00:00
Moriyoshi Koizumi
2f88f504c1
Fixed mb_regex_set_options()
2002-10-10 17:00:36 +00:00
Sebastian Bergmann
af8230e28c
Fix ZTS build.
2002-10-08 05:08:39 +00:00
Moriyoshi Koizumi
8f1fb5768b
Fixed typo.
2002-10-07 20:12:48 +00:00
Moriyoshi Koizumi
2e1d931c66
Lots of clean-up for upcoming mbstring merging event.
...
Added mb_regex_set_options().
The Options parameters of various mbregex functions are now deprecated.
@- Added mb_regex_set_options(). The Options parameters of
@ various mbregex functions are now deprecated. (Moriyoshi).
2002-10-07 17:59:49 +00:00
Moriyoshi Koizumi
931e25297b
fixed mb_split (the value of third parameter treated wrongly)
2002-10-07 16:46:42 +00:00
Moriyoshi Koizumi
9b849892ea
MFH
2002-10-07 16:15:36 +00:00
Rasmus Lerdorf
d940131774
Fix build
2002-10-06 16:37:33 +00:00
Moriyoshi Koizumi
a1b3f8382d
added support for aliases of the encodings.
2002-10-06 15:31:52 +00:00