Commit graph

5507 commits

Author SHA1 Message Date
Héctor
717b296cdb
Merge pull request #2626 from tvolk131/remove_once_cell
chore: remove once_cell dependency
2025-01-06 23:09:15 +01:00
Héctor
634365564e
Merge pull request #2627 from bbb651/more-window-settings
Add `maximized` and `fullscreen` to `window::Settings`
2025-01-06 23:05:32 +01:00
Héctor Ramón Jiménez
2b8b3fd413
Fix consistency of import ordering 2025-01-06 23:00:21 +01:00
Tommy Volk
0e8c3fe30f
chore: remove once_cell dependency 2025-01-06 22:56:48 +01:00
Héctor Ramón Jiménez
2086fc0d6b
Simplify type annotations in winit::program 2025-01-06 22:48:09 +01:00
Héctor Ramón Jiménez
6daba88029
Initialize Compositor lazily in winit shell
... and get rid of the ghost boot window!
2025-01-06 22:37:42 +01:00
Héctor
b156087fcf
Merge pull request #2607 from DavidAguilo/palette_warning
Feat: Add warning color to palette
2025-01-06 21:13:08 +01:00
Héctor Ramón Jiménez
8fc57628a0
Showcase different button styles in styling example 2025-01-06 21:05:29 +01:00
Héctor Ramón Jiménez
edbb318cbd
Add warning style for button 2025-01-06 21:05:13 +01:00
Héctor
2b4f428cf8
Merge pull request #2585 from dtzxporter/scrollbar-show-always-disabled
Scrollbar disabled style status to allow custom styles for always visible, but not overflowing scrollbars.
2025-01-06 20:37:21 +01:00
Héctor Ramón Jiménez
e01fb00d3b
Fix missing warning field in color_palette example 2025-01-06 20:36:44 +01:00
David Aguiló Domínguez
feef71a382
Moved warning to be between success and danger 2025-01-06 20:31:20 +01:00
David Aguiló Domínguez
3bc836827a
Added color for warning for TERRA, and added warning field to Extended with the needed struct and generate 2025-01-06 20:31:20 +01:00
David Aguiló Domínguez
39f2cdd946
Added color for warning for OXOCARBON, used a purple since it is the one used for diagnostic warnings in the nvim theme 2025-01-06 20:31:20 +01:00
David Aguiló Domínguez
c3aefdc27b
Added color for warning for MOONFLY and NIGHTFLY 2025-01-06 20:31:20 +01:00
David Aguiló Domínguez
91439dc172
Added color for warning for TOKYO_NIGHT and KANAGAWA 2025-01-06 20:31:20 +01:00
David Aguiló Domínguez
c768aba64c
Added color for warning for GRUVBOX and CATPPUCCIN 2025-01-06 20:31:19 +01:00
David Aguiló Domínguez
9e2f7b2d50
Added warning field to palette and assigned colors to it in the LIGHT, DARK, DRACULA, NORD and SOLARIZED(both) themes 2025-01-06 20:31:19 +01:00
Héctor
e543329c79
Merge pull request #2688 from iced-rs/fix/window-position-inconsistency
Use "outer" positions in all window-related operations
2025-01-06 20:26:07 +01:00
Héctor Ramón Jiménez
eee3588181
Rename *_disabled to is_*_disabled in scrollable 2025-01-06 20:25:22 +01:00
Héctor Ramón Jiménez
cff3eb217f
Simplify scrollable disabled styling calculation 2025-01-06 20:23:26 +01:00
dtzxporter
8d9fe61d76
Migrate scrollbar disabled style status to iced 0.13.
Feel free to change the 'name' of it. I originally used 'disabled' to signal that it's not usable, but still visible. 'Overflowing' may be a better term.
2025-01-06 20:20:32 +01:00
Héctor Ramón Jiménez
bfab1a32d1
Fix documentation of window::Event::Opened 2025-01-06 20:13:51 +01:00
Héctor Ramón Jiménez
a0acaba866
Use "outer" positions in all window-related operations 2025-01-06 20:13:51 +01:00
edwloef
c90d153976
always increment quad, mesh, text and image layer counts in wgpu layer rendering 2024-12-19 15:23:06 +01:00
Héctor
f2c9b6b2ff
Merge pull request #2698 from iced-rs/feature/test-crate
Headless Mode Testing
2024-12-17 17:28:46 +01:00
Héctor Ramón Jiménez
e5545aaa57
Avoid dropping results in counter test 2024-12-17 04:35:28 +01:00
Héctor Ramón Jiménez
ecd5227ef7
Fix redundant expression in iced_test documentation 2024-12-17 04:32:49 +01:00
Héctor Ramón Jiménez
5220a064c5
Write documentation for iced_test 2024-12-17 04:13:19 +01:00
Héctor Ramón Jiménez
8f6f5c13b0
Track Cargo.lock for reproducible builds and tests 2024-12-17 03:09:52 +01:00
Héctor Ramón Jiménez
41a822c6fb
Use proper hash for creates_a_new_task snapshot 2024-12-17 03:03:07 +01:00
Héctor Ramón Jiménez
326c5852aa
Fix broken link in Settings documentation 2024-12-17 02:20:23 +01:00
Héctor Ramón Jiménez
2f98a7e203
Append env::consts::OS to snapshot filenames 2024-12-17 02:17:07 +01:00
Héctor Ramón Jiménez
0ad40d0338
Reduce size of Simulator in todos test 2024-12-17 01:53:39 +01:00
Héctor Ramón Jiménez
b22a847668
Bump MSRV to 1.81 2024-12-17 01:41:09 +01:00
Héctor Ramón Jiménez
869b44db4e
Implement Simulator::simulate and polish naming 2024-12-17 01:37:00 +01:00
Héctor Ramón Jiménez
bfa722c662
Skip loading fonts that were previously loaded 2024-12-14 04:09:51 +01:00
Héctor Ramón Jiménez
2cf4abf25b
Support custom renderers in iced_test through renderer::Headless trait 2024-12-14 03:49:24 +01:00
Héctor Ramón Jiménez
6572909ab5
Embed and use Fira Sans as default font when testing 2024-12-12 03:15:32 +01:00
Héctor
a687a83765
Merge pull request #2691 from mtkennerly/bugfix/pane-grid-canceled-within-deadband
Emit pane_grid::DragEvent::Canceled within deadband
2024-12-10 17:59:08 +01:00
Héctor Ramón Jiménez
7683bd201f
Stop tracking todos snapshot hash file
Font selection is platform-dependent.
2024-12-10 05:10:04 +01:00
Héctor
ce13c22b5a
Merge pull request #2692 from Azorlogh/make-engine-send
Make `iced_wgpu::Renderer` `Send` by using `Arc` in text/triangle caches
2024-12-10 05:07:08 +01:00
Héctor Ramón Jiménez
9bc29e5347
Add explicit 'static in todos for Rust 1.80 2024-12-10 05:01:11 +01:00
Héctor Ramón Jiménez
1713ac49f2
Decouple iced_test from iced crate 2024-12-10 04:56:37 +01:00
Héctor Ramón Jiménez
1aeb317f2d
Add image and hash snapshot-based testing to iced_test 2024-12-10 04:51:08 +01:00
Héctor Ramón Jiménez
8e3636d769
Return Result in todos test 2024-12-10 04:51:08 +01:00
Héctor Ramón Jiménez
cb30f9f604
Remove dbg! leftover in core::widget::text 2024-12-10 04:51:08 +01:00
Héctor Ramón Jiménez
d09d5d45ae
Draft iced_test crate and test todos example 2024-12-10 04:51:08 +01:00
Alix Bott
917feb9247 make engine send by using Arc in text/triangle caches 2024-12-08 03:27:37 +01:00
mtkennerly
aea95b53fb
Emit pane_grid::DragEvent::Canceled within deadband 2024-12-07 10:32:54 -05:00