]> err.no Git - libchamplain/log
libchamplain
15 years agoCatch an arithmetic exception (division by 0)
Emmanuel Rodriguez [Fri, 31 Jul 2009 18:34:03 +0000 (20:34 +0200)]
Catch an arithmetic exception (division by 0)

15 years agoVersion bump to 0.3.5
Pierre-Luc Beaudoin [Fri, 31 Jul 2009 23:43:38 +0000 (19:43 -0400)]
Version bump to 0.3.5

15 years agodelete ChangeLog file
Pierre-Luc Beaudoin [Fri, 31 Jul 2009 23:43:27 +0000 (19:43 -0400)]
delete ChangeLog file

15 years agoREADME, NEWS + libtool versioning
Pierre-Luc Beaudoin [Fri, 31 Jul 2009 23:28:23 +0000 (19:28 -0400)]
README, NEWS + libtool versioning

15 years agoFix Bug 588224 – Does not build with automake 1.11
Cosimo Cecchi [Fri, 31 Jul 2009 22:18:25 +0000 (18:18 -0400)]
Fix Bug 588224 – Does not build with automake 1.11

15 years agoFix Bug 586157 – libchamplain-gtk does not build with GTK 2.2
Simon Wenner [Fri, 31 Jul 2009 22:15:51 +0000 (18:15 -0400)]
Fix Bug 586157 – libchamplain-gtk does not build with GTK 2.2

15 years agoAdd missing pychamplain.h in dist
Pierre-Luc Beaudoin [Fri, 31 Jul 2009 22:06:16 +0000 (18:06 -0400)]
Add missing pychamplain.h in dist

15 years agoFix Bug 585854 – Make distcheck required --enable-python but doesn't say so
Frederic Peters [Fri, 31 Jul 2009 22:05:23 +0000 (18:05 -0400)]
Fix Bug 585854 – Make distcheck required --enable-python but doesn't say so

15 years agoUpdate python binding
Victor Godoy Poluceno [Fri, 31 Jul 2009 17:46:27 +0000 (14:46 -0300)]
Update python binding

15 years agoUpdate the release 0.06
Emmanuel Rodriguez [Wed, 29 Jul 2009 20:43:18 +0000 (22:43 +0200)]
Update the release 0.06

15 years agoClear the points when the polygon is disposed
Emmanuel Rodriguez [Wed, 29 Jul 2009 20:33:47 +0000 (22:33 +0200)]
Clear the points when the polygon is disposed

15 years agoRemove a TODO and test that clear can be called twice
Emmanuel Rodriguez [Wed, 29 Jul 2009 20:28:24 +0000 (22:28 +0200)]
Remove a TODO and test that clear can be called twice

15 years agoFix a memory bug in champlain_polygon_clear_points()
Emmanuel Rodriguez [Wed, 29 Jul 2009 20:26:05 +0000 (22:26 +0200)]
Fix a memory bug in champlain_polygon_clear_points()

Clearing the points is now initializing the list to NULL. This causes the list
to be reusable. Otherwise points can't be added to it afterwards.

15 years agoCoverage for Champlain::Polygon
Emmanuel Rodriguez [Wed, 29 Jul 2009 20:09:58 +0000 (22:09 +0200)]
Coverage for Champlain::Polygon

Add the function:
  - champlain_polygon_remove_point

15 years agoRemove the semicolon in XS declarations
Emmanuel Rodriguez [Wed, 29 Jul 2009 20:02:48 +0000 (22:02 +0200)]
Remove the semicolon in XS declarations

15 years agoCoverage for Champlain::Marker.
Emmanuel Rodriguez [Wed, 29 Jul 2009 19:47:16 +0000 (21:47 +0200)]
Coverage for Champlain::Marker.

Add the function:
  - champlain_marker_set_highlight_color

15 years agoCoverage for Champlain::Layer.
Emmanuel Rodriguez [Wed, 29 Jul 2009 19:20:12 +0000 (21:20 +0200)]
Coverage for Champlain::Layer.

Add the functions:
  - champlain_layer_hide
  - champlain_layer_show
  - champlain_layer_remove_marker

15 years agoImplement champlain_layer_add_marker()
Emmanuel Rodriguez [Wed, 29 Jul 2009 19:10:45 +0000 (21:10 +0200)]
Implement champlain_layer_add_marker()

15 years agoImplement champlain_base_marker_set_highlighted() and champlain_base_marker_get_highl...
Emmanuel Rodriguez [Wed, 29 Jul 2009 18:57:10 +0000 (20:57 +0200)]
Implement champlain_base_marker_set_highlighted() and champlain_base_marker_get_highlighted()

15 years agoHide some of the Clutter API
Pierre-Luc Beaudoin [Wed, 29 Jul 2009 03:47:54 +0000 (23:47 -0400)]
Hide some of the Clutter API

Just in case we decide to have ChamplainLayer not be a
ClutterGroup in future versions

15 years agoAdd champlain_polygon_remote_point
Pierre-Luc Beaudoin [Wed, 29 Jul 2009 03:24:09 +0000 (23:24 -0400)]
Add champlain_polygon_remote_point

15 years agoSimply prepend the markers when selected
Emmanuel Rodriguez [Tue, 28 Jul 2009 20:57:57 +0000 (22:57 +0200)]
Simply prepend the markers when selected

15 years agoThe selection calls differ if they are made from the GUI (with the mouse) or through...
Emmanuel Rodriguez [Tue, 28 Jul 2009 20:35:10 +0000 (22:35 +0200)]
The selection calls differ if they are made from the GUI (with the mouse) or through the API.

Selecting markers with the mouse toggles the event the makers on/off while
selecting with the API doesn't toggle the markers.

15 years agoTest switching between multiple selection modes.
Emmanuel Rodriguez [Sat, 11 Jul 2009 09:48:12 +0000 (11:48 +0200)]
Test switching between multiple selection modes.

15 years agoTest reslecting already selected markers
Emmanuel Rodriguez [Sat, 11 Jul 2009 09:09:13 +0000 (11:09 +0200)]
Test reslecting already selected markers

15 years agoUse a SelectionLayer for the markers
Emmanuel Rodriguez [Sat, 11 Jul 2009 09:08:40 +0000 (11:08 +0200)]
Use a SelectionLayer for the markers

15 years agoTest calling champlain_selection_layer_select twice on the smame marker
Emmanuel Rodriguez [Sat, 11 Jul 2009 08:46:40 +0000 (10:46 +0200)]
Test calling champlain_selection_layer_select twice on the smame marker

15 years agoBindings for champlain_selection_layer_select_all()
Emmanuel Rodriguez [Sat, 11 Jul 2009 08:42:45 +0000 (10:42 +0200)]
Bindings for champlain_selection_layer_select_all()

15 years agoTest notify::selection-mode
Emmanuel Rodriguez [Sat, 11 Jul 2009 07:14:53 +0000 (09:14 +0200)]
Test notify::selection-mode

15 years agoTest selection in single mode
Emmanuel Rodriguez [Thu, 9 Jul 2009 21:57:52 +0000 (23:57 +0200)]
Test selection in single mode

15 years agoTest the property selection-mode
Emmanuel Rodriguez [Thu, 9 Jul 2009 21:22:50 +0000 (23:22 +0200)]
Test the property selection-mode

15 years agoFix the Enum ChamplainSelectionMode
Emmanuel Rodriguez [Thu, 9 Jul 2009 21:22:07 +0000 (23:22 +0200)]
Fix the Enum ChamplainSelectionMode

15 years agoScalar context on a XS method is too strange
Emmanuel Rodriguez [Thu, 9 Jul 2009 20:22:13 +0000 (22:22 +0200)]
Scalar context on a XS method is too strange

15 years agoComplete tests for multiple selection mode
Emmanuel Rodriguez [Thu, 9 Jul 2009 20:04:24 +0000 (22:04 +0200)]
Complete tests for multiple selection mode

15 years agoget_selected_markers() returns the proper count when empty in scalar context
Emmanuel Rodriguez [Thu, 9 Jul 2009 20:03:27 +0000 (22:03 +0200)]
get_selected_markers() returns the proper count when empty in scalar context

15 years agoVersion change to 0.06
Emmanuel Rodriguez [Thu, 9 Jul 2009 18:49:35 +0000 (20:49 +0200)]
Version change to 0.06

15 years agoReturn XSRETURN_EMPTY if champlain_polygon_get_points() has no points
Emmanuel Rodriguez [Wed, 8 Jul 2009 21:11:32 +0000 (23:11 +0200)]
Return XSRETURN_EMPTY if champlain_polygon_get_points() has no points

15 years agoBasic implementation of ChamplainSelectionLayer
Emmanuel Rodriguez [Wed, 8 Jul 2009 21:11:02 +0000 (23:11 +0200)]
Basic implementation of ChamplainSelectionLayer

15 years agoSet the highlight color to use Gtk's selection color
Pierre-Luc Beaudoin [Tue, 28 Jul 2009 02:45:41 +0000 (22:45 -0400)]
Set the highlight color to use Gtk's selection color

15 years agoFix behavior in multiple mode
Pierre-Luc Beaudoin [Tue, 28 Jul 2009 00:50:27 +0000 (20:50 -0400)]
Fix behavior in multiple mode

Clicking on one selected marker in a group of selected marker
should highlight only this marker.

15 years agoEat selection events
Pierre-Luc Beaudoin [Tue, 28 Jul 2009 00:37:33 +0000 (20:37 -0400)]
Eat selection events

This prevents unreactive (by user) markers to pass the
click event to the stage to unselect all markers.

15 years agoUnselect All when clicking around markers
Pierre-Luc Beaudoin [Tue, 28 Jul 2009 00:33:26 +0000 (20:33 -0400)]
Unselect All when clicking around markers

15 years agoFix double printf
Pierre-Luc Beaudoin [Tue, 28 Jul 2009 00:31:57 +0000 (20:31 -0400)]
Fix double printf

15 years agoSwitching to single selection mode clears the previous selections
Emmanuel Rodriguez [Sat, 11 Jul 2009 09:47:42 +0000 (11:47 +0200)]
Switching to single selection mode clears the previous selections

15 years agoImplement champlain_selection_layer_select_all
Emmanuel Rodriguez [Sat, 11 Jul 2009 08:11:28 +0000 (10:11 +0200)]
Implement champlain_selection_layer_select_all

This implementation will only work when the layer selection mode is set to
multiple. This is because it seems strange to select more than one marker if
the selection mode is set to single.

15 years agoDocumentation formatting
Emmanuel Rodriguez [Sat, 11 Jul 2009 07:21:05 +0000 (09:21 +0200)]
Documentation formatting

15 years agoFix a typo in a comment
Emmanuel Rodriguez [Sat, 11 Jul 2009 07:19:27 +0000 (09:19 +0200)]
Fix a typo in a comment

15 years agoEmit the notify signal selection-mode when the selection mode is changed
Emmanuel Rodriguez [Sat, 11 Jul 2009 07:14:26 +0000 (09:14 +0200)]
Emit the notify signal selection-mode when the selection mode is changed

15 years agoFix champlain_selection_layer_select() in single mode.
Emmanuel Rodriguez [Thu, 9 Jul 2009 21:59:21 +0000 (23:59 +0200)]
Fix champlain_selection_layer_select() in single mode.

The method was acting as a NOOP because of a mistake in real_select().

15 years agoAdd the property selection-mode
Emmanuel Rodriguez [Thu, 9 Jul 2009 21:21:37 +0000 (23:21 +0200)]
Add the property selection-mode

15 years agoHighlight markers and fixes
Pierre-Luc Beaudoin [Mon, 6 Jul 2009 18:20:55 +0000 (19:20 +0100)]
Highlight markers and fixes

15 years agoAdd selection debug
Pierre-Luc Beaudoin [Mon, 6 Jul 2009 18:19:55 +0000 (19:19 +0100)]
Add selection debug

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