Commit Graph

68535 Commits

Author SHA1 Message Date
Vadim Zeitlin
62372d4337 Merge branch 'webview_edge3' of https://github.com/TcT2k/wxWidgets
Update wxWebViewEdge for SDK 0.9.488.

It now requires Edge 84.0.488.0 or newer (currently Canary).

See https://github.com/wxWidgets/wxWidgets/pull/1814
2020-04-21 18:30:53 +02:00
Paul Cornett
896512c732 Change fractional point size from float to double
There doesn't seem to be any compelling reason to use float. Using double
is simpler, and avoids otherwise unnecessary float<->double conversions.
2020-04-21 09:00:04 -07:00
Paul Cornett
d551c156c4 Remove some duplicate code for getting hyperlink color 2020-04-21 08:35:07 -07:00
Vadim Zeitlin
d76b0186e3 Merge branch 'update_ignores'
Ignore GCC version and architecture tagged library output folders.

See https://github.com/wxWidgets/wxWidgets/pull/1813
2020-04-21 16:29:14 +02:00
Vadim Zeitlin
c0e1ad6ac0 Remove check for eVC in bakefiles
This compiler is obsolete and doesn't exist since a long time.
2020-04-21 16:27:39 +02:00
Vadim Zeitlin
615df97097 Remove obsolete directories for eVC from .gitignore
eVC (embedded VC) compiler is not used since at least a decade.
2020-04-21 16:26:40 +02:00
Vadim Zeitlin
a2f3bd3aad Create mailmap entry for Steffen Olszewski
Do it to map both email addresses used in Steffen's commits with the
same person.
2020-04-21 16:25:22 +02:00
Vadim Zeitlin
84e90d93d8 Add back wx/windowid.h include, just not as the first one
Unfortunately the fix of the previous commit broke the build because of
the existence of non-GUI functions using GUI-only wxWindowID class.

This will need to be fixed in a better way later, but for now add the
required header back.

See https://github.com/wxWidgets/wxWidgets/pull/1815
2020-04-21 16:10:14 +02:00
Vadim Zeitlin
71c2e1cc3c Remove wrong wx/windowid.h include, should never be done directly
This #include was mistakenly added by e8b8b0288f (Make wxNewId() and
others return/take wxWindowID rather than int, 2019-12-18) and broke
compilation of the code including wx/utils.h as the first header,
because wx/windowid.h can't be included directly and must be only
included from wx/defs.h.

Fix this by just removing it, including any other header is enough to
pull this one in anyhow, via wx/defs.h.

See https://github.com/wxWidgets/wxWidgets/pull/1682

Closes https://github.com/wxWidgets/wxWidgets/pull/1815
2020-04-21 15:20:17 +02:00
Jouk
9426490333 Fix for gtk1.x 2020-04-21 08:40:45 +02:00
Jorge Moraleda
e3b216b75e Consistent indentation in generic DVC 2020-04-20 19:50:26 -07:00
Jorge Moraleda
773a1876de In DVC, if current column was set by keyboard to something not editable and the user pressed Space/F2 then do not edit anything because focus is visually on that column and editing something else would be surprising. But if the current column was set by mouse to something not editable, treat the situation as if there was whole-row focus, because the mouse click could very well be targeted on the row rather than on an individual cell. 2020-04-20 19:43:34 -07:00
Jorge Moraleda
e25d869168 Added dedicated command binding of HasPage tab of DVC sample so that the radio button column has always exactly one cell checked. Before this fix this tab was incorrectly bound to the same function that controlled the ListCtrl in the third tab. 2020-04-20 17:14:13 -07:00
Tobias Taschner
26aa9c492e
Implement wxWebViewEvent::GetNavigationAction() for Edge
Set the user initiated flag from the SDK
2020-04-20 23:20:23 +02:00
Tobias Taschner
7d1c40ecf5
Updated wxWebViewEdge for SDK to 0.9.488
Requires Edge 84.0.488.0 or newer

Another SDK release before 1.0 includes some
breaking changes regarding naming
2020-04-20 23:00:10 +02:00
Steffen Olszewski
09262c98d1 Ignore GCC version and architecture tagged library output folders
Add patterns to ignore the directory structure of the library release version for GCC
like it is already done for MSVC.
2020-04-20 22:00:25 +02:00
Paul Cornett
4d3190c9f7 Revert "Change default GTK version for CMake from 2 to 3"
My attempt to use GTK2 for Travis CI build didn't work
2020-04-20 07:37:12 -07:00
Paul Cornett
f655a52fba Allow wxSizer::Fit() to work properly when called from TLW ctor on GTK3
Style information affecting sizes may not be updated by GTK until TLW is shown
See #16088
2020-04-20 07:17:28 -07:00
Paul Cornett
6d25b49f95 Change default GTK version for CMake from 2 to 3 2020-04-20 06:55:18 -07:00
Paul Cornett
e70b449084 Avoid "Theme parsing error" with GTK3 < 3.20
'caret-color' CSS property is not recognized prior to 3.20
2020-04-19 23:05:48 -07:00
Paul Cornett
44ba9d1d07 Change default GTK version for configure from 2 to 3 2020-04-19 21:59:16 -07:00
Paul Cornett
78dbafb8f7 Make GTK version explicit for Travis CI builds 2020-04-19 21:32:04 -07:00
Vadim Zeitlin
d16181ee74 Add names for Travis CI build jobs
This should make it more convenient to see which one is which.
2020-04-19 23:04:27 +02:00
Vadim Zeitlin
843fec8143 Reenable Travis CI jobs accidentally disabled in the last commit
Restore all the builds for the "normal" architectures.
2020-04-19 22:55:35 +02:00
Vadim Zeitlin
6fcf285136 Merge branch 'more-travis'
Test Linux on ARM, PPC64 and S390 architectures on Travis CI too.

See https://github.com/wxWidgets/wxWidgets/pull/1783
2020-04-19 22:31:10 +02:00
Vadim Zeitlin
b3ccebad5e Merge branch 'ole-init-module'
Do OLE initialization from a module to fix problems due to
uninitializing it too early.

See https://github.com/wxWidgets/wxWidgets/pull/1807
2020-04-19 22:22:55 +02:00
Vadim Zeitlin
ab7645e013 Merge branch 'png-sse2' of https://github.com/MaartenBent/wxWidgets
Allow to build libpng on more platforms and enable SSE2 for Intel.

See https://github.com/wxWidgets/wxWidgets/pull/1806
2020-04-19 21:01:06 +02:00
Paul Cornett
4a5a7efb64 Remove old email
I don't want that in there
2020-04-19 11:10:19 -07:00
Paul Cornett
8649f2548e Avoid some deprecation warnings from GTK2 headers 2020-04-19 11:09:09 -07:00
Paul Cornett
6bafaeee6f Round GdkRGBA color values when converting to GdkColor
Should be slightly more accurate, and may avoid discrepancies
when converting wxColour to wxString and back again
2020-04-19 10:10:55 -07:00
Vadim Zeitlin
5ecc553afb Add wxToastNotifMsgModule dependency on wxOleInitModule
This ensures that OLE is still initialized when this module cleanup
occurs, as it must be when IToastNotificationManagerStatics COM pointer
is destroyed.

Closes #18730.
2020-04-19 17:07:04 +02:00
Vadim Zeitlin
893f3a6c00 Add wxDirect2DModule dependency on wxOleInitModule
This avoids the need for calling CoInitializeEx() and CoUninitialize()
in this module itself, it's enough to ensure that wxOleInitModule does
it before, or after, before this one is initialized, or uninitialized,
respectively.

This replaces the earlier fix of 450019dc21 (Ensure COM is still active
when Direct2D renderer is in use, 2015-12-30).

See #17308.
2020-04-19 17:04:36 +02:00
Vadim Zeitlin
05059b64f1 Remove unneeded wxOleInitialize() from wxClipboard code
There is no need to do it here when it had been already done on startup.

No real changes, just cleanup.
2020-04-19 17:02:32 +02:00
Vadim Zeitlin
071760b7f4 Move OLE initialization to a module
Previously this was done in wxMSW-specific wxApp version, which meant
that initialization was done after the modules initialization and,
especially problematically, uninitialization was done before modules
uninitialization, which resulted in problems when doing anything using
OLE from the modules OnExit().

This commit doesn't solve these problems yet, because it leaves modules
initialization order undefined, but the upcoming commits using it will.
2020-04-19 16:59:59 +02:00
Maarten Bent
f226fc0c76 Enable SSE2 in libpng build 2020-04-19 16:31:22 +02:00
Maarten Bent
f67a7c08f7 Allow to build libpng on more platforms
Add the hardware-specific source files to the build systems. Do not add MIPS
and PowerPC to MSVC build files, because these include <stdint.h> which is not
available for old MSVC versions.
2020-04-19 16:31:22 +02:00
Paul Cornett
82b3efb88e Set title bar decorations under Wayland
By default GTK just gives you a close button
2020-04-18 16:26:22 -07:00
Artur Wieczorek
491b68f7be Get rid of unused member variable 2020-04-19 00:43:49 +02:00
Artur Wieczorek
8e2d1fb221 Change buttons layout in propgrid sample
To make the buttons more visible.
2020-04-19 00:41:19 +02:00
Artur Wieczorek
a39aff4018 Refactor setting main frame size in propgrid sample
Determine and set main frame size on creation.
2020-04-19 00:39:38 +02:00
Artur Wieczorek
d9f8eec602 Refactor propgrid sample
Simplify implementation by creating panel and sizer holding wxPG instance
only once in FormMain ctor.
2020-04-19 00:33:52 +02:00
Artur Wieczorek
81f8e8d742 Call static member function with scope resolution operator 2020-04-19 00:23:14 +02:00
Artur Wieczorek
fbafe74414 Pass proper argument to wxFileDialog
File name only should be passed for `defaultFile' parameter otherwise
assertion in wxFileName::Assign() fails ("the file name shouldn't
contain the path").
2020-04-19 00:21:39 +02:00
Artur Wieczorek
5236801241 Simplify Boolean variable initialization 2020-04-19 00:20:14 +02:00
Jorge Moraleda
ede053def6 A DVC cell that has no value is not editable 2020-04-18 14:10:59 -07:00
Paul Cornett
48873dcbd3 Simpify wxSYS_COLOUR_HOTLIGHT implementation for GTK2
Also fixes a memory leak, and a Gtk-CRITICAL when running against 2.8
2020-04-18 12:46:30 -07:00
Vadim Zeitlin
e803408058 Document wxWindow::PopupMenu() effect on focus
This may be not obvious, so mention it explicitly.
2020-04-18 20:35:22 +02:00
Vadim Zeitlin
db3ff4e2f8 Merge branch 'pr_fix_gtk2_hotlight_color' of obfuscated/wxWidgets
Implement support for wxSYS_COLOUR_HOTLIGHT with GTK2.

See https://github.com/wxWidgets/wxWidgets/pull/1805
2020-04-18 17:58:53 +02:00
Vadim Zeitlin
1b4a5ece64 Add GTK 2.10 version checks around code using GtkLinkButton
Blindly repair compiling/running against GTK < 2.10 after the previous
commit.
2020-04-18 17:58:43 +02:00
Teodor Petrov
9c76bdefca Implement wxSYS_COLOUR_HOTLIGHT for GTK2 (requires GTK+ >= 2.10) 2020-04-18 14:17:17 +03:00