Alexandre Julliard
2ec34e48a3
Added TASK_GetPtr/TASK_GetCurrent functions to get the TDB for a task
...
handle.
2001-04-04 00:21:05 +00:00
Alexandre Julliard
b9c9cdc5d4
- Added support for app-specific dll overrides using
...
AppDefaults\<appname>\DllOverrides configuration section.
- Better support for multiple --dll options.
- Added warning message to discourage putting multiple dlls in a
single override entry.
2001-03-20 02:11:08 +00:00
Alexandre Julliard
9ee9efff1b
Use the standard CreateThread routine to create 16-bit tasks instead
...
of duplicating the code.
2001-02-28 05:29:50 +00:00
Alexandre Julliard
67a749999a
New set of macros for server calls; makes requests without variable
...
part somewhat faster.
2001-02-27 02:09:16 +00:00
Gerard Patel
ad8ef99f57
Fix the cmdline argument passed to NE_CreateThread to include string
...
length.
2001-01-21 21:09:44 +00:00
Ulrich Weigand
16a9a2d730
Don't call a NE DLL's DllEntryPoint twice during one single
...
LoadModule() call.
2001-01-15 22:20:50 +00:00
Alexandre Julliard
4f2df51f7a
Replaced GLOBAL_Alloc by GlobalAlloc16 where possible.
2001-01-15 20:13:43 +00:00
Alexandre Julliard
7d5bc5c3f9
Removed some direct accesses to the 16-bit task structure.
2001-01-15 20:09:09 +00:00
Gerard Patel
a77fd7df9d
Added a specific debug channel for dll loading (builtin/native).
2001-01-10 22:54:02 +00:00
Alexandre Julliard
105b0f4e64
Use the exe name and file handle we got from the server also when
...
starting Win16 or DOS programs, to avoid depending on the contents of
the command-line.
2001-01-06 01:55:49 +00:00
François Gouget
da2b6a9f26
Fixed some HFILE vs. HANDLE mismatches.
...
If not used the last parameter of CreateFile must be 0, not -1.
2001-01-06 01:29:18 +00:00
Alexandre Julliard
8081e5a1e5
Added handle_t type to server interface so that we can make handles
...
pointers later on.
Always use 0 to signal invalid handle in server requests.
2001-01-05 04:08:07 +00:00
Ulrich Weigand
acefd16bee
Prevent unaligned access to NE in-memory module data.
2000-12-29 05:09:15 +00:00
Alexandre Julliard
d549f6909e
Use a separate FIFO pair for server requests that don't need to pass a
...
file descriptor.
Associate file descriptors with handles on the server side so that we
don't need to pass the fd every time the client wants to use it.
2000-12-22 02:04:15 +00:00
Alexandre Julliard
982a223f36
Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
...
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Alexandre Julliard
a67369ea00
Changed LoadImage16 to take an LPCSTR instead of a SEGPTR.
2000-12-12 00:48:06 +00:00
Alexandre Julliard
becb9a353b
Moved all Wine internal definitions out of process.h.
2000-12-11 03:48:15 +00:00
Aric Stewart
e4d09327ef
Added ASCII-only version of toupper, tolower, strcasecmp and the like
...
for file and module I/O.
2000-12-03 03:14:29 +00:00
Patrik Stridvall
b5e5555c7c
Fixed Win16 documentation not fixed because of a bug in winapi_check.
2000-12-01 23:54:51 +00:00
Alexandre Julliard
ef57e18f99
Removed some unnecessary includes.
2000-12-01 21:32:55 +00:00
Alexandre Julliard
7afce0e6d6
Moved the few remaining functions in wprocs.dll to kernel.dll.
...
No longer load wprocs.dll unconditionally.
Restored default interrupt handler behavior (reported by Andreas Mohr).
2000-12-01 21:25:31 +00:00
Alexandre Julliard
32fcfc24ae
Removed "elfdll" load order option and updated documentation.
2000-11-30 01:15:30 +00:00
Alexandre Julliard
e296bf3717
Renamed CallTo16* functions to wine_call_to_16* and export them from
...
kernel32.spec.
2000-11-29 19:39:30 +00:00
Alexandre Julliard
24a62ab9b0
Got rid of the Wine internal lstrcpy* functions and of winestring.h.
2000-11-28 22:40:56 +00:00
Dimitrie O. Paun
529da54394
Require {DECLARE,DEFAULT}_DEBUG_CHANNEL statements to end in a ;
2000-11-27 23:54:25 +00:00
Alexandre Julliard
5ce902b0b9
Implemented DosFileHandleToWin32Handle, Win32HandleToDosFileHandle and
...
DisposeLZ32Handle and use them to replace file.c internal functions.
Renamed WOW* functions into K32WOW*.
2000-11-27 21:59:08 +00:00
Alexandre Julliard
ab687979fd
Moved standard syslevel APIs declaration to winbase.h.
...
Use exported syslevel function wherever possible.
Moved SEGPTR declaration to windef16.h.
2000-11-15 23:41:46 +00:00
Alexandre Julliard
914406f854
Moved LDT handling to libwine.so. Changed the interface to use the
...
exported LDT_ENTRY structure.
2000-11-14 01:54:49 +00:00
Alexandre Julliard
908464d448
Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
...
Various warning fixes.
2000-11-01 03:11:12 +00:00
Alexandre Julliard
15bfcd0398
Moved $(MODULE).o rule out of Make.rules into the individual
...
Makefiles.
2000-09-29 00:28:25 +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
072dfb57e3
Removed inclusion of wine/winestring.h from winbase.h and added it to
...
the C files that need it.
2000-09-25 23:30:56 +00:00
Ulrich Weigand
a761e3dad0
Modified CallTo16Register routines to update register context after
...
call returns. Callers adapted.
2000-09-13 20:29:44 +00:00
Andreas Mohr
c4a264428b
Fixed NE_LoadExeHeader error handling.
2000-09-10 03:14:36 +00:00
Alexandre Julliard
9c2370bd75
Added exception handling wrapper to a number of server requests.
...
Changed a few requests to use the new vararg mechanism.
2000-08-30 00:00:48 +00:00
Peter Ganten
c7c4246a99
- Always store the full path name of 32bit modules in WINE_MODREF
...
- Add the possibility to use path names with the --dll command line
option
- Add the possibility to use the --dll command line option several
times.
- Note: The colon-sign is now exchanged with the plus-sign, as it is
part of dos path names.
2000-08-28 21:33:28 +00:00
Andreas Mohr
349655636b
- made the MIDI sequencer error message much better for confused users
...
to be found on #WineHQ
- use strerror instead of errno at important places
- got rid of HAVE_STRERROR macro
- removed some #include:s (hopefully I didn't break anything)
2000-08-26 20:31:48 +00:00
Alexandre Julliard
dcd247e55f
Moved CharUpper* and CharLower* functions to dlls/user.
2000-08-14 17:39:15 +00:00
Alexandre Julliard
c7e7df8b17
Replaced all lstr* calls from inside Wine code by their str* equivalent.
2000-08-14 14:41:19 +00:00
Alexandre Julliard
198746d812
Replaced global Callbacks structure by appropriate glue code
...
generation. Removed a few unused entries in the Callout structure.
2000-08-14 14:29:22 +00:00
Alexandre Julliard
32936f0e48
Fixed resource functions to work with 32-bit modules that don't have a
...
16-bit counterpart (necessary for LOAD_LIBRARY_AS_DATAFILE support).
2000-08-07 23:50:00 +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
cb10fdab99
Replaced lstrlen/lstrcmp by libc equivalents everywhere we don't need
...
to trap exceptions.
2000-08-06 02:41:16 +00:00
Alexandre Julliard
99e1e8106c
Return the proper error code when a 16-bit task failed to start
...
(thanks to Peter Ganten).
2000-07-26 18:03:43 +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
6f83a5ee8f
Doc and trace updates.
2000-07-16 15:43:07 +00:00
Alexandre Julliard
13c965cc9f
Make sure GetModuleFileName16 does not return garbage even if the path
...
is not valid (thanks to Andreas Mohr).
2000-06-10 04:45:52 +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
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