]>
err.no Git - mapper/log
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
Kaj-Michael Lang [Tue, 17 Jul 2007 08:15:40 +0000 (11:15 +0300)]
Remove generated files
Kaj-Michael Lang [Tue, 17 Jul 2007 08:14:28 +0000 (11:14 +0300)]
autoconf related cleanup
Kaj-Michael Lang [Tue, 17 Jul 2007 08:14:03 +0000 (11:14 +0300)]
Add files to ignore
Kaj-Michael Lang [Mon, 16 Jul 2007 14:08:24 +0000 (17:08 +0300)]
Formating
Kaj-Michael Lang [Mon, 16 Jul 2007 14:07:52 +0000 (17:07 +0300)]
Display poi text only when zoomed in close
Kaj-Michael Lang [Mon, 16 Jul 2007 14:03:48 +0000 (17:03 +0300)]
Prepare sql statements with _v2 version.
Don't ignore POIs without names.
Break out of the loop if a match is found.. stupid me
Kaj-Michael Lang [Mon, 16 Jul 2007 13:35:44 +0000 (16:35 +0300)]
misc
Kaj-Michael Lang [Mon, 16 Jul 2007 13:35:24 +0000 (16:35 +0300)]
Add start of functions for getting usefull way/route data out from the database.
Kaj-Michael Lang [Mon, 16 Jul 2007 13:33:48 +0000 (16:33 +0300)]
Remove gps reset hack.
Kaj-Michael Lang [Mon, 16 Jul 2007 13:32:55 +0000 (16:32 +0300)]
Formating.
Add debug helper
Kaj-Michael Lang [Mon, 16 Jul 2007 13:32:11 +0000 (16:32 +0300)]
Add latlon.c to source list.
Link to libm
Kaj-Michael Lang [Mon, 16 Jul 2007 13:31:26 +0000 (16:31 +0300)]
And debug int lat/lon for a known place.
Kaj-Michael Lang [Mon, 16 Jul 2007 13:30:46 +0000 (16:30 +0300)]
Use predefined id numbers from osm.h for categories.
Remove the old categories.
Check default categories every time we start.
Kaj-Michael Lang [Mon, 16 Jul 2007 12:37:24 +0000 (15:37 +0300)]
Handle all different place types instead of mergeing some.
Use conversion helper in latlon.c/h
Kaj-Michael Lang [Mon, 16 Jul 2007 12:36:31 +0000 (15:36 +0300)]
Add school/college and generic amenity
Kaj-Michael Lang [Mon, 16 Jul 2007 11:02:52 +0000 (14:02 +0300)]
Start to move lat/lon conversion functions/helpers here
Kaj-Michael Lang [Mon, 16 Jul 2007 09:51:01 +0000 (12:51 +0300)]
Add field to store where the place is in (0=no idea, anything else=id of parent place where place is located)
Kaj-Michael Lang [Mon, 16 Jul 2007 09:49:44 +0000 (12:49 +0300)]
Add place table for storing cities, towns, villages, hamlets and suburbs
Kaj-Michael Lang [Mon, 16 Jul 2007 08:54:03 +0000 (11:54 +0300)]
Add more map click modes
Kaj-Michael Lang [Mon, 16 Jul 2007 08:53:34 +0000 (11:53 +0300)]
Update table definitions
Kaj-Michael Lang [Mon, 16 Jul 2007 08:53:02 +0000 (11:53 +0300)]
Store way names, ref and int_ref
Use separate data object for way extra data (name, ref, int_ref)
Kaj-Michael Lang [Mon, 16 Jul 2007 06:42:31 +0000 (09:42 +0300)]
Optimize memory usage. Recognize more way and node types.
Kaj-Michael Lang [Wed, 11 Jul 2007 12:11:57 +0000 (15:11 +0300)]
Add table definition
Kaj-Michael Lang [Wed, 11 Jul 2007 12:10:31 +0000 (15:10 +0300)]
formating
Kaj-Michael Lang [Wed, 4 Jul 2007 12:12:22 +0000 (15:12 +0300)]
Add start of a OSM planet to sqlite database parser.
Right now it can parse some of the OSM POI nodes and ways.
Kaj-Michael Lang [Wed, 4 Jul 2007 12:11:20 +0000 (15:11 +0300)]
Add checks for expat and glib
Kaj-Michael Lang [Mon, 2 Jul 2007 12:41:45 +0000 (15:41 +0300)]
misc
Kaj-Michael Lang [Mon, 2 Jul 2007 12:40:04 +0000 (15:40 +0300)]
Fixes so it builds again under maemo scratchbox.
Kaj-Michael Lang [Mon, 2 Jul 2007 12:14:28 +0000 (15:14 +0300)]
Add dbus stuff
Kaj-Michael Lang [Mon, 2 Jul 2007 12:14:18 +0000 (15:14 +0300)]
Formating only
Kaj-Michael Lang [Thu, 28 Jun 2007 13:17:28 +0000 (16:17 +0300)]
Hide the progress bar
Kaj-Michael Lang [Thu, 28 Jun 2007 13:03:25 +0000 (16:03 +0300)]
Merge branch 'master' of git+ssh://tal.org/home/git/mapper
Resolve conflicts:
src/map.c
Kaj-Michael Lang [Thu, 28 Jun 2007 12:42:35 +0000 (15:42 +0300)]
Code formating.
If new zoom is the same as before, do nothing.
Kaj-Michael Lang [Thu, 28 Jun 2007 12:41:25 +0000 (15:41 +0300)]
Code formating fixes.
Select POI icon and color.
Kaj-Michael Lang [Thu, 28 Jun 2007 12:39:33 +0000 (15:39 +0300)]
Add DOP information text label.
Kaj-Michael Lang [Wed, 27 Jun 2007 13:28:32 +0000 (16:28 +0300)]
Remove some debug output.
Make code easier to read.