Commit Graph

8749 Commits

Author SHA1 Message Date
John Firebaugh
a79d2afe1b [core] Rename data ⇢ tile; use Resource::Necessity 2016-08-26 10:30:55 -07:00
John Firebaugh
8ac03f3870 [core] Inline Source::Impl::getTile 2016-08-26 10:30:55 -07:00
Minh Nguyễn
f996558bc2 [android] Radiant → radian (#6169)
* [android] Radiant → radian

* [android] #6169 - testHashcode
2016-08-26 09:41:46 -07:00
Thiago Marcos P. Santos
8801c9031b [Qt] s/parent_/parent
Fits better with the docs.
2016-08-26 16:39:38 +03:00
Thiago Marcos P. Santos
8d258e3542 [Qt] Initial documentation stub 2016-08-26 16:39:34 +03:00
Thiago Marcos P. Santos
af56f03031 [Qt][tests] Added tests for set style interface 2016-08-26 16:08:44 +03:00
Thiago Marcos P. Santos
7a2bfe32f8 [tests] Make it possible to disable tests on the CI
Useful for tests that depend on a good network connection and
you want to run manually.
2016-08-26 16:08:44 +03:00
Thiago Marcos P. Santos
9605cac3e9 [Qt] setStyleURL and setStyleJSON name review
Qt uses URL as Url and JSON as Json.
2016-08-26 15:52:16 +03:00
Thiago Marcos P. Santos
e9a453271b [Qt] Read the access token from the environment by default 2016-08-26 00:25:31 +03:00
Thiago Marcos P. Santos
05ba97b2b7 [node][tests] Add a test for making sure the map object throws on invalid style
Currently this error is not reported.
2016-08-25 22:05:00 +03:00
Thiago Marcos P. Santos
a12fa9333b [node] Throw on invalid style JSON
Fixes #6143
2016-08-25 22:05:00 +03:00
Minh Nguyễn
d0a0b2ef7e [macos] Typo
[skip ci]
2016-08-25 11:28:00 -07:00
Minh Nguyễn
11f3a587c4 [macos] Synchronized readme w/ install docs
The packaged readme was missing the AppleScript example added to the in-repo installation instructions in 350d015cc2.

[skip ci]
2016-08-25 11:27:12 -07:00
Dane Springmeyer
bb34b5302c upgrade to protozer 1.4.0 (#6158) 2016-08-25 11:05:03 -07:00
Jason Wray
01b0b0bf0b [ios] Move OHHTTPStubs to Git submodule and update to 5.2.0 2016-08-25 13:41:19 -04:00
Antonio Zugaldia
0f4a1cd806 [android] #6155 - Release Android v4.2.0-beta.2 2016-08-25 11:27:38 -04:00
Antonio Zugaldia
2b42f0e22f [android] #6148 - update MAS dependency to v1.3.0 2016-08-25 09:01:53 -04:00
Jason Wray
9cdbac043d [ios] Clean-up user location annotation heading calculations
- Use MGLRadiansFromDegrees().
- Make indentation more readable.
2016-08-24 21:56:52 -04:00
Jason Wray
cb59589954 [ios] Stop exaggerating heading accuracy indicator size
- 1.5× exaggeration has been removed.
- Maximum accuracy (smallest size) has been increased to 20°.
2016-08-24 21:56:52 -04:00
Minh Nguyễn
5836738906 Document -mapViewDidFailLoadingMap:withError: (#6145)
* [macos] Implement -mapViewDidFailLoadingMap:withError:

* [ios] Documented -mapViewDidFailLoadingMap:withError:
2016-08-24 14:47:28 -07:00
Antonio Zugaldia
4579fa031e [android] #6042 - Check for network connectivity before requesting resources 2016-08-24 15:54:16 -04:00
Minh Nguyễn
2523f33ac4 [ios, macos] Expose name and default position of current style (#6127)
* [ios] Reset to style’s default position

* [ios, macos] Added name property to MGLStyle
2016-08-24 11:43:54 -07:00
Thiago Marcos P. Santos
7fb7bc0fbc [tests] Removed dead code 2016-08-24 20:02:39 +03:00
Thiago Marcos P. Santos
1d7a5b0fe0 [tests] Add unit test for style loading failures 2016-08-24 20:02:39 +03:00
Thiago Marcos P. Santos
c98f4f476b [core] Emit MapChangeDidFailLoadingMap when the style cannot be loaded or parsed
Currently this signal is never emitted, which can cause the Still mode
to starve in case of an invalid style or failed request.
2016-08-24 20:02:31 +03:00
John Firebaugh
646528bc53 [core] Simplify Thread::invokeSync (#6128) 2016-08-24 09:36:11 -07:00
Thiago Marcos P. Santos
7a84a0e4ea [ios] Fix typo
s/Reponse/Response
2016-08-24 18:17:56 +03:00
Thiago Marcos P. Santos
4bad0867ce [ci skip] Add database files to gitignore 2016-08-24 18:06:02 +03:00
Minh Nguyễn
1b4593efcc [ios, macos] Distinguish between blackColor and clearColor (#6125) 2016-08-24 01:41:26 -07:00
Minh Nguyễn
9720f581ff [macos] Avoid negative content insets (#6102)
Fixed an issue in which a map view that doesn’t occupy the entire window would consider its center point to be the window’s center point rather than the view’s.
2016-08-23 18:12:35 -07:00
Jason Wray
a5b089de62 [ios, macos] Move debug mask options to shared header (#6094)
* [ios, macos] Move debug mask options to shared header

* Limit buffer debug modes to macOS

... because these modes use OpenGL features that aren't supported by iOS.

* Try a different tact: exclude "iPhone"

... which is actually all iOS-like devices.
2016-08-23 20:14:22 -04:00
John Firebaugh
63cce78cf1 [core] Add static getters for property default values (#6124) 2016-08-23 12:49:47 -07:00
Jason Wray
fcb710fafe [ios] Disable implicit animation of user annotation pitch changes (#6122)
- Subtly improves the performance of the shadow, while performing the pitch gesture.
2016-08-23 13:59:26 -04:00
Jason Wray
c034ba4ee1 [ios, macos] Update changelog with database performance note 2016-08-23 13:26:02 -04:00
Jason Wray
74f094faab [core] Update SQLite schema with WAL journal mode and normal sync
Offers 2×-4× performance, depending on device vintage.
2016-08-23 13:26:02 -04:00
John Firebaugh
eb9fe89612 [tests] Test that style mutations due to annotations don't cancel style revalidation 2016-08-23 09:55:32 -07:00
John Firebaugh
86cccc4d24 [core] Don't allow style mutations to be overwritten by revalidation
* Once we get a fresh style, stop revalidating.
* If the style is mutated, stop revalidating and preserve the existing mutations.
2016-08-23 09:55:32 -07:00
John Firebaugh
5511e9a4e8 [tests] Fix a subtle ordering bug in StubFileSource 2016-08-23 09:55:32 -07:00
John Firebaugh
6bbb2e4c2b [tests] Merge single test in set_style.cpp with other Map tests 2016-08-23 09:55:32 -07:00
Ivo van Dongen
df3b44531e [core] #6071 - extract GeoJSONOptions conversion from GeoJSONSource conversion
* [core] geojson_options - retain original error message

* [core] tests - initial style conversion stub methods

* [core] geojsonoptions conversion - initial unit tests

* [core] tests - fix forward reference issue

* [core] geojsonoptions conversion - unit tests

* [core] geojsonoptions conversion - renamed Holder to Value
2016-08-23 14:57:55 +02:00
Tobrun
50da6e5e71 6039 focal point uses MyLocationView padding (#6108)
* [android] - don't auto tint drawables + formatting

* [android] - formatting

* [android] #6039 - fixes focal point when padding mylocationview

* [android] #5977 - MyLocationView.setPadding example + formatting Manifest

* [android] - Reset to default configuration, cleanup class
2016-08-23 12:53:36 +02:00
Konstantin Käfer
e1a6795a73 [build] add CMake source groups to all targets 2016-08-22 19:14:51 +02:00
Konstantin Käfer
e6bcbdd5d3 [core] set correct depth values for CustomLayer so compositing works 2016-08-22 18:32:12 +02:00
Thiago Marcos P. Santos
bf1c7a47b5 [Qt] Add mesa to the library path
Qt 5 gets confused with fglrx that is installed by default on Travis
trusty bots. This way we force both Qt and Xvfb to load on mesa drivers.
2016-08-22 16:52:02 +03:00
Thiago Marcos P. Santos
547af7475e [Qt] Implement a Qt headless renderer
Using legacy QGLWidget because we support Qt4.
2016-08-22 16:52:02 +03:00
Thiago Marcos P. Santos
6761b325fb [Qt] Enable tests on macOS 2016-08-22 16:52:02 +03:00
Thiago Marcos P. Santos
cb3b2997ea [tests] Include what we use 2016-08-22 16:52:02 +03:00
Tobrun
3ef272e389 [android] #6077 - keep rules for Signature and Annotation (#6085)
* [android] #6077 - keep rules for Signature and Annotation, reordered file to mimic package structure project.

* [android] #6077 - proguard workaround for mapbox-java
2016-08-22 14:49:47 +02:00
Minh Nguyễn
44fe8ef7ea [macos] Took NSColor+MGLAdditions private (#5995)
Fixes #5989.
2016-08-21 16:28:16 -07:00
Minh Nguyễn
d6c8463da8 [ios, macos] Copyedit default color property documentation (#6105)
* [ios, macos] Fixed typo in color property docs

* [ios, macos] Predefined colors as default color property values

Use {NS,UI}Color.blackColor and {NS,UI}Color.whiteColor as aliases for common default color values.
2016-08-21 16:04:22 -07:00