5f1f49b
Reduce path atlas size by using a single channel for the texture
Antonio Scandurra 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
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)
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
46f8665
Add save command
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Max Brunsfeld and Nathan Sobo created
c39c7c3
Make background executor available on AppContext
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
* 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
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
526a55d
Complete finish_pending_tasks future when tasks are cancelled
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
fd1f753
Initialize logger in gpui tests
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
2d79193
Remove future/stream handlers when task is dropped
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
914cf37
Remove executor::ForegroundTask wrapper
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
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
d10fc6c
Fix crash when selections exceed the container's bounds
Antonio Scandurra created
ae447ca
Layout lines and line numbers sequentially
Doing things in parallel has a constant factor associated with it (e.g., spawning threads and coordinating them) that dwarves its benefits on a code path like this where things take < 2-3ms when done sequentially.
Antonio Scandurra created
995acef
Inset container contents to account for container border
Nathan Sobo created
e487aa5
Don't render glyphs located outside of `BufferElement`'s bounds
Antonio Scandurra created
0b44cb0
Fix links
Nathan Sobo created
3831700
Link to tracking issues
Nathan Sobo created
f3fd670
Add a README with a high-level roadmap
Nathan Sobo created
c525d7c
:lipstick: naming
Nathan Sobo created
3bd6b92
Introduce a GPUI test platform, get most tests running
There are still two tests that don't pass: * `gpui::app::tests::test_finish_pending_tasks` hangs * `editor::buffer_view::tests::test_fold` has an assertion failure
Max Brunsfeld created
2efc90a
Ensure that path windings are rendered to the right atlas texture
Fixes #5
Max Brunsfeld created
a9c428a
Remove `Overdraw`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
d5a9bab
Fix tabs layout
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
c55d990
Handle non-precise scroll events in `BufferElement`
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
97e0db2
Don't blend alpha channels
We want to use the source alpha to determine the color of the final pixel, but we want the final pixels to be fully opaque. Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
385d15c
Round clip bounds to whole pixels
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
Antonio Scandurra and Nathan Sobo created
d853dbb
Render borders correctly when only a subset of the border is visible
Antonio Scandurra created
073ff96
Snap quads to pixel grid to avoid antialiasing them around the edges
Antonio Scandurra created
bbf8762
:lipstick:
Antonio Scandurra created
f5e5d71
Remove conditional from winding number computation
Antonio Scandurra created
5c444b2
Call did_modify_range on only once per render
Nathan Sobo created
dbf9a5a
Restore blink_cursors
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
6ba08b5
Avoid generic parameter
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
77b6a29
Optimize grouping of path sprites by layer/atlas
Avoid filtering sprites redundantly on every layer and allocating intermediate vectors to group by atlas. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
4cdce07
Reduce selection corner radius
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
3103d28
Clear the path atlases on every frame and fix spelling
@as-cii you were right about the plural of "atlas" after all. Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
8dabb15
Decrease max windings to avoid problems with anti-aliasing
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created
02ace16
Handle selection corners that are smaller than the corner radius
Co-Authored-By: Max Brunsfeld <maxbrunsfeld@gmail.com>
Nathan Sobo and Max Brunsfeld created