Commit Graph

600 Commits

Author SHA1 Message Date
Danilo Guanabara
503f1f22d9 Visualization pointer events & nodes overlapping (https://github.com/enso-org/ide/pull/776)
* Viz behind canvas

* Visualization pointer events switching

* make branch updated as it is really necessary for me ...

* remove d3js gen

* remove d3js gen

* Scatterplot works as intended, is scrollable, cannot scroll in raw text.

* scrollbars

* not hardcoded scatterplot

* Fix visualization displaying over node

* Make all visualizations show on screen

* Make all visualizations show on screen

* It does not work the way that i want

* Works!

* get bv from other branch

* rev ready.

* rev ready.

* rev ready.

* rollback

* rev changes

* fix

* Fix event handling

* Fix compilation (I hope)

* leave a note

* leave a note

* leave a note

Co-authored-by: BinarySoftware <mkmikolajek@icloud.com>
Co-authored-by: Adam Obuchowicz <adam.obuchowicz@enso.org>
Co-authored-by: Adam Obuchowicz <adam.obuchowicz@luna-lang.org>

Original commit: 26f7ef3336
2020-09-21 14:17:10 +02:00
Adam Obuchowicz
ba41b7d7fd Fix white text on light background in searcher (https://github.com/enso-org/ide/pull/798)
Original commit: 0f128f7027
2020-09-18 16:19:53 +02:00
Maciej Mikołajek
00eac28103 Enso Studio light theme (https://github.com/enso-org/ide/pull/731)
* prepare

* save state

* save state

* save state

* use style for vis

* Revert "save state"

This reverts commit db2e0641

* gray-ish bg and lighter nodes

* gray-ish bg and lighter nodes

* light bg and node

* ports

* ideal vis shadow

* better

* shadow seems fine

* borders not shadows

* changes

* back to shadow

* Using theme manager for text - both dark and light work !

* adjust

* bc

* rm changes

* better

* prepare

* breadcrumbs and text-vis use theme manager !

* rev

* clean

* info

* list view looks nice!

* save state

* rev

* typo

* nl

* Cuz every little thing
Gonna be all right

* up

* better

* better

* rm unused imports

* rev

* rev

* rev

* rev

* rev

* rev

* ln

* save state

* testing

* save state

* ready

* rev

* up

* Keyboard shortcut for changing style - issue : Program does change style, when logged new data appear, but the visual aspect stays the same.

* fix

* fix

* spaces fix

* rev

* move

* fix indent

* save

* parses

* save

* save

* progresso after espresso

* progresso after espresso

* actually works!

* generate modules

* clean

* A little redesign

* save

* save

* compiles

* works

* review ready

* review ready

* review ready

* Rev in progresso

* Rev in progresso

* works.

* works.

* rev ready.

* rev

Co-authored-by: Wojciech Daniło <wojciech.danilo@gmail.com>
Co-authored-by: Adam Obuchowicz <adam.obuchowicz@enso.org>

Original commit: 36fd6c4a12
2020-09-18 13:56:55 +02:00
Adam Obuchowicz
cc1a067759 Searcher Edit View (https://github.com/enso-org/ide/pull/791)
This is a first part of Searcher Edit View: it implements the main logic, with some missing parts:
* There are no icons next to suggestion entries
* The documentation panel is not shown.
* There is not any connection when bringing Searcher having node selected.

Original commit: 0e3471e9b7
2020-09-17 16:36:15 +02:00
Adam Obuchowicz
4036bfabcf Update CONTRIBUTING.md (https://github.com/enso-org/ide/pull/794)
Original commit: b086463734
2020-09-17 14:46:09 +02:00
Michał Wawrzyniec Urbańczyk
7a05ca3982 Argument Names in the Span Tree (https://github.com/enso-org/ide/pull/781)
Original commit: 04879bd496
2020-09-11 18:09:07 +02:00
Adam Obuchowicz
376122fda2 Restore codeowners (https://github.com/enso-org/ide/pull/789)
Original commit: d33b8b8c59
2020-09-11 10:55:58 +02:00
dependabot[bot]
56490d2484 Bump yargs-parser from 18.1.0 to 18.1.3 in /build (https://github.com/enso-org/ide/pull/780)
Original commit: bc8b6bcb7e
2020-09-10 18:42:52 +02:00
Maciej Mikołajek
1a796858bd Fix ability to toggle dev console in app on macOS. (https://github.com/enso-org/ide/pull/784)
Original commit: 3d0ea7d6c7
2020-09-09 17:20:23 +02:00
Maciej Mikołajek
8bf168dd16 Reenable .strict() for yargs parser after macOS Big Sur fix. (https://github.com/enso-org/ide/pull/783)
Co-authored-by: Adam Obuchowicz <adam.obuchowicz@luna-lang.org>

Original commit: b3715e5234
2020-09-09 11:58:38 +02:00
Adam Obuchowicz
1b29afddca Enable EnsoGL examples in IDE (https://github.com/enso-org/ide/pull/782)
Original commit: 9c68e995cb
2020-09-09 11:14:59 +02:00
Maciej Mikołajek
722872432f Fix electron-related bugs - #2167, #2298, #2447 (https://github.com/enso-org/ide/pull/772)
Original commit: 71a6b21221
2020-08-31 15:11:58 +02:00
Maciej Mikołajek
d11c861815 Fix nodes overlapping (https://github.com/enso-org/ide/pull/768)
Original commit: 87fd42305d
2020-08-27 17:49:35 +02:00
Michał Wawrzyniec Urbańczyk
3e57bbf2bd "Collapse nodes" action in the graph editor (https://github.com/enso-org/ide/pull/764)
Original commit: 97f5fb256f
2020-08-27 01:09:22 +02:00
Adam Obuchowicz
bd36daeba7 Refactored Graph Editor (https://github.com/enso-org/ide/pull/759)
Original commit: 0f3815c6b0
2020-08-25 18:15:51 +02:00
Michał Wawrzyniec Urbańczyk
70962cb976 Collapsing nodes (https://github.com/enso-org/ide/pull/738)
Original commit: 21727ea4d3
2020-08-24 01:58:46 +02:00
Maciej Mikołajek
cd8be60b78 Documentation View (https://github.com/enso-org/ide/pull/702)
Original commit: d7fabd103b
2020-08-21 11:16:54 +02:00
Adam Obuchowicz
7e6bc37bf3 Select Component (https://github.com/enso-org/ide/pull/729)
Original commit: d74eb88eb7
2020-08-21 09:50:21 +02:00
Danilo Guanabara
57c4bd01c2 Breadcrumbs Panel (https://github.com/enso-org/ide/pull/662)
Original commit: 5a4ba838f8
2020-08-19 19:24:19 -03:00
Adam Obuchowicz
4f9b04056f Set codeowners to mwu (https://github.com/enso-org/ide/pull/735)
Original commit: 8a20ecd0c9
2020-08-19 20:46:10 +02:00
Michael Mauderer
7bcca50d0e fix: Fix naming clash. (https://github.com/enso-org/ide/pull/728)
Original commit: 9b5d4df05c
2020-08-18 13:24:11 +02:00
Michał Wawrzyniec Urbańczyk
25deac3c50 Double representation support for adding methods to the module. (https://github.com/enso-org/ide/pull/727)
Original commit: bc7036c9ef
2020-08-17 13:58:42 +02:00
Wojciech Daniło
79c83b7a2f Fixing the bug: Fix old visual elements state. (https://github.com/enso-org/ide/pull/725)
Original commit: 8ca65fbf58
2020-08-14 13:55:34 +02:00
Adam Obuchowicz
6cf97e4fe3 Integrate Expression Change with controllers (https://github.com/enso-org/ide/pull/724)
Original commit: 75ef28b86b
2020-08-14 13:40:44 +02:00
Adam Obuchowicz
666906fa88 Searcher controller: Filtering suggestions (https://github.com/enso-org/ide/pull/717)
Original commit: e39878050d
2020-08-14 12:38:03 +02:00
Wojciech Daniło
4417a9b1f7 Refactoring & display object bug fixing (https://github.com/enso-org/ide/pull/721)
Original commit: cf2b8296eb
2020-08-14 09:23:03 +02:00
Michał Wawrzyniec Urbańczyk
36d453d762 Update for Language Server API Changes (https://github.com/enso-org/ide/pull/720)
Original commit: 46566432ce
2020-08-13 16:52:52 +02:00
Wojciech Daniło
086596446a Ability to change text on nodes via GUI (https://github.com/enso-org/ide/pull/716)
Original commit: 7ac702fe51
2020-08-12 05:32:28 +02:00
Michał Wawrzyniec Urbańczyk
53387ccbee Argument Completion Suggestions (https://github.com/enso-org/ide/pull/706)
Original commit: b38cce93f5
2020-08-10 12:34:16 +02:00
Michael Mauderer
7d985405a6 Replace manual toolchain override with rust-toolchain file. (https://github.com/enso-org/ide/pull/715)
Original commit: d8242fb065
2020-08-10 10:24:48 +02:00
Wojciech Daniło
677a9534d1 Text Editor 2.0 (Part 2/2) (https://github.com/enso-org/ide/pull/707)
Original commit: 28c6358b11
2020-08-08 08:06:15 +02:00
Adam Obuchowicz
c5323ac825 Fix zooming and panning in IDE. (https://github.com/enso-org/ide/pull/712)
Original commit: 5e29a762d9
2020-08-07 12:48:40 +02:00
Maciej Mikołajek
ece41681ae Disable caching to fix CI (https://github.com/enso-org/ide/pull/708)
Original commit: d4bc689669
2020-08-05 20:35:30 +02:00
Michał Wawrzyniec Urbańczyk
e5010efe81 Recreate Main.enso file if it is missing. (https://github.com/enso-org/ide/pull/705)
Original commit: 709c277ded
2020-08-04 09:43:30 +02:00
Michael Mauderer
89be0ed4f5 Fix Minor Bugs with Output Ports (https://github.com/enso-org/ide/pull/703)
Original commit: bd0a5f124f
2020-07-31 10:03:37 +02:00
Michael Mauderer
e62de9cf74 Disconnect / reconnect edge source and target by clicking on edges. (https://github.com/enso-org/ide/pull/640) & Ability to set edge color based on type. (https://github.com/enso-org/ide/pull/663)
Original commit: 595594036d
2020-07-29 17:08:29 +02:00
Michał Wawrzyniec Urbańczyk
407c1ed9e7 Searcher Controller with "this" (https://github.com/enso-org/ide/pull/691)
Original commit: 447e57d31b
2020-07-29 16:38:08 +02:00
Michał Wawrzyniec Urbańczyk
52503a009c AST update - new spaceless shapes (https://github.com/enso-org/ide/pull/692)
Original commit: 14990b4e87
2020-07-28 14:49:34 +02:00
Michał Wawrzyniec Urbańczyk
dcd3b8b245 Adding nodes from searcher (https://github.com/enso-org/ide/pull/690)
Original commit: 823c946107
2020-07-27 20:44:24 +02:00
Maciej Mikołajek
4874c71ef6 Generate HTML Documentation in Suggestion Entries (https://github.com/enso-org/ide/pull/686)
Modifies docstring from suggestion database to HTML code, enabling us to present 
documentation for nodes in searcher

Original commit: 60b32d2956
2020-07-27 18:52:24 +02:00
Michał Wawrzyniec Urbańczyk
9c52ff9db6 Searcher Controller has access to Executed Graph (https://github.com/enso-org/ide/pull/687)
Co-authored-by: Adam Obuchowicz <adam.obuchowicz@enso.org>

Original commit: 5ced6ee5bc
2020-07-23 03:12:16 +02:00
Adam Obuchowicz
568fa31b49 Suggestions fixes (https://github.com/enso-org/ide/pull/685)
Fixes all discrepancies between IDE and Engine since Engine delivered implementation of suggestions.

Original commit: feca0b72d7
2020-07-22 14:37:57 +02:00
Wojciech Daniło
6eacb28c91 Update CONTRIBUTING.md (https://github.com/enso-org/ide/pull/669)
Original commit: 4845b02044
2020-07-21 22:28:20 +02:00
Adam Obuchowicz
d53fdbf31b Refactoring IDE models. (https://github.com/enso-org/ide/pull/681)
Co-authored-by: mwu <mwu-tow@gazeta.pl>

Original commit: d7d500f86d
2020-07-21 22:18:07 +02:00
Maciej Mikołajek
e03f109085 Connect Doc Parser and generator to IDE (https://github.com/enso-org/ide/pull/675)
* up parser version

* js client conn

* up parser

* test with parser right before integration

* checkpoint [skip ci]

* save state

* tests

* changes

* rev

* Adam Review

* requested changes

* Ability to generate Docstr from pure doc code

* bump

Original commit: 1e31d3b1db
2020-07-21 17:59:28 +02:00
Michał Wawrzyniec Urbańczyk
eb17ad8352 Parser Bump (https://github.com/enso-org/ide/pull/677)
* updated imports declaration

* parser bump, fixing the import regression

* this should be wasm test

* cleanups

* `in` is now treated as an operator

* one more fix

Original commit: 235ebdf38e
2020-07-20 17:35:43 +02:00
Michał Wawrzyniec Urbańczyk
cbed8f08bf Deserialization of the executionContext/executionFailed notification. (https://github.com/enso-org/ide/pull/664)
Original commit: e442234add
2020-07-17 01:04:41 +02:00
Michał Wawrzyniec Urbańczyk
6ff0d5fd6c Obtaining child AST text span (https://github.com/enso-org/ide/pull/660)
Original commit: ef91772c45
2020-07-17 00:36:36 +02:00
Danilo Guanabara
e0f2def065 Create temporary Untitled project and renaming projects (https://github.com/enso-org/ide/pull/617)
Original commit: 3c62f925f5
2020-07-16 16:05:25 -03:00
Adam Obuchowicz
3ba80bbe65 Applying suggestion in Searcher (https://github.com/enso-org/ide/pull/661)
Original commit: 010e10fe30
2020-07-16 16:54:47 +02:00
Adam Obuchowicz
820f2c9553 Searcher Controller (https://github.com/enso-org/ide/pull/654)
Currently it loads and provides an initial list of suggestions. Additionally there is a raw integration with view: then the current Searcher is put into the screen, it logs all the suggestions retrieved from the Engine.

Original commit: d719cf0e56
2020-07-16 09:50:31 +02:00
Michał Wawrzyniec Urbańczyk
48b8fea226 Import Management (https://github.com/enso-org/ide/pull/656)
Original commit: 329534b75c
2020-07-13 13:58:22 +02:00
Danilo Guanabara
87c5f28bbb Improved docs with custom visualization example (https://github.com/enso-org/ide/pull/625)
Original commit: 03d5d116fd
2020-07-10 22:00:26 -03:00
Maciej Mikołajek
675b1ae8e1 .strict() breaks yargs on macOS big sur (https://github.com/enso-org/ide/pull/657)
Original commit: 6fc78b6157
2020-07-10 22:15:31 +02:00
Danilo Guanabara
45aa69bdc3 Camera zfar hotfix (https://github.com/enso-org/ide/pull/648)
Original commit: 13efe30aef
2020-07-09 01:29:00 +02:00
Adam Obuchowicz
9cb5def3c2 Suggestions Database (https://github.com/enso-org/ide/pull/646)
Also refactored a bit the models and controllers.

Original commit: 5cfaf8d2b9
2020-07-08 18:13:32 +02:00
Michał Wawrzyniec Urbańczyk
974014431f Pass the method pointers information to the graph editor. (https://github.com/enso-org/ide/pull/647)
ref 593

Original commit: 02a2f19077
2020-07-08 16:55:31 +02:00
Michał Wawrzyniec Urbańczyk
11e326e65f Searcher uses node editor's controller to add nodes (https://github.com/enso-org/ide/pull/642)
Original commit: ab9272a856
2020-07-07 16:32:21 +02:00
Michał Wawrzyniec Urbańczyk
42252a925d opt-in flatc usage guarded by environment variable (https://github.com/enso-org/ide/pull/645)
Original commit: a4e73037f1
2020-07-07 13:23:03 +02:00
Michał Wawrzyniec Urbańczyk
bd5b414572 Proper Handling Blank Lines When Adding a Node (https://github.com/enso-org/ide/pull/643)
Original commit: 0a0cf89a72
2020-07-07 12:47:32 +02:00
Adam Obuchowicz
c8c45d8258 Rearrange crates (https://github.com/enso-org/ide/pull/616)
The crates in our repo were rearranged to better reflect the structure described in #2269.

Original commit: d81614d96f
2020-07-06 12:09:54 +02:00
Michał Wawrzyniec Urbańczyk
790338bea7 disables shaky test, fixed recently introduced warnings (https://github.com/enso-org/ide/pull/638)
Original commit: 0d8dd61f5a
2020-07-06 10:59:43 +02:00
Wojciech Daniło
82325eba1a Fixing on-release event not working (https://github.com/enso-org/ide/pull/636)
Original commit: 9e0cd599b5
2020-07-03 21:37:18 +02:00
Michał Wawrzyniec Urbańczyk
671d41079b Detaching visualizations on entering/exiting nodes (https://github.com/enso-org/ide/pull/632)
Original commit: 6bc7f3660d
2020-07-03 14:16:09 +02:00
Adam Obuchowicz
f1a48d8bf6 Add frontmatter blocks to each documentation page (https://github.com/enso-org/ide/pull/630)
Original commit: 1b338ea9ea
2020-07-03 12:08:14 +02:00
Wojciech Daniło
efee28e43f Update run.js
Original commit: 495a8dc974
2020-07-03 10:56:40 +02:00
Wojciech Daniło
a1410b7ec9 Editable text 2.0 (https://github.com/enso-org/ide/pull/559)
Original commit: fa9f14459b
2020-07-03 08:54:16 +02:00
Wojciech Daniło
d3c1e40e51 Revert "Use correct cursor position for node dragging and node instantiation. (https://github.com/enso-org/ide/pull/627)" (https://github.com/enso-org/ide/pull/633)
This reverts commit 940450b795.

Original commit: 7e27c79c11
2020-07-03 05:40:10 +02:00
Joe
ead7e32718 Action to update dev docs (https://github.com/enso-org/ide/pull/618)
Original commit: d4db47ca02
2020-07-02 19:38:04 +02:00
Michał Wawrzyniec Urbańczyk
30d4cc7562 Node entering and exiting (https://github.com/enso-org/ide/pull/620)
* The last selected node may be entered by pressing Ctrl+Enter.

Not yet integrated with the controller.

* document the shortcut

* more formal wording, removing spurious component name

* [wip]

* mostly working now, needs cleaning

* [wip] more

* test for the new module code

* rc refactoring 1

* i give up, so be it

* minor

* moved executed graph from controller to module

* cleanups

* enter -> step into

* rename follow up

* cleanups

* the test

* doc update

* CR feedback

* Revert "rename follow up"

This reverts commit 728592ad6abe6f3712f5137c6266376e5615e5db.

* more CR feedback

* applying more CR feedback

* bump size limit

* minor

* clippy

* alignment

* executed graoh controller is CloneRef back again

* section header

* refactoring how the executed graph is created to make it more mistake-proof

* minor

* Update src/rust/ide/src/controller/graph/executed.rs

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

* CR feedback

* CR feedback

* cr feedback, refactored graph_for_module to the graph controller -- where it should belong

* publisher refactor

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

Original commit: 2cfd9a2ffe
2020-07-02 16:02:27 +02:00
Michael Mauderer
940450b795 Use correct cursor position for node dragging and node instantiation. (https://github.com/enso-org/ide/pull/627)
Original commit: 59a2e8f57d
2020-07-02 12:18:11 +02:00
Ara Adkins
566a318a91 Remove shared libraries from the IDE repo (https://github.com/enso-org/ide/pull/626)
1.  Removes `prelude`, and renames it to `enso-prelude`.
2.  Removes `shapely`, and renames it to `enso-shapely`.
3.  Removes `macro-utils` and renames it to `enso-macro-utils`.

Original commit: a5069c1ae5
2020-07-01 16:26:24 +01:00
Adam Obuchowicz
0df765dcd5 The IDE team process specification (https://github.com/enso-org/ide/pull/621)
Original commit: e9892d5645
2020-07-01 16:17:40 +02:00
Michael Mauderer
d770f9b247 fix: Avoid clipping the edges of the multi port shape. (https://github.com/enso-org/ide/pull/586)
Original commit: 6b89b6830f
2020-06-28 20:06:18 +02:00
Wojciech Daniło
79421d83e3 Update coordinates.md
Original commit: d0dc3a3210
2020-06-28 04:42:11 +02:00
Adam Obuchowicz
a9617ac132 Bump websocket-extension version (https://github.com/enso-org/ide/pull/615)
The package-lock json was regenerated to have 0.1.4 version of websocket-extension. The older versions have vulnerabilities.

Original commit: 4c51b84596
2020-06-26 15:06:42 +02:00
Wojciech Daniło
e5ad355a54 Create coordinates.md
Original commit: 97fbc73bf1
2020-06-26 05:44:28 +02:00
Michał Wawrzyniec Urbańczyk
7fb5a77ff9 Refactor update -> refresh in the graph editor integration (https://github.com/enso-org/ide/pull/608)
Original commit: b18d900cdf
2020-06-25 13:33:09 +02:00
Michał Wawrzyniec Urbańczyk
fa601ca935 The last selected node may be entered by pressing Ctrl+Enter. (https://github.com/enso-org/ide/pull/607)
Original commit: 40a4176073
2020-06-25 12:54:41 +02:00
Wojciech Daniło
89d9ee0cc8 Create SECURITY.md
Original commit: 21c55da906
2020-06-24 23:35:11 +02:00
Danilo Guanabara
92edf4cb2e Open project with CLI arg (https://github.com/enso-org/ide/pull/578)
Original commit: 32b379cfee
2020-06-24 18:24:46 -03:00
Michał Wawrzyniec Urbańczyk
4d0e243f4f Passing Type Information To Graph Editor View (https://github.com/enso-org/ide/pull/602)
ref #2338

Original commit: 1cf7ec0cec
2020-06-24 17:09:56 +02:00
Adam Obuchowicz
87326a2f3b Expression id in span tree (https://github.com/enso-org/ide/pull/599)
The optional Expression Id was added to SpanTree, to allow reading type information by views.

Original commit: b85eeba5aa
2020-06-24 09:35:10 +02:00
Michał Wawrzyniec Urbańczyk
cb6a16d402 Routing type information to the graph editor integration layer (https://github.com/enso-org/ide/pull/564)
Original commit: db036ff878
2020-06-22 12:17:20 +02:00
Michał Wawrzyniec Urbańczyk
0f018e61a0 Fix to work with latest engine (https://github.com/enso-org/ide/pull/583)
Original commit: 69b252e164
2020-06-19 17:49:31 +02:00
Michał Wawrzyniec Urbańczyk
28573ecd8a Fixed a few cases for id map updating by text API. (https://github.com/enso-org/ide/pull/581)
Original commit: b0c286d7b8
2020-06-19 15:25:06 +02:00
Michael Mauderer
e759b267be Use correct position to calculate edge dragging. (https://github.com/enso-org/ide/pull/575)
Original commit: c1f703e045
2020-06-19 14:05:42 +02:00
Michael Mauderer
e9e9feda1c Enable computation of SDF bounds for grow modifier. (https://github.com/enso-org/ide/pull/582)
Original commit: 5609905697
2020-06-19 11:59:05 +02:00
Michał Wawrzyniec Urbańczyk
a651d4b60f Changed visualization toggle shortcut to Ctrl+Space (https://github.com/enso-org/ide/pull/580)
Original commit: 202c23ae6d
2020-06-19 03:08:13 +02:00
Wojciech Daniło
0651c2458f Hot fix for runtime error. To be properly fixed.
Original commit: 5af876f361
2020-06-19 02:29:49 +02:00
Michael Mauderer
f6f99934b4 Implement segmented output ports. (https://github.com/enso-org/ide/pull/525)
* Implement segmented output ports
* Delayed appearance of multi ports (https://github.com/enso-org/ide/pull/543)
* Implement delay to show output ports.

Original commit: ea0badb2e2
2020-06-18 22:55:48 +02:00
Danilo Guanabara
790d668731 Fixing IDE layout by taking into consideration the new scene origin (https://github.com/enso-org/ide/pull/573)
Original commit: 7038d2702f
2020-06-17 18:17:50 -03:00
Michael Mauderer
f88a1c20fd Enable multi-select iff cmd is held down during selection. (https://github.com/enso-org/ide/pull/569)
Original commit: bcaed112fe
2020-06-17 13:01:35 +02:00
Michael Mauderer
26212bfe4e Connect nodes starting from input ports. (https://github.com/enso-org/ide/pull/563)
Enable creatign edges from input port area.


Original commit: 0489d00b06
2020-06-17 10:30:07 +02:00
Ara Adkins
7077abc2cb Update the repo to use main as the default branch
Original commit: 706f1fd9ed
2020-06-15 18:11:36 +01:00
Michał Wawrzyniec Urbańczyk
198526afaa Text API changes (https://github.com/enso-org/ide/pull/556)
Original commit: e41be1d351
2020-06-13 03:53:27 +02:00
Wojciech Daniło
f96ea27f4a Node layout magnet, bug fixes (https://github.com/enso-org/ide/pull/551)
Original commit: c88a0bdaf1
2020-06-12 21:51:47 +02:00
Michael Mauderer
26ee8521cf Ensure the node is checked first. (https://github.com/enso-org/ide/pull/557)
Original commit: c11b3de086
2020-06-11 11:06:31 +02:00
Josef
74d7912d31 Implement selective logging. (https://github.com/enso-org/ide/pull/485)
Original commit: 788cd95e45
2020-06-10 18:20:22 +02:00
Danilo Guanabara
b8756cd60e Fixed textfield key masking on Mac (https://github.com/enso-org/ide/pull/552)
Original commit: 63ad62cf3d
2020-06-10 08:13:42 -03:00
Danilo Guanabara
b1e629716a Improved node searcher (https://github.com/enso-org/ide/pull/519)
Original commit: be88749d88
2020-06-09 02:33:06 -03:00
Wojciech Daniło
a1af4b7da0 Visualization behavior refactoring (https://github.com/enso-org/ide/pull/537)
Original commit: a4cc9a274a
2020-06-09 01:16:07 +02:00
Michał Wawrzyniec Urbańczyk
3396dd5593 Bump parser to fix metadata loss on entering a newline (https://github.com/enso-org/ide/pull/539)
* Bump parser version. Adding relevant tests.

* align

* use decls order

Original commit: 99b9a7760e
2020-06-05 00:34:57 +02:00
Danilo Guanabara
35f708e266 DomSymbol y orientation fix (https://github.com/enso-org/ide/pull/536)
Original commit: f8e328dfed
2020-06-04 04:36:14 +02:00
Michał Wawrzyniec Urbańczyk
a0399dea65 Correctly invalidate line offsets after setting the text field's content (https://github.com/enso-org/ide/pull/532)
fixing #2314 and #2317

Original commit: 4a2917a58c
2020-06-03 17:06:12 +02:00
Wojciech Daniło
233185687f Fixing the blur on zoom bug (https://github.com/enso-org/ide/pull/509)
Original commit: 293ec02d8a
2020-06-02 19:49:39 +02:00
Danilo Guanabara
d3287b8409 Integrating visualization data streaming with GUI (https://github.com/enso-org/ide/pull/500)
Co-authored-by: Michael Mauderer <michael.mauderer@enso.org>
Co-authored-by: mwu <mwu-tow@gazeta.pl>

Original commit: 60cedc4d28
2020-06-02 03:09:54 +02:00
Wojciech Daniło
4a07474ea2 Cleaning the code, adding batched node position notifications to graph editor. (https://github.com/enso-org/ide/pull/508)
Original commit: 1b05c19aa8
2020-06-01 21:01:43 +02:00
Michael Mauderer
48eeef9873 fix: Use the up to date scene shape data to calculate mouse event positions. (https://github.com/enso-org/ide/pull/505)
Original commit: 6364b2ac3a
2020-06-01 21:01:10 +02:00
Michael Mauderer
403f8c19a5 Extend graph editor api to allow data to be set on visualizations and stream the visibility status of visualisations. (https://github.com/enso-org/ide/pull/507)
Original commit: 75a421cf88
2020-06-01 21:00:35 +02:00
Michael Mauderer
b3906ae338 Data as Text Visualization (https://github.com/enso-org/ide/pull/504)
* feat: Add a text visualisation that renders JSON as text into the scene.
* fix: Allow proper interaction with scrollbar.

Original commit: 97a155a3f8
2020-06-01 20:43:33 +02:00
Wojciech Daniło
9537626c4c Mouse port selection not working after scene pan (https://github.com/enso-org/ide/pull/502)
Original commit: 6e373d459d
2020-06-01 14:33:16 +02:00
Michał Wawrzyniec Urbańczyk
827208752e Passing visualization updates to the visualizations (https://github.com/enso-org/ide/pull/493)
Original commit: 1e549d0e90
2020-05-31 02:27:30 +02:00
Wojciech Daniło
8dbab93116 Wip/wd/dev (https://github.com/enso-org/ide/pull/492)
Original commit: 18971b05f2
2020-05-30 22:34:30 +02:00
Josef
2389718495 Add timeout to rpc handler. (https://github.com/enso-org/ide/pull/450)
Original commit: 9a4f78c3c7
2020-05-29 17:36:31 +02:00
Adam Obuchowicz
64cde1074f Hotfix for TextField resizing (https://github.com/enso-org/ide/pull/497)
Original commit: 5da35a24d6
2020-05-29 13:31:02 +02:00
Adam Obuchowicz
5613749831 Change IDE owner to mwu-two (https://github.com/enso-org/ide/pull/498)
Original commit: c606ed41bd
2020-05-29 12:35:22 +02:00
Danilo Guanabara
1ef0241bec Visualization Registry integration (https://github.com/enso-org/ide/pull/433)
Original commit: 47468f311c
2020-05-27 09:29:09 -03:00
Michael Mauderer
71bc491b28 Add profiling checkbox to PR Checklist. (https://github.com/enso-org/ide/pull/416)
Original commit: d9ca410246
2020-05-27 12:55:18 +02:00
Michał Wawrzyniec Urbańczyk
e58c16735a Attaching visualization creates a channel for passing the updata data. (https://github.com/enso-org/ide/pull/460)
Original commit: 23286ad8c9
2020-05-26 14:41:03 +02:00
Josef
8629d72fbd Fix repr of block for empty lines. (https://github.com/enso-org/ide/pull/457)
Original commit: 83648fcc6b
2020-05-26 10:40:56 +02:00
Michał Wawrzyniec Urbańczyk
f3e2d15c7c Refactored utilities for testing Futures and Streams (https://github.com/enso-org/ide/pull/456)
Original commit: 10f0760a9a
2020-05-25 18:18:03 +02:00
Josef
068822709c Attach and detach visualisations to nodes. (https://github.com/enso-org/ide/pull/441)
Original commit: 3b28c0c16b
2020-05-25 15:05:28 +02:00
Michał Wawrzyniec Urbańczyk
9219704ddf Removed logs that I've accidentally enabled. (https://github.com/enso-org/ide/pull/454)
Original commit: 300e18ba6d
2020-05-25 14:14:13 +02:00
Adam Obuchowicz
d87b3d8c4d Calling Text API of Language Server on each module change (https://github.com/enso-org/ide/pull/437)
This introduces additional layer for module model, which synchronizes it with LanguageServer - both its state and the lifetime (it is opened in LS on creation and closed when dropped).

Original commit: e93216fdd5
2020-05-25 12:00:27 +02:00
Michał Wawrzyniec Urbańczyk
ecf5911f9d Language Server Binary Protocol Client (https://github.com/enso-org/ide/pull/438)
The binary data protocol of the Language Server.
* a new RPC handler has been implemented. Currently it largely duplicates the previous json-rpc handler but it is supposed to supersede it, as it supports both json and binary rpc protocols;
* `mockall` library has been used to provide a mock client for data protocol;
* serialization code is still messy, not sure how much better can we make it, given the generated flatbuffers code;


Original commit: f6ff8bdf35
2020-05-24 18:19:57 +02:00
Wojciech Daniło
9adc18e5cd Graph Editor bug fixes (https://github.com/enso-org/ide/pull/445)
Original commit: 3e7f817b51
2020-05-21 17:44:04 +02:00
Adam Obuchowicz
04107422d2 Connections integration (https://github.com/enso-org/ide/pull/428)
Original commit: 3c5964f63e
2020-05-21 14:06:33 +02:00
Michael Mauderer
de148f16b8 Visualization Registry (https://github.com/enso-org/ide/pull/429)
* Implement registry.
* Refactor code to use a trait `Class` as the builder of `Visualization`s.

Original commit: 48b8d88dc3
2020-05-21 12:56:39 +02:00
Wojciech Daniło
2b5353b594 Ability to change text on nodes. (https://github.com/enso-org/ide/pull/439)
Original commit: 08f0db81cb
2020-05-20 11:49:00 +02:00
Wojciech Daniło
1ebec3b8a8 Exposing graph editor FRP outputs (https://github.com/enso-org/ide/pull/435)
Original commit: 1f4d5fd10e
2020-05-19 14:24:12 +02:00
Josef
963ebfc382 Assign IDs to all nodes but few. (https://github.com/enso-org/ide/pull/425)
Original commit: 9ee7f25a9d
2020-05-19 13:27:48 +02:00
Michał Wawrzyniec Urbańczyk
d65e813541 Update Engine API (https://github.com/enso-org/ide/pull/432)
follow up to change in engine API in 7d82b1abee


Original commit: b395c7f6a4
2020-05-15 16:37:09 +02:00
Danilo Guanabara
38ede38a66 Zero-copy JSON-RPC methods (https://github.com/enso-org/ide/pull/431)
Original commit: fe5abb6dba
2020-05-15 08:49:05 -03:00
Michael Mauderer
e454c125d6 Visualization Data Type (https://github.com/enso-org/ide/pull/413)
* Extend scaffolding for Native and HTML based visualizations.
* Use nicer dataset as an example.
* Define better S wrapper data interface.
* Refactor structs into submodules.
* Add examples of JS-based visualization.

Original commit: 48665e0498
2020-05-14 14:41:24 +02:00
Josef
24961ca674 Generate rust code from FlatBuffers specification. (https://github.com/enso-org/ide/pull/410)
Original commit: 4b0dc4390e
2020-05-14 13:27:52 +02:00
Michał Wawrzyniec Urbańczyk
d09465da7f Binary Message Support In Transport (https://github.com/enso-org/ide/pull/424)
Original commit: f003b6bef0
2020-05-13 17:28:39 +02:00
Adam Obuchowicz
7d4529885b Execution Context (https://github.com/enso-org/ide/pull/419)
This PR introduces Executed Graph Controller, which is a Graph Controller with additional info about execution context.

Original commit: 026a2585ae
2020-05-13 13:57:36 +02:00
Wojciech Daniło
f8bd0d56e2 Initial connection implementation (https://github.com/enso-org/ide/pull/402)
Original commit: f681273584
2020-05-13 10:21:45 +02:00
Adam Obuchowicz
f5d194b92a Fix BitField (https://github.com/enso-org/ide/pull/422)
Original commit: ad4095d53e
2020-05-13 10:18:57 +02:00
Michał Wawrzyniec Urbańczyk
b66f4e10da Properly Handle JSON-RPC Errors (https://github.com/enso-org/ide/pull/420)
Co-authored-by: Adam Obuchowicz <adam.obuchowicz@luna-lang.org>

Original commit: 7daa7e9262
2020-05-12 23:06:33 +02:00
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
Adam Obuchowicz
619249f061 Fix CI package size checking (https://github.com/enso-org/ide/pull/421)
Original commit: cd8c0090a3
2020-05-12 12:18:32 +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
Michael Mauderer
b63ba0c8e3 Update Contributing Guide to address test suite requirements. (https://github.com/enso-org/ide/pull/294)
Original commit: 73ee3a53f8
2020-05-01 00:35:46 +02:00
Wojciech Daniło
28386025b5 Adding vis docs (https://github.com/enso-org/ide/pull/397)
Original commit: 04b10ca9c8
2020-05-01 00:30:51 +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
Adam Obuchowicz
c1a399804f Fix failing CI (https://github.com/enso-org/ide/pull/378)
We don't want to set up releases right now, so the publishing is disabled.

I managed to do it with CLI option. In theory it should be done by configuration options - but those didn't work. So, for know I leave one what works.

Original commit: 9ad8a51dcb
2020-04-24 08:52:26 +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
Wojciech Daniło
ef0562d148 Update README.md
Original commit: 0c8052d28e
2020-04-21 21:48:13 +02:00
Wojciech Daniło
0f2dd1cd57 Update README.md
Original commit: 359b20b87d
2020-04-21 21:41:58 +02:00
Wojciech Daniło
336eeaa9db Update README.md
Original commit: b3ae62d170
2020-04-21 21:36:41 +02:00
Wojciech Daniło
54480c2342 Update README.md
Original commit: bde2de9e2b
2020-04-21 21:34:06 +02: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
ad6fd9321e Update contributing.md
Original commit: b1a5b34b67
2020-04-08 11:29:01 +02:00
Wojciech Daniło
ca7ac0d5c5 Update contributing.md
Original commit: fdaa86fabb
2020-04-08 11:16:32 +02:00
Wojciech Daniło
d601a09273 Update contributing.md
Original commit: ff64c11d8f
2020-04-08 11:14:35 +02:00
Wojciech Daniło
a28a2e3dcd Update contributing.md
Original commit: b9ec34180b
2020-04-08 11:13:58 +02:00
Ara Adkins
c94325b395 Update documentation to refer to new domain (https://github.com/enso-org/ide/pull/352)
Original commit: b6b914acbd
2020-04-07 07:04:45 +02: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
Josef
4d92869db2 Cache dependencies for CI. (https://github.com/enso-org/ide/pull/277)
Original commit: 4e55dc5a9c
2020-03-31 14:10:37 +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
Michael Mauderer
1b573988a7 Fix instructions to set up toolchain for project build. Fixes #2179. (https://github.com/enso-org/ide/pull/284)
Original commit: cad50bb093
2020-03-23 21:26:30 +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
Wojciech Daniło
0a2164110d Update README.md
Original commit: 0d33957957
2020-03-17 03:56:07 +01:00
Wojciech Daniło
4f95075f2f Improving Electron App (https://github.com/enso-org/ide/pull/263)
Original commit: da0872f05a
2020-03-17 03:44:27 +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
500c8c21ed Update README.md
Original commit: d8b7dc348f
2020-03-16 04:29:03 +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
Michał Wawrzyniec Urbańczyk
757b4cbe7d Shape now implements Clone and Ast allows setting/removing id. (https://github.com/enso-org/ide/pull/261)
Original commit: 79e886c3de
2020-03-14 03:44:35 +01:00
Josef
a013563ce2 Metadata storage for module controller. (https://github.com/enso-org/ide/pull/237)
Original commit: c93076e7cf
2020-03-13 21:34:15 +01:00
Adam Obuchowicz
f26d88593c Implemented notification about text&graph changes brokering (https://github.com/enso-org/ide/pull/231)
Add possibility to subscribe for notifications about changes of one of module representations. Today, the notifications are sent after applying code changes (there are no other operations implemented yet).

Original commit: 68b63f2891
2020-03-13 17:52:41 +01:00
Wojciech Daniło
4fd137bfc3 Refactoring & Performance Improvements (https://github.com/enso-org/ide/pull/255)
Original commit: b2ee9388e4
2020-03-13 05:10:08 +01:00
Michał Wawrzyniec Urbańczyk
17f729874e Node Discovery (https://github.com/enso-org/ide/pull/250)
This PR introduces node discovery logic in `double_representation/node.rs`.
The parser dependency has been bumped, due to #2154.
Improvements in definition discovery — fixed previous issue where first line in block was ignored.


Original commit: 1370aaf431
2020-03-10 17:54:28 +01:00
Wojciech Daniło
619eb4fabd Fixing node version (https://github.com/enso-org/ide/pull/251)
Original commit: af54d2876c
2020-03-10 15:33:02 +01:00
Wojciech Daniło
c57c57d7f1 Update README.md
Original commit: 54c4d6393f
2020-03-07 21:16:14 +01:00
Wojciech Daniło
7631be9951 Update README.md
Original commit: 5e3f07d5de
2020-03-07 21:15:06 +01:00
Wojciech Daniło
02cea5ddee Update README.md
Original commit: 54edd76976
2020-03-07 20:25:57 +01:00
Wojciech Daniło
28a5644090 Update README.md
Original commit: 7b25827351
2020-03-06 21:05:07 +01:00
Wojciech Daniło
a52cf702ad Update README.md
Original commit: c939b175a8
2020-03-06 21:04:13 +01:00
Wojciech Daniło
2706c6f008 Update README.md
Original commit: e9444e4267
2020-03-06 21:01:55 +01:00
Wojciech Daniło
a3789aab2d Update README.md
Original commit: 6b37483b93
2020-03-06 20:58:21 +01:00
Wojciech Daniło
0335721b80 Update README.md
Original commit: 5079cad2f6
2020-03-06 20:56:32 +01:00
Wojciech Daniło
ee727745fc Update README.md
Original commit: a853dceff3
2020-03-06 20:53:46 +01:00
Wojciech Daniło
d3f782ea9d Update README.md
Original commit: e54672e192
2020-03-06 20:33:35 +01:00
Wojciech Daniło
51bb59421d Fixing wrong npm LTS version.
Original commit: 87e71f60f1
2020-03-06 16:50:17 +01:00
Michał Wawrzyniec Urbańczyk
23425718ff Definition Discovery (https://github.com/enso-org/ide/pull/225)
Original commit: 41895d7a94
2020-03-06 14:05:59 +01:00
Wojciech Daniło
d2a70667fc Cleaning codebase (https://github.com/enso-org/ide/pull/235)
Original commit: 820113e061
2020-03-05 20:00:47 +01:00
Wojciech Daniło
7d197fd5cf Update README.md
Original commit: 2f4eb02c1b
2020-03-05 18:39:51 +01:00
Wojciech Danilo
48c262f007 Fixing electron internal path bug.
Original commit: 11cdeadf66
2020-03-05 06:55:13 +01:00
Wojciech Daniło
b38bcac15a Fixing documentation links.
Original commit: 56992d239f
2020-03-05 06:29:34 +01:00
Wojciech Daniło
68601ba9e9 Electron support (https://github.com/enso-org/ide/pull/223)
Original commit: d0b71bb46c
2020-03-05 06:25:00 +01:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Michał Wawrzyniec Urbańczyk
e6642e8df3 fixed accidental replace (https://github.com/enso-org/ide/pull/131)
Original commit: 568fa87533
2020-02-01 02:33:49 +01:00
Adam Obuchowicz
df1d78dd74 Glyph system (https://github.com/enso-org/ide/pull/121)
Original commit: afcaff970c
2020-02-01 02:31:31 +01:00
Michał Wawrzyniec Urbańczyk
e49daec321 Run wasm-pack test on Windows and macOS (https://github.com/enso-org/ide/pull/127)
Original commit: 862ff6938d
2020-01-30 15:00:58 +01:00
Wojciech Daniło
152a14f1c3 Fixing global state (https://github.com/enso-org/ide/pull/130)
Original commit: 17b0d32159
2020-01-30 10:07:17 +01:00
Michał Wawrzyniec Urbańczyk
db977692f7 Add IDE Code From enso Repository (https://github.com/enso-org/ide/pull/128)
As per https://github.com/luna/enso/issues/431

Original commit: 8f993cc1d2
2020-01-29 21:30:09 +01:00
Danilo Guanabara
ebfc075938 Adding lints to the codebase (https://github.com/enso-org/ide/pull/126)
Addings lints to the codebase

Original commit: cf45cd64ac
2020-01-28 23:25:22 -03:00
Wojciech Daniło
d068dfb829 Initial FRP engine implementation. (https://github.com/enso-org/ide/pull/122)
Original commit: cf25c22bb1
2020-01-28 15:50:15 +01:00
Danilo Guanabara
8478df259b Integration of WebGL and CSS scenes and renderers (https://github.com/enso-org/ide/pull/119)
* Removed web's Camera. We are now using Camera2d

* Fixed camera set_screen and set_position order

* Added screen dimensions to Camera2d constructor

* Removed the need for UniformScope in Camera2d's constructor and exposed an 'add_zoom_update_callback' method

* Lints

* Removed dom's transform and dom's object

* Making use of DisplayObject in HTMLObject and HTMLScene

* Unified HTMLRenderer with DisplayObject logic

* Changes from farmaazon's feedback

* Changes from reviews

* More changes from reviews

* Fixed trigonometric function

* Using Navigator on examples

* Minor fixes

* Lints

* Stylistic renaming

* Some more fixes

* Simplified API without event_loop and dom_id

* Camera2d alignments

* Removed IntersectionObserver

* &loggers

* Minor fixes

* More fixes :P

* Fixed CloneRef impls


Original commit: e35fa857f6
2020-01-27 23:09:59 -03:00
Paul Kapustin
b2edfbbc28 Minor language improvements (https://github.com/enso-org/ide/pull/120)
Original commit: 2696f77d04
2020-01-22 16:01:11 +01:00
Wojciech Daniło
22785293c2 Renderpasses (https://github.com/enso-org/ide/pull/114)
Original commit: 25bb702b48
2020-01-22 15:38:24 +01:00
Danilo Guanabara
4fb53686ad Animation Manager (aka EasingAnimator) (https://github.com/enso-org/ide/pull/108)
* HTMLScene and HTMLObject implementation

* Added HTMLRenderer and Camera objects

* Adding rlib as crate-type to make basegl available in tests

*  HTMLRenderer tests and code cleanup

* Fixed transformations and adapted Quaternion euler transformation order from XYZ to YXZ (like threejs)

* Added knowledge comments

* Recovering original lib.rs (with world demo)

* Added shrinkwraprs

* Formatted files

* Improved opt_vec test coverage

* Fixes based on clippy and rustfmt

* Remove unused WeakSet :)

* Added documentation

* Improved HTMLObject::from_html_string and beautified the code fmt

* Created StyleSetter and AttributeSetter to deal with panics

* Fixed code chars limits

* Matrix code cleanup and more code style guidelines fixes

* More alignment fixes

* Some more fixes and refactoring

* Refactored IntoCSSMatrix

* Refactoring

* Removed examples/02-html

* More refactoring

* Derived rendering structs from Debug

* Refactoring (https://github.com/enso-org/ide/pull/50)

* Comments on HTMLRenderer tests

* Removed unwanted console_log

* Recovered missed css matrix3d code

* Added  attribute to invalid doc codes

* Clippy lints fixes

* Fixed function access

* Added AnimationFrameLoop

* Custom web benchmarks implementation

* Added #[web_test] and #[web_bench] procedural macros

* Added documentation

* Lints

* Removed unused benchmark

* Removed unused test

* HTMLRenderer optimizations ;)

* resize_observe should return the index

* ResizeObserve for Scene & HTMLScene

* Lints

* Using array.join

* Added test scenario where OptVec has empty indices

* Made HTMLScene.objects private and provided accessors to it

* HTMLScene properties renaming

* Added unit test for Matrix4 memory layout

* Renamed packages author to Enso Team

* Improved benchmark readability

* Made IntoFloat32Array trait safe

* Refactored HTMLRenderer

* Lints

* Better code style

* Qualified Float32ArrayView as unsafe

* Usage example for web_test

* Style fixes

* Scene::add_resize_callback abstraction

* Spacing

* Major refactoring!

* Some minor fixes

* Comments for IntoFloat32ArrayView usage

* Navigation without smoothed movement

* Intersection Observer and navigator impl

* Intersection Observer and navigator impl

* Navigator with orthographic projection

* Camera refactoring

* Removed unecessary source note now that the code is self explanatory

* Smoothed camera navigation

* Refactored event_handler and navigator

* Linter fixes

* Fixed invalid_container test

* Included MouseEvent in system::web's Cargo.toml

* Code cleanup (unwraps refactoring) and documentation

* Adding Event and MouseEvent to basegl-system-web

* Added EventTarget to basegl-system-web

* Fixed navigation test

* Small fixes from review feedback

* Small fixes from review feedback

* Introduction of MouseManager

* Better physics with PhysicsSimulator and overshooting avoidance with AnimationManager

* Clippy fixes

* Disabling html_renderer test to verify CI failure

* Putting back html_renderer test. It looks like headless web testing is broken

* 60 steps per second Physics Simulator (Kinematics, Spring, Air Dragging)

* Style fix

* Review refactoring

* Moved mass to Kinematics

* Linter fixes

* Vertical alignemnt update

* Removing std::mem::forget from physics test

* Physically correct interpolated simulator

* PhysicsSimulator using Stokes' drag equation

* Created camera navigation example

* Refactored camera animation system

* Progress from reviews

* More progress on reviews

* Linter fixes

* Added fixme comment

* MouseManager refactoring

* Removed naked refcells

* Switched some usages of Rc to Weak

* New file hierarchy

* Fixed names

* Linter

* Breaking things and adding comments.

* Fixed touchpad panning

* Preventing default wheel event

* Zooming at constant speed

* Fixes

* Linter and test fixes

* Debug

* Removed debug

* Zoom clamping

* Better physics submodule name

* Animators now takes AnimationFrameLoop as a parameter and Bencher exposes it so we can reuse it

* Linter fixes

* Animation Manager with examples

* Removed FIXME comment from animation.rs

* Updates based on review

* Changed point size

* lint fix

* Manually merging master

* Adding position to animation

* Fixed tests

* Removed unused variables from text test

* Code cleanup

* Refactored code with EventLoop

* Code refactoring with EventLoop

* Removed old callback impl

* Removed old event_loop file

* Fixing bencher.rs

* Linter

* First round of feedback impl

* Added more docs

* Better callback guard naming

* A little bit more docs

* EasingAnimator now can be used with any object implementing Interpolable

* Review fixes

* Refactoring

* Time values are now f64

* Fixed callback names

* Got rid of unecessary muts

* Re-exporting EventLoop and better easing function macro

* Moar refactoring

* PhysicsSimulator is now using the same callback-based design of other animators

Co-authored-by: Wojciech Daniło <wojciech.danilo@gmail.com>
Co-authored-by: Adam Obuchowicz <obuchowiczadam@gmail.com>


Original commit: 1dc496d504
2020-01-18 23:31:13 -03:00
Danilo Guanabara
7fba387683 Using Firefox for headless web tests (https://github.com/enso-org/ide/pull/113)
* Using Firefox for headless web tests

* Fixing headless web test command

* Remove unecessary  GitHub Action step


Original commit: 35941c4a68
2020-01-18 22:55:14 -03:00
Wojciech Daniło
9d785ef3f1 Update style-guide.md
Original commit: 3d92c1096f
2020-01-18 02:23:29 +01:00
Wojciech Daniło
45a3ef5f01 Update style-guide.md
Original commit: 2de7a766eb
2020-01-18 02:21:22 +01:00
Adam Obuchowicz
29e66af802 Texture rendering (https://github.com/enso-org/ide/pull/112)
Original commit: c4fd0b0908
2020-01-17 14:36:38 +01:00
Wojciech Daniło
d9d4b8b702 Cleaning codebase + initial texture support (https://github.com/enso-org/ide/pull/110)
Original commit: 1b37638dfb
2020-01-15 15:47:44 +01:00
Adam Obuchowicz
1b6094a126 Cursor navigation (https://github.com/enso-org/ide/pull/106)
Original commit: 9d1b18d681
2020-01-10 16:17:40 +01:00
Danilo Guanabara
65a687b911 Camera Animation System (https://github.com/enso-org/ide/pull/60)
* HTMLScene and HTMLObject implementation

* Added HTMLRenderer and Camera objects

* Adding rlib as crate-type to make basegl available in tests

*  HTMLRenderer tests and code cleanup

* Fixed transformations and adapted Quaternion euler transformation order from XYZ to YXZ (like threejs)

* Added knowledge comments

* Recovering original lib.rs (with world demo)

* Added shrinkwraprs

* Formatted files

* Improved opt_vec test coverage

* Fixes based on clippy and rustfmt

* Remove unused WeakSet :)

* Added documentation

* Improved HTMLObject::from_html_string and beautified the code fmt

* Created StyleSetter and AttributeSetter to deal with panics

* Fixed code chars limits

* Matrix code cleanup and more code style guidelines fixes

* More alignment fixes

* Some more fixes and refactoring

* Refactored IntoCSSMatrix

* Refactoring

* Removed examples/02-html

* More refactoring

* Derived rendering structs from Debug

* Refactoring (https://github.com/enso-org/ide/pull/50)

* Comments on HTMLRenderer tests

* Removed unwanted console_log

* Recovered missed css matrix3d code

* Added  attribute to invalid doc codes

* Clippy lints fixes

* Fixed function access

* Added AnimationFrameLoop

* Custom web benchmarks implementation

* Added #[web_test] and #[web_bench] procedural macros

* Added documentation

* Lints

* Removed unused benchmark

* Removed unused test

* HTMLRenderer optimizations ;)

* resize_observe should return the index

* ResizeObserve for Scene & HTMLScene

* Lints

* Using array.join

* Added test scenario where OptVec has empty indices

* Made HTMLScene.objects private and provided accessors to it

* HTMLScene properties renaming

* Added unit test for Matrix4 memory layout

* Renamed packages author to Enso Team

* Improved benchmark readability

* Made IntoFloat32Array trait safe

* Refactored HTMLRenderer

* Lints

* Better code style

* Qualified Float32ArrayView as unsafe

* Usage example for web_test

* Style fixes

* Scene::add_resize_callback abstraction

* Spacing

* Major refactoring!

* Some minor fixes

* Comments for IntoFloat32ArrayView usage

* Navigation without smoothed movement

* Intersection Observer and navigator impl

* Intersection Observer and navigator impl

* Navigator with orthographic projection

* Camera refactoring

* Removed unecessary source note now that the code is self explanatory

* Smoothed camera navigation

* Refactored event_handler and navigator

* Linter fixes

* Fixed invalid_container test

* Included MouseEvent in system::web's Cargo.toml

* Code cleanup (unwraps refactoring) and documentation

* Adding Event and MouseEvent to basegl-system-web

* Added EventTarget to basegl-system-web

* Fixed navigation test

* Small fixes from review feedback

* Small fixes from review feedback

* Introduction of MouseManager

* Better physics with PhysicsSimulator and overshooting avoidance with AnimationManager

* Clippy fixes

* Disabling html_renderer test to verify CI failure

* Putting back html_renderer test. It looks like headless web testing is broken

* 60 steps per second Physics Simulator (Kinematics, Spring, Air Dragging)

* Style fix

* Review refactoring

* Moved mass to Kinematics

* Linter fixes

* Vertical alignemnt update

* Removing std::mem::forget from physics test

* Physically correct interpolated simulator

* PhysicsSimulator using Stokes' drag equation

* Created camera navigation example

* Refactored camera animation system

* Progress from reviews

* More progress on reviews

* Linter fixes

* Added fixme comment

* MouseManager refactoring

* Removed naked refcells

* Switched some usages of Rc to Weak

* New file hierarchy

* Fixed names

* Linter

* Breaking things and adding comments.

* Fixed touchpad panning

* Preventing default wheel event

* Zooming at constant speed

* Fixes

* Linter and test fixes

* Debug

* Removed debug

* Zoom clamping

* Better physics submodule name

* Animators now takes AnimationFrameLoop as a parameter and Bencher exposes it so we can reuse it

* Linter fixes

* Removed FIXME comment from animation.rs

* Updates based on review

* lint fix

* Manually merging master

* Adding position to animation

* Fixed tests

* Removed unused variables from text test

Co-authored-by: Wojciech Daniło <wojciech.danilo@gmail.com>
Co-authored-by: Adam Obuchowicz <obuchowiczadam@gmail.com>


Original commit: d1fcf4548b
2020-01-09 03:17:39 -03:00
Wojciech Daniło
af276039eb Shapes EDSL (https://github.com/enso-org/ide/pull/105)
Original commit: 31f5dcbaa5
2020-01-08 15:26:36 +01:00
Adam Obuchowicz
74e24e62ca Cursors in text (https://github.com/enso-org/ide/pull/93)
Original commit: 73b8fff6c7
2020-01-03 15:52:20 +01:00
Wojciech Daniło
2cebd28a8d Update README.md
Original commit: 73d7e72ad0
2020-01-03 14:48:54 +01:00
Wojciech Daniło
67a471591e Update README.md
Original commit: 7220d9bd24
2020-01-03 14:48:00 +01:00
Wojciech Daniło
1e0de6fc24 Update style-guide.md (https://github.com/enso-org/ide/pull/92)
Original commit: c9c496b2e2
2020-01-03 14:46:27 +01:00
Wojciech Daniło
5af7a0fd2f Performance fine-tuning & monitoring (https://github.com/enso-org/ide/pull/95)
Original commit: 4351c60828
2020-01-03 14:29:57 +01:00
Danilo Guanabara
cd95b281e8 60 steps per second Physics Simulator (Kinematics, Spring, Air Dragging) (https://github.com/enso-org/ide/pull/91)
* 60 steps per second Physics Simulator (Kinematics, Spring, Air Dragging)

* Style fix

* Review refactoring

* Moved mass to Kinematics

* Linter fixes

* Vertical alignemnt update

* Removing std::mem::forget from physics test

* Physically correct interpolated simulator

* PhysicsSimulator implementation only with one Animator

* Added source commcents

* Safer Physics mod setters

* Removed use of performance.now() in set_time


Original commit: 0596cc5097
2019-12-26 13:53:25 -03:00
Wojciech Daniło
df8321d9da Refactoring file structure. (https://github.com/enso-org/ide/pull/94)
Original commit: 17ee3dba94
2019-12-24 09:29:10 +01:00
Wojciech Daniło
6e07e795d3 Material manager. (https://github.com/enso-org/ide/pull/90)
Original commit: 9e51ce8357
2019-12-22 00:46:13 +01:00
Adam Obuchowicz
74ed8b36c8 Text editing (https://github.com/enso-org/ide/pull/88)
Added operation for editing text in text component, which does the minimal 
required buffer refresh.

Original commit: 2ece0ca13b
2019-12-20 16:57:52 +01:00
Adam Obuchowicz
99e08bbe75 Text scrolling (https://github.com/enso-org/ide/pull/84)
TextComponent supports scrolling now. During scroll we try to refresh a minimum
number of buffer fragments to make a uncovered lines actually displayed.

Original commit: a10bba9776
2019-12-19 12:06:48 +01:00
Wojciech Daniło
901cca37f7 Display Objects, Camera management, Shaders Generator (https://github.com/enso-org/ide/pull/89)
Original commit: 5c37d3c9bc
2019-12-19 01:37:41 +01:00
Adam Obuchowicz
070d264dbb Text clipping (https://github.com/enso-org/ide/pull/75)
Text in text component is clipped to specified area on screen. Only visible 
part of text have its data in opengl buffers. The buffer management was
somewhat adapted to quick scrolling with minimum buffer data refreshing.

Original commit: 0b39d6f89a
2019-12-11 13:27:44 +01:00
Adam Obuchowicz
ebe9db1b74 Implemented newlines (https://github.com/enso-org/ide/pull/67)
TextComponent will properly display text containing newline characters.

Code of the TextComponent was somewhat prepared for optimal clipping text and scrolling; each line of text have an own fixed-size buffer fragment, so the lines should be easily extended and fragments reused.

Original commit: 647430f1d8
2019-12-09 14:24:21 +01:00
Danilo Guanabara
d6df7dd156 HTMLRenderer Benchmarks (https://github.com/enso-org/ide/pull/58)
* Custom benchmark solution
* Optimized HTMLRenderer

Original commit: 8a147bf9d4
2019-12-06 13:11:17 -03:00
Wojciech Daniło
b80e3f29e4 Rust code style guide (https://github.com/enso-org/ide/pull/61)
Original commit: 3204946622
2019-12-06 08:01:58 +01:00
Adam Obuchowicz
495bdf93df Text display: letters alignment (https://github.com/enso-org/ide/pull/62)
Display text properly, making appropriate spacing between glyphs and implementing kerning.

Original commit: 704537b0eb
2019-12-04 17:45:31 +01:00
Adam Obuchowicz
636d459971 Line of chars (https://github.com/enso-org/ide/pull/57)
The component displaying a not-properly aligned line of characters on webgl context

Original commit: 01d1665208
2019-12-03 22:46:38 +01:00
Wojciech Daniło
e0eea3ae72 Buffer Management for BaseGL (https://github.com/enso-org/ide/pull/51)
Original commit: 23a8bd1b07
2019-11-27 18:04:33 +01:00