Dane Springmeyer
12345e56d4
[android, linux, osx] Upgrade to libpng 1.6.20
...
- refs https://github.com/mapbox/mason/tree/libpng-1.6.20
- refs https://travis-ci.org/mapbox/mason/builds/100661025
2016-01-06 16:35:16 -08:00
John Firebaugh
e26b218883
[android, ios, osx] Emoji ⇢ ASCII in Bitrise notifications
2016-01-05 10:59:41 -08:00
Minh Nguyễn
f8f735b574
Rewrote documentation
...
Rewrote some copy to provide more context and link to more GL-related repos, including GL JS. Put the various SDKs in a table so we can show the various CI bot status images.
Integrated target list into the relevant documents. Rewrote large portions of iOS and OS X setup documentation to guide normal developers to more friendly places. Combined some Android documentation.
Moved SDK-specific documentation into platform/. Added a temporary readme in ios/ that points to the one in platform/ios/.
2016-01-05 08:04:16 -08:00
Minh Nguyễn
70f04c8bc5
Updated gesture help
...
Followup to #3426 .
2016-01-05 00:02:33 -08:00
Minh Nguyễn
af4b9599cb
Double-tap to zoom out on Magic Mice
...
Fixes #3426 .
2016-01-04 15:20:25 -08:00
Minh Nguyễn
8aad739ec2
[osx] Fixed map feedback zoom level
...
The map feedback tool still uses mapbox.js, so its zoom levels are one off from Mapbox GL’s.
2016-01-04 11:40:31 -08:00
Minh Nguyễn
e17e27fb0e
[osx] Corrected initial title for restored windows
2016-01-04 11:40:31 -08:00
Minh Nguyễn
0a23d4fe39
[osx] Restore last window regardless of system preference
...
Even with the system preference set to close windows when quitting, the user would still expect this map-centric application to remember the last viewed map, because the world map isn’t quite as interesting.
2016-01-04 11:40:31 -08:00
Minh Nguyễn
44a4f7bca2
[osx] Fixed URL handler, reload for new access token
2016-01-04 11:40:23 -08:00
Minh Nguyễn
019b3d5b92
[osx] Respect system window closing preference
...
Instead of forcing the system to restore windows between sessions (which confusingly switches the behavior of ⌘Q and ⌥⌘Q), honor the preference but have each new window inherit the style of the previous main window.
2016-01-04 11:40:18 -08:00
Minh Nguyễn
0712ed904b
[osx] Make osxapp document-based
...
Allows for multiple map windows open at a time.
2016-01-04 09:33:00 -08:00
Minh Nguyễn
225eda4fff
[osx] Simplified zoom logic
2015-12-24 16:24:45 -08:00
Minh Nguyễn
181b6284ab
[osx] Run unit tests
2015-12-24 15:55:46 -08:00
Minh Nguyễn
7b032907d7
[osx] Stop building/testing OS X SDK on Travis
2015-12-24 15:07:45 -08:00
Minh Nguyễn
490907ac29
[android, ios, osx] Moved platform identifier into Slack user name
...
Also customized links for brevity.
2015-12-24 15:07:07 -08:00
Minh Nguyễn
633a3a5a3d
[osx] Bitrise configuration
...
Fixes #2776 .
2015-12-24 15:07:03 -08:00
Minh Nguyễn
ceb0790cd8
[osx] Unit tests
...
Added an XCTest bundle to the osxsdk scheme. It contains some basic tests of shared iOS/OS X code.
2015-12-24 14:41:23 -08:00
Minh Nguyễn
ba6edac01e
[osx] Restore last viewed style at launch
...
Fixes #3389 .
2015-12-22 22:41:15 -08:00
John Firebaugh
b60b6c47c0
[core] Merge SQLiteCache into the platform library
...
OfflineFileSource will depend on SQLite too.
2015-12-22 12:09:14 -08:00
John Firebaugh
3d37017c68
[ios, osx] Drop xcpretty
...
It's buggy and hides necessary diagnostics.
2015-12-21 16:59:35 -08:00
Minh Nguyễn
49bfdd662f
[ios, osx] Optional peak altitude for flying
2015-12-20 04:11:14 -08:00
Minh Nguyễn
b7223f249d
[ios, osx] Avoid transition to current camera
...
Fixes #2456 .
2015-12-20 03:57:51 -08:00
Minh Nguyễn
d668c0fa84
[ios, osx] Better zoom level–altitude conversion
...
Greatly simplified conversions between zoom level and altitude. Adjusted field of view to more closely match MapKit. Conversions are now well within the same order of magnitude as MapKit at all latitudes.
Fixes #2266 .
2015-12-20 03:57:28 -08:00
Minh Nguyễn
cafe591d2a
[osx] Flipped drag-rotate center point
2015-12-19 23:30:21 -08:00
Minh Nguyễn
2cb70eac3c
[ios, osx] Allow zero-duration flight
...
For consistency with -setCamera:…, a duration of 0 jumps instantaneously to the new location, while a negative value uses the distance-dependent default.
Due to the produced curve and applied easing, flyTo() doesn’t model a parabola or ballistic trajectory, but it does simulate powered flight to some extent.
2015-12-19 20:33:37 -08:00
Minh Nguyễn
b8378420d4
[osx] Typo in osxapp help
2015-12-19 14:36:22 -08:00
Minh Nguyễn
d3c92a8b5c
[osx] Fixed path to embedded framework
...
Xcode (or perhaps gyp’s Xcode adapter) doesn’t understand \$ inside a copy files run phase path.
ref #3337
2015-12-17 13:15:43 -08:00
Bruno de Oliveira Abinader
c08a97e453
[osx] Fixed 'make compdb' target'
...
[skip ci]
2015-12-17 12:28:36 -08:00
John Firebaugh
7a4e7376e1
Move platform scripts into platforms
2015-12-16 17:49:22 -08:00
Minh Nguyễn
4e0e816653
[ios, osx] Added flyToCamera: variation that uses default duration
2015-12-15 12:52:13 -08:00
Minh Nguyễn
42e32b8d16
[osx] World tour
...
A new Debug menu command takes you on a tour of the world by air.
2015-12-15 12:52:13 -08:00
Minh Nguyễn
9aba820892
[ios, osx] Added flyTo to OS X; refactored camera setters
2015-12-15 12:52:13 -08:00
Minh Nguyễn
c3fe62fd3a
[ios, osx] Corrected missing annotation tag assertion message
...
ref #3284
2015-12-15 11:51:12 -08:00
Minh Nguyễn
92bfbcb90d
[osx] Restore debug mask
...
Fixes #3287 .
2015-12-15 11:44:49 -08:00
Minh Nguyễn
a01dd8ade1
[osx] Corrected documentation
...
Corrected the path to the build output. Also added a missing inline comment.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
835bb6ab08
[osx] Sort candidate annotations by proximity to tap
...
Like 78a39c17fb6677442231945ddf8b73797080e2e1 for #3261 on iOS.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
727dd61553
[osx] Printing
...
Copied some pixel-reading code from HeadlessView.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
0722d26846
[osx] Remove All Pins command
...
Also fixed an issue where removing a selected annotation failed to deselect it.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
b869d3c820
[osx] Persist viewpoint across relaunch
2015-12-13 17:26:53 -08:00
Minh Nguyễn
0fb2b855a4
[osx] Map camera
...
Shared MGLMapCamera between iOS and OS X. Unfortunately -camera and -setCamera: implementations need to be copy-pasted for now.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
3f2fae521c
[osx] Don’t strip on copy in Debug
...
Stripping the framework means you can’t debug the framework.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
cd6830b3ea
[osx] Fixed IB latitude/longitude inspectables
2015-12-13 17:26:53 -08:00
Minh Nguyễn
fdff7901e2
[osx] Default callout view controller
2015-12-13 17:26:53 -08:00
Minh Nguyễn
bab3935431
[osx] Fixed standalone launch of osxapp (and run-xosx)
...
Mapbox.framework needs to be embedded in the application bundle.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
ea57be5598
[osx] Documentation comments for public classes
...
Added documentation comments for all the public headers that aren’t being shared with iOS.
Removed an animated: parameter from -selectAnnotation: and -deselectAnnotation:: because callout popovers may extend beyond the entire window, there is no need to scroll the map to make the entire callout visible.
Added missing geometric conversion methods.
Renamed -mapView:regionWillChangeAnimated: et al. to say “camera” instead of “region”. “Region” leaves ambiguity about whether properties like rotation and pitch trigger this method. “Camera” associates these methods with the camera property, which seems apt.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
73324ae2f8
[osx] Commented private headers and implementation files
2015-12-13 17:26:53 -08:00
Minh Nguyễn
62e6c04c73
[osx] Align build settings with Xcode framework project template
...
In particular, -Os yields significant size improvements in Release.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
7f04c5d149
[osx] Renamed annotation IDs to annotation tags
...
By analogy with Cocoa tracking area tags, tooltip tags, view tags, etc.
2015-12-13 17:26:53 -08:00
Minh Nguyễn
47fb5e820b
[osx] Moved Mapbox.{h,m} into framework proper; set version variables
2015-12-13 17:26:53 -08:00
Minh Nguyễn
1598330a93
[osx] Added inline comments to MGLMapView
2015-12-13 17:26:53 -08:00