Commit graph

40042 commits

Author SHA1 Message Date
ReactOS Portable Systems Group 2e1b82cf72 NMI Support Patch 1:
[HAL]:  The I/O Permissions Map on a typical Privileged Mode x86 OS is all 0xFF's, so it's quite wasteful to copy-in/out the entire map each single BIOS Call. As an optimization, only save and restore non-0xFF entries.
    [NTOS]: Define and use constants for different IOPM values, instead of using hardcoded values.


svn path=/trunk/; revision=44841
2009-12-31 23:51:26 +00:00
Eric Kohl e426bf896f [devmgr]
Implement the details page and add dialogs for the resources and power pages. Some of the code is not final yet as I don't have a clean way of retrieving the required information. Some required stuff in setupapi or umpnpmgr is still incomplete too.

I wish you a happy and successful 2010!
Eric.

svn path=/trunk/; revision=44838
2009-12-31 22:10:41 +00:00
Timo Kreuzer 4080cc2e20 Patch by Amine Khaldi: Fix buffer length check
svn path=/trunk/; revision=44824
2009-12-31 14:44:33 +00:00
James Tabor a586dab9f9 [User32]
- Patch modified by Dmitry Timoshkov : Handle virtual key codes only in the WM_KEYDOWN case. See bug 5063. Reported by David Quintana.

svn path=/trunk/; revision=44819
2009-12-31 02:41:57 +00:00
James Tabor 098407e9ce [Win32k]
- Plugged in region attribute support and added the PEB cache for it as well.

[Gdi32]
- Using CreateRectRgn only with attribute and PEB cache support.

[Testing]
- Wine tests: gdi32; clipping and dc. gdiplus; region. user32; dce. Same results.
- Applications, AbiWord 2.6.8, FF 3.5, miranda 0.7.19 unicode, putty, SeaMonkey 2.0, WinMerge 2.12.4 and winamp 2.95 rc std. Same results.

svn path=/trunk/; revision=44817
2009-12-30 22:56:09 +00:00
Eric Kohl a7b546562e [services] Set the given service start name or LocalSystem for a new service.
svn path=/trunk/; revision=44816
2009-12-30 17:17:58 +00:00
Eric Kohl 5ad3e6fe72 [umpnpmgr]
Move device instance action constants into the idf file and use them instead of hardcoded values.

svn path=/trunk/; revision=44813
2009-12-30 13:57:47 +00:00
Gregor Schneider cf30e24abd [win32k] Add support for mask offsets in IntEngStretchBlt
svn path=/trunk/; revision=44809
2009-12-30 12:42:48 +00:00
Gregor Schneider 9ba0500088 [user32] Set the number of colors correctly when creating a monochrome bitmap
svn path=/trunk/; revision=44808
2009-12-30 12:39:19 +00:00
James Tabor 9b791c7be9 [Win32k]
- Setting up for region attribute support.
- Removed old code and use GreDeleteObject for dc and region types.

svn path=/trunk/; revision=44806
2009-12-29 21:07:04 +00:00
Hervé Poussineau 9d97bda0a9 [freeldr] Never unmap hyperspace or HAL entries. Fixes boot problems with more than 1GB of RAM
svn path=/trunk/; revision=44805
2009-12-29 20:43:01 +00:00
Gregor Schneider b13b720381 [win32k]
- Add mask offset coordinates to GreStretchBltMask parameters, add code to handle a mask offset
- Only fail if the mask is smaller than the color bitmap, print sizes in this case
- Adapt callers to GreStretchBltMask changes
- DrawIcon: use new features to combine mask and color images
- Mouse control panel now shows cursors again (masks still need some work), fixes ~15 user32:cursoricon tests

svn path=/trunk/; revision=44803
2009-12-29 18:21:00 +00:00
Gregor Schneider f8e8de57e0 [user32]
- Merge icon and cursor creation into one function, fix height assumptions
- Remove code preventing color cursors to be selected
- Winamp cursor is now shown correctly, bug #4370

svn path=/trunk/; revision=44802
2009-12-29 18:03:16 +00:00
Gregor Schneider ff89b8ac95 [taskmgr]
- Allow task manager to activate and restore a previous instance when the mutex already exists
- Make application title identical to the window title for languages where it wasn't

svn path=/trunk/; revision=44801
2009-12-29 17:55:44 +00:00
Aleksey Bragin e30be53d56 Cameron Gutman
- Add the ability to install SMBus controllers automatically.
See issue #3361 for more details.

svn path=/trunk/; revision=44799
2009-12-29 13:53:28 +00:00
James Tabor 926a83116a - Fix regressions in FF and OOo.
svn path=/trunk/; revision=44797
2009-12-28 18:41:31 +00:00
James Tabor 91cbcdc152 [Win32k]
- Plug in the new dc attribute support and add the brush pen and region attribute support.

svn path=/trunk/; revision=44796
2009-12-28 18:10:03 +00:00
Eric Kohl a22d21e20c spaces -> tabs
svn path=/trunk/; revision=44794
2009-12-28 12:02:32 +00:00
Eric Kohl b837d58c19 - Lsasrv: Create the LsaAuthenticationPort and add a basic server loop that listens to incoming requests.
- Lsalib: Combine request and reply data of the register request into a connection info struct.

My test application can now connect to the LsaAuthenticationPort.

svn path=/trunk/; revision=44793
2009-12-28 11:59:20 +00:00
James Tabor 050435c284 [Win32k]
- Added two new function's to support thread and process information free attribute list support.

svn path=/trunk/; revision=44792
2009-12-28 07:02:32 +00:00
Timo Kreuzer 7781a0c84e spaces -> tabs in rbuild file
svn path=/trunk/; revision=44780
2009-12-27 23:54:01 +00:00
Benedikt Freisen d90303c704 Tool box, color palette and status bar can be hidden and shown using menu entry and/or shortcut.
svn path=/trunk/; revision=44777
2009-12-27 21:15:08 +00:00
Eric Kohl 2db30d58d2 [lsalib]
Fix indentation. No code changes.

svn path=/trunk/; revision=44776
2009-12-27 19:46:13 +00:00
James Tabor e50eff1409 [gdi32]
- Add notes, fix CombineRgn and cleanup.

svn path=/trunk/; revision=44775
2009-12-27 19:43:46 +00:00
Eric Kohl fc5a89cd69 Move the client-side LSA functions from secur32.dll to the new static library lsalib because these functions will be shared between ntoskrnl.exe, advapi32.dll and secur32.dll.
svn path=/trunk/; revision=44774
2009-12-27 19:10:30 +00:00
Gregor Schneider f8329e21a6 [win32k] Handle invalid palette index by using the first palette entry
svn path=/trunk/; revision=44770
2009-12-27 15:43:48 +00:00
Gregor Schneider 8600c8e72b [win32k]
- Set the number of mapped colors depending on the usage parameter
- Use pure PALETTERGB color values when no palette is selected
- Fixes true color issue mentioned in r44712

svn path=/trunk/; revision=44769
2009-12-27 15:08:41 +00:00
Gregor Schneider 5e86753986 [win32k]
- Create DIB section palettes with the number of colors mapped from the logical palette
- Validate logical palette access, set to black for invalid indices
- gdi32:palette test now succeeds

svn path=/trunk/; revision=44768
2009-12-27 13:02:19 +00:00
Timo Kreuzer edd63ea0b7 [GENINC]
Lots of fixes and updates.

svn path=/trunk/; revision=44767
2009-12-26 22:55:53 +00:00
Timo Kreuzer c300719e77 [KDBG]
Hackfix the problem with attaching to processes introduced in r44743, by lowering IRQL to passive level, although interrupts are off. Needed because KDBG calls pageable code.

svn path=/trunk/; revision=44766
2009-12-26 19:36:24 +00:00
James Tabor be29496e50 [Win32k]
- Rewritten NtGdiCombineRgn.
- Add two function's to support locking and Rgn attributes. These function's will replace all the normal Rgn locking ones.

svn path=/trunk/; revision=44765
2009-12-26 19:19:33 +00:00
Gregor Schneider ade1987d18 [win32k]
- IntGetDIBColorTable: return the number of actually copied color table entries
- DIB_CreateDIBSection: simplify calculation of palette entry count
- IntHandleSpecialColorType: remove leftover debug print

svn path=/trunk/; revision=44761
2009-12-25 17:54:41 +00:00
Eric Kohl 185c716bb3 The service thread must receive all commands.
svn path=/trunk/; revision=44760
2009-12-25 16:41:06 +00:00
Eric Kohl d1ffae9c3b RQueryServiceConfigA/W: Add missing dependency information.
svn path=/trunk/; revision=44759
2009-12-25 15:08:03 +00:00
Johannes Anderwald 1015293df7 [PORTCLS]
- Return status code of operation
- Cancel all irps when pin state is set to stop. Fixes ReactOS portcls regression under WindowsXP
- Handle IRP_MN_READ_CONFIG

svn path=/trunk/; revision=44758
2009-12-25 12:24:42 +00:00
Johannes Anderwald 122dbfc23f [PSDK]
- Fix KSEVENTSETID_AudioControlChange definition

svn path=/trunk/; revision=44757
2009-12-25 02:54:24 +00:00
Johannes Anderwald 3a6c7402a5 [MMIXER]
- Store correct mixer handle in the mixer info
- mmixer can now handle set / get volume and on-off (mute) requests

svn path=/trunk/; revision=44756
2009-12-25 01:21:29 +00:00
Johannes Anderwald 5231279bee [KS]
- Store missing result of operation
- Fixes a regression of KsStudio

svn path=/trunk/; revision=44755
2009-12-25 01:17:39 +00:00
Christoph von Wittich b5f2a44d75 [gdi32]
fix typo in comment

svn path=/trunk/; revision=44753
2009-12-24 09:01:43 +00:00
James Tabor 72d95b99f9 [gdi32]
- Enable and fix more region user code.


svn path=/trunk/; revision=44752
2009-12-24 07:42:38 +00:00
James Tabor c61c751b19 [gdi32]
- Set the last arg to 1 for GetTextExtentPoint support mode.

svn path=/trunk/; revision=44751
2009-12-24 07:03:46 +00:00
James Tabor 093456d1b0 [gdi32] - Move OpenPrinterW out from static.
svn path=/trunk/; revision=44750
2009-12-24 06:57:48 +00:00
Timo Kreuzer 6e3e947a79 [GENINC]
This is going to be a host tool that autogenerates assembly definitions from the target headers. This is done in two steps: 1) a raw data file is compiled with the target compiler using the target headers 2) The host tool parses this data file and creates an appropriate .h or .inc file.
So far there's only the source for the data file, which is halfway complete and currently compiled as bootloader type, as we don't seem to have raw binary target.
WIP

svn path=/trunk/; revision=44748
2009-12-24 03:45:21 +00:00
James Tabor a73299ffde [gdi32]
- Move more region code from stubs into the appropriate file.
- Enable and fix more user code.


svn path=/trunk/; revision=44747
2009-12-23 23:30:26 +00:00
James Tabor 3180f15b3d [gdi32]
- Move region code from stubs into the appropriate file.
- Enable and fix SetRectRgn user code.


svn path=/trunk/; revision=44746
2009-12-23 23:10:32 +00:00
James Tabor 35f89c78de [Win32k]
- Set error if no handle is provided.

svn path=/trunk/; revision=44745
2009-12-23 20:12:28 +00:00
Timo Kreuzer cba6f25d3d [i8042prt]
- Fix Ctrl-Scroll key combination, by ignoring ACK codes and not relying on a 0xe0 sequence code, which is not being sent at least on VBox.
- Fix Tab-K handling at high irql, by moving it out of the DPC routine into the ISR.

svn path=/trunk/; revision=44743
2009-12-23 18:43:27 +00:00
Gregor Schneider 0567d77694 [msvcrt] Update c++ symbol demangling to Wine 1.1.35 (msvcrt:cpp test buffer overrun)
svn path=/trunk/; revision=44742
2009-12-23 17:48:27 +00:00
Gregor Schneider 1cb2122720 [win32k] NtGdiSetDIBitsToDeviceInternal:
- Choose the number of scan lines from the parameter and the bitmap size
- Add scan line offset to the destination rectangle top left corner (fixes drawing images line by line)
- Add debug print for further problem solving (deactivated)

svn path=/trunk/; revision=44741
2009-12-23 17:41:20 +00:00
Christoph von Wittich 900787a278 [winmm_winetest]
sync winmm_winetest to wine 1.1.35

svn path=/trunk/; revision=44740
2009-12-23 16:02:37 +00:00