Commit Graph

29 Commits

Author SHA1 Message Date
not-elm
e03d4b3de5 fix: use try_insert for CursorIcon in cursor_icon.rs 2026-02-04 11:45:41 +09:00
not-elm
9a2f9b9026 update: reorganize CHANGELOG to enhance clarity and structure 2026-02-03 02:14:58 +09:00
not-elm
58586f0338 update: restructure CHANGELOG for breaking changes and new features 2026-02-03 02:14:00 +09:00
elm
12b29c1ffc feat: Add configurable CEF command line flags (#16)
## Summary
- Add CommandLineConfig struct for CEF command line switches
- Use direct struct initialization with optional helper methods
- Change default to secure: only use-mock-keychain enabled on macOS debug builds
- Add comprehensive documentation with usage examples

## Usage
```rust
use bevy_cef::prelude::*;

// Default (secure, includes use-mock-keychain on macOS debug)
app.add_plugins((DefaultPlugins, CefPlugin::default()));

// Add switches while preserving defaults (recommended)
app.add_plugins((
    DefaultPlugins,
    CefPlugin {
        command_line_config: CommandLineConfig::default()
            .with_switch("disable-gpu")
            .with_switch_value("remote-debugging-port", "9222"),
    },
));

// Full customization with direct initialization
app.add_plugins((
    DefaultPlugins,
    CefPlugin {
        command_line_config: CommandLineConfig {
            switches: vec!["disable-gpu"],
            switch_values: vec![("remote-debugging-port", "9222")],
        },
    },
));
```
2026-02-03 02:06:08 +09:00
elm
5be6380474 Fix message loop handling and improve BrowserProcessHandler (#15)
* add: implement MessagePumpChecker for message loop management

* update: refactor message loop handling and improve MessagePumpChecker

* update: refactor message loop handling to use MessageLoopTimer and improve BrowserProcessHandler

* update: reorganize imports and enhance browser process handler integration

* update: support Bevy 0.18 and improve message loop handling

* update: remove unused FpsOverlayPlugin and clean up dependencies

* update: simplify cef and cef-dll-sys version specifications in Cargo.toml

---------

Co-authored-by: not-elm <elmgameinfo@gmail.com>
2026-02-01 12:00:56 +09:00
not-elm
8f38892009 add: README.md 2026-01-31 11:33:03 +09:00
elm
231c44995b Update CEF version to 144.2.0+144.0.11 (#14)
* update: enable message loop work for Windows and Linux

* update: upgrade Bevy to version 0.18 and adjust asset loader for path handling

* update: rename bevy_picking to picking in Cargo.toml

* update: remove pull_request trigger from CI and change AmbientLight to GlobalAmbientLight

* update: remove demo example from workspace and exclude it from tests

* update: remove demo package from Cargo.lock

* update: refactor paths and dependencies for Chromium Embedded Framework integration

* fmt

* update: remove unnecessary type casting for event flags in mouse and keyboard handling

* update: remove unnecessary type casting for event flags in mouse and keyboard handling

* update: comment out GPU-related command line switches in app.rs

* update: allow unnecessary cast lint warning in mouse button modifiers test

---------

Co-authored-by: not-elm <elmgameinfo@gmail.com>
2026-01-29 00:19:54 +09:00
elm
e623a90351 Migrate to Bevy 0.18 (#13)
* update: enable message loop work for Windows and Linux

* update: upgrade Bevy to version 0.18 and adjust asset loader for path handling

* update: rename bevy_picking to picking in Cargo.toml

* update: remove pull_request trigger from CI and change AmbientLight to GlobalAmbientLight

* update: remove demo example from workspace and exclude it from tests

* update: remove demo package from Cargo.lock

---------

Co-authored-by: not-elm <elmgameinfo@gmail.com>
2026-01-28 21:10:18 +09:00
elm
edf9e064b9 Support Bevy 0.17 (#11)
* update: modify for 0.17

* update: enhance webview functionality and improve plugin implementation

* update: refactor webview system and improve binding group usage

* update: refactor command triggering for webview events and enhance Receive struct

* update: refactor command triggering for webview dev tools

* update: refactor render process handler and improve webview handling

* update: refactor webview browser handling and improve IME caret management

* clippy

* fmt

* update: improve README formatting and clarify version compatibility

* update: support Bevy 0.17 and enhance permissions in settings

* update: enhance CI configuration by adding Wayland and XKB dependencies

* delete: settings.json

* update: refactor shader imports and improve binding group definitions

* update: refactor devtool command triggers for improved clarity

* update: modify LibraryLoader initialization for improved path handling on macOS

* fmt

---------

Co-authored-by: not-elm <elmgameinfo@gmail.com>
2025-10-26 16:55:03 +09:00
elm
0bb9b58fae Enable gpu when debugging (#8)
* add: enable GPU for debugging and update installation instructions

* update: modify Makefile to use variable for binary path in install target

---------

Co-authored-by: not-elm <elmgameinfo@gmail.com>
2025-08-30 18:12:00 +09:00
elm
38b2f09365 fix: avoid crash on update_cursor_icon (#7) 2025-08-19 20:20:22 +09:00
elm
6031e1c9d4 add: preload scripts (#6) 2025-08-19 19:54:19 +09:00
not-elm
1d3512c6b8 update: version to 0.2.0-dev 2025-08-19 13:12:42 +09:00
elm
291f06e74b Remove auto install debugging tools (#5)
Please refer to README.md and install manually from now on.
2025-08-19 12:58:30 +09:00
elm
e42a9beacd fix: mesh pointer (#4)
Fixed so that webview can detect pointers correctly even if it is not the root entity.
2025-08-19 12:45:27 +09:00
not-elm
de2fb61d17 update: temporary remove macos runner 2025-08-11 01:58:30 +09:00
not-elm
6509d804b5 update: ci and readme 2025-08-11 01:45:29 +09:00
not-elm
6fa6f510eb remove: remove depend own 2025-08-11 01:41:52 +09:00
not-elm
7aa2b114a5 add: version 2025-08-11 01:30:49 +09:00
not-elm
fd5bce48bc add: description 2025-08-11 01:28:08 +09:00
elm
56da0b606f Add CLI.yaml (#2) 2025-08-11 01:23:13 +09:00
not-elm
4f78327dd7 add: remove prompt 2025-08-10 23:51:00 +09:00
not-elm
bbbf841bfe add: changelog 2025-08-10 23:47:42 +09:00
not-elm
bbb82a5a00 fix: end offset 2025-08-10 23:43:53 +09:00
elm
dd6854b176 Refactor (#1) 2025-08-10 23:07:13 +09:00
elm
a4030eeaf3 Create FUNDING.yml 2025-08-10 22:17:43 +09:00
elm
e7a9258559 Create LICENSE-MIT 2025-08-10 21:31:51 +09:00
elm
591bdf0018 Create LICENSE-APACHE2 2025-08-10 21:31:20 +09:00
not-elm
23bdc65da3 INIT 2025-08-10 21:28:45 +09:00