Re: tangogps 0.9.7 release
> myself, i'd be inclined to ignore them and carry on uploading tracks +1 2009/10/3 Robin Paulson : > 2009/10/3 Helge Hafting : >> Actually, I got a mail once telling me not to do that. Seems there were >> limited room on servers, and "too much" of my tracks were "known stuff". >> So now I only edit with josm, I don't upload tracks. > > who told you that? i'd be very surprised if that was anyone who > actually had an involvement with the osm infrastructure (servers, > etc.). the people involved in maintaining and directing osm are pretty > light in their instructions to everyone else (which has good and bad > side effects...) > > myself, i'd be inclined to ignore them and carry on uploading tracks > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: tangogps 0.9.7 release
On Thu, 1 Oct 2009 11:49:51 +0200 Thomas Zimmermann wrote: > Hi, > i tried tangogps 0.9.7 on SHR today and it segfaults on zooming. So i > assume that the runtimedepencies changed. Can you announce the > runtimedepencies for it? No dependency changes. There is a multiple unref of a pixbuf, I got a patch from Joshua Rosen which fixes it. Will be in the next release - can't promise to make one this weekend though. Speaking of segfaults, there have been multiple reports from SHR users about segfaults when editing or adding repos. I added some additional check in 0.9.7 and would like to know if this has helped - I have no SHR here for testing. Marcus ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: tangogps 0.9.7 release
2009/10/3 Helge Hafting : > Actually, I got a mail once telling me not to do that. Seems there were > limited room on servers, and "too much" of my tracks were "known stuff". > So now I only edit with josm, I don't upload tracks. who told you that? i'd be very surprised if that was anyone who actually had an involvement with the osm infrastructure (servers, etc.). the people involved in maintaining and directing osm are pretty light in their instructions to everyone else (which has good and bad side effects...) myself, i'd be inclined to ignore them and carry on uploading tracks ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: tangogps 0.9.7 release
Joseph Reeves wrote: >> You may instead always have the track logging switched on - so you will >> always have all information. And maybe in twenty years time it is funny >> to see where you were ;) > > And, of course, there's no harm in uploading a track to OSM even if > someone has been there before Actually, I got a mail once telling me not to do that. Seems there were limited room on servers, and "too much" of my tracks were "known stuff". So now I only edit with josm, I don't upload tracks. Helge Hafting ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
TangoGPS 0.9.7 segfault fix (was: tangogps 0.9.7 release)
Thomas Zimmermann writes: > > Am Montag 21 September 2009 18:43:37 schrieb Marcus Bauer: > > Heya out there! > > > > First of all thanks for the many positive emails I got over the last > > months, motivating me to bring a new release of tangoGPS to the coolest > > open hardware gadget on earth - the openmoko phone. > > > > The new features include: > > > > * overzoom until level 20 > > * upscaling of missing tiles > > * a map scale indicator > > * overhauled "this point" function > >- easy measuring of distances and ways > >- display of bearing = useful for navigation > > * friend function simplified and you can now add a message > >to your position [...] > > Hi, > i tried tangogps 0.9.7 on SHR today and it segfaults on zooming. So i assume > that the runtimedepencies changed. Can you announce the runtimedepencies for > it? Nice--it's not just me :) I built mine myself, though (I have features that I want to add), so I didn't want to complain too quickly--it might have just been a problem in my build-environment :) Since you pointed out a consistent context to the crash, I can debug it: The problem is that load_tile() [in map_management.c] is using the global variable `scaled_pixbuf' to hold the pointer to the upscaled map-tile pixbuf, and doesn't quite do all of the bookkeeping necessary to make that scheme work: it forgets to reinitialize the value to NULL between runs, and it ends up trying to g_object_unref() a pointer that's already been free'd. I've attached a patch that fixes the problem, and makes the situation easier to manage by just reducing the scope of the `scaled_pixbuf' and `pixbuf' variables: they're basically owned by load_tile() and should never be preserved across separate invocations of that function, so I've made them local; actually, `scaled_pixbuf' has an even more restrained scope, so I've made it local to the block where it's used. -- Don't be afraid to ask (Lf.((Lx.xx) (Lr.f(rr. === modified file 'src/map_management.c' --- src/map_management.c 2009-09-26 02:35:15 + +++ src/map_management.c 2009-10-02 02:40:39 + @@ -19,8 +19,6 @@ #include "wp.h" -static GdkPixbuf *pixbuf = NULL; -static GdkPixbuf *pixbuf_scaled = NULL; static GError *error = NULL; static GdkGC *gc_map = NULL; @@ -42,6 +40,8 @@ load_tile( gchar *dir, gboolean tile_found = FALSE; repo_t *repo; static gchar filename[256]; + + GdkPixbuf *pixbuf = NULL; printf("* load tile()\n"); @@ -55,15 +55,6 @@ load_tile( gchar *dir, } else printf("no drawable -> NULL\n"); - - - if (pixbuf) - g_object_unref (pixbuf); - - if (pixbuf_scaled) - g_object_unref (pixbuf_scaled); - - for(overzoom=0; overzoom<=3; overzoom++) { @@ -83,6 +74,8 @@ load_tile( gchar *dir, if(pixbuf && overzoom) { + GdkPixbuf *pixbuf_scaled = NULL; + pixbuf_scaled = gdk_pixbuf_new(GDK_COLORSPACE_RGB, TRUE, 8, 256, 256); @@ -92,6 +85,13 @@ load_tile( gchar *dir, -TILESIZE*(x%upscale), -TILESIZE*(y%upscale), upscale, upscale, GDK_INTERP_BILINEAR ); + + if (pixbuf) + { + g_object_unref (pixbuf); + } + + pixbuf = pixbuf_scaled; } if(!tile_found) @@ -129,12 +129,13 @@ load_tile( gchar *dir, gdk_draw_pixbuf ( pixmap, gc_map, - (overzoom ? pixbuf_scaled : pixbuf), + pixbuf, 0,0, offset_x,offset_y, TILESIZE,TILESIZE, GDK_RGB_DITHER_NONE, 0, 0); + g_object_unref (pixbuf); } ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: tangogps 0.9.7 release
Am Donnerstag 01 Oktober 2009 11:49:51 schrieb Thomas Zimmermann: > Am Montag 21 September 2009 18:43:37 schrieb Marcus Bauer: > > Heya out there! > > > > First of all thanks for the many positive emails I got over the last > > months, motivating me to bring a new release of tangoGPS to the coolest > > open hardware gadget on earth - the openmoko phone. > > > > The new features include: > > > > * overzoom until level 20 > > * upscaling of missing tiles > > * a map scale indicator > > * overhauled "this point" function > >- easy measuring of distances and ways > >- display of bearing = useful for navigation > > * friend function simplified and you can now add a message > >to your position > > > > > > As always, it runs well on your laptop/netbook too. The full release > > announcement is here: > > > > http://www.tangogps.org/gps/cat/News > > > > I am currently looking for cool stories/photos/blog entries for > > featuring on the website. Thus send me your stories, pictures or links > > - be it on the Freerunner or any other device. > > > > Have fun! > > Marcus > > Hi, > i tried tangogps 0.9.7 on SHR today and it segfaults on zooming. So i > assume that the runtimedepencies changed. Can you announce the > runtimedepencies for it? > I installed all depencies mentioned in the debian lenny package: > --- > -- libatk-1.0-0 (1.20.0-r0) > libcairo2 (1.8.0-r0) > libcurl4 (7.18.2-r1) > libexif12 (0.6.17-r0) > gconf-dbus (2.16.0+svnr641-r0) > libglib-2.0-0 (2.18.3-r1) > gtk+ (2.14.2-r1) > pango (1.22.0-r2) > libsqlite3-0 (3.6.5-r0) > libc6 (2.6.1-r16) > --- > -- But it still segfaults, plz help :) running under gdb gives the following backtrace: #0 0x0008 in ?? () #1 0x40b2aafc in g_object_unref () from /usr/lib/libgobject-2.0.so.0 #2 0x00029210 in load_tile (dir=0x82358 "/home/root/Maps/OSM", zoom=256, x=66, y=44, offset_x=-249, offset_y=211) at map_management.c:64 #3 0x00029810 in fill_tiles_pixel (pixel_x=533600, pixel_y=-45, zoom=0) at map_management.c:247 #4 0x0002fe28 in map_redraw (p=) at tile_management.c:65 #5 0x40b83168 in g_timeout_dispatch () from /usr/lib/libglib-2.0.so.0 #6 0x40b82ca0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #7 0x40b855c4 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #8 0x40b857fc in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #9 0x40138964 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #10 0xf850 in main (argc=0, argv=0x1) at main.c:62 (gdb) bt full #0 0x0008 in ?? () No symbol table info available. #1 0x40b2aafc in g_object_unref () from /usr/lib/libgobject-2.0.so.0 No locals. #2 0x00029210 in load_tile (dir=0x82358 "/home/root/Maps/OSM", zoom=256, x=66, y=44, offset_x=-249, offset_y=211) at map_management.c:64 overzoom = upscale = filename = "/home/root/Maps/OSM/7/66/43.png", '\0' #3 0x00029810 in fill_tiles_pixel (pixel_x=533600, pixel_y=-45, zoom=0) at map_management.c:247 widget = (GtkWidget *) 0x2d i = -1 j = 1704696 height = tile_x0 = 0 tile_y0 = 1086860968 offset_xn = 0 offset_yn = 211 offset_x = 196028 offset_y = 1086391600 repo = (repo_t *) 0x2f3158 __PRETTY_FUNCTION__ = "fill_tiles_pixel" #4 0x0002fe28 in map_redraw (p=) at tile_management.c:65 number_threads = 0 #5 0x40b83168 in g_timeout_dispatch () from /usr/lib/libglib-2.0.so.0 No locals. #6 0x40b82ca0 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 No locals. #7 0x40b855c4 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 No locals. #8 0x40b857fc in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 No locals. #9 0x40138964 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 No locals. #10 0xf850 in main (argc=0, argv=0x1) at main.c:62 No locals. -- Klaus 'mrmoku' Kurzmann ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: tangogps 0.9.7 release
Am Montag 21 September 2009 18:43:37 schrieb Marcus Bauer: > Heya out there! > > First of all thanks for the many positive emails I got over the last > months, motivating me to bring a new release of tangoGPS to the coolest > open hardware gadget on earth - the openmoko phone. > > The new features include: > > * overzoom until level 20 > * upscaling of missing tiles > * a map scale indicator > * overhauled "this point" function >- easy measuring of distances and ways >- display of bearing = useful for navigation > * friend function simplified and you can now add a message >to your position > > > As always, it runs well on your laptop/netbook too. The full release > announcement is here: > > http://www.tangogps.org/gps/cat/News > > I am currently looking for cool stories/photos/blog entries for > featuring on the website. Thus send me your stories, pictures or links > - be it on the Freerunner or any other device. > > Have fun! > Marcus Hi, i tried tangogps 0.9.7 on SHR today and it segfaults on zooming. So i assume that the runtimedepencies changed. Can you announce the runtimedepencies for it? I installed all depencies mentioned in the debian lenny package: - libatk-1.0-0 (1.20.0-r0) libcairo2 (1.8.0-r0) libcurl4 (7.18.2-r1) libexif12 (0.6.17-r0) gconf-dbus (2.16.0+svnr641-r0) libglib-2.0-0 (2.18.3-r1) gtk+ (2.14.2-r1) pango (1.22.0-r2) libsqlite3-0 (3.6.5-r0) libc6 (2.6.1-r16) - But it still segfaults, plz help :) Greets Thomas ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: tangogps 0.9.7 release
On Tue, 22 Sep 2009 21:31:10 +1200 Robin Paulson wrote: > 2009/9/22 Alexander Lehner : > > I'm not sure whether the gpx import is part of tangogps by default. > > I once wrote a hacked version that did that. > > > > In fact it was not a real XML parser, but only a stupid lookup of > > strings, so if it doesn't work any more, it would be easy to make > > that work again. > > if anyone is interested in an xml parser, to convert gpx to tangogps > format, a friend and i wrote a xslt parser a few months back. see here > for more info: > > http://wiki.openmoko.org/wiki/TangoGPS#Importing_Tracks_into_tangoGPS Yep, I got some more requests for this, so expect it to appear soon. I'll most likely go with libxml for its versatility - unless it adds too much start up time penalty. @Alexander: if you want, send me your patch. Cheers, marcus ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: tangogps 0.9.7 release
> You may instead always have the track logging switched on - so you will > always have all information. And maybe in twenty years time it is funny > to see where you were ;) And, of course, there's no harm in uploading a track to OSM even if someone has been there before - even better if you go down a well trodden path and then deviate from it. Oh yeah, and I also spent a couple of days walking around Cairo convinced that TangoGPS was logging where I was going until I decided to just leave it on all the time ;-) 2009/9/22 Marcus Bauer : > On Tue, 22 Sep 2009 12:38:00 +0200 > Michael Zanetti wrote: > >> Sometimes, when I use tangogps for "navigating" I end up in areas not >> yet mapped on OSM. In that case it would be great to be able to store >> the current track afterwards if the Track logging has not been >> started before. Currently TangoGPS throws away the current track >> information if one presses "Start Logging". > > Hello Michael, > > This is internally a different data structure in order to save memory, > lacking time, speed and altitude information. > > You may instead always have the track logging switched on - so you will > always have all information. And maybe in twenty years time it is funny > to see where you were ;) > > Marcus > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: tangogps 0.9.7 release
On Tue, 22 Sep 2009 12:38:00 +0200 Michael Zanetti wrote: > Sometimes, when I use tangogps for "navigating" I end up in areas not > yet mapped on OSM. In that case it would be great to be able to store > the current track afterwards if the Track logging has not been > started before. Currently TangoGPS throws away the current track > information if one presses "Start Logging". Hello Michael, This is internally a different data structure in order to save memory, lacking time, speed and altitude information. You may instead always have the track logging switched on - so you will always have all information. And maybe in twenty years time it is funny to see where you were ;) Marcus ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: tangogps 0.9.7 release
Am Dienstag 22 September 2009 11:33:34 schrieb Robin Paulson: > 2009/9/22 Marcus Bauer : > > First of all thanks for the many positive emails I got over the last > > months, motivating me to bring a new release of tangoGPS to the coolest > > open hardware gadget on earth - the openmoko phone. > > excellent work, marcus. looking forward to using it > > is there a binary for openmoko? > > shr devs, could you get the new version in the repos? > > cheers It's build but it can't be sync to the feed. The package can be found here: http://build.shr- project.org/tests/mrmoku/unstable/feed/armv4t/tangogps_0.9.7-r1_armv4t.ipk ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: tangogps 0.9.7 release
Hi Marcus, Thank you very much for TangoGPS. It is without any question my favourite app for the Freerunner. You are doing a great job! However, there is one thing that you could improve: Sometimes, when I use tangogps for "navigating" I end up in areas not yet mapped on OSM. In that case it would be great to be able to store the current track afterwards if the Track logging has not been started before. Currently TangoGPS throws away the current track information if one presses "Start Logging". Thanks again, Michael On Monday 21 September 2009 18:43:37 Marcus Bauer wrote: > Heya out there! > > First of all thanks for the many positive emails I got over the last > months, motivating me to bring a new release of tangoGPS to the coolest > open hardware gadget on earth - the openmoko phone. > > The new features include: > > * overzoom until level 20 > * upscaling of missing tiles > * a map scale indicator > * overhauled "this point" function >- easy measuring of distances and ways >- display of bearing = useful for navigation > * friend function simplified and you can now add a message >to your position > > > As always, it runs well on your laptop/netbook too. The full release > announcement is here: > > http://www.tangogps.org/gps/cat/News > > I am currently looking for cool stories/photos/blog entries for > featuring on the website. Thus send me your stories, pictures or links > - be it on the Freerunner or any other device. > > Have fun! > Marcus > > > > > > > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > signature.asc Description: This is a digitally signed message part. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: tangogps 0.9.7 release
2009/9/22 Marcus Bauer : > First of all thanks for the many positive emails I got over the last > months, motivating me to bring a new release of tangoGPS to the coolest > open hardware gadget on earth - the openmoko phone. excellent work, marcus. looking forward to using it is there a binary for openmoko? shr devs, could you get the new version in the repos? cheers ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: tangogps 0.9.7 release
2009/9/22 Alexander Lehner : > I'm not sure whether the gpx import is part of tangogps by default. > I once wrote a hacked version that did that. > > In fact it was not a real XML parser, but only a stupid lookup of strings, > so if it doesn't work any more, it would be easy to make that work again. if anyone is interested in an xml parser, to convert gpx to tangogps format, a friend and i wrote a xslt parser a few months back. see here for more info: http://wiki.openmoko.org/wiki/TangoGPS#Importing_Tracks_into_tangoGPS ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: tangogps 0.9.7 release
yeah it was a modified one I'm was hoping it would be included in this release I think I even mailed Marcus about it On Mon, Sep 21, 2009 at 9:11 PM, Alexander Lehner < leh...@edv-buero-lehner.de> wrote: > > > On Mon, 21 Sep 2009, Yorick Moko wrote: > > > I used googlemaps to do the routing, converted the road to gpx and loaded > it > > in tangogps > > I'm not sure whether the gpx import is part of tangogps by default. > I once wrote a hacked version that did that. > > In fact it was not a real XML parser, but only a stupid lookup of strings, > so if it doesn't work any more, it would be easy to make that work again. > > > Alex. > > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: tangogps 0.9.7 release
On Mon, 21 Sep 2009, Yorick Moko wrote: > I used googlemaps to do the routing, converted the road to gpx and loaded it > in tangogps I'm not sure whether the gpx import is part of tangogps by default. I once wrote a hacked version that did that. In fact it was not a real XML parser, but only a stupid lookup of strings, so if it doesn't work any more, it would be easy to make that work again. Alex. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: tangogps 0.9.7 release
On Mon, Sep 21, 2009 at 6:43 PM, Marcus Bauer wrote: > > Heya out there! > > First of all thanks for the many positive emails I got over the last > months, motivating me to bring a new release of tangoGPS to the coolest > open hardware gadget on earth - the openmoko phone. > > The new features include: > > * overzoom until level 20 > * upscaling of missing tiles > * a map scale indicator > * overhauled "this point" function > - easy measuring of distances and ways > - display of bearing = useful for navigation > * friend function simplified and you can now add a message > to your position > > > As always, it runs well on your laptop/netbook too. The full release > announcement is here: > > http://www.tangogps.org/gps/cat/News > > I am currently looking for cool stories/photos/blog entries for > featuring on the website. Thus send me your stories, pictures or links > - be it on the Freerunner or any other device. > > Have fun! > Marcus > > Great news!! I think this is the most used app for the FR I've navigated with it on a roadtrip (navit as a backup) 3500km though eastern europe in 5 days (no paper maps or other devices) I used googlemaps to do the routing, converted the road to gpx and loaded it in tangogps this worked great and we didn't get lost :-) other apps also use the maps of tangogs (advanced geocaching and evopedia for example) which is an acknowledgement that it's a good programme keep up the good work! looking forward to further upgrades ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
tangogps 0.9.7 release
Heya out there! First of all thanks for the many positive emails I got over the last months, motivating me to bring a new release of tangoGPS to the coolest open hardware gadget on earth - the openmoko phone. The new features include: * overzoom until level 20 * upscaling of missing tiles * a map scale indicator * overhauled "this point" function - easy measuring of distances and ways - display of bearing = useful for navigation * friend function simplified and you can now add a message to your position As always, it runs well on your laptop/netbook too. The full release announcement is here: http://www.tangogps.org/gps/cat/News I am currently looking for cool stories/photos/blog entries for featuring on the website. Thus send me your stories, pictures or links - be it on the Freerunner or any other device. Have fun! Marcus ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community