Chris Loer
80fdae62ca
[core,node] Pin 'nan' to ~2.8 to avoid Callback::Call deprecation.
...
Alternative fix to #11288 , until we figure out a proper async_hooks implementation.
2018-02-26 13:47:57 -08:00
Anand Thakker
f648cfeef6
Implement Expressions ( #9439 )
...
Ports https://github.com/mapbox/mapbox-gl-js/pull/4777 (and its several follow-ups)
2017-11-08 12:34:02 -05:00
Bruno de Oliveira Abinader
bb58ddaea8
[node] Release v3.5.8 ( #10243 )
2017-10-20 01:27:26 +02:00
Lauren Budorick
e43e2aa3d7
[core, node] Support axonometric rendering
2017-10-14 03:15:34 +02:00
Bruno de Oliveira Abinader
6cf153a6de
[node] Release v3.5.7 ( #10164 )
2017-10-09 19:43:57 +03:00
Bobby Sudekum
b296f54769
Release node v3.5.6 ( #9610 )
2017-09-29 10:35:37 -07:00
Bruno de Oliveira Abinader
3f6f236f7b
[node] Split 'test-suite' run using 'run-s' script
2017-08-31 10:17:21 +03:00
John Firebaugh
822df3dd51
[core] Use separate attribute component for line normals
...
Broadcom GPUs don't cope well with using the least significant bit for this.
2017-08-08 18:06:44 -07:00
Konstantin Käfer
e8bfcd0474
[core] fix rendering of fill outlines that have a different color than the fill itself
2017-08-07 10:41:06 +02:00
Bruno de Oliveira Abinader
a019f26d99
[node] Bump version to 3.5.5
2017-07-14 15:28:36 +03:00
Bobby Sudekum
15791b5869
[node] bump version ( #9196 )
2017-06-06 09:18:49 -07:00
Bobby Sudekum
04c5399d41
Bump node version - v3.5.3 ( #9144 )
2017-05-30 12:14:08 -07:00
Bobby Sudekum
895275d6fc
Release node-v3.5.2 ( #9052 )
2017-05-19 11:27:48 -05:00
Bobby Sudekum
5693befa78
[node] bump version, add changelog entry ( #8924 )
2017-05-08 11:27:36 -07:00
Dane Springmeyer
bf959b9d86
[node] start publishing both release+debug builds ( #8865 )
2017-05-04 16:43:54 -07:00
Bobby Sudekum
42c308fd8f
Release node v3.5.0 ( #8785 )
2017-04-24 10:22:17 -07:00
Bobby Sudekum
140497e18f
Bump version, add changelog entry ( #8421 )
2017-03-15 09:02:44 -07:00
Bobby Sudekum
98f5b71e6d
[node] bump version number; changelog entry ( #8408 )
2017-03-14 16:53:24 -07:00
Bobby Sudekum
fb2674e44d
[node] Specify build type ( #8406 )
2017-03-14 16:19:47 -07:00
Bobby Sudekum
b938afa8fa
[node] bump version, add changelog entry ( #8401 )
2017-03-14 13:53:27 -07:00
Konstantin Käfer
5b24b14741
[build] use node-cmake 2.x
...
- Removes need to run `npm install` before invoking cmake
2017-02-22 18:22:18 +01:00
Minh Nguyễn
e6c15d0f6f
Upright CJK characters in vertically-oriented labels ( #7114 )
...
CJK characters and adjacent punctuation now remain upright in vertically oriented labels that have line placement.
Fixes #1682 .
2017-02-10 18:57:48 -06:00
John Firebaugh
f5b86c0f11
[node] Remove unused dependency
2017-02-08 10:59:59 -06:00
John Firebaugh
9c5abc1221
[build] Use style-spec from gl-js monorepo
2017-02-01 08:11:01 -08:00
Bobby Sudekum
ae463564f8
Update version number and changelog ( #7662 )
2017-01-10 12:00:31 -08:00
John Firebaugh
9f9e820540
[build] Use test-suite integration tests from mapbox-gl-js
2017-01-09 19:05:28 -08:00
Bobby Sudekum
32660bce34
Bump version, update changelog (v3.4.3) ( #7650 )
2017-01-09 16:34:45 -08:00
Tom MacWright
a5eae14661
Move package to @mapbox namespace.
2017-01-09 15:47:38 -08:00
Bobby Sudekum
2988ca16c1
Add addImage, removeImage API ( #7610 )
2017-01-09 13:03:17 -08:00
Chris Loer
d5b878a553
Small line breaking improvements based on testing with Chinese data:
...
- Put "breakable" punctuation (such as a hyphen) on the line that starts the break, not the line after the break.
- Process all characters with the line breaking algorithm, even if we don't have glyphs for them. Some fonts have glyph-less breakable characters (we end up treating them similarly to a "zero-width space").
- Don't include trailing white space in raggedness calculations
- Make the "favor short final lines" rule more aggressive (unlike the other changes, this one is purely an aesthetic choice)
2017-01-05 10:22:53 -08:00
Chris Loer
12a9932ebc
Port raggedness-minimizing line breaking from gl-js.
2017-01-05 10:22:53 -08:00
John Firebaugh
fb569bc5db
Fix test-suite SHA
2017-01-04 19:41:00 -08:00
John Firebaugh
0c0064c050
[core] Get rid of user-specified refs
2017-01-04 17:38:33 -08:00
John Firebaugh
65c28deefe
[core] Update gl-js for shader change
2016-12-23 10:49:51 -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
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
John Firebaugh
bcf2c3ff9e
[core] Polylabel-based "pole of inaccessibility" symbol placement
2016-12-21 13:42:30 -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
f74de67315
[core] Mark tile as incomplete while redoing placement
2016-12-14 12:15:29 -08:00
John Firebaugh
e8a48a6d63
[node] Fix order of operations when setting zoom and center
...
Zoom must be set first, to avoid center potentially getting constrained.
Fixes #7351
2016-12-14 10:08:23 -08:00
John Firebaugh
ceeded2932
[core] Obtain shaders from gl-js monorepo
2016-12-14 10:02:30 -08:00
Ivo van Dongen
28be37fcbe
[core] Swap order of Style::recalculate and Style::relayout
...
Style::relayout uses source.baseImpl->loaded, a flag which is updated by Style::recalculate. So recalculate first, then relayout.
2016-12-12 16:49:02 -08:00
John Firebaugh
82856fd08b
[darwin, android] SDK bindings for circle-stroke properties
2016-12-09 09:35:21 -08:00
John Firebaugh
3b2a4216a2
[core] Implement circle-stroke properties
...
Also includes stubs for fill-extrusion layer, because most of the code was auto-generated.
2016-12-09 09:35:21 -08:00
Minh Nguyễn
84038832e4
[test] Updated mapbox-gl-test-suite version
...
Followup to #7123 .
2016-12-02 09:11:45 -08:00
Chris Loer
5f29c3ba26
[core] Full support for line breaking bidirectional text using ICU bidi functionality.
...
- Trim whitespace from labels before determining their max-width for alignment.
- Fix crash on labels that contain lines with only a single character of whitespace.
2016-11-30 11:54:08 -08:00
Chris Loer
bceeba29a3
[core] Add ICU package for Bidirectional text support and arabic text shaping.
...
Apply bidi and shaping in symbol_layout.
Add utility functions for converting to and from UTF-16.
2016-11-17 14:33:03 -08:00
John Firebaugh
5c7aeec5c7
[tests] Update test-suite
2016-11-17 13:48:00 -08:00