mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
[rust] update function-summary data & minor fix
This commit is contained in:
parent
488a36eaf5
commit
f401d85733
@ -2,12 +2,12 @@
|
||||
|
||||
// functions manually reimplemented: 4
|
||||
// ------------------------------------------
|
||||
// (+) done: 3 / 0
|
||||
// (#) test: 0 / 3
|
||||
// (+) done: 4
|
||||
// (#) test: 0
|
||||
// ------------------------------------------
|
||||
// + ncinput_equal_p
|
||||
// + ncinput_nomod_p
|
||||
// + nckey_mouse_p
|
||||
// + nckey_nomod_p
|
||||
// + nckey_supppuab_p
|
||||
|
||||
use crate::NcDim;
|
||||
@ -120,6 +120,11 @@ pub const fn ncinput_equal_p(n1: NcInput, n2: NcInput) -> bool {
|
||||
true
|
||||
}
|
||||
|
||||
/// Are all the modifiers off (alt, control, shift)?
|
||||
pub const fn ncinput_nomod_p(input: &NcInput) -> bool {
|
||||
!input.alt && !input.ctrl && !input.shift
|
||||
}
|
||||
|
||||
/// Is this [char] a Supplementary Private Use Area-B codepoint?
|
||||
///
|
||||
/// Links:
|
||||
@ -136,7 +141,3 @@ pub const fn nckey_mouse_p(r: char) -> bool {
|
||||
r >= NCKEY_BUTTON1 && r <= NCKEY_RELEASE
|
||||
}
|
||||
|
||||
/// Are all the modifiers off (alt, control, shift)?
|
||||
pub const fn ncinput_nomod_p(input: &NcInput) -> bool {
|
||||
!input.alt && !input.ctrl && !input.shift
|
||||
}
|
||||
|
@ -4,18 +4,24 @@ PENDING changes
|
||||
- all tabbed & tab widget functions
|
||||
|
||||
## from changes-20210406-20210410.txt
|
||||
bindgen add:
|
||||
- [x] ncdirect_stream
|
||||
missing methods:
|
||||
- [ ] ncdirect_stream
|
||||
|
||||
## from changes-20120518-20210603.txt …
|
||||
## from changes-20120518-20210603.txt
|
||||
|
||||
- [x] ncdirect_styles
|
||||
- [x] ncdirect_supported_styles
|
||||
missing methods:
|
||||
- [ ] nccell_width
|
||||
- [ ] ncdirect_styles (method)
|
||||
- [ ] ncdirect_supported_styles (method)
|
||||
- [ ] ncplane_erase_region
|
||||
- [ ] notcurses_cursor_yx
|
||||
|
||||
- [x] ncplane_erase_region
|
||||
## from changes-20210603-20210704.txt …
|
||||
|
||||
- [x] nccell_width
|
||||
missing imports & methods:
|
||||
- [ ] ncpile_render_to_buffer
|
||||
- [ ] ncpile_render_to_file
|
||||
- [ ] nccells_ascii_box
|
||||
- [ ] nccells_heavy_box
|
||||
- [ ] nccells_light_box
|
||||
|
||||
- [x] notcurses_cursor_yx
|
||||
|
||||
- [x] ncinput_nomod_p
|
||||
|
7857
tools/function-summary/bindgen_20210704.rs
Normal file
7857
tools/function-summary/bindgen_20210704.rs
Normal file
File diff suppressed because it is too large
Load Diff
61
tools/function-summary/changes-20210603-20210704.txt
Normal file
61
tools/function-summary/changes-20210603-20210704.txt
Normal file
@ -0,0 +1,61 @@
|
||||
0d0
|
||||
|
||||
Differences between files:
|
||||
==========================
|
||||
out-20210603/bindgen/ncdirect out-20210704/bindgen/ncdirect
|
||||
out-20210603/bindgen/ncpile out-20210704/bindgen/ncpile
|
||||
out-20210603/bindgen/ncplane out-20210704/bindgen/ncplane
|
||||
out-20210603/bindgen/ncvisual out-20210704/bindgen/ncvisual
|
||||
out-20210603/bindgen/notcurses out-20210704/bindgen/notcurses
|
||||
out-20210603/static/_NON_FILTERED out-20210704/static/_NON_FILTERED
|
||||
|
||||
broken down:
|
||||
============
|
||||
|
||||
diff out-20210603/bindgen/ncdirect out-20210704/bindgen/ncdirect:
|
||||
1a2
|
||||
> ncdirect_canget_cursor
|
||||
3a5
|
||||
> ncdirect_capabilities
|
||||
16a19
|
||||
> ncdirect_detected_terminal
|
||||
|
||||
diff out-20210603/bindgen/ncpile out-20210704/bindgen/ncpile:
|
||||
4a5,6
|
||||
> ncpile_render_to_buffer
|
||||
> ncpile_render_to_file
|
||||
|
||||
diff out-20210603/bindgen/ncplane out-20210704/bindgen/ncplane:
|
||||
73a74
|
||||
> ncplane_scrolling_p
|
||||
|
||||
diff out-20210603/bindgen/ncvisual out-20210704/bindgen/ncvisual:
|
||||
9a10,11
|
||||
> ncvisual_from_rgb_loose
|
||||
> ncvisual_from_rgb_packed
|
||||
14a17
|
||||
> ncvisual_resize_noninterpolative
|
||||
|
||||
diff out-20210603/bindgen/notcurses out-20210704/bindgen/notcurses:
|
||||
19a20
|
||||
> notcurses_detected_terminal
|
||||
|
||||
diff out-20210603/static/_NON_FILTERED out-20210704/static/_NON_FILTERED:
|
||||
1a2
|
||||
> API int nccell_width
|
||||
4a6
|
||||
> // FIXME promote to static inline for ABI3
|
||||
5a8
|
||||
> nccapability_canchangecolor
|
||||
26a30
|
||||
> nccells_ascii_box
|
||||
39a44,45
|
||||
> nccells_heavy_box
|
||||
> nccells_light_box
|
||||
|
||||
Only in one path:
|
||||
=================
|
||||
|
||||
|
||||
display contents:
|
||||
=================
|
@ -16,7 +16,7 @@ PATH_SOURCE_FILE="../../include/notcurses/notcurses.h"
|
||||
|
||||
# this is the path to the latest bindgen generated rust sources
|
||||
# TODO: retrieve it automatically, from the target folder, the most recently created/updated)
|
||||
PATH_BINDGEN_LATEST="bindgen_20210603.rs"
|
||||
PATH_BINDGEN_LATEST="bindgen_20210704.rs"
|
||||
|
||||
# these are the main function prefixes used in notcurses (before the first `_`) for STATS_FILE
|
||||
# NOTE: updated manually
|
||||
|
Loading…
x
Reference in New Issue
Block a user