Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [build] move logging to util | Konstantin Käfer | 2016-11-22 | 1 | -1/+1 |
| | |||||
* | [build] move headless rendering files to platform/default | Konstantin Käfer | 2016-11-22 | 6 | -0/+227 |
| | |||||
* | [build] move default ThreadPool implementation to platform/default | Konstantin Käfer | 2016-11-22 | 2 | -0/+80 |
| | |||||
* | [build] move default_styles to platform/default | Konstantin Käfer | 2016-11-22 | 2 | -0/+47 |
| | |||||
* | [core] Use UTF-16 instead of UTF-32 for label features to avoid extra ↵ | Chris Loer | 2016-11-17 | 1 | -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 Halset | 2016-10-17 | 3 | -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 constants | John Firebaugh | 2016-09-26 | 1 | -3/+3 |
| | |||||
* | [core] Provide rationale for blocking queue while errors resolve | John Firebaugh | 2016-09-26 | 1 | -0/+17 |
| | |||||
* | [core] Don't allow OfflineDownload to flood the request queue | John Firebaugh | 2016-09-26 | 2 | -80/+67 |
| | |||||
* | [core] allow offline region metadata to be updated (#6338) | Molly Lloyd | 2016-09-20 | 2 | -0/+15 |
| | |||||
* | [core] Convert uses of std::set to std::unordered_set (#6325) | Lucas Wojciechowski | 2016-09-19 | 1 | -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 writers | Konstantin Käfer | 2016-09-15 | 1 | -0/+2 |
| | |||||
* | [core] Remove schema v4 migration path | Jason Wray | 2016-09-14 | 2 | -7/+6 |
| | |||||
* | [core] Revert SQLite WAL journaling | Jason Wray | 2016-09-14 | 2 | -5/+13 |
| | |||||
* | [core] Change GeoJSONSource::getURL() to return an optional<std::string> | John Firebaugh | 2016-08-26 | 1 | -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 sync | Jason Wray | 2016-08-23 | 2 | -2/+12 |
| | | | | Offers 2×-4× performance, depending on device vintage. | ||||
* | [core] support "scheme": "tms" in TileJSON files | Konstantin Käfer | 2016-08-16 | 1 | -1/+1 |
| | |||||
* | GeoJSON point clustering (#5724) | Vladimir Agafonkin | 2016-07-27 | 1 | -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 cleanups | Konstantin Käfer | 2016-07-01 | 1 | -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 Firebaugh | 2016-06-24 | 1 | -0/+2 |
| | |||||
* | [core, node] Implement bindings for addSource | John Firebaugh | 2016-06-24 | 1 | -2/+2 |
| | |||||
* | [core] Runtime source API: private impls | John Firebaugh | 2016-06-16 | 1 | -14/+14 |
| | |||||
* | [core] Use variant<std::string, GeoJSON> in GeoJSON source | John Firebaugh | 2016-06-15 | 1 | -3/+7 |
| | |||||
* | [core] Use variant<std::string, Tileset> in TileSource | John Firebaugh | 2016-06-15 | 1 | -8/+13 |
| | | | | A tile source can either specify a URL to TileJSON, or inline TileJSON. | ||||
* | [core] Add virtual Source::getTileSize() | John Firebaugh | 2016-06-14 | 1 | -5/+5 |
| | |||||
* | [core] Push Source::url down to subclasses | John Firebaugh | 2016-06-14 | 1 | -8/+13 |
| | |||||
* | [core] Push Source::tileset down to TileSource | John Firebaugh | 2016-06-14 | 1 | -6/+12 |
| | |||||
* | [core] Use Range<uint8_t> instead of full Tileset where possible | John Firebaugh | 2016-06-14 | 2 | -4/+4 |
| | |||||
* | [tidy] Check modernize-pass-by-value | Bruno de Oliveira Abinader | 2016-06-13 | 3 | -11/+10 |
| | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html | ||||
* | [tidy] Check llvm-namespace-comment | Bruno de Oliveira Abinader | 2016-06-13 | 2 | -3/+3 |
| | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html | ||||
* | [core] Rationalize naming for style-related code | John Firebaugh | 2016-06-02 | 3 | -28/+29 |
| | |||||
* | [core] Runtime style layer API | John Firebaugh | 2016-06-02 | 1 | -1/+0 |
| | |||||
* | [core] use #pragma once instead of ifdef include guards | Konstantin Käfer | 2016-05-25 | 1 | -4/+1 |
| | |||||
* | [core] move from microsecond precision timestamp to integer second precision | Konstantin Käfer | 2016-05-13 | 1 | -12/+12 |
| | |||||
* | [core] retain tiles differently and remove old TileID class | Konstantin Käfer | 2016-05-10 | 2 | -7/+6 |
| | |||||
* | [core] Refactor getRegionCompletedStatus; add completedTileCount; add tests | John Firebaugh | 2016-04-27 | 2 | -23/+32 |
| | |||||
* | [ios, osx] Add a property for bytes used by offline tiles | Brent Whitman | 2016-04-27 | 2 | -13/+26 |
| | |||||
* | [core] Demote "Unable to make space for entry" message from Warning to Debug ↵ | John Firebaugh | 2016-04-14 | 1 | -1/+1 |
| | | | | (#4708) | ||||
* | [core] Fix race condition that could lead to a UNIQUE constraint failure (#4677) | John Firebaugh | 2016-04-11 | 1 | -0/+14 |
| | |||||
* | Merge branch 'release-ios-3.2.0-android-4.0.0' | John Firebaugh | 2016-03-30 | 4 | -31/+65 |
|\ | |||||
| * | [core] Set schema version to 3 after upgrading | John Firebaugh | 2016-03-28 | 1 | -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 Firebaugh | 2016-03-18 | 1 | -10/+23 |
| | | | | | | | | | | | | creation Refs #4382 | ||||
| * | [core] Stop download when tile limit is reached | Jesse Bounds | 2016-03-17 | 2 | -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 database | John Firebaugh | 2016-03-17 | 2 | -17/+24 |
| | | | | | | | | Enable `PRAGMA auto_vacuum = INCREMENTAL`, and perform a `PRAGMA incremental_vacuum` when deleting an offline region. | ||||
* | | [core] Unify FileRequest and WorkRequest | John Firebaugh | 2016-03-24 | 2 | -10/+7 |
|/ | |||||
* | [core] Deactivate offline region upon completion | Minh Nguyễn | 2016-03-11 | 1 | -0/+8 |
| | |||||
* | [core] Deactivate OfflineDownload when the tile count limit is hit | John Firebaugh | 2016-03-09 | 1 | -0/+1 |
| | | | | This is a better behavior than sending hundreds or thousands of tileCountLimitExceeded notifications. | ||||
* | [core] Fix offline status reporting regressions | John Firebaugh | 2016-03-08 | 2 | -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 reported | John Firebaugh | 2016-03-07 | 1 | -0/+4 |
| | |||||
* | [core] Fix offline status reporting with pre-existing tiles (#4147) | John Firebaugh | 2016-03-04 | 3 | -18/+28 |
| |