John Firebaugh
089c4e413f
[core] Split up and clean up conversion.hpp
2016-06-24 09:39:15 -07:00
John Firebaugh
cb6a519f7c
[core] Include what you use
2016-06-24 09:39:15 -07:00
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
Bruno de Oliveira Abinader
b06176cf11
[core] Replace boost iostream with standard {i,s}stream
...
Fixes #4915 .
2016-06-21 10:29:15 +03: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
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
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
Bruno de Oliveira Abinader
061511bc69
[build] Don't override CXX11ABI if already set
2016-06-17 20:44:40 +03:00
Bruno de Oliveira Abinader
a08bb4ccea
[Qt] Define QT_IMAGE_DECODERS if needed
2016-06-17 20:43:21 +03:00
Bruno de Oliveira Abinader
61d9232c02
[core] Do not use pthread_getname_np before glibc 2.11
...
Follows approach in src/mbgl/util/thread.hpp header.
2016-06-17 16:04:37 +03:00
John Firebaugh
5254127e8c
[core] Runtime source API: Map methods
2016-06-16 13:27:15 -07:00
John Firebaugh
9d6b50828e
[core] Runtime source API: part 2
2016-06-16 13:27:15 -07:00
John Firebaugh
900568cfb0
[core] Runtime source API: private impls
2016-06-16 13:27:15 -07:00
John Firebaugh
19158d9f01
[core, node] Implement setPaintProperty for color properties ( #5380 )
2016-06-16 13:25:06 -07:00
Bruno de Oliveira Abinader
3f024ebaf0
[Qt] Install valgrind on-demand
2016-06-16 19:30:20 +03:00
Bruno de Oliveira Abinader
d323f393ec
[Qt] Cleanup annotation usage
2016-06-16 19:30:19 +03:00