Ara Adkins
b5b4dfa155
Add support for profiling information in the protocol ( #1407 )
2021-01-19 10:41:39 +00:00
Łukasz Olczak
d257615ef1
Fix for SQLite DB busy error on Azure ( #1395 )
...
depending on an environmental variable is used either
default locking mode or a mode that uses flock syscall
2021-01-19 12:07:17 +03:00
Łukasz Olczak
4c1e7a4319
Readiness and liveness probes for Language Server ( #1359 )
2020-12-16 17:05:37 +01:00
Radosław Waśko
de817af655
Finish Logging Service Integration ( #1346 )
2020-12-15 09:49:58 +01:00
Dmitry Bushev
2e026b48c3
Don't Suppress Errors When Creating Data Directory ( #1344 )
...
Don't suppress errors when creating the data directory
2020-12-11 19:30:08 +03:00
Radosław Waśko
25561e4c8c
Project Manager Native Image ( #1318 )
2020-12-09 14:58:11 +01:00
Dmitry Bushev
a6b2415188
Add JSON-RPC Timeout Error ( #1332 )
...
Add a separate timeout error to distinguish between
the request timeouts and other service errors.
2020-12-09 15:53:00 +03:00
Dmitry Bushev
95a345ee26
Misc Visualization Fixes ( #1328 )
...
add: missing to_json conversions
fix: NPE in instrumentation
fix: EditFileCmd scheduling
fix: send visualization errors to the text endpoint
fix: preserve original location in the VectorLiterals pass
2020-12-09 13:44:03 +03:00
Radosław Waśko
9e1b49d245
Forking Language Server in the Project Manager ( #1305 )
2020-12-02 16:56:47 +01:00
Dmitry Bushev
07190a729c
Add search/import command ( #1310 )
...
Add `search/import` request returning the info
required for module import.
2020-11-26 18:44:35 +03:00
Dmitry Bushev
670cffb380
Fix Storing the Runtime Types ( #1271 )
...
A bunch of improvements to the suggestions
system. Suggestions are extracted to the tree data
structure. The tree allows producing better diffs
between the file versions. And better diffs reduce
the number of updates that are sent to the IDE
after a file change, and consequently fix the
issue when the runtime type got overwritten with
the compile-time type.
2020-11-10 14:50:37 +03:00
Radosław Waśko
c3b2059a6b
Make Locking Thread-Safe ( #1267 )
2020-11-06 13:53:45 +01:00
Ara Adkins
746521f8b2
Bump SBT and Scalafmt ( #1203 )
...
Co-authored-by: Radosław Waśko <radoslaw.wasko@enso.org>
Co-authored-by: Dmitry Bushev <bushevdv@gmail.com>
2020-10-22 16:12:28 +02:00
Dmitry Bushev
1feec8388d
Localize Interpreter Errors ( #1212 )
...
Add new `executionContext/executionStatus`
notification returning a list of diagnostic
messages containing localized (linked to the
location in the code) information about
compilation errors and warnings, as well as
runtime errors with stack traces.
2020-10-15 16:03:45 +03:00
Dmitry Bushev
3d65ffd3cd
Fix the Suggestions Database Updates Handling ( #1161 )
...
Misc updates to the Suggestions database updates handling
algorithm
2020-10-05 17:22:13 +03:00
Dmitry Bushev
5ea7615bb4
Populate the Suggestions Database with Imported Modules ( #1155 )
...
During the compilation, the runtime will analyze
all modules in scope and send the appropriate
suggestion updates to the server.
2020-09-21 15:05:58 +03:00
Dmitry Bushev
033ccd5aec
Setup Runtime logging ( #1128 )
...
Configure logging of the Runtime context.
2020-09-09 18:16:59 +03:00
Dmitry Bushev
4ad606f526
Add Trace Logging to Language Server Boot ( #1107 )
...
Add extra verbose logging to the Language Server boot
2020-08-25 13:02:33 +03:00
Dmitry Bushev
8e764f957b
Add Log Level Options to Project Manager ( #1092 )
...
Set the project manager log level from the CLI options
2020-08-21 13:02:52 +03:00
Radosław Waśko
c979938527
Run components through the launcher ( #1073 )
2020-08-19 13:24:31 +01:00
Dmitry Bushev
467d13a9e7
Update Runtime Notifications API ( #1055 )
...
Co-authored-by: Ara Adkins <iamrecursion@users.noreply.github.com>
2020-08-04 12:31:56 +02:00
Dmitry Bushev
ef165e4f23
Emit value updates only on change ( #1051 )
2020-08-03 15:38:39 +01:00
Dmitry Bushev
cd6858a01e
Revert expressionId removal from value update ( #1043 )
2020-07-30 10:26:14 +01:00
Dmitry Bushev
2f9e7f51af
Handle Rename Command Properly ( #1041 )
...
In the current workflow, at first, the default Unnamed project is
created, and the Suggestions database is populated with entries from the
Unnamed.* modules. When the user changes the name of the project, we
should update all modules in the Suggestion Database with the new
project name.
This PR implements module renaming in the Suggestions database and fixes
the initialization issues.
- add: search/invalidateSuggestionsDatabase JSON-RPC command that resets
the corrupted Suggestions database
- update: SuggestionsHandler to rename the modules in the
SuggestionsDatabase when the project is renamed
- fix: MainModule initialization
2020-07-29 14:51:00 +03:00
Dmitry Bushev
93c4453299
Update ExpressionValueUpdate Notification API ( #1033 )
...
ExpressionValueUpdate notification contains information about the
executed object. To have the full information about this object, IDE
needs the id of the corresponding suggestion. PR updates the
notification adding the suggestion id of the executed object.
- update: public API for ExpressionValueUpdate notification
- update: ContextEventsListener groups ExpressionValueUpdates and sends
them in a batch
- update: ContextRegistry listens to the notifications from runtime and
routes them to the corresponding listener.
- test: add ContextEventsListenerSpec
2020-07-28 23:24:04 +03:00
Radosław Waśko
e8e44f68ad
[Feat, Tool] Add CLI Parser for the Launcher
...
1. This commit adds an extensive library for parsing commandline
arguments and formatting output.
2. It implements the expected CLI for the launcher.
3. It turns off parallel execution on the CI in hopes of making it
more stable.
4. It implements plugin support in the launcher.
2020-07-22 19:28:03 +02:00
Dmitry Bushev
45d75536aa
Wait for Suggestions Database Initialization ( #1025 )
2020-07-22 17:12:52 +03:00
Dmitry Bushev
ded61865a4
Fix the search/getSuggestionsDatabase API ( #1021 )
2020-07-21 23:15:14 +03:00
Ara Adkins
f5ffbe8fa7
Add a markdown style guide ( #1022 )
2020-07-21 13:59:40 +01:00
Dmitry Bushev
b8ff893840
Enable FlakySpec only on Windows ( #1015 )
2020-07-20 17:13:37 +03:00
Dmitry Bushev
30d136a141
Integration with the Searcher Database ( #994 )
2020-07-20 11:00:49 +03:00
Dmitry Bushev
01217d036c
Increase timeouts on Windows CI ( #988 )
2020-07-14 14:44:40 +03:00
Radosław Waśko
610a38df9a
Launcher Native Image Build ( #970 )
2020-07-10 12:57:42 +02:00
Dmitry Bushev
6ba038c800
Implement Search Requests API ( #953 )
2020-07-06 16:55:21 +03:00
Radosław Waśko
7c7352fa72
Fix logger warnings in tests ( #965 )
2020-07-03 13:02:27 +01:00
Łukasz Olczak
a8293eb3a0
Support for Project Renaming ( #929 )
2020-07-01 15:55:50 +02:00
Radosław Waśko
cf0c735e91
Java 11 Migration ( #928 )
2020-07-01 13:21:13 +02:00
Ara Adkins
e9b676834b
Bump the SBT and Scala versions ( #948 )
...
1. This PR also re-enables windows CI.
2020-06-29 18:24:41 +01:00
Dmitry Bushev
8ecc786be6
Implement Suggestions Updates API ( #930 )
2020-06-26 19:52:42 +03:00
Ara Adkins
94c7e77e03
Update references to Luna to be Enso ( #931 )
2020-06-24 12:07:24 +01:00
Łukasz Olczak
1f46a3f9a1
Introduce Threaded Executions to the Runtime Server Instrument ( #807 )
2020-06-16 13:16:07 +02:00
Dmitry Bushev
e1077e0389
Add RetrySpec to tests ( #828 )
...
Co-authored-by: Ara Adkins <iamrecursion@users.noreply.github.com>
2020-06-16 10:20:51 +01:00
Ara Adkins
d1ab83b4f1
Update the configuration for new default branch
2020-06-15 14:25:55 +01:00
Łukasz Olczak
214cf164c5
Robust stoppage of the Language Server ( #826 )
2020-06-10 15:51:38 +02:00
Radosław Waśko
92ac4b7449
Bump sbt version to 1.3.12 ( #795 )
2020-06-01 13:03:30 +01:00
Łukasz Olczak
806bf9dcb7
Introduce Threaded Executions to the Runtime Server Instrument - Part 1 ( #781 )
2020-05-26 17:37:54 +02:00
Łukasz Olczak
b4e24c3c97
Input/Output Stream Redirection ( #772 )
2020-05-20 20:23:36 +02:00
Dmitry Bushev
5be8ec20bc
Add FlakySpec Test Suite ( #768 )
2020-05-20 19:05:09 +03:00
Dmitry Bushev
4c3b80cfe3
Add Error Handling to Execution Context ( #742 )
...
* add: error handling to execution context
* update: error handling
* add: logging
Co-authored-by: Ara Adkins <iamrecursion@users.noreply.github.com>
2020-05-14 18:48:44 +03:00
Łukasz Olczak
7d82b1abee
Fix Flatbuffers Issues for IDE ( #741 )
2020-05-13 14:21:33 +02:00
Łukasz Olczak
817b2a9d11
Binary File Support ( #727 )
2020-05-12 16:10:44 +02:00
Dmitry Bushev
0d12d98b9d
Update Language Server Spec ( #726 )
...
* doc: update executionContext/fork API
* doc: qualified name
* doc: add execution context example
* update: executionContext/create
* doc: cleanup
* doc: add Main.enso contents
* update: init execution context
* doc: update executionContext/push
* debug: clean
* Revert "debug: clean"
This reverts commit 1c71f0b678192363a61d6ac5d7509bd234d2a697.
* test: disable flaky ProjectManagerApiSpec
2020-05-08 20:30:47 +03:00
Dmitry Bushev
55486e50d3
Review of the Language Server Spec ( #712 )
...
* fix: file/event
* fix: capability text/canEdit
* fix: capability file/receivesTreeUpdates
* fix: capability executionContext/canModify
* fix: capability executionContext/receivesUpdates
* doc: file open&close wording
* doc: add SHA3-224
* misc: cleanup
* doc: rename project picker to manager
* update: remove DirectoryTruncated node
* doc: versioning
* test: increase PingHandler timeout
* Revert "test: increase PingHandler timeout"
This reverts commit b225a885c24d0d5b8dfbc02a220107653b5deae0.
Co-authored-by: Ara Adkins <iamrecursion@users.noreply.github.com>
2020-05-06 17:58:18 +03:00
Łukasz Olczak
29190f8339
Truffle Integration for the Binary Protocol ( #711 )
2020-05-06 14:23:00 +02:00
Ara Adkins
50e307e6ee
Bump scalac version to 2.13.2 ( #703 )
2020-04-30 20:30:55 +01:00
Łukasz Olczak
f7e9f9fa85
Implementation of The Visualisation Binary Protocol - RPC-side ( #688 )
2020-04-28 17:30:15 +02:00
Marcin Kostrzewa
4ba26a3034
Compile Error Handling ( #687 )
2020-04-28 14:03:33 +02:00
Ara Adkins
9013407091
Implement dataflow analysis for Enso ( #673 )
2020-04-23 16:25:39 +01:00
Dmitry Bushev
9fcef233a8
Add: executionContext/recompute command ( #669 )
...
* add: executionContext/recompute
* doc: review comments
2020-04-23 15:13:02 +03:00
Łukasz Olczak
413962df92
Implementation of The Visualisation Binary Protocol ( #665 )
2020-04-23 12:42:59 +02:00
Dmitry Bushev
a10e37342b
Execution Context Integration with Text Change Events ( #668 )
...
* add: notifications to CollaborativeBuffer
* impl: trigger re-execution on file notifications
* add: file notifications test
* doc: update
* update: don't re-execute on file open
* fix: typo
Co-authored-by: Ara Adkins <iamrecursion@users.noreply.github.com>
2020-04-22 21:11:30 +03:00
Marcin Kostrzewa
e2d901fb68
Module file operations through execution server ( #660 )
2020-04-20 14:33:51 +02:00
Dmitry Bushev
75f25b66db
Integrate the LS with context management ( #657 )
2020-04-17 17:31:12 +01:00
Dmitry Bushev
86fdc07ce0
Run scalafmt after updating its version ( #661 )
2020-04-17 17:05:56 +01:00
Łukasz Olczak
50e6072b41
Flatbuffers integration ( #655 )
2020-04-17 15:47:58 +02:00
Łukasz Olczak
d296ac1ef8
Implementation of session initialisation ( #649 )
2020-04-15 12:56:11 +02:00
Ara Adkins
8a99415a30
Fix warnings, docs, and repo structure ( #651 )
2020-04-14 17:00:51 +01:00
Dmitry Bushev
4e73aba706
Add executionContext/expressionValuesComputed notifincation ( #648 )
...
* WIP ExpressionValueUpdate
* Add client reference
* doc: update
* refactor: ExpressionValuesComputed
* refactor: conversion functions
* impl: Config findRelativePath
Co-authored-by: Ara Adkins <iamrecursion@users.noreply.github.com>
2020-04-14 16:33:24 +03:00
Łukasz Olczak
e966392cc8
Implementation of the Language Server Supervisor Process ( #643 )
2020-04-10 12:11:15 +02:00
Dmitry Bushev
76faaaabcd
Add executionContext push & pop commands ( #637 )
...
* add: executionContext/push
* add: executionContext/pop
* add: stack to engine handler
* misc: cleanup
* misc: update error handling
* misc: cleanup
2020-04-09 16:29:14 +03:00
Marcin Kostrzewa
23f7797632
Language Execution Service ( #642 )
...
* Execution service
* fix language server
* cr feedbakz
Co-authored-by: Ara Adkins <iamrecursion@users.noreply.github.com>
2020-04-09 15:02:12 +03:00
Dmitry Bushev
dc58fc6b2a
Add executionContext/destroy ( #634 )
...
* add: executionContext/destroy
* remove: ExecutionProtocol
* refactor: UnhandledLogging
* add: custom errors
* refactor: runtime errors
2020-04-06 14:15:50 +03:00
Dmitry Bushev
a0d68eca37
Add executionContext/create command ( #632 )
...
* WIP Context
* test: executionContext/create
* misc: scalafmt
* add: requestId
* doc: update
* update: routing
* misc: cleanup
* doc: update
* fix: runtime
* fix: runtime tests
* add: message envelope
* refactor: remove ContextManager
* refactor: correlationId
2020-04-02 16:58:32 +03:00
Łukasz Olczak
5c616c2727
Implementation of project/open and project/close commands. ( #631 )
2020-03-31 15:51:05 +02:00
Dmitry Bushev
0ffce13894
Add file/event command ( #626 )
...
* WIP FileEventWatcher
* WIP Capabilities
* update: FileEvent
* test: FileEventRegistryTest
* update: cleanup resources
* doc: misc
* update: FileEventRegistry protocol
* refactor: FileEventRegistry
* misc: cleanup
* doc: fix scaladoc
* test: resolve real path
* refactor: FileEventWatcher
* refactor: FileEventManager
* fix: test path
* update: FileEventManager handle watcher errors
* add: respond with custom errors
* add: handle ClientDisconnected
* doc: update
* add: force release capability on errors
* refactor: FileEventManager
* add: enumeratum
* update: stop manager after error
* update: watch manager
* update: manager sends events to client
* refactor: file event actors
* refactor: rename registry to handler
* refactor: rename manager to PathWatcher
* refactor: effectful watcher start and stop
* refactor: rename FileEventWatcher to WatcherAdapter
* misc: cleanup
* impl: unhandled
* feat: cancel timeout timers
2020-03-31 15:23:23 +03:00
Dmitry Bushev
47ad474790
Add file/info command ( #614 )
...
* feat: impl file/info
* doc: typo
* add: OffsetDateTime
* update: UTCDateTime JSON format
* update: remove UTCDateTime
* fix: review comments
Co-authored-by: Ara Adkins <iamrecursion@users.noreply.github.com>
2020-03-25 13:30:26 +03:00
Dmitry Bushev
f4d4b001aa
test: remove filemanager warmup ( #624 )
2020-03-25 13:12:41 +03:00
Dmitry Bushev
6f8d3b73bb
test: wait for FileManager init ( #617 )
2020-03-23 21:37:11 +03:00
Dmitry Bushev
1910498524
Add file/list filemanager command ( #612 )
...
* feat: impl file/list
* test: warmup zio executor
2020-03-19 18:40:23 +03:00
Marcin Kostrzewa
ed7c7c75f9
Execution context management ( #611 )
2020-03-19 12:29:11 +01:00
Dmitry Bushev
4864d2623f
Refactor FileManager file commands ( #609 )
...
* refactor: create Config.scala
* WIP FileSystemHandler
* doc: update FileSystem list
* add: zio FileSystem
* update: FileSystemHandler runAsync
* add: config timeouts
* rename FileSystemHandler to FileSystemManager
* add: ZioExec
* add: FileManager router
* fix: FileManager return FileWiteResult
* update: FileSystemApi interface
* refactor: FileSystem with Zio
* impl: FileManager
* impl: cleanup LanguageServer
* impl: ReadFileHandler
* impl: CreateFileHandler
* impl: DeleteFileHandler
* impl: CopyFileHandler
* impl: MoveFileHandler
* impl: ExistsFileHandler
* impl: TreeFileHandler
* fix: filemanager tests
* misc: cleanup
* fix: BufferRegistry tests
* doc: add misc
* doc: misc
* feat: add ZioExec parameter to FileManager
* feat: FileManager uses FileSystemApi interface
* feat: FileSystem has blocking semantics
* feat: FileManager props
2020-03-19 13:47:08 +03:00
Łukasz Olczak
2863498da3
Scaffold the Project Manager ( #610 )
2020-03-18 11:41:55 +01:00
Dmitry Bushev
b5010d65c7
Add file/tree message for language server ( #585 )
...
* feat: impl FileSystem tree
* impl: conversion to DirectoryTree
* refactor: rename Path RelativePath
* WIP path encoding
* feat: add SystemPath encoding
* misc: fetch master
* doc: update engine-services
* refactor: rename SystemPath
* doc: cleanup
* test: fix json ordering
* test: fix symlink target
* test: fix unclosed source
* test: fix windows
* misc: cleanup
* doc: typo
* feat: follow symlinks
* feat: detect symlink loops
* refactor: rename RelativePath to Path
* feat: extend FileSystmObject api
* doc: update engine-services
* feat: add path to Other file system object
* test: fix windows
* refactor: remove TreeSet
* feat: DirectoryTree files filter directories
* feat: add NotDirectory error
* refactor: readDirectoryEntry
* feat: SymlinkLoop contains target to the loop
* refactor: DirectoryTree conversion
* feat: tailrec tree algorithm
* misc: cleanup
* misc: remove redundant if branch
Co-authored-by: Łukasz Olczak <lukasz.jan.olczak@gmail.com>
2020-03-13 19:41:57 +03:00
Marcin Kostrzewa
4b3943ce9b
Create a server instrument for language server <> runtime communications ( #602 )
2020-03-12 18:32:21 +01:00
Łukasz Olczak
7a1b333f2c
'text/save' method ( #601 )
2020-03-12 16:27:47 +01:00
Łukasz Olczak
004f73c649
text/applyEdit
method (#598 )
2020-03-11 17:55:07 +01:00
Dmitry Bushev
7b17e7e789
Add file/move message to language server ( #574 )
...
* feat: impl Ws MoveFile
* doc: update engine-services
* misc: run scalafmt
* test: add more
* fix: rebase
* test: add missing cases
* misc: run scalafmt
* test: update
2020-03-09 14:26:10 +03:00
Dmitry Bushev
22f505b6c4
Add file/exists message to language server ( #579 )
...
* feat: impl file/exists
* doc: update engine-services
* doc: wrap 80
2020-03-09 13:54:44 +03:00
Łukasz Olczak
31d5e6eb5b
text/closeFile method ( #583 )
2020-03-06 19:14:50 +01:00
Łukasz Olczak
e5530045bf
text/openFile method ( #575 )
2020-03-06 15:17:46 +01:00
Dmitry Bushev
2275a97233
Add file/copy message to language server ( #570 )
...
* feat: impl file/copy command
* test: add Ws tests
* doc: update engine-services
* misc: run scalafmt
* test: exists
* test: typo
* fix: impl missing test cases
2020-03-05 19:18:20 +03:00
Dmitry Bushev
a712288aad
Add file/delete message ( #568 )
...
* impl: file/delete
* add: tests
* doc: update engine-services
* misc: remove irrelevant comment
* test: address review comments
* Revert "misc: remove irrelevant comment"
This reverts commit a89a5505db59407a6ce7a8e8ab8e274ec0ee8f3f.
* test: exists
2020-03-04 16:43:35 +03:00
Marcin Kostrzewa
da392ff26f
Split tests & select random port
2020-03-03 11:16:17 +01:00
Marcin Kostrzewa
5628752271
Rope data structure ( #561 )
2020-02-28 14:17:48 +01:00
Łukasz Olczak
0b22606fa1
File and directory creation for LS ( #560 )
2020-02-28 10:37:42 +00:00
Łukasz Olczak
fe471314ec
File Reads for the Language Server ( #559 )
...
File Reads for the Language Server
2020-02-26 18:03:14 +01:00
Łukasz Olczak
016602972f
File write feature. ( #557 )
...
Provides writing to a file capability. It writes a textual content to an arbitrary file.
2020-02-25 14:38:48 +01:00
Marcin Kostrzewa
d394888a5a
Capabilities system & canEdit capability ( #555 )
2020-02-24 11:23:08 +01:00
Marcin Kostrzewa
639c2aeceb
Json RPC improvements & basic server structure. ( #522 )
2020-02-21 12:35:14 +01:00
Dmitry Bushev
8d8e95e14a
Update to scala 2.13.1 ( #481 )
2020-02-13 14:33:39 +00:00