Alois Mahdal
6e128ebffd
Apply ShellCheck advice
9 years ago
Alois Mahdal
a59d6491e2
Fix and simplify kw/query code
Old code had problems with trailing space--which did not manifest itself
until now when I tried to use infix query (e.g. 'foo%sbar' would always
result in space after '%s').
Turns out that `read` with multiple variables splits the line just as we
need it with no extra leading/trailing junk.
9 years ago
Alois Mahdal
5f89128723
Fortify against missing parameters
If user does not provide mandatory parameter, `shift 2` will fail but
will not shift anything, resulting in infinite loop.
9 years ago
Alois Mahdal
3d428f5dbc
Update TFkit to v0.0.4
9 years ago
Alois Mahdal
da6c7f6cb6
Update Mkit to v0.0.1
9 years ago
Alois Mahdal
c825d0bbde
Use mkhelp to print help message
9 years ago
Alois Mahdal
afc1849ed2
Update .gitignore for new mkit
9 years ago
Alois Mahdal
f0e25b819a
Update mkit to version from fastfoo 0.7.0+master.gee9d709
9 years ago
Alois Mahdal
00d8bca55f
Move 'uba' to saturnin as new command: xuris
9 years ago
Alois Mahdal
9da376f256
Rename saturnin_common to saturnin_meta
The routines are all basically related to the meta-command functions.
9 years ago
Alois Mahdal
f80dd649d1
Update mkit to version from fastfoo 0.7.0+master.g7e6e358
9 years ago
Alois Mahdal
37d9ce75ab
Update TFKit to version v0.0.3
9 years ago
Alois Mahdal
3c090e3d53
Update TFKit to v0.0.2
9 years ago
Alois Mahdal
6fc6ce31d7
Rename saturnin-www to saturnin-uris
9 years ago
Alois Mahdal
04dfabd117
Move inigrep prefix setting to saturnin-www
9 years ago
Alois Mahdal
c2b98de96a
Pre-pend public routine
9 years ago
Alois Mahdal
1c7528ff0b
Remove excess lines
9 years ago
Alois Mahdal
8e0518916e
Sort alphabetically
9 years ago
Alois Mahdal
e3c8f75b93
merge converters into filters
9 years ago
Alois Mahdal
033b3902a7
Use more convenient routine and file names
Make them shorter but also sortable (ie. 'conv' for converters, 'flt'
for filters.)
9 years ago
Alois Mahdal
949fabac52
Use qualified function names
9 years ago
Alois Mahdal
76ff9bc658
Rename magic URI scanning module
9 years ago
Alois Mahdal
e4c07d4d3c
Remove obsolete tfkit.mk
9 years ago
Alois Mahdal
256d6f51f7
Allow overriding generator, selector and consumer on command line
Allow overriding each of the essential parts at CLI, in which case do
not load them from INI.
9 years ago
Alois Mahdal
f62beee810
Update to new tfkit (g122272a)
9 years ago
Alois Mahdal
b70544ba19
Update tfkit from Fastfoo 0.7.0+master.g8c72a9c
9 years ago
Alois Mahdal
1676434acb
Update mkit from Fastfoo 0.7.0+master.g8c72a9c
9 years ago
Alois Mahdal
78d51c25a3
Simplify command validation and help
9 years ago
Alois Mahdal
a6d548ce10
Remove unused internal hooking code
9 years ago
Alois Mahdal
0820809492
Use common hook mechanism for logging and status change announcing
9 years ago
Alois Mahdal
d4b9abeaaf
Add new 'menu' sub-command
New command allows to define flexible menus in INI files.
Single INI root now contains all menu definitons. Each menu consists of
item generator, selector and consumer, which are checked and chained
together.
Alternatively to specifying a generator, items can be listed right in
the INI section.
9 years ago
Alois Mahdal
a13a0c9ee1
Do not wrap every subcommand
Sub-commands in libexec must use saturnin_wraphook if they want pre/post
hook, or may use saturnin_runhook to run their own hooks as they wish.
9 years ago
Alois Mahdal
cf82cfa5f1
Move pre-post-hook wrapping code to a routine
9 years ago
Alois Mahdal
6abb8c6621
Move common saturnin routines to a module
This module is intended to be moved around with saturnin, but unlike
main meta-command (bin/saturnin.skel), it should not be necessary to
rename it or edit to adapt to new project.
9 years ago
Alois Mahdal
066c22b204
Fortify hook routine
Add checks for syntax errors and missing SATURNIN_SUBCOMMAND. In both
cases, ignore the hook.
9 years ago
Alois Mahdal
89b98a72f9
Update forgotten layout setting command
9 years ago
Alois Mahdal
c80c7d4a00
Use inigrep__mkpath to assemble FFOO_INIGREP_PATH
Minimize the "built part" and code repetition among saturnin "clones".
9 years ago
Alois Mahdal
ad3a74047a
Move colon delimiting to generator
9 years ago
Alois Mahdal
10281e34c2
Fix argument debug
9 years ago
Alois Mahdal
e138ad678b
Add query subcommand (only is_muted supported so far)
9 years ago
Alois Mahdal
a1d856c956
Avoid using multi-line values for style items
9 years ago
Alois Mahdal
1303a48cfa
Add internal (plumbing) ffrun wrapper
To allow for experimenting with functions from embedded library.
9 years ago
Alois Mahdal
7f630aeb92
Add internal (plumbing) commands from ffoom
This should help test and manage embedded Fastfoo library
9 years ago
Alois Mahdal
b2eb405f21
Fix confusing docstring
9 years ago
Alois Mahdal
4494cc4dad
Move clip selection to separate function
9 years ago
Alois Mahdal
78d5768ed8
Merge mkusage calls
mkusage exits by default so it's intended to exist as one call per
process only.
9 years ago
Alois Mahdal
3d7aab77f2
Port to ffoo v0.8: usage_is renamed
9 years ago
Alois Mahdal
47bfddf9f3
Port to ffoo v0.8: config.sh renamed
9 years ago
Alois Mahdal
98da2f27f8
Fall back to default mode if not specified in INI
If for certaiun group a mode is not specified, fall back to
a value inhertited from environment, or eventually to 644.
9 years ago
Alois Mahdal
8aa0b33a9e
Add bash completion module
9 years ago