Niels Kristian Bech Jensen
1d5bc469cc
Removed extra #include statements.
1999-11-21 02:14:36 +00:00
Ulrich Weigand
61206bd8a0
Simplified hInstance creation/handling.
...
Fixes problems with self-loaders creating DGROUP themselves.
1999-11-21 00:50:30 +00:00
Ulrich Weigand
eb94c7d2c4
Adapted to new register function handling.
1999-11-13 23:54:04 +00:00
Alexandre Julliard
ec7bb2391d
Added support for CREATE_SUSPENDED flag in CreateProcess.
1999-11-12 03:35:25 +00:00
Ulrich Weigand
d024d5e942
Bugfix: LOAD_DLL_DEBUG_EVENT lpImageName parameter was incorrect.
1999-11-10 20:15:04 +00:00
Ulrich Weigand
e7957d6b48
Determine expected_version of PE buddies from the SubsystemVersion.
1999-11-10 19:45:56 +00:00
Marcus Meissner
38eae846bb
Fixed the relocation hack in PE_InitTls. Added some more for the other
...
pointerfields in the TLS entry. (With testing help from Jussi
Jumppanen <jussij@zeusedit.com>).
1999-11-07 22:29:18 +00:00
Francois Gouget
edf3e434b0
Added ICMP DLL implementation.
1999-11-07 21:22:17 +00:00
Alexandre Julliard
e582158788
Fixed -debugmsg +server.
1999-11-04 02:51:24 +00:00
Eric Pouech
abe722778f
Added built-in msacm.drv and midimap.drv drivers.
1999-10-31 02:23:49 +00:00
Patrik Stridvall
96336324cf
- Added missing configuration #if:s and #includes:s.
...
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Uwe Bonnes
6111ee6186
Return the size of the needed resource when buffer is NULL for LoadString().
1999-10-24 20:39:21 +00:00
Uwe Bonnes
f959be9c97
Ignore wrong hInstance.
1999-10-23 19:47:55 +00:00
Jim Aston
031f4faaff
Fixed compiling with STRICT.
1999-10-23 19:00:02 +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
c715dea0b2
Bugfix: don't use GetModuleHandle16 in LoadModule16/NE_CreateProcess.
1999-10-23 14:21:00 +00:00
Ulrich Weigand
8a64b83eb6
Bugfix: don't call ExitProcess() before SYSLEVEL_Init().
1999-10-23 14:15:33 +00:00
Eric Pouech
448b34a088
Correct filename for kernel module is KRNL386.EXE.
1999-10-13 16:02:40 +00:00
Alexandre Julliard
8c81b7439d
Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>
...
Removes extraneous comparison of data pointed to by the relocation
offset when no relocation entries exist.
1999-10-13 15:47:38 +00:00
Marcus Meissner
142d94e5b0
WPROCS.ENTRYADDRPROC needs to return something in CX too (fixes
...
BLINKER selfextracting executables).
1999-10-13 15:46:10 +00:00
Marcus Meissner
a19862fc47
Small hack to check if we need to relocate the TLS directory or not
...
(some seem to need this pointer relocateable, some already do relocate
it by themselves).
1999-10-13 13:46:24 +00:00
Ulrich Weigand
8c32184814
Bugfix: *Don't* resolve PE imports if asked not to ...
1999-10-13 12:22:47 +00:00
Ulrich Weigand
2a343853ad
Bugfix: When loading an executable module fails, don't perform module
...
cleanup before the corresponding task is destroyed.
1999-10-13 12:21:06 +00:00
Ulrich Weigand
79077f3253
Bugfix: Don't call GetVersionExA too early, to avoid breaking
...
automatic emulated Windows version detection.
1999-09-29 12:16:16 +00:00
Uwe Bonnes
20f7ef7355
Remember the allocated string to free it.
1999-09-28 13:08:36 +00:00
Ulrich Czekalla
e91d976e17
Fix integer based resource id assumption.
...
Add support for string based type ids.
1999-09-27 13:31:47 +00:00
Alexandre Julliard
3d06d20bab
Moved all signal support to a new platform-specific file.
...
Make use of the per-thread signal stack (Juergen Lock).
Fixed %fs in signal handler for non FS_sig case (Ulrich Weigand).
1999-09-27 10:58:45 +00:00
Alexandre Julliard
94822425f0
Fixed memory allocation bug.
1999-09-22 15:18:52 +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
f52e109dea
Set 'expected_version' of built-in and dummy modules according to
...
emulated Windows version.
1999-09-20 15:37:25 +00:00
Ulrich Weigand
3967b0912e
Make CallTo16 return stub segment owned by KERNEL.
1999-09-20 15:33:01 +00:00
Ulrich Weigand
a2d5bb393a
Bugfix: Improved GetCodeHandle16 / GetCodeInfo16.
1999-09-20 15:30:27 +00:00
Alexandre Julliard
891305b980
Removed __winelib flag.
1999-09-05 16:48:16 +00:00
Pierre Mageau
4ac8db783d
Changed CopyImage to accept desiredX, desiredY and LR_COPYFROMRESOURCE.
...
CURSORICON_FindBestIcon changed to find the correct icon.
ImageList_ReplaceIcon now calls CopyImage internally.
Assign a value for the hIconSm CLASS member (using CopyImage).
1999-09-04 11:16:48 +00:00
Huw D M Davies
8bd7585311
winspool -> winspool.drv
1999-09-04 11:05:41 +00:00
Eric Pouech
c672c00f8b
Do not remove .drv from filenames.
1999-09-03 12:36:20 +00:00
Ulrich Weigand
c3d9f28172
Moved implementation of WOW routines to single file.
...
Added all missing WOW routines, fixed WOWCallback16Ex.
1999-08-18 18:31:26 +00:00
Ulrich Weigand
3df3e5372f
Bugfix: restore STACK16FRAME fields in SwitchStackBack16.
1999-08-18 18:24:08 +00:00
Juergen Schmied
1e5f0fea9f
New internal dll, exporting already existing path functions.
1999-08-15 17:03:37 +00:00
Michael Karcher
a21fe34596
Make sure we have a dgroup before patching prologs.
1999-08-15 14:16:42 +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
89f079bfd1
Replaced a few calls to lstr* functions by their CRTDLL or libc
...
equivalent.
1999-08-08 18:54:47 +00:00
Alexandre Julliard
15de615276
Got rid of dsprintf and related macros.
1999-08-04 12:22:42 +00:00
Alexandre Julliard
7d8cfeb95c
Removed IP_reg, SP_reg and FL_reg definitions to avoid potential
...
aliasing optimization problems.
1999-08-01 14:58:01 +00:00
Alexandre Julliard
bdf83bc546
Removed SIGNAL_MaskAsyncEvents and cleaned up signal handling.
1999-08-01 14:54:16 +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
Alexandre Julliard
b375678277
Changed INSTR_EmulateInstruction to use a CONTEXT86 instead of a
...
SIGCONTEXT.
1999-08-01 12:15:12 +00:00
Ulrich Weigand
081daf7d21
Implemented KERNEL.447 (WIN32_OldYield16).
1999-07-31 17:27:38 +00:00
Andreas Mohr
5a08a0288a
Fixed the DSEG value in the SEGTABLEENTRY struct.
1999-07-31 13:11:22 +00:00
Huw D M Davies
5fce6fb707
Strip .drv extensions to MODULE_GetLoadOrder.
1999-07-30 18:06:35 +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
53477e49c5
GetModuleHandle16: treat Win32 modules correctly.
1999-07-30 17:55:44 +00:00
Ulrich Weigand
d0e15a6b72
Work around 'local extern declaration with attribute' gcc bug.
1999-07-25 11:22:20 +00:00
Ulrich Weigand
2f4bd6617f
Unify startup sequence for Wine and WineLib.
1999-07-24 12:20:24 +00:00
Ulrich Weigand
8dbffe70fb
Removed MODULE_GetWndProcEntry16().
...
Use 32-bit window procedures in COMMDLG instead.
1999-07-24 10:27:58 +00:00
Eric Pouech
1564a6ded8
Work around gcc sig11 fault.
1999-07-18 18:38:40 +00:00
Uwe Bonnes
e5266e8a44
Add WINAPI for EntryAddrProc.
1999-07-15 16:09:05 +00:00
Ulrich Weigand
5e59b1a5b4
Added support for 32-bit NE code segments.
1999-07-15 14:31:44 +00:00
Eric Pouech
5d04f652f6
Compiler warnings fix.
1999-07-12 13:41:20 +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
Howard Abrams
132774804e
Added checks for sys/errno.h, sys/signal.h and sys/mman.h.
1999-07-10 13:16:29 +00:00
Ulrich Weigand
7b81ed4a3c
Improved behaviour of GetModuleHandle16 w.r.t dummy modules.
...
Don't try to call WEP of dummy modules in FreeLibrary16().
1999-07-10 11:42:30 +00:00
Ulrich Weigand
a3afeef325
Fix InitTask() to work if DGROUP was manually resized.
1999-07-10 10:18:26 +00:00
Marcus Meissner
79a3f80008
Made string compare case insensitive in GetModuleHandle16() as a
...
quick fix for WinWord 6.
1999-07-10 10:12:43 +00:00
Joshua Thielen
a49bb2661d
Fixed DestroyAcceleratorTable and implemented CreateAcceleratorTableW.
1999-07-04 12:55:10 +00:00
Marcus Meissner
423813e30c
When enumerating resource, only use the lower 31 bit of the name as
...
the offset (for the highest bit is '1'). Should fix wine-net/257.
1999-07-04 12:44:29 +00:00
Marcus Meissner
623c0d6f94
some small include fixes, some checks for NULL ptrs,
...
loader/elf.c: fixed the "lib" insertion
crtdll: added fsopen()
dinput: return that we are attached.
1999-07-03 16:01:42 +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
Dave Pickles
fec232930b
Ensure that the command-line passed to the various *CreateProcess
...
functions contains the path to the program being invoked.
1999-06-26 11:48:26 +00:00
Uwe Bonnes
f1e1c3994c
NE_LoadFileModule: Free module when NE_LoadDLLs fails.
1999-06-26 10:19:14 +00:00
Alexandre Julliard
ebe29ef376
Further server optimizations:
...
- merged request and reply structures
- build requests directly into the buffer to avoid a copy
1999-06-26 08:43:26 +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
Alexandre Julliard
94eedf1df0
Use exceptions instead of ctx_debug_call.
1999-06-18 18:25:59 +00:00
Alexandre Julliard
1eeed68514
Moved signal handling to exception.c, generate exceptions on signals.
...
Added hook for debugger in exception handling (temporary).
1999-06-18 18:21:24 +00:00
Ulrich Weigand
5d617e5002
Fix compiler warning.
1999-06-18 16:59:37 +00:00
Marcus Meissner
1ab8907fce
Fixed ambigous else/brace problem, moved "name" computation in
...
CreateProcess _before_ outputting it in the FIXME_()s.
1999-06-13 08:39:04 +00:00
Ulrich Weigand
23f4b09cc3
Removed broken hack to support shared DLLs (e.g. USER32.DLL) and
...
replaced it by a somewhat less broken hack :-/
1999-06-13 08:34:42 +00:00
Alexandre Julliard
a099a555c3
Converted to the new debug interface, using script written by Patrik
...
Stridvall.
1999-06-12 15:45:58 +00:00
Patrik Stridvall
fdcfdb9a6d
Added missing/wrong includes.
1999-06-12 14:55:11 +00:00
Patrik Stridvall
4bf335497d
Removed direct references to CLASS internals.
1999-06-12 14:52:15 +00:00
Guy Albertelli
0e65b38ff3
Add new "walk" command options to list processes and modref's.
1999-06-12 10:49:36 +00:00
Eric Pouech
63c7cdf196
Made the service thread instanciable in every process.
1999-06-12 08:24:23 +00:00
Ove Kaaven
e78e1af43e
Various DPMI fixes and preliminary DPMI raw mode switch handler.
1999-06-12 08:09:52 +00:00
Ulrich Weigand
85bcb2e152
Release Win16Lock during PROCESS_Create.
1999-06-12 06:41:16 +00:00
Marcus Meissner
905884dcdd
Trying to fix sigaltstack() problem reported by Debian users.
...
SIGTRAP might be undefined (beos).
1999-06-07 17:43:47 +00:00
Ulrich Weigand
d523e4dbe6
Consult ne.operating_system field for NE files in GetBinaryType().
1999-06-07 17:37:43 +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
Ulrich Weigand
ad6657e334
Removed SERVICE_Exit().
1999-06-06 14:43:34 +00:00
Guy Albertelli
38d7da8d52
Use SearchPath to test for existance of programs in lpCmdLine
...
processing. For lpApplName do not append ".exe" and use
DOSFS_GetFullName to locate the program. Move module find process
after flag testing and provide quick exit if not found.
1999-06-06 09:04:29 +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
Gerald Pfeifer
61e18d463d
Fixed compilation erros on non-Linux systems.
1999-05-29 10:54:25 +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
Alexandre Julliard
d131a17ee0
Use the new debug functions to send debug events at appropriate places.
...
Pass the process creation flags to PROCESS_Create.
1999-05-23 20:02:04 +00:00
Ulrich Weigand
4698dc5677
Added UserRepaintDisable16().
1999-05-22 19:02:04 +00:00