Commit graph

1788 commits

Author SHA1 Message Date
Vadim Zeitlin
61c3160340 Install the new include/wx/osx/core/cfdictionary.h header
Add the new header to the list in build/files and regenerate all the
files derived from it.

This should have been part of 342e445423
2018-07-30 14:52:10 +02:00
Vadim Zeitlin
abce91f967 Remove dynarray.cpp source file
After the recent dynamic array macros refactoring, there was no
implementation of wxBaseArray any more and only wxArrayString-related
code remained in this file, so just move the latter to arrstr.cpp, where
it should have been put from the beginning (except that this code
probably predates arrstr.cpp addition), and remove the old file
entirely.
2018-06-20 13:59:03 +02:00
Vadim Zeitlin
ff06e12ceb Remove unused and outdates samples/Info.plist file
This file was added in 4d524cdd0e a long
time ago but doesn't seem to have been ever actually used for anything
and is outdated, e.g. contains LSRequiresCarbon=true, which shouldn't be
used any longer.

Remove the file itself and all references to it.
2018-05-02 16:01:02 +02:00
Vadim Zeitlin
af7e2901fe Add wxLZMAInputStream for decompressing data in XZ format
No compression support yet.
2018-04-06 15:39:55 +02:00
Tobias Taschner
7ce4d769fd
Use combined webview sample and move CEF to 3rdparty/cef
VS CEF sample to single vcxproj file and into samples/webview folder
2018-02-20 20:33:59 +01:00
Steven Lamerton
0347008aa3
Build system fixes for wxWebViewChromium. 2018-02-20 18:33:00 +01:00
Haojian Wu
e3069bf7ba
[Windows] Update to use the new webviewchromium library.
* Update VS2010 project file.
* Update webview_chromium sample VS2010 project file.
* Introduce a WXDLLIMPEXP_WEBVIEW_CHROMIUM and WXDLLIMPEXP_DATA_WEBVIEW_CHROMIUM
  macro to enable dynamic builds on windows.
2018-02-20 18:32:52 +01:00
Haojian Wu
85455fe7cc
[Mac] Make libwebview_chromium depends on libwebview.
This will avoid include webview common code in both two library, and
allow end user to link both two libs for using two backends at the same
times.
2018-02-20 18:32:50 +01:00
Haojian Wu
bb4aac2534
[Mac] Move mac related resource files to mac directory. 2018-02-20 18:32:40 +01:00
Haojian Wu
58d5d963e8
[Mac] Change webview_chromium sample to use webview_chromium library. 2018-02-20 18:32:35 +01:00
Haojian Wu
910dead2d0
Add USE_WEBVIEW_CHROMIUM option in bkl file to allow build/unbuild
webview_chromium library.
2018-02-20 18:32:34 +01:00
Haojian Wu
069bdd9e1e
Move cef directory from <wxwidget_dir>/cef to <wxwidget_dir>/src/cef. 2018-02-20 18:32:32 +01:00
Haojian Wu
3ed58ec2b5
Remove chromium related code from webview library. 2018-02-20 18:32:15 +01:00
Haojian Wu
20f8ded568
Create an independent webview_chromium library. 2018-02-20 18:32:13 +01:00
Haojian Wu
a119eaee7f
Specify CEF Framework link in bakefile system instead configure.
Add CEF framework link in configure will cause each binary builds with
CEF framework path option. We only need to link CEF framework on
building webview library.
2018-02-20 18:32:07 +01:00
Haojian Wu
afec84d944
Nits: Correct code indent. 2018-02-20 18:32:02 +01:00
Haojian Wu
6875d523fc
[Mac] Add CEF path to bakefile system. 2018-02-20 18:32:01 +01:00
Haojian Wu
10abac0c15
Set wxWidgets_src/cef as CEF default path. 2018-02-20 18:31:28 +01:00
Haojian Wu
49f183ce41
Fix build error on windows. 2018-02-20 18:31:26 +01:00
Haojian Wu
2d1502f131
Fix autoconf generated error in bakefile_gen. 2018-02-20 18:31:24 +01:00
Haojian Wu
08fb3979b6
Correct cef link name on Windows.
Linux link option does not require 'lib' prefix, while windows
require.
2018-02-20 18:31:23 +01:00
Haojian Wu
ea6bd5cfe5
Split CEF_LIB_DIR into LIBCEF_PATH and LIBCEF_WRAPPER_PATH. 2018-02-20 18:31:20 +01:00
Haojian Wu
04ddd87d3d
Add CEF link path on Linux. 2018-02-20 18:31:19 +01:00
Haojian Wu
da01371602
Remove lib prefix in multilib.bkl
There is no need to add lib prefix, since g++ `-l` option will add it
automatically.

This patch does no effect on windows platform.
2018-02-20 18:31:18 +01:00
Haojian Wu
0efb04d342
Move CEF specific variables to config.bkl to avoid duplicate. 2018-02-20 18:31:17 +01:00
Haojian Wu
3a4d793579
Enable wxWebviewChromium dynamic builds. 2018-02-20 18:31:16 +01:00
Haojian Wu
450bece977
Remove CEF1 specific code since we only focus on CEF3. 2018-02-20 18:31:09 +01:00
Haojian Wu
02b72bee46
Integrate wxWebChromium to wxwidgets
Also add webview_chromium usage samples.
2018-02-20 18:31:03 +01:00
Vadim Zeitlin
2ec2837f6d Update version to 3.1.2
Run misc/scripts/inc_release and rebake.
2018-02-20 00:08:01 +01:00
Vadim Zeitlin
7d6b44687f Fix monolithic build with USE_STC=0
Don't add STC-related sources to MONOLIB_GUI_SRC unconditionally, as
this broke linking when specifying USE_STC=0 on make command line.

Closes #17895.
2018-01-26 23:38:01 +01:00
Vadim Zeitlin
9b51ef82af Install wx/osx/appprogress as part of "make install"
Add the file to the files list, this should have been part of
11a5b83e2c (see #16638).

Closes #18059.
2018-01-24 17:43:58 +01:00
Tobias Taschner
ddceaab001
Remove MSW wxUxThemeEngine class
This undocumented "private" class was used for various windows UxTheme
functions which are available since WinXP. As wxWidgets 3.1 is XP+ it
does not make sense anymore to load the theme functions dynamically.
2018-01-22 00:51:11 +01:00
Mart Raudsepp
48a5d6c5f8 Move wx/evtloopsrc.h to BASE_CMN_HDR from GUI_CMN_HDR
This header ends up being included by wx/apptrait.h, which is in
BASE_CMN_HDR, so it needs itself to be there too in order for
compilation to work when using non-GUI library build.

Closes #18038.
2018-01-04 17:16:40 +01:00
Vadim Zeitlin
072a9c20a3 Add new wx/persist/dataview.h to the build system
In particular, this ensures that it gets installed by "make install"
under Unix.
2017-12-15 14:10:11 +01:00
Rafael Kitover
22b0b4dda7 autoconf and bakefile support for GTK+4
Add autoconf and bakefile support for detecting and using GTK+4, similar
to how GTK+3 is detected and used.

GTK+3 is checked for first before GTK+4, this can be overridden in
`./configure` using `--with-gtk=4`.

With GTK+4 the `__WXGTK4__` `#define` is also set in `setup.h.in`.

This commit does not regenerate any files.
2017-12-12 08:48:36 -08:00
Vadim Zeitlin
99db923c2c Add more missing generic headers to wxQt headers list
See f5cdda7b8b (commitcomment-25822547)
2017-11-25 00:25:14 +01:00
Vadim Zeitlin
53bf5936f1 Rename QT_LOWLEVEL_{HDR,SRC} to just QT_{HDR,SRC}
These file lists contained files that were not low level (meaning "used
by wxQt/Univ" in this context) at all and it doesn't make much sense to
think about Qt-based wxUniv port anyhow, so instead of painstakingly
separating them in low level part and the rest, just rename the
variables to be less confusing.
2017-11-25 00:12:38 +01:00
Vadim Zeitlin
778340a286 Merge branch 'private-fonts'
Add support for using application-private fonts.

Closes #13568.

Closes https://github.com/wxWidgets/wxWidgets/pull/591
2017-11-24 22:58:09 +01:00
Vadim Zeitlin
f5cdda7b8b Add missing qt/nonownedwnd.h to the list of headers
Also add the previously added src/qt/nonownedwnd.cpp to the master files
list.
2017-11-22 21:49:56 +01:00
Vadim Zeitlin
5d134711a1 Add BUNDLE_FONT_RESOURCES and use it in font sample
Allow copying font files to the Fonts subdirectory of the app bundle,
private fonts can only be loaded from there under macOS currently.
2017-11-13 22:29:29 +01:00
Vadim Zeitlin
cc8657e436 Upgrade libjpeg to the latest version 9b
There don't seem to be any really important changes affecting our use of
the library, but it seems better to use the 2016 version instead of the
1998 one and it also allows to get rid of many hacks that were needed
before as the things they worked around are now taken care of by the
library itself.
2017-11-12 16:32:35 +01:00
Vadim Zeitlin
b9af392704 Remove obsolete COMPILED_FROM_DSP from Expat project files
This symbol is not used any longer since 2.2.0, see the corresponding
entry in Expat change log file.
2017-11-11 20:50:51 +01:00
Vadim Zeitlin
824134d427 Replace Expat sources directory with a Git submodule
This will make it simpler to track upstream in the future.
2017-11-11 20:50:50 +01:00
Sean D'Epagnier
1cb7120ac9 support masked or partially transparent windows in wxqt 2017-11-06 02:05:40 +01:00
Vadim Zeitlin
e70fc11ef1 Replace CppUnit with Catch for unit tests
Drop the legacy CppUnit testing framework used for the unit tests.
Replacing it with Catch has the advantage of not requiring CppUnit
libraries to be installed on the system in order to be able to run
tests (Catch is header-only and a copy of it is now included in the
main repository itself) and, in the future, of being able to write
the tests in a much more natural way.

For now, however, avoid changing the existing tests code as much as
[reasonably] possible to avoid introducing bugs in them and provide
the CppUnit compatibility macros in the new wx/catch_cppunit.h header
which allow to preserve the 99% of the existing code unchanged. Some
of the required changes are:

 - Decompose asserts using "a && b" conditions into multiple asserts
   checking "a" and "b" independently. This would have been better
   even with CppUnit (to know which part of condition exactly failed)
   and is required with Catch.

 - Use extra parentheses around such conditions when they can't be
   easily decomposed in the arrays test, due to the use of macros.
   This is not ideal from the point of view of messages given when
   the tests fail but will do for now.

 - Rewrite asserts using "a || b" as a combination of condition
   checks and assert macros. Again, this is better anyhow, and is
   required with Catch. Incidentally, this allowed to fix a bug in
   the "exec" unit test which didn't leave enough time for the new
   process to be launched before trying to kill it.

 - Remove multiple CPPUNIT_TEST_SUITE_NAMED_REGISTRATION() macros,
   our emulation of this macro can be used only once.

 - Provide string conversions using Catch-specific StringMaker for
   a couple of types.

 - Replace custom wxImage comparison with a Catch-specific matcher
   class.

 - Remove most of test running logic from test.cpp, in particular don't
   parse command line ourselves any longer but use Catch built-in
   command line parser. This is a source of a minor regression:
   previously, both "Foo" and "FooTestCase" could be used as the name of
   the test to run, but now only the latter is accepted.
2017-11-02 01:53:16 +01:00
Vadim Zeitlin
0d394eec9c Update to bakefile 0.2.11 and rebake everything
The main/only change in this version is the removal of automatic rules
using old Carbon Rez/DeRez/SetFile tools.
2017-10-21 17:42:30 +02:00
Vadim Zeitlin
a156d5fa40 Extract wxPenInfoBase in a separate header
This allows to avoid dependency of wx/graphics.h on wx/pen.h.
2017-09-10 01:24:16 +02:00
Stefan Csomor
f045323934 Adding native macos Cocoa implementation for overlays into build files 2017-09-09 23:34:50 +02:00
Bryan Petty
ed173ed91e Use HTTPS with Trac links. 2017-07-04 13:15:14 -06:00
Scott Talbert
42964879bc Fix building with WebKit2GTK+
After 2893f894, the extension define quotes need to be escaped.  Additionally,
this fixes monolithic and non-shared builds with WebKit2GTK+.
2017-06-05 23:34:18 -04:00