Commit Graph

141 Commits

Author SHA1 Message Date
Mike Morris
ed648f9eff skip failed request test 2015-05-28 13:35:00 -04:00
Mike Morris
9214584efb drop extraneous NodeFileSource v8::Persistent
Remove from NodeRequest to stop preventing garbage collection.
2015-05-28 13:35:00 -04:00
Mike Morris
fe3d6bbbd5 expose map.release() method 2015-05-28 13:35:00 -04:00
Mike Morris
e4536789eb Merge pull request #128 from mapbox/mapbox-protocol
drop SetAccessToken from NodeMap
2015-05-27 19:09:38 -04:00
Mike Morris
cb47f902e1 #include <memory> in node_file_source.hpp 2015-05-27 18:40:53 -04:00
Mike Morris
44490f620c drop SetAccessToken from NodeMap
Handle this is JavaScript where necessary.
2015-05-27 18:24:43 -04:00
Mike Morris
2e73682de0 std::make_unique 2015-05-27 16:54:09 -04:00
Mike Morris
3e9feb7cec Merge pull request #125 from mapbox/failed-requests
Handle failed requests
2015-05-22 11:17:28 -04:00
Mike Morris
16ec628d8e return an error if map.renderStill returns a std::exception_ptr
store exception_ptr on NodeMap

add test for map.render returning an error
2015-05-22 11:09:50 -04:00
Mike Morris
c439024f47 Merge pull request #124 from mapbox/pngjs
Drop compressPNG, use pngjs for tests
2015-05-18 17:54:41 -04:00
Mike Morris
7ed3667092 pack images with pngjs
https://www.npmjs.com/package/pngjs
2015-05-18 16:12:41 -04:00
Mike Morris
830a9b3972 drop CompressPNG 2015-05-15 13:24:04 -04:00
Mike Morris
2d5a73b25b Merge pull request #88 from mapbox/node-exe
Add support for and test against Node.js v0.12 and io.js v2.0.1
2015-05-15 12:27:10 -04:00
Mike Morris
2da70779c6 gcc -Wshadow is annoying 2015-05-14 15:39:48 -04:00
Mike Morris
99e24102c5 drop FLAVOR env var 2015-05-14 13:57:44 -04:00
Mike Morris
068491711b test against io.js 2.0.1 2015-05-14 13:56:47 -04:00
Mike Morris
b7ab9485d4 upgrade node modules, switch from tap-spec to faucet 2015-05-14 13:53:05 -04:00
Mike Morris
11b214fed6 if/else on NODE_MODULE_VERSION instead of UV_VERSION 2015-05-14 12:55:54 -04:00
Mike Morris
c0fe624ecd add node v0.12 and io.js compatibility 2015-05-14 12:55:54 -04:00
Mike Morris
1455822111 BIG matrix with multiple node versions and iojs 2015-05-14 12:23:42 -04:00
Mike Morris
78df900284 break out NODE_EXE env var 2015-05-14 12:17:28 -04:00
Mike Morris
79c73f990b Merge pull request #121 from mapbox/source-madness
Don't do things that set -e in Travis's shell
2015-05-14 11:39:26 -04:00
Mike Morris
1942333685 bump mbgl 2015-05-14 11:14:47 -04:00
Mike Morris
0117921017 Merge pull request #118 from mapbox/separate-threads
separate threads
2015-05-13 14:47:58 -04:00
Mike Morris
40ad3501a7 Merge pull request #119 from mapbox/travis-1339
update travis script
2015-05-13 13:46:01 -04:00
Mike Morris
99b37c64f9 compile OS X with --std=c++1y
because Travis uses Apple LLVM 6.0 and full c++14 support landed in 6.1
https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/WhatsNewXcode/WhatsNewXcode.pdf
2015-05-13 12:58:34 -04:00
Mike Morris
1b9f98440a ignore GCC diagnostics for node.h 2015-05-13 12:58:34 -04:00
Mike Morris
1eeb7b65e9 update travis script for https://github.com/mapbox/mapbox-gl-native/pull/1339
refactor mbgl travis scripts

source travis_helper.sh, run setup.sh

pushd/popd

sudo false

travis matrix with c++14 support?

drop setup_mesa.sh

update binding.gyp

language: c

drop thread_object, add async_queue

fix async_queue.hpp includes

std::make_unique

pip install awscli
2015-05-13 12:58:04 -04:00
Mike Morris
62816a9476 skip unhandled bad gzip test 2015-05-05 13:44:52 -04:00
Mike Morris
3eb8ec9ca6 map.resize, close server after tests, not inside 2015-05-05 13:44:52 -04:00
Mike Morris
840e22bf90 adapt to changes from
https://github.com/mapbox/mapbox-gl-native/pull/1065
2015-05-05 13:43:43 -04:00
Mike Morris
ca897ce407 bump mbgl
drop mbgl::Environment from NodeFileSource
switch to mbgl::Map::Mode::Still
2015-04-29 15:26:29 -04:00
Mike Morris
5b479fbfca Merge pull request #113 from mapbox/render-still
Map::renderStill
2015-04-17 17:11:23 +02:00
Konstantin Käfer
f2c9e9fb67 add xcode project target
Use locally installed node-pre-gyp if there's no global one.
This is necessary to be able to run make outside of npm.

Make example executable.

Change path to the request include file.

Bump mbgl to master.
2015-04-17 16:02:29 +02:00
Mike Morris
417741b13f adapt to still image render mode changes
https://github.com/mapbox/mapbox-gl-native/pull/1272

Some tests are hanging with no errors or log messages
when map.load is passed a style but never rendered.
2015-04-17 16:01:54 +02:00
Mike Morris
a11a92f9a4 add LogMessage constructors for default values 2015-04-17 15:57:31 +02:00
Mike Morris
8e790ca322 log environment ID and threadName if in scope 2015-04-17 15:57:31 +02:00
Mike Morris
8671015119 move node log from backend to observer pattern
back to gl-native master branch
2015-04-17 15:57:22 +02:00
Mike Morris
ba12e514cc move travis template to cloudformation directroy 2015-04-16 12:40:53 +02:00
Mike Morris
89e226e10f cherry pick fix for #110 2015-04-13 11:44:41 +02:00
Mike Morris
9363d94c36 respond with error message for non-200 responses in example FileSource 2015-04-08 18:17:08 -04:00
Mike Morris
40d47bc2c6 bump mbgl to fix glyph range end 2015-04-08 18:00:15 -04:00
Mike Morris
5091259c9d 1.0.3 [publish binary] 2015-04-03 15:55:31 -04:00
Mike Morris
97c7912f02 update changelog 2015-04-03 15:46:24 -04:00
Mike Morris
ca0da9626e NanAssignPersistent source in NodeMap constructor, fixes #109 2015-04-03 15:43:40 -04:00
Mike Morris
186fbad236 update changelog 2015-04-02 17:59:00 -04:00
Mike Morris
3090f498fd 1.0.2 [publish binary] 2015-04-02 17:55:47 -04:00
Mike Morris
6a3d6d2372 Merge pull request #108 from mapbox/init-display
init display connection on module load
2015-04-02 17:54:06 -04:00
Mike Morris
d9c446a075 init display connection on module load
add sudo: required

move source up to initialization on NodeMap

static sharedDisplay method
2015-04-02 17:21:16 -04:00
Mike Morris
993d760675 1.0.1 [publish binary] 2015-03-19 22:57:43 -04:00