Redesign todo

This commit is contained in:
Hugo Posnic 2017-11-26 11:53:11 +01:00
parent 8e415cb451
commit 42008757f2

25
TODO.md
View file

@ -1,30 +1,17 @@
# Todo app wise # Todo
- general refactoring - general refactoring
- sys.exit(1) for errors -- how to handle? Not good to simply sys.exit() from - sys.exit(1) for errors -- how to handle? Not good to simply sys.exit() from any random part of code (can leave things in a mess)
any random part of code (can leave things in a mess) - consider context managers for handling compression, so as to keep operations atomic and/or rollback-able
- consider context managers for handling compression, so as to keep operations
atomic and/or rollback-able
- add a recursive option on the command-line for use with -d - add a recursive option on the command-line for use with -d
- make -f accept a list of files - make -f accept a list of files
- make the current verbose be "normal", and make -verbose print the commandline - make the current verbose be "normal", and make -verbose print the commandline app prints as well
app prints as well
- find a way to specify the version once for everywhere - find a way to specify the version once for everywhere
- notification area drag/drop widget -> probably need gtk for gnome - notification area drag/drop widget -> probably need gtk for gnome
# Todo else
- figure out how to make mac and win versions (someone else :) <- via gui2exe - figure out how to make mac and win versions (someone else :) <- via gui2exe
# Later versions
- animate compressing.gif - animate compressing.gif
- allow selection/deletion of rows from table (and subsequently the imagelist) - allow selection/deletion of rows from table (and subsequently the imagelist)
- punypng api? http://www.gracepointafterfive.com/punypng/api - punypng api? http://www.gracepointafterfive.com/punypng/api
- imagemagick/graphicsmagick? - imagemagick/graphicsmagick?
- always on top option - always on top option
- intelligently recompress, i.e. go through the list of files, recompress - intelligently recompress, i.e. go through the list of files, recompress each until no more gains are seen (and a sensible number-of-tries limit isn't exceeded), and flag that file as fully-optimised. Repeat for each file in the list, until all are done. Saves pointlessly trying to optimise files. Consider the case of a directory of 100 files, already optimised once. Recompressing maximally compresses 90. Recompressing again would currently try to recompress all 100, when only 10 would be worthy of trying to compress further
each until no more gains are seen (and a sensible number-of-tries limit
isn't exceeded), and flag that file as fully-optimised. Repeat for each
file in the list, until all are done. Saves pointlessly trying to
optimise files. Consider the case of a directory of 100 files, already
optimised once. Recompressing maximally compresses 90. Recompressing
again would currently try to recompress all 100, when only 10 would be
worthy of trying to compress further.