Alexandre Julliard
40e1000fc5
kernelbase: Use the correct machine type for ARM.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-03 21:54:44 +01:00
Alexandre Julliard
ff6a3433c5
ntdll: Store the locales in Wine-specific environment variables.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-28 11:30:37 +01:00
Alexandre Julliard
0d173e5710
ntdll: Store the Unix codepage in a Wine-specific environment variable.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-28 11:24:54 +01:00
Akihiro Sagawa
d6d99e59e3
ntdll: ObjectName should also be used in NtUnloadKey.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-17 22:21:13 +01:00
Erich E. Hoover
50903a1504
kernelbase: Reimplement GetVolumeInformation on top of GetVolumeInformationByHandle.
...
Signed-off-by: Erich E. Hoover <erich.e.hoover@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-17 11:44:05 +01:00
Alexandre Julliard
4dacf60a6a
kernelbase: Don't use wine/server.h.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-16 23:01:37 +01:00
Alexandre Julliard
bd0a3c1a59
kernelbase: Implement GetMappedFileNameA/W.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-11 11:02:26 +01:00
Alexandre Julliard
a66c383709
kernelbase: Also export the non-K32 names for the psapi functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-11 10:16:04 +01:00
Alexandre Julliard
3bb5381587
server: Return the NT name for the ProcessImageFileName query.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-09 18:15:03 +01:00
Zebediah Figura
f51e44c180
kernelbase: Map LANG_SERBIAN_NEUTRAL in ConvertDefaultLocale().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-04 15:41:01 +01:00
Jacek Caban
1d36532d22
kernelbase: Support FileEndOfFileInfo in SetFileInformationByHandle.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-03 21:01:54 +01:00
Alexandre Julliard
7999af8244
ntdll: Implement NtWaitForDebugEvent().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-01 16:48:09 +01:00
Alexandre Julliard
c8f5cced47
ntdll: Implement NtDebugContinue().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-01 11:22:23 +01:00
Alexandre Julliard
46b84e7a83
ntdll: Implement NtDebugActiveProcess() and NtRemoveProcessDebug().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-01 11:09:01 +01:00
Alexandre Julliard
11e6f1007c
ntdll: Pass a debug object in the new_process request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-01 11:08:44 +01:00
Alexandre Julliard
7250f9a95b
ntdll: Add some more section information data.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-01-22 18:33:23 +01:00
Martin Storsjo
a1955bfb6e
ntdll: Implement a no-op __chkstk for arm64.
...
Signed-off-by: Martin Storsjo <martin@martin.st>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-21 16:55:53 +01:00
Paul Gofman
cf3bb0ce0d
kernelbase: Get language sort only when required in LCMapStringEx().
...
Fixes very slow loading (a few minutes) of Warhammer 40000: Inquisitor
- Martyr after b780e5f5b1
.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-08 22:25:59 +01:00
Jacek Caban
60f11d2929
kernelbase: Simplify CreateFileW.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-01 19:51:41 +01:00
Jacek Caban
826a9615e4
kernelbase: Remove no longer needed console handle mapping.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-01 19:50:30 +01:00
Jacek Caban
cbca9f847f
kernelbase: Use FileFsDeviceInformation for console handles in GetFileType.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-27 21:59:40 +01:00
Michael Stefaniuc
1b1b6c5f7d
kernelbase: Use wide-char string literals.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-26 12:36:53 +01:00
Alexandre Julliard
9dc2892785
include: Use proper dllimports for kernel32 functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-24 18:41:13 +01:00
Jacek Caban
a055f41286
kernelbase: Use NtQueryInformationFile for consoles handles in GetFileSizeEx.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-23 21:05:04 +01:00
Jacek Caban
a66eab0dfb
kernelbase: Move Unicode conversion from ReadConsoleA to conhost.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-19 21:44:55 +01:00
Jacek Caban
4cc4ea449b
kernelbase: Move Unicode conversion from WriteConsoleA to conhost.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-17 19:36:06 +01:00
Alexandre Julliard
f46e239468
kernelbase: Copy MulDiv() implementation instead of forwarding.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-13 13:18:53 +01:00
Jacek Caban
6b5a263742
kernelbase: Remove no longer needed console handle handling from create_process_params.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-12 20:22:33 +01:00
Jacek Caban
d8d2b8a38d
server: Support unbound console output device.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-12 20:22:33 +01:00
Jacek Caban
4e4872d59d
server: Support unbound console input device.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-12 20:22:33 +01:00
Jacek Caban
cc5afe41ed
kernelbase: Wait directly on console handles.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-10 17:19:44 +01:00
Paul Gofman
6cf3cbe454
kernelbase: Align stack in GetProcAddress() on x64.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-27 20:30:31 +01:00
Myah Caron
c55349f6c8
kernelbase: Implement VirtualAlloc2.
...
Signed-off-by: Myah Caron <qsniyg@protonmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-26 20:35:42 +01:00
Roman Pišl
c8af17187e
kernelbase: Fix comment and trace message in console.
...
Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-19 10:58:19 +02:00
Jacek Caban
1d8c2d28cb
kernelbase: Move console code page validation to conhost.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-15 20:20:43 +02:00
Jacek Caban
01c17ca260
conhost: Remove no longer needed non-blocking IOCTL_CONDRV_READ_INPUT.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-15 20:20:31 +02:00
Jacek Caban
ea8fa3174c
kernel32: Move FlushConsoleInputBuffer to kernelbase.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-15 20:20:05 +02:00
Paul Gofman
976fa1b491
kernelbase: Fix status check in GetExitCodeProcess().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-14 11:02:20 +02:00
Myah Caron
8a1933bbe4
kernelbase: Remove DECLSPEC_HOTPATCH for GetCommandLine[AW].
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48861
Signed-off-by: Myah Caron <qsniyg@protonmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-14 11:01:06 +02:00
Myah Caron
d01d3b749d
kernelbase: Use command_lineW for GetCommandLineW.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48861
Signed-off-by: Myah Caron <qsniyg@protonmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-14 11:01:00 +02:00
Jacek Caban
1b672d1013
kernelbase: Remove no longer needed free_console server call from FreeConsole.
...
We can depend on closing console connection handle now.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-13 18:20:02 +02:00
Jacek Caban
eca4d91cad
kernelbase: Remove window position adjustment from SetConsoleCursorPosition.
...
It's done in conhost now.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-13 18:19:54 +02:00
Jacek Caban
98dcd3a7ea
kernel32: Move ReadConsole and WriteConsole to kernelbase.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-13 18:19:48 +02:00
Jacek Caban
859b526c81
kernelbase: Use conhost in AllocConsole.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-12 18:45:05 +02:00
Nikolay Sivov
af17fcbc1c
kernelbase: Add a name for codepage 708.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-12 10:42:02 +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
Louis Lenders
3d2add846c
kernelbase: Return S_OK in WerSetFlags.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49966
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-09 16:21:33 +02:00
Paul Gofman
905deff5da
ntdll: Reimplement FLS data management on top of up to date structures.
...
Win10 18132 introduced increased FLS data limit and entirely changed
underlying structure.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-08 12:40:29 +02:00
Paul Gofman
36981ad033
ntdll: Introduce RtlProcessFlsData() and use it for FLS data destruction.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-08 12:40:29 +02:00
Paul Gofman
defcbc8b97
kernelbase: Move FlsGetValue() implementation to ntdll.RtlFlsGetValue().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-01 11:43:53 +02:00