Alois Mahdal
1d96b4be8b
Use separate switch to enable debug in ffood init
Due to immature way how mkpretty loads pretifier, `ffood import` is
called with every output, which makes any other debugging output
useless.
Hot fix is to use different switch. Should the mkpretty mechanism be
improved, we can merge the switches back.
11 lat temu
Alois Mahdal
3be73bc165
Fix and simplify mechanism to enable mkpretty.
Mkpretty is now always on and defined globally as name of the pretifier,
which is "plain" by default.
"plain" prettifier only adds "debug" and caller name prefix to the debug
output.
11 lat temu
Alois Mahdal
721bf63e3d
Fix usage case
usage is supposed to be implemented in user script by call to usage_is
(so that the actual patterns can be defined only once and on the lowest
indent level).
So actually when we see usage_is, we want to skip one FUNCNAME in stack.
(This will not work properly if the suggested usage is not adhered to.)
11 lat temu
Alois Mahdal
9551f81efb
Update rest of library to work with new debug -v
11 lat temu
Alois Mahdal
4adfc9484f
Completely revamp printing mechanism
Use common backend, add -f and -c, add arbitrary pretty printers support
11 lat temu
Alois Mahdal
7ea1bfaf9f
Add -v option to fff
11 lat temu
Alois Mahdal
427b7f73a7
Drop empty lines from output
11 lat temu
Alois Mahdal
bfdcaa3456
Update proj_ol with changed key naming
11 lat temu
Alois Mahdal
fe3d16d1cd
Fix expr to kw conversion
11 lat temu
Alois Mahdal
7a7d39bbca
Fix path traversal
Do not rely on IFS; it does not work with quotes, i.e. spaces in paths.
11 lat temu
Alois Mahdal
2383836da4
Fix debug frenzy
11 lat temu
Alois Mahdal
0fbcec8499
Fix piping
11 lat temu
Alois Mahdal
d9aa0a4584
Add new filter
11 lat temu
Alois Mahdal
7b6d994961
Orthogonize pipes to emphasize flow
11 lat temu
Alois Mahdal
301852e613
Add a debug frenzy at the end
11 lat temu
Alois Mahdal
0fecbd8541
Move info functions to ffmanage
11 lat temu
Alois Mahdal
5eaf341596
Add ffood wrappers ffdoc and ffmanage
11 lat temu
Alois Mahdal
0fdb17dd27
Revamp ffood() and add listing features
ffood now employs simpler algorithm to choose file to import and also
is able to list module contents.
11 lat temu
Alois Mahdal
04709a486b
Do not override debug status
11 lat temu
Alois Mahdal
b18c46dd88
Remove unnecessary import
11 lat temu
Alois Mahdal
d0d46aaa84
Rename fffun to fff
11 lat temu
Alois Mahdal
a676a03dfe
Have testing.sh create FFOOD_TMP
11 lat temu
Alois Mahdal
6828e875f8
Think, don't talk
11 lat temu
Alois Mahdal
4ddf669d37
Require specifying target for artifact collection
I.e. do not use global variable
11 lat temu
Alois Mahdal
6672b1eea7
Revamp iniread not to rely on hardcoded paths
iniread will now read either specified files or try to find them in
FFOOD_INIPATH, which is empty by default
11 lat temu
Alois Mahdal
c81b21781c
Add -l option to warn() and think()
11 lat temu
Alois Mahdal
8b5c63aa01
Merge bug notes into README
11 lat temu
Alois Mahdal
00fbadba7d
Split long comments
11 lat temu
Alois Mahdal
d122519882
Add ability to print path to library init file
11 lat temu
Alois Mahdal
808a72a201
Add some paths to --version
11 lat temu
Alois Mahdal
3bfdd89af7
Add ability to print version info
11 lat temu
Alois Mahdal
b4826f26a4
Split-fork from qecc
All other files have been moved to *eecc* and whole qecc
history (~300 commits) has been squashed into this commit.
11 lat temu
Alois Mahdal
58aa6be577
Initial commit
11 lat temu