Commit Graph

1319 Commits

Author SHA1 Message Date
Mike McCormack f58e9f9e4b gcc 4.0 warning fixes. 2005-08-17 10:28:35 +00:00
Francois Gouget fae73a1090 Assorted spelling fixes. 2005-08-17 09:56:24 +00:00
Dmitry Timoshkov e3181e3fcc Report swap file total/free sizes to be the same as physical memory.
Make sure that we cache all calculated values.
2005-08-16 16:00:36 +00:00
Alexandre Julliard 19c1af5b01 Set the default system dir to windows/system32. 2005-08-15 14:53:35 +00:00
Mike McCormack 61aabd66f5 Warning fixes for gcc 4.0. 2005-08-15 10:49:39 +00:00
Vitaliy Margolen 131d3f1f90 Add entry for int 2 handler. 2005-08-15 09:42:36 +00:00
Francois Gouget bcd56fe0e5 Assorted spelling fixes. 2005-08-12 18:22:06 +00:00
Alexandre Julliard 646f17f249 Implemented DelayLoadFailureHook and use it in the winebuild-generated
delay load code.
2005-08-12 16:00:42 +00:00
Alexandre Julliard d4441f2817 Add the 16-bit system directory if any to the module search path. 2005-08-12 11:29:43 +00:00
Alexandre Julliard 5f226e55cb Make 16-bit task properly inherit the current directory of their
parent (based on a patch by Richard Cohen).
2005-08-11 18:36:36 +00:00
Frank Richter 59970a7c04 Fix a crash on startup when /proc/ide does not exist. 2005-08-11 17:05:47 +00:00
Alexandre Julliard e859359211 Added a wine_get_dos_file_name function in kernel32 as a wrapper
around the new wine_unix_to_nt_file_name.
2005-08-11 11:07:17 +00:00
Alexandre Julliard d05532e2d6 Directly use the PEB version fields in GetVersion. 2005-08-10 15:02:28 +00:00
Francois Gouget 840f594896 Add trailing '\n's to trace() call. 2005-08-10 14:42:48 +00:00
Alexandre Julliard 915aebb852 Moved the version initialization to ntdll.
Properly set the version fields in the PEB.
Removed some no longer used structures.
2005-08-10 13:12:27 +00:00
Francois Gouget 5a47bc246a Update the documentation to reflect the fact that the LZ* functions
are implemented in kernel32.dll now.
2005-08-10 13:00:38 +00:00
Richard Cohen 8cbf08b5d5 - Fix regression in GetPrivateProfileString16 for key=NULL.
- Check return values in Profile tests.
2005-08-10 12:59:38 +00:00
Alexandre Julliard 628939d567 Use the proper WOW functions everywhere instead of the K32WOW variant. 2005-08-10 10:59:19 +00:00
Vitaliy Margolen 6ce9a791ff Use /proc filesystem to create HKLM\HARDWARE\DEVICEMAP\Scsi entries. 2005-08-10 10:52:10 +00:00
Alexandre Julliard 475f2336cc Specify a base address for kernel and ntdll. 2005-08-09 11:19:01 +00:00
Gerald Pfeifer 7eb982a48d Fix autoconf-related #ifdefs in Comm_CheckEvents(). 2005-08-08 18:01:42 +00:00
Uwe Bonnes bd127b0338 More comm tests. 2005-08-03 15:43:46 +00:00
Uwe Bonnes 867f66ffe8 Implement WaitCommEvent by polling the appropriate data sources. 2005-08-03 15:43:17 +00:00
Alexandre Julliard dab980e0fc Implemented Get/SetDllDirectory. 2005-08-02 14:56:53 +00:00
Alexandre Julliard 57cd2df559 Fixed white space handling on the last line (reported by Jeremy
White).
Avoid parsing the same line twice when it contains trailing spaces.
2005-08-02 10:00:32 +00:00
Alexandre Julliard 4de75b5a6f Use the new RtlExitUserThread function instead of exporting
wine_server_exit_thread.
2005-08-02 09:55:40 +00:00
Alexandre Julliard 7be607f7c0 Added commented out stubs for a bunch of new functions. 2005-08-01 14:59:26 +00:00
Felix Nawothnig 71a03671b7 Fix sync tests on Win98/ME. 2005-08-01 10:57:13 +00:00
Felix Nawothnig 7c44e00699 Fix module tests on Win9x. 2005-08-01 10:57:04 +00:00
Felix Nawothnig 7eb81fabeb Fix comm tests on Win9x. 2005-07-30 19:04:30 +00:00
Felix Nawothnig 3ccc0a6265 Fix remaining thread tests on WinME. 2005-07-30 19:03:46 +00:00
Dmitry Timoshkov 5da1c0ada9 Implement EnumDateFormatsEx. 2005-07-28 10:47:53 +00:00
Dmitry Timoshkov 6f6d58b8b4 - Reimplement EnumTimeFormats, make it work for all available
locales.
- Add a test for EnumTimeFormats
2005-07-28 10:16:02 +00:00
Dmitry Timoshkov 8873d90f36 - Reimplement EnumDateFormats, make it work for all available
locales.
- Add a test for EnumDateFormats.
2005-07-27 15:15:02 +00:00
Paul Vriens 7b416af6ea Fix some tests for win9x and winME. 2005-07-27 10:51:45 +00:00
Steven Edwards 0cc138dc2e Move and forward lz32 functions to kernel32. 2005-07-25 11:08:30 +00:00
Felix Nawothnig 841b40896c Fix thread tests on WinME. 2005-07-25 11:07:54 +00:00
Vincent Béron 05b2c1cc81 Remove multiple declarations of the same function, keeping the public
one as reference.
2005-07-24 16:17:28 +00:00
Alexandre Julliard 8e21562903 Added small assembly wrapper to call entry points without having to
worry about their calling convention.
2005-07-22 19:50:13 +00:00
Francois Gouget bd19d67ad1 Assorted spelling fixes. 2005-07-22 09:06:03 +00:00
Felix Nawothnig f633a5ccf7 Convert long to short path in GetModuleFileName16. 2005-07-22 09:03:14 +00:00
Alexandre Julliard b676b62240 Register functions with no arguments should still be called as stdcall
because of the extra CONTEXT arg.
2005-07-21 11:09:26 +00:00
Dmitry Timoshkov e3d1a13b9c Add a test for handling overlapped buffers by WideCharToMultiByte. 2005-07-15 16:33:10 +00:00
Dmitry Timoshkov 1dc18952ae Use SIZE_T type for size variables in NTDLL when appropriate. 2005-07-15 10:01:30 +00:00
Alexandre Julliard 3be8cb8b02 Moved initialization of the default user process parameters to ntdll. 2005-07-14 12:33:30 +00:00
Alexandre Julliard 9ad5628639 Moved the server start time to the init_thread request and got rid of
the init_process request (based on a patch by Felix Nawothnig).
2005-07-14 10:32:46 +00:00
Alexandre Julliard 11ad6a0ac4 Return the startup info size in the init_thread request, and allocate
the process parameters structure in ntdll instead of kernel.
2005-07-13 19:43:35 +00:00
Alexandre Julliard 4391be583e Get rid of the boot_done request. 2005-07-13 14:20:13 +00:00
Alexandre Julliard 0424f38169 Already initialize the process in the first init_thread request
instead of waiting for the init_process request.
2005-07-13 12:12:43 +00:00
Alexandre Julliard 01caa5e645 Moved the fields that depends on startup info from the init_process
request to get_startup_info.
2005-07-12 20:27:09 +00:00
Alexandre Julliard 6aa0cc5e3c Load the HKEY_CURRENT_USER branch at server startup too. 2005-07-11 20:44:59 +00:00
Paul Vriens 0f394ae6dc Basic tests for LoadLibraryA and GetProcAddress. 2005-07-11 18:40:10 +00:00
Alexandre Julliard f315d8b0c4 A NULL module handle means 'main exe' in GetProcAddress too. 2005-07-11 18:39:49 +00:00
Uwe Bonnes 52978f67ac STATUS_TIMEOUT is no error for Read|WriteFile. 2005-07-11 14:23:46 +00:00
Robert Shearman 38ba5fe0e0 - Make the value returned from HeapSize always match the requested
size passed into HeapAllocate/HeapReAllocate.
- Add a test for this behaviour.
2005-07-11 13:20:40 +00:00
Alexandre Julliard 8bfe1dca03 The ordinal functions should not be exported by name. 2005-07-10 17:49:24 +00:00
Alexandre Julliard 2b33634018 Intercept functions for 16-bit relay debugging by patching the
CALLFROM16 table instead of having the wine_call_from_16 functions
call out the relay functions explicitly.
2005-07-05 12:52:07 +00:00
Alexandre Julliard e56d9deac4 Added vararg argument type so that the relay code can distinguish from
a normal cdecl function.
Don't rely on the relay thunk preserving the stack pointer.
2005-07-05 11:50:40 +00:00
Mike McCormack 713ca17b23 Fix some gcc 4.0 warnings. 2005-07-05 11:46:09 +00:00
Mike McCormack a2479eca44 Fix gcc 4.0 warnings. 2005-07-05 10:57:47 +00:00
Alexandre Julliard 1a0f2863db Moved all 16-bit relay code to the text section.
Changed a few symbol names for better consistency.
2005-07-03 11:28:44 +00:00
Mike McCormack b8fc783be2 Avoid warnings in generated tests by casting sizeof(x) to an int. 2005-07-03 11:23:30 +00:00
Alexandre Julliard 71914125ce Moved most of the implementation of CALL32_CBClient(Ex) to the C
code.
2005-07-01 16:24:32 +00:00
Francois Gouget 2b03aa6a6d Test the behavior of CreateDirectory() when it has one or two trailing
dots or spaces.
Tweak the previous CreateDirectory() tests so we get more information
in case of a failure.
2005-06-30 18:08:44 +00:00
Alexandre Julliard 34a9ab04b2 Get rid of the old config conversion code. 2005-06-29 19:22:02 +00:00
Uwe Bonnes 76dc856590 Added test cases. However most added tests need a loopback plug and
need to be enabled in the code.
2005-06-27 19:49:07 +00:00
Eric Pouech 0d2ea2a91c Implemented OpenThread on top of NtOpenThread. 2005-06-27 12:03:56 +00:00
Eric Pouech 6d68a03d4f Implemented OpenProcess on top of NtOpenProcess. 2005-06-27 11:12:11 +00:00
Eric Pouech a1deba5ab4 - OpenConsole: try to open the Unix console if we fail with wineserver
- kernel32: simplifying code for opening a console handle
- msvcrt: now correctly initializing the handles to the Windows
  console
2005-06-27 09:54:09 +00:00
Jacek Caban 6cb97534dc Fix test on NT 4. 2005-06-27 09:49:26 +00:00
Alexandre Julliard f51496a232 Remove some i386 ifdefs for 16-bit entry points since they are no
longer used by default on other platforms anyway.
2005-06-25 18:34:00 +00:00
Alexandre Julliard f84401aa17 Sort entry points in the same order as Windows. 2005-06-23 09:57:11 +00:00
Alexandre Julliard 60b3d30f9b Don't require execute permission for thread stacks. 2005-06-21 09:57:53 +00:00
Mike McCormack 78911f34d9 - avoid winternl.h depending on winbase.h
- define RTL versions of TIME_ZONE_INFORMATION and SYSTEMTIME
2005-06-20 18:37:17 +00:00
Stefan Huehner 9213d56ae0 Make some function static. 2005-06-20 15:35:54 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Mike McCormack 405ac7a80c - don't include winreg.h
- include kernel_private.h to get declaration for convert_old_config()
2005-06-20 10:40:37 +00:00
Marcus Meissner 94bc167ae4 Specify enough buffer for id[] (20 chars are not enough). 2005-06-17 20:54:29 +00:00
Mike McCormack 5b2d5fd758 Use HANDLE instead of HKEY in the NT API. 2005-06-17 13:58:33 +00:00
Alexandre Julliard 91c86bb546 Removed the DOS version option, specifying the Windows version should
be enough to achieve the same results.
2005-06-16 09:47:17 +00:00
Alexandre Julliard 302cd456c3 Moved debugging config options to HKCU\Software\Wine\Debug. 2005-06-14 19:23:00 +00:00
Alexandre Julliard 629352bdc4 Moved network configuration parameters to HKCU\Software\Wine\Network. 2005-06-14 17:22:41 +00:00
Mike McCormack 0f36d124a2 Fix warnings from -Wmissing-declarations. 2005-06-14 11:42:34 +00:00
Mike McCormack fc51a2680a Fix declaration warnings in the test cases. 2005-06-14 11:40:04 +00:00
Alexandre Julliard 2e4bca9db5 Added magic comments to all Wine-specific registry accesses to make
them easier to grep.
2005-06-13 18:56:00 +00:00
Alexandre Julliard c2d5b444b3 Moved the NONAMELESSUNION/STRUCT macros to wine/test.h so that they
can be used in all the test.
2005-06-13 12:10:54 +00:00
Felix Nawothnig 8b5c8f6d7f Add a workaround for Win9x apps which pass the parameters for
GetCurrentDirectoryA in wrong order.
2005-06-12 10:41:22 +00:00
Mike McCormack 950e5e626c Dependency fixes for winternl.h. 2005-06-10 19:33:47 +00:00
Uwe Bonnes 290a419f0a Don't try to access floppy if it's not mounted. 2005-06-09 09:42:49 +00:00
Alexandre Julliard bd000a0203 Removed some unnecessary inclusions of thread.h 2005-06-06 20:13:08 +00:00
Alexandre Julliard 0f079d7858 Moved the kernel per-thread data out of the TEB into a private
structure stored in TEB.SystemReserved1.
2005-06-06 20:00:14 +00:00
Alexandre Julliard 6ae4ee496e Fetch the stack selector to use from the previous stackframe instead
of the TEB.
2005-06-06 19:57:05 +00:00
Alexandre Julliard 6d07a9c39c Moved the server part of the ExitThread functionality to ntdll. 2005-06-05 18:38:48 +00:00
Alexandre Julliard 143db5ce8e Don't bother looking for a resource directory in free memory areas. 2005-06-05 18:28:04 +00:00
Alexandre Julliard 9b57a950d7 Avoid accessing the htask16 TEB field from ntdll. 2005-06-05 18:24:35 +00:00
Mike Hearn 0aab090838 Suppress the noisy SetNamedPipeHandleState fixme. 2005-06-05 18:03:38 +00:00
Uwe Bonnes 80a84a8c74 Added more pipe tests. 2005-06-05 17:57:10 +00:00
Mike McCormack 6ef329fce7 Make sure that unused code gets compiled to avoid warnings. 2005-06-02 10:30:57 +00:00
Marcus Meissner 590aaaf454 Added stubs for GetVolumePathName(A,W). 2005-06-02 10:30:44 +00:00
Ivan Leo Puoti f0c62a89ea Added IDT emulation. 2005-05-31 13:28:42 +00:00