Commit Graph

5853 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
d9f10fbfa7 [core] Use std::mutex on RunLoop
Only the WorkTask mutex needs to be recusive because
the WorkQueue will run a WorkTask that will pop
itself from the WorkQueue causing it to get cancelled.
2015-11-16 22:16:08 +02:00
Justin R. Miller
42a60a6661 static framework target for iOS 2015-11-16 11:53:00 -08:00
Justin R. Miller
212e7a1e08 provide resource bundle search for premade frameworks 2015-11-16 11:40:54 -08:00
Jeff Miccolis
c35f18fdbc Add creds for bitrise. Fixes #3028 2015-11-13 19:00:42 -06:00
Adam Hunter
1ced39cbd1 Merge pull request #2991 from mapbox/2931-adams-playground
Manual Zoom Test Activity - will turn into an automated test at some point in the future
2015-11-13 16:57:24 -08:00
Brad Leege
5747bee1b8 [android] #2931 - Adding Zoom button to UI 2015-11-13 16:52:58 -08:00
Brad Leege
803d8bbd4e [android] #2931 - Making Manual Zoom Navigation Drawer Item Open Manual Zoom Activity 2015-11-13 16:52:58 -08:00
Brad Leege
69a2b06e21 [android] #2931 - Creating basic Activity for Manual Zoom 2015-11-13 16:52:58 -08:00
Brad Leege
1c9d85e0de [android] #2931 - Adding Manual Zoom As Drawer Option 2015-11-13 16:52:58 -08:00
Brad Leege
a6e639b794 [android] #3029 - Adding removeMarker() convenience method 2015-11-13 17:49:08 -06:00
Justin R. Miller
e2e5b380fb also look in commit bodies for CI skipping commands
[skip ci] (see what I did there?)
2015-11-13 15:21:54 -08:00
Justin R. Miller
8e6b9a0d96 bump iOS version to 3.0.0-pre.6
[skip ci]
2015-11-13 14:39:18 -08:00
Justin R. Miller
3293f32fef re-add OS X desktop usage hotkeys (refs #2800 @tmcw)
[skip ci]
2015-11-13 12:14:58 -08:00
Tobrun
f4de4a799c [android] #3023 - reactive token generation
[android] #3023 - update documentation to reflect change
2015-11-13 11:21:41 +01:00
Tobrun
bcd5db4a46 [android] #3019 - optimise visible coordinatebounds 2015-11-13 10:43:42 +01:00
Tobrun
0ef7b42ae3 [android] #3001 add config changes example to test app 2015-11-13 10:39:22 +01:00
Tobrun
569399c1ae [android] #2989 - moved access token to test app
[android] #2989 - gitignoring config.xml

[android] #2989 - move token file, rename

[android] #2989 fixing gitignore, renaming config file
2015-11-13 08:52:32 +01:00
John Firebaugh
f9ebe54a63 [core] Merge Sprite into SpriteStore 2015-11-12 13:03:14 -08:00
John Firebaugh
1e350b7ea4 [core] Reorganize sprite related files 2015-11-12 13:03:14 -08:00
Minh Nguyễn
0dc1519a18 Set refresh interval to 60fps
Fixes #3005.
2015-11-12 12:00:47 -08:00
Brad Leege
5afcf77124 [android] Fixing Android API Target 2015-11-12 13:38:32 -06:00
Minh Nguyễn
48d1c4025d [iOS] Removed unnecessary casts
Also renamed secondsAsDuration() to durationInSeconds(): function names should generally put the return type first, the argument type last, to avoid confusion.
2015-11-12 10:46:50 -08:00
Bruno de Oliveira Abinader
fc2fa73363 [core] Cleanup Transform::rotateBy
Make use of PrecisionPoint's operator functionalities inherited from
vec2<> and reduced overhead eg. offset_y is always 0 so no need to add
this to calculation inside the if.
2015-11-12 10:46:50 -08:00
Bruno de Oliveira Abinader
8b76f00d8c [core] PrecisionPoint is now a vec2<double>
We could reuse all the operators defined in vec2<>, including operator
bool() that checks if the contained values are !NaN.
2015-11-12 10:46:50 -08:00
Minh Nguyễn
6748b6155e [core] Fixed bit-shifting error in exponential backoff
This change fixes a bug introduced in 4d5c6333be for #2727. 1 << 32 would exceed the size of int64_t. The static analyzer reported undefined behavior here because std::min() might or might not return 32.
2015-11-12 10:46:47 -08:00
Minh Nguyễn
aae7f90e37 [core] Fixed Transform::_setScale()
Corrected Transform::_setScale() after the refactoring in 5a24ac605b for #2994. This change also addresses two dead store warnings from the static analyzer.
2015-11-12 10:46:43 -08:00
Brad Leege
b918b51672 [android] #2369 - Adding Developing and Running Instructions 2015-11-12 10:48:02 -06:00
John Firebaugh
7621a41158 Fix symbol-placement: line + {icon,text}-rotation-alignment: viewport
Fixes #3004
2015-11-11 17:34:56 -08:00
Minh Nguyễn
65eae8a997 Updated changelog
[skip ci]
2015-11-11 11:09:28 -08:00
Minh Nguyễn
57574badb0 Publish Bitcode-less build for Xcode 6.4
Publish a Release-configuration, symbol-laden, Bitcode-less build in tandem with the other builds.

Fixes #2332.
2015-11-11 11:01:47 -08:00
Bruno de Oliveira Abinader
e31c96d885 [core] Fix mbgl::projection function signatures 2015-11-11 17:23:10 +02:00
Bruno de Oliveira Abinader
aa8857643d [core] Added MetersBounds 2015-11-11 16:59:49 +02:00
Bruno de Oliveira Abinader
cd0266f25c [core] Added more NaN checks in Transform 2015-11-11 16:59:49 +02:00
Bruno de Oliveira Abinader
12e0e5eb04 [ios] Reflect Map API changes in MGLMapView 2015-11-11 16:59:49 +02:00
Bruno de Oliveira Abinader
994ee519e8 [android] Reflect Map API changes in JNI 2015-11-11 16:59:49 +02:00
Bruno de Oliveira Abinader
5a24ac605b [core] Use PrecisionPoint in zoom and angle functions 2015-11-11 16:59:49 +02:00
Bruno de Oliveira Abinader
99ac8d8720 [core] Use pass-by-ref in CameraOptions
Pass-by-const-ref is not always possible because CameraOptions gets its
members modified along the way.

Also fixes a case in Map::jumpTo where Update::Zoom should be called if
zoom is affected.
2015-11-11 16:59:49 +02:00
Bruno de Oliveira Abinader
c78e769635 [core] Use PrecisionPoint in coordinate functions 2015-11-11 16:59:49 +02:00
Bruno de Oliveira Abinader
e2052ea3e4 [core] Added PrecisionPoint to represent pixel points 2015-11-11 16:59:49 +02:00
Bruno de Oliveira Abinader
e5c460f2db [core] Added isValid to geo helper structs 2015-11-11 16:59:49 +02:00
John Firebaugh
54e08b1f83 [core] Eliminate use of ClassProperties for paint 2015-11-10 11:33:17 -08:00
John Firebaugh
a562567589 [core] Eliminate use of ClassProperties for layout 2015-11-10 11:33:17 -08:00
John Firebaugh
728a9858ea [core] Push layouts and paints to subclasses 2015-11-10 11:33:17 -08:00
Bruno de Oliveira Abinader
41120774af [core] Expose default fade duration to Map API 2015-11-10 10:28:16 +02:00
Justin R. Miller
f5a0586408 move from Fabric framework to bare headers per Twitter recommendation
Rolls back part of #2742
2015-11-09 17:35:43 -08:00
Brad Leege
83ea5be413 [android] #2369 - Updating Android setup instructions for OS X 2015-11-09 16:11:50 -06:00
Minh Nguyễn
2abdcb0a81 Updated changelog 2015-11-09 13:08:11 -08:00
Minh Nguyễn
affb1199bf Merge remote-tracking branch 'bwhtmn/ios9_multitasking' into 1ec5-ios9-multitasking-2309 2015-11-09 12:43:42 -08:00
Minh Nguyễn
c4cbe648b1 [iOS] Replaced deprecated podspec flag
Per https://github.com/mapbox/mapbox-gl-native/issues/1870#issuecomment-132417161.

ref CocoaPods/CocoaPods#3573
2015-11-09 11:37:58 -08:00
Konstantin Käfer
7b8b2b1790 Revert "[core] only update the render order array when there are changes to tiles"
This reverts commit ec1a58d8ef and 177372b836.
2015-11-09 11:18:10 -08:00