]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - extlib/php-gettext/ChangeLog
Merge branch 'master' of gitorious.org:social/mainline
[quix0rs-gnu-social.git] / extlib / php-gettext / ChangeLog
1 2006-02-28  Danilo Šegan  <danilo@gnome.org>
2
3         * gettext.php: Added some comments about these workarounds for
4         different PHP versions and architectures.
5
6 2006-02-28  Danilo Šegan  <danilo@gnome.org>
7
8         Fixes bug #15923.
9         
10         * gettext.php (gettext_reader): make magic check work on 64-bit
11         platforms as well (by Steffen Pingel).
12
13 2006-02-20  Danilo Šegan  <danilo@gnome.org>
14
15         * gettext.inc (_bindtextdomain): Use php_uname to detect Windows.
16
17 2006-02-07  Danilo Šegan  <danilo@gnome.org>
18
19         * examples/pigs_dropin.php: comment-out bind_textdomain_codeset
20
21         * gettext.inc (T_bind_textdomain_codeset): bind_textdomain_codeset
22         is available only in PHP 4.2.0+ (thanks to Jens A. Tkotz).
23
24         * Makefile: Include gettext.inc in DIST_FILES, VERSION up to
25         1.0.7.
26
27 2006-02-03  Danilo Šegan  <danilo@gnome.org>
28
29         Added setlocale() emulation as well.
30         
31         * examples/pigs_dropin.php: Use T_setlocale() and locale_emulation().
32         * examples/pigs_fallback.php: Use T_setlocale() and locale_emulation().
33
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.
40
41 2006-02-02  Danilo Šegan  <danilo@gnome.org>
42
43         Fix bug #12192.
44
45         * examples/locale/sr_CS/LC_MESSAGES/messages.po: Correct grammar.
46         * examples/locale/sr_CS/LC_MESSAGES/messages.mo: Rebuild.
47
48 2006-02-02  Danilo Šegan  <danilo@gnome.org>
49
50         Fix bug #15419.
51         
52         * streams.php: Support for PHP 5.1.1 fread() which reads most 8kb.
53         (Fix by Piotr Szotkowski <shot@hot.pl>)
54
55 2006-02-02  Danilo Šegan  <danilo@gnome.org>
56
57         Merge Steven Armstrong's changes, supporting standard gettext
58         interfaces: 
59
60         * examples/*: Restructured examples.
61         * gettext.inc: Added.
62         * AUTHORS: Added Steven.
63         * Makefile (VERSION): Up to 1.0.6.
64         
65 2006-01-28  Nico Kaiser  <nico@siriux.net>
66
67         * gettext.php (select_string): Fix "true" <-> 1 difference of PHP
68
69 2005-07-29  Danilo Šegan  <danilo@gnome.org>
70
71         * Makefile (VERSION): Up to 1.0.5.
72
73 2005-07-29  Danilo Šegan  <danilo@gnome.org>
74
75         Fixes bug #13850.
76         
77         * gettext.php (gettext_reader): check $Reader->error as well.
78
79 2005-07-29  Danilo Šegan  <danilo@gnome.org>
80
81         * Makefile (VERSION): Up to 1.0.4.
82
83 2005-07-29  Danilo Šegan  <danilo@gnome.org>
84
85         Fixes bug #13771.
86
87         * gettext.php (gettext_reader->get_plural_forms): Plural forms
88         header extraction regex change.  Reported by Edgar Gonzales.
89         
90 2005-02-28  Danilo Šegan  <dsegan@gmx.net>
91
92         * AUTHORS: Added Nico to the list.
93
94         * Makefile (VERSION): Up to 1.0.3.
95
96         * README: Updated.
97
98 2005-02-28  Danilo Šegan  <dsegan@gmx.net>
99
100         * gettext.php: Added pre-loading, code documentation, and many
101         code clean-ups by Nico Kaiser <nico@siriux.net>.
102
103 2005-02-28  Danilo Šegan  <dsegan@gmx.net>
104
105         * streams.php (FileReader.read): Handle read($bytes = 0).
106
107         * examples/pigs.php: Prefix gettext function names with T or T_.
108
109         * examples/update: Use the same keywords T_ and T_ngettext.
110
111         * streams.php: Added CachedFileReader.
112
113 2003-11-11  Danilo Šegan  <dsegan@gmx.net>
114
115         * gettext.php: Added hashing to find_string.
116
117 2003-11-01  Danilo Šegan  <dsegan@gmx.net>
118
119         * Makefile (DIST_FILES): Replaced LICENSE with COPYING.
120         (VERSION): Up to 1.0.2.
121
122         * AUTHORS: Minor edits.
123
124         * README: Minor edits.
125
126         * COPYING: Removed LICENSE, added this file.
127
128         * gettext.php: Added copyright notice and disclaimer.
129         * streams.php: Same.
130         * examples/pigs.php: Same.
131
132 2003-10-23  Danilo Šegan  <dsegan@gmx.net>
133
134         * Makefile: Upped version to 1.0.1.
135
136         * gettext.php (gettext_reader): Remove a call to set_total_plurals.
137         (set_total_plurals): Removed unused function for some better days.
138
139 2003-10-23  Danilo Šegan  <dsegan@gmx.net>
140
141         * Makefile: Added, version 1.0.0.
142
143         * examples/*: Added an example of usage.
144
145         * README: Described all the crap.
146         
147 2003-10-22  Danilo Šegan  <dsegan@gmx.net>
148
149         * gettext.php: Plural forms implemented too.
150
151         * streams.php: Added FileReader for direct access to files (no
152         need to keep file in memory).
153
154         * gettext.php: It works, except for plural forms.
155
156         * streams.php: Created abstract class StreamReader.
157         Added StringReader class.
158
159         * gettext.php: Started writing gettext_reader.
160