Mercurial > babel > mirror
annotate ChangeLog @ 540:8ec237db1ae9 stable-0.9.x
merge r591 from trunk
author | fschwarz |
---|---|
date | Fri, 11 Mar 2011 16:49:45 +0000 |
parents | 7a3ff2b27546 |
children | d761b3714f40 |
rev | line source |
---|---|
463 | 1 Version 0.9.6 |
2 http://svn.edgewall.org/repos/babel/tags/0.9.6/ | |
538 | 3 (? ? 2011, from branches/stable/0.9.x) |
463 | 4 |
464 | 5 * Backport r493-494: documentation typo fixes. |
469 | 6 * Make the CLDR import script work with Python 2.7. |
470 | 7 * Fix various typos. |
508
d010c0958d99
Fix Python 2.3 compatibility for 0.9 branch (closes #233)
fschwarz
parents:
507
diff
changeset
|
8 * Fixed Python 2.3 compatibility (ticket #146, #233). |
470 | 9 * Sort output of list-locales. |
472 | 10 * Make the POT-Creation-Date of the catalog being updated equal to |
11 POT-Creation-Date of the template used to update (ticket #148). | |
474 | 12 * Use a more explicit error message if no option or argument (command) is |
13 passed to pybabel (ticket #81). | |
475 | 14 * Keep the PO-Revision-Date if it is not the default value (ticket #148). |
476 | 15 * Make --no-wrap work by reworking --width's default and mimic xgettext's |
16 behaviour of always wrapping comments (ticket #145). | |
479 | 17 * Fixed negative offset handling of Catalog._set_mime_headers (ticket #165). |
482 | 18 * Add --project and --version options for commandline (ticket #173). |
483 | 19 * Add a __ne__() method to the Local class. |
485 | 20 * Explicitly sort instead of using sorted() and don't assume ordering |
21 (Python 2.3 and Jython compatibility). | |
488 | 22 * Removed ValueError raising for string formatting message checkers if the |
23 string does not contain any string formattings (ticket #150). | |
490 | 24 * Fix Serbian plural forms (ticket #213). |
503 | 25 * Small speed improvement in format_date() (ticket #216). |
510
745adc9642eb
merge r478 from trunk: Fix the import script to skip alt or draft items in the numbers/symbols subtree of a locale (ticket #217)
fschwarz
parents:
508
diff
changeset
|
26 * Fix number formatting for locales where CLDR specifies alt or draft |
745adc9642eb
merge r478 from trunk: Fix the import script to skip alt or draft items in the numbers/symbols subtree of a locale (ticket #217)
fschwarz
parents:
508
diff
changeset
|
27 items (ticket #217) |
511
892424d1e2f9
Fix bad check in format_time (closes #257), reported with patch and tests by jomae
fschwarz
parents:
510
diff
changeset
|
28 * Fix bad check in format_time (ticket #257, reported with patch and tests by |
892424d1e2f9
Fix bad check in format_time (closes #257), reported with patch and tests by jomae
fschwarz
parents:
510
diff
changeset
|
29 jomae) |
540 | 30 * Fix so frontend.CommandLineInterface.run does not accumulate logging |
31 handlers (#227, reported with initial patch by dfraser) | |
538 | 32 * Fix exception if environment contains an invalid locale setting (#200) |
464 | 33 |
463 | 34 |
448
9f1fb53b996f
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
413
diff
changeset
|
35 Version 0.9.5 |
9f1fb53b996f
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
413
diff
changeset
|
36 http://svn.edgewall.org/repos/babel/tags/0.9.5/ |
453 | 37 (Apr 6 2010, from branches/stable/0.9.x) |
448
9f1fb53b996f
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
413
diff
changeset
|
38 |
9f1fb53b996f
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
413
diff
changeset
|
39 * Fixed the case where messages containing square brackets would break with |
9f1fb53b996f
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
413
diff
changeset
|
40 an unpack error. |
452 | 41 * Backport of r467: Fuzzy matching regarding plurals should *NOT* be checked |
42 against len(message.id) because this is always 2, instead, it's should be | |
43 checked against catalog.num_plurals (ticket #212). | |
448
9f1fb53b996f
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
413
diff
changeset
|
44 |
9f1fb53b996f
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
413
diff
changeset
|
45 |
397 | 46 Version 0.9.4 |
47 http://svn.edgewall.org/repos/babel/tags/0.9.4/ | |
407 | 48 (Aug 25 2008, from branches/stable/0.9.x) |
397 | 49 |
50 * Currency symbol definitions that is defined with choice patterns in the | |
51 CLDR data are no longer imported, so the symbol code will be used instead. | |
52 * Fixed quarter support in date formatting. | |
400 | 53 * Fixed a serious memory leak that was introduces by the support for CLDR |
54 aliases in 0.9.3 (ticket #128). | |
407 | 55 * Locale modifiers such as "@euro" are now stripped from locale identifiers |
56 when parsing (ticket #136). | |
57 * The system locales "C" and "POSIX" are now treated as aliases for | |
58 "en_US_POSIX", for which the CLDR provides the appropriate data. Thanks to | |
59 Manlio Perillo for the suggestion. | |
60 * Fixed JavaScript extraction for regular expression literals (ticket #138) | |
61 and concatenated strings. | |
413 | 62 * The `Translation` class in `babel.support` can now manage catalogs with |
63 different message domains, and exposes the family of `d*gettext` functions | |
64 (ticket #137). | |
397 | 65 |
66 | |
346
5e58ea360a5c
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
321
diff
changeset
|
67 Version 0.9.3 |
5e58ea360a5c
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
321
diff
changeset
|
68 http://svn.edgewall.org/repos/babel/tags/0.9.3/ |
381 | 69 (Jul 9 2008, from branches/stable/0.9.x) |
346
5e58ea360a5c
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
321
diff
changeset
|
70 |
5e58ea360a5c
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
321
diff
changeset
|
71 * Fixed invalid message extraction methods causing an UnboundLocalError. |
5e58ea360a5c
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
321
diff
changeset
|
72 * Extraction method specification can now use a dot instead of the colon to |
5e58ea360a5c
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
321
diff
changeset
|
73 separate module and function name (ticket #105). |
5e58ea360a5c
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
321
diff
changeset
|
74 * Fixed message catalog compilation for locales with more than two plural |
5e58ea360a5c
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
321
diff
changeset
|
75 forms (ticket #95). |
5e58ea360a5c
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
321
diff
changeset
|
76 * Fixed compilation of message catalogs for locales with more than two plural |
5e58ea360a5c
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
321
diff
changeset
|
77 forms where the translations were empty (ticket #97). |
5e58ea360a5c
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
321
diff
changeset
|
78 * The stripping of the comment tags in comments is optional now and |
5e58ea360a5c
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
321
diff
changeset
|
79 is done for each line in a comment. |
379 | 80 * Added a JavaScript message extractor. |
81 * Updated to CLDR 1.6. | |
349 | 82 * Fixed timezone calculations when formatting datetime and time values. |
379 | 83 * Added a `get_plural` function into the plurals module that returns the |
84 correct plural forms for a locale as tuple. | |
85 * Added support for alias definitions in the CLDR data files, meaning that | |
86 the chance for items missing in certain locales should be greatly reduced | |
87 (ticket #68). | |
346
5e58ea360a5c
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
321
diff
changeset
|
88 |
5e58ea360a5c
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
321
diff
changeset
|
89 |
293 | 90 Version 0.9.2 |
91 http://svn.edgewall.org/repos/babel/tags/0.9.2/ | |
381 | 92 (Feb 4 2008, from branches/stable/0.9.x) |
293 | 93 |
295 | 94 * Fixed catalogs' charset values not being recognized (ticket #66). |
318
863b81f04259
Ported [335:338], [345], and [351] to 0.9.x stable branch.
cmlenz
parents:
316
diff
changeset
|
95 * Numerous improvements to the default plural forms. |
314 | 96 * Fixed fuzzy matching when updating message catalogs (ticket #82). |
316 | 97 * Fixed bug in catalog updating, that in some cases pulled in translations |
98 from different catalogs based on the same template. | |
99 * Location lines in PO files do no longer get wrapped at hyphens in file | |
100 names (ticket #79). | |
318
863b81f04259
Ported [335:338], [345], and [351] to 0.9.x stable branch.
cmlenz
parents:
316
diff
changeset
|
101 * Fixed division by zero error in catalog compilation on empty catalogs |
863b81f04259
Ported [335:338], [345], and [351] to 0.9.x stable branch.
cmlenz
parents:
316
diff
changeset
|
102 (ticket #60). |
314 | 103 |
104 | |
278 | 105 Version 0.9.1 |
106 http://svn.edgewall.org/repos/babel/tags/0.9.1/ | |
286 | 107 (Sep 7 2007, from branches/stable/0.9.x) |
278 | 108 |
286 | 109 * Fixed catalog updating when a message is merged that was previously simple |
110 but now has a plural form, for example by moving from `gettext` to | |
278 | 111 `ngettext`, or vice versa. |
112 * Fixed time formatting for 12 am and 12 pm. | |
113 * Fixed output encoding of the `pybabel --list-locales` command. | |
321 | 114 * MO files are now written in binary mode on windows (ticket #61). |
278 | 115 |
116 | |
160 | 117 Version 0.9 |
118 http://svn.edgewall.org/repos/babel/tags/0.9.0/ | |
264 | 119 (Aug 20 2007, from branches/stable/0.9.x) |
160 | 120 |
187 | 121 * The `new_catalog` distutils command has been renamed to `init_catalog` for |
122 consistency with the command-line frontend. | |
219 | 123 * Added compilation of message catalogs to MO files (ticket #21). |
124 * Added updating of message catalogs from POT files (ticket #22). | |
213 | 125 * Support for significant digits in number formatting. |
126 * Apply proper "banker's rounding" in number formatting in a cross-platform | |
127 manner. | |
219 | 128 * The number formatting functions now also work with numbers represented by |
129 Python `Decimal` objects (ticket #53). | |
220
97b4b289e792
Added infrastructure for adding catalog checkers, and implement a checker that validations Python format parameters in translations, closing #19.
cmlenz
parents:
219
diff
changeset
|
130 * Added extensible infrastructure for validating translation catalogs. |
222 | 131 * Fixed the extractor not filtering out messages that didn't validate against |
132 the keyword's specification (ticket #39). | |
133 * Fixed the extractor raising an exception when encountering an empty string | |
134 msgid. It now emits a warning to stderr. | |
135 * Numerous Python message extractor fixes: it now handles nested function | |
136 calls within a gettext function call correctly, uses the correct line number | |
137 for multi-line function calls, and other small fixes (tickets #38 and #39). | |
225
4f7f1f0e3b30
Applied patch by Ramiro Morales for more extensive detection of Python string formatting specifiers. Closes #57.
cmlenz
parents:
222
diff
changeset
|
138 * Improved support for detecting Python string formatting fields in message |
4f7f1f0e3b30
Applied patch by Ramiro Morales for more extensive detection of Python string formatting specifiers. Closes #57.
cmlenz
parents:
222
diff
changeset
|
139 strings (ticket #57). |
233
da97a3138239
Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents:
225
diff
changeset
|
140 * CLDR upgraded to the 1.5 release. |
da97a3138239
Upgraded to CLDR 1.5 and improved timezone formatting.
cmlenz
parents:
225
diff
changeset
|
141 * Improved timezone formatting. |
264 | 142 * Implemented scientific number formatting. |
143 * Added mechanism to lookup locales by alias, for cases where browsers insist | |
144 on including only the language code in the `Accept-Language` header, and | |
145 sometimes even the incorrect language code. | |
160 | 146 |
166 | 147 |
152 | 148 Version 0.8.1 |
149 http://svn.edgewall.org/repos/babel/tags/0.8.1/ | |
192 | 150 (Jul 2 2007, from branches/stable/0.8.x) |
152 | 151 |
152 * `default_locale()` would fail when the value of the `LANGUAGE` environment | |
153 variable contained multiple language codes separated by colon, as is | |
154 explicitly allowed by the GNU gettext tools. As the `default_locale()` | |
155 function is called at the module level in some modules, this bug would | |
156 completely break importing these modules on systems where `LANGUAGE` is set | |
157 that way. | |
158 * The character set specified in PO template files is now respected when | |
159 creating new catalog files based on that template. This allows the use of | |
160 characters outside the ASCII range in POT files (ticket #17). | |
154
31478eb3fb9e
The default ordering of messages in generated POT files, which is based on the order those messages are found when walking the source tree, is no longer subject to differences between platforms; directory and file names are now always sorted alphabetically.
cmlenz
parents:
152
diff
changeset
|
161 * The default ordering of messages in generated POT files, which is based on |
31478eb3fb9e
The default ordering of messages in generated POT files, which is based on the order those messages are found when walking the source tree, is no longer subject to differences between platforms; directory and file names are now always sorted alphabetically.
cmlenz
parents:
152
diff
changeset
|
162 the order those messages are found when walking the source tree, is no |
31478eb3fb9e
The default ordering of messages in generated POT files, which is based on the order those messages are found when walking the source tree, is no longer subject to differences between platforms; directory and file names are now always sorted alphabetically.
cmlenz
parents:
152
diff
changeset
|
163 longer subject to differences between platforms; directory and file names |
31478eb3fb9e
The default ordering of messages in generated POT files, which is based on the order those messages are found when walking the source tree, is no longer subject to differences between platforms; directory and file names are now always sorted alphabetically.
cmlenz
parents:
152
diff
changeset
|
164 are now always sorted alphabetically. |
166 | 165 * The Python message extractor now respects the special encoding comment to be |
166 able to handle files containing non-ASCII characters (ticket #23). | |
179
31beb381d62f
added 'N_' (gettext noop) to the extractor's default keywords
pjenvey
parents:
166
diff
changeset
|
167 * Added 'N_' (gettext noop) to the extractor's default keywords. |
183 | 168 * Made locale string parsing more robust, and also take the script part into |
169 account (ticket #27). | |
185
6503a227ba93
Add a command-line option that prints out all available locales. Closes #24.
cmlenz
parents:
183
diff
changeset
|
170 * Added a function to list all locales for which locale data is available. |
192 | 171 * Added a command-line option to the `pybabel` command which prints out all |
185
6503a227ba93
Add a command-line option that prints out all available locales. Closes #24.
cmlenz
parents:
183
diff
changeset
|
172 available locales (ticket #24). |
192 | 173 * The name of the command-line script has been changed from just `babel` to |
174 `pybabel` to avoid a conflict with the OpenBabel project (ticket #34). | |
152 | 175 |
176 | |
139 | 177 Version 0.8 |
178 http://svn.edgewall.org/repos/babel/tags/0.8.0/ | |
179 (Jun 20 2007, from branches/stable/0.8.x) | |
180 | |
181 * First public release |