Permalink
Browse files

Imported upstream 1.9.92

Signed-off-by: Stefan Naewe <stefan.naewe@atlas-elektronik.com>
  • Loading branch information...
1 parent fa128d1 commit 9044e52899d148bc8104b45cf536cffa7223c42d Stefan Naewe committed Aug 2, 2012
View
@@ -2,7 +2,7 @@
STLSoft - Changes
; Created: 29th March 2002
-; Updated: 2nd February 2010
+; Updated: 11th February 2010
============================================================================
@@ -19,6 +19,26 @@ STLSoft - Changes
============================================================================
+Changes for 1.9.92 (11th February 2010)
+
+Summary:
+========
+
+ * added inetstl::filesystem_traits<>::is_path_name_separator()
+
+Changes:
+========
+
+ InetSTL:
+ ========
+
+ ~ inetstl/filesystem/filesystem_traits.hpp:
+ + added is_path_name_separator()
+
+
+
+============================================================================
+
Changes for 1.9.91 (2nd February 2010)
Summary:
View
@@ -2,11 +2,17 @@
STLSoft - History
; Created: 29th March 2002
-; Updated: 2nd February 2010
+; Updated: 11th February 2010
============================================================================
+11th February 2010 - 1.9.92 released
+------------------------------------
+
+ * added inetstl::filesystem_traits<>::is_path_name_separator()
+
+
2nd February 2010 - 1.9.91 released
-----------------------------------
View
@@ -2,7 +2,7 @@
STLSoft - Install
; Created: 29th March 2002
-; Updated: 2nd February 2010
+; Updated: 11th February 2010
============================================================================
@@ -11,16 +11,16 @@ STLSoft - Install
It is recommended that you define an STLSOFT environment variable.
For example, if you're using UNIX and you install
- to /usr/local/stlsoft/stlsoft-1.9.91 then you should set the environment
- variable STLSOFT to /usr/local/stlsoft/stlsoft-1.9.91 in which case the
+ to /usr/local/stlsoft/stlsoft-1.9.92 then you should set the environment
+ variable STLSOFT to /usr/local/stlsoft/stlsoft-1.9.92 in which case the
file stlsoft/stlsoft.h will be located in
$STLSOFT/include/stlsoft/stlsoft.h
Conversely, if you're using Windows and you intall
- to C:\3pty\STLSoft\stlsoft-1.9.91 then you should set the environment
- variable STLSoft to C:\3pty\STLSoft\stlsoft-1.9.91 in which case the
+ to C:\3pty\STLSoft\stlsoft-1.9.92 then you should set the environment
+ variable STLSoft to C:\3pty\STLSoft\stlsoft-1.9.92 in which case the
file stlsoft/stlsoft.h will be located in
- C:\3pty\STLSoft\stlsoft-1.9.91\stlsoft\stlsoft.h
+ C:\3pty\STLSoft\stlsoft-1.9.92\stlsoft\stlsoft.h
The makefiles / project files of several other open-source projects expect
this symbol, including:
View
@@ -2,13 +2,15 @@
STLSoft - News
; Created: 29th March 2002
-; Updated: 2nd February 2010
+; Updated: 11th February 2010
============================================================================
News:
+ 11th February 2010 - Release of STLSoft 1.9.92
+
2nd February 2010 - Release of STLSoft 1.9.91
21st January 2010 - Release of STLSoft 1.9.90
@@ -5,11 +5,11 @@
* Unicode specialisations thereof.
*
* Created: 30th April 1999
- * Updated: 10th August 2009
+ * Updated: 31st January 2010
*
* Home: http://stlsoft.org/
*
- * Copyright (c) 1999-2009, Matthew Wilson and Synesis Software
+ * Copyright (c) 1999-2010, Matthew Wilson and Synesis Software
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -51,9 +51,9 @@
#ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
# define INETSTL_VER_INETSTL_FILESYSTEM_HPP_FILESYSTEM_TRAITS_MAJOR 4
-# define INETSTL_VER_INETSTL_FILESYSTEM_HPP_FILESYSTEM_TRAITS_MINOR 1
-# define INETSTL_VER_INETSTL_FILESYSTEM_HPP_FILESYSTEM_TRAITS_REVISION 2
-# define INETSTL_VER_INETSTL_FILESYSTEM_HPP_FILESYSTEM_TRAITS_EDIT 73
+# define INETSTL_VER_INETSTL_FILESYSTEM_HPP_FILESYSTEM_TRAITS_MINOR 2
+# define INETSTL_VER_INETSTL_FILESYSTEM_HPP_FILESYSTEM_TRAITS_REVISION 1
+# define INETSTL_VER_INETSTL_FILESYSTEM_HPP_FILESYSTEM_TRAITS_EDIT 74
#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */
/* /////////////////////////////////////////////////////////////////////////
@@ -200,6 +200,11 @@ struct filesystem_traits
/// Returns \c true if path is an absolute path
static bool_type is_path_absolute(char_type const* path);
+ /// \brief Returns \c true if the character is a path-name separator
+ ///
+ /// \note Both \c / and \c \\ are interpreted as a path name separator
+ static bool_type is_path_name_separator(char_type ch);
+
/// Returns the path separator
///
/// This is the separator that is used to separate multiple paths on the operating system. On UNIX it is ':'
@@ -461,6 +466,11 @@ struct filesystem_traits<is_char_a_t>
return is_path_rooted(path);
}
+ static bool_type is_path_name_separator(char_type ch)
+ {
+ return '/' == ch;
+ }
+
static char_type path_separator()
{
return ';';
View
@@ -5,11 +5,11 @@
* and platform discriminations, and definitions of types.
*
* Created: 24th April 2004
- * Updated: 10th August 2009
+ * Updated: 11th February 2010
*
* Home: http://stlsoft.org/
*
- * Copyright (c) 2004-2009, Matthew Wilson and Synesis Software
+ * Copyright (c) 2004-2010, Matthew Wilson and Synesis Software
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -47,8 +47,8 @@
#ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
# define INETSTL_VER_INETSTL_H_INETSTL_MAJOR 3
# define INETSTL_VER_INETSTL_H_INETSTL_MINOR 5
-# define INETSTL_VER_INETSTL_H_INETSTL_REVISION 2
-# define INETSTL_VER_INETSTL_H_INETSTL_EDIT 50
+# define INETSTL_VER_INETSTL_H_INETSTL_REVISION 4
+# define INETSTL_VER_INETSTL_H_INETSTL_EDIT 52
#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */
/** \file inetstl/inetstl.h \brief [C, C++] The root header for the \ref group__project__inetstl "InetSTL" project. */
@@ -116,12 +116,14 @@
# define _INETSTL_VER_1_3_1 0x010301ff /*!< Version 1.3.1 (with STLSoft 1.9.79) */
# define _INETSTL_VER_1_3_2 0x010302ff /*!< Version 1.3.2 (with STLSoft 1.9.80) */
# define _INETSTL_VER_1_3_3 0x010303ff /*!< Version 1.3.3 (with STLSoft 1.9.86) */
+# define _INETSTL_VER_1_3_4 0x010304ff /*!< Version 1.3.4 (with STLSoft 1.9.91) */
+# define _INETSTL_VER_1_3_5 0x010305ff /*!< Version 1.3.5 (with STLSoft 1.9.92) */
#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */
#define _INETSTL_VER_MAJOR 1
#define _INETSTL_VER_MINOR 3
-#define _INETSTL_VER_REVISION 3
-#define _INETSTL_VER _INETSTL_VER_1_3_3
+#define _INETSTL_VER_REVISION 5
+#define _INETSTL_VER _INETSTL_VER_1_3_5
/* /////////////////////////////////////////////////////////////////////////
* Includes
@@ -5,11 +5,11 @@
* do or do not have a standard library.
*
* Created: 17th January 2002
- * Updated: 10th August 2009
+ * Updated: 10th February 2010
*
* Home: http://stlsoft.org/
*
- * Copyright (c) 2005-2009, Matthew Wilson and Synesis Software
+ * Copyright (c) 2005-2010, Matthew Wilson and Synesis Software
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -55,8 +55,8 @@
#ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
# define STLSOFT_VER_STLSOFT_ALGORITHMS_STD_HPP_ALT_MAJOR 3
# define STLSOFT_VER_STLSOFT_ALGORITHMS_STD_HPP_ALT_MINOR 4
-# define STLSOFT_VER_STLSOFT_ALGORITHMS_STD_HPP_ALT_REVISION 3
-# define STLSOFT_VER_STLSOFT_ALGORITHMS_STD_HPP_ALT_EDIT 75
+# define STLSOFT_VER_STLSOFT_ALGORITHMS_STD_HPP_ALT_REVISION 4
+# define STLSOFT_VER_STLSOFT_ALGORITHMS_STD_HPP_ALT_EDIT 76
#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */
/* /////////////////////////////////////////////////////////////////////////
@@ -416,7 +416,8 @@ template< ss_typename_param_k I
// [[synesis:function:algorithm: std_transform(T<I> first, T<I> last, T<O> dest, T<UF> func)]]
inline O std_transform(I first, I last, O dest, UF func)
{
-#ifdef STLSOFT_CF_std_NAMESPACE
+#if defined(STLSOFT_CF_std_NAMESPACE) && \
+ !defined(STLSOFT_USING_SAFE_STR_FUNCTIONS)
return stlsoft_ns_qual_std(transform)(first, last, dest, func);
#else /* ? STLSOFT_CF_std_NAMESPACE */
for(; first != last; ++first, ++dest)
@@ -4,7 +4,7 @@
* Purpose: Runtime checking for numeric conversions.
*
* Created: 10th August 2006
- * Updated: 12th January 2010
+ * Updated: 3rd February 2010
*
* Home: http://stlsoft.org/
*
@@ -51,7 +51,7 @@
# define STLSOFT_VER_STLSOFT_CONVERSION_HPP_TRUNCATION_TEST_MAJOR 1
# define STLSOFT_VER_STLSOFT_CONVERSION_HPP_TRUNCATION_TEST_MINOR 0
# define STLSOFT_VER_STLSOFT_CONVERSION_HPP_TRUNCATION_TEST_REVISION 5
-# define STLSOFT_VER_STLSOFT_CONVERSION_HPP_TRUNCATION_TEST_EDIT 46
+# define STLSOFT_VER_STLSOFT_CONVERSION_HPP_TRUNCATION_TEST_EDIT 47
#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */
/* /////////////////////////////////////////////////////////////////////////
@@ -388,9 +388,6 @@ inline bool truncation_test_helper_runtime_test(T, yes_type, ...)
return true;
}
-#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */
-
-
template< ss_typename_param_k TO
, ss_typename_param_k FROM
@@ -485,6 +482,8 @@ class truncation_test
};
#else /* ? 0 */
+#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */
+
/** Indicates whether a given value can be cast to a given type without
* truncation
*
@@ -493,7 +492,7 @@ class truncation_test
* Example:
<pre>
truncation_cast&lt;unsigned>(-1); // Will return false, since negatives cannot fit in unsigned
- truncation_cast&lt;short>(30000); // Will return false, since 30000 will fit inside short (assuming short has >= 16-bits)
+ truncation_cast&lt;short>(30000); // Will return true, since 30000 will fit inside short (assuming short has >= 16-bits)
</pre>
*
* \param from The value to be tested
View
@@ -6,7 +6,7 @@
* types.
*
* Created: 15th January 2002
- * Updated: 30th January 2010
+ * Updated: 11th February 2010
*
* Home: http://stlsoft.org/
*
@@ -54,8 +54,8 @@
#ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
# define STLSOFT_VER_STLSOFT_H_STLSOFT_MAJOR 3
# define STLSOFT_VER_STLSOFT_H_STLSOFT_MINOR 21
-# define STLSOFT_VER_STLSOFT_H_STLSOFT_REVISION 11
-# define STLSOFT_VER_STLSOFT_H_STLSOFT_EDIT 399
+# define STLSOFT_VER_STLSOFT_H_STLSOFT_REVISION 12
+# define STLSOFT_VER_STLSOFT_H_STLSOFT_EDIT 400
#else /* ? STLSOFT_DOCUMENTATION_SKIP_SECTION */
/* # include "./internal/doxygen_defs.h" */
#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */
@@ -255,12 +255,13 @@
# define _STLSOFT_VER_1_9_89 0x010959ff /*!< Version 1.9.89 (19th January 2010) */
# define _STLSOFT_VER_1_9_90 0x01095aff /*!< Version 1.9.90 (21st January 2010) */
# define _STLSOFT_VER_1_9_91 0x01095bff /*!< Version 1.9.91 (30th January 2010) */
+# define _STLSOFT_VER_1_9_92 0x01095cff /*!< Version 1.9.92 (11th February 2010) */
#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */
#define _STLSOFT_VER_MAJOR 1
#define _STLSOFT_VER_MINOR 9
-#define _STLSOFT_VER_REVISION 91
-#define _STLSOFT_VER _STLSOFT_VER_1_9_91
+#define _STLSOFT_VER_REVISION 92
+#define _STLSOFT_VER _STLSOFT_VER_1_9_92
/* /////////////////////////////////////////////////////////////////////////
* Basic macros
@@ -87,7 +87,7 @@ namespace stlsoft
template< ss_typename_param_k S
, ss_typename_param_k F
>
-inline S &transform_impl(S &s, F f)
+inline S& transform_impl(S& s, F f)
{
std_transform(s.begin(), s.end(), s.begin(), f);
@@ -101,7 +101,7 @@ inline S &transform_impl(S &s, F f)
* \ingroup group__library__string
*/
template <ss_typename_param_k S>
-inline S &make_upper(S &s)
+inline S& make_upper(S& s)
{
typedef string_traits<S> string_traits_t;
typedef ss_typename_type_k string_traits_t::char_type char_t;
@@ -115,7 +115,7 @@ inline S &make_upper(S &s)
* \ingroup group__library__string
*/
template <ss_typename_param_k S>
-inline S &make_lower(S &s)
+inline S& make_lower(S& s)
{
typedef string_traits<S> string_traits_t;
typedef ss_typename_type_k string_traits_t::char_type char_t;
@@ -5,7 +5,7 @@
* Unicode specialisations thereof.
*
* Created: 15th November 2002
- * Updated: 19th January 2010
+ * Updated: 5th February 2010
*
* Thanks: To Sergey Nikulov, for spotting a pre-processor typo that
* broke GCC -pedantic
@@ -55,8 +55,8 @@
#ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
# define UNIXSTL_VER_UNIXSTL_FILESYSTEM_HPP_FILESYSTEM_TRAITS_MAJOR 4
# define UNIXSTL_VER_UNIXSTL_FILESYSTEM_HPP_FILESYSTEM_TRAITS_MINOR 3
-# define UNIXSTL_VER_UNIXSTL_FILESYSTEM_HPP_FILESYSTEM_TRAITS_REVISION 10
-# define UNIXSTL_VER_UNIXSTL_FILESYSTEM_HPP_FILESYSTEM_TRAITS_EDIT 109
+# define UNIXSTL_VER_UNIXSTL_FILESYSTEM_HPP_FILESYSTEM_TRAITS_REVISION 11
+# define UNIXSTL_VER_UNIXSTL_FILESYSTEM_HPP_FILESYSTEM_TRAITS_EDIT 110
#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */
/* /////////////////////////////////////////////////////////////////////////
@@ -907,9 +907,9 @@ struct filesystem_traits<us_char_a_t>
#if defined(_WIN32) && \
( defined(STLSOFT_COMPILER_IS_INTEL) || \
defined(STLSOFT_COMPILER_IS_MSVC))
- char_type const* dir = ::_getcwd(buffer, cchBuffer);
+ char_type const* dir = ::_getcwd(buffer, int(cchBuffer));
#else /* ? _WIN32 */
- char_type const* dir = ::getcwd(buffer, cchBuffer);
+ char_type const* dir = ::getcwd(buffer, int(cchBuffer));
#endif /* _WIN32 */
return (NULL == dir) ? 0 : str_len(dir);
Oops, something went wrong.

0 comments on commit 9044e52

Please sign in to comment.