Commit Graph

4236 Commits

Author SHA1 Message Date
Josef
f0075eba50 Generate idmap from AST. (https://github.com/enso-org/ide/pull/215)
Authored by josev

Original commit: 6614e2ab1e
2020-03-04 15:00:49 +01: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
Danilo Guanabara
ce9a1d7f5f Keep cursor positions on text refresh (https://github.com/enso-org/ide/pull/232)
Original commit: 0b8efa24fd
2020-03-04 05:06:38 -03:00
Łukasz Olczak
8bf56f5e6d
Artefact Builds for the Language Server (#566) 2020-03-03 14:11:42 +01:00
Danilo Guanabara
dac19291dc Selecting word occurrences (https://github.com/enso-org/ide/pull/224)
Original commit: d83b53e1c6
2020-03-03 10:05:21 -03:00
Marcin Kostrzewa
da392ff26f
Split tests & select random port 2020-03-03 11:16:17 +01:00
Ara Adkins
fa845ee4c6
Convert the compiler pipeline to scala (#563) 2020-03-02 12:33:28 +00:00
Adam Obuchowicz
58e12104b0 Minimal Text API for Double Representation (https://github.com/enso-org/ide/pull/221)
Implemented Text API which updates id_map and ast on each code change.

This PR contains also an implementation for actual opening and initializing Module Controller.
Added a "Text changed" callback to TextField which is fired on every user edit.


Original commit: b027517b34
2020-02-28 19:29:37 +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
Wojciech Daniło
8b3eba16b0 Initial shape of collapsed nodes + progress bar.
Original commit: 19d6b6636b
2020-02-28 00:06:22 +01:00
Danilo Guanabara
81a7147387 View x Controller integration (https://github.com/enso-org/ide/pull/219)
Original commit: ff80159116
2020-02-26 16:12:38 -03: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
Michał Wawrzyniec Urbańczyk
75127d07b9
Fixed nested serialization on the parser service request format. (#558) 2020-02-26 14:32:05 +01:00
Josef
edebe6b661 Pass IDMap to scala parser. (https://github.com/enso-org/ide/pull/212)
Original commit: ae92ae1a96
2020-02-26 14:11:40 +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
Josef
083fa0e4a5
Pass id map to parser calls. (#556) 2020-02-25 13:11:20 +01:00
Marcin Kostrzewa
d394888a5a
Capabilities system & canEdit capability (#555) 2020-02-24 11:23:08 +01:00
Danilo Guanabara
5c3f1dadec Using Chrome in ./script/test.sh (https://github.com/enso-org/ide/pull/171)
Original commit: b9b9c510f0
2020-02-24 02:56:32 -03:00
Marcin Kostrzewa
41c992b13e
Add content field to text/openFile 2020-02-21 18:34:17 +01:00
Ara Adkins
cd5206e3a4
Specify the engine protocol (#554) 2020-02-21 16:29:50 +00:00
Michał Wawrzyniec Urbańczyk
5a9c32360e File Manager Integration (https://github.com/enso-org/ide/pull/203)
This PR brings code necessary to fully integrate file manager and properly use it.
Two most important parts are:
* executor that can be integrated with basegl's event loop;
* implementation of the `Transport` trait based on `web_sys::WebSocket`.

I've also added some glue code to put the file manager connection into the project view.

Implements #2105.

Original commit: 64c06632e1
2020-02-21 16:54:42 +01:00
Marcin Kostrzewa
639c2aeceb
Json RPC improvements & basic server structure. (#522) 2020-02-21 12:35:14 +01:00
Danilo Guanabara
5c4e444e4e Navigator refactoring and other improvements on the new MouseManager (https://github.com/enso-org/ide/pull/201)
Original commit: f4e3f13f5c
2020-02-20 00:36:55 -03:00
Ara Adkins
e8fcb445be
Clean up the stopgap IR (#521) 2020-02-19 14:41:17 +00:00
Josef
06363f4126
Pass id map to parser calls. (#519) 2020-02-19 13:10:01 +01:00
Adam Obuchowicz
1a796a2e07 Text controller implementation (https://github.com/enso-org/ide/pull/180)
This contains an initial TextController implementation, which can read and store the file content, and is obtainable from ProjectController.

Original commit: 66f4dfd0fa
2020-02-18 21:06:37 +01:00
Danilo Guanabara
a9f2de5b00 Initial Project View (https://github.com/enso-org/ide/pull/159)
Original commit: bfe5377ba5
2020-02-18 14:40:24 -03:00
Michał Wawrzyniec Urbańczyk
6897884a9e fixes for rendering on windows/chrome (https://github.com/enso-org/ide/pull/183)
Original commit: ef6fdb59d4
2020-02-18 14:01:59 +01:00
Ara Adkins
adf5fe7db2
Add more in-depth tests to core (#489) 2020-02-14 16:29:24 +00:00
Adam Obuchowicz
ca9497e879 TextField mouse input (https://github.com/enso-org/ide/pull/175)
Implemented FRP graph handling mouse events for TextField. Alt+Shift click add new cursor, enabling multicursor edit.

Original commit: 1f5a8257b4
2020-02-14 17:08:47 +01:00
Dmitry Bushev
8d8e95e14a
Update to scala 2.13.1 (#481) 2020-02-13 14:33:39 +00:00
Danilo Guanabara
8527741ad3 Fix renderer & navigator resizing (https://github.com/enso-org/ide/pull/165)
Original commit: fb3ad45f8c
2020-02-13 10:02:18 -03:00
Ara Adkins
9dee1911f8
Add smart constructors for the core nodes (#480) 2020-02-13 09:52:05 +00:00
Adam Obuchowicz
0fe5b0fe8e TextField keyboard input. (https://github.com/enso-org/ide/pull/170)
Implemented the reactions of TextField for keyboard events.

It includes change for Fonts - now we don't have to pass
reference to FontRegistry on each text operation.

Original commit: e6e44ad827
2020-02-13 10:26:42 +01:00
Michał Wawrzyniec Urbańczyk
dc1ce292b0 Make JSON-RPC handler more async-compatible (https://github.com/enso-org/ide/pull/172)
Original commit: 0dd46b3013
2020-02-13 03:16:38 +01:00
Michał Wawrzyniec Urbańczyk
10f78ec5c3 JSON-RPC uses params, not input (https://github.com/enso-org/ide/pull/173)
Original commit: ecd09ab2ac
2020-02-12 23:42:30 +01:00
Michał Wawrzyniec Urbańczyk
e184719b95 Fixes and Improvements for File Manager Mock Server (https://github.com/enso-org/ide/pull/174)
Original commit: 08525ce337
2020-02-12 22:40:21 +01:00
Marcin Kostrzewa
a288ecaa5c
JSON RPC base actor (#482) 2020-02-12 17:41:20 +01:00
Michał Wawrzyniec Urbańczyk
91f3703663 Mock File Manager Server (https://github.com/enso-org/ide/pull/167)
Ref #2106 

Original commit: a6569fefa7
2020-02-12 02:54:21 +01:00
Wojciech Daniło
b3c8d954de Update README.md
Original commit: 27adb447dc
2020-02-11 23:52:44 +01:00
Wojciech Daniło
ecda629e98 Node shapes part 1, build time optimization, lazy WASM loader. (https://github.com/enso-org/ide/pull/162)
Implements #2117
The application is now distributed to WASM binary (gzipped, not processed by webpack) and JS helpers bundle (gzipped, processed by webpack).
There is a new loader implementation that starts downloading the bundles and as soon as it finishes downloading the helper bundle, it starts online WASM compilation (before the WASM binary finishes downloading).
The loader displays a nice progress bar to the user.
The top-level examples folder was renamed to app and changed significantly. It is meant now to be the base for our cloud and native app. When you run it, please navigate to http://localhost:8080/debug to get the list of debug demo scenes.

Implements #2118
Please use ./scripts/watch.sh --dev. After changing any example scene, the time between hitting ctrl+s and seeing new results in the browser dropped from 45s to 3s.

Implements #2110

Original commit: f21998f4f2
2020-02-11 00:47:03 +01:00
Adam Obuchowicz
d6d59d224d Moving cursors after each edit (https://github.com/enso-org/ide/pull/160)
Before, all edits did not adjust the cursor positions, but they remained with their selection in the same location. 

Original commit: 57cdbbf588
2020-02-10 18:20:47 +01:00
Adam Obuchowicz
81d0bb555b Wip/ao/clipboard (https://github.com/enso-org/ide/pull/154)
The implementation of clipboard operations on TextField.

Original commit: cee54a7614
2020-02-10 14:04:52 +01:00
Michał Wawrzyniec Urbańczyk
1879b97b57 Utilities for safe usage of handles with RefCell values. (https://github.com/enso-org/ide/pull/156)
Original commit: 23ea51b92d
2020-02-07 04:02:18 +01:00
Danilo Guanabara
685c6d0c37 World Integration 🌎🕊️ to Css3dSystem (https://github.com/enso-org/ide/pull/133)
CSS 3D System x World integration

Original commit: 7c47432a09
2020-02-06 13:09:29 -03:00
Danilo Guanabara
692432e498 File size checking 📏 (https://github.com/enso-org/ide/pull/148)
File size checking

Original commit: cce31b31ae
2020-02-06 07:13:07 -03:00
Wojciech Daniło
ca2b242a33 Create CODEOWNERS
Original commit: b80f1d9643
2020-02-06 03:49:42 +01:00
Wojciech Daniło
adf6a10fb9 Implementation of optimization passes to the FRP engine. (https://github.com/enso-org/ide/pull/135)
Original commit: 675039a37d
2020-02-05 22:13:37 +01:00
Adam Obuchowicz
3c95b1502f New Text Component (https://github.com/enso-org/ide/pull/132)
Refactored TextComponent to use the sprites and glyph system, and renamed it to TextField. Also do much refactoring stuff and add missing documentation.

Original commit: 49efefad2c
2020-02-04 20:07:08 +01:00