Commit graph

76153 commits

Author SHA1 Message Date
Amine Khaldi c1cf2ac305 [DMUSIC] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:04:24 +01:00
Amine Khaldi 8de4fae42b [DINPUT_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:03:59 +01:00
Amine Khaldi 41c8c312e1 [DINPUT] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:03:34 +01:00
Amine Khaldi 1477b2deb7 [PSDK] Update dinput.h. CORE-16441 2019-10-26 13:03:08 +01:00
Amine Khaldi 476c99b643 [INCLUDE/WINE] Import asm.h from Wine Staging 4.18. CORE-16441 2019-10-26 13:02:43 +01:00
Amine Khaldi 8015bf9f47 [D3DRM_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:02:11 +01:00
Amine Khaldi 3d017d7150 [D3DRM] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:01:38 +01:00
Amine Khaldi 7ce1a24a8b [D3DCOMPILER_43_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:01:05 +01:00
Amine Khaldi dffb99c172 [D3DCOMPILER_43] Sync with Wine Staging 4.18. CORE-16441 2019-10-26 13:00:33 +01:00
Amine Khaldi 3c0800ac94 [PSDK] Add missing GetRequiresFlags. CORE-16441 2019-10-26 12:59:56 +01:00
Joachim Henze 9e14a762d5 [WIN32SS] Fix last user visible parts of regression CORE-10855
When Themesvc was disabled, some Window titlebar
frames were drawn too thin until the window
was actively resized in y by the user.

That and similar symptoms started to show up after SVN r68904 ==
6dfa71c487

Many thanks to patches author Doug Lyons.

We leave the ticket unresolved still due to explicit request of
James Tabor, who wants to continue working in that context.

I will merge that back into 0.4.13RCs as well.
2019-10-25 00:42:01 +02:00
Jared Smudde a270e5b053 [APPWIZ] Very minor icon fix for the Create Shortcut wizard. (#1993)
Also cleaned up the other icons to reduce size.
2019-10-24 13:58:04 +02:00
Robert Naumann 5f99f5c1a7 [REISERFS] Fix a copy paste Error. CID 1363527 2019-10-23 17:23:05 +02:00
Robert Naumann b8032d98a9 [UDFS] Fix a copy paste error. CID1321910 2019-10-23 17:23:05 +02:00
Robert Naumann ffa8ff7574 [SETUP/LIB] Fix wrong if() logic. CID1441307 2019-10-23 17:23:05 +02:00
Stanislav Motylkov 183a81ee82 [FREELDR] MiniTui: Fix progress bar width on custom resolutions (#1964)
+ Sync with the "direct-UI" i.e. with less bugs.
Co-authored-by: Hermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
2019-10-23 13:54:33 +02:00
Pierre Schweitzer 457612702b
[MOUNTMGR] Fix invalid WorkerReferences check in QueueWorkItem()
This fixes shutting down ReactOS under certain circumstances, where
the references were incremented, but no worker thread started.
Also, took the opportunity to clarify the WorkerReferences comparisons
where relevant.

CORE-16446
2019-10-22 21:53:48 +02:00
Serge Gautherie c8cbd566f9 [HDWWIZ] ProbeListPageDlgProc(): Top 'Item' variable is enough (#1990)
Addendum to ce498aa571.
2019-10-22 10:12:04 +09:00
Joachim Henze 082f230ac7 [WINED3D] Workaround regression CORE-15408
Many 3D applications crashed with 'WineD3D fake window' msgbox
if they were used in VirtualBox with graphics driver
'VBoxDisp.sys from VM guest additions + installed 3D acceleration'

That was a regression of SVN r75847 == git
3d13ed394e

Contrary we had no such issues with the SW emulation.
The reason for the bug is that
VBoxDisp only supports OpenGL 2.1 (GLSL 120) and WineD3D
tried to use shaders for OpenGL 3.2 (GLSL 150).

This workaround disables the usage in a hard-coded way for
all graphics adapters. Should be ok for now, as ros does not
really support any modern GPU drivers yet.
Proper working runtime detection would be better ofc.

Thx to Doug Lyons & Fabian Maurer
2019-10-22 03:07:09 +02:00
Katayama Hirofumi MZ 6cca46453c [SHELLEXT][ZIPFLDR] Performance: Initialize m_Filename quickly 2019-10-22 09:55:06 +09:00
Katayama Hirofumi MZ 72e5c2e77c [CPL][DESK] hShell32 is always non-NULL in epilogue 2019-10-22 09:43:34 +09:00
Katayama Hirofumi MZ ce498aa571 [CPL][HDWWIZ] Move 'Index' and 'Item' variables to prologue 2019-10-22 09:41:09 +09:00
Katayama Hirofumi MZ 6fc6e3c398 [WIN32SS][NTGDI] Unite duplicate of condition 'UsesSource' 2019-10-22 09:33:32 +09:00
Katayama Hirofumi MZ 1bf982ff88 [WIN32SS][NTGDI] 'otm' is always non-NULL in epilogue 2019-10-22 09:29:15 +09:00
Joachim Henze f2f833c53c [COMCTL32] Address regression CORE-14622
"Avira Antivir Personal 6.35.00.243" had issues painting its
setup wizard dialog with correct background color.
That part was a regression of SVN r74136 == git
b1b42795a9

and also did not draw its umbrella bmp, which did never work
in ros up to now afaik.

https://reactos.org/testman/compare.php?ids=69394,69478 VBOX
https://reactos.org/testman/compare.php?ids=69395,69479 KVM

Thanks to patches author Doug Lyons and HBelusca.

Wine has been reported to be affected by that bug as well:
https://bugs.winehq.org/show_bug.cgi?id=46636
Not sure whether our patch will be accepted by Wine,
to my naive eye this looks like an interim solution.
2019-10-22 01:10:28 +02:00
Pierre Schweitzer 5ab1cfc553
[NTOSKRNL] Rewrite IoAssignDriveLetters to make NT5 compliant
The major change with this rewrite is the support for the mount
manager. Fstub will now assume that most of the devices are PnP
and that they are already registered to the mount manager.
It will thus ask the mount manager to assign the drive letter.
Fstub will keep assigning drive letters non mission critical devices
such as CDs, floppies and other removable devices.

See MountMgr:QueryPoints API test that will now return mount points :-).
2019-10-21 18:28:40 +02:00
Pierre Schweitzer b68104dd87
[DISK] Forcibly declare our partitions to the MountMgr
Because our disk.sys doesn't do anything related to PnP
(compared to disk_new.sys), forcibly declare our partitions
to the MountMgr so that it can references them and assign
them a DOS drive letter on demand later on.
2019-10-21 16:50:36 +02:00
Pierre Schweitzer 410c606999
[CLASS2] Hackplement support for IOCTL_MOUNTDEV_QUERY_UNIQUE_ID
This is required so that MountMgr can handle devices that are still
using class2 instead of classpnp.
Given we have no unique ID to return, we'll return device path, which
is far from perfect but which is enough for now to have everything
working.
2019-10-21 16:45:28 +02:00
Pierre Schweitzer 11db7c9e5d
[NTOSKRNL] Define TAG_FSTUB in the dedicated internal header 2019-10-21 14:26:00 +02:00
Pierre Schweitzer 80cc287cf6
[NTOSKRNL] Declare IoRemoteBootClient in internal headers 2019-10-21 14:16:58 +02:00
Pierre Schweitzer 16fcf694ef
[MOUNTMGR] Fix setting up reparse index file name
This fixes memory smashing while attempting to volume
reparse index (we were previously trying to copy the
name on itself, in the middle of itself...).
This code won't go farther on FAT, it requires NTFS.

Now, with this, ReactOS can properly boot with MountMgr
handling DOS devices without any crash or code disabled.
Cf: what was written in 7608ac9.

Modifications in class2, disk, and ntoskrnl are still to
be committed to enable all this.
2019-10-21 12:58:30 +02:00
Pierre Schweitzer bced3eaa25
[MOUNTMGR] That was not meant to be committed
Even though it shows there might be a bug in the
code handling remote databases in the MountMgr ;-)

Addendum to 7608ac9
2019-10-21 11:03:43 +02:00
Pierre Schweitzer 7608ac9f71
[MOUNTMGR] Misc. fixes for WorkerThread()
- Properly quit the active loop when we're out of work items;
- Fix timeout duration (setting it to 1s);
- Fix handling the "Unloading" variable in case of a shutdown
  so that waiting loop is properly stopped;
- Documented why we're waiting on VolumesSafeForWriteAccess.

This fixes shutting down ReactOS with work items queued.
This is needed here because no one ever sets that event (properly)
created by SMSS though. A. Ionescu was explaining in 2018 that it's
autochk responsibility, but it doesn't seem to be the case in W2K3.
To be investigated.

This fix with all the previous ones and more uncommitted stuff (yet ;-))
allows reaching the first steps towards a NT5 storage stack:
https://twitter.com/HeisSpiter/status/1186199631740506112
2019-10-21 10:58:14 +02:00
Eric Kohl b0d4763f2b [IPCONFIG] Implement the /flushdns option and most of the /displaydns option 2019-10-20 23:24:28 +02:00
Eric Kohl 4455dcb26e [DNSAPI][REACTOS] Add a header for undocumented dnsapi functions and use it in dnsapi.dll 2019-10-20 23:13:46 +02:00
Amine Khaldi 4601b11fc9 [HNETCFG_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-20 20:04:04 +01:00
Amine Khaldi 7c98f2203d [HNETCFG] Sync with Wine Staging 4.18. CORE-16441 2019-10-20 20:03:33 +01:00
Amine Khaldi c73a46af9c [PSDK][UUID] Import natupnp.idl from Wine Staging 4.18. CORE-16441 2019-10-20 20:01:58 +01:00
Amine Khaldi 8cc0d363dc [DEVENUM_WINETEST] Sync with Wine Staging 4.18. CORE-16441 2019-10-20 18:56:45 +01:00
Amine Khaldi c1585bb868 [DEVENUM] Sync with Wine Staging 4.18. CORE-16441 2019-10-20 18:56:05 +01:00
Amine Khaldi a186e66945 [PSDK] Add missing OVERLAPPED_ENTRY. CORE-16441 2019-10-20 17:58:55 +01:00
Mark Jansen 1f362c1a5a
[SHELL32] CDefaultContextMenu: Don't render a medium just to query if it is present 2019-10-20 17:10:12 +02:00
Mark Jansen e45beb55f8
[SHELL32] CDefaultContextMenu: Always add the wanted operation to the IDataObject 2019-10-20 17:10:12 +02:00
Mark Jansen c31327114b
[SDK][SHELL32] Augment the internally used IDataObject with some extra formats
This is needed because our code seems to use CF_HDROP a lot, instead of HIDA...
2019-10-20 17:10:12 +02:00
Mark Jansen f9d3c2c608
[SHELL32] Mark an unexpected failure as unexpected 2019-10-20 17:10:11 +02:00
Mark Jansen 2318bda651
[SHELL32_APITEST] Show that SHCreateDataObject behaves exactly like CIDLData_CreateFromIDArray 2019-10-20 17:10:11 +02:00
Mark Jansen 75cabb07be
[SHELL32] Properly release an StgMedium 2019-10-20 17:10:11 +02:00
Mark Jansen 0f2cb5abc7
[SHELL32_APITEST] Show that the default data object does not have a preferred drop effect 2019-10-20 17:10:11 +02:00
Mark Jansen 87fa11f54b
[FONTEXT] Return the correct error in GetDisplayNameOf 2019-10-20 17:10:04 +02:00
Eric Kohl 2ed4b3f780 [NETCFGX] Free all component data on INetCfg_fnUninitialize() 2019-10-20 15:01:55 +02:00