Commit Graph

2409 Commits

Author SHA1 Message Date
Igor Matuszewski 04afefab3f
Merge pull request #1784 from ehuss/deprecate-readme 2022-08-29 23:32:29 +02:00
Eric Huss 1b853dcc67 Add notice that RLS is no longer supported 2022-08-29 13:02:49 -07:00
Mark Rousskov 4d8b0a1998
Merge pull request #1782 from ehuss/update-cargo
Update cargo
2022-08-02 22:34:34 -04:00
Eric Huss 3b16064b8a Update cargo 2022-08-02 19:03:43 -07:00
Igor Matuszewski fcf1f94c9a Adapt to the rust-lang/rust changes 2022-07-14 17:19:11 +02:00
Igor Matuszewski ac4648b651 Adapt to rust-lang/rust#0ed9c64c3e 2022-07-14 16:58:03 +02:00
Mark Rousskov ece09b88c0 Merge commit '27f4044df03d15c7c38a483c3e4635cf4f51807d'
This merges this commit into RLS master; it was pulled into rust-lang/rust by
mistake in https://github.com/rust-lang/rust/pull/97853 before it was merged
into rust-lang/rls master branch. The commit in its raw form is persisted on
rust-lang/rls by way of a new branch
(retain-for-rustc-3d829a0922d865d7a77fb284424fd8ba6afaea3b), and after being
merged into master we will bump rust-lang/rust to the latest version of
rust-lang/rls master.
2022-06-25 09:54:00 -04:00
Igor Matuszewski a00923a5a3 Fix a broken test introduced with the deprecation warning 2022-06-20 12:30:46 +02:00
Igor Matuszewski 6ae84216c3
Merge pull request #1600 from bennetthardwick/fix/load-lines
Fix rls-vfs line loading inclusivity
2022-06-20 12:25:14 +02:00
Igor Matuszewski df11a04052
Merge pull request #1776 from Veykril/deprecation
Add deprecation notification
2022-06-20 12:23:41 +02:00
Igor Matuszewski b36840ec92
Merge pull request #1740 from arthurlm/extended-test-match
Update regex use to match test for external librairies
2022-06-20 12:23:17 +02:00
Amin Yahyaabadi da2aec031f fix: update heck
Update Cargo.lock
2022-06-20 12:17:06 +02:00
Amin Yahyaabadi b9e57e8a0e fix: update the rust toolchain and rust-fmt 2022-06-20 12:17:06 +02:00
Igor Matuszewski 894f2e8ab8
Merge pull request #1774 from koic/fix_an_incorrect_url
Fix an incorrect URL
2022-06-20 12:06:51 +02:00
Takayuki Maeda 27f4044df0 fix tests including dead_code warnings 2022-06-19 20:59:21 +09:00
Mark Rousskov 293dfd1538
Merge pull request #1779 from notriddle/master
Remove unused clap dependency
2022-06-18 11:16:51 -04:00
Michael Howell 99a26d7625 Remove unused `clap` dependency 2022-06-18 08:09:20 -07:00
Lukas Wirth 0d50c7bdf2 Add deprecation notification 2022-05-25 12:55:35 +02:00
Mark Rousskov 7241c6cc45 Remove profile specification in Cargo
Avoids lints by Cargo since this is ignored unless at the root of a workspace.
2022-05-17 11:23:10 -04:00
Mark Rousskov 294e0696b8 Remove workspace references from racer packages 2022-05-17 11:20:58 -04:00
Mark Rousskov 740e0ef8f0 Drop racer as sub-workspace
This is incompatible with rust-lang/rust
2022-05-17 11:14:18 -04:00
Mark Rousskov 1acff66049
Merge pull request #1775 from Mark-Simulacrum/fix-rls
Fix breakage due to upstream rustc changes
2022-05-17 10:58:49 -04:00
Mark Rousskov aaa6866e21 try bumping to more recent nightly 2022-05-17 09:07:43 -04:00
Mark Rousskov df57b34eaf Inline racer's source code into RLS
This deletes a bunch of the irrelevant test infrastructure to minimize the added
size, and is overall a relatively small addition. It'll make it much easier for
us to bump RLS going forward in rust-lang/rust as we fully own the bits that
break due to rustc changes now.

In practice neither racer nor RLS are really under active maintenance so this
doesn't come at a significant ongoing cost.
2022-05-17 09:06:58 -04:00
Mark Rousskov 64b8292e61 Fix RLS-internal breakage
A separate commit will be necessary to bump racer, which is also currently
broken, but this at least gets us part of the way there.
2022-05-16 20:30:13 -04:00
Koichi ITO 677c075827 Fix an incorrect URL
Follow up https://github.com/rust-lang/rust/pull/74862.

https://github.com/rust-lang/rust/blob/master/src/librustc_errors/json.rs returns page not found.
This PR fixes the incorrect URL.
2022-05-08 01:38:50 +09:00
Igor Matuszewski d8478d82f5 Bump racer 2022-04-08 18:49:00 +02:00
Pietro Albini e6f71c9cad
Merge pull request #1772 from rust-lang/pa-bump-racer
Rump racer to fix parallel compiler failure
2022-04-04 22:47:53 +02:00
Pietro Albini 231aa21e65
bump racer to fix parallel compiler failure 2022-04-04 19:06:39 +02:00
Pietro Albini 74ccc9e3e1
Merge pull request #1771 from pietroalbini/pa-fix-cargo
Fix RLS not building with the latest cargo
2022-04-04 16:02:58 +02:00
Pietro Albini 28e4a7e5ca
fix rls not building with the latest cargo 2022-04-04 15:38:46 +02:00
Igor Matuszewski f3c253e331
Merge pull request #1767 from weihanglo/cargo-d6cdde584
Bump cargo version
2022-03-07 13:07:03 +01:00
Weihang Lo 09049fd60c
chore: bump cargo to d6cdde584a1f15ea086bae922e20fd27f7165431
In rust-lang/cargo@7248f4b70d,
`cargo::core::resolver::resolve::Resolve::extern_crate_name` was renamed
to `extern_crate_name_and_dep_name` and started to return both extern
crate and dep name. RLS only needs extern crate name at this moment.
2022-02-24 21:43:29 +08:00
Nick Cameron 131168b375
Merge pull request #1766 from JmPotato/update_architecture_md
Update the architecture.md file with the latest repo and code links
2022-02-21 22:36:37 +13:00
JmPotato 122ee0e1f2 Update the architecture.md file with the latest repo and code links
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2022-02-20 01:37:44 +08:00
Eric Huss 3df74381f3
Merge pull request #1764 from epage/cargo
chore: Upgrade cargo
2022-02-10 07:33:33 -08:00
Ed Page f28d4520af chore: Upgrade cargo
Cargo has switched exclusively to `toml_edit`, so when downcasting
errors to get line and column, we need to downcast for those errors as
well.

This does not attempt to port rls to `toml_edit` and an analysis was not
done to verify if the `find_toml_error` code path only needs to check
for one toml library.

The downside to this solution is its brittle.  Any time cargo upgrades
through a breaking `toml_edit` version, this test will break again and
we'll have to upgrade rls to fix it.
2022-01-26 16:10:35 -06:00
Ed Page b3a092d5f5 refactor: Clarify when no error 2022-01-26 16:01:13 -06:00
Igor Matuszewski e9bdababa0 Bump rls-analysis version 2022-01-25 11:10:41 +01:00
Igor Matuszewski f37425e33c Use new Racer from crates.io 2022-01-15 18:07:20 +01:00
Igor Matuszewski fe02db7836 Upgrade to latest Cargo 2022-01-15 17:27:36 +01:00
Igor Matuszewski bc54c5759a
Merge pull request #1760 from pietroalbini/pa-fix-diagnostic
Fix expected diagnostic for crate name typo
2022-01-15 17:23:57 +01:00
Mateusz Mikuła 93566f5fbf Upgrade overlookd dependencies 2022-01-15 16:40:25 +01:00
Igor Matuszewski 0e2f01e825 Bump Clippy 2022-01-15 16:37:33 +01:00
Igor Matuszewski 64e4451a69
Merge pull request #1762 from MingweiSamuel/master
Update rustc channel, rustfmt, and racer to fix the build
2022-01-15 16:28:15 +01:00
Mingwei Samuel 502db347c4 Update channel, rustfmt, and racer to fix the build
- Need this PR from racer to remove old rustc-ap packages:  https://github.com/racer-rust/racer/pull/1174
2022-01-14 14:36:44 -08:00
Pietro Albini 362fa39019
fix expected diagnostic for crate name typo 2022-01-13 11:08:22 +01:00
Igor Matuszewski ffa01dc375
Merge pull request #1747 from krobelus/fix-misnomer-docs
README: clarify that configuration is sent by an LSP *client*
2021-12-08 09:39:44 +00:00
Igor Matuszewski 6cfad42bc7
Merge pull request #1748 from wcalandro/pub-raw
Expose public functions from private raw module
2021-12-08 09:36:46 +00:00
Igor Matuszewski 9bd149287d
Merge pull request #1755 from mati865/upgrade-dependencies
Upgrade dependencies
2021-12-08 09:36:16 +00:00