summaryrefslogtreecommitdiff
path: root/platform/default/mbgl
Commit message (Collapse)AuthorAgeFilesLines
* [build] move logging to utilKonstantin Käfer2016-11-221-1/+1
|
* [build] move headless rendering files to platform/defaultKonstantin Käfer2016-11-226-0/+227
|
* [build] move default ThreadPool implementation to platform/defaultKonstantin Käfer2016-11-222-0/+80
|
* [build] move default_styles to platform/defaultKonstantin Käfer2016-11-222-0/+47
|
* [core] Use UTF-16 instead of UTF-32 for label features to avoid extra ↵Chris Loer2016-11-171-1/+1
| | | | | | | conversions and reduce in-memory size. Continue to use uint32 as glyph ID to maintain Glyph PBF, even though we're only using 16 bits of that uint32. Use std::codecvt instead of boost::unicode_iterator for UTF8->UTF16 conversions.
* [core] Optimize OfflineDownload::ensureResource (#6707)Tore Halset2016-10-173-9/+77
| | | Add `OfflineDatabase::hasRegionResource`, for use when the actual contents are not needed by the caller, avoiding IO and decompression costs.
* [core] Extract some GlyphRange-related constantsJohn Firebaugh2016-09-261-3/+3
|
* [core] Provide rationale for blocking queue while errors resolveJohn Firebaugh2016-09-261-0/+17
|
* [core] Don't allow OfflineDownload to flood the request queueJohn Firebaugh2016-09-262-80/+67
|
* [core] allow offline region metadata to be updated (#6338)Molly Lloyd2016-09-202-0/+15
|
* [core] Convert uses of std::set to std::unordered_set (#6325)Lucas Wojciechowski2016-09-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * src/mbgl/annotation/annotation_manager.hpp * src/mbgl/algorithm/update_renderables.hpp * src/mbgl/geometry/glyph_atlas.hpp * src/mbgl/renderer/painter.cpp and src/mbgl/renderer/render_item.hpp * src/mbgl/renderer/symbol_bucket.hpp and src/mbgl/text/glyph_store.hpp * src/mbgl/sprite/sprite_atlas.hpp * include/mbgl/storage/network_status.hpp * src/mbgl/text/collision_tile.cpp * src/mbgl/style/update_batch.hpp * platform/default/mbgl/storage/offline_download.hpp * Add GlyphRangeSet typedef * Fix whitespace & unused imports
* [build] add specific .clang-tidy file for things that use RapidJSON writersKonstantin Käfer2016-09-151-0/+2
|
* [core] Remove schema v4 migration pathJason Wray2016-09-142-7/+6
|
* [core] Revert SQLite WAL journalingJason Wray2016-09-142-5/+13
|
* [core] Change GeoJSONSource::getURL() to return an optional<std::string>John Firebaugh2016-08-261-2/+2
| | | | GeoJSON sources may have inline GeoJSON rather than a URL; returning an optional type ensures that consumers handle this case.
* [core] Update SQLite schema with WAL journal mode and normal syncJason Wray2016-08-232-2/+12
| | | | Offers 2×-4× performance, depending on device vintage.
* [core] support "scheme": "tms" in TileJSON filesKonstantin Käfer2016-08-161-1/+1
|
* GeoJSON point clustering (#5724)Vladimir Agafonkin2016-07-271-36/+50
| | | | | | | | | | | | | | | | * add supercluster dependency * prepare GeoJSONTile for Supercluster * prepare GeoJSONSource for accepting options * try removing mbgl::GeoJSON * fix setGeoJSON types * add GeoJSONSource getURL * add geojson to include path * add Supercluster index in GeoJSONSource * fix GeoJSONSource getZoomRange * bring back mbgl::GeoJSON header * fix tidy warnings hopefully * try test-suite with enabled cluster test * fix formatting in clustering-related files
* [core] code style cleanupsKonstantin Käfer2016-07-011-9/+53
| | | | | | | - puts function definitions in a namespace ... {} rather than using namespace ...; - remove trailing whitespace - add trailing newline - protect SQL statements from being formatted by clang-format
* [core] Increment completedTileCount when appropriate (#5475)John Firebaugh2016-06-241-0/+2
|
* [core, node] Implement bindings for addSourceJohn Firebaugh2016-06-241-2/+2
|
* [core] Runtime source API: private implsJohn Firebaugh2016-06-161-14/+14
|
* [core] Use variant<std::string, GeoJSON> in GeoJSON sourceJohn Firebaugh2016-06-151-3/+7
|
* [core] Use variant<std::string, Tileset> in TileSourceJohn Firebaugh2016-06-151-8/+13
| | | | A tile source can either specify a URL to TileJSON, or inline TileJSON.
* [core] Add virtual Source::getTileSize()John Firebaugh2016-06-141-5/+5
|
* [core] Push Source::url down to subclassesJohn Firebaugh2016-06-141-8/+13
|
* [core] Push Source::tileset down to TileSourceJohn Firebaugh2016-06-141-6/+12
|
* [core] Use Range<uint8_t> instead of full Tileset where possibleJohn Firebaugh2016-06-142-4/+4
|
* [tidy] Check modernize-pass-by-valueBruno de Oliveira Abinader2016-06-133-11/+10
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
* [tidy] Check llvm-namespace-commentBruno de Oliveira Abinader2016-06-132-3/+3
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-023-28/+29
|
* [core] Runtime style layer APIJohn Firebaugh2016-06-021-1/+0
|
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-251-4/+1
|
* [core] move from microsecond precision timestamp to integer second precisionKonstantin Käfer2016-05-131-12/+12
|
* [core] retain tiles differently and remove old TileID classKonstantin Käfer2016-05-102-7/+6
|
* [core] Refactor getRegionCompletedStatus; add completedTileCount; add testsJohn Firebaugh2016-04-272-23/+32
|
* [ios, osx] Add a property for bytes used by offline tilesBrent Whitman2016-04-272-13/+26
|
* [core] Demote "Unable to make space for entry" message from Warning to Debug ↵John Firebaugh2016-04-141-1/+1
| | | | (#4708)
* [core] Fix race condition that could lead to a UNIQUE constraint failure (#4677)John Firebaugh2016-04-111-0/+14
|
* Merge branch 'release-ios-3.2.0-android-4.0.0'John Firebaugh2016-03-304-31/+65
|\
| * [core] Set schema version to 3 after upgradingJohn Firebaugh2016-03-281-0/+1
| | | | | | | | | | | | The migration was upgrading the schema, but not the schema version. As a result, the (expensive) migration was running every time an OfflineDatabase was constructed with a v2 database. Fixes #4501
| * [core] Add additional logging for exceptions during database connection / ↵John Firebaugh2016-03-181-10/+23
| | | | | | | | | | | | creation Refs #4382
| * [core] Stop download when tile limit is reachedJesse Bounds2016-03-172-7/+20
| | | | | | | | | | | | | | | | The tile limit guard (when used) stops a download from continuing when the tile limit is reached. This wraps the guard in a method and employs it in both places currently necessary to ensure the guard has a chance to function. Tests have been updated to ensure the fix works for a less trivial tile limit scenario.
| * [core] Implement a vacuum strategy for the offline databaseJohn Firebaugh2016-03-172-17/+24
| | | | | | | | Enable `PRAGMA auto_vacuum = INCREMENTAL`, and perform a `PRAGMA incremental_vacuum` when deleting an offline region.
* | [core] Unify FileRequest and WorkRequestJohn Firebaugh2016-03-242-10/+7
|/
* [core] Deactivate offline region upon completionMinh Nguyễn2016-03-111-0/+8
|
* [core] Deactivate OfflineDownload when the tile count limit is hitJohn Firebaugh2016-03-091-0/+1
| | | | This is a better behavior than sending hundreds or thousands of tileCountLimitExceeded notifications.
* [core] Fix offline status reporting regressionsJohn Firebaugh2016-03-082-29/+38
| | | | | | The core of the change is ensuring that ensureResource doesn't release Zalgo: it should be consistently async, rather than async in the case that the resource doesn't exist in the database, but sync if it does. This ensures that status is reported in a more consistent sequence, regardless of the database state.
* [core] Ensure OfflineRegionStatus::downloadState is accurately reportedJohn Firebaugh2016-03-071-0/+4
|
* [core] Fix offline status reporting with pre-existing tiles (#4147)John Firebaugh2016-03-043-18/+28
|