- 14 Nov, 2015 7 commits
-
-
Bram Schoenmakers authored
Conflicts: topydo/commands/ListCommand.py
-
Bram Schoenmakers authored
Conflicts: setup.py
-
Bram Schoenmakers authored
Also marked a few functions private.
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
Move format parsing logic to ListFormatParser
-
Jacek Sowiński authored
This way we can safely remove `PrettyPrinterIndentFilter` and output length is still properly maintained by `ListFormatParser`.
-
Jacek Sowiński authored
ListFormatParser is now the core of PrettyPrinterFormatFilter, but can also be easily used in another areas. Whole functionality of PrettyPrinterAlignFilter was also moved into it. Main advantage of having separate parser for list_format is possibility of initializing it and resolving placeholders only once. Previous implementation did that with each Todo object.
-
- 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 %%.
-
- 10 Nov, 2015 5 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
This corresponds to the change made in commit 33794435.
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
- 09 Nov, 2015 11 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
Update tests for ls_format
-
Bram Schoenmakers authored
Test ignore_weekends clause in Importance
-
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
Also introduce freezegun.freeze_time decorator.
-
Bram Schoenmakers authored
Update tests for Importance
-
Jacek Sowiński authored
2 more tests of calculation importance from due date.
-
Jacek Sowiński authored
-
Jacek Sowiński authored
-
Bram Schoenmakers authored
This increased (branch) coverage to 100%. A few corner cases were missing with strange default commands in the configuration.
-
- 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 2 commits
-
-
Bram Schoenmakers authored
A couple more tests
-
Bram Schoenmakers authored
Thanks to @mruwek for reporting.
-