Commit Graph

3410 Commits

Author SHA1 Message Date
Fedor Isakov fc8451e63d Run migration 2023-10-13 18:13:09 +02:00
Fedor Isakov 20a0bedd81 Refactor call macro cstr: keep arguments in binding list
The idea is to have default parameters in (regular) macro definition.
Refactoring and corresponding migration.
2023-10-13 18:13:09 +02:00
Fedor Isakov f407133f11 Fix typechecking of call macro constraint 2023-10-13 18:13:09 +02:00
Fedor Isakov 8d9b3d4730 Fix behaviour method signature 2023-10-13 18:13:09 +02:00
Fedor Isakov fd0430a6eb Better editors and substitute actions for macroses
Now all invocations of a macro start with "apply" keyword.
An "expand" macro has an additional parameter after "with" -- the input.
2023-10-13 18:13:09 +02:00
Fedor Isakov 607e54a290 Macro fails to generate if logical or parameters are inconsistent
In addition to a typechecking rule make generator report an error.
2023-10-13 18:13:09 +02:00
Fedor Isakov 65dac57c7f Fix typechecking rules not migrated by some reason 2023-10-13 18:13:09 +02:00
Fedor Isakov 0eac1c2f4f Code review: fixme comments 2023-10-13 18:13:09 +02:00
Fedor Isakov 051ec5c9d4 Fix types of macro declarations/usages 2023-10-13 18:13:09 +02:00
Fedor Isakov de9fd05c45 Intentions and methods to facilitate working with macros 2023-10-13 18:13:09 +02:00
Fedor Isakov 5fafd1b0dc Code review: mark things to be done 2023-10-13 18:13:08 +02:00
Fedor Isakov 87a1b413d1 Ensure ancestors of a changed node are in changeset
This fixes incremental update in some situations.
2023-10-13 18:13:08 +02:00
Fedor Isakov 2ce182c785 Auto-updated IDEA project files 2023-10-13 18:13:08 +02:00
Fedor Isakov 4e77530d20 Drop usages of deprecated feature: ApplicableConcept 2023-10-13 18:13:08 +02:00
Fedor Isakov f3010743c1 Migration: FixExpandMacroTemplate 2023-10-13 18:13:08 +02:00
Fedor Isakov 8f8fa9f4d4 Fix build script 2023-10-04 12:52:09 +02:00
Fedor Isakov 530ace6399 Rework editor for expand macro template and prototype
Expand macro prototype: "virtual macro".
Expand macro template: "override".
Override macro displays parameters declared in the prototype as R/O.
Introduce "usages" of prototype parameters to serve as local anchors;
this avoids problems with generation.
The existing code is going to work as before, but marked as erroneous
until migrated.
2023-10-04 12:52:09 +02:00
Fedor Isakov 0186ffda01 Update and rebuild build scripts 2023-10-04 12:52:09 +02:00
Fedor Isakov 07f342ef0f Tests to ensure stable fixes 2023-09-28 12:10:39 +02:00
Fedor Isakov 6a6c0164ee Fix type calc for IfInstanceOfStatement and related stuff 2023-09-28 12:10:39 +02:00
Fedor Isakov 5b23aff901 Drop glb from calculating type for ofConcept op
Can't remember why it was added in the first place.
2023-09-28 12:10:39 +02:00
Fedor Isakov 6f8fb317e5 Fix lub calculation (construct & type of concept interfaces) 2023-09-28 12:10:39 +02:00
Fedor Isakov 504ae89af3 Consider only LogicalVars when looking for arguments to LateExpr 2023-09-28 12:10:39 +02:00
Fedor Isakov a85d570604 Enable entering DataNodeExpr within LateExpr 2023-09-28 12:10:39 +02:00
Fedor Isakov 4f66cdd645 Cleanup gradle build and avoid resetting build version 2023-09-28 12:10:39 +02:00
Fedor Isakov 583561c0b9 Switch to latest RC build for local build 2023-09-28 12:10:39 +02:00
Fedor Isakov f130938a16 NPE guard in project plugin initializer; MPSCR-140 2023-09-28 12:10:39 +02:00
Fedor Isakov c6f632583f Specify displayName for configurable page 2023-09-28 12:10:39 +02:00
Fedor Isakov d773a7d28d Rebuild build scripts 2023-09-22 11:44:45 +02:00
Fedor Isakov bce734761c Add dependency on j.m.kotlin plugin 2023-09-21 14:27:53 +02:00
Fedor Isakov 19eca73737 Bump up version and compatibility with MPS 232 2023-09-21 14:27:53 +02:00
Fedor Isakov 2fdae19190 Drop old hack
Coderules are enabled on the app level, so no need to pass the repo.
2023-09-21 14:27:53 +02:00
Fedor Isakov e3c6c304fe Optimizing AspectClique discovery; clean up the code 2023-09-21 14:27:53 +02:00
Fedor Isakov b49df432a9 Regenerate build scripts 2023-08-02 13:51:34 +02:00
Fedor Isakov 7a83a1d436 Manually fix generated build script (see MPS-35771) 2023-07-31 15:51:07 +02:00
Fedor Isakov 310081cac6 Rebuild project 2023-07-31 13:43:28 +02:00
Fedor Isakov 106455781a Switch to latest MPS EAP build for local builds 2023-07-31 13:43:28 +02:00
Fedor Isakov 3cf666e633 Apply migrations and make project 2023-07-31 12:57:24 +02:00
Fedor Isakov 25cbc8a334 Switch to latest 2023.2 build for local builds 2023-07-31 12:57:24 +02:00
Fedor Isakov 20e29c583a Tentatively add util-8.jar to compilation classpath; fix build 2023-07-28 16:03:51 +02:00
Fedor Isakov 6a9713ab3c Rebuild project with latest MPS 2023.2 EAP 2023-07-28 15:30:04 +02:00
Alexander Shatalin 18870e7161
Update README.md 2023-07-21 15:35:05 +02:00
Alexander Shatalin b4c4cdd494
Update README.md 2023-07-21 15:30:51 +02:00
Alexander Shatalin 6ca4f50a5c
Create CODE_OF_CONDUCT.md 2023-07-03 09:40:52 +02:00
Alexander Shatalin 937fe1fe98
Create LICENSE 2023-07-03 09:40:21 +02:00
Fedor Isakov 215a37221f Manually fix generated build script (see MPS-35771) 2023-06-22 11:03:43 +02:00
Fedor Isakov e5538bc39f A bunch of refactorings and cleanups in trace view
- cleanup the code, rename symbols for better readability
 - drop dead code
 - support for optionally showing empty template trace nodes
 - display node path for source nodes
2023-06-21 15:27:05 +02:00
Fedor Isakov 161ba961b1 Add an option to filter empty template nodes in trace view 2023-06-21 15:21:28 +02:00
Fedor Isakov ec83615a5c Rebuild build scripts 2023-06-21 15:21:04 +02:00
Fedor Isakov 91964a4f53 Fix icons in trace view of Coderules tool
Used to refer to obsolete icons from legacy aspect.
2023-06-19 16:24:46 +02:00