mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 03:05:11 -07:00
Remove remaining hangul-related code
This commit is contained in:
parent
7f23ec398d
commit
c3a88eb8ea
@ -1,15 +1,19 @@
|
|||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
check_and_report() {
|
check_and_report() {
|
||||||
reset
|
|
||||||
(
|
(
|
||||||
cd $tmpdir
|
cd $tmpdir
|
||||||
if [ -f asan.* ] || [ -f tsan.* ] || [ -f ubsan.* ]; then
|
set -- [*]san.[*] *san.*
|
||||||
cat $tmpdir/asan.* 2> /dev/null || true
|
case $1$2 in
|
||||||
cat $tmpdir/tsan.* 2> /dev/null || true
|
'[*]san.[*]*san.*')
|
||||||
cat $tmpdir/ubsan.* 2> /dev/null || true
|
;;
|
||||||
exit 1
|
*)
|
||||||
fi
|
shift
|
||||||
|
cat "$@"
|
||||||
|
echo "Runtime errors detected"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -36,6 +40,7 @@ if [ "$CC" = "clang" ]; then
|
|||||||
make cmake CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$install_dir"
|
make cmake CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$install_dir"
|
||||||
make
|
make
|
||||||
if ! make test; then
|
if ! make test; then
|
||||||
|
reset
|
||||||
check_and_report
|
check_and_report
|
||||||
fi
|
fi
|
||||||
check_and_report
|
check_and_report
|
||||||
|
@ -6975,13 +6975,6 @@ ins_esc (
|
|||||||
static int disabled_redraw = FALSE;
|
static int disabled_redraw = FALSE;
|
||||||
|
|
||||||
check_spell_redraw();
|
check_spell_redraw();
|
||||||
# if defined(ESC_CHG_TO_ENG_MODE)
|
|
||||||
hangul_input_state_set(0);
|
|
||||||
# endif
|
|
||||||
if (composing_hangul) {
|
|
||||||
push_raw_key(composing_hangul_buffer, 2);
|
|
||||||
composing_hangul = 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
temp = curwin->w_cursor.col;
|
temp = curwin->w_cursor.col;
|
||||||
if (disabled_redraw) {
|
if (disabled_redraw) {
|
||||||
|
@ -10246,7 +10246,6 @@ static void f_has(typval_T *argvars, typval_T *rettv)
|
|||||||
"fork",
|
"fork",
|
||||||
#endif
|
#endif
|
||||||
"gettext",
|
"gettext",
|
||||||
"hangul_input",
|
|
||||||
#if defined(HAVE_ICONV_H) && defined(USE_ICONV)
|
#if defined(HAVE_ICONV_H) && defined(USE_ICONV)
|
||||||
"iconv",
|
"iconv",
|
||||||
#endif
|
#endif
|
||||||
|
@ -672,11 +672,6 @@ EXTERN int (*iconvctl)(iconv_t cd, int request, void *argument);
|
|||||||
EXTERN int* (*iconv_errno)(void);
|
EXTERN int* (*iconv_errno)(void);
|
||||||
# endif
|
# endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
EXTERN int composing_hangul INIT(= 0);
|
|
||||||
EXTERN char_u composing_hangul_buffer[5];
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* "State" is the main state of Vim.
|
* "State" is the main state of Vim.
|
||||||
* There are other variables that modify the state:
|
* There are other variables that modify the state:
|
||||||
|
@ -3343,8 +3343,6 @@ char_u * mb_unescape(char_u **pp)
|
|||||||
*/
|
*/
|
||||||
int mb_lefthalve(int row, int col)
|
int mb_lefthalve(int row, int col)
|
||||||
{
|
{
|
||||||
if (composing_hangul)
|
|
||||||
return TRUE;
|
|
||||||
return (*mb_off2cells)(LineOffset[row] + col,
|
return (*mb_off2cells)(LineOffset[row] + col,
|
||||||
LineOffset[row] + screen_Columns) > 1;
|
LineOffset[row] + screen_Columns) > 1;
|
||||||
}
|
}
|
||||||
|
@ -94,7 +94,6 @@ static char *(features[]) =
|
|||||||
"+fork()",
|
"+fork()",
|
||||||
#endif
|
#endif
|
||||||
"+gettext",
|
"+gettext",
|
||||||
"+hangul_input",
|
|
||||||
#if (defined(HAVE_ICONV_H) && defined(USE_ICONV)) || defined(DYNAMIC_ICONV)
|
#if (defined(HAVE_ICONV_H) && defined(USE_ICONV)) || defined(DYNAMIC_ICONV)
|
||||||
# ifdef DYNAMIC_ICONV
|
# ifdef DYNAMIC_ICONV
|
||||||
"+iconv/dyn",
|
"+iconv/dyn",
|
||||||
|
Loading…
Reference in New Issue
Block a user