This repository was archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Remove OSX Homebrew ICU dependency #1851
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
4c64b92
Remove use of ICU C++ Calendar class
ellismg 894c6cc
Convert DateTimePatternGenerator usage to C
ellismg 9945e4f
Convert DateFormat to UDateFormat
ellismg 39edeba
Remove use of ICU C++ DateFormatSymbols
ellismg 3029f76
Remove use of ICU C++ NumberFormat class
ellismg dc4b128
Remove ICU C++ LocaleDisplayNames
ellismg 47b624f
Remove useage of ICU C++ DecimalFormatSymbols
ellismg d77e6b4
Remove use of ICU C++ DateFormatSymbols
ellismg 3ffad1c
Get Eras using ICU C API instead of C++
ellismg 1f60ac7
Remove C++ Locale use in EnumSymbols
ellismg 6427d1f
Move off Locale instance methods
ellismg 0b3b276
Remove use of icu::Locale C++ type
ellismg b3efdce
Cleanup include directives
ellismg 806dea8
Hygine cleanups in holders.h
ellismg f17e90c
Link against libicucore on OSX
ellismg 26e8747
Use std::vector instead of calloc
ellismg 036964e
Use correct close function for UNumberFormat
ellismg 398dc12
Fix spelling issues
ellismg 392f5f4
Cleanup CMakeLists.txt
ellismg File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@nguerrera suggested that I use #if's instead of #ifdef's in in the Globalization code. Using a cmake.configure and configure.h.in files make this really easy. See dotnet/corefx@61bcd09#diff-7bd8c3c1f0189b08e03c9050bca3dc61L18 for how I did it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I will need to look into this a little bit more, I have refactored the CMakeLists.txt a bit so that on Darwin we don't probe headers for UDAT_STANDALONE_SHORTER_WEEKDAYS, not sure if that prevents me from doing this or not. I'll investigate and do a follow-up PR if needed.