Konstantin Käfer
18176605f6
[core] support "scheme": "tms" in TileJSON files
2016-08-16 11:04:30 +02:00
John Firebaugh
b8326870e1
[core] Increment completedTileCount when appropriate ( #5475 )
2016-06-24 15:28:10 -07:00
Konstantin Käfer
2bdecdf9f9
[core] fix pedantic warning messages
2016-06-13 11:16:19 +02:00
John Firebaugh
e916cc811c
[tests] Rationalize test fixtures ( #4834 )
...
Place them in a directory corresponding to the test .cpp file name.
2016-04-25 14:51:27 -07:00
John Firebaugh
5eda74a514
Merge branch 'release-ios-3.2.0-android-4.0.0'
2016-03-30 17:43:37 -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
Jesse Bounds
bcb3bb0931
[core] Stop download when tile limit is reached
...
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.
2016-03-17 15:52:18 -07:00
Minh Nguyễn
4748973c04
[core] Deactivate offline region upon completion
2016-03-11 11:43:32 -08:00
John Firebaugh
7cceca4b45
[core] Deactivate OfflineDownload when the tile count limit is hit
...
This is a better behavior than sending hundreds or thousands of tileCountLimitExceeded notifications.
2016-03-09 13:40:00 -08:00
John Firebaugh
e49c1e3da3
[core] Fix offline status reporting regressions
...
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.
2016-03-08 10:28:33 -08:00
John Firebaugh
a3791b2325
[core] Ensure OfflineRegionStatus::downloadState is accurately reported
2016-03-07 19:08:03 -08:00
John Firebaugh
eb9b463841
[core] Fix offline status reporting with pre-existing tiles ( #4147 )
2016-03-04 15:15:09 -08:00
John Firebaugh
065cda83fa
[core] Limit total number of offline Mapbox tiles
2016-02-24 13:38:14 -08:00
John Firebaugh
5cefaeb857
[core] Enforce foreign key constraints in the offline database
2016-02-24 13:38:14 -08:00
John Firebaugh
65c06e6270
[core] status.requiredResourceCountIsIndeterminate ⇢ status.requiredResourceCountIsPrecise
...
Change the name and reverse the sense. Naming things in the positive is better than naming them in the negative.
2016-02-24 13:38:14 -08:00
John Firebaugh
0cf450e3e5
[core] Retry errors encountered during offline downloads
2016-02-10 15:40:20 -08:00
John Firebaugh
c3c4c7b9a6
[core] Interface and implementation for offline
2016-02-10 15:40:20 -08:00