Skip to content

Conversation

@srl295
Copy link
Member

  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

src

Description of change
  • toLocaleUpperCase() and toLocaleLowerCase() do not function properly
    without this flag.
  • basic test case. The test case would fail if --no_icu_case_mapping
    was set.

Fixes: #9445

@nodejs-github-botnodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Nov 3, 2016
@srl295srl295 self-assigned this Nov 3, 2016
@srl295srl295 added the semver-minor PRs that contain new features and should be released in the next minor version. label Nov 3, 2016
@mscdexmscdex added i18n-api Issues and PRs related to the i18n implementation. v8 engine Issues and PRs related to the V8 dependency. labels Nov 3, 2016
Copy link
Member

@bnoordhuisbnoordhuis left a comment

Choose a reason for hiding this comment

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

LGTM with a style nit

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.

Can you capitalize the comment?

@srl295
Copy link
MemberAuthor

@evanlucas also said

I wonder if we could just bake that flag in to node.gyp

@srl295
Copy link
MemberAuthor

srl295 commented Nov 4, 2016

I don't know why the linter is failing in the automated build. Can't reproduce… any ideas @nodejs/build ?

$ make lint-ci ./node tools/jslint.js -f tap -o test-eslint.tap \ benchmark lib test tools Total errors found: 0 

update seems to be working now.

* toLocaleUpperCase() and toLocaleLowerCase() do not function properly without this flag. * basic test case. The test case would fail if `--no_icu_case_mapping` was set. Fixes: nodejs#9445 PR-URL: nodejs#9454 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
@srl295srl295force-pushed the default_icu_case_mapping branch from a5c90e8 to 0d71729CompareNovember 4, 2016 15:55
@bnoordhuis
Copy link
Member

I wonder if we could just bake that flag in to node.gyp

Could for sure, but we don't do that for other flags.

@srl295
Copy link
MemberAuthor

Landed in 1a55e9a

@srl295srl295 closed this Nov 4, 2016
@srl295srl295 deleted the default_icu_case_mapping branch November 4, 2016 16:50
srl295 added a commit that referenced this pull request Nov 4, 2016
* toLocaleUpperCase() and toLocaleLowerCase() do not function properly without this flag. * basic test case. The test case would fail if `--no_icu_case_mapping` was set. Fixes: #9445 PR-URL: #9454 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
evanlucas pushed a commit that referenced this pull request Nov 7, 2016
* toLocaleUpperCase() and toLocaleLowerCase() do not function properly without this flag. * basic test case. The test case would fail if `--no_icu_case_mapping` was set. Fixes: #9445 PR-URL: #9454 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Ben Noordhuis <[email protected]>
@evanlucasevanlucas mentioned this pull request Nov 7, 2016
@MylesBorins
Copy link
Contributor

MylesBorins commented May 15, 2017

landed this on v6.x and got the error "Error: unrecognized flag --icu_case_mapping"

not landing for now. LMK if we should consider it

@srl295
Copy link
MemberAuthor

@MylesBorins no, incompatible with older v8. And new v8 :)

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.v8 engineIssues and PRs related to the V8 dependency.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@srl295@bnoordhuis@MylesBorins@jasnell@mscdex@gibfahn@nodejs-github-bot