Commit Graph

10107 Commits

Author SHA1 Message Date
Jason Wray
a6bbf09fa6 [ios] Add version checker update to deploy script 2017-03-07 10:47:29 -08:00
Jason Wray
5e36743ef7 [ios] Add SDK version update checking/notification 2017-03-07 10:43:08 -08: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
Fabian Guerra Soto
1f1cc131ea [ios] Fixed conversion between Duration and NSTimeInerval (#8276) 2017-03-03 20:11:06 -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
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
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
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
Ivo van Dongen
f0de56cffa [android] source list accessor + example 2017-02-28 09:33:04 -08:00
Ivo van Dongen
ec1dc2622b [android] layer list accessor + example 2017-02-28 09:33:04 -08:00
Ivo van Dongen
62e85c1224 [android] add unknown source type 2017-02-28 09:33:04 -08:00
Ivo van Dongen
3e48b377fd [android] add unknown layer type 2017-02-28 09:33:04 -08:00
Pablo Guardiola
283aee0754 [WIP] InfoWindow refactor (#8080)
* [android] remove unnecessary info window class and add bubble layout

* fix some PR comments (remove hungarian notation, make bubble popup helper package protected and fix some code style issues)

* refactor replace enum in favor of intdef

* make bubble layout package protected and remove useless info window tip view class
2017-02-28 11:48:40 -05:00
Tobrun
8e9d6a5b2c [android] - don't allow transforming to the same camera position, ignore redundant updates. (#8134) 2017-02-28 10:57:08 -05:00
Tobrun
809d8248b3 Fix a NPE that occurs when MapView is initialized with a null MapboxMapOptions (#8131) 2017-02-28 09:18:49 -05:00
Konstantin Käfer
9ca9adf69c [core] private OffscreenView implementation 2017-02-27 16:51:17 -08:00
John Firebaugh
e3500c1f79 [core] Replace three maps/mutexes in GlyphAtlas with a single map and mutex 2017-02-27 16:19:35 -08:00
Tobrun
47dcfe7d44 [android] - add javadoc to test activities. (#8203)
* [android] - add javadoc to test activities.

* fix checkstyle issue
2017-02-27 23:56:06 +01:00
Tobrun
147654a46b [android] - reverse compass direction (#8130) 2017-02-27 14:22:25 -05:00