Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [tests] Added utests for cache versioning | Thiago Marcos P. Santos | 2016-01-05 | 1 | -4/+38 |
| | |||||
* | [test] terminate test server when stdin closes | Konstantin Käfer | 2016-01-05 | 5 | -46/+66 |
| | |||||
* | [test] Remove terminate-when-inactive behavior from the test server | John Firebaugh | 2016-01-04 | 1 | -13/+0 |
| | | | | | | | It caused #3163. Attempts at having the child exit automatically when the parent exits were stymied by the fact that unix sucks: http://stackoverflow.com/q/284325/52207. | ||||
* | [tests] Add unit tests for SQLiteCache size limit | Thiago Marcos P. Santos | 2015-12-28 | 4 | -0/+233 |
| | |||||
* | [tests] Simplify MockFileSource | John Firebaugh | 2015-12-24 | 5 | -157/+59 |
| | |||||
* | [tests] Rewrite {Sprite,Glyph}Store tests in the style of ResourceLoading | John Firebaugh | 2015-12-24 | 4 | -366/+222 |
| | |||||
* | [tests] Test with OnlineFileSource | John Firebaugh | 2015-12-23 | 21 | -74/+74 |
| | | | | | When we introduce OfflineFileSource, the behavior of existing tests should not change. | ||||
* | [core] Rationalize error handling for resource loading | John Firebaugh | 2015-12-23 | 4 | -156/+245 |
| | | | | | | | | | * 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. | ||||
* | [tests] Moved lazy source loading tests to ResourceLoading | Bruno de Oliveira Abinader | 2015-12-23 | 3 | -187/+139 |
| | |||||
* | [tests] Rewrite resource loading test | John Firebaugh | 2015-12-22 | 2 | -122/+99 |
| | | | | Make it more readable and easier to debug. | ||||
* | [core] Merge SQLiteCache into the platform library | John Firebaugh | 2015-12-22 | 1 | -1/+0 |
| | | | | OfflineFileSource will depend on SQLite too. | ||||
* | [tests] Create less threads on the AsyncTask tests | Thiago Marcos P. Santos | 2015-12-21 | 1 | -2/+2 |
| | | | | | So we open less fds as new versions of OSX have a smaller limit (256). | ||||
* | [core] Add more tests to on-demand source load | Bruno de Oliveira Abinader | 2015-12-17 | 2 | -1/+48 |
| | |||||
* | [core] Tests for style with unused sources | Bruno de Oliveira Abinader | 2015-12-17 | 3 | -0/+148 |
| | |||||
* | [core] Load sources only if there is at least one visible layer | Bruno de Oliveira Abinader | 2015-12-17 | 3 | -1/+7 |
| | |||||
* | [core] Fixed annotation icon replacement | Minh Nguyễn | 2015-12-15 | 3 | -6/+25 |
| | | | | Another pass at #3146, including a unit test. | ||||
* | [core] change RapidJSON usage to use CrtAllocator and bump GeoJSON VT | Konstantin Käfer | 2015-12-14 | 2 | -6/+6 |
| | |||||
* | [core] parse GeoJSON source type | Konstantin Käfer | 2015-12-11 | 8 | -0/+61 |
| | |||||
* | [core] Reduce custom layer API to lowest common denominator | John Firebaugh | 2015-12-11 | 1 | -11/+14 |
| | |||||
* | [tests] Force classic locale on toString tests | Thiago Marcos P. Santos | 2015-12-10 | 1 | -0/+4 |
| | | | | | | Fix an issue where the test result can be affected depending on the current locale settings of the machine running the tests. | ||||
* | [core] Custom layers | John Firebaugh | 2015-12-09 | 6 | -39/+126 |
| | |||||
* | [core] Replace StyleLayerType with RTTI | John Firebaugh | 2015-12-07 | 3 | -38/+2 |
| | |||||
* | [core] More efficient layer cloning | John Firebaugh | 2015-12-07 | 2 | -0/+25 |
| | |||||
* | [core] add std::move to constructors | Konstantin Käfer | 2015-12-03 | 2 | -2/+4 |
| | |||||
* | [core] add namespace comment to closing brace | Konstantin Käfer | 2015-12-03 | 8 | -10/+10 |
| | |||||
* | [core] fix various errors reported by clang-tidy | Konstantin Käfer | 2015-12-03 | 1 | -1/+1 |
| | |||||
* | [core] Fix std::move() misuse that disables copy elision | Konstantin Käfer | 2015-12-03 | 3 | -5/+5 |
| | |||||
* | [core] Use optional where SpriteAtlas return values might not exist | John Firebaugh | 2015-12-01 | 1 | -14/+6 |
| | | | | Fixes #3162 | ||||
* | [core] Map::setSprite ⇢ Map::addAnnotationIcon | John Firebaugh | 2015-12-01 | 1 | -4/+4 |
| | | | | Fixes #3084 | ||||
* | [core] Use a separate atlas and store for annotation sprites | Adam Hunter | 2015-12-01 | 1 | -1/+3 |
| | | | | Fixes #1488 | ||||
* | [core] Move MapData storage to MapContext | John Firebaugh | 2015-12-01 | 1 | -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 Firebaugh | 2015-12-01 | 1 | -4/+1 |
| | | | | This partially reverts commit d55aa7929cb10d40a58b6b7a8ed73bddd4f0a407. | ||||
* | [core] Don't link with libuv on components not using it directly | Thiago Marcos P. Santos | 2015-12-01 | 1 | -3/+0 |
| | |||||
* | [tests] Fix/improve Asset utests | Thiago Marcos P. Santos | 2015-12-01 | 6 | -27/+116 |
| | | | | | | ASSET=zip make test-* was broken and now works. Also added a test stressing concurrent file access. | ||||
* | [core] Removed libuv dependency from AssetFSContext | Thiago Marcos P. Santos | 2015-12-01 | 2 | -2/+2 |
| | |||||
* | [tests] Add utests for ThreadLocal | Thiago Marcos P. Santos | 2015-12-01 | 2 | -0/+96 |
| | |||||
* | [tests] Remove libuv dependency from the tests | Thiago Marcos P. Santos | 2015-12-01 | 23 | -145/+110 |
| | |||||
* | [tests] Add utests for Timer | Thiago Marcos P. Santos | 2015-12-01 | 2 | -0/+180 |
| | |||||
* | [tests] Add utests for AsyncTask | Thiago Marcos P. Santos | 2015-12-01 | 2 | -0/+130 |
| | |||||
* | [tests] Don't use icons from the style for annotations | John Firebaugh | 2015-11-30 | 9 | -19/+14 |
| | |||||
* | [core] Source should receive a ref to MapData just once | Bruno de Oliveira Abinader | 2015-11-27 | 1 | -1/+4 |
| | |||||
* | [core] Replace time_t with std::chrono::seconds | Bruno de Oliveira Abinader | 2015-11-27 | 14 | -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::renderStill | John Firebaugh | 2015-11-25 | 8 | -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 tests | John Firebaugh | 2015-11-25 | 15 | -21/+96 |
| | |||||
* | [core] Add image tests | John Firebaugh | 2015-11-25 | 8 | -0/+94 |
| | |||||
* | [core] Rewrite image handling | John Firebaugh | 2015-11-25 | 6 | -40/+31 |
| | | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation | ||||
* | [iOS] Wait for didChange notifications instead of timer | Minh Nguyễn | 2015-11-25 | 1 | -15/+28 |
| | |||||
* | [core] For binary image data use uint8_t, not char | John Firebaugh | 2015-11-23 | 1 | -1/+1 |
| | |||||
* | [core] more robust max-age parsing | Konstantin Käfer | 2015-11-20 | 2 | -0/+72 |
| | |||||
* | [core] Force style-sourced annotations to be visible | John Firebaugh | 2015-11-19 | 1 | -0/+3 |
| |