- 11 Nov, 2015 4 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Jacek Sowiński authored
- From now on literal `%` signs always have to be escaped with `\` (`\%`), even inside conditional braces. - `%%` won't work anymore. - Nonexistent placeholders (for example`%&`) will be expanded to empty strings (`''`). This change fixes also some bugs: - inappropriate output width when \t was used without %S (example: `%p{ }\t%{ }p`) - curly braces inside conditional braces (example: `%{{}p{}}`) Minor: recognize literal `\t` in list_format config option and in `-F`.
-
Bram Schoenmakers authored
They mostly deal with corner cases (small terminals, dodgy texts in the prefix/suffix). Also prepare the test for the new syntax where a literal % will be written as \% instead of %%.
-
- 09 Nov, 2015 6 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
Update tests for ls_format
-
Jacek Sowiński authored
2015-11-06 as freeze_time date was introduced in #75 so let's stick with it also here.
-
Jacek Sowiński authored
-
Jacek Sowiński authored
-
- 08 Nov, 2015 6 commits
-
-
Bram Schoenmakers authored
This was missing according to coverage.
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
It has been replaced by the %k keyword when using formatting (`ls -F`).
-
Bram Schoenmakers authored
Conflicts: setup.py
-
Bram Schoenmakers authored
Add tests for list_format
-
- 07 Nov, 2015 5 commits
-
-
Jacek Sowiński authored
Also add freezegun to dependencies - we use it for mocking datetime objects.
-
Jacek Sowiński authored
-
Jacek Sowiński authored
Users should rather use %k in list_format if they want to avoid hidden tags on the output.
-
Bram Schoenmakers authored
Coveralls doesn't support branch coverage, while codecov does.
-
Bram Schoenmakers authored
-
- 06 Nov, 2015 5 commits
-
-
Bram Schoenmakers authored
A couple more tests
-
Bram Schoenmakers authored
Thanks to @mruwek for reporting.
-
Bram Schoenmakers authored
The project/context, tag and URL matching patterns are not aware of any color codes that are already prepended to a word. This affects items that appear at the start of a line. Given a todo string where a priority color was already added: \x1b[0mkey:value Then the match would turn it into something like this: \x1b[\x1b[1;32m0mkey:value\x1b[0m So you get an ugly 0m prefix to the key:value text, because ] is a word boundary and 0m are non-whitespace characters that end up as being part of the key. Report and suggested fix by @mruwek. It became apparent with `ls -F %k`, which puts tags at the start of a line, a not so common case that slipped through when writing the colorization code.
-
Bram Schoenmakers authored
In case a URL starts at the start of the line, don't insert an additional space. Reported by @mruwek.
-
Bram Schoenmakers authored
The comment is not stripped from the value by the ConfigParser, so identifiers = text ; foo didn't work. Although the documention says that inline comments are allowed: https://docs.python.org/2/library/configparser.html?highlight=comment
-
- 05 Nov, 2015 14 commits
-
-
MinchinWeb authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
Add customizable right alignment in list_format
-
Jacek Sowiński authored
-
Jacek Sowiński authored
shlex.split() in python2 doesn't work very well with Unicode as proven already in #66, so we're using ushlex when running on python2.
-
Jacek Sowiński authored
Specified minimum version of arrow and forced pulling backports.shutil_get_terminal_size for python versions < 3.3.
-
Jacek Sowiński authored
User can now mark place in list_format from where he wants to start right-aligning remaining content. Tab character (\t) is used as marker. Added also 'top' alias example to topydo.conf which utilizes this feature and implements #52. Minor: - remove `- 1` from statements setting line width - move strip_braces() to topydo.lib.ListFormat and rename it to strip_placeholder_braces() fixup strip_braces
-
Bram Schoenmakers authored
For some weird reason, the aliases code block was not properly formatted on Github.
-
Bram Schoenmakers authored
Failure was obscured by other JSON output failures under Cygwin.
-
Bram Schoenmakers authored
This should have caught the bug that was fixed in a92411f7.
-
Bram Schoenmakers authored
Now it conforms to the normal todo.txt CLI output.
-
Bram Schoenmakers authored
-
MinchinWeb authored
-