summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Rephrase copyright headers to link to the LICENSE file instead of COPYINGauthorsAarni Koskela2018-02-0217-17/+17
| | | | Fixes #398
* Update copyright header years, and include the Babel teamAarni Koskela2018-02-0238-38/+39
|
* Add script to generate the AUTHORS file and regenerate itAarni Koskela2018-02-022-20/+134
|
* Merge pull request #558 from python-babel/currency-alt2Aarni Koskela2018-02-021-3/+5
|\ | | | | Ignore currency symbol alt forms
| * import_cldr: avoid importing alt=narrow currency symbolsAarni Koskela2018-02-021-2/+5
| | | | | | | | | | | | Fixes #397 Closes #483, #556
| * import_cldr: choice patterns in currencies are deprecated, so remove todoAarni Koskela2018-02-021-1/+0
|/
* Merge pull request #552 from python-babel/cldr-32Aarni Koskela2018-02-0213-26/+82
|\ | | | | Use CLDR 32
| * Test that CLDR 32 properly formats Russian start-of-year dates.cldr-32Aarni Koskela2018-01-251-0/+7
| | | | | | | | Fixes #485
| * Lists: add support for various list styles other than the defaultAarni Koskela2018-01-194-15/+63
| | | | | | | | | | | | This was inspired by the CLDR 32 release notes: > New “disjunctive” list style (eg “a, b, or c”)
| * CLDR: Use CLDR 32.0.1Aarni Koskela2018-01-193-6/+5
| |
| * Update py.testAarni Koskela2018-01-195-5/+7
| | | | | | | | | | * Add py.test's .cache to ignore * setup.cfg: Use [tool:pytest] instead of deprecated [pytest]
* | Merge pull request #554 from xmo-odoo/patch-1Aarni Koskela2018-01-301-6/+6
|\ \ | |/ |/| Add explicit signatures to some date autofunctions
| * Add explicit signatures to some date autofunctionsxmo-odoo2018-01-261-6/+6
|/ | | | | | | | | Because default_locale is eager, it generates misleading documentation when built (including on the site) as the doc will show the LC_TIME for the machine which built the doc. An explicit autofunction signature fixes that and provides a more correct view of the signature. An alternative fix would be for the LC_TIME value in the module to be a custom object with a repr of LC_TIME or something along those lines. Fixes #542
* Merge pull request #456 from python-babel/cldr-30Aarni Koskela2018-01-1711-25/+48
|\ | | | | Upgrade to CLDR 31
| * cldr: use CLDR 31.0.1 (and fix test changes); see below!cldr-30Aarni Koskela2018-01-176-18/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CLDR 31.0 separated the GMT and UTC time zones, so formatting of that time zone has changed. Most notably, "UTC" replaces "+0000" when formatting the timezone. This could break code that expects +0000. A subset (the parts supported by Babel) of the migration guide from http://cldr.unicode.org/index/downloads/cldr-31: * The locales in the language-territory population tables have been changed to be the canonical format, dropping the script where it is the default. So "ku_Latn" changes to "ku". * Plural rules: The Portuguese plural rules have changed so that all (and only) integers and decimal fractions < 2 are singular. * Timezones: The GMT timezone has been split from the UTC timezone. * Timezones: New timezone bcp47 codes have been added. * Languages "hr" and "sr" are no longer a short distance apart, for political reasons. * The primary names for CZ changed from "Czech Republic" to "Czechia", with the longer name now the alternate.
| * cldr: Parse compact decimal formats that appear in CLDR 30Aarni Koskela2018-01-171-1/+13
| |
| * cldr: use CLDR 30.0.2 (and fix test changes)Aarni Koskela2018-01-175-10/+14
| |
| * numbers: allow number patterns with no dynamic parts whatsoeverAarni Koskela2018-01-172-1/+6
|/
* Merge pull request #532 from Bedrock02/invalid-po-issue-531Aarni Koskela2018-01-162-4/+82
|\ | | | | pofile.py: Added new exception called PoFileError and thrown if flagged
| * pofile.py: Added new exception called PoFileError and thrown if flaggedStevenJ2018-01-162-4/+82
|/ | | | | | | | This new exception is thrown when the po parser finds an invalid pofile. This helps handle invalid po files that are parsed. Invalid po files may cause other possible errors such as a UnicodeEncodeError. Closes https://github.com/python-babel/babel/issues/531
* Merge pull request #546 from hugovk/rm-eolAarni Koskela2018-01-1618-64/+44
|\ | | | | Drop support for EOL Python 2.6 and 3.3
| * Drop EOL Python 3.3Hugo2017-12-281-1/+1
| |
| * Replace comparison with None with equality operatorHugo2017-12-282-9/+9
| |
| * Remove unused importsHugo2017-12-281-2/+2
| |
| * Remove redundant parenthesesHugo2017-12-286-9/+9
| |
| * Replace function call with set literalHugo2017-12-288-31/+21
| |
| * Drop EOL Python 2.6 and 3.3Hugo2017-12-284-13/+3
| |
* | Merge branch 'maint-25' to bring CHANGES and version up to date from 2.5.3Aarni Koskela2018-01-153-2/+10
|\ \ | | | | | | | | | `git merge -X theirs maint-25`
| * | Become 2.5.3v2.5.3maint-25Aarni Koskela2018-01-153-2/+10
| | |
| * | Become 2.5.2Aarni Koskela2018-01-153-2/+10
| | |
| * | Revert "Merge pull request #505 from wodo/pi_support"Jakob Schnitzer2018-01-153-24/+2
| | | | | | | | | | | | | | | This reverts commit 653e6d4f654f0f3cbce57054654e09c519b9e412, reversing changes made to 5f3b00854bbc6fa6a03e04ab572a609eebcc1f72.
| * | Revert "Also check for `sys._MEIPASS` before assuming PyInstallerness (#526)"Jakob Schnitzer2018-01-151-1/+1
| | | | | | | | | | | | This reverts commit 0b34807ab3d9681bb653ac535e0fbc6f0ac3ffbb.
* | | Merge pull request #528 from scop/escseqAarni Koskela2018-01-156-18/+9
|\ \ \ | | | | | | | | Invalid string escape sequence related fixes
| * | | Simplify Linux distro specific explicit timezone setting searchVille Skyttä2017-12-171-12/+3
| | | |
| * | | Python 3.6 invalid escape sequence deprecation fixesVille Skyttä2017-12-176-9/+9
| | |/ | |/| | | | | | | https://docs.python.org/3/whatsnew/3.6.html#deprecated-python-behavior
* | | Become 2.5.2v2.5.2Aarni Koskela2018-01-153-2/+10
| | |
* | | Merge pull request #533 from yagebu/fix-pyinstallerAarni Koskela2018-01-153-24/+2
|\ \ \ | |/ / |/| | | | | | | | * Revert "Also check for `sys._MEIPASS` before assuming PyInstallerness (#526)" (0b34807ab3d9681bb653ac535e0fbc6f0ac3ffbb) * Revert "Merge pull request #505 from wodo/pi_support" (commit 653e6d4f654f0f3cbce57054654e09c519b9e412, reversing changes made to 5f3b00854bbc6fa6a03e04ab572a609eebcc1f72)
| * | Revert "Merge pull request #505 from wodo/pi_support"Jakob Schnitzer2017-09-283-24/+2
| | | | | | | | | | | | | | | This reverts commit 653e6d4f654f0f3cbce57054654e09c519b9e412, reversing changes made to 5f3b00854bbc6fa6a03e04ab572a609eebcc1f72.
| * | Revert "Also check for `sys._MEIPASS` before assuming PyInstallerness (#526)"Jakob Schnitzer2017-09-281-1/+1
| |/ | | | | | | This reverts commit 0b34807ab3d9681bb653ac535e0fbc6f0ac3ffbb.
* | Allow bypass of decimal quantization.Kevin Deldycke2017-10-232-56/+168
| |
* | Test and document all supported Python versionsJon Dufresne2017-10-223-1/+6
| | | | | | | | | | | | | | | | | | Add Python 3.6 to Travis CI and tox. Add PyPy to tox. Add trove classifiers for all supported versions. Helps package users know if the library is compatible.
* | Include license file in the generated wheel packageJon Dufresne2017-10-221-0/+3
| | | | | | | | | | | | | | | | The wheel package format supports including the license file. This is done using the [metadata] section in the setup.cfg file. For additional information on this feature, see: https://wheel.readthedocs.io/en/stable/index.html#including-the-license-in-the-generated-wheel-file
* | Refactor decimal handling code.Kevin Deldycke2017-10-182-59/+259
| |
* | Merge pull request #537 from kdeldycke/tox-depsAarni Koskela2017-10-161-0/+1
|\ \ | |/ |/| Keep tox dependencies in sync
| * Keep tox dependencies in sync with travis config.Kevin Deldycke2017-10-161-0/+1
| | | | | | | | Refs 1da04fd0af20162fe4e2b503a5fcae8f25267010 and #520.
* | Become 2.5.1 (#527)v2.5.1Aarni Koskela2017-09-143-2/+15
| |
* | Also check for `sys._MEIPASS` before assuming PyInstallerness (#526)Aarni Koskela2017-09-141-1/+1
| | | | | | Fixes #525
* | Allow normalize_locale and exists to handle various unexpected input (#523)Jungmo Ku2017-09-122-4/+19
| | | | | | | | | | Resolves #521
* | Fixed docstring of validate_currency function (#522)Simeon Visser2017-08-281-1/+1
| |
* | Parse multi-line __future__ imports better (#519)Aarni Koskela2017-08-212-2/+49
| | | | | | | | | | Augments #426 Augments #427 Augments #510