Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ios, osx] Fixed project upgrade warnings | Minh Nguyễn | 2016-04-16 | 1 | -1/+1 |
| | | | | Fixed project upgrade warnings in projects managed by gyp. | ||||
* | [ios] Don't try to launch test server (#4719) | John Firebaugh | 2016-04-15 | 1 | -0/+3 |
| | |||||
* | [core] Eliminate MapData | John Firebaugh | 2016-04-15 | 1 | -1/+0 |
| | |||||
* | [core] Remove MapData dependency from Style | John Firebaugh | 2016-04-15 | 2 | -14/+12 |
| | |||||
* | [core] Convert MapContext to Map::Impl; eliminate indirection | John Firebaugh | 2016-04-15 | 3 | -27/+14 |
| | |||||
* | [core] Clean up ThreadContext vestiges | John Firebaugh | 2016-04-15 | 9 | -36/+14 |
| | |||||
* | [tests] Use StubFileSource where a real FileSource is not required | John Firebaugh | 2016-04-14 | 5 | -22/+22 |
| | |||||
* | [tests] Rationalize storage tests | John Firebaugh | 2016-04-14 | 19 | -912/+645 |
| | | | | Properly divide Storage tests into DefaultFileSource, OnlineFileSource, and HTTPFileSource tests. | ||||
* | [core] Remove internal threading from OnlineFileRequest | John Firebaugh | 2016-04-14 | 1 | -0/+3 |
| | | | | 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 | 10 | -69/+82 |
| | | | | Do not create a thread for the MapContext anymore. | ||||
* | [core] Demote "Unable to make space for entry" message from Warning to Debug ↵ | John Firebaugh | 2016-04-14 | 1 | -6/+2 |
| | | | | (#4708) | ||||
* | [darwin] use CFRunLoopSourceInvalidate() to also cancel any pending ↵ | Konstantin Käfer | 2016-04-12 | 1 | -0/+27 |
| | | | | AsyncTask invocations | ||||
* | [test] This "very unlikely" condition in fact happens regularly in CI (#4679) | John Firebaugh | 2016-04-11 | 1 | -1/+1 |
| | |||||
* | [ios] Run core unit tests in CI | John Firebaugh | 2016-04-11 | 15 | -88/+100 |
| | |||||
* | [build] Refactor and simplify build system | John Firebaugh | 2016-04-07 | 4 | -65/+8 |
| | | | | | | | | | | | | | | * Main gyp files are now standardized as platform/<platform>/platform.gyp. * Each platform gyp file defines appropriate loop_lib and headless_lib variables. * Each platform gyp file includes mbgl.gypi, which defines base targets which may be useful to all platforms. * CI targets are consistent across platforms: `make $(PLATFORM) && make test-$(PLATFORM)`. * Renamed the "linux" test app to "glfw". It's now built in OS X CI. * Android build flakiness is fixed. * iOS CI builds the bench and iosapp targets. * Mesa version is now in one place. * CI scripts use bash "strict mode" and correct error handling. * All build output goes to the build directory. * Removed vestigial iOS/OS X/Android Travis scripts. | ||||
* | [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 | ||||
* | Merge branch 'release-ios-3.2.0-android-4.0.0' | John Firebaugh | 2016-03-30 | 3 | -4/+96 |
|\ | |||||
| * | [core] Set schema version to 3 after upgrading | John Firebaugh | 2016-03-28 | 1 | -0/+8 |
| | | | | | | | | | | | | The migration was upgrading the schema, but not the schema version. As a result, the (expensive) migration was running every time an OfflineDatabase was constructed with a v2 database. Fixes #4501 | ||||
| * | [core] Stop download when tile limit is reached | Jesse Bounds | 2016-03-17 | 1 | -4/+60 |
| | | | | | | | | | | | | | | | | The tile limit guard (when used) stops a download from continuing when the tile limit is reached. This wraps the guard in a method and employs it in both places currently necessary to ensure the guard has a chance to function. Tests have been updated to ensure the fix works for a less trivial tile limit scenario. | ||||
| * | [core] Implement a vacuum strategy for the offline database | John Firebaugh | 2016-03-17 | 2 | -0/+28 |
| | | | | | | | | Enable `PRAGMA auto_vacuum = INCREMENTAL`, and perform a `PRAGMA incremental_vacuum` when deleting an offline region. | ||||
* | | [core] Unify FileRequest and WorkRequest | John Firebaugh | 2016-03-24 | 15 | -45/+45 |
| | | |||||
* | | [core] Allow the use of special characters in property field names | John Firebaugh | 2016-03-23 | 1 | -4/+4 |
| | | | | | | | | Fixes #4336 | ||||
* | | [tests] Mark some tests as requiring server | Thiago Marcos P. Santos | 2016-03-23 | 3 | -5/+5 |
| | | | | | | | | | | | | Otherwise they will fail on iOS with connection error. Fixex #4434 | ||||
* | | [tests] fix make iproj copy phase for unit text fixtures | Jason Wray | 2016-03-22 | 1 | -2/+1 |
| | | |||||
* | | [tests] Tweak offline tests to work on iOS | John Firebaugh | 2016-03-22 | 1 | -17/+8 |
| | | |||||
* | | [ios] make unit tests work on iOS and iOS Simulator | Konstantin Käfer | 2016-03-22 | 22 | -40/+182 |
| | | |||||
* | | [test] rearrange test files so they're not in the fixtures folder | Konstantin Käfer | 2016-03-22 | 54 | -92/+91 |
| | | |||||
* | | [test] remove crc64 and compare images | Konstantin Käfer | 2016-03-22 | 14 | -57/+46 |
| | | | | | | | | boost's crc64 breaks on iOS | ||||
* | | [tests] Add utest to make sure prior expiration time is being respected | Thiago Marcos P. Santos | 2016-03-17 | 1 | -0/+35 |
| | | |||||
* | | [core] Get rid of MapData::{get,set}animationTime | Bruno de Oliveira Abinader | 2016-03-18 | 1 | -6/+12 |
| | | |||||
* | | [core] Move class handling to Style | Bruno de Oliveira Abinader | 2016-03-18 | 1 | -2/+14 |
| | | |||||
* | | [core] Check for NaNs in mbgl::util::{min,max,clamp} | Bruno de Oliveira Abinader | 2016-03-18 | 2 | -0/+43 |
| | | |||||
* | | [core] Always return wrapped coordinates | Bruno de Oliveira Abinader | 2016-03-14 | 1 | -0/+6 |
| | | | | | | | | | | | | This fixes an issue in both iOS and Android when e.g. adding a marker on both sides of the dateline border in Taveuni island, the marker in one of the sides would have an out-of-bounds longitude. | ||||
* | | [core] Simplify LatLng::unwrapForShortestPath usage | Bruno de Oliveira Abinader | 2016-03-14 | 1 | -2/+70 |
| | | | | | | | | | | | | | | | | | | | | 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/+3 |
| | | |||||
* | | [core] Harden Transform anchor & padding usage | Bruno de Oliveira Abinader | 2016-03-13 | 1 | -4/+77 |
|/ | | | | | Use optional values for anchor & padding in Map and Transform functions instead of NaNs. Added unit tests to stress some edge cases. | ||||
* | [core] Deactivate offline region upon completion | Minh Nguyễn | 2016-03-11 | 1 | -6/+15 |
| | |||||
* | [core] Fix non-anchored Transform::setAngle | Bruno de Oliveira Abinader | 2016-03-11 | 1 | -12/+17 |
| | | | | | This reverts a line change from b33b2f15, because we explicitely want the anchor to be invalid. | ||||
* | [core] Fix screen coordinates when crossing the antimeridian (#2) | Bruno de Oliveira Abinader | 2016-03-11 | 1 | -0/+16 |
| | | | | Added missing case. Really fixes #4155 this time. | ||||
* | [core] Make vec{2,3,4} operator bool explicit | Bruno de Oliveira Abinader | 2016-03-11 | 1 | -3/+3 |
| | |||||
* | [core] Fix screen coordinates when crossing the antimeridian | Bruno de Oliveira Abinader | 2016-03-10 | 1 | -0/+22 |
| | | | | | | | | | If the center and point coordinates are not in the same side of the antimeridian, we need to unwrap the point longitude to make sure it can still be seen from the visible side of the antimeridian that is opposite to the center side. Fixes #4155. | ||||
* | [core] Check for NaNs in EdgeInsets | Bruno de Oliveira Abinader | 2016-03-10 | 1 | -2/+36 |
| | |||||
* | [core] Coordinate wrapping fixes | Bruno de Oliveira Abinader | 2016-03-10 | 2 | -6/+38 |
| | | | | | | | | | | | | | | | - 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] Deactivate OfflineDownload when the tile count limit is hit | John Firebaugh | 2016-03-09 | 1 | -1/+13 |
| | | | | This is a better behavior than sending hundreds or thousands of tileCountLimitExceeded notifications. | ||||
* | [core] Fix offline status reporting regressions | John Firebaugh | 2016-03-08 | 1 | -12/+38 |
| | | | | | | The core of the change is ensuring that ensureResource doesn't release Zalgo: it should be consistently async, rather than async in the case that the resource doesn't exist in the database, but sync if it does. This ensures that status is reported in a more consistent sequence, regardless of the database state. | ||||
* | [core] Fix RunLoop::run() behavior when called a second time | John Firebaugh | 2016-03-08 | 1 | -0/+21 |
| | |||||
* | [tests] Add utest for NetworkStatus::Online/Offline | Thiago Marcos P. Santos | 2016-03-08 | 1 | -0/+33 |
| | |||||
* | [core] Remove goOffline() from DefaultFileSource | Thiago Marcos P. Santos | 2016-03-08 | 1 | -1/+4 |
| | | | | Use the newly added NetworkStatus::Set(). | ||||
* | [core] Ensure OfflineRegionStatus::downloadState is accurately reported | John Firebaugh | 2016-03-07 | 1 | -0/+31 |
| | |||||
* | [core] explicitly initialize a few fields to null | Konstantin Käfer | 2016-03-04 | 1 | -2/+2 |
| |