Commit Graph

134 Commits

Author SHA1 Message Date
Jim Aston 031f4faaff Fixed compiling with STRICT. 1999-10-23 19:00:02 +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
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
Alexandre Julliard 94822425f0 Fixed memory allocation bug. 1999-09-22 15:18:52 +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
Alexandre Julliard 891305b980 Removed __winelib flag. 1999-09-05 16:48:16 +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 c50a1d05de Adapted to new-style Wine thunks.
Removed some now unnecessary function pointers.
1999-08-15 12:45:01 +00:00
Ulrich Weigand 8dbffe70fb Removed MODULE_GetWndProcEntry16().
Use 32-bit window procedures in COMMDLG instead.
1999-07-24 10:27:58 +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
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
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
Ulrich Weigand d523e4dbe6 Consult ne.operating_system field for NE files in GetBinaryType(). 1999-06-07 17:37:43 +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 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 6315a7f334 Fix swapped FreeLibary return values. Handle FreeLibrary( 0 ) better.
Fix DLL_PROCESS_DETACH call sequence bugs resulting from nested
FreeLibrary calls.
1999-05-22 10:44:39 +00:00
Ulrich Weigand fdd6429632 Release Win16Lock when calling LoadLibrary32 from 16-bit code. 1999-05-17 15:00:13 +00:00
Alexandre Julliard 4cd0776938 Use OpenFile() to test for file existence, so that the path gets
searched.
1999-05-09 16:05:08 +00:00
Ulrich Weigand 6ce4006137 Bugfix: release Win16Lock in WinExec16, CallProc[Ex]32W_16. 1999-05-03 09:22:55 +00:00
Alexandre Julliard 481a8e263c Bug fixes. 1999-05-03 08:58:25 +00:00
Alexandre Julliard 06c275a643 Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Guy Albertelli 4f6d7f38dc Fix CreateProcessA to implement correct actions on ambiguous command
line names (try longer and longer strings).
1999-05-02 10:17:31 +00:00
Patrik Stridvall c7a8dde118 #pragma pack(?) changed to #include "*pack*.h" 1999-04-25 12:36:53 +00:00
Bertho Stultiens f4b6e82b84 Do not increment module refCount if self is loaded from within
DllEntryPoint during the attach notification.
1999-04-22 08:56:40 +00:00
Bertho Stultiens af5745f504 Attach notifications must be send after all recursive dependencies are
loaded and not before.
1999-04-19 16:32:31 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Bertho Stultiens c1d1cfe976 Reorganization of the loader to correctly load and free libraries and
implementation of load order to load different types of libraries.
1999-04-18 12:14:06 +00:00
Kevin Holbrook a8f8bef098 Fix ambiguous else warning. 1999-04-18 09:33:20 +00:00
Bertho Stultiens 1b34697ad3 FreeLibrary partial implementation. 1999-04-11 14:52:24 +00:00
Marcus Meissner 574ef76b9f Added some SetLastError()s in GetProcAddress() and LoadLibrary(). 1999-04-03 16:23:47 +00:00
Ulrich Weigand 6903156eb5 Allow NULL NE resource handler; call the default handler directly.
Removed WPROCS / Callbacks support for WineLib resource handlers.
1999-04-01 10:08:21 +00:00
Jess Haas 1ff60f3451 Fixed CreateProcessA so it can handle commandlines with arguments and
no .exe.
1999-03-28 15:00:44 +00:00
Ulrich Weigand e469a583ca Fixed sequence of DLL_PROCESS_DETACH notification calls.
Moved PE_MODREF flags to WINE_MODREF level.
Better handling of LoadLibraryEx flags.
PE_InitTls() changed to work only on the current thread.
1999-03-27 16:45:57 +00:00
Ulrich Weigand 0092390cd6 Bugfix: cope with quoted arguments for CreateProcess(). 1999-03-22 17:47:36 +00:00
Sergey Turchanov 5ffd2df797 Implementation for FreeLibraryAndExitThread.
Made GetBinaryType = GetBinaryTypeA.
1999-03-22 12:35:48 +00:00
Alexandre Julliard f016752b45 Changed process initialisation to use the new server requests.
Started to move the process init to the right context, not finished yet.
1999-03-21 19:26:25 +00:00
Ulrich Weigand 892627b12b Pass CreateProcess() SECURITY_ATTRIBUTES through to PROCESS_Create(). 1999-03-16 16:29:26 +00:00
Peter Ganten 4e5b11680f Fix CreateProcess to handle lpCommandline better. 1999-03-13 17:05:39 +00:00
Ulrich Weigand 1b938b1817 Adapted to cursor/icon handling changes. 1999-03-10 14:03:06 +00:00
Ulrich Weigand aa23b0bd63 Bugfix: Allow lpCommandLine == NULL in CreateProcess(). 1999-03-10 13:28:54 +00:00
Andreas Mohr e518f4743c Added support for quoted file names in CreateProcess(). 1999-02-28 19:28:44 +00:00
Ulrich Weigand 6e0d38603e Process creation sequence reorganized:
- Removed instance data segment for all but NE modules.
- Check binary type in CreateProcess before loading module.
- Unix process creation moved from WinExec to CreateProcess.
- Bugfix: fill in thdb->teb.htask16 member correctly.
1999-02-28 11:14:32 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Ulrich Weigand 1d90d69f08 Modified process creation sequence: call PE_CreateModule in the
context of the new process (in TASK_CallToStart).
Changed all PE/Module routines so as to always operate on the current
process; adapted all callers.
1999-02-24 14:27:07 +00:00
Marcus Meissner 317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Alexandre Julliard 8da12c43a9 Group commit for recovery after disk crash.
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +00:00
Michael Veksler ca1bc866cf Moves more stuff from windows.h.
- include/winuser.h - interface relevant to user32.spec
- include/wine/winuser16.h - the old 16 bit interface (internal use)
- include/winbase.h - some minor updates to keep things coherent.
- Lot of other files made to include wine/winuser16.h, which is no
  longer included from windows.h
1999-01-01 18:57:33 +00:00
Alexandre Julliard f8e741bcbe Take into account handle inheritance flag. 1999-01-01 16:53:11 +00:00