Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] make sprite metrics checking stricter | Ansis Brammanis | 2016-03-31 | 1 | -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 | ||||
* | [test] rearrange test files so they're not in the fixtures folder | Konstantin Käfer | 2016-03-22 | 4 | -9/+9 |
| | |||||
* | [test] remove crc64 and compare images | Konstantin Käfer | 2016-03-22 | 2 | -32/+46 |
| | | | | boost's crc64 breaks on iOS | ||||
* | [core] Remove ThreadContext::getFileSource; instead thread FileSource through | John Firebaugh | 2016-02-18 | 1 | -5/+1 |
| | |||||
* | [tests] Don't call the callback for cancelled responses | John Firebaugh | 2016-02-04 | 1 | -1/+1 |
| | | | | | | StubFileSource gets an optional Response return type. Returning null means "cancelled; don't call the callback". Fixes #3784 | ||||
* | [tests] Refactor and make MockFileSource more general | John Firebaugh | 2016-02-01 | 1 | -36/+98 |
| | | | | | | Now it works more like StubStyleObserver: you can assign std::functions to specific slots based on resource type. Rewrite resource loading tests in that style, making them less like integration tests of Style and more like unit tests of Source, GlyphStore, and SpriteStore. | ||||
* | [core][ios][osx][android] make SpriteImage accept PremultipliedImage | Ansis Brammanis | 2016-01-19 | 4 | -89/+88 |
| | | | | | | | | | | | | 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) | ||||
* | [core][ios][osx][android] fix icons with non-integer width/height | Ansis Brammanis | 2016-01-19 | 3 | -16/+16 |
| | | | | | | | | | | | ref #3031 ref #2198 For example, an icon that has: - a pixel width of 10 - a pixel ratio of 3 - a scaled with of 3.333 is now supported. | ||||
* | [core] remove bilinear, nearest scaling, fix #3164 | Ansis Brammanis | 2016-01-13 | 1 | -16/+8 |
| | |||||
* | [tests] Simplify MockFileSource | John Firebaugh | 2015-12-24 | 1 | -3/+3 |
| | |||||
* | [tests] Rewrite {Sprite,Glyph}Store tests in the style of ResourceLoading | John Firebaugh | 2015-12-24 | 1 | -132/+64 |
| | |||||
* | [core] Rationalize error handling for resource loading | John Firebaugh | 2015-12-23 | 2 | -3/+4 |
| | | | | | | | | | * Standardize on std::exception_ptr as the error representation (fixes #2854). * Don't format textual strings at the error source; pass on the constituent data via observer method parameters instead. * Use the null object pattern to simplify observer notification code. * Further refactoring for ResourceLoading tests. | ||||
* | [core] add std::move to constructors | Konstantin Käfer | 2015-12-03 | 1 | -1/+2 |
| | |||||
* | [core] Use optional where SpriteAtlas return values might not exist | John Firebaugh | 2015-12-01 | 1 | -14/+6 |
| | | | | Fixes #3162 | ||||
* | [core] Use a separate atlas and store for annotation sprites | Adam Hunter | 2015-12-01 | 1 | -1/+3 |
| | | | | Fixes #1488 | ||||
* | [tests] Remove libuv dependency from the tests | Thiago Marcos P. Santos | 2015-12-01 | 1 | -4/+5 |
| | |||||
* | [core] Rewrite image handling | John Firebaugh | 2015-11-25 | 1 | -12/+10 |
| | | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation | ||||
* | Rewrite CustomSpriteImages test | John Firebaugh | 2015-11-18 | 1 | -61/+0 |
| | | | | Previous test was invalid; Map::setSprite is only for annotations. | ||||
* | [core] Merge Sprite into SpriteStore | John Firebaugh | 2015-11-12 | 3 | -181/+177 |
| | |||||
* | [core] Reorganize sprite related files | John Firebaugh | 2015-11-12 | 6 | -0/+924 |