Commit Graph

3259 Commits

Author SHA1 Message Date
André Hentschel eef5e45ee6 ntdll: Improved reporting of CPU Level and Revision on ARM. 2013-11-11 17:06:46 +01:00
André Hentschel a160a65317 ntdll: Enable compilation with -D__WINESRC__. 2013-11-06 12:01:53 +01:00
André Hentschel 94d8e3ab68 tools/winapi: Remove PCTSTR, PTSTR and TCHAR from the list of tested types. 2013-11-06 12:01:52 +01:00
Frédéric Delanoy 416930d498 ntdll: Use BOOL type where appropriate. 2013-11-04 11:03:43 +01:00
Frédéric Delanoy 7e63200672 ntdll: Use BOOL type where appropriate. 2013-11-01 10:52:42 +01:00
Dmitry Timoshkov 60ef62c8c2 ntdll: NtReadFile should update io status block on EOF for a synchronous read. 2013-10-31 16:52:48 +01:00
Dmitry Timoshkov a5e80b2d60 ntdll: NtReadFile should not fail for 0-length reads at EOF. 2013-10-31 16:18:33 +01:00
Frédéric Delanoy 86fdca6750 ntdll: Use BOOL type where appropriate. 2013-10-30 09:45:20 +01:00
Nikolay Sivov cb0ef08839 ntdll: Suppress a warning on 'description' attribute of 'comClass'. 2013-10-29 20:07:07 +01:00
Alexandre Julliard 61770be5f1 ntdll: Add an futimens syscall wrapper for Android. 2013-10-29 10:24:34 +01:00
Frédéric Delanoy 81b181fe72 ntdll/tests: Use BOOL type where appropriate. 2013-10-29 10:22:15 +01:00
Dmitry Timoshkov 3a41ebfbf2 ntdll/tests: Add tests for reading 0 bytes at end of file. 2013-10-29 10:21:41 +01:00
Dmitry Timoshkov 3b429e88ff server: Add support for pending write flag to the serial device. 2013-10-25 13:36:01 +02:00
Daniel Lehman 0669a8aca2 kernel32: Don't use depth in RtlInterlockedFlushSList.
Depth wraps around at 65536 but list supports more elements.
2013-10-24 10:56:13 +02:00
André Hentschel e0e7a0770b ntdll: vm86 is not available on PowerPC. 2013-10-23 11:20:51 +02:00
Alexandre Julliard 63092712c9 ntdll/tests: Skip test if LdrAddRefDll is missing. 2013-10-15 18:37:05 +02:00
Francois Gouget 4db9cd5f21 ntdll/tests: Fix compilation on systems that don't support nameless unions. 2013-10-15 14:28:20 +02:00
Nikolay Sivov 146ff49161 ntdll: Support pinning module refcount with LdrAddRefDll(). 2013-10-14 10:49:44 +02:00
Dmitry Timoshkov 49d0e64f88 kernel32: The return and last error values set by ReadFile on EOF depend on whether overlapped pointer was passed in. 2013-10-11 12:45:06 +02:00
Dmitry Timoshkov fa2ca8f6b4 ntdll/tests: Add more tests for reading beyond EOF. 2013-10-11 12:45:06 +02:00
Alexandre Julliard ac519d0eea ntdll: Add defines for the file position magic constants. 2013-10-09 16:13:41 +02:00
Dmitry Timoshkov 3cae528eef ntdll: Offset -1 (FILE_WRITE_TO_END_OF_FILE) is supposed to work in NtWriteFile for disk files in overlapped mode. 2013-10-09 16:11:33 +02:00
Dmitry Timoshkov 1670c7f9a6 ntdll/tests: Accept previously declared behaviour of overlapped IO as broken.
It highly depends on Windows version and updates/SP installed.
2013-10-07 14:44:35 +02:00
Dmitry Timoshkov aa8546ecc2 ntdll: Add support for FILE_APPEND_DATA to NtWriteFile. 2013-10-07 14:44:35 +02:00
Dmitry Timoshkov ae3c49d841 ntdll/tests: Add a test for file position after NtWriteFile in FILE_APPEND_DATA mode. 2013-10-07 14:44:35 +02:00
Dmitry Timoshkov ba372b92b5 ntdll: Make it possible to store FILE_APPEND_DATA access bit in the server fd cache. 2013-10-04 19:59:58 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Hans Leidekker b0755344c4 ntdll: Fix the version reported for 64-bit Windows XP. 2013-10-01 19:08:22 +02:00
Dmitry Timoshkov c7afb0bb88 ntdll: Don't use asynchronous file IO in the loader. 2013-09-30 20:35:03 +02:00
Dmitry Timoshkov fe3bc8c574 ntdll: Unify the checks for asynchronous NtReadFile behaviour. 2013-09-30 20:35:03 +02:00
Dmitry Timoshkov 5e5fb99755 ntdll: Unify the checks for asynchronous NtWriteFile behaviour. 2013-09-30 20:35:03 +02:00
Nikolay Sivov 437c84655a ntdll/tests: Add proper skips in tests. 2013-09-27 10:42:12 +02:00
Dmitry Timoshkov a63be0823a ntdll: Make set_line_control() for a serial device print slightly more informative messages. 2013-09-26 10:46:56 +02:00
Dmitry Timoshkov a20b07c558 ntdll: Make asynchronous WaitCommEvent report correct number of bytes returned. 2013-09-26 10:46:54 +02:00
Michael Stefaniuc 2a39cb377a dlls: Replace the remaining CONSTs. 2013-09-25 11:49:20 +02:00
Dmitry Timoshkov 2ffd28cff7 ntdll: Perform the offset checks in NtWriteFile also for a serial device. 2013-09-25 11:48:56 +02:00
Dmitry Timoshkov 4544826291 ntdll/tests: Use official path for temporary files instead of current directory. 2013-09-24 20:42:35 +02:00
Dmitry Timoshkov 084f4b643c ntdll: Perform the offset checks also for a serial device. 2013-09-23 20:32:22 +02:00
Dmitry Timoshkov ab8d704e24 ntdll/tests: Extend the FILE_APPEND_DATA test. 2013-09-23 11:49:55 +02:00
Dmitry Timoshkov b4ab43b3de kernel32: Remove a 0-length read optimization from ReadFile. 2013-09-20 11:11:47 +02:00
Dmitry Timoshkov d6900fc556 ntdll/tests: Add 0-length read tests for a disk file. 2013-09-20 11:11:00 +02:00
Dmitry Timoshkov eb10471bac ntdll: NtReadFile should fail for overlapped IO on files if offset is negative. 2013-09-13 10:56:37 +02:00
Dmitry Timoshkov b314a25320 ntdll: Make NtWriteFile explicitly check for negative offset and fail. 2013-09-13 10:56:29 +02:00
Dmitry Timoshkov 9e50cc540a ntdll: NtWriteFile should fail for overlapped IO on files if offset is negative. 2013-09-13 10:56:10 +02:00
Nikolay Sivov 84d9b2502e ntdll: Added compatible ProgID section. 2013-09-13 10:54:53 +02:00
Nikolay Sivov b8a973dc52 kernel32/tests: Some tests for ProgID section. 2013-09-13 10:54:13 +02:00
Nikolay Sivov 37182e3f0f ntdll: Try application manifest path when searching for dependent assemblies. 2013-09-11 20:33:22 +02:00
Dmitry Timoshkov ea7f9737bd ntdll: Add support to NtWriteFile for special offset -1. 2013-09-11 20:33:22 +02:00
Thomas Faber d518ce7ea2 ntdll/tests: Use correct prototype for RtlCreateUnicodeString[FromAsciiz]. 2013-09-11 16:08:09 +02:00
Dmitry Timoshkov f031c676c1 server: Add a serial event mask change counter. 2013-09-10 11:18:57 +02:00
Nikolay Sivov bcbd13b70c ntdll: Added compatible sections for clrClass data. 2013-09-09 22:09:56 +02:00
Dmitry Timoshkov a4ec059354 ntdll/tests: Add some tests for negative file offsets. 2013-09-06 12:03:55 +02:00
Nikolay Sivov 93c59714c0 ntdll: Inherit default activation context from creation thread. 2013-09-05 13:23:50 +02:00
Michael Stefaniuc 74b191a605 ntdll: Avoid TRUE FALSE conditional expressions. 2013-09-05 13:18:24 +02:00
Alexandre Julliard f21961cc14 ntdll: Add a configure check for the tcdrain function.
Also remove the tcgetattr check that is no longer used.
2013-09-05 13:18:21 +02:00
Dmitry Timoshkov 2d5ecbee43 ntdll: NtReadFile should fail for overlapped IO on files if offset is NULL. 2013-09-04 17:56:52 +02:00
Dmitry Timoshkov d37fac0519 ntdll: NtWriteFile should fail for overlapped IO on files if offset is NULL. 2013-09-04 17:56:50 +02:00
Alexandre Julliard 6666614a19 ntdll: Actually return the mount point in get_device_mount_point on Mac OS. 2013-09-04 16:28:10 +02:00
Nikolay Sivov af3a20d2ea ntdll: Added support for multiple progids in comClass and clrClass elements. 2013-09-04 11:36:32 +02:00
Alexandre Julliard 4af4df5af3 ntdll: Add stubs for the SRW lock functions. 2013-09-03 16:58:19 +02:00
Dmitry Timoshkov c25776a981 ntdll: Avoid a needless goto. 2013-09-03 16:58:19 +02:00
Nikolay Sivov 045682a4da kernel32: Forward ZombifyActCtx() to ntdll. 2013-09-03 16:58:16 +02:00
Nikolay Sivov 8e211065a8 ntdll: Store 'clrClass' as COM class. 2013-09-03 16:58:16 +02:00
Nikolay Sivov d0deaaa8ce kernel32/tests: Some tests for clrClass data. 2013-09-03 16:58:16 +02:00
Nikolay Sivov f0e5fd737d ntdll: Implement compatible section for 'clrSurrogate'. 2013-09-03 16:58:16 +02:00
Nikolay Sivov 5b38a13167 ntdll: Store clrSurrogate version value, added some tests. 2013-09-03 16:58:15 +02:00
Nikolay Sivov 44d8f6a35a ntdll: For typelib and COM class sections point global data to module names. 2013-09-03 16:58:15 +02:00
Nikolay Sivov 21c1706f79 ntdll: Implement interface redirection section. 2013-09-02 18:07:03 +02:00
Nikolay Sivov 9c44cb4f0f ntdll: Store all interface redirection data in context. 2013-09-02 18:07:00 +02:00
Nikolay Sivov 88070accd2 ntdll: Implement compatible comClass section. 2013-08-30 11:17:33 +02:00
Alexandre Julliard 3d83da047a ntdll: Use a RunOnce function to initialize relay debugging options. 2013-08-29 19:56:18 +02:00
Alexandre Julliard d191d5bca0 ntdll: Use a RunOnce function to initialize directory lookup options. 2013-08-29 19:56:18 +02:00
Wolfgang Walter f93a5d2560 ntdll: Call tcdrain for serial handles from NtFlushBuffersFile. 2013-08-29 19:56:17 +02:00
Dmitry Timoshkov 52d1080544 ntdll: Properly set flag which indicates buffer empty state. 2013-08-29 11:21:11 +02:00
Nikolay Sivov a5eb9eee42 ntdll: Fix typelib section leak on context release. 2013-08-29 11:20:43 +02:00
Nikolay Sivov 52fc0e4e29 ntdll: Store all 'comClass' attributes. 2013-08-29 11:20:37 +02:00
Alexandre Julliard fcb3e60332 ntdll: Implement the RunOnce functions. 2013-08-28 22:27:31 +02:00
Alexandre Julliard af89610364 kernel32/tests: Add more tests for the InitOnce functions. 2013-08-28 16:14:34 +02:00
Dmitry Timoshkov f4f5d06df4 ntdll: Stop waiting for COM-port events if the device handle gets closed. 2013-08-28 11:36:23 +02:00
Dmitry Timoshkov b299d4d4f8 ntdll: Add a trace for transmitter's buffer empty flag. 2013-08-28 11:36:01 +02:00
Alexandre Julliard 54017b0fac ntdll/tests: Add a number of tests for keyed events. 2013-08-28 11:04:06 +02:00
Alexandre Julliard 93fbb12e65 server: Implement waiting on keyed events. 2013-08-28 11:03:38 +02:00
Dmitry Timoshkov d21b05b06d ntdll: Properly test line status register for TIOCSER_TEMT bit. 2013-08-27 21:30:03 +02:00
Dmitry Timoshkov e3dcdadaca ntdll: Fallback to ioctl(TIOCOUTQ) if ioctl(TIOCSERGETLSR) fails.
Most Linux USB-serial drivers don't support TIOCSERGETLSR.
2013-08-27 21:30:03 +02:00
Dmitry Timoshkov 1202c14e6e ntdll: Ignore ioctl(TIOCGICOUNT) failures.
Most USB-serial Linux drivers don't support it.
2013-08-27 21:30:03 +02:00
Alexandre Julliard 5c0b5f4dcb ntdll: Move the select and APC support to server.c. 2013-08-26 20:36:56 +02:00
Alexandre Julliard a56ffb6326 ntdll: Rename NTDLL_wait_for_multiple_objects to server_select since it's more generic now. 2013-08-26 20:36:22 +02:00
Alexandre Julliard 947e337480 server: Make signal and wait a separate select operation. 2013-08-26 20:34:28 +02:00
Alexandre Julliard 042e0046d4 server: Make select on all handles a separate operation. 2013-08-26 20:32:52 +02:00
Alexandre Julliard cbdc0ec72d ntdll: Pass a select operation structure to NTDLL_wait_for_multiple_objects. 2013-08-26 20:32:19 +02:00
Alexandre Julliard c2ab7a625e server: Add a structure to pass the parameters of a select request. 2013-08-26 20:24:42 +02:00
Andrew Cook cdfee68be1 ntdll: Implement NtQueryEvent. 2013-08-26 14:27:56 +02:00
Dmitry Timoshkov 0b4c9cb533 server: Store full-sized completion information on the server side. 2013-08-23 20:15:43 +02:00
Nikolay Sivov 36acd61447 ntdll: Implement compatible typelib section. 2013-08-23 17:56:14 +02:00
Nikolay Sivov 1ca7eb649c ntdll: Parse 'flags' and 'version' attributes of typelib sections. 2013-08-23 17:55:22 +02:00
Dmitry Timoshkov 42cad0ebb1 ntdll/tests: Use WAIT_OBJECT_0 instead of 0. 2013-08-23 10:42:39 +02:00
Dmitry Timoshkov b126d7c7ce ntdll/tests: Fix one more place regarding temp path usage. 2013-08-23 10:42:36 +02:00
Dmitry Timoshkov 8eb9ffb3fa ntdll/tests: Mark the NtReadFile call which doesn't return STATUS_PENDING for an overlapped IO call as broken, and don't test returned values in broken case. 2013-08-23 10:42:21 +02:00
Dmitry Timoshkov 49e31d29ca ntdll/tests: Add some tests for FILE_USE_FILE_POINTER_POSITION. 2013-08-23 10:42:16 +02:00
Huw Davies 97fd3f3b52 ntdll: Call the correct server request. 2013-08-22 12:34:44 +02:00