Commit Graph

1052 Commits

Author SHA1 Message Date
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
Tobrun
9d6cb1361c [android] #3444 #3435 - added change listeners to location tracking and bearing tracking, added requires permissions checks and handled them in the test app, update javadoc to reflect changes, formatting commit of MapView, Reposition UserLocationView when location tracking becomes active 2016-01-06 10:05:58 +01:00
Minh Nguyễn
69cf21cece [ios] Restored readme in built package
Restored a build script statement that was accidentally deleted in #3203.
2016-01-05 22:53:27 -08:00
Antonio Zugaldia
1738a9e200 [android] Fixes crash related to location listener
Fixes #3442
2016-01-05 17:36:09 -08:00
Minh Nguyễn
1a501d4ec4 Happy new year! 2016-01-05 14:01:58 -08:00
Minh Nguyễn
1420a49689 [ios] Generate API documentation using jazzy
Replaced appledoc usage with jazzy, which understands modern Objective-C syntax by virtue of using Clang ASTs. Nevertheless, we have to make lots of changes to our documentation syntax, which was tailored to appledocs quirks. The new syntax jives much better with what Xcode expects in terms of auto-indentation and Quick Help.

Fixes #1420.
2016-01-05 12:41:54 -08:00
John Firebaugh
e26b218883 [android, ios, osx] Emoji ⇢ ASCII in Bitrise notifications 2016-01-05 10:59:41 -08:00
Minh Nguyễn
5f58c015e4 [iOS] Transparent GLKView
Tie layer opacity to view opacity.

Fixes #3038.
2016-01-05 10:01:31 -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
Thiago Marcos P. Santos
a5987afeb9 [core] Added versioning to the cache database
Force drop the table when the version doesn't match. Previously
it was assumed (my bad) that CREATE TABLE IF NOT EXISTS would
compare the table schema, which is not true.
2016-01-05 17:32:46 +02:00
Tobrun
f80673b15c [android] #3397 - animating change of direction when tracking mode is follow user 2016-01-05 16:10:17 +01:00
Tobrun
522a88560b [android] #3308 - remove default constructor 2016-01-05 16:06:34 +01: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
Antonio Zugaldia
6e4eb094bf [android] Fix zoom gestures when scrolling is disabled
Fixes #3421
2015-12-30 15:27:58 -08:00
Thiago Marcos P. Santos
6d0b01c5fb [core] Make it possible to limit the size of the SQLite cache 2015-12-27 18:15:33 +02: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
Jason Wray
e4d8494852 [ios] snap to north if interaction ends within ±7°
First proposed in #938, implemented in #1059, reverted in #1064.
2015-12-24 13:45:51 -05:00
Antonio Zugaldia
d2b2336a9e [android] better http log messages
Fixes #3411
2015-12-24 11:25:17 -05:00
Brad Leege
aca584e124 [android] #3412 - Remove REGION_DID_CHANGE checks and set animateCamera methods to 1 millisecond default animation durations 2015-12-24 10:03:28 -06:00
Jason Wray
2aa1e5ca18 [ios] vary annotation bounds fit padding based on view size
Fix #3392, #3110
2015-12-23 20:18:01 -05:00
John Firebaugh
7a6076ea9d [tests] Test with OnlineFileSource
When we introduce OfflineFileSource, the behavior of existing tests should
not change.
2015-12-23 14:55:12 -08:00
John Firebaugh
c972a251da [core] Remove Resource dependency from low-level classes
These classes should not be coupled to domain-specific resource types.
2015-12-23 14:30:20 -08:00
John Firebaugh
16de579d7c [core] Rationalize error handling for resource loading
* Standardize on std::exception_ptr as the error representation
  (fixes #2854).
* Don't format textual strings at the error source; pass on the
  constituent data via observer method parameters instead.
* Use the null object pattern to simplify observer notification code.
* Further refactoring for ResourceLoading tests.
2015-12-23 12:50:42 -08:00
Tobrun
11a8978eed [android] #3283 - fix setCenterCoordinate animation 2015-12-23 16:32:09 +01:00
Minh Nguyễn
ba6edac01e [osx] Restore last viewed style at launch
Fixes #3389.
2015-12-22 22:41:15 -08:00
Minh Nguyễn
d745ff0923 [ios] Meters per point at latitude
Renamed -metersPerPixelAtLatitude: to -metersPerPointAtLatitude:, leaving the old name as a deprecated alias. In Cocoa Touch terminology, “point” is the visual unit backed by pixels.
2015-12-22 17:06:43 -08:00
Brad Leege
06f58b288a [android] #3384 - package-info.java for the .camera and .location packages JavaDocs 2015-12-22 17:27:04 -06: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
ab0efe5d00 [core] Move OnlineFileSource to platform
Preparation for OfflineFileSource which depends on SQLite
2015-12-22 12:09:14 -08:00
Brad Leege
4c90f63c6d [android] #2915 - Removing Crashlytics From TestApp 2015-12-22 08:46:58 -06:00
John Firebaugh
3d37017c68 [ios, osx] Drop xcpretty
It's buggy and hides necessary diagnostics.
2015-12-21 16:59:35 -08:00
Brad Leege
4a18e1cf77 [android] #3354 - Setting Android Version to 3.1.0-SNAPSHOT 2015-12-21 18:29:57 -06:00
Brad Leege
8b033231d4 Merge branch 'master' into release-android-v2.4.0
# Conflicts:
#	src/mbgl/map/transform.cpp
2015-12-21 18:23:38 -06:00
Brad Leege
19f2f62609 [android] #3354 - Incrementing Version to 3.0.0 for release 2015-12-21 12:22:43 -06:00
Brad Leege
9c4cbb4fcd [android] #3348 - Updating customLayerClass package name in JNI code 2015-12-21 11:51:54 -06:00
Brad Leege
e8e485f83e [android] #3348 - Moved ExampleCustomLayer into it's own package. Moved Custom Layer to Main Activity Controls in Nav Drawer with new icon. 2015-12-21 10:09:33 -06:00
Brad Leege
3bffd6456f [android] #3358 - easeTo() uses nanoseconds instead of milliseconds 2015-12-20 10:00:08 -06:00
Brad Leege
77d62baa50 [android] #3358 - Created easeCamera() API method. 2015-12-20 09:46:59 -06:00