]> err.no Git - mapper/log
mapper
16 years agoMisc
Kaj-Michael Lang [Fri, 21 Mar 2008 12:41:38 +0000 (14:41 +0200)]
Misc

16 years agoAdd position save/load functions, config_load_position and config_save_position,
Kaj-Michael Lang [Fri, 21 Mar 2008 12:40:36 +0000 (14:40 +0200)]
Add position save/load functions, config_load_position and config_save_position,
remove home position save function. Use gconf pair to store lat/lon position pairs.

16 years agoMove path_load/save function to path.c
Kaj-Michael Lang [Thu, 20 Mar 2008 21:53:56 +0000 (23:53 +0200)]
Move path_load/save function to path.c

16 years agoUse helper functions. Change some ordering just for cosmetic reasons.
Kaj-Michael Lang [Thu, 20 Mar 2008 21:10:12 +0000 (23:10 +0200)]
Use helper functions. Change some ordering just for cosmetic reasons.

16 years agoAdd mapper_gconf_get_boolean helper function. Fix model building and remove unused...
Kaj-Michael Lang [Thu, 20 Mar 2008 15:11:59 +0000 (17:11 +0200)]
Add mapper_gconf_get_boolean helper function. Fix model building and remove unused variables.

16 years agoFixes to settings dialog
Kaj-Michael Lang [Thu, 20 Mar 2008 14:03:16 +0000 (16:03 +0200)]
Fixes to settings dialog

16 years agoFix
Kaj-Michael Lang [Thu, 20 Mar 2008 13:02:08 +0000 (15:02 +0200)]
Fix

16 years agoPrint progress properly
Kaj-Michael Lang [Thu, 20 Mar 2008 13:00:08 +0000 (15:00 +0200)]
Print progress properly

16 years agoRemove debug message
Kaj-Michael Lang [Thu, 20 Mar 2008 09:00:17 +0000 (11:00 +0200)]
Remove debug message

16 years agoRemove unused code.
Kaj-Michael Lang [Thu, 20 Mar 2008 09:00:00 +0000 (11:00 +0200)]
Remove unused code.

16 years agoUse a helper function to load strings lists from gconf into a liststore
Kaj-Michael Lang [Thu, 20 Mar 2008 08:59:30 +0000 (10:59 +0200)]
Use a helper function to load strings lists from gconf into a liststore

16 years agoPrint message if epspeak is enabled
Kaj-Michael Lang [Thu, 20 Mar 2008 08:58:54 +0000 (10:58 +0200)]
Print message if epspeak is enabled

16 years agoList geoclue and gypsy. Remove gpsd, it now works.
Kaj-Michael Lang [Thu, 20 Mar 2008 08:50:24 +0000 (10:50 +0200)]
List geoclue and gypsy. Remove gpsd, it now works.

16 years agoAdd new notebook pages. Grey out voice settings if espeak is not enabled.
Kaj-Michael Lang [Wed, 19 Mar 2008 14:15:06 +0000 (16:15 +0200)]
Add new notebook pages. Grey out voice settings if espeak is not enabled.

16 years agoStore succesfull search strings in search_model and list
Kaj-Michael Lang [Wed, 19 Mar 2008 14:14:00 +0000 (16:14 +0200)]
Store succesfull search strings in search_model and list

16 years agoAdd missing gpx.h include
Kaj-Michael Lang [Wed, 19 Mar 2008 14:13:48 +0000 (16:13 +0200)]
Add missing gpx.h include

16 years agoAdd a enum for the gpx path prepend/append/new modes instead of arbitrary numbers.
Kaj-Michael Lang [Wed, 19 Mar 2008 14:12:36 +0000 (16:12 +0200)]
Add a enum for the gpx path prepend/append/new modes instead of arbitrary numbers.

16 years agoDo a full redraw only if a drag did happen.
Kaj-Michael Lang [Tue, 18 Mar 2008 22:06:07 +0000 (00:06 +0200)]
Do a full redraw only if a drag did happen.

16 years agoAdd g_return_val_if_fail for POI statements too.
Kaj-Michael Lang [Tue, 18 Mar 2008 19:34:27 +0000 (21:34 +0200)]
Add g_return_val_if_fail for POI statements too.

16 years agoAdd a bunch of g_return_val_if_fail checks.
Kaj-Michael Lang [Tue, 18 Mar 2008 19:05:02 +0000 (21:05 +0200)]
Add a bunch of g_return_val_if_fail checks.

16 years agoMake sure the statement is NULL if preparation fails.
Kaj-Michael Lang [Tue, 18 Mar 2008 18:58:15 +0000 (20:58 +0200)]
Make sure the statement is NULL if preparation fails.

16 years agoMove DB_PREP macro
Kaj-Michael Lang [Tue, 18 Mar 2008 18:57:16 +0000 (20:57 +0200)]
Move DB_PREP macro

16 years agoUse array of table and index definitions. Add helper db function to exec arrays of...
Kaj-Michael Lang [Tue, 18 Mar 2008 17:50:25 +0000 (19:50 +0200)]
Use array of table and index definitions. Add helper db function to exec arrays of sql statements.
Create tables and indexes in osm_init

16 years agoMisc
Kaj-Michael Lang [Tue, 18 Mar 2008 17:49:27 +0000 (19:49 +0200)]
Misc

16 years agoDon't clear gps address, zero gps data.
Kaj-Michael Lang [Tue, 18 Mar 2008 17:11:32 +0000 (19:11 +0200)]
Don't clear gps address, zero gps data.

16 years agoRename write_gpx -> gpx_write and parse_gpx -> gpx_parse
Kaj-Michael Lang [Tue, 18 Mar 2008 15:09:05 +0000 (17:09 +0200)]
Rename write_gpx -> gpx_write and parse_gpx -> gpx_parse

16 years agoSpace 2 Tab
Kaj-Michael Lang [Tue, 18 Mar 2008 12:45:28 +0000 (14:45 +0200)]
Space 2 Tab

16 years agoFix localtime parameter for gpx time metadata. Print unknown tag name and remove...
Kaj-Michael Lang [Tue, 18 Mar 2008 11:21:43 +0000 (13:21 +0200)]
Fix localtime parameter for gpx time metadata. Print unknown tag name and remove some debug output.

16 years agoBail instantly if the requested tile to render is outside our current view.
Kaj-Michael Lang [Tue, 18 Mar 2008 11:17:24 +0000 (13:17 +0200)]
Bail instantly if the requested tile to render is outside our current view.

16 years agoAdd map tile download by Track
Kaj-Michael Lang [Tue, 18 Mar 2008 11:17:11 +0000 (13:17 +0200)]
Add map tile download by Track

16 years agoRemove useless debug output
Kaj-Michael Lang [Tue, 18 Mar 2008 11:06:06 +0000 (13:06 +0200)]
Remove useless debug output

16 years agoFinaly create an icon for Mapper. I have über 1337 art sk1lZ, or not.
Kaj-Michael Lang [Tue, 18 Mar 2008 10:30:37 +0000 (12:30 +0200)]
Finaly create an icon for Mapper. I have über 1337 art sk1lZ, or not.

16 years agoSome location and map rendering changes:
Kaj-Michael Lang [Mon, 17 Mar 2008 14:03:49 +0000 (16:03 +0200)]
Some location and map rendering changes:
- Make center_ratio a parameter to the macros.
- Combine some debug output to make it more clear.
- Misc other things.

16 years agoAdd gps_clear helper to clear the gps data on disconnect.
Kaj-Michael Lang [Mon, 17 Mar 2008 14:02:05 +0000 (16:02 +0200)]
Add gps_clear helper to clear the gps data on disconnect.

16 years agoGPX output fixes. Add metadata section, only time for now. Don't waste space with...
Kaj-Michael Lang [Sat, 15 Mar 2008 12:43:33 +0000 (14:43 +0200)]
GPX output fixes. Add metadata section, only time for now. Don't waste space with blanks in the xml file.

16 years agoKeep zoom level if already close when going to Home location.
Kaj-Michael Lang [Sat, 15 Mar 2008 12:42:58 +0000 (14:42 +0200)]
Keep zoom level if already close when going to Home location.

16 years agoEnable Hal support
Kaj-Michael Lang [Thu, 13 Mar 2008 16:31:08 +0000 (18:31 +0200)]
Enable Hal support

16 years agoMerge branch 'master' of git+ssh://tal.org/home/git/mapper
Kaj-Michael Lang [Thu, 13 Mar 2008 15:47:26 +0000 (17:47 +0200)]
Merge branch 'master' of git+ssh://tal.org/home/git/mapper

16 years agoRemove
Kaj-Michael Lang [Thu, 13 Mar 2008 15:28:50 +0000 (17:28 +0200)]
Remove

16 years agoUse dynamicaly allocated _track and _route.
Kaj-Michael Lang [Thu, 13 Mar 2008 14:48:29 +0000 (16:48 +0200)]
Use dynamicaly allocated _track and _route.

16 years agoAdd option with cairo and opengl enabled.
Kaj-Michael Lang [Thu, 13 Mar 2008 14:48:11 +0000 (16:48 +0200)]
Add option with cairo and opengl enabled.

16 years agoAdd path_new and path_free. No need to set fields two 0 in macro.
Kaj-Michael Lang [Thu, 13 Mar 2008 14:36:03 +0000 (16:36 +0200)]
Add path_new and path_free. No need to set fields two 0 in macro.

16 years agoDon't try to save a route if route is empty.
Kaj-Michael Lang [Thu, 13 Mar 2008 14:27:08 +0000 (16:27 +0200)]
Don't try to save a route if route is empty.

16 years agoTiny gps simulator fix, don't be so eager to change direction.
Kaj-Michael Lang [Thu, 13 Mar 2008 14:26:51 +0000 (16:26 +0200)]
Tiny gps simulator fix, don't be so eager to change direction.

16 years agoSigh.. use correct dbus connection for hal.
Kaj-Michael Lang [Thu, 13 Mar 2008 14:26:29 +0000 (16:26 +0200)]
Sigh.. use correct dbus connection for hal.

16 years agoUse map_pixmap_get
Kaj-Michael Lang [Thu, 13 Mar 2008 13:53:34 +0000 (15:53 +0200)]
Use map_pixmap_get

16 years agoAdd last_valid field to location struct.
Kaj-Michael Lang [Thu, 13 Mar 2008 13:53:05 +0000 (15:53 +0200)]
Add last_valid field to location struct.

16 years agoStart to add gtkglext support. Make buffer pixmap private to map.c and access it...
Kaj-Michael Lang [Thu, 13 Mar 2008 13:52:46 +0000 (15:52 +0200)]
Start to add gtkglext support. Make buffer pixmap private to map.c and access it using a function.

16 years agoFunction rename
Kaj-Michael Lang [Thu, 13 Mar 2008 13:51:52 +0000 (15:51 +0200)]
Function rename

16 years agoAdd announce_waypoint
Kaj-Michael Lang [Thu, 13 Mar 2008 13:51:31 +0000 (15:51 +0200)]
Add announce_waypoint

16 years agoAdd basic gtkglext init. Hal init success changes.
Kaj-Michael Lang [Thu, 13 Mar 2008 13:51:17 +0000 (15:51 +0200)]
Add basic gtkglext init. Hal init success changes.

16 years agoSmall fixes to location handling and debug messages.
Kaj-Michael Lang [Thu, 13 Mar 2008 13:50:40 +0000 (15:50 +0200)]
Small fixes to location handling and debug messages.
Use g_debug and g_warning instead of g_printf and g_printerr.
If we fail to find a location 10 times in a row, stop checking for 30 seconds.

16 years agoRoute, track and menu changes.
Kaj-Michael Lang [Thu, 13 Mar 2008 12:55:56 +0000 (14:55 +0200)]
Route, track and menu changes.

Move route specific operations from track.c to route.c,
handle waypoint announce check in gps position cb.
Move poi search menu enty under Poi menu.

16 years agoFix variable usage
Kaj-Michael Lang [Thu, 13 Mar 2008 12:06:09 +0000 (14:06 +0200)]
Fix variable usage

16 years agoSet track maxspeed from gps
Kaj-Michael Lang [Wed, 12 Mar 2008 12:54:31 +0000 (14:54 +0200)]
Set track maxspeed from gps

16 years agoAdd path metadata fields, names from GPX metadata.
Kaj-Michael Lang [Wed, 12 Mar 2008 12:54:04 +0000 (14:54 +0200)]
Add path metadata fields, names from GPX metadata.
Add some extra data fields to Position struct.

16 years agoSmall debug output fix.
Kaj-Michael Lang [Tue, 11 Mar 2008 13:07:48 +0000 (15:07 +0200)]
Small debug output fix.

16 years agoUse a macro helper to prepare SQL statements
Kaj-Michael Lang [Tue, 11 Mar 2008 08:26:40 +0000 (10:26 +0200)]
Use a macro helper to prepare SQL statements

16 years agoMerge branch 'master' of git+ssh://tal.org/home/git/mapper
Kaj-Michael Lang [Mon, 10 Mar 2008 12:37:38 +0000 (14:37 +0200)]
Merge branch 'master' of git+ssh://tal.org/home/git/mapper

16 years agoFormating
Kaj-Michael Lang [Mon, 10 Mar 2008 11:47:29 +0000 (13:47 +0200)]
Formating

16 years agoSome debuging stats and messages.
Kaj-Michael Lang [Mon, 10 Mar 2008 11:08:05 +0000 (13:08 +0200)]
Some debuging stats and messages.

16 years agoFormat displayed lat,lon properly in path store generation.
Kaj-Michael Lang [Fri, 7 Mar 2008 13:08:56 +0000 (15:08 +0200)]
Format displayed lat,lon properly in path store generation.
Add some debuging.

16 years agoEnable hal in the examples configurations
Kaj-Michael Lang [Fri, 7 Mar 2008 13:07:48 +0000 (15:07 +0200)]
Enable hal in the examples configurations

16 years agoUpdate path data fields with length, avg speed and points when adding points.
Kaj-Michael Lang [Fri, 7 Mar 2008 13:07:25 +0000 (15:07 +0200)]
Update path data fields with length, avg speed and points when adding points.

16 years agoAdd some data fields to the path struct
Kaj-Michael Lang [Fri, 7 Mar 2008 13:06:38 +0000 (15:06 +0200)]
Add some data fields to the path struct

16 years agoAdd functions to handle headphone button presses on tablets. Untested.
Kaj-Michael Lang [Fri, 7 Mar 2008 12:57:44 +0000 (14:57 +0200)]
Add functions to handle headphone button presses on tablets. Untested.

16 years agoAdd hal option and set libs and cflags
Kaj-Michael Lang [Fri, 7 Mar 2008 12:56:48 +0000 (14:56 +0200)]
Add hal option and set libs and cflags

16 years agoInclude dialogs.h
Kaj-Michael Lang [Fri, 7 Mar 2008 11:12:02 +0000 (13:12 +0200)]
Include dialogs.h

16 years agoUse dsp sink only if defined (WITH_DEVICE_770) && defined(__arm__)
Kaj-Michael Lang [Fri, 7 Mar 2008 11:11:46 +0000 (13:11 +0200)]
Use dsp sink only if defined (WITH_DEVICE_770) && defined(__arm__)

16 years agoUse correct gst version
Kaj-Michael Lang [Fri, 7 Mar 2008 11:09:18 +0000 (13:09 +0200)]
Use correct gst version

16 years agoSet proper configure switches
Kaj-Michael Lang [Fri, 7 Mar 2008 11:08:58 +0000 (13:08 +0200)]
Set proper configure switches

16 years agoFix silly typos
Kaj-Michael Lang [Fri, 7 Mar 2008 11:08:34 +0000 (13:08 +0200)]
Fix silly typos

16 years agoAdd option for gtkglext
Kaj-Michael Lang [Thu, 6 Mar 2008 12:40:37 +0000 (14:40 +0200)]
Add option for gtkglext

16 years agoUse common path_insert_mark_text
Kaj-Michael Lang [Thu, 6 Mar 2008 12:08:34 +0000 (14:08 +0200)]
Use common path_insert_mark_text

16 years agoMove _track to track.h
Kaj-Michael Lang [Thu, 6 Mar 2008 12:07:49 +0000 (14:07 +0200)]
Move _track to track.h

16 years agoRemove line break from debug output
Kaj-Michael Lang [Thu, 6 Mar 2008 11:56:03 +0000 (13:56 +0200)]
Remove line break from debug output

16 years agoAdd header and cast properly.
Kaj-Michael Lang [Thu, 6 Mar 2008 11:21:15 +0000 (13:21 +0200)]
Add header and cast properly.

16 years agoHopefully fix gpsbt and gpsd startup
Kaj-Michael Lang [Tue, 4 Mar 2008 15:37:01 +0000 (17:37 +0200)]
Hopefully fix gpsbt and gpsd startup

16 years agoAdd debug output for quick poi button icon setter.
Kaj-Michael Lang [Tue, 4 Mar 2008 14:58:58 +0000 (16:58 +0200)]
Add debug output for quick poi button icon setter.

16 years agoFix cancel
Kaj-Michael Lang [Mon, 3 Mar 2008 15:19:22 +0000 (17:19 +0200)]
Fix cancel

16 years agoDon't be too technical in error messages.
Kaj-Michael Lang [Mon, 3 Mar 2008 13:33:27 +0000 (15:33 +0200)]
Don't be too technical in error messages.

16 years agoDisplay a generic error message if record or playback failes to start. Don't use...
Kaj-Michael Lang [Mon, 3 Mar 2008 13:07:44 +0000 (15:07 +0200)]
Display a generic error message if record or playback failes to start. Don't use : in note filename as it won't work on FAT fs as used on the tablets.

16 years agoHandle ECONNREFUSED
Kaj-Michael Lang [Mon, 3 Mar 2008 13:06:41 +0000 (15:06 +0200)]
Handle ECONNREFUSED

16 years agoMake track break and text to generic path functions
Kaj-Michael Lang [Mon, 3 Mar 2008 12:20:22 +0000 (14:20 +0200)]
Make track break and text to generic path functions

16 years agoRename function as it's not track specific
Kaj-Michael Lang [Mon, 3 Mar 2008 12:15:06 +0000 (14:15 +0200)]
Rename function as it's not track specific

16 years agoUse correct window for the error popup
Kaj-Michael Lang [Mon, 3 Mar 2008 12:08:16 +0000 (14:08 +0200)]
Use correct window for the error popup

16 years agoUse correct default gpsd port
Kaj-Michael Lang [Mon, 3 Mar 2008 11:54:22 +0000 (13:54 +0200)]
Use correct default gpsd port

16 years agoCheck that we have a gtk version with gtk_button_set_image_position before using it
Kaj-Michael Lang [Mon, 3 Mar 2008 10:12:43 +0000 (12:12 +0200)]
Check that we have a gtk version with gtk_button_set_image_position before using it

16 years agoInclude settings.h so the banner macro hildon version works.
Kaj-Michael Lang [Mon, 3 Mar 2008 10:12:14 +0000 (12:12 +0200)]
Include settings.h so the banner macro hildon version works.

16 years agoAdd current wav file field to struct
Kaj-Michael Lang [Mon, 3 Mar 2008 09:39:29 +0000 (11:39 +0200)]
Add current wav file field to struct

16 years agoUse alsasink on desktop
Kaj-Michael Lang [Mon, 3 Mar 2008 09:39:11 +0000 (11:39 +0200)]
Use alsasink on desktop

16 years agoFix playback pipeline+ui fixes.
Kaj-Michael Lang [Mon, 3 Mar 2008 09:38:48 +0000 (11:38 +0200)]
Fix playback pipeline+ui fixes.

16 years agoProperly stop the record pipeline
Kaj-Michael Lang [Fri, 29 Feb 2008 14:17:09 +0000 (16:17 +0200)]
Properly stop the record pipeline

16 years agoAdd pos_sid to struct
Kaj-Michael Lang [Fri, 29 Feb 2008 14:16:55 +0000 (16:16 +0200)]
Add pos_sid to struct

16 years agoAdd simple position text. Add more checks.
Kaj-Michael Lang [Fri, 29 Feb 2008 14:13:11 +0000 (16:13 +0200)]
Add simple position text. Add more checks.

16 years agoAlways run gtk mainloop in sqlite cb.
Kaj-Michael Lang [Fri, 29 Feb 2008 14:12:43 +0000 (16:12 +0200)]
Always run gtk mainloop in sqlite cb.

16 years agoAllow a bit faster movement for the random gps simulator.
Kaj-Michael Lang [Fri, 29 Feb 2008 14:11:30 +0000 (16:11 +0200)]
Allow a bit faster movement for the random gps simulator.

16 years agoFixes to gstreamer element and caps handlings.
Kaj-Michael Lang [Fri, 29 Feb 2008 13:55:00 +0000 (15:55 +0200)]
Fixes to gstreamer element and caps handlings.

16 years agoUse g_debug instead of g_printf. Check elements directly after creating.
Kaj-Michael Lang [Fri, 29 Feb 2008 09:20:23 +0000 (11:20 +0200)]
Use g_debug instead of g_printf. Check elements directly after creating.

16 years agoMore distcheck fixes
Kaj-Michael Lang [Thu, 28 Feb 2008 20:40:53 +0000 (22:40 +0200)]
More distcheck fixes