@@ -4,35 +4,61 @@ This file lists modifications introduced by each version.
44
55## [ Unreleased]
66
7+ * Empty
8+
9+ ## [ 1.2.0] - 2020/02/12
10+
11+ ### ClockManager class modifications
12+
13+ ** Bug fixes in ClockManager:**
14+
15+ [[ issue 86]] [ issue: #86 ]
16+
17+ * The modification of the ` ClockManager ` 's internal time value (the one actually used by the ` Topology ` ) now coincides
18+ with the ticking of the ` Clock `
19+
20+ Now, the clock is first incremented and then the ` Scheduler ` is called.
21+ It was previously swapped, resulting in some user interactions happening before the call to the ` Scheduler ` (and thus
22+ the ` MessageEngine ` and all ` Node.onClock() ` ).
23+ Everything is now properly synchronized.
24+
25+ ** Symbol modification in ClockManager**
26+
27+ * ` ClockManager.currentTime() ` now returns an ` int ` instead of an ` Integer `
28+
29+ This value could never be ` null ` . The return value being an object was a remnant of previous versions.
30+
31+ [ issue: #86 ] : https://github.com/jbotsim/JBotSim/issues/86
32+
733### MessageEngine modifications
834
935[[ issue 85]] [ issue: #85 ] [[ issue 83]] [ issue: #83 ]
1036
1137Some changes have been applied in an effort to simplify, clarify and speed-up the * message engine* system.
1238
1339* ` MessageEngine ` is now an interface
14- * A ` reset() ` method has been added.
15- * It does not handle delays anymore.
40+ * A ` reset() ` method has been added
41+ * It does not handle delays anymore
1642
1743
18- * The former ` MessageEngine ` has been renamed to ` DefaultMessageEngine ` .
44+ * The former ` MessageEngine ` has been renamed to ` DefaultMessageEngine `
1945
2046 ` io.jbotsim.core.MessageEngine ` -> ` io.jbotsim.core.DefaultMessageEngine `
2147
2248 * It does not handle delays (see ` DelayMessageEngine ` )
2349 * It speeds-up former check on link existence
2450
25- * A specific ` DelayMessageEngine ` has been re-created in ` jbotsim-core ` /` io.jbotsim.core ` .
51+ * A specific ` DelayMessageEngine ` has been re-created in ` jbotsim-core ` /` io.jbotsim.core `
2652
27- * It handles instantaneous delays better than the former ` MessageEngine ` used to.
28- * It also handles general delays better than the former ` MessageEngine ` used to.
29- * A new ` DelayMessageEngine.disableLinksContinuityChecks() ` method has been added.
53+ * It handles instantaneous delays better than the former ` MessageEngine ` used to
54+ * It also handles general delays better than the former ` MessageEngine ` used to
55+ * A new ` DelayMessageEngine.disableLinksContinuityChecks() ` method has been added
3056
3157 This method prevents the system from checking the existence of the link each step while it is delayed.
3258 The check still remains at the end of the sending round and before the delivery round.
3359 This speeds message processing up when you send a lot of delayed messages in a static environment.
3460 * ` AsyncMessageEngine ` and ` RandomMessageEngine ` implementations have been modified to benefit from the new
35- ` DelayMessageEngine ` capabilities.
61+ ` DelayMessageEngine ` capabilities
3662
3763 * ` RandomMessageEngine ` has been renamed into ` RandomDelayMessageEngine `
3864
@@ -46,6 +72,15 @@ If you used to inherit from `MessageEngine`, you have several options:
4672* inherit from ` DelayMessageEngine ` (has delay feature)
4773* actually implement the ` MessageEngine ` interface
4874
75+ ### Topology class modifications
76+
77+ ** Bug fixes in Topology:**
78+
79+ * ` Topology.restart() ` and ` Topology.clearMessages() ` now properly remove delayed messages [[ issue 83]] [ issue: #83 ]
80+
81+ This is delegated to the new ` MessageEngine.reset() ` method.
82+
83+ [ issue: #83 ] : https://github.com/jbotsim/JBotSim/issues/83
4984
5085### Node class modifications
5186
@@ -66,49 +101,6 @@ If you used to inherit from `MessageEngine`, you have several options:
66101
67102[ issue: #85 ] : https://github.com/jbotsim/JBotSim/issues/85
68103
69- ### ClockManager class modifications
70-
71- ** Bug fixes in ClockManager:**
72-
73- [[ issue 86]] [ issue: #86 ]
74-
75- * The modification of the ` ClockManager ` 's internal time value (the one actually used by the ` Topology ` ) now coincides
76- with the ticking of the ` Clock ` .
77-
78- Now, the clock is first incremented and then the ` Scheduler ` is called.
79- It was previously swapped, resulting in some user interactions happening before the call to the ` Scheduler ` (and thus
80- the ` MessageEngine ` and all ` Node.onClock() ` ).
81- Everything is now properly synchronized.
82-
83- ** Symbol modification in ClockManager**
84-
85- * ` ClockManager.currentTime() ` now returns an ` int ` instead of an ` Integer `
86-
87- This value could never be ` null ` . The return value being an object was a remnant of previous versions.
88-
89- [ issue: #86 ] : https://github.com/jbotsim/JBotSim/issues/86
90-
91- ### New icon in the jbotsim-icons module
92-
93- ` jbotsim-icons ` /` io.jbotsim.ui.icons `
94-
95- * A fully transparent new icon has been added [[ issue 84]] [ issue: #84 ]
96- * ` jbotsim-icons ` /` io/jbotsim/ui/icons/transparent.png `
97-
98- As usual, it's path can be accessed using the corresponding constant ` Icons.TRANSPARENT ` .
99-
100- [ issue: #84 ] : https://github.com/jbotsim/JBotSim/issues/84
101-
102- ### Topology class modifications
103-
104- ** Bug fixes in Topology:**
105-
106- * ` Topology.restart() ` and ` Topology.clearMessages() ` now properly remove delayed messages [[ issue 83]] [ issue: #83 ]
107-
108- This is delegated to the new ` MessageEngine.reset() ` method.
109-
110- [ issue: #83 ] : https://github.com/jbotsim/JBotSim/issues/83
111-
112104### TikzTopologySerializer class modifications
113105
114106[[ issue 80]] [ issue: #80 ]
@@ -120,7 +112,7 @@ If you used to inherit from `MessageEngine`, you have several options:
120112 Directed links are properly exported (using ` "->" ` option).
121113 This supposes that ` Topology.getOrientation() ` returns ` DIRECTED ` .
122114* TikZ colors are now better supported
123- * The previous * scale* parameter is now a proper scale factor.
115+ * The previous * scale* parameter is now a proper scale factor
124116
125117 Its previous default value was ` 50 ` . It is now ` 1/50. ` , resulting in the same default value.
126118
@@ -144,6 +136,17 @@ If you used to inherit from `MessageEngine`, you have several options:
144136
145137[ issue: #80 ] : https://github.com/jbotsim/JBotSim/issues/80
146138
139+ ### New icon in the jbotsim-icons module
140+
141+ ` jbotsim-icons ` /` io.jbotsim.ui.icons `
142+
143+ * A fully transparent new icon has been added [[ issue 84]] [ issue: #84 ]
144+ * ` jbotsim-icons ` /` io/jbotsim/ui/icons/transparent.png `
145+
146+ As usual, it's path can be accessed using the corresponding constant ` Icons.TRANSPARENT ` .
147+
148+ [ issue: #84 ] : https://github.com/jbotsim/JBotSim/issues/84
149+
147150### JNode class modifications
148151
149152[[ issue 77]] [ issue: #77 ]
@@ -152,7 +155,7 @@ If you used to inherit from `MessageEngine`, you have several options:
152155
153156* The wired ` Link ` created between two nodes using the Swing UI (start a right click on the first and drag to the second
154157before releasing the button) now takes ` Topology.getOrientation() ` into account instead of always creating undirected
155- links.
158+ links
156159
157160[ issue: #77 ] : https://github.com/jbotsim/JBotSim/issues/77
158161
@@ -957,7 +960,8 @@ have executed their onStart() method before that, you may simply call start()
957960on your topology immediately followed by a call to pause().
958961(Eventually we will provide an atomic call to this effect.)
959962
960- [ Unreleased ] : https://github.com/jbotsim/JBotSim/compare/v1.1.1...develop
963+ [ Unreleased ] : https://github.com/jbotsim/JBotSim/compare/v1.2.0...develop
964+ [ 1.2.0 ] : https://github.com/jbotsim/JBotSim/compare/v1.1.1...v1.2.0
961965[ 1.1.1 ] : https://github.com/jbotsim/JBotSim/compare/v1.1.0...v1.1.1
962966[ 1.1.0 ] : https://github.com/jbotsim/JBotSim/compare/v1.0.0...v1.1.0
963967[ 1.0.0 ] : https://github.com/jbotsim/JBotSim/compare/v1.0.0-beta03...v1.0.0
0 commit comments