Piotr Osiewicz
6e30ec1f17
Move binding function back into keybinding module
2023-11-19 11:54:46 +01:00
Piotr Osiewicz
5122913349
ui2: Do not enable 'stories' feature by default.
...
This cuts down LLVM IR size from 3 million lines to 700k in debug build.
This then leads to ~3s compile time in debug build (without incremental on ui itself), as opposed to 10.5s on main.
2023-11-19 11:44:33 +01:00
Conrad Irwin
4d83918d39
delint
2023-11-18 22:20:50 -07:00
Conrad Irwin
4441c34d35
Add some test cases
2023-11-18 22:16:28 -07:00
Nathan Sobo
42badd5d25
Clean compile with redesigned element traits
2023-11-18 21:51:47 -07:00
Conrad Irwin
6f905fce7f
Fix wrapping when parent has a max_width
...
(Also avoid re-wrapping text we already wrapped)
2023-11-18 21:31:16 -07:00
Conrad Irwin
a7c153f13e
Update Taffy to latest main
2023-11-18 21:30:33 -07:00
Conrad Irwin
8bbe12e3aa
Fix text wrapping when a child of a v_stack()
2023-11-18 20:35:22 -07:00
Nathan Sobo
346aa2f30f
WIP
2023-11-18 20:22:43 -07:00
Nathan Sobo
d2d1f1a1ff
Element refinement passing on ui2
2023-11-18 20:05:47 -07:00
Mikayla Maki
31c4f1a83c
Fix more bundling errors ( #3361 )
...
Release Notes:
- N/A
2023-11-18 10:59:35 -08:00
Mikayla
1d22898daa
please work
2023-11-18 10:46:35 -08:00
Mikayla Maki
cc0acf2554
N/t6 ( #3360 )
...
[[PR Description]]
- Fix broken pane group spacing
- Work on diagnostics styling (still wip)
Release Notes:
- N/A
2023-11-17 23:29:18 -08:00
Nathan Sobo
3905cb6c61
WIP: Lots of errors, starting on resurrecting derive Element
2023-11-18 00:27:40 -07:00
Mikayla
3692394f49
Remove unused imports
2023-11-17 23:14:14 -08:00
Nate Butler
37908d2d23
Remove flex_1 from bottom dock to fix pane group spacing
2023-11-18 02:06:51 -05:00
Nathan Sobo
43f3ddf86a
WIP: Work toward eliminating Component trait
...
This refactor enhances the overall design by promoting reusable and composable UI component structures within the Zed project codebase.
2023-11-18 00:03:23 -07:00
Nathan Sobo
c2e152f730
Move self in Element::paint
...
Remove mutable state borrows in favor of state ownership in render processes to streamline element rendering.
2023-11-17 23:32:55 -07:00
Mikayla
5d1949cfe9
Testing the auto-updater
2023-11-17 22:17:42 -08:00
Mikayla Maki
6108fe2c2e
Add nightly release channel for zed2 ( #3355 )
...
Release Notes:
- N/A
2023-11-17 22:12:18 -08:00
Nate Butler
61027a4183
Use muted color for fold indicators
2023-11-18 01:02:40 -05:00
Nate Butler
a569bec4d2
Remove default hover state for icon buttons
2023-11-18 01:02:21 -05:00
Nate Butler
d38fc52ef9
Update diagnostic status bar tool
2023-11-18 00:54:01 -05:00
Mikayla
bff3a90f8b
Fix auto update command
2023-11-17 21:52:49 -08:00
Nate Butler
7b5fcde473
Style empty diagnostics as an editor
2023-11-17 23:39:40 -05:00
Nathan Sobo
0eecba2ea4
WIP
2023-11-17 20:05:37 -07:00
Mikayla
7765d2c30d
Fix bundling again
2023-11-17 18:27:11 -08:00
Mikayla
6790eee33b
Fix bundle script
2023-11-17 17:44:41 -08:00
Mikayla
e2b3c50530
Add autoupdate2
...
co-authoredby: max@zed.dev
2023-11-17 15:48:32 -08:00
b60b4cb0a0
Make the commit sha availabe in the app, via a global
...
Co-authored-by: Mikayla <mikayla@zed.dev >
Co-authored-by: Kirill <kirill@zed.dev >
2023-11-17 14:52:43 -08:00
Max Brunsfeld
8a3b7e590f
Put release channel back to dev
2023-11-17 14:31:49 -08:00
Julia
90cbd0db5d
Merge branch 'main' into unborked-git-zed2-diagnostics-view
2023-11-17 16:43:29 -05:00
Julia
ff4e89e049
Render diagnostics header and summary
2023-11-17 16:32:35 -05:00
Julia
4fe901e416
Render a more correct diagnostic indicator status panel button
2023-11-17 16:32:35 -05:00
Julia
9a986fc6ab
Merge branch 'main' into unborked-git-zed2-diagnostics-view
2023-11-17 16:32:35 -05:00
Julia
4f411715b3
Render diagnostics view and such a bit more
2023-11-17 16:32:35 -05:00
Julia
5ded1aa46f
Get diagnostic2 tests building and running
2023-11-17 16:32:35 -05:00
Julia
393a0dd154
Merge branch 'main' into unborked-git-zed2-diagnostics-view
2023-11-17 16:32:35 -05:00
Julia and Nathan Sobo
77947a8b50
Get diagnostics view almost building in the zed2 world
...
Co-Authored-By: Nathan Sobo <nathan@zed.dev >
2023-11-17 16:32:35 -05:00
Conrad Irwin
5c15960025
Focus workspace on launch
...
Fixes action dispatch when no focus is there.
2023-11-17 14:11:39 -07:00
Kirill Bulatov
5242676f97
Allow to exclude files from worktrees ( #3356 )
...
* Part of https://github.com/zed-industries/community/issues/70
Allows to fully remove from Zed certain files or file groups: no items
will be scanned or added into worktrees, so nothing will be shown in
project tree, project search and go to file would not see those,
corresponding FS events will be ignored.
One exclusion is .git files: those are still not shown or accessible by
default, yet tracked in the worktrees.
By default, is configured to
```json
"file_scan_exclusions": [
"**/.git",
"**/.svn",
"**/.hg",
"**/CVS",
"**/.DS_Store",
"**/Thumbs.db",
"**/.classpath",
"**/.settings"
],
```
* In addition, contains code preparations for "search in included files"
feature: new SearchOptions variant, search crate and RPC adjustments
Release Notes:
- Added `file_scan_exclusions` section to project settings to completely
ignore certain files in Zed
2023-11-17 23:06:47 +02:00
Mikayla Maki
2add322be0
Adjust the type arrangement on ManagedViews ( #3354 )
...
Made the trait into a blanket-trait impl if you have it's two
constituent pieces (FocusableView and EventEmitter) to remove the
duplicated method. I also changed the struct to an enum for aesthetic
reasons (EventType::EventName feels self documenting to me) and added
some new `cx` APIs utilizing our new powers of dismissal.
Release Notes:
- N/A
2023-11-17 13:04:57 -08:00
Conrad Irwin
d3e965a4c6
shhh ( #3358 )
...
- Fix image errors
Release Notes:
- N/A
2023-11-17 14:01:44 -07:00
Kirill Bulatov
64cedc95c2
Port new workspace logic to gpui2, uncomment most of the workspace2 tests
2023-11-17 22:54:19 +02:00
Mikayla
6892be8426
WIP:
2023-11-17 12:54:16 -08:00
Nathan Sobo
fd02a3ea5e
Make static str and SharedString implement Element
2023-11-17 13:48:01 -07:00
Conrad Irwin
bafc2eb242
Fix image errors
...
* Firstly only log one error per image load, not per frame
* Secondly use an Icon not an image for rendering Icons
2023-11-17 13:47:07 -07:00
Mikayla
229d0e4479
Merge branch 'main' into managed-view-adjustment
2023-11-17 12:40:44 -08:00
Conrad Irwin
750234de9a
Collab ui2 ( #3357 )
...
* Clickable context menus & movable panels – what will they think of
next?!
Release Notes:
- N/A
2023-11-17 13:33:18 -07:00
Conrad Irwin
6c2e40cc4a
Refactorings
2023-11-17 13:23:12 -07:00