Commit Graph

3425 Commits

Author SHA1 Message Date
Clement de La Bourdonnaye 012ae2c798 MPS-36807: new icons instead of DynamicIcon for widget 2024-01-23 16:54:44 +01:00
Clement de La Bourdonnaye 0776351977 Ran CleanStubForeignMethodIds migration 2024-01-23 16:33:23 +01:00
Clement de La Bourdonnaye 00732a95a5 Build script: make plugin packaging the first in layout
This fixes dependencies, as the build language uses the first layout for a given module defined in the build model
Having coderules-ideaplugin folder before the plugin changed the way dependencies generate their build script, while the artifacts stayed with the same structure
2024-01-11 14:39:09 +01:00
Clement de La Bourdonnaye c96f65ec64 NewUI - restore old ui icons for usage when new UI disabled 2024-01-11 14:38:03 +01:00
Clement de La Bourdonnaye b67efbfa27 NewUI - package svg typeModel instead of removed png 2023-12-15 12:00:10 +01:00
Vaclav 5114fd8f7c NewUI - add new svg icons replacing the old png ones. Update the icon resources using these icons. 2023-12-14 16:10:32 +01:00
Fedor Isakov 1fc4a3c6e2 Rebuild project with MPS 2023.3 EAP 2023-12-01 17:17:41 +01:00
Fedor Isakov 6931d94adb Drop obsolete code 2023-11-14 18:02:23 +01:00
Fedor Isakov cb872e43b7 Fix method references types 2023-11-08 16:46:16 +01:00
Fedor Isakov d92521b791 Run migrations 2023-11-08 16:46:16 +01:00
Fedor Isakov 9dc18462e4 Mysteriously disappeared module: methodReferencesExt 2023-11-08 16:46:16 +01:00
Fedor Isakov 6e95ec9959 Update change notes 2023-10-16 13:00:09 +02:00
Fedor Isakov 7273d88296 Provisinally disable reporting of cache state: cache always dirty
This is to ensure messages reported by typechecking are updated.
2023-10-16 11:55:32 +02:00
Fedor Isakov 04416a927b Make all expand template params optional
As part of migration add NullLiteral as init field to all
expand macro parameters so that the generation runs smoothly.
The user is then expected to remove init fields for required params.
2023-10-16 11:55:32 +02:00
Fedor Isakov d63228678c Fix types of call macro constraint 2023-10-13 18:13:09 +02:00
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