Mercurial > babel > old > mirror
annotate 0.9.x/ChangeLog @ 487:d725fd333f61 stable
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 | 9c064ee71cd2 |
children | 58bd100bb5ed |
rev | line source |
---|---|
465 | 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 | |
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. |
8 * Sort output of list-locales. | |
474 | 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). | |
476 | 11 * Use a more explicit error message if no option or argument (command) is |
12 passed to pybabel (ticket #81). | |
477 | 13 * Keep the PO-Revision-Date if it is not the default value (ticket #148). |
478 | 14 * Make --no-wrap work by reworking --width's default and mimic xgettext's |
15 behaviour of always wrapping comments (ticket #145). | |
481 | 16 * Fixed negative offset handling of Catalog._set_mime_headers (ticket #165). |
484 | 17 * Add --project and --version options for commandline (ticket #173). |
485 | 18 * Add a __ne__() method to the Local class. |
487 | 19 * Explicitly sort instead of using sorted() and don't assume ordering |
20 (Python 2.3 and Jython compatibility). | |
466 | 21 |
465 | 22 |
450
fb4e025f3410
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
415
diff
changeset
|
23 Version 0.9.5 |
fb4e025f3410
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
415
diff
changeset
|
24 http://svn.edgewall.org/repos/babel/tags/0.9.5/ |
455 | 25 (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
|
26 |
fb4e025f3410
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
415
diff
changeset
|
27 * 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
|
28 an unpack error. |
454 | 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). | |
450
fb4e025f3410
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
415
diff
changeset
|
32 |
fb4e025f3410
Backport r483. This fixes messages containing square brackets from failing
jruigrok
parents:
415
diff
changeset
|
33 |
399 | 34 Version 0.9.4 |
35 http://svn.edgewall.org/repos/babel/tags/0.9.4/ | |
409 | 36 (Aug 25 2008, from branches/stable/0.9.x) |
399 | 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. | |
402 | 41 * Fixed a serious memory leak that was introduces by the support for CLDR |
42 aliases in 0.9.3 (ticket #128). | |
409 | 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. | |
415 | 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). | |
399 | 53 |
54 | |
348
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
55 Version 0.9.3 |
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
56 http://svn.edgewall.org/repos/babel/tags/0.9.3/ |
383 | 57 (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
|
58 |
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
59 * 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
|
60 * 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
|
61 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
|
62 * 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
|
63 forms (ticket #95). |
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
64 * 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
|
65 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
|
66 * 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
|
67 is done for each line in a comment. |
381 | 68 * Added a JavaScript message extractor. |
69 * Updated to CLDR 1.6. | |
351 | 70 * Fixed timezone calculations when formatting datetime and time values. |
381 | 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). | |
348
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
76 |
05975a0e7021
Merged revisions [358:360], [364:370], [373:378], [380:382] from [source:trunk].
cmlenz
parents:
323
diff
changeset
|
77 |
295 | 78 Version 0.9.2 |
79 http://svn.edgewall.org/repos/babel/tags/0.9.2/ | |
383 | 80 (Feb 4 2008, from branches/stable/0.9.x) |
295 | 81 |
297 | 82 * 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
|
83 * Numerous improvements to the default plural forms. |
316 | 84 * Fixed fuzzy matching when updating message catalogs (ticket #82). |
318 | 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). | |
320
cd588918443e
Ported [335:338], [345], and [351] to 0.9.x stable branch.
cmlenz
parents:
318
diff
changeset
|
89 * 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
|
90 (ticket #60). |
316 | 91 |
92 | |
280 | 93 Version 0.9.1 |
94 http://svn.edgewall.org/repos/babel/tags/0.9.1/ | |
288 | 95 (Sep 7 2007, from branches/stable/0.9.x) |
280 | 96 |
288 | 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 | |
280 | 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. | |
323 | 102 * MO files are now written in binary mode on windows (ticket #61). |
280 | 103 |
104 | |
263 | 105 Version 0.9 |
106 http://svn.edgewall.org/repos/babel/tags/0.9.0/ | |
266 | 107 (Aug 20 2007, from branches/stable/0.9.x) |
263 | 108 |
109 * The `new_catalog` distutils command has been renamed to `init_catalog` for | |
110 consistency with the command-line frontend. | |
111 * Added compilation of message catalogs to MO files (ticket #21). | |
112 * Added updating of message catalogs from POT files (ticket #22). | |
113 * Support for significant digits in number formatting. | |
114 * Apply proper "banker's rounding" in number formatting in a cross-platform | |
115 manner. | |
116 * The number formatting functions now also work with numbers represented by | |
117 Python `Decimal` objects (ticket #53). | |
118 * Added extensible infrastructure for validating translation catalogs. | |
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). | |
126 * Improved support for detecting Python string formatting fields in message | |
127 strings (ticket #57). | |
128 * CLDR upgraded to the 1.5 release. | |
129 * Improved timezone formatting. | |
266 | 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. | |
263 | 134 |
135 | |
136 Version 0.8.1 | |
137 http://svn.edgewall.org/repos/babel/tags/0.8.1/ | |
138 (Jul 2 2007, from branches/stable/0.8.x) | |
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). | |
149 * The default ordering of messages in generated POT files, which is based on | |
150 the order those messages are found when walking the source tree, is no | |
151 longer subject to differences between platforms; directory and file names | |
152 are now always sorted alphabetically. | |
153 * The Python message extractor now respects the special encoding comment to be | |
154 able to handle files containing non-ASCII characters (ticket #23). | |
155 * Added 'N_' (gettext noop) to the extractor's default keywords. | |
156 * Made locale string parsing more robust, and also take the script part into | |
157 account (ticket #27). | |
158 * Added a function to list all locales for which locale data is available. | |
159 * Added a command-line option to the `pybabel` command which prints out all | |
160 available locales (ticket #24). | |
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). | |
163 | |
164 | |
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 |