263 Commits
Author SHA1 Message Date
aphrody-dev d8b49626cf Align provider guard with Chromium 157 SDK source 2026-10-13 05:03:22 +02:00
aphrody-dev 36a636f698 Align native CEF provider with final Chromium 157 source port 2026-10-13 04:44:34 +02:00
aphrody-dev 480eb8ffb2 feat: require owner CEF sources and versioned ABI receipts 2026-10-13 04:27:05 +02:00
github-actions[bot] 2861f6991f chore: update bindings (#492) 2026-10-06 21:42:29 -07:00
github-actions[bot] f044f89e56 chore: update bindings (#489) 2026-10-03 16:24:00 -07:00
github-actions[bot] a712ad9bac chore: update bindings (#488) 2026-09-29 19:18:07 -07:00
github-actions[bot] 61976b024a chore: update bindings (#487) 2026-09-26 18:41:42 -07:00
github-actions[bot] 7b2d85965f chore: update bindings (#486) 2026-09-25 23:32:56 -07:00
github-actions[bot] 6a6ed14be6 chore: update bindings (#485) 2026-09-22 19:33:03 -07:00
github-actions[bot] b8efa38d60 chore: update bindings (#483) 2026-09-20 20:11:45 -07:00
github-actions[bot] 4e566e628a chore: release v152.3.0+152.0.6 (#481)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-14 10:24:03 -03:00
Lucas Fernandes NogueiraandLucas Nogueira a7a4451b19 feat(sys): support cross-compiling to Windows with cargo-xwin (#462)
* feat(sys): support cross-compiling to Windows with cargo-xwin

Building `cef-dll-sys` for `x86_64-pc-windows-msvc` from a Linux host with
cargo-xwin failed while compiling `libcef_dll_wrapper` with clang-cl, for
four reasons that are now handled in the build script:

- CEF's CMake clears `CMAKE_CXX_FLAGS` for the Ninja generator, dropping
  the toolchain's `--target` and `/imsvc` include paths. They are now passed
  through `CEF_C_COMPILER_FLAGS`/`CEF_CXX_COMPILER_FLAGS` instead, which CEF
  appends after its own flags.
- clang-cl reports diagnostics that MSVC doesn't (`/MP` is unsupported,
  `-Wmissing-field-initializers`, `-Wundefined-var-template`) and CEF's `/WX`
  turned them into errors. Those are silenced and `/WX-` is appended.
- The Windows SDK import libraries were merged into the wrapper archive
  through `CMAKE_STATIC_LINKER_FLAGS`, which llvm-lib can't do because it
  rejects the XFG hash map member of current import libraries. They are
  now emitted as `cargo::rustc-link-lib` directives for the final link.
- The SDK expects case-insensitive header lookups (`Softpub.h` vs
  `SoftPub.h`). Mismatched headers get a correctly-cased copy in an extra
  include directory under `OUT_DIR`.

The `cc` crate is used to detect clang-cl and to read the target CXXFLAGS,
so this is a no-op for native MSVC builds. A CI job cross-compiles the
`cefsimple` example on ubuntu-latest to keep this working.

* fix(sys): join clang-cl options that take a separate argument

cargo-xwin 0.23 exports the SDK include paths as `/imsvc <dir>` (two
tokens) where 0.19 used `/imsvc<dir>`. CMake de-duplicates compile
options, so every repeated `/imsvc` after the first was dropped and the
bare paths were passed to clang-cl as additional source files:

    clang-cl: error: cannot specify '/Fo...' when compiling multiple source files

Join such option/value pairs into a single token before handing the flags
to CMake, and only add the clang-cl specific flags that aren't already
present so de-duplication has nothing left to remove.

* ci: use LLVM 20 for the Windows cross-compile job

The MSVC STL headers that cargo-xwin downloads now refuse compilers older
than Clang 19 (STL1000), and ubuntu-latest ships Clang 18. Install LLVM 20
from apt.llvm.org and put it first on PATH: cargo-xwin symlinks its
`clang-cl` to the `clang` found there, so only the SDK directory is cached.

* cleanup

---------

Co-authored-by: Lucas Nogueira <lucas@crabnebula.dev>
2026-09-14 10:09:51 -03:00
github-actions[bot] 207bdd2917 chore: release (#466) 2026-09-11 20:08:46 -07:00
Bill Averyandgithub-actions[bot] 45081f627d fix: preserve traits on _XDisplay to keep ABI compat (#480)
* fix: preserve traits on _XDisplay to keep ABI compat (#60)

* chore: update bindings (#61)

* chore: update sys/src/bindings/aarch64_unknown_linux_gnu.rs

* chore: update sys/src/bindings/arm_unknown_linux_gnueabi.rs

* chore: update sys/src/bindings/x86_64_unknown_linux_gnu.rs

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-11 19:44:14 -07:00
11cfe8c9f4 chore: update bindings (#479)
* chore: update sys/src/bindings/aarch64_apple_darwin.rs

* chore: update sys/src/bindings/aarch64_pc_windows_msvc.rs

* chore: update sys/src/bindings/aarch64_unknown_linux_gnu.rs

* chore: update sys/src/bindings/arm_unknown_linux_gnueabi.rs

* chore: update sys/src/bindings/i686_pc_windows_msvc.rs

* chore: update sys/src/bindings/x86_64_apple_darwin.rs

* chore: update sys/src/bindings/x86_64_pc_windows_msvc.rs

* chore: update sys/src/bindings/x86_64_unknown_linux_gnu.rs

* fix: restore Copy derives for linux opaque bindings

Co-authored-by: wravery <6502881+wravery@users.noreply.github.com>

* fix: keep opaque binding handles copyable

Co-authored-by: wravery <6502881+wravery@users.noreply.github.com>

* fix: add opaque derives via bindgen callbacks

Co-authored-by: wravery <6502881+wravery@users.noreply.github.com>

* docs: explain opaque handle derive callbacks

Co-authored-by: wravery <6502881+wravery@users.noreply.github.com>

* docs: clarify bindgen derive callback rationale

Co-authored-by: wravery <6502881+wravery@users.noreply.github.com>

* docs: clarify custom derive de-duplication

Co-authored-by: wravery <6502881+wravery@users.noreply.github.com>

* fix: warn on unmatched opaque derive handles

Co-authored-by: wravery <6502881+wravery@users.noreply.github.com>

* fix: tighten opaque derive callback matching

Co-authored-by: wravery <6502881+wravery@users.noreply.github.com>

* fix: simplify opaque derive target matching

Co-authored-by: wravery <6502881+wravery@users.noreply.github.com>

* fix: restrict opaque derive callback set

Co-authored-by: wravery <6502881+wravery@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: wravery <6502881+wravery@users.noreply.github.com>
2026-09-11 17:48:20 -07:00
Bill Avery 40c85f465c feat: Nix support (#426, #467) 2026-09-11 10:45:20 -07:00
github-actions[bot] ea93eb80fe chore: update bindings (#475) 2026-09-10 07:53:43 -07:00
github-actions[bot] 8364014440 chore: update bindings (#470) 2026-09-06 20:45:57 -07:00
Lucas Nogueira 71a3eba55b chore: fmt code 2026-09-03 16:08:58 -03:00
github-actions[bot] 5b1f7e0e4c chore: release v151.8.1+151.3.24 (#464)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-03 16:06:55 -03:00
Lucas Nogueira d1ff32da9c fix: explicit API version for wrapper 2026-09-03 16:02:36 -03:00
github-actions[bot] a2e15ae659 chore: update bindings (#459) 2026-08-22 18:21:29 -07:00
github-actions[bot] ec17e98276 chore: update bindings (#457) 2026-08-20 22:27:44 -07:00
github-actions[bot] f132ca829b chore: update bindings (#454) 2026-08-15 21:27:11 -07:00
github-actions[bot] 1a1285467c chore(cef-dll-sys): release v151.4.0+151.3.17 (#445) 2026-08-15 15:28:36 -07:00
Bill Averyandgithub-actions[bot] 9d4d729810 feat: generate resource ID constants (#452)
* feat: generate resource ID constants  (#54)

* feat: resource ID mapping functions

* fix: simplify and shrink resources module

* fix: break update-bindings PR into 1 commit/file

* chore: update bindings (#55)

* chore(test): fix resource ID tests on Windows (#56)

* fix: ignore deprecated IDs in resources

* chore: tidy up workflow commit and PR titles

* fix: gh pr create requires body (#57)

* fix: wrong quotes on commit message parameter

* chore: update bindings (#59)

* chore: update cef/src/resources/aarch64_apple_darwin.rs

* chore: update cef/src/resources/aarch64_pc_windows_msvc.rs

* chore: update cef/src/resources/aarch64_unknown_linux_gnu.rs

* chore: update cef/src/resources/arm_unknown_linux_gnueabi.rs

* chore: update cef/src/resources/i686_pc_windows_msvc.rs

* chore: update cef/src/resources/x86_64_apple_darwin.rs

* chore: update cef/src/resources/x86_64_pc_windows_msvc.rs

* chore: update cef/src/resources/x86_64_unknown_linux_gnu.rs

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-08-15 14:33:56 -07:00
github-actions[bot] c713a98d79 get latest (#451) 2026-08-13 21:29:54 -07:00
github-actions[bot] cdfc65f85a get latest (#449) 2026-08-08 18:27:50 -07:00
github-actions[bot] 93c32d74fe get latest (#448) 2026-08-02 09:46:22 -07:00
github-actions[bot] a01fb5044c get latest (#446) 2026-07-30 19:54:17 -07:00
github-actions[bot] bab38d96db get latest (#444) 2026-07-29 19:23:21 -07:00
github-actions[bot] b7d68d071a chore(release): update CEF version to 150.0.14
* chore(release): update CEF version to 150.0.14

* chore: update bindings

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-20 22:06:00 -07:00
github-actions[bot] 8c8af8cb5a get latest (#440) 2026-07-11 10:31:14 -07:00
github-actions[bot] 151bf23f64 chore: release v150.0.0+150.0.10
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-09 23:44:07 -07:00
Bill Averyandgithub-actions[bot] c73f792f24 chore(release): update CEF version to 150.0.10 (#438)
* chore(release): update CEF version to 150.0.10

* chore: update bindings (#53)

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-09 23:27:34 -07:00
github-actions[bot] 9c336fa9ae get latest (#429) 2026-06-27 20:33:10 -07:00
github-actions[bot] 3e69d9cfe2 get latest (#427) 2026-06-25 19:00:52 -07:00
github-actions[bot] 494df01361 get latest (#420) 2026-06-20 05:09:25 -07:00
github-actions[bot] ed6cd5b10b get latest (#418) 2026-06-16 20:07:24 -07:00
github-actions[bot] 0ddbc2accc get latest (#416) 2026-06-06 18:52:08 -07:00
github-actions[bot] 846e4a5f78 get latest (#415) 2026-05-29 18:55:56 -07:00
github-actions[bot] 8189347657 chore(cef-dll-sys): release v148.1.0+147.0.14 (#411)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-24 18:44:18 -07:00
github-actions[bot] b87b4eb5b4 chore(release): update CEF version to 148.0.8
* chore(release): update CEF version to 148.0.8

* chore: update bindings

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-05-24 18:37:26 -07:00
github-actions[bot] d5ec00543d get latest (#410) 2026-05-13 21:03:23 -07:00
github-actions[bot]andLucas Nogueira 0c577ce44d chore: release (#405)
* chore: release

* update changelog

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2026-05-07 10:39:22 -03:00
FabianLars 0c2c6ac7a8 remove feature flag todos 2026-05-07 15:08:49 +02:00
FabianLars 8ea72a95b9 Merge remote-tracking branch 'origin/fix/146-location-windows' into feat/copy-files 2026-05-07 14:30:10 +02:00
github-actions[bot] 4d3af84663 chore: update bindings 2026-04-26 01:03:26 +00:00
github-actions[bot] 5c1d82a64f chore: release v147.0.0+147.0.9 2026-04-25 01:33:02 +00:00
github-actions[bot] e326f68d1d chore: update bindings 2026-04-25 00:57:10 +00:00