summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [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
| | |
* | | [core] Adjust layer source properties to better reflect realityJohn Firebaugh2016-06-243-73/+72
| | | | | | | | | | | | | | | | | | | | | | | | * 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-241-1/+2
| | |
* | | [core] Remove TexturePool from style::UpdateParameters (#5442)John Firebaugh2016-06-221-3/+0
| | |
* | | [core, node] Node bindings for setFilterJohn Firebaugh2016-06-211-2/+3
| | |
* | | [core] Rewrite style parsing logic for reuse in node bindingsJohn Firebaugh2016-06-2112-12/+12
| | |
* | | [tests] Add memory testsThiago Marcos P. Santos2016-06-213-0/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Simple tests that will render a raster and a vector map and hopefully the valgrind bot will detect something wrong if any. The other test will look for application lifetime leaks that cannot be detected with valgrind. It can also detect GL leaks if they are very expressive. A threshold is needed because of memory will grow anyway due to fragmentation.
* | | [tests] Add resources for rendering offlineThiago Marcos P. Santos2016-06-2112-43/+5
| | | | | | | | | | | | | | | | | | | | | | | | The StupFileSource of the memory test will do the rendering completely offline with a vector tile that is densly populated with features and a raster tile of the same region. The styles are streets and satellite respectivelly.
* | | [tests] Do not re-trigger answered requestsThiago Marcos P. Santos2016-06-212-4/+14
| | | | | | | | | | | | | | | This happens on real file sources when tiles expire or in case of error. Here we only retry on error.
* | | [core] Avoid unnecessary work when a symbol annotation is updatedJohn Firebaugh2016-06-173-11/+9
| | | | | | | | | | | | In particular, if only the geometry changes, don't cascade and recalculate the style.
* | | [core] Runtime source API: private implsJohn Firebaugh2016-06-163-46/+47
| | |
* | | [core] Prepare Filter and FilterEvaluator for extraction (#5366)John Firebaugh2016-06-151-31/+6
| | |
* | | Support for icon-text-fit, icon-text-fit-padding (#5334)Young Hahn2016-06-152-0/+268
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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] Use variant<std::string, Tileset> in TileSourceJohn Firebaugh2016-06-154-56/+64
| | | | | | | | | | | | A tile source can either specify a URL to TileJSON, or inline TileJSON.
* | | Color class (#5361)Young Hahn2016-06-153-7/+10
| | | | | | | | | | | | | | | | | | * Color class * Switch to list initialization