mirror of
https://github.com/neovim/neovim.git
synced 2026-08-19 13:51:48 +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
|
||||
|
||||
Reference in New Issue
Block a user