]> err.no Git - mapper/log
mapper
16 years agoWiden the progress dialog and don't show it so the calling function can modify it...
Kaj-Michael Lang [Wed, 9 Apr 2008 08:32:20 +0000 (11:32 +0300)]
Widen the progress dialog and don't show it so the calling function can modify it before showing.

16 years agoAdd simple angle diff function
Kaj-Michael Lang [Wed, 9 Apr 2008 08:31:52 +0000 (11:31 +0300)]
Add simple angle diff function

16 years agoRemove POI load debug output
Kaj-Michael Lang [Wed, 9 Apr 2008 08:31:28 +0000 (11:31 +0300)]
Remove POI load debug output

16 years agoAdd helper function to just check if location hasn't changed too much.
Kaj-Michael Lang [Tue, 8 Apr 2008 14:03:03 +0000 (17:03 +0300)]
Add helper function to just check if location hasn't changed too much.

16 years agoUse thumb friendly scrollbar on tablet
Kaj-Michael Lang [Tue, 8 Apr 2008 12:30:07 +0000 (15:30 +0300)]
Use thumb friendly scrollbar on tablet

16 years agoUse g_debug instead of g_printf + small cosmetic changes.
Kaj-Michael Lang [Tue, 8 Apr 2008 08:31:04 +0000 (11:31 +0300)]
Use g_debug instead of g_printf + small cosmetic changes.

16 years agoMerge branch 'master' of ssh://git.tal.org/home/git/mapper
Kaj-Michael Lang [Tue, 8 Apr 2008 07:58:32 +0000 (10:58 +0300)]
Merge branch 'master' of ssh://git.tal.org/home/git/mapper

16 years agoStart to add support for zoom ranges
Kaj-Michael Lang [Tue, 8 Apr 2008 07:58:16 +0000 (10:58 +0300)]
Start to add support for zoom ranges

16 years agoUse pretty time format for audio note
Kaj-Michael Lang [Mon, 7 Apr 2008 14:05:49 +0000 (17:05 +0300)]
Use pretty time format for audio note

16 years agoUse road type (if known) as auto zoom base value:
Kaj-Michael Lang [Mon, 7 Apr 2008 14:04:36 +0000 (17:04 +0300)]
Use road type (if known) as auto zoom base value:
- On "fast" roads zoom out more
- On "moderate" roads stay close
- On "slow" roads zoom in close

16 years agoAdd parent window argument to poi_info_dialog
Kaj-Michael Lang [Mon, 7 Apr 2008 13:17:16 +0000 (16:17 +0300)]
Add parent window argument to poi_info_dialog

16 years agoAdd "Info" button to search dialog, for POI information only for now.
Kaj-Michael Lang [Mon, 7 Apr 2008 13:16:31 +0000 (16:16 +0300)]
Add "Info" button to search dialog, for POI information only for now.

16 years agoMove the POI category combo below the text search
Kaj-Michael Lang [Mon, 7 Apr 2008 12:37:20 +0000 (15:37 +0300)]
Move the POI category combo below the text search

16 years agoUse common curl_multi, no need to check if it needs init or not
Kaj-Michael Lang [Mon, 7 Apr 2008 12:11:53 +0000 (15:11 +0300)]
Use common curl_multi, no need to check if it needs init or not

16 years agoDisconnect and reconnect to database only if the path has changed. Use a helper funct...
Kaj-Michael Lang [Mon, 7 Apr 2008 12:07:05 +0000 (15:07 +0300)]
Disconnect and reconnect to database only if the path has changed. Use a helper function to disconnect and reconnect.

16 years agoRemove pragma comments
Kaj-Michael Lang [Mon, 7 Apr 2008 12:06:40 +0000 (15:06 +0300)]
Remove pragma comments

16 years agoSmall cleanups. Set some sqlite3 pragmas on open.
Kaj-Michael Lang [Mon, 7 Apr 2008 12:06:12 +0000 (15:06 +0300)]
Small cleanups. Set some sqlite3 pragmas on open.

16 years agoInit curl_multi once and use it until deinit
Kaj-Michael Lang [Fri, 4 Apr 2008 12:54:08 +0000 (15:54 +0300)]
Init curl_multi once and use it until deinit

16 years agoSilence warning
Kaj-Michael Lang [Fri, 4 Apr 2008 12:38:12 +0000 (15:38 +0300)]
Silence warning

16 years agoAllow using hostnames for gpsd connection, not only IP addresses.
Kaj-Michael Lang [Fri, 4 Apr 2008 12:37:39 +0000 (15:37 +0300)]
Allow using hostnames for gpsd connection, not only IP addresses.

16 years agoFix quick poi sigsegv, _track is now dynamic
Kaj-Michael Lang [Tue, 1 Apr 2008 11:35:15 +0000 (14:35 +0300)]
Fix quick poi sigsegv, _track is now dynamic

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

16 years agoFix hardware key customization dialog menu
Kaj-Michael Lang [Fri, 21 Mar 2008 20:12:03 +0000 (22:12 +0200)]
Fix hardware key customization dialog menu

16 years agoUpdate for 1.0.3.95-5-rc1
Kaj-Michael Lang [Fri, 21 Mar 2008 19:21:13 +0000 (21:21 +0200)]
Update for 1.0.3.95-5-rc1

16 years agoDisable debuging in packages
Kaj-Michael Lang [Fri, 21 Mar 2008 19:20:57 +0000 (21:20 +0200)]
Disable debuging in packages

16 years agoSmall fix to skip for 30 secs if nothing found logic
Kaj-Michael Lang [Fri, 21 Mar 2008 18:50:55 +0000 (20:50 +0200)]
Small fix to skip for 30 secs if nothing found logic

16 years agoGet/Set announcements flags
Kaj-Michael Lang [Fri, 21 Mar 2008 18:44:02 +0000 (20:44 +0200)]
Get/Set announcements flags

16 years agoDon't announce waypoints unless _announce_waypoints==TRUE
Kaj-Michael Lang [Fri, 21 Mar 2008 18:39:51 +0000 (20:39 +0200)]
Don't announce waypoints unless _announce_waypoints==TRUE

16 years agoUse correct data type, now the simulator works
Kaj-Michael Lang [Fri, 21 Mar 2008 18:39:21 +0000 (20:39 +0200)]
Use correct data type, now the simulator works

16 years agoAdd announcement flags. Remove some warnings.
Kaj-Michael Lang [Fri, 21 Mar 2008 12:46:09 +0000 (14:46 +0200)]
Add announcement flags. Remove some warnings.

16 years agoAnnounce distance to destination only if _announce_destination==TRUE
Kaj-Michael Lang [Fri, 21 Mar 2008 12:45:16 +0000 (14:45 +0200)]
Announce distance to destination only if _announce_destination==TRUE

16 years agoCosmetic changes only.
Kaj-Michael Lang [Fri, 21 Mar 2008 12:44:51 +0000 (14:44 +0200)]
Cosmetic changes only.

16 years agoAdd new keys for home, destination and announcement flags
Kaj-Michael Lang [Fri, 21 Mar 2008 12:44:28 +0000 (14:44 +0200)]
Add new keys for home, destination and announcement flags

16 years agoPrint POI title in very near zoom only.
Kaj-Michael Lang [Fri, 21 Mar 2008 12:43:46 +0000 (14:43 +0200)]
Print POI title in very near zoom only.

16 years agoUse the new position save function to save home and also destination.
Kaj-Michael Lang [Fri, 21 Mar 2008 12:42:55 +0000 (14:42 +0200)]
Use the new position save function to save home and also destination.
- Someday we will have a proper bookmarks system but for now this will do.

16 years agoGPS simulator changes:
Kaj-Michael Lang [Fri, 21 Mar 2008 12:41:46 +0000 (14:41 +0200)]
GPS simulator changes:
- Set start position to home if set
- If destination is set, try to travel towards it, otherwise use the old random way.

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.