reactos.git
2 years ago[KERNEL32] Fix IsShimInfrastructureDisabled. CORE-13352
Mark Jansen [Sat, 3 Jun 2017 13:06:32 +0000 (13:06 +0000)]
[KERNEL32] Fix IsShimInfrastructureDisabled. CORE-13352

svn path=/trunk/; revision=74760

2 years ago[KMTESTS:MM]
Pierre Schweitzer [Sat, 3 Jun 2017 10:29:39 +0000 (10:29 +0000)]
[KMTESTS:MM]
Test various sizes with MmMapLockedPagesSpecifyCache() to show that behavior is strictly identical.
This was designed/tested under W2K3.

CORE-8204

svn path=/trunk/; revision=74759

2 years ago[KERNEL32_APITEST]
Thomas Faber [Sat, 3 Jun 2017 07:05:31 +0000 (07:05 +0000)]
[KERNEL32_APITEST]
- Add tests for IsDBCSLeadByteEx. Patch by Katayama Hirofumi MZ.
ROSTESTS-281 #resolve

svn path=/trunk/; revision=74758

2 years ago[LOCALSPL]
Thomas Faber [Sat, 3 Jun 2017 06:46:34 +0000 (06:46 +0000)]
[LOCALSPL]
- Fix out-of-bounds access in _LocalGetPrinterLevel5. Patch by Ivan Rodionov.
CORE-13356 #resolve

svn path=/trunk/; revision=74757

2 years ago[MSWSOCK] Revert r74753 and r74755 as it showed regressions
Peter Hater [Sat, 3 Jun 2017 00:30:20 +0000 (00:30 +0000)]
[MSWSOCK] Revert r74753 and r74755 as it showed regressions

svn path=/trunk/; revision=74756

2 years ago[MSWSOCK] Rearrange the function places to avoid forward declarations and code formatting
Peter Hater [Fri, 2 Jun 2017 21:57:37 +0000 (21:57 +0000)]
[MSWSOCK] Rearrange the function places to avoid forward declarations and code formatting

svn path=/trunk/; revision=74755

2 years ago[NETAPI32]
Eric Kohl [Fri, 2 Jun 2017 21:56:17 +0000 (21:56 +0000)]
[NETAPI32]
- Implement NetShareEnum, NetShareEnumSticky, NetShareGetInfo and NetShareSetInfo. These functions call their counterparts in the server service.
- NetShareAdd: Fix the level check.

svn path=/trunk/; revision=74754

2 years ago[MSWSOCK] Add wine debug messages on mswsock debug channel.
Peter Hater [Fri, 2 Jun 2017 21:01:47 +0000 (21:01 +0000)]
[MSWSOCK] Add wine debug messages on mswsock debug channel.
Better cleanup some failure paths.
Fix some error codes.
Add some error checks.
Add some comments.

svn path=/trunk/; revision=74753

2 years ago[NETAPI32]
Eric Kohl [Fri, 2 Jun 2017 20:02:49 +0000 (20:02 +0000)]
[NETAPI32]
- Implement NetShareAdd, NetShareCheck, NetShareDel and NetShareDelSticky. These functions call their counterparts in the server service.
- Add stubs for NetShareEnum, NetShareEnumSticky, NetShareGetInfo and NetShareSetInfo.
- Get rid of the NetShare wine stubs.

svn path=/trunk/; revision=74752

2 years ago[KMTESTS:MM]
Pierre Schweitzer [Fri, 2 Jun 2017 19:19:32 +0000 (19:19 +0000)]
[KMTESTS:MM]
Add tests for MmMapLockedPagesSpecifyCache() functions, and more specifically for usermode mapping.
This was designed/tested under W2K3.

CORE-8204

svn path=/trunk/; revision=74751

2 years ago[MSWSOCK] Call explicitly DnsQuery_W. Copy host aliases if available as answer from...
Peter Hater [Fri, 2 Jun 2017 17:52:20 +0000 (17:52 +0000)]
[MSWSOCK] Call explicitly DnsQuery_W. Copy host aliases if available as answer from the query

svn path=/trunk/; revision=74750

2 years ago[USETUP]: Creating a registry key with zero access is just plainly invalid. Fix it...
Hermès Bélusca-Maïto [Fri, 2 Jun 2017 00:44:04 +0000 (00:44 +0000)]
[USETUP]: Creating a registry key with zero access is just plainly invalid. Fix it. It was not caught before because, we never ever booted a 1st-stage setup with a valid mounted existing SYSTEM key (as Windows does).

svn path=/trunk/; revision=74742

2 years ago[MKHIVE]: Fix string byte size vs. count in number of characters confusion in append_...
Hermès Bélusca-Maïto [Fri, 2 Jun 2017 00:05:53 +0000 (00:05 +0000)]
[MKHIVE]: Fix string byte size vs. count in number of characters confusion in append_multi_sz_value(); this was already OK in wine's code. Should fix corrupted multi-string entries in the livecd registry hives, for example...
In addition, always open the hive file to be created in write mode only.
CORE-13347

svn path=/trunk/; revision=74740

2 years ago[MKHIVE]: Formatting changes only + sync back the names of the reg-inf functions...
Hermès Bélusca-Maïto [Fri, 2 Jun 2017 00:00:37 +0000 (00:00 +0000)]
[MKHIVE]: Formatting changes only + sync back the names of the reg-inf functions with the ones where they are coming from (aka. Wine's setupapi/install.c).

svn path=/trunk/; revision=74739

2 years ago[MKHIVE]: Implement CmpFileRead().
Hermès Bélusca-Maïto [Thu, 1 Jun 2017 23:54:08 +0000 (23:54 +0000)]
[MKHIVE]: Implement CmpFileRead().

svn path=/trunk/; revision=74738

2 years ago[RDBSS]
Pierre Schweitzer [Thu, 1 Jun 2017 21:37:08 +0000 (21:37 +0000)]
[RDBSS]
Fix uninit var usage

CORE-13345
CORE-11327

svn path=/trunk/; revision=74737

2 years ago[BUGCODES]: Move our MORAL_EXCEPTION_ERROR BSOD to where it should really belong...
Hermès Bélusca-Maïto [Thu, 1 Jun 2017 20:20:25 +0000 (20:20 +0000)]
[BUGCODES]: Move our MORAL_EXCEPTION_ERROR BSOD to where it should really belong (aka BSOD 0x9A) (see https://docs.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-0x9a--system-license-violation why). BSOD 0x7C is however legit: BUGCODE_NDIS_DRIVER.

svn path=/trunk/; revision=74736

2 years ago[NTOS]: Better clean up behind ourselves on failure paths (aka. closing handles)...
Hermès Bélusca-Maïto [Thu, 1 Jun 2017 18:37:48 +0000 (18:37 +0000)]
[NTOS]: Better clean up behind ourselves on failure paths (aka. closing handles). These functions are clearly not written with correct cleanup-on-failure concept in mind...

svn path=/trunk/; revision=74735

2 years ago[NTOS]: Code formatting only.
Hermès Bélusca-Maïto [Thu, 1 Jun 2017 18:35:48 +0000 (18:35 +0000)]
[NTOS]: Code formatting only.

svn path=/trunk/; revision=74734

2 years ago[NTOS]: Minor code formatting + don't leak a handle in case of failure, in CmpInitial...
Hermès Bélusca-Maïto [Thu, 1 Jun 2017 18:27:41 +0000 (18:27 +0000)]
[NTOS]: Minor code formatting + don't leak a handle in case of failure, in CmpInitializeHardwareConfiguration().

svn path=/trunk/; revision=74733

2 years ago[HAL]
Hermès Bélusca-Maïto [Thu, 1 Jun 2017 17:31:23 +0000 (17:31 +0000)]
[HAL]
Update the PCI hardware IDs database. Extracted from the pci.ids database from http://pci-ids.ucw.cz/ from 2017-05-25 03:15:02
Maintained by Albert Pool, Martin Mares, and other volunteers from the PCI ID Project.

svn path=/trunk/; revision=74732

2 years ago[MSWSOCK] Unstub AcceptEx and GetAcceptExSockaddrs. Note that real implementation...
Peter Hater [Thu, 1 Jun 2017 15:25:25 +0000 (15:25 +0000)]
[MSWSOCK] Unstub AcceptEx and GetAcceptExSockaddrs. Note that real implementation in msafd is not available, so result will still be FALSE

svn path=/trunk/; revision=74731

2 years ago[MSWSOCK] Change functions to be able to use control flags with DnsQuery.
Peter Hater [Thu, 1 Jun 2017 15:22:06 +0000 (15:22 +0000)]
[MSWSOCK] Change functions to be able to use control flags with DnsQuery.
Add host aliases to hostent if available and requested.
Only copy servent aliases if available and requested.

svn path=/trunk/; revision=74730

2 years ago[ACPICA]
Thomas Faber [Thu, 1 Jun 2017 10:54:48 +0000 (10:54 +0000)]
[ACPICA]
- Update to version 20170531
CORE-13348 #resolve

svn path=/trunk/; revision=74729

2 years ago[MSAFD] Don't try to accept on non listening socket. Return WSAEINVAL
Peter Hater [Thu, 1 Jun 2017 09:41:19 +0000 (09:41 +0000)]
[MSAFD] Don't try to accept on non listening socket. Return WSAEINVAL

svn path=/trunk/; revision=74728

2 years ago[MSWSOCK] Update network protocols. Patch by Marco Savelli. CORE-13320 #resolve
Peter Hater [Thu, 1 Jun 2017 09:00:32 +0000 (09:00 +0000)]
[MSWSOCK] Update network protocols. Patch by Marco Savelli. CORE-13320 #resolve

svn path=/trunk/; revision=74727

2 years ago[FREELDR/WINLDR]: Rework LoadModule() so that we can load custom kernels & hals via...
Hermès Bélusca-Maïto [Wed, 31 May 2017 18:40:29 +0000 (18:40 +0000)]
[FREELDR/WINLDR]: Rework LoadModule() so that we can load custom kernels & hals via the /KERNEL= and /HAL= boot option switches.

svn path=/trunk/; revision=74725

2 years ago[RXCE]
Pierre Schweitzer [Wed, 31 May 2017 17:10:45 +0000 (17:10 +0000)]
[RXCE]
Fix broken cast
By Thomas

svn path=/trunk/; revision=74724

2 years ago[DDK]
Pierre Schweitzer [Wed, 31 May 2017 17:02:44 +0000 (17:02 +0000)]
[DDK]
sed -i s/__volatile/volatile/g to fix build with VS2010

CORE-13345

svn path=/trunk/; revision=74723

2 years ago[NTOS]: Underline the fact that CmpGetRegistryPath (especially when being run in...
Hermès Bélusca-Maïto [Wed, 31 May 2017 00:03:33 +0000 (00:03 +0000)]
[NTOS]: Underline the fact that CmpGetRegistryPath (especially when being run in 1st-stage text mode) is just a big hack (introduced in r3794 and r3795). I however need to monitor its output for the moment...

svn path=/trunk/; revision=74709

2 years ago[NTOS]: Minor fixes:
Hermès Bélusca-Maïto [Wed, 31 May 2017 00:01:31 +0000 (00:01 +0000)]
[NTOS]: Minor fixes:
- Correctly specify the buffer size for RtlInitEmptyUnicodeString calls;
- Prefer using RtlAppendUnicodeStringToString instead of RtlAppendStringToString: both actually do the very same job on counted strings, but the former doesn't need the explicit PSTRING casts, and NULL-terminate the string buffer if possible (aka. if the available remaining length permits it, otherwise it doesn't add any NULL terminator, falling back to the default behaviour of RtlAppendStringToString).
- Remove a deprecated commented-out variable.

svn path=/trunk/; revision=74708

2 years ago[NTDLL_VISTA]
Pierre Schweitzer [Tue, 30 May 2017 22:01:13 +0000 (22:01 +0000)]
[NTDLL_VISTA]
Fix GCC build after r74706.
Patch by Thomas

svn path=/trunk/; revision=74707

2 years agoFix the build for MSVC.
Mark Jansen [Tue, 30 May 2017 21:48:04 +0000 (21:48 +0000)]
Fix the build for MSVC.

svn path=/trunk/; revision=74706

2 years ago[KERNEL32_VISTA]
Pierre Schweitzer [Tue, 30 May 2017 21:39:50 +0000 (21:39 +0000)]
[KERNEL32_VISTA]
Add Kernel32 implementation for SRW locks and condition variables.
This is based on Wine implementation.

CORE-7546
CORE-8204

svn path=/trunk/; revision=74705

2 years ago[RTL]
Pierre Schweitzer [Tue, 30 May 2017 21:36:43 +0000 (21:36 +0000)]
[RTL]
Delete leftover

CORE-7546
CORE-8204

svn path=/trunk/; revision=74704

2 years ago[NTDLL_VISTA]
Pierre Schweitzer [Tue, 30 May 2017 21:35:05 +0000 (21:35 +0000)]
[NTDLL_VISTA]
Create a new NTDLL library that exports some of the NTDLL Vista+ functions.
This new NTDLL includes at the time of commit:
- SRW locks implementation that was originally built in RTL but never used ;
- Condition variables implementation which is a new code in ReactOS trunk.

Condition variables is an implementation of Stephan Röger, with minor formatting
changes by Timo Kreuzer and various changes by myself.

CORE-7546
CORE-8204

svn path=/trunk/; revision=74703

2 years ago[KERNEL32] Do not use TEB->StaticUnicodeString in CreateProcessInternalA. CORE-10368
Mark Jansen [Tue, 30 May 2017 20:57:45 +0000 (20:57 +0000)]
[KERNEL32] Do not use TEB->StaticUnicodeString in CreateProcessInternalA. CORE-10368

svn path=/trunk/; revision=74702

2 years ago[KERNEL32_APITEST] Add test to show that we should not spoil TEB->StaticUnicodeString...
Mark Jansen [Tue, 30 May 2017 20:55:15 +0000 (20:55 +0000)]
[KERNEL32_APITEST] Add test to show that we should not spoil TEB->StaticUnicodeString in CreateProcessA. CORE-10368

svn path=/trunk/; revision=74701

2 years ago[NTOS:IO]
Thomas Faber [Tue, 30 May 2017 18:14:31 +0000 (18:14 +0000)]
[NTOS:IO]
- Fix key handle leak in PipCallDriverAddDevice
- Avoid double-close in failure case of IopAttachFilterDrivers
- Simplify closing handles, and use sensible variables names in IopAttachFilterDrivers
CORE-13336

svn path=/trunk/; revision=74700

2 years ago[NTOS:IO]
Thomas Faber [Tue, 30 May 2017 17:22:13 +0000 (17:22 +0000)]
[NTOS:IO]
- Save an indentation level in IopAttachFilterDrivers
CORE-13336

svn path=/trunk/; revision=74699

2 years ago[KERNEL32] Actually disable the shim engine while it is not ready yet.... CORE-10368
Mark Jansen [Mon, 29 May 2017 21:14:15 +0000 (21:14 +0000)]
[KERNEL32] Actually disable the shim engine while it is not ready yet.... CORE-10368

svn path=/trunk/; revision=74697

2 years ago[ACPI]
Thomas Faber [Mon, 29 May 2017 09:23:33 +0000 (09:23 +0000)]
[ACPI]
- Remove some dead code in acpi_system_add. CID 502179
- Define deviceName only in debug builds in Bus_AddDevice. CID 502180

svn path=/trunk/; revision=74696

2 years ago[KERNEL32] Initial implementation for BaseCheckRunApp, calling into apphelp to check...
Mark Jansen [Sun, 28 May 2017 19:27:51 +0000 (19:27 +0000)]
[KERNEL32] Initial implementation for BaseCheckRunApp, calling into apphelp to check for compatibility fixes CORE-10368

svn path=/trunk/; revision=74693

2 years ago[EXPLORER] -Implement the trick that makes the start button to get clicked when the...
Giannis Adamopoulos [Sun, 28 May 2017 18:31:48 +0000 (18:31 +0000)]
[EXPLORER] -Implement the trick that makes the start button to get clicked when the user clicks on the corner of the screen.

svn path=/trunk/; revision=74692

2 years ago[USER32_APITEST] Add more tests to validate messages sent during window creation...
Mark Jansen [Sun, 28 May 2017 17:40:48 +0000 (17:40 +0000)]
[USER32_APITEST] Add more tests to validate messages sent during window creation / modifying of styles. CORE-12052

svn path=/trunk/; revision=74691

2 years ago[MSPAINT]
Benedikt Freisen [Sun, 28 May 2017 17:33:15 +0000 (17:33 +0000)]
[MSPAINT]
- When setting a file as tiled wallpaper, it will now indeed show up tiled instead of centered.
- All three options (tiled, centered, stretched) are working.  (non-bitmaps only in Vista and above)

CORE-12164 #resolve

svn path=/trunk/; revision=74690

2 years ago[USER32_APITEST] Add tests to validate messages sent during window creation / modifyi...
Mark Jansen [Sun, 28 May 2017 13:55:05 +0000 (13:55 +0000)]
[USER32_APITEST] Add tests to validate messages sent during window creation / modifying of styles. CORE-12052

svn path=/trunk/; revision=74689

2 years ago[NTOSKRNL:MM]
Pierre Schweitzer [Sun, 28 May 2017 10:22:30 +0000 (10:22 +0000)]
[NTOSKRNL:MM]
Only warn for unimplemented in ExAllocatePoolWithTagPriority() when memory allocation fails. For the rest, the caller has the memory it asked for.
Side note: we could also warn when caller wants to use special pool.

CORE-13334
CORE-11327

svn path=/trunk/; revision=74688

2 years ago[RAPPS]
Daniel Reimer [Sat, 27 May 2017 21:08:25 +0000 (21:08 +0000)]
[RAPPS]
Update 7-Zip to 16.04

svn path=/trunk/; revision=74687

2 years ago[RDBSS]
Pierre Schweitzer [Sat, 27 May 2017 20:20:27 +0000 (20:20 +0000)]
[RDBSS]
Properly initialize pRdbssScavenger in RxDeviceObject to avoid NULL-ptr deref

CORE-11327

svn path=/trunk/; revision=74686

2 years ago[RXCE]
Pierre Schweitzer [Sat, 27 May 2017 17:41:58 +0000 (17:41 +0000)]
[RXCE]
Make RxpTrackDereference()/RxpTrackReference() when they're noop.

CORE-11327

svn path=/trunk/; revision=74684

2 years ago[RDBSS]
Pierre Schweitzer [Sat, 27 May 2017 17:29:11 +0000 (17:29 +0000)]
[RDBSS]
[RXCE]
Try to make use of wrapper more 'properly'. Now, we use wrappers for ASSERT and memory management.
This allows us to allocate memory with low priority (which isn't supported by ReactOS yet :-().

Note that we go a bit farther than MS: we also define RxFreePoolWithTag() and make use of it.
This should make Thomas happy :-)

CORE-11327

svn path=/trunk/; revision=74683

2 years ago[RXCE]
Pierre Schweitzer [Sat, 27 May 2017 16:50:29 +0000 (16:50 +0000)]
[RXCE]
Implement FCB refcounting

CORE-11327

svn path=/trunk/; revision=74682

2 years ago[RXCE]
Pierre Schweitzer [Sat, 27 May 2017 12:34:38 +0000 (12:34 +0000)]
[RXCE]
Implement operation verification, this is notably based on FatVerifyOperationIsLegal.

CORE-11327

svn path=/trunk/; revision=74681

2 years ago[EXPLORER] -Make the taskbar grip get its size from the theme. This fixes one of...
Giannis Adamopoulos [Sat, 27 May 2017 10:44:44 +0000 (10:44 +0000)]
[EXPLORER] -Make the taskbar grip get its size from the theme. This fixes one of the last theme related problems in explorer itself. Also simplify some theme drawing code.

svn path=/trunk/; revision=74680

2 years ago[SYSSETUP][UNATTENDED] Allow changing the resolution automatically. CORE-13315
Mark Jansen [Sat, 27 May 2017 09:37:16 +0000 (09:37 +0000)]
[SYSSETUP][UNATTENDED] Allow changing the resolution automatically. CORE-13315

svn path=/trunk/; revision=74679

2 years ago[RXCE]
Pierre Schweitzer [Sat, 27 May 2017 09:36:42 +0000 (09:36 +0000)]
[RXCE]
- Make RxpUndoScavengerFinalizationMarking() more smart: only warn about unimplemented if there's scavenger mark
- Implement FCB operations (release/acquire) tracker

CORE-11327

svn path=/trunk/; revision=74678

2 years ago[EXPLORER] -Reload the theme data only when the orientation changes (we ended up...
Giannis Adamopoulos [Sat, 27 May 2017 09:09:01 +0000 (09:09 +0000)]
[EXPLORER] -Reload the theme data only when the orientation changes (we ended up reloading it every few seconds).

svn path=/trunk/; revision=74677

2 years ago[RXCE]
Pierre Schweitzer [Sat, 27 May 2017 08:39:42 +0000 (08:39 +0000)]
[RXCE]
Implement reference tracing

CORE-11327

svn path=/trunk/; revision=74676

2 years ago[RDBSS]
Pierre Schweitzer [Fri, 26 May 2017 20:52:18 +0000 (20:52 +0000)]
[RDBSS]
[RXCE]
[DDK]
Add an initial implementation of the RXCE and RDBSS libraries that are used to implement mini-redirectors
The associated headers are also added to DDK

The implementation is partial (really!) and is only working for read-only operations.

It leaks memory as hell (no refcounting implemented) and thus, objects freeing is not implemented.

It was tested with NFS41 driver. With such RDBSS, it's possible for the driver to mount a remote share, to list
files, to query their properties, to query volume properties, and finally to read files (with some corruption under
specific conditions).

Please refrain from committing in this (especially for modifying whitespaces or fixing comments...), this is still WIP
and under development, it would mess with my local changes!

In itself, it doesn't bring anything to ReactOS yet, as no mini redirector is available in ReactOS source tree.
This may come later on with NFS41.

More to follow...

CORE-11327

svn path=/trunk/; revision=74674

2 years ago[MSAFD] Don't update shared state on close if we still have active references to...
Peter Hater [Fri, 26 May 2017 15:27:45 +0000 (15:27 +0000)]
[MSAFD] Don't update shared state on close if we still have active references to the socket. Checked also by ws2_32:close API test CORE-12029

svn path=/trunk/; revision=74673

2 years ago[WS2_32_APITESTS] Add close tests ROSTESTS-279
Peter Hater [Fri, 26 May 2017 14:02:25 +0000 (14:02 +0000)]
[WS2_32_APITESTS] Add close tests ROSTESTS-279

svn path=/trunk/; revision=74672

2 years ago[WS2_32_APITESTS] Fix broadcast test ROSTESTS-278
Peter Hater [Fri, 26 May 2017 14:00:47 +0000 (14:00 +0000)]
[WS2_32_APITESTS] Fix broadcast test ROSTESTS-278

svn path=/trunk/; revision=74671

2 years ago[WS2_32] Revert r74669
Peter Hater [Fri, 26 May 2017 13:44:01 +0000 (13:44 +0000)]
[WS2_32] Revert r74669

svn path=/trunk/; revision=74670

2 years ago[WS2_32] Set last error on exit on some functions
Peter Hater [Fri, 26 May 2017 11:51:33 +0000 (11:51 +0000)]
[WS2_32] Set last error on exit on some functions

svn path=/trunk/; revision=74669

2 years ago[MSAFD] Add some parameters check for WSPBind. Inspired by results of bind test
Peter Hater [Fri, 26 May 2017 10:32:01 +0000 (10:32 +0000)]
[MSAFD] Add some parameters check for WSPBind. Inspired by results of bind test

svn path=/trunk/; revision=74668

2 years ago[WS2_32_APITESTS] Fix broadcast test ROSTESTS-278
Peter Hater [Fri, 26 May 2017 10:31:50 +0000 (10:31 +0000)]
[WS2_32_APITESTS] Fix broadcast test ROSTESTS-278

svn path=/trunk/; revision=74667

2 years ago[WS2_32_APITESTS] Add rebind and bind to broadcast tests ROSTESTS-278
Peter Hater [Fri, 26 May 2017 09:02:08 +0000 (09:02 +0000)]
[WS2_32_APITESTS] Add rebind and bind to broadcast tests ROSTESTS-278

svn path=/trunk/; revision=74666

2 years ago[GDIPLUS]
Pierre Schweitzer [Fri, 26 May 2017 08:31:10 +0000 (08:31 +0000)]
[GDIPLUS]
Import Wine commit (by Vincent Povirk):
b8a8e1bde9382897927945ec0b58b8a2fcfcfe59, Check SHADEBLENDCAPS only for printer devices.

In short, this avoids black boxes in GOG setup. This may help other software having rendering issues due to alpha layer.

svn path=/trunk/; revision=74665

2 years ago[WS2_32_APITESTS] Fix GCC build ROSTESTS-278
Peter Hater [Fri, 26 May 2017 07:11:13 +0000 (07:11 +0000)]
[WS2_32_APITESTS] Fix GCC build ROSTESTS-278

svn path=/trunk/; revision=74664

2 years ago[WS2_32_APITESTS] Improve bind test output ROSTESTS-278
Peter Hater [Fri, 26 May 2017 07:08:06 +0000 (07:08 +0000)]
[WS2_32_APITESTS] Improve bind test output ROSTESTS-278

svn path=/trunk/; revision=74663

2 years ago[INCLUDEs:ARC]: Fix some structure members of LOADER_PARAMETER_EXTENSION and SETUP_LO...
Hermès Bélusca-Maïto [Fri, 26 May 2017 02:15:54 +0000 (02:15 +0000)]
[INCLUDEs:ARC]: Fix some structure members of LOADER_PARAMETER_EXTENSION and SETUP_LOADER_BLOCK. Add some documentation & links regarded these structures to document which members change/disappear starting some NT version.
Also, turn some Win32 LPSTR into NT' PSTR or PCHAR types.

svn path=/trunk/; revision=74662

2 years ago[ACPICA]
Thomas Faber [Thu, 25 May 2017 19:39:38 +0000 (19:39 +0000)]
[ACPICA]
- Use the compiler's native 64 bit math support instead of emulating it with 32 bit operations.
CORE-13316

svn path=/trunk/; revision=74658

2 years ago[SYSDM]: Fix a SendDlgItemMessage(LB_GETITEMDATA) call that missed the index of the...
Hermès Bélusca-Maïto [Thu, 25 May 2017 18:36:45 +0000 (18:36 +0000)]
[SYSDM]: Fix a SendDlgItemMessage(LB_GETITEMDATA) call that missed the index of the list item being selected. This fixes setting the page file for the actual selected disk.
Caught by "cagey45" contributor on the forums: https://reactos.org/forum/viewtopic.php?f=9&t=16439 ; see also CORE-1151.

svn path=/trunk/; revision=74657

2 years ago[ACPICA]
Thomas Faber [Thu, 25 May 2017 18:27:30 +0000 (18:27 +0000)]
[ACPICA]
- Fix our broken support for the Windows-GCC configuration (again) by providing proper implementations of ACPI_DIV_64_BY_32 and ACPI_SHIFT_RIGHT_64.
CORE-13316 #resolve

svn path=/trunk/; revision=74656

2 years ago[WS2_32_APITESTS] Set the size of addr when calling getsockname ROSTESTS-278
Peter Hater [Thu, 25 May 2017 15:57:38 +0000 (15:57 +0000)]
[WS2_32_APITESTS] Set the size of addr when calling getsockname ROSTESTS-278

svn path=/trunk/; revision=74655

2 years ago[BOOTDATA]
Eric Kohl [Thu, 25 May 2017 15:53:10 +0000 (15:53 +0000)]
[BOOTDATA]
- Sort keyboard layouts and make them translatable.
- Remove quotation marks from service display names and descriptions and fix a typo.
CORE-11885

svn path=/trunk/; revision=74654

2 years ago[WS2_32_APITESTS] Remove compile warning disable for GCC. Thanks Thomas. ROSTESTS-278
Peter Hater [Thu, 25 May 2017 15:12:40 +0000 (15:12 +0000)]
[WS2_32_APITESTS] Remove compile warning disable for GCC. Thanks Thomas. ROSTESTS-278

svn path=/trunk/; revision=74653

2 years ago[WS2_32] Dereference socket in case of parameter check failure. Thanks Thomas. ROSTES...
Peter Hater [Thu, 25 May 2017 14:51:16 +0000 (14:51 +0000)]
[WS2_32] Dereference socket in case of parameter check failure. Thanks Thomas. ROSTEST-278

svn path=/trunk/; revision=74652

2 years ago[WS2_32_APITESTS] Add some bind API tests
Peter Hater [Thu, 25 May 2017 14:43:57 +0000 (14:43 +0000)]
[WS2_32_APITESTS] Add some bind API tests

svn path=/trunk/; revision=74651

2 years ago[WS2_32] Add some parameters check for getsockname. Use value size for size check...
Peter Hater [Thu, 25 May 2017 14:42:24 +0000 (14:42 +0000)]
[WS2_32] Add some parameters check for getsockname. Use value size for size check instead of type in bind. ROSTEST-278

svn path=/trunk/; revision=74650

2 years ago[WS2_32] Perform parameters check on bind. ROSTESTS-278
Peter Hater [Thu, 25 May 2017 12:34:33 +0000 (12:34 +0000)]
[WS2_32] Perform parameters check on bind. ROSTESTS-278

svn path=/trunk/; revision=74649

2 years agoCode styling:
Hermès Bélusca-Maïto [Wed, 24 May 2017 23:52:56 +0000 (23:52 +0000)]
Code styling:
[NDK]: Make a #define value look less "magical".
[ARC]: Write "BaseDllName" using the regular case used in other parts of ReactOS' code.

svn path=/trunk/; revision=74644

2 years ago[FSLIB]: Minor fixes:
Hermès Bélusca-Maïto [Wed, 24 May 2017 23:32:46 +0000 (23:32 +0000)]
[FSLIB]: Minor fixes:
- Stub and export VfatxChkdsk();
- Sync and fix the file code headers;
- In the libs, use NTAPI instead of WINAPI;
- Use 4-space indentation (instead of tabs).

svn path=/trunk/; revision=74643

2 years ago[MSPAINT]
Benedikt Freisen [Wed, 24 May 2017 19:31:43 +0000 (19:31 +0000)]
[MSPAINT]
- Determine and adapt to actual status bar height instead of assuming a fixed height.  This improves theme support.

svn path=/trunk/; revision=74642

2 years ago[WIN32l:NTGDI] -Check the return value IntGetOutlineTextMetrics and stop using garbag...
Giannis Adamopoulos [Tue, 23 May 2017 09:40:07 +0000 (09:40 +0000)]
[WIN32l:NTGDI] -Check the return value IntGetOutlineTextMetrics and stop using garbage from the pool in case of error. CORE-13089, CORE-12752

svn path=/trunk/; revision=74633

2 years ago[WIN32K] -Simplify the parameters passed to GetFontPenalty and FindBestFontFromList...
Giannis Adamopoulos [Mon, 22 May 2017 18:17:49 +0000 (18:17 +0000)]
[WIN32K] -Simplify the parameters passed to GetFontPenalty and FindBestFontFromList. Make SubstituteFontRecurse update a LOGFONT and get rid of some needless allocations.

svn path=/trunk/; revision=74630

2 years ago[CMLIB]
Thomas Faber [Mon, 22 May 2017 13:48:11 +0000 (13:48 +0000)]
[CMLIB]
- Fix an assert that only works by chance

svn path=/trunk/; revision=74628

2 years ago[NTOS:MM]
Thomas Faber [Mon, 22 May 2017 13:37:44 +0000 (13:37 +0000)]
[NTOS:MM]
- In MmDumpArmPfnDatabase, actually print all usage buckets to provide a complete and verifiable view of the database

svn path=/trunk/; revision=74627

2 years ago[NTOS:MM]
Thomas Faber [Mon, 22 May 2017 13:30:44 +0000 (13:30 +0000)]
[NTOS:MM]
- Make PFN tracing work... somewhat

svn path=/trunk/; revision=74626

2 years ago[CALC]
Thomas Faber [Mon, 22 May 2017 13:13:45 +0000 (13:13 +0000)]
[CALC]
- Remove Czech koruna from currency conversions... their exchange rate is not a constant
- While here, add new Euro currencies, and improve the accuracy of some conversion rates

svn path=/trunk/; revision=74625

2 years ago[HHPCOMP]
Thomas Faber [Mon, 22 May 2017 12:50:08 +0000 (12:50 +0000)]
[HHPCOMP]
- Avoid casting pointers to 'unsigned long'

svn path=/trunk/; revision=74624

2 years ago[HAL]
Thomas Faber [Mon, 22 May 2017 12:20:31 +0000 (12:20 +0000)]
[HAL]
- Correctly prepare the I/O port map for V86 mode by making HalpSavedIoMap actually point to it instead of to the parent structure. Fixes boot with video BIOS code that relies on I/O ports FF00 through FFFF.
CORE-13306 #resolve

svn path=/trunk/; revision=74623

2 years ago[WIN32K] -Reduce the ridiculous number of string allocations done by FindBestFontFrom...
Giannis Adamopoulos [Sun, 21 May 2017 16:47:07 +0000 (16:47 +0000)]
[WIN32K] -Reduce the ridiculous number of string allocations done by FindBestFontFromList and GetFontPenalty. CORE-13274

svn path=/trunk/; revision=74613

2 years ago[WIN32SS] Improve IntGetFontLocalizedName by less strict matching on language id...
Mark Jansen [Sun, 21 May 2017 12:24:57 +0000 (12:24 +0000)]
[WIN32SS] Improve IntGetFontLocalizedName by less strict matching on language id's. Patch by Katayama Hirofumi MZ. CORE-13239 #comment Thanks!

svn path=/trunk/; revision=74612

2 years ago[KERNEL32] Format the stack trace generated on an unhandled exception so that log2lin...
Mark Jansen [Sun, 21 May 2017 11:31:56 +0000 (11:31 +0000)]
[KERNEL32] Format the stack trace generated on an unhandled exception so that log2lines can parse it. CORE-13232 #resolve

svn path=/trunk/; revision=74611

2 years ago[SHIMS] Add IgnoreDebugOutput shim CORE-10369
Mark Jansen [Sat, 20 May 2017 20:22:25 +0000 (20:22 +0000)]
[SHIMS] Add IgnoreDebugOutput shim CORE-10369

svn path=/trunk/; revision=74610

2 years ago[BOOTDATA] Create an empty HKLM\...\AppCompatFlags\Layers key to silence logging.
Mark Jansen [Sat, 20 May 2017 20:06:46 +0000 (20:06 +0000)]
[BOOTDATA] Create an empty HKLM\...\AppCompatFlags\Layers key to silence logging.

svn path=/trunk/; revision=74609

2 years ago[SLAYER] Remove the shell extension. CORE-13111 #resolve
Mark Jansen [Sat, 20 May 2017 19:58:04 +0000 (19:58 +0000)]
[SLAYER] Remove the shell extension. CORE-13111 #resolve

svn path=/trunk/; revision=74608

2 years ago[WIN32SS] Reduce the amount of calls to IntGetFontLocalizedName, since this was ident...
Mark Jansen [Sat, 20 May 2017 18:59:00 +0000 (18:59 +0000)]
[WIN32SS] Reduce the amount of calls to IntGetFontLocalizedName, since this was identified as a source of recent slower drawing. CORE-13274
Thanks to Thomas, Giannis and Joachim.

svn path=/trunk/; revision=74607