- 05 Nov, 2015 5 commits
-
-
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
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
-
- 04 Nov, 2015 4 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
Online coverage reports via coveralls.io
-
MinchinWeb authored
-
MinchinWeb authored
-
- 03 Nov, 2015 5 commits
-
-
MinchinWeb authored
"Modules should have short, all-lowercase names. Underscores can be used in the module name if it improves readability."
-
Bram Schoenmakers authored
Fix unicode values in aliases config in python2
-
Jacek Sowiński authored
Apparently shlex and ConfigParser.read() don't work well with Unicode input in python2.
-
Bram Schoenmakers authored
Fix help in prompt mode
-
Jacek Sowiński authored
`help` is not a real subcommand and without arguments it is of NoneType, so we need to properly handle it.
-
- 02 Nov, 2015 3 commits
-
-
Bram Schoenmakers authored
This fixes the issue that `ls -F "%p %s"` doesn't work, because the double quotes weren't interpreted properly. Reported by @mruwek.
-
Bram Schoenmakers authored
Suppose format string: ls_format = %s [%T] The result would be: Test todo item [just now The final bracket is missing, because it was matched as part of the placeholder. This change will only match the closing bracket when the opening bracket is also present.
-
Bram Schoenmakers authored
This will make sure that %[T] in the format string gets replaced with the replacing text.
-
- 01 Nov, 2015 2 commits
-
-
Bram Schoenmakers authored
Add %S - truncated version of %s
-
Bram Schoenmakers authored
Properly split alias options wrapped in quotes
-
- 31 Oct, 2015 5 commits
-
-
Jacek Sowiński authored
If %S is used in list_format, PrettyPrinterFormatFilter will now check if final result fits on the screen. If not, it will truncate it accordingly and only then return.
© by @MinchinWeb for `topydo.lib.Utils.get_terminal_size` -
Jacek Sowiński authored
-
Jacek Sowiński authored
%h stands for: "due %D, starts in/started %S" %H stands for: "%C, %h" Also reorder %k and %K to maintain consistency in code.
-
Jacek Sowiński authored
-
Bram Schoenmakers authored
Adjust `PrettyPrinterFormatFilter` to achieve current `topydo ls` output (and more)
-
- 30 Oct, 2015 16 commits
-
-
Jacek Sowiński authored
-
Jacek Sowiński authored
-
Jacek Sowiński authored
-
Jacek Sowiński authored
Also fix Unicode error for %K when tag contains special characters.
-
Bram Schoenmakers authored
It shows the first todo item to be done, optionally with a filter applied: topydo next +Chores @Home
-
Bram Schoenmakers authored
-
Jacek Sowiński authored
-
Jacek Sowiński authored
It calculates if actual todo id is shorter than 3 characters and adds additional space or two to maintain fixed length of this parameter. Also set %I as default instead of %i to provide compatibility with tests and.
-
Jacek Sowiński authored
These conditional characters should be specified **inside** curly braces ({}) and **after** percent sign (%). They can appear in two groups: before and after particular placeholder. Example: "list_format = %{(}p{)}" If priority of given todo is C, "list_format" set above will now resolve to (C), but also won't display empty parentheses if there is no priority set. Fixes issue mentioned in 8650033b
-
Jacek Sowiński authored
With interpolation turned on we couldn't properly use '%' in list_format strings.
-
Bram Schoenmakers authored
So we still have the tags in the master branch.
-
Bram Schoenmakers authored
Thanks to Travis CI and the unit tests, the master branch is almost always of sufficient quality to be used. Other pros: * Wiki content matches the default branch. * Project stats at Github are up to date. * Less merge overhead at release time.
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
This is achieved by importing some modules only when applicable. For instance, 'ls' doesn't need ChangeSet and also doesn't always need icalendar. Sorting and archiving is also only applicable to writing commands (del, add, etc.).
-
Bram Schoenmakers authored
ChangeSet._trim may call ChangeSet.delete() several times, which incurs a disk write every time. This creates a lot of overhead, especially when lots of revisions are removed. Instead, leave the responsibility to the caller of _trim to make sure that the new content is written to disk. In this case, ChangeSet.save() the only caller, already writes to disk.
-
Bram Schoenmakers authored
There was a restriction in place that a file should contain the same number of todo items before and after an edit. This is now removed. Reason for change is that I lost a lot of edits to a long list of items and removing one single item from the list. The editor exits and as a result topydo refused to process it, losing all the changes. Another reason is that we have `revert` now. In case you severely mess up, you can always revert.
-