Andreas Mohr
6a2a2ebc71
Make sure that we skip tasks with missing hInstance.
2000-10-02 22:16:34 +00:00
Alexandre Julliard
afb49ead82
Moved a bunch of routines to kernel32.dll (with the help of
...
Dimitrie O. Paun).
2000-09-29 20:48:04 +00:00
Alexandre Julliard
d8fab2e67c
Removed some of the XXX_reg macros now that we are using the standard
...
CONTEXT86 structure everywhere.
2000-09-25 23:53:07 +00:00
Alexandre Julliard
770eb51ed5
Moved most global data out of the LPDOSTASK structure.
...
Allocate DPMI real-mode segments globally at startup.
Try to allocate DOS memory at address 0.
2000-09-24 20:47:50 +00:00
Alexandre Julliard
7bbba4f9ce
Removed calls to ConvertToGlobalHandle and MakeCriticalSectionGlobal.
2000-08-26 21:18:36 +00:00
Andreas Mohr
62f3eaa782
Transform every ERR() to WARN() in MakeProcInstance.
2000-08-21 20:16:26 +00:00
Alexandre Julliard
52900c818f
Make PDB, ENVDB and STARTUPINFO global variables.
...
Added 'module' field in PDB, and removed Wine-specific fields.
2000-08-09 22:33:42 +00:00
Alexandre Julliard
081ee94117
- Fixed resource functions to work directly from the HMODULE instead of
...
requiring a modref.
- Attempted to get LOAD_LIBRARY_AS_DATAFILE right (based on patches by
Eric Pouech and Dusan Lacko).
- Simplified modref structure and handling.
2000-08-07 04:12:41 +00:00
Alexandre Julliard
15aef00f29
Skip quoted program name when building command line.
2000-07-31 21:02:53 +00:00
Ove Kaaven
3bbd167a46
Removed usage of obsolete pModule->lpDosTask.
2000-07-30 13:27:08 +00:00
Alexandre Julliard
b18dbd26c5
Perform NE_InitProcess in the context of the new task.
2000-07-25 12:11:53 +00:00
Andreas Mohr
2caee712a2
Spelling fixes.
2000-07-16 15:44:22 +00:00
Alexandre Julliard
8fe0551aa3
Removed a few unnecessary includes.
2000-06-08 04:57:58 +00:00
Ulrich Weigand
7e85ea7c86
Moved stack switch handling (large stack) to sysdeps.c
...
Enable exception dispatch while on large stack.
2000-06-04 01:35:43 +00:00
Alexandre Julliard
0211d70a15
Make sure initial task is not marked as 32-bit.
2000-05-30 19:46:11 +00:00
Alexandre Julliard
c192ba2468
Exec a separate wine binary for every win32 process so that they run
...
in separate address spaces.
Run 16-bit tasks as Win32 threads, not processes.
2000-05-29 21:25:10 +00:00
Ulrich Weigand
f2f0927eb3
Fixed initialization of INSTANCEDATA in InitTask().
2000-05-19 03:40:22 +00:00
Bernd Herd
4d05761958
Make sure hInstance is a proper global handle and not a selector
...
value.
2000-05-11 00:10:36 +00:00
Alexandre Julliard
180a088beb
Moved PE header definitions to winnt.h where they belong.
2000-04-18 11:58:24 +00:00
Patrik Stridvall
2d6457c11a
Added/fixed some documentation reported by winapi_check.
2000-03-28 20:22:59 +00:00
Alexandre Julliard
9a0e28f153
Fixed a couple of file descriptor leaks.
...
Always call USER signal proc in the right context.
Cleaned up THREAD_Create.
2000-03-25 19:14:37 +00:00
Andreas Mohr
45b5bcf65b
Several fixes to MakeProcInstance.
2000-03-07 12:22:35 +00:00
Alexandre Julliard
67a24c8cfb
Store the handle of the process exe file in the server.
...
Removed PROCESS_Initial().
2000-02-18 21:54:32 +00:00
Ulrich Weigand
fa5647ab33
Fixed race between Win16 parent and child for first rescheduling
...
of child process. This fixes WinExec returning too early.
2000-01-17 22:21:29 +00:00
Francois Gouget
baa9bf9a23
Buffer overflows and strncpy fixes.
1999-12-27 05:24:06 +00:00
Dimitrie O. Paun
dd03cc19fd
Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
...
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Ulrich Weigand
979000e038
Call 16-bit instead of 32-bit UserSignalProc entry point.
...
Don't load USER32.DLL unless requested by the program.
Bugfix: Pass the correct thread ID to UserSignalProc.
1999-12-05 02:48:53 +00:00
Niels Kristian Bech Jensen
1d5bc469cc
Removed extra #include statements.
1999-11-21 02:14:36 +00:00
Uwe Bonnes
f959be9c97
Ignore wrong hInstance.
1999-10-23 19:47:55 +00:00
Ove Kaaven
f45608f639
Winsock rewrite. Sockets are now proper win32 handles.
...
Internal structures are now really internal.
1999-10-23 16:53:34 +00:00
Ulrich Weigand
c44ab1f0fd
Don't create thunk for task signal proc, call it directly.
1999-09-20 18:48:29 +00:00
Ulrich Weigand
a2d5bb393a
Bugfix: Improved GetCodeHandle16 / GetCodeInfo16.
1999-09-20 15:30:27 +00:00
Ulrich Weigand
3df3e5372f
Bugfix: restore STACK16FRAME fields in SwitchStackBack16.
1999-08-18 18:24:08 +00:00
Ulrich Weigand
c50a1d05de
Adapted to new-style Wine thunks.
...
Removed some now unnecessary function pointers.
1999-08-15 12:45:01 +00:00
Alexandre Julliard
a1089c59b9
Made stack manipulation macros into inline functions.
...
Changed a few accesses to context registers to avoid potential
aliasing optimization problems.
1999-08-01 12:51:55 +00:00
Ulrich Weigand
081daf7d21
Implemented KERNEL.447 (WIN32_OldYield16).
1999-07-31 17:27:38 +00:00
Ulrich Weigand
4d550350f3
Bugfix: Install task-entry breakpoint *after* EXE module is initialized.
1999-07-30 18:05:07 +00:00
Ulrich Weigand
cfa977d9da
Fixed bugs introduced by 'register' and 'return' function changes.
1999-07-12 13:39:10 +00:00
Alexandre Julliard
4220b29be9
Take advantage of the new registers saved in the STACK16FRAME to turn
...
some 'register' functions into normal functions.
Removed the few remaining 'return' functions to simplify relay
handling.
1999-07-11 17:20:01 +00:00
Marcus Meissner
e32a317b76
Removed the old, historical and no longer working IPC support.
1999-07-11 14:13:56 +00:00
Ulrich Weigand
a3afeef325
Fix InitTask() to work if DGROUP was manually resized.
1999-07-10 10:18:26 +00:00
Ulrich Weigand
3c717e437c
Bugfix: TASK_CallToStart didn't pass correct hInstance to app.
1999-07-03 15:36:45 +00:00
Ulrich Weigand
fbea530884
On NE process creation, move major part of NE EXE module loading and
...
NE instance creation into the child process.
1999-07-03 12:26:29 +00:00
Alexandre Julliard
617955db88
Changed CONTEXT into CONTEXT86 everywhere we really want an i386
...
context.
Added #ifdef __i386__ around accesses to 386 registers in the generic
CONTEXT structure.
1999-06-26 18:40:24 +00:00
Patrik Stridvall
1ed4ecffa8
ANSI C fixes.
...
Removed warnings.
Made the include files self-sufficient.
Some Solaris fixes.
1999-06-26 14:58:24 +00:00
Alexandre Julliard
0a860a01f9
Merged THDB and TEB structures.
...
Made SetLastError(), GetCurrentThreadId() and PROCESS_Current() inline.
1999-06-22 11:43:42 +00:00
Ulrich Weigand
ed49003188
16-bit scheduler reorganized: run all tasks in their own thread.
...
Process creation sequence adapted to new scheduler.
1999-06-06 14:47:50 +00:00
Alexandre Julliard
54a39e253c
Got rid of THREAD_InitDone.
...
Made THREAD_Current() inline.
Moved server tid into TEB.
1999-05-29 14:27:26 +00:00
Alexandre Julliard
bda3969d98
Removed process argument to PROCESS_CallUserSignalProc.
1999-05-24 15:01:05 +00:00
Ulrich Weigand
89fc6fda97
Moved WINSOCK network IO event handling to special thread.
...
Removed EVENT_WaitNetEvent, introduced a global scheduler event.
1999-05-24 08:13:02 +00:00