Commit Graph

8938 Commits

Author SHA1 Message Date
John Firebaugh
ea80168b42 [tests] Update test-suite 2016-09-23 12:52:59 -07:00
Justin R. Miller
6aa00afd31 [ios, android] add visual tests for fill, line, & numeric filter styling (#6433) 2016-09-23 10:13:11 -07:00
Thiago Marcos P. Santos
a03e6c14b6 [Qt] Add a more compelling runtime style example 2016-09-23 16:43:37 +03:00
Thiago Marcos P. Santos
8f965b2c25 [Qt] Add map pitch support on the example app 2016-09-23 16:43:37 +03:00
Thiago Marcos P. Santos
746bb678c8 [Qt] Add API for adding icon to the style 2016-09-23 16:43:37 +03:00
Ivo van Dongen
c4420d081c [core] ensure network::Reachable is called only once 2016-09-23 10:47:55 +02:00
Ivo van Dongen
4969043066 [core] OnlineFileSource - prevent double scheduling of requests 2016-09-23 10:47:55 +02:00
Ivo van Dongen
71c71e43e6 [android] offline - prevent OOME 2016-09-23 10:47:54 +02:00
Ivo van Dongen
e968f4ed55 [android] timer - prevent overflow in due time 2016-09-23 10:47:54 +02:00
Ivo van Dongen
742d6d8275 [android] set connectivity state pro-actively 2016-09-23 10:47:54 +02:00
Jesse Bounds
3ddb8dfc86 [ios, macos] Add tile template option to raster and vector sources
A new MGLTileSet class that wraps all available core Tileset options can be created and passed into the sources. The sources pass that tileset object along to core.
2016-09-22 17:30:47 -07:00
Young Hahn
08c08f6705 [core] Don't use depth test unless text is pitch-aligned to map (#6404)
* [core, ios, android] Use `auto` value for properties with calculated defaults

* Fix render tests

* [core] Don't use depth test unless text is pitch-aligned to map.

* Bump mapbox-gl-test-suite

* TransformState pitch is already in radians

* Reduce setDepthSublayer calls

* Bump test suite
2016-09-22 19:51:41 -04:00
Thiago Marcos P. Santos
4d3356dc1e [tests] Add tests for Map::[add|remove]Image 2016-09-22 17:43:28 +03:00
Thiago Marcos P. Santos
486bdddb23 [core] Add interface to add sprites to the style
Unlike annotations, they will go away when we change the style.
2016-09-22 17:43:28 +03:00
Tobrun
e8d47269f8 [android] #5737 - disable tracking when a camera change occurs, treat camera change equal to gesture (#6414) 2016-09-22 10:30:24 -04:00
Bruno de Oliveira Abinader
d3eaf98ca1 [glfw, qt] Added missing docs (#6428) 2016-09-22 15:38:03 +03:00
Bruno de Oliveira Abinader
d5679b07be [qt] Initial style from MAPBOX_STYLE_URL if set 2016-09-22 15:23:43 +03:00
Bruno de Oliveira Abinader
e84b4042de [glfw] Initial style from MAPBOX_STYLE_URL if set 2016-09-22 15:23:43 +03:00
Thiago Marcos P. Santos
8efe31b7e3 [Qt] Added missing qt-lib target (#6427)
Build the shared library.

Fixes #6415
2016-09-22 14:50:01 +03:00
Fredrik Karlsson
c00b129e80 [ios, macos] increase timeout to 2 seconds 2016-09-21 16:13:35 -07:00
Minh Nguyễn
2c8e030550 [ios, macos] Short-circuit packs test
If the packs property is already populated, there’s no need to wait for a change notification.
2016-09-21 16:13:35 -07:00
Young Hahn
6a2ce352d1 Better handling for undefined icon|text-rotation-alignment (#6253)
* [core, ios, android] Use `auto` value for properties with calculated defaults

* Fix render tests
2016-09-21 16:07:33 -07:00
Justin R. Miller
673d8f90f2 [ios] revamp settings/debug UI in test app (#6421) 2016-09-21 15:07:44 -07:00
Antonio Zugaldia
c0ed193c20 [android] #6418 - Release Android v4.2.0-beta.3
* [android] #6418 - update VERSION_NAME to 4.2.0-beta.3

* revert VERSION_NAME for development

* Update CHANGELOG.md
2016-09-21 16:55:29 -04:00
Justin R. Miller
2bde64fcb3 [ios] fix #6361: source query nullability & return nil for unfound results (#6408)
Also removes some dead code in MGLStyle.mm.
2016-09-21 10:59:45 -07:00
Jesse Bounds
f4ba92af1f [ios, macos] Clarify MGLGeoJSONSource option units in API docs (#6411) 2016-09-21 09:50:04 -07:00
Ivo van Dongen
625785e4b8 [android] enable RELRO (#6419) 2016-09-21 18:32:51 +02:00
Jesse Bounds
1165a408fb [ios, macos] Add more predicate operator to mbgl filter translations
Adds several new translations to prevent data loss.
2016-09-21 09:12:59 -07:00
Mike Morris
6fe621bbef [core] check GL errors in loop
As recommended in https://www.opengl.org/wiki/GLAPI/glGetError

char* -> std::string
2016-09-21 10:33:40 -04:00
Mike Morris
658354ced1 [core] add GL_CONTEXT_LOST case to checkError
and reorder according to hex value
https://www.opengl.org/wiki/OpenGL_Error#Testing_for_errors
2016-09-21 10:33:40 -04:00
Ivo van Dongen
eb97dbe383 [android] Sources: peer model, mutability (#6054) 2016-09-21 11:04:32 +02:00
Minh Nguyễn
3b546b9646 [ios, macos] Ignore progress updates after suspending
-suspend and -resume are now presumed to be synchronous, even if technically they remain asynchronous under the hood.
2016-09-20 22:34:54 -07:00
Tobrun
7df9a21f41 [core] - mutable geojson sources. make tiles protected for geojson_source_impl (#6347) 2016-09-20 20:50:27 +02:00
Tobrun
3755d48441 [android] - increase timeout to 15 minutes (#6399) 2016-09-20 20:20:14 +02:00
Konstantin Käfer
334ec1715b [build] use Mason's sqlite when linking Qt tests (#6395) 2016-09-20 20:37:06 +03:00
Molly Lloyd
598f7c6ad5 [core] allow offline region metadata to be updated (#6338) 2016-09-20 17:43:00 +02:00
Ivo van Dongen
97da387273 [android] update mas dependency (#6398) 2016-09-20 17:04:21 +02:00
John Firebaugh
cfd070c4e0 [core] Fix ThreadPool race condition (#6388) 2016-09-20 07:48:49 -07:00
John Firebaugh
c3a583cdd5 [core] Allow queryRenderedFeatures prior to symbol placement (#6376) 2016-09-20 07:47:42 -07:00
Konstantin Käfer
a8032b5c6a [build] upgrade dependencies
libuv 1.7.5 => 1.9.1
libjpeg-turbo 1.4.2 => 1.5.0
libpng 1.6.20 => 1.6.25
libzip 0.11.2 => 1.1.3
nunicode 1.6 => 1.7.1
2016-09-20 16:39:02 +02:00
Tobrun
fd71c36025 [android] - optimise execution time of Android CI integration (#6283) 2016-09-20 15:53:20 +02:00
Ivo van Dongen
aa47680a02 [android] fire onMapReady only after style is loaded (#6046) 2016-09-20 15:10:33 +02:00
Konstantin Käfer
1e8f9c75ca [core] do not render layers that are outside their zoom range
So far, we didn't properly disable layers that are outside the zoom range. This means that we rendered layers that should not have been rendered, albeit we didn't make any attempt to load tiles for those layers. However, when zooming in/out, existing tiles might already have been loaded in the source which continued to be rendered. In most cases they weren't actually visible because either the matrices weren't updated, or the clip IDs weren't set so that they would be "rendered" off-screen and clipped completely. In any case, we did way too much work.
2016-09-20 14:10:38 +02:00
Thiago Marcos P. Santos
34e783ed9c [tests] Remove memory fragmentation test (#6226)
It is not reliable.
2016-09-20 14:47:08 +03:00
Ivo van Dongen
8b0694bc16 [core] MapChangeDidFinishLoadingStyle - Ensure style is loaded (#6392) 2016-09-20 12:37:34 +02:00
Ivo van Dongen
f3b38df91d [core] add MapChangeDidFinishLoadingStyle signal (#6371) 2016-09-20 09:55:53 +02:00
Cameron Mace
073a675c29 [android] Cleans up code in map package (#6380) 2016-09-20 07:49:03 +02:00
Tobrun
72e3d6906d [android] - do not update marker while creating (#6314)
* [android] - do not update marker while creating, add activity to prevent regression

* [core] - add asserts to incorrect usage of update and remove annotations api

* [android] - fix marker tests
2016-09-19 18:03:49 -07:00
Lucas Wojciechowski
37cb2bd756 [core] Convert uses of std::set to std::unordered_set (#6325)
* src/mbgl/annotation/annotation_manager.hpp

* src/mbgl/algorithm/update_renderables.hpp

* src/mbgl/geometry/glyph_atlas.hpp

* src/mbgl/renderer/painter.cpp and src/mbgl/renderer/render_item.hpp

* src/mbgl/renderer/symbol_bucket.hpp and src/mbgl/text/glyph_store.hpp

* src/mbgl/sprite/sprite_atlas.hpp

* include/mbgl/storage/network_status.hpp

* src/mbgl/text/collision_tile.cpp

* src/mbgl/style/update_batch.hpp

* platform/default/mbgl/storage/offline_download.hpp

* Add GlyphRangeSet typedef

* Fix whitespace & unused imports
2016-09-19 17:26:25 -07:00
Antonio Zugaldia
79708ff9d8 Adjust logging level for failed OkHttp requests (#6378)
* log level depending on the error type
* Squashing and Merging
* remove unnecessary log (with wrong tag)
2016-09-19 17:30:56 -05:00