Commit Graph

453 Commits

Author SHA1 Message Date
Francois Gouget 1f0e33cb13 Cap the reported physical memory to 2GB to prevent applications
(e.g. QuickTime 6) from crashing.
2002-11-13 19:48:07 +00:00
Patrik Stridvall ba9dc78e39 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-11-04 22:43:24 +00:00
Jukka Heinonen eca6182749 Move interrupt emulation code from INSTR_EmulateInstruction to winedos
dll. Make CTX_SEG_OFF_TO_LIN work with 32-bit segmented pointers
common in DPMI32. Fix winedos initialization so that DOSMEM_Init(TRUE)
is only called when DOS executable is started.
2002-10-23 22:24:10 +00:00
Alexandre Julliard 996baf6379 Transmit the Windows PATH to child processes using the WINEPATH
variable.
2002-10-09 18:35:01 +00:00
Jukka Heinonen d25e0399ba Add support for interrupts in 32-bit code.
Remove some unnecessary code from 16-bit interrupt emulation.
2002-10-08 00:35:03 +00:00
Steve Lustbader 2fbd4a0118 Implement GetUserDefaultUILanguage and GetSystemDefaultUILanguage. 2002-10-07 18:27:06 +00:00
Dmitry Timoshkov c8ab54d158 Fixed atom test to work on Windows. 2002-10-04 17:45:00 +00:00
Dmitry Timoshkov 3139b927b2 Added a prototype code page test. Fixed issue regarding negative
source length handling.
2002-10-04 17:42:27 +00:00
Patrik Stridvall b5bb32c09a Fixed some issues found by winapi_check. 2002-09-24 18:29:39 +00:00
Dmitry Timoshkov 472d016859 Correct SIZE_T size according to MS SDK.
Change some types to SIZE_T according to MS SDK definitions.
2002-09-21 01:21:00 +00:00
Alexandre Julliard 341b7dceb4 Implemented the ntdll virtual memory functions, and made the kernel
functions use them.
2002-09-17 18:54:42 +00:00
Alexandre Julliard b7fa637c67 Fixed import directory limits (spotted by Jan Kratochvil). 2002-09-17 01:31:54 +00:00
Alexandre Julliard fb40a72f8f Copied the registry functions needed by VMM into device.c and got rid
of memory/registry.c.
2002-09-13 18:52:57 +00:00
Patrik Stridvall 9c1de6de30 Moved all the content of the DDK files ntdef.h and ntddk.h to
winternl.h.
2002-09-12 22:07:02 +00:00
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