]> err.no Git - libchamplain/log
libchamplain
15 years agoFix bug 576677 – Demos are not compilable out of the tree
Pierre-Luc Beaudoin [Wed, 1 Apr 2009 19:51:12 +0000 (22:51 +0300)]
Fix bug 576677 – Demos are not compilable out of the tree
by removing config.h use in the demos.

15 years agoFix Bug 576695 – Missing "Index of all symbols"
Pierre-Luc Beaudoin [Wed, 1 Apr 2009 19:39:28 +0000 (22:39 +0300)]
Fix Bug 576695 – Missing "Index of all symbols"
and update to have the new objects

15 years agoFix bug 576680 – Introduce versionning functions and constants
Pierre-Luc Beaudoin [Tue, 31 Mar 2009 22:22:57 +0000 (01:22 +0300)]
Fix bug 576680 – Introduce versionning functions and constants

15 years agoPatch to partly fix bug #576680
Kritarth Upadhyay [Tue, 31 Mar 2009 22:19:51 +0000 (01:19 +0300)]
Patch to partly fix bug #576680

15 years agoThe current capital has a different color
Emmanuel Rodriguez [Tue, 31 Mar 2009 19:26:07 +0000 (21:26 +0200)]
The current capital has a different color

15 years agoSmoother animation.
Emmanuel Rodriguez [Tue, 31 Mar 2009 19:25:04 +0000 (21:25 +0200)]
Smoother animation.

The capitals are displayed one by one. The animation jumps to another capital
only after the previous capital is displayed.

Displaying only the last 5 capitals.

Improved the documentation.

15 years agouse Clutter;
Emmanuel Rodriguez [Mon, 30 Mar 2009 19:10:32 +0000 (21:10 +0200)]
use Clutter;

Clutter has to be loaded before loading Champlain otherwise the
program will die with a segmentation fault.

15 years agoHTTP request with Glib
Emmanuel Rodriguez [Mon, 30 Mar 2009 05:27:32 +0000 (07:27 +0200)]
HTTP request with Glib

15 years agoRefactor zoom_in and zoom_out to eliminate code duplication
Pierre-Luc Beaudoin [Sun, 29 Mar 2009 21:26:24 +0000 (00:26 +0300)]
Refactor zoom_in and zoom_out to eliminate code duplication

15 years agoUpdate the changelog for version 0.4
Emmanuel Rodriguez [Sun, 29 Mar 2009 11:15:58 +0000 (13:15 +0200)]
Update the changelog for version 0.4

15 years agoUnit tests for Champlain::ZoomLevel
Emmanuel Rodriguez [Sun, 29 Mar 2009 11:08:35 +0000 (13:08 +0200)]
Unit tests for Champlain::ZoomLevel

15 years agoUpdate the changelog for version 0.4
Emmanuel Rodriguez [Sun, 29 Mar 2009 09:45:25 +0000 (11:45 +0200)]
Update the changelog for version 0.4

15 years agoAdd go_to() and stop_go_to().
Emmanuel Rodriguez [Sun, 29 Mar 2009 09:42:11 +0000 (11:42 +0200)]
Add go_to() and stop_go_to().

15 years agoAdd the button 'Home' using a go_to()
Emmanuel Rodriguez [Sun, 29 Mar 2009 09:29:40 +0000 (11:29 +0200)]
Add the button 'Home' using a go_to()

15 years agoFormatting
Emmanuel Rodriguez [Sun, 29 Mar 2009 06:35:07 +0000 (08:35 +0200)]
Formatting

15 years agoBind new functions.
Emmanuel Rodriguez [Sat, 28 Mar 2009 22:22:35 +0000 (23:22 +0100)]
Bind new functions.

Add support for:
  champlain_map_source_set_name
  champlain_map_source_set_license
  champlain_map_source_get_license

15 years agoSimplified the unit tests.
Emmanuel Rodriguez [Sat, 28 Mar 2009 16:55:35 +0000 (17:55 +0100)]
Simplified the unit tests.

There's no need to test a staged view and an unstaged view. Both behave now
similarly.

15 years agochamplain_view_init() calls champlain_view_set_size()
Emmanuel Rodriguez [Sat, 28 Mar 2009 16:55:17 +0000 (17:55 +0100)]
champlain_view_init() calls champlain_view_set_size()

15 years agoRemove the test $view->set("zoom-level", $min - 1);
Emmanuel Rodriguez [Sat, 28 Mar 2009 09:46:11 +0000 (10:46 +0100)]
Remove the test $view->set("zoom-level", $min - 1);

It gives a warning because the property zoom-level isn't allowed to be negative.

15 years agoTesting set_zoom_level and set('zoom-level')
Emmanuel Rodriguez [Sat, 28 Mar 2009 09:39:57 +0000 (10:39 +0100)]
Testing set_zoom_level and set('zoom-level')

15 years agoZoom tests are done with a staged and unstaged view
Emmanuel Rodriguez [Sat, 28 Mar 2009 09:21:47 +0000 (10:21 +0100)]
Zoom tests are done with a staged and unstaged view

15 years agoSeg fault fix when changing zoom levels on a view
Emmanuel Rodriguez [Sat, 28 Mar 2009 09:18:29 +0000 (10:18 +0100)]
Seg fault fix when changing zoom levels on a view

Zooming has no effect on a view that's not in a ClutterStage.

15 years agoAdd an entity to refer to the current programming language
Mike Sheldon [Sun, 29 Mar 2009 00:46:18 +0000 (00:46 +0000)]
Add an entity to refer to the current programming language
Add a C version of the initialisation example

15 years agoUpdate champlain-tutorial.docbook to use xincludes and profiles
Mike Sheldon [Sun, 29 Mar 2009 00:31:12 +0000 (00:31 +0000)]
Update champlain-tutorial.docbook to use xincludes and profiles

15 years agoSwitch to using xsltproc and fop instead of docbook2pdf/html so we can use xincludes...
Mike Sheldon [Sun, 29 Mar 2009 00:30:08 +0000 (00:30 +0000)]
Switch to using xsltproc and fop instead of docbook2pdf/html so we can use xincludes and profiles

15 years agoMake it possible to have conditional text in the tutorial documentation for different...
Mike Sheldon [Sat, 28 Mar 2009 20:42:43 +0000 (20:42 +0000)]
Make it possible to have conditional text in the tutorial documentation for different languages (C/Perl/Python)

15 years agoInitial check-in of tutorial files
Mike Sheldon [Sat, 28 Mar 2009 20:06:45 +0000 (20:06 +0000)]
Initial check-in of tutorial files

15 years agoUpdate the python bindings to wrap the new set min/max zoom level and ensure visible...
Mike Sheldon [Sat, 28 Mar 2009 16:06:26 +0000 (16:06 +0000)]
Update the python bindings to wrap the new set min/max zoom level and ensure visible methods

15 years agoAdd gobject.threads_init() to launcher-gtk.py to fix crasher on some systems
Mike Sheldon [Sat, 28 Mar 2009 16:01:44 +0000 (16:01 +0000)]
Add gobject.threads_init() to launcher-gtk.py to fix crasher on some systems

15 years agoRemove dead code
Pierre-Luc Beaudoin [Sat, 28 Mar 2009 08:03:03 +0000 (10:03 +0200)]
Remove dead code

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