Viliam Lejcik
157d2e961a
kernel32/nls: Regional settings translation for Czech and Slovak.
...
Signed-off-by: Viliam Lejcik <lejcik@host.sk>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-10 16:35:28 +09:00
Alexandre Julliard
5468e37508
kernel32: Also check OS version to detect old binaries in GlobalMemoryStatus.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-01 21:02:19 +09:00
Hugh McMaster
7223330ffc
kernel32: Replace NULL argument with pointer to DWORD.
...
On Windows, passing in NULL can cause a memory access violation.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:47:28 +09:00
Sebastian Lackner
0346040889
kernel32/tests: Add tests for committing stack guard pages.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:16:49 +09:00
Joachim Priesner
ceb57b7817
kernel32/tests: Add tests for GetDriveType with invalid drive spec.
...
Signed-off-by: Joachim Priesner <joachim.priesner@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-27 20:53:32 +09:00
Andrey Gusev
8bfc9bd2ee
Assorted typos fixes.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-27 15:38:30 +09:00
Sebastian Lackner
9f18d217a7
kernel32/tests: Avoid busy-looping in APC deadlock tests.
...
Spotted by Amine Khaldi.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 13:20:20 +09:00
Sebastian Lackner
46a208d6fa
kernel32/tests: Add tests for calling wait functions with pseudo handles.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 13:20:16 +09:00
Alexandre Julliard
9ae90b354c
kernel32/tests: Avoid testing the D: drive which may not exist.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-24 00:25:02 +09:00
Hugh McMaster
b1b05e62e9
kernel32: Remove un-needed VK_DEL entries from the console keymap.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:19 +09:00
Hugh McMaster
bbe3c9cfbd
kernel32: Interpret Shift-Backspace as Backspace when using the Win32 keymap in wineconsole.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:18 +09:00
Hugh McMaster
7dcfc00dc3
kernel32: Use virtual-key codes in the console StdKeyMap.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:17 +09:00
Sebastian Lackner
ace9d329e9
server: Fix crash when calling SetNamedPipeHandleState on partially closed pipe.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:16 +09:00
Sebastian Lackner
ee02530bc4
server: Fix crash when calling GetNamedPipeHandleState on partially closed pipe.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:16 +09:00
Sebastian Lackner
78948b24b7
kernel32/tests: Add tests for calling WriteFile on pipe when other end is closed.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:15 +09:00
Sebastian Lackner
e235b0670d
kernel32/tests: Add tests for sending empty message in combination with CloseHandle.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:15 +09:00
Adam Martinson
563865c654
kernel32/tests: Add tests for closing named pipes with CloseHandle.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:14 +09:00
Jacek Caban
6a7363b694
kernel32: Call registry functions with full key path.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-19 23:56:39 +09:00
Andrew Eikum
df718b8ab8
kernel32: Always uninitialize the terminal for the console shell process.
...
The terminal raw IO check and the console shell process check are used
separately to initialize the terminal in different ways. However, if
either check fails during uninitialization, then no uninitialization
will occur at all and modified terminfo settings will remain instead of
being restored. We should check each condition individually and
uninitialize each part as required.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-18 13:07:02 +09:00
Hugh McMaster
11669fa5e2
Assorted spelling and grammar fixes.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
Nikolay Sivov
e528765af4
kernel32: Fix context initialization for EnumDateFormatsExEx.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:14:12 +09:00
Jacek Caban
1130a11cce
kernel32: Added DECLSPEC_HOTPATCHABLE to WinExec function.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-13 11:53:04 +09:00
Sebastian Lackner
71581f71d5
kernel32: DeleteFile should open the file without read/write permissions.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:22 +09:00
Sebastian Lackner
4857f95803
server: Return STATUS_CANNOT_DELETE when trying to open readonly file with FILE_DELETE_ON_CLOSE.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:22 +09:00
Sebastian Lackner
c74bb13d2e
kernel32/tests: Add some more tests for opening a file with FILE_DELETE_ON_CLOSE.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:21 +09:00
Nikolay Sivov
61c49bd78e
kernel32: Implement EnumTimeFormatsEx().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 00:08:24 +09:00
Nikolay Sivov
49e5b9c2a4
kernel32: Added support for TIME_NOSECONDS, restructured EnumTimeFormats implementation.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 00:08:11 +09:00
Nikolay Sivov
6f35351f81
kernel32: EnumTimeFormatsA() doesn't support TIME_NOSECONDS.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 00:08:03 +09:00
Nikolay Sivov
982c3ede72
kernel32: GetLocaleInfoA() doesn't support LOCALE_SSHORTTIME.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 00:07:43 +09:00
Nikolay Sivov
5bcbfde33a
nls: Added LOCALE_SSHORTTIME locale data.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 23:10:05 +09:00
Alexandre Julliard
3b7cdc0b84
kernel32/tests: Fix some todo tests that succeed or fail depending on the kernel version.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 16:44:52 +09:00
Nikolay Sivov
3d728e68d3
kernel32: Implement EnumDateFormatsExEx().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 16:44:51 +09:00
Nikolay Sivov
292e4153cf
kernel32: Simplify EnumDateFormats & EnumDateFormatsEx.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 16:44:50 +09:00
Sebastian Lackner
659e585166
kernel32/tests: Add a test to demonstrate a deadlock by suspending a thread during a system APC.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-05 20:22:37 +09:00
Austin English
7c92862071
kernel32: Add SetConsoleKeyShortcuts stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 23:12:03 +09:00
Austin English
4bfe66e702
kernel32: Add AllocateUserPhysicalPages stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:25 +09:00
Hugh McMaster
77a75d74a2
kernel32/tests: Add tests for GetConsoleFontSize.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:25 +09:00
Hugh McMaster
4925f75869
kernel32: Implement GetConsoleFontSize.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:25 +09:00
Hugh McMaster
f0ee54a776
kernel32: Implement GetNumberOfConsoleFonts.
...
We only ever have one entry in the console font table.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:24 +09:00
Thomas Faller
9178d037d7
kernel32: Fix invalid write.
...
Signed-off-by: Thomas Faller <tfaller1@gmx.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:21 +09:00
Piotr Caban
ff698220c1
include: Fix CreateSymbolicLink and TryAcquireSRWLockExclusive prototypes.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-01 22:53:52 +09:00
Jacek Caban
8294722142
kernel32: Pass SYNCHRONIZE flag to NtOpenFile.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 21:01:59 +09:00
Jacek Caban
0c8edbcc80
kernel32: Pass SYNCHRONIZE access flag to NtCreateFile.
...
Office clicktorun patched ntdll functions expect them to be set.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:09 +09:00
Michael Stefaniuc
bcff50a9d4
kernel32/tests: Simplify an ok() condition (PVS-Studio).
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 22:31:25 +09:00
Hugh McMaster
0ad7a0df89
kernel32/tests: Add tests for the FALSE pathway of GetCurrentConsoleFont.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 23:03:35 +09:00
Hugh McMaster
a9277a9c34
kernel32: Implement the FALSE pathway of GetCurrentConsoleFont.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 23:03:34 +09:00
Sebastian Lackner
536d7d98fe
kernel32/tests: Add tests for triggering write watches in asynchronous ReadFile call.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-25 15:19:21 +09:00
Sebastian Lackner
8a33dd43f6
ntdll: Do not check if object was signaled after user APC in server_select.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-23 13:21:10 +09:00
Sebastian Lackner
49dd5577eb
kernel32/tests: Add test to show that multiple user APCs are processed at once.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-23 13:21:07 +09:00
Sebastian Lackner
646888ec79
kernel32/tests: Remove unnecessary busy loop (PVS-Studio).
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 19:19:08 +09:00