Vladimir Prus
ab9901f553
Merge from trunk.
...
[SVN r58818]
2010-01-08 21:00:57 +00:00
Troy D. Straszheim
5820ee9f7f
rm cmake from the release branch before it goes out broken. Policy dictates that you never commit to release, you commit to trunk and merge to release.
...
[SVN r56941]
2009-10-17 01:10:45 +00:00
Troy D. Straszheim
67ba23b8d9
Add basic copyright/license to keep cmake out of the inspection report
...
[SVN r55095]
2009-07-22 21:51:01 +00:00
Vladimir Prus
c3cb7cf05d
Merge from trunk
...
[SVN r54884]
2009-07-11 12:00:18 +00:00
Douglas Gregor
15c990b7af
Fix CMake build of Program Options DLL tests
...
[SVN r52847]
2009-05-08 06:13:08 +00:00
Vladimir Prus
3c6401b19a
Prevent multitoken options from eating tokens after '--' separator.
...
Thanks to Gevorg Voskanyan for the bug report and the testcase.
[SVN r52440]
2009-04-17 09:45:00 +00:00
Vladimir Prus
91d9cabb51
When processing value multitoken options, don't eat futher options.
...
Fixes #469 .
[SVN r52154]
2009-04-03 13:42:29 +00:00
Troy D. Straszheim
b55001a061
merge of cmake build files from trunk per beman
...
[SVN r50756]
2009-01-24 18:57:20 +00:00
Beman Dawes
b2a01d9405
Full merge from trunk at revision 41356 of entire boost-root tree.
...
[SVN r41370]
2007-11-25 18:38:02 +00:00
Vladimir Prus
2e0e9fd30b
Merge: Fix dynamic linking
...
[SVN r35992]
2006-11-10 20:31:43 +00:00
Vladimir Prus
1bd588d677
Merge from HEAD.
...
Allow building of shared versions of some Boost.Test libraries.
Adjust tests to use always use static linking to Boost.Test, since
linking to the shared version requires test changes.
Patch from Juergen Hunold.
[SVN r35990]
2006-11-10 19:59:52 +00:00
Rene Rivera
54daca4c09
Remove obsolete Boost.Build v1 files.
...
[SVN r35880]
2006-11-06 17:10:46 +00:00
Vladimir Prus
682f1b7670
Merge from trunk
...
[SVN r33992]
2006-05-18 06:06:53 +00:00
Vladimir Prus
252a3f9ebd
Merge from trunk
...
[SVN r33779]
2006-04-24 08:29:05 +00:00
Vladimir Prus
b1dc87da3c
Merge from trunk
...
[SVN r33777]
2006-04-24 08:02:07 +00:00
Dave Abrahams
8f0bc7ad72
Stop using assert() in tests
...
[SVN r33181]
2006-02-28 22:56:33 +00:00
Vladimir Prus
48ee128928
Set BOOST_ALL_NO_LIB for _dll tests
...
[SVN r32884]
2006-02-13 09:04:49 +00:00
Vladimir Prus
cbe799d914
Ignore unregisted options in 'store'.
...
[SVN r32264]
2006-01-09 09:44:44 +00:00
Vladimir Prus
5e4b39d672
Fix SF bug 1395874. When both "all" and "all-chroots" options were registered
...
and "--all" was specified on command line and approximation was on,
ambiguity was reported. Now, "all" is recognized.
[SVN r32263]
2006-01-09 09:06:24 +00:00
Vladimir Prus
e1d38380f4
Allow to query the type of options:
...
- add new class typed_value_base, with "value_type" method
- derived typed_value from typed_value_base
Idea from Giuseppe Vacanti.
[SVN r31752]
2005-11-23 09:14:02 +00:00
Vladimir Prus
78f209eb0b
Add test for unregisted options on the command_line_parser level.
...
[SVN r31614]
2005-11-10 08:15:44 +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