cef/tests/cefclient
Jesper Papmehl-Dufay 019611c764 macOS: Add support for building clients with ARC enabled (fixes issue #2623).
Under ARC (Automatic Reference Counting), assigning to an Objective-C
pointer has different semantics than assigning to a void* pointer.
This makes it dangerous to treat the same memory address as an
Objective-C pointer in some cases and as a "regular C pointer" in
other cases.

This change removes the conditional type defines and instead uses
void* everywhere. Explicit type casting in combination with ARC
annotations makes it safe to get typed Objective-C pointers from the
void* pointers.

This change enables ARC by default in the CEF binary distribution CMake
configuration for the cefclient and cefsimple sample applications. It can be
disabled by adding `-DOPTION_USE_ARC=Off` to the CMake command line.

ARC is not supported when building Chromium due to the substantial
number of changes that would be required in the Chromium code base.
2019-04-23 17:17:56 +00:00
..
browser macOS: Add support for building clients with ARC enabled (fixes issue #2623). 2019-04-23 17:17:56 +00:00
common Replace AddCustomScheme bool arguments with int using bit flags 2019-02-26 16:45:12 +00:00
renderer Fix ArrayBuffer crashes and add performance test (issue #2521) 2018-10-10 16:12:22 +03:00
resources Compute all version numbers using cef_version.py (see issue #2596) 2019-03-15 13:16:43 -04:00
CMakeLists.txt.in macOS: Add support for building clients with ARC enabled (fixes issue #2623). 2019-04-23 17:17:56 +00:00
cefclient_gtk.cc Windows: Fix hidden dropdowns when the window is topmost (issue #1468) 2018-10-09 12:28:13 +03:00
cefclient_mac.mm macOS: Add support for building clients with ARC enabled (fixes issue #2623). 2019-04-23 17:17:56 +00:00
cefclient_win.cc Windows: Fix hidden dropdowns when the window is topmost (issue #1468) 2018-10-09 12:28:13 +03:00