Commit Graph

332 Commits

Author SHA1 Message Date
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
Ara Adkins
a4ad235597
Design and specify the visualisation protocol (#640) 2020-04-09 13:57:50 +01: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
Ara Adkins
96be262585
Update CODEOWNERS 2020-04-08 18:21:37 +01:00
Joe
26e26587ea
Fix some CONTRIBUTING.md instructions (#638) 2020-04-08 16:02:22 +01:00
Ara Adkins
3ab9f7c266
Update CI configuration to ignore docs 2020-04-08 15:07:53 +01:00
Dmitry Bushev
fb2de226af
doc: fix engine-services format (#639) 2020-04-08 16:20:45 +03:00
Ara Adkins
29f1eb7497
Update README.md 2020-04-07 17:52:38 +01:00
Ara Adkins
37d4379d42
Fix the CODEOWNERS file (#636) 2020-04-07 16:01:20 +01:00
Ara Adkins
5c8cf68d00
Create CODEOWNERS 2020-04-07 11:06:53 +01:00
Ara Adkins
c354eacc79
Update the docs to refer to the new domain 2020-04-06 17:13:19 +01:00
Ara Adkins
8d73138424
Update README.md 2020-04-06 12:32:21 +01:00
Ara Adkins
566d139b49
Make the README prettier 2020-04-06 12:32:10 +01: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
Łukasz Olczak
56a4d80685
Implementation of project/listRecent command (#633) 2020-04-03 12:50:52 +02: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
Josef
6e2d552716
fix parser benchmarks (#629) 2020-03-27 16:45:31 +01:00
Marcin Kostrzewa
bf758ebc6d
Thread IDs through the compiler pipelines (#627) 2020-03-26 11:59:50 +01: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
Ara Adkins
0f4755ff52
Enable artefact builds on all PR branches (#625) 2020-03-25 07:53:33 +00:00
Ara Adkins
2edede781d
Update workflow to exclude on push 2020-03-24 19:51:05 +00:00
Ara Adkins
45863a611e
Update docs with new CI info 2020-03-24 19:48:53 +00:00
Ara Adkins
0a7b55ca66
Swap CI to GitHub actions (#622) 2020-03-24 19:35:42 +00:00
Ara Adkins
310d3ce617
Add a basic checkout action 2020-03-24 12:53:45 +00:00
Ara Adkins
a319a0177f
Add a basic GH actions workflow (#620) 2020-03-24 12:52:02 +00:00
Łukasz Olczak
b2f67c5353
project/create and project/delete methods (#615) 2020-03-24 13:03:43 +01:00
Ara Adkins
2c1d967dd6
Extract remaining analyses from codegen (#616) 2020-03-24 10:28:03 +00:00
Dmitry Bushev
6f8d3b73bb
test: wait for FileManager init (#617) 2020-03-23 21:37:11 +03:00
Ara Adkins
b6221e519a
Implement explicit alias analysis (#613) 2020-03-20 08:01:03 +00: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
Ara Adkins
530d54bce0
Fix a few things in CONTRIBUTING.md 2020-03-17 10:06:47 +00:00
Michał Wawrzyniec Urbańczyk
ad806e7a81
Fix for Parser Giving Ids (#595) 2020-03-13 18:20:52 +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
Josef
ed1a37f902
Fix parsing of metadata. (#604) 2020-03-13 12:34:38 +01: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
Josef
c2df4e7957
Store idmap with metadata in source file. (#586) 2020-03-11 21:13:23 +01:00
Łukasz Olczak
004f73c649
text/applyEdit method (#598) 2020-03-11 17:55:07 +01:00
Ara Adkins
a96bae69fc
Remove rustfmt 2020-03-11 13:39:11 +00:00
Ara Adkins
96eee6ac1a
Remove unnecessary holdout from rust 2020-03-11 11:12:16 +00:00
Maciej Mikołajek
471c8aebe6
Add documentation for Documentation Parser (#596)
* Add documentation for DocParser

* Edit the documentation of the doc comment syntax

Co-authored-by: Ara Adkins <me@ara.io>
2020-03-10 16:18:59 +01:00
Michał Wawrzyniec Urbańczyk
22c431c796
Parser Attaching Ids to Expressions (#577)
This PR makes two changes:
1. parser will give IDs to nodes' expressions (unless already set);
2. `ASTOf.equals` will not compare IDs

Both were already agreed to and implemented as part of `wip/mwu/graph-syntax` branch (though 1. in quite different shape). However, it was abandoned after Rust was selected as the technology for IDE "backend". Now, as we are reimplementing double representation in Rust we need parts of the technology back in the parser.

Prerequisite for https://github.com/luna/ide/issues/186.
Implements https://github.com/luna/ide/issues/228.
2020-03-09 15:49:04 +01:00
Ara Adkins
cc98f15ee8
Update the bug report template 2020-03-09 13:51:28 +00:00
Ara Adkins
ac5a9eb639
Add a --version flag to the cli (#584) 2020-03-09 13:44:40 +00:00