Commit Graph

16768 Commits

Author SHA1 Message Date
Asheem Mamoowala
60d10dd27d [core] Add support for queryRenderedFeatures filter 2017-03-04 15:42:07 -08:00
Minh Nguyễn
ac4e13416a [core] Enable debug events in Debug configuration 2017-03-04 12:48:33 -08:00
Tobrun
328d4f6672 [android] - example on converting an Android SDK view to a Bitmap to be used as SymbolAnnotation (#8258) 2017-03-04 15:43:39 -05:00
Minh Nguyễn
7e9701283f [ios, macos] Update callout when relocating annotation
When relocating a selected point annotation, update the associated callout (popover) rather than deselecting the annotation.
2017-03-03 22:09:41 -08:00
Nadia Barbosa
9ea4113634 [ios] Clarify docs for MGLUserTrackingMode 2017-03-03 18:59:30 -08:00
Nadia Barbosa
4d058ffd94 [ios, macos] Exclude MGLUserTrackingMode from macOS 2017-03-03 18:59:30 -08:00
Thiago Marcos P. Santos
f6cd017f58 [Qt] Remove legacy QOpenGL dependency from Qt5 build
OpenGL on Qt5 is offered via QtGui.
2017-03-03 17:28:07 -08:00
Fabian Guerra Soto
1f1cc131ea [ios] Fixed conversion between Duration and NSTimeInerval (#8276) 2017-03-03 20:11:06 -05:00
Tobrun
a5f6ee6963 [android] - update gradle and plugin for Android Studio 2.3 stable, update support library to latest version, add dexOptions to increase build times. (#8271) 2017-03-03 17:36:40 -05:00
Minh Nguyễn
8f892757b5 [macos] Document Carthage, CocoaPods installation 2017-03-03 13:30:28 -08:00
Minh Nguyễn
e15db9bb6a [ios] Split out changelog Packaging section 2017-03-03 13:30:22 -08:00
Jason Wray
d31df7c4f6 [ios] Added basic notes about using Carthage 2017-03-03 13:29:48 -08:00
Jesse Bounds
4e074aa4db [ios, macos] Alias MGLStyleConstantValue to MGLConstantStyleValue 2017-03-03 09:10:31 -08:00
Jesse Bounds
d25e2c772d [ios, macos] Rename MGLStyleConstantValue to MGLConstantStyleValue 2017-03-03 09:10:31 -08:00
John Firebaugh
8742dc852c [all] Build all release builds with -Os 2017-03-02 16:32:42 -08:00
Fabian Guerra Soto
8a5cc3560a [ios] MGLAnnotationView annotation property made writable (#8139) 2017-03-02 18:19:23 -05:00
John Firebaugh
e1c85e8ec3 [core] const-correction 2017-03-02 14:36:30 -08:00
John Firebaugh
a7b7f3d442 [core] Fix whitespace; no need for explicit on multi-parameter constructors 2017-03-02 14:36:30 -08:00
Bruno de Oliveira Abinader
c461dad5ee [core] Safeguard ICU UChar usage 2017-03-02 11:40:42 -08:00
Antonio Zugaldia
f1e3c32f7e Updates version name and CHANGELOG after 5.0.0-beta.2 release (#8254)
* go back to 5.0.0-SNAPSHOT

* update changelog
2017-03-02 09:58:11 -05:00
Konstantin Käfer
0c3521d46c [core] privatize OffscreenTexture implementation 2017-03-01 17:25:22 -08:00
Jesse Bounds
968bb369c9 [ios] Use curl to verify that a release is not published
The previous incantation is now failing due to redirects. Getting only
the headers from curl and checkin the first line works reliably.
2017-03-01 16:12:03 -08:00
Jesse Bounds
4705019ae3 [ios] Update podspec version for 3.5.0 beta.2 2017-03-01 14:55:23 -08:00
Tobrun
ef82095a21 [android] - add accessibility support to the Android SDK by applying content descriptions on Views overlain on the map. (#8230) 2017-03-01 17:07:01 -05:00
Tobrun
95fdf3ca0d [android] - add unit test for Mapbox (#8228) 2017-03-01 16:23:23 -05:00
Minh Nguyễn
db77865844 [ios, macos] Updated changelogs for #8113 2017-03-01 12:57:06 -08:00
Antonio Zugaldia
981413c7c4 [android] [auto] Update properties to version 5.0.0-beta.2 in preparation for build. 2017-03-01 15:18:59 -05:00
Jesse Bounds
cd5efab11e [ios] Add changelog entry for the pause / resume API update 2017-03-01 10:39:11 -08:00
Bruno de Oliveira Abinader
f28d75dccd [Qt] FBO handling should happen outside of QMapboxGL::render 2017-03-01 09:25:52 -08:00
Ivo van Dongen
74d42a45e2 [android] keep default file source alive for the duration (#8226) 2017-03-01 11:33:51 -05:00
Jesse Bounds
0027f5cdc2 [ios] Pause file source activity on background
This uses the pause/resume API on the default file source to pause
network and revalidation activity when the host iOS application goes
into the background. Activity is resumed when the host application goes
into the foreground.

The intention of this change is to avoid edge cases on some OSs where
resources (i.e. sqlite) are not available when the host app is not
visible to the user.
2017-03-01 08:25:44 -08:00
Jesse Bounds
e1546644b5 [core] Cache file source base URL and access token
This caches the base URL and access token values when they are set
so that they can still be retrieved even when the thread is paused.
2017-03-01 08:25:44 -08:00
Pablo Guardiola
c689eed273 [android] add line starts with a semicolon and empty statement checkstyle rules and fix related checkstyle issues (#8231) 2017-03-01 10:45:22 -05:00
Tobrun
f44e4eb2de Only listen to connectivity broadcast events when needed (#8222)
* [android] - only listen to connectivity change events when needed.

* [android] - fix compile var args warning, remove redundant test
2017-03-01 09:46:47 -05:00
Jordan Kiley
a46a57027e [iOS] Replaced gifs from gesture recognizer guide (#8227)
* [ios] replaced gifs
2017-02-28 21:36:40 -08:00
Anand Thakker
f901e776b3 [core] Implement data-driven styling for {text,icon}-{color,opacity,halo-color,halo-blur,halo-width} (#7939)
* Add symbol dds attributes and adapt style code generation

* Update to mapbox-gl-js/master

* Refactor SymbolFeature as a subclass of GeometryTileFeature

Prepares for enabling DDS on symbol paint properties by allowing the
SymbolFeatures, which we keep around after constructing SymbolLayout,
to be used in evaluating data-driven paint properties later in the
layout process.

* Draft approach for splitting icon/text paint properties

The `Program` types are set up to bind GL attributes to each of the
data-driven paint properties specified in the `PaintProperties` type
provided.  Since `SymbolPaintProperties` specifies both `Text*` and
`Icon*` properties, the symbolIcon, symbolIconSDF, and symbolGlyph
programs each attempt to bind roughly double the number of attributes
that they actually need.

This change addresses this by:
- Adding the more specific `IconPaintProperties` and `TextPaintProperties` types, which are subsets of the full `SymbolPaintProperties`.
- The symbol layer continues to use its `SymbolPaintProperties paint` member to track layer property state, but it provides helpers that construct objects of each the specific `{Icon,Text}PaintProperties::Evaluated` type, for use by the painter.
- The three symbol programs instantiate `Program<>` using the appropriate `{Icon,Text}PaintProperties` type.

* check in generated style code

* Populate paint buffers for symbol DDS properties

* Address first round of review comments

* Refactor VectorTile{Layer,Feature} to explicitly share data

* Update submodule
2017-02-28 19:54:24 -08:00
Konstantin Käfer
c3ed1f51ca [core] remove gl.hpp include from shader headers 2017-02-28 18:28:41 -08:00
Anand Thakker
4b81c924cc [core] Log Memory.Footprint test results (#8170)
* Log Memory.Footprint test output

* On CI, only run Memory.Footprint test with libjemalloc
2017-02-28 14:11:35 -08:00
Ivo van Dongen
f8766f704a [android] fix unit tests for #7944 2017-02-28 14:05:14 -08:00
John Firebaugh
e18f60229e [core] There's only ever one icon quad 2017-02-28 13:59:14 -08:00
John Firebaugh
02d56488e4 [core] Eliminate Shaping::text
This was already accessible via SymbolFeature::text.
2017-02-28 13:59:14 -08:00
John Firebaugh
0d741b3439 [core] Release compareText after symbol preparation
It's a temporary structure and not needed for placement.
2017-02-28 13:59:14 -08:00
Tobrun
34fef22d95 [core] [android] - allow zooming/scaling to use AnimationOptions (#8181)
[glfw] - allow glfw binding to use AnimationOptions instead of using direction directly
2017-02-28 13:22:47 -05:00
Ivo van Dongen
05ec852885 [android] raise checkstyle file length limit 2017-02-28 09:33:04 -08:00
Ivo van Dongen
99786e1e3f [android] insert layer at index 2017-02-28 09:33:04 -08:00
Ivo van Dongen
a9d2929819 [android] remove layer at index 2017-02-28 09:33:04 -08:00
Ivo van Dongen
dc21396d71 [android] insert layer above 2017-02-28 09:33:04 -08:00
Ivo van Dongen
3040d40772 [android] remove source returns reference 2017-02-28 09:33:04 -08:00
Ivo van Dongen
fedb21e35b [android] remove layer returns reference 2017-02-28 09:33:04 -08:00
Ivo van Dongen
609cdb0fd7 [android] fix ownership of style layer after delete 2017-02-28 09:33:04 -08:00