Commit Graph

106 Commits

Author SHA1 Message Date
Mike Morris
c1a38b66e5 node-v3.1.1 2016-04-11 16:43:12 -07:00
Mike Morris
18768d6f88 unbundle node-pre-gyp to work around bundledDependencies bug in npm2 2016-04-11 16:40:33 -07:00
Mike Morris
c507b8a693 node-v3.1.0
update deps in package.json
2016-04-11 10:25:55 -07:00
John Firebaugh
f964e40e7e [build] Refactor and simplify build system
* Main gyp files are now standardized as platform/<platform>/platform.gyp.
* Each platform gyp file defines appropriate loop_lib and headless_lib variables.
* Each platform gyp file includes mbgl.gypi, which defines base targets which may be useful to all platforms.
* CI targets are consistent across platforms: `make $(PLATFORM) && make test-$(PLATFORM)`.
* Renamed the "linux" test app to "glfw". It's now built in OS X CI.
* Android build flakiness is fixed.
* iOS CI builds the bench and iosapp targets.
* Mesa version is now in one place.
* CI scripts use bash "strict mode" and correct error handling.
* All build output goes to the build directory.
* Removed vestigial iOS/OS X/Android Travis scripts.
2016-04-07 18:01:02 -07:00
John Firebaugh
08c9406ed4 [node] Run rendering tests on Bitrise OS X 2016-04-01 09:26:10 -07:00
Ansis Brammanis
b6a181097c [core] fix reparsing overscaled geojson tiles
fix #3838
2016-03-30 13:57:47 -07:00
Ansis Brammanis
8e9e779f2f [core] fix line-dasharray/long-segment render test
fix #3928

reduce LineAtlas width to 256 to match -js. 256 should be enough.
2016-03-30 13:13:54 -07:00
Ansis Brammanis
0539f7b4cb [core] fix infinite loop in mbgl::resample
fix #4416
2016-03-29 11:38:35 -07:00
Ansis Brammanis
2d975d147f [core] switch circle render tests to poi_label 2016-03-29 10:10:48 -07:00
Ansis Brammanis
930c3c46c5 [core] reset line distance when it is near max
port 77ce4b45b2

fix #4492
2016-03-28 17:44:41 -07:00
Ansis Brammanis
b352bb81d8 [core] fix background-pattern rendering in perspective view
fix #3801
2016-03-28 16:59:39 -07:00
Ansis Brammanis
47dc38bf4a [core] less slanted dashed lines near sharp corners
port https://github.com/mapbox/mapbox-gl-js/pull/2043 from -js
2016-02-15 12:55:41 -08:00
Ansis Brammanis
d9244cc973 [core] make sure icons fit before the ends of the line
This skips anchors if there is not enough room before the beginning or
end of the line for the icon to fit.

-js: https://github.com/mapbox/mapbox-gl-js/pull/2077/files
2016-02-09 15:01:34 -08:00
Mike Morris
8e5862bd5d node-v3.0.2 2016-02-04 19:02:08 -05:00
Ansis Brammanis
8e9510d2b4 [core] tweak dash rendering and enable render tests
fixes #2646
2016-02-02 17:09:38 -08:00
Ansis Brammanis
2cfc624848 [core] make symbol sort order more deterministic 2016-02-02 16:17:30 -08:00
Ansis Brammanis
4e0d1070f6 [core] support tiles with non-4096 extents
Convert all geometries to the maximum extent supported by our buffers
and then use that constant extent everywhere else.
2016-02-02 14:49:03 -08:00
Mike Morris
a3284ad7e2 node-v3.0.1 2016-01-26 11:10:54 -08:00
Ansis Brammanis
5cd123422e [core] fix missing icon collision boxes
port https://github.com/mapbox/mapbox-gl-js/pull/1981
2016-01-22 18:00:49 -08:00
Ansis Brammanis
0101fc0c89 [core] trigger repaint after placement is redone
fixes #3140

This also fixes a bug where placement could be redone with a stale
PlacementConfig after the tile first finishes loading.
2016-01-22 13:57:33 -08:00
Mike Morris
0a2e4af4c5 node-v3.0.0 2016-01-21 12:03:41 -05:00
Ansis Brammanis
ed0488d2e0 [core] improve text-max-angle check
Instead of using the absolute value of the sum of angles, use the sum of
the absolute values of angles.

This helps avoid labels on lines with sharp zig zags.

for example, the "Central Campus Mall" label in issue #2998
2016-01-20 16:58:24 -08:00
Ansis Brammanis
0fda834397 [core] implement symbol-avoid-edges
ref #3582

if `symbol-avoid-edges` is true, this prevents symbols from colliding
with tile edges.
2016-01-20 16:10:38 -08:00
Mike Morris
48cced9e31 node-v2.2.2 2016-01-19 17:42:43 -05:00
Ansis Brammanis
5119ce8155 [core] fix overscaled line patterns and re-enable render tests
fix #3489
fix #2648
2016-01-13 16:39:02 -08:00
Ansis Brammanis
e577354567 [core] remove bilinear, nearest scaling, fix #3164 2016-01-13 15:02:41 -08:00
Ansis Brammanis
bdfa1277a5 [core] match icon rendering with -js
port https://github.com/mapbox/mapbox-gl-js/pull/1919/files
2016-01-13 14:48:07 -08:00
kelvinabrokwa
73be3558d7 [core] seamless fill-pattern
seamless across dateline

upgrade test-suite version
2016-01-12 16:18:24 -08:00
kelvinabrokwa
52844d4746 [core] fix text-offset bug
fixes #3469
2016-01-07 16:44:44 -08:00
bsudekum
0ef257bfc6 [node] bump version to v2.2.1 2016-01-07 09:54:45 -08:00
Ansis Brammanis
42b13c69fe add test for text clipping at tile edges
ref #2829
2016-01-06 18:34:28 -08:00
John Firebaugh
e2ad0e008a [core] Fix background-pattern origin
Regressed in 6e41664cb0. This restores it
to the same behavior as gl-js, backed by test-suite tests.
2015-12-18 10:46:10 -08:00
Mike Morris
4dac6cde30 node-v2.2.0 2015-12-16 15:13:20 -05:00
John Firebaugh
4a803f1a78 [core] Don't use glClear optimization for layers that aren't the bottommost
Fixes #3292
2015-12-14 17:01:16 -08:00
Konstantin Käfer
8d711e9c80 [test] update test suite to include more comprehensive GeoJSON tests 2015-12-11 16:23:43 -08:00
John Firebaugh
896245e510 [test] Update test suite 2015-12-09 16:25:45 -08:00
Mike Morris
515a4fffab node-v2.1.0 2015-12-08 11:39:12 -08:00
Konstantin Käfer
7bfeaca85c [core] Reverse direction of line-offset 2015-12-08 10:49:23 -08:00
John Firebaugh
84754cf71c Update test suite 2015-12-03 13:04:39 -08:00
Konstantin Käfer
964a1e7b62 [core] rudimentary support for offsetting lines 2015-12-03 11:41:53 -08:00
John Firebaugh
e326d4972f [tests] Update test-suite 2015-12-01 16:24:43 -08:00
Mike Morris
4dc4eef83e [node] simpler PACKAGE_JSON_VERSION 2015-12-01 13:52:17 -05:00
Mike Morris
dcf3eb9083 node-v2.0.1 2015-11-25 16:34:39 -05:00
Mike Morris
e87834f15d [node] update package.json deps 2015-11-24 14:09:57 -05:00
Mike Morris
76253eb1d1 node-v2.0.0-pre.16 2015-11-23 14:13:22 -05: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
Mike Morris
3a91686a09 [node] autopublish node-pre-gyp binary
If $TRAVIS_TAG matches with node-v${PACKAGE_JSON_VERSION}.
2015-11-05 14:45:34 -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
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
bsudekum
c5e747018f Update version and changelog 2015-11-02 17:11:24 -08:00