reactos.git
5 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)

5 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

5 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)

5 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.

5 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

5 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

5 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

5 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

5 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

5 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

5 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.

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

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

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

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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.

5 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)

5 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.

5 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.

5 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.

5 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

5 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)

5 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.

5 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

5 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.

5 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.

5 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().

5 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.

5 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

5 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

5 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

5 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

5 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.

5 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.

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

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

5 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

5 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.

5 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

5 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

5 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

5 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)

5 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

5 years ago[SDK] Define GetOwnerModuleFromUdpEntry()
Pierre Schweitzer [Fri, 21 Dec 2018 18:15:05 +0000 (19:15 +0100)]
[SDK] Define GetOwnerModuleFromUdpEntry()

5 years ago[IPHLPAPI_APITEST] Add tests for GetExtendedUdpTable
Pierre Schweitzer [Fri, 21 Dec 2018 18:05:07 +0000 (19:05 +0100)]
[IPHLPAPI_APITEST] Add tests for GetExtendedUdpTable

5 years ago[COMDLG32] Update Ukrainian translation for NEWFILEOPENV2ORD dialog (#1175)
Oleg Dubinskiy [Fri, 21 Dec 2018 15:49:05 +0000 (17:49 +0200)]
[COMDLG32] Update Ukrainian translation for NEWFILEOPENV2ORD dialog (#1175)

5 years ago[COMDLG32] Update Russian translation for NEWFILEOPENV2ORD dialog (#1174)
Oleg Dubinskiy [Fri, 21 Dec 2018 15:48:36 +0000 (17:48 +0200)]
[COMDLG32] Update Russian translation for NEWFILEOPENV2ORD dialog (#1174)

5 years ago[NTOSKRNL] Don't call AcquireForLazyWrite with the master lock held
Pierre Schweitzer [Fri, 21 Dec 2018 07:44:14 +0000 (08:44 +0100)]
[NTOSKRNL] Don't call AcquireForLazyWrite with the master lock held

This incorrect behavior was leading to a call at too high IRQL for paged code.
This was triggered by MS FastFAT.

ReleaseFromLazyWrite call was already correctly called to that regard.

CORE-11819

5 years ago[D3DCOMPILER_43] Fix a MSVC-x64 warning about dxbc_init() (#1173)
Serge Gautherie [Fri, 21 Dec 2018 01:53:42 +0000 (02:53 +0100)]
[D3DCOMPILER_43] Fix a MSVC-x64 warning about dxbc_init() (#1173)

"...\utils.c(561) : warning C4028: formal parameter 2 different from declaration"

Cherry-pick:
https://source.winehq.org/git/wine.git/commit/ffe9346120ca74f193d8a31d0b6a48eb55604d2b
CORE-7538

5 years ago[THEMEUI][BOOTDATA] Add the Red, White, Blue Classic Color Scheme for Classic Theme...
Lee Schroeder [Thu, 20 Dec 2018 23:38:45 +0000 (16:38 -0700)]
[THEMEUI][BOOTDATA] Add the Red, White, Blue Classic Color Scheme for Classic Theme, and Localization (#1059)

Adds the 'Red, White, and Blue' Color Scheme used by the Classic Theme and adds localization for all the color schemes into themeui.dll.

Translators, please check the language files for potential copypasta errors.

5 years ago[NTOS] Addendum to 03873aee: check that the computed size of the OEM-converted string...
Hermès Bélusca-Maïto [Thu, 20 Dec 2018 23:33:56 +0000 (00:33 +0100)]
[NTOS] Addendum to 03873aee: check that the computed size of the OEM-converted string is less than MAXUSHORT.

5 years ago[LOG2LINES] Partially sync output format from command line input (#1109)
Serge Gautherie [Thu, 20 Dec 2018 23:27:01 +0000 (00:27 +0100)]
[LOG2LINES] Partially sync output format from command line input (#1109)

5 years ago[JSCRIPT] Fix a MSVC-x64 warning about to_uint32() (#1172)
Serge Gautherie [Thu, 20 Dec 2018 23:07:24 +0000 (00:07 +0100)]
[JSCRIPT] Fix a MSVC-x64 warning about to_uint32() (#1172)

"...\jsutils.c(679) : warning C4028: formal parameter 3 different from declaration"

Cherry-pick:
https://source.winehq.org/git/wine.git/commit/961d5c8ed05eeccbe216ff24faa0e3d6a0c2b332
CORE-7538

5 years ago[ROSAPPS][VGAFONTEDIT] Refactor on OpenInfo
Katayama Hirofumi MZ [Thu, 20 Dec 2018 14:37:08 +0000 (23:37 +0900)]
[ROSAPPS][VGAFONTEDIT] Refactor on OpenInfo

5 years ago[ROSAPPS][VGAFONTEDIT] Fix memory leaks
Katayama Hirofumi MZ [Thu, 20 Dec 2018 14:16:04 +0000 (23:16 +0900)]
[ROSAPPS][VGAFONTEDIT] Fix memory leaks

5 years ago[TRANSLATION] Update Chinese translation. (#1170)
Luo Yufan [Thu, 20 Dec 2018 13:40:03 +0000 (21:40 +0800)]
[TRANSLATION] Update Chinese translation. (#1170)

* [BROWSEUI] Update Traditional Chinese translation.
* [BROWSEUI] Update Simplified Chinese translation.
* [SHELL32] Update Traditional Chinese translation.
* [REGEDIT] Update Traditional Chinese translation.
* [BROWSEUI] Update Traditional Chinese translation.

5 years ago[ROSAPPS][VGAFONTEDIT] String/Memory check
Katayama Hirofumi MZ [Thu, 20 Dec 2018 13:33:59 +0000 (22:33 +0900)]
[ROSAPPS][VGAFONTEDIT] String/Memory check

5 years ago[DEVMGMT] Replace the blurry 32pixel icon with a clearer one. (#1169)
Jared Smudde [Thu, 20 Dec 2018 08:38:32 +0000 (02:38 -0600)]
[DEVMGMT] Replace the blurry 32pixel icon with a clearer one. (#1169)

Device Manager's icon improvement.

5 years ago[USETUP][NTDLL_APITEST][KBDROST] Allow non-Latin codepage users to build ReactOS...
Katayama Hirofumi MZ [Thu, 20 Dec 2018 08:25:32 +0000 (17:25 +0900)]
[USETUP][NTDLL_APITEST][KBDROST] Allow non-Latin codepage users to build ReactOS on MSVC (Retrial of #1150) (#1168)

- The converter is code7bit I made. code7bit: https://github.com/katahiromz/code7bit
- This converter converts non-clean characters in string literals.
- However I couldn't erase a ton of codepage C4819 warnings.
- CORE-15447

You can edit an European source file as follows:
- Right click the file in the Solution Explorer.
- Select "Open With...".
- Choose "C++ Source Code Editor (with encoding)".
- Choose "Central European (Windows) - Codepage 1260".

5 years ago[NTOSKRNL] Check that caller has the priviliege to unload a driver
Pierre Schweitzer [Thu, 20 Dec 2018 07:49:00 +0000 (08:49 +0100)]
[NTOSKRNL] Check that caller has the priviliege to unload a driver

Also, probe the service name when unloading a driver if called from
user-mode. This will avoid that userland applications can trigger an
invalid read in the kernel (and thus, a BSOD).

CORE-15468

5 years ago[NTOS] Minor formatting + don't hardcode sizeof(UCHAR) value.
Hermès Bélusca-Maïto [Thu, 20 Dec 2018 02:46:42 +0000 (03:46 +0100)]
[NTOS] Minor formatting + don't hardcode sizeof(UCHAR) value.

5 years ago[NTOS] Addendum to d8cb37bf: return the correct Status from NtAllocateUuids().
Hermès Bélusca-Maïto [Thu, 20 Dec 2018 02:45:43 +0000 (03:45 +0100)]
[NTOS] Addendum to d8cb37bf: return the correct Status from NtAllocateUuids().

5 years ago[NTOS] Fixes for NtDisplayString().
Hermès Bélusca-Maïto [Thu, 20 Dec 2018 02:32:08 +0000 (03:32 +0100)]
[NTOS] Fixes for NtDisplayString().

- Require the user to have TCB privilege for using this function.
- Probe and capture the user-provided string (and avoid usermode-triggered BSODS ;-)
- Allocate the OEM-converted string in *NonPagedPool* because we are
  going to transmit the buffer to BOOTVID.

5 years ago[TRANSLATION] Update Traditional Chinese translation. (#1166)
Luo Yufan [Thu, 20 Dec 2018 02:25:12 +0000 (10:25 +0800)]
[TRANSLATION] Update Traditional Chinese translation. (#1166)

Translations for DESK, HDWWIZ, SYSDM, TIMEDATE and BROWSEUI.

If any Taiwanese contributors are present, please help improving the translations!

5 years ago[NETSHELL] Use distinct icon for connection status window (#1167)
Stanislav Motylkov [Wed, 19 Dec 2018 23:35:22 +0000 (02:35 +0300)]
[NETSHELL] Use distinct icon for connection status window (#1167)

CORE-15445

5 years ago[NTOSKRNL] Drop the ViewLock mutex in favour of the master spin lock
Pierre Schweitzer [Wed, 19 Dec 2018 21:49:48 +0000 (22:49 +0100)]
[NTOSKRNL] Drop the ViewLock mutex in favour of the master spin lock

This will allow Cc calls during DPC, which is required by MS FastFAT

CORE-11819

5 years ago[NTOSKRNL] Fix indentation. No code changes.
Eric Kohl [Tue, 18 Dec 2018 20:35:12 +0000 (21:35 +0100)]
[NTOSKRNL] Fix indentation. No code changes.

5 years ago[NTOSKRNL] Fix indentation. No code changes.
Eric Kohl [Mon, 17 Dec 2018 20:23:10 +0000 (21:23 +0100)]
[NTOSKRNL] Fix indentation. No code changes.

5 years ago[NTUSER] Implement creating the system threads
Giannis Adamopoulos [Sun, 16 Dec 2018 11:16:29 +0000 (13:16 +0200)]
[NTUSER] Implement creating the system threads
- Add UserCreateSystemThread function that will signal csrss to create a new system thread.
- NtUserCreateWindowStation: Create the raw input thread and the desktop thread when the IO window station gets created.
- IntMakeHungWindowGhosted: Create the ghost system thread that will own all ghost windows.
- Let the raw input thread manage the window station of csrss.

[USERSRV] Remove system threads creating hack
- Implement SrvCreateSystemThreads
- Don't create the system threads in UserServerDllInitialization.

5 years ago[USERSRV] Add definition for the USER_CREATE_SYSTEM_THREAD api message
Giannis Adamopoulos [Thu, 13 Dec 2018 09:21:00 +0000 (11:21 +0200)]
[USERSRV] Add definition for the USER_CREATE_SYSTEM_THREAD api message

5 years ago[WINSRV] Add a hack to fix giving the api port to win32k
Giannis Adamopoulos [Sun, 16 Dec 2018 11:14:56 +0000 (13:14 +0200)]
[WINSRV] Add a hack to fix giving the api port to win32k
- Register our api port with win32k in SrvRegisterLogonProcess because UserClientConnect is never really called.

[NTUSER] Silence a noisy trace

5 years ago[NTUSER] Fix desktop and window station assignment for csrss
Giannis Adamopoulos [Sun, 16 Dec 2018 11:19:54 +0000 (13:19 +0200)]
[NTUSER] Fix desktop and window station assignment for csrss
- NtUserSetInformationThread: Stub UserThreadUseActiveDesktop and UserThreadRestoreDesktop
- Properly mark the first thread that enters win32k belonging to csrss. At this point we assume that since gpepCSRSS isn't initialized yet, it probably is the first thread.

[WINSRV] Use NtUserSetInformationThread to set the current desktop when needed
-When csrss needs to use user32 or enter win32k, it first needs to assign the current thread to a desktop.

5 years ago[NTUSER] Don't crash when the current thread doesn't have a desktop
Giannis Adamopoulos [Mon, 17 Dec 2018 18:11:59 +0000 (20:11 +0200)]
[NTUSER] Don't crash when the current thread doesn't have a desktop

5 years ago[WINSRV] Fix setting the console title
Giannis Adamopoulos [Mon, 17 Dec 2018 08:50:50 +0000 (10:50 +0200)]
[WINSRV] Fix setting the console title

5 years ago[TRANSLATION][USETUP] Complete Hebrew translation (#1163)
Baruch Rutman [Wed, 19 Dec 2018 12:20:18 +0000 (14:20 +0200)]
[TRANSLATION][USETUP] Complete Hebrew translation (#1163)

- Code-page 862, Hebrew text is in visual order.
- Use escape sequences for quotation marks.

5 years ago[ROSAPPS][VGAFONTEDIT] Allow file drop (#1165)
Katayama Hirofumi MZ [Wed, 19 Dec 2018 12:08:25 +0000 (21:08 +0900)]
[ROSAPPS][VGAFONTEDIT] Allow file drop (#1165)

- Allow file drop on EXE file.
- Allow file drop on the main window.

5 years agoUpdate Chinese translation. (#1164)
Luo Yufan [Wed, 19 Dec 2018 12:04:19 +0000 (20:04 +0800)]
Update Chinese translation. (#1164)

* [SYSSETUP] Update Simplified Chinese translation.
* [SYSSETUP] Update Traditional Chinese translation.
* [SHELL32] Update Traditional Chinese translation.
* [VCDCONTROLTOOL] Update Simplified Chinese translation.
* [VCDCONTROLTOOL] Update Traditional Chinese translation.

5 years ago[DEVMGR][NETCFGX][MSCONFIG][NETSHELL] Fix and improve icons (#1143)
Katayama Hirofumi MZ [Wed, 19 Dec 2018 11:07:17 +0000 (20:07 +0900)]
[DEVMGR][NETCFGX][MSCONFIG][NETSHELL] Fix and improve icons (#1143)

CORE-15445

5 years ago[CRT] Use explicit C linkage for intrinsic functions.
Thomas Faber [Wed, 19 Dec 2018 09:54:49 +0000 (10:54 +0100)]
[CRT] Use explicit C linkage for intrinsic functions.

Fixes MSVC warnings:
sdk\include\crt\xmmintrin.h(33): warning C4162: '_mm_getcsr': no function with C linkage found
sdk\include\crt\xmmintrin.h(35): warning C4162: '_mm_setcsr': no function with C linkage found

5 years ago[NTOSKRNL] Fix copy/pasta ;-)
Pierre Schweitzer [Wed, 19 Dec 2018 07:15:11 +0000 (08:15 +0100)]
[NTOSKRNL] Fix copy/pasta ;-)

5 years ago[NTOSKRNL] Probe parameters in NtAllocateUuids() if called from user-mode
Pierre Schweitzer [Wed, 19 Dec 2018 07:07:28 +0000 (08:07 +0100)]
[NTOSKRNL] Probe parameters in NtAllocateUuids() if called from user-mode

This will avoid that userland applications can trigger an invalid write in
the kernel (and thus, a BSOD).

CORE-15462

5 years ago[VCDCONTROLTOOL] Add Ukrainian translation
Oleg Dubinskiy [Tue, 18 Dec 2018 22:21:07 +0000 (00:21 +0200)]
[VCDCONTROLTOOL] Add Ukrainian translation

5 years ago[NTOSKRNL] Only allow SYSTEM to call NtSetUuidSeed()
Pierre Schweitzer [Tue, 18 Dec 2018 22:08:19 +0000 (23:08 +0100)]
[NTOSKRNL] Only allow SYSTEM to call NtSetUuidSeed()

Also, validate input buffer before attempting any operation on it.
This will avoid userland applications to be able to trigger an invalid
read in the kernel (and thus a BSOD).

Regarding access restriction, see:
https://stackoverflow.com/questions/1254244/need-access-to-ntsetuuidseed-from-a-non-localsystem-process

CORE-15460

5 years ago[PSDK] Fix 5 MSVC-x64 "C4028" warnings about SQL*() (#1160)
Serge Gautherie [Tue, 18 Dec 2018 21:48:40 +0000 (22:48 +0100)]
[PSDK] Fix 5 MSVC-x64 "C4028" warnings about SQL*() (#1160)

Missed parts of sqlext.h in r74826 WineSync.
CORE-13362 CORE-7538

5 years ago[TRANSLATION] Ukrainian Translation Update & OEM-866 Code Page Problem (#1133)
Yaroslav Kibysh [Tue, 18 Dec 2018 17:38:42 +0000 (19:38 +0200)]
[TRANSLATION] Ukrainian Translation Update & OEM-866 Code Page Problem (#1133)

Also add the Ї ї Є є characters to the VGA font for code page 866.

5 years ago[TRANSLATION] Update Chinese translation (zh_CN & zh_TW) (#1159)
Luo Yufan [Tue, 18 Dec 2018 16:24:35 +0000 (00:24 +0800)]
[TRANSLATION] Update Chinese translation (zh_CN & zh_TW) (#1159)

5 years ago[CYLFRAC] Fix 3 MSVC-x64 warnings about TimeProc() (#1157)
Serge Gautherie [Tue, 18 Dec 2018 12:30:28 +0000 (13:30 +0100)]
[CYLFRAC] Fix 3 MSVC-x64 warnings about TimeProc() (#1157)

- "...\cylfrac.c(160): warning C4028: formal parameter 3 different from declaration"
- "...\cylfrac.c(160): warning C4028: formal parameter 4 different from declaration"
- "...\cylfrac.c(160): warning C4028: formal parameter 5 different from declaration"

CORE-7538

5 years ago[CYLFRAC] Fix a MSVC-x64 warning about hwnd (#1158)
Serge Gautherie [Tue, 18 Dec 2018 12:29:03 +0000 (13:29 +0100)]
[CYLFRAC] Fix a MSVC-x64 warning about hwnd (#1158)

"...\cylfrac.c(160): warning C4311: 'type cast': pointer truncation from 'HWND' to 'DWORD'".

5 years ago[VCDCONTROLTOOL] Enable Spanish translation
Pierre Schweitzer [Tue, 18 Dec 2018 07:20:27 +0000 (08:20 +0100)]
[VCDCONTROLTOOL] Enable Spanish translation

Addendum to 1cb1da5 which was an addendum to be8a835

5 years ago[TRANSLATION] Update Traditional Chinese translation. (#1142)
Luo Yufan [Tue, 18 Dec 2018 03:30:48 +0000 (11:30 +0800)]
[TRANSLATION] Update Traditional Chinese translation. (#1142)

5 years agoRemove unwanted file; addendum to be8a835.
Hermès Bélusca-Maïto [Tue, 18 Dec 2018 00:48:30 +0000 (01:48 +0100)]
Remove unwanted file; addendum to be8a835.

5 years ago[VCDCONTROLTOOL] Add Spanish translation (#1156)
Javier Fernandez [Tue, 18 Dec 2018 00:33:08 +0000 (01:33 +0100)]
[VCDCONTROLTOOL] Add Spanish translation (#1156)

5 years ago[DESK][SHELL32] Allow Desk.cpl to run standalone on WinXP/2003 again CORE-15412
Joachim Henze [Mon, 17 Dec 2018 21:01:49 +0000 (22:01 +0100)]
[DESK][SHELL32] Allow Desk.cpl to run standalone on WinXP/2003 again CORE-15412

addendum to 0.4.10-dev-502-g
d559ca9c982f9766acc5db3ea887ef2bc27acdff

That copy-paste was done once intentionally to keep our imports similar to 2003.
It's worth reading the conversation in PR #748: Getequ seems to be ok with this.

The ideal solution most likely would be to instead *statically*
link against RegLoadMUIStringW() from advapi32_vista when WINNT=0x502.
For now the stuff runs again at least.
I left the func existing in advapi32_vista.dll.