summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* fix sprites for pixel ratios that are not 1 and 2Konstantin Käfer2015-03-176-0/+73
| | | | | | - OpenGL ES 2 doesn't allow NPOT textures with wrap-around - The Sprite object reported the map's pixelRatio, even though it loaded @2x assets - Copying icons from the sprite into the atlas now uses bilinear scaling to scale up to the actual size
* Revert "Move atlas ownership to Style"John Firebaugh2015-03-131-12/+16
| | | | This reverts commit bffee0715458530c6c86f440f757a4de667278a2.
* Move atlas ownership to StyleJohn Firebaugh2015-03-131-16/+12
| | | | | | This follows gl-js and just makes sense -- whenever the style changes the atlases should be blown away. Refs #957
* scripts for running linux tests with dockerKonstantin Käfer2015-03-131-8/+1
|
* Get rid of printf and cout by using Log::*Thiago Marcos P. Santos2015-03-122-16/+18
| | | | | | | Use our logging system that will route the message accordingly on the target platform. Fixes #613
* Update the FixtureLogThiago Marcos P. Santos2015-03-127-157/+126
| | | | | | Now the FixtureLog is an Log::Observer instead of a backend. The observer can sniff and filter log messages, that can be used for fail a test if it emits a warning for example.
* Fix conditional in normalizeSourceURLJohn Firebaugh2015-03-061-2/+2
| | | | | | The existing conditional would always be false, since it was comparing a url that begins with "mapbox://". In fact no conditional is necessary; the secure TileJSON resource should always be requested.
* Insert {ratio} before extension, not inside access tokenMinh Nguyễn2015-03-061-0/+4
| | | | Fixes #959.
* Only add {ratio} to raster tile URLsMinh Nguyễn2015-03-061-6/+10
| | | | Thanks to @mb12 for the suggestion.
* Ported util::mapbox tests from mapbox-gl-jsMinh Nguyễn2015-03-062-0/+62
| | | | Left out several tests that were redundant because mapbox.cpp only looks at the passed in access token.
* scope Requests to an Environment object for easier cancelationKonstantin Käfer2015-03-0615-38/+149
| | | | | | | | | we are now scoping all file requests to an environment object. The FileSource implementation treats this as an opaque pointer, but allows canceling all Requests that are associated with that pointer. This is necessary to abort all file requests that originated from a particular Map object. Aborting a file request is different from canceling a file request: A canceled request doesn't have its callback called, while an aborted request will have its callback called with an error, indicating that the environment is going to be shut down.
* make Map::resize() privateKonstantin Käfer2015-03-061-1/+0
| | | | they can only be called by View::resize
* add missing test fixture fileKonstantin Käfer2015-02-171-0/+1
|
* add ca bundle loading back to CURLKonstantin Käfer2015-02-171-1/+1
|
* update uv_zip and add testsKonstantin Käfer2015-02-163-3/+50
|
* fixes #476 & #853: pixel/meter/latlng conversion routines in core & iOSJustin R. Miller2015-02-161-1/+1
|
* Merge pull request #884 from mapbox/move-bucketsLeith Bade2015-02-141-0/+0
|\ | | | | Move to mapbox bucket
| * Move to mapbox bucketLeith Bade2015-02-131-0/+0
| |
* | make sure that the async handle always gets closedKonstantin Käfer2015-02-131-0/+28
|/
* update test suiteAnsis Brammanis2015-02-111-0/+0
|
* Merge pull request #821 from mapbox/pattern-functionsJohn Firebaugh2015-02-103-0/+49
|\ | | | | functions for everything
| * Update test suite and style submodules to latest v7John Firebaugh2015-02-061-0/+0
| |
| * add test for parsing enum, bool, string functions.Ansis Brammanis2015-02-062-0/+49
| |
* | move iOS code from gl-cocoa to this projectJustin R. Miller2015-02-0919-0/+1412
|/
* cleanup makefilesKonstantin Käfer2015-02-045-32/+7
|
* refactor makefileKonstantin Käfer2015-02-0414-17/+19
|
* use standard DEBUG macro rather than NDEBUGKonstantin Käfer2015-02-041-5/+3
|
* make storage lib separate so we can build without storage libsKonstantin Käfer2015-02-041-3/+4
|
* execute the correct server path and use the exepath for application root ↵Konstantin Käfer2015-02-042-4/+2
| | | | rather than the cwd
* asset:// URLs are local to the executable path nowKonstantin Käfer2015-02-0415-147/+166
|
* fixes for linuxKonstantin Käfer2015-02-041-8/+15
|
* remove unused filesKonstantin Käfer2015-02-043-71/+0
|
* rearrange tests and make more robustKonstantin Käfer2015-02-0434-331/+317
|
* rearrange tests and add storage testsKonstantin Käfer2015-02-0436-436/+1069
|
* remove circular shared_ptr and a few other memory leaksKonstantin Käfer2015-02-042-3/+4
|
* Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-masonLeith Bade2015-01-232-0/+4
|\ | | | | | | | | | | | | Conflicts: src/mbgl/renderer/painter_prerender.cpp src/mbgl/renderer/prerendered_texture.cpp src/mbgl/renderer/prerendered_texture.hpp
| * Use v7 styles / testsJohn Firebaugh2015-01-222-0/+4
| |
* | Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-masonLeith Bade2015-01-181-1/+1
|\ \ | |/ | | | | | | Conflicts: src/mbgl/map/map.cpp
| * Move class state to mapJohn Firebaugh2015-01-141-1/+1
| | | | | | https://github.com/mapbox/mapbox-gl-js/pull/936
* | Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-masonLeith Bade2015-01-152-0/+94
|\ \ | |/ | | | | | | Conflicts: src/mbgl/shader/shader.cpp
| * Merge pull request #744 from mapbox/merge-roadsJohn Firebaugh2015-01-142-0/+93
| |\ | | | | | | merge adjacent roads with the same text for labeling
| | * port tests for mergeLinesAnsis Brammanis2015-01-132-0/+93
| | | | | | | | | | | | js: 867b7f4be01126663df609756049515a41e700d1
| * | include sqlite3_static_libs in linker flagsMike Morris2015-01-131-0/+1
| |/
* | Merge branch 'master' of github.com:mapbox/mapbox-gl-native into android-masonLeith Bade2015-01-091-1/+1
|\ \ | |/
| * fix rendering errorsKonstantin Käfer2014-12-121-1/+1
| |
* | log headless test fixture namesMike Morris2014-12-111-0/+2
|/
* add missing gyp fileKonstantin Käfer2014-12-081-0/+1
|
* make most headers privateKonstantin Käfer2014-12-042-3/+13
|
* break out FileSource as an abstract classMike Morris2014-12-031-1/+3
| | | | add CachingHTTPFileSource implementation
* move pixel flip from headless test into HeadlessView::readPixelsMike Morris2014-12-011-9/+0
|