/[eiffelstudio]/branches/eth/eve/Src/library/argument_parser
ViewVC logotype

Log of /branches/eth/eve/Src/library/argument_parser

View Directory Listing Directory Listing


Sticky Revision:

Revision 92684 - Directory Listing
Modified Fri Jun 7 15:28:53 2013 UTC (6 years, 6 months ago) by jasonw
<<Merged from trunk#92682.>>

Revision 91201 - Directory Listing
Modified Fri Feb 8 09:03:47 2013 UTC (6 years, 9 months ago) by jasonw
<<Merged from trunk#91200.>>

Revision 91117 - Directory Listing
Modified Fri Feb 1 08:57:09 2013 UTC (6 years, 10 months ago) by jasonw
<<Merged from trunk#91110.>>

Revision 91005 - Directory Listing
Modified Mon Jan 28 14:40:26 2013 UTC (6 years, 10 months ago) by jasonw
<<Merged from trunk#90997.>>

Revision 90398 - Directory Listing
Modified Fri Jan 4 09:58:58 2013 UTC (6 years, 11 months ago) by jasonw
<<Merged from trunk#90397.>>

Revision 89681 - Directory Listing
Modified Fri Oct 26 07:23:22 2012 UTC (7 years, 1 month ago) by jasonw
<<Merged from trunk#89679.>>

Revision 89579 - Directory Listing
Modified Fri Oct 12 06:28:37 2012 UTC (7 years, 1 month ago) by jasonw
<<Merged from trunk#89578.>>

Revision 88292 - Directory Listing
Modified Fri Feb 10 08:55:50 2012 UTC (7 years, 9 months ago) by jasonw
<<Merged from trunk#88291.>>

Revision 88234 - Directory Listing
Modified Fri Jan 27 09:58:45 2012 UTC (7 years, 10 months ago) by jasonw
<<Merged from trunk#88233.>>

Revision 88212 - Directory Listing
Modified Fri Jan 20 13:30:20 2012 UTC (7 years, 10 months ago) by jasonw
<<Merged from trunk#88211.>>

Revision 88026 - Directory Listing
Modified Fri Nov 25 12:11:03 2011 UTC (8 years ago) by jasonw
<<Merged from trunk#88024.>>

Revision 87613 - Directory Listing
Modified Wed Oct 26 06:49:40 2011 UTC (8 years, 1 month ago) by jasonw
<<Merged from trunk#87612.>>

Revision 87357 - Directory Listing
Modified Wed Sep 28 22:18:32 2011 UTC (8 years, 2 months ago) by jasonw
<<Merged from trunk#87356.>>

Revision 87331 - Directory Listing
Modified Mon Sep 26 12:24:29 2011 UTC (8 years, 2 months ago) by jasonw
<<Merged from trunk#87330.>>

Revision 87220 - Directory Listing
Modified Thu Sep 15 08:09:35 2011 UTC (8 years, 2 months ago) by jasonw
<<Merged from trunk#87219.>>

Revision 84363 - Directory Listing
Modified Fri Sep 3 09:37:49 2010 UTC (9 years, 3 months ago) by jasonw
<<Merged from trunk#84362.>>

Revision 83702 - Directory Listing
Modified Fri Jun 25 13:00:44 2010 UTC (9 years, 5 months ago) by julian
<<Merged from trunk#83700.>>

Revision 83441 - Directory Listing
Modified Sat Jun 5 13:52:53 2010 UTC (9 years, 6 months ago) by jasonw
Renamed branch eve3 to eve. The eve branch serves as the new branch for the EVE project.

Revision 83331 - Directory Listing
Modified Wed May 26 18:49:35 2010 UTC (9 years, 6 months ago) by jasonw
Original Path: branches/eth/eve3/Src/library/argument_parser
<<Breanched from trunk@83330>> Created a branch to upgrade Eiffel Transform library to trunk.

Revision 82581 - Directory Listing
Modified Tue Mar 16 03:07:44 2010 UTC (9 years, 8 months ago) by manus
Original Path: trunk/Src/library/argument_parser
Moved the experimental branch to be the default for libraries.


Revision 80992 - Directory Listing
Modified Thu Oct 1 22:33:58 2009 UTC (10 years, 2 months ago) by paulb
Original Path: trunk/Src/experimental/library/argument_parser
Added support for argument parser sources coming from the terminal, extended by an environment variable. The source utilized the base extension ENVIRONMENT_ARGUMENTS.


Revision 80819 - Directory Listing
Modified Tue Sep 22 19:44:52 2009 UTC (10 years, 2 months ago) by paulb
Original Path: trunk/Src/experimental/library/argument_parser
Removed need to specify switch descriptions or an switch argument description for hidden switches.


Revision 80818 - Directory Listing
Modified Tue Sep 22 19:42:06 2009 UTC (10 years, 2 months ago) by paulb
Original Path: trunk/Src/experimental/library/argument_parser
Added property to allow setting output usage to be verbose (using verbose switches in usage instead of short switches).


Revision 80811 - Directory Listing
Modified Tue Sep 22 18:32:54 2009 UTC (10 years, 2 months ago) by paulb
Original Path: trunk/Src/experimental/library/argument_parser
Fixed to use experimental version of the Eiffel library.

Revision 80012 - Directory Listing
Modified Wed Jul 29 19:07:18 2009 UTC (10 years, 4 months ago) by paulb
Original Path: trunk/Src/experimental/library/argument_parser
Applied patch so argument parser compiles in the experimental library.


Revision 79602 - Directory Listing
Modified Wed Jul 8 16:59:51 2009 UTC (10 years, 5 months ago) by manus
Original Path: trunk/Src/experimental/library/argument_parser
To work around a .NET compiler bug, make the class non-deferred (see eweasel test#dotnet115).


Revision 79072 - Directory Listing
Modified Wed Jun 3 23:37:10 2009 UTC (10 years, 6 months ago) by manus
Original Path: trunk/Src/experimental/library/argument_parser
Copy of $EIFFEL_SRC/library that will contain the void-safe SPECIAL changes.


Revision 78889 - Directory Listing
Modified Wed May 27 09:45:07 2009 UTC (10 years, 6 months ago) by jfiat
Original Path: trunk/Src/library/argument_parser
updated copyright

Revision 78888 - Directory Listing
Modified Wed May 27 09:44:46 2009 UTC (10 years, 6 months ago) by jfiat
Original Path: trunk/Src/library/argument_parser
Fixed issue, if you want to allow non-switch argument, but does not require one.
Fixed void-safety issue.
+ add all_classes for root_class in config files.
+ typo

Revision 78883 - Directory Listing
Modified Tue May 26 23:09:07 2009 UTC (10 years, 6 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Fixed to resolve issues with changes in the inheritance hierarchy of ARRAYED_LIST.


Revision 78880 - Directory Listing
Modified Tue May 26 22:27:50 2009 UTC (10 years, 6 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Replaced use of ARRAYED_LIST.make_with_array


Revision 78475 - Directory Listing
Modified Fri May 1 21:42:03 2009 UTC (10 years, 7 months ago) by manus
Original Path: trunk/Src/library/argument_parser
Updated to 1-5-0 schema version of ECFs.


Revision 78359 - Directory Listing
Modified Fri Apr 24 00:31:59 2009 UTC (10 years, 7 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Final Windows tweaks to the output.
Replicated exclude rules in the void-safe version of the library.


Revision 78358 - Directory Listing
Modified Thu Apr 23 23:59:54 2009 UTC (10 years, 7 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Extracted implementation into platform specific external classes.


Revision 78357 - Directory Listing
Modified Thu Apr 23 23:14:06 2009 UTC (10 years, 7 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Uncommented condition preventing the Windows implementation from being called.

Revision 78356 - Directory Listing
Modified Thu Apr 23 22:51:31 2009 UTC (10 years, 7 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Added support for Windows terminals when soft-wrapping text.


Revision 78350 - Directory Listing
Modified Thu Apr 23 21:25:46 2009 UTC (10 years, 7 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Added support for *nix platform to format the output according to the width of the terminal window.


Revision 78331 - Directory Listing
Modified Wed Apr 22 19:59:39 2009 UTC (10 years, 7 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Fixed group switch expansion when using switch dependencies. 


Revision 77479 - Directory Listing
Modified Tue Mar 3 17:55:59 2009 UTC (10 years, 9 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Fixed validation of files.


Revision 77298 - Directory Listing
Modified Tue Feb 24 23:44:31 2009 UTC (10 years, 9 months ago) by manus
Original Path: trunk/Src/library/argument_parser
Use new syntax for object test and attached/detachable type.


Revision 77123 - Directory Listing
Modified Wed Feb 11 22:26:18 2009 UTC (10 years, 9 months ago) by manus
Original Path: trunk/Src/library/argument_parser
Added missing check for a case that should never occur.
Fixed precondition violation in `options_values_of_name' because we call `options_of_name' without
  verifying its precondition.


Revision 76980 - Directory Listing
Modified Thu Feb 5 00:15:27 2009 UTC (10 years, 10 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Fixed replacement issue.


Revision 76977 - Directory Listing
Modified Wed Feb 4 23:47:21 2009 UTC (10 years, 10 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Set year to 2009.


Revision 76670 - Directory Listing
Modified Tue Jan 13 17:18:35 2009 UTC (10 years, 10 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Fixed check condition from being raised, due to conversion to Void-Safe.


Revision 76653 - Directory Listing
Modified Mon Jan 12 21:44:29 2009 UTC (10 years, 10 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Removed stragler assignment attempts and replaced them with object-tests.


Revision 76633 - Directory Listing
Modified Fri Jan 9 18:45:09 2009 UTC (10 years, 10 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Fixed bug causing valid argument configurations to be considered invalid.
Reordered some postconditions.

Revision 76612 - Directory Listing
Modified Thu Jan 8 17:12:28 2009 UTC (10 years, 11 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Fixed issue with iterating the switch groups.


Revision 76606 - Directory Listing
Modified Wed Jan 7 19:32:14 2009 UTC (10 years, 11 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Removed strangling attachment marks.


Revision 76595 - Directory Listing
Modified Tue Jan 6 00:16:53 2009 UTC (10 years, 11 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Removed missed attachement marks.


Revision 76594 - Directory Listing
Modified Mon Jan 5 23:57:09 2009 UTC (10 years, 11 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Created void-safe version of the argument parser library.
Abstracted INTEGER and NATURAL argument validators.
Added a default argument validator, which validates everything, using in Void-Safe contexts.


Revision 76474 - Directory Listing
Modified Tue Dec 30 23:57:31 2008 UTC (10 years, 11 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Fixed alignment when not using unix style switches.


Revision 76420 - Directory Listing
Modified Mon Dec 29 20:27:11 2008 UTC (10 years, 11 months ago) by manus
Original Path: trunk/Src/library/argument_parser
Removal of `is' keyword.
Replacement of `is' by `=' for constant definitions.
Replaced `indexing' by `note'.


Revision 76403 - Directory Listing
Modified Sat Dec 27 06:57:20 2008 UTC (10 years, 11 months ago) by manus
Original Path: trunk/Src/library/argument_parser
Fixed full class checking error.


Revision 76112 - Directory Listing
Modified Tue Dec 9 00:55:53 2008 UTC (11 years ago) by paulb
Original Path: trunk/Src/library/argument_parser
Made arguments more abstract to support immutable strings too.


Revision 76111 - Directory Listing
Modified Tue Dec 9 00:45:54 2008 UTC (11 years ago) by paulb
Original Path: trunk/Src/library/argument_parser
Added support for -- as a processing finalizer.


Revision 75738 - Directory Listing
Modified Tue Nov 18 23:41:48 2008 UTC (11 years ago) by paulb
Original Path: trunk/Src/library/argument_parser
Fixed request for help even when the arguments are invalid.


Revision 75630 - Directory Listing
Modified Fri Nov 14 22:56:31 2008 UTC (11 years ago) by paulb
Original Path: trunk/Src/library/argument_parser
Removed assignment attempts and used attachment, Void checks and object-tests instead.
Remove all spotted is keywords

Revision 75520 - Directory Listing
Modified Tue Nov 11 22:57:42 2008 UTC (11 years ago) by paulb
Original Path: trunk/Src/library/argument_parser
Fixed to adhear to changed made in ELKS.


Revision 75519 - Directory Listing
Modified Tue Nov 11 22:41:28 2008 UTC (11 years ago) by paulb
Original Path: trunk/Src/library/argument_parser
Removed too strong preconditions.
Fixed application system name broken in last commit
Supported use of - as an argument to allow applications to use the standard input.


Revision 75518 - Directory Listing
Modified Tue Nov 11 20:58:58 2008 UTC (11 years ago) by paulb
Original Path: trunk/Src/library/argument_parser
Added support for compounded unix-style single character switches (e.g. allowing use of -abc, where a, b, and c are all separate switches.)


Revision 75510 - Directory Listing
Modified Tue Nov 11 19:34:00 2008 UTC (11 years ago) by paulb
Original Path: trunk/Src/library/argument_parser
Added notion of an argument source to allow the argument parser to be used with terminal supplied arguments or a custom set of supplied arguments.


Revision 75466 - Directory Listing
Modified Thu Nov 6 21:53:46 2008 UTC (11 years, 1 month ago) by manus
Original Path: trunk/Src/library/argument_parser
Made code compile with recent changes in HASH_TABLE where `item' returns a detachable type.


Revision 75008 - Directory Listing
Modified Tue Oct 7 19:15:52 2008 UTC (11 years, 2 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Fixed issue with /? no longer working on Windows.

Revision 74937 - Directory Listing
Modified Fri Oct 3 17:44:14 2008 UTC (11 years, 2 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
The available_switches function is not longer frozen to allow for advanced customization.


Revision 74615 - Directory Listing
Modified Wed Aug 27 22:55:03 2008 UTC (11 years, 3 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Renamed the library file to match the library.


Revision 74614 - Directory Listing
Modified Wed Aug 27 22:53:34 2008 UTC (11 years, 3 months ago) by paulb
Original Path: trunk/Src/library/argument_parser
Copied from: trunk/Src/framework/base/application/arg_parser revision 74604
Moved the argument parser to the Eiffel library.


Revision 74590 - Directory Listing
Modified Tue Aug 26 22:25:35 2008 UTC (11 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed compilation precondition errors.
Added global once status, where approriate.


Revision 74589 - Directory Listing
Modified Tue Aug 26 22:16:09 2008 UTC (11 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Exported values, option_values and error messages.


Revision 74576 - Directory Listing
Modified Tue Aug 26 19:14:33 2008 UTC (11 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Implemented major changes to the library interface for usage clarity, due to imminent promption to an
Eiffel library.


Revision 73848 - Directory Listing
Modified Mon Jun 16 17:18:17 2008 UTC (11 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed come failing invariant contracts.

Revision 73233 - Directory Listing
Modified Wed Apr 30 00:00:28 2008 UTC (11 years, 7 months ago) by manus
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed invariant violation due to the inline agents which when called on the Current object was
  also checking its invariant. Fix was simply to replace the inline agent by a loop on the switches.


Revision 72779 - Directory Listing
Modified Tue Mar 18 16:51:54 2008 UTC (11 years, 8 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Updated year.

Revision 69452 - Directory Listing
Modified Mon Jul 16 18:23:24 2007 UTC (12 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed bug preventing validator from being executed.

Revision 69422 - Directory Listing
Modified Fri Jul 13 22:34:35 2007 UTC (12 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Made modifications to be more platform-specific is display and usage.
Updated usage generation to support new long and short named switches.
Fixed usage information to show when a switch may be used more than once.
Fixed usage information and validators to support optional switch appurtenances.

Revision 69421 - Directory Listing
Modified Fri Jul 13 22:32:10 2007 UTC (12 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Removed redundant passing of a switch's name/id.

Revision 69420 - Directory Listing
Modified Fri Jul 13 22:31:26 2007 UTC (12 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Refined meaning of switch name, which is now a switch id.
Added functions to validate a switch id and to split the switch id to form a short name and a long name.
Added access members to query long, short and most applicable switch name.

Revision 69419 - Directory Listing
Modified Fri Jul 13 22:29:35 2007 UTC (12 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Modification required due to changed in ARGUMENT_OPTION

Revision 69418 - Directory Listing
Modified Fri Jul 13 22:29:12 2007 UTC (12 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Removed initializing with a switch name as it can be retrieved from the switch itself.
Renamed `name' to `switch_id' to suit new shortcut formatting.

Revision 69417 - Directory Listing
Modified Fri Jul 13 22:27:57 2007 UTC (12 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed bug where values was not being set correctly.

Revision 68210 - Directory Listing
Modified Wed May 9 16:57:04 2007 UTC (12 years, 7 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added missing postconditions.
Refactored a few contracts to be more terse.
Solved issue on Linux/Unix/Mac with using rooted directories.

Revision 68070 - Directory Listing
Modified Thu May 3 00:43:49 2007 UTC (12 years, 7 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added option for file or directory switch.

Revision 68069 - Directory Listing
Modified Thu May 3 00:43:24 2007 UTC (12 years, 7 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Created custom options so clients can determine if the item value passed is a file or directory.

Revision 67856 - Directory Listing
Modified Mon Apr 16 19:22:30 2007 UTC (12 years, 7 months ago) by martins
Original Path: trunk/Src/framework/base/application/arg_parser
Cosmetics: I replaced double (or more) lines in the source code by single lines automatically. So you might hit anomalies. But I hope they are just a few exceptions.

Revision 67846 - Directory Listing
Modified Fri Apr 13 21:29:28 2007 UTC (12 years, 7 months ago) by martins
Original Path: trunk/Src/framework/base/application/arg_parser
cosmetics: proof of concept for removal of double new lines in code


Revision 66933 - Directory Listing
Modified Tue Feb 27 05:01:29 2007 UTC (12 years, 9 months ago) by tedf
Original Path: trunk/Src/framework/base/application/arg_parser
Corrected spelling of "occurances" and "occurrances".

Revision 66922 - Directory Listing
Modified Tue Feb 27 00:56:58 2007 UTC (12 years, 9 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Placed loose argument usage at the front of all options.

Revision 66921 - Directory Listing
Modified Tue Feb 27 00:56:09 2007 UTC (12 years, 9 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
INTEGER options no longer have a default value so clients can detect if user did not specify a value.

Revision 66920 - Directory Listing
Modified Tue Feb 27 00:55:55 2007 UTC (12 years, 9 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
NATURAL options no longer have a default value so clients can detect if user did not specify a value.

Revision 66847 - Directory Listing
Modified Thu Feb 22 20:29:24 2007 UTC (12 years, 9 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Set namespaces on clusters

Revision 66820 - Directory Listing
Modified Wed Feb 21 23:49:28 2007 UTC (12 years, 9 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed has_value

Revision 66298 - Directory Listing
Modified Fri Jan 26 19:17:43 2007 UTC (12 years, 10 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Now uses text library.

Revision 66054 - Directory Listing
Modified Fri Jan 19 23:51:58 2007 UTC (12 years, 10 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added validator for natural value within a specified range.

Revision 66053 - Directory Listing
Modified Fri Jan 19 23:51:28 2007 UTC (12 years, 10 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added validator for switch properties.

Revision 66052 - Directory Listing
Modified Fri Jan 19 23:50:49 2007 UTC (12 years, 10 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added switch/option for switches accepting a natural value as an argument.

Revision 66051 - Directory Listing
Modified Fri Jan 19 23:50:07 2007 UTC (12 years, 10 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added option for integer switches

Revision 66050 - Directory Listing
Modified Fri Jan 19 23:49:42 2007 UTC (12 years, 10 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Class now creates an ARGUMENT_INTEGER_OPTION to a true integer value can be retrieved with clients having to do the conversion themselves.

Revision 66048 - Directory Listing
Modified Fri Jan 19 23:48:42 2007 UTC (12 years, 10 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed export status of some features.

Revision 65915 - Directory Listing
Modified Mon Jan 15 17:49:16 2007 UTC (12 years, 10 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Updated copyright date.

Revision 65358 - Directory Listing
Modified Mon Dec 4 23:30:55 2006 UTC (13 years ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added switch for setting properties via a command line switch, in the form of property=value.

Revision 65357 - Directory Listing
Modified Mon Dec 4 23:30:12 2006 UTC (13 years ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added option to expose access to property switch values.

Revision 65356 - Directory Listing
Modified Mon Dec 4 23:29:36 2006 UTC (13 years ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
`make_with_value' now calls `set_value' to ensure any implementation in `set_value' used to reinitialize is performed when created.

Revision 65263 - Directory Listing
Modified Tue Nov 28 20:26:11 2006 UTC (13 years ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed `has_flags' to correctly return result when a match is found on the first check.

Revision 65262 - Directory Listing
Modified Tue Nov 28 20:25:32 2006 UTC (13 years ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Better handled creation of switch option instances so that a value option is created when a value is matched to a switch. This fixes issues with flag switches.

Revision 64798 - Directory Listing
Modified Fri Nov 3 21:48:59 2006 UTC (13 years, 1 month ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Commented out postcondition that violates because of use of "old"

Revision 64773 - Directory Listing
Modified Thu Nov 2 20:48:58 2006 UTC (13 years, 1 month ago) by patrickr
Original Path: trunk/Src/framework/base/application/arg_parser
Added ability to always hide the logo.


Revision 63753 - Directory Listing
Modified Thu Sep 21 00:39:43 2006 UTC (13 years, 2 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed suppressing of logo information.

Revision 63752 - Directory Listing
Modified Thu Sep 21 00:39:15 2006 UTC (13 years, 2 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Removed precondition that should not have been there.

Revision 63751 - Directory Listing
Modified Thu Sep 21 00:38:49 2006 UTC (13 years, 2 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed issue with generating list of flags.
Other cosmetics.

Revision 63445 - Directory Listing
Modified Sun Sep 10 00:11:48 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Now successfully compiles

Revision 63405 - Directory Listing
Modified Fri Sep 8 17:51:03 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Argument groups can now be created as a hidden group.

Revision 63404 - Directory Listing
Modified Fri Sep 8 17:50:31 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added implementation for hidden argument groups.
Added support for limiting usage text width, but is not yet implemented.

Revision 63211 - Directory Listing
Modified Fri Sep 1 15:42:37 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed bug that attached a loose argument to a switch when the switch does not accept a value.
Added missing postconditions.

Revision 63192 - Directory Listing
Modified Thu Aug 31 21:47:09 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added support for formatting usage information by placing switch values inline with the switch options.

Revision 63191 - Directory Listing
Modified Thu Aug 31 21:46:15 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Now compiles

Revision 63181 - Directory Listing
Modified Thu Aug 31 17:43:13 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Now when value switch use the same name for their values, it is only displayed once.

Revision 63178 - Directory Listing
Modified Thu Aug 31 17:12:54 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Now compiles correctly

Revision 63175 - Directory Listing
Modified Thu Aug 31 17:08:53 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added class to represent an argument group

Revision 63174 - Directory Listing
Modified Thu Aug 31 17:08:29 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added support for allowing groups to ignore required loose arguments

Revision 63145 - Directory Listing
Modified Wed Aug 30 22:06:52 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added support for implicitly adding the nologo switch for grouped arguments.
Update command-line usage to dependent options as compulsory when provided as an appurtenance of a switch.

Revision 63144 - Directory Listing
Modified Wed Aug 30 21:34:24 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Options now store source argument switch for ease and speed of processing and validation.

Revision 63143 - Directory Listing
Modified Wed Aug 30 21:33:46 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Renamed `hidden' to `is_hidden'

Revision 63142 - Directory Listing
Modified Wed Aug 30 21:33:31 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Renamed `hidden' to `is_hidden'

Revision 63141 - Directory Listing
Modified Wed Aug 30 21:32:54 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added status flag `is_special' to indicate that is should be ignore when validating groups and other internal functions. This is used for the implicit options.
Renamed `hidden' to `is_hidden'

Revision 63140 - Directory Listing
Modified Wed Aug 30 21:31:41 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Modified to suit new generation of command line options given groups and argument dependencies.

Revision 63139 - Directory Listing
Modified Wed Aug 30 21:31:08 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added implementation to support for creating argument groups and argument dependencies.
Creating groups and dependencies automatically generated correct usage information based on groups and dependencies.
Validation has also been update to alert the user to errors.

Revision 62681 - Directory Listing
Modified Thu Aug 17 16:49:27 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Corrected validator class names

Revision 62679 - Directory Listing
Modified Thu Aug 17 16:41:54 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed precursor call.

Revision 62678 - Directory Listing
Modified Thu Aug 17 16:36:15 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Removed switch from file name as validators can now apply to loose arguments also.

Revision 62676 - Directory Listing
Modified Thu Aug 17 16:34:03 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Removed SWITCH from class name as validators can now apply to loose arguments also.

Revision 62675 - Directory Listing
Modified Thu Aug 17 16:33:28 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Removed SWITCH from class name as validators can now apply to loose arguments also.
Fixed validation.

Revision 62674 - Directory Listing
Modified Thu Aug 17 16:32:03 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Changed due to renaming of classes

Revision 62673 - Directory Listing
Modified Thu Aug 17 16:31:09 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Renamed to argument_base_parser.e

Revision 62672 - Directory Listing
Modified Thu Aug 17 16:30:48 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Renamed

Revision 62671 - Directory Listing
Modified Thu Aug 17 16:30:29 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Changed parent parser class because of a rename.

Revision 62670 - Directory Listing
Modified Thu Aug 17 16:30:12 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Changed parent parser class because of a rename.
Handled validation of arguments better.

Revision 62669 - Directory Listing
Modified Thu Aug 17 16:29:57 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Changed parent parser class because of a rename.
Handled validation of arguments better.

Revision 62668 - Directory Listing
Modified Thu Aug 17 16:28:50 2006 UTC (13 years, 3 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Renamed class to ARGUMENT_BASE_PARSER because it is not longer a "lite" parser.
Added ability to set a validator for loose arguments.

Revision 62240 - Directory Listing
Modified Thu Aug 3 07:02:38 2006 UTC (13 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added validator for flag switch arguments.

Revision 62239 - Directory Listing
Modified Thu Aug 3 07:01:53 2006 UTC (13 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added option for flag switch argument values.

Revision 62238 - Directory Listing
Modified Thu Aug 3 07:01:16 2006 UTC (13 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added switch for switches that accept argument flags.

Revision 62237 - Directory Listing
Modified Thu Aug 3 06:59:35 2006 UTC (13 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added factory method for creating an ARGUMENT_OPTION.

Revision 62236 - Directory Listing
Modified Thu Aug 3 06:59:13 2006 UTC (13 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added factory method for creating an ARGUMENT_OPTION with a switch value.

Revision 62235 - Directory Listing
Modified Thu Aug 3 06:58:23 2006 UTC (13 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Modified `has_value' to return True only if the value is attached and has a value.
creation routines are no longer exported to all classes.

Revision 62234 - Directory Listing
Modified Thu Aug 3 06:57:16 2006 UTC (13 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed formatting of option argument multilined descriptions.
ARGUMENT_OPTIONs are now created through factory methods on a found switch.

Revision 62114 - Directory Listing
Modified Mon Jul 31 06:14:15 2006 UTC (13 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added switch to validate an integer range

Revision 62113 - Directory Listing
Modified Mon Jul 31 06:13:48 2006 UTC (13 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added switch to validate a file or directory location

Revision 62112 - Directory Listing
Modified Sun Jul 30 20:55:57 2006 UTC (13 years, 4 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Correctly checked that a file is really a file

Revision 61123 - Directory Listing
Modified Mon Jul 10 15:55:48 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed bug where usage is displayed when no switches are specified via command-line execution.
Removed unused locals


Revision 61109 - Directory Listing
Modified Mon Jul 10 01:19:52 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added ability to set a value, from ARGUMENT_LITE_PARSER

Revision 61108 - Directory Listing
Modified Mon Jul 10 01:19:03 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Parser now permits the use of separated switch values (for application that require -switch "value" instead of -switch:value)

Revision 60811 - Directory Listing
Modified Thu Jun 29 21:33:34 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Supported hidden switches by not displaying usage options and by providing a new set of features for querying visible options

Revision 60810 - Directory Listing
Modified Thu Jun 29 21:32:40 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added `make_hidden' as a creation routine

Revision 60809 - Directory Listing
Modified Thu Jun 29 21:32:22 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added notion of being hidden (a active switch that is documented for internal use only)

Revision 60741 - Directory Listing
Modified Wed Jun 28 23:58:15 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added validator to ensure directories exist

Revision 60740 - Directory Listing
Modified Wed Jun 28 23:57:45 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added switch for directories

Revision 60739 - Directory Listing
Modified Wed Jun 28 23:57:28 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added parser for application that do not accept loose arguments

Revision 60738 - Directory Listing
Modified Wed Jun 28 23:56:56 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Reorganized

Revision 60737 - Directory Listing
Modified Wed Jun 28 23:53:08 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added subcluster

Revision 60736 - Directory Listing
Modified Wed Jun 28 23:52:04 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added configuration file for argument parser.

Revision 60735 - Directory Listing
Modified Wed Jun 28 23:50:57 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
`switches' and `available_switches' now return and ARRAYED_LIST to make it easier on implementers

Revision 60734 - Directory Listing
Modified Wed Jun 28 23:50:11 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Reorganized initialization arguments to make ordered sense

Revision 60687 - Directory Listing
Modified Tue Jun 27 22:42:09 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
UI formatting cosmetics

Revision 60599 - Directory Listing
Modified Tue Jun 27 17:31:14 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
fixed bug in parse_arguments
execute_noop will only display usage if loose arguments are expected

Revision 60598 - Directory Listing
Modified Tue Jun 27 17:30:07 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added argument parser for applications that accept one or more loose argument

Revision 60597 - Directory Listing
Modified Tue Jun 27 17:29:52 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added argument parser for applications that accept a single loose argument

Revision 59816 - Directory Listing
Modified Thu Jun 15 17:12:29 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed request to display usage when argument specification includes mandatory switches.
Added query feature `has_option' and `has_loose_argument'

Revision 59792 - Directory Listing
Modified Wed Jun 14 22:15:49 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added class description

Revision 59791 - Directory Listing
Modified Wed Jun 14 22:15:34 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed postcondition in `validate_value'

Revision 59785 - Directory Listing
Modified Wed Jun 14 20:58:25 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added function `application_base' to retrieve application base (location of executable).
Added function `option_of_name' to retrieve first option by name

Revision 59784 - Directory Listing
Modified Wed Jun 14 20:57:19 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added command line switch validator to handle validation of existing files.

Revision 59783 - Directory Listing
Modified Wed Jun 14 20:56:48 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added command line switch to handle files.

Revision 59771 - Directory Listing
Modified Wed Jun 14 16:36:09 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added reasons to invalid validated switch values

Revision 59769 - Directory Listing
Modified Wed Jun 14 15:56:39 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added deferred function `switches' ensuring descendants know how to implement switches.

Revision 59765 - Directory Listing
Modified Wed Jun 14 15:30:28 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Streamlined initialization with the introduction of a creation routine (used by descendants).
Descendants can now specify if multiple loose arguments are accepted.

Revision 59762 - Directory Listing
Modified Wed Jun 14 14:54:32 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Fixed typo

Revision 59761 - Directory Listing
Modified Wed Jun 14 14:48:25 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Extracted switch/argument validation to `validate_arguments' so descendants have a place to validate additional argument options.
Command line options are now build using new optional state flag in ARGUMENT_SWITCH.
Display of options now shows switch argument names and descriptions.

Revision 59760 - Directory Listing
Modified Wed Jun 14 14:46:23 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added attribute to indicate if the switch is optional.

Revision 59759 - Directory Listing
Modified Wed Jun 14 14:46:02 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Allowed specification of an argument value name/description with options to specify if it's optional or not.

Revision 59735 - Directory Listing
Modified Tue Jun 13 22:26:42 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Played around with formatting so descriptions spanning multiple lines are correctly aligned.

Revision 59733 - Directory Listing
Modified Tue Jun 13 21:59:38 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added argument_ prefix so classes can be included as augmentation of an extended base library.

Revision 59731 - Directory Listing
Added Tue Jun 13 21:40:35 2006 UTC (13 years, 5 months ago) by paulb
Original Path: trunk/Src/framework/base/application/arg_parser
Added general purpose argument parser for command-line applications.

  ViewVC Help
Powered by ViewVC 1.1.23