# Generated by Makefile. Do not edit. commit 3155d09d9b773398473709b1af41f496a3a5e17e Author: Jiří Techet Date: Tue May 18 00:29:36 2010 +0200 0.5.2 Signed-off-by: Jiří Techet commit 8fa46ff85b2ae61ff6d5286c9a198aaec6cfd714 Author: Jiří Techet Date: Mon May 17 23:38:34 2010 +0200 Generate changelog the same way as recommended by live.gnome.org Signed-off-by: Jiří Techet commit 90257d8028bc687e10fa271fed1d0aaac8576366 Author: Jiří Techet Date: Sun May 16 15:10:31 2010 +0200 Enable introspection for distcheck Signed-off-by: Jiří Techet commit 9348681ee0e9fde605c5044ee7ef223de5b0e904 Author: Jiří Techet Date: Sun May 16 14:57:08 2010 +0200 Check validity of the top left tile to be loaded If it is outside the range, set it to the closest valid value. Prevents crash when map panned left on low zoom level. Signed-off-by: Jiří Techet commit 8eef345db2e8c1f38c88d792413b4eb362a4174a Author: Jiří Techet Date: Sun May 16 01:51:06 2010 +0200 Prevent crash on shutdown when markers are visible Signed-off-by: Jiří Techet commit 3318a3f661da93d0a49bd18ea5344f0be86e4706 Author: Jiří Techet Date: Sun May 16 00:55:11 2010 +0200 Call g_object_ref() on data passed to idle functions Signed-off-by: Jiří Techet commit a64a87fbbedd06a96849e98325bf51fb01c77045 Author: Jiří Techet Date: Sat May 15 21:26:16 2010 +0200 Add traces to ChamplainView Signed-off-by: Jiří Techet commit 04c7779f14508394cdd240010709672de9025bc3 Author: Jiří Techet Date: Sat May 15 17:21:43 2010 +0200 Display CFLAGS in configure summary Signed-off-by: Jiří Techet commit 6fd9bc085ac35b2afbe38b73945e6b56834b33f8 Author: Jiří Techet Date: Sat May 15 16:55:50 2010 +0200 Get rid of hardcoded version in docs makefile Signed-off-by: Jiří Techet commit f3b662d3a9edfdea19a7a12ba3488f5e60de40dc Author: Jiří Techet Date: Sat May 15 16:55:08 2010 +0200 One more fix of introspection compilation in other directory Signed-off-by: Jiří Techet commit 42b281cfa7535f4f262429e7ed34e112e19936b6 Author: Jiří Techet Date: Sat May 15 16:53:42 2010 +0200 Get rid of clang static analysis tool warning about uninitialized value Signed-off-by: Jiří Techet commit 529df691fd765a59f99c2a370b4258f2ae01231b Author: Rob Bradford Date: Wed May 12 14:14:23 2010 +0100 network-map-source: Use a better mechanism for error tile Rather than using a clone which requires the source being mapped (parented and visible) we instead pull the backing texture out from the ClutterTexture ourselves and use that when creating the error tiles. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=618248 commit 1e084cef16a3587eab4e6462ccc3cf1d007528ef Author: Jiří Techet Date: Fri May 14 21:16:09 2010 +0200 Use correct cast Signed-off-by: Jiří Techet commit 0014f85bde1d72add50f618d4e8eb9ecbe4e51f8 Author: Jiří Techet Date: Fri May 14 20:57:34 2010 +0200 Make introspection compilation work in other directory too Signed-off-by: Jiří Techet commit 1ef56215ca2d5a922b7e91a68f628377bcf0a497 Author: Jiří Techet Date: Fri May 14 02:15:53 2010 +0200 Fix strange introspection scanner warning There seems to be a bug in the introspection scanner which causes some nonsense warnings - this workaround should fix it Signed-off-by: Jiří Techet commit aaa0496f924d9dfab26e78224dac70d8f87b1017 Author: Jiří Techet Date: Fri May 14 01:37:21 2010 +0200 Use the new way for introspection makefile creation Signed-off-by: Jiří Techet commit 6f6b2297d2c7d712003b5d5fcf4bd921daf597df Author: Jiří Techet Date: Thu May 13 01:24:04 2010 +0200 Reset the sql statement before bind_text also for stmt_select Signed-off-by: Jiří Techet commit 3890fb3c4ae80d40751bb8b332f8174603673966 Author: Emmanuel Rodriguez Date: Sun Feb 21 18:30:43 2010 +0100 Reset the update prepared statement before each execution commit abe0bba689b1ca354a6ded6e64b3a71b17dc02c0 Author: Jiří Techet Date: Wed May 12 23:28:16 2010 +0200 Get rid of some warnings reported by clang static analysis tool Signed-off-by: Jiří Techet commit 2c62c0bb005b2932e2aa056d7bcc04e294b2d50c Author: Jiří Techet Date: Wed May 12 21:48:05 2010 +0200 Add G_GNUC_UNUSED where appropriate so LLVM clang doesn't complain Signed-off-by: Jiří Techet commit 7b8d8d1026a2995507c127f8239294eddb6ac561 Author: Jiří Techet Date: Wed May 12 22:20:57 2010 +0200 Add missing shebang in python polygons demo Signed-off-by: Jiří Techet commit d6fcee5c43b93bb2eae208012fb3f1042bc9788e Author: Victor Godoy Poluceno Date: Tue May 11 16:13:52 2010 -0300 Ship file pychamplainmemphis-constructors.defs commit e303fa3eb0a47da3a4062b29e373fdc11edd7c81 Author: Victor Godoy Poluceno Date: Tue May 11 16:09:15 2010 -0300 Like pyclutter-gtk the champlain-gtk in launcher-gtk.py demo must be the first to be imported commit 56385f07efc98dbe6c001cb0502ac3a680448393 Author: Victor Godoy Poluceno Date: Mon May 10 18:57:55 2010 -0300 Add virtual proxy wrapper to ChamplainMapSource.get_projection commit 38a49e39c532cfc36dcbb15d222626b866c9aaaf Author: Victor Godoy Poluceno Date: Mon May 10 18:55:41 2010 -0300 Update ChamplainMapDataSource and ChamplainMemphisTileSource constructors to new gobject API commit 9c4057c3dcea8e68120ccadc81fb9aa0a5bfd107 Author: Jiří Techet Date: Wed May 12 00:05:41 2010 +0200 Latitude and longitude parameters of champlain_base_marker_set_position() swapped in header Signed-off-by: Jiří Techet commit 562a6d65074f76e0e82b9a38349d19a6cddb7f4f Author: Jiří Techet Date: Tue May 11 23:57:18 2010 +0200 Free proxy URI with soup_uri_free() instead of g_object_unref() Signed-off-by: Jiří Techet commit 79c97550ff61e554c003ed9b125b0749c23672ce Author: Emmanuel Rodriguez Date: Tue May 11 23:50:22 2010 +0200 Free GError when reporting an error commit ac7273c1f2e38636ed78214a0731442275b9342d Author: Emmanuel Rodriguez Date: Tue May 11 23:44:14 2010 +0200 Remove debug print commit 304f5679193194bbd0ad018696b2f575e5365fd5 Author: Jiří Techet Date: Tue May 11 23:37:48 2010 +0200 Eliminate warnings when compiling local-rendering demo Can't reproduce the original warnings myself but was reported in bugzilla. Signed-off-by: Jiří Techet commit 12029f640a0070c0d2e798292b7419babaefbc2d Author: Jiří Techet Date: Tue May 11 23:25:52 2010 +0200 Fix the unref of the previous image in champlain_marker_set_image commit e7c81ffb30be38618abed79ba57ea051ebf913e7 Author: Jiří Techet Date: Tue May 11 23:12:40 2010 +0200 Add some missing G_BEGIN_DECLS/G_END_DECLS Signed-off-by: Jiří Techet commit d9765e75b009172d86f7d1c96df21fc5f075d03a Author: Emmanuel Rodriguez Date: Tue May 11 21:59:49 2010 +0200 Fix an invalid cast if a view is passed a ChamplainLayer instead of a ChamplainSelectionLayer button_release_cb can't assume that all objects in the layer group are selection layers. Normal layers are also allowed. commit 2a3ce0de97e0dcbb3bf440acb49f4f7b00980458 Author: Jiří Techet Date: Tue May 11 00:15:31 2010 +0200 Remove libchamplain-gtk.types - it should be generated automatically Signed-off-by: Jiří Techet commit 6ffab22ec0dfbc975b2441f6e5869ebb7a91ea77 Merge: 3494c40 54f92ec Author: Jiří Techet Date: Mon May 10 23:29:29 2010 +0200 Merge branch 'LIBCHAMPLAIN_0_4_5' Conflicts: AUTHORS NEWS configure.ac commit 3494c400dd959ba09e33df2132a83cafa6da0dbb Author: Jiří Techet Date: Mon May 10 22:37:59 2010 +0200 Update web page in configure.ac Signed-off-by: Jiří Techet commit fa2a108a478ef6cbf1a8f682cdabdb8c65b02cbf Author: Jiří Techet Date: Mon May 10 22:37:29 2010 +0200 Update dependencies in README Signed-off-by: Jiří Techet commit 2e9d4739fdc7bb51481394324dd6f7c4a70d61ef Author: Jiří Techet Date: Mon May 10 22:03:37 2010 +0200 Do not unref polygons ...they are owned by ChamplainView now. Signed-off-by: Jiří Techet commit bb20af808b59d9ffe9fb105a005c9f32b6199aa9 Author: Jiří Techet Date: Mon May 10 22:02:40 2010 +0200 Do not generate 0 size clutter textures for polygons Fix at the right place... Signed-off-by: Jiří Techet commit a82b3b28f309d7e3215c4cf69e1fca43b0e795c2 Author: Jiří Techet Date: Mon May 10 21:14:02 2010 +0200 Remove unnecessary DIST_SUBDIRS Signed-off-by: Jiří Techet commit df54906f646e02489ffd005e70a2fff656c4c23a Author: Lorenzo Masini Date: Mon May 10 21:11:54 2010 +0200 Fix a compilation issue with libsoup-gnome commit 57270fe4f30c85fd68b9ba018c489765de1e82c5 Author: Jiří Techet Date: Mon May 10 01:46:02 2010 +0200 Update champlain-gtk docs Signed-off-by: Jiří Techet commit 2be4ac7df5d7b124712270e5c7f8ec1b67ecce30 Author: Jiří Techet Date: Mon May 10 01:42:43 2010 +0200 Update python defs Signed-off-by: Jiří Techet commit 1b4e9dd40ba16f83e69cbc582e11a3c33f40ea63 Author: Jiří Techet Date: Mon May 10 00:43:39 2010 +0200 Make the TOC of the manual more readable Signed-off-by: Jiří Techet commit 02ceb5ec8249e9632d7ca72a5f780280d78f9b54 Author: Jiří Techet Date: Sun May 9 23:47:32 2010 +0200 Improvements to the documentation and moving around some definitions Signed-off-by: Jiří Techet commit e66e7490fa31c2ad58b4d690e6cf910d332dcc70 Author: Jiří Techet Date: Sun May 9 15:31:13 2010 +0200 Generate types file automatically Signed-off-by: Jiří Techet commit 0881ef875fb66b96de88c4f3b0522508d3c980b0 Author: Jiří Techet Date: Sun May 9 00:01:50 2010 +0200 Many improvements to the build process * be less verbose during build * use templates for generated enum files Signed-off-by: Jiří Techet commit 2f0022403331101d8db804fe7bfd62500288ef21 Author: Jiří Techet Date: Sat May 8 23:55:24 2010 +0200 Use new autogen.sh from gnome-common Fixes warning during build Signed-off-by: Jiří Techet commit f626336e726bbb7ee64ea11db64ea2a0fba94bd7 Author: Jiří Techet Date: Sat May 8 15:20:14 2010 +0200 Some build fixes make distcheck should work now Signed-off-by: Jiří Techet commit 5cb2b5e1a357c76ca9951d0320b2bb487ba02e15 Author: Jiří Techet Date: Sat May 8 01:01:42 2010 +0200 Remove the outdated tutorial It was very incomplete and outdated and users will find much more up-to date examples of how to use libchamplain in our demo apps. Signed-off-by: Jiří Techet commit 50a3f75e034da7ee90ca07ee21d30d3386cdaa66 Author: Jiří Techet Date: Sat May 8 00:56:57 2010 +0200 Use the new INSTALL that is generated with recent autotools Signed-off-by: Jiří Techet commit 6838804303dfc82376f3f523678c7d61d5ed79fd Author: Jiří Techet Date: Sat May 8 00:55:26 2010 +0200 Remove the perl bindings for now as they are not updated yet It is expected they will be updated for 0.6 after its release and re-introduced again. Signed-off-by: Jiří Techet commit 42f38988a4bf044309e3594ed32e6d952304db50 Author: Jiří Techet Date: Sat May 8 00:29:12 2010 +0200 Remove "managed" bindings as they seem to be unmaintained Can be reintroduced any time in the future if there is someone willing to maintain them. Signed-off-by: Jiří Techet commit 1910e8c6745b4cea7c4d1b8b4d14b31ab391c9cd Author: Jiří Techet Date: Sat May 8 00:20:26 2010 +0200 Fix some introspection build problems Signed-off-by: Jiří Techet commit ed0d1aecd9603c84d1af923ad08ce13a5d07d648 Author: Victor Godoy Poluceno Date: Mon May 3 18:18:10 2010 -0300 Update champlain and champlainmemphis python bindings. Add new wraped functions and properly dispose of gboxed objects. commit 1ea004326266e2a26d02942bf26c308f28b45553 Author: Jiří Techet Date: Sat Apr 17 22:19:59 2010 +0200 Many changes in build process * make libchamplain independent of memphis so it can be built without it * automatically generate library name based on version in autoconf configuration * some necessary updates in python bindings * minor updates everywhere Signed-off-by: Jiří Techet commit 3c519af67862a02949ca3dbaf36f7f4f5c53f81a Author: Victor Godoy Poluceno Date: Mon Apr 5 23:55:11 2010 -0300 Add new file pychamplain-gtk-base.defs commit f854efe88ecaaab3371407c8bb51f193189cf68d Author: Victor Godoy Poluceno Date: Mon Apr 5 23:51:19 2010 -0300 Add support to virtual methods by using defsgen.py. Reported by Jiří Techet. commit ec5cc08523ce033b60d5ec0eb9ca5d2ace7c4258 Author: Victor Godoy Poluceno Date: Mon Apr 5 23:49:54 2010 -0300 Use memphis.h include and add ChamplainBoundingBox sets commit 3feb491f6d4658fe116c6d59dfa9d71a3d4552c0 Author: Victor Godoy Poluceno Date: Mon Apr 5 23:49:14 2010 -0300 Add new boxed type ChamplainBoundingBox commit 1303f46d2f8ed1154877a2fd2278afa49222da50 Author: Victor Godoy Poluceno Date: Mon Apr 5 23:48:37 2010 -0300 Update .defs commit 8f693e44c5f1b8c48e95643878d5fca97de39046 Author: Victor Godoy Poluceno Date: Mon Apr 5 23:46:49 2010 -0300 Just include pychamplaingtk-base.defs commit 258dc1a35ae06cd8a40ac0804d15b1fbe7e489e8 Author: Victor Godoy Poluceno Date: Mon Apr 5 23:45:44 2010 -0300 Update required memphis version to 0.2 commit 6792962172c8ba95c63eb59d22659180f509d306 Author: Victor Godoy Poluceno Date: Mon Apr 5 23:44:00 2010 -0300 Use memphis .defs in codegen commit 2289ce3f677b87a4c6fcbd50d529fafb3912c44e Author: Victor Godoy Poluceno Date: Mon Apr 5 23:39:04 2010 -0300 Ship pychamplaingtk-base.defs commit 9d49ac6b5d086958f0914aeaada3091bcc63b883 Author: Fridrich Štrba Date: Thu Apr 22 17:01:04 2010 +0200 Make the windows mkdtemp be robust with non-ascii characters too commit db25cde4dbadf9f6489122bca5e77d4f19db47ba Author: Pierre-Luc Beaudoin Date: Wed Apr 21 23:32:56 2010 -0400 Update maintainer information commit 7bef303bd3dfd2390e3fac972e97de8dbe393e70 Author: Fridrich Štrba Date: Tue Apr 20 16:37:19 2010 +0200 Build fixes for windows commit 91b531d6440f3f06868e091d5285f7b024b1b372 Author: Simon Wenner Date: Sat Apr 3 15:25:12 2010 +0200 Require Memphis 0.2.1 commit 7137f9325e9007690360cb3e479a73a3b94b800e Author: Simon Wenner Date: Fri Feb 26 23:40:09 2010 +0100 Add launcher.js: A champlain javascript demo luncher.js implements the same application as its c equivalent, but uses the javascript bindings provided by gobject-introspection. The demo has no implementation of the marker layer and printing the coordinates of a mouse click does currently not work. commit 96f075627a1aafdcf181594d3d834ccacc3d31c5 Author: Simon Wenner Date: Fri Feb 26 23:28:34 2010 +0100 launcher: remove redundant semicolon commit 00625af4128f2a6f69dc9654299e0c3985b832ce Author: Simon Wenner Date: Fri Feb 26 23:26:37 2010 +0100 Bugfix: GtkChamplain-0.5.gir has to depend on Champlain-0.5 and not 0.4 commit d98afec4ec14e72a0bf482fef282e3b1b0d30902 Author: Simon Wenner Date: Thu Feb 25 17:40:05 2010 +0100 update m4/gtk-doc.m4 commit b6b4ac0384b1a0ff5d092231eeecffdbd6b69c2b Author: Simon Wenner Date: Thu Feb 25 17:38:01 2010 +0100 Fix a typo in a comment commit abd9242cbe9fe26e2283b704516adff4f695a1b5 Author: Simon Wenner Date: Thu Feb 25 17:31:20 2010 +0100 Migrate to libmemphis version 0.2 Version 0.2 features proper io error handling and introspection support. commit 85fe17c189fe21140fc6283b46863ceb894432ee Author: Jiří Techet Date: Sat Mar 27 14:56:23 2010 +0100 Unref GdkPixbufLoader GdkPixbufLoader wasn't unreffed when the tile was successfully loaded. This caused a _huge_ memory leak. Signed-off-by: Jiří Techet commit 1dcbd66336ef8aa3946a7e2e36f25e007496af90 Author: Jiří Techet Date: Sat Mar 27 14:53:37 2010 +0100 Remove tile ref/unref in ChamplainTile Under Lucid, there are some warnings in the console about non-existent object being unreffed. This patch fixes that. It should be safe not to ref the tile because when fade_in is completed, the content actor is guaranteed to exist and because it exists, its parent exists as well. Signed-off-by: Jiří Techet commit 17e7937f98f686f4c8ddbf2206a20cdff495a6d7 Author: Jiří Techet Date: Mon Mar 22 22:48:54 2010 +0100 Optimize ChamplainView state update When profiling with Oprofile and gprof2dot, view_update_state() consumed nearly one half of CPU cycles (CPU used by libchamplain only without any other libraries). This was because we were cycling through all the tiles to determine the state and the state was updated for every tile, which lead to quadratic complexity. This patch fixes this by updating a counter of tiles that are being filled. Signed-off-by: Jiří Techet commit 6a87d0db9fd984f393d43c32b5ad10c69231a3f4 Author: Jiří Techet Date: Sun Mar 21 04:26:27 2010 +0100 Move variable declarations to the top of view_load_visible_tiles() Signed-off-by: Jiří Techet commit 8a0ef3abe385a88273431d3b59fde86f4db6dc03 Author: Jiří Techet Date: Sun Mar 21 04:12:06 2010 +0100 Fix freeing const string g_get_tmp_dir () returns const string that must not be deallocated. Copy it first. Signed-off-by: Jiří Techet commit af5388efd3689df1d617fb9a606698235225a0ce Author: Jiří Techet Date: Sat Mar 20 18:05:14 2010 +0100 Display polygons again Still mystery what the original code was good for - commenting out as it causes that the polygon is not displayed. Signed-off-by: Jiří Techet commit ea5778c17b82c1b214f7fdd2689bcd64c7993d03 Author: Jiří Techet Date: Sat Mar 20 17:27:18 2010 +0100 Get rid of public privates for good Gets rid of shared private in ChamplainBaseMarker and corrects variable naming conventions in CHamplainBaseMarker. Signed-off-by: Jiří Techet commit b92ec98dd84f50b05f4e7f80f76a15d7fa65bb61 Author: Jiří Techet Date: Sat Mar 20 14:30:28 2010 +0100 Access private members through priv member of the class. Everywhere. Signed-off-by: Jiří Techet commit acb0f5fb925321688961d0731c4f19aa6b5ded99 Author: Jiří Techet Date: Sat Mar 20 02:21:30 2010 +0100 Fix violations against my own coding style Signed-off-by: Jiří Techet commit 43321a4149ede0c888e699d6ab0f6e563a1b21e9 Author: Jiří Techet Date: Sat Mar 20 02:17:28 2010 +0100 Coding style fixes The most boring hour in my life... Signed-off-by: Jiří Techet commit e7693b79032be4fc0eba5d86c88e8003ecb1f1d5 Author: Jiří Techet Date: Fri Mar 19 22:00:36 2010 +0100 Lie a bit about not fading in Even if fade-in is set to false, fade in a little. This is much more eye-pleasing than displaying the tile directly, which causes flickering effect when panning and loading tiles from the cache. Slight fade-in looks much more natural and when it's short enough, it's not annoying. Signed-off-by: Jiří Techet commit bce55b53e6f65ddfc6a791ef46cd6c4501221919 Author: Jiří Techet Date: Fri Mar 19 21:49:37 2010 +0100 Make fade-in a property of a tile fade-in should be independent of champlain_tile_set_content() for greater flexibility. In addition, memphis and error tile sources load tiles fast and don't need to be faded in. Signed-off-by: Jiří Techet commit e804b0d07274c386490b791914c9606b7d394ed5 Author: Jiří Techet Date: Fri Mar 19 01:39:04 2010 +0100 Fix changing map source doesn't update the display Commit that was supposed to move all tile removal to view_load_visible_tiles() was a little bit too aggressive... Signed-off-by: Jiří Techet commit 891f991d8af5a22972a99c1203f6f7c40cb04ce3 Author: Jiří Techet Date: Fri Mar 19 01:32:58 2010 +0100 Call viewport_pos_changed_cb() only when we want to We don't want to unnecessarily update viewport within another update so block the signal in these functions when updating viewport. Signed-off-by: Jiří Techet commit fc4506eede96533cb2fb21471eff034d72118a29 Author: Jiří Techet Date: Fri Mar 19 00:40:44 2010 +0100 Remove my last question/comment Replace the original code with what I think might be correct even though I still don't understand its purpose... Signed-off-by: Jiří Techet commit 39df325744c1a469fe89405fe36e11a387bc988a Author: Jiří Techet Date: Fri Mar 19 00:36:43 2010 +0100 Proper fix of bug 575133 Cures causes instead of symptoms. More description in the patch. Signed-off-by: Jiří Techet commit 69ff778af4b9a9645eb44727d28acc5cf10464f1 Author: Jiří Techet Date: Thu Mar 18 22:16:45 2010 +0100 Remove update of tile map Not needed since the new spiral loading doesn't revisit already loaded tiles. Signed-off-by: Jiří Techet commit 412e09c255da3f280a08658fa263513b888e1d79 Author: Jiří Techet Date: Thu Mar 18 22:15:18 2010 +0100 Position tiles even when they don't need to be loaded Signed-off-by: Jiří Techet commit a3ef6cf300241b4bb393b0f8a91427420fbadcac Author: Jiří Techet Date: Thu Mar 18 01:17:25 2010 +0100 Load tiles in true spiral pattern Despite author's comment, the tiles were _not_ loaded in concentric squares (hint: the number of tiles present one square is not equal to 4*side_size). This patch loads tiles in true spiral manner, which, apart from not loading the same tile several times, also looks much nicer. Signed-off-by: Jiří Techet commit e3e260fd40affa9d3dbf5964ba2b2c4d557000e7 Author: Jiří Techet Date: Thu Mar 18 00:34:59 2010 +0100 Move fill_tile() call from view_load_visible_tiles() to an idle callback Even though we load tiles asynchronously, the preparation steps take some time. Inside the inner loop of view_load_visible_tiles() the time is multiplied by the number of loaded tiles. For improved interactivity it is better to load tiles outside of the loop in idle functions so it can be interleaved with other main loop calls. This significantly improves interactivity in full screen launcher-gtk demo. Signed-off-by: Jiří Techet add commit commit 6ac6b270099c83cb1800748721e35439adcf638d Author: Jiří Techet Date: Wed Mar 17 23:52:53 2010 +0100 Revert buggy commit My assumption that priv->latitude and priv->longitude don't change in resize_viewport() was clearly wrong as I hit the bug. What's going on here? Signed-off-by: Jiří Techet commit 3f086a92b2123ec1f904880bc69e5949e988a65b Author: Jiří Techet Date: Wed Mar 17 23:28:47 2010 +0100 Code cleanup Signed-off-by: Jiří Techet commit 9824d36b20d1d7e67c48906761395e8a77ee0a5f Author: Jiří Techet Date: Wed Mar 17 23:27:58 2010 +0100 Remove all invalid tiles within view_load_visible_tiles() Now view_load_visible_tiles() is the only function that creates or destroys tiles, which eliminates all special cases where we might forget to destroy tiles. Signed-off-by: Jiří Techet commit 543cf72d654da754c8df188fb8c3d039e7709e29 Author: Jiří Techet Date: Wed Mar 17 23:13:57 2010 +0100 Use tile-presence map instead of going through tile list over and over Signed-off-by: Jiří Techet commit 696b17bfd8c73487d6cccbba1293361e4c0fae95 Author: Jiří Techet Date: Wed Mar 17 22:48:33 2010 +0100 Some cleanups in view_load_visible_tiles() Rename x_last to x_end to make it clear that this coordinate doesn't belong to the range of loaded tiles. Fix one range check and use x_count, y_count where possible. Signed-off-by: Jiří Techet commit bcbb2913c673b92ddcad1b54a712c328abcaee28 Author: Jiří Techet Date: Tue Mar 16 02:01:09 2010 +0100 Fix zoom level 0 not displayed (One should be more careful when simplifying "obvious" things...) Signed-off-by: Jiří Techet commit c54e4ac33ba400aa1141b869bf97e819bf31aecb Author: Jiří Techet Date: Tue Mar 16 01:40:40 2010 +0100 Fix zoom-out at low zoom level When ChamplainZoomLevel was removed, removing tiles from the map layer was removed as well, which is a problem at low zoom levels as there are no tiles and the old tiles remained there. Signed-off-by: Jiří Techet commit c83eb8cc796c4872ae3d35ae1d2ddafc29d8080f Author: Jiří Techet Date: Tue Mar 16 01:10:21 2010 +0100 Simplify and optimize time-based redrawing Instead of evaluating time every time in viewport_pos_changed_cb(), we can use a timer that sets the flag determining whether we should redraw the viewport in periodic intervals. Signed-off-by: Jiří Techet commit 56f2ba7b2858d14cf76437ad77b25021dcc04006 Author: Jiří Techet Date: Mon Mar 15 02:06:28 2010 +0100 Base viewport update on time as well Viewport is currently updated only based on the amount of scrolled pixels (100). However, when the viewport is slowing down in the kinetic mode, this can result in a blank space appearing in the top of the window for quite a long time because the movement is slow and doesn't reach the 100 pixel margin needed for update. This patch adds one more criterion - time, which makes to perform the updates at least 4 times a second, no matter how many pixels were scrolled. Signed-off-by: Jiří Techet commit 6ef07ebbfd4e256d116878470ffe339620932918 Author: Jiří Techet Date: Mon Mar 15 01:02:29 2010 +0100 Replace pow() with bit shift to be sure we are fast Signed-off-by: Jiří Techet commit 7975e458c54cb704d8d284559a45df77358c3758 Author: Jiří Techet Date: Mon Mar 15 00:47:56 2010 +0100 Completely remove ChamplainZoomLevel After looking at it, I have realized that this class became absolutely useless now -> remove it. Signed-off-by: Jiří Techet commit 20f473ac0ed555c914aa302d2f26fadee5917e5f Author: Jiří Techet Date: Sun Mar 14 19:35:20 2010 +0100 Iterate through container using clutter_group_get_nth_child() when the container is not modified Use of clutter_group_get_nth_child() is slightly simpler than using clutter_container_get_children() [no forgotten free() at the end] and there is no danger when the container is not modified inside the loop. Signed-off-by: Jiří Techet commit 04201ed4735127a8c676a1bceae0536d64d9b20e Author: Jiří Techet Date: Sun Mar 14 19:11:42 2010 +0100 When removing tiles from container, iterate using clutter_container_get_children() Iterating through container using clutter_group_get_nth_child() and removing them inside the loop relies on the stability of deletion in ClutterGroup, which isn't documented anywhere. Better to use clutter_container_get_children() here. Signed-off-by: Jiří Techet commit 0dc0f1c719be00ef69dbb5ed17636e0c4b147214 Author: Jiří Techet Date: Sun Mar 14 17:00:21 2010 +0100 Remove extra condition The condition below is a proper superset of the removed condition Signed-off-by: Jiří Techet commit 3961b5254ac5f005e79b93be27d600bd05051491 Author: Jiří Techet Date: Sun Mar 14 16:53:21 2010 +0100 Fix scroll_to() for CHAMPLAIN_SCROLL_MODE_PUSH Using tidy_viewport_set_origin() in scroll_to() isn't correct because it doesn't load the necessary tiles (reproducible by scrolling using keyboard arrows). Use champlain_view_center_on() instead. Signed-off-by: Jiří Techet commit 55dcf5548003debf7cfe945ddbba73c2333bd075 Author: Jiří Techet Date: Sun Mar 14 16:15:35 2010 +0100 Remove the workaround related to resize_viewport() I don't see anything in resize_viewport that could possibly change priv->latitude and priv->longitude so this workaround is not probably needed any more. Signed-off-by: Jiří Techet commit 3093a500e3da24f9cc4a7f57b5474732c4a6517f Author: Jiří Techet Date: Sun Mar 14 14:46:03 2010 +0100 Set zoom level only if champlain_zoom_level_zoom_to() is successful Signed-off-by: Jiří Techet commit cc887f3083cf49188436ed4366aa8fa001271512 Author: Jiří Techet Date: Sun Mar 14 00:56:19 2010 +0100 Remove view_tiles_reposition () If we position tiles already in view_load_visible_tiles() [already done for newly loaded tiles], we don't need any extra repositioning. Signed-off-by: Jiří Techet commit a5b2886908dc4e69fb949d410abbf4fc23d5cfe1 Author: Jiří Techet Date: Sun Mar 14 00:36:37 2010 +0100 Fix TODO in view_reload_tiles_cb() For tile reloading we can first destroy all tiles and then load them in a standard way. Signed-off-by: Jiří Techet commit 05664077cb6fa94fde06305a75beb48ceb30246a Author: Jiří Techet Date: Sat Mar 13 23:51:30 2010 +0100 Remove extra function calls in champlain_view_set_map_source() Most of the update functions are already called by champlain_view_center_on() - don't do the same work twice Signed-off-by: Jiří Techet commit 592951f3d34f49c1b14ffd7c562a27b6f98a6210 Author: Jiří Techet Date: Sat Mar 13 22:05:17 2010 +0100 Make champlain_view_ensure_visible() easier to read Looking at the code again I realized that it was actually correct, but written in a bit hard-to-follow way. This patch makes it a bit easier to understand. Signed-off-by: Jiří Techet commit 0bad7657f68c6effe85c6538970a246073bda40d Author: Jiří Techet Date: Fri Mar 12 21:28:29 2010 +0100 Fix bug where champlain_view_center_on() didn't work properly champlain_view_center_on() didn't update priv->viewport_size.x and priv->viewport_size.y, which caused that not all necessary tiles were loaded by view_load_visible_tiles() because it uses the viewport coordinates from priv->viewport_size Signed-off-by: Jiří Techet commit 835cd26008617685a1f64a580a6bb31de661f6cf Author: Jiří Techet Date: Fri Mar 12 21:32:48 2010 +0100 Add test that simulates the use of GPS with libchamplain This test uses champlain_view_center_on() to update the position on the map and the position of the marker. Signed-off-by: Jiří Techet commit a84d37c367ae76cc4d0d04aa20cac5d49bacb926 Author: Jiří Techet Date: Fri Mar 12 21:21:37 2010 +0100 Make view_load_visible_tiles() less brain-damaging * use variable named x_last instead of x_count (the original naming was pervert) * remove the extra indent after "Load new tiles if needed", which was totally useless Signed-off-by: Jiří Techet commit 50d5f986f8052f15375f7882222c2fe88677c6fc Author: Jiří Techet Date: Fri Mar 12 00:53:29 2010 +0100 Put the tiles immediately to the right position Position the tile already when loading so that it doesn't have to be repositioned after state is set to DONE (in which case there could be a short period of time in which the tile is displayed at incorrect position) Signed-off-by: Jiří Techet commit ace942a2d9bdad1e1ae94a4564947828129beba5 Author: Jiří Techet Date: Fri Mar 12 00:44:45 2010 +0100 Set tile size during its creation Set the tile size once when created and eliminate all the tile size settings in the map sources. Signed-off-by: Jiří Techet commit 3d4ca32f840d6dd1f26295ccbbc76f69cc7af100 Author: Jiří Techet Date: Fri Mar 12 00:15:19 2010 +0100 Insert tile content into parent only when state set to DONE We call set_content() on tile also when we want to validate the tile only and if the tile is not validated, the new contents is set again by calling set_content(). This would cause redrawing the tile twice instead of once. Also the tile is repositioned only after the state is set to DONE so in between the tile is displayed at incorrect place. Signed-off-by: Jiří Techet commit 4f9a1d8bdb724daa5cbee818c29f84c2686b2723 Author: Jiří Techet Date: Fri Mar 12 00:06:56 2010 +0100 Fix blocked panning bug The detection of anchor update was done incorrectly in the case when panning down (i.e. going to the north) Signed-off-by: Jiří Techet commit 75f5926e5640c3c4c73985001d10290248a8d3dc Author: Jiří Techet Date: Wed Mar 10 01:53:38 2010 +0100 Disable use of memphis_renderer_tile_has_data until it works correctly Signed-off-by: Jiří Techet commit 5d99ba16e594bcbfcb4f81ace338de7d17f2c8e0 Author: Jiří Techet Date: Wed Mar 10 01:47:28 2010 +0100 Cancel download of tiles that get out of the viewport Prevents unnecessary tile downloads when scrolling fast. Signed-off-by: Jiří Techet commit 82d5d2c269da248951e89ca13815a642019da375 Author: Jiří Techet Date: Mon Mar 8 23:15:48 2010 +0100 Remove CHAMPLAIN_STATE_INIT We have no real use for two neutral states - one is enough. Signed-off-by: Jiří Techet commit 4a01b8dbd9d590b00fe5772ffdf39997bce6fd0c Author: Jiří Techet Date: Mon Mar 8 00:28:15 2010 +0100 Test using memphis_renderer_tile_has_data() It looks there is a bug in this function. commit 6303a4d243701c09f52c3509ed0ef75684142483 Author: Jiří Techet Date: Sun Mar 7 02:43:01 2010 +0100 New tile unref logic and various leak fixes This patch does the following: * makes champlain_tile, champlain_zoom_level and champlain_polygon inherit from ClutterGroup, which makes them ClutterActor * tiles are not reffed/unreffed anywhere in the code. Instead, upon their creation they are inserted into champlain_zoom_level and when they are destructed, the map sources have to detect this destruction - this is much simpler than other way round * champlain_map is removed and the necessary functionality moved to champlain_zoom_level * removes the use of "public private" members * fixes many memory allocation related problems * some random fixes and code readability improvements found on the way Signed-off-by: Jiří Techet commit c13a8169f889c914ab0d483053aa472ef94a5196 Author: Jiří Techet Date: Mon Mar 1 22:51:18 2010 +0100 Fix deletion of the wrong directory when temporary cache is used Signed-off-by: Jiří Techet commit 91dde81214b9314bee78e30b0de30c1198a7ce61 Author: Brian Cameron Date: Mon Mar 15 14:07:28 2010 -0500 Fix void functions to not try and return a value. Fixes bug #612758. commit 54f92ec2b8cf24d926830038b2c57cbfb3fc6baa Author: Pierre-Luc Beaudoin Date: Sun Mar 7 22:41:18 2010 -0500 Bump release to 0.4.5 + NEWS commit 20f971142725d60091a33ba7e3576fe458bf7ca9 Author: Jonathon Jongsma Date: Fri Feb 19 16:53:00 2010 -0500 Fix ChamplainView::notify for latitude and longitude There was a bug where the latitude and longitude notify signals would never be emitted. commit 8315abcc9ff54ec44de980b53163389c869a82ac Author: Pierre-Luc Beaudoin Date: Tue Feb 16 16:42:18 2010 -0500 Add Rob to AUTHORS commit 3bff2b38d22e8a102a3acec3cbc0e8f4523a49fb Merge: d0de19f f0102a8 Author: Pierre-Luc Beaudoin Date: Tue Feb 16 16:34:55 2010 -0500 Merge branch 'libchamplain-0-4' commit d0de19fae484bc4eb7cf7a2d567345b5f86325e8 Author: Jiří Techet Date: Mon Feb 15 00:59:57 2010 +0100 Fix cache initialization init_cache() should be called only when all properties are set (that is inside the _constructed() method) Signed-off-by: Jiří Techet commit e115ad56dabca6a2f8b1a882bfc6d8379d50ff54 Author: Jiří Techet Date: Sun Feb 14 13:21:46 2010 +0100 Fix asynchronous tile loading When loading textures asynchronously, we have to check whether the tile was loaded successfully in the callback. Signed-off-by: Jiří Techet commit 191394a29db4da0ee4bb3c1121d4bd28d711ff16 Author: Jiří Techet Date: Tue Feb 2 00:08:47 2010 +0100 Make it possible to manually chain chains. Chains should behave as other map sources so it should be possible to create chains of chains. For now, chains of chains have to be created manually - i.e. the outer chain cannot be ChamplainMapSourceChain but has to be created by _set_next_source(). The reason is that a chain has to know about each of its elements whether it is a map source or a cache (if this feature is desirable, we can add a virtual method of map sources that determines whether it behaves as a map source or cache so even if the map source is a chain, it could have this information attached). Signed-off-by: Jiří Techet commit 22d260e316fa422f3ef14e1c146cb04da38f6f60 Author: Jiří Techet Date: Sat Jan 30 21:40:50 2010 +0100 Use default cache path when not specified. Signed-off-by: Jiří Techet commit 10f977db44dab93e2a89f32d5081fddb21a08b23 Author: Jiří Techet Date: Sat Jan 30 20:42:43 2010 +0100 Fix view destruction upon shutdown. View (and indirectly map sources) were not destroyed because gtk_champlain_embed * didn't chain dispose Also the view has to be destroyed manually when inserted into stage obtained from clutter_stage_get_default() - it appears that it isn't destroyed upon application shutdown. Signed-off-by: Jiří Techet commit ba7b3c6758443a52965f42e917143f72f89918e8 Author: Jiří Techet Date: Fri Jan 29 00:21:26 2010 +0100 Use cached source when switching map sources. Signed-off-by: Jiří Techet commit f0102a8f257ad449cc859dd4cda02c299918a978 Author: Rob Bradford Date: Tue Feb 16 16:46:05 2010 +0000 view: Remove the need to explicitly set the size on the actor Firstly we need to report a size for the map using the ClutterActor _get_preferred_width/_height virtual functions. For both the minimum and natural dimensions we use the tile size which is the smallest sensible size for the map. We also need to save the dimensions of the allocation box for the actor and save that into the private structure. We then used that in an idle to update the content to show. commit 783747caaf42182b8a9044377e1efd24a7e44ce6 Author: Rob Bradford Date: Tue Feb 16 16:01:20 2010 +0000 build: Add memphis-1.0 to .pc file requirements commit 1a17f91b6d2f05e5ed221ce4e100a9e580834c8b Author: Rob Bradford Date: Tue Feb 16 16:00:19 2010 +0000 build: Remove spurious entry from libchamplain_include_HEADERS This had the side effect of not installing all the headers. commit 45ad132161635d23d591e1d713d722434a1d6b39 Author: Pierre-Luc Beaudoin Date: Sat Feb 6 01:18:53 2010 -0500 Properly get rid of previous image When changing the image using set_image, the old image would still be visible in behind the new image. commit e3262d08756ed22341f9c5eadc2b2fc258ceeb9e Author: Pierre-Luc Beaudoin Date: Tue Feb 2 17:19:29 2010 -0500 Unref the info only if it was valid commit e0d58e1b9057d3a329205fe44a0f99481ebf0018 Author: Pierre-Luc Beaudoin Date: Tue Feb 2 17:05:41 2010 -0500 Remove the code from champlain_file_cache_new This is bindings unfriendly. commit 84811366633b33418bfcc4e5226c60391b006034 Merge: a2dea0e ef14ca5 Author: Pierre-Luc Beaudoin Date: Tue Feb 2 16:40:56 2010 -0500 Merge branch 'libchamplain-0-4' Conflicts: NEWS champlain/champlain-cache.c champlain/champlain-map-source-factory.h champlain/champlain-network-map-source.c champlain/champlain-view.c configure.ac commit a2dea0eeb45f145b7d8869111abb7c4d57a9f76c Author: Jiří Techet Date: Tue Jan 26 00:06:54 2010 +0100 Documentation of the new loading chain. Added documentation comments for the new classes and functions. Some minor function renames and moving around. Signed-off-by: Jiří Techet commit ef14ca5f7448366dde169f3648e6b0ce4dc21b25 Author: Pierre-Luc Beaudoin Date: Thu Jan 28 20:09:35 2010 -0500 do not emit a notify for lat and lon if the change is too small commit 29b97b51d40ee609704ea35d778c622487eb1705 Author: Pierre-Luc Beaudoin Date: Thu Jan 28 20:08:20 2010 -0500 Adjust path name on Maemo to match Maep commit b03800721fa2f78439a4b95a3e3dd4ebf7cd279f Author: Pierre-Luc Beaudoin Date: Thu Jan 28 16:02:56 2010 -0500 Update NEWS and bump libtool version commit dbc5d903cee920bb8899a0f67ea840adc2a50fe4 Author: Jason Woofenden Date: Thu Jan 28 08:58:41 2010 -0500 Load tiles near the middle first It starts just up/left of center, and loads tiles in concentric squares. Going clockwise (right, down, left, up). commit daa9562b4c55faf32c79fbbbd957cd0ca164a96d Author: Pierre-Luc Beaudoin Date: Mon Jan 25 15:15:55 2010 -0500 Also change path of cache db commit 7e05fd7fcc4240f7f6472c99a53caa93c9508b37 Author: Pierre-Luc Beaudoin Date: Mon Jan 25 11:36:22 2010 -0500 Update NEWS and bump to 0.5.1 commit 16d25eab4cadf866bb89da1f136c5cf517c7ec09 Author: Pierre-Luc Beaudoin Date: Mon Jan 25 11:29:13 2010 -0500 Disable Python and Introspection Until libmemphis has bindings commit 7269c10edb22d4fac840232905d35973c11407a2 Author: Pierre-Luc Beaudoin Date: Mon Jan 25 11:28:49 2010 -0500 Ship header files in tarball