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: 473
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: 473
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: 473
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: 473
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: 473
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
cba
ΛΛdZ
Scrapper
St0rmfr0nt/Quantum
icon/The Silents, Sp..
Guests online: 117
Top Demos
1 Next Level  (9.8)
2 Mojo  (9.7)
3 Coma Light 13  (9.7)
4 Edge of Disgrace  (9.6)
5 Comaland 100%  (9.6)
6 No Bounds  (9.6)
7 Uncensored  (9.6)
8 Wonderland XIV  (9.6)
9 Memento Mori  (9.6)
10 Bromance  (9.5)
Top onefile Demos
1 It's More Fun to Com..  (9.7)
2 Party Elk 2  (9.7)
3 Cubic Dream  (9.6)
4 Copper Booze  (9.5)
5 TRSAC, Gabber & Pebe..  (9.5)
6 Rainbow Connection  (9.5)
7 Wafer Demo  (9.5)
8 Dawnfall V1.1  (9.5)
9 Quadrants  (9.5)
10 Daah, Those Acid Pil..  (9.5)
Top Groups
1 Nostalgia  (9.3)
2 Oxyron  (9.3)
3 Booze Design  (9.3)
4 Censor Design  (9.3)
5 Crest  (9.3)
Top Coders
1 Axis  (9.8)
2 Graham  (9.8)
3 Lft  (9.8)
4 Crossbow  (9.8)
5 HCL  (9.8)

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