summaryrefslogtreecommitdiff
path: root/platform
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'master' of github.com:mapbox/mapbox-gl-native into 1033-metricsBrad Leege2015-03-231-9/+302
|\ | | | | | | | | | | | | Conflicts: gyp/platform-ios.gypi platform/ios/MGLMapView.mm styles
| * Revert "bring in tweaked compass snapping fixes from @friedbunny"Justin R. Miller2015-03-221-19/+1
| | | | | | | | | | | | See #1064: problematic & can wait until after beta This reverts commit 9dd9bd6e9ddf40ae3ae1746b191ce7d0a8ea0842.
| * bring in tweaked compass snapping fixes from @friedbunnyJustin R. Miller2015-03-221-1/+19
| |
| * more safe return when no selectionJustin R. Miller2015-03-221-1/+1
| |
| * safety checks & no-op returnsJustin R. Miller2015-03-221-0/+20
| |
| * Cocoa annotations APIJustin R. Miller2015-03-221-9/+282
| |
| * Show Emerald by defaultMinh Nguyễn2015-03-201-1/+1
| | | | | | | | | | | | a1a7ab62e176afb354109ba23360c668f84771e8 only added an Emerald option to the test app, but `MGLMapView` itself has its own default style. Fixes #964.
* | #1033 - Removing BackgroundStatus analyticBrad Leege2015-03-201-7/+0
| |
* | #1033 - Initial integration of anonymous location metrics reportingBrad Leege2015-03-201-3/+5
| |
* | #1033 - Adding CoreTelephony dependency and fixing access token setting ↵Brad Leege2015-03-201-1/+1
| | | | | | | | method name.
* | #1033 - Adding MGLMapboxEvents to MGLMapViewBrad Leege2015-03-201-1/+13
| |
* | #1033 - Integrating MapboxEvents class.Brad Leege2015-03-201-0/+250
| |
* | #1033 - Renaming MBLocationManager to MGLMetricsLocationManager to better ↵Brad Leege2015-03-202-10/+10
| | | | | | | | comply with naming scheme.
* | #1033 - Moving MBLocationManager to Core GL from app specific instance.Brad Leege2015-03-202-0/+147
|/
* Delete the GLFWView object at exitThiago Marcos P. Santos2015-03-201-0/+1
| | | | | Also destroy the glfwWindow we create. This leak was probably harmless but a nice cleanup helps us debug other serious memory leaks.
* Merge pull request #1020 from mapbox/init-bundled-styleMinh Nguyễn2015-03-191-2/+15
|\ | | | | API for initializing with bundled style
| * Added API for initializing with bundled styleMinh Nguyễn2015-03-191-2/+15
| | | | | | | | | | | | As a best practice for the beta and a workaround for #1014. Also reversed the argument order of the existing init method. Reads better this way, but you’ll likely have to change your initialization to match the new signatures.
* | Log the Environment ID and the Thread nameThiago Marcos P. Santos2015-03-183-11/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make it easier to debug, add the Environment ID and the Thread name to the log messages. For instance log messages from the TileParser will look like: [WARNING] {0}{TileWorker_15/18653/9486}[ParseTile]: some relevant warning message | | | | | | | +-> Component | | +--------------------> Thread name | +----------------------------------> Environment ID +------------------------------------------> Severity level Log messages that are not inside an Environment::Scope will work normally and will look like: [WARNING] [JNI]: some relevant warning message Fixes #882.
* | Merge pull request #1012 from mapbox/1011-bundleJustin R. Miller2015-03-171-1/+10
|\ \ | |/ |/| Look inside MapboxGL.bundle when present
| * Look inside MapboxGL.bundle when presentMinh Nguyễn2015-03-161-1/+10
| | | | | | | | Fixes #1011.
* | fix sprites for pixel ratios that are not 1 and 2Konstantin Käfer2015-03-173-112/+1
|/ | | | | | - OpenGL ES 2 doesn't allow NPOT textures with wrap-around - The Sprite object reported the map's pixelRatio, even though it loaded @2x assets - Copying icons from the sprite into the atlas now uses bilinear scaling to scale up to the actual size
* iOS setAppliedStyleClasses -> setStyleClassesJustin R. Miller2015-03-131-4/+4
|
* Merge pull request #994 from mapbox/990-paintItBlackJustin R. Miller2015-03-121-1/+1
|\ | | | | paint it black
| * #990 - Changing to clear color instead of blackBrad Leege2015-03-121-1/+1
| |
| * #990 - Changing background color from white to blackBrad Leege2015-03-121-1/+1
| |
* | Merge pull request #984 from mapbox/log_stderr_printfJohn Firebaugh2015-03-125-11/+11
|\ \ | | | | | | Get rid of printf and cout by using Log::*
| * | Get rid of printf and cout by using Log::*Thiago Marcos P. Santos2015-03-125-11/+11
| |/ | | | | | | | | | | | | Use our logging system that will route the message accordingly on the target platform. Fixes #613
* | Avoid building a redundant arrayMinh Nguyễn2015-03-121-6/+5
| | | | | | | | Followup to 28e28934c74b0f8668020de03caf61d65a9c9842.
* | Remove the file extensions from the bundledStyleNames methodAnthony Picciano2015-03-121-3/+6
|/
* Merge pull request #972 from mapbox/log_cleanupThiago Marcos P. Santos2015-03-124-83/+12
|\ | | | | Refactoring of the log system
| * Make the logging system staticThiago Marcos P. Santos2015-03-124-13/+13
| | | | | | | | | | | | | | No initialization is needed anymore and we can use the logging functions safely at any point of the code (threading is not handled though, so you might get multiplexed messages if you log from two threads simultaneously).
| * Simplify the logging mechanismThiago Marcos P. Santos2015-03-123-71/+0
| | | | | | | | | | | | | | | | | | Move the implementation of the more specialized methods to the base class and let the platform implement only the most generic method that takes all the possible arguments. These specialized methods will then map to the generic implementation that must be provided by the platforms we support.
* | fixes black flicker on rotating the deviceKonstantin Käfer2015-03-123-26/+23
|/ | | | | | | | | | | | fixes #838 instead of rendering ad libitum on the map thread, we are now driving rendering from the UI thread on iOS via the map.renderSync() function. There are still white bars during the rotation, but the general content of the view is kept visible. - upgrades GLFW to 3.1 - removes swapped/needsSwap in favor of a more explicit scheme - View#invalidate() now replaces View#swap() and is called whenever the View needs to trigger a rerender. GLFW and Android to this right away, while iOS goes back to the main thread and does the Map redrawing as part of the GLKView update - sets all iOS deployment targets to 7.0 - disables SQLite3 version check, since the library version changed on iOS 8.2
* Relax sqlite version check to major version onlyJohn Firebaugh2015-03-111-8/+1
| | | | | | | iOS 8.2 updates the included SQLite version to 3.8.4, while iOS 7.0 up to iOS 8.1 provides version 3.7.13. When compiling with the 8.2 SDK and running on 8.1 or below, or vice versa, a strict check fails. Fixes #968.
* refs #935: remove dispatch_once, favor property use, and return immutable stylesJustin R. Miller2015-03-091-21/+19
|
* Alias hybrid to satelliteMinh Nguyễn2015-03-081-5/+31
| | | | | | Looks terrible at the moment, but the API is closer to what developers would expect. Fixes #935.
* scope Requests to an Environment object for easier cancelationKonstantin Käfer2015-03-061-0/+3
| | | | | | | | | we are now scoping all file requests to an environment object. The FileSource implementation treats this as an opaque pointer, but allows canceling all Requests that are associated with that pointer. This is necessary to abort all file requests that originated from a particular Map object. Aborting a file request is different from canceling a file request: A canceled request doesn't have its callback called, while an aborted request will have its callback called with an error, indicating that the environment is going to be shut down.
* fix handling around unique_ptr releasesKonstantin Käfer2015-03-062-2/+1
|
* Fail early in case there is no displayKonstantin Käfer2015-03-061-0/+4
|
* guard against concurrent OpenGL extension loadingKonstantin Käfer2015-03-063-9/+25
|
* make Map::resize() privateKonstantin Käfer2015-03-063-16/+22
| | | | they can only be called by View::resize
* Merge pull request #950 from friedbunny/3x-assetsJustin R. Miller2015-03-051-0/+0
|\ | | | | Add optimized 3x assets
| * Add optimized 3x assetsJason Wray2015-03-051-0/+0
| |
* | refs #950: add 3x Mapbox wordmarkJustin R. Miller2015-03-051-0/+0
|/
* #869 - Configuring cache.db to live in /Library/Caches for iOSBrad Leege2015-03-041-1/+1
|
* update default iOS style shown v6 -> v7Justin R. Miller2015-03-031-1/+1
|
* Fixed new clang errors in Xcode 6.3b2Minh Nguyễn2015-02-231-1/+1
|
* update uv_zipKonstantin Käfer2015-02-171-0/+2
|
* wrong symbol nameKonstantin Käfer2015-02-171-1/+1
|
* add ca bundle loading back to CURLKonstantin Käfer2015-02-171-4/+118
|