summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-255-21/+6
|
* [core] move *Observers to their own filesKonstantin Käfer2016-05-232-3/+4
|
* [core] Avoid NaNs in TransformState unit conversionsBruno de Oliveira Abinader2016-05-201-0/+40
| | | | | Fix cases where e.g. state has either zero width or height, causing the unit convertion functions would return NaNs.
* [core] allow creating optional requestsKonstantin Käfer2016-05-181-0/+252
| | | | | | Introduces "optional" requests. These should be fulfilled by the FileSource only there's a low-cost/easy way to obtain the data (e.g. from a local cache). If the data for an optional request cannot be found, it *must* return a Response object with a NotFound error. Traditional "required" requests still work the same way, with one change: If you set any prior* field in the Resource (i.e. priorModified, priorEtag, or priorExpires), the DefaultFileSource assumes that you already have the cache value and will not consult the cache before performing the request. If a prior cache lookup didn't turn up any data, and you therefore don't have an Etag or Modified value, you can still skip the cache by setting priorExpires. This will of course always result in a non-conditional HTTP request.
* [core] use rapidjson's dtoa implementation to stringify floating point numbersKonstantin Käfer2016-05-182-0/+56
|
* [core] remove MockView and View dependency in TransformKonstantin Käfer2016-05-185-58/+14
|
* [core] move from microsecond precision timestamp to integer second precisionKonstantin Käfer2016-05-134-11/+11
|
* [core] Added Viewport modeBruno de Oliveira Abinader2016-05-113-14/+14
| | | | | | Satisfies embedding platforms that requires the viewport coordinate systems to be set according to its standards e.g. viewport mirrored vertically.
* [core] retain tiles differently and remove old TileID classKonstantin Käfer2016-05-106-170/+504
|
* [core] move TileData and dependents to new *TileID classesKonstantin Käfer2016-05-104-29/+30
|
* [core] move Painter and dependents to new *TileID classesKonstantin Käfer2016-05-102-412/+0
|
* [core] add algorithm for generating clip IDs based on the new TileID classesKonstantin Käfer2016-05-102-0/+428
|
* [core] add algorithm for detecting whether an ordered map contains covering ↵Konstantin Käfer2016-05-103-1/+64
| | | | children
* [core] introduce three distinct TileID typesKonstantin Käfer2016-05-102-0/+297
| | | | | | * CanonicalTileID has z, x, and y, with x/y being within the bounds z defines. z can be anything from 0-32. * OverscaledTileID is composed of a z value, and a canonical tile. The z value indicates the zoom level the tile is intended for. It is primarily used for indexing overscaled data tiles. * UnwrappedTileID is composed of a wrap value, and a canonical tile. The wrap value is used for representing tiles to the left and right of the main (0/0/0 based) tile pyramid. It is primarily used for indicating the position a tile should be rendered at.
* [core] Implement has/!has filters (#4952)John Firebaugh2016-05-051-0/+22
|
* [core] Use geometry.hpp's pointJohn Firebaugh2016-05-051-4/+1
|
* [core] Privatize math.hpp and vec.hppJohn Firebaugh2016-05-053-8/+28
|
* [Qt] Make it possible to disable libwebp and libjpeg-turbo at build timeThiago Marcos P. Santos2016-05-051-2/+2
| | | | Pull less dependencies.
* [core] Simplify FilterEvaluator and fix crashJohn Firebaugh2016-05-041-7/+10
| | | | Previous implementation was assigning a temporary to FilterEvaluator<T>::extractor.
* [core] port to protozero (#4906)Dane Springmeyer2016-05-033-2/+3
|
* [core] Use gyp's direct_dependent_settings to propagate variant cflagsJohn Firebaugh2016-05-021-1/+3
|
* [core] implement queryRenderedFeaturesAnsis Brammanis2016-04-291-24/+24
|
* [core] port outlinepattern for fill-pattern anti-aliasing from gl-js to nativeMolly Lloyd2016-04-282-1/+2
| | | | | | | | | | | | | | add outlinepattern shader class to relevant files add outlinepattern code to painter_fill.cpp add outlinepattern code to fill_bucket refactor painter_fill, fix tests fix merge conflicts and setDepthSublayer update render test to no antialiasing so travis will be happy
* [core] Prepare Filter for public API (#4900)John Firebaugh2016-04-283-480/+23
|
* [core] Refactor getRegionCompletedStatus; add completedTileCount; add testsJohn Firebaugh2016-04-271-0/+34
|
* [tests] Rationalize test fixtures (#4834)John Firebaugh2016-04-2522-241/+160
| | | Place them in a directory corresponding to the test .cpp file name.
* [core] Extract Function::evaluation to a separate class (#4811)John Firebaugh2016-04-251-37/+41
| | | This allows the Function<Faded<T>> partial specialization to be eliminated, giving all property functions a consistent storage type.
* [core] Use the proper type for font stacksJohn Firebaugh2016-04-225-27/+27
|
* [core] FontStack ⇢ GlyphSet (#4803)John Firebaugh2016-04-221-7/+7
| | | A font stack is an array of font names. This is not that.
* Revert "[core] Do not clear custom layers upon style switch"Bruno de Oliveira Abinader2016-04-211-4/+0
| | | | This reverts commit 8ec875b87c387713d7e4df5c90e6cac7669ed38b.
* [core] Do not clear custom layers upon style switchBruno de Oliveira Abinader2016-04-211-0/+4
|
* [tests] Accept [C|c]onnect as error messageThiago Marcos P. Santos2016-04-201-1/+1
| | | | Qt will spit "Connect" instead of "connect"
* [ios, osx] Fixed project upgrade warningsMinh Nguyễn2016-04-161-1/+1
| | | | Fixed project upgrade warnings in projects managed by gyp.
* [ios] Don't try to launch test server (#4719)John Firebaugh2016-04-151-0/+3
|
* [core] Eliminate MapDataJohn Firebaugh2016-04-151-1/+0
|
* [core] Remove MapData dependency from StyleJohn Firebaugh2016-04-152-14/+12
|
* [core] Convert MapContext to Map::Impl; eliminate indirectionJohn Firebaugh2016-04-153-27/+14
|
* [core] Clean up ThreadContext vestigesJohn Firebaugh2016-04-159-36/+14
|
* [tests] Use StubFileSource where a real FileSource is not requiredJohn Firebaugh2016-04-145-22/+22
|
* [tests] Rationalize storage testsJohn Firebaugh2016-04-1419-912/+645
| | | | Properly divide Storage tests into DefaultFileSource, OnlineFileSource, and HTTPFileSource tests.
* [core] Remove internal threading from OnlineFileRequestJohn Firebaugh2016-04-141-0/+3
| | | | There's no need to do the work that OnlineFileRequest does on a separate thread from the DefaultFileSource thread, and having AsyncTasks proxy to other tasks across a thread boundary adds needless complexity.
* [core] Render from the main threadJohn Firebaugh2016-04-1410-69/+82
| | | | Do not create a thread for the MapContext anymore.
* [core] Demote "Unable to make space for entry" message from Warning to Debug ↵John Firebaugh2016-04-141-6/+2
| | | | (#4708)
* [darwin] use CFRunLoopSourceInvalidate() to also cancel any pending ↵Konstantin Käfer2016-04-121-0/+27
| | | | AsyncTask invocations
* [test] This "very unlikely" condition in fact happens regularly in CI (#4679)John Firebaugh2016-04-111-1/+1
|
* [ios] Run core unit tests in CIJohn Firebaugh2016-04-1115-88/+100
|
* [build] Refactor and simplify build systemJohn Firebaugh2016-04-074-65/+8
| | | | | | | | | | | | | | * Main gyp files are now standardized as platform/<platform>/platform.gyp. * Each platform gyp file defines appropriate loop_lib and headless_lib variables. * Each platform gyp file includes mbgl.gypi, which defines base targets which may be useful to all platforms. * CI targets are consistent across platforms: `make $(PLATFORM) && make test-$(PLATFORM)`. * Renamed the "linux" test app to "glfw". It's now built in OS X CI. * Android build flakiness is fixed. * iOS CI builds the bench and iosapp targets. * Mesa version is now in one place. * CI scripts use bash "strict mode" and correct error handling. * All build output goes to the build directory. * Removed vestigial iOS/OS X/Android Travis scripts.
* [core] make sprite metrics checking stricterAnsis Brammanis2016-03-311-30/+13
| | | | | | - check that sprite metrics are within the bounds of the sprite. fix #714 - make sprite metrics problems Errors instead of Warnings - check for negative image width, height
* Merge branch 'release-ios-3.2.0-android-4.0.0'John Firebaugh2016-03-303-4/+96
|\
| * [core] Set schema version to 3 after upgradingJohn Firebaugh2016-03-281-0/+8
| | | | | | | | | | | | The migration was upgrading the schema, but not the schema version. As a result, the (expensive) migration was running every time an OfflineDatabase was constructed with a v2 database. Fixes #4501