Commit Graph

687 Commits

Author SHA1 Message Date
Alexandre Julliard 8fb98a41e0 Added wine_ldt_is_system() to replace the IS_SELECTOR_SYSTEM macro,
and stop exporting the WINE_LDT_FIRST_ENTRY constant.
2003-11-17 20:12:56 +00:00
Alexandre Julliard e983652363 Moved a number of DOS definitions out of the global headers and into
winedos private files. Removed the msdos.h header.
2003-11-15 00:13:20 +00:00
Alexandre Julliard 4044372596 Moved winedos loading functionality to dlls/kernel/instr.c and get rid
of msdos/dpmi.c.
2003-11-14 21:08:39 +00:00
Jon Griffiths 998cdd650a Fix a crash in GetLocaleInfo() when extra high bits are set. 2003-11-14 20:59:03 +00:00
Eric Pouech 8ca6cadab1 - moved the remaining of int21 calls to dlls/winedos
- disabled drive enabling/disabling as well as disk serial number
  writing (for DLL separation issues)
- added volume management prototypes to include/winbase.h
- started DefineDosDevice (needed by first item in this list)
- removed int21 specific code from dlls/kernel
2003-11-14 04:54:39 +00:00
Alexandre Julliard 55b51eabdf Removed instance.h and callback.h, moving their contents to
kernel_private.h.
2003-11-13 21:04:01 +00:00
Alexandre Julliard 7999469e7d Moved memory/environ.c, memory/virtual.c and misc/cpu.c to
dlls/kernel.
Get rid of the memory/ directory.
2003-11-13 20:58:55 +00:00
Alexandre Julliard daeccba704 Moved the exec_wine_binary function to the wine library, and use it to
exec the wineserver too.
2003-11-11 22:21:29 +00:00
Andreas Mohr 34ed04f1fa Don't include build number in GetVersion() for Win9x versions. 2003-11-11 22:00:14 +00:00
Alexandre Julliard 50fba7ffec Moved the remaining SYSDEPS_* functions to the wine_pthread interface.
Let the pthread library allocate the stack itself.
2003-11-09 01:25:23 +00:00
Francois Gouget ed27249038 Fixed buffer overflow.
Fixed two -Wwrite-strings warnings (but there are more).
2003-11-09 00:30:36 +00:00
Alexandre Julliard b9efd4afcb Moved loader/module.c to dlls/kernel. 2003-11-06 01:09:58 +00:00
Alexandre Julliard 8574412e1e Added wine_pthread_create_thread and wine_pthread_exit_thread to the
pthread support, and removed the corresponding SYSDEPS functions.
Moved stack allocation for new threads to wine_pthread_create_thread
to allow more flexibility.
2003-11-05 23:31:11 +00:00
Alexandre Julliard 063cff8686 Use the signal stack pointer to determine the current thread.
Converted the SIGUSR2 handler to use setup_exception (probably still
not working properly).
2003-11-05 00:52:29 +00:00
Alexandre Julliard 47f62a402a Set %fs and %gs in the register context to their current value when
calling 16-bit code.
2003-11-05 00:46:44 +00:00
Alexandre Julliard 7924f421e9 Allocate the TEB and signal stack separately from the main stack.
Dynamically allocate the initial TEB too so that it is properly
page-aligned.
2003-11-04 04:50:18 +00:00
Mike McCormack 7e1f38034c Stubs for job control. 2003-11-03 22:12:15 +00:00
Dmitry Timoshkov 99e3e6f88b Replace 28591 by 28605 (euro) for appropriate locales. 2003-10-31 03:40:08 +00:00
Alexandre Julliard 7370f60120 Implemented RtlCreateUserThread, and use it to move thread creation to
ntdll.
2003-10-31 00:16:20 +00:00
Mike McCormack 0b28472010 Added a test for mailslots. 2003-10-30 23:24:12 +00:00
Mike McCormack c854f9eba8 Return more sane mailslot error values. 2003-10-30 23:08:23 +00:00
Mike McCormack 6a83224eb3 Fix incorrectly sized buffer. 2003-10-30 23:06:10 +00:00
Alexandre Julliard 59022e5818 Restored emulation of protected instructions in 32-bit code when
running with a Win9x version.
2003-10-28 21:57:24 +00:00
Francois Gouget f405629e8e Weekly spelling fixes. 2003-10-28 21:45:30 +00:00
Alexandre Julliard 54b1d87daf Implemented Add/RemoveVectoredExceptionHandler. 2003-10-28 21:22:50 +00:00
Uwe Bonnes 143f075335 FormatMessageW: Allocate anough space. 2003-10-28 21:09:32 +00:00
Alexandre Julliard 55f2dac059 Fixed typo that broke handling of .com and .bat files. 2003-10-28 00:31:52 +00:00
Shachar Shemesh 9f42d25134 Updated Hebrew resources. 2003-10-27 22:02:06 +00:00
Alexandre Julliard 2e4f0bc9ba Use sigsetjmp instead of setjmp in Wine internal exception handlers to
make sure the signal mask is restored properly.
2003-10-24 04:30:13 +00:00
Alexandre Julliard f9df57d94d Call the application entry point from kernel32, some apps depend on
that.
2003-10-24 00:32:36 +00:00
Jon Griffiths 13a5d6e627 Added tests for FoldStringA/W. 2003-10-24 00:26:18 +00:00
Jon Griffiths 4938f6b993 Implemented FoldStringA (using W version).
Documentation updates.
2003-10-24 00:24:46 +00:00
Alexandre Julliard 8824c38e9e Simplified signal stack allocation a bit, and avoid allocating it on
non-i386 platforms.
2003-10-22 03:26:53 +00:00
Ferenc Wagner 4b28f0f9c6 Account for unique NT4 behaviour.
Better error message.
2003-10-21 23:42:50 +00:00
Alexandre Julliard 2aa8a8390a Replaced a few more 0xffffffff by the appropriate constants. 2003-10-16 19:31:11 +00:00
Alexandre Julliard bbc5242fbc Fixed handling of relay and snoop include/exclude lists to behave as
documented (based on a patch by Rein Klazes).
2003-10-16 00:24:49 +00:00
Alexandre Julliard 8f751bcb40 Print thread id in snoop traces. 2003-10-16 00:23:51 +00:00
Jon Griffiths 8c4ef67452 Implemented FoldStringW. 2003-10-15 20:57:49 +00:00
Alexandre Julliard 49a0224fb3 Get rid of the drive codepages and use CP_UNIXCP instead. 2003-10-15 03:47:53 +00:00
Alexandre Julliard a3c45689b4 Moved codepage functions to dlls/kernel.
Changed initialisation of the locale functions so that CP_UNIXCP works
as soon as possible during kernel32 init.
2003-10-14 05:32:30 +00:00
Oleg Prokhorov de12a97041 Another portion of HeapReAlloc fixes. 2003-10-14 05:24:20 +00:00
Jukka Heinonen 46f29944c3 Remove races from DPMI async event handling. 2003-10-14 05:20:34 +00:00
Alexandre Julliard e55d5937ac Set or clear the BeingDebugged flag in the PEB when a debugger is
attached to or detached from a process.
Don't send exception events to the server unless a debugger is
present.
2003-10-14 01:30:42 +00:00
Alexandre Julliard 0b1a82aa5e Added check for pthread.h (reported by Steven Edwards).
Removed init_done check, the process heap is now created before kernel
is loaded anyway.
2003-10-14 01:27:31 +00:00
Alexandre Julliard aff0343da5 Update __wine_main_argc after option processing. 2003-10-11 05:26:31 +00:00
Dimitrie O. Paun fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Alexandre Julliard a6ed49ade3 Don't reference the environ global variable from kernel32, it may fail
to link (reported by Gerald Pfeifer).
2003-10-10 23:33:21 +00:00
Alexandre Julliard 7196724ad0 We can now use the standard DllMain as entry point. 2003-10-10 00:50:56 +00:00
Alexandre Julliard 21066d0d44 Link kernel32 as a normal dll. 2003-10-10 00:23:47 +00:00
Alexandre Julliard 410e6b7b39 Changed the init code to make libwine load only ntdll and transfer
control to it, and then have ntdll load kernel32 using the normal
loader mechanisms.
Get rid of BUILTIN32_LoadExeModule.
2003-10-10 00:12:17 +00:00