Commit Graph

238 Commits

Author SHA1 Message Date
John Firebaugh
5dd98df50b [all] Rationalize style::Image
A style has a collection of images, just as it has collections of sources and layers.

* Name things appropriately
* Use std::unique_ptr
2017-04-24 15:52:28 -07:00
Bobby Sudekum
42c308fd8f Release node v3.5.0 (#8785) 2017-04-24 10:22:17 -07:00
Thiago Marcos P. Santos
1470ee7db6 [node] Add test for request not found 2017-04-20 18:46:35 +03:00
Thiago Marcos P. Santos
51ebb96b1d [node] Add map.cancel()
Cancels an ongoing rendering.
2017-04-20 18:46:35 +03:00
Thiago Marcos P. Santos
d767545f72 [node] Benchmark/stress test
Tries to simulate the workload from api-gl.
2017-04-20 18:46:35 +03:00
Thiago Marcos P. Santos
761cd136a8 [node] Add request failure tests
Test for timeout and when the request fails.
2017-04-20 18:46:35 +03:00
Konstantin Käfer
9a9408e811 [core] Render parent raster tiles when ideal tile can't be loaded 2017-04-20 09:38:18 +02:00
Bobby Sudekum
0e72fc4ec3 [node] Calculate image buffer and length once (#8673) 2017-04-07 10:23:31 -07:00
Molly Lloyd
e9cc666390 [node] fix node bindings 🐛 2017-03-28 11:06:58 -07:00
John Firebaugh
306b895dad [node] Fix mistaken .cpp include 2017-03-28 13:53:19 +02:00
Konstantin Käfer
8e5214144e [core] Ensure that a BackendScope exists when doing GL calls 2017-03-23 14:50:11 -07:00
John Firebaugh
d7227e13a7 [all] Replace Result<T> with optional<T> plus out Error parameter 2017-03-23 13:31:13 -07:00
Bruno de Oliveira Abinader
5e3308c5c0 [node] Update changes in MapObserver::onDidFailLoadingMap 2017-03-17 11:25:48 +02:00
Bobby Sudekum
140497e18f Bump version, add changelog entry (#8421) 2017-03-15 09:02:44 -07:00
John Firebaugh
841da960bc [node] Work around a link error on macOS release builds (#8409) 2017-03-15 08:39:21 -07:00
Bruno de Oliveira Abinader
d152efb8cb [node] Support mbgl::MapObserver 2017-03-15 14:53:32 +02:00
Bobby Sudekum
98f5b71e6d [node] bump version number; changelog entry (#8408) 2017-03-14 16:53:24 -07:00
Bobby Sudekum
305735fd6b [node] Cleanup bitrise.yml; split test/publish workflows (#8407) 2017-03-14 16:20:21 -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
Thiago Marcos P. Santos
5700c99e55 [node] Fix memory test hanging after GlyphAtlas refactoring (#8394)
Replies are assumed to be asynchronous after e3500c1f79.
2017-03-14 13:19:58 -07:00
John Firebaugh
b05e19b389 [node, glfw] Remove libuv 0.10 support 2017-03-10 15:03:18 -08:00
John Firebaugh
6ceb0c832b [build] Remove custom bitrise 'skip ci' stuff (#8346) 2017-03-10 08:55:34 -08:00
Ivo van Dongen
548675a196 [core] rename query options for query rendered features 2017-03-09 13:11:23 -08:00
Asheem Mamoowala
60d10dd27d [core] Add support for queryRenderedFeatures filter 2017-03-04 15:42:07 -08:00
Konstantin Käfer
9ca9adf69c [core] private OffscreenView implementation 2017-02-27 16:51:17 -08:00
Konstantin Käfer
6b0ad899b3 [node] adhere to node module naming requirements
https://nodejs.org/api/addons.html#addons_building specifies that "The module_name must match the filename of the final binary (excluding the .node suffix).". While the mismatch between `mapbox-gl-native` and `mapbox_gl_native` hasn't caused issues so far, we should play by the book.
2017-02-23 22:15:57 +01:00
Bruno de Oliveira Abinader
d4cee2cea5 [build] Satisfy 'brew link node@4' condition 2017-02-01 17:00:17 +02:00
Konstantin Käfer
62ea1f2185 [core] remove trailing whitespace, add trailing newlines, add space after // 2017-01-27 11:44:16 +01: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
Bobby Sudekum
2988ca16c1 Add addImage, removeImage API (#7610) 2017-01-09 13:03:17 -08:00
John Firebaugh
1b7dfff5cf [node] Fix array/object distinction
Only affects tests.
2017-01-04 17:38:33 -08:00
John Firebaugh
07e58fe961 [tests] Fix variable reference in test-suite harness 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
3718e1fa15 [tests] Implement "wait" command with Map#render
This ensures that a "wait" command will always fully flush pending update flags. This was not the case with the prior conditional map.loaded() logic.
2016-12-12 16:49:02 -08:00
Chris Voll
e7c30de021 [other] fix spelling on month in node.js changelog 2016-12-06 22:15:36 +01:00
John Firebaugh
c8e34d581b [node] Update brew package name 2016-12-05 15:06:34 -08:00
Konstantin Käfer
e76de05402 [build] move logging to util 2016-11-22 20:58:51 +01:00
Konstantin Käfer
117863f111 [build] move headless rendering files to platform/default 2016-11-22 20:58:51 +01:00
John Firebaugh
251035cd75 [node] Add setZoom and setPitch support 2016-11-17 13:48:00 -08:00
John Firebaugh
f1e10e31a5 [node] Revert semantics of Map#render 2016-11-17 13:48:00 -08:00
Mike Morris
aeba7cce84 node-v3.4.2 2016-11-15 13:31:48 -05:00
Mike Morris
f50de16260 [node] publish Node.js Linux binaries with GLX
run test suite with OSMesa in Debug
2016-11-15 13:31:48 -05:00
Mike Morris
7d2f18b5ed node-v3.4.1 2016-11-10 14:16:31 -05:00
John Firebaugh
da725d7bf9 [node] Initial camera will be set automatically by style 2016-11-09 17:54:45 -08:00
John Firebaugh
a5e712d28b [node] Don't needlessly reset map state 2016-11-09 17:54:45 -08:00
Mike Morris
176730bff6 node-v3.4.0 2016-11-04 15:17:03 -04:00
Konstantin Käfer
62b56b799a [core] change std::array<uint16_t, 2> to mbgl::Size 2016-10-27 18:30:58 -07:00