Marshall Greenblatt
e53bff712a
Delete cef_basictypes.h which is no longer required ( fixes #3507 )
2023-06-01 19:32:36 +03:00
Marshall Greenblatt
5042d71408
Remove CEF-specific integer and char16 typedef's (see #3507 )
2023-06-01 19:32:36 +03:00
Marshall Greenblatt
b8e1c6a59d
Remove TRACE_EVENT_COPY_XXX overloads ( fixes #3497 )
...
This functionality is not compatible with Chromium's new tracing implementation
based on Perfetto.
2023-05-08 18:32:54 +03:00
Sergey Markelov
f90d5bc49e
Remove unused macro FALLTHROUGH
...
Chromium and CEF now use the attribute `[[fallthrough]]`.
2023-04-13 16:03:41 +00:00
Marshall Greenblatt
584b19967a
Update to Chromium version 112.0.5615.0
...
- Windows: VS2022 and Win11 SDK 10.0.22621.0 are now required.
2023-03-03 09:59:30 -05:00
Marshall Greenblatt
dc2231cdfb
Update to Chromium version 111.0.5563.0 ( #1097615 )
2023-02-03 13:00:26 -05:00
Marshall Greenblatt
9f8be5ea6c
Update include files for bracket style
2023-01-04 21:36:29 -05:00
Marshall Greenblatt
83cb82d50f
Rename namespace to "cef_internal" for base types
...
This fixes duplicate symbol errors when building CEF sample applications as
part of the Chromium build. These applications pick up a link-time dependency
on base.lib via the //sandbox and/or //testing/gtest targets which then
conflict with the symbols provided by the libcef_dll_wrapper target.
2023-01-04 21:36:29 -05:00
Marshall Greenblatt
5ea0c141b5
Convert base::size to std::size from C++17 (see issue #3362 )
2022-09-05 16:31:47 -04:00
Marshall Greenblatt
12fc72147c
Format include/base comments for Doxygen (see issue #3384 )
2022-09-05 16:17:57 -04:00
Marshall Greenblatt
a9043f2e80
Replace macros with C++17 features (see issue #3362 )
...
- Convert ALLOW_UNUSED_LOCAL to [[maybe_unused]]
- Convert WARN_UNUSED_RESULT to [[nodiscard]]
2022-07-27 12:52:45 -04:00
Marshall Greenblatt
7702d96b33
Fix type conversion warning with GCC 10 (fixes issue #3324 )
2022-04-28 16:40:49 -04:00
Marshall Greenblatt
b524edc209
Update to Chromium version 101.0.4951.0 ( #982481 )
...
Known issues:
- chrome: Some ceftests are failing due to bfcache same-site enabled by default
(see issue #3301 )
2022-03-30 19:54:09 -04:00
Hunter Laux
477ab61e3b
Fix std::result_of deprecation error in C++17 (fixes issue #3194 )
2022-02-24 17:34:10 +00:00
Marshall Greenblatt
f97f0bbda6
Update to Chromium version 100.0.4896.0 ( #972766 )
2022-02-22 19:22:39 -05:00
Sergey Markelov
5c0895e27f
Check C API structure sizes before copying values to C++ classes (fixes issue #3238 )
2022-02-17 12:46:38 -05:00
Marshall Greenblatt
c32f366dfa
Migrate ignore_result to std::ignore (see issue #3234 )
...
See https://crbug.com/1285085 for background.
2022-01-25 14:40:53 -05:00
Marshall Greenblatt
dfc0131516
Update to Chromium version 98.0.4758.0 ( #950365 )
2021-12-18 15:57:34 -05:00
Marshall Greenblatt
b76badd958
Remove DISALLOW_ macro from include/ (see issue #3234 )
...
Also perform related C++ cleanup:
- Use =default instead of {} for default implementations of
constructors/destructors.
- Replace typedef with using.
2021-12-07 15:02:28 -05:00
Marshall Greenblatt
07bc800f00
Remove deprecated base::Bind APIs (see issue #3140 )
...
This CL removes the following deprecated APIs:
- base::Bind()
- base::Callback
- base::Closure
- base::CancelableCallback
- base::CancelableClosure
The behavior that these APIs provided is still available using the *Repeating*
variants. However, consider strongly whether using these variants is actually
necessary in your case or whether the *Once* variants will suffice: unless your
callback *objects* (note: not variables!) need to be called multiple times,
they most likely can and should be the Once variants.
This applies the same changes as https://crrev.com/6cc94b5339 .
2021-10-05 15:10:14 +03:00
Martin Falk
d4a2f72d10
Use absolute namespace in cef_logging.h (fixes issue #3185 )
2021-09-22 14:09:54 +03:00
Marshall Greenblatt
b4ab321a79
Remove unicode character from cef_bind_internal.h
...
This can cause compile errors on non-English Windows versions.
2021-08-16 13:22:39 -04:00
Marshall Greenblatt
9efd3dc8ee
Fix compile errors with VS2019 v16.9.3 and GCC v7.5.0 (see issue #3140 )
2021-06-23 13:00:34 -04:00
Marshall Greenblatt
6a1c641f75
Rename 'subtle' namespace to fix duplicate symbol errors (see issue #3140 )
2021-06-18 13:42:32 -04:00
Marshall Greenblatt
43f9baa23a
Update include/base headers for C++11/14 (see issue #3140 )
...
See the issue for update guidelines.
2021-06-17 20:47:12 -04:00
Marshall Greenblatt
ae4f68f695
Update to Chromium version 91.0.4472.0 ( #870763 )
2021-04-23 11:38:51 -04:00
Marshall Greenblatt
a584bd187b
Update to Chromium version 88.0.4324.0 ( #827102 )
...
- Mac: Xcode 12.2 and the MacOS 11.0 SDK are now required for building.
- MacOS 10.10 (Yosemite) is no longer supported (see https://crbug.com/1126056 ).
- Flash is no longer supported (see https://www.chromium.org/flash-roadmap ).
2020-12-04 15:43:33 -05:00
Marshall Greenblatt
d2c884da86
Prevent UB if a WeakPtr to an already-destroyed object is dereferenced.
...
If a WeakPtr references an already-destroyed object, operator-> and
operator* end up simply dereferencing nullptr. However, dereferencing
nullptr is undefined behavior and can be optimized in surprising ways
by compilers. To prevent this from happening, add a defence of last
resort and CHECK that the WeakPtr is still valid.
Based on https://crrev.com/bbb64b5c69
2020-11-10 11:51:50 -05:00
Marshall Greenblatt
24c2f2fa38
Update to Chromium version 86.0.4240.0 ( #800218 )
...
- CefURLRequest::Create is no longer supported in the renderer process
(see https://crbug.com/891872 ). Use CefFrame::CreateURLRequest instead.
- Mac platform definitions have been changed from `MACOSX` to `MAC`
(see https://crbug.com/1105907 ) and related CMake macro names have
been updated. The old `OS_MACOSX` define is still set in code and CMake
for backwards compatibility.
- Linux ARM build is currently broken (see https://crbug.com/1123214 ).
2020-09-03 17:44:25 -04:00
Marshall Greenblatt
6573df6cc3
Update to Chromium version 85.0.4183.0 ( #782793 )
...
- Windows: 10.0.19041 SDK is now required.
- macOS: 10.15.1 SDK (at least Xcode 11.2) is now required.
- Remove CefMediaSource::IsValid and CefMediaSink::IsValid which would
always return true.
2020-07-16 19:11:12 -04:00
Iain Apreotesei
afcee77abe
Windows: Add ARM64 binary distribution support (see issue #2773 )
2020-02-19 16:33:27 +00:00
Alexander Guettler
71768ea6c3
Update to Chromium version 80.0.3987.0 ( #722274 )
2020-02-17 13:19:09 -05:00
Iain Apreotesei@Arm
a8283d1cc3
Add Windows ARM64 build support
2019-10-02 11:43:38 +00:00
David Sowa
f0c82200ba
Add ARM64 build and binary distribution support (see issue #1990 )
...
Adds a new `--arm64-build` option to automate-git.py and make_distrib.py.
2019-06-13 11:52:32 +02:00
Marshall Greenblatt
07863c0d46
Use net/base/net_error_list.h to populate the cef_errorcode_t enum (fixes issue #2650 )
2019-04-16 12:07:33 -04:00
Marshall Greenblatt
dead08bf52
Add missing include for DISALLOW_COPY_AND_ASSIGN
2018-09-28 15:44:47 +02:00
Marshall Greenblatt
ea0e213bef
Update to Chromium version 70.0.3516.0 ( #581409 )
2018-08-10 11:31:08 -04:00
Marshall Greenblatt
0d12959a50
Disable cfi-icall checks for CEF bindings (issue #2472 )
2018-07-12 10:58:29 -07:00
Marshall Greenblatt
10c01ff43e
Remove include/base/cef_thread_collision_warner.h which is unused and causes linker errors with CFI builds (issue #2472 )
2018-07-12 10:58:29 -07:00
Marshall Greenblatt
a9f0fa9dfe
Update to Chromium version 68.0.3416.0 ( #554961 )
2018-05-19 12:35:20 +03:00
Marshall Greenblatt
8426da0de6
Update to Chromium version 68.0.3399.0 ( #551554 )
2018-05-16 11:23:34 +03:00
Marshall Greenblatt
89a1f2b372
Add CefServer API for handling HTTP/WebSocket requests (issue #2278 )
2017-11-15 12:00:36 -05:00
Marshall Greenblatt
f229796a39
Update to Chromium revision ff259bab ( #488528 )
2017-07-28 18:30:34 -04:00
Marshall Greenblatt
24e20aec0f
Fix duplicate definition of MSVC_PUSH_DISABLE_WARNING (issue #2171 )
2017-05-18 12:30:06 +02:00
Marshall Greenblatt
31d9407ee2
Apply clang-format to all C, C++ and ObjC files (issue #2171 )
2017-05-18 12:30:05 +02:00
Marshall Greenblatt
07ba48b082
Add support for non-ref-counted interface classes (issue #2090 )
2017-02-09 17:50:46 -05:00
Marshall Greenblatt
f557d325c1
Remove Chromium target dependencies for unit tests (issue #1632 )
2016-11-16 12:51:44 -08:00
Marshall Greenblatt
6158110063
Linux: Add ARM build support (issue #1990 )
2016-09-09 18:04:39 -07:00
Marshall Greenblatt
5068b50b48
Use DCHECK_IS_ON() instead of !NDEBUG for debug logic (issue #1961 )
2016-09-01 14:24:30 +03:00
Marshall Greenblatt
ab2636b012
Update to Chromium revision 2b3ae3b8 ( #394939 )
2016-05-25 08:10:01 -07:00