Commit graph

  • b1536cca58 Add README tip Nathan Sobo 2021-04-07 21:56:45 -06:00
  • 9f6f27f305 Order debug JSON and allow elements to be named; copy to clipboard Nathan Sobo 2021-04-07 21:54:05 -06:00
  • cbb23a93a6 Log prettified element debug JSON to on cmd-alt-i Nathan Sobo 2021-04-07 20:51:14 -06:00
  • 0664321125 Add ability to debug element trees as JSON Nathan Sobo 2021-04-06 23:50:13 -06:00
  • 0a12774680 Add a stub of a native 'File' menu Max Brunsfeld 2021-04-07 17:49:44 -07:00
  • 7e5186e4a0 Start work on a native application menu Max Brunsfeld 2021-04-07 17:48:22 -07:00
  • 57a3207897 Merge branch 'modified-status-in-tabs' Max Brunsfeld 2021-04-07 15:43:13 -07:00
  • 1c23eeccc3
    Add CI status badge to the README Max Brunsfeld 2021-04-07 15:40:10 -07:00
  • 187eb95b13 Throw a little between filename and modified icon Max Brunsfeld 2021-04-07 15:39:09 -07:00
  • ae57178f3e Restructure event-handling methods in workspace ItemView Max Brunsfeld 2021-04-07 15:04:08 -07:00
  • a95d33f662 Add assertions about Dirtied events in test Max Brunsfeld 2021-04-07 14:52:22 -07:00
  • 347d13bac7
    Merge pull request #7 from zed-industries/roadmap Nathan Sobo 2021-04-06 23:59:50 -06:00
  • aaa007a537
    Add Max's suggestion Nathan Sobo 2021-04-06 23:59:34 -06:00
  • 05125f76bd Fix tests Nathan Sobo 2021-04-06 20:59:55 -06:00
  • 3f9d224e0f persisted_version -> saved_version Nathan Sobo 2021-04-06 20:59:44 -06:00
  • 13ee86e334 Remove unused method Nathan Sobo 2021-04-06 20:47:09 -06:00
  • 2619bc4602 Update modified status by emitting event whenever buffer is dirtied or saved Nathan Sobo 2021-04-06 20:46:35 -06:00
  • d724387158 wip Max Brunsfeld 2021-04-06 18:25:50 -07:00
  • 685665f3c0 Implement Buffer::is_modified by storing persisted version Max Brunsfeld 2021-04-06 16:19:17 -07:00
  • bd37b11306 Update tab's modified icon via a saved event emitted from buffer Max Brunsfeld 2021-04-06 15:47:05 -07:00
  • dabd6abe37 Start work on displaying modified status in tabs Max Brunsfeld 2021-04-06 14:37:21 -07:00
  • 0f157d5083 Silence warning in text example Max Brunsfeld 2021-04-06 14:36:16 -07:00
  • c632aab382 Vertically center linebox child element Max Brunsfeld 2021-04-06 12:56:31 -07:00
  • 2a9e71d725 Vertically center glyphs in Line::paint based on ascender/descender for line Nathan Sobo 2021-04-06 09:14:55 -06:00
  • fc4135d55b Render example text in example via Line::paint Nathan Sobo 2021-04-06 06:30:05 -06:00
  • 765c3f9c18 Open platform window before first invalidation Nathan Sobo 2021-04-06 06:29:42 -06:00
  • a5b39220a4 WIP: Add example app to test text rendering Nathan Sobo 2021-04-03 01:19:20 -06:00
  • 5f1f49b011 Reduce path atlas size by using a single channel for the texture Antonio Scandurra 2021-04-06 13:53:20 +02:00
  • e0c43dac25 Implement SVG rendering Antonio Scandurra 2021-04-06 13:44:38 +02:00
  • 2970e934da Use handles to obtain entities in future callbacks Nathan Sobo 2021-04-05 20:04:04 -06:00
  • fda1394057 Rename Task -> EntityTask (a BackgroundTask is just a Task) Max Brunsfeld 2021-04-05 17:03:42 -07:00
  • 46f8665e41 Add save command Max Brunsfeld 2021-04-05 16:52:33 -07:00
  • c39c7c3eff Make background executor available on AppContext Max Brunsfeld 2021-04-05 16:45:55 -07:00
  • fabc19402a Resurrect commented-out worktree test Max Brunsfeld 2021-04-05 09:12:19 -07:00
  • cded00cf29 Make backspace work correctly for empty selections Max Brunsfeld 2021-04-02 16:20:40 -07:00
  • a5252937a9 Add fallback UI fonts that are installed by default on macOS Max Brunsfeld 2021-04-02 15:48:37 -07:00
  • 6a979ff729 Ensure that the assets dir exists with a .gitkeep file Max Brunsfeld 2021-04-02 15:27:52 -07:00
  • dba3c82530 Remove stray print statements Max Brunsfeld 2021-04-02 15:00:20 -07:00
  • 48d0402aa0 Add a github actions config file Max Brunsfeld 2021-04-02 14:43:30 -07:00
  • 32500e21f6 Silence sum_tree warnings Max Brunsfeld 2021-04-02 14:39:56 -07:00
  • 575f5910fa Use a real FontSystem in test platform Max Brunsfeld 2021-04-02 14:35:44 -07:00
  • dd31b870c3 Remove small pieces of unused code Max Brunsfeld 2021-04-02 14:26:53 -07:00
  • ce6ca13b13 Fix buffer folding test Max Brunsfeld 2021-04-02 14:04:35 -07:00
  • c43d7cfb39 Use a condvar instead of a channel to implement finish_pending_tasks Nathan Sobo 2021-04-02 13:53:06 -06:00
  • 526a55d0d7 Complete finish_pending_tasks future when tasks are cancelled Nathan Sobo 2021-04-02 12:42:23 -06:00
  • fd1f75333f Initialize logger in gpui tests Nathan Sobo 2021-04-02 12:42:01 -06:00
  • 2d79193fb6 Remove future/stream handlers when task is dropped Nathan Sobo 2021-04-02 12:03:35 -06:00
  • 914cf37f37 Remove executor::ForegroundTask wrapper Nathan Sobo 2021-04-02 11:02:09 -06:00
  • d68a747754 Fix hanging finish_pending_tasks test Nathan Sobo 2021-04-02 10:48:03 -06:00
  • 72ced45df0 Remove unused edge_to_point calculation in quad shader Antonio Scandurra 2021-04-02 13:53:11 +02:00
  • d10fc6ce3f Fix crash when selections exceed the container's bounds Antonio Scandurra 2021-04-02 13:49:44 +02:00
  • ae447ca1d9 Layout lines and line numbers sequentially Antonio Scandurra 2021-04-02 10:20:29 +02:00
  • 995acefce5 Inset container contents to account for container border Nathan Sobo 2021-03-31 22:58:12 -06:00
  • e487aa5cbd Don't render glyphs located outside of BufferElement's bounds Antonio Scandurra 2021-04-01 11:19:50 +02:00
  • 0b44cb04ee Fix links Nathan Sobo 2021-03-31 22:21:42 -06:00
  • 3831700ff4 Link to tracking issues Nathan Sobo 2021-03-31 21:59:55 -06:00
  • f3fd670104 Add a README with a high-level roadmap Nathan Sobo 2021-03-31 21:53:33 -06:00
  • c525d7c712 💄 naming Nathan Sobo 2021-03-31 20:43:15 -06:00
  • 3bd6b92244 Introduce a GPUI test platform, get most tests running Max Brunsfeld 2021-03-31 16:59:03 -07:00
  • 2efc90adc6 Ensure that path windings are rendered to the right atlas texture Max Brunsfeld 2021-03-31 14:51:51 -07:00
  • a9c428ad05 Remove Overdraw Antonio Scandurra 2021-03-31 17:58:43 +02:00
  • d5a9bab4a0 Fix tabs layout Antonio Scandurra 2021-03-31 17:57:00 +02:00
  • c55d99022e Handle non-precise scroll events in BufferElement Antonio Scandurra 2021-03-31 16:25:21 +02:00
  • 97e0db205d Don't blend alpha channels Antonio Scandurra 2021-03-31 16:24:28 +02:00
  • 385d15cd0c Round clip bounds to whole pixels Antonio Scandurra 2021-03-31 16:23:37 +02:00
  • d853dbb048 Render borders correctly when only a subset of the border is visible Antonio Scandurra 2021-03-31 13:30:07 +02:00
  • 073ff96a9f Snap quads to pixel grid to avoid antialiasing them around the edges Antonio Scandurra 2021-03-31 13:27:51 +02:00
  • bbf8762447 💄 Antonio Scandurra 2021-03-31 10:32:53 +02:00
  • f5e5d7180f Remove conditional from winding number computation Antonio Scandurra 2021-03-31 10:30:16 +02:00
  • 5c444b2bfa Call did_modify_range on only once per render Nathan Sobo 2021-03-30 23:07:14 -06:00
  • dbf9a5a466 Restore blink_cursors Nathan Sobo 2021-03-30 18:12:45 -06:00
  • 6ba08b510f Avoid generic parameter Nathan Sobo 2021-03-30 18:05:13 -06:00
  • 77b6a29f5f Optimize grouping of path sprites by layer/atlas Nathan Sobo 2021-03-30 18:03:00 -06:00
  • 4cdce070c4 Reduce selection corner radius Nathan Sobo 2021-03-30 16:57:21 -06:00
  • 3103d28285 Clear the path atlases on every frame and fix spelling Nathan Sobo 2021-03-30 16:56:11 -06:00
  • 8dabb15248 Decrease max windings to avoid problems with anti-aliasing Nathan Sobo 2021-03-30 16:34:01 -06:00
  • 02ace16176 Handle selection corners that are smaller than the corner radius Nathan Sobo 2021-03-30 16:21:24 -06:00
  • c4f23e411a Fix double-borrow when synthesizing drag events Nathan Sobo 2021-03-30 14:25:47 -06:00
  • 5c4b08f05f Use correct texture size when drawing paths into atlas Nathan Sobo 2021-03-30 14:03:29 -06:00
  • 4773f5034b Bump max path windings to 128 Nathan Sobo 2021-03-30 14:02:59 -06:00
  • 011d4d8437 wip Max Brunsfeld 2021-03-30 12:36:18 -07:00
  • f8cc3996b2 Paint selections using new path API Max Brunsfeld 2021-03-30 11:52:58 -07:00
  • da1960c3e8 Snap path sprites to pixel grid Antonio Scandurra 2021-03-30 19:37:49 +02:00
  • 1903f63c45 WIP: Add anti-aliasing to paths and render them after spriting them Antonio Scandurra 2021-03-30 16:37:12 +02:00
  • 98845663a9 Render stencils to atlas Antonio Scandurra 2021-03-30 11:28:35 +02:00
  • b538f5cfb7 WIP Nathan Sobo 2021-03-29 22:56:47 -06:00
  • 64af4c694a WIP: Render paths into stencil buffers Nathan Sobo 2021-03-29 22:46:26 -06:00
  • 0b12779e62 WIP: Render path winding numbers to stencil buffer Max Brunsfeld 2021-03-29 16:28:35 -07:00
  • a8495d09f8 Whitelist shader bindings using a regex, not individual types Max Brunsfeld 2021-03-29 12:39:21 -07:00
  • 6222150688 WIP: Start on rendering paths Antonio Scandurra 2021-03-29 19:51:25 +02:00
  • d3d251a9ce Introduce a Path struct Antonio Scandurra 2021-03-29 19:50:38 +02:00
  • 11f469b8e2 Construct Metal command encoder inside of Renderer Antonio Scandurra 2021-03-29 19:48:14 +02:00
  • a88b63d83c Ensure FoldMap always contains at least one transform Antonio Scandurra 2021-03-29 09:46:04 +02:00
  • a949959a42
    Merge pull request #1 from zed-industries/catalina-mps-compatibility Antonio Scandurra 2021-03-29 09:16:15 +02:00
  • 8a119a51bf Avoid nested structs in vertex function return types Max Brunsfeld 2021-03-28 19:04:36 -07:00
  • a2790481a6 Pass the right bounds when painting gutter Antonio Scandurra 2021-03-26 17:21:44 +01:00
  • 2c24ec2e46 Update old usages of ctx.spawn to detach the associated task Antonio Scandurra 2021-03-26 14:15:01 +01:00
  • 13c1f5f60e Pass workspace path to zed when debugging it in VS Code Antonio Scandurra 2021-03-26 14:14:23 +01:00
  • 466016a374 Snap sprites to pixel grid in Renderer Antonio Scandurra 2021-03-26 11:07:16 +01:00
  • 61d4da9934 Introduce layer clipping Antonio Scandurra 2021-03-26 10:28:05 +01:00