| Commit message (Collapse) | Author | Age |
|
|
|
| |
Also change refinement operator based on feedback from colleagues
|
| |
|
|
|
|
|
|
| |
* Remove the direct keyword because it can be inferred
* Use may/must/current instead of value literals
* Transformation rule changes
|
| |
|
|
|
|
|
|
| |
* Move all utilities for language-model to language, since they do not
make sense on their own
* Convert xtend code into java
|
| |
|
|
|
|
| |
See https://github.com/gradle/gradle/issues/898
|
| |
|
| |
|
| |
|
|\
| |
| | |
Restructure project
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
This allows us to simplify the webpack configuration and the gradle
build scripts.
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Also requires yarn 3.2.0-rc.5 due to
https://github.com/yarnpkg/berry/issues/3722
|
| |
| |
| |
| | |
See https://yarnpkg.com/getting-started/editor-sdks/#emacs for more info
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Check for the presence of the secret directly (instead of whether we're
in a pull request) for a more robust CI.
We check the secret according to
https://github.community/t/how-can-i-test-if-secrets-are-available-in-an-action/17911
To determine the clone depth (deep for sonar analysis, shallow
otherwise) we use the "fake ternary" method from
https://github.community/t/do-expressions-support-ternary-operators-to-change-their-returned-value/18114
|
| |
| |
| |
| |
| | |
File was accidentally extrated from language.jar and added to the
repository.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The root project (worktree) must have a valid package.json,
.yarnrc.yaml, and have the gradle precompiled script plugin
refinery-frontend-worktree applied to it.
All frontend modules (workspaces) must have a valid package.json, be
referenced in the worktree project.json, and be a valid gradle
subproject with the gradle precompiled script plugin
refinery-frontend-workspace applied to it.
To reduce unnecessary downloads, we do the following workarounds:
* The node version is pinned in gradle.properties and the installed node
version is stored in .node/frontend.properties. A new node version is
only downloaded if it differs from the installed one (or none is
installed). This improves on the default gradle behavior, which would
download a new node version if the classpath of the installNode task
was changed.
* The yarn classic version is pinned in gradle.properties and the
installed yarn classic version is stored in .node/frontend.properties.
This improves on the default gradle behavior, which would reinstall
the yarn npm package at every build.
* We disable the enableYarnBerry task, since a yarn berry version is
already committed into the repository at .yarn/versions as it is
recommended in http://yarnpkg.com/getting-started/qa/
* We use yarn set version --only-if-needed in the installYarn task.
* The installFrontend task takes package.json and yarn.lock as inputs
and produces .pnp.cjs and .pnp.loader.mjs as outputs. Whether this
task is up-to-date can be checked by gradle quickly, since it doesn't
have to traverse the node_module folder due to pnp resoltion:
https://yarnpkg.com/features/pnp/
All workspaces have the installNode, installYarnGlobally, installYarn
and installFrontend tasks disabled. However, these tasks depend on the
task with the same name in the worktree project, so installation is
still triggered globally. Moreover, the installFrontend task in the
worktree has the package.json of the workspaces as inputs, so
reinstallation is triggered when the workspace package.json changes.
|
| |
| |
| |
| |
| | |
It is not compatible with eslint 8 yet:
https://github.com/SonarSource/eslint-plugin-sonarjs/issues/286
|
| |
| |
| |
| |
| |
| |
| | |
Also upgrades various frontend dependencies.
We can't upgrade to typescript 4.5 yet, because
https://github.com/yarnpkg/berry/pull/3760 is not released yet.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
All Java code should have tests, anyways.
|
| |
| |
| |
| |
| | |
Script plugins allow applying other plugins from plugins { } blocks,
which simplifies the build script.
|
|/
|
|
|
|
|
|
|
|
|
| |
Gradle version catalogs allow centralized management of dependency
artifact coordinates using a toml file.
Previously, we use the gradle.properties file, which cannot manage group
and name coordinates, only versions.
Node and yarn versions still have to be in gradle.properties, because
they do not correspond to any coordiates of a maven artifact.
|
| |
|
|\
| |
| | |
Xtext formatter support
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Uses the xtext formatted on the server to format the document.
Also adds the capability to take (delta) changes from the server and
apply them before any pending local changes, then replay the changes.
This means that the server-side formatter is effectively acting as a
second user who is editing the document.
|
| |
| |
| |
| |
| |
| | |
Use the zod library instead of manually written type assertions for
validating json messages from the server. This makes it easier to add
and handle new messages.
|
|/
|
|
|
|
|
|
|
| |
Adds support for formatting some elements without any indentation.
Mostly for testing model serialization with some human-readable
formatting instead of just space-separating the tokens.
Finishing the formatter to support all language constructs might be a
bit more difficult due to our Prolog-like indentation rules.
|
| |
|
|\
| |
| | |
Make sure Xtext serialization works
|
| |
| |
| |
| |
| | |
Prefer the ! and ? operators instead of : false and : unknown and omit
: true when serializing assertions.
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Xtext fails to serialize non-transient references that have no
corresponding assignment in the grammar. Therefore, we mark
* Problem.nodes
* ClassDeclaration.newNode
* ExistentialQualifier.implicitVariables
* VariableOrNodeArgument.singletonVariable
as transient.
This will allow serializing Problem instances using the textual concrete
syntax for display.
|
|\
| |
| | |
Rename unique to individual
|
|/
|
|
| |
Suggestion by @vincemolnar to match SysML V2 terminology more closely.
|
|\
| |
| | |
More CodeMirrror fixes
|
| |
| |
| |
| |
| | |
Move information about which tokens should support implicit completions
into the Lezer grammar.
|
| |
| |
| |
| |
| | |
Contextual keywords make Xtext parsing more complicated and degrade
content assist.
|