Commit Graph

6025 Commits

Author SHA1 Message Date
Brad Leege
44fb85efc0 [android] #2805 - Adding Toolbar to TiltActivity for consistent navigation 2015-12-03 16:57:43 -06:00
Antonio Zugaldia
759e67b70d [android] #2805 - add sample tilt activity to test app 2015-12-03 16:57:42 -06:00
Brad Leege
6e77c4be82 [android] #2805 - Implementing Parcelable and adding Builder 2015-12-03 16:54:46 -06:00
Brad Leege
2dbaa0df1a [android] #2805 - Initial CameraPosition API 2015-12-03 16:54:46 -06:00
John Firebaugh
84754cf71c Update test suite 2015-12-03 13:04:39 -08:00
John Firebaugh
47be1f5774 [core] Remove unused header 2015-12-03 12:44:43 -08:00
John Firebaugh
398ab663be [core] Clean up Painter 2015-12-03 12:44:43 -08:00
Konstantin Käfer
964a1e7b62 [core] rudimentary support for offsetting lines 2015-12-03 11:41:53 -08:00
Konstantin Käfer
c279fb1717 [core] throw values, catch references 2015-12-03 15:38:36 +01:00
Konstantin Käfer
0c351eb523 [core] use default instead of empty function body 2015-12-03 15:38:36 +01:00
Konstantin Käfer
478472e501 [core] add std::move to constructors 2015-12-03 15:38:36 +01:00
Konstantin Käfer
d5fb535058 [core] add namespace comment to closing brace 2015-12-03 15:38:36 +01:00
Konstantin Käfer
6feb89cbbc [core] fix various errors reported by clang-tidy 2015-12-03 15:38:36 +01:00
Konstantin Käfer
dc620f48de [core] Fix std::move() misuse that disables copy elision 2015-12-03 15:38:36 +01:00
Konstantin Käfer
e12cd6aef4 [build] Add clang-tidy to Travis 2015-12-03 15:38:36 +01:00
Konstantin Käfer
673e87f651 [build] refactor Docker scripts + add clang-tidy script 2015-12-03 15:38:36 +01:00
Konstantin Käfer
0c8eeea665 [build] add make target "tidy" for running clang-tidy 2015-12-03 12:06:51 +01:00
Konstantin Käfer
678a5ca91e [build] add ninja + compilation database support 2015-12-03 11:13:43 +01:00
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