]> git.ipfire.org Git - thirdparty/babel.git/log
thirdparty/babel.git
9 years agoMerge pull request #257 from python-babel/sils/nextver 2.x-maintenance
Erick Wilder [Fri, 25 Sep 2015 14:43:01 +0000 (11:43 -0300)] 
Merge pull request #257 from python-babel/sils/nextver

Sils/nextver

9 years agoCHANGES: Add 2.2 block 257/head
Lasse Schuirmann [Fri, 25 Sep 2015 12:53:20 +0000 (14:53 +0200)] 
CHANGES: Add 2.2 block

9 years agobabel: Change version to 2.2.0.dev0
Lasse Schuirmann [Fri, 25 Sep 2015 12:49:40 +0000 (14:49 +0200)] 
babel: Change version to 2.2.0.dev0

Everything from now on on this branch is a development version of 2.2.0.

9 years agosetup: Use version from babel package
Lasse Schuirmann [Fri, 25 Sep 2015 12:49:09 +0000 (14:49 +0200)] 
setup: Use version from babel package

DRY

9 years agosetup.cfg: Update release alias
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.

9 years agoRelease 2.1.1 2.1.1
Lasse Schuirmann [Fri, 25 Sep 2015 12:41:40 +0000 (14:41 +0200)] 
Release 2.1.1

9 years agoMerge pull request #251 from erickwilder/update-changes
Lasse Schuirmann [Fri, 25 Sep 2015 07:08:13 +0000 (09:08 +0200)] 
Merge pull request #251 from erickwilder/update-changes

2.1 release preparation

9 years agoAdd the latest changes backported from master to the 2.x branch 251/head
Erick Wilder [Wed, 23 Sep 2015 15:57:35 +0000 (12:57 -0300)] 
Add the latest changes backported from master to the 2.x branch

9 years agoMerge pull request #237 from python-babel/sils/wheel
Lasse Schuirmann [Tue, 22 Sep 2015 19:46:28 +0000 (21:46 +0200)] 
Merge pull request #237 from python-babel/sils/wheel

[MAINTENANCE BACKPORT] setup.cfg: Use universal wheel

9 years agosetup.cfg: Use universal wheel 237/head
Lasse Schuirmann [Mon, 21 Sep 2015 17:24:10 +0000 (19:24 +0200)] 
setup.cfg: Use universal wheel

9 years agoMerge pull request #234 from python-babel/sils/back
Lasse Schuirmann [Mon, 21 Sep 2015 15:08:42 +0000 (17:08 +0200)] 
Merge pull request #234 from python-babel/sils/back

Remove duplicate `sudo: false` entry.

9 years agoRemove duplicate `sudo: false` entry. 234/head
Ryan J Ollos [Thu, 17 Sep 2015 03:51:50 +0000 (20:51 -0700)] 
Remove duplicate `sudo: false` entry.

9 years agoMerge pull request #225 from sils1297/2.x-maintenance
Lasse Schuirmann [Mon, 21 Sep 2015 14:54:08 +0000 (16:54 +0200)] 
Merge pull request #225 from sils1297/2.x-maintenance

BACKPORT: Support 'Language' header field of PO files (#76)

9 years agoMerge branch '2.x-maintenance' into 2.x-maintenance 225/head
Lasse Schuirmann [Mon, 21 Sep 2015 14:45:57 +0000 (16:45 +0200)] 
Merge branch '2.x-maintenance' into 2.x-maintenance

9 years agoSupport 'Language' header field of PO files (#76)
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.

9 years agoMerge pull request #232 from sils1297/sils/readmebackport
Lasse Schuirmann [Mon, 21 Sep 2015 13:07:40 +0000 (15:07 +0200)] 
Merge pull request #232 from sils1297/sils/readmebackport

BACKPORT: docs: Change repository adress

9 years agodocs: Change repository adress 232/head
Lasse Schuirmann [Mon, 21 Sep 2015 11:47:09 +0000 (13:47 +0200)] 
docs: Change repository adress

The repository moved.

9 years agoMerge pull request #220 from moreati/2.x-fixedoffsettz-negative
Lasse Schuirmann [Thu, 10 Sep 2015 19:47:49 +0000 (21:47 +0200)] 
Merge pull request #220 from moreati/2.x-fixedoffsettz-negative

FixedOffsetTimezone: fix display of negative offsets

9 years agoBackport: FixedOffsetTimezone: fix display of negative offsets 220/head
Alex Willmer [Thu, 10 Sep 2015 19:25:45 +0000 (20:25 +0100)] 
Backport: FixedOffsetTimezone: fix display of negative offsets

9 years agoMerge pull request #193 from erickwilder/issue174/2.x-backport
Erick Wilder [Wed, 9 Sep 2015 21:58:47 +0000 (18:58 -0300)] 
Merge pull request #193 from erickwilder/issue174/2.x-backport

Backporting #174 bugfix to 2.x version

9 years agoLog bugfix changes and bump new bugfix version 193/head
Erick Wilder [Mon, 24 Aug 2015 17:01:24 +0000 (14:01 -0300)] 
Log bugfix changes and bump new bugfix version

Added @jun66j5 bug fix log entry to the CHANGES file

9 years agoRemoved uses of datetime.date class from *.dat files (#174)
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.
Added unit tests for that *.dat files have only babel classes

 Author:    Jun Omae <jun66j5@gmail.com>

10 years agoMerge pull request #197 from erickwilder/backport/2.x-ci-settings
Erick Wilder [Fri, 14 Aug 2015 13:11:59 +0000 (10:11 -0300)] 
Merge pull request #197 from erickwilder/backport/2.x-ci-settings

Backport CI settings to 2.x

10 years agoCI: Add windows builds 197/head
Lasse Schuirmann [Tue, 4 Aug 2015 08:42:44 +0000 (10:42 +0200)] 
CI: Add windows builds

Remove Python 3.4 related settings
Python 3.4 support will be officially added at the 3.0 release
Add 2.x-maintenance branch in the appveyor list

Author:    Lasse Schuirmann <lasse.schuirmann@gmail.com>

10 years agoAdd rultor configuration
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.

10 years agotravis: Cache cldr
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.

10 years agoCI: Add mac builds
Erick Wilder [Thu, 6 Aug 2015 16:00:14 +0000 (13:00 -0300)] 
CI: Add mac builds

 Conflicts:
.travis.yml - Just the relevant and supported versions in the 2.x branch
                was kept. Official py3.4 support will come at the 3.x release

10 years agoMakefile: Use platform independent pytest invocation
Lasse Schuirmann [Tue, 4 Aug 2015 11:02:30 +0000 (13:02 +0200)] 
Makefile: Use platform independent pytest invocation

10 years agogitignore: Add temporary editor files
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.

10 years agotravis: Submit coverage to codecov
Lasse Schuirmann [Tue, 4 Aug 2015 09:02:14 +0000 (11:02 +0200)] 
travis: Submit coverage to codecov

 Conflicts:
.travis.yml

10 years agoBump version number to 2.0 2.0
Armin Ronacher [Mon, 27 Jul 2015 11:27:47 +0000 (13:27 +0200)] 
Bump version number to 2.0

10 years agoUpdated changelog
Armin Ronacher [Mon, 27 Jul 2015 11:27:44 +0000 (13:27 +0200)] 
Updated changelog

10 years agoFixed a bunch of broken timezone tests.
Armin Ronacher [Mon, 27 Jul 2015 11:22:31 +0000 (13:22 +0200)] 
Fixed a bunch of broken timezone tests.

11 years agoMerge branch 'master' of github.com:mitsuhiko/babel
Armin Ronacher [Mon, 7 Apr 2014 21:30:28 +0000 (23:30 +0200)] 
Merge branch 'master' of github.com:mitsuhiko/babel

11 years agoread/write all PO files in binary mode
Alex Morega [Wed, 15 Jan 2014 20:12:19 +0000 (22:12 +0200)] 
read/write all PO files in binary mode

as pointed out in #52

11 years agocorrectly handle 'C.UTF-8' locale
Alex Morega [Wed, 8 Jan 2014 11:24:40 +0000 (13:24 +0200)] 
correctly handle 'C.UTF-8' locale

fixes #57

11 years agofix warning for deprecated array.tostring
Alex Morega [Tue, 7 Jan 2014 06:16:16 +0000 (08:16 +0200)] 
fix warning for deprecated array.tostring

fixes #75

11 years agochange spelling of the encoding
Alex Morega [Mon, 6 Jan 2014 21:15:45 +0000 (23:15 +0200)] 
change spelling of the encoding

Apparently jython doesn't understand "utf_8". Fixes #46.

11 years agospecify locale
Alex Morega [Mon, 6 Jan 2014 20:48:15 +0000 (22:48 +0200)] 
specify locale

otherwise, running tests in another locale fails
fixes #45, thanks @Arfrever!

11 years agore-enable doctests
Alex Morega [Mon, 6 Jan 2014 20:39:22 +0000 (22:39 +0200)] 
re-enable doctests

11 years agoMerge branch 'fix-time-parsing'
Alex Morega [Mon, 6 Jan 2014 19:56:17 +0000 (21:56 +0200)] 
Merge branch 'fix-time-parsing'

11 years agoparse datetime values with no timezone info
Alex Morega [Mon, 6 Jan 2014 19:55:27 +0000 (21:55 +0200)] 
parse datetime values with no timezone info

fixes #56

11 years agorewrite regexp parsing
Alex Morega [Mon, 6 Jan 2014 19:43:33 +0000 (21:43 +0200)] 
rewrite regexp parsing

11 years agoextract _parse_datetime_header function
Alex Morega [Mon, 6 Jan 2014 19:41:25 +0000 (21:41 +0200)] 
extract _parse_datetime_header function

11 years agouse fallback plural if none is defined in CLDR
Alex Morega [Mon, 6 Jan 2014 19:19:47 +0000 (21:19 +0200)] 
use fallback plural if none is defined in CLDR

fixes #69

11 years agoMerge pull request #66 from Sjord/master
Alex Morega [Mon, 6 Jan 2014 18:28:51 +0000 (10:28 -0800)] 
Merge pull request #66 from Sjord/master

Correctly parse number pattern with '-' on the end

11 years agoMerge pull request #48 from yoloseem/patch-1
Alex Morega [Mon, 6 Jan 2014 17:12:22 +0000 (09:12 -0800)] 
Merge pull request #48 from yoloseem/patch-1

Fixed typos on cli errors.

11 years agoMerge pull request #68 from masklinn/master
Alex Morega [Mon, 6 Jan 2014 17:08:02 +0000 (09:08 -0800)] 
Merge pull request #68 from masklinn/master

Add links from changelog entries to their ticket via extlink

11 years agoMerge pull request #64 from Ivoz/patch-1
Alex Morega [Mon, 6 Jan 2014 17:02:15 +0000 (09:02 -0800)] 
Merge pull request #64 from Ivoz/patch-1

Update classifiers to give more detailed information about babel's versi...

11 years agoMerge pull request #73 from javacruft/wip-currency-name-test
Alex Morega [Mon, 6 Jan 2014 16:50:30 +0000 (08:50 -0800)] 
Merge pull request #73 from javacruft/wip-currency-name-test

Fixup get_currency_name test

11 years agoMerge pull request #52 from adyshev/patch-1
Alex Morega [Mon, 6 Jan 2014 16:47:05 +0000 (08:47 -0800)] 
Merge pull request #52 from adyshev/patch-1

fix `pybabel update` on py3

11 years agoFixup get_currency_name test 73/head
James Page [Fri, 6 Dec 2013 11:49:26 +0000 (11:49 +0000)] 
Fixup get_currency_name test

This test failed in environments where no default locale
can be determined; make the test deterministic and add
additional test for plurality.

Signed-off-by: James Page <james.page@ubuntu.com>
11 years agoAdd links from changelog entries to their ticket via extlink 68/head
masklinn [Tue, 26 Nov 2013 18:45:35 +0000 (19:45 +0100)] 
Add links from changelog entries to their ticket via extlink

Supports links to the new github (``:gh:``) and the old trac
(``:trac:``). The prefixes are used to keep the same reference style
as pre-extlinks in the final output (aside from a few entries at the
bottom of 1.0, trac references were all in the form ``ticket #42``).

11 years agoReformatted import script
Armin Ronacher [Wed, 20 Nov 2013 17:38:25 +0000 (17:38 +0000)] 
Reformatted import script

11 years agoCorrectly parse number pattern with '-' on the end 66/head
Sjoerd Langkemper [Wed, 6 Nov 2013 10:32:28 +0000 (11:32 +0100)] 
Correctly parse number pattern with '-' on the end

For the nl_NL locale, negative numbers would be formatted just like
positive numbers by format_currency. By changing NUMBER_TOKEN to
no longer have a minus sign in it, the minus sign on the end
of the negative pattern for nl_NL is correctly parsed.

11 years agoUpdate classifiers to give more detailed information about babel's version compatibility 64/head
Matt Iversen [Sat, 19 Oct 2013 11:27:38 +0000 (22:27 +1100)] 
Update classifiers to give more detailed information about babel's version compatibility

11 years agoPython3 52/head
Alexander A. Dyshev [Fri, 23 Aug 2013 14:06:21 +0000 (17:06 +0300)] 
Python3

Without 'b' option, using python3 everybody will get during update:

bash-3.2$ pybabel update -i messages.pot -d translations
updating catalog 'translations/en/LC_MESSAGES/messages.po' based on 'messages.pot'
Traceback (most recent call last):
  File "/home/user/.pyenv/versions/3.3.2/bin/pybabel", line 9, in <module>
    load_entry_point('Babel==1.3', 'console_scripts', 'pybabel')()
  File "/home/user/.pyenv/versions/3.3.2/lib/python3.3/site-packages/babel/messages/frontend.py", line 1151, in main
    return CommandLineInterface().run(sys.argv)
  File "/home/user/.pyenv/versions/3.3.2/lib/python3.3/site-packages/babel/messages/frontend.py", line 665, in run
    return getattr(self, cmdname)(args[1:])
  File "/home/user/.pyenv/versions/3.3.2/lib/python3.3/site-packages/babel/messages/frontend.py", line 1130, in update
    width=options.width)
  File "/home/user/.pyenv/versions/3.3.2/lib/python3.3/site-packages/babel/messages/pofile.py", line 444, in write_po
    _write(comment_header + u'\n')
  File "/home/user/.pyenv/versions/3.3.2/lib/python3.3/site-packages/babel/messages/pofile.py", line 388, in _write
    fileobj.write(text)
TypeError: must be str, not bytes

11 years agoFix tox configuration
Daniel Neuhäuser [Thu, 22 Aug 2013 17:40:55 +0000 (19:40 +0200)] 
Fix tox configuration

Re-using the pickled data across 2.x and 3.x causes errors when running
the tests.

12 years agoFixed a typo on description for setuptools command option. 48/head
Hyunjun Kim [Fri, 16 Aug 2013 11:40:31 +0000 (20:40 +0900)] 
Fixed a typo on description for setuptools command option.

12 years agoFixed typos on cli errors.
Hyunjun Kim [Fri, 16 Aug 2013 11:08:23 +0000 (20:08 +0900)] 
Fixed typos on cli errors.

12 years agoMerge branch '1.x-maintenance'
Armin Ronacher [Wed, 31 Jul 2013 20:50:13 +0000 (22:50 +0200)] 
Merge branch '1.x-maintenance'

12 years agoFixed a CLDR import error on windows.
Armin Ronacher [Wed, 31 Jul 2013 20:48:52 +0000 (22:48 +0200)] 
Fixed a CLDR import error on windows.

When building the CLDR data from scratch the process would break on
windows because the timezone mapping is not available yet.

This fixes #43.

12 years agoFixed a typo
Armin Ronacher [Tue, 30 Jul 2013 00:32:35 +0000 (02:32 +0200)] 
Fixed a typo

12 years agoRenamed a chapter in the docs
Armin Ronacher [Tue, 30 Jul 2013 00:17:03 +0000 (02:17 +0200)] 
Renamed a chapter in the docs

12 years agoAdded support for territory currency lookups.
Armin Ronacher [Tue, 30 Jul 2013 00:13:45 +0000 (02:13 +0200)] 
Added support for territory currency lookups.

The main usecase of this is to figure out at what point in time did
a country use a certain currency.  The default behavior is to use
the current date.

This fixes #42

12 years agoMerge branch '1.x-maintenance'
Armin Ronacher [Mon, 29 Jul 2013 17:09:31 +0000 (19:09 +0200)] 
Merge branch '1.x-maintenance'

12 years agoFixed territory aliases not working properly
Armin Ronacher [Mon, 29 Jul 2013 17:09:07 +0000 (19:09 +0200)] 
Fixed territory aliases not working properly

12 years agoAdded changelog line for 1.4
Armin Ronacher [Mon, 29 Jul 2013 17:08:04 +0000 (19:08 +0200)] 
Added changelog line for 1.4

12 years agoMerge branch '1.x-maintenance'
Armin Ronacher [Mon, 29 Jul 2013 17:04:44 +0000 (19:04 +0200)] 
Merge branch '1.x-maintenance'

12 years agoReady for 1.4
Armin Ronacher [Mon, 29 Jul 2013 11:33:55 +0000 (13:33 +0200)] 
Ready for 1.4

12 years agoBump version number to 1.3 1.3
Armin Ronacher [Mon, 29 Jul 2013 11:33:20 +0000 (13:33 +0200)] 
Bump version number to 1.3

12 years agoRelease is today
Armin Ronacher [Mon, 29 Jul 2013 11:33:11 +0000 (13:33 +0200)] 
Release is today

12 years agoAdded a missing changelog entry
Armin Ronacher [Mon, 29 Jul 2013 09:34:37 +0000 (11:34 +0200)] 
Added a missing changelog entry

12 years agoFixed a bug on Python 3 when writing to stdout
Armin Ronacher [Mon, 29 Jul 2013 09:26:19 +0000 (11:26 +0200)] 
Fixed a bug on Python 3 when writing to stdout

12 years agoAdded another testcase for subtag expansion.
Armin Ronacher [Sun, 28 Jul 2013 21:35:30 +0000 (23:35 +0200)] 
Added another testcase for subtag expansion.

12 years agoAdded a missing changelog entry
Armin Ronacher [Mon, 29 Jul 2013 09:34:37 +0000 (11:34 +0200)] 
Added a missing changelog entry

12 years agoFixed a bug on Python 3 when writing to stdout
Armin Ronacher [Mon, 29 Jul 2013 09:26:19 +0000 (11:26 +0200)] 
Fixed a bug on Python 3 when writing to stdout

12 years agoAdded another testcase for subtag expansion.
Armin Ronacher [Sun, 28 Jul 2013 21:35:30 +0000 (23:35 +0200)] 
Added another testcase for subtag expansion.

12 years agoMerge branch '1.x-maintenance'
Armin Ronacher [Sun, 28 Jul 2013 21:15:59 +0000 (23:15 +0200)] 
Merge branch '1.x-maintenance'

12 years agoFixed #37 (likely subtag resolving)
Armin Ronacher [Sun, 28 Jul 2013 21:13:21 +0000 (23:13 +0200)] 
Fixed #37 (likely subtag resolving)

This fixes some locales not loading correctly (like zh_CN) that
are defined through simplified rules in the likely-subtag mapping.

12 years agoPrepare 1.3
Armin Ronacher [Sun, 28 Jul 2013 21:12:19 +0000 (23:12 +0200)] 
Prepare 1.3

12 years agoMerge branch '1.x-maintenance'
Armin Ronacher [Sat, 27 Jul 2013 11:00:09 +0000 (13:00 +0200)] 
Merge branch '1.x-maintenance'

12 years agoIf we need a 1.3
Armin Ronacher [Sat, 27 Jul 2013 10:59:47 +0000 (12:59 +0200)] 
If we need a 1.3

12 years agoBump version number to 1.2 1.2
Armin Ronacher [Sat, 27 Jul 2013 10:58:38 +0000 (12:58 +0200)] 
Bump version number to 1.2

12 years ago1.2 is today as well
Armin Ronacher [Sat, 27 Jul 2013 10:58:07 +0000 (12:58 +0200)] 
1.2 is today as well

12 years agoMake sure release script runs cldr importing
Armin Ronacher [Sat, 27 Jul 2013 10:57:27 +0000 (12:57 +0200)] 
Make sure release script runs cldr importing

12 years agoAdded changelog entry
Armin Ronacher [Sat, 27 Jul 2013 10:56:43 +0000 (12:56 +0200)] 
Added changelog entry

12 years agoFixed make tox-test on new pip versions
Armin Ronacher [Sat, 27 Jul 2013 10:55:41 +0000 (12:55 +0200)] 
Fixed make tox-test on new pip versions

12 years agoInvoke download_import_cldr.py through python
Armin Ronacher [Sat, 27 Jul 2013 10:44:31 +0000 (12:44 +0200)] 
Invoke download_import_cldr.py through python

12 years agoMake tests work without installation
Armin Ronacher [Sat, 27 Jul 2013 10:43:13 +0000 (12:43 +0200)] 
Make tests work without installation

12 years agoImproved standalone test command
Armin Ronacher [Sat, 27 Jul 2013 10:40:26 +0000 (12:40 +0200)] 
Improved standalone test command

12 years agoAdded standalone test command
Armin Ronacher [Sat, 27 Jul 2013 10:36:23 +0000 (12:36 +0200)] 
Added standalone test command

12 years agoAdded tox.ini to MANIFEST
Armin Ronacher [Sat, 27 Jul 2013 10:14:22 +0000 (12:14 +0200)] 
Added tox.ini to MANIFEST

12 years agoFixed MANIFEST.in to not work for the tests and docs properly
Armin Ronacher [Sat, 27 Jul 2013 10:07:47 +0000 (12:07 +0200)] 
Fixed MANIFEST.in to not work for the tests and docs properly

12 years agoMake sure data files are included as well
Armin Ronacher [Sat, 27 Jul 2013 10:02:46 +0000 (12:02 +0200)] 
Make sure data files are included as well

12 years ago-dev is now explicitly in the version, no need for setup.cfg to add it
Armin Ronacher [Sat, 27 Jul 2013 10:00:04 +0000 (12:00 +0200)] 
-dev is now explicitly in the version, no need for setup.cfg to add it

12 years agoFixed MANIFEST.in recursive include
Armin Ronacher [Sat, 27 Jul 2013 09:59:38 +0000 (11:59 +0200)] 
Fixed MANIFEST.in recursive include

12 years agoAdded 2.0 to the changelog
Armin Ronacher [Sat, 27 Jul 2013 09:56:34 +0000 (11:56 +0200)] 
Added 2.0 to the changelog

12 years agoMerge branch '1.x-maintenance'
Armin Ronacher [Sat, 27 Jul 2013 09:56:00 +0000 (11:56 +0200)] 
Merge branch '1.x-maintenance'

12 years agoFixed not all tests being included
Armin Ronacher [Sat, 27 Jul 2013 09:55:41 +0000 (11:55 +0200)] 
Fixed not all tests being included