- 12 Feb, 2016 1 commit
-
-
Bram Schoenmakers authored
This color class abstracts away all the possible representations of a color in various UIs. These are color objects: Color(9) # red Color('red') # red Color(196) # red Color('NEUTRAL') # neutral (resets attributes) Color() # no effect The configuration stores Color objects now, code that requires colors doesn't have to worry about integer representations of colors. One semantic change: when an empty color is passed as a priority color, it will resort to an empty color instead of the neutral color. In practice this should have the same visual effect. Test case test_priority_color4 is adapted for this. This commit is the result after an initial refactoring of the color code (squashed its history into this one). @mruwek also contributed to this refactoring, thanks for the help and the ideas to get to this point.
-
- 02 Feb, 2016 1 commit
-
-
Bram Schoenmakers authored
Conflicts: setup.py test/test_list_format.py
-
- 28 Jan, 2016 1 commit
-
-
Bram Schoenmakers authored
This will reload all columns with respect to due dates, start dates and changing importance values.
-
- 22 Jan, 2016 4 commits
-
-
Bram Schoenmakers authored
Initialize it on startup and use that color map, instead of instantiating it for every todo widget.
-
Bram Schoenmakers authored
There is no need to instantiate the parser for each widget since the expression remains the same. Should save some CPU cycles for each screen update, in my case having over 600 todo widgets activated.
-
Bram Schoenmakers authored
This addresses some slugginess that I encounter in the column UI. For example, when doing an `ls` on the commandline, formerly it would execute: * Perform backups; * Write the todo file (+ archive if applicable); * Refresh all the columns; All in all this takes quite a while. CLIApplicationBase::_post_execute will now reset the dirty flag of the todo list. Then writing stuff and refreshing columns will only occur when the todo list is dirty. Updating columns can still be made smarter. When an action is executed on a specific todo item, only update those columns that contain that item, or are related to it through dependencies.
-
Bram Schoenmakers authored
-
- 14 Jan, 2016 2 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
Applying a filter is a primary thing to do for defining a column, therefore put it on top.
-
- 11 Jan, 2016 2 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
- 08 Jan, 2016 7 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
The console widget is slightly smaller than the terminal size, so the column UI should help get_terminal_size a bit to determine the correct size.
-
Bram Schoenmakers authored
Don't concatenate column layout configs
-
-
Bram Schoenmakers authored
-
Jacek Sowiński authored
Use only one layout file. Following precedence is applied: 1. Local (i.e. $PWD/topydo_columns.ini or $PWD/topydo_columns.conf or $PWD/.topydo_columns) 2. User's home (i.e. $HOME/.topydo_columns or $HOME/.config/topydo/columns) 3. System-wide (i.e. /etc/topydo_columns.conf)
-
- 07 Jan, 2016 5 commits
-
-
Bram Schoenmakers authored
Add history to command-line widget
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
'A' appends a new column. 'I' inserts a new column before the current column. 'N' was dropped.
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
This reverts commit 3513603a. TodoListWidget actually uses this variable to associate the widget with the Todo item. Thanks to @mruwek for the heads up.
-
- 06 Jan, 2016 6 commits
-
-
Jacek Sowiński authored
Main concept and great part of implementation derived from [pazz/alot][1]. [1]: https://github.com/pazz/alot/blob/0.3.7/alot/widgets/globals.py#L76
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
Gets rid of creation date and hidden tags that consume precious space.
-
Bram Schoenmakers authored
Temporarily disable color output in column-ui's console
-
- 05 Jan, 2016 1 commit
-
-
Jacek Sowiński authored
We don't want raw ANSI codes there. We'll enable it back again after providing proper coloring solution.
-
- 04 Jan, 2016 1 commit
-
-
Bram Schoenmakers authored
-
- 02 Jan, 2016 2 commits
-
-
Bram Schoenmakers authored
New key-shortcuts for column-ui
-
Jacek Sowiński authored
Thanks to @bram85 for the idea.
-
- 01 Jan, 2016 3 commits
-
-
Bram Schoenmakers authored
Fix crashes when last item in column disappeared
-
Jacek Sowiński authored
Almost identical to `p`: - `ps3d` will call `topydo postpone -s TODO 3d` - `psy` will call `topydo postpone -s TODO 1y`
-
Jacek Sowiński authored
_command_on_selected: accepts string containing command (with potential arguments) to execute and replace field (for further substitution with todo id) as an argument.
-
- 31 Dec, 2015 4 commits
-
-
Jacek Sowiński authored
There was uncaught IndexError when dealing with focus.
-
Jacek Sowiński authored
Actually it's a two letter shortcut. Second letter stands obviously for priority. Example: - 'rc' will trigger `topydo pri TODO_ITEM C`
-
Jacek Sowiński authored
-
Jacek Sowiński authored
-