summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge pull request #277 from python-babel/sils/callformoreLasse Schuirmann2015-10-141-0/+10
|\ | | | | Sils/callformore
| * README: Add contribution notesils/callformoreLasse Schuirmann2015-10-141-0/+10
| |
| * README: Make it markdownLasse Schuirmann2015-10-141-0/+0
|/ | | | | This way GitHub (and many other UIs and editors) will render the document more nicely.
* Merge pull request #269 from mbirtwell/format_listLasse Schuirmann2015-10-144-0/+82
|\ | | | | Add a format_list function
| * Add format_list functionMichael Birtwell2015-10-132-0/+62
| |
| * Add list_patterns to LocaleMichael Birtwell2015-09-302-0/+20
| |
* | Merge pull request #271 from josephbreihan/masterLasse Schuirmann2015-10-061-1/+1
|\ \ | | | | | | documentation: Correct timezone in example.
| * | documentation: Correct timezone in example.Joseph Breihan2015-10-051-1/+1
| |/ | | | | | | | | | | | | Update example in Date and Time documentation to reflect metazone translation. Fixes https://github.com/python-babel/babel/issues/108
* | Merge pull request #268 from gutsy/masterLasse Schuirmann2015-10-061-1/+1
|\ \ | |/ |/| Change to using include_package_data
| * setup: change to using include_package_dataTodd M. Guerra2015-10-051-1/+1
|/ | | | | | | | Instead of manually writing includes to various package data, we now just set include_package_data to True to make it more efficient. Reference: http://pythonhosted.org/setuptools/setuptools.html#new-and-changed-setup-keywords Fixes https://github.com/python-babel/babel/issues/260
* Merge pull request #264 from kdeldycke/patch-1Isaac Jurado2015-09-281-1/+1
|\ | | | | Typo fix.
| * numbers: Sync docstring with actual examples.Kevin Deldycke2015-09-281-1/+1
|/
* Merge pull request #203 from etanol/currency-format-typesLasse Schuirmann2015-09-277-11/+70
|\ | | | | Fix the loading of the currency format types
| * Update CHANGES and AUTHORS informationIsaac Jurado2015-09-272-0/+4
| |
| * Retain the behaviour of format in numbers.format_currencyCraig Loftus2015-09-272-3/+49
| | | | | | | | | | | | | | | | | | Previous commit introduced an API change by changing the behaviour of the format param, instead this commit adds a format_type param and the documentation and tests to accompany it. Note that currency_formats returns a NumberPattern already, so there is no need to call parse_pattern on the value returned.
| * numbers: Properly load and expose currency format typesIsaac Jurado2015-09-274-10/+19
|/ | | | | | | | The type of the currency format (e.g. "standard", "accounting") was not interpreted correctly from the CLDR data. Now there should not be any currency format identified by "None". Fixes https://github.com/mitsuhiko/babel/issues/201
* Merge pull request #127 from etanol/currency-decimalsLasse Schuirmann2015-09-274-10/+58
|\ | | | | Use currency fraction information
| * Update CHANGESIsaac Jurado2015-09-271-0/+2
| |
| * numbers: Use currency decimal digits by defaultIsaac Jurado2015-09-272-2/+39
| | | | | | | | | | | | | | | | | | | | When formatting a price, the number of decimals to use should be defined by the currency. For example, JPY do not use decimal numbers at all. However, we still allow the user to override the currency decimal digits setting with the one from the number format. Fixes https://github.com/mitsuhiko/babel/issues/139
| * numbers: New parameter to override precisionIsaac Jurado2015-09-271-8/+7
| | | | | | | | | | | | | | | | The NumberFormat class uses the amount of decimal digits specified by the given format. We want to be able to ignore the amount of decimal digits under some special circumstances. Care must be taken since the NumberFormat instances seem to be cached.
| * Import currency fraction and rounding informationIsaac Jurado2015-09-271-0/+10
|/ | | | | Process and save the <fractions> element of the supplemental data, which indicates how many decimal places should be displayed for each currency.
* Merge pull request #262 from python-babel/sils/changesLasse Schuirmann2015-09-261-9/+4
|\ | | | | CHANGES: Make 2.2 next version
| * CHANGES: Add an older change that was skippedIsaac Jurado2015-09-261-0/+2
| | | | | | | | | | When merging https://github.com/python-babel/babel/pull/180, the CHANGES file modification was not performed.
| * CHANGES: Make 2.2 next versionLasse Schuirmann2015-09-261-9/+2
|/ | | | We recently changed branching and this was missing from 43638b27a0a2abf71d636c8c16c1ce0b3c010cc4
* Merge pull request #246 from python-babel/sils/wheelLasse Schuirmann2015-09-268-19/+18
|\ | | | | Sils/wheel
| * localedata: Rename to locale-datasils/wheelLasse Schuirmann2015-09-257-12/+12
| | | | | | | | | | | | To fix the ImportError because of the name clash with localedata.py. locale-data is no valid python identifier and thus a nice indicator that this directory actually contains data.
| * Revert "Fixed issue #109: `ImportWarning` warned when `import babel`"Lasse Schuirmann2015-09-252-7/+6
| | | | | | | | | | | | | | | | | | This reverts commit 7d387f95f4f41ed646bcb2b4fa39dae4a601b6ce. Another fix will be applied to get rid of #109 because of https://github.com/python-babel/babel/issues/240 . Fixes https://github.com/python-babel/babel/issues/240
* | Merge pull request #245 from python-babel/sils/contributingLasse Schuirmann2015-09-261-0/+52
|\ \ | | | | | | Add CONTRIBUTING
| * | Add CONTRIBUTINGsils/contributingLasse Schuirmann2015-09-221-0/+52
| | | | | | | | | | | | This finally fixes our review process and gives users a bug template.
* | | Merge pull request #259 from python-babel/sils/branchesLasse Schuirmann2015-09-252-4/+1
|\ \ \ | |_|/ |/| |
| * | setup.cfg: Remove date taggingsils/branchesLasse Schuirmann2015-09-251-3/+0
| | | | | | | | | | | | | | | | | | | | | 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.
| * | babel: Change version to 2.2.0.dev0Lasse Schuirmann2015-09-251-1/+1
|/ / | | | | | | | | | | 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.
* | setup: Use version from babel packageLasse Schuirmann2015-09-251-1/+2
| | | | | | | | DRY
* | setup.cfg: Update release aliasLasse Schuirmann2015-09-251-1/+1
| | | | | | | | | | We'll want to do a source distribution and a wheel when the release is triggered.
* | CHANGES: Update changes from last releaseLasse Schuirmann2015-09-251-1/+23
| |
* | Merge pull request #252 from python-babel/sils/rulsimpLasse Schuirmann2015-09-241-3/+1
|\ \ | | | | | | rultor: Remove test execution
| * | rultor: Remove test executionLasse Schuirmann2015-09-241-3/+1
|/ / | | | | | | | | | | 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.
* | rultor: Run tests on mergeLasse Schuirmann2015-09-221-1/+11
| | | | | | | | | | | | 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.
* | rultor: Linearize commit history on mergeLasse Schuirmann2015-09-221-0/+2
|/ | | | | This will make rultor rebase a PR and then fastforwarding the master branch if a merge action is requested.
* Merge pull request #238 from python-babel/sils/wheelmLasse Schuirmann2015-09-221-0/+3
|\ | | | | setup.cfg: Use universal wheel
| * Merge branch 'master' into sils/wheelmLasse Schuirmann2015-09-221-1/+7
| |\ | |/ |/|
* | Merge pull request #239 from rjollos/issue70.1Lasse Schuirmann2015-09-211-1/+7
|\ \ | | | | | | Enforce Python version in `setup.py`
| * | Enforce Python version in `setup.py`Ryan J Ollos2015-09-211-1/+7
|/ / | | | | | | Print error message and exit if Python version requirement not satisfied.
| * setup.cfg: Use universal wheelsils/wheelmLasse Schuirmann2015-09-211-0/+3
|/
* Merge pull request #231 from sils1297/sils/readmeLasse Schuirmann2015-09-214-5/+5
|\ | | | | docs: Change repository adress
| * docs: Change repository adressLasse Schuirmann2015-09-214-5/+5
|/ | | | The repository moved.
* Merge pull request #223 from rjollos/duplicate-travis-entryLasse Schuirmann2015-09-171-3/+1
|\ | | | | Remove duplicate `sudo: false` entry.
| * Remove duplicate `sudo: false` entry.Ryan J Ollos2015-09-161-3/+1
|/
* Merge pull request #216 from mitsuhiko/sils/changesErick Wilder2015-09-111-0/+1
|\ | | | | CHANGES: Add "narrow" support for format_timedelta
| * CHANGES: Add "narrow" support for format_timedeltaLasse Schuirmann2015-09-101-0/+1
| | | | | | | | | | This was introduced in https://github.com/moreati/babel/commit/edc5eb57b2f7c36bb419be4d23396746d233767b and forgotten to add to CHANGES.