summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* node-v3.3.4-pre.3node-v3.3.4-pre.3Mike Morris2016-09-261-1/+1
|
* [node] ref NodeRequest during garbage collection windowMike Morris2016-09-261-0/+7
|
* [core] Source-driven attributionMinh Nguyễn2016-09-2613-6/+103
| | | | | | Implemented observer callbacks so the style knows when the source’s attribution changes and the map knows when the style’s attribution changes. Also implemented a getter for a tile source’s attribution. Fixes #2723.
* [core] Fix initialization race on util::mapbox::isMapboxURL (#6455)Thiago Marcos P. Santos2016-09-261-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | This function can be called from different threads and was depending on a global `std::string protocol` which can do heap allocations. The first thread to use it would initialized it which is not exactly safe, so this patch moves it to a `char *` that is just a pointer to the data segment, so no races. Valgrind detected it on #6431. ``` ==9874== Conditional jump or move depends on uninitialised value(s) ==9874== at 0x4C307C2: __memcmp_sse4_1 (in /home/travis/build/mapbox/mapbox-gl-native/mason_packages/linux-x86_64/valgrind/latest/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==9874== by 0x79896E: mbgl::util::mapbox::isMapboxURL(std::string const&) (in /home/travis/build/mapbox/mapbox-gl-native/build/qt-linux-x86_64/Release/mbgl-test) ==9874== by 0x6DC756: mbgl::style::TileSourceImpl::parseTileJSON(std::string const&, std::string const&, mbgl::SourceType, unsigned short) (in /home/travis/build/mapbox/mapbox-gl-native/build/qt-linux-x86_64/Release/mbgl-test) ==9874== by 0x6DDA6A: std::_Function_handler<void (mbgl::Response), mbgl::style::TileSourceImpl::loadDescription(mbgl::FileSource&)::{lambda(mbgl::Response)#1}>::_M_invoke(std::_Any_data const&, mbgl::Response&&) (in /home/travis/build/mapbox/mapbox-gl-native/build/qt-linux-x86_64/Release/mbgl-test) ==9874== by 0x50BE80: std::_Function_handler<void (), mbgl::StubFileSource::StubFileSource()::{lambda()#1}>::_M_invoke(std::_Any_data const&) (in /home/travis/build/mapbox/mapbox-gl-native/build/qt-linux-x86_64/Release/mbgl-test) ==9874== by 0x70972A5: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.2.1) ==9874== by 0x70A3621: QTimer::timerEvent(QTimerEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.2.1) ==9874== by 0x7098053: QObject::event(QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.2.1) ==9874== by 0x60CCC8B: QApplicationPrivate::notify_helper(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.2.1) ==9874== by 0x60D1E55: QApplication::notify(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5.2.1) ==9874== by 0x706FC2C: QCoreApplication::notifyInternal(QObject*, QEvent*) (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.2.1) ==9874== by 0x70BC1AC: QTimerInfoList::activateTimers() (in /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.2.1) ==9874== ```
* [Qt] Simplify QML exampleThiago Marcos P. Santos2016-09-261-374/+256
|
* [Qt] Implement QQuickMapboxGL::error{,String} propertiesBruno de Oliveira Abinader2016-09-262-12/+25
|
* [Qt] Replace remaining Mapbox-specific features as MapParameterBruno de Oliveira Abinader2016-09-264-66/+56
|
* [Qt] Update QML runtime style exampleBruno de Oliveira Abinader2016-09-269-275/+112
|
* [Qt] Added 'image' MapParameter typeBruno de Oliveira Abinader2016-09-263-1/+29
|
* [Qt] s/QQuickMapboxGL{Style,StyleProperty}/QQuickMapboxGLMapParameterBruno de Oliveira Abinader2016-09-2617-403/+538
|
* [Qt] Added QQuickMapboxGLMapParameterBruno de Oliveira Abinader2016-09-266-1/+136
|
* [Qt] Qt conversion toNumber() should accept QVariant::IntBruno de Oliveira Abinader2016-09-261-1/+1
|
* [Qt] Fix RVO warning in QMapbox::addAnnotationIconBruno de Oliveira Abinader2016-09-261-1/+1
|
* [Qt] QQuickMapboxGLRenderer is now a friend of QQuickMapboxGLBruno de Oliveira Abinader2016-09-264-92/+48
| | | | | Simplify implementation by removing unsafe accessors from QQuickMapboxGL meant only to be used by QQuickMapboxGLRenderer.
* [Qt] Move QMapboxGL::MapChange to QMapbox namespaceBruno de Oliveira Abinader2016-09-268-63/+66
|
* [core] Trigger Update::RecalculateStyle when toggling layer visibilityBruno de Oliveira Abinader2016-09-262-3/+16
|
* [core] Reuse Map::update()Bruno de Oliveira Abinader2016-09-261-4/+2
|
* [core] track VAOs and BuffersKonstantin Käfer2016-09-2626-123/+214
|
* [core] make GL value defaults constexprKonstantin Käfer2016-09-264-54/+54
|
* [ios, macos] Doc gen handles arrays as required property values (#6448)David Clark2016-09-241-5/+18
|
* clarify circle color as fill (#6447)Justin R. Miller2016-09-235-19/+19
|
* [ios, macos] Allow full hexadecimal colors in layer documentation (#6444)Minh Nguyễn2016-09-231-19/+8
| | | | | | | | * [ios, macos] Allow full hex colors in layer docs CSS hexadecimal RGB syntax can contain all the hexadecimal digits, not just the decimal digits. * [ios, macos] Parse colors with csscolorparser
* [node] fix bad conditional, actually run testsMike Morris2016-09-232-8/+7
|
* [tests] Update test-suiteJohn Firebaugh2016-09-231-1/+1
|
* [ios, android] add visual tests for fill, line, & numeric filter styling (#6433)Justin R. Miller2016-09-2310-9/+57125
|
* [Qt] Add a more compelling runtime style exampleThiago Marcos P. Santos2016-09-237-272/+1404
|
* [Qt] Add map pitch support on the example appThiago Marcos P. Santos2016-09-231-1/+3
|
* [Qt] Add API for adding icon to the styleThiago Marcos P. Santos2016-09-232-9/+28
|
* [core] ensure network::Reachable is called only onceIvo van Dongen2016-09-231-3/+3
|
* [core] OnlineFileSource - prevent double scheduling of requestsIvo van Dongen2016-09-231-1/+13
|
* [android] offline - prevent OOMEIvo van Dongen2016-09-231-0/+1
|
* [android] timer - prevent overflow in due timeIvo van Dongen2016-09-231-2/+2
|
* [android] set connectivity state pro-activelyIvo van Dongen2016-09-238-4/+225
|
* [ios, macos] Add tile template option to raster and vector sourcesJesse Bounds2016-09-2210-9/+360
| | | A new MGLTileSet class that wraps all available core Tileset options can be created and passed into the sources. The sources pass that tileset object along to core.
* [core] Don't use depth test unless text is pitch-aligned to map (#6404)Young Hahn2016-09-222-9/+5
| | | | | | | | | | | | | | | | * [core, ios, android] Use `auto` value for properties with calculated defaults * Fix render tests * [core] Don't use depth test unless text is pitch-aligned to map. * Bump mapbox-gl-test-suite * TransformState pitch is already in radians * Reduce setDepthSublayer calls * Bump test suite
* [tests] Add tests for Map::[add|remove]ImageThiago Marcos P. Santos2016-09-224-0/+58
|
* [core] Add interface to add sprites to the styleThiago Marcos P. Santos2016-09-222-0/+28
| | | | Unlike annotations, they will go away when we change the style.
* [android] #5737 - disable tracking when a camera change occurs, treat camera ↵Tobrun2016-09-222-2/+18
| | | | change equal to gesture (#6414)
* [glfw, qt] Added missing docs (#6428)Bruno de Oliveira Abinader2016-09-222-0/+8
|
* [qt] Initial style from MAPBOX_STYLE_URL if setBruno de Oliveira Abinader2016-09-221-1/+7
|
* [glfw] Initial style from MAPBOX_STYLE_URL if setBruno de Oliveira Abinader2016-09-221-3/+9
|
* [Qt] Added missing `qt-lib` target (#6427)Thiago Marcos P. Santos2016-09-221-0/+4
| | | | | Build the shared library. Fixes #6415
* [ios, macos] increase timeout to 2 secondsFredrik Karlsson2016-09-211-2/+2
|
* [ios, macos] Short-circuit packs testMinh Nguyễn2016-09-211-3/+6
| | | | If the packs property is already populated, there’s no need to wait for a change notification.
* Better handling for undefined icon|text-rotation-alignment (#6253)Young Hahn2016-09-2112-43/+67
| | | | | | * [core, ios, android] Use `auto` value for properties with calculated defaults * Fix render tests
* [ios] revamp settings/debug UI in test app (#6421)Justin R. Miller2016-09-211-253/+438
|
* [android] #6418 - Release Android v4.2.0-beta.3android-v4.2.0-beta.3Antonio Zugaldia2016-09-211-5/+11
| | | | | | | | * [android] #6418 - update VERSION_NAME to 4.2.0-beta.3 * revert VERSION_NAME for development * Update CHANGELOG.md
* [ios] fix #6361: source query nullability & return nil for unfound results ↵Justin R. Miller2016-09-212-11/+5
| | | | | (#6408) Also removes some dead code in MGLStyle.mm.
* [ios, macos] Clarify MGLGeoJSONSource option units in API docs (#6411)Jesse Bounds2016-09-211-9/+9
|
* [android] enable RELRO (#6419)Ivo van Dongen2016-09-212-0/+1
|