Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ThisIsRex/iced
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: iced-rs/iced
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
Loading
Showing with 17,782 additions and 4,170 deletions.
  1. +1 −0 .cargo/config.toml
  2. +1 −1 .github/workflows/test.yml
  3. +0 −1 .gitignore
  4. +7,686 −0 Cargo.lock
  5. +33 −28 Cargo.toml
  6. +46 −0 DEPENDENCIES.md
  7. +47 −41 benches/wgpu.rs
  8. +1 −1 core/Cargo.toml
  9. +148 −0 core/src/animation.rs
  10. +1 −1 core/src/background.rs
  11. +15 −48 core/src/color.rs
  12. +16 −18 core/src/element.rs
  13. +4 −0 core/src/event.rs
  14. +221 −0 core/src/input_method.rs
  15. +1 −1 core/src/keyboard/event.rs
  16. +8 −2 core/src/keyboard/key.rs
  17. +52 −1 core/src/layout/flex.rs
  18. +3 −3 core/src/length.rs
  19. +72 −0 core/src/lib.rs
  20. +18 −3 core/src/mouse/click.rs
  21. +42 −2 core/src/mouse/cursor.rs
  22. +4 −6 core/src/overlay.rs
  23. +14 −17 core/src/overlay/element.rs
  24. +11 −23 core/src/overlay/group.rs
  25. +6 −0 core/src/padding.rs
  26. +11 −3 core/src/pixels.rs
  27. +14 −0 core/src/rectangle.rs
  28. +18 −1 core/src/renderer.rs
  29. +4 −4 core/src/renderer/null.rs
  30. +1 −12 { → core}/src/settings.rs
  31. +75 −18 core/src/shell.rs
  32. +61 −13 core/src/text.rs
  33. +40 −1 core/src/text/editor.rs
  34. +15 −9 core/src/text/paragraph.rs
  35. +42 −5 core/src/theme.rs
  36. +151 −97 core/src/theme/palette.rs
  37. +25 −0 core/src/time.rs
  38. +4 −6 core/src/widget.rs
  39. +158 −45 core/src/widget/operation.rs
  40. +104 −7 core/src/widget/operation/focusable.rs
  41. +3 −3 core/src/widget/operation/scrollable.rs
  42. +26 −6 core/src/widget/operation/text_input.rs
  43. +33 −26 core/src/widget/text.rs
  44. +4 −0 core/src/window.rs
  45. +27 −0 core/src/window/direction.rs
  46. +2 −2 core/src/window/event.rs
  47. +12 −0 core/src/window/redraw_request.rs
  48. +1 −1 {runtime → core}/src/window/screenshot.rs
  49. +10 −1 core/src/window/settings.rs
  50. +1 −1 examples/arc/Cargo.toml
  51. +3 −3 examples/arc/src/main.rs
  52. +1 −1 examples/bezier_tool/Cargo.toml
  53. +44 −45 examples/bezier_tool/src/main.rs
  54. +5 −3 examples/changelog/Cargo.toml
  55. +11 −15 examples/changelog/src/main.rs
  56. +1 −1 examples/checkbox/Cargo.toml
  57. +1 −1 examples/clock/Cargo.toml
  58. +49 −8 examples/clock/src/main.rs
  59. +1 −1 examples/color_palette/Cargo.toml
  60. +6 −5 examples/color_palette/src/main.rs
  61. +1 −1 examples/combo_box/Cargo.toml
  62. +5 −2 examples/counter/Cargo.toml
  63. +29 −1 examples/counter/src/main.rs
  64. +1 −1 examples/custom_quad/Cargo.toml
  65. +1 −1 examples/custom_quad/src/main.rs
  66. +1 −1 examples/custom_shader/Cargo.toml
  67. +4 −4 examples/custom_shader/src/scene/pipeline.rs
  68. +2 −2 examples/custom_shader/src/scene/pipeline/cube.rs
  69. +1 −1 examples/custom_widget/Cargo.toml
  70. +2 −2 examples/custom_widget/src/main.rs
  71. +2 −3 examples/download_progress/Cargo.toml
  72. +10 −26 examples/download_progress/src/download.rs
  73. +58 −42 examples/download_progress/src/main.rs
  74. +1 −1 examples/editor/Cargo.toml
  75. +12 −4 examples/editor/src/main.rs
  76. +1 −1 examples/events/Cargo.toml
  77. +1 −1 examples/events/src/main.rs
  78. +1 −1 examples/exit/Cargo.toml
  79. +1 −1 examples/ferris/Cargo.toml
  80. +26 −0 examples/gallery/Cargo.toml
  81. +189 −0 examples/gallery/src/civitai.rs
  82. +442 −0 examples/gallery/src/main.rs
  83. +1 −1 examples/game_of_life/Cargo.toml
  84. +48 −39 examples/game_of_life/src/main.rs
  85. +1 −1 examples/geometry/Cargo.toml
  86. +6 −6 examples/geometry/src/main.rs
  87. +1 −1 examples/gradient/Cargo.toml
  88. +6 −8 examples/gradient/src/main.rs
  89. +1 −1 examples/integration/Cargo.toml
  90. +5 −6 examples/integration/src/controls.rs
  91. +5 −6 examples/integration/src/main.rs
  92. +2 −2 examples/integration/src/scene.rs
  93. +1 −1 examples/layout/Cargo.toml
  94. +28 −7 examples/layout/src/main.rs
  95. +1 −1 examples/lazy/Cargo.toml
  96. +1 −2 examples/loading_spinners/Cargo.toml
  97. +7 −10 examples/loading_spinners/src/circular.rs
  98. +9 −8 examples/loading_spinners/src/easing.rs
  99. +7 −10 examples/loading_spinners/src/linear.rs
  100. +1 −1 examples/loupe/Cargo.toml
  101. +2 −2 examples/loupe/src/main.rs
  102. +13 −2 examples/markdown/Cargo.toml
  103. +5 −0 examples/markdown/build.rs
  104. +4 −0 examples/markdown/fonts/markdown-icons.toml
  105. BIN examples/markdown/fonts/markdown-icons.ttf
  106. +15 −0 examples/markdown/src/icon.rs
  107. +304 −24 examples/markdown/src/main.rs
  108. +1 −1 examples/modal/Cargo.toml
  109. +2 −2 examples/multi_window/Cargo.toml
  110. +7 −5 examples/multi_window/src/main.rs
  111. +1 −1 examples/multitouch/Cargo.toml
  112. +16 −17 examples/multitouch/src/main.rs
  113. +1 −1 examples/pane_grid/Cargo.toml
  114. +3 −10 examples/pane_grid/src/main.rs
  115. +1 −1 examples/pick_list/Cargo.toml
  116. +2 −3 examples/pokedex/Cargo.toml
  117. +1 −1 examples/progress_bar/Cargo.toml
  118. +39 −3 examples/progress_bar/src/main.rs
  119. +1 −1 examples/qr_code/Cargo.toml
  120. +1 −1 examples/screenshot/Cargo.toml
  121. +6 −4 examples/screenshot/src/main.rs
  122. +1 −3 examples/scrollable/Cargo.toml
  123. +9 −8 examples/scrollable/src/main.rs
  124. +15 −20 examples/sierpinski_triangle/src/main.rs
  125. +1 −1 examples/slider/Cargo.toml
  126. +1 −1 examples/solar_system/Cargo.toml
  127. +1 −1 examples/stopwatch/Cargo.toml
  128. +2 −4 examples/stopwatch/src/main.rs
  129. +1 −1 examples/styling/Cargo.toml
  130. +71 −12 examples/styling/src/main.rs
  131. +1 −1 examples/svg/Cargo.toml
  132. +5 −9 examples/svg/src/main.rs
  133. +1 −1 examples/system_information/Cargo.toml
  134. +24 −16 examples/system_information/src/main.rs
  135. +1 −1 examples/the_matrix/Cargo.toml
  136. +4 −4 examples/the_matrix/src/main.rs
  137. +1 −1 examples/toast/Cargo.toml
  138. +37 −53 examples/toast/src/main.rs
  139. +7 −4 examples/todos/Cargo.toml
  140. +1 −0 examples/todos/snapshots/creates_a_new_task.sha256
  141. +62 −15 examples/todos/src/main.rs
  142. +1 −1 examples/tooltip/Cargo.toml
  143. +1 −1 examples/tooltip/src/main.rs
  144. +3 −2 examples/tour/Cargo.toml
  145. +51 −30 examples/tour/src/main.rs
  146. +1 −1 examples/url_handler/Cargo.toml
  147. +1 −1 examples/vectorial_text/Cargo.toml
  148. +2 −2 examples/vectorial_text/src/main.rs
  149. +1 −3 examples/visible_bounds/Cargo.toml
  150. +5 −5 examples/visible_bounds/src/main.rs
  151. +1 −2 examples/websocket/Cargo.toml
  152. +35 −61 examples/websocket/src/echo.rs
  153. +1 −1 examples/websocket/src/echo/server.rs
  154. +4 −3 examples/websocket/src/main.rs
  155. +1 −1 futures/Cargo.toml
  156. +0 −1 futures/src/backend/native/async_std.rs
  157. +0 −1 futures/src/backend/native/smol.rs
  158. +0 −1 futures/src/backend/native/thread_pool.rs
  159. +31 −28 futures/src/backend/native/tokio.rs
  160. +0 −1 futures/src/backend/null.rs
  161. +17 −28 futures/src/backend/wasm/wasm_bindgen.rs
  162. +1 −1 futures/src/event.rs
  163. +0 −2 futures/src/executor.rs
  164. +1 −1 futures/src/keyboard.rs
  165. +1 −1 futures/src/runtime.rs
  166. +6 −14 futures/src/stream.rs
  167. +16 −15 futures/src/subscription.rs
  168. +0 −1 graphics/Cargo.toml
  169. +4 −6 graphics/src/compositor.rs
  170. +1 −4 graphics/src/damage.rs
  171. +7 −3 graphics/src/geometry/path/builder.rs
  172. +2 −2 graphics/src/geometry/stroke.rs
  173. +10 −7 graphics/src/geometry/text.rs
  174. +1 −1 graphics/src/image.rs
  175. +1 −1 graphics/src/settings.rs
  176. +62 −37 graphics/src/text.rs
  177. +10 −1 graphics/src/text/cache.rs
  178. +48 −21 graphics/src/text/editor.rs
  179. +70 −26 graphics/src/text/paragraph.rs
  180. +0 −1 highlighter/Cargo.toml
  181. +94 −30 highlighter/src/lib.rs
  182. +21 −28 renderer/src/fallback.rs
  183. +28 −0 renderer/src/lib.rs
  184. +2 −1 runtime/Cargo.toml
  185. +1 −1 runtime/src/font.rs
  186. +1 −1 runtime/src/multi_window/program.rs
  187. +38 −42 runtime/src/overlay/nested.rs
  188. +1 −1 runtime/src/program.rs
  189. +64 −26 runtime/src/task.rs
  190. +24 −32 runtime/src/user_interface.rs
  191. +64 −19 runtime/src/window.rs
  192. +1 −1 rustfmt.toml
  193. +3 −3 src/advanced.rs
  194. +4 −5 src/application.rs
  195. +4 −5 src/daemon.rs
  196. +14 −12 src/lib.rs
  197. +14 −15 src/program.rs
  198. +1 −1 src/time.rs
  199. +2 −2 src/window/icon.rs
  200. +24 −0 test/Cargo.toml
  201. +639 −0 test/src/lib.rs
  202. +29 −0 test/src/selector.rs
  203. +5 −5 tiny_skia/src/engine.rs
  204. +3 −3 tiny_skia/src/geometry.rs
  205. +3 −3 tiny_skia/src/layer.rs
  206. +25 −2 tiny_skia/src/lib.rs
  207. +13 −13 tiny_skia/src/text.rs
  208. +5 −4 tiny_skia/src/window/compositor.rs
  209. +1 −2 wgpu/Cargo.toml
  210. +2 −2 wgpu/src/color.rs
  211. +3 −3 wgpu/src/geometry.rs
  212. +5 −5 wgpu/src/image/atlas.rs
  213. +3 −3 wgpu/src/image/mod.rs
  214. +1 −1 wgpu/src/image/raster.rs
  215. +4 −4 wgpu/src/layer.rs
  216. +28 −6 wgpu/src/lib.rs
  217. +3 −3 wgpu/src/quad/gradient.rs
  218. +3 −3 wgpu/src/quad/solid.rs
  219. +59 −57 wgpu/src/text.rs
  220. +17 −17 wgpu/src/triangle.rs
  221. +2 −2 wgpu/src/triangle/msaa.rs
  222. +9 −8 wgpu/src/window/compositor.rs
  223. +1 −1 widget/Cargo.toml
  224. +85 −0 widget/src/action.rs
  225. +109 −37 widget/src/button.rs
  226. +39 −25 widget/src/canvas.rs
  227. +0 −21 widget/src/canvas/event.rs
  228. +10 −9 widget/src/canvas/program.rs
  229. +76 −33 widget/src/checkbox.rs
  230. +16 −23 widget/src/column.rs
  231. +29 −19 widget/src/combo_box.rs
  232. +63 −20 widget/src/container.rs
  233. +269 −59 widget/src/helpers.rs
  234. +21 −4 widget/src/image.rs
  235. +19 −22 widget/src/image/viewer.rs
  236. +17 −24 widget/src/keyed/column.rs
  237. +19 −23 widget/src/lazy.rs
  238. +1 −1 widget/src/lazy/cache.rs
  239. +48 −45 widget/src/lazy/component.rs
  240. +33 −41 widget/src/lazy/responsive.rs
  241. +9 −1 widget/src/lib.rs
  242. +764 −143 widget/src/markdown.rs
  243. +69 −101 widget/src/mouse_area.rs
  244. +51 −28 widget/src/overlay/menu.rs
  245. +251 −188 widget/src/pane_grid.rs
  246. +38 −19 widget/src/pane_grid/content.rs
  247. +51 −32 widget/src/pane_grid/state.rs
  248. +22 −28 widget/src/pane_grid/title_bar.rs
  249. +55 −48 widget/src/pick_list.rs
  250. +270 −0 widget/src/pin.rs
  251. +319 −0 widget/src/pop.rs
  252. +73 −32 widget/src/progress_bar.rs
  253. +2 −2 widget/src/qr_code.rs
  254. +39 −24 widget/src/radio.rs
  255. +22 −29 widget/src/row.rs
  256. +4 −4 widget/src/rule.rs
  257. +415 −325 widget/src/scrollable.rs
  258. +17 −35 widget/src/shader.rs
  259. +0 −25 widget/src/shader/event.rs
  260. +8 −10 widget/src/shader/program.rs
  261. +166 −150 widget/src/slider.rs
  262. +27 −30 widget/src/stack.rs
  263. +3 −3 widget/src/svg.rs
  264. +110 −85 widget/src/text/rich.rs
  265. +363 −230 widget/src/text_editor.rs
  266. +314 −102 widget/src/text_input.rs
  267. +2 −2 widget/src/text_input/cursor.rs
  268. +16 −17 widget/src/themer.rs
  269. +43 −33 widget/src/toggler.rs
  270. +18 −15 widget/src/tooltip.rs
  271. +35 −31 widget/src/vertical_slider.rs
  272. +1 −4 winit/Cargo.toml
  273. +56 −2 winit/src/conversion.rs
  274. +319 −285 winit/src/program.rs
  275. +18 −14 winit/src/program/state.rs
  276. +267 −10 winit/src/program/window_manager.rs
  277. +1 −1 winit/src/proxy.rs
  278. +11 −0 winit/src/settings.rs
  279. +6 −2 winit/src/system.rs
1 change: 1 addition & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[alias]
lint = "clippy --workspace --benches --all-features --no-deps -- -D warnings"
lint-fix = "clippy --fix --allow-dirty --workspace --benches --all-features --no-deps -- -D warnings"
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
rust: [stable, beta, "1.80"]
rust: [stable, beta, "1.85"]
steps:
- uses: hecrj/setup-rust-action@v2
with:
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
target/
pkg/
**/*.rs.bk
Cargo.lock
dist/
traces/
Loading