Skip to content

ICU-20665 Removing number-dependence from ICU4C FormattedStringBuilder fields. - #727

Merged
sffc merged 1 commit into
unicode-org:masterfrom
sffc:ICU-20665-fsb
Jan 17, 2020
Merged

sffc merged 1 commit into
unicode-org:masterfrom
sffc:ICU-20665-fsb

Conversation

@sffc

@sffc sffc commented Aug 4, 2019

Copy link
Copy Markdown
Member
Checklist

@sffc sffc added the incomplete Needs work; do not approve/merge as is. label Aug 4, 2019
@jira-pull-request-webhook

Copy link
Copy Markdown

Hooray! The files in the branch are the same across the force-push. 😃

~ Your Friendly Jira-GitHub PR Checker Bot

@sffc

This comment has been minimized.

@sffc
sffc requested review from echeran and pedberg-icu and removed request for pedberg-icu October 8, 2019 02:25
@sffc sffc removed the incomplete Needs work; do not approve/merge as is. label Oct 8, 2019
@sffc

sffc commented Oct 8, 2019

Copy link
Copy Markdown
Member Author

@echeran Assigning this to you for code review. See the ticket for background.

@sffc sffc changed the title Initial steps toward cleaning up number field category. ICU-20665 Removing number-dependence from ICU4C FormattedStringBuilder fields. Oct 8, 2019
@sffc

sffc commented Oct 8, 2019

Copy link
Copy Markdown
Member Author

Note: the "main" files to look at are formatted_string_builder.h and formattedval_sbimpl.cpp.

@sffc

sffc commented Nov 6, 2019

Copy link
Copy Markdown
Member Author

Ping. Almost forgot this was still open and almost deleted the branch...

echeran
echeran previously approved these changes Nov 17, 2019
@sffc

sffc commented Nov 18, 2019

Copy link
Copy Markdown
Member Author

Looks like I need to update another call site after the merge from master. I'll take a look tomorrow.

@sffc

sffc commented Nov 22, 2019

Copy link
Copy Markdown
Member Author

OK, the builds are clean.

@sffc
sffc requested a review from echeran November 22, 2019 02:46
@sffc

sffc commented Jan 13, 2020

Copy link
Copy Markdown
Member Author

Hello?

echeran
echeran previously approved these changes Jan 13, 2020

@echeran echeran left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@jira-pull-request-webhook

Copy link
Copy Markdown

Hooray! The files in the branch are the same across the force-push. 😃

~ Your Friendly Jira-GitHub PR Checker Bot

@sffc

sffc commented Jan 14, 2020

Copy link
Copy Markdown
Member Author

Squashed. PTAL

@sffc
sffc requested a review from echeran January 14, 2020 10:57

@echeran echeran left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

There are CI errors in C++ for {macOS, Linux} from the warnings-as-errors builds. Do these need to be fixed?

@sffc

sffc commented Jan 14, 2020

Copy link
Copy Markdown
Member Author

Indeed, those are new. The images must be updated with new 2020 warnings. I'll take a look.

Comment thread icu4c/source/common/uassert.h Outdated
#if U_DEBUG
# include <assert.h>
# define U_ASSERT(exp) assert(exp)
#elif __cplusplus

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.

Could this be something like:
#elif (U_CPLUSPLUS_VERSION > 0)
to avoid the warning maybe?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Thanks, good idea! Let's see if this works...

#elif U_CPLUSPLUS_VERSION

@jira-pull-request-webhook

Copy link
Copy Markdown

Notice: the branch changed across the force-push!

  • icu4c/source/common/uassert.h is different

View Diff Across Force-Push

~ Your Friendly Jira-GitHub PR Checker Bot

@sffc

sffc commented Jan 16, 2020

Copy link
Copy Markdown
Member Author

Looks like tests are passing. The code has already been reviewed. Can someone stamp the PR?

@sffc
sffc merged commit 8c717b5 into unicode-org:master Jan 17, 2020
@sffc
sffc deleted the ICU-20665-fsb branch January 17, 2020 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants