]>
err.no Git - libchamplain/log
Emmanuel Rodriguez [Sun, 14 Jun 2009 14:14:38 +0000 (16:14 +0200)]
Set the current zoom level in the zoom spin button
Emmanuel Rodriguez [Sun, 14 Jun 2009 14:11:24 +0000 (16:11 +0200)]
Fix a regression: There's no mehtod get_state in Champlain::MapView
Emmanuel Rodriguez [Sun, 14 Jun 2009 14:05:17 +0000 (16:05 +0200)]
Replace t/Gtk2ChamplainViewEmbed.t by t/Gtk2ChamplainEmbed.t in the MANIFEST
Emmanuel Rodriguez [Sun, 14 Jun 2009 14:02:22 +0000 (16:02 +0200)]
Use the API of 3.3
Emmanuel Rodriguez [Sun, 14 Jun 2009 13:41:53 +0000 (15:41 +0200)]
Add uri_format to the MapSourceDesc, it is now required
Emmanuel Rodriguez [Sun, 14 Jun 2009 13:41:21 +0000 (15:41 +0200)]
Champlain::MapSourceFactory->register() works with an hashref
Emmanuel Rodriguez [Sun, 14 Jun 2009 13:15:08 +0000 (15:15 +0200)]
Testing the new API for Gtk2::ChamplainEmbed
Emmanuel Rodriguez [Sun, 14 Jun 2009 13:14:54 +0000 (15:14 +0200)]
Testing the new API for Gtk2::ChamplainEmbed
Emmanuel Rodriguez [Sun, 14 Jun 2009 13:10:07 +0000 (15:10 +0200)]
Replace deprecated method names (dup_default, dup_list).
Emmanuel Rodriguez [Sun, 14 Jun 2009 12:59:44 +0000 (14:59 +0200)]
Update the error message given by set_constructor()
Emmanuel Rodriguez [Sun, 14 Jun 2009 12:59:08 +0000 (14:59 +0200)]
XS file for Champlain::MapSourceDesc
Emmanuel Rodriguez [Sun, 14 Jun 2009 11:48:01 +0000 (13:48 +0200)]
Add the properties uri_format and constructor.
The get/set method for constructor are not working yet.
Emmanuel Rodriguez [Sun, 14 Jun 2009 10:58:04 +0000 (12:58 +0200)]
The accessors/modifiers are now done through XS.
Before the object wasn't registered as a GType and all marshalling had to be
done by hand. Furthermore the C structure was transformed into a Per hash
making the hash fields out of sync with the C structure. Now that the object is
a GType (GBoxed) everything is more natural.
Emmanuel Rodriguez [Sat, 13 Jun 2009 15:36:51 +0000 (17:36 +0200)]
Champlain::MapSourceFactory has accessors
The data structure members have now a Perl accessor. This makes the $desc a
more intuive object to use in Perl.
Emmanuel Rodriguez [Sat, 13 Jun 2009 14:59:33 +0000 (16:59 +0200)]
Champlain::MapSourceFactory->get_list is now Champlain::MapSourceFactory->dup_list
Emmanuel Rodriguez [Sat, 13 Jun 2009 14:46:11 +0000 (16:46 +0200)]
Map names use '-' as a separator instead of '::'
Emmanuel Rodriguez [Sat, 13 Jun 2009 14:42:20 +0000 (16:42 +0200)]
Upstream changed the GType for GtkChamplainEmbed to GTK_TYPE_CHAMPLAIN_EMBED
Emmanuel Rodriguez [Sat, 13 Jun 2009 14:32:37 +0000 (16:32 +0200)]
Rename Gtk2::Champlain::ViewEmbed to Gtk2::ChamplainEmbed
Emmanuel Rodriguez [Sat, 13 Jun 2009 14:30:38 +0000 (16:30 +0200)]
Rename Gtk2::Champlain::ViewEmbed to Gtk2::ChamplainEmbed
The C API for gtk_champlain_view_embed has been changed and the methods are now
prefixed with gtk_champlain_embed.
Emmanuel Rodriguez [Sat, 13 Jun 2009 13:51:00 +0000 (15:51 +0200)]
Replace champlain_map_source_factory_get_list by champlain_map_source_factory_dup_list
Emmanuel Rodriguez [Sat, 13 Jun 2009 13:29:54 +0000 (15:29 +0200)]
Champlain::MapSourceDesc is now a GBoxed type.
This is supposed to make the bindings easier. This patch is still untested.
Pierre-Luc Beaudoin [Sat, 13 Jun 2009 22:26:56 +0000 (18:26 -0400)]
Allow libsoup to use more connections per host
8 is apparently the default on Firefox and Opera, this dramatically
improve loading speeds at the cost of server ressources
Pierre-Luc Beaudoin [Sat, 13 Jun 2009 22:18:39 +0000 (18:18 -0400)]
Fix array usage in ChamplainZoomLevel
Based on how the array was iterated, it wasn't rare that the requested
index would be well over the array's end.
Pierre-Luc Beaudoin [Sat, 13 Jun 2009 21:31:17 +0000 (17:31 -0400)]
Abort any pending network requests when the source is disposed
Pierre-Luc Beaudoin [Sat, 13 Jun 2009 20:28:05 +0000 (16:28 -0400)]
Ignore some new files
Pierre-Luc Beaudoin [Sat, 13 Jun 2009 20:27:52 +0000 (16:27 -0400)]
Stop any ongoing animation before disposing
Pierre-Luc Beaudoin [Sat, 13 Jun 2009 15:37:51 +0000 (11:37 -0400)]
Add guards to ChamplainMapSource functions
Pierre-Luc Beaudoin [Sat, 13 Jun 2009 14:23:19 +0000 (10:23 -0400)]
Rename GTK_CHAMPLAIN_TYPE_EMBED to GTK_TYPE_CHAMPLAIN_EMBED to match Gtk's
Pierre-Luc Beaudoin [Fri, 12 Jun 2009 05:20:46 +0000 (01:20 -0400)]
Make the cache expire 1 day
1 hour was ridicoulous and adds unnecessary stress on the servers
Pierre-Luc Beaudoin [Fri, 12 Jun 2009 04:51:52 +0000 (00:51 -0400)]
Register ChamplainMapSourceDesc as a G_TYPE_BOXED
Pierre-Luc Beaudoin [Fri, 12 Jun 2009 04:34:58 +0000 (00:34 -0400)]
Rename ChamplainViewEmbed to GtkChamplainEmbed
This removes the 2 view duality problem. It also solves
issues where the ChamplainView would load data into clutter
before the stages even existed (giving OpenGl errors).
Pierre-Luc Beaudoin [Thu, 21 May 2009 22:32:48 +0000 (18:32 -0400)]
Make ChamplainViewEmbed create ChamplainView for the user
Pierre-Luc Beaudoin [Thu, 21 May 2009 22:21:14 +0000 (18:21 -0400)]
Make it possible to create ChamplainView after ChamplainViewEmbed
If not, the first tiles could be loaded while the stage isn't created yet,
resulting in COGL errors.
Pierre-Luc Beaudoin [Fri, 12 Jun 2009 03:46:39 +0000 (23:46 -0400)]
Fix Bug 584149: libchamplain should set the user agent on libsoup
Pierre-Luc Beaudoin [Fri, 12 Jun 2009 03:40:16 +0000 (23:40 -0400)]
Remove non filename friendly caracters from map ids and use them as directory name
Emmanuel Rodriguez [Fri, 12 Jun 2009 03:35:01 +0000 (23:35 -0400)]
Add parameters to map sources constructors
Emmanuel Rodriguez [Tue, 19 May 2009 10:08:15 +0000 (12:08 +0200)]
Don't invoke gperl_callback_invoke() with the extra data gpointer.
The data gpointer is used to pass the Perl callback. It makes no sense to pass
it back to the Perl callback.
Emmanuel Rodriguez [Tue, 19 May 2009 10:07:49 +0000 (12:07 +0200)]
Test the registration of a custom map source
Emmanuel Rodriguez [Tue, 19 May 2009 09:34:10 +0000 (11:34 +0200)]
Replace all map constructors by a generic one.
All map constructors can be replaced by a more generic one if the information in
the ChamplainMapSourceDesc is shared with the ChamplainMapSource and if the URL
for the tiles is passed as the extra parameter to the constructor.
Emmanuel Rodriguez [Tue, 19 May 2009 09:26:17 +0000 (11:26 +0200)]
Fixed the expected license for OpenAerialMap
Emmanuel Rodriguez [Tue, 19 May 2009 09:22:37 +0000 (11:22 +0200)]
The predefined map sources have the same in formation in the desc as in the map source.
The map names and licenses are the same now.
Emmanuel Rodriguez [Mon, 18 May 2009 20:36:52 +0000 (22:36 +0200)]
Map description is no longer copy/pasted
The private map constructors are using the ChamplainMapSourceDesc for building
the maps. This eliminates all copy/paste.
Emmanuel Rodriguez [Mon, 18 May 2009 19:57:10 +0000 (21:57 +0200)]
The type gpointer is already a pointer. No need for gpointer *data
Emmanuel Rodriguez [Mon, 18 May 2009 19:36:32 +0000 (21:36 +0200)]
Champlain::MapSourceFactory->register() works with perl code refs
Emmanuel Rodriguez [Mon, 18 May 2009 19:35:06 +0000 (21:35 +0200)]
Set the gpointer data of the builtin MapSources to NULL
Emmanuel Rodriguez [Mon, 18 May 2009 19:33:30 +0000 (21:33 +0200)]
champlain_map_source_factory_register takes a constructor and a gpointer
Emmanuel Rodriguez [Mon, 18 May 2009 19:30:24 +0000 (21:30 +0200)]
gpointer is already a pointer, no need for gpointer*
Emmanuel Rodriguez [Mon, 18 May 2009 19:26:09 +0000 (21:26 +0200)]
ChamplainMapSourceConstructor is more binding friendly.
Since the constructor is a callback it is now passed an extra gpointer. This
will allow the bindings to properly pass a custom parameter that will wrap a
language defined function with the extra parameters.
The type ChamplainMapSourceDesc has been enhanced with an extra gpointer.
Pierre-Luc Beaudoin [Fri, 12 Jun 2009 03:18:20 +0000 (23:18 -0400)]
Reintroduce deleted functions and mark them as deprecated
They will be removed just before releasing 0.4.
Pierre-Luc Beaudoin [Fri, 12 Jun 2009 02:18:10 +0000 (22:18 -0400)]
Version bump to 0.3.3
Pierre-Luc Beaudoin [Fri, 12 Jun 2009 02:13:33 +0000 (22:13 -0400)]
get_list is now champlain_map_source_factory_dup_list
As the list is duplicated
Pierre-Luc Beaudoin [Fri, 12 Jun 2009 02:08:14 +0000 (22:08 -0400)]
Fix ChamplainPoint gtk documentation
Pierre-Luc Beaudoin [Fri, 12 Jun 2009 00:40:25 +0000 (20:40 -0400)]
Fix configure warning
Pierre-Luc Beaudoin [Fri, 12 Jun 2009 00:40:15 +0000 (20:40 -0400)]
Define ChamplainPoint as a G_TYPE_BOXED
Pierre-Luc Beaudoin [Wed, 10 Jun 2009 04:14:25 +0000 (00:14 -0400)]
Fix ChamplainPolygon documentation
Pierre-Luc Beaudoin [Wed, 10 Jun 2009 03:30:30 +0000 (23:30 -0400)]
Resize polygon actors on ChamplainView resize
Also add visibility
Pierre-Luc Beaudoin [Wed, 10 Jun 2009 02:49:06 +0000 (22:49 -0400)]
Have each ChamplainPolygon have their ClutterActor
Pierre-Luc Beaudoin [Wed, 10 Jun 2009 02:04:32 +0000 (22:04 -0400)]
Refine the Polygon point API
Pierre-Luc Beaudoin [Wed, 10 Jun 2009 01:00:49 +0000 (21:00 -0400)]
Rename Line to Polygon
Pierre-Luc Beaudoin [Tue, 26 May 2009 02:48:38 +0000 (22:48 -0400)]
Better line demo
Pierre-Luc Beaudoin [Tue, 26 May 2009 02:48:28 +0000 (22:48 -0400)]
Implement fill/stroke color, and stroke width
Pierre-Luc Beaudoin [Tue, 26 May 2009 02:22:35 +0000 (22:22 -0400)]
Get rid of double set of default values
Pierre-Luc Beaudoin [Mon, 25 May 2009 23:22:03 +0000 (19:22 -0400)]
Add default stroke and fill colors
Pierre-Luc Beaudoin [Mon, 25 May 2009 22:59:07 +0000 (18:59 -0400)]
FALSE is not NULL
Pierre-Luc Beaudoin [Mon, 25 May 2009 04:22:40 +0000 (00:22 -0400)]
Implement shape filling and stroking
Pierre-Luc Beaudoin [Mon, 25 May 2009 03:41:01 +0000 (23:41 -0400)]
Make the view draw many lines
Pierre-Luc Beaudoin [Mon, 25 May 2009 02:10:15 +0000 (22:10 -0400)]
Draw the lines using Cairo
The lines are drawn on a cairo surface, which is updated
each time the view changes (zoom, center, scroll).
Pierre-Luc Beaudoin [Wed, 3 Jun 2009 21:01:07 +0000 (17:01 -0400)]
Introduce the API for route drawing
Pierre-Luc Beaudoin [Tue, 9 Jun 2009 14:08:11 +0000 (10:08 -0400)]
Fix error tile always showing up when no network connectivity
Pierre-Luc Beaudoin [Tue, 9 Jun 2009 13:41:10 +0000 (09:41 -0400)]
Fix coding style
Emmanuel Rodriguez [Sun, 7 Jun 2009 10:02:35 +0000 (12:02 +0200)]
Rename Champlain::MapSourceFactory->get_default() to Champlain::MapSourceFactory->dup_default()
Pierre-Luc Beaudoin [Tue, 9 Jun 2009 02:06:14 +0000 (22:06 -0400)]
Add DOAP project description
Emmanuel Rodriguez [Thu, 4 Jun 2009 20:16:32 +0000 (22:16 +0200)]
Rename Champlain::MapSourceFactory->get_default() to Champlain::MapSourceFactory->dup_default()
Emmanuel Rodriguez [Thu, 4 Jun 2009 19:46:18 +0000 (21:46 +0200)]
champlain_network_map_source_fill_tile is no longer in the API
Update the test and the XS file.
Emmanuel Rodriguez [Wed, 3 Jun 2009 21:08:05 +0000 (23:08 +0200)]
Synchronized with the API changes made to the singletons.
champlain_map_source_factory_get_default -> champlain_map_source_factory_dup_default
champlain_cache_get_default -> champlain_cache_dup_default
Pierre-Luc Beaudoin [Wed, 3 Jun 2009 21:19:43 +0000 (17:19 -0400)]
Fix Bug 584775: build system installs "uninstalled" version of the packages
Don't install -uninstalled.pc files
Pierre-Luc Beaudoin [Mon, 1 Jun 2009 02:37:34 +0000 (22:37 -0400)]
Fix Bug 583502: Center_on can be wrong
The TidyViewport's Adjustments were not initialized until
the size was set.
Pierre-Luc Beaudoin [Sun, 31 May 2009 22:20:01 +0000 (18:20 -0400)]
Fix Bug 584368 for ChamplainMapSourceFactory
Pierre-Luc Beaudoin [Sun, 31 May 2009 21:01:44 +0000 (17:01 -0400)]
Fix Bug 584368 for ChamplainCache
Pierre-Luc Beaudoin [Sun, 31 May 2009 20:19:15 +0000 (16:19 -0400)]
Fix Bug 584390: Cache doesn't work on first run
It turns out that the ~/.cache/champlain didn't exist
at the moment of the first cache request, resulting in
a error when creating cache.db which would later result
in more errors from SQLite preventing the cache from working.
Pierre-Luc Beaudoin [Sun, 31 May 2009 15:31:24 +0000 (11:31 -0400)]
Fix Bug 584365: "longitude" and "latitude" properties are reversed
Pierre-Luc Beaudoin [Thu, 28 May 2009 14:09:07 +0000 (10:09 -0400)]
Fix coding style
Pierre-Luc Beaudoin [Thu, 28 May 2009 04:38:01 +0000 (00:38 -0400)]
Also unref the previous level
Pierre-Luc Beaudoin [Thu, 28 May 2009 04:37:49 +0000 (00:37 -0400)]
Implement proper dispose and finalize functions where needed
Stephane Delcroix [Wed, 27 May 2009 13:09:31 +0000 (15:09 +0200)]
bump version
Stephane Delcroix [Wed, 27 May 2009 12:01:33 +0000 (14:01 +0200)]
drop the dep down to gtk# 2.12
Stephane Delcroix [Fri, 24 Apr 2009 08:14:26 +0000 (10:14 +0200)]
prefix factory ctors by Create, not New
Stephane Delcroix [Thu, 23 Apr 2009 14:25:07 +0000 (16:25 +0200)]
updated
Stephane Delcroix [Fri, 6 Mar 2009 10:46:45 +0000 (11:46 +0100)]
hide the private properties
Stephane Delcroix [Fri, 6 Mar 2009 10:46:14 +0000 (11:46 +0100)]
generate ChamplainTile
Stephane Delcroix [Fri, 6 Mar 2009 10:22:50 +0000 (11:22 +0100)]
no longer hide ZoomLevel
Stephane Delcroix [Fri, 6 Mar 2009 10:22:26 +0000 (11:22 +0100)]
reparsing api
Pierre-Luc Beaudoin [Sun, 24 May 2009 20:13:54 +0000 (16:13 -0400)]
Fail if either libsoup or libsoup-gnome are not found
Pierre-Luc Beaudoin [Wed, 20 May 2009 22:56:50 +0000 (18:56 -0400)]
Actually show is not working, realize happens in every cases
Pierre-Luc Beaudoin [Wed, 20 May 2009 21:39:39 +0000 (17:39 -0400)]
The window has to be realized (on show) before setting the cursor
Pierre-Luc Beaudoin [Wed, 20 May 2009 15:25:48 +0000 (11:25 -0400)]
Better handling of corrupted files and correctly report if the tile was loaded from cache
Pierre-Luc Beaudoin [Tue, 19 May 2009 05:01:01 +0000 (01:01 -0400)]
Fix Bug 582786: champlain_network_map_source_fill_tile should be private
by making champlain_network_map_source_fill_tile a static function to
champlain-network-map-source.c
Pierre-Luc Beaudoin [Wed, 20 May 2009 14:39:14 +0000 (10:39 -0400)]
Generate the correctly named pc files
if champlain-0.3 is requested, pkgconfig will look for champlain-0.3-uninstalled
first, not champlain-uninstalled
Pierre-Luc Beaudoin [Tue, 19 May 2009 13:30:58 +0000 (09:30 -0400)]
Add comment on name
Pierre-Luc Beaudoin [Tue, 19 May 2009 13:13:19 +0000 (09:13 -0400)]
Fix .pc.in files to have the correct paths