0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.0763: nobody is using the Sun Workshop support

Problem:    Nobody is using the Sun Workshop support.
Solution:   Remove the Workshop support.
This commit is contained in:
Bram Moolenaar
2019-01-17 15:45:25 +01:00
parent e40742526e
commit bb1969b6ab
37 changed files with 55 additions and 4093 deletions

View File

@@ -672,10 +672,6 @@ gui_init(void)
#ifdef FEAT_MENU
gui_create_initial_menus(root_menu);
#endif
#ifdef FEAT_SUN_WORKSHOP
if (usingSunWorkShop)
workshop_init();
#endif
#ifdef FEAT_SIGN_ICONS
sign_gui_started();
#endif
@@ -1604,19 +1600,8 @@ gui_set_shellsize(
/* Remember the original window position. */
(void)gui_mch_get_winpos(&x, &y);
#ifdef USE_SUN_WORKSHOP
if (!mustset && usingSunWorkShop
&& workshop_get_width_height(&width, &height))
{
Columns = (width - base_width + gui.char_width - 1) / gui.char_width;
Rows = (height - base_height + gui.char_height - 1) / gui.char_height;
}
else
#endif
{
width = Columns * gui.char_width + base_width;
height = Rows * gui.char_height + base_height;
}
width = Columns * gui.char_width + base_width;
height = Rows * gui.char_height + base_height;
if (fit_to_display)
{
@@ -5128,7 +5113,7 @@ no_console_input(void)
}
#endif
#if defined(FIND_REPLACE_DIALOG) || defined(FEAT_SUN_WORKSHOP) \
#if defined(FIND_REPLACE_DIALOG) \
|| defined(NEED_GUI_UPDATE_SCREEN) \
|| defined(PROTO)
/*