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
Katayama Hirofumi MZ
e1f8b32c3d
[INCLUDE][USER32] Add WM_FINALDESTROY and improve ImeWndProcA/W
...
CORE-11700
2022-11-13 09:59:17 +09:00
Katayama Hirofumi MZ
c7e8b544bc
[USER32] Fix ImeWndProc_common comment
...
CORE-11700
2022-11-13 08:49:38 +09:00
Katayama Hirofumi MZ
0bc6bd6480
[NTGDI][NTUSER][INCLUDE] Add 'See also:' comments for structures ( #4872 )
...
Add 'See also' URLs to some undocumented structures.
2022-11-12 20:27:50 +09:00
Katayama Hirofumi MZ
40863aebc4
[NTUSER] Add 'Win:' comments around IntDefWindowProc
2022-11-10 15:59:52 +09:00
Katayama Hirofumi MZ
0484beb04b
[NTUSER] Don't redraw scrollbar if it is hidden ( #4849 )
...
Fix redrawing bug on Command Prompt. CORE-18593
2022-11-10 13:12:20 +09:00
Tony Lambregts
05d2935eed
[USER32] Fix bug in CharPrevExA().
...
Import Wine commit wine-20050111-258-gffc17dbe0d0:
ffc17dbe0d
Fixes 20 failing tests of user32:CharFuncs.
CORE-18415 CORE-18452
2022-11-07 20:36:06 +03:00
Stanislav Motylkov
59f0ed43b9
[USER32] Coding style fixes only
2022-11-07 20:30:02 +03:00
Thomas Faber
885459d8b4
[WIN32K:NTUSER] Fix parameter check in NtUserGetAsyncKeyState. CORE-18124
2022-10-30 10:46:33 -04:00
Katayama Hirofumi MZ
8f9283398a
[NTUSER] Add 'Win:' comment to InitThreadCallback
2022-10-29 14:08:15 +09:00
Katayama Hirofumi MZ
36f7d1a953
[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.
2022-10-29 07:35:19 +09:00
Katayama Hirofumi MZ
7a8ddbf147
[NTUSER] Support SM_DBCSENABLED and SM_IMMENABLED ( #4806 )
...
- Don't set SRVINFO_CICERO_ENABLED flag because we don't have Cicero support.
- Improve UserGetSystemMetrics for SM_DBCSENABLED and SM_IMMENABLED.
- Delete useless UserIsDBCSEnabled function.
CORE-11700
2022-10-27 21:53:58 +09:00
Jose Carlos Jesus
9701bbcf6d
[NTUSER] Fix issue when cursor/caret is static
...
Also remove the check that Windows doesn't do.
CORE-17929
2022-10-25 23:54:31 +03:00
Katayama Hirofumi MZ
67d8ffb60b
[USER32] Fix UpdatePerUserImmEnabling tracing bug
...
CORE-11700
2022-10-23 13:02:37 +09:00
Katayama Hirofumi MZ
39fe905efa
[NTUSER] Improve IntSetImeHotKey ( #4789 )
...
- Use the LOWORD value for VK_PACKET detection.
- IntGetImeHotKeyByKeyAndLang accepts the neutral language identifier (that is zero).
CORE-11700
2022-10-20 02:57:47 +09:00
Katayama Hirofumi MZ
774c3b3c92
[USER32] CliGetPreloadKeyboardLayouts: Use _ultow
...
CORE-11700
2022-10-19 17:52:31 +09:00
Katayama Hirofumi MZ
7523bf84a5
[USER32] Fix build; Appendum to 21feb52
...
CORE-11700
2022-10-19 17:40:40 +09:00