Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Return {Source,Layer}::getID by value | John Firebaugh | 2017-05-12 | 4 | -4/+4 |
| | | | | | | | | | | Avoid dangling references in the following sequence: auto& id = layer->getID(); layer->setMaxZoom(2); std::cout << id; The reference would be dangling because mutating the layer allocates a new Immutable impl, and there may be no references to the prior impl, which held the id. | ||||
* | [core] Remove unused RenderLayer::clone | John Firebaugh | 2017-05-12 | 17 | -51/+0 |
| | |||||
* | [core] Immutable Impls | John Firebaugh | 2017-05-12 | 124 | -1485/+2590 |
| | |||||
* | [build] Don't run Travis 'check' build on master | Bruno de Oliveira Abinader | 2017-05-12 | 2 | -1/+4 |
| | |||||
* | [build] Explicitely set Clang as compiler in 'check' Travis CI build | Bruno de Oliveira Abinader | 2017-05-12 | 1 | -3/+4 |
| | |||||
* | [tidy] modernize-make-unique | Bruno de Oliveira Abinader | 2017-05-12 | 1 | -1/+1 |
| | |||||
* | [tidy] modernize-loop-convert | Bruno de Oliveira Abinader | 2017-05-12 | 3 | -9/+9 |
| | |||||
* | [tidy] modernize-deprecated-headers | Bruno de Oliveira Abinader | 2017-05-12 | 3 | -3/+3 |
| | |||||
* | [tidy] modernize-raw-string-literal | Bruno de Oliveira Abinader | 2017-05-12 | 8 | -25/+25 |
| | |||||
* | [tidy] modernize-pass-by-value | Bruno de Oliveira Abinader | 2017-05-12 | 6 | -13/+19 |
| | |||||
* | [tidy] modernize-use-emplace | Bruno de Oliveira Abinader | 2017-05-12 | 2 | -3/+3 |
| | |||||
* | [tidy] modernize-use-equals-default | Bruno de Oliveira Abinader | 2017-05-12 | 6 | -12/+7 |
| | |||||
* | [tidy] modernize-use-nullptr | Bruno de Oliveira Abinader | 2017-05-12 | 3 | -16/+16 |
| | |||||
* | [tidy] modernize-use-bool-literals | Bruno de Oliveira Abinader | 2017-05-12 | 1 | -1/+1 |
| | |||||
* | [tidy] modernize-use-override | Bruno de Oliveira Abinader | 2017-05-12 | 4 | -4/+4 |
| | |||||
* | [tidy] modernize-use-default-member-init | Bruno de Oliveira Abinader | 2017-05-12 | 3 | -13/+10 |
| | |||||
* | [tidy] modernize-use-using | Bruno de Oliveira Abinader | 2017-05-12 | 13 | -38/+67 |
| | |||||
* | [tidy] modernize-use-auto | Bruno de Oliveira Abinader | 2017-05-12 | 25 | -50/+49 |
| | |||||
* | [tidy] llvm-namespace-comment | Bruno de Oliveira Abinader | 2017-05-12 | 13 | -14/+14 |
| | |||||
* | [core] Removed unused namedColorCount | Bruno de Oliveira Abinader | 2017-05-12 | 1 | -3/+0 |
| | | | | warning: unused variable 'namedColorCount' [clang-diagnostic-unused-const-variable] | ||||
* | [core] Make deleted members public | Bruno de Oliveira Abinader | 2017-05-12 | 2 | -7/+9 |
| | | | | warning: deleted member function should be public [modernize-use-equals-delete] | ||||
* | [core] Explicitly use mbgl::optional in IdentityStops::evaluate | Bruno de Oliveira Abinader | 2017-05-12 | 1 | -2/+3 |
| | | | | | | error: call to constructor of 'optional<std::array<float, 2> >' (aka 'std::experimental::fundamentals_v1::optional<std::array<float, 2> >') is ambiguous [clang-diagnostic-error] | ||||
* | [core] Avoid calling virtual GeometryTile::cancel() on dtor | Bruno de Oliveira Abinader | 2017-05-12 | 2 | -1/+7 |
| | | | | | warning: Call to virtual function during destruction will not dispatch to derived class [clang-analyzer-optin.cplusplus.VirtualCall] | ||||
* | [tidy] Disable clang-analyzer-core.{NullDereference,NonNullParamChecker} | Bruno de Oliveira Abinader | 2017-05-12 | 1 | -1/+1 |
| | | | | This caused unrelated issues coming from rapidjson headers. | ||||
* | [tidy] Added test/.clang-tidy | Bruno de Oliveira Abinader | 2017-05-12 | 1 | -0/+2 |
| | | | | | Disabled some clang-tidy tests that were erroneously catching errors from gtest header macros. | ||||
* | [build] Bump clang-{tidy,format} to 4.0.0 | Bruno de Oliveira Abinader | 2017-05-12 | 1 | -37/+41 |
| | |||||
* | [android] Update attribution wordmark (#8774) | Eric Wolfe | 2017-05-12 | 13 | -58/+62 |
| | | | | | | | | * Update wordmark on android * Moved attribution i icon to the right of mapbox word (in mapview preview image) * update padding and margin | ||||
* | [core] allow filesource url transform reset | Ivo van Dongen | 2017-05-12 | 1 | -6/+10 |
| | |||||
* | [android] Fix gradle developer config creation task with discussed ↵ | Pablo Guardiola | 2017-05-12 | 3 | -6/+59 |
| | | | | | | | | suggestions (#8897) * fix gradle developer config creation task with discussed suggestions * fix access token not set error message | ||||
* | [core, android, ios, macos] Added Traffic Day/Night to default styles | Minh Nguyễn | 2017-05-11 | 14 | -39/+170 |
| | | | | | | The Styles API section of the Mapbox API Documentation site now lists Traffic Day v2 and Traffic Night v2, so this change adds those styles to all the places where styles are listed. Also switched iosapp and macosapp to unversioned style factory methods since MGLStyleDefaultVersion is no longer applicable for all styles. | ||||
* | [ios, macos] Undeprecated unversioned style URL factory methods | Minh Nguyễn | 2017-05-11 | 7 | -59/+124 |
| | | | | | | Undeprecated the unversioned style URL factory methods in MGLStyle for consistency with the Android and Qt SDKs. Added warnings about using them with the runtime styling API. Refactored mbgl::util::default_styles to track different versions for different styles. | ||||
* | [ios, macos] Updated documented default style version | Minh Nguyễn | 2017-05-11 | 2 | -19/+6 |
| | | | | MGLStyleDefaultVersion is just for Streets now. Deleted style version documentation tests because not all styles are on the same version. | ||||
* | [core, android, ios, macos, qt] v10 default styles | Minh Nguyễn | 2017-05-11 | 11 | -21/+22 |
| | | | | Upgraded from v9 default styles to v10 wherever the developer expects to get the latest and greatest, as well as in a couple tests where it may be beneficial to ensure that we can handle a two-digit version number in the style URL. | ||||
* | [ios] remove Secure Transport exception from demo app | Konstantin Käfer | 2017-05-11 | 2 | -15/+1 |
| | |||||
* | [android] - build SNAPSHOT from release branch (#8958) | Tobrun | 2017-05-11 | 1 | -1/+1 |
| | |||||
* | [Qt] Add example of adding a layer before other layer | Thiago Marcos P. Santos | 2017-05-11 | 1 | -2/+5 |
| | |||||
* | [Qt] Make it possible to add a layer before another layer | Thiago Marcos P. Santos | 2017-05-11 | 2 | -7/+9 |
| | |||||
* | [android] fix ui test filter in makefile | Ivo van Dongen | 2017-05-11 | 1 | -1/+1 |
| | |||||
* | [android] url getter on sources | Ivo van Dongen | 2017-05-11 | 10 | -2/+92 |
| | |||||
* | [core] When a layer is added, reload its source's tiles | John Firebaugh | 2017-05-11 | 2 | -15/+16 |
| | |||||
* | [android] refactor move unit tests from test app to sdk and add some ↵ | Pablo Guardiola | 2017-05-11 | 44 | -389/+939 |
| | | | | annotation manager tests (add marker and add markers) (#8261) | ||||
* | [core] Remove StyleSourcedAnnotation support | John Firebaugh | 2017-05-10 | 14 | -150/+1 |
| | | | | The functionality this provided has been subsumed by the runtime styling API. | ||||
* | [ios] Use map view frame to calculate annotation view reuse adjustments (#8926) | Jesse Bounds | 2017-05-09 | 1 | -8/+6 |
| | | | | | | * [ios] Use map view frame to calculate annotation view reuse adjustments The value for determining the visible viewport buffer and also the distance to move offscreen an annotation view outside of that buffer was based on the annotation view width and height. This changes that to use the map viewport width and height as constants and avoids a class of bugs where the annotation view would become detached from the tracking system when it did not have a size or was animating from a small to large size. | ||||
* | [build] Suppress GLFW redefining GLAPIENTRY error | Bruno de Oliveira Abinader | 2017-05-09 | 3 | -5/+19 |
| | |||||
* | [android] Added Swedish localization from Transifex | Minh Nguyễn | 2017-05-08 | 2 | -0/+16 |
| | |||||
* | [ios, macos] Updated localizations from Transifex | Minh Nguyễn | 2017-05-08 | 15 | -22/+253 |
| | | | | | | Pulled various translations from Transifex. Although Transifex supports the stringsdict format, it doesn’t allow translators to customize the format. This change splits out a separate “level” key for the same format string and moves any prefixes and suffixes into the “level” and “count” keys. For now, each localization has been updated manually, but future updates will come from Transifex. | ||||
* | [ios] Configured stringsdict from Transifex | Minh Nguyễn | 2017-05-08 | 1 | -1/+11 |
| | |||||
* | [ios, macos] Moved DDS guide examples to Swift unit test | Minh Nguyễn | 2017-05-08 | 8 | -134/+344 |
| | | | | Moved example code from DDS guide to a unit test written in Swift. The code is inserted into the guide at codegen time. | ||||
* | [ios, macos] Fixed syntax error in DDS guide | Minh Nguyễn | 2017-05-08 | 3 | -10/+9 |
| | |||||
* | [core, android] Factor JSON string conversions | John Firebaugh | 2017-05-08 | 19 | -187/+131 |
| | | | | | | | | | | | This adds a `convertJSON` template, to be used like: Error error optional<Foo> foo = convertJSON<Foo>(string, error); Internally, it parses the string with RapidJSON and then calls `convert<Foo>(parsed, error)`. While here, rationalize GeoJSON converters and fix error handling for Tileset conversion in OfflineDownload. |