81 Commits

Author SHA1 Message Date
Brendan Zabarauskas a722a97853 Release version 0.11.0
We've skipped some versions for `codespan-reporting` and `codespan` to get the crate versions back in sync with `codespan-lsp`.

Co-authored-by: Johann150 <20990607+Johann150@users.noreply.github.com>
2020-11-30 10:40:38 +11:00
Brendan Zabarauskas c312599ebb Update lsp-types and hide character_to_line_offset
We’ve broken backwards-compatability with old versions of lsp-types in order to let us update the LSP numeric types based on the numeric type clarifications: https://github.com/gluon-lang/lsp-types/pull/186

`character_to_line_offset` was made private to reduce the chance of future API breakages.

Co-authored-by: Johann150 <20990607+Johann150@users.noreply.github.com>
2020-11-30 09:51:00 +11:00
Johann150 8a0fc021bc change error types (#295)
- move error to files module; removed the special error types from codespan-lsp
- use error type in codespan and codespan-lsp
- make dependency on codespan-reporting non-optional
2020-10-07 14:01:20 +02:00
Johann150 29eb8c4f3d fix changelog for codespan-lsp
added the necessary tags
fixed the duplicate link definition
2020-10-06 18:44:45 +02:00
Johann150 a12bee54b8 add old codespan-lsp release 0.10.1
as commented in #298
some version tags are still missing
2020-10-05 13:04:41 +02:00
Johann150 26196f03af update changelog 2020-10-02 13:49:51 +02:00
dependabot-preview[bot] e247431719 Update lsp-types requirement from >=0.70, <0.81 to >=0.70, <0.83
Updates the requirements on [lsp-types](https://github.com/gluon-lang/lsp-types) to permit the latest version.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases)
- [Changelog](https://github.com/gluon-lang/lsp-types/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gluon-lang/lsp-types/compare/vv0.70.0...v0.82.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-23 19:13:17 +00:00
dependabot-preview[bot] 99614b625e Update lsp-types requirement from >=0.70, <0.80 to >=0.70, <0.81
Updates the requirements on [lsp-types](https://github.com/gluon-lang/lsp-types) to permit the latest version.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases)
- [Changelog](https://github.com/gluon-lang/lsp-types/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gluon-lang/lsp-types/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-02 19:13:02 +00:00
Markus Westerlind c82e30dc34 (cargo-release) start next development iteration 0.10.2-alpha.0 2020-08-17 21:48:13 +02:00
Markus Westerlind 4a1951a8c2 (cargo-release) version 0.10.1 2020-08-17 21:47:14 +02:00
dependabot-preview[bot] 7b00cfcf90 Update lsp-types requirement from >=0.70, <0.79 to >=0.70, <0.80
Updates the requirements on [lsp-types](https://github.com/gluon-lang/lsp-types) to permit the latest version.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases)
- [Changelog](https://github.com/gluon-lang/lsp-types/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gluon-lang/lsp-types/compare/vv0.70.0...v0.79.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 19:12:53 +00:00
dependabot-preview[bot] 24eaa5ea4f Update lsp-types requirement from >=0.70, <0.78 to >=0.70, <0.79
Updates the requirements on [lsp-types](https://github.com/gluon-lang/lsp-types) to permit the latest version.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases)
- [Changelog](https://github.com/gluon-lang/lsp-types/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gluon-lang/lsp-types/compare/vv0.70.0...v0.78.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-22 19:12:26 +00:00
Markus Westerlind ae8a4bdf59 Release codespan-lsp 0.10.0 2020-07-20 21:54:46 +02:00
dependabot-preview[bot] 4ec4a23766 Update lsp-types requirement from >=0.70, <0.75 to >=0.70, <0.78
Updates the requirements on [lsp-types](https://github.com/gluon-lang/lsp-types) to permit the latest version.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases)
- [Changelog](https://github.com/gluon-lang/lsp-types/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gluon-lang/lsp-types/compare/vv0.70.0...v0.77.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-15 19:12:27 +00:00
Markus Westerlind 696f1d2dbb fix: Handle unicode in codespan_lsp outside of the first line 2020-07-12 22:22:21 +02:00
Markus Westerlind cfd3878c3d Remove codespan dev dependency from codespan-lsp 2020-07-06 08:57:48 +02:00
Markus Westerlind cb253b2b7b feat: Make codespan_lsp use codespan_reporting
Makes `codespan_lsp` more broadly usable by lifting the `codespan`
restriction. `codespan` users can still used it after converting to and
from usize for arguments and return values.

BREAKING CHANGE

The signatures now take usize instead of `codespan`s explicit, byte,
line, column types.

The error types have been copied into codespan_lsp to remove the
dependency on codespan.
2020-07-05 21:34:09 +02:00
Brendan Zabarauskas a91f8cbce8 Bump cargo version to v0.9.5 2020-06-24 13:34:09 +10:00
Brendan Zabarauskas 48439cbf16 Bump cargo version to v0.9.4 2020-05-18 16:07:30 +10:00
Brendan Zabarauskas 6754918296 Bump cargo version to v0.9.3 2020-04-29 13:27:27 +10:00
dependabot-preview[bot] 4755987a5b Update lsp-types requirement from >=0.70,<0.74 to >=0.70, <0.75
Updates the requirements on [lsp-types](https://github.com/gluon-lang/lsp-types) to permit the latest version.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases)
- [Changelog](https://github.com/gluon-lang/lsp-types/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gluon-lang/lsp-types/compare/vv0.70.0...vv0.74.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 19:12:59 +00:00
Brendan Zabarauskas 41115c2fa8 Bump cargo version to v0.9.2 2020-03-29 13:12:19 +11:00
Brendan Zabarauskas b91716593a Bump cargo version to v0.9.1 2020-03-23 10:32:51 +11:00
Brendan Zabarauskas c0c8192b0b Bump cargo version to v0.9.0 2020-03-15 16:22:46 +11:00
Brendan Zabarauskas 67b6ed65f7 Add stern warnings about respecting cargo update 2020-03-11 22:13:36 +11:00
Brendan Zabarauskas aa6957b94f Start using a version range for lsp-types
This switches us to use a version range (`>=0.70,<0.74`) for our dependency on `lsp-types`, seeing as we only use a couple of types from this repository (`lsp_types::{Position, Range}`) that don’t change very often. This will mean that we can make releases of `codespan-lsp` that update the maximum version _without_ breaking backwards compatibility for consumers.
2020-03-11 22:02:33 +11:00
Brendan Zabarauskas 8eb830f29a Add changelogs to crates
Better late than never!
2020-03-10 12:48:23 +11:00
Brendan Zabarauskas 73fb504127 Remove publish script
I never actually used this! Might as well remove it.
2020-03-10 12:48:11 +11:00
Brendan Zabarauskas 25829d80e8 Update cargo dependencies 2020-03-09 15:19:08 +11:00
Brendan Zabarauskas 9cfb5fc0b5 Remove rustfmt config 2020-03-03 16:37:21 +11:00
dependabot-preview[bot] 2a5dc0395b Update lsp-types requirement from 0.71 to 0.72
Updates the requirements on [lsp-types](https://github.com/gluon-lang/lsp-types) to permit the latest version.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases)
- [Changelog](https://github.com/gluon-lang/lsp-types/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gluon-lang/lsp-types/compare/vv0.71.0...vv0.72.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-02 19:12:53 +00:00
dependabot-preview[bot] fcda15d4c9 Update lsp-types requirement from 0.70 to 0.71
Updates the requirements on [lsp-types](https://github.com/gluon-lang/lsp-types) to permit the latest version.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases)
- [Commits](https://github.com/gluon-lang/lsp-types/compare/vv0.70.0...vv0.71.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-02-27 19:12:25 +00:00
Brendan Zabarauskas 4c6cf623db Create Files trait 2020-02-24 22:50:33 +11:00
Brendan Zabarauskas 51fe3004c4 Release v0.8.0
Closes #163.
2020-02-24 14:56:11 +11:00
dependabot-preview[bot] 984324ea25 Update lsp-types requirement from 0.69 to 0.70
Updates the requirements on [lsp-types](https://github.com/gluon-lang/lsp-types) to permit the latest version.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases)
- [Commits](https://github.com/gluon-lang/lsp-types/compare/vv0.69.0...vv0.70.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-21 19:13:38 +00:00
dependabot-preview[bot] 3cd6cbdcd8 Update lsp-types requirement from 0.68 to 0.69
Updates the requirements on [lsp-types](https://github.com/gluon-lang/lsp-types) to permit the latest version.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases)
- [Commits](https://github.com/gluon-lang/lsp-types/compare/v0.68.0...vv0.69.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-15 19:12:12 +00:00
Joshua Nelson 648683c43d String -> OsString (redux)
This fixes the compile errors in codespan-reporting and codespan-lsp
2020-01-14 22:37:11 -05:00
Brendan Zabarauskas ef8d92038f Bump cargo version to 0.7.0 2020-01-06 11:14:46 +11:00
Brendan Zabarauskas bd2d88f5a3 Improve type inference for Files::{add, update}
This removes the implicit conversions for the `Files::{add, update}` methods now that we parameterise `Files` by the source type (see #144).
2020-01-06 11:06:54 +11:00
Ryan Cumming 4fc78c102a Update reporting & lsp crates for generic source
This ports `codespan-reporting` and `codespan-lsp` to use `Files`'s new
`Source` generic parameter.
2020-01-05 12:20:03 +11:00
dependabot-preview[bot] 03955276be Update lsp-types requirement from 0.67 to 0.68
Updates the requirements on [lsp-types](https://github.com/gluon-lang/lsp-types) to permit the latest version.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases)
- [Commits](https://github.com/gluon-lang/lsp-types/compare/v0.67.0...v0.68.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-30 19:14:01 +00:00
dependabot-preview[bot] 46521e80f4 Update lsp-types requirement from 0.64 to 0.67
Updates the requirements on [lsp-types](https://github.com/gluon-lang/lsp-types) to permit the latest version.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases)
- [Commits](https://github.com/gluon-lang/lsp-types/compare/v0.64.0...v0.67.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-23 19:12:10 +00:00
dependabot-preview[bot] 2b79135cbe Update lsp-types requirement from 0.63 to 0.64
Updates the requirements on [lsp-types](https://github.com/gluon-lang/lsp-types) to permit the latest version.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases)
- [Commits](https://github.com/gluon-lang/lsp-types/compare/vv0.63.0...v0.64.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-19 19:13:55 +00:00
Brendan Zabarauskas f7106f50f6 Bump codespan-lsp to v0.6.0
(woops!)
2019-12-18 13:33:22 +11:00
Brendan Zabarauskas 68c8cff6e6 Bump version to v0.6.0 2019-12-18 12:03:16 +11:00
dependabot-preview[bot] 317d813cf3 Update lsp-types requirement from 0.61 to 0.63
Updates the requirements on [lsp-types](https://github.com/gluon-lang/lsp-types) to permit the latest version.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases)
- [Commits](https://github.com/gluon-lang/lsp-types/compare/vv0.61.0...vv0.63.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-18 10:40:27 +11:00
Brendan Zabarauskas c75b3d6113 Bump version to v0.5.0 2019-10-02 11:14:22 +10:00
dependabot-preview[bot] 4388d71001 Update lsp-types requirement from 0.60 to 0.61
Updates the requirements on [lsp-types](https://github.com/gluon-lang/lsp-types) to permit the latest version.
- [Release notes](https://github.com/gluon-lang/lsp-types/releases)
- [Commits](https://github.com/gluon-lang/lsp-types/compare/vv0.60.0...vv0.61.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-08-26 20:46:04 +00:00
Brendan Zabarauskas 32bf02b5fc Bump version to v0.4.1 2019-08-25 14:38:35 +10:00
Brendan Zabarauskas c1f8e904b9 Bump dependencies and release v0.4.0
Closes #78
Closes #111
Closes #114
2019-08-22 22:03:48 +10:00