reactos.git
5 years ago[IMAADP32.ACM] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Mon, 1 Oct 2018 11:52:44 +0000 (12:52 +0100)]
[IMAADP32.ACM] Sync with Wine Staging 3.17. CORE-15127

5 years ago[IEFRAME] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Mon, 1 Oct 2018 11:52:10 +0000 (12:52 +0100)]
[IEFRAME] Sync with Wine Staging 3.17. CORE-15127

5 years ago[HHCTRL.OCX] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Mon, 1 Oct 2018 11:51:35 +0000 (12:51 +0100)]
[HHCTRL.OCX] Sync with Wine Staging 3.17. CORE-15127

5 years ago[GDIPLUS_WINETEST] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Mon, 1 Oct 2018 11:50:59 +0000 (12:50 +0100)]
[GDIPLUS_WINETEST] Sync with Wine Staging 3.17. CORE-15127

5 years ago[GDIPLUS] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Mon, 1 Oct 2018 11:50:25 +0000 (12:50 +0100)]
[GDIPLUS] Sync with Wine Staging 3.17. CORE-15127

5 years ago[FUSION] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Mon, 1 Oct 2018 11:49:44 +0000 (12:49 +0100)]
[FUSION] Sync with Wine Staging 3.17. CORE-15127

5 years ago[CRYPTUI] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Mon, 1 Oct 2018 11:49:09 +0000 (12:49 +0100)]
[CRYPTUI] Sync with Wine Staging 3.17. CORE-15127

5 years ago[CRYPT32_WINETEST] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Mon, 1 Oct 2018 11:48:33 +0000 (12:48 +0100)]
[CRYPT32_WINETEST] Sync with Wine Staging 3.17. CORE-15127

5 years ago[CRYPT32] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Mon, 1 Oct 2018 11:47:51 +0000 (12:47 +0100)]
[CRYPT32] Sync with Wine Staging 3.17. CORE-15127

5 years ago[CREDUI_WINETEST] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Mon, 1 Oct 2018 11:47:02 +0000 (12:47 +0100)]
[CREDUI_WINETEST] Sync with Wine Staging 3.17. CORE-15127

5 years ago[CREDUI] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Mon, 1 Oct 2018 11:46:19 +0000 (12:46 +0100)]
[CREDUI] Sync with Wine Staging 3.17. CORE-15127

5 years ago[COMDLG32_WINETEST] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Mon, 1 Oct 2018 11:45:40 +0000 (12:45 +0100)]
[COMDLG32_WINETEST] Sync with Wine Staging 3.17. CORE-15127

5 years ago[COMDLG32] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Mon, 1 Oct 2018 11:44:53 +0000 (12:44 +0100)]
[COMDLG32] Sync with Wine Staging 3.17. CORE-15127

5 years ago[DMUSIC] Fix build?
Pierre Schweitzer [Mon, 1 Oct 2018 09:04:26 +0000 (11:04 +0200)]
[DMUSIC] Fix build?

5 years ago[ATL100_WINETEST] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:27:20 +0000 (00:27 +0100)]
[ATL100_WINETEST] Sync with Wine Staging 3.17. CORE-15127

5 years ago[ATL] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:26:43 +0000 (00:26 +0100)]
[ATL] Sync with Wine Staging 3.17. CORE-15127

5 years ago[ADVPACK_WINETEST] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:26:09 +0000 (00:26 +0100)]
[ADVPACK_WINETEST] Sync with Wine Staging 3.17. CORE-15127

5 years ago[ADVPACK] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:25:34 +0000 (00:25 +0100)]
[ADVPACK] Sync with Wine Staging 3.17. CORE-15127

5 years ago[QEDIT] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:24:54 +0000 (00:24 +0100)]
[QEDIT] Sync with Wine Staging 3.17. CORE-15127

5 years ago[MSDMO] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:24:18 +0000 (00:24 +0100)]
[MSDMO] Sync with Wine Staging 3.17. CORE-15127

5 years ago[DPLAYX_WINETEST] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:23:40 +0000 (00:23 +0100)]
[DPLAYX_WINETEST] Sync with Wine Staging 3.17. CORE-15127

5 years ago[DPLAYX] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:23:02 +0000 (00:23 +0100)]
[DPLAYX] Sync with Wine Staging 3.17. CORE-15127

5 years ago[DMUSIC] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:22:26 +0000 (00:22 +0100)]
[DMUSIC] Sync with Wine Staging 3.17. CORE-15127

5 years ago[DINPUT_WINETEST] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:21:34 +0000 (00:21 +0100)]
[DINPUT_WINETEST] Sync with Wine Staging 3.17. CORE-15127

5 years ago[DINPUT] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:20:57 +0000 (00:20 +0100)]
[DINPUT] Sync with Wine Staging 3.17. CORE-15127

5 years ago[D3DXOF] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:20:18 +0000 (00:20 +0100)]
[D3DXOF] Sync with Wine Staging 3.17. CORE-15127

5 years ago[D3DX9_36] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:19:39 +0000 (00:19 +0100)]
[D3DX9_36] Sync with Wine Staging 3.17. CORE-15127

5 years ago[D3DCOMPILER_43] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:19:01 +0000 (00:19 +0100)]
[D3DCOMPILER_43] Sync with Wine Staging 3.17. CORE-15127

5 years ago[INETCPL] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:18:08 +0000 (00:18 +0100)]
[INETCPL] Sync with Wine Staging 3.17. CORE-15127

5 years ago[XCOPY_WINETEST] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:17:02 +0000 (00:17 +0100)]
[XCOPY_WINETEST] Sync with Wine Staging 3.17. CORE-15127

5 years ago[XCOPY] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:16:20 +0000 (00:16 +0100)]
[XCOPY] Sync with Wine Staging 3.17. CORE-15127

5 years ago[WMIC] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:15:34 +0000 (00:15 +0100)]
[WMIC] Sync with Wine Staging 3.17. CORE-15127

5 years ago[TASKKILL] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:14:52 +0000 (00:14 +0100)]
[TASKKILL] Sync with Wine Staging 3.17. CORE-15127

5 years ago[REG] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:13:56 +0000 (00:13 +0100)]
[REG] Sync with Wine Staging 3.17. CORE-15127

5 years ago[WSCRIPT_WINETEST] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:13:11 +0000 (00:13 +0100)]
[WSCRIPT_WINETEST] Sync with Wine Staging 3.17. CORE-15127

5 years ago[CSCRIPT][WSCRIPT] Sync with Wine Staging 3.17. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 23:11:58 +0000 (00:11 +0100)]
[CSCRIPT][WSCRIPT] Sync with Wine Staging 3.17. CORE-15127

5 years ago[XDK][PSDK][WINE] Unify ARRAY_SIZE definition for Wine modules. CORE-15127
Amine Khaldi [Sun, 30 Sep 2018 22:57:08 +0000 (23:57 +0100)]
[XDK][PSDK][WINE] Unify ARRAY_SIZE definition for Wine modules. CORE-15127

5 years ago[SHELL32] Fixes and improvements for PickIconDlg().
Hermès Bélusca-Maïto [Sun, 30 Sep 2018 19:22:50 +0000 (21:22 +0200)]
[SHELL32] Fixes and improvements for PickIconDlg().

- Deal with expanded paths only when loading icons. If the user specifies
  an unexpanded path to a module containing icons, this unexpanded path
  is returned to the caller!

- Perform the dialog cleanup in WM_DESTROY message handler.

- When pressing ENTER/OK in the dialog box, retrieve the selected icon and
  close the dialog *ONLY WHEN* the user actually has selected an icon.
  If the user modified manually the module path, pressing ENTER/OK instead
  reloads the icons list.

5 years ago[SHELL32] Code formatting only.
Hermès Bélusca-Maïto [Sun, 30 Sep 2018 18:07:29 +0000 (20:07 +0200)]
[SHELL32] Code formatting only.

5 years ago[BOOTDATA] Register the CriticalDeviceCoInstaller as a class co-installer for critica...
Eric Kohl [Sun, 30 Sep 2018 15:22:29 +0000 (17:22 +0200)]
[BOOTDATA] Register the CriticalDeviceCoInstaller as a class co-installer for critical device classes

5 years ago[SYSETUP] Implement the CriticalDeviceCoInstaller
Eric Kohl [Sun, 30 Sep 2018 15:18:28 +0000 (17:18 +0200)]
[SYSETUP] Implement the CriticalDeviceCoInstaller

The CriticalDeviceCoInstaller adds devices of registered classes to the critical device database.

5 years ago[BTRFS] Fix IRP leak.
Thomas Faber [Sun, 16 Sep 2018 13:25:27 +0000 (15:25 +0200)]
[BTRFS] Fix IRP leak.

This leaked at least one IRP for every write, making it the largest leak when
running with BTRFS as the system volume.
Thanks to Victor Perevertkin.

Submitted upstream thanks to Pierre:
https://github.com/maharmstone/btrfs/pull/106

5 years ago[NPFS] Magic--;
Pierre Schweitzer [Sun, 30 Sep 2018 08:55:07 +0000 (10:55 +0200)]
[NPFS] Magic--;

5 years ago[NTOSKRNL] Fix remaining access computation on open
Pierre Schweitzer [Sun, 30 Sep 2018 08:53:12 +0000 (10:53 +0200)]
[NTOSKRNL] Fix remaining access computation on open

5 years ago[NTOSKRNL] Implement access check for secure open
Pierre Schweitzer [Sun, 30 Sep 2018 08:49:13 +0000 (10:49 +0200)]
[NTOSKRNL] Implement access check for secure open

5 years ago[BLUE] Perform size/rectangle boundary checks on read/write operations. CORE-15108
Hermès Bélusca-Maïto [Sat, 29 Sep 2018 19:50:50 +0000 (21:50 +0200)]
[BLUE] Perform size/rectangle boundary checks on read/write operations. CORE-15108

5 years ago[USETUP] Remove a hardcoded value.
Hermès Bélusca-Maïto [Sat, 29 Sep 2018 19:48:27 +0000 (21:48 +0200)]
[USETUP] Remove a hardcoded value.

5 years ago[MSPORTS] Implement the 'Enable legacy Plug and Play detection' setting
Eric Kohl [Sat, 29 Sep 2018 16:05:22 +0000 (18:05 +0200)]
[MSPORTS] Implement the 'Enable legacy Plug and Play detection' setting

5 years ago[README] Add a link to the nightly builds page for convenience (#881)
Alexander Rechitskiy [Sat, 29 Sep 2018 14:43:32 +0000 (17:43 +0300)]
[README] Add a link to the nightly builds page for convenience (#881)

5 years ago[NTOSKRNL] Don't lock file object on close if we're not called by Ob
Pierre Schweitzer [Sat, 29 Sep 2018 14:21:44 +0000 (16:21 +0200)]
[NTOSKRNL] Don't lock file object on close if we're not called by Ob

IopCloseFile can be called by IopDeleteFile. In that situation, it
doesn't set any process as first parameter. Furthermore, we are in a
situation where it's not required to lock the file object (see the
assert before the call).

5 years ago[DESK.CPL] Remove monitor resource scaling (#876)
Abdulganiev Rafael [Sat, 29 Sep 2018 14:24:10 +0000 (18:24 +0400)]
[DESK.CPL] Remove monitor resource scaling (#876)

5 years ago[SYSDM] Add hardware model name print 762/head
Stanislav Motylkov [Thu, 16 Aug 2018 19:31:03 +0000 (22:31 +0300)]
[SYSDM] Add hardware model name print

5 years ago[SYSDM] Add one more IDC_MACHINELINE for model name
Stanislav Motylkov [Thu, 16 Aug 2018 18:53:45 +0000 (21:53 +0300)]
[SYSDM] Add one more IDC_MACHINELINE for model name

5 years ago[SYSDM] Move system information controls 16 points higher
Stanislav Motylkov [Thu, 16 Aug 2018 18:48:05 +0000 (21:48 +0300)]
[SYSDM] Move system information controls 16 points higher

5 years ago[UDMIHELP] Initialize output buffer if DMI string is NULL
Stanislav Motylkov [Wed, 15 Aug 2018 17:43:01 +0000 (20:43 +0300)]
[UDMIHELP] Initialize output buffer if DMI string is NULL

5 years ago[DMILIB] Process SKU and Family strings
Stanislav Motylkov [Thu, 27 Sep 2018 19:02:17 +0000 (22:02 +0300)]
[DMILIB] Process SKU and Family strings

5 years ago[MSPORTS] Implement the 'Filter Resource Method' setting for parallel ports
Eric Kohl [Sat, 29 Sep 2018 12:58:55 +0000 (14:58 +0200)]
[MSPORTS] Implement the 'Filter Resource Method' setting for parallel ports

5 years ago[DEVCPUX] Add French translation
Pierre Schweitzer [Sat, 29 Sep 2018 09:36:45 +0000 (11:36 +0200)]
[DEVCPUX] Add French translation

5 years ago[NTOSKRNL] Reference the file object before issuing the unlock all IRP
Pierre Schweitzer [Sat, 29 Sep 2018 09:21:19 +0000 (11:21 +0200)]
[NTOSKRNL] Reference the file object before issuing the unlock all IRP

This fixes the last kmode assert triggered by httpd on ReactOS.

CORE-12045

5 years ago[msports] Notify the system of changes to the serial port settings.
Eric Kohl [Fri, 28 Sep 2018 23:57:59 +0000 (01:57 +0200)]
[msports] Notify the system of changes to the serial port settings.

5 years ago[SERVICES] Control set code clean-up
Eric Kohl [Fri, 28 Sep 2018 23:31:02 +0000 (01:31 +0200)]
[SERVICES] Control set code clean-up

- Flush the new control set after the control set has been created.
- Make sure that we create a new control set only on the first boot after setup.
- Move the control set copy code to a separate function.
- Get rid of the global control set values.

5 years ago[NTOSKRNL] Unlock file if required on last process handle close
Pierre Schweitzer [Fri, 28 Sep 2018 21:34:28 +0000 (23:34 +0200)]
[NTOSKRNL] Unlock file if required on last process handle close

5 years ago[SERVICES] RChangeServiceConfigW / RCreateServiceW: Use SecureZeroMemory to wipe...
Eric Kohl [Fri, 28 Sep 2018 15:51:12 +0000 (17:51 +0200)]
[SERVICES] RChangeServiceConfigW / RCreateServiceW: Use SecureZeroMemory to wipe clear-text passwords after use.

5 years ago[SERVICES] Fixed a missing comma
Eric Kohl [Fri, 28 Sep 2018 15:29:31 +0000 (17:29 +0200)]
[SERVICES] Fixed a missing comma

5 years ago[SERVICES] Create a new control set on a non-setup boot.
Eric Kohl [Fri, 28 Sep 2018 14:24:07 +0000 (16:24 +0200)]
[SERVICES] Create a new control set on a non-setup boot.

5 years ago[ADVAPI32] Improve a bit CreateProcessAsUser().
Hermès Bélusca-Maïto [Thu, 27 Sep 2018 22:36:59 +0000 (00:36 +0200)]
[ADVAPI32] Improve a bit CreateProcessAsUser().

- Check whether the user-provided token is a primary token.

- Do not fail when the RtlAdjustPrivilege() call fails (see the code
  comment for an explanation). TL;DR is: that call may indeed fail but
  the privilege may also not be necessary because the user-provided
  token is a restricted version of the caller's primary token.
  And this is situation is perfectly fine.

This fixes Java 7 installation, CORE-14874.

5 years ago[NTOS:PS] In PspSetPrimaryToken(), check also for sibling token to determine whether...
Hermès Bélusca-Maïto [Tue, 25 Sep 2018 23:33:02 +0000 (01:33 +0200)]
[NTOS:PS] In PspSetPrimaryToken(), check also for sibling token to determine whether it is required to have the SeAssignPrimaryTokenPrivilege.

In addition, it is the presence or absence of the 'Token' pointer that indicates whether or not we should use instead the provided token handle.

5 years ago[NTOS:SE] Fixes for NT tokens.
Hermès Bélusca-Maïto [Tue, 25 Sep 2018 22:51:38 +0000 (00:51 +0200)]
[NTOS:SE] Fixes for NT tokens.

- SeIsTokenChild(): Correctly check whether a caller-provided token
  is a child from the current process' primary token by looking at
  its ParentTokenId member.

- Add a SeIsTokenSibling() helper to determine whether a caller-provided
  token and the current process' primary token are siblings, by comparing
  their ParentTokenId's and AuthenticationId's.

NOTE: Children tokens are created through CreateRestrictedToken();
sibling tokens are created through DuplicateToken() (amongst others).

See slide 49 of https://www.slideshare.net/Shakacon/social-engineering-the-windows-kernel-by-james-forshaw
or https://googleprojectzero.blogspot.com/2016/01/raising-dead.html
for some details.

5 years ago[DWNL] Add translations (for Romanian & Italian)
Bișoc George [Tue, 25 Sep 2018 14:50:13 +0000 (16:50 +0200)]
[DWNL] Add translations (for Romanian & Italian)

And include them as well.

5 years ago[DEVCPUX] Add russian translation
Stanislav Motylkov [Wed, 26 Sep 2018 13:15:07 +0000 (16:15 +0300)]
[DEVCPUX] Add russian translation

Also make MHz string translatable. Addendum to 793e2a3.

5 years ago[NETCFGX] Add the most simple property sheet provider for network adapters
Eric Kohl [Wed, 26 Sep 2018 21:48:01 +0000 (23:48 +0200)]
[NETCFGX] Add the most simple property sheet provider for network adapters

- Switch to WINE debug code.
- Build the UNICODE version of the DLL by default.
- Add the most simple property sheet provider.

5 years ago[SETUPAPI] SetupDiGetClassDevPropertySheetsW: Support class property sheet providers.
Eric Kohl [Wed, 26 Sep 2018 21:42:00 +0000 (23:42 +0200)]
[SETUPAPI] SetupDiGetClassDevPropertySheetsW: Support class property sheet providers.

5 years ago[MSPORTS] Add russian translation
Stanislav Motylkov [Tue, 25 Sep 2018 14:36:48 +0000 (17:36 +0300)]
[MSPORTS] Add russian translation

Addendum to 69e834f.

5 years ago[DEVCPUX] Make the CPU property sheet page a little nicer and make it translatable
Eric Kohl [Tue, 25 Sep 2018 19:51:19 +0000 (21:51 +0200)]
[DEVCPUX] Make the CPU property sheet page a little nicer and make it translatable

5 years ago[MSPORTS] Hackfix the code to determine the serial and parallel port numbers.
Eric Kohl [Tue, 25 Sep 2018 15:48:27 +0000 (17:48 +0200)]
[MSPORTS] Hackfix the code to determine the serial and parallel port numbers.

Now that SetupDiCreateDevRegKeyW is working as expected, we can no
longer (ab)use it to retrieve a ports resources. Use SetupDiGetDeviceInstanceIdW instead and open the registry keys manually.

5 years ago[MSPORTS] Implement serial port settings
Eric Kohl [Tue, 25 Sep 2018 12:27:10 +0000 (14:27 +0200)]
[MSPORTS] Implement serial port settings

- Fix the control styles and grouping in the dialogs.
- Implement reading, modifying and writing of the serial port settings.

5 years ago[INF] Add russian translation to machine.inf
Stanislav Motylkov [Tue, 25 Sep 2018 08:41:34 +0000 (11:41 +0300)]
[INF] Add russian translation to machine.inf

Addendum to 68eb0fd.

5 years ago[INF] machine.inf: Add settings for PCI RAM controllers
Eric Kohl [Mon, 24 Sep 2018 14:15:46 +0000 (16:15 +0200)]
[INF] machine.inf: Add settings for PCI RAM controllers

5 years ago[NETSHELL] Read, write and display the 'Notify me when this connection...' option...
Eric Kohl [Sun, 23 Sep 2018 21:31:00 +0000 (23:31 +0200)]
[NETSHELL] Read, write and display the 'Notify me when this connection...' option for network connections.

5 years ago[SETUPAPI] Replace the remaining internal calls to SetupDiOpenDevRegKey and SetupDiCr...
Eric Kohl [Sun, 23 Sep 2018 18:17:35 +0000 (20:17 +0200)]
[SETUPAPI] Replace the remaining internal calls to SetupDiOpenDevRegKey and SetupDiCreateDevRegKeyW by calls to SETUPDI_OpenDrvKey, SETUPDI_CreateDevKey or SETUPDI_CreateDrvKey.

5 years ago[WIN32K] Work around GCC builds inventing dead keys.
Mark Jansen [Sun, 23 Sep 2018 17:28:09 +0000 (19:28 +0200)]
[WIN32K] Work around GCC builds inventing dead keys.
CORE-14948

5 years ago[SHELL32_APITEST] Speed up the CUserNotification test in the failure case.
Mark Jansen [Sun, 23 Sep 2018 17:27:02 +0000 (19:27 +0200)]
[SHELL32_APITEST] Speed up the CUserNotification test in the failure case.

5 years ago[SERVICES] Simplify the implementation of RGetServiceDisplayNameA/W() and RGetService... 874/head
Hermès Bélusca-Maïto [Sat, 22 Sep 2018 13:41:17 +0000 (15:41 +0200)]
[SERVICES] Simplify the implementation of RGetServiceDisplayNameA/W() and RGetServiceKeyNameA/W().

Also comment about the observed behaviour of the returned number of "characters"
returned by the ANSI versions of these APIs (which is tested by advapi32_winetest:service).

[ADVAPI32:SCM] Add a comment concerning wide characters vs. bytes mismatch.

5 years ago[SETUPAPI] Do not use SetupDiOpenDevRegKey in other SetupDi functions. Use SETUPDI_Op...
Eric Kohl [Sun, 23 Sep 2018 14:15:14 +0000 (16:15 +0200)]
[SETUPAPI] Do not use SetupDiOpenDevRegKey in other SetupDi functions. Use SETUPDI_OpenDevKey or SETUPDI_OpenDrvKey instead.

Note: The remaining calls to SetupDiOpenDevRegKey and SetupDiCreateDevRegKey will be fixed in another patch.

Fixes CORE-15091

5 years ago[NTOSKRNL] Properly align VACB writes
Pierre Schweitzer [Sun, 23 Sep 2018 08:31:01 +0000 (10:31 +0200)]
[NTOSKRNL] Properly align VACB writes

Also simplify VACB reads alignment code.
Also add some sanity ASSERTs.

5 years ago[BOOTDATA] Factorize the creation of user profile directories inside a helper functio...
Hermès Bélusca-Maïto [Sat, 22 Sep 2018 22:12:24 +0000 (00:12 +0200)]
[BOOTDATA] Factorize the creation of user profile directories inside a helper function that can be called with different parameters.

5 years ago[SHELL32] In _SHExpandEnvironmentStrings(), fall back to SHExpandEnvironmentStringsFo...
Hermès Bélusca-Maïto [Sat, 22 Sep 2018 22:07:07 +0000 (00:07 +0200)]
[SHELL32] In _SHExpandEnvironmentStrings(), fall back to SHExpandEnvironmentStringsForUserW() if the simplified code paths failed.

This allows the code to give a last chance for expanding the string.
And if it still fails, we bail out as expected and the caller will
take appropriate actions.

As a by-product, this commit (together with the previous one e2960914)
fixes the regression CORE-14981 (Quick-Launch bar couldn't be opened
in LiveCD).

5 years ago[SHELL32] In _SHGetUserShellFolderPath(), check the return value of _SHExpandEnvironm...
Hermès Bélusca-Maïto [Sat, 22 Sep 2018 21:37:43 +0000 (23:37 +0200)]
[SHELL32] In _SHGetUserShellFolderPath(), check the return value of _SHExpandEnvironmentStrings()
and bail out if it failed. That way we won't use and cache in the registry an invalid-expanded string.

CORE-14981

5 years ago[SHELL32] Partially synchronize wine/shellpath.c with Wine.
Hermès Bélusca-Maïto [Sat, 22 Sep 2018 20:19:14 +0000 (22:19 +0200)]
[SHELL32] Partially synchronize wine/shellpath.c with Wine.

- Adjust the code with respect to:
  "shell32: Re-add support for expanding ALLUSERSPROFILE for backward compatibility."
  4a6855a575c02aa1569aab8b2e96720fc02f3f26 (Alexandre Julliard)

- "shell32: Avoid infinite loop in _SHExpandEnvironmentStrings."
  ceea5bda14ecf4c8ce262fc7ab88df49e500bc38 (Alexandre Julliard)

- "shell32: Assume that system directory always contains a drive letter."
  54530bc4933ae1014c3697c95e22b8ca5a275bc4 (Alexandre Julliard)

- "shell32: Use ARRAY_SIZE macro."
  612a1941331485725952d34f3dcd5866fc318dc2 (Nikolay Sivov)

- "shell32: Fix a trace message."
  bb09bb5750d617047aa23635731519a2f9486159 (Nikolay Sivov)

- "shell32: Fix SHGetFolderPathAndSubDir() trace message."
  f75d5625966933562b974540a3f29dfcd720ad50 (Nikolay Sivov)

- "shell32: Pass correct buffer length to RegQueryValueExW()."
  0bfb97dcba29552b51d8609fcc6e7bbc04bb8320 (Nikolay Sivov)

- "shell32: Remove unused string (Clang)."
  8d50a8a246960749afba21eac117b4fcbbf2c79d (André Hentschel)

- "shell32: Use E_NOT_SUFFICIENT_BUFFER definition."
  730e744e3bd6b706612fe0f90a7efb2e600f114f (Nikolay Sivov)

5 years ago[MSCONFIG_NEW] Do not assign an access key to a letter with diacritic
Bișoc George [Sat, 22 Sep 2018 19:40:57 +0000 (21:40 +0200)]
[MSCONFIG_NEW] Do not assign an access key to a letter with diacritic

5 years ago[DWNL] Add Polish translation
Paweł Cholewa [Sat, 22 Sep 2018 12:53:13 +0000 (14:53 +0200)]
[DWNL] Add Polish translation

5 years ago[SETUPAPI] SetupDiCreateDevRegKeyW / SetupDiOpenDevRegKey: Create or open the 'Device...
Eric Kohl [Sat, 22 Sep 2018 12:43:43 +0000 (14:43 +0200)]
[SETUPAPI] SetupDiCreateDevRegKeyW / SetupDiOpenDevRegKey: Create or open the 'Device Parameters' subkey of the given devices enum key when we try to access its hardware key.

This creates the PortName value in the proper location for serial ports.

5 years ago[NTOSKRNL] IoGetDeviceProperty: Add support for the DevicePropertyRemovalPolicy...
Eric Kohl [Sat, 22 Sep 2018 09:20:27 +0000 (11:20 +0200)]
[NTOSKRNL] IoGetDeviceProperty: Add support for the  DevicePropertyRemovalPolicy property.

This could probably fix CORE-15068.

5 years ago[BTHCI] Add a bluetooth icon (#871)
Abdulganiev Rafael [Fri, 21 Sep 2018 21:42:27 +0000 (01:42 +0400)]
[BTHCI] Add a bluetooth icon (#871)

[BTHCI] Add a bluetooth icon

5 years ago[DWNL] Add French translation
Pierre Schweitzer [Fri, 21 Sep 2018 20:35:33 +0000 (22:35 +0200)]
[DWNL] Add French translation

5 years ago[NTOSKRNL] Create the 'Device Parameters' subkey and add the 'FirmwareIdentified...
Eric Kohl [Fri, 21 Sep 2018 13:37:34 +0000 (15:37 +0200)]
[NTOSKRNL] Create the 'Device Parameters' subkey and add the 'FirmwareIdentified' value for all ACPI-enumerated devices.

5 years ago[NTOSKRNL] Fix the indentation of some pnp manager functions.
Eric Kohl [Fri, 21 Sep 2018 13:08:43 +0000 (15:08 +0200)]
[NTOSKRNL] Fix the indentation of some pnp manager functions.

5 years ago[KMTESTS:CC] Add tests for CcCopyRead that reproduce CORE-15067
Pierre Schweitzer [Fri, 21 Sep 2018 06:35:38 +0000 (08:35 +0200)]
[KMTESTS:CC] Add tests for CcCopyRead that reproduce CORE-15067

CORE-15067

5 years ago[NTOSKRNL] Avoid integer overflow when computing VACB read/write size
Pierre Schweitzer [Fri, 21 Sep 2018 06:31:05 +0000 (08:31 +0200)]
[NTOSKRNL] Avoid integer overflow when computing VACB read/write size

This could be triggered when attempting to read/write to really big
files. It was causing an attempt to read 0 bytes in Cc, leading to
asserts failure in the kernel (and corrupted file).

CORE-15067

5 years ago[WIN32K:NTUSER] Fix WIN32K BSOD mentioned in CORE-15027
Joachim Henze [Fri, 21 Sep 2018 01:04:31 +0000 (03:04 +0200)]
[WIN32K:NTUSER] Fix WIN32K BSOD mentioned in CORE-15027

Fixes accessing nullptr / invalid handle in Window->SystemMenu
I could trigger this occasionally when moving Opera 12.18 window
in front of Spotify 1.0.29.92 window.

Fix was:
authored by Thomas Faber (Thank you!)
tested by me
reviewed by James Tabor