Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Version 2.0.7HEAD2.0.7master | Shaun McCance | 2021-09-25 | 2 | -1/+6 |
| | |||||
* | Merge pull request #40 from ptoscano/update-gitignore | Shaun McCance | 2020-12-26 | 1 | -15/+12 |
|\ | | | | | Update .gitignore | ||||
| * | Update .gitignore | Pino Toscano | 2020-05-19 | 1 | -15/+12 |
| | | | | | | | | | | | | | | | | - remove entries referring to non-existing stuff - prefix files appearing in the top-level directory with '/' - add '/' as suffix for directories - add '*.mo' for files created during the test run - sort the entries | ||||
* | | Fix errors from accidental global variable removal | Shaun McCance | 2020-12-26 | 1 | -7/+8 |
| | | | | | | | | | | | | In a recent commit for profiling, I moved the __main__ code to a main() function. This broke some stuff that relied on an accidentally global variable. Now the variable gets passed as a param, as it should. | ||||
* | | Cache computed values for translate, localefilter, and locnote | Shaun McCance | 2020-12-12 | 1 | -6/+35 |
| | | | | | | | | | | | | | | | | If these aren't explicitly set for a node with a selector or local markup, then we have to chain up, often all the way to the root. But we were doing this over and over again, chaining up across the same nodes. This change stores the computed value, so chaining up usually hits that cache. I was careful to clear the cache if new rules are applied. | ||||
* | | Don't re-lookup ITS params for every single rule | Shaun McCance | 2020-12-06 | 1 | -26/+39 |
|/ | | | | | | | | | We have to create a new XPath context for every rule, and we have to freshly apply any ITS params to that context. But what we were also doing is looking thru the children of the parent ITS rules element for param element each time. This was inefficient. Looking for param elements only once per ruleset gives a small but measurable speed boost. | ||||
* | Version 2.0.62.0.6 | Shaun McCance | 2019-04-06 | 2 | -1/+6 |
| | |||||
* | Make DocBook keyword element within text | Shaun McCance | 2018-12-30 | 2 | -0/+2 |
| | |||||
* | Apply ITS files passed with -i in --join mode | Shaun McCance | 2018-11-08 | 1 | -0/+3 |
| | | | | Fixes https://github.com/itstool/itstool/issues/34 | ||||
* | Version 2.0.52.0.5 | Shaun McCance | 2018-10-28 | 2 | -1/+8 |
| | |||||
* | Auto update to INSTALL file | Shaun McCance | 2018-10-28 | 1 | -161/+159 |
| | |||||
* | Fix py 2/3 issues and add a test case | Shaun McCance | 2018-08-21 | 7 | -23/+92 |
| | |||||
* | Open file as bytes, since we're saving bytes! | Álvaro Muñoz | 2018-08-20 | 1 | -3/+3 |
| | |||||
* | Fix #28 (python 3.7, macOS) | Álvaro Muñoz | 2018-08-18 | 1 | -0/+3 |
| | |||||
* | Fix #30 | Álvaro Muñoz | 2018-08-18 | 1 | -0/+2 |
| | |||||
* | Fix compatibility with pyhton 3.7 (no need to encode to bytes) | Álvaro Muñoz | 2018-08-18 | 1 | -2/+2 |
| | |||||
* | Be more careful about libxml2 memory management | Shaun McCance | 2017-10-25 | 1 | -2/+11 |
| | | | | I think this fixes https://github.com/itstool/itstool/issues/17 | ||||
* | Version 2.0.42.0.4 | Shaun McCance | 2017-10-16 | 2 | -1/+5 |
| | |||||
* | Use $PYTHON for libxml2 check to use the right python | Shaun McCance | 2017-10-16 | 1 | -1/+1 |
| | | | | Fixes https://github.com/itstool/itstool/issues/16 | ||||
* | Update INSTALL file | Shaun McCance | 2017-10-16 | 1 | -7/+12 |
| | |||||
* | Fix massive performance issue | Shaun McCance | 2017-10-11 | 1 | -2/+9 |
| | | | | Fixed https://github.com/itstool/itstool/issues/15 | ||||
* | Version 2.0.32.0.3 | Shaun McCance | 2017-10-04 | 2 | -1/+9 |
| | |||||
* | Merge pull request #14 from claudep/placeholder | Shaun McCance | 2017-08-15 | 1 | -7/+8 |
|\ | | | | | Get Placeholder out of Message | ||||
| * | Merge branch 'master' into placeholder | Shaun McCance | 2017-08-15 | 1 | -79/+116 |
| |\ | |/ |/| | |||||
* | | Merge pull request #3 from hsoft/master | Shaun McCance | 2017-08-15 | 1 | -79/+114 |
|\ \ | | | | | | | | | | | | | Add python 3 support All tests pass with both py2 and py3 | ||||
| * | | Fix problem with merging translations under py3 | Virgil Dupras | 2016-01-16 | 1 | -4/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes three problems at once: 1. When fiddling with credits nodes, we would get an error about libxml2 expecting `str` rather than `bytes`. We could fix this by encoding the value only when uner py2. 2. When writing the merged XML, our serlialized data would be `str` under py3, which would cause implicit encoding problems when writing that contents to the file. 3. `fout` would not be closed after writing, which would sometimes cause the target file to end up with no contents at all (at least on my machine. | ||||
| * | | Add python 3 support | Virgil Dupras | 2015-03-15 | 1 | -77/+103 |
| | | | |||||
* | | | Fix keep entities mode after libxml2 changes | Shaun McCance | 2017-08-15 | 1 | -0/+2 |
| | | | | | | | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=762110 | ||||
| | * | Get Placeholder out of Message | Claude Paroz | 2017-05-01 | 1 | -7/+8 |
| |/ |/| | |||||
* | | Add -j command to Usage | Shaun McCance | 2016-09-02 | 1 | -1/+3 |
| | | |||||
* | | Add --path option for extra paths for ITS files | Shaun McCance | 2016-08-31 | 1 | -2/+17 |
| | | |||||
* | | Don't error out (except under -s) for mismatched placeholders | Shaun McCance | 2016-03-14 | 1 | -1/+11 |
|/ | |||||
* | Added secondary setup.py to make it easier to upload to pypi | Shaun McCance | 2014-06-03 | 4 | -1/+32 |
| | |||||
* | Fix UTF-8 handling for translated attributes | Shaun McCance | 2014-03-17 | 6 | -1/+66 |
| | |||||
* | Version 2.0.22.0.2 | Shaun McCance | 2013-12-17 | 2 | -1/+7 |
| | |||||
* | itstool.1: Update man page | Shaun McCance | 2013-12-17 | 2 | -48/+91 |
| | |||||
* | Don't hardcode python path | Ryan Lortie | 2013-12-11 | 2 | -1/+3 |
| | | | | | | | Instead, use automake to find it at runtime and put #!@PYTHON@ at the top of itstool.in. https://bugs.freedesktop.org/show_bug.cgi?id=72533 | ||||
* | Fixed crash in locale filter and drop rule, #715116 | Shaun McCance | 2013-11-24 | 1 | -2/+2 |
| | | | | | When the dropped node has no preceding sibling, itstool crashes because it tries to unlink prev node if it's blank. | ||||
* | Version 2.0.12.0.1 | Shaun McCance | 2013-11-18 | 2 | -1/+5 |
| | |||||
* | its: Consolidate ITS rules for better performance | Shaun McCance | 2013-11-04 | 5 | -363/+355 |
| | |||||
* | NEWS: Fixed typo | Shaun McCance | 2013-11-01 | 1 | -1/+1 |
| | |||||
* | Version 2.0.02.0.0 | Shaun McCance | 2013-11-01 | 2 | -1/+20 |
| | |||||
* | docbook*.its: Make info children always not within textits-2-0 | Shaun McCance | 2013-11-01 | 2 | -0/+6 |
| | | | | | | | Some of the children are marked within text because they should be when appearing in a para. But letting info appear as if it were a text run hits some strange corner cases that cause locale filter not to be applied as you might think it should. | ||||
* | its: Exclude editor remarks/comments with locale filter | Shaun McCance | 2013-11-01 | 3 | -5/+6 |
| | |||||
* | itstool.in: Allow users to set ITS params | Shaun McCance | 2013-11-01 | 2 | -24/+39 |
| | |||||
* | its: Switched built-in ITS rules to 2.0 | Shaun McCance | 2013-10-31 | 4 | -4/+4 |
| | |||||
* | docbook5.its: Added DocBook 5 support | Shaun McCance | 2013-10-31 | 3 | -3/+207 |
| | | | | Also minor fixed to DocBook 4 I ran across | ||||
* | docbook.its: Updated preserve space and external resource | Shaun McCance | 2013-10-31 | 1 | -10/+9 |
| | |||||
* | mallard.its: Updated preserve space and external resource | Shaun McCance | 2013-10-31 | 1 | -3/+3 |
| | |||||
* | xhtml.its: Updated preserve space and external resource | Shaun McCance | 2013-10-31 | 1 | -1/+4 |
| |