Commit Graph

71 Commits

Author SHA1 Message Date
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
ed1a761632 [node] update platform/node/CHANGELOG.md [skip ci] 2015-11-04 19:43:11 -05:00
Mike Morris
0403b282f3 [node] update platform/node/CHANGELOG.md [skip ci] 2015-11-04 19:40:06 -05:00
Mike Morris
5e58070dec [node] make ratio optional, default to 1.0 2015-11-04 18:18:08 -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
bsudekum
93c5bc08b3 [node] add pitch option 2015-11-02 16:58:24 -08:00
Konstantin Käfer
04273fbb1c [core] Make DefaultFileSource react to all NetworkStatus changes 2015-11-02 17:25:08 +01:00
Tom MacWright
26cb45ed46 Document node-mapbox-gl-native with JSDoc 2015-10-29 16:55:30 -07:00
John Firebaugh
014b517820 [node] Output debug logs when a render test times out 2015-10-28 15:54:34 -07:00
Konstantin Käfer
5173bf1bb8 [core] Make response data shared to avoid excessive copying 2015-10-26 15:54:27 +01:00
Konstantin Käfer
94a5ac857f [core] all requests have to be canceled explicitly now
By not automatically destroying Request objects after the result has been delivered, we are making sure that we can potentially fire the callback multiple times without adverse effects. This means that you have to hold on to the result of fs->request(), can explicitly cancel it if you don't want to be notified of data changes anymore. Not doing so will monitor the request indefinitely and will prevent the app from exiting.
2015-10-26 15:54:27 +01:00
bsudekum
a20113daf1 [node] update changelog 2015-10-14 14:37:51 -07:00
Mike Morris
62595a9b39 [core] bump libuv to 1.7.5 across all platforms
UV_ASYNC_PARAMS and UV_TIMER_PARAMS for libuv <= 0.10 compatibility

use st_mtim.tv_sec in libuv > 0.10.x
2015-10-14 11:36:28 -04:00
Minh Nguyễn
59799947c7 Break lines on com­mon­ly un­spaced punc­tu­a­tion
Par­ti­cu­lar­ly hy­phens and soft hy­phens.

Fixes #2595.
2015-10-13 09:54:36 -07:00
John Firebaugh
3bbb87c6d7 Update test-suite 2015-10-07 14:05:59 -07:00
Minh Nguyễn
456f329755 Ask contributors to update changelogs incrementally
Also seeded the changelog with changes in master.
2015-10-07 10:19:19 -07:00
John Firebaugh
2066295e35 Install RapidJSON from mason 2015-10-01 11:40:47 -07:00
Mike Morris
9fdc36c1a1 [node] add support for Node.js v4.1.x and update changelog 2015-09-30 15:36:44 -07:00
bsudekum
152fb6156f [skip-ci] [node] update changelog 2015-09-30 10:30:54 -07:00
bsudekum
7112d43609 [node] Handle tiles which 404 better 2015-09-29 18:20:22 -07:00
Mike Morris
a101ab4cf5 [node] throw if a render is already pending, fixes #2247 2015-09-15 13:29:46 -04:00
Mike Morris
169f580519 [node] update platform/node/CHANGELOG.md [skip ci] 2015-09-11 14:16:42 -04:00
Mike Morris
f9f43fd150 [node] fix links in CHANGELOG.md [skip ci] 2015-09-10 19:40:16 -04:00
Mike Morris
7cc0ef019a [node] update platform/node/CHANGELOG.md [skip ci] 2015-09-10 19:33:07 -04:00
Mike Morris
5a5a5ef4f0 [node] update CHANGELOG.md [skip ci] 2015-09-10 19:28:47 -04:00
Mike Morris
1296f91c82 [node] change request semantics
Passes a second, callback argument to the request implementation instead
of needing to call req.respond.
2015-09-10 15:58:29 -04:00
John Firebaugh
532bbd5484 Add anonymous lambda for HandleScope 2015-09-09 15:06:54 -07:00
Mike Morris
3d48147f2f add io.js v3.x support 2015-09-09 14:57:26 -07:00
Mike Morris
627623edbc Use nan with https://github.com/nodejs/nan/pull/443 fixed 2015-09-09 14:57:15 -07:00
John Firebaugh
0531b38367 Nan 2.0 2015-09-09 14:55:14 -07:00
bsudekum
7cbf958c30 Add more tests to check for buffer 2015-09-04 12:24:54 -07:00
bsudekum
3db1421eb1 Return raw image buffer instead of an object 2015-09-04 12:01:34 -07:00
John Firebaugh
15a66b8989 Consolidate test-suite rendering harnesses (#2236) 2015-09-04 10:52:14 -07:00
Mike Morris
13bcd109f0 update node changelog 2015-09-02 16:12:27 -04:00
Mike Morris
dec3f9b4f8 Merge branch 'node' of github.com:mapbox/mapbox-gl-native into node 2015-09-01 17:18:16 -04:00
Mike Morris
853da02101 drop ratio from RenderOptions 2015-09-01 17:18:12 -04:00
Mike Morris
0145f60dba drop platform/node/examples, this is covered in README 2015-09-01 17:16:39 -04:00
Mike Morris
b81d98b7a8 Update README.md 2015-09-01 17:14:15 -04:00
Mike Morris
4694c7b51a fix example, clean up duplicate files 2015-09-01 16:08:46 -04:00
Mike Morris
0e79d56b09 move package.json and binding.gyp to root, drop tiles.tilejson 2015-09-01 15:51:29 -04:00
John Firebaugh
c4c3b5bc71 Remove debug logging 2015-08-31 18:41:57 -07:00
John Firebaugh
55d25a80a7 In still mode, don't load resources until a render request is made 2015-08-31 18:09:11 -07:00
John Firebaugh
0918ad5a29 Clean up tests 2015-08-31 17:53:37 -07:00
John Firebaugh
e33abc975b More logging 2015-08-31 17:35:46 -07:00
John Firebaugh
92f8372d0c Always release map 2015-08-31 17:20:18 -07:00
John Firebaugh
119a9fbf77 Don't let test-suite fail; we have exceptions for known failures now 2015-08-31 16:44:45 -07:00
John Firebaugh
8977441a84 Drop faucet, it hides key error output when tests fail 2015-08-31 16:44:08 -07:00
John Firebaugh
41edb666ce Fix render test script 2015-08-31 16:26:17 -07:00