summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [core] Use optional where SpriteAtlas return values might not existJohn Firebaugh2015-12-011-14/+6
| | | | Fixes #3162
* [core] Map::setSprite ⇢ Map::addAnnotationIconJohn Firebaugh2015-12-011-4/+4
| | | | Fixes #3084
* [core] Use a separate atlas and store for annotation spritesAdam Hunter2015-12-011-1/+3
| | | | Fixes #1488
* [core] Move MapData storage to MapContextJohn Firebaugh2015-12-011-2/+2
| | | | | This allows MapData members to hold GL resources which must be released on the MapContext thread -- necessary for the following commit.
* Partially revert "[core] Source should receive a ref to MapData just once"John Firebaugh2015-12-011-4/+1
| | | | This partially reverts commit d55aa7929cb10d40a58b6b7a8ed73bddd4f0a407.
* [core] Don't link with libuv on components not using it directlyThiago Marcos P. Santos2015-12-011-3/+0
|
* [tests] Fix/improve Asset utestsThiago Marcos P. Santos2015-12-016-27/+116
| | | | | | ASSET=zip make test-* was broken and now works. Also added a test stressing concurrent file access.
* [core] Removed libuv dependency from AssetFSContextThiago Marcos P. Santos2015-12-012-2/+2
|
* [tests] Add utests for ThreadLocalThiago Marcos P. Santos2015-12-012-0/+96
|
* [tests] Remove libuv dependency from the testsThiago Marcos P. Santos2015-12-0123-145/+110
|
* [tests] Add utests for TimerThiago Marcos P. Santos2015-12-012-0/+180
|
* [tests] Add utests for AsyncTaskThiago Marcos P. Santos2015-12-012-0/+130
|
* [tests] Don't use icons from the style for annotationsJohn Firebaugh2015-11-309-19/+14
|
* [core] Source should receive a ref to MapData just onceBruno de Oliveira Abinader2015-11-271-1/+4
|
* [core] Replace time_t with std::chrono::secondsBruno de Oliveira Abinader2015-11-2714-66/+76
| | | | | | | Added aliases for std::chrono typedefs (eg. 'Seconds' for std::chrono::seconds). These aliases are used together with templated helper functions to replace time_t with std::chrono::seconds for most cases, in particular for 'modified' and 'expires' values in Response.
* [core] Fix image type of Map::renderStillJohn Firebaugh2015-11-258-46/+19
| | | | | | | It's a premultiplied image. This implies that we were misusing encodePNG in most cases, as we were passing premultiplied pixels which were then interpreted as unmultiplied. I changed encodePNG to accept premultipled pixels, and unpremultiply in the implementations.
* [test] Add pixelmatch; use in annotation testsJohn Firebaugh2015-11-2515-21/+96
|
* [core] Add image testsJohn Firebaugh2015-11-258-0/+94
|
* [core] Rewrite image handlingJohn Firebaugh2015-11-256-40/+31
| | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation
* [iOS] Wait for didChange notifications instead of timerMinh Nguyễn2015-11-251-15/+28
|
* [core] For binary image data use uint8_t, not charJohn Firebaugh2015-11-231-1/+1
|
* [core] more robust max-age parsingKonstantin Käfer2015-11-202-0/+72
|
* [core] Force style-sourced annotations to be visibleJohn Firebaugh2015-11-191-0/+3
|
* Fixed Linux builds; code styleMinh Nguyễn2015-11-191-10/+10
|
* Ported replaceTokens() tests from GL JSMinh Nguyễn2015-11-182-0/+51
|
* Rewrite CustomSpriteImages testJohn Firebaugh2015-11-184-88/+14
| | | | Previous test was invalid; Map::setSprite is only for annotations.
* [core] Added ConstrainMode::{HeightOnly,WidthAndHeight}Bruno de Oliveira Abinader2015-11-182-10/+50
| | | | | | | | | | ConstrainMode gives flexibility to our engine to choose between constraining both vertically and horizontally, or just vertically (default behavior). Constrain in both axis means we can no longer pan the map beyond the map boundaries. This fixes an issue where e.g. annotations disappear upon crossing the map boundaries.
* [core] Fix LatLngBounds default coordinatesBruno de Oliveira Abinader2015-11-181-2/+4
| | | | | | | | | LatLngBounds southwest and northeast coordinate points were inverted, so they could be extended via LatLngBounds::extend(). However, this looks confusing and error-prone. A static LatLngBounds::getExtendable() is added to address cases when we want to extend LatLngBounds.
* [core] Use std::unique_ptr for FileSource requestJohn Firebaugh2015-11-1616-136/+137
|
* [core] Pass a value to response callback, not a referenceJohn Firebaugh2015-11-1614-47/+36
|
* [core] Do not pass uv_loop_t aroundThiago Marcos P. Santos2015-11-1616-70/+178
| | | | This should be abstracted by util::RunLoop
* [core] Merge Sprite into SpriteStoreJohn Firebaugh2015-11-124-182/+177
|
* [core] Reorganize sprite related filesJohn Firebaugh2015-11-127-42/+42
|
* [core] Eliminate use of ClassProperties for paintJohn Firebaugh2015-11-101-7/+6
|
* [core] Eliminate use of ClassProperties for layoutJohn Firebaugh2015-11-101-1/+1
|
* [core] Merge PiecewiseConstantFunction into FunctionJohn Firebaugh2015-11-061-33/+33
|
* [core] Simplify FunctionJohn Firebaugh2015-11-061-14/+15
|
* [iOS] Wait for style loading, then rotation, then compass fadingMinh Nguyễn2015-11-041-6/+14
| | | | Fixes #2920.
* [core] move mbgl.gyp to gyp directoryMike Morris2015-11-041-6/+6
| | | | | So npm won't clobber binding.gyp, refs https://github.com/npm/npm/issues/10243
* [core] mason geojsonvt-2.1.6.3Mike Morris2015-11-022-1/+10
| | | | | | | | | | | | | - [osx] set -fvisibility-inlines-hidden in gyp/common.gypi to silence mismatched visibility linker warnings - [linux] set cxx_host in GYP_FLAGS to set -fabi-version=0 on gcc builds to use clang-built mason binaries - [ios] update symbol visibility for iOS tests - [ios] link libgeojsonvt.a in iOS tests xcodeproj - add libgeojsonvt.a to General -> Linked Frameworks and Libraries - add mason_packages (recursive) to Build Settings -> Library Search Path - [ios] add libuv and geojsonvt first in iOS libtool smush to ensure symbols are found by later compilation units where they are undefined
* [core] Make DefaultFileSource react to all NetworkStatus changesKonstantin Käfer2015-11-022-3/+57
|
* [core] move retry logic to DefaultFileSourceKonstantin Käfer2015-11-0219-103/+124
|
* [core] Don't crash when removing a shape annotation whose layer was never ↵John Firebaugh2015-10-301-0/+12
| | | | created
* [core] Polymorphic layout and paint parsingJohn Firebaugh2015-10-292-2/+2
|
* [core] Fudge numbers to get a timing-based test to pass more oftenJohn Firebaugh2015-10-291-1/+1
| | | | Fixes #2872
* [core] refactor test server startupKonstantin Käfer2015-10-282-16/+26
|
* [core] Ensure URL normalization is safe. Fixes #2695Tom MacWright2015-10-281-0/+3
|
* Don't create libuv objects on the stackJohn Firebaugh2015-10-271-8/+6
|
* remove metrics testsJustin R. Miller2015-10-272-276/+0
|
* remove heading tests as unreliableJustin R. Miller2015-10-279-350/+5
|