reactos.git
19 months ago[RAPPS] Enable ATL assertions
Mark Jansen [Tue, 17 Mar 2020 19:54:07 +0000 (20:54 +0100)]
[RAPPS] Enable ATL assertions

19 months ago[ATL] Fix an ATLASSERT expression
Mark Jansen [Tue, 17 Mar 2020 19:53:26 +0000 (20:53 +0100)]
[ATL] Fix an ATLASSERT expression

19 months ago[INCLUDE/CRT] Add some debug macro implementations for _DEBUG
Mark Jansen [Tue, 17 Mar 2020 19:52:43 +0000 (20:52 +0100)]
[INCLUDE/CRT] Add some debug macro implementations for _DEBUG
CORE-11834

19 months ago[CRT] Implement _CrtDbgReport and _CrtDbgReportW
Mark Jansen [Sun, 15 Mar 2020 21:17:30 +0000 (22:17 +0100)]
[CRT] Implement _CrtDbgReport and _CrtDbgReportW
Most functionality is working, except output to file
CORE-11835

19 months ago[HOTPLUG] Display devices that are attached to a removable device
Eric Kohl [Sat, 4 Apr 2020 16:13:03 +0000 (18:13 +0200)]
[HOTPLUG] Display devices that are attached to a removable device

19 months ago[NTOS:PNP] Add set functions for debugging PNP and IO managers. (#2457)
Vadim Galyant [Sat, 4 Apr 2020 12:30:40 +0000 (15:30 +0300)]
[NTOS:PNP] Add set functions for debugging PNP and IO managers. (#2457)

Useful functions for debugging IO and PNP managers:

PipDumpDeviceNodes() - displays information about a node(s) in the device tree;
PipDumpResourceRequirementsList() - displays information about a Io List;
PipDumpCmResourceList() - displays information about a Cm List

The tree list of devices (DEVICE_NODE structures) is perhaps the main one in the PnP manager. They also store information about the hardware resources required and assigned to devices.
These functions can help with debugging. For example, you can call PipDumpDeviceNodes() before and after device enumeration and compare the resulting information.

For PipDumpDeviceNodes() it is possible to optionally output:
- allocated resources and boot configuration resources
- resources required
- translated resources
It is possible to displays both a single node and the entire tree.
Optionally, you can display child nodes.

The information output format for resource lists is maximally compressed, since often the only debugging port is a monitor.

The DebugLevel parameter allows dumping in two modes:
0 - unconditional;
1 - if NDEBUG is not defined in "debug.c".

19 months ago[NTOS:MM] Make the definitions and macros for x86 more human-readable. (#2487)
Vadim Galyant [Sat, 4 Apr 2020 12:26:15 +0000 (15:26 +0300)]
[NTOS:MM] Make the definitions and macros for x86 more human-readable. (#2487)

- Move also PDE_MAPPED_VA definition from common miarm.h to ..arch/mm.h.
- Add assert "PAE not yet implemented".

19 months ago[TRANSLATION][USETUP] Update Spanish translation of USetup. (#2497)
Julen Urizar Compains [Sat, 4 Apr 2020 11:10:34 +0000 (13:10 +0200)]
[TRANSLATION][USETUP] Update Spanish translation of USetup. (#2497)

Correct the random names, fixing the denominations, translate of the English words, and fixing random and incorrect denominations like "Cabinet" or "distribuciones".

19 months ago[ROSAUTOTEST] Use tlsv1.reactos.org for submitting test results now that reactos...
Colin Finck [Sat, 4 Apr 2020 10:57:50 +0000 (12:57 +0200)]
[ROSAUTOTEST] Use tlsv1.reactos.org for submitting test results now that reactos.org is TLS 1.2+

We still need to be able to submit test results from Windows Server 2003, which supports TLS 1.0 only.

19 months ago[QCAP] Import qcap.dll from Wine Staging 3.3. CORE-16350 (#2421) 2421/head
Oleg Dubinskiy [Sat, 7 Mar 2020 19:42:35 +0000 (21:42 +0200)]
[QCAP] Import qcap.dll from Wine Staging 3.3. CORE-16350 (#2421)

Fix also MSVC build.

[DOC] Add qcap entry in README.WINE

Co-Authored-By: Thomas Faber <18138474+ThFabba@users.noreply.github.com>
19 months ago[DXSDK] Sync axextend.idl with Wine Staging 3.3 (#2421)
Oleg Dubinskiy [Sat, 7 Mar 2020 19:35:35 +0000 (21:35 +0200)]
[DXSDK] Sync axextend.idl with Wine Staging 3.3 (#2421)
Required by Wine's qcap.dll CORE-16350

[DXSDK] Restore all deleted code in axextend.idl to propely fix compilation
Also regularize some parts of added code and replace IAMStreamControl interface
with Wine's one, because otherwise compilation fails.

19 months ago[TASKKILL] Merge our updated terminate_processes() function with the one
Hermès Bélusca-Maïto [Fri, 3 Apr 2020 16:40:00 +0000 (18:40 +0200)]
[TASKKILL] Merge our updated terminate_processes() function with the one
from Wine, using __REACTOS__ defines to separate the changes.

We note that in effect it completely contains the functionality of
Wine's send_close_messages(), so we keep that latter disabled.

19 months ago[UTILMAN] Implement the Registry management code skeleton (#2456)
Bișoc George [Fri, 3 Apr 2020 15:46:30 +0000 (17:46 +0200)]
[UTILMAN] Implement the Registry management code skeleton (#2456)

The following SaveAppSettings(), QueryAppSettings() and InitAppRegKey() are helper functions.
This is merely a base Registry skeleton for Utility Manager as more work on it has to come later.

19 months ago[TASKKILL] Improve taskkill utility (#2459)
He Yang [Fri, 3 Apr 2020 15:37:53 +0000 (10:37 -0500)]
[TASKKILL] Improve taskkill utility (#2459)

Make the argument process of command utility "taskkill" behave same as what Windows does.

Now options are no longer detected as parameters when placed after options that accept one.
For example, `taskkill /im /f` will no longer regard `/f` as a process name.

If `/?` and `/f` options appear more than once, an error will be reported, telling they are not allowed more than once.
(e.g. `taskkill /f /pid 1000 /f`)

If only one option `/f` is given without `/pid` or `/im`, an eerror will be reported, telling that one must specify `/pid` or `/im`.
(e.g. `taskkill /f`)

Additional changes:
- Combine SendCloseMessages() and TerminateProcesses() functions.
- Protect new written code with `#ifdef __REACTOS__`

19 months ago[WIN32K:NTUSER] ntuser.h: Rename NtUserWaitForInputIdle() 3rd parameter (#2499)
Serge Gautherie [Fri, 3 Apr 2020 13:06:25 +0000 (15:06 +0200)]
[WIN32K:NTUSER] ntuser.h: Rename NtUserWaitForInputIdle() 3rd parameter (#2499)

Addendum to 568b6d05.

19 months ago[WINETESTS] Remove forced _WIN32_WINNT defines (#2463)
Serge Gautherie [Fri, 3 Apr 2020 12:01:22 +0000 (14:01 +0200)]
[WINETESTS] Remove forced _WIN32_WINNT defines (#2463)

Only comctl32 is affected.

Import
https://source.winehq.org/git/wine.git/commit/be3cda6ec0856d143d4737ee9306844569b76e15

19 months ago[PSDK] guiddef.h: Remove unwanted '&& !defined(CINTERFACE)' (#2492)
Serge Gautherie [Fri, 3 Apr 2020 11:59:34 +0000 (13:59 +0200)]
[PSDK] guiddef.h: Remove unwanted '&& !defined(CINTERFACE)' (#2492)

Cherry-pick
https://source.winehq.org/git/wine.git/commit/4626db2bb2a61cdceb00e0e346628062ee51aade
Import
https://source.winehq.org/git/wine.git/commit/54f58769fee73a55675d503e0281e8f381a8e8b1
https://source.winehq.org/git/wine.git/commit/34f3e7793b40d0eac60c373f66f262be2e0d5cdb

19 months ago[RPCRT4] Handle ERROR_BAD_NETPATH failure if an RPC pipe connection is done on an...
Hermès Bélusca-Maïto [Thu, 2 Apr 2020 17:55:35 +0000 (19:55 +0200)]
[RPCRT4] Handle ERROR_BAD_NETPATH failure if an RPC pipe connection is done on an non-existing UNC path.

Addendum to 5274857d (see originally commit 13f41d74). CORE-6561

19 months ago[NTUser] Fix Strings and Format to Hooks
James Tabor [Fri, 3 Apr 2020 08:58:29 +0000 (03:58 -0500)]
[NTUser] Fix Strings and Format to Hooks

Allocate heap instead of data segment to be used for callbacks on user side.
Move and correct initial hook call out setup. Use it in more than one hook call.

This fixes issues with strings out of alignment and use of kernel pointers.

See CORE-13907 and CORE-16769. KsStudio still needs retested.

Small wow update.

20 months ago[SYSDM] Cumulative update 2020-04-01 for SMBIOS parser (#2495)
Stanislav Motylkov [Thu, 2 Apr 2020 17:57:53 +0000 (20:57 +0300)]
[SYSDM] Cumulative update 2020-04-01 for SMBIOS parser (#2495)

20 months ago[RPCRT4] Addendum to support for remote pipes names in ncacn_pipe_name() (24cd7bbe).
Hermès Bélusca-Maïto [Thu, 2 Apr 2020 16:25:44 +0000 (18:25 +0200)]
[RPCRT4] Addendum to support for remote pipes names in ncacn_pipe_name() (24cd7bbe).
CORE-6561 CORE-13442

- Call GetComputerNameA() only when a non-empty server name has been
  provided, thus slightly improving speed for the most common case when
  local calls (with an empty server name) are done.

- When a server name is passed, trim any leading UNC server prefix since
  the latter will be restored when building the pipe name string.

20 months ago[README] Add "open in Gitpod" button
Jérôme Gardou [Mon, 23 Mar 2020 09:41:00 +0000 (09:41 +0000)]
[README] Add "open in Gitpod" button

20 months ago[GITPOD]Add gitpod config
Jérôme Gardou [Tue, 17 Mar 2020 11:53:18 +0000 (11:53 +0000)]
[GITPOD]Add gitpod config

this commit adds support for Gitpod.io, a free automated
dev environment that makes contributing and generally working on GitHub
projects much easier. It allows anyone to start a ready-to-code dev
environment for any branch, issue and pull request with a single click.

20 months ago[RDBSS] Avoid CORE-13938
Joachim Henze [Sat, 17 Feb 2018 19:28:15 +0000 (20:28 +0100)]
[RDBSS] Avoid CORE-13938

Pierre recommended this workaround for 0.4.8rls before.
Avoids "GetVolumeInformation now fails on NFS volume"

This workaround was recurrently applied for all releases
0.4.8, 0.4.9, 0.4.10, 0.4.11, 0.4.12, 0.4.13.

I never got any reply in the regression-ticket and recurrently
applying this over and over again is a waste of time.
So I decided to commit to master today, but will leave
the ticket unresolved, so when a proper fix will arrive in the future,
the existing ticket will remind us to undo this workaround.

Please note that I replaced #if 0 with #if 1
as discussed with Pierre. That's different to the patch in ticket.

20 months ago[NTOS:MM] Using the macro MiIsPteOnPdeBoundary(). (#2496)
Vadim Galyant [Thu, 2 Apr 2020 10:15:33 +0000 (13:15 +0300)]
[NTOS:MM] Using the macro MiIsPteOnPdeBoundary(). (#2496)

The SYSTEM_PD_SIZE constant should not be used to determine the page boundary for page tables. It is better to use the portable MiIsPteOnPdeBoundary() macro for this.

20 months ago[STOBJECT] Change eject hardware dialog buttons from OK/Cancel to just OK. (#2493)
Jared Smudde [Wed, 1 Apr 2020 09:42:24 +0000 (04:42 -0500)]
[STOBJECT] Change eject hardware dialog buttons from OK/Cancel to just OK. (#2493)

It's just an information dialog that needs one button, it's not actually doing different actions based on user input.

20 months ago[SPEC2DEF] Omit skipped exports from ordinal numbering. 2485/head
Mark Jansen [Mon, 30 Mar 2020 17:41:14 +0000 (19:41 +0200)]
[SPEC2DEF] Omit skipped exports from ordinal numbering.
CORE-16769

20 months ago[HOTPLUG] Display class icons for removable devices
Eric Kohl [Tue, 31 Mar 2020 20:43:42 +0000 (22:43 +0200)]
[HOTPLUG] Display class icons for removable devices

20 months ago[CONFIGURE] Simplify version detection for modern Visual Studio
Victor Perevertkin [Tue, 31 Mar 2020 09:29:56 +0000 (12:29 +0300)]
[CONFIGURE] Simplify version detection for modern Visual Studio

20 months ago[HOTPLUG] Add 32 pixel icon. (#2486)
Jared Smudde [Mon, 30 Mar 2020 21:54:17 +0000 (16:54 -0500)]
[HOTPLUG] Add 32 pixel icon. (#2486)

Add a 32 pixel icon to the main icon for hotplug.cpl so the Safely Remove Hardware dialog looks normal.

20 months ago[HOTPLUG] Show removable devices and update the list on arrival and removal.
Eric Kohl [Mon, 30 Mar 2020 21:11:44 +0000 (23:11 +0200)]
[HOTPLUG] Show removable devices and update the list on arrival and removal.

20 months ago[ROSAPPS][PICE] Fix ROSAPPS-355 Unreachable code
Joachim Henze [Mon, 30 Mar 2020 15:18:16 +0000 (17:18 +0200)]
[ROSAPPS][PICE] Fix ROSAPPS-355 Unreachable code

Just to satisfy static code analysis. No change in behavior expected.

The same way as the external applications maintainers
fixed it in their latest version
https://sourceforge.net/projects/pice/files/pICE%20source/build_20/

By killing the whole function ScrollUp() with the disabled code.
Like the original authors I left the functions unused declaration
existing within hardware.h

20 months ago[NTOS:KD] Move dump of stack trace on crash to debugger
Hervé Poussineau [Sun, 29 Mar 2020 22:03:02 +0000 (00:03 +0200)]
[NTOS:KD] Move dump of stack trace on crash to debugger

Release builds now show again the bugcheck screen, instead of freezing.

20 months ago[NTOS:KE] Remove dead code
Hervé Poussineau [Sun, 29 Mar 2020 21:58:21 +0000 (23:58 +0200)]
[NTOS:KE] Remove dead code

20 months ago[NTOS:KD] Fix compilation with CMAKE_BUILD_TYPE=Release
Hervé Poussineau [Sat, 28 Mar 2020 23:30:53 +0000 (00:30 +0100)]
[NTOS:KD] Fix compilation with CMAKE_BUILD_TYPE=Release

This was broken by commit a890fc64d17e7c4a09a3cbe24e0dfc972d743dda

20 months ago[NTOS:KD] Fix compilation with CMAKE_BUILD_TYPE=Release
Hervé Poussineau [Sat, 28 Mar 2020 22:51:03 +0000 (23:51 +0100)]
[NTOS:KD] Fix compilation with CMAKE_BUILD_TYPE=Release

This was broken by commit f7ec84eea0790899ca34b79f2ec5a308204254ac

20 months ago[ACLUI] Properly enumerate cache+queue entries (#1937)
Serge Gautherie [Mon, 30 Mar 2020 11:13:22 +0000 (13:13 +0200)]
[ACLUI] Properly enumerate cache+queue entries (#1937)

20 months ago[PORTCLS] Stub missing IoControlCode switches (#1756)
Benjamin Aerni [Mon, 30 Mar 2020 10:58:25 +0000 (03:58 -0700)]
[PORTCLS] Stub missing IoControlCode switches (#1756)

Stub missing switches: IOCTL_KS_HANDSHAKE and IOCTL_KS_METHOD.

20 months ago[KERNEL32_APITEST][WS2_32_APITEST] Call SetLastError() before checking LastError...
Serge Gautherie [Mon, 30 Mar 2020 10:52:37 +0000 (12:52 +0200)]
[KERNEL32_APITEST][WS2_32_APITEST] Call SetLastError() before checking LastError (#2437)

Follow-up to cb5aa7be.

20 months ago[APITEST][NTDLL] Initial implementation of NtSetInformationProcess() testcase
Bișoc George [Sun, 29 Mar 2020 17:01:41 +0000 (19:01 +0200)]
[APITEST][NTDLL] Initial implementation of NtSetInformationProcess() testcase

The following testcase only performs argument checks for ProcessForegroundInformation class for the moment. The testcase will be expanded with further tests when needed.

20 months ago[REACTOS] Remove forced _WIN32_IE defines
Serge Gautherie [Sat, 21 Mar 2020 01:09:33 +0000 (02:09 +0100)]
[REACTOS] Remove forced _WIN32_IE defines

No impact, as already deactivated or superseded or superfluous.

Import
https://source.winehq.org/git/wine.git/commit/7770e26f2d773dcade6f073585b6fac2661e1eb3

20 months ago[NTDLL_WINETEST] Remove forced 0x500 API versions (#2483)
Serge Gautherie [Mon, 30 Mar 2020 10:38:47 +0000 (12:38 +0200)]
[NTDLL_WINETEST] Remove forced 0x500 API versions (#2483)

No impact, as conditional.

Import
https://source.winehq.org/git/wine.git/commit/71d810319059d171df0e40d85752519e50e58056

20 months ago[SHELL32] HCR_GetIconA(): Properly use icon_idx (#2482)
Serge Gautherie [Mon, 30 Mar 2020 10:24:59 +0000 (12:24 +0200)]
[SHELL32] HCR_GetIconA(): Properly use icon_idx (#2482)

CORE-11713

Import
https://source.winehq.org/git/wine.git/commit/7cc2806e0e0d97c0df93e2695351a4d3a3c72254

20 months ago[WINMM] Add a WARN() when winejoystick.drv is missing (#2480)
Serge Gautherie [Mon, 30 Mar 2020 10:14:52 +0000 (12:14 +0200)]
[WINMM] Add a WARN() when winejoystick.drv is missing (#2480)

Follow-up to 97150ce9.

Import
https://source.winehq.org/git/wine.git/commit/175a2a027637719d1f3c644d97b6df4aacabb296

20 months ago[GDI32] Allow BI_BITFIELDS compression in CreateDIBitmap (#2448)
Tibor Lajos Füzi [Mon, 30 Mar 2020 10:11:38 +0000 (12:11 +0200)]
[GDI32] Allow BI_BITFIELDS compression in CreateDIBitmap (#2448)

CORE-16750, CORE-15960

20 months ago[RPCRT4] Fix 'Routeines' typos (#2481)
Serge Gautherie [Mon, 30 Mar 2020 08:28:52 +0000 (10:28 +0200)]
[RPCRT4] Fix 'Routeines' typos (#2481)

Addendum to b6fdb56b9adf780902cc9cf65af1f76365a96ce4.

Import
https://source.winehq.org/git/wine.git/commit/c73352047d20a503c67bdd583f6ef8d98711a678

CORE-15682

20 months ago[CMAKE] Fix symbol directory for non-MSVC builds
Jérôme Gardou [Fri, 20 Mar 2020 10:30:33 +0000 (10:30 +0000)]
[CMAKE] Fix symbol directory for non-MSVC builds

20 months ago[KDGDB] Various fixes and improvements
Jérôme Gardou [Fri, 20 Mar 2020 10:32:19 +0000 (10:32 +0000)]
[KDGDB] Various fixes and improvements

20 months ago[NTOSKRNL] Fix build
Jérôme Gardou [Fri, 20 Mar 2020 10:32:40 +0000 (10:32 +0000)]
[NTOSKRNL] Fix build

20 months ago[HOTPLUG] Enable the hotplug.cpl and add the 'Safely Remove Hardware' dialog
Eric Kohl [Sun, 29 Mar 2020 22:37:45 +0000 (00:37 +0200)]
[HOTPLUG] Enable the hotplug.cpl and add the 'Safely Remove Hardware' dialog

20 months ago[RTL] Introduce RtlpImageNtHeader, 2476/head
Mark Jansen [Sat, 28 Mar 2020 13:28:49 +0000 (14:28 +0100)]
[RTL] Introduce RtlpImageNtHeader,
which implements the required functionality.
ntdll and ntoskrnl now have a wrapper for this, with SEH.
This protects the function against malformed / bad images,
whilst still being able to use the code in freeldr et al.
Idea from Thomas.
CORE-14857

20 months ago[NDK] Ensure RTL_IMAGE_NT_HEADER_EX_FLAG_NO_RANGE_CHECK is available regardless of...
Mark Jansen [Sat, 28 Mar 2020 15:30:42 +0000 (16:30 +0100)]
[NDK] Ensure RTL_IMAGE_NT_HEADER_EX_FLAG_NO_RANGE_CHECK is available regardless of NTOS_MODE_USER being defined.
CORE-14857

20 months ago[LDR] Include source dll in static snap failure dprint 2401/head
Mark Jansen [Fri, 28 Feb 2020 21:24:30 +0000 (22:24 +0100)]
[LDR] Include source dll in static snap failure dprint

20 months ago[MSV1_0] LsaApLogonUserEx2: use RtlRunDecodeUnicodeString to decode password 2357/head
Andreas Maier [Sun, 16 Feb 2020 10:05:25 +0000 (11:05 +0100)]
[MSV1_0] LsaApLogonUserEx2: use RtlRunDecodeUnicodeString to decode password

20 months ago[CMAKE] kernel32_winetest: Enable 'generated.c', at last 2418/head
Serge Gautherie [Sat, 7 Mar 2020 12:30:23 +0000 (13:30 +0100)]
[CMAKE] kernel32_winetest: Enable 'generated.c', at last

Follow-up to 20f403966652c15911d9614bbf804113d6e9d10c.

ROSTESTS-251

20 months ago[KERNEL32_WINETEST] Uncomment out 'LPEXCEPTION_RECORD' checks
Serge Gautherie [Sat, 7 Mar 2020 12:20:28 +0000 (13:20 +0100)]
[KERNEL32_WINETEST] Uncomment out 'LPEXCEPTION_RECORD' checks

Revert part of r70802 (dd21fa115a596cbf0c8565e8e9db919acfaa8c6b).
Follow-up to 2e82175ba48412bd29ac43d9d616cb8f8a1068e4.

ROSTESTS-251

20 months ago[WINETESTS] */generated.c: Remove forced 0x0501 API versions 2436/head
Serge Gautherie [Fri, 13 Mar 2020 22:50:33 +0000 (23:50 +0100)]
[WINETESTS] */generated.c: Remove forced 0x0501 API versions

This actually affects 2 modules only:
* kernel32: this file is still commented out, these defines were going to be deactivated anyway.
* rpcrt4: I don't know why it had these defines (still) activated. Anyway.

Import
https://source.winehq.org/git/wine.git/commit/aa384d36429110970aa72acbc5043158de6aff03

20 months ago[SHELL32_WINETEST] shlexec.c: Remove forced 0x0501 API versions 2452/head
Serge Gautherie [Thu, 12 Mar 2020 16:07:47 +0000 (17:07 +0100)]
[SHELL32_WINETEST] shlexec.c: Remove forced 0x0501 API versions

No impact, as already deactivated.

Import
https://source.winehq.org/git/wine.git/commit/8fc0b7d525ae5e85b5a796eaf6572d22591e02c6

20 months ago[RPCRT4_WINETEST] ndr_marshall.c: Remove forced 0x0500 API versions
Serge Gautherie [Thu, 12 Mar 2020 16:07:47 +0000 (17:07 +0100)]
[RPCRT4_WINETEST] ndr_marshall.c: Remove forced 0x0500 API versions

Import
https://source.winehq.org/git/wine.git/commit/57f08ba5259e56ae681bab1e61f86d6e8ab96f37

20 months ago[ADVAPI32] wine/crypt.*: Misc fixes 2451/head
Serge Gautherie [Wed, 25 Mar 2020 06:54:36 +0000 (07:54 +0100)]
[ADVAPI32] wine/crypt.*: Misc fixes

Import
https://source.winehq.org/git/wine.git/commit/62df03af96822bda36aef398d00bf5998f490e90
https://source.winehq.org/git/wine.git/commit/8b9e3dae4fb875d6a445bd5182bb6ae32f5680c7
https://source.winehq.org/git/wine.git/commit/2df16753f0008099e119f39469badd10e7450bad

And use explicit '#ifndef __REACTOS__'.

20 months ago[ADVAPI32][PSDK] CryptReleaseContext(): dwFlags parameter is DWORD, only
Serge Gautherie [Thu, 12 Mar 2020 16:14:06 +0000 (17:14 +0100)]
[ADVAPI32][PSDK] CryptReleaseContext(): dwFlags parameter is DWORD, only

Import
https://source.winehq.org/git/wine.git/commit/9cc8b501eea8dc3bd589ab3e5df3b750e43699d9

20 months ago[ADVAPI32] wine: Remove remnant ros_diff.patch
Serge Gautherie [Thu, 12 Mar 2020 16:07:47 +0000 (17:07 +0100)]
[ADVAPI32] wine: Remove remnant ros_diff.patch

Added on 4234345b03677c2b01d0f313108e24d684e4d2ed (r48090),
merged on d4a89f6ccaf19953acf0d218e9e0f985c5d6004b.

CORE-14434

20 months ago[WORDPAD] Restore code commas in no-NO.rc 2473/head
Serge Gautherie [Fri, 27 Mar 2020 16:15:27 +0000 (17:15 +0100)]
[WORDPAD] Restore code commas in no-NO.rc

".../no-NO.rc:81: syntax error"

20 months ago[KMTEST] Delete special-purpose driver services on unload. ROSTESTS-263
Thomas Faber [Sat, 28 Mar 2020 19:31:31 +0000 (20:31 +0100)]
[KMTEST] Delete special-purpose driver services on unload. ROSTESTS-263

Based on a patch by Serge Gautherie.

20 months ago[Win32SS] Form Sanity to Hook Callbacks
jimtabor [Sat, 28 Mar 2020 19:18:14 +0000 (14:18 -0500)]
[Win32SS] Form Sanity to Hook Callbacks

Fix WH_CALLWNDPROC/RET data to user hook calls. See CORE-13019 and CORE-13907.

20 months ago[User32] Fix null return.
jimtabor [Sat, 28 Mar 2020 19:03:15 +0000 (14:03 -0500)]
[User32] Fix null return.

See CORE-16769.

20 months ago[SDK][NDK][PSTYPES] Align the PROCESS_PRIORITY_CLASS structure during compile time...
Bișoc George [Sat, 28 Mar 2020 18:17:10 +0000 (19:17 +0100)]
[SDK][NDK][PSTYPES] Align the PROCESS_PRIORITY_CLASS structure during compile time (#2478)

CORE-16757

After doing investigations on the priority class structure alignment, it's been revealed that in Windows XP and Server 2003 this PROCESS_PRIORITY_CLASS structure is aligned as a 4-bytes of size hence NtQueryInformationProcess() probes the alignment of user mode arguments buffer output and buffer length with requirement of a ULONG.

As PROCESS_PRIORITY_CLASS was initially aligned as a 1-byte size because both BOOLEAN and UCHAR are just unsigned characters, the compiler may not align such structure and gracefully let the default alignment of such structure as is, 1-byte because an unsigned char has a size of 1 byte. Setting an align attribute to this structure fixes the problem of a potential datatype misalignment which caused GetPriorityClass() to not retrieve the process' priority class properly.

20 months ago[MSV1_0] use precompiled headers (#2475)
Andreas Maier [Sat, 28 Mar 2020 16:13:57 +0000 (17:13 +0100)]
[MSV1_0] use precompiled headers (#2475)

20 months ago[NTOS:MM] Make _X86PAE_ the only define for PAE-enabled kernel
Victor Perevertkin [Sat, 28 Mar 2020 15:11:42 +0000 (18:11 +0300)]
[NTOS:MM] Make _X86PAE_ the only define for PAE-enabled kernel

20 months ago[SDK][NDK] MMPTE for PAE (#2453)
Vadim Galyant [Sat, 28 Mar 2020 12:45:51 +0000 (15:45 +0300)]
[SDK][NDK] MMPTE for PAE (#2453)

This not only makes PAE possible, but also allows to make the definitions and macros in the memory manager header files more human-readable.

CORE-16702

* [SDK][NDK] Make the _MMPTE_HARDWARE structure more compact and more human-readable.

* [SDK][NDK] Add definitions a struct _MMPTE for PAE mode.

20 months ago[WINEFILE] Fix 'LANGUAGE_SI_SI' typo (#2474)
Serge Gautherie [Sat, 28 Mar 2020 12:23:35 +0000 (13:23 +0100)]
[WINEFILE] Fix 'LANGUAGE_SI_SI' typo (#2474)

20 months ago[NTDLL_APITEST] Add testcase for process priority class. CORE-16757 2470/head
Bișoc George [Thu, 26 Mar 2020 11:11:29 +0000 (12:11 +0100)]
[NTDLL_APITEST] Add testcase for process priority class. CORE-16757

Currently the testcase function only addresses the behaviour of getting an
unaligned buffer (either of correct length size or not) for now.

20 months ago[STORAHCI] Replace some __inline by FORCEINLINE
Hervé Poussineau [Thu, 26 Mar 2020 10:53:27 +0000 (11:53 +0100)]
[STORAHCI] Replace some __inline by FORCEINLINE

Functions were declared as __inline, then used, and then defined.
This leads to some linking errors with some compilers.

20 months ago[TCPIP] Add some static specifiers, to prevent exporting FORCEINLINE function outside...
Hervé Poussineau [Thu, 26 Mar 2020 15:26:16 +0000 (16:26 +0100)]
[TCPIP] Add some static specifiers, to prevent exporting FORCEINLINE function outside compilation unit

20 months ago[WIN32K] Add some static specifiers, to prevent exporting FORCEINLINE function outsid...
Hervé Poussineau [Thu, 26 Mar 2020 13:48:35 +0000 (14:48 +0100)]
[WIN32K] Add some static specifiers, to prevent exporting FORCEINLINE function outside compilation unit

20 months ago[FSUTIL] Mark some functions as static (only used in this file)
Hervé Poussineau [Tue, 4 Feb 2020 22:29:17 +0000 (23:29 +0100)]
[FSUTIL] Mark some functions as static (only used in this file)

20 months ago[NDK] Fix RTL_PAGED_CODE macro in user mode
Hervé Poussineau [Thu, 26 Mar 2020 15:28:10 +0000 (16:28 +0100)]
[NDK] Fix RTL_PAGED_CODE macro in user mode

NOP_FUNCTION is defined to "(void)0". Calling :
RTL_PAGED_CODE();
in user mode was changed to:
(void)0();

As "0" is not callable, this was leading to a compilation error.

20 months ago[SDK] Fix dummy SEH to always reference the parameter in _SEH2_EXCEPT
Hervé Poussineau [Thu, 26 Mar 2020 15:24:59 +0000 (16:24 +0100)]
[SDK] Fix dummy SEH to always reference the parameter in _SEH2_EXCEPT

Otherwise, we may have compilation errors if this parameter is the name of a static function.

20 months ago[CMAKE] Add some -D__ROS_LONG64__ to please gcc x64
Hervé Poussineau [Thu, 26 Mar 2020 13:40:39 +0000 (14:40 +0100)]
[CMAKE] Add some -D__ROS_LONG64__ to please gcc x64

We can now pass a UINT* to a function wanting a DWORD*

20 months ago[ISAPNP] Report DMA channels
Hervé Poussineau [Sun, 22 Mar 2020 22:23:04 +0000 (23:23 +0100)]
[ISAPNP] Report DMA channels

20 months ago[ISAPNP] Fix reporting of devices with hexadecimal productId
Hervé Poussineau [Sun, 22 Mar 2020 22:22:48 +0000 (23:22 +0100)]
[ISAPNP] Fix reporting of devices with hexadecimal productId

20 months ago[USERENV] sq-AL: Fix '%SistemDrive%' typo (#2469)
Serge Gautherie [Thu, 26 Mar 2020 06:28:09 +0000 (07:28 +0100)]
[USERENV] sq-AL: Fix '%SistemDrive%' typo (#2469)

Not to translate!

CORE-16762

20 months ago[BOOTDATA] Add 0845 (bn-bd) language (#2467)
Serge Gautherie [Thu, 26 Mar 2020 01:05:05 +0000 (02:05 +0100)]
[BOOTDATA] Add 0845 (bn-bd) language (#2467)

In accordance with the NLS value specified in base/setup/lib/lang/bn-BD.h
CORE-16766

20 months ago[PING] Do not abort (as OoM) when request size = 0
Serge Gautherie [Sat, 7 Mar 2020 12:20:28 +0000 (13:20 +0100)]
[PING] Do not abort (as OoM) when request size = 0

20 months ago[WIN32K] Fix bounds calculation when drawing with a pen
Jérôme Gardou [Tue, 24 Mar 2020 11:20:58 +0000 (11:20 +0000)]
[WIN32K] Fix bounds calculation when drawing with a pen

20 months ago[STORPROP] Add storprop.dll and implement the DiskClassInstaller stub
Eric Kohl [Sun, 22 Mar 2020 15:37:48 +0000 (16:37 +0100)]
[STORPROP] Add storprop.dll and implement the DiskClassInstaller stub

20 months ago[ISAPNP] Create requirements and resource lists when detecting a device
Hervé Poussineau [Sun, 22 Mar 2020 13:20:52 +0000 (14:20 +0100)]
[ISAPNP] Create requirements and resource lists when detecting a device

20 months ago[ISAPNP] Read all tags when detecting devices, and keep interesting ones
Hervé Poussineau [Sat, 21 Mar 2020 22:08:00 +0000 (23:08 +0100)]
[ISAPNP] Read all tags when detecting devices, and keep interesting ones

Currently, we only keep device identification, IO ports and IRQs.

20 months ago[ISAPNP] Create resource list ahead of IRP_MN_QUERY_RESOURCES
Hervé Poussineau [Sat, 21 Mar 2020 16:37:45 +0000 (17:37 +0100)]
[ISAPNP] Create resource list ahead of IRP_MN_QUERY_RESOURCES

20 months ago[ISAPNP] Create resource requirements ahead of IRP_MN_QUERY_RESOURCE_REQUIREMENTS
Hervé Poussineau [Sat, 21 Mar 2020 15:58:21 +0000 (16:58 +0100)]
[ISAPNP] Create resource requirements ahead of IRP_MN_QUERY_RESOURCE_REQUIREMENTS

20 months ago[ISAPNP] Fix capabilities for devices
Hervé Poussineau [Sat, 21 Mar 2020 13:59:02 +0000 (14:59 +0100)]
[ISAPNP] Fix capabilities for devices

20 months ago[ISAPNP] Return a compatibleIDs only if defined
Hervé Poussineau [Sat, 21 Mar 2020 13:58:36 +0000 (14:58 +0100)]
[ISAPNP] Return a compatibleIDs only if defined

20 months ago[ISAPNP] Fix some indentation
Hervé Poussineau [Sat, 21 Mar 2020 12:39:20 +0000 (13:39 +0100)]
[ISAPNP] Fix some indentation

20 months ago[WINSRV] Use DIB section for frame buffer bitmap
Timo Kreuzer [Sat, 14 Mar 2020 17:45:51 +0000 (18:45 +0100)]
[WINSRV] Use DIB section for frame buffer bitmap

20 months ago[STOBJECT] Remove obsolete code and use string resources instead of hard-coded strings
Eric Kohl [Sun, 22 Mar 2020 10:31:56 +0000 (11:31 +0100)]
[STOBJECT] Remove obsolete code and use string resources instead of hard-coded strings

20 months ago[Explorer|Shell32] Fix Build
jimtabor [Sun, 22 Mar 2020 00:18:15 +0000 (19:18 -0500)]
[Explorer|Shell32] Fix Build

Missed a file. See CORE-14439.

20 months ago[Explorer|Shell32]
jimtabor [Sun, 22 Mar 2020 00:13:55 +0000 (19:13 -0500)]
[Explorer|Shell32]

Fix SHAppBarMessage (not perfect) by adapting wine code. See CORE-14439.
More work is required. Kept the original code for reference.
Example : SetWindowPos should be called via Post Message.
Code commit is to wake up other developers.

20 months ago[STDOBJECT] Show the hotplug icon when a USB-Stick is inserted
Eric Kohl [Sat, 21 Mar 2020 22:46:24 +0000 (23:46 +0100)]
[STDOBJECT] Show the hotplug icon when a USB-Stick is inserted

- Enable the hotplug service by default
- Start a timer on WM_DEVICECHANGE:DBT_DEVNODES_CHANGED to trigger the removable device detection.

20 months ago[NTOS:IO] Fix indentation. No code changes!
Eric Kohl [Sat, 21 Mar 2020 13:32:18 +0000 (14:32 +0100)]
[NTOS:IO] Fix indentation. No code changes!

20 months ago[NTOS:PNP] Fix indentation. No code changes!
Eric Kohl [Sat, 21 Mar 2020 12:22:09 +0000 (13:22 +0100)]
[NTOS:PNP] Fix indentation. No code changes!