]> err.no Git - libchamplain/log
libchamplain
15 years agoAdd highlight possibility to base marker
Pierre-Luc Beaudoin [Mon, 6 Jul 2009 18:19:43 +0000 (19:19 +0100)]
Add highlight possibility to base marker

15 years agoImplement ChamplainSelectionLayer
Pierre-Luc Beaudoin [Mon, 6 Jul 2009 15:38:34 +0000 (16:38 +0100)]
Implement ChamplainSelectionLayer

15 years agoFix styling
Pierre-Luc Beaudoin [Mon, 6 Jul 2009 11:14:59 +0000 (12:14 +0100)]
Fix styling

15 years agoFix enum doc
Pierre-Luc Beaudoin [Mon, 6 Jul 2009 10:08:57 +0000 (11:08 +0100)]
Fix enum doc

15 years agoCreate ChamplainSelectionLayer
Pierre-Luc Beaudoin [Sun, 5 Jul 2009 19:10:12 +0000 (20:10 +0100)]
Create ChamplainSelectionLayer

15 years agoTest Champlain::MapSource->fill_tile()
Emmanuel Rodriguez [Sun, 12 Jul 2009 12:50:50 +0000 (14:50 +0200)]
Test Champlain::MapSource->fill_tile()

15 years agoBindings for champlain_map_source_fill_tile
Emmanuel Rodriguez [Sun, 12 Jul 2009 12:50:11 +0000 (14:50 +0200)]
Bindings for champlain_map_source_fill_tile

15 years agoset_view() is now static
Emmanuel Rodriguez [Sun, 12 Jul 2009 12:40:20 +0000 (14:40 +0200)]
set_view() is now static

15 years agochamplain_map_source_real_fill_tile() is no longer public.
Emmanuel Rodriguez [Sun, 12 Jul 2009 09:03:23 +0000 (11:03 +0200)]
champlain_map_source_real_fill_tile() is no longer public.

The function champlain_map_source_real_fill_tile is a virtual method and
shouldn't be public. The function isn't declared in the header files but it
exported in libchamplain.so (nm lists it).

15 years agoFix the test for tile->get_modified_time()
Emmanuel Rodriguez [Sat, 11 Jul 2009 19:08:07 +0000 (21:08 +0200)]
Fix the test for tile->get_modified_time()

15 years agoBetter handling of the arguments for $tile->set_modified_time()
Emmanuel Rodriguez [Sat, 11 Jul 2009 19:06:21 +0000 (21:06 +0200)]
Better handling of the arguments for $tile->set_modified_time()

The method can now be invoked without arguments and will default to set the
current time.

15 years agoUnit tests for the missing functions
Emmanuel Rodriguez [Sat, 11 Jul 2009 18:15:57 +0000 (20:15 +0200)]
Unit tests for the missing functions

15 years agoAdd coverage for the missing methods.
Emmanuel Rodriguez [Sat, 11 Jul 2009 18:13:38 +0000 (20:13 +0200)]
Add coverage for the missing methods.

The following methods where not covered:
champlain_tile_get_content
 champlain_tile_get_etag
 champlain_tile_get_modified_time
 champlain_tile_get_modified_time_string
 champlain_tile_set_content
 champlain_tile_set_etag
 champlain_tile_set_modified_time

15 years agoUse gchar instead of char for champlain_tile_get_modified_time_string and champlain_t...
Emmanuel Rodriguez [Sat, 11 Jul 2009 16:18:22 +0000 (18:18 +0200)]
Use gchar instead of char for champlain_tile_get_modified_time_string and champlain_tile_get_etag

15 years agochamplain_tile_get_modified_time and champlain_tile_set_modified_time are now covered...
Victor Godoy Poluceno [Mon, 20 Jul 2009 23:31:36 +0000 (20:31 -0300)]
champlain_tile_get_modified_time and champlain_tile_set_modified_time are now covered by python binding

15 years agoMore user friendly error in python binding configure
Victor Godoy Poluceno [Mon, 20 Jul 2009 18:55:00 +0000 (15:55 -0300)]
More user friendly error in python binding configure

15 years agoimport cluttergtk must be the first import
Victor Godoy Poluceno [Mon, 20 Jul 2009 18:49:01 +0000 (15:49 -0300)]
import cluttergtk must be the first import

15 years agochamplain_view_ensure_markers_visible are now covered by python binding
Victor Godoy Poluceno [Mon, 20 Jul 2009 18:38:32 +0000 (15:38 -0300)]
champlain_view_ensure_markers_visible are now covered by python binding

15 years agoimport cluttergtk must be first import
Victor Godoy Poluceno [Mon, 20 Jul 2009 18:14:12 +0000 (15:14 -0300)]
import cluttergtk must be first import

15 years agoNew python binding demos launcher.py and polygons.py
Victor Godoy Poluceno [Mon, 20 Jul 2009 18:10:13 +0000 (15:10 -0300)]
New python binding demos launcher.py and polygons.py

15 years agocamplain_view_get_coords_at, champlain_view_coords_from_event are now covered by...
Victor Godoy Poluceno [Mon, 20 Jul 2009 17:57:07 +0000 (14:57 -0300)]
camplain_view_get_coords_at, champlain_view_coords_from_event are now covered by python binding

15 years agoUsing AnyEvent::HTTP instead of Net::HTTP::NB
Emmanuel Rodriguez [Sun, 28 Jun 2009 18:26:53 +0000 (20:26 +0200)]
Using AnyEvent::HTTP instead of Net::HTTP::NB

15 years agoShow no more than 10 images
Emmanuel Rodriguez [Sat, 27 Jun 2009 21:20:37 +0000 (23:20 +0200)]
Show no more than 10 images

15 years agoNew example
Emmanuel Rodriguez [Sat, 27 Jun 2009 21:14:57 +0000 (23:14 +0200)]
New example

15 years agoVersion change to 0.05
Emmanuel Rodriguez [Sat, 27 Jun 2009 21:14:41 +0000 (23:14 +0200)]
Version change to 0.05

15 years agoNew image
Emmanuel Rodriguez [Sat, 27 Jun 2009 21:14:00 +0000 (23:14 +0200)]
New image

15 years agoUpdated the documentation
Emmanuel Rodriguez [Sat, 27 Jun 2009 21:13:32 +0000 (23:13 +0200)]
Updated the documentation

15 years agoShow an intermediate image during the download
Emmanuel Rodriguez [Sat, 27 Jun 2009 20:47:46 +0000 (22:47 +0200)]
Show an intermediate image during the download

15 years agoWhite space formatting
Emmanuel Rodriguez [Sat, 27 Jun 2009 19:46:48 +0000 (21:46 +0200)]
White space formatting

15 years agoNew demo showing how to interact with flickr.
Emmanuel Rodriguez [Sat, 27 Jun 2009 18:47:31 +0000 (20:47 +0200)]
New demo showing how to interact with flickr.

15 years agoAdd GObject introspection
Tim Horton [Mon, 29 Jun 2009 01:19:19 +0000 (21:19 -0400)]
Add GObject introspection

15 years agoAdd OpenStreetMap Transport Map
Sebastian Reichel [Mon, 29 Jun 2009 00:40:25 +0000 (20:40 -0400)]
Add OpenStreetMap Transport Map

15 years agoSet the polygons list to NULL after the free in champlain_view_dispose().
Emmanuel Rodriguez [Wed, 17 Jun 2009 19:00:55 +0000 (21:00 +0200)]
Set the polygons list to NULL after the free in champlain_view_dispose().

If the list isn't set to NULL then an application would have wrong memory
access in the case where dispose is called twice for the same object. This
happens on the demo launcher-gtk.

15 years agoFix some memory leaks.
Emmanuel Rodriguez [Tue, 16 Jun 2009 21:18:11 +0000 (23:18 +0200)]
Fix some memory leaks.

champlain_tile_set_modified_time() now makes a copy of the GTimeVal and frees
it when done.

The property etag is now freed.

15 years agochamplain_tile_set_modified_time() takes a const GTimeVal
Emmanuel Rodriguez [Tue, 16 Jun 2009 21:22:00 +0000 (23:22 +0200)]
champlain_tile_set_modified_time() takes a const GTimeVal

15 years agoTime variables (GTimeVal) are declared on the stack.
Emmanuel Rodriguez [Tue, 16 Jun 2009 21:13:15 +0000 (23:13 +0200)]
Time variables (GTimeVal) are declared on the stack.

There's no need to declare them with g_new0 and to free them in the same
funciton. Furthermore, the allocation could fail and the code assumes that all
went fine. If the variable is allocated on the stack there's no need to check
if the allocation was succesful.

15 years agoFree the id when destroying the map source
Emmanuel Rodriguez [Tue, 16 Jun 2009 21:12:28 +0000 (23:12 +0200)]
Free the id when destroying the map source

15 years agoTime variables (GTimeVal) are declared on the stack.
Emmanuel Rodriguez [Tue, 16 Jun 2009 21:07:25 +0000 (23:07 +0200)]
Time variables (GTimeVal) are declared on the stack.

There's no need to declare them with g_new0 and to free them in the same
funciton. Furthermore, the allocation could fail and the code assumes that all
went fine. If the variable is allocated on the stack there's no need to check
if the allocation was succesful.

15 years agoUse the zoom-level 8 by default.
Emmanuel Rodriguez [Tue, 16 Jun 2009 20:27:18 +0000 (22:27 +0200)]
Use the zoom-level 8 by default.

Using a zoom-level higher than 8 places the view in the middle of antartica.
Until we switch to clutter 1.0, it is better not to force the view to go to a
higher level.

15 years agoFree the polygons after being added to the view
Emmanuel Rodriguez [Tue, 16 Jun 2009 20:26:36 +0000 (22:26 +0200)]
Free the polygons after being added to the view

15 years agoFix a leak when disposing of a view that has polygons.
Emmanuel Rodriguez [Tue, 16 Jun 2009 19:16:58 +0000 (21:16 +0200)]
Fix a leak when disposing of a view that has polygons.

The first polygon wasn't freed as only the subsequent elements where freed.
Also the data elements where freed after been unref, this is a bit odd.

15 years agoProvide missing methods champlain_map_source_factory, champlain_polygon_get_points...
Victor Poluceno [Tue, 16 Jun 2009 18:37:12 +0000 (15:37 -0300)]
Provide missing methods champlain_map_source_factory, champlain_polygon_get_points, champlain_polygon_insert_point and champlain_polygon_append_point

15 years agoAdded defs files to pango types
Victor Poluceno [Tue, 16 Jun 2009 18:33:44 +0000 (15:33 -0300)]
Added defs files to pango types

15 years agoPython binding cover all champlain-gtk module
Victor Poluceno [Tue, 16 Jun 2009 18:31:43 +0000 (15:31 -0300)]
Python binding cover all champlain-gtk module

15 years agoAdd missing author
Pierre-Luc Beaudoin [Tue, 16 Jun 2009 18:31:57 +0000 (14:31 -0400)]
Add missing author

15 years agoFix Bug 586024: Makefile lists champlain-version.h twice
Patryk Zawadski [Tue, 16 Jun 2009 18:28:53 +0000 (14:28 -0400)]
Fix Bug 586024: Makefile lists champlain-version.h twice

15 years agoUpdate 0.04
Emmanuel Rodriguez [Mon, 15 Jun 2009 21:48:43 +0000 (23:48 +0200)]
Update 0.04

15 years agoTest that all arguments are passed to the constructor
Emmanuel Rodriguez [Mon, 15 Jun 2009 21:46:19 +0000 (23:46 +0200)]
Test that all arguments are passed to the constructor

15 years agoPass an extra argument ($data) through $factory->register($desc, $sub, $data).
Emmanuel Rodriguez [Mon, 15 Jun 2009 21:43:48 +0000 (23:43 +0200)]
Pass an extra argument ($data) through $factory->register($desc, $sub, $data).

The method register canl now handle an extra data parameter that will be
passed to the constructor.

15 years agoUsing G_N_ELEMENTS instead of hardcoding the array size
Emmanuel Rodriguez [Mon, 15 Jun 2009 21:17:44 +0000 (23:17 +0200)]
Using G_N_ELEMENTS instead of hardcoding the array size

15 years agoTest the arguments passed to the MapSource constructor
Emmanuel Rodriguez [Mon, 15 Jun 2009 21:16:55 +0000 (23:16 +0200)]
Test the arguments passed to the MapSource constructor

15 years agoFix the first parameter type in champlainperl_constructor_create()
Emmanuel Rodriguez [Mon, 15 Jun 2009 21:14:04 +0000 (23:14 +0200)]
Fix the first parameter type in champlainperl_constructor_create()

15 years agoCode formatting
Emmanuel Rodriguez [Mon, 15 Jun 2009 21:02:16 +0000 (23:02 +0200)]
Code formatting

15 years agoAdd a TODO to the bugs in libchamplain
Emmanuel Rodriguez [Mon, 15 Jun 2009 20:45:39 +0000 (22:45 +0200)]
Add a TODO to the bugs in libchamplain

15 years agoUpdate the entry for version 0.04
Emmanuel Rodriguez [Mon, 15 Jun 2009 20:39:59 +0000 (22:39 +0200)]
Update the entry for version 0.04

15 years agoIncrement to 0.3.4
Pierre-Luc Beaudoin [Mon, 15 Jun 2009 13:49:20 +0000 (09:49 -0400)]
Increment to 0.3.4

15 years agoUpdate ChangeLog, NEWS and bump library version
Pierre-Luc Beaudoin [Mon, 15 Jun 2009 13:29:28 +0000 (09:29 -0400)]
Update ChangeLog, NEWS and bump library version

15 years agoFix libchamplain-gtk not linking against libchamplain
Pierre-Luc Beaudoin [Mon, 15 Jun 2009 13:23:06 +0000 (09:23 -0400)]
Fix libchamplain-gtk not linking against libchamplain

15 years agoProperly finish the pending goto animation during a dispose.
Emmanuel Rodriguez [Sun, 14 Jun 2009 21:55:45 +0000 (23:55 +0200)]
Properly finish the pending goto animation during a dispose.

If the view is closed while an animation is pending the program will crash with
the error *** glibc detected *** perl: double free or corruption (!prev): 0x09a68160 ***
See bug: http://bugzilla.gnome.org/show_bug.cgi?id=585776

This patch seems to fix the problem.

15 years agoAccesors/Modifiers for Chamlain::MapSourceDesc are now without prefix (get_/get_).
Emmanuel Rodriguez [Sun, 14 Jun 2009 21:35:32 +0000 (23:35 +0200)]
Accesors/Modifiers for Chamlain::MapSourceDesc are now without prefix (get_/get_).

The prefixes get_ and set_ have been removed because the ChamplainMapSourceDesc
is a struct and not a GObject. By using property names the caller will notice
that the fields are directly accessed.

15 years agoFix a warning on remove_polygon when the view is still 0,0 in size
Pierre-Luc Beaudoin [Sun, 14 Jun 2009 17:56:33 +0000 (13:56 -0400)]
Fix a warning on remove_polygon when the view is still 0,0 in size

15 years agoRedraw polygons when their properties change and points are changed
Pierre-Luc Beaudoin [Sun, 14 Jun 2009 17:47:30 +0000 (13:47 -0400)]
Redraw polygons when their properties change and points are changed

15 years agoTesting hide(), show() and the properties closed-path and visible
Emmanuel Rodriguez [Sun, 14 Jun 2009 17:16:20 +0000 (19:16 +0200)]
Testing hide(), show() and the properties closed-path and visible

15 years agoUpdate the test plan
Emmanuel Rodriguez [Sun, 14 Jun 2009 17:05:44 +0000 (19:05 +0200)]
Update the test plan

15 years agoAdd examples/polygons.pl to the package
Emmanuel Rodriguez [Sun, 14 Jun 2009 17:02:41 +0000 (19:02 +0200)]
Add examples/polygons.pl to the package

15 years agoIncreased the zoom level.
Emmanuel Rodriguez [Sun, 14 Jun 2009 17:00:47 +0000 (19:00 +0200)]
Increased the zoom level.

Ideally a higher zoom level would be used but clutter 0.8 doesn't cooperate too
much and sends the view to antartica. In clutter 1.0 this will be fixed. In the
meanwhile 8 is the higher usable zoom level at startup.

15 years agoAdd add_polygon() and remove_polygon()
Emmanuel Rodriguez [Sun, 14 Jun 2009 16:59:24 +0000 (18:59 +0200)]
Add add_polygon() and remove_polygon()

15 years agoTest filling a polygon
Emmanuel Rodriguez [Sun, 14 Jun 2009 16:31:19 +0000 (18:31 +0200)]
Test filling a polygon

15 years agoMore unit tests.
Emmanuel Rodriguez [Sun, 14 Jun 2009 16:00:05 +0000 (18:00 +0200)]
More unit tests.

Test the behaviour of a freshly created polygon and the setters.

15 years agoUpdated the documentation of is_color
Emmanuel Rodriguez [Sun, 14 Jun 2009 15:58:43 +0000 (17:58 +0200)]
Updated the documentation of is_color

15 years agoBindings for ChamplainPolygon
Emmanuel Rodriguez [Sun, 14 Jun 2009 15:14:46 +0000 (17:14 +0200)]
Bindings for ChamplainPolygon

15 years agoNo need for Test::Exception nor the maps constants
Emmanuel Rodriguez [Sun, 14 Jun 2009 14:47:05 +0000 (16:47 +0200)]
No need for Test::Exception nor the maps constants

15 years agoBindings for ChamplainPoint
Emmanuel Rodriguez [Sun, 14 Jun 2009 14:46:02 +0000 (16:46 +0200)]
Bindings for ChamplainPoint

15 years agoFix very wide shadow actors
Pierre-Luc Beaudoin [Sun, 14 Jun 2009 17:17:55 +0000 (13:17 -0400)]
Fix very wide shadow actors

The shadow actor was way to large and resulted in very large reactive
areas for markers.

15 years agoFix markers reordering if marker's position is updated after being added to the layer
Pierre-Luc Beaudoin [Sun, 14 Jun 2009 17:14:24 +0000 (13:14 -0400)]
Fix markers reordering if marker's position is updated after being added to the layer

15 years agoPut python binding api changes in python demos
Victor Poluceno [Sat, 13 Jun 2009 23:09:38 +0000 (20:09 -0300)]
Put python binding api changes in python demos

15 years agoSync with last champlain api
Victor Poluceno [Sat, 13 Jun 2009 21:06:45 +0000 (18:06 -0300)]
Sync with last champlain api

15 years agoFix Bug 585698 - Use accessor functions instead direct access
Javier Jardón [Sun, 14 Jun 2009 15:15:19 +0000 (11:15 -0400)]
Fix Bug 585698 - Use accessor functions instead direct access

15 years agoSet the current zoom level in the zoom spin button
Emmanuel Rodriguez [Sun, 14 Jun 2009 14:14:38 +0000 (16:14 +0200)]
Set the current zoom level in the zoom spin button

15 years agoFix a regression: There's no mehtod get_state in Champlain::MapView
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

15 years agoReplace t/Gtk2ChamplainViewEmbed.t by t/Gtk2ChamplainEmbed.t in the MANIFEST
Emmanuel Rodriguez [Sun, 14 Jun 2009 14:05:17 +0000 (16:05 +0200)]
Replace t/Gtk2ChamplainViewEmbed.t by t/Gtk2ChamplainEmbed.t in the MANIFEST

15 years agoUse the API of 3.3
Emmanuel Rodriguez [Sun, 14 Jun 2009 14:02:22 +0000 (16:02 +0200)]
Use the API of 3.3

15 years agoAdd uri_format to the MapSourceDesc, it is now required
Emmanuel Rodriguez [Sun, 14 Jun 2009 13:41:53 +0000 (15:41 +0200)]
Add uri_format to the MapSourceDesc, it is now required

15 years agoChamplain::MapSourceFactory->register() works with an hashref
Emmanuel Rodriguez [Sun, 14 Jun 2009 13:41:21 +0000 (15:41 +0200)]
Champlain::MapSourceFactory->register() works with an hashref

15 years agoTesting the new API for Gtk2::ChamplainEmbed
Emmanuel Rodriguez [Sun, 14 Jun 2009 13:15:08 +0000 (15:15 +0200)]
Testing the new API for Gtk2::ChamplainEmbed

15 years agoTesting 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

15 years agoReplace deprecated method names (dup_default, dup_list).
Emmanuel Rodriguez [Sun, 14 Jun 2009 13:10:07 +0000 (15:10 +0200)]
Replace deprecated method names (dup_default, dup_list).

15 years agoUpdate the error message given by set_constructor()
Emmanuel Rodriguez [Sun, 14 Jun 2009 12:59:44 +0000 (14:59 +0200)]
Update the error message given by set_constructor()

15 years agoXS file for Champlain::MapSourceDesc
Emmanuel Rodriguez [Sun, 14 Jun 2009 12:59:08 +0000 (14:59 +0200)]
XS file for Champlain::MapSourceDesc

15 years agoAdd the properties uri_format and constructor.
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.

15 years agoThe accessors/modifiers are now done through XS.
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.

15 years agoChamplain::MapSourceFactory has accessors
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.

15 years agoChamplain::MapSourceFactory->get_list is now Champlain::MapSourceFactory->dup_list
Emmanuel Rodriguez [Sat, 13 Jun 2009 14:59:33 +0000 (16:59 +0200)]
Champlain::MapSourceFactory->get_list is now Champlain::MapSourceFactory->dup_list

15 years agoMap names use '-' as a separator instead of '::'
Emmanuel Rodriguez [Sat, 13 Jun 2009 14:46:11 +0000 (16:46 +0200)]
Map names use '-' as a separator instead of '::'

15 years agoUpstream changed the GType for GtkChamplainEmbed to GTK_TYPE_CHAMPLAIN_EMBED
Emmanuel Rodriguez [Sat, 13 Jun 2009 14:42:20 +0000 (16:42 +0200)]
Upstream changed the GType for GtkChamplainEmbed to GTK_TYPE_CHAMPLAIN_EMBED

15 years agoRename Gtk2::Champlain::ViewEmbed to Gtk2::ChamplainEmbed
Emmanuel Rodriguez [Sat, 13 Jun 2009 14:32:37 +0000 (16:32 +0200)]
Rename Gtk2::Champlain::ViewEmbed to Gtk2::ChamplainEmbed

15 years agoRename 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.

15 years agoReplace champlain_map_source_factory_get_list by champlain_map_source_factory_dup_list
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

15 years agoChamplain::MapSourceDesc is now a GBoxed type.
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.

15 years agoAllow libsoup to use more connections per host
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