reactos.git
3 years ago[NTOS:PNP] Send GUID_DEVICE_ENUMERATED event for root devices pnpfix
Stanislav Motylkov [Fri, 29 Jan 2021 17:24:08 +0000 (20:24 +0300)]
[NTOS:PNP] Send GUID_DEVICE_ENUMERATED event for root devices

According to Victor, Windows Server 2003 does not do this, however
this fixes the regression with least changes in the kernel.

Also initialize device description registry value, as it's required by
New device installer (newdev.dll) to install driver from INF file.

Also fix the date in DriverVer section.

CORE-17212

3 years ago[RTL] Do not mess with critical section lock when there is no reason to.
Jérôme Gardou [Fri, 29 Jan 2021 17:15:17 +0000 (18:15 +0100)]
[RTL] Do not mess with critical section lock when there is no reason to.

 - When process is shutting down.
 - When the caller is so drunk that they leave twice the pub altough they entered it only once.

3 years ago[RTL] Fix heap usage flags
Jérôme Gardou [Thu, 28 Jan 2021 17:42:59 +0000 (18:42 +0100)]
[RTL] Fix heap usage flags

 - Use Heap->ForceFlags where needed
 - Use passed-in flags instead of the heap flags in some places
 - Do not recursively acquire the heap lock

3 years ago[SDK x64] Fix MSVC x64 compilation after 5d7dd4a3b5cd7927f110925f30ced6171249762f
Hervé Poussineau [Fri, 29 Jan 2021 07:34:56 +0000 (08:34 +0100)]
[SDK x64] Fix MSVC x64 compilation after 5d7dd4a3b5cd7927f110925f30ced6171249762f

3 years ago[FREELDR] Fix MSVC x64 compilation after d2f73877b7695aa0a51c3b403dd659f458d5aa90
Hervé Poussineau [Fri, 29 Jan 2021 06:45:13 +0000 (07:45 +0100)]
[FREELDR] Fix MSVC x64 compilation after d2f73877b7695aa0a51c3b403dd659f458d5aa90

3 years ago[FREELDR/x64] Change syntax to be compatible with GAS x64
Hervé Poussineau [Thu, 28 Jan 2021 21:57:08 +0000 (22:57 +0100)]
[FREELDR/x64] Change syntax to be compatible with GAS x64

3 years ago[FREELDR/x64] Merge x64 and x86 versions, to fix compilation with GAS x64
Hervé Poussineau [Thu, 28 Jan 2021 21:03:08 +0000 (22:03 +0100)]
[FREELDR/x64] Merge x64 and x86 versions, to fix compilation with GAS x64

Upper bits of rcx are already checked to be 0. So, we can only take care of lower bits.
This also generates smaller code.

3 years ago[KDVBOX] Fix compilation with GAS x64
Hervé Poussineau [Thu, 28 Jan 2021 21:38:39 +0000 (22:38 +0100)]
[KDVBOX] Fix compilation with GAS x64

3 years ago[NTOSKRNL] Fix link with GCC x64
Hervé Poussineau [Thu, 28 Jan 2021 21:48:16 +0000 (22:48 +0100)]
[NTOSKRNL] Fix link with GCC x64

KeLowerIrql/KeRaiseIrqlToDpcLevel/KfRaiseIrql are defined as FORCEINLINE in ntoskrnl/ke/amd64/irql.c
Use KxLowerIrql/KxRaiseIrqlToDpcLevel/KxRaiseIrql instead, which call their respective Ke*/Kf* counterparts.

3 years ago[FREELDR] In PE loader, use cache to not load twice the start of the file
Hervé Poussineau [Wed, 27 Jan 2021 22:41:49 +0000 (23:41 +0100)]
[FREELDR] In PE loader, use cache to not load twice the start of the file

This is especially important in PXE boot, where a seek backwards requires reloading the file from start.

3 years ago[NTOS:KDBG] Support KDBG on x64
Hervé Poussineau [Sat, 9 Jan 2021 19:32:54 +0000 (20:32 +0100)]
[NTOS:KDBG] Support KDBG on x64

3 years ago[PSEH] When using GCC x64, use native SEH support instead of PSEH
Hervé Poussineau [Sat, 9 Jan 2021 19:32:14 +0000 (20:32 +0100)]
[PSEH] When using GCC x64, use native SEH support instead of PSEH

3 years ago[ASM x64] Prevent having same label multiple times in ntoskrnl/ke/amd64/trap.S
Hervé Poussineau [Sun, 10 Jan 2021 06:35:19 +0000 (07:35 +0100)]
[ASM x64] Prevent having same label multiple times in ntoskrnl/ke/amd64/trap.S

3 years ago[ASM x64] Make UNIMPLEMENTED macro self-suffisant
Hervé Poussineau [Sun, 10 Jan 2021 06:46:25 +0000 (07:46 +0100)]
[ASM x64] Make UNIMPLEMENTED macro self-suffisant

This fixes link errors with MsgUnimplemented not defined on binaries not linking to CRT.

3 years ago[ASM x64] Fix usage of macro .allocstack
Hervé Poussineau [Sat, 9 Jan 2021 18:33:20 +0000 (19:33 +0100)]
[ASM x64] Fix usage of macro .allocstack

.allocstack only accepts one 'size' parameter."

3 years ago[GITHUB] Fix PATH setting for Flex and Bison 3435/head
Victor Perevertkin [Thu, 28 Jan 2021 03:51:54 +0000 (06:51 +0300)]
[GITHUB] Fix PATH setting for Flex and Bison

3 years ago[CMAKE] Generate Flex and Bison files at build time
Victor Perevertkin [Thu, 28 Jan 2021 03:36:00 +0000 (06:36 +0300)]
[CMAKE] Generate Flex and Bison files at build time

We have Flex and Bison distributed along with RosBE 2.2 so this should
not be a problem

3 years ago[NTOS:IO][NTOS:PNP] Add PiActionAddBootDevices device action 3387/head
Victor Perevertkin [Wed, 13 Jan 2021 00:23:01 +0000 (03:23 +0300)]
[NTOS:IO][NTOS:PNP] Add PiActionAddBootDevices device action

During the boot process, it makes possible to initalize the driver's
devices right after the driver is loaded. Moreover, this way one can be
sure that all critical devices are initialized before the
IopMarkBootPartition call (because we explicitly call the driver's
AddDevice routine now, after each driver is loaded)

CORE-7826

3 years ago[PARTMGR] Remove hacks as PnP manager should not send bogus IRPs anymore
Victor Perevertkin [Sun, 10 Jan 2021 01:43:44 +0000 (04:43 +0300)]
[PARTMGR] Remove hacks as PnP manager should not send bogus IRPs anymore

3 years ago[USBHUB] Add a delay hack for USB boot
Victor Perevertkin [Sun, 20 Dec 2020 15:23:43 +0000 (18:23 +0300)]
[USBHUB] Add a delay hack for USB boot

CORE-7826

3 years ago[SETUPLIB] Add a workaround for installing from USB drives
Victor Perevertkin [Sun, 20 Dec 2020 15:21:27 +0000 (18:21 +0300)]
[SETUPLIB] Add a workaround for installing from USB drives

3 years ago[NTOS:PNP] Implement NT5.2-like DEVICE_NODE state management
Victor Perevertkin [Thu, 10 Dec 2020 00:19:31 +0000 (03:19 +0300)]
[NTOS:PNP] Implement NT5.2-like DEVICE_NODE state management

- Use DeviceNode->State field and its values, instead of
  DeviceNode->Flags for tracking current node state
- Change DNF_* flags to the ones compatible with Windows XP+
- Simplify state changes for device nodes and encapsulate all the logic
  inside the PiDevNodeStateMachine routine. This makes the ground for
  future improvements in the device removal sequence and
  resource management
- Now values inside DeviceNode->State and ->Flags are compatible with
  the windbg !devnode macro and can be tracked using it
- BUGFIX: fixed cases where IRP_MN_START_DEVICE or
  IRP_MN_QUERY_DEVICE_RELATIONS may be sent to a device after a
  IRP_MN_REMOVE_DEVICE

CORE-7826

3 years ago[NTOS:IO] Add more enumeration requests during the boot process
Victor Perevertkin [Wed, 13 Jan 2021 01:13:22 +0000 (04:13 +0300)]
[NTOS:IO] Add more enumeration requests during the boot process

This is to ensure that all needed devices are initialized during the
early boot

CORE-7826

3 years ago[SETUPAPI] Set the CONFIGFLAG_FAILEDINSTALL flag in SetupDiInstallDevice
Victor Perevertkin [Thu, 10 Dec 2020 00:13:27 +0000 (03:13 +0300)]
[SETUPAPI] Set the CONFIGFLAG_FAILEDINSTALL flag in SetupDiInstallDevice

The code follows the comment now. The fix may be wrong, but DNF_DISABLED
is a kernel flag and should definitely not be used in a dll.

3 years ago[BOOTDATA] Don't remove critical device DB for the setup
Victor Perevertkin [Thu, 10 Dec 2020 00:03:54 +0000 (03:03 +0300)]
[BOOTDATA] Don't remove critical device DB for the setup

We need the CDDB during the setup, so don't delete it for now.
The "proper" way for filling it is yet to be decided, Windows does that
from the data in txtsetup.sif file. Our final approach may be different

3 years ago[DEVMGR] Remove no longer needed hack CORE-5643
Victor Perevertkin [Wed, 9 Dec 2020 22:20:27 +0000 (01:20 +0300)]
[DEVMGR] Remove no longer needed hack CORE-5643

This reverts commit f9739601b380b9bd8ab43d8fa87c940c65517d94.

3 years ago[SYSSETUP][INF] Add lockout setup to the security profile
Eric Kohl [Sun, 24 Jan 2021 20:35:33 +0000 (21:35 +0100)]
[SYSSETUP][INF] Add lockout setup to the security profile

3 years ago[SYSSETUP][INF] Add password setup to the security profile
Eric Kohl [Sun, 24 Jan 2021 14:28:23 +0000 (15:28 +0100)]
[SYSSETUP][INF] Add password setup to the security profile

3 years ago[NTOS:MM] Fix compilation for amd64 port.
Jérôme Gardou [Fri, 22 Jan 2021 09:34:20 +0000 (10:34 +0100)]
[NTOS:MM] Fix compilation for amd64 port.

Addendum to 0919324772d288d2ae54df460b97c4577cf7e812

3 years ago[NTOS:MM] Get rid of "compatibility layer" for hyper space mappings
Jérôme Gardou [Tue, 29 Dec 2020 18:15:04 +0000 (19:15 +0100)]
[NTOS:MM] Get rid of "compatibility layer" for hyper space mappings

Let's call that a bug layer instead.

3 years ago[NTOS:MM] Allow "creating" a PDE in legacy Mm for foreign process
Jérôme Gardou [Fri, 22 Jan 2021 08:31:34 +0000 (09:31 +0100)]
[NTOS:MM] Allow "creating" a PDE in legacy Mm for foreign process

3 years ago[MSVCRTEX] Do not include _CI* math functions
Jérôme Gardou [Thu, 21 Jan 2021 08:43:04 +0000 (09:43 +0100)]
[MSVCRTEX] Do not include _CI* math functions

They are exported by msvcrt
CORE-17423

3 years ago[SYSDM] Addendum CORE-17429
Joachim Henze [Wed, 20 Jan 2021 02:42:39 +0000 (03:42 +0100)]
[SYSDM] Addendum CORE-17429

This define in resource.h is also not needed anymore.

3 years ago[SYSDM] Improve de-DE Uptime format translation
Joachim Henze [Wed, 20 Jan 2021 02:16:07 +0000 (03:16 +0100)]
[SYSDM] Improve de-DE Uptime format translation

I tried initially to use Tag(e) but that does look too
crowded with the stuff after it. Since Windows is also not
consistent with the () for singular vs plural, I did chose
always plural "Tage".
Most often people will see "0 Tage" anyway, and that fits well.

3 years ago[SYSDM] Fix version string cutoff CORE-17429
Joachim Henze [Wed, 20 Jan 2021 01:45:44 +0000 (02:45 +0100)]
[SYSDM] Fix version string cutoff CORE-17429

The version string cutoff started to happen when we switched from SVN
with its short revision number to git with the longer hashes.
0.4.7-dev-502-gc2c66af was the first git-only rev (2017-Oct-03)

This brings the dialogs layout closer to XP.
Also fixes some other truncations for specific languages.
And unifies the touched text controls sizes for all languages.

The credits have been moved to readme.txt where they are more present and
we can avoid having to groom all languages files each time we want to add
a new dev (and sysdm.cpl to grow each time). Less maintenance.

0.4.15-dev-1629-g9aa73da gcc 8.4.0 dbg RosBE2.2.1 I18N=all binary size
sysdm.cpl before: 925.696bytes  after: 705.024bytes
readme.txt still fits into a single NTFS cluster afterwards with 3702bytes

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>