Commit Graph

1285 Commits

Author SHA1 Message Date
Giovanni Mascellani c825fc45be tzres: Take timezone display names from Unicode CLDR database.
The name from CLDR is made available both in the Display and MUI_Display
fields, reproducing the Windows behavior.

Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 23:19:22 +02:00
Giovanni Mascellani 3e370f761a tzres: Regenerate TZ data from de facto standard sources.
The sources used to regenerate data are:

 * The Olson database, tracing all world time zone changes since 1970,
   widely used under Unix systems and dedicated to the public domain.

 * Unicode CLDR's windowsZones.xml, used by Windows itself as source
   for naming timezones and providing the correspondance with the
   Olson zones. It is licensed under a MIT-styled license.

Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-07 23:19:22 +02:00
Rémi Bernon 61e217c40a winexinput.sys: Introduce a new winexinput.sys driver.
Currently only acting as a pass-through driver, matching any device with
a WINEBUS\WINE_COMP_XINPUT compatible id.

This creates new WINEXINPUT\ bus and the gamepad PDO on it, adding the
&IG_ device id suffix to the original device id (replacing an eventual
&MI_ suffix), and removes the need to set it on winebus.sys side.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-02 21:57:38 +02:00
Martin Storsjö 29922c2276 loader: Add support for ARM linux in the preloader.
Since 28fe84da45, the main exe image
must be mappable at its desired base address, which essentially
requires the preloader.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51539
Signed-off-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-05 23:11:23 +02:00
Rémi Bernon 23d2d0c5a7 wine.inf: Consistently quote shell open and print commands.
Sometimes the program path is quoted, sometimes it isn't, same for the
file argument. This can cause issues when there's spaces in the path.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-07-07 16:33:49 +02:00
Huw Davies 87e43b8eaf loader: Add tag ids to ensure nsiproxy.sys starts before ndis.sys.
This will be needed as ndis.sys depends on iphlpapi which will
in turn depend on nsi.

Note that this isn't quite how the tags are supposed to work.  The
tags should be ordered according to the load group's order list.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-29 19:55:22 +02:00
Huw Davies 393e953b31 nsiproxy: Create the nsi device.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-29 19:55:22 +02:00
Zhiyi Zhang 062ef9f68e light.msstyles: Add Classic Blue visual style.
Classic Blue is a visual style that uses blue as the main color and doesn't have bitmaps for UI
controls.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-23 18:48:32 +02:00
Francois Gouget a1bae9f288 make_unicode: Add support for the 720 codepage (Arabic, Farsi and Urdu).
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-06-08 22:28:44 +02:00
Shawn M. Chapla 2a667e28ba wine.inf: Don't use DDE for winebrowser by default.
Signed-off-by: Shawn M. Chapla <schapla@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-05-18 21:25:00 +02:00
Hans Leidekker 8a9c3b1e54 secur32: Load the MSV1_0 provider instead of using builtin support for NTLM.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Alexandre Julliard 2801d6341c makefiles: Install Unix binaries into an architecture-specific directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-28 11:40:39 +02:00
Zebediah Figura 03dcb36979 wine.inf: Install the protocol database at etc\protocol.
Unlike Unix, on Windows the file name is not plural.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-16 22:39:46 +02:00
Alexandre Julliard a1bba82861 wine.inf: Don't install 64-bit only programs in syswow64.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-16 12:07:51 +02:00
Alexandre Julliard a7a1e2643a wine.inf: Fix the Tcpip database path.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50318
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-15 17:30:50 +02:00
Alexandre Julliard 50c40b913a ws2_32: Install network database files.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=12076
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-15 17:30:50 +02:00
Alexandre Julliard ee13ab0f02 wine.inf: Also install start.exe in syswow64.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50867
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-11 12:47:44 +02:00
Alexandre Julliard b28c8b69b3 wine.inf: Store extensions in lower case in PATHEXT.
This is less likely to require a case-insensitive search.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-29 18:42:46 +02:00
Alexandre Julliard fcb37c9c12 wine.inf: Always install start.exe in system32.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50867
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-29 12:22:55 +02:00
Alexandre Julliard 36cec2c7df wine.inf: Fix 64-bit driver installation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-25 12:48:48 +01:00
Alexandre Julliard 47d8d5659f wine.inf: Put wineps.drv in the printer driver directory.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 22:04:01 +01:00
Alexandre Julliard 8cd5c1bc37 wine.inf: Specify the full module path for the source of copied files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 12:53:47 +01:00
Alexandre Julliard 5d3d73f803 setupapi: Support arbitrary wildcards in fake dlls creation.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-18 12:53:47 +01:00
Sanghoon Park fd3a640206 make_unicode: Add support for codepage 20949 (Korean Wansung).
Signed-off-by: Sanghoon Park <esifea1908@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-11 13:13:35 +01:00
Alexandre Julliard 9443a7397d ntdll: Predefine the SystemRoot and SystemDrive variables.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-04 21:43:26 +01:00
Brendan Shanks 307f5d00f1 loader: On Mac, reserve an area starting at 4GB to force Rosetta's allocations higher.
On Apple Silicon, Rosetta allocates memory starting at 0x100000000
(the 4GB line) before the preloader runs.
The .NET 3.5 installer and DirectX Jun2010 redistributable both contain
non-relocatable EXEs with that base address, which fail to run.

The workaround is to create an empty linker section at that address,
which is mapped by the kernel before Rosetta runs and forces Rosetta's
allocations higher in memory.
The linker section runs from 0x100000000-0x114000000.
Rosetta's allocations are ~132MB, and should end below 0x120000000.

This is not an exact science: a non-relocatable EXE with base address
between 0x114000000-0x120000000 will fail to run. If one is discovered,
the section size will need to be changed.

Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:16:48 +01:00
Brendan Shanks 720611e28e loader: On Mac, move the top-down allocations area down to avoid Rosetta regions.
On Apple Silicon, Rosetta's shared cache starts at 0x7ffe00000000 and
the runtime is mapped below that.
Put the top-down allocation area below the runtime with plenty of room
to spare.

Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-29 10:16:42 +01:00
Henri Verbeet e389f11137 wine.inf: Store Dynamic DST data for Asia/Tehran as "relative" dates.
I.e., the "Nth <weekday> of <month>" form. This form is much less convenient
for timezones where the DST change happens on specific dates, but some
applications distribute old versions of Mono that don't bother checking the
"wYear" fields of the SYSTEMTIME fields in the TIME_ZONE_INFORMATION structure
returned by GetTimeZoneInformation(), and instead always convert the presumed
"relative" dates to "absolute" dates. Unsurprisingly, the resulting dates are
invalid, and these applications then end up throwing
"System.NotSupportedException: Can't get timezone name." when run in such a
timezone, typically early during startup.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-15 22:09:21 +01:00
Alexandre Julliard 31062ee534 wine.inf: Create a default win.ini file.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-02 15:38:25 +01:00
Brendan Shanks ba8638e1a4 wine.inf: Add UrlAssociations for FTP/HTTP/HTTPS.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50094
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-25 21:39:18 +01:00
Alexandre Julliard e06ae69d2c mscms: Install the sRGB color profile.
Based on a patch by Alex Henrie.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=37396
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-11 21:14:29 +01:00
Alexandre Julliard 7caa127746 wineusb.sys: Move wineusb.inf into the module resources.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-11 11:04:40 +01:00
Alexandre Julliard 6aa7704cf6 winehid.sys: Move winehid.inf into the module resources.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-11 11:04:25 +01:00
Alexandre Julliard 4650dff5c4 winebus.sys: Move winebus.inf into the module resources.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-11 11:04:06 +01:00
Daniel Lehman da46adac99 wine.inf: Add Dynamic DST for Australian time zones.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-09 10:45:42 +01:00
Daniel Lehman 4c72ae9477 tzres: Add Aus Central W. Standard Time Zone.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-09 10:45:37 +01:00
Daniel Lehman 8a3f1569dd tzres: Add Lord Howe Standard Time Zone.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-09 10:44:47 +01:00
Daniel Lehman 3bf9092590 wine.inf: Update Pacific SA Time Zone.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-06 12:02:21 +01:00
Daniel Lehman 908fcc3d7a wine.inf: Update Caucasus Time Zone.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-06 12:02:16 +01:00
Daniel Lehman ec9ed7052e wine.inf: Update Azerbaijan Time Zone.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-06 12:02:05 +01:00
Daniel Lehman b5d39469b8 tzres: Add Saint Pierre Standard Time Zone.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-30 10:45:13 +01:00
Daniel Lehman af5c7c3356 tzres: Add Magallanes Standard Time Zone.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-30 10:44:41 +01:00
Daniel Lehman a7634295d6 tzres: Add Tocantins Standard Time Zone.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-29 22:23:08 +01:00
Daniel Lehman 0bc752f30d wine.inf: Fix SA Eastern Standard Time Zone info.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-29 11:05:09 +01:00
Zebediah Figura cb8d58598b wine.inf: IsInstalled is a DWORD value.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50016
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 10:58:14 +02:00
Daniel Lehman 0adafcd62c tzres: Add Eastern Standard Time (Mexico) Zone.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-13 11:32:55 +02:00
Nikolay Sivov 1ca4536f7e nls: Build codepage data for CP708.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-09 17:22:56 +02:00
Daniel Lehman 3d268f1fdc tzres: Add Cuba Time Zone.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-07 11:24:12 +02:00
Daniel Lehman a486680a2b tzres: Add North Korea Time Zone.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-05 12:33:31 +02:00
Dmitry Timoshkov 7e7e81f0c6 wevtsvc: Add EventLog service stub.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-09-28 17:03:57 +02:00