]> err.no Git - libchamplain/log
libchamplain
15 years agoCache expiration creates an compilation error on 32bit systems.
Emmanuel Rodriguez [Fri, 27 Mar 2009 19:53:02 +0000 (20:53 +0100)]
Cache expiration creates an compilation error on 32bit systems.

Insert the calculation of the cache expiration, the compiler should inline
the result and it's easier to understand.
Add 'ul' to each number.

15 years agoMore intelligent ensure_visible (fix bug #576831)
Lionel Dricot [Thu, 26 Mar 2009 10:33:14 +0000 (11:33 +0100)]
More intelligent ensure_visible (fix bug #576831)

15 years agoVersion change to 0.4
Emmanuel Rodriguez [Wed, 25 Mar 2009 21:06:21 +0000 (22:06 +0100)]
Version change to 0.4

15 years agoThe marker is now animated
Emmanuel Rodriguez [Wed, 25 Mar 2009 21:02:05 +0000 (22:02 +0100)]
The marker is now animated

15 years agoReload tile if older than 1 day
Pierre-Luc Beaudoin [Thu, 26 Mar 2009 22:12:52 +0000 (00:12 +0200)]
Reload tile if older than 1 day

15 years agoA line was deleted by error in the previous commit
Pierre-Luc Beaudoin [Thu, 26 Mar 2009 08:12:28 +0000 (10:12 +0200)]
A line was deleted by error in the previous commit

15 years agoFix Bug 576698: Segfault on 32bits platform
Mike Sheldon [Wed, 25 Mar 2009 22:33:03 +0000 (00:33 +0200)]
Fix Bug 576698: Segfault on 32bits platform
This assumes that tile numbers are at most 3 characters long, which isn't the
case. Resulting in "g_sprintf (value, "%d", number);" corrupting the stack and
causing the segfault.

15 years agoFix patch to cover zooming with mouse
Pierre-Luc Beaudoin [Wed, 25 Mar 2009 21:59:38 +0000 (23:59 +0200)]
Fix patch to cover zooming with mouse

15 years agoPartly fix Bug 571702: Host application should be able to limit the maximum and minim...
Simon Wenner [Wed, 25 Mar 2009 21:56:00 +0000 (23:56 +0200)]
Partly fix Bug 571702: Host application should be able to limit the maximum and minimum zoom levels

15 years agoFix bug 576733: animated-marker.py not working and not very pythonistic
Lionel Dricot [Wed, 25 Mar 2009 20:53:08 +0000 (22:53 +0200)]
Fix bug 576733: animated-marker.py not working and not very pythonistic

15 years agoFix memory leaks in champlain_network_map_source_get_tile_uri
Pierre-Luc Beaudoin [Wed, 25 Mar 2009 20:49:10 +0000 (22:49 +0200)]
Fix memory leaks in champlain_network_map_source_get_tile_uri

15 years agoFix Actor clean-up
Pierre-Luc Beaudoin [Wed, 25 Mar 2009 18:23:12 +0000 (20:23 +0200)]
Fix Actor clean-up

15 years agoUnit tests for osm_osmarender and osm_cyclemap
Emmanuel Rodriguez [Tue, 24 Mar 2009 22:05:14 +0000 (23:05 +0100)]
Unit tests for osm_osmarender and osm_cyclemap

15 years agoAdd the map sources: osm_cyclemap and osm_osmarender
Emmanuel Rodriguez [Tue, 24 Mar 2009 21:57:42 +0000 (22:57 +0100)]
Add the map sources: osm_cyclemap and osm_osmarender

15 years agoPort of the C demo launcher-gtk.c
Emmanuel Rodriguez [Tue, 24 Mar 2009 21:56:44 +0000 (22:56 +0100)]
Port of the C demo launcher-gtk.c

15 years agoPort of the C demo animated-marker
Emmanuel Rodriguez [Tue, 24 Mar 2009 20:08:33 +0000 (21:08 +0100)]
Port of the C demo animated-marker

15 years agoTranslate 'cercle' to english
Emmanuel Rodriguez [Tue, 24 Mar 2009 18:59:43 +0000 (19:59 +0100)]
Translate 'cercle' to english

15 years agoPort of the C demo launcher.c
Emmanuel Rodriguez [Tue, 24 Mar 2009 18:49:24 +0000 (19:49 +0100)]
Port of the C demo launcher.c

15 years agoAdd bindings/perl/Champlain/xs/ChamplainZoomLevel.c
Emmanuel Rodriguez [Mon, 23 Mar 2009 21:01:08 +0000 (22:01 +0100)]
Add bindings/perl/Champlain/xs/ChamplainZoomLevel.c

15 years agoAdd the new tests and xs/ChamplainZoomLevel.xs
Emmanuel Rodriguez [Mon, 23 Mar 2009 20:59:21 +0000 (21:59 +0100)]
Add the new tests and xs/ChamplainZoomLevel.xs

15 years agoUse an image
Emmanuel Rodriguez [Mon, 23 Mar 2009 20:58:55 +0000 (21:58 +0100)]
Use an image

15 years agoNew unit tests
Emmanuel Rodriguez [Mon, 23 Mar 2009 20:58:14 +0000 (21:58 +0100)]
New unit tests

15 years agoImages for the examples
Emmanuel Rodriguez [Mon, 23 Mar 2009 20:57:52 +0000 (21:57 +0100)]
Images for the examples

15 years agoBindings for Champlain::ZoomLevel
Emmanuel Rodriguez [Mon, 23 Mar 2009 20:55:10 +0000 (21:55 +0100)]
Bindings for Champlain::ZoomLevel

15 years agoStrings are const
Emmanuel Rodriguez [Mon, 23 Mar 2009 20:54:33 +0000 (21:54 +0100)]
Strings are const

15 years agoUpdate the changelog for version 0.03
Emmanuel Rodriguez [Mon, 23 Mar 2009 20:52:55 +0000 (21:52 +0100)]
Update the changelog for version 0.03

15 years agoUpdate AUTHORS to inclue Emmanuele
Pierre-Luc Beaudoin [Mon, 23 Mar 2009 18:48:09 +0000 (20:48 +0200)]
Update AUTHORS to inclue Emmanuele

15 years agoAdded t/ChamplainMapSource.t
Emmanuel Rodriguez [Tue, 17 Mar 2009 20:37:09 +0000 (21:37 +0100)]
Added t/ChamplainMapSource.t

15 years agoUnit tests for Champlain::MapSource
Emmanuel Rodriguez [Tue, 17 Mar 2009 20:36:19 +0000 (21:36 +0100)]
Unit tests for Champlain::MapSource

15 years agoUnit tests for Champlain::Layer
Emmanuel Rodriguez [Tue, 17 Mar 2009 16:46:45 +0000 (17:46 +0100)]
Unit tests for Champlain::Layer

15 years agoVersion change to 0.03
Emmanuel Rodriguez [Tue, 17 Mar 2009 12:11:11 +0000 (13:11 +0100)]
Version change to 0.03

15 years agoReturn types are constistent with the existing XS
Emmanuel Rodriguez [Tue, 17 Mar 2009 12:09:34 +0000 (13:09 +0100)]
Return types are constistent with the existing XS

15 years agoRemoved the FIXME
Emmanuel Rodriguez [Tue, 17 Mar 2009 12:05:14 +0000 (13:05 +0100)]
Removed the FIXME

15 years agoCode indentation
Emmanuel Rodriguez [Tue, 17 Mar 2009 11:59:25 +0000 (12:59 +0100)]
Code indentation

15 years agoMakefile.PL tweaks
Emmanuele Bassi [Tue, 17 Mar 2009 11:34:20 +0000 (11:34 +0000)]
Makefile.PL tweaks

Various fixes to the Makefile.PL:

  - change the dependencies to be conditional
  - install the champlain-perl.h header file
  - check dependencies first, then invoke ExtUtils::Depends

15 years ago[pm] Detect darwin and change dl_load accordingly
Emmanuele Bassi [Tue, 17 Mar 2009 11:32:53 +0000 (11:32 +0000)]
[pm] Detect darwin and change dl_load accordingly

The dl_load_flags on Darwin are different than the ones from
the other platforms, so we need to detect the operating system
and change the return value of dl_load_flags() accordingly.

15 years ago[view-embed] Use the right types
Emmanuele Bassi [Tue, 17 Mar 2009 11:31:54 +0000 (11:31 +0000)]
[view-embed] Use the right types

When getting the View actor out of the ViewEmbed widget, use the
right type for the get_view() method parameter.

15 years agoAlways include gtk2perl.h explicitly
Emmanuele Bassi [Tue, 17 Mar 2009 11:30:45 +0000 (11:30 +0000)]
Always include gtk2perl.h explicitly

When building the libchamplain-gtk bindings we should explicitly
include gtk2perl.h and not assume that clutterperl.h brings it in.

15 years ago[maps] Fix the ChamplainViewEmbed GType
Emmanuele Bassi [Tue, 17 Mar 2009 11:30:01 +0000 (11:30 +0000)]
[maps] Fix the ChamplainViewEmbed GType

The GType for the ViewEmbed widget is CHAMPLAIN_TYPE_VIEW_EMBED.

15 years agoAdd the GNOME bugzilla
Emmanuel Rodriguez [Tue, 17 Mar 2009 08:44:59 +0000 (09:44 +0100)]
Add the GNOME bugzilla

15 years agoUpdate to 0.02
Emmanuel Rodriguez [Tue, 17 Mar 2009 08:18:48 +0000 (09:18 +0100)]
Update to 0.02

15 years agoPretend champlain_view_embed_get_view() takes a GtkWidget
Emmanuel Rodriguez [Tue, 17 Mar 2009 06:22:23 +0000 (07:22 +0100)]
Pretend champlain_view_embed_get_view() takes a GtkWidget

15 years agoIgnore the files used for building the Perl bindings
Emmanuel Rodriguez [Mon, 16 Mar 2009 20:48:30 +0000 (21:48 +0100)]
Ignore the files used for building the Perl bindings

15 years agoAdded missing entries
Emmanuel Rodriguez [Mon, 16 Mar 2009 19:39:32 +0000 (20:39 +0100)]
Added missing entries

15 years agoThe rule clean removes the build folder
Emmanuel Rodriguez [Mon, 16 Mar 2009 18:57:54 +0000 (19:57 +0100)]
The rule clean removes the build folder

15 years agoVersion change to 0.02
Emmanuel Rodriguez [Mon, 16 Mar 2009 18:31:02 +0000 (19:31 +0100)]
Version change to 0.02

15 years agoNo need to include "ppport.h".
Emmanuel Rodriguez [Mon, 16 Mar 2009 18:28:11 +0000 (19:28 +0100)]
No need to include "ppport.h".

Clutter.pm doesn't do it. Neither do we.

15 years agoMove the include file around.
Emmanuel Rodriguez [Mon, 16 Mar 2009 18:27:10 +0000 (19:27 +0100)]
Move the include file around.

15 years agoFirst argument of gperl_croak_gerror() is now NULL.
Emmanuel Rodriguez [Mon, 16 Mar 2009 18:07:07 +0000 (19:07 +0100)]
First argument of gperl_croak_gerror() is now NULL.

The first parameter of gperl_croak_gerror() is not used and is there for
backward compatibility. Usually NULL is passed there.

15 years agoManifest complies with the current files.
Emmanuel Rodriguez [Sun, 15 Mar 2009 17:52:12 +0000 (18:52 +0100)]
Manifest complies with the current files.

15 years agoAdd the Perl bindings.
Emmanuel Rodriguez [Sun, 15 Mar 2009 16:26:26 +0000 (17:26 +0100)]
Add the Perl bindings.

Create the Perl binding folder using the same file structure as a valid CPAN module.

15 years agoFix warnings when removing a loading tile.
Pierre-Luc Beaudoin [Wed, 25 Mar 2009 06:43:05 +0000 (08:43 +0200)]
Fix warnings when removing a loading tile.

15 years agoFix Tile ref counting
Pierre-Luc Beaudoin [Tue, 24 Mar 2009 17:21:18 +0000 (19:21 +0200)]
Fix Tile ref counting

15 years agoMemory management clean-up
Pierre-Luc Beaudoin [Mon, 23 Mar 2009 22:43:29 +0000 (00:43 +0200)]
Memory management clean-up
Remove the actor from the zoom's group
Unref the actor after creating it

15 years agoFix actor's reference counting in ChamplainTile
Pierre-Luc Beaudoin [Mon, 23 Mar 2009 21:25:00 +0000 (23:25 +0200)]
Fix actor's reference counting in ChamplainTile

15 years agoFix Bug 574809: Provide a way to make visible a bunch of markers
Pierre-Luc Beaudoin [Mon, 23 Mar 2009 20:53:37 +0000 (22:53 +0200)]
Fix Bug 574809: Provide a way to make visible a bunch of markers
and make the go_to animation more sensible

15 years agoAdd pychamplain header file forgotten from previous commit
Mike Sheldon [Mon, 23 Mar 2009 10:36:23 +0000 (10:36 +0000)]
Add pychamplain header file forgotten from previous commit

15 years agoWrap champlain_view_go_to for the python bindings
Mike Sheldon [Sun, 22 Mar 2009 22:06:52 +0000 (22:06 +0000)]
Wrap champlain_view_go_to for the python bindings

15 years agoGet and set width/height don't have matching types
Emmanuel Rodriguez [Sun, 22 Mar 2009 21:12:28 +0000 (23:12 +0200)]
Get and set width/height don't have matching types

15 years agoFix Bug 575139: Corrupted map when double clicking at max level
Pierre-Luc Beaudoin [Sun, 22 Mar 2009 20:52:29 +0000 (22:52 +0200)]
Fix Bug 575139: Corrupted map when double clicking at max level
Even though the fix to 558020 also fixed this issue,
there was a slight undesirable translation happening.

15 years agoFix Bug 557641: Smooth movement to a new position
Pierre-Luc Beaudoin [Sun, 22 Mar 2009 20:47:18 +0000 (22:47 +0200)]
Fix Bug 557641: Smooth movement to a new position
by introducing 2 new functions:
champlain_view_go_to and champlain_view_stop_go_to.

15 years agoFix Bug 558020: Unwanted wrap effect when panning at zoom level >= 8
Pierre-Luc Beaudoin [Sun, 22 Mar 2009 16:56:42 +0000 (18:56 +0200)]
Fix Bug 558020:  Unwanted wrap effect when panning at zoom level >= 8
Recompute anchor if needed when panning too

15 years agoMove anchor computation to a separate function
Pierre-Luc Beaudoin [Mon, 16 Mar 2009 19:05:53 +0000 (21:05 +0200)]
Move anchor computation to a separate function

15 years agoUpdate launcher-gtk.py to use new API
Mike Sheldon [Sun, 22 Mar 2009 17:21:48 +0000 (17:21 +0000)]
Update launcher-gtk.py to use new API
Add label markers to launcher-gtk.py

15 years agoUpdate python bindings to support new API changes
Mike Sheldon [Sun, 22 Mar 2009 01:50:42 +0000 (01:50 +0000)]
Update python bindings to support new API changes
Disable wrapping of zoom_level_set_actor as this isn't implemented yet.
Start adding markers layer to launcher-gtk.py

(forgot -a on previous commit)

15 years agoUpdate python bindings to support new API changes
Mike Sheldon [Sun, 22 Mar 2009 01:32:02 +0000 (01:32 +0000)]
Update python bindings to support new API changes
Disable wrapping of zoom_level_set_actor as this isn't implemented yet.
Start adding markers layer to launcher-gtk.py

15 years agoStart adding markers to launcher-gtk.py example (still needs LabelMarker refactor)
Mike Sheldon [Tue, 3 Mar 2009 12:43:54 +0000 (12:43 +0000)]
Start adding markers to launcher-gtk.py example (still needs LabelMarker refactor)

15 years agoFix virtual function
Pierre-Luc Beaudoin [Sun, 22 Mar 2009 19:14:33 +0000 (21:14 +0200)]
Fix virtual function
possibly fix a crasher happening only when zooming past level 8

15 years agoAssert and return_on_fail should be && not ||
Pierre-Luc Beaudoin [Sun, 22 Mar 2009 15:42:16 +0000 (17:42 +0200)]
Assert and return_on_fail should be && not ||

15 years agoUpdate the ignored files
Pierre-Luc Beaudoin [Sun, 22 Mar 2009 14:48:52 +0000 (16:48 +0200)]
Update the ignored files

15 years agoFix Bug 576206: Getter for the properties latitude and longitude returns wrong values
Pierre-Luc Beaudoin [Sun, 22 Mar 2009 11:24:53 +0000 (13:24 +0200)]
Fix Bug 576206: Getter for the properties latitude and longitude returns wrong values

15 years agoFix Bug 576204: Properties latitude and longitude are registered are not double
Emmanuel Rodriguez [Sun, 22 Mar 2009 11:16:14 +0000 (13:16 +0200)]
Fix Bug 576204: Properties latitude and longitude are registered are not double

15 years agoFix Bug 576159: Various memory management fixes for ChamplainTile
Emmanuel Rodriguez [Sun, 22 Mar 2009 11:10:27 +0000 (13:10 +0200)]
Fix Bug 576159: Various memory management fixes for ChamplainTile

15 years agoChamplainView:actor is read-only, should not have a set function
Mike Sheldon [Sun, 22 Mar 2009 07:21:23 +0000 (09:21 +0200)]
ChamplainView:actor is read-only, should not have a set function

15 years agoFix Bug 575601: Return const gchar* insted of gchar*
Pierre-Luc Beaudoin [Thu, 19 Mar 2009 07:02:47 +0000 (09:02 +0200)]
Fix Bug 575601: Return const gchar* insted of gchar*
Also took time to review the gchar types in Champlain*MapSource and
ChamplainTile.  Some other non const gchar were found.

15 years agoFix Bug 575903: Memory leaks in champlain-network-map-source.c
Emmanuel Rodriguez [Thu, 19 Mar 2009 06:29:46 +0000 (08:29 +0200)]
Fix Bug 575903: Memory leaks in champlain-network-map-source.c

15 years agoFix Bug 575902: ChamplainNetworkMapSource crashes when setting "proxy-uri"
Emmanuel Rodriguez [Thu, 19 Mar 2009 06:25:48 +0000 (08:25 +0200)]
Fix Bug 575902: ChamplainNetworkMapSource crashes when setting "proxy-uri"

15 years agoFix Bug 575645: Properties enum has same comment as the signals enum
Emmanuel Rodriguez [Tue, 17 Mar 2009 08:01:29 +0000 (10:01 +0200)]
Fix Bug 575645: Properties enum has same comment as the signals enum

15 years agoThe inherited object should match the class
Pierre-Luc Beaudoin [Mon, 16 Mar 2009 21:46:01 +0000 (23:46 +0200)]
The inherited object should match the class

15 years agoFix a ton of criticals and warnings if the error tile image is not found.
Pierre-Luc Beaudoin [Mon, 16 Mar 2009 17:49:58 +0000 (19:49 +0200)]
Fix a ton of criticals and warnings if the error tile image is not found.

15 years agoFix Bug 575140: launcher-gtk ignores zoom-level on startup
Pierre-Luc Beaudoin [Mon, 16 Mar 2009 17:41:32 +0000 (19:41 +0200)]
Fix Bug 575140: launcher-gtk ignores zoom-level on startup

15 years agoFix Bug 575138: It is possible to zoom below zoom level 0
Pierre-Luc Beaudoin [Mon, 16 Mar 2009 17:27:59 +0000 (19:27 +0200)]
Fix Bug 575138: It is possible to zoom below zoom level 0

15 years agoAdd buttons over the launcher demo
Pierre-Luc Beaudoin [Mon, 16 Mar 2009 17:14:58 +0000 (19:14 +0200)]
Add buttons over the launcher demo
based on questions asked, this was not clear how to be done.

15 years agoAdd support for OSM Cycle Map and Osmarender tiles
Pierre-Luc Beaudoin [Wed, 11 Mar 2009 08:41:46 +0000 (10:41 +0200)]
Add support for OSM Cycle Map and Osmarender tiles
Aslo fix a bug where tiles were assumed to have 3 bytes per pixel.

15 years agoFix state never done if network error
Pierre-Luc Beaudoin [Tue, 10 Mar 2009 22:47:49 +0000 (00:47 +0200)]
Fix state never done if network error
On network error, the state would stay load as the tile
would never been passed to the view.

15 years agoRemove some left over temp values when ChamplainMapSource was introduced
Pierre-Luc Beaudoin [Tue, 10 Mar 2009 22:17:53 +0000 (00:17 +0200)]
Remove some left over temp values when ChamplainMapSource was introduced

15 years agoFix Bug 559522 – Lack of user feedback during loading of tiles
Pierre-Luc Beaudoin [Tue, 10 Mar 2009 20:46:35 +0000 (22:46 +0200)]
Fix Bug 559522 – Lack of user feedback during loading of tiles
by adding ChamplainView:state which changes state depending if there is any tile loading.

15 years agoFix regression introduced when ChamplainMapSource was introduced
Pierre-Luc Beaudoin [Tue, 10 Mar 2009 19:22:08 +0000 (21:22 +0200)]
Fix regression introduced when ChamplainMapSource was introduced

15 years agoFix Bug 569984 – Current position lost on window resize
Pierre-Luc Beaudoin [Tue, 10 Mar 2009 19:11:48 +0000 (21:11 +0200)]
Fix Bug 569984 – Current position lost on window resize

15 years agoFix demo to have the click on map demo!
Pierre-Luc Beaudoin [Mon, 9 Mar 2009 22:05:59 +0000 (00:05 +0200)]
Fix demo to have the click on map demo!

15 years agoAllow disabling zoom in on double click
Pierre-Luc Beaudoin [Mon, 9 Mar 2009 21:26:55 +0000 (23:26 +0200)]
Allow disabling zoom in on double click

15 years agoImplement ChamplainView get/set
Pierre-Luc Beaudoin [Mon, 9 Mar 2009 21:11:25 +0000 (23:11 +0200)]
Implement ChamplainView get/set

15 years agoFix setting proxy-uri after the soup session has been created
Pierre-Luc Beaudoin [Mon, 9 Mar 2009 21:37:20 +0000 (23:37 +0200)]
Fix setting proxy-uri after the soup session has been created

15 years agoFix compile warnings in the demos
Pierre-Luc Beaudoin [Mon, 9 Mar 2009 20:29:03 +0000 (22:29 +0200)]
Fix compile warnings in the demos

15 years agoUse a more specific object type for add_layer
Pierre-Luc Beaudoin [Mon, 9 Mar 2009 20:28:47 +0000 (22:28 +0200)]
Use a more specific object type for add_layer

15 years agoFix compiler warnings
Pierre-Luc Beaudoin [Sun, 8 Mar 2009 22:50:18 +0000 (00:50 +0200)]
Fix compiler warnings

15 years agoFix compilation warnings
Pierre-Luc Beaudoin [Sun, 8 Mar 2009 22:44:44 +0000 (00:44 +0200)]
Fix compilation warnings

15 years agoFix warnings
Pierre-Luc Beaudoin [Sun, 8 Mar 2009 22:44:35 +0000 (00:44 +0200)]
Fix warnings

15 years agoBuild with warning flags
Pierre-Luc Beaudoin [Sun, 8 Mar 2009 22:37:15 +0000 (00:37 +0200)]
Build with warning flags

15 years agohide the private properties
Stephane Delcroix [Fri, 6 Mar 2009 10:46:45 +0000 (11:46 +0100)]
hide the private properties