Commit Graph

467 Commits (8f4d437a9ac32e2f0ef40aaede061f3c5f7d8142)

Author SHA1 Message Date
Yorick Hardy a0879217f4 Added the sysctl calls for NetBSD to determine the physical memory
available.
2003-03-28 00:29:00 +00:00
Alexandre Julliard 25fe361010 Added 'wine' prefix to libwine_unicode exports. 2003-03-21 21:30:51 +00:00
Alexandre Julliard ce13153821 Moved LDT selector allocation routines to libwine.
Added support for correct locking of all LDT operations.
Added separate functions to manipulate the %fs selector, which allows
using a global GDT selector on recent Linux kernels.
2003-02-26 20:34:45 +00:00
Mike Hearn 7aa04f2744 Implemented GlobalMemoryStatusEx(). 2003-02-26 04:35:36 +00:00
Jukka Heinonen 54f377c6c5 Move resize memory block to winedos and make it resize in place and
work correctly even when trying to allocate too much memory.
2003-02-19 22:11:04 +00:00
Matthew Davison 60009b9a56 Removed calls to HEAP_strdupAtoW. 2003-01-23 23:07:38 +00:00
Michael Stefaniuc cd0219e941 The Minolta DiMAGE Image Viewer relies on Global{,Re}Alloc called with
the GMEM_MOVEABLE flag set, to allocate the exact specified size and
no byte more when size is a multiple of 8. To achieve this align the
storage needed for the HGLOBAL in the heap to 8byte boundary.
2003-01-16 00:21:04 +00:00
Francois Gouget 9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +00:00
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Eric Pouech 0fcada9fa7 Removed unused #include of module.h. 2003-01-02 17:59:47 +00:00
Dimitrie O. Paun 737d4be892 Move excpt.h out of include/msvcrt/ as it does not conflict with any
standard Unix header.
2002-12-12 23:34:01 +00:00
Alexandre Julliard 435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Andrew John Hughes ed800c69c8 Build ntdll with -DSTRICT. 2002-11-21 03:45:01 +00:00
Jukka Heinonen 56dff0d4df Remove some Win32s specific code. 2002-11-20 19:40:12 +00:00
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