Commit Graph
285 Commits
Author SHA1 Message Date
Valentine Briese 88e370b581 Correct typo in bundle script comment (#7682)
Release Notes:

- N/A
2024-02-12 10:30:38 +02:00
Kirill BulatovandMikayla Maki f51391eda3 Actually fail on clippy failures (#7619)
Before the change to `script/clippy`, bash ignored first `clippy`
invocation failure and CI moved on with Linux errors and warnings
emitted.


Release Notes:

- N/A

---------

Co-authored-by: Mikayla Maki <mikayla@zed.dev>
2024-02-09 10:13:00 -08:00
Conrad Irwin ecf2fde81c Revert "Debug build (#7176)" (#7577)
This reverts commit 768a1c72eb.

Release Notes:

- N/A
2024-02-08 20:04:55 -07:00
Mikayla Maki 3789063794 Add Linux build CI (#7581)
Release Notes:

- N/A
2024-02-08 12:56:29 -08:00
Mikayla fcbbb2ba1c Merge branch 'main' into kvark-linux 2024-02-07 11:52:44 -08:00
Amin Yahyaabadi 89f9c30847 Fixes for file-watching, user assets, and system dependencies (#2)
* fix: avoid panics in case of non-existing path for watching

* fix: copy the themes and plugins

* Revert "add a few more libraries to the linux script"

This reverts commit a1971ee7d1.

* fix: add vulkan validation layers to the system deps

* fix: fix the themes paths
2024-02-06 22:54:40 -08:00
Mikayla Maki a1971ee7d1 add a few more libraries to the linux script 2024-02-05 21:54:03 -08:00
Amin Yahyaabadi df03d5a804 fix: create the settings and keymaps to unblock file watching 2024-02-04 23:56:45 -08:00
Amin Yahyaabadi c75be5facb build: add Blade font-config sys deps on Linux 2024-02-04 23:56:45 -08:00
Conrad Irwin a13383693f Don't log errors on main (#7289)
Release Notes:

- N/A
2024-02-02 19:24:49 -07:00
Conrad Irwin 93be9ceb8c just kidding (#7241)
Release Notes:

- N/A
2024-02-01 11:57:09 -07:00
Conrad Irwin ae7b2aabb9 Deploy collab like nightly (#7174)
After this change we'll be able to push a tag to github to deploy to
collab.

The advantages of this are that there's no longer a separate step to
first
build the image, and then deploy it.

In the future I'd like to make this happen more automatically (maybe as
part of
bump nightly).

Release Notes:

- N/A
2024-02-01 11:54:49 -07:00
Conrad Irwin 768a1c72eb Debug build (#7176)
Release Notes:

- N/A
2024-01-31 19:22:58 -07:00
Conrad Irwin 2325f70776 No more nightly/preview collab anymore (#7112)
Release Notes:

- N/A
2024-01-30 20:11:06 -07:00
Conrad Irwin f513a1b4ba Migrate automatically on service start (#7103)
This avoids a forgettable manual step in deploying collab

Release Notes:

- N/A
2024-01-30 13:19:35 -07:00
Amin Yahyaabadi 173fd24b8e Build media and live-kit in test-mode on non-MacOS (#6859)
Build media and live-kit in test-mode on non-MacOS (Related to
https://github.com/zed-industries/zed/issues/5391
https://github.com/zed-industries/zed/issues/5395
https://github.com/zed-industries/zed/issues/5394)

This makes it possible to build the media and live-kit crates on
non-MacOS

Release Notes:

- N/A
2024-01-29 18:04:15 -08:00
Marshall Bowers 5fcf91cc27 Setup Danger (#6994)
This PR sets up [Danger](https://danger.systems/js/) to help us codify
some of our PR rules.

As an initial rule, Danger will check to ensure that every PR has a
`Release Notes` section:

<img width="943" alt="Screenshot 2024-01-29 at 11 50 12 AM"
src="https://github.com/zed-industries/zed/assets/1486634/4d56e759-e72f-4bc0-8e74-42c55e2e6888">

Release Notes:

- N/A
2024-01-29 11:58:24 -05:00
Joseph T. Lyons 421f938a97 Reinstate requirements.txt 2024-01-28 18:30:47 -05:00
Joseph T. Lyons f021953479 Add a weekly report 2024-01-28 18:22:39 -05:00
Joseph T. Lyons 04593f9041 Update top ranking issues script to take in a day interval 2024-01-28 18:09:11 -05:00
Marshall Bowers 969eebfc70 Remove obviated comment in zed-licenses.toml (#6946)
This PR removes a comment from `zed-licenses.toml`, as it no longer
applies now that we don't have `buildLicenses.ts` anymore.

Release Notes:

- N/A
2024-01-28 14:07:53 -05:00
Marshall Bowers baa2112621 Load JSON themes (#6893)
This PR changes the theme loading to use the JSON themes bundled with
the binary rather then the Rust theme definitions.

### Performance

I profiled this using `cargo run --release` to see what the speed
differences would be now that we're deserializing JSON:

**Before:** `ThemeRegistry::load_user_themes` took 16.656666ms
**After:** `ThemeRegistry::load_user_themes` took 18.784875ms

It's slightly slower, but not by much. There is probably some work we
could do here to bring down the theme loading time in general.

Release Notes:

- N/A
2024-01-27 16:03:04 -05:00
Joseph T. Lyons a9dfaa9501 Fix typos 2024-01-24 14:58:47 -05:00
Joseph T. Lyons d7907e5052 Update links to script 2024-01-24 14:48:44 -05:00
Joseph T. Lyons 17a9325b88 Add top-ranking issues script 2024-01-24 14:40:55 -05:00
Conrad Irwin 528a0f6280 (probably) install rosetta if it's not there 2024-01-24 11:35:59 -07:00
Max Brunsfeld 62bbfc0acd Don't error when checking target dir size if there is no target dir 2024-01-23 17:17:47 -08:00
Conrad Irwin fbf9ac622f less secret (#4221)
- Remove ZED_SECRET_CLIENT_TOKEN
- Remove ZED_CLIENT_SECRET_TOKEN

Neither of these were ever actually a secret.

Release Notes:

- N/A
2024-01-23 10:43:15 -07:00
Conrad Irwin 1f72285fad Remove ZED_CLIENT_SECRET_TOKEN 2024-01-23 10:34:43 -07:00
Thorsten Ball 54308133d0 Print error message and skip line 2024-01-23 16:52:08 +01:00
Thorsten BallandAntonio 605a7322c6 Make scripts/histogram ignore lines without frame duration
Previously the script would choke on lines generated, for example, by
`cargo run`.

This just skips lines that don't contain `frame duration:`.

Co-authored-by: Antonio <antonio@zed.dev>
2024-01-23 13:52:55 +01:00
Antonio Scandurra 142075e967 Introduce a ZED_MEASUREMENTS env var and use it to measure frame time 2024-01-22 11:39:20 +01:00
Antonio Scandurra 37fb1ef018 Introduce script/histogram to produce before/after comparisons 2024-01-22 11:22:22 +01:00
Conrad Irwin 9be1cdaf51 Watch deploys a little closer 2024-01-19 10:10:34 -07:00
Max Brunsfeld b2146a8e9e Restore the colored background for collaborators that you are following (#4137) 2024-01-18 14:32:54 -08:00
Conrad Irwin 8ea05dc816 Send crash reports to Slack automatically (#4111)
This uploads apples crash reports to our servers when telemetry is
enabled.

Rather than jumping via the website, it uploads to collab directly. (I'd
like
to update the panic handler to do this too to make it possible to work
on that end-to-end without zed.dev running).

Release Notes:

- Added reporting of crashes when telemetry is enabled
2024-01-18 15:30:39 -07:00
Max Brunsfeld eaa85285b7 Account for titlebar when tiling windows in zed-local 2024-01-18 13:42:11 -08:00
Max Brunsfeld 5ecc2313b3 Make zed-local support opening 5 or 6 zed instances 2024-01-18 12:18:12 -08:00
Conrad Irwin 86a5002ec3 Simplify service discovery in development 2024-01-17 23:06:03 -07:00
Max Brunsfeld ff9b01f74a Exclude squawk rule forbidding regular-sized integers 2024-01-17 18:06:16 -08:00
Max Brunsfeld cdfb3f57df Update local development workflow to not involve zed.dev (#4103)
When testing Zed locally, it's rarely necessary to log in the real with,
via Zed.dev and GitHub. We usually use `zed-local`. Since zed.dev is not
going to be open source (at least right away), this PR removes it from
our local development workflow.

* Remove zed.dev from the Procfile
* Change the `seed` script to not create an admin user for your
signed-in github user
* Instead have both `zed-local` and the `seed` script read from an
`.admins.json` file, which the user can create in order to customize who
they sign in as when running `zed-local`.
* Update all of the docs for building and developing zed.
2024-01-17 15:07:20 -08:00
Mikayla Maki a705b1c123 Add migration information to release docs and fix scripts (#4026)
Release Notes:

- N/A
2024-01-17 14:10:27 -08:00
Max Brunsfeld b82cde2e83 Rework db-seeding, so that it doesn't depend on a github auth token
Instead, admins are specified using a JSON file, 'admins.json'. This file is
gitignored. If it is not present, there is a default list of admins in
'admins.default.json'.
2024-01-17 13:28:58 -08:00
Kirill Bulatov 57d00e1480 Do not run squawk tests outside of PR builds 2024-01-15 16:20:53 +02:00
Conrad Irwin bbdf778e57 One of these days... 2024-01-11 21:22:00 -07:00
Max Brunsfeld c03fbf38f2 Don't pass zed-local flags through to zed 2024-01-11 16:51:40 -08:00
Mikayla cf672f9736 Add migration information to release docs and fix scripts 2024-01-11 11:24:17 -08:00
Max Brunsfeld e64b970ef9 Add --top flag to zed-local script, for making windows take up half the screen 2024-01-10 16:09:40 -08:00
Mikayla 3149f61fee Remove the last of the major todos 2024-01-09 16:14:54 -08:00
Conrad Irwin 90b8f8ac56 Push branch before tag 2024-01-08 15:49:03 -07:00