Commit Graph

13317 Commits

Author SHA1 Message Date
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
Tobrun
53a0ed16f6 [android] - update changelog for 6.7.0-alpha.1 and 6.6.1 2018-10-17 14:48:11 +02:00
Tobrun
62af756ab8 [android] - use appcompat resource configuration for vector drawables 2018-10-16 20:04:46 +02:00
Tobrun
26896f2baf [android] - bump snapshot version to 6.7.0 2018-10-16 20:04:15 +02:00
Chris Loer
bd389a3962 [docs] Changelog draft for 'format' expression 2018-10-15 13:15:46 -07:00
Chris Loer
fc11d2e872 [core, test] Add BiDi unit test
- Port of arabic.test.js from mapbox-gl-rtl-text
- Modify BiDi::getLine to remove trailing nulls in the event UBIDI_REMOVE_BIDI_CONTROLS causes the string to shorten.
- Patch vendored ICU to avoid undefined undefined bit shifting behavior (triggered sanitizer failure)
2018-10-15 13:15:46 -07:00
Chris Loer
6cbf150a33 [test] Add unit test for TaggedString::trim() 2018-10-15 13:15:46 -07:00
Chris Loer
2c2241c506 [test] Enable 'format' Expression test. 2018-10-15 13:15:46 -07:00
Chris Loer
c99c3602be [test] Bump GL JS pin. 2018-10-15 13:15:46 -07:00
Chris Loer
d4c9b21bae [core, tests] Don't break text-field support "identity functions" 2018-10-15 13:15:46 -07:00
Chris Loer
fdfb9386a6 [android] Minimal Android support for 'format' expression
- No dedicated support for creating format expressions
- Java accessors for 'text-field' flatten back to String
- 'text-field' setter implicitly creates a 'format' expression. For tests, use JsonArray to build an equivalent format expression by hand.
2018-10-15 13:15:46 -07:00
Chris Loer
d0cd49f516 [ios, macos] Minimal darwin wrappers of 'format' expression
Add support for `MGL_FUNCTION('format', <text>, <options dictionary>)`
2018-10-15 13:15:46 -07:00
Chris Loer
ce76bde13d [core] Initial implementation of 'format' expression 2018-10-15 13:15:46 -07:00
Chris Loer
bc71825774 [core] Bidi support for styled text.
Remove use of QString from non-ICU Qt stub bidi implementation since we weren't making use of it.
2018-10-15 13:15:46 -07:00
Chris Loer
fed55418f2 [core,test] Update expression style parsing test fixture.
Always clear errors before trying automatic coercion for a new compound expression overload.
2018-10-15 13:15:46 -07:00
Chris Loer
4a0aab8eb8 [core] Add automatic argument coercion for compound expressions with multiple overloads. 2018-10-15 13:15:46 -07:00
Tobrun
787bbdfa51 [android] - remove obsolete catch block in getLayerAs 2018-10-15 18:56:55 +02:00
Tobrun
ecb59bf1f8 [android] - include mapbox sdk services proguard configuration 2018-10-15 18:56:36 +02:00
Tobrun
b9029e765d [android] - avoid printing exception for valid code execution path 2018-10-15 18:56:16 +02:00
Tobrun
678158bf6c [android] - add equals, hashcode and toString to camera update types from CameraUpdateFactory 2018-10-12 20:26:25 +02:00
Tobrun
6177427108 [android] - infer nullity 2018-10-12 18:40:29 +02:00
Tobrun
a436fd233f [android] - add NonNull to MapboxMap parameter for onMapReady callback, removes necessity to add question mark to all mapboxMap invocations 2018-10-12 18:40:29 +02:00
Tobrun
9e7694cb38 [android] - replace OnMapChange with specific callbacks 2018-10-11 14:12:35 +02:00
Łukasz Paczos
52bc08456e [android] changelog for 6.6.0 2018-10-11 11:31:31 +02:00
Fabian Guerra
3d009789d3 [ios] Bump podspecs to 4.5.0 and update changelog. 2018-10-10 14:37:13 -07:00
Mikhail Pozdnyakov
bf785f57e6 Reserve vector storage in the convert filter code 2018-10-10 16:13:48 +03:00
Antonio Zugaldia
442e3f350f [android] push a new mapofflineevent upon region creation (#12544) 2018-10-09 13:40:41 -04:00
Jason Wray
90ccf22dec [ios] Fix divide-by-zero when setting FPS on iOS <10 2018-10-09 11:30:36 -04:00
Jason Wray
33f2ae0f3f [ios] Add support for Simulator in UIDevice.mgl_isLegacyDevice 2018-10-09 11:30:36 -04:00
Tobrun
f997dc30b9 [android] - fix readme to point to correct developing.md in root 2018-10-09 15:40:28 +02:00
Tobrun
1e71075b3f [android] - reverse order of prioritising shape vs marker click handling 2018-10-09 14:36:50 +02:00
ear7h
7bf29bbf5a [linux] add map_snapshotter.*pp to linux core build 2018-10-09 11:15:19 +03:00
Minh Nguyễn
6786ca6bf7 [ios, macos] Updated world tour locations 2018-10-08 13:47:22 -07:00
Bruno de Oliveira Abinader
d21c126f9d [build] Custom GDB no longer needed in Ubuntu Bionic 2018-10-08 16:27:24 +03:00
Łukasz Paczos
f1506d10da [android] - fix fragments example that were crashing on orientation change 2018-10-08 13:34:29 +02:00
Jason Wray
91ea258dde [ios] Ignore deprecation warnings for MGLMapView.userLocationVerticalAlignment 2018-10-05 18:34:03 -04:00
Fabian Guerra
710a7f5037 [ios, macos] Enable offline merge test. 2018-10-04 11:04:15 -07:00
Fabian Guerra Soto
9cf023b90f [ios] release v4.5.0 beta.1 podspec bump and changelog updates. (#13027)
* [ios] Bump podspec to v4.5.0-beta.1

* [ios, macos] Update changelogs.
2018-10-03 15:10:06 -07:00
Molly Lloyd
f4ffcaa62f [ios, macos, android, node] update changelogs 2018-10-03 11:46:49 -07:00
Molly Lloyd
90be9d8d9d [core] only generate clip ids for clipped layers 2018-10-03 11:46:49 -07:00
Molly Lloyd
ced996ec46 [test] add test checking that unclipped tiles are not used by ClipIDGenerator 2018-10-03 11:46:49 -07:00
Molly Lloyd
3b9c404233 [core] don't prefetch AnnotationTiles 2018-10-03 11:46:49 -07:00
Molly Lloyd
cec3eaa198 [core] fix flickering caused by incorrect ClipIDs
we missed a check for RenderTile.needsClipping when generating the new ClipIDs for some tiles, resulting in incorrect clipping that caused flickering in some cases
2018-10-03 11:46:49 -07:00