Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 1 commit into from

Conversation

jasnell
Copy link
Member

@jasnell jasnell commented Mar 16, 2020

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 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 jasnell force-pushed the cleanup-streambase branch from 0f6ef69 to ac42fe6 Compare March 16, 2020 21:15
@jasnell jasnell requested review from addaleax and tniessen March 16, 2020 21:15
@nodejs-github-bot
Copy link
Collaborator

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

@jasnell jasnell added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Mar 17, 2020
@jasnell
Copy link
Member Author

jasnell commented Mar 19, 2020

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

@@ -46,8 +46,10 @@ using v8::HandleScope;
using v8::Local;
using v8::MaybeLocal;
using v8::Object;
using v8::PropertyAttribute;
Copy link
Member

Choose a reason for hiding this comment

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

addtional for quic?

Copy link
Member Author

Choose a reason for hiding this comment

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

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

Copy link
Member

@gengjiawen gengjiawen left a comment

Choose a reason for hiding this comment

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

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
Copy link
Member Author

jasnell commented Mar 19, 2020

Landed in ffdf1de

@jasnell 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 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 targos added backport-blocked-v12.x and removed author ready PRs that have at least one approval, no pending requests for changes, and a CI started. backport-blocked-v12.x labels Apr 22, 2020
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