Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
388 check-ins using file doc/attic/notes_actions.txt or doc/notes_actions.txt version 5951138096
2019-07-06
| ||
00:21 | cmdr::table - Bump to version 0.3 - Modified table output generator to trim trailing whitepace from all generated lines, per line. Leaf check-in: b191a41b17 user: aku tags: trunk | |
2017-09-12
| ||
17:24 | Bump cmdr::table to v0.2. The rewrite to the (no)header logic left the header row in the output, and now even colorized. Noted with the CM website generation, where these color control sequences leaked into HTML output. check-in: 972556826b user: aku tags: trunk | |
2017-09-02
| ||
21:21 | Additional tracing of command prefix resolution check-in: 7bf67db33e user: aku tags: trunk | |
2016-07-14
| ||
19:07 | Removed bogus file type tags from the diagram DSL definitions used by our figures check-in: e94123d354 user: aku tags: trunk | |
2016-06-30
| ||
06:07 | Bumped primary version to 1.2. Regenerated docs. check-in: 39c3c491d0 user: aku tags: cmdr-1-2, release, release-1-2, trunk, v1.2 | |
2016-06-29
| ||
07:54 | officers/private * Renamed 'ehandler' to intercept. Documented the change. Kept the old name around, deprecated it. * Renamed 'shandler' to custom-setup, and documented it. Extended the implementation to support a list of customizations, instead of a single. * Fixed handling of *prefix* for --help. Code wrongly extended the local copy of the block, instead of the root copy. Updated docs, change information. Regenerated the embedded docs. check-in: cabf535e47 user: aku tags: trunk | |
07:09 | cmdr::color - Add forgotten docs about new symbolic name. check-in: d1c012590f user: aku tags: trunk | |
07:04 | cmdr::color - Added standard symbolic color "heading", for use by cmdr::table. check-in: 8358279e61 user: aku tags: trunk | |
07:03 | cmdr::table - Documented the package. Added testsuite. Added more validation and introspection. Added TEApot metadata. check-in: 7acf8ff192 user: aku tags: trunk | |
2016-06-22
| ||
20:01 | Drop the todo marker about the fail-* commands from the changes document check-in: 24b3dc9ad2 user: aku tags: trunk | |
19:54 | Documented the new fail-* convenience commands for validation types. check-in: d24c736d84 user: aku tags: trunk | |
19:01 | Restructured the file hierarchy, sorted the package files into related groups. check-in: b09c92cbff user: aku tags: trunk | |
18:41 | Extended the integrated help system to declare a global option --help (-h, -?), inherited by all commands to provide their help. Updated the testsuite. check-in: 56a4c28f89 user: aku tags: trunk | |
05:50 | Updated copyright year, and regenerated the docs. check-in: d0ef9140a0 user: aku tags: trunk | |
05:47 | More documentation updates for coming release. check-in: 3cf8d6c96e user: aku tags: trunk | |
2015-11-04
| ||
22:37 | Prep work for an 1.2 release. Draft list of changes since 1.1 check-in: 76b7d37836 user: andreask tags: trunk | |
2015-11-03
| ||
17:27 | history - Added help for the entire ensemble. Version bumped to 0.2. check-in: eed0a736d5 user: andreask tags: trunk | |
2015-07-15
| ||
23:31 | Extended v-type "time" to accept positive integers as seconds in epoch, above iso8601 timestamps. Bumped to version 1.1 check-in: 1f24482658 user: andreask tags: trunk | |
23:30 | Fix comment ref to tested v-type check-in: 4251025187 user: andreask tags: trunk | |
23:29 | Clarify integer offset check-in: 85fb0a7a39 user: andreask tags: trunk | |
2015-07-14
| ||
03:59 | parameter - Added convenience command stop!". Bumped version to 1.6. check-in: 91942da7f1 user: aku tags: trunk | |
03:38 | Tweaked the in-source docs for "less" a bit. check-in: 83ac211042 user: aku tags: trunk | |
2015-07-09
| ||
19:12 | Extended cmdr with "table" utility package. check-in: 54065b631c user: andreask tags: trunk | |
04:04 | pager - Extended the module to run "less" with options allowing display of ANSI colors, and suppressing binary warning (due to such colors). check-in: 782638c0ff user: aku tags: trunk | |
2015-07-03
| ||
22:34 | Big set of 12 new validation types. These are facades/wrappers around the "valtype" snit validation types found in Tcllib (luhn, luhn5, verhoeff, gs1::ean13, iban, imei, isbn, usnpi, amex, visa, discover, mastercard). Documentation minimal, refers back to the Tcllib packages. Testsuites replicated here, under the general framework for VT testing. The facade code is fully generated based on the valtype name. The generator package is not documented (yet). check-in: 7d8a178853 user: andreask tags: trunk | |
05:30 | VT time::minute - Fixed documentation (2external, name of argument implied different type than actuually expected). check-in: 66bd654074 user: aku tags: trunk | |
05:26 | color - Updated the documentation. check-in: c82025d2d2 user: aku tags: trunk | |
05:21 | color - Modified "Apply" to distinguish calls with explicit empty string (EES) from those with no argument (NA). EES returns the string as is, whereas NA returns the requested low-level colorization instructions. Extended tests. Version bumped to 1.0.2. check-in: af5f3c47d7 user: aku tags: trunk | |
05:01 | Merge VT test work back to main line. check-in: dd4c6bd2ac user: aku tags: trunk | |
05:01 | Fix issues with time::minute validation. Added testsuite. Closed-Leaf check-in: 1e68d757fb user: aku tags: vtype-testing | |
04:37 | Flipped tests for weekday and year, were swapped. check-in: 0afbe6cc28 user: aku tags: vtype-testing | |
04:23 | Merged VT work from trunk and vt-minute. Updated bool/percent failure messages. check-in: dec47d85c3 user: aku tags: vtype-testing | |
04:20 | Expanded VT testing. check-in: c502011735 user: aku tags: vtype-testing | |
04:19 | Fixed missing trap clause needed for some inputs (number out of range) check-in: 8772a8cd12 user: aku tags: vtype-testing | |
04:18 | Fix comment typo check-in: 3505bed918 user: aku tags: vtype-testing | |
2015-07-02
| ||
21:53 | New validation type, time as (hour:)minute offset from midnight. Closed-Leaf check-in: a2015467df user: aku tags: vt-minute | |
2015-06-26
| ||
23:24 | Simplified approach to specification of custom messages. Command variants taking it as argument. Plus variants which leave out the intro containing parameter information (name, type). check-in: 3305575764 user: andreask tags: trunk | |
21:58 | Design mistake --- Closing --- Extended handling of "fail-unknown-thing" (fut) with hooks allowing this general code to ask for custom messaging. Directly from the parameter, indirectly from the validation type. Whose "validate" method is where "fail-unknown-thing" got called from. Which means that we have a possible alternative solution which does not go through such a convoluted circle: New convenience function, an extension of "fail-unknown-thing" which simply takes the custom message as a parameter. And we can write more functions of this type then, which take ranges, dicts, etc. and operate on these for rendering, or a possible user-choice to fix the bad value. Saving the current state before making a decision --- Trunk went forward with the alternate approach, see [3305575764]. Closed-Leaf check-in: 86ce9388c1 user: andreask tags: x-fut-acceptable | |
2015-05-14
| ||
19:59 | Merge version bumps properly. check-in: 5eecfc6338 user: andreask tags: vtype-testing | |
2015-05-12
| ||
22:15 | config, color - Bump version numbers, due to their recent changes. check-in: 4f21251865 user: aku tags: trunk | |
22:15 | config, color - Bump version numbers, due to their recent changes. check-in: af3a5cd7af user: aku tags: vtype-testing | |
22:04 | Updated to trunk (negative aliases) check-in: 93b8d83d4c user: aku tags: vtype-testing | |
22:03 | Merged work on negative aliases. check-in: 88c1cb79e5 user: aku tags: trunk | |
22:02 | Added docs for negative aliases. Closed-Leaf check-in: 21b94c7e50 user: aku tags: neg-aliases | |
21:53 | Added tests checking runtime handling of negative aliases. check-in: af44ad2581 user: aku tags: neg-aliases | |
2015-05-11
| ||
23:02 | Update expected test results. check-in: 5299cd1353 user: aku tags: neg-aliases | |
23:02 | Fix the guard conditions for negative aliases. check-in: 4eaa72578e user: aku tags: neg-aliases | |
23:01 | Fix overwrite of outer loop variable. check-in: 374d694490 user: aku tags: neg-aliases | |
22:28 | Merged trunk testsuite fixes. check-in: 5ae1694710 user: aku tags: neg-aliases | |
22:28 | Merged trunk testsuite fixes. check-in: 133579f38a user: aku tags: vtype-testing | |
22:27 | Really complete fixes for help testsuite. check-in: 868958ed6d user: aku tags: trunk | |
22:21 | Testing validation types, continued. check-in: 58cb0c6af7 user: aku tags: vtype-testing | |
2015-05-09
| ||
00:08 | Started on testsuite for validation types. Template for the common API signatures. check-in: 52969c8c6f user: andreask tags: vtype-testing | |
00:06 | Comment fixes check-in: ebdf8cc004 user: andreask tags: trunk | |
2015-05-08
| ||
22:37 | Complete the fixes to help testsuite. check-in: adefffc9e0 user: andreask tags: trunk | |
21:04 | Testsuite fixes, help output. Not fully fixed, only mostly. check-in: 6e5381c43c user: aku tags: trunk | |
20:27 | Fixed color testing. Plus tweaked color command to always validate codes, even when use is disabled. check-in: 1a8a4b4d23 user: aku tags: trunk | |
20:27 | Fix officer tests, new -- option. check-in: 00a6db24bb user: aku tags: trunk | |
00:17 | Begin support of negative/inverted aliases for boolean options. check-in: a09daa498b user: andreask tags: neg-aliases | |
2015-05-01
| ||
23:30 | Notes on current state and future directions to work on. Leaf check-in: 4c80a42e4d user: andreask tags: say-more | |
22:55 | New command for output to stderr, plus two higher-level helpers for headers and banners. check-in: 64bb90174f user: andreask tags: say-more | |
00:06 | Tweaked options for "operation" command, extended a bit, plus slider & larson animation classes. check-in: e250dbed44 user: andreask tags: say-more | |
2015-04-30
| ||
22:00 | More animations, extended the "operation" command with easy integration of animations, added examples. Added helper script "local" for easier execution of the examples without having cmdr::say installed. check-in: de4974db8f user: andreask tags: say-more | |
2015-04-22
| ||
21:42 | say - Start on tests, and extended package to support output redirection, making the tests easier. check-in: 2cc0a755b9 user: andreask tags: say-more | |
20:42 | Split the example file into many, and moved into the proper section. check-in: d1f3c1d5ee user: andreask tags: say-more | |
20:19 | Fix small issue, clear header in a multi-line prompt, this is a fixed part we must not redraw on retry under this new scheme. check-in: defa6f6ead user: andreask tags: say-more | |
20:13 | Worked the low-level output into the ask package as demo of use. Especially made the retry loops visually tighter (temp display of error on bad input, plus reuse of existing line for re-input, no redraw of fixed parts (headers, menu listings)). check-in: 4f4b8b9a82 user: andreask tags: say-more | |
2015-04-21
| ||
18:11 | Draft work on an output package for basic terminal control, and animations (like progress-bars, barber-poles, counters, etc.) check-in: faf4b58f8c user: andreask tags: say-more | |
2015-04-17
| ||
23:24 | history - Added missing docs. check-in: 860ef7cfb3 user: andreask tags: trunk | |
22:18 | Docs - Separate package version information from the project version number. Regenerated docs. check-in: c8ea7fb2f9 user: andreask tags: trunk | |
22:15 | pager, tty - Fix version numbers check-in: 3a3373bf88 user: andreask tags: trunk | |
07:05 | Updated copyright year and regenerated the docs. check-in: 04e9011d18 user: aku tags: trunk | |
07:03 | Pulled the new v-types and utilities into the trunk, making them official. check-in: 16b1fe812b user: aku tags: trunk | |
07:02 | Documented the new validation types and utility functions. Regenerated the embedded docs. Closed-Leaf check-in: 0c84afcd07 user: aku tags: more-vtypes | |
05:50 | Merge latest trunk changes (new docs). check-in: 534d48e23d user: aku tags: more-vtypes | |
05:47 | Bring new docs into the trunk. check-in: 6cf097e45a user: aku tags: trunk | |
05:44 | Regenerated embedded docs. Closed-Leaf check-in: db133a5866 user: aku tags: doc-expansion | |
01:51 | Completed new docs check-in: 57fc520fe4 user: andreask tags: doc-expansion | |
01:10 | Started to fill in the documentation for packages 'ask', 'color', 'tty', and 'pager' check-in: 912d950350 user: andreask tags: doc-expansion | |
2015-04-07
| ||
06:09 | Added utility function for substring matching. check-in: 11f8b42694 user: aku tags: more-vtypes | |
2015-03-28
| ||
02:21 | Fix year validation bug with misbehaving "clock scan" (more likely me misunderstanding it before) check-in: 75e8dc5ee8 user: aku tags: more-vtypes | |
2015-03-10
| ||
03:01 | Got fix for history check-in: a94ac7b701 user: aku tags: more-vtypes | |
2015-03-06
| ||
20:44 | Fix bug in history mgmt for a save-file in a directory. Ensure that the directory exists before writing/creating the file itself. check-in: 06c0827602 user: andreask tags: trunk | |
19:14 | And more vtypes: positive ints, years, and weekdays check-in: 307a15e657 user: aku tags: more-vtypes | |
19:13 | fixes (defaults, metadata) and extensions (2external) for date/time check-in: d993d2bda7 user: aku tags: more-vtypes | |
01:55 | Drafts of new validation types: iso8601 date/time values check-in: d7efe5a253 user: andreask tags: more-vtypes | |
01:54 | cmdr::actor - Fixed issue with -extend of common blocks. The extended block can be missing. Then the operation is a plain set. Bumped to version 1.3.1 check-in: c14bea9a61 user: andreask tags: trunk | |
2015-03-05
| ||
23:32 | Fixed typo in comment check-in: fe7c7e9c1f user: andreask tags: trunk | |
2014-11-27
| ||
21:54 | Bump version of cmdr::config. check-in: dbe4876a14 user: andreask tags: trunk | |
21:53 | Created a new reserved common block, *config*, in the root-actor. Used to convey the active instance of cmdr::config to parameter callbacks. This different from the definition config for global parameters. For regular parameters it is the same as found as the first argument of the callback. The active instance is needed when a global parameter interacts with regular ones of the active private. check-in: f121133cf2 user: andreask tags: trunk | |
2014-11-26
| ||
23:12 | Followup on [463519edc6]. Fixed missing handling of "arglabel" data in the json, tcl, and sql help formats. check-in: 9660d12cb0 user: andreask tags: trunk | |
2014-11-04
| ||
18:05 | cmdr::help - Prevent the space allocated to descriptions in the categorized help from getting to small. Negatives trigger an error in adjust, and anything below 10 will generate very short tall columns. Better to misformat (cut at terminal edge, or wrap-around) for these cases. Bumped version to 1.3.2. check-in: b64206b4e3 user: andreask tags: trunk | |
2014-10-08
| ||
21:13 | When printing config state, show parameter inheritance. Plus label now showing regular names, no titling. check-in: 7501cc673b user: andreask tags: trunk | |
2014-09-19
| ||
17:52 | cmdr::parameter - Utility DSL commands for easy locking (disallow) and trivial accss to siblings (touch, touch?). Semantic change for when-* hooks. Now storing a list and multiple when-set definitions accumulate. Tweaking locking error message to use better name of the locked parameter. check-in: 9fc3922163 user: andreask tags: trunk | |
2014-09-10
| ||
20:35 | Move handling of global option to before checking for a command. We can now enter a main shell with global options set. Bump version numbers. check-in: 2bfa8d5785 user: andreask tags: trunk | |
20:21 | Moved handling of option arguments in help to separate proc. Reworked the handling of global options to show arguments as well. Fixed sorting of section display when seeing options with arguments. check-in: f41f44de14 user: andreask tags: trunk | |
2014-08-29
| ||
20:19 | cmdr::parameter - Extended spec with description of option argument, if any. cmdr::help - Modified to make use of the new information in help texts. check-in: 463519edc6 user: andreask tags: trunk | |
05:07 | Tweaked output for help --full, added option arguments for options requiring them. check-in: 84658915a6 user: aku tags: trunk | |
2014-08-27
| ||
23:41 | Bump versions of cmdr::color and cmdr::ask to 1. Fixed a prompt issue in cmdr::ask::string*. Extended debug narrative regarding prompt handling. check-in: 9d0fa722e9 user: andreask tags: trunk | |
2014-08-26
| ||
20:56 | Fix another oops. check-in: db22847a09 user: andreask tags: trunk | |
19:58 | Fix oops. check-in: febbd538cd user: andreask tags: trunk | |
19:45 | Make handling of shared options official. check-in: fc97d9c23b user: andreask tags: trunk | |
19:45 | Updated help generation to show global options in categorized help. General update to handle officers now appearing in the help structures. Bumped version numbers. All parts done. Notes removed. Closed-Leaf check-in: f853a46223 user: andreask tags: global-options | |
00:11 | Bumped version number of the changed packages. Started on help. First, excluded imported parameters from help. check-in: 9a37e9fade user: andreask tags: global-options | |
2014-08-25
| ||
23:08 | Merge fixes from trunk. check-in: 7d15626394 user: andreask tags: global-options | |
2014-08-22
| ||
23:22 | Added processing of options to officers. Note that this needs an updated tokenizer from Tcllib. Otherwise the main shell will treat cmd options as options of the tokenizer procedure itself, which breaks it. Help handling and generation is the only TODO left. check-in: 3230322f4d user: andreask tags: global-options | |
2014-08-21
| ||
01:49 | Fix handling of *all*. Ignoring a missing definition is ok. Ignoring all other specification errors it may generate is not. check-in: 9159f68bc3 user: andreask tags: trunk | |
01:29 | Started implementation of "global" options (and state) associated with officers and inherited to subordinates. Another way of sharing common options (like --debug, --trace, and the like) without cluttering command definitions via *all*. This commit has the specification changes done. Not yet done are recognition during cmdline processing, nor the needed changes to get uncluttered help output, nor the extended help output for officers. check-in: d1d45c1de3 user: andreask tags: global-options | |
2014-08-15
| ||
23:58 | Fixed varname typo in the error handling for escape code definitions. Plus extension of the general colorization command to allow use without a text. This simply returns the control characters. check-in: 509f2d765f user: andreask tags: trunk | |
17:55 | Fix left-over oops. check-in: 6e34f0dec4 user: aku tags: trunk | |
17:52 | Extended color definition code with recognition of symbolic escape code sequences. check-in: 4d0064e1b1 user: aku tags: trunk | |
2014-06-17
| ||
18:27 | cmdr::config - Fix long-standing bug in forced parameter value calculation (method 'Force'). Any error in the calculations left the flag 'myinforce' set, causing a future invokation to believe to be in a recursive call and do nothing. While this had no effect on regular operation, i.e. where the using application exits after the command, in interactive mode this disabled checks and validations for the command in question, and also retained old parameter values. Fixed by putting a try/finally around the section, resetting the flag even in the presence of errors thrown by it. cmdr::config version bumped to 1.1.1. check-in: f74095b252 user: andreask tags: trunk | |
2014-06-03
| ||
20:40 | cmdr::help, cmdr::pager - Moved the paging support into a separate package, for use outside of the help code. Functiomnality tweak: Linenoise not supporting querying the height does not disable paging, just goes with a default height. check-in: ff5bdec2ca user: andreask tags: trunk | |
00:24 | cmdr::help - Added option to forcibly disable the pager. check-in: a52e457615 user: andreask tags: trunk | |
00:19 | Fix stupid typo in definition of the Pager support command. check-in: d4b3af213d user: andreask tags: trunk | |
00:16 | cmdr::help - Extended the backend to invoke a pager if the help is too high for the terminal. Lots of things (not terminal, no support in linenoise, no pager) will disable this. Bumped version to 1.3. check-in: e15928b830 user: andreask tags: trunk | |
2014-05-28
| ||
23:33 | cmdr::actor, cmdr::officer - Fix bug introduced with revision [7ab77ead21]. The option handling added to "actor::set" in that revision means that the command "my set *command* ..." storing the actual command line (i.e. user information) can break, trying to interpret application specific option information as something for the internal command. Fixed by adding "--" to "actor::set"s option handling, and using it for the breakable command to force interpretation of the user data as such. check-in: cd7539eb28 user: andreask tags: trunk | |
2014-05-26
| ||
17:19 | cmdr::color - Need -prefixes 0 to avoid name/names clash. check-in: 27ba981e40 user: aku tags: trunk | |
2014-05-23
| ||
22:08 | cmdr::ask - Added basic testsuite. More requires a linenoise mockup to prevent actual interaction while exercising the command implementation. check-in: 2fa5347d94 user: andreask tags: trunk | |
21:51 | cmdr::ask - Fixed a syntax problem. Fixed scope issue (string command). Tweaked the prompt setup. Plus example apps (also for interactive testing). check-in: 1eeef53431 user: andreask tags: trunk | |
20:42 | cmdr::ask - Reactivated color support. No tests yet. check-in: 0c33d13e6e user: andreask tags: trunk | |
07:13 | cmdr::color - Fixed issues, expanded functionality, better checking. Plus testsuite. check-in: ddd5e520dd user: aku tags: trunk | |
06:19 | cmdr::tty - Fixed package provision typo, plus testsuite for same. check-in: e8bf343c87 user: aku tags: trunk | |
06:17 | Brought tests uptodate regarding the recent code extensions and changes. check-in: b35f9a1c77 user: aku tags: trunk | |
06:17 | cmdr::actor - Better error message for "set" check-in: abd6c63e65 user: aku tags: trunk | |
00:30 | Pulled some stackato-cli utility packages into cmdr, incomplete work (tty, color, simple interaction) check-in: 7104561dd4 user: andreask tags: trunk | |
2014-05-21
| ||
06:44 | cmdr::parameter - Fix use of wrong variable in ValueRelease, use argument, not instance variable. check-in: 623a3ff06b user: aku tags: trunk | |
06:38 | cmdr::actor - Fixed typo in error message check-in: a62b20fe7b user: aku tags: trunk | |
2014-05-16
| ||
00:46 | Moved to "mistake". This requires more thought. At issue is that the "recently" made validation types "wchan" and "rwchan" generate externally visible changes as part of their creation of the internal representation. Namely, they create a file. This is problematic as in some situations the VT is called on to simply check if the input is ok, and nothing more. And while the code path in question does call on the "release" method of the VT to cleanup the internal rep the external side-effect remains. The change here went with extending "release" to allow it to undo the external effect as well, on request. This then requires determining when to do that, and when not. And that is difficult as the same APIs are used internally and given to the user. A better path might be to change the VT API. For compatibility we cannot change "validate", it has to keep doing validation + conversion. New methods would be required for each of the two parts. Then the framework can defer the creation of the int. rep until the last possible moment, i.e. when the user needs it. While the other places only requiring validation limit themselves to that, and no side-effects, in- or outside of memory. ---- Extended the std validation types to support an undo flag for their release method. Closed-Leaf check-in: 0be2930b72 user: andreask tags: mistake | |
00:44 | Fix inadvertent split of trunk check-in: 8ff369076f user: andreask tags: trunk | |
00:29 | cmdr::actor - New feature "common -extend", enabling extension of a block instead of overwriting it. check-in: 7ab77ead21 user: aku tags: trunk | |
2014-05-07
| ||
21:58 | cmdr::validate (rpath) - Fixed bug in the path check. Removed bogus test for directory. This VT accepts files too. Bumped to version 1.3.1. check-in: e7ed76dd06 user: andreask tags: trunk | |
2014-05-05
| ||
18:52 | cmdr::help::json, cmdr::help::tcl - Fixed handling of category with sub-categories, but no commands. Bumped to version 1.0.1. check-in: b5c4809789 user: andreask tags: trunk | |
2014-04-23
| ||
05:39 | Move the p-name helper command of validate::common into the parameter class, as a convenience method. check-in: 288c34780b user: aku tags: trunk | |
2014-04-22
| ||
06:56 | Merged branch back, making the channel v-types official. check-in: c7a27f1422 user: aku tags: trunk | |
06:55 | Merged trunk extensions. Closed-Leaf check-in: 6163942da7 user: aku tags: more-vtypes | |
2014-04-16
| ||
19:46 | cmdr::validate::common - Added commands to generate more specific error messages, while still general - From stackato client. Bumped version to 1.2. check-in: 8e18e110df user: andreask tags: trunk | |
2014-04-15
| ||
21:04 | Fixed multi-section help setup of the limit command. check-in: abb1eb8115 user: andreask tags: trunk | |
20:45 | Tweaks to the history mgmt: Documented semantics of limits. Nicer output on changes and current. Allow application to overide initial default limits. Ensure saving of initial limits on first use. check-in: 16470ccbc4 user: andreask tags: trunk | |
19:56 | Cross-reference usage of *prefix* in actors. Extended actor base to allow complete clearance of a common block along a chain of actors up to the root. check-in: 576b7640c7 user: andreask tags: trunk | |
19:42 | Added hooks for history mgmt, plus helper package to the system. Known issue: *prefix* handling for recursion (aliases). check-in: 639bdf2ae3 user: andreask tags: trunk | |
19:30 | help - Switched to method "extend" over "learn" to define the command, simpler. check-in: 4add0ceabc user: andreask tags: trunk | |
19:27 | Hide docs from kettle's scanner for Tcl packages. check-in: 8a156a1311 user: andreask tags: trunk | |
2014-03-13
| ||
20:04 | cmdr::validate - Tweaked the "integer" validation type to use decimal as internal representation, as we accept octal and hex as external strings. check-in: 47da046a26 user: andreask tags: trunk | |
18:36 | cmdr::validate - Replaced all uses of "OkDir" with the shared "ok-directory". Changed the "rw*" types to allow missing file/dir/path like the "w*" types.. Fixed the fail messages for "wfile" and "wchan". check-in: 62fbd92a1b user: andreask tags: more-vtypes | |
18:34 | cmdr::validate::common - Consolidated multiple copies of "OkDir" in cmdr::validate into a single shared helper command "ok-directory". check-in: e7f547d6aa user: andreask tags: more-vtypes | |
2014-02-19
| ||
20:20 | officer - Extended class to accept the unique prefixes of the known command names for dispatch. check-in: 434ada2661 user: andreask tags: trunk | |
19:39 | Modified the checks for wfile/wchan to allow non-existing files which can be created (per permissions). check-in: 9ab661bcd1 user: andreask tags: more-vtypes | |
19:11 | Draft code for additional vtypes: Paths, with appropriate open channels as internal rep. check-in: 209bf08a86 user: aku tags: more-vtypes | |
2014-02-17
| ||
23:29 | Excluded auto-added commands from categorized help. check-in: 7e77c5a0be user: andreask tags: trunk | |
20:20 | Tweak to default format selection of help, use "short" for interior nodes. check-in: ac17c7fb74 user: andreask tags: trunk | |
20:19 | Extended debug narrative at method returns. check-in: c6dc11d2a1 user: andreask tags: trunk | |
2014-02-13
| ||
05:39 | Extended the set of common validation types, added "percent" (double limited to [0,100]). Updated documentation. check-in: 49d0a10137 user: aku tags: trunk | |
2014-02-12
| ||
23:29 | Extended the set of common validation types, added "double". Bumped cmdr::validate to 1.2 check-in: c843b9c1dd user: andreask tags: trunk | |
2014-02-07
| ||
20:39 | Rename "_find" to "internal_find" instead of diddling with export. check-in: a2da845671 user: andreask tags: cmdr-1-1, release, release-1-1, trunk, v1.1 | |
18:23 | Oops. Have to export method "_find" for proper operation (in the recursion). check-in: 98315e9657 user: andreask tags: trunk | |
2014-02-06
| ||
18:35 | Regenerated embedded docs. check-in: 2659fd6b13 user: aku tags: trunk | |
18:05 | Updated the changes information in the documentation. check-in: 9e34d9687a user: andreask tags: trunk | |
17:39 | Bumped to version 1.1 check-in: a109f26338 user: andreask tags: trunk | |
17:39 | Fixed issue in previous commit. New code failed to take a possible empty path into account. check-in: 8117b3db5e user: andreask tags: trunk | |
06:18 | Remade "help::query-actor" as method "find" of officers and private. Simplified the internals of auto-help. Provides the path lookup to framework users as well. Updated the documentation. check-in: 5487358492 user: aku tags: trunk | |
06:00 | Updated tests to match the new auto-exit command. check-in: 48291542b3 user: aku tags: trunk | |
05:35 | Added utility package cmdr::help::tcl, dumping the help as Tcl data structure. Like cmdr::help::json, with less overhead to read into other Tcl code. check-in: 865912b8d9 user: aku tags: trunk | |
05:05 | Fixed problems with the generation of categorized help when encountering sections with sub-sections, but no commands check-in: 11fff41159 user: aku tags: trunk | |
05:04 | officer - Modified method extend to return the new command instance, for dynamic re-configuration post-creation. check-in: 7fc0be3870 user: aku tags: trunk | |
2014-01-30
| ||
18:09 | Fixed command scope problems in "extend". check-in: f1bb89c324 user: andreask tags: trunk | |
18:09 | Fixed missing initialization in the main help generator. check-in: 3a146bdf51 user: andreask tags: trunk | |
2014-01-13
| ||
21:03 | Fixed buglet in the help setup. Add the main (root) name to the command prefix when not in a cli shell. Bumped cmdr::help to version 1.0.1. check-in: 60dbdef1b0 user: andreask tags: trunk | |
2013-12-18
| ||
20:29 | Fix broken requirements cmdr::help::json and *::sql. Were not updated to v1. check-in: d46922cc52 user: andreask tags: trunk | |
2013-12-02
| ||
17:44 | Version bumped to 1.0. Regenerated docs. check-in: 2e15301ff5 user: aku tags: cmdr-1-0, release, release-1-0, trunk, v1.0 | |
2013-11-30
| ||
02:34 | Regenerated embedded docs. check-in: e0642cf6ae user: aku tags: trunk | |
2013-11-29
| ||
19:36 | Added early mention and reference to custom validation types and help formats to the main intro check-in: 1a9bcfb664 user: andreask tags: trunk | |
06:41 | Image tweak, regenerated embedded. check-in: f244dccfb4 user: aku tags: trunk | |
2013-11-28
| ||
23:59 | Link from intro to dsl intro, starting the chain through dsl and flow. check-in: 4e1cb948ac user: andreask tags: trunk | |
22:35 | Moved old docs into an attic. Completed the todos, except very minor parts. Includes backend example, reserved blocks. Added, completed DSL informaton, mainly where to find them, and how DSL commands map to methods. check-in: eed0701b51 user: andreask tags: trunk | |
19:21 | Added docs for the flow at runtime. Documented some of the reserved common blocks. check-in: 6b1f531bbb user: andreask tags: trunk | |
05:39 | Another round of tweaking labels for nicer sorting. check-in: df97aa496f user: aku tags: trunk | |
05:23 | Moved document labeling (for toc, and sorting it) into definition. Tweaked labels to put internals at the end, intro and such at the top. Regenerated embedded docs. check-in: 15ea908829 user: aku tags: trunk | |
04:16 | Fixed help docs. Completed sequence figures, command-completion docs. check-in: 3359a9b2c8 user: aku tags: trunk | |
2013-11-27
| ||
19:23 | Extended information about help formats and how to write them. Documented the DSL "section" command. check-in: f30dbe0098 user: andreask tags: trunk | |
18:25 | Added back-references from packages to the devguide for command-line completion. check-in: f7695638e8 user: andreask tags: trunk | |
07:55 | Continued the dev-guide in general, and completion internals in particular. Added draft diagram code for sequence diagrams. Snarfed from my 2012 kinetcl paper. Has to be modded for the completions. Todo: Document standard help formats, and how to write formats. Todo: Back-reference from the package docs to the completion internals. check-in: 5a6408a944 user: aku tags: trunk | |
01:15 | Draft work on internal workings of the command line completion. check-in: a1c106f24e user: andreask tags: trunk | |
2013-11-26
| ||
05:34 | Tweaked documented titles for better marking of internals. Fixed a few issues with validation types, mainly shuffling text blocks around, plus fix in API documentation. check-in: dbd259771b user: aku tags: trunk | |
05:17 | Continued work on the dev guide. Complete architecture and package dependency information. Regenerated figures and embedded documentation. check-in: e33e0f5b2d user: aku tags: trunk | |
00:32 | Continued documentation work, first fillings for the dev-guide, more figures. check-in: 172951e9a3 user: andreask tags: trunk | |
2013-11-22
| ||
20:52 | Modified officers. Auto-create an 'exit'-command, if not in conflict with user commands. Method as backend for private. Usable by others as well. Bumped version to 0.14. check-in: 8d7fcadf53 user: andreask tags: trunk | |
2013-11-17
| ||
01:01 | Added a behaviour flag "no-promote" to parameters, to allow rejection of promotion of unknown flag strings to input values on principle. Bumped version to 0.13, updated embedded documentation. check-in: b9126a7a27 user: aku tags: trunk | |
2013-11-16
| ||
23:15 | Moved dictsort utility into util for wider use. Sort parts of the help structures for easier testing. Fixed bugs in the help generation (1) Skip imported helper commands which are not formats. (2) Rendering of list inputs was off. -- Bumped version to 0.12, help (json, sql) to 0.2, fixed requirements -- Updated embedded documentation. check-in: 0ed8f3610b user: aku tags: trunk | |
2013-11-15
| ||
23:10 | Extended the shells to note their activity in a root common block named *in-shell*. Bumped version to 0.11. check-in: 5a480bf9d8 user: andreask tags: trunk | |
07:41 | Completed the split of the DSL documents. Regenerated the embedded docs. check-in: b7d756fe00 user: aku tags: trunk | |
00:51 | Split the large DSL document into several smaller pieces: introduction, officer, private, parameter check-in: daa000e429 user: andreask tags: trunk | |
00:31 | Updated embedded documentation check-in: 9223d03cfb user: aku tags: trunk | |
2013-11-14
| ||
23:37 | DSL docs mostly complete. Still possible to split into multiple documents. Still to do related docs on execution flow. check-in: df9e5b0c47 user: andreask tags: trunk | |
20:06 | Outline of the DSL docs, plus fixing up the references to it. check-in: cf3f9e2ff9 user: andreask tags: trunk | |
17:45 | Fixed missing module description (config setting) check-in: 39b36bc1a3 user: andreask tags: trunk | |
17:27 | Updated embedded documentation check-in: 53634ad6ba user: aku tags: trunk | |
2013-11-13
| ||
23:33 | Filled in the main package documentation (framework entrypoint) check-in: 5e924d81b9 user: andreask tags: trunk | |
22:44 | Filled the officer documentation, and tweaked privates a bit. check-in: 65c018615d user: andreask tags: trunk | |
2013-11-05
| ||
05:55 | Updated embedded documentation check-in: ca14a9b8c1 user: aku tags: trunk | |
00:40 | Another placeholder, for the DSL spec, and filled out actor reference check-in: 67f83ccddb user: andreask tags: trunk | |
2013-11-04
| ||
22:45 | Moved all title setup into definitions. check-in: d1574f44fb user: andreask tags: trunk | |
22:45 | Added placeholders for missing reference docs check-in: 89659bfd6c user: andreask tags: trunk | |
22:44 | Filled out docs for cmdr::config check-in: 2bb154df7f user: andreask tags: trunk | |
17:38 | Reworked the interaction for entry of scalar, and general calculation of the value - Show validation error message for proper feedback - Trap ^C properly, as done for the list-case already. Scalar was forgotten. - Report the ^C as 'undefined value' - Remember the undefined-ness and have additional attempts to retrieve the value abort early This prevents retries of computing the value where we cannot succeed. It also prevents additional attempts at interaction. Bumped version to 0.10. check-in: d2a2bc511f user: andreask tags: trunk | |
2013-11-03
| ||
07:18 | Updated embedded documentation check-in: b4bc5bcb6e user: aku tags: trunk | |
2013-11-01
| ||
22:52 | Near completed parameter documentation. check-in: c1ba65f517 user: andreask tags: trunk | |
2013-10-31
| ||
23:22 | Start the parameter documentation check-in: fc5d203228 user: andreask tags: trunk | |
00:48 | Fix oops, forgotten update of by-category for the new helper procedures. check-in: 0a71af63c2 user: andreask tags: trunk, v0.9 | |
00:43 | Extended the json format with better section information, and outer structure. Version bumped to 0.9 check-in: a190c9c157 user: andreask tags: trunk | |
2013-10-29
| ||
16:31 | Incomplete [d04e732ab1], extended the config, missed the help code :(. Now fixed. check-in: f453a7ed65 user: andreask tags: trunk, v0.8 | |
05:45 | Bumped package versions to 0.8 check-in: a0fad5ad9d user: aku tags: trunk | |
05:44 | Extended the json help format with a map "opt2para" from options to controlling parameter (name to name). check-in: d04e732ab1 user: aku tags: trunk | |
05:40 | Put section information into the json format. check-in: c0c62eb8c0 user: aku tags: trunk | |
05:35 | Regenerated embedded documentation. check-in: 828eb35b6d user: aku tags: trunk | |
2013-10-25
| ||
23:24 | Mostly done documentation of cmdr::private. check-in: 807f15f3f9 user: andreask tags: trunk | |
18:24 | Filled out docs for validation types. check-in: fbca18b815 user: andreask tags: trunk | |
00:20 | Started to fill in validation type documentation. check-in: 6f2d2b4c21 user: andreask tags: trunk | |
00:19 | Properly export the path validation types. check-in: 745978d8ff user: andreask tags: trunk | |
2013-10-23
| ||
04:58 | Added first manpages, for the utility packages (util, vcommon, help*). check-in: b1fbdec2c5 user: aku tags: trunk | |
2013-10-21
| ||
21:55 | Continued filling out the cmdr requirements. check-in: 4bacb86a2f user: andreask tags: trunk | |
21:36 | Filled out the basic changelog, and extended the set of requirements. check-in: 714b81acaf user: andreask tags: trunk | |
21:07 | Outline of cmdr documentation, generated via kettle's experimental doc-templating branch/work. check-in: 1dd5f2baba user: andreask tags: trunk | |
2013-10-18
| ||
18:32 | Added kettle repository references to the build code. check-in: 3ffaa05e81 user: andreask tags: trunk | |
00:30 | Bumped cmdr version to 0.7 check-in: b2ff231a4e user: andreask tags: trunk | |
00:30 | Fix internal help usage, bug due to internal API change by [465f1bd7c6] and not updating all users. check-in: 3e6bd33d6d user: andreask tags: trunk | |
2013-10-17
| ||
18:17 | Bumped cmdr version to 0.6 check-in: e3e822290d user: andreask tags: trunk | |
18:16 | Tweaked the formatting of arguments in the generated help. check-in: fe780034dd user: andreask tags: trunk | |
2013-10-16
| ||
19:21 | Bumped cmdr version to 0.5 check-in: 41becb3194 user: andreask tags: trunk | |
19:20 | Extended DSL for privates with command to record category/section information for help. Extended the help system with a by-category format, and made it default when not looking for a specific command. ATTENTION: The API between help core and formats did change, the root actor of the command tree is now supplied. New common block *category-order* to declare a bespoke ordering of categories. check-in: 465f1bd7c6 user: andreask tags: trunk | |
17:06 | Fixed bug in lappend for common blocks. Was not appending, but overwriting with last :( check-in: e8833211e0 user: andreask tags: trunk | |
2013-10-15
| ||
23:46 | Tweaked the auto-help command. Default to full format only when asking for a specific command, otherwise default to a simple list. check-in: f4a5130c2e user: andreask tags: trunk | |
2013-09-23
| ||
20:11 | Added missing normalization of boolean values by its validation type. check-in: fa1b9689aa user: andreask tags: trunk | |
2013-09-18
| ||
19:24 | Tweaked help system. Added option "--width" enabling explicit control of the line width to format for. Default via "linenoise columns". check-in: b53665eee8 user: andreask tags: trunk | |
2013-09-17
| ||
23:18 | Tweaked validation type helper command to generate clearer message for validation failures. Better identification of the parameter in question. check-in: 54ae0a4ee3 user: andreask tags: trunk | |
2013-09-10
| ||
21:38 | Fixed json and sql help generators, forgot to handle the new "label" key. check-in: 5c4cf3822c user: andreask tags: trunk | |
2013-08-30
| ||
01:12 | Added help information to errors raised during parameter parsing. 4 failed tests to update. check-in: 5c83ebcb90 user: andreask tags: trunk | |
00:37 | Fix conflict between officer::has for declared methods, and actor::has for common blocks. Now actor::exists check-in: 5f22774081 user: andreask tags: trunk | |
00:04 | Renamed internally used common blocks. Moved to reserved names. check-in: f4c89fd980 user: andreask tags: trunk | |
2013-08-29
| ||
05:38 | Fix comment typo, and use label for primary flag of options. check-in: 940bb8fdb8 user: aku tags: trunk | |
05:34 | Fix forgotten internal use of when-set (callback signature change). check-in: 1b16ff6c0f user: aku tags: trunk | |
05:32 | Fix missing initialization in help generator. check-in: ead056f602 user: aku tags: trunk | |
2013-08-23
| ||
18:52 | New feature: Parameter labels, override name shown in help. Plus new config method to query parameter existence. check-in: da6a48c70d user: andreask tags: trunk | |
2013-08-22
| ||
20:51 | Make config self available through method, in both config, and the parameter forwarder. check-in: 4ddbb882ce user: andreask tags: conference, trunk, v0.4 | |
2013-08-21
| ||
21:10 | Dropped parameter class method "undefined", replaced by instance method "undefined!". Make parameter self available through method. check-in: 858270adbc user: andreask tags: trunk | |
20:04 | Bump version to 0.4. Parameter API changes. * "defined?" becomes "set?". * "when-defined" becomes "when-complete". * The "default" value is now handled as int.rep, not going through validation. (Like the result of the "generate" callback). * Updated validation type "default" to always provide something. * Standard VT fail now takes parameter instance command as first argument (see also below about callbacks), and uses it to generate an enhanced error message (naming the parameter at issue). Callback API changes. * All callbacks now take the parameter instance command as their first argument. * Removed the (class)methods to dynamically locate and access a innermost config instance on the stack. * As replacement added method "config" to make the container accessible from each parameter it contains, and thus all other parameters as well. * Update all validation types. check-in: abe9e7a804 user: andreask tags: trunk | |
2013-08-07
| ||
20:26 | Fixed issue with clashing option prefixes, where an option is prefix of another. check-in: f71d7fcb19 user: andreask tags: trunk, v0.3 | |
2013-08-03
| ||
01:20 | Added help format: sql. Data is saved as sql schema and tables. Usecase: Query and explore without searching code. check-in: ef3c41460c user: andreask tags: trunk | |
01:18 | Save list of state names in help structures. Updated json format. check-in: a65dc9a944 user: andreask tags: trunk | |
2013-08-02
| ||
23:45 | Reworked the help data structures to show much more of the internals in the json format, and updated the standard formats for it. check-in: 8b8ed7f0f5 user: andreask tags: trunk | |
22:08 | Added a json output format to the help system. check-in: 5829cbd94c user: andreask tags: trunk | |
22:07 | Added a bit more debug narrative in the help support check-in: 0472dca221 user: andreask tags: trunk | |
21:33 | Added defered/immediate distinction for parameters, with state defaulting to defered, and the others as immediate. Updated tests. Bumped version to 0.3. check-in: a81d6b881f user: andreask tags: trunk | |
2013-07-25
| ||
20:22 | AS bug 99702. Fix handling of argument queue in code for splat. Did not take changing result type of struct::queue get into account. check-in: 02ba0ccd02 user: andreask tags: trunk | |
2013-07-12
| ||
21:26 | Fixed two bugs: (1) Generate proper return value when aborting interaction, has to be boolean. (2) Distinguish a missing option value from a regular "not enough arguments" error and do not invoke the mini shell for this. check-in: 1ace0b3ecb user: andreask tags: trunk | |
2013-07-10
| ||
22:56 | Handled the issue noted in the previous commit. Full forget not required in printstate, as changed parameter already forgot thei value on set. This restricts the amount of recalculation. And the changed flag are defined, so will not reach intreaction or other hooks. Two, added flag to transiently disable interaction, used by PrintState to avoid interaction even for those parameters which were not defined (I.e. --debug cmdr narrastive should not interact) check-in: 595c99c651 user: andreask tags: trunk | |
19:21 | Extended debug narrative. Note: Found problem with PrintState - forgets config, forces invoke of generate hooks, which may "interact" with the user. Bad. See if we can work out if this can be done without a "forget". check-in: 1bcb22464c user: andreask tags: trunk | |
2013-07-03
| ||
23:07 | Fix oops in internal caller of interaction, caused by the movement into separate method. Implied return went away. check-in: d450e14beb user: andreask tags: trunk | |
21:35 | Tweaked interaction for list parameters for clarity. check-in: ef6737b385 user: andreask tags: trunk | |
21:28 | Tweaked config interaction. Removed indicator for required, implied in the color and (undefined) marker. Added marker for List arguments. Went from 'fullname' to new 'dname' to show actual command, not the internal officer hierarchy. check-in: dfc00db967 user: andreask tags: trunk | |
21:16 | Fixed issue with separated interact. Stuff entered items into both string and value levels. I.e. treat as implied 'set'. Not handling the string level was ok while it was only part of definining a value when not defined. Outside setting of a parameter goes through string value however. check-in: 842a1b0a94 user: andreask tags: trunk | |
19:38 | Moved interactive definition of a parameter value into separate method, for external use. We now always define a prompt, to have it available should the user choose to run the new interaction method on a parameter which is normally non-interactive. check-in: fd627d18b2 user: andreask tags: trunk | |
2013-07-02
| ||
18:20 | Bump version to 0.2 check-in: c576a5a9ef user: andreask tags: trunk | |
18:20 | Fix oopses in previous commits check-in: 36e2d274c3 user: andreask tags: trunk | |
2013-06-28
| ||
23:13 | Added a convenience command for the easy dynamic creation of officer hierarchies. Commands are specified as patrh of words, plus regular and action specification for the private at the end. check-in: 509fe6c988 user: andreask tags: trunk | |
19:13 | Extended standard set of validation types with more path checks check-in: d3908da266 user: andreask tags: trunk | |
19:11 | Extended standard set of validation types with basic path checks. check-in: 69729e74f7 user: andreask tags: trunk | |
18:29 | Moved the validation utility commands into separate package. Tweaked the handling of validation in parameters a bit, to avoid superfluous dis- and re-aggregation of the command prefix. check-in: 4076919cb8 user: andreask tags: trunk | |
17:37 | Made the config state dump configurable. Tweaked the shells to ignore empty commands. check-in: b458449ae0 user: andreask tags: trunk | |
17:06 | Tweaks to the interaction prompts check-in: 31ae94f8d0 user: andreask tags: trunk | |
2013-06-24
| ||
16:56 | Fixed isue with help generator. Handle possibility of more words to resolve after having reached a leaf of the command tree. check-in: dac3fcc75f user: andreask tags: trunk | |
2013-06-21
| ||
20:01 | Small fix to the prompt for parameter entry. Needed trailing space. check-in: 688a532156 user: andreask tags: trunk | |
2013-06-20
| ||
17:58 | Extended actor store with "lappend" method. Generate better error message for unknown commands. check-in: 2b0a88ce08 user: andreask tags: trunk | |
2013-06-11
| ||
18:37 | Fixed meta data typo in cmdr::parameter check-in: 4d56f916cd user: andreask tags: trunk | |
2013-06-10
| ||
23:34 | Fixed missing initalization of instance variable. Broke commands without any argument. check-in: c5b08c6559 user: andreask tags: trunk | |
2013-05-22
| ||
21:52 | Sort help by command name. check-in: e7ffa0b314 user: andreask tags: trunk | |
21:29 | Added author and location meta data. check-in: d473b0c8bc user: andreask tags: trunk | |
20:39 | Added teapot meta data to all cmdr packages. check-in: 5d1611cb80 user: andreask tags: trunk | |
2013-05-15
| ||
05:41 | Brought branch back, confirmed to fix problem shown by new test. check-in: 5d1ccdd208 user: aku tags: trunk | |
05:40 | Get new tests. Closed-Leaf check-in: f3263fd143 user: aku tags: force-check | |
05:40 | Extended testsuite for validation errors. check-in: f657371683 user: aku tags: trunk | |
2013-05-10
| ||
19:41 | Possibly to catch "undefined" reports. check-in: b83f6d6d36 user: andreask tags: force-check | |
2013-05-09
| ||
22:08 | Why am I catching all errors when forcing the config before invoking the command ? That effectively disables all validators. check-in: 1e953ac73f user: andreask tags: force-check | |
2013-04-06
| ||
00:04 | Fixed place still using "plain" instead of "full" as standard help format. check-in: 48febc75f2 user: andreask tags: trunk | |
2013-04-05
| ||
23:43 | Fixed missing return check-in: 486d5923be user: andreask tags: trunk | |
19:59 | Added debug narrative to the system, based on the new tcllib/debug packages. check-in: fbf43a6c26 user: andreask tags: trunk | |
2013-04-04
| ||
05:23 | Parsing tweak. When encountering a bad option see if it can be handled as regular argument before bailing out. check-in: e6db958b51 user: aku tags: trunk | |
05:00 | Second charge of renaming "xo" to "cmdr". Plus tweak to processing of optional list arguments, preventing ahead-processing of options. They are made part of the splat. check-in: e756a91488 user: aku tags: trunk | |
04:46 | Renamed everything from "xo" to "cmdr". Easier to speak and more direct connection between name and purpose of the package. check-in: 91f2eaba78 user: aku tags: trunk | |
2013-04-03
| ||
00:15 | print-state changes. Fix alignment for list printing. Show empty strings with special value and color. check-in: 24853c59b2 user: andreask tags: trunk | |
2013-04-02
| ||
00:24 | Block infinite recursion in force by callbacks (when-*, validation) forcing again. check-in: 5de59fa414 user: andreask tags: trunk | |
2013-03-28
| ||
23:11 | Dump changed to return the data instead of printing directly. A bit more debug in the Take handler. check-in: 6f357bdc09 user: andreask tags: trunk | |
21:41 | Added dump method for debugging. Name validation extended to show full command name, for easier identification in the spec. check-in: 0091cc00c0 user: andreask tags: trunk | |
2013-03-27
| ||
06:43 | Undone [914aab4169], and replaced with code to automatically locate the "config" command, regardless how deep in the stack we are. check-in: 20293c69bd user: aku tags: trunk | |
2013-03-26
| ||
23:29 | Extend parameter API for use by callbacks. check-in: 914aab4169 user: andreask tags: trunk | |
23:28 | Fix argument processing issue check-in: 05f75b806f user: andreask tags: trunk | |
2013-03-25
| ||
22:24 | Moved generate and default after user interaction in priority for delivering a parameter value. Fixed command scoping issues for ::list. check-in: 220effd9f1 user: andreask tags: trunk | |
2013-03-23
| ||
18:04 | Updated the testsuite to account for the auto-help command introduced with [63db617e97]. check-in: 56a8582121 user: aku tags: trunk | |
2013-03-22
| ||
22:18 | Store unmodified command into the data store, at the place where enters, for use by interposed error handlers. The repls are not aware of it yet. check-in: 4a9225da60 user: andreask tags: trunk | |
21:50 | Shifted responsibility for excluding undocumented actors to the callers, not the actors themselves. Renamed help format "plain" to "full". Generate an automatic help command self-configured for the known formats (officers only, privates have pseudo-command ".help"). Bound into the general framework it can partake in completion, etc. Note: Argument completion currently not done, put possible (introspection on the command tree) check-in: 63db617e97 user: andreask tags: trunk | |
21:03 | Fixed problems with [5a60529b70]. Handle case of actual parm exhausted, with args left, these have to check if they are ok (i.e. optional). check-in: 0b2cb50746 user: andreask tags: trunk | |
20:46 | Fixed missing initialization of result lists check-in: 4ba6bd1c96 user: andreask tags: trunk | |
20:44 | Modified command completion to exclude undocumented commands. check-in: 079f1932bd user: andreask tags: trunk | |
20:23 | Tweaked parsing of cmdline, allow options to come after all regular arguments. check-in: 5a60529b70 user: andreask tags: trunk | |
04:58 | Implemented interactive parameter entry. check-in: 2dbbffb7ff user: aku tags: trunk | |
04:11 | Added global interactivity setting and extended the repls to take it into account. Further fixed issue with an officer invoking a repl despite having a default to punt to. check-in: 089ac7cbf5 user: aku tags: trunk | |
2013-03-21
| ||
23:15 | Fix formatting of list parameters in repl state display. check-in: b3c60d4e88 user: andreask tags: trunk | |
23:12 | Fix issue with general forcing, parameter can be undefined. check-in: a6a3b23371 user: andreask tags: trunk | |
23:06 | New feature: Custom error handler which interposes on command parsing and execution, trapping any errors of interest. Traps on command parsing to capture issues reported during parameter definition (generate error, validation error, ...) check-in: aa015accb1 user: andreask tags: trunk | |
21:57 | Dropped the "force" property, and force the value of all parameters, always. No special commands for dependencies. Done in declaration order, this allows user to declare dependencies through said order. check-in: a5326a59a3 user: andreask tags: trunk | |
21:01 | Implemented presence-only options, a restricted form of bool options without argument, aliases. check-in: 7861cdad65 user: andreask tags: trunk | |
06:33 | Added class method to parameters for easy access of their config instance from callbacks. Added a when-set callback invoked during parsing. Added ability to lock out parameters (parameter exclusion constraints). check-in: c3e855e99d user: aku tags: trunk | |
05:51 | Added class-global flag for default interactivity of privates/configs check-in: da1183bcac user: aku tags: trunk | |
05:40 | Multiple changes: - Updated testsuite for [00b6c20621]. - Added 'interactive' setting to privates. Default no prevents testsuite from going into interactive mode. - Dropped undocumented options from shown state and command completion (Interactive entry of arguments for a private). Exceptions: Still available as commands, and shown/completed when user has already entered data, proving their knowledge of them. - New pseudo-command .help, show help for the current command. - Help formatting: No empty lines when description is empty. - Additional help formats: list, and short check-in: 4c73bb7f4d user: aku tags: trunk | |
2013-03-20
| ||
00:14 | Fix option tag for the inversion of a no-foo option. check-in: 00b6c20621 user: andreask tags: trunk | |
2013-03-17
| ||
21:27 | Implemented command completion for privates, plus integration with interactive parameter entry. check-in: b112a12b80 user: aku tags: trunk | |
19:15 | More complete error message, plus errorCode, for parameters without user-defined value check-in: 9e0a75d5a7 user: aku tags: trunk | |
09:14 | Implemented REPL in config for interactive parameter entry, plus command completion for it. check-in: ceb3dac1b2 user: aku tags: trunk | |
09:13 | Refactored string definition, and exported the new low-level method. Simplified ProcessArgument. Put in command completion support. check-in: fdad6dc63c user: aku tags: trunk | |
09:10 | Moved cmdline parser method to base class, for access by private check-in: f251821062 user: aku tags: trunk | |
09:08 | Moved string utility out of help to general utility package check-in: 60628e9e00 user: aku tags: trunk | |
2013-03-14
| ||
03:22 | Changed boolean options name like --no-foo to have --foo as alias, not --no-no-foo. Changed flag memory to dictionary, enables the system to distinguish primary option from aliases and inverted aliases. The latter two get a generated description. Modified the help generation for a parameter collection to supply the necessary data. Extended testsuite to cover the changes and new feature. check-in: f9ae78b9ad user: aku tags: trunk | |
03:18 | Fixed missing exports of new API methods. check-in: 06bb9db792 user: aku tags: trunk | |
00:54 | Simplified the recursion for command completion in officers, and added ability for dynamic extension of the command set. check-in: e450737763 user: andreask tags: trunk | |
00:53 | Added value release via validation type to the parameter class. check-in: baecd04747 user: andreask tags: trunk | |
00:52 | Extended validation type api for command line completion. check-in: 370a681744 user: andreask tags: trunk | |
2013-03-13
| ||
17:47 | Moved various operations into actor, for future sharing/use in privates. Reworked to get rid of duplicate loops, use existing acessor method (known). check-in: 7f50b07e31 user: andreask tags: trunk | |
17:46 | Added place holder for command completion in privates doing no completion. check-in: 8b0ffd7fc5 user: andreask tags: trunk | |
05:02 | Renamed the result list for clarity. Added debug commands, inactive. Activated repl history. check-in: 7e76fbb5ce user: aku tags: trunk | |
04:41 | Completed the command completion for officers. Added example for testing. check-in: a93ee97376 user: aku tags: trunk | |
03:36 | Working out decision table for command completion. Started fixing up the officer repl code. check-in: ceb8ebad88 user: aku tags: trunk | |
2013-03-09
| ||
00:11 | Help generation fix, set the resolved name chain as command name prefix. Note issue with option documentation. check-in: 0c23456d73 user: andreask tags: trunk | |
2013-03-08
| ||
23:47 | Modified heuristics to select a system validation type. argument, state => identity, option stasy with boolean. Updated tests. check-in: de2e0c43f8 user: andreask tags: trunk | |
23:31 | Implemented hidden parameters (not documented), forcing of parameter values before the command is called, and special common key *all* for parameter specifications shared across all actions. todo: test cases. check-in: e87af1a166 user: andreask tags: trunk | |
21:55 | Notes on things to do check-in: a6bef100fc user: andreask tags: trunk | |
21:34 | In source doc tweak. Plus new package, help query and formatting support/conveniences. check-in: 14a2201b7e user: andreask tags: trunk | |
20:16 | Fix dispatcher bug, called default handler even when handled by proper handler - todo: testcase check-in: bc37fe45b9 user: andreask tags: trunk | |
20:16 | Followup on [53599b7d24]. Rename 'string' to 'str', avoid collision with builtin. check-in: c82b1f7c6b user: andreask tags: trunk | |
19:29 | Fix varname typo - todo: test case check-in: 0933b951d4 user: andreask tags: trunk | |
19:28 | Trim description before storage check-in: a4301d9edc user: andreask tags: trunk | |
19:28 | Code annotation check-in: 6b25950b11 user: andreask tags: trunk | |
19:27 | Added pass and string as semi-aliases of identity validation types. check-in: 53599b7d24 user: andreask tags: trunk | |
17:53 | Implemented the ability to hide commands from help generation. check-in: 01195fc528 user: andreask tags: trunk | |
17:46 | Switched help structure to dicts, for easier extension in the future. check-in: 0eeb3bb9d6 user: andreask tags: trunk | |
17:32 | Switched help generation from bottom-up name collation to top-down expansion of prefixes. check-in: b235950f2c user: andreask tags: trunk | |
17:22 | Extended actor with (not)documented attribute, for help (non)generation check-in: 08623165ff user: andreask tags: trunk | |
07:47 | Specified structure for help information. Implemented its generation, filling the placeholder help methods. Added test. check-in: b5f9a41322 user: aku tags: trunk | |
07:45 | Extended documentation, added overview of class relations check-in: ad01c89027 user: aku tags: trunk | |
06:51 | Annotations about the missing repls, plus new API overview document. check-in: 857ae703d0 user: aku tags: trunk | |
06:22 | More tests, bug fixes in the handling of various command prefixes. check-in: d8f0789033 user: aku tags: trunk | |
00:53 | Fixed validation of list parameters check-in: d5d78cbc00 user: andreask tags: trunk | |
00:48 | Filled out the value method, finally, and updated the testsuite and its support to show/expect the data. check-in: 9ac8a6317e user: andreask tags: trunk | |
2013-03-07
| ||
23:46 | Put object cleanup into the highlevel testsuite support commands, given that we have we have try/finally anyway for the package itself. check-in: cda6ec2c7c user: andreask tags: trunk | |
23:28 | More runtime tests, option handling, plus associated bug fixes check-in: 6074bb2399 user: andreask tags: trunk | |
21:21 | More runtime tests, splat handling. Disentangled threshold calculation from the DSL implementation, now an explicit post-processing step, easy to understand. This also fixed some subtle bug uncovered by the new tests. check-in: c6cd143bff user: andreask tags: trunk | |
07:32 | More tests of runtime processing. Fixed bugs in threshold calculation and argument processing in general they exposed. (Unsafe queue handling, missing checks, moved wrong#args tests earlier and into parameter instances) check-in: dcff363c04 user: aku tags: trunk | |
00:50 | Fix bugs in handling of optional arguments in threshold mode. check-in: 5e75817d3d user: andreask tags: trunk | |
00:27 | Simplified parameter/runtime tests, moved common code into support commands. check-in: 1e70f6e652 user: andreask tags: trunk | |
00:08 | Fix execution of a private's command prefix check-in: 52d99d102a user: andreask tags: trunk | |
00:07 | Readability tweak check-in: f167479ff2 user: andreask tags: trunk | |
2013-03-06
| ||
23:42 | Merged spec and dependent changes back to main. check-in: c7e398b8c9 user: andreask tags: trunk | |
23:42 | Last fix in existing testsuite, now passes Closed-Leaf check-in: 71a989de93 user: andreask tags: param-rework-in-progress | |
23:38 | Continued. Parameter DSL work complete. Begin checking/completion of runtime support. check-in: 93ecdef54c user: andreask tags: param-rework-in-progress | |
22:14 | Continued the rework, mostly testsuite now... Small internal reorg of the parameter code, keep related things together. check-in: e77dff36a5 user: andreask tags: param-rework-in-progress | |
08:14 | Reworked parameter DSL specification. Started reworking the code to match. check-in: 253e2bf3f7 user: aku tags: param-rework-in-progress | |
05:15 | Renamed xo::value to xo::parameter check-in: 3df0822f02 user: aku tags: trunk | |
01:16 | More work on the parameter attribute contraints. Renumbering and -ordering in testsuite. syntax vs assert in code. check-in: 9c7c77bdaf user: andreask tags: trunk | |
00:27 | Simplified the test cases triggering errors. check-in: b98e55a634 user: andreask tags: trunk | |
00:26 | Renumbered test cases, distinguish groups by labels. check-in: 49e4bea160 user: andreask tags: trunk | |
00:14 | Fixed issues with result comparison. Extended testsuite for parameter DSL. Split runtime tests to their own file. check-in: b1c7e3f60f user: andreask tags: trunk | |
2013-03-05
| ||
21:42 | Started testing of the runtime parameter processing. check-in: 108fbe16dc user: andreask tags: trunk | |
21:11 | Test and fix thresholding setup for standard optional arguments. check-in: 2af1ef488a user: andreask tags: trunk | |
20:49 | Split tests into multiple files, added support code, and changed state dumpers to generate output independent of the exact object instance commands (i.e. no ::oo::ObjXXX anymore). check-in: 49eb29e720 user: andreask tags: trunk | |
20:48 | More introspection across board. New for param values. check-in: 314a2d49f8 user: andreask tags: trunk | |
08:37 | Revamped internals of privates, parameters and parameter collections, per modified spec. Added basic validator commands. Extended testsuite going into parameters. check-in: c9e4073588 user: aku tags: trunk | |
08:35 | Tweaked method arguments lightly check-in: dc3714fda0 user: aku tags: trunk | |
08:34 | Reworked the parameter spec DSL, and parameter internals. check-in: 7a641d903e user: aku tags: trunk | |
08:33 | Fixed build script invokation check-in: c99471e289 user: aku tags: trunk | |
00:59 | Tweaks to the implementation of the action specification DSL. Readability, plus prevention of exposure as public methods. check-in: a9bf9ec9d4 user: andreask tags: trunk | |
00:43 | More tests, more fixes. Starting to flesh out privates and argument specs. check-in: 988105cff3 user: andreask tags: trunk | |
00:14 | More tests, more fixes. check-in: 5451490423 user: andreask tags: trunk | |
2013-03-04
| ||
23:53 | More tests, more fixes. check-in: 05d2e5167a user: andreask tags: trunk | |
22:55 | More bugfixes, in code and testsuite. Better introspection of officers. check-in: ee62788c76 user: andreask tags: trunk | |
19:04 | Fixed typos in package names. Added kettle-based build code. Started a testsuite. Removed package index, superfluous, handled by kettle. check-in: 0342d01d54 user: andreask tags: trunk | |
2013-03-02
| ||
01:32 | Fleshing out the argument processing and value management. Time for a testsuite. check-in: c22a48e176 user: andreask tags: trunk | |
2013-02-28
| ||
23:05 | Started on argument spec parsing and runtime argument processing. check-in: c728ddbcdc user: andreask tags: trunk | |
23:05 | Reworked to match the notes on DSL specs for actions and arguments. Chain of command. Assoc data store. check-in: 2b21768456 user: andreask tags: trunk | |
06:44 | Start with the framework check-in: 71dd8de684 user: aku tags: trunk | |