Katayama Hirofumi MZ
6541c423f4
[IMM32] Add more 'Win:' comments ( #4423 )
...
CORE-11700
2022-03-31 19:36:11 +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
Katayama Hirofumi MZ
6dfe032152
[IMM32] Renaming: s/g_SharedInfo/gSharedInfo/ ( #4418 )
...
CORE-11700
2022-03-31 10:00:06 +09:00
Katayama Hirofumi MZ
ed765b7c3b
[IMM32] Renaming: s/pImmHeap/ghImmHeap/ ( #4416 )
...
CORE-11700
2022-03-31 09:11:13 +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
f8902dc327
[IMM32] Renaming: s/Imm32CleanupContext/Imm32DestroyInputContext/
...
CORE-11700
2022-03-29 19:02:56 +09:00
Katayama Hirofumi MZ
720da3b9be
[IMM32] Renaming: s/Imm32GetContextEx/ImmGetSaveContext/
...
CORE-11700
2022-03-29 18:05:09 +09: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
0d744afbc7
[IMM32] Renaming: s/g_hImm32Heap/pImmHeap/
...
CORE-11700
2022-03-29 17:59:23 +09:00
Katayama Hirofumi MZ
82fa82d8e1
[IMM32] Renaming: s/g_psi/gpsi/
...
CORE-11700
2022-03-29 17:57:28 +09:00
Katayama Hirofumi MZ
6ba810c08e
[IMM32] s/CLIENTIMC_UNKNOWN1/CLIENTIMC_DESTROY/
...
CORE-11700
2022-03-03 16:17:07 +09:00
Katayama Hirofumi MZ
f6317405f6
[IMM32] Silence "invalid HIMC" in Imm32CleanupContext
...
CORE-18049
2022-03-03 10:21:49 +09:00
Katayama Hirofumi MZ
cfeb498e4f
[NTUSER][IMM32] Fix ValidateHandleNoErr ( #4377 )
...
- Add DesktopPtrToUser helper function.
- Fix imm32.ValidateHandleNoErr function.
- Use DesktopHeapAlloc to allocate the IMC, instead of ExAllocatePoolWithTag.
- Use DesktopHeapFree to free the IMC, instead of ExFreePoolWithTag.
CORE-11700, CORE-18049
2022-03-03 09:43:05 +09:00
Katayama Hirofumi MZ
45a4e53fa4
[NTUSER][IMM32] Use Imm32CurrentPti and pool ( #4356 )
...
- Use newly-defined Imm32CurrentPti() instead of NtCurrentTeb()->Win32ThreadInfo.
- THREADSTATE_GETTHREADINFO is same as THREADSTATE_UNKNOWN18.
- Use the paged pool to allocate HIMC rather than heap.
- Fix and improve ImmDestroyContext function.
CORE-11700
2022-02-13 15:51:53 +09:00
Katayama Hirofumi MZ
8cdfc245b3
[IMM32] Implement ImmWINNLSGetEnableStatus
...
CORE-11700
2022-02-10 15:18:44 +09:00
Katayama Hirofumi MZ
cf32c7cb5e
[IMM32] Implement ImmSendMessageToActiveDefImeWndW
...
CORE-11700
2022-02-10 15:05:59 +09:00
Katayama Hirofumi MZ
df8c74e78b
[INCLUDE] Rename <ddk/imm.h> as <ddk/immdev.h> ( #4321 )
...
- Rename <ddk/imm.h> as <ddk/immdev.h>.
- Delete sdk/include/reactos/wine/imm.h (this header is confusing and nonsense).
- Changes related to it.
CORE-11700
2022-01-30 09:38:04 +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
d5deacd903
[NTUSER] Implement NtUserCreateInputContext ( #4230 )
...
- Modify NtUserCreateInputContext prototype.
- Add UserCreateInputContext helper function.
- Implement NtUserCreateInputContext function by using UserCreateInputContext.
- Call UserCreateInputContext(0) in InitThreadCallback function to create the default input context.
CORE-11700
2022-01-01 20:59:00 +09:00
Katayama Hirofumi MZ
ba3affe5f7
[NTUSER] Implement NtUserUpdateInputContext ( #4228 )
...
- Modify NtUserUpdateInputContext prototype.
- Implement NtUserUpdateInputContext function.
- Add enum UPDATE_INPUT_CONTEXT (UIC_*) to undocuser.h.
CORE-11700
2022-01-01 20:57:51 +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
5b74737532
[IMM32] Forward ImmSetHotKey to USER32.CliImmSetHotKey ( #4075 )
...
- Modify imm32.spec.
CORE-11700
2021-10-27 08:40:15 +09:00
Katayama Hirofumi MZ
9455defbd3
[IMM32] Remove old code of Imm32StrToUInt and Imm32UIntToStr
...
CORE-11700
2021-10-23 12:13:19 +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
aa8fc872a0
[IMM32][IMM32_WINETEST] Re-implement ImmSetCompositionStringA/W ( #4040 )
...
- Modify ImmSetCompositionStringA and ImmSetCompositionStringW prototypes (removing const of two arguments).
- Add Imm32OpenICAndCS helper function.
- Implement Imm32SetCompositionStringAW function.
- Modify imm32_winetest (due to removal of const).
CORE-11700
2021-10-17 19:32:48 +09:00
Katayama Hirofumi MZ
04cb13bc57
[IMM32] Refactor about reconversion ( #4031 )
...
- Delete Imm32ReconvertSize and Imm32ConvertReconvert helper functions.
- Add Imm32ReconvertAnsiFromWide and Imm32ReconvertWideFromAnsi helper functions.
CORE-11700
2021-10-15 22:46:58 +09:00
Katayama Hirofumi MZ
fec35dc893
[IMM32] Improve IchWideFromAnsi and IchAnsiFromWide ( #4028 )
...
- Use LONG instead of DWORD for indexing and counting the characters.
- Use the sign for the loop condition.
- Add NUL check.
CORE-11700
2021-10-15 10:31:08 +09:00
Katayama Hirofumi MZ
bfb7bd05a4
[IMM32] Re-implement ImmGetCompositionStringA/W ( #4026 )
...
- Re-implement ImmGetCompositionStringA and ImmGetCompositionStringW functions.
- Add Imm32CompStrAnsiToWide, Imm32CompStrWideToAnsi, Imm32CompAttrWideToAnsi, Imm32CompAttrAnsiToWide, Imm32CompClauseAnsiToWide, and Imm32CompClauseWideToAnsi helper functions.
CORE-11700
2021-10-14 08:07:06 +09:00
Katayama Hirofumi MZ
d14d3dedcb
[IMM32] Move Imm(Get|Set)CompositionStringA/W ( #4021 )
...
- Add new file compstr.c.
- Move ImmGetCompositionStringA, ImmGetCompositionStringW, ImmSetCompositionStringA, and ImmSetCompositionStringW functions into compstr.c.
- Half-implement ImmGetCompositionStringA/W.
CORE-11700
2021-10-12 13:10:01 +09:00
Katayama Hirofumi MZ
264a128f03
[IMM32] Rewrite ImmRequestMessageA/W ( #4002 )
...
- Re-implement ImmRequestMessageA and ImmRequestMessageW functions.
- Add IchWideFromAnsi, IchAnsiFromWide, Imm32RequestError, Imm32ReconvertSize, Imm32ConvertReconvert, and Imm32ProcessRequest helper functions.
CORE-11700
2021-10-09 07:40:56 +09:00
Katayama Hirofumi MZ
e6fd41d078
[IMM32] Implement ImmSystemHandler ( #3998 )
...
- Implement ImmSystemHandler function.
- Add Imm32UnknownProcess1 and Imm32SendChange helper functions.
CORE-11700
2021-10-05 21:31:53 +09:00
Katayama Hirofumi MZ
4f006ec74b
[IMM32] Add IMP stub functions ( #3989 )
...
- Add IMP (Input Method Profiler) stub functions (ImmIMPGetIMEA/W, ImmIMPQueryIMEA/W, ImmIMPSetIMEA/W).
- Add ImmSendIMEMessageExA/W stub functions.
- Rename nt3.c as win3.c.
The prototypes can be obtained from: https://doxygen.reactos.org/dc/d20/winnls32_8h.html .
The Japanese article of IMP is available: http://www7a.biglobe.ne.jp/~tsuneoka/win32tech/7.html
CORE-11700
2021-10-05 14:07:58 +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
f5bbd57d73
[IMM32] GetKeyboardLayout's parameter is a thread id
...
s/dwLayout/dwThreadId/
CORE-11700
2021-10-01 03:13:52 +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
ef003fa47d
[IMM32] Rewrite ImmAssociateContext ( #3979 )
...
CORE-11700
2021-09-28 22:03:25 +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
b3382d8d24
[IMM32] Rewrite ImmLockIMC ( #3975 )
...
- Add Imm32InitContext and Imm32LockIMCEx helper functions.
- Re-implement ImmLockIMC function.
- Modify CLIENTIMC and INPUTCONTEXTDX structures.
CORE-11700
2021-09-27 09:32:24 +09:00
Katayama Hirofumi MZ
be9a788f8b
[IMM32] Improve Imm32CleanupContext and ImmLockClientImc ( #3974 )
...
- Improve Imm32CleanupContext and ImmLockClientImc functions.
- Add ValidateHandleNoErr and Imm32CheckImcProcess helper functions.
CORE-11700
2021-09-27 09:31:16 +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
Katayama Hirofumi MZ
e0da6437a1
[IMM32] Define ImeDpi_IsUnicode macro and use it ( #3964 )
...
- Define ImeDpi_IsUnicode macro in precomp.h.
- Use it.
CORE-11700
2021-09-21 12:20:10 +09:00
Katayama Hirofumi MZ
5b522667a6
[IMM32] Define Imm32HeapFree macro and use it ( #3962 )
...
- Define Imm32HeapFree macro in precomp.h and use it.
- Omit some NULL checks (for HeapFree).
CORE-11700
2021-09-19 01:52:05 +09:00