Vladimir Prus
5af27a78e7
Use boost::throw_exception instead just throw_exception. Otherwise, borland
...
"forgets" to generate code for the function call.
[SVN r29614]
2005-06-16 10:29:49 +00:00
Vladimir Prus
c984d59de1
Refactor the command line parser so that it uses options_description,
...
as opposed to having his own data structures. Clean up option description
classes a bit, removing unneeded methods. Remove support for 'implicit'
options.
[SVN r28413]
2005-04-22 13:35:45 +00:00
Vladimir Prus
58d35a27b9
Change "throw" to "throw_exception".
...
[SVN r27398]
2005-02-16 09:03:19 +00:00
Vladimir Prus
87b4fff3e2
Fix missing includes.
...
Patch from Graham Bennett.
[SVN r26677]
2005-01-12 10:50:32 +00:00
Vladimir Prus
97b337c1ce
MinGW-no-wstring workaround
...
[SVN r25292]
2004-09-21 06:20:02 +00:00
Vladimir Prus
074c154d18
Fix a recently introduces failure of unicode_test. I was trying
...
to form an argument to logic_error using wstring, which did not work. Now
try to convert wstring into local 8-bit encoding, and use a dummy text
when that fails.
[SVN r25242]
2004-09-20 06:14:18 +00:00
Vladimir Prus
ca1531d210
Improve the error reporting for invalid option values. Now the
...
'validation_error' exception allows to set the name of the option, and the
what() method uses the name to generate better message.
[SVN r25141]
2004-09-16 07:10:27 +00:00
Vladimir Prus
44d5ba98c1
Improve 'bool_switch' -- don't accept any argument on the command line.
...
Allow to set 'zero_tokens' flag for the typed_value type.
[SVN r25105]
2004-09-15 09:49:00 +00:00
Vladimir Prus
b4192e34b9
Another set of doc/comment edits from Charles.
...
[SVN r24657]
2004-08-23 10:18:09 +00:00
Vladimir Prus
6f49b5b999
Patch from John Maddock for platforms without wchar_t support, specifically
...
cygwin.
[SVN r23576]
2004-07-15 11:40:26 +00:00
Vladimir Prus
f084eeac4b
Applied numerious suggestions from Pavel Vozenilek.
...
[SVN r23496]
2004-07-13 15:12:26 +00:00
Vladimir Prus
ee778af57c
More declspecs
...
[SVN r23315]
2004-07-02 08:38:52 +00:00
Vladimir Prus
7a614e26ef
More declspecs.
...
[SVN r23280]
2004-06-30 07:16:09 +00:00
Vladimir Prus
75a6e42360
Patch from Janusz Piwowarski, to make the library work on mingw, despite
...
the fact the mingw does not have std::wstring. The patch disables wchar_t
support, but it allows the rest of the library to work ok.
[SVN r23111]
2004-06-17 12:34:59 +00:00
Vladimir Prus
990ae86a20
Convert the 'validator' class into 'validate' function. Add a fake parameter
...
to specify type to convert to, and long/int parameter to fake partial template
ordering. Hopefully, this will work on some broken compilers.
[SVN r23052]
2004-06-08 07:06:44 +00:00
Vladimir Prus
d6bea29bce
Rename value_semantic_codecvt_helper::parse to xparse, to avoid warnings
...
about overloading vs. overriding. The warning is wrong, but both gcc and
Comeau emit it.
[SVN r23050]
2004-06-08 05:07:56 +00:00
Vladimir Prus
196f6c0b5b
Import revision 295 of the program_options library.
...
[SVN r22823]
2004-05-14 13:40:31 +00:00