summaryrefslogtreecommitdiff
path: root/platform/node
Commit message (Collapse)AuthorAgeFilesLines
* node-v3.0.1node-v3.0.1Mike Morris2016-01-261-0/+6
|
* [core] Use better types for modified / expires / etagJohn Firebaugh2016-01-211-3/+2
|
* node-v3.0.0node-v3.0.0Mike Morris2016-01-211-0/+6
|
* [node] Drop 0.10 from build; require v4+John Firebaugh2016-01-201-1/+1
|
* node-v2.2.2node-v2.2.2Mike Morris2016-01-191-0/+4
|
* [node] extract the error message from the Error objectKonstantin Käfer2016-01-141-2/+16
| | | | this avoids double "Error: Error: reason" messages
* [test] don't pass raw strings as error messagesKonstantin Käfer2016-01-141-1/+1
|
* [test] deliver error responses when the underlying request failedKonstantin Käfer2016-01-081-1/+7
|
* [node] bump version to v2.2.1node-v2.2.1bsudekum2016-01-071-0/+4
|
* Rewrote documentationMinh Nguyễn2016-01-052-1/+35
| | | | | | | | Rewrote some copy to provide more context and link to more GL-related repos, including GL JS. Put the various SDKs in a table so we can show the various CI bot status images. Integrated target list into the relevant documents. Rewrote large portions of iOS and OS X setup documentation to guide normal developers to more friendly places. Combined some Android documentation. Moved SDK-specific documentation into platform/. Added a temporary readme in ios/ that points to the one in platform/ios/.
* [core] Rationalize error handling for resource loadingJohn Firebaugh2015-12-231-2/+0
| | | | | | | | | * Standardize on std::exception_ptr as the error representation (fixes #2854). * Don't format textual strings at the error source; pass on the constituent data via observer method parameters instead. * Use the null object pattern to simplify observer notification code. * Further refactoring for ResourceLoading tests.
* Move platform scripts into platformsJohn Firebaugh2015-12-165-0/+216
|
* node-v2.2.0node-v2.2.0Mike Morris2015-12-161-0/+4
|
* [node] code review cleanupMike Morris2015-12-152-21/+21
|
* [test] Update test suiteJohn Firebaugh2015-12-092-3/+11
|
* [node] document EventEmitter interface [skip ci]Mike Morris2015-12-081-8/+52
|
* node-v2.1.0node-v2.1.0Mike Morris2015-12-081-0/+4
|
* [core] Abstract main loop inside RunLoop classThiago Marcos P. Santos2015-12-011-1/+1
|
* [core] Replace time_t with std::chrono::secondsBruno de Oliveira Abinader2015-11-271-2/+5
| | | | | | | Added aliases for std::chrono typedefs (eg. 'Seconds' for std::chrono::seconds). These aliases are used together with templated helper functions to replace time_t with std::chrono::seconds for most cases, in particular for 'modified' and 'expires' values in Response.
* [node] Fix build on GCC 4.9.2Thiago Marcos P. Santos2015-11-265-8/+4
|
* [core] Fix image type of Map::renderStillJohn Firebaugh2015-11-252-2/+2
| | | | | | | It's a premultiplied image. This implies that we were misusing encodePNG in most cases, as we were passing premultiplied pixels which were then interpreted as unmultiplied. I changed encodePNG to accept premultipled pixels, and unpremultiply in the implementations.
* [core] Rewrite image handlingJohn Firebaugh2015-11-252-14/+12
| | | | | | * Consolidate Image and StillImage * Typecheck unassociated vs premultiplied images * Rewrite default platform image decoding implementation
* node-v2.0.1node-v2.0.1Mike Morris2015-11-251-0/+4
|
* [core] For binary image data use uint8_t, not charJohn Firebaugh2015-11-231-2/+1
|
* [node] Allow GC in spite of reference loops through the request methodJohn Firebaugh2015-11-205-71/+35
| | | | | | | | | | | | | | The following produces a reference cycle: var map = new mbgl.Map({ request: function () { ... } }); map has a reference to the request function, which has a reference to its closure, which has a reference to map. Storing a the map options in an internal field, rather than a Persistent, allows V8 to collect the reference cycle when none of its members have other references.
* [node] Fix race condition in testsJohn Firebaugh2015-11-181-8/+0
| | | | The message callback races with the rest of this test. We already have tests for errors being emitted from mbgl, so just remove it.
* [node] Need to have a singleton RunLoop instanceJohn Firebaugh2015-11-164-11/+27
|
* [core] Use std::unique_ptr for FileSource requestJohn Firebaugh2015-11-165-212/+49
|
* [core] Do not pass uv_loop_t aroundThiago Marcos P. Santos2015-11-162-3/+4
| | | | This should be abstracted by util::RunLoop
* [node] Fixes 'make xnode' to configure HOST_SLUG.gypiMike Morris2015-11-055-0/+5
| | | | | Adds node-gyp to dev-dependencies to support 'make xnode' on Node v0.10.x Ignores -Wnested-anon-types around v8.h includes.
* [node] update platform/node/CHANGELOG.md [skip ci]Mike Morris2015-11-041-7/+5
|
* [node] update platform/node/CHANGELOG.md [skip ci]Mike Morris2015-11-041-2/+2
|
* [node] make ratio optional, default to 1.0Mike Morris2015-11-044-20/+39
|
* [node] swap array order to [lng, lat] for render option centerMike Morris2015-11-043-6/+7
| | | | For consistency with GeoJSON and mapbox-gl-js
* [node] enable npm to build mapbox-gl-native package from sourceLucas Wojciechowski2015-11-043-5/+4
| | | | | | This reverts commit 311bf93abe9f815668e8e0a779c87c3eb5c1199d. more explicit require paths in tests
* Update version and changelognode-v2.0.0-pre.11bsudekum2015-11-021-0/+1
|
* [node] add pitch optionbsudekum2015-11-021-0/+6
|
* [core] Make DefaultFileSource react to all NetworkStatus changesKonstantin Käfer2015-11-021-6/+5
|
* Document node-mapbox-gl-native with JSDocTom MacWright2015-10-291-0/+75
|
* [node] Output debug logs when a render test times outJohn Firebaugh2015-10-283-1/+23
|
* [core] Make response data shared to avoid excessive copyingKonstantin Käfer2015-10-261-2/+2
|
* [core] all requests have to be canceled explicitly nowKonstantin Käfer2015-10-261-1/+0
| | | | 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.
* [node] update changelognode-v2.0.0-pre.10bsudekum2015-10-141-0/+1
|
* [core] bump libuv to 1.7.5 across all platformsMike Morris2015-10-142-7/+8
| | | | | | UV_ASYNC_PARAMS and UV_TIMER_PARAMS for libuv <= 0.10 compatibility use st_mtim.tv_sec in libuv > 0.10.x
* Break lines on com­mon­ly un­spaced punc­tu­a­tionMinh Nguyễn2015-10-131-0/+1
| | | | | | Par­ti­cu­lar­ly hy­phens and soft hy­phens. Fixes #2595.
* Update test-suiteJohn Firebaugh2015-10-071-1/+1
|
* Ask contributors to update changelogs incrementallyMinh Nguyễn2015-10-071-0/+2
| | | | Also seeded the changelog with changes in master.
* Install RapidJSON from masonJohn Firebaugh2015-10-011-1/+1
|
* [node] add support for Node.js v4.1.x and update changelogMike Morris2015-09-301-1/+2
|
* [skip-ci] [node] update changelognode-v2.0.0-pre.8bsudekum2015-09-301-1/+2
|