reactos.git
3 years ago[XDK] Even the DBG_UNREFERENCED_PARAMETER() should use (void)P. Addendum to 46ca069e.
Hermès Bélusca-Maïto [Mon, 18 Jan 2021 21:23:24 +0000 (22:23 +0100)]
[XDK] Even the DBG_UNREFERENCED_PARAMETER() should use (void)P. Addendum to 46ca069e.

3 years ago[XDK] Remove UNREFERENCE_LOCAL_VARIABLE macro
Victor Perevertkin [Mon, 18 Jan 2021 21:15:02 +0000 (00:15 +0300)]
[XDK] Remove UNREFERENCE_LOCAL_VARIABLE macro

Change UNREFERENCED_PARAMETER to (VOID)P to support const parameters

3 years ago[HDAUDBUS] Return failure from HDA_SendVerbs on a timeout
Victor Perevertkin [Mon, 18 Jan 2021 01:02:32 +0000 (04:02 +0300)]
[HDAUDBUS] Return failure from HDA_SendVerbs on a timeout

Addendum to 48b3c61b5d6cddc20f322c40ddcc987f2a75ff1d

3 years ago[INF] Add default security settings for ReactOS Server
Eric Kohl [Sun, 17 Jan 2021 14:12:18 +0000 (15:12 +0100)]
[INF] Add default security settings for ReactOS Server

3 years ago[SYSSETUP][INF] Add audit events setup
Eric Kohl [Sun, 17 Jan 2021 10:46:34 +0000 (11:46 +0100)]
[SYSSETUP][INF] Add audit events setup

3 years ago[INF] Fix typos in defltwk.inf
Eric Kohl [Sun, 17 Jan 2021 10:32:40 +0000 (11:32 +0100)]
[INF] Fix typos in defltwk.inf

3 years ago[SCSIPORT] Use pointer alignment for MiniPortDeviceExtension
Victor Perevertkin [Sat, 16 Jan 2021 22:46:35 +0000 (01:46 +0300)]
[SCSIPORT] Use pointer alignment for MiniPortDeviceExtension

This seems logical and some miniport drivers (uniata) actually rely on
that.

CORE-17424

3 years ago[INF] Add 'Group Membership' section, missing Guest user rights and translated strings
Eric Kohl [Sat, 16 Jan 2021 14:55:41 +0000 (15:55 +0100)]
[INF] Add 'Group Membership' section, missing Guest user rights and translated strings

3 years ago[INF] Add Russian (ru-RU) translation to defltwk.inf
Stanislav Motylkov [Sat, 16 Jan 2021 12:24:52 +0000 (15:24 +0300)]
[INF] Add Russian (ru-RU) translation to defltwk.inf

Addendum to baf9ff45.

3 years ago[SYSETUP][INF] Add name support for account privilege setup
Eric Kohl [Sat, 16 Jan 2021 12:18:08 +0000 (13:18 +0100)]
[SYSETUP][INF] Add name support for account privilege setup

3 years ago[CMAKE] Fix MSVC configuring
Mark Jansen [Thu, 7 Jan 2021 21:46:50 +0000 (22:46 +0100)]
[CMAKE] Fix MSVC configuring

3 years ago[CMD] Improve Indonesian (id-ID) translation (#3417) 3417/head
Reinhart Previano Koentjoro [Wed, 6 Jan 2021 01:53:51 +0000 (08:53 +0700)]
[CMD] Improve Indonesian (id-ID) translation (#3417)

3 years ago[RAPPS] Fix pinned certificate issuer check
Stanislav Motylkov [Mon, 11 Jan 2021 16:16:16 +0000 (19:16 +0300)]
[RAPPS] Fix pinned certificate issuer check

3 years ago[NDK] "Reserved" member in SYSTEM_PROCESSOR_INFORMATION is "MaximumProcessors" for...
Alex Henrie [Sat, 9 Jan 2021 22:15:36 +0000 (15:15 -0700)]
[NDK] "Reserved" member in SYSTEM_PROCESSOR_INFORMATION is "MaximumProcessors" for Windows 8+ (#3421)

Co-authored-by: Hermès BÉLUSCA - MAÏTO <hermes.belusca-maito@reactos.org>
3 years ago[CMAKE] Fix host-tools path for MSVC IDE
Mark Jansen [Thu, 7 Jan 2021 22:48:01 +0000 (23:48 +0100)]
[CMAKE] Fix host-tools path for MSVC IDE

3 years ago[PSDK] Whoopsie... Fix "PPPARTITION_INFORMATION_GPT" typo (extra 'P'), caught by...
Hermès Bélusca-Maïto [Fri, 8 Jan 2021 15:37:28 +0000 (16:37 +0100)]
[PSDK] Whoopsie... Fix "PPPARTITION_INFORMATION_GPT" typo (extra 'P'), caught by BieHDC :)
Addendum to 8a6ed591.

3 years ago[PARTINFO] Fix GCC build on GitHub Actions
Stanislav Motylkov [Fri, 8 Jan 2021 13:36:48 +0000 (16:36 +0300)]
[PARTINFO] Fix GCC build on GitHub Actions

Addendum to c087487b.

3 years ago[PARTINFO] Further improvements to the Partition Information Tool.
Hermès Bélusca-Maïto [Fri, 8 Jan 2021 00:26:37 +0000 (01:26 +0100)]
[PARTINFO] Further improvements to the Partition Information Tool.

- Migrate all the IOCTL calls to NtDeviceIoControlFile() calls in
  order to know the actual returned data and Status values.

- Add support for displaying information retrieved from:
  * IOCTL_DISK_GET_DRIVE_GEOMETRY_EX ,
  * IOCTL_DISK_GET_PARTITION_INFO and IOCTL_DISK_GET_PARTITION_INFO_EX
    for "partition 0" (aka. the whole disk).

- Compactify the drive layouts after getting these from
  IOCTL_DISK_GET_DRIVE_LAYOUT(_EX).

- Fix the HexDump() when displaying a buffer whose size is not a
  multiple of 16.

3 years ago[PSDK] Add missing PPARTITION_INFORMATION_GPT, PPARTITION_INFORMATION_MBR, PPARTITION...
Hermès Bélusca-Maïto [Thu, 7 Jan 2021 20:15:04 +0000 (21:15 +0100)]
[PSDK] Add missing PPARTITION_INFORMATION_GPT, PPARTITION_INFORMATION_MBR, PPARTITION_INFORMATION_EX definitions.

Addendum to commit 7ae3d530.

3 years ago[CRT/x64] Make _fpreset/_logb public, as they are exported using the .spec file
Hervé Poussineau [Wed, 6 Jan 2021 20:00:09 +0000 (21:00 +0100)]
[CRT/x64] Make _fpreset/_logb public, as they are exported using the .spec file

3 years ago[CRT/x64] Disable MSVCRT__setjmp function, which references non-existent function...
Hervé Poussineau [Wed, 6 Jan 2021 15:36:48 +0000 (16:36 +0100)]
[CRT/x64] Disable MSVCRT__setjmp function, which references non-existent function __wine_setjmpex

_setjmp is already defined in sdk/lib/crt/setjmp/amd64/setjmp.s

3 years ago[ASM x64] Change ; by /* */ for comments
Hervé Poussineau [Wed, 6 Jan 2021 21:50:22 +0000 (22:50 +0100)]
[ASM x64] Change ; by /* */ for comments

Syntax with semi-colon is not supported by gas.

3 years ago[FRAMEDYN] Fix an x64 export (probably wrong copy/paste from x86 version)
Hervé Poussineau [Wed, 6 Jan 2021 19:52:15 +0000 (20:52 +0100)]
[FRAMEDYN] Fix an x64 export (probably wrong copy/paste from x86 version)

3 years ago[TRANSLATION] Fix format for Indonesian translation (#3418)
Mas Ahmad Muhammad [Thu, 7 Jan 2021 17:47:10 +0000 (00:47 +0700)]
[TRANSLATION] Fix format for Indonesian translation (#3418)

- USETUP: Fix alignment on translation.
- SHELL32: Update and fix translation.

3 years ago[CMD] Consume only one line for the version header CORE-17420
Joachim Henze [Wed, 6 Jan 2021 00:34:54 +0000 (01:34 +0100)]
[CMD] Consume only one line for the version header CORE-17420

Necessary because our version string got longer during 0.4.15-dev'ing.
We added the target platform.

3 years ago[SHELL32] Improve German (de-DE) translation
Joachim Henze [Tue, 5 Jan 2021 23:14:32 +0000 (00:14 +0100)]
[SHELL32] Improve German (de-DE) translation

3 years ago[WIN32SS][COMCTL32] Commit Flip_Fix_9.patch
Joachim Henze [Tue, 5 Jan 2021 19:30:40 +0000 (20:30 +0100)]
[WIN32SS][COMCTL32] Commit Flip_Fix_9.patch

flip_fix_9.patch fixes:
CORE-16984 " 'SPINA Thrulg' / 'SPINA Thyr' / 'Sim Thyr' have images flipped"
CORE-17194 "StretchDIBits test" isn't work correctly"
           "Output of 'Project 3 Test'"
CORE-14701 "DVDStyler 3.0.4 transparent toolbars"
CORE-14701 "DVDStyler 3.0.4 erroneously black around icons of welcome-dlg"
CORE-14671 "'Peazip' shows icons in buttons and menubar vertically flipped"
           "Double Commander shoes icons flipped in buttons, menubar, listview and the treeview"
CORE-13273 "Welcome to Lazarus" icon shows flipped
CORE-13026 "'CudaText app' icon shows flipped"

Not all of those are duplicates, although they appear to be at first glance.
It affects different controls and some of those tickets do have different 'guilty revs' than others.

The patch does consist of 3 parts:

1.) win32ss/gdi/ntgdi/dibobj.c
This one is the most clean part of it, that addresses most of the flipping issues now.

2.) The hack in comctl32.h redefining the version:
We used that in the past to appease some, but not all of the issues listed above.
But it does hide additional issues, e.g. in DvDStyler, therefore we seem to still need that appeasement even today.
Most likely it would make sense to aim to avoid this part in the future.
part 2.) was committed as first appeasement on its own already into
0.4.14-RC-24-g 198b61e
0.4.13-RC-7-g 67211fa
0.4.12-RC-5-g 8449527
0.4.11-RC-16-g b906163
0.4.10-RC-7-g f1e80fe
0.4.9-RC-34-g 9d758ae

3.) toolbar.c change
That part fixes at least the toolbar case for DvDStyler
without relying on the comctl32.h hack any longer,
but it was still not enough to completely get rid of part 2.) yet.

Many thanks to all contributors: 'I_kill_Bugs', Doug Lyons and also 'Julenuri' for testing.

The patch gave nice testbot results:
KVM:  https://reactos.org/testman/compare.php?ids=75704,75714
VBox: https://reactos.org/testman/compare.php?ids=75705,75715

and we also created a summary of manual test-results:
https://jira.reactos.org/browse/CORE-17415?focusedCommentId=126668&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-126668

If you read this comment via git blame and your goal is to get rid of the hack in comctl32.h, I would highly recommend
to redo the tests of that testing table, and if that is asked too much, then please test at least the following cases:
CORE-14701 "DVDStyler 3.0.4 transparent toolbars"
CORE-14701 "DVDStyler 3.0.4 erroneously black around icons of welcome-dlg"
           "DVDStyler 3.0.4 erroneously black/transparent within comboboxes of properties of VMGM menu"
and try to add what might be needed to fix them, and double-check again:
           "DoubleCommander optionsDlg the most complex testcase, contains flip-prone icons in treeview, listview, menubar, buttons, statics". Only some of its flipped icons were impacted by the comctl32.h change before.

3 years ago[SDK] Fix _SEH2_GetExceptionInformation() macro in dummy SEH, to return the right...
Hervé Poussineau [Tue, 5 Jan 2021 18:22:37 +0000 (19:22 +0100)]
[SDK] Fix _SEH2_GetExceptionInformation() macro in dummy SEH, to return the right structure

3 years ago[NTOSKRNL] Correctly use SEH2 macros (fixes GCC x64 compilation)
Hervé Poussineau [Tue, 5 Jan 2021 18:22:21 +0000 (19:22 +0100)]
[NTOSKRNL] Correctly use SEH2 macros (fixes GCC x64 compilation)

3 years ago[CRT] Fix hack for GCC x64, when CRT is linking against RosBE libstdc++
Hervé Poussineau [Tue, 5 Jan 2021 17:33:52 +0000 (18:33 +0100)]
[CRT] Fix hack for GCC x64, when CRT is linking against RosBE libstdc++

3 years ago[KEYBOARD] Add Swiss French keyboard layout (#3408) 3408/head
David Abelenda [Wed, 30 Dec 2020 20:19:22 +0000 (21:19 +0100)]
[KEYBOARD] Add Swiss French keyboard layout (#3408)

3 years ago[INF] Add missing Polish (pl-PL) translation to machine.inf (#3413)
Piotr Hetnarowicz [Tue, 5 Jan 2021 14:06:18 +0000 (15:06 +0100)]
[INF] Add missing Polish (pl-PL) translation to machine.inf (#3413)

3 years ago[ACPI] Fix compilation with GCC x64
Hervé Poussineau [Tue, 29 Dec 2020 17:12:30 +0000 (18:12 +0100)]
[ACPI] Fix compilation with GCC x64

3 years ago[CRT] Use correct prototypes for GCC x64
Hervé Poussineau [Tue, 29 Dec 2020 18:08:38 +0000 (19:08 +0100)]
[CRT] Use correct prototypes for GCC x64

3 years ago[CRT] Remove bad define of _int128 in GCC x64
Hervé Poussineau [Tue, 29 Dec 2020 17:11:24 +0000 (18:11 +0100)]
[CRT] Remove bad define of _int128 in GCC x64

3 years ago[INCLUDE/WINE] Always define interlocked_* aliases
Hervé Poussineau [Tue, 29 Dec 2020 17:22:06 +0000 (18:22 +0100)]
[INCLUDE/WINE] Always define interlocked_* aliases

This was already true for MSVC and GCC x86, make it true for GCC x64.

3 years ago[SDK] Fix hack for GCC, so that it works on GCC x86 and GCC x64
Hervé Poussineau [Tue, 29 Dec 2020 18:15:21 +0000 (19:15 +0100)]
[SDK] Fix hack for GCC, so that it works on GCC x86 and GCC x64

3 years ago[ASM:X64] Remove XSAVE_ALIGN variable (as already done on x86)
Hervé Poussineau [Tue, 29 Dec 2020 18:10:30 +0000 (19:10 +0100)]
[ASM:X64] Remove XSAVE_ALIGN variable (as already done on x86)

3 years ago[CMAKE] Use -Wno-error when compiling with GCC x64
Hervé Poussineau [Tue, 29 Dec 2020 17:14:30 +0000 (18:14 +0100)]
[CMAKE] Use -Wno-error when compiling with GCC x64

3 years ago[PSDK] Add more safe integer routines for LONGLONGs
Jérôme Gardou [Tue, 29 Dec 2020 15:40:03 +0000 (16:40 +0100)]
[PSDK] Add more safe integer routines for LONGLONGs

3 years ago[CMAKE] Fix GCC -fstack-protector usage
Jérôme Gardou [Thu, 31 Dec 2020 16:56:39 +0000 (17:56 +0100)]
[CMAKE] Fix GCC -fstack-protector usage

3 years ago[MEDIA] Update Winesync doc
Jérôme Gardou [Tue, 8 Dec 2020 20:07:07 +0000 (21:07 +0100)]
[MEDIA] Update Winesync doc

3 years ago[WINESYNC]: wininet is now in sync with wine-staging wine-6.0-rc1
Jérôme Gardou [Tue, 8 Dec 2020 17:34:46 +0000 (18:34 +0100)]
[WINESYNC]: wininet is now in sync with wine-staging wine-6.0-rc1

3 years ago[WINESYNC] wininet: Replacing header fields should fail if they do not exist yet.
winesync [Tue, 8 Dec 2020 17:31:47 +0000 (18:31 +0100)]
[WINESYNC] wininet: Replacing header fields should fail if they do not exist yet.

A lot of details are not properly covered by tests yet and were
marked with FIXME comments. The implementation was written in such
a way that it behaves identical to the old code in such situations.

wine-staging patch by Michael Müller <michael@fds-team.de>

3 years ago[WINESYNC] wininet: Strip filename if no path is set in cookie.
winesync [Tue, 8 Dec 2020 17:22:04 +0000 (18:22 +0100)]
[WINESYNC] wininet: Strip filename if no path is set in cookie.

The order of the stored cookies doesn't match in /testC, so
be a bit less strict in the test.

wine-staging patch by Michael Müller <michael@fds-team.de>

3 years ago[WINESYNC] wininet/tests: Check cookie behaviour when overriding host.
winesync [Tue, 8 Dec 2020 17:22:04 +0000 (18:22 +0100)]
[WINESYNC] wininet/tests: Check cookie behaviour when overriding host.

wine-staging patch by Michael Müller <michael@fds-team.de>

3 years ago[WINESYNC] wininet/tests: Test auth credential reusage with host override.
winesync [Tue, 8 Dec 2020 17:22:03 +0000 (18:22 +0100)]
[WINESYNC] wininet/tests: Test auth credential reusage with host override.

wine-staging patch by Michael Müller <michael@fds-team.de>

3 years ago[WINESYNC] wininet/tests: Add more tests for cookies.
winesync [Tue, 8 Dec 2020 17:22:03 +0000 (18:22 +0100)]
[WINESYNC] wininet/tests: Add more tests for cookies.

wine-staging patch by Michael Müller <michael@fds-team.de>

3 years ago[WINESYNC] wininet: Use wide-char string literals.
winesync [Tue, 8 Dec 2020 17:22:00 +0000 (18:22 +0100)]
[WINESYNC] wininet: Use wide-char string literals.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id e88abf0dc4ae7ec6b2fd21130be09dadc478b9fc by Michael Stefaniuc <mstefani@winehq.org>

3 years ago[WINESYNC] wininet: Use wide-char string literals in struct initialization.
winesync [Tue, 8 Dec 2020 17:17:51 +0000 (18:17 +0100)]
[WINESYNC] wininet: Use wide-char string literals in struct initialization.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 085f3738a86e6fa0e12b3f59fa4a9ca86826bb60 by Michael Stefaniuc <mstefani@winehq.org>

3 years ago[WINESYNC] wininet: Correctly return error status from InternetSetFilePointer() stub.
winesync [Tue, 8 Dec 2020 17:17:50 +0000 (18:17 +0100)]
[WINESYNC] wininet: Correctly return error status from InternetSetFilePointer() stub.

Fixes Freestyle 2: Street Basketball update check failure.

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 67295a7844b94ccbfce85dbee22a76f12c9f5b36 by Paul Gofman <pgofman@codeweavers.com>

3 years ago[WINESYNC] wininet: Prevent use after free in logging.
winesync [Tue, 8 Dec 2020 17:17:50 +0000 (18:17 +0100)]
[WINESYNC] wininet: Prevent use after free in logging.

Make logs which show values that are unmapped by cache_container_unlock_index()
go before it's called.

Signed-off-by: Jan Sikorski <jsikorski@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id bcdb58cc7959afd5fa35ab039e6564934888b4c0 by Jan Sikorski <jsikorski@codeweavers.com>

3 years ago[WINESYNC] wininet: Implement INTERNET_OPTION_SECURITY_CERTIFICATE flag for InternetQ...
winesync [Tue, 8 Dec 2020 17:11:23 +0000 (18:11 +0100)]
[WINESYNC] wininet: Implement INTERNET_OPTION_SECURITY_CERTIFICATE flag for InternetQueryOption.

Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id ef88a70fa775f3e7a26d8f1618f32ee94bb9ea05 by Daniel Lehman <dlehman25@gmail.com>

3 years ago[WINESYNC] Properly handle the case when the file doesn't exist on ReactOS side
Jérôme Gardou [Tue, 8 Dec 2020 17:10:27 +0000 (18:10 +0100)]
[WINESYNC] Properly handle the case when the file doesn't exist on ReactOS side

3 years ago[WINESYNC] winapi_test: Restore horizontal alignment of macro defines.
winesync [Tue, 8 Dec 2020 17:01:56 +0000 (18:01 +0100)]
[WINESYNC] winapi_test: Restore horizontal alignment of macro defines.

Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 99c0ab2ea1f912ee699e307a77f26822dfef7b06 by Serge Gautherie <winehq-git_serge_180711@gautherie.fr>

3 years ago[WINESYNC] winapi_test: Horizontally align TEST_TYPE_SIGNED() parameter.
winesync [Tue, 8 Dec 2020 17:01:30 +0000 (18:01 +0100)]
[WINESYNC] winapi_test: Horizontally align TEST_TYPE_SIGNED() parameter.

Signed-off-by: Serge Gautherie <reactos-git_serge_171003@gautherie.fr>
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id c26d7470cc5b2dabf9c8b91d2b313eb0041bebae by Serge Gautherie <winehq-git_serge_180711@gautherie.fr>

3 years ago[WINESYNC] wininet: Move INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT handling to...
winesync [Tue, 8 Dec 2020 17:01:29 +0000 (18:01 +0100)]
[WINESYNC] wininet: Move INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT handling to helper.

Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id a41cb33afaee0adc6fdf3b8c69b9fb545dc15a96 by Daniel Lehman <dlehman25@gmail.com>

3 years ago[WINESYNC] wininet: Handle empty expires for cookie setting.
winesync [Tue, 8 Dec 2020 17:01:29 +0000 (18:01 +0100)]
[WINESYNC] wininet: Handle empty expires for cookie setting.

Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id c06e00ee6a15fd77faf66b28edac5e84ad30b550 by Jactry Zeng <jzeng@codeweavers.com>

3 years ago[WINESYNC] wininet: Get rid of user buffer in create_cookie_url().
winesync [Tue, 8 Dec 2020 17:01:28 +0000 (18:01 +0100)]
[WINESYNC] wininet: Get rid of user buffer in create_cookie_url().

Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id d2a1c906dc4979eeabe256f77a58d67290da372d by Serge Gautherie <winehq-git_serge_180711@gautherie.fr>

3 years ago[WINESYNC] wininet/tests: Update for new WineHQ certificate.
winesync [Tue, 8 Dec 2020 17:01:26 +0000 (18:01 +0100)]
[WINESYNC] wininet/tests: Update for new WineHQ certificate.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id ccd6b205fa99360e7437f1c5bc63e0075f8e6760 by Alexandre Julliard <julliard@winehq.org>

3 years ago[WINESYNC] wininet: Use stricmp() instead of _strnicmp(..., -1).
winesync [Tue, 8 Dec 2020 17:01:21 +0000 (18:01 +0100)]
[WINESYNC] wininet: Use stricmp() instead of _strnicmp(..., -1).

Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id de5d147de8b3d9c2f65bcb6d5646320ef1d92e58 by Paul Gofman <gofmanp@gmail.com>

3 years ago[WINESYNC] wininet: Use _ltow instead of sprintf for port number in InternetCreateUrl.
winesync [Tue, 8 Dec 2020 17:01:20 +0000 (18:01 +0100)]
[WINESYNC] wininet: Use _ltow instead of sprintf for port number in InternetCreateUrl.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 9fe900532eb310d114c04d15a8d0b986ec831552 by Jacek Caban <jacek@codeweavers.com>

3 years ago[WINESYNC] tools: Remove 0x0501 API versions forced by winapi_test.
winesync [Tue, 8 Dec 2020 17:00:54 +0000 (18:00 +0100)]
[WINESYNC] tools: Remove 0x0501 API versions forced by winapi_test.

Signed-off-by: Serge Gautherie <winehq-git_serge_180711@gautherie.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id aa384d36429110970aa72acbc5043158de6aff03 by Serge Gautherie <winehq-git_serge_180711@gautherie.fr>

3 years ago[WINESYNC] wininet: Add stub for INTERNET_OPTION_IGNORE_OFFLINE.
winesync [Tue, 8 Dec 2020 17:00:54 +0000 (18:00 +0100)]
[WINESYNC] wininet: Add stub for INTERNET_OPTION_IGNORE_OFFLINE.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48739
Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 6fcd1378b2516165468bcbd71263c1b18c6be491 by Roman Pišl <rpisl@seznam.cz>

3 years ago[WINESYNC] wininet/tests: Fix test failures on Windows XP.
winesync [Tue, 8 Dec 2020 17:00:50 +0000 (18:00 +0100)]
[WINESYNC] wininet/tests: Fix test failures on Windows XP.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 4c640f24c9901ccaf8706de31e22149130c57be6 by Hans Leidekker <hans@codeweavers.com>

3 years ago[WINESYNC] wininet/tests: Make a check for available data less strict.
winesync [Tue, 8 Dec 2020 17:00:50 +0000 (18:00 +0100)]
[WINESYNC] wininet/tests: Make a check for available data less strict.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 3a22407396bfe18ef9bdab69ef192be10306142e by Hans Leidekker <hans@codeweavers.com>

3 years ago[WINESYNC] wininet/tests: Fix some test failures with Windows 10.
winesync [Tue, 8 Dec 2020 17:00:50 +0000 (18:00 +0100)]
[WINESYNC] wininet/tests: Fix some test failures with Windows 10.

Windows 10 1607+ no longer validates a NULL window handle, so remove that test.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 6b839a0f85236aac2cc794d5d586f1ba371866b1 by Zebediah Figura <z.figura12@gmail.com>

3 years ago[WINESYNC] wininet/tests: Simplify test_InternetErrorDlg().
winesync [Tue, 8 Dec 2020 17:00:50 +0000 (18:00 +0100)]
[WINESYNC] wininet/tests: Simplify test_InternetErrorDlg().

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id af9d246952b7aaf8f557ec1b85cbb4bce1245227 by Zebediah Figura <z.figura12@gmail.com>

3 years ago[WINESYNC] wininet/tests: Don't test that the URL cache is used for persistent cookies.
winesync [Tue, 8 Dec 2020 17:00:50 +0000 (18:00 +0100)]
[WINESYNC] wininet/tests: Don't test that the URL cache is used for persistent cookies.

This seems to be an implementation detail, which is no longer true in Windows
1709+.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 4928c623dc7f3b7f2355cf61c9f97784ff2380fe by Zebediah Figura <z.figura12@gmail.com>

3 years ago[WINESYNC] wininet: Don't set default gopher protocol in InternetCrackUrlW.
winesync [Tue, 8 Dec 2020 17:00:49 +0000 (18:00 +0100)]
[WINESYNC] wininet: Don't set default gopher protocol in InternetCrackUrlW.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 4335be346271072f440419b9234883aef187d857 by Jacek Caban <jacek@codeweavers.com>

3 years ago[WINESYNC] wininet: Add missing schemes to url_schemes.
winesync [Tue, 8 Dec 2020 17:00:49 +0000 (18:00 +0100)]
[WINESYNC] wininet: Add missing schemes to url_schemes.

Fixes res URL scheme handling.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=31399
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 64cb9425da43271109bc1df8df4aa32132f257ae by Jacek Caban <jacek@codeweavers.com>

3 years ago[WINESYNC] wininet: Fix the spelling of a comment.
winesync [Tue, 8 Dec 2020 17:00:49 +0000 (18:00 +0100)]
[WINESYNC] wininet: Fix the spelling of a comment.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 84069679a407cf0b5b8d185b5d98e9afdb933c45 by Francois Gouget <fgouget@free.fr>

3 years ago[WINESYNC] wininet: Handle http_proxy variable entirely in Unicode.
winesync [Tue, 8 Dec 2020 17:00:48 +0000 (18:00 +0100)]
[WINESYNC] wininet: Handle http_proxy variable entirely in Unicode.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id cadad89d106186a9d0377607096a58677496ec50 by Alexandre Julliard <julliard@winehq.org>

3 years ago[WINESYNC] wininet: Build with msvcrt.
winesync [Tue, 8 Dec 2020 17:00:24 +0000 (18:00 +0100)]
[WINESYNC] wininet: Build with msvcrt.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 3c31cc5836026b45a40818ec874bbbcc4d6ad982 by Alexandre Julliard <julliard@winehq.org>

3 years ago[WINESYNC] wininet: Import zlib inflate code.
winesync [Tue, 8 Dec 2020 16:58:35 +0000 (17:58 +0100)]
[WINESYNC] wininet: Import zlib inflate code.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id cee281a036cf5e9017d5a25e0cbe75c2bcd2c146 by Alexandre Julliard <julliard@winehq.org>

3 years ago[WINESYNC] wininet: Add support for detecting the proxy config URL.
winesync [Tue, 8 Dec 2020 16:50:33 +0000 (17:50 +0100)]
[WINESYNC] wininet: Add support for detecting the proxy config URL.

Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id a4357043ff9aa14f086207c239f0fc29c0a24b83 by Hans Leidekker <hans@codeweavers.com>

3 years ago[WINESYNC] wininet/tests: Skip some FTP tests when no connection can be made.
winesync [Tue, 8 Dec 2020 16:46:15 +0000 (17:46 +0100)]
[WINESYNC] wininet/tests: Skip some FTP tests when no connection can be made.

Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 237d5636271a1a78b02a0eb7feaab7dfb9dfed57 by Sven Baars <sven.wine@gmail.com>

3 years ago[WINESYNC] wininet/tests: Fix some test failures on Windows.
winesync [Tue, 8 Dec 2020 16:46:15 +0000 (17:46 +0100)]
[WINESYNC] wininet/tests: Fix some test failures on Windows.

Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
wine commit id 8b2d3857136c50d56c706a7f880fc605b325e334 by Sven Baars <sven.wine@gmail.com>

3 years ago[WINESYNC]: revert wine-staging patchset for wininet
Jérôme Gardou [Tue, 8 Dec 2020 16:45:41 +0000 (17:45 +0100)]
[WINESYNC]: revert wine-staging patchset for wininet

3 years ago[WINESYNC] Add wininet entry
Jérôme Gardou [Tue, 8 Dec 2020 16:28:07 +0000 (17:28 +0100)]
[WINESYNC] Add wininet entry

3 years ago[UNIATA] Fix one of INF sections that made device unrecognized
Stanislav Motylkov [Mon, 4 Jan 2021 23:58:04 +0000 (02:58 +0300)]
[UNIATA] Fix one of INF sections that made device unrecognized

In fact, UniATA todo.txt file mentions it implicitly:
- 159.fix bug with invalid INF section under XP+    (43e2)

CORE-17398

3 years ago[USETUP] Partial revert of 8b94515b for the ESCAPE key in the UpgradeRepairPage(...
Hermès Bélusca-Maïto [Mon, 4 Jan 2021 15:11:40 +0000 (16:11 +0100)]
[USETUP] Partial revert of 8b94515b for the ESCAPE key in the UpgradeRepairPage() screen.

The AsciiChar of the ESCAPE key should be 0x1B instead of zero; however
this is not the case due to the hacked keyboard layout currently being
used. This will be fixed later ...

3 years ago[I8042PRT][RAMDISK] Fix usage of the RegistryPath in DriverEntry
Victor Perevertkin [Mon, 4 Jan 2021 14:19:12 +0000 (17:19 +0300)]
[I8042PRT][RAMDISK] Fix usage of the RegistryPath in DriverEntry

We can't rely on it being zero-terminated, so ensure that it's
duplicated first before usage in RtlQueryRegistryValues

3 years ago[USETUP] Do not put ImagePath to the service registry entry 3396/head
Victor Perevertkin [Tue, 22 Dec 2020 18:00:38 +0000 (21:00 +0300)]
[USETUP] Do not put ImagePath to the service registry entry

It is supposed to be there already

3 years ago[NTOS:IO] Start loading drivers from the disk only after SystemRoot is initialized
Victor Perevertkin [Tue, 22 Dec 2020 17:52:20 +0000 (20:52 +0300)]
[NTOS:IO] Start loading drivers from the disk only after SystemRoot is initialized

Add another PnPBootDriversInitialized variable to indicate a point where
both disk subsystem and SystemRoot symlink are initialized, and use it
in a PiCallDriverAddDevice call.

3 years ago[NTOS:IO][NTOS:PNP] Implement PiCallDriverAddDevice
Victor Perevertkin [Thu, 26 Nov 2020 01:39:38 +0000 (04:39 +0300)]
[NTOS:IO][NTOS:PNP] Implement PiCallDriverAddDevice

- Move the driver's name obtaining logic into the IopGetDriverNames
  function
- Create a new PiCallDriverAddDevice instead of PipCallDriverAddDevice
  and move it to pnpmgr/devaction.c file. Move around all its internal
  helpers too
- Support a proper Windows-compatible driver loading order for a PDO
  (lower filters, main service, upper filters, etc.)
- Set a correct Problem for the DeviceNode, in case of an error during
  driver loading
- Check the Start Type for all drivers before loading
- Do not try to load drivers during the early boot stage when there is
  no disk subsystem initialized

3 years ago[NTOS:IO] Refactoring of the driver initialization code (2)
Victor Perevertkin [Wed, 25 Nov 2020 00:18:31 +0000 (03:18 +0300)]
[NTOS:IO] Refactoring of the driver initialization code (2)

- Do not hold the IopDriverLoadResource while trying to reference a
  driver object (but still acquire it when we actually need to load a
  driver)
- Change IopLoadDriver and IopInitializeDriverModule to use registry
  handle instead of a service name string and/or full registry path
- Do not try to reference a driver object inside IopLoadDriver. It's
  supposed to be done before the function call

3 years ago[NTOS:IO] Refactor IopLoadUnloadDriver
Victor Perevertkin [Fri, 20 Nov 2020 15:51:33 +0000 (18:51 +0300)]
[NTOS:IO] Refactor IopLoadUnloadDriver

- Split IopLoadUnloadDriver into IopLoadDriver and calling DriverUnload
- Schedule the worker for (un)loading driver in a separate routine
  (IopDoLoadUnloadDriver) this allows IopLoadDriver to be called
  separately (if we are sure that we're in the system process)

3 years ago[NTOS:IO] Refactoring of the driver initialization code
Victor Perevertkin [Fri, 20 Nov 2020 14:18:43 +0000 (17:18 +0300)]
[NTOS:IO] Refactoring of the driver initialization code

- Remove IopCreateDriver and put its code into IoCreateDriver and
  IopInitializeDriverModule. It's hard to extract a meaningful common
  part from it
- Refactor IopInitializeDriverModule. Extend and put the DriverName
  generation logic into it. Now this function frees the ModuleObject in
  case of failure and returns STATUS_FAILED_DRIVER_ENTRY in case of
  DriverInit failure (will be used later)

3 years ago[CMAKE] Use consolidated registry.inf for generating SETUPREG.HIV
Victor Perevertkin [Fri, 20 Nov 2020 14:16:08 +0000 (17:16 +0300)]
[CMAKE] Use consolidated registry.inf for generating SETUPREG.HIV
This way all registry data generated by add_registry_inf goes there.
SETUPREG.HIV increased by about 12KiB after that

3 years ago[NTOS:PNP][NTOS:IO] Do not create a device object + node on every driver load
Victor Perevertkin [Sun, 15 Nov 2020 14:33:42 +0000 (17:33 +0300)]
[NTOS:PNP][NTOS:IO] Do not create a device object + node on every driver load

- Remove the usage of IopCreateDeviceNode and change it to
  PipAllocateDeviceNode where required

3 years ago[HIVESYS] Add CDROM device class
Victor Perevertkin [Tue, 22 Dec 2020 18:00:00 +0000 (21:00 +0300)]
[HIVESYS] Add CDROM device class

3 years ago[I8042PRT] Add service registry entry for the driver
Victor Perevertkin [Tue, 22 Dec 2020 17:55:26 +0000 (20:55 +0300)]
[I8042PRT] Add service registry entry for the driver

3 years ago[UNIATA] Reduce the stack usage in AtapiDmaInit
Victor Perevertkin [Mon, 4 Jan 2021 13:43:23 +0000 (16:43 +0300)]
[UNIATA] Reduce the stack usage in AtapiDmaInit

3 years ago[SHELL32] Improve Polish (pl-PL) translation (#3410)
Piotr Hetnarowicz [Sun, 3 Jan 2021 15:24:18 +0000 (16:24 +0100)]
[SHELL32] Improve Polish (pl-PL) translation (#3410)

3 years ago[COMDLG32] Improve Polish (pl-PL) translation (#3411)
Piotr Hetnarowicz [Sun, 3 Jan 2021 12:54:10 +0000 (13:54 +0100)]
[COMDLG32] Improve Polish (pl-PL) translation (#3411)

3 years ago[SAMSRV] Add 'Print Operators', 'Performance Monitor Users' and 'Performance Log...
Eric Kohl [Sun, 3 Jan 2021 05:17:48 +0000 (06:17 +0100)]
[SAMSRV] Add 'Print Operators', 'Performance Monitor Users' and 'Performance Log Users' aliases to servers

3 years ago[CMAKE] Replace CMAKE_AR with CMAKE_LINKER /LIB for msvc
Victor Perevertkin [Sun, 3 Jan 2021 01:06:51 +0000 (04:06 +0300)]
[CMAKE] Replace CMAKE_AR with CMAKE_LINKER /LIB for msvc

Render the command to a variable for dealing with quotes properly

Addendum to ca1b2ada343a7ca2edd556f013ed55622318039d and b96e88894a4d55f5e8b94430deeb0f086151b24f

3 years ago[CMAKE] Replace DIVISION_SLASH unicode character with SOLIDUS
Victor Perevertkin [Sun, 3 Jan 2021 00:46:12 +0000 (03:46 +0300)]
[CMAKE] Replace DIVISION_SLASH unicode character with SOLIDUS

This fixes the build on some machines. In addition, replace
the hardcoded "LINK /LIB" with ${CMAKE_AR}

Addendum to b96e88894a4d55f5e8b94430deeb0f086151b24f

3 years ago[USETUP] Minor improvements when initializing the console.
Hermès Bélusca-Maïto [Sat, 2 Jan 2021 23:10:03 +0000 (00:10 +0100)]
[USETUP] Minor improvements when initializing the console.

- Use NT values for uninitialized handle values.
- Cache the STD_INPUT_HANDLE.
- Free the console if GetConsoleScreenBufferInfo() fails in CONSOLE_Init().