Changed initial dtr/rts state, aligned to Window. This change is to (hopefully) fix the upload issues on MacOS so it doesn't require to keep the terminal open. The only "issue" now is that when the terminal window is opened, the Propeller is reset on Linux (and I guess also on MacOS), the good new is that Linux doesn't require a udev rule to prevent the reset when closing the serial port. I think this is a small issue to live with, at least for now, I'm still investigating on alternatives to restore the previous behaviour.
Some other fixes, including the few reported recently.
Other changes:
Allow SIZEOF with child object structures
Fix DAT variables hub address affecting loc and jump instructions
Fixed arguments range check with negative values
Fixed external program high cpu usage and termination check
Fixed byte/word/long function arguments expression parsing and compile
Replaced HTML parser for hover-doc display with custom implementation
Added debug keywords hover doc and code suggestion
@JonnyMac said:
Did another Save As of the main file, then got the error when closing one of the libraries that was open.
I tried to reproduce without success so far, it is possible that the error was already fixed although I don't understand why it happens on save as, so please try with the latest release 0.57.0.
java.lang.NullPointerException: Cannot invoke "com.maccasoft.propeller.model.RootNode.getComments()" because "root" is null
at com.maccasoft.propeller.spin2.Spin2TokenMarker.setRoot(Spin2TokenMarker.java:733)
at com.maccasoft.propeller.EditorTab$6$1.lambda$run$0(EditorTab.java:609)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:131)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4136)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
at com.maccasoft.propeller.SpinTools$121.run(SpinTools.java:4370)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339)
at com.maccasoft.propeller.SpinTools.main(SpinTools.java:4333)
Same situation: I did a Save As of my main file, opened one of its libraries, and when I close that library the problem occurs. I did verify that I'm running the lastest.
Suggestion: If it's not a big headache you might consider adding the version number to the title bar of any windows in the program -- this might help when people report bugs.
As a test, I tried with another large program -- same behavior; error occurs after Save As, open something, then close that something.
Fixed the issue with save as action reported by @JonnyMac (I was concentrating on the wrong path so I wasn't able to reproduce), the issue was triggered also after saving a new file and was there since ages. I think it wasn't noticed before because any change in the source "fixed" the problem internally. Also fixed an issue with the bookmarks related to this, bookmarks changes to the new saved file were also propagated to the old file.
Added the version number to the application title and fixed the root drive label on Windows that I forgot the check-in previously.
Comments
Released version 0.57.0
Bugfix release with some improvements:
Update to Eclipse SWT 4.40 (2026-06)
Added clear bookmarks menu item
Changed initial dtr/rts state, aligned to Window. This change is to (hopefully) fix the upload issues on MacOS so it doesn't require to keep the terminal open. The only "issue" now is that when the terminal window is opened, the Propeller is reset on Linux (and I guess also on MacOS), the good new is that Linux doesn't require a udev rule to prevent the reset when closing the serial port. I think this is a small issue to live with, at least for now, I'm still investigating on alternatives to restore the previous behaviour.
Some other fixes, including the few reported recently.
Other changes:
I tried to reproduce without success so far, it is possible that the error was already fixed although I don't understand why it happens on save as, so please try with the latest release 0.57.0.
It happened again with 0.57.0.
java.lang.NullPointerException: Cannot invoke "com.maccasoft.propeller.model.RootNode.getComments()" because "root" is null at com.maccasoft.propeller.spin2.Spin2TokenMarker.setRoot(Spin2TokenMarker.java:733) at com.maccasoft.propeller.EditorTab$6$1.lambda$run$0(EditorTab.java:609) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:131) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4136) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752) at com.maccasoft.propeller.SpinTools$121.run(SpinTools.java:4370) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:339) at com.maccasoft.propeller.SpinTools.main(SpinTools.java:4333)Same situation: I did a Save As of my main file, opened one of its libraries, and when I close that library the problem occurs. I did verify that I'm running the lastest.
Suggestion: If it's not a big headache you might consider adding the version number to the title bar of any windows in the program -- this might help when people report bugs.
As a test, I tried with another large program -- same behavior; error occurs after Save As, open something, then close that something.
Released version 0.57.1
Fixed the issue with save as action reported by @JonnyMac (I was concentrating on the wrong path so I wasn't able to reproduce), the issue was triggered also after saving a new file and was there since ages. I think it wasn't noticed before because any change in the source "fixed" the problem internally. Also fixed an issue with the bookmarks related to this, bookmarks changes to the new saved file were also propagated to the old file.
Added the version number to the application title and fixed the root drive label on Windows that I forgot the check-in previously.
Thank you, Marco. Seems to be fine now.