Commit Graph

13359 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
a7b3f40f44 [build] GCC 7+ complains about -Wimplicit-fallthrough in utf.cpp 2018-10-25 16:23:40 +03:00
Bruno de Oliveira Abinader
55710cbb67 [core] Added RendererState::has{Image,Layer,Source} 2018-10-25 16:23:40 +03:00
Minh Nguyễn
8e2214129e [ios, macos] Refined MGLLineStyleLayer.lineGradient documentation 2018-10-25 09:23:59 +00:00
Ryan Hamley
3ec0231bb7 [core] Avoid wrapping longitude values of exactly 180 and 360 (#12797) (#13006) 2018-10-24 18:38:54 -07:00
Jason Wray
7def0888c4 [ios] Updates for 4.6.0-alpha.2 release 2018-10-24 14:38:32 -04:00
Josh Erb
2d471da9ce [ios][documentation] add two links for delegates
* MGLMapView <-> MGLMapViewDelegate
* MGLCalloutView <-> MGLCalloutViewDelegate
* MGLLocationManager <-> MGLLocationManagerDelegate
2018-10-24 13:24:23 -04:00
Tobrun
0d4c3656a3 [android] - update changelogs for v6.7.0-alpha.2 and v6.6.2 2018-10-24 17:53:00 +02:00
Bharath MG
af69d85f4e File deactivate should be called before callbacks 2018-10-24 13:57:21 +02:00
Tamás Szincsák
9b351565eb [android] Removed an unused import 2018-10-24 13:57:21 +02:00
Tamás Szincsák
555dcd8da9 [android] Revert vectorDrawables.useSupportLibrary to false in order to increase stability on Android 4.4 and below 2018-10-24 13:57:21 +02:00
Łukasz Paczos
d5b66e56e9 [android] renamed format expression options, added format expression example 2018-10-24 13:35:36 +02:00
Łukasz Paczos
3d67c7813b [android] update local streets style used for CI testing 2018-10-24 13:35:36 +02:00
Łukasz Paczos
12b4969454 [android] "format" expression support 2018-10-24 13:35:36 +02:00
Chris Loer
78a1c30e80 [android] Minimal Android wrapper on 'format' expression
For converting to Java types, flatten 'text-field' back to a string.
2018-10-24 13:35:36 +02:00
Tobrun
fc2afc1d23 [android] - remove view tree observer 2018-10-24 10:52:41 +02:00
Tobrun
d7d48c3ebc [android] - remove shell command when activating google cloud service account 2018-10-24 10:52:19 +02:00
Nadia Barbosa
5f1d4199d9 [ios] Log event when offline pack is created 2018-10-23 15:49:11 -07:00
Thiago Marcos P. Santos
28bc4b2bd8 Add configuration for stale bot
Automatically close stale issues and pull requests.
2018-10-23 15:11:07 +03:00
tobrun
83ac115275 Revert "[android] - infer nullity"
This reverts commit 6177427108.
2018-10-23 13:19:26 +02:00
tobrun
3ef5bc604b Revert "[android] - add NonNull to MapboxMap parameter for onMapReady callback, removes necessity to add question mark to all mapboxMap invocations"
This reverts commit a436fd233f.
2018-10-23 13:19:26 +02:00
Huyen Chau Nguyen
fa78bcadfd [core] add tests for handling requests with different priorities
- ensure that low priority requests are handled last
- add option to set the number of maximum concurrent requests for tests
- some style fixups
2018-10-23 12:47:10 +02:00
Huyen Chau Nguyen
40693e00a8 [core] add logic of high and low priority requests to OnlineFileSource
- only process low priority requests (=offline requests) if there are no outstanding regular requests
- favour regular requests over low priority ones
2018-10-23 12:47:10 +02:00
Huyen Chau Nguyen
1e3a744d22 [core] add priorities to resources
- priorities can be low or regular
- offline downloads should have low priority to not throttle "regular requests"
2018-10-23 12:47:10 +02:00
Konstantin Käfer
9afe75aa76 [core] address nits 2018-10-23 12:23:40 +02:00
Konstantin Käfer
7692be5d15 [core] refactor util::toString to use RapidJSON's stringification 2018-10-23 12:23:40 +02:00
Konstantin Käfer
59c5754fa8 [core] remove special case for Windows 2018-10-23 12:23:40 +02:00
Konstantin Käfer
8bf66ef7a7 [core] remove some uses of <iostream> and <sstream> 2018-10-23 12:23:40 +02:00
Konstantin Käfer
70d5972e10 [core] don't use <boost/functional/hash.hpp> to avoid <locale> include 2018-10-23 12:23:40 +02:00
Konstantin Käfer
282c71e8e9 [core] unify UTF-8/16 conversion to <boost/locale/encoding_utf.hpp> 2018-10-23 12:23:40 +02:00
Konstantin Käfer
729eeeb3f8 [core] remove use of <boost/algorithm/string.hpp> 2018-10-23 12:23:40 +02:00
Konstantin Käfer
c87c25cc84 [core] don't use <sstream> and <iomanip> for string construction 2018-10-23 12:23:40 +02:00
Konstantin Käfer
2766e64973 [core] only include <sstream> when we need it 2018-10-23 12:23:40 +02:00
Konstantin Käfer
eb828dfd29 [core] add the ability to stringy numbers as hex 2018-10-23 12:23:40 +02:00
Konstantin Käfer
43687b4781 [core] add ability to stringify doubles that are integer with and without trailing ".0" 2018-10-23 12:23:40 +02:00
Konstantin Käfer
decbde1616 [core] deduplicate dtoa() from RapidJSON and add tests 2018-10-23 12:23:40 +02:00
Bruno de Oliveira Abinader
ea51b11dcc [core] Introduce mbgl::RendererState 2018-10-19 12:05:16 +02:00
Bruno de Oliveira Abinader
b94be6e68f [core] Add TransformState::getCameraOptions() 2018-10-19 12:05:16 +02:00
Bruno de Oliveira Abinader
98c36fc06e [core] CameraOptions receives and outputs angle and pitch as degrees, not radians 2018-10-19 12:05:16 +02:00
Ryan Hamley
0c6b1629ef [Core] Ensure queryRenderedFeatures accounts for icon-rotate (#13105) 2018-10-18 12:14:52 -07:00
Jason Wray
201db67ee8 [ios] Update changelog for 4.6.0-alpha.1 2018-10-17 18:46:16 -04:00
Jason Wray
bb991a40e7 [ios] Fix inaccuracies in 4.5.0 and 4.4.0 changelogs 2018-10-17 18:29:14 -04:00
Jason Wray
ab3cdec659 [ios] Bump podspecs for 4.6.0-alpha.1 2018-10-17 18:19:17 -04:00
Chris Loer
8368bd4878 [tests, darwin] Standardize on 10 second timeout for map loading
5 second timeouts have been intermittently failing on CI.
2018-10-17 13:14:44 -07:00
Chris Loer
6086a6f0df [docs] Changelog draft for putResourceForURL 2018-10-17 12:53:24 -07:00
Chris Loer
44f79031b7 [android] Include "must-revalidate" in putResourceWithURL 2018-10-17 12:53:24 -07:00
Chris Loer
aab55cfbcd [darwin,test] Add "must-revalidate" support to putResourceWithURL
Testing must-revalidate: true required an expiration date in the future, which exposed a round-tripping problem from translating NSDate to time_point based on now().
Use epoch of 1970 instead (although technically it's not guaranteed to be the epoch for system_clock until C++20)
2018-10-17 12:53:24 -07:00
Chris Loer
c66f92f452 [test] Test[ MGLOfflineStorage putResourceForURL] 2018-10-17 12:53:24 -07:00
Chris Loer
3f98d6a821 [android] Add OfflineManager.putResourceForURL
Useful for pre-warming the ambient cache
2018-10-17 12:53:24 -07:00
Chris Loer
5a45976b7c [darwin] Add MGLOfflineStorage putResourceForURL
Useful for pre-warming the ambient cache
2018-10-17 12:53:24 -07:00
Chris Loer
f510b577aa [core] Promote DefaultFileSource::put to general use. 2018-10-17 12:53:24 -07:00