Marshall Greenblatt
880e82f45f
cmake: mac: Remove cef_sandbox.a linking (see #3928 )
2025-05-19 11:50:33 -04:00
Marshall Greenblatt
cfaa10a746
mac: Convert cef_sandbox to a shared library (see #3928 )
...
Replace statically linked cef_sandbox.a with dynamically loaded
libcef_sandbox.dylib. See the SandboxSetup Wiki page for details.
2025-05-19 11:50:33 -04:00
Marshall Greenblatt
353b6fb138
build: Remove GN arg is_cef_sandbox_build (see #3824 )
...
This argument is no longer used after removing cef_sandbox patches.
2025-05-19 11:50:33 -04:00
Marshall Greenblatt
992b9d3435
patch: Remove sandbox-related //base patches (see #3824 )
...
The //base target is only used by cef_sandbox on Windows (not macOS).
2025-05-19 11:50:32 -04:00
Marshall Greenblatt
6a97b82ffc
distrib: win: Repurpose sandbox distrib for bootstrap executables (see #3824 )
2025-05-19 11:50:32 -04:00
Marshall Greenblatt
dadfe2c8dc
bazel: win: Remove cef_sandbox.lib linking (see #3824 )
...
Support for bootstrap executables will be added later.
2025-05-19 11:50:32 -04:00
Marshall Greenblatt
572c44bc2e
cmake: win: Remove cef_sandbox.lib linking (see #3824 )
...
- Repurpose USE_SANDBOX config to enable the bootstrap.
- Build appname.dll instead of appname.exe.
- Copy bootstrap[c].exe to appname.exe as a post-build step.
2025-05-19 11:50:32 -04:00
Marshall Greenblatt
c302f285c7
patch: Remove Windows-only cef_sandbox patches (see #3824 )
2025-05-16 17:43:11 -04:00
Marshall Greenblatt
adcac2c37c
win: Add bootstrap[c].exe for sandbox integration (see #3824 )
...
Replace cef_sandbox.lib usage with bootstrap executables.
See the SandboxSetup Wiki page for details.
2025-05-16 17:32:34 -04:00
Marshall Greenblatt
7581264dbb
tools: Don't print git errors with fix_style
2025-05-14 13:09:37 -04:00
Marshall Greenblatt
fbb54374d4
distrib: Add --no-format option for faster testing
2025-05-14 13:09:27 -04:00
Marshall Greenblatt
4060fb9c22
bazel: Remove support for angle bracket includes
...
Fixes the following error:
fail: attribute includes: './' resolves to the workspace root,
which would allow this rule and all of its transitive dependents
to include any file in your workspace. Please include only what
you need.
Bazel's recommendation [1] is to use double quotes instead of
angle brackets.
[1] https://bazel.build/docs/bazel-and-cpp#include-paths
2025-05-13 18:51:20 -04:00
Marshall Greenblatt
4634b6f0d5
win: Fix crash loading chrome://sandbox when sandbox is disabled
2025-05-13 18:51:10 -04:00
Marshall Greenblatt
9051920b44
osr: linux: Fix crash with default JS modal dialogs ( fixes #3921 )
2025-05-07 16:10:22 -04:00
Marshall Greenblatt
ad4fa9cf24
Tag 13700 API version
2025-05-07 13:25:44 -04:00
Marshall Greenblatt
8b09ea4324
vscode: Fix cwd for clicking file paths in task output
2025-05-06 17:09:21 -04:00
Marshall Greenblatt
a16513512e
docs: Fix incorrect function name ( fixes #3923 )
2025-05-06 17:09:21 -04:00
Marshall Greenblatt
7944038baf
Update to Chromium version 137.0.7151.0 ( #1453031 )
2025-05-06 17:09:21 -04:00
Marshall Greenblatt
faa85bf980
Support JavaScript window.moveTo/By() and resizeTo/By() ( fixes #698 )
...
Adds new CefDisplayHandler::OnContentsBoundsChange and
CefDisplayHandler::GetRootWindowScreenRect callbacks.
cefclient: Implement the above callbacks and call
CefBrowserHost::NotifyScreenInfoChanged when the root window
bounds change.
cefclient: osr: Use real screen bounds by default. Pass
`--fake-screen-bounds` for the old default behavior.
Load https://tests/window in cefclient for additional
implementation details and usage examples.
2025-05-05 11:53:33 -04:00
Marshall Greenblatt
f59112d839
Tag 13601 API version
2025-04-22 10:23:52 -04:00
Marshall Greenblatt
d5339f1f2a
Fix enum value typos
2025-04-22 10:22:49 -04:00
Marshall Greenblatt
77f2451a5e
Add callback to allow Document PiP moveTo/By() ( fixes #3714 )
...
Allow Document picture-in-picture moveTo/By() and resizeTo/By()
(without user gesture) if the new
CefBrowserViewDelegate::AllowMoveForPictureInPicture callback
returns true.
2025-04-22 14:05:23 +00:00
Marshall Greenblatt
d746017d7c
Tag 13600 API version
2025-04-07 17:42:26 -04:00
Marshall Greenblatt
06288b535e
osr: Avoid crash in WebContentsImpl::GetSize/Resize
2025-04-07 17:11:48 -04:00
Marshall Greenblatt
c0df792f3b
vscode: Fix error running build tasks
...
Running tasks without explicit "cwd" broke in VSCode 1.99.0.
2025-04-07 15:38:21 -04:00
Marshall Greenblatt
68b0feea6d
Fix dangling menu observer on browser destruction
2025-04-07 15:38:21 -04:00
Marshall Greenblatt
e7320793b6
Update to Chromium version 136.0.7103.0 ( #1440670 )
...
- Win: Update to VS 2022 17.13.4 and WinSDK 10.0.26100.3323
2025-04-07 15:38:21 -04:00
Marshall Greenblatt
ef82e430b4
alloy: Fix display of modal JS dialogs ( fixes #3818 )
2025-04-02 14:25:45 -04:00
Marshall Greenblatt
70ea6f589f
Fix allow_os_execution=true ( fixes #2715 , fixes #3851 , fixes #3889 )
...
When setting allow_os_execution=true in OnProtocolExecution the
confirmation dialog should display consistently, the load should
be canceled with ERR_ABORTED, and no interstitial error page
should be displayed.
2025-04-01 18:08:25 -04:00
Marshall Greenblatt
5b18ca7d3f
linux: Fix stack-related sub-process shutdown crashes ( fixes #3912 )
...
On Linux systems the stack frame reference canary will be purposely
changed when forking sub-processes (see https://crbug.com/40181003 ).
To avoid sub-process shutdown crashes the NO_STACK_PROTECTOR
annotation must be added to all functions in the call stack leading to
CefExecuteProcess(). Applications that cannot add this annotation must
instead pass the `--change-stack-guard-on-fork=disable` command-line
flag.
2025-03-31 14:13:24 -04:00
Marshall Greenblatt
b2f5ab6cd2
Fix crash on invalid chromeMediaSourceId ( fixes #3911 )
2025-03-31 12:11:33 -04:00
Marshall Greenblatt
0bf995ae26
win: alloy: Fix potential crash if browser creation is aborted ( fixes #3862 )
2025-03-21 14:31:02 -04:00
Marshall Greenblatt
49ac6882ec
chrome: Implement CefBrowserHost::SetAudioMuted/IsAudioMuted ( fixes #3893 )
2025-03-21 13:17:33 -04:00
Marshall Greenblatt
8cf30843f9
chrome: Implement CefFocusHandler::OnTakeFocus callback ( fixes #3897 )
2025-03-21 13:03:53 -04:00
Marshall Greenblatt
e88e98f061
tools: Add VSCode setup ( fixes #3906 )
...
Add tooling to set up a Visual Studio Code development environment
for CEF. See script output for usage.
Run: python3 tools/setup_vscode.py
2025-03-20 13:53:33 -04:00
Marshall Greenblatt
8fa5244adb
distrib: Include CREDITS.html with third-party licenses
...
This is the same content currently available via about:credits.
2025-03-19 13:57:51 -04:00
Michael Bragg
aa4734b714
alloy: win: Add spelling suggestions in context menu ( fixes #3055 )
2025-03-18 12:08:47 -04:00
David Cernoch
f72afb713a
Make PrintToPDF path
parameter optional ( fixes #3879 )
2025-03-18 15:44:00 +00:00
Marshall Greenblatt
8db54e92c2
Tag 13500 API version
2025-03-12 14:37:45 -04:00
Marshall Greenblatt
00b4581c9b
tests: Destroy |scheme_factory_| on IO thread
...
This avoids a thread race between ShutdownSchemeHandler and
GetResourceHandler when running `CookieTest.AccessResource*` tests.
2025-03-12 13:40:39 -04:00
Marshall Greenblatt
ff5210f825
Update to Chromium version 135.0.7049.0 ( #1427262 )
2025-03-12 13:05:48 -04:00
Marshall Greenblatt
cda47aaff4
Tag 13401 API version
2025-03-10 11:53:36 -04:00
Marshall Greenblatt
549e8fe05c
Add visualization for Chrome configuration changes ( fixes #3892 )
...
- Add new API to retrieve/observe configuration values.
- cefclient: Add https://tests/config to inspect configuration
values in real time.
2025-03-10 15:50:46 +00:00
Marshall Greenblatt
ec31b2b505
Fix Chrome toolbar initialization ( fixes #3898 )
...
Change BrowserWindowFeatures initialization to consider CEF browsers
with TYPE_POPUP as normal.
2025-03-07 14:56:20 -05:00
Marshall Greenblatt
40fef43488
tools: Fix assert when all file contents are excluded (see #3836 )
...
The full contents of a file may be excluded at certain API versions.
2025-03-07 11:59:43 -05:00
Jacobo Aragunde Pérez
e44a93551f
tools: Add non-zero exit code for single patch failure ( fixes #3903 )
2025-03-07 15:46:05 +00:00
Marshall Greenblatt
18b65ced23
tools: Also check for CEF_NEXT in .cc files (see #3836 )
2025-02-28 18:22:33 -05:00
Marshall Greenblatt
9c7b6e77a5
tools: Use short copyright for capi_versions.h headers (see #3836 )
...
These files are not distributed and therefore don't require the
full copyright header.
2025-02-28 18:22:33 -05:00
Marshall Greenblatt
781d2b5996
tools: Fix get_all_versions for newly added class (see #3836 )
2025-02-28 18:22:33 -05:00
Marshall Greenblatt
0573906f6d
cefclient: Add global option to https://tests/preferences (see #3892 )
2025-02-28 18:21:55 -05:00