1
0
Fork 0
mirror of https://github.com/topydo/topydo.git synced 2024-05-20 13:58:33 +00:00
Commit graph

71 commits

Author SHA1 Message Date
David Steele d96572c088 Drop support for Python 3.2
The code had a backport shim for importing shutil get_terminal_size.
For modern versions, the call is in shutil in the standard library.
Starting with 3.9, on Debian, the backport reference causes a FTBFS.

Drop the workaround.

Support for security fixes for Python 3.2 ended in 2016.
2022-12-06 15:03:29 -05:00
David Steele f327250e01 Use README.md for the Py package long description 2020-12-12 16:48:29 -05:00
David Steele c4db4bce5e Remove some references to topydo.org 2020-12-03 17:41:11 -05:00
David Steele 557e277a5a Add a setup.py test req for freezegun 2020-10-02 21:07:29 -04:00
Bram Schoenmakers 3a52e9dc90 Sorted import statements 2017-07-30 11:34:33 +02:00
Bram Schoenmakers 751105eaac Fixed pylint errors
Among others, moved methods by turning them into (inline) functions or
static methods.
2017-07-30 11:04:51 +02:00
Bram Schoenmakers b4c7b0a06a Add pylint to the test dependency array
With 1.7.1 and higher we can use it in Python 3.6.
2017-06-09 10:38:05 +02:00
Bram Schoenmakers 51ff4a66c2 iCalendar is needed for running tests 2017-01-24 20:47:00 +01:00
Bram Schoenmakers 9780decf65 Fix execution of Coverage 2016-12-28 15:44:04 +01:00
Bram Schoenmakers e0a5412267 Add watchdog dependency 2016-11-17 14:44:37 +01:00
Bram Schoenmakers 013fe7000e Bump version 2016-07-22 21:49:38 +02:00
Bram Schoenmakers 8163a029a6 Introduce the topydo.org domain 2016-07-08 21:13:14 +02:00
Bram Schoenmakers e8061b08f0 Make separate directory for each UI
For each UI, create a folder in the ui subdirectory.
2016-05-22 15:10:12 +02:00
Bram Schoenmakers 49bfbc257a Merge branch 'column-ui/master'
Conflicts:
	.travis.yml
	setup.py
2016-05-22 14:07:44 +02:00
Bram Schoenmakers 68de5778ae Rename prompt-toolkit dependency to prompt_toolkit 2016-05-22 10:45:24 +02:00
Bram Schoenmakers 5e2d718dae Give dependencies a logical name 2016-02-07 18:36:33 +01:00
Jacek Sowiński bbace860a5 Merge branch 'master' into column-ui 2015-12-26 01:09:15 +01:00
MinchinWeb f1c5a72c26 Provide mock and shutil.get_terminal_size for testing on PyPy 3. 2015-12-03 22:15:13 -07:00
Bram Schoenmakers 02ca3e16b7 Merge branch 'drop-python2'
Conflicts:
	setup.py
	topydo/lib/PrettyPrinterFilter.py
2015-11-29 21:23:45 +01:00
Bram Schoenmakers 3e6b7b6475 Update supported Python versions/implementations 2015-11-16 11:16:10 +01:00
Bram Schoenmakers faa9b61d1b Revert "Move conditional dependencies to install_requires"
This reverts commit bbdfb2a5ce.

(Wheel) dependencies are evaluated at build time, so they should stay in
extras_require, which are evaluated at install-time.

See issue #79.
2015-11-16 08:07:14 +01:00
Bram Schoenmakers 4d8c1b3728 Drop Python 2.7 support
Supporting Python 2 resulted in some additional dependencies (six,
ushlex, get_terminal_size). Removing 2.7 support makes things a bit
easier and maintainable.
2015-11-15 00:31:03 +01:00
Bram Schoenmakers bbdfb2a5ce Move conditional dependencies to install_requires
Installing from the source distribution (sdist), ushlex and
shutil_get_terminal_size were not installed. Putting the condition in
install_requires addresses this.
2015-11-14 23:50:09 +01:00
Bram Schoenmakers 8bf0fbb7f8 Merge branch 'master' into ls-format
Conflicts:
	setup.py
2015-11-08 21:15:54 +01:00
Jacek Sowiński 3b6665e2ab Add tests for list_format
Also add freezegun to dependencies -  we use it for mocking datetime
objects.
2015-11-08 00:02:57 +01:00
Jacek Sowiński a7fdcdfd2b Update dependencies in setup.py
Specified minimum version of arrow and forced pulling
backports.shutil_get_terminal_size for python versions < 3.3.
2015-11-05 17:42:14 +01:00
Bram Schoenmakers 10e4227f0f Merge 'edit-cmd-tests' dependency group with 'test' group 2015-11-04 09:00:25 +01:00
Bram Schoenmakers 15f497ee59 Merge branch 'master' into ls-format 2015-11-04 08:34:45 +01:00
MinchinWeb 3f2ec123da Convert test command to green 2015-11-03 19:10:55 -07:00
Jacek Sowiński 86c19606dd Fix unicode values in aliases config in python2
Apparently shlex and ConfigParser.read() don't work well with Unicode
input in python2.
2015-11-03 15:46:31 +01:00
Jacek Sowiński e294c59068 Implement relative dates in list-format 2015-10-30 23:26:40 +01:00
MinchinWeb 40c6de4387 Fix Wheel building
Evaluate conditional requirements at install time rather than compile time.
2015-10-11 22:14:23 -06:00
Bram Schoenmakers 5092a3b972 Raise minimal version of prompt_toolkit to 0.53.
It has a backward incompatible change to rename the get_input() function
to prompt(). For now it's still supported, but it's better to anticipate
the removal of get_prompt() in the (near?) future.
2015-10-05 21:43:55 +02:00
Bram Schoenmakers 35cb964e73 Merge branch 'master' into column-ui/master
Conflicts:
	setup.py
	topydo/lib/ExpressionCommand.py
2015-08-22 15:40:28 +02:00
Bram Schoenmakers eb8a1d1db0 Use InMemoryHistory instead of the (now abstract) History class.
This was the result of the backward incompatible change in
prompt-toolkit 0.47.
2015-08-20 14:19:15 +02:00
Bram Schoenmakers 055930589d Bump minimal required version of prompt-toolkit.
This one supports the `complete_while_typing` flag in boolean form.
2015-08-18 11:22:32 +02:00
MinchinWeb 9650361b86 fix imports for setup.py 2015-08-10 12:23:55 -06:00
MinchinWeb 22dceccbd0 Use colorama to provide color on Windows CMD
Fixes #32
2015-08-10 12:21:18 -06:00
MinchinWeb 7a98f38737 Pull version in setup.py directly from topydo/lib/Version.py 2015-08-10 11:11:25 -06:00
Bram Schoenmakers 5422906f4b Version bump, update ChangeLog. 2015-07-31 19:41:11 +02:00
Bram Schoenmakers 27cc49fedb Removed the beta state from topydo, I consider it production-ready now. 2015-06-20 20:29:18 +02:00
Bram Schoenmakers 667082b796 Start of a new user interface.
Started on the UI that I envisioned since the very beginning of this
project, 364 days ago.

The UI is inspired by TweetDeck, the column-like Twitter interface.
Every column is associated with a View object (which has a filter and a
sort order on the active todo.txt file). So each column can show a
particular part of the todo.txt files. E.g, a column for today's items,
a column for overdue items or a column for a particular project
(filter: GrepFilter("+SomeProject")).

The way topydo is designed was always with this UI in mind. Commands
('add', 'do', etc.) should be independent of the UI that invoked them,
therefore they never print to stdout but output to a function such that
the current UI will show it properly. Also the View class, which hasn't
been incredibly useful sofar, can finally fulfil its role better.

This is still a very immature version of the UI. It shows a single
column with all the todos. It can execute commands, but it will do so
silently, no output or errors are shown yet.

The navigation will be Vim-like. Press : to toggle the command-line at
the bottom of the screen, where you can enter any command that you're
used to. Press Escape entering a command to set the focus back on the
columns.

The next few items to address:
* show output, errors and handle input
* ability to dynamically add/edit/delete columns
* add navigation keys to 'walk' through the items in the columns and act
  on them with shortcuts. E.g. highlight a todo, press 'x' to complete
  it.

I chose urwid as the widget library for the console, since using curses
directly gave me a headache.
2015-06-08 21:50:50 +02:00
Bram Schoenmakers 92f078b7e7 Depend on prompt-toolkit >=0.39 for history bugfix. 2015-06-04 22:27:54 +02:00
Bram Schoenmakers 55ff66f9b9 Version bump. 2015-06-03 20:24:59 +02:00
Jacek Sowiński 67a11cff34 Start prompt mode via topydo prompt
Add UILoader.py as an entry_point and decide which UI to start from
there.
2015-05-20 09:04:52 +02:00
Bram Schoenmakers 0653861941 Require at least six-1.9.
python_2_unicode_compatible is broken in six-1.8 (which comes with
Debian) when imported in Python 3.
2015-05-17 10:08:59 +02:00
Bram Schoenmakers e22b40a8c1 Merge branch 'master' into prompt
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
2015-05-16 23:07:07 +02:00
Bram Schoenmakers 547c4bcebe Add Python 3 to the classifiers.
Also specifically indicate Python 2.7, since Python 2.6 is not
supported.
2015-05-16 21:52:27 +02:00
Bram Schoenmakers 2d3816bd80 Add initial support for Python 3.
Still some test cases are failing, but the basic functionality seems to
werk.
2015-05-15 20:33:41 +02:00
Bram Schoenmakers 2d1015e4e4 Use find_packages to collect the packages.
Now topydo.commands is also included.
2015-05-15 15:58:09 +02:00