| |
Testicle Account closed
Registered: Sep 2002 Posts: 131 |
Release id #130676 : Relaunch64 V3.0
10 years after... (or almost 11)!
Finally, Relaunch64, a C64/65xx cross-development IDE for Windows, Linux and OS X is released!
See Relaunch64 V3.0 for more information. Please use this thread for feedback, which is very appreciated!
Best
Daniel |
|
| |
soci
Registered: Sep 2003 Posts: 481 |
Some bugs:
- errors in other files are wrongly assigned to the edited one. (think .include)
- impossible to press ctrl+# (comment lines) or I'm do it wrong
- if I search for something (^F), then edit, then search next (F3) it still finds removed texts and does not find added ones. I also get some exceptions because of this:
Caused by: java.lang.IllegalArgumentException: bad position: 15
at javax.swing.text.JTextComponent.moveCaretPosition(JTextComponent.java:1551)
at de.relaunch64.popelganda.FindReplace.findNext(FindReplace.java:160)
at de.relaunch64.popelganda.Relaunch64View.findNext(Relaunch64View.java:1394)
Some feature requests for the next version:
- automatic jump to error on compile
- scroll log to error message when jumping previous/next (especially when it's configured to be a narrow strip at the bottom)
- open and jump to errors to other files
- history of previous search terms in a drop down
- any option to hide the "Compile and Run" pane completely?
- I like regexps, but not everyone might. Option for plain search? (just escape all special characters internally)
- if there's a plain search option, don't forget that there's a need for a case insensitivity variety, as "(?i)" will not work. |
| |
Testicle Account closed
Registered: Sep 2002 Posts: 131 |
Thanks four your feedback!
> - if I search for something (^F), then edit, then search next (F3) it still finds removed texts and does not find added ones. I also get some exceptions because of this...
Should be fixed now.
> - automatic jump to error on compile
Done.
> - any option to hide the "Compile and Run" pane completely?
You can click on the small arrows on the divider to expand/collapse split areas.
> - I like regexps, but not everyone might. Option for plain search? (just escape all special characters internally)
Regex is only used when the search term is recognized as regular expression. since some compilers support script languages with chars that need to be escaped, search terms may unintended be considered as regex - that's true! I'll add a check box where you can decide whether search is regex or plain.
I'll go into the other issues as well. |
| |
Testicle Account closed
Registered: Sep 2002 Posts: 131 |
Quoting soci- open and jump to errors to other files
what is the log-output from 64tass when errors in other files are found? |
| |
soci
Registered: Sep 2003 Posts: 481 |
It looks like this when I include "c.asm" in "b.asm" both in subdirectory "dir" from "a.asm" (a->b->c):
In file included from dir/b.asm:1:3,
a.asm:2:2:
dir/c.asm:2:7: error: not defined 'i'
lda i
^
dir/c.asm:2:7: note: searched in the global scope
The filename part (before the colon) contains the filename where the error happened. (Messages)
Some people might use backslash for dir separator, even if this is non-portable. Forward slash works everywhere (windows too).
Include paths are relative from the parent file where it's included from (therefore can include things like ".."), unless someone used an absolute path (but why?). |
| |
Testicle Account closed
Registered: Sep 2002 Posts: 131 |
I've uploaded a development-snapshot from version 3.0.1
https://sourceforge.net/projects/relaunch64/files/3.0.1-devel/
changelog included in download folder and automatically displayed by SourceForge.
Would be great if someone finds the time to test the new functions...
Daniel |
| |
soci
Registered: Sep 2003 Posts: 481 |
Quick test:
- find next still has problems with edits. Sometimes it works ;)
- I almost wrote a bug report for replacing some text and skipping some other. But then I found out how it works, so I only mention that it was not all that intuitive ;)
- shorter than 3 character labels do not show up in label list for acme/64tass. Kick assembler labels must be at least 2 characters. Also jump to label does not function for these short labels.
- errors from included files are still assigned to the current file, even if I have the file with the error already open. Tried all assemblers, same problem. Here's an output from Kick:
parsing
flex pass 1
lda i
^
Error: Unknown symbol 'i'
at line 2, column 5 in /tmp/b.asm
called at line 4, column 1 in /tmp/a.asm
I'm standing in a.asm and it does not switch to b.asm, instead it just jumps to line 2. |
| |
Testicle Account closed
Registered: Sep 2002 Posts: 131 |
Yes, I just saw that there is a bug when you have absolute file paths of include files in the error log. I already fixed that bug. I'll look at the other issues. Thanks for feedback! |
| |
Testicle Account closed
Registered: Sep 2002 Posts: 131 |
I fixed some bugs and added ca65-support, however not fully implemented yet. Is someone using ca65 and could help me with the error log? What message is logged when ca65 has compiling errors?
Latest devel-build under https://sourceforge.net/projects/relaunch64/files/3.0.1-devel/ |
| |
soci
Registered: Sep 2003 Posts: 481 |
Format (same for warning):
fprintf (stderr, "%s(%lu): Error: %s\n",
SB_GetConstBuf (GetFileName (Pos->Name)),
Pos->Line,
SB_GetConstBuf (&S));
Examples:
b.asm(6): Warning: No reference to unnamed label
b.asm(2): Error: Symbol `i' is undefined
|
| |
Testicle Account closed
Registered: Sep 2002 Posts: 131 |
And do you (or anybody else) also know the output-style of DreamAss' error-log? |
| |
Testicle Account closed
Registered: Sep 2002 Posts: 131 |
New devel-build online:
https://sourceforge.net/projects/relaunch64/files/3.0.1-devel/
Changes to version 3.0.0
New features
========
added support for CA65
added support for DreamAss
goto prev/next error also searches inside included files (even not opened files, which will be opened then)
goto error now scrolls the log to the related line with error description
auto-completion for functions, macros and scripting commands (Kick Assembler, 64tass, DreamAss) (press ctrl+shift+space while typing)
automatic goto error line when compiling errors occur
last 15 recently used find terms will be stored per session
added quick references (menu view)
added regular expression checkbox to find-command, to explicitly en-/disable search for regular expressions
added checkboxes for whole-word and match-case search
added syntax highlighting for scripting commands (Kick Assembler, 64tass)
added SOURCEDIR as additional place holder in user scripts
added new syntax highlighting color schemes
more file extensions are now accepted on drag'n'drop
slight modification of C64 scheme
Bug fixes
========
bug fix with "Jump to label" function with Kick Assembler
bug fix with "Find next" when content was changed
bug fix with "Replace" function
changed auto-completion feature, which did not work with labels with less than 3 chars, and now works for labels with at least 1 char
Any testing, especially of highlight/auto-completion feature appreciated! :-) |
| |
soci
Registered: Sep 2003 Posts: 481 |
I've found why the empty line height is different from the normal one, and why the line numbers are cut off when aligned to the right. It's because the default font size is not set. Here's a quick hard coded hack:
diff --git a/src/de/relaunch64/popelganda/Editor/EditorPanes.java b/src/de/relaunch64/popelganda/Editor/EditorPanes.java
index 32bf661..b537e9e 100644
--- a/src/de/relaunch64/popelganda/Editor/EditorPanes.java
+++ b/src/de/relaunch64/popelganda/Editor/EditorPanes.java
@@ -72,6 +72,7 @@ import javax.swing.event.DocumentEvent;
import javax.swing.event.DocumentListener;
import javax.swing.text.BadLocationException;
import javax.swing.text.Element;
+import java.awt.Font;
/**
*
@@ -407,6 +408,7 @@ public class EditorPanes {
setCursor(editorPane);
// select tab
tabbedPane.setSelectedIndex(tabbedPane.getTabCount()-1);
+ editorPane.setFont(new Font("somefontname", 0, 24));
// return current count
return editorPaneArray.size();
}
This should normally matched up with the font name and size used for syntax highlighting. So it's a bit more work than the above. |