Commit Graph

439 Commits

Author SHA1 Message Date
Patrik Stridvall 51e6c0ccb1 MSVC compatibility fixes. 2002-08-31 19:04:14 +00:00
Patrik Stridvall 9aab47ed24 MSVC compatibility fixes. 2002-08-28 23:42:34 +00:00
Alexandre Julliard aface53759 Fixed a number of dll separation issues. 2002-08-28 22:35:23 +00:00
Dmitry Timoshkov d75aed2c92 Convert most of the file APIs to Unicode. 2002-08-27 01:13:58 +00:00
Dmitry Timoshkov b967834362 Added unit test for environment functions and fixed some bugs. 2002-08-20 00:22:29 +00:00
Patrik Stridvall 09570edaa5 MSVC compatibility fixes. 2002-08-17 01:22:59 +00:00
Patrik Stridvall d016f819f1 Added include protection for unistd.h and sys/time.h. 2002-08-17 00:43:16 +00:00
Alexandre Julliard 07b6a624cb lstrcpyn[AW] count should be considered unsigned. 2002-08-16 20:00:48 +00:00
Alexandre Julliard 66e3183099 Fixed GetLocaleInfoW to handle Unicode properly and completed
implementation.
Update win.ini and registry on startup when language changed.
More logical priority order for locale environment variables.
Implemented SetLocaleInfoW.
Moved some locale functions to kernel32.dll.
2002-08-15 23:18:47 +00:00
Alexandre Julliard 4ced7ef45f Use the "new" LDT set call on Linux. 2002-08-14 21:10:50 +00:00
Alexandre Julliard ca6dbf7c25 Don't change base in map_image since we use it later on.
Added some tracing.
2002-08-06 23:53:38 +00:00
Alexandre Julliard 636cfc5389 Set user address space limit to 0xc0000000. 2002-08-03 19:13:55 +00:00
Alexandre Julliard 526531eb6c Create at most one glue file for a single dll.
Avoid the intermediate .tmp.o file when building programs.
2002-08-01 18:36:58 +00:00
Alexandre Julliard 7375597fe2 Fixed some handle type mismatches and added a few casts in prevision
of void* handles.
2002-07-31 19:26:03 +00:00
Alexandre Julliard 29f265fab1 Set the correct permissions on the PE image sections. 2002-07-29 23:59:26 +00:00
Bang Jun-Young 17eb169922 Make compile on NetBSD. 2002-07-25 23:57:34 +00:00
Alexandre Julliard c1dddbea55 RegEnumValue[AW] need to update the data size on buffer overflow
(spotted by Massimo <max@veneto.com>).
2002-07-10 03:27:35 +00:00
Tommy Schultz Lassen 13bfbc9530 Fixed lstrcpynA debug tracing. 2002-07-08 20:45:59 +00:00
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