Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 13-01-2014, 20:01   #1096
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,649
Re: Beta Test / Technical

Dave thanks for the explanation. In the past I have loaded two plugins (different versions) for several reasons, testing and comparisons - what changed, and in the instance of Grib _ pi two different instances are used to load a current grib separate from a wind pressure wave grib in order to make these available to weather_routing _ pi. -- so I would like to keep the current filexibility with respect to loading multiple instances.

The s63 chart development is very exciting and I can work around it. Thanks!



Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
__________________

__________________
rgleason is offline   Reply With Quote
Old 14-01-2014, 13:52   #1097
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,649
Re: Beta Test / Technical

So to be clear, my preference would be to allow loading two plugins of same type

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
__________________

__________________
rgleason is offline   Reply With Quote
Old 21-01-2014, 10:50   #1098
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,645
Re: Beta Test / Technical

Pavel at all....
Is there a Git diff (or other) command that can print the difference between two committed branches?
Why?? If I've made two changes and commit in between Git Diff will only compare between the latest change and the branch. But if I whant the sum of the changes I would like to compare between my branch and master. I can't find how to do in Git reference.
Thanks for any hint/Håkan
__________________
Hakan is offline   Reply With Quote
Old 21-01-2014, 11:55   #1099
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,903
Re: Beta Test / Technical

Hakan...
Yep... The simple: switch to one of the branches and do
Code:
git diff NAMEOFTHEOTHERBRANCH
or without the switch for any 2 branches
Code:
git diff BRANCH1 BRANCH2
or for two commits regardless of branches
Code:
git diff COMMITID1 COMMITID2
or, if you are interested in a particular file
Code:
git diff BRANCH -- <filename>
For more info you can refer to Git - git-diff Documentation or some of the countless cheat sheets, for example https://gist.github.com/iansheridan/870778
And as an aspiring developer you can also finally make an account on github to get something as colourful as for example https://github.com/nohal/OpenCPN/compare/nogl33...arpa

Pavel
__________________
nohal is offline   Reply With Quote
Old 21-01-2014, 12:39   #1100
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,645
Re: Beta Test / Technical

Pavel...<The live Wiki
Ok - As simple as that. And following your nice links I'll for sure will find a way to not list all .po changes

Many thanks /Håkan

Edit: Found it. Git's great!
__________________
Hakan is offline   Reply With Quote
Old 22-01-2014, 03:57   #1101
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,645
Re: Beta Test / Technical

Please anyone advice how I build a new .pot file when new _("strings") are added to the source?
There seems to be something included in cmakelist.txt but neither cmake nor VC10 is touching the present .pot file??
Thanks Håkan
__________________
Hakan is offline   Reply With Quote
Old 22-01-2014, 04:18   #1102
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Westerly Pentland
Posts: 1,515
Re: Beta Test / Technical

Code:
/your-path-to/xgettext --force-po --package-name=opencpn --package-version=3.3.1303 --output=opencpn.pot --keyword=_ --width=80 --files-from=POTFILES.in
Is an example to get a new .pot file. Be aware of your pathes to the files however.

Then merge your old .po file with the new .pot file:

Code:
/your-path-to/msgmerge --width=80 --strict --quiet --update --backup=none --no-location -s /your-path-to/opencpn.po /your-path-to/opencpn.pot
Gerhard
__________________
CarCode is offline   Reply With Quote
Old 22-01-2014, 04:54   #1103
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,645
Re: Beta Test / Technical

Gerhard..
Lovely! Works fine - Many thanks (So also here is "Flag" now translated as in your AIS query)
Håkan
__________________
Hakan is offline   Reply With Quote
Old 22-01-2014, 05:52   #1104
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,649
Re: Beta Test / Technical

Hakan when you've got a moment would you mind posting to this thread the language internationalization (we need shorter name) process as you know it? Combined with gerhards info , we can improve the developers manual!!
Gille...Tried to explain it months ago and I did not understand. He was quite patient with my pesky question. Thanks

Sent from my GT-N5110 using Cruisers Sailing Forum mobile app
__________________
rgleason is offline   Reply With Quote
Old 22-01-2014, 06:26   #1105
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Westerly Pentland
Posts: 1,515
Re: Beta Test / Technical

Quote:
Originally Posted by Hakan View Post
Gerhard..
Lovely! Works fine - Many thanks (So also here is "Flag" now translated as in your AIS query)
Håkan
I have had also changed the country strings from _T("...") to _("...") in the code because these names are different in different languages.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 22-01-2014, 11:44   #1106
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,645
Re: Beta Test / Technical

Gerhard..
You did..Ok. I was considered that but decided not to do so. My preferences was that the official list is a international table and if you intent to communicate with the boat the English language and the corresponding country designation are preferred? So for that reason it felt right to keep it with that.
But it could be and could not be you're right. And as usual it could be that some arguing will follow - right? A common opinion use to be the best in the "bitter" end.
Thanks Håkan

Edit. And by the way. The short ID I suppose should be left unchanged??
__________________
Hakan is offline   Reply With Quote
Old 22-01-2014, 11:52   #1107
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,645
Re: Beta Test / Technical

Quote:
Originally Posted by rgleason View Post
Hakan when you've got a moment would you mind posting to this thread the language internationalization (we need shorter name) process as you know it? Combined with gerhards info , we can improve the developers manual!!
Gille...Tried to explain it months ago and I did not understand. He was quite patient with my pesky question. Thanks

Sent from my GT-N5110 using Cruisers Sailing Forum mobile app
Rick..
Do you mean I should try to explain how I did the .pot file update from my source code?
And post that attempt to the Intenatio....long yes.. thread?
No problem if this is your intentions. Please confirm.
Håkan
__________________
Hakan is offline   Reply With Quote
Old 22-01-2014, 21:15   #1108
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,649
Re: Beta Test / Technical

Yes please, it would be very good for development questions I think.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
__________________
rgleason is offline   Reply With Quote
Old 23-01-2014, 07:20   #1109
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,645
Re: Beta Test / Technical

Rick..
I post it here. If you found it useful please correct my English and put it wherever you think possible users can reach it.
Håkan
Attached Files
File Type: doc Method to update the Opencpn.pot.doc (55.5 KB, 22 views)
__________________
Hakan is offline   Reply With Quote
Old 23-01-2014, 07:39   #1110
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,649
Re: Beta Test / Technical

Fresh Git Fetch, Git pull

Lots of breaks with

Code:
Wit     KernelBase.dll!76303219()     
     [Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]    
>    wxbase28ud_vc_custom.dll!wxTrap()  Line 678    C++
h git fetch, git pull this morning there are lots of breaks with this
Was doing it before too..

All plugins disabled.
Opengpl checked
smoooth panning checked
chart quilting checked
----

Again

Code:
KernelBase.dll!76303219()     
[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]    
>    wxbase28ud_vc_custom.dll!wxTrap()  Line 678    C++
     00000001()
Sorry if this is known problem
Attached Thumbnails
Click image for larger version

Name:	Opencpn33103-now-break.png
Views:	54
Size:	50.6 KB
ID:	74483  
Attached Files
File Type: doc opencpn.ini.doc (30.5 KB, 18 views)
File Type: doc opencpn.log.doc (285.1 KB, 16 views)
__________________

__________________
rgleason 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
Beta Marine Diesel michaelmrc Engines and Propulsion Systems 48 23-03-2016 14:44
Need some technical advice....antennas. Just a Tinch Marine Electronics 15 01-12-2007 16:57
Blue Sea Systems Technical Brief GordMay Electrical: Batteries, Generators & Solar 0 16-03-2007 05:16
technical difficulties witchcraft The Sailor's Confessional 1 30-05-2005 15:09
Dow Corning Technical Manual GordMay The Library 0 12-04-2005 17:25


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 00:39.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.