Commit graph

142 commits

Author SHA1 Message Date
Martin Sekera
8f505849af over-3.0
Text output API was brought in line with ACE and similar libraries: there are
different functions for each log level, all with prinf semantics.

Unit is now fully usable with base-2 (MiB) and base-10 (MB) systems, as well
as arbitrary-base logarithms (dBm).

ProgressBar has been updated to expose more Unit configuration.
2021-08-24 09:23:29 +02:00
Martin Sekera
852cce04b6 over.app.Option: add new source type (preset) 2021-04-07 23:05:08 +02:00
Martin Sekera
03ab783437 fix indent in over.file.filelist 2021-03-24 16:37:37 +01:00
Martin Sekera
f3fdf22e53 add over.file.filelist function 2021-03-24 16:26:25 +01:00
Martin Sekera
10311ffd46 silence warnings in cmd.Command 2021-02-19 01:53:47 +01:00
Martin Sekera
2645383a6f fix callback.path ignoring the 'exists' attr on writable paths 2021-02-16 17:58:09 +01:00
Martin Sekera
3f6b7cd24e add Main.info(), Main.done(), Main.warn(), Main.fail() log aliases 2021-02-16 17:56:59 +01:00
Martin Sekera
396ae4e49d over.app: add .dirs with the app's xdg dirs 2021-02-15 00:29:35 +01:00
Martin Sekera
b7c3ca3e02 fix over.cmd.Command.dump not quoting empty strings 2020-09-15 01:50:32 +02:00
Martin Sekera
b083fbc384 Merge branch 'master' of git.decade.cz:overwatch/over 2020-03-09 07:43:28 +01:00
Martin Sekera
ca06e2438a minor hexdump UI fix 2020-03-09 07:42:49 +01:00
Martin Sekera
0f1d72149e fix hexdump offset being off by one line 2020-03-07 18:05:22 +01:00
Martin
193302708c over.cfg.Config - add .items() and .values() 2019-08-07 11:53:39 +02:00
Martin
43ba8ee6a3 add over.cfg.Config - a simple read-only API for JSON configs 2019-08-06 17:38:28 +02:00
Martin
88be91445f Merge branch 'master' of decade.cz:overwatch/over 2019-05-29 13:50:43 +02:00
Martin Sekera
7634b3e35d add over.cmd.Command.__str__ 2019-04-23 01:51:51 +02:00
Martin Sekera
908857a317 changed the over.callback.path API some more 2019-04-18 02:18:15 +02:00
Martin Sekera
cf9fda165f changed the over.callback.path API a bit 2019-04-18 02:08:20 +02:00
Martin Sekera
1d5090b33e generalized over.callbacks.directory -> over.callbacks.path 2019-04-18 01:57:58 +02:00
Martin Sekera
430ed6e34d hexdump: skip lines if the content is the same 2019-03-31 00:13:55 +01:00
Martin
e8ce658015 Merge branch 'master' of decade.cz:overwatch/over 2019-02-06 09:26:34 +01:00
Martin Sekera
f31e2137ac add over.app.Main.setup arg reset 2018-12-12 22:40:28 +01:00
Martin
5ed3e16d65 add over.callback.integers 2017-11-23 16:01:21 +01:00
Martin
cc7d97c811 chasing own tail 2017-10-16 10:49:24 +02:00
Martinez
cfc2197943 more minor doc fixes 2017-10-15 10:17:01 +02:00
Martinez
37f36ef301 minor string fix 2017-10-15 10:00:39 +02:00
Martin
1ed1087a1a fix missing over.types.ndict.keys 2017-10-13 18:23:08 +02:00
Martin
f8b9f983ad improved over.types.ndict.__repr__ 2017-10-13 14:28:15 +02:00
Martinez
c92c0fb6e9 update .gitignore 2017-10-10 00:44:03 +02:00
Martinez
3a8ae90597 2.0 RELEASE (candidate :)
- removed old garbage
- distutils
2017-10-10 00:26:52 +02:00
Martinez
76ab4c1d32 Merge branch 'master' of git.covalent.cz:overwatch/over 2017-10-09 23:51:56 +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
Martin
853e05a275 rewrote over.types.ndict to use composition instead of inheritance due to obscue issues on raspbian 2017-10-06 15:17:47 +02:00
Martin
0d1794d4b6 added over.misc.raw_to_hex and over.misc.hex_to_raw 2017-10-06 11:27:42 +02:00
Martin
73132dad6f over.misc.hexdump now accepts anything as long as it's convertible to bytes 2017-10-05 16:36:09 +02:00
Martinez
e699be5c6d handles exceptions in containment callbacks 2017-05-02 22:39:27 +02:00
Martinez
e6652b6783 adds over.file.context_dir 2017-05-02 02:39:33 +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
9a1ffccbc8 changes the behavior of over.text to not render into paragraphs when logging to files 2017-03-15 11:15:38 +01: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
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