]> git.ipfire.org Git - thirdparty/babel.git/log
thirdparty/babel.git
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 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

12 years agoRemoved trailing whitespace
Armin Ronacher [Fri, 5 Jul 2013 10:12:27 +0000 (12:12 +0200)] 
Removed trailing whitespace

12 years agoMerge pull request #12 from mgax/fix-tests
Armin Ronacher [Fri, 5 Jul 2013 10:08:34 +0000 (03:08 -0700)] 
Merge pull request #12 from mgax/fix-tests

Fix tests

12 years agofix expected values for timezone names 12/head
Alex Morega [Fri, 5 Jul 2013 09:13:34 +0000 (11:13 +0200)] 
fix expected values for timezone names

commonly-used names no longer available

12 years agoczech data changed; update the test
Alex Morega [Fri, 5 Jul 2013 09:10:37 +0000 (11:10 +0200)] 
czech data changed; update the test

12 years agomore changes in the french data
Alex Morega [Fri, 5 Jul 2013 08:16:15 +0000 (10:16 +0200)] 
more changes in the french data

12 years agoremove duplicated test
Alex Morega [Fri, 5 Jul 2013 08:56:55 +0000 (10:56 +0200)] 
remove duplicated test

how did this ever pass? two tests with same setup and different
assertion?!

12 years agoskip alias entries
Alex Morega [Fri, 5 Jul 2013 08:11:49 +0000 (10:11 +0200)] 
skip alias entries

12 years agoremove global.dat when cleaning cldr
Alex Morega [Thu, 4 Jul 2013 22:35:52 +0000 (00:35 +0200)] 
remove global.dat when cleaning cldr

12 years agocurrency format changed for Spanish
Alex Morega [Thu, 4 Jul 2013 22:19:45 +0000 (00:19 +0200)] 
currency format changed for Spanish

12 years agohandle 'at' value from en date format
Alex Morega [Thu, 4 Jul 2013 22:11:28 +0000 (00:11 +0200)] 
handle 'at' value from en date format

12 years agodatetime format changed in cldr
Alex Morega [Thu, 4 Jul 2013 20:08:03 +0000 (22:08 +0200)] 
datetime format changed in cldr

12 years agoThaana locale removed from cldr; use Bangladesh
Alex Morega [Thu, 4 Jul 2013 18:31:20 +0000 (20:31 +0200)] 
Thaana locale removed from cldr; use Bangladesh

12 years agosometimes US and DE week numbers differ
Alex Morega [Thu, 4 Jul 2013 18:08:29 +0000 (20:08 +0200)] 
sometimes US and DE week numbers differ

12 years agochanges in CLDR data
Alex Morega [Thu, 4 Jul 2013 17:26:38 +0000 (19:26 +0200)] 
changes in CLDR data

12 years agoignore `uncommon` parameter
Alex Morega [Thu, 4 Jul 2013 17:22:31 +0000 (19:22 +0200)] 
ignore `uncommon` parameter

The CLDR removed commonlyUsed information about timezone aliases:
http://www.unicode.org/reports/tr35/tr35-29.html#Timezone_Names
(search for "commonlyUsed")

12 years agoremove global.dat from the repository
Alex Morega [Thu, 4 Jul 2013 16:38:41 +0000 (18:38 +0200)] 
remove global.dat from the repository

12 years agoMade babel work with the latest version of the CLDR (23)
Armin Ronacher [Thu, 4 Jul 2013 16:19:51 +0000 (18:19 +0200)] 
Made babel work with the latest version of the CLDR (23)

12 years agoMoved doc to docs
Armin Ronacher [Thu, 4 Jul 2013 13:41:16 +0000 (15:41 +0200)] 
Moved doc to docs

12 years agoFixed import error reporting
Armin Ronacher [Thu, 4 Jul 2013 13:24:29 +0000 (15:24 +0200)] 
Fixed import error reporting

12 years agoMake sure the CLDR folder is there
Armin Ronacher [Thu, 4 Jul 2013 13:09:42 +0000 (15:09 +0200)] 
Make sure the CLDR folder is there

12 years agoImproved downloading and conversion experience
Armin Ronacher [Thu, 4 Jul 2013 13:02:51 +0000 (15:02 +0200)] 
Improved downloading and conversion experience

12 years agoFixed the cldr download and import
Armin Ronacher [Thu, 4 Jul 2013 10:19:54 +0000 (12:19 +0200)] 
Fixed the cldr download and import

12 years agoChanged how tests are invoked by going through a makefile
Armin Ronacher [Thu, 4 Jul 2013 10:13:55 +0000 (12:13 +0200)] 
Changed how tests are invoked by going through a makefile

12 years agoMerge pull request #9 from Turbo87/sphinx
Armin Ronacher [Thu, 4 Jul 2013 10:08:00 +0000 (03:08 -0700)] 
Merge pull request #9 from Turbo87/sphinx

Port Documentation to Sphinx

12 years agoMerge pull request #8 from mgax/run-tests
Armin Ronacher [Thu, 4 Jul 2013 10:06:21 +0000 (03:06 -0700)] 
Merge pull request #8 from mgax/run-tests

Run tests

12 years agodoc: Added "Quick Links" section from original wiki 9/head
Tobias Bieniek [Wed, 3 Jul 2013 17:39:26 +0000 (19:39 +0200)] 
doc: Added "Quick Links" section from original wiki

12 years agodoc: Replace index heading by "User Documentation"
Tobias Bieniek [Wed, 3 Jul 2013 17:32:50 +0000 (19:32 +0200)] 
doc: Replace index heading by "User Documentation"

12 years agodoc: Added API documentation
Tobias Bieniek [Wed, 3 Jul 2013 17:20:56 +0000 (19:20 +0200)] 
doc: Added API documentation

12 years agodoc: Removed duplicate contents:: directive
Tobias Bieniek [Wed, 3 Jul 2013 17:20:43 +0000 (19:20 +0200)] 
doc: Removed duplicate contents:: directive

12 years agodoc: Fixed unicode symbol conversion
Tobias Bieniek [Wed, 3 Jul 2013 16:57:48 +0000 (18:57 +0200)] 
doc: Fixed unicode symbol conversion

12 years agodoc: Added links and about sections to the index sidebar
Tobias Bieniek [Wed, 3 Jul 2013 16:39:09 +0000 (18:39 +0200)] 
doc: Added links and about sections to the index sidebar

12 years agodoc: Removed duplicate contents:: directive
Tobias Bieniek [Wed, 3 Jul 2013 16:36:00 +0000 (18:36 +0200)] 
doc: Removed duplicate contents:: directive

The page contents are already displayed in the sidebar

12 years agodoc: Fixed toctree:: in index document
Tobias Bieniek [Wed, 3 Jul 2013 16:30:32 +0000 (18:30 +0200)] 
doc: Fixed toctree:: in index document

12 years agodoc: Fixed latex configuration
Tobias Bieniek [Wed, 3 Jul 2013 16:28:14 +0000 (18:28 +0200)] 
doc: Fixed latex configuration

12 years agodoc: Added modified flask/jinja2 theme
Tobias Bieniek [Wed, 3 Jul 2013 16:28:02 +0000 (18:28 +0200)] 
doc: Added modified flask/jinja2 theme

12 years agodoc: Moved logos to _static folder
Tobias Bieniek [Wed, 3 Jul 2013 16:14:51 +0000 (18:14 +0200)] 
doc: Moved logos to _static folder

12 years agodoc: Renamed .txt files to .rst
Tobias Bieniek [Wed, 3 Jul 2013 16:09:57 +0000 (18:09 +0200)] 
doc: Renamed .txt files to .rst

This way Github can render them properly too

12 years agodoc: Clean up trailing whitespace
Tobias Bieniek [Wed, 3 Jul 2013 16:00:54 +0000 (18:00 +0200)] 
doc: Clean up trailing whitespace

12 years agodoc: Removed section numbering
Tobias Bieniek [Wed, 3 Jul 2013 16:00:41 +0000 (18:00 +0200)] 
doc: Removed section numbering

Section numbering is pointless if there is only one section per page

12 years agodoc: Added sphinx quickstart files
Tobias Bieniek [Wed, 3 Jul 2013 15:57:54 +0000 (17:57 +0200)] 
doc: Added sphinx quickstart files

12 years agoFixed doc/_build path in .gitignore
Tobias Bieniek [Wed, 3 Jul 2013 15:56:12 +0000 (17:56 +0200)] 
Fixed doc/_build path in .gitignore

12 years agoignore extra temp folder created by tests 8/head
Alex Morega [Wed, 3 Jul 2013 14:30:54 +0000 (16:30 +0200)] 
ignore extra temp folder created by tests

12 years agoscript to download and import cldr
Alex Morega [Wed, 3 Jul 2013 14:28:59 +0000 (16:28 +0200)] 
script to download and import cldr

12 years agotravis configuration
Alex Morega [Wed, 3 Jul 2013 13:19:47 +0000 (15:19 +0200)] 
travis configuration

12 years agotox file
Alex Morega [Wed, 3 Jul 2013 13:12:30 +0000 (15:12 +0200)] 
tox file

12 years agoignore temp files from tests
Alex Morega [Wed, 3 Jul 2013 13:12:22 +0000 (15:12 +0200)] 
ignore temp files from tests

12 years agoinitial cleanup
xen [Wed, 3 Jul 2013 13:14:23 +0000 (16:14 +0300)] 
initial cleanup

12 years agoimprove developer experience when using a hg checkout of babel (#314)
Felix Schwarz [Fri, 12 Oct 2012 20:47:47 +0000 (20:47 +0000)] 
improve developer experience when using a hg checkout of babel (#314)

12 years agoensure .mo file header contains the same information as the source .po file (#199)
Felix Schwarz [Mon, 27 Aug 2012 21:15:27 +0000 (21:15 +0000)] 
ensure .mo file header contains the same information as the source .po file (#199)

12 years agofix 'input_dirs' option for setuptools integration (#232, initial patch by Étienne...
Felix Schwarz [Thu, 23 Aug 2012 09:48:21 +0000 (09:48 +0000)] 
fix 'input_dirs' option for setuptools integration (#232, initial patch by Étienne Bersac)

12 years agofix spelling
Felix Schwarz [Wed, 22 Aug 2012 21:27:45 +0000 (21:27 +0000)] 
fix spelling

12 years agoupdate Translations.load to use new parameter name ('fp' instead of 'fileobj'), regre...
Felix Schwarz [Wed, 22 Aug 2012 20:28:32 +0000 (20:28 +0000)] 
update Translations.load to use new parameter name ('fp' instead of 'fileobj'), regression introduced in r653

12 years ago"update" command now supports "--width" option (#284)
Felix Schwarz [Mon, 20 Aug 2012 20:27:35 +0000 (20:27 +0000)] 
"update" command now supports "--width" option (#284)

12 years agoraise exception if setuptools integration for init catalog uses both 'width' and...
Felix Schwarz [Mon, 20 Aug 2012 20:24:54 +0000 (20:24 +0000)] 
raise exception if setuptools integration for init catalog uses both 'width' and 'no-wrap' parameter

12 years ago"init" command support "--width" option (#284)
Felix Schwarz [Mon, 20 Aug 2012 20:07:27 +0000 (20:07 +0000)] 
"init" command support "--width" option (#284)

12 years agochange constructor for babel.support.Translations to __init__(fp=None, domain=None...
Felix Schwarz [Mon, 20 Aug 2012 19:34:42 +0000 (19:34 +0000)] 
change constructor for babel.support.Translations to __init__(fp=None, domain=None) as its super class gettext.GNUTranslations uses "fp" as well (even if "fileobj" is a better name)

12 years agofix tests on Python 2.4, named tuples are not available there
Felix Schwarz [Mon, 20 Aug 2012 19:31:09 +0000 (19:31 +0000)] 
fix tests on Python 2.4, named tuples are not available there

12 years ago".load()" (babel.support.Translations) now returns Babel's NullTranslation (babel...
Felix Schwarz [Mon, 20 Aug 2012 19:24:03 +0000 (19:24 +0000)] 
".load()" (babel.support.Translations) now returns Babel's NullTranslation (babel.support.NullTranslation) instead of gettext.NullTranslations

12 years agoadd babel.support.NullTranslations class similar to gettext.NullTranslations but...
Felix Schwarz [Mon, 20 Aug 2012 19:21:22 +0000 (19:21 +0000)] 
add babel.support.NullTranslations class similar to gettext.NullTranslations but with all of Babel's new *gettext methods (#277)

13 years agodon't use class-level variable as default value for method parameters in babel.suppor...
Felix Schwarz [Fri, 10 Aug 2012 20:41:22 +0000 (20:41 +0000)] 
don't use class-level variable as default value for method parameters in babel.support.Translations to ease custom inheritance (see #276, initial patch by Christopher A. Stelma)

13 years agoformat_time() and format_datetime() now accept also floats (#242)
Felix Schwarz [Thu, 9 Aug 2012 11:44:40 +0000 (11:44 +0000)] 
format_time() and format_datetime() now accept also floats (#242)

13 years agoresort to hard-coded message extractors/checkers if pkg_resources is installed but...
Felix Schwarz [Thu, 9 Aug 2012 11:20:25 +0000 (11:20 +0000)] 
resort to hard-coded message extractors/checkers if pkg_resources is installed but no egg-info was found (#230)

13 years agofix Locale.default to return Locales with correct territory information
Felix Schwarz [Thu, 9 Aug 2012 07:47:09 +0000 (07:47 +0000)] 
fix Locale.default to return Locales with correct territory information

13 years agochange Locale comparison: Locales are now considered equal if all of their attributes...
Felix Schwarz [Thu, 9 Aug 2012 07:36:36 +0000 (07:36 +0000)] 
change Locale comparison: Locales are now considered equal if all of their attributes (language, territory, script, variant) are equal. Before __eq__ used the simple string representation which hides errors in Locale instantiation (see #279 and #311 for more information).

13 years agochange repr output for babel.Locale so all attributes (territory, script, variant...
Felix Schwarz [Thu, 9 Aug 2012 06:56:23 +0000 (06:56 +0000)] 
change repr output for babel.Locale so all attributes (territory, script, variant) are shown by itself. This should help identifying bad usage of the Locale class (e.g. Locale('de_DE') instead of Locale('de', 'DE'), #279

13 years agono warnings when running setup.py without installed setuptools (#262)
Felix Schwarz [Wed, 8 Aug 2012 12:36:03 +0000 (12:36 +0000)] 
no warnings when running setup.py without installed setuptools (#262)

13 years agodisable doctests for babel.numbers in Python 2.4 due to changed Decimal repr output
Felix Schwarz [Wed, 8 Aug 2012 12:23:20 +0000 (12:23 +0000)] 
disable doctests for babel.numbers in Python 2.4 due to changed Decimal repr output

13 years agoparse_decimal() now returns Decimals not floats, API change (#178)
Felix Schwarz [Mon, 6 Aug 2012 20:19:20 +0000 (20:19 +0000)] 
parse_decimal() now returns Decimals not floats, API change (#178)

13 years agofix doctests on Python 2.4: In 2.4 re.sub(..., ..., u'') will return '' (str, not...
Felix Schwarz [Mon, 6 Aug 2012 07:41:21 +0000 (07:41 +0000)] 
fix doctests on Python 2.4: In 2.4 re.sub(..., ..., u'') will return '' (str, not unicode) so just fill in some msgstr to avoid that problem

13 years agohandle irregular multi-line msgstr (no "" as first line) gracefully (#171)
Felix Schwarz [Sat, 4 Aug 2012 23:10:41 +0000 (23:10 +0000)] 
handle irregular multi-line msgstr (no "" as first line) gracefully (#171)

13 years agofix indentation in split_number
Felix Schwarz [Sat, 4 Aug 2012 20:22:49 +0000 (20:22 +0000)] 
fix indentation in split_number

13 years agorestore Python 2.4 compatibility (broken in r634)
Felix Schwarz [Sat, 4 Aug 2012 14:35:51 +0000 (14:35 +0000)] 
restore Python 2.4 compatibility (broken in r634)

13 years agofix handling of messages containing '\\n' (#171)
Felix Schwarz [Fri, 3 Aug 2012 22:41:49 +0000 (22:41 +0000)] 
fix handling of messages containing '\\n' (#171)

13 years agosmall code cleanup in write_po()
Felix Schwarz [Fri, 3 Aug 2012 19:17:50 +0000 (19:17 +0000)] 
small code cleanup in write_po()

13 years agofix format_decimal() with small Decimal values (#214, patch from George Lund)
Felix Schwarz [Fri, 3 Aug 2012 08:36:21 +0000 (08:36 +0000)] 
fix format_decimal() with small Decimal values (#214, patch from George Lund)

13 years agouse decorators (as we require Python 2.4+ anyway)
Felix Schwarz [Tue, 31 Jul 2012 08:46:19 +0000 (08:46 +0000)] 
use decorators (as we require Python 2.4+ anyway)

13 years agoadd changelog entry for r631 (#282)
Felix Schwarz [Mon, 30 Jul 2012 21:54:03 +0000 (21:54 +0000)] 
add changelog entry for r631 (#282)

13 years agofix format_date() with a datetime parameter (#282)
Felix Schwarz [Mon, 30 Jul 2012 21:48:55 +0000 (21:48 +0000)] 
fix format_date() with a datetime parameter (#282)

13 years agofix formatting of fraction in format_decimal() if the input value is a float with...
Felix Schwarz [Sat, 28 Jul 2012 22:26:02 +0000 (22:26 +0000)] 
fix formatting of fraction in format_decimal() if the input value is a float with more than 7 significant digits (#183)

13 years agoremove ElementTree import from babel.compat as this introduces a new (unnecessary...
Felix Schwarz [Tue, 24 Jul 2012 08:20:14 +0000 (08:20 +0000)] 
remove ElementTree import from babel.compat as this introduces a new (unnecessary) dependency for Python 2.4 users

13 years agoadd "--no-wrap" option for init/update commands (#289)
Felix Schwarz [Tue, 24 Jul 2012 07:33:43 +0000 (07:33 +0000)] 
add "--no-wrap" option for init/update commands (#289)

13 years agochange frontend tests so that they can be run stand-alone (using "python babel/messag...
Felix Schwarz [Mon, 23 Jul 2012 18:55:56 +0000 (18:55 +0000)] 
change frontend tests so that they can be run stand-alone (using "python babel/messages/tests/frontend.py") and not just as part of the whole suite

13 years agoRemove unused import.
Jeroen Ruigrok van der Werven [Tue, 15 Nov 2011 15:53:51 +0000 (15:53 +0000)] 
Remove unused import.

13 years agoFix missing terminator.
Jeroen Ruigrok van der Werven [Tue, 15 Nov 2011 10:56:19 +0000 (10:56 +0000)] 
Fix missing terminator.

13 years agoremove Python 2.3 conditional in test suite generation
Felix Schwarz [Wed, 28 Sep 2011 10:09:35 +0000 (10:09 +0000)] 
remove Python 2.3 conditional in test suite generation

13 years agoSupport for context-aware methods during message extraction (fixes #229, patch by...
Felix Schwarz [Mon, 26 Sep 2011 20:01:01 +0000 (20:01 +0000)] 
Support for context-aware methods during message extraction (fixes #229, patch by David Rios)

13 years agoremove/simplify useless code lines
Felix Schwarz [Mon, 26 Sep 2011 16:57:21 +0000 (16:57 +0000)] 
remove/simplify useless code lines

13 years agoadd a compat module to shield the code from changes in different versions of Python
Felix Schwarz [Mon, 26 Sep 2011 09:42:43 +0000 (09:42 +0000)] 
add a compat module to shield the code from changes in different versions of Python

13 years agouse helper methods in frontend tests to concentrate assumptions about file system...
Felix Schwarz [Mon, 26 Sep 2011 09:25:03 +0000 (09:25 +0000)] 
use helper methods in frontend tests to concentrate assumptions about file system layout in these helper methods

13 years agorefactor Catalog.__cmp__ method
Felix Schwarz [Mon, 26 Sep 2011 08:53:28 +0000 (08:53 +0000)] 
refactor Catalog.__cmp__ method

13 years agoadd more comparison methods to babel.messages.Catalog to ease the Python 3 transition
Felix Schwarz [Sun, 25 Sep 2011 20:44:10 +0000 (20:44 +0000)] 
add more comparison methods to babel.messages.Catalog to ease the Python 3 transition

13 years agofix spelling in comments
Felix Schwarz [Sun, 25 Sep 2011 20:30:45 +0000 (20:30 +0000)] 
fix spelling in comments