Sascha Ochsenknecht
60966caa35
Additional parameter to allow user to specify width of column for description text, patch from Chard, Fixes #3703
...
[SVN r58095]
2009-12-02 13:35:54 +00:00
Sascha Ochsenknecht
6b194eed21
additional patch for Ticket #1527
...
[SVN r58054]
2009-11-30 13:38:14 +00:00
Sascha Ochsenknecht
b3e9b5180e
add general split function, Fixes #2561
...
[SVN r57971]
2009-11-27 17:47:51 +00:00
Sascha Ochsenknecht
78693e8799
store empty values from config file, Fixes #1537
...
[SVN r57829]
2009-11-21 07:59:41 +00:00
Sascha Ochsenknecht
ccbbcab336
allow empty values in config file, Fixes #1537
...
[SVN r57819]
2009-11-20 16:53:10 +00:00
Sascha Ochsenknecht
249094d496
added test case, Fixes #2994
...
[SVN r57817]
2009-11-20 14:18:36 +00:00
Sascha Ochsenknecht
8add1551dc
remove compile warnings
...
[SVN r57805]
2009-11-20 09:50:43 +00:00
Vladimir Prus
aaa914e9a4
Add option name to a few exception classes.
...
Fixes #3423 . Patch from Sascha Ochsenknecht.
[SVN r57746]
2009-11-18 13:35:14 +00:00
Vladimir Prus
e1010ad09e
Fix warnings.
...
Addresses #3603 .
Patch from Sascha Ochsenknecht.
[SVN r57535]
2009-11-10 06:59:54 +00:00
Vladimir Prus
c6b373ff48
Fix wordwrapping in presense of default parameters.
...
Fixes #2613 .
Patch from Sascha Ochsenknecht.
[SVN r57517]
2009-11-09 16:12:31 +00:00
Vladimir Prus
5a5ad8df61
Test for \t-alignment of options descriptions.
...
Fixes #1527 .
Patch from Sascha Ochsenknecht.
[SVN r57515]
2009-11-09 15:57:51 +00:00
Vladimir Prus
122fe22e07
Put description to next line if we'd overflow otherwise.
...
Fixes #689 .
Patch from Sascha Ochsenknecht.
[SVN r57271]
2009-11-01 10:44:49 +00:00
Troy D. Straszheim
3f6577a53b
rm cmake from trunk. I'm not entirely sure this is necessary to satisfy the inspect script, but I'm not taking any chances, and it is easy to put back
...
[SVN r56942]
2009-10-17 02:07:38 +00:00
Troy D. Straszheim
b5ce55ad8c
Copyrights on CMakeLists.txt to keep them from clogging up the inspect
...
reports. This is essentially the same commit as r55095 on the release
branch.
[SVN r55159]
2009-07-26 00:49:56 +00:00
Vladimir Prus
ba75831f1b
Properly convert original_tokens and unregistered to woption.
...
Fixes #2425 .
[SVN r53441]
2009-05-30 10:34:37 +00:00
Troy D. Straszheim
98331c3542
Merge cmake files release -> trunk.
...
[SVN r52866]
2009-05-09 22:57:30 +00:00
Vladimir Prus
e4ccf81e82
Sync trunk&release branches
...
[SVN r52441]
2009-04-17 10:01:38 +00:00
Vladimir Prus
600a8aa105
Merge from release:
...
When processing value multitoken options, don't eat futher options.
Fixes #469 .
[SVN r52210]
2009-04-06 09:36:21 +00:00
Michael A. Jackson
ea2b309994
Updating CMake files to latest trunk. Added dependency information for regression tests and a few new macros for internal use.
...
[SVN r49627]
2008-11-07 17:02:56 +00:00
Michael A. Jackson
23019ff2ef
Continuing merge of CMake build system files into trunk with the encouragement of Doug Gregor
...
[SVN r49510]
2008-11-01 13:15:41 +00:00
Vladimir Prus
80361c6b8f
Fix winmain test
...
[SVN r40487]
2007-10-26 19:37:56 +00:00
Vladimir Prus
86aeaf478d
Don't use boost.test for testing.
...
[SVN r40463]
2007-10-25 17:08:27 +00:00
Vladimir Prus
73cf706164
Remove V1 Jamfiles
...
[SVN r38516]
2007-08-08 19:02:26 +00:00
Vladimir Prus
e51a3ae742
Support for 'implicit' options.
...
Patch from Bryan Green.
Fixes #1131 .
[SVN r38514]
2007-08-08 18:40:48 +00:00
Vladimir Prus
d0aa5abee5
Implement support for unregistered options in config files. Closes #687 .
...
[SVN r38191]
2007-07-11 19:39:06 +00:00
Vladimir Prus
cd647f785a
Fix #898 . Two approximate matches followed by an exact match
...
no longer cause an ambiguity to be reported.
[SVN r38187]
2007-07-11 19:07:44 +00:00
Vladimir Prus
d1d5636365
Compilation fix for sun. Fixes #739 .
...
[SVN r38109]
2007-06-28 07:09:38 +00:00
Vladimir Prus
8c68a478c9
Fix dynamic linking
...
[SVN r35991]
2006-11-10 20:29:40 +00:00
Vladimir Prus
5d1345c5a9
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 r35989]
2006-11-10 19:09:56 +00:00
Vladimir Prus
de66d37405
Make positional_options_description::add return reference to *this.
...
[SVN r33989]
2006-05-18 05:59:56 +00:00
Vladimir Prus
3765e8e8e9
Fix accesses to first element of an empty string.
...
Thanks to Olaf van der Spek for the report.
[SVN r33778]
2006-04-24 08:25:12 +00:00
Vladimir Prus
026c527d8d
Workaround "interator incremented past the end" assertion in MSVC-8.0.
...
[SVN r33776]
2006-04-24 08:00:13 +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