Commit Graph

2489 Commits

Author SHA1 Message Date
Louis Lenders a6e1adb8b7 kernel32: Print a FIXME only once in LCMapStringEx.
Signed-off-by: Louis Lenders <xerox.xerox2000x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-26 23:30:16 +09:00
Hugh McMaster de13e818ce kernel32/tests: Add initial tests for GetConsoleFontInfo.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-26 23:00:20 +09:00
Austin English 77733651ad kernel32: Add GetConsoleFontInfo stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-25 18:53:27 +09:00
Sebastian Lackner bae3dcc295 server: Do not hold reference on parent process.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-25 18:48:19 +09:00
Francois Gouget ccad9f3b97 kernel32/tests: Spelling fixes for a couple of comments.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-20 16:54:48 +09:00
Sebastian Lackner 99130182ba kernel32/tests: Port stack commit tests to x86_64.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-15 17:57:04 +09:00
Sebastian Lackner 2aee9b1ee3 kernel32/tests: Use inline implementation of NtCurrentTeb for virtual tests.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-15 17:57:01 +09:00
Michael Müller 6e12aba9c7 kernel32: Implement GetFinalPathNameByHandle.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-09 00:12:23 +09:00
Sebastian Lackner 9acff7550d ntdll: Do not update iosb.Status after FSCTL_PIPE_LISTEN call.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 17:08:30 +09:00
Michael Müller 96aca1ad02 kernel32/tests: Add additional tests for overlapped handling of CreateNamedPipe.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-07 16:44:24 +09:00
Austin English 43637ce9f7 kernel32: Add GetConsoleAliasExesLengthA/W stubs.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:40 +09:00
Michael Müller 33a368c422 kernel32: Check for invalid filename pointers in CreateFileA for Win9x compatibility.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 15:57:33 +09:00
Michael Müller bd17022c90 kernel32: Set ERROR_DLL_NOT_FOUND as error code in load_library for Win 9x compatibility.
Newer operating systems return ERROR_MOD_NOT_FOUND.

Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 15:57:32 +09:00
Sebastian Lackner 455e6c64ae kernel32: Fix handling of GetOverlappedResult when status remains STATUS_PENDING.
Spotted by Michael Müller.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-31 15:57:32 +09:00
Alexandre Julliard 8f56702812 kernel32: Lower the load address to accomodate the dll size.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 16:35:30 +09:00
Hugh McMaster 408205cb04 kernel32: Add a stub for SetCurrentConsoleFontEx.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 00:36:28 +09:00
Alexandre Julliard 2dd01087f2 kernel32/tests: Use Interlocked functions to avoid fault counters being optimized out.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 00:36:28 +09:00
Jacek Caban e625e86ee1 kernel32: Don't set unconditionally SECTION_QUERY flag in OpenFileMapping.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-14 13:54:52 +09:00
Nikolay Sivov cd220569dd include: Fix IsBad* prototypes.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 18:51:44 +09:00
Jactry Zeng 846155f153 kernel32/tests: Reset current directory of current process.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-01 01:50:13 +09:00
Alex Henrie f35c1b2dc1 ntdll: Finish serial reads of size 0 immediately.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 22:45:07 +09:00
Alexandre Julliard 0bbeaae678 make_unicode: Mark most data tables as hidden.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:01 +09:00
Charles Davis 5a4576ee09 kernel32: Use setprogname(3) to set the program name if available.
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:10 +09:00
André Hentschel 82debc093f kernel32/tests: Use todo_wine_if() in tests.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:10 +09:00
Nikolay Sivov 10caa6295c kernel32/tests: Additional test for GetStringTypeW() and Zl/Zp categories.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-19 11:06:48 +09:00
Frédéric Delanoy 5da69565b5 kernel32/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 00:22:04 +09:00
Michael Müller 8eb893f185 kernel32: Allow to pass NULL as old protection in VirtualProtect for Win9x compatibility.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 23:26:30 +09:00
Sebastian Lackner 4ac066cdaa kernel32: Do not inherit QT_* environment variables to Windows environment.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 13:34:35 +09:00
Nikolay Sivov a0ec5fecd0 kernel32/tests: Use todo_wine_if() in tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 12:09:37 +09:00
Stefan Leichter 9cd67d2a5e kernel32: Return a dummy value in GetSystemPreferredUILanguages.
Signed-off-by: Stefan Leichter <Stefan.Leichter@camLine.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 21:30:05 +09:00
Sebastian Lackner f94755f719 kernel32/tests: Fix flags passed to VirtualFree in multiple tests.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-14 12:39:13 +09:00
Sebastian Lackner 1e624c5aaa kernel32/tests: Ensure VirtualAlloc tests do not depend on previous memory allocations.
Following tests try to allocate memory at (char *)addr1 + 0x1000.
We expect that no memory is mapped at this location.

Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-14 12:38:55 +09:00
Sebastian Lackner 24641d8e44 kernel32/tests: Add a test to show that VirtualFree fails with type MEM_FREE.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-14 12:38:26 +09:00
Sebastian Lackner 1bebee9c1b kernel32/tests: Add test to show that CompareStringW aborts on first non-matching character.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-14 12:38:16 +09:00
Vincent Povirk 82a55e7bf8 kernel32/tests: Avoid testing for a hard-coded timezone name.
It turns out timezone names are localized, so this breaks on non-English
Windows 8 and 10 systems.

Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:06:55 +09:00
Sebastian Lackner 90819e9c1b kernel32/tests: Add additional tests for CompareStringA.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:06:55 +09:00
Sebastian Lackner 49051392d7 kernel32: Forward InterlockedPushListSList[Ex] to ntdll.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:22:20 +09:00
Sebastian Lackner 32f72989b6 kernel32/tests: Add tests for RtlInterlockedPushListSList[Ex].
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:22:11 +09:00
Sebastian Lackner 38d0690a2c kernel32/tests: Clean up interlocked SList tests.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:22:09 +09:00
Sebastian Lackner 748103663c kernel32/tests: Disable Windows version dependent test for pcPriClassBase.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-10 22:02:20 +09:00
Sebastian Lackner 5bb169ad7b kernel32/tests: Move logic of okChildInt macro into a function.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-10 22:02:07 +09:00
Sebastian Lackner fd0780cb35 kernel32/tests: Simplify activation context tests by using todo_wine_if.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-10 21:50:26 +09:00
Alexandre Julliard 6203373496 libwine: Map partial DBCS characters to the default char.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 13:46:48 +09:00
Changhui Liu e776421232 kernel32/tests: Add tests for MultiByteToWideChar in DBCS codepage.
Signed-off-by: Changhui Liu <liuchanghui@linuxdeepin.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 00:37:25 +09:00
Vincent Povirk b922b55182 kernel32: Implement GetTimeZoneInformationForYear.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-03 00:00:32 +09:00
Vincent Povirk 2e3ce3a37d kernel32/tests: Add tests for GetTimeZoneInformationForYear.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-02 23:56:00 +09:00
Andrew Eikum a124064ce5 ntdll: Implement SystemLogicalProcessorInformationEx.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 00:49:31 +09:00
Hugh McMaster c6e10496b3 kernel32/tests: Add tests for the TRUE pathway of GetCurrentConsoleFont.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 01:22:41 +09:00
Hugh McMaster 2c5756347b kernel32: Implement the TRUE pathway of GetCurrentConsoleFont.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 01:22:33 +09:00
Hugh McMaster 0311c6adb2 kernel32: Apply the new background colour to the active line.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 23:28:38 +09:00