summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 2.2sils/changesLasse Schuirmann2016-01-022-4/+14
|
* Merge pull request #292 from akx/cldr28Isaac Jurado2016-01-0210-51/+77
|\ | | | | Upgrade to CLDR 28
| * Update to CLDR 28 (with test updates)Aarni Koskela2015-12-218-21/+20
| | | | | | | | | | | | | | | | | | | | * Aside from the usual data changes, the provisional aa locale is no longer, so we can't use it for tests. Instead, ii is used (chosen by virtue of ii.xml being fairly small, i.e. probably as incomplete as aa). * ms_Latn_SG is not in use anymore either; use sr_Latn_ME instead. Closes #226 Closes #290
| * import_cldr: Add `--dump-json` debug flagAarni Koskela2015-12-212-10/+24
| | | | | | | | | | These JSON files are easier to inspect by eye to figure out what might be going wrong. They are never used by Babel itself.
| * import_cldr: Add `--force` flagAarni Koskela2015-12-211-3/+7
| |
| * import_cldr: support currency format lengthsAarni Koskela2015-12-211-15/+23
| | | | | | | | Non-default currency format lengths acquire colon-separated suffixes like units already do since 9327e0824a1bbed538e73d42b971988f8214b490
| * download_import_cldr: unzip into versioned dirAarni Koskela2015-12-211-2/+3
| |
* | Merge pull request #308 from akx/appveyor-codecovAarni Koskela2015-12-301-2/+3
|\ \ | | | | | | Post coverage results to Codecov from Appveyor
| * | Post coverage results to Codecov from AppveyorAarni Koskela2015-12-301-2/+3
| | |
* | | Merge pull request #306 from akx/lukas-b_116Lasse Schuirmann2015-12-302-9/+28
|\ \ \ | | | | | | | | Fix typo and add missing semicolon in plural_forms, update test coverage.
| * | | Beef up test_plurals.pyLukas B2015-12-301-6/+25
| | | | | | | | | | | | | | | | Update test coverage in test_plurals.py
| * | | Fix typo and add semicolon in plural_formsLukas B2015-12-301-3/+3
| |/ / | | | | | | | | | | | | Fix typo and add semicolon in plural_forms (missing l in 'plural' and semicolon at the end). It currently produces incorrect plural form string.
* | | Merge pull request #307 from akx/dstanek-54Lasse Schuirmann2015-12-302-1/+7
|\ \ \ | | | | | | | | Update catalog headers from the template
| * | | Add a test for header_comment updating.Aarni Koskela2015-12-301-1/+2
| | | |
| * | | Updates a catalog's header to from the templateDavid Stanek2015-12-301-0/+5
| |/ / | | | | | | | | | | | | | | | A language specific catalog's initial header is based on the template when it is created. Updates to the template's header were previously not getting into the catalog during the update_catalog process.
* | | Merge pull request #301 from akx/suspect-filterLasse Schuirmann2015-12-302-2/+27
|\ \ \ | |/ / |/| | Flatten NullTranslations.files into a list
| * | Flatten NullTranslations.files into a listAarni Koskela2015-12-292-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | `filter` is special in Python 3, and latter usages would error out in strange ways. Fixes #92 (https://github.com/python-babel/babel/pull/92) Fixes #162 (https://github.com/python-babel/babel/pull/162)
* | | Merge pull request #303 from akx/thanatos-add-hash-to-locale-classLasse Schuirmann2015-12-292-5/+21
|\ \ \ | |/ / |/| | Add hash to locale class
| * | Improve Locale equality and hashing testsAarni Koskela2015-12-291-10/+18
| | |
| * | Add __hash__ to Locale.Roy Wellington Ⅳ2015-12-292-0/+8
|/ /
* | Merge pull request #302 from etanol/fix-buildsLasse Schuirmann2015-12-292-8/+6
|\ \ | | | | | | Try to fix the broken builds
| * | Install m3-cdecimal in Travis environments.Isaac Jurado2015-12-291-5/+5
| | | | | | | | | | | | Follow the cdecimal to m3-cdecimal package rename within TravisCI configuration.
| * | Install m3-cdecimal in Tox environments.Isaac Jurado2015-12-291-3/+1
|/ / | | | | | | | | Apparently, the cdecimal package has been renamed to m3-cdecimal. Being unable to install it breaks the test suite, so this should fix the problem.
* | Merge pull request #297 from akx/py35Lasse Schuirmann2015-12-233-0/+19
|\ \ | |/ |/| Mark Python 3.5 as supported
| * Mark Python 3.5 as supportedAarni Koskela2015-12-233-0/+19
|/ | | | | Fixes #222 Refs #221
* Merge pull request #278 from python-babel/sils/coalaLasse Schuirmann2015-12-218-17/+22
|\ | | | | Sils/coala
| * catalog: Remove unneeded documentationLasse Schuirmann2015-12-211-10/+10
| | | | | | | | | | | | | | | | | | Those documentation comments aren't adding any new information compared to the documentation comment of their respective functions and are thus redundant. Those comments where introduced first in 7ab115ce with no notice why they exist.
| * codestyle: Check for unused python codeLasse Schuirmann2015-12-215-5/+5
| |
| * util.sh: Move out relpath importLasse Schuirmann2015-12-212-2/+2
| | | | | | | | This was detected by coala, rightfully, as an unused import.
| * Add coafileLasse Schuirmann2015-12-211-0/+5
| | | | | | | | This allows using coala to check this code.
| * numbers: Remove unneeded trailing spacesLasse Schuirmann2015-12-211-1/+1
|/ | | | Done with coala.
* Merge pull request #294 from akx/test-improvementsLasse Schuirmann2015-12-2117-73/+82
|\ | | | | Test/CI improvements
| * Test that Lithuanian long-form dates are formatted with the correct genitive ↵Aarni Koskela2015-12-211-0/+7
| | | | | | | | | | | | form of the month Fixes #288
| * Parametrize test_compatible_classes_in_global_and_localedata testAarni Koskela2015-12-211-13/+14
| |
| * Test/CI: Make doctests run on both Py2 and Py3Aarni Koskela2015-12-2112-57/+54
| | | | | | | | Fixes #293
| * Test/CI: Add requisite doctest flags; ignore setup.py and venvsAarni Koskela2015-12-215-4/+8
|/ | | | | | | | This requires a newer version of py.test, so the requirement is pinned in the CI configuration. See https://pytest.org/latest/doctest.html See https://pytest.org/latest/example/pythoncollection.html#customizing-test-collection-to-find-all-py-files
* Merge pull request #270 from mbirtwell/ordinal_rulesLasse Schuirmann2015-12-202-9/+34
|\ | | | | Add an ordinal_form property to Locale
| * Add an ordinal_form property to LocaleMichael Birtwell2015-10-312-9/+34
| |
* | Merge pull request #289 from akx/allow-extract-callabledev-2a51c9b95d06Lasse Schuirmann2015-12-202-2/+12
|\ \ | | | | | | Allow passing a callable to `extract()`
| * | Allow passing a callable to `extract()`Aarni Koskela2015-12-202-2/+12
| | |
* | | Merge pull request #279 from fschulze/files-with-no-linenoLasse Schuirmann2015-12-202-4/+25
|\ \ \ | |/ / |/| | Allow file locations without line numbers.
| * | Allow file locations without line numbers.Florian Schulze2015-11-042-4/+25
| |/
* | Merge pull request #272 from etanol/fast-roundingIsaac Jurado2015-11-217-183/+125
|\ \ | | | | | | | | | | | | Faster and more flexible implementation. Skipping coverage alert because the amount of removed lines always lowers the overall coverage percentage, even though the patch is 100% covered.
| * | tests: Use the automatically chosen Decimal classIsaac Jurado2015-10-143-15/+17
| | | | | | | | | | | | | | | | | | Now that the babel._compat module can automatically select a faster decimal implementation if available, be more consistent across the rest of the code when dealing with Decimal instances.
| * | numbers: Use cdecimal by default when availableIsaac Jurado2015-10-142-2/+20
| | | | | | | | | | | | | | | | | | The drop-in replacement cdecimal is a CPython extension that implements the same decimal interface with a much better performance. Whenever it is installed, we favour its use.
| * | travis: Add new environments that install cdecimalIsaac Jurado2015-10-142-2/+27
| | | | | | | | | | | | | | | | | | For the next change, we will need alternate environments for Python 2.6 and 2.7 where the cdecimal module can be installed and tested. This commit adds new environments to Tox and Travis to automate the process.
| * | tests: Add more testing coverage to format_percentIsaac Jurado2015-10-141-0/+2
| | |
| * | numbers: Implement rounding with DecimalIsaac Jurado2015-10-142-165/+60
| |/ | | | | | | | | | | | | Drop the old bankersround related code and implement rounding using the decimal module instead. This change will enable some other goodies such as: use the drop-in replacement cdecimal when available, or allow for more rounding algorithms by exposing one more parameter.
* | Merge pull request #249 from mbirtwell/fix_zh_plural_selectionIsaac Jurado2015-11-202-9/+24
|\ \ | |/ |/| Fix zh plural selection
| * plurals: Fix selection for chineseMichael Birtwell2015-10-212-9/+24
|/ | | | | | | | | Provide only one option in chinese. The 3 previous options where all the same any how and I've checked with a chinese colleague she thinks that applies to all variants on the chinese language. Refactor the get_plural tests a bit so they are split up to test specific things