summaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* [build] Re-enable tidy checksBruno de Oliveira Abinader2016-06-131-0/+54
|
* [tidy] Check modernize-use-overrideBruno de Oliveira Abinader2016-06-131-1/+1
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-override.html
* [tidy] Check modernize-pass-by-valueBruno de Oliveira Abinader2016-06-135-16/+15
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
* [tidy] Check modernize-use-nullptrBruno de Oliveira Abinader2016-06-132-3/+3
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-nullptr.html
* [tidy] Check llvm-namespace-commentBruno de Oliveira Abinader2016-06-132-3/+3
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html
* [core] fix pedantic warning messagesKonstantin Käfer2016-06-132-62/+2
|
* [ios] Updated changelog for #5302Minh Nguyễn2016-06-091-0/+1
|
* [ios] Support for a customizable zoom gesture centering strategy. (#5302)Mark Allen2016-06-092-31/+42
| | | | | | | | | | | | * [ios] Support for a customizable zoom gesture centering strategy. We introduce a new MGLZoomGestureCentering enum and corresponding zoomGestureCentering property on MGLMapView. Currently, Mapbox automatically adjusts the center of the map relative to the user's gesture location, but for some applications (e.g Uber, Lyft) it is preferable to keep the map center "locked" in response to zoom gestures. Exisiting code will retain its current behavior without modification and will implicitly use the default value of MGLZoomGestureCenteringFollowsTouch. New code can specify MGLZoomGestureCenteringLockedInPlace to get the new "locked" behavior. * [ios] Added -anchorPointForGesture: to MGLMapView
* [android] #5303 - Updating code to take properly merge what each branch ↵Brad Leege2016-06-092-20/+8
| | | | intended for nativeUpdateMarker
* Tile count, tile size columns in osxapp (#5301)Minh Nguyễn2016-06-092-10/+70
| | | | | | | | | | * [osx] Added tile count, tile size columns Added tile count and tile size columns to osxapp’s Offline Packs window. Also expanded the byte count formatters to include the raw byte count for debugging purposes. * [osx] Corrected resource count formatters Use grouping separators consistently.
* Merge branch 'master' of github.com:mapbox/mapbox-gl-nativeBrad Leege2016-06-0914-132/+129
|\
| * [Qt][build] Updated valgrind supression and make it a target for QtThiago Marcos P. Santos2016-06-091-0/+2
| |
| * [osx] MGLMapView needs to be layer-backedMinh Nguyễn2016-06-091-1/+9
| | | | | | Clarified the installation instructions to explain how to make the map view layer-backed on OS X.
| * Merge branch 'release-ios-v3.2.2'Jesse Bounds2016-06-081-1/+5
| |\
| | * [ios] Update changelog and bump version to 3.2.3ios-v3.2.3Jesse Bounds2016-06-073-2/+7
| | |
| | * [ios] Update telem domain and certsJesse Bounds2016-06-073-1/+1
| | | | | | | | | | | | | | | | | | Change domain from api -> events Replace old certs with new ones with the same name. The new certs have an expiry that is further out.
| | * [ios] Force update from display link when display link is created.Jesse Bounds2016-06-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This forces the call of the map view's display link target when the display link is created. When a map view is shown the first time this is not required. However, if the display link was torn down and then recreated due to the map view being removed / obscured in the view hierarchy the map view delegate may expect to be informed when the map view did finish loading the map when it is shown again. This adds a call to `updateFromDisplayLink` just after a display link is created which helps trigger a full refresh of the map in the sense that all delegate methods get exercised including `mapViewDidFinishLoadingMap`.
| * | Fix crash in userLocationVerticalAlignment, analyzer warning (#5278)Minh Nguyễn2016-06-072-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] Fixed crash in userLocationVerticalAlignment Avoid creating an array with nil. Fixes #5274. * [ios] Fixed analyzer warning Fixed a write-without-read analyzer warning introduced in #5235.
| * | [docs] Reorganize and update development instructions (#5233)Jason Wray2016-06-071-14/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | iOS - Add section headers. - Add more detail to `make` packaging commands and emphasize that Debug is the default build type. - Manually checking out git submodules is no longer necessary. Core - Add 'Keeping up to date' section that mentions submodules.
| * | [core] Fix deleter mismatchThiago Marcos P. Santos2016-06-071-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | delete[] was being called for a malloc() allocated C buffer. Found by valgrind: ``` ==23065== Mismatched free() / delete / delete [] ==23065== at 0x4C2F77B: operator delete[](void*) (vg_replace_malloc.c:621) ==23065== by 0x50C5529: std::default_delete<unsigned char []>::operator()(unsigned char*) const (unique_ptr.h:119) ==23065== by 0x523EC85: std::unique_ptr<unsigned char [], std::default_delete<unsigned char []> >::reset(unsigned char*) (unique_ptr.h:581) ==23065== by 0x523E3D4: mbgl::Raster::upload(mbgl::gl::ObjectStore&) (raster.cpp:63) ==23065== by 0x520CA08: mbgl::RasterBucket::upload(mbgl::gl::ObjectStore&) (raster_bucket.cpp:16) ==23065== by 0x520E56A: mbgl::Painter::render(mbgl::style::Style const&, mbgl::FrameData const&, mbgl::SpriteAtlas&) (painter.cpp:130) ==23065== by 0x52BE15A: mbgl::Map::Impl::render() (map.cpp:265) ==23065== by 0x52BD9BE: mbgl::Map::render() (map.cpp:175) ==23065== by 0x50C9EB4: QMapboxGL::render() (qmapboxgl.cpp:579) ==23065== by 0x4056D3: MapWindow::paintGL() (mapwindow.cpp:166) ```
| * | [ios] Point podspec to API reference (#5267)Minh Nguyễn2016-06-072-2/+2
| | | | | | | | | The Documentation link on CocoaPods.org should point to the API reference, not to the main ios-sdk front page, which is already linked right above.
| * | node-v3.2.1node-v3.2.1Mike Morris2016-06-071-0/+4
| | |
| * | [ios] Bring annotation view to front when selectedMinh Nguyễn2016-06-071-2/+5
| | | | | | | | | | | | Fixes #991.
| * | [ios] Avoid adding icon when relocating annotationMinh Nguyễn2016-06-061-2/+10
| | | | | | | | | | | | Fixed an issue that caused a default annotation icon to appear beneath an annotation view when relocating the annotation.
| * | [ios] Removed unused annotation image codeMinh Nguyễn2016-06-061-76/+0
| | | | | | | | | | | | Removed unused annotation image code from iosapp, now that bulk-added point annotations are backed by annotation views.
| * | [ios, osx] Ignore multipointsMinh Nguyễn2016-06-066-27/+49
| | | | | | | | | | | | | | | | | | Ignore multipoints (as opposed to polylines and polygons) when adding annotations, just like we ignore multipolylines, multipolygons, and shape collections. In osxapp, break multipoint features into points before adding them as annotations.
| * | [core] Naive atomic type for ARMv5Thiago Marcos P. Santos2016-06-062-4/+4
| | | | | | | | | | | | | | | | | | | | | std::atomic<bool> is implemented lock free which doesn't work on ARMv5 and seems like the compiler is generating bogus code. This workaround is a naive implementation using regular mutexes.
| * | [android] Do not use lock-free types on AndroidThiago Marcos P. Santos2016-06-061-4/+7
| | | | | | | | | | | | | | | | | | | | | They are not supported by ARMv5 and the compiler is generating bogus code. std::atomic might be implemented lock-free for some types, but we are going to introduce a naive polyfill to make sure that doesn't happen on ARMv5 (only).
* | | [android] #5291 - Fixing merge conflictsBrad Leege2016-06-092-21/+2
| | |
* | | Merge branch 'release-android-v4.1.0'Brad Leege2016-06-0947-606/+1082
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | # Conflicts: # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/BaseMarkerViewOptions.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/MarkerView.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/annotations/MarkerViewManager.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapView.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/MapboxMap.java # platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/maps/NativeMapView.java # platform/android/src/jni.cpp # src/mbgl/geometry/buffer.hpp # src/mbgl/geometry/glyph_atlas.cpp # src/mbgl/geometry/glyph_atlas.hpp # src/mbgl/geometry/line_atlas.cpp # src/mbgl/geometry/vao.cpp # src/mbgl/gl/gl_object_store.cpp # src/mbgl/gl/gl_object_store.hpp # src/mbgl/renderer/frame_history.cpp # src/mbgl/shader/shader.cpp # src/mbgl/sprite/sprite_atlas.cpp # src/mbgl/sprite/sprite_atlas.hpp # src/mbgl/text/glyph_pbf.hpp
| * | [android] #5284 - Restoring 4.1.0-SNAPSHOT versionBrad Leege2016-06-081-1/+1
| | |
| * | [android] #5284 - Android 4.1.0-beta.2 Changelogandroid-v4.1.0-beta.2Brad Leege2016-06-081-0/+8
| | |
| * | [android] #5284 - Fixing JavaDoc link error that prevented JavaDoc generationBrad Leege2016-06-081-1/+1
| | |
| * | [android] #5284 - Setting 4.1.0-beta.2 version informationBrad Leege2016-06-082-2/+2
| | |
| * | [android] #5237 - Enabled Updates To InfoWindow's Title and SnippetBrad Leege2016-06-074-6/+48
| | |
| * | [android] #5254 - fix ARMv5 supportThiago Marcos P. Santos2016-06-062-7/+10
| | | | | | | | | | | | Backported patches fixing ARMv5 support for issue #3985.
| * | [android] #5186 - Starting rotateSessionId before Telemetry Starts and ↵Brad Leege2016-06-061-4/+4
| | | | | | | | | | | | ensuring that mapboxSessionId is initialized
| * | [android] #5167 - add support annotations to MarkerViewTobrun Van Nuland2016-06-062-6/+9
| | |
| * | [android] #5241 -float rotation on markerviewTobrun Van Nuland2016-06-064-10/+10
| | |
| * | [android] #5076 - increase cache sizeTobrun Van Nuland2016-06-061-1/+1
| | |
| * | [android] #5076 - invalidate MarkerViews when adding a MarkerViewTobrun Van Nuland2016-06-061-0/+1
| | |
| * | [android] #5076 - add getter for View of MarkerView, update public API ↵Tobrun Van Nuland2016-06-061-1/+32
| | | | | | | | | | | | javadoc of MarkerView select
| * | [android] #5076 - fixed update marker for MarkerView, rewrite update marker ↵Tobrun2016-06-069-84/+100
| | | | | | | | | | | | jni, cleanup animation api
| * | [android] #5171 - introduce new select/deselect animation system for view ↵Tobrun Van Nuland2016-06-0511-167/+414
| | | | | | | | | | | | markers
| * | Merge branch '5193-fix-style-url' of github.com:mapbox/mapbox-gl-native into ↵Cameron2016-06-031-11/+0
| |\ \ | | | | | | | | | | | | 5193-fix-style-url
| | * | [android] #5193 - fix broken test case on IconTobrun Van Nuland2016-06-031-11/+0
| | | |
| * | | changed satellite-hybrid to street in string.xmlCameron2016-06-031-1/+1
| |/ /
| * | [android] Fix style urlsCameron2016-06-0316-188/+61
| | | | | | | | | | | | Fixes #5193
| * | [build] Added Bitrise Qt{4,5} OS XBruno de Oliveira Abinader2016-06-032-0/+113
| | | | | | | | | | | | | | | | | | Part of #5121. (cherry picked from commit f3b168b9a8013b4d116a0d75dc0898b0ee4a53bd)
| * | [android] #5214 - remove requirement adapter for MarkerView, allow using ↵Tobrun2016-06-036-67/+127
| | | | | | | | | | | | Icon instead