-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
My changes #35
My changes #35
Conversation
…n coordinate from the Internet, paste it and viking will try it's best to goto that location
The Lat/Lon Free Format looks useful. Update: Just remembered in clipboard.c there is a function clip_parse_latlon() which tries to do this sort of thing. IIRC this is currently only used in creating a waypoint. Regarding Issue #25, although superficially works but it breaks any existing translations. The other changes look good and I will include them. |
Yes, looking at the Lat/Lon Free Format commit I did indeed forget to remove the debug messages; also a Error box for the "Conversion of "%s" failed." makes sense. Did not know clip_parse_latlon but that indeed seems to have the same intention, so a common implementation makes sense. It makes sense not to commit f7ccdd and update the code. I can have a look, if you want to do the tweaks also fine. Thanks for catching the issue with the translations, did not know that. |
Regarding translations, perhaps it's doesn't break after all. |
About the Lat/Lon Free Format: Had a look at clip_parse_latlon and yes, indeed good to merge with that code. I can put it in vik_utils.c file, but now it is in degrees_converters.c and that looks also like a logical place to me. I am looking at wikipedia.org to see what kind of coordinate systems there are. |
This branch holds 6 commits that:
I did run with the changes for quite some time, no (new) problems found.
Please consider merging them.