Commit graph

40064 commits

Author SHA1 Message Date
Johannes Anderwald e40621ab44 [KS]
- Return correct error code

svn path=/trunk/; revision=44867
2010-01-02 01:22:38 +00:00
Dmitry Gorbachev 3b558d84dd Lift a protection (forgotten in 44842).
svn path=/trunk/; revision=44866
2010-01-02 00:17:37 +00:00
Johannes Anderwald 02a81d4d07 [SETUPAPI]
- Implement SetupInitializeFileLogA, SetupInitializeFileLogW, SetupTerminateFileLog

svn path=/trunk/; revision=44865
2010-01-01 23:44:41 +00:00
Dmitry Gorbachev 756859265d Fix parameter type of NtQueryInformationThread; do not call ExitThread from itself. Bug #5076.
svn path=/trunk/; revision=44864
2010-01-01 23:14:10 +00:00
ReactOS Portable Systems Group 126c7209ac NMI Support Patch 7 Build Fixer:
[HAL]: Define HalpNMIInProgress as an external in the HAL private headers.

svn path=/trunk/; revision=44863
2010-01-01 21:07:22 +00:00
ReactOS Portable Systems Group 9e858a7261 NMI Support Patch 7 Straggler:
[HAL]: Piggyback on V8086 handler (don't restore kernel GPF handler) during an NMI, so that we don't enter another fault context during a recursive NMI after display reset. If another NMI does happen, the V8086 GPF handler will just spin.


svn path=/trunk/; revision=44862
2010-01-01 21:05:41 +00:00
ReactOS Portable Systems Group 1b1c2360bb NMI Support Patch 7:
[NTOS]: Improve UNHANDLED_PATH macro with a new "Reason" parameter which displays why the path is unhandled (ie: what the unexpected/unlikely/untested scenario is). This is better than just displaying the current PC which is typically useless.
    [NTOS]: Separate UNHANDLED_PATH from UNHANDLED_V86_PATH which is specifically for paths that are unimplemented due to lack of VDM support.
    [HAL]:  Update to new macros in V8086 support, and handle invalid opcode errors with a debug print (I encountered these when the NMI TSS was being used, since the IOPM was invalid).
    [HAL]:  If the V8086 GPF handler is called outside of V8086 mode, assume an NMI happened around the BIOS Call and just spin forever. We'll piggyback on the V8086 GPF handler during an NMI, in order to avoid the kernel's GPF handler which would attempt to panic/reset the display again (and cause endless NMI recursion/corruption).


svn path=/trunk/; revision=44861
2010-01-01 21:03:22 +00:00
ReactOS Portable Systems Group 6f0ef76efe NMI Support Patch 6:
[HAL]: Fix NMI recursion issues.
    [HAL]: Reset the display during NMI and paint the NMI Screen of Death.

svn path=/trunk/; revision=44860
2010-01-01 20:55:15 +00:00
Dmitry Chapyshev a9786a898d - Update Russian translation
svn path=/trunk/; revision=44859
2010-01-01 19:09:55 +00:00
Eric Kohl 9bcb086ea2 [devmgr]
- Display 'Capabilities' and 'Config Flags' flags separately.

svn path=/trunk/; revision=44858
2010-01-01 17:23:40 +00:00
Eric Kohl 13e0ad9b55 Add missing device capabilities flags.
svn path=/trunk/; revision=44857
2010-01-01 17:02:37 +00:00
ReactOS Portable Systems Group 8266b754b6 NMI Support Patch 5:
[HAL]: Do correct TLB flushing for systems with global page support.
    [HAL]: Clean leading whitespace and comments.


svn path=/trunk/; revision=44856
2010-01-01 16:37:34 +00:00
ReactOS Portable Systems Group 61df639e4a NMI Support Patch 4:
[HAL]:  Use Mm headers to support PTE/PDE address translation instead of a hardcoded, homegrown macro. WARNING: The current HAL code is not PAE compatible (as it already wasn't).
    [NTOS]: Define an inline function to set and query an interrupt handler associated with a given IDT vector. This results in much cleaner code as the uglyness of manually setting up an IDT handler isn't duplicated 10 times. Additionally, it fixes some callers which had not been using HalVectorToIDTEntry to make the initial translation.

svn path=/trunk/; revision=44855
2010-01-01 15:09:14 +00:00
Eric Kohl 45316fbf63 [devmgr]
- Add missing string resources and translate the german ones.
- Set the focus to the combobox when the details page is opened.
- Don't display an error message when a property is not set for the selected device.
- Display 'Capabilities' and 'Config Flags' as DWORD values.

Ooops! These should have been committed as well.

svn path=/trunk/; revision=44854
2010-01-01 14:44:06 +00:00
Eric Kohl 3637a51c29 [devmgr]
- Add missing string resources and translate the german ones.
- Set the focus to the combobox when the details page is opened.
- Don't display an error message when a property is not set for the selected device.
- Display 'Capabilities' and 'Config Flags' as DWORD values.

svn path=/trunk/; revision=44853
2010-01-01 14:42:49 +00:00
Sylvain Petreolle d9c6ea2fbf Add GetEventLogInformation stub.
Add parameter checks for GetNumberOfEventLogRecords and GetOldestEventLogRecord.

Fixes 3 crashes for advapi32:eventlog winetest.

svn path=/trunk/; revision=44852
2010-01-01 14:41:44 +00:00
Dmitry Chapyshev 7b84f181bc - Update Russian translation
svn path=/trunk/; revision=44851
2010-01-01 14:35:01 +00:00
Daniel Reimer 13fc70da4e German translation of Eric's changes + fixed some bad language.
svn path=/trunk/; revision=44850
2010-01-01 12:40:23 +00:00
Colin Finck 7e0605b6a2 Happy New Year!
svn path=/trunk/; revision=44848
2010-01-01 12:10:13 +00:00
Sylvain Petreolle 599f3e27e8 Arch, why are you removing </module> tags ?
Happy new  year :)

svn path=/trunk/; revision=44844
2010-01-01 01:41:39 +00:00
ReactOS Portable Systems Group 040c742cac NMI Support Patch 3:
[HAL]: If the current TSS does not have enough space for an I/O Privilege Map then "borrow" the default TSS while the BIOS Call is in-flight. "Return" it when the BIOS call has ended. Fixes panics during a double fault (since the double fault handler will attempt to clear the display through a Video ROM BIOS Interrupt 10h). Allows NMI panics to do BIOS calls as well (for later).


svn path=/trunk/; revision=44843
2010-01-01 00:03:52 +00:00
ReactOS Portable Systems Group fd1ccbe10c NMI Support Patch 2:
[HAL]: Simplify IDT write-protection handling (always make it R/W and restore it to previous state).
    [HAL]: Avoid two superflous TLB flushes.


svn path=/trunk/; revision=44842
2009-12-31 23:56:40 +00:00
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