Commit Graph

2874 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
Ivo van Dongen
aa47680a02 [android] fire onMapReady only after style is loaded (#6046) 2016-09-20 15:10:33 +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
Justin R. Miller
13e63dbff5 [ios] add OS_ACTIVITY_MODE=disable for Xcode 8 spew (#6382) 2016-09-19 13:57:22 -07:00
Jason Wray
23eaf6fb86 [ios] Don't specify Swift version for jazzy doc generation (#6377) 2016-09-19 15:43:45 -04:00
Konstantin Käfer
1014a503a2 [build] Upgrade GLFW to 3.2.1, SQLite to 3.14.2 and libwebp to 0.5.1 2016-09-19 14:38:47 +02:00
Cameron Mace
032b4d8964 fixed readme image and links in contributing file (#6357) 2016-09-16 15:25:19 -04:00
Justin R. Miller
0bd66d40dd [ios] fixes #6248: properly handle all NSNumber types in filters (#6290) 2016-09-16 11:46:22 -07:00
Jason Wray
36076a1d6d [android] Move unused icon burning script to Android folder (#6310)
Trying the new Squash and Merge Green Button functionality.  I'm told that FF is now enabled, but haven't seen firsthand until now.
2016-09-16 10:34:06 -07:00
Tobrun
9ef65440b6 [core] [android] - public api configurable base endpoint (#6309)
add runloop to test
2016-09-15 22:01:09 -07:00
Tobrun
217c43d125 [android] - disable closable strictmode (#6327) 2016-09-15 15:43:52 -07:00
Konstantin Käfer
5f49f28d3e [build] add specific .clang-tidy file for things that use RapidJSON writers 2016-09-15 14:05:23 +02:00
Brad Leege
d0f9ba4998 [core] #3980 - Switching Core GL instances of map to unordered_map 2016-09-14 16:40:20 -07:00
Jason Wray
0bdd968d2b [core] Remove schema v4 migration path 2016-09-14 15:49:00 -04:00
Jason Wray
83d0b39adb [ios, macos] Remove changelog lines for WAL db change 2016-09-14 15:46:45 -04:00
Jason Wray
4daff7f2f8 [core] Revert SQLite WAL journaling 2016-09-14 15:45:47 -04:00
Jesse Bounds
922bb3bc37 [ios] Use content inset to calculate edge padding (#6313)
This reverts a previous change that used only the contentInset
when setting the center coordinate of the map view.
Instead of contentInset, edgePaddingForFollowing is used. This fixes
a regression that caused the user dot annotation to be misplaced
when the map was configured to show the annotation in any place other
than in the center of the map.

In addition, edgePaddingForFollowing is updated to account for
contentInset when it calculates its UIEdgeInsets. This fixes a bug
where the user dot would move to the center of the content frame
(when it was adjusted for content insets) but the map would not scroll
along with it yielding the effect of the user dot being misplaced.
2016-09-13 22:24:37 -07:00
Brad Leege
1a2680b5b7 [android] #6321 - New Staging Server PK Access Token (#6323) 2016-09-13 14:26:21 -07:00
Antonio Zugaldia
d9306dde2e [android] #6317 - avoids NullPointerException when checking mMapboxMap.getUiSettings() (#6318) 2016-09-13 15:44:03 -04:00
Ivo van Dongen
ed4e37ba9f [android] HttpFileSource - rate limit 2016-09-13 14:21:38 +02:00