| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
```
|
| |
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
| |
No one owned the data after release(), so this wasn't being free'd.
reset() does that, thus this patch causes a huge memory leak.
|
|
|
|
| |
Part of https://github.com/mapbox/mapbox-gl-shaders/pull/13.
|
|
|
|
| |
Part of https://github.com/mapbox/mapbox-gl-shaders/issues/8.
|
| |
|
|
|
|
|
| |
TexturePool now disposes acquirable ids via SharedTexture, which
guarantees that these are going back to TexturePool once released.
|
|
|
|
| |
Now using the same Pimpl mechanism from mbgl::Map.
|
| |
|
|
|
|
| |
Fixes #991.
|
|
|
|
| |
Fixed an issue that caused a default annotation icon to appear beneath an annotation view when relocating the annotation.
|
|
|
|
| |
Removed unused annotation image code from iosapp, now that bulk-added point annotations are backed by annotation views.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
| |
Refs #5258, #5234.
|
|
|
|
|
|
| |
ARMv5 doesn't have a FPU and apparently the soft code for log2()
is wrong and giving weird results. log() works, so we use a log()
based log2() implementation for ARMv5.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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).
|
| |
|
|
|
|
| |
ensuring that mapboxSessionId is initialized
|
| |
|
| |
|
| |
|
|
|
|
| |
Added entries to the iOS SDK changelog for #5124, #2444, #5141, #5164. Removed entries for changes made since the last release; they go in the GitHub prerelease notes but not here in this document.
|
|
|
|
| |
Annotation views now serve as their own accessibility elements. The developer’s own subclass of MGLAnnotationView can customize the view’s accessibility frame and/or path to more accurately reflect the visual hit target.
|
|
|
|
|
|
| |
Corrected the accessibility frames of annotation views to match the views’ bounds instead of the bounds of the default annotation image (which could be empty if no default GL point annotation has been added).
Fixes #5038.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
has issuess. See https://github.com/mapbox/mapbox-gl-native/issues/5144 (#5222)
|
| |
|
|
|
|
| |
Part of #5121.
|
| |
|
|
|
|
|
| |
Take advantage of mbgl::gl::ObjectPool being iterable, and also let
TexturePool update the texture ID value when releasing.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|