[KERNEL32][PSDK][NTVDM][CONSRV] Use now-documented ReadConsoleInputEx() flag names. Addendum to commit b8b8819c7 (r60920) ReadConsoleInputEx() and its flags used to be undocumented. In the meantime they became documented on MSDN, see: https://learn.microsoft.com/en-us/windows/console/readconsoleinputex We can therefore adopt these now-documented flag names.
[REACTOS] Standardize <imm.h> and <immdev.h> (#6493) Improve header compatibility and code quality. JIRA issue: CORE-19268 - Improve <imm.h> and <immdev.h> compatibility by correctly choosing the items. - Use <immdev.h> instead of <ddk/immdev.h>. - Move INPUTCONTEXTDX, IMEINFOEX, IMEDPI, and CLIENTIMC into <imm32_undoc.h>. - Adapt to these changes.
[CMD][SDK][WINSRV] DIR command: Consider double-width characters (#5442) The "dir /w" command didn't look good due to unaligned columns. - Add sdk/include/reactos/cjkcode.h header file. - Add ConGetTextWidthA/W helper functions. - Add base/shell/cmd/wcwidth.c to implement ConGetTextWidthW. - Use ConGetTextWidth in DirPrintWideList function. - Adjust some STRING_DIR_HELP5, STRING_DIR_HELP6 and STRING_DIR_HELP8 resource strings to make the column aligned. CORE-17591
[CONSRV] Work-around buggy WM_MOUSEMOVE events received when VBox Mouse Integration is enabled. (#5441) CORE-8394 These caused the "Ignore-next-mouse-event" mechanism of the console (used e.g. in QuickEdit mode for not triggering the appearance of the context menu, etc.) to not work. Please note that these buggy events, that arise when testing ReactOS in VirtualBox with Mouse Integration is enabled, do not show up when running instead Windows (2003, ...) in the same configured VM. Addendum to commits ac51557 (r63792) and 33d8a4b (r67218). Improved fix for the one reported in PR #5406 by contributor 'whindsaks', as it keeps the separation between the flag that manages the working-around of the bug, and the other flag that is used for ignoring the genuine next mouse event that follows mouse-button-down events.
[KBSWITCH][CPL:INPUT][NTUSER][EXPLORER] Fix keyboard layout icon (#4815) Fix keyboard layout icon in taskbar notification area. JIRA issue: CORE-11700, CORE-2699, CORE-18546 - Call ActivateKeyboardLayout to select the keyboard layout correctly. - Modify WM_INPUTLANGCHANGEREQUEST parameter. - Modify BroadcastSystemMessageW parameter. - Revert Taskbar Notification Area MA_NOACTIVATE HACK 8344291 . This fixes Context Menu display. - Load the "IME File" value and set the IME icon if necessary. - Correctly implement global hooks.
[TRANSLATION] Review & update Simplified Chinese (zh-CN) translation (#3933) Reviewed all Chinese Simplified translation files and updated those inappropriate or outdated ones. Co-authored-by: Liu Wenyuan <15816141883@163.com> Reviewed-by: Chan Chilung <eason066@gmail.com> Reviewed-by: He Yang <1160386205@qq.com> Reviewed-by: Zheng Jianping <robsean@126.com> Reviewed-by: Luo Yufan <njlyf2011@hotmail.com> Reviewed-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> Reviewed-by: Stanislav Motylkov <x86corez@gmail.com>
[TRANSLATION] Update Hong Kong Chinese (zh-HK) translation - Part 2 (#4347) - Added zh-HK translation for following files: - [BASE/SERVICES/W32TIME] - [BASE/SYSTEM/...] (except CMD console only applications) - [FDEBUG] - [DLL/CPL/...] (except Wine related applications) - [DLL/SHELLEXT/...] - [DLL/WIN32/...] (not all applications are translated, and Wine related applications are excluded from this part) - [MODULES/ROSAPPS/APPLICATIONS/...] (not all applications are translated) - [SCREENSAVERS] - [NTVDM] - [USERSRV] - Translation Improvement - Fix header for zh-TW and zh-HK translation files Reviewed-by: Luo Yufan <njlyf2011@hotmail.com> Reviewed-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org> Reviewed-by: Stanislav Motylkov <x86corez@gmail.com>
[CONCFG:FONT] Implement support for the Windows 10 "__DefaultTTFont__" special FaceName value. (#4337) This special value tells the console to default to whichever font is deemed most appropriate for the current code page. Add Doxygen documentation for FindCachedTTFont().
[CONCFG:FONT] Convert the TT_FONT_ENTRY structure to one similar to MS Terminal's _TT_FONT_LIST. (#4337) See the definition of struct _TT_FONT_LIST in https://github.com/microsoft/terminal/blob/main/dep/Console/winconp.h Add Doxygen documentation. [CONSOLE.CPL][CONSRV] "fonts cache" -> "font cache".
[CONCFG:FONT][CONSRV] Use a suitable font when changing console output CP; fail if none found. (#4337) CORE-12451, CORE-17601, CORE-17803 Replaces PR #4281. When changing the console output code page, check whether the current font can support it. If not, try to find a suitable font for the new code page. If none can be found: - if we are creating a new console, forcefully switch to codepage 437 (OEM USA) and retry finding a font, falling back to "Terminal" if none could be found; - if we were just changing the current CP, just fail and keep the old code page and font. Rework the console font selection/creation functions for this new job (see CreateConsoleFontEx() and friends). Elements of implementation based from https://github.com/microsoft/terminal ; see code for more information. Silence the noisy IsValidConsoleFont2() diagnostic messages. Add Doxygen documentation. [CONSOLE.CPL] Only add "Terminal" to the enumerated list of faces + add a TODO implementation comment.
[KERNEL32][CONSRV] Retrieve the best-suited language ID corresponding to the active console output code page. (#4301) CORE-17601, CORE-17803 Replaces PR #4281. Implement SrvGetConsoleLangId() (server-side) and set the new current thread's locale after connecting to a console, or changing its output code page. Based on API tracing on Windows 2003, as well as on comments and code gathered from: https://github.com/microsoft/terminal Tests results are listed in PR #4301.