Skip to content

Conversation

@jasnell
Copy link
Member

@jasnell jasnell commented Mar 23, 2020

Starting some cleanup/refactoring of node_i18n

  • Refactor Converter and ConverterObject definitions
    • Move definitions to node_i18n.h
    • Introduce a new utility functions for better encapsulation
    • Adhere closer to c++ style guide
    • Simplify some state tracking
    • Use std::unique_ptr for cleanup
Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Mar 23, 2020
@jasnell jasnell requested review from addaleax and joyeecheung March 23, 2020 18:50
@nodejs-github-bot
Copy link
Collaborator

@joyeecheung
Copy link
Member

joyeecheung commented Mar 24, 2020

Can you add some high-level description in the OP or the commit message? I can see that there are some helper class added and class definition separated but not sure if they are meant to be copied verbatim or is there something else intended

@jasnell
Copy link
Member Author

jasnell commented Mar 24, 2020

@joyeecheung:

Can you add some high-level description in the OP or the commit message

Done :-)

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@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 29, 2020
Signed-off-by: James M Snell <jasnell@gmail.com>
jasnell added a commit that referenced this pull request Mar 30, 2020
Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: #32438
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
@jasnell
Copy link
Member Author

jasnell commented Mar 30, 2020

Landed in accc984

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

PR-URL: #32438
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Joyee Cheung <joyeec9h3@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
targos pushed a commit to targos/node that referenced this pull request Apr 25, 2020
Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: nodejs#32438
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
targos pushed a commit that referenced this pull request Apr 28, 2020
Signed-off-by: James M Snell <jasnell@gmail.com>

PR-URL: #32438
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
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++.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants