Commit graph

32 commits

Author SHA1 Message Date
Martin Sekera
f31e2137ac add over.app.Main.setup arg reset 2018-12-12 22:40:28 +01:00
Martinez
37f36ef301 minor string fix 2017-10-15 10:00:39 +02:00
Martinez
e9556c1fbe - Options use a more robust int callback by default (handles hex and oct digits as well)
- over.misc.hexdump extended with initial_offset
2017-10-09 23:51:38 +02:00
Martinez
e699be5c6d handles exceptions in containment callbacks 2017-05-02 22:39:27 +02:00
Martinez
2c99c441ca adds containment callbacks to over.app.Main 2017-05-02 02:22:06 +02:00
Martinez
d1c88b2e73 fixes a bug introduced in 8d77347f 2017-04-14 22:26:31 +02:00
Martinez
8d77347f22 eyecandy fix 2017-03-31 11:00:32 +02:00
Martinez
1e6776b853 fixes a regression introduced in 2dfa580c 2017-03-31 10:52:41 +02:00
Martinez
2dfa580c75 - suppresses the warning about over.type
- makes sure traceback handler doesn't cause a crash itself
2017-02-16 12:50:07 +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
16770b209c - added a directory callback
- updated the template (fixes #11)
2016-10-10 16:52:59 +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
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
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
04b75a400c major reorganization of file structure 2016-05-11 17:07:48 +02:00
Renamed from core/app.py (Browse further)