From e6a938812e9b27ca7b639b9812e8c641fe78494c Mon Sep 17 00:00:00 2001 From: Madzi Date: Thu, 8 Sep 2022 22:28:16 +0200 Subject: [PATCH 1/2] Initial implementation --- .github/workflows/mvn.yaml | 23 +++++++++++ .gitignore | 7 +++- pom.xml | 78 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 107 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/mvn.yaml create mode 100644 pom.xml diff --git a/.github/workflows/mvn.yaml b/.github/workflows/mvn.yaml new file mode 100644 index 0000000..64f54e4 --- /dev/null +++ b/.github/workflows/mvn.yaml @@ -0,0 +1,23 @@ +--- +name: mvn +on: + push: + branches: + - master + pull_request: + branches: + - master +jobs: + test: + name: Tests + strategy: + matrix: + os: [ubuntu-20.04, windows-2022, macos-12] + java: [1.8] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-java@v1 + with: + java-version: ${{ matrix.java }} + - run: mvn clean install --errors --batch-mode diff --git a/.gitignore b/.gitignore index 39cc8c1..3446b03 100644 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,9 @@ *.bak *.backup *.exe -/bitrock/*.run \ No newline at end of file +/bitrock/*.run +target/ +.project +.classpath +.settings/ +nb-configuration.xml diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..89bbcd9 --- /dev/null +++ b/pom.xml @@ -0,0 +1,78 @@ + + + + 4.0.0 + + ifml2 + ifml2 + 1.0-SNAPSHOT + jar + + IFML2 + + + UTF-8 + 1.8 + ${java.version} + ${java.version} + + + + + log4j + log4j + 1.2.17 + + + net.java.dev.glazedlists + glazedlists_java15 + 1.9.1 + + + com.sun + rt + 1.8 + system + ${java.home}/../jre/lib/rt.jar + + + org.jetbrains + annotations + 23.0.0 + + + junit + junit + 4.13.2 + test + + + org.mockito + mockito-core + 4.5.1 + test + + + com.sun.xml.bind + jaxb-impl + 2.2.11 + + + com.sun.xml.bind + jaxb-core + 2.2.11 + + + com.intellij + forms_rt + 4.5.4 + + + + + src + unittests + + From 37e79bb6bb0cd5f56210f0709d70826c44166ef6 Mon Sep 17 00:00:00 2001 From: Madzi Date: Thu, 8 Sep 2022 22:47:54 +0200 Subject: [PATCH 2/2] Fix #45 and #46 issues --- src/ifml2/editor/gui/ShowMemoDialog.form | 2 +- src/ifml2/editor/gui/editors/ActionEditor.form | 4 ++-- .../editor/gui/editors/ActionsEditor.form | 4 ++-- .../editor/gui/editors/DictionaryEditor.form | 8 ++++---- src/ifml2/editor/gui/editors/HookEditor.form | 12 ++++++------ .../InheritedSystemProceduresEditor.form | 8 ++++---- .../editor/gui/editors/InstructionsEditor.form | 14 +++++++------- src/ifml2/editor/gui/editors/ItemEditor.form | 10 +++++----- .../gui/editors/LiteralElementEditor.form | 12 ++++++------ .../editor/gui/editors/LocationEditor.form | 18 +++++++++--------- .../gui/editors/ObjectAttributesEditor.form | 4 ++-- .../gui/editors/ObjectElementEditor.form | 8 ++++---- .../editor/gui/editors/ProcedureEditor.form | 4 ++-- .../editor/gui/editors/ProceduresEditor.form | 4 ++-- .../editor/gui/editors/RestrictionEditor.form | 6 +++--- src/ifml2/editor/gui/editors/RoleEditor.form | 4 ++-- .../editor/gui/editors/StoryOptionsEditor.form | 6 +++--- .../editor/gui/editors/TemplateEditor.form | 4 ++-- .../editor/gui/editors/UsedLibsEditor.form | 8 ++++---- .../editor/gui/editors/WordLinksEditor.form | 8 ++++---- .../gui/instructions/GoToLocInstrEditor.form | 8 ++++---- .../editor/gui/instructions/IfInstrEditor.form | 4 ++-- .../gui/instructions/MoveItemInstrEditor.form | 10 +++++----- .../gui/instructions/ReturnInstrEditor.form | 4 ++-- .../gui/instructions/RollDiceInstrEditor.form | 4 ++-- .../instructions/RunProcedureInstrEditor.form | 4 ++-- .../gui/instructions/SetVarInstrEditor.form | 6 +++--- .../instructions/ShowMessageInstrEditor.form | 14 +++++++------- .../instructions/ShowPictureInstrEditor.form | 6 +++--- 29 files changed, 104 insertions(+), 104 deletions(-) diff --git a/src/ifml2/editor/gui/ShowMemoDialog.form b/src/ifml2/editor/gui/ShowMemoDialog.form index e9e9c4d..ff923eb 100644 --- a/src/ifml2/editor/gui/ShowMemoDialog.form +++ b/src/ifml2/editor/gui/ShowMemoDialog.form @@ -37,7 +37,7 @@ - + diff --git a/src/ifml2/editor/gui/editors/ActionEditor.form b/src/ifml2/editor/gui/editors/ActionEditor.form index 21a9393..15b1b0f 100644 --- a/src/ifml2/editor/gui/editors/ActionEditor.form +++ b/src/ifml2/editor/gui/editors/ActionEditor.form @@ -36,7 +36,7 @@ - + @@ -44,7 +44,7 @@ - + diff --git a/src/ifml2/editor/gui/editors/ActionsEditor.form b/src/ifml2/editor/gui/editors/ActionsEditor.form index 2b01411..f2a6c74 100644 --- a/src/ifml2/editor/gui/editors/ActionsEditor.form +++ b/src/ifml2/editor/gui/editors/ActionsEditor.form @@ -36,7 +36,7 @@ - + @@ -44,7 +44,7 @@ - + diff --git a/src/ifml2/editor/gui/editors/DictionaryEditor.form b/src/ifml2/editor/gui/editors/DictionaryEditor.form index 252dcc0..e4fdaad 100644 --- a/src/ifml2/editor/gui/editors/DictionaryEditor.form +++ b/src/ifml2/editor/gui/editors/DictionaryEditor.form @@ -3,7 +3,7 @@ - + @@ -36,7 +36,7 @@ - + @@ -197,14 +197,14 @@ - + - + diff --git a/src/ifml2/editor/gui/editors/HookEditor.form b/src/ifml2/editor/gui/editors/HookEditor.form index 3642309..b6533db 100644 --- a/src/ifml2/editor/gui/editors/HookEditor.form +++ b/src/ifml2/editor/gui/editors/HookEditor.form @@ -36,7 +36,7 @@ - + @@ -44,7 +44,7 @@ - + @@ -111,7 +111,7 @@ - + @@ -119,7 +119,7 @@ - + @@ -128,7 +128,7 @@ - + @@ -154,7 +154,7 @@ - + diff --git a/src/ifml2/editor/gui/editors/InheritedSystemProceduresEditor.form b/src/ifml2/editor/gui/editors/InheritedSystemProceduresEditor.form index c9db37d..50feb7b 100644 --- a/src/ifml2/editor/gui/editors/InheritedSystemProceduresEditor.form +++ b/src/ifml2/editor/gui/editors/InheritedSystemProceduresEditor.form @@ -36,7 +36,7 @@ - + @@ -44,7 +44,7 @@ - + @@ -84,7 +84,7 @@ - + @@ -93,7 +93,7 @@ - + diff --git a/src/ifml2/editor/gui/editors/InstructionsEditor.form b/src/ifml2/editor/gui/editors/InstructionsEditor.form index bbd1be8..6b2fa52 100644 --- a/src/ifml2/editor/gui/editors/InstructionsEditor.form +++ b/src/ifml2/editor/gui/editors/InstructionsEditor.form @@ -36,7 +36,7 @@ - + @@ -44,7 +44,7 @@ - + @@ -89,13 +89,13 @@ - + - + @@ -116,19 +116,19 @@ - + - + - + diff --git a/src/ifml2/editor/gui/editors/ItemEditor.form b/src/ifml2/editor/gui/editors/ItemEditor.form index 2c05d0c..f189e01 100644 --- a/src/ifml2/editor/gui/editors/ItemEditor.form +++ b/src/ifml2/editor/gui/editors/ItemEditor.form @@ -37,7 +37,7 @@ - + @@ -45,7 +45,7 @@ - + @@ -161,7 +161,7 @@ - + @@ -201,7 +201,7 @@ - + @@ -239,7 +239,7 @@ - + diff --git a/src/ifml2/editor/gui/editors/LiteralElementEditor.form b/src/ifml2/editor/gui/editors/LiteralElementEditor.form index ac52f41..4b4d4ec 100644 --- a/src/ifml2/editor/gui/editors/LiteralElementEditor.form +++ b/src/ifml2/editor/gui/editors/LiteralElementEditor.form @@ -36,7 +36,7 @@ - + @@ -44,7 +44,7 @@ - + @@ -88,19 +88,19 @@ - + - + - + @@ -133,7 +133,7 @@ - + diff --git a/src/ifml2/editor/gui/editors/LocationEditor.form b/src/ifml2/editor/gui/editors/LocationEditor.form index cb7fc6b..0ae8cf1 100644 --- a/src/ifml2/editor/gui/editors/LocationEditor.form +++ b/src/ifml2/editor/gui/editors/LocationEditor.form @@ -37,7 +37,7 @@ - + @@ -45,7 +45,7 @@ - + @@ -273,19 +273,19 @@ - + - + - + @@ -414,7 +414,7 @@ - + @@ -443,19 +443,19 @@ - + - + - + diff --git a/src/ifml2/editor/gui/editors/ObjectAttributesEditor.form b/src/ifml2/editor/gui/editors/ObjectAttributesEditor.form index 46e0a1d..565537e 100644 --- a/src/ifml2/editor/gui/editors/ObjectAttributesEditor.form +++ b/src/ifml2/editor/gui/editors/ObjectAttributesEditor.form @@ -37,7 +37,7 @@ - + @@ -45,7 +45,7 @@ - + diff --git a/src/ifml2/editor/gui/editors/ObjectElementEditor.form b/src/ifml2/editor/gui/editors/ObjectElementEditor.form index 3027240..0c392a4 100644 --- a/src/ifml2/editor/gui/editors/ObjectElementEditor.form +++ b/src/ifml2/editor/gui/editors/ObjectElementEditor.form @@ -3,7 +3,7 @@ - + @@ -36,7 +36,7 @@ - + @@ -44,7 +44,7 @@ - + @@ -87,7 +87,7 @@ - + diff --git a/src/ifml2/editor/gui/editors/ProcedureEditor.form b/src/ifml2/editor/gui/editors/ProcedureEditor.form index 0bc1791..b779b92 100644 --- a/src/ifml2/editor/gui/editors/ProcedureEditor.form +++ b/src/ifml2/editor/gui/editors/ProcedureEditor.form @@ -36,7 +36,7 @@ - + @@ -44,7 +44,7 @@ - + diff --git a/src/ifml2/editor/gui/editors/ProceduresEditor.form b/src/ifml2/editor/gui/editors/ProceduresEditor.form index 960a478..60f179c 100644 --- a/src/ifml2/editor/gui/editors/ProceduresEditor.form +++ b/src/ifml2/editor/gui/editors/ProceduresEditor.form @@ -36,7 +36,7 @@ - + @@ -101,7 +101,7 @@ - + diff --git a/src/ifml2/editor/gui/editors/RestrictionEditor.form b/src/ifml2/editor/gui/editors/RestrictionEditor.form index 0d65794..c0925ea 100644 --- a/src/ifml2/editor/gui/editors/RestrictionEditor.form +++ b/src/ifml2/editor/gui/editors/RestrictionEditor.form @@ -34,7 +34,7 @@ - + @@ -42,7 +42,7 @@ - + @@ -95,7 +95,7 @@ - + diff --git a/src/ifml2/editor/gui/editors/RoleEditor.form b/src/ifml2/editor/gui/editors/RoleEditor.form index e8d7790..96ec948 100644 --- a/src/ifml2/editor/gui/editors/RoleEditor.form +++ b/src/ifml2/editor/gui/editors/RoleEditor.form @@ -36,7 +36,7 @@ - + @@ -44,7 +44,7 @@ - + diff --git a/src/ifml2/editor/gui/editors/StoryOptionsEditor.form b/src/ifml2/editor/gui/editors/StoryOptionsEditor.form index 606a0cc..d2d7760 100644 --- a/src/ifml2/editor/gui/editors/StoryOptionsEditor.form +++ b/src/ifml2/editor/gui/editors/StoryOptionsEditor.form @@ -34,7 +34,7 @@ - + @@ -42,7 +42,7 @@ - + @@ -145,7 +145,7 @@ - + diff --git a/src/ifml2/editor/gui/editors/TemplateEditor.form b/src/ifml2/editor/gui/editors/TemplateEditor.form index df55f1d..41b4479 100644 --- a/src/ifml2/editor/gui/editors/TemplateEditor.form +++ b/src/ifml2/editor/gui/editors/TemplateEditor.form @@ -36,7 +36,7 @@ - + @@ -44,7 +44,7 @@ - + diff --git a/src/ifml2/editor/gui/editors/UsedLibsEditor.form b/src/ifml2/editor/gui/editors/UsedLibsEditor.form index c134724..b448e9d 100644 --- a/src/ifml2/editor/gui/editors/UsedLibsEditor.form +++ b/src/ifml2/editor/gui/editors/UsedLibsEditor.form @@ -34,7 +34,7 @@ - + @@ -42,7 +42,7 @@ - + @@ -87,14 +87,14 @@ - + - + diff --git a/src/ifml2/editor/gui/editors/WordLinksEditor.form b/src/ifml2/editor/gui/editors/WordLinksEditor.form index f01af74..826b3b9 100644 --- a/src/ifml2/editor/gui/editors/WordLinksEditor.form +++ b/src/ifml2/editor/gui/editors/WordLinksEditor.form @@ -3,7 +3,7 @@ - + @@ -159,13 +159,13 @@ - + - + @@ -211,7 +211,7 @@ - + diff --git a/src/ifml2/editor/gui/instructions/GoToLocInstrEditor.form b/src/ifml2/editor/gui/instructions/GoToLocInstrEditor.form index e84edd6..7af1b4c 100644 --- a/src/ifml2/editor/gui/instructions/GoToLocInstrEditor.form +++ b/src/ifml2/editor/gui/instructions/GoToLocInstrEditor.form @@ -34,7 +34,7 @@ - + @@ -42,7 +42,7 @@ - + @@ -93,7 +93,7 @@ - + @@ -101,7 +101,7 @@ - + diff --git a/src/ifml2/editor/gui/instructions/IfInstrEditor.form b/src/ifml2/editor/gui/instructions/IfInstrEditor.form index ef95399..e9ab846 100644 --- a/src/ifml2/editor/gui/instructions/IfInstrEditor.form +++ b/src/ifml2/editor/gui/instructions/IfInstrEditor.form @@ -36,7 +36,7 @@ - + @@ -44,7 +44,7 @@ - + diff --git a/src/ifml2/editor/gui/instructions/MoveItemInstrEditor.form b/src/ifml2/editor/gui/instructions/MoveItemInstrEditor.form index 9be7d57..aa7c809 100644 --- a/src/ifml2/editor/gui/instructions/MoveItemInstrEditor.form +++ b/src/ifml2/editor/gui/instructions/MoveItemInstrEditor.form @@ -3,7 +3,7 @@ - + @@ -34,7 +34,7 @@ - + @@ -42,7 +42,7 @@ - + @@ -100,7 +100,7 @@ - + @@ -108,7 +108,7 @@ - + diff --git a/src/ifml2/editor/gui/instructions/ReturnInstrEditor.form b/src/ifml2/editor/gui/instructions/ReturnInstrEditor.form index a6126d3..cdcea69 100644 --- a/src/ifml2/editor/gui/instructions/ReturnInstrEditor.form +++ b/src/ifml2/editor/gui/instructions/ReturnInstrEditor.form @@ -34,7 +34,7 @@ - + @@ -42,7 +42,7 @@ - + diff --git a/src/ifml2/editor/gui/instructions/RollDiceInstrEditor.form b/src/ifml2/editor/gui/instructions/RollDiceInstrEditor.form index a180e15..d9e0f65 100644 --- a/src/ifml2/editor/gui/instructions/RollDiceInstrEditor.form +++ b/src/ifml2/editor/gui/instructions/RollDiceInstrEditor.form @@ -34,7 +34,7 @@ - + @@ -42,7 +42,7 @@ - + diff --git a/src/ifml2/editor/gui/instructions/RunProcedureInstrEditor.form b/src/ifml2/editor/gui/instructions/RunProcedureInstrEditor.form index d92c6f5..ff092a1 100644 --- a/src/ifml2/editor/gui/instructions/RunProcedureInstrEditor.form +++ b/src/ifml2/editor/gui/instructions/RunProcedureInstrEditor.form @@ -34,7 +34,7 @@ - + @@ -42,7 +42,7 @@ - + diff --git a/src/ifml2/editor/gui/instructions/SetVarInstrEditor.form b/src/ifml2/editor/gui/instructions/SetVarInstrEditor.form index 828fbba..82bacfd 100644 --- a/src/ifml2/editor/gui/instructions/SetVarInstrEditor.form +++ b/src/ifml2/editor/gui/instructions/SetVarInstrEditor.form @@ -3,7 +3,7 @@ - + @@ -34,7 +34,7 @@ - + @@ -42,7 +42,7 @@ - + diff --git a/src/ifml2/editor/gui/instructions/ShowMessageInstrEditor.form b/src/ifml2/editor/gui/instructions/ShowMessageInstrEditor.form index 5bbf97b..b64592c 100644 --- a/src/ifml2/editor/gui/instructions/ShowMessageInstrEditor.form +++ b/src/ifml2/editor/gui/instructions/ShowMessageInstrEditor.form @@ -3,7 +3,7 @@ - + @@ -36,7 +36,7 @@ - + @@ -44,7 +44,7 @@ - + @@ -97,7 +97,7 @@ - + @@ -105,7 +105,7 @@ - + @@ -123,7 +123,7 @@ - + @@ -131,7 +131,7 @@ - + diff --git a/src/ifml2/editor/gui/instructions/ShowPictureInstrEditor.form b/src/ifml2/editor/gui/instructions/ShowPictureInstrEditor.form index cec6642..e96607a 100644 --- a/src/ifml2/editor/gui/instructions/ShowPictureInstrEditor.form +++ b/src/ifml2/editor/gui/instructions/ShowPictureInstrEditor.form @@ -3,7 +3,7 @@ - + @@ -34,7 +34,7 @@ - + @@ -42,7 +42,7 @@ - +