Vladimir Prus
07778adab7
Use direct cast from any to reference, recently introduced in CVS.
...
[SVN r28411]
2005-04-22 12:56:15 +00:00
Vladimir Prus
c2442fcad6
Remove a couple of unused option_description members.
...
[SVN r27494]
2005-02-24 12:57:07 +00:00
Vladimir Prus
58d35a27b9
Change "throw" to "throw_exception".
...
[SVN r27398]
2005-02-16 09:03:19 +00:00
Vladimir Prus
69d2f8fb21
Use "const char * const []" for parameters which take command line.
...
[SVN r27397]
2005-02-16 08:09:36 +00:00
Vladimir Prus
cedd6570fd
Patches for IRIX MIPSPro. See
...
https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1115576&group_id=7586
[SVN r27269]
2005-02-09 09:06:45 +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
87558bfe7c
Added wordwrapping and improved intentation for options_description
...
output.
Patch from Bertolt Mildner.
[SVN r26679]
2005-01-12 12:05:47 +00:00
John Maddock
a122bb502b
Fixed and activated auto-linking code.
...
[SVN r26145]
2004-11-08 12:21:52 +00:00
Vladimir Prus
9bd7193660
Make program_options compile on IBM compiler.
...
Patch from Matthias Troyer.
[SVN r26096]
2004-11-03 07:11:45 +00:00
Vladimir Prus
e7fd9b25ad
Add comments
...
[SVN r26081]
2004-11-02 07:41:35 +00:00
Vladimir Prus
adab37a443
Intel workaround
...
[SVN r25425]
2004-09-27 06:56:36 +00:00
Vladimir Prus
de971fc1e0
Add declspec, in hope to fix a CW9.3 problem
...
[SVN r25399]
2004-09-25 10:02:17 +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
ea1ce5aa1f
More validation_error text improments
...
[SVN r25142]
2004-09-16 07:23:28 +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
72fda8877a
Comment edit
...
[SVN r25107]
2004-09-15 09:57:32 +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
7fa6a814ab
Move include of <detail/workaround.hpp>
...
before the point where BOOST_WORKAROUND is used. Thanks to
Llew Sion Goodstadt.
[SVN r24936]
2004-09-06 12:01:38 +00:00
Vladimir Prus
aed75819ef
Fix a couple of warnings, thanks to Rodolfo Schulz de Lima.
...
[SVN r24931]
2004-09-06 06:13:42 +00:00
Vladimir Prus
ecc78f148c
Clarify doc comment.
...
[SVN r24689]
2004-08-24 05:36:11 +00:00
Vladimir Prus
b4192e34b9
Another set of doc/comment edits from Charles.
...
[SVN r24657]
2004-08-23 10:18:09 +00:00
Douglas Gregor
c789115d52
Converted to Boost Software License, Version 1.0
...
[SVN r24096]
2004-07-27 03:43:34 +00:00
Vladimir Prus
138d959d68
Don't instantiate std::vector with incomplete type, this is not allowed.
...
Thanks to Jonathan Wakely for the report.
[SVN r23942]
2004-07-22 07:39:34 +00:00
Vladimir Prus
2aa09ac7b2
Fix the utf8_codecvt::do_length declaration. Pointed out by Rene Rivera.
...
[SVN r23882]
2004-07-21 07:49:15 +00:00
Vladimir Prus
3e4531b71f
Make the library compile on mingw, again. Thanks to Janusz Piwowarski for the
...
patch.
[SVN r23772]
2004-07-19 08:38:03 +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
9133a2e903
Added 'split_winmain' function.
...
[SVN r23550]
2004-07-14 15:57:02 +00:00
Vladimir Prus
9281df58d2
Include wchar.h so that mbstate_t is available in global namespace. Maybe,
...
I should revert the last patch, which made the file use ::mbstate_t as
opposed to std::mbstate_t, but I'm waiting for Pavel to tell why it was
necessary to use ::mbstate_t and if this version of borland can be made
to work in some other way.
[SVN r23528]
2004-07-14 08:36:58 +00:00
Vladimir Prus
f084eeac4b
Applied numerious suggestions from Pavel Vozenilek.
...
[SVN r23496]
2004-07-13 15:12:26 +00:00
Vladimir Prus
fec30e0c6c
Workaround bugs in std::vector<bool> on msvc 7.1.
...
Thanks to Rob Lievaart for reporting/diagnosing this.
[SVN r23372]
2004-07-06 15:48:48 +00:00
Vladimir Prus
7a614e26ef
More declspecs.
...
[SVN r23280]
2004-06-30 07:16:09 +00:00
Vladimir Prus
82ecb460b3
Add missing DLL exports for Windows.
...
[SVN r23249]
2004-06-29 07:36: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
7c452dcfac
Another attempt to make sun happy.
...
[SVN r23108]
2004-06-17 07:00:01 +00:00
Vladimir Prus
df45b22508
More vc6 workarounds.
...
[SVN r23101]
2004-06-15 09:15:32 +00:00
Vladimir Prus
b6f9e1f367
Workaround for vc6/vc7.
...
[SVN r23081]
2004-06-11 06:11:34 +00:00
Vladimir Prus
b441ebab91
Restructure the implementation to avoid the need to specialize member
...
templates, which does not work on some compilers.
* new 'to_internal' function which takes a vector.
* new 'common_command_line_parser' class.
[SVN r23054]
2004-06-08 08:14:09 +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
2466bdea09
Introduce new 'to_internal' function. Don't specialize
...
basic_config_file_iterator::getline on wchar_t, since that causes problems
with borland and vc7.
[SVN r23043]
2004-06-07 14:10:55 +00:00
Vladimir Prus
1382cbcc3c
More size_t -> std::size_t conversion. Drop "throw()" from do_length
...
method in codecvt -- it's not needed there.
[SVN r22995]
2004-06-02 06:12:45 +00:00
Vladimir Prus
f903b7acbb
Fix a typo. Workaround lack of std::size_t.
...
[SVN r22992]
2004-06-01 08:56:42 +00:00
Vladimir Prus
398c5acb84
More metrowerks fixes.
...
[SVN r22980]
2004-05-31 07:13:19 +00:00
Vladimir Prus
a75d21dafb
Workaround member template specialization bug on Metrowerks.
...
[SVN r22961]
2004-05-28 08:17:40 +00:00
Vladimir Prus
928a51d8d9
Qualify mbstate_t with std::. Prior version expected the type to exist in
...
global namespace.
[SVN r22923]
2004-05-26 06:06:40 +00:00
Vladimir Prus
5308f44756
Remove extra ";".
...
[SVN r22922]
2004-05-26 05:59:58 +00:00
Vladimir Prus
74b11a8ad4
Attempt at fixing access to private member from nested class on Sun compiler.
...
[SVN r22917]
2004-05-25 07:23:09 +00:00
Vladimir Prus
ef7ff253c7
Add missing includes.
...
[SVN r22912]
2004-05-25 06:03:08 +00:00
Vladimir Prus
b0a5de3390
Fix typo.
...
[SVN r22885]
2004-05-21 06:44:33 +00:00