Commit graph

6279 commits

Author SHA1 Message Date
Hartmut Birr
49a370ce14 - Check for the current irql, if there is a call to IoStartNextPacket.
If it is  necessary, raise the irql to DISPATCH_LEVEL.

svn path=/trunk/; revision=6487
2003-11-01 10:42:32 +00:00
Filip Navara
7e110a9faa - Small bugfixes.
svn path=/trunk/; revision=6486
2003-11-01 04:06:59 +00:00
Art Yerkes
ba98b29885 Added p_dup_handle test.
svn path=/trunk/; revision=6485
2003-10-31 21:41:52 +00:00
Art Yerkes
0f8d274449 This test case test ROS' ability to duplicate a process handle, give the
handle to the child process, then have the child process give back its
own handle.  This is used by cygwin during fork and vfork.

svn path=/trunk/; revision=6484
2003-10-31 21:41:32 +00:00
Thomas Bluemel
cef6a8899c this temporarily fixes the crash displaying ansi messageboxes (Royce)
svn path=/trunk/; revision=6483
2003-10-31 20:49:45 +00:00
Art Yerkes
e15344ddce Added map_dup_inherit test case (currently, failing).
svn path=/trunk/; revision=6482
2003-10-31 20:27:16 +00:00
Art Yerkes
1a752ef4ba This is a simplified case of something cygwin does:
1) Create a shared memory are using CreateFileMapping with SEC_RESERVE set.
2) Make the handle inheritable.
3) Call CreateProcess with inherit = TRUE
4) Map the region using MapViewOfFile.
5) Commit pages using VirtualAlloc.

See: MSDN's documentation on CreateFileMapping and VirtualAlloc.

When the test runs correctly, "%d: starting" is printed twice, with no other
output.

svn path=/trunk/; revision=6481
2003-10-31 20:26:14 +00:00
Filip Navara
15da259ba7 - Fixed the last patch by Mark Tempel to really work correctly.
svn path=/trunk/; revision=6480
2003-10-31 18:25:56 +00:00
Filip Navara
f18cbd53ba - Added stack trace reporting in exception handler.
svn path=/trunk/; revision=6479
2003-10-31 16:27:01 +00:00
Filip Navara
65a44fd9e2 - Fixed passing of integer named controls in dialogs. Previously an integer was passed directly to CreateWindowEx, but that could not work, because it treats it as a string. After reading Microsoft documentation the correct way is to pass a string in form "#num".
- Fixed getting of integer names in STATIC control. Is this the right place?
- Fixed icon support in STATIC control.

svn path=/trunk/; revision=6478
2003-10-31 16:25:08 +00:00
Eric Kohl
c3b4b58a78 Use synchronous IO for screen and keyboard and get rid of the input event object.
svn path=/trunk/; revision=6477
2003-10-31 11:09:38 +00:00
Gunnar Dalsnes
888ca1574d improved IoMapTransfer (hopefylly)
svn path=/trunk/; revision=6476
2003-10-31 01:08:00 +00:00
Gunnar Dalsnes
b872ea2cad -impl. KeRemoveEntryDeviceQueue
-added irql asserts
-misc. small fixes and cleanups

svn path=/trunk/; revision=6475
2003-10-31 00:14:09 +00:00
Mark Tempel
286ec91295 Changing the DbgPrint outputs to be a bit more usefull.
svn path=/trunk/; revision=6474
2003-10-30 22:06:42 +00:00
Mark Tempel
98ec124b3d Update to add in a first attempt to send the WM_MOUSEACTIVATE message to windows when the user clicks the mouse over them.
TODO: Fix the PostMessage for WM_MOUSEACTIVATE to a SendMessage and check the return to see what to do with the origional mouse message.

svn path=/trunk/; revision=6473
2003-10-30 22:03:00 +00:00
Mark Tempel
555931d0f4 Update to implement WindowFromPoint by delegating to NtUserWindowFromPoint:
svn path=/trunk/; revision=6472
2003-10-30 21:58:42 +00:00
Mark Tempel
c8f5c0a9bd Update to implement NtUserWindowFromPoint:
TODO-- Fix the check for static windows, and validate that this version works the same way as WindowFromPoint in Windows...

svn path=/trunk/; revision=6471
2003-10-30 21:57:21 +00:00
Mark Tempel
2095d78af2 Update to specify the parameters to NtUserWindowFromPoint.
svn path=/trunk/; revision=6470
2003-10-30 21:54:35 +00:00
Eric Kohl
bd908afdf1 Issue a work item only if an object will be deleted.
Fixes bug #14.

svn path=/trunk/; revision=6469
2003-10-30 21:34:54 +00:00
Gé van Geldorp
d6e366fb65 Fix problem introduced when fixing bitblt'ing to monochrome bitmaps
svn path=/trunk/; revision=6468
2003-10-30 18:27:33 +00:00
Filip Navara
e11fa90a59 - Fixed loading of symbols when compiled with DBG=1 (again).
svn path=/trunk/; revision=6467
2003-10-30 18:16:25 +00:00
Art Yerkes
f382315b71 Set the lpvReserved parameter of DllMain according to whether the DLL was
loaded using LoadLibrary or at start time by the system loader.  DLLs use
this mechanism to determine how they were loaded.

svn path=/trunk/; revision=6466
2003-10-30 15:52:29 +00:00
Gunnar Dalsnes
39dca294c5 fixed a call to IoAllocateAdapterChannel
svn path=/trunk/; revision=6465
2003-10-30 13:34:47 +00:00
Gunnar Dalsnes
3186456e36 some fixes
svn path=/trunk/; revision=6464
2003-10-30 13:33:43 +00:00
Gunnar Dalsnes
454e9ef133 added some sugar
svn path=/trunk/; revision=6463
2003-10-30 13:29:38 +00:00
Gunnar Dalsnes
2b75113a2b added a comment
svn path=/trunk/; revision=6462
2003-10-30 13:25:38 +00:00
Gé van Geldorp
c3fc013ce4 Changes for W32API
svn path=/trunk/; revision=6461
2003-10-30 08:56:38 +00:00
Gé van Geldorp
51140532fa Create monochrome palette when selecting 1bpp bitmap into DC
svn path=/trunk/; revision=6460
2003-10-29 22:46:56 +00:00
Gé van Geldorp
6a8700f4b2 Fix DIB_1BPP_PutPixel
svn path=/trunk/; revision=6459
2003-10-29 22:45:45 +00:00
Martin Fuchs
f2be62ff1a add some calls to SHRestricted to replace awfull Registry reading
svn path=/trunk/; revision=6458
2003-10-29 21:37:14 +00:00
Filip Navara
4a4b64e0e7 - Fixed few more bugs reported by Wine user32 window test. 4/373 tests fails now. The rest is caused propably by incomplete NtUserDestroyWindow.
- Fixed locking of DCs in NtGdiBitBlt when hDCSrc == hDCDest.

svn path=/trunk/; revision=6457
2003-10-29 16:25:00 +00:00
Filip Navara
ac96511aae - Fixed more bugs reported by Wine user32 window test. (7/373 tests fails now)
svn path=/trunk/; revision=6456
2003-10-29 10:04:55 +00:00
Filip Navara
3247a4d444 - Fixed few more bugs reported by Wine user32 window test. (68/373 tests fails now)
svn path=/trunk/; revision=6455
2003-10-29 08:49:56 +00:00
Gé van Geldorp
ce50eff0b5 Allow environment variable ROS_INSTALL to set installation dir
svn path=/trunk/; revision=6454
2003-10-29 08:40:38 +00:00
Gé van Geldorp
fd5226dd32 Changes for W32API
svn path=/trunk/; revision=6453
2003-10-29 08:38:55 +00:00
Filip Navara
4926605241 - Fixed loading of symbols when compiled with DBG=1.
svn path=/trunk/; revision=6452
2003-10-28 22:48:37 +00:00
Filip Navara
1f31cc412e - Fixed more bugs reported by Wine user32 window test. (72/373 tests fail now)
svn path=/trunk/; revision=6451
2003-10-28 22:46:30 +00:00
Filip Navara
e95a291ceb - Fixed some bugs reported by Wine user32 window test. Still many are left.
svn path=/trunk/; revision=6450
2003-10-28 20:24:09 +00:00
Hartmut Birr
f9e7598cc7 - Fixed the length calculation of a unicode string in vfatGetFCBForFile.
svn path=/trunk/; revision=6449
2003-10-28 20:21:21 +00:00
Gé van Geldorp
40be01c894 Check for double class registration and implement Get/SetClassLong with
Offset >= 0

svn path=/trunk/; revision=6448
2003-10-28 20:19:45 +00:00
Gé van Geldorp
82fc43d926 More DirectDraw groundwork by Peter Bajusz
svn path=/trunk/; revision=6447
2003-10-28 19:30:08 +00:00
Filip Navara
e0d3016a0f - Added check for Atom == 0 in RtlQueryAtomInAtomTable.
- Set error code in one error case of GetDiskFreeSpaceW.
- Added call to DC_UnlockDc in one error case of NtGdiBitBlt.

svn path=/trunk/; revision=6446
2003-10-28 17:43:42 +00:00
Filip Navara
3fa0b64ad8 - Removed debug messages from GetWindowLong/SetWindowLong.
- Modified NtUserSetShellWindowEx to work. It passed Martin's tests, so I take it's correct.

svn path=/trunk/; revision=6445
2003-10-28 13:43:56 +00:00
Filip Navara
2609d3aece - Bugfixes of SetWindowPos. Now the window relinking really works for every window and not only for HWND_TOP. The Explorer Start Menu works now and desktop is painted. The dark side is that the desktop ShellView doesn't show anymore.
svn path=/trunk/; revision=6444
2003-10-28 12:21:36 +00:00
Filip Navara
92b58c12e3 - Fixed bug #25.
svn path=/trunk/; revision=6443
2003-10-28 09:49:04 +00:00
KJK::Hyperion
db7b08f3f4 Use and initialize Common Controls v6, or visual styles won't work
svn path=/trunk/; revision=6442
2003-10-27 23:20:57 +00:00
KJK::Hyperion
0d27ccca5d Skeleton for a Windows XP theme dumper
(note: doesn't compile on g++, at the moment - a #define hell I want to avoid entering, if possible)

svn path=/trunk/; revision=6441
2003-10-27 03:03:22 +00:00
KJK::Hyperion
ddf4e24c7d French keyboard layout by Jean-Michel Gay
svn path=/trunk/; revision=6440
2003-10-27 00:17:32 +00:00
Filip Navara
f2011619fc - Small bugfixes.
svn path=/trunk/; revision=6439
2003-10-26 18:08:51 +00:00
Eric Kohl
e9721e7a3e Bail out of RtlQueryRegistryValues if RTL_QUERY_REGISTRY_REQUIRED specified and value not found.
Patch by Ge van Geldorp.

svn path=/trunk/; revision=6438
2003-10-26 12:47:12 +00:00