cmdr
Timeline
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 events occurring around abe9e7a80471b019.

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 Edit [4ddbb882ce7dc2e1|4ddbb882ce]: Add tag "conference". artifact: 3858bd5a4c user: andreask
20:51 Edit [858270adbc1b3289|858270adbc]: Cancel tag "conference". artifact: e56adc1667 user: andreask
20:51 Edit [4ddbb882ce7dc2e1|4ddbb882ce]: Add tag "v0.4". artifact: 706f8f8c05 user: andreask
20:51 Edit [858270adbc1b3289|858270adbc]: Cancel tag "v0.4". artifact: e8bf1c301b user: andreask
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
23:12 Edit [4c458351f73584a9|4c458351f7]: Cancel tag "v0.3". artifact: c40f63627f user: andreask
23:12 Edit [f71d7fcb19f26594|f71d7fcb19]: Add tag "v0.3". artifact: e5ef444df9 user: andreask
23:10 Edit [4c458351f73584a9|4c458351f7]: Add tag "v0.3". artifact: 53f974df80 user: andreask
21:12 Edit [858270adbc1b3289|858270adbc]: Add tag "conference". artifact: 3d82bc7af9 user: andreask
21:12 Edit [abe9e7a80471b019|abe9e7a804]: Cancel tag "conference". artifact: 081e2c40e9 user: andreask
21:12 Edit [858270adbc1b3289|858270adbc]: Add tag "v0.4". artifact: 8cab3a011c user: andreask
21:12 Edit [abe9e7a80471b019|abe9e7a804]: Cancel tag "v0.4". artifact: 5d90c6a5c9 user: andreask
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 Edit [abe9e7a80471b019|abe9e7a804]: Add tag "conference". artifact: 7ddda5a70b user: andreask
20:04 Edit [abe9e7a80471b019|abe9e7a804]: Add tag "v0.4". artifact: 65fedaa0e8 user: andreask
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
18:18 Edit [71a989de93868255|71a989de93]: Mark "Closed". artifact: 4c458351f7 user: aku
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