]> err.no Git - mapper/log
mapper
17 years agoMisc fixes.
Kaj-Michael Lang [Thu, 2 Aug 2007 09:46:06 +0000 (12:46 +0300)]
Misc fixes.

17 years agoHildon can be on the desktop so start to separate hildon/osso
Kaj-Michael Lang [Thu, 2 Aug 2007 09:32:05 +0000 (12:32 +0300)]
Hildon can be on the desktop so start to separate hildon/osso

17 years agomisc
Kaj-Michael Lang [Thu, 2 Aug 2007 09:19:12 +0000 (12:19 +0300)]
misc

17 years agomisc
Kaj-Michael Lang [Thu, 2 Aug 2007 09:18:55 +0000 (12:18 +0300)]
misc

17 years agomisc
Kaj-Michael Lang [Thu, 2 Aug 2007 09:13:39 +0000 (12:13 +0300)]
misc

17 years agoRemove useless includes
Kaj-Michael Lang [Thu, 2 Aug 2007 09:05:01 +0000 (12:05 +0300)]
Remove useless includes

17 years agoRemove switch { .. } structure as we don't need it anymore.
Kaj-Michael Lang [Thu, 2 Aug 2007 09:03:50 +0000 (12:03 +0300)]
Remove switch { .. } structure as we don't need it anymore.
inline magnitude function

17 years agoAdd function db_close to finalize prepared statements and close database connection.
Kaj-Michael Lang [Thu, 2 Aug 2007 09:01:27 +0000 (12:01 +0300)]
Add function db_close to finalize prepared statements and close database connection.
Silence some warnings.
init/deinit functions handle storage init/deinit

17 years agoSave home location directly when setting it.
Kaj-Michael Lang [Mon, 30 Jul 2007 21:06:52 +0000 (00:06 +0300)]
Save home location directly when setting it.

17 years agomisc
Kaj-Michael Lang [Mon, 30 Jul 2007 11:01:26 +0000 (14:01 +0300)]
misc

17 years agoLimit the way types queried to roads only. Add some timing debuging.
Kaj-Michael Lang [Mon, 30 Jul 2007 11:01:08 +0000 (14:01 +0300)]
Limit the way types queried to roads only. Add some timing debuging.

17 years agoUse way_name id as primary key. Set page size pragma to hopefully speed up things...
Kaj-Michael Lang [Mon, 30 Jul 2007 10:56:29 +0000 (13:56 +0300)]
Use way_name id as primary key. Set page size pragma to hopefully speed up things a bit.

17 years agoAdd start/end markers for real roads. Used to limit the way query to such ways where...
Kaj-Michael Lang [Mon, 30 Jul 2007 10:55:33 +0000 (13:55 +0300)]
Add start/end markers for real roads. Used to limit the way query to such ways where you can normaly be on.

17 years agoIgnore way if it has a null segment.
Kaj-Michael Lang [Mon, 30 Jul 2007 10:54:32 +0000 (13:54 +0300)]
Ignore way if it has a null segment.

17 years agoWe need to hide it..
Kaj-Michael Lang [Fri, 27 Jul 2007 13:13:52 +0000 (16:13 +0300)]
We need to hide it..

17 years agoMerge branch 'master' of git+ssh://tal.org/home/git/mapper
Kaj-Michael Lang [Fri, 27 Jul 2007 13:05:30 +0000 (16:05 +0300)]
Merge branch 'master' of git+ssh://tal.org/home/git/mapper

17 years agoRename help file.
Kaj-Michael Lang [Fri, 27 Jul 2007 13:05:19 +0000 (16:05 +0300)]
Rename help file.

17 years agoMove hildon help IDs
Kaj-Michael Lang [Fri, 27 Jul 2007 13:03:34 +0000 (16:03 +0300)]
Move hildon help IDs

17 years agoMove clearing of old data to their own functions.
Kaj-Michael Lang [Fri, 27 Jul 2007 12:27:35 +0000 (15:27 +0300)]
Move clearing of old data to their own functions.

17 years agoMerge branch 'master' of git+ssh://tal.org/home/git/mapper
Kaj-Michael Lang [Fri, 27 Jul 2007 12:25:45 +0000 (15:25 +0300)]
Merge branch 'master' of git+ssh://tal.org/home/git/mapper

17 years agoAdd espeak check.
Kaj-Michael Lang [Fri, 27 Jul 2007 12:25:39 +0000 (15:25 +0300)]
Add espeak check.

17 years agoMore fixes for handling dir and file varibles
Kaj-Michael Lang [Fri, 27 Jul 2007 12:24:27 +0000 (15:24 +0300)]
More fixes for handling dir and file varibles

17 years agoFix handling of dir and file variables
Kaj-Michael Lang [Fri, 27 Jul 2007 12:22:40 +0000 (15:22 +0300)]
Fix handling of dir and file variables

17 years agoPreparations for integration to Mapper itself.
Kaj-Michael Lang [Fri, 27 Jul 2007 12:04:25 +0000 (15:04 +0300)]
Preparations for integration to Mapper itself.
Move xml parse init to it's own function.
Add function to free parser.
Add function to parse a given buffer. (for parsing while downloading).

17 years agoSmall changes, check for gpsd and check base requirement in one go.
Kaj-Michael Lang [Fri, 27 Jul 2007 12:02:31 +0000 (15:02 +0300)]
Small changes, check for gpsd and check base requirement in one go.

17 years agoSome formating.
Kaj-Michael Lang [Fri, 27 Jul 2007 11:18:21 +0000 (14:18 +0300)]
Some formating.
Test with using an idle handler when rendering tiles when moving around,
on a slow machine the loading/scaling can take so much time that the user notices.

17 years agoMerge branch 'master' of git+ssh://tal.org/home/git/mapper
Kaj-Michael Lang [Fri, 27 Jul 2007 10:33:41 +0000 (13:33 +0300)]
Merge branch 'master' of git+ssh://tal.org/home/git/mapper

17 years agoUse correct index to get poi count.
Kaj-Michael Lang [Fri, 27 Jul 2007 10:31:18 +0000 (13:31 +0300)]
Use correct index to get poi count.
Allow sorting in category table.

17 years agoUse insert or replace.
Kaj-Michael Lang [Fri, 27 Jul 2007 10:30:46 +0000 (13:30 +0300)]
Use insert or replace.
Sort categories by priority.

17 years agoFix toolbar add POI location
Kaj-Michael Lang [Fri, 27 Jul 2007 10:15:50 +0000 (13:15 +0300)]
Fix toolbar add POI location

17 years agoSave/Load osm filter
Kaj-Michael Lang [Fri, 27 Jul 2007 10:11:58 +0000 (13:11 +0300)]
Save/Load osm filter

17 years agoHandle the osm filter.
Kaj-Michael Lang [Fri, 27 Jul 2007 10:11:38 +0000 (13:11 +0300)]
Handle the osm filter.
Drop up to 10 points, then force add.

17 years agoUse a plain gtk_range for filter settings.
Kaj-Michael Lang [Fri, 27 Jul 2007 10:11:13 +0000 (13:11 +0300)]
Use a plain gtk_range for filter settings.
The hildon bars look very-bad with a big range.
Load and save osm filter.
Show hardware button configuration dialog under hildon only.
Misc other changes.

17 years agoFix gtk_spin_button_set_range.
Kaj-Michael Lang [Fri, 27 Jul 2007 09:47:34 +0000 (12:47 +0300)]
Fix gtk_spin_button_set_range.
Other small changes.

17 years agoAdd some more points
Kaj-Michael Lang [Fri, 27 Jul 2007 09:15:48 +0000 (12:15 +0300)]
Add some more points

17 years agoCleanups
Kaj-Michael Lang [Fri, 27 Jul 2007 09:06:08 +0000 (12:06 +0300)]
Cleanups

17 years agoMake place cache work. Use dynamic place variables in map.c
Kaj-Michael Lang [Fri, 27 Jul 2007 08:49:21 +0000 (11:49 +0300)]
Make place cache work. Use dynamic place variables in map.c

17 years agoRemove more generated files
Kaj-Michael Lang [Fri, 27 Jul 2007 07:50:42 +0000 (10:50 +0300)]
Remove more generated files

17 years agoAdd osm_deinit
Kaj-Michael Lang [Fri, 27 Jul 2007 07:49:14 +0000 (10:49 +0300)]
Add osm_deinit
Start to add place cache so we don't need to query to the database every time we move.
Change the distance2line function to take gdouble instead of ints.
Change helper to cast int->double

17 years agoCall osm_init/osm_deinit
Kaj-Michael Lang [Fri, 27 Jul 2007 07:47:38 +0000 (10:47 +0300)]
Call osm_init/osm_deinit

17 years agoFill in about dialog
Kaj-Michael Lang [Wed, 25 Jul 2007 11:54:25 +0000 (14:54 +0300)]
Fill in about dialog

17 years agoRemove some more generated files
Kaj-Michael Lang [Wed, 25 Jul 2007 11:37:05 +0000 (14:37 +0300)]
Remove some more generated files

17 years agoIt's Mapper now.
Kaj-Michael Lang [Wed, 25 Jul 2007 11:36:33 +0000 (14:36 +0300)]
It's Mapper now.

17 years agoMore maemo/hildon fixes.
Kaj-Michael Lang [Wed, 25 Jul 2007 10:52:10 +0000 (13:52 +0300)]
More maemo/hildon fixes.

17 years agoHopefully fix git fuckup.. ?
Kaj-Michael Lang [Wed, 25 Jul 2007 09:54:23 +0000 (12:54 +0300)]
Hopefully fix git fuckup.. ?

This reverts commit b7ae25b2a3f40b1e2ebc2a869ad5aa380ea7ae58.

17 years agoRemove warnings
Kaj-Michael Lang [Wed, 25 Jul 2007 09:31:42 +0000 (12:31 +0300)]
Remove warnings

17 years agoMerge
Kaj-Michael Lang [Wed, 25 Jul 2007 09:30:16 +0000 (12:30 +0300)]
Merge

17 years agomisc
Kaj-Michael Lang [Wed, 25 Jul 2007 09:30:08 +0000 (12:30 +0300)]
misc

17 years agoFixes so it builds for hildon. Not complete.
Kaj-Michael Lang [Wed, 25 Jul 2007 08:42:29 +0000 (11:42 +0300)]
Fixes so it builds for hildon. Not complete.

17 years agoEnable calling of flite on non-hildon too.
Kaj-Michael Lang [Wed, 25 Jul 2007 08:06:07 +0000 (11:06 +0300)]
Enable calling of flite on non-hildon too.
Fix the variable used.
For now, just beep on plain gtk

17 years agomisc
Kaj-Michael Lang [Tue, 24 Jul 2007 20:43:35 +0000 (23:43 +0300)]
misc

17 years agoStart to use a static location structure, with street/primary/secondary location.
Kaj-Michael Lang [Tue, 24 Jul 2007 20:43:15 +0000 (23:43 +0300)]
Start to use a static location structure, with street/primary/secondary location.
Check if we are on the same way as last time and skip database query if so.
Use idle function to update location. (For now, a thread would be nicer so the UI won't block even if the query would take time).

17 years agoUse a helper function to check the distance to line from given lat, lon to given...
Kaj-Michael Lang [Tue, 24 Jul 2007 20:41:03 +0000 (23:41 +0300)]
Use a helper function to check the distance to line from given lat, lon to given node pair.
Store the used node pair in the way structure so we can use them later.

17 years agoAdd check for geoclue
Kaj-Michael Lang [Tue, 24 Jul 2007 20:38:49 +0000 (23:38 +0300)]
Add check for geoclue

17 years agoAdd speed and isin fields for ways.
Kaj-Michael Lang [Tue, 24 Jul 2007 20:38:07 +0000 (23:38 +0300)]
Add speed and isin fields for ways.

17 years agoHandle access=private tag
Kaj-Michael Lang [Tue, 24 Jul 2007 20:37:36 +0000 (23:37 +0300)]
Handle access=private tag
Handle maxspeed/speedlimit tag
Don't waste memory on segments outside requested area.

17 years agoAdd noaccess flag.
Kaj-Michael Lang [Tue, 24 Jul 2007 20:35:43 +0000 (23:35 +0300)]
Add noaccess flag.
Add osm_location struct.
Start to add route waypoint structs

17 years agoFix duplicate functions. Use common scan_bluetooth in gps-browse.c
Kaj-Michael Lang [Tue, 24 Jul 2007 11:26:48 +0000 (14:26 +0300)]
Fix duplicate functions. Use common scan_bluetooth in gps-browse.c
Start idle scanning function in bt-bluez.c

17 years agoUpdate
Kaj-Michael Lang [Tue, 24 Jul 2007 10:01:16 +0000 (13:01 +0300)]
Update

17 years agoPrinting
Kaj-Michael Lang [Tue, 24 Jul 2007 10:01:08 +0000 (13:01 +0300)]
Printing

17 years agoAdd TODO file
Kaj-Michael Lang [Tue, 24 Jul 2007 09:55:11 +0000 (12:55 +0300)]
Add TODO file

17 years agoRemove more references to POIs in variables
Kaj-Michael Lang [Tue, 24 Jul 2007 09:53:47 +0000 (12:53 +0300)]
Remove more references to POIs in variables
as the database is not just for POIs anymore.
Start to a a track point filter using OSM data.

17 years agoAdd note that this is a fork of maemo-mapper and original copyrights.
Kaj-Michael Lang [Tue, 24 Jul 2007 09:52:16 +0000 (12:52 +0300)]
Add note that this is a fork of maemo-mapper and original copyrights.
Add my own copyright.
Add some quick documentation on how to import osm data.

17 years agoCheck that w is not null before freeing.
Kaj-Michael Lang [Mon, 23 Jul 2007 12:36:25 +0000 (15:36 +0300)]
Check that w is not null before freeing.

17 years agoRename browse button name as it's not just pois anymore.
Kaj-Michael Lang [Mon, 23 Jul 2007 12:36:10 +0000 (15:36 +0300)]
Rename browse button name as it's not just pois anymore.

17 years agoUse gps position for location only if center mode is other than manual
Kaj-Michael Lang [Mon, 23 Jul 2007 12:35:43 +0000 (15:35 +0300)]
Use gps position for location only if center mode is other than manual

17 years agoAdd bounding box support. Needs to skip segments and ways outside of it when loading...
Kaj-Michael Lang [Mon, 23 Jul 2007 12:35:08 +0000 (15:35 +0300)]
Add bounding box support. Needs to skip segments and ways outside of it when loading but I don't know.. lookups takes time too...

17 years agoCleanups.
Kaj-Michael Lang [Mon, 23 Jul 2007 11:24:23 +0000 (14:24 +0300)]
Cleanups.
Use a smaller box for nearest poi.
Update location info when gps position changes.

17 years agoRemove most debuging output. Free the way structures we don't need.
Kaj-Michael Lang [Mon, 23 Jul 2007 10:43:24 +0000 (13:43 +0300)]
Remove most debuging output. Free the way structures we don't need.

17 years agoHandle way ref and int_ref for info banner
Kaj-Michael Lang [Mon, 23 Jul 2007 10:42:52 +0000 (13:42 +0300)]
Handle way ref and int_ref for info banner

17 years agoDraw the poi label a little nicer
Kaj-Michael Lang [Mon, 23 Jul 2007 10:42:30 +0000 (13:42 +0300)]
Draw the poi label a little nicer

17 years agoWay search and display works.
Kaj-Michael Lang [Sun, 22 Jul 2007 23:57:49 +0000 (02:57 +0300)]
Way search and display works.

17 years agoQuery poi
Kaj-Michael Lang [Sun, 22 Jul 2007 16:11:31 +0000 (19:11 +0300)]
Query poi

17 years agoMove more poi db handling from cb.c to poi.c
Kaj-Michael Lang [Sun, 22 Jul 2007 16:00:13 +0000 (19:00 +0300)]
Move more poi db handling from cb.c to poi.c
Remove table def comments, they are in docs now.

17 years agoAdd isin field for POIs.
Kaj-Michael Lang [Sun, 22 Jul 2007 15:08:54 +0000 (18:08 +0300)]
Add isin field for POIs.

17 years agoDummy street place.
Kaj-Michael Lang [Sun, 22 Jul 2007 15:08:39 +0000 (18:08 +0300)]
Dummy street place.
Get location from isin value if known.

17 years agoAdd function to get a place by id.
Kaj-Michael Lang [Sun, 22 Jul 2007 15:08:01 +0000 (18:08 +0300)]
Add function to get a place by id.

17 years agoAdd the new categories
Kaj-Michael Lang [Sun, 22 Jul 2007 15:07:39 +0000 (18:07 +0300)]
Add the new categories

17 years agoHandle more node types (aiport, cafe, tourism, etc)
Kaj-Michael Lang [Sun, 22 Jul 2007 15:07:04 +0000 (18:07 +0300)]
Handle more node types (aiport, cafe, tourism, etc)
Start to handle isin tag, we now try to find the parent of a place and poi using the isin tag.

17 years agoMove latlon pairs distance calculation function from utils.c to latlon.c
Kaj-Michael Lang [Sun, 22 Jul 2007 12:13:28 +0000 (15:13 +0300)]
Move latlon pairs distance calculation function from utils.c to latlon.c

17 years agoMake some tiny changes to tables.
Kaj-Michael Lang [Sun, 22 Jul 2007 11:17:28 +0000 (14:17 +0300)]
Make some tiny changes to tables.
Remove unused tables. Create some more indexes.

17 years agoStart to handle place isin id #. We still need to handle storing it in osm.c
Kaj-Michael Lang [Sat, 21 Jul 2007 18:06:23 +0000 (21:06 +0300)]
Start to handle place isin id #. We still need to handle storing it in osm.c

17 years agomisc
Kaj-Michael Lang [Sat, 21 Jul 2007 17:59:52 +0000 (20:59 +0300)]
misc

17 years agomisc
Kaj-Michael Lang [Sat, 21 Jul 2007 17:54:57 +0000 (20:54 +0300)]
misc

17 years agoQuick hack to use the new info banner and osm-db place query.
Kaj-Michael Lang [Sat, 21 Jul 2007 17:54:47 +0000 (20:54 +0300)]
Quick hack to use the new info banner and osm-db place query.

17 years agoAdd info_banner label for showing position information
Kaj-Michael Lang [Sat, 21 Jul 2007 17:54:18 +0000 (20:54 +0300)]
Add info_banner label for showing position information

17 years agoAdd noexit flag.
Kaj-Michael Lang [Sat, 21 Jul 2007 17:53:43 +0000 (20:53 +0300)]
Add noexit flag.
Move structs from osm-db.c here.

17 years agoFormating.
Kaj-Michael Lang [Sat, 21 Jul 2007 17:52:59 +0000 (20:52 +0300)]
Formating.

17 years agoStart to make it do something. Place query works.
Kaj-Michael Lang [Sat, 21 Jul 2007 17:52:42 +0000 (20:52 +0300)]
Start to make it do something. Place query works.

17 years agoHandle "noexit" tag
Kaj-Michael Lang [Sat, 21 Jul 2007 17:52:24 +0000 (20:52 +0300)]
Handle "noexit" tag
Small fixups here and there.

17 years agoAdd
Kaj-Michael Lang [Sat, 21 Jul 2007 17:51:11 +0000 (20:51 +0300)]
Add

17 years agoBuild osm-db.c
Kaj-Michael Lang [Sat, 21 Jul 2007 17:50:57 +0000 (20:50 +0300)]
Build osm-db.c

17 years agoDocument the category table here too.
Kaj-Michael Lang [Sat, 21 Jul 2007 10:10:17 +0000 (13:10 +0300)]
Document the category table here too.

17 years agoDon't strdown the poi label.
Kaj-Michael Lang [Sat, 21 Jul 2007 10:09:53 +0000 (13:09 +0300)]
Don't strdown the poi label.
Draw label only if we have one.

17 years agoMove more code from poi-gui.c to poi.c
Kaj-Michael Lang [Sat, 21 Jul 2007 10:08:57 +0000 (13:08 +0300)]
Move more code from poi-gui.c to poi.c
Allow searching in poi dialog.
Allow sorting columns in poi dialog.
Fix bug with getting lat/lon values from poi selection.

17 years agoRemove debug output
Kaj-Michael Lang [Sat, 21 Jul 2007 08:18:32 +0000 (11:18 +0300)]
Remove debug output

17 years agoMore work on the split open/save functions.
Kaj-Michael Lang [Fri, 20 Jul 2007 14:50:25 +0000 (17:50 +0300)]
More work on the split open/save functions.
Fix the problem with hildon and gtk file dialogs returning different value (OK/ACCEPT)

17 years agoMove more direct sqlite handling from poi-gui.c to poi.c
Kaj-Michael Lang [Fri, 20 Jul 2007 14:49:16 +0000 (17:49 +0300)]
Move more direct sqlite handling from poi-gui.c to poi.c

17 years agoCheck that we can link with expat lib
Kaj-Michael Lang [Fri, 20 Jul 2007 11:41:17 +0000 (14:41 +0300)]
Check that we can link with expat lib

17 years agoAdd index on way_seg wsid
Kaj-Michael Lang [Wed, 18 Jul 2007 10:36:54 +0000 (13:36 +0300)]
Add index on way_seg wsid