Vadim Zeitlin
37485130cc
Fix harmless warning about multiline comment in fuzzer runner
...
Don't embed backslash in multiline C++ comment.
2020-05-02 03:38:28 +02:00
Artur Wieczorek
f938402dd0
Use conditional operator instead of conditional statement
2020-05-01 19:38:52 +02:00
Artur Wieczorek
c0f7275b11
Get rid of redundant return statement
2020-05-01 19:36:09 +02:00
Artur Wieczorek
b9ebffd832
Set also wxPGEditor items while changing wxPGProperty choices
...
If we replace current set of choices when editor is active
we need also replace editor items.
Closes #18741 .
2020-05-01 19:35:29 +02:00
Artur Wieczorek
8a9e5e5ac7
Implement method to set items of wxPGChoiceEditor
...
In addition to the current methods to add/delete one item to the control
we would need a method to replace all existing control items with new ones
at once.
2020-05-01 17:57:46 +02:00
Paul Cornett
9d4bb47050
Don't compile Cairo dynamic linking code with GTK
...
It's useless as Cairo is always linked to any program using GTK
2020-04-30 09:11:37 -07:00
Paul Cornett
861cc376d6
Avoid -Wempty-body warning with non-debug build
2020-04-30 09:01:09 -07:00
Paul Cornett
af5950c108
Avoid Gtk-CRITICAL with GTK3 when calling SetFont() before Create()
2020-04-29 07:35:44 -07:00
Dummy
b3730a59c6
Document default value for wxDialog::Show() parameter correctly
...
It's "true", not "1".
See #18743 .
2020-04-29 15:46:47 +02:00
Dummy
bbc88cedf1
Fix wrong documentation of EVT_CLOSE for the dialogs
...
Clicking OK/Cancel buttons closes the dialog (by default), but doesn't
generate wxEVT_CLOSE event, so don't write that it does.
Closes #18743 .
2020-04-28 18:52:49 +02:00
Vadim Zeitlin
7a56a200bf
Remove the mention of update_release_info.rb from release HOWTO
...
This is now done automatically in the GitHub action of wxWidgets/website
repository.
Do mention that rebuilding the web site requires the release to be
available.
2020-04-28 00:53:06 +02:00
Vadim Zeitlin
a9fda9bfa8
Recognize wxFIXED_MINSIZE in sizer flags in the XRC schema
...
This seems to have been an accidental omission.
2020-04-26 23:37:02 +02:00
Stefan Csomor
7c61841d27
adding implementation for GetMatchingPair on macOS, streamlining wxDataObject
...
When adding the GetMatchinPair implementation, some clean-ups were done, for further details please see #1821
2020-04-26 17:50:33 +02:00
Vadim Zeitlin
a98410504b
Document updating docs.wxwidgets.org for the releases
...
[skip ci]
Closes https://github.com/wxWidgets/wxWidgets/pull/1823
2020-04-26 16:33:51 +02:00
Stefan Csomor
dc93ff1967
correcting include style
2020-04-26 15:55:51 +02:00
Stefan Csomor
a235f8e04c
bracket code not working on ios
2020-04-26 11:54:54 +02:00
Stefan Csomor
68b22e65b8
adding bitmap button implementation to ios
2020-04-26 11:54:04 +02:00
Paul Cornett
9f3ad89ba9
Update some documentation to reflect change of default GTK version for configure
...
Make some other feeble attempts to update these very outdated files, including
dropping '+' from GTK, and most references to GTK 1.
2020-04-25 08:39:42 -07:00
Vadim Zeitlin
c385676610
Prefer using https://www.wxwidgets.org/downloads/ download link
...
This is more user-friendly than GitHub links with their tons of files.
Also use the recently added #vX.Y.Z_msw anchor to link directly to MSW
binaries downloads from the corresponding file.
Closes https://github.com/wxWidgets/wxWidgets/pull/1820
2020-04-24 23:02:16 +02:00
Vadim Zeitlin
dc34600c0c
Fix built-in PNG library build with MSVC 9 and older
...
Upgrade the submodule to a version which doesn't try to use SSE2 with
this old compiler, as it doesn't support the required intrinsics.
See https://github.com/wxWidgets/libpng/pull/4
2020-04-24 00:42:41 +02:00
Vadim Zeitlin
4ee7202121
Merge branch 'upgrade-travis-platforms'
...
Use more recent Linux and macOS versions for Travis CI builds.
See https://github.com/wxWidgets/wxWidgets/pull/1818
2020-04-24 00:39:25 +02:00
Paul Cornett
9f9bb66d18
Fix for GTK2 wxSpinCtrl SetIncrement() not immediately updating increment
...
See #18735
2020-04-23 08:55:46 -07:00
Vadim Zeitlin
0397da2a8f
Use ld --no-as-needed in Travis Ubuntu 18.04 wxGTK build
...
This works around a problem in our build system which doesn't set rpath
correctly when linking our own libraries, which means that "qa" library,
for example, doesn't record the path to its "xml" library dependency.
We already worked around this by linking any program using "qa" with
"xml" too, however this doesn't do anything if "--as-needed" flag is in
effect, as is the case by default under Ubuntu 18.04, so make our
workaround work by forcefully disabling this flag.
Real solution would be to use -Wl,-rpath correctly and then stop linking
with "xml" library unnecessarily in e.g. test_gui bakefile.
2020-04-23 02:59:45 +02:00
Vadim Zeitlin
f1ee627736
Update Travis testing script to work for non-GUI builds too
...
Skip parts that don't work in this case.
2020-04-22 21:00:28 +02:00
Vadim Zeitlin
7cfe4ee9f2
Disable GUI parts build for PPC and S/390 Travis platforms
...
People are unlikely to use wxGTK on those anyhow, and it takes an
awfully long time to build, especially on PPC.
2020-04-22 18:26:02 +02:00
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
Paul Cornett
b256db8f0f
Restore previous behavior of wxString::operator<<(float)
2020-04-22 07:46:06 -07: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