reactos.git
2 years ago[IPHLPAPI] Add support for service tags in GetOwnerModuleFromTcp/UdpEntry
Pierre Schweitzer [Mon, 31 Dec 2018 10:08:28 +0000 (11:08 +0100)]
[IPHLPAPI] Add support for service tags in GetOwnerModuleFromTcp/UdpEntry

If a service tag is set in owner information, then, we'll query advapi32 and
thus services to get the service name instead of the image name

2 years ago[TCPIP] Return the SubProcessTag when enumerating connections with owner class
Pierre Schweitzer [Mon, 31 Dec 2018 09:35:40 +0000 (10:35 +0100)]
[TCPIP] Return the SubProcessTag when enumerating connections with owner class

2 years ago[TCPIP] Save the SubProcessTag when an ADDRESS_FILE is created
Pierre Schweitzer [Mon, 31 Dec 2018 09:21:14 +0000 (10:21 +0100)]
[TCPIP] Save the SubProcessTag when an ADDRESS_FILE is created

2 years ago[SDK] Add PsGetCurrentThreadTeb() to the DDK
Pierre Schweitzer [Sun, 30 Dec 2018 21:47:36 +0000 (22:47 +0100)]
[SDK] Add PsGetCurrentThreadTeb() to the DDK

2 years ago[ADVAPI32_APITEST] Add tests showing that first field of OwningModuleInfo is the tag
Pierre Schweitzer [Sun, 30 Dec 2018 21:36:54 +0000 (22:36 +0100)]
[ADVAPI32_APITEST] Add tests showing that first field of OwningModuleInfo is the tag

Also, show that querying owner information about a connection owned by a service
returns the service name, and not the image nor its path.

Obviously, that fails in ReactOS.

2 years ago[FONT][WIN32SS] Partially implement font/text rotation (#1207)
Katayama Hirofumi MZ [Mon, 31 Dec 2018 09:56:43 +0000 (18:56 +0900)]
[FONT][WIN32SS] Partially implement font/text rotation (#1207)

Partially implement font/text rotation by LOGFONT.lfEscapement and improve the rendering image. If the angle was not a multiple of 90 degrees, then the background won't be filled. CORE-11848, CORE-15319

2 years ago[TRANSLATION] Update Chinese translation. (#1205)
Luo Yufan [Mon, 31 Dec 2018 09:47:37 +0000 (17:47 +0800)]
[TRANSLATION] Update Chinese translation. (#1205)

[NET][DISKPART][WINLOGON][ACCESS][APPWIZ][DESK][JOY][MMSYS][POWERCFG][SYSDM][NETCFGX][NETID][SAMSRV][TAPIUI][INF] Update Chinese translation.

2 years ago[APPWIZ] Do not hardcode the strings (#1208)
Bișoc George [Mon, 31 Dec 2018 07:42:53 +0000 (08:42 +0100)]
[APPWIZ] Do not hardcode the strings (#1208)

Let's make those message strings translatable.

2 years ago[SERVICES] Properly check again PID
Pierre Schweitzer [Sun, 30 Dec 2018 20:25:48 +0000 (21:25 +0100)]
[SERVICES] Properly check again PID

This fixes services not being found.
With that commit and the previous one, I_QueryTagInformation is now fully
functionnal and properly returns service name for a specific tag

2 years ago[SERVICES] pszName is a string, mark it so
Pierre Schweitzer [Sun, 30 Dec 2018 20:23:36 +0000 (21:23 +0100)]
[SERVICES] pszName is a string, mark it so

This fixes returning string with RI_ScQueryServiceTagInfo

2 years ago[ADVAPI32] When starting or sending a control to a service, set the tag in the TEB
Pierre Schweitzer [Sun, 30 Dec 2018 19:45:11 +0000 (20:45 +0100)]
[ADVAPI32] When starting or sending a control to a service, set the tag in the TEB

This now allows tracking the threads of the services thanks to their tag.

This fixes the failing test in advapi32:ServiceEnv

2 years ago[ADVAPI32] Stop pretending our advapi32 is NT6+
Pierre Schweitzer [Sun, 30 Dec 2018 19:36:20 +0000 (20:36 +0100)]
[ADVAPI32] Stop pretending our advapi32 is NT6+

This is wrong and messes up with internal structures (such as TEB).
For the two needed functions which are "NT6+", they were exported
with NT6, but already existed in W2K3 SP2.

This might fix random bugs

CORE-15526

2 years ago[SERVICES] On service start control message, send the service tag
Pierre Schweitzer [Sun, 30 Dec 2018 17:44:32 +0000 (18:44 +0100)]
[SERVICES] On service start control message, send the service tag

2 years ago[UMPNPMGR] PNP_GetDeviceList: Implement the enumeration of all device instances.
Eric Kohl [Sun, 30 Dec 2018 16:14:43 +0000 (17:14 +0100)]
[UMPNPMGR] PNP_GetDeviceList: Implement the enumeration of all device instances.

2 years ago[FREELDR] Explicitly call RamDiskInitialize() in RamDiskLoadVirtualFile().
Hermès Bélusca-Maïto [Sun, 30 Dec 2018 14:21:19 +0000 (15:21 +0100)]
[FREELDR] Explicitly call RamDiskInitialize() in RamDiskLoadVirtualFile().

2 years ago[USETUP] Fix the strings given to the printf-like functions (addendum to a3168373).
Hermès Bélusca-Maïto [Sun, 30 Dec 2018 14:15:31 +0000 (15:15 +0100)]
[USETUP] Fix the strings given to the printf-like functions (addendum to a3168373).

2 years ago[CDFS] Addendum to 5429771b, 6c733856 and 3c64b4cb (r75579): When the CDFS driver...
Hermès Bélusca-Maïto [Sun, 30 Dec 2018 13:59:08 +0000 (14:59 +0100)]
[CDFS] Addendum to 5429771b6c733856 and 3c64b4cb (r75579): When the CDFS driver is used as a fixed disk FS,
the type of device it should return must not be FILE_DEVICE_CD_ROM, but must be the actual underlying one!

This fixes recognizing *removable* USB keys as disks and not CD-ROMs.

CORE-13184

2 years ago[NTOS] Fix a NULL-pointer access bug.
Hermès Bélusca-Maïto [Sun, 30 Dec 2018 13:45:29 +0000 (14:45 +0100)]
[NTOS] Fix a NULL-pointer access bug.

2 years ago[NTOS] Don't use TAG_IO_NAME when calling ExFreePoolWithTag() for freeing FileObject...
Hermès Bélusca-Maïto [Sun, 30 Dec 2018 13:02:54 +0000 (14:02 +0100)]
[NTOS] Don't use TAG_IO_NAME when calling ExFreePoolWithTag() for freeing FileObject->FileName.Buffer .

This may look strange, since this buffer is originally allocated using
the TAG_IO_NAME tag. However, it happens that file-system drivers are
allowed to re-allocate this buffer: this is what the MS' open-sourced
CDFS driver does, see e.g. CdCommonCreate() and CdNormalizeFileNames()
in cdfs/create.c .

This fixes a pool tag mismatch 'mNoI' != 'nFdC' BSOD when resources
are freed when closing a file that has been opened with a relative name
on a CDFS-mounted volume.

2 years ago[NTOS] Code formatting only.
Hermès Bélusca-Maïto [Sun, 30 Dec 2018 12:40:09 +0000 (13:40 +0100)]
[NTOS] Code formatting only.

2 years ago[UMPNPMGR] PNP_GetDeviceListSize: Implement the buffer size calculation for a list...
Eric Kohl [Sun, 30 Dec 2018 13:42:12 +0000 (14:42 +0100)]
[UMPNPMGR] PNP_GetDeviceListSize: Implement the buffer size calculation for a list of all device instances.

2 years ago[SERVICES] Implement ScmGenerateServiceTag and call it on service creation
Pierre Schweitzer [Sun, 30 Dec 2018 13:09:54 +0000 (14:09 +0100)]
[SERVICES] Implement ScmGenerateServiceTag and call it on service creation

This allows assigning an unique ServiceTag to each Win32 service

2 years ago[SERVICES] Implement ScmGetServiceNameFromTag
Pierre Schweitzer [Sun, 30 Dec 2018 12:31:08 +0000 (13:31 +0100)]
[SERVICES] Implement ScmGetServiceNameFromTag

2 years ago[SERVICES] Implement RI_ScQueryServiceTagInfo
Pierre Schweitzer [Sun, 30 Dec 2018 11:25:18 +0000 (12:25 +0100)]
[SERVICES] Implement RI_ScQueryServiceTagInfo

2 years ago[ADVAPI32] Implement I_ScQueryServiceTagInfo
Pierre Schweitzer [Sun, 30 Dec 2018 11:12:40 +0000 (12:12 +0100)]
[ADVAPI32] Implement I_ScQueryServiceTagInfo

2 years ago[ADVAPI32] Implement I_QueryTagInformation
Pierre Schweitzer [Sun, 30 Dec 2018 10:52:37 +0000 (11:52 +0100)]
[ADVAPI32] Implement I_QueryTagInformation

2 years ago[SERVICES] Define the RI_ScQueryServiceTagInfo RPC call
Pierre Schweitzer [Sun, 30 Dec 2018 10:45:08 +0000 (11:45 +0100)]
[SERVICES] Define the RI_ScQueryServiceTagInfo RPC call

All the definitions are taken from ProcessHacker:
https://github.com/processhacker/processhacker/blob/master/phnt/include/subprocesstag.h

2 years ago[UMPNPMGR] PNP_GetDeviceList: Implement the enumeration of device instances for a...
Eric Kohl [Sun, 30 Dec 2018 11:55:31 +0000 (12:55 +0100)]
[UMPNPMGR] PNP_GetDeviceList: Implement the enumeration of device instances for a given enumerator.

2 years ago[NDK][NTOS] Add global definition of INIT_FUNCTION/INIT_SECTION (#779)
Timo Kreuzer [Sun, 30 Dec 2018 11:19:11 +0000 (12:19 +0100)]
[NDK][NTOS] Add global definition of INIT_FUNCTION/INIT_SECTION (#779)

* Add an NDK header to define INIT_FUNCTION/INIT_SECTION globally
* Use _declspec(allocate(x)) and _declspec(code_seg(x)) on MSVC versions that support it
* Use INIT_FUNCTION on functions only and INIT_SECTION on data only (required by MSVC)
* Place INIT_FUNCTION before the return type (required by MSVC)
* Make sure declarations and implementations share the same modifiers (required by MSVC)
* Add a global linker option to suppress warnings about defined but unused INIT section
* Merge INIT section into .text in freeldr

2 years ago[UMPNPMGR] PNP_GetDeviceListSize: Implement the buffer size calculation for given...
Eric Kohl [Sat, 29 Dec 2018 23:39:08 +0000 (00:39 +0100)]
[UMPNPMGR] PNP_GetDeviceListSize: Implement the buffer size calculation for given enumerators and take care of the terminating double Unicode null character.

2 years ago[WIN32K:NTUSER] Reference menus owned by a popup menu. CORE-15504 1200/head
Thomas Faber [Fri, 28 Dec 2018 12:39:23 +0000 (13:39 +0100)]
[WIN32K:NTUSER] Reference menus owned by a popup menu. CORE-15504

2 years ago[UMPNPMGR] PNP_GetDeviceList / PNP_GetDeviceListSize: Implement the buffer size calcu...
Eric Kohl [Sat, 29 Dec 2018 21:08:35 +0000 (22:08 +0100)]
[UMPNPMGR] PNP_GetDeviceList / PNP_GetDeviceListSize: Implement the buffer size calculation and device instance enumeration for a given enumerator and device name.

2 years ago[ADVAPI32_APITEST] Unknown field isn't that unknown and should contain "1"
Pierre Schweitzer [Sat, 29 Dec 2018 21:09:52 +0000 (22:09 +0100)]
[ADVAPI32_APITEST] Unknown field isn't that unknown and should contain "1"

See processhacker source code (as reference)

2 years ago[CABMAN] Fix a problem with creating temp files on some Windows system
Timo Kreuzer [Tue, 3 Apr 2018 19:25:04 +0000 (21:25 +0200)]
[CABMAN] Fix a problem with creating temp files on some Windows system

2 years ago[FONT][WIN32SS] Re-add casts for gcc
Mark Jansen [Sat, 29 Dec 2018 19:03:06 +0000 (20:03 +0100)]
[FONT][WIN32SS] Re-add casts for gcc

2 years ago[FONT][WIN32SS] Remove casts
Mark Jansen [Sat, 29 Dec 2018 18:46:37 +0000 (19:46 +0100)]
[FONT][WIN32SS] Remove casts

2 years ago[FONT][WIN32SS] Hold the freetype lock while accessing freetype data
Mark Jansen [Sat, 29 Dec 2018 18:46:14 +0000 (19:46 +0100)]
[FONT][WIN32SS] Hold the freetype lock while accessing freetype data

2 years ago[FONT][WIN32SS] Fix a memory leak
Mark Jansen [Sat, 29 Dec 2018 18:46:04 +0000 (19:46 +0100)]
[FONT][WIN32SS] Fix a memory leak

2 years ago[FONT][WIN32SS] Fix a memory leak
Mark Jansen [Sat, 29 Dec 2018 18:45:37 +0000 (19:45 +0100)]
[FONT][WIN32SS] Fix a memory leak

2 years ago[FONT][WIN32SS] Hold the freetype lock while accessing freetype data
Mark Jansen [Sat, 29 Dec 2018 18:45:21 +0000 (19:45 +0100)]
[FONT][WIN32SS] Hold the freetype lock while accessing freetype data

2 years ago[FONT][WIN32SS] Hold the freetype lock while accessing freetype data
Mark Jansen [Sat, 29 Dec 2018 18:45:09 +0000 (19:45 +0100)]
[FONT][WIN32SS] Hold the freetype lock while accessing freetype data

2 years ago[FONT][WIN32SS] Do not return an uninitialized variable
Mark Jansen [Sat, 29 Dec 2018 18:44:26 +0000 (19:44 +0100)]
[FONT][WIN32SS] Do not return an uninitialized variable

2 years ago[NTOS:IO] Fix indentation. No code changes.
Eric Kohl [Sat, 29 Dec 2018 16:49:38 +0000 (17:49 +0100)]
[NTOS:IO] Fix indentation. No code changes.

2 years ago[APPWIZ] Show message box upon error
Katayama Hirofumi MZ [Fri, 28 Dec 2018 20:55:19 +0000 (05:55 +0900)]
[APPWIZ] Show message box upon error

2 years ago[SETUP] Add support for selecting FS type in unattended setups
Pierre Schweitzer [Fri, 28 Dec 2018 19:34:48 +0000 (20:34 +0100)]
[SETUP] Add support for selecting FS type in unattended setups

By default, we still fallback to FAT if nothing asked, or if there
is an invalid input.
0 is FAT, 1 is BtrFS. This can be grown as soon as we add more IFS.

2 years ago[WIN32K:NTUSER] Acquire the user lock exclusively in NtUserGetSystemMenu. CORE-15512
Thomas Faber [Fri, 28 Dec 2018 10:27:28 +0000 (11:27 +0100)]
[WIN32K:NTUSER] Acquire the user lock exclusively in NtUserGetSystemMenu. CORE-15512

2 years ago[NTDLL:LDR] Avoid passing an uninitialized variable to another function.
Thomas Faber [Fri, 28 Dec 2018 10:28:43 +0000 (11:28 +0100)]
[NTDLL:LDR] Avoid passing an uninitialized variable to another function.

2 years ago[MENU][WIN32SS] Fix non-menubar menu text Y position (#1199)
Katayama Hirofumi MZ [Fri, 28 Dec 2018 03:12:42 +0000 (12:12 +0900)]
[MENU][WIN32SS] Fix non-menubar menu text Y position (#1199)

CORE-15226

2 years ago[NTOS] When checking something for NULL, let's initialize it to NULL...
Mark Jansen [Thu, 27 Dec 2018 22:03:22 +0000 (23:03 +0100)]
[NTOS] When checking something for NULL, let's initialize it to NULL...

2 years ago[ADVAPI32] CreateProcessAsUserA/W: Partially revert an obvious case of over-engineer...
Eric Kohl [Thu, 27 Dec 2018 18:27:43 +0000 (19:27 +0100)]
[ADVAPI32] CreateProcessAsUserA/W: Partially revert an obvious  case of over-engineering. Only share the common parts! Now it looks a lot better. No more stupid bUnicode!

2 years ago[TRANSLATION] Update Traditional Chinese translation. (#1193)
Luo Yufan [Thu, 27 Dec 2018 07:24:24 +0000 (15:24 +0800)]
[TRANSLATION] Update Traditional Chinese translation. (#1193)

2 years ago[FONT][WIN32SS] Optimize a bit
Katayama Hirofumi MZ [Thu, 27 Dec 2018 00:23:49 +0000 (09:23 +0900)]
[FONT][WIN32SS] Optimize a bit

2 years ago[TRANSLATION] Update Traditional Chinese translation. (#1192)
Luo Yufan [Wed, 26 Dec 2018 20:02:23 +0000 (04:02 +0800)]
[TRANSLATION] Update Traditional Chinese translation. (#1192)

2 years ago[NTOS:IO] When a device has been started, create an Enum sub key to its service key...
Eric Kohl [Tue, 25 Dec 2018 22:04:27 +0000 (23:04 +0100)]
[NTOS:IO] When a device has been started, create an Enum sub key to its service key and add the device instance name to the Enum sub key.

2 years ago[FONT][WIN32SS] Follow-up of #1184
Katayama Hirofumi MZ [Tue, 25 Dec 2018 12:51:58 +0000 (21:51 +0900)]
[FONT][WIN32SS] Follow-up of #1184

2 years ago[BTRFS] Reduce diff with upstream
Pierre Schweitzer [Tue, 25 Dec 2018 12:50:07 +0000 (13:50 +0100)]
[BTRFS] Reduce diff with upstream

CORE-15452

2 years ago[NTOSKRNL_VISTA] Implement FsRtlGetEcpListFromIrp and FsRtlGetNextExtraCreateParameter
Pierre Schweitzer [Tue, 25 Dec 2018 12:45:41 +0000 (13:45 +0100)]
[NTOSKRNL_VISTA] Implement FsRtlGetEcpListFromIrp and FsRtlGetNextExtraCreateParameter

CORE-15452

2 years ago[NTOSKRNL_VISTA] Implement IoGetIrpExtraCreateParameter
Pierre Schweitzer [Tue, 25 Dec 2018 12:44:44 +0000 (13:44 +0100)]
[NTOSKRNL_VISTA] Implement IoGetIrpExtraCreateParameter

CORE-15452

2 years ago[FONT][WIN32SS] Refactor rendering text background (#1184)
Katayama Hirofumi MZ [Tue, 25 Dec 2018 11:41:25 +0000 (20:41 +0900)]
[FONT][WIN32SS] Refactor rendering text background (#1184)

Simplify the background filling codes. CORE-14856

2 years ago[WIN32SS] Fix RLE4 bitmap decoding (#1188)
Katayama Hirofumi MZ [Tue, 25 Dec 2018 09:04:21 +0000 (18:04 +0900)]
[WIN32SS] Fix RLE4 bitmap decoding (#1188)

CORE-10553, CORE-11399

2 years ago[TRANSLATION] Update Chinese translation. (#1187)
Luo Yufan [Tue, 25 Dec 2018 08:28:36 +0000 (16:28 +0800)]
[TRANSLATION] Update Chinese translation. (#1187)

[REG][REACTOS][EXPLORER][APPWIZ][CONSOLE][INETCPL][INPUT]
[INTL][OPENGLCFG][TIMEDATE][DEVCPUX][COMCTL32][COMDLG32]
[MSGINA][NETCFGX][NETID][SETUPAPI][SHELL32][SYSSETUP]
Update Simplified and Traditional Chinese translations.

2 years ago[MC] Fix the build
Eric Kohl [Mon, 24 Dec 2018 17:19:58 +0000 (18:19 +0100)]
[MC] Fix the build

2 years ago[MC] Fix build issue?
Eric Kohl [Mon, 24 Dec 2018 17:10:38 +0000 (18:10 +0100)]
[MC] Fix build issue?

2 years agoFix the build
Eric Kohl [Mon, 24 Dec 2018 16:03:00 +0000 (17:03 +0100)]
Fix the build

2 years ago[NET] Add (incomplete) COMPUTER command and rename help.c to cmdHelp.c.
Eric Kohl [Mon, 24 Dec 2018 13:39:26 +0000 (14:39 +0100)]
[NET] Add (incomplete) COMPUTER command and rename help.c to cmdHelp.c.

2 years ago[COMDLG32] Update Simplified Chinese translation.
Luo Yufan [Mon, 24 Dec 2018 09:34:01 +0000 (17:34 +0800)]
[COMDLG32] Update Simplified Chinese translation.

2 years ago[COMCTL32] Update Simplified Chinese translation.
Luo Yufan [Sun, 23 Dec 2018 16:21:54 +0000 (00:21 +0800)]
[COMCTL32] Update Simplified Chinese translation.

2 years ago[NET] Move TIME, USE, USER, VIEW and NET command syntax and help texts into a message...
Eric Kohl [Mon, 24 Dec 2018 10:48:23 +0000 (11:48 +0100)]
[NET] Move TIME, USE, USER, VIEW and NET command syntax and help texts into a message table and add the translators names to the message file.

2 years ago[NET] Move START, STATISTICS and STOP command syntax and help texts into a message...
Eric Kohl [Mon, 24 Dec 2018 09:20:44 +0000 (10:20 +0100)]
[NET] Move START, STATISTICS and STOP command syntax and help texts into a message table.

2 years ago[NET] Move PAUSE, PRINT, SEND, SESSION and SHARE command syntax and help texts into...
Eric Kohl [Mon, 24 Dec 2018 00:25:30 +0000 (01:25 +0100)]
[NET] Move PAUSE, PRINT, SEND, SESSION and SHARE command syntax and help texts into a message table.

2 years ago[NET] Move HRELPMSG, LOVALGROUP and NAME command syntax and help texts into a message...
Eric Kohl [Sun, 23 Dec 2018 23:13:16 +0000 (00:13 +0100)]
[NET] Move HRELPMSG, LOVALGROUP and NAME command syntax and help texts into a message table.

2 years ago[NET] Move FILE, GROUP and HELP command syntax and help texts into a message table.
Eric Kohl [Sun, 23 Dec 2018 20:41:27 +0000 (21:41 +0100)]
[NET] Move FILE, GROUP and HELP command syntax and help texts into a message table.

2 years ago[USETUP] Add SETUP_INIT_PAGE in the list of virtual pages.
Hermès Bélusca-Maïto [Sun, 23 Dec 2018 20:00:56 +0000 (21:00 +0100)]
[USETUP] Add SETUP_INIT_PAGE in the list of virtual pages.

2 years ago[OSK] Add missing welcome box resource for Estonian (#1181)
Bișoc George [Sun, 23 Dec 2018 19:46:36 +0000 (20:46 +0100)]
[OSK] Add missing welcome box resource for Estonian (#1181)

2 years ago[USETUP] Modify the integrated user-mode PnP manager along the lines of UMPNPMGR...
Hermès Bélusca-Maïto [Sun, 23 Dec 2018 19:28:19 +0000 (20:28 +0100)]
[USETUP] Modify the integrated user-mode PnP manager along the lines of UMPNPMGR, so that we can wait until all the queued device installations finish before continuing the installation further.

Add a corresponding please-wait page and update the translations.

2 years ago[USETUP] Check for invalid INF handles before doing operations.
Hermès Bélusca-Maïto [Sun, 23 Dec 2018 15:53:39 +0000 (16:53 +0100)]
[USETUP] Check for invalid INF handles before doing operations.

2 years ago[NET] Move COMPUTER, CONFIG and CONTINUE command syntax and help texts into a message...
Eric Kohl [Sun, 23 Dec 2018 19:22:48 +0000 (20:22 +0100)]
[NET] Move COMPUTER, CONFIG and CONTINUE command syntax and help texts into a message table.

2 years ago[SDK] Set proper lang IDs, aka fix build
Pierre Schweitzer [Sun, 23 Dec 2018 17:22:57 +0000 (18:22 +0100)]
[SDK] Set proper lang IDs, aka fix build

2 years ago[FONTVIEW] Update Traditional Chinese translation. (#1180)
Luo Yufan [Sun, 23 Dec 2018 16:00:09 +0000 (00:00 +0800)]
[FONTVIEW] Update Traditional Chinese translation. (#1180)

2 years ago[NET] Move ACCOUNTS command syntax and help text into a message table.
Eric Kohl [Sun, 23 Dec 2018 15:47:16 +0000 (16:47 +0100)]
[NET] Move ACCOUNTS command syntax and help text into a message table.

2 years ago[NTOSKRNL] Set the MemoryMaker flag when executing write behind
Pierre Schweitzer [Sun, 23 Dec 2018 13:59:42 +0000 (14:59 +0100)]
[NTOSKRNL] Set the MemoryMaker flag when executing write behind

2 years ago[NTOSKRNL] Implement write behind in Cc
Pierre Schweitzer [Sun, 23 Dec 2018 13:43:17 +0000 (14:43 +0100)]
[NTOSKRNL] Implement write behind in Cc

For now, this is just a split between scan and flush that
were both done during lazy scan previously.
Lazy scan shouldn't perform any write operation, but only
queue a write behind operation.

Our implementation is far from the original, as it seems
our lazy scan should queue a write behind operation per
shared cache map. Right now, we only perform global
operation.

2 years ago[NET] Load netmsg.dll right from the start and print some messages using netmsg.dll...
Eric Kohl [Sun, 23 Dec 2018 13:16:53 +0000 (14:16 +0100)]
[NET] Load netmsg.dll right from the start and print some messages using netmsg.dll rather than local strings.

@Translators: Please start translating messages from netmsgmsg.mc and errorcodes.mc (located in sdk\include\reactos\mc). They will be used instead of local strings.

2 years ago[UMPNPMGR] Use HeapReAlloc() to reallocate the PnP events buffer. Fix a memory leak...
Hermès Bélusca-Maïto [Sun, 23 Dec 2018 13:06:03 +0000 (14:06 +0100)]
[UMPNPMGR] Use HeapReAlloc() to reallocate the PnP events buffer. Fix a memory leak in DeviceInstallThread().

2 years ago[UMPNPMGR] Minor formatting, and enable a DPRINT1 in case NtGetPlugPlayEvent() fails...
Hermès Bélusca-Maïto [Sun, 23 Dec 2018 13:02:16 +0000 (14:02 +0100)]
[UMPNPMGR] Minor formatting, and enable a DPRINT1 in case NtGetPlugPlayEvent() fails and the PnpEventThread() thread unexpectedly terminates due to that.

2 years ago[KMTESTS:CC] Fix a typo, definitely showing this code path is not used during the...
Pierre Schweitzer [Sun, 23 Dec 2018 11:31:14 +0000 (12:31 +0100)]
[KMTESTS:CC] Fix a typo, definitely showing this code path is not used during the test

2 years ago[NTOSKRNL] Honor files that shouldn't be lazy written
Pierre Schweitzer [Sun, 23 Dec 2018 11:10:58 +0000 (12:10 +0100)]
[NTOSKRNL] Honor files that shouldn't be lazy written

2 years ago[KMTESTS:CC] Add tests showing a dirty VACB isn't flushed on file growing
Pierre Schweitzer [Sun, 23 Dec 2018 11:04:39 +0000 (12:04 +0100)]
[KMTESTS:CC] Add tests showing a dirty VACB isn't flushed on file growing

CORE-11819

2 years ago[NTOSKRNL] When growing a file, invalid the last VACB so that it can be refreshed
Pierre Schweitzer [Sun, 23 Dec 2018 10:08:01 +0000 (11:08 +0100)]
[NTOSKRNL] When growing a file, invalid the last VACB so that it can be refreshed

This will avoid corruption when a file size is little grown and read afterwards.
Up to now, FSD where reading 0es instead of expected data, causing corruption.

This fixes MS FastFAT not being able to mount a FAT volume in ReactOS, corrupting
the FAT.
This also fixes the CcSetFileSizes kmtest tests.

This is based on a patch by Thomas Faber.

CORE-11819

2 years ago[NETMSG] Fix message table include statement and build netmsg.dll.
Eric Kohl [Sat, 22 Dec 2018 16:52:03 +0000 (17:52 +0100)]
[NETMSG] Fix message table include statement and build netmsg.dll.

2 years ago[MC] Remove some useless quotation marks from message strings.
Eric Kohl [Sat, 22 Dec 2018 16:47:39 +0000 (17:47 +0100)]
[MC] Remove some useless quotation marks from message strings.

2 years ago[FONTSUB] Fix build²
Pierre Schweitzer [Sat, 22 Dec 2018 14:02:16 +0000 (15:02 +0100)]
[FONTSUB] Fix build²

2 years ago[FONTSUB] Fix build
Pierre Schweitzer [Sat, 22 Dec 2018 13:52:02 +0000 (14:52 +0100)]
[FONTSUB] Fix build

2 years ago[KMTESTS:CC] Add a trace to identify failing tests
Pierre Schweitzer [Sat, 22 Dec 2018 13:36:08 +0000 (14:36 +0100)]
[KMTESTS:CC] Add a trace to identify failing tests

2 years ago[TRANSLATION] Update Chinese shortcut translation (#1179)
Luo Yufan [Sat, 22 Dec 2018 13:35:33 +0000 (21:35 +0800)]
[TRANSLATION] Update Chinese shortcut translation  (#1179)

* [INF] Update Traditional Chinese translation.
* [ROSAPPS] Update Chinese translation.
* [FONTSUB] Add Traditional Chinese translation.
* [FONTSUB] Add Traditional Chinese translation.
* [FONTSUB] Update Simplified Chinese translation.
* [ROSAPPS] Update Chinese translation.
* [FONTSUB] Update Simplified Chinese translation.

2 years ago[KMTESTS:CC] Add more tests for SetFileSizes
Pierre Schweitzer [Sat, 22 Dec 2018 11:42:05 +0000 (12:42 +0100)]
[KMTESTS:CC] Add more tests for SetFileSizes

These are covered by Thomas' patch.

CORE-11819

2 years ago[KMTESTS:CC] Add tests for CcSetFileSizes
Pierre Schweitzer [Sat, 22 Dec 2018 11:29:18 +0000 (12:29 +0100)]
[KMTESTS:CC] Add tests for CcSetFileSizes

These are passing in W2K3 but failing in ReactOS.

CORE-11819

2 years ago[USP10] Don't mix character and glyph index caches. CORE-14226
Thomas Faber [Sat, 22 Dec 2018 10:29:24 +0000 (11:29 +0100)]
[USP10] Don't mix character and glyph index caches. CORE-14226

Import Wine commits by Nikolay Sivov:
d1e618d31da usp10: Use glyph index consistently in ScriptGetGlyphABCWidth().
8d018d8d1da usp10: Make sure metrics cache is used with glyph indices only.
eda3a3e37da usp10: Remove extra parentheses.

Fixes font display in UltraISO and GOG installers.

See also https://bugs.winehq.org/show_bug.cgi?id=44410

2 years ago[NTOS:CC] CcCanIWrite(): Use BYTES_TO_PAGES(Length)
Serge Gautherie [Fri, 21 Dec 2018 18:20:59 +0000 (19:20 +0100)]
[NTOS:CC] CcCanIWrite(): Use BYTES_TO_PAGES(Length)

2 years ago[IPHLPAPI_APITEST] Add tests for GetOwnerModuleFromUdpEntry
Pierre Schweitzer [Fri, 21 Dec 2018 18:16:25 +0000 (19:16 +0100)]
[IPHLPAPI_APITEST] Add tests for GetOwnerModuleFromUdpEntry