Commit Graph
7505 Commits
Author SHA1 Message Date
Julia 1d91d4bca9 Clean up some debug printing 2023-01-25 13:37:04 -05:00
Mikayla Maki da4ad4171c Merge pull request #2081 from zed-industries/fix-failing-ci
Fixes a broken conditional that is only caught on darwin systems
2023-01-25 09:45:30 -08:00
Mikayla Maki 93a46fe10a Fixes a broken conditional that is only caught on darwin systems 2023-01-25 09:33:07 -08:00
Mikayla Maki 76c41514bc Merge pull request #2078 from zed-industries/fix-cursor-style
Fix cursor style thrashing on overlapping windows
2023-01-25 09:15:55 -08:00
Mikayla Maki 918227f261 Remove debug wiring 2023-01-25 09:10:51 -08:00
Mikayla MakiandAntonio 6d6ade5caf Changed the presenter to only send 'set_cursor_style' on the topmost window
co-authored-by: Antonio <antonio@zed.dev>
2023-01-25 09:10:35 -08:00
Mikayla Maki 1e1a7c31c3 WIP 2023-01-25 09:10:35 -08:00
Mikayla Maki 28fd6c4ae4 WIP - adds platform APIs for checking the top most window 2023-01-25 09:10:35 -08:00
Joseph T. Lyons fdf46d2f08 Merge pull request #2075 from zed-industries/add-upper-character-count-limit
Add upper character count limit
2023-01-24 19:44:19 -05:00
Julia 5181d3ef73 Merge pull request #2074 from zed-industries/decode-openurl-to-pathbuf
Decode URL from `openURLs` to handle percent encoded paths
2023-01-24 19:08:17 -05:00
JuliaandNathan Sobo c27248c1d5 Decode URL from openURLs to handle percent encoded paths
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
2023-01-24 18:48:15 -05:00
Joseph Lyons a3139a9674 Add upper character count limit 2023-01-24 17:38:20 -05:00
Max Brunsfeld f19c52a29d Merge pull request #2069 from zed-industries/markdown-fenced-blocks
Support syntax highlighting in Markdown fenced code blocks
2023-01-24 14:19:36 -08:00
Max Brunsfeld 9934803399 Merge branch 'main' into markdown-fenced-blocks 2023-01-24 14:13:50 -08:00
Julia a239f4e75e Merge pull request #2072 from zed-industries/os-file-associations
Insert macOS file association metadata during bundle process
2023-01-24 17:09:41 -05:00
Max Brunsfeld 9774d81c13 Fix feedback editor compile error due to LanguageRegistry API change 2023-01-24 14:09:24 -08:00
Julia de306578f2 Insert macOS file association metadata during bundle process 2023-01-24 17:07:02 -05:00
Nathan Sobo a5aca29ce3 Merge pull request #2068 from zed-industries/doc-reparse
Document Buffer::reparse
2023-01-24 09:09:38 -07:00
Antonio Scandurra 1027bdf977 Merge branch 'main' into markdown-fenced-blocks 2023-01-24 15:43:35 +01:00
Antonio Scandurra ae95a0188e Reparse unknown injection ranges in buffer when adding a new language 2023-01-24 15:29:59 +01:00
Antonio Scandurra cdb95382ec WIP: Start on SyntaxMapSnapshot::unknown_injection_languages 2023-01-24 12:55:49 +01:00
Antonio Scandurra 309d76c932 Store syntax layers even if a language for the injection can't be found 2023-01-24 12:25:12 +01:00
Joseph T. Lyons f16b0d86b6 Merge pull request #2009 from zed-industries/in-app-feedback
In app feedback
2023-01-24 01:05:05 -05:00
Nathan Sobo 3826d9257e Document Buffer::reparse 2023-01-23 21:51:10 -07:00
Joseph Lyons b7a56c06a1 Fix CI missing license check 2023-01-23 18:34:10 -05:00
Joseph Lyons 9dc231f461 Merge branch 'main' into in-app-feedback 2023-01-23 18:24:12 -05:00
Joseph Lyons f9f8ad778d Clean out unused code 2023-01-23 18:19:10 -05:00
Mikayla Maki d8f1b8d3e2 Merge pull request #2044 from zed-industries/licensing-scripts
Licensing scripts
2023-01-23 12:58:27 -08:00
Mikayla Maki 13381a7b4d Added cargo-about auto-install and CI steps 2023-01-23 12:51:32 -08:00
Mikayla Maki fc7532d74d Added complete scripts for generating third party license files 2023-01-23 12:47:12 -08:00
Mikayla Maki a77221d10d Add action to open licenses file 2023-01-23 12:45:18 -08:00
Mikayla Maki 2025de83c2 WIP: Adding license compliance to CI 2023-01-23 12:43:42 -08:00
Mikayla Maki 8e81f95ef4 Merge pull request #2049 from zed-industries/425-create-file-for-cli
Create files passed as args to CLI
2023-01-23 10:44:55 -08:00
Antonio ScandurraandMax Brunsfeld d1bb98c27b Ensure injection layer is recomputed when language changes
Co-Authored-By: Max Brunsfeld <max@zed.dev>
2023-01-23 19:02:06 +01:00
Julia 6d844e7442 Merge pull request #2063 from zed-industries/active-tab-close-icon-pointing-hand
Avoid stomping on tab close icon's cursor style
2023-01-23 11:48:35 -05:00
Julia 5aca31f56d Avoid stomping on tab close icon's cursor style 2023-01-23 11:43:50 -05:00
Antonio Scandurra 4157175324 WIP: Add test for dynamic language injection 2023-01-23 09:45:36 +01:00
Antonio Scandurra 53db679c84 WIP: Search language injections also by file extension
There are still a few things left:

1. Add test to verify we can successfully locate a language by its extension
2. Add test to reproduce bug where changing the fenced code block language
   won't reparse the block with the new language
3. Reparse injections for which we couldn't find a language when the language
   registry changes.
4. Check why the markdown grammar considers the trailing triple backtick as
   `(code_block_content)`, as opposed to being part of the outer markdown.
2023-01-23 08:56:41 +01:00
Antonio Scandurra e8eb69d10e Avoid allocating a string to compare language names 2023-01-23 08:56:41 +01:00
Antonio Scandurra 366000e263 Rename LanguageRegistry::get_language to language_for_name 2023-01-23 08:56:41 +01:00
Antonio Scandurra c51c76e363 Add syntax injections for Markdown fenced code blocks 2023-01-23 08:56:41 +01:00
Joseph Lyons 79a7819293 Fix new errors after merge 2023-01-23 01:31:02 -05:00
Joseph Lyons 3f77f72d24 Merge branch 'main' into in-app-feedback 2023-01-23 01:20:10 -05:00
Joseph Lyons a9db7b790f Complete first iteration of in-app feedback 2023-01-23 00:59:46 -05:00
Mikayla Maki 4582e071e5 Merge pull request #2060 from zed-industries/fix-ci-fail
Fix mismatched return types on CI
2023-01-20 18:28:59 -08:00
Mikayla Maki 1d01ce3fe6 switch return type of accepts_first_mouse 2023-01-20 18:19:24 -08:00
Max Brunsfeld 63500f7c9c Merge pull request #2059 from zed-industries/no-indent-adjustment-on-error
Avoid adjusting indentation of lines inside of newly-created errors
2023-01-20 17:13:30 -08:00
Max Brunsfeld 71b684108d Add test for avoiding indent adjustment inside newly-created errors 2023-01-20 17:02:38 -08:00
Mikayla Maki 2c33f03a58 Removed dbg 2023-01-20 16:47:23 -08:00
Mikayla Maki 471591b21b Merge pull request #2054 from zed-industries/notification-mouse-events
Notification mouse events
2023-01-20 16:41:27 -08:00