]> git.ipfire.org Git - thirdparty/babel.git/log
thirdparty/babel.git
12 years agoupdated changelog, setup.py (classifiers), requirements for installation 23/head
Thomas Waldmann [Sun, 7 Jul 2013 19:52:25 +0000 (21:52 +0200)] 
updated changelog, setup.py (classifiers), requirements for installation

12 years agofix cldr download script for py3
Alex Morega [Sun, 7 Jul 2013 11:12:11 +0000 (13:12 +0200)] 
fix cldr download script for py3

12 years agohey travis, run on py33!
Alex Morega [Sun, 7 Jul 2013 11:02:49 +0000 (13:02 +0200)] 
hey travis, run on py33!

12 years agomake sure rules are always sorted
Alex Morega [Sun, 7 Jul 2013 10:59:47 +0000 (12:59 +0200)] 
make sure rules are always sorted

12 years agoreplace unicode with text_type
Alex Morega [Sun, 7 Jul 2013 09:59:13 +0000 (11:59 +0200)] 
replace unicode with text_type

12 years agofix tests for babel.messages.checkers
Alex Morega [Sun, 7 Jul 2013 09:58:04 +0000 (11:58 +0200)] 
fix tests for babel.messages.checkers

12 years agofix babel.support for py3 strings/bytes
Alex Morega [Sun, 7 Jul 2013 09:47:48 +0000 (11:47 +0200)] 
fix babel.support for py3 strings/bytes

12 years agol*gettext always returns bytes, even on py3
Alex Morega [Sun, 7 Jul 2013 09:44:59 +0000 (11:44 +0200)] 
l*gettext always returns bytes, even on py3

12 years agothe python stdlib has no *pgettext
Alex Morega [Sun, 7 Jul 2013 09:04:51 +0000 (11:04 +0200)] 
the python stdlib has no *pgettext

12 years agoopen po files in binary mode
Alex Morega [Sun, 7 Jul 2013 08:57:12 +0000 (10:57 +0200)] 
open po files in binary mode

12 years agofix parser for python 3
Alex Morega [Sun, 7 Jul 2013 08:34:47 +0000 (10:34 +0200)] 
fix parser for python 3

12 years agofix js lexer
Alex Morega [Sun, 7 Jul 2013 07:42:42 +0000 (09:42 +0200)] 
fix js lexer

12 years agofix tests
Alex Morega [Sun, 7 Jul 2013 08:30:12 +0000 (10:30 +0200)] 
fix tests

12 years agoMore gettext fixes
Armin Ronacher [Sat, 6 Jul 2013 20:18:47 +0000 (22:18 +0200)] 
More gettext fixes

12 years agoFixed a bug caused by new filter()
Armin Ronacher [Sat, 6 Jul 2013 19:52:51 +0000 (21:52 +0200)] 
Fixed a bug caused by new filter()

12 years agofix some string/bytes issues in catalog
Alex Morega [Sat, 6 Jul 2013 17:30:11 +0000 (19:30 +0200)] 
fix some string/bytes issues in catalog

12 years agopy3 division returns floats; cast back to int
Alex Morega [Sat, 6 Jul 2013 16:05:13 +0000 (18:05 +0200)] 
py3 division returns floats; cast back to int

12 years agorewrite regression test
Alex Morega [Sat, 6 Jul 2013 15:47:29 +0000 (17:47 +0200)] 
rewrite regression test

12 years agoin py3 we use straight email.message_from_string
Alex Morega [Sat, 6 Jul 2013 15:34:49 +0000 (17:34 +0200)] 
in py3 we use straight email.message_from_string

12 years agomove _parse_header to module level
Alex Morega [Sat, 6 Jul 2013 15:32:19 +0000 (17:32 +0200)] 
move _parse_header to module level

12 years agomake sure zone aliases are unicode
Alex Morega [Sat, 6 Jul 2013 17:08:54 +0000 (19:08 +0200)] 
make sure zone aliases are unicode

12 years agoFixed a regression in the pluralization support
Armin Ronacher [Sat, 6 Jul 2013 16:20:06 +0000 (18:20 +0200)] 
Fixed a regression in the pluralization support

12 years agoMerge branch 'pr/20'
Armin Ronacher [Sat, 6 Jul 2013 16:16:36 +0000 (18:16 +0200)] 
Merge branch 'pr/20'

12 years agoMerge pull request #21 from DasIch/python3-2
Armin Ronacher [Sat, 6 Jul 2013 16:06:24 +0000 (09:06 -0700)] 
Merge pull request #21 from DasIch/python3-2

More small Python3 fixes

12 years agoUse sorted() in possible view instead of .sort() 21/head
Daniel Neuhäuser [Sat, 6 Jul 2013 15:20:02 +0000 (17:20 +0200)] 
Use sorted() in possible view instead of .sort()

12 years agofix doctests, the return value is unicode 20/head
Alex Morega [Sat, 6 Jul 2013 15:18:48 +0000 (17:18 +0200)] 
fix doctests, the return value is unicode

12 years agorun the right test suite by default
Alex Morega [Sat, 6 Jul 2013 15:16:58 +0000 (17:16 +0200)] 
run the right test suite by default

12 years agoTurn PYTHON_MAGIC_COMMENT_re into byte string
Daniel Neuhäuser [Sat, 6 Jul 2013 15:17:06 +0000 (17:17 +0200)] 
Turn PYTHON_MAGIC_COMMENT_re into byte string

12 years agoMore work on making Python 3.3 pass tests
Armin Ronacher [Sat, 6 Jul 2013 15:03:42 +0000 (17:03 +0200)] 
More work on making Python 3.3 pass tests

12 years agoResolved a bunch of syntax errors
Armin Ronacher [Sat, 6 Jul 2013 14:57:29 +0000 (16:57 +0200)] 
Resolved a bunch of syntax errors

12 years agoSome small fixes from #19
Armin Ronacher [Sat, 6 Jul 2013 14:49:29 +0000 (16:49 +0200)] 
Some small fixes from #19

12 years agoMore work on making tests work on Python 3
Armin Ronacher [Sat, 6 Jul 2013 14:39:44 +0000 (16:39 +0200)] 
More work on making tests work on Python 3

12 years agoMerge branch 'pr/18'
Armin Ronacher [Sat, 6 Jul 2013 14:23:44 +0000 (16:23 +0200)] 
Merge branch 'pr/18'

12 years agoSome small test cleanups
Armin Ronacher [Sat, 6 Jul 2013 14:23:20 +0000 (16:23 +0200)] 
Some small test cleanups

12 years agoMade another pass on the Python 3 support
Armin Ronacher [Sat, 6 Jul 2013 14:21:12 +0000 (16:21 +0200)] 
Made another pass on the Python 3 support

12 years agoFirst pass on python 3 support
Armin Ronacher [Sat, 6 Jul 2013 14:12:55 +0000 (16:12 +0200)] 
First pass on python 3 support

12 years agoStarted work on cleanups for Python 3
Armin Ronacher [Sat, 6 Jul 2013 13:49:50 +0000 (15:49 +0200)] 
Started work on cleanups for Python 3

12 years agotest_support also uses os_environ fixture 18/head
Alex Morega [Sat, 6 Jul 2013 13:37:47 +0000 (15:37 +0200)] 
test_support also uses os_environ fixture

12 years agomove os_environ fixture to conftest.py
Alex Morega [Sat, 6 Jul 2013 13:34:09 +0000 (15:34 +0200)] 
move os_environ fixture to conftest.py

12 years agoconvert unittests to funcs; use os_environ fixture
Alex Morega [Sat, 6 Jul 2013 13:31:24 +0000 (15:31 +0200)] 
convert unittests to funcs; use os_environ fixture

12 years agotest isolation for changes to os.environ
Alex Morega [Sat, 6 Jul 2013 13:23:04 +0000 (15:23 +0200)] 
test isolation for changes to os.environ

12 years agoAdd more clean commands and remove pycache from git
Armin Ronacher [Sat, 6 Jul 2013 13:16:17 +0000 (15:16 +0200)] 
Add more clean commands and remove pycache from git

12 years agorun doctests on python 2
Alex Morega [Sat, 6 Jul 2013 13:15:11 +0000 (15:15 +0200)] 
run doctests on python 2

Fixes #10.

12 years agotest for range pluralization
Alex Morega [Sat, 6 Jul 2013 13:03:29 +0000 (15:03 +0200)] 
test for range pluralization

https://gist.github.com/mitsuhiko/5939731

12 years agoNicer workaround for empty folder
Armin Ronacher [Sat, 6 Jul 2013 13:00:23 +0000 (15:00 +0200)] 
Nicer workaround for empty folder

12 years agoMerge pull request #17 from mgax/doctests-to-unittests
Armin Ronacher [Sat, 6 Jul 2013 12:58:47 +0000 (05:58 -0700)] 
Merge pull request #17 from mgax/doctests-to-unittests

Doctests to unittests

12 years agodon't run doctests any more 17/head
Alex Morega [Sat, 6 Jul 2013 12:32:42 +0000 (14:32 +0200)] 
don't run doctests any more

12 years agoremove test suite factories
Alex Morega [Sat, 6 Jul 2013 12:31:11 +0000 (14:31 +0200)] 
remove test suite factories

12 years agono useful doctests in extract, mofile, pofile
Alex Morega [Sat, 6 Jul 2013 12:09:50 +0000 (14:09 +0200)] 
no useful doctests in extract, mofile, pofile

12 years agocopy babel.messages.plural doctests as unit tests
Alex Morega [Sat, 6 Jul 2013 12:20:28 +0000 (14:20 +0200)] 
copy babel.messages.plural doctests as unit tests

12 years agocopy babel.messages.frontend doctests as unit tests
Alex Morega [Sat, 6 Jul 2013 12:17:13 +0000 (14:17 +0200)] 
copy babel.messages.frontend doctests as unit tests

12 years agocopy babel.messages.catalog doctests as unit tests
Alex Morega [Sat, 6 Jul 2013 12:05:41 +0000 (14:05 +0200)] 
copy babel.messages.catalog doctests as unit tests

12 years agocopy babel.util doctests as unit tests
Alex Morega [Sat, 6 Jul 2013 09:34:59 +0000 (11:34 +0200)] 
copy babel.util doctests as unit tests

12 years agocopy babel.plural doctests as unit tests
Alex Morega [Sat, 6 Jul 2013 09:31:42 +0000 (11:31 +0200)] 
copy babel.plural doctests as unit tests

12 years agocopy babel.numbers doctests as unit tests
Alex Morega [Sat, 6 Jul 2013 09:24:29 +0000 (11:24 +0200)] 
copy babel.numbers doctests as unit tests

12 years agomove function to module level; fix doctest
Alex Morega [Sat, 6 Jul 2013 08:53:51 +0000 (10:53 +0200)] 
move function to module level; fix doctest

12 years agocopy babel.localedata doctests as unit tests
Alex Morega [Sat, 6 Jul 2013 08:44:27 +0000 (10:44 +0200)] 
copy babel.localedata doctests as unit tests

12 years agocopy babel.dates doctests as unit tests
Alex Morega [Sat, 6 Jul 2013 08:37:05 +0000 (10:37 +0200)] 
copy babel.dates doctests as unit tests

12 years agocopy babel.core doctests as unit tests
Alex Morega [Fri, 5 Jul 2013 17:33:47 +0000 (19:33 +0200)] 
copy babel.core doctests as unit tests

12 years agocopy babel.support doctests as unit tests
Alex Morega [Fri, 5 Jul 2013 15:45:43 +0000 (17:45 +0200)] 
copy babel.support doctests as unit tests

12 years agoAdded a terminal width fallback
Armin Ronacher [Sat, 6 Jul 2013 12:40:29 +0000 (14:40 +0200)] 
Added a terminal width fallback

12 years agoAdded localtime
Armin Ronacher [Sat, 6 Jul 2013 12:38:11 +0000 (14:38 +0200)] 
Added localtime

12 years agoMake get_timezone_name use the current time if not given arguments
Armin Ronacher [Sat, 6 Jul 2013 12:26:32 +0000 (14:26 +0200)] 
Make get_timezone_name use the current time if not given arguments

12 years agoNew tox versions have problems with PYTHONDONTWRITEBYTECODE apparently
Armin Ronacher [Sat, 6 Jul 2013 12:22:07 +0000 (14:22 +0200)] 
New tox versions have problems with PYTHONDONTWRITEBYTECODE apparently

12 years agoFixed missing support for some pluralization parts
Armin Ronacher [Sat, 6 Jul 2013 12:16:18 +0000 (14:16 +0200)] 
Fixed missing support for some pluralization parts

12 years agoAdded changelog entry for timezone functionality
Armin Ronacher [Sat, 6 Jul 2013 11:55:21 +0000 (13:55 +0200)] 
Added changelog entry for timezone functionality

12 years agoUpdated date documentation for the new timezone support
Armin Ronacher [Sat, 6 Jul 2013 11:54:42 +0000 (13:54 +0200)] 
Updated date documentation for the new timezone support

12 years agoMake local time the default for some functions that previously did not have it
Armin Ronacher [Sat, 6 Jul 2013 11:48:51 +0000 (13:48 +0200)] 
Make local time the default for some functions that previously did not have it

12 years agoAdded fallback support for local timezones
Armin Ronacher [Sat, 6 Jul 2013 11:45:57 +0000 (13:45 +0200)] 
Added fallback support for local timezones

12 years agoMerge remote-tracking branch 'mgax/pytest'
Armin Ronacher [Sat, 6 Jul 2013 11:41:32 +0000 (13:41 +0200)] 
Merge remote-tracking branch 'mgax/pytest'

12 years agopytz is now a dependency
Armin Ronacher [Sat, 6 Jul 2013 11:41:17 +0000 (13:41 +0200)] 
pytz is now a dependency

12 years agoFixed win32 module for local time
Armin Ronacher [Sat, 6 Jul 2013 11:40:29 +0000 (13:40 +0200)] 
Fixed win32 module for local time

12 years agoStarted support for local times in babel
Armin Ronacher [Sat, 6 Jul 2013 11:36:47 +0000 (13:36 +0200)] 
Started support for local times in babel

12 years agomake test should run tests from tests 13/head
Alex Morega [Sat, 6 Jul 2013 11:34:02 +0000 (13:34 +0200)] 
make test should run tests from tests

12 years agomove unit tests outside babel package
Alex Morega [Sat, 6 Jul 2013 10:16:33 +0000 (12:16 +0200)] 
move unit tests outside babel package

12 years agoAdded some documentation for timezone transition functions
Armin Ronacher [Sat, 6 Jul 2013 10:08:58 +0000 (12:08 +0200)] 
Added some documentation for timezone transition functions

12 years agoMerge branch 'master' into pytest
Alex Morega [Sat, 6 Jul 2013 09:53:36 +0000 (11:53 +0200)] 
Merge branch 'master' into pytest

12 years agoFixed timezone test breakages and a few other small things
Armin Ronacher [Sat, 6 Jul 2013 09:32:01 +0000 (11:32 +0200)] 
Fixed timezone test breakages and a few other small things

12 years agoMerge branch 'master' of github.com:mitsuhiko/babel
Armin Ronacher [Sat, 6 Jul 2013 09:28:05 +0000 (11:28 +0200)] 
Merge branch 'master' of github.com:mitsuhiko/babel

12 years agoMerge pull request #15 from DasIch/compat-cleanup
Armin Ronacher [Sat, 6 Jul 2013 09:27:36 +0000 (02:27 -0700)] 
Merge pull request #15 from DasIch/compat-cleanup

Remove compat.any

12 years agoStarted work on improving timezone support and made pytz a requirement
Armin Ronacher [Sat, 6 Jul 2013 09:27:26 +0000 (11:27 +0200)] 
Started work on improving timezone support and made pytz a requirement

12 years agoMerge pull request #14 from mgax/pypy
Armin Ronacher [Sat, 6 Jul 2013 09:27:24 +0000 (02:27 -0700)] 
Merge pull request #14 from mgax/pypy

Pypy

12 years agoDon't expose plural names for currencies on the locale object
Armin Ronacher [Fri, 5 Jul 2013 18:55:38 +0000 (20:55 +0200)] 
Don't expose plural names for currencies on the locale object

12 years agoGreatly improved timedelta formatting
Armin Ronacher [Fri, 5 Jul 2013 18:53:51 +0000 (20:53 +0200)] 
Greatly improved timedelta formatting

12 years agoExpanded currency formatting to support full currency names
Armin Ronacher [Fri, 5 Jul 2013 18:24:34 +0000 (20:24 +0200)] 
Expanded currency formatting to support full currency names

12 years agoTerritory name and script name added
Armin Ronacher [Fri, 5 Jul 2013 17:21:17 +0000 (19:21 +0200)] 
Territory name and script name added

12 years agoRemove compat.any 15/head
Daniel Neuhäuser [Fri, 5 Jul 2013 15:22:12 +0000 (17:22 +0200)] 
Remove compat.any

We are not compatible with any version that doesn't support it.

12 years agoOne last unclosed file. 14/head
Alex Morega [Fri, 5 Jul 2013 14:18:45 +0000 (16:18 +0200)] 
One last unclosed file.

Hiding it by calling `file` instead of `open`. Clever!

12 years agomake sure we close the file
Alex Morega [Fri, 5 Jul 2013 13:57:25 +0000 (15:57 +0200)] 
make sure we close the file

12 years agosimplify try-except-close for output file
Alex Morega [Fri, 5 Jul 2013 13:53:26 +0000 (15:53 +0200)] 
simplify try-except-close for output file

12 years agoclose open files to make pypy happy
Alex Morega [Fri, 5 Jul 2013 13:40:13 +0000 (15:40 +0200)] 
close open files to make pypy happy

12 years agoextract expected and actual content for comparison
Alex Morega [Fri, 5 Jul 2013 13:35:37 +0000 (15:35 +0200)] 
extract expected and actual content for comparison

12 years agoApparently zh_CN does not exist
Armin Ronacher [Fri, 5 Jul 2013 11:47:50 +0000 (13:47 +0200)] 
Apparently zh_CN does not exist

12 years agoFixed docstrings
Armin Ronacher [Fri, 5 Jul 2013 11:43:12 +0000 (13:43 +0200)] 
Fixed docstrings

12 years agoAdded support for get_language_name()
Armin Ronacher [Fri, 5 Jul 2013 11:37:26 +0000 (13:37 +0200)] 
Added support for get_language_name()

12 years agorun the test suite using py.test
Alex Morega [Fri, 5 Jul 2013 11:05:17 +0000 (13:05 +0200)] 
run the test suite using py.test

12 years agorename test modules
Alex Morega [Fri, 5 Jul 2013 10:53:54 +0000 (12:53 +0200)] 
rename test modules

12 years agoRemoved __docformat__ markers
Armin Ronacher [Fri, 5 Jul 2013 10:57:23 +0000 (12:57 +0200)] 
Removed __docformat__ markers

12 years agoRemove 3.3 from travis for the time being
Armin Ronacher [Fri, 5 Jul 2013 10:52:55 +0000 (12:52 +0200)] 
Remove 3.3 from travis for the time being

12 years agoFixed tests that failed because of whitespace normalization
Armin Ronacher [Fri, 5 Jul 2013 10:50:53 +0000 (12:50 +0200)] 
Fixed tests that failed because of whitespace normalization