Commit Graph

417 Commits

Author SHA1 Message Date
Beman Dawes
463cefcf94 system: reduce chance of message() throwing in response to ticket #2098
[SVN r49093]
2008-10-01 18:57:48 +00:00
Beman Dawes
84ff2d0f04 Initial commit: system/test/msvc_system
[SVN r49090]
2008-10-01 18:24:20 +00:00
Beman Dawes
b7cd247b64 Remove redundant Jamfile <define>s
[SVN r49080]
2008-10-01 14:14:58 +00:00
Beman Dawes
d6446d1cfb Add error_code throws
[SVN r48577]
2008-09-04 17:36:56 +00:00
Beman Dawes
6fdac34196 Merge accumulated changes from trunk
[SVN r47300]
2008-07-11 01:25:09 +00:00
Beman Dawes
a97517585c Add const char* constructors to system_error, rationalize test coverage
[SVN r46678]
2008-06-25 14:16:59 +00:00
Beman Dawes
2953464e99 Apply LWG issue 805, using a namespace to emulate scoped enums.
[SVN r46645]
2008-06-24 14:59:10 +00:00
Beman Dawes
69d2a2234c Fix Ticket #1768 by including <boost/config/warning_disable.hpp>
[SVN r45894]
2008-05-29 01:34:53 +00:00
Beman Dawes
98a757dbf7 Fix ticket #1609
[SVN r45830]
2008-05-27 20:01:15 +00:00
Beman Dawes
51e9c56427 Give the 1st and 2nd level index.html files a common look-and-feel.
[SVN r43402]
2008-02-23 14:04:02 +00:00
Beman Dawes
fcdecd4c96 Remove extraneous defines since they are inherited from library build Jamfile
[SVN r42873]
2008-01-20 02:01:35 +00:00
Beman Dawes
bc0ea8a494 Merged tools, system, filesystem from trunk at 41106
[SVN r41109]
2007-11-15 16:31:06 +00:00
Christopher Kohlhoff
4d3adbca3f Try to fix an order-of-initialisation problem with error_category references.
The symptom, which only occurs in some applications, is a crash due to a
dereference of a null pointer. The exact conditions under which the problem
occurs are not fully understood, so this fix is probably more paranoid than
necessary.


[SVN r41100]
2007-11-15 06:19:04 +00:00
Beman Dawes
966931ad20 Include system-specific headers, change namespaces accordingly.
[SVN r41040]
2007-11-12 17:42:42 +00:00
Beman Dawes
04a62ca2b1 Add separate headers for system-specific enums, thus reducing coupling. Suggested by Emil Dotchevski.
[SVN r41033]
2007-11-12 15:22:24 +00:00
Beman Dawes
8d33f005b0 Borland appends newline, so just check text
[SVN r40926]
2007-11-08 12:35:50 +00:00
Beman Dawes
f9cbc5a384 Cope with larger errno on 64-bit systems
[SVN r40918]
2007-11-08 02:55:21 +00:00
Beman Dawes
d8116dd036 Remove prematurely committed portion of prior change
[SVN r40825]
2007-11-06 02:54:29 +00:00
Beman Dawes
c517a05702 Make message test conditional for Windows, Linux, HP-UX, OSF, and VMS (Boris Gubenko)
[SVN r40824]
2007-11-06 02:29:50 +00:00
Beman Dawes
c4ded309f8 Add message display to illuminate why aCC fails Unknown error test
[SVN r40782]
2007-11-05 12:36:41 +00:00
Beman Dawes
fdeda4c580 Workaround MingW doesn't supply GetUserDefaultUILanguage
[SVN r40744]
2007-11-04 17:18:53 +00:00
Beman Dawes
323dfd55a5 glibc++ may append unknown error value, so only test first part of string
[SVN r40738]
2007-11-04 15:32:03 +00:00
Beman Dawes
e0c466534b Detect Windows FormatMessage errors, standardize message() return on message-not-found errors
[SVN r40710]
2007-11-03 00:49:07 +00:00
Beman Dawes
e4fc987f74 WinCE workaround for lack of FormatMessageA
[SVN r40682]
2007-11-02 12:43:47 +00:00
Beman Dawes
1430daeb8c Add missing BOOST_SYSTEM_NO_DEPRECATED #ifndef
[SVN r40627]
2007-10-31 18:28:39 +00:00
Vladimir Prus
d0dd2d3764 Make sure every library can be installed by using
bjam stage|install

in libs/<library>/build.


[SVN r40475]
2007-10-26 09:04:25 +00:00
Beman Dawes
6eda75a19e Fix linux_errno misspelling
[SVN r40360]
2007-10-23 15:04:43 +00:00
Beman Dawes
2f9e1cee92 Rename posix, windows, Linux, and cygwin namespaces to conform with C++ std.
[SVN r40352]
2007-10-23 13:00:18 +00:00
Beman Dawes
6b89c517f9 Limit Windows expected message check to US English
[SVN r39609]
2007-09-29 19:40:23 +00:00
Beman Dawes
1101e65491 Quiet compiler warnings
[SVN r39585]
2007-09-28 02:03:29 +00:00
Beman Dawes
d9449298c0 AIX treats ENOTEMPTY and EEXIST as the same value. Reported by Chris Cambly
[SVN r39577]
2007-09-27 16:56:23 +00:00
Beman Dawes
35374bcb3d Turns out the --dep_name errors were due to functions in the wrong namespace (Chris Kohlhoff)
[SVN r39553]
2007-09-26 17:48:27 +00:00
Beman Dawes
4bd0f9e70d Supply std:: to fix Borland 5.9.2 errors
[SVN r39525]
2007-09-25 17:27:04 +00:00
Christopher Kohlhoff
4a364b1532 Use a switch rather than an array to translate system_category error codes to their corresponding default error conditions. Add translations for the Winsock error codes.
[SVN r39502]
2007-09-24 12:53:37 +00:00
Beman Dawes
2aa7ebf758 Fix order-of-initialization problem, add initialization_test.cpp to detect regression.
[SVN r39449]
2007-09-21 16:42:27 +00:00
Beman Dawes
a9e9f426cc Some compilers require all of the make_error_* functions be template specializations. See prior log message.
[SVN r39438]
2007-09-21 11:45:23 +00:00
Beman Dawes
640383329f Strictly conforming compilers (EDG with --dep_name) require the make_* functions be defined before used. Report and fix from Markus Schopflin. EDG info from Boris Gubenko.
[SVN r39428]
2007-09-20 21:04:34 +00:00
Beman Dawes
e4ca75e70a Add get_posix_category, get_system_category, to solve order-of-initialization issues
[SVN r39396]
2007-09-19 19:30:23 +00:00
Beman Dawes
4ff64eea34 Add get_posix_category, get_system_category, to solve order-of-initialization issues
[SVN r39394]
2007-09-19 19:28:56 +00:00
K. Noel Belcourt
64b936097f Remove unnecessary overhead in execunix.c related to
the timeout implementation.  Also removed unused variables
as diagnosed by the Sgi (mipspro) compiler.

Fixed const-correctness error in operations.hpp that
Sgi complained about.

There's no strerror_r function on Irix 6.5 so I replaced
it with a strerror call.

With these changes, I can now build process jam log and
start running Sgi tests.



[SVN r39378]
2007-09-18 22:46:26 +00:00
Beman Dawes
9e9ac45181 quiet compiler warning
[SVN r39375]
2007-09-18 21:01:26 +00:00
Beman Dawes
f114239d60 Missing std added to ::remove to clear problem in Sun tests
[SVN r39292]
2007-09-15 01:36:14 +00:00
Beman Dawes
f733867bb0 Replace docs with up-to-date contents, design
[SVN r39270]
2007-09-14 15:45:36 +00:00
Beman Dawes
3f0a2acbe1 Supply errno values missing from Windows Mobile
[SVN r39261]
2007-09-14 10:37:11 +00:00
Beman Dawes
19892ad06b Remove <runtime-link>static to see if that is what is causing link problems on a few gcc platforms
[SVN r39255]
2007-09-14 02:00:25 +00:00
Beman Dawes
0a283a8f00 Ensure error_category::operator< test works regardless of how compiler lays out memory.
[SVN r39248]
2007-09-13 21:47:25 +00:00
Beman Dawes
1818d5f65a Some compilers warn on trailing enum constant list commas, so remove these to quiet the warnings.
[SVN r39226]
2007-09-12 21:43:20 +00:00
Beman Dawes
0af65ce63f Ha! Finally figured out how to shut off msvc exception switch warning. Also fix define misspelling.
[SVN r39188]
2007-09-11 02:07:50 +00:00
Beman Dawes
7f66a1ea0f Chris Kohlhoff says change needed for asio to link correctly
[SVN r39186]
2007-09-11 01:11:03 +00:00
Beman Dawes
e062aaff2f Posix and Linux fixes
[SVN r39174]
2007-09-09 17:48:17 +00:00