mirror of
https://github.com/neovim/neovim.git
synced 2026-08-21 06:41:04 +00:00
build(vim-patch): n/a popup_ api #41270
- enums - macros - struct members - popup_.*() 8.1.1523 * build(vim-patch): 8.1.0863 is almost auto n/a Can't ignore os_unix.c hunk for "failed:" .
This commit is contained in:
@@ -958,11 +958,16 @@ is_na_patch() {
|
||||
HUNKS=$(git -C "${VIM_SOURCE_DIR}" diff-tree --no-commit-id -r -b -U0 \
|
||||
'-I^\s+$' \
|
||||
'-I^\s*/?\*/?$' \
|
||||
'-I^\s*(//|/?\*).*\s([vV]im9|sound)' \
|
||||
'-I^#\s*((ifdef|ifndef|define|undef)|(if|elif)\s.*defined\().*FEAT_' \
|
||||
'-I^\s*(//|/?\*).*\s([vV]im9|channel|job|popup|sound)' \
|
||||
'-I^#\s*((ifdef|ifndef|undef)|(if|elif)\s.*defined\().*FEAT_' \
|
||||
'-I^#\s*(else|endif)' \
|
||||
'-I#\s*define\s+XDG_' \
|
||||
'-I^#\s*define\s+(FEAT|POPUPWIN|XDG)_' \
|
||||
'-I^typedef enum \{$' \
|
||||
'-I^\s+POPCLOSE_[A-Z]+,?$' \
|
||||
'-I^\} popclose_T;$' \
|
||||
'-I^EXTERN\schar\s+\*popup_transparent' \
|
||||
'-I^EXTERN type_T t_.* INIT[2-9]\(' \
|
||||
'-I^EXTERN\swin_T\s+\*popup_dragwin' \
|
||||
'-I^EXTERN char e_(abstract|class|enum|interface|type)_' \
|
||||
'-I^EXTERN char e_.*def_function' \
|
||||
'-I^EXTERN char e_.*enddef' \
|
||||
@@ -976,6 +981,12 @@ is_na_patch() {
|
||||
'-I\sINIT\(= .+"E[0-9]+: .*[vV]im9' \
|
||||
'-I\sINIT\(= .+"E1016: Cannot declare .* variable: ' \
|
||||
'-I\s+INIT\(= .+"E1103: Dictionary not set' \
|
||||
'-I\schar.*\s+\*w_popup_title;' \
|
||||
'-I\sint\s+ch_[_a-zA-Z]+;' \
|
||||
'-I\sint\s+w_(filter_mode|firstline|popup_drag|want_scrollbar);' \
|
||||
'-I\slist_T\s+\*w_popup_mask;' \
|
||||
'-I\spopclose_T\sw_popup_close;' \
|
||||
'-I\s\*?w_popup_prop_[_a-z]+;' \
|
||||
"$patch" -- "${file}" |
|
||||
grep '^@@ .* @@')
|
||||
if test -n "$HUNKS"; then
|
||||
@@ -988,15 +999,17 @@ is_na_patch() {
|
||||
'-I^\s+$' \
|
||||
'-I^\s*/?\*/?$' \
|
||||
'-I^\s*(//|/?\*).*\s([vV]im9|sound)' \
|
||||
'-I^#\s*((ifdef|ifndef|define|undef)\s|(if|elif)\s.*defined\().*FEAT_' \
|
||||
'-I^#\s*((ifdef|ifndef|undef)|(if|elif)\s.*defined\().*FEAT_' \
|
||||
'-I^#\s*(else|endif)' \
|
||||
'-I^#\s*define\s+(FEAT|POPUPWIN|XDG)_' \
|
||||
'-I^#\s*include\s+<proto/' \
|
||||
'-I^\s+\{"(prop|sound)_[a-z]+",.*f_(prop|sound)_[a-z]+},$' \
|
||||
'-I^\s+\{"(popup|prop|sound)_[_a-z]+",.*f_(popup|prop|sound)_[_a-z]+},$' \
|
||||
'-I#\s*define.*ex_ni$' \
|
||||
'-I[_.>]sc_version = ' \
|
||||
'-I[_.>]uf_script_ctx_version = ' \
|
||||
'-I = skip_type\(.+\);$' \
|
||||
'-Icheck_typval_type\(.+\)' \
|
||||
'-I\svim_free\(.*w_popup_title\);' \
|
||||
"$patch" -- "${file}" |
|
||||
grep '^@@ .* @@')
|
||||
if test -n "$HUNKS"; then
|
||||
|
||||
@@ -35,6 +35,7 @@ runtime/doc/os_risc.txt
|
||||
runtime/doc/os_unix.txt
|
||||
runtime/doc/os_vms.txt
|
||||
runtime/doc/pi_logipat.txt
|
||||
runtime/doc/popup.txt
|
||||
runtime/doc/print.txt
|
||||
runtime/doc/quotes.txt
|
||||
runtime/doc/test_urls.vim
|
||||
|
||||
@@ -47,6 +47,7 @@
|
||||
^l\?alloc[a-zA-Z0-9_]\+(size_t
|
||||
^mch_create_pty_channel(
|
||||
^mch_job_[a-z]\+(
|
||||
^mch_[_a-z]\+_job(job_T
|
||||
^mem_[a-zA-Z0-9_]\+(
|
||||
^parse_queued_messages(
|
||||
^restore_buffer(bufref_T
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
^struct jobvar_S
|
||||
^struct type_S {
|
||||
|
||||
@@ -96,8 +96,10 @@
|
||||
\*builtin-function-list\*
|
||||
\*emacs[_-]tags\*
|
||||
\*help-toc-install\*
|
||||
\*job_[a-zA-Z0-9]\+()\*
|
||||
\*os-support\*
|
||||
\*patches-\(after-\)\?[0-9].*\*
|
||||
\*popup-window-functions\*
|
||||
\*sound-functions\*
|
||||
\*sound_[a-zA-Z0-9]\+()\*
|
||||
\*test_gui_[a-zA-Z0-9_]\+()\*
|
||||
|
||||
Reference in New Issue
Block a user