rust: update function-summary

- add PENDING-changes.md file to keep track.
- remove output-* folder, no longer needed.
- move old bindgen*rs and changes*txt files to history/.
This commit is contained in:
joseLuís 2021-04-10 12:45:16 +02:00
parent 17a27427ec
commit 8e8c20468b
64 changed files with 9816 additions and 850 deletions

View File

@ -0,0 +1,21 @@
PENDING changes
## from changes-20210321-20210406.txt
- all tabbed & tab widget functions
## from changes-20210406-20210410.txt
bindgen add:
- [ ] ncdirect_stream
- [x] ncplane_as_rgba
- [ ] nclane_pixelgeom
- [ ] ncvisual_blitter_geom
- [ ] ncvisual_geom
bindgen del
- [x] ncplane_rgba
static add:
- [ ] ncplane_rgba
- [ ] ncvisual_geom
static del:
## ...

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,60 @@
0d0
Differences between files:
==========================
out-20210406/bindgen/ncdirect out-20210410/bindgen/ncdirect
out-20210406/bindgen/ncplane out-20210410/bindgen/ncplane
out-20210406/bindgen/ncvisual out-20210410/bindgen/ncvisual
out-20210406/static/ncplane out-20210410/static/ncplane
out-20210406/static/ncvisual out-20210410/static/ncvisual
out-20210406/static/_NON_FILTERED out-20210410/static/_NON_FILTERED
broken down:
============
diff out-20210406/bindgen/ncdirect out-20210410/bindgen/ncdirect:
42a43
> ncdirect_stream
diff out-20210406/bindgen/ncplane out-20210410/bindgen/ncplane:
4a5
> ncplane_as_rgba
46a48
> ncplane_pixelgeom
69d70
< ncplane_rgba
diff out-20210406/bindgen/ncvisual out-20210410/bindgen/ncvisual:
1a2
> ncvisual_blitter_geom
9d9
< ncvisual_geom
diff out-20210406/static/ncplane out-20210410/static/ncplane:
37a38
> ncplane_rgba
diff out-20210406/static/ncvisual out-20210410/static/ncvisual:
0a1
> ncvisual_geom
diff out-20210406/static/_NON_FILTERED out-20210410/static/_NON_FILTERED:
1a2
> __attribute__
Only in one path:
=================
Only in out-20210406/bindgen: nctablet
Only in out-20210406/static: nctablet
display contents:
=================
cat out-20210406/bindgen/nctablet:
-------------------
nctablet_ncplane
nctablet_plane
nctablet_userptr
cat out-20210406/static/nctablet:
-------------------

View File

@ -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_20210406.rs"
PATH_BINDGEN_LATEST="bindgen_20210410.rs"
# these are the main function prefixes used in notcurses (before the first `_`) for STATS_FILE
# NOTE: updated manually

View File

@ -1,38 +0,0 @@
GENERAL
-------
bindgen generated functions (bg): 655
static inline functions (si): 165
grouped by the following prefixes:
cell channel ncblit ncdirect ncdplot ncfadectx ncfdplane nckey ncmenu ncmetric ncmultiselector ncpile ncpixel ncplane ncprogbar ncreader ncreel ncselector ncsubproc nctab nctablet nctree ncuplot ncvisual notcurses palette
--------------------------
(bg, si)
cell: (6, 39)
channel: (0, 43)
ncblit: (2, 0)
ncdirect: (46, 0)
ncdplot: (6, 0)
ncfadectx: (3, 0)
ncfdplane: (3, 0)
nckey: (0, 2)
ncmenu: (13, 0)
ncmetric: (1, 0)
ncmultiselec(5, 0)
ncpile: (5, 0)
ncpixel: (0, 10)
ncplane: (107, 42)
ncprogbar: (5, 0)
ncreader: (11, 0)
ncreel: (11, 0)
ncselector: (9, 0)
ncsubproc: (5, 0)
nctab: (37, 3)
nctablet: (3, 0)
nctree: (9, 0)
ncuplot: (6, 0)
ncvisual: (18, 0)
notcurses: (45, 6)
palette: (3, 3)
rest of the functions (bg/si):(5, 299)

View File

@ -1,299 +0,0 @@
abort
abs
accept
aligned_alloc
asctime
asctime_r
as_mut_ptr
as_ptr
atexit
atof
atoi
atol
atoll
at_quick_exit
bind
bsearch
btowc
c16rtomb
c32rtomb
calloc
clearerr
clock
__cmsg_nxthdr
connect
ctermid
ctime
ctime_r
__ctype_b_loc
__ctype_get_mb_cur_max
__ctype_tolower_loc
__ctype_toupper_loc
cuserid
difftime
div
drand48
erand48
exit
_Exit
fclose
fdopen
feof
ferror
fflush
fgetc
fgetpos
fgets
fgetwc
fgetws
fileno
fopen
fprintf
fputc
fputs
fputwc
fputws
fread
free
freopen
fscanf
fscanf1
fseek
fsetpos
ftell
fwide
fwprintf
fwrite
fwscanf
fwscanf1
getc
getchar
getenv
getopt
getpeername
getsockname
getsockopt
getw
getwc
getwchar
gmtime
gmtime_r
htonl
htons
isalnum
isalpha
isascii
isblank
iscntrl
isdigit
isgraph
islower
isprint
ispunct
isspace
isupper
iswalnum
iswalpha
iswblank
iswcntrl
iswctype
iswdigit
iswgraph
iswlower
iswprint
iswpunct
iswspace
iswupper
iswxdigit
isxdigit
jrand48
kill
labs
lcong48
ldiv
__libc_current_sigrtmax
__libc_current_sigrtmin
listen
llabs
lldiv
localtime
localtime_r
lrand48
malloc
mblen
__mbrlen
mbrlen
mbrtoc16
mbrtoc32
mbrtowc
mbsinit
mbsrtowcs
mbstowcs
mbtowc
memccpy
memchr
memcmp
memcpy
memmove
memset
mktime
mrand48
ncstrwidth
nrand48
ntohl
ntohs
__overflow
pclose
perror
popen
printf
putc
putchar
putenv
puts
putw
putwc
putwchar
qsort
quick_exit
raise
rand
realloc
recv
recvfrom
recvmsg
remove
rename
rewind
scanf
scanf1
seed48
send
sendmsg
sendto
setbuf
setsockopt
setvbuf
shutdown
sigaction
sigaddset
sigdelset
sigemptyset
sigfillset
sigismember
sigpending
sigprocmask
sigsuspend
snprintf
socket
socketpair
sprintf
srand
srand48
sscanf
sscanf1
strcat
strchr
strcmp
strcoll
strcpy
strcspn
strerror
strftime
strlen
strncat
strncmp
strncpy
strpbrk
strptime
strrchr
strspn
strstr
strtod
strtof
strtok
__strtok_r
strtok_r
strtol
strtoll
strtoul
strtoull
strxfrm
swprintf
swscanf
swscanf1
__sysconf
system
__sysv_signal
tempnam
time
timespec_get
tmpfile
tmpnam
toascii
_tolower
tolower
_toupper
toupper
towlower
towupper
tzset
__uflow
ungetc
ungetwc
vfprintf
vfscanf
vfscanf1
vfwprintf
vfwscanf
vprintf
vscanf
vscanf1
vsnprintf
vsprintf
vsscanf
vsscanf1
vswprintf
vswscanf
vwprintf
vwscanf
wcrtomb
wcscat
wcschr
wcscmp
wcscoll
wcscpy
wcscspn
wcsftime
wcslen
wcsncat
wcsncmp
wcsncpy
wcspbrk
wcsrchr
wcsrtombs
wcsspn
wcsstr
wcstod
wcstof
wcstok
wcstol
wcstoll
wcstombs
wcstoul
wcstoull
wcswcs
wcswidth
wcsxfrm
wctob
wctomb
wctype
wcwidth
wmemchr
wmemcmp
wmemcpy
wmemmove
wmemset
wprintf
wscanf
wscanf1

View File

@ -1,6 +0,0 @@
cell_duplicate
cell_extended_gcluster
cell_load
cell_release
cells_double_box
cells_rounded_box

View File

@ -1,2 +0,0 @@
ncblit_bgrx
ncblit_rgba

View File

@ -1,46 +0,0 @@
ncdirect_box
ncdirect_canopen_images
ncdirect_canutf8
ncdirect_check_pixel_support
ncdirect_clear
ncdirect_core_init
ncdirect_cursor_disable
ncdirect_cursor_down
ncdirect_cursor_enable
ncdirect_cursor_left
ncdirect_cursor_move_yx
ncdirect_cursor_pop
ncdirect_cursor_push
ncdirect_cursor_right
ncdirect_cursor_up
ncdirect_cursor_yx
ncdirect_dim_x
ncdirect_dim_y
ncdirect_double_box
ncdirect_flush
ncdirect_getc
ncdirect_hline_interp
ncdirect_init
ncdirect_inputready_fd
ncdirect_off_styles
ncdirect_on_styles
ncdirect_palette_size
ncdirect_printf_aligned
ncdirect_putstr
ncdirect_raster_frame
ncdirect_readline
ncdirect_render_frame
ncdirect_render_image
ncdirect_rounded_box
ncdirect_set_bg_default
ncdirect_set_bg_palindex
ncdirect_set_bg_rgb
ncdirect_set_fg_default
ncdirect_set_fg_palindex
ncdirect_set_fg_rgb
ncdirect_set_styles
ncdirect_stop
ncdirect_styles_off
ncdirect_styles_on
ncdirect_styles_set
ncdirect_vline_interp

View File

@ -1,6 +0,0 @@
ncdplot_add_sample
ncdplot_create
ncdplot_destroy
ncdplot_plane
ncdplot_sample
ncdplot_set_sample

View File

@ -1,3 +0,0 @@
ncfadectx_free
ncfadectx_iterations
ncfadectx_setup

View File

@ -1,3 +0,0 @@
ncfdplane_create
ncfdplane_destroy
ncfdplane_plane

View File

@ -1,13 +0,0 @@
ncmenu_create
ncmenu_destroy
ncmenu_item_set_status
ncmenu_mouse_selected
ncmenu_nextitem
ncmenu_nextsection
ncmenu_offer_input
ncmenu_plane
ncmenu_previtem
ncmenu_prevsection
ncmenu_rollup
ncmenu_selected
ncmenu_unroll

View File

@ -1 +0,0 @@
ncmetric

View File

@ -1,5 +0,0 @@
ncmultiselector_create
ncmultiselector_destroy
ncmultiselector_offer_input
ncmultiselector_plane
ncmultiselector_selected

View File

@ -1,5 +0,0 @@
ncpile_bottom
ncpile_create
ncpile_rasterize
ncpile_render
ncpile_top

View File

@ -1,107 +0,0 @@
ncplane_above
ncplane_abs_x
ncplane_abs_y
ncplane_abs_yx
ncplane_at_cursor
ncplane_at_cursor_cell
ncplane_at_yx
ncplane_at_yx_cell
ncplane_base
ncplane_below
ncplane_box
ncplane_center_abs
ncplane_channels
ncplane_contents
ncplane_create
ncplane_cursor_move_yx
ncplane_cursor_yx
ncplane_destroy
ncplane_dim_yx
ncplane_dup
ncplane_erase
ncplane_fadein
ncplane_fadein_iteration
ncplane_fadeout
ncplane_fadeout_iteration
ncplane_format
ncplane_gradient
ncplane_greyscale
ncplane_highgradient
ncplane_highgradient_sized
ncplane_hline_interp
ncplane_home
ncplane_mergedown
ncplane_mergedown_simple
ncplane_move_above
ncplane_move_below
ncplane_move_bottom
ncplane_move_top
ncplane_move_yx
ncplane_new
ncplane_notcurses
ncplane_notcurses_const
ncplane_off_styles
ncplane_on_styles
ncplane_parent
ncplane_parent_const
ncplane_polyfill_yx
ncplane_pulse
ncplane_putchar_stained
ncplane_putc_yx
ncplane_putegc_stained
ncplane_putegc_yx
ncplane_putnstr_aligned
ncplane_putnstr_yx
ncplane_putstr_aligned
ncplane_putstr_stained
ncplane_putstr_yx
ncplane_puttext
ncplane_putwegc_stained
ncplane_putwstr_stained
ncplane_qrcode
ncplane_reparent
ncplane_reparent_family
ncplane_resize
ncplane_resizecb
ncplane_resize_marginalized
ncplane_resize_maximize
ncplane_resize_realign
ncplane_rgba
ncplane_rotate_ccw
ncplane_rotate_cw
ncplane_set_base
ncplane_set_base_cell
ncplane_set_bchannel
ncplane_set_bg_alpha
ncplane_set_bg_default
ncplane_set_bg_palindex
ncplane_set_bg_rgb
ncplane_set_bg_rgb8
ncplane_set_bg_rgb8_clipped
ncplane_set_channels
ncplane_set_fchannel
ncplane_set_fg_alpha
ncplane_set_fg_default
ncplane_set_fg_palindex
ncplane_set_fg_rgb
ncplane_set_fg_rgb8
ncplane_set_fg_rgb8_clipped
ncplane_set_resizecb
ncplane_set_scrolling
ncplane_set_styles
ncplane_set_userptr
ncplane_stain
ncplane_styles
ncplane_styles_off
ncplane_styles_on
ncplane_styles_set
ncplane_translate
ncplane_translate_abs
ncplane_userptr
ncplane_vline_interp
ncplane_vprintf_aligned
ncplane_vprintf_stained
ncplane_vprintf_yx
ncplane_x
ncplane_y
ncplane_yx

View File

@ -1,5 +0,0 @@
ncprogbar_create
ncprogbar_destroy
ncprogbar_plane
ncprogbar_progress
ncprogbar_set_progress

View File

@ -1,11 +0,0 @@
ncreader_clear
ncreader_contents
ncreader_create
ncreader_destroy
ncreader_move_down
ncreader_move_left
ncreader_move_right
ncreader_move_up
ncreader_offer_input
ncreader_plane
ncreader_write_egc

View File

@ -1,11 +0,0 @@
ncreel_add
ncreel_create
ncreel_del
ncreel_destroy
ncreel_focused
ncreel_next
ncreel_offer_input
ncreel_plane
ncreel_prev
ncreel_redraw
ncreel_tabletcount

View File

@ -1,9 +0,0 @@
ncselector_additem
ncselector_create
ncselector_delitem
ncselector_destroy
ncselector_nextitem
ncselector_offer_input
ncselector_plane
ncselector_previtem
ncselector_selected

View File

@ -1,5 +0,0 @@
ncsubproc_createv
ncsubproc_createvp
ncsubproc_createvpe
ncsubproc_destroy
ncsubproc_plane

View File

@ -1,37 +0,0 @@
nctabbed_add
nctabbed_channels
nctabbed_content_plane
nctabbed_create
nctabbed_del
nctabbed_destroy
nctabbed_ensure_selected_header_visible
nctabbed_leftmost
nctabbed_next
nctabbed_plane
nctabbed_prev
nctabbed_redraw
nctabbed_rotate
nctabbed_select
nctabbed_selected
nctabbed_separator
nctabbed_separator_width
nctabbed_set_hdrchan
nctabbed_set_selchan
nctabbed_set_separator
nctabbed_set_sepchan
nctabbed_tabcount
nctab_cb
nctablet_ncplane
nctablet_plane
nctablet_userptr
nctab_move
nctab_move_left
nctab_move_right
nctab_name
nctab_name_width
nctab_next
nctab_prev
nctab_set_cb
nctab_set_name
nctab_set_userptr
nctab_userptr

View File

@ -1,3 +0,0 @@
nctablet_ncplane
nctablet_plane
nctablet_userptr

View File

@ -1,9 +0,0 @@
nctree_create
nctree_destroy
nctree_focused
nctree_goto
nctree_next
nctree_offer_input
nctree_plane
nctree_prev
nctree_redraw

View File

@ -1,6 +0,0 @@
ncuplot_add_sample
ncuplot_create
ncuplot_destroy
ncuplot_plane
ncuplot_sample
ncuplot_set_sample

View File

@ -1,18 +0,0 @@
ncvisual_at_yx
ncvisual_decode
ncvisual_decode_loop
ncvisual_destroy
ncvisual_from_bgra
ncvisual_from_file
ncvisual_from_plane
ncvisual_from_rgba
ncvisual_geom
ncvisual_media_defblitter
ncvisual_polyfill_yx
ncvisual_render
ncvisual_resize
ncvisual_rotate
ncvisual_set_yx
ncvisual_simple_streamer
ncvisual_stream
ncvisual_subtitle

View File

@ -1,45 +0,0 @@
notcurses_at_yx
notcurses_bottom
notcurses_canbraille
notcurses_canchangecolor
notcurses_canfade
notcurses_canopen_images
notcurses_canopen_videos
notcurses_cansextant
notcurses_cantruecolor
notcurses_canutf8
notcurses_check_pixel_support
notcurses_core_init
notcurses_cursor_disable
notcurses_cursor_enable
notcurses_debug
notcurses_debug_caps
notcurses_drop_planes
notcurses_getc
notcurses_init
notcurses_inputready_fd
notcurses_lex_blitter
notcurses_lex_margins
notcurses_lex_scalemode
notcurses_linesigs_disable
notcurses_linesigs_enable
notcurses_mouse_disable
notcurses_mouse_enable
notcurses_palette_size
notcurses_refresh
notcurses_render
notcurses_render_to_buffer
notcurses_render_to_file
notcurses_stats
notcurses_stats_alloc
notcurses_stats_reset
notcurses_stdplane
notcurses_stdplane_const
notcurses_stop
notcurses_str_blitter
notcurses_str_scalemode
notcurses_supported_styles
notcurses_top
notcurses_ucs32_to_utf8
notcurses_version
notcurses_version_components

View File

@ -1,3 +0,0 @@
palette256_free
palette256_new
palette256_use

View File

@ -1,5 +0,0 @@
ALLOC static inline char*
bprefix
iprefix
ncinput_equal_p
qprefix

View File

@ -1,39 +0,0 @@
cell_bg_alpha
cell_bg_default_p
cell_bg_palindex
cell_bg_palindex_p
cell_bg_rgb
cell_bg_rgb8
cellcmp
cell_double_wide_p
cell_extract
cell_fg_alpha
cell_fg_default_p
cell_fg_palindex
cell_fg_palindex_p
cell_fg_rgb
cell_fg_rgb8
cell_init
cell_load_char
cell_load_egc32
cell_off_styles
cell_on_styles
cell_prime
cell_set_bg_alpha
cell_set_bg_default
cell_set_bg_palindex
cell_set_bg_rgb
cell_set_bg_rgb8
cell_set_bg_rgb8_clipped
cell_set_fg_alpha
cell_set_fg_default
cell_set_fg_palindex
cell_set_fg_rgb
cell_set_fg_rgb8
cell_set_fg_rgb8_clipped
cell_set_styles
cells_load_box
cell_strdup
cell_styles
cell_wide_left_p
cell_wide_right_p

View File

@ -1,43 +0,0 @@
channel_alpha
channel_b
channel_default_p
channel_g
channel_palindex
channel_palindex_p
channel_r
channel_rgb8
channels_bchannel
channels_bg_alpha
channels_bg_default_p
channels_bg_palindex
channels_bg_palindex_p
channels_bg_rgb
channels_bg_rgb8
channels_combine
channel_set
channel_set_alpha
channel_set_default
channel_set_palindex
channel_set_rgb8
channel_set_rgb8_clipped
channels_fchannel
channels_fg_alpha
channels_fg_default_p
channels_fg_palindex
channels_fg_palindex_p
channels_fg_rgb
channels_fg_rgb8
channels_set_bchannel
channels_set_bg_alpha
channels_set_bg_default
channels_set_bg_palindex
channels_set_bg_rgb
channels_set_bg_rgb8
channels_set_bg_rgb8_clipped
channels_set_fchannel
channels_set_fg_alpha
channels_set_fg_default
channels_set_fg_palindex
channels_set_fg_rgb
channels_set_fg_rgb8
channels_set_fg_rgb8_clipped

View File

@ -1,2 +0,0 @@
nckey_mouse_p
nckey_supppuab_p

View File

@ -1,10 +0,0 @@
ncpixel
ncpixel_a
ncpixel_b
ncpixel_g
ncpixel_r
ncpixel_set_a
ncpixel_set_b
ncpixel_set_g
ncpixel_set_r
ncpixel_set_rgb8

View File

@ -1,42 +0,0 @@
ncplane_bchannel
ncplane_bg_alpha
ncplane_bg_default_p
ncplane_bg_rgb
ncplane_bg_rgb8
ncplane_box_sized
ncplane_descendant_p
ncplane_dim_x
ncplane_dim_y
ncplane_double_box
ncplane_double_box_sized
ncplane_fchannel
ncplane_fg_alpha
ncplane_fg_default_p
ncplane_fg_rgb
ncplane_fg_rgb8
ncplane_gradient_sized
ncplane_halign
ncplane_hline
ncplane_perimeter
ncplane_perimeter_double
ncplane_perimeter_rounded
ncplane_putc
ncplane_putchar
ncplane_putchar_yx
ncplane_putegc
ncplane_putnstr
ncplane_putstr
ncplane_putwc
ncplane_putwc_stained
ncplane_putwc_yx
ncplane_putwegc
ncplane_putwegc_yx
ncplane_putwstr
ncplane_putwstr_aligned
ncplane_putwstr_yx
ncplane_resize_simple
ncplane_rounded_box
ncplane_rounded_box_sized
ncplane_valign
ncplane_vline
ncplane_vprintf

View File

@ -1,3 +0,0 @@
nctabbed_hdrchan
nctabbed_selchan
nctabbed_sepchan

View File

@ -1,6 +0,0 @@
notcurses_align
notcurses_getc_blocking
notcurses_getc_nblock
notcurses_stddim_yx
notcurses_stddim_yx_const
notcurses_term_dim_yx

View File

@ -1,3 +0,0 @@
palette256_get_rgb8
palette256_set
palette256_set_rgb8