Skip to content

Commit a939390

Browse files
authored
Merge pull request #578 from REditorSupport/release/v0.3.14
bump to v0.3.14
2 parents b5707dd + 8b27a18 commit a939390

File tree

5 files changed

+29
-6
lines changed

5 files changed

+29
-6
lines changed

DESCRIPTION

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Type: Package
22
Package: languageserver
33
Title: Language Server Protocol
4-
Version: 0.3.13
5-
Date: 2022-05-22
4+
Version: 0.3.14
5+
Date: 2022-10-13
66
Authors@R:
77
c(person(given = "Randy",
88
family = "Lai",

NEWS.md

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
# languageserver 0.3.14
2+
3+
**Closed issues:**
4+
5+
- NA introduced into position when opening curly braces (#564)
6+
- `html-to-markdown.lua` error: attempt to call a nil value (#555)
7+
- R6Class finalize() method is public, but it should be private as of R6 2.4.0 (#551)
8+
9+
**Merged pull requests:**
10+
11+
- Drop diagnostics on callback if disabled (#577)
12+
- Bump styfle/cancel-workflow-action from 0.10.1 to 0.11.0 (#576)
13+
- Bump styfle/cancel-workflow-action from 0.10.0 to 0.10.1 (#573)
14+
- Provide package symbols before lint in diagnostics (#568)
15+
- Support completion item labelDetails (#571)
16+
- Enable multiple-level fold section of R document like RStudio (#566)
17+
- fix NA introduced into position (#565)
18+
- Requires lintr 3.0.0 (#562)
19+
- Bump styfle/cancel-workflow-action from 0.9.1 to 0.10.0 (#560)
20+
- Use lua-filter when pandoc_version >= 2.11 (#556)
21+
- Update link to the lintr package (#554)
22+
- Use private finalizers for R6 classes (#553)
23+
124
# languageserver 0.3.13
225

326
**Closed issues:**

R/diagnostics.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ diagnose_file <- function(uri, content, is_rmarkdown = FALSE, globals = NULL, ca
8686

8787
if (length(globals)) {
8888
env_name <- "languageserver:globals"
89-
attach(globals, name = env_name, warn.conflicts = FALSE)
90-
on.exit(detach(env_name, character.only = TRUE))
89+
do.call("attach", list(globals, name = env_name, warn.conflicts = FALSE))
90+
on.exit(do.call("detach", list(env_name, character.only = TRUE)))
9191
}
9292

9393
lints <- lintr::lint(path, cache = cache, text = content)

src/languageserver.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
static int ppid = -1;
1515

16-
SEXP process_is_detached() {
16+
SEXP process_is_detached(void) {
1717
if (ppid == -1) {
1818
ppid = (int) getppid();
1919
}

src/reader.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@
77

88
SEXP stdin_read_char(SEXP _n);
99

10-
SEXP stdin_read_line();
10+
SEXP stdin_read_line(void);
1111

1212
#endif

0 commit comments

Comments
 (0)