Skip to content

Commit

Permalink
Merge branch 'pre-3.1.7-updates'
Browse files Browse the repository at this point in the history
Update release-related files for 3.1.7.

See #22490.
  • Loading branch information
vadz committed Jun 6, 2022
2 parents 8b8c6f8 + 53e08d3 commit 7ad1bff
Show file tree
Hide file tree
Showing 9 changed files with 147 additions and 128 deletions.
2 changes: 1 addition & 1 deletion build/tools/mingw/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ The following versions of MinGW are actually used to create binaries (they all u
* MinGW-W64 GCC-7.3.0 using SJLJ exceptions for 32 bits architecture downloadable from [here](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/7.3.0/threads-win32/sjlj/i686-7.3.0-release-win32-sjlj-rt_v5-rev0.7z "MinGW-W64 GCC-7.3.0 i686 Win32 SJLJ") and SEH exceptions for 64 bits architecture downloadable from [here](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/7.3.0/threads-win32/seh/x86_64-7.3.0-release-win32-seh-rt_v5-rev0.7z "MinGW-W64 GCC-7.3.0 x86_64 Win32 SEH")
* MinGW-W64 GCC-8.1.0 using SJLJ exceptions for 32 bits architecture downloadable from [here](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/8.1.0/threads-win32/sjlj/i686-8.1.0-release-win32-sjlj-rt_v6-rev0.7z "MinGW-W64 GCC-8.1.0 i686 Win32 SJLJ") and SEH exceptions for 64 bits architecture downloadable from [here](https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/8.1.0/threads-win32/seh/x86_64-8.1.0-release-win32-seh-rt_v6-rev0.7z "MinGW-W64 GCC-8.1.0 x86_64 Win32 SEH")
* MinGW-TDM GCC-10.3.0 downloadable from [here](https://jmeubank.github.io/tdm-gcc/articles/2021-05/10.3.0-release"TDM GCC-10.3.0")
* MSYS2 MinGW GCC-11.2.0 which is the last version installable using [MSYS2](https://www.msys2.org "www.msys2.org") package manager
* MSYS2 MinGW GCC-12.1.0 which is the last version installable using [MSYS2](https://www.msys2.org "www.msys2.org") package manager
2 changes: 1 addition & 1 deletion build/tools/mingw/buildall.bat
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ rem Initialize the main log file with the current date and time
echo %date% %time% : wxWidgets-%wxMAJOR_VERSION%.%wxMINOR_VERSION%.%wxRELEASE_NUMBER% build started > %MAINLOGFILE%

rem Loop through all versions of the compiler
for %%c in ( 730 810 1030 1120 ) do (
for %%c in ( 730 810 1030 1210 ) do (
rem For each version, create a 32 and a 64 bits build
for %%a in ( 32 64 ) do (
call officialbuild.bat %%c %%a
Expand Down
2 changes: 1 addition & 1 deletion build/tools/mingw/parameters.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ rem Check if architecture is present
if "%2" == "" goto :NOPARAMS

rem Define compiler's bin directory
if "%1" == "1120" (
if "%1" == "1210" (
set COMPBINDIR=G:\msys64\mingw%2\bin
) else (
set COMPBINDIR=G:\MinGW%1-%2\bin
Expand Down
54 changes: 38 additions & 16 deletions docs/changes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ Changes in behaviour which may result in build errors
minimum required version is now 2005.


3.1.7: (released 2022-??-??)
3.1.7: (released 2022-06-06)
----------------------------

INCOMPATIBLE CHANGES SINCE 3.1.6:
Expand All @@ -245,32 +245,54 @@ INCOMPATIBLE CHANGES SINCE 3.1.6:
wxPropertyGridPage, and wxPropertyGridManager should be used instead.


NOTE: This file is updated only before the release, please use
All:

$ git log --notes=changelog --format='%N' v3.1.6..|grep .
- Improvements to CMake, notably better PCH support.
- Add wxTRANSLATE_IN_CONTEXT() (Lauri Nurmi).
- Fix wxIPV6address initialization.

to see all the change log entries since the last release.
All (GUI):

To update the notes, fetch them first:
- Further improvements to bitmap rescaling logic in high DPI.
- Add wxEVT_GRID_ROW_AUTO_SIZE to wxGrid (Dietmar Schwertberger).
- Add possibility to drag-move wxGrid rows too (Dietmar Schwertberger).
- Improve UI of several mouse operations in wxGrid (Dietmar Schwertberger).
- Add support for 3rd wxCheckBox state to XRC (Randalphwa).
- Add support for more wxBitmap attributes to XRC (Randalphwa).
- Add support for wxSpinCtrl digits attributes to XRC (Randalphwa).
- Add wxBitmapBundle::FromIconBundle() (Uwe Runtemund).
- Allow getting current ribbon tool rectangle (Uwe Runtemund).
- Allow sharing client data in wxGrid-related classes (Frode Roxrud Gill).
- Fix font sizes in wxSVGFileDC (Maarten Bent).
- Fix layout of wxWrapSizer in a wxFlexGridSizer (Antti Nietosvaara).
- Fix wxRichToolTipPopup appearance in high DPI (Maarten Bent).

$ git fetch origin refs/notes/changelog:refs/notes/changelog
wxGTK:

then use the following command to update them locally
- Avoid GDK errors when using PopupMenu() with Wayland.
- Fix drag and drop in generic wxDataViewCtrl (Konstantin Matveyev).

$ git notes --ref=changelog add -m 'wxPort: description.'
wxMSW:

and finally push it to the server.
- Provide new IFileDialog-baed customization API.
- Fix handling of standard accelerators in wxSpinCtrl (Dietmar Schwertberger).
- Fix infinite recursion in wxAuiNotebook::OnHelp().
- Fix performance regression in wxSTC redrawing (Maarten Bent).
- Fix regression in wxFileName::Normalize(LONG) and UNC paths.
- Fix sizes in the standard font dialog in high DPI.
- Fix warnings about bitwise operations with MSVC in C++20 mode.

$ git push origin refs/notes/changelog:refs/notes/changelog
wxOSX:

If this fails due to a conflict because you had forgotten to
run git-fetch first, you can always reset your local notes
(LOSING YOUR CHANGES TO THEM, so make sure to make a copy)
- Fix disappearing dialogs when using Spaces.
- Suppress menu items automatically added by macOS 12.
- Allow user input in wxPopupTransientWindow.
- Don't touch existing libraries in make install (Lauri Nurmi).
- Generate events for 4th and 5th mouse buttons (Lauri Nurmi).

$ git fetch origin refs/notes/changelog
$ git update-ref refs/notes/changelog FETCH_HEAD
wxUniv:

and then redo "git-notes add" and git-push.
- Fix client data memory leak in wxListBox (Kvaz1r).


3.1.6: (released 2022-04-04)
Expand Down
2 changes: 1 addition & 1 deletion docs/doxygen/mainpages/manual.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
@author Julian Smart, Vadim Zeitlin, Robin Dunn, Stefan Csomor,
Bryan Petty, Francesco Montorsi, Robert Roebling et al
@date April 04, 2022
@date June 06, 2022
Welcome to wxWidgets, a stable and powerful open source framework for
developing native cross-platform GUI applications in C++!
Expand Down
10 changes: 5 additions & 5 deletions docs/msw/binaries.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ We provide pre-built binary files for the following compilers:
(corresponding to marketing product names of Microsoft Visual Studio 2008, 2010, 2012, 2013, 2015, 2017 and 2019 respectively). Please note that MSVC 14.x versions are ABI-compatible and the same set of binaries is used for all of them.
* MinGW-w64 versions 7.3 and 8.1 (32-bit binaries use SJLJ exceptions, 64-bit ones use SEH, and all binaries use Win32 threads).
* [TDM-GCC](https://jmeubank.github.io/tdm-gcc/) 10.3.0.
* [MSYS2](https://www.msys2.org/) MinGW 11.2.0.
* [MSYS2](https://www.msys2.org/) MinGW 12.1.0.

Getting the files
-----------------

First, you need to get the correct files. You will always need the
`wxWidgets-3.1.6-headers.7z` one but the rest depends on your compiler version
`wxWidgets-3.1.7-headers.7z` one but the rest depends on your compiler version
and architecture: as different versions of MSVC compiler are not binary
compatible, you should select the files with the correct
`vc80`, `vc90`, `vc100`, `vc110`, `vc120`, or `vc14x`
Expand All @@ -28,14 +28,14 @@ or the ones without this suffix for the still more common 32-bit builds. After
determining the combination of suffixes you need, you should download the
"Dev" and the "ReleaseDLL" files in addition to the "Headers" one above,
e.g. for 32-bit MSVS 2017 development you need
`wxMSW-3.1.6_vc14x_Dev.7z` and `wxMSW-3.1.6_vc14x_ReleaseDLL.7z`.
`wxMSW-3.1.7_vc14x_Dev.7z` and `wxMSW-3.1.7_vc14x_ReleaseDLL.7z`.

All binaries are available at:

https://www.wxwidgets.org/downloads#v3.1.6_msw
https://www.wxwidgets.org/downloads#v3.1.7_msw

Once you have the files you need, unzip all of them into the same directory, for
example `c:\wx\3.1.6`. You should have only include and lib subdirectories under
example `c:\wx\3.1.7`. You should have only include and lib subdirectories under
it, nothing else. To avoid hard-coding this path into your projects, define
`wxwin` environment variable containing it: although it's a little known fact,
all versions of MSVC support environment variable expansion in the C++ projects
Expand Down
23 changes: 11 additions & 12 deletions docs/publicity/announce.txt
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
April 04, 2022 -- The wxWidgets team is pleased to announce a new
June 06, 2022 -- The wxWidgets team is pleased to announce a new
release of our open source framework for the development of native
cross-platform applications in C++.

wxWidgets 3.1.6 is the latest release in the 3.1 development branch and
hopefully the last one before the next stable 3.2.0 release. It is now
available at
wxWidgets 3.1.7 is the latest release in the 3.1 development branch and
the last one before the next stable 3.2.0 release. It is available at

https://www.wxwidgets.org/downloads/

Compared to the stable 3.0.x series, this version brings too many
improvements and even more bug fixes to list all of them here, please
see the change log

https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.1.6/docs/changes.txt
https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.1.7/docs/changes.txt

for the incomplete list of the most important ones and here is the
maximally condensed summary of the changes compared to 3.0:
Expand All @@ -22,17 +21,17 @@ maximally condensed summary of the changes compared to 3.0:
MSVS, with wxwidgets.props file, and OS versions as well as an
entirely new CMake build system.
- Support for native dark mode under macOS 10.14 Mojave and later and
support for macOS 11 and later on ARM hardware.
support for macOS 11 and later on ARM hardware and macOS 12 support.
- High DPI support with the new, but almost perfectly backwards-
compatible, API based on wxBitmapBundle, including per-monitor DPI and
dynamic DPI changes.
- New features: HTTPS and HTTP/2 support with wxWebRequest and friends;
support for freezing rows/columns in wxGrid; mouse gesture events
(GSoC 2017 project); non-integer font sizes and arbitrary font weights
in wxFont; fractional pen widths in wxGraphicsContext; arbitrary label
windows in wxStaticBox; markup in wxDataViewCtrl items text; better
support for high DPI monitors and per-monitor DPI, notably the
addition of wxBitmapBundle, and dynamic DPI changes support under MSW;
support for ZIP 64 files; LZMA compression; much improved
accessibility support under MSW; new Edge-based wxWebView
implementation.
windows in wxStaticBox; markup in wxDataViewCtrl items text; support
for ZIP 64 files; LZMA compression; much improved accessibility
support under MSW; new Edge-based wxWebView implementation.
- New classes: wxActivityIndicator, wxAddRemoveCtrl, wxAppProgressIndicator,
wxBitmapBundle, wxNativeWindow, wxPersistentComboBox,
wxPowerResourceBlocker, wxSecretStore, wxTempFFile and many new
Expand Down
56 changes: 27 additions & 29 deletions docs/readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,33 +32,31 @@ installation instructions.



Changes since 3.1.5
Changes since 3.1.6
-------------------

In almost a year since the previous release, there have been more than 1700
commits from 82 unique contributors (41 with multiple contributions), so it is
impossible to summarize all the changes in this document without making it too
long, please see the fuller changelog at
This release, coming only two months after the previous one, mostly
contains bug fixes and incremental improvements in preparation for 3.2.0
major release. There is still quite a number of them, with more than 500
commits from 37 unique contributors, but the most important changes are:

- CMake build system improvements (better precompiled headers support).
- New wxFileDialog customization API working with IFileDialog in wxMSW.
- Many updated translations and new wxTRANSLATE_IN_CONTEXT().
- Fixes for bad interactions with new macOS 12 features in wxOSX.
- Several previously missing attributes added to multiple XRC handlers.
- Row reordering by dragging and UI enhancements in wxGrid.
- Ability to suppress selected (or all) GTK warning messages in wxGTK.
- And many, many bugs fixes, including for the regressions in 3.1.6.

Please see

https://raw.githubusercontent.com/wxWidgets/wxWidgets/v3.1.7/docs/changes.txt

for more details, but here are some of the most important changes:

- New wxBitmapBundle class allowing to provide art work for both normal and
high DPI in a simple way.
- New wxUILocale class replacing the old (but still available) wxLocale, but
not suffering from its multiple problems and providing more functionality.
- Support for using native spell-checking in wxTextCtrl.
- Support for undo/redo in wxTextCtrl in wxOSX.
- Better drag-and-drop implementation in wxOSX.
- Fixes for important bugs in wxDataViewCtrl under all platforms.
- Many improvements and bug fixes for Wayland support in wxGTK.
- Support for the latest OS versions (Windows 11, macOS 12) and compilers (MSVS
2022, gcc 12, clang 13).
- Project bug tracker has been moved to GitHub Issues.
for more details.

Notice that in spite of all the changes, this release remains almost completely
compatible with 3.1.5 at the API level, so upgrading to it if you're already
compatible with 3.1.6 at the API level, so upgrading to it if you're already
using wxWidgets 3 should be straightforward.


Expand All @@ -74,17 +72,17 @@ maximally condensed summary:
MSVS, with wxwidgets.props file, and OS versions as well as an
entirely new CMake build system.
- Support for native dark mode under macOS 10.14 Mojave and later and
support for macOS 11 and later on ARM hardware.
support for macOS 11 and later on ARM hardware and macOS 12 support.
- High DPI support with the new, but almost perfectly backwards-
compatible, API based on wxBitmapBundle, including per-monitor DPI and
dynamic DPI changes.
- New features: HTTPS and HTTP/2 support with wxWebRequest and friends;
support for freezing rows/columns in wxGrid; mouse gesture events
(GSoC 2017 project); non-integer font sizes and arbitrary font weights
in wxFont; fractional pen widths in wxGraphicsContext; arbitrary label
windows in wxStaticBox; markup in wxDataViewCtrl items text; better
support for high DPI monitors and per-monitor DPI, notably the
addition of wxBitmapBundle, and dynamic DPI changes support under MSW;
support for ZIP 64 files; LZMA compression; much improved
accessibility support under MSW; new Edge-based wxWebView
implementation.
windows in wxStaticBox; markup in wxDataViewCtrl items text; support
for ZIP 64 files; LZMA compression; much improved accessibility
support under MSW; new Edge-based wxWebView implementation.
- New classes: wxActivityIndicator, wxAddRemoveCtrl, wxAppProgressIndicator,
wxBitmapBundle, wxNativeWindow, wxPersistentComboBox,
wxPowerResourceBlocker, wxSecretStore, wxTempFFile and many new
Expand Down Expand Up @@ -112,7 +110,7 @@ This version of wxWidgets supports the following primary platforms:

* Windows XP, Vista, 7, 8, 10 and 11 (32/64 bits).
* Most Unix variants using the GTK+ toolkit (version 2.6 or newer)
* macOS (10.10 or newer) using Cocoa
* macOS (10.10 or newer) using Cocoa (x86-64 or ARM).

There is some support for the following platforms:

Expand Down Expand Up @@ -196,4 +194,4 @@ developed by its users and your contributions to it are always welcome!

Have fun!

The wxWidgets Team, April 2022
The wxWidgets Team, June 2022

0 comments on commit 7ad1bff

Please sign in to comment.