Brad Leege
bfebbe7841
[android] #2421 - Adding place holders for event attributes
2016-02-10 19:05:21 -08:00
Brad Leege
fd848b3d2b
[android] #2421 - Giving constants a more Java like naming scheme
2016-02-10 19:05:21 -08:00
Brad Leege
a8e2cd9b07
[android] #2421 - Porting Attributes and relabeling existing as Keys
2016-02-10 19:05:21 -08:00
Brad Leege
1c588134e5
[android] #2421 - Adding remaining attributes as constants
2016-02-10 19:05:21 -08:00
Brad Leege
f692e66f20
[android] #2421 - Adding Events as constants
2016-02-10 19:05:20 -08:00
Brad Leege
09cab73e7f
[android] #2421 - Removing anonid
2016-02-10 19:05:20 -08:00
Brad Leege
b6657f4fb8
[android] #2421 - Using UUID fo instance data
2016-02-10 19:05:20 -08:00
Brad Leege
d6921d8ac3
[android] #2421 - Removing verticalaccuracy per discussion with camille today
2016-02-10 19:05:20 -08:00
Brad Leege
d64ad85d0b
[android] #2421 - Using Constants for Version and Events
2016-02-10 19:05:20 -08:00
Brad Leege
7f02960013
[android] #2421 - Removing checks on data as raw values from Location object contain existence values
2016-02-10 19:05:20 -08:00
Brad Leege
3e44a755e9
[android] #2421 - Changing appBundleId to app's package name
2016-02-10 19:05:20 -08:00
Brad Leege
2690cc09f8
[android] #2421 - Building out MapboxEventsManager with support for Staging and Prod servers
2016-02-10 19:05:20 -08:00
Brad Leege
8464d68687
[android] #2421 - Start MapView in Passive Telemetry Mode
2016-02-10 19:05:20 -08:00
Brad Leege
9d5ef69a2e
[android] #2421 - Removing PendingIntent as it's no longer needed
2016-02-10 19:05:19 -08:00
Brad Leege
9436e4ff99
[android] #2421 - Refactoring LocationServices to be in PASSIVE mode when GPS is not active. Integrating TelemetryService with Core SDK for startup
2016-02-10 19:05:19 -08:00
Brad Leege
22209b75cd
[android] #2421 - JavaDoc for telemetry package
2016-02-10 19:05:19 -08:00
Brad Leege
9ce4c8bafc
[android] #2421 - Checking for TelemetryService configuration in AndroidManifest.xml
2016-02-10 19:05:19 -08:00
Brad Leege
cf107d85bf
[android] #2421 - Initial build out of Telemetry Location infrastructure
2016-02-10 18:55:42 -08:00
John Firebaugh
20be32f217
[core] Always store tiles without ratio support with ratio = 1
2016-02-10 16:25:47 -08:00
John Firebaugh
7e287cae1b
[core] Eliminate tilesets table
...
This results in a ~1% increase in database size, which is worth it for reducing complexity and making the tiles and resources tables more similar in structure.
2016-02-10 16:25:44 -08:00
John Firebaugh
40ecdeb0b6
[core] Optimize offline database schema
...
* 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
2016-02-10 15:40:20 -08:00
John Firebaugh
0cf450e3e5
[core] Retry errors encountered during offline downloads
2016-02-10 15:40:20 -08:00
John Firebaugh
a9e0c1b99a
[core] Eliminate maximumCacheEntrySize
...
Instead, the eviction policy accounts for the actual size needed for an incoming put.
2016-02-10 15:40:20 -08:00
John Firebaugh
db3620c58f
[core] Implement an eviction policy for OfflineDatabase
...
When inserting an cached resource, or removing a region, remove least-recently used resources and tiles, not used by offline regions, until the used database size, as calculated by multiplying the number of in-use pages by the page size, is less than the maximum cache size minus 5 times the page size.
In addition, OfflineDatabase may be configured to ignore cache puts of individual resources larger than a certain size.
This policy is similar but not identical to the former SQLiteCache policy:
* It accounts for offline, by exempting resources required by offline regions from eviction.
* It must delete from two tables (resources and tiles), rather than one. Currently the strategy is naive: evict 50 rows at a time from each table.
* It makes maximumCacheSize and maximumCacheEntrySize completely independent. The SQLiteCache implementation evicted when `usedSize > maximumCacheSize - 2 * maximumCacheEntrySize`. This evicts when `usedSize > maximumCacheSize - 5 * pageSize`.
* It uses a non-unlimited default value for maximumCacheSize: 50 MB. We should have always had a limit in place; "a cache without an eviction policy is a resource leak".
2016-02-10 15:40:20 -08:00
John Firebaugh
5910124010
[core] Reset SQLite statements after use in order to release locks
2016-02-10 15:40:20 -08:00
John Firebaugh
ff15bd51b9
[core] Throttle the number of concurrent requests to 20
2016-02-10 15:40:20 -08:00
John Firebaugh
5d42321b73
[core] Make {Default,Online}FileSource::Impl more similar
2016-02-10 15:40:20 -08:00
John Firebaugh
96e0e5252e
[core] Disable SQLite busy timeouts so that multiple readers can access the same database
2016-02-10 15:40:20 -08:00
John Firebaugh
4bde1b0c88
[core] Explicit operator bool
2016-02-10 15:40:20 -08:00
John Firebaugh
c91b44b02f
Add binary for smoke-testing 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
John Firebaugh
e9302c797f
[all] Don't interpret 404s on non-tile resources as "no content"
2016-02-10 15:40:20 -08:00
John Firebaugh
7eb1a91c4e
[all] Do not set Response data for 404s
...
For AssetFileSource and the node FileSource this was already the case; this makes the other implementations consistent.
2016-02-10 15:40:20 -08:00
John Firebaugh
cdedb66387
[core] Reimplement existing caching within an offline-capable database schema
2016-02-10 15:40:20 -08:00
John Firebaugh
025375ad0b
[core] Cache with mapbox:// tile URLs
2016-02-10 15:40:20 -08:00
John Firebaugh
dbb8e58aea
[core] Moving caching logic to DefaultFileSource
...
This results in OnlineFileSource containing precisely the logic we want for reuse by OfflineFileSource, and no more.
2016-02-10 15:40:20 -08:00
John Firebaugh
f3d4107d19
[core] Add a method for statically evaluating font stacks used by a style
2016-02-10 15:40:20 -08:00
John Firebaugh
7d6c6c00ca
[core] Refactor tileCover
2016-02-10 15:40:20 -08:00
Thiago Marcos P. Santos
f52b6105db
[core] round() not always on std:: namespace
...
Build fix.
2016-02-10 19:38:32 +02:00
Konstantin Käfer
4edb2bc222
[core] draw clipping masks from ClipIDGenerator rather than Sources
2016-02-10 11:35:17 +01:00
Konstantin Käfer
a5c9103656
[core] compute the actual clipping masks that we have to draw with getStencils()
2016-02-10 11:35:17 +01:00
Konstantin Käfer
33b63f0ef6
[glfw] add "C" button to show stencil clip masks
2016-02-10 11:35:17 +01:00
Ansis Brammanis
d9244cc973
[core] make sure icons fit before the ends of the line
...
This skips anchors if there is not enough room before the beginning or
end of the line for the icon to fit.
-js: https://github.com/mapbox/mapbox-gl-js/pull/2077/files
2016-02-09 15:01:34 -08:00
Tobrun
61e63b718c
[android] #3746 - InfoWindowCloseListener
2016-02-09 14:53:08 +01:00
Tobrun
b3f1e2ed2a
[android] #3852 - upgrade to okhttp 3.1.1
2016-02-09 14:19:53 +01:00
Tobrun
227ddffee6
[android] #3745 - MapboxMap.OnCameraChangeListener 📷
2016-02-09 14:18:25 +01:00
Tobrun
2c6615df55
[android] #3747 - InfoWindowLongClickListener
2016-02-09 09:35:38 +01:00
Ansis Brammanis
29d61c0fe7
[node] add debug options to node bindings
...
fix #3579
2016-02-08 14:22:53 -08:00
Minh Nguyễn
7c7de0bc57
Link to latest iOS SDK API documentation
2016-02-08 13:20:00 -08:00
Minh Nguyễn
57f5359b1b
[ios] Get favicon from HTTPS in jazzy docs
2016-02-08 11:38:37 -08:00