Katayama Hirofumi MZ
b7dcc1024b
[IMM32] Rewrite ImmLoadLayout ( #6138 )
...
ImmLoadLayout was buggy.
- Don't do zero fill pImeInfoEx.
- Simplify registry handling.
- Don't reset pImeInfoEx->fLoadFlag if failed early.
CORE-19268
2023-12-09 09:49:57 +09:00
Hermès Bélusca-Maïto
1797566d73
[IMM32] Include ldrfuncs.h for RtlDllShutdownInProgress ( #6071 )
2023-12-04 13:47:39 +01:00
Katayama Hirofumi MZ
6e449d47e8
[IMM32][KERNEL32][SDK] Half-implement BaseCheckAppcompatCache ( #6069 )
...
- And add it to <compat_undoc.h>.
- Use <compat_undoc.h> in IMM32.
- Modify kernel32.spec.
CORE-19268
2023-12-03 23:40:49 +09:00
Katayama Hirofumi MZ
75cf6920bc
[IMM32][SDK][NTUSER] Implement ImmProcessKey for Cicero ( #6106 )
...
Complete CTF IMM.
- Add CtfImeProcessCicHotkey and CtfImeSetActiveContextAlways
to access CTF IMEs.
- Check whether Cicero is started in the current thread in ImmProcessKey.
- Call CtfImeProcessCicHotkey if necessary in ImmProcessKey.
- Modify <CtfImeTable.h>.
- Add CI_CICERO_STARTED flag to "ntuser.h".
- Fix Imm32JCloseOpen.
CORE-19268
2023-12-03 17:33:22 +09:00
Katayama Hirofumi MZ
d795021a75
[IMM32][SDK] Implement GetKeyboardLayoutCP ( #6068 )
...
- Add IMM32!GetKeyboardLayoutCP function.
- Add it to <imm32_undoc.h>.
- Delete ImmDisableLegacyIME and
ImmSendMessageToActiveDefImeWndW functions
(2k3/xp IMM32 doesn't have such functions).
- Modify imm32.spec.
- Refer ntdll!RtlDllShutdownInProgress function (that is WinXP+).
CORE-19268
2023-12-03 07:46:35 +09:00
Katayama Hirofumi MZ
931224fbe1
[IMM32][SDK][NTUSER] Implement CtfImmTIMActivate ( #6041 )
...
- Add Imm32InitTLS, Imm32AllocateTLS, Imm32GetTLS,
Imm32GetCoInitCountSkip, Imm32IncCoInitCountSkip, and
Imm32DecCoInitCountSkip helper functions to
control the TLS data.
- Introduce "CoInitialize Spy" (ISPY) to manage COM
initialization status.
- Implement CtfImmCoInitialize and CtfImmCoUninitialize.
- Implement CtfImmEnterCoInitCountSkipMode and
CtfImmLeaveCoInitCountSkipMode.
- Implement CtfImmLastEnabledWndDestroy,
ImmDisableTextFrameService, and CtfImmTIMActivate.
CORE-19268
2023-11-30 17:22:50 +09:00
Katayama Hirofumi MZ
fb642f727f
[IMM32] s/CopyMemory/RtlCopyMemory/
...
CORE-19268
2023-11-27 16:21:34 +09:00
Katayama Hirofumi MZ
90e17817fe
[IMM32] Implement CtfImmTIMCreateInputContext
...
CORE-19268
2023-11-26 09:20:07 +09:00
Katayama Hirofumi MZ
9d0b6f3185
[IMM32][SDK] Implement CtfImmSetCiceroStartInThread
...
- Add CtfImmSetCiceroStartInThread function.
- Add its prototype to <imm32_undoc.h>
- Modify imm32.spec.
CORE-19268
2023-11-26 08:58:59 +09:00
Katayama Hirofumi MZ
3b2fdc56bd
[IMM32][SDK][NTUSER][IMM32_WINETEST] Add CtfImmGenerateMessage ( #6037 )
...
Implementing advanced text service...
- Add CtfImmGenerateMessage function.
- Modify imm32.spec.
- Move TRANSMSG, TRANSMSGLIST etc. in
win32ss/include/ntuser.h to <immdev.h>.
- Move win32ss/include/imetable.h to
sdk/include/reactos/imetable.h.
- Move dll/win32/imm32/CtfImeTable.h to
sdk/include/reactos/CtfImeTable.h.
- Fix build failure of imm32_winetest due
to TRANSMSG redefinition.
CORE-19268
2023-11-25 22:46:00 +09:00
Katayama Hirofumi MZ
6783061894
[IMM32] Implement Soft Keyboard Type C1 ( #6036 )
...
Follow-up to #6021 . This PR will finish ImmCreateSoftKeyboard implementation.
- Add c1key.h to define C1 internal codes.
- The tests are done, using FreeCJ2004 on Chinese/Taiwanese system.
FreeCJ2004: https://web.archive.org/web/20061208204431/http://input.foruto.com/download/Forum/freecj2004.exe
CORE-19268
2023-11-25 18:56:33 +09:00
Katayama Hirofumi MZ
bd06299059
[IMM32][SDK] Implement IME Soft Keyboard Type T1 ( #6021 )
...
- Rename version.rc as imm32.rc.
- Add resource.h and t1keys.h.
- Add some resource bitmaps.
- Modify <immdev.h>.
Test:
Press Ctrl+Alt+comma on FreeCJ2004.
NOTE: There's a visual bug in PatBlt with negative values.
CORE-19268
2023-11-24 23:02:19 +09:00
Katayama Hirofumi MZ
d7e1bd2705
[IMM32] Sort imm32.spec
...
CORE-19268
2023-11-04 05:59:53 +09:00
Katayama Hirofumi MZ
4aa1bcb72b
[IMM32][SDK] Implement software keyboard, Part 1 ( #5865 )
...
- Add dll/win32/imm32/softkbd.c source file.
- Half-implement ImmCreateSoftKeyboard function.
- Move ImmShowSoftKeyboard, and ImmDestroySoftKeyboard functions.
- Modify ImmCreateSoftKeyboard prototype.
CORE-19268
2023-11-04 05:58:17 +09:00
Katayama Hirofumi MZ
eb4d13c823
[IMM32][SDK] Implement CtfImm(Hide,Restore)ToolbarWnd ( #5863 )
...
- Add Imm32GetFn helper function.
- Implement CtfImmHideToolbarWnd and
CtfImmRestoreToolbarWnd functions.
- Add them to <imm32_undoc.h>.
CORE-19268
2023-11-03 22:45:51 +09:00
Katayama Hirofumi MZ
dabb3f4d61
[IMM32][SDK] Add CtfAImmIsIME, CtfImmSetAppCompatFlags etc. ( #5862 )
...
- Add CtfAImmIsIME, CtfImmIsCiceroStartedInThread and CtfImmSetAppCompatFlags functions.
- Implement CtfImmDispatchDefImeMessage function.
- Modify imm32.spec.
- Add the prototypes of ImmGetAppCompatFlags, CtfAImmIsIME, CtfImmIsCiceroStartedInThread,
CtfImmSetAppCompatFlags, and CtfImmDispatchDefImeMessage into <imm32_undoc.h>.
CORE-19268
2023-11-02 08:16:12 +09:00
Katayama Hirofumi MZ
b3194e320c
[IMM32][SDK] Add CtfAImmActivate/Deactivate functions ( #5835 )
...
- Add dll/win32/imm32/CtfImeTable.h for CTF
IME functions.
- Implementing Imm32CheckAndApplyAppCompat,
Imm32LoadCtfIme, and
Imm32EnumCreateCtfICProc helper functions.
- Add CtfAImmActivate and CtfAImmDeactivate
functions.
- s/CI_TFSDISABLED/CI_TSFDISABLED/
CORE-19268
2023-10-31 22:45:28 +09:00
Katayama Hirofumi MZ
4aff629302
[IMM32][NTUSER][SDK] Add ImmCallImeConsoleIME ( #5271 )
...
- Add <jpnvkeys.h>.
- Add imm32!ImmCallImeConsoleIME.
CORE-11700
2023-05-10 14:04:01 +09:00
Katayama Hirofumi MZ
781fb4a55e
[IMM32] Fix ImmGetCompositionStringA/W ( #5105 )
...
Fix some typos in Imm32GetCompStrA/W. CORE-11700
2023-02-27 12:33:45 +09:00
Katayama Hirofumi MZ
88b1d89e95
[IMM32] Silence 'Out of boundary' log-spam
...
CORE-18852
2023-02-26 11:57:44 +09:00
Katayama Hirofumi MZ
3d298831db
[IMM32] Get gHighestUserAddress in ImmInitializeGlobals
...
CORE-11700
2022-11-13 20:04:34 +09:00
Katayama Hirofumi MZ
f73a4d6bab
[IMM32] ImmDllInitialize's first argument is an HINSTANCE
...
CORE-11700
2022-11-12 20:25:29 +09:00
Katayama Hirofumi MZ
e1df4f2d8f
[IMM32] Add reasoning for tracing ( #4807 )
...
Follow-up of c2a9436
(#4798 ).
Improve trace messages.
CORE-11700
2022-10-26 12:01:33 +09:00
Katayama Hirofumi MZ
a65014e3a0
[IMM32] Add UNEXPECTED() macro for detailed debugging
...
CORE-11700
2022-10-23 12:49:37 +09:00
Katayama Hirofumi MZ
c2a943653e
[IMM32] Improve debuggability at all ( #4798 )
...
- Strengthen tracing.
- Introduce IS_NULL_UNEXPECTEDLY, IS_ZERO_UNEXPECTEDLY etc. macros to manage tracing.
CORE-11700
2022-10-23 09:51:24 +09:00
Katayama Hirofumi MZ
5462d4adad
[IMM32] Imm32InternalLockIMC: Unlock hIC on failure
...
CORE-11700
2022-10-21 16:40:25 +09:00
Katayama Hirofumi MZ
143ed5e72d
[IMM32] Improve ImmSetCompositionFontA/W
...
CORE-11700
2022-10-21 16:37:59 +09:00
Katayama Hirofumi MZ
6585803681
[IMM32] Add uCodePage parameter to Imm32WideFromAnsi/Imm32AnsiFromWide
...
This needs for multiple codepage support.
CORE-11700
2022-10-21 16:04:59 +09:00
Katayama Hirofumi MZ
e1d3a7d08c
[IMM32] Improve ImmGetCandidateWindow
...
CORE-11700
2022-10-21 15:22:06 +09:00
Katayama Hirofumi MZ
633ed86af2
[IMM32][INCLUDE] s/CLIENTIMC_UNKNOWN5/CLIENTIMC_ACTIVE/
...
CORE-11700
2022-10-21 13:21:02 +09:00
Katayama Hirofumi MZ
962c4557b5
[IMM32] Fix ImmSetActiveContext
...
CORE-11700
2022-10-21 13:08:49 +09:00
Katayama Hirofumi MZ
2865423abe
[IMM32] Minor fix of ImmSetCompositionWindow
...
CORE-11700
2022-10-21 11:29:47 +09:00
Katayama Hirofumi MZ
b086f910d8
[IMM32] Fix and improve Imm32SelectInputContext
...
CORE-11700
2022-10-21 11:23:34 +09:00
Katayama Hirofumi MZ
edbeaa3c87
[IMM32] Move CtfImmTIMCreateInputContext calls
...
CORE-11700
2022-10-21 10:52:43 +09:00
Katayama Hirofumi MZ
db16a1f783
[IMM32] ImmGetImeInfoEx minor fix
...
CORE-11700
2022-10-21 10:40:38 +09:00
Katayama Hirofumi MZ
1f1dc9d84a
[IMM32] s/ImmNt3Trans/WINNLSTranslateMessage/
...
CORE-11700
2022-10-21 10:32:33 +09:00
Katayama Hirofumi MZ
8f0e22ac23
[IMM32] Simplify Imm32WriteImeLayout
...
CORE-11700
2022-10-21 10:11:59 +09:00
Katayama Hirofumi MZ
4572aad16a
[IMM32][INCLUDE] s/IMEDPI_FLAG_UNKNOWN/IMEDPI_FLAG_UNLOADED/
...
CORE-11700
2022-10-20 13:50:37 +09:00
Katayama Hirofumi MZ
27cc079d90
[IMM32] Fix ImeDpi_Escape by adding !IS_16BIT_MODE()
...
CORE-11700
2022-10-20 13:48:11 +09:00
Katayama Hirofumi MZ
91e3d06cdb
[IMM32] Fix and improve Imm32InquireIme
...
CORE-11700
2022-10-20 12:47:15 +09:00
Katayama Hirofumi MZ
72c56c2f1f
[IMM32] Improve ImmAssociateContext readability
...
CORE-11700
2022-10-20 12:32:45 +09:00
Katayama Hirofumi MZ
f9b2b1a6cd
[IMM32] Use UNICODE_NULL for null characters
...
CORE-11700
2022-10-20 12:29:29 +09:00
Katayama Hirofumi MZ
378d0e814c
[IMM32] ImmTranslateMessage: Minor fix
...
CORE-11700
2022-10-20 11:32:23 +09:00
Katayama Hirofumi MZ
4af3372c23
[IMM32] s/Imm32PostMessages/ImmPostMessages/
...
CORE-11700
2022-10-20 11:29:33 +09:00
Katayama Hirofumi MZ
bbef618032
[KBSWITCH][IMM32][USER32] Consider keyboard layout corner cases
...
Considering invalid Keyboard Layout registry entries.
CORE-11700
2022-10-13 16:01:02 +09:00
Katayama Hirofumi MZ
fb86db15bb
[IMM32] Silence CtfImmDispatchDefImeMessage's fixme
...
Too noisy. CORE-11700
2022-10-13 12:08:02 +09:00
Katayama Hirofumi MZ
31a33c5fcb
[IMM32] Implement Imm32ImeNonImeToggle ( #4769 )
...
- Rename Imm32ImeNonImeToggle as Imm32CImeNonImeToggle (Win: CIMENonIMEToggle).
- Add Imm32ImeNonImeToggle (Win: IMENonIMEToggle) function.
- Improve IME hot-key functions.
CORE-11700
2022-10-13 07:14:24 +09:00
Katayama Hirofumi MZ
72dbd87b1a
[IMM32] Follow-up of deb4f4e; Add comments
...
CORE-11700
2022-10-11 12:06:51 +09:00
Katayama Hirofumi MZ
deb4f4e4e2
[IMM32] Add ImmGetAppCompatFlags and epilogue of ImmProcessKey
...
CORE-11700
2022-10-10 15:50:13 +09:00
Hermès Bélusca-Maïto
2c244eafe0
[IMM32][LPK] Remove msvcrt dependency; fix entrypoint. ( #4759 )
2022-10-06 15:52:20 +02:00