Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 12-04-2011, 21:49   #1
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
OpenCPN Version 2.4 Beta Build 412

Ahoy OpenCPN'ers...

OpenCPN Version 2.4 Beta Build 412 will soon be available for download from opencpn.org.

Monitor the opencpn.org Downloads page to find and download the latest Beta version.....

Source is available now on sourceforge git repo.



Changelog
31. Correct cm93 quilt rendering errors when mouse dragging and clicking.
32. Improve useability of cm93offset dialog.(FS#308)
33. Ignore wgsox/y embedded offsets in cm93 database, while preserving user offset capability.(FS#393)
34. Correct vector chart rendering of soundings drawn very near screen edge. (FS#???)
35. Correct calculation and rendering of Lat/Lon grid.(FS#391)
26. Correct logic for chart database update requirement. (FS#370)
27. Correct AIS ROTIND = +/-127 target query report. (FS#388)
28. Implement improved chart quilt-patch highlighting. (FS#395) Thanks Will.
29. Improve S57 ENC behavior in Full Screen Quilting mode. (FS#397) Thanks to Will for Youtube demo.
30. Implement "esc" key for route creation end in addition to context menu "End Route". Thanks HappySeagull
31. Integrate Enhanced Tide/Current Info patch. Thanks jp. (FS#128)
32. Integrate Automatic Daily Tracking patch (FS#???) Thanks piotr
33. Integrate Version 2 of RouteManagerDialog Layers Tab. Thanks, piotr.
34. Correct off screen object move logic. (FS#347)
35. Implement AIS ATON decoding and reporting. (FS#340) Thanks piotr
36. Improve implementation of Screen Brightness (F6) function.
37. Implement "Full Screen" toggle (F10)
38. Improve Quilt logic for large scale range quilt. (FS#316)
39. Implement persistent quilting algorithm. (FS#398) Thanks Will, for the idea.
40. Implement "confirm" dialog for track delete from context menu.
41. Implement enhanced RoutePlanner function, thanks to piotr, again....
42. Accept header parameter "PR=TM" for TMerc BSB charts, as well as "PR=UTM".
43. Implement AIS Inland binary broadcast, DAC 200 FI 10, especially UN Ship Type (FS#385).
44. Correct behavior of AIS target list rangle limit spin control (FS#355)
45. Correct AIS target list sorting limits. Sorting disabled with more than 1000 targets. (FS#339)
47. Correct rendering of some vector chart features, especially isolated small rocks and depth contours. (FS#373)
48. Save and Restore "Ships Bells" state.
49. Correct symbolization of Moored and Anchored AIS targets. (FS#389)
50. Improve chart info window rollover formatting (FS#249)
50. Change Grid legend color to light grey.
51. Various language file updates.
52. Modify plugins/CMakeLists.txt to streamline plugin building. Thanks to Jean-Eudes for the idea.

Release Beta Version 2.4.412


Notes:

31. This is neat. A big thanks to JP for the programming effort. Lots of fiddly stuff required here. Applause.....

33. I'm just coming up to speed on the Layers function. Integrated as received. Feedback appreciated.

36/37. Highly platform dependent. Probably not right yet for non-Windows platforms. Fussy....

40. Suggestion from down under. Good idea. Tracks are valuable and potentially irreplacable....

47. This one will be important. You will note the enforced symbolization of Safety Depth contour (or nearest greater contour, depending on the contours available in the ENC) in all Display Categories. Also, UWTROC is always symbolized if dangerous with respect to safety depth and attributes.

51. Languages: I updated what I have received recently. I am not making a great effort to keep .po and .pot files up to date until we get a little closer to release of Version 2.5.xxxx



Good Luck
Dave
__________________

__________________
bdbcat is online now   Reply With Quote
Old 12-04-2011, 23:36   #2
Marine Service Provider

Join Date: Feb 2010
Posts: 279
Re: OpenCPN Version 2.4 Beta Build 412

Dear Dave

Thanks for the new beta Can you add a request to implement F1 help with context sensitive Help in the next beta. I can convert existing documentation to Help format The developers need to implement F1 and supply context ids for the various screen and dialog boxes It would be nice to include this in the next beta for testing. I know this is the wrong place to ask this but I do not know how to fromally ask for a feature

regards

Richard Fairman
__________________

__________________
r.fairman is offline   Reply With Quote
Old 12-04-2011, 23:48   #3
Registered User

Join Date: Mar 2010
Location: Göteborg, Sweden
Boat: Seamaster 700
Posts: 96
Send a message via Skype™ to balp
Re: OpenCPN Version 2.4 Beta Build 412

Quote:
Originally Posted by bdbcat View Post
37. Implement "Full Screen" toggle (F10)
...
36/37. Highly platform dependent. Probably not right yet for non-Windows platforms. Fussy....
Works fine in Linux Ubuntu. This funcitons I really need on my netbook, 800x480 is not much screen space.
__________________
balp is offline   Reply With Quote
Old 13-04-2011, 04:41   #4
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: OpenCPN Version 2.4 Beta Build 412

Quote:
37. Implement "Full Screen" toggle (F10)
...
36/37. Highly platform dependent. Probably not right yet for non-Windows platforms. Fussy...
Interesting...
Looking at the code (no wxFULLSCREEN_* in the style), it should work the way it does for me on Windows - just maximize the window without removing the toolbar, the border or the window caption.
For some reason it does work as expected on Linux - removes everything but the statusbar.
Made some effort to achieve the same on Win and ended up with the following code
Code:
void MyFrame::ToggleFullScreen()
{
      bool to = ! IsFullScreen();
      if (!to)
      {
            ShowFullScreen(to, wxFULLSCREEN_NOBORDER | wxFULLSCREEN_NOCAPTION | wxFULLSCREEN_NOTOOLBAR);
            m_toolBar = CreateAToolbar();
            SetToolBar((wxToolBar*)m_toolBar);
            Iconize();
            Restore();
            Raise();
      }
      else
      {
            DestroyMyToolbar();
            ShowFullScreen(to, wxFULLSCREEN_NOBORDER | wxFULLSCREEN_NOCAPTION | wxFULLSCREEN_NOTOOLBAR);
      }
}
Why destroying and recreating the toolbar? If it's not done, there is a toolbar artifact in the fullscreen mode. Don't know why.
Why that Iconize, Restore, Raise hack? After returning from fullscreen mode the toolbar was not drawn properly and the chart viewport was not resized. To be honest I have no idea why. What helps though is resizing the window - to keep the previous size, I used this "trick".

Tested on XP, 7 and Ubuntu 10.10/32-bit

Ugly is this stuff...

Pavel
__________________
nohal is offline   Reply With Quote
Old 13-04-2011, 06:24   #5
Senior Cruiser
 
sinbad7's Avatar

Cruisers Forum Supporter

Join Date: Sep 2003
Location: Ubatuba,SP,Brazil (Ex Norway)
Boat: (Ex) Alu. 60' yacht-"Eight Bells"
Posts: 2,717
Images: 57
Send a message via Skype™ to sinbad7
Re: OpenCPN Version 2.4 Beta Build 412

Dave..

Is beta 412 released or what? Can't seem to find it on opencpn.org.

Tore
__________________
"And all I ask is a tall ship and a star to steer her by."
sinbad7 is offline   Reply With Quote
Old 13-04-2011, 10:24   #6
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,248
Re: OpenCPN Version 2.4 Beta Build 412

Ububtu versions of 2.4.412 are now available.
Thomas
__________________
cagney is offline   Reply With Quote
Old 13-04-2011, 10:48   #7
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,248
Re: OpenCPN Version 2.4 Beta Build 412

Dave

Thank you very much for all the hard work, including the night watches, to launch another great beta.

Regarding full screen. I see different behavior in the two hardware setups I'm running.
Ubuntu 32 bit Atom on an Eeepc901. F10 works exactly as I like, only the chart and status bars are left, the toolbar goes. When switching "show statusbar" on/off I get a crash. Dump below.

Click image for larger version

Name:	Screenshot.png
Views:	137
Size:	37.0 KB
ID:	26113

Ubuntu 64 bit amd. First the toolbar goes, but comes back after a second. I can´t repeat the crash, described above.

Dimming with F6 doesn't work at all on either platform, but there are other methods available on Linux.

Thomas
__________________
cagney is offline   Reply With Quote
Old 13-04-2011, 12:56   #8
Registered User

Join Date: Feb 2010
Posts: 619
Re: OpenCPN Version 2.4 Beta Build 412

Thanks for hard work and amazing richness of new features! I truly look forward to using this for planning and underway soon!

Windows Vista compiles OK, but when running, crashes too often (just moving and rezooming) to even attempt at reproducing... After many restarts seems to stabilize a bit, at least in my area of interest of Aland Archipelago (quite complex cartography there). This is exhibit 1, nothing really wrong there, but initially _much_ slower than 1.3.6...

2. I admit to have tried F10 lightheartedly, so now I do not recall the pristine behaviour, but the persistent extra black window, having some interaction with my wireless Internet connection app seems not quite OK...

3. the UWTROC (I assume) line of 50m depth (I understand this is not settable?) does not help me at all, I definitely prefer the 1.3.6 chart appearance

4. At some scale zoom there is a strange coastline contour, probably not needed there

Very exciting release indeed!

Thanks again so much,

Piotr
Attached Thumbnails
Click image for larger version

Name:	aland.jpg
Views:	154
Size:	121.0 KB
ID:	26117   Click image for larger version

Name:	OCPN_F10.jpg
Views:	132
Size:	35.8 KB
ID:	26118  

Click image for larger version

Name:	UWTROC.jpg
Views:	136
Size:	27.5 KB
ID:	26119   Click image for larger version

Name:	coastline.jpg
Views:	144
Size:	47.7 KB
ID:	26120  

__________________
PjotrC is offline   Reply With Quote
Old 13-04-2011, 16:18   #9
mrm
Registered User

Join Date: Feb 2011
Location: Poland, EU
Boat: crew on Bavaria 38 Cruiser
Posts: 651
Re: OpenCPN Version 2.4 Beta Build 412

Source code documentation for the current beta generated and published here: OpenCPN: 2.4.412 source code documentation
__________________
mrm is offline   Reply With Quote
Old 14-04-2011, 03:54   #10
Registered User

Join Date: Feb 2010
Posts: 619
Re: OpenCPN Version 2.4 Beta Build 412

Quote:
Originally Posted by PjotrC View Post
Windows Vista compiles OK, but when running, crashes too often (just moving and rezooming) to even attempt at reproducing...
The most sensitive part seems to be changing the Toolbox settings, especially CM93 Detail Level slider...

Excellent track etc. rendering speed... gives a new feeling!
__________________
PjotrC is offline   Reply With Quote
Old 14-04-2011, 04:32   #11
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: OpenCPN Version 2.4 Beta Build 412

Piotr,
don't know if it's related to your crashes, but it looks like we might have a memory leak, which gets worse in areas heavily "populated" with symbols (like Aaland)...
Not sure how to track it down to more than
Code:
Detected memory leaks!
Dumping objects ->
{840728} normal block at 0x06E77E78, 56 bytes long.
 Data: <    LIGHTS      > 00 00 00 00 4C 49 47 48 54 53 00 00 00 00 00 00 
{839835} normal block at 0x06E77B00, 56 bytes long.
 Data: <    SOUNDG      > 00 00 00 00 53 4F 55 4E 44 47 00 00 00 00 00 00 
{839711} normal block at 0x06E77788, 56 bytes long.
 Data: <    SOUNDG      > 00 00 00 00 53 4F 55 4E 44 47 00 00 00 00 00 00 
{839641} normal block at 0x06E77410, 56 bytes long.
 Data: <    SOUNDG      > 00 00 00 00 53 4F 55 4E 44 47 00 00 00 00 00 00 
{839463} normal block at 0x06E770C0, 56 bytes long.
 Data: <    SOUNDG      > 00 00 00 00 53 4F 55 4E 44 47 00 00 00 00 00 00
It goes further depending on how much stuff there is on the charts displayed.
Valgrind on Linux also reported a definite leak in s52plib.cpp(6551) but this part of the code is something I really don't understand at all...
When tried to uncomment the pAlloc->Add ( NewLUP ); on the next line, it looks fixed.

Pavel
__________________
nohal is offline   Reply With Quote
Old 14-04-2011, 05:57   #12
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: OpenCPN Version 2.4 Beta Build 412

Tested Pavel solution (#4 above) on Vista and I get a crash each time I use a function key (F2 for example) when the tool bar is hidden
The best result is optained with this code :

void MyFrame::ToggleFullScreen()
{
bool to = ! IsFullScreen();
//ShowFullScreen(to, 0);//wxFULLSCREEN_NOBORDER | wxFULLSCREEN_NOCAPTION);

if (!to)
ShowFullScreen(to, 0);
else
ShowFullScreen(to, wxFULLSCREEN_NOBORDER | wxFULLSCREEN_NOCAPTION );
}

but I have still that odd issue with F10 key ( see FS#403)
Jean Pierre
__________________
Ptizef is offline   Reply With Quote
Old 14-04-2011, 06:17   #13
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: OpenCPN Version 2.4 Beta Build 412

Right you are
Of course all the function keys that try to do something with the toolbar (which I destroy previously) must crash the program... Easy fix.
How does Vista like the attached patch (done against vanilla git)?

Pavel
Attached Files
File Type: doc fullscreen.patch.doc (6.4 KB, 44 views)
__________________
nohal is offline   Reply With Quote
Old 14-04-2011, 06:48   #14
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: OpenCPN Version 2.4 Beta Build 412

Hi Pavel
Tested your patch . Works fine
but is it the good solution to hide tool bar in full screen mode ?
From my point of view , I'd prefer to keep it displayed .
Or the best but the most complex solution would be to display it only when the cursor rolls over the top part of the screen (as most of media readers) ?

Am I the only one to have the F10 key deactivating other function keys ?

regards
Jean Pierre
__________________
Ptizef is offline   Reply With Quote
Old 14-04-2011, 07:01   #15
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,018
Re: OpenCPN Version 2.4 Beta Build 412

What I tried to do with this patch is to have the same behavior on Windows like I have on Linux, which means no toolbar at all.
The other side of things is, that while it was easy to do this, I can't make the bloody thing actually do what you suggest (which of course was my original plan) But I think I'm very slowly starting to understand what happens here as I had very similar problems while working on the GE plugin.
My F-keys look working quite OK - there is no reason why they shouldn't looking at the code, so let's wait if it appears for more people.

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN Version 2.4 Beta Build 324 bdbcat OpenCPN 141 12-04-2011 15:15
OpenCPN Version 2.4 Beta Build 310 bdbcat OpenCPN 53 27-03-2011 12:05
OpenCPN Version 2.1.0 Beta bdbcat OpenCPN 1045 25-06-2010 11:09



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 11:43.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.