Patrik Stridvall
01d5e5b071
Documentation fixes.
2001-07-02 19:59:40 +00:00
Alexandre Julliard
ed2f19a63f
Put AC_DEFINE symbols definitions directly in the configure script so
...
that we no longer need an acconfig.h. Cleaned up dlopen() tests a bit.
2001-06-27 21:42:00 +00:00
Patrik Stridvall
3ca9823941
Documentation ordinal fixes.
2001-06-20 23:03:14 +00:00
Patrik Stridvall
dae8de69e2
Documentation ordinal fixes (using winapi_fixup).
2001-06-13 20:13:18 +00:00
Alexandre Julliard
0ca9465f58
Removed unneeded inclusion of queue.h.
2001-06-07 22:29:33 +00:00
Alexandre Julliard
8ff37b8f31
Set low-order bit of module handle for LOAD_LIBRARY_AS_DATAFILE.
...
Cleaned up a few HMODULE/HMODULE16 mismatches.
2001-06-06 20:24:12 +00:00
Andreas Mohr
c2bc22b91c
Spelling fixes.
2001-05-24 18:44:25 +00:00
Andreas Mohr
9abd5530c8
Make snoop code take ordinal base into account.
2001-05-24 18:43:16 +00:00
Alexandre Julliard
a67e6486df
Removed THREAD_IsWin16.
2001-05-18 23:21:22 +00:00
Marcus Meissner
3f1ed52d8b
Implemented 64bit file size handling.
...
Removed several unneeded sys/stat.h includes.
2001-05-14 20:09:37 +00:00
Alexandre Julliard
2418edb101
Really free the memory on dll unload.
2001-05-10 19:17:54 +00:00
Francois Gouget
e17d1a3649
Print the tid in the first column when +tid is specified.
2001-05-08 00:13:38 +00:00
Alexandre Julliard
c9cf68d91b
Uncommented the VirtualFree call on dll unload.
2001-05-02 01:12:27 +00:00
Ove Kaaven
10b3402c43
Let LOAD_LIBRARY_AS_DATAFILE load the builtin dll if loading a native
...
DLL failed, so that winesetuptk's fake-windows installation work.
2001-04-16 19:32:48 +00:00
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
3e7497f20e
Unified 16-bit and 32-bit scheduling a bit more.
2001-04-04 00:19:55 +00:00
Alexandre Julliard
627c9073c7
Don't load user32 too early on for 16-bit apps, so that app-specific
...
config can be available while loading it.
2001-03-28 18:47:05 +00:00
Alexandre Julliard
fde1b0cb0c
Added "*" wildcard entry to DllOverrides to replace DllDefaults
...
section; this way it can also be specified on a per-app basis.
Removed compiled-in defaults for dlls mentioned in the sample config.
Update man page.
2001-03-21 20:33:11 +00:00
Alexandre Julliard
671da9f08e
Disable DONT_RESOLVE_DLL_REFERENCES for builtin dlls.
2001-03-21 03:38:44 +00:00
Dmitry Timoshkov
b77afe76b1
Allow loading of built-in dlls with LOAD_LIBRARY_AS_DATAFILE flag set.
2001-03-21 03:38:03 +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
Francois Gouget
3d0589ae7d
Fixed spelling/typos in comments.
2001-03-10 19:15:49 +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
Alexandre Julliard
ea2a9a8974
Removed a few Callout functions by doing a GetProcAddress at the time
...
we actually need the function.
2001-02-20 00:55:17 +00:00
Patrik Stridvall
0c61028734
Documentation ordinal fixes.
2001-01-25 22:22:21 +00:00
Jon Griffiths
4ab1558d8a
- Remove <string.h> from winnt.h.
...
- ntdll: complete crt functions, prevent libc imports, fix sscanf.
2001-01-22 02:17:29 +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
Alexandre Julliard
3556e1f87d
Display the importing dll in the 0xdeadbeef message.
2001-01-20 02:51:19 +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
Jon Griffiths
1db20bfd33
- Migrate CRTDLL to MSVCRT.
...
- Many fixes and a load of new functions.
2001-01-10 23:59:25 +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
Eric Pouech
c4c7324c45
Forced loading of msacm32 when msacm is loaded.
...
Added msacm DLL pair in config files.
Added some dumb calls from 16 to 32.
2001-01-06 01:23:11 +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
Ulrich Weigand
cc195924a6
Added check whether unaligned memory access is allowed.
...
Added macros to access unaligned WORDs / DWORDs.
2000-12-27 04:18:26 +00:00
Ove Kaaven
e5557b357a
Separated the MZ loader and core DOS VM into dlls/winedos.
2000-12-26 00:22:45 +00:00
François Gouget
55146dbe18
Fixed a few type clashes in preparation for the switch to STRICT.
2000-12-24 20:33:01 +00:00
Alexandre Julliard
e441d3c4e1
No longer try to load builtin library when loadorder is 'so'.
2000-12-22 22:50:12 +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
5801723b50
Replaced WIN16_GlobalLock16 by "official" function K32WOWGlobalLock16.
2000-12-22 01:09:26 +00:00
Alexandre Julliard
014a8bb1e3
Do not call thread attach/detach routines during process exit to avoid
...
potential deadlocks.
2000-12-20 18:41:34 +00:00
François Gouget
5e5c52d477
DUMMYSTRUCTNAME2 creates a conflict when using anonymous union names.
2000-12-19 23:31:52 +00:00
Ulrich Weigand
975914003b
Fixed IMAGE_RESOURCE_DIRECTORY_ENTRY on big-endian machines.
2000-12-19 03:38:53 +00:00
François Gouget
807b04513a
Changed the type of Function to PDWORD as on Windows.
2000-12-15 20:53:39 +00:00
James Abbatiello
e675887129
Work around glibc 2.1.x dlopen bug (again).
2000-12-13 21:32:55 +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
751625e089
Got rid of main.h.
2000-12-12 00:50:19 +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
Alexandre Julliard
84f91bd3fc
Removed no longer used elfdll loader.
2000-12-09 03:25:34 +00:00
Alexandre Julliard
886604c715
Always pass lower-case filenames to wine_dll_load().
...
Clear dlerror() before and after calls to dlopen/dlsym to work around
a glibc bug (thanks to James Abbatiello for tracking the bug).
2000-12-05 21:17:59 +00:00
Andreas Mohr
8c91b080b7
Better error message for forwards.
2000-12-05 21:11:35 +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
697bf65e3e
Added/modified documentation for function arguments.
2000-12-02 23:44:59 +00:00
Patrik Stridvall
2b3aa616e8
Added/modified documentation for function arguments.
2000-12-01 23:58:28 +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
Patrik Stridvall
7a4e599780
Fixed some issues found by winapi_check.
2000-12-01 23:53:46 +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
256ac22dee
Display the name of the function when import failed.
2000-11-27 22:03:46 +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
ac7efef3b5
Changed GetProcAddress16 and 16-bit resource functions to take normal
...
pointers instead of SEGPTRs.
Removed WIN16_GetTempDrive.
2000-11-27 21:54:01 +00:00
Andreas Mohr
fc2c5dfb3d
Implemented TerminateApp needed for DBase 5.0.
...
Made FatalAppExit16 honor the SEM_NOGPFAULTERRORBOX error_mode flag.
2000-11-27 01:36:24 +00:00
Hidenori Takeshima
5b21807946
Replaced u_char/u_short/u_long by BYTE/WORD/DWORD for increased portability.
2000-11-26 22:35:53 +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
0a8114c152
Raise an exception for unimplemented 16-bit entry points too.
...
Added check for duplicate names in 16-bit spec files.
2000-11-12 03:45:55 +00:00
Francois Gouget
da0acca7d8
Use DUMMYxxxNAME for anonymous struct/unions.
2000-11-10 22:34:39 +00:00
Alexandre Julliard
3e38431ef5
Don't strip the library extension if it's not ".dll".
2000-11-09 20:28:44 +00:00
Alexandre Julliard
4e951ea25b
Check all Callouts function pointers for NULL before using them.
...
Don't load USER dll if not needed by the application.
2000-11-08 22:47:53 +00:00
Alexandre Julliard
e087508f57
Moved builtin dll registration to libwine.
...
Changed process initialization to not load imported dlls too early.
2000-11-08 04:33:20 +00:00
Andreas Mohr
786c9a68f6
Get ELF_LoadLibraryExA back into a working state.
2000-11-06 05:26:27 +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
Dimitrie O. Paun
334a42f521
Fixed a few compilation warnings
2000-10-29 18:07:04 +00:00
Andreas Mohr
cabee39f3c
Free the Win16 dummy module and wm->deps.
2000-10-25 21:22:27 +00:00
Alexandre Julliard
0e236a1f37
Removed GetResDirEntryA/W.
2000-10-24 21:35:14 +00:00
Patrik Stridvall
a9f6a9daec
Explicitly initialize structures.
2000-10-24 02:22:16 +00:00
Uwe Bonnes
38012a5604
Pass the correct hFile to PE_CreateModule.
2000-10-19 22:27:23 +00:00
Alexandre Julliard
81800b1f6d
Use a binary search to find entries in resource directories.
...
Fixed GetResDirEntryA/W prototypes.
2000-10-19 20:29:53 +00:00
Andreas Mohr
49851f88e3
Back out my ELFDLL_dlopen patch and add a warning for future misguided
...
hackers.
2000-10-19 20:25:02 +00:00
Ove Kaaven
7c4bee569c
Implemented DOS INT21 AH=4B (EXEC).
2000-10-17 00:33:02 +00:00
Ove Kaaven
d94b631947
Fixed a couple of recent bugs, and added some more safeguards (could
...
be handy for portability anyway) and trace statements.
2000-10-15 00:41:08 +00:00
Andreas Mohr
1563abe8ec
- stupid spelling fixes
...
- some more loadorder array work
2000-10-13 20:26:52 +00:00
Ove Kaaven
dfa4130804
Merged DOSVM_Int with DOSVM_SimulateInt, and made it handle apps that
...
purposefully shuffle the interrupt vectors around.
2000-10-13 20:14:49 +00:00
Andreas Mohr
6a2a2ebc71
Make sure that we skip tasks with missing hInstance.
2000-10-02 22:16:34 +00:00
Andreas Mohr
6d52787f73
Beautified the loadorder array (group DLLs according to functionality,
...
add group header comments, ...), added builtin x11drv and winaspi.
2000-10-02 03:33:51 +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
15bfcd0398
Moved $(MODULE).o rule out of Make.rules into the individual
...
Makefiles.
2000-09-29 00:28:25 +00:00
Dmitry Timoshkov
4ca7e6343f
Avoid crashes if 16-bit module handle was passed to the 32-bit
...
resource enumerator.
2000-09-26 00:39:06 +00:00
Alexandre Julliard
74af67ef42
Removed shell.h. Cleaned up the nested includes mess in wine/obj_*.h.
2000-09-26 00:00:55 +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