]>
err.no Git - libchamplain/log
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
Pierre-Luc Beaudoin [Tue, 19 May 2009 04:53:41 +0000 (00:53 -0400)]
Fix Bug 582448: Should provide uninstalled.pc files
This makes it easier to use an uninstalled copy of libchamplain to
compile other projects, by setting PKG_CONFIG_PATH when running their
autogen.sh or configure, like this:
PKG_CONFIG_PATH=$HOME/src/libchamplain-0.3/libchamplain ./autogen.sh
(The necessary directory to put on your PKG_CONFIG_PATH is the libchamplain
subdirectory of the source distribution or git checkout, not the
top-level directory.)
Pierre-Luc Beaudoin [Tue, 19 May 2009 14:05:18 +0000 (10:05 -0400)]
Fix bug: tiles without etag (in cache db) would always be reloaded.
Not finding an etag isn't an error, some servers don't support them.
Pierre-Luc Beaudoin [Tue, 19 May 2009 14:01:22 +0000 (10:01 -0400)]
Remove trailing spaces + coding style fix
Pierre-Luc Beaudoin [Tue, 19 May 2009 13:51:01 +0000 (09:51 -0400)]
Move the popularity incrementation on idle
This function is taking a lot of time and doesn't need to
be run in sync. Running it on idle restored performances
to levels similar to how they were before ChamplainCache was
introduced.
Emmanuel Rodriguez [Wed, 13 May 2009 18:34:38 +0000 (20:34 +0200)]
Remove the debug used for profiling
Emmanuel Rodriguez [Wed, 13 May 2009 18:23:45 +0000 (20:23 +0200)]
Update the SQL error messages
Emmanuel Rodriguez [Wed, 13 May 2009 15:29:18 +0000 (17:29 +0200)]
Safer sqlite3 calls.
- Build queries with sqlite3_mprintf() instead of g_strdup_printf().
- Check the return value of a "SELECT sum "in champlain_cache_purge.
Emmanuel Rodriguez [Wed, 13 May 2009 15:06:25 +0000 (17:06 +0200)]
The popularity is incremented through a prepared statement
Emmanuel Rodriguez [Wed, 13 May 2009 14:32:51 +0000 (16:32 +0200)]
Better error handling of SQL errors.
Create the table 'tiles' only if it doesn't exist.
If there's an error with the cache lookup it will force a network reload.
Emmanuel Rodriguez [Wed, 13 May 2009 04:39:49 +0000 (06:39 +0200)]
Use a prepare statement for fetching the Etag
Emmanuel Rodriguez [Tue, 12 May 2009 17:56:04 +0000 (19:56 +0200)]
Using TEXT as the data types for filename and etag
Emmanuel Rodriguez [Fri, 15 May 2009 15:28:19 +0000 (17:28 +0200)]
Bug fix: get_modified_time_string() fails if the time is not set
Updated the documentation for set_uri() and set_filename().
Emmanuel Rodriguez [Sun, 17 May 2009 20:52:02 +0000 (22:52 +0200)]
Create the getters/setters for Champlain::MapSourceDesc
Emmanuel Rodriguez [Sun, 17 May 2009 20:49:14 +0000 (22:49 +0200)]
Add t/ChamplainMapSourceDesc.t to the MANIFEST
Emmanuel Rodriguez [Sun, 17 May 2009 20:45:45 +0000 (22:45 +0200)]
The tests for Champlain::MapSourceDesc are in ChamplainMapSourceDesc.t
Emmanuel Rodriguez [Sun, 17 May 2009 20:45:09 +0000 (22:45 +0200)]
Tests for Champlain::MapSourceDesc
Emmanuel Rodriguez [Sun, 17 May 2009 08:16:07 +0000 (10:16 +0200)]
Use the map constants instead of the long names (namespaces).
Emmanuel Rodriguez [Sun, 17 May 2009 08:13:06 +0000 (10:13 +0200)]
Add the MapSource ID constants
Emmanuel Rodriguez [Sat, 16 May 2009 20:08:20 +0000 (22:08 +0200)]
Add the VERSION macros
- MAJOR_VERSION, MINOR_VERSION and MICRO_VERSION
- CHECK_VERSION
- GET_VERSION_INFO
Emmanuel Rodriguez [Sat, 16 May 2009 19:37:46 +0000 (21:37 +0200)]
Now running 81 tests
Emmanuel Rodriguez [Tue, 12 May 2009 14:17:43 +0000 (16:17 +0200)]
No need to unref the loader in case of error
Emmanuel Rodriguez [Tue, 12 May 2009 11:42:07 +0000 (13:42 +0200)]
Documentation updates
Pierre-Luc Beaudoin [Tue, 12 May 2009 15:41:08 +0000 (11:41 -0400)]
Reset the factory instance pointer to NULL if it gets destroyed
Emmanuel Rodriguez [Tue, 12 May 2009 08:53:13 +0000 (10:53 +0200)]
libsoup-gnome 2.26 works also
Emmanuel Rodriguez [Mon, 11 May 2009 20:10:43 +0000 (22:10 +0200)]
Test the reset of the font name
Emmanuel Rodriguez [Mon, 11 May 2009 20:07:52 +0000 (22:07 +0200)]
champlain_marker_set_font_name() resets the font when NULL is used.
- Fix the documentation for the function (wrong name).
- Update the documentation for champlain_marker_set_image().
Emmanuel Rodriguez [Mon, 11 May 2009 20:07:06 +0000 (22:07 +0200)]
Accept a NULL image for champlain_marker_set_image()
Emmanuel Rodriguez [Mon, 11 May 2009 19:49:19 +0000 (21:49 +0200)]
Reset the colors by passing undef
Emmanuel Rodriguez [Mon, 11 May 2009 19:49:00 +0000 (21:49 +0200)]
Test set_color() and set_text_color()
Emmanuel Rodriguez [Mon, 11 May 2009 19:48:32 +0000 (21:48 +0200)]
Allow NULL to set_color() and set_text_color()
Emmanuel Rodriguez [Mon, 11 May 2009 19:48:02 +0000 (21:48 +0200)]
Reset the colors when NULL is passed to set_color and set_text_color
Emmanuel Rodriguez [Tue, 12 May 2009 01:27:25 +0000 (21:27 -0400)]
Add documented but missing symbols to the documentation
Emmanuel Rodriguez [Mon, 11 May 2009 13:31:40 +0000 (15:31 +0200)]
Add the new getters to the documentation
Emmanuel Rodriguez [Mon, 11 May 2009 12:41:26 +0000 (14:41 +0200)]
New getters as in the bug 581786
Emmanuel Rodriguez [Mon, 11 May 2009 12:39:44 +0000 (14:39 +0200)]
Add tests for the new getters in Champlain::View
Add also the tests for 'keep-center-on-resize'
Emmanuel Rodriguez [Mon, 11 May 2009 11:52:28 +0000 (13:52 +0200)]
Fix the check for the default height
Emmanuel Rodriguez [Sun, 10 May 2009 21:36:26 +0000 (23:36 +0200)]
Update the version 0.04
Emmanuel Rodriguez [Sun, 10 May 2009 21:31:11 +0000 (23:31 +0200)]
New examples and one unit test
Emmanuel Rodriguez [Sun, 10 May 2009 21:30:46 +0000 (23:30 +0200)]
Ignore .gitignore files
Emmanuel Rodriguez [Sun, 10 May 2009 21:26:41 +0000 (23:26 +0200)]
No need to show the tests in a window
Emmanuel Rodriguez [Sun, 10 May 2009 21:20:38 +0000 (23:20 +0200)]
Simpler SvChamplainMapSourceDesc()
Emmanuel Rodriguez [Sun, 10 May 2009 20:53:30 +0000 (22:53 +0200)]
Implement champlain_map_source_factory_register() (constructor callback is missing)
Fix the checks for the keys in SvChamplainMapSourceDesc().
Emmanuel Rodriguez [Sun, 10 May 2009 20:15:02 +0000 (22:15 +0200)]
Update the release notes for 0.04
Emmanuel Rodriguez [Sun, 10 May 2009 20:09:18 +0000 (22:09 +0200)]
Use the dedicated setters instead of set('prop', 'value');
Emmanuel Rodriguez [Sun, 10 May 2009 19:42:44 +0000 (21:42 +0200)]
Better checking for the current position of the view
Emmanuel Rodriguez [Sun, 10 May 2009 19:26:29 +0000 (21:26 +0200)]
Add the tests for ensure_markers_visible() and ensure_visible().
Tests using animations wait for the end of the animation.
Emmanuel Rodriguez [Sun, 10 May 2009 19:25:58 +0000 (21:25 +0200)]
Implement champlain_view_ensure_markers_visible()
Emmanuel Rodriguez [Sat, 9 May 2009 16:50:05 +0000 (18:50 +0200)]
champlain_map_source_get_tile() is no longer available
Emmanuel Rodriguez [Fri, 8 May 2009 15:18:00 +0000 (17:18 +0200)]
Add get_license_uri() and set_license_uri() with unit tests
Emmanuel Rodriguez [Fri, 8 May 2009 14:38:25 +0000 (16:38 +0200)]
Test get/set draw_background
Update the test of get/set single_line_mode to use FALSE. This will actually
change the value.
Emmanuel Rodriguez [Fri, 8 May 2009 14:37:58 +0000 (16:37 +0200)]
Rename 'wrap' to 'background' (as it is in the doc)
Emmanuel Rodriguez [Fri, 8 May 2009 14:36:32 +0000 (16:36 +0200)]
Implement set_draw_background() and get_draw_background()
Emmanuel Rodriguez [Fri, 8 May 2009 14:31:54 +0000 (16:31 +0200)]
Formatting
Emmanuel Rodriguez [Fri, 8 May 2009 07:42:13 +0000 (09:42 +0200)]
Works now with the new API
Emmanuel Rodriguez [Thu, 7 May 2009 21:17:13 +0000 (23:17 +0200)]
Call ensure_visible()
The method is hard to test, but at least it is called in order to see if it will crash.
Emmanuel Rodriguez [Thu, 7 May 2009 21:11:04 +0000 (23:11 +0200)]
Test set_show_license() and set_zoom_on_double_click()
Emmanuel Rodriguez [Thu, 7 May 2009 21:05:43 +0000 (23:05 +0200)]
Test set_decel_rate() and set_scroll_mode()
Emmanuel Rodriguez [Thu, 7 May 2009 21:03:04 +0000 (23:03 +0200)]
Bug fix: reading the property "decel-rate" causes a GLib-GObject-WARNING
The call to g_object_get() wasn't using reference to a double and the program
would issue the warning:
GLib-GObject-WARNING **: IA__g_object_get_valist: value location for `gdouble' passed as NULL
Emmanuel Rodriguez [Thu, 7 May 2009 20:42:27 +0000 (22:42 +0200)]
Test set_min_zoom_level() and set_max_zoom_level()
Emmanuel Rodriguez [Thu, 7 May 2009 20:28:31 +0000 (22:28 +0200)]
Test get_coords_at()
Emmanuel Rodriguez [Thu, 7 May 2009 20:23:48 +0000 (22:23 +0200)]
Add a lot of methods that where forgotten
Emmanuel Rodriguez [Thu, 7 May 2009 20:01:08 +0000 (22:01 +0200)]
Fix the GType of ChamplainScrollMode
Emmanuel Rodriguez [Thu, 7 May 2009 18:10:03 +0000 (20:10 +0200)]
Test the default view size properly
Emmanuel Rodriguez [Wed, 6 May 2009 15:08:19 +0000 (17:08 +0200)]
Implement SvChamplainMapSourceDesc
Emmanuel Rodriguez [Wed, 6 May 2009 14:06:16 +0000 (16:06 +0200)]
Test the contents of a Champlain::MapSourceDesc
Emmanuel Rodriguez [Wed, 6 May 2009 14:05:51 +0000 (16:05 +0200)]
Add newSVChamplainMapSourceDesc() and implement get_list()
Emmanuel Rodriguez [Wed, 6 May 2009 13:51:51 +0000 (15:51 +0200)]
Hand crafted macros for ChamplainMapSourceDesc
Emmanuel Rodriguez [Wed, 6 May 2009 09:10:26 +0000 (11:10 +0200)]
Add the macro CHAMPLAIN_MAP_SOURCE_DESC() for nicer casting
Emmanuel Rodriguez [Wed, 6 May 2009 06:01:37 +0000 (08:01 +0200)]
Removed some memory leaks in build_combo_box()
Emmanuel Rodriguez [Wed, 6 May 2009 04:30:24 +0000 (06:30 +0200)]
Fix compilation warnings
Emmanuel Rodriguez [Wed, 6 May 2009 11:36:14 +0000 (12:36 +0100)]
Fix leak in the python bindings' map source desc wrapping
Pierre-Luc Beaudoin [Wed, 6 May 2009 03:43:18 +0000 (23:43 -0400)]
Update the Python bindings to include id
Emmanuel Rodriguez [Tue, 5 May 2009 20:23:15 +0000 (22:23 +0200)]
Use the factory for creating map sources
Emmanuel Rodriguez [Tue, 5 May 2009 19:42:31 +0000 (21:42 +0200)]
Test the id and the name of the NetworkMapSource
Emmanuel Rodriguez [Tue, 5 May 2009 18:42:47 +0000 (20:42 +0200)]
Test the id of the map source
Emmanuel Rodriguez [Tue, 5 May 2009 18:41:04 +0000 (20:41 +0200)]
Add get_id/set_id to Champlain::MapSource
Emmanuel Rodriguez [Tue, 5 May 2009 18:32:26 +0000 (20:32 +0200)]
Fix the testing of the map names
Emmanuel Rodriguez [Tue, 5 May 2009 18:16:30 +0000 (20:16 +0200)]
Document the parameter @id in champlain_network_map_source_new_full()
Emmanuel Rodriguez [Tue, 5 May 2009 18:15:59 +0000 (20:15 +0200)]
Fix some expected map names
Emmanuel Rodriguez [Tue, 5 May 2009 18:05:39 +0000 (20:05 +0200)]
champlain_network_map_source_new_full gets now passed the id
Emmanuel Rodriguez [Tue, 5 May 2009 17:40:23 +0000 (19:40 +0200)]
More specific .gitignore files
Emmanuel Rodriguez [Tue, 5 May 2009 17:36:43 +0000 (19:36 +0200)]
Fix a merger
Emmanuel Rodriguez [Tue, 5 May 2009 17:12:05 +0000 (19:12 +0200)]
Use the factory for creating new map sources
Emmanuel Rodriguez [Tue, 5 May 2009 15:11:42 +0000 (17:11 +0200)]
Add ChamplainCache
Emmanuel Rodriguez [Tue, 5 May 2009 15:11:39 +0000 (17:11 +0200)]
Add ChamplainCache
Emmanuel Rodriguez [Tue, 5 May 2009 14:20:03 +0000 (16:20 +0200)]
Fix the name of OSM_CYCLE_MAP
Emmanuel Rodriguez [Sun, 3 May 2009 19:39:08 +0000 (21:39 +0200)]
Remove the constructors as they don't exist any longer
Emmanuel Rodriguez [Mon, 4 May 2009 14:32:43 +0000 (16:32 +0200)]
Bindings for champlain_map_source_factory_get_list
Emmanuel Rodriguez [Mon, 4 May 2009 14:21:07 +0000 (16:21 +0200)]
Add the file t/ChamplainMapSourceFactory.t
Emmanuel Rodriguez [Mon, 4 May 2009 14:19:47 +0000 (16:19 +0200)]
Fix the constructor call.
Fixed a typo in OSM_CYCLEMAP.
Emmanuel Rodriguez [Mon, 4 May 2009 13:07:56 +0000 (15:07 +0200)]
Remove the definition of champlain_view_tile_ready()
Emmanuel Rodriguez [Mon, 4 May 2009 13:03:17 +0000 (15:03 +0200)]
Remove set_actor() since it's no longer in the API
Emmanuel Rodriguez [Mon, 4 May 2009 12:03:45 +0000 (14:03 +0200)]
API update for the incoming version 0.3
Remove
champlain_network_map_source_set_tile_uri
champlain_network_map_source_get_tile
Add
champlain_network_map_source_fill_tile
Emmanuel Rodriguez [Sun, 3 May 2009 20:57:45 +0000 (22:57 +0200)]
Comment methods that are no longer in the API
Emmanuel Rodriguez [Sun, 3 May 2009 20:33:42 +0000 (22:33 +0200)]
Add xs/ChamplainMapSourceFactory.xs
Emmanuel Rodriguez [Sun, 3 May 2009 20:30:20 +0000 (22:30 +0200)]
New mappings