Commit Graph

1319 Commits

Author SHA1 Message Date
Alexandre Julliard 7ddab75619 Declare debug channels as static variables so that we don't need to
generate an external .dbg.c file to define them.
2005-09-28 18:34:00 +00:00
Eric Pouech c43e416bc3 Added a bunch of test cases for atoms. 2005-09-28 11:58:20 +00:00
Alexandre Julliard 60a52559ac Don't apply relocations a second time to self loaded segments.
Fixed messed up indentation in NE_FixupSegmentPrologs.
2005-09-27 11:03:18 +00:00
Eric Pouech b09582a890 Implemented kernel32 process affinity handling on top on ntdll. 2005-09-27 10:52:10 +00:00
Alex Villacís Lasso f89c69c4cf Tolerate ioctl failure in GetCommState() in order to be capable to use
softmodems.
2005-09-27 09:32:17 +00:00
Alexandre Julliard 43c6396e94 Use int instead of long in interlocked_* functions for 64-bit
compatibility.
2005-09-26 13:51:58 +00:00
Alexandre Julliard 81d64af17e Use a larger buffer in CopyFileW now that the file handle may not
always be cached.
2005-09-26 13:26:40 +00:00
Eric Pouech e21aa6a184 - now passing access rights when creating a named pipe in NTDLL
- reimplemented Kernel32.CreatePipe purely on top of NTDLL APIs
- anonymous pipe handles should have the SYNCHRONIZE bit set
2005-09-26 11:02:45 +00:00
Alexandre Julliard 9f859692f9 Replace DPRINTF by TRACE in a few places. 2005-09-25 15:23:21 +00:00
Alexandre Julliard 0ec0f048e6 Removed unused debug channels. 2005-09-22 10:44:40 +00:00
Alexandre Julliard 9f1c6de1ef We are no longer generating .spec.c files. 2005-09-21 14:42:52 +00:00
Alexandre Julliard 5cb97d833a Generate 16-bit spec files as assembly code too. 2005-09-21 14:23:54 +00:00
Vitaliy Margolen 97c944c061 Specify flag OBJ_CASE_INSENSITIVE when calling appropriate Ntxx
functions creating/opening named objects.
2005-09-21 11:42:30 +00:00
Alexandre Julliard 96508ad686 Moved return value handling to the individual relay thunks so that we
only need one version of wine_call_from_16.
Patch the wine_call_from_16 address along with the cs value directly
in the 16-bit code segment to avoid the need for special magic in the
import thunks.
2005-09-18 12:25:22 +00:00
Alexandre Julliard 7c1925a0f3 Remove the 'L' suffix on a number of constants to avoid comparison
errors on 64-bit platforms.
2005-09-13 15:00:32 +00:00
Eric Pouech ad0168967e Implemented kernel32.GetThreadTimes on top of ntdll's equivalent
function.
2005-09-12 22:01:33 +00:00
Alexandre Julliard ba41fe20bc Fixed a few more pointer to integer typecast issues for 64-bit
platforms.
2005-09-12 21:22:32 +00:00
Alexandre Julliard e1646dd215 Use MAKEINTRESOURCE instead of casts where appropriate. 2005-09-12 20:29:16 +00:00
Alexandre Julliard f367051afe Parameters to virtual memory functions need to be SIZE_T. 2005-09-12 15:35:04 +00:00
Dmitry Timoshkov 2372e9c952 strcpynAtoW takes number of characters, not bytes. 2005-09-12 15:33:50 +00:00
Alexandre Julliard 261e376495 Fixed a number of pointer to integer conversions that wouldn't work
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Alexandre Julliard c6b005ac69 Fixed some more traces to use the right printf format and avoid
typecasts.
2005-09-12 14:12:46 +00:00
Alexandre Julliard f8ee161a1b Fixed some traces to use the right printf format and avoid typecasts. 2005-09-12 10:30:05 +00:00
Alexandre Julliard 4c34d9386c Specify 64-bit integers as double instead of long long in spec files
so that we get the correct number of arguments.
2005-09-09 15:05:01 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Mike McCormack fe1ec78841 Fix gcc 4.0 warnings. 2005-09-08 11:04:53 +00:00
Eric Pouech 60cae6e289 Implemented kernel32:SetThreadPriority on top of ntdll's equivalent
functions.
2005-09-07 13:25:35 +00:00
Aric Stewart 087de7d439 Fix the translation of dest to DestW, having it be NULL vs "" has
different meanings for MoveFileEx.
2005-09-07 09:23:34 +00:00
Ivan Leo Puoti f0db7ab06b Added FSCTL_PIPE_LISTEN support. 2005-09-06 14:09:42 +00:00
Marcus Meissner 8063b89cc6 Remove -DETCDIR (unused). 2005-09-06 14:03:38 +00:00
Alex Villacís Lasso 7a843c668e Check against NULL libname in LoadModule16. 2005-09-06 11:40:51 +00:00
Eric Pouech b3badc7dd3 - rewrite kernel32:{Set|Get}PriorityClass on top of ntdll equivalent
- priority for process in wineserver is now the NTDLL form (no longer
  the kernel32 one)
2005-09-06 10:25:11 +00:00
Eric Pouech b379e420ed Fixes for function prototypes without arguments. 2005-09-06 09:27:37 +00:00
Ivan Leo Puoti 6e508761bf Get ExitProcess to call NtTerminateProcess. 2005-09-06 09:25:19 +00:00
Phil Krylov 6306b962f4 Fixed compilation of kernel32.dll.so on non-x86 processors. 2005-09-06 09:21:50 +00:00
Alexandre Julliard 883d3c52d3 Use explicit function pointers for pthread support instead of relying
on ELF symbol overriding.
2005-09-03 15:11:29 +00:00
Alexandre Julliard 4ce3dc20d7 Moved the implementation of a couple of system.drv entry points to
system.c.
2005-08-29 12:26:19 +00:00
Alexandre Julliard 41f2189417 Removed a few no longer used 16-bit exports. 2005-08-29 10:27:25 +00:00
Alexandre Julliard 7dc790d877 Moved TaskFindHandle16 to toolhelp16.c. 2005-08-29 10:26:48 +00:00
Alexandre Julliard f484a6b959 Moved GlobalMasterHandle to global16.c. 2005-08-29 10:26:10 +00:00
Alexandre Julliard 510acffe08 Moved the kernel 16-bit initialization to a new DllEntryPoint routine
in krnl386.
2005-08-29 10:20:51 +00:00
Alexandre Julliard 6c6a5729d9 Don't try to initialize the 16-bit thunking code if 16-bit support is
disabled.
2005-08-27 10:18:03 +00:00
Alexandre Julliard 73cb76542f Rewrote Get/SetHandleInformation to call the corresponding ntdll
functions.
2005-08-23 18:20:59 +00:00
Ivan Leo Puoti e5131213f6 Let DeviceIoControl call the appropriate native interface. 2005-08-22 14:08:39 +00:00
Gerald Pfeifer ebe0484d1a Prefer sys/limits.h over machine/limits.h. 2005-08-22 09:33:37 +00:00
Phil Krylov 8b226cb921 Fixed InterLocked* function definitions for non-x86 platforms in
accordance with the recent corresponding change of their declarations
in winbase.h.
2005-08-22 09:23:32 +00:00
Marcus Meissner 6c2eae254f Protect GlobalAddAtomA string handling by exception handler (for
broken programs).
2005-08-19 15:20:06 +00:00
Gerald Pfeifer 523fef0c77 Enable SCSI_getprocentry() on non-Linux platforms which now should be
safe to do.
2005-08-19 09:58:40 +00:00
Ivan Leo Puoti aab12f5f7c Implement FSCTL_PIPE_DISCONNECT in NtFsControlFile and make
DisconnectNamedPipe call it.
2005-08-18 10:59:26 +00:00
Saulius Krasuckas abfe0f2f72 Test passing NULL source to WideCharToMultiByte. 2005-08-18 10:50:46 +00:00