Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

winit: initial minibrowser #29976

Merged
merged 44 commits into from Aug 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
557183c
winit: add minibrowser feature that depends on egui{,-winit}
delan Jul 6, 2023
7bb3db5
winit: carve out some space at the top of headed windows
delan Jul 6, 2023
8947018
winit: minimal toolbar and egui/winit integration (but no painting)
delan Jul 6, 2023
f9460af
winit: try to paint with egui_glow (doesn’t work yet)
delan Jul 6, 2023
4e01fde
winit: add comment about toolbar size
delan Jul 6, 2023
7103b4b
Add framebuffer object, set it as glow's target
atbrakhi Jul 11, 2023
3be6a17
compositing: clear only the viewport, not the whole framebuffer
delan Jul 11, 2023
9eb92a2
plumb the actual size of the egui toolbar to webrender
atbrakhi Jul 11, 2023
034a831
fix formatting
atbrakhi Jul 11, 2023
e495886
winit: fix crash when fbo is zero
delan Jul 12, 2023
e9f8c3c
winit: don’t bother binding the framebuffer object
delan Jul 12, 2023
a8e1e5b
winit: remove unsafe and get toolbar_height
atbrakhi Jul 16, 2023
aac08c7
winit: location field should reflect the current top-level url
atbrakhi Jul 17, 2023
8da7cf8
merge from master
delan Jul 24, 2023
37ea3f0
[NFC] winit: move Minibrowser out of App::run
delan Jul 26, 2023
d717962
winit: clean up toolbar height code
delan Jul 26, 2023
dda07d9
winit: make App own the Minibrowser if any
delan Jul 26, 2023
6717cf0
winit: make the go button work
delan Jul 26, 2023
8cd288e
winit:make the location field reflect the current top-level url
atbrakhi Jul 27, 2023
9793cad
merge from master
delan Jul 31, 2023
e8c4dea
winit: allow enabling minibrowser from command line
atbrakhi Jul 31, 2023
0d9f487
winit: tell compositor to repaint WR and flush when we repaint
delan Aug 3, 2023
b4df0ac
winit: fix bug where location field edits would get overridden
delan Aug 3, 2023
8dfdf57
winit: borrow the minibrowser once in App::handle_events
delan Aug 3, 2023
bb5cbf8
winit: address todo about viewport origin coordinates
delan Aug 3, 2023
0ab250c
winit: fix some minor problems with comments and errors
delan Aug 4, 2023
bbc6587
winit: update location field once per HistoryChanged event
delan Aug 4, 2023
728a41f
winit: rename Window::set_toolbar_size to set_toolbar_height
delan Aug 4, 2023
3e56ccb
winit: take toolbar height into account in hit testing
delan Aug 4, 2023
ffc971d
winit: pass egui only relevant CursorMoved events
delan Aug 8, 2023
62ec187
winit: scratch that, coalesce minibrowser updates instead
delan Aug 8, 2023
d1ea041
ensure both minibrowser and WR are repainted on every frame
delan Aug 9, 2023
f7a13a7
compositing: only skip framebuffer clear in external present mode
delan Aug 9, 2023
8b8a201
winit: destroy egui glow Painter when shutting down
delan Aug 10, 2023
2a31b39
winit: clean up and fix license lint
delan Aug 10, 2023
dac5b14
fix duplicate versions lint by downgrading bytemuck_derive
delan Aug 10, 2023
1a4ce1f
fix duplicate versions lint by disabling egui-winit/links
delan Aug 10, 2023
573820c
squelch duplicate versions lint by excluding clipboard-win
delan Aug 10, 2023
95dabae
winit: fix compile warnings
delan Aug 10, 2023
bd114b5
winit: make gleam an optional dependency under /minibrowser
delan Aug 10, 2023
00d6187
winit: remove cargo feature, since it’s not really optional
delan Aug 14, 2023
06e0d29
winit: extract Minibrowser and related code to separate module
delan Aug 14, 2023
ebdb007
winit: remove unnecessary trailing comma
delan Aug 14, 2023
b01b10c
winit: simplify the ServoUrl serialisation optimisation
delan Aug 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
224 changes: 223 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.