1
1
mirror of https://github.com/enso-org/enso.git synced 2024-12-29 11:04:18 +03:00
Commit Graph

5600 Commits

Author SHA1 Message Date
Jaroslav Tulach
1df9ea6f3b
raiseAssertionPanic instead of shouldNotReachHere () 2024-12-17 14:33:07 +01:00
AdRiley
34ddd37301
Add Missing_Argument error to join right () 2024-12-17 15:19:07 +02:00
Dmitry Bushev
269354ebf7
Update licenses codeowners ()
followup to 

> By making the license directories unowned, only the necessary reviewers will be added to the PR

Changelog:
- add: missing directories containing the legal review info
2024-12-16 16:37:05 +00:00
Dmitry Bushev
96c5f31009
Upgrade Scala to 2.13.15 ()
close 
2024-12-16 16:07:03 +00:00
Kaz Wesley
d2ae17ffc9
Disallow a confusing constructor syntax ()
Previously, a constructor or type definition with a single argument defined inline could use spaces within the argument's definition without parentheses, as in the draft spec. This syntax was found confusing and is no longer allowed. No usages occurred in our `.enso` files. Fixes .
2024-12-16 15:54:19 +00:00
Gregory Michael Travis
61bb1ce4eb
Fix unused variable warning () 2024-12-16 15:38:47 +00:00
Kaz Wesley
aebfacd486
CodeEditor improvements () 2024-12-16 15:15:17 +00:00
James Dunkerley
63ed629210
Excel Reading (XLSX) using SAX Default Handler ()
- Implement Excel reading as a SAXMLParser.
2024-12-13 21:01:16 +00:00
Radosław Waśko
e6bcd5e485
aggregate ..Sum of integer column remains integer and handles overflow ()
- This was mentioned in  but didn't get a proper ticket.
- Ensuring that summing integers gives an integer and not a float.
- Only in-memory, as in Database the result type is database-dependent and we want it to be like that.
- Also allowing the integer sum to overflow and become a `BigInteger`, in that case the resulting column will become `Decimal`.
2024-12-13 19:28:03 +00:00
Paweł Buchowski
be6eb1e49f
Fix sending same refreshToken as accessToken in open project request ()
In `open_project` request body we send `cognitoCredentials` for the project to be able to communicate with Cloud API. Currently the `refreshToken` has the same value as `accessToken` making that communication buggy.
2024-12-13 19:14:21 +00:00
Jaroslav Tulach
7998ed5218
case of and intersection types ()
Also: Prefer `getURI` path when gathering location of a source
2024-12-13 16:02:51 +01:00
Radosław Waśko
e9b0ba95b0
Fix ensoup launcher upgrade mechanism ()
- Closes  by updating the upgrade logic to the new executable name
- Re-enables the long disabled `UpgradeSpec` to make sure this remains tested.
- If the tests were enabled we would have caught the regression in 
- The tests have been heavily outdated due to being disabled, many small details changed and had to be amended.
- The tests are still marked as Flaky - they were known to be problematic on CI so their failures will not stop CI for now. But at least they are run and we can see if they succeed or not. Plus when running tests locally they will fail (as all tests marked as Flaky - the failure is only ignored on CI).
- Fixes another issue with an infinite cycle when no upgrade path can be found and adds a test for this case.
- If running a development build, the minimum version check can be ignored, as the check does not really make sense for `0.0.0-dev` build.
- Thus it closes  also.
- Makes sure that `GithubAPI` caches the list of releases as fetching it can take time.
2024-12-12 17:06:01 +00:00
Jaroslav Tulach
fe5e13456a
Benchmark up_to . each ()
Benchmark for . Seems to be fast.
2024-12-12 14:17:22 +00:00
somebody1234
1a8888d562
Remove listVersions from Backend ()
- Close https://github.com/enso-org/cloud-v2/issues/1616
- Remove `listVersions` from backend

# Important Notes
None
2024-12-12 13:06:50 +00:00
Pavel Marek
4d88dd1761
Fix benchmarks upload GH Action ()
Modifies the [Benchmarks Upload](https://github.com/enso-org/enso/actions/workflows/bench-upload.yml) job to also upload special `cache/index.json` file that maps filenames in the cache to their timestamps.

This is necessary for https://github.com/enso-org/enso/issues/10212 but it is also good for an Enso workflow that analyses benchmarks from the locally cloned repo. (The workflow will soon be pushed to the https://github.com/enso-org/engine-benchmark-results repo)

# Important Notes
Moreover, the `Benchmarks Upload` job fails since yesterday (https://github.com/enso-org/enso/actions/runs/12269442294/job/34233007971), because there is an old workflow ID used for the engine benchmarks.

To allow more convenient testing of the Action, I have added an ability to trigger this action manually in 857c0864b6
2024-12-12 11:33:24 +00:00
somebody1234
b83c5a15eb
Clean up integration tests and add listeners for backend calls ()
- Close https://github.com/enso-org/cloud-v2/issues/1604
- Add ability to track backend calls
- Remove inconsistent integration test code
- Add skeleton classes for settings pages

# Important Notes
None
2024-12-12 09:49:58 +00:00
Jaroslav Tulach
2964457d48
Intersection types & type checks ()
Implementation of **type checks** for **intersection types**. The idea is to split the list of `types[]` in `EnsoMultiValue` into two parts:
- first `methodDispatchTypes` represent the types the value _"has been cast to"_
- the rest of the types represent the types the value _"can be cast to"_

By performing this separation we address the  requirements. After a type check only methods available on the `methodDispatchTypes` can be invoked. However the value can still be cast to all the possible types.
2024-12-12 07:29:00 +00:00
somebody1234
ffd0de4661
Sticky headers for settings tables ()
- https://github.com/enso-org/cloud-v2/issues/1574
- Make header rows sticky
- Use solid background on header rows User Groups and Members tables in settings to avoid overlapping text
- https://github.com/enso-org/cloud-v2/issues/895
- Make "name" column sticky in assets table

# Important Notes
None
2024-12-11 23:57:17 +00:00
Adam Obuchowicz
ffec1c8004
Fix clicking-out Component Browser ()
Fixes 

There was implicit `any` on refs, so the typechecker didn't catch missing property.
2024-12-11 23:16:27 +00:00
Radosław Waśko
44a8de337e
Fix visualization on values derived from secrets ()
A very small fix to a small defect I noticed.

Before:
![image](https://github.com/user-attachments/assets/abb091bd-c626-44a2-9cd3-eddbe0e8c2cb)

After:
![image](https://github.com/user-attachments/assets/857f0e09-5960-4322-921b-c8c44e50789f)
2024-12-11 22:14:54 +00:00
AdRiley
c5ccc5a359
Color missing value messages blue ()
A missing value error message is more of a something you haven't done yet message than an error. So coloring it blue is more friendly and also ties into the blue highlighting of the widget names.

Also removed the default text when it isn't text but a function call

![image](https://github.com/user-attachments/assets/3c26dae8-8f38-4ddf-aefe-4ec625e812a6)
2024-12-11 21:41:33 +00:00
somebody1234
91ccceafe4
Combine context menus into single context menu ()
- Combine all context menus to a single context menu
- Remove `ContextMenus` component

# Important Notes
None
2024-12-11 21:32:12 +00:00
AdRiley
8c8a2f8572
Change table viz colors ()
Change the background color of the visualisations to be not pink. Darken some of the text/icons to improve contrast

![image](https://github.com/user-attachments/assets/f78ed75b-c1a0-40ba-a0ed-db03a8682496)
2024-12-11 20:59:51 +00:00
Adam Obuchowicz
bf7fe670e5
Fix CB port color ()
Fixes 
2024-12-11 20:08:43 +00:00
Adam Obuchowicz
f1a283be03
Increase timeout of macOS E2E tests () 2024-12-11 17:34:10 +00:00
Jaroslav Tulach
9cf7833de0
Fill in ydoc-polyfill when running backend with the IDE () 2024-12-11 14:48:08 +01:00
Gregory Michael Travis
9e00b9ddcc
Clear cache on reload () 2024-12-10 18:51:26 +00:00
Gregory Michael Travis
d79b4218fc
Fix HTTP cache assertion failure for small disks () 2024-12-10 16:54:55 +00:00
James Dunkerley
a546de7970
Some more QA fixes ()
- Update error message for `order_by`.
- Add some ALIASes.
- Hide some internal methods exported by mistake.
- Reorder dropdown in set.
![image](https://github.com/user-attachments/assets/7e6df21a-8ab6-4e6c-90ff-826e88f7b53d)
![image](https://github.com/user-attachments/assets/215b3b74-5718-4033-9ec9-468695f942b5)
2024-12-10 16:36:55 +00:00
Dmitry Bushev
af4f922bce
Schedule rename symbol job after compilation ()
Ensures that the rename job is scheduled after the compilation job.
2024-12-10 15:55:18 +00:00
Kaz Wesley
98605b01b9
Code editor: Reject edits causing desynchronization ()
Quick-fix for : If a code-editor edit cannot be applied, revert it in the editor view and display a message "Unable to apply source code edit." This prevents module corruption, but can be inconvenient when trying to perform an edit involving certain syntactically-incorrect intermediate states that are not currently representable. An upcoming PR will provide a more comprehensive solution for that case.
2024-12-10 15:31:11 +00:00
Kaz Wesley
9f0c0c0257
Fix bug causing intermittent GUI unit test failures ()
Fix failing prop test caused by edge case bug in new `findDifferenceIndex`.
2024-12-10 15:05:25 +00:00
somebody1234
f6a900191a
Fix getFileDetails and getProjectDetails ()
- Fix https://github.com/enso-org/cloud-v2/issues/1617
- Set `staleTime: 0` to queries to ensure they are always refetched.
- Close https://github.com/enso-org/cloud-v2/issues/1579
- Add `&presigned=true` flag to request server to generate a presigned URL.

# Important Notes
None
2024-12-10 14:45:31 +00:00
Radosław Waśko
8749719c19
Fix required launcher version ()
- When comparing pre-release version, the last part is compared lexicographically. In , I did not consider that `rc` is a suffix that is 'larger' than `nightly` (because `r > n`).
- Now, we set this to a relatively recent nightly build.
- The self-upgrade mechanism will use the latest available build, so once the stable version is released it will be preferred.
- The project-manager should be working again because `2024.5.1-nightly.2024.12.10 > 2024.5.1-nightly.2024.11.29` and also `2024.5.1-rc1 > 2024.5.1-nightly.2024.11.29`.
2024-12-10 14:41:18 +00:00
Radosław Waśko
adcb657666
Allow Data.list to cross data links ()
- Closes 
- Followup will also align `/` and other properties - initial tests already added but pending.
2024-12-10 11:13:03 +00:00
Jaroslav Tulach
e879a274fd
Including opencv native libraries as a resource in enso runner binary () 2024-12-10 06:21:25 +01:00
Sergei Garin
3ad09a1537
Second iteration of Dashboard Fixes ()
Fixes:

- Opening deleted folder
- Icons
- Diff view collapsed
- Password input for passwords in settings
- Save button appears only if form in settings is dirty
- Disable clear trash button if it's empty
- Disable D&D in the root folder
- Disable Create actions if user select a folder without sufficient permissions
- Many more
2024-12-09 20:43:41 +00:00
dependabot[bot]
dca68ac1c0
Bump path-to-regexp and express in /tools/legal-review-helper ()
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) to 0.1.12 and updates ancestor dependency [express](https://github.com/expressjs/express). These dependencies need to be updated together.


Updates `path-to-regexp` from 0.1.10 to 0.1.12
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](https://github.com/pillarjs/path-to-regexp/compare/v0.1.10...v0.1.12)

Updates `express` from 4.21.1 to 4.21.2
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.2/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.21.1...4.21.2)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-09 18:16:15 +00:00
marthasharkey
a984aa59e5
Refactor drilldown code and add SQL_Server set up () 2024-12-09 17:57:03 +00:00
marthasharkey
97302313c5
Correctly format big integers () 2024-12-09 17:48:40 +00:00
marthasharkey
e3745b2527
Fix Dates in row visualization () 2024-12-09 17:22:12 +00:00
Paweł Grabarz
7e47a65b72
Color edges according to source node. ()
Fixes 

<img width="238" alt="image" src="https://github.com/user-attachments/assets/e253b188-a6ce-468f-864c-9e814a8a2584">

Also fixed incorrect edge offset when dragging an target-connected edge.

<img width="140" alt="image" src="https://github.com/user-attachments/assets/d75ac860-c614-4f40-9cbc-b955e94f5a58">
(cursor painted in, because it wasn't captured by the screenshot 😅)

# Important Notes
Split away edge layout code away from the component to separate file. That code is likely to be significantly changed soon, but no significant modifications were made right now.
2024-12-09 15:29:35 +00:00
Jaroslav Tulach
3e23e72bed
Avoid storing 0.0.0-dev into package.yaml ()
Storing `0.0.0-dev` into `package.yaml` makes little sense:
- no two _development version_ are the same
- there is no way to _download_ `0.0.0-dev` version via `ensoup`
- regular releases refuse to process `0.0.0-dev` projects

Better to avoid storing such _development version_ at all.
2024-12-09 14:57:14 +00:00
Kaz Wesley
a666ef0abe
Highlight missing required arguments ()
Highlight names of absent required arguments.

<img width="947" alt="Captura de ecrã 2024-12-06, às 09 10 11" src="https://github.com/user-attachments/assets/aaf8afcc-3998-4685-9e99-81a123f920b7">

(UI demo; implementation only applies the effect to same arguments that cause a "Provide a value" error)

Fixes .
2024-12-09 14:19:50 +00:00
Dmitry Bushev
485840fefd
Project Manager fails to create directory when one exists ()
close 

Changelog:
- update: FileSystemService fails to create directory if one exists
2024-12-09 12:16:06 +00:00
Radosław Waśko
106e112cea
Bump required launcher version for new engine releases, forcing an upgrade to compatible version ()
- Closes 
2024-12-09 08:54:01 +00:00
Jaroslav Tulach
81b0fcc3ef
Adding "Warnings note" to suspicious sections in types documentation. () 2024-12-07 07:50:00 +01:00
Kaz Wesley
7b4d46e72e
Recognize Markdown link title syntax ()
Recognize Markdown link title syntax. We don't use the title content because we display the 'Ctrl-Click to follow link...' message, but this PR hides the title when displaying the link in rendered view.
2024-12-06 17:22:10 +00:00
Kaz Wesley
1347ee05ab
CodeEditor: Indent with tab ()
In the code editor, Tab indents the current line and Shift+Tab unindents.

Suggested by @JaroslavTulach. Fixes .
2024-12-06 17:14:24 +00:00
Kaz Wesley
640d66294e
Paste HTML as Markdown in documentation editor ()
Convert HTML clipboard data to Markdown when pasting into documentation editor:

https://github.com/user-attachments/assets/e87ba419-7465-48a7-bb08-101a76012a72

# Important Notes
- The best HTML-to-Markdown converter available seems to be Lexical. It's a large dependency, but this implementation lazily loads it only when rich pasting functionality is needed. In the future, we could cut it down a lot; we only need (parts of) the node definitions, the transformers, and (parts of) the core.
- Not all formatting in the example webpage is supported yet; some issues added to .
- Also: Fix undo/redo in documentation editor (prevent graph editor from also handling).
2024-12-06 17:00:24 +00:00