Commit Graph

421 Commits

Author SHA1 Message Date
Alexandre Julliard
a010932a3f More explicit initialization of info_size for stupid compilers. 2002-07-05 21:30:38 +00:00
Gregg Mattinson
7c4cb515b6 Cast void* to char* for pointer arithmetic. 2002-07-03 21:10:43 +00:00
Alexandre Julliard
ac90ba9bce Authors: Huw D M Davies <hdavies@codeweavers.com>, Aric Stewart <aric@codeweavers.com>
Fixed nasty bug for 2+ byte multibyte strings and GetStringType.
Fleshed out GetStringType CTYPE3 from the unicode tables.
CP_SYMBOL is not a valid codepage while CP_UTF7|8 are.
2002-06-25 00:24:36 +00:00
Alexandre Julliard
bc524e92d2 Avoid loading programs into the DOS memory area. 2002-06-20 22:54:26 +00:00
Vincent Béron
9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard
9d80215254 A few optimizations in the process startup requests now that Winelib
apps are started differently from Unix ones.
2002-05-24 21:20:27 +00:00
Alexandre Julliard
7fbd74ea55 Replaced the GET/PUT_UA macros by memcpy. Fixed a few big-endian
issues.
2002-05-23 02:53:10 +00:00
Alexandre Julliard
6044307c3a A few fixes for mingw cross-compilation. 2002-05-17 03:31:08 +00:00
Alexandre Julliard
0aa28b5b8d Export the debugging API from libwine instead of ntdll.
Removed debugres_[aw].
2002-05-17 02:55:48 +00:00
Alexandre Julliard
702b158e70 Export global argc/argv variables from libwine and remove the
__wine_get_main_args functions from ntdll.
2002-05-16 23:16:01 +00:00
Alexandre Julliard
59008670be Moved the selector access functions out of winnt.h into libwine. 2002-05-16 20:32:16 +00:00
Alexandre Julliard
9bb05fc48e Specify the complete source file list for a dll inside the main
makefile and get rid of the subdirectories makefiles.
2002-05-14 18:36:54 +00:00
Jukka Heinonen
cfa6f09d1c When using MapSL, 32-bit addresses are no longer truncated into 16-bit
addresses.
2002-05-11 23:01:12 +00:00
Alexandre Julliard
2481581938 Build an explicit argument structure for mmap instead of relying on
the stack layout.
2002-05-10 01:46:15 +00:00
Andreas Mohr
757e7cb40d Replace SELECTOR_AllocBlock and SELECTOR_FreeBlock with standard Win16
selector calls.
2002-05-08 00:20:40 +00:00
Olivier Houchard
f41ecf3782 Support for getting memory size on FreeBSD. 2002-05-07 01:50:02 +00:00
Patrik Stridvall
3751ff045c MS C related changes. 2002-05-04 18:37:08 +00:00
Alexandre Julliard
894b188fcf Moved __ASM_GLOBAL_FUNC macros and interlocked functions to port.[ch] 2002-04-25 21:40:56 +00:00
Andreas Mohr
cacbe216eb Add return traces to GlobalMemoryStatus, GetSystemInfo and fixme in
GetSystemInfo.
2002-04-02 19:40:49 +00:00
Alexandre Julliard
6543a6522a Transfer the full process startup info as well as the command-line
through the server.
2002-03-29 18:28:56 +00:00
Alexandre Julliard
fdd66643d9 Make sure the import directory is not in shared memory. 2002-03-29 18:18:47 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Peter Hunnisett
73ab649ced New file msvcrt/excpt.h. Move some stuff out of winnt.h into it. 2002-02-25 20:10:35 +00:00
Dmitry Timoshkov
c59655ede0 Reimplement GetStringTypeA and GetStringTypeExA. 2002-02-04 18:34:32 +00:00
Alexandre Julliard
5016e921f5 Added support for cleaning up the TEB from inside the exiting thread. 2002-01-07 18:04:07 +00:00
Alexandre Julliard
77dc009d91 Fixed bug in system heap creation when it already exists. 2001-12-26 20:38:53 +00:00
Uwe Bonnes
9788815b9c GlobalReAlloc16: If heap has GlobalPageLock set, try only with
HEAP_REALLOC_IN_PLACE_ONLY flag set.
2001-12-20 00:00:25 +00:00
Alexandre Julliard
b0f586178a Moved heap functions to ntdll.
Got rid of internal heap flags.
Reimplemented MapLS to not depend on the segptr heap.
2001-12-19 19:16:27 +00:00
Alexandre Julliard
9fcd89a5d8 Removed unnecessary includes. 2001-12-17 22:12:23 +00:00
Rein Klazes
9aa748cb2a Added error message in LOCAL_GetBlock(). 2001-12-17 21:20:27 +00:00
Alexandre Julliard
60fd03d248 Use ntdll functions instead of MultiByteToWideChar/WideCharToMultiByte
to avoid corrupting the last error code.
2001-12-05 22:18:48 +00:00
Alexandre Julliard
996c0bff59 Removed ntdll dependency on MultiByteToWideChar/WideCharToMultiByte
kernel32 functions, plus a few small cleanups.
2001-12-05 22:14:57 +00:00
Andrew Lewycky
c5ec01890a map_image: map the PE header readonly. 2001-11-30 23:08:21 +00:00
Alexandre Julliard
9caa71eef4 Redesign of the server communication protocol to allow arbitrary sized
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Alexandre Julliard
b0fa2a8ca8 Fixed registry routines broken by the structure sizes fix. 2001-11-24 03:41:37 +00:00
Dmitry Timoshkov
6b6596a1e3 Fixed packing and layout of many system structures. 2001-11-23 18:44:43 +00:00
Andreas Mohr
55a14edd17 Use exception handler for GlobalUnlock, GlobalFree. 2001-11-20 20:26:35 +00:00
François Gouget
1425941e29 Fix the #include order for config.h.
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Alexandre Julliard
51349422b9 Try to use read instead of mmap for files on removable media, so that
we don't need to keep the mapping handle open.
2001-10-24 00:30:23 +00:00
Andreas Mohr
e15badb478 Cosmetics. 2001-10-21 15:18:15 +00:00
Francois Gouget
541ff5fb9f Add INVALID_ATOM and MAXINTATOM to winbase.h.
Replace MIN_STR_ATOM with MAXINTATOM.
2001-10-15 17:49:23 +00:00
Francois Gouget
386cf6e342 When including 'wine/port.h', include it first.
Remove redundant 'config.h' includes.
2001-10-14 16:25:47 +00:00
Francois Gouget
e5ddd26dd7 When including config.h, include it first. 2001-10-14 16:18:52 +00:00
Alexandre Julliard
d8a8c1131d Added atom_t type for atoms to make sure we use the same type
everywhere. Handle MIN_STR_ATOM offset in the server.
2001-10-12 18:45:29 +00:00
Alexandre Julliard
a0c38fe3dd Fix MapViewOfFile to always return a 64K-aligned address.
Avoid converting pointers to UINT.
2001-10-09 21:50:44 +00:00
Andreas Mohr
f359895daf Yet another documentation/message text patch. 2001-10-02 17:49:20 +00:00
Alexandre Julliard
abc3539768 Fixed size check in HEAP_FindFreeBlock to make sure we also find
blocks that have the exact size needed.
2001-09-26 23:11:21 +00:00
Francois Gouget
5ee3879ce0 Fix the conversions of a command line to/from an argv array. 2001-09-20 19:05:11 +00:00
Alexandre Julliard
301df6b5cd Added names to standard critical sections (suggested by Andreas
Mohr).
2001-08-16 18:12:56 +00:00
Alexandre Julliard
1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00