Mograsim.git
4 years agoUpdated to new SWTHelper version
Daniel Kirschten [Wed, 10 Jul 2019 10:35:21 +0000 (12:35 +0200)]
Updated to new SWTHelper version

4 years agoFixed package exports in net.mograsim.logic.ui's MANIFEST.MF
Daniel Kirschten [Mon, 8 Jul 2019 11:20:09 +0000 (13:20 +0200)]
Fixed package exports in net.mograsim.logic.ui's MANIFEST.MF

4 years agoGUIComponents now have names
Daniel Kirschten [Mon, 8 Jul 2019 11:16:49 +0000 (13:16 +0200)]
GUIComponents now have names

4 years agoSmall fix in ClickableSubmodelComponentsTest
Daniel Kirschten [Mon, 8 Jul 2019 10:52:43 +0000 (12:52 +0200)]
Small fix in ClickableSubmodelComponentsTest

4 years agoCodeSnippetSupplier now supports high level state handlers
Daniel Kirschten [Mon, 8 Jul 2019 08:48:30 +0000 (10:48 +0200)]
CodeSnippetSupplier now supports high level state handlers

4 years agoReplaced "provider" in identifiers with "supplier"
Daniel Kirschten [Mon, 8 Jul 2019 08:44:09 +0000 (10:44 +0200)]
Replaced "provider" in identifiers with "supplier"

4 years agoCodeSnippetSupplier doesn't complain anymore if 'id == null'
Daniel Kirschten [Fri, 5 Jul 2019 14:20:22 +0000 (16:20 +0200)]
CodeSnippetSupplier doesn't complain anymore if 'id == null'

4 years agoSwitched mostly to using deserialized component versions
Daniel Kirschten [Fri, 5 Jul 2019 14:16:01 +0000 (16:16 +0200)]
Switched mostly to using deserialized component versions

Didn't switch where high level states are needed

4 years agoRemoved ConnectionPoint causing confusion
Daniel Kirschten [Fri, 5 Jul 2019 14:03:47 +0000 (16:03 +0200)]
Removed ConnectionPoint causing confusion

4 years agoMerge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim...
Fabian Stemmler [Fri, 5 Jul 2019 13:04:12 +0000 (15:04 +0200)]
Merge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019.git into development

4 years agoAdded a GUIComponent resize listener
Fabian Stemmler [Fri, 5 Jul 2019 13:03:28 +0000 (15:03 +0200)]
Added a GUIComponent resize listener

4 years agoMade Renderers usable without JSON
Daniel Kirschten [Thu, 4 Jul 2019 14:12:43 +0000 (16:12 +0200)]
Made Renderers usable without JSON

4 years agoMade CodeSnippetSupplier generic
Daniel Kirschten [Thu, 4 Jul 2019 08:50:11 +0000 (10:50 +0200)]
Made CodeSnippetSupplier generic

4 years agoUpdated MANIFEST.MF
Daniel Kirschten [Thu, 4 Jul 2019 08:31:00 +0000 (10:31 +0200)]
Updated MANIFEST.MF

4 years agoMoved code serializing a symbol renderer to where it belongs
Daniel Kirschten [Thu, 4 Jul 2019 08:30:35 +0000 (10:30 +0200)]
Moved code serializing a symbol renderer to where it belongs

4 years agoAdded two SymbolRendererProviders
Daniel Kirschten [Thu, 4 Jul 2019 08:24:44 +0000 (10:24 +0200)]
Added two SymbolRendererProviders

4 years agoOrganized imports + cleaned MANIFEST.MF
Daniel Kirschten [Wed, 3 Jul 2019 21:30:04 +0000 (23:30 +0200)]
Organized imports + cleaned MANIFEST.MF

4 years agoFixed net.mograsim.plugin.core
Daniel Kirschten [Wed, 3 Jul 2019 21:29:19 +0000 (23:29 +0200)]
Fixed net.mograsim.plugin.core

4 years agoMade classes in package "nandbased" usable for JSON
Daniel Kirschten [Wed, 3 Jul 2019 21:25:47 +0000 (23:25 +0200)]
Made classes in package "nandbased" usable for JSON

4 years agoSwitched SubmodelComponentTestbench to use JSON-based Am2901
Daniel Kirschten [Wed, 3 Jul 2019 21:25:03 +0000 (23:25 +0200)]
Switched SubmodelComponentTestbench to use JSON-based Am2901

4 years agoFixed & renamed CodeSnippetSupplier.tryInvokeStaticInitializer
Daniel Kirschten [Wed, 3 Jul 2019 21:17:37 +0000 (23:17 +0200)]
Fixed & renamed CodeSnippetSupplier.tryInvokeStaticInitializer

4 years agoFixed standardComponentIDMapping
Daniel Kirschten [Wed, 3 Jul 2019 21:16:19 +0000 (23:16 +0200)]
Fixed standardComponentIDMapping

4 years agoRebuilt component JSON files
Daniel Kirschten [Wed, 3 Jul 2019 21:16:05 +0000 (23:16 +0200)]
Rebuilt component JSON files

4 years agoUpdated version; added string-based methods in JsonHandler
Daniel Kirschten [Wed, 3 Jul 2019 21:02:36 +0000 (23:02 +0200)]
Updated version; added string-based methods in JsonHandler

4 years agoGUIComponents now serialize and deserialize parameters (where needed)
Daniel Kirschten [Wed, 3 Jul 2019 20:43:03 +0000 (22:43 +0200)]
GUIComponents now serialize and deserialize parameters (where needed)

4 years agoUpdated MANIFEST.MF
Daniel Kirschten [Wed, 3 Jul 2019 20:20:37 +0000 (22:20 +0200)]
Updated MANIFEST.MF

4 years agoRestructured serializing / deserializing
Daniel Kirschten [Wed, 3 Jul 2019 20:19:16 +0000 (22:19 +0200)]
Restructured serializing / deserializing

4 years agoRemoved old ColorHelper class
Daniel Kirschten [Wed, 3 Jul 2019 08:39:25 +0000 (10:39 +0200)]
Removed old ColorHelper class

4 years agoRestructured serializing classes
Daniel Kirschten [Tue, 2 Jul 2019 21:01:03 +0000 (23:01 +0200)]
Restructured serializing classes

4 years agoAdded MSB first versions of parse() and toString()
Daniel Kirschten [Sun, 30 Jun 2019 16:39:00 +0000 (18:39 +0200)]
Added MSB first versions of parse() and toString()

4 years agoMade Am2901 tests work again
Daniel Kirschten [Sun, 30 Jun 2019 16:28:53 +0000 (18:28 +0200)]
Made Am2901 tests work again

4 years agoTextComponent no longer overrides getBounds but rather calls setSize()
Daniel Kirschten [Sun, 30 Jun 2019 16:14:24 +0000 (18:14 +0200)]
TextComponent no longer overrides getBounds but rather calls setSize()

4 years agoFixed TextComponent having two different positions:
Daniel Kirschten [Sun, 30 Jun 2019 15:45:29 +0000 (17:45 +0200)]
Fixed TextComponent having two different positions:

getPosX/Y() reported a different position than getBounds().x/y, which
could cause problems

4 years agoReplaced static factory method with constructor
Daniel Kirschten [Sun, 30 Jun 2019 15:44:21 +0000 (17:44 +0200)]
Replaced static factory method with constructor

4 years agoFixed GUIram4 high level state access
Daniel Kirschten [Sun, 30 Jun 2019 14:33:41 +0000 (16:33 +0200)]
Fixed GUIram4 high level state access

4 years agoMore helpful error message if no component is selected in LogicUICanvas
Daniel Kirschten [Sun, 30 Jun 2019 13:17:25 +0000 (15:17 +0200)]
More helpful error message if no component is selected in LogicUICanvas

4 years agoRestructured high level state access
Daniel Kirschten [Sun, 30 Jun 2019 13:13:31 +0000 (15:13 +0200)]
Restructured high level state access

4 years agoMoved sanity check to make more sense
Daniel Kirschten [Sun, 30 Jun 2019 13:12:36 +0000 (15:12 +0200)]
Moved sanity check to make more sense

4 years agoCorrected incorrect correction of bit order
Daniel Kirschten [Sun, 30 Jun 2019 12:54:40 +0000 (14:54 +0200)]
Corrected incorrect correction of bit order

4 years agoRemoved System.out's
Christian Femers [Sat, 29 Jun 2019 01:36:40 +0000 (03:36 +0200)]
Removed System.out's

4 years agoChanged high level addressing to have the correct bit and reg. order
Christian Femers [Sat, 29 Jun 2019 01:35:09 +0000 (03:35 +0200)]
Changed high level addressing to have the correct bit and reg. order

4 years agoFixed and added a lot of tests
Christian Femers [Sat, 29 Jun 2019 01:30:32 +0000 (03:30 +0200)]
Fixed and added a lot of tests

4 years agoImproved package structure
Christian Femers [Sat, 29 Jun 2019 01:29:46 +0000 (03:29 +0200)]
Improved package structure

4 years agoAdded getBounds() to TextComponent
Christian Femers [Sat, 29 Jun 2019 01:29:05 +0000 (03:29 +0200)]
Added getBounds() to TextComponent

4 years agoFixed ManualSwitch concerning U and added Bit methods
Christian Femers [Sat, 29 Jun 2019 01:28:14 +0000 (03:28 +0200)]
Fixed ManualSwitch concerning U and added Bit methods

4 years agoAdded an visual-only text component and modelling helper class
Christian Femers [Fri, 28 Jun 2019 17:26:19 +0000 (19:26 +0200)]
Added an visual-only text component and modelling helper class

4 years agoMade LogicUIStandalone implement Runnable because why not.
Christian Femers [Fri, 28 Jun 2019 17:24:47 +0000 (19:24 +0200)]
Made LogicUIStandalone implement Runnable because why not.

4 years agoCommon ConnectionPoint interface to simplify many things
Christian Femers [Fri, 28 Jun 2019 17:22:57 +0000 (19:22 +0200)]
Common ConnectionPoint interface to simplify many things

Simplifies the GUIWire's constructors and allows to loop to create wire
connections.

4 years agoSlight improvements in documentation.
Daniel Kirschten [Wed, 26 Jun 2019 21:10:56 +0000 (23:10 +0200)]
Slight improvements in documentation.

4 years agoImplemented set/getHighLevelState for most components
Daniel Kirschten [Wed, 26 Jun 2019 21:02:59 +0000 (23:02 +0200)]
Implemented set/getHighLevelState for most components

4 years agoConstructor of BitVector now is fail-fast for bits being null
Daniel Kirschten [Wed, 26 Jun 2019 20:29:20 +0000 (22:29 +0200)]
Constructor of BitVector now is fail-fast for bits being null

4 years agoAdded debug shell for setHighLevelState; improved ViewModel comments
Daniel Kirschten [Wed, 26 Jun 2019 19:53:44 +0000 (21:53 +0200)]
Added debug shell for setHighLevelState; improved ViewModel comments

4 years agoMerge remote-tracking branch 'origin/development' into development
Daniel Kirschten [Wed, 26 Jun 2019 19:19:17 +0000 (21:19 +0200)]
Merge remote-tracking branch 'origin/development' into development

4 years agomapping.json is now loaded by the class loader
Fabian Stemmler [Wed, 26 Jun 2019 19:11:21 +0000 (21:11 +0200)]
mapping.json is now loaded by the class loader

4 years agoImplemented GUI_rsLatch#setHighLevelState
Daniel Kirschten [Wed, 26 Jun 2019 17:19:39 +0000 (19:19 +0200)]
Implemented GUI_rsLatch#setHighLevelState

4 years agoImplemented GUIManualSwitch#setHighLevelState
Daniel Kirschten [Wed, 26 Jun 2019 17:19:32 +0000 (19:19 +0200)]
Implemented GUIManualSwitch#setHighLevelState

4 years agoImplemented things needed for setHighLevelState
Daniel Kirschten [Wed, 26 Jun 2019 17:16:31 +0000 (19:16 +0200)]
Implemented things needed for setHighLevelState

4 years agoAdded forceValues(...) method to Wire
Fabian Stemmler [Wed, 26 Jun 2019 13:51:57 +0000 (15:51 +0200)]
Added forceValues(...) method to Wire

4 years agoCommented MovablePin
Daniel Kirschten [Wed, 26 Jun 2019 10:50:41 +0000 (12:50 +0200)]
Commented MovablePin

4 years agoCommented WireCrossPoint
Daniel Kirschten [Wed, 26 Jun 2019 10:49:16 +0000 (12:49 +0200)]
Commented WireCrossPoint

4 years agoCommented Pin
Daniel Kirschten [Wed, 26 Jun 2019 10:16:54 +0000 (12:16 +0200)]
Commented Pin

4 years agoIncluded net.mograsim.preferences into net.mograsim.plugin.feature
Daniel Kirschten [Tue, 25 Jun 2019 12:57:57 +0000 (14:57 +0200)]
Included net.mograsim.preferences into net.mograsim.plugin.feature

4 years agoThe user no longer has to click on "Apply" to see changes in the preview
Daniel Kirschten [Tue, 25 Jun 2019 09:47:16 +0000 (11:47 +0200)]
The user no longer has to click on "Apply" to see changes in the preview

4 years agoSimulation preview no longer can be moved / zoomed; removed old code
Daniel Kirschten [Tue, 25 Jun 2019 09:37:51 +0000 (11:37 +0200)]
Simulation preview no longer can be moved / zoomed; removed old code

4 years agoMore colors managed by Preferences
Daniel Kirschten [Tue, 25 Jun 2019 09:33:12 +0000 (11:33 +0200)]
More colors managed by Preferences

4 years agoRemoved visitor pattern used for one test only
Daniel Kirschten [Tue, 25 Jun 2019 09:23:43 +0000 (11:23 +0200)]
Removed visitor pattern used for one test only

4 years agoexecuteWithDifferentColor no longer crashes if col==null
Daniel Kirschten [Tue, 25 Jun 2019 08:49:19 +0000 (10:49 +0200)]
executeWithDifferentColor no longer crashes if col==null

4 years agoNow using preference system in plugin.core
Daniel Kirschten [Tue, 25 Jun 2019 08:45:53 +0000 (10:45 +0200)]
Now using preference system in plugin.core

4 years agoChanges in the preference system
Daniel Kirschten [Tue, 25 Jun 2019 08:45:39 +0000 (10:45 +0200)]
Changes in the preference system

4 years agoCreated net.mograsim.preferences
Daniel Kirschten [Tue, 25 Jun 2019 08:03:50 +0000 (10:03 +0200)]
Created net.mograsim.preferences

4 years agoCleaned project references and MANIFEST.mf Bundle-Vendor entries
Daniel Kirschten [Tue, 25 Jun 2019 07:27:42 +0000 (09:27 +0200)]
Cleaned project references and MANIFEST.mf Bundle-Vendor entries

4 years agoReorganized location of .json components
Fabian Stemmler [Mon, 24 Jun 2019 15:46:14 +0000 (17:46 +0200)]
Reorganized location of .json components

4 years agoMerge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim...
Fabian Stemmler [Mon, 24 Jun 2019 14:25:25 +0000 (16:25 +0200)]
Merge branch 'development' of https://gitlab.lrz.de/lrr-tum/students/eragp-misim-2019.git into development

4 years agoEquivalent inner components now exchangeable. Fixed in/output pin order.
Fabian Stemmler [Mon, 24 Jun 2019 14:22:20 +0000 (16:22 +0200)]
Equivalent inner components now exchangeable. Fixed in/output pin order.

1. Previously, the creation of the inner components of a custom
component was fixated in the file, even though the same inner component
could either be described by a class, or a file. mapping.json now
dictates, which one to use.
2. Added the .json versions of all currently available
SubmodelComponents
3. Since pins are no longer addressed by index, but rather by name,
rectangular custom components were created with a more or less random
pin order, were inputs and outputs were mixed. This issue was fixed.

4 years agoCleaned up:
Daniel Kirschten [Sun, 23 Jun 2019 22:35:16 +0000 (00:35 +0200)]
Cleaned up:

-Empty but required folders now are being tracked via .gitkeep files
-Cleaned build.properties files
-Moved test source build output folders to bin/test
-Removed duplicate ClickableSubmodelComponentsTest
-Removed source folders from .classpath in projects that don't need /
have source folders

4 years agoAdded logo
Christian Femers [Sun, 23 Jun 2019 18:37:16 +0000 (20:37 +0200)]
Added logo

4 years agoCopyright notice added
Christian Femers [Sun, 23 Jun 2019 17:38:05 +0000 (19:38 +0200)]
Copyright notice added

4 years agoUpdate LICENSE to EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
Christian Femers [Sun, 23 Jun 2019 17:35:27 +0000 (19:35 +0200)]
Update LICENSE to EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

4 years agoCompletely changed the structure and switched to Eclipse Plugin.
Christian Femers [Sun, 23 Jun 2019 17:29:10 +0000 (19:29 +0200)]
Completely changed the structure and switched to Eclipse Plugin.

4 years agoCommented GUIWire
Daniel Kirschten [Sat, 22 Jun 2019 13:16:04 +0000 (15:16 +0200)]
Commented GUIWire

4 years agoCorrected documentation of wireCreated() and wireDestroyed()
Daniel Kirschten [Sat, 22 Jun 2019 13:07:57 +0000 (15:07 +0200)]
Corrected documentation of wireCreated() and wireDestroyed()

4 years agoViewLogicModelAdapter no longer forces all GUIComponents to be loaded
Daniel Kirschten [Sat, 22 Jun 2019 12:40:25 +0000 (14:40 +0200)]
ViewLogicModelAdapter no longer forces all GUIComponents to be loaded

4 years agoCommented SubmodelComponent
Daniel Kirschten [Sat, 22 Jun 2019 08:58:33 +0000 (10:58 +0200)]
Commented SubmodelComponent

4 years agoChanged SubmodelComponent.addSubmodelInterface() interface
Daniel Kirschten [Sat, 22 Jun 2019 08:56:46 +0000 (10:56 +0200)]
Changed SubmodelComponent.addSubmodelInterface() interface

4 years agoChanged interface of GUIComponent.getPins()
Daniel Kirschten [Sat, 22 Jun 2019 08:43:15 +0000 (10:43 +0200)]
Changed interface of GUIComponent.getPins()

4 years agoImproved comments of GUIComponent
Daniel Kirschten [Sat, 22 Jun 2019 08:34:04 +0000 (10:34 +0200)]
Improved comments of GUIComponent

4 years agoAdded a check in addPin()
Daniel Kirschten [Sat, 22 Jun 2019 08:31:11 +0000 (10:31 +0200)]
Added a check in addPin()

4 years agoCommented GUIComponent
Daniel Kirschten [Sat, 22 Jun 2019 08:15:05 +0000 (10:15 +0200)]
Commented GUIComponent

4 years agoStopped creation of unneccessary Rectangle instances
Daniel Kirschten [Sat, 22 Jun 2019 07:48:03 +0000 (09:48 +0200)]
Stopped creation of unneccessary Rectangle instances

4 years agoImplemented SubmodelComponent.clicked(); removed obsolete TODOs
Daniel Kirschten [Sat, 22 Jun 2019 07:33:50 +0000 (09:33 +0200)]
Implemented SubmodelComponent.clicked(); removed obsolete TODOs

4 years agoRemoved obsolete AtomicAm2901NANDBased
Daniel Kirschten [Fri, 21 Jun 2019 22:15:17 +0000 (00:15 +0200)]
Removed obsolete AtomicAm2901NANDBased

4 years agoFinished GUIAm2901
Daniel Kirschten [Fri, 21 Jun 2019 21:55:07 +0000 (23:55 +0200)]
Finished GUIAm2901

4 years agoMade Wire.fuse(Wire, Wire, int, int int) public
Daniel Kirschten [Fri, 21 Jun 2019 21:33:37 +0000 (23:33 +0200)]
Made  Wire.fuse(Wire, Wire, int, int int) public

4 years agoFusing Wires will no longer initialize Wires with value U
Fabian Stemmler [Fri, 21 Jun 2019 17:27:50 +0000 (19:27 +0200)]
Fusing Wires will no longer initialize Wires with value U

4 years agoFixed a bug in GUIAm2901
Daniel Kirschten [Fri, 21 Jun 2019 14:42:22 +0000 (16:42 +0200)]
Fixed a bug in GUIAm2901

4 years agoImplemented functional GUIAm2901 without layout
Daniel Kirschten [Fri, 21 Jun 2019 14:01:11 +0000 (16:01 +0200)]
Implemented functional GUIAm2901 without layout

4 years agoMade GUIComponent.getPin(String) fail-fast
Daniel Kirschten [Fri, 21 Jun 2019 14:00:48 +0000 (16:00 +0200)]
Made GUIComponent.getPin(String) fail-fast

4 years agoQuickfix for Wire.fuse(...)
Fabian Stemmler [Fri, 21 Jun 2019 13:02:41 +0000 (15:02 +0200)]
Quickfix for Wire.fuse(...)

The fusion of Wires caused an exception upon updating Wire values, if
one of the fused Wires had no inputs, other than the Wire it was fused
with.

The Connector Component still has this issue.

4 years agoUpdated GUIAm2901ALUInclDecode
Daniel Kirschten [Fri, 21 Jun 2019 12:42:04 +0000 (14:42 +0200)]
Updated GUIAm2901ALUInclDecode

4 years agoUpdated GUIAm2901ALUFuncDecode
Daniel Kirschten [Fri, 21 Jun 2019 12:24:17 +0000 (14:24 +0200)]
Updated GUIAm2901ALUFuncDecode