Commit graph

1544 commits

Author SHA1 Message Date
Robert Shearman
0173948300 kernel: Add a test for mutexes. 2006-06-15 12:14:23 +02:00
Robert Shearman
3fa7fa5bdf kernel: Add some tests for VerifyVersionInfo. 2006-06-15 12:14:18 +02:00
Alexandre Julliard
3df59e4fee kernel32: Use unsigned types in GlobalMemoryStatusEx to prevent overflows. 2006-06-15 11:39:29 +02:00
Alexandre Julliard
1c66c611a1 kernel32: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:10:39 +02:00
Alexandre Julliard
c6b342d8ff kernel32/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:02:31 +02:00
Alexandre Julliard
e2e6115193 kernel32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:57:12 +02:00
Alexandre Julliard
ec6a1653aa kernel32: Make some variables static. 2006-06-12 13:41:45 +02:00
Mike McCormack
3ea306f264 kernel32: Fix a cast for Win64. 2006-06-12 13:21:47 +02:00
Alexandre Julliard
9aea3b2d31 kernel: Added support for GlobalMemoryStatus on MacOS. 2006-06-09 11:52:50 +02:00
Andrew Talbot
0ba64e58e5 kernel/tests: Write-strings warnings fix. 2006-06-07 15:24:13 +02:00
Mike McCormack
fac494c822 server: open_console's from field should be a handle. 2006-06-07 14:30:28 +02:00
Detlef Riekenberg
a99c9caa39 kernel/tests: Some tests for WideCharToMultiByte. 2006-06-05 21:06:52 +02:00
Karsten Elfenbein
99fa40e2bf kernel/tests: More tests for FindFirstFile. 2006-06-05 21:00:44 +02:00
Mikołaj Zalewski
2c86775d91 kernel32: Prevent truncating characters to 8 bits in FormatMessageW. 2006-05-30 19:30:44 +02:00
Eric Pouech
2d3504c309 ntdll/kernel32: Moved GetThreadSelectorEntry to ntdll.
- implemented NtQueryInformationThread's ThreadDescriptorTableEntry
  information class
- used it to implement the kernel32's equivalent (GetThreadSelectorEntry)
2006-05-27 13:00:19 +02:00
Eric Pouech
1d6e2590e0 ntdll/kernel32: Pipe information.
- implemented ntdll.NtQueryInformationFile's FilePipeLocalInformation control code 
- reimplemented kernel32.GetNamedPipeInfo on top of it
- enhance current features to make this work both on client and server handles
- now also returning the number of instances
2006-05-27 12:31:01 +02:00
Alexandre Julliard
ab2349daf0 kernel32: Partial implementation of GetModuleHandleExA/W. 2006-05-27 10:57:17 +02:00
Mike McCormack
d5a998b38f kernel32: Fix some pointer to integer casts. 2006-05-25 10:43:59 +02:00
Alexandre Julliard
f01d9879c6 libwine_unicode: Renamed is_dbcs_leadbyte to wine_is_dbcs_leadbyte. 2006-05-24 14:14:09 +02:00
Jonathan Ernst
360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Andrew Ziem
8bed7bb61a kernel: Fix path test to pass on 95 and 98. 2006-05-17 21:46:27 +02:00
Andrew Ziem
ac73b30f95 kernel: Properly delete a test file. 2006-05-16 20:19:54 +02:00
Francois Gouget
f7c24f37ad Various trace fixes.
Add trailing '\n's to trace calls.
Remove spaces before '\n'.
2006-05-15 15:05:09 +02:00
Stefan Leichter
72a6d97679 kernel: Fix CreateToolhelp32Snapshot tests on win2k. 2006-05-11 12:21:24 +02:00
Uwe Bonnes
5b4c15c5d3 kernel: Comm_CheckEvents: Only warn for non-empty transmitter with EV_TXEMPTY flag set.
Noticed by Dan Armbrust.
2006-05-10 11:19:38 +02:00
Eric Pouech
5f9e9836cf ntdll/kernel32: EscapeCommFunction & associated IOCTLs
- implemented ntdll's serial IOCTL: CLR_DTR, CLR_RTS, SET_DTR,
  SET_RTS, SET_XOFF, SET_XON, RESET_DEVICE
- implemented kernel32.EscapeCommFunction on top of them
2006-05-09 21:08:14 +02:00
Eric Pouech
fcdc293bb0 ntdll/kernel32: SetupComm & SET_QUEUE_SIZE
- stubbed out ntdll's serial IOCTL SET_QUEUE_SIZE
- implemented kernel32.SetupComm on top of it
2006-05-09 21:07:35 +02:00
Eric Pouech
b53e016925 ntdll/kernel32: [SG]etCommTimeout, SERIAL_[GS]ET_TIMEOUT
- implemented ntdll's COMM IOCTL GET_TIMEOUTS, SET_TIMEOUTS
- implemented kernel32.GetCommTimeout and SetCommTimeout on top of them
2006-05-09 21:07:18 +02:00
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