Commit Graph

16768 Commits

Author SHA1 Message Date
Minh Nguyễn
415c182946 [ios, macos] Renamed overdraw to overdraw visualization (#5416)
A verb doesn’t make sense in this enum value. Instead, use a descriptive word for this effect and describe it in detail in the documentation comment.
2016-06-22 23:22:41 -07:00
Stephen Niedzielski
4c87da6b8f Allow Mapbox to be served to devices without Wi-Fi
android.permission.ACCESS_WIFI_STATE implies an android.hardware.wifi
requirement. Make Wi-Fi optional.
2016-06-23 08:08:13 +02:00
Jesse Bounds
5832f63acc [android] Cancel other gestures during shove.
This adds a guard so that when a shove gesture is occurring, no other
gestures take place. This helps avoid the disorienting feeling of
having the map move left and right and rotate while trying to tilt it
and looks more like Google maps.
2016-06-22 21:54:44 +02:00
John Firebaugh
699076c2fa [core] Remove TexturePool from style::UpdateParameters (#5442) 2016-06-22 12:32:06 -07:00
Bruno de Oliveira Abinader
9b533eb916 [build] Bump mapbox-gl-test-suite@9a7de2fb72607be6ffa0040bf3d84651719a45e3
Ignore 'debug/overdraw' until #5435 is fixed.
2016-06-22 19:59:20 +03:00
Bruno de Oliveira Abinader
7d63847bec [Qt] Use mbgl::LineString instead of mbgl::Polygon as default shape 2016-06-22 18:07:19 +03:00
Konstantin Käfer
d58ed6f9f3 [core] remove TexturePool dependency from Raster constructor 2016-06-22 16:28:32 +02:00
John Firebaugh
3459b83736 [core, node] Node bindings for setFilter 2016-06-21 18:24:49 -07:00
John Firebaugh
220fc7adc9 [node] Support setLayoutProperty(..., "visibility", ...) 2016-06-21 16:30:35 -07:00
John Firebaugh
8a9ee26b0e [core] Use mbgl::style::conversion in node bindings 2016-06-21 16:04:22 -07:00
John Firebaugh
a18d6dda5d [core] Rewrite style parsing logic for reuse in node bindings 2016-06-21 15:38:13 -07:00
Thiago Marcos P. Santos
7ea0a0db32 [tests] Run memory tests on travis
Qt4 will run tests with libjemalloc.so. The Memory.Footprint and
the Memory.Fragmentation will only run with libjemalloc.so because
we have then a better control over the results.
2016-06-21 19:12:32 +02:00
Thiago Marcos P. Santos
ddc6bc330f [tests] Add memory tests
Simple tests that will render a raster and a vector map and
hopefully the valgrind bot will detect something wrong if any.

The other test will look for application lifetime leaks that cannot
be detected with valgrind. It can also detect GL leaks if they are
very expressive.  A threshold is needed because of memory will grow
anyway due to fragmentation.
2016-06-21 19:12:32 +02:00
Thiago Marcos P. Santos
178e0e9da9 [tests] Add resources for rendering offline
The StupFileSource of the memory test will do the rendering
completely offline with a vector tile that is densly populated
with features and a raster tile of the same region.

The styles are streets and satellite respectivelly.
2016-06-21 18:58:48 +02:00
Thiago Marcos P. Santos
2be2340c30 [tests] Do not re-trigger answered requests
This happens on real file sources when tiles expire or in case
of error. Here we only retry on error.
2016-06-21 18:58:48 +02:00
Fredrik Karlsson
3995d6ff68 [ios] fixes #5406 view for annotation (#5413) 2016-06-21 15:21:22 +02:00
Bruno de Oliveira Abinader
b06176cf11 [core] Replace boost iostream with standard {i,s}stream
Fixes #4915.
2016-06-21 10:29:15 +03:00
Antonio Zugaldia
fa54b7dd06 [android] #5415 - add 4.1.0-beta.3 to CHANGELOG.md 2016-06-20 16:12:45 -04:00
Antonio Zugaldia
1e2d567942 [android] #5415 - fix fabric version name 2016-06-20 16:11:11 -04:00
Antonio Zugaldia
fb13713ac0 [android] #5398 - Rename Custom Dynamic InfoWindow Adapter in testapp (#5414) 2016-06-20 14:16:22 -04:00
Jason Wray
a7d5717cf5 [ios] Disable telemetry while Low Power Mode is enabled
Low Power Mode is iOS 9+, so some availability checks must be made.
2016-06-20 14:06:54 -04:00
Antonio Zugaldia
b1aecc2faf [android] Rename Custom Dynamic InfoWindow Adapter in testapp
Fixes #5398
2016-06-20 13:43:21 -04:00
Antonio Zugaldia
7fb5c097bf [android] Add scaling marker activity to TestApp using the View Marker API
Fixes #5409
2016-06-20 13:17:08 -04:00
Bruno de Oliveira Abinader
77f309e7a0 [core] Factor out thread name setter/getter 2016-06-20 13:42:30 +03:00
Bruno de Oliveira Abinader
6c9e00be3a [node] Read 'options.showOverdrawInspector' 2016-06-20 13:24:20 +03:00
Bruno de Oliveira Abinader
97dffeb03d [core] s/Wireframe/Overdraw/g 2016-06-20 13:24:20 +03:00
Bruno de Oliveira Abinader
df5a395708 [core] Refactor wireframe to match JS overdraw mode 2016-06-20 13:24:20 +03:00
Bruno de Oliveira Abinader
7e549b9020 [core] Added BlendColor GL config value 2016-06-20 13:24:20 +03:00
Bruno de Oliveira Abinader
9038d66af6 [core] Added missing BlendFunc operator 2016-06-20 13:24:20 +03:00
Bruno de Oliveira Abinader
76fc07c606 [core] Autogenerate Shader name 2016-06-20 13:24:20 +03:00
Bruno de Oliveira Abinader
760a692378 [Qt] Added QMapbox::TransitionOptions to style class functions 2016-06-20 13:01:59 +03:00
Bruno de Oliveira Abinader
2f8fce7bdb [core] Cleaned up TransitionOptions 2016-06-20 13:01:59 +03:00
Bruno de Oliveira Abinader
05ae0b5dfd [core] Use default transition ease for style transition
Fixes #363.
2016-06-20 13:01:59 +03:00
Bruno de Oliveira Abinader
5792091e9d [core] Added mbgl::util::DEFAULT_TRANSITION_EASE 2016-06-20 13:01:59 +03:00
Bruno de Oliveira Abinader
22aa22c99c [core] UnitBezier ctor is now constexpr 2016-06-20 13:01:59 +03:00
Minh Nguyễn
350d015cc2 [osx] Added AppleScript example 2016-06-19 21:19:09 -07:00
Minh Nguyễn
ab6318e3e3 [osx] Works with AppleScript
Sure, why not?
2016-06-19 18:28:30 -07:00
Bruno de Oliveira Abinader
87a09c51ee [build/qt] Use platform-specific gyp flavor when cross-compiling 2016-06-19 12:40:49 +03:00
Bruno de Oliveira Abinader
e50980793a [build] Use mason platform info when cross-compiling
Build platform equals to host platform if not cross compiling, otherwise
use the mason-provided platform.
2016-06-19 12:18:58 +03:00
Minh Nguyễn
061854990f [macos] Renamed OS X SDK to macOS SDK
Also renamed as many references to OS X as possible to macOS in documentation.

Cherry-picked from b9702ef41a.
2016-06-18 14:58:07 -07:00
Bruno de Oliveira Abinader
c20c1d6a6b [core] Avoid redundant 'inline' usage 2016-06-18 23:46:50 +03:00
Bruno de Oliveira Abinader
41497e9c41 [core] Cleaned up enum classes
- Replaced static_cast with C++ casts.
- Replaced inline with constexpr.
2016-06-18 20:23:00 +03:00
Bruno de Oliveira Abinader
0006c9c275 [core] Fix typo in mbgl::Response
WIP: Use Enum<Type> for mbgl::Storage::Response::Value.
2016-06-18 20:23:00 +03:00
Antonio Zugaldia
b2ce41375c [android] Remove unnecessary menu from Animated Marker activity
Fixes #5396
2016-06-17 15:39:49 -04:00
John Firebaugh
2921127bdb [core] Avoid unnecessary work when a symbol annotation is updated
In particular, if only the geometry changes, don't cascade and recalculate the style.
2016-06-17 11:38:04 -07:00
John Firebaugh
e2f52a1dd8 [core] Copy only the necessary style layers to the worker 2016-06-17 11:38:03 -07:00
John Firebaugh
a3318c2ced [macos] Add "Add Animated Annotation" to the Debug menu 2016-06-17 11:38:03 -07:00
John Firebaugh
86d768c2af [macos] Fix an intended floating point division 2016-06-17 11:38:03 -07:00
Ivo van Dongen
a2dbec82dd [android] Fix info window placement on programatic marker select
Fixes #5348
2016-06-17 19:55:10 +02:00
Brad Leege
2591147e25 [android] Setting up LocationPickerActivity infrastructure
Fixes #5282
2016-06-17 19:54:27 +02:00