Skip to content

Commit

Permalink
[make] refresh the library scaffolding
Browse files Browse the repository at this point in the history
- updates the bindings
- updates the coverage report

Issue google#141
  • Loading branch information
filmil committed Jul 17, 2020
1 parent 41aa84b commit de9c4b5
Show file tree
Hide file tree
Showing 11 changed files with 110 additions and 19 deletions.
3 changes: 2 additions & 1 deletion build/showprogress.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ C_API_HEADER_NAMES=(
"uformattable"
"ulistformatter"
"uloc"
"upluralrules"
"umsg"
"unum"
"upluralrules"
"ustring"
"utext"
)
Expand Down
64 changes: 51 additions & 13 deletions coverage/report.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
| `uformattable.h` | 7 / 13 |
| `ulistformatter.h` | 2 / 8 |
| `uloc.h` | 19 / 42 |
| `upluralrules.h` | 3 / 7 |
| `umsg.h` | 6 / 20 |
| `unum.h` | 17 / 31 |
| `upluralrules.h` | 3 / 7 |
| `ustring.h` | 3 / 61 |
| `utext.h` | 3 / 28 |
# Unimplemented functions per header
Expand Down Expand Up @@ -282,18 +283,6 @@
| `uloc_setKeywordValue` | |
| `uloc_toLegacyType` | |

# Header: `upluralrules.h`

| Unimplemented | Implemented |
| ------------- | ----------- |
| | `uplrules_getKeywords` |
| | `uplrules_openForType` |
| | `uplrules_select` |
| `uplrules_close` | |
| `uplrules_open` | |
| `uplrules_selectFormatted` | |
| `uplrules_selectWithFormat` | |

# Header: `umsg.h`

| Unimplemented | Implemented |
Expand All @@ -320,6 +309,55 @@
| `u_vparseMessage` | |
| `u_vparseMessageWithError` | |

# Header: `unum.h`

| Unimplemented | Implemented |
| ------------- | ----------- |
| | `$function_name` |
| | `unum_clone` |
| | `unum_close` |
| | `unum_formatDecimal` |
| | `unum_formatDoubleCurrency` |
| | `unum_formatDoubleForFields` |
| | `unum_formatUFormattable` |
| | `unum_getAttribute` |
| | `unum_getAvailable` |
| | `unum_getSymbol` |
| | `unum_getTextAttribute` |
| | `unum_open` |
| | `unum_parseToUFormattable` |
| | `unum_setAttribute` |
| | `unum_setSymbol` |
| | `unum_setTextAttribute` |
| | `unum_toPattern` |
| `unum_applyPattern` | |
| `unum_countAvailable` | |
| `unum_format` | |
| `unum_formatDouble` | |
| `unum_formatInt64` | |
| `unum_getContext` | |
| `unum_getDoubleAttribute` | |
| `unum_getLocaleByType` | |
| `unum_parse` | |
| `unum_parseDecimal` | |
| `unum_parseDouble` | |
| `unum_parseDoubleCurrency` | |
| `unum_parseInt64` | |
| `unum_setContext` | |
| `unum_setDoubleAttribute` | |

# Header: `upluralrules.h`

| Unimplemented | Implemented |
| ------------- | ----------- |
| | `uplrules_getKeywords` |
| | `uplrules_openForType` |
| | `uplrules_select` |
| `uplrules_close` | |
| `uplrules_open` | |
| `uplrules_selectFormatted` | |
| `uplrules_selectWithFormat` | |

# Header: `ustring.h`

| Unimplemented | Implemented |
Expand Down
31 changes: 31 additions & 0 deletions coverage/unum_all.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
unum_applyPattern
unum_clone
unum_close
unum_countAvailable
unum_format
unum_formatDecimal
unum_formatDouble
unum_formatDoubleCurrency
unum_formatDoubleForFields
unum_formatInt64
unum_formatUFormattable
unum_getAttribute
unum_getAvailable
unum_getContext
unum_getDoubleAttribute
unum_getLocaleByType
unum_getSymbol
unum_getTextAttribute
unum_open
unum_parse
unum_parseDecimal
unum_parseDouble
unum_parseDoubleCurrency
unum_parseInt64
unum_parseToUFormattable
unum_setAttribute
unum_setContext
unum_setDoubleAttribute
unum_setSymbol
unum_setTextAttribute
unum_toPattern
17 changes: 17 additions & 0 deletions coverage/unum_implemented.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
$function_name
unum_clone
unum_close
unum_formatDecimal
unum_formatDoubleCurrency
unum_formatDoubleForFields
unum_formatUFormattable
unum_getAttribute
unum_getAvailable
unum_getSymbol
unum_getTextAttribute
unum_open
unum_parseToUFormattable
unum_setAttribute
unum_setSymbol
unum_setTextAttribute
unum_toPattern
2 changes: 1 addition & 1 deletion rust_icu_sys/bindgen/lib_63.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* automatically generated by rust-bindgen */
/* automatically generated by rust-bindgen 0.54.1 */

pub type size_t = ::std::os::raw::c_ulong;
pub type wchar_t = ::std::os::raw::c_int;
Expand Down
2 changes: 1 addition & 1 deletion rust_icu_sys/bindgen/lib_64.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* automatically generated by rust-bindgen */
/* automatically generated by rust-bindgen 0.54.1 */

pub type size_t = ::std::os::raw::c_ulong;
pub type wchar_t = ::std::os::raw::c_int;
Expand Down
2 changes: 1 addition & 1 deletion rust_icu_sys/bindgen/lib_65.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* automatically generated by rust-bindgen */
/* automatically generated by rust-bindgen 0.54.1 */

pub type size_t = ::std::os::raw::c_ulong;
pub type wchar_t = ::std::os::raw::c_int;
Expand Down
2 changes: 1 addition & 1 deletion rust_icu_sys/bindgen/lib_66.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* automatically generated by rust-bindgen */
/* automatically generated by rust-bindgen 0.54.1 */

pub type size_t = ::std::os::raw::c_ulong;
pub type wchar_t = ::std::os::raw::c_int;
Expand Down
2 changes: 1 addition & 1 deletion rust_icu_sys/bindgen/lib_67.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* automatically generated by rust-bindgen */
/* automatically generated by rust-bindgen 0.54.1 */

pub type size_t = ::std::os::raw::c_ulong;
pub type wchar_t = ::std::os::raw::c_int;
Expand Down
2 changes: 2 additions & 0 deletions rust_icu_sys/bindgen/run_bindgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ readonly BINDGEN_ALLOWLIST_TYPES=(
"UField.*"
"UFormat.*"
"UFormattedList.*"
"ULOC.*"
"UListFormatter.*"
"ULoc.*"
"UMessageFormat"
"UNUM.*"
"UNumber.*",
Expand Down
2 changes: 2 additions & 0 deletions rust_icu_sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,8 @@ mod inner {
"UFormat.*",
"UFormattedList.*",
"UListFormatter.*",
"ULoc.*",
"ULOC.*",
"UMessageFormat",
"UNUM.*",
"UNumber.*",
Expand Down

0 comments on commit de9c4b5

Please sign in to comment.