Skip to content

Conversation

@evanlucas
Copy link
Contributor

If i18n support is present, add the icu version
to process.versions

Fixes: #3089

R= @silverwind / @srl295 ?

@evanlucasevanlucas added c++ Issues and PRs that require attention from people who are familiar with C++. i18n-api Issues and PRs related to the i18n implementation. labels Sep 28, 2015
src/node.cc Outdated
Copy link
Member

Choose a reason for hiding this comment

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

I think this should be unicode/uversion.h?

Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

Ah good call

Copy link
Member

Choose a reason for hiding this comment

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

@evanlucas
Copy link
ContributorAuthor

@evanlucas
Copy link
ContributorAuthor

Ah, linter wasn't happy. Fixed

@evanlucas
Copy link
ContributorAuthor

@srl295
Copy link
Member

.. But otherwise +1 and lgtm- I actually wondered about this before.

There are other versions here: Unicode, time zone, cldr data. Only Unicode
version is a constant, the other 2 are dynamic (I.e: load everything).

@orangemocha
Copy link
Contributor

The last CI run had some issues (nodejs/build#204) on ARM unrelated to this change.

New CI run: https://ci.nodejs.org/job/node-test-pull-request/394/

@evanlucas
Copy link
ContributorAuthor

Updated to use unicode/uvernum.h

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

@Fishrock123
Copy link
Contributor

SGTM

@silverwind
Copy link
Contributor

Looks to be working great, thanks. Could you also update the example in the docs?

@evanlucas
Copy link
ContributorAuthor

Updated docs as well

Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure that comment is necessary. Strictly speaking, it'd also have to be there for openssl. I'd remove it, given that the default is to build with ICU now.

Copy link
Member

Choose a reason for hiding this comment

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

"default" is slightly misleading here. Just calling ./configure won't install ICU, but the [default] release builds you download and use will.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah, of course I mean the user-facing 'default' ;)

Copy link
Member

Choose a reason for hiding this comment

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

i agree re openssl, just removing the comment will probably be the best scenario.

@silverwind
Copy link
Contributor

LGTM

@srl295
Copy link
Member

LGTM here also

@evanlucas
Copy link
ContributorAuthor

Awesome. Will land tomorrow if there are no objections :]

@rvagg
Copy link
Member

lgtm

@rvaggrvagg added the semver-minor PRs that contain new features and should be released in the next minor version. label Sep 29, 2015
@rvagg
Copy link
Member

tagged as semver-minor, any objections?

@evanlucas
Copy link
ContributorAuthor

works for me :]

If i18n support is present, add the icu version to process.versions Fixes: nodejs#3089 PR-URL: nodejs#3102 Reviewed-By: Steven R Loomis <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
@evanlucasevanlucas merged commit 30b8bb0 into nodejs:masterSep 29, 2015
@evanlucas
Copy link
ContributorAuthor

Thanks! Landed in 30b8bb0

@silverwind
Copy link
Contributor

By the way: How do you mark your manual commits as merged on Github?

@evanlucas
Copy link
ContributorAuthor

The branch for this one was addicu

$ git remote -v mine [email protected]:evanlucas/io.js (fetch) mine [email protected]:evanlucas/io.js (push) origin [email protected]:nodejs/io.js (fetch) origin [email protected]:nodejs/io.js (push) $ git push mine +HEAD:addicu && git push origin master && git push mine :addicu 

@silverwind
Copy link
Contributor

I'll try that next time, thanks. Won't work for PRs where others are the author, I assume?

@evanlucas
Copy link
ContributorAuthor

I don't believe so. I haven't been able to anyways

@jbergstroem
Copy link
Member

@silverwind if you force-push the (final) commit to the branch a PR is tracking GH will mark the branch as merged when you fast-forward and push to master.

@rvaggrvagg mentioned this pull request Sep 30, 2015
@jasnelljasnell mentioned this pull request Oct 8, 2015
29 tasks
evanlucas added a commit that referenced this pull request Oct 8, 2015
If i18n support is present, add the icu version to process.versions Fixes: #3089 PR-URL: #3102 Reviewed-By: Steven R Loomis <[email protected]> Reviewed-By: Roman Reiss <[email protected]> Reviewed-By: Rod Vagg <[email protected]>
jasnell added a commit that referenced this pull request Oct 12, 2015
The first Node.js LTS release! See https://github.com/nodejs/LTS/ for details of the LTS process. * **icu**: Updated to version 56 with significant performance improvements (Steven R. Loomis) #3281 * **node**: - Added new `-c` (or `--check`) command line argument for checking script syntax without executing the code (Dave Eddy) #2411 - Added `process.versions.icu` to hold the current ICU library version (Evan Lucas) #3102 - Added `process.release.lts` to hold the current LTS codename when the binary is from an active LTS release line (Rod Vagg) #3212 * **npm**: Upgraded to npm 2.14.7 from 2.14.4, see release notes: https://github.com/npm/npm/releases/tag/v2.14.7 for full details (Kat Marchán) #3299 PR-URL: #3258
jasnell added a commit that referenced this pull request Oct 12, 2015
The first Node.js LTS release! See https://github.com/nodejs/LTS/ for details of the LTS process. * **icu**: Updated to version 56 with significant performance improvements (Steven R. Loomis) #3281 * **node**: - Added new `-c` (or `--check`) command line argument for checking script syntax without executing the code (Dave Eddy) #2411 - Added `process.versions.icu` to hold the current ICU library version (Evan Lucas) #3102 - Added `process.release.lts` to hold the current LTS codename when the binary is from an active LTS release line (Rod Vagg) #3212 * **npm**: Upgraded to npm 2.14.7 from 2.14.4, see release notes: https://github.com/npm/npm/releases/tag/v2.14.7 for full details (Kat Marchán) #3299 PR-URL: #3258
jasnell added a commit that referenced this pull request Oct 12, 2015
The first Node.js LTS release! See https://github.com/nodejs/LTS/ for details of the LTS process. * **icu**: Updated to version 56 with significant performance improvements (Steven R. Loomis) #3281 * **node**: - Added new `-c` (or `--check`) command line argument for checking script syntax without executing the code (Dave Eddy) #2411 - Added `process.versions.icu` to hold the current ICU library version (Evan Lucas) #3102 - Added `process.release.lts` to hold the current LTS codename when the binary is from an active LTS release line (Rod Vagg) #3212 * **npm**: Upgraded to npm 2.14.7 from 2.14.4, see release notes: https://github.com/npm/npm/releases/tag/v2.14.7 for full details (Kat Marchán) #3299 PR-URL: #3258
jasnell added a commit that referenced this pull request Oct 12, 2015
The first Node.js LTS release! See https://github.com/nodejs/LTS/ for details of the LTS process. * **icu**: Updated to version 56 with significant performance improvements (Steven R. Loomis) #3281 * **node**: - Added new `-c` (or `--check`) command line argument for checking script syntax without executing the code (Dave Eddy) #2411 - Added `process.versions.icu` to hold the current ICU library version (Evan Lucas) #3102 - Added `process.release.lts` to hold the current LTS codename when the binary is from an active LTS release line (Rod Vagg) #3212 * **npm**: Upgraded to npm 2.14.7 from 2.14.4, see release notes: https://github.com/npm/npm/releases/tag/v2.14.7 for full details (Kat Marchán) #3299 PR-URL: #3258
@MylesBorins
Copy link
Contributor

landed in v4.x-staging in 7271cb0

Sign up for freeto 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++.i18n-apiIssues and PRs related to the i18n implementation.semver-minorPRs that contain new features and should be released in the next minor version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@evanlucas@srl295@orangemocha@Fishrock123@silverwind@rvagg@jbergstroem@MylesBorins@bnoordhuis@jasnell