Vladimir Prus
81aff160d0
Merge fixes for unregisted options and inaccessible 'style_parser' method
...
from trunk to RC_1_33_0.
[SVN r31615]
2005-11-10 08:46:56 +00:00
Douglas Gregor
e6e1ef29db
Fixup uses of max
...
[SVN r30059]
2005-07-13 16:32:41 +00:00
Vladimir Prus
f88e0a9572
Attempt to fix VC7 parse error.
...
[SVN r29400]
2005-06-03 10:38:24 +00:00
Vladimir Prus
1fec99d686
Fix library target naming.
...
Patch from Jurgen Hunold.
[SVN r29246]
2005-05-27 15:15:05 +00:00
Vladimir Prus
274cd2e682
Fix ambiguity between 'std::detail' and 'program_options::detail' on cw.
...
[SVN r28692]
2005-05-06 08:13:32 +00:00
Vladimir Prus
b5bc8b4fcb
Add test for unregisted options.
...
[SVN r28691]
2005-05-06 08:12:27 +00:00
Vladimir Prus
9a149beb76
Fix 'unknown option' error for two successive calls to 'store'.
...
The bug triggered if
- we store two parsed_option object into variables_map
- the options descriptions associated with those parsed_option objects
are different
- an option present in first parser_option object is not declared in
second options_description.
The problem was that on the second 'store' call we went over all
stored options, trying to get their description from the *second*
options description object.
Thanks to Hartmut Kaiser for the bug report.
[SVN r28685]
2005-05-06 06:40:39 +00:00
Vladimir Prus
d4748e8153
Fix a regression -- the if the 'style' argument to parse_command_line
...
function was zero, it was interpreted as no style is suppored. Previously,
it was interpreted as default_styles. Also, remove 'style' argument from
'cmdline' constructors.
[SVN r28500]
2005-04-27 07:02:39 +00:00
Vladimir Prus
efc9712f70
Check for invalid options in vector<option> returned by extra style
...
parser or additional parser.
[SVN r28468]
2005-04-25 09:06:44 +00:00
Vladimir Prus
94d186836e
Derive basic_command_line_parser from cmdline.
...
Eliminate 'common_command_line_parser'.
[SVN r28419]
2005-04-22 15:32:23 +00:00
Vladimir Prus
6565cbc334
Revive 'additional parser'.
...
[SVN r28415]
2005-04-22 14:05:17 +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
e5a143e2c5
Update BOOST_CHECK_EQUAL_COLLECTIONS usage to the current version of
...
Boost.Test.
[SVN r27417]
2005-02-18 11:11:11 +00:00
Stefan Slapeta
fc423bf6bc
Replaced BOOST_TEST*
...
[SVN r27052]
2005-02-03 12:45:59 +00:00
Vladimir Prus
c3e02a2b0a
Merge the utf8 workaround in program_options and serialization and
...
put the result to boost/detail and libs/detail.
[SVN r26758]
2005-01-20 08:49:13 +00:00
Vladimir Prus
05a5406e11
Move test of unicode command line from parsers_test.cpp to unicode_test,
...
to make test failures more informative. Otherwise, the failure of
'parsers_test' seem to indicate the library is unusable.
[SVN r25330]
2004-09-22 07:06:14 +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
f7b4a11316
Another 'mingw-has-no-wstring' workaround
...
[SVN r24776]
2004-08-27 07:07:15 +00:00
Vladimir Prus
f86cc57222
Don't require std::facet-support in tests. Supposedly, it causes link failures.
...
[SVN r24742]
2004-08-26 10:38:04 +00:00
Vladimir Prus
9a5b15eef1
Exclude Unicode part of parsers_test when system does not support
...
wstring.
[SVN r24658]
2004-08-23 10:24:39 +00:00
Vladimir Prus
b4192e34b9
Another set of doc/comment edits from Charles.
...
[SVN r24657]
2004-08-23 10:18:09 +00:00
Stefan Slapeta
b4f699c0de
Fix for CW 9 (namespace ambiguity)
...
[SVN r24267]
2004-08-03 13:45:15 +00:00
Vladimir Prus
2be9ab8757
Replace \u espaces with \x escapes, since CW8 does not understand the
...
former. Thanks to Rene Rivera for the patch.
[SVN r24066]
2004-07-26 06:54:35 +00:00
Vladimir Prus
fa2257def0
Really fix CW9 problem.
...
[SVN r23948]
2004-07-22 09:47:48 +00:00
Vladimir Prus
3173707873
Workaround CW9 problem.
...
[SVN r23943]
2004-07-22 08:18:59 +00:00
Vladimir Prus
2b750c044d
Add a code size testing script.
...
[SVN r23769]
2004-07-19 07:17:14 +00:00
Vladimir Prus
29c37f478f
Added the Python script I used to generated winmain.cpp, just in
...
case I'd need to add some new testcase.
[SVN r23768]
2004-07-19 07:16:00 +00:00
Vladimir Prus
fdbd1493b9
Simplify the test.
...
[SVN r23759]
2004-07-19 06:50:22 +00:00
Vladimir Prus
9133a2e903
Added 'split_winmain' function.
...
[SVN r23550]
2004-07-14 15:57:02 +00:00
Vladimir Prus
14601a2c4c
Apply fixed from John Maddock:
...
- don't require std::facet-support and std::locale-support for DLL lib
and DLL tests, since it turns on static runtime, which is not usable
with DLLs
- set BOOST_ALL_DYN_LINK when linking DLL tests.
[SVN r23540]
2004-07-14 11:31:31 +00:00
Vladimir Prus
33721085c6
Add DLL flavour for all tests. Not sure if this will be permanent change,
...
but really have to make sure I've used dllexport in all necessary places,
and don't have access to vc at the moment.
[SVN r23230]
2004-06-28 09:31:28 +00:00
Vladimir Prus
9d1a3565d0
VC6/VC7 workaround
...
[SVN r23199]
2004-06-26 11:33:02 +00:00
Vladimir Prus
a031382c91
Try to workaround vc7 failure by adding & when taking function address.
...
[SVN r23180]
2004-06-25 12:21:21 +00:00
Vladimir Prus
df45b22508
More vc6 workarounds.
...
[SVN r23101]
2004-06-15 09:15:32 +00:00
Vladimir Prus
268a9c748f
Add test-suite declaration
...
[SVN r23088]
2004-06-11 11:43:14 +00:00
Vladimir Prus
b6f9e1f367
Workaround for vc6/vc7.
...
[SVN r23081]
2004-06-11 06:11:34 +00:00
Vladimir Prus
6735b65175
Some borland fixes.
...
[SVN r23068]
2004-06-10 08:35:36 +00:00
Vladimir Prus
f2d796c835
Another workaround for lack of templated vector ctor on Intel.
...
[SVN r22958]
2004-05-28 07:28:04 +00:00
Vladimir Prus
0219187044
Turns out intel just don't have templated vector constructor in some
...
configurations. Introduce auxilliary function to conveniently create vectors
from arrays.
[SVN r22952]
2004-05-27 14:36:53 +00:00
Vladimir Prus
cf02adf126
Fix a typo in the previous commit.
...
[SVN r22951]
2004-05-27 14:17:53 +00:00
Vladimir Prus
f1e659daf3
Intel 7.1 does not like passing char*[] and char** as two arguments to
...
vector<string> constructor. Try to workaround this.
[SVN r22950]
2004-05-27 14:13:24 +00:00
Vladimir Prus
a65917d23e
Use 'putenv' instead of less portable 'setenv'.
...
[SVN r22916]
2004-05-25 07:20:41 +00:00
Vladimir Prus
d1b80f89b3
Try to enable locale/facet support for metrowerks.
...
[SVN r22855]
2004-05-18 06:38:17 +00:00
Vladimir Prus
3676504589
Use _putenv, not setenv, on Win32.
...
[SVN r22853]
2004-05-18 06:26:08 +00:00
Vladimir Prus
505a1e11b2
Make test Jamfile work with regression tests.
...
[SVN r22824]
2004-05-14 14:57:46 +00:00
Vladimir Prus
196f6c0b5b
Import revision 295 of the program_options library.
...
[SVN r22823]
2004-05-14 13:40:31 +00:00