Commit Graph

251 Commits

Author SHA1 Message Date
Danilo Guanabara
277b4f26ab Text file operations and execution management (https://github.com/enso-org/ide/pull/411)
Original commit: d8eae54fe4
2020-05-12 15:20:29 +02:00
Michael Mauderer
97c3500782 Displaying visualizations on nodes (https://github.com/enso-org/ide/pull/390)
* Implement visualisation component.
* Implement key actions to hide and show visualisations.
* Implement dummy visualisation.

Original commit: c8e7075e28
2020-05-11 09:50:48 +02:00
Danilo Guanabara
306b1a9417 Intregration of Project Manager and File Manager to IDE (https://github.com/enso-org/ide/pull/409)
Location was removed because enso_protocol::file_manger::Path is more complete now.

Original commit: 7cd0df574d
2020-05-07 16:19:38 +02:00
Michał Wawrzyniec Urbańczyk
6f21f6505e Reorder nodes when connecting, if needed. (https://github.com/enso-org/ide/pull/403)
Co-authored-by: Adam Obuchowicz <adam.obuchowicz@luna-lang.org>

Original commit: e1df22ee6d
2020-05-06 15:35:15 +02:00
Danilo Guanabara
8bafe983a5 File Manager Client (https://github.com/enso-org/ide/pull/391)
Co-authored-by: mwu <mwu-tow@gazeta.pl>
Co-authored-by: Adam Obuchowicz <adam.obuchowicz@luna-lang.org>

Original commit: 24fc48f48b
2020-05-06 01:23:41 +02:00
Danilo Guanabara
817fd766c6 Project manager client (https://github.com/enso-org/ide/pull/366)
Original commit: 5bc3b7b3a3
2020-05-04 20:59:43 +02:00
Adam Obuchowicz
8abda0e5b8 Add endpoints to GraphEditor (https://github.com/enso-org/ide/pull/394)
Original commit: 86856b6332
2020-05-04 11:09:59 +02:00
Michał Wawrzyniec Urbańczyk
45b21c5b07 Connection Operations Refactoring (https://github.com/enso-org/ide/pull/395)
Co-authored-by: Adam Obuchowicz <adam.obuchowicz@luna-lang.org>

Original commit: 26ab3c623e
2020-04-30 21:23:41 +02:00
Adam Obuchowicz
4b5a0dc0c0 Fix crashes on IDE startup (https://github.com/enso-org/ide/pull/393)
Original commit: e4904224c5
2020-04-30 14:42:18 +02:00
Adam Obuchowicz
ef5cb279a3 Generating SpanTree from macros (https://github.com/enso-org/ide/pull/389)
Before during SpanTree generation we treated macros as a leaves. Now we properly look into them, get all the AST nodes in their patterns and generate children of these SpanTree nodes from them.

Original commit: aeff31f2d8
2020-04-30 12:23:19 +02:00
Michał Wawrzyniec Urbańczyk
bc2551daf6 Alias analysis support for macros (https://github.com/enso-org/ide/pull/388)
Extends alias analysis support for macro-using code, including special support for lambda expressions.
Also, it fixes already standing omission where definition body identifier usage was not properly covered in the results. (We had assumed that we won't need it for connections — and we haven't for connections per se, but we need for utilities for connection ops).

Also, as I encountered a number of issues with parser, I've made sure that they are reported and created a test cases for them to easily keep track as we fix them.

Co-authored-by: Adam Obuchowicz <adam.obuchowicz@luna-lang.org>

Original commit: 761e2691bb
2020-04-29 19:29:37 +02:00
Wojciech Daniło
d4b4a211c2 Fixing blurred shapes on MacOS
Original commit: e7afdb245b
2020-04-29 05:32:43 +02:00
Wojciech Daniło
1bb1a5f8de Theme manager (https://github.com/enso-org/ide/pull/386)
Original commit: ddf6fab49f
2020-04-29 04:09:45 +02:00
Adam Obuchowicz
e6a0461674 Double Representation Connection operations (https://github.com/enso-org/ide/pull/387)
Original commit: 1d8c282344
2020-04-28 17:48:06 +02:00
Adam Obuchowicz
de7683c2a9 Span Tree Operations (https://github.com/enso-org/ide/pull/383)
Implemented Set and Erase operations on SpanTree. Also modified SpanTree, that it have much more Empty nodes, and those empty nodes now are used for inserting.

Note: Because we're approaching deadline, functions added to chains have not unit tests for their own, although they're covered by spantree operations tests.

Original commit: a2701a0cdd
2020-04-28 12:52:40 +02:00
Josef
3194dd93a2 Crumb implementation for Match and Ambiguous. (https://github.com/enso-org/ide/pull/381)
Original commit: abd6dab38e
2020-04-24 17:15:54 +02:00
Michael Mauderer
3e2c8bef84 Enable alpha blending for ID pass (https://github.com/enso-org/ide/pull/364)
* Enable working alpha blending for ID pass via bit encoding of IDs in a RGB8 texture..
* Add facilities to change texture parameters.

Original commit: b46012e3fa
2020-04-24 13:12:40 +02:00
Wojciech Daniło
23cb61d611 Style manager (https://github.com/enso-org/ide/pull/382)
Original commit: 03bac5867a
2020-04-23 23:06:17 +02:00
Danilo Guanabara
e1973c3ae9 Added MacOS specific shortcuts (https://github.com/enso-org/ide/pull/353)
Original commit: 9ce0e35053
2020-04-21 22:03:36 -03:00
Josef
dcd245da5c Flexer: Automata implementation. (https://github.com/enso-org/ide/pull/347)
Original commit: 5ea54b473e
2020-04-21 20:59:33 +02:00
Adam Obuchowicz
95cc8b8d47 Span Tree (https://github.com/enso-org/ide/pull/358)
Created a new SpanTree crate in IDE. The structure itself is quite straightforward. To generate span-tree from AST you may use method generate_tree from generator::SpanTreeGenerator trait.

Original commit: 194caafd09
2020-04-21 15:33:46 +02:00
Michał Wawrzyniec Urbańczyk
6f3a328c23 Connection Discovery (https://github.com/enso-org/ide/pull/380)
ref #2203

Original commit: c1c68bf6a0
2020-04-20 21:42:05 +02:00
Wojciech Daniło
5a8d1a9c05 FRP Improvements. (https://github.com/enso-org/ide/pull/365)
Original commit: 896c08aab7
2020-04-18 04:14:23 +02:00
Michael Mauderer
03f6183244 Port Drawing (https://github.com/enso-org/ide/pull/333)
* Add dummy scaffolding for port drawing capabilities to nodes.
* Add abstractions for trigonometric functions on types.
* Add Registry to handle port creation and layouting.
* Freeze `math::algebra` exports to prelude.
* Add zoom adjustments for port shapes.
* Allow setting of positions and add dummy ports.

Original commit: d24dd5e053
2020-04-16 17:55:20 +02:00
Michael Mauderer
98b5fe197b Add a debug view that renders shape IDs (https://github.com/enso-org/ide/pull/356)
* Add display mode that can visualise shape IDs.
* Add key toggle on "2" to switch to debug view.

Original commit: 3a868ea282
2020-04-16 17:02:51 +02:00
Wojciech Daniło
7621c36db2 FRP 2.0 (improved component model, and better keyboard management) (https://github.com/enso-org/ide/pull/348)
Original commit: 4cd9dc5676
2020-04-15 23:52:15 +02:00
Michał Wawrzyniec Urbańczyk
bc424c2a98 Alias analysis (https://github.com/enso-org/ide/pull/363)
Original commit: 7718d6a348
2020-04-15 21:01:08 +02:00
Danilo Guanabara
5dc8973a05 async sleep function (https://github.com/enso-org/ide/pull/357)
Original commit: 9b1cc066f9
2020-04-15 10:46:22 -03:00
Danilo Guanabara
8ebb17d538 Fixed PageUp and PageDown (https://github.com/enso-org/ide/pull/340)
Original commit: 87c1628448
2020-04-15 10:10:10 -03:00
Wojciech Daniło
05d1e3c13d Node Model (https://github.com/enso-org/ide/pull/268)
Original commit: 169b3d145a
2020-04-03 13:18:22 +02:00
Michał Wawrzyniec Urbańczyk
0c5b5b8081 #[derive(CloneRef)] also works on types with type-level bounds. (https://github.com/enso-org/ide/pull/323)
Original commit: b9f9c37d96
2020-04-03 08:16:52 +02:00
Danilo Guanabara
546aeb4ec0 Create crumbs for missing Shapes (https://github.com/enso-org/ide/pull/313)
Original commit: f746857cc9
2020-04-01 21:50:16 -03:00
Adam Obuchowicz
97c146fbdc Fix problems with tests run in parallel (https://github.com/enso-org/ide/pull/332)
Global spawner was made thread local.

Original commit: 8931df9b44
2020-04-01 17:33:04 +02:00
Adam Obuchowicz
160811f506 IDE controllers refactoring (https://github.com/enso-org/ide/pull/314)
This change refactor controllers such way, that use RefCells only 
when it is necessary, and do some more code cleanup.


Original commit: 56ae2d48a4
2020-03-31 18:37:36 +02:00
Michał Wawrzyniec Urbańczyk
c2ef15c0bf Fix #[derive(CloneRef)] for generic types with more than one type parameter. (https://github.com/enso-org/ide/pull/316)
Original commit: 7f8541ad54
2020-03-29 01:29:10 +01:00
Michał Wawrzyniec Urbańczyk
f39686e152 Proc macro for #[derive(CloneRef)] (https://github.com/enso-org/ide/pull/315)
Original commit: 6378d9ef11
2020-03-28 02:10:09 +01:00
Michał Wawrzyniec Urbańczyk
fd269d2457 Node Operations (https://github.com/enso-org/ide/pull/298)
Original commit: cf01ebf061
2020-03-27 23:59:02 +01:00
Danilo Guanabara
6552176247 CI fails on error (https://github.com/enso-org/ide/pull/291)
Original commit: 1de3c3413a
2020-03-27 09:25:55 -03:00
Adam Obuchowicz
4af19c5745 Fix drawing instance with empty buffers (https://github.com/enso-org/ide/pull/292)
This code was developed as a fix for occuring "crashes" on Windows, 
which were in fact a "contextLost" events of WebGl.


Original commit: 92b95df814
2020-03-25 15:29:36 +01:00
Josef
248a1caace Graph API - Node position in metadata (https://github.com/enso-org/ide/pull/274)
authored-by: Josef <j.f.vonasek@gmail.com>

Original commit: e4a9d7742a
2020-03-20 08:37:28 +01:00
Danilo Guanabara
cac0dfc0c3 Cursor word step tests fix (https://github.com/enso-org/ide/pull/278)
Original commit: 6d3fe6472d
2020-03-18 17:29:45 -03:00
Adam Obuchowicz
cd31d690b3 Mac and Windows shortcuts fixes (https://github.com/enso-org/ide/pull/273)
* Fix pasting on Mac
* Fix AltGraph handling on Windows

Original commit: c077e466b2
2020-03-18 16:09:11 +01:00
Josef
81ad282d84 removed idmap (https://github.com/enso-org/ide/pull/276)
Original commit: b6ce9ef2ea
2020-03-18 10:40:39 +01:00
Adam Obuchowicz
32a4cc37ea Improve cursor blinking (https://github.com/enso-org/ide/pull/271)
Before blinking cursor was done by setting width to 0.0, but this leaves a very-thin line instead of disappearing cursor entirely.

This fixes this, and make the blinking by setting color to transparent instead of setting width.

Original commit: d01523fb21
2020-03-18 09:19:12 +01:00
Michał Wawrzyniec Urbańczyk
83c66d265a Graph and Node controllers stub and mock implementations (https://github.com/enso-org/ide/pull/262)
For early design / API review.
Authored by michal.urbanczyk@luna-lang.org

Original commit: 461e6ae780
2020-03-18 08:43:52 +01:00
Danilo Guanabara
ef070434f3 Make the extra cursor navigation operations in TextField (https://github.com/enso-org/ide/pull/241)
Original commit: 3a9ed82efd
2020-03-17 19:50:45 -03:00
Adam Obuchowicz
46d0376c81 Fix build script (https://github.com/enso-org/ide/pull/269)
See https://doc.rust-lang.org/cargo/reference/build-scripts.html#rerun-if-changed for reference

Original commit: a342ecfea4
2020-03-17 17:30:43 +01:00
Adam Obuchowicz
b4ad324cf5 Fix stuck keymask after alt-tabbing (https://github.com/enso-org/ide/pull/270)
After pressing Alt-tab editor did not received keyup events so the keymask was stuck with pressed-alt state. To fix that, we clear the mask each time window lose focus.

Original commit: 29f3226f11
2020-03-17 17:06:12 +01:00
Adam Obuchowicz
e207e0afa9 Fix text selection (https://github.com/enso-org/ide/pull/265)
Original commit: ada57d9078
2020-03-16 11:56:53 +01:00
Wojciech Daniło
6009caa205 Making tests on CI faster by running them in parallel (https://github.com/enso-org/ide/pull/264)
Original commit: 44df1d6706
2020-03-16 11:16:16 +01:00
Wojciech Daniło
e10fc464a8 Refactoring file structure (https://github.com/enso-org/ide/pull/260)
Original commit: c38ca0d5a4
2020-03-16 03:58:00 +01:00