Maarten Bent
785c448870
Fix checking size of security URL in wxWebviewIE
...
Allows to utilize the entire buffer when necessary.
2020-07-28 21:22:21 +02:00
Maarten Bent
43f84a9c18
Use security URL from wxWebViewHandler in wxWebViewIE
...
Don't use hard-coded 'http://localhost ', but use the URL specified in the
wxWebViewHandler.
By default, the security URL is empty and no modifications are made when
parsing a URL. This fixes using JavaScript in pages loaded with a custom
protocol, e.g. from wxWebViewFSHandler or wxWebViewArchiveHandler.
Closes #17893
2020-07-28 21:22:21 +02:00
Maarten Bent
300fe1a6f9
Add option to wxWebViewHandler to set a custom security URL
...
This will be used by wxWebViewIE to modify the security URL and domain when
parsing a URL.
2020-07-28 21:22:21 +02:00
Maarten Bent
bcadef5e2c
Remove obsolete VirtualProtocol IID table
...
The IIDs are now checked inside VirtualProtocol::QueryInterface.
2020-07-28 21:19:28 +02:00
Maarten Bent
0885057b70
Fix typo in wxWebViewIE failure message
2020-07-28 21:19:28 +02:00
Maarten Bent
dc585039bb
CMake: copy resources required for webview sample
2020-07-28 21:19:25 +02:00
Paul Cornett
5e89d575c3
Correction for previous change to wxBitmap scaling in Blit()
...
Destination wxMemoryDC context is already scaled
2020-07-28 11:35:53 -07:00
Paul Cornett
2b9499d7a7
Preserve wxBitmap scaling in Blit() with wxMemoryDC on GTK3
...
See #18857
2020-07-28 00:03:15 -07:00
Stefan Csomor
8df97af5fe
detailing requirements for macOS a little more
2020-07-26 22:17:15 +02:00
Stefan Csomor
bb40699675
macOS bugfix: overrelease in wxGetAvailableDrives
...
as these strings are NSStrings retrieved by autoreleasing methods, they must be retained first
2020-07-26 11:37:55 +02:00
ali kettab
30e5ff87a4
the assertion was mistakenly placed in the wrong place
2020-07-25 18:09:55 +01:00
ali kettab
b1c83920b5
fix typo
2020-07-25 16:09:50 +01:00
ali kettab
ad68515d52
cleanup a wxTextCtrl leftover from SpinCtrlTest
2020-07-25 14:59:31 +01:00
ali kettab
852f817291
Get rid of redundant call to wxDELETE (no real change)
2020-07-25 12:34:25 +01:00
ali kettab
247ee328b3
remove workaround from BitmapComboBoxTestCase
2020-07-25 12:14:42 +01:00
Vadim Zeitlin
a1774fcc4e
Merge branch 'cmake-header-test-and-warnings' of https://github.com/MaartenBent/wxWidgets
...
Add test for headers compilation with wxNO_IMPLICIT_WXSTRING_ENCODING to
CMake and a couple of warning fixes.
See https://github.com/wxWidgets/wxWidgets/pull/1993
2020-07-24 14:13:56 +02:00
Vadim Zeitlin
3ebed58d1a
Merge branch 'webview_test_skip' of https://github.com/swt2c/wxWidgets
...
Skip tests not working for WebKit 2 and re-enable web view in Travis CI
wxGTK3 build.
See https://github.com/wxWidgets/wxWidgets/pull/1994
2020-07-24 14:11:17 +02:00
Scott Talbert
64b7406ede
Re-enable webview on GTK3 Travis build
2020-07-23 21:52:45 -04:00
Scott Talbert
957842946e
Skip tests for functions unsupported on WebKit2
2020-07-23 21:49:14 -04:00
Vadim Zeitlin
bb3177dd3b
Avoid infinite repaint loop in wxListCtrl with wxLC_HRULES
...
A virtual wxListCtrl with wxLC_HRULES which wasn't fully visible on
screen, i.e. didn't fit into the visible area of its parent window
(which included the case when the parent was a wxScrolledWindow, for
which it is normal and expected not to be able to fit all of its
children) got into an infinite repaint loop because of a RefreshRect()
call inside wxListCtrl::OnPaint().
Fix this by avoiding to call RefreshRect() added in 374db28747
(Fix
wxMSW ListCtrl drawing of horizontal rules for new items, 2016-05-04),
unless the current clipping rectangle is less than the actually
effective visible width and not the full client width, which can be much
bigger.
This still doesn't ensure that we don't enter into an infinite recursion
here, so it would be even better to call RefreshRect() at most once
before the next control change, but it's not clear when exactly this
"already refreshed" flag would need to be reset.
See #17158 .
Closes #18850 .
2020-07-24 02:06:42 +02:00
Maarten Bent
2aadfd882a
Fix unused private field warnings in Forty demo
...
Fix drawing score list without wxUSE_GRID.
2020-07-23 22:55:10 +02:00
Maarten Bent
ea102bb272
Add missing wxOVERRIDE to wxNonOwnedWindow::Reparent
2020-07-23 22:55:10 +02:00
Maarten Bent
b5737510fd
Fix warning C4193: no matching pragma pop and push
...
Mention wx/dvrenderers.h in the exclude list, as described in PR1312.
2020-07-23 22:55:09 +02:00
Maarten Bent
e9ce104e4a
CMake: add headers test
2020-07-23 20:30:36 +02:00
Paul Cornett
6f968105b5
Avoid -Wwrite-strings warning
2020-07-23 10:29:43 -07:00
Vadim Zeitlin
6787b0548b
Merge branch 'webview-ie-fixes'
...
IE-based xwWebView improvements.
See https://github.com/wxWidgets/wxWidgets/pull/1987
2020-07-23 16:39:13 +02:00
atbara46
bfee44de18
Fix wrongly detecting FIFOs as directories in wxFileName
...
The constants for wxFILE_EXISTS_FIFO and wxFILE_EXISTS_SOCKET were
wrongly defined, mixing up their decimal and hexadecimal values,
resulting in wxFILE_EXISTS_FIFO & wxFILE_EXISTS_DIR being wrongly non
zero.
Fix this by redefining these bit masks correctly to avoid overlapping
the other values.
Closes #18846 .
2020-07-23 16:30:16 +02:00
Vadim Zeitlin
637fc7aeea
Add 3.1.5 section to the change log
...
For now it's empty and just contains the instructions for updating Git
notes.
2020-07-23 16:27:49 +02:00
Vadim Zeitlin
d1aa3d5663
Update the version to 3.1.5
...
This was done by running misc/scripts/inc_release, bakefile_gen and
autoconf.
2020-07-23 16:25:39 +02:00
Vadim Zeitlin
47a168eaa2
Fix build/bakefiles/version.bkl path in the release instructions
...
Wrong directory was used.
2020-07-23 16:22:58 +02:00
Vadim Zeitlin
8e126d2cd6
Don't call RefreshRect() with negative size in wxGrid code
...
Don't bother trying to refresh areas beyond the visible part of the
window: not only it's useless, but it also results in debug warnings
from Cairo/pixman due to the use of negative rectangle width/height.
Closes #18848 .
2020-07-23 16:21:42 +02:00
Vadim Zeitlin
0d18e12e79
Avoid -Wconversion-null from MinGW-w64 in wxListBox code
...
Explicitly cast the pointer to LPARAM instead of implicitly casting NULL
to it.
No real changes.
2020-07-23 16:21:30 +02:00
dos
0f7387bc48
Include wxbase DLLs in 64-bit Dev package too
...
Do it for consistency with the 32-bit package and to ensure that the
provided wxrc.exe binary can be run without downloading any extra files.
Closes https://github.com/wxWidgets/wxWidgets/pull/1991
2020-07-23 16:20:23 +02:00
Vadim Zeitlin
3d6f37d1ee
Mention that MSVS 14x toolset are ABI compatible in release notes
...
This was already done in the binaries section of the manual, but it
seems useful to also mention this here.
2020-07-23 16:18:33 +02:00
Vadim Zeitlin
2fed4334a1
Remove the item about updating non-existing wxTrac query
...
There is no "Tickets to be fixed for the next release" query, so no need
to update it.
2020-07-23 16:16:42 +02:00
Vadim Zeitlin
d9d05c2bb2
Update source archives SHA-1 checksums too
2020-07-22 19:41:50 +02:00
Vadim Zeitlin
6cdaedd42b
Fill in the binaries SHA-1 checksums
2020-07-22 19:20:06 +02:00
Vadim Zeitlin
0a54a15551
Add mention of TDM-GCC 9.2 binaries
...
They're also included in this release.
2020-07-22 19:19:32 +02:00
Vadim Zeitlin
8df2acf10d
Mention Cloudflare caching in the release instructions
...
This is mostly for my own sake as I keep being surprised by not seeing
the changes done on the server in the browser.
2020-07-22 18:19:54 +02:00
Vadim Zeitlin
cd0fd2aaaa
Suppress codespell complaints about "SEH"
...
For now just exclude the line with it, but we may need to give up and
ignore "seh" as a word if this continues, as it just occurs in too many
places.
2020-07-22 15:04:40 +02:00
Vadim Zeitlin
3c259eb56d
Document change log update better in the release instructions
...
Also remove the part about updating version.bkl from the pre-release
section, as this is done after the release.
As this leaves only 2 items in the numbered list of the things to do,
remove the list entirely.
2020-07-22 01:19:28 +02:00
Vadim Zeitlin
d65dda59d2
Update release documentation files for 3.1.4
...
Change version number and update the list of changes.
2020-07-22 01:15:27 +02:00
Vadim Zeitlin
96b7345abd
Transfer git notes since 3.1.3 to the actual change log
...
Fix a couple of typos in the notes while doing it.
Closes #18843 .
2020-07-22 01:01:26 +02:00
Vadim Zeitlin
cd2cd6a617
Avoid using IE-related symbols not present in old MinGW headers
...
Define INET_E_DEFAULT_ACTION ourselves and provide stand-ins for the
enums not present in MinGW SDK.
See #17893 .
2020-07-21 22:44:49 +02:00
Vadim Zeitlin
e77bba1a42
Update linpng submodule to fix a build problem under iOS
...
See https://github.com/wxWidgets/libpng/pull/1
2020-07-21 22:32:50 +02:00
Vadim Zeitlin
56177cb5a3
Merge branch 'osx-dpi'
...
DPI-related improvements in wxOSX.
See https://github.com/wxWidgets/wxWidgets/pull/1984
2020-07-21 20:24:09 +02:00
Paul Cornett
44a75afe93
Make sure toplevel is active in SetFocus(), episode 2
...
Toplevel must be active for child to actually receive focus
See #18783
2020-07-21 08:44:57 -07:00
Vadim Zeitlin
a8bb796f8c
Add OSXMakeDPIFromScaleFactor() helper
...
No real changes, just avoid repeating wxRound(scaleFactor*72) in several
places and do it in this single function instead.
2020-07-21 17:16:15 +02:00
Vadim Zeitlin
a2c55fa834
Include wx/math.h in the file using wxRound()
...
Although it seems to be already included from some other header
implicitly, prefer to also include it explicitly to avoid any breakage
later.
2020-07-21 17:16:15 +02:00
Vadim Zeitlin
af7a6ed2d0
Combine variable declaration and test in a single line
...
No real changes, make the code slightly shorter.
2020-07-21 17:16:15 +02:00