Commit Graph

248 Commits

Author SHA1 Message Date
Alexandre Julliard 51f6aeb462 Implemented guard pages and stack overflow exceptions. 2000-04-13 17:21:36 +00:00
Huw D M Davies c43fdb75b3 GlobalReAlloc returns 0 on failure. 2000-04-13 15:57:06 +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
Patrik Stridvall 54fe8380a1 Fixed some issues reported by winapi_check. 2000-04-06 20:21:16 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +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
Dimitrie O. Paun 9ad9636725 Removed most calls to xmalloc/xrealloc. 2000-03-19 14:29:50 +00:00
Andreas Mohr 3c506fa36a Added an exception frame for lstrcpy16. 2000-03-19 14:20:28 +00:00
Alexandre Julliard c2ec36877a Removed PROCESS_IsCurrent(). 2000-03-10 22:21:07 +00:00
Patrik Stridvall 7e9913f463 Fixed some warnings. 2000-03-08 18:25:22 +00:00
Marcus Meissner fddbcf3c8d Actual write the cached struct in GlobalMemoryStatus. 2000-03-07 12:24:58 +00:00
Marcus Meissner 6189c198ec Some applications call GlobalMemoryStatus() very often. Cache the
results of the call for 1 second (spotted by Corel).
2000-03-04 19:19:15 +00:00
Patrik Stridvall ea4f831d99 Fixed some Solaris specific assembler problems. 2000-02-27 16:39:48 +00:00
Juergen Schmied 9f50d049ea Fixed definition of the RtlMemory functions. Use macros internally and
for Winelib, use real functions for exports from ntdll.
2000-02-26 19:35:50 +00:00
Alexandre Julliard 916f975624 Improved the selector get/set functions.
Support ANSI-compatible inline asm (with the help of Patrik Stridvall).
2000-02-26 16:51:13 +00:00
Alexandre Julliard bcb7f4ee37 Bug fix for native USER. 2000-02-19 20:51:29 +00:00
Alexandre Julliard b849d79104 Moved global atoms to the server (based on the work of Sergei
Turchanov <turchanov@otvprim.ru>).
2000-02-13 13:56:13 +00:00
Alexandre Julliard 383da68cf9 Optimized debugging API to reduce code size. 2000-02-10 22:15:21 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Alexandre Julliard 0a7c1f6c5b Implemented GetThreadSelectorEntry through the server. 2000-01-27 02:54:17 +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
Dmitry Timoshkov d1e3d8d841 Replaced LocalToWideChar() by lstrcpynAtoW(), WideCharToLocal() by
lstrcpynWtoA().
2000-01-23 03:21:14 +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
Guy Albertelli 9867997450 Added null check in GlobalHandle. 2000-01-15 21:59:12 +00:00
Francois Gouget baa9bf9a23 Buffer overflows and strncpy fixes. 1999-12-27 05:24:06 +00:00
Francois Gouget e73b8b84ba Wrapped some strings in a debugstr_* call.
Replaced some calls to debugstr_{a,w} by debugstr_{a,w}n.
Removed redundant 'L's for Unicode strings.
Tried to harmonize the traces a little bit.
1999-12-26 00:40:37 +00:00
Dimitrie O. Paun dd03cc19fd Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Juergen Schmied 3531ea5501 Removed fixme. 1999-11-25 23:06:51 +00:00
Alexandre Julliard d16319ce22 Store all object names as Unicode in the server. 1999-11-25 21:30:24 +00:00
Ulrich Weigand 3ee1c03efb Bugfix: GetThreadSelectorEntry() sets read-write flag incorrectly. 1999-11-21 02:02:20 +00:00
Alexandre Julliard 453f7315cd Fixed allocation rounding for MEM_RESERVE. 1999-11-15 00:46:30 +00:00
Ulrich Weigand eb94c7d2c4 Adapted to new register function handling. 1999-11-13 23:54:04 +00:00
Ulrich Weigand 0be7cabb49 When decommitting, remap zero pages using MAP_FIXED. 1999-11-10 19:59:32 +00:00
Alexandre Julliard 6cd2c9ebd5 Remap zero-pages when decomitting a page range (based on a patch by
Gerard Patel).
1999-11-08 02:12:30 +00:00
James Abbatiello 161693e4f9 Addresses issues with multiple processes accessing non-global critical
sections.
1999-11-07 19:22:46 +00:00
Michael McCormack 9fcbc54428 Modified lstrcpynWtoA to put terminating null at end of string, not
end of buffer.
1999-11-04 01:54:26 +00:00
Andreas Mohr 7d6e1ea5d7 Bug fix. 1999-10-25 15:39:59 +00:00
Patrik Stridvall 96336324cf - Added missing configuration #if:s and #includes:s.
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Richard Cohen 63556084e6 Tidy up TRACE etc to use default channel. 1999-09-19 14:04:15 +00:00
Patrik Stridvall f4fca7c459 Eliminated warnings. 1999-09-11 16:27:20 +00:00
Alexandre Julliard 3b96efc0f7 Added configure check for str[n]casecmp. 1999-09-04 14:36:02 +00:00
Alexandre Julliard d10ca9ce46 Fixed GMEM_ZEROINIT in GlobalRealloc (thanks to Gerard Patel). 1999-09-04 11:26:56 +00:00
Ulrich Weigand 73bd8d2b1c HEAP_Commit/Decommit were assuming a page size of 4KB
unconditionally.
1999-09-03 16:45:04 +00:00
Marcus Meissner c37a126f65 Fixed prototype order. 1999-09-03 14:59:10 +00:00
Ulrich Weigand c3d9f28172 Moved implementation of WOW routines to single file.
Added all missing WOW routines, fixed WOWCallback16Ex.
1999-08-18 18:31:26 +00:00
Uwe Bonnes 0a1645d9a3 Inhibit wraparound in comparison. 1999-08-15 18:44:06 +00:00
Alexandre Julliard 7147e4cfd4 Added an exception handler around a few lstr* functions. 1999-08-08 18:52:14 +00:00
Alexandre Julliard b375678277 Changed INSTR_EmulateInstruction to use a CONTEXT86 instead of a
SIGCONTEXT.
1999-08-01 12:15:12 +00:00