Commit Graph
1115 Commits
Author SHA1 Message Date
Lucas Nogueira d720282c3c cleanup 2026-09-05 10:44:14 -03:00
Lucas Nogueira ef243a34e1 Merge branch 'dev' into feat/cross-compile-windows 2026-09-04 21:38:26 -03: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>
cef-v151.8.1+151.3.24 cef-dll-sys-v151.8.1+151.3.24 export-cef-dir-v151.8.1+151.3.24
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
Lucas NogueiraandClaude Fable 5.1 1c65cbff11 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.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-03 10:44:54 -03:00
Lucas NogueiraandClaude Fable 5.1 d288af1647 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.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-02 23:41:29 -03:00
Lucas Nogueira d2f52a6a53 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.
2026-09-02 22:43:37 -03:00
Lucas Nogueira c91e278fb6 fix: pin git-cliff to 2.14 2026-09-02 22:38:14 -03:00
Copilot 8c3a193fcf Fix get-latest build with git-cliff 2.14.1 (#461) 2026-09-01 22:09:08 -07:00
github-actions[bot] a2e15ae659 chore: update bindings (#459) cef-v151.8.0+151.3.24 cef-dll-sys-v151.8.0+151.3.24 export-cef-dir-v151.8.0+151.3.24 2026-08-22 18:21:29 -07:00
github-actions[bot] ec17e98276 chore: update bindings (#457) cef-v151.7.0+151.3.23 cef-dll-sys-v151.7.0+151.3.23 export-cef-dir-v151.7.0+151.3.23 2026-08-20 22:27:44 -07:00
github-actions[bot] f132ca829b chore: update bindings (#454) cef-v151.6.0+151.3.18 cef-dll-sys-v151.6.0+151.3.18 export-cef-dir-v151.6.0+151.3.18 2026-08-15 21:27:11 -07:00
github-actions[bot] 1a1285467c chore(cef-dll-sys): release v151.4.0+151.3.17 (#445) cef-v151.5.0+151.3.17 cef-dll-sys-v151.5.0+151.3.17 export-cef-dir-v151.5.0+151.3.17 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) cef-v151.4.0+151.3.17 cef-dll-sys-v151.4.0+151.3.17 export-cef-dir-v151.4.0+151.3.17 2026-08-13 21:29:54 -07:00
github-actions[bot] cdfc65f85a get latest (#449) cef-v151.3.0+151.3.16 cef-dll-sys-v151.3.0+151.3.16 export-cef-dir-v151.3.0+151.3.16 2026-08-08 18:27:50 -07:00
github-actions[bot] 93c32d74fe get latest (#448) cef-v151.2.0+151.3.14 cef-dll-sys-v151.2.0+151.3.14 export-cef-dir-v151.2.0+151.3.14 2026-08-02 09:46:22 -07:00
github-actions[bot] a01fb5044c get latest (#446) cef-v151.1.0+151.3.12 cef-dll-sys-v151.1.0+151.3.12 export-cef-dir-v151.1.0+151.3.12 2026-07-30 19:54:17 -07:00
github-actions[bot] bab38d96db get latest (#444) cef-v151.0.0+151.3.11 cef-dll-sys-v151.0.0+151.3.11 export-cef-dir-v151.0.0+151.3.11 2026-07-29 19:23:21 -07:00
github-actions[bot] 148be0a857 chore: release v150.2.1+150.0.14 (#441)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
cef-v150.2.1+150.0.14 cef-dll-sys-v150.2.1+150.0.14 export-cef-dir-v150.2.1+150.0.14
2026-07-21 09:15:07 -07:00
renovate[bot]andcopilot-swe-agent[bot] 642aaaaea6 chore(deps): update wgpu to v30
* Update Rust crate wgpu to v30

* Fix Linux wgpu texture import build

* Fix wgpu 30 API usage in osr example

* Fix macOS wgpu texture import API usage

* Fix Windows wgpu 30 create_texture_from_hal API usage in d3d11.rs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-07-21 08:34:55 -07:00
renovate[bot]andcopilot-swe-agent[bot] a001794ac9 chore(deps): update syn to v3
* Update Rust crate syn to v3

* Fix syn v3 API compatibility in update-bindings/src/parse_tree.rs

* fix: run cargo fmt to fix formatting in parse_tree.rs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-07-20 22:38:40 -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>
cef-v150.2.0+150.0.14 cef-dll-sys-v150.2.0+150.0.14 export-cef-dir-v150.2.0+150.0.14
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>
cef-v150.0.0+150.0.10 cef-dll-sys-v150.0.0+150.0.10 export-cef-dir-v150.0.0+150.0.10
2026-07-09 23:27:34 -07:00
Bill Avery 0d15a563d4 fix: relax the match pattern for the "base" member (#437) 2026-07-09 22:27:46 -07:00
dependabot[bot] 7e2d96d5a2 chore(deps): bump actions/cache from 5.0.5 to 6.1.0 (#431) 2026-06-29 15:34:04 -07:00
e8520ce679 Fix #364: remove spurious eprintln! for null pointer in UTF-16 string conversion (#425)
Agent-Logs-Url: https://github.com/tauri-apps/cef-rs/sessions/21a8b51d-e1bb-4408-8bde-43f117f16e02

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: wravery <6502881+wravery@users.noreply.github.com>
2026-06-27 23:17:52 -07:00
github-actions[bot] 9c336fa9ae get latest (#429) cef-v149.3.0+149.0.6 cef-dll-sys-v149.3.0+149.0.6 export-cef-dir-v149.3.0+149.0.6 2026-06-27 20:33:10 -07:00
github-actions[bot] 3e69d9cfe2 get latest (#427) cef-v149.2.0+149.0.5 cef-dll-sys-v149.2.0+149.0.5 export-cef-dir-v149.2.0+149.0.5 2026-06-25 19:00:52 -07:00
dependabot[bot] 79efd56da8 chore(deps): bump actions/checkout from 6 to 7 (#423)
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-06-23 11:21:50 -07:00
github-actions[bot] 494df01361 get latest (#420) cef-v149.1.0+149.0.4 cef-dll-sys-v149.1.0+149.0.4 export-cef-dir-v149.1.0+149.0.4 2026-06-20 05:09:25 -07:00
github-actions[bot] ed6cd5b10b get latest (#418) cef-v149.0.0+149.0.2 cef-dll-sys-v149.0.0+149.0.2 export-cef-dir-v149.0.0+149.0.2 2026-06-16 20:07:24 -07:00
github-actions[bot] 0ddbc2accc get latest (#416) cef-v148.4.0+148.0.10 cef-dll-sys-v148.4.0+148.0.10 export-cef-dir-v148.4.0+148.0.10 2026-06-06 18:52:08 -07:00
github-actions[bot] 846e4a5f78 get latest (#415) cef-v148.3.0+148.0.9 cef-dll-sys-v148.3.0+148.0.9 export-cef-dir-v148.3.0+148.0.9 2026-05-29 18:55:56 -07:00
Copilot f7a83c86b7 Harden update-bindings PR publishing against transient GitHub 502s (#414)
* Initial plan

* fix: retry PR creation in update-bindings workflow

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2026-05-29 13:47:27 -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>
cef-v148.2.0+148.0.8 cef-dll-sys-v148.2.0+148.0.8 export-cef-dir-v148.2.0+148.0.8
2026-05-24 18:37:26 -07:00
github-actions[bot] d5ec00543d get latest (#410) cef-v148.1.0+147.0.14 cef-dll-sys-v148.1.0+147.0.14 export-cef-dir-v148.1.0+147.0.14 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>
cef-v148.0.0+147.0.10 cef-dll-sys-v148.0.0+147.0.10 export-cef-dir-v148.0.0+147.0.10 download-cef-v2.3.2
2026-05-07 10:39:22 -03:00
Lucas Fernandes Nogueira a021e36c55 Merge pull request #408 from tauri-apps/feat/copy-files
feat: copy cef files to target dir on linux and windows
2026-05-07 10:20:09 -03:00
FabianLars 0c2c6ac7a8 remove feature flag todos 2026-05-07 15:08:49 +02:00
FabianLars 66165b13ca Merge remote-tracking branch 'origin/dev' into feat/copy-files 2026-05-07 14:49:41 +02:00
Lucas Fernandes Nogueira 06b0c3be4a Merge pull request #328 from sevenc-nanashi/chore/use-fs-err
feat: use fs_err instead of std::fs for better error logs
2026-05-07 09:37:18 -03:00
FabianLars 8ea72a95b9 Merge remote-tracking branch 'origin/fix/146-location-windows' into feat/copy-files 2026-05-07 14:30:10 +02:00
Lucas Nogueira 2003f7fbef build 2026-05-07 09:22:46 -03:00
Lucas Nogueira 392c473a32 fmt 2026-05-07 09:21:46 -03:00
Lucas Nogueira 4134518749 Merge remote-tracking branch 'origin/dev' into chore/use-fs-err 2026-05-07 09:16:09 -03:00