Commit Graph

475 Commits

Author SHA1 Message Date
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
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
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
07f98fc711 Correct URLS in DOCTYPE element.
[SVN r23362]
2004-07-06 06:10:54 +00:00
Douglas Gregor
75fcc5fbe1 Back off to XInclude 2001
[SVN r23350]
2004-07-05 17:36:15 +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
33721085c6 Add DLL flavour for all tests. Not sure if this will be permanent change,
but really have to make sure I've used dllexport in all necessary places,
and don't have access to vc at the moment.


[SVN r23230]
2004-06-28 09:31:28 +00:00
Vladimir Prus
54fa9b45fd Remove unused file.
[SVN r23229]
2004-06-28 09:24:30 +00:00
Vladimir Prus
9d1a3565d0 VC6/VC7 workaround
[SVN r23199]
2004-06-26 11:33:02 +00:00
Vladimir Prus
a031382c91 Try to workaround vc7 failure by adding & when taking function address.
[SVN r23180]
2004-06-25 12:21:21 +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
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
268a9c748f Add test-suite declaration
[SVN r23088]
2004-06-11 11:43:14 +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
6735b65175 Some borland fixes.
[SVN r23068]
2004-06-10 08:35:36 +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
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
f2d796c835 Another workaround for lack of templated vector ctor on Intel.
[SVN r22958]
2004-05-28 07:28:04 +00:00
Vladimir Prus
0219187044 Turns out intel just don't have templated vector constructor in some
configurations. Introduce auxilliary function to conveniently create vectors
from arrays.


[SVN r22952]
2004-05-27 14:36:53 +00:00
Vladimir Prus
cf02adf126 Fix a typo in the previous commit.
[SVN r22951]
2004-05-27 14:17:53 +00:00
Vladimir Prus
f1e659daf3 Intel 7.1 does not like passing char*[] and char** as two arguments to
vector<string> constructor. Try to workaround this.


[SVN r22950]
2004-05-27 14:13:24 +00:00
Vladimir Prus
f1cf5787c4 Minor edit.
[SVN r22947]
2004-05-27 07:02:58 +00:00
Vladimir Prus
b0a42e54fe Add forwarning 'index.html'.
[SVN r22945]
2004-05-27 06:39:11 +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
5308f44756 Remove extra ";".
[SVN r22922]
2004-05-26 05:59:58 +00:00
Vladimir Prus
632b835117 Add missing template<>.
[SVN r22921]
2004-05-26 05:55:36 +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