| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
gyp/platform-ios.gypi
platform/ios/MGLMapView.mm
styles
|
| |
| |
| |
| |
| |
| | |
See #1064: problematic & can wait until after beta
This reverts commit 9dd9bd6e9ddf40ae3ae1746b191ce7d0a8ea0842.
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| | |
a1a7ab62e176afb354109ba23360c668f84771e8 only added an Emerald option to the test app, but `MGLMapView` itself has its own default style.
Fixes #964.
|
| | |
|
| | |
|
| |
| |
| |
| | |
method name.
|
| | |
|
| | |
|
| |
| |
| |
| | |
comply with naming scheme.
|
|/ |
|
|
|
|
|
| |
Also destroy the glfwWindow we create. This leak was probably harmless
but a nice cleanup helps us debug other serious memory leaks.
|
|\
| |
| | |
API for initializing with bundled style
|
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|\ \
| |/
|/| |
Look inside MapboxGL.bundle when present
|
| |
| |
| |
| | |
Fixes #1011.
|
|/
|
|
|
|
| |
- 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
|
| |
|
|\
| |
| | |
paint it black
|
| | |
|
| | |
|
|\ \
| | |
| | | |
Get rid of printf and cout by using Log::*
|
| |/
| |
| |
| |
| |
| |
| | |
Use our logging system that will route the message accordingly on
the target platform.
Fixes #613
|
| |
| |
| |
| | |
Followup to 28e28934c74b0f8668020de03caf61d65a9c9842.
|
|/ |
|
|\
| |
| | |
Refactoring of the log system
|
| |
| |
| |
| |
| |
| |
| | |
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).
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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 #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
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
Looks terrible at the moment, but the API is closer to what developers would expect.
Fixes #935.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
they can only be called by View::resize
|
|\
| |
| | |
Add optimized 3x assets
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|