Minh Nguyễn
c935acc52d
Typo
2015-04-30 12:48:36 -04:00
John Firebaugh
7584599ea6
uv::handle base class
2015-04-30 12:40:26 -04:00
John Firebaugh
64251eec75
Introduce and use uv::timer
2015-04-30 12:40:10 -04:00
Minh Nguyễn
6342712591
Pause collection when tearing down MGLMapboxEvents for whatever reason
2015-04-30 12:28:35 -04:00
Minh Nguyễn
97fb9f6fcf
Tied NSURLSession lifetime to metrics collection
...
Call `-resumeMetricsCollection` on `init` to consolidate the various steps to initialize `MGLMetricsLocationManager`.
2015-04-30 12:22:51 -04:00
John Firebaugh
95214472d4
Use uv::async
2015-04-30 12:02:41 -04:00
Brad Leege
6811e7c39d
#1381 - Setting desiredAccuracy to 3KM
2015-04-30 11:58:31 -04:00
John Firebaugh
bb88b9cd8e
Merge pull request #1379 from mapbox/readme-update
...
Updates to README for linux
2015-04-30 11:52:16 -04:00
Minh Nguyễn
6790a09a08
Turned class methods into instance methods
...
Avoids unnecessary steps to access singletons. Now `MGLMapboxEvents` and `MGLMetricsLocationManager` instances can message themselves directly.
2015-04-30 11:48:56 -04:00
Minh Nguyễn
87c61657a1
Objective-C niceties
...
Added macro for main thread assertions based on `NSAssert()`. Reworded Boolean property per Objective-C conventions.
2015-04-30 11:35:52 -04:00
John Firebaugh
7da30dc1d0
Manual configure is not required
2015-04-30 11:21:40 -04:00
John Firebaugh
b9ff7cfaf2
export CXX=g++-4.8 is required
2015-04-30 11:21:15 -04:00
John Firebaugh
bbcc7c26d9
Merge pull request #1065 from mapbox/1065-separate-ui-from-map-thread
...
Better separation between UI thread and Map thread
2015-04-30 10:22:06 -04:00
John Firebaugh
2b6e680e4a
Disable headless tests temporarily
2015-04-30 09:58:31 -04:00
John Firebaugh
1d957d6898
Deactivate after cleanup
2015-04-30 09:57:58 -04:00
Justin R. Miller
c48962ebf2
Merge pull request #1296 from mapbox/1258-deadpan
...
Cancel animations on touch down
2015-04-29 16:24:43 -04:00
Thiago Marcos P. Santos
e955e6cae2
Merge pull request #1371 from mapbox/fix_android_build_on_linux
...
Get the number of CPUs correctly on Linux
2015-04-29 22:39:56 +03:00
Jason Wray
bffe53dd70
Antialias compass N text, shifted down 1px
2015-04-29 15:33:22 -04:00
Mike Morris
ca897ce407
bump mbgl
...
drop mbgl::Environment from NodeFileSource
switch to mbgl::Map::Mode::Still
2015-04-29 15:26:29 -04:00
Jason Wray
c7556987ca
Antialias compass N text
2015-04-29 15:25:52 -04:00
Justin R. Miller
5edb52568b
Merge branch 'split-ios-osx-builds'
2015-04-29 14:32:27 -04:00
Dane Springmeyer
226799e811
Merge pull request #1342 from mapbox/clipper-even-odd
...
Use evenodd fill type for pre-tessellation union
2015-04-29 10:35:14 -07:00
Katy DeCorah
65138a5d80
instructions for users w/o apple developer account
2015-04-29 12:28:39 -04:00
Justin R. Miller
72b7e96ea2
fix linking for device/sim decision
2015-04-29 10:49:05 -04:00
Thiago Marcos P. Santos
8f813a4ef1
Get the number of CPUs correctly on Linux
2015-04-29 16:51:46 +03:00
Ansis Brammanis
3e928f41c8
fix line tessellation
...
-js: 7cf7ef763d
2015-04-28 18:14:34 -07:00
John Firebaugh
481fa0e69f
Restructure *Request and Context
...
The previous implementation, based on thread-local storage, did not
ensure that the context was destructed before the FileSource run loop.
This resulted in implementations attempting to uv_close handles for a
loop that had already been destroyed.
This change also fixes #1262 .
2015-04-28 19:26:35 -04:00
Justin R. Miller
0995930d90
fixes #1361 : split iOS device & sim builds (sim-only for tests)
2015-04-28 17:47:59 -04:00
Justin R. Miller
32e00b5a03
[publish ios-v0.2.17]
2015-04-28 16:59:34 -04:00
Justin R. Miller
029a23b4a6
fix Travis deploy script path since matrix reorg
2015-04-28 16:59:08 -04:00
Justin R. Miller
c67a708e5b
[publish ios-v0.2.17]
2015-04-28 16:20:18 -04:00
Justin R. Miller
ecb755ab97
Merge branch 'fix-ssl-pinning-again'
2015-04-28 16:15:03 -04:00
Justin R. Miller
0ca83ffdb7
[publish ios-v0.2.17]
2015-04-28 15:21:27 -04:00
Justin R. Miller
165d4aa3b1
bump podspec version to 0.2.17
2015-04-28 15:20:57 -04:00
Justin R. Miller
42b59eb655
fixes #1363 : centrally & better address GL demo/third-party resource bundle issues
2015-04-28 15:03:35 -04:00
John Firebaugh
2c3952af66
Avoid binding a shared_ptr<TileData> in the work callback
...
It's possible that the work callback can outlive the after callback,
since work callback destruction and after callback execution happen in
two different threads. This could account for the crash seen in
https://github.com/mapbox/mapbox-gl-native/issues/1309#issuecomment-96108868
2015-04-28 14:32:26 -04:00
John Firebaugh
cdb466e7f7
Convert Style to unique_ptr and pass by reference
...
Fixes #1277
Fixes #1309
2015-04-28 14:32:26 -04:00
John Firebaugh
0c280adebc
Move Worker to Style
...
This ensures that worker tasks are entirely complete by the
time the style is destructed, and enables us to pass Style&
rather than a shared pointer.
2015-04-28 14:32:26 -04:00
John Firebaugh
4ccf246c10
Rewrite Worker in terms of Thread<>
2015-04-28 14:32:26 -04:00
John Firebaugh
59255a3d9e
MapContext::updated doesn't need to be atomic
2015-04-28 14:32:25 -04:00
John Firebaugh
8bb7fc64ff
Move Environment to MapContext
2015-04-28 14:32:25 -04:00
John Firebaugh
bb7c453b3e
Inline getWorker()
2015-04-28 14:32:25 -04:00
John Firebaugh
3bf0bf9538
Remove unused includes
2015-04-28 14:32:25 -04:00
John Firebaugh
f8db45f19a
Move still image callback to MapContext
2015-04-28 14:32:25 -04:00
John Firebaugh
f0b229730f
Move style info to MapContext
2015-04-28 14:32:25 -04:00
John Firebaugh
b5b58086a8
Combine update and triggerUpdate
2015-04-28 14:32:25 -04:00
John Firebaugh
230027e514
Resize view from map thread
2015-04-28 14:32:24 -04:00
John Firebaugh
a625ba8a09
Remove Map::start/stop
...
Both Android and iOS now use pause/resume. The map thread is
always running, and be able to receive messages. When paused,
it will just refuse to render.
2015-04-28 14:32:24 -04:00
John Firebaugh
c84e886222
Log each test subcase during headless tests
2015-04-28 14:32:24 -04:00
John Firebaugh
5f76ab270e
Encapsulate access to Thread's uv_loop_t
...
The Thread object gets access via its constructor. No other object
should have access; off-thread objects can't safely do anything with
it except pass it back to the thread.
2015-04-28 14:32:24 -04:00