summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Use gdouble in x_to_wrap_x to avoid precision losswrapJiří Techet2014-04-161-4/+4
|
* Reposition viewport after zooming and view scalingJiří Techet2014-04-131-5/+11
| | | | This is necessary when wrapping to reposition master and clones to the right place.
* Don't use zoom-level signal to update clonesJiří Techet2014-04-131-8/+8
| | | | | | | | The zoom-level signal is emitted immediately when zoom happens which causes that clones are displayed immediately even when the zoom animation is still running. This doesn't look nice. Instead, call update_clones() manually at appropriate places depending on whether zoom animation is on or off.
* Remove clones of user_layersJiří Techet2014-04-131-25/+16
| | | | | | | | | | Clones of user_layers are totally passive and cannot be clicked or manipulated. This will be very confusing to users as just one of the user layers is master and can be clicked/moved/dragged and it's not clear which one it is. This patch removes the clones. TODO: move the master user_layers into the center of the map.
* Some whitespace changes to follow libchamplain coding style and removal of ↵Jiří Techet2014-04-131-43/+45
| | | | unneeded code
* Fix return value type warningJiří Techet2014-04-131-1/+1
|
* Create get_map_width() utility function and use it when neededJiří Techet2014-04-131-13/+17
|
* Optimize x_to_wrap_x()Jiří Techet2014-04-131-8/+6
|
* Position master correctly when enabling/disabling wrapJiří Techet2014-04-131-9/+23
|
* Remove left clones as they are always invisibleJiří Techet2014-04-131-21/+14
| | | | | | The current code always places the master map view to the very left so no clone on the left is visible. Remove left clones and adjust computation of the number of right clones.
* Always check whether to wrap when viewport movedJiří Techet2014-04-121-5/+8
| | | | | | Because viewport is repositioned when wrapped, the x - priv->viewport_x may be less than 100 even when the viewport moved more. The check for wrap should be cheap enough to be performed every time the function is called.
* launcher-gtk: Add horizontal wrap toggle buttonJonas Danielsson2014-04-121-0/+17
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=577597
* view: Implement and add horizontal-wrap propertyJonas Danielsson2014-04-123-25/+246
| | | | | | | | | To give the impression of horizontal wrap clones of the map- and user layers will be placed next to the real layers. When we cross over to them we will re-position the viewport to give the illusion of wrapping the map. The same trick is needed for the zoom actor. https://bugzilla.gnome.org/show_bug.cgi?id=577597
* view: Add visible tiles hash tableJonas Danielsson2014-04-121-26/+31
| | | | | | | | Keep the currently visible tiles in a hash table for easy look up. This will enable us to keep track of tiles that aren't necessarily align continously. https://bugzilla.gnome.org/show_bug.cgi?id=577597
* view: Make tile_map functions hash table agnosticJonas Danielsson2014-04-121-9/+16
| | | | | | | With this change we can operate on other hash tables of tiles as well. https://bugzilla.gnome.org/show_bug.cgi?id=577597
* Added in touch support to the kinetic scrolling callbacksReyad Attiyat2014-04-041-5/+10
|
* demos: Remove libraries from LDFLAGSRyan Lortie2014-03-031-1/+0
| | | | | | | | | | The libraries that the demos link against are already (properly) listed in the per-target _LDADD variable. Libraries should never be in LDFLAGS -- this is for linker options only. This unbreaks the build on FreeBSD https://bugzilla.gnome.org/show_bug.cgi?id=725364
* Bump libsoup dependency to 2.34 and use default proxy resolverJiří Techet2014-02-263-7/+3
|
* Do not depend on libsoup-gnome-2.4Jonas Danielsson2014-02-268-42/+8
| | | | | | Everything in libsoup-gnome is deprecated. https://bugzilla.gnome.org/show_bug.cgi?id=725126
* Update required version of libsoupJonas Danielsson2014-02-261-2/+2
| | | | | | In order to use the new SoupSession API we need 2.42 of libsoup. https://bugzilla.gnome.org/show_bug.cgi?id=725126
* Update documentation of proxy-uri property.Jonas Danielsson2014-02-262-3/+3
| | | | | | | | | | SoupSession resolve the default proxy when the proxy-uri property is absent. Setting the proxy-uri will override the default proxy. This patch updates the doc to make that apparent. https://bugzilla.gnome.org/show_bug.cgi?id=725126
* Post release version bumpJiří Techet2014-02-061-1/+1
|
* 0.12.7LIBCHAMPLAIN_0_12_7Jiří Techet2014-02-064-2/+13
|
* Use correct Since releaseJiří Techet2014-02-061-1/+1
|
* Release 0.12.6LIBCHAMPLAIN_0_12_6Zeeshan Ali (Khattak)2014-02-041-0/+16
|
* Merge all NEWS entries from 0.12 branchZeeshan Ali (Khattak)2014-02-041-0/+59
|
* Remove generated files from VCSZeeshan Ali (Khattak)2014-02-042-432/+0
| | | | | | These files are generated by autogen.sh and therefore its a bad idea to keep them in VCS. You end up having redundant diffs to deal with when using different versions of autotoools.
* view: Add get_bounding_box_for_zoom_levelJonas Danielsson2014-02-042-23/+85
| | | | | | | This function is useful for determining what zoom-level to use for the view. https://bugzilla.gnome.org/show_bug.cgi?id=723279
* Update project homepageWilliam Jon McCann2013-12-183-3/+3
|
* view: notify max/min-zoom-level on set_map_sourceJonas Danielsson2013-12-061-2/+6
| | | | | | | | | | When setting a new map_source we change the vie max/min-zoom-level but we do not make sure they get notified. This patchs sets them using champlain_view_set_[max|min]_zoom_level to ensure this. https://bugzilla.gnome.org/show_bug.cgi?id=719840
* Add checks if adjustments exist when stopping animationJiří Techet2013-12-061-2/+5
| | | | | Necessary when dispose() is called before the stop method when destroying the objects.
* Don't use memphis for distcheckJiří Techet2013-09-309-121/+5
| | | | | | | libmemphis support is currently not actively maintained and the local rendering is experimental (mostly due to missing vector tile service and not 100% perfect output of libmemphis). For this reason it's not production-ready and there's no reason to depend on it for distcheck.
* Name parameters consistently with headers to avoid warningsJiří Techet2013-09-291-11/+11
|
* Make sure Maemo is disabled when --disable-maemo is usedJiří Techet2013-09-291-1/+1
|
* Add the new weather map sources for Maemo builds as wellJiří Techet2013-09-291-0/+6
|
* Update autogenerated filesJiří Techet2013-09-162-5/+24
|
* Post-release version bumpJiří Techet2013-09-161-1/+1
|
* build: Fix srcdir != builddirColin Walters2013-08-291-3/+3
| | | | | | | | gnome-ostree does builds directly from git with srcdir != builddir. Thus champlain-version.h will be in $(builddir); we should not explicitly prefix it with $(srcdir). Omit it from enum and introspection scanning too.
* TypoJiří Techet2013-08-211-1/+1
|
* view: update documentation of goto-animation propsJonas Danielsson2013-08-211-2/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=706282
* Make overlay sources accessible outside of ChamplainView and update license ↵Jiří Techet2013-08-214-0/+48
| | | | | | | | actor Add a function to access the list of overlay sources, emit the "map-source" signal when overlay sources changed and update the license actor with all the overlay source licenses.
* Documentation and formatting changes for the overlay sourcesJiří Techet2013-08-214-25/+61
|
* Add a check for a correct map source in tile loading idle functionJiří Techet2013-08-211-1/+5
| | | | | Map source can be changed before the idle is executed so we should check whether to load the given tile or not.
* Add demo of the new overlay sourcesGiovanni Campagna2013-08-191-1/+61
| | | | | | Allow to add overlay sources in the demo app. https://bugzilla.gnome.org/show_bug.cgi?id=704645
* ChamplainView: add support for overlay sourcesGiovanni Campagna2013-08-194-23/+136
| | | | | | | | OWM are layers to be rendered on top of an existing map, and the simplest way to achieve that is to have ChamplainView render maps from a list of sources. https://bugzilla.gnome.org/show_bug.cgi?id=704645
* Add support for OpenWeatherMapGiovanni Campagna2013-08-193-1/+100
| | | | | | | | | | | OpenWeatherMaps provides free (CC-BY-SA 2.0) maps for various kind of weather data, such as clouds, wind, temperature and precipitation. This is not fully functional because OWM maps are just layers, intended to be placed above OpenStreetMaps. https://bugzilla.gnome.org/show_bug.cgi?id=704645
* doc: Set DOC_MODULE_VERSIONMarvin Schmidt2013-08-142-2/+2
| | | | | This will avoid file collisions with future API versions and makes different API versions completely parallel installable
* view: Add properties for animation mode & durationJonas Danielsson2013-08-131-4/+60
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=705829
* Remove deprecated count_changes pragma and perform database vacuum on demandJiří Techet2013-08-071-1/+3
|
* Make sure opacity is animated correctly for error tilesJiří Techet2013-08-071-2/+4
|