Commit graph

136 commits

Author SHA1 Message Date
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
Martinez
9269dc30d3 update build script to python 3.5 2015-11-23 21:55:59 +01:00
Martinez
8d15d9bccd fix compare_float
revert ec98b0cde8
2015-11-23 21:54:01 +01:00
Martinez
6d854fefc6 Merge remote-tracking branch 'refs/remotes/origin/master' 2015-11-05 10:17:48 +01:00
Martinez
ccea1fb986 handle missing xdg.BaseDirectory (headless platforms etc.) 2015-11-05 10:17:19 +01:00
Martinez
5dfd55673c fix over.core.m.compare_float 2015-09-22 00:54:33 +02:00
Martinez
8d700f5ff1 add over.core.m
add over.core.m.compare_float
2015-09-21 23:48:08 +02:00
Martinez
01ef34b519 add header to over.core.misc.hexdump 2015-08-12 18:30:38 +02:00
Martinez
ca1041c39b Merge branch 'master' of git.covalent.cz:overwatch/over 2015-08-12 18:05:22 +02:00
Martinez
0a54213e0d add over.core.misc.hexdump 2015-08-11 21:05:44 +02:00
Martinez
d3ea4764e3 added __pycache__ to template .gitignore 2015-06-11 11:51:31 +02:00
Martinez
ec98b0cde8 fix over.core.types.map.__init__ 2015-06-10 19:58:02 +02:00
Martinez
dcfd9b9f54 Merge branch 'master' of git.covalent.cz:overwatch/over 2015-06-09 21:08:14 +02:00
Martinez
853b252f2b interpreter fix, removed stray debug print 2015-06-09 21:07:54 +02:00