| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Refs #4738
|
|
|
|
| |
MGLMapView observes changes to the coordinate property of each MGLAnnotation added to it. Changing the coordinate property in a KVO-compliant way causes the annotation to be relocated and its callout view, if present, to be dismissed. To avoid observing the same annotation twice yet also avoid expensive lookups when adding or removing annotations, MGLMapView indexes added point annotations in an NSMutableSet.
|
| |
|
|
|
|
|
|
|
|
| |
MGLMapView observes changes to the coordinate property of each MGLAnnotation added to it. Changing the coordinate property in a KVO-compliant way causes the annotation to be relocated and its callout view, if present, to be dismissed. To avoid observing the same annotation twice yet also avoid expensive lookups when adding or removing annotations, MGLMapView indexes added point annotations in an NSMutableSet.
In iosapp, tapping a callout view moves the selected annotation to the center of the screen and deselects it.
Fixes #1980.
|
|
|
|
| |
When refreshing an annotation’s image, update the annotation instead of replacing it outright.
|
|
|
|
|
|
|
|
| |
Added an API for deleting unused annotation images’ images. When you nil out the image of an MGLAnnotationImage, MGLMapView deletes the sprite from the style and recreates any annotation associated with the MGLAnnotationImage instance; the MGLAnnotationImage’s falls back to SDK’s default annotation image.
In iosapp, deselecting an annotation resets its image to the default; deselecting it again restores the image.
ref #3185
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixed a deadlock that could occur if the host application attempts to set user defaults on a background queue. Now we observer user defaults changes synchronously.
|
| |
|
|
|
|
|
|
| |
Prompt for an access token before starting benchmarking.
/ref #4728
|
|
|
|
| |
This reverts commit bc3512773ffe942e6f70c43596490a6fcf8920a4.
|
|
|
|
|
| |
that set a working directory (#4742)
These targets expect the working directory to be set to the repository root.
|
|
|
|
| |
When running in the simulator, disable telemetry outright instead of pointing it to the staging server.
|
|
|
|
| |
Also removed staging server URL from UI test application.
|
|
|
|
|
|
| |
Use the staging telemetry server when compiled for the iOS Simulator.
Fixes #3621.
|
| |
|
| |
|
|
|
|
|
|
| |
Deprecated -[MGLMapView emptyMemoryCache]. Switched ios-bench to a redeclared -didReceiveMemoryWarning as a workaround.
Fixes #1833.
|
|
|
|
| |
Fixes #4363.
|
|
|
|
|
|
| |
If no access token is found in user defaults at launch, iosapp prompts the user for an access token. Renamed the user defaults key for the access token to conform to Cocoa naming conventions.
Fixes #4696.
|
|
|
|
| |
Fixes #3102.
|
|
|
|
| |
If you’ve gone through the trouble of running iso-bench’s download.sh scripts, use those assets instead of fetching them at runtime from the server.
|
|
|
|
| |
This avoids the risk of accidentally checking in a MAPBOX_ACCESS_TOKEN environment variable.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Apparently some versions of Android, notable 4.4.4 running
on my Nexus 5, creates a GLContext on the Android UIThread
which is the one we are now using for rendering after #2909.
If the context is not restored, nothing gets rendered (or
sometimes partially, or artifacts) because Android will try
to do GL stuff on the context used by Mapbox GL and mess things up.
|
| |
|
|
|
|
| |
`command` is shell buitin on Linux.
|
| |
|
|
|
|
|
| |
Minor version bump to resolve cross-compilation issues while using
geojson-vt-cpp v4.1.0.
|
| |
|
|
|
|
|
|
| |
Use UIView animation to explicitly animate the user dot between user location updates. There is a tricky special case, which is that the callout must point to the annotation view’s implicit frame but must quickly rendezvous with the explicit frame.
Fixes #1041.
|
|
|
|
| |
Fixes #3997.
|
|
|
|
| |
Now that #4641 has removed the prohibition against C99 extensions, this change removes many pragma statements that suppress warnings about variadic macros and designated initializers. Designated initializers and Elvis operators have been introduced wherever appropriate.
|
|
|
|
| |
Fixed some issues that were obscured by the old gyp-generated build settings.
|
|
|
|
|
|
|
|
| |
Added a new Cocoa dynamic framework target target to the main OS X Xcode project. The target is based on the template provided by Xcode. It contains headers and source files in the darwin/ and osx/ subdirectories. Headers are explicitly marked public or project-internal instead of implicitly by subdirectory. Removed the osxsdk target from platform.gypi.
The SDK target has a few dependencies that are managed by mason. Transform the config.gypi generated by configure into an .xcconfig file that Xcode uses to fill in compiler and linker flags.
Added a CI scheme that builds the All aggregate target generated by gyp and the osxapp and SDK test targets.
|
|
|
|
|
|
|
|
| |
osx.xcodeproj is an ordinary Xcode project with an ordinary Xcode target for osxapp, contained in an ordinary Xcode workspace that happens to also reference the gyp-generated platform.xcodeproj. The osxapp target links to and embeds Mapbox.framework, which is a product of the gyp-generated platform.xcodeproj.
Moved XIBs into Base.lproj and icons into an asset catalog.
Shared an Objective-C exception breakpoint, disabled by default.
|
|
|
|
|
|
| |
A workspace places derived data under ~/Library/ by default. We need it to live under build/ for all users. Instead of a legacy-style build products directory, force a workspace-relative DerivedData directory that matches the standard Xcode 4+ layout. Share the workspace settings file that forces the setting. Note that Xcode places its build and index output one level deeper than xcodebuild does.
Also fixed make ipackage-sim by conditionalizing anything related to the .dSYM file, which isn’t generated in the Debug configuration.
|
| |
|
| |
|
|
|
|
| |
The default is iPhone 4 running iOS 8.1, which doesn’t seem to be the intended device.
|
|
|
|
| |
Fixed project upgrade warnings in projects managed by gyp.
|
|
|
|
|
|
| |
For some reason, the SDK tests are less accurate when run on the command line than when run in Xcode or on OS X.
Also fixed unused variable warnings in the tests.
|
|
|
|
| |
Added SDK tests to make test-ios rule. Disabled code coverage.
|
|
|
|
|
|
| |
The iOS and OS X SDKs now share a non-UI test bundle. Moved the iOS UI test bundle into a uitest/ subdirectory and moved the OS X SDK tests into the darwin/ subdirectory.
Upgraded KIF to v3.4.2.
|
|
|
|
|
|
| |
Halved the number of xcodebuild invocations, using a new scheme to string the dynamic and static builds together in each invocation. Removed unnecessary build flag overrides like ARCHS.
Removed support for building the SDK without Bitcode support via an environment variable. If you need to build without Bitcode support, set the ENABLE_BITCODE build setting in the project editor for the relevant Xcode target.
|
|
|
|
|
|
| |
All gyp-generated iOS targets build for the standard architectures, which do not include armv7s.
Fixes #4704.
|