Commit Graph

92 Commits

Author SHA1 Message Date
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
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Patrik Stridvall dae8de69e2 Documentation ordinal fixes (using winapi_fixup). 2001-06-13 20:13:18 +00:00
Alexandre Julliard 389b039fe4 We need to create the system heap at startup even though we don't use
it, since some Win95 native dlls depend on that.
2001-03-04 01:06:07 +00:00
Alexandre Julliard 7f187e5043 Only create the system heap when we actually need it. 2001-02-23 01:37:05 +00:00
François Gouget 4188fbcb9b Misc typos in comments. 2001-02-14 21:43:06 +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
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
Andreas Mohr e77bdbb16a Fixed crash in UnMapLS for pointers not belonging to the segptr heap. 2000-11-30 19:58:08 +00:00
Alexandre Julliard 71d68bbae0 Use the HEAP_WINE_SEGPTR flag to specify allocations on the segptr heap.
Added a hack in MapLS to recognize such allocations and use the heap
selector in this case.
2000-11-30 01:19:51 +00:00
Alexandre Julliard 8310aab3e5 Made HEAP_strdup* functions inline (temporary). 2000-11-28 22:34:27 +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
Francois Gouget da0acca7d8 Use DUMMYxxxNAME for anonymous struct/unions. 2000-11-10 22:34:39 +00:00
Alexandre Julliard ec936350f9 Fixed multibyte handling in HEAP_strdupAtoW. 2000-10-23 01:28:13 +00:00
Andreas Mohr 411faaee96 Get rid of shared heap fixme messages.
Slightly corrected my heap commit patch (Xilinx).
2000-10-13 20:21:09 +00:00
Andreas Mohr bf69803ce3 Make sure we commit enough memory in a new subheap. 2000-09-29 21:05:33 +00:00
Alexandre Julliard c7e7df8b17 Replaced all lstr* calls from inside Wine code by their str* equivalent. 2000-08-14 14:41:19 +00:00
Peter Ganten 9f7907eb69 Moved Wine private heap creation flags to other values.
Return system heap when a shared heap is requested.
2000-08-01 23:38:02 +00:00
Hidenori Takeshima d4eefeba12 Fix for supporting DBCS. 2000-07-15 19:46:51 +00:00
Huw D M Davies b8171e8baf HeapFree on a NULL ptr should return TRUE. 2000-05-23 01:12:41 +00:00
Alexandre Julliard 62030ff465 Fixed HeapAlloc(HEAP_ZERO_MEMORY) to clear the whole allocated block.
Various optimizations.
2000-05-09 22:38:19 +00:00
Dimitrie O. Paun 4d48dd3048 Removed HEAP_xalloc. 2000-04-30 12:22:18 +00:00
Dimitrie O. Paun 7827254cf2 Get rid of HEAP_xrealloc. 2000-04-28 14:43:34 +00:00
Andreas Mohr e7dc390f65 Implemented HeapWalk(). 2000-04-09 18:40:14 +00:00
Alexandre Julliard 227a0894d4 Removed a number of global handle allocations and critical section
initializations.
2000-04-08 21:06:06 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Francois Gouget fdc1065b81 Added (correct) prototype for HeapWalk. 2000-03-24 19:44:19 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Alexandre Julliard 079fd72ca7 Share the system heap between different address spaces. Made process
heap per-address space instead of per-process.
2000-01-25 01:41:35 +00:00
Guy Albertelli 4ef641326a Fix problems with GlobalHandle and GlobalFree so results match Win98.
Restructure HEAP_ValidateInUseArena, HeapValidate, and add
HEAP_IsRealArena to eliminate *bogus* error messages.
2000-01-23 02:25:11 +00:00
James Abbatiello 161693e4f9 Addresses issues with multiple processes accessing non-global critical
sections.
1999-11-07 19:22:46 +00:00
Ulrich Weigand 73bd8d2b1c HEAP_Commit/Decommit were assuming a page size of 4KB
unconditionally.
1999-09-03 16:45:04 +00:00
Alexandre Julliard 156570906f Converted to the new debug interface, using script written by Patrik
Stridvall.
1999-05-23 10:25:25 +00:00
Huw D M Davies d38ae1f79b Call SetLastError in HeapCompact(). 1999-05-02 11:27:14 +00:00
Alexandre Julliard b6b8bf83a0 Fixed __builtin_return_address arg. 1999-04-25 19:04:42 +00:00
Patrik Stridvall c7a8dde118 #pragma pack(?) changed to #include "*pack*.h" 1999-04-25 12:36:53 +00:00
Ove Kaaven 2d12743706 Made HeapValidate threadsafe, and added some macros to track callerEIP
a little better.
Added HEAP_xrealloc.
1999-04-25 09:09:15 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Alexandre Julliard 34bf815822 Got rid of SYSTEM_LOCK macros. 1999-03-21 08:36:55 +00:00
Alexandre Julliard ec5b68e5f0 Make the system heap critical section global. 1999-03-14 16:20:13 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Marcus Meissner 04c3e1d456 Removed a lot of occurences of windows.h (and added necessary other
includes).
1999-02-19 10:37:02 +00:00
Guy Albertelli 3db8e19d22 Fixed GlobalSize return value for zero size block. 1999-02-14 17:38:24 +00:00
Ulrich Weigand 416d39e7c4 Implemented Local32Info, stubs for Local32First/Next (KERNEL.444-446). 1998-12-01 14:45:37 +00:00
Jesper Skov 5c3e457b16 egcs 'ambiguous else' warnings fixes. 1998-11-01 19:27:22 +00:00
Andreas Mohr 6f36e642b0 Changed many WARN()s related to internal Wine memory failures to
ERR()s.
1998-11-01 13:33:57 +00:00
Ulrich Weigand 3888246083 Bugfix: Local32Free caused free handles list corruption. 1998-10-14 18:00:23 +00:00
Ulrich Weigand bf5f693ff9 Implemented HEAP_WINE_CODE16SEG SEGPTR heaps with 16-bit code segments. 1998-10-11 19:12:16 +00:00
David Luyer 39413f81c1 Small fixes. 1998-10-11 14:36:56 +00:00