536 Commits

Author SHA1 Message Date
Sascha Ochsenknecht
a5e45eda5f reactive case_insensitive style for cmdline
[SVN r58273]
2009-12-10 20:25:53 +00:00
Sascha Ochsenknecht
970e377710 Enhancement to flag options as required, Fixes #2982
[SVN r58263]
2009-12-10 08:46:44 +00:00
Sascha Ochsenknecht
fbb8f045ee Fix compile warning about unused variable
[SVN r58253]
2009-12-09 18:14:33 +00:00
Sascha Ochsenknecht
645adb48cb Allow passing file name to parse_config_file(), Fixes #3264
[SVN r58248]
2009-12-09 13:45:01 +00:00
Sascha Ochsenknecht
80b3a04b1f revert changes for #773
[SVN r58237]
2009-12-08 14:57:26 +00:00
Sascha Ochsenknecht
f4e7fb0348 config file parser now stores original_tokens, Fixes #2727
[SVN r58233]
2009-12-08 07:45:44 +00:00
Sascha Ochsenknecht
f00e305f40 Modify assert, potentially Fixes #773
[SVN r58232]
2009-12-08 06:02:23 +00:00
Sascha Ochsenknecht
69bb59d15f Adapt examples regarding to exception class cleanup
[SVN r58218]
2009-12-07 13:35:01 +00:00
Sascha Ochsenknecht
d9c57f58d9 consistent handling of namespace std
[SVN r58185]
2009-12-06 09:56:54 +00:00
Sascha Ochsenknecht
9a04daa2b2 Better detection of missing values on command line, Fixes #3423
[SVN r58184]
2009-12-06 09:52:53 +00:00
Sascha Ochsenknecht
5f01f7bf3f better detection of ambiguous options, see Ticket #3423
[SVN r58152]
2009-12-05 08:08:45 +00:00
Sascha Ochsenknecht
6e0f1db1fc Clean up exception classes, changes regarding to Ticket #3423
[SVN r58138]
2009-12-04 13:38:56 +00:00
Sascha Ochsenknecht
35bf26f432 Changed defaults for split_unix() function to be more compliant to unix command line style
[SVN r58134]
2009-12-04 10:15:11 +00:00
Sascha Ochsenknecht
00dadb4203 enhance split_unix() to allow unix style splitting of command line string
[SVN r58133]
2009-12-04 08:09:43 +00:00
Sascha Ochsenknecht
263534a213 rename description_length to min_description_length for better semantic
[SVN r58112]
2009-12-03 11:11:34 +00:00
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
Hartmut Kaiser
5fbdd0fafd ProgramOptions: added a couple of missing std:: namespace qualifiers
[SVN r57984]
2009-11-27 22:07:33 +00:00
Sascha Ochsenknecht
3c9e01cad1 consistent use of namespace std
[SVN r57972]
2009-11-27 17:49:08 +00:00
Sascha Ochsenknecht
b3e9b5180e add general split function, Fixes #2561
[SVN r57971]
2009-11-27 17:47:51 +00:00
Vladimir Prus
370834c5c2 Add BOOST_PROGRAM_OPTIONS_DYN_LINK usage requirement for program_options.
Fixes #2273.


[SVN r57832]
2009-11-21 09:13:58 +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
98b0f14f5a correct usage of tokenizer, memory bug, Fixes #3525
[SVN r57808]
2009-11-20 10:03:08 +00:00
Sascha Ochsenknecht
8add1551dc remove compile warnings
[SVN r57805]
2009-11-20 09:50:43 +00:00
Sascha Ochsenknecht
63c0bf7bfc remove compile warnings, Fixes #2562
[SVN r57800]
2009-11-20 09:09:36 +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
73957ca639 Don't strip quotes from values.
Fixes #850.
Patch from Sascha Ochsenknecht.


[SVN r57519]
2009-11-09 18:12:10 +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
9c934c39fe Use extra parens to silence warnings re &&/|| on same level.
[SVN r57351]
2009-11-04 10:39:55 +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
Vladimir Prus
8f40132e63 Fix 'ambiguous else clause' compiler warning.
Fixes #3556.

Patch from Mateusz Loskot.


[SVN r57270]
2009-11-01 09:18:33 +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
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
Vladimir Prus
6dbc2ac80a Avoid unnamed namespace, to please vacpp.
Closes #3232.


[SVN r55773]
2009-08-25 06:38:59 +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
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
Hartmut Kaiser
79b43138d6 ProgramOptions: Fixed warning about not all control paths returning a value
[SVN r53795]
2009-06-11 20:05:19 +00:00
Vladimir Prus
354717d9c9 Make program_options compile with disabled exceptions.
It appears the all throw statements are during the
parsing, so alternative error reporting strategies are
possible. 
Closes #2096.


[SVN r53723]
2009-06-07 16:10:03 +00:00
Vladimir Prus
badade7842 Explicitly-qualify the use of boost::bind.
It appears that MSVC 10 puts tr1's bind into std namespace, which
clases with boost::bind thanks to ADL.
Closes #3072. Patch from Richard Webb.


[SVN r53700]
2009-06-06 19:57:16 +00:00
Vladimir Prus
55a1a045a3 Include missing #include of 'iterator'.
Addresses #3072.


[SVN r53623]
2009-06-04 10:09:15 +00:00
Vladimir Prus
6aaee3bbef Qualify usage of 'exeception', now that boost also has such name
[SVN r53442]
2009-05-30 10:38:11 +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
Vladimir Prus
620a9a5021 Make 'notify' ignore values without associated semantics.
Fixes #2782.


[SVN r53440]
2009-05-30 10:26:44 +00:00
Jeremiah Willcock
bdbd3dfc42 Fixed almost all tab and min/max issues found by inspect tool
[SVN r53142]
2009-05-20 19:41:20 +00:00
Jeremiah Willcock
3c3b8d8818 Fixed most tab and min/max issues from trunk inspection report
[SVN r53141]
2009-05-20 19:19:00 +00:00