]>
git.street.me.uk Git - andy/viking.git/log
Rob Norris [Wed, 23 Jan 2013 20:14:39 +0000 (20:14 +0000)]
[QA] Refactor general string processing to avoid pointer arithmetic.
Rob Norris [Tue, 22 Jan 2013 22:29:32 +0000 (22:29 +0000)]
[QA] Simplify setting the colour in coordinate layer.
No need to have a pointer (and management thereof) to a colour structure.
Instead use it directly.
Rob Norris [Tue, 22 Jan 2013 21:25:46 +0000 (21:25 +0000)]
[QA] Move preferences_load_parse_param() to be a general function
Rob Norris [Tue, 22 Jan 2013 20:26:35 +0000 (20:26 +0000)]
[QA] Move VikLayerTypedParamData from preferences into viklayer header
Move associated functions and make available for reuse.
Rob Norris [Tue, 22 Jan 2013 17:58:35 +0000 (17:58 +0000)]
[QA] Promote layer_type_from_string to be a global function.
Rename to vik_layer_type_from_string and move into vik_layer.c
Rob Norris [Tue, 22 Jan 2013 17:05:01 +0000 (17:05 +0000)]
[QA] Enumerate and use VikLayerWidgetType
Rob Norris [Tue, 22 Jan 2013 17:02:47 +0000 (17:02 +0000)]
[QA] Enumerate and use VikLayerParamType
Rob Norris [Mon, 7 Jan 2013 17:26:56 +0000 (17:26 +0000)]
[QA] Better usage of enumeration type to identify layers.
Rob Norris [Wed, 5 Dec 2012 18:40:18 +0000 (18:40 +0000)]
[QA] Initialization of TrackWaypoint layer data in related part.
Isolate viewport related settings to one function.
Rob Norris [Wed, 5 Dec 2012 18:38:59 +0000 (18:38 +0000)]
Enable some layers to be created without needing a viewport.
Rob Norris [Sat, 16 Feb 2013 12:07:17 +0000 (12:07 +0000)]
Releasing 1.4.0.1
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
Mathieu Albinet [Sat, 16 Feb 2013 00:37:26 +0000 (00:37 +0000)]
Windows: Add .vik file extension association option in the installer
Rob Norris [Mon, 11 Feb 2013 21:49:15 +0000 (21:49 +0000)]
Releasing Viking 1.4.0
Rob Norris [Mon, 11 Feb 2013 21:29:06 +0000 (21:29 +0000)]
Document previous translation updates
Rob Norris [Mon, 11 Feb 2013 21:27:47 +0000 (21:27 +0000)]
Import Launchpad translation updates
Rob Norris [Mon, 11 Feb 2013 21:18:26 +0000 (21:18 +0000)]
[DOC] Add an example screenshot of Viking.
This is the currently first shown one on the SourceForge website.
Rob Norris [Mon, 11 Feb 2013 21:16:48 +0000 (21:16 +0000)]
[DOC] Update map download tool text.
Include the map tile info dialog and show an example image.
Rob Norris [Mon, 11 Feb 2013 21:14:17 +0000 (21:14 +0000)]
Fix copy and paste typo in a Windows script.
Rob Norris [Sun, 10 Feb 2013 22:26:26 +0000 (22:26 +0000)]
Fix crashing if creating a DEM layer with no files.
Ensure the layer is realized before accepting updates, as VIK_GTK_WINDOW_FROM_LAYER will fail.
In the DEM case: since there's no files, the thread exits and generates a layer update before the layer is realized.
So it's better not to bother with a thread if there's no files to use.
Rob Norris [Sat, 9 Feb 2013 10:26:33 +0000 (10:26 +0000)]
Fix usage of GDateTime functionality which is only in GLIB 2.26 and newer.
Introduced in SHA:
450d8665d01939454c094692b4843d5dfea2b3be
Rob Norris [Sat, 9 Feb 2013 03:14:05 +0000 (03:14 +0000)]
Fix crash when cancelling an 'Acquire' in progress thread task.
Issue caused by SHA:
b2aa700f11bb54b6f9c6a0f8cf95bf3caccf7df5 in supporting a non thread method
Need to free memory at the correct time and place.
Rob Norris [Sat, 9 Feb 2013 03:25:13 +0000 (03:25 +0000)]
Need more files for Windows packaging.
Put locale files in right place.
Add our text files and COPYING notices.
Setup to package GTK2.24.10
When creating via Wine - ensure production of items not known how on Windows:
. ChangeLog.txt
. Help PDF
. configure script
Need to use xsltproc to complete build cleanly.
Rob Norris [Fri, 8 Feb 2013 01:38:58 +0000 (01:38 +0000)]
Fix potential unnecessary exit in trying to handle spawning of external command.
Mostly only a problem on Windows if the gspawn-win32-helper.exe program is not available.
NB Currently we package it in the Windows installation.
Rob Norris [Sat, 9 Feb 2013 01:19:36 +0000 (01:19 +0000)]
Restore help files to being part of the source distribution.
Ensure it works with make distcheck
Rob Norris [Sat, 9 Feb 2013 01:16:10 +0000 (01:16 +0000)]
Remove checking of unused headers and functions.
This speeds up the configure stage a little bit.
Rob Norris [Sat, 9 Feb 2013 01:20:25 +0000 (01:20 +0000)]
Remove useless include.
Cristian Klein [Mon, 4 Feb 2013 21:08:14 +0000 (21:08 +0000)]
Fix: crash when dealing with non-compressed DEM files
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
Rob Norris [Mon, 4 Feb 2013 20:47:55 +0000 (20:47 +0000)]
Include Windows scripts in the source distribution.
Rob Norris [Sun, 3 Feb 2013 22:13:30 +0000 (22:13 +0000)]
Windows: Script full generation of Windows build from scratch for version 1.4.
Aim to be able to automate the generation of Windows Viking Installer executable from scratch.
[Preferably from a Linux System using Wine]
Script to setup full Windows build environment (including various work-a-rounds),
using old but known to work MinGW5.1.6 + gcc3.4.5 compiler and various dependencies.
Miscellaneous scripts to make this work via Wine.
TODO: In the future look to using the current MinGW (Dev System) with gcc4.6+
This should hopefully simplify the auto build environment.
Rob Norris [Thu, 31 Jan 2013 20:51:06 +0000 (20:51 +0000)]
Improve Windows installer script.
Better comments, some error checking and use of %ProgramFiles%
Bin the need for the bin directory - it was only a temporary holding space.
Rob Norris [Thu, 31 Jan 2013 20:47:36 +0000 (20:47 +0000)]
Make the Spanish version of the Windows Installer actually selectable.
Rob Norris [Thu, 31 Jan 2013 20:46:27 +0000 (20:46 +0000)]
Fix Windows installer script to run on a real Windows system.
Rob Norris [Thu, 31 Jan 2013 01:23:24 +0000 (01:23 +0000)]
Add Windows installer files to be included in a 'make dist' source distribution
Rob Norris [Thu, 31 Jan 2013 01:15:21 +0000 (01:15 +0000)]
[DOC] Minor corrections
Rob Norris [Thu, 31 Jan 2013 01:11:43 +0000 (01:11 +0000)]
[DOC] Remove really old file
Rob Norris [Thu, 31 Jan 2013 00:03:43 +0000 (00:03 +0000)]
Remember to add support of Finnish translation
Rob Norris [Wed, 30 Jan 2013 02:22:17 +0000 (02:22 +0000)]
Merge branch 'i18n-launchpad'
Rob Norris [Wed, 30 Jan 2013 01:34:57 +0000 (01:34 +0000)]
Define Windows build version in the Installer script.
Potentially this could be set in the environment (i.e. in the installer.bat)
but under Wine I couldn't get it to work that way.
Rob Norris [Wed, 30 Jan 2013 01:29:01 +0000 (01:29 +0000)]
Windows build installation steps in installer.bat script file.
Rob Norris [Wed, 30 Jan 2013 01:30:06 +0000 (01:30 +0000)]
[QA] Remember Exif library removal on Windows deinstall.
Rob Norris [Wed, 30 Jan 2013 02:18:43 +0000 (02:18 +0000)]
Document previous translation updates
Rob Norris [Wed, 30 Jan 2013 02:18:24 +0000 (02:18 +0000)]
Import Launchpad translation updates from 1.3
Rob Norris [Fri, 30 Nov 2012 23:48:02 +0000 (23:48 +0000)]
Add simple dialog to show map tile information.
Includes source of tile data and filename+timestamp of the cached tile
on disk.
Rob Norris [Sat, 26 Jan 2013 19:10:28 +0000 (19:10 +0000)]
Ensure tracks coloured according to the draw mode.
Guilhem Bonnefille [Sat, 26 Jan 2013 20:36:36 +0000 (21:36 +0100)]
Remove zoom combobox in toolbar
Since it is possible to change the zoom level from the status bar,
there is no more need for an other zoom level selector.
Furthermore, it is always better to have a GUI as clean as possible.
This patch remove the combo box allowing to select the zoom level
from the tool bar.
This patch also refactor the zoom levels related list.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Wed, 23 Jan 2013 22:37:56 +0000 (23:37 +0100)]
Add a zoom selector on status bar
A single click on zoom indicator on status bar opens a zoom selector.
It seems quite natural to click on the indicator to change the corresponding
value. As zoom level is displayed on statusbar, a click on statusbar should
open a zoom selector.
This patch is inspired by
ac4478f4c84881436cf9b25a0fa9dc30f889db63
"Add a zoom combo box into the toolbar".
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Rob Norris [Fri, 23 Nov 2012 13:19:56 +0000 (13:19 +0000)]
Add file version to .vik files.
Rob Norris [Tue, 15 Jan 2013 00:51:40 +0000 (00:51 +0000)]
Ensure when creating tracks they are allocated a colour.
Rob Norris [Tue, 15 Jan 2013 00:50:42 +0000 (00:50 +0000)]
Rework TrackWaypoint layer option to draw 'All Tracks Black' into 'All Tracks Same Color'.
Thus in this track drawing mode you can now specify the colour used, instead of only being black.
For compatibility the default is black.
Rob Norris [Fri, 7 Dec 2012 22:45:51 +0000 (22:45 +0000)]
Add map layer option to only download missing tiles.
Useful for low bandwidth and/or pay for data services yet you want the convenience of the autodownload.
Also useful for map types which hardly ever change e.g. BlueMarble,
so no need to bother the server to ask if there are newer tiles!
Rob Norris [Wed, 23 Jan 2013 18:35:58 +0000 (18:35 +0000)]
[QA] Remove unneeded include.
Rob Norris [Sat, 26 Jan 2013 12:03:31 +0000 (12:03 +0000)]
[QA] Better variable naming
Rob Norris [Sat, 26 Jan 2013 12:02:10 +0000 (12:02 +0000)]
Maintain script output of TrackWaypoint layer format.
Rob Norris [Sat, 26 Jan 2013 12:00:39 +0000 (12:00 +0000)]
[QA] Reduce warnings when compiling with Clang.
Don't need to:
Comparison of unsigned expression >= 0 is always true [-Wtautological-compare]
+
Explicitly assigning a variable of type to itself [-Wself-assign]
Rob Norris [Sat, 26 Jan 2013 11:56:19 +0000 (11:56 +0000)]
[QA] Actually use results from IS_VIK_* calls.
Spotted via compiling with Clang.
Rob Norris [Sat, 26 Jan 2013 11:52:48 +0000 (11:52 +0000)]
Add more files to ignore, when building on Windows
Rob Norris [Wed, 23 Jan 2013 22:00:50 +0000 (22:00 +0000)]
Merge branch 'MyOSMTraces'
Rob Norris [Sat, 19 Jan 2013 12:29:20 +0000 (12:29 +0000)]
[DOC] Add My OSM Traces help.
Rob Norris [Fri, 4 Jan 2013 19:20:28 +0000 (19:20 +0000)]
Add marker to indicate whether my tracks from OSM starts within the current viewport.
This can be very useful in choosing which tracks to download when there are alot of them.
Rob Norris [Tue, 27 Nov 2012 19:20:33 +0000 (19:20 +0000)]
Add Acquiring 'My' OSM Traces as a datasource.
This is a two stage Acquire, first get a list of all the specified users traces (password required).
The dialog columns can be sorted to help select only those traces of interest.
Then get the Ids for the selected traces and download the individual GPX files.
Rob Norris [Wed, 23 Jan 2013 21:54:46 +0000 (21:54 +0000)]
[DOC] Top layer can no longer be renamed.
Rob Norris [Wed, 23 Jan 2013 21:54:17 +0000 (21:54 +0000)]
[DOC] Fix internal doc reference.
Guilhem Bonnefille [Thu, 13 Dec 2012 12:50:52 +0000 (13:50 +0100)]
[QA] Apply naming convention to GType macros (vikviewport)
Guilhem Bonnefille [Sun, 20 Jan 2013 20:13:03 +0000 (21:13 +0100)]
[QA] Replace some coef with more explicit function
Guilhem Bonnefille [Sun, 20 Jan 2013 19:39:20 +0000 (20:39 +0100)]
[QA] Convert DEG2RAD and RAD2DEG to macro functions
Rob Norris [Sat, 1 Dec 2012 00:50:03 +0000 (00:50 +0000)]
[QA] Tidy up vikgoto header usage.
Rob Norris [Mon, 26 Nov 2012 23:48:13 +0000 (23:48 +0000)]
[QA] datasource_geotag tidy ups + fix copyright
Rob Norris [Sun, 20 Jan 2013 12:51:53 +0000 (12:51 +0000)]
[QA] Prefer g_strdup() over strdup(). Also gives clean cppcheck 1.57 run.
Rob Norris [Sun, 20 Jan 2013 12:50:19 +0000 (12:50 +0000)]
[QA] Adjust test and move variable declaration to give clean a cppcheck 1.57 run
Rob Norris [Sat, 19 Jan 2013 17:39:28 +0000 (17:39 +0000)]
[DOC] Add further TrackWaypoint detail.
+ sublayer options.
+ delete options.
+ finish track/route options
+ visit webpage.
+ Create Route tool.
Rob Norris [Sat, 19 Jan 2013 15:37:52 +0000 (15:37 +0000)]
[DOC] Promote individual layers into top level sections.
Most layers now have more detailed help they deserve to be separate sections.
Add xref links to the layers.
Also some minor edits.
Rob Norris [Sat, 19 Jan 2013 15:02:49 +0000 (15:02 +0000)]
[DOC] Improve Acquire help wording and links to TrackWaypoint layer.
Rob Norris [Sat, 19 Jan 2013 14:45:18 +0000 (14:45 +0000)]
[DOC] Fix internal document linking when used with Yelp.
Need to use xref instead of link to cross reference between high level sections.
Section ids then need an xreflabel to ensure each of the xml processing (yelp, to html + to PDF) generate the same text.
Rob Norris [Sat, 19 Jan 2013 16:57:36 +0000 (16:57 +0000)]
Add TrackWaypoint layer Delete menu options for routes.
Rob Norris [Sat, 19 Jan 2013 11:15:39 +0000 (11:15 +0000)]
Merge branch 'WikipediaPointsRework'
Rob Norris [Sat, 19 Jan 2013 11:15:09 +0000 (11:15 +0000)]
[DOC] Update Wikipedia Waypoints to be from the Acquire menu level.
Rob Norris [Mon, 26 Nov 2012 23:41:58 +0000 (23:41 +0000)]
Fix geonamessearch to handle not being able to map a file to memory.
Rob Norris [Sun, 25 Nov 2012 22:07:38 +0000 (22:07 +0000)]
Use Wikipedia featue type to generate a suitable waypoint icon
Rob Norris [Sun, 25 Nov 2012 21:36:38 +0000 (21:36 +0000)]
Use elevation values in creating waypoints from Wikipedia.
Rob Norris [Sun, 25 Nov 2012 21:35:00 +0000 (21:35 +0000)]
Allow for getting more Wikipedia Waypoints (up to 20).
Make the dialog scrollable to view longer lists.
One day might make this value configurable somewhere.
Rob Norris [Sun, 25 Nov 2012 19:35:07 +0000 (19:35 +0000)]
All translated versions to select appropriate language Wikipedia articles.
Rob Norris [Sun, 25 Nov 2012 19:33:35 +0000 (19:33 +0000)]
Allow the columns to be sortable in the Wikipedia Waypoints that are available.
Make sure selected items are the correct references to stored items.
Rob Norris [Sun, 25 Nov 2012 17:41:05 +0000 (17:41 +0000)]
Decide the 'feature' type is more useful than seeing the country code.
Rob Norris [Tue, 8 Jan 2013 01:43:09 +0000 (01:43 +0000)]
Add getting Wikipedia Waypoints via the File->Acquire menu method.
Auto creates a TrackWaypoint layer.
Rob Norris [Tue, 8 Jan 2013 01:41:59 +0000 (01:41 +0000)]
Fix geonames country pattern
Rob Norris [Fri, 23 Nov 2012 22:18:10 +0000 (22:18 +0000)]
Simplify getting bounds for wikipedia waypoints by reusing existing function.
Rob Norris [Fri, 23 Nov 2012 21:14:31 +0000 (21:14 +0000)]
Save Wikipedia Waypoint links in a simple format as the waypoint comment.
This allows the link to be opened within Viking via the recent change in:
commit SHA1:
7f2742755c3243d3ddd58692998a658a89b4adcf
Rob Norris [Thu, 22 Nov 2012 02:56:52 +0000 (02:56 +0000)]
Remove useless 'selected' check box on Wikipedia points creation method.
The list itself is multi-selectable and is now enabled to determine what should be created.
This has many advantages such as:
. Being able to click anywhere on line to select it
. Using Ctrl+A to select everything.
Rob Norris [Thu, 22 Nov 2012 02:45:58 +0000 (02:45 +0000)]
Move 'Add Wikipedia Waypoints' into the Acquire Menu in the TrackWaypoint Layer.
Relabel and reassign accelerators as necessary.
Rob Norris [Fri, 11 Jan 2013 23:35:26 +0000 (23:35 +0000)]
Simplify layer update redraw in determining the gtk update method.
Use the thread value itself to determine whether it's from the main thread or not.
Rob Norris [Fri, 11 Jan 2013 23:27:34 +0000 (23:27 +0000)]
Fix: Improve internal redrawing method for layer panel updates.
Remove hopefully the last place where updating the display is performed from a background thread
Use the thread value to see if it's the main thread or not and then
use the appropriate gtk idle drawing methods for the layers_panel update.
Rob Norris [Fri, 11 Jan 2013 23:25:31 +0000 (23:25 +0000)]
Store the main thread value so comparisons can be made to determine the gdk update method
Rob Norris [Fri, 11 Jan 2013 01:47:58 +0000 (01:47 +0000)]
Allow acquiring an URL with a username/password authenticated download.
Have to extend the parameters in the datasource method to pass around download options.
Rob Norris [Wed, 21 Nov 2012 19:44:48 +0000 (19:44 +0000)]
Allow downloading with authentication via curl
New DownloadMapOption to specify the username and password as a single string of the format 'username:password'
Rob Norris [Fri, 23 Nov 2012 21:10:21 +0000 (21:10 +0000)]
Allow an acquire datasource method to *not* have to use a threading mechanism.
Restructure acquire thread usage to enable commonalities for the non thread method to work.
Guilhem Bonnefille [Thu, 17 Jan 2013 21:08:42 +0000 (22:08 +0100)]
Fix screenshot included in previous commit
Guilhem Bonnefille [Thu, 17 Jan 2013 20:53:41 +0000 (21:53 +0100)]
Add bearing information while creating route/track
Add more information in status bar while creating route or track.
These informations are:
- bearing
- step distance
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Rob Norris [Wed, 16 Jan 2013 00:55:21 +0000 (00:55 +0000)]
Avoid CRITICAL warnings when updating a waypoint. Check the symbol value is something before attempting to use it.
Error introduced in commit SHA:
70cefedcb427c34e2e3db3bbfcc7e140d55b31a8
Rob Norris [Wed, 16 Jan 2013 00:37:49 +0000 (00:37 +0000)]
Fix routes display in different coordinate views.
Missed from the GPX-Routes code addition SHA:
0d2b891f5f4673f0dd1142dcd7e1eb08e4248090
Rob Norris [Fri, 23 Nov 2012 20:55:59 +0000 (20:55 +0000)]
Allow attempting to open a URL in a waypoint comment or description.
Very simple check to see if the text starts with 'http' before attempting to open it.