Commit Graph

68 Commits

Author SHA1 Message Date
Felipe Pena
8ecf8ede1f - Removed:
- UG(unicode) checks
       - pcre_cache_entry.unicode_mode
- Changed:
       - ZEND_STR_TYPE -> IS_UNICODE
       - convert_to_text -> convert_to_unicode
       - convert_to_text_ex -> convert_to_unicode_ex

(Felipe, Steph)
2009-03-26 20:02:53 +00:00
Marcus Boerger
d4f5b3f0a9 - This is PHP 6 - if this ... ever gets out 2009-03-10 23:40:06 +00:00
Sebastian Bergmann
7f4dc8702a Bump copyright year, 3 of 3. 2008-12-31 11:12:40 +00:00
Felipe Pena
c38d183090 - Fixed segfault [only in this branch] 2008-11-22 15:44:07 +00:00
Felipe Pena
43791516db - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro (again!) 2008-11-17 11:26:25 +00:00
Felipe Pena
e006a89e71 - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:10:13 +00:00
Antony Dovgal
7ddf58a438 fix build 2008-11-02 21:06:46 +00:00
Jani Taskinen
18c706e05f - Fixed the fix (bug #46460) 2008-11-01 23:08:52 +00:00
Lars Strojny
6d2dfa4eb0 The real fix for the gettext overflow bug
- The overflow issue was not limited to domains, but also present for msgids
 - [DOC] msgids are now limited to 4096 chars, domains to 1024
2008-10-30 14:22:21 +00:00
Ilia Alshanetsky
dc6ae4b11b MFB: Fixed bug #44938 (gettext functions crash with overly long domain). 2008-10-29 21:02:14 +00:00
Felipe Pena
7eb2715464 - Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:34:17 +00:00
Felipe Pena
2e0054bfec - Fix crash when NULL is passed to bindtextdomain() (sync with 5_3) 2008-07-29 16:21:38 +00:00
Sebastian Bergmann
9b620d50b4 Bump copyright year, 2 of 2. 2007-12-31 07:12:20 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
Antony Dovgal
7511c4ac18 return false if realpath()/getcwd() fail 2007-01-16 14:42:14 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Michael Wallner
63f4d8e08b - return domain in FS encoding
- use ZSTR_DUPLICATE
2006-11-17 13:37:02 +00:00
Michael Wallner
ea6a9ff145 - unicode upgrade
# as setlocale() throws an E_STRICT deprecated warning, I guess we'll
  see ICU message catalogue support?
2006-11-15 17:14:50 +00:00
Antony Dovgal
13427fc603 fix segfaulting typo in dcngettext() =)
add new test
2006-09-05 10:35:53 +00:00
Hannes Magnusson
a0c41f3e95 Added arg info
Fixed protos
2006-06-14 21:29:22 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Edin Kadribasic
5ec7c94a95 Fixed bug #29264. Newer libintl redefines function names so all
PHP gettext function names become prefixed with libintl_
2004-07-29 22:23:23 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
foobar
258d5838bb - Fixed bug #24402 (Compile failure with gettext 0.12.x) 2003-09-24 02:07:04 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Sascha Schumann
a0d1331137 Fix segfault in bindtextdomain when first parameter was empty.
The Linux man page states: domainname must be a non-empty string.

Noticed by: Nils Meyer
2003-02-08 18:58:34 +00:00
Sebastian Bergmann
b506f5c8f8 Bump year. 2002-12-31 16:08:15 +00:00
Yasuo Ohgaki
885d8073e4 Fixed crash. Patch by <kilbi@rad.rwth-aachen.de> 2002-08-07 11:50:49 +00:00
Hartmut Holzgraefe
c51651dee2 proto fixes 2001-12-15 14:22:59 +00:00
Sebastian Bergmann
38933514e1 Update headers. 2001-12-11 15:32:16 +00:00
Jon Parise
8f26c3f326 @ Added support for bind_textdomain_codeset(). (rudib@email.si) 2001-11-09 16:27:09 +00:00
Stig Bakken
689252082c * zend_module_entry change: apino, debug and zts are moved first,
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Derick Rethans
78747bd2df - Don't wrap lines... this is annoying while coding. 2001-09-09 13:29:31 +00:00
Wez Furlong
efdc50c175 fix build 2001-08-29 13:13:24 +00:00
foobar
6cc6e1e668 Coding style. 2001-08-27 22:26:49 +00:00
Chuck Hagenbuch
1c6bfcaa33 shorter protos 2001-08-27 20:05:11 +00:00
Chuck Hagenbuch
0aca825435 add ngettext() support from Walter Franzini <walter@sys-net.it>, and use Z_*
macros.
2001-08-27 18:43:07 +00:00
Sascha Schumann
22e506727c The Gettext module is not limited to the GNU implementation. 2001-06-09 16:55:27 +00:00
Rasmus Lerdorf
81e2cf03ac Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
Stig Bakken
1beda9ee1e * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build) 2001-05-24 10:07:29 +00:00
Andi Gutmans
4c823e8a89 - Change macros from V_ to VCWD_ because of AIX name clash 2001-04-30 12:45:02 +00:00
Andi Gutmans
eb6ba01d1c - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
foobar
56e718d87e Moved the constants into ext/standard 2000-12-10 15:53:37 +00:00
foobar
90d65f1865 wb clean. 2000-12-08 16:25:38 +00:00
Zak Greant
767fa2c6af Added constants to represent the various categories of
locale (LC_ALL, LC_MESSAGES, etc...)
2000-12-08 09:20:42 +00:00
Daniel Beulshausen
aa11144649 fix path operations, under win32 2000-11-27 18:21:48 +00:00
Egon Schmid
3bc8b9dc9c Beautified some protos. 2000-08-08 20:28:19 +00:00
Andi Gutmans
3701bc4207 - ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch 2000-06-05 19:47:54 +00:00