Commit Graph

7978 Commits

Author SHA1 Message Date
John Firebaugh
47d6903f4e [core] Revert line-round-limit default to 1 (#5260)
Refs #5258, #5234.
2016-06-06 12:45:40 -07:00
Thiago Marcos P. Santos
313d9ce09c [core] log2 polyfill for ARMv5
ARMv5 doesn't have a FPU and apparently the soft code for log2()
is wrong and giving weird results. log() works, so we use a log()
based log2() implementation for ARMv5.
2016-06-06 22:19:25 +03:00
Thiago Marcos P. Santos
7b8698b47a [core] Naive atomic type for ARMv5
std::atomic<bool> is implemented lock free which doesn't work
on ARMv5 and seems like the compiler is generating bogus code.

This workaround is a naive implementation using regular mutexes.
2016-06-06 22:19:25 +03:00
Thiago Marcos P. Santos
874fa41c12 [android] Do not use lock-free types on Android
They are not supported by ARMv5 and the compiler is generating
bogus code. std::atomic might be implemented lock-free for some
types, but we are going to introduce a naive polyfill to make
sure that doesn't happen on ARMv5 (only).
2016-06-06 22:19:25 +03:00
Konstantin Käfer
c3cbe67c01 [core] code style and remove unused code 2016-06-06 17:55:01 +02:00
Brad Leege
7a97d7bd90 [android] #5186 - Starting rotateSessionId before Telemetry Starts and ensuring that mapboxSessionId is initialized 2016-06-06 10:50:06 -05:00
Konstantin Käfer
0fe60d398e [build] add benchmark target 2016-06-06 13:50:55 +02:00
Minh Nguyễn
d3fe798493 [ios] Split out MGLMapViewDelegate into separate header 2016-06-06 01:28:04 -07:00
Jesse Bounds
2fe7d04e5e [ios] Update podspecs for 3.3.0-beta.1 2016-06-03 16:17:56 -07:00
Minh Nguyễn
aedaef832f [ios] Updated changelog
Added entries to the iOS SDK changelog for #5124, #2444, #5141, #5164. Removed entries for changes made since the last release; they go in the GitHub prerelease notes but not here in this document.
2016-06-03 16:00:26 -07:00
Minh Nguyễn
1f622fe48f [ios] Made annotation views accessible
Annotation views now serve as their own accessibility elements. The developer’s own subclass of MGLAnnotationView can customize the view’s accessibility frame and/or path to more accurately reflect the visual hit target.
2016-06-03 15:13:21 -07:00
Minh Nguyễn
1fdda914e0 [ios] Corrected annotation view accessibility frame
Corrected the accessibility frames of annotation views to match the views’ bounds instead of the bounds of the default annotation image (which could be empty if no default GL point annotation has been added).

Fixes #5038.
2016-06-03 15:13:17 -07:00
Mike Morris
ab5e8fb183 node-v3.2.0 2016-06-03 17:29:12 -04:00
John Firebaugh
7a43f8bd1e [node] Fix typo 2016-06-03 09:58:31 -07:00
John Firebaugh
2fd673befc [docs] Remove references to manual submodule initialization 2016-06-03 09:51:39 -07:00
John Firebaugh
a758b41b06 [build] Fix mason submodule initialization 2016-06-03 09:51:39 -07:00
Max Vilimpoc
e47fe86d5d Ensure version tag always has 3 parts. (#5225) 2016-06-03 09:15:56 -07:00
timrobertson100
c11ccd0587 Updated readme with clear instructions that this requires Node v4.x and v5+ has issuess. See https://github.com/mapbox/mapbox-gl-native/issues/5144 (#5222) 2016-06-03 09:13:35 -07:00
Bruno de Oliveira Abinader
e9dcfa0ed6 [build] Added Bitrise Qt5 status image to README.md [skip ci] 2016-06-03 15:42:57 +03:00
Bruno de Oliveira Abinader
f3b168b9a8 [build] Added Bitrise Qt{4,5} OS X
Part of #5121.
2016-06-03 12:22:12 +03:00
Bruno de Oliveira Abinader
623da8bfeb [test] Added mbgl::gl::TexturePool tests 2016-06-03 11:03:16 +03:00
Bruno de Oliveira Abinader
679a68078c [core] Refresh Texture Pool logic
Take advantage of mbgl::gl::ObjectPool being iterable, and also let
TexturePool update the texture ID value when releasing.
2016-06-03 11:03:16 +03:00
Bruno de Oliveira Abinader
61dad6eae5 [core] Use release() instead of get()/reset() in Raster 2016-06-03 11:03:16 +03:00
Bruno de Oliveira Abinader
650b988874 [core] Perform GL object store cleanup on low memory 2016-06-03 11:03:16 +03:00
John Firebaugh
5928e4e52a [core] Clean up style.cpp 2016-06-02 16:33:56 -07:00
John Firebaugh
e802aedb8c [core, node, android] Remove used "base" parameter from setStyleJSON 2016-06-02 16:33:56 -07:00
John Firebaugh
7d110f5b14 [docs] Add information about runtime styling API to ARCHITECTURE.md 2016-06-02 16:06:01 -07:00
John Firebaugh
49d3807e28 [docs] Start ARCHITECTURE.md 2016-06-02 16:02:19 -07:00
John Firebaugh
e1a58565c8 [core] Move RenderData alongside RenderItem 2016-06-02 15:44:39 -07:00
John Firebaugh
c902f9098b [core] Rationalize naming for style-related code 2016-06-02 14:51:39 -07:00
John Firebaugh
18149cbcc2 [core] Add {min,max}Zoom accessors 2016-06-02 14:51:39 -07:00
John Firebaugh
67ee51360c [core] Add Filter accessors 2016-06-02 14:51:39 -07:00
John Firebaugh
cadc617c76 [core] Introduce PropertyValue<T>
PropertyValue<T> represents the three possible types of style property value: undefined, constant, or function.
2016-06-02 14:51:39 -07:00
John Firebaugh
ba4a8a9731 [tests] Add basic tests for Map::{add,remove}Layer 2016-06-02 14:51:39 -07:00
John Firebaugh
d7e1ecd19e [core] Generalize Map::{add,remove}CustomLayer 2016-06-02 14:51:39 -07:00
John Firebaugh
a43940afb2 [core] Runtime style layer API 2016-06-02 14:51:39 -07:00
John Firebaugh
27baa34d44 [osx] Ignore a file that Xcode keeps generating for some reason 2016-06-02 14:48:52 -07:00
John Firebaugh
1fb96d38a0 [tests] Tweak LineAnnotation test so that it reveals a bug; fix the bug 2016-06-02 14:47:35 -07:00
John Firebaugh
2c8d225cf2 [tests] Clean up annotation tests 2016-06-02 14:45:30 -07:00
Bruno de Oliveira Abinader
af65da1ad7 [core] Support "#pragma mapbox:" commands in shader code
Fixes https://github.com/mapbox/mapbox-gl-native/issues/5174.
2016-06-02 15:42:42 +03:00
Tobrun Van Nuland
7a7efcf3b7 [android] #4727 - fix proguard test app 2016-06-02 09:25:40 +02:00
John Firebaugh
3689f52ef3 [core] Constrain annotation API to the supported geometry types 2016-06-01 17:37:01 -07:00
John Firebaugh
8068424f30 [build] Add android-* make targets for specific ABIs 2016-06-01 17:37:01 -07:00
John Firebaugh
574dd14420 [ios, osx] Add an assertion to -[MGLMultiPoint annotationObjectWithDelegate:] 2016-06-01 17:37:01 -07:00
John Firebaugh
0fba70d5a8 [all] Rationalize annotation API 2016-06-01 17:37:01 -07:00
Thiago Marcos P. Santos
cfd6757ecc [Qt] Use geometry.hpp internally for shape annotations 2016-06-01 17:36:50 -07:00
John Firebaugh
8985b1311b [core] Use geometry.hpp types for shape annotations 2016-06-01 17:36:50 -07:00
John Firebaugh
aa1a54c577 [core] Do annotation longitude wrapping together with latitude clamping 2016-06-01 17:36:50 -07:00
John Firebaugh
efaf6461aa [android] Basic cleanups in annotation JNI code 2016-06-01 17:36:50 -07:00
John Firebaugh
555c9ed863 [android] Simplify the JNI definitions for annotation methods
Instead of providing both singleton and List-based implementations:

* Define everything in terms of arrays
* Do singleton ⇢ array and List ⇢ array conversions in Java
2016-06-01 17:36:50 -07:00