Konstantin Käfer
0c3abb2129
[test] Show error message when expected file does not exist
2016-09-27 10:42:10 +02:00
John Firebaugh
570bafcfec
[core] Don't allow OfflineDownload to flood the request queue
2016-09-26 14:55:49 -07:00
Minh Nguyễn
f307652548
[core] Source-driven attribution
...
Implemented observer callbacks so the style knows when the source’s attribution changes and the map knows when the style’s attribution changes. Also implemented a getter for a tile source’s attribution.
Fixes #2723 .
2016-09-26 11:37:06 -07:00
John Firebaugh
41bbd4e4f7
[core] Use an actor model for tile worker concurrency
2016-09-16 12:01:06 -07:00
Konstantin Käfer
d6c958ba5f
[test] use recursive wrapper for recursive variant types
2016-09-15 13:42:10 +02:00
Brad Leege
d0f9ba4998
[core] #3980 - Switching Core GL instances of map to unordered_map
2016-09-14 16:40:20 -07:00
Konstantin Käfer
426242fe41
[core] change bool to enum class bool TileLoadState
2016-09-07 17:56:38 +02:00
John Firebaugh
d6f667a5e7
[core] Observe visibility changes
2016-09-06 14:29:22 -07:00
John Firebaugh
fe2a26225f
[core, ios, android, qt] Observe style layer mutations rather than requiring SDKs to use Map::update
...
This paves the way for updates to filter and layout properties to trigger a source reload, without each SDK having to participate in the implementation.
2016-09-06 14:29:22 -07:00
John Firebaugh
3635b9f147
[core] Prepare style observer interfaces for source reloading
...
* Renamed {Source,Tile}Observer::onNeedsRepaint to onTileUpdated. Messages should be in terms of what happened to the observed object, not in terms of what the observer needs to do. This also removes a confusing overlap of virtual methods on StyleObserver.
* Added style::Observer::onUpdate(Update). This is also a violation of the above rule, but I'm hopeful that it will disappear when update batching is implemented.
2016-09-06 12:52:14 -07:00
Thiago Marcos P. Santos
7a2bfe32f8
[tests] Make it possible to disable tests on the CI
...
Useful for tests that depend on a good network connection and
you want to run manually.
2016-08-26 16:08:44 +03:00
Thiago Marcos P. Santos
7fb7bc0fbc
[tests] Removed dead code
2016-08-24 20:02:39 +03:00
John Firebaugh
86cccc4d24
[core] Don't allow style mutations to be overwritten by revalidation
...
* Once we get a fresh style, stop revalidating.
* If the style is mutated, stop revalidating and preserve the existing mutations.
2016-08-23 09:55:32 -07:00
John Firebaugh
5511e9a4e8
[tests] Fix a subtle ordering bug in StubFileSource
2016-08-23 09:55:32 -07:00
Ivo van Dongen
df3b44531e
[core] #6071 - extract GeoJSONOptions conversion from GeoJSONSource conversion
...
* [core] geojson_options - retain original error message
* [core] tests - initial style conversion stub methods
* [core] geojsonoptions conversion - initial unit tests
* [core] tests - fix forward reference issue
* [core] geojsonoptions conversion - unit tests
* [core] geojsonoptions conversion - renamed Holder to Value
2016-08-23 14:57:55 +02:00
Konstantin Käfer
692fe1f3ff
[build] switch to CMake
...
This is very much a work in progress.
2016-08-05 11:42:22 +02:00
Thiago Marcos P. Santos
2be2340c30
[tests] Do not re-trigger answered requests
...
This happens on real file sources when tiles expire or in case
of error. Here we only retry on error.
2016-06-21 18:58:48 +02:00
John Firebaugh
282e626ac1
[core] Make enum ↔ string conversion more generic-friendly
...
Rewrite enum.hpp in such a way that parseConstant can be defined generically for all enumerated types.
While there, properly validated enumerated property values.
2016-06-13 17:22:05 -07:00
Bruno de Oliveira Abinader
4d75001e9a
[tidy] Check modernize-use-override
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-override.html
2016-06-13 23:32:06 +03:00
Bruno de Oliveira Abinader
4161d197fd
[tidy] Check modernize-pass-by-value
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
2016-06-13 23:32:05 +03:00
Bruno de Oliveira Abinader
9142c447e8
[tidy] Check llvm-namespace-comment
...
Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html
2016-06-13 23:32:05 +03:00
Konstantin Käfer
8a8f828e41
[core] rename onPlacementRedone -> onNeedsRepaint
2016-06-10 12:42:14 +02:00
John Firebaugh
c902f9098b
[core] Rationalize naming for style-related code
2016-06-02 14:51:39 -07:00
Konstantin Käfer
e2bcea90fc
[core] use #pragma once instead of ifdef include guards
2016-05-25 21:35:37 +02:00
Konstantin Käfer
7272d7c84c
[core] move *Observers to their own files
2016-05-23 18:04:31 +02:00
Konstantin Käfer
002393bdea
[core] remove MockView and View dependency in Transform
2016-05-18 12:07:21 +02:00
Konstantin Käfer
ec70125e41
[core] move TileData and dependents to new *TileID classes
2016-05-10 14:50:56 +02:00
John Firebaugh
5939dd5b41
[core] Use the proper type for font stacks
2016-04-22 15:53:18 -07:00
Minh Nguyễn
da88060c5c
[ios, osx] Fixed project upgrade warnings
...
Fixed project upgrade warnings in projects managed by gyp.
2016-04-16 22:46:25 -07:00
John Firebaugh
2fcfc2a939
[ios] Don't try to launch test server ( #4719 )
2016-04-15 13:18:31 -07:00
John Firebaugh
7de9e196d7
[tests] Rationalize storage tests
...
Properly divide Storage tests into DefaultFileSource, OnlineFileSource, and HTTPFileSource tests.
2016-04-14 14:18:19 -07:00
John Firebaugh
204c7fee03
[core] Render from the main thread
...
Do not create a thread for the MapContext anymore.
2016-04-14 13:44:08 -07:00
John Firebaugh
1c7c5af69d
[ios] Run core unit tests in CI
2016-04-11 11:00:34 -07:00
John Firebaugh
169755e89a
[core] Unify FileRequest and WorkRequest
2016-03-24 10:54:32 -07:00
Konstantin Käfer
c587eefbb1
[ios] make unit tests work on iOS and iOS Simulator
2016-03-22 11:56:01 -07:00
Konstantin Käfer
db5ac4785f
[test] rearrange test files so they're not in the fixtures folder
2016-03-22 11:56:01 -07:00