reactos.git
4 years ago[TCPIP] Remove duplicate declarations from ticonsts.h
Victor Perevertkin [Sat, 21 Dec 2019 01:02:47 +0000 (04:02 +0300)]
[TCPIP] Remove duplicate declarations from ticonsts.h

4 years ago[SDK][IP] Pass IP options to ReceiveDatagramHandler
Victor Perevertkin [Fri, 20 Dec 2019 20:19:41 +0000 (23:19 +0300)]
[SDK][IP] Pass IP options to ReceiveDatagramHandler

4 years ago[TCPIP] Implement IOCTL_ICMP_ECHO_REQUEST in tcpip.sys
Victor Perevertkin [Mon, 18 Nov 2019 17:55:10 +0000 (20:55 +0300)]
[TCPIP] Implement IOCTL_ICMP_ECHO_REQUEST in tcpip.sys
Also clean up ICMP handling code in sdk/lib/drivers/ip
CORE-10760

4 years ago[IPHLPAPI] Make icmp functions use IOCTL_ICMP_ECHO_REQUEST from tcpip.sys
Victor Perevertkin [Mon, 18 Nov 2019 17:54:03 +0000 (20:54 +0300)]
[IPHLPAPI] Make icmp functions use IOCTL_ICMP_ECHO_REQUEST from tcpip.sys
This adds missing features like using events and APCs within IcmpSendEcho2
functions and others.
CORE-10742 CORE-14411

Co-authored-by: Tim Crawford <crawfxrd@gmail.com>
4 years ago[SDK][IP] Fix formatting
Victor Perevertkin [Fri, 22 Nov 2019 19:04:56 +0000 (22:04 +0300)]
[SDK][IP] Fix formatting

4 years ago[TCPIP][FORMATTING] Format TiDispatch function. No functional changes
Victor Perevertkin [Sat, 16 Nov 2019 23:29:55 +0000 (02:29 +0300)]
[TCPIP][FORMATTING] Format TiDispatch function. No functional changes

4 years ago[USETUP] de-DE Whitespace nitpicking CORE-16792
Joachim Henze [Mon, 6 Apr 2020 19:28:45 +0000 (21:28 +0200)]
[USETUP] de-DE Whitespace nitpicking CORE-16792

To harmonize it to 3 separator-spaces how it is done
historically in other dlgs.

4 years ago[USETUP] de-DE Fix typo CORE-16792
Joachim Henze [Mon, 6 Apr 2020 18:55:18 +0000 (20:55 +0200)]
[USETUP] de-DE Fix typo CORE-16792

Fix typo in my last changeset
0.4.14-dev-1323-g
d079342e0a0684b4fb6530ee7ea4728f2a0ae985

4 years ago[USETUP] de-DE Overhaul german translation CORE-16792
Joachim Henze [Mon, 6 Apr 2020 18:49:44 +0000 (20:49 +0200)]
[USETUP] de-DE Overhaul german translation CORE-16792

4 years ago[USETUP] de-DE Split a line of text into two parts CORE-16791
Joachim Henze [Mon, 6 Apr 2020 15:11:45 +0000 (17:11 +0200)]
[USETUP] de-DE Split a line of text into two parts CORE-16791

4 years ago[TRANSLATION] Updating Spanish translation (#2503)
Julen Urizar Compains [Mon, 6 Apr 2020 11:17:20 +0000 (13:17 +0200)]
[TRANSLATION] Updating Spanish translation (#2503)

Updating translation for:
notepad, reactos, usetup, explorer, netshell, msgina, setupapi, shell32.

- Complete and Fix the SPANISH TRANSLATION on Setup
- Correct the random names, fixing the denominations, translate of the English words, and fixing random and incorrect denominations like "Cabinet" or "distribuciones".
- Fixed the notepad shortcuts of "Save" (Ctrl+g) and "Replace".

4 years ago[NTOS:MM] Since the _MMPTE_SUBSECTION structure for x86 (without PAE) uses the Subsec... 2425/head
Vadim Galyant [Fri, 24 Jan 2020 00:29:40 +0000 (09:29 +0900)]
[NTOS:MM] Since the _MMPTE_SUBSECTION structure for x86 (without PAE) uses the SubsectionAddressLow truncated by the least significant three bits, the _CONTROL_AREA, _LARGE_CONTROL_AREA, _SUBSECTION, _MSUBSECTION structures must be 8-byte aligned.
Corresponding checks in MmArmInitSystem() have been removed.

4 years ago[NTOS:MM] In MmArmInitSystem, perform self-tests after per-arch initialization.
Thomas Faber [Sun, 8 Mar 2020 19:05:02 +0000 (20:05 +0100)]
[NTOS:MM] In MmArmInitSystem, perform self-tests after per-arch initialization.

Mm(Non)PagedPoolStart won't be initialized otherwise, making the tests
pretty pointless.

4 years ago[NTOS:MM] Initialize MmSubsectionBase on x86 builds. CORE-16731
Thomas Faber [Sun, 8 Mar 2020 19:03:33 +0000 (20:03 +0100)]
[NTOS:MM] Initialize MmSubsectionBase on x86 builds. CORE-16731

Spotted by Vadim Galyant.

4 years ago[NTOS:MM] Get rid of unnecessary MmZeroingPageThreadActive. 2372/head
Thomas Faber [Sat, 22 Feb 2020 11:31:54 +0000 (12:31 +0100)]
[NTOS:MM] Get rid of unnecessary MmZeroingPageThreadActive.

4 years ago[NTOS:MM] Fix MmZeroingPageThreadActive race condition.
Thomas Faber [Sun, 16 Feb 2020 19:23:07 +0000 (20:23 +0100)]
[NTOS:MM] Fix MmZeroingPageThreadActive race condition.

If a thread calls MiInsertPageInFreeList after the zero page thread has
woken up from its wait but before it acquired the PFN lock,
MmZeroingPageEvent might get set again even though there is no additional
work to be done.
By setting MmZeroingPageThreadActive together with the event, the variable
correctly indicates for future callers that the zero thread will process
newly added free pages.

This partially reverts r72990.

4 years ago[NTOS:PO] Call power IRP handlers at PASSIVE_LEVEL when needed. CORE-11648 CORE-16704 2376/head
Thomas Faber [Sun, 23 Feb 2020 15:18:18 +0000 (16:18 +0100)]
[NTOS:PO] Call power IRP handlers at PASSIVE_LEVEL when needed. CORE-11648 CORE-16704

This means we now correctly handle the DO_POWER_PAGABLE flag.
In particular, Windows's usbhub.sys calls KeDelayExecutionThread from a
power IRP dispatch routine. We now handle this correctly.

4 years ago[Win32SS] Fix Mask for Draw Frame States
James Tabor [Mon, 6 Apr 2020 02:11:44 +0000 (21:11 -0500)]
[Win32SS] Fix Mask for Draw Frame States

Fixes drawing of caption bar buttons.

See CORE-8808.

4 years ago[DEVMGR] CDeviceView::RecurseChildDevices: Skip invalid device nodes
Eric Kohl [Sun, 5 Apr 2020 16:29:32 +0000 (18:29 +0200)]
[DEVMGR] CDeviceView::RecurseChildDevices: Skip invalid device nodes

CORE-16780

4 years ago[MBEDTLS] Update to version 2.7.14. CORE-16787
Thomas Faber [Sat, 4 Apr 2020 19:30:22 +0000 (21:30 +0200)]
[MBEDTLS] Update to version 2.7.14. CORE-16787

4 years ago[ACPICA] Update to version 20200326. CORE-16783
Thomas Faber [Wed, 1 Apr 2020 20:27:34 +0000 (22:27 +0200)]
[ACPICA] Update to version 20200326. CORE-16783

4 years ago[HOTPLUG] Add the context menu to the device tree view
Eric Kohl [Sun, 5 Apr 2020 07:48:14 +0000 (09:48 +0200)]
[HOTPLUG] Add the context menu to the device tree view

4 years ago[ROSAUTOTEST] Submit results to https://reactos.org:8443 instead of https://tlsv1...
Colin Finck [Sat, 4 Apr 2020 18:34:41 +0000 (20:34 +0200)]
[ROSAUTOTEST] Submit results to https://reactos.org:8443 instead of https://tlsv1.reactos.org

It is much easier server-side to maintain a different TLS configuration on another port rather than another subdomain.

4 years ago[RAPPS] Ensure the download dialog is always destroyed 2443/head
Mark Jansen [Sat, 4 Apr 2020 16:37:18 +0000 (18:37 +0200)]
[RAPPS] Ensure the download dialog is always destroyed
Ideally, this entire download thing should be rewritten, but that is
something for another day.

4 years ago[ATL] Add some hacks for gcc,
Mark Jansen [Tue, 17 Mar 2020 21:35:53 +0000 (22:35 +0100)]
[ATL] Add some hacks for gcc,
since parsing templates is not something it can do

4 years ago[RAPPS] Use the provided SizeBytes for the progress,
Mark Jansen [Tue, 17 Mar 2020 19:54:45 +0000 (20:54 +0100)]
[RAPPS] Use the provided SizeBytes for the progress,
when the host does not give a file size

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

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

4 years 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

4 years 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

4 years 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

4 years 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".

4 years 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".

4 years 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".

4 years 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.

4 years 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>
4 years 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.

4 years 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.

4 years 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.

4 years 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__`

4 years 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.

4 years 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

4 years 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

4 years 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

4 years 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.

4 years 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)

4 years 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.

4 years 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

4 years 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.

4 years 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.

4 years 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.

4 years 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.

4 years 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

4 years 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

4 years 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

4 years 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.

4 years 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.

4 years 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

4 years 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.

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

4 years 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

4 years 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

4 years 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)

4 years 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.

4 years 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.

4 years 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.

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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

4 years 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__'.

4 years 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

4 years 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

4 years 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"

4 years 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.

4 years 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.

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

See CORE-16769.

4 years 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.

4 years 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)

4 years 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

4 years 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.

4 years 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)

4 years 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.

4 years 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.

4 years 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