summaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* [android] - example on converting an Android SDK view to a Bitmap to be used ↵Tobrun2017-03-043-17/+57
| | | | as SymbolAnnotation (#8258)
* [Qt] Remove legacy QOpenGL dependency from Qt5 buildThiago Marcos P. Santos2017-03-034-4/+15
| | | | OpenGL on Qt5 is offered via QtGui.
* [android] - update gradle and plugin for Android Studio 2.3 stable, update ↵Tobrun2017-03-034-4/+10
| | | | support library to latest version, add dexOptions to increase build times. (#8271)
* [all] Build all release builds with -OsJohn Firebaugh2017-03-021-4/+0
|
* [ios] MGLAnnotationView annotation property made writable (#8139)Fabian Guerra Soto2017-03-024-3/+3
|
* [core] Safeguard ICU UChar usageBruno de Oliveira Abinader2017-03-021-5/+7
|
* [android] - add accessibility support to the Android SDK by applying content ↵Tobrun2017-03-017-13/+27
| | | | descriptions on Views overlain on the map. (#8230)
* [android] - add unit test for Mapbox (#8228)Tobrun2017-03-012-1/+93
|
* [ios] Add changelog entry for the pause / resume API updateJesse Bounds2017-03-011-0/+1
|
* [Qt] FBO handling should happen outside of QMapboxGL::renderBruno de Oliveira Abinader2017-03-014-36/+4
|
* [android] keep default file source alive for the duration (#8226)Ivo van Dongen2017-03-011-9/+5
|
* [ios] Pause file source activity on backgroundJesse Bounds2017-03-011-0/+15
| | | | | | | | | | | 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.
* [core] Cache file source base URL and access tokenJesse Bounds2017-03-011-4/+6
| | | | | 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.
* [android] add line starts with a semicolon and empty statement checkstyle ↵Pablo Guardiola2017-03-012-1/+6
| | | | rules and fix related checkstyle issues (#8231)
* Only listen to connectivity broadcast events when needed (#8222)Tobrun2017-03-015-73/+48
| | | | | | * [android] - only listen to connectivity change events when needed. * [android] - fix compile var args warning, remove redundant test
* [iOS] Replaced gifs from gesture recognizer guide (#8227)Jordan Kiley2017-02-282-0/+0
| | | | * [ios] replaced gifs
* [core] Implement data-driven styling for ↵Anand Thakker2017-02-285-122/+1348
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | {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
* [android] fix unit tests for #7944Ivo van Dongen2017-02-282-3/+3
|
* [core] [android] - allow zooming/scaling to use AnimationOptions (#8181)Tobrun2017-02-282-10/+10
| | | [glfw] - allow glfw binding to use AnimationOptions instead of using direction directly
* [android] raise checkstyle file length limitIvo van Dongen2017-02-281-1/+1
|
* [android] insert layer at indexIvo van Dongen2017-02-285-0/+82
|
* [android] remove layer at indexIvo van Dongen2017-02-285-2/+75
|
* [android] insert layer aboveIvo van Dongen2017-02-289-15/+118
|
* [android] remove source returns referenceIvo van Dongen2017-02-285-14/+26
|
* [android] remove layer returns referenceIvo van Dongen2017-02-284-12/+20
|
* [android] fix ownership of style layer after deleteIvo van Dongen2017-02-2819-18/+184
|
* [android] source list accessor + exampleIvo van Dongen2017-02-287-0/+81
|
* [android] layer list accessor + exampleIvo van Dongen2017-02-287-0/+88
|
* [android] add unknown source typeIvo van Dongen2017-02-285-3/+102
|
* [android] add unknown layer typeIvo van Dongen2017-02-285-3/+112
|
* [WIP] InfoWindow refactor (#8080)Pablo Guardiola2017-02-2813-245/+773
| | | | | | | | | | * [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
* [android] - don't allow transforming to the same camera position, ignore ↵Tobrun2017-02-281-24/+29
| | | | redundant updates. (#8134)
* Fix a NPE that occurs when MapView is initialized with a null ↵Tobrun2017-02-281-1/+1
| | | | MapboxMapOptions (#8131)
* [core] private OffscreenView implementationKonstantin Käfer2017-02-273-23/+52
|
* [android] - add javadoc to test activities. (#8203)Tobrun2017-02-2746-80/+193
| | | | | | * [android] - add javadoc to test activities. * fix checkstyle issue
* [android] - reverse compass direction (#8130)Tobrun2017-02-271-6/+12
|
* [core] Reserve vector sizeJohn Firebaugh2017-02-271-0/+2
|
* [core] Avoid some string copies in bidi implementationJohn Firebaugh2017-02-271-6/+7
| | | | As of C++11, it's safe to preallocate std::[u16]string and write to the buffer via &s[0] (C++17 makes it possible via .data() as well).
* [glfw] Make P pause/resume the network threadThiago Marcos P. Santos2017-02-253-2/+23
| | | | Simple test of the DefaultFileSource pause/resume API.
* [core] Add a pause/resume API to the DefaultFileSourceThiago Marcos P. Santos2017-02-251-0/+8
| | | | | It will halt the networking thread completely. Expired and error'ed tiles won't get re-requested until resume() is called again.
* [android] jni high level binding refactorIvo van Dongen2017-02-2462-2846/+3709
|
* [ios, macos] Make source removal consistent with layer removalJesse Bounds2017-02-234-13/+74
| | | | | | | | | | | | | | | This refactors the source removal methods to make them consistent with the way layers are removed. This makes removal of nonexistent sources and removal of sources of a different type but same identifier as a previously added source a no-ops. As with layers, the check at the top of the method to ensure that the raw pointer is the same as the one in mbgl for the same identifier string should make it impossible to attempt to remove a source of a different type than the one in mbgl for the same identifier. However, for consistency with the layer implementation, the reinterpret_cast has been replaced with a dynamic_cast and check for nullptr.
* [android] remove nonexistent layer or source handlingIvo van Dongen2017-02-239-108/+31
|
* [ios, macos] Simplify implementation of layer removal from map viewJesse Bounds2017-02-238-31/+44
| | | | | | | | | | | This reverts a previous change that recreated the pending and raw layer pointers if an identifier match caused a layer to be removed but the removed layer was of a different type than the layer triggering the removal This refactors the pointer replacement to use a simpler solution that returns early if the layer does not have a raw pointer loaded in the mbgl map instance.
* [ios, macos] Update changelog for style and layer removal behaviorJesse Bounds2017-02-232-2/+2
|
* [core, ios, macos] Return null when removing nonexistent sourceJesse Bounds2017-02-234-6/+29
|
* [ios, macos] Recreate pending and raw layer ref when layer is removedJesse Bounds2017-02-238-21/+68
|
* [core] Return null when removing nonexistent layerEimantas Vaiciunas2017-02-232-0/+2
| | | | | In case of exception, silently ignore removal of nonexistent layer and return nullptr
* [node] adhere to node module naming requirementsKonstantin Käfer2017-02-232-2/+2
| | | | https://nodejs.org/api/addons.html#addons_building specifies that "The module_name must match the filename of the final binary (excluding the .node suffix).". While the mismatch between `mapbox-gl-native` and `mapbox_gl_native` hasn't caused issues so far, we should play by the book.
* [android] fix units in runtime styling javadoc (#8161)Pablo Guardiola2017-02-232-5/+8
|