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
Katayama Hirofumi MZ
df6fff78bb
[IMM32] Rewrite ImmAssociateContextEx ( #3961 )
...
- Rewrite ImmAssociateContextEx function.
- Modify NtUserAssociateInputContext prototype.
CORE-11700
2021-09-16 19:29:49 +09:00
Katayama Hirofumi MZ
afb6c8a129
[IMM32] Rewrite ImmEscapeA/W ( #3959 )
...
- Rewrite ImmEscapeA and ImmEscapeW functions.
- Delete useless legacy code.
CORE-11700
2021-09-16 19:27:43 +09:00
Katayama Hirofumi MZ
233c74e25a
[IMM32] Undefine IMS_... constants
...
CORE-11700
2021-09-14 09:47:51 +09:00
Katayama Hirofumi MZ
dc9c5826be
[IMM32] Rewrite ImmConfigureIMEA/W ( #3956 )
...
- Rewrite ImmConfigureIMEA and ImmConfigureIMEW functions.
- Add IMS_... macros for WM_IME_SYSTEM message, into <undocuser.h>.
- Delete useless strdupAtoW and strdupWtoA inline functions.
CORE-11700
2021-09-13 12:47:15 +09:00
Katayama Hirofumi MZ
b4557a60a9
[IMM32] Restructure! (Retry) ( #3952 )
...
The imm.c file became big and bloated, so we split the source file. CORE-11700
- Split the IMM32 code and do formatting.
2021-09-10 23:39:15 +09:00
Hermès Bélusca-Maïto
0233bb72b3
[IMM32] ValidateHwndNoErr(): Apply ReactOS-specific handle table array fixup. ( #3937 )
...
CORE-17741
This function (which should belong to the user32 helpers) depends on the
internal format of the USER handles table, that is ReactOS-specific. Its
pointer value is stored in the win32k/user32 shared info section, and
thus cannot be converted to user-space and stored back into that section.
Therefore it needs to be retrieved and manually converted when the function
is called.
2021-09-09 16:15:13 +02:00
Katayama Hirofumi MZ
a8d2cd4b9d
[IMM32] Rewrite ImmGetContext ( #3923 )
...
- Add ValidateHwndNoErr and Imm32GetContextEx helper functions.
- Rewrite ImmGetContext function by using the helper functions.
CORE-11700
2021-08-24 06:50:39 +09:00
Katayama Hirofumi MZ
2ab858c125
[USER32][IMM32] Improve User32InitializeImmEntryTable ( #3918 )
...
- Improve User32InitializeImmEntryTable function and related.
- Complete win32ss/user/user32/include/immtable.h table.
- Delete a hack in user32.DllMain and apply my magical tricks. This will fix some access violations in IMM32.
- Add some stubs into IMM32.
CORE-11700
2021-08-23 16:25:21 +09:00
Katayama Hirofumi MZ
d78e9fbb45
[IMM32] Implement ImmWINNLSGetIMEHotkey ( #3919 )
...
- Implement ImmWINNLSGetIMEHotkey function.
- Modify imm32.spec.
CORE-11700
2021-08-21 07:24:12 +09:00
Katayama Hirofumi MZ
1d0587fc27
[IMM32] Rewrite ImmProcessKey ( #3917 )
...
- Rewrite ImmProcessKey function.
- Modify win32ss/include/imetable.h.
- Modify ImmProcessKey prototype.
CORE-1170
2021-08-21 07:22:43 +09:00
Katayama Hirofumi MZ
c59c185d1c
[INCLUDE] Move WM_IME_SYSTEM from ntuser.h to undocuser.h ( #3920 )
...
CORE-11700
2021-08-19 08:18:20 +09:00
Katayama Hirofumi MZ
9a8049cb39
[IMM32] s/0x400/_WIN32_WINNT_NT4/
...
Don't use magic numbers. CORE-11700
2021-08-18 19:53:14 +09:00
Katayama Hirofumi MZ
f4bc74edc3
[IMM32] ImmGenerateMessage and ImmTranslateMessage ( #3914 )
...
- Rewrite `ImmGenerateMessage` and `ImmTranslateMessage` functions.
- Rename `INPUTCONTEXTDX.bHasVKey` as `bNeedsTrans`.
- Move `TRANSMSG` structure into `ntuser.h`.
- Add `TRANSMSGLIST` structure into `ntuser.h`.
- Add `UNDETERMINESTRUCT` structure to `ddk/imm.h`.
- Modify `NtUserGetAppImeLevel` prototype.
CORE-11700
2021-08-18 08:42:12 +09:00
Katayama Hirofumi MZ
db8dd3b35e
[IMM32] Refactor Part 2
...
Simplify the IMM32 code by deleting middle functions.
CORE-11700
2021-08-16 15:45:11 +09:00
Katayama Hirofumi MZ
77911014f3
[IMM32] Rewrite ImmIsUIMessageA/W ( #3907 )
...
- Rewrite ImmIsUIMessageA and ImmIsUIMessageW functions.
- Modify HIMC and HIMCC handle types for strictness. Add typecasts.
- Add WM_IME_SYSTEM macro.
- Modify imm32.spec.
CORE-11700
2021-08-16 15:33:51 +09:00
Katayama Hirofumi MZ
cc097ec485
[IMM32] Rewrite ImmEnumRegisterWordA/W ( #3906 )
...
- Rewrite ImmEnumRegisterWordA and ImmEnumRegisterWordW functions.
- Modify win32ss/include/imetable.h.
CORE-11700
2021-08-16 15:31:39 +09:00
Katayama Hirofumi MZ
911fc3cf5b
[IMM32] Delete Wine-specific functions ( #3902 )
...
We don't need Wine-specific functions for Japanese input.
- Delete __wine_get_ui_window, __wine_register_window and __wine_unregister_window functions.
- Modify imm32.spec.
CORE-11700
2021-08-14 10:42:02 +09:00
Katayama Hirofumi MZ
19d24143e9
[IMM32] Rewrite ImmGetRegisterWordStyleA/W ( #3901 )
...
- Rewrite ImmGetRegisterWordStyleA and ImmGetRegisterWordStyleW functions.
- Modify win32ss/include/imetable.h.
CORE-11700
2021-08-14 10:39:20 +09:00
Katayama Hirofumi MZ
1da5d7a305
[IMM32] Refactor and simplify code ( #3900 )
...
- Add Imm32WideFromAnsi, Imm32AnsiFromWide and Imm32IsCrossThreadAccess helper functions.
- Simplify the IMM32 code by using the helper functions.
CORE-11700
2021-08-14 10:38:06 +09:00
Katayama Hirofumi MZ
719823179d
[IMM32] Rewrite ImmGetProperty ( #3896 )
...
Implementing Japanese input... CORE-11700
2021-08-12 12:33:12 +09:00
Katayama Hirofumi MZ
ee22951c1a
[IMM32] Rewrite ImmGetConversionListA/W ( #3895 )
...
- Rewrite ImmGetConversionListA and ImmGetConversionListW functions.
- Delete useless convert_candidatelist_AtoW and convert_candidatelist_WtoA functions.
CORE-11700
2021-08-12 12:32:02 +09:00
Katayama Hirofumi MZ
9b7288df78
[IMM32] Rewrite ImmUnregisterWordW ( #3894 )
...
Implementing Japanese input... CORE-11700
2021-08-12 12:31:06 +09:00
Katayama Hirofumi MZ
1ead16de95
[IMM32] Rewrite ImmUnregisterWordA ( #3893 )
...
Implementing Japanese input... CORE-11700
2021-08-12 12:30:13 +09:00
Katayama Hirofumi MZ
94285dce4d
[IMM32] Rewrite ImmRegisterWordW ( #3892 )
...
Implementing Japanese input... CORE-11700
2021-08-12 12:29:02 +09:00
Katayama Hirofumi MZ
1e62771c78
[IMM32] Rewrite ImmRegisterWordA ( #3881 )
...
- Rewrite ImmRegisterWordA function.
- Modify imetable.h.
CORE-11700
2021-08-10 08:08:23 +09:00
Katayama Hirofumi MZ
6b24e73d41
[IMM32] Rewrite ImmGetVirtualKey ( #3889 )
...
Implementing Japanese input. CORE-11700
2021-08-10 08:03:32 +09:00
Katayama Hirofumi MZ
f486f87796
[IMM32] Delete useless ImmInternalSendIMENotify function
...
CORE-11700
2021-08-08 17:46:02 +09:00
Katayama Hirofumi MZ
7342ed1861
[IMM32] Rewrite ImmSetCompositionFontA/W ( #3886 )
...
- Rewrite ImmSetCompositionFontA and ImmSetCompositionFontW functions.
- Add INPUTCONTEXTDX structure as an extension of INPUTCONTEXT.
CORE-11700
2021-08-08 17:35:34 +09:00
Katayama Hirofumi MZ
0af58654a3
[IMM32] Rewrite ImmSetCandidateWindow ( #3884 )
...
Implementing Japanese input... CORE-11700
2021-08-08 08:34:47 +09:00
Katayama Hirofumi MZ
c0c9b1445d
[IMM32] Rewrite ImmSetConversionStatus ( #3879 )
...
CORE-11700
2021-08-06 07:15:19 +09:00
Katayama Hirofumi MZ
29b09d8935
[IMM32] Implement ImmGetGuideLineA/W ( #3877 )
...
Implement ImmGetGuideLineA and ImmGetGuideLineW functions. CORE-11700
2021-08-05 21:43:21 +09:00
Katayama Hirofumi MZ
1d9542d239
[IMM32] Remove function names from TRACEs
...
CORE-11700
2021-08-04 09:49:41 +09:00
Katayama Hirofumi MZ
692a30a84a
[IMM32] ImmCreateContext, ImmDestroyContext, DllMain etc. ( #3867 )
...
- Rewrite ImmCreateContext, ImmDestroyContext, and DllMain functions.
- Add g_hImm32Inst, g_bClientRegd, and g_SharedInfo global variables. Delete g_dwImm32Flags (that was g_psi->dwSRVIFlags).
- Implement ImmLoadIME and ImmRegisterClient functions.
- Modify CLIENTIMC and IMEDPI structures. Move CLIENTIMC definition into ntuser.h.
- Add file win32ss/include/imetable.h.
- Rename SRVINFO_METRICS macro as SRVINFO_CICERO_ENABLED.
CORE-11700
2021-08-04 09:41:59 +09:00
Katayama Hirofumi MZ
7507a8f192
[IMM32] Rewrite ImmInstallIMEA ( #3873 )
...
Implementing Japanese input... CORE-11700
2021-08-04 07:32:13 +09:00
Katayama Hirofumi MZ
d7f13aa696
[IMM32] Improve ImmSimulateHotKey ( #3858 )
...
- Improve ImmSimulateHotKey function.
- Modify IMEDPI structure.
CORE-11700
2021-07-31 15:56:11 +09:00
Katayama Hirofumi MZ
89cb8a38b3
[IMM32] Rewrite ImmEnumInputContext ( #3859 )
...
- Rewrite ImmEnumInputContext function.
- Modify NtUserBuildHimcList.
CORE-11700
2021-07-31 15:45:07 +09:00
Katayama Hirofumi MZ
e996662afb
[IMM32] s/idThread/dwThreadId/
...
- Rename idThread variable as dwThreadId.
- Rename idImeThread variable as dwImeThreadId.
CORE-11700
2021-07-29 08:21:33 +09:00
Katayama Hirofumi MZ
f972a9fbd5
[IMM32] Rewrite ImmSetCompositionWindow ( #3855 )
...
Implementing Japanese input... CORE-11700
2021-07-28 23:26:02 +09:00
Katayama Hirofumi MZ
8e1dea0c8c
[IMM32] Implement ImmLoadLayout ( #3854 )
...
Implementing Japanese input... CORE-11700
2021-07-28 23:25:10 +09:00
Katayama Hirofumi MZ
fb2aef9e4e
[IMM32] Rewrite ImmNotifyIME ( #3853 )
...
Implementing Japanese input... CORE-11700
2021-07-28 23:24:09 +09:00
Katayama Hirofumi MZ
a71de262d3
[IMM32] Rewrite ImmSetStatusWindowPos ( #3852 )
...
Implementing Japanese input... CORE-11700
2021-07-28 23:23:09 +09:00