Commit Graph

826 Commits

Author SHA1 Message Date
Justin R. Miller
0e5063799a bump iOS version to 3.0.0-pre.5 2015-11-06 17:57:47 -08:00
Justin R. Miller
423cfc11e5 refs #2966: remove -ObjC linker flag & bring in categories via other means 2015-11-06 16:16:50 -08:00
Konstantin Käfer
69564cc886 [core] fix logging so we don't use strings as a formatter 2015-11-06 10:16:52 +01:00
Mike Morris
36a8fb32d5 [node] Fixes 'make xnode' to configure HOST_SLUG.gypi
Adds node-gyp to dev-dependencies to support 'make xnode' on Node v0.10.x
Ignores -Wnested-anon-types around v8.h includes.
2015-11-05 18:16:33 -05:00
Minh Nguyễn
99211bc168 [iOS] Defer didChange until after animation
Fixes #2436.
2015-11-05 13:28:17 -08:00
Konstantin Käfer
24285926c2 [core] Include Linux-specific scheduling header
before, builds for Linux didn't include thread priority control
2015-11-05 10:32:45 +01:00
Mike Morris
ed1a761632 [node] update platform/node/CHANGELOG.md [skip ci] 2015-11-04 19:43:11 -05:00
Mike Morris
0403b282f3 [node] update platform/node/CHANGELOG.md [skip ci] 2015-11-04 19:40:06 -05:00
Mike Morris
5e58070dec [node] make ratio optional, default to 1.0 2015-11-04 18:18:08 -05:00
Mike Morris
3528002b58 [node] swap array order to [lng, lat] for render option center
For consistency with GeoJSON and mapbox-gl-js
2015-11-04 17:41:34 -05:00
Minh Nguyễn
d00f8e37c7 Disable callout view dimming when tap is a no-op
Fixes #2634.
2015-11-04 13:36:33 -08:00
Adam Hunter
b55bd85886 Indicate target frame interval, with a comment about how it relates to FPS. 2015-11-04 10:33:30 -08:00
Justin R. Miller
3bab2ad7d6 more clearly indicate target FPS as relates to display link 2015-11-04 10:33:30 -08:00
Justin R. Miller
af758abf0f cleanups
- We don't need a mutex as everything is ensured on main thread.
 - Move internal-only properties to ivars.
 - Avoid API collision with needsDisplay.
 - Move code to lifecycle section.
2015-11-04 10:33:30 -08:00
Adam Hunter
36d90ea97d Fix #1975 - improve animation fluidity and response 2015-11-04 10:33:30 -08:00
Mike Morris
dfb36d6231 [core] move mbgl.gyp to gyp directory
So npm won't clobber binding.gyp, refs
https://github.com/npm/npm/issues/10243
2015-11-04 11:34:35 -05:00
Lucas Wojciechowski
da569c266b [node] enable npm to build mapbox-gl-native package from source
This reverts commit 311bf93abe.

more explicit require paths in tests
2015-11-04 11:34:35 -05:00
Konstantin Käfer
1468ff13e3 [core] catch compression/decompression errors and report them 2015-11-04 12:57:50 +01:00
Minh Nguyễn
1e27092669 Strip whitespace and newlines from access token and style URL
Just in case browser weirdness or a tendency to triple-click-select is causing some cases of #2012.
2015-11-03 14:46:30 -08:00
bsudekum
c5e747018f Update version and changelog 2015-11-02 17:11:24 -08:00
bsudekum
93c5bc08b3 [node] add pitch option 2015-11-02 16:58:24 -08:00
Justin R. Miller
9067fd43f3 bump iOS version to 3.0.0-pre.4 2015-11-02 16:12:52 -08:00
Konstantin Käfer
04273fbb1c [core] Make DefaultFileSource react to all NetworkStatus changes 2015-11-02 17:25:08 +01:00
Konstantin Käfer
4d5c6333be [core] move retry logic to DefaultFileSource 2015-11-02 17:24:40 +01:00
Minh Nguyễn
15448a623e Create UIActionSheet on demand
Fixes #2475.
2015-10-30 16:05:34 -07:00
Justin R. Miller
2aa3ab0c14 bump iOS version in podspec/Fabric 2015-10-30 15:23:50 -07:00
Minh Nguyễn
557b8afb7c [core][iOS] Source iOS styles from default_styles
Moved mbgl::util::default_styles to a more appropriate location, where iOS platform code can also find it. Moved -[MGLMapView bundledStyleURLs] (which is now deprecated) and the style switcher in iosapp to default_styles.

Added a collection of convenience methods for getting style URLs. It makes little sense to layer an enum atop this, as MapKit does, because MGLMapView styles aren’t limited to this set. A good analogy is UIColor. This also makes for a good entry point for future runtime styling APIs.

Introduced independent constants for each default style, because it’s more common to need access to a particular style than to iterate over them. This fact is apparent in the MGLStyle class, which now uses macros and assertions to ensure that it’s kept up-to-date with changes in default_styles.

/ref #1462
2015-10-30 13:09:37 -07:00
Minh Nguyễn
3b6dc37e39 Fixed build issues and typos
Also renamed styles to more common names.
2015-10-30 13:09:04 -07:00
Leith Bade
abf93c008b [core] Remove bundled styles.
Fixes #2239
2015-10-30 13:09:04 -07:00
Tom MacWright
26cb45ed46 Document node-mapbox-gl-native with JSDoc 2015-10-29 16:55:30 -07:00
Murray Hughes
f6e3ee4b25 [ios] fix removal of heading view when changing user tracking modes 2015-10-29 16:50:34 -04:00
Murray Hughes
f8c75c6e22 [ios] fix user annotation view refresh when switched from course to none 2015-10-29 16:50:33 -04:00
Justin R. Miller
58c90ac099 bump SMCalloutView by one change to grab accessbility support 2015-10-29 12:23:13 -07:00
Thiago Marcos P. Santos
978da4224e [core] Set names to threads on Linux
Makes debugging/profiling easier.
2015-10-29 11:54:43 +02:00
John Firebaugh
014b517820 [node] Output debug logs when a render test times out 2015-10-28 15:54:34 -07:00
Leith Bade
6bb709ef42 [android] Update test app icon
Fixes #2838
2015-10-28 22:36:35 +11:00
Justin R. Miller
48d6d039ed remove heading tests as unreliable 2015-10-27 10:43:20 -07:00
Justin R. Miller
2d8e29294c remove dead, broken code 2015-10-27 10:40:52 -07:00
Leith Bade
43dde0f204 [android] Fix crash on Marshmallow
Fixes #2813
2015-10-28 00:40:27 +11:00
Konstantin Käfer
32c0fb468f [http] don't retry when there's already a request in progress 2015-10-27 12:11:16 +01:00
Tobrun
f3ffb45cf6 [android] #2809 - addPolylines and removeAnnotations in JNI, added feature activity + sanity test case 2015-10-27 11:16:55 +01:00
Leith Bade
fd33dfcd73 [android] Restore old GL context after createSurface
Fixes #2807
2015-10-27 15:27:08 +11:00
Ansis Brammanis
750c72f324 improve gestures in perspective view
The location under your finger stays under your finger as you pan.
The location you double tap to zoom stays at the same point.
The location at the center of a pinch zoom stays at the center.
The location at the center of a rotation stays at the center.
2015-10-26 12:48:03 -07:00
Thiago Marcos P. Santos
c65f809651 [core] Move parseCacheControl() up in the class hierarchy
Avoid duplicating it on all the ports.
2015-10-26 18:37:51 +02:00
Konstantin Käfer
75dec6ffac [core] always reparse with the freshest possible placement config
Fixes an issue where updates to stale tiles would remove labels altogether until the map was rotated.
2015-10-26 16:44:55 +01:00
Konstantin Käfer
5173bf1bb8 [core] Make response data shared to avoid excessive copying 2015-10-26 15:54:27 +01:00
Konstantin Käfer
94a5ac857f [core] all requests have to be canceled explicitly now
By not automatically destroying Request objects after the result has been delivered, we are making sure that we can potentially fire the callback multiple times without adverse effects. This means that you have to hold on to the result of fs->request(), can explicitly cancel it if you don't want to be notified of data changes anymore. Not doing so will monitor the request indefinitely and will prevent the app from exiting.
2015-10-26 15:54:27 +01:00
Leith Bade
39911e581c [android] Move android files
Fixes #2032
2015-10-25 01:07:16 +11:00
Justin R. Miller
847cee0c89 re-bump for ios-v3.0.0-pre.2 2015-10-23 16:33:37 -07:00
Justin R. Miller
cf46b2f770 bump iOS version for 2.2.0-pre.2 2015-10-23 16:08:34 -07:00