diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-02-13 12:06:01 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-02-16 23:17:39 -0300 |
commit | e0e41b30c61922e099a067ac5c137e745699a1aa (patch) | |
tree | d4cbc2313612e5f6bc135ceb8cf520cd19b89b20 /config | |
parent | 6383ea6e8e14350432f1fc7da519b54d0ed67f8c (diff) | |
download | rneovim-e0e41b30c61922e099a067ac5c137e745699a1aa.tar.gz rneovim-e0e41b30c61922e099a067ac5c137e745699a1aa.tar.bz2 rneovim-e0e41b30c61922e099a067ac5c137e745699a1aa.zip |
ui: Remove/adapt some old code for a big UI refactor
- Remove abstract_ui global, now it is always active
- Remove some terminal handling code
- Remove unused functions
- Remove HAVE_TGETENT/TERMINFO/TERMIOS/IOCTL #ifdefs
- Remove tgetent/terminfo from version.c
- Remove curses/terminfo dependencies
- Only start/stop termcap when starting/exiting the program
- msg_use_printf will return true if there are no attached UIs(
messages will be written to stdout)
- Remove `ex_winpos`(implement `:winpos` with `ex_ni`)
Diffstat (limited to 'config')
-rw-r--r-- | config/CMakeLists.txt | 4 | ||||
-rw-r--r-- | config/config.h.in | 13 |
2 files changed, 0 insertions, 17 deletions
diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt index c620c96e61..1ee5c78adf 100644 --- a/config/CMakeLists.txt +++ b/config/CMakeLists.txt @@ -23,7 +23,6 @@ check_include_files(locale.h HAVE_LOCALE_H) check_include_files(pwd.h HAVE_PWD_H) check_include_files(strings.h HAVE_STRINGS_H) check_include_files(stropts.h HAVE_STROPTS_H) -check_include_files(sys/ioctl.h HAVE_SYS_IOCTL_H) check_include_files(sys/param.h HAVE_SYS_PARAM_H) check_include_files(sys/time.h HAVE_SYS_TIME_H) check_include_files(sys/wait.h HAVE_SYS_WAIT_H) @@ -33,9 +32,6 @@ if(NOT HAVE_SYS_WAIT_H AND UNIX) endif() check_include_files(sys/utsname.h HAVE_SYS_UTSNAME_H) check_include_files(utime.h HAVE_UTIME_H) -check_include_files(termcap.h HAVE_TERMCAP_H) -check_include_files(termios.h HAVE_TERMIOS_H) -check_include_files(termio.h HAVE_TERMIO_H) check_include_files(unistd.h HAVE_UNISTD_H) check_include_files(utime.h HAVE_UTIME_H) diff --git a/config/config.h.in b/config/config.h.in index 0a2aa4786e..9e6f3d8e13 100644 --- a/config/config.h.in +++ b/config/config.h.in @@ -53,15 +53,10 @@ #cmakedefine HAVE_STRINGS_H #cmakedefine HAVE_STRNCASECMP #cmakedefine HAVE_STROPTS_H -#cmakedefine HAVE_SYS_IOCTL_H #cmakedefine HAVE_SYS_PARAM_H #cmakedefine HAVE_SYS_TIME_H #cmakedefine HAVE_SYS_UTSNAME_H #cmakedefine HAVE_SYS_WAIT_H -#cmakedefine HAVE_TERMCAP_H -#cmakedefine HAVE_TERMIOS_H -#cmakedefine HAVE_TERMIO_H -#define HAVE_TGETENT 1 #cmakedefine HAVE_UNISTD_H #define HAVE_UP_BC_PC 1 #cmakedefine HAVE_UTIME @@ -70,8 +65,6 @@ #cmakedefine HAVE_WORKING_LIBINTL #define RETSIGTYPE void #define SIGRETURN return -#define TERMINFO 1 -#define TGETENT_ZERO_ERR 0 #define TIME_WITH_SYS_TIME 1 #cmakedefine UNIX #define USEMAN_S 1 @@ -79,9 +72,3 @@ #define FEAT_BROWSE #define FEAT_CSCOPE #define FEAT_MOUSE -#define FEAT_MOUSE_NET -#define FEAT_MOUSE_SGR -#define FEAT_MOUSE_TTY -#define FEAT_MOUSE_URXVT -#define FEAT_MOUSE_XTERM -#define FEAT_TERMRESPONSE |