]>
err.no Git - mapper/log
Kaj-Michael Lang [Mon, 30 Jul 2007 21:06:52 +0000 (00:06 +0300)]
Save home location directly when setting it.
Kaj-Michael Lang [Mon, 30 Jul 2007 11:01:26 +0000 (14:01 +0300)]
misc
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.
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.
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.
Kaj-Michael Lang [Mon, 30 Jul 2007 10:54:32 +0000 (13:54 +0300)]
Ignore way if it has a null segment.
Kaj-Michael Lang [Fri, 27 Jul 2007 13:13:52 +0000 (16:13 +0300)]
We need to hide it..
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
Kaj-Michael Lang [Fri, 27 Jul 2007 13:05:19 +0000 (16:05 +0300)]
Rename help file.
Kaj-Michael Lang [Fri, 27 Jul 2007 13:03:34 +0000 (16:03 +0300)]
Move hildon help IDs
Kaj-Michael Lang [Fri, 27 Jul 2007 12:27:35 +0000 (15:27 +0300)]
Move clearing of old data to their own functions.
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
Kaj-Michael Lang [Fri, 27 Jul 2007 12:25:39 +0000 (15:25 +0300)]
Add espeak check.
Kaj-Michael Lang [Fri, 27 Jul 2007 12:24:27 +0000 (15:24 +0300)]
More fixes for handling dir and file varibles
Kaj-Michael Lang [Fri, 27 Jul 2007 12:22:40 +0000 (15:22 +0300)]
Fix handling of dir and file variables
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).
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.
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.
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
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.
Kaj-Michael Lang [Fri, 27 Jul 2007 10:30:46 +0000 (13:30 +0300)]
Use insert or replace.
Sort categories by priority.
Kaj-Michael Lang [Fri, 27 Jul 2007 10:15:50 +0000 (13:15 +0300)]
Fix toolbar add POI location
Kaj-Michael Lang [Fri, 27 Jul 2007 10:11:58 +0000 (13:11 +0300)]
Save/Load 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.
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.
Kaj-Michael Lang [Fri, 27 Jul 2007 09:47:34 +0000 (12:47 +0300)]
Fix gtk_spin_button_set_range.
Other small changes.
Kaj-Michael Lang [Fri, 27 Jul 2007 09:15:48 +0000 (12:15 +0300)]
Add some more points
Kaj-Michael Lang [Fri, 27 Jul 2007 09:06:08 +0000 (12:06 +0300)]
Cleanups
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
Kaj-Michael Lang [Fri, 27 Jul 2007 07:50:42 +0000 (10:50 +0300)]
Remove more generated files
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
Kaj-Michael Lang [Fri, 27 Jul 2007 07:47:38 +0000 (10:47 +0300)]
Call osm_init/osm_deinit
Kaj-Michael Lang [Wed, 25 Jul 2007 11:54:25 +0000 (14:54 +0300)]
Fill in about dialog
Kaj-Michael Lang [Wed, 25 Jul 2007 11:37:05 +0000 (14:37 +0300)]
Remove some more generated files
Kaj-Michael Lang [Wed, 25 Jul 2007 11:36:33 +0000 (14:36 +0300)]
It's Mapper now.
Kaj-Michael Lang [Wed, 25 Jul 2007 10:52:10 +0000 (13:52 +0300)]
More maemo/hildon fixes.
Kaj-Michael Lang [Wed, 25 Jul 2007 09:54:23 +0000 (12:54 +0300)]
Hopefully fix git fuckup.. ?
This reverts commit
b7ae25b2a3f40b1e2ebc2a869ad5aa380ea7ae58 .
Kaj-Michael Lang [Wed, 25 Jul 2007 09:31:42 +0000 (12:31 +0300)]
Remove warnings
Kaj-Michael Lang [Wed, 25 Jul 2007 09:30:16 +0000 (12:30 +0300)]
Merge
Kaj-Michael Lang [Wed, 25 Jul 2007 09:30:08 +0000 (12:30 +0300)]
misc
Kaj-Michael Lang [Wed, 25 Jul 2007 08:42:29 +0000 (11:42 +0300)]
Fixes so it builds for hildon. Not complete.
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
Kaj-Michael Lang [Tue, 24 Jul 2007 20:43:35 +0000 (23:43 +0300)]
misc
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).
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.
Kaj-Michael Lang [Tue, 24 Jul 2007 20:38:49 +0000 (23:38 +0300)]
Add check for geoclue
Kaj-Michael Lang [Tue, 24 Jul 2007 20:38:07 +0000 (23:38 +0300)]
Add speed and isin fields for ways.
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.
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
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
Kaj-Michael Lang [Tue, 24 Jul 2007 10:01:16 +0000 (13:01 +0300)]
Update
Kaj-Michael Lang [Tue, 24 Jul 2007 10:01:08 +0000 (13:01 +0300)]
Printing
Kaj-Michael Lang [Tue, 24 Jul 2007 09:55:11 +0000 (12:55 +0300)]
Add TODO file
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.
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.
Kaj-Michael Lang [Mon, 23 Jul 2007 12:36:25 +0000 (15:36 +0300)]
Check that w is not null before freeing.
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.
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
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...
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.
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.
Kaj-Michael Lang [Mon, 23 Jul 2007 10:42:52 +0000 (13:42 +0300)]
Handle way ref and int_ref for info banner
Kaj-Michael Lang [Mon, 23 Jul 2007 10:42:30 +0000 (13:42 +0300)]
Draw the poi label a little nicer
Kaj-Michael Lang [Sun, 22 Jul 2007 23:57:49 +0000 (02:57 +0300)]
Way search and display works.
Kaj-Michael Lang [Sun, 22 Jul 2007 16:11:31 +0000 (19:11 +0300)]
Query poi
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.
Kaj-Michael Lang [Sun, 22 Jul 2007 15:08:54 +0000 (18:08 +0300)]
Add isin field for POIs.
Kaj-Michael Lang [Sun, 22 Jul 2007 15:08:39 +0000 (18:08 +0300)]
Dummy street place.
Get location from isin value if known.
Kaj-Michael Lang [Sun, 22 Jul 2007 15:08:01 +0000 (18:08 +0300)]
Add function to get a place by id.
Kaj-Michael Lang [Sun, 22 Jul 2007 15:07:39 +0000 (18:07 +0300)]
Add the new categories
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.
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
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.
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
Kaj-Michael Lang [Sat, 21 Jul 2007 17:59:52 +0000 (20:59 +0300)]
misc
Kaj-Michael Lang [Sat, 21 Jul 2007 17:54:57 +0000 (20:54 +0300)]
misc
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.
Kaj-Michael Lang [Sat, 21 Jul 2007 17:54:18 +0000 (20:54 +0300)]
Add info_banner label for showing position information
Kaj-Michael Lang [Sat, 21 Jul 2007 17:53:43 +0000 (20:53 +0300)]
Add noexit flag.
Move structs from osm-db.c here.
Kaj-Michael Lang [Sat, 21 Jul 2007 17:52:59 +0000 (20:52 +0300)]
Formating.
Kaj-Michael Lang [Sat, 21 Jul 2007 17:52:42 +0000 (20:52 +0300)]
Start to make it do something. Place query works.
Kaj-Michael Lang [Sat, 21 Jul 2007 17:52:24 +0000 (20:52 +0300)]
Handle "noexit" tag
Small fixups here and there.
Kaj-Michael Lang [Sat, 21 Jul 2007 17:51:11 +0000 (20:51 +0300)]
Add
Kaj-Michael Lang [Sat, 21 Jul 2007 17:50:57 +0000 (20:50 +0300)]
Build osm-db.c
Kaj-Michael Lang [Sat, 21 Jul 2007 10:10:17 +0000 (13:10 +0300)]
Document the category table here too.
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.
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.
Kaj-Michael Lang [Sat, 21 Jul 2007 08:18:32 +0000 (11:18 +0300)]
Remove debug output
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)
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
Kaj-Michael Lang [Fri, 20 Jul 2007 11:41:17 +0000 (14:41 +0300)]
Check that we can link with expat lib
Kaj-Michael Lang [Wed, 18 Jul 2007 10:36:54 +0000 (13:36 +0300)]
Add index on way_seg wsid
Kaj-Michael Lang [Wed, 18 Jul 2007 10:36:28 +0000 (13:36 +0300)]
Add file with list of example selects
Kaj-Michael Lang [Tue, 17 Jul 2007 22:11:16 +0000 (01:11 +0300)]
Use a list for ways instead of a hash table as we don't need to search for ways.
Add more checking for null values.
Optimize some.
Kaj-Michael Lang [Tue, 17 Jul 2007 12:36:11 +0000 (15:36 +0300)]
Ignore some more files
Kaj-Michael Lang [Tue, 17 Jul 2007 12:35:53 +0000 (15:35 +0300)]
Handle some more amenities (speed trap, schools)
List appending is slow, prepend instead. Free the POI list after storing.
Kaj-Michael Lang [Tue, 17 Jul 2007 12:34:52 +0000 (15:34 +0300)]
Add speed trap/cam
Kaj-Michael Lang [Tue, 17 Jul 2007 12:13:44 +0000 (15:13 +0300)]
Be a bit more verbose.
Use sqlite pragma to not sync so much.
Put POIs in a linked list so we don't need to go trough the whole node hash table when adding POI nodes.
Kaj-Michael Lang [Tue, 17 Jul 2007 12:12:24 +0000 (15:12 +0300)]
Split out indexes from table definition
Kaj-Michael Lang [Tue, 17 Jul 2007 08:16:40 +0000 (11:16 +0300)]
Remove more generated files