Commit graph

2463 commits

Author SHA1 Message Date
Dennis Kobert
de17b576f4
Add missing implementation for context modification node 2025-12-21 22:53:12 +01:00
Dennis Kobert
6d29bfec91
Revert "Improve perf by initializing protonodes as non value"
This reverts commit 936bac0d1e.
2025-12-21 22:53:12 +01:00
Dennis Kobert
2424d0830a
Add implementations to node registry 2025-12-21 22:53:11 +01:00
Dennis Kobert
0393dd057a
Implement conversion to gpu for different renderable types 2025-12-21 22:53:11 +01:00
Dennis Kobert
aade019019
Only rasterize data within bounds 2025-12-21 22:53:10 +01:00
Dennis Kobert
397068b32b
Fix transform 2025-12-21 22:53:10 +01:00
Dennis Kobert
de8bdc7209
Make texture size not 1x1 2025-12-21 22:53:10 +01:00
Dennis Kobert
4a9fb5162b
Prototype vector to raster conversion 2025-12-21 22:53:09 +01:00
Dennis Kobert
1587ff164d
Improve perf by initializing protonodes as non value 2025-12-21 22:53:09 +01:00
Dennis Kobert
1b5443aabd
Cleanup 2025-12-21 22:53:08 +01:00
Dennis Kobert
d276e2a62a
Remove redundant stable id generation 2025-12-21 22:53:08 +01:00
Dennis Kobert
e176a0b812
Fix compilation for compile benchmarks 2025-12-21 22:53:07 +01:00
Dennis Kobert
7d3efffdac
Integrate type checking into context dependency analysis 2025-12-21 22:52:58 +01:00
Nicholas Liu
e73e524f3d
Implement proper fill rendering for vector meshes (#3474)
Some checks failed
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
Library: Rawkit / build (push) Has been cancelled
* Implement branching mesh rendering for SVG

* Patch mesh fill for Vello renderer

* Patch tangent_at_start and tangent_at_end

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2025-12-21 02:59:37 +00:00
Dr George Atkinson
c21ccf5284
Add basic thumbnail extraction to Rawkit (#2659)
* Add `CompressionValue`

* Rename `Transform` to `OrientationValue`

* Add basic thumbnail extraction

* Add `ThumbnailFormat`

* fmt + clippy fixes
2025-12-20 18:08:21 -08:00
Keavon Chambers
d441a02e72
Upgrade Rawkit library Rust dependencies (#3124)
* Upgrade Rawkit library Rust dependencies

* Continue on sccache failures

* Update again
2025-12-20 17:36:02 -08:00
Jatin Bharti
d16fd46399
Fix disabled state of Layer > Make Path Editable menu action getting out of sync (#3497)
* fix : sync the make path editable option

* fix : control the call with state

* fix : fix the call

* fix : redundancy

* fix : fmt
2025-12-20 17:06:34 -08:00
Keavon Chambers
0a5e65bc9d Fix the Brush tool being accessible while disabled in preferences
Some checks are pending
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
2025-12-20 03:48:41 -08:00
Keavon Chambers
3000519a10 New nodes: 'Reciprocal', 'Angle Between', and 'Angle To' 2025-12-20 02:36:43 -08:00
Keavon Chambers
f1e8ebefc5
Improve tooltip docs with Markdown styling and refined math node explanations (#3488) 2025-12-20 01:05:15 -08:00
Keavon Chambers
2c21e1a90b Desktop: Clean up the UI scale setting in the Preferences dialog
Some checks are pending
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
2025-12-20 00:20:50 -08:00
Keavon Chambers
e99f30e633 Stop hover transfer working between rows of Properties panel dropdown menus 2025-12-19 23:45:07 -08:00
Keavon Chambers
2d6d054359
Make font selection show a live preview on hover; move its code to the backend (#3487)
* Remove FontInput.svelte

* Move font picking to the backend

* Fix Text tool font choice style turning to "-" on font that doesn't support previous style
2025-12-19 22:17:28 -08:00
Timon
6f087eb981
Desktop: Fix minimize/restore animations on Windows (#3492)
Some checks failed
Editor: Dev & CI / build (push) Has been cancelled
Editor: Dev & CI / cargo-deny (push) Has been cancelled
fix minimize animation on win
2025-12-18 15:53:36 +00:00
Timon
14b8cdf4cb
Desktop: Fix missing taskbar icon on Windows (#3490)
* fix missing taskbar icon

* focus window after init
2025-12-18 12:51:01 +00:00
Adam Gerhant
6733a24e47
Use more specific node input indexing when displaying invalid input errors (#3415)
* Reduce displayed invalid inputs

* Correct error offset for convert node

* Apply suggestions from code review

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2025-12-18 10:48:25 +00:00
Timon
b97978e91d
Fix regression where Ctrl+X is copying not cutting (#3486)
fix nodegraph cut regression
2025-12-18 00:40:54 -08:00
Keavon Chambers
57055e373e Add the Graphite Branding License to the website
Some checks failed
Editor: Dev & CI / build (push) Has been cancelled
Editor: Dev & CI / cargo-deny (push) Has been cancelled
Website / build (push) Has been cancelled
2025-12-15 18:17:21 -08:00
Timon
b4fc3d0580
Desktop: Fix pivot and axis constraint overlays (#3463)
Some checks are pending
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
* fix pivot gizmo native dowel_pin overlay

* fix native snapping overlay
2025-12-15 14:53:43 +00:00
Timon
820865389c
Desktop: UI scale preference (#3475)
* ui scale preference

* cleanup

* add update ui scale message to SIDE_EFFECT_FREE_MESSAGES

* fix mac title bar height

* hide UI preference section on web

* set % as unit of ui scale
2025-12-15 14:11:43 +00:00
Timon
e44f993095
Desktop: Forward and Backward mouse button support (#3472)
forward and backward mouse button support
2025-12-15 11:45:26 +00:00
Timon
7532bd7260
Desktop: Hide menu bar in fullscreen mode on Mac (#3464)
Some checks failed
Editor: Dev & CI / build (push) Has been cancelled
Editor: Dev & CI / cargo-deny (push) Has been cancelled
hide menu bar in fullscreen mode on mac
2025-12-12 13:09:31 +00:00
Timon
6d852f11af
Desktop: Text clipboard support (#3461)
Some checks are pending
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
* gray background for viewport texture

* cust copy paste support

* connect clipboard read on web

* fix eyedropper bounds

* cleanup

* add missing char events for some named keys like enter
2025-12-12 00:16:35 +00:00
Keavon Chambers
d6c06da878
Move the MenuBarMessage up from within PortfolioMessage to the root Message (#3459)
Some checks failed
Editor: Dev & CI / build (push) Has been cancelled
Editor: Dev & CI / cargo-deny (push) Has been cancelled
Move the MenuBarMessage up from within PortfolioMessage
2025-12-08 20:49:35 -08:00
Dennis Kobert
532dc30028
Fix checkboxes by using deterministic widget IDs instead of random ones to make the diffing easier (#3457)
Some checks are pending
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
* Move diffing to trait

* Add deterministic widget ids

* Cleanup
2025-12-08 12:30:29 +00:00
Keavon Chambers
90c91db550 Disable the Brush tool by default and add it to preferences under experimental 2025-12-08 04:02:50 -08:00
Timon
68a9bbced0
Desktop: Update metadata for compiled application binaries (#3453)
Some checks are pending
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
* change bin names

* set win product name

* Update Windows metadata

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2025-12-08 01:57:55 +00:00
Adam Gerhant
bba771bd08
Add mitigation for inability to connect graph import directly to export by auto-inserting a Passthrough node (#3449)
insert passthrough
2025-12-07 19:19:55 +00:00
Adam Gerhant
9fc98cf03f
Desktop: Remove web_sys text measuring to fix node graph layer widths (#3455)
Some checks are pending
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
* Remove web_sys text measuring

* Improve export

* Fix top of layer stack
2025-12-07 12:11:42 +00:00
Adam Gerhant
3926337b44
Fix traversal when deleting nodes (#3358)
* Fix deletion

* Fix traversal over primary
2025-12-07 03:41:23 -08:00
Dennis Kobert
a6f83291b4
We now use normal blending instead of using Mix::Clip / the clip_layer (#3454)
Some checks are pending
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
* We now use normal blending instead of using Mix::Clip / the clip_layer

* Revert the revert for the clip using SrcOver
2025-12-07 10:26:24 +00:00
Keavon Chambers
fb0fab0622 Update links from graphite.rs to graphite.art
Some checks failed
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
Library: Rawkit / build (push) Has been cancelled
Website / build (push) Has been cancelled
2025-12-06 18:10:27 -08:00
Timon
a5cf62a90b
Desktop: Custom cursor support (#3452)
custom cursors with caching
2025-12-06 16:16:14 -08:00
Timon
2e4481880e
Desktop: Fix missing resize events causing all-gray window on Mac after launch (#3445)
* okayish solution

should be improved at some point but for now it works well enough.

* do leftover renames

* better solution

* less weird resize frames

* move surface reconfiguration

* fix recent desktop mac breakages

* better looking resize on mac

* fix background color

* Fix blank screen on window initialization

* cleanup

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2025-12-06 23:11:47 +00:00
Keavon Chambers
5b472a64b2 Remove the "coming soon" dialog and hide not-yet-ready features/tools
Some checks failed
Editor: Dev & CI / build (push) Has been cancelled
Editor: Dev & CI / cargo-deny (push) Has been cancelled
2025-12-05 04:17:44 -08:00
Keavon Chambers
74d9c911bd Fix ShortcutLabel drawing of consecutive key labels 2025-12-04 22:04:37 -08:00
Yuxiang Huang
8ca546c164
Fix using Esc to abort box selection and wire dragging causing the graph to close (#3409)
Some checks are pending
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
* Implement proper node graph interaction aborting when pressing Escape

* Fixes

---------

Co-authored-by: Keavon Chambers <keavon@keavon.com>
2025-12-05 01:42:00 +00:00
Keavon Chambers
2ee8e56cef Fix sending platform-specific shortcut keys to frontend before editor is initialized with the platform set 2025-12-04 15:35:30 -08:00
Keavon Chambers
783ea0b437
Unwrap the Layout enum to replace it with the WidgetLayout struct now called Layout (#3448) 2025-12-04 15:24:40 -08:00
Keavon Chambers
3c4ad8b720 Refactor the WidgetLayout struct to remove SubLayout and avoid sending LayoutTarget to frontend
Some checks are pending
Editor: Dev & CI / build (push) Waiting to run
Editor: Dev & CI / cargo-deny (push) Waiting to run
2025-12-04 02:44:54 -08:00