summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* compare polygon ring areas absolutelyqt-v1.0.1Dane Springmeyer2017-03-151-0/+46
| | | | | - This ensures we actually keep the largest polygons - Adds testcase that fails without this patch
* [gcc4.9] Only do bracket initialization where GCC4.9 can handle itThiago Marcos P. Santos2017-01-242-36/+16
| | | | | GCC 4.9 cannot do bracket initialization when one of the attributes already has a default value.
* [core] Isolate pthread-based tls implementationThiago Marcos P. Santos2017-01-241-17/+9
|
* [Qt] Implement mapbox::sqlite::{Database,Statement} using QtSqlBruno de Oliveira Abinader2017-01-232-19/+27
|
* [core] Move lastInsertRowId/changes to sqlite::StatementBruno de Oliveira Abinader2017-01-231-0/+19
|
* [core] Clean up merge_lines.cpp and add bounds checkingJohn Firebaugh2017-01-181-0/+24
|
* [core] Remove platform-specific main.cpp from MBGL_TEST_FILESBruno de Oliveira Abinader2017-01-181-20/+0
|
* [core] Fix calculation of delayed transitionsJohn Firebaugh2017-01-171-0/+94
|
* [core] abort early when placing a glyph in GlyphAtlas if the bitmap is invalidKonstantin Käfer2017-01-171-0/+40
|
* [core] harden Glyph PBF parsingKonstantin Käfer2017-01-174-0/+188
|
* [test] add tests for paths with leading slashesKonstantin Käfer2017-01-171-0/+34
|
* [core] include leading slash in URL.pathKonstantin Käfer2017-01-171-25/+25
|
* [core] add tests for function parsingKonstantin Käfer2017-01-161-0/+54
|
* [tests] Sidestep a gcc or gtest bugJohn Firebaugh2017-01-111-5/+5
| | | | | | | https://github.com/google/googletest/issues/458 https://github.com/google/googletest/issues/322 Not seen in CI because of https://github.com/mapbox/mapbox-gl-native/blob/0ef52d7f7ceee670e8961e811364d215fde7e980/scripts/travis_setup.sh#L17-L22
* [core] Fix flickering caused by regression in #7586John Firebaugh2017-01-103-4/+98
| | | | It should be safe to invoke GeometryTileWorker::setData multiple times without invoking GeometryTileWorker::setLayers. Therefore GeometryTileWorker::redoLayout() must not consume the layers.
* [core] Replace FeatureIndex::collisionTile with a method parameterJohn Firebaugh2017-01-101-9/+1
| | | | This reduces state and simplifies the test added in the prior commit.
* [core] Keep symbol and non-symbol buckets segregatedJohn Firebaugh2017-01-101-0/+43
| | | | Discard prior symbol buckets only when new symbol buckets became available, in order to eliminate flickering when tiles are refreshed.
* [core] Get rid of user-specified refsJohn Firebaugh2017-01-042-0/+142
|
* Happy new year! 🎉Minh Nguyễn2017-01-041-1/+1
|
* [core] Correct boolean function interpolationJohn Firebaugh2016-12-221-10/+20
|
* [core, ios] replace `altitude` with `fov`Ansis Brammanis2016-12-212-7/+9
| | | | | | | | | ported from -js: eb6c6596c6a7a61363d30356674e0002153b1d19 `altitude` was a terribly-named variable that was used to indirectly control the fov. This should eliminate some confusion. `altitude` was equivalent to `cameraToCenterDistance / height`
* [core] refactor URL parsingKonstantin Käfer2016-12-212-1/+186
|
* Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.5-masterMinh Nguyễn2016-12-202-0/+12
|\ | | | | | | Also reran make style-code and manually discarded anything related to fill extrusion layers.
| * [core] guard against duplicate layer idsIvo van Dongen2016-12-131-0/+28
| |
| * [test] Fixed Map-GetImageMinh Nguyễn2016-12-051-1/+1
| | | | | | | | Followup to #7096.
| * [core, ios, macos] Add image accessor to MGLStyle (#7096)Roman Blum2016-12-052-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | * [core] Add interface to get image from sprite atlas * [tests] Add tests for Map::getImage * [ios, macos] WIP: get MGLImage for name from style * [ios, macos] Fixed -imageForName: Convert from sprite images to platform images using the existing encodePNG() function, which is also used for printing. Allow -imageForName: to return nil without an assertion failure. Added a basic test.
| * [core] guard against duplicate source id’sIvo van Dongen2016-12-021-0/+21
| |
| * [core] symbol layer - recalculate style on icon/text size changesIvo van Dongen2016-11-132-4/+4
| |
| * [linux] Use OSMesa when running Node testsBruno de Oliveira Abinader2016-11-131-1/+1
| |
* | [core] Fix symbol rendering for multipointsJohn Firebaugh2016-12-201-24/+26
| | | | | | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/3763 and https://github.com/mapbox/mapbox-gl-js/pull/3806.
* | [core] guard against duplicate layer idsIvo van Dongen2016-12-121-0/+28
| |
* | [core] add util::isURL() for checking whether a string starts with a URL schemeKonstantin Käfer2016-12-071-0/+25
| |
* | [core] Functions must have at least one stopJohn Firebaugh2016-12-012-6/+1
| | | | | | | | This is already enforced by the style validator in mapbox-gl-style-spec. Enforce it here too.
* | [core] Full support for line breaking bidirectional text using ICU bidi ↵Chris Loer2016-11-301-24/+24
| | | | | | | | | | | | | | functionality. - Trim whitespace from labels before determining their max-width for alignment. - Fix crash on labels that contain lines with only a single character of whitespace.
* | [core] guard against duplicate source id’sIvo van Dongen2016-11-301-0/+21
| |
* | [core] Assert valid range for color componentsJohn Firebaugh2016-11-291-16/+16
| |
* | [build] upgrade to variant 1.1.4 and dependenciesKonstantin Käfer2016-11-284-12/+12
| |
* | [android][build] core tests - initial setup for rendering testsIvo van Dongen2016-11-276-2/+11
| |
* | [core] fix up online file source test so it compiles on androidIvo van Dongen2016-11-271-5/+5
| |
* | [build] move logging to utilKonstantin Käfer2016-11-2210-10/+10
| |
* | [build] move headless rendering files to platform/defaultKonstantin Käfer2016-11-2211-22/+22
| |
* | [build] move default ThreadPool implementation to platform/defaultKonstantin Käfer2016-11-2213-13/+13
| |
* | [test] Check all zoom levels in Annotations.SymbolAnnotationBruno de Oliveira Abinader2016-11-181-8/+5
| |
* | [core] Convert style properties to a tuple-based approachJohn Firebaugh2016-11-173-52/+52
| | | | | | | | | | | | | | | | This converts the style property classes (CirclePaintProperties and so on) to the same tuple-based approach as gl::Attribute and gl::Uniform. The approach is outlined in https://github.com/mapbox/cpp/blob/master/C%2B%2B%20Structural%20Metaprogramming.md. The main advantage of this approach is it allows writing algorithms that work on sets of style properties, without resorting to code generation or manually repetitive code. This lets us iterate on approaches to data-driven properties more easily. Another advantage is that the cascading, unevaluated, and evaluated states of a set of properties exist as independent structures, instead of individual properties holding their own state. This is a more functional approach that makes data flow clearer and reduces state.
* | [core] Add minimal line breaking support for RTL text.Chris Loer2016-11-171-24/+24
| |
* | [core] Use UTF-16 instead of UTF-32 for label features to avoid extra ↵Chris Loer2016-11-171-2/+2
| | | | | | | | | | | | | | conversions and reduce in-memory size. Continue to use uint32 as glyph ID to maintain Glyph PBF, even though we're only using 16 bits of that uint32. Use std::codecvt instead of boost::unicode_iterator for UTF8->UTF16 conversions.
* | [linux] Ensure EGL uses OpenGL ES 2.0 client APIBruno de Oliveira Abinader2016-11-171-0/+12
| |
* | [test] Use shared headless displayBruno de Oliveira Abinader2016-11-1712-20/+37
| | | | | | | | Prevents some OpenGL implementations from bailing out.
* | [tests] Disable "ContinuousRendering" test; causing spurious CI failuresJohn Firebaugh2016-11-151-1/+1
| |
* | [core] symbol layer - recalculate style on icon/text size changesIvo van Dongen2016-11-112-4/+4
| |