- 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.
-
- 28 Oct, 2015 1 commit
-
-
Bram Schoenmakers authored
This reuses the logic that the backup functionality uses to determine whether a command is read-only or not. In that case, prompt mode doesn't trigger a warning for ls* commands when the backing todo file was changed.
-
- 27 Oct, 2015 1 commit
-
-
Bram Schoenmakers authored
The `ls` output can be customized with the list_format option in the configuration, or the `-F` flag for `ls`. Open issues: * Relative dates to be implemented (see PR #52) * Using (%p) without todo items without priority results in () * Ability to print todo on a single line (see PR #52)
-
- 24 Oct, 2015 3 commits
-
-
Bram Schoenmakers authored
Save `edit` result only when tempfile was modified
-
Bram Schoenmakers authored
-
Jacek Sowiński authored
-