Eric Pouech
28cd4fae3b
ntdll/kernel32: GetCommState & IOCTL_GET_CHARS
...
- implemented SERIAL_GET_CHARS ioctl
- made use of it in kernel32.GetCommState
2006-05-09 21:06:24 +02:00
Eric Pouech
48646ea82b
ntdll/kernel32: GetCommState & IOCTL_SERIAL_GET_HANDFLOW
...
- implemented SERIAL_GET_HANDFLOW ioctl
- made use of it in kernel.GetCommState
2006-05-09 21:06:02 +02:00
Eric Pouech
efb3244b0a
ntdll/kernel32: GetCommState & SERIAL_GET_LINE_CONTROL
...
- implemented SERIAL_GET_LINE_CONTROL ioctl
- made use of it in kernel.GetCommState
2006-05-09 21:05:46 +02:00
Eric Pouech
c7016d9325
ntdll/kernel32: GetCommState & IOCTL_GET_BAUD_RATE
...
- implemented SERIAL_GET_BAUD_RATE ioctl
- made use of it in kernel.GetCommState
2006-05-09 21:05:30 +02:00
Eric Pouech
a05a3435fd
ntdll/kernel32: SetCommState & IOCTL_SET_CHARS
...
- implemented ntdll's serial IOCTL SET_CHARS
- used this IOCTL in kernel32.SetCommState
2006-05-09 21:05:09 +02:00
Eric Pouech
b68203ea90
ntdll/kernel32: SetCommState & IOCTL_SET_HANDFLOW
...
- implemented ntdll's serial IOCTL SET_HANDFLOW
- used this IOCTL in kernel32.SetCommState
2006-05-09 21:04:38 +02:00
Eric Pouech
65f137c56c
ntdll/kernel32: SetCommState & IOCTL_SET_LINE_CONTROL
...
- implemented ntdll's serial IOCTL SET_LINE_CONTROL
- used this IOCTL in kernel32.SetCommState
2006-05-09 21:04:22 +02:00
Eric Pouech
631ec30f78
ntdll/kernel32: SetCommState & IOCTL_SET_BAUD_RATE
...
- created dump_dcb to print out DCB information
- implemented ntdll's serial IOCTL SET_BAUD_RATE
- used this IOCTL in kernel32.SetCommState
2006-05-09 21:03:27 +02:00
Alexandre Julliard
feb7276c73
kernel: Added work-around in UnhandledExceptionFilter for no exec protections.
2006-05-09 12:58:46 +02:00
Michael Stefaniuc
7a8818e717
Don't check pointers for NULL before RtlFreeHeap. It is redundant.
2006-05-05 20:59:50 +02:00
Jacek Caban
9e61d70a00
kernel: Remove no longer needed includes.
2006-05-05 17:42:37 +02:00
Alexandre Julliard
b0c63af124
kernel: Make GetTickCount call NtGetTickCount.
2006-04-20 20:13:12 +02:00
Detlef Riekenberg
d78a3eec41
kernel: Add some tests for Lock/Unlock memory handles.
2006-04-14 19:43:05 +02:00
Detlef Riekenberg
f64f9ef5fa
kernel: Update WARN/ERR and documentation for GlobalLock/GlobalUnlock.
2006-04-14 19:42:53 +02:00
Detlef Riekenberg
513c35a363
kernel: Load tests again on NT 3.51 (toolhelp API not present).
2006-04-14 10:53:11 +02:00
Eric Pouech
69804258ca
kernel32: Added some tests for toolhelp functions.
2006-04-12 12:43:44 +02:00
Eric Pouech
4f3682f428
kernel32: Rewrote toolhelp implementation only on top of ntdll functions.
2006-04-12 12:42:36 +02:00
Mike Hearn
ddd0e03e91
kernel: Don't crash on NULL arg in GetShortPathNameW.
2006-04-07 20:05:33 +02:00
Mike Hearn
679df54b6c
kernel: Correct SearchPathA argument validation.
2006-04-07 20:01:48 +02:00
Alexandre Julliard
fcb771d9c0
kernel: Fixed set_process_name for the winevdm case.
2006-04-07 11:45:22 +02:00
Alexandre Julliard
9603ee0756
kernel: Show the exe name instead of wine-[kp]thread in ps and top.
2006-04-06 11:57:37 +02:00
Mike Hearn
ef7fce8490
kernel: Don't enforce process handle access rights in Win98 mode.
2006-04-04 12:08:50 +02:00
Robert Shearman
62c25c5a51
kernel: Remove some stubs that aren't present in NT.
2006-04-03 21:36:00 +02:00
Robert Shearman
277dfb8771
kernel: Document some file functions.
2006-04-03 21:35:52 +02:00
Mike McCormack
7bffb5e42d
kernel32: [Read/Write]PrivateProfile functions accept a NULL filename.
2006-04-03 12:15:29 +02:00
Alexandre Julliard
f5d3adaf59
ntdll: Process --help and --version args earlier on during startup.
2006-04-03 12:07:20 +02:00
Detlef Riekenberg
839f00a967
kernel: Fix handling of invalid parameter in GlobalSize().
2006-03-31 17:38:49 +02:00
Robert Shearman
1fd711c192
kernel: Add some documentation for simple process functions.
2006-03-31 17:38:12 +02:00
Eric Pouech
038e604fe4
kernel: Resource browsing.
...
Try to be a bit more strict when checking for resource mapping in
exception handler (and prevent some exceptions while in exception
handler).
2006-03-30 12:46:13 +02:00
Detlef Riekenberg
464b35522b
kernel32: Display the parameter that caused a page fault in GlobalFree().
2006-03-30 12:45:22 +02:00
Detlef Riekenberg
1a81f4ff8a
kernel: Fix handling of invalid parameter in GlobalFlags().
2006-03-30 12:45:00 +02:00
James Hawkins
61c3bb03a0
kernel: Error out of CreateProcess if the specified current directory
...
doesn't exist.
2006-03-27 11:54:32 +02:00
Paul Vriens
418b839980
kernel: Add processor specific environment variables.
2006-03-23 20:34:16 +01:00
Alexandre Julliard
dc8e564f9e
kernel: Remove a couple of incorrect asserts.
2006-03-23 17:07:27 +01:00
Detlef Riekenberg
213cee62b5
kernel: Load QueueUserWorkItem function dynamically.
2006-03-23 17:06:55 +01:00
Bryan Mayland
98fd541de8
kernel: WaitForMultipleObjectsEx should accept up to MAXIMUM_WAIT_OBJECTS.
2006-03-22 11:19:09 +01:00
Robert Shearman
6f2b0fbf94
kernel: Add a test for QueueUserWorkItem.
2006-03-21 16:19:06 +01:00
Paul Vriens
c72f68ef00
kernel: Fix model/stepping in GetSystemInfo.
...
wProcessorRevision is built from model and stepping.
2006-03-20 22:08:58 +01:00
Detlef Riekenberg
dcbfa1179d
kernel: Avoid heap corruption on invalid parameter in GlobalFree().
2006-03-20 12:26:53 +01:00
Alexandre Julliard
13c2f4742f
kernel: Avoid infinite waits in directory change tests.
2006-03-20 12:26:14 +01:00
Robert Shearman
ea6f3a4cc0
ntdll: Move the call to MODULE_DllThreadAttach from the kernel32
...
thread creation function to the NTDLL one.
2006-03-14 17:50:28 +01:00
Robert Shearman
44cb832ff3
kernel: Implement QueueUserWorkItem.
2006-03-13 13:33:55 +01:00
Mike McCormack
bb84eaa98f
kernel: Improve the activation context stubs.
2006-03-07 11:11:07 +01:00
Alexandre Julliard
a401f3c4bb
kernel: Better support for detached processes.
...
Call setsid() in the new process to create a new Unix process group
when CREATE_NEW_PROCESS_GROUP, CREATE_NEW_CONSOLE, or DETACHED_PROCESS
are specified.
2006-03-06 22:22:30 +01:00
Francois Gouget
2f29c779d4
kernel: Protect sys/resource.h include.
2006-03-03 13:17:14 +01:00
Eric Pouech
8e5d2bdba6
kernel32: Implemented ClearCommError on top of GET_COMM_STATUS ioctl.
2006-02-28 15:36:56 +01:00
Eric Pouech
6b95c0e4b4
kernel32: ClearCommError.
...
ClearCommError should only deal with *communication* errors (are being
seen on the serial interface) rather than API errors (which can be
reported to the caller by the API itself). I then removed all the
stuff related to storing the error status in the server object.
2006-02-27 13:54:43 +01:00
Alexandre Julliard
2ba3d3ac25
kernel: Don't request execute permission for DOS memory.
2006-02-24 11:31:04 +01:00
Mike McCormack
a7e36dd27e
kernel32: Add a stub implementation for CmdBatNotification.
2006-02-22 17:02:56 +01:00
Alexandre Julliard
3229e293d3
kernel: Initialize the dll path from the main exe name explicitly
...
since ImagePathName is not always set at that point.
2006-02-22 17:02:25 +01:00
Alexandre Julliard
0199b4410a
kernel: Get rid of module.h.
2006-02-22 16:30:22 +01:00
Alexandre Julliard
a877fdc4dc
kernel: Don't bother checking load order of the exe in the parent process.
2006-02-22 16:21:12 +01:00
Alexandre Julliard
477b3bf566
kernel: Moved the get_startup_info call to ntdll.
2006-02-22 09:57:19 +01:00
Alexandre Julliard
2df3ad64eb
kernel: Use LoadLibrary to load the main exe in all cases.
2006-02-21 19:48:18 +01:00
Mike McCormack
54dfdb9b00
kernel32: Add a simple test for recursive notification.
2006-02-21 11:14:00 +01:00
Mike McCormack
f4b447aee7
kernel32: Add a short test for GetOverlappedResult.
2006-02-21 11:13:30 +01:00
Mike McCormack
a2813f7c2e
server: Distinguish between a directory and a file changing in
...
ReadDirectoryChangesW.
Add a test for it.
2006-02-20 12:28:46 +01:00
Alexandre Julliard
8445773c0e
kernel: Don't require execute permission for DOS memory, this will be
...
done in winedos if necessary.
2006-02-20 12:03:05 +01:00
Alexandre Julliard
9dffd134dd
libwine: Try the current load path in priority before the
...
WINELOADER/WINESERVER environment variables in wine_exec_wine_binary.
2006-02-16 20:26:55 +01:00
Eric Pouech
c67bc2260c
A couple of new valgrind instrumentations for better support.
2006-02-14 13:06:29 +01:00
Francois Gouget
90aaf6ba8f
include: Add missing LANG_xxx and SUBLANG_xxx constants.
2006-02-14 10:42:12 +01:00
Hans Leidekker
e0de496f61
kernel: Report a tape device as FILE_TYPE_CHAR.
2006-02-13 13:22:34 +01:00
Stefan Leichter
ba3fb48657
kernel: Fix a GetDiskFreeSpaceExA test for cd/dvd drives.
2006-02-10 14:52:40 +01:00
Jeremy White
4539658531
kernel: Fixed build with gcc 2.95.
2006-02-09 17:45:07 +01:00
Alexandre Julliard
9669ff8de4
ntdll: Get rid of the main_file argument in LdrInitializeThunk.
2006-02-08 15:22:24 +01:00
Alexandre Julliard
e65b8d925a
kernel: Use a standard LoadLibrary call to load the main exe.
2006-02-08 15:11:19 +01:00
Dmitry Timoshkov
e6a734a979
kernel32: Implement EnumUILanguages.
2006-02-07 21:17:06 +01:00
Mike McCormack
7a61f086f1
kernel32: More test cases for ReadDirectoryChangesW.
2006-02-07 16:50:44 +01:00
Mike McCormack
0790f95589
kernel32: ReadDirectoryChangesW fixes.
...
ReadDirectoryChangesW remembers whether it's recording changes or not.
Don't initialize overlapped->InternalHigh.
The hEvent is cleared when ReadDirectoryChanges is called.
2006-02-07 16:50:36 +01:00
Mike McCormack
0193211946
server: Fill in NtNotifyChangeDirectoryFile's buffer with change data.
2006-02-06 11:58:55 +01:00
Stefan Leichter
acb52e5272
kernel: Added a test for QueryDosDeviceA.
2006-02-06 11:57:02 +01:00
Eric Pouech
3c2abaf45e
ntdll: Implemented IOCTL for char transmission: IMMEDIATE_CHAR.
2006-02-06 11:38:53 +01:00
Eric Pouech
5973955e4e
ntdll: Implemented COMM IOCTL for modem status: GET_MODEMSTATUS.
2006-02-06 11:37:39 +01:00
Eric Pouech
58e719ce93
ntdll: Implemented IOCTL for serial: SET_WAIT_MASK, GET_WAIT_MASK.
2006-02-06 11:37:06 +01:00
Eric Pouech
b83c5ead16
ntdll: Implemented IOCTL purge for serial objects.
2006-02-06 11:36:19 +01:00
Eric Pouech
dccd41a88a
kernel: Fixed regression in atom handling.
...
Added proper tests (local & global functions).
2006-02-06 11:26:57 +01:00
Robert Millan
8800352477
Enable for GNU/kFreeBSD the same kernel-specific interface/parameter
...
that is used with FreeBSD.
2006-02-05 13:06:50 +01:00
Alexandre Julliard
2a36dd239c
server: Remove no longer used create_flags from get_startup_info request.
2006-02-05 12:33:24 +01:00
Alexandre Julliard
626669e1e3
kernel: Use a magic ConsoleHandle value instead of create flag to pass
...
the CREATE_NEW_CONSOLE flag to the child.
2006-02-05 12:24:43 +01:00
Alexandre Julliard
645c0cc63c
kernel: Set the console flag in the parent for CREATE_NEW_PROCESS_GROUP.
2006-02-05 12:20:40 +01:00
Mike McCormack
d77baf358b
kernel32: FindFirstChangeNotification needs a static IO_STATUS_BLOCK.
2006-02-02 13:20:58 +01:00
Alexandre Julliard
096000df90
kernel: Set the overlapped structure status in ReadDirectoryChanges.
2006-01-31 18:03:35 +01:00
Mike McCormack
9e2b6687f6
kernel: Add some test cases for ReadDirectoryChangesW.
2006-01-31 12:22:24 +01:00
Mike McCormack
bd185ff3de
kernel: Add some more tests for FindFirstChangeNotification.
2006-01-30 18:14:12 +01:00
Mike McCormack
7005759557
kernel: Partially implement ReadDirectoryChangesW using NtNotifyChangeDirectoryFile.
2006-01-27 19:19:46 +01:00
Eric Pouech
e0cffe355f
Fix a couple of bugs spotted by valgrind.
2006-01-27 16:18:05 +01:00
Alexandre Julliard
8b0feb253b
server: Make the FILE_SHARE_DELETE sharing checks depend on DELETE
...
access instead of on the FILE_DELETE_ON_CLOSE flag (based on a patch
by Mike McCormack).
2006-01-27 15:50:38 +01:00
Mike McCormack
53dab15200
kernel32: Implement FindFirstChangeNotification with NtNotifyChangeDirectoryFile.
2006-01-27 12:54:31 +01:00
Mike McCormack
08351071fd
server: Fix the file notification interface to use directory handles.
2006-01-27 12:13:56 +01:00
Hans Leidekker
df5bd5f8a1
kernel: Implementation of tape functions.
...
Implement CreateTapePartition, EraseTape, GetTapeParameters,
GetTapePosition, GetTapeStatus, PrepareTape, SetTapeParameters,
SetTapePosition and WriteTapemark.
2006-01-27 12:10:03 +01:00
Alexandre Julliard
c93afe6bfc
kernel: Handle a failure to load winedos a bit more gracefully.
2006-01-25 13:19:11 +01:00
Hans Leidekker
b825b8ba3c
kernel: Test moving a directory that has a change notification
...
registered for itself.
2006-01-25 13:13:58 +01:00
Dmitry Timoshkov
57a579ffcd
Make more arrays const.
2006-01-24 14:00:32 +01:00
Alexandre Julliard
a2a29e22a0
kernel: Fail more gracefully when loading a builtin exe didn't work.
2006-01-24 11:05:11 +01:00
Detlef Riekenberg
4cfc3874df
kernel/tests: Integer atoms return different results on WinNT 3.51.
2006-01-23 11:23:50 +01:00
Vitaliy Margolen
8430d43d6c
kernel: Remove calls to Nt[Get|Set]ThreadContext.
...
It's done in exception handler now.
2006-01-19 11:55:24 +01:00
Mike McCormack
1f7c81eb36
kernel32: Create a stub implementation for PostQueuedCompletionStatus.
2006-01-17 13:13:01 +01:00
Mike McCormack
13ea51556d
kernel32: Move FileCDR16 in with the other 16bit file functions.
2006-01-16 20:51:28 +01:00
Hans Leidekker
9ba1876c40
kernel: Documentation cleanups.
2006-01-16 20:42:09 +01:00
Alexandre Julliard
ebe727e56d
kernel: Make sure the file contains data for the ReadFile test.
2006-01-14 17:08:14 +01:00