Juha Alanen
f2845990bb
[test] Remove node.js based HTTP server
2020-01-30 13:52:09 +02:00
Juha Alanen
b0e16ec9cb
[test] Switch to C++ HTTP server
2020-01-30 13:52:09 +02:00
Alexander Shalamov
879c44f661
[core] Modularize FileSource codebase ( #15768 )
...
* [core] Introduce FileSourceManager and use it for default platform impl
- Add `FileSourceManager` interface that provides access to `FileSource`
instances and means of registering / unregistering `FileSource` factories
- Split `DefaultFileSource` into smaller parts
- Add `DatabaseFileSource` interface and it's default implementation
- Remove inter-dependencies between concrete `FileSource` classes
* [build] Add files to next build system
* [core] Add generic property setters / getters
* [core] Remove setOnlineStatus from OnlineFileSource interface
* [core] Hide threading implementation details from DatabaseFileSource interface
* [core] Make DB file source methods virtual
* [core] Add documentation for DatabaseFileSource and rename one method
* [core] Use simple callback instead of ActorRef
* [core] Remove ActorRef from OnlineFileSource public header
* [core] Add callback to FileSource::forward async API
* [core] Pass OfflineRegionDefinition by value
* [core] Update tests to use modular file sources
* [core] Update unit tests
* [core] Update unit tests after rebase
* [core] Backport low prio fix for cached requests
* [core] Backport pack database
* [core] Return removed factory from unRegisterFileSourceFactory
* [core] Rename shadowed args in onlinefilesource
* [core] Remove simple std::function callback aliases
* [core] Expose online file source property keys in public header file
* [test-runner] Add proxy file source test runner
* [cache] Update mbgl-cache utility to use new file source
* [metrics] Rebaseline binary size metrics
* [offline] Update offline utility
* [core] Update changelog
2020-01-13 10:57:23 +02:00
Juha Alanen
0b3942572e
[test] Run unit tests as NativeActivity application on Android
2020-01-10 17:19:30 +02:00
Thiago Marcos P. Santos
79670593de
[build] Make test/util.hpp a public interface
...
We will build the tests as a library and platforms will
provide the test runner.
2019-09-17 12:28:55 +03:00
Mikhail Pozdnyakov
8af78ddbb9
[core] Update MapObserver::onDidFinishRenderingFrame() API
2019-09-12 00:40:08 +03:00
Mikhail Pozdnyakov
ef3d04dee5
[core] Export symbol placement update status from MapObserver
2019-08-23 10:56:05 +03:00
Dane Springmeyer
1165f62df6
[core][test] fix leaks from sqlite usage
2019-08-16 15:51:42 +03:00
Alexander Shalamov
852fef66ef
[core] Force getGeometries() return const ref
2019-07-24 21:04:56 +03:00
Konstantin Käfer
7f9274035b
[core] refactor program object creation
2019-05-28 16:11:05 +02:00
Thiago Marcos P. Santos
06f1dc48a2
[core] Make the BackgroundScheduler a singleton
...
- Do not carry it over everywhere as parameter, it is a shared
instance anyway and the lifecycle is pretty much the app lifecycle
from the moment we instantiate a map.
- Rename to BackgroundScheduler because it is a Scheduler that will
do tasks in the background, we don't make assumptions if it is a
thread pool or a single thread.
- Most importantly, remove the dependency from `core` on `platform`.
2019-05-10 14:20:38 +03:00
Konstantin Käfer
3ceabcd3ec
[core] clang-tidy fixes
2019-04-05 11:49:17 +02:00
Sudarsana Babu Nagineni
7af00a404f
[core] Include pixelRatio property in MapOptions
...
Move pixelRatio property from Map constructor to MapOptions.
2019-03-28 16:41:15 +02:00
Sudarsana Babu Nagineni
1cc1d4ea08
[core] Add setter/getter for size property in MapOptions
2019-03-28 16:41:15 +02:00
Bruno de Oliveira Abinader
d5868d3da8
[core] Remove file source from public Map ctor
2019-03-20 21:30:08 +02:00
Ander Conselvan de Oliveira
7d19115720
[core] Don't use exceptions in MapObserver::onDidFailLoadingMap
...
Using different exception pointers to specify the loading failure makes
an awkward API. Most users rethrow the exception only to figure out what
type of error happened so it can be reported properly. So replace the
exception pointer with a enum an string description of the failure.
2019-03-13 11:58:27 +02:00
Konstantin Käfer
6f60ccf08e
[build] generate header maps instead of -files.txt
2019-01-09 10:26:53 +01:00
tobrun
4e86bca5ab
[all] - update licenses to 2019
2019-01-04 08:58:09 +01:00
Huyen Chau Nguyen
8d0b06d5dd
[core] add test about number of maximum concurrent requests
2018-11-15 12:19:48 -08:00
Bruno de Oliveira Abinader
bf8b24fa8d
[build] Update to geometry v1.0.0
2018-11-13 17:28:26 +02:00
Konstantin Käfer
fa7b70945f
[core] harden OfflineDatabase
2018-08-14 17:03:46 -07:00
Konstantin Käfer
bed86b98f1
[test] add partial message matching support to FixtureLog
2018-06-12 17:41:16 +02:00
Konstantin Käfer
2694c0df03
[build] disable parts of the build that require node when WITH_NODEJS=OFF is set
2018-05-24 21:50:29 +02:00
Bruno de Oliveira Abinader
48744d51d8
[test] Update Map.PrefetchTiles
2018-02-28 11:54:37 +02:00
Tobrun
dadd90e4e9
[all] - update licenses to 2018
2018-01-03 18:41:25 +01:00
John Firebaugh
4b2e1cddb4
Replace compile-time polymorphism with runtime polymorphism in the conversion system
2017-10-23 09:56:43 -07:00
Bruno de Oliveira Abinader
c9e9cd2aff
[test] Added GlyphManager.ImmediateFileSource
2017-10-09 13:33:30 +03:00
John Firebaugh
32bd1d54fa
[node, tests] Consolidate headless rendering logic in HeadlessFrontend
2017-07-26 09:50:38 -07:00
Ivo van Dongen
a5a0558bde
[test] allow only a single shared display to avoid egl errors
2017-07-18 10:45:12 +02:00
Ivo van Dongen
3832f8d0d8
[core] renderer interface
2017-07-18 10:45:12 +02:00
Bruno de Oliveira Abinader
4014aa6721
[core] GCC 4.9 bracket initialization issues
2017-07-12 20:42:29 +03:00
Bruno de Oliveira Abinader
3afbfa2de7
[core] GCC 4.9 shadow member warnings
2017-07-12 20:42:29 +03:00
Bruno de Oliveira Abinader
0395271b9d
[test] Reuse StubGeometryTileFeature in MergeLines
2017-07-06 16:17:58 +03:00
John Firebaugh
1cf46d93b9
[core] Simplify LayerObserver API
2017-06-05 19:38:08 -07:00
Asheem Mamoowala
aa6647e910
[core] Offline support for Image Sources
2017-06-01 15:38:01 -07:00
Asheem Mamoowala
c0c1028dcf
[core] Add toDouble Conversion method for correctly parsing Lat Lng coordinates
2017-06-01 15:38:01 -07:00
John Firebaugh
b3ec985568
[core] Trim StyleObserver interface
...
It doesn't need to inherit from SpriteLoaderObserver and GlyphAtlasObserver.
2017-05-13 09:28:53 -07:00
Ivo van Dongen
cc9f040a2d
[core] Split style image collection from SpriteAtlas
2017-05-12 13:19:00 -07:00
Bruno de Oliveira Abinader
37046938da
[tidy] modernize-raw-string-literal
2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
bd7fb64bae
[tidy] modernize-use-nullptr
2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
24137c4812
[tidy] modernize-use-default-member-init
2017-05-12 18:07:36 +03:00
Bruno de Oliveira Abinader
f709d7b055
[tidy] llvm-namespace-comment
2017-05-12 18:07:36 +03:00
John Firebaugh
3f0c89d633
[core] Refactor Source::*Impls into RenderSources and TilePyramid
2017-05-02 08:45:09 -07:00
Konstantin Käfer
197f0ca6b4
[android] use AAssetManager instead of libzip
2017-04-24 10:42:10 +02:00
Bruno de Oliveira Abinader
c1a410be8b
[core] s/onSourceDidChange/onSourceChanged/ + source ref
2017-03-21 17:36:56 +02:00
Anand Thakker
4b81c924cc
[core] Log Memory.Footprint test results ( #8170 )
...
* Log Memory.Footprint test output
* On CI, only run Memory.Footprint test with libjemalloc
2017-02-28 14:11:35 -08:00
John Firebaugh
eb8a1ef7aa
[tests] Disable timing-based Timer tests in CI
2017-02-15 15:09:30 -06:00
Ivo van Dongen
8a5bff8ee6
[core] default value support in categorical function conversion
2017-02-02 09:44:42 -08:00
John Firebaugh
141e995806
[core] Add support for data-driven styling
2017-02-02 09:44:42 -08:00
Konstantin Käfer
62ea1f2185
[core] remove trailing whitespace, add trailing newlines, add space after //
2017-01-27 11:44:16 +01:00