Katayama Hirofumi MZ
ec24b54731
[IMM32][NTUSER] Use HandleToUlong, UlongToHandle etc. macros ( #7180 )
...
Respect coding standard.
JIRA issue: N/A
- Use HandleToUlong, UlongToHandle,
UlongToPtr etc. macros for type
casting.
- Remove redundant casts.
2024-07-29 07:15:44 +09:00
Katayama Hirofumi MZ
80c170d7bc
[IMM32][NTUSER] Reduce a little IMM spams ( #7077 )
...
Reduce log spams that @julenuri reported.
JIRA issue: CORE-19268
- Use Imm32IsCrossThreadAccess
instead of IS_CROSS_THREAD_HIMC in
ImmSetCompositionWindow function.
- Reduce ERR logging in
NtUserQueryInputContext function.
2024-07-05 05:07:49 +09:00
Katayama Hirofumi MZ
4225717dc9
[IMM32][NTUSER] Fix NtUserGetThreadState call of Imm32InquireIme
...
There was a mistake of parameter value for NtUserGetThreadState
call in Imm32InquireIme function. This affected the logon process.
JIRA issue: CORE-19320
- Replace THREADSTATE_ISWINLOGON2 with THREADSTATE_ISWINLOGON in
NtUserGetThreadState call in Imm32InquireIme function.
- Rename THREADSTATE_ISWINLOGON2 as THREADSTATE_UNKNOWN_0x10.
- Adapt NtUserGetThreadState to this change.
2024-05-28 23:17:22 +09:00
Katayama Hirofumi MZ
8f8db4ddb6
[MSCTFIME][IMM32][SDK] Implement CtfImeInquireExW ( #6187 )
...
- Use C++.
- Adapt INPUTCONTEXTDX to C++.
- Add some global variables.
- Add DllShutDownInProgress function.
- Add TLS class.
- Modify CtfImeInquireExW prototype.
- Modify Imm32InquireIme for
CtfImeInquireExW.
CORE-19360
2023-12-18 19:11:17 +09:00
Katayama Hirofumi MZ
17617221ce
[MSCTFIME][SDK][USER32] Add msctfime.ime (stub) ( #6141 )
...
## Overview
1. msctfime.ime is an IME file interface
for new-style IMEs a.k.a. "Text Input
Processors" (TIPs).
2. msctfime.ime is loaded as old-style
IME file at ImmLoadLayout in specific
condition.
3. msctfime.ime communicates with
the current TIP (This feature is not
implemented yet).
## Proposed changes
- Add msctfime module at dll/ime/msctfime.
- The functions in this module are currently
stub.
- Move IME file interface declarations from
<imm.h> to <ddk/immdev.h>.
- Modify ImmNotifyIME, NotifyIME, and
ImeProcessKey prototypes for x64
compliance.
CORE-19360
2023-12-11 22:37:25 +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
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
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
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
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
2865423abe
[IMM32] Minor fix of ImmSetCompositionWindow
...
CORE-11700
2022-10-21 11:29:47 +09:00
Katayama Hirofumi MZ
db16a1f783
[IMM32] ImmGetImeInfoEx minor fix
...
CORE-11700
2022-10-21 10:40:38 +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
f9b2b1a6cd
[IMM32] Use UNICODE_NULL for null characters
...
CORE-11700
2022-10-20 12:29:29 +09:00
Katayama Hirofumi MZ
a4fa5ef435
[IMM32] s/Ime32LoadImeDpi/Imm32LoadImeDpi/
...
Typo. CORE-11700
2022-09-08 10:50:49 +09:00
Katayama Hirofumi MZ
020d7d582f
[IMM32] Remove unnecessary NULL checks for function pointers
...
CORE-11700
2022-09-08 09:57:17 +09:00
Katayama Hirofumi MZ
8ba378c901
[IMM32] s/Imm32Is16BitMode/IS_16BIT_MODE/
...
CORE-11700
2022-09-08 09:43:43 +09:00
Katayama Hirofumi MZ
5b87c95e23
[IMM32] s/Imm32IsCiceroMode/IS_CICERO_MODE/
...
CORE-11700
2022-09-08 09:40:50 +09:00
Katayama Hirofumi MZ
85e292d58f
[NTUSER][USER32][IMM32] Initialize pKL->piiex by using ImmLoadLayout ( #4645 )
...
To recognize IME, we have to initialize pKL->piiex.
- Add co_ClientImmLoadLayout and User32CallImmLoadLayoutFromKernel functions to call imm32!ImmLoadLayout on user mode from kernel.
- Use co_ClientImmLoadLayout in NtUserLoadKeyboardLayoutEx.
- Improve Imm32LoadIME to sanitize the IME table.
CORE-11700
2022-09-05 08:34:00 +09:00
Katayama Hirofumi MZ
934e5212e4
[IMM32] Implement ImmWINNLSEnableIME ( #4599 )
...
- Implement imm32!ImmWINNLSEnableIME function.
- Rename CLIENTIMC_UNKNOWN3 flag as CLIENTIMC_DISABLEIME.
- Modify imm32.spec.
CORE-11700
2022-08-09 20:09:23 +09:00
Katayama Hirofumi MZ
bfe959e62c
[IMM32] Follow-up of #4588 ( ffbdb7d
)
...
CORE-11700
2022-07-23 12:42:54 +09:00
Katayama Hirofumi MZ
ffbdb7d39e
[IMM32][USER32] ImmPutImeMenuItemsIntoMappedFile ( #4588 )
...
Implement inter-process menu item retrieving.
CORE-11700
2022-07-23 05:58:17 +09:00
Serge Gautherie
03422451b3
[REACTOS] Add '\n' to debug logs
...
on TRACE, WARN, FIXME and ERR calls.
Plus a few nit picks.
2022-05-04 03:28:38 +03:00
Katayama Hirofumi MZ
b0b925d2b0
[IMM32] Add ValidateHandle function ( #4467 )
...
Set the last error on failure of handle validation.
CORE-11700
2022-04-23 08:16:53 +09:00
Katayama Hirofumi MZ
e5f637f93f
[IMM32] Add Win: comments more ( #4449 )
...
CORE-11700
2022-04-14 11:23:16 +09:00
Katayama Hirofumi MZ
bc8a4ac37b
[IMM32] Many renamings and 'Win:' info ( #4438 )
...
- Add many Win: comments.
- s/Imm32UnloadIME/Imm32FreeIME/
- s/Imm32LoadImeInfo/Imm32LoadIME/
- s/g_hImm32Inst/ghImm32Inst/
- s/Imm32AllocAndBuildHimcList/Imm32BuildHimcList/
- s/Imm32SelectLayout/Imm32SelectInputContext/
CORE-11700
2022-04-09 10:41:39 +09:00
Katayama Hirofumi MZ
c3fac567ca
[IMM32] Renaming: s/Imm32FreeImeDpi/Imm32UnloadIME/ ( #4435 )
...
Improve debuggability. CORE-11700
2022-04-08 19:50:41 +09:00
Katayama Hirofumi MZ
3c1697146f
[IMM32] Renaming: s/g_pImeDpiList/gpImeDpiList/ ( #4434 )
...
Improve debuggability. CORE-11700
2022-04-08 19:02:08 +09:00
Katayama Hirofumi MZ
895909e695
[IMM32] Renaming: s/g_csImeDpi/gcsImeDpi/ ( #4433 )
...
Improve debuggability. CORE-11700
2022-04-08 18:21:54 +09:00
Katayama Hirofumi MZ
97f4c3c3af
[IMM32] Renaming: s/ImmLockOrLoadImeDpi/Imm32FindOrLoadImeDpi/ ( #4422 )
...
- Rename ImmLockOrLoadImeDpi as Imm32FindOrLoadImeDpi.
- Imm32FindOrLoadImeDpi --> Win: FindOrLoadImeDpi.
CORE-11700
2022-03-31 19:35:31 +09:00
Katayama Hirofumi MZ
89846a2977
[IMM32] Renaming: worker functions ( #4420 )
...
Renaming: s/Imm32SetCompositionStringAW/ImmSetCompositionStringAW
Renaming: s/Imm32GetImeMenuItemsAW/ImmGetImeMenuItemsAW/
Renaming: s/Imm32RequestMessageAW/ImmRequestMessageAW/
CORE-11700
2022-03-31 14:34:08 +09:00
Katayama Hirofumi MZ
166786061c
[IMM32] Renaming about IME layout ( #4419 )
...
CORE-11700
2022-03-31 13:52:16 +09:00
Oleg Dubinskiy
5d81de7d5b
[REACTOS] Update email in all my copyrights ( #4415 )
...
Change it to Gmail, because Yandex disabled ua domain, which was used in my previous email.
2022-03-31 01:53:30 +02:00
Katayama Hirofumi MZ
46518ad601
[IMM32] Renaming: s/Imm32HeapAlloc/ImmLocalAlloc/
...
s/Imm32HeapFree/ImmLocalFree/
CORE-11700
2022-03-29 18:02:25 +09:00
Katayama Hirofumi MZ
356babcaf3
[IMM32] s/Imm32IsImmMode/IS_IMM_MODE/
...
CORE-11700
2022-01-27 07:34:29 +09:00
Katayama Hirofumi MZ
41b87158ff
[NTUSER] Improve NtUserGetThreadState ( #4300 )
...
- Improve enum ThreadStateRoutines.
- Improve NtUserGetThreadState function.
- Improve CLIENTIMC structure.
- Improve imm32 code.
CORE-17732
2022-01-20 11:49:27 +09:00
Katayama Hirofumi MZ
36740ca981
[NTUSER][IMM32] Implement NtUserGetImeInfoEx ( #4271 )
...
- Add UserGetImeInfoEx helper function.
- Implement NtUserGetImeInfoEx function by using UserGetImeInfoEx.
- Fix imm32.ImmGetImeInfoEx.
- Modify enum IMEINFOEXCLASS.
CORE-11700
2022-01-12 12:06:24 +09:00
Katayama Hirofumi MZ
cdf3b5e85a
[NTUSER] Implement NtUserQueryInputContext ( #4227 )
...
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
- Modify NtUserQueryInputContext prototype.
- Implement NtUserQueryInputContext function.
- Add enum QUERY_INPUT_CONTEXT (QIC_*) to undocuser.h.
CORE-11700
2022-01-01 20:56:50 +09:00
Katayama Hirofumi MZ
a37d9a4e14
[IMM32] Rewrite ImmInstallIMEW ( #4044 )
...
- Add Imm32StrToUInt and Imm32UIntToStr helper functions.
- Add Imm32LoadImeVerInfo, Imm32GetRegImes, Imm32WriteRegIme, Imm32GetNextHKL, Imm32CopyFile helper functions.
- Add REG_IME structure for registered IMEs.
- Rewrite ImmInstallIMEW function.
- Improve ImmLoadLayout and Imm32LoadImeInfo functions.
CORE-11700
2021-10-21 10:28:04 +09:00
Katayama Hirofumi MZ
b0d66e68c1
[IMM32] s/4/sizeof(DWORD)/
...
CORE-11700
2021-10-05 07:57:14 +09:00
Katayama Hirofumi MZ
66ef31494e
[IMM32] Implement ImmActivateLayout ( #3987 )
...
- Add IME_STATE and IME_SUBSTATE structures.
- Modify INPUTCONTEXTDX structure.
- Implement ImmActivateLayout function.
- Improve ImmDestroyContext function by using newly-defined Imm32FreeImeStates.
- Add Imm32FetchImeState, Imm32FetchImeSubState, Imm32LoadImeStateSentence, Imm32SaveImeStateSentence, and Imm32SelectLayout helper functions.
- Modify NtUserSetThreadLayoutHandles prototype.
CORE-11700
2021-10-04 07:33:15 +09:00
Katayama Hirofumi MZ
e6a51b54c4
[IMM32] Move ImmFreeLayout from ime.c to imm.c
...
CORE-11700
2021-10-01 03:10:26 +09:00
Katayama Hirofumi MZ
33affbfecb
[IMM32] Rewrite ImmGetImeMenuItemsA/W ( #3983 )
...
- Rewrite ImmGetImeMenuItemsA and ImmGetImeMenuItemsW functions.
- Add Imm32GetImeMenuItemsAW, Imm32IsImcAnsi, Imm32ImeMenuAnsiToWide and Imm32ImeMenuWideToAnsi helper functions.
- Make IME module's ImeGetImeMenuItems function optional.
CORE-11700
2021-10-01 03:04:00 +09:00
Katayama Hirofumi MZ
9adc538c9c
[IMM32] Rewrite ImmSetActiveContext ( #3982 )
...
- Re-implement ImmSetActiveContext function.
- Modify NtUserNotifyIMEStatus prototype.
- Improve ImmSetConversionStatus and ImmSetOpenStatus functions.
CORE-11700
2021-10-01 03:02:56 +09:00
Katayama Hirofumi MZ
a3c841f8e2
[IMM32] Implement ImmFreeLayout ( #3978 )
...
- Implement ImmFreeLayout function.
- Add Imm32ReleaseIME helper function.
CORE-11700
2021-09-28 22:02:30 +09:00
Katayama Hirofumi MZ
a415bd46b1
[IMM32] Trivial tiny improvements
...
CORE-11700
2021-09-27 09:37:14 +09:00
Katayama Hirofumi MZ
ca3fa7197d
[IMM32] Use Imm32IsImmMode and Imm32IsCiceroMode macros ( #3971 )
...
- Define Imm32IsImmMode, Imm32IsCiceroMode and Imm32Is16BitMode macros in "precomp.h".
- Improve Imm32InquireIme and Imm32CleanupContext functions.
- Add IME_SYSINFO_WINLOGON and IME_SYSINFO_WOW16 macros (from DDK) in psdk/imm.h.
- Modify CtfImeInquireExW and CtfImeSelectEx prototype.
CORE-11700
2021-09-24 22:06:29 +09:00