Permalink
Browse files

Imported upstream 1.9.101

Signed-off-by: Stefan Naewe <stefan.naewe@atlas-elektronik.com>
  • Loading branch information...
1 parent 88b103c commit b3aebf0ee27f0d94483682f843194a1b047403b7 Stefan Naewe committed Aug 2, 2012
View
@@ -2,7 +2,7 @@
STLSoft - Changes
; Created: 29th March 2002
-; Updated: 12th August 2010
+; Updated: 30th September 2010
============================================================================
@@ -17,6 +17,64 @@ STLSoft - Changes
**************************************
+============================================================================
+
+Changes for 1.9.101 (30th September 2010)
+
+Summary:
+========
+
+ * stlsoft::transform_iterator can now support transformation to types that do not support default construction
+ * fixed defect in stlsoft::transform_iterator
+ * platformstl::basic_file_lines refactored, and exception-safety enhanced
+ * winstl::memory_mapped_file refactored in preparation for substantial enhancement in 1.10; also no longer supports compilers that do not have native 64-bit integers
+
+Changes:
+========
+
+ STLSoft:
+ ========
+
+ ~ stlsoft/iterators/transform_iterator.hpp:
+ + can now support transformation to types that do not support default construction
+ ~ fixed nasty as anything defect in decrement operator
+
+ ~ stlsoft/string/cstring_functions.hpp:
+ ~ string_dup now responds robustly when out of memory used with a compiler that doesn't throw bad_alloc
+
+ ~ stlsoft/string/simple_string.hpp:
+ ~ string_traits<> specialisation for basic_simple_string now works with any basic_simple_string<C, T, A> specialisation permutation, rather than just basic_simple_string<C>
+ ~ fix to defect in assign(cc*, size_t)
+
+ PlatformSTL:
+ ============
+
+ ~ platformstl/filesystem/file_lines.hpp:
+ ~ trivial changes, ready for 1.10 changes
+ ~ simplified refactoring, readying for 1.10
+ ~ exception-safety correction
+ ~ getting ready for major refactoring in 1.10
+
+ WinSTL:
+ =======
+
+ ~ winstl/error/error_functions.h:
+ + added character-encoding independent symbols
+ ~ conversion of deprecated winstl__??? form to winstl_C_??? form
+
+ ~ winstl/filesystem/memory_mapped_file.hpp:
+ - no longer supports compilers that do not have native 64-bit integers
+ ~ final refactoring, ready for splitting in STLSoft 1.10
+ ~ now allows for offset+requestSize for both 32-bit and 64-bit operation
+ ~ benign change of casting syntax, in order to support forthcoming separation into (C) source files in STLSoft 1.10
+
+ ~ winstl/system/console_functions.h:
+ ~ benign changes to winstl_C_get_console_width() to aid debugging
+
+ ~ winstl/winstl.h:
+ + added INVALID_SET_FILE_POINTER
+
+
============================================================================
Changes for 1.9.100 (12th August 2010)
@@ -32,7 +90,7 @@ Summary:
* string_tokeniser iterator dereference operator changed to disallow return of mutable instance
* string_view has improved comparison algorithm
* added 3-, 4-, and 5-parameter overloads of stlsoft::minimum() and stlsoft::maximum()
- * various fixes and enhancements to platformstl::file_lines
+ * various fixes and enhancements to platformstl::file_lines
* added size() and empty() methods to winstl::environment_variable
* implemented winstl::system_traits::str_n_compare_no_case()
@@ -249,7 +307,7 @@ Summary:
* separated UNIXSTL's atomic types into separate file unixstl/synch/atomic_types.h
* separated WinSTL's atomic types into separate file winstl/synch/atomic_types.h
* fixed winstl::memory_mapped_file to handle case where an offset is specified but there are 0 remaining bytes in the file to be mapped at that location: constructs an instance with 0 size
- * fixed potential memory leak of format-message-string if windows_exception creation throws an exception
+ * fixed potential memory leak of format-message-string if windows_exception creation throws an exception
* moved COMSTL_CCH_GUID to comstl/comstl.h from comstl/shims/access/string/guid.hpp
* adjusted winstl::drophandle_sequence for Win64 compatibility
* adjusted winstl::version_info for Win64 compatibility
@@ -1805,7 +1863,7 @@ Changes:
-------
~ atlsoft/automation/property_method_helpers.hpp:
- ~ fixed infinite loop defect in put_MemberValue(..., CComVariant const&, ...);
+ ~ fixed infinite loop defect in put_MemberValue(..., CComVariant const&, ...);
now assigns directly and handles case whereby assignment fail
COMSTL:
View
@@ -2,7 +2,7 @@
STLSoft - FAQ
; Created: 29th March 2002
-; Updated: 7th June 2010
+; Updated: 30th September 2010
============================================================================
@@ -76,7 +76,7 @@ A6:
STLSoft 1.10 alpha-delta archive and extract it directly over the STLSoft
1.9 directory.
- (2) Include Interposition
+ (2) Include Path Interposition
You download and install STLSoft 1.9 as per A2. You then download the
STLSoft 1.10 alpha-delta archive and extract it to a separate directory,
@@ -85,7 +85,7 @@ A6:
reverse order, as in:
* -I$STLSOFT_1_10/include -I$STLSOFT/include (if you're on UNIX), OR
- * -I%STLSOFT_1_10%/include (if you're on Windows)
+ * -I%STLSOFT_1_10%/include -I%STLSOFT%/include (if you're on Windows)
We strongly recommend using method (2).
View
@@ -2,11 +2,20 @@
STLSoft - History
; Created: 29th March 2002
-; Updated: 12th August 2010
+; Updated: 30th September 2010
============================================================================
+30th September 2010 - 1.9.101 released
+--------------------------------------
+
+ * stlsoft::transform_iterator can now support transformation to types that do not support default construction
+ * fixed defect in stlsoft::transform_iterator
+ * platformstl::basic_file_lines refactored, and exception-safety enhanced
+ * winstl::memory_mapped_file refactored in preparation for substantial enhancement in 1.10; also no longer supports compilers that do not have native 64-bit integers
+
+
12th August 2010 - 1.9.100 released
-----------------------------------
View
@@ -2,7 +2,7 @@
STLSoft - Install
; Created: 29th March 2002
-; Updated: 12th August 2010
+; Updated: 30th September 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.100 then you should set the environment
- variable STLSOFT to /usr/local/stlsoft/stlsoft-1.9.100 in which case the
+ to /usr/local/stlsoft/stlsoft-1.9.101 then you should set the environment
+ variable STLSOFT to /usr/local/stlsoft/stlsoft-1.9.101 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.100 then you should set the environment
- variable STLSoft to C:\3pty\STLSoft\stlsoft-1.9.100 in which case the
+ to C:\3pty\STLSoft\stlsoft-1.9.101 then you should set the environment
+ variable STLSoft to C:\3pty\STLSoft\stlsoft-1.9.101 in which case the
file stlsoft/stlsoft.h will be located in
- C:\3pty\STLSoft\stlsoft-1.9.100\stlsoft\stlsoft.h
+ C:\3pty\STLSoft\stlsoft-1.9.101\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: 12th August 2010
+; Updated: 30th September 2010
============================================================================
News:
+ 30th September 2010 - Release of STLSoft 1.9.101
+
12th August 2010 - Release of STLSoft 1.9.100
21st June 2010 - Release of STLSoft 1.9.99
@@ -1,14 +1,14 @@
/* /////////////////////////////////////////////////////////////////////////
* File: atlstl/window/about_dialog.hpp
*
- * Purpose: Simple 'about' dialog, that shell executes hyperlinks.
+ * Purpose: Simple 'about' dialog, that shell-executes hyperlinks.
*
* Created: 30th January 2000
- * Updated: 10th August 2009
+ * Updated: 9th September 2010
*
* Home: http://stlsoft.org/
*
- * Copyright (c) 2000-2009, Matthew Wilson and Synesis Software
+ * Copyright (c) 2000-2010, Matthew Wilson and Synesis Software
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -53,7 +53,7 @@
# define ATLSTL_VER_ATLSTL_WINDOW_HPP_ABOUT_DIALOG_MAJOR 4
# define ATLSTL_VER_ATLSTL_WINDOW_HPP_ABOUT_DIALOG_MINOR 0
# define ATLSTL_VER_ATLSTL_WINDOW_HPP_ABOUT_DIALOG_REVISION 3
-# define ATLSTL_VER_ATLSTL_WINDOW_HPP_ABOUT_DIALOG_EDIT 53
+# define ATLSTL_VER_ATLSTL_WINDOW_HPP_ABOUT_DIALOG_EDIT 54
#endif /* !STLSOFT_DOCUMENTATION_SKIP_SECTION */
/* /////////////////////////////////////////////////////////////////////////
@@ -128,9 +128,10 @@ struct IDD_to_type
* \ingroup group__library__windows_window
*/
// [[synesis:class:ui-window: atlstl::AboutDialog<T<T>, T<B>>]]
-template< class T
- , class B = CWindow
- >
+template<
+ class T
+, class B = CWindow
+>
class AboutDialog
: public CDialogImplBaseT<B>
{
@@ -149,7 +150,7 @@ class AboutDialog
ATLASSERT(m_hWnd == NULL);
// Borrow thunking logic from ATL's own CSimpleDialog
- parent_class_type *pThis = this;
+ parent_class_type* pThis = this;
_Module.AddCreateWndData(&m_thunk.cd, pThis);
int nRet = ::DialogBox(_Module.GetResourceInstance(), MAKEINTRESOURCE(T::IDD), hWndParent, (DLGPROC)StartDialogProc);
@@ -184,27 +185,28 @@ class AboutDialog
{
bHandled = false;
- HWND hwndCtrl = (HWND)lParam;
+ HWND hwndCtrl = (HWND)lParam;
// 1. Must be a child control
if(NULL != hwndCtrl)
{
// 2. Must be a button
- LRESULT ctrlCode = ::SendMessage(hwndCtrl, WM_GETDLGCODE, 0, 0L);
+ LRESULT ctrlCode = ::SendMessage(hwndCtrl, WM_GETDLGCODE, 0, 0L);
if(DLGC_BUTTON & ctrlCode)
{
- typedef ::stlsoft::auto_buffer_old< TCHAR
- , ::stlsoft::malloc_allocator<TCHAR>
- , 512
- > buffer_t;
+ typedef ::stlsoft::auto_buffer_old<
+ TCHAR
+ , ::stlsoft::malloc_allocator<TCHAR>
+ , 512
+ > buffer_t;
// 3. Get text
//
// Note that this uses buffer.size(), so that it does not matter, if the buffer
// allocation fails, whether allocator throws exceptions or returns NULL.
buffer_t buffer(1 + ::GetWindowTextLength(hwndCtrl));
- const int len = ::GetWindowText(hwndCtrl, &buffer[0], buffer.size());
+ const int len = ::GetWindowText(hwndCtrl, &buffer[0], buffer.size());
buffer[len] = '\0';
@@ -248,9 +250,10 @@ class AboutDialog
*
*/
// [[synesis:class:ui-window: atlstl::AboutDialogId<UINT, T<B>>]]
-template< UINT ID
- , class B = CWindow
- >
+template<
+ UINT ID
+, class B = CWindow
+>
class AboutDialogId
: public AboutDialog<IDD_to_type<ID>, B>
{
Oops, something went wrong.

0 comments on commit b3aebf0

Please sign in to comment.