Граф коммитов

22482 Коммитов

Автор SHA1 Сообщение Дата
Shelley Vohr a7330ed2a6
doc: update versions for Electron v6 2019-07-16 11:10:30 -07:00
Samuel Attard 7778c40c75
docs: update link to Electron 5 branch 2019-04-16 14:59:53 -07:00
Samuel Attard 66e54a5f9d
chore: put most recent Electron versions on the left of the table 2019-01-25 18:08:49 -08:00
Samuel Attard f8e76b71bf
fix: add missing Chromium version for 5-0-x 2019-01-25 18:04:54 -08:00
Samuel Attard 4c63e261f8
chore: update table with 5-0-x 2019-01-25 18:04:16 -08:00
Samuel Attard 758cd904f7
chore: add 4.0.x to the version table 2018-10-11 13:17:21 +11:00
Roni Saha 4f044e31f4 Fix Incorrect Link to nodejs website (#62) 2018-09-27 16:48:23 -05:00
Shelley Vohr ea320154fa
chore: copyediting in README 2018-08-29 15:48:57 -07:00
Shelley Vohr 90bf65bf28
chore: clarify use of master branch in fork (#56) 2018-08-29 09:09:31 -07:00
Shelley Vohr 18aeda2077
fix: move statsFromValues() to getStatsFromBinding() 2018-06-22 15:54:02 -07:00
Jeremy Apthorp 57ecd837cf Tweaks to ./configure to integrate with GN (#40) 2018-06-21 14:18:54 -05:00
Samuel Attard ce2efb3516 Add a default value for the 'build_v8_with_gn' variable in common.gypi 2018-06-18 13:44:48 +10:00
Samuel Attard 04b06def5f Patch out no-old-style-declaration flag to remove warnings from openssl build 2018-06-15 15:15:32 +10:00
Aleksei Kuzmin cf381cd77a fixup! Pass all globals through "require" 2018-05-30 12:28:19 +02:00
Aleksei Kuzmin 19d1193b83 FIXME: Comment out TRACE_EVENT_METADATA1 call 2018-05-29 13:59:36 +02:00
deepak1556 b9da09caa4 tools: add option to use custom template with js2c.py
(cherry picked from commit 278898bd3a3683133a083283de8a70389459cc7d)
2018-05-29 13:59:36 +02:00
Cheng Zhao 0e6d73c316 Expose InternalCallbackScope
The public CallbackScope interface is basically useless for us.

(cherry picked from commit 2dc3ef2e3eed3dfeab9557eed848f2177f1a65e4)
2018-05-29 13:59:35 +02:00
Shelley Vohr 4db5f07902 fix node::AtExit() crash
(cherry picked from commit 82d2a5b46f4ae84e397e0afd19b1fed2ef4b5362)
2018-05-29 13:59:35 +02:00
deepak1556 9a216aed0c expose TraceEventHelper
(cherry picked from commit 220d9622de7a81cd8d421be994fed59311c720cb)
2018-05-29 13:59:35 +02:00
Aleksei Kuzmin 73d1703470 FIXME: Use redefined version of the `internalModuleStat` function
(cherry picked from commit 68da904c6ccdefe94deb04bde510f60f331d35b5)
2018-05-29 13:59:35 +02:00
Cheng Zhao c8d1dd49a1 Remove the assertion of async_id
It is crashing in Electron, I doubt it is caused by the node
integration code.

(cherry picked from commit 4fc3eabd7e4f52bee49b8757dc5017b529ed02a4)
2018-05-29 13:59:34 +02:00
Kevin Sawicki 7db6ec3e74 Build and expose inspector agent
(cherry picked from commit 88bd5a7b59c9366fcdc8dc49ec07e15f18e334db)
2018-05-29 13:59:34 +02:00
Cheng Zhao f61bae3440 Allocate memory of Buffer with V8's allocator
(cherry picked from commit 813a45f791)
(cherry picked from commit cbbe8e8722c72355d2ac25e918e57d413e846c1a)
2018-05-29 13:59:34 +02:00
Kevin Sawicki 201f3b6684 Comment out TryCatch::IsVerbose call
(cherry picked from commit 16db0ee090a88fa1da3a7d989394cfddd2a126d0)
2018-05-25 16:28:16 +02:00
Shelley Vohr 3d6b66ab61 include trace_event header for async_wrap
(cherry picked from commit 942792d539161b57c5b8b428c383a3bdbdd69332)
2018-05-25 16:28:16 +02:00
Cheng Zhao fc373faab1 Avoid exposing trace_event.h
(cherry picked from commit fc85460767c809f29556ff13b07d46245295d1ce)
2018-05-25 16:28:16 +02:00
Thiago de Arruda 69edd12b87 Expose `get_builtin_module` function
This is a requirement for electron/electron#8815, which exposes some builtin
modules to sandboxed renderers.

(cherry picked from commit 4c058a6cb5331eef1c7f51c042dd074a2d4f9234)
2018-05-25 16:28:16 +02:00
Kevin Sawicki 85d3f5488e Call process.log from fallback stream on Windows
(cherry picked from commit d31e629b4f2daf3500a485caab2b2990a41e3ad4)
2018-05-25 16:28:15 +02:00
Cheng Zhao ef843c373f Allow use_openssl_def to be overwritten
(cherry picked from commit 3dedf1549e16f4f06b5cbc1c90138a7861b2963e)
2018-05-25 16:28:15 +02:00
Cheng Zhao 2eeac2f899 Remove openssl_fips in common.gypi
When building native modules with old node this will cause errors:
gyp: name 'openssl_fips' is not defined while evaluating condition
'openssl_fips != ""' in binding.gyp while trying to load binding.gyp

(cherry picked from commit 81de2a2f923cdd9002dc6ce50066125d238c6172)
2018-05-25 16:28:15 +02:00
Cheng Zhao b071038e57 Export NativeModule
This is used by atom for doing module compile cache.

(cherry picked from commit 83b45fddb9a36c1376f7a2b5c70717e37b6f0133)
2018-05-25 16:28:15 +02:00
Cheng Zhao 38dba38169 Pass all globals through "require"
(cherry picked from commit 7d015419cb7a0ecfe6728431a4ed2056cd411d62)
2018-05-25 16:28:15 +02:00
Cheng Zhao d87d058fae Create a dummy stream when failed to create stdout
(cherry picked from commit 0ea1fcfdfa0ffaf422df82a8e125429c00b2bb90)
2018-05-25 16:28:14 +02:00
Cheng Zhao 71f8f8aa22 Add fs.statSyncNoException
This is now mainly for history reason.

(cherry picked from commit babfb5261dd827564a273ba4f855de702eecc983)
2018-05-25 16:28:14 +02:00
Cheng Zhao bac51bfc75 Init asar support in Node
(cherry picked from commit 651b2220a0ded8e0148d9db143ec8e1e4f88d9c3)
2018-05-25 16:28:14 +02:00
Cheng Zhao 7fa4964247 Guard against NULL returned by uv_err_name.
The uv_err_name would return NULL on unknown system error, which then would
crash V8 by creating string from NULL.

(cherry picked from commit a48241d72592939d194d04ef4772c0f7d0e7705f)
2018-05-25 16:28:14 +02:00
Cheng Zhao 731a239b69 Add on_watcher_queue_updated callback for loop.
This callback is called when loop's watcher queue changes, when polling
kqueue in new thread, we need to get notified when there are new events
needed to be watched.

(cherry picked from commit e609f70ad0ade0f54316c1417082d85010e79e7e)
2018-05-25 16:28:13 +02:00
Cheng Zhao bb409d26f2 Hack child_process.fork to use execute script with atom-shell.
(cherry picked from commit 66836f49c78b8639b993e549b7ffe87eb04afcec)
2018-05-25 16:28:13 +02:00
Cheng Zhao af49297579 Don't set wrapper class in node, otherwise heap snapshot would crash.
(cherry picked from commit 49951fc3cb40c6d167528003f1c936144a931e56)
2018-05-25 16:28:13 +02:00
Cheng Zhao 5e8eef9e9e Hide console window when creating process.
(cherry picked from commit 675f2bb610ebe6e8ba7d36fae79db9b9654a7bdf)
2018-05-25 16:28:13 +02:00
Cheng Zhao d483f62667 Make Module.globalPaths a reference.
We need to hack the search paths of the require function so we can
load libraries from embedded applications without modifications of
node's module code.

(cherry picked from commit 76ba048c37588ee32636817fa7b8dffc64330cbf)
2018-05-25 16:28:12 +02:00
Cheng Zhao 7f53cb9ad3 Add flags to control whether to set low level hooks and disable exceptions. 2018-05-25 16:28:12 +02:00
Anna Henningsen 5cbb905c1a
2018-05-23, Version 10.2.0 (Current)
* addons:
  - Fixed a memory leak for users of `AsyncResource` and N-API.
    (Michael Dawson)
    https://github.com/nodejs/node/pull/20668
* assert:
  - The `error` parameter of `assert.throws()` can be an object containing
    regular expressions now. (Ruben Bridgewater)
    https://github.com/nodejs/node/pull/20485
* crypto:
  - The `authTagLength` option has been made more flexible (Tobias Nießen)
    https://github.com/nodejs/node/pull/20235)
    https://github.com/nodejs/node/pull/20039
* esm:
  - Builtin modules (e.g. `fs`) now provide named exports in ES6 modules.
    (Gus Caplan)
    https://github.com/nodejs/node/pull/20403
* http:
  - Handling of `close` and `aborted` events has been made more consistent.
    (Robert Nagy)
    https://github.com/nodejs/node/pull/20075
    https://github.com/nodejs/node/pull/20611
* module:
  - add --preserve-symlinks-main (David Goldstein)
    https://github.com/nodejs/node/pull/19911
* timers:
  - `timeout.refresh()` has been added to the public API.
    (Jeremiah Senkpiel)
    https://github.com/nodejs/node/pull/20298
* Embedder support:
  - Functions for creating V8 `Isolate` and `Context` objects with
    Node.js-specific behaviour have been added to the API.
    (Allen Yonghuang Wang)
    https://github.com/nodejs/node/pull/20639
  - Node.js `Environment`s clean up resources before exiting now.
    (Anna Henningsen)
    https://github.com/nodejs/node/pull/19377
  - Support for multi-threaded embedding has been improved.
    (Anna Henningsen)
    https://github.com/nodejs/node/pull/20542
    https://github.com/nodejs/node/pull/20539
    https://github.com/nodejs/node/pull/20541

PR-URL: https://github.com/nodejs/node/pull/20724
2018-05-23 17:06:43 -04:00
Eugene Ostroukhov 92dd9b59eb
inspector: get rid of the make_unique
PR-URL: https://github.com/nodejs/node/pull/20895
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
2018-05-23 17:05:38 -04:00
Joyee Cheung 5886b7826c
test: test about:blank against invalid WHATWG URL
> If `failure` is true, parsing `about:blank` against `base`
> must give failure. This tests that the logic for converting
> base URLs into strings properly fails the whole parsing
> algorithm if the base URL cannot be parsed.

Fixes: https://github.com/nodejs/node/issues/20720

PR-URL: https://github.com/nodejs/node/pull/20796
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
2018-05-23 17:05:38 -04:00
Benjamin Coe b6d678b018
test: fix tests that fail under coverage
Make test runner capable of skipping tests, which makes it possible
to skip the failing test/message/core_line_numbers.js test.

Make nyc no longer generate compact instrumentation (this causes
significantly different code output, which leads to failing test
assertions).

PR-URL: https://github.com/nodejs/node/pull/20794
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Khaidi Chu <i@2333.moe>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
2018-05-23 17:05:38 -04:00
Tobias Nießen 8d8b0bdf38
lib,src,test: fix comments
PR-URL: https://github.com/nodejs/node/pull/20846
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
2018-05-23 17:05:38 -04:00
Rich Trott dc29a3b386
test: add promise API test for appendFile()
Apply the second of five test cases in test-fs-append-fil to the
promise-based API in addition to the callback-based API.

PR-URL: https://github.com/nodejs/node/pull/20842
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2018-05-23 17:05:38 -04:00
Bartosz Sosnowski c1fe9b29b1
doc: add note about autocrlf required for tests
Adds a note to test/README.md that setting autocrlf to true when
checking out sources is required for the tests to run successfully.

PR-URL: https://github.com/nodejs/node/pull/20752
Ref: https://github.com/nodejs/node/issues/18967
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
2018-05-23 17:05:38 -04:00
Masashi Hirano d9aecc0c07
test: improve coverage for internal/readline
Add tests for readline keys to improve coverage.

PR-URL: https://github.com/nodejs/node/pull/20840
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
2018-05-23 17:05:38 -04:00