Commit Graph

14444 Commits

Author SHA1 Message Date
John Firebaugh
78d6d07d57 [android] Link with a version script to restrict symbol visibility 2017-03-14 08:14:08 -07:00
Ivo van Dongen
e3cc5ddfdd [android] don’t crash on map changed callback when OnMapChangedListener throws a runtime exception 2017-03-14 14:58:20 +02:00
Thiago Marcos P. Santos
a0da2fb5d1 [build] Fix build when using a Z_PREFIX zlib
It will redefine mbgl::util::compress to mbgl::util::z_compress and
cause a link error. Aka pre-processor hell.
2017-03-14 11:18:55 +02:00
Jason Wray
48e17724a1 [ios] Enable one-finger quickzoom gesture on iPad 2017-03-13 16:49:46 -04:00
Minh Nguyễn
e91be23b7f [ios, macos] Fixed documentation parameter mismatches
Also enabled compiler warnings about incorrect Doxygen commands.
2017-03-13 12:35:09 -07:00
Minh Nguyễn
936cc33d52 [ios, macos] Resolved unused variable warnings
Resolved unused variable warnings in Release configuration that occurred because they were only used within NSAssert() invocations, which are omitted from Release builds.
2017-03-13 11:05:38 -07:00
Antonio Zugaldia
5120cbada4 [android] Change version name back to 5.0.0-SNAPSHOT 2017-03-12 16:37:51 -07:00
Antonio Zugaldia
9f4a446b44 [android] Update CHANGELOG.md 2017-03-12 16:37:51 -07:00
Jason Wray
bce352bd86 [ios] Add nightly build infrastructure 2017-03-10 19:19:59 -08:00
Antonio Zugaldia
fae8a02701 [android] make BubbleLayout public 2017-03-10 16:00:51 -08:00
Fabian Guerra Soto
5bf751af06 updated pod spec release version (#8358) 2017-03-10 16:00:13 -08:00
Minh Nguyễn
b74d7bfdb4 [ios, macos] Corrected polyline equality
Now that annotation classes override -isEqual:, it’s no longer appropriate to rely on -isEqual: or -containsObject: to check for the preexistence of an annotation. Those methods become deep equality tests, which have worse performance. Checking for identity allows the developer to add a polyline and polygon with identical coordinates, title, etc. to the map.

Implemented a missing -[MGLPolyline isEqual:].

Removed outdated comments about -annotationTagForAnnotation: being expensive.
2017-03-10 15:08:00 -08:00
John Firebaugh
a0a69ad6a7 [node, glfw] Don't throw in destructor 2017-03-10 15:03:18 -08:00
John Firebaugh
b05e19b389 [node, glfw] Remove libuv 0.10 support 2017-03-10 15:03:18 -08:00
Fabian Guerra Soto
ffce46cae6 Raise exception when MGLAnnotationView.annotation property is nil (#8339)
* [ios] MGLAnnotationView annotation property made writable

* [ios] standarized exception name for annotations
2017-03-10 14:49:22 -08:00
Antonio Zugaldia
6c6e895b23 [android] [auto] Update properties to version 5.0.0-beta.3 in preparation for build. 2017-03-10 13:48:56 -08:00
Fabian Guerra Soto
20712b7c84 Per-attribute transition properties on MGLStyleLayer (#8225)
* [ios, macos] new struct MGLTransition

* [ios] MGLTransition struct moved to MGLTypes.h

* [ios] MGLTransition implemented for style layer properties

* [ios, macos] added support for getting property transitions

* [ios, macos] updated to MGLDurationFromTimeInterval and MGLTimeIntervalFromDuration

* [ios, macos] added transition properties test

* [ios, macos] modified key strings imp

* [ios, macos] The impl for transition properties were changed to public methods

* [ios, macos] Changelog update

* [ios] Fixed layer space formatting

* [core] The name space was fixed for getters that returned TransitionOptions

* [ios, macos] Added rawLayer transition property tests

* [ios] Added a factory method for MGLTransition and transition-related methods to NSValue(MGLAdditions)

* [ios, macos] Copyedited changelog blurbs about transition properties
2017-03-10 11:33:31 -08:00
Minh Nguyễn
4a0ce1365f [ios, macos] Copyedited changelog blurb about source querying 2017-03-10 11:08:32 -08:00
Ivo van Dongen
a3121fc7a3 [android] query source features 2017-03-10 11:08:32 -08:00
Ivo van Dongen
a7fd788b5d [macos, ios] query source features 2017-03-10 11:08:32 -08:00
Ivo van Dongen
517659b1b4 [core] query source features 2017-03-10 11:08:32 -08:00
Ivo van Dongen
4d325879b8 [core] rename query options for query rendered features 2017-03-10 11:08:32 -08:00
Konstantin Käfer
6fdcbb61a4 [build] add Makefile target for opening Android Studio project on macOS 2017-03-10 10:34:30 -08:00
Minh Nguyễn
d82092d606 [ios, macos] Fixed camera function exception message
This exception message had a typo; developers would’ve been advised to use a method that doesn’t exist, due to case sensitivity. Moreover, the method has been renamed since this message was written.
2017-03-10 10:22:44 -08:00
Konstantin Käfer
3eaf984357 [android] upgrade to Android NDK r14 2017-03-10 10:00:06 -08:00
John Firebaugh
12b99f0085 [macos] Simplify bitrise.yml 2017-03-10 09:59:28 -08:00
Tobrun
ed16a7d632 [android] - zoom to rounded levels 2017-03-10 09:37:00 -08:00
John Firebaugh
6ceb0c832b [build] Remove custom bitrise 'skip ci' stuff (#8346) 2017-03-10 08:55:34 -08:00
Minh Nguyễn
2581af3cb6 [ios, macos] Update changelogs for v3.5.0-beta.3 (#8343)
* [ios, macos] Updated changelogs

Mentioned #8298, #8139. Copyedited recent additions.

* [ios, macos] Reorganized changelogs
2017-03-10 08:20:04 -08:00
Konstantin Käfer
e9cf787779 [darwin] Use explicit initialization rather than global static variables for the default RunLoop
When linking Mapbox GL as a static library, the object file (MGLFoundation.o) containing the global static variable initialization was not linked into the resulting binary since it was not referenced. This resulted in the RunLoop not being initialized in the main thread.

Reverts 03a14ff000
2017-03-10 06:48:42 -08:00
Antonio Zugaldia
01f126cbc6 [android] remove unnecessary manifest permissions 2017-03-09 18:30:03 -08:00
Antonio Zugaldia
359507345d [android] remove unnecessary manifest inclusion 2017-03-09 18:30:03 -08:00
Antonio Zugaldia
8d5e86dd1f [android] Include the telemetry service to simplify set up 2017-03-09 18:30:03 -08:00
John Firebaugh
3bfd1992a9 [linux, node] Build with clang 3.9 2017-03-09 17:32:24 -08:00
Dane Springmeyer
3a0abdd3a7 [test] Fix polygon construction to compile with clang 3.9.x 2017-03-09 17:32:24 -08:00
John Firebaugh
42ad77a888 [core] Avoid -Wundefined-var-template warnings with clang 3.9+ 2017-03-09 17:32:24 -08:00
Tobrun
d1e50b3ab8 [android] - add style loading callback (#8291)
* [android] - add style loading callback that is invoked when a style finishes loading.

* fixup language + add support for adding a callback when invoking setStyle with the default styles.
2017-03-09 17:20:56 -08:00
Tobrun
803c1c46fe [android] - harden mapZoomButtonController to avoid null pointer exceptions (#8332) 2017-03-09 17:20:44 -08:00
Tobrun
1693b389d7 [android] - move touch handling of MarkerViews back to View#setOnClickListener. Workaround panning issue by dispatching touch events to the parent ViewGroup. (#8272) 2017-03-09 16:59:10 -08:00
Antonio Zugaldia
b8283e838e [android] renames MultiPoint to BasePointCollection 2017-03-09 15:44:27 -08:00
Antonio Zugaldia
495d73d187 [android] fix checkstyle 2017-03-09 15:44:07 -08:00
Antonio Zugaldia
c533b7077d [android] update version to local package build config 2017-03-09 15:44:07 -08:00
Antonio Zugaldia
4ca65b9701 [android] set user agent on initialization 2017-03-09 15:44:07 -08:00
Antonio Zugaldia
9f42383d8a [android] re-add build config fields 2017-03-09 15:44:07 -08:00
Antonio Zugaldia
db3ffb9a2a [android] bump versions to beta.3 2017-03-09 15:44:07 -08:00
Ivo van Dongen
b2b5f9e571 [android] query source features 2017-03-09 13:11:23 -08:00
Ivo van Dongen
12568f21a3 [macos, ios] query source features 2017-03-09 13:11:23 -08:00
Ivo van Dongen
0d10d2df1c [core] query source features 2017-03-09 13:11:23 -08:00
Ivo van Dongen
548675a196 [core] rename query options for query rendered features 2017-03-09 13:11:23 -08:00
Tobrun
c9f63baccd [android] - build aar once (#8297) 2017-03-09 12:26:48 -08:00