GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — http2: rename http2_state class to Http2State by danbev · Pull Request #20423 · nodejs/node

Conversation

@danbev

@danbev danbev commented Apr 30, 2018

Copy link
Copy Markdown
Contributor

This commit renames the http2_state class to follow the guidelines in
CPP_STYLE_GUIDE.md.

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bricss reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@danbev
http2: rename http2_state class to Http2State
6e7dbe0
This commit renames the http2_state class to follow the guidelines in
CPP_STYLE_GUIDE.md.
@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 involving general changes in the lib/ or src/ directories. labels Apr 30, 2018
@danbev

danbev commented Apr 30, 2018

Copy link
Copy Markdown
Contributor Author

CI: https://ci.nodejs.org/job/node-test-pull-request/14598/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

addaleax
addaleax approved these changes Apr 30, 2018
View reviewed changes

@addaleax addaleax left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

SGTM, but maybe we should note in the style guide that for C-like plain structs we tend to follow snake_case style, e.g. struct http2_state_internal?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@danbev

danbev commented May 1, 2018

Copy link
Copy Markdown
Contributor Author

SGTM, but maybe we should note in the style guide that for C-like plain structs we tend to follow snake_case style, e.g. struct http2_state_internal?

Sounds good, I'll add a suggestion for this. Thanks.

addaleax reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@danbev

danbev commented May 2, 2018

Copy link
Copy Markdown
Contributor Author
node-test-commit-arm-fanned failure looks unrelated

console output:

09:53:55 not ok 303 sequential/test-net-GH-5504
09:53:55   ---
09:53:55   duration_ms: 240.39
09:53:55   severity: fail
09:53:55   exitcode: -15
09:53:55   stack: |-
09:53:55     timeout
09:53:55     SERVER 1>listening
09:53:55     SERVER 2>NET 24180: setupListenHandle 127.0.0.1 12346 4 false undefined
09:53:55     SERVER 2>NET 24180: setupListenHandle: create a handle
09:53:55     SERVER 2>NET 24180: bind to 127.0.0.1
09:53:55     CLIENT 2>NET 24186: createConnection [ { host: '127.0.0.1', port: 12346 },
09:53:55     CLIENT 2>  [Function],
09:53:55     CLIENT 2>  [Symbol(normalizedArgs)]: true ]
09:53:55     CLIENT 2>NET 24186: pipe false undefined
09:53:55     SERVER 2>NET 24180: onconnection
09:53:55     CLIENT 2>NET 24186: afterConnect
09:53:55     SERVER 2>NET 24180: _read
09:53:55     SERVER 2>NET 24180: Socket._read readStart
09:53:55     SERVER 2>NET 24180: SERVER _emitCloseIfDrained
09:53:55     SERVER 2>NET 24180: SERVER handle? false   connections? 1
09:53:55     CLIENT 2>NET 24186: destroy
09:53:55     CLIENT 2>NET 24186: close
09:53:55     CLIENT 2>NET 24186: close handle
09:53:55     CLIENT 2>NET 24186: _read
09:53:55     CLIENT 2>NET 24186: _read wait for connection
09:53:55     CLIENT 2>NET 24186: emit close
09:53:55   ...
node-test-linux-linked-openssl110 failure looks unrelated

console output:

09:52:55 not ok 174 parallel/test-child-process-spawnsync-kill-signal
09:52:55   ---
09:52:55   duration_ms: 0.691
09:52:55   severity: fail
09:52:55   exitcode: 1
09:52:55   stack: |-
09:52:55     assert.js:77
09:52:55       throw new AssertionError(obj);
09:52:55       ^
09:52:55     
09:52:55     AssertionError [ERR_ASSERTION]: Input A expected to strictly equal input B:
09:52:55     + expected - actual
09:52:55     
09:52:55     - 'SIGSEGV'
09:52:55     + 'SIGTERM'
09:52:55         at Object.<anonymous> (/home/iojs/build/workspace/node-test-commit-linux-containered/nodes/ubuntu1604_sharedlibs_openssl110_x64/test/parallel/test-child-process-spawnsync-kill-signal.js:42:12)
09:52:55         at Module._compile (internal/modules/cjs/loader.js:678:30)
09:52:55         at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
09:52:55         at Module.load (internal/modules/cjs/loader.js:589:32)
09:52:55         at tryModuleLoad (internal/modules/cjs/loader.js:528:12)
09:52:55         at Function.Module._load (internal/modules/cjs/loader.js:520:3)
09:52:55         at Function.Module.runMain (internal/modules/cjs/loader.js:719:10)
09:52:55         at startup (internal/bootstrap/node.js:229:19)
09:52:55         at bootstrapNodeJSCore (internal/bootstrap/node.js:577:3)
09:52:55   ...
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@danbev
doc: add snake_case section for C-like structs
230cf8a
This commit adds a section mentioning that for C-like structs it is
alright to use snake_case.

Refs: nodejs#20423
@addaleax

addaleax commented May 6, 2018

Copy link
Copy Markdown
Member

Thanks! Landed in 2c5b94f, c8f8847

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@addaleax addaleax closed this May 6, 2018
addaleax pushed a commit that referenced this pull request May 6, 2018
@danbev @addaleax
http2: rename http2_state class to Http2State
2c5b94f
This commit renames the http2_state class to follow the guidelines in
CPP_STYLE_GUIDE.md.

PR-URL: #20423
Reviewed-By: Anna Henningsen <[email protected]>
addaleax pushed a commit that referenced this pull request May 6, 2018
@danbev @addaleax
doc: add snake_case section for C-like structs
c8f8847
This commit adds a section mentioning that for C-like structs it is
alright to use snake_case.

PR-URL: #20423
Reviewed-By: Anna Henningsen <[email protected]>
MylesBorins pushed a commit that referenced this pull request May 8, 2018
@danbev @MylesBorins
http2: rename http2_state class to Http2State
755e88f
This commit renames the http2_state class to follow the guidelines in
CPP_STYLE_GUIDE.md.

PR-URL: #20423
Reviewed-By: Anna Henningsen <[email protected]>
MylesBorins pushed a commit that referenced this pull request May 8, 2018
@danbev @MylesBorins
doc: add snake_case section for C-like structs
59ed6c0
This commit adds a section mentioning that for C-like structs it is
alright to use snake_case.

PR-URL: #20423
Reviewed-By: Anna Henningsen <[email protected]>
@MylesBorins MylesBorins mentioned this pull request May 8, 2018
v10.1.0 proposal #20606
Merged
MylesBorins pushed a commit that referenced this pull request May 8, 2018
@danbev @MylesBorins
http2: rename http2_state class to Http2State
a438d25
This commit renames the http2_state class to follow the guidelines in
CPP_STYLE_GUIDE.md.

PR-URL: #20423
Reviewed-By: Anna Henningsen <[email protected]>
MylesBorins pushed a commit that referenced this pull request May 8, 2018
@danbev @MylesBorins
doc: add snake_case section for C-like structs
972b94e
This commit adds a section mentioning that for C-like structs it is
alright to use snake_case.

PR-URL: #20423
Reviewed-By: Anna Henningsen <[email protected]>
MylesBorins pushed a commit that referenced this pull request May 9, 2018
@danbev @MylesBorins
http2: rename http2_state class to Http2State
6acefc3
This commit renames the http2_state class to follow the guidelines in
CPP_STYLE_GUIDE.md.

PR-URL: #20423
Reviewed-By: Anna Henningsen <[email protected]>
MylesBorins pushed a commit that referenced this pull request May 9, 2018
@danbev @MylesBorins
doc: add snake_case section for C-like structs
018b5ad
This commit adds a section mentioning that for C-like structs it is
alright to use snake_case.

PR-URL: #20423
Reviewed-By: Anna Henningsen <[email protected]>
kjin pushed a commit to kjin/node that referenced this pull request Aug 23, 2018
@danbev @kjin
http2: rename http2_state class to Http2State
c986850
This commit renames the http2_state class to follow the guidelines in
CPP_STYLE_GUIDE.md.

PR-URL: nodejs#20423
Reviewed-By: Anna Henningsen <[email protected]>
kjin pushed a commit to kjin/node that referenced this pull request Sep 11, 2018
@danbev @kjin
http2: rename http2_state class to Http2State
c250962
This commit renames the http2_state class to follow the guidelines in
CPP_STYLE_GUIDE.md.

PR-URL: nodejs#20423
Reviewed-By: Anna Henningsen <[email protected]>
kjin pushed a commit to kjin/node that referenced this pull request Sep 19, 2018
@danbev @kjin
http2: rename http2_state class to Http2State
c6d5b05
This commit renames the http2_state class to follow the guidelines in
CPP_STYLE_GUIDE.md.

PR-URL: nodejs#20423
Reviewed-By: Anna Henningsen <[email protected]>
kjin pushed a commit to kjin/node that referenced this pull request Oct 16, 2018
@danbev @kjin
http2: rename http2_state class to Http2State
ce96ad0
This commit renames the http2_state class to follow the guidelines in
CPP_STYLE_GUIDE.md.

PR-URL: nodejs#20423
Reviewed-By: Anna Henningsen <[email protected]>
BethGriggs pushed a commit that referenced this pull request Oct 17, 2018
@danbev @BethGriggs
http2: rename http2_state class to Http2State
395ce84
This commit renames the http2_state class to follow the guidelines in
CPP_STYLE_GUIDE.md.

Backport-PR-URL: #22850
PR-URL: #20423
Reviewed-By: Anna Henningsen <[email protected]>
@BethGriggs BethGriggs mentioned this pull request Oct 30, 2018
v8.13.0 proposal #23974
Merged
@beevelop beevelop mentioned this pull request Nov 20, 2018
2018-11-20 Version 8.13.0 'Carbon' (LTS) @MylesBorins prepared by @BethGriggs beevelop/docker-android-nodejs#250
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@addaleax addaleax addaleax approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

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

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@danbev @addaleax @nodejs-github-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.