Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Merge nodejs/master into xplat #206

Merged
merged 17 commits into from
Mar 31, 2017
Merged

Merge nodejs/master into xplat #206

merged 17 commits into from
Mar 31, 2017

Conversation

kfarnung
Copy link
Contributor

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

chakrashim,lib,test

seishun and others added 14 commits March 28, 2017 11:25
PR-URL: nodejs/node#11286
Fixes: nodejs/node#11244
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ron Korving <ron@ronkorving.nl>
The comment is outdated, function declarations have
nothing to do with defineProperties.

PR-URL: nodejs/node#12048
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
The additional validity checks applied to StartCom and WoSign
certificates failed to free memory before returning.

Refs: nodejs/node#9469
Fixes: nodejs/node#12033
PR-URL: nodejs/node#12089
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Shigeki Ohtsu <ohtsu@ohtsu.org>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Remove error message when a hex string of an incorrect length is sent
to .write() or .fill().

PR-URL: nodejs/node#12012
Fixes: nodejs/node#3770
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Add a comment to match lib/module.js, missed in #11958.

PR-URL: nodejs/node#12050
Ref: nodejs/node#11958
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Prefer `[Array]` over `[Object]` because the latter is confusing.

PR-URL: nodejs/node#12046
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Notable changes:

* buffer:
  - do not segfault on out-of-range index (Timothy Gu)
    nodejs/node#11927
* crypto:
  - Fix memory leak if certificate is revoked (Tom Atkinson)
    nodejs/node#12089
* deps:
  * upgrade npm to 4.2.0 (Kat Marchán)
    nodejs/node#11389
  * fix async await desugaring in V8 (Michaël Zasso)
    nodejs/node#12004
* readline:
  - add option to stop duplicates in history (Danny Nemer)
    nodejs/node#2982
* src:
  - add native URL class (James M Snell)
    nodejs/node#11801

PR-URL: nodejs/node#12104
PR-URL: nodejs/node#11048
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Expose the new serialization API that was added in V8 5.5 to userland.
The JS API is virtually a direct copy of what V8 provides on the
C++ level.

This is useful Node as a possible replacement for some internals
that currently use JSON, like IPC, but is likely to be useful to
general userland code as well.

PR-URL: nodejs/node#11048
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This change brings formatting specifiers available in `util.format` and
consequently, `console.*` closer to what is supported in all major
browsers.

- `%i` is introduced to format integer values.
- `%f` is introduced to format floating point values.

Fixes: nodejs/node#10292
PR-URL: nodejs/node#10308
Reviewed-By: James M Snell <jasnell@gmail.com>
Commit 9c9e2d7 changed the name of TypeFeedbackVector to
FeedbackVector but that commit did not update gdbinit. This applies the
changed to gdbinit from upstream V8.

Original commit message:

[gdbinit] Rename TypeFeedback* to Feedback*.

    BUG=

    Change-Id: I1e32fdcf9edda57f5de329c8b694620a5da4558b
    Reviewed-on: https://chromium-review.googlesource.com/442444
    Reviewed-by: Michael Stanton <mvstanton@chromium.org>
    Commit-Queue: Igor Sheludko <ishell@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#43185}

PR-URL: nodejs/node#12060
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
PR-URL: nodejs/node#11834
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Provides a factory method to convert a native URL class
into a JS URL object.

```c++
Environment* env = ...

URL url("http://example.org/a/b/c?query#fragment");

MaybeLocal<Value> val = url.ToObject(env);
```

PR-URL: nodejs/node#12056
Reviewed-By: Anna Henningsen <anna@addaleax.net>
- Clarify port state
- Remove scheme flag
- Clarify URL_FLAG_TERMINATED

PR-URL: nodejs/node#11917
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
@kfarnung kfarnung self-assigned this Mar 31, 2017
@kfarnung kfarnung changed the title Merge nodejs/4ddd23f0ec into xplat Merge nodejs/master into xplat Mar 31, 2017
@kfarnung
Copy link
Contributor Author

@kfarnung
Copy link
Contributor Author

@kunalspathak
Copy link
Member

LGTM

@kfarnung
Copy link
Contributor Author

@kfarnung
Copy link
Contributor Author

CI seems unstable, three CIs with completely different failures. The last retry failed to start running the tests on one machine. For machines that ran, all tests passed.

Merge 4ddd23f as of 2017-03-30

PR-URL: nodejs#206
Reviewed-By: Kunal Pathak <kpathak@microsoft.com>
* Added stub shims for SharedArrayBuffer, ValueSerializer, and
  ValueDeserializer
* Disabled failing serdes tests
* Updated v8-version.h to match V8's version

PR-URL: nodejs#206
Reviewed-By: Kunal Pathak <kpathak@microsoft.com>
* Fixed jslint issues in chakrashim and lib
* Fixed warnings in chakrashim
* Escaped the period characters in various regexes

PR-URL: nodejs#206
Reviewed-By: Kunal Pathak <kpathak@microsoft.com>
@kfarnung kfarnung merged commit 203bf79 into nodejs:xplat Mar 31, 2017
@kfarnung kfarnung deleted the xplat-merge branch March 31, 2017 22:40
@digitalinfinity
Copy link
Contributor

@joaocgreis is the instability in the CI expected?

@joaocgreis
Copy link
Member

The two tests that failed are flaky, they did not fail in other runs.

Tests failing to start happens from time to time, on all platforms, usually with a remote file operation failed or connection closed message (nodejs/build#173). This one was a little different, but the slave did not fail again so it might have been a temporary git network failure. Any how, that test subset was green on previous runs, so it was safe to land.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.