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