Konstantin Käfer
a4b814dd16
[build] don't explicitly add -lstdc++ for Android 😱
2019-01-21 17:00:31 +01:00
Konstantin Käfer
d53c7860cd
[build] use optional polyfill on Android, and upgrade to NDK r19
...
<experimental/optional> is not available anymore in newer STL versions, e.g. according to libc++'s TS deprecation policy: https://libcxx.llvm.org/TS_deprecation.html
2019-01-21 17:00:31 +01:00
Alexander Shalamov
2da9d483ac
[android] Implement google benchmark runner for Android platform
2019-01-11 09:49:36 +02:00
Alexander Shalamov
df63be71ce
[android] Implement android test runner for core unit tests
2019-01-10 18:49:44 +02:00
Konstantin Käfer
6f60ccf08e
[build] generate header maps instead of -files.txt
2019-01-09 10:26:53 +01:00
Konstantin Käfer
1d8235f5b8
[build] rework platform/default directory and add -files.txt for vendored libs
2018-12-14 11:03:03 +01:00
Thiago Marcos P. Santos
9be6c8b1b7
[build] Add more vendor packages
...
* jni.hpp
* cheap-ruler-cpp
* pixelmatch-cpp
2018-11-16 18:58:30 +02:00
Thiago Marcos P. Santos
69960afb8d
[build] Add build system for submodules
...
Vendorize the submodules and a simple CMake build
system for all them. The dependencies will inherit
compilation options for core.
The goal is to make Mapbox GL Core completely self
contained with a simple offline build.
2018-10-31 18:19:28 +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
tobrun
6e171a62a9
[android] - replace platform default implementation using nunicode for uppercasing an lowercasing with an Android specific String.java equivalent
2018-09-11 12:58:56 +02:00
Konstantin Käfer
30e570aae7
[core] add polyfill for codecvt for STLs that don't have it yet
2018-09-11 11:43:54 +02:00
Konstantin Käfer
e51eb0fc23
[build] use vendored version of ICU
2018-09-05 12:26:15 +02:00
Konstantin Käfer
679d66f36d
[build] use vendored SQLite for LTO benefits + custom compile flags
2018-09-05 12:26:15 +02:00
Konstantin Käfer
1e454642c8
[build] allow WITH_EGL for macOS as well (SwiftShader) and enable EGL for GLFW
2018-08-27 14:07:40 -07:00
Konstantin Käfer
52275f835a
[build] add plain text file lists for iOS/macOS
2018-08-23 14:09:48 +02:00
Konstantin Käfer
bded6c65d5
[build] use plain text files for file lists to simplify integration with other build systems
2018-08-20 19:11:31 +02:00
Konstantin Käfer
112bbc7ab2
[core] make style/conversion.hpp implementation private
2018-08-19 13:09:16 +02:00
Konstantin Käfer
9df9f5fe20
[build] simplify Android build
2018-08-19 13:09:16 +02:00
Konstantin Käfer
6e06e55b95
WIP: use expected<T, E> for passing on errors
2018-08-14 17:03:46 -07:00
John Firebaugh
eb153a7d04
[android] Enable LTO in release builds ( #12546 )
2018-08-06 13:00:12 -07:00
John Firebaugh
c8edbb0500
[core] Replace {Source,Camera,Composite}Function with PropertyExpression
2018-07-20 11:56:30 -07:00
John Firebaugh
ca9ba9cb43
[build] Move all mason_use statements to a single file
...
So its checksum can be used in a CI cache key name.
2018-07-13 11:50:39 -07:00
Chris Loer
11c333672f
[android] Android "collator" implementation
...
- Uses java.text.Collator for comparison
- Uses java.util.Locale for locale loading
- Uses LanguageTag for BCP 47 parsing
- Falls back to non-locale-aware nunicode/default comparison for case-sensitive/diacritic-insensitive.
- Testing these changes depends on running Android render tests
- "collator" is not yet exposed in the SDK bindings.
2018-07-03 10:03:05 -07:00
Chris Loer
251f5e605f
[core, vendor] Create vendored nunicode 1.8.
...
- Version bump to 1.8 necessary for "unaccent" functionality
- Qt now depends on nunicode, ruling out use of precompiled binaries
2018-07-03 10:03:05 -07:00
Tobrun
60505b0317
[android] - remove mips and armeabi as supported ABIs
...
[android] - bump CI image to NDK 17 compatible
[core] - remove setting edgeDistance to 0, comparison 'const short' > 32767 is always false
[android] - remove throwing in desructor, undefined behaviour
[android] - bump dependency versions of project
2018-05-22 17:53:34 +02:00
Tobrun
44ce5ab087
Rework expression conversion ( #11490 )
...
* [android] - rework expression conversion
2018-04-10 11:09:42 +02:00
Ivo van Dongen
2464520da1
[android] high-level jni bindings for geojson conversion
2018-03-19 11:19:09 +02:00
Tobrun
6179110b6b
[android] - add expression conversion, add getters ( #11352 )
2018-03-08 16:27:02 +01:00
Vladimir Agafonkin
82de856c94
[core, ios, macos, android, node] Heatmap layer ( #11046 )
...
Co-Authored-By: Konstantin Käfer <mail@kkaefer.com >
Co-Authored-By: Anand Thakker <anandthakker@users.noreply.github.com >
Co-Authored-By: Minh Nguyễn <1ec5@users.noreply.github.com >
2018-02-15 17:38:23 +02:00
Osana Babayan
4498917a3b
migrated to use mapbox-java3.0
...
migrated to use mapbox-java3.0
note that old 2.2.9 telementry is still used though
2018-02-08 08:44:24 -05:00
Tobrun
a4546a84de
[android] - add binding integration for RasterDEMSource, add example
2018-01-25 12:54:10 +01:00
Molly Lloyd
f3294200c6
[core] add raster-dem source type and hillshade layer type ( #10642 )
2018-01-23 10:49:23 -08:00
Chris Loer
00ed34f7d7
[android] Android implementation of local CJK glyph rendering
...
- Draws bold version of glyph if font stack contains string "bold"
- Not hooked up to global configuration yet
2017-12-11 10:43:00 -08:00
Chris Loer
1661af1cb4
[core] Enable local glyph generation using TinySDF.
...
- Platform-specific LocalGlyphRasterizer is responsible for deciding which glyphs to rasterize locally and for implementing the rasterization.
- Default platform implementation doesn't locally generate any glyphs -> no behavior change
- Unit test uses StubLocalGlyphRasterizer, which returns a single fixed bitmap for all CJK glyphs
- Rename glyph_loader.test to glyph_manager.test
2017-12-11 10:43:00 -08:00
Konstantin Käfer
8757164ac8
[build] standardize on -fvisibility=hidden for all targets
...
Enables -fvisibility=hidden for iOS and Linux, and adds a workaround for GCC 6.3-7.1
Adds a GCC 6 build
Enables diagnostics for C files
Fixes a shadow warning in parsedate.c
2017-11-29 17:31:33 +01:00
Konstantin Käfer
2eec5a1980
[core] move HeadlessBackend extension initialization code into Impl
2017-11-29 15:48:51 +01:00
Asheem Mamoowala
f06ebcc967
[android] Reuse Java Source objects by holding on to a strong reference in the C++ peer.
2017-11-22 13:56:38 -08:00
Asheem Mamoowala
eb6de2c434
[android] Bindings for Custom Geometry Sources
2017-11-22 13:56:38 -08:00
Tobrun
225fba8a0a
Merge branch 'release-agua' into tvn-merge-release
2017-11-10 06:16:35 +01:00
Ivo van Dongen
9c3e78a9b9
[android] map snapshotter - wrap snapshot in native peer for access to the pointFor functionality
2017-11-01 09:23:53 -04:00
Tobrun
f578b26282
[android] - add bulk addImages api on MapboxMap
2017-10-31 13:47:12 -07:00
Ivo van Dongen
dde1a92291
[android] map snapshotter - wrap snapshot in native peer for access to the pointFor functionality
2017-10-31 19:52:08 +02:00
Thiago Marcos P. Santos
9d87dc8cf1
[core] Make the OpenGL implementation platform specific
...
Split the headers, so each platform includes the most appropriated
header.
2017-10-25 18:08:28 +03:00
John Firebaugh
4b2e1cddb4
Replace compile-time polymorphism with runtime polymorphism in the conversion system
2017-10-23 09:56:43 -07:00
Konstantin Käfer
64c75b442c
[build] split out DefaultFileSource and dependents to a separate target
...
We don't want to link it into the node bindings, so keep it in a separate target
2017-09-28 13:48:36 -04:00
Ivo van Dongen
5d12503302
[android] self-contained map renderer
...
- Isolates the GL thread in a MapRenderer class with a native peer
2017-09-22 23:33:56 +03:00
Ivo van Dongen
e780cdc29e
[android] extract RendererBackend from NativeMapView
2017-09-22 23:33:56 +03:00
Ivo van Dongen
966bf8824d
[android] map snapshotter
2017-08-30 17:18:37 +03:00
John Firebaugh
32bd1d54fa
[node, tests] Consolidate headless rendering logic in HeadlessFrontend
2017-07-26 09:50:38 -07:00
Ivo van Dongen
d68d8a7846
[android] rendering interface changes
2017-07-18 10:45:12 +02:00