- 30 May, 2015 5 commits
-
-
Bram Schoenmakers authored
When obtaining a configuration object, it is now possible to pass certain values to be overridden no matter what settings were made in the configuration files. This is used to let the -t and -d flags (location of todo.txt and archive respectively) override anything that is mentioned in configuration files. This fixes a bug where the edit subcommand did not respect the -t flag, because it was simply reading the location from the configuration file. Now the configuration is overridden when -t is passed. Thanks to Jacek for reporting the broken 'edit' command.
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
Two possible future improvements regarding editor selection: * configure editor through configuration file * set editor through a flag, e.g. topydo edit -p gedit
-
Robert van Bregt authored
-
Bram Schoenmakers authored
Import prompt-toolkit only if it's needed.
-
- 29 May, 2015 1 commit
-
-
Jacek Sowiński authored
Also display more readable error message in case of absence of prompt-toolkit. This fixes #35
-
- 27 May, 2015 1 commit
-
-
Bram Schoenmakers authored
Fix EditCommand inheritance problems
-
- 25 May, 2015 2 commits
-
-
Jacek Sowiński authored
Currently it contains only `_view` and `_filters` methods, which were previously defined in ListCommand. Now both EditCommand and ListCommand will inherit from it to solve problems inside EditCommand. This fixes #28
-
Jacek Sowiński authored
1. Check output of `topydo edit -e` 2. Test if opening archive works via `topydo edit -d`
-
- 22 May, 2015 9 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
The trigger is that pylint doesn't support Python 3.2 anymore, and in that case Travis CI should not run pylint. This script takes an optional argument for the executable name of the corresponding Python version (typically just 'python2' and 'python3'). When not given, 'python' is just run, whatever is in your $PATH. The latter mode is used in Travis CI.
-
Bram Schoenmakers authored
pylint doesn't understand that <date> - <timedelta> results in a date, but thinks it results in a timedelta. Since timedelta has no isoformat() method, it will complain.
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
* Moved one super() call outside the EditCommand class into a lambda function. * Made EditCommand.execute() call its correct parent execute() (was: ListCommand). However, this would go wrong: EditCommand.execute() calls MultiCommand.execute() MultiCommand.execute() calls ListCommand.execute() Because EditCommand has multiple inheritance ListCommand.execute() is successful, but returns None MultiCommand.execute() takes that as failure, returns False EditCommand.execute() returns False This is fixed by adding return True to the execute() method of the parent classes. This fixes all pylint errors.
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
- 21 May, 2015 1 commit
-
-
Jacek Sowiński authored
-
- 20 May, 2015 4 commits
-
-
Jacek Sowiński authored
-
Bram Schoenmakers authored
Fix help in prompt-mode
-
Jacek Sowiński authored
This is done with catching TypeError and calling topydo.cli.CLIApplicationsBase.usage.
-
Jacek Sowiński authored
Add UILoader.py as an entry_point and decide which UI to start from there.
-
- 19 May, 2015 6 commits
-
-
Jacek Sowiński authored
- do not match something like: '://example.org' - match URLs at beginning of the line
-
kidpixo authored
- METADATA (key:value pairs) - LINK (foo://bar.bla)
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
Unicode fixes for prompt branch
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
-
- 18 May, 2015 5 commits
-
-
Bram Schoenmakers authored
Enable history in prompt-mode
-
Jacek Sowiński authored
-
Jacek Sowiński authored
-
Jacek Sowiński authored
-
Jacek Sowiński authored
Otherwise it wil fail when <NUMBER> contains some unicode diacritics.
-
- 17 May, 2015 4 commits
-
-
Bram Schoenmakers authored
Also moved the utf8 utility to the superclass' module because more command tests are using it now.
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
* Convert command line arguments from UTF-8 to Unicode right away. All Command classes should expect Unicode strings as arguments. * Add test case for special characters for the 'ls' subcommand. Other commands are still likely to be broken.
-
Bram Schoenmakers authored
python_2_unicode_compatible is broken in six-1.8 (which comes with Debian) when imported in Python 3.
-
- 16 May, 2015 2 commits
-
-
Bram Schoenmakers authored
-
Bram Schoenmakers authored
The idea is that we can focus on Unicode issues in this branch, getting both the CLI and the Prompt mode properly in shape having Python 3 support. Conflicts: test/AddCommandTest.py test/AppendCommandTest.py test/ArchiveCommandTest.py test/DepCommandTest.py test/DepriCommandTest.py test/DoCommandTest.py test/EditCommandTest.py test/IcalCommandTest.py test/ListCommandTest.py test/ListContextCommandTest.py test/ListProjectCommandTest.py test/PostponeCommandTest.py test/PriorityCommandTest.py test/SortCommandTest.py test/TagCommandTest.py topydo/cli/CLIApplicationBase.py
-