Commit log

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

Click to expand commit body
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

Click to expand commit body
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

Click to expand commit body
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

Click to expand commit body
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

Click to expand commit body
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

Click to expand commit body
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

5f1f49b Reduce path atlas size by using a single channel for the texture

Antonio Scandurra created

e0c43da Implement SVG rendering

Antonio Scandurra created

2970e93 Use handles to obtain entities in future callbacks

Click to expand commit body
This guarantees that the spawning entity will be present and simplifies
the logic for obtaining the entity. Now we can forward the results of spawned futures and streams in the same way regardless of whether what spawned them was a model or a view.

Nathan Sobo created

fda1394 Rename Task -> EntityTask (a BackgroundTask is just a Task)

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

46f8665 Add save command

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

c39c7c3 Make background executor available on AppContext

Click to expand commit body
Co-Authored-By: Nathan Sobo <nathan@zed.dev>

Max Brunsfeld and Nathan Sobo created

fabc194 Resurrect commented-out worktree test

Max Brunsfeld created

cded00c Make backspace work correctly for empty selections

Max Brunsfeld created

a525293 Add fallback UI fonts that are installed by default on macOS

Max Brunsfeld created

6a979ff Ensure that the assets dir exists with a .gitkeep file

Max Brunsfeld created

dba3c82 Remove stray print statements

Max Brunsfeld created

48d0402 Add a github actions config file

Max Brunsfeld created

32500e2 Silence sum_tree warnings

Click to expand commit body
* Remove unused enum variant
* Add #[allow(unused)] for non-trivial methods

Max Brunsfeld created

575f591 Use a real FontSystem in test platform

Max Brunsfeld created

dd31b87 Remove small pieces of unused code

Max Brunsfeld created

ce6ca13 Fix buffer folding test

Max Brunsfeld created

c43d7cf Use a condvar instead of a channel to implement finish_pending_tasks

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

526a55d Complete finish_pending_tasks future when tasks are cancelled

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

fd1f753 Initialize logger in gpui tests

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

2d79193 Remove future/stream handlers when task is dropped

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

914cf37 Remove executor::ForegroundTask wrapper

Click to expand commit body
Now that smol returns the same Task as async_task, we can simply re-export the async_task::Task struct from our executor module.

Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

d68a747 Fix hanging finish_pending_tasks test

Click to expand commit body
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>

Nathan Sobo and Max Brunsfeld created

72ced45 Remove unused `edge_to_point` calculation in quad shader

Antonio Scandurra created