Commit Graph

6007 Commits

Author SHA1 Message Date
Jason Wray
e5f136a16a [ios] fix CoreTelephony crash (by removing it)
Fix #3112, ref #2581
2015-12-02 20:00:59 -05:00
Justin R. Miller
43ca910f54 refs #3112: cleanups around Core Telephony runtime
- don't do anything with CT in simulator
 - more direct use of dynamic selectors for clarity
2015-12-02 13:33:37 -08:00
Antonio Zugaldia
2a0d2b7f0b [android] #3151 - Added sample InfoWindowConcurrentActivity to illustrate the behavior of multiple InfoWindows visible at a time. 2015-12-02 12:12:14 -05:00
John Firebaugh
eb60131741 [core] Only android needs libzip 2015-12-01 20:16:06 -08:00
John Firebaugh
e5181e2668 [core] Use optional where SpriteAtlas return values might not exist
Fixes #3162
2015-12-01 18:05:54 -08:00
John Firebaugh
e326d4972f [tests] Update test-suite 2015-12-01 16:24:43 -08:00
John Firebaugh
8afa14fa78 [core] Map::setSprite ⇢ Map::addAnnotationIcon
Fixes #3084
2015-12-01 15:10:28 -08:00
John Firebaugh
8a66b7047f [core] Remove mutex from Style
There's no cross-thread sharing to be protected here.
2015-12-01 11:16:57 -08:00
John Firebaugh
b7674040ab [core] Privatize layers and sources 2015-12-01 11:16:57 -08:00
John Firebaugh
bafbf6c04b [core] Don't share util::ptr<StyleLayer> across threads 2015-12-01 11:16:57 -08:00
John Firebaugh
96f5ae7cb8 [core] Don't share Style& across threads 2015-12-01 11:16:57 -08:00
Mike Morris
4dc4eef83e [node] simpler PACKAGE_JSON_VERSION 2015-12-01 13:52:17 -05:00
John Firebaugh
622f6691b7 [glfw] No longer necessary to wait for style load to add default marker 2015-12-01 09:15:05 -08:00
Adam Hunter
e1091db45e [core] Use a separate atlas and store for annotation sprites
Fixes #1488
2015-12-01 09:15:05 -08:00
John Firebaugh
58886842bc [core] Move MapData storage to MapContext
This allows MapData members to hold GL resources which must be released
on the MapContext thread -- necessary for the following commit.
2015-12-01 09:15:05 -08:00
John Firebaugh
40ebf5d0d0 [core] Introduce StyleUpdateParameters 2015-12-01 09:07:03 -08:00
John Firebaugh
f27c28b6c4 Partially revert "[core] Source should receive a ref to MapData just once"
This partially reverts commit d55aa7929c.
2015-12-01 09:07:03 -08:00
Braden Ewing
60b0e78e0e Improve quickzooming on Android 2015-12-01 15:15:47 +01:00
Thiago Marcos P. Santos
e7b6d72cd1 [render] Add a RunLoop to render main thread
Also simplified the code making the logic more linear.
2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
3d07aaf95d [core] Don't link with libuv on components not using it directly 2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
ed29223e5a [core] Remove mbgl/util/uv.hpp
Now only a few things depend on libuv and they can use it directly.
2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
7caaebb162 [tests] Fix/improve Asset utests
ASSET=zip make test-* was broken and now works.

Also added a test stressing concurrent file access.
2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
ab6477d906 [core] Removed libuv dependency from AssetZipContext 2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
c117b7e3f4 [core] Removed libuv dependency from AssetFSContext 2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
07c0424ab9 [core] Removed libuv dependency from HTTPCurl*
Moved the fd watcher to the RunLoop. So far only needs to
be implemented by platforms using HTTPCurlRequest et al.
2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
a1f714bd37 [core] Do not use uv::rwlock on Style
It was being used as a normal mutex anyway.
2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
8d3fd199b2 [tests] Add utests for ThreadLocal 2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
62990f0a21 [core] Port uv::tls to pthreads 2015-12-01 11:49:02 +02:00
John Firebaugh
c5a4377714 [core] Privatize internal headers 2015-12-01 11:49:02 +02:00
John Firebaugh
1c63f98f6d [core] Expose fewer RunLoop implementation details in header 2015-12-01 11:49:02 +02:00
John Firebaugh
f2553fff89 [core] Merge uv_detail.hpp into uv.hpp 2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
cb06526b10 [tests] Remove libuv dependency from the tests 2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
ae3f1c79fa [android] Removed libuv dependency from HTTPAndroid* 2015-12-01 11:49:02 +02:00
Bruno de Oliveira Abinader
0cc31e1dda [osx] Removed libuv dependency from HTTPNSUrl* 2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
9c0eedf836 [curl] Make curl request less dependent on libuv 2015-12-01 11:49:02 +02:00
Thiago Marcos P. Santos
d515f84caf [core] Remove unused libuv includes 2015-12-01 11:49:01 +02:00
Thiago Marcos P. Santos
ff47838474 [tests] Add utests for Timer 2015-12-01 11:49:01 +02:00
Thiago Marcos P. Santos
9b36c19aeb [core] Introduce Timer abstraction 2015-12-01 00:00:09 +02:00
Thiago Marcos P. Santos
0d8ea6c0a2 [core] Removed dependency on uv_loop from the file source 2015-12-01 00:00:09 +02:00
Thiago Marcos P. Santos
d422c8cac4 [core] Abstract main loop inside RunLoop class 2015-12-01 00:00:09 +02:00
Thiago Marcos P. Santos
1d62332204 [core] Use AsyncTask on the MapContext 2015-12-01 00:00:09 +02:00
Thiago Marcos P. Santos
6762cd0ca9 [tests] Add utests for AsyncTask 2015-12-01 00:00:09 +02:00
Thiago Marcos P. Santos
123c5df922 [core] Introduce the AsyncTask 2015-12-01 00:00:09 +02:00
Justin R. Miller
704ab891a7 refs #2800: update docs exception thrown for no Android token
[skip ci]
2015-11-30 12:47:18 -08:00
John Firebaugh
12fc949006 [tests] Don't use icons from the style for annotations 2015-11-30 12:40:09 -08:00
Antonio Zugaldia
48504baa91 Merge pull request #3127 from mapbox/3115-multiple-infowindows
3115 multiple infowindows + leave open while panning
2015-11-30 14:56:17 -05:00
Justin R. Miller
68c0237435 move back to symbolicated iOS fetch in master 2015-11-30 11:11:46 -08:00
Justin R. Miller
8d25d9ab1a Merge branch 'release-ios-v3.0.0' 2015-11-30 11:10:27 -08:00
Antonio Zugaldia
e9d749b775 add flag to let concurrent multiple infowindows to be shown 2015-11-30 11:32:25 -05:00
Tobrun
77df026adc Correct behaviour when switching between tracking modes, added javadoc 2015-11-30 11:30:28 +01:00