Commit Graph

255 Commits

Author SHA1 Message Date
Asheem Mamoowala
ca45974ff2 Update changelogs and iOS/macOS style guide for ImageSource bindings 2017-06-19 09:50:08 -07:00
John Firebaugh
cdc5f8ff14 [tests] Enable set-style-* integration tests 2017-06-15 07:43:51 -07:00
John Firebaugh
f610e9bef9 [tests] Test updating icon and pattern images 2017-06-13 10:18:43 -07:00
Bobby Sudekum
15791b5869 [node] bump version (#9196) 2017-06-06 09:18:49 -07:00
Asheem Mamoowala
c0c1028dcf [core] Add toDouble Conversion method for correctly parsing Lat Lng coordinates 2017-06-01 15:38:01 -07:00
Bobby Sudekum
04c5399d41 Bump node version - v3.5.3 (#9144) 2017-05-30 12:14:08 -07:00
John Firebaugh
9e1cbbeacb [node] Pixel ratio may be floating point 2017-05-23 12:59:27 -07:00
Bobby Sudekum
895275d6fc Release node-v3.5.2 (#9052) 2017-05-19 11:27:48 -05:00
John Firebaugh
cc1ea759a6 [core, node, darwin, android, qt] Make image ID part of Image
More like Source and Layer.
2017-05-16 12:26:35 -07:00
jingsam
e4c66ac27c Update README.md 2017-05-15 10:16:42 -07:00
John Firebaugh
9eba2a66d1 [core, node, darwin, qt] Remove support for paint classes 2017-05-15 09:45:55 -07:00
Bruno de Oliveira Abinader
baeaad83a3 [tidy] modernize-use-emplace 2017-05-12 18:07:36 +03:00
John Firebaugh
baaae99a03 [core, android] Factor JSON string conversions
This adds a `convertJSON` template, to be used like:

   Error error
   optional<Foo> foo = convertJSON<Foo>(string, error);

Internally, it parses the string with RapidJSON and then calls `convert<Foo>(parsed, error)`.

While here, rationalize GeoJSON converters and fix error handling for Tileset conversion in OfflineDownload.
2017-05-08 13:48:57 -07: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
36ec203324 Add support for node v6 (#8884) 2017-05-04 10:31:26 -07:00
Asheem Mamoowala
5c52401d55 [core] Make Map.addImage tests pass (#8843)
Fix Node tests suite implementation to parse pixelRatio from style json
Premultiply images in the node binding before sending to mbgl core
2017-05-02 09:54:06 -07:00
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