summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [tests] Removed dead codeThiago Marcos P. Santos2016-08-241-8/+0
|
* [tests] Add unit test for style loading failuresThiago Marcos P. Santos2016-08-241-0/+32
|
* [core] Emit MapChangeDidFailLoadingMap when the style cannot be loaded or parsedThiago Marcos P. Santos2016-08-243-4/+9
| | | | | Currently this signal is never emitted, which can cause the Still mode to starve in case of an invalid style or failed request.
* [core] Simplify Thread::invokeSync (#6128)John Firebaugh2016-08-241-3/+3
|
* [core] Update SQLite schema with WAL journal mode and normal syncJason Wray2016-08-231-5/+5
| | | | Offers 2×-4× performance, depending on device vintage.
* [tests] Test that style mutations due to annotations don't cancel style ↵John Firebaugh2016-08-231-0/+26
| | | | revalidation
* [core] Don't allow style mutations to be overwritten by revalidationJohn Firebaugh2016-08-232-0/+124
| | | | | * Once we get a fresh style, stop revalidating. * If the style is mutated, stop revalidating and preserve the existing mutations.
* [tests] Fix a subtle ordering bug in StubFileSourceJohn Firebaugh2016-08-231-2/+10
|
* [tests] Merge single test in set_style.cpp with other Map testsJohn Firebaugh2016-08-232-33/+19
|
* [core] #6071 - extract GeoJSONOptions conversion from GeoJSONSource conversionIvo van Dongen2016-08-232-0/+179
| | | | | | | | | | | | | | * [core] geojson_options - retain original error message * [core] tests - initial style conversion stub methods * [core] geojsonoptions conversion - initial unit tests * [core] tests - fix forward reference issue * [core] geojsonoptions conversion - unit tests * [core] geojsonoptions conversion - renamed Holder to Value
* [core] set correct depth values for CustomLayer so compositing worksKonstantin Käfer2016-08-223-11/+34
|
* [tests] Include what we useThiago Marcos P. Santos2016-08-222-0/+2
|
* [core] parse more Style JSON propertiesKonstantin Käfer2016-08-191-0/+34
| | | | We're now parsing "name", "center", "zoom", "bearing", and "pitch" from the stylesheet.
* [tests] Add tests for shape overlays crossing the antimeridianJesse Bounds2016-08-193-0/+42
| | | | | | | | | | | | | | | | This adds two tests: AntimeridianAnnotationSmall: Test that a shape that is represented with +-180 longitudinal values is drawn spanning the antimeridian. In other words, it is rendered as a "small" shape as opposed to one that spans around the world to reach the other side of the antimeridian. This test is currently failing at the time of this commit. AntimeridianAnnotationLarge: Test that a shape that is represented with points that do not cross the +-180 boundary is rendered as a "large" shape. In other words, it is rendered by wrapping around the world to reach the other side of the meridian. This test is currently passing at the time of this commit.
* [core] support "scheme": "tms" in TileJSON filesKonstantin Käfer2016-08-164-17/+26
|
* [core] Compare unsigned int to unsigned int to pass tidy check (#5986)Jesse Bounds2016-08-121-1/+1
|
* [core, android, ios, macos] Replaced getPointAnnotationsInBounds() w/ ↵Minh Nguyễn2016-08-121-0/+8
| | | | | | | queryPointAnnotations() (#5165) queryPointAnnotations() accepts a screen rectangle instead of a geographic bounding box, so marker hit testing works at the edges of a rotated, tilted map view. Fixes #5151.
* CJK overflow - update to match gl-shader (#5908)Amy Lee Walton2016-08-117-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * update vertex array ushorts * update atlas size * testing latest cjk test-suite branch * update shader ref * update shaders * update icon buffer * shaders * updated tests * buffer fix * updated make tests * annotation expected updates * final push * final fonts * a_data1 removal * remove cjk-mixed test * hiring threshold for cjk-chinese * update to new test suite * Rename a_data2 to a_data in sdf and icon shaders * update test-suite sha
* [build] unify naming of Makefile targetsKonstantin Käfer2016-08-051-0/+1
| | | | | `make foo` just builds `make run-foo` builds and runs
* [build] switch to CMakeKonstantin Käfer2016-08-054-173/+30
| | | | This is very much a work in progress.
* GeoJSON point clustering (#5724)Vladimir Agafonkin2016-07-271-2/+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
* [Qt] Use Qt text codec instead of nunicodeThiago Marcos P. Santos2016-07-221-1/+6
| | | | | | Remove one extra dependency. Qt has some bugs on the text codec it seems, but it is also important to keep the behavior aligned with the client API.
* [tests] Added a PT string on text conversions testsThiago Marcos P. Santos2016-07-221-0/+2
|
* [core] don't crash when the version number is not a numberKonstantin Käfer2016-07-202-0/+8
|
* [core] fix crash when the style JSON doesn't have an object at its rootKonstantin Käfer2016-07-202-0/+8
|
* [core] Fixed test build errorsmacos-v0.2.1macos-0.2.1Minh Nguyễn2016-07-191-15/+0
| | | | Missed this bad merge from #5729.
* Merge branch 'release-ios-v3.3.0'Minh Nguyễn2016-07-191-0/+15
|\
| * [core] add check for missing sprite URL file extensionKonstantin Käfer2016-07-191-0/+6
| | | | | | | | Cherry-picked from 559f3a654b976d41d0f3db3fa958ebcda3e97b1c.
| * mapbox: URL containing query string causes infinite loop (#5554)jingsam2016-07-191-17/+48
| | | | | | | | | | | | | | | | | | | | | | | | * correct all EXPECT_EQ(actual, expected) to EXPECT_EQ(expected, actual) * fix getMapboxURLPathname() of URL with querystring * add test for normalizeSourceURL of non-mapbox protocal * Update mapbox.cpp Cherry-picked from e82ecc60acfeb95ec4804ecb0964a2d695416ea1.
| * [core] Restored shape annotation z-orderMinh Nguyễn2016-07-182-0/+15
| | | | | | | | | | | | | | | | Shapes are once again always added to the top z-index. Fixes #5691. Cherry-picked from 74fe96d2617f870206ff358d7dfcafccf4e109bc.
* | Merge branch 'release-android-v4.1.1'Brad Leege2016-07-191-1/+0
|\ \ | | | | | | | | | | | | | | | # Conflicts: # platform/android/MapboxGLAndroidSDK/gradle.properties # test/util/mapbox.cpp
| * | [android] #5725 - Cherry picking 559f3a654b976d41d0f3db3fa958ebcda3e97b1cKonstantin Käfer2016-07-191-18/+54
| | |
| * | [core] Bring optimized animated annotations to Android release branchJohn Firebaugh2016-06-171-1/+1
| | | | | | | | | | | | Part of #5385
* | | [core] add check for missing sprite URL file extensionKonstantin Käfer2016-07-191-0/+6
| | |
* | | [core] Restored shape annotation z-orderMinh Nguyễn2016-07-182-0/+15
| | | | | | | | | | | | | | | | | | Shapes are once again always added to the top z-index. Fixes #5691.
* | | [core] Add support for $id key to filtersJohn Firebaugh2016-07-181-62/+74
| | | | | | | | | | | | https://github.com/mapbox/mapbox-gl-style-spec/issues/391
* | | Revert "add supercluster dependency"Vladimir Agafonkin2016-07-181-3/+2
| | | | | | | | | | | | This reverts commit f84e9fdb2bb25d88f4dbe6f269ca66c7eee8eeb2.
* | | add supercluster dependencyVladimir Agafonkin2016-07-181-2/+3
| | | | | | | | | | | | [skip ci]
* | | [core] Use PropertyValue<T> for Annotation line/fillBruno de Oliveira Abinader2016-07-131-6/+6
| | |
* | | Quadkey tokens in tile URL templates, limited WMS support (#5628)Minh Nguyễn2016-07-121-0/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Quadkey tokens in tile URL templates Fixes #5485. * [core] WMS tokens in tile URL templates Fixes #822. * [macos] Added WMS debug style Added a style to the macosapp resource bundle that can be used to test WMS support. To use it, zoom in to somewhere in New Jersey, then go to View ‣ Custom Style and enter “wms.json”.
* | | [core] don't force GL state to be set when calling .reset()Konstantin Käfer2016-07-071-2/+4
| | | | | | | | | | | | We are using Value::reset() to change a piece of GL state to its default value. However, the current implementation always executes the GL call, even if our state tracking system knows that it's already at that value. The new implementation of Value::reset() now respects that, resulting in a lot fewer GL calls.
* | | [core] geometry@0.8.0 / geojsonvt@6.0.0 (#5514)Young Hahn2016-07-062-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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
* | | Revert "[android] Do not create Timers on Default main loops"Thiago Marcos P. Santos2016-07-061-6/+6
| | | | | | | | | | | | This reverts commit 13cd75f099c92b6f0862db00eee8ff4a78a73316.
* | | [android] Do not create Timers on Default main loopsThiago Marcos P. Santos2016-07-051-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | Not supported, because we don't have control over the Looper timeout like we do for Loopers we create. On the main thread, Android takes care of making the application sleep and sets an arbitrary timeout. This could be properly fixed by implementing timers in Java, but we don't really have the use case of timers in the main thread.
* | | mapbox: URL containing query string causes infinite loop (#5554)jingsam2016-07-041-17/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * correct all EXPECT_EQ(actual, expected) to EXPECT_EQ(expected, actual) * fix getMapboxURLPathname() of URL with querystring * add test for normalizeSourceURL of non-mapbox protocal * Update mapbox.cpp
* | | [test] Added max zoom annotation testsBruno de Oliveira Abinader2016-06-283-0/+10
| | |
* | | [core] Merge TexturePool into ObjectStore; pool all textures (#5477)John Firebaugh2016-06-271-79/+3
| | |
* | | [core] Increment completedTileCount when appropriate (#5475)John Firebaugh2016-06-241-0/+2
| | |
* | | [core, node] Implement bindings for addSourceJohn Firebaugh2016-06-242-2/+2
| | |
* | | [core, node] Implement bindings for addLayerJohn Firebaugh2016-06-2420-20/+20
| | |