Commit Graph

254 Commits

Author SHA1 Message Date
John Firebaugh
7fb2aade96 [build] Update gl-js 2018-08-08 08:58:15 -07:00
John Firebaugh
e31f2ecb67 [build] Push binary size history to S3 (#12538) 2018-08-06 13:10:54 -07:00
Dane Springmeyer
bcc93baeb1 Remove 'preinstall'
This is an obsolete workaround for old npm versions that broke with bundling but also did not install deps predictably.

Refs:

 - https://github.com/mapbox/node-pre-gyp/blob/master/README.md#configuring
 - https://github.com/mapbox/node-pre-gyp/issues/260
2018-07-23 16:02:10 -07:00
John Firebaugh
840a5cf120 [build] Record binary size via GitHub check 2018-07-03 14:03:32 -07:00
John Firebaugh
37e71666d8 [node] Build and publish for node 6.x, 8.x, and 10.x
Note that we're still only testing the 6.x ABI (48).
2018-06-26 17:20:46 -07:00
John Firebaugh
ec05ee41d1 [node] Drop node 4.x support 2018-06-26 17:20:46 -07:00
Konstantin Käfer
488b68c693 [node] add compatibility with node-pre-gyp binary publishing 2018-06-26 10:51:56 -07:00
Jason Wray
e67f0be813 Merge tag 'ios-v4.0.2' into master
Conflicts:
	mapbox-gl-js
	platform/android/CHANGELOG.md
	platform/android/gradle/dependencies.gradle
	platform/ios/CHANGELOG.md
	platform/ios/Mapbox-iOS-SDK-nightly-dynamic.podspec
	platform/ios/Mapbox-iOS-SDK-symbols.podspec
	platform/ios/Mapbox-iOS-SDK.podspec
	platform/node/test/ignores.json
	src/mbgl/geometry/feature_index.cpp
	src/mbgl/geometry/feature_index.hpp
	src/mbgl/layout/symbol_layout.cpp
2018-05-30 13:01:04 -04:00
Jason Wray
6e0d6ef44a [ios, build] Populate GitHub releases with templated notes
Replicates our existing release notes format as an EJS template and Node JS script, then uploads the formatted notes during the deployment process.
2018-05-24 13:27:26 -04:00
Konstantin Käfer
d1a266b3e6 [node] allow building all ABIs at once 2018-05-22 11:17:01 +02:00
Konstantin Käfer
973aa963f9 [node] move to Nan 2.10.0 2018-05-22 11:17:01 +02:00
Chris Loer
317794746e [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 14:53:26 -08:00
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