]>
git.ipfire.org Git - thirdparty/babel.git/log
Lasse Schuirmann [Fri, 25 Sep 2015 17:16:48 +0000 (19:16 +0200)]
setup.cfg: Remove date tagging
This would tag every release with the date which is not what we want for
the production releases. We can use dev0 for local releases and generate
a version number including a date for development releases we will
introduce later.
Lasse Schuirmann [Fri, 25 Sep 2015 17:15:15 +0000 (19:15 +0200)]
babel: Change version to 2.2.0.dev0
We will from now on use the maintenance branches only for bugfix only
releases (i.e. micro versions) to avoid all this backporting. Because of
this, what we develop on master will be the 2.2 version.
Lasse Schuirmann [Fri, 25 Sep 2015 12:49:09 +0000 (14:49 +0200)]
setup: Use version from babel package
DRY
Lasse Schuirmann [Fri, 25 Sep 2015 12:48:12 +0000 (14:48 +0200)]
setup.cfg: Update release alias
We'll want to do a source distribution and a wheel when the release is
triggered.
Lasse Schuirmann [Fri, 25 Sep 2015 12:54:47 +0000 (14:54 +0200)]
CHANGES: Update changes from last release
Lasse Schuirmann [Thu, 24 Sep 2015 15:06:10 +0000 (17:06 +0200)]
Merge pull request #252 from python-babel/sils/rulsimp
rultor: Remove test execution
Lasse Schuirmann [Thu, 24 Sep 2015 14:05:14 +0000 (16:05 +0200)]
rultor: Remove test execution
Something's wrong here and we do need to debug that first. So in order
for us being able to do rultor merges, let's just not execute tests for
now.
Lasse Schuirmann [Thu, 6 Aug 2015 06:16:21 +0000 (08:16 +0200)]
rultor: Run tests on merge
This will revalidate a PR at least naively (i.e. only for one platform
and python version) right before doing the actual merge and thus may
prevent breaking master.
Lasse Schuirmann [Thu, 6 Aug 2015 06:10:44 +0000 (08:10 +0200)]
rultor: Linearize commit history on merge
This will make rultor rebase a PR and then fastforwarding the master
branch if a merge action is requested.
Lasse Schuirmann [Tue, 22 Sep 2015 19:57:18 +0000 (21:57 +0200)]
Merge pull request #238 from python-babel/sils/wheelm
setup.cfg: Use universal wheel
Lasse Schuirmann [Tue, 22 Sep 2015 19:50:51 +0000 (21:50 +0200)]
Merge branch 'master' into sils/wheelm
Lasse Schuirmann [Mon, 21 Sep 2015 17:51:47 +0000 (19:51 +0200)]
Merge pull request #239 from rjollos/issue70.1
Enforce Python version in `setup.py`
Lasse Schuirmann [Mon, 21 Sep 2015 17:24:10 +0000 (19:24 +0200)]
setup.cfg: Use universal wheel
Ryan J Ollos [Mon, 21 Sep 2015 17:33:47 +0000 (10:33 -0700)]
Enforce Python version in `setup.py`
Print error message and exit if Python version requirement not satisfied.
Lasse Schuirmann [Mon, 21 Sep 2015 13:00:08 +0000 (15:00 +0200)]
Merge pull request #231 from sils1297/sils/readme
docs: Change repository adress
Lasse Schuirmann [Mon, 21 Sep 2015 11:47:09 +0000 (13:47 +0200)]
docs: Change repository adress
The repository moved.
Lasse Schuirmann [Thu, 17 Sep 2015 12:18:17 +0000 (14:18 +0200)]
Merge pull request #223 from rjollos/duplicate-travis-entry
Remove duplicate `sudo: false` entry.
Ryan J Ollos [Thu, 17 Sep 2015 03:51:50 +0000 (20:51 -0700)]
Remove duplicate `sudo: false` entry.
Erick Wilder [Fri, 11 Sep 2015 23:35:57 +0000 (20:35 -0300)]
Merge pull request #216 from mitsuhiko/sils/changes
CHANGES: Add "narrow" support for format_timedelta
Lasse Schuirmann [Thu, 10 Sep 2015 19:36:48 +0000 (21:36 +0200)]
Merge pull request #219 from moreati/fixedoffsettz-negative
FixedOffsetTimezone: fix display of negative offsets
Alex Willmer [Thu, 10 Sep 2015 19:25:45 +0000 (20:25 +0100)]
FixedOffsetTimezone: fix display of negative offsets
Lasse Schuirmann [Thu, 10 Sep 2015 18:54:59 +0000 (20:54 +0200)]
CHANGES: Add "narrow" support for format_timedelta
This was introduced in
https://github.com/moreati/babel/commit/
edc5eb57b2f7c36bb419be4d23396746d233767b
and forgotten to add to CHANGES.
Lasse Schuirmann [Thu, 10 Sep 2015 18:49:05 +0000 (20:49 +0200)]
Merge pull request #213 from moreati/relpath
Remove unneeded relpath() polyfill
Alex Willmer [Thu, 10 Sep 2015 18:31:16 +0000 (19:31 +0100)]
Remove unneeded relpath() polyfill
It looks like this dates back all the way to 2007,
and the initial import of the code in commit
00f16f9 .
Since Python 2.6 is the minimum supported version, and that has
os.path.relpath this is no longer needed.
Lasse Schuirmann [Thu, 10 Sep 2015 13:33:39 +0000 (15:33 +0200)]
Merge pull request #119 from regisb/regisb/fix-odict-pop
Fix odict's pop method
Lasse Schuirmann [Thu, 10 Sep 2015 13:10:46 +0000 (15:10 +0200)]
Merge pull request #210 from moreati/narrow-timedelta
Add format_timedelta(format='narrow') support
Alex Willmer [Thu, 10 Sep 2015 12:54:22 +0000 (13:54 +0100)]
Test invalid format_timedelta() format parameters
Alex Willmer [Thu, 10 Sep 2015 00:41:15 +0000 (01:41 +0100)]
Add format_timedelta(format='narrow') support
Erick Wilder [Wed, 9 Sep 2015 22:04:06 +0000 (19:04 -0300)]
Merge pull request #199 from lepistone/allow-utf8-bom-with-magic-comment
allow utf8 BOM + magic comment, closes #189
Erick Wilder [Wed, 9 Sep 2015 22:03:01 +0000 (19:03 -0300)]
Merge pull request #200 from artms/odict_performance
Improve odict performance by making key search O(1)
Erick Wilder [Wed, 9 Sep 2015 21:59:39 +0000 (18:59 -0300)]
Merge pull request #208 from gitter-badger/gitter-badge
Add a Gitter chat link to README
Erick Wilder [Wed, 9 Sep 2015 21:59:13 +0000 (18:59 -0300)]
Merge pull request #188 from jun66j5/issue174/workaround
Avoid incompatible *.dat files between Python 2 and 3
The Gitter Badger [Mon, 7 Sep 2015 21:50:44 +0000 (21:50 +0000)]
Added Gitter link
Régis Behmo [Wed, 12 Nov 2014 17:09:34 +0000 (18:09 +0100)]
odict: Fix pop method
The items() and iteritems() methods did not contain correct values after
a call to `pop(i)`.
Fixes https://github.com/mitsuhiko/babel/issues/196
Arturas Moskvinas [Wed, 26 Aug 2015 06:11:47 +0000 (09:11 +0300)]
Add change
Arturas Moskvinas [Fri, 7 Aug 2015 16:17:31 +0000 (19:17 +0300)]
Improve odict performance by making key search O(1)
Leonardo Pistone [Tue, 25 Aug 2015 15:34:16 +0000 (17:34 +0200)]
update dead link to the Python Language Reference
Leonardo Pistone [Fri, 7 Aug 2015 14:43:41 +0000 (16:43 +0200)]
allow utf8 BOM + magic comment, closes #189
Lasse Schuirmann [Wed, 5 Aug 2015 18:12:55 +0000 (20:12 +0200)]
Merge pull request #190 from julen/doc-fixes
Docs: minor fixes
Julen Ruiz Aizpuru [Tue, 27 May 2014 08:40:39 +0000 (10:40 +0200)]
Docs: minor fixes
Erick Wilder [Wed, 5 Aug 2015 17:26:02 +0000 (14:26 -0300)]
Merge pull request #110 from felixonmars/master
Support 'Language' header field of PO files
Lasse Schuirmann [Wed, 5 Aug 2015 17:16:24 +0000 (19:16 +0200)]
Merge pull request #180 from etanol/parent-locales
Support parent locale exceptions
Erick Wilder [Wed, 5 Aug 2015 17:10:46 +0000 (14:10 -0300)]
Merge pull request #186 from sils1297/sils/rultor
Add rultor configuration
Lasse Schuirmann [Wed, 5 Aug 2015 16:55:33 +0000 (18:55 +0200)]
Merge pull request #100 from astaric/fix_deepcopy
LazyProxy: Add __copy__ and __deepcopy__
astaric [Thu, 12 Jun 2014 07:33:36 +0000 (09:33 +0200)]
Add __copy__ and __deepcopy__ to LazyProxy.
Python's copy.copy and copy.deepcopy do not call objects __init__,
resulting in endless recursion.
Jun Omae [Tue, 4 Aug 2015 22:21:34 +0000 (07:21 +0900)]
Added unit tests for that *.dat files have only babel classes
Jun Omae [Tue, 4 Aug 2015 11:15:25 +0000 (20:15 +0900)]
Removed uses of datetime.date class from *.dat files (#174)
To avoid incompatible *.dat files between Python 2 and 3.
Isaac Jurado [Wed, 5 Nov 2014 16:15:08 +0000 (17:15 +0100)]
localedata: Check inheritance exceptions first
When deriving the parent locale from the given name, look first in the
inheritance exception list. This will cover cases like "es_MX", which
parent is "es_419" and not "es".
Fixes https://github.com/mitsuhiko/babel/issues/97
Isaac Jurado [Wed, 5 Nov 2014 15:40:04 +0000 (16:40 +0100)]
Import parent locale exceptions
Process and save the <parentLocales> element, which contains the
inheritance exceptions to the standard CLDR locale inheritance
algorithm.
Felix Yan [Wed, 26 Mar 2014 14:43:14 +0000 (14:43 +0000)]
Support 'Language' header field of PO files (#76)
GNU gettext has support for the 'Language' field in header entry since
version 0.18 (May 2010). This commit adds support for the field and
addresses #76.
Lasse Schuirmann [Wed, 5 Aug 2015 13:54:55 +0000 (15:54 +0200)]
Merge pull request #177 from philiptzou/pull-request-localedata-import-warning
Fixed issue #109: `ImportWarning` warned when `import babel`
Lasse Schuirmann [Tue, 4 Aug 2015 14:32:16 +0000 (16:32 +0200)]
Add rultor configuration
This allows merging via github comments. The comment `@rultor merge`
will execute the script (which currently doesn't do anything) and if it
succeeds will perform the merge.
I plan to use rultor later for:
* Automatic deployment to PyPI (development releases directly from
master, we do this already in coala, see
https://github.com/coala-analyzer/coala/blob/master/.rultor.yml)
* Automatic releasing with deployment to PyPI.
* Veryfy that all CI services pass before merging (see
https://github.com/yegor256/rultor/issues/869)
With this any manual pushes to master are disallowed, all pushes to
master have to be validated by continuous integration and reviewed by a
non-committer.
Erick Wilder [Tue, 4 Aug 2015 14:24:05 +0000 (11:24 -0300)]
Merge pull request #151 from jespino/patch-1
Fix typo on mapping filename
Armin Ronacher [Tue, 4 Aug 2015 12:43:20 +0000 (14:43 +0200)]
Added dev docs
Lasse Schuirmann [Tue, 4 Aug 2015 11:44:52 +0000 (13:44 +0200)]
Merge pull request #184 from sils1297/sils/gitignore
gitignore: Add temporary editor files
Lasse Schuirmann [Tue, 4 Aug 2015 11:43:07 +0000 (13:43 +0200)]
Merge pull request #183 from sils1297/sils/testci
Add Windows and Mac CI, and coverage submission
Lasse Schuirmann [Tue, 4 Aug 2015 11:01:34 +0000 (13:01 +0200)]
travis: Cache cldr
This should speed linux builds up a bit. Caching is not supported for
mac builds though.
Lasse Schuirmann [Tue, 4 Aug 2015 09:46:04 +0000 (11:46 +0200)]
CI: Add mac builds
Lasse Schuirmann [Tue, 4 Aug 2015 11:02:30 +0000 (13:02 +0200)]
Makefile: Use platform independent pytest invocation
Lasse Schuirmann [Tue, 4 Aug 2015 11:08:26 +0000 (13:08 +0200)]
gitignore: Add temporary editor files
.idea stores settings for PyCharm, ~ files are temporary files e.g. used
by gedit. .swp is used by vim. We don't want any of those to be
accidentally committed in the repo.
Lasse Schuirmann [Tue, 4 Aug 2015 09:02:14 +0000 (11:02 +0200)]
travis: Submit coverage to codecov
Lasse Schuirmann [Tue, 4 Aug 2015 08:42:44 +0000 (10:42 +0200)]
CI: Add windows builds
Philip_Tzou [Sat, 1 Aug 2015 21:03:14 +0000 (14:03 -0700)]
Fixed issue #109: `ImportWarning` warned when `import babel`
`localedata.py` uses the same name with folder `localedata/`, which
Python will try to load `localdata/__init__.py` and warn `ImportWarning`
if the file not found.
If try to filter the `ImportWarning` as an error like this:
```python
import warnings
warnings.filterwarnings('error', category=ImportWarning)
import babel
```
An `ImportWarning` exception will be raised.
Jesús Espino [Fri, 20 Mar 2015 11:15:11 +0000 (12:15 +0100)]
Fix typo on mapping filename
Now the setup.cfg example for extract_messages configuration is equivalent to the command line example.
Erick Wilder [Fri, 31 Jul 2015 19:48:39 +0000 (16:48 -0300)]
Merge pull request #167 from jeremydw/master
Update locale.rst
Erick Wilder [Tue, 28 Jul 2015 17:51:16 +0000 (14:51 -0300)]
Merge pull request #170 from sils1297/sils/travis
travis: Use docker infrastructure
Lasse Schuirmann [Tue, 28 Jul 2015 16:07:25 +0000 (18:07 +0200)]
travis: Use docker infrastructure
See http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/ for related documentation.
Jeremy Weinstein [Tue, 28 Jul 2015 00:45:35 +0000 (17:45 -0700)]
Update locale.rst
Erick Wilder [Mon, 27 Jul 2015 21:27:12 +0000 (18:27 -0300)]
Update CHANGES with py3.4 support
Erick Wilder [Mon, 27 Jul 2015 21:21:29 +0000 (18:21 -0300)]
Add Python 3.4 to travis
Erick Wilder [Mon, 27 Jul 2015 21:01:47 +0000 (18:01 -0300)]
Add Python 3.4 to tox stack
Erick Wilder [Mon, 27 Jul 2015 20:02:28 +0000 (17:02 -0300)]
Force file deletion at cleaning tasks
- Fresh install tests will fail if there's no file inside babel/localedata and/or babel/global.dat
Armin Ronacher [Mon, 27 Jul 2015 11:39:24 +0000 (13:39 +0200)]
Added changelog entry for 3.0
Armin Ronacher [Mon, 27 Jul 2015 11:38:06 +0000 (13:38 +0200)]
Merge branch 'pr/136'
Armin Ronacher [Mon, 27 Jul 2015 11:28:25 +0000 (13:28 +0200)]
This is 3.0-dev
Armin Ronacher [Mon, 27 Jul 2015 11:27:47 +0000 (13:27 +0200)]
Bump version number to 2.0
Armin Ronacher [Mon, 27 Jul 2015 11:27:44 +0000 (13:27 +0200)]
Updated changelog
Armin Ronacher [Mon, 27 Jul 2015 11:22:31 +0000 (13:22 +0200)]
Fixed a bunch of broken timezone tests.
benselme [Sun, 11 Jan 2015 23:28:53 +0000 (18:28 -0500)]
Merge branch 'cldr-24' into cldr-26
benselme [Sun, 11 Jan 2015 23:27:20 +0000 (18:27 -0500)]
Fixed doctest failing randomly
benselme [Sun, 11 Jan 2015 23:18:12 +0000 (18:18 -0500)]
Fixed 2.6 bug (Decimal cannot convert floats)
benselme [Sun, 11 Jan 2015 22:12:47 +0000 (17:12 -0500)]
Fix doctests
benselme [Sun, 11 Jan 2015 21:00:10 +0000 (16:00 -0500)]
Merge branch 'cldr-25' into cldr-26
benselme [Sun, 11 Jan 2015 20:59:15 +0000 (15:59 -0500)]
Merge branch 'cldr-24' into cldr-25
benselme [Sun, 11 Jan 2015 20:58:53 +0000 (15:58 -0500)]
Fixed doctests
benselme [Sun, 11 Jan 2015 20:21:16 +0000 (15:21 -0500)]
CLDR-26 support: Minor adjustments to tests. URL, filename and filehash.
benselme [Sun, 11 Jan 2015 16:55:24 +0000 (11:55 -0500)]
Don't try and import deprecated BCP-47 timezones
benselme [Sun, 11 Jan 2015 16:54:28 +0000 (11:54 -0500)]
File name and checksum for CLDR-25
benselme [Fri, 9 Jan 2015 20:35:21 +0000 (15:35 -0500)]
Make sure extract_operands is always called when using plural.to_python, add tests to check operands eval works
benselme [Fri, 9 Jan 2015 19:56:31 +0000 (14:56 -0500)]
Fixed import and format_timedelta to handle new time unit patterns in cldr-24.
Fixed tests to account for various minor changes in cldr-24.
benselme [Fri, 9 Jan 2015 16:17:07 +0000 (11:17 -0500)]
Fix to_python when i is not provided to evaluate function
benselme [Fri, 9 Jan 2015 15:33:24 +0000 (10:33 -0500)]
plural.extract_operands function and tests
benselme [Fri, 9 Jan 2015 13:51:54 +0000 (08:51 -0500)]
PEP8
benselme [Fri, 9 Jan 2015 00:40:28 +0000 (19:40 -0500)]
More stuff merged from mitsuhiko's cldr-24 branch
benselme [Fri, 9 Jan 2015 00:22:20 +0000 (19:22 -0500)]
More plural._Parser tests
benselme [Fri, 9 Jan 2015 00:03:25 +0000 (19:03 -0500)]
Improved _Parser doc
benselme [Fri, 9 Jan 2015 00:01:48 +0000 (19:01 -0500)]
More extraction in _Parser, more tests
benselme [Thu, 8 Jan 2015 22:57:07 +0000 (17:57 -0500)]
Extract PluralRule.skip
benselme [Thu, 8 Jan 2015 22:53:16 +0000 (17:53 -0500)]
Extract PluralRule.test and add tests
benselme [Thu, 8 Jan 2015 22:29:24 +0000 (17:29 -0500)]
Include Armin Ronacher's work on PluralRule mitsuhiko/babel@
774047a