Blender Git Commit Log

Git Commits -> Revision 83e2f8c

Revision 83e2f8c by Yuki Hashimoto (master)
July 5, 2021, 15:24 (GMT)
macOS: support Japanese input for text buttons

Blender did not support to input East Asian characters (Chinese, Japanese,
Korean) on macOS. This patch adds support for Japanese input, by implementing
the appropriate processing for the NSTextInputClient protocol.

Technical notes:
* The conversion candidate window is drawn by the input method program calling
`firstRectForCharacterRange`.
* The string before confirmation (called `composite` in blender) is handled in
the `setMarkedText` method called by the input method program.
* The string after confirmation (called `result` in the blender) is processed
in the `insertText` method called by the input method program.

Ref T51283

Differential Revision: https://developer.blender.org/D11695

Commit Details:

Full Hash: 83e2f8c993dc8068eb1145e9b8f4756a54f96144
Parent Commit: ac1ed19
Committed By: Brecht Van Lommel
Lines Changed: +330, -13

12 Modified Paths:

/build_files/cmake/config/blender_full.cmake (+1, -0) (Diff)
/build_files/cmake/config/blender_release.cmake (+1, -0) (Diff)
/CMakeLists.txt (+2, -1) (Diff)
/intern/ghost/CMakeLists.txt (+3, -0) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.h (+33, -0) (Diff)
/intern/ghost/intern/GHOST_WindowCocoa.mm (+23, -0) (Diff)
/intern/ghost/intern/GHOST_WindowViewCocoa.h (+260, -5) (Diff)
/source/blender/blentranslation/CMakeLists.txt (+1, -1) (Diff)
/source/blender/editors/interface/CMakeLists.txt (+1, -1) (Diff)
/source/blender/makesdna/DNA_windowmanager_types.h (+3, -3) (Diff)
/source/blender/windowmanager/CMakeLists.txt (+1, -1) (Diff)
/source/blender/windowmanager/intern/wm.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021