619e2b7
Remove platform::mac::runner
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
b1536cc
Add README tip
Nathan Sobo created
9f6f27f
Order debug JSON and allow elements to be named; copy to clipboard
Nathan Sobo created
cbb23a9
Log prettified element debug JSON to on cmd-alt-i
Nathan Sobo created
0664321
Add ability to debug element trees as JSON
Nathan Sobo created
0a12774
Add a stub of a native 'File' menu
Max Brunsfeld created
7e5186e
Start work on a native application menu
Add an application menu with a quit command, bound to command-q
Max Brunsfeld created
57a3207
Merge branch 'modified-status-in-tabs'
Max Brunsfeld created
1c23eec
Add CI status badge to the README
Max Brunsfeld created
187eb95
Throw a little between filename and modified icon
We probably need a primitive to right-align an element within its parent, but I don't have strong opinions about how that should be designed, so I'm just adding this as a temporary measure so that the tabs won't look too ugly in the meantime.
Max Brunsfeld created
ae57178
Restructure event-handling methods in workspace ItemView
Max Brunsfeld created
a95d33f
Add assertions about Dirtied events in test
Max Brunsfeld created
347d13b
Merge pull request #7 from zed-industries/roadmap
Add a README with a high-level roadmap
Nathan Sobo created
aaa007a
Add Max's suggestion
Nathan Sobo created
05125f7
Fix tests
Nathan Sobo created
3f9d224
persisted_version -> saved_version
Nathan Sobo created
13ee86e
Remove unused method
Nathan Sobo created
2619bc4
Update modified status by emitting event whenever buffer is dirtied or saved
I used the word "dirty" because it felt more expressive than "modified" to me, but not married to it. Tagging Max because we did a lot of this thinking together. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
d724387
wip
Max Brunsfeld created
685665f
Implement Buffer::is_modified by storing persisted version
Max Brunsfeld created
bd37b11
Update tab's modified icon via a saved event emitted from buffer
Max Brunsfeld created
dabd6ab
Start work on displaying modified status in tabs
Max Brunsfeld created
0f157d5
Silence warning in text example
Max Brunsfeld created
c632aab
Vertically center linebox child element
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
2a9e71d
Vertically center glyphs in Line::paint based on ascender/descender for line
Nathan Sobo created
fc4135d
Render example text in example via Line::paint
Nathan Sobo created
765c3f9
Open platform window before first invalidation
This ensures we have an invalidation handler present so we render the first frame in all cases.
Nathan Sobo created
a5b3922
WIP: Add example app to test text rendering
Nathan Sobo created