Skip to content

Commit

Permalink
patch 8.2.4153: MS-Windows: Global IME is no longer supported
Browse files Browse the repository at this point in the history
Problem:    MS-Windows: Global IME is no longer supported.
Solution:   Remove the Global IME implementation. (Ken Takata, closes #9562)
  • Loading branch information
k-takata authored and brammool committed Jan 20, 2022
1 parent fc6cceb commit 4ac893f
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 997 deletions.
3 changes: 0 additions & 3 deletions Filelist
Expand Up @@ -549,12 +549,9 @@ SRC_DOS = \
src/msvc2015.bat \
src/msys32.bat \
src/msys64.bat \
src/dimm.idl \
src/dlldata.c \
src/dosinst.c \
src/dosinst.h \
src/glbl_ime.cpp \
src/glbl_ime.h \
src/gui_dwrite.cpp \
src/gui_dwrite.h \
src/gui_w32.c \
Expand Down
27 changes: 3 additions & 24 deletions runtime/doc/mbyte.txt
Expand Up @@ -955,32 +955,11 @@ replace mode.
The options 'iminsert', 'imsearch' and 'imcmdline' can be used to choose
the different input methods or disable them temporarily.

WHAT IS IME
IME is a part of East asian version Windows. That helps you to input
multibyte character. English and other language version Windows does not
have any IME. (Also there is no need usually.) But there is one that
called Microsoft Global IME. Global IME is a part of Internet Explorer
4.0 or above. You can get more information about Global IME, at below
URL.

WHAT IS GLOBAL IME *global-ime*
Global IME makes capability to input Chinese, Japanese, and Korean text
into Vim buffer on any language version of Windows 98, Windows 95, and
Windows NT 4.0.
On Windows 2000 and XP it should work as well (without downloading). On
Windows 2000 Professional, Global IME is built in, and the Input Locales
can be added through Control Panel/Regional Options/Input Locales.
Please see below URL for detail of Global IME. You can also find various
language version of Global IME at same place.

- Global IME detailed information.
http://search.microsoft.com/results.aspx?q=global+ime

- Active Input Method Manager (Global IME)
On Windows 9x and Windows NT 4.0 there was *global-ime* , but this is no
longer supported. You can still find documentation for Active Input Method
Manager (Global IME) here:
http://msdn.microsoft.com/en-us/library/aa741221(v=VS.85).aspx

Support for Global IME is an experimental feature.

NOTE: For IME to work you must make sure the input locales of your language
are added to your system. The exact location of this depends on the version
of Windows you use. For example, on my Windows 2000 box:
Expand Down
16 changes: 0 additions & 16 deletions src/Make_mvc.mak
Expand Up @@ -34,7 +34,6 @@
# IME support: IME=yes (default is yes)
# DYNAMIC_IME=[yes or no] (to load the imm32.dll dynamically, default
# is yes)
# Global IME support: GIME=yes (requires GUI=yes)
#
# Terminal support: TERMINAL=yes (default is yes if FEATURES is HUGE)
# Will also enable CHANNEL
Expand Down Expand Up @@ -898,11 +897,6 @@ IME_LIB = imm32.lib
! endif
!endif

!if "$(GIME)" == "yes"
CFLAGS = $(CFLAGS) -DGLOBAL_IME
OBJ = $(OBJ) $(OUTDIR)\dimm_i.obj $(OUTDIR)\glbl_ime.obj
!endif

!if "$(GUI)" == "yes"
SUBSYSTEM = windows
CFLAGS = $(CFLAGS) -DFEAT_GUI_MSWIN
Expand Down Expand Up @@ -1475,9 +1469,6 @@ clean: testclean
- if exist uninstall.exe del uninstall.exe
- if exist if_perl.c del if_perl.c
- if exist auto\if_perl.c del auto\if_perl.c
- if exist dimm.h del dimm.h
- if exist dimm_i.c del dimm_i.c
- if exist dimm.tlb del dimm.tlb
- if exist dosinst.exe del dosinst.exe
cd xxd
$(MAKE) /NOLOGO -f Make_mvc.mak clean
Expand Down Expand Up @@ -1893,13 +1884,6 @@ iid_ole.c if_ole.h vim.tlb: if_ole.idl
midl /nologo /error none /proxy nul /iid iid_ole.c /tlb vim.tlb \
/header if_ole.h if_ole.idl

dimm.h dimm_i.c: dimm.idl
midl /nologo /error none /proxy nul dimm.idl

$(OUTDIR)/dimm_i.obj: $(OUTDIR) dimm_i.c $(INCL)

$(OUTDIR)/glbl_ime.obj: $(OUTDIR) glbl_ime.cpp dimm.h $(INCL)


CCCTERM = $(CC) $(CFLAGS) -Ilibvterm/include -DINLINE="" \
-DVSNPRINTF=vim_vsnprintf \
Expand Down

0 comments on commit 4ac893f

Please sign in to comment.