FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

src: clean up stream_base.h and stream-base-inl.h by jasnell · Pull Request #32307 · nodejs/node · GitHub

/ node Public

src: clean up stream_base.h and stream-base-inl.h - #32307

Closed
jasnell wants to merge 1 commit into
nodejs:masterfrom
jasnell:cleanup-streambase
Closed

src: clean up stream_base.h and stream-base-inl.h#32307
jasnell wants to merge 1 commit into
nodejs:masterfrom
jasnell:cleanup-streambase

Conversation

jasnell commented Mar 16, 2020

Copy link
Copy Markdown
Member

stream_base.h and stream_base-inl.h have always been a bit of a mess with regards to inlines, v8:: scopes, and more. This is the first step at a cleanup.

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

nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. labels Mar 16, 2020
jasnell force-pushed the cleanup-streambase branch from 0f6ef69 to ac42fe6 Compare March 16, 2020 21:15
jasnell requested review from addaleax and tniessen March 16, 2020 21:15

Copy link
Copy Markdown
Collaborator

Signed-off-by: James M Snell <jasnell@gmail.com>
jasnell force-pushed the cleanup-streambase branch from ff51b55 to 098cbcf Compare March 16, 2020 21:39

Copy link
Copy Markdown
Collaborator

jasnell added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Mar 17, 2020

jasnell commented Mar 19, 2020

Copy link
Copy Markdown
Member Author

@nodejs/collaborators would be awesome to get another review on this one if possible.

Comment thread src/stream_wrap.cc
using v8::Local;
using v8::MaybeLocal;
using v8::Object;
using v8::PropertyAttribute;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

addtional for quic?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

No, there's one use of PropertyAttribute elsewhere in the file. This was previously being inherited from the stream_base.h headers.

gengjiawen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

lgtm

jasnell added a commit that referenced this pull request Mar 19, 2020
Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: #32307
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>

jasnell commented Mar 19, 2020

Copy link
Copy Markdown
Member Author

Landed in ffdf1de

jasnell closed this Mar 19, 2020
MylesBorins pushed a commit that referenced this pull request Mar 19, 2020
Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: #32307
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
MylesBorins mentioned this pull request Mar 19, 2020
MylesBorins pushed a commit that referenced this pull request Mar 24, 2020
Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: #32307
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
targos added backport-blocked-v12.x and removed author ready PRs that have at least one approval, no outstanding review comments, and a CI started. backport-blocked-v12.x labels Apr 22, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL