629 Commits

Author SHA1 Message Date
openharmony_ci 22be70804c !2 Add OAT.xml and README.OpenSource
Merge pull request !2 from fangting/master
OpenHarmony-v4.1.4-Release OpenHarmony-v4.1.3-Release OpenHarmony-v4.1.2-Release OpenHarmony-v4.0.4-Release OpenHarmony-v5.0.0-Release OpenHarmony-v4.0.3-Release OpenHarmony-v4.0.2-Release OpenHarmony-v5.0-Beta1 OpenHarmony-v4.0.1-Release OpenHarmony-v4.0-Beta2 OpenHarmony-v4.0-Release OpenHarmony-v4.0-Beta1 OpenHarmony-v4.1-Beta1 OpenHarmony-v4.1-Release OpenHarmony-v4.1.1-Release master-v weekly_20240115-v
2023-04-14 08:10:23 +00:00
fangting e68fa39c41 Add OAT.xml and README.OpenSource
Signed-off-by: fangting <fangting12@huawei.com>
2023-04-14 14:14:44 +08:00
openharmony_ci 39b45a5cde !1 [codespan]Add GN Build Files and Custom Modifications to Rust Third-party Libraries
Merge pull request !1 from lubinglun/master
2023-04-13 11:34:50 +00:00
lubinglun f4d606ed72 Add GN Build Files and Custom Modifications
Issue:https://gitee.com/openharmony/build/issues/I6UFTP
Signed-off-by: lubinglun <lubinglun@huawei.com>
2023-04-12 17:25:55 +08:00
Brendan Zabarauskas 07b1757170 Merge pull request #304 from brendanzab/release-v0.11.0
Release v0.11.0
github.com/brendanzab/codespan/v0.11.0
2020-11-30 10:54:00 +11:00
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 a287aa658d Implement Eq and PartialEq for diagnostic types 2020-11-30 10:38:02 +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 4f0753bd9d replace gitter with matrix room
missed in #276
2020-10-08 21:07:55 +02: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 e303d4c9fe update link to rustc_errors 2020-10-04 15:43:21 +02:00
Brendan Zabarauskas 39839eeffe Merge pull request #292 from brendanzab/dependabot/cargo/lsp-types-gte-0.70-and-lt-0.83
Update lsp-types requirement from >=0.70, <0.81 to >=0.70, <0.83
2020-10-03 11:22:01 +10:00
Johann150 315ab32483 maintain changelog
Merge pull request #296 from brendanzab/changelog
2020-10-02 16:05:21 +02:00
Johann150 97fc1abc75 write changelog
Just looked through all closed pull requests since the last release.
Left out anything related to codespan-lsp since there were already versions released for that.
I assume the changelog for that has been maintained.
2020-10-02 15:48:44 +02:00
Johann150 26196f03af update changelog 2020-10-02 13:49:51 +02:00
Johann150 81910f7a46 Merge pull request #294 from brendanzab/dependabot/cargo/insta-1.0
Update insta requirement from 0.16 to 1.0
2020-10-01 21:34:47 +02:00
dependabot-preview[bot] 8d7e3ea4e2 Update insta requirement from 0.16 to 1.0
Updates the requirements on [insta](https://github.com/mitsuhiko/insta) to permit the latest version.
- [Release notes](https://github.com/mitsuhiko/insta/releases)
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mitsuhiko/insta/compare/0.16.0...1.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-01 19:12:51 +00:00
Brendan Zabarauskas 1b82a93679 Merge pull request #284 from brendanzab/contributing-guide
Add a contributing guide and code of conduct
2020-10-01 18:36:14 +10:00
Brendan Zabarauskas 0f34910ed2 Add an introduction to the contributing guide 2020-09-27 17:15:42 +10:00
Brendan Zabarauskas eea2187461 Add table of contents 2020-09-27 16:54:11 +10:00
Brendan Zabarauskas 6b2fb92748 Add bug report and feature suggestion section 2020-09-27 16:54:02 +10:00
Brendan Zabarauskas 7a8afb41da Use consistent heading capitalisation 2020-09-27 16:53:34 +10:00
Brendan Zabarauskas 145db90af7 Merge pull request #291 from Johann150/clippy-fixes
implement clippy recommendations
2020-09-27 16:46:21 +10: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
Johann150 73bb6a22f7 implement clippy recommendations 2020-09-20 20:27:46 +02:00
Brendan Zabarauskas 3fc4427768 Merge pull request #290 from brendanzab/files-docs
improve documentation in the files module
2020-09-20 18:34:43 +10:00
Johann150 23222c83ec improve documentation in the files module 2020-09-19 15:53:54 +02:00
Johann150 ee0a2e5d52 Merge pull request #287 from Johann150/label-start-todo
move handling of label start to renderer
resolves the TODO comment
2020-09-16 07:59:51 +02:00
Johann150 c08abac44d simplify range to usize
added comments instead
2020-09-16 07:53:17 +02:00
Johann150 39600d6ec1 move handling of label start to renderer
this eliminates a failure condition from RichDiagnostic::render
because the full source code does not have to be loaded here any more
2020-09-15 22:42:18 +02:00
Johann150 057b741c22 Merge pull request #286 from Johann150/285-docs
add label rendering order to documentation
2020-09-14 20:23:09 +02:00
Johann150 6f5dc869c3 add label order to documentation
resolves #285
2020-09-14 19:47:00 +02:00
Brendan Zabarauskas b48d21bde8 Add a release process to the contributing guide 2020-09-07 21:15:18 +10:00
Brendan Zabarauskas 93a90f588f Add a contributing guide 2020-09-07 20:56:40 +10:00
Brendan Zabarauskas f61e918b3d Add a code of conduct 2020-09-07 20:35:10 +10:00
Brendan Zabarauskas 5654600a55 Merge pull request #266 from Johann150/patch-3
medium rendering mode
2020-09-07 20:22:50 +10:00
Brendan Zabarauskas 884489fd6a Merge pull request #283 from RDambrosio016/patch-1
Do not render diagnostic code if it is an empty string
2020-09-07 06:51:22 +10:00
RDambrosio ace74f739d Merge pull request #1 from Johann150/tests
added tests
2020-09-06 15:52:54 -04:00
Johann150 b38320b895 add errorcode tests 2020-09-06 21:45:38 +02:00
RDambrosio 9d34c12fba Fix: boolean logic is hard 2020-09-06 13:25:43 -04:00
RDambrosio 2975e0e9d1 Fix: do not render code if it is an empty string 2020-09-06 13:21:32 -04:00
Brendan Zabarauskas 8c969298b0 Merge pull request #280 from andrewhickman/master
Fix build on wasm with `serialization` feature
2020-09-04 23:15:36 +10:00
Brendan Zabarauskas 7f5ae6ca28 Merge pull request #282 from Johann150/patch-6
fix locus calculation
2020-09-04 21:46:28 +10:00
Johann150 e21c029d57 Merge branch 'master' into patch-3 2020-09-04 13:36:35 +02:00
Johann150 4d073bfdfb fix mistakes from #260
Changed the multiline_overlap test to cover this case too.
The output should be unchanged although the ordering of the labels has been changed.
2020-09-04 13:19:19 +02:00
Andrew Hickman d9cf655f30 Fix build on wasm with serialization feature`
serde` only implements `Serialize` for `OsString` on
unix and windows.
2020-09-04 12:17:23 +01:00
Markus Westerlind 7887112a61 Merge pull request #281 from brendanzab/dependabot/cargo/lsp-types-gte-0.70-and-lt-0.81
Update lsp-types requirement from >=0.70, <0.80 to >=0.70, <0.81
2020-09-02 22:08:42 +02: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