Commit Graph

28 Commits

Author SHA1 Message Date
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
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
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
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
ca0da9626e NanAssignPersistent source in NodeMap constructor, fixes #109 2015-04-03 15:43:40 -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
9a297051c7 adapt NodeFileSource around mbgl::Environment additions 2015-03-19 17:45:15 -04:00
Mike Morris
82317df050 move back to node-mapbox-gl-native 2015-02-24 12:16:21 -05:00
Mike Morris
030c88ce10 oops, fix lat, lng order 2015-02-18 16:41:11 -05:00
Mike Morris
10334522ad fix setLatLngZooom 2015-02-18 16:22:26 -05:00
Konstantin Käfer
b1deba8d95 do not .release() in function call; execution order is undefined 2015-02-13 15:09:32 -08:00
Konstantin Käfer
464ecaf7c7 make sure the log notifications don't keep the threadloop alive 2015-02-12 18:45:44 -08:00
Konstantin Käfer
81c45ab39a no need to use a pointer to a unique_ptr when we can just use the pointer 2015-02-12 18:18:43 -08:00
Konstantin Käfer
caae73a33a expose log messages to node.js 2015-02-12 13:04:06 -08:00
Konstantin Käfer
8c6f71fdb2 adapt to static-render branch changes [skip ci]
still missing updated tests
2015-02-11 19:35:39 -08:00
Mike Morris
df396d7d89 get tests passing on travis
add iam template with mapbox-gl-testing and mapbox-node-binary permissions
add travis build scripts and .travis.yml
rm -f platform gypi
map.resize is private now, called by view.resize
set stdlib and c++11 per platform, link glfw3 ldflags on linux
pass --clang to node-gyp per https://github.com/mapbox/mapbox-gl-native/pull/364#issuecomment-51735692
2015-02-10 15:24:02 -08:00
Konstantin Käfer
fc4df7992f this has been implemented 2015-02-06 10:51:16 +01:00
Konstantin Käfer
339ebca759 allow more arguments, but require at least one 2015-02-06 10:46:49 +01:00
Konstantin Käfer
66ca191ab2 add first render test 2015-02-04 20:09:02 +01:00
Konstantin Käfer
07867edd47 initial version with updated build system 2015-02-04 18:21:39 +01:00