Vladimir Prus
d7332e6464
Merge program_options/IBM fix to RC_1_32_0.
...
[SVN r26097]
2004-11-03 07:13:23 +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
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
89a7168a42
Typo
...
[SVN r25106]
2004-09-15 09:56:53 +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
80ecc439cf
Try to fix Comeau problems.
...
[SVN r24741]
2004-08-26 10:07:39 +00:00
Vladimir Prus
2db987de85
Don't even compiler utf8_codecvt_facet.cpp when wstring is not available.
...
This avoids link errors on mingw.
[SVN r24740]
2004-08-26 09:37:53 +00:00
Vladimir Prus
b4192e34b9
Another set of doc/comment edits from Charles.
...
[SVN r24657]
2004-08-23 10:18:09 +00:00
Vladimir Prus
a2946c45fa
Workaround lack of WCHAR_MAX on FreeBSD. Patch from Jonathan Wakely.
...
[SVN r23947]
2004-07-22 09:42:45 +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
0cc6946235
Define environ on Comeau.
...
[SVN r23670]
2004-07-17 07:01:06 +00:00
Vladimir Prus
0535a47431
Replace string::push_back with string::operator+= for the sake on Intel.
...
[SVN r23669]
2004-07-17 06:58:38 +00:00
Vladimir Prus
bb4be6b636
VC fixes:
...
- use ispace, not std::ispace
- include <cctype> (noted by Hartmut Kaiser)
[SVN r23621]
2004-07-16 09:36:36 +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
6dcf98d974
Don't declare environ on WIN32 -- it's already defined in headers and second
...
definition cause warning about different dll linkage.
[SVN r23541]
2004-07-14 11:42:23 +00:00
Vladimir Prus
f084eeac4b
Applied numerious suggestions from Pavel Vozenilek.
...
[SVN r23496]
2004-07-13 15:12:26 +00:00
Vladimir Prus
ee778af57c
More declspecs
...
[SVN r23315]
2004-07-02 08:38:52 +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
54fa9b45fd
Remove unused file.
...
[SVN r23229]
2004-06-28 09:24:30 +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
cd45c6cc04
Make vc6 workaround apply only on vc6, since it suddenly breaks borland.
...
[SVN r23099]
2004-06-15 06:53:43 +00:00
Vladimir Prus
b6f9e1f367
Workaround for vc6/vc7.
...
[SVN r23081]
2004-06-11 06:11:34 +00:00
Vladimir Prus
c4f84e5111
Add extra qualification to help vc7 find the right function.
...
[SVN r23069]
2004-06-10 08:46:24 +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
7d546f5e5e
Don't declare environ on borland, since it chokes on declaration. Remove
...
some unused env-handling code.
[SVN r23053]
2004-06-08 07:10:05 +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
e5ddfade07
Another way to get environment on Metrowerks.
...
[SVN r23015]
2004-06-03 06:57:31 +00:00
Vladimir Prus
3c8fa25d29
Another environment fix for Darwin. Apparently, initialization of 'envrion'
...
as global variable does not work right. Make 'environ' a macro, calling the
right function. Thanks to Michael LaSpina.
[SVN r23013]
2004-06-03 06:39:43 +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
a75d21dafb
Workaround member template specialization bug on Metrowerks.
...
[SVN r22961]
2004-05-28 08:17:40 +00:00
Vladimir Prus
c71c907bcc
Disable parse_config_file specialization for wchar_t if we don't have wstring.
...
[SVN r22925]
2004-05-26 06:25:56 +00:00
Vladimir Prus
ae358c24fb
Employ BOOST_USE_FACET in hope this will fix problems on intel 7.1.
...
[SVN r22924]
2004-05-26 06:14:47 +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
632b835117
Add missing template<>.
...
[SVN r22921]
2004-05-26 05:55:36 +00:00
Vladimir Prus
b184eaeadb
Don't pass variables of different types to std::max, since this break
...
template argument deduction. It appears that on Darwin, unsigned and size_t
are different types.
[SVN r22915]
2004-05-25 07:00:32 +00:00
Vladimir Prus
40defa6f24
Workaround 'getline' bug on Comeau.
...
[SVN r22914]
2004-05-25 06:48:04 +00:00
Vladimir Prus
ef7ff253c7
Add missing includes.
...
[SVN r22912]
2004-05-25 06:03:08 +00:00
Vladimir Prus
18a648ef27
Don't erroneously set 'allow_unregisted' flag.
...
[SVN r22910]
2004-05-24 13:47:03 +00:00
Vladimir Prus
e483571a66
Don't define some specializaton when wide strings are not available.
...
[SVN r22908]
2004-05-24 09:51:23 +00:00
Vladimir Prus
738a54fd21
Metrowerks does not seem to provide '_environ', use 'envrion' in that case.
...
[SVN r22906]
2004-05-24 05:23:51 +00:00
Vladimir Prus
cfb199f976
Replace string::push_back with string::operator+=.
...
[SVN r22905]
2004-05-24 05:02:17 +00:00
Vladimir Prus
e1fa6f7a1d
Added missing "template<>".
...
[SVN r22904]
2004-05-24 05:00:49 +00:00
Vladimir Prus
de43626b2c
Declare the 'environ' variable, since it's not always declared in headers,
...
even on Posix systems.
[SVN r22856]
2004-05-18 07:03:43 +00:00