reactos.git
6 months ago[NTOS:KD] Fix wrong debug level checking logic in KdpPrint.
Victor Perevertkin [Thu, 19 Dec 2019 18:01:30 +0000 (21:01 +0300)]
[NTOS:KD] Fix wrong debug level checking logic in KdpPrint.
Use NtQueryDebugFilterState in that function for consistency.
Thanks Hermès Bélusca-Maïto for help

6 months ago[WIN32K:NTUSER] Avoid user memory access outside of SEH in NtUserEnumDisplaySettings.
Thomas Faber [Sun, 29 Dec 2019 17:51:05 +0000 (18:51 +0100)]
[WIN32K:NTUSER] Avoid user memory access outside of SEH in NtUserEnumDisplaySettings.

6 months ago[WIN32K:NTUSER] Correctly capture UNICODE_STRING in NtUserEnumDisplaySettings.
Thomas Faber [Sun, 29 Dec 2019 15:14:58 +0000 (16:14 +0100)]
[WIN32K:NTUSER] Correctly capture UNICODE_STRING in NtUserEnumDisplaySettings.

6 months ago[WIN32K:NTUSER] Add missing probe in NtUserGetClassName.
Thomas Faber [Sun, 29 Dec 2019 15:14:17 +0000 (16:14 +0100)]
[WIN32K:NTUSER] Add missing probe in NtUserGetClassName.

6 months ago[CMD] If the prompt displays the information line on top of the screen, ensure that...
Hermès Bélusca-Maïto [Sun, 29 Dec 2019 18:08:47 +0000 (19:08 +0100)]
[CMD] If the prompt displays the information line on top of the screen, ensure that the prompt won't be hidden below it.
CORE-16193

6 months ago[CMD] Code formatting; don't hardcode the string buffer sizes in function calls.
Hermès Bélusca-Maïto [Sun, 29 Dec 2019 15:53:36 +0000 (16:53 +0100)]
[CMD] Code formatting; don't hardcode the string buffer sizes in function calls.

6 months ago[SAMSRV] SamrEnumerate...: Return STATUS_NO_MORE_ENTRIES if there is nothing to enume...
Eric Kohl [Sun, 29 Dec 2019 16:28:55 +0000 (17:28 +0100)]
[SAMSRV] SamrEnumerate...: Return STATUS_NO_MORE_ENTRIES if there is nothing to enumerate.

6 months ago[BROWSEUI] Remove unneeded header, addendum to d967b5aa.
Hermès Bélusca-Maïto [Sun, 29 Dec 2019 15:23:37 +0000 (16:23 +0100)]
[BROWSEUI] Remove unneeded header, addendum to d967b5aa.

6 months ago[NETAPI32] Improve some error traces.
Hermès Bélusca-Maïto [Sun, 29 Dec 2019 15:08:38 +0000 (16:08 +0100)]
[NETAPI32] Improve some error traces.

6 months ago[SHELL32] Remove some trailing spaces; use explicitly global namespace for some funct...
Hermès Bélusca-Maïto [Sun, 29 Dec 2019 14:57:57 +0000 (15:57 +0100)]
[SHELL32] Remove some trailing spaces; use explicitly global namespace for some functions.

6 months ago[BROWSEUI] Remove useless RegenerateUserEnvironment() call.
Hermès Bélusca-Maïto [Sun, 29 Dec 2019 14:48:42 +0000 (15:48 +0100)]
[BROWSEUI] Remove useless RegenerateUserEnvironment() call.
[SHELL32]  Call RegenerateUserEnvironment() in WM_SETTINGCHANGE handler **ONLY** when lParam points to the L"Environment" string.
CORE-15147

6 months ago[WIN32SS:USER] Some minimal work and fixes concerning message queues timeouts.
Hermès Bélusca-Maïto [Sun, 29 Dec 2019 14:10:19 +0000 (15:10 +0100)]
[WIN32SS:USER] Some minimal work and fixes concerning message queues timeouts.
CORE-15147

- Rename CLIENTTHREADINFO::tickLastMsgChecked into timeLastRead as
  documented in https://reactos.org/wiki/Techwiki:Win32k/CLIENTTHREADINFO .
  This is the last time the message queue was read.

- This is the structure member one must compare against the current tick
  count timestamp in order to heuristically determine whether a message
  queue thread is hung!! Fix MsqIsHung() in accordance, add extra debug
  logging in order to help us determining which of our code present
  regular GUI hangs, and add as well an extra "TimeOut" parameter so as
  not to hardcode a fixed value within that function but instead
  allowing its caller to specify possible different values.

- THREADINFO::timeLast is on the contrary the last message time stamp,
  and will definitively differ from CLIENTTHREADINFO::timeLastRead .
  It should only be used for information purposes!

- Accordingly, in NtUserGetThreadState()::THREADSTATE_UPTIMELASTREAD
  and in InitThreadCallback(), only (re-)initialize the timeLastRead
  member of the CLIENTTHREADINFO structure of the THREADINFO of interest.

- In co_IntPeekMessage(), update more often the timeLastRead timestamp
  whenever the current message queue has been read (but NOT timeLast!!
  That one will be updated ONLY WHEN a message is found!).

- In co_IntSendMessageTimeoutSingle() first check whether the window to
  which we send the message is being destroyed, before checking for
  queue hangs etc. Collapse the logic checks for queue hang and increase
  the hang timeout check to 4 times MSQ_HUNG (== 4 * 5 seconds) and
  display a debug trace.

6 months ago[INCLUDE] Safely handle odd & large lengths in ProbeAndCaptureUnicodeString.
Thomas Faber [Sun, 29 Dec 2019 14:10:37 +0000 (15:10 +0100)]
[INCLUDE] Safely handle odd & large lengths in ProbeAndCaptureUnicodeString.

6 months ago[WIN32K:NTUSER] Add missing parameter probe in NtUserGetClassInfo.
Thomas Faber [Sun, 29 Dec 2019 14:02:11 +0000 (15:02 +0100)]
[WIN32K:NTUSER] Add missing parameter probe in NtUserGetClassInfo.

6 months ago[SDK][INCLUDE] Formatting gdiplus headers (#2190)
Katayama Hirofumi MZ [Sun, 29 Dec 2019 14:21:05 +0000 (23:21 +0900)]
[SDK][INCLUDE] Formatting gdiplus headers (#2190)

Just code formatting. CORE-16585
$ clang-format -style=file -i sdk/include/psdk/gdiplus[a-z]*

6 months ago[NTOS:IO] Fix indentation. No code changes!
Eric Kohl [Sun, 29 Dec 2019 13:36:32 +0000 (14:36 +0100)]
[NTOS:IO] Fix indentation. No code changes!

6 months ago[NTOS:CM] Probe for write in NtLockProductActivationKeys.
Thomas Faber [Sun, 29 Dec 2019 09:33:38 +0000 (10:33 +0100)]
[NTOS:CM] Probe for write in NtLockProductActivationKeys.

This doesn't technically make a difference, but it's good practice.

6 months ago[NTOS:CM] Protect user memory access with SEH in NtQueryOpenSubKeys.
Thomas Faber [Sun, 29 Dec 2019 09:00:59 +0000 (10:00 +0100)]
[NTOS:CM] Protect user memory access with SEH in NtQueryOpenSubKeys.

6 months ago[SYSSETUP] Start the dnscache service after the network support has been installed
Eric Kohl [Sun, 29 Dec 2019 09:09:56 +0000 (10:09 +0100)]
[SYSSETUP] Start the dnscache service after the network support has been installed

CORE-16558

6 months ago[KERNEL32_APITEST] More power to ConsoleCP testcase (#2187)
Katayama Hirofumi MZ [Sun, 29 Dec 2019 04:12:39 +0000 (13:12 +0900)]
[KERNEL32_APITEST] More power to ConsoleCP testcase (#2187)

Strengthen kernel32_apitest ConsoleCP testcase for COMMON_LVB_LEADING_BYTE and COMMON_LVB_TRAILING_BYTE attributes. CORE-12451

6 months ago[MSPAINT] Revert LoadDIBFromFile for workaround (#2186)
Katayama Hirofumi MZ [Sat, 28 Dec 2019 13:30:21 +0000 (22:30 +0900)]
[MSPAINT] Revert LoadDIBFromFile for workaround (#2186)

CORE-16566

6 months ago[REACTOS] Exclude some modules from clang-format
Victor Perevertkin [Fri, 27 Dec 2019 16:47:07 +0000 (19:47 +0300)]
[REACTOS] Exclude some modules from clang-format

6 months ago[REACTOS] Introduce .clang-format file
Victor Perevertkin [Tue, 24 Dec 2019 10:55:30 +0000 (13:55 +0300)]
[REACTOS] Introduce .clang-format file
And set up a Travis job for checking formatting on PRs

6 months ago[CMAKE] Update baseaddresses with gcc 8.3 2183/head
Mark Jansen [Fri, 27 Dec 2019 18:52:21 +0000 (19:52 +0100)]
[CMAKE] Update baseaddresses with gcc 8.3

6 months ago[SDK] Add usage / help to gen_baseaddress.py
Mark Jansen [Fri, 27 Dec 2019 18:51:20 +0000 (19:51 +0100)]
[SDK] Add usage / help to gen_baseaddress.py

6 months agoChange whitespace so gcc 8.3 wont falsely complain about misleading indentation
Mark Jansen [Fri, 27 Dec 2019 18:50:23 +0000 (19:50 +0100)]
Change whitespace so gcc 8.3 wont falsely complain about misleading indentation

6 months ago[NTDLL:LDR] Add a print on illegal DLL relocation.
Thomas Faber [Fri, 27 Dec 2019 16:01:15 +0000 (17:01 +0100)]
[NTDLL:LDR] Add a print on illegal DLL relocation.

6 months agoThis was not meant to be committed!
Hermès Bélusca-Maïto [Thu, 26 Dec 2019 16:19:11 +0000 (17:19 +0100)]
This was not meant to be committed!

This reverts commit 5e14dbd6481f29f9f3b666e64b5bfd74ac887f73.

6 months ago[SETUPLIB] Register the \DosDevices\?: drive letter from installation time in the...
Hermès Bélusca-Maïto [Thu, 26 Dec 2019 16:16:04 +0000 (17:16 +0100)]
[SETUPLIB] Register the \DosDevices\?: drive letter from installation time in the correct SYSTEM\MountedDevices registry key, i.e. the one of the ReactOS being currently installed.
CORE-15575

However I now hit a separate bug (see the report) that still prevent the
drive letter to be correctly assigned at reboot.

6 months agoWIP kdbg work.
Hermès Bélusca-Maïto [Thu, 26 Dec 2019 12:53:50 +0000 (13:53 +0100)]
WIP kdbg work.

6 months ago[NTUSER] Fix caret display mistake (#2180)
Katayama Hirofumi MZ [Thu, 26 Dec 2019 10:08:01 +0000 (19:08 +0900)]
[NTUSER] Fix caret display mistake (#2180)

Take care of caret visibility. co_IntSetCaretPos function wrongly drawn the caret upon invisible caret. @Doug-Lyons did test this patch. CORE-15661

6 months ago[SDK][INCLUDE] Add Gdiplus::Image::~Image (#2174)
Katayama Hirofumi MZ [Thu, 26 Dec 2019 02:25:48 +0000 (11:25 +0900)]
[SDK][INCLUDE] Add Gdiplus::Image::~Image (#2174)

Gdiplus::Image had no dtor. CORE-16566

6 months ago[SHELL32] Fix MSVC warning warning C4390 by adding a bit more debug info.
Hermès Bélusca-Maïto [Wed, 25 Dec 2019 18:02:48 +0000 (19:02 +0100)]
[SHELL32] Fix MSVC warning warning C4390 by adding a bit more debug info.

6 months ago[CONSRV] Preparation for Asian console support (#2171)
Katayama Hirofumi MZ [Wed, 25 Dec 2019 14:35:01 +0000 (23:35 +0900)]
[CONSRV] Preparation for Asian console support (#2171)

Make preparation for console support of Chinese, Japanese and Korean (CJK) codepages. CORE-12451
- Add consrv/frontends/wcwidth.c.
- Add GuiPaintTextModeBufferCJK function.

6 months ago[WIN32SS][NTGDI][FREETYPE] Add ASSERT(pOS2); to FillTM (#2170)
Katayama Hirofumi MZ [Wed, 25 Dec 2019 09:27:44 +0000 (18:27 +0900)]
[WIN32SS][NTGDI][FREETYPE] Add ASSERT(pOS2); to FillTM (#2170)

I had used a static analyzer cppcheck to improve the code. This analyzer suggested NULL check for this code.

6 months ago[BOOTDATA][NTUSER] Fix some system parameters (#2162)
Katayama Hirofumi MZ [Wed, 25 Dec 2019 09:12:43 +0000 (18:12 +0900)]
[BOOTDATA][NTUSER] Fix some system parameters (#2162)

CORE-16547
- Add IconTitleWrap registry value.
- Modify gspv.dwMenuShowDelay initial value.
- Initialize gspv.bFastTaskSwitch as TRUE.

6 months ago[SHELL32_APITEST] Add Regression Test for ShellExecuteW(). (#2166)
Doug Lyons [Wed, 25 Dec 2019 08:15:39 +0000 (02:15 -0600)]
[SHELL32_APITEST] Add Regression Test for ShellExecuteW(). (#2166)

Add a testcase for ShellExecuteW regression. This test also shows the results of ShellExecuteW's return value. Addendum to PR#1854. CORE-12266

6 months ago[MSPAINT] Fix memory leak of SelectionModel (#2169)
Katayama Hirofumi MZ [Wed, 25 Dec 2019 06:46:29 +0000 (15:46 +0900)]
[MSPAINT] Fix memory leak of SelectionModel (#2169)

- Initialize all members in SelectionModel's ctor.
- Add SelectionModel's dtor.

6 months ago[ACPPAGE] Enlarge the "Edit the Compatibility Modes" button for some languages. CORE...
Hermès Bélusca-Maïto [Tue, 24 Dec 2019 20:22:04 +0000 (21:22 +0100)]
[ACPPAGE] Enlarge the "Edit the Compatibility Modes" button for some languages. CORE-16573

6 months ago[VIDEOPRT] Complete dispatch IOCTL with IO_VIDEO_INCREMENT priority boost.
Hermès Bélusca-Maïto [Tue, 24 Dec 2019 17:34:19 +0000 (18:34 +0100)]
[VIDEOPRT] Complete dispatch IOCTL with IO_VIDEO_INCREMENT priority boost.

6 months ago[SHELL32] Improve the displayed error on file copy / displacement + simplify code.
Hermès Bélusca-Maïto [Tue, 24 Dec 2019 17:28:05 +0000 (18:28 +0100)]
[SHELL32] Improve the displayed error on file copy / displacement + simplify code.

Also update the corresponding french translations, see CORE-16572.
And fix a regression introduced in 257e7307 that allowed again copying
or moving a directory into its sub-tree...

I also personally think that these checks must also be done within the
copy_files() / move_files() helpers instead?

6 months ago[SDK] Complete the list of DE_*** error codes for SHFileOperationA/W().
Hermès Bélusca-Maïto [Tue, 24 Dec 2019 17:04:55 +0000 (18:04 +0100)]
[SDK] Complete the list of DE_*** error codes for SHFileOperationA/W().

Documentation from https://docs.microsoft.com/en-us/windows/win32/api/shellapi/nf-shellapi-shfileoperationa

6 months ago[BLUE] Fix a visual regression introduced in bfd8a848: Don't touch INBV when resettin...
Hermès Bélusca-Maïto [Tue, 24 Dec 2019 15:13:10 +0000 (16:13 +0100)]
[BLUE] Fix a visual regression introduced in bfd8a848: Don't touch INBV when resetting internal screen state during driver loading.

6 months ago[VIDEOPRT][WIN32K] Use a Windows-compatible way of communicating the 'BaseVideo'...
Hermès Bélusca-Maïto [Tue, 24 Dec 2019 12:51:20 +0000 (13:51 +0100)]
[VIDEOPRT][WIN32K] Use a Windows-compatible way of communicating the 'BaseVideo' state from VIDEOPRT to WIN32K.

This is done by creating the volatile key
\Registry\Machine\System\CurrentControlSet\Control\GraphicsDrivers\BaseVideo .

Also cache during first initialization of VIDEOPRT the state of the boot
options BASEVIDEO and NOVESA, so that they can be readily retrieved later
(for example, in VideoPortIsNoVesa()).

6 months ago[WIN32SS][FREETYPE][NTGDI] Clarify calculation precedence for '&' and '?'
Katayama Hirofumi MZ [Tue, 24 Dec 2019 04:48:33 +0000 (13:48 +0900)]
[WIN32SS][FREETYPE][NTGDI] Clarify calculation precedence for '&' and '?'

6 months ago[MSPAINT] Use '%ld x %ld' rather than '%d x %d'
Katayama Hirofumi MZ [Tue, 24 Dec 2019 04:29:29 +0000 (13:29 +0900)]
[MSPAINT] Use '%ld x %ld' rather than '%d x %d'

6 months ago[MSPAINT] Add const to SelectionModel::SetSrcAndDestRectFromPoints parameters
Katayama Hirofumi MZ [Tue, 24 Dec 2019 04:08:35 +0000 (13:08 +0900)]
[MSPAINT] Add const to SelectionModel::SetSrcAndDestRectFromPoints parameters

6 months ago[BOOTVID] Correctly fix scrolling and printing when the scroll region contains the...
Hermès Bélusca-Maïto [Mon, 23 Dec 2019 16:58:57 +0000 (17:58 +0100)]
[BOOTVID] Correctly fix scrolling and printing when the scroll region contains the whole screen.

Addendum fixes to ca370b49 (r52239) and a965ca6b (r52409).

- Fix the comments to explain what is really happening.

- Fix the boundary calculations in VidDisplayString() so that we can
  correctly display a character in the very last column before going
  to the next line, and fix similarly the vertical boundary calculation.

- Port the fixes to the ARM code.

6 months ago[BOOTVID] Factor out the common code that is used before setting pixels.
Hermès Bélusca-Maïto [Sun, 22 Dec 2019 13:54:33 +0000 (14:54 +0100)]
[BOOTVID] Factor out the common code that is used before setting pixels.

6 months ago[BOOTVID] Code style fixes; Replace some 'do-while' loops by 'for' loops when it...
Hermès Bélusca-Maïto [Sun, 22 Dec 2019 13:48:57 +0000 (14:48 +0100)]
[BOOTVID] Code style fixes; Replace some 'do-while' loops by 'for' loops when it makes the code simpler.

+ Fix a potential bug in BitBlt() "4bpp blitting" in case Top == Bottom (i.e. Height == 0).

6 months ago[BOOTVID] Replace hardcoded screen and font size numbers by #define-d values.
Hermès Bélusca-Maïto [Sun, 22 Dec 2019 13:09:43 +0000 (14:09 +0100)]
[BOOTVID] Replace hardcoded screen and font size numbers by #define-d values.

6 months ago[FREELDR] Support setting up the EBP register on INT386() entry only if EBP != 0...
Hermès Bélusca-Maïto [Sun, 22 Dec 2019 12:53:17 +0000 (13:53 +0100)]
[FREELDR] Support setting up the EBP register on INT386() entry only if EBP != 0, otherwise use it only as output.

6 months ago[MSPAINT] Refactor updateCanvasAndScrollbars
Katayama Hirofumi MZ [Mon, 23 Dec 2019 19:30:25 +0000 (04:30 +0900)]
[MSPAINT] Refactor updateCanvasAndScrollbars

6 months ago[MSPAINT] Simplify choosecolor initialization
Katayama Hirofumi MZ [Mon, 23 Dec 2019 19:18:40 +0000 (04:18 +0900)]
[MSPAINT] Simplify choosecolor initialization

6 months ago[MSPAINT] Simplify lfTextFont initialization
Katayama Hirofumi MZ [Mon, 23 Dec 2019 19:16:44 +0000 (04:16 +0900)]
[MSPAINT] Simplify lfTextFont initialization

6 months ago[MSPAINT] Use hProgInstance for LoadImage
Katayama Hirofumi MZ [Mon, 23 Dec 2019 19:13:43 +0000 (04:13 +0900)]
[MSPAINT] Use hProgInstance for LoadImage

6 months ago[MSPAINT] Use correct type for custColors
Katayama Hirofumi MZ [Mon, 23 Dec 2019 19:11:33 +0000 (04:11 +0900)]
[MSPAINT] Use correct type for custColors

6 months ago[APISETS] Appease regression CORE-16563 for another function
Joachim Henze [Mon, 23 Dec 2019 14:07:06 +0000 (15:07 +0100)]
[APISETS] Appease regression CORE-16563 for another function

Symptom: "Far Manager main app unhandled exception when exiting"

The issue started to show with 0.4.13-dev-986-g
029b8f2cf9912b148f3e60be0472652f26a1adb9

Thanks to Mark Jansen for providing this 2nd patch.

I intend to port this back into 0.4.13RC.

6 months ago[APISETS] Appease regression CORE-16563
Joachim Henze [Mon, 23 Dec 2019 12:26:42 +0000 (13:26 +0100)]
[APISETS] Appease regression CORE-16563

Symptom: "Far Manager main app does not longer start up"

The issue started to show with 0.4.13-dev-986-g
029b8f2cf9912b148f3e60be0472652f26a1adb9

Thanks to Mark Jansen for providing this first patch.

I intend to port this back into 0.4.13RC,
but we are not completely done with this ticket.

6 months ago[SDK][ATL] Use CStringW in CImage
Katayama Hirofumi MZ [Mon, 23 Dec 2019 11:19:48 +0000 (20:19 +0900)]
[SDK][ATL] Use CStringW in CImage

6 months ago[SHIMGVW] Image Viewer transparent image fix (#2165)
Katayama Hirofumi MZ [Mon, 23 Dec 2019 10:43:20 +0000 (19:43 +0900)]
[SHIMGVW] Image Viewer transparent image fix (#2165)

If the pixel is transparent or translucent, fill the background with a checkered pattern. CORE-15287

6 months ago[UNICODE] Re-trial to fix Travis build
Katayama Hirofumi MZ [Mon, 23 Dec 2019 08:05:38 +0000 (17:05 +0900)]
[UNICODE] Re-trial to fix Travis build

6 months ago[UNICODE] Trial to fix Travis build
Katayama Hirofumi MZ [Mon, 23 Dec 2019 07:46:52 +0000 (16:46 +0900)]
[UNICODE] Trial to fix Travis build

6 months ago[UNICODE] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 22 Dec 2019 23:58:51 +0000 (00:58 +0100)]
[UNICODE] Sync with Wine Staging 4.18. CORE-16441

6 months ago[REG] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 22 Dec 2019 23:58:26 +0000 (00:58 +0100)]
[REG] Sync with Wine Staging 4.18. CORE-16441

6 months ago[CSCRIPT][WSCRIPT] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 22 Dec 2019 23:58:01 +0000 (00:58 +0100)]
[CSCRIPT][WSCRIPT] Sync with Wine Staging 4.18. CORE-16441

6 months ago[LOCALUI] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 22 Dec 2019 23:57:33 +0000 (00:57 +0100)]
[LOCALUI] Sync with Wine Staging 4.18. CORE-16441

6 months ago[INETCPL] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 22 Dec 2019 23:57:10 +0000 (00:57 +0100)]
[INETCPL] Sync with Wine Staging 4.18. CORE-16441

6 months ago[XMLLITE_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 22 Dec 2019 23:56:47 +0000 (00:56 +0100)]
[XMLLITE_WINETEST] Sync with Wine Staging 4.18. CORE-16441

6 months ago[XMLLITE] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 22 Dec 2019 23:56:19 +0000 (00:56 +0100)]
[XMLLITE] Sync with Wine Staging 4.18. CORE-16441

6 months ago[XINPUT1_3_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 22 Dec 2019 23:55:56 +0000 (00:55 +0100)]
[XINPUT1_3_WINETEST] Sync with Wine Staging 4.18. CORE-16441

6 months ago[WUAPI] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 22 Dec 2019 23:55:33 +0000 (00:55 +0100)]
[WUAPI] Sync with Wine Staging 4.18. CORE-16441

6 months ago[WTSAPI32_WINETEST] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 22 Dec 2019 23:55:08 +0000 (00:55 +0100)]
[WTSAPI32_WINETEST] Sync with Wine Staging 4.18. CORE-16441

6 months ago[WTSAPI32] Sync with Wine Staging 4.18. CORE-16441
Amine Khaldi [Sun, 22 Dec 2019 23:54:46 +0000 (00:54 +0100)]
[WTSAPI32] Sync with Wine Staging 4.18. CORE-16441

6 months ago[PSDK] Update wtsapi32.h. CORE-16441
Amine Khaldi [Sun, 22 Dec 2019 23:54:23 +0000 (00:54 +0100)]
[PSDK] Update wtsapi32.h. CORE-16441

6 months ago[CMAKE] Update baseaddresses 1922/head
Mark Jansen [Sat, 21 Sep 2019 20:06:12 +0000 (22:06 +0200)]
[CMAKE] Update baseaddresses

6 months ago[SDK] Update the gen_baseaddress script
Mark Jansen [Sat, 14 Dec 2019 17:28:03 +0000 (18:28 +0100)]
[SDK] Update the gen_baseaddress script
- Remove some debug leftovers
- Automatically write the correct file

6 months ago[GEN_BASEADDRESS] Fix the script for python 3 and update *_pe.dll entries,
Mark Jansen [Sat, 21 Sep 2019 20:03:49 +0000 (22:03 +0200)]
[GEN_BASEADDRESS] Fix the script for python 3 and update *_pe.dll entries,
as hinted by hermes

6 months ago[GDI32_APITEST] Fix GetGlyphOutline testcase (#2163)
Katayama Hirofumi MZ [Sun, 22 Dec 2019 13:59:22 +0000 (22:59 +0900)]
[GDI32_APITEST] Fix GetGlyphOutline testcase (#2163)

ROSTESTS-340

6 months ago[DNSAPI] Set proper record flags for query results and converted records
Eric Kohl [Sun, 22 Dec 2019 13:40:18 +0000 (14:40 +0100)]
[DNSAPI] Set proper record flags for query results and converted records

6 months ago[IDL] Add missing acf files
Eric Kohl [Sun, 22 Dec 2019 11:43:23 +0000 (12:43 +0100)]
[IDL] Add missing acf files

6 months ago[DNSAPI][DNSRSLVR] Implement DnsGetCacheDataTable()
Eric Kohl [Sun, 22 Dec 2019 10:21:04 +0000 (11:21 +0100)]
[DNSAPI][DNSRSLVR] Implement DnsGetCacheDataTable()

6 months ago[DNSRSLVR] Set proper flags for the hosts file entries
Eric Kohl [Sat, 21 Dec 2019 21:12:21 +0000 (22:12 +0100)]
[DNSRSLVR] Set proper flags for the hosts file entries

6 months ago[BOOTDATA][NTUSER] Fix GetSystemMetrics values (#2137)
Katayama Hirofumi MZ [Sat, 21 Dec 2019 13:38:49 +0000 (22:38 +0900)]
[BOOTDATA][NTUSER] Fix GetSystemMetrics values (#2137)

Fix user32!GetSystemMetrics values. CORE-16547
SM_MENUDROPALIGNMENT and SM_CXSMSIZE

6 months ago[ATL_APITEST] Fix CComVariant test
Mark Jansen [Sat, 14 Dec 2019 16:16:00 +0000 (17:16 +0100)]
[ATL_APITEST] Fix CComVariant test

6 months ago[APITESTS] Improve and fix tests
Timo Kreuzer [Mon, 9 Dec 2019 16:16:02 +0000 (17:16 +0100)]
[APITESTS] Improve and fix tests

6 months ago[PSDK] Add versionhelpers.h
Timo Kreuzer [Sat, 7 Dec 2019 10:33:10 +0000 (11:33 +0100)]
[PSDK] Add versionhelpers.h

6 months ago[PSDK] Add extern "C" for c++ code in mmddk.h
Timo Kreuzer [Fri, 29 Nov 2019 07:14:56 +0000 (08:14 +0100)]
[PSDK] Add extern "C" for c++ code in mmddk.h

6 months ago[GDI32_APITEST] Remove duplicated test in Test_CreateBitmap
Timo Kreuzer [Tue, 19 Sep 2017 09:17:12 +0000 (11:17 +0200)]
[GDI32_APITEST] Remove duplicated test in Test_CreateBitmap

6 months ago[NTDLL_APITEST] Remove duplicated test for RtlInitilizeBitMap
Timo Kreuzer [Tue, 26 Dec 2017 15:10:16 +0000 (16:10 +0100)]
[NTDLL_APITEST] Remove duplicated test for RtlInitilizeBitMap

6 months ago[APITESTS] Add PROJECT(ApiTests) to get a separate VS solution file
Timo Kreuzer [Tue, 26 Dec 2017 19:08:24 +0000 (20:08 +0100)]
[APITESTS] Add PROJECT(ApiTests) to get a separate VS solution file

6 months ago[TESTS] Instead of entirely skipping tests with ros_skip_flaky, only disable counting...
Timo Kreuzer [Wed, 4 Dec 2019 15:20:18 +0000 (16:20 +0100)]
[TESTS] Instead of entirely skipping tests with ros_skip_flaky, only disable counting errors

6 months ago[USER32] Add ICO_ExtractIconExW RetPtr NULL check (#2149)
Katayama Hirofumi MZ [Mon, 16 Dec 2019 11:37:23 +0000 (20:37 +0900)]
[USER32] Add ICO_ExtractIconExW RetPtr NULL check (#2149)

CORE-16557

6 months ago[USBOHCI] Use KeQueryTickCount for timeouts instead of KeQuerySystemTime
Victor Perevertkin [Mon, 16 Dec 2019 00:21:28 +0000 (03:21 +0300)]
[USBOHCI] Use KeQueryTickCount for timeouts instead of KeQuerySystemTime

6 months ago[KS] Use KeQueryTickCount for timeouts instead of KeQuerySystemTime
Victor Perevertkin [Sun, 15 Dec 2019 23:28:41 +0000 (02:28 +0300)]
[KS] Use KeQueryTickCount for timeouts instead of KeQuerySystemTime
This avoids overflow when system time is changed between calls (for example, via NTP)

6 months ago[NETAPI32][WKSSVC] Implement NetGetJoinInformation using the workstation service
Eric Kohl [Sun, 15 Dec 2019 18:53:23 +0000 (19:53 +0100)]
[NETAPI32][WKSSVC] Implement NetGetJoinInformation using the workstation service

6 months ago[WIDL] Fix type offset calculation for toplevel pointers to non-basetypes.
Eric Kohl [Sun, 15 Dec 2019 17:21:11 +0000 (18:21 +0100)]
[WIDL] Fix type offset calculation for toplevel pointers to non-basetypes.

WIDL used the wrong type information when a pointer to a non-basetype is used as a functions parameter. For example, a 'wchar_t**' would be treated as a 'wchar_t*'.

This patch will be sent upstream.

6 months ago[BLUE] Improve initialization and interfacing with INBV.
Hermès Bélusca-Maïto [Sun, 15 Dec 2019 02:37:52 +0000 (03:37 +0100)]
[BLUE] Improve initialization and interfacing with INBV.
CORE-15901

This fixes display reset transition when an external module acquired
INBV ownership and then released it, similarly to what was done in
commit 0ad65796 for VIDEOPRT.

For this a backup screenbuffer is used to store the contents of the
screen just before an INBV screen acquire transition, and these contents
are restored when it is detected that INBV ownership has been released.
Also, the active text font associated with the active console code-page
is restored, as well as the cursor state and shape.

In addition, any user of BLUE.SYS is now required to explicitly issue
a new IOCTL_CONSOLE_RESET_SCREEN to either enable or disable the screen.
This allows avoiding nasty unwanted screen mode switches when a handle
to the \Device\BlueScreen device is opened but no screen mode switch was
actually wanted - This "fixes" this annoyance on ReactOS and Windows,
when these are running witha VGA-compatible video driver and one wants
to look at properties of the \Device\BlueScreen device using
Sysinternals' WinObj.

Following this, we don't need to check anymore for explicit INBV
ownership by issuing calls to InbvCheckDisplayOwnership(), but instead
we check whether the screen has beeen manually enabled using the
aforementioned IOCTL. This partly supersedes commit 8b553a4b, and allows
fixing the second bug, namely that if we start ReactOS without the
/NOGUIBOOT option (and thus, INBV is active during boot), USETUP would
not show up anything because BLUE.SYS wouldn't display anything on screen.
See CORE-15901.

[USETUP][CONSRV] Call IOCTL_CONSOLE_RESET_SCREEN to tell BlueScreen device to enable the screen.

6 months ago[BLUE] Use ExFreePoolWithTag().
Hermès Bélusca-Maïto [Sun, 15 Dec 2019 01:41:42 +0000 (02:41 +0100)]
[BLUE] Use ExFreePoolWithTag().

6 months ago[BLUE] Improve includes.
Hermès Bélusca-Maïto [Sat, 14 Dec 2019 17:22:49 +0000 (18:22 +0100)]
[BLUE] Improve includes.