]>
git.street.me.uk Git - andy/viking.git/log
Guilhem Bonnefille [Sun, 30 Dec 2012 22:23:54 +0000 (23:23 +0100)]
[QA] Add ifdef macro for Google Directions related
Guilhem Bonnefille [Sun, 30 Dec 2012 20:41:10 +0000 (21:41 +0100)]
Add debug message tracing name of temporary files
Guilhem Bonnefille [Sun, 30 Dec 2012 14:01:30 +0000 (15:01 +0100)]
[QA] Replace g_mapped_file_free
The function g_mapped_file_free is deprecated since g_mapped_file_unref
was introduced in GLib 2.22.
As Viking currently build with GLib 2.14, we add a #define to support
pre and post 2.22 versions and avoid warning in both cases.
Guilhem Bonnefille [Sun, 30 Dec 2012 13:32:16 +0000 (14:32 +0100)]
[QA] Remove uneeded compatibility
GLib dependency is >= 2.14 so we do not have to redefine such
functions.
Guilhem Bonnefille [Sun, 30 Dec 2012 13:23:20 +0000 (14:23 +0100)]
[I18N] Mark translatable string
Guilhem Bonnefille [Wed, 12 Dec 2012 21:46:51 +0000 (22:46 +0100)]
[QA] Remove unusable constructor
VikExtTool is abstract: no need for a constructor.
Guilhem Bonnefille [Thu, 13 Dec 2012 13:10:57 +0000 (14:10 +0100)]
[QA] Extract utility function from viktrwlayer
File src/viktrwlayer.c is huge enough to avoid utility functions.
Guilhem Bonnefille [Tue, 11 Dec 2012 12:20:44 +0000 (13:20 +0100)]
[QA] Use dedicated macro for creating abstract type
Guilhem Bonnefille [Fri, 7 Dec 2012 21:32:02 +0000 (22:32 +0100)]
[QA] Replace code by GObject macro (viklayer)
It seems better to use the simple and expressive G_DEFINE_TYPE macro
instead of a quite obscure and verbose code to declare a new type.
Some functions were renamed in order to follow suggested name conventions.
Guilhem Bonnefille [Fri, 7 Dec 2012 21:23:29 +0000 (22:23 +0100)]
[QA] Replace code by GObject macro (viklayerspanel)
It seems better to use the simple and expressive G_DEFINE_TYPE macro
instead of a quite obscure and verbose code to declare a new type.
Guilhem Bonnefille [Fri, 7 Dec 2012 21:18:49 +0000 (22:18 +0100)]
[QA] Replace code by GObject macro (viktreeview)
It seems better to use the simple and expressive G_DEFINE_TYPE macro
instead of a quite obscure and verbose code to declare a new type.
Some functions were renamed in order to follow suggested name conventions.
Guilhem Bonnefille [Fri, 7 Dec 2012 20:59:42 +0000 (21:59 +0100)]
[QA] Replace code by GObject macro (vikgotoxmltool)
It seems better to use the simple and expressive G_DEFINE_TYPE macro
instead of a quite obscure and verbose code to declare a new type.
Some functions were renamed in order to follow suggested name conventions.
Guilhem Bonnefille [Fri, 7 Dec 2012 20:53:16 +0000 (21:53 +0100)]
[QA] Replace code by GObject macro (vikviewport)
It seems better to use the simple and expressive G_DEFINE_TYPE macro
instead of a quite obscure and verbose code to declare a new type.
Guilhem Bonnefille [Fri, 7 Dec 2012 20:49:54 +0000 (21:49 +0100)]
[QA] Replace code by GObject macro (vikwebtoolcenter)
It seems better to use the simple and expressive G_DEFINE_TYPE macro
instead of a quite obscure and verbose code to declare a new type.
Guilhem Bonnefille [Fri, 7 Dec 2012 20:47:19 +0000 (21:47 +0100)]
[QA] Replace code by GObject macro (vikwebtoolbounds)
It seems better to use the simple and expressive G_DEFINE_TYPE macro
instead of a quite obscure and verbose code to declare a new type.
Guilhem Bonnefille [Fri, 7 Dec 2012 20:44:29 +0000 (21:44 +0100)]
[QA] Replace code by GObject macro (vikwebtool)
It seems better to use the simple and expressive G_DEFINE_ABSTRACT_TYPE macro
instead of a quite obscure and verbose code to declare a new type.
Guilhem Bonnefille [Fri, 7 Dec 2012 20:20:19 +0000 (21:20 +0100)]
[QA] Replace code by GObject macro (vikgototool)
It seems better to use the simple and expressive G_DEFINE_ABSTRACT_TYPE macro
instead of a quite obscure and verbose code to declare a new type.
Guilhem Bonnefille [Fri, 7 Dec 2012 19:50:15 +0000 (20:50 +0100)]
[QA] Replace code by GObject macro (vikexttool)
It seems better to use the simple and expressive G_DEFINE_ABSTRACT_TYPE macro
instead of a quite obscure and verbose code to declare a new type.
Guilhem Bonnefille [Fri, 7 Dec 2012 19:33:03 +0000 (20:33 +0100)]
[QA] Replace code by GObject macro (googlesearch)
It seems better to use the simple and expressive G_DEFINE_TYPE macro
instead of a quite obscure and verbose code to declare a new type.
Guilhem Bonnefille [Fri, 7 Dec 2012 19:17:35 +0000 (20:17 +0100)]
[QA] Replace specific code by GObject macro
It seems better to use the simple and expressive G_DEFINE_TYPE macro
instead of a quite obscure and verbose code to declare a new type.
Guilhem Bonnefille [Thu, 6 Dec 2012 20:55:08 +0000 (21:55 +0100)]
[DOC] Add keycap tagging over Ctrl shortcuts
Guilhem Bonnefille [Wed, 5 Dec 2012 22:20:46 +0000 (23:20 +0100)]
[DOC] Add reference documentation to VikStatusbar
Guilhem Bonnefille [Sun, 2 Dec 2012 20:17:12 +0000 (21:17 +0100)]
Fix tooltip setting
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Sun, 2 Dec 2012 10:13:06 +0000 (10:13 +0000)]
Add tooltip to new zoom level combo
It is always useful to have a tooltip on GUI items.
It is more important here as there is no label to introduce the function of the combo.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Rob Norris [Fri, 30 Nov 2012 14:48:07 +0000 (14:48 +0000)]
Ensure when opening multiple .vik files they are each loaded into a new window.
Rob Norris [Mon, 19 Nov 2012 18:22:35 +0000 (18:22 +0000)]
Remove unnecessary pass_along variables usage.
Since we're passing a pointer to an allocated structure around,
put more variables into that.
Results in simpler code and hopefully no (or less) memory leakage.
Rob Norris [Mon, 19 Nov 2012 10:08:55 +0000 (10:08 +0000)]
Tidy up: remove unused parameter in select track or waypoint functions
Rob Norris [Sun, 18 Nov 2012 22:34:38 +0000 (22:34 +0000)]
Allow configuration of trackpoint size and direction arrow size drawing.
Rob Norris [Sun, 18 Nov 2012 11:01:47 +0000 (11:01 +0000)]
Add the capability to draw a directional arrow on tracks.
This is drawn at the midpoint between two track points.
ATM this is defaulted to off
Rob Norris [Sat, 17 Nov 2012 00:08:05 +0000 (00:08 +0000)]
SF#
2783468 : Show UTM location in statusbar when in UTM mode.
Rob Norris [Fri, 16 Nov 2012 21:28:07 +0000 (21:28 +0000)]
Change the save to image to only use tile supported zoom levels.
I can't see much point in allowing random zoom levels here,
since normally you'd want to actually see the tile images.
Rob Norris [Fri, 16 Nov 2012 21:21:22 +0000 (21:21 +0000)]
Add a zoom combo box into the toolbar
Enables an even quicker jumping to various zoom levels than having to navigate the menus.
Rob Norris [Sat, 24 Nov 2012 11:58:11 +0000 (11:58 +0000)]
[DOC] Add version and source to the man page.
Also update the date and remove old/superfluous text.
Rob Norris [Fri, 16 Nov 2012 23:43:17 +0000 (23:43 +0000)]
[I8N] Maintain .vik file compatibilty with translated layer names.
Translation capability added in SHA1:
affcc0f201d869d534f305e2b955e2afcc2975fe
Unfortunately this 'name' is also used as the Layer identifier in .vik files.
Thus separate out the layer name for file use only and on for I8N for display use.
Rob Norris [Fri, 16 Nov 2012 21:11:17 +0000 (21:11 +0000)]
Better integer type usage
Rob Norris [Fri, 16 Nov 2012 21:09:55 +0000 (21:09 +0000)]
Add G_BEGIN_DECLS and G_END_DECLS to most header files.
Rob Norris [Fri, 16 Nov 2012 16:11:01 +0000 (16:11 +0000)]
Add missing G_END_DECLS to header files.
Rob Norris [Fri, 16 Nov 2012 17:05:10 +0000 (17:05 +0000)]
Add missing define for a header file
Rob Norris [Fri, 16 Nov 2012 21:23:01 +0000 (21:23 +0000)]
[DOC] Add information about file types and window level operations to the user manual.
Rob Norris [Mon, 12 Nov 2012 22:56:51 +0000 (22:56 +0000)]
[DOC] Fixup help on mouse clicks.
Rob Norris [Fri, 16 Nov 2012 19:50:49 +0000 (19:50 +0000)]
Fix build for optional use of libX11
Rob Norris [Sun, 4 Nov 2012 14:06:53 +0000 (14:06 +0000)]
Tidy up: Remove used function.
Rob Norris [Sat, 3 Nov 2012 00:26:37 +0000 (00:26 +0000)]
Never willingly abort, remove exit() statements.
The program should be able to continue despite issues preventing full operation.
Rob Norris [Sun, 11 Nov 2012 23:21:56 +0000 (23:21 +0000)]
Merge branch 'HelpUpdates'
Rob Norris [Sun, 11 Nov 2012 23:04:06 +0000 (23:04 +0000)]
[DOC] New Upload to GPS methods detail.
Rob Norris [Sun, 11 Nov 2012 21:16:14 +0000 (21:16 +0000)]
[DOC] Illustrate help for all the tools with the associated icon.
Rob Norris [Sun, 11 Nov 2012 10:58:34 +0000 (10:58 +0000)]
Improve feedback if there is some problem in opening the help.
Rob Norris [Sun, 11 Nov 2012 10:57:00 +0000 (10:57 +0000)]
[DOC] Reminder on how to generate the PDF help
Rob Norris [Sun, 11 Nov 2012 10:56:16 +0000 (10:56 +0000)]
Remove unused script
Rob Norris [Sat, 10 Nov 2012 19:00:49 +0000 (19:00 +0000)]
[DOC] Example on how to convert help output for the Wiki
Rob Norris [Sat, 10 Nov 2012 18:05:38 +0000 (18:05 +0000)]
[DOC] Map Cache Information
Rob Norris [Sat, 10 Nov 2012 12:18:41 +0000 (12:18 +0000)]
[DOC] There's more Howto's now.
Rob Norris [Sat, 10 Nov 2012 12:18:12 +0000 (12:18 +0000)]
[DOC] Add GPS Real Time Howto
Rob Norris [Fri, 9 Nov 2012 13:48:30 +0000 (13:48 +0000)]
[DOC] Extend Geotagging Help
Rob Norris [Fri, 9 Nov 2012 13:48:01 +0000 (13:48 +0000)]
[DOC] Improve Getting Started Help
Include how to set the home location.
Include location search.
Improve GPS Device selection information.
Rob Norris [Fri, 9 Nov 2012 13:45:27 +0000 (13:45 +0000)]
[DOC] Misc tidy ups in help
Fix some errors.
Improve Track creation steps.
Improve Waypoint Image viewing information.
Rob Norris [Wed, 7 Nov 2012 18:32:46 +0000 (18:32 +0000)]
Add configuration to generate help in HTML format
This uses the docbook xml source.
ATM writes it all to a single html page.
Rob Norris [Tue, 16 Oct 2012 09:35:35 +0000 (10:35 +0100)]
Add copyright of Rob Norris in documentation and update the year
Add auto generated document date
Rob Norris [Tue, 2 Oct 2012 13:15:20 +0000 (14:15 +0100)]
Remove document which relates to using a bespoke version of Viking.
Rob Norris [Tue, 2 Oct 2012 13:12:50 +0000 (14:12 +0100)]
Remove unnecessary .*config files.
Rob Norris [Tue, 2 Oct 2012 13:07:50 +0000 (14:07 +0100)]
Remove old and unused gpsd pixmap
Rob Norris [Thu, 25 Oct 2012 17:43:15 +0000 (18:43 +0100)]
Allow a simple Waypoint text size to be set per layer.
A choice of "Extra Extra Small", "Extra Small", "Small", "Medium",
"Large", "Extra Large" or "Extra Extra Large" is allowed.
This is derived from the Pango Markup options.
When saved to a .vik file these are held as an enum integer value.
Rob Norris [Thu, 25 Oct 2012 17:40:39 +0000 (18:40 +0100)]
Use default system font in manually created layouts.
Rob Norris [Sun, 14 Oct 2012 21:03:02 +0000 (22:03 +0100)]
Tidy some functions to use the VikTrack type properly
Rob Norris [Fri, 2 Nov 2012 00:02:01 +0000 (00:02 +0000)]
Add file filter for Viking type files in the save as function.
Rob Norris [Sun, 14 Oct 2012 23:58:02 +0000 (00:58 +0100)]
When downloading maps along a track always display the maps when available!
Rob Norris [Wed, 10 Oct 2012 23:51:12 +0000 (00:51 +0100)]
Add support of GPX comments and descriptions for tracks and waypoints.
Show descriptions in the appropriate properties dialog for the track or waypoint and allow editting of the text.
Enable saving in .vik (+gpspoint) files.
Rob Norris [Wed, 31 Oct 2012 20:13:00 +0000 (20:13 +0000)]
Add simple user feedback about the image generation process.
Using large areas (i.e. over 2000x2000) can take some time to process.
Unfortunately current method can not be run in the background.
So display a message before and after the process to help the user understand what is happening/happened,
including failure outcomes.
Rob Norris [Wed, 31 Oct 2012 20:02:13 +0000 (20:02 +0000)]
Add basic image type file filters of JPG and PNG when saving to an image file.
Default to PNG, as that is the dialog option default.
Rob Norris [Mon, 29 Oct 2012 18:52:24 +0000 (18:52 +0000)]
Rework draw_to_image_file() methods to ask for filename later in the process.
Rob Norris [Mon, 29 Oct 2012 01:04:05 +0000 (01:04 +0000)]
SF#
2831256 : Allow generation of large pixel sized images.
Also actually check returned pixmap reference is valid.
Unfortunately no simple way to tell ahead of time what the maximum allowed size is.
Thus enable trapping of X errors on Linux like systems and simply ignore them.
AFAIK no simple way to trap such memory allocation errors on Windows,
so add warning on save to image file dialog about 'large area may crash the program',
on Windows builds only.
Rob Norris [Mon, 29 Oct 2012 00:13:53 +0000 (00:13 +0000)]
Correct spelling of map cache.
Rob Norris [Mon, 29 Oct 2012 00:12:56 +0000 (00:12 +0000)]
Bump up default map cache size to 128MB and allow setting to 1GB.
Set configure to use map cache size in MB rather than in unwieldy bytes.
Rob Norris [Sat, 20 Oct 2012 00:15:28 +0000 (01:15 +0100)]
Add acquire from file into the TrackWaypoint menu options.
Rob Norris [Sun, 4 Nov 2012 11:32:05 +0000 (11:32 +0000)]
Fixup and simplify GPX saving tracks in timestamp order.
Was broken by commit SHA1:
ce4bd1cfaab763dad3aab9b20edce22eb57aac0f
Rob Norris [Fri, 2 Nov 2012 21:50:11 +0000 (21:50 +0000)]
Merge branch 'TrackWaypoint-GPS-Up'
Rob Norris [Fri, 12 Oct 2012 12:09:49 +0000 (13:09 +0100)]
SF#356778: Download Map Tiles using F5
Enable refreshing and redownloading the upper most visible map layer via standard keyboard shortcuts.
Enable key press event on the layers panel to, so that they can be processed.
Expose download map onscreen method in maps layer
Use F5 and Ctrl+r to refresh maps.
Also add Ctrl+F5 and Ctrl+Shift+R to redownload all maps.
Move show Scale Indicator toggle to Shift+F5.
Rob Norris [Fri, 12 Oct 2012 11:45:06 +0000 (12:45 +0100)]
[DOC] Some help detail about keyboard shortcuts.
Rob Norris [Thu, 11 Oct 2012 12:59:21 +0000 (13:59 +0100)]
Minor tidy ups.
Rob Norris [Wed, 10 Oct 2012 10:12:24 +0000 (11:12 +0100)]
SF#
3575828 : Ensure new track drawing uses track property line thickness
Stanislav Brabec [Thu, 25 Oct 2012 22:40:47 +0000 (23:40 +0100)]
New Desktop Menu Specification[1] finally has appropriate Category for map applications: Maps
[1] http://specifications.freedesktop.org/menu-spec/menu-spec-latest.html#main-category-registry
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
Rob Norris [Sun, 21 Oct 2012 13:52:16 +0000 (14:52 +0100)]
Ensures the highlight gets drawn around waypoint image when waypoint is near the screen edge
Rob Norris [Fri, 19 Oct 2012 23:00:41 +0000 (00:00 +0100)]
Another bit of Google Directions needs ifdef disabling
Rob Norris [Sun, 30 Sep 2012 18:40:12 +0000 (19:40 +0100)]
Allow GPS Upload from any selected TrackWaypoint layer or individual track.
Use the newly exposed GPS datasource GUI to get GPS options and then pass on to the newly exposed GPS layer communication method to handle the actual processing and feedback.
Create new submenu for Uploading, putting the GPS Upload there and moving the OSM Upload there too.
Rob Norris [Sun, 30 Sep 2012 18:36:26 +0000 (19:36 +0100)]
Expose methods to get details about options from the GPS datasource selection GUI.
Rob Norris [Sun, 30 Sep 2012 18:18:50 +0000 (19:18 +0100)]
Only create dialog in GPS communication layer if we're going to do some transferring
Rob Norris [Sun, 30 Sep 2012 18:17:37 +0000 (19:17 +0100)]
Add option to turn off GPS device in GPS Layer communication.
Rob Norris [Sun, 30 Sep 2012 18:13:09 +0000 (19:13 +0100)]
On all GPS Uploads/Downloads always update progress status with 'Status: Working...'
Otherwise still says 'Status: detecting gpsbabel' which is not true!
Rob Norris [Sun, 30 Sep 2012 18:09:13 +0000 (19:09 +0100)]
Fix opening GPX files with own internal "hidden" markers on waypoints.
Processing of attr used to fail on waypoints as it previously got confused with the "lat" and "long" text.
Modify track hidden code operate in clearer manner too.
Rob Norris [Sun, 30 Sep 2012 18:04:24 +0000 (19:04 +0100)]
Enable option to not write invisible tracks or waypoints in GPX file and don't write them on GPSBabel convert to method.
This is primarily for only transferring enabled items when uploading to a GPS device.
Solidify a_gpx_write_X functions to always specify writing options, although the options can be set to NULL for default behaviour.
Set OSM uploads to not use invisible tracks since the user won't be expecting those to be transferred and probably shouldn't be transferring 'unusual' GPX files with the non-standard "hidden" text anyway
Rob Norris [Sun, 30 Sep 2012 15:04:46 +0000 (16:04 +0100)]
Allow uploading a single track via the GPS layer interface.
Rob Norris [Sun, 30 Sep 2012 11:42:48 +0000 (12:42 +0100)]
Expose the GPS device communication in the GPS layer for reuse.
Rob Norris [Sat, 29 Sep 2012 01:08:03 +0000 (02:08 +0100)]
Make GPS layer use dynamic list of GPS devices as supported by GPSBabel.
ATM use the protocol name for list.
Rob Norris [Mon, 24 Sep 2012 22:38:18 +0000 (23:38 +0100)]
Allow passing just a track into a_babel_convert_to() for uploading to a GPS Device
Rob Norris [Wed, 10 Oct 2012 21:40:49 +0000 (22:40 +0100)]
Correct layer read definition + enable reporting of issues from gpspoint parts in .vik files
Blank sections of gpspoint parts in .vik files is OK, so don't report them.
Rob Norris [Wed, 10 Oct 2012 21:24:43 +0000 (22:24 +0100)]
Add basic warning message if an issue has been detected in loading a .vik file.
Rob Norris [Tue, 9 Oct 2012 22:27:30 +0000 (23:27 +0100)]
Tidy up variable names
Rob Norris [Sun, 7 Oct 2012 09:55:20 +0000 (10:55 +0100)]
Improve optional build of documentation components
Rob Norris [Sun, 30 Sep 2012 18:42:44 +0000 (19:42 +0100)]
Limit the size of GPS Babel 'friendly' labels since they can be really long.
Otherwise this makes the dialog boxes unnecessarily/annoyingly wide.
Rob Norris [Sat, 13 Oct 2012 09:19:40 +0000 (10:19 +0100)]
[DOC] Amend help to detail new merge, split and delete points track operations.