Commit Graph

1094 Commits

Author SHA1 Message Date
Fedor Isakov 72f3474757 Ensure setTargetComponent is called on toolbar; avoid warnings in log 2024-08-12 12:30:01 +02:00
Fedor Isakov c7ae020862 Redesign Activation Trace View for better usability; minor fixes
- use pictograms and tooltips, reduce UI clutter
- drop "occurrences" column, move everything to the events tree
- fix jumping table widths
2024-08-12 12:23:53 +02:00
Fedor Isakov ef6e282c83 Ensure setTargetComponent is called on toolbar; avoid warnings in log 2024-08-06 11:13:11 +02:00
Fedor Isakov 300c569dff Consistently use "origin" instead of "target" 2024-08-05 17:35:39 +02:00
Fedor Isakov c63f0479d1 Refactor code to simplify and cleanup; drop obsolete stuff 2024-08-05 17:35:38 +02:00
Fedor Isakov 0debee556c Switch to new conreactor API; minor code cleanup 2024-08-05 17:35:38 +02:00
Fedor Isakov 63f1c7c07e Use new conreactor version 2024-08-05 17:35:38 +02:00
Fedor Isakov 1146935e8d Simplify code: drop InvocationContext from LateExpression 2024-08-02 14:02:14 +02:00
Fedor Isakov 95a78a3474 Deprecate CopyItem and CopyUtil 2024-08-02 13:43:37 +02:00
Fedor Isakov b2c0474afc Simplify code: drop LogicalContext from SubstituteUtil 2024-08-02 13:36:06 +02:00
Fedor Isakov e33c846314 Ensure aspect lookup cache is update on imports change 2024-08-02 09:57:55 +02:00
Fedor Isakov 846f4db8fc Fix used languages cache in AspectLookup 2024-07-31 17:56:52 +02:00
Fedor Isakov 7c1a2a3873 More debug logging for aspect clique 2024-07-31 16:39:43 +02:00
Fedor Isakov 3147893795 Drop deprecated methods 2024-07-31 16:10:02 +02:00
Fedor Isakov 3ee2e24c50 Drop support for multiple aspect cliques from CliqueBuilder 2024-07-31 15:54:13 +02:00
Fedor Isakov 690e035b08 Drop support for multiple aspect cliques from Request 2024-07-31 15:26:03 +02:00
Fedor Isakov 51e17ed549 Refactor AspectLookup to return a single clique 2024-07-31 15:06:15 +02:00
Fedor Isakov 097ca5aed5 Run all user predicates from a read action 2024-07-31 13:18:52 +02:00
Fedor Isakov 41fff3d299 Better display of occurrences store in Activation Trace view
1. Display "discarded" occurrences by default
2. Use styles to differentiate among the event kinds
3. Use selection in the store panel to highlight "relevant" occurrences
4. Support multiple selection in activation panel
2024-07-26 18:06:16 +02:00
Fedor Isakov e3d9073d2b Update contents of "change-notes" tag 2024-07-25 18:16:10 +02:00
Fedor Isakov c6e8de1680 Specify the default value for macro param; MPSCR-135 2024-07-22 18:06:11 +02:00
Fedor Isakov c746956fc6 Drop = null initializer of call macro parameter field; MPSCR-135 2024-07-22 16:46:43 +02:00
Fedor Isakov c9e3374540 Implement support for "tellPattern" trace event 2024-07-22 14:14:16 +02:00
Fedor Isakov 7d96903af8 Switch to use the update conreactor version 2024-07-22 13:34:58 +02:00
Fedor Isakov f2202726a9 Use system property java.awt.headless as guard for using Registry 2024-07-22 10:50:43 +02:00
Fedor Isakov d446e5c35a Ensure coderules build project is loaded during build of mpscore 2024-07-22 10:33:28 +02:00
Fedor Isakov 0830a34c1b Support navigating to constraint and predicate declarations from trace view 2024-07-19 16:39:57 +02:00
Fedor Isakov e64677041e Cleanup code and drop deprecated stuff 2024-07-18 11:01:24 +02:00
Fedor Isakov ae7c4ab56d Switch to using model system ident instead of SModelId for cache
See MPS-37545.
2024-07-15 13:32:52 +02:00
Fedor Isakov bcd87681cb Replace ActionPlace.UKNOWN with a string "actionToolbar"
>  Please do not use ActionPlaces.UNKNOWN or the empty place. Any string unique enough to deduce the toolbar location will do.
2024-07-12 16:11:55 +02:00
Fedor Isakov 1c170f8e05 Minor code cleanup 2024-07-11 15:09:35 +02:00
Fedor Isakov 515a1c8f36 Use DeployListener to react to module reload events 2024-07-11 15:09:35 +02:00
Fedor Isakov 94ef0e171f Remove deleted module from project 2024-07-11 15:09:34 +02:00
Fedor Isakov 0aad66b951 Automatic migrations 2024-07-04 18:17:56 +02:00
Fedor Isakov 4ce08f4b99 Refactor project structure and reduce the number of modules 2024-07-04 18:17:56 +02:00
Fedor Isakov d8935eb5d1 Fix msd file and build (manually!) 2024-07-04 18:17:56 +02:00
Fedor Isakov 7708661f09 Actually use the updated "conreactor" lib 2024-07-02 17:07:51 +02:00
Fedor Isakov fb002abe67 Ensure correct aspect clique maintained for a model
Listen to changed imports events and invalidate the cache.
2024-07-02 14:54:59 +02:00
Fedor Isakov c230bfa6e4 Drop "ideaplugin" module from module dependencies 2024-07-01 15:41:37 +02:00
Fedor Isakov 8554843e6a Apply automatic migrations 2024-07-01 15:31:42 +02:00
Fedor Isakov 1fc3c1b095 Make CR widget a standard component; Drop dedicated settings 2024-06-25 16:33:34 +02:00
Fedor Isakov 132608a338 Drop all unnecessary usages of Config 2024-06-25 12:03:48 +02:00
Fedor Isakov 9cc83ea158 Refactor usages of Config; Use ModuleActivator instead of app plugin 2024-06-24 16:35:17 +02:00
Fedor Isakov 61bb0029fd Fix "check project modules" test 2024-06-24 12:47:26 +02:00
Fedor Isakov 079b5885ce Drop dead code 2024-06-24 12:18:52 +02:00
Fedor Isakov f0a9ac3bab Drop abandoned functionality: controlflow 2024-06-24 10:56:00 +02:00
Fedor Isakov 87bb67cee3 Drop usages of SessionToken 2024-06-21 22:44:23 +02:00
Fedor Isakov 839a49fb64 Implement required method AnAction.getActionUpdateThread() 2024-06-21 21:52:05 +02:00
Fedor Isakov 34c5643d0d Turn on printing of empty list as [] 2024-06-21 21:51:35 +02:00
Fedor Isakov e83b92575b Switch to new initialization methods 2024-06-16 21:50:28 +02:00
Fedor Isakov 1707b1ab85 Bump up the plugin version(s) 2024-06-16 16:25:18 +02:00
Fedor Isakov a19d02b8ae Switch initialization to use ModuleActivator; drop unused imports 2024-06-16 16:11:38 +02:00
Fedor Isakov 64ed2d41b8 Update models to reflect changes in reactor API 2024-06-14 13:45:54 +02:00
Fedor Isakov 27e3ec3951 Fix and re-enable CheckProjecModules test 2024-06-13 22:09:11 +02:00
Fedor Isakov ba6f509909 Reimplement occursCheck with DataFormWalk 2024-06-13 20:11:19 +02:00
Fedor Isakov 658f9a48c0 Enable DataFormWalk to walk variables checking for cycles 2024-06-13 20:10:39 +02:00
Fedor Isakov 9aa9680ba1 Refactor DataForm.Visitor to use default methods; drop Stub 2024-06-13 17:40:23 +02:00
Fedor Isakov d63d261044 Drop usages of "usages count" feature of MutableLogical 2024-06-13 15:49:51 +02:00
Fedor Isakov adb38f1a2c Drop optimization hack; Correctly handle non-term logicals 2024-06-13 15:46:13 +02:00
Fedor Isakov b053cd7c3e Drop the rest of "incremental" stuff 2024-06-13 12:22:57 +02:00
Fedor Isakov 9ca2fdd8d0 Refactor usages of LogicalImpl, drop dependencies
Drop dependencies to j.m.logic.r.core.internal.
2024-06-13 10:45:59 +02:00
Fedor Isakov 0d192feaae Drop all TestInfo instances from the project 2024-06-07 10:32:44 +02:00
Fedor Isakov 5516f062f1 Fix code broken because of dropped API 2024-04-29 17:59:41 +02:00
Clement de La Bourdonnaye fd9e2d2678 MPS-36807: new icons instead of DynamicIcon for widget 2024-01-24 10:08:14 +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 6931d94adb Drop obsolete code 2023-11-14 18:02:23 +01:00
Fedor Isakov d92521b791 Run migrations 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 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 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 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 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 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 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 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 3cf666e633 Apply migrations and make project 2023-07-31 12:57:24 +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 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
Fedor Isakov 0e2c64e587 Fix resolve info 2023-06-12 12:20:35 +02:00
Fedor Isakov 6a849f82f2 Apply migrations and rebuild project 2023-06-12 12:01:02 +02:00
Fedor Isakov 682967c54c Fix code to make compatible with latest 23.1 EAP 2023-06-12 12:01:02 +02:00