Thomas Bluemel [Sat, 22 May 2004 16:48:50 +0000 (16:48 +0000)]
1. added basic reference counting for message queues
2. fixed memory leak when a thread terminates while dispatching a message
3. wake the sender's thread in case of 2.
svn path=/trunk/; revision=9470
Martin Fuchs [Sat, 22 May 2004 13:18:45 +0000 (13:18 +0000)]
code comments
svn path=/trunk/; revision=9469
Filip Navara [Sat, 22 May 2004 12:23:12 +0000 (12:23 +0000)]
- Revert change to VGA register values that I accidently commited.
svn path=/trunk/; revision=9468
Eric Kohl [Sat, 22 May 2004 12:04:10 +0000 (12:04 +0000)]
Center install wizard.
Don't skip to next page as long as required data have not been entered.
svn path=/trunk/; revision=9467
Thomas Bluemel [Sat, 22 May 2004 09:22:41 +0000 (09:22 +0000)]
1. reverted my last change to SendMessageTimeout() which was wrong
2. fixed UserGetWindowIcon(), SendMessageTimeout() usually overwrites the result variable, even if it failed!
svn path=/trunk/; revision=9466
Filip Navara [Sat, 22 May 2004 09:10:33 +0000 (09:10 +0000)]
- Remove WinLogon icon, because it's copyrighted by Microsoft.
svn path=/trunk/; revision=9465
Filip Navara [Sat, 22 May 2004 08:53:26 +0000 (08:53 +0000)]
- Check buffer sizes and color counts for IOCTL_VIDEO_SET_COLOR_REGISTERS request.
svn path=/trunk/; revision=9464
Filip Navara [Sat, 22 May 2004 08:35:38 +0000 (08:35 +0000)]
- Don't delete icons that we got by WM_GETICON or GetClassIcon.
svn path=/trunk/; revision=9463
Thomas Bluemel [Sat, 22 May 2004 08:27:15 +0000 (08:27 +0000)]
fixed SendMessageTimeout() to return the correct result even when it timed out
svn path=/trunk/; revision=9462
Hartmut Birr [Sat, 22 May 2004 08:12:49 +0000 (08:12 +0000)]
- removed an obsolete call to ExAllocatePool in CHECKPOINT
svn path=/trunk/; revision=9461
Art Yerkes [Sat, 22 May 2004 02:54:32 +0000 (02:54 +0000)]
I forgot to increase the number of strings loaded from the registry. fixed.
svn path=/trunk/; revision=9460
Art Yerkes [Sat, 22 May 2004 02:50:25 +0000 (02:50 +0000)]
Blight pointed out that we didn't have all the registers in js. This fixes
that.
svn path=/trunk/; revision=9459
Art Yerkes [Sat, 22 May 2004 01:55:31 +0000 (01:55 +0000)]
Blight pointed out that I was missing some regs from the end of the trap frame.
These are now fixed.
svn path=/trunk/; revision=9458
Filip Navara [Fri, 21 May 2004 20:29:56 +0000 (20:29 +0000)]
- Added support for special value "LiveCD" of SystemPath option
for loading ReactOS. It uses the known boot drive information
as the boot path.
svn path=/trunk/; revision=9457
Filip Navara [Fri, 21 May 2004 20:06:09 +0000 (20:06 +0000)]
- Fixed a bug in IsoSearchDirectoryBufferForFile. Compare the offset first, so we don't access invalid memory.
svn path=/trunk/; revision=9456
Filip Navara [Fri, 21 May 2004 17:34:24 +0000 (17:34 +0000)]
- End-Of-Line marker at the real end of line shouldn't advance the vertical offset.
svn path=/trunk/; revision=9455
Filip Navara [Fri, 21 May 2004 17:05:46 +0000 (17:05 +0000)]
- Support for the End-Of-Line RLE mark.
- Treat the bitmap header field bV5ClrUsed correctly if it's set to zero.
svn path=/trunk/; revision=9454
Thomas Bluemel [Fri, 21 May 2004 12:46:59 +0000 (12:46 +0000)]
don't clip moving rectangles to the work area for topmost windows
svn path=/trunk/; revision=9453
Thomas Bluemel [Fri, 21 May 2004 10:31:00 +0000 (10:31 +0000)]
removed obsolete fields from the W32PROCESS structure
svn path=/trunk/; revision=9452
Thomas Bluemel [Fri, 21 May 2004 10:09:31 +0000 (10:09 +0000)]
implemented DisableProcessWindowsGhosting() (window ghosting is not yet implemented though)
svn path=/trunk/; revision=9451
Thomas Bluemel [Thu, 20 May 2004 21:48:41 +0000 (21:48 +0000)]
fixed message timeout crash, caused by inserting dispatching messages into the wrong dispatching list
svn path=/trunk/; revision=9450
Thomas Bluemel [Thu, 20 May 2004 14:53:14 +0000 (14:53 +0000)]
fixed handling of caption buttons
svn path=/trunk/; revision=9449
Thomas Bluemel [Thu, 20 May 2004 14:34:14 +0000 (14:34 +0000)]
clip to the work area when dragging a window
svn path=/trunk/; revision=9448
Thomas Bluemel [Thu, 20 May 2004 14:12:21 +0000 (14:12 +0000)]
fixed FillRect() to properly handle system color constants (thanks to Royce for spotting this bug)
svn path=/trunk/; revision=9447
Eric Kohl [Thu, 20 May 2004 12:42:51 +0000 (12:42 +0000)]
Add some security function stubs.
svn path=/trunk/; revision=9446
Hartmut Birr [Thu, 20 May 2004 08:37:21 +0000 (08:37 +0000)]
- Do not change the mapping count of a page if the physical address falls
in the range of valid physical memory (in MmMapIoSpace and MmUnmapIoSpace).
svn path=/trunk/; revision=9445
Royce Mitchell III [Thu, 20 May 2004 04:10:01 +0000 (04:10 +0000)]
get current HINSTANCE if given NULL in CreateWindowExA&W - fixes bug I found today with my little 'window stresser' app.
svn path=/trunk/; revision=9444
Thomas Bluemel [Wed, 19 May 2004 19:16:47 +0000 (19:16 +0000)]
set proper lasterror code in RegisterWindowMessage()
svn path=/trunk/; revision=9443
Thomas Bluemel [Wed, 19 May 2004 19:09:20 +0000 (19:09 +0000)]
fixed RegisterWindowMessage()
svn path=/trunk/; revision=9442
Thomas Bluemel [Wed, 19 May 2004 18:45:31 +0000 (18:45 +0000)]
attempt to fix handling of timed out sending of messages to be thread-safe
svn path=/trunk/; revision=9441
Thomas Bluemel [Tue, 18 May 2004 22:32:48 +0000 (22:32 +0000)]
use FASTCALL calling convention for internal routines
svn path=/trunk/; revision=9440
Steven Edwards [Tue, 18 May 2004 16:22:49 +0000 (16:22 +0000)]
Sylvain Petreolle -
Hacked TGMarltt to work on Windows as well as Linux and ReactOS with FreeType.
svn path=/trunk/; revision=9439
Thomas Bluemel [Tue, 18 May 2004 15:25:25 +0000 (15:25 +0000)]
ported CreatePolyPolygonRgn() and CreatePolygonRgn() from wine
svn path=/trunk/; revision=9438
Thomas Bluemel [Tue, 18 May 2004 14:06:42 +0000 (14:06 +0000)]
fixed memory leak
svn path=/trunk/; revision=9437
Thomas Bluemel [Tue, 18 May 2004 13:57:41 +0000 (13:57 +0000)]
safe parameter handling for PolyPolygonRgn() and PolygonRgn(). The actual region calculation for both functions is not yet implemented though!
svn path=/trunk/; revision=9436
Martin Fuchs [Tue, 18 May 2004 12:38:39 +0000 (12:38 +0000)]
prompt with error messageboxes for problems when reading init files
svn path=/trunk/; revision=9435
Eric Kohl [Tue, 18 May 2004 12:24:40 +0000 (12:24 +0000)]
Implement SeQueryAuthenticationIdToken().
Add audit function stubs.
svn path=/trunk/; revision=9434
Martin Fuchs [Tue, 18 May 2004 12:10:36 +0000 (12:10 +0000)]
return more verbose XML parser error messages
svn path=/trunk/; revision=9433
Hartmut Birr [Mon, 17 May 2004 20:30:55 +0000 (20:30 +0000)]
- Do print readable sector numbers in DiskReadLogicalSectors.
svn path=/trunk/; revision=9432
Hartmut Birr [Mon, 17 May 2004 20:25:01 +0000 (20:25 +0000)]
- Implemented the printing of 64 bit numbers.
svn path=/trunk/; revision=9431
Hartmut Birr [Mon, 17 May 2004 20:20:17 +0000 (20:20 +0000)]
- Fixed the calculation of the start for a partition within an extended partition.
svn path=/trunk/; revision=9430
Martin Fuchs [Mon, 17 May 2004 19:56:04 +0000 (19:56 +0000)]
add missing precomp.h header file
svn path=/trunk/; revision=9429
Gé van Geldorp [Mon, 17 May 2004 19:45:10 +0000 (19:45 +0000)]
Prevent unnecessary relinks when TARGET_REGTESTS = yes
svn path=/trunk/; revision=9428
Steven Edwards [Mon, 17 May 2004 17:41:08 +0000 (17:41 +0000)]
committed Marlett replacement as binary
svn path=/trunk/; revision=9427
Steven Edwards [Mon, 17 May 2004 17:40:21 +0000 (17:40 +0000)]
trying to fix this to be binary
svn path=/trunk/; revision=9426
Steven Edwards [Mon, 17 May 2004 17:32:19 +0000 (17:32 +0000)]
Untested !!!!
Added Font substition support for Marlett via TGMarlett
svn path=/trunk/; revision=9425
Steven Edwards [Mon, 17 May 2004 17:30:24 +0000 (17:30 +0000)]
added Transgamings Marlett font replacement licensed
under the BSD license.
svn path=/trunk/; revision=9424
Filip Navara [Mon, 17 May 2004 16:38:58 +0000 (16:38 +0000)]
- Fixed Window Class menu handling that I broke with my last patch.
svn path=/trunk/; revision=9423
Eric Kohl [Mon, 17 May 2004 13:21:52 +0000 (13:21 +0000)]
Add documentation for some range list functions.
svn path=/trunk/; revision=9422
Eric Kohl [Mon, 17 May 2004 13:20:05 +0000 (13:20 +0000)]
Add range list flags.
svn path=/trunk/; revision=9421
Martin Fuchs [Mon, 17 May 2004 13:11:06 +0000 (13:11 +0000)]
use precompiled headers for VC++ builds
svn path=/trunk/; revision=9420
Filip Navara [Sun, 16 May 2004 22:27:57 +0000 (22:27 +0000)]
- Set Mdl->Process in MmMapLockedPages to current process and back to NULL in MmUnmapLockedPages.
svn path=/trunk/; revision=9419
Filip Navara [Sun, 16 May 2004 19:42:32 +0000 (19:42 +0000)]
- Don't use object that's already unlocked.
svn path=/trunk/; revision=9418
Filip Navara [Sun, 16 May 2004 19:31:09 +0000 (19:31 +0000)]
Window Class handling fixes:
- Corrected styles/names for builtin classes.
- Make NtUserRegisterClassExWOW a bit more like in windows.
- More Windows-like handling of hInstance in RegisterClassEx[AW].
- Very basic work on global vs. local window classes.
svn path=/trunk/; revision=9417
Thomas Bluemel [Sun, 16 May 2004 18:33:40 +0000 (18:33 +0000)]
fixed missing dereferencing of threads in PostThreadMessage()
svn path=/trunk/; revision=9416
Thomas Bluemel [Sun, 16 May 2004 13:57:49 +0000 (13:57 +0000)]
fixed dereferencing bug
svn path=/trunk/; revision=9415
Thomas Bluemel [Sun, 16 May 2004 09:51:27 +0000 (09:51 +0000)]
replaced UnsafeIntCreateRectRgnIndirect() and UnsafeIntUnionRectWithRgn() with macros to directly call the appropriate function
svn path=/trunk/; revision=9414
Thomas Bluemel [Sat, 15 May 2004 23:07:11 +0000 (23:07 +0000)]
fixed typo
svn path=/trunk/; revision=9413
Hartmut Birr [Sat, 15 May 2004 23:00:02 +0000 (23:00 +0000)]
- Improved the reading and writing of fragmented files.
svn path=/trunk/; revision=9412
Hartmut Birr [Sat, 15 May 2004 22:51:38 +0000 (22:51 +0000)]
- Fixed the implementation of IoBuildPartialMdl.
svn path=/trunk/; revision=9411
Thomas Bluemel [Sat, 15 May 2004 22:50:04 +0000 (22:50 +0000)]
Anich Gregor: Basic implementation of GetUserObjectInformation() (needed by the nvidia opengl ICD)
svn path=/trunk/; revision=9410
Hartmut Birr [Sat, 15 May 2004 22:45:51 +0000 (22:45 +0000)]
- Fixed the implementation of MmMapIoSpace.
svn path=/trunk/; revision=9409
Jason Filby [Sat, 15 May 2004 20:30:19 +0000 (20:30 +0000)]
Eng memory test
svn path=/trunk/; revision=9408
Hartmut Birr [Sat, 15 May 2004 20:25:09 +0000 (20:25 +0000)]
- Simplified the converting of environment variables.
svn path=/trunk/; revision=9407
Thomas Bluemel [Sat, 15 May 2004 20:19:20 +0000 (20:19 +0000)]
removed assertion
svn path=/trunk/; revision=9406
Eric Kohl [Sat, 15 May 2004 19:41:10 +0000 (19:41 +0000)]
Implement RtlIsRangeAvailable().
svn path=/trunk/; revision=9405
Eric Kohl [Sat, 15 May 2004 19:39:35 +0000 (19:39 +0000)]
Add range list status codes.
svn path=/trunk/; revision=9404
Hartmut Birr [Sat, 15 May 2004 19:24:59 +0000 (19:24 +0000)]
- Fixed the execution of batch files.
svn path=/trunk/; revision=9403
Thomas Bluemel [Sat, 15 May 2004 18:20:26 +0000 (18:20 +0000)]
removed #ifdef (due to wine sync)
svn path=/trunk/; revision=9402
Gé van Geldorp [Sat, 15 May 2004 16:29:55 +0000 (16:29 +0000)]
Test was backwards
svn path=/trunk/; revision=9401
Gé van Geldorp [Sat, 15 May 2004 16:17:59 +0000 (16:17 +0000)]
ASSERT() was a no-op in win32k, even for debug builds
svn path=/trunk/; revision=9400
Filip Navara [Sat, 15 May 2004 15:04:43 +0000 (15:04 +0000)]
- Fixed cut & paste error in NtGdiGetDIBColorTable and NtGdiSetDIBColorTable.
- Fixed implementation of DIB_MapPaletteColors. It shoud take palette from DC and the index array is of type PUSHORT, not PULONG.
svn path=/trunk/; revision=9399
Eric Kohl [Sat, 15 May 2004 14:26:08 +0000 (14:26 +0000)]
Implement range list copy and delete functions.
svn path=/trunk/; revision=9398
Jason Filby [Sat, 15 May 2004 12:56:53 +0000 (12:56 +0000)]
Stub __badioinfo
svn path=/trunk/; revision=9397
Filip Navara [Sat, 15 May 2004 11:20:38 +0000 (11:20 +0000)]
- Use NtGdiBitBlt in NtGdiStretchDIBits if source and destination dimensions are equal.
svn path=/trunk/; revision=9396
Thomas Bluemel [Sat, 15 May 2004 10:08:45 +0000 (10:08 +0000)]
combobox popups should be always-on-top
svn path=/trunk/; revision=9395
Filip Navara [Sat, 15 May 2004 08:53:06 +0000 (08:53 +0000)]
- Recalculate the menu bar size when resizing window.
svn path=/trunk/; revision=9394
Filip Navara [Sat, 15 May 2004 08:52:25 +0000 (08:52 +0000)]
- New implementation of GetDIBColorTable and SetDIBColorTable.
svn path=/trunk/; revision=9393
Gé van Geldorp [Sat, 15 May 2004 08:01:56 +0000 (08:01 +0000)]
Only split update region into client and non-client parts if there actually
is something to split
svn path=/trunk/; revision=9392
Gé van Geldorp [Sat, 15 May 2004 07:49:05 +0000 (07:49 +0000)]
Silence debug messages
svn path=/trunk/; revision=9391
Gé van Geldorp [Sat, 15 May 2004 06:54:47 +0000 (06:54 +0000)]
Implement complex clipping for StretchBlt
svn path=/trunk/; revision=9390
Thomas Bluemel [Fri, 14 May 2004 23:57:32 +0000 (23:57 +0000)]
changed cursors/icons to use the window station handle table
svn path=/trunk/; revision=9389
Gé van Geldorp [Fri, 14 May 2004 22:56:18 +0000 (22:56 +0000)]
Implement complex clipping for StretchBlt
svn path=/trunk/; revision=9388
Filip Navara [Fri, 14 May 2004 22:20:46 +0000 (22:20 +0000)]
- Fixed implementation of NtGdiGetNearestColor.
svn path=/trunk/; revision=9387
Filip Navara [Fri, 14 May 2004 21:25:08 +0000 (21:25 +0000)]
- Define KEBUGCHECK macro to make compiling KJS working again.
svn path=/trunk/; revision=9386
Filip Navara [Fri, 14 May 2004 17:02:40 +0000 (17:02 +0000)]
- Minor corrections to EqualRect and SubtractRect.
svn path=/trunk/; revision=9385
Filip Navara [Fri, 14 May 2004 16:56:48 +0000 (16:56 +0000)]
- NtGdiCreateRectRgn should accept negative width and height. It's supposed to be handled just like in NtGdiSetRectRgn.
svn path=/trunk/; revision=9384
Filip Navara [Fri, 14 May 2004 16:55:18 +0000 (16:55 +0000)]
- Fix ExtSelectClipRgn and some other clipping functions.
svn path=/trunk/; revision=9383
Filip Navara [Fri, 14 May 2004 16:50:44 +0000 (16:50 +0000)]
- Fix DPRINT.
svn path=/trunk/; revision=9382
Filip Navara [Fri, 14 May 2004 16:50:16 +0000 (16:50 +0000)]
- Modify DPRINTs to print window styles in hexadecimal notation.
svn path=/trunk/; revision=9381
Filip Navara [Fri, 14 May 2004 16:48:47 +0000 (16:48 +0000)]
- Check for the WS_CLIPSIBLINGS flag on the correct window.
svn path=/trunk/; revision=9380
Filip Navara [Fri, 14 May 2004 16:48:04 +0000 (16:48 +0000)]
- Don't modify Msg->pt for mouse messages. It's supposed to be always in screen coordinates, not it client coordinates.
svn path=/trunk/; revision=9379
Eric Kohl [Fri, 14 May 2004 12:11:52 +0000 (12:11 +0000)]
Implement basic range list functions.
svn path=/trunk/; revision=9378
James Tabor [Fri, 14 May 2004 09:25:41 +0000 (09:25 +0000)]
Use updated version of SystemHandleInformation.
svn path=/trunk/; revision=9377
Filip Navara [Thu, 13 May 2004 21:01:14 +0000 (21:01 +0000)]
- Implementation of RtlDuplicateUnicodeString.
- Copied implementation of RtlGetVersion from ntoskrnl.
- Stubs for RtlNtPathNameToDosPathName and RtlpEnsureBufferSize. These functions are needed by native Windows DLLs.
- Export RtlRandomEx as a wrapper for RtlRandom.
svn path=/trunk/; revision=9376
Filip Navara [Thu, 13 May 2004 20:48:31 +0000 (20:48 +0000)]
- Added missing unlocking of handle table in RtlLookupAtomInAtomTable.
svn path=/trunk/; revision=9375
Filip Navara [Thu, 13 May 2004 20:46:28 +0000 (20:46 +0000)]
- Make WinPosSearchChildren more readable.
svn path=/trunk/; revision=9374
Filip Navara [Thu, 13 May 2004 20:42:28 +0000 (20:42 +0000)]
- Add some stubs needed by native Windows DLLs.
svn path=/trunk/; revision=9373
Filip Navara [Thu, 13 May 2004 20:34:24 +0000 (20:34 +0000)]
- Fix common controls subclassing.
svn path=/trunk/; revision=9372
Filip Navara [Thu, 13 May 2004 20:32:18 +0000 (20:32 +0000)]
- Report a failure for FindNextFile(NULL) instead of crashing.
svn path=/trunk/; revision=9371