Commit Graph

11160 Commits

Author SHA1 Message Date
Ivo van Dongen
68f470fdda [core] make actor self reference optional - again
- uses a different method of constructor selection that also works on Apple clang < 8.2.
2017-08-08 11:36:30 +03:00
Thiago Marcos P. Santos
2dd8ec8854 [core] Removed unused constructor
Not in use at the moment, was causing a compiler error on
Apple LLVM version 8.0.0 (clang-800.0.42.1).

```
src/mbgl/sprite/sprite_loader.cpp:25:11: error: call to constructor of
'Actor<mbgl::SpriteLoaderWorker>' is ambiguous
```
2017-08-07 18:48:42 +03:00
Pablo Guardiola
d49c4cd61c [android] fix formatting zoom position DebugModeActivity crash (#9718) 2017-08-07 16:31:51 +02:00
Pablo Guardiola
7f3523a9df [android] make text not selectable to fix infowindow issues caused because selectable text consumes the click event (#9717) 2017-08-07 16:24:29 +02:00
Thiago Marcos P. Santos
d7b5a298d4 [core] Update dependencies
Bump to a new version that old compilers can build.
2017-08-07 17:20:33 +03:00
Thiago Marcos P. Santos
761f506578 [core] Do not use polymorphic lambda
Crashes with GCC 5.2.0 needed by Qt Automotive.

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68278
2017-08-07 17:20:33 +03:00
Thiago Marcos P. Santos
897824273f [core] Include what you use
Fix linking error on MacOS with older clang versions.
2017-08-07 17:20:33 +03:00
Thiago Marcos P. Santos
2108763010 [core] Remove std:: namespace for some functions
They are not available on Android + GCC (needed by Qt)
2017-08-07 17:20:33 +03:00
Tobrun Van Nuland
caea486587 [andriod] - post updating InfoWinw update for Dynamic InfoWindowAdapter example 2017-08-07 14:36:01 +02:00
Konstantin Käfer
e8bfcd0474 [core] fix rendering of fill outlines that have a different color than the fill itself 2017-08-07 10:41:06 +02:00
Tobrun Van Nuland
7eba031ae2 [android] - annotate MapboxMap with UiThread 2017-08-07 10:17:33 +02:00
John Firebaugh
466728b441 [core] Simplify generate-shaders.js
We moved the #pragma ⇢ #ifndef logic into gl-js.
2017-08-02 09:59:50 -07:00
Bobby Sudekum
ae1d9ecead Combine AWS keys (#9679) 2017-08-02 09:46:40 -07:00
Nicki Dlugash
3faecfe2d5 Add native ignore for text-letter-spacing/property-function and zoom-and-property-function (#9669) 2017-08-01 16:39:09 -04:00
Tobrun
0ee5d9af79 [android] - bump MAS dependency (#9671) 2017-08-01 21:31:35 +02:00
Nicki Dlugash
1194f31920 [test] Add native ignore for text-max-width/property-function and text-max-width/zoom-and-property-function (#9655)
[test] Add native ignore for text-max-width/property-function and text-max-width/zoom-and-property-function
2017-08-01 11:47:51 -04:00
Tobrun
104fd98a81 [android] - fix OnCameraMoveStartedListener typo (#9664) 2017-08-01 16:33:52 +02:00
Tobrun
c93c21ccf7 [android] - try/catch initalisation of Telemetry (#9658) 2017-08-01 15:25:24 +02:00
Tobrun
de46df21a7 [android] - remove preview image integration (#9657) 2017-08-01 15:25:07 +02:00
Tobrun
11b8f2dcb2 [android] - move ZoomButtonController creation to view initalisation (#9587) 2017-08-01 08:54:16 +02:00
Tobrun
685b8b2c84 Solve lint issues, reduce baseline (#9627)
* [android] - fix lint issues SDK
2017-07-28 19:36:13 +02:00
Molly Lloyd
ba7574ec51 [core] modify texture coordinate scaling (#9153)
ignore unsupported dds property tests

fix tests

remove unneeded texture extent variable

bump gl-js to master
2017-07-27 14:54:03 -07:00
Pablo Guardiola
175e7e26e2 [android] fix compass direction (Transform::getCameraOptions returns counterclockwise angle after transform.invalidateCameraPosition() which needs to be transformed to a clockwise bearing) (#9632) 2017-07-27 15:38:53 +02:00
Tobrun Van Nuland
39face8e10 [android] - remove wear module from project 2017-07-27 14:01:24 +02:00
Jason Wray
48481db47b [docs] Add FOSSA 'license scan' badge (#9624)
[skip ci]
2017-07-26 17:40:43 -04:00
Lauren Budorick
a8ef2af353 [core][android][macos][ios] Implement property functions for line-join, text-justify, text-anchor (#9583) 2017-07-26 13:18:47 -07:00
Tobrun Van Nuland
c5a5b40837 [android] - add zMediaOverlay configuration, add bottom sheet test setup 2017-07-26 20:49:13 +02:00
Tobrun Van Nuland
93ba48a3a4 [android] - forward getMapAsync to map for fragment 2017-07-26 20:48:42 +02:00
John Firebaugh
d4cb498d7a [all] Merge View into RendererBackend 2017-07-26 09:50:38 -07:00
John Firebaugh
32bd1d54fa [node, tests] Consolidate headless rendering logic in HeadlessFrontend 2017-07-26 09:50:38 -07:00
John Firebaugh
11933f6ab8 [core] Remove API tests that are covered by node tests 2017-07-26 09:50:38 -07:00
John Firebaugh
c85193a0ad [core] Replace API.ZoomHistory test with integration test 2017-07-26 09:50:38 -07:00
Thiago Marcos P. Santos
7dde832dc6 [tests] Bump clang-tidy/format version
4.0.0 was failing with the previous patch for no reason.
2017-07-26 18:51:11 +03:00
Thiago Marcos P. Santos
acd95c325a [core] Fix issues with the std:: namespace and old compilers
Specifically when building Android with GCC 4.9 (which Qt still does :-/)
2017-07-26 18:51:11 +03:00
Tobrun Van Nuland
cb5f498dfe [android] - add make target for dumping system GFX information 2017-07-26 17:16:14 +02:00
Tobrun Van Nuland
f56d9ca0d6 [android] - add make target documentation 2017-07-26 17:15:58 +02:00
Thiago Marcos P. Santos
55faa23d2e [Qt] Fix database timeout not being set correctly
It was overflowing due to long to int conversion inside Qt and
never being effectively set because Qt was silently ignoring
the conversion error and discarding the new value.

Fixes #9108.
2017-07-26 15:39:03 +03:00
Ivo van Dongen
565dfc9183 [benchmark] manage backendscope in renderer frontend 2017-07-25 17:44:28 +03:00
Ivo van Dongen
d2a437d048 [node] manage backendscope in renderer frontend 2017-07-25 17:44:28 +03:00
Ivo van Dongen
4dee3a0d8d [qt] manage backendscope in renderer frontend 2017-07-25 17:44:28 +03:00
Ivo van Dongen
9893b3d071 [glfw] manage backendscope in renderer frontend 2017-07-25 17:44:28 +03:00
Ivo van Dongen
8fef2b6531 [android] manage backendscope in renderer frontend 2017-07-25 17:44:28 +03:00
Ivo van Dongen
e75fdf1075 [render] manage backendscope in renderer frontend 2017-07-25 17:44:28 +03:00
Ivo van Dongen
f69997a19c [default] manage backendscope in renderer frontend 2017-07-25 17:44:28 +03:00
Ivo van Dongen
66e1429460 [ios][macos] manage backendscope in renderer frontend 2017-07-25 17:44:28 +03:00
Ivo van Dongen
27343c6a75 [core] fix backend scope handling on render, cleanup and lowmemory
- Make renderer frontend responsible for creating a BackendScope on render
- encapsulate backend scope handling on cleanup and low memory in renderer impl
2017-07-25 17:44:28 +03:00
Tobrun Van Nuland
906fc0421a [android] - hook into onGlobalLayout to start creating the surface and as a result create the map object 2017-07-25 15:15:59 +02:00
Tobrun Van Nuland
a28228013c [android] - don't query for shape annotations if none were added 2017-07-25 14:27:10 +02:00
Pablo Guardiola
0e0536a8d7 [android] fix added to map checks because LongSparseArray#indexOfKey could return a negative number when the specified key is not mapped (#9602) 2017-07-25 13:01:31 +02:00
Tobrun Van Nuland
de14815a29 [android] - use custom viewpager to allow horizontal swiping 2017-07-25 12:47:17 +02:00