Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Define mbgl::variant (#4833) | John Firebaugh | 2016-04-25 | 1 | -3/+2 |
| | | | For parallelism with mbgl::optional, and to avoid exposing namespaces other than `mbgl` in the public API. | ||||
* | [core] Move enum type classes to implementation (#4831) | John Firebaugh | 2016-04-25 | 1 | -81/+0 |
| | |||||
* | [core] Extract Function::evaluation to a separate class (#4811) | John Firebaugh | 2016-04-25 | 1 | -12/+0 |
| | | | This allows the Function<Faded<T>> partial specialization to be eliminated, giving all property functions a consistent storage type. | ||||
* | [core, ios, osx] cameraThatFitsCoordinateBounds | Minh Nguyễn | 2016-04-22 | 1 | -2/+3 |
| | | | | | | Added an API to get a camera that you can pass into -[MGLMapView setCamera:] that fits the given coordinate bounds, by analogy with -[MKMapView regionThatFits:] or -[MKMapView mapRectThatFits:edgePadding:]. Added mbgl::Map::getCameraOptions() for getting the current camera options more conveniently. | ||||
* | [core] Use the proper type for font stacks | John Firebaugh | 2016-04-22 | 2 | -2/+12 |
| | |||||
* | [core] PlacementType ⇢ SymbolPlacementType | John Firebaugh | 2016-04-21 | 1 | -4/+4 |
| | |||||
* | [core] JoinType ⇢ LineJoinType | John Firebaugh | 2016-04-21 | 1 | -7/+7 |
| | |||||
* | [core] CapType ⇢ LineCapType | John Firebaugh | 2016-04-21 | 1 | -5/+5 |
| | |||||
* | [core] Fix compilation warning | Bruno de Oliveira Abinader | 2016-04-20 | 1 | -2/+2 |
| | |||||
* | [core] Convert MapContext to Map::Impl; eliminate indirection | John Firebaugh | 2016-04-15 | 1 | -19/+2 |
| | |||||
* | [core] always set activeTexture before binding a texture | Ansis Brammanis | 2016-04-14 | 1 | -0/+13 |
| | |||||
* | [core] Remove internal threading from OnlineFileRequest | John Firebaugh | 2016-04-14 | 1 | -6/+2 |
| | | | | There's no need to do the work that OnlineFileRequest does on a separate thread from the DefaultFileSource thread, and having AsyncTasks proxy to other tasks across a thread boundary adds needless complexity. | ||||
* | [core] Render from the main thread | John Firebaugh | 2016-04-14 | 4 | -59/+36 |
| | | | | Do not create a thread for the MapContext anymore. | ||||
* | [core] Don't put static objects in a header file (#4707) | John Firebaugh | 2016-04-14 | 1 | -25/+8 |
| | | | This causes duplicate objects -- one for every file that includes that header. | ||||
* | [android] Introduce RunLoop based on Looper | Thiago Marcos P. Santos | 2016-04-06 | 1 | -1/+2 |
| | | | | Also implement a Timer and AsyncTask based on Android's Looper. | ||||
* | [ios, osx, linux] Remove unused "applicationRoot" function | John Firebaugh | 2016-03-31 | 1 | -3/+0 |
| | |||||
* | Merge branch 'release-ios-3.2.0-android-4.0.0' | John Firebaugh | 2016-03-30 | 2 | -0/+7 |
|\ | |||||
| * | [core] Localize and simplify state for MapChangeDidFinishLoadingMap event | John Firebaugh | 2016-03-30 | 1 | -0/+1 |
| | | | | | | | | Only Map needs to track this state, and it can simply be set when beginning to load a style and reset when finished. | ||||
| * | [core] Assert and guard against null std::exception_ptr in toString | John Firebaugh | 2016-03-16 | 1 | -0/+6 |
| | | | | | | | | We don't expect toString to be called with a null std::exception_ptr. But if it is, we'd prefer not to terminate the process in release builds. | ||||
* | | [core] Unify FileRequest and WorkRequest | John Firebaugh | 2016-03-24 | 6 | -14/+22 |
| | | |||||
* | | [core] split headless_view.cpp into implementation-specific files | Konstantin Käfer | 2016-03-22 | 1 | -2/+17 |
| | | | | | | | | also adds a EAGL implementation for iOS | ||||
* | | [test] remove crc64 and compare images | Konstantin Käfer | 2016-03-22 | 1 | -0/+7 |
| | | | | | | | | boost's crc64 breaks on iOS | ||||
* | | [glfw] Main loop integration | Thiago Marcos P. Santos | 2016-03-21 | 2 | -0/+34 |
| | | | | | | | | | | | | This new code can be used for rendering on the Main thread while it will also work for rendering on the Map thread before we make the switch. Needed by #2909. | ||||
* | | [core] Default fade duration is now a constant | Bruno de Oliveira Abinader | 2016-03-18 | 2 | -3/+1 |
| | | |||||
* | | [core] Remove default transition duration | Bruno de Oliveira Abinader | 2016-03-18 | 2 | -12/+8 |
| | | |||||
* | | [core] s/Update::Zoom/Update/RecalculateStyle/ | Bruno de Oliveira Abinader | 2016-03-18 | 1 | -1/+1 |
| | | |||||
* | | [core] Added user-defined transition properties when modifying classes | Bruno de Oliveira Abinader | 2016-03-18 | 2 | -3/+25 |
| | | |||||
* | | [core] Remove MapData::defaultTransitionDelay | Bruno de Oliveira Abinader | 2016-03-18 | 1 | -3/+0 |
| | | |||||
* | | [core] Check for NaNs in mbgl::util::{min,max,clamp} | Bruno de Oliveira Abinader | 2016-03-18 | 2 | -20/+22 |
| | | |||||
* | | [core] use constexpr constants | Konstantin Käfer | 2016-03-16 | 1 | -17/+28 |
| | | |||||
* | | [core] Simplify LatLng::unwrapForShortestPath usage | Bruno de Oliveira Abinader | 2016-03-14 | 1 | -9/+8 |
| | | | | | | | | | | | | | | | | | | | | Simplify LatLng::{wrap,unwrapForShortestPath} code, avoiding duplicated code between Transform::{latLngToScreenCoordinate,easeTo,flyTo}. Added unit tests for camera usage in Transform to detect cases like e.g. crossing the antimeridian as a shortest path between two coordinates. Transform::flyTo precision loss to be handled in #4298. | ||||
* | | [core] Implement LatLng::null() | Bruno de Oliveira Abinader | 2016-03-13 | 1 | -0/+4 |
| | | |||||
* | | [core] Harden Transform anchor & padding usage | Bruno de Oliveira Abinader | 2016-03-13 | 1 | -14/+15 |
|/ | | | | | Use optional values for anchor & padding in Map and Transform functions instead of NaNs. Added unit tests to stress some edge cases. | ||||
* | [core] Make vec{2,3,4} operator bool explicit | Bruno de Oliveira Abinader | 2016-03-11 | 1 | -6/+6 |
| | |||||
* | [core] Check for NaNs in EdgeInsets | Bruno de Oliveira Abinader | 2016-03-10 | 1 | -2/+3 |
| | |||||
* | [core] Remove _validPoint from Transform code | Bruno de Oliveira Abinader | 2016-03-10 | 1 | -0/+25 |
| | | | | vec2<T>::operator bool() checks for NaNs already. | ||||
* | [core] Coordinate wrapping fixes | Bruno de Oliveira Abinader | 2016-03-10 | 3 | -18/+28 |
| | | | | | | | | | | | | | | | - Make returning LatLngs unwrapped by default. - PointAnnotation and ShapeAnnotation are always wrapped so they can be selected via intersection from the visible tile boundaries. - Fixes LatLng::wrap() calculation. - Fixes LatLng::unwrapForShortestPath() calculation. The new unwrapForShortestPath algorithm unwraps the start coordinate either forwards or backwards depending on the end coordinate value, so we can always cross the antimeridian when needed and still obtain a wrapped end coordinate in the end. Fixes #4214. | ||||
* | [core] Remove goOffline() from DefaultFileSource | Thiago Marcos P. Santos | 2016-03-08 | 2 | -3/+2 |
| | | | | Use the newly added NetworkStatus::Set(). | ||||
* | [core] Add client defined network status | Thiago Marcos P. Santos | 2016-03-08 | 1 | -0/+10 |
| | | | | | | | | This API will let the client force a network status. If set to Offline, we won't make network requests. When set make to Online, it will trigger the pending requests and try to fetch tiles from the network. | ||||
* | [core] explicitly initialize a few fields to null | Konstantin Käfer | 2016-03-04 | 3 | -5/+5 |
| | |||||
* | [core] Regression fix in LatLng::unwrapForShortestPath | Bruno de Oliveira Abinader | 2016-03-03 | 1 | -1/+5 |
| | | | | | | | When porting this from Transform::unwrapLatLng, I forgot to check for the second alternative. Fixes #4174. | ||||
* | [core] Avoid precompute overscaling for TileID | Bruno de Oliveira Abinader | 2016-03-01 | 1 | -0/+5 |
| | | | | Plus type change for zoom and removed redundant inlines. | ||||
* | [core] Added DEGREES_MAX as constant value | Bruno de Oliveira Abinader | 2016-03-01 | 2 | -1/+2 |
| | |||||
* | [core] Moved wrapping to LatLng scope | Bruno de Oliveira Abinader | 2016-03-01 | 1 | -4/+22 |
| | | | | Fixes a precision loss when converting unwrapped LatLngs. | ||||
* | [core] PrecisionPoint is now ScreenCoordinate | Bruno de Oliveira Abinader | 2016-03-01 | 3 | -13/+13 |
| | |||||
* | [core] Get rid of mbgl/util/vec4 - use vec4 from vec.hpp instead | Bruno de Oliveira Abinader | 2016-03-01 | 2 | -3/+7 |
| | |||||
* | [core] Coordinate is now GeometryCoordinate | Bruno de Oliveira Abinader | 2016-03-01 | 1 | -2/+0 |
| | | | | | Also introduced GeometryCoordinates (vector of GeometryCoordinate items), to better cope with GeometryCollection. | ||||
* | [core] Enforce constants usage | Bruno de Oliveira Abinader | 2016-03-01 | 1 | -0/+1 |
| | | | | | Use 'LATITUDE_MAX', 'LONGITUDE_MAX', 'DEG2RAD' and 'RAD2DEG' whenever possible. | ||||
* | [core] Build fix | Thiago Marcos P. Santos | 2016-02-26 | 1 | -1/+1 |
| | | | | Fix no viable conversion on OSX. | ||||
* | [core] Add timeout for clock skew | Thiago Marcos P. Santos | 2016-02-26 | 1 | -0/+4 |
| | | | | | | | | | | If the server keeps sending replies considered from the client in the past (there is no way to tell if the server or client clock is wrong), the client will try to interpolate a valid expiration time based on the delta of the expiration intervals sent by the server. If the intervals are always the same, exponential backoff kicks in until we get a different expiration time from what we already have. |