Commit graph

99 commits

Author SHA1 Message Date
Martinez
d0bac63fb3 - adds over.misc.update_dict
- fixes #4 over.misc.console is too hard to use
2017-02-16 11:14:16 +01:00
Martinez
8e0b27cb17 fixes #14 Minor typos 2017-02-16 10:51:36 +01:00
Martinez
33b45bde07 makes it possible to set multiple default values when Option.overwrite == False, fixes #15 2017-02-09 16:03:42 +01:00
Martinez
f1c1a12ece improves exception output some more 2017-02-09 15:40:12 +01:00
Martinez
d2c41b6670 improves exception output 2017-01-19 11:36:22 +01:00
Martinez
2a2a26977a minor UI fixes 2017-01-19 11:30:48 +01:00
Martinez
f219f45c45 minor ui fix 2016-10-21 12:08:02 +02:00
Martinez
4f7268c3e2 - fix over.text.lexical_join crashing on generators
- over.app strack tracer ui tweak
2016-10-21 12:06:33 +02:00
Martinez
93473a0c42 add over.text.Output.add_sink, little api breakage 2016-10-21 10:14:58 +02:00
Martinez
6b518e8ddc add timezone support to over.text.Output 2016-10-20 17:03:17 +02:00
Martinez
a08c85a4f3 add over.text.Output.flush 2016-10-20 16:50:08 +02:00
Martinez
3f720fc9b8 Merge branch 'distutils' of git.covalent.cz:overwatch/over into distutils 2016-10-20 16:25:36 +02:00
Martinez
d5f3470444 over.text.Output.print renamed to over.text.Output.write 2016-10-20 16:25:05 +02:00
Martinez
26cc9c9c99 fix over.misc.hexdump colors 2016-10-11 14:28:29 +02:00
Martinez
16770b209c - added a directory callback
- updated the template (fixes #11)
2016-10-10 16:52:59 +02:00
Martinez
8996bb9d04 added a list of colors to ---help 2016-10-07 15:30:22 +02:00
Martinez
b967fc12fb Merge branch 'distutils' of git.covalent.cz:overwatch/over into distutils 2016-08-07 22:56:26 +02:00
Martinez
44c47e50f0 add over.callback.strings 2016-08-07 22:48:09 +02:00
Martinez
90cb9c7d38 add command line targets to ---dump 2016-07-19 14:09:39 +02:00
Martinez
89cbc24cbb added over.app.ConfigFile.ignore_unknown 2016-05-29 09:27:25 +02:00
Martinez
b4019f31d1 docs typo fix 2016-05-19 14:03:34 +02:00
Martinez
7ae87629bf --help view displays a list of Main features and if they're used by the app (close #12) 2016-05-18 13:18:02 +02:00
Martinez
d690632ca2 generalized over.app.ConfigFile to be usable by other apps (e.g. for over-video's context storage, this closes #8 :)
options with no value return None instead of raising an exception
added a NOTE output tag to over.text.Output
2016-05-18 13:09:25 +02:00
Martinez
ed947bf8e6 New features (closes #6):
- config file selection (---config PATH)
- dump state as executable command (---dump)
- over library desciption (---help)
- finished automatic --help view

Fixes
- callbacks are called after the application's state is determined (closes #9)
- many small fixes
2016-05-18 00:40:42 +02:00
Martinez
5b983a3131 config file support is ready
- over.app.ConfigFile can read, create and amend config files
- fix over.cmd.format_invocation
- add join to over.text.paragraph
2016-05-17 20:58:53 +02:00
Martinez
17eda81ad2 over.app: add proper bool usage check 2016-05-17 16:55:14 +02:00
Martinez
2757cd8e96 Major improvements, deduplication and simplification in over.app.
- over.app.ConfigFile can create empty config files and read all options from them
- over.callback was created to hold commandline parser callbacks
- over.app.Option.is_boolean hint added
- major improvements and increased robustness of over.app.Main command line parser
2016-05-17 16:48:58 +02:00
Martinez
720dfa7b09 over.app.Main now uses a features dict instead of individual flags, closes #5 2016-05-17 09:52:26 +02:00
Martinez
123b04c2b7 fix over.app.Main.invocation state after parsing 2016-05-16 20:00:46 +02:00
Martinez
e7168e165a add test script's version.py 2016-05-16 10:51:09 +02:00
Martinez
f74e156c72 add test script 2016-05-16 10:50:44 +02:00
Martinez
5541facfd8 renamer over.app.Main.exception_handler to over.app.Main.stack_tracer 2016-05-16 00:28:43 +02:00
Martinez
d0fd7e90c5 - minor changes
- add Exception.description property support
- add a few sanity checks to over.app.Main
- added top-level stack frame display to over.app.Main.exception_handler
- the command line parser is now usable :)
2016-05-16 00:27:08 +02:00
Martinez
b30cab6926 implemented a global exception handler for over.app.Main that uses introspection and docstrings to create human-friendly stack traces
implemented most of the command line parser
expanded ANSI color palette
added over.text.char_in_str
over.text.Output removes colors if the output stream is not a tty
minor fixes and improvements
2016-05-15 22:07:38 +02:00
Martinez
5b4958e1e2 add over.text.count_leading
add indent support to over.text.Output
2016-05-15 00:28:13 +02:00
Martinez
793d97f854 switched to versioning 2016-05-14 15:12:39 +02:00
Martinez
031f7627b8 renamed cython_types.pyx python_types.py to types.py[x], switching between them is setup.py's job
moved help texts to over.docs
wip over.app implementation
2016-05-13 16:11:04 +02:00
Martinez
a4665ae277 finished all of over except app, which will need a lot more attention 2016-05-13 14:44:12 +02:00
Martinez
45eb51550a finished over.text 2016-05-12 16:41:09 +02:00
Martinez
04b75a400c major reorganization of file structure 2016-05-11 17:07:48 +02:00
overwatch
65b0233a9d Merge branch 'new-progressbar' of overwatch/over into master 2016-05-11 13:30:47 +02:00
Martinez
3a0f77ab96 initial working implementation of ProgressBar2 2016-02-21 13:15:29 +01:00
Martinez
b691bb9b25 ProgressBar initial replacement outline 2016-02-18 08:01:25 +01:00
Martinez
271db52da3 minor style changes 2016-02-14 22:17:59 +01:00
Martinez
9f162f8928 add color support to over.core.misc.hexdump 2016-01-22 16:55:55 +01:00
Martinez
67f8840539 center ASCII in over.core.misc.hexdump 2016-01-22 16:45:58 +01:00
Martinez
b4e6d68277 Merge branch 'master' of git.covalent.cz:overwatch/over 2016-01-22 11:31:10 +01:00
Martinez
bd216a2e7a over.core.misc.hexdump
- fix crash on empty data
- add option for string output
2016-01-22 11:29:42 +01:00
Martinez
f1a0a7bf47 fix build.sh 2015-12-26 15:30:20 +01:00
Martinez
31aafaf0b7 Merge branch 'master' of git.covalent.cz:overwatch/over
e is necessary,
2015-11-23 21:56:38 +01:00