Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Added MetersBounds | Bruno de Oliveira Abinader | 2015-11-11 | 1 | -4/+4 |
| | |||||
* | [core] Added more NaN checks in Transform | Bruno de Oliveira Abinader | 2015-11-11 | 1 | -2/+15 |
| | |||||
* | [core] Use PrecisionPoint in zoom and angle functions | Bruno de Oliveira Abinader | 2015-11-11 | 3 | -47/+42 |
| | |||||
* | [core] Use pass-by-ref in CameraOptions | Bruno de Oliveira Abinader | 2015-11-11 | 3 | -31/+32 |
| | | | | | | | | Pass-by-const-ref is not always possible because CameraOptions gets its members modified along the way. Also fixes a case in Map::jumpTo where Update::Zoom should be called if zoom is affected. | ||||
* | [core] Use PrecisionPoint in coordinate functions | Bruno de Oliveira Abinader | 2015-11-11 | 5 | -38/+41 |
| | |||||
* | [core] Added PrecisionPoint to represent pixel points | Bruno de Oliveira Abinader | 2015-11-11 | 6 | -15/+14 |
| | |||||
* | [core] Added isValid to geo helper structs | Bruno de Oliveira Abinader | 2015-11-11 | 1 | -2/+6 |
| | |||||
* | [core] Eliminate use of ClassProperties for paint | John Firebaugh | 2015-11-10 | 41 | -958/+543 |
| | |||||
* | [core] Eliminate use of ClassProperties for layout | John Firebaugh | 2015-11-10 | 31 | -261/+239 |
| | |||||
* | [core] Push layouts and paints to subclasses | John Firebaugh | 2015-11-10 | 21 | -102/+249 |
| | |||||
* | [core] Expose default fade duration to Map API | Bruno de Oliveira Abinader | 2015-11-10 | 1 | -0/+9 |
| | |||||
* | Revert "[core] only update the render order array when there are changes to ↵ | Konstantin Käfer | 2015-11-09 | 4 | -37/+22 |
| | | | | | | tiles" This reverts commit ec1a58d8effb3292ec46cca3fcad17218fa8c016 and 177372b83657cda9696ff68fd5cbb872b87ce324. | ||||
* | [core] Update::Classes already implies repaint | Bruno de Oliveira Abinader | 2015-11-09 | 1 | -3/+1 |
| | |||||
* | [core] Update after final frame of transition | Minh Nguyễn | 2015-11-06 | 2 | -2/+5 |
| | | | | | | | | The final frame is self-destructing – it destroys the frame and finish functions – so technically we’re no longer inTransition(). Yet there still needs to be an update after that final frame. Also, avoid a redundant change notification on the last frame. (It would come too late, after the DidChange notification, anyhow.) Fixes #2946. | ||||
* | [core] Remove the ability to change cross-fade durations via transition | John Firebaugh | 2015-11-06 | 7 | -40/+13 |
| | | | | | | | | | | We shouldn't overload transition duration to mean the duration of the cross-fade when moving between stops. If we want to allow styles to override the default 300ms fade duration, it should be a dedicated property like raster-fade-duration. I don't think any styles use this functionality -- if they did, they were broken for MapMode::Still rendering. | ||||
* | [core] Use frame animation time, not Clock::now(), for fading | John Firebaugh | 2015-11-06 | 1 | -1/+1 |
| | |||||
* | [core] Merge PiecewiseConstantFunction into Function | John Firebaugh | 2015-11-06 | 12 | -180/+135 |
| | |||||
* | [core] Simplify Function | John Firebaugh | 2015-11-06 | 8 | -89/+66 |
| | |||||
* | [core] Reset GL values when needed | Bruno de Oliveira Abinader | 2015-11-06 | 7 | -2/+29 |
| | |||||
* | [core] Use GL_TRUE/GL_FALSE instead of true/false | Bruno de Oliveira Abinader | 2015-11-06 | 8 | -24/+31 |
| | |||||
* | [core] clear the render order when we're loading a new style | Konstantin Käfer | 2015-11-06 | 1 | -0/+6 |
| | | | | regression introduced by #2908 | ||||
* | [core] Use tileSize constant | Thiago Marcos P. Santos | 2015-11-06 | 1 | -1/+2 |
| | | | | Instead of hardcoding the tile size again. | ||||
* | [core] Replace GL config save/restore with setDirty mechanism | Bruno de Oliveira Abinader | 2015-11-06 | 2 | -50/+25 |
| | |||||
* | [core] fix logging so we don't use strings as a formatter | Konstantin Käfer | 2015-11-06 | 1 | -1/+1 |
| | |||||
* | [core] Added missing virtual destructor to HTTPContextBase | Thiago Marcos P. Santos | 2015-11-05 | 1 | -0/+1 |
| | |||||
* | [core] only update the render order array when there are changes to tiles | Konstantin Käfer | 2015-11-05 | 4 | -22/+31 |
| | |||||
* | [core] Move remaining GL state from Painter into GLConfig object | Konstantin Käfer | 2015-11-04 | 11 | -56/+81 |
| | |||||
* | [core] mason geojsonvt-2.1.6.3 | Mike Morris | 2015-11-02 | 3 | -3/+5 |
| | | | | | | | | | | | | | - [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 | ||||
* | [node] patch Painter::renderSDF to ignore animation and fade duration in ↵ | Mike Morris | 2015-11-02 | 1 | -5/+12 |
| | | | | MapMode::Still | ||||
* | [core] Make DefaultFileSource react to all NetworkStatus changes | Konstantin Käfer | 2015-11-02 | 2 | -1/+30 |
| | |||||
* | [core] move retry logic to DefaultFileSource | Konstantin Käfer | 2015-11-02 | 13 | -230/+299 |
| | |||||
* | [core] Don't crash when removing a shape annotation whose layer was never ↵ | John Firebaugh | 2015-10-30 | 1 | -1/+3 |
| | | | | created | ||||
* | [core][iOS] Source iOS styles from default_styles | Minh Nguyễn | 2015-10-30 | 1 | -0/+16 |
| | | | | | | | | | | Moved mbgl::util::default_styles to a more appropriate location, where iOS platform code can also find it. Moved -[MGLMapView bundledStyleURLs] (which is now deprecated) and the style switcher in iosapp to default_styles. Added a collection of convenience methods for getting style URLs. It makes little sense to layer an enum atop this, as MapKit does, because MGLMapView styles aren’t limited to this set. A good analogy is UIColor. This also makes for a good entry point for future runtime styling APIs. Introduced independent constants for each default style, because it’s more common to need access to a particular style than to iterate over them. This fact is apparent in the MGLStyle class, which now uses macros and assertions to ensure that it’s kept up-to-date with changes in default_styles. /ref #1462 | ||||
* | [core] Polymorphic bucket creation | John Firebaugh | 2015-10-30 | 19 | -162/+247 |
| | |||||
* | [core] Eliminate StyleBucket | John Firebaugh | 2015-10-30 | 19 | -235/+174 |
| | |||||
* | [core] Use current copy of style layers when reparsing tiles | John Firebaugh | 2015-10-30 | 6 | -17/+26 |
| | | | | | | This fixes adding shape annotations after VectorTileData objects have been created for annotations already, and will also be necessary for the dynamic Style API. | ||||
* | [core] Monitor annotation tiles, rather than completely invalidating them | John Firebaugh | 2015-10-30 | 7 | -16/+46 |
| | | | | Fixes #1688 | ||||
* | [core] When reparsing a tile, replace all existing buckets | John Firebaugh | 2015-10-30 | 3 | -5/+4 |
| | | | | | A tile may go from having particular layers, to not having them. (Annotation tiles in particular.) | ||||
* | [core] Separate type for RasterTileParseResult | John Firebaugh | 2015-10-30 | 3 | -18/+14 |
| | |||||
* | [core] Polymorphic layout and paint parsing | John Firebaugh | 2015-10-29 | 20 | -812/+801 |
| | |||||
* | [core] Merge LiveTileData into VectorTileData | John Firebaugh | 2015-10-29 | 12 | -343/+224 |
| | | | | | | | | | | To encapsulate the differences, this introduces an abstract GeometryTileMonitor class, with concrete VectorTileMonitor and AnnotationTileMonitor implementations, and makes pbf parsing for VectorTile data happen lazily in getLayer, since we want that to happen on the worker thread, rather than when VectorTile is created. Fixes #2792 | ||||
* | [core] Set names to threads on Linux | Thiago Marcos P. Santos | 2015-10-29 | 1 | -1/+3 |
| | | | | Makes debugging/profiling easier. | ||||
* | [core] Workaround for #2808 | John Firebaugh | 2015-10-28 | 1 | -0/+3 |
| | |||||
* | [node] Output debug logs when a render test times out | John Firebaugh | 2015-10-28 | 11 | -0/+55 |
| | |||||
* | [core] Ensure URL normalization is safe. Fixes #2695 | Tom MacWright | 2015-10-28 | 1 | -0/+19 |
| | |||||
* | improve gestures in perspective view | Ansis Brammanis | 2015-10-26 | 3 | -22/+44 |
| | | | | | | | The location under your finger stays under your finger as you pan. The location you double tap to zoom stays at the same point. The location at the center of a pinch zoom stays at the center. The location at the center of a rotation stays at the center. | ||||
* | [core] Extract PaintPropertiesMap | John Firebaugh | 2015-10-26 | 20 | -273/+318 |
| | |||||
* | [core] Move parseCacheControl() up in the class hierarchy | Thiago Marcos P. Santos | 2015-10-26 | 2 | -0/+24 |
| | | | | Avoid duplicating it on all the ports. | ||||
* | [core] always reparse with the freshest possible placement config | Konstantin Käfer | 2015-10-26 | 14 | -125/+226 |
| | | | | Fixes an issue where updates to stale tiles would remove labels altogether until the map was rotated. | ||||
* | [core] reparse tiles when new data arrives | Konstantin Käfer | 2015-10-26 | 25 | -286/+458 |
| | | | | We're now reparsing tiles when they expire. We're also swapping out buckets atomically to avoid flickering data; i.e. we're displaying the old data as long as we don't have a new parsed bucket for that layer yet. The parsed buckets now live in the *TileData objects rather than in the TileWorker; only partially parsed == pending buckets will remain in the TileWorker. Once they're parsed, they're moved to the *TileData object. |