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
Thomas Faber
8b19b6ec5a
[GDI32] Fix memory leak in case of public DC. CORE-18498
2023-01-27 22:30:35 -05: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
Julio Carchi
a999c43746
[NTGDI] Check if face->charmap is not zero before accessing its encoding ( #4390 )
...
This allows DevExpress Ribbon Notepad sample to start.
Also add a fat DPRINT1 suggested by Timo Kreuzer,
because there is a lot wrong in the code.
CORE-18091 CORE-18558
2023-01-18 21:24:40 +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
Joachim Henze
83e1363065
[INF] More deduplication and style harmonization ( #4952 )
...
- deduplication of manufacturer strings
- at some places harmonizes the different length of separator lines within the same file, centers the words (as requested by hbelusca during review), harmonizes those lines to 74characters length each
- moving some strings that are not to be localized into the non-localization string section
- other minor formatting preferences coauthored by StasM
2022-12-28 02:26:17 +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
Serge Gautherie
8efde69a25
[WIN32K:NTGDI] PATH_PathToRegion(): Update documentation ( #4941 )
...
Addendum to 215e0d9
(r64177).
2022-12-22 01:27:51 +01:00
Timo Kreuzer
9762ef9480
[WIN32K] Workaround for broken/retarded (on non-x86) FLOATOBJ_GetFloat
...
The official definition in winddi.h always returns the result in an ULONG. This works to assign to a FLOATL on x86, which is also an ULONG, but it doesn't work on any other architecture, where FLOATL is actually a FLOAT, so the assignment would convert the ULONG encoding of the FLOAT to an actual float, which gives broken results. Work around this by simply replacing the definition with a sane one in win32k.
2022-12-13 07:18:24 +01:00
Timo Kreuzer
a206b55838
[WIN32K] Fix memory leak on failure in REGION_SetPolyPolygonRgn
2022-12-13 07:18:24 +01:00
Timo Kreuzer
4f0f5f6ff8
[WIN32K] Fix a bug in PATH_PathToRegion
2022-12-13 07:18:24 +01:00
Timo Kreuzer
84b09285c8
[WIN32K] Fix missing NULL check in NtGdiPathToRegion
2022-12-13 07:18:24 +01:00