Commit 156efb3
chore: update
* fix(deps): update dependency org.robolectric:robolectric to v4.16.1
* Update DefaultCompletionLayout.java
Fix ANR caused by infinite loop in DefaultCompletionLayout
Added iteration limits to prevent infinite loops in ensureListPositionVisible()
that could block the main thread and cause ANR crashes.
* refact(editor): expose `variableResolver` for custom variable resolver registration (close #801)
* chore(editor): refer to inlay hint type names in inlay hint renderers
* fix(editor): add max text length for accessibility node info
Refer to newest `TextView` implementation.
This settles OOM problem when the content is too large. (Xed-Editor/Xed-Editor#1132)
* build(app): migrate signing config to environment variables
* remove old keystore file
* use newly-generated keystore from repo secrets
* use `signing.properties` for local dev environment
* update app version format in CI builds
* build(app): move signing config vars to job-level env
* docs(textmate): update README.md for TextMate
* fix(editor): `SymbolInputView` always overrides the background defined in XML
* refact(app): migrate to Material 3
* use Material 3 themes and widgets (partially)
* always enable edge-to-edge
* fix padding for bottom insets
* activity no longer consumes `uiMode` configuration changes
* fix(editor): non-null param is declared nullable in `SpanExternalRenderer`
* fix(editor): text style in line info panel can be affected by content text
* fix(app): inconsistent inlay hint position in demo
* docs: update screenshots in project README
* fix: fix `ConcurrentModificationException` and expose language server wrappers
* feat: improve LSP server lifecycle and error handling
* "Restart server" option has been added to LSP test activity, allowing for manual restarting of a language server
* The `ServerStatus` enum has been converted to a sealed interface, providing more detailed state information, including the reason for shutdown (e.g., `MANUAL`, `RESTART`, `CRASH`, `TIMEOUT`).
* LSP events (like `Hover`, `CodeAction`, `Completion`, etc.) now report exceptions to the server wrapper (Added `onEventException` to the `EventHandler.EventListener`)
* Big refactor of the `LanguageServerWrapper` class to improve readability and maintainability
* Removed nullable `requestManager` checks in various events.
* Code Refinements: Renamed `CodeActionEventEvent` to `CodeActionEvent` for consistency.
* chore(deps): update plugin publish to v0.36.0
* chore(deps): update gradle/actions action to v5
* chore(deps): update agp to v9.0.1
* fix(editor-lsp): improve editor lifecycle
* refactor(editor-lsp): move exception handling to separate method
* fix: stopping server does no longer disconnect all servers
* fix(deps): update dependency org.jruby.jcodings:jcodings to v1.0.64
* fix: fix unnecessary stop of language server wrapper by tracking connected editors correctly
* feat: add disable-feature option to server definition (Closes #802)
* fix: fix hover window not showing (Closes #796)
* fix(deps): update dependency org.jruby.joni:joni to v2.2.7
* fix: possible null reference in `EditorRenderer#applySelectedTextRange`
Tracking issue: Xed-Editor/Xed-Editor#1156
* feat(deps): update Kotlin to v2.3.10
* fix(deps): update dependency org.eclipse.lsp4j:org.eclipse.lsp4j to v1
* fix(editor): fix `IndexOutOfBoundsException` on completion
* fix(editor): leading whitespace is sometimes wrongly hidden
* refact(editor): store text in byte array instead of char array to cut general memory usage
* each character is stored as a byte in Latin1 form by default
* upgrade to UTF-16 byte data when required
* expected to cut roughly half memory usage in general case
* test(editor): add test for `ContentLine`
* perf(editor): avoid copying when create `String` in Latin1 implementation
* feat(editor): add experimental shallow copying in `AsyncIncrementalAnalyzeManager`
* enabling shallow copy should be able to cut the memory usage in general case
* shallow copy is tested formly tested in `ContentShallowCopyTest`
* fix(editor): missing support for multiline code block with more than three backquotes (close #814)
* feat(app): add sample for paged editing for long files
* this does not take language analysis into consideration, but simply split the file with Unicode character considered
* extra storage space required for sliced file content
* docs: fix license badge
* fix(lsp): app crash when `textDocument/inlayHint` or `textDocument/documentColor` request is failed (#813)
* feat(lsp): partially support API changes in LSP4J v1.0 (LSP v3.18.0)
* Markdown in diagnostics is considered plain text. This requires editor core to introduce Markdown support
* Snippet edit is degraded to normal text edit for now
* fix(ci): `branches-ignore` field for renovate is wrong
* chore(deps): update actions/upload-artifact action to v7
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Rosemoe <2073412493@qq.com>
Co-authored-by: Elliott Mac. <115413825+nullij@users.noreply.github.com>soraX (#8)1 parent 69c35eb commit 156efb3
41 files changed
Lines changed: 1308 additions & 228 deletions
File tree
- .github/workflows
- app
- src
- main
- java/io/github/rosemoe/sora/app
- tests/paged
- test/java/io/github/rosemoe/sora/app/tests/paged
- editor-lsp
- src
- main/java/io/github/rosemoe/sora/lsp
- editor/text
- events
- color
- inlayhint
- workspace
- utils
- test/java/io/github/rosemoe/lsp/editor/text
- editor/src
- main/java/io/github/rosemoe/sora
- graphics
- lang
- analysis
- completion/snippet
- text
- breaker
- string
- widget
- layout
- test/java/io/github/rosemoe/sora/text
- gradle
- language-monarch/src/main/java/io/github/rosemoe/sora/langs/monarch
- folding
- language-textmate/src/main/java/io/github/rosemoe/sora/langs/textmate
- folding
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
| 63 | + | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| 125 | + | |
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
| |||
Lines changed: 0 additions & 67 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
Lines changed: 57 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
53 | 52 | | |
54 | 53 | | |
55 | 54 | | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
128 | 129 | | |
129 | 130 | | |
130 | 131 | | |
| 132 | + | |
131 | 133 | | |
132 | 134 | | |
133 | 135 | | |
| |||
683 | 685 | | |
684 | 686 | | |
685 | 687 | | |
| 688 | + | |
686 | 689 | | |
687 | 690 | | |
688 | 691 | | |
| |||
0 commit comments