Commit Graph

14444 Commits

Author SHA1 Message Date
Jason Wray
6718887f0b [ios, build] Move iOS release builds to CircleCI 2018-03-14 15:46:52 -04:00
Jason Wray
4acd671a65 [ios] Add camera limit debug option to iosapp
Adapted from cdff47276d/Examples/ObjectiveC/BlockingGesturesDelegateExample.m
2018-03-14 15:46:43 -04:00
Jason Wray
d37edadacb [ios] Fix pinch drift ignoring delegate camera change response 2018-03-14 15:46:31 -04:00
Jason Wray
2230af1425 [ios] Improved heading indicator arrow visibility 2018-03-14 15:46:00 -04:00
Jason Wray
11d506f803 Merge tag 'ios-v3.7.6' into master 2018-03-14 12:48:30 -04:00
Łukasz Paczos
3294f279e3 [android] build release Test App before publishing (#11418) 2018-03-14 15:41:15 +01: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
Lloyd Sheng
4404a2669b [ios, macos] Fix an issue where a wrong annotation may selected if annotations were set close together (#11438)
* [ios] Fix an issue where wrong annotation may selected when annotations very close #10734

* [macos] Fix an issue where a wrong annotation may selected if annotations were set close together

* update the iOS change log and the macOS change log

* Fix an issue where the comment referenced to the wrong variable name
2018-03-13 11:26:15 -07: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
Tobrun
961aba1552 [android] - revisit proguard configuration for release-boba 2018-03-12 16:36:45 +01:00
Asheem Mamoowala
a57be420b0 [core] TileJSON conversion clamps bounds longitude to [-180,180], per spec 2018-03-09 12:00:12 -08:00
Lucas Wojciechowski
8a3deab733 [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-09 11:12:14 +01: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
Tobrun
6179110b6b [android] - add expression conversion, add getters (#11352) 2018-03-08 16:27:02 +01:00
Łukasz Paczos
dfdfbc0990 [android] calculating camera's LatLng for bounds without map padding (#11410) 2018-03-08 15:55:47 +01:00
Tobrun
ea525fd08a [android] - check for null body on http request, cleanup code 2018-03-08 15:51:07 +01:00
Minh Nguyễn
91de48356e [macos] Upgraded tests to Swift 4 2018-03-07 17:31:01 -08:00
Minh Nguyễn
9f708d80f4 [macos] Fixed title casing based on current orthography 2018-03-07 17:31:01 -08:00
Minh Nguyễn
6c0599b536 [macos] Assume sRGB for mbgl expressions, CSS in attribution
Assume mbgl needs colors in the sRGB color space rather than the calibrated RGB color space. Fixed link colors when creating attribution from HTML.
2018-03-07 17:31:01 -08:00
Cameron Mace
268a4d7404 Update README.md (#11408)
Update splash image
2018-03-07 10:45:39 -05:00
Łukasz Paczos
12664cd4c4 Expose more gestures settings (#11407)
* [android] enable/disable velocity animations

* [android] exposed a method to cancel ongoing velocity animations

* [android] removed unused methods and constants

* [android] fixed gestures manager initialization

* [android] enable/disable increasing gesture thresholds

* [android] saving/restoring new gestures options
2018-03-07 15:56:22 +01:00
Thiago Marcos P. Santos
eeadec3e06 [qt] Fix Qt build on MinGW 2018-03-07 14:18:07 +01:00
tobrun
990999402c [android] - revert java8 support in the SDK 2018-03-06 17:51:58 +01:00
Osana Babayan
19d08db2e4 [android] take advantage of MAS 3.0-beta.3 changes
fromLngLats() take double arrays are called from Java (not the List<Point> ones)
2018-03-06 09:43:01 -05: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
Tobrun
38fd733c9c [android] - rework match expression to style specification syntax 2018-03-06 15:03:20 +01: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
Tobrun
1785a98e4f [android] - make javadoc configuration compatible with Gradle 4.4 2018-03-05 14:55:27 +01:00
Łukasz Paczos
c0bb9aaa81 [android] reworked zoomIn and zoomOut to use ValueAnimators (#11382) 2018-03-05 14:23:28 +01:00
Łukasz Paczos
ae0e583590 [android] fix CameraAnimatorActivity home button (#11383) 2018-03-05 14:22:06 +01:00
Anand Thakker
8ed540ea7b Port fix for "at" expression off-by-1 error (#11375)
* Port fix for "at" expression off-by-1 error

Refs https://github.com/mapbox/mapbox-gl-js/pull/6269

* Consistency

* Add ignores for symbol positiong differences in real-world tests
2018-03-02 16:38:46 -05:00
Jason Wray
4919099ea9 [ios] Add MGLMapView.showsScale to control scale bar visibility (#11335)
- Fixes scale bar not being visible until a camera change event.
- Adds IBInspectable for scale bar visibility.
- Add tests of the scale bar being added to the map view
2018-03-02 13:13:57 -05: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
Tobrun
4408e2f0bc [android] - delete local ref pixel buffer when converting Image.java to core 2018-03-02 13:50:24 +01:00
Tobrun
4152c3094a [android] - use float for pixelratio when creating a snapshotter 2018-03-02 13:44:42 +01:00
Tobrun
6ca4949d0f [android] - validate if width and height aren't 0 when creating options class 2018-03-02 13:44:16 +01:00
Łukasz Paczos
7d8aaa1bf8 Release android v6.0.0-beta.3 (#11369)
* [android] updated changelog to reflect 6.0.0-beta.3 changes

* [android] release configuration for v6.0.0-beta.3

* [android] reverted release configuration for v6.0.0-beta.3
2018-03-02 13:15:11 +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
Łukasz Paczos
899211d816 Remove deprecated location APIs (#11351) 2018-03-02 11:01:10 +01:00
John Firebaugh
87f88f37c4 Update mapbox-gl-js 2018-03-01 17:02:26 -08:00