Log inRegister an accountBrowse CSDbHelp & documentationFacts & StatisticsThe forumsAvailable RSS-feeds on CSDbSupport CSDb Commodore 64 Scene Database
You are not logged in - nap
CSDb User Forums


Forums > CSDb Entries > Release id #130676 : Relaunch64 V3.0
2014-05-08 21:10
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
2014-05-10 05:43
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.
2014-05-10 08:58
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.
2014-05-10 11:46
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?
2014-05-10 21:04
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?).
2014-05-12 12:39
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
2014-05-12 19:15
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.
2014-05-12 19:57
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!
2014-05-13 17:26
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/
2014-05-13 17:55
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
2014-05-15 07:20
Testicle
Account closed

Registered: Sep 2002
Posts: 131
And do you (or anybody else) also know the output-style of DreamAss' error-log?
2014-05-15 19:15
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! :-)
2014-05-18 07:55
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.
RefreshSubscribe to this thread:

You need to be logged in to post in the forum.

Search the forum:
Search   for   in  
All times are CET.
Search CSDb
Advanced
Users Online
HBH.ZTH/Abnormal
GI-Joe/MYD!
E$G/HF ⭐ 7
iceout/Avatar/HF
Guests online: 97
Top Demos
1 Next Level  (9.7)
2 13:37  (9.7)
3 Mojo  (9.7)
4 Coma Light 13  (9.6)
5 The Demo Coder  (9.6)
6 Edge of Disgrace  (9.6)
7 What Is The Matrix 2  (9.6)
8 Uncensored  (9.6)
9 Comaland 100%  (9.6)
10 Wonderland XIV  (9.6)
Top onefile Demos
1 Layers  (9.6)
2 Cubic Dream  (9.6)
3 Party Elk 2  (9.6)
4 X-Mas Demo 2024  (9.6)
5 Copper Booze  (9.6)
6 Dawnfall V1.1  (9.5)
7 Rainbow Connection  (9.5)
8 Onscreen 5k  (9.5)
9 Morph  (9.5)
10 Libertongo  (9.5)
Top Groups
1 Booze Design  (9.3)
2 Oxyron  (9.3)
3 Performers  (9.3)
4 Triad  (9.3)
5 Censor Design  (9.3)
Top Musicians
1 Rob Hubbard  (9.7)
2 Mutetus  (9.7)
3 Jeroen Tel  (9.7)
4 Linus  (9.6)
5 Stinsen  (9.6)

Home - Disclaimer
Copyright © No Name 2001-2024
Page generated in: 0.059 sec.