summaryrefslogtreecommitdiff
path: root/include/mbgl/util
Commit message (Collapse)AuthorAgeFilesLines
...
* [core] operator bool() must always be explicitJohn Firebaugh2016-10-281-1/+1
| | | | Otherwise, it can participate in unexpected conversions. Case in point: GlyphSet::insert was comparing the result of GlyphMetrics::operator bool() where it wanted to use operator==.
* [core] change std::array<uint16_t, 2> to mbgl::SizeKonstantin Käfer2016-10-272-18/+50
|
* [core] extract weak_ptr mailbox->receive into Mailbox::maybeReceiveMike Morris2016-10-201-3/+1
|
* [core] TileCoordinate::fromLatLng no longer depens on TransformStateBruno de Oliveira Abinader2016-10-191-1/+1
|
* [core] Move TransformState::{un,}project() to ProjectionBruno de Oliveira Abinader2016-10-191-0/+16
|
* [core] Move TransformState::worldSize() to ProjectionBruno de Oliveira Abinader2016-10-191-4/+10
|
* [core] standardize on uint16_t for texture sizesKonstantin Käfer2016-09-271-6/+6
|
* [core] Use an actor model for tile worker concurrencyJohn Firebaugh2016-09-161-2/+13
|
* [core] [android] - public api configurable base endpoint (#6309)Tobrun2016-09-151-0/+2
| | | add runloop to test
* [core] OnlineFileSource - rate limitIvo van Dongen2016-09-132-0/+4
|
* [core] Don't use std::move on forwarding referencesJohn Firebaugh2016-09-081-13/+16
|
* [core] Rework invokeWithCallback so that the callback is lastJohn Firebaugh2016-09-083-11/+25
|
* [core] Extract WorkTaskImpl from run_loop.hppJohn Firebaugh2016-09-083-83/+105
|
* [core] support "scheme": "tms" in TileJSON filesKonstantin Käfer2016-08-161-0/+3
|
* [core] Use NDEBUG instead of DEBUGBruno de Oliveira Abinader2016-08-051-1/+1
| | | | | CMake defines 'NDEBUG' by default for release build, so we can check if that's not defined instead of using 'DEBUG' for debug build.
* GeoJSON point clustering (#5724)Vladimir Agafonkin2016-07-271-15/+3
| | | | | | | | | | | | | | | | * add supercluster dependency * prepare GeoJSONTile for Supercluster * prepare GeoJSONSource for accepting options * try removing mbgl::GeoJSON * fix setGeoJSON types * add GeoJSONSource getURL * add geojson to include path * add Supercluster index in GeoJSONSource * fix GeoJSONSource getZoomRange * bring back mbgl::GeoJSON header * fix tidy warnings hopefully * try test-suite with enabled cluster test * fix formatting in clustering-related files
* [core] Add support for $id key to filtersJohn Firebaugh2016-07-181-5/+1
| | | | https://github.com/mapbox/mapbox-gl-style-spec/issues/391
* [core] Revert workaround for std::atomic on ARMv5Thiago Marcos P. Santos2016-07-131-5/+5
| | | | | | Got fix on r12. https://github.com/android-ndk/ndk/issues/31
* Merge branch 'release-ios-v3.3.0' into masterJesse Bounds2016-07-071-0/+12
|\
| * [ios] #3979 compress telemetry events (#5490)Fredrik Karlsson2016-07-051-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios] #3979 wip gzip telemetry events * [ios] expose compression from core instead of adding a new dependency * [ios] #3979 Exposed decompress from mbgl and added a test case * [ios] #3979 cleanup * [ios] #3979 cleaned up test case * [ios] #3979 cleanup * [ios] #3979 gzip -> deflate
* | [core] geometry@0.8.0 / geojsonvt@6.0.0 (#5514)Young Hahn2016-07-062-3/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] geometry.hpp 0.8.0 * geojsonvt @ 6.0.0 * Update platform deps, build scripts * Perf optimizations/cleanup * Rebase in geometry@080 * D.R.Y. etc * Ensure fill annotation geometries have closed rings. * Optimizations * Update to geojsonvt @ 6.1.0 for clean handoff between geojson parsing and geojsonvt * Apply close multi/poly geoms for line annotations as well
* | [core] code style cleanupsKonstantin Käfer2016-07-011-4/+4
| | | | | | | | | | | | | | - puts function definitions in a namespace ... {} rather than using namespace ...; - remove trailing whitespace - add trailing newline - protect SQL statements from being formatted by clang-format
* | [core] Added CharArrayBufferBruno de Oliveira Abinader2016-06-301-0/+55
| | | | | | | | | | | | | | | | Implements a custom std::streambuf to avoid creating temporary std::string objects and thus optimizing image decode. Suggested by @artemp in https://github.com/mapbox/mapbox-gl-native/pull/5417#issuecomment-227700063.
* | [core] Use the right types for zoom scale logicBruno de Oliveira Abinader2016-06-281-1/+1
| | | | | | | | | | | | | | 32 bit integers should be enough for zoom scale logic. In shape annotation logic, 'maxAmountOfTileFeatures' requires 64 bits because we are multiplying the zoom scale with the extent, which might give a number higher than std::numeric_limits<uint32_t>::max().
* | [core, node] Implement bindings for addSourceJohn Firebaugh2016-06-241-0/+22
| |
* | [core] Added mbgl::util::DEFAULT_TRANSITION_EASEBruno de Oliveira Abinader2016-06-201-0/+3
| |
* | [core] UnitBezier ctor is now constexprBruno de Oliveira Abinader2016-06-201-20/+19
| |
* | [core] Avoid redundant 'inline' usageBruno de Oliveira Abinader2016-06-184-16/+16
| |
* | [core] Cleaned up enum classesBruno de Oliveira Abinader2016-06-182-9/+9
| | | | | | | | | | - Replaced static_cast with C++ casts. - Replaced inline with constexpr.
* | [core] Runtime source API: private implsJohn Firebaugh2016-06-161-0/+20
| |
* | [core, node] Implement setPaintProperty for color properties (#5380)John Firebaugh2016-06-161-1/+5
| |
* | [core] Prepare Filter and FilterEvaluator for extraction (#5366)John Firebaugh2016-06-151-0/+7
| |
* | [core] Add a few conveniences to ColorJohn Firebaugh2016-06-151-3/+15
| |
* | [core] Added mbgl::util::convert helper functionBruno de Oliveira Abinader2016-06-151-0/+17
| | | | | | | | | | Converts a given std::array into another using a different (convertible) type.
* | Color class (#5361)Young Hahn2016-06-151-1/+15
| | | | | | | | | | | | * Color class * Switch to list initialization
* | [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
|