Commit Graph

9620 Commits

Author SHA1 Message Date
Thiago Marcos P. Santos
b8564299e5 [Qt] Simplify setTransitionOptions 2017-01-03 16:52:24 -02:00
Thiago Marcos P. Santos
5437c7b5b3 [Qt] Make some accessors Qt properties 2017-01-03 16:52:24 -02:00
Thiago Marcos P. Santos
ecf1842a26 [Qt] Removed unused methods 2017-01-03 16:52:24 -02:00
Tobrun
561694a878 [android] - update changelog for 4.2.1 (#7520) 2017-01-02 19:27:56 +01:00
Tobrun
eefbb754d0 [android] - build and test wear module on CI, cleanup gradle file, added make target, added unit test (#7534) 2016-12-28 15:16:18 +01:00
John Firebaugh
65c28deefe [core] Update gl-js for shader change 2016-12-23 10:49:51 -08:00
John Firebaugh
083cee8956 [core] Correct boolean function interpolation 2016-12-22 18:14:00 -08:00
John Firebaugh
317b2bf42f [build] Use a submodule for mapbox-gl-js rather than an npm dependency 2016-12-22 15:41:10 -08:00
Tobrun
531c983b73 [android] - downscale instrumentation tests on CI (#7529) 2016-12-22 23:47:42 +01:00
Ansis Brammanis
2cf238f74e [core] fix matrix z range and remove hack
ported from -js: 0b5520fa5ab2a4659d80dcffa8b035a0d84fe1ca

This should fix the issue behind #2270 and remove the need for the hack
added in #3740.
2016-12-21 15:46:36 -08:00
Ansis Brammanis
29099399a9 [core] clearer pitched line antialiasing
ported from -js: ef5582dd3bc5c15a3112e875ed66494dab8e9d0b

Project the extrusion and compare it's projected pixel length with the
actual pixel length and adjust antialiasing accordingly.

The previous approach calculated the adjustment much more indirectly and
had no intuitive explanation.
2016-12-21 15:46:36 -08:00
Ansis Brammanis
38b5cb0c77 [core, ios] replace altitude with fov
ported from -js: eb6c6596c6a7a61363d30356674e0002153b1d19

`altitude` was a terribly-named variable that was used to indirectly
control the fov. This should eliminate some confusion.

`altitude` was equivalent to `cameraToCenterDistance / height`
2016-12-21 15:46:36 -08:00
Ansis Brammanis
ebd241363d [core] fix text blurriness at different FOVs
ported from -js: c52a09639ceeeb809cd837360993df9c45b45420

This replaces a hardcoded shader approximation with a more correct,
FOV-dependent one.

`gl_Position.w - 0.5`
is replaced with
`gl_Position.w / tan(fov)`

The `/ tan(fov)` is handled by multiplying `1 / tan(fov)` into `u_gamma`
outside the shader.

I think `- 0.5` was just chosen as something that looked right for the
default fov.lease enter the commit message for your changes. Lines starting
2016-12-21 15:46:36 -08:00
Minh Nguyễn
9dd0cdbc57 [macos] Added Simplified Chinese localization 2016-12-21 13:51:34 -08:00
John Firebaugh
029805f729 [core] Replace magic number with constant-based calculation 2016-12-21 13:42:30 -08:00
John Firebaugh
bcf2c3ff9e [core] Polylabel-based "pole of inaccessibility" symbol placement 2016-12-21 13:42:30 -08:00
Tobrun
8d52806cbb [android] - update components with latest camera values (#7499) 2016-12-21 21:07:00 +01:00
Tobrun
b42494570e [android] - fix null pointer on trackingsettings (#7505) 2016-12-21 21:06:39 +01:00
Tobrun
dff42cac68 [android] - harden MapboxMapOptions, extract duplicate fragment logic, fixup DoubleMapActivity (#7507) 2016-12-21 21:06:26 +01:00
John Firebaugh
8a0dee6ebd [core] Remove unused BucketParameter members 2016-12-21 08:45:08 -08:00
John Firebaugh
f6985cf6ff [core] Convert BucketParameters#layer to a separate parameter
This parameter varies between Buckets, while the others are constant. It makes more sense as an individual parameter.
2016-12-21 08:45:08 -08:00
Konstantin Käfer
77db372123 [core] refactor URL parsing 2016-12-21 13:00:32 +01:00
Tobrun
2b38af8778 [android] - update lost to 2.0.0, gradle cleanup (#7494) 2016-12-21 12:32:07 +01:00
Minh Nguyễn
a6b1773a44 Merge branch 'release-ios-v3.4.0' into 1ec5-release-ios-v3.4.0-beta.5-master
Also reran make style-code and manually discarded anything related to fill extrusion layers.
2016-12-20 12:41:40 -08:00
John Firebaugh
dad57df38e [core] Fix symbol rendering for multipoints
Ports https://github.com/mapbox/mapbox-gl-js/pull/3763 and https://github.com/mapbox/mapbox-gl-js/pull/3806.
2016-12-20 08:30:39 -08:00
John Firebaugh
3dcff6c3e1 [core] const correctness 2016-12-20 08:30:39 -08:00
philemonmerlet
3032a67a53 [android] Upgrade OKHTTP to 3.5.0 (released december the 1st, 2016) (#7491) 2016-12-20 16:49:11 +01:00
Tobrun
889d92e0c9 [android] - fix regresssion on wear module (#7497) 2016-12-20 16:48:36 +01:00
Tobrun
999747ee0f [android] - only build phone module (#7498) 2016-12-20 16:41:32 +01:00
Tobrun
161035e6bb [android] - make targets for checkstyle, spoon and AWS device farm (#7469) 2016-12-19 14:37:45 +01:00
Eric Wolfe
e2fde9cc4e [ios, macos] Document when it's safe to call runtime styling functions (#7335)
* Add notes to wait for map to finish loading before adding sources or layers

* Move style loading notes to class documentation
2016-12-18 01:53:38 -08:00
Tobrun
83f1350747 MapboxAccountManager refactor, removal deprecated accesstoken (#7462)
* [android] - move object ownership, move depenencies and responsibility.

* [android] - MapboxAccountManager refactor, removal deprecated accesstoken.
2016-12-17 20:25:16 +01:00
Minh Nguyễn
e3a6857937 [ios, macos] Highlight current topic in documentation (#7468)
* [ios, macos] Highlight current topic in docs

* highlight style
2016-12-16 17:56:45 -08:00
Maya Gao
7f67a2926d iOS jazzy theme improvements (#7422)
some small improvements to the theme
2016-12-16 16:11:47 -08:00
Cameron Mace
20b958301e Adds checkstyle to CI (#7442)
* adds checkstyle to CI

* fixed gradlew path

* resolved testapp checkstyle violations

* added back mapboxMap variable for test

* checkstyle annotations

* checkstyle SDK round 1

* maps package checkstyle

* rest of SDK checkstyle

* checkstyle gesture library

* checkstyle test

* finished rest of test checkstyle

* resolved all checkstyle errors

* fixed class name

* removed old test file

* fixed camera postion test

* fixed native crash
2016-12-16 16:19:15 -05:00
Minh Nguyễn
3f26e88c49 Use appropriate part of speech for properties (#7457)
* [ios, macos] Use appropriate part of speech for properties

Fixed overridden property references in requirements lists. Boolean-typed properties can now have getters beginning with “is”.

Renamed a number of layout properties according to the following rules: Boolean-typed properties should include a verb; other properties must be noun phrases; all properties must be grammatical.

* [ios, macos] Added style spec names as unavailable aliases

Renamed properties now have aliases based on their style specification names, marked unavailable, for wayfinding purposes.

* [ios, macos] Fixed autosynthesis warnings

* [ios, macos] Moved style layer test template to test folder

* [ios, macos] Customized iconOptional getter

* [ios, macos] Avoid autosynthesis of aliases

* [ios, macos] Test that property names are grammatical

Run property getter names through a basic battery of tests to see if they’re grammatical. Most part-of-speech tagging tests are guarded by a compile-time flag, off by default, because NSLinguisticTagger does a poor job of telling nouns from verbs, and we’ve intentionally kept many words in property names that could be read as either verbs or nouns (like “transform” or “scale”).
2016-12-16 08:09:42 -08:00
Minh Nguyễn
b8466946e5 [ios, macos] Corrected return type of MGLShape factory method 2016-12-16 07:58:48 -08:00
Tom MacWright
74f39c0120 [ios] [osx] Make theme configurable (#7420)
* Make theme configurable

* [ios][osx] Make jazzy theme configurable
2016-12-15 10:30:45 -08:00
Tobrun
f95b4838ea [android] - move min/max zoom to transform class, cleanup usage of double vs float, renaming for parity (#7306) 2016-12-15 16:57:30 +01:00
Konstantin Käfer
13e7672f85 [build] use 64 bit libdir + dalvikvm when running android tests on 64 bit platforms 2016-12-15 16:11:20 +01:00
Tobrun
858854ba03 [android] - wrap mapbox map test in ViewActions (#7451) 2016-12-15 14:28:08 +01:00
Jason Wray
78efb2d451 [ios] Remove last remnants of appledoc & docsets (#7418)
These scripts are broken and no longer useful in a post-jazzy world.
2016-12-14 18:19:52 -08:00
Tobrun
05c6935556 [android] - add OnMarkerView add callback (#7429) 2016-12-14 22:09:30 +01:00
Jesse Bounds
da44db915c [ios] Updated changelog for iOS 3.4.0 beta 5 2016-12-14 12:49:32 -08:00
Jesse Bounds
b46373da8a [ios] Update podspec for release 3.4.0 beta 5 2016-12-14 12:49:32 -08:00
John Firebaugh
f74de67315 [core] Mark tile as incomplete while redoing placement 2016-12-14 12:15:29 -08:00
John Firebaugh
34fbd565b8 [core] Remove unused 2016-12-14 12:15:29 -08:00
John Firebaugh
07e58fe961 [tests] Fix variable reference in test-suite harness 2016-12-14 12:15:29 -08:00
Cameron Mace
eb42b37568 updated changelog for 4.2.0 release (#7433) 2016-12-14 15:04:11 -05:00
Jesse Bounds
e88f904464 [core] Port ensure a non-zero source tile cache size (#7438)
This ports https://github.com/mapbox/mapbox-gl-native/pull/7242/
commits/2d323211af54499d5c822b8e45d7415bf92112f0 to the iOS 3.4.0
release branch.
2016-12-14 11:39:33 -08:00