summaryrefslogtreecommitdiff
path: root/bin/offline.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] FileSourceManager::getFileSource() returns PassRefPtrMikhail Pozdnyakov2020-02-261-3/+3
|
* [core] Modularize FileSource codebase (#15768)Alexander Shalamov2020-01-131-34/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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
* [core] Add requiredTileCount to OfflineRegionStatusBruno de Oliveira Abinader2019-08-291-0/+2
|
* improve offline cli help pageAndrew Harvey2019-06-071-1/+1
| | | | The GeoJSON file can't be a FeatureCollection, it must be a single Feature GeoJSON, with simple geometry
* [core] clang-tidy fixesKonstantin Käfer2019-04-051-1/+1
|
* [core] Bump args to 6.2.2 (does not use RTTI)Bruno de Oliveira Abinader2019-03-251-1/+1
|
* [core] Expose "includeIdeographs" in offline download command line tool.Chris Loer2018-12-211-2/+4
|
* [build] use newer compiler versions for some buildsKonstantin Käfer2018-11-281-1/+1
|
* [core] remove some uses of <iostream> and <sstream>Konstantin Käfer2018-10-231-0/+21
|
* [core] Add DefaultFileSource::mergeRegions API and CLI support in the ↵Asheem Mamoowala2018-08-281-6/+37
| | | | mbgl-offline tool.
* [offline] Add option to pass geojson input fileIvo van Dongen2018-08-201-14/+76
|
* WIP: use expected<T, E> for passing on errorsKonstantin Käfer2018-08-141-3/+3
|
* [core] Fix GCC8's new -Wcatch-value warningsZsolt Bölöny2018-06-251-3/+3
| | | Polymorphic types shouldn't be caught by value, as the warning message says. Catch them by constant reference instead.
* [core] Add 'apiBaseURL' argument to mbgl-offline util.Chris Loer2018-03-271-0/+4
|
* [build] Replace boost_libprogram_options with argsBruno de Oliveira Abinader2017-12-181-33/+43
|
* [core] Remove private header includes from CLI utilitiesKonstantin Käfer2017-03-281-1/+0
|
* [core] move from microsecond precision timestamp to integer second precisionKonstantin Käfer2016-05-131-3/+3
|
* [test] Fix crash in offline binaryJohn Firebaugh2016-03-151-10/+11
|
* [bin] Add explicit ^C handling to bin/offline, to test deactivationJohn Firebaugh2016-03-071-6/+28
|
* [bin] Print message when tile count limit is exceededJohn Firebaugh2016-03-041-0/+4
|
* [offline] Accept parametersThiago Marcos P. Santos2016-03-021-7/+45
| | | | | | | | | | | | | | | | | | | The defaults remains the same: Bay area at zoom 15. The key, if not supplied, is taken from the environment. ``` Allowed options: -s [ --style ] URL Map stylesheet --north degrees (=37.200000000000003) North latitude --west degrees (=-122.8) West longitude --south degrees (=38.100000000000001) South latitude --east degrees (=-121.7) East longitude --minZoom number (=0) Min zoom level --maxZoom number (=15) Max zoom level --pixelRatio number (=1) Pixel ratio -t [ --token ] key Mapbox access token -o [ --output ] file (=offline.db) Output database file name ```
* [core] status.requiredResourceCountIsIndeterminate ⇢ ↵John Firebaugh2016-02-241-1/+1
| | | | | | status.requiredResourceCountIsPrecise Change the name and reverse the sense. Naming things in the positive is better than naming them in the negative.
* [core] Optimize offline database schemaJohn Firebaugh2016-02-101-1/+1
| | | | | * Under the hood, SQLite creates surrogate keys (ROWID) anyway. We may as well take advantage of this and use the surrogates for foreign keys as well, since they are simpler and more efficient than compound foreign keys. * Create indexes for efficient eviction queries
* Add binary for smoke-testing offline downloadsJohn Firebaugh2016-02-101-0/+76