summaryrefslogtreecommitdiff
path: root/src/internal
AgeCommit message (Collapse)AuthorFilesLines
2018-08-04driver, library interfaces: support alternate fd's for input/output/error/log.midipix1-0/+43
2018-07-14driver: argv usage and error output: use the signal-resilient sfrt_dprintf().midipix2-0/+5
2018-07-14internals: added sfrt_dprintf(), a signal-resilient dprintf implementation.midipix2-0/+62
2018-07-14argv.h: output usage and errors using [argv_]dprintf rather than fprint.midipix1-36/+42
2018-07-14argv.h: argv_get(): be consistent between forward decl. and impl.midipix1-1/+1
2018-07-14argv.h: move definition of struct argv_meta_impl to the implementation block.midipix1-6/+6
2018-05-23argv.h: whitespace meditation.midipix1-5/+9
2018-05-23argv: argv_scan(): properly handle optional argument values of short options.midipix1-0/+2
2017-02-04annual chores.midipix1-1/+1
2016-12-26argv.h: struct argv_ctx: .unitidx and .erridx are set via pointer arithmetic.midipix1-2/+2
2016-12-25argv.h: use an option vector rather than a direct pointer to the option table.midipix2-31/+54
2016-11-26argv.h: error code path: remove unneeded if statement (always true).midipix1-5/+2
2016-10-25struct sfrt_unit_ctx: removed cctx (pass pointer to driver context instead).midipix1-1/+0
2016-10-25driver: internals: error trace support: added sfrt_driver_set_ectx().midipix1-0/+12
2016-10-25internals: error trace implementation: added sfrt_record_error().midipix2-0/+113
2016-10-25driver: internals: added the static inlined sfrt_get_driver_ictx() helper.midipix1-0/+13
2016-10-25driver: added initial error info vector and buffer allocation.midipix1-2/+8
2016-10-25argv.h: argv_usage(): use correct format for short option name in short mode.midipix1-1/+1
2016-08-01argv.h: error message formatting: handle lonely long options.midipix1-12/+17
2016-07-28argv.h: no need to #include <errno.h>midipix1-1/+0
2016-06-25utility: added sfrt_main() as a public interface, refactored accordingly.midipix1-1/+0
2016-05-06argv.h: argv_show_status(): mark unused parameter.midipix1-0/+2
2016-05-01argv.h: usage screen generator: use the 'file' parameter rather than 'stdout'.midipix1-8/+8
2016-05-01argv.h: usage screen generator: added basic paradigm support.midipix1-1/+9
2016-05-01argv.h: usage screen generator: add colors.midipix1-0/+21
2016-05-01argv.h: simplified usage screen generator: initial implementation.midipix1-0/+135
2016-05-01argv.h: usage screen generator: remove the paradigm-supporting implementation.midipix1-331/+0
The idea was nice, the functionality was helpful for development, yet the resulting layout and overall appearance were rather awful. Regardless of the effort that was put into this sophisticated flavor of the usage screen generator, and despite it's utility for debugging, it is now being replaced with a simpler, two-field-only variant.
2016-03-15argv.h: usage screen generator: fix typesetting of spanning paradigms.midipix1-6/+25
2016-03-08argv.h: test for ARGV_OPTION_HYBRID_ONLY before accepting arg-less options.midipix1-3/+3
2016-03-08argv.h: add the missing ARGV_OPTION_HYBRID_ONLY to ARGV_OPTION_HYBRID_SWITCH.midipix1-1/+2
2016-03-06argv.h: usage screen generator: fix notation of purely hybrid options.midipix1-3/+13
2016-03-06argv.h: usage screen generator: give <argname> priority over <paradigm>.midipix1-14/+14
2016-03-04argv.h: argv_scan(): report argv index of first unit and first error (if any).midipix1-3/+12
2016-03-03argv_scan(): rename a shadowing automatic variable.midipix1-26/+26
2016-02-14argv.h: argv_get(): add missing initializer (ctx.program).midipix1-1/+1
2016-01-11argv.h: reluctantly add ARGV_OPTION_HYBRID_JOINED support.midipix1-9/+17
2016-01-10utility: add forward declaration of sofort_main().midipix1-0/+1
2016-01-10driver: move to header extern declaration of sfrt_default_options[].midipix1-0/+3
2016-01-10argv.h: main(): fix signatures.midipix1-9/+9
2016-01-06argv.h: hybrid option switches: support comma-based value assignment.midipix1-10/+26
2016-01-04annual chores.midipix1-1/+1
2016-01-03argv.h: fix ARGV_OPTARG_OPTIONAL code path for long options.midipix1-10/+1
2016-01-03argv.h: add (harmlessly) missing 'else' in ARGV_OPTARG_OPTIONAL code path.midipix1-1/+1
2016-01-03argv.h: fix semantics of calloc() calls.midipix1-6/+8
2016-01-03argv.h: argv_show_error(): prefix illegal short options with a dash.midipix1-1/+1
2016-01-02argv.h: nitpick (code layout).midipix1-18/+54
2016-01-02argv.h: skip unavailable short/long option records with --help={short|long}.midipix1-0/+5
2016-01-01fix names of header-encapsulation macros.midipix1-2/+2
2016-01-01argv.h: add support for hybrid options (i.e. -std, -pipe).midipix1-6/+102
2015-12-31argv.h: rename ARGV_TAB to (the clearer) ARGV_TAB_WIDTH.midipix1-10/+10