Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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
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
3db1421eb1 Return raw image buffer instead of an object 2015-09-04 12:01:34 -07:00
Mike Morris
853da02101 drop ratio from RenderOptions 2015-09-01 17:18:12 -04:00
John Firebaugh
c4c3b5bc71 Remove debug logging 2015-08-31 18:41:57 -07:00
Mike Morris
c2539d6bd4 more logging, don't respond to cancelled requests 2015-08-27 15:23:46 -04:00
Mike Morris
580719c9f9 add request/respond logging 2015-08-27 15:11:42 -04:00
Mike Morris
6a31e6c801 update mbgl::Resource 2015-08-25 14:46:07 -04:00
Mike Morris
6e6387e089 move node-mbgl to platform/node/ directory 2015-08-21 16:22:04 -04:00