Skip to content

tools: add "icu::" namespace to ICU symbols - #18667

Merged
srl295 merged 0 commit into
nodejs:masterfrom
srl295:icu-add-using
Feb 10, 2018
Merged

tools: add "icu::" namespace to ICU symbols #18667
srl295 merged 0 commit into
nodejs:masterfrom
srl295:icu-add-using

Conversation

@srl295

@srl295srl295 commented Feb 9, 2018

Copy link
Copy Markdown
Member

In ICU 61.x, icu4c will no longer put its declarations in the global namespace.
Everything will be in the "icu::" namespace (or icu_60:: in the linker).
Prepare for this.

Upstream: https://ssl.icu-project.org/trac/ticket/13460

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

tools

@srl295srl295 added tools Issues and PRs related to the tools directory. i18n-api Issues and PRs related to the i18n implementation. labels Feb 9, 2018
@srl295srl295 self-assigned this Feb 9, 2018
@nodejs-github-botnodejs-github-bot added i18n-api Issues and PRs related to the i18n implementation. tools Issues and PRs related to the tools directory. labels Feb 9, 2018
@srl295

Copy link
Copy Markdown
MemberAuthor

ICU 61.0 (in progress) works unmodified with this change.

@TimothyGuTimothyGu 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.

The commit message needs to be revised. Otherwise LGTM.

Comment threadsrc/inspector_io.cc Outdated

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.

Long line, can you wrap this at 80 columns?

@srl295

Copy link
Copy Markdown
MemberAuthor

@bnoordhuis wrapped.

@TimothyGu yeah, scope changed as i was fixing it. Do you have a recommendation?

@TimothyGu

Copy link
Copy Markdown
Member

@srl295 Oh oops I meant the PR title. The commit message is already correct.

@TimothyGuTimothyGu changed the title tools: add "using namespace icu"tools: add "icu::" namespace to ICU symbols Feb 9, 2018

@jasnelljasnell 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.

nice. happy to see this.

@srl295

Copy link
Copy Markdown
MemberAuthor

@srl295srl295 closed this Feb 10, 2018
@srl295
srl295 merged commit b8f47b2 into nodejs:masterFeb 10, 2018
@srl295
srl295 deleted the icu-add-using branch February 10, 2018 02:10
@srl295srl295 mentioned this pull request Mar 26, 2018
3 tasks
@srl295

srl295 commented Mar 28, 2018

Copy link
Copy Markdown
MemberAuthor

@ilovezfs ^ label added as note to self… 

@ilovezfs

Copy link
Copy Markdown

Thanks @srl295!

srl295 added a commit to srl295/node that referenced this pull request Apr 3, 2018
- Update to released ICU 61.1, including:
- CLDR 33 (many new languages and data improvements)
- Many small API additions, improvements, and bug fixes
- note: 'icu::' namespace is no longer used by default
(Necessated nodejs#18667 )
PR-URL: nodejs#19621
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
targos pushed a commit that referenced this pull request Apr 3, 2018
- Update to released ICU 61.1, including:
- CLDR 33 (many new languages and data improvements)
- Many small API additions, improvements, and bug fixes
- note: 'icu::' namespace is no longer used by default
(Necessated #18667 )
PR-URL: #19621
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
kfarnung added a commit to kfarnung/ChakraCore that referenced this pull request Apr 9, 2018
ICU61 updated the value of `U_USING_ICU_NAMESPACE` to 0 by default. In
order to maintain compatibility this change updates our ICU includes to
match and adds the `icu::` namespace explicitly when needed.
Refs: nodejs/node#18667
Refs: https://ssl.icu-project.org/trac/ticket/13460
kfarnung added a commit to kfarnung/node-chakracore that referenced this pull request Apr 9, 2018
ICU61 updated the value of `U_USING_ICU_NAMESPACE` to 0 by default. In
order to maintain compatibility this change updates our ICU includes to
match and adds the `icu::` namespace explicitly when needed.
Refs: nodejs/node#18667
Refs: https://ssl.icu-project.org/trac/ticket/13460
chakrabot pushed a commit to chakra-core/ChakraCore that referenced this pull request Apr 9, 2018
Merge pull request #4952 from kfarnung:icu61
ICU61 updated the value of `U_USING_ICU_NAMESPACE` to 0 by default. In
order to maintain compatibility this change updates our ICU includes to
match and adds the `icu::` namespace explicitly when needed.
Refs: nodejs/node#18667
Refs: https://ssl.icu-project.org/trac/ticket/13460
chakrabot pushed a commit to nodejs/node-chakracore that referenced this pull request Apr 9, 2018
[MERGE #4952 @kfarnung] Set `U_USING_ICU_NAMESPACE` to 0 by default
Merge pull request #4952 from kfarnung:icu61
ICU61 updated the value of `U_USING_ICU_NAMESPACE` to 0 by default. In
order to maintain compatibility this change updates our ICU includes to
match and adds the `icu::` namespace explicitly when needed.
Refs: nodejs/node#18667
Refs: https://ssl.icu-project.org/trac/ticket/13460
Reviewed-By: chakrabot <chakrabot@users.noreply.github.com>
chakrabot pushed a commit to chakra-core/ChakraCore that referenced this pull request Apr 9, 2018
… by default
Merge pull request #4952 from kfarnung:icu61
ICU61 updated the value of `U_USING_ICU_NAMESPACE` to 0 by default. In
order to maintain compatibility this change updates our ICU includes to
match and adds the `icu::` namespace explicitly when needed.
Refs: nodejs/node#18667
Refs: https://ssl.icu-project.org/trac/ticket/13460
chakrabot pushed a commit to nodejs/node-chakracore that referenced this pull request Apr 9, 2018
[1.9>master] [MERGE #4952 @kfarnung] Set `U_USING_ICU_NAMESPACE` to 0 by default
Merge pull request #4952 from kfarnung:icu61
ICU61 updated the value of `U_USING_ICU_NAMESPACE` to 0 by default. In
order to maintain compatibility this change updates our ICU includes to
match and adds the `icu::` namespace explicitly when needed.
Refs: nodejs/node#18667
Refs: https://ssl.icu-project.org/trac/ticket/13460
Reviewed-By: chakrabot <chakrabot@users.noreply.github.com>
kfarnung added a commit to nodejs/node-chakracore that referenced this pull request Apr 10, 2018
[MERGE #4952 @kfarnung] Set `U_USING_ICU_NAMESPACE` to 0 by default
Merge pull request #4952 from kfarnung:icu61
ICU61 updated the value of `U_USING_ICU_NAMESPACE` to 0 by default. In
order to maintain compatibility this change updates our ICU includes to
match and adds the `icu::` namespace explicitly when needed.
Refs: nodejs/node#18667
Refs: https://ssl.icu-project.org/trac/ticket/13460
Reviewed-By: chakrabot <chakrabot@users.noreply.github.com>
@ArchangeGabriel

Copy link
Copy Markdown

What is the status for the v8.x backport?

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n-apiIssues and PRs related to the i18n implementation.toolsIssues and PRs related to the tools directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@srl295@TimothyGu@ilovezfs@ArchangeGabriel@bnoordhuis@jasnell@BridgeAR@nodejs-github-bot