Skip to content

Commit

Permalink
Imported upstream 1.9.113
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Naewe <stefan.naewe@atlas-elektronik.com>
  • Loading branch information
Stefan Naewe committed Aug 2, 2012
1 parent 6e87366 commit 3369df6
Show file tree
Hide file tree
Showing 24 changed files with 876 additions and 441 deletions.
83 changes: 82 additions & 1 deletion CHANGES.txt
Expand Up @@ -2,7 +2,7 @@
STLSoft - Changes STLSoft - Changes


; Created: 29th March 2002 ; Created: 29th March 2002
; Updated: 7th February 2012 ; Updated: 4th June 2012


============================================================================ ============================================================================


Expand All @@ -16,6 +16,87 @@ STLSoft - Changes
* * * *
************************************** **************************************


============================================================================

Changes for 1.9.113 (4th June 2012)

Summary:
========

* Intel C/C++ 12 support
* support for STLSOFT_COMPILE_VERBOSE; deprecation of _STLSOFT_COMPILE_VERBOSE
* fixed unixstl::filesystem_traits::broken get_current_directory()
* fixed unixstl::filesystem_traits::broken invalid_file_handle_value()
* fixed unixstl::filesystem_traits::is_file() / is_directory() / is_link()
* numerous improvements to unixstl::filesystem_traits::glob_sequence
* unixstl::readdir_sequence correction to elide sockets from search results
* winstl/time/conversion_functions.h renaming (and deprecation) of non-standard C function names

Changes:
========


STLSoft:
========

~ stlsoft/internal/cccap/gcc.h:
+ added STLSOFT_GCC_VER

~ stlsoft/shims/access/string/std/exception.hpp:
~ strengthened contract of implementation function

~ stlsoft/stlsoft.h:
+ Intel C/C++ 12 support
~ reworking of use of STLSOFT_COMPILE_VERBOSE; deprecation of _STLSOFT_COMPILE_VERBOSE

~ stlsoft/string/special_string_instance.hpp:
~ trivial change

~ stlsoft/util/std/library_discriminator.hpp:
~ reworking of use of STLSOFT_COMPILE_VERBOSE; deprecation of _STLSOFT_COMPILE_VERBOSE

UNIXSTL:
========

~ unixstl/filesystem/filesystem_traits.hpp:
~ fixed broken get_current_directory()
~ corrected return value of invalid_file_handle_value() : now returns -1, rather than 0
~ corrected inappropriate flag testing to identify files/directories/links

~ unixstl/filesystem/glob_sequence.hpp:
~ correct elision (or not) of dots directories, based on whether pattern contains wildcards and on whether matchPeriod is specified
~ fixed defect
~ simplified implementation, and now elides non-directory, non-file types (e.g. sockets)
~ no longer specifies noSort by default
- removed some dead code
~ clarified user-definable feature selection instructions
~ correct handling of UNIXSTL_GLOB_SEQUENCE_DONT_TRUST_MARK
~ changed internal API
~ corrected rarely encountered defect in eliding dots directories
~ fixed erroneous 1-param ctor
~ minor refactoring
~ corrected inappropriate flag testing to identify files/directories/links

~ unixstl/filesystem/readdir_sequence.hpp:
~ forward compatibility
~ correction for presence of sockets (non-Windows only)

WinSTL:
=======

~ winstl/registry/reg_key.hpp:
~ const-correctness on REG_MULTI_SZ values

~ winstl/time/conversion_functions.h:
~ conversion of deprecated winstl__??? form to winstl_C_??? form
~ trivial formatting changes
+ added documentation markup

~ winstl/winstl.h:
~ Intel C/C++ 12 compatibility



============================================================================ ============================================================================


Changes for 1.9.112 (7th February 2012) Changes for 1.9.112 (7th February 2012)
Expand Down
15 changes: 14 additions & 1 deletion HISTORY.txt
Expand Up @@ -2,11 +2,24 @@
STLSoft - History STLSoft - History


; Created: 29th March 2002 ; Created: 29th March 2002
; Updated: 7th February 2012 ; Updated: 4th June 2012


============================================================================ ============================================================================




4th June 2012 - 1.9.113 released
--------------------------------

* Intel C/C++ 12 support
* support for STLSOFT_COMPILE_VERBOSE; deprecation of _STLSOFT_COMPILE_VERBOSE
* fixed unixstl::filesystem_traits::broken get_current_directory()
* fixed unixstl::filesystem_traits::broken invalid_file_handle_value()
* fixed unixstl::filesystem_traits::is_file() / is_directory() / is_link()
* numerous improvements to unixstl::filesystem_traits::glob_sequence
* unixstl::readdir_sequence correction to elide sockets from search results
* winstl/time/conversion_functions.h renaming (and deprecation) of non-standard C function names


7th February 2012 - 1.9.112 released 7th February 2012 - 1.9.112 released
------------------------------------ ------------------------------------


Expand Down
12 changes: 6 additions & 6 deletions INSTALL.txt
Expand Up @@ -2,7 +2,7 @@
STLSoft - Install STLSoft - Install


; Created: 29th March 2002 ; Created: 29th March 2002
; Updated: 7th February 2012 ; Updated: 3rd June 2012


============================================================================ ============================================================================


Expand All @@ -11,16 +11,16 @@ STLSoft - Install
It is recommended that you define an STLSOFT environment variable. It is recommended that you define an STLSOFT environment variable.


For example, if you're using UNIX and you install For example, if you're using UNIX and you install
to /usr/local/stlsoft/stlsoft-1.9.112 then you should set the environment to /usr/local/stlsoft/stlsoft-1.9.113 then you should set the environment
variable STLSOFT to /usr/local/stlsoft/stlsoft-1.9.112 in which case the variable STLSOFT to /usr/local/stlsoft/stlsoft-1.9.113 in which case the
file stlsoft/stlsoft.h will be located in file stlsoft/stlsoft.h will be located in
$STLSOFT/include/stlsoft/stlsoft.h $STLSOFT/include/stlsoft/stlsoft.h


Conversely, if you're using Windows and you intall Conversely, if you're using Windows and you intall
to C:\3pty\STLSoft\stlsoft-1.9.112 then you should set the environment to C:\3pty\STLSoft\stlsoft-1.9.113 then you should set the environment
variable STLSoft to C:\3pty\STLSoft\stlsoft-1.9.112 in which case the variable STLSoft to C:\3pty\STLSoft\stlsoft-1.9.113 in which case the
file stlsoft/stlsoft.h will be located in file stlsoft/stlsoft.h will be located in
C:\3pty\STLSoft\stlsoft-1.9.112\stlsoft\stlsoft.h C:\3pty\STLSoft\stlsoft-1.9.113\stlsoft\stlsoft.h


The makefiles / project files of several other open-source projects expect The makefiles / project files of several other open-source projects expect
this symbol, including: this symbol, including:
Expand Down
4 changes: 3 additions & 1 deletion NEWS.txt
Expand Up @@ -2,13 +2,15 @@
STLSoft - News STLSoft - News


; Created: 29th March 2002 ; Created: 29th March 2002
; Updated: 7th February 2012 ; Updated: 4th June 2012


============================================================================ ============================================================================




News: News:


4th June 2012 - Release of STLSoft 1.9.113

7th February 2012 - Release of STLSoft 1.9.112 7th February 2012 - Release of STLSoft 1.9.112


30th November 2011 - Release of STLSoft 1.9.111 30th November 2011 - Release of STLSoft 1.9.111
Expand Down
25 changes: 13 additions & 12 deletions include/atlstl/atlstl.hpp
Expand Up @@ -5,11 +5,11 @@
* and platform discriminations, and definitions of types. * and platform discriminations, and definitions of types.
* *
* Created: 15th January 2002 * Created: 15th January 2002
* Updated: 10th August 2009 * Updated: 2nd March 2012
* *
* Home: http://stlsoft.org/ * Home: http://stlsoft.org/
* *
* Copyright (c) 2002-2009, Matthew Wilson and Synesis Software * Copyright (c) 2002-2012, Matthew Wilson and Synesis Software
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -46,9 +46,9 @@
/* File version */ /* File version */
#ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION #ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
# define ATLSTL_VER_ATLSTL_HPP_ATLSTL_MAJOR 3 # define ATLSTL_VER_ATLSTL_HPP_ATLSTL_MAJOR 3
# define ATLSTL_VER_ATLSTL_HPP_ATLSTL_MINOR 4 # define ATLSTL_VER_ATLSTL_HPP_ATLSTL_MINOR 5
# define ATLSTL_VER_ATLSTL_HPP_ATLSTL_REVISION 3 # define ATLSTL_VER_ATLSTL_HPP_ATLSTL_REVISION 1
# define ATLSTL_VER_ATLSTL_HPP_ATLSTL_EDIT 105 # define ATLSTL_VER_ATLSTL_HPP_ATLSTL_EDIT 106
#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */ #endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */


/** \file atlstl/atlstl.hpp /** \file atlstl/atlstl.hpp
Expand Down Expand Up @@ -126,12 +126,13 @@
# define _ATLSTL_VER_1_5_2 0x00010502 /*!< Version 1.5.2 */ # define _ATLSTL_VER_1_5_2 0x00010502 /*!< Version 1.5.2 */
# define _ATLSTL_VER_1_6_1 0x00010601 /*!< Version 1.6.1 (with STLSoft 1.9.1) */ # define _ATLSTL_VER_1_6_1 0x00010601 /*!< Version 1.6.1 (with STLSoft 1.9.1) */
# define _ATLSTL_VER_1_6_2 0x00010602 /*!< Version 1.6.2 (with STLSoft 1.9.25) */ # define _ATLSTL_VER_1_6_2 0x00010602 /*!< Version 1.6.2 (with STLSoft 1.9.25) */
# define _ATLSTL_VER_1_6_3 0x010603ff /*!< Version 1.6.3 (with STLSoft 1.9.113) */
#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */ #endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */


#define _ATLSTL_VER_MAJOR 1 #define _ATLSTL_VER_MAJOR 1
#define _ATLSTL_VER_MINOR 6 #define _ATLSTL_VER_MINOR 6
#define _ATLSTL_VER_REVISION 2 #define _ATLSTL_VER_REVISION 3
#define _ATLSTL_VER _ATLSTL_VER_1_6_2 #define _ATLSTL_VER _ATLSTL_VER_1_6_3


/* ///////////////////////////////////////////////////////////////////////// /* /////////////////////////////////////////////////////////////////////////
* Includes * Includes
Expand Down Expand Up @@ -166,9 +167,9 @@ extern CComModule _Module;
* STLSoft version compatibility * STLSoft version compatibility
*/ */


#if !defined(_STLSOFT_VER_1_9_1_B41) || \ #if !defined(_STLSOFT_VER) || \
_STLSOFT_VER < _STLSOFT_VER_1_9_1_B41 _STLSOFT_VER < 0x010971ff
# error This version of the ATLSTL libraries requires STLSoft version 1.9.1 beta 41, or later # error This version of the ATLSTL libraries requires STLSoft version 1.9.113, or later
#endif /* _STLSOFT_VER */ #endif /* _STLSOFT_VER */


/* ///////////////////////////////////////////////////////////////////////// /* /////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -217,9 +218,9 @@ extern CComModule _Module;
/* No recognised compiler */ /* No recognised compiler */
# ifdef _STLSOFT_FORCE_ANY_COMPILER # ifdef _STLSOFT_FORCE_ANY_COMPILER
# define _ATLSTL_COMPILER_IS_UNKNOWN # define _ATLSTL_COMPILER_IS_UNKNOWN
# ifdef _STLSOFT_COMPILE_VERBOSE # ifdef STLSOFT_COMPILE_VERBOSE
# pragma message("Compiler is unknown to ATLSTL") # pragma message("Compiler is unknown to ATLSTL")
# endif /* _STLSOFT_COMPILE_VERBOSE */ # endif /* STLSOFT_COMPILE_VERBOSE */
# else /* ? _STLSOFT_FORCE_ANY_COMPILER */ # else /* ? _STLSOFT_FORCE_ANY_COMPILER */
# error Currently only Borland C++, Digital Mars C/C++, Intel C/C++, Metrowerks CodeWarrior and Visual C++ compilers are supported by the ATLSTL libraries # error Currently only Borland C++, Digital Mars C/C++, Intel C/C++, Metrowerks CodeWarrior and Visual C++ compilers are supported by the ATLSTL libraries
# endif /* _STLSOFT_FORCE_ANY_COMPILER */ # endif /* _STLSOFT_FORCE_ANY_COMPILER */
Expand Down
21 changes: 11 additions & 10 deletions include/comstl/comstl.h
Expand Up @@ -5,11 +5,11 @@
* and platform discriminations, and definitions of types. * and platform discriminations, and definitions of types.
* *
* Created: 15th January 2002 * Created: 15th January 2002
* Updated: 12th May 2010 * Updated: 2nd March 2012
* *
* Home: http://stlsoft.org/ * Home: http://stlsoft.org/
* *
* Copyright (c) 2002-2010, Matthew Wilson and Synesis Software * Copyright (c) 2002-2012, Matthew Wilson and Synesis Software
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -51,9 +51,9 @@
/* File version */ /* File version */
#ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION #ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
# define COMSTL_VER_COMSTL_H_COMSTL_MAJOR 3 # define COMSTL_VER_COMSTL_H_COMSTL_MAJOR 3
# define COMSTL_VER_COMSTL_H_COMSTL_MINOR 8 # define COMSTL_VER_COMSTL_H_COMSTL_MINOR 9
# define COMSTL_VER_COMSTL_H_COMSTL_REVISION 1 # define COMSTL_VER_COMSTL_H_COMSTL_REVISION 1
# define COMSTL_VER_COMSTL_H_COMSTL_EDIT 115 # define COMSTL_VER_COMSTL_H_COMSTL_EDIT 116
#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */ #endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */


/** \file comstl/comstl.h /** \file comstl/comstl.h
Expand Down Expand Up @@ -148,12 +148,13 @@
# define _COMSTL_VER_1_8_5 0x010805ff /*!< Version 1.8.5 (with STLSoft 1.9.88) */ # define _COMSTL_VER_1_8_5 0x010805ff /*!< Version 1.8.5 (with STLSoft 1.9.88) */
# define _COMSTL_VER_1_8_6 0x010806ff /*!< Version 1.8.6 (with STLSoft 1.9.97) */ # define _COMSTL_VER_1_8_6 0x010806ff /*!< Version 1.8.6 (with STLSoft 1.9.97) */
# define _COMSTL_VER_1_9_1 0x010901ff /*!< Version 1.9.1 (with STLSoft 1.9.98) */ # define _COMSTL_VER_1_9_1 0x010901ff /*!< Version 1.9.1 (with STLSoft 1.9.98) */
# define _COMSTL_VER_1_9_2 0x010902ff /*!< Version 1.9.2 (with STLSoft 1.9.113) */
#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */ #endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */


#define _COMSTL_VER_MAJOR 1 #define _COMSTL_VER_MAJOR 1
#define _COMSTL_VER_MINOR 9 #define _COMSTL_VER_MINOR 9
#define _COMSTL_VER_REVISION 1 #define _COMSTL_VER_REVISION 2
#define _COMSTL_VER _COMSTL_VER_1_9_1 #define _COMSTL_VER _COMSTL_VER_1_9_2


/* ///////////////////////////////////////////////////////////////////////// /* /////////////////////////////////////////////////////////////////////////
* Includes * Includes
Expand Down Expand Up @@ -187,8 +188,8 @@
*/ */


#if !defined(_STLSOFT_VER) || \ #if !defined(_STLSOFT_VER) || \
_STLSOFT_VER < 0x01093bff _STLSOFT_VER < 0x010971ff
# error This version of the COMSTL libraries requires STLSoft version 1.9.59, or later # error This version of the COMSTL libraries requires STLSoft version 1.9.113, or later
#endif /* _STLSOFT_VER */ #endif /* _STLSOFT_VER */


/* ///////////////////////////////////////////////////////////////////////// /* /////////////////////////////////////////////////////////////////////////
Expand Down Expand Up @@ -252,9 +253,9 @@
/* No recognised compiler */ /* No recognised compiler */
# ifdef _STLSOFT_FORCE_ANY_COMPILER # ifdef _STLSOFT_FORCE_ANY_COMPILER
# define _COMSTL_COMPILER_IS_UNKNOWN # define _COMSTL_COMPILER_IS_UNKNOWN
# ifdef _STLSOFT_COMPILE_VERBOSE # ifdef STLSOFT_COMPILE_VERBOSE
# pragma message("Compiler is unknown to COMSTL") # pragma message("Compiler is unknown to COMSTL")
# endif /* _STLSOFT_COMPILE_VERBOSE */ # endif /* STLSOFT_COMPILE_VERBOSE */
# else /* ? _STLSOFT_FORCE_ANY_COMPILER */ # else /* ? _STLSOFT_FORCE_ANY_COMPILER */
# error Currently only Borland C++, Comeau, Digital Mars C/C++, Intel C/C++, Metrowerks CodeWarrior C/C++ and Visual C++ compilers are supported by the COMSTL libraries # error Currently only Borland C++, Comeau, Digital Mars C/C++, Intel C/C++, Metrowerks CodeWarrior C/C++ and Visual C++ compilers are supported by the COMSTL libraries
# endif /* _STLSOFT_FORCE_ANY_COMPILER */ # endif /* _STLSOFT_FORCE_ANY_COMPILER */
Expand Down
25 changes: 13 additions & 12 deletions include/dotnetstl/dotnetstl.hpp
Expand Up @@ -5,11 +5,11 @@
* and platform discriminations, and definitions of types. * and platform discriminations, and definitions of types.
* *
* Created: 12th May 2003 * Created: 12th May 2003
* Updated: 10th August 2009 * Updated: 2nd March 2012
* *
* Home: http://stlsoft.org/ * Home: http://stlsoft.org/
* *
* Copyright (c) 2003-2009, Matthew Wilson and Synesis Software * Copyright (c) 2003-2012, Matthew Wilson and Synesis Software
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -46,9 +46,9 @@
/* File version */ /* File version */
#ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION #ifndef STLSOFT_DOCUMENTATION_SKIP_SECTION
# define DOTNETSTL_VER_DOTNETSTL_HPP_DOTNETSTL_MAJOR 3 # define DOTNETSTL_VER_DOTNETSTL_HPP_DOTNETSTL_MAJOR 3
# define DOTNETSTL_VER_DOTNETSTL_HPP_DOTNETSTL_MINOR 4 # define DOTNETSTL_VER_DOTNETSTL_HPP_DOTNETSTL_MINOR 5
# define DOTNETSTL_VER_DOTNETSTL_HPP_DOTNETSTL_REVISION 2 # define DOTNETSTL_VER_DOTNETSTL_HPP_DOTNETSTL_REVISION 1
# define DOTNETSTL_VER_DOTNETSTL_HPP_DOTNETSTL_EDIT 50 # define DOTNETSTL_VER_DOTNETSTL_HPP_DOTNETSTL_EDIT 51
#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */ #endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */


/** \file dotnetstl/dotnetstl.hpp /** \file dotnetstl/dotnetstl.hpp
Expand Down Expand Up @@ -115,12 +115,13 @@
# define DOTNETSTL_VER_1_2_3 0x00010203 /*!< Version 1.2.3 */ # define DOTNETSTL_VER_1_2_3 0x00010203 /*!< Version 1.2.3 */
# define DOTNETSTL_VER_1_3_1 0x00010301 /*!< Version 1.3.1 (with STLSoft 1.9.1) */ # define DOTNETSTL_VER_1_3_1 0x00010301 /*!< Version 1.3.1 (with STLSoft 1.9.1) */
# define DOTNETSTL_VER_1_3_2 0x00010302 /*!< Version 1.3.2 (with STLSoft 1.9.25) */ # define DOTNETSTL_VER_1_3_2 0x00010302 /*!< Version 1.3.2 (with STLSoft 1.9.25) */
# define DOTNETSTL_VER_1_3_3 0x010303ff /*!< Version 1.3.3 (with STLSoft 1.9.113) */
#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */ #endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */


#define DOTNETSTL_VER_MAJOR 1 #define DOTNETSTL_VER_MAJOR 1
#define DOTNETSTL_VER_MINOR 3 #define DOTNETSTL_VER_MINOR 3
#define DOTNETSTL_VER_REVISION 2 #define DOTNETSTL_VER_REVISION 3
#define DOTNETSTL_VER DOTNETSTL_VER_1_3_2 #define DOTNETSTL_VER DOTNETSTL_VER_1_3_3


/* ///////////////////////////////////////////////////////////////////////// /* /////////////////////////////////////////////////////////////////////////
* Includes * Includes
Expand All @@ -134,9 +135,9 @@
* STLSoft version compatibility * STLSoft version compatibility
*/ */


#if !defined(_STLSOFT_VER_1_9_1_B41) || \ #if !defined(_STLSOFT_VER) || \
_STLSOFT_VER < _STLSOFT_VER_1_9_1_B41 _STLSOFT_VER < 0x010971ff
# error This version of the .netSTL libraries requires STLSoft version 1.9.1 beta 41, or later # error This version of the .netSTL libraries requires STLSoft version 1.9.113, or later
#endif /* _STLSOFT_VER */ #endif /* _STLSOFT_VER */


/* ///////////////////////////////////////////////////////////////////////// /* /////////////////////////////////////////////////////////////////////////
Expand All @@ -161,9 +162,9 @@
/* No recognised compiler */ /* No recognised compiler */
# ifdef _STLSOFT_FORCE_ANY_COMPILER # ifdef _STLSOFT_FORCE_ANY_COMPILER
# define DOTNETSTL_COMPILER_IS_UNKNOWN # define DOTNETSTL_COMPILER_IS_UNKNOWN
# ifdef _STLSOFT_COMPILE_VERBOSE # ifdef STLSOFT_COMPILE_VERBOSE
# pragma message("Compiler is unknown to .netSTL") # pragma message("Compiler is unknown to .netSTL")
# endif /* _STLSOFT_COMPILE_VERBOSE */ # endif /* STLSOFT_COMPILE_VERBOSE */
# else /* ? _STLSOFT_FORCE_ANY_COMPILER */ # else /* ? _STLSOFT_FORCE_ANY_COMPILER */
# error Currently only Visual C++ compilers are supported by the .netSTL libraries # error Currently only Visual C++ compilers are supported by the .netSTL libraries
# endif /* _STLSOFT_FORCE_ANY_COMPILER */ # endif /* _STLSOFT_FORCE_ANY_COMPILER */
Expand Down

0 comments on commit 3369df6

Please sign in to comment.