Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | [core] Rationalize naming for style-related code | John Firebaugh | 2016-06-02 | 1 | -1/+2 | |
| | ||||||
* | [core] Generalize Map::{add,remove}CustomLayer | John Firebaugh | 2016-06-02 | 1 | -2/+2 | |
| | ||||||
* | [tests] Tweak LineAnnotation test so that it reveals a bug; fix the bug | John Firebaugh | 2016-06-02 | 1 | -1/+1 | |
| | ||||||
* | [tests] Clean up annotation tests | John Firebaugh | 2016-06-02 | 1 | -168/+90 | |
| | ||||||
* | [all] Rationalize annotation API | John Firebaugh | 2016-06-01 | 1 | -30/+28 | |
| | ||||||
* | [core] Use geometry.hpp types for shape annotations | John Firebaugh | 2016-06-01 | 1 | -11/+11 | |
| | ||||||
* | [core] AnnotationTileLayer vends its own name (#5163) | Minh Nguyễn | 2016-05-26 | 1 | -0/+20 | |
| | | | Fixes #5159. | |||||
* | [core] move TileData and dependents to new *TileID classes | Konstantin Käfer | 2016-05-10 | 1 | -1/+1 | |
| | ||||||
* | Revert "[core] Do not clear custom layers upon style switch" | Bruno de Oliveira Abinader | 2016-04-21 | 1 | -4/+0 | |
| | | | | This reverts commit 8ec875b87c387713d7e4df5c90e6cac7669ed38b. | |||||
* | [core] Do not clear custom layers upon style switch | Bruno de Oliveira Abinader | 2016-04-21 | 1 | -0/+4 | |
| | ||||||
* | [tests] Accept [C|c]onnect as error message | Thiago Marcos P. Santos | 2016-04-20 | 1 | -1/+1 | |
| | | | | Qt will spit "Connect" instead of "connect" | |||||
* | [tests] Use StubFileSource where a real FileSource is not required | John Firebaugh | 2016-04-14 | 4 | -20/+20 | |
| | ||||||
* | [core] Render from the main thread | John Firebaugh | 2016-04-14 | 6 | -16/+69 | |
| | | | | Do not create a thread for the MapContext anymore. | |||||
* | [ios] Run core unit tests in CI | John Firebaugh | 2016-04-11 | 1 | -53/+0 | |
| | ||||||
* | [build] Refactor and simplify build system | John Firebaugh | 2016-04-07 | 1 | -9/+1 | |
| | | | | | | | | | | | | | | * 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. | |||||
* | [ios] make unit tests work on iOS and iOS Simulator | Konstantin Käfer | 2016-03-22 | 3 | -2/+12 | |
| | ||||||
* | [test] rearrange test files so they're not in the fixtures folder | Konstantin Käfer | 2016-03-22 | 7 | -11/+11 | |
| | ||||||
* | [core] Remove goOffline() from DefaultFileSource | Thiago Marcos P. Santos | 2016-03-08 | 1 | -1/+4 | |
| | | | | Use the newly added NetworkStatus::Set(). | |||||
* | Revert "[gl] Updated CustomLayer tests" | John Firebaugh | 2016-02-18 | 1 | -24/+30 | |
| | | | | | | These tests are intended to reflect how someone using the custom layer feature might actually write their callbacks. Therefore the callbacks should not use mbgl-specific classes. This reverts commit 69112a2a09404cc0ee7089a9f1f81ff1feac586f. | |||||
* | [gl] Updated CustomLayer tests | Bruno de Oliveira Abinader | 2016-02-18 | 1 | -26/+24 | |
| | ||||||
* | [tests] Add test for Map::updatePointAnnotation | John Firebaugh | 2016-02-12 | 1 | -3/+21 | |
| | ||||||
* | [core] Reimplement existing caching within an offline-capable database schema | John Firebaugh | 2016-02-10 | 1 | -0/+50 | |
| | ||||||
* | [core] Moving caching logic to DefaultFileSource | John Firebaugh | 2016-02-10 | 4 | -15/+15 | |
| | | | | This results in OnlineFileSource containing precisely the logic we want for reuse by OfflineFileSource, and no more. | |||||
* | [core][ios][osx][android] make SpriteImage accept PremultipliedImage | Ansis Brammanis | 2016-01-19 | 1 | -1/+1 | |
| | | | | | | | | | | | | the SpriteImage constructor signature changes from SpriteImage( uint16_t width, uint16_t height, float pixelRatio, std::string&& data, bool sdf = false); to SpriteImage(PremultipliedImage&&, float pixelRatio, bool sdf = false) | |||||
* | [test] ensure static rendering finishes when a tile can't be loaded | Konstantin Käfer | 2016-01-15 | 1 | -0/+63 | |
| | ||||||
* | [core] Eliminate platform::assetRoot() | John Firebaugh | 2016-01-13 | 1 | -3/+4 | |
| | | | | I regenerated assets.zip so that all file paths have an `assets/` prefix, as the Android AssetFileSource implementation asserts, and removed `TEST_DATA` from the paths. | |||||
* | [core] Simplify asset:// implementation | John Firebaugh | 2016-01-13 | 3 | -15/+15 | |
| | | | | | | | | * Move asset:// URL handling to DefaultFileSource. * AssetFileSource implements FileSource interface and follows familiar implementation patterns. * Move default implementation to platform/default, zip implementation to platform/android. * Don't bother with modified / expires / etag -- assets are not cached so it doesn't matter. * Don't bother with interleaving individual IO calls on the implementation thread. That adds a lot of complexity for very little benefit. | |||||
* | [test] allow aborting rendering after a timeout | Konstantin Käfer | 2016-01-08 | 1 | -0/+4 | |
| | ||||||
* | [tests] Test with OnlineFileSource | John Firebaugh | 2015-12-23 | 5 | -22/+22 | |
| | | | | | When we introduce OfflineFileSource, the behavior of existing tests should not change. | |||||
* | [core] Fixed annotation icon replacement | Minh Nguyễn | 2015-12-15 | 1 | -6/+25 | |
| | | | | Another pass at #3146, including a unit test. | |||||
* | [core] Reduce custom layer API to lowest common denominator | John Firebaugh | 2015-12-11 | 1 | -11/+14 | |
| | ||||||
* | [core] Custom layers | John Firebaugh | 2015-12-09 | 2 | -38/+100 | |
| | ||||||
* | [core] add namespace comment to closing brace | Konstantin Käfer | 2015-12-03 | 1 | -1/+1 | |
| | ||||||
* | [core] Fix std::move() misuse that disables copy elision | Konstantin Käfer | 2015-12-03 | 2 | -3/+3 | |
| | ||||||
* | [core] Map::setSprite ⇢ Map::addAnnotationIcon | John Firebaugh | 2015-12-01 | 1 | -4/+4 | |
| | | | | Fixes #3084 | |||||
* | [tests] Fix/improve Asset utests | Thiago Marcos P. Santos | 2015-12-01 | 2 | -10/+26 | |
| | | | | | | ASSET=zip make test-* was broken and now works. Also added a test stressing concurrent file access. | |||||
* | [tests] Don't use icons from the style for annotations | John Firebaugh | 2015-11-30 | 1 | -17/+13 | |
| | ||||||
* | [core] Fix image type of Map::renderStill | John Firebaugh | 2015-11-25 | 3 | -9/+9 | |
| | | | | | | | 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 tests | John Firebaugh | 2015-11-25 | 1 | -21/+26 | |
| | ||||||
* | [core] Rewrite image handling | John Firebaugh | 2015-11-25 | 3 | -23/+16 | |
| | | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation | |||||
* | Rewrite CustomSpriteImages test | John Firebaugh | 2015-11-18 | 1 | -0/+14 | |
| | | | | Previous test was invalid; Map::setSprite is only for annotations. | |||||
* | [core] Eliminate use of ClassProperties for paint | John Firebaugh | 2015-11-10 | 1 | -7/+6 | |
| | ||||||
* | [core] Don't crash when removing a shape annotation whose layer was never ↵ | John Firebaugh | 2015-10-30 | 1 | -0/+12 | |
| | | | | created | |||||
* | [core] Style-sourced shape annotation properties | John Firebaugh | 2015-10-22 | 1 | -0/+15 | |
| | | | | | This introduces the possibility to source the type and style properties of a shape annotation from a designated layer in the style. | |||||
* | [core] Introduce StyleLayer subclasses | John Firebaugh | 2015-10-22 | 1 | -26/+14 | |
| | ||||||
* | [core] Rationalize style property classes: <type>{Paint,Layout}Properties | John Firebaugh | 2015-10-22 | 1 | -8/+8 | |
| | ||||||
* | [core] Remove shape layers from the style (fixes #2405) | John Firebaugh | 2015-10-20 | 1 | -2/+27 | |
| | ||||||
* | Install RapidJSON from mason | John Firebaugh | 2015-10-01 | 1 | -1/+1 | |
| | ||||||
* | Add test for removeAnnotation | John Firebaugh | 2015-09-28 | 1 | -0/+16 | |
| | ||||||
* | Rewrite annotation invalidation strategy | John Firebaugh | 2015-09-28 | 1 | -28/+68 | |
| | | | | | | | | | | | | | | | | First, move style mutation code out of StyleParser and into AnnotationManager, coalescing it with the mutation code for shape layers. Second, allow AnnotationManager to keep track of stale tiles entirely internally. There's no reason to pass sets of TileIDs around. Third, correct the logic for invalidating the shape source. Since AnnotationManager does not track shape invalidations on a tile-by-tile basis, don't try to invalidate the shape source tile-by-tile. Fixes #1675 Fixes #2322 Fixes #2095 |