Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Cache file source base URL and access token | Jesse Bounds | 2017-03-01 | 1 | -0/+16 |
| | | | | | This caches the base URL and access token values when they are set so that they can still be retrieved even when the thread is paused. | ||||
* | [test] add unit test for DefaultFileSource::setResourceTransform() | Konstantin Käfer | 2017-02-20 | 1 | -0/+30 |
| | |||||
* | [test] Added unit test for style request failures | Thiago Marcos P. Santos | 2017-02-07 | 1 | -0/+31 |
| | |||||
* | [core] remove trailing whitespace, add trailing newlines, add space after // | Konstantin Käfer | 2017-01-27 | 4 | -15/+15 |
| | |||||
* | [Qt] Implement mapbox::sqlite::{Database,Statement} using QtSql | Bruno de Oliveira Abinader | 2017-01-23 | 2 | -19/+27 |
| | |||||
* | [core] Move lastInsertRowId/changes to sqlite::Statement | Bruno de Oliveira Abinader | 2017-01-23 | 1 | -0/+19 |
| | |||||
* | [android][build] core tests - initial setup for rendering tests | Ivo van Dongen | 2016-11-27 | 1 | -1/+1 |
| | |||||
* | [core] fix up online file source test so it compiles on android | Ivo van Dongen | 2016-11-27 | 1 | -5/+5 |
| | |||||
* | [build] move logging to util | Konstantin Käfer | 2016-11-22 | 2 | -2/+2 |
| | |||||
* | [core] Optimize OfflineDownload::ensureResource (#6707) | Tore Halset | 2016-10-17 | 1 | -0/+53 |
| | | | Add `OfflineDatabase::hasRegionResource`, for use when the actual contents are not needed by the caller, avoiding IO and decompression costs. | ||||
* | [build] add back -Werror | Konstantin Käfer | 2016-09-30 | 1 | -1/+1 |
| | |||||
* | [core] LocalFileSource implementation and tests | Ivo van Dongen | 2016-09-30 | 1 | -0/+124 |
| | |||||
* | [test] add .test.cpp suffix to test case files | Konstantin Käfer | 2016-09-28 | 9 | -0/+0 |
| | |||||
* | [core] Don't allow OfflineDownload to flood the request queue | John Firebaugh | 2016-09-26 | 1 | -0/+25 |
| | |||||
* | [core] allow offline region metadata to be updated (#6338) | Molly Lloyd | 2016-09-20 | 1 | -0/+13 |
| | |||||
* | [core] [android] - public api configurable base endpoint (#6309) | Tobrun | 2016-09-15 | 1 | -0/+11 |
| | | | add runloop to test | ||||
* | [tests] Add v3 & v4 database migration tests | Jason Wray | 2016-09-14 | 1 | -0/+58 |
| | |||||
* | [core] Revert SQLite WAL journaling | Jason Wray | 2016-09-14 | 1 | -5/+5 |
| | |||||
* | [core] OnlineFileSource - rate limit | Ivo van Dongen | 2016-09-13 | 2 | -0/+55 |
| | |||||
* | [core] Update SQLite schema with WAL journal mode and normal sync | Jason Wray | 2016-08-23 | 1 | -5/+5 |
| | | | | Offers 2×-4× performance, depending on device vintage. | ||||
* | [core] support "scheme": "tms" in TileJSON files | Konstantin Käfer | 2016-08-16 | 3 | -16/+25 |
| | |||||
* | Quadkey tokens in tile URL templates, limited WMS support (#5628) | Minh Nguyễn | 2016-07-12 | 1 | -0/+56 |
| | | | | | | | | | | | | | | * [core] Quadkey tokens in tile URL templates Fixes #5485. * [core] WMS tokens in tile URL templates Fixes #822. * [macos] Added WMS debug style Added a style to the macosapp resource bundle that can be used to test WMS support. To use it, zoom in to somewhere in New Jersey, then go to View ‣ Custom Style and enter “wms.json”. | ||||
* | [core] Increment completedTileCount when appropriate (#5475) | John Firebaugh | 2016-06-24 | 1 | -0/+2 |
| | |||||
* | [core] Use Range<uint8_t> instead of full Tileset where possible | John Firebaugh | 2016-06-14 | 1 | -16/+8 |
| | |||||
* | [tidy] Check llvm-namespace-comment | Bruno de Oliveira Abinader | 2016-06-13 | 1 | -1/+1 |
| | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html | ||||
* | [core] fix pedantic warning messages | Konstantin Käfer | 2016-06-13 | 3 | -63/+63 |
| | |||||
* | [test] Rename Stress test to Load | Thiago Marcos P. Santos | 2016-06-09 | 1 | -1/+1 |
| | | | | Too slow to run on valgrind. | ||||
* | [core] Rationalize naming for style-related code | John Firebaugh | 2016-06-02 | 1 | -16/+16 |
| | |||||
* | [core] allow creating optional requests | Konstantin Käfer | 2016-05-18 | 1 | -0/+252 |
| | | | | | | Introduces "optional" requests. These should be fulfilled by the FileSource only there's a low-cost/easy way to obtain the data (e.g. from a local cache). If the data for an optional request cannot be found, it *must* return a Response object with a NotFound error. Traditional "required" requests still work the same way, with one change: If you set any prior* field in the Resource (i.e. priorModified, priorEtag, or priorExpires), the DefaultFileSource assumes that you already have the cache value and will not consult the cache before performing the request. If a prior cache lookup didn't turn up any data, and you therefore don't have an Etag or Modified value, you can still skip the cache by setting priorExpires. This will of course always result in a non-conditional HTTP request. | ||||
* | [core] move from microsecond precision timestamp to integer second precision | Konstantin Käfer | 2016-05-13 | 3 | -10/+10 |
| | |||||
* | [core] retain tiles differently and remove old TileID class | Konstantin Käfer | 2016-05-10 | 1 | -30/+19 |
| | |||||
* | [core] Refactor getRegionCompletedStatus; add completedTileCount; add tests | John Firebaugh | 2016-04-27 | 1 | -0/+34 |
| | |||||
* | [tests] Rationalize test fixtures (#4834) | John Firebaugh | 2016-04-25 | 2 | -225/+79 |
| | | | Place them in a directory corresponding to the test .cpp file name. | ||||
* | [core] Use the proper type for font stacks | John Firebaugh | 2016-04-22 | 1 | -1/+1 |
| | |||||
* | [core] Clean up ThreadContext vestiges | John Firebaugh | 2016-04-15 | 1 | -1/+1 |
| | |||||
* | [tests] Rationalize storage tests | John Firebaugh | 2016-04-14 | 17 | -899/+639 |
| | | | | Properly divide Storage tests into DefaultFileSource, OnlineFileSource, and HTTPFileSource tests. | ||||
* | [core] Demote "Unable to make space for entry" message from Warning to Debug ↵ | John Firebaugh | 2016-04-14 | 1 | -6/+2 |
| | | | | (#4708) | ||||
* | [build] Refactor and simplify build system | John Firebaugh | 2016-04-07 | 2 | -22/+0 |
| | | | | | | | | | | | | | | * Main gyp files are now standardized as platform/<platform>/platform.gyp. * Each platform gyp file defines appropriate loop_lib and headless_lib variables. * Each platform gyp file includes mbgl.gypi, which defines base targets which may be useful to all platforms. * CI targets are consistent across platforms: `make $(PLATFORM) && make test-$(PLATFORM)`. * Renamed the "linux" test app to "glfw". It's now built in OS X CI. * Android build flakiness is fixed. * iOS CI builds the bench and iosapp targets. * Mesa version is now in one place. * CI scripts use bash "strict mode" and correct error handling. * All build output goes to the build directory. * Removed vestigial iOS/OS X/Android Travis scripts. | ||||
* | Merge branch 'release-ios-3.2.0-android-4.0.0' | John Firebaugh | 2016-03-30 | 2 | -4/+96 |
|\ | |||||
| * | [core] Set schema version to 3 after upgrading | John Firebaugh | 2016-03-28 | 1 | -0/+8 |
| | | | | | | | | | | | | 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] Stop download when tile limit is reached | Jesse Bounds | 2016-03-17 | 1 | -4/+60 |
| | | | | | | | | | | | | | | | | 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 | 1 | -0/+28 |
| | | | | | | | | 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 | 11 | -38/+38 |
| | | |||||
* | | [tests] Mark some tests as requiring server | Thiago Marcos P. Santos | 2016-03-23 | 3 | -5/+5 |
| | | | | | | | | | | | | Otherwise they will fail on iOS with connection error. Fixex #4434 | ||||
* | | [tests] Tweak offline tests to work on iOS | John Firebaugh | 2016-03-22 | 1 | -17/+8 |
| | | |||||
* | | [ios] make unit tests work on iOS and iOS Simulator | Konstantin Käfer | 2016-03-22 | 13 | -28/+37 |
| | | |||||
* | | [test] rearrange test files so they're not in the fixtures folder | Konstantin Käfer | 2016-03-22 | 5 | -8/+6 |
| | | |||||
* | | [tests] Add utest to make sure prior expiration time is being respected | Thiago Marcos P. Santos | 2016-03-17 | 1 | -0/+35 |
|/ | |||||
* | [core] Deactivate offline region upon completion | Minh Nguyễn | 2016-03-11 | 1 | -6/+15 |
| | |||||
* | [core] Deactivate OfflineDownload when the tile count limit is hit | John Firebaugh | 2016-03-09 | 1 | -1/+13 |
| | | | | This is a better behavior than sending hundreds or thousands of tileCountLimitExceeded notifications. |