Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 23-05-2011, 18:32   #1
Marine Service Provider
 
bdbcat's Avatar

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

Ahoy OpenCPN'ers...

OpenCPN Version 2.4 Beta Build 523 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:

89. Implement fine scale vector chart zoom in/out by CTRL+ and CTRL-
90. Improve toolbar positioning alogrithms (FS#441, FS#446))
91. Correct toolbar mouse event memory leak Thanks, Pavel
92. Improve current station parsing and rendering. Thanks Thomas
93. Correct occasional partial "red" rendering of cm93 area objects.
94. Correct cm93 rendering with autofollow on at low speed (FS#449)(FS#470)
95. Correctly clean include/version.h (FS#443)
96. Implement F6 dimmer for linux.
97. Correct Blue Paddle for AIS Base stations (FS#453)
98. Correctly show ATON name in AIS target list. (FS#447)
99. Correctly handle VDO messages in AIS stream. (FS#448)
100. Improve COG report on AIS target rollover (FS#425)
101. Implement selectable toolbar transparency at Toolbox->Etc.
102. Improve responsiveness of zooming quilted ENCs under Windows (FS#454)
103. Re-enable tide/current master station constituent cacheing in station_mru.dat
104. Remove unuseable entries from tide/current HARMONICS.IDX
105. Correct occasional crash on chart drag ab initio. (FS#405)
106. Increment PlugIn API version to 1.5
107. Correct occasional crash with cm93OffsetDialog open on program close. (FS#440)
108. Correct certain overzoom cm93 quilt scenarios (FS#461)
109. Refine F9 quilt toggle logic (FS#455)
110. Improve AIS AtoN data reporting. (FS#467)(FS#465)
111. Refactor source and build tree to enable build options like "cmake -DUSE_S57=OFF .." (FS#437)
112. Implement improved lat/lon parser (FS#462) Thanks Pavel
113. Considered and rejected (FS#331), AIS Buddies patch. Should be a PlugIn....
114. Correct typo error on AIS Ship type (FS#472)
115. Correct some memory leaks on S57 ENC ingest. (FS#476) Thanks, Gunther
116. Implement improved lat/lon display patch (FS#468) Thanks Pavel
117. Apply patch to allow user selectable colours for routes and tracks (FS#445), again Pavel
118. Implement new "Wheel-Zoom-to-Cursor" algorithm.
119. Correct AIS CPA logic for ownship COG undefined (FS#458)
120. Correct toolbar toggle states update (FS#485)
121. Implement full translation of AIS target information (FS#480)
122. Rework CMake script for Grib PlugIn to use system BZip2 libraries on linux.
123. Implement AIS AtoN Extended name decoding (FS#466)
124. Prevent "Jump To" AIS targets in target list with invalid positions. (FS#464)
125. Refine AIS report format, removing "Recent Report Period" (FS#487)
126. Ensure ownship is drawn atop close AIS targets. (FS#431)

Release Beta Version 2.4.523

Notes:
96. F6 dimmer support for linux uses xcalib utility.
Sorry about the flashing on increase of brightness.
This is due to the limited set of xcalib command line options.
Correct solution will require porting the guts of xcalib into OCPN.
Another day....
101. Also, please note that on linux, if you want transparent effects on the toolbar
then you must install and enable some form of window manager compositing system.
106. All PlugIns will need to be rebuilt against the 1.5 API.
There is no functional change, just a version uptick for proper load verification.
113. Here is an opportunity for a PlugIn developer....
118. Latest iteration on WZTC. Try it....

Special thanks this time to Marco, for all his AIS exercising.
The AIS module is becoming pretty capable, thanks to his assistance (and persistence).

I also append the BSB4 Plugin, rebuilt for API 1.5.

Thanks, and Good Luck
Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 23-05-2011, 18:34   #2
Marine Service Provider
 
bdbcat's Avatar

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

BSB4 PlugIn for 2.4.523 attached.

Have Fun
Dave
Attached Files
File Type: doc bsb4_win32_pi15_v10_pi.dll.doc (104.5 KB, 75 views)
__________________

__________________
bdbcat is offline   Reply With Quote
Old 24-05-2011, 02:01   #3
Registered User
 
Netsurfer's Avatar

Join Date: Jan 2010
Location: Cologne, Germany
Boat: Beneteau Oceanis 331
Posts: 557
Re: OpenCPN Version 2.4 Beta Build 523

Hi beta testers ...

the Windows version 2.4.523 is ready for download:
beta version OpenCPN 2.4.523
or via the
OpenCPN.org download page

Note: I had to completely delete my config folder (\ProgramData\opencpn). Otherwise program crashed as soon as it wanted to read/ write from/ to the config file (clicking on the ToolBox icon, on program exit).

Gunther
__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline   Reply With Quote
Old 24-05-2011, 02:14   #4
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 523

Generating source code docs at the usual place: http://infinity.eti.pg.gda.pl/OpenCPN_srcdocs/
__________________
mrm is offline   Reply With Quote
Old 24-05-2011, 03:19   #5
Registered User
 
HamishB's Avatar

Join Date: Jan 2010
Location: New Zealand
Posts: 286
Re: OpenCPN Version 2.4 Beta Build 523

> 112. Implement improved lat/lon parser (FS#462)

Not sure where that ability is useful within OpenCPN, but fwiw that
still misses a couple of common DMS formats.

PROJ4 and GDAL use like: 12d34'56.7890"E ....N (1980s USGS derivs.)
(MIT/X licensed C code available upon request)

GMT and GRASS (and I guess other software deriving from US Fed.Govt code
~1980s) use like: 12:34:56.7890E ...N
GPL2: https://trac.osgeo.org/grass/browser.../gis/ll_scan.c


> 116. Implement improved lat/lon display patch (FS#468) Thanks Pavel

In DMS mode the text box isn't big enough and chops off the last few digits
of the easting. (using default font,fontsize)


> 122. Rework CMake script for Grib PlugIn to use system BZip2 libraries on linux.

thanks

> 96. F6 dimmer support for linux uses xcalib utility.

neat. works well even with X tunneled over ssh to a non-compositing WM.
In combo with F5 this is really powerful. Still a bright beige section of
the chart picker rectangle bar on the right-hand end when in fullscreen mode,
or just when the window is dragged to be more than about 1188px wide.

> 101. Also, please note that on linux, if you want transparent effects on the
> toolbar then you must install and enable some form of window manager compositing
> system.

I hadn't noticed that before, but yes, true.

toolbar snapping is better, thanks. dragging around is pretty sluggish (at least over
tunneled X). When vertical, perforated-drag-handle bit of the toolbar still to right of
first row instead of on top/bottom of the main column so wasting map canvas real
estate.
Toolbar in default top-left position hides "OverZoom" text.
Shade/rollup window fails to roll-up the toolbar when it's at the top, but works
correctly when it's at the bottom.


> 118. Implement new "Wheel-Zoom-to-Cursor" algorithm.

End result is good, but it is rather jumpy with two redraws (~800ms delay)



cheers,
Hamish

ps- Debian package rules now updated locally for 2.4.523. Will commit to
DebianGIS svn as soon as that comes back online after an upgrade.
Amd64 .debs for Debian/stable available upon request now, just ask.
__________________
HamishB is offline   Reply With Quote
Old 24-05-2011, 05:43   #6
Registered User
 
motorbaad's Avatar

Join Date: Feb 2010
Location: scandinavia
Boat: pilotboat 36
Posts: 28
Re: OpenCPN Version 2.4 Beta Build 523

Once upon at time we had this issue with pointers showing the wrong direction in the shipping lanes on CM93. I just found out that it is back in the latest beta releases. Windows XP SP3. The big arrows in traffic separation zones are fine, but the smaller ones in the shipping lanes show the wrong direction.
Attached Thumbnails
Click image for larger version

Name:	Open CPN pile i den gale retning i sejlrender.JPG
Views:	214
Size:	193.0 KB
ID:	27741  
__________________
motorbaad is offline   Reply With Quote
Old 24-05-2011, 05:49   #7
Marine Service Provider
 
bdbcat's Avatar

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

Gunther....

Can you reproduce the initial start crash? Did you happen to save the bad config file? Any more info?

Anyone else see initial startup crash with bad config file?

Dave
__________________
bdbcat is offline   Reply With Quote
Old 24-05-2011, 05:55   #8
Registered User
 
Netsurfer's Avatar

Join Date: Jan 2010
Location: Cologne, Germany
Boat: Beneteau Oceanis 331
Posts: 557
Re: OpenCPN Version 2.4 Beta Build 523

A few comments on the toolbar ...

101. When unchecking the option 'Enable transparent toolbar' remains transparent -> expected to be non-transparent

90. Initial situation: Toolbar is in horizontal position docked to the left corner of the chart window. Now doing a right-click on the toolbars 'clicking area' changes the toolbar's orientation to vertical but it is positioned right in the middle of the chart window (still docked to the top) -> expected to be positioned to the left

The toolbar does not respect other windows like the Dashboard or the GPS/ Course Status window -> expected to respect (and react) other "docked" windows
I guess we need a trigger on which all affected components react.
BTW: I would prefer to have the GPS/ Course Status back on the toolbar instead of being its own window (which also does not respect other windows).
FS#446 and FS#441 look fine now.

120. Looks OK now.

Thanks,
Gunther
__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline   Reply With Quote
Old 24-05-2011, 06:15   #9
Marine Service Provider
 
bdbcat's Avatar

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

Folks...

Ok, here's the deal on the toolbar.

If we want a fadeout toolbar, it must be a "wxTopLevelWindow" or "wxDialog". That means that it does not play nice with the children of the application frame. It is always on top, wherever it is. We are programatically moving it around to try to avoid the lower level child windows. Catching and avoiding all the possible interference with other UI features will take some experimentation.

This is all for the sake of having a "fadeout" toolbar.

If we want to revert to a non-fading toolbar, we can make it a child of the chart canvas, and manage it like any other window.

Another complication:
What we have had to do for the Mac build is to make the toolbar an independent window, not attached to the frame.
This works around a bug in the wxWidgets Mac implementation. INMF.

Of course, we will not simultaneously satisfy everyones aesthetic tastes on UI design. There are additionally some new Feature Requests regarding UI under consideration. All valid opinions, and FWIW, enormously time consuming....

At some point we simply say " it is what it is", and invite git branches for other developers to tweak as desired.

Hope this clarifies technically what is going on.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 24-05-2011, 06:16   #10
Registered User
 
Netsurfer's Avatar

Join Date: Jan 2010
Location: Cologne, Germany
Boat: Beneteau Oceanis 331
Posts: 557
Re: OpenCPN Version 2.4 Beta Build 523

Dave ...

Quote:
Originally Posted by bdbcat View Post
Can you reproduce the initial start crash?
It was "initial" start crash. The program started quite normal. It crashed when I tried to
  1. open the ToolBox
  2. close it

Quote:
Did you happen to save the bad config file? Any more info?
Unfortunately not - sorry!
That was because I was in a little hurry to upload the new version ...

Here are some things I tried out:
  • completely removed the installation dir (Program Files\OpenCPN) to ensure no incompatible plugins or other files were left
  • edited opencpn.ini and removed all plugin related entries
None did any change to the crash behaviour so I completely deleted the config folder (and all of its subfolders). Afterwards all went fine.

Gunther
__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline   Reply With Quote
Old 24-05-2011, 06:20   #11
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
Re: OpenCPN Version 2.4 Beta Build 523

Problem on ubuntu 11.04:

Quote:
Make Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:91 (MESSAGE):
Could NOT find BZip2 (missing: BZIP2_LIBRARIES BZIP2_INCLUDE_DIR)
__________________
sv Libertalia
idpnd is offline   Reply With Quote
Old 24-05-2011, 06:25   #12
Marine Service Provider
 
bdbcat's Avatar

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

idpnd...

try...

Code:
$sudo apt-get install libbz2-dev
Dave
__________________
bdbcat is offline   Reply With Quote
Old 24-05-2011, 06:27   #13
Marine Service Provider
 
bdbcat's Avatar

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

Folks....

If anyone has a crash initially using an old config file, please save and post the offending file before deleting. We would like to examine the tea leaves.....

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 24-05-2011, 06:31   #14
Registered User
 
Netsurfer's Avatar

Join Date: Jan 2010
Location: Cologne, Germany
Boat: Beneteau Oceanis 331
Posts: 557
Re: OpenCPN Version 2.4 Beta Build 523

Dave ...
Quote:
Originally Posted by bdbcat View Post
Ok, here's the deal on the toolbar.

This is all for the sake of having a "fadeout" toolbar.

If we want to revert to a non-fading toolbar, we can make it a child of the chart canvas, and manage it like any other window.
IMHO the main qustion is what we want to achieve.
If we just want to gain some space why not "simply" make the toolbar slide in and out (see screenshots)?

Gunther
Attached Thumbnails
Click image for larger version

Name:	toolbar-full.PNG
Views:	118
Size:	95.5 KB
ID:	27742   Click image for larger version

Name:	toolbar-full-1.PNG
Views:	111
Size:	54.8 KB
ID:	27743  

__________________
Deutschsprachige Community- und Support-Website unter OpenCPN.de
Netsurfer is offline   Reply With Quote
Old 24-05-2011, 07:06   #15
Senior Cruiser
 
idpnd's Avatar

Cruisers Forum Supporter

Join Date: Sep 2007
Location: Almería, ES
Boat: Chiquita 46 - Libertalia
Posts: 1,551
Re: OpenCPN Version 2.4 Beta Build 523

I'm still getting the non-restoring window after minimize on ubuntu 11.04, anyone else experience this?

Edit: In fact, minimizing it leaves me with the taskbar, mouseover on taskbar restores window.. Must be a wxwidgets error..

Thanks for your time
__________________

__________________
sv Libertalia
idpnd 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 506 bdbcat OpenCPN 163 25-05-2011 14:37
OpenCPN Version 2.4 Beta Build 412 bdbcat OpenCPN 63 22-04-2011 19:19
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



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 23:03.


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.