]>
err.no Git - mapper/log
Kaj-Michael Lang [Thu, 10 Apr 2008 14:51:18 +0000 (17:51 +0300)]
Small cleanups and error checking for home dir
Kaj-Michael Lang [Thu, 10 Apr 2008 14:22:13 +0000 (17:22 +0300)]
Grey out Route menu entries if we have no route.
Kaj-Michael Lang [Thu, 10 Apr 2008 14:21:30 +0000 (17:21 +0300)]
Grey out Route menu entries that require a loaded route.
Kaj-Michael Lang [Thu, 10 Apr 2008 11:16:52 +0000 (14:16 +0300)]
Fix build for OS2006/7, hildon_helper_set_thumb_scrollbar() is only available under new hildon libs
Kaj-Michael Lang [Thu, 10 Apr 2008 11:16:38 +0000 (14:16 +0300)]
include <glib/gstdio.h>
Kaj-Michael Lang [Thu, 10 Apr 2008 11:15:58 +0000 (14:15 +0300)]
Make HAL optional even if requested
Kaj-Michael Lang [Wed, 9 Apr 2008 21:51:51 +0000 (00:51 +0300)]
Update for package
Kaj-Michael Lang [Wed, 9 Apr 2008 21:48:01 +0000 (00:48 +0300)]
Check place if forced or distance is over limit
Kaj-Michael Lang [Wed, 9 Apr 2008 20:46:08 +0000 (23:46 +0300)]
Merge branch 'master' of ssh://git.tal.org/home/git/mapper
Kaj-Michael Lang [Wed, 9 Apr 2008 20:46:01 +0000 (23:46 +0300)]
Remove debug
Kaj-Michael Lang [Wed, 9 Apr 2008 13:39:25 +0000 (16:39 +0300)]
Small changes to db reconnect
Kaj-Michael Lang [Wed, 9 Apr 2008 10:34:09 +0000 (13:34 +0300)]
Set basedir on init. Don't expand time display.
Kaj-Michael Lang [Wed, 9 Apr 2008 09:30:14 +0000 (12:30 +0300)]
Add a simple destination icon, from OSM icon collection
Kaj-Michael Lang [Wed, 9 Apr 2008 09:29:34 +0000 (12:29 +0300)]
Use define for mmc paths
Kaj-Michael Lang [Wed, 9 Apr 2008 09:29:11 +0000 (12:29 +0300)]
Draw destination icon.
Kaj-Michael Lang [Wed, 9 Apr 2008 08:38:25 +0000 (11:38 +0300)]
Add osm_check_location()
Kaj-Michael Lang [Wed, 9 Apr 2008 08:38:11 +0000 (11:38 +0300)]
Use angle_diff()
Kaj-Michael Lang [Wed, 9 Apr 2008 08:37:49 +0000 (11:37 +0300)]
Show progress dialog, fix some warnings.
Kaj-Michael Lang [Wed, 9 Apr 2008 08:37:15 +0000 (11:37 +0300)]
Use osm_check_location() to check if we need to query a new location or not.
Kaj-Michael Lang [Wed, 9 Apr 2008 08:33:36 +0000 (11:33 +0300)]
Show the progress dialog
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.
Kaj-Michael Lang [Wed, 9 Apr 2008 08:31:52 +0000 (11:31 +0300)]
Add simple angle diff function
Kaj-Michael Lang [Wed, 9 Apr 2008 08:31:28 +0000 (11:31 +0300)]
Remove POI load debug output
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.
Kaj-Michael Lang [Tue, 8 Apr 2008 12:30:07 +0000 (15:30 +0300)]
Use thumb friendly scrollbar on tablet
Kaj-Michael Lang [Tue, 8 Apr 2008 08:31:04 +0000 (11:31 +0300)]
Use g_debug instead of g_printf + small cosmetic changes.
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
Kaj-Michael Lang [Tue, 8 Apr 2008 07:58:16 +0000 (10:58 +0300)]
Start to add support for zoom ranges
Kaj-Michael Lang [Mon, 7 Apr 2008 14:05:49 +0000 (17:05 +0300)]
Use pretty time format for audio note
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
Kaj-Michael Lang [Mon, 7 Apr 2008 13:17:16 +0000 (16:17 +0300)]
Add parent window argument to poi_info_dialog
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.
Kaj-Michael Lang [Mon, 7 Apr 2008 12:37:20 +0000 (15:37 +0300)]
Move the POI category combo below the text search
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
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.
Kaj-Michael Lang [Mon, 7 Apr 2008 12:06:40 +0000 (15:06 +0300)]
Remove pragma comments
Kaj-Michael Lang [Mon, 7 Apr 2008 12:06:12 +0000 (15:06 +0300)]
Small cleanups. Set some sqlite3 pragmas on open.
Kaj-Michael Lang [Fri, 4 Apr 2008 12:54:08 +0000 (15:54 +0300)]
Init curl_multi once and use it until deinit
Kaj-Michael Lang [Fri, 4 Apr 2008 12:38:12 +0000 (15:38 +0300)]
Silence warning
Kaj-Michael Lang [Fri, 4 Apr 2008 12:37:39 +0000 (15:37 +0300)]
Allow using hostnames for gpsd connection, not only IP addresses.
Kaj-Michael Lang [Tue, 1 Apr 2008 11:35:15 +0000 (14:35 +0300)]
Fix quick poi sigsegv, _track is now dynamic
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
Kaj-Michael Lang [Fri, 21 Mar 2008 20:12:03 +0000 (22:12 +0200)]
Fix hardware key customization dialog menu
Kaj-Michael Lang [Fri, 21 Mar 2008 19:21:13 +0000 (21:21 +0200)]
Update for 1.0.3.95-5-rc1
Kaj-Michael Lang [Fri, 21 Mar 2008 19:20:57 +0000 (21:20 +0200)]
Disable debuging in packages
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
Kaj-Michael Lang [Fri, 21 Mar 2008 18:44:02 +0000 (20:44 +0200)]
Get/Set announcements flags
Kaj-Michael Lang [Fri, 21 Mar 2008 18:39:51 +0000 (20:39 +0200)]
Don't announce waypoints unless _announce_waypoints==TRUE
Kaj-Michael Lang [Fri, 21 Mar 2008 18:39:21 +0000 (20:39 +0200)]
Use correct data type, now the simulator works
Kaj-Michael Lang [Fri, 21 Mar 2008 12:46:09 +0000 (14:46 +0200)]
Add announcement flags. Remove some warnings.
Kaj-Michael Lang [Fri, 21 Mar 2008 12:45:16 +0000 (14:45 +0200)]
Announce distance to destination only if _announce_destination==TRUE
Kaj-Michael Lang [Fri, 21 Mar 2008 12:44:51 +0000 (14:44 +0200)]
Cosmetic changes only.
Kaj-Michael Lang [Fri, 21 Mar 2008 12:44:28 +0000 (14:44 +0200)]
Add new keys for home, destination and announcement flags
Kaj-Michael Lang [Fri, 21 Mar 2008 12:43:46 +0000 (14:43 +0200)]
Print POI title in very near zoom only.
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.
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.
Kaj-Michael Lang [Fri, 21 Mar 2008 12:41:38 +0000 (14:41 +0200)]
Misc
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.
Kaj-Michael Lang [Thu, 20 Mar 2008 21:53:56 +0000 (23:53 +0200)]
Move path_load/save function to path.c
Kaj-Michael Lang [Thu, 20 Mar 2008 21:10:12 +0000 (23:10 +0200)]
Use helper functions. Change some ordering just for cosmetic reasons.
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.
Kaj-Michael Lang [Thu, 20 Mar 2008 14:03:16 +0000 (16:03 +0200)]
Fixes to settings dialog
Kaj-Michael Lang [Thu, 20 Mar 2008 13:02:08 +0000 (15:02 +0200)]
Fix
Kaj-Michael Lang [Thu, 20 Mar 2008 13:00:08 +0000 (15:00 +0200)]
Print progress properly
Kaj-Michael Lang [Thu, 20 Mar 2008 09:00:17 +0000 (11:00 +0200)]
Remove debug message
Kaj-Michael Lang [Thu, 20 Mar 2008 09:00:00 +0000 (11:00 +0200)]
Remove unused code.
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
Kaj-Michael Lang [Thu, 20 Mar 2008 08:58:54 +0000 (10:58 +0200)]
Print message if epspeak is enabled
Kaj-Michael Lang [Thu, 20 Mar 2008 08:50:24 +0000 (10:50 +0200)]
List geoclue and gypsy. Remove gpsd, it now works.
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.
Kaj-Michael Lang [Wed, 19 Mar 2008 14:14:00 +0000 (16:14 +0200)]
Store succesfull search strings in search_model and list
Kaj-Michael Lang [Wed, 19 Mar 2008 14:13:48 +0000 (16:13 +0200)]
Add missing gpx.h include
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.
Kaj-Michael Lang [Tue, 18 Mar 2008 22:06:07 +0000 (00:06 +0200)]
Do a full redraw only if a drag did happen.
Kaj-Michael Lang [Tue, 18 Mar 2008 19:34:27 +0000 (21:34 +0200)]
Add g_return_val_if_fail for POI statements too.
Kaj-Michael Lang [Tue, 18 Mar 2008 19:05:02 +0000 (21:05 +0200)]
Add a bunch of g_return_val_if_fail checks.
Kaj-Michael Lang [Tue, 18 Mar 2008 18:58:15 +0000 (20:58 +0200)]
Make sure the statement is NULL if preparation fails.
Kaj-Michael Lang [Tue, 18 Mar 2008 18:57:16 +0000 (20:57 +0200)]
Move DB_PREP macro
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
Kaj-Michael Lang [Tue, 18 Mar 2008 17:49:27 +0000 (19:49 +0200)]
Misc
Kaj-Michael Lang [Tue, 18 Mar 2008 17:11:32 +0000 (19:11 +0200)]
Don't clear gps address, zero gps data.
Kaj-Michael Lang [Tue, 18 Mar 2008 15:09:05 +0000 (17:09 +0200)]
Rename write_gpx -> gpx_write and parse_gpx -> gpx_parse
Kaj-Michael Lang [Tue, 18 Mar 2008 12:45:28 +0000 (14:45 +0200)]
Space 2 Tab
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.
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.
Kaj-Michael Lang [Tue, 18 Mar 2008 11:17:11 +0000 (13:17 +0200)]
Add map tile download by Track
Kaj-Michael Lang [Tue, 18 Mar 2008 11:06:06 +0000 (13:06 +0200)]
Remove useless debug output
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.
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.
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.
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.
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.
Kaj-Michael Lang [Thu, 13 Mar 2008 16:31:08 +0000 (18:31 +0200)]
Enable Hal support
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
Kaj-Michael Lang [Thu, 13 Mar 2008 15:28:50 +0000 (17:28 +0200)]
Remove
Kaj-Michael Lang [Thu, 13 Mar 2008 14:48:29 +0000 (16:48 +0200)]
Use dynamicaly allocated _track and _route.
Kaj-Michael Lang [Thu, 13 Mar 2008 14:48:11 +0000 (16:48 +0200)]
Add option with cairo and opengl enabled.
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.
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.
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.