Commit Graph

12216 Commits

Author SHA1 Message Date
Jason Wray
11d506f803 Merge tag 'ios-v3.7.6' into master 2018-03-14 12:48:30 -04:00
Ivo van Dongen
d7bc36db6f [core] prevent render thread from waking up unneeded on still rendering
- No longer sends a update message to the render frontend when rendering in still mode only to shortcut it in the renderer. This prevents unneeded render passes in qt.
2018-03-14 16:39:58 +02:00
Jason Wray
4544b7aae9 [ios] Bump podspecs for ios-v3.7.6 2018-03-12 20:02:32 -04:00
Jason Wray
40e5af700b [ios] Prepare changelog for ios-v3.7.6 2018-03-12 20:02:32 -04:00
Jason Wray
1b3d8f990f [ios, build] Move iOS release builds to CircleCI 2018-03-12 17:56:06 -04:00
Jason Wray
ec91b83ea4 [build] Update to Xcode 9.2 on CircleCI (#10893)
When CircleCI says 9.2.0, they mean it...
2018-03-12 14:08:29 -04:00
Lucas Wojciechowski
5b3ebc4a24 [core] Add expression filter support (#11251)
* WIP

* WIP

* WIP

* Remove Filter::operator()(const Feature&)

* WIP

* WIP

* WIP

* WIP

* Hook up expression filter evaluator

* Replace `shared_ptr` with &reference

* Fill in implementation of `void operator()(const ExpressionFilter&)`

* Fix failing tests

* Switch back to a shared_ptr per chat with @anandthakker

* Fix benchmark compilation

* Shot in the dark to fix CI

* Shot in the dark to fix CI (part 2)

* Shot in the dark to fix CI (part 3)

* In src/mbgl/style/conversion/filter.cpp, add a port of isExpressionFilter and use it to decide in Converter<Filter>::operator() whether to parse the incoming JSON as an ExpressionFilter or one of the legacy filter types

* Remove bool Filter::operator()(const GeometryTileFeature&) const

*  Ensure the map zoom is passed into filtering operations wherever applicable

* Add expression filter tests

* Addressed PR feedback

* Implement `NSPredicate *operator()(mbgl::style::ExpressionFilter filter)`

* Fix formatting& nit
2018-03-08 15:48:08 -08:00
Jason Wray
e690e7cf1e [ios] Add camera limit debug option to iosapp
Adapted from cdff47276d/Examples/ObjectiveC/BlockingGesturesDelegateExample.m
2018-03-08 17:13:44 -05:00
Jason Wray
c815c1e2d6 [ios] Fix pinch drift ignoring delegate camera change response 2018-03-08 17:13:44 -05:00
Asheem Mamoowala
7df451def6 [core] TileJSON conversion clamps bounds longitude to [-180,180], per spec 2018-03-08 13:49:56 -08:00
Asheem Mamoowala
c54035afb1 [core] Support a range of zooms in TileRange. Accounts for TilePyramid requesting parent tiles of ideal zoom tiles. 2018-03-08 13:49:56 -08:00
Cameron Mace
268a4d7404 Update README.md (#11408)
Update splash image
2018-03-07 10:45:39 -05:00
Thiago Marcos P. Santos
eeadec3e06 [qt] Fix Qt build on MinGW 2018-03-07 14:18:07 +01:00
Langston Smith
d7808b3a77 Android readme snapshot dependency line cleanup (#11071)
* Snapshot dependency line cleanup

* Matching version nums

* changed compile to implementation
2018-03-06 06:09:47 -08:00
Bruno de Oliveira Abinader
803a4d46ed [Qt] Added QMapboxGL::MapLoadingFailure enum 2018-03-05 14:41:58 -05:00
Bruno de Oliveira Abinader
fc140e265b [Qt] Expose mapLoadingFailed signal 2018-03-05 14:41:58 -05:00
Łukasz Paczos
ae0e583590 [android] fix CameraAnimatorActivity home button (#11383) 2018-03-05 14:22:06 +01:00
Konstantin Käfer
136e536159 [core, qt] move self-resetting Statement/Query object to shared header 2018-03-02 14:26:25 +01:00
Konstantin Käfer
5ca38bbde9 [core] refactor SQLite error/status codes 2018-03-02 14:26:25 +01:00
Konstantin Käfer
b0a840e44f [core] improve SQLite error logging 2018-03-02 14:26:25 +01:00
Łukasz Paczos
9412f058f9 [android] updated changelog to reflect 6.0.0-beta.3 changes
(cherry picked from commit 7c0c884)
2018-03-02 13:13:57 +01:00
Tobrun
40039f6b43 [android] - reset release configuration 2018-03-01 11:46:04 +01:00
Tobrun
72393707d3 [android] - fix custom layer example 2018-03-01 11:46:04 +01:00
Tobrun
6e48460445 [android] - release android v5.5.0 2018-03-01 11:46:04 +01:00
Tobrun
a8b8c5defa [android] - update changelog for v5.5.0 2018-03-01 11:46:04 +01:00
Osana Babayan
90cce8d9ce [android] incorrect latlngBounds in the VisibleRegion with map is rotated
smallest bounding box for 4 points cannot (#11226)
be created using LatLngBounds.fromLatLngs()
as the order matters in that method and that does not work for rotated map
2018-03-01 11:46:04 +01:00
Ivo van Dongen
4b32228cc2 [android] custom layer example - remove dependencies on mbgl logging and string headers 2018-03-01 11:46:04 +01:00
Ivo van Dongen
7fc676ed41 [android] custom layer example - add error checking to debug issues more easily 2018-03-01 11:46:04 +01:00
Ivo van Dongen
c84670e683 [android] custom layer example - fix fragment shader source for opengl es 2 phones 2018-03-01 11:46:04 +01:00
Ivo van Dongen
eec0db49e4 [core] blacklist vao usage on mali t720 (sapphire 650)
Avoids problems on (amongst others) Samsung Galaxy J3
2018-03-01 11:46:04 +01:00
Ivo van Dongen
b00e92fa94 [core] check opengl error state after custom layer invocations 2018-03-01 11:46:04 +01:00
Tobrun
54c3fcdec8 [android] - check if hosting Activity isn't finishing before showing an dialog 2018-03-01 11:46:04 +01:00
Łukasz Paczos
0fe1219bfd [android] expose ImageSource coordinates setter (#11262) 2018-03-01 11:46:04 +01:00
osana
7623ed99bc [android] jni clean up - missing a couple DeleteLocalRef 2018-03-01 11:46:04 +01:00
Cameron Mace
20c79d9e71 upgraded telem version (#11338)
* upgraded telem version

* use telem method instead of Okhttp

* use telem util in test
2018-02-28 14:38:26 -05:00
Bruno de Oliveira Abinader
48744d51d8 [test] Update Map.PrefetchTiles 2018-02-28 11:54:37 +02:00
Minh Nguyễn
98470e242d [doc] Updated link to NativeScript plugin
The old URL has become a redirect to the plugin marketplace’s homepage.
2018-02-27 17:17:32 -05:00
Jason Wray
b74930c5fc [ios] Improved heading indicator arrow visibility 2018-02-27 15:46:28 -05:00
Fabian Guerra Soto
6d2cbb0a40 [ios, macos] Fix a memory leak when creating an EAGLContext in MGLMapSnapshotter. (#11193) 2018-02-27 12:04:20 -05:00
Konstantin Käfer
aacd55c64b [core] continue loading style even if we mutate it
When we load a stale style from cache, and the user immediately starts mutating it, we should continue loading the style so that we'll get a fresh copy of the data into our cache and avoid perpetually showing the stale style.
2018-02-27 17:22:54 +01:00
Chris Loer
ca17625f1c [core,node] Pin 'nan' to ~2.8 to avoid Callback::Call deprecation.
Alternative fix to #11288, until we figure out a proper async_hooks implementation.
2018-02-27 17:22:54 +01:00
Łukasz Paczos
7905bd6831 [android ] - new gestures library (#11221)
* [android] new gesture library - added SNAPSHOT dependency

* [android] new gesture library - cleaned up redundant classes

* [android] new gesture library - limiting scale when rotating

* [android] new gesture library - shove gesture filtering

* [android] new gesture library - increase rotation threshold when scaling

* [android] new gesture library - minimum angular velocity

* [android] new gesture library - exposed gestures execution listeners

* [android] new gesture library - notifying new listeners tests

* [android] new gesture library - removed tracking setting

* [android] new gesture library - resetting focal point with every scale/rotate callback

* [android] new gesture library - fixed camera change dispatcher callbacks

* [android] new gesture library - cancel velocity animations in maps onStop()

* [android] new gesture library - extracted telemetry pushes to a method

* [android] new gesture library - deprecated onScrollListener

* [android] new gesture library - unified shove listener name
2018-02-27 15:51:22 +01:00
Bruno de Oliveira Abinader
380f5dc88b [qt] Rename Qt SDK to 'Mapbox Maps SDK for Qt' 2018-02-27 16:28:55 +02:00
Bruno de Oliveira Abinader
df92af27d9 [core] Add space in OfflineDatabase::updateMetadata SQL query 2018-02-27 16:28:36 +02:00
Chris Loer
7097e04fb3 [core, node] Hold on to map handle during NodeMap::request.
Avoids a potential crash if garbage collection happens in the middle of a call to NodeMap::request from a map that's eligible for GC.
Fixes issue #11281
2018-02-26 14:23:01 -08:00
Chris Loer
91f6e09dad [core] Don't reuse heatmap render texture on viewport resize.
Fixes issue #11228.
2018-02-26 14:23:01 -08:00
Molly Lloyd
d425ec7237 [ios, macos] add tileset encoding option to darwin sources (#11274)
* add tileset encoding option to darwin sources

* correct style guide

* link out to dem encoding docs

* markdownify comments
2018-02-26 14:12:59 -08:00
Chris Loer
80fdae62ca [core,node] Pin 'nan' to ~2.8 to avoid Callback::Call deprecation.
Alternative fix to #11288, until we figure out a proper async_hooks implementation.
2018-02-26 13:47:57 -08:00
Thiago Marcos P. Santos
869799a716 [tests] Added a test for getting resources from the database
This test would have flagged the Qt regression.
2018-02-26 14:43:32 +02:00
Thiago Marcos P. Santos
ba019b0256 [qt] Fix issue if resources not being found on the database
Once again QVariant getting confused about its contents
datatype. With this patch we use QString directly and
copy the contents, which should be cheap with Qt implicity
sharing.
2018-02-26 14:43:32 +02:00