RomRaider Logo

RomRaider

Open Source ECU Tools
 FAQ •  Register •  Login 

RomRaider

Documentation

Community

Developers

It is currently Tue Dec 23, 2025 2:13 pm

All times are UTC - 5 hours [ DST ]





Post new topic Reply to topic  [ 57 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
 Post subject: Re: Random Stuff To Fix
PostPosted: Wed May 02, 2012 1:11 pm 
Offline
Experienced
User avatar

Joined: Thu Apr 19, 2012 3:44 am
Posts: 385
No, I don't. I just don't like depending on something that isn't maintained as a general matter of principal.

I've fixed the internal class warnings in my copy, so please don't do that. It would just mean bloating the repo more by committing yet another jar.

The JNA jar additions have to be done to get your adios jinvoke commit working on ant, but it should be kept to a minimum. No need to do the xerces thing at the moment, it'll get taken care of in due course.

Fred.

_________________
The type of scooby that I most enjoy!


Top
 Profile  
 
 Post subject: Re: Random Stuff To Fix
PostPosted: Wed May 02, 2012 3:44 pm 
Offline
Experienced
User avatar

Joined: Thu Apr 19, 2012 3:44 am
Posts: 385
Is this my fault, or an existing fault? I can't see how it's possible that it's my fault, however anything's possible :-) I'll fix it post migration to maven if it's not my fault.

Code:
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: com.romraider.swing.CategoryTreeNode cannot be cast to com.romraider.swing.TableTreeNode
   at com.romraider.swing.RomTree.showHideTable(RomTree.java:74)
   at com.romraider.swing.RomTree.mouseClicked(RomTree.java:54)
   at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
   at java.awt.Component.processMouseEvent(Component.java:6291)
   at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
   at java.awt.Component.processEvent(Component.java:6053)
   at java.awt.Container.processEvent(Container.java:2041)
   at java.awt.Component.dispatchEventImpl(Component.java:4651)
   at java.awt.Container.dispatchEventImpl(Container.java:2099)
   at java.awt.Component.dispatchEvent(Component.java:4481)
   at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
   at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4247)
   at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
   at java.awt.Container.dispatchEventImpl(Container.java:2085)
   at java.awt.Window.dispatchEventImpl(Window.java:2478)
   at java.awt.Component.dispatchEvent(Component.java:4481)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
   at java.awt.EventQueue.access$000(EventQueue.java:84)
   at java.awt.EventQueue$1.run(EventQueue.java:602)
   at java.awt.EventQueue$1.run(EventQueue.java:600)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
   at java.awt.EventQueue$2.run(EventQueue.java:616)
   at java.awt.EventQueue$2.run(EventQueue.java:614)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

_________________
The type of scooby that I most enjoy!


Top
 Profile  
 
 Post subject: Re: Random Stuff To Fix
PostPosted: Wed May 02, 2012 3:53 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
Are you attempting to run from the build environment or from a built installation, i.e. the ZIP file.


Top
 Profile  
 
 Post subject: Re: Random Stuff To Fix
PostPosted: Wed May 02, 2012 4:07 pm 
Offline
Experienced
User avatar

Joined: Thu Apr 19, 2012 3:44 am
Posts: 385
What zip file? I'm running it in a way that it's never been run before as a giant 15 meg single jar built by maven. I'm aiming to keep a minimal amount of libs sitting around on disk. Just whatever feels the need to extract it's own binary libs to random places.

Fred.

_________________
The type of scooby that I most enjoy!


Top
 Profile  
 
 Post subject: Re: Random Stuff To Fix
PostPosted: Wed May 02, 2012 4:40 pm 
Offline
Experienced
User avatar

Joined: Thu Apr 19, 2012 3:44 am
Posts: 385
Whilst the load is taking place the app is unresponsive to resizes/moves, however it remembers them and they come back in force once the load is complete! :-o Some threading wouldn't go astray here.

_________________
The type of scooby that I most enjoy!


Top
 Profile  
 
 Post subject: Re: Random Stuff To Fix
PostPosted: Wed May 02, 2012 5:17 pm 
Offline
Experienced
User avatar

Joined: Thu Apr 19, 2012 3:44 am
Posts: 385
Could be wrong with this one, but the axis positions of the tables needs to be configurable such that they can look normal to the other half of the tuning world. I know the ROM guys traditionally use top/left, but the live guys typically use bottom/left much like most charts you find on paper. Way way not important right now, but a check box for top/bottom and another for left/right would be nice to have, esp if persisted in the user's settings. If it's already configurable, great :-) If not, I can take care of that later.

_________________
The type of scooby that I most enjoy!


Top
 Profile  
 
 Post subject: Re: Random Stuff To Fix
PostPosted: Wed May 02, 2012 5:39 pm 
Offline
Experienced
User avatar

Joined: Thu Apr 19, 2012 3:44 am
Posts: 385
No internationalisation is possible due to hard coded strings everywhere :-) later...

_________________
The type of scooby that I most enjoy!


Top
 Profile  
 
 Post subject: Re: Random Stuff To Fix
PostPosted: Wed May 02, 2012 5:45 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
Fearless wrote:
No internationalization is possible due to hard coded strings everywhere :-) later...

There's is some... log files are written in the users regional format.
But as far as titles/labels, etc, etc, that's a big TODO.


Top
 Profile  
 
 Post subject: Re: Random Stuff To Fix
PostPosted: Sun May 13, 2012 5:28 pm 
Offline
Experienced
User avatar

Joined: Thu Apr 19, 2012 3:44 am
Posts: 385
Dale, I checked out a clean copy of romraider in eclipse and built it using ant in ecliipse and it removed about 75 errors leaving just this one:

Code:
The declared package "com.romraider" does not match the expected package "main.java.com.romraider"   /romraider/src/main/java/com/romraider   Version.java   line 22   Java Problem

The file, location of the file, and package decl look correct. Seen it before? Solution? Seems strange, but it's late, so I'm likely missing something.

Fred.

_________________
The type of scooby that I most enjoy!


Top
 Profile  
 
 Post subject: Re: Random Stuff To Fix
PostPosted: Sun May 13, 2012 11:34 pm 
Offline
RomRaider Developer

Joined: Wed May 20, 2009 9:49 pm
Posts: 7314
Location: Canada eh!
Under what directory are the source files found?
It's complaining about the com.romraider package declaration in Version.java. It should be located in:
<path_to_repo>\RomRaider\src\com\romraider

But the error states "main.java.com.romraider"
with a path of:
/romraider/src/main/java/com/romraider

BTW: Version.java is built from the template file in that dir at build time. Where is /main/java/ coming from? There's no such dir structure.


Top
 Profile  
 
 Post subject: Re: Random Stuff To Fix
PostPosted: Mon May 14, 2012 9:59 am 
Offline
Experienced
User avatar

Joined: Thu Apr 19, 2012 3:44 am
Posts: 385
Apologies! I thought that I had a clean directory, but I didn't. My mistake, ignore my previous post. Sorry to waste your time :-(

_________________
The type of scooby that I most enjoy!


Top
 Profile  
 
 Post subject: Re: Random Stuff To Fix
PostPosted: Wed May 16, 2012 12:48 pm 
Offline
Experienced
User avatar

Joined: Thu Apr 19, 2012 3:44 am
Posts: 385
Something more for the list, plucked from another thread:

dschultz wrote:
BTW: RR only saves its settings upon a clean Exit. There is no "save settings" function.

_________________
The type of scooby that I most enjoy!


Top
 Profile  
 
 Post subject: Re: Random Stuff To Fix
PostPosted: Sat May 19, 2012 5:11 pm 
Offline
Experienced
User avatar

Joined: Thu Apr 19, 2012 3:44 am
Posts: 385
2d tables with LOTS of values, VERY poor handling. I found one in a ROM with 54 cells width and 1 depth + axis. I assume subaru don't do any lookup tables? Lookup tables are usally ADC bit depth long with no axis, eg 1024 16 bit values. for 10 bit ADC with 16 bit output variable. This needs a mechanism or type or something. A similar problem to the single values/settings. RR needs a way to know if something really is a table to be displayed as such, or if it's some other type.

_________________
The type of scooby that I most enjoy!


Top
 Profile  
 
 Post subject: Re: Random Stuff To Fix
PostPosted: Sat May 19, 2012 5:15 pm 
Offline
Experienced
User avatar

Joined: Thu Apr 19, 2012 3:44 am
Posts: 385
I don't know if I previously mentioned it in THIS thread or not, but the table colouring needs to be configurable to at least 2 and maybe 3 styles.

1) Current, which I despise: Scaled according to used range. Useful for some stuff like maybe cam timing?
2) Scaled to max/min possible for field type. This works for me as my fields are well chosen.
3) Scaled to max/min expected for field type. This is useful for stuff where a small range of possible is typically used, but you want deterministic and therefore meaningful colours.

Fred.

_________________
The type of scooby that I most enjoy!


Top
 Profile  
 
 Post subject: Re: Random Stuff To Fix
PostPosted: Sat May 19, 2012 5:19 pm 
Offline
Experienced
User avatar

Joined: Thu Apr 19, 2012 3:44 am
Posts: 385
It'd be really nice if the internal windows had minimise and maximise as well as close. Minimise could shrink them to a min-width title bar at the bottom or something.

Mouse wheel currently scrolls slowly sideways (not up and down?) and horizontal scroll currently does nothing. This is the same over a title bar, background or value. Value could inc/dec, title bar could "roll up".

_________________
The type of scooby that I most enjoy!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 57 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
Style based on FI Subsilver by phpBBservice.nl