Keavon Chambers
cde8dd78e6
Remove stray float literal .0 suffixes in lieu of just ending with a point ( #4233 )
...
Remove the .0 suffix on floats in lieu of just ending with a point
2026-06-12 19:47:36 -07:00
Timon
05d3d66587
Desktop: Block network requests in CEF that are not explicitly allowlisted ( #4225 )
2026-06-11 15:32:53 +00:00
Timon
1c2ac19b16
Desktop: Register the Graphite app as a file handler on Mac ( #4106 )
...
* Desktop: Implement native file open handler
* Desktop: Register file types on Mac
* Review
2026-05-06 13:05:30 +00:00
Timon
324b9e664c
Desktop: Update CEF ( #4048 )
...
* Update CEF to version 147
* Fix fmt
* Move CEF package
* Fix nix package
* Improve
* Cleanup
* Fix
2026-04-28 02:25:39 +02:00
Timon
2a2a60883d
Desktop: Use the OS temp directory for CEF caches ( #4030 )
...
* Desktop: Use the OS temp dir
* Review
2026-04-15 10:47:45 +00:00
Keavon Chambers
39656d4c73
Refactor panel layouts to generalize recursive panel group subdivision splits ( #4014 )
...
* Generalize recursive panel group splits
* Code review
2026-04-08 00:44:58 -07:00
Vishnu Tejas
36366b34f2
Desktop: Fix drag followed by a click causing a double click ( #3721 )
...
* Fix drag followed by a click causing a double click
* Review
* Fix quadruple click bug and cleanup
bug: quadruple bypassing time and distance check logic
* Improve readability
---------
Co-authored-by: Timon <me@timon.zip >
2026-03-24 00:21:02 +00:00
Timon
0c7b5cd534
Desktop: Fix broken resizing affecting some Linux systems ( #3917 )
...
Desktop: Fix resizeing being broken on some Linux systems
Co-authored-by: James Lindsay <78500760+0HyperCube@users.noreply.github.com >
2026-03-20 01:28:22 +00:00
Timon
5d22292072
Replace npm build script with new cargo run tool ( #3832 )
...
* move nix flake to root
* cargo run tool
* use thiserror in third-party-licenses tool
* prefere panic over exit
* Add automatic dependency check to cargo run tool
* Skip dependecies that are not needed for the current task
* Fixup
* Fixup
* fix windows
* Fixup
* improve usage text
* Fix linux bundle
* add graphen-cli
* fix build profile
* fix
* release profile should not include debug infos
* Review
* remove profiling profile
was redundent with release
* rename to cargo-run tool
* improve consistency
* rename deps to requirements
* fix
* return success when showing usage
2026-03-07 13:26:19 +00:00
Timon
a2d3b3f410
Desktop: Make shutdown more robust and fix panic caused by invalid viewport scale ( #3783 )
...
* Fix panic caused by invalid viewport scale
* Make shutdown more robust
2026-02-22 17:28:35 +00:00
Timon
d2eaa03498
Desktop: Disable more CEF optional features ( #3747 )
2026-02-11 23:36:34 +00:00
Vishnu Tejas
2e297777a0
Desktop: Support triple-click inputs ( #3671 )
...
* Fix triple-click text to select paragraph on desktop
* fixup
---------
Co-authored-by: Timon <me@timon.zip >
2026-02-03 12:15:08 +00:00
Timon
5fd1a24f16
Desktop: Add Eyedropper tool support with native Vello ( #3684 )
...
* mostly done
* fix
* kinda works but tilt and flip broken
* fix footprint
Co-authored-by: James Lindsay <78500760+0HyperCube@users.noreply.github.com >
* Code review
* fix cursor hiding
* Remove console.log
---------
Co-authored-by: James Lindsay <78500760+0HyperCube@users.noreply.github.com >
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2026-01-27 01:24:09 +00:00
Timon
cf85ec736f
Desktop: Bundle for Linux with Nix ( #3569 )
...
bundle for linux with nix
2026-01-06 00:32:55 +00:00
Timon
11e2882cb2
Desktop: Fix Windows build ( #3522 )
...
* fix win build
* fix mac
* Change window button colors to match Windows colors
---------
Co-authored-by: Keavon Chambers <keavon@keavon.com >
2025-12-22 14:48:13 -08:00
Timon
f705d0080d
Desktop: Switch to immediate frame present mode on Mac ( #3495 )
...
* mac immediate render mode
* fix key modifier flags on mac
2025-12-21 20:14:47 -08: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
6d852f11af
Desktop: Text clipboard support ( #3461 )
...
* 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
Timon
a5cf62a90b
Desktop: Custom cursor support ( #3452 )
...
custom cursors with caching
2025-12-06 16:16:14 -08:00
Timon
39b5229df7
Desktop: Limit application to a single instance ( #3441 )
...
* only allow single instance
* more reliable CEF cache cleanup
* some cleanup
* fix lock file location
* add simple signal handling
* fix skew handles on desktop
* mac remove unused helpers
2025-12-03 19:13:15 +01:00
Timon
3fd0460d03
Desktop: Update CEF to 142 ( #3431 )
...
* update CEF to 142
* fix win
* fixup
* post merge fix
* use getter instead
2025-11-30 23:23:31 +00:00
Timon
94e5c8fc05
Desktop: Prevent CEF context menu to fix crashing by right-clicking a text field ( #3429 )
...
* add dummy context menu handler to prevent some crashes
* some cleanup
correcting cef handler impl names
using std::ffi::c_int
2025-11-29 00:08:43 +00:00
Timon
f4608a6e40
Desktop: Resize issue mitigation, scroll speed adjustment and duplicate pointer move event filtering ( #3424 )
...
* mitigate resizing issue on mac and windows
* adjust scroll speed for mac and win
* fixup
* filter out duplicate mouse move events
2025-11-27 16:18:52 +00:00
Timon
5ff399d3f2
Desktop: Display taskbar icon on Windows ( #3376 )
...
* task bar icon
* limit cef render processes to 1
* disable more chrome features
2025-11-25 14:16:59 +00:00
Timon
548e0df1a1
Desktop: Mac menu workaround ( #3398 )
2025-11-19 17:13:35 +00:00
Timon
e751979e5c
Desktop: Mac fix keyboard input ( #3371 )
...
* add browser debug port env
* mac use option as alt
* fix cef texture double sRGB conversion by using cef-rs fork with fix
* fix keyboard input on mac
* add missing frontend messages
* fixup
* fix keyboard input mac
* dbg
* re implement keyboard mapping
Co-authored-by: csmoe <csmoe@msn.com >
* Fix double arrow keys
* try fix for non mac
* test
* Revert "test"
This reverts commit c7cde9c597 .
* fix mac
* some cleanup
* fix zoom in shortcut on mac introduced in #3377
* disable menu shortcut display
* fixup
2025-11-17 11:51:59 +00:00
Timon
9be207f4c5
Desktop: Update CEF to 141 ( #3352 )
...
update cef to 141
2025-11-08 11:59:02 +00:00
Timon
f02f834097
Desktop: Add support for UI scaling ( #3310 )
...
* desktop support ui scaling
* fix some warnings
* use browser zoom if needed
* fix infinite footprint size
* fix web canvas scale
* always set zoom
* use only zoom for scaling
* prevent user zoom
* remove mouse position scaling
2025-11-08 12:32:04 +01:00
Timon
39f4ccf8e0
Desktop: Fixup MacOS build ( #3295 )
...
desktop mac os fixup
Co-authored-by: Dennis Kobert <dennis@kobert.dev >
2025-10-20 13:31:36 +00:00
Timon
717defb2bb
Desktop: Trackpad pinch to zoom ( #3271 )
...
* prototype pinch gesture
* pinch to zoom
* fix
2025-10-14 22:27:27 +00:00
Mateo
497758c273
Desktop: Add simple cli interface ( #3059 )
...
* Open document from cli and add some files to .gitignore
* Revert .gitignore
* Revert .gitignore
* Implement cli properly
* Add ui-accelerated-painting option
* Format code
* Revert changes in .vscode folder
* Don't use global variables for cli
* Apply suggested changes
* Make ready for merge
* Improve names
* remove comment
---------
Co-authored-by: Timon <me@timon.zip >
2025-10-13 21:09:40 +00:00
Timon
e366e4d64e
Desktop: Update CEF to v140 ( #3277 )
...
* update cef to v140
* fix build
* update flake
2025-10-13 04:56:56 +00:00
Timon
48ac24da14
Desktop: Fix frontend message response dispatch ( #3247 )
...
* One annoying debugging session later
Discovered that the editor handles frontend messages differently from other messages.
It requires all frontend messages to be fully processed before dispatching any resulting messages.
In the web frontend, this behavior happened implicitly because message dispatch is queued at the current end of the JavaScript execution queue.
For the desktop frontend, I added a vector to collect all responses until the entire batch of frontend messages is handled, and then dispatch them afterwards.
* Fix double click travel
2025-10-06 20:04:24 +00:00
Timon
d06c8164e1
Desktop: Forward multi-clicks (double/triple/etc.-clicks) to CEF correctly ( #3224 )
...
* fix multiclick
* Revert "fix multiclick"
This reverts commit c4130d12ee .
* try another way
* use copy
* Use struct initializer syntax fror click tracker (#3226 )
---------
Co-authored-by: Dennis Kobert <dennis@kobert.dev >
2025-09-26 14:29:56 +02:00
Timon
04a2452333
Desktop: Support cursor icon change ( #3223 )
...
* browser console message forwarding
* replace target to make it easy to identify browser console messages
* use warn as per review comment
* cursor icon change
* fix win build
2025-09-25 11:23:19 +00:00
Timon
b4be616de0
Desktop: Browser console message forwarding ( #3193 )
...
* browser console message forwarding
* replace target to make it easy to identify browser console messages
* use warn as per review comment
2025-09-25 10:42:07 +00:00
Timon
09bc891ab2
Desktop: Forward the pointer leave event to CEF ( #3197 )
...
* pointer leave
* make one-liner
2025-09-21 10:23:51 +00:00
Timon
3fe7c477e9
Desktop: Switch to the latest unreleased version of Winit ( #3177 )
...
* Use unstable winit
* Improve
* Remove unnecessary heap indirection
2025-09-17 16:40:43 +02:00
Timon
ab55b3225d
Desktop: Window resize handling on Windows ( #3167 )
...
* Native window resize on windows
* Fix linux build
* Fix windows build
* try clean up
* clean up
* Add module comment
* FIx
* Review improvements
* Improve
2025-09-15 12:15:31 +00:00
Timon
da330b6dd0
Desktop: Run CEF in incognito mode and delete root cache path on exit ( #3137 )
...
* Try
* Run cef in non persistence mode
2025-09-13 22:19:45 +00:00
Timon
e97d5520e8
Desktop: Support receiving double click inputs ( #3168 )
...
* input support double clicks and clean up
* Review improvements
2025-09-13 12:40:31 +00:00
Timon
c51967384f
Desktop: Fix keyboard shortcuts on windows ( #3139 )
...
* Try to fix shortcuts on windows
* Fix
2025-09-10 10:51:15 +00:00
Timon
1d4d1026d4
Desktop: Make embedded resources optional ( #3094 )
...
* Make embedding resources optional
* Move remaining cef rc to internal module
* Move embedded resources to separate crate
* Review fixup
* Fix
* Fix read
* Add read error
2025-08-28 17:18:18 +00:00
Timon
508606cdba
Desktop: add missing txt file mime type mapping ( #3091 )
...
add missing txt file extension to mime type mapping
missing mapping caused license dialog that loads txt file to fail and report no network connection
2025-08-25 15:51:59 +02:00
Timon
c6ec3a27ca
Desktop: Buffer web messages until connection is initialized ( #3082 )
...
Buffer web messages until connection is initialized
2025-08-22 15:15:17 +00:00
Dennis Kobert
e4dd3ce806
Desktop: Use multithreaded CEF event loop on Windows and Linux ( #3076 )
...
* Prototype multi threaded event loop
* Fix input event dispatch
* Remove dead code
* Reenable do_message_loop_work for macos targets
* Cleanup
* Review cleanup
* Remove outdated comment
* Attempt to fix texture import errors
---------
Co-authored-by: Timon Schelling <me@timon.zip >
2025-08-21 19:46:13 +00:00
Dennis Kobert
e56f858ced
Desktop: Implement GPU accelerated offscreen rendering and improve rendering efficency ( #3056 )
...
* WIP accelerade offscreen canvas implementation
* Implement vulkan dmabuf import
* Add fps printing
* Add feature gates
* Forgot to add file
* Experimental windows support
* Cast ptr to isize
* Remove testing chrome://flags url
* Experimental macos support for texture import
* Cleanup code and improve latency / frame pacing
* Add path for importing textures on windows through dx12
* Update doc comment
* Import textures through metal on macos
* Review cleanup
---------
Co-authored-by: Timon Schelling <me@timon.zip >
2025-08-21 10:09:38 -07:00
Timon
5f2432cacf
Desktop: Open links in default browser and prevent popups ( #3006 )
...
* Deny all browser popups
* Open links with default browser
* Fix review comments
2025-08-06 15:28:10 +00:00
Timon
1742e6000a
Desktop: Add some missing key codes ( #3011 )
...
Add some missing key codes
2025-08-06 15:33:13 +02:00
Dennis Kobert
08ec1d08f6
Desktop: Execute editor and node graph natively ( #2955 )
...
* Desktop: Execute editor and node graph natively
* Remove decouple execution feature
* Disable feature gate for native communication functions
* Avoid ininite message loop on an infinite canvas
* Add any lint exception
* Build evaluation loop
* Fix texture passing message
* Cleanup
* More cleanup
---------
Co-authored-by: Timon Schelling <me@timon.zip >
2025-07-31 10:26:36 +00:00