f4c1ffc
Start on copy-paste
Antonio Scandurra created
f4c1ffc
Start on copy-paste
Antonio Scandurra created
7469240
Rename application binary to improve appearance of app menu
Nathan Sobo created
0d69b63
Merge pull request #14 from zed-industries/menu-commands
Make the application menu dispatch commands on the focused view
Max Brunsfeld created
902b0f7
Dispatch menu commands on the focused view
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
d4436f3
Don't try to handle errors when opening platform windows
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
86c0f41
Move set_menus method to MutableAppContext
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
41358f3
Set up menu handler in App::new
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
2332b7e
Move open command handler to workspace global action
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
3247f49
Allow menu items to specify arguments for their commands
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
a0a0047
Merge pull request #13 from zed-industries/undo-stack
Undo/redo support
Max Brunsfeld created
b2723fd
Remove unused variables
Max Brunsfeld created
afa3f6d
Add test coverage for edit event grouping in transactions
Max Brunsfeld created
a0da237
Merge branch 'master' into undo-stack
Max Brunsfeld created
8f6b8b2
:memo:
Antonio Scandurra created
6ea2581
Merge pull request #12 from zed-industries/platform-trait
Hide platform code entirely behind App for framework users
Nathan Sobo created
487b60d
Merge pull request #10 from zed-industries/menus
Populate the menu bar
Nathan Sobo created
3a33fab
Generate operation when updating selection set after undo/redo
Antonio Scandurra created
59a9f01
Remove unnecessary edit_at method
Antonio Scandurra created
be68af4
Add unit test for history manipulation (undo, redo, grouping)
Antonio Scandurra created
606e6be
Simplify buffer history management
Antonio Scandurra created
ab14b99
Introduce transactional edits and allow snapshotting of selections
Antonio Scandurra created
40bfdd3
:lipstick:
Antonio Scandurra created
551c86f
WIP: Start on pushing selection management down into `Buffer`
Antonio Scandurra created
472ff16
Merge `UndoHistory` and `History`, storing also operations in the latter
Antonio Scandurra created
d0b06a2
Don't clear redo stack when editing
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
e534fe9
Add initial support for undo/redo stack
We're still not capturing selections/anchors, that's right up next.
Antonio Scandurra created
b9b5111
Make gpui::platform module private
Nathan Sobo created
619e2b7
Remove platform::mac::runner
Nathan Sobo created
4638391
Remove MutableAppContext::downgrade
Nathan Sobo created
620eedb
Allow effects to be flushed before TestAppContext::update callback completes
Nathan Sobo created
97a8a8e
Remove unsafe code from App::test_async
I don't actually think it was correct to allow the future to borrow a mutable app reference. I went back to passing a wrapper around the refcell to async tests. They'll be a bit more annoying to write but also totally safe.
Nathan Sobo created
448dace
Pass the on_finish_launching callback to Platform::run
Nathan Sobo created
0790505
Get app running and test passing after gpui App+Platform restructure
Max Brunsfeld created
4ecc17b
WIP: Make App the only entry point from main
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
301163b
Add lifecycle methods to Platform trait
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
00d7daf
Merge branch 'master' into menus
Max Brunsfeld created
07b8a10
Merge pull request #11 from zed-industries/undo
Introduce undo/redo support for arbitrary operations in `Buffer`
Antonio Scandurra created
6873662
Use upstream git revision of core-foundation-rs
Max Brunsfeld created
cba8730
Don't report edits in `Buffer::undo_or_redo`
We will report them in public higher-level methods like `Buffer::undo` and `Buffer::redo`.
Antonio Scandurra created
bf3a5d0
Move UndoMap down
Antonio Scandurra created
4d9ff11
Exercise arbitrary undos/redos in single-peer buffer randomized test
Antonio Scandurra created
2e7ca8e
Store only max undo by replica instead of individual undos in Fragment
Antonio Scandurra created
7b6fbe1
Compute minimal `version_in_range` on edit and account for undo
Antonio Scandurra created
7ebcbdc
Implement File > Open menu item
Max Brunsfeld created
f656b38
Call SetActivationPolicy at the proper time
If this method is called too early, the menu bar won't be clickable on startup until the window loses focus. Calling it once the application finishes launching seems to fix the issue. See https://github.com/glfw/glfw/issues/1648
Max Brunsfeld created
334de06
Create an API for assigning the menubar contents
Max Brunsfeld created
c20935d
WIP
Antonio Scandurra created
d572c22
Merge pull request #9 from zed-industries/debug-elements
Copy element debug JSON to the clipboard on cmd-alt-i
Nathan Sobo created
5e0d5b7
Fix `Debug` impl for `Text` to only display the slice a `Text` refers to
...as opposed to the whole string.
Antonio Scandurra created
44ab38a
Introduce undo/redo support for arbitrary operations in `Buffer`
Antonio Scandurra created