John Firebaugh
41bbd4e4f7
[core] Use an actor model for tile worker concurrency
2016-09-16 12:01:06 -07:00
Justin R. Miller
0bd66d40dd
[ios] fixes #6248 : properly handle all NSNumber types in filters ( #6290 )
2016-09-16 11:46:22 -07:00
clydebarrow
767aedc676
[core] Correct evaluation of interval functions
2016-09-16 10:58:42 -07:00
Jason Wray
36076a1d6d
[android] Move unused icon burning script to Android folder ( #6310 )
...
Trying the new Squash and Merge Green Button functionality. I'm told that FF is now enabled, but haven't seen firsthand until now.
2016-09-16 10:34:06 -07:00
John Firebaugh
ad35cccdbc
[core] Use consistent terms: "text" and "icon"
2016-09-16 09:00:55 -07:00
John Firebaugh
32fac7cbe4
[core] Use optional to represent possible absence, not empty strings
2016-09-16 09:00:55 -07:00
John Firebaugh
a8dd1bbbb8
[core] Move SymbolInstance and SymbolFeature into their own files
2016-09-16 09:00:54 -07:00
John Firebaugh
1f375581c3
[core] Move {clip,merge}_lines to layout directory
2016-09-16 09:00:54 -07:00
Tobrun
9ef65440b6
[core] [android] - public api configurable base endpoint ( #6309 )
...
add runloop to test
2016-09-15 22:01:09 -07:00
Tobrun
217c43d125
[android] - disable closable strictmode ( #6327 )
2016-09-15 15:43:52 -07:00
Konstantin Käfer
5f49f28d3e
[build] add specific .clang-tidy file for things that use RapidJSON writers
2016-09-15 14:05:23 +02:00
Konstantin Käfer
d1d523686c
[core] upgrade RapidJSON to 1.1.0
2016-09-15 14:05:23 +02:00
Konstantin Käfer
d6c958ba5f
[test] use recursive wrapper for recursive variant types
2016-09-15 13:42:10 +02:00
Konstantin Käfer
ca8f32a914
[core] add explicit std::hash<mbgl::style::ClassID> implementation to appease GCC
2016-09-15 13:41:59 +02:00
Brad Leege
e49c96f05c
[core] #3980 - Putting friend class SymbolLayout back
2016-09-14 16:57:54 -07:00
Brad Leege
d0f9ba4998
[core] #3980 - Switching Core GL instances of map to unordered_map
2016-09-14 16:40:20 -07:00
John Firebaugh
a9f5224664
[core] Avoid gratuitous SymbolBucket creation
2016-09-14 13:41:56 -07:00
John Firebaugh
c8217a8739
[core] Extract SymbolLayout from SymbolBucket
...
SymbolLayout lives on the worker thread and contains the persistent data needed for repeated placement. SymbolBucket contains the data generated during placement, and is transferred to the main thread for rendering.
This eliminates the risky sharing of GeometryTile::buckets between the main thread and worker thread during TileWorker::redoPlacement.
While here, rationalize the names of states a SymbolLayout may be in:
* Pending: Waiting for the necessary glyphs or icons to be available.
* Prepared: The potential positions of text and icons have been determined.
* Placed: The final positions have been determined, taking into account prior layers.
In TileWorker, all SymbolLayouts are stored in a single vector. Each SymbolLayout knows what state it is in, and TileWorker can easily determine how much progress it can make toward a final result.
2016-09-14 13:41:56 -07:00
Jason Wray
0bdd968d2b
[core] Remove schema v4 migration path
2016-09-14 15:49:00 -04:00
Jason Wray
9237ad3c58
[tests] Add v3 & v4 database migration tests
2016-09-14 15:48:53 -04:00
Jason Wray
83d0b39adb
[ios, macos] Remove changelog lines for WAL db change
2016-09-14 15:46:45 -04:00
Jason Wray
4daff7f2f8
[core] Revert SQLite WAL journaling
2016-09-14 15:45:47 -04:00
John Firebaugh
ffa8c48926
[core] Another band-aid ( #6322 ) ( #6333 )
2016-09-14 12:04:37 -07:00
Jesse Bounds
922bb3bc37
[ios] Use content inset to calculate edge padding ( #6313 )
...
This reverts a previous change that used only the contentInset
when setting the center coordinate of the map view.
Instead of contentInset, edgePaddingForFollowing is used. This fixes
a regression that caused the user dot annotation to be misplaced
when the map was configured to show the annotation in any place other
than in the center of the map.
In addition, edgePaddingForFollowing is updated to account for
contentInset when it calculates its UIEdgeInsets. This fixes a bug
where the user dot would move to the center of the content frame
(when it was adjusted for content insets) but the map would not scroll
along with it yielding the effect of the user dot being misplaced.
2016-09-13 22:24:37 -07:00
John Firebaugh
8f3736fbfd
[core] Band-aid to prevent GeometryTile::redoLayout race condition from causing a crash ( #6322 )
2016-09-13 15:40:55 -07:00
Brad Leege
1a2680b5b7
[android] #6321 - New Staging Server PK Access Token ( #6323 )
2016-09-13 14:26:21 -07:00
Antonio Zugaldia
d9306dde2e
[android] #6317 - avoids NullPointerException when checking mMapboxMap.getUiSettings() ( #6318 )
2016-09-13 15:44:03 -04:00
Ivo van Dongen
ed4e37ba9f
[android] HttpFileSource - rate limit
2016-09-13 14:21:38 +02:00
Ivo van Dongen
dc4659b4a8
[linux] HTTPFileSource - rate limit
2016-09-13 14:21:38 +02:00
Ivo van Dongen
0839df6a7a
[qt] HttpFileSource - rate limit
2016-09-13 14:21:37 +02:00
Ivo van Dongen
c04e79ae48
[darwin] HttpFileSource - rate limit
2016-09-13 14:21:37 +02:00
Ivo van Dongen
290bd07a92
[core] OnlineFileSource - rate limit
2016-09-13 14:21:37 +02:00
Bruno de Oliveira Abinader
fdaf26b2c0
[qt] Fix bug in fromQStringList
2016-09-13 13:00:24 +03:00
Bruno de Oliveira Abinader
fdd114d275
[qt] Separate transition options accessors from class API
2016-09-13 13:00:24 +03:00
Bruno de Oliveira Abinader
cbd4115477
[ios, macos] Separate transition options accessors from class API
2016-09-13 12:38:59 +03:00
Bruno de Oliveira Abinader
9d2d2d3a91
[glfw] Separate transition options accessors from class API
2016-09-13 12:38:59 +03:00
Bruno de Oliveira Abinader
22fc8cdc1a
[test] Added Map class accessors tests
2016-09-13 12:38:59 +03:00
Bruno de Oliveira Abinader
beb67fb7b2
[core] Separate transition options accessors from class API
...
Now the style class transition options have its own getter/setter, which
persists for each style until a new style is set.
2016-09-13 12:38:59 +03:00
Bruno de Oliveira Abinader
0cc062a5fd
[core] Check if style exists prior to accessing via Map functions
2016-09-13 12:38:59 +03:00
Tobrun
4f23d0cda8
[core] - move wrap test ( #6311 )
2016-09-12 12:50:13 -07:00
Minh Nguyễn
b7aa872def
[macos] Updated reference to MGLFilterTests
2016-09-09 14:02:56 -07:00
Jason Wray
e26fa4dd4c
[core] Move SQLite logging setup to before database initialization
...
- Ensure that sqlite3_config() is always called before db init.
- Should only be called once, now.
- Move sqliteVersionCheck into mapbox::sqlite namespace.
2016-09-09 05:42:20 -04:00
John Firebaugh
29f4204d1c
[core] Don't use std::move on forwarding references
2016-09-08 16:36:47 -07:00
John Firebaugh
030234c7a6
[core] Rework invokeWithCallback so that the callback is last
2016-09-08 16:36:47 -07:00
John Firebaugh
e4995e8d3a
[core] Extract WorkTaskImpl from run_loop.hpp
2016-09-08 16:36:47 -07:00
Tobrun
a85f7540c7
6277 disable leak canary during instrumenation tests ( #6294 )
...
* [android] - disable leak canary during instrumentation tests
* update leak canary to beta2
2016-09-08 15:17:45 -07:00
Tobrun
75e1ce5d00
[android] - ensure access token is set when trying to load a style ( #6280 )
2016-09-08 15:17:11 -07:00
Tobrun
691dc6de79
[core] - add unit test for wrap ( #6289 )
...
* [core] - add unit test for wrap
* use double instead of integer
2016-09-08 15:16:42 -07:00
Tobrun
234f6caf7c
[android] - run ndk-stack as part of the build ( #6288 )
...
* [android] - run ndk-stack as part of the build
* Set BUILDTYPE to debug
* [android] - correct path ndk-stack arg
2016-09-08 11:14:24 -07:00
Tobrun
36a744c96a
[android] - throw concrete exception when generated test cases fail to read the Activity members ( #6281 )
2016-09-08 10:10:33 -07:00