From 99d5397f265acbfe510a3aa837244edf43acd65c Mon Sep 17 00:00:00 2001 From: dbinkele Date: Wed, 9 Oct 2024 12:59:08 +0200 Subject: [PATCH 01/15] Add Caching mechanism (#2547) --- .../com.mbeddr.mpsutil.logicalChild.mpl | 9 +- ...m.mbeddr.mpsutil.logicalChild.behavior.mps | 975 ++++++++++++++++-- 2 files changed, 921 insertions(+), 63 deletions(-) diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl index 6836d44637..69582d7aa3 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl @@ -1,7 +1,7 @@ - + @@ -13,11 +13,12 @@ - 6ed54515-acc8-4d1e-a16c-9fd6cfe951ea(MPS.Core) 8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI) + ecfb9949-7433-4db5-85de-0f84d172e4ce(de.q60.mps.collections.libs) + 498d89d2-c2e9-11e2-ad49-6cf049e62fe5(MPS.IDEA) + 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) - @@ -55,8 +56,10 @@ + + diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps index f34bd1cb01..7a764e5716 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps @@ -4,15 +4,21 @@ - - - + + + + + + + + + @@ -30,8 +36,16 @@ + + + + + + + + @@ -42,17 +56,29 @@ + + + + + + + + + + + + @@ -62,6 +88,7 @@ + @@ -73,6 +100,9 @@ + + + @@ -80,20 +110,34 @@ + + + + + + + + + + + + + + @@ -114,17 +158,27 @@ + + + + + + + + + + @@ -177,6 +231,14 @@ + + + + + + + + @@ -184,8 +246,14 @@ + + + + + + @@ -230,6 +298,17 @@ + + + + + + + + + + + @@ -240,56 +319,33 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - - - + + + + - - - + + + + + + @@ -342,21 +398,30 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + - - - @@ -448,6 +513,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -461,6 +575,7 @@ + @@ -501,7 +616,6 @@ - @@ -514,6 +628,747 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From c32d814a74f430aeb4f2117ae429c2080e75ebff Mon Sep 17 00:00:00 2001 From: dbinkele Date: Wed, 9 Oct 2024 16:20:45 +0200 Subject: [PATCH 02/15] set flag the right way (#2547) --- .../com.mbeddr.mpsutil.logicalChild.mpl | 2 -- .../models/com.mbeddr.mpsutil.logicalChild.behavior.mps | 9 ++------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl index 69582d7aa3..66f265e63d 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl @@ -14,7 +14,6 @@ 8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI) - ecfb9949-7433-4db5-85de-0f84d172e4ce(de.q60.mps.collections.libs) 498d89d2-c2e9-11e2-ad49-6cf049e62fe5(MPS.IDEA) 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) @@ -59,7 +58,6 @@ - diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps index 7a764e5716..f1c25f5ce7 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps @@ -11,13 +11,10 @@ - - - - + @@ -813,9 +810,7 @@ - - - + From 488a38d7ffaf43ab767f28d460d9e89f97902d28 Mon Sep 17 00:00:00 2001 From: dbinkele Date: Thu, 10 Oct 2024 08:04:18 +0200 Subject: [PATCH 03/15] fix build solution (#2547) --- .../com.mbeddr.mpsutil.logicalChild.mpl | 2 +- .../models/com.mbeddr.mpsutil.logicalChild.behavior.mps | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl index 66f265e63d..8327432a03 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl @@ -14,8 +14,8 @@ 8865b7a8-5271-43d3-884c-6fd1d9cfdd34(MPS.OpenAPI) - 498d89d2-c2e9-11e2-ad49-6cf049e62fe5(MPS.IDEA) 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) + 498d89d2-c2e9-11e2-ad49-6cf049e62fe5(MPS.IDEA) diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps index f1c25f5ce7..239aa50648 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps @@ -14,7 +14,6 @@ - From 1b3c70865475fec1fdeb0f896953f2b08fc37bea Mon Sep 17 00:00:00 2001 From: dbinkele Date: Thu, 10 Oct 2024 08:04:34 +0200 Subject: [PATCH 04/15] fix build solution (#2547) --- .../models/com/mbeddr/platform/build.mps | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform/models/com/mbeddr/platform/build.mps b/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform/models/com/mbeddr/platform/build.mps index 914ece6d07..e2ee765430 100644 --- a/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform/models/com/mbeddr/platform/build.mps +++ b/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform/models/com/mbeddr/platform/build.mps @@ -20168,11 +20168,6 @@ - - - - - @@ -20211,6 +20206,16 @@ + + + + + + + + + + From 4253d8e111fc519ac1b6804d5daf9d11f85ea85b Mon Sep 17 00:00:00 2001 From: dbinkele Date: Thu, 10 Oct 2024 11:05:41 +0200 Subject: [PATCH 05/15] running 'migrate/remigrate' (#2547) --- .../com.mbeddr.mpsutil.logicalChild.behavior.mps | 8 ++++---- subprojects/com.mbeddr/build.gradle | 14 ++++++++++++-- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps index 239aa50648..7dfa08ee8f 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps @@ -1063,7 +1063,7 @@ - + @@ -1072,7 +1072,7 @@ - + @@ -1156,7 +1156,7 @@ - + @@ -1223,7 +1223,7 @@ - + diff --git a/subprojects/com.mbeddr/build.gradle b/subprojects/com.mbeddr/build.gradle index fffe957f70..b8111a8f9d 100755 --- a/subprojects/com.mbeddr/build.gradle +++ b/subprojects/com.mbeddr/build.gradle @@ -1,10 +1,16 @@ import de.itemis.mps.gradle.tasks.MpsMigrate import de.itemis.mps.gradle.tasks.Remigrate +import de.itemis.mps.gradle.downloadJBR.DownloadJbrForPlatform plugins { id 'de.itemis.mps.gradle.common' } +apply plugin: 'download-jbr' + +downloadJbr { + jbrVersion = '17.0.8.1-b1000.32' +} // path variables // If mpsHomeDir is set explicitly, skip the MPS resolution step and use the explicit path (which may be relative from // the root directory). @@ -191,7 +197,9 @@ List projectDirectoriesInDependencyOrder = projectsInDependencyOrder.colle } tasks.register('migrate', MpsMigrate) { - dependsOn(':com.mbeddr:platform:generate_platform_languages') + dependsOn(':com.mbeddr:platform:generate_platform_languages', 'downloadJbr') + javaLauncher = tasks.named('downloadJbr', DownloadJbrForPlatform).flatMap { it.javaLauncher } + mpsHome = mpsHomeDir projectDirectories.from(projectDirectoriesInDependencyOrder) @@ -203,7 +211,9 @@ tasks.register('migrate', MpsMigrate) { } tasks.register('remigrate', Remigrate) { - dependsOn(':com.mbeddr:platform:generate_platform_languages') + dependsOn(':com.mbeddr:platform:generate_platform_languages', 'downloadJbr') + javaLauncher = tasks.named('downloadJbr', DownloadJbrForPlatform).flatMap { it.javaLauncher } + mpsHome = mpsHomeDir projectDirectories.from(projectDirectoriesInDependencyOrder) From 8a53ae3205f68e09a35d1c24932bd68db9a9815e Mon Sep 17 00:00:00 2001 From: dbinkele Date: Thu, 10 Oct 2024 13:39:07 +0200 Subject: [PATCH 06/15] Adds test for cache of ILogicalChildren (#2547) --- .../com.mbeddr.mpsutil/.mps/modules.xml | 1 + .../com.mbeddr.mpsutil.logicalChild.mpl | 1 + ...m.mbeddr.mpsutil.logicalChild.behavior.mps | 49 +- ...ogicalChild.sandbox.sandbox.testbuffer.mps | 8 + ...mbeddr.mpsutil.logicalChild.test@tests.mps | 799 ++++++++++++++++++ .../test.com.mbeddr.mpsutil.logicalChild.msd | 45 + 6 files changed, 890 insertions(+), 13 deletions(-) create mode 100644 code/languages/com.mbeddr.mpsutil/solutions/com.mbeddr.mpsutil.logicalChild.sandbox.sandbox/models/com.mbeddr.mpsutil.logicalChild.sandbox.sandbox.testbuffer.mps create mode 100644 code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps create mode 100644 code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/test.com.mbeddr.mpsutil.logicalChild.msd diff --git a/code/languages/com.mbeddr.mpsutil/.mps/modules.xml b/code/languages/com.mbeddr.mpsutil/.mps/modules.xml index 74926eb7f5..33ed59ba98 100644 --- a/code/languages/com.mbeddr.mpsutil/.mps/modules.xml +++ b/code/languages/com.mbeddr.mpsutil/.mps/modules.xml @@ -186,6 +186,7 @@ + diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl index 8327432a03..472a073b42 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/com.mbeddr.mpsutil.logicalChild.mpl @@ -19,6 +19,7 @@ + diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps index 7dfa08ee8f..233b8cc0ab 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps @@ -5,6 +5,7 @@ + @@ -14,6 +15,7 @@ + @@ -119,6 +121,7 @@ + @@ -144,6 +147,9 @@ + + + @@ -528,21 +534,38 @@ - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + diff --git a/code/languages/com.mbeddr.mpsutil/solutions/com.mbeddr.mpsutil.logicalChild.sandbox.sandbox/models/com.mbeddr.mpsutil.logicalChild.sandbox.sandbox.testbuffer.mps b/code/languages/com.mbeddr.mpsutil/solutions/com.mbeddr.mpsutil.logicalChild.sandbox.sandbox/models/com.mbeddr.mpsutil.logicalChild.sandbox.sandbox.testbuffer.mps new file mode 100644 index 0000000000..790f1931e9 --- /dev/null +++ b/code/languages/com.mbeddr.mpsutil/solutions/com.mbeddr.mpsutil.logicalChild.sandbox.sandbox/models/com.mbeddr.mpsutil.logicalChild.sandbox.sandbox.testbuffer.mps @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps new file mode 100644 index 0000000000..ccf3053415 --- /dev/null +++ b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps @@ -0,0 +1,799 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/test.com.mbeddr.mpsutil.logicalChild.msd b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/test.com.mbeddr.mpsutil.logicalChild.msd new file mode 100644 index 0000000000..87a2a87104 --- /dev/null +++ b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/test.com.mbeddr.mpsutil.logicalChild.msd @@ -0,0 +1,45 @@ + + + + + + + + + + + + + + + 286e2375-00e3-4042-b083-84873dd623be(com.mbeddr.mpsutil.logicalChild.sandbox) + 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From 3968ef0f63a1bf3a06122b18aa455efdbdd54585 Mon Sep 17 00:00:00 2001 From: dbinkele Date: Thu, 10 Oct 2024 13:54:41 +0200 Subject: [PATCH 07/15] Adds test solution to build solution (#2547) --- .../com.mbeddr.platform.tests.build.mps | 144 +++++++++++++++--- 1 file changed, 124 insertions(+), 20 deletions(-) diff --git a/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform.tests.build/models/com.mbeddr.platform.tests.build.mps b/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform.tests.build/models/com.mbeddr.platform.tests.build.mps index ba239e1dac..4e853efca0 100644 --- a/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform.tests.build/models/com.mbeddr.platform.tests.build.mps +++ b/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform.tests.build/models/com.mbeddr.platform.tests.build.mps @@ -427,6 +427,130 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1517,31 +1641,11 @@ - - - - - - - - - - - - - - - - - - - - From 3c27d6dad6d955fa868032ef5ef27494b2c83f59 Mon Sep 17 00:00:00 2001 From: dbinkele Date: Thu, 10 Oct 2024 14:07:37 +0200 Subject: [PATCH 08/15] Add entry to CHANGELOG.md (#2547) --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d5e16b296..1332cd2715 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ Semantic Versioning and the changes are simply documented in reverse chronologic # October 2024 +## com.mbeddr.mpsutil + +### Feature + +- Adds a caching mechanism for caching the retrieval of 'ILogicalChild' by 'ILogicalChildOwner' + ## com.mbeddr.mpsutil.ecore ### Fixed From 12906457825d1f6b1bdc4ba5aed4d19c92511866 Mon Sep 17 00:00:00 2001 From: dbinkele Date: Thu, 10 Oct 2024 16:02:26 +0200 Subject: [PATCH 09/15] Refactor Code Structure (#2547) --- ...m.mbeddr.mpsutil.logicalChild.behavior.mps | 106 +++- ...mbeddr.mpsutil.logicalChild.test@tests.mps | 588 +++++++++--------- 2 files changed, 399 insertions(+), 295 deletions(-) diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps index 233b8cc0ab..710bebb7a0 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps @@ -16,6 +16,8 @@ + + @@ -72,6 +74,13 @@ + + + + + + + @@ -82,6 +91,7 @@ + @@ -136,10 +146,17 @@ + + + + + + + @@ -157,11 +174,16 @@ + + + + + @@ -782,6 +804,86 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -807,7 +909,7 @@ - + @@ -860,7 +962,7 @@ - + diff --git a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps index ccf3053415..4bd6fa3cc4 100644 --- a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps +++ b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps @@ -14,6 +14,7 @@ + @@ -56,6 +57,7 @@ + @@ -85,6 +87,11 @@ + + + + + @@ -326,319 +333,311 @@ - - - + + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + - - + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - + + - - - - - - @@ -790,6 +789,9 @@ + + + From ba37d28314f69a11df34596eb23be41df663e2bc Mon Sep 17 00:00:00 2001 From: dbinkele Date: Mon, 14 Oct 2024 10:22:08 +0200 Subject: [PATCH 10/15] fix builf-test solution (#2547) --- .../com.mbeddr.platform.tests.build.mps | 262 +++++++++--------- 1 file changed, 138 insertions(+), 124 deletions(-) diff --git a/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform.tests.build/models/com.mbeddr.platform.tests.build.mps b/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform.tests.build/models/com.mbeddr.platform.tests.build.mps index 4e853efca0..712cd6f2be 100644 --- a/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform.tests.build/models/com.mbeddr.platform.tests.build.mps +++ b/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform.tests.build/models/com.mbeddr.platform.tests.build.mps @@ -368,6 +368,12 @@ + + + + + + @@ -427,130 +433,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1641,6 +1523,11 @@ + + + + + @@ -1696,6 +1583,21 @@ + + + + + + + + + + + + + + + @@ -2841,6 +2743,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2989,6 +3000,9 @@ + + + From 883b2ec084ea0353c3ddebcb0ad269bdf5a0f429 Mon Sep 17 00:00:00 2001 From: dbinkele Date: Mon, 14 Oct 2024 11:38:07 +0200 Subject: [PATCH 11/15] migrate remigrate (#2547) --- .../com.mbeddr.platform.tests.build.mps | 32 +++++++++++++++++++ ...m.mbeddr.mpsutil.logicalChild.behavior.mps | 2 +- ...mbeddr.mpsutil.logicalChild.test@tests.mps | 4 +-- .../test.com.mbeddr.mpsutil.logicalChild.msd | 1 + 4 files changed, 36 insertions(+), 3 deletions(-) diff --git a/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform.tests.build/models/com.mbeddr.platform.tests.build.mps b/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform.tests.build/models/com.mbeddr.platform.tests.build.mps index 712cd6f2be..0c365eb2b5 100644 --- a/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform.tests.build/models/com.mbeddr.platform.tests.build.mps +++ b/code/languages/com.mbeddr.build/solutions/com.mbeddr.platform.tests.build/models/com.mbeddr.platform.tests.build.mps @@ -2792,6 +2792,22 @@ + + + + + + + + + + + + + + + + @@ -2851,6 +2867,22 @@ + + + + + + + + + + + + + + + + diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps index 710bebb7a0..843419dffa 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps @@ -817,7 +817,7 @@ - + diff --git a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps index 4bd6fa3cc4..397e7167a1 100644 --- a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps +++ b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps @@ -706,7 +706,7 @@ - + @@ -714,7 +714,7 @@ - + diff --git a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/test.com.mbeddr.mpsutil.logicalChild.msd b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/test.com.mbeddr.mpsutil.logicalChild.msd index 87a2a87104..17113629f5 100644 --- a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/test.com.mbeddr.mpsutil.logicalChild.msd +++ b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/test.com.mbeddr.mpsutil.logicalChild.msd @@ -9,6 +9,7 @@ + From 2e36d70e180d99a55ab842b5677567d4d32f2f6c Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Mon, 14 Oct 2024 13:49:08 +0200 Subject: [PATCH 12/15] fix typos --- .../models/com.mbeddr.mpsutil.logicalChild.behavior.mps | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps index 843419dffa..98060a4087 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps @@ -542,7 +542,7 @@ - + @@ -600,7 +600,7 @@ - + From 362f524b0408c14018b64c7851e19b5f8b36b04c Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Mon, 14 Oct 2024 14:55:30 +0200 Subject: [PATCH 13/15] refactor the code --- ...m.mbeddr.mpsutil.logicalChild.behavior.mps | 68 +------ ...mbeddr.mpsutil.logicalChild.test@tests.mps | 181 +++++++++++++++++- 2 files changed, 183 insertions(+), 66 deletions(-) diff --git a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps index 98060a4087..08cbfb8813 100644 --- a/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps +++ b/code/languages/com.mbeddr.mpsutil/languages/com.mbeddr.mpsutil.logicalChild/models/com.mbeddr.mpsutil.logicalChild.behavior.mps @@ -108,9 +108,7 @@ - - - + @@ -736,20 +734,6 @@ - - - - - - - - - - - - - - @@ -793,7 +777,6 @@ - @@ -801,6 +784,7 @@ + @@ -897,16 +881,6 @@ - - - - - - - - - - @@ -922,24 +896,6 @@ - - - - - - - - - - - - - - - - - - @@ -980,20 +936,16 @@ - - + + - - - - - + @@ -1014,16 +966,6 @@ - - - - - - - - - - diff --git a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps index 397e7167a1..1153a0f187 100644 --- a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps +++ b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps @@ -11,10 +11,12 @@ + + - + @@ -35,20 +37,38 @@ + + + + + + + + + + + + + + + + + + @@ -73,6 +93,9 @@ + + + @@ -90,6 +113,7 @@ + @@ -97,11 +121,16 @@ + + + + + @@ -146,6 +175,12 @@ + + + + + + @@ -316,7 +351,6 @@ - @@ -339,7 +373,142 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -638,6 +807,12 @@ + + + + + + From 22b5843e03e3242b4ea444dd517e1f6791cac93c Mon Sep 17 00:00:00 2001 From: Alexander Pann Date: Mon, 14 Oct 2024 21:16:03 +0200 Subject: [PATCH 14/15] add another test --- ...mbeddr.mpsutil.logicalChild.test@tests.mps | 651 +++++++++++++++++- .../test.com.mbeddr.mpsutil.logicalChild.msd | 3 +- 2 files changed, 647 insertions(+), 7 deletions(-) diff --git a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps index 1153a0f187..818ff6730a 100644 --- a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps +++ b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps @@ -4,19 +4,26 @@ - + + + + + - - - - + + + + + + + @@ -35,11 +42,18 @@ + + + + + + + @@ -61,18 +75,29 @@ + + + + + + + + + + + @@ -103,8 +128,12 @@ + + + + @@ -121,6 +150,7 @@ + @@ -138,6 +168,15 @@ + + + + + + + + + @@ -181,6 +220,7 @@ + @@ -247,7 +287,20 @@ + + + + + + + + + + + + + @@ -972,5 +1025,593 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/test.com.mbeddr.mpsutil.logicalChild.msd b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/test.com.mbeddr.mpsutil.logicalChild.msd index 17113629f5..ddc76a336e 100644 --- a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/test.com.mbeddr.mpsutil.logicalChild.msd +++ b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/test.com.mbeddr.mpsutil.logicalChild.msd @@ -17,13 +17,12 @@ 6354ebe7-c22a-4a0f-ac54-50b52ab9b065(JDK) - - + From dc4c7f065efed863ca2013e66f77d6f32ba8fb04 Mon Sep 17 00:00:00 2001 From: dbinkele Date: Wed, 16 Oct 2024 12:40:35 +0200 Subject: [PATCH 15/15] run 'gradle migrate remigrate'(#2547) --- ...st.com.mbeddr.mpsutil.logicalChild.test@tests.mps | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps index 818ff6730a..94510e7afe 100644 --- a/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps +++ b/code/languages/com.mbeddr.mpsutil/solutions/test.com.mbeddr.mpsutil.logicalChild/models/test.com.mbeddr.mpsutil.logicalChild.test@tests.mps @@ -1272,8 +1272,8 @@ - - + + @@ -1339,8 +1339,8 @@ - - + + @@ -1444,8 +1444,8 @@ - - + +