Commit graph

76416 commits

Author SHA1 Message Date
jimtabor 5214a38fd0 [Win32SS] Fix Opaque Text Fade while in Desktop Startup
See CORE-16498.
2019-12-09 11:18:32 -06:00
Katayama Hirofumi MZ 1793dcc864
[NTUSER] Improve loading settings (SystemParamtersInfo) (#2139)
Fix SPI_GETSCREENSAVETIMEOUT, SPI_GETKEYBOARDSPEED and SPI_GETKEYBOARDDELAY values. CORE-16547
2019-12-09 10:50:04 +09:00
Tibor Lajos Füzi 74ec76df08 [TRANSLATION] Fix hungarian translation for usetup & syssetup to use formal addressing / conjugation (#2138) 2019-12-09 02:09:31 +01:00
Katayama Hirofumi MZ d2ae609522
[USER32_APITEST] Add DrawText testcase (#2140)
This PR will add a testcase for user32!DrawText function. CORE-15478
2019-12-09 10:02:50 +09:00
Eric Kohl 989ee70d9d [WKSSVC] Implement parts of NetrJoinDomain2 to join a work group
NOTE: We can not connect to a work group yet!
2019-12-08 19:19:27 +01:00
Thomas Faber e85f436a50
[LIBMPG123] Update to version 1.25.13. CORE-16550 2019-12-08 16:50:00 +01:00
Thomas Faber f87faf6703
[LIBTIFF] Update to version 4.1.0. CORE-16550 2019-12-08 16:49:57 +01:00
Eric Kohl 18a6d7c36f [NETAPI32] Add RPC binding code to remaining functions that require explicit binding 2019-12-08 12:48:28 +01:00
Katayama Hirofumi MZ 9525593660 [MEDIA][FONTS] Improve tahomabd.ttf (Latin) No.35
Tahoma Bold.
Version 0.021 khmz.
11px LATIN CAPITAL LETTER B (again).
CORE-8408
2019-12-08 19:30:51 +09:00
Eric Kohl 3fe3f9acc7 [NETAPI32] Add RPC binding code to functions that require explicit binding 2019-12-08 10:52:37 +01:00
Katayama Hirofumi MZ 94f92b0b2e [MEDIA][FONTS] Improve tahomabd.ttf (Latin) No.34
Tahoma Bold.
Version 0.020 khmz.
11px LATIN CAPITAL LETTER B.
CORE-8408
2019-12-08 18:00:00 +09:00
Katayama Hirofumi MZ 2a1ba2cb35 [MMIXER_TEST] Fix build (Use %Iu for dwUser) 2019-12-08 13:11:52 +09:00
Katayama Hirofumi MZ 312d52277a [WINMM_WINETEST][SDK][INCLUDE] Try to fix MSVC winmm:generated build 2019-12-08 12:45:51 +09:00
Hermès Bélusca-Maïto 40db385716
[WINLOGON] Start the screensaver on the user desktop, since support for secure screensaver desktop is not completely implemented in Winlogon. CORE-16548 2019-12-08 02:27:21 +01:00
Eric Kohl 0a80b30ad2 [PSDK] Replace the wine version of lmjoin.h by an extended version that includes NetJoinDomain and NetUnjoinDomain. 2019-12-08 02:03:26 +01:00
Katayama Hirofumi MZ 257e7307b4
[SHELL32] Fix hung-up of shell32:shlfileop (#2136)
#2085 caused some failures and hung-up in shell32:shlfileop testcase. This PR will fix it.
CORE-16546
2019-12-08 07:58:14 +09:00
Joachim Henze bd149e8a11 [CONSRV] Speed up console txt output CORE-16187
By demoting good-path DPRINT1 to DPRINT.
HBelusca agreed.

The more important commit to solve CORE-16187 has
been done beforehand in 0.4.14-dev-553-g
1dcdb4c2d0
2019-12-07 18:35:06 +01:00
Amine Khaldi 22584b1c68 [WSHOM_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:12:15 +01:00
Amine Khaldi 8e3284089b [WSHOM.OCX] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:11:52 +01:00
Amine Khaldi ebaf247c9e [WMVCORE_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:11:29 +01:00
Amine Khaldi 7c3b31ddcc [WMVCORE] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:11:07 +01:00
Amine Khaldi edd70d1aa6 [PSDK] Update wmsdkidl.idl. CORE-16441 2019-12-07 13:10:44 +01:00
Amine Khaldi 7a123aad7f [WMIUTILS_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:10:23 +01:00
Amine Khaldi bd00327109 [WMIUTILS] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:10:01 +01:00
Amine Khaldi 6b9bd93fe6 [WLDAP32] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:09:39 +01:00
Amine Khaldi cb01e5ecac [WINTRUST_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:09:17 +01:00
Amine Khaldi d296bbebbe [WINTRUST] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:08:52 +01:00
Amine Khaldi a2da235c67 [WINSPOOL_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:08:30 +01:00
Amine Khaldi 79d5eedcb4 [WINSCARD] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:08:06 +01:00
Amine Khaldi 11f4618984 [WINMM_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:07:44 +01:00
Amine Khaldi a4f791d920 [WININET_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:07:21 +01:00
Amine Khaldi 56601978c4 [PSDK] Add missing define. CORE-16441 2019-12-07 13:06:57 +01:00
Amine Khaldi c239cdd4e6 [WININET] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:06:34 +01:00
Amine Khaldi 412bce85f2 [WINHTTP_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:06:11 +01:00
Amine Khaldi 5bd6580fc6 [WINHTTP] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:05:48 +01:00
Amine Khaldi 611eb5508c [WINEMP3.ACM] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:05:25 +01:00
Amine Khaldi cc48f9d4d6 [WINDOWSCODECS_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:05:00 +01:00
Amine Khaldi f6a1733daf [WINDOWSCODECS] Sync with Wine Staging 4.18. CORE-16441 2019-12-07 13:04:33 +01:00
Katayama Hirofumi MZ 4c5b21f06c
[REGEDIT] Improve arrow button visual (#2133)
Add IDI_ARROW resource icon and use it for the arrow button.
2019-12-07 10:09:44 +09:00
Katayama Hirofumi MZ 007f32a223
[WIN32SS][WINSRV] Do CJK font choose workaround (#2134)
Don't choose Asian charset font if there is no preferred font for CJK. CORE-12451
2019-12-06 22:18:51 +09:00
Katayama Hirofumi MZ 2f8d847c91
[KERNEL32_APITEST] Adjust ConsoleCP testcase for Win10 JPN (#2131)
CORE-12451
2019-12-05 22:07:00 +09:00
Katayama Hirofumi MZ 1dcdb4c2d0
[WIN32SS][WINSRV] Optimize console background drawing (#2132)
Console needs speed. This PR will optimize drawing of console.
- Set NULL to the background brush.
- Skip WM_ERASEBKGND.
2019-12-05 20:19:00 +09:00
Katayama Hirofumi MZ 2fad488a85
[SHELL32] Add 'm_' prefix to CFSFolder members (#2129)
CORE-7585
2019-12-05 05:35:25 +09:00
Timo Kreuzer e26c8bc66f [ROSTESTS] Skip some flaky test / do not count successes 2019-12-04 01:24:49 +01:00
Katayama Hirofumi MZ c082d08cf3 [SHELL32] Delete unused CNewMenu::m_wszPath 2019-12-03 13:46:35 +09:00
Hermès Bélusca-Maïto 4431418999
[VIDEOPRT] Protect access to HwResetAdaptersList with spinlock. 2019-12-03 02:46:38 +01:00
Serge Gautherie ad21227ac8
[NTOS:PO] PopShutdownHandler(): Fully screen-center images. Addendum to 55aed4f8.
CORE-16342
2019-12-03 02:10:37 +01:00
Katayama Hirofumi MZ 4420f4e0ca
[CPL][INPUT] Fix bullet (#2124)
CORE-13807
2019-12-02 18:04:41 +09:00
Katayama Hirofumi MZ 55aed4f8fa [NTOSKRNL][INBV] Fix IDB_SHUTDOWN_MSG position
Make "shutdown.bmp" (IDB_SHUTDOWN_MSG: 213x11px) horizontally centered.
2019-12-02 16:55:02 +09:00
Hermès Bélusca-Maïto 0ad65796bb
[WIN32K][VIDEOPRT] Improve initialization and interfacing with INBV.
CORE-12149

VIDEOPRT:
=========

Improve interfacing with INBV, so as to detect when an external module
acquired INBV display ownership, and whether ownership is being released
later on. (This does NOT rely on hooking!)

For this purpose we improve the IntVideoPortResetDisplayParameters(Ex)
callback that gets registered with an InbvNotifyDisplayOwnershipLost()
call during initialization, and we add a monitoring thread.

The callback is called whenever an external module calls
InbvAcquireDisplayOwnership(), for example the bugcheck code or the KDBG
debugger in SCREEN mode. When this happens, a flag that tells the
monitoring thread to start monitoring INBV is set (ReactOS-specific),
and the display adapters get reset with HwResetHw() (as done on Windows).

Due to the fact that this INBV callback can be called at *ANY* IRQL, we
cannot use dispatcher synchronization mechanisms such as events to tell
the INBV monitoring thread to start its operations, so we need to rely
instead on a flag to be set. And, since INBV doesn't provide with any
proper callback/notification system either, we need to actively monitor
its state by pooling. To reduce the load on the system the monitoring
thread performs 1-second waits between each check for the flag set by
the INBV callback, and during checking the INBV ownership status.

When the INBV ownership is detected to be released by an external module,
the INBV callback is re-registered (this is *MANDATORY* since the
external module has called InbvNotifyDisplayOwnershipLost() with a
different callback parameter!), and then we callout to Win32k for
re-enabling the display.

This has the virtue of correctly resetting the display once the KDBG
debugger in SCREEN mode is being exited, and fixes CORE-12149 .

The following additional fixes were needed:

VIDEOPRT & WIN32K:
==================

Remove the registration with INBV that was previously done in a ReactOS-
specific hacked IRP_MJ_WRITE call; it is now done correctly during the
video device opening done by EngpRegisterGraphicsDevice() in the VIDEOPRT's
IRP_MJ_CREATE handler, as done on Windows.

WIN32K:
=======

- Stub the VideoPortCallout() support, for VIDEOPRT -> WIN32 callbacks.
  This function gets registered with VIDEOPRT through an
  IOCTL_VIDEO_INIT_WIN32K_CALLBACKS call in EngpRegisterGraphicsDevice().

- Only partially implement the 'VideoFindAdapterCallout' case, that just
  re-enables the primary display by refreshing it (using the new function
  UserRefreshDisplay()).

VIDEOPRT:
=========

- PVIDEO_WIN32K_CALLOUT is an NTAPI (stdcall) callback.

- In the IntVideoPortResetDisplayParameters(Ex) callback, reset all the
  "resettable" adapters registered in the HwResetAdaptersList list.
  We thus get rid of the global ResetDisplayParametersDeviceExtension.

- Make the IntVideoPortResetDisplayParameters(Ex) callback slightly more
  robust (using SEH) against potential HwResetListEntry list corruption
  or invalid DriverExtension->InitializationData.HwResetHw() that would
  otherwise trigger a BSOD, and this would be disastrous since that
  callback is precisely called when INBV is acquired, typically when the
  BSOD code initializes the display for displaying its information...

Extras:
- Validate the IrpStack->MajorFunction in IntVideoPortDispatchDeviceControl()
  and implement IRP_MJ_SHUTDOWN handling. Stub out the other IOCTLs that
  are handled by VIDEOPRT only (and not by the miniports).

- VIDEOPRT doesn't require IRP_MJ_INTERNAL_DEVICE_CONTROL (unused).

- Implement IOCTL_VIDEO_PREPARE_FOR_EARECOVERY that just resets the
  display to standard VGA 80x25 text mode.
2019-12-02 02:33:20 +01:00