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