elm
2afc7bb0de
fix: enable IME input by working around bevy_winit bug ( #19 )
...
* fix: enable IME input by working around bevy_winit initialization bug
2026-02-06 00:43:49 +09:00
elm
22210c664b
fix: update AABB calculation to use local transformations ( #18 )
...
Co-authored-by: not-elm <elmgameinfo@gmail.com >
2026-02-06 00:40:19 +09:00
elm
519aa2b2bf
feat: add custom CEF V8 extensions support ( #17 )
...
* feat: Register extensions in render process
- Add CefExtensions type to hold V8 extension code
- Pass extensions through BrowserProcessAppBuilder
- Register extensions in RenderProcessHandler on WebKit initialization
- Decode JSON extensions from command line switch
- Prefix extension names with "v8/" per CEF convention
- Include actual JSON in error messages for debugging
l
* feat: refactor window.cef API and register as CEF extension
* fix: remove debug print statements in render process handler
* refactor: centralize EXTENSIONS_SWITCH constant in util.rs
* fmt
* refactor: implement Default trait for CefApiHandler
* docs: add documentation for CefApiHandler and its JavaScript API functions
---------
Co-authored-by: not-elm <elmgameinfo@gmail.com >
2026-02-04 16:08:32 +09:00
not-elm
e03d4b3de5
fix: use try_insert for CursorIcon in cursor_icon.rs
2026-02-04 11:45:41 +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
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
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
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
elm
56da0b606f
Add CLI.yaml ( #2 )
2025-08-11 01:23:13 +09:00
not-elm
23bdc65da3
INIT
2025-08-10 21:28:45 +09:00