summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* [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-246-12/+235
|
* [core, node] Implement bindings for addLayerJohn Firebaugh2016-06-2413-49/+497
|
* [core] Adjust layer source properties to better reflect realityJohn Firebaugh2016-06-247-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.hppJohn Firebaugh2016-06-245-341/+463
|
* [core, node] Node bindings for setFilterJohn Firebaugh2016-06-211-1/+131
|
* [core] Rewrite style parsing logic for reuse in node bindingsJohn Firebaugh2016-06-211-0/+263
|
* [core] s/Wireframe/Overdraw/gBruno de Oliveira Abinader2016-06-201-1/+1
|
* [core] Added BlendColor GL config valueBruno de Oliveira Abinader2016-06-201-0/+13
|
* [core] Added missing BlendFunc operatorBruno de Oliveira Abinader2016-06-201-0/+4
|
* [core] Cleaned up TransitionOptionsBruno de Oliveira Abinader2016-06-201-7/+3
|
* [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-1810-70/+70
|
* [core] Cleaned up enum classesBruno de Oliveira Abinader2016-06-184-21/+21
| | | | | - Replaced static_cast with C++ casts. - Replaced inline with constexpr.
* [core] Avoid unnecessary work when a symbol annotation is updatedJohn Firebaugh2016-06-171-1/+2
| | | | In particular, if only the geometry changes, don't cascade and recalculate the style.
* [core] Runtime source API: Map methodsJohn Firebaugh2016-06-161-0/+7
|
* [core] Runtime source API: private implsJohn Firebaugh2016-06-165-0/+150
|
* [core, node] Implement setPaintProperty for color properties (#5380)John Firebaugh2016-06-162-1/+6
|
* [core] Prepare Filter and FilterEvaluator for extraction (#5366)John Firebaugh2016-06-153-16/+214
|
* Support for icon-text-fit, icon-text-fit-padding (#5334)Young Hahn2016-06-152-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 ColorJohn Firebaugh2016-06-153-10/+19
|
* [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-152-4/+18
| | | | | | * Color class * Switch to list initialization
* [tidy/linux] modernize-use-nullptrBruno de Oliveira Abinader2016-06-141-1/+1
|
* [core] Use Range<uint8_t> instead of full Tileset where possibleJohn Firebaugh2016-06-142-2/+27
|
* [core] Introduce Map::getLayerJohn Firebaugh2016-06-131-0/+1
|
* [core] Extract code templates to individual .ejs filesJohn Firebaugh2016-06-131-0/+76
|
* [core] Make enum ↔ string conversion more generic-friendlyJohn Firebaugh2016-06-133-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-overrideBruno de Oliveira Abinader2016-06-132-2/+2
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-use-override.html
* [tidy] Check modernize-pass-by-valueBruno de Oliveira Abinader2016-06-136-12/+12
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
* [tidy] Check llvm-namespace-commentBruno de Oliveira Abinader2016-06-131-1/+1
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html
* [core] fix pedantic warning messagesKonstantin Käfer2016-06-134-31/+4
|
* [test] Added Projection testsBruno de Oliveira Abinader2016-06-132-5/+11
|
* text-pitch-alignment (#5288)Young Hahn2016-06-102-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 itKonstantin Käfer2016-06-102-0/+12
|
* [core] mbgl::Image is now movable, noncopyableBruno de Oliveira Abinader2016-06-071-1/+15
|
* [core] Naive atomic type for ARMv5Thiago Marcos P. Santos2016-06-062-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 setStyleJSONJohn Firebaugh2016-06-021-2/+2
|
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-0219-55/+143
|
* [core] Add {min,max}Zoom accessorsJohn Firebaugh2016-06-021-0/+6
|
* [core] Add Filter accessorsJohn Firebaugh2016-06-028-0/+131
|
* [core] Introduce PropertyValue<T>John Firebaugh2016-06-027-167/+170
| | | | PropertyValue<T> represents the three possible types of style property value: undefined, constant, or function.
* [core] Generalize Map::{add,remove}CustomLayerJohn Firebaugh2016-06-024-49/+44
|
* [core] Runtime style layer APIJohn Firebaugh2016-06-029-0/+592
|
* [core] Constrain annotation API to the supported geometry typesJohn Firebaugh2016-06-011-4/+10
|
* [all] Rationalize annotation APIJohn Firebaugh2016-06-016-67/+80
|
* [core] Use geometry.hpp types for shape annotationsJohn Firebaugh2016-06-012-8/+7
|
* [core] Do annotation longitude wrapping together with latitude clampingJohn Firebaugh2016-06-011-15/+1
|