Thamatip Chitpong
640e2283d4
[NTUSER] VerifyWnd: Remove pointless SEH and simplify the function ( #5125 )
2023-03-23 10:22:10 +01:00
Katayama Hirofumi MZ
8d26b03775
[COMCTL32][USER32] EDIT: Half-implement WM_IME_SETCONTEXT handling ( #5182 )
...
Add WM_IME_SETCONTEXT handling to the window procedure of the EDIT control. CORE-11700, CORE-15289
2023-03-23 12:24:40 +09:00
Katayama Hirofumi MZ
b25daf4b56
[COMCTL32][USER32] EDIT: Half-implement WM_IME_STARTCOMPOSITION ( #5183 )
...
Improve WM_IME_STARTCOMPOSITION handling in the window procedure of the EDIT control. CORE-15289, CORE-11700
2023-03-23 12:24:00 +09:00
Katayama Hirofumi MZ
be518f9f5a
[COMCTL32][USER32] EDIT: Default processing on WM_IME_SELECT/WM_IME_CONTROL ( #5173 )
...
Do default processing on WM_IME_SELECT and WM_IME_CONTROL messages in EDIT controls. CORE-11700, CORE-15289
2023-03-22 09:09:38 +09:00
Katayama Hirofumi MZ
1ef98fff3b
[NTUSER] ime.c: Add parameter to ERR(...)
...
Follow-up of 94f22bd
.
CORE-11700
2023-03-21 07:21:31 +09:00
Katayama Hirofumi MZ
94f22bda27
[NTUSER] ime.c: Add ERR(...) to the exception handlers
...
CORE-11700
2023-03-20 19:12:25 +09:00
Katayama Hirofumi MZ
0694b559da
[NTUSER] NtUserSetImeInfoEx: Use _SEH2_YIELD
...
CORE-11700
2023-03-20 19:10:04 +09:00
Katayama Hirofumi MZ
ed5098b2c9
[NTUSER] NtUserGetImeInfoEx: Use _SEH2_YIELD
...
CORE-11700
2023-03-20 19:08:38 +09:00
Katayama Hirofumi MZ
ef20cc081f
[NTUSER] NtUserBuildHimcList: Use _SEH2_YIELD
...
CORE-11700
2023-03-20 19:06:44 +09:00
Katayama Hirofumi MZ
b301333517
[NTUSER] NtUserGetImeHotKey: Use _SEH2_YIELD
...
CORE-11700
2023-03-20 19:04:18 +09:00
Katayama Hirofumi MZ
9751d03c3b
[NTUSER] IntSendMessageToUI: Use _SEH2_YIELD
...
CORE-11700
2023-03-20 18:59:42 +09:00
Katayama Hirofumi MZ
4ab7c93b35
[NTUSER] IntNotifyImeShowStatus: Use _SEH2_YIELD
...
CORE-11700
2023-03-20 18:49:23 +09:00
Joachim Henze
2aea4ab945
[NTUSER] Scrollbar.c pure whitespace fixes
...
The scrollbar code is now finally in a good shape.
Therefore I will port the current state back today,
and for that I want to have the formatting in good shape.
No functional changes!
2023-03-12 10:34:50 +01:00
Katayama Hirofumi MZ
b9ef348ab0
[NTUSER][USER32] KLF_SETFORPROCESS for ActivateKeyboardLayout ( #5126 )
...
Supporting KLF_SETFORPROCESS flag in ActivateKeyboardLayout function.
Implement KLF_SETFORPROCESS for co_UserActivateKeyboardLayout.
Use KLF_SETFORPROCESS flag in WM_INPUTLANGCHANGEREQUEST handling.
Add co_IntSetKeyboardLayoutForProcess helper function.
2023-03-12 13:39:41 +09:00
Thomas Faber
8e0c920fd2
[WINESYNC] user32/edit: Allow buffer access after EM_GETHANDLE.
...
wine commit id f62d8dc58fb3fb5f11a8ab55620ab9b2fbdaf967 by Nikolay Sivov <nsivov@codeweavers.com>
2023-03-07 21:48:06 -05:00
Katayama Hirofumi MZ
77e6348f5f
[NTUSER][USER32] Refactor NtUserLoadKeyboardLayoutEx ( #5107 )
...
- Split some code of NtUserLoadKeyboardLayoutEx to newly-added co_IntLoadKeyboardLayoutEx helper function.
- Modify NtUserLoadKeyboardLayoutEx prototype.
- Move co_UserImmLoadLayout code.
- Implement KLF_REORDER.
- Rename UserLoadKbdLayout as co_UserLoadKbdLayout.
- Improve LoadKeyboardLayoutEx.
CORE-11700
2023-03-05 11:41:32 +09:00
Doug Lyons
60851914a8
Fix ICO_ExtractIconExW causing explorer to crash when trying
...
to display icon for bad EXE PE header.
See CORE-15879
Co-authored-by: Thomas Faber <thomas.faber@reactos.org>
2023-02-27 22:28:41 +01:00
Mark Jansen
76753cd342
[USER32] Fix edit UAF by importing wine commit b40ddf42370e8344a862fbbc40384678db3871a9
2023-02-25 23:41:41 +01:00
Katayama Hirofumi MZ
95a64cbdd2
[NTUSER] Send WM_IME_SYSTEM:IMS_UPDATEIMEUI ( #5075 )
...
Send WM_IME_SYSTEM:IMS_UPDATEIMEUI message after window position change to improve IME UI sync. CORE-11700, CORE-15289
2023-02-22 08:35:55 +09:00
Joachim Henze
d04e148d1c
[NTUSER] Optimize Window Snap Disabling ( #5061 )
2023-02-16 19:33:37 +01:00
Suleyman Poyraz
2ea56af2e8
[TRANSLATION] Add/Update Turkish (tr-TR) translations ( #4959 )
...
Programs: at, charmap, diskpart, drwtsn32, explorer, fc, fontview, format, reg, timeout, where, wmic,
mspaint, regedit, runas, rundll32, subst, utilman, umandlg, w32time, winlogon
Tools: arping, vgafontedit, explorer-old, fraginator, fontsub, systeminfo, vcdcontroltool
CPLs: desk, hotplug, input, sysdm
DLLs: newdev, syssetup, user32
Themes: lunar
Screensavers: blankscr, butterflies, circles, cylfrac, matrix, mazescr, ssstars, starfield
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
Co-authored-by: Stanislav Motylkov <x86corez@gmail.com>
2023-02-15 17:29:52 +01:00
Thamatip Chitpong
0fee1fc80c
[NTUSER] IntWinListOwnedPopups: Exclude default IME window from the list ( #5069 )
...
And in IntShowOwnedPopups: Remove the window owner check hack as it's no longer needed.
Based on my observation, the owner of the default IME window can change and it depends on
the window that is being focused.
CORE-18659
CORE-18768
2023-02-14 21:57:41 +01:00
Katayama Hirofumi MZ
7014f63057
[NTUSER] Add 'Win:' comments to co_UserHideCaret and co_UserShowCaret
...
CORE-11700
2023-02-14 10:57:25 +09:00
Katayama Hirofumi MZ
73c1a8d19f
[NTUSER] Add 'Win:' comment to IntRealChildWindowFromPoint
...
CORE-11700
2023-02-14 10:45:19 +09:00
Katayama Hirofumi MZ
83b8cb96f7
[NTUSER] Add 'Win:' comment to IntChildWindowFromPointEx
...
CORE-11700
2023-02-14 10:43:37 +09:00
Katayama Hirofumi MZ
798d0352a0
[NTUSER] Add 'Win:' comment to IntDeferWindowPos
...
CORE-11700
2023-02-14 10:39:26 +09:00
Katayama Hirofumi MZ
9140300c2a
[NTUSER] Add 'Win:' comment to IntEndDeferWindowPosEx
...
CORE-11700
2023-02-14 10:30:22 +09:00
Doug Lyons
57eb2a6bf4
[NTUSER] Missing "X" on "Folder" pane when Right Click > Explore from Desktop icons & Rapps toolbar errors ( #5068 )
...
Fix for right-clicking on 'My Computer' and selecting 'explore' and there is no 'X' for the title bar in the Folders pane
Also fixes Rapps missing toolbar combo box and edit box controls that were not displayed.
This is a complete revert of #4995 (commit 7866eb2
) while still retaining its fixes.
CORE-18830, CORE-18817
Co-authored-by: I_Kill_Bugs
2023-02-13 15:27:40 +01:00
Joachim Henze
5ad5737370
[NTUSER] Delete temporary workarounds in co_IntSetScrollInfo() ( #4985 )
...
fixes JIRA issue: CORE-18050
improves the code by removing ancient hacks (the static variables)
reduces testbot failures
VBox: https://reactos.org/testman/compare.php?ids=85831,85832 LGTM (-2 failures in user32:scroll for both bots)
KVM: https://reactos.org/testman/compare.php?ids=85829,85833 LGTM (-2 failures in user32:scroll for both bots)
co-authored by Doug-Lyons
2023-02-12 00:35:27 +01:00
Joachim Henze
09dde2cff9
[REACTOS] " http://www.reactos " -> " https://reactos " ( #5043 )
...
To harmonize, to save some bytes, and last but not least for security reasons.
This can be understood as an addendum to (#2619 ).
2023-02-06 17:01:52 +03:00
Katayama Hirofumi MZ
ea55101aad
[NTUSER] Allow Window Snap to be disabled ( #5014 )
...
- Add IntIsWindowSnapEnabled helper function that reads registry value WindowArrangementActive.
- Check the registry and store the value to newly-added g_bWindowSnapEnabled global variable on startup.
- Check the global variable before Window Snap.
Win+Left, Win+Right, Win+Up, and Win+Down can be disabled by registry value WindowArrangementActive.
Snapping mouse can be also disabled. CORE-16379
2023-02-01 18:13:32 +09:00
Julen Urizar Compains
8866b9d7b0
Update win32ss/user/ntuser/winpos.c
...
Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
2023-01-31 01:08:45 +01:00
Julen Urizar Compains
7866eb2886
[WIN32SS] Fix winpos hyperlink&images loop rendering (CORE-7652)
2023-01-31 01:08:45 +01:00
Katayama Hirofumi MZ
c3644fd4d3
[NTUSER] Move IME window creation code ( #5009 )
...
Move the code that creates the default IME window, from IntCreateWindow to co_UserCreateWindowEx, just before sending WM_NCCALCSIZE message.
CORE-18723 CORE-18754 CORE-18773 CORE-18785 CORE-18802 CORE-18803
2023-01-30 12:19:39 +09:00
Katayama Hirofumi MZ
d992c07239
[NTUSER] Check IME-like after WNDS_DESTROYED check ( #5005 )
...
The guilty commit a2c6af0
enabled the IMM mode. So we have to take care of the default IME windows.
Using IS_WND_IMELIKE against WNDS_DESTROYED window was the cause of BSoD. CORE-18777
2023-01-23 12:22:54 +09:00
Roy Tam
0bab3a1048
[NTUSER][USER32] Set WM_CONTEXTMENU's wParam to the child window's handle
...
Cherry-picked from 3af8415ca9
CORE-18801
2023-01-22 22:18:11 +03:00
Thamatip Chitpong
74c45e0975
[WIN32K:NTUSER] ValidateHwndNoErr: Fix window handle validation ( #4981 )
...
Also check window state. Addendum to 4d48b88b
.
2023-01-22 17:44:52 +03:00
Denis Malikov
669b2f4465
[WIN32SS:NTUSER] restore snapped window to normal size by dragging window caption
...
CORE-15638
2023-01-08 22:49:59 +03:00
Timo Kreuzer
abb75b6214
[WIN32K] Add some NULL checks for THREADINFO::rpdesk
...
rpdesk should probably never be NULL, but it happens in rare circumstances, like csrss being terminated.
2023-01-04 10:32:28 +01:00
Timo Kreuzer
e56da4854f
[WIN32K] Properly reference owner window
2023-01-04 10:32:28 +01:00
Jose Carlos Jesus
f59304098d
[SHELL32][USER32] Improve pt-PT translation
2022-12-22 23:18:57 +01:00
Thamatip Chitpong
ca9ded7af8
[NTUSER] Fix zombie window created by CTRL+ALT+DEL ( #4935 )
...
Based on patch by I_Kill_Bugs. CORE-18258
See also commit 58b0558f9
.
2022-12-22 01:38:53 +01:00
Katayama Hirofumi MZ
1fbed1710e
[NTUSER] Fix SetActiveWindow return value
...
Apply set-active.patch. CORE-13257
2022-12-04 08:58:34 +09:00
Zebediah Figura
0828e16462
[WINESYNC][USER32] MDI_AugmentFrameMenu(): Use GetSysColorBrush()
...
Import applicable part of wine-4.7 commit:
8d251a1dd1
Follow-up to 0.4.15-dev-5248-g be014129a5
.
2022-11-21 23:08:09 +03:00
Katayama Hirofumi MZ
7cc89e520c
[NTUSER] Implement IntCheckImeShowStatusInThread
...
CORE-11700
2022-11-17 10:27:12 +09:00
Hervé Poussineau
0ecd997bdf
[WIN32SS:NTUSER] Extract InitVideo() prototype and gbBaseVideo variable to header
2022-11-15 23:15:26 +01:00
Katayama Hirofumi MZ
a2c6af0da4
[BOOTDATA][NTUSER] Add UserIsIMMEnabled and use it ( #4882 )
...
This PR enables SRVINFO_IMM32 also for non-CJK. You can disable this flag by setting zero to the LoadIMM registry value if you're non-CJK.
CORE-11700
2022-11-15 17:10:06 +09:00
Joachim Henze
1dd9d2ef37
[NTUSER][USER32] Classic Theme: disabled "checked" checkboxes should be grey ( #4874 )
...
Classic Theme: disabled "checked" checkboxes should be grey CORE-18609
and not black, like they erroneously were.
This patch does not seem to have any impact on how they are rendered
for themed ros.
Ftr: We experimented also with COLOR_GRAYTEXT instead of COLOR_BTNSHADOW
but that did result in incorrect drawing of disabled "checked" checkboxes for
the 'High Contrast' Color Schemes.
2022-11-14 00:01:29 +01:00
Stanislav Motylkov
51f78918da
[USER32] Rewrite CharPrev(Ex)A functions and fix tests ( #4860 )
...
Fixes 48 failing tests of user32:CharFuncs.
Only 12 minor failing tests are left!
Thanks to Simone Mario Lombardo for the problem analysis!
CORE-18415 CORE-18452
2022-11-13 13:22:26 +03:00
Katayama Hirofumi MZ
6b53f6d824
[USER32] Follow-up of e1f8b32; Delete unnecessary empty line
...
CORE-11700
2022-11-13 11:50:54 +09:00