Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [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 |
| | |||||
* | Fixed Linux builds; code style | Minh Nguyễn | 2015-11-19 | 1 | -10/+10 |
| | |||||
* | Ported replaceTokens() tests from GL JS | Minh Nguyễn | 2015-11-18 | 2 | -0/+51 |
| | |||||
* | Rewrite CustomSpriteImages test | John Firebaugh | 2015-11-18 | 4 | -88/+14 |
| | | | | Previous test was invalid; Map::setSprite is only for annotations. | ||||
* | [core] Added ConstrainMode::{HeightOnly,WidthAndHeight} | Bruno de Oliveira Abinader | 2015-11-18 | 2 | -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 coordinates | Bruno de Oliveira Abinader | 2015-11-18 | 1 | -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 request | John Firebaugh | 2015-11-16 | 16 | -136/+137 |
| | |||||
* | [core] Pass a value to response callback, not a reference | John Firebaugh | 2015-11-16 | 14 | -47/+36 |
| | |||||
* | [core] Do not pass uv_loop_t around | Thiago Marcos P. Santos | 2015-11-16 | 16 | -70/+178 |
| | | | | This should be abstracted by util::RunLoop | ||||
* | [core] Merge Sprite into SpriteStore | John Firebaugh | 2015-11-12 | 4 | -182/+177 |
| | |||||
* | [core] Reorganize sprite related files | John Firebaugh | 2015-11-12 | 7 | -42/+42 |
| | |||||
* | [core] Eliminate use of ClassProperties for paint | John Firebaugh | 2015-11-10 | 1 | -7/+6 |
| | |||||
* | [core] Eliminate use of ClassProperties for layout | John Firebaugh | 2015-11-10 | 1 | -1/+1 |
| | |||||
* | [core] Merge PiecewiseConstantFunction into Function | John Firebaugh | 2015-11-06 | 1 | -33/+33 |
| | |||||
* | [core] Simplify Function | John Firebaugh | 2015-11-06 | 1 | -14/+15 |
| | |||||
* | [iOS] Wait for style loading, then rotation, then compass fading | Minh Nguyễn | 2015-11-04 | 1 | -6/+14 |
| | | | | Fixes #2920. | ||||
* | [core] move mbgl.gyp to gyp directory | Mike Morris | 2015-11-04 | 1 | -6/+6 |
| | | | | | So npm won't clobber binding.gyp, refs https://github.com/npm/npm/issues/10243 | ||||
* | [core] mason geojsonvt-2.1.6.3 | Mike Morris | 2015-11-02 | 2 | -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 changes | Konstantin Käfer | 2015-11-02 | 2 | -3/+57 |
| | |||||
* | [core] move retry logic to DefaultFileSource | Konstantin Käfer | 2015-11-02 | 19 | -103/+124 |
| | |||||
* | [core] Don't crash when removing a shape annotation whose layer was never ↵ | John Firebaugh | 2015-10-30 | 1 | -0/+12 |
| | | | | created | ||||
* | [core] Polymorphic layout and paint parsing | John Firebaugh | 2015-10-29 | 2 | -2/+2 |
| | |||||
* | [core] Fudge numbers to get a timing-based test to pass more often | John Firebaugh | 2015-10-29 | 1 | -1/+1 |
| | | | | Fixes #2872 | ||||
* | [core] refactor test server startup | Konstantin Käfer | 2015-10-28 | 2 | -16/+26 |
| |