summaryrefslogtreecommitdiff
path: root/include/mbgl/util
Commit message (Collapse)AuthorAgeFilesLines
* [core] Use Range<uint8_t> instead of full Tileset where possibleJohn Firebaugh2016-06-141-0/+25
|
* [core] Make enum ↔ string conversion more generic-friendlyJohn Firebaugh2016-06-131-38/+22
| | | | | | Rewrite enum.hpp in such a way that parseConstant can be defined generically for all enumerated types. While there, properly validated enumerated property values.
* [tidy] Check modernize-pass-by-valueBruno de Oliveira Abinader2016-06-131-2/+2
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
* [core] fix pedantic warning messagesKonstantin Käfer2016-06-131-1/+1
|
* [test] Added Projection testsBruno de Oliveira Abinader2016-06-132-5/+11
|
* [core] mbgl::Image is now movable, noncopyableBruno de Oliveira Abinader2016-06-071-1/+15
|
* [core] Naive atomic type for ARMv5Thiago Marcos P. Santos2016-06-061-5/+5
| | | | | | | 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.
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-022-0/+27
|
* [core] Add Filter accessorsJohn Firebaugh2016-06-021-0/+10
|
* [all] Rationalize annotation APIJohn Firebaugh2016-06-011-0/+37
|
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-2518-72/+18
|
* [core] use rapidjson's dtoa implementation to stringify floating point numbersKonstantin Käfer2016-05-181-0/+14
|
* [core] Feature IDs are always integersJohn Firebaugh2016-05-171-1/+1
|
* [core] Introduce StyleQueryParameters; push coordinate calculations into SourceJohn Firebaugh2016-05-171-0/+2
|
* [core] Use mapbox::geometry::box in queryRenderedFeaturesJohn Firebaugh2016-05-131-0/+2
|
* [core] Remove unusedJohn Firebaugh2016-05-131-13/+0
|
* [core] move from microsecond precision timestamp to integer second precisionKonstantin Käfer2016-05-132-7/+10
|
* [core] move TileData and dependents to new *TileID classesKonstantin Käfer2016-05-101-3/+5
|
* [ios, osx] Renamed Hybrid to Satellite StreetsMinh Nguyễn2016-05-061-2/+2
| | | | The style ID has also changed, but the unversioned method will continue to point to the old v8 style ID.
* [core, ios, osx] Version default style URL APIs; deprecated EmeraldMinh Nguyễn2016-05-061-2/+4
| | | | | | | | | | Updated default styles from v8 to v9. Deprecated the MGLMapView class methods in favor of new methods that take a version parameter. Deprecated Emerald outright in favor of Outdoors. Replaced usage of the unversioned MGLStyle methods with the corresponding versioned methods and MGLStyleCurrentVersion to ensure consistency. Expanded MGLStyle unit tests to also assert that MGLStyle has the right number of style URL methods and that they’re all public. Linked the OS X SDK unit test bundle to libmbgl-core.a. Removed an unnecessary dependency on osxapp. Replaced Emerald with Outdoors in iosapp and osxapp. Fixes the iOS and OS X side of #4577 and #4702.
* [core] Use geometry.hpp's pointJohn Firebaugh2016-05-051-2/+4
|
* [core] Inline LatLng::project definition the one place it's usedJohn Firebaugh2016-05-051-2/+0
|
* [core] Privatize math.hpp and vec.hppJohn Firebaugh2016-05-054-287/+2
|
* [core] Privatize various util headers (#4945)John Firebaugh2016-05-044-142/+0
|
* [core] Use geometry.hpp feature typeJohn Firebaugh2016-05-031-0/+19
|
* [core] Replace boost::lexical_cast with std::to_stringJohn Firebaugh2016-05-021-25/+7
| | | | This removes the only boost dependency from public headers.
* [core] Remove duplicate copy of utf.hppJohn Firebaugh2016-05-021-25/+0
|
* [core] Remove unusedJohn Firebaugh2016-05-021-24/+0
|
* [core] implement queryRenderedFeaturesAnsis Brammanis2016-04-291-0/+17
|
* [core] Added mbgl::underlying_typeBruno de Oliveira Abinader2016-04-281-0/+15
|
* [core] Fix compilation warningBruno de Oliveira Abinader2016-04-201-2/+2
|
* [android] Introduce RunLoop based on LooperThiago Marcos P. Santos2016-04-061-1/+2
| | | | Also implement a Timer and AsyncTask based on Android's Looper.
* Merge branch 'release-ios-3.2.0-android-4.0.0'John Firebaugh2016-03-301-0/+6
|\
| * [core] Assert and guard against null std::exception_ptr in toStringJohn Firebaugh2016-03-161-0/+6
| | | | | | | | We don't expect toString to be called with a null std::exception_ptr. But if it is, we'd prefer not to terminate the process in release builds.
* | [core] Unify FileRequest and WorkRequestJohn Firebaugh2016-03-243-5/+17
| |
* | [test] remove crc64 and compare imagesKonstantin Käfer2016-03-221-0/+7
| | | | | | | | boost's crc64 breaks on iOS
* | [glfw] Main loop integrationThiago Marcos P. Santos2016-03-211-0/+29
| | | | | | | | | | | | This new code can be used for rendering on the Main thread while it will also work for rendering on the Map thread before we make the switch. Needed by #2909.
* | [core] Default fade duration is now a constantBruno de Oliveira Abinader2016-03-181-0/+1
| |
* | [core] Check for NaNs in mbgl::util::{min,max,clamp}Bruno de Oliveira Abinader2016-03-182-20/+22
| |
* | [core] use constexpr constantsKonstantin Käfer2016-03-161-17/+28
| |
* | [core] Simplify LatLng::unwrapForShortestPath usageBruno de Oliveira Abinader2016-03-141-9/+8
| | | | | | | | | | | | | | | | | | | | Simplify LatLng::{wrap,unwrapForShortestPath} code, avoiding duplicated code between Transform::{latLngToScreenCoordinate,easeTo,flyTo}. Added unit tests for camera usage in Transform to detect cases like e.g. crossing the antimeridian as a shortest path between two coordinates. Transform::flyTo precision loss to be handled in #4298.
* | [core] Implement LatLng::null()Bruno de Oliveira Abinader2016-03-131-0/+4
|/
* [core] Make vec{2,3,4} operator bool explicitBruno de Oliveira Abinader2016-03-111-6/+6
|
* [core] Check for NaNs in EdgeInsetsBruno de Oliveira Abinader2016-03-101-2/+3
|
* [core] Remove _validPoint from Transform codeBruno de Oliveira Abinader2016-03-101-0/+25
| | | | vec2<T>::operator bool() checks for NaNs already.
* [core] Coordinate wrapping fixesBruno de Oliveira Abinader2016-03-101-13/+11
| | | | | | | | | | | | | | | - Make returning LatLngs unwrapped by default. - PointAnnotation and ShapeAnnotation are always wrapped so they can be selected via intersection from the visible tile boundaries. - Fixes LatLng::wrap() calculation. - Fixes LatLng::unwrapForShortestPath() calculation. The new unwrapForShortestPath algorithm unwraps the start coordinate either forwards or backwards depending on the end coordinate value, so we can always cross the antimeridian when needed and still obtain a wrapped end coordinate in the end. Fixes #4214.
* [core] Regression fix in LatLng::unwrapForShortestPathBruno de Oliveira Abinader2016-03-031-1/+5
| | | | | | | When porting this from Transform::unwrapLatLng, I forgot to check for the second alternative. Fixes #4174.
* [core] Avoid precompute overscaling for TileIDBruno de Oliveira Abinader2016-03-011-0/+5
| | | | Plus type change for zoom and removed redundant inlines.
* [core] Added DEGREES_MAX as constant valueBruno de Oliveira Abinader2016-03-012-1/+2
|
* [core] Moved wrapping to LatLng scopeBruno de Oliveira Abinader2016-03-011-4/+22
| | | | Fixes a precision loss when converting unwrapped LatLngs.