forked from aniani/vim
patch 8.2.1442: outdated references to the Mac Carbon GUI
Problem: Outdated references to the Mac Carbon GUI. Solution: Remove or update references. (Yee Cheng Chin, closes #6703)
This commit is contained in:
@@ -16,7 +16,6 @@ src/os_amiga.* Files for the Amiga port.
|
|||||||
src/os_msdos.*
|
src/os_msdos.*
|
||||||
src/os_dos.* Files for the MS-DOS port.
|
src/os_dos.* Files for the MS-DOS port.
|
||||||
|
|
||||||
src/gui_mac.*
|
|
||||||
src/os_mac.* Files for the Mac port.
|
src/os_mac.* Files for the Mac port.
|
||||||
|
|
||||||
src/os_vms* Files for the VMS port.
|
src/os_vms* Files for the VMS port.
|
||||||
|
13
src/Makefile
13
src/Makefile
@@ -375,9 +375,6 @@ CClink = $(CC)
|
|||||||
#CONF_OPT_GUI = --enable-gui=athena
|
#CONF_OPT_GUI = --enable-gui=athena
|
||||||
#CONF_OPT_GUI = --enable-gui=nextaw
|
#CONF_OPT_GUI = --enable-gui=nextaw
|
||||||
|
|
||||||
# Carbon GUI for Mac OS X
|
|
||||||
#CONF_OPT_GUI = --enable-gui=carbon
|
|
||||||
|
|
||||||
# Uncomment this line to run an individual test with gvim.
|
# Uncomment this line to run an individual test with gvim.
|
||||||
#GUI_TESTARG = GUI_FLAG=-g
|
#GUI_TESTARG = GUI_FLAG=-g
|
||||||
|
|
||||||
@@ -3306,9 +3303,6 @@ objects/gui_xim.o: gui_xim.c
|
|||||||
objects/gui_photon.o: gui_photon.c
|
objects/gui_photon.o: gui_photon.c
|
||||||
$(CCC) -o $@ gui_photon.c
|
$(CCC) -o $@ gui_photon.c
|
||||||
|
|
||||||
objects/gui_mac.o: gui_mac.c
|
|
||||||
$(CCC) -o $@ gui_mac.c
|
|
||||||
|
|
||||||
objects/highlight.o: highlight.c
|
objects/highlight.o: highlight.c
|
||||||
$(CCC) -o $@ highlight.c
|
$(CCC) -o $@ highlight.c
|
||||||
|
|
||||||
@@ -3692,13 +3686,6 @@ bundle-rsrc: os_mac.rsr.hqx
|
|||||||
rm -f gui_mac.rsrc
|
rm -f gui_mac.rsrc
|
||||||
mv gui_mac.rsrc.rsrcfork $(RESDIR)/$(VIMNAME).rsrc
|
mv gui_mac.rsrc.rsrcfork $(RESDIR)/$(VIMNAME).rsrc
|
||||||
|
|
||||||
# po/Make_osx.pl says something about generating a Mac message file
|
|
||||||
# for Ukrainian. Would somebody using Mac OS X in Ukrainian
|
|
||||||
# *really* be upset that Carbon Vim was not localised in
|
|
||||||
# Ukrainian?
|
|
||||||
#
|
|
||||||
#bundle-language: bundle-dir po/Make_osx.pl
|
|
||||||
# cd po && perl Make_osx.pl --outdir ../$(RESDIR) $(MULTILANG)
|
|
||||||
bundle-language: bundle-dir
|
bundle-language: bundle-dir
|
||||||
|
|
||||||
$(APPDIR)/Contents:
|
$(APPDIR)/Contents:
|
||||||
|
3
src/auto/configure
vendored
3
src/auto/configure
vendored
@@ -9246,8 +9246,7 @@ $as_echo "yes - automatic GUI support" >&6; }
|
|||||||
auto) { $as_echo "$as_me:${as_lineno-$LINENO}: result: auto - disable GUI support for Mac OS" >&5
|
auto) { $as_echo "$as_me:${as_lineno-$LINENO}: result: auto - disable GUI support for Mac OS" >&5
|
||||||
$as_echo "auto - disable GUI support for Mac OS" >&6; } ;;
|
$as_echo "auto - disable GUI support for Mac OS" >&6; } ;;
|
||||||
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sorry, $enable_gui GUI is not supported" >&5
|
*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sorry, $enable_gui GUI is not supported" >&5
|
||||||
$as_echo "Sorry, $enable_gui GUI is not supported" >&6; }
|
$as_echo "Sorry, $enable_gui GUI is not supported" >&6; } ;;
|
||||||
SKIP_CARBON=YES ;;
|
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
|
|
||||||
|
@@ -2433,8 +2433,7 @@ elif test "x$MACOS_X" = "xyes" -a "x$with_x" = "xno" ; then
|
|||||||
yes|"") AC_MSG_RESULT(yes - automatic GUI support)
|
yes|"") AC_MSG_RESULT(yes - automatic GUI support)
|
||||||
gui_auto=yes ;;
|
gui_auto=yes ;;
|
||||||
auto) AC_MSG_RESULT(auto - disable GUI support for Mac OS) ;;
|
auto) AC_MSG_RESULT(auto - disable GUI support for Mac OS) ;;
|
||||||
*) AC_MSG_RESULT([Sorry, $enable_gui GUI is not supported])
|
*) AC_MSG_RESULT([Sorry, $enable_gui GUI is not supported]) ;;
|
||||||
SKIP_CARBON=YES ;;
|
|
||||||
esac
|
esac
|
||||||
else
|
else
|
||||||
|
|
||||||
|
@@ -654,7 +654,7 @@ docd(BPath &path)
|
|||||||
drop_callback(void *cookie)
|
drop_callback(void *cookie)
|
||||||
{
|
{
|
||||||
// TODO here we could handle going to a specific position in the dropped
|
// TODO here we could handle going to a specific position in the dropped
|
||||||
// file (see src/gui_mac.c)
|
// file (see src/gui_mac.c, deleted in 8.2.1422)
|
||||||
// Update the screen display
|
// Update the screen display
|
||||||
update_screen(NOT_VALID);
|
update_screen(NOT_VALID);
|
||||||
}
|
}
|
||||||
|
@@ -29,11 +29,8 @@
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Clipboard support for the console.
|
* Clipboard support for the console.
|
||||||
* Don't include this when building the GUI version, the functions in
|
|
||||||
* gui_mac.c are used then. TODO: remove those instead?
|
|
||||||
* But for MacVim we do need these ones.
|
|
||||||
*/
|
*/
|
||||||
#if defined(FEAT_CLIPBOARD) && (!defined(FEAT_GUI_ENABLED))
|
#if defined(FEAT_CLIPBOARD)
|
||||||
|
|
||||||
/* Used to identify clipboard data copied from Vim. */
|
/* Used to identify clipboard data copied from Vim. */
|
||||||
|
|
||||||
|
@@ -37,7 +37,7 @@ endfunc
|
|||||||
func Test_getimstatus()
|
func Test_getimstatus()
|
||||||
if has('win32')
|
if has('win32')
|
||||||
CheckFeature multi_byte_ime
|
CheckFeature multi_byte_ime
|
||||||
elseif !has('gui_mac')
|
else
|
||||||
CheckFeature xim
|
CheckFeature xim
|
||||||
endif
|
endif
|
||||||
if has('win32') && has('gui_running')
|
if has('win32') && has('gui_running')
|
||||||
@@ -87,7 +87,7 @@ func Test_iminsert_toggle()
|
|||||||
CheckGui
|
CheckGui
|
||||||
if has('win32')
|
if has('win32')
|
||||||
CheckFeature multi_byte_ime
|
CheckFeature multi_byte_ime
|
||||||
elseif !has('gui_mac')
|
else
|
||||||
CheckFeature xim
|
CheckFeature xim
|
||||||
endif
|
endif
|
||||||
if has('gui_running') && !has('win32')
|
if has('gui_running') && !has('win32')
|
||||||
|
@@ -754,6 +754,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1442,
|
||||||
/**/
|
/**/
|
||||||
1441,
|
1441,
|
||||||
/**/
|
/**/
|
||||||
|
@@ -2155,8 +2155,6 @@ typedef enum {
|
|||||||
|| !(defined(FEAT_MBYTE_IME) || defined(GLOBAL_IME)))
|
|| !(defined(FEAT_MBYTE_IME) || defined(GLOBAL_IME)))
|
||||||
// Whether IME is supported by im_get_status() defined in mbyte.c.
|
// Whether IME is supported by im_get_status() defined in mbyte.c.
|
||||||
// For Win32 GUI it's in gui_w32.c when FEAT_MBYTE_IME or GLOBAL_IME is defined.
|
// For Win32 GUI it's in gui_w32.c when FEAT_MBYTE_IME or GLOBAL_IME is defined.
|
||||||
// for Mac it is in gui_mac.c for the GUI or in os_mac_conv.c when
|
|
||||||
// MACOS_CONVERT is defined.
|
|
||||||
# define IME_WITHOUT_XIM
|
# define IME_WITHOUT_XIM
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user