1 2006-02-28 Danilo Šegan <danilo@gnome.org>
3 * gettext.php: Added some comments about these workarounds for
4 different PHP versions and architectures.
6 2006-02-28 Danilo Šegan <danilo@gnome.org>
10 * gettext.php (gettext_reader): make magic check work on 64-bit
11 platforms as well (by Steffen Pingel).
13 2006-02-20 Danilo Šegan <danilo@gnome.org>
15 * gettext.inc (_bindtextdomain): Use php_uname to detect Windows.
17 2006-02-07 Danilo Šegan <danilo@gnome.org>
19 * examples/pigs_dropin.php: comment-out bind_textdomain_codeset
21 * gettext.inc (T_bind_textdomain_codeset): bind_textdomain_codeset
22 is available only in PHP 4.2.0+ (thanks to Jens A. Tkotz).
24 * Makefile: Include gettext.inc in DIST_FILES, VERSION up to
27 2006-02-03 Danilo Šegan <danilo@gnome.org>
29 Added setlocale() emulation as well.
31 * examples/pigs_dropin.php: Use T_setlocale() and locale_emulation().
32 * examples/pigs_fallback.php: Use T_setlocale() and locale_emulation().
34 * gettext.inc: Added globals $EMULATEGETTEXT and $CURRENTLOCALE.
35 (locale_emulation): Whether emulation is active.
36 (_check_locale): Rewrite.
37 (_setlocale): Added emulated setlocale function.
38 (T_setlocale): Wrapper around _setlocale.
39 (_get_reader): Use variables and _setlocale.
41 2006-02-02 Danilo Šegan <danilo@gnome.org>
45 * examples/locale/sr_CS/LC_MESSAGES/messages.po: Correct grammar.
46 * examples/locale/sr_CS/LC_MESSAGES/messages.mo: Rebuild.
48 2006-02-02 Danilo Šegan <danilo@gnome.org>
52 * streams.php: Support for PHP 5.1.1 fread() which reads most 8kb.
53 (Fix by Piotr Szotkowski <shot@hot.pl>)
55 2006-02-02 Danilo Šegan <danilo@gnome.org>
57 Merge Steven Armstrong's changes, supporting standard gettext
60 * examples/*: Restructured examples.
62 * AUTHORS: Added Steven.
63 * Makefile (VERSION): Up to 1.0.6.
65 2006-01-28 Nico Kaiser <nico@siriux.net>
67 * gettext.php (select_string): Fix "true" <-> 1 difference of PHP
69 2005-07-29 Danilo Šegan <danilo@gnome.org>
71 * Makefile (VERSION): Up to 1.0.5.
73 2005-07-29 Danilo Šegan <danilo@gnome.org>
77 * gettext.php (gettext_reader): check $Reader->error as well.
79 2005-07-29 Danilo Šegan <danilo@gnome.org>
81 * Makefile (VERSION): Up to 1.0.4.
83 2005-07-29 Danilo Šegan <danilo@gnome.org>
87 * gettext.php (gettext_reader->get_plural_forms): Plural forms
88 header extraction regex change. Reported by Edgar Gonzales.
90 2005-02-28 Danilo Šegan <dsegan@gmx.net>
92 * AUTHORS: Added Nico to the list.
94 * Makefile (VERSION): Up to 1.0.3.
98 2005-02-28 Danilo Šegan <dsegan@gmx.net>
100 * gettext.php: Added pre-loading, code documentation, and many
101 code clean-ups by Nico Kaiser <nico@siriux.net>.
103 2005-02-28 Danilo Šegan <dsegan@gmx.net>
105 * streams.php (FileReader.read): Handle read($bytes = 0).
107 * examples/pigs.php: Prefix gettext function names with T or T_.
109 * examples/update: Use the same keywords T_ and T_ngettext.
111 * streams.php: Added CachedFileReader.
113 2003-11-11 Danilo Šegan <dsegan@gmx.net>
115 * gettext.php: Added hashing to find_string.
117 2003-11-01 Danilo Šegan <dsegan@gmx.net>
119 * Makefile (DIST_FILES): Replaced LICENSE with COPYING.
120 (VERSION): Up to 1.0.2.
122 * AUTHORS: Minor edits.
124 * README: Minor edits.
126 * COPYING: Removed LICENSE, added this file.
128 * gettext.php: Added copyright notice and disclaimer.
130 * examples/pigs.php: Same.
132 2003-10-23 Danilo Šegan <dsegan@gmx.net>
134 * Makefile: Upped version to 1.0.1.
136 * gettext.php (gettext_reader): Remove a call to set_total_plurals.
137 (set_total_plurals): Removed unused function for some better days.
139 2003-10-23 Danilo Šegan <dsegan@gmx.net>
141 * Makefile: Added, version 1.0.0.
143 * examples/*: Added an example of usage.
145 * README: Described all the crap.
147 2003-10-22 Danilo Šegan <dsegan@gmx.net>
149 * gettext.php: Plural forms implemented too.
151 * streams.php: Added FileReader for direct access to files (no
152 need to keep file in memory).
154 * gettext.php: It works, except for plural forms.
156 * streams.php: Created abstract class StreamReader.
157 Added StringReader class.
159 * gettext.php: Started writing gettext_reader.