Commit Graph

68188 Commits

Author SHA1 Message Date
Vadim Zeitlin
30241e18ba Fix configure success test one more time
Quotes are important.
2020-04-22 18:25:48 +02:00
Vadim Zeitlin
ea11be554c Install libpango1.0-dev for wxX11 build on Travis
Hopefully this is what explains pangoxft pkg-config check failure.
2020-04-22 17:56:45 +02:00
Vadim Zeitlin
cc86204c98 Change wxOSX CMake build name to include "CMake" 2020-04-22 17:54:01 +02:00
Vadim Zeitlin
a22b9b283d Really fix configure exit code test
Don't compare undefined variable with 0, this is not going to work.
2020-04-22 17:51:55 +02:00
Vadim Zeitlin
3fc119f564 Avoid using undefined variable in Travis CI build script
rc is undefined if configure succeeds, so use "$rc" to expand to
something non-empty even in this case.
2020-04-22 17:27:24 +02:00
Vadim Zeitlin
babf789c54 Don't install unnecessary packages in Travis CI build script
It shouldn't be necessary to install GTK-specific packages when building
non-GTK-based ports.
2020-04-22 17:25:33 +02:00
Vadim Zeitlin
9fba259546 Require macOS 10.12 for Travis CI build using Xcode 11.3
Our tests don't compile under Mac when targeting 10.9 and using C++17 as
they try to use C++17 std::uncaught_exceptions() which is only available
since 10.12 under macOS.

We could avoid the use of this function in the tests in this build
configuration, but for now just target 10.12 instead. Yet another
alternative would be to downgrade to using C++14.
2020-04-22 17:24:21 +02:00
Vadim Zeitlin
bba585eebb Disable AppVeyor rebuilds on Mac files changes too
As long as we don't test under AppVeyor, there is no need to do anything
there when only Mac-specific files are changed.
2020-04-22 17:18:37 +02:00
Vadim Zeitlin
76ac2d8e76 Install Qt OpenGL support when building wxQt on Travis
Somehow this wasn't necessary on the old Ubuntu version, but is needed
under Bionic.

Ideally configure shouldn't refuse to build everything if just Qt5OpenGL
is not found, and just disable OpenGL support, but this enhancement can
be done later.
2020-04-22 17:12:03 +02:00
Vadim Zeitlin
9a53b3b66a Use C++17 and STL for Xcode 11.3 Travis CI build
Note that using C++98 results in tests build failure with clang as
libc++ doesn't allow using custom std::swap() specialization for
non-const references in its iter_swap(), it really requires using rvalue
references, which are, of course, only available in C++11 and later.
2020-04-22 15:48:54 +02:00
Vadim Zeitlin
1bc33f3d0c Ignore more Travis CI files on AppVeyor
Avoid unnecessary AppVeyor rebuilds when Travis build files are changed.
2020-04-22 15:25:31 +02:00
Vadim Zeitlin
f899a72d45 Show config.log contents if configure failed
This should help understanding why Qt libraries are not found under
Bionic and may also be useful in case of other failures in the future.
2020-04-22 15:24:24 +02:00
Vadim Zeitlin
cd750332d3 Disable debug info generation in Travis CI builds
Debug info is useless in these builds and disabling it should hopefully
speed them up a bit and take less space.
2020-04-22 15:18:14 +02:00
Vadim Zeitlin
f0136060eb Upgrade Travis CI Linux build platforms to later versions
Move Precise (12.04) build to Trusty (4.04), move one of the existing
Trusty builds to Xenial (16.04) and all the other ones to Bionic (18.04)
to test under reasonably recent platforms too, and mostly.
2020-04-21 23:08:34 +02:00
Vadim Zeitlin
70335d7a55 Add Travis CI build using Xcode 11.3
Test with the latest Xcode release too.

Make this build monolithic just to try to cover more possibilities.
2020-04-21 23:07:57 +02:00
Vadim Zeitlin
694f0c59e7 Don't rebuild on AppVeyor if only .travis.yml was changed
Just avoid the unnecessary rebuilds.
2020-04-21 23:05:38 +02:00
Vadim Zeitlin
ca7760ccb1 Remove redundant patterns from .gitignore
No real changes, just remove patterns of the form "AAA*_BBB_CCC" as
everything they match is also matched by the "AAA*_CCC" pattern which is
also present.

See https://github.com/wxWidgets/wxWidgets/pull/1813
2020-04-21 22:39:07 +02:00
Paul Cornett
c5faf9cfac Avoid passing float argument for "%f" printf specifier
"%f" takes a double. Eliminates some -Wdouble-promotion warnings.
2020-04-21 11:59:36 -07:00
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
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