You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2c2be03
Browse filesBrowse the repository at this point in the historyBrowse files
Release 1.1.4: canvas view zoom, tab close prompts, maintenance
Diagram canvas scales with platform shortcuts (⌘/Ctrl + and −); mouse-wheel
block resize and its setting are removed. Closing a dirty tab offers save,
discard, or cancel, with unsaved state on the tab header. Legacy commented-out
code is trimmed. Version bumps for Maven, macOS packaging scripts, README,
and release-notes/v1.1.4.md. Ignore local VisuStruct-swift/ clone in .gitignore.
Co-authored-by: Cursor <cursoragent@cursor.com>
-**Diagram:** canvas **view zoom** with **⌘+ / ⌘−** (macOS) or **Ctrl+ / Ctrl−** (Windows/Linux); **no** block resize via mouse wheel anymore.
28
+
-**Tabs:** prompt to **save / discard / cancel** when closing a diagram with unsaved changes; dirty state shown in the tab header (not as `*` in the title).
29
+
-**Code:** removed long blocks of commented-out legacy code (especially `Struktogramm`, `StrTabbedPane`, `XMLLeser`, palette/trash setup) for easier maintenance.
30
+
31
+
Full notes: [`release-notes/v1.1.4.md`](release-notes/v1.1.4.md).
32
+
25
33
## Changes in 1.1.3 (summary)
26
34
27
35
-**Tabs:** close tabs via middle-click, context menu, and **Ctrl+W** / **Cmd+W**; clicking the tab header switches diagrams reliably (close “×” is a label, not a button).
@@ -119,7 +127,7 @@ This release aligns **branding and technical identity** with **VisuStruct**. **`
119
127
-**Java 17** target (build and run with JDK 17+).
120
128
-**FlatLaf** light/dark themes; **JDOM2**; no legacy AppleJavaExtensions.
121
129
-**Motif** look-and-feel removed; **Metal** and FlatLaf available.
122
-
- Current fat JAR name follows **`pom.xml`****`version`** (e.g. **`visustruct-1.1.3.jar`**).
130
+
- Current fat JAR name follows **`pom.xml`****`version`** (e.g. **`visustruct-1.1.4.jar`**).
123
131
124
132
---
125
133
@@ -194,13 +202,13 @@ chmod +x mvnw
194
202
Output (version from `pom.xml`):
195
203
196
204
```text
197
-
target/visustruct-1.1.3.jar
205
+
target/visustruct-1.1.4.jar
198
206
```
199
207
200
208
## Run
201
209
202
210
```bash
203
-
java -jar target/visustruct-1.1.3.jar
211
+
java -jar target/visustruct-1.1.4.jar
204
212
```
205
213
206
214
Double-click may work if `.jar` is associated with Java.
-**View zoom** for the diagram: **⌘+ / ⌘−** on macOS, **Strg+ / Strg−** on Windows/Linux (root-pane shortcuts). The logical block layout is unchanged; only the on-screen scale changes.
8
+
-**Removed:** resizing blocks with the **mouse wheel** (and the related setting / menu entry / persisted option).
9
+
10
+
## Tabs
11
+
12
+
-**Unsaved changes:** closing a tab (×, middle-click, context menu, or **Diagramm schließen**) asks to **save**, **discard**, or **cancel** when the diagram is dirty.
13
+
-**Dirty indicator** is shown on the tab chrome (no `*` suffix in the title text).
14
+
15
+
## Code maintenance
16
+
17
+
- Removed large sections of **commented-out legacy code** (obsolete helpers, unused fields, dead branches) in **`Struktogramm`**, **`StrTabbedPane`**, **`AuswahlPanel`**, **`Fallauswahl`**, **`StruktogrammElementListe`**, **`XMLLeser`**, and related classes to reduce noise and merge conflicts.
@@ -209,8 +208,13 @@ public void speichern(boolean neuenSpeicherpfadAuswaehlenLassen){
209
208
210
209
if(str != null){
211
210
GlobalSettings.setzeSpeicherpfad(str.speichern(neuenSpeicherpfadAuswaehlenLassen,GlobalSettings.getZuletztGenutzterSpeicherpfad()));//Struktogramm wird gespeichert (zuletztGenutzterSpeicherpfad wird dabei übergeben, damit der JFileChooser, sofern er genutzt wird, dort startet) und der neue Speicherpfad wird gesichert
0 commit comments