Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Added CharArrayBuffer | Bruno de Oliveira Abinader | 2016-06-30 | 1 | -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 logic | Bruno de Oliveira Abinader | 2016-06-28 | 1 | -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 addSource | John Firebaugh | 2016-06-24 | 6 | -12/+235 |
| | |||||
* | [core, node] Implement bindings for addLayer | John Firebaugh | 2016-06-24 | 13 | -49/+497 |
| | |||||
* | [core] Adjust layer source properties to better reflect reality | John Firebaugh | 2016-06-24 | 7 | -29/+17 |
| | | | | | | | | * Layer source ID is immutable; must be provided to the constructor * Layer source layer is mutable * Layers with GeoJSON sources do not have a source layer While here, make Layer::copy impl-private. | ||||
* | [core] Split up and clean up conversion.hpp | John Firebaugh | 2016-06-24 | 5 | -341/+463 |
| | |||||
* | [core, node] Node bindings for setFilter | John Firebaugh | 2016-06-21 | 1 | -1/+131 |
| | |||||
* | [core] Rewrite style parsing logic for reuse in node bindings | John Firebaugh | 2016-06-21 | 1 | -0/+263 |
| | |||||
* | [core] s/Wireframe/Overdraw/g | Bruno de Oliveira Abinader | 2016-06-20 | 1 | -1/+1 |
| | |||||
* | [core] Added BlendColor GL config value | Bruno de Oliveira Abinader | 2016-06-20 | 1 | -0/+13 |
| | |||||
* | [core] Added missing BlendFunc operator | Bruno de Oliveira Abinader | 2016-06-20 | 1 | -0/+4 |
| | |||||
* | [core] Cleaned up TransitionOptions | Bruno de Oliveira Abinader | 2016-06-20 | 1 | -7/+3 |
| | |||||
* | [core] Added mbgl::util::DEFAULT_TRANSITION_EASE | Bruno de Oliveira Abinader | 2016-06-20 | 1 | -0/+3 |
| | |||||
* | [core] UnitBezier ctor is now constexpr | Bruno de Oliveira Abinader | 2016-06-20 | 1 | -20/+19 |
| | |||||
* | [core] Avoid redundant 'inline' usage | Bruno de Oliveira Abinader | 2016-06-18 | 10 | -70/+70 |
| | |||||
* | [core] Cleaned up enum classes | Bruno de Oliveira Abinader | 2016-06-18 | 4 | -21/+21 |
| | | | | | - Replaced static_cast with C++ casts. - Replaced inline with constexpr. | ||||
* | [core] Avoid unnecessary work when a symbol annotation is updated | John Firebaugh | 2016-06-17 | 1 | -1/+2 |
| | | | | In particular, if only the geometry changes, don't cascade and recalculate the style. | ||||
* | [core] Runtime source API: Map methods | John Firebaugh | 2016-06-16 | 1 | -0/+7 |
| | |||||
* | [core] Runtime source API: private impls | John Firebaugh | 2016-06-16 | 5 | -0/+150 |
| | |||||
* | [core, node] Implement setPaintProperty for color properties (#5380) | John Firebaugh | 2016-06-16 | 2 | -1/+6 |
| | |||||
* | [core] Prepare Filter and FilterEvaluator for extraction (#5366) | John Firebaugh | 2016-06-15 | 3 | -16/+214 |
| | |||||
* | Support for icon-text-fit, icon-text-fit-padding (#5334) | Young Hahn | 2016-06-15 | 2 | -0/+13 |
| | | | | | | | | | | * Add support for icon-text-fit * Port unit tests for getIconQuads() from js => cpp * Add support for padding in all 4 directions. * Update all hashes post-merge | ||||
* | [core] Add a few conveniences to Color | John Firebaugh | 2016-06-15 | 3 | -10/+19 |
| | |||||
* | [core] Added mbgl::util::convert helper function | Bruno de Oliveira Abinader | 2016-06-15 | 1 | -0/+17 |
| | | | | | Converts a given std::array into another using a different (convertible) type. | ||||
* | Color class (#5361) | Young Hahn | 2016-06-15 | 2 | -4/+18 |
| | | | | | | * Color class * Switch to list initialization | ||||
* | [tidy/linux] modernize-use-nullptr | Bruno de Oliveira Abinader | 2016-06-14 | 1 | -1/+1 |
| | |||||
* | [core] Use Range<uint8_t> instead of full Tileset where possible | John Firebaugh | 2016-06-14 | 2 | -2/+27 |
| | |||||
* | [core] Introduce Map::getLayer | John Firebaugh | 2016-06-13 | 1 | -0/+1 |
| | |||||
* | [core] Extract code templates to individual .ejs files | John Firebaugh | 2016-06-13 | 1 | -0/+76 |
| | |||||
* | [core] Make enum ↔ string conversion more generic-friendly | John Firebaugh | 2016-06-13 | 3 | -78/+23 |
| | | | | | | 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-use-override | Bruno de Oliveira Abinader | 2016-06-13 | 2 | -2/+2 |
| | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-override.html | ||||
* | [tidy] Check modernize-pass-by-value | Bruno de Oliveira Abinader | 2016-06-13 | 6 | -12/+12 |
| | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html | ||||
* | [tidy] Check llvm-namespace-comment | Bruno de Oliveira Abinader | 2016-06-13 | 1 | -1/+1 |
| | | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html | ||||
* | [core] fix pedantic warning messages | Konstantin Käfer | 2016-06-13 | 4 | -31/+4 |
| | |||||
* | [test] Added Projection tests | Bruno de Oliveira Abinader | 2016-06-13 | 2 | -5/+11 |
| | |||||
* | text-pitch-alignment (#5288) | Young Hahn | 2016-06-10 | 2 | -5/+9 |
| | | | | | | | | | | | | * First pass at port of https://github.com/mapbox/mapbox-gl-js/pull/2668 * RotationAlignmentType => AlignmentType * Handle undefined default value for text-pitch-alignment and implement inheritance for this value from text-rotation-alignment * Update dependencies * Move handling fo undefined default value out of camelize functions | ||||
* | [core] only perform optional requests if the FileSource supports it | Konstantin Käfer | 2016-06-10 | 2 | -0/+12 |
| | |||||
* | [core] mbgl::Image is now movable, noncopyable | Bruno de Oliveira Abinader | 2016-06-07 | 1 | -1/+15 |
| | |||||
* | [core] Naive atomic type for ARMv5 | Thiago Marcos P. Santos | 2016-06-06 | 2 | -7/+8 |
| | | | | | | | 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, node, android] Remove used "base" parameter from setStyleJSON | John Firebaugh | 2016-06-02 | 1 | -2/+2 |
| | |||||
* | [core] Rationalize naming for style-related code | John Firebaugh | 2016-06-02 | 19 | -55/+143 |
| | |||||
* | [core] Add {min,max}Zoom accessors | John Firebaugh | 2016-06-02 | 1 | -0/+6 |
| | |||||
* | [core] Add Filter accessors | John Firebaugh | 2016-06-02 | 8 | -0/+131 |
| | |||||
* | [core] Introduce PropertyValue<T> | John Firebaugh | 2016-06-02 | 7 | -167/+170 |
| | | | | PropertyValue<T> represents the three possible types of style property value: undefined, constant, or function. | ||||
* | [core] Generalize Map::{add,remove}CustomLayer | John Firebaugh | 2016-06-02 | 4 | -49/+44 |
| | |||||
* | [core] Runtime style layer API | John Firebaugh | 2016-06-02 | 9 | -0/+592 |
| | |||||
* | [core] Constrain annotation API to the supported geometry types | John Firebaugh | 2016-06-01 | 1 | -4/+10 |
| | |||||
* | [all] Rationalize annotation API | John Firebaugh | 2016-06-01 | 6 | -67/+80 |
| | |||||
* | [core] Use geometry.hpp types for shape annotations | John Firebaugh | 2016-06-01 | 2 | -8/+7 |
| | |||||
* | [core] Do annotation longitude wrapping together with latitude clamping | John Firebaugh | 2016-06-01 | 1 | -15/+1 |
| |