Skip to content
Permalink
master

Commits on Jul 31, 2017

  1. Update tests for extended revert functionality

    mruwek committed Jul 31, 2017
  2. List backup points and revert to specific ones

    `topydo revert ls` will now show all saved backup points with position
    number (starting with 1), date and time of relevant action, and its
    label.
    
    `topydo revert 2` will revert to a point **before** the backup point
    marked as 2 in `topydo revert ls` (i.e. it will go 2 changes backwards
    or phrasing more naturally: revert last 2 changes).
    
    Warning: changes between between current state and desired backup point
    are also deleted to avoid false assumption that our backups can be
    treated as some sort of atomic "patches".
    mruwek committed Jul 31, 2017
  3. Don't try to replace archive when archiving is off

    When user disabled archive feature after he made some backups, don't try
    to restore archive during `topydo revert`, as there is no file to write.
    mruwek committed Jul 31, 2017
  4. Suggest to use pip3 over pip

    mruwek committed Jul 31, 2017

Commits on Jul 13, 2017

  1. Add most basic readline shortcuts in commandline

    ctrl-a: move cursor to the beginning
    ctrl-e: move cursor to the end
    ctrl-u: delete from the cursor back to the beginning
    ctrl-k: delete from the cursor to the end
    mruwek authored and bram85 committed Jul 13, 2017

Commits on Jul 10, 2017

  1. Add completion box and full completion support

    - completion box pops out for multiple candidates
    - <Tab> and <Shift-Tab> will navigate through the list of candidates
    - any other key than <Tab> and <Shift-Tab> will close the box
    - completion box is glued to cursor and is trimmed to max 4 lines
    - +projects, @contexts, dates and commands (with aliases) are supported
    mruwek committed Jul 10, 2017
  2. Reorganize code for completers

    1.Rename completers
    
    topydo.ui.prompt.TopydoCompleter is now topydo.ui.prompt.PromptCompleter
    topydo.lib.Completer is now topydo.ui.CompleterBase
    
    2. Reuse CompleterBase code in prompt completer.
    3. Sort completion suggestions
    4. Introduce completion of due: dates in column completer.
    5. Store subcommands for completers in cache (via lru_cache).
    mruwek committed Jul 10, 2017
  3. Implement simple completion into the Column UI

    Currently it works only with single completion candidate and works for:
    contexts, projects, subcommands.
    mruwek committed Jul 10, 2017

Commits on Feb 27, 2017

  1. Introduce new 'mark_all' action in Column UI

    It will mark all todo items contained in currently selected
    TodoListWidget. By defualt it is mapped to <C-a> (Ctrl-a).
    mruwek committed Feb 27, 2017

Commits on Feb 24, 2017

  1. Use Command.name() when looking for read-only cmds

    mruwek committed Feb 24, 2017
  2. Add possibility to trigger actions after archiving

    Each command can now execute action defined in its own
    Command.post_archive() method after archiving action is done. Hook for
    `do` and `del` is also included in this commit.
    
    This should fix #139
    mruwek committed Feb 24, 2017

Commits on Feb 20, 2017

  1. Print empty output of `dep ls`

    Lack of printing empty result was especially confusing in column UI
    (console wasn't opened and user could think that command wasn't
    executed).
    mruwek committed Feb 20, 2017
  2. Don't crash on duplicates in config

    Use last definition of an option instead. Section duplicates are also
    supported from now.
    
    Example:
    
    '''
    [column_keymap]
    a = foo
    a = bar
    
    [column_keymap]
    b = foobar
    '''
    
    is equivalent of:
    
    '''
    [column_keymap]
    a = bar
    b = foobar
    '''
    mruwek committed Feb 20, 2017

Commits on Feb 15, 2017

  1. Introduce 'before' and 'after' keywords to `dep ls`

    From now on:
    `topydo dep ls before 1` gives the same output as `topydo dep ls 1 to`
    and:
    `topydo dep ls after 1` gives the same output as `topydo dep ls to 1`
    mruwek committed Feb 15, 2017

Commits on Feb 9, 2017

  1. Revert TodoList changes if Transaction fails

    This will prevent from leaving TodoList and todo.txt file in
    inconsistent state whenever first Command.execute() inside Transaction
    succeeds and any subsequent fails for whatever reason.
    mruwek committed Feb 9, 2017
  2. Fix backup descriptions for column UI transactions

    This provides that each backup description will still inform user about
    each command that was executed. When transaction of commands was
    executed user will get printed list of commands separated by ';'.
    
    Example:
    
    Successfully reverted: append 1 FooBar; append 3 FooBar; append 6 FooBar;
    mruwek committed Feb 9, 2017
  3. Allow actions on multiple ids without MultiCommand

    This feature means that commands like `tag`, `append` or `dep` can work
    now with multiple (marked) todo items in column UI.
    mruwek committed Feb 9, 2017

Commits on Feb 6, 2017

  1. Prefer filterexpr if there is no title in config

    Use 'Yet another column' only if there is no title and filterexpr is
    also empty. This behavior is in accordance with change introduced in
    fc15491.
    mruwek committed Feb 6, 2017

Commits on Jan 19, 2017

  1. Add test for fix of FileNotFoundError

    mruwek committed Jan 19, 2017
  2. Don't crash on FileNotFoundError with `add -f`

    Show descriptive error message instead.
    mruwek committed Jan 19, 2017

Commits on Nov 8, 2016

  1. Support user-specified column-layout file

    User can now use '-l' option with an argument *after* 'columns' command
    and topydo will try to load column layout from that location. If it
    won't find specified file it will use standard column-layout file
    locations as a fallback.
    
    Example of use:
    Will work: `topydo columns -l ~/fooBar_columns`
    Won't work: `topydo -l ~/fooBar_columns columns`
    
    Implements #147
    mruwek committed Nov 8, 2016

Commits on Oct 7, 2016

  1. Close temporary file after saving to it

    This can solve the problems with file handle being occupied by python
    while editor is trying to save user changes from `topydo edit` on some
    operating systems.
    
    Potential fix for #141
    mruwek committed Oct 7, 2016

Commits on Aug 20, 2016

  1. Properly unmark items when resetting state

    After introducing cache for TodoWidget objects, widgets highlighted with
    'mark' action were not unmarked after 'reset' action and they reappeared
    highlighted ("marked") after reverting `do` or `delete` commands.
    mruwek committed Aug 20, 2016

Commits on Jul 22, 2016

  1. Fix saving backups when archiving is turned off

    Use empty list if user left `archive_file` option empty.
    
    This fixes #132
    mruwek committed Jul 22, 2016

Commits on May 23, 2016

  1. Fix coloring at the beginning of the output string

    PrettyPrinterColorFilter mistakenly overwrote any colors at the
    beginning with the priority color.
    mruwek authored and bram85 committed May 23, 2016

Commits on Apr 22, 2016

  1. Don't crash on shlex.split in column UI

    Also don't try to do anything after such error occurs so we don't
    trigger another crash if default_command is assinged to some alias.
    
    Hopefully finaly fixes #107
    mruwek committed Apr 22, 2016

Commits on Apr 21, 2016

  1. Provide adequate "mono" palette for column ui

    Focused items are now properly highlighted when colors are set to 0 and
    marked items are made bold and underlined.
    mruwek committed Apr 21, 2016

Commits on Apr 11, 2016

  1. Use special color-palette entry for 'marked' items

    This improves readability. Marked items look now differently from the
    focused one.
    mruwek committed Apr 11, 2016

Commits on Mar 10, 2016

  1. Use business days recurrence in column ui

    mruwek committed Mar 10, 2016

Commits on Mar 3, 2016

  1. Use all configurable colors in TodoWidget

    Previously only priority color was rendered. Now all contexts, projects,
    links and metadata should show theirs colors.
    mruwek committed Mar 3, 2016

Commits on Feb 27, 2016

  1. Remove 'save_cmd' and 'has_marked_todos' signals

    This required to slightly change UIApplication._execute_handler so it
    accepts now also a todo id as an argument.
    mruwek committed Feb 27, 2016
Older
You can’t perform that action at this time.