Antonio Scandurra
7d91ae8d03
Introduce a new detect_nondeterminism = true attribute to gpui::test
2022-11-28 19:01:28 +01:00
Antonio Scandurra
59fe86d036
Remove non-determinism caused by random entropy when reconnecting
2022-11-28 18:56:11 +01:00
Antonio Scandurra
0791ac42e9
💄
2022-11-28 17:44:18 +01:00
Antonio Scandurra
ccc0539843
Return error when waiting on a worktree snapshot after disconnecting
2022-11-28 17:43:40 +01:00
Antonio Scandurra
68a40f777c
Introduce per-room lock acquired before committing a transaction
2022-11-28 17:00:47 +01:00
Antonio Scandurra
655567c0ab
Error if project is disconnected after getting code actions response
2022-11-28 15:05:34 +01:00
Antonio Scandurra
8a734a408c
After completing LSP request, return an error if guest is disconnected
2022-11-28 14:39:27 +01:00
Antonio Scandurra
810bb99fa1
Fix integration test incorrectly assuming a certain ordering
2022-11-28 13:57:15 +01:00
Antonio Scandurra
7b4e4474ee
Check the correct serialization failure code when retrying transaction
2022-11-28 13:56:03 +01:00
Max Brunsfeld
e16439ad2b
Merge pull request #1912 from zed-industries/matching-brackets-must-contain-range
...
Fix enclosing-bracket bug that appeared in JS for loops
2022-11-23 13:44:48 -08:00
Max Brunsfeld
2c14c1a0ce
Fix enclosing-bracket bug that appeared in JS for loops
...
Previously, we were relying on the tree-sitter query's range restriction to
avoid returning brackets that did not contain the given range. But the
query's range restriction only guarantees that we don't descend into parent
nodes unless they intersect the range.
2022-11-23 13:37:22 -08:00
Julia
d854ed5246
Merge pull request #1910 from zed-industries/lsp-coordinate-clamp
...
Don't trust LSP coordinates to be within document bounds
2022-11-23 14:07:37 -05:00
Julia
d10f0cc977
Move Unclipped into separate file
2022-11-23 14:02:11 -05:00
Julia and Max Brunsfeld
9206dd5461
Remove spurious lifetimes
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2022-11-23 13:52:39 -05:00
Julia and Max Brunsfeld
399af478fc
Consistency in prefix/suffix/signature of UTF16 point to point conversion
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2022-11-23 13:52:18 -05:00
Julia
10927128bd
Bump protocol version back down as proto changes are non-breaking
2022-11-23 13:40:49 -05:00
Julia and Max Brunsfeld
52be58fcb9
Collapse proto Point into the one kind of use case, utf-16 coords
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2022-11-23 13:28:44 -05:00
Julia and Max Brunsfeld
dde8f8e781
Clip diagnostic range before and during empty range expansion
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2022-11-23 13:21:05 -05:00
Max Brunsfeld
a26cdaed4e
v0.67.x dev
2022-11-23 09:56:06 -08:00
Julia
06895033f3
Fixup compile errors
2022-11-22 02:49:47 -05:00
Julia
475e37d4cf
Wrap a bunch of traits for Unclipped<T>
2022-11-21 15:58:44 -05:00
Julia and Max Brunsfeld
0b63261fb8
Start adding concept of Unclipped text coordinates
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2022-11-21 15:48:25 -05:00
Max Brunsfeld
fcc8d52297
Merge pull request #1911 from zed-industries/single-file-worktree-event-extension
...
Fix file extension retrieval for single-file worktrees
2022-11-21 12:41:35 -08:00
Max Brunsfeld
4ea6ac1c42
Fix file extension retrieval for single-file worktrees
...
Previously, we used the file's 'path' method, which only returns the relative
path from the worktree root.
2022-11-21 12:34:36 -08:00
Julia
c4eca8274a
Rename clamped -> clipped
2022-11-21 15:23:00 -05:00
Julia and Max Brunsfeld
3d1814a8c8
Simply logic of this method
...
Co-Authored-By: Max Brunsfeld <max@zed.dev >
2022-11-21 14:25:01 -05:00
Julia
1ca040ee67
Clamp UTF-16 to point conversions
2022-11-21 14:25:01 -05:00
Julia
1837b188d2
Clamp for all UTF-16 to offset conversions which used to use ToOffset
2022-11-21 14:25:01 -05:00
Julia
1707d76fbb
Clamp UTF-16 coordinate while performing LSP edits rather than panicing
2022-11-21 11:48:13 -05:00
Kay Simmons
c1fb64b7cb
change bump-version to install jq if its not already installed
2022-11-18 13:42:46 -08:00
Kay Simmons
e9e85fccec
Merge pull request #1814 from zed-industries/golden-ratio
...
Active Pane Magnification
2022-11-18 13:14:03 -08:00
Kay Simmons
f5c39dd6bf
Merge pull request #1906 from zed-industries/mouse-down-capture-on-click-fix
...
Fix mouse down falling through popovers
2022-11-18 13:10:50 -08:00
Kay Simmons
fe47176544
address issue where mouse down events weren't getting captured after the multiple handlers change
2022-11-18 13:04:27 -08:00
Antonio Scandurra
7b26fceb7b
Remove version from Room
...
We won't need it once we add the per-room lock.
2022-11-18 20:18:48 +01:00
Antonio Scandurra
fde148d365
Don't take an Arc<Server> in message handlers
2022-11-18 11:45:42 +01:00
Max Brunsfeld
f7a3028f53
Merge pull request #1903 from zed-industries/override-pyright-completion-sorting
...
Add LspAdapter hook for processing completions, fix completion sorting from Pyright
2022-11-17 15:30:07 -08:00
Max Brunsfeld
d3a588533f
Add LspAdapter hook for processing completions, fix completion sorting from Pyright
2022-11-17 15:26:46 -08:00
Julia
0ade9437a8
Merge pull request #1902 from zed-industries/event-handlers-are-multitude
...
Allow having multiple mouse event handlers of the same kind
2022-11-17 17:19:32 -05:00
Julia and Kay Simmons
c15de20671
Allow having multiple mouse event handlers of the same kind
...
Co-Authored-By: Kay Simmons <kay@zed.dev >
2022-11-17 17:01:34 -05:00
Max Brunsfeld
8b38bcb8b6
collab 0.2.4
2022-11-17 11:44:29 -08:00
Mikayla Maki
bcf7c3c7c5
Merge pull request #1900 from zed-industries/fix-terminal-performance
...
Check for wakeups correctly
2022-11-17 11:17:13 -08:00
Mikayla Maki
9a64e23366
Check for wakeups correctly
2022-11-17 11:14:31 -08:00
Antonio Scandurra
b3e7eea7e5
Rename Store to ConnectionPool
2022-11-17 19:03:59 +01:00
Antonio Scandurra
0bb9fe84c6
Remove obsolete code from Store
2022-11-17 18:46:39 +01:00
Antonio Scandurra and Nathan Sobo
b1e7672b2b
WIP: Introduce a db field to Session
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-11-17 17:30:26 +01:00
Antonio Scandurra and Nathan Sobo
f0dd39a3d2
Introduce a new Session struct to server message handlers
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2022-11-17 17:11:06 +01:00
Antonio Scandurra
1e3cb72b20
Revert "Don't replace newer diagnostics with older ones"
...
This reverts commit b55a13831a .
2022-11-17 16:57:40 +01:00
Antonio Scandurra
915b7280d4
Revert "Wait for previous UpdateFollowers message ack before sending new ones"
...
This reverts commit ceb40613bc .
2022-11-17 16:57:32 +01:00
Antonio Scandurra
9e4ce5afa8
Use int8 for scan_id and inode in Postgres
2022-11-17 16:56:43 +01:00
Antonio Scandurra
6cf8013f9e
🎨
2022-11-17 15:35:18 +01:00