2021-10-17 23:56:49 +03:00
|
|
|
# Next Release
|
|
|
|
|
2021-11-18 17:17:38 +03:00
|
|
|
#### Visual Environment
|
|
|
|
|
2022-07-06 13:33:35 +03:00
|
|
|
- [Camera is panned to newly created nodes.][3552]
|
2022-04-14 13:37:40 +03:00
|
|
|
- [Long names on the Node Searcher's list are truncated.][3373] The part of the
|
|
|
|
name that doesn't fit in the Searcher's window is replaced with an ellipsis
|
|
|
|
character ("…").
|
2022-04-05 14:22:29 +03:00
|
|
|
- [Magnet Alignment algorithm is used while placing new nodes][3366]. When we
|
|
|
|
find an available free space for a new node, the node gets aligned with the
|
|
|
|
surrounding nodes horizontally and vertically. This helps to preserve a nice
|
|
|
|
grid-like layout for all the nodes.
|
2022-03-31 23:17:04 +03:00
|
|
|
- [Nodes created via the <kbd>TAB</kbd> key or by clicking the (+) button on the
|
|
|
|
screen are now placed below all the selected nodes when more than one node is
|
|
|
|
selected.][3361] (Previously, they were placed below the first node that was
|
|
|
|
selected.) This makes it easier to achieve a compact, vertical layout of the
|
|
|
|
graph.
|
2022-03-31 17:16:28 +03:00
|
|
|
- [Nodes created near existing nodes via the <kbd>TAB</kbd> key or by dropping a
|
|
|
|
connection are now repositioned and aligned to existing nodes.][3301] This is
|
|
|
|
to make the resulting graph prettier and avoid overlapping. In such cases,
|
|
|
|
created nodes will be placed below an existing node or on the bottom-left
|
|
|
|
diagonal if there is no space underneath.
|
2022-03-21 18:08:17 +03:00
|
|
|
- [Nodes can be added to the graph by double-clicking the output ports of
|
|
|
|
existing nodes (or by clicking them with the right mouse button).][3346]
|
2022-03-17 13:38:18 +03:00
|
|
|
- [Node Searcher preserves its zoom factor.][3327] The visible size of the node
|
|
|
|
searcher and edited node is now fixed. It simplifies node editing on
|
|
|
|
non-standard zoom levels.
|
2022-03-16 21:02:47 +03:00
|
|
|
- [Nodes can be added to the graph by clicking (+) button on the screen][3278].
|
|
|
|
The button is in the bottom-left corner. Node is added at the center or pushed
|
|
|
|
down if the center is already occupied by nodes.
|
2022-02-22 14:23:59 +03:00
|
|
|
- [Maximum zoom factor is limited to 1.0x if IDE is not in Debug Mode.][3273]
|
2022-02-14 13:19:08 +03:00
|
|
|
- [Debug Mode for Graph Editor can be activated/deactivated using a
|
|
|
|
shortcut.][3264] It allows access to a set of restricted features. See
|
|
|
|
[debug-shortcuts].
|
2022-01-26 14:23:55 +03:00
|
|
|
- [New nodes can be created by dragging and dropping a connection on the
|
|
|
|
scene.][3231]
|
|
|
|
- [Node connections can be dropped by pressing the Esc key while dragging
|
|
|
|
them.][3231]
|
2022-01-11 15:31:43 +03:00
|
|
|
- [Added support of source maps for JS-based visualizations.][3208]
|
2022-03-31 23:17:04 +03:00
|
|
|
- [Fixed the alignment of newly created nodes to existing nodes with
|
|
|
|
visualizations enabled.][3361] When applicable, new nodes are now placed below
|
|
|
|
visualizations. (Previously, they were placed to the left of the
|
|
|
|
visualizations.)
|
2021-11-18 17:17:38 +03:00
|
|
|
- [Fixed histograms coloring and added a color legend.][3153]
|
2022-08-23 15:12:22 +03:00
|
|
|
- [Lazy visualization for scatter plot.][3655]
|
2021-11-25 13:45:42 +03:00
|
|
|
- [Fixed broken node whose expression contains non-ASCII characters.][3166]
|
2021-12-08 10:11:58 +03:00
|
|
|
- [Fixed developer console warnings about views being created but not
|
|
|
|
registered.][3181]
|
Fix some edits not being sent to LangServ (#3186)
Some edits were not being sent by IDE to Language Server, resulting in 3003 "Invalid version" errors being returned by LangServ, and forcing full invalidation (resynchronization) of text contents in LangServ.
This change fixes such errors observed when opening a new project, creating a new project, or adding a new node to a project.
Fixes #3094
### Important Notes
The root cause showed up to be actually two separate issues, both of them reproduced by an "opening a new project" scenario:
1. The automatic addition of `import Standard.Visualization` line, [done internally when opening a new project in `controller::Project::initialize()`](https://github.com/enso-org/enso/blob/c14a2d81698217349394597fea778fd86bba47df/app/gui/src/controller/project.rs#L137-L141), was not reaching the Language Server. The cause of it was a race condition with [`self.model.subscribe()` in `Module::runner()`](https://github.com/enso-org/enso/blob/c14a2d81698217349394597fea778fd86bba47df/app/gui/src/model/module/synchronized.rs#L268). In particular, the addition of the import was executed before the subscription, which resulted in an edition notification being lost and not sent to LangServer. The fix employed for this is to make the `subscribe()` call synchronous during the initialization of a project, instead of scheduling it for a non-deterministic later time.
2. There was [a bug in `synchronized::Module::edit_for_snipped()`](https://github.com/enso-org/enso/blob/7467efda592ab5d7ce29122af20020293f9ceacf/app/gui/src/model/module/synchronized.rs#L362), making it erroneously "optimize out" any code insertions detected by `TextEdit::from_prefix_postfix_differences()`. The fix employed for this was to improve the "optimizing out" condition, together with adding an accompanying test case verifying correct behavior (protecting against a future regression).
Additionally, as a drive-by improvement, some statements in `ParsedSourceFile<>::serialize()` were reordered, to make them better match how the actual contents of an .enso file are structured, and thus make it easier to read/analyze the code.
2021-12-13 20:18:20 +03:00
|
|
|
- [Fixed developer console errors related to Language Server (mentioning code
|
|
|
|
3003 and "Invalid version"), occurring during project opening and after new
|
|
|
|
node cration.][3186]
|
2021-12-21 12:00:57 +03:00
|
|
|
- [Fixed developer console error about failing to decode a notification
|
|
|
|
"executionContext/visualisationEvaluationFailed"][3193]
|
2022-07-14 15:00:52 +03:00
|
|
|
- [New Version of the Node Searcher - the Component Browser][3530] The available
|
|
|
|
methods, atoms and functions are presented in nice, categorized view. The most
|
2022-08-22 18:32:44 +03:00
|
|
|
popular tools are available at hand. The panel is unstable, and thus is
|
2022-07-14 15:00:52 +03:00
|
|
|
available under the `--enable-new-component-browser` flag.
|
2022-08-16 15:56:08 +03:00
|
|
|
- [Fixed error handling during startup.][3648] This prevents entering IDE into a
|
|
|
|
"zombie" state, where processes were started but not visible to user. They
|
|
|
|
could cause issues with starting further IDE instances.
|
2022-09-01 15:33:46 +03:00
|
|
|
- [New nodes are created in the project source when the searcher is opened and a
|
|
|
|
new node is created.][3645]
|
2022-09-13 06:07:17 +03:00
|
|
|
- [Proper Polyglot Vector and Array Support][3667]
|
2022-09-01 15:33:46 +03:00
|
|
|
- [IDE uses new visualization API.][3661]
|
2022-08-29 11:02:33 +03:00
|
|
|
- [Visualization of long textual values improved][3665]
|
2022-09-16 19:05:40 +03:00
|
|
|
- [Selecting a suggestion from the searcher or component browser now updates the
|
|
|
|
visualisation of the edited node to preview the results of applying the
|
|
|
|
suggestion.][3691]
|
2021-11-25 13:45:42 +03:00
|
|
|
|
2022-04-12 20:39:08 +03:00
|
|
|
#### EnsoGL (rendering engine)
|
|
|
|
|
|
|
|
- [You can change font and set letters bold in the <code>text::Area</code>
|
|
|
|
component][3385]. Use the <code>set_font</code> and
|
|
|
|
<code>set_bold_bytes</code> respectively.
|
2022-05-30 13:32:43 +03:00
|
|
|
- [Fixed a text rendering issue in nested sublayer][3486].
|
2022-07-19 11:39:23 +03:00
|
|
|
- [Added a new component: Grid View.][3588] It's parametrized by Entry object,
|
|
|
|
display them arranged in a Grid. It does not instantiate all entries, only
|
|
|
|
those visible, and re-use created entries during scrolling thus achieving
|
2022-08-01 13:54:42 +03:00
|
|
|
great performance. There are variants of grid view with selection and
|
|
|
|
highlight, scrollbars, and both.
|
2022-04-12 20:39:08 +03:00
|
|
|
|
2022-01-17 12:51:56 +03:00
|
|
|
#### Enso Standard Library
|
|
|
|
|
|
|
|
- [Implemented `Vector.distinct` allowing to remove duplicate elements from a
|
|
|
|
Vector][3224]
|
2022-01-25 12:57:30 +03:00
|
|
|
- [Implemented `Duration.time_execution` allowing timing of the execution of an
|
2022-02-10 11:09:13 +03:00
|
|
|
expression within the UI][3229]
|
2022-01-25 20:29:39 +03:00
|
|
|
- [Improved performance of `Vector.filter` and `Vector.each`; implemented
|
|
|
|
`Vector.filter_with_index`. Made `Vector.at` accept negative indices and
|
|
|
|
ensured it fails with a dataflow error on out of bounds access instead of an
|
|
|
|
internal Java exception.][3232]
|
2022-02-02 12:04:06 +03:00
|
|
|
- [Implemented the `Table.select_columns` operation.][3230]
|
2022-02-03 17:18:47 +03:00
|
|
|
- [Implemented the `Table.remove_columns` and `Table.reorder_columns`
|
|
|
|
operations.][3240]
|
2022-02-08 19:28:46 +03:00
|
|
|
- [Implemented the `Table.sort_columns` operation.][3250]
|
2022-02-10 00:17:43 +03:00
|
|
|
- [Fixed `Vector.sort` to handle tail-recursive comparators][3256]
|
2022-02-11 13:18:51 +03:00
|
|
|
- [Implemented `Range.find`, `Table.rename_columns` and
|
|
|
|
`Table.use_first_row_as_names` operations][3249]
|
2022-02-14 12:03:55 +03:00
|
|
|
- [Implemented `Text.at` and `Text.is_digit` methods][3269]
|
2022-02-16 10:36:19 +03:00
|
|
|
- [Implemented `Runtime.get_stack_trace` together with some utilities to process
|
|
|
|
stack traces and code locations][3271]
|
2022-02-15 18:16:08 +03:00
|
|
|
- [Implemented `Vector.flatten`][3259]
|
2022-02-16 20:40:33 +03:00
|
|
|
- [Significant performance improvement in `Natural_Order` and new `Faker`
|
|
|
|
methods added to `Standard.Test`][3276]
|
2022-02-17 18:04:00 +03:00
|
|
|
- [Implemented `Integer.parse`][3283]
|
2022-02-17 20:09:41 +03:00
|
|
|
- [Made `Text.compare_to` correctly handle Unicode normalization][3282]
|
2022-02-22 18:41:56 +03:00
|
|
|
- [Extend `Text.contains` API to support regex and case insensitive
|
|
|
|
search.][3285]
|
2022-02-22 21:50:59 +03:00
|
|
|
- [Implemented new `Text.take` and `Text.drop` functions, replacing existing
|
|
|
|
functions][3287]
|
2022-02-23 19:48:33 +03:00
|
|
|
- [Implemented new `Text.starts_with` and `Text.ends_with` functions, replacing
|
|
|
|
existing functions][3292]
|
2022-03-01 02:20:41 +03:00
|
|
|
- [Implemented `Text.to_case`, replacing `Text.to_lower_case` and
|
|
|
|
`Text.to_upper_case`][3302]
|
2022-03-01 19:18:11 +03:00
|
|
|
- [Implemented initial `Table.group_by` function on Standard.Table][3305]
|
2022-03-02 20:19:39 +03:00
|
|
|
- [Implemented `Text.pad` and `Text.trim`][3309]
|
2022-03-02 22:00:47 +03:00
|
|
|
- [Updated `Text.repeat` and added `*` operator shorthand][3310]
|
2022-03-03 18:40:48 +03:00
|
|
|
- [General improved Vector performance and new `Vector.each_with_index`,
|
|
|
|
`Vector.fold_with_index` and `Vector.take` methods.][3236]
|
2022-03-04 18:40:34 +03:00
|
|
|
- [Implemented new `Text.insert` method][3311]
|
2022-03-08 16:24:04 +03:00
|
|
|
- [Implemented `Bool.compare_to` method][3317]
|
2022-03-09 13:31:02 +03:00
|
|
|
- [Implemented `Map.first`, `Map.last` functions. Expanded `Table.group_by` to
|
|
|
|
also compute mode, percentile, minimum, maximum.][3318]
|
2022-03-12 22:42:00 +03:00
|
|
|
- [Implemented `Text.location_of` and `Text.location_of_all` methods.][3324]
|
2022-03-15 17:23:36 +03:00
|
|
|
- [Replaced `Table.group_by` with `Table.aggregate`][3339]
|
2022-03-18 19:57:06 +03:00
|
|
|
- [Implemented `Panic.catch` and helper functions for handling errors. Added a
|
|
|
|
type parameter to `Panic.recover` to recover specific types of errors.][3344]
|
2022-03-22 21:18:46 +03:00
|
|
|
- [Added warning handling to `Table.aggregate`][3349]
|
2022-04-12 14:02:01 +03:00
|
|
|
- [Improved performance of `Table.aggregate` and full warnings
|
|
|
|
implementation][3364]
|
2022-04-05 19:45:56 +03:00
|
|
|
- [Implemented `Text.reverse`][3377]
|
2022-04-12 14:02:01 +03:00
|
|
|
- [Implemented support for most Table aggregations in the Database
|
|
|
|
backend.][3383]
|
2022-04-13 22:21:47 +03:00
|
|
|
- [Update `Text.replace` to new API.][3393]
|
2022-04-19 19:50:03 +03:00
|
|
|
- [Add encoding support to `Text.bytes` and `Text.from_bytes`. Renamed and added
|
|
|
|
encoding to `File.read_text`. New `File.read` API.][3390]
|
2022-04-20 19:22:01 +03:00
|
|
|
- [Improved the `Range` type. Added a `down_to` counterpart to `up_to` and
|
|
|
|
`with_step` allowing to change the range step.][3408]
|
2022-04-26 18:22:53 +03:00
|
|
|
- [Aligned `Text.split` API with other methods and added `Text.lines`.][3415]
|
2022-04-29 20:12:19 +03:00
|
|
|
- [Implemented a basic reader for the `Delimited` file format.][3424]
|
2022-05-06 16:21:10 +03:00
|
|
|
- [Implemented a reader for the `Excel` file format.][3425]
|
2022-05-11 01:44:05 +03:00
|
|
|
- [Added custom encoding support to the `Delimited` file format reader.][3430]
|
2022-05-11 16:25:06 +03:00
|
|
|
- [Implemented `compute` method on `Vector` for statistics calculations.][3442]
|
2022-05-17 13:26:36 +03:00
|
|
|
- [Promote get and put to be methods of Ref type rather than of Ref
|
|
|
|
module][3457]
|
2022-05-18 18:27:48 +03:00
|
|
|
- [Implemented `Table.parse_values`, parsing text columns according to a
|
|
|
|
specified type.][3455]
|
2022-05-18 20:27:42 +03:00
|
|
|
- [Promote with, take, finalize to be methods of Managed_Resource
|
|
|
|
instance][3460]
|
2022-05-20 18:08:36 +03:00
|
|
|
- [Implemented automatic type detection for `Table.parse_values`.][3462]
|
2022-05-24 18:59:00 +03:00
|
|
|
- [Integrated value parsing with the `Delimited` file reader.][3463]
|
2022-05-25 16:29:17 +03:00
|
|
|
- [Implemented the `Infer` setting for headers in the `Delimited` file format
|
|
|
|
and made it the default.][3472]
|
2022-05-26 15:04:25 +03:00
|
|
|
- [Implemented a `Table.from Text` conversion allowing to parse strings
|
|
|
|
representing `Delimited` files without storing them on the filesystem.][3478]
|
2022-05-30 20:13:06 +03:00
|
|
|
- [Added rank data, correlation and covariance statistics for `Vector`][3484]
|
2022-06-06 13:56:52 +03:00
|
|
|
- [Implemented `Table.order_by` for the SQLite backend.][3502]
|
2022-06-07 15:31:55 +03:00
|
|
|
- [Implemented `Table.order_by` for the PostgreSQL backend.][3514]
|
2022-06-08 15:30:50 +03:00
|
|
|
- [Implemented `Table.order_by` for the in-memory table.][3515]
|
2022-06-08 12:53:18 +03:00
|
|
|
- [Renamed `File_Format.Text` to `Plain_Text`, updated `File_Format.Delimited`
|
|
|
|
API and added builders for customizing less common settings.][3516]
|
2022-06-10 12:59:03 +03:00
|
|
|
- [Allow control of sort direction in `First` and `Last` aggregations.][3517]
|
2022-06-13 12:11:46 +03:00
|
|
|
- [Implemented `Text.write`, replacing `File.write_text`.][3518]
|
2022-06-14 16:37:20 +03:00
|
|
|
- [Removed obsolete `select`, `group`, `sort` and releated types from tables.]
|
|
|
|
[3519]
|
2022-06-21 16:39:32 +03:00
|
|
|
- [Removed obsolete `from_xls` and `from_xlsx` functions. Added support for
|
|
|
|
reading column names from first row in `File_Format.Excel`][3523]
|
2022-06-23 19:51:52 +03:00
|
|
|
- [Added `File_Format.Delimited` support to `Table.write` for new files.][3528]
|
2022-07-04 23:26:44 +03:00
|
|
|
- [Adjusted `Database.connect` API to new design.][3542]
|
2022-07-04 21:32:16 +03:00
|
|
|
- [Added `File_Format.Excel` support to `Table.write` for new files.][3551]
|
2022-07-11 13:30:44 +03:00
|
|
|
- [identity,const,flip,curry,uncurry functions][3554]
|
2022-07-07 09:41:33 +03:00
|
|
|
- [Added append support for `File_Format.Excel`.][3558]
|
2022-07-07 03:20:00 +03:00
|
|
|
- [Added support for custom encodings in `File_Format.Delimited` writing.][3564]
|
2022-07-11 11:26:44 +03:00
|
|
|
- [Allow filtering caught error type in `Error.catch`.][3574]
|
2022-07-11 15:36:01 +03:00
|
|
|
- [Implemented `Append` mode for `File_Format.Delimited`.][3573]
|
2022-07-14 14:30:40 +03:00
|
|
|
- [Added `Vector.write_bytes` function and removed old `File.write_bytes`][3583]
|
2022-07-14 18:01:26 +03:00
|
|
|
- [Added `line_endings` and `comment_character` options to
|
|
|
|
`File_Format.Delimited`.][3581]
|
2022-07-19 17:09:09 +03:00
|
|
|
- [Fixed the case of various type names and library paths][3590]
|
2022-07-21 16:32:37 +03:00
|
|
|
- [Added support for parsing `.pgpass` file and `PG*` environment variables for
|
|
|
|
the Postgres connection][3593]
|
2022-07-22 11:41:17 +03:00
|
|
|
- [Added `Regression` to the `Standard.Base` library and removed legacy `Model`
|
|
|
|
type from `Standard.Table`.][3601]
|
2022-08-03 14:41:34 +03:00
|
|
|
- [Created `Index_Sub_Range` type and updated `Text.take` and
|
|
|
|
`Text.drop`.][3617]
|
2022-08-24 00:13:16 +03:00
|
|
|
- [Added `Vector.from_polyglot_array` to make `Vector`s backed by polyglot
|
|
|
|
Arrays][3628]
|
2022-08-10 19:02:02 +03:00
|
|
|
- [Updated `Vector.take` and `Vector.drop` and removed their obsolete
|
|
|
|
counterparts.][3629]
|
2022-08-16 18:41:37 +03:00
|
|
|
- [Short-hand syntax for `order_by` added.][3643]
|
2022-08-18 15:33:02 +03:00
|
|
|
- [Expanded `Table.at` to support index access and added `Table.column_count`
|
|
|
|
method.][3644]
|
2022-08-26 12:34:33 +03:00
|
|
|
- [Removed `Array.set_at`.][3634]
|
2022-08-26 18:47:58 +03:00
|
|
|
- [Added various date part functions to `Date` and `Date_Time`.][3669]
|
2022-08-26 22:41:36 +03:00
|
|
|
- [Implemented `Table.take` and `Table.drop` for the in-memory backend.][3647]
|
2022-09-01 01:06:29 +03:00
|
|
|
- [Implemented specialized storage for the in-memory Table.][3673]
|
2022-09-07 15:28:41 +03:00
|
|
|
- [Implemented `Table.distinct` for the in-memory backend.][3684]
|
2022-09-07 20:32:28 +03:00
|
|
|
- [Added `databases`, `schemas`, `tables` support to database Connection.][3632]
|
2022-09-13 12:51:08 +03:00
|
|
|
- [Implemented `start_of` and `end_of` methods for date/time types allowing to
|
|
|
|
find start and end of a period of time containing the provided time.][3695]
|
2022-09-26 19:01:39 +03:00
|
|
|
- [Implemented `type_of` and `is_of_type` methods for getting the type of a
|
|
|
|
value and comparing types, respectively.][3722]
|
2022-09-22 11:31:15 +03:00
|
|
|
- [Implemented `work_days_until` for counting work dys between dates and
|
|
|
|
`add_work_days` which allows to shift a date by a number of work days.][3726]
|
2022-09-23 10:35:08 +03:00
|
|
|
- [Added `query` and `read` functions to Database connections.][3727]
|
2022-09-24 01:14:35 +03:00
|
|
|
- [Added `Date_Period.Week` to `start_of` and `end_of` methods.][3733]
|
2022-01-17 12:51:56 +03:00
|
|
|
|
2022-02-14 13:19:08 +03:00
|
|
|
[debug-shortcuts]:
|
|
|
|
https://github.com/enso-org/enso/blob/develop/app/gui/docs/product/shortcuts.md#debug
|
2021-11-25 13:45:42 +03:00
|
|
|
[3153]: https://github.com/enso-org/enso/pull/3153
|
2022-08-23 15:12:22 +03:00
|
|
|
[3655]: https://github.com/enso-org/enso/pull/3655
|
2021-11-25 13:45:42 +03:00
|
|
|
[3166]: https://github.com/enso-org/enso/pull/3166
|
2021-12-08 10:11:58 +03:00
|
|
|
[3181]: https://github.com/enso-org/enso/pull/3181
|
Fix some edits not being sent to LangServ (#3186)
Some edits were not being sent by IDE to Language Server, resulting in 3003 "Invalid version" errors being returned by LangServ, and forcing full invalidation (resynchronization) of text contents in LangServ.
This change fixes such errors observed when opening a new project, creating a new project, or adding a new node to a project.
Fixes #3094
### Important Notes
The root cause showed up to be actually two separate issues, both of them reproduced by an "opening a new project" scenario:
1. The automatic addition of `import Standard.Visualization` line, [done internally when opening a new project in `controller::Project::initialize()`](https://github.com/enso-org/enso/blob/c14a2d81698217349394597fea778fd86bba47df/app/gui/src/controller/project.rs#L137-L141), was not reaching the Language Server. The cause of it was a race condition with [`self.model.subscribe()` in `Module::runner()`](https://github.com/enso-org/enso/blob/c14a2d81698217349394597fea778fd86bba47df/app/gui/src/model/module/synchronized.rs#L268). In particular, the addition of the import was executed before the subscription, which resulted in an edition notification being lost and not sent to LangServer. The fix employed for this is to make the `subscribe()` call synchronous during the initialization of a project, instead of scheduling it for a non-deterministic later time.
2. There was [a bug in `synchronized::Module::edit_for_snipped()`](https://github.com/enso-org/enso/blob/7467efda592ab5d7ce29122af20020293f9ceacf/app/gui/src/model/module/synchronized.rs#L362), making it erroneously "optimize out" any code insertions detected by `TextEdit::from_prefix_postfix_differences()`. The fix employed for this was to improve the "optimizing out" condition, together with adding an accompanying test case verifying correct behavior (protecting against a future regression).
Additionally, as a drive-by improvement, some statements in `ParsedSourceFile<>::serialize()` were reordered, to make them better match how the actual contents of an .enso file are structured, and thus make it easier to read/analyze the code.
2021-12-13 20:18:20 +03:00
|
|
|
[3186]: https://github.com/enso-org/enso/pull/3186
|
2021-12-21 12:00:57 +03:00
|
|
|
[3193]: https://github.com/enso-org/enso/pull/3193
|
2022-01-11 15:31:43 +03:00
|
|
|
[3208]: https://github.com/enso-org/enso/pull/3208
|
2022-01-17 12:51:56 +03:00
|
|
|
[3224]: https://github.com/enso-org/enso/pull/3224
|
2022-01-25 12:57:30 +03:00
|
|
|
[3229]: https://github.com/enso-org/enso/pull/3229
|
2022-01-26 14:23:55 +03:00
|
|
|
[3231]: https://github.com/enso-org/enso/pull/3231
|
2022-01-25 20:29:39 +03:00
|
|
|
[3232]: https://github.com/enso-org/enso/pull/3232
|
2022-02-02 12:04:06 +03:00
|
|
|
[3230]: https://github.com/enso-org/enso/pull/3230
|
2022-02-03 17:18:47 +03:00
|
|
|
[3240]: https://github.com/enso-org/enso/pull/3240
|
2022-02-08 19:28:46 +03:00
|
|
|
[3250]: https://github.com/enso-org/enso/pull/3250
|
2022-02-10 00:17:43 +03:00
|
|
|
[3256]: https://github.com/enso-org/enso/pull/3256
|
2022-02-11 13:18:51 +03:00
|
|
|
[3249]: https://github.com/enso-org/enso/pull/3249
|
2022-02-14 13:19:08 +03:00
|
|
|
[3264]: https://github.com/enso-org/enso/pull/3264
|
2022-02-14 12:03:55 +03:00
|
|
|
[3269]: https://github.com/enso-org/enso/pull/3269
|
2022-02-16 10:36:19 +03:00
|
|
|
[3271]: https://github.com/enso-org/enso/pull/3271
|
2022-02-15 18:16:08 +03:00
|
|
|
[3259]: https://github.com/enso-org/enso/pull/3259
|
2022-02-22 14:23:59 +03:00
|
|
|
[3273]: https://github.com/enso-org/enso/pull/3273
|
2022-02-16 20:40:33 +03:00
|
|
|
[3276]: https://github.com/enso-org/enso/pull/3276
|
2022-03-16 21:02:47 +03:00
|
|
|
[3278]: https://github.com/enso-org/enso/pull/3278
|
2022-02-17 18:04:00 +03:00
|
|
|
[3283]: https://github.com/enso-org/enso/pull/3283
|
2022-02-17 20:09:41 +03:00
|
|
|
[3282]: https://github.com/enso-org/enso/pull/3282
|
2022-02-22 18:41:56 +03:00
|
|
|
[3285]: https://github.com/enso-org/enso/pull/3285
|
2022-02-22 21:50:59 +03:00
|
|
|
[3287]: https://github.com/enso-org/enso/pull/3287
|
2022-02-23 19:48:33 +03:00
|
|
|
[3292]: https://github.com/enso-org/enso/pull/3292
|
2022-03-31 17:16:28 +03:00
|
|
|
[3301]: https://github.com/enso-org/enso/pull/3301
|
2022-03-01 02:20:41 +03:00
|
|
|
[3302]: https://github.com/enso-org/enso/pull/3302
|
2022-03-01 19:18:11 +03:00
|
|
|
[3305]: https://github.com/enso-org/enso/pull/3305
|
2022-03-02 20:19:39 +03:00
|
|
|
[3309]: https://github.com/enso-org/enso/pull/3309
|
2022-03-02 22:00:47 +03:00
|
|
|
[3310]: https://github.com/enso-org/enso/pull/3310
|
2022-03-10 10:44:19 +03:00
|
|
|
[3316]: https://github.com/enso-org/enso/pull/3316
|
2022-03-07 12:13:20 +03:00
|
|
|
[3236]: https://github.com/enso-org/enso/pull/3236
|
|
|
|
[3311]: https://github.com/enso-org/enso/pull/3311
|
2022-03-08 16:24:04 +03:00
|
|
|
[3317]: https://github.com/enso-org/enso/pull/3317
|
2022-03-12 22:42:00 +03:00
|
|
|
[3318]: https://github.com/enso-org/enso/pull/3318
|
|
|
|
[3324]: https://github.com/enso-org/enso/pull/3324
|
2022-03-17 13:38:18 +03:00
|
|
|
[3327]: https://github.com/enso-org/enso/pull/3327
|
2022-03-15 17:23:36 +03:00
|
|
|
[3339]: https://github.com/enso-org/enso/pull/3339
|
2022-03-18 19:57:06 +03:00
|
|
|
[3344]: https://github.com/enso-org/enso/pull/3344
|
2022-03-21 18:08:17 +03:00
|
|
|
[3346]: https://github.com/enso-org/enso/pull/3346
|
2022-03-22 21:18:46 +03:00
|
|
|
[3349]: https://github.com/enso-org/enso/pull/3349
|
2022-03-31 23:17:04 +03:00
|
|
|
[3361]: https://github.com/enso-org/enso/pull/3361
|
2022-04-04 12:12:48 +03:00
|
|
|
[3364]: https://github.com/enso-org/enso/pull/3364
|
2022-04-14 13:37:40 +03:00
|
|
|
[3373]: https://github.com/enso-org/enso/pull/3373
|
2022-04-05 19:45:56 +03:00
|
|
|
[3377]: https://github.com/enso-org/enso/pull/3377
|
2022-04-05 14:22:29 +03:00
|
|
|
[3366]: https://github.com/enso-org/enso/pull/3366
|
2022-04-06 07:39:58 +03:00
|
|
|
[3379]: https://github.com/enso-org/enso/pull/3379
|
2022-04-05 20:59:21 +03:00
|
|
|
[3381]: https://github.com/enso-org/enso/pull/3381
|
2022-04-14 16:12:18 +03:00
|
|
|
[3391]: https://github.com/enso-org/enso/pull/3391
|
2022-04-12 14:02:01 +03:00
|
|
|
[3383]: https://github.com/enso-org/enso/pull/3383
|
2022-04-12 20:39:08 +03:00
|
|
|
[3385]: https://github.com/enso-org/enso/pull/3385
|
2022-04-12 18:17:47 +03:00
|
|
|
[3392]: https://github.com/enso-org/enso/pull/3392
|
2022-04-13 22:21:47 +03:00
|
|
|
[3393]: https://github.com/enso-org/enso/pull/3393
|
2022-04-19 19:50:03 +03:00
|
|
|
[3390]: https://github.com/enso-org/enso/pull/3390
|
2022-04-20 19:22:01 +03:00
|
|
|
[3408]: https://github.com/enso-org/enso/pull/3408
|
2022-04-26 18:22:53 +03:00
|
|
|
[3415]: https://github.com/enso-org/enso/pull/3415
|
2022-04-29 20:12:19 +03:00
|
|
|
[3424]: https://github.com/enso-org/enso/pull/3424
|
2022-05-06 16:21:10 +03:00
|
|
|
[3425]: https://github.com/enso-org/enso/pull/3425
|
2022-05-11 01:44:05 +03:00
|
|
|
[3430]: https://github.com/enso-org/enso/pull/3430
|
2022-05-11 16:25:06 +03:00
|
|
|
[3442]: https://github.com/enso-org/enso/pull/3442
|
2022-05-17 13:26:36 +03:00
|
|
|
[3457]: https://github.com/enso-org/enso/pull/3457
|
2022-05-18 18:27:48 +03:00
|
|
|
[3455]: https://github.com/enso-org/enso/pull/3455
|
2022-05-18 20:27:42 +03:00
|
|
|
[3460]: https://github.com/enso-org/enso/pull/3460
|
2022-05-20 18:08:36 +03:00
|
|
|
[3462]: https://github.com/enso-org/enso/pull/3462
|
2022-05-24 18:59:00 +03:00
|
|
|
[3463]: https://github.com/enso-org/enso/pull/3463
|
2022-05-25 16:29:17 +03:00
|
|
|
[3472]: https://github.com/enso-org/enso/pull/3472
|
2022-05-30 13:32:43 +03:00
|
|
|
[3486]: https://github.com/enso-org/enso/pull/3486
|
2022-05-26 15:04:25 +03:00
|
|
|
[3478]: https://github.com/enso-org/enso/pull/3478
|
2022-05-30 20:13:06 +03:00
|
|
|
[3484]: https://github.com/enso-org/enso/pull/3484
|
2022-06-06 13:56:52 +03:00
|
|
|
[3502]: https://github.com/enso-org/enso/pull/3502
|
2022-06-07 15:31:55 +03:00
|
|
|
[3514]: https://github.com/enso-org/enso/pull/3514
|
2022-06-08 15:30:50 +03:00
|
|
|
[3515]: https://github.com/enso-org/enso/pull/3515
|
2022-06-08 12:53:18 +03:00
|
|
|
[3516]: https://github.com/enso-org/enso/pull/3516
|
2022-06-10 12:59:03 +03:00
|
|
|
[3517]: https://github.com/enso-org/enso/pull/3517
|
2022-06-13 12:11:46 +03:00
|
|
|
[3518]: https://github.com/enso-org/enso/pull/3518
|
2022-06-14 16:37:20 +03:00
|
|
|
[3519]: https://github.com/enso-org/enso/pull/3519
|
2022-06-21 16:39:32 +03:00
|
|
|
[3523]: https://github.com/enso-org/enso/pull/3523
|
2022-06-23 19:51:52 +03:00
|
|
|
[3528]: https://github.com/enso-org/enso/pull/3528
|
2022-07-14 15:00:52 +03:00
|
|
|
[3530]: https://github.com/enso-org/enso/pull/3530
|
2022-07-04 23:26:44 +03:00
|
|
|
[3542]: https://github.com/enso-org/enso/pull/3542
|
2022-07-04 21:32:16 +03:00
|
|
|
[3551]: https://github.com/enso-org/enso/pull/3551
|
2022-07-06 13:33:35 +03:00
|
|
|
[3552]: https://github.com/enso-org/enso/pull/3552
|
2022-07-11 13:30:44 +03:00
|
|
|
[3554]: https://github.com/enso-org/enso/pull/3554
|
2022-07-07 09:41:33 +03:00
|
|
|
[3558]: https://github.com/enso-org/enso/pull/3558
|
|
|
|
[3564]: https://github.com/enso-org/enso/pull/3564
|
2022-07-11 11:26:44 +03:00
|
|
|
[3574]: https://github.com/enso-org/enso/pull/3574
|
2022-07-11 15:36:01 +03:00
|
|
|
[3573]: https://github.com/enso-org/enso/pull/3573
|
2022-07-14 14:30:40 +03:00
|
|
|
[3583]: https://github.com/enso-org/enso/pull/3583
|
2022-07-14 18:01:26 +03:00
|
|
|
[3581]: https://github.com/enso-org/enso/pull/3581
|
2022-07-19 11:39:23 +03:00
|
|
|
[3588]: https://github.com/enso-org/enso/pull/3588
|
2022-07-19 17:09:09 +03:00
|
|
|
[3590]: https://github.com/enso-org/enso/pull/3590
|
2022-07-21 16:32:37 +03:00
|
|
|
[3593]: https://github.com/enso-org/enso/pull/3593
|
2022-07-22 11:41:17 +03:00
|
|
|
[3601]: https://github.com/enso-org/enso/pull/3601
|
2022-08-03 14:41:34 +03:00
|
|
|
[3617]: https://github.com/enso-org/enso/pull/3617
|
2022-08-24 00:13:16 +03:00
|
|
|
[3628]: https://github.com/enso-org/enso/pull/3628
|
2022-08-10 19:02:02 +03:00
|
|
|
[3629]: https://github.com/enso-org/enso/pull/3629
|
2022-09-07 20:32:28 +03:00
|
|
|
[3632]: https://github.com/enso-org/enso/pull/3632
|
2022-08-26 18:47:58 +03:00
|
|
|
[3641]: https://github.com/enso-org/enso/pull/3641
|
2022-08-16 18:41:37 +03:00
|
|
|
[3643]: https://github.com/enso-org/enso/pull/3643
|
2022-08-18 15:33:02 +03:00
|
|
|
[3644]: https://github.com/enso-org/enso/pull/3644
|
2022-08-26 18:47:58 +03:00
|
|
|
[3645]: https://github.com/enso-org/enso/pull/3645
|
2022-08-16 15:56:08 +03:00
|
|
|
[3648]: https://github.com/enso-org/enso/pull/3648
|
2022-09-01 15:33:46 +03:00
|
|
|
[3661]: https://github.com/enso-org/enso/pull/3661
|
2022-08-29 11:02:33 +03:00
|
|
|
[3665]: https://github.com/enso-org/enso/pull/3665
|
2022-08-26 12:34:33 +03:00
|
|
|
[3634]: https://github.com/enso-org/enso/pull/3634
|
2022-09-13 06:07:17 +03:00
|
|
|
[3667]: https://github.com/enso-org/enso/pull/3667
|
2022-08-26 18:47:58 +03:00
|
|
|
[3669]: https://github.com/enso-org/enso/pull/3669
|
2022-08-26 22:41:36 +03:00
|
|
|
[3647]: https://github.com/enso-org/enso/pull/3647
|
2022-09-01 01:06:29 +03:00
|
|
|
[3673]: https://github.com/enso-org/enso/pull/3673
|
2022-09-07 15:28:41 +03:00
|
|
|
[3684]: https://github.com/enso-org/enso/pull/3684
|
2022-09-16 19:05:40 +03:00
|
|
|
[3691]: https://github.com/enso-org/enso/pull/3691
|
2022-09-13 12:51:08 +03:00
|
|
|
[3695]: https://github.com/enso-org/enso/pull/3695
|
2022-09-26 19:01:39 +03:00
|
|
|
[3722]: https://github.com/enso-org/enso/pull/3722
|
2022-09-22 11:31:15 +03:00
|
|
|
[3726]: https://github.com/enso-org/enso/pull/3726
|
2022-09-23 10:35:08 +03:00
|
|
|
[3727]: https://github.com/enso-org/enso/pull/3727
|
2022-09-24 01:14:35 +03:00
|
|
|
[3733]: https://github.com/enso-org/enso/pull/3733
|
2021-11-18 17:17:38 +03:00
|
|
|
|
2022-02-06 12:02:09 +03:00
|
|
|
#### Enso Compiler
|
|
|
|
|
|
|
|
- [Added overloaded `from` conversions.][3227]
|
2022-02-11 19:05:13 +03:00
|
|
|
- [Upgraded to Graal VM 21.3.0][3258]
|
2022-03-09 18:40:02 +03:00
|
|
|
- [Added the ability to decorate values with warnings.][3248]
|
2022-03-21 12:15:14 +03:00
|
|
|
- [Fixed issues related to constructors' default arguments][3330]
|
2022-03-29 16:47:03 +03:00
|
|
|
- [Fixed compiler issue related to module cache.][3367]
|
2022-04-08 11:21:59 +03:00
|
|
|
- [Fixed execution of defaulted arguments of Atom Constructors][3358]
|
2022-07-21 09:32:40 +03:00
|
|
|
- [Converting Enso Date to java.time.LocalDate and back][3559]
|
2022-06-16 17:02:57 +03:00
|
|
|
- [Incremental Reparsing of a Simple Edits][3508]
|
2022-04-27 20:57:00 +03:00
|
|
|
- [Functions with all-defaulted arguments now execute automatically][3414]
|
2022-05-05 19:05:22 +03:00
|
|
|
- [Provide `tagValues` for function arguments in the language server][3422]
|
2022-05-05 13:53:49 +03:00
|
|
|
- [Delay construction of Truffle nodes to speed initialization][3429]
|
2022-05-04 22:18:40 +03:00
|
|
|
- [Frgaal compiler integration to allow for latest Java constructs][3421]
|
2022-05-10 11:55:08 +03:00
|
|
|
- [Support for Chrome developer tools --inspect option][3432]
|
Move Builtin Types and Methods to stdlib (#3363)
This PR replaces hard-coded `@Builtin_Method` and `@Builtin_Type` nodes in Builtins with an automated solution
that a) collects metadata from such annotations b) generates `BuiltinTypes` c) registers builtin methods with corresponding
constructors.
The main differences are:
1) The owner of the builtin method does not necessarily have to be a builtin type
2) You can now mix regular methods and builtin ones in stdlib
3) No need to keep track of builtin methods and types in various places and register them by hand (a source of many typos or omissions as it found during the process of this PR)
Related to #181497846
Benchmarks also execute within the margin of error.
### Important Notes
The PR got a bit large over time as I was moving various builtin types and finding various corner cases.
Most of the changes however are rather simple c&p from Builtins.enso to the corresponding stdlib module.
Here is the list of the most crucial updates:
- `engine/runtime/src/main/java/org/enso/interpreter/runtime/builtin/Builtins.java` - the core of the changes. We no longer register individual builtin constructors and their methods by hand. Instead, the information about those is read from 2 metadata files generated by annotation processors. When the builtin method is encountered in stdlib, we do not ignore the method. Instead we lookup it up in the list of registered functions (see `getBuiltinFunction` and `IrToTruffle`)
- `engine/runtime/src/main/java/org/enso/interpreter/runtime/callable/atom/AtomConstructor.java` has now information whether it corresponds to the builtin type or not.
- `engine/runtime/src/main/scala/org/enso/compiler/codegen/RuntimeStubsGenerator.scala` - when runtime stubs generator encounters a builtin type, based on the @Builtin_Type annotation, it looks up an existing constructor for it and registers it in the provided scope, rather than creating a new one. The scope of the constructor is also changed to the one coming from stdlib, while ensuring that synthetic methods (for fields) also get assigned correctly
- `engine/runtime/src/main/scala/org/enso/compiler/codegen/IrToTruffle.scala` - when a builtin method is encountered in stdlib we don't generate a new function node for it, instead we look it up in the list of registered builtin methods. Note that Integer and Number present a bit of a challenge because they list a whole bunch of methods that don't have a corresponding method (instead delegating to small/big integer implementations).
During the translation new atom constructors get initialized but we don't want to do it for builtins which have gone through the process earlier, hence the exception
- `lib/scala/interpreter-dsl/src/main/java/org/enso/interpreter/dsl/MethodProcessor.java` - @Builtin_Method processor not only generates the actual code fpr nodes but also collects and writes the info about them (name, class, params) to a metadata file that is read during builtins initialization
- `lib/scala/interpreter-dsl/src/main/java/org/enso/interpreter/dsl/MethodProcessor.java` - @Builtin_Method processor no longer generates only (root) nodes but also collects and writes the info about them (name, class, params) to a metadata file that is read during builtins initialization
- `lib/scala/interpreter-dsl/src/main/java/org/enso/interpreter/dsl/TypeProcessor.java` - Similar to MethodProcessor but handles @Builtin_Type annotations. It doesn't, **yet**, generate any builtin objects. It also collects the names, as present in stdlib, if any, so that we can generate the names automatically (see generated `types/ConstantsGen.java`)
- `engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin` - various classes annotated with @BuiltinType to ensure that the atom constructor is always properly registered for the builitn. Note that in order to support types fields in those, annotation takes optional `params` parameter (comma separated).
- `engine/runtime/src/bench/scala/org/enso/interpreter/bench/fixtures/semantic/AtomFixtures.scala` - drop manual creation of test list which seemed to be a relict of the old design
2022-05-05 21:18:06 +03:00
|
|
|
- [Move Builtin Types and Methods definitions to stdlib][3363]
|
2022-05-12 11:42:00 +03:00
|
|
|
- [Reduce boilerplate by generating BuiltinMethod nodes from simple method
|
|
|
|
signatures][3444]
|
2022-05-19 13:43:47 +03:00
|
|
|
- [Generate boilerplate classes related to error handling and varargs in
|
|
|
|
builtins from method signatures][3454]
|
2022-05-24 08:16:36 +03:00
|
|
|
- [Avoid needless concatenations of warning/error messages][3465]
|
2022-06-13 14:48:34 +03:00
|
|
|
- [Added a full-blown DSL for builtins][3471]
|
2022-06-23 07:43:49 +03:00
|
|
|
- [Integration of Enso with Ideal Graph Visualizer][3533]
|
2022-06-02 19:58:38 +03:00
|
|
|
- [Lazy evaluation of RHS argument for || and &&][3492]
|
2022-06-07 17:48:50 +03:00
|
|
|
- [Drop Core implementation of IR][3512]
|
2022-06-21 13:53:52 +03:00
|
|
|
- [Replace `this` with `self`][3524]
|
2022-06-16 13:25:24 +03:00
|
|
|
- [Introduce a smaller version of the standard library, just for testing][3531]
|
2022-07-07 13:31:06 +03:00
|
|
|
- [Remove `here` and make method name resolution case-sensitive][3531]
|
2022-07-27 20:45:36 +03:00
|
|
|
- [Explicit `self`][3569]
|
2022-07-22 17:12:52 +03:00
|
|
|
- [Added benchmarking tool for the language server][3578]
|
2022-07-29 17:19:07 +03:00
|
|
|
- [Support module imports using a qualified name][3608]
|
2022-08-10 15:01:33 +03:00
|
|
|
- [Enable caching in visualisation functions][3618]
|
2022-08-08 22:32:55 +03:00
|
|
|
- [Update Scala compiler and libraries][3631]
|
2022-08-05 19:25:51 +03:00
|
|
|
- [Support importing module methods][3633]
|
2022-08-11 14:45:12 +03:00
|
|
|
- [Support Autosave for open buffers][3637]
|
2022-09-22 17:45:10 +03:00
|
|
|
- [Generate native-image for engine-runner][3638]
|
2022-08-12 16:18:58 +03:00
|
|
|
- [Support pattern matching on constants][3641]
|
Builtin Date_Time, Time_Of_Day, Zone (#3658)
* Builtin Date_Time, Time_Of_Day, Zone
Improved polyglot support for Date_Time (formerly Time), Time_Of_Day and
Zone. This follows the pattern introduced for Enso Date.
Minor caveat - in tests for Date, had to bend a lot for JS Date to pass.
This is because JS Date is not really only a Date, but also a Time and
Timezone, previously we just didn't consider the latter.
Also, JS Date does not deal well with setting timezones so the trick I
used is to first call foreign function returning a polyglot JS Date,
which is converted to ZonedDateTime and only then set the correct
timezone. That way none of the existing tests had to be changes or
special cased.
Additionally, JS deals with milliseconds rather than nanoseconds so
there is loss in precision, as noted in Time_Spec.
* Add tests for Java's LocalTime
* changelog
* Make date formatters in table happy
* PR review, add more tests for zone
* More tests and fixed a bug in column reader
Column reader didn't take into account timezone but that was a mistake
since then it wouldn't map to Enso's Date_Time.
Added tests that check it now.
* remove redundant conversion
* Update distribution/lib/Standard/Base/0.0.0-dev/src/Data/Time.enso
Co-authored-by: Radosław Waśko <radoslaw.wasko@enso.org>
* First round of addressing PR review
* don't leak java exceptions in Zone
* Move Date_Time to top-level module
* PR review
Co-authored-by: Radosław Waśko <radoslaw.wasko@enso.org>
Co-authored-by: Jaroslav Tulach <jaroslav.tulach@enso.org>
2022-08-24 13:31:29 +03:00
|
|
|
- [Builtin Date_Time, Time_Of_Day and Zone types for better polyglot
|
|
|
|
support][3658]
|
2022-08-31 01:54:53 +03:00
|
|
|
- [Implement new specification of data types: `type` has a runtime
|
|
|
|
representation, every atom has a type][3671]
|
2022-09-12 18:37:46 +03:00
|
|
|
- [main = "Hello World!" is valid Enso sample][3696]
|
2022-09-15 16:41:58 +03:00
|
|
|
- [Invalidate module's IR cache if imported module changed][3703]
|
2022-09-16 16:01:06 +03:00
|
|
|
- [Don't rename imported Main module that only imports names][3710]
|
2022-09-27 17:23:06 +03:00
|
|
|
- [Distinguish static and instance methods][3740]
|
2022-02-06 12:02:09 +03:00
|
|
|
|
|
|
|
[3227]: https://github.com/enso-org/enso/pull/3227
|
2022-03-09 18:40:02 +03:00
|
|
|
[3248]: https://github.com/enso-org/enso/pull/3248
|
2022-02-11 19:05:13 +03:00
|
|
|
[3258]: https://github.com/enso-org/enso/pull/3258
|
2022-03-21 12:15:14 +03:00
|
|
|
[3330]: https://github.com/enso-org/enso/pull/3330
|
2022-04-08 11:21:59 +03:00
|
|
|
[3358]: https://github.com/enso-org/enso/pull/3358
|
2022-03-25 10:49:37 +03:00
|
|
|
[3360]: https://github.com/enso-org/enso/pull/3360
|
2022-03-29 16:47:03 +03:00
|
|
|
[3367]: https://github.com/enso-org/enso/pull/3367
|
2022-07-21 09:32:40 +03:00
|
|
|
[3559]: https://github.com/enso-org/enso/pull/3559
|
2022-06-16 17:02:57 +03:00
|
|
|
[3508]: https://github.com/enso-org/enso/pull/3508
|
2022-04-25 18:09:09 +03:00
|
|
|
[3412]: https://github.com/enso-org/enso/pull/3412
|
2022-04-27 20:57:00 +03:00
|
|
|
[3414]: https://github.com/enso-org/enso/pull/3414
|
2022-04-26 15:06:48 +03:00
|
|
|
[3417]: https://github.com/enso-org/enso/pull/3417
|
2022-05-05 19:05:22 +03:00
|
|
|
[3422]: https://github.com/enso-org/enso/pull/3422
|
2022-05-05 13:53:49 +03:00
|
|
|
[3429]: https://github.com/enso-org/enso/pull/3429
|
2022-05-04 22:18:40 +03:00
|
|
|
[3421]: https://github.com/enso-org/enso/pull/3421
|
2022-05-10 11:55:08 +03:00
|
|
|
[3432]: https://github.com/enso-org/enso/pull/3432
|
Move Builtin Types and Methods to stdlib (#3363)
This PR replaces hard-coded `@Builtin_Method` and `@Builtin_Type` nodes in Builtins with an automated solution
that a) collects metadata from such annotations b) generates `BuiltinTypes` c) registers builtin methods with corresponding
constructors.
The main differences are:
1) The owner of the builtin method does not necessarily have to be a builtin type
2) You can now mix regular methods and builtin ones in stdlib
3) No need to keep track of builtin methods and types in various places and register them by hand (a source of many typos or omissions as it found during the process of this PR)
Related to #181497846
Benchmarks also execute within the margin of error.
### Important Notes
The PR got a bit large over time as I was moving various builtin types and finding various corner cases.
Most of the changes however are rather simple c&p from Builtins.enso to the corresponding stdlib module.
Here is the list of the most crucial updates:
- `engine/runtime/src/main/java/org/enso/interpreter/runtime/builtin/Builtins.java` - the core of the changes. We no longer register individual builtin constructors and their methods by hand. Instead, the information about those is read from 2 metadata files generated by annotation processors. When the builtin method is encountered in stdlib, we do not ignore the method. Instead we lookup it up in the list of registered functions (see `getBuiltinFunction` and `IrToTruffle`)
- `engine/runtime/src/main/java/org/enso/interpreter/runtime/callable/atom/AtomConstructor.java` has now information whether it corresponds to the builtin type or not.
- `engine/runtime/src/main/scala/org/enso/compiler/codegen/RuntimeStubsGenerator.scala` - when runtime stubs generator encounters a builtin type, based on the @Builtin_Type annotation, it looks up an existing constructor for it and registers it in the provided scope, rather than creating a new one. The scope of the constructor is also changed to the one coming from stdlib, while ensuring that synthetic methods (for fields) also get assigned correctly
- `engine/runtime/src/main/scala/org/enso/compiler/codegen/IrToTruffle.scala` - when a builtin method is encountered in stdlib we don't generate a new function node for it, instead we look it up in the list of registered builtin methods. Note that Integer and Number present a bit of a challenge because they list a whole bunch of methods that don't have a corresponding method (instead delegating to small/big integer implementations).
During the translation new atom constructors get initialized but we don't want to do it for builtins which have gone through the process earlier, hence the exception
- `lib/scala/interpreter-dsl/src/main/java/org/enso/interpreter/dsl/MethodProcessor.java` - @Builtin_Method processor not only generates the actual code fpr nodes but also collects and writes the info about them (name, class, params) to a metadata file that is read during builtins initialization
- `lib/scala/interpreter-dsl/src/main/java/org/enso/interpreter/dsl/MethodProcessor.java` - @Builtin_Method processor no longer generates only (root) nodes but also collects and writes the info about them (name, class, params) to a metadata file that is read during builtins initialization
- `lib/scala/interpreter-dsl/src/main/java/org/enso/interpreter/dsl/TypeProcessor.java` - Similar to MethodProcessor but handles @Builtin_Type annotations. It doesn't, **yet**, generate any builtin objects. It also collects the names, as present in stdlib, if any, so that we can generate the names automatically (see generated `types/ConstantsGen.java`)
- `engine/runtime/src/main/java/org/enso/interpreter/node/expression/builtin` - various classes annotated with @BuiltinType to ensure that the atom constructor is always properly registered for the builitn. Note that in order to support types fields in those, annotation takes optional `params` parameter (comma separated).
- `engine/runtime/src/bench/scala/org/enso/interpreter/bench/fixtures/semantic/AtomFixtures.scala` - drop manual creation of test list which seemed to be a relict of the old design
2022-05-05 21:18:06 +03:00
|
|
|
[3363]: https://github.com/enso-org/enso/pull/3363
|
2022-05-12 11:42:00 +03:00
|
|
|
[3444]: https://github.com/enso-org/enso/pull/3444
|
2022-05-16 09:47:35 +03:00
|
|
|
[3453]: https://github.com/enso-org/enso/pull/3453
|
2022-05-19 13:43:47 +03:00
|
|
|
[3454]: https://github.com/enso-org/enso/pull/3454
|
2022-05-24 16:01:26 +03:00
|
|
|
[3461]: https://github.com/enso-org/enso/pull/3461
|
2022-05-24 08:16:36 +03:00
|
|
|
[3465]: https://github.com/enso-org/enso/pull/3465
|
2022-06-13 14:48:34 +03:00
|
|
|
[3471]: https://github.com/enso-org/enso/pull/3471
|
2022-06-23 07:43:49 +03:00
|
|
|
[3533]: https://github.com/enso-org/enso/pull/3533
|
2022-06-02 19:58:38 +03:00
|
|
|
[3492]: https://github.com/enso-org/enso/pull/3492
|
2022-06-01 12:39:48 +03:00
|
|
|
[3493]: https://github.com/enso-org/enso/pull/3493
|
2022-06-03 21:45:56 +03:00
|
|
|
[3505]: https://github.com/enso-org/enso/pull/3505
|
2022-06-07 17:48:50 +03:00
|
|
|
[3512]: https://github.com/enso-org/enso/pull/3512
|
2022-06-21 13:53:52 +03:00
|
|
|
[3524]: https://github.com/enso-org/enso/pull/3524
|
2022-06-16 13:25:24 +03:00
|
|
|
[3531]: https://github.com/enso-org/enso/pull/3531
|
2022-07-13 18:59:47 +03:00
|
|
|
[3562]: https://github.com/enso-org/enso/pull/3562
|
2022-07-07 13:31:06 +03:00
|
|
|
[3538]: https://github.com/enso-org/enso/pull/3538
|
2022-08-24 00:13:16 +03:00
|
|
|
[3569]: https://github.com/enso-org/enso/pull/3569
|
|
|
|
[3578]: https://github.com/enso-org/enso/pull/3578
|
2022-08-10 15:01:33 +03:00
|
|
|
[3618]: https://github.com/enso-org/enso/pull/3618
|
|
|
|
[3608]: https://github.com/enso-org/enso/pull/3608
|
2022-07-29 17:19:07 +03:00
|
|
|
[3608]: https://github.com/enso-org/enso/pull/3608
|
2022-08-08 22:32:55 +03:00
|
|
|
[3631]: https://github.com/enso-org/enso/pull/3631
|
2022-08-05 19:25:51 +03:00
|
|
|
[3633]: https://github.com/enso-org/enso/pull/3633
|
2022-08-11 14:45:12 +03:00
|
|
|
[3637]: https://github.com/enso-org/enso/pull/3637
|
2022-09-22 17:45:10 +03:00
|
|
|
[3637]: https://github.com/enso-org/enso/pull/3638
|
2022-08-26 12:34:33 +03:00
|
|
|
[3641]: https://github.com/enso-org/enso/pull/3641
|
Builtin Date_Time, Time_Of_Day, Zone (#3658)
* Builtin Date_Time, Time_Of_Day, Zone
Improved polyglot support for Date_Time (formerly Time), Time_Of_Day and
Zone. This follows the pattern introduced for Enso Date.
Minor caveat - in tests for Date, had to bend a lot for JS Date to pass.
This is because JS Date is not really only a Date, but also a Time and
Timezone, previously we just didn't consider the latter.
Also, JS Date does not deal well with setting timezones so the trick I
used is to first call foreign function returning a polyglot JS Date,
which is converted to ZonedDateTime and only then set the correct
timezone. That way none of the existing tests had to be changes or
special cased.
Additionally, JS deals with milliseconds rather than nanoseconds so
there is loss in precision, as noted in Time_Spec.
* Add tests for Java's LocalTime
* changelog
* Make date formatters in table happy
* PR review, add more tests for zone
* More tests and fixed a bug in column reader
Column reader didn't take into account timezone but that was a mistake
since then it wouldn't map to Enso's Date_Time.
Added tests that check it now.
* remove redundant conversion
* Update distribution/lib/Standard/Base/0.0.0-dev/src/Data/Time.enso
Co-authored-by: Radosław Waśko <radoslaw.wasko@enso.org>
* First round of addressing PR review
* don't leak java exceptions in Zone
* Move Date_Time to top-level module
* PR review
Co-authored-by: Radosław Waśko <radoslaw.wasko@enso.org>
Co-authored-by: Jaroslav Tulach <jaroslav.tulach@enso.org>
2022-08-24 13:31:29 +03:00
|
|
|
[3658]: https://github.com/enso-org/enso/pull/3658
|
2022-08-31 01:54:53 +03:00
|
|
|
[3671]: https://github.com/enso-org/enso/pull/3671
|
2022-09-12 18:37:46 +03:00
|
|
|
[3696]: https://github.com/enso-org/enso/pull/3696
|
2022-09-15 16:41:58 +03:00
|
|
|
[3696]: https://github.com/enso-org/enso/pull/3703
|
2022-09-16 16:01:06 +03:00
|
|
|
[3696]: https://github.com/enso-org/enso/pull/3710
|
2022-09-27 17:23:06 +03:00
|
|
|
[3740]: https://github.com/enso-org/enso/pull/3740
|
2022-02-06 12:02:09 +03:00
|
|
|
|
2021-10-13 00:51:15 +03:00
|
|
|
# Enso 2.0.0-alpha.18 (2021-10-12)
|
2021-09-27 23:44:55 +03:00
|
|
|
|
2021-10-13 00:50:48 +03:00
|
|
|
<br/>![New Features](/docs/assets/tags/new_features.svg)
|
|
|
|
|
|
|
|
#### Enso Compiler
|
|
|
|
|
|
|
|
- [Updated Enso engine to version 0.2.30][engine-0.2.31]. If you're interested
|
|
|
|
in the enhancements and fixes made to the Enso compiler, you can find their
|
2021-11-01 22:44:15 +03:00
|
|
|
release notes
|
|
|
|
[here](https://github.com/enso-org/enso/blob/develop/RELEASES.md).
|
2021-10-13 00:50:48 +03:00
|
|
|
|
2021-09-30 00:13:13 +03:00
|
|
|
<br/>![Bug Fixes](/docs/assets/tags/bug_fixes.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
|
|
|
- [Fixed freezing after inactivity.][1776] When the IDE window was minimized or
|
|
|
|
covered by other windows or invisible for any other reason for a duration
|
|
|
|
around one minute or longer then it would often be frozen for some seconds on
|
|
|
|
return. Now it is possible to interact with the IDE instantly, no matter how
|
|
|
|
long it had been inactive.
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
|
|
|
[1776]: https://github.com/enso-org/ide/pull/1776
|
|
|
|
|
2021-09-24 01:24:05 +03:00
|
|
|
# Enso 2.0.0-alpha.17 (2021-09-23)
|
2021-09-17 20:22:34 +03:00
|
|
|
|
2021-09-24 01:18:12 +03:00
|
|
|
<br/>![Bug Fixes](/docs/assets/tags/bug_fixes.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
2021-09-24 01:47:05 +03:00
|
|
|
- [Correct handling of command-line flags.][1815] Command line arguments of the
|
|
|
|
form `--backend=false` or `--backend false` are now handled as expected and
|
|
|
|
turn off the "backend" option. The same fix has been applied to all other
|
|
|
|
boolean command-line options as well.
|
2021-09-24 01:18:12 +03:00
|
|
|
- [Visualizations will be attached after project is ready.][1825] This addresses
|
|
|
|
a rare issue when initially opened visualizations were automatically closed
|
|
|
|
rather than filled with data.
|
|
|
|
|
2021-09-24 01:47:05 +03:00
|
|
|
<br/>
|
|
|
|
|
|
|
|
[1815]: https://github.com/enso-org/ide/pull/1815
|
2021-09-24 01:18:12 +03:00
|
|
|
[1825]: https://github.com/enso-org/ide/pull/1825
|
|
|
|
|
2021-09-24 01:22:29 +03:00
|
|
|
<br/>![New Features](/docs/assets/tags/new_features.svg)
|
|
|
|
|
|
|
|
#### Enso Compiler
|
|
|
|
|
|
|
|
- [Updated Enso engine to version 0.2.30][engine-0.2.30]. If you're interested
|
|
|
|
in the enhancements and fixes made to the Enso compiler, you can find their
|
2021-11-01 22:44:15 +03:00
|
|
|
release notes
|
|
|
|
[here](https://github.com/enso-org/enso/blob/develop/RELEASES.md).
|
2021-09-24 01:22:29 +03:00
|
|
|
|
2021-11-01 03:37:30 +03:00
|
|
|
[engine-0.2.30]: https://github.com/enso-org/enso/blob/develop/RELEASES.md
|
2021-09-24 01:22:29 +03:00
|
|
|
|
2021-09-16 20:26:54 +03:00
|
|
|
# Enso 2.0.0-alpha.16 (2021-09-16)
|
2021-09-13 02:29:53 +03:00
|
|
|
|
2021-09-16 20:15:07 +03:00
|
|
|
<br/>![New Features](/docs/assets/tags/new_features.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
|
|
|
- [Auto-layout for new nodes.][1755] When a node is selected and a new node gets
|
|
|
|
created below using <kbd>Tab</kbd> then the new node is automatically
|
|
|
|
positioned far enough to the right to find sufficient space and avoid
|
|
|
|
overlapping with existing nodes.
|
|
|
|
|
|
|
|
[1755]: https://github.com/enso-org/ide/pull/1755
|
|
|
|
|
2021-09-16 20:26:03 +03:00
|
|
|
#### Enso Compiler
|
|
|
|
|
|
|
|
- [Updated Enso engine to version 0.2.29][engine-0.2.29]. If you're interested
|
|
|
|
in the enhancements and fixes made to the Enso compiler, you can find their
|
2021-11-01 22:44:15 +03:00
|
|
|
release notes
|
|
|
|
[here](https://github.com/enso-org/enso/blob/develop/RELEASES.md).
|
2021-09-16 20:26:03 +03:00
|
|
|
|
2021-11-01 03:37:30 +03:00
|
|
|
[engine-0.2.29]: https://github.com/enso-org/enso/blob/develop/RELEASES.md
|
2021-09-16 20:26:03 +03:00
|
|
|
|
2021-09-16 20:17:44 +03:00
|
|
|
<br/>![Bug Fixes](/docs/assets/tags/bug_fixes.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
|
|
|
- [Sharp rendering on screens with fractional pixel ratios.][1820]
|
|
|
|
|
|
|
|
[1820]: https://github.com/enso-org/ide/pull/1820
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
2021-09-10 01:26:50 +03:00
|
|
|
# Enso 2.0.0-alpha.15 (2021-09-09)
|
2021-09-08 14:02:59 +03:00
|
|
|
|
|
|
|
<br/>![Bug Fixes](/docs/assets/tags/bug_fixes.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
|
|
|
- [Fixed parsing of the `--no-data-gathering` command line option.][1831] Flag's
|
|
|
|
name has been changed to `--data-gathering`, so now `--data-gathering=false`
|
|
|
|
and `--data-gathering=true` are supported as well.
|
|
|
|
|
|
|
|
[1831]: https://github.com/enso-org/ide/pull/1831
|
|
|
|
|
2021-09-03 00:47:23 +03:00
|
|
|
# Enso 2.0.0-alpha.14 (2021-09-02)
|
2021-08-27 16:51:21 +03:00
|
|
|
|
2021-08-31 12:12:22 +03:00
|
|
|
<br/>![New Features](/docs/assets/tags/new_features.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
|
|
|
- [Visualization previews are disabled.][1817] Previously, hovering over a
|
|
|
|
node's output port for more than four seconds would temporarily reveal the
|
2021-09-24 01:18:12 +03:00
|
|
|
node's visualization. This behavior is disabled now.
|
2021-08-31 12:12:22 +03:00
|
|
|
|
|
|
|
[1817]: https://github.com/enso-org/ide/pull/1817
|
|
|
|
|
2021-09-03 00:45:04 +03:00
|
|
|
#### Enso Compiler
|
|
|
|
|
|
|
|
- [Updated Enso engine to version 0.2.28][1829]. If you're interested in the
|
|
|
|
enhancements and fixes made to the Enso compiler, you can find their release
|
2021-11-01 03:37:30 +03:00
|
|
|
notes [here](https://github.com/enso-org/enso/blob/develop/RELEASES.md).
|
2021-09-03 00:45:04 +03:00
|
|
|
|
|
|
|
[1829]: https://github.com/enso-org/ide/pull/1829
|
|
|
|
|
2021-08-27 11:38:58 +03:00
|
|
|
# Enso 2.0.0-alpha.13 (2021-08-27)
|
2021-08-23 12:48:38 +03:00
|
|
|
|
2021-08-27 11:36:04 +03:00
|
|
|
<br/>![New Features](/docs/assets/tags/new_features.svg)
|
|
|
|
|
|
|
|
#### Enso Compiler
|
|
|
|
|
|
|
|
- [Updated Enso engine to version 0.2.27][1811]. If you're interested in the
|
|
|
|
enhancements and fixes made to the Enso compiler, you can find their release
|
2021-11-01 03:37:30 +03:00
|
|
|
notes [here](https://github.com/enso-org/enso/blob/develop/RELEASES.md).
|
2021-08-27 11:36:04 +03:00
|
|
|
|
|
|
|
[1811]: https://github.com/enso-org/ide/pull/1811
|
|
|
|
|
2021-08-14 00:12:45 +03:00
|
|
|
# Enso 2.0.0-alpha.12 (2021-08-13)
|
2021-08-09 16:38:41 +03:00
|
|
|
|
2021-08-14 00:11:27 +03:00
|
|
|
<br/>![New Features](/docs/assets/tags/new_features.svg)
|
|
|
|
|
2021-08-31 12:12:22 +03:00
|
|
|
#### Visual Environment
|
2021-08-14 00:11:27 +03:00
|
|
|
|
2021-08-20 10:37:52 +03:00
|
|
|
- [Improvements to visualization handling][1804]. These improvements are fixing
|
|
|
|
possible performance issues around attaching and detaching visualizations.
|
2021-08-19 13:13:01 +03:00
|
|
|
- [GeoMap visualization will ignore points with `null` coordinates][1775]. Now
|
|
|
|
the presence of such points in the dataset will not break initial map
|
|
|
|
positioning.
|
2021-08-20 11:42:47 +03:00
|
|
|
|
|
|
|
#### Enso Compiler
|
|
|
|
|
|
|
|
- [Updated Enso engine to version 0.2.26][1801]. If you're interested in the
|
2021-08-14 00:11:27 +03:00
|
|
|
enhancements and fixes made to the Enso compiler, you can find their release
|
2021-11-01 03:37:30 +03:00
|
|
|
notes [here](https://github.com/enso-org/enso/blob/develop/RELEASES.md).
|
2021-08-14 00:11:27 +03:00
|
|
|
|
2021-08-20 11:42:47 +03:00
|
|
|
[1801]: https://github.com/enso-org/ide/pull/1801
|
2021-08-19 13:13:01 +03:00
|
|
|
[1775]: https://github.com/enso-org/ide/pull/1775
|
2021-08-14 00:11:27 +03:00
|
|
|
[1798]: https://github.com/enso-org/ide/pull/1798
|
2021-08-20 10:37:52 +03:00
|
|
|
[1804]: https://github.com/enso-org/ide/pull/1804
|
2021-08-14 00:11:27 +03:00
|
|
|
|
2021-08-09 16:37:31 +03:00
|
|
|
# Enso 2.0.0-alpha.11 (2021-08-09)
|
2021-07-23 16:43:58 +03:00
|
|
|
|
2021-07-23 19:04:21 +03:00
|
|
|
This update contains major performance improvements and exposes new privacy user
|
|
|
|
settings. We will work towards stabilizing it in the next weeks in order to make
|
|
|
|
these updates be shipped in a stable release before the end of the year.
|
|
|
|
|
|
|
|
<br/>![New Features](/docs/assets/tags/new_features.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
2021-08-06 20:24:41 +03:00
|
|
|
- [New look of open project dialog][1700]. Now it has a "Open project" title at
|
2021-07-23 19:04:21 +03:00
|
|
|
the top.
|
2021-08-06 20:24:41 +03:00
|
|
|
- [Documentation coments are displayed next to the nodes.][1744].
|
2021-07-23 19:04:21 +03:00
|
|
|
|
2021-07-27 17:31:33 +03:00
|
|
|
#### Enso Compiler
|
|
|
|
|
2021-08-09 16:35:05 +03:00
|
|
|
- [Updated Enso engine to version 0.2.22][1762]. If you are interested in the
|
2021-07-27 17:31:33 +03:00
|
|
|
enhancements and fixes made to the Enso compiler, you can find out more
|
|
|
|
details in
|
2021-11-01 03:37:30 +03:00
|
|
|
[the engine release notes](https://github.com/enso-org/enso/blob/develop/RELEASES.md).
|
2021-07-27 17:31:33 +03:00
|
|
|
|
2021-07-30 15:38:43 +03:00
|
|
|
<br/>![Bug Fixes](/docs/assets/tags/bug_fixes.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
2021-09-30 00:13:13 +03:00
|
|
|
- [Fixed a bug where edited node expression was sometimes altered.][1743] When
|
2021-07-30 15:38:43 +03:00
|
|
|
editing node expression, the changes were occasionally reverted, or the
|
2021-09-30 00:13:13 +03:00
|
|
|
grayed-out parameter names were added to the actual expression. <br/>
|
2021-07-23 19:04:21 +03:00
|
|
|
|
|
|
|
[1700]: https://github.com/enso-org/ide/pull/1700
|
2021-08-06 19:56:53 +03:00
|
|
|
[1742]: https://github.com/enso-org/ide/pull/1742
|
2021-08-05 22:40:25 +03:00
|
|
|
[1726]: https://github.com/enso-org/ide/pull/1762
|
2021-07-30 15:38:43 +03:00
|
|
|
[1743]: https://github.com/enso-org/ide/pull/1743
|
2021-08-05 17:28:26 +03:00
|
|
|
[1744]: https://github.com/enso-org/ide/pull/1744
|
2021-07-23 19:04:21 +03:00
|
|
|
|
2021-07-23 10:17:30 +03:00
|
|
|
# Enso 2.0.0-alpha.10 (2021-07-23)
|
2021-07-09 12:41:58 +03:00
|
|
|
|
2021-07-23 19:04:21 +03:00
|
|
|
<br/>![New Features](/docs/assets/tags/new_features.svg)
|
|
|
|
|
2021-07-21 10:57:08 +03:00
|
|
|
#### Enso Compiler
|
|
|
|
|
|
|
|
- [Updated Enso engine to version 0.2.15][1710]. If you're interested in the
|
|
|
|
enhancements and fixes made to the Enso compiler, you can find out more
|
|
|
|
details in
|
2021-11-01 03:37:30 +03:00
|
|
|
[the engine release notes](https://github.com/enso-org/enso/blob/develop/RELEASES.md).
|
2021-07-21 10:57:08 +03:00
|
|
|
|
2021-07-23 19:04:21 +03:00
|
|
|
<br/>
|
|
|
|
|
2021-07-21 10:57:08 +03:00
|
|
|
[1710]: https://github.com/enso-org/ide/pull/1710
|
|
|
|
|
2021-07-20 16:20:38 +03:00
|
|
|
# Enso 2.0.0-alpha.9 (2021-07-16)
|
|
|
|
|
2021-07-16 11:36:15 +03:00
|
|
|
<br/>![New Features](/docs/assets/tags/new_features.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
2021-07-20 16:20:38 +03:00
|
|
|
- [Improved undo-redo][1653]. Node selection, enabling/disabling visualisations
|
|
|
|
and entering a node are now affected by undo/redo and are restored on project
|
|
|
|
startup.
|
2021-07-16 11:36:15 +03:00
|
|
|
|
|
|
|
<br/>
|
2021-08-06 19:56:53 +03:00
|
|
|
|
2021-07-23 19:04:21 +03:00
|
|
|
[1640]: https://github.com/enso-org/ide/pull/1653
|
|
|
|
|
|
|
|
# Enso 2.0.0-alpha.8 (2021-06-09)
|
2021-07-09 12:41:58 +03:00
|
|
|
|
|
|
|
<br/>![New Features](/docs/assets/tags/new_features.svg)
|
|
|
|
|
|
|
|
#### Enso Compiler
|
|
|
|
|
|
|
|
- [Updated Enso engine to version 0.2.12][1640]. If you're interested in the
|
|
|
|
enhancements and fixes made to the Enso compiler, you can find out more
|
|
|
|
details in
|
2021-11-01 03:37:30 +03:00
|
|
|
[the engine release notes](https://github.com/enso-org/enso/blob/develop/RELEASES.md).
|
2021-07-09 12:41:58 +03:00
|
|
|
|
2021-07-16 11:36:15 +03:00
|
|
|
[1640]: https://github.com/enso-org/ide/pull/1640
|
2021-07-09 12:41:58 +03:00
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
2021-07-06 10:50:16 +03:00
|
|
|
# Enso 2.0.0-alpha.7 (2021-06-06)
|
|
|
|
|
2021-07-06 13:00:38 +03:00
|
|
|
<br/>![New Features](/docs/assets/tags/new_features.svg)
|
|
|
|
|
2021-07-06 10:50:16 +03:00
|
|
|
#### Visual Environment
|
|
|
|
|
2021-07-06 13:00:38 +03:00
|
|
|
- [User Authentication][1653]. Users can sign in to Enso using Google, GitHub or
|
|
|
|
email accounts.
|
|
|
|
|
2021-07-06 10:50:16 +03:00
|
|
|
<br/>![Bug Fixes](/docs/assets/tags/bug_fixes.svg)
|
|
|
|
|
2021-07-06 13:00:38 +03:00
|
|
|
#### Visual Environment
|
|
|
|
|
2021-07-06 10:50:16 +03:00
|
|
|
- [Fix node selection bug ][1664]. Fix nodes not being deselected correctly in
|
|
|
|
some circumstances. This would lead to nodes moving too fast when dragged
|
|
|
|
[1650] or the internal state of the project being inconsistent [1626].
|
|
|
|
|
2021-07-06 13:00:38 +03:00
|
|
|
[1653]: https://github.com/enso-org/ide/pull/1653
|
|
|
|
[1664]: https://github.com/enso-org/ide/pull/1664
|
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
2021-06-25 18:04:37 +03:00
|
|
|
# Enso 2.0.0-alpha.6 (2021-06-28)
|
2021-05-24 18:17:55 +03:00
|
|
|
|
|
|
|
<br/>![New Features](/docs/assets/tags/new_features.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
2021-07-16 11:36:15 +03:00
|
|
|
- [Profling mode.][1546] The IDE contains a profiling mode now which can be
|
2021-06-10 14:24:04 +03:00
|
|
|
entered through a button in the top-right corner or through the keybinding
|
|
|
|
<kbd>ctrl</kbd>+<kbd>p</kbd>. This mode does not display any information yet.
|
|
|
|
In the future, it will display the running times of nodes and maybe more
|
|
|
|
useful statistics.
|
2021-06-13 22:52:39 +03:00
|
|
|
- [Area selection][1588]. You can now select multiple nodes at once. Just click
|
|
|
|
and drag on the background of your graph and see the beauty of the area
|
|
|
|
selection appear.
|
2021-06-01 12:55:15 +03:00
|
|
|
- [Opening projects in application graphical interface][1587]. Press `cmd`+`o`
|
|
|
|
to bring the list of projects. Select a project on the list to open it.
|
2021-06-11 07:34:03 +03:00
|
|
|
- [Initial support for undo-redo][1602]. Press <kbd>cmd</kbd>+<kbd>z</kbd> to
|
|
|
|
undo last action and <kbd>cmd</kbd>+<kbd>z</kbd> to redo last undone action.
|
|
|
|
This version of undo redo does not have proper support for text editor and
|
|
|
|
undoing UI changes (like selecting nodes).
|
2021-06-01 12:55:15 +03:00
|
|
|
|
2021-05-24 18:17:55 +03:00
|
|
|
#### EnsoGL (rendering engine)
|
|
|
|
|
|
|
|
<br/>![Bug Fixes](/docs/assets/tags/bug_fixes.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
2021-05-26 16:28:22 +03:00
|
|
|
- [Nodes in graph no longer overlap panels][1577]. The Searcher, project name,
|
|
|
|
breadcrumbs and status bar are displayed "above" nodes.
|
|
|
|
|
2021-05-24 18:17:55 +03:00
|
|
|
#### Enso Compiler
|
|
|
|
|
2021-06-13 22:52:39 +03:00
|
|
|
[1588]: https://github.com/enso-org/ide/pull/1588
|
2021-05-26 16:28:22 +03:00
|
|
|
[1577]: https://github.com/enso-org/ide/pull/1577
|
2021-06-01 12:55:15 +03:00
|
|
|
[1587]: https://github.com/enso-org/ide/pull/1587
|
2021-06-11 07:34:03 +03:00
|
|
|
[1602]: https://github.com/enso-org/ide/pull/1602
|
2021-07-06 10:42:08 +03:00
|
|
|
[1602]: https://github.com/enso-org/ide/pull/1664
|
|
|
|
[1602]: https://github.com/enso-org/ide/pull/1650
|
|
|
|
[1602]: https://github.com/enso-org/ide/pull/1626
|
2021-05-26 16:28:22 +03:00
|
|
|
|
2021-05-24 17:56:58 +03:00
|
|
|
# Enso 2.0.0-alpha.5 (2021-05-14)
|
2021-04-26 16:06:52 +03:00
|
|
|
|
|
|
|
<br/>![New Features](/docs/assets/tags/new_features.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
2021-05-21 16:24:17 +03:00
|
|
|
- [Create New Project action in Searcher][1566]. When you bring the searcher
|
|
|
|
with tab having no node selected, a new action will be available next to the
|
|
|
|
examples and code suggestions: `Create New Project`. When you choose it by
|
|
|
|
clicking with mouse or selecting and pressing enter, a new unnamed project
|
|
|
|
will be created and opened in the application. Then you can give a name to
|
|
|
|
this project.
|
2021-06-10 12:56:51 +03:00
|
|
|
- [Signed builds.][1366] Our builds are signed and will avoid warnings from the
|
|
|
|
operating system about being untrusted.
|
2021-05-21 16:24:17 +03:00
|
|
|
|
|
|
|
#### EnsoGL (rendering engine)
|
|
|
|
|
2021-05-21 12:41:03 +03:00
|
|
|
- [Components for picking numbers and ranges.][1524]. We now have some internal
|
|
|
|
re-usable UI components for selecting numbers or a range. Stay tuned for them
|
|
|
|
appearing in the IDE.
|
|
|
|
|
2021-05-04 13:54:13 +03:00
|
|
|
<br/>![Bug Fixes](/docs/assets/tags/bug_fixes.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
2021-06-04 14:05:00 +03:00
|
|
|
- [Delete key will delete selected nodes][1538]. Only the non-intuitive
|
|
|
|
backspace key was assigned to this action before.
|
2021-05-13 10:50:01 +03:00
|
|
|
- [It is possible to move around after deleting a node with a selected
|
|
|
|
visualization][1556]. Deleting a node while its attached visualization was
|
|
|
|
selected made it impossible to pan or zoom around the stage afterwards. This
|
|
|
|
error is fixed now.
|
2021-05-11 12:33:20 +03:00
|
|
|
- [Fixed an internal error that would make the IDE fail on some browser.][1561].
|
|
|
|
Instead of crashing on browser that don't support the feature we use, we are
|
|
|
|
now just start a little bit slower.
|
2021-05-07 12:27:20 +03:00
|
|
|
|
2021-05-21 16:24:17 +03:00
|
|
|
#### Enso Compiler
|
|
|
|
|
2021-05-10 18:39:31 +03:00
|
|
|
- [Updated Enso engine to version 0.2.11][1541].
|
|
|
|
|
2021-05-04 13:54:13 +03:00
|
|
|
If you're interested in the enhancements and fixes made to the Enso compiler,
|
|
|
|
you can find their release notes
|
2021-11-01 03:37:30 +03:00
|
|
|
[here](https://github.com/enso-org/enso/blob/develop/RELEASES.md).
|
2021-05-04 13:54:13 +03:00
|
|
|
|
2021-06-10 12:56:51 +03:00
|
|
|
[1366]: https://github.com/enso-org/ide/pull/1366
|
2021-05-21 16:24:17 +03:00
|
|
|
[1541]: https://github.com/enso-org/ide/pull/1541
|
2021-05-07 12:27:20 +03:00
|
|
|
[1538]: https://github.com/enso-org/ide/pull/1538
|
2021-05-24 17:56:58 +03:00
|
|
|
[1524]: https://github.com/enso-org/ide/pull/1524
|
|
|
|
[1556]: https://github.com/enso-org/ide/pull/1556
|
|
|
|
[1561]: https://github.com/enso-org/ide/pull/1561
|
|
|
|
[1566]: https://github.com/enso-org/ide/pull/1566
|
2021-05-07 12:27:20 +03:00
|
|
|
|
2021-05-04 13:54:13 +03:00
|
|
|
<br/>
|
|
|
|
|
|
|
|
# Enso 2.0.0-alpha.4 (2021-05-04)
|
|
|
|
|
|
|
|
<br/>![New Features](/docs/assets/tags/new_features.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
2021-04-26 16:06:52 +03:00
|
|
|
- [Window management buttons.][1511]. The IDE now has components for
|
2021-05-04 13:54:13 +03:00
|
|
|
"fullscreen" and "close" buttons. They will when running IDE in a cloud
|
|
|
|
environment where no native window buttons are available.
|
2021-04-30 00:21:18 +03:00
|
|
|
- [Customizable backend options][1531]. When invoking Enso IDE through command
|
2021-05-04 13:54:13 +03:00
|
|
|
line interface, it is possible to add the `--` argument separator. All
|
|
|
|
arguments following the separator will be passed to the backend.
|
2021-04-30 00:21:18 +03:00
|
|
|
- [Added `--verbose` parameter][1531]. If `--verbose` is given as command line
|
|
|
|
argument, the IDE and the backend will produce more detailed logs.
|
2021-04-26 16:06:52 +03:00
|
|
|
|
|
|
|
<br/>![Bug Fixes](/docs/assets/tags/bug_fixes.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
2021-05-04 13:54:13 +03:00
|
|
|
- [Some command line arguments were not applied correctly in the IDE][1536].
|
|
|
|
Some arguments were not passed correctly to the IDE leading to erroneous
|
|
|
|
behavior or appearance of the electron app. This is now fixed.
|
2021-04-26 16:06:52 +03:00
|
|
|
|
|
|
|
#### Enso Compiler
|
|
|
|
|
|
|
|
If you're interested in the enhancements and fixes made to the Enso compiler,
|
|
|
|
you can find their release notes
|
2021-11-01 03:37:30 +03:00
|
|
|
[here](https://github.com/enso-org/enso/blob/develop/RELEASES.md).
|
2021-04-26 16:06:52 +03:00
|
|
|
|
|
|
|
[1511]: https://github.com/enso-org/ide/pull/1511
|
2021-05-04 13:54:13 +03:00
|
|
|
[1536]: https://github.com/enso-org/ide/pull/1536
|
2021-04-30 00:21:18 +03:00
|
|
|
[1531]: https://github.com/enso-org/ide/pull/1531
|
2021-04-26 16:06:52 +03:00
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
2021-04-13 18:27:25 +03:00
|
|
|
# Enso 2.0.0-alpha.3 (2020-04-13)
|
2021-03-08 15:03:00 +03:00
|
|
|
|
|
|
|
<br/>![New Learning Resources](/docs/assets/tags/new_learning_resources.svg)
|
|
|
|
|
|
|
|
<br/>![New Features](/docs/assets/tags/new_features.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
2021-04-13 17:41:26 +03:00
|
|
|
- [The status bar reports connectivity issues][1316]. The IDE maintains a
|
|
|
|
connection to the Enso Language Server. If this connection is lost, any
|
|
|
|
unsaved and further work will be lost. In this build we have added a
|
|
|
|
notification in the status bar to signal that the connection has been lost and
|
|
|
|
that the IDE must be restarted. In future, the IDE will try to automatically
|
|
|
|
reconnect.
|
|
|
|
- [Visualizations can now be maximised to fill the screen][1355] by selecting
|
|
|
|
the node and pressing space twice. To quit this view, press space again.
|
|
|
|
- [Visualizations are previewed when you hover over an output port.][1363] There
|
|
|
|
is now a quick preview for visualizations and error descriptions. Hovering
|
|
|
|
over a node output will first show a tooltip with the type information and
|
|
|
|
then, after some time, will show the visualization of the node. This preview
|
|
|
|
visualization will be located above other nodes, whereas the normal view, will
|
|
|
|
be shown below nodes. Errors will show the preview visualization immediately.
|
|
|
|
Nodes without type information will also show the visualization immediately.
|
|
|
|
You can enter a quick preview mode by pressing ctrl (or command on macOS),
|
|
|
|
which will show the preview visualization immediately when hovering above a
|
|
|
|
node's output port.
|
2021-03-25 19:03:22 +03:00
|
|
|
- [Database Visualizations][1335]. Visualizations for the Database library have
|
|
|
|
been added. The Table visualization now automatically executes the underlying
|
2021-04-13 17:41:26 +03:00
|
|
|
query to display its results as a table. In addition, the SQL Query
|
2021-03-25 19:03:22 +03:00
|
|
|
visualization allows the user to see the query that is going to be run against
|
|
|
|
the database.
|
2021-03-30 10:36:42 +03:00
|
|
|
- [Histogram and Scatter Plot now support Dataframes.][1377] The `Table` and
|
|
|
|
`Column` datatypes are properly visualized. Scatter Plot can display points of
|
2021-04-13 17:41:26 +03:00
|
|
|
different colors, shapes and sizes, all as defined by the data within the
|
2021-03-30 10:36:42 +03:00
|
|
|
`Table`.
|
2021-04-02 11:01:50 +03:00
|
|
|
- [Many small visual improvements.][1419] See the source issue for more details.
|
2021-04-07 15:01:51 +03:00
|
|
|
- The dark theme is officially supported now. You can start the IDE with the
|
|
|
|
`--theme=dark` option to enable it.
|
2021-04-13 17:41:26 +03:00
|
|
|
- You can hide the node labels with the `--no-node-labels` option. This is
|
|
|
|
useful when creating demo videos.
|
|
|
|
- [Added a Heatmap visualization.][1438] Just as for the Scatter Plot, it
|
|
|
|
supports visualizing `Table`, but also `Vector`.
|
2021-04-13 16:59:41 +03:00
|
|
|
- [Add a background to the status bar][1447].
|
|
|
|
- [Display breadcrumbs behind nodes and other objects][1471].
|
2021-04-08 12:14:13 +03:00
|
|
|
- [Image visualization.][1367]. Visualizations for the Enso Image library. Now
|
2021-04-13 17:41:26 +03:00
|
|
|
you can display the `Image` type and a string with an image encoded in base64.
|
|
|
|
The histogram visualization has been adjusted, allowing you to display the
|
|
|
|
values of the precomputed bins, which is useful when the dataset is relatively
|
|
|
|
big, and it's cheaper to send the precomputed bins rather than the entire
|
|
|
|
dataset.
|
2021-05-14 16:06:14 +03:00
|
|
|
- [Output type labels.][1427] The labels, that show the output type of a node on
|
|
|
|
hover, appear now in a fixed position right below the node, instead of a
|
|
|
|
pop-up, as they did before.
|
2021-03-12 14:56:33 +03:00
|
|
|
|
2021-03-08 15:03:00 +03:00
|
|
|
<br/>![Bug Fixes](/docs/assets/tags/bug_fixes.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
2021-04-13 17:41:26 +03:00
|
|
|
- [Not adding spurious imports][1209]. Fixed cases where the IDE was adding
|
|
|
|
unnecessary library imports when selecting hints from the node searcher. This
|
|
|
|
makes the generated textual code much easier to read, and reduces the
|
|
|
|
likelihood of accidental name collisions.
|
|
|
|
- [Hovering over an output port shows a pop-up with the result type of a
|
|
|
|
node][1312]. This allows easy discovery of the result type of a node, which
|
|
|
|
can help with both debugging and development.
|
|
|
|
- [Visualizations can define the context for preprocessor evaluation][1291].
|
|
|
|
Users can now decide which module's context should be used for visualization
|
|
|
|
preprocessor. This allows providing visualizations with standard library
|
2021-03-10 13:09:45 +03:00
|
|
|
functionalities or defining utilities that are shared between multiple
|
|
|
|
visualizations.
|
2021-04-13 17:41:26 +03:00
|
|
|
- [Fixed an issue with multiple instances of the IDE running.][1314] This fixes
|
|
|
|
an issue where multiple instances of the IDE (or even other applications)
|
|
|
|
could lead to the IDE not working.
|
2021-03-12 22:37:53 +03:00
|
|
|
- [Allow JS to log arbitrary objects.][1313] Previously using `console.log` in a
|
2021-03-19 13:43:34 +03:00
|
|
|
visualisation or during development would crash the IDE. Now it correctly logs
|
2021-04-13 17:41:26 +03:00
|
|
|
the string representation of the object. This is great for debugging custom
|
|
|
|
visualizations.
|
|
|
|
- [Fix the mouse cursor offset on systems with fractional display
|
|
|
|
scaling][1064]. The cursor now works with any display scaling, instead of
|
|
|
|
there being an offset between the visible cursor and the cursor selection.
|
2021-03-12 15:24:33 +03:00
|
|
|
- [Disable area selection][1318]. The area selection was visible despite being
|
|
|
|
non-functional. To avoid confusion, area selection has been disabled until it
|
|
|
|
is [correctly implemented][479].
|
2021-04-13 17:41:26 +03:00
|
|
|
- [Fix an error after adding a node][1332]. Sometimes, after picking a
|
|
|
|
suggestion, the inserted node was spuriously annotated with "The name could
|
|
|
|
not be found" error.
|
2021-03-23 17:08:18 +03:00
|
|
|
- [Handle syntax errors in custom-defined visualizations][1341]. The IDE is now
|
2021-04-13 17:41:26 +03:00
|
|
|
able to run properly, even if some of the custom visualizations inside a
|
|
|
|
project contain syntax errors.
|
2021-03-23 17:08:18 +03:00
|
|
|
- [Fix issues with pasting multi-line text into single-line text fields][1348].
|
2021-04-13 17:41:26 +03:00
|
|
|
The line in the copied text will be inserted and all additional lines will be
|
2021-03-23 17:08:18 +03:00
|
|
|
ignored.
|
2021-03-19 13:43:34 +03:00
|
|
|
- [Users can opt out of anonymous data gathering.][1328] This can be done with
|
2021-04-13 17:41:26 +03:00
|
|
|
the `--no-data-gathering` command-line flag when starting the IDE.
|
2021-03-24 21:08:42 +03:00
|
|
|
- [Provide a theming API for JavaScript visualizations][1358]. It is now
|
|
|
|
possible to use the Enso theming engine while developing custom visualizations
|
|
|
|
in JavaScript. You can query it for all IDE colors, including the colors used
|
|
|
|
to represent types.
|
2021-04-13 17:41:26 +03:00
|
|
|
- [You can now start the IDE service without a window again.][1353] The command
|
2021-03-30 21:51:32 +03:00
|
|
|
line argument `--no-window` now starts all the required backend services
|
2021-04-13 17:41:26 +03:00
|
|
|
again, and prints the port on the command line. This allows you to open the
|
|
|
|
IDE in a web browser of your choice.
|
|
|
|
- [JS visualizations have gestures consistent with the IDE][1291]. Panning and
|
|
|
|
zooming now works just as expected using both a trackpad and mouse.
|
2021-03-31 17:31:46 +03:00
|
|
|
- [Running `watch` command works on first try.][1395]. Running the build command
|
|
|
|
`run watch` would fail if it was run as the first command on a clean
|
|
|
|
repository. This now works.
|
2021-04-13 17:41:26 +03:00
|
|
|
- [The `inputType` field of visualizations is actually taken into
|
|
|
|
consideration][1384]. The visualization chooser shows only the entries that
|
|
|
|
work properly for the node's output type.
|
|
|
|
- [Fix applying the output of the selected node to the expression of a new
|
|
|
|
node][1385]. For example, having selected a node with `Table` output and
|
|
|
|
adding a new node with expression `at "x" == "y"`, the selected node was
|
|
|
|
applied to the right side of `==`: `at "x" == operator1."y"` instead of
|
|
|
|
`operator1.at "x" == "y"`.
|
|
|
|
- [`Enso_Project.data` is visible in the searcher][1393].
|
|
|
|
- [The Geo Map visualization recognizes columns regardless of the case of their
|
|
|
|
name][1392]. This allows visualizing tables with columns like `LONGITUDE` or
|
2021-03-26 19:42:50 +03:00
|
|
|
`Longitude`, where previously only `longitude` was recognized.
|
2021-04-13 17:41:26 +03:00
|
|
|
- [It is possible now to switch themes][1390]. Additionally, the theme manager
|
|
|
|
was integrated with the FRP event engine, which has been a long-standing issue
|
|
|
|
in the IDE. Themes management was exposed to JavaScript with the
|
|
|
|
`window.theme` variable. It is even possible to change and develop themes live
|
|
|
|
by editing theme variables directly in the Chrome Inspector. Use the following
|
|
|
|
command to give this a go:
|
|
|
|
`theme.snapshot("t1"); theme.get("t1").interactiveMode()`.
|
2021-03-31 17:46:18 +03:00
|
|
|
- [The active visualization is highlighted.][1412] Now it is clearly visible
|
|
|
|
when the mouse events are passed to the visualization.
|
2021-04-13 17:41:26 +03:00
|
|
|
- [Fixed an issue where projects containing certain language constructs failed
|
|
|
|
to load.][1413]
|
2021-04-02 16:52:22 +03:00
|
|
|
- [Fixed a case where IDE could lose connection to the backend after some
|
|
|
|
time.][1428]
|
2021-04-13 17:41:26 +03:00
|
|
|
- [Improved the performance of the graph editor, particularly when opening a
|
|
|
|
project for the first time.][1445]
|
2021-03-08 15:03:00 +03:00
|
|
|
|
|
|
|
#### EnsoGL (rendering engine)
|
|
|
|
|
2021-04-13 17:41:26 +03:00
|
|
|
- [Unified shadow generation][1411]. Added a toolset to create shadows for
|
2021-03-30 21:09:54 +03:00
|
|
|
arbitrary UI components.
|
2021-03-31 10:12:43 +03:00
|
|
|
|
2021-03-08 15:03:00 +03:00
|
|
|
#### Enso Compiler
|
|
|
|
|
|
|
|
If you're interested in the enhancements and fixes made to the Enso compiler,
|
|
|
|
you can find their release notes
|
2021-11-01 03:37:30 +03:00
|
|
|
[here](https://github.com/enso-org/enso/blob/develop/RELEASES.md#enso-0210-2021-04-07).
|
2021-03-08 15:03:00 +03:00
|
|
|
|
2021-03-30 17:16:46 +03:00
|
|
|
[1064]: https://github.com/enso-org/ide/pull/1064
|
2021-03-08 15:03:00 +03:00
|
|
|
[1209]: https://github.com/enso-org/ide/pull/1209
|
2021-03-10 13:09:45 +03:00
|
|
|
[1291]: https://github.com/enso-org/ide/pull/1291
|
2021-03-25 12:54:11 +03:00
|
|
|
[1311]: https://github.com/enso-org/ide/pull/1311
|
2021-03-30 17:16:46 +03:00
|
|
|
[1313]: https://github.com/enso-org/ide/pull/1313
|
|
|
|
[1314]: https://github.com/enso-org/ide/pull/1314
|
2021-03-12 14:56:33 +03:00
|
|
|
[1316]: https://github.com/enso-org/ide/pull/1316
|
2021-03-12 15:24:33 +03:00
|
|
|
[1318]: https://github.com/enso-org/ide/pull/1318
|
2021-03-30 17:16:46 +03:00
|
|
|
[1328]: https://github.com/enso-org/ide/pull/1328
|
2021-03-30 13:43:05 +03:00
|
|
|
[1355]: https://github.com/enso-org/ide/pull/1355
|
2021-03-23 19:38:00 +03:00
|
|
|
[1332]: https://github.com/enso-org/ide/pull/1332
|
|
|
|
[1341]: https://github.com/enso-org/ide/pull/1341
|
2021-03-23 17:08:18 +03:00
|
|
|
[1341]: https://github.com/enso-org/ide/pull/1341
|
|
|
|
[1348]: https://github.com/enso-org/ide/pull/1348
|
2021-03-22 13:38:05 +03:00
|
|
|
[1353]: https://github.com/enso-org/ide/pull/1353
|
2021-03-31 17:31:46 +03:00
|
|
|
[1395]: https://github.com/enso-org/ide/pull/1395
|
2021-03-30 21:51:32 +03:00
|
|
|
[1363]: https://github.com/enso-org/ide/pull/1363
|
2021-03-30 15:25:38 +03:00
|
|
|
[1384]: https://github.com/enso-org/ide/pull/1384
|
2021-03-26 14:00:25 +03:00
|
|
|
[1385]: https://github.com/enso-org/ide/pull/1385
|
2021-03-30 17:16:46 +03:00
|
|
|
[1390]: https://github.com/enso-org/ide/pull/1390
|
2021-03-26 19:42:50 +03:00
|
|
|
[1392]: https://github.com/enso-org/ide/pull/1392
|
2021-03-30 17:16:46 +03:00
|
|
|
[1393]: https://github.com/enso-org/ide/pull/1393
|
|
|
|
[479]: https://github.com/enso-org/ide/issues/479
|
2021-03-30 13:43:05 +03:00
|
|
|
[1335]: https://github.com/enso-org/ide/pull/1335
|
|
|
|
[1358]: https://github.com/enso-org/ide/pull/1358
|
2021-03-30 10:36:42 +03:00
|
|
|
[1377]: https://github.com/enso-org/ide/pull/1377
|
2021-03-30 21:09:54 +03:00
|
|
|
[1411]: https://github.com/enso-org/ide/pull/1411
|
2021-03-31 17:46:18 +03:00
|
|
|
[1412]: https://github.com/enso-org/ide/pull/1412
|
2021-04-02 11:01:50 +03:00
|
|
|
[1419]: https://github.com/enso-org/ide/pull/1419
|
2021-04-01 23:56:23 +03:00
|
|
|
[1413]: https://github.com/enso-org/ide/pull/1413
|
2021-04-02 16:52:22 +03:00
|
|
|
[1428]: https://github.com/enso-org/ide/pull/1428
|
2021-04-04 18:42:38 +03:00
|
|
|
[1438]: https://github.com/enso-org/ide/pull/1438
|
2021-04-08 12:14:13 +03:00
|
|
|
[1367]: https://github.com/enso-org/ide/pull/1367
|
2021-04-09 18:25:24 +03:00
|
|
|
[1445]: https://github.com/enso-org/ide/pull/1445
|
2021-04-26 16:06:52 +03:00
|
|
|
[1447]: https://github.com/enso-org/ide/pull/1447
|
|
|
|
[1471]: https://github.com/enso-org/ide/pull/1471
|
|
|
|
[1511]: https://github.com/enso-org/ide/pull/1511
|
2021-03-08 15:03:00 +03:00
|
|
|
|
|
|
|
<br/>
|
|
|
|
|
2021-03-04 21:01:35 +03:00
|
|
|
# Enso 2.0.0-alpha.2 (2020-03-04)
|
2021-02-02 08:07:43 +03:00
|
|
|
|
2021-03-04 21:01:35 +03:00
|
|
|
This is a release focused on bug-fixing, stability, and performance. It improves
|
|
|
|
the performance of workflows and visualizations, and improves the look and feel
|
2021-03-05 18:22:19 +03:00
|
|
|
of the graphical interface. In addition, the graphical interface now informs the
|
|
|
|
users about errors and where they originate.
|
2021-02-02 08:07:43 +03:00
|
|
|
|
2021-03-04 21:01:35 +03:00
|
|
|
<br/>![New Learning Resources](/docs/assets/tags/new_learning_resources.svg)
|
|
|
|
|
|
|
|
- [Learn how to define custom data visualizations in
|
|
|
|
Enso][podcast-custom-visualizations].
|
2021-03-05 18:22:19 +03:00
|
|
|
- [Learn how to use Java libraries in Enso, to build a
|
|
|
|
webserver][podcast-java-interop].
|
|
|
|
- [Learn how to use Javascript libraries in Enso, to build custom server-side
|
|
|
|
website rendering][podcast-http-server].
|
|
|
|
- [Discover why Enso Compiler is so fast and how it was built to support a
|
|
|
|
dual-representation language][podcast-compiler-internals].
|
2021-03-04 21:01:35 +03:00
|
|
|
- [Learn more about the vision behind Enso and about its planned
|
|
|
|
future][podcast-future-of-enso].
|
2021-02-02 08:07:43 +03:00
|
|
|
|
2021-02-06 00:53:42 +03:00
|
|
|
<br/>![New Features](/docs/assets/tags/new_features.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
2021-03-04 21:01:35 +03:00
|
|
|
|
|
|
|
- [Errors in workflows are now displayed in the graphical interface][1215].
|
|
|
|
Previously, these errors were silently skipped, which was non-intuitive and
|
|
|
|
hard to understand. Now, the IDE displays both dataflow errors and panics in a
|
2021-03-05 18:22:19 +03:00
|
|
|
nice and descriptive fashion.
|
2021-03-04 21:01:35 +03:00
|
|
|
- [Added geographic map support for Tables (data frames).][1187] Tables that
|
2021-03-05 18:22:19 +03:00
|
|
|
have `latitude`, `longitude`, and optionally `label` columns can now be shown
|
2021-03-04 21:01:35 +03:00
|
|
|
as points on a map.
|
2021-03-05 18:22:19 +03:00
|
|
|
- [Added a shortcut for live reloading of visualization files.][1190] This
|
|
|
|
drastically improves how quickly new visualizations can be tested during their
|
2021-03-04 21:01:35 +03:00
|
|
|
development. This is _currently_ limited in that, after reloading
|
|
|
|
visualization definitions, the currently visible visualizations must be
|
2021-03-05 18:22:19 +03:00
|
|
|
switched to another and switched back to refresh their content. See the [video
|
|
|
|
podcast about building custom visualizations][podcast-custom-visualizations]
|
2021-03-04 21:01:35 +03:00
|
|
|
to learn more.
|
|
|
|
- [Added a visual indicator of the ongoing standard library compilation][1264].
|
2021-03-05 18:22:19 +03:00
|
|
|
Currently, each time IDE is started, the backend needs to compile the standard
|
|
|
|
library before it can provide IDE with type information and values. Because of
|
|
|
|
that, not all functionalities are ready to work directly after starting the
|
|
|
|
IDE. Now, there is a visible indication of the ongoing background process.
|
2021-03-04 21:01:35 +03:00
|
|
|
- [Added the ability to reposition visualisations.][1096] There is now an icon
|
|
|
|
in the visualization action bar that allows dragging the visualization away
|
|
|
|
from a node. Once the visualization has been moved, another icon appears that
|
|
|
|
can pin the visualization back to the node.
|
|
|
|
- [There is now an API to show Version Control System (like Git) status for
|
|
|
|
nodes][1160].
|
|
|
|
|
|
|
|
<br/>![Bug Fixes](/docs/assets/tags/bug_fixes.svg)
|
|
|
|
|
|
|
|
#### Visual Environment
|
|
|
|
|
|
|
|
- [You can now use the table visualization to display data frames][1181]. Please
|
|
|
|
note, that large tables will get truncated to 2000 entries. This limitation
|
|
|
|
will be lifted in future releases.
|
|
|
|
- [Performance improvements during visual workflow][1067]. Nodes added with the
|
2021-03-05 18:22:19 +03:00
|
|
|
searcher will have their values automatically assigned to newly generated
|
2021-03-04 21:01:35 +03:00
|
|
|
variables, which allows the Enso Engine to cache intermediate values and hence
|
|
|
|
improve visualization performance.
|
|
|
|
- [Minor documentation rendering fixes][1098]. Fixed cases where text would be
|
|
|
|
misinterpreted as a tag, added support for new tag types, added support for
|
|
|
|
more common characters, properly renders overflowing text.
|
|
|
|
- [Improved handling of projects created with other IDE versions][1214]. The IDE
|
|
|
|
is now better at dealing with incompatible metadata in files, which stores
|
|
|
|
node visual position information, the history of chosen searcher suggestions,
|
|
|
|
etc. This will allow IDE to correctly open projects that were created using a
|
2021-03-05 18:22:19 +03:00
|
|
|
different IDE version and prevent unnecessary loss of metadata.
|
2021-03-04 21:01:35 +03:00
|
|
|
- Pressing and holding up and down arrow keys make the list view selection move
|
|
|
|
continuously.
|
|
|
|
- The shortcuts to close the application and to toggle the developer tools at
|
|
|
|
runtime now work on all supported platforms.
|
|
|
|
- [The loading progress indicator remains visible while IDE initializes][1237].
|
|
|
|
Previously the loading progress indicator completed too quickly and stopped
|
|
|
|
spinning before the IDE was ready. Now it stays active, giving a visual
|
|
|
|
indication that the initialization is still in progress.
|
|
|
|
- [Fixed visual glitch where a node's text was displayed as white on a white
|
|
|
|
background][1264]. Most notably this occurred with the output node of a
|
|
|
|
function generated using the node collapse refactoring.
|
2021-03-05 18:22:19 +03:00
|
|
|
- Many visual glitches were fixed, including small "pixel-like" artifacts
|
2021-03-04 21:01:35 +03:00
|
|
|
appearing on the screen.
|
|
|
|
- [Several parser improvements][1274]. The parser used in the IDE has been
|
|
|
|
updated to the latest version. This resolves several issues with language
|
2021-03-05 18:22:19 +03:00
|
|
|
constructs like `import`, lambdas, and parentheses, whereupon typing certain
|
2021-03-04 21:01:35 +03:00
|
|
|
text the edit could be automatically reverted.
|
|
|
|
- [The auto-import functionality was improved][1279]. Libraries' `Main` modules
|
2021-03-05 18:22:19 +03:00
|
|
|
are omitted in expressions inserted by the searcher. For example, the `point`
|
2021-03-04 21:01:35 +03:00
|
|
|
method of `Geo` library will be displayed as `Geo.point` and will insert
|
|
|
|
import `Geo` instead of `Geo.Main`.
|
|
|
|
- Cursors in text editors behave correctly now (they are not affected by scene
|
|
|
|
pan and zoom). This was possible because of the new multi-camera management
|
|
|
|
system implemented in EnsoGL.
|
2021-03-30 18:48:55 +03:00
|
|
|
- [Fixed method names highlighted in pink.][1408] There was a bug introduced
|
|
|
|
after one of the latest Engine updates, that sent `Unresolved_symbol` types,
|
|
|
|
which made all methods pink. This is fixed now.
|
2021-03-04 21:01:35 +03:00
|
|
|
|
|
|
|
#### EnsoGL (rendering engine)
|
|
|
|
|
2021-03-05 18:22:19 +03:00
|
|
|
- A new multi-camera management system, allowing the same shape systems to be
|
2021-03-04 21:01:35 +03:00
|
|
|
rendered on different layers from different cameras. The implementation
|
|
|
|
automatically caches the same shape system definitions per scene layer in
|
|
|
|
order to minimize the amount of WebGL draw calls and hence improve
|
|
|
|
performance.
|
|
|
|
- A new depth-ordering mechanism for symbols and shapes. It is now possible to
|
|
|
|
define depth order dependencies between symbols, shapes, and shape systems.
|
|
|
|
- Various performance improvements, especially for the text rendering engine.
|
|
|
|
- Display objects handle visibility correctly now. Display objects are not
|
|
|
|
visible by default and need to be attached to a visible parent to be shown on
|
|
|
|
the screen.
|
|
|
|
|
|
|
|
#### Enso Compiler
|
|
|
|
|
|
|
|
If you're interested in the enhancements and fixes made to the Enso compiler,
|
|
|
|
you can find their release notes
|
2021-11-01 03:37:30 +03:00
|
|
|
[here](https://github.com/enso-org/enso/blob/develop/RELEASES.md#enso-026-2021-03-02).
|
2021-02-06 00:53:42 +03:00
|
|
|
|
2021-03-05 01:47:50 +03:00
|
|
|
[1067]: https://github.com/enso-org/ide/pull/1067
|
|
|
|
[1096]: https://github.com/enso-org/ide/pull/1096
|
2021-02-11 19:00:22 +03:00
|
|
|
[1098]: https://github.com/enso-org/ide/pull/1098
|
2021-02-06 00:57:16 +03:00
|
|
|
[1181]: https://github.com/enso-org/ide/pull/1181
|
2021-03-04 21:01:35 +03:00
|
|
|
[1215]: https://github.com/enso-org/ide/pull/1215
|
2021-02-12 15:38:06 +03:00
|
|
|
[1160]: https://github.com/enso-org/ide/pull/1160
|
2021-02-10 20:19:54 +03:00
|
|
|
[1190]: https://github.com/enso-org/ide/pull/1190
|
2021-02-16 13:47:57 +03:00
|
|
|
[1187]: https://github.com/enso-org/ide/pull/1187
|
2021-03-01 11:38:16 +03:00
|
|
|
[1068]: https://github.com/enso-org/ide/pull/1068
|
2021-02-19 17:20:25 +03:00
|
|
|
[1214]: https://github.com/enso-org/ide/pull/1214
|
2021-02-25 17:23:55 +03:00
|
|
|
[1237]: https://github.com/enso-org/ide/pull/1237
|
2021-03-01 11:38:16 +03:00
|
|
|
[1264]: https://github.com/enso-org/ide/pull/1264
|
2021-03-02 16:21:50 +03:00
|
|
|
[1274]: https://github.com/enso-org/ide/pull/1274
|
2021-03-02 14:47:13 +03:00
|
|
|
[1279]: https://github.com/enso-org/ide/pull/1279
|
2021-03-04 21:01:35 +03:00
|
|
|
[podcast-java-interop]:
|
|
|
|
https://www.youtube.com/watch?v=bcpOEX1x06I&t=468s&ab_channel=Enso
|
|
|
|
[podcast-compiler-internals]:
|
|
|
|
https://www.youtube.com/watch?v=BibjcUjdkO4&ab_channel=Enso
|
|
|
|
[podcast-custom-visualizations]:
|
|
|
|
https://www.youtube.com/watch?v=wFkh5LgAZTs&t=5439s&ab_channel=Enso
|
|
|
|
[podcast-http-server]:
|
|
|
|
https://www.youtube.com/watch?v=BYUAL4ksEgY&ab_channel=Enso
|
|
|
|
[podcast-future-of-enso]:
|
|
|
|
https://www.youtube.com/watch?v=rF8DuJPOfTs&t=1863s&ab_channel=Enso
|
2021-03-17 12:48:11 +03:00
|
|
|
[1312]: https://github.com/enso-org/ide/pull/1312
|
2021-03-30 18:48:55 +03:00
|
|
|
[1408]: https://github.com/enso-org/ide/pull/1408
|
2021-02-06 00:53:42 +03:00
|
|
|
|
2021-03-04 21:01:35 +03:00
|
|
|
<br/>
|
2021-02-06 00:51:41 +03:00
|
|
|
|
2021-02-02 08:07:43 +03:00
|
|
|
# Enso 2.0.0-alpha.1 (2020-01-26)
|
2021-03-04 21:01:35 +03:00
|
|
|
|
|
|
|
This is the first release of Enso, a general-purpose programming language and
|
|
|
|
environment for interactive data processing. It is a tool that spans the entire
|
|
|
|
stack, going from high-level visualization and communication to the nitty-gritty
|
|
|
|
of backend services, all in a single language.
|
2021-02-02 08:07:43 +03:00
|
|
|
|
|
|
|
<br/>![Release Notes](/docs/assets/tags/release_notes.svg)
|
|
|
|
|
|
|
|
#### Anonymous Data Collection
|
2021-03-04 21:01:35 +03:00
|
|
|
|
|
|
|
Please note that this release collects anonymous usage data which will be used
|
|
|
|
to improve Enso and prepare it for a stable release. We will switch to opt-in
|
|
|
|
data collection in stable version releases. The usage data will not contain your
|
|
|
|
code (expressions above nodes), however, reported errors may contain brief
|
|
|
|
snippets of out of context code that specifically leads to the error, like "the
|
|
|
|
method 'foo' does not exist on Number". The following data will be collected:
|
|
|
|
|
2021-02-02 08:07:43 +03:00
|
|
|
- Session length.
|
2021-03-04 21:01:35 +03:00
|
|
|
- Graph editing events (node create, dele, position change, connect, disconnect,
|
|
|
|
collapse, edit start, edit end). This will not include any information about
|
|
|
|
node expressions used.
|
2021-02-02 08:07:43 +03:00
|
|
|
- Navigation events (camera movement, scope change).
|
2021-03-04 21:01:35 +03:00
|
|
|
- Visualization events (visualization open, close, switch). This will not
|
|
|
|
include any information about the displayed data nor the rendered
|
|
|
|
visualization itself.
|
2021-02-02 08:07:43 +03:00
|
|
|
- Project management events (project open, close, rename).
|
2021-03-04 21:01:35 +03:00
|
|
|
- Errors (IDE crashes, WASM panics, Project Manager errors, Language Server
|
|
|
|
errors, Compiler errors).
|
2021-02-02 08:07:43 +03:00
|
|
|
- Performance statistics (minimum, maximum, average GUI refresh rate).
|