summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [ios, osx] Eliminate use of main.mkJohn Firebaugh2016-04-194-23/+31
|
* [ios, osx] Remove some non-functional platform.gyp xcode_settingsJohn Firebaugh2016-04-192-10/+0
| | | | Refs #4738
* [osx] Observe annotation coordinatesMinh Nguyễn2016-04-195-35/+84
| | | | 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.
* [ios] Refactored annotation image updatingMinh Nguyễn2016-04-191-14/+12
|
* [ios] Observe annotation coordinatesMinh Nguyễn2016-04-193-0/+41
| | | | | | | | 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.
* [ios] Update annotations instead of replacing themMinh Nguyễn2016-04-191-29/+18
| | | | When refreshing an annotation’s image, update the annotation instead of replacing it outright.
* [ios] Annotation image deletionMinh Nguyễn2016-04-196-70/+172
| | | | | | | | 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
* [android] #4754 - double map view exampleTobrun2016-04-194-2/+171
|
* [ios] Toggle telemetry on main queueMinh Nguyễn2016-04-191-2/+3
|
* [ios] Assert that defaults change is on main threadMinh Nguyễn2016-04-191-0/+1
|
* [ios] Fixed hang observing user defaults on background queueMinh Nguyễn2016-04-182-12/+7
| | | | 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.
* [ios] Removed mention of MAPBOX_ACCESS_TOKENMinh Nguyễn2016-04-181-7/+1
|
* [ios] Prompt for access token in ios-benchMinh Nguyễn2016-04-183-15/+51
| | | | | | Prompt for an access token before starting benchmarking. /ref #4728
* Revert "[ios, osx] Make {ios,osx}app schemes non-shared"Minh Nguyễn2016-04-182-0/+191
| | | | This reverts commit bc3512773ffe942e6f70c43596490a6fcf8920a4.
* [osx] Create shared schemas for mbgl-offline, mbgl-render, and test targets ↵John Firebaugh2016-04-183-0/+276
| | | | | that set a working directory (#4742) These targets expect the working directory to be set to the repository root.
* [ios] Disable telemetry in simulatorMinh Nguyễn2016-04-182-3/+5
| | | | When running in the simulator, disable telemetry outright instead of pointing it to the staging server.
* [ios] Removed app transport security exception for stagingMinh Nguyễn2016-04-182-13/+0
| | | | Also removed staging server URL from UI test application.
* [ios] Use staging server in simulatorMinh Nguyễn2016-04-182-3/+5
| | | | | | Use the staging telemetry server when compiled for the iOS Simulator. Fixes #3621.
* [osx] Explicitly link SystemConfiguration.frameworkJohn Firebaugh2016-04-181-0/+6
|
* [ios] Replaced MGLMapView redeclaration with internal headerMinh Nguyễn2016-04-184-18/+22
|
* [ios] Deprecated -[MGLMapView emptyMemoryCache]Minh Nguyễn2016-04-184-19/+15
| | | | | | Deprecated -[MGLMapView emptyMemoryCache]. Switched ios-bench to a redeclared -didReceiveMemoryWarning as a workaround. Fixes #1833.
* [ios] Made userTrackingMode KVO-compliantMinh Nguyễn2016-04-182-0/+3
| | | | Fixes #4363.
* [ios] Prompt for access token in iosappMinh Nguyễn2016-04-183-4/+36
| | | | | | 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.
* [ios] Added action to reload styleMinh Nguyễn2016-04-183-0/+21
| | | | Fixes #3102.
* [ios] Use downloaded local assets in ios-bench if presentMinh Nguyễn2016-04-183-1/+30
| | | | 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.
* [ios, osx] Make {ios,osx}app schemes non-sharedJohn Firebaugh2016-04-182-191/+0
| | | | This avoids the risk of accidentally checking in a MAPBOX_ACCESS_TOKEN environment variable.
* [ios, osx] gitignore xcuserdata directoriesJohn Firebaugh2016-04-181-0/+1
|
* [build] `make clean` can now remove build directory wholesaleJohn Firebaugh2016-04-181-2/+2
|
* [android] Restore prior GLContext if existsThiago Marcos P. Santos2016-04-182-1/+18
| | | | | | | | | | 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.
* Fix missing generated header include pathBruno de Oliveira Abinader2016-04-181-0/+1
|
* [build] Use `which` instead of `command`Thiago Marcos P. Santos2016-04-181-1/+1
| | | | `command` is shell buitin on Linux.
* [build] Make `run-glfw-app` not working on LinuxThiago Marcos P. Santos2016-04-181-2/+2
|
* [build] Bump geojson-vt-cpp to v4.1.2Bruno de Oliveira Abinader2016-04-185-4/+4
| | | | | Minor version bump to resolve cross-compilation issues while using geojson-vt-cpp v4.1.0.
* [build/osx] Fix missing generated header include pathBruno de Oliveira Abinader2016-04-182-1/+2
|
* [ios] Animate user dot between user location updatesMinh Nguyễn2016-04-174-20/+91
| | | | | | 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.
* [ios, osx] Include app/OS name/version in user agentMinh Nguyễn2016-04-172-2/+95
| | | | Fixes #3997.
* [ios, osx] Took advantage of C99Minh Nguyễn2016-04-1610-48/+29
| | | | 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.
* [osx] Fixed type mismatch and selector warningsMinh Nguyễn2016-04-162-10/+11
| | | | Fixed some issues that were obscured by the old gyp-generated build settings.
* [osx] Moved SDK from gyp into Xcode projectMinh Nguyễn2016-04-167-199/+860
| | | | | | | | 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] Added Xcode project for osxappMinh Nguyễn2016-04-1625-83/+615
| | | | | | | | 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.
* [ios] Force workspace-relative DerivedDataMinh Nguyễn2016-04-163-14/+43
| | | | | | 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.
* [ios] Build for 64-bit simulatorMinh Nguyễn2016-04-161-2/+2
|
* [ios] Updated contributor documentationMinh Nguyễn2016-04-161-8/+11
|
* [ios] Specify simulator deviceMinh Nguyễn2016-04-161-2/+2
| | | | The default is iPhone 4 running iOS 8.1, which doesn’t seem to be the intended device.
* [ios, osx] Fixed project upgrade warningsMinh Nguyễn2016-04-163-1/+12
| | | | Fixed project upgrade warnings in projects managed by gyp.
* [ios] Fixed make test-iosMinh Nguyễn2016-04-163-19/+19
| | | | | | 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.
* [ios] Run SDK tests on CIMinh Nguyễn2016-04-165-8/+12
| | | | Added SDK tests to make test-ios rule. Disabled code coverage.
* [ios, osx] Shared test bundleMinh Nguyễn2016-04-16326-14/+246
| | | | | | 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.
* [ios] Streamlined package.shMinh Nguyễn2016-04-162-53/+122
| | | | | | 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.
* [ios] Removed armv7s slice from iOS gyp targetsMinh Nguyễn2016-04-162-7/+1
| | | | | | All gyp-generated iOS targets build for the standard architectures, which do not include armv7s. Fixes #4704.