Commit graph

50807 commits

Author SHA1 Message Date
Stefan Ginsberg 18748efb4b - Revert hack.
svn path=/trunk/; revision=56237
2012-03-26 14:51:03 +00:00
Timo Kreuzer 6539718c1d [WIN32K]
- Rewrite coordinate transformation code to use XFORMOBJ apis instead of using floating point in kernel mode. As a small present fix 14 gdi32_winetests (5 mapping, 9 bitmap)
I disabled some RtoL code, since it didn't work anyway and caused more bugs than it fixed.

svn path=/trunk/; revision=56236
2012-03-26 14:35:58 +00:00
Stefan Ginsberg 4cde806076 [NTOS]
- It appears ros wasn't ready for properly handling page faults with interrupts disabled, disable bugcheck and warn and dump stack instead for now.
- Make KeRosDumpStackFrameArray and KdbSymPrintAddress safe to use at elavated IRQL -- don't use Unicode formats for DbgPrint at possible elavated IRQL/interrupts disabled as this may generate a page fault. Safely convert to ANSI instead before printing out the address.

svn path=/trunk/; revision=56235
2012-03-26 13:51:15 +00:00
Stefan Ginsberg 0d198933fd [NTOS]
- Fix a crazy bug in KiTrap0EHandler, it didn't enable interrupts unless it trapped when interrupts were already disabled (during a page fault during page fault handling, for example). This seems to have worked because the old non-newcc version of MiReadPage appears to rely on a page fault to bring the paged out page in. Thanks Timo.

svn path=/trunk/; revision=56234
2012-03-26 13:00:16 +00:00
Sir Richard e51701633a [NTOS]: Add support for determining transition vs. demand zero faults (the former should not yet happen).
[NTOS]: Add a function for removing transition pages from either the standby or modified page lists (not yet used).

svn path=/trunk/; revision=56233
2012-03-26 07:41:47 +00:00
Sir Richard 8acc24467a [NTOS]: Perform system space mappings under the SystemSpaceViewLockPointer guarded mutex.
[NTOS]: Expand system space view buckets when they are running low.
[NTOS]: Support SEC_BASED section creates and mappings, implement based VAD parsing.
[NTOS]: Support section mappings at a fixed base address and check for conflicts.
[NTOS]: Define 8 prioritized standyby lists and initialize them. Also define the modified page list.
[NTOS]: Support mapping with SEC_COMMIT less than the entire size of the section.
[NTOS]: Detect and assert if ARM3 sections are attempted to be unmapped, since this isn't supported yet.
[NTOS]: Clean up some DPRINTs and clarify ARM3 ASSERTs vs. Windows ASSERTs.

svn path=/trunk/; revision=56232
2012-03-26 07:26:36 +00:00
Cameron Gutman 3eb0fe31ad [NTOSKRNL]
- Implement proper use of alternate resource requirement lists
- Implement the case to set DN_NO_SHOW_IN_DM
- Implement reporting more problem codes: CM_PROB_NEED_RESTART, CM_PROB_FAILED_DRIVER_ENTRY, CM_PROB_FAILED_DRIVER_ENTRY, CM_PROB_DRIVER_FAILED_LOAD, CM_PROB_WILL_BE_REMOVED, CM_PROB_HELD_FOR_EJECT, CM_PROB_TRANSLATION_FAILED, and CM_PROB_NORMAL_CONFLICT

svn path=/trunk/; revision=56231
2012-03-25 23:28:23 +00:00
Thomas Faber 5c2322f0f8 [NTDLL_WINETEST]
- Fix running RtlGetFullPathName_UstrEx test from drive root
- Add a test for RtlGetFullPathName_U based on the same test cases

svn path=/trunk/; revision=56230
2012-03-25 21:24:05 +00:00
Thomas Faber 1c4bc49902 [NTDLL_APITEST]
- Add a test for RtlGetFullPathName_UstrEx

svn path=/trunk/; revision=56229
2012-03-25 20:01:12 +00:00
Stefan Ginsberg 26eb754f31 Remove remnant of old boot method.
svn path=/trunk/; revision=56228
2012-03-25 16:57:10 +00:00
Cameron Gutman 7884194b6a [ACPI]
- Properly tag alternate interrupt and DMA resources
- Only iterate through the first dependent function (for now)

svn path=/trunk/; revision=56227
2012-03-25 16:53:02 +00:00
Cameron Gutman 01162c09a5 [ACPI]
- Ignore resource producers when reporting resources

svn path=/trunk/; revision=56226
2012-03-25 16:42:26 +00:00
Olaf Siejka fae4496e37 [TRANSLATION]
- romanian translation update (including INF update) by Stefan Fulea (bug no. 6956);
- turkish translation update by Arda Tanrýkulu (bug no. 6977);
- polish translation of wined3dcfg;
- fix remainder of unrecognized escape sequence warnings;

svn path=/trunk/; revision=56225
2012-03-25 14:26:35 +00:00
Timo Kreuzer 6e88da2b6e [WIN32K]
- Fix right-to-left support the new EngBitBlt code
- Remove an ASSERT that we don't support
- Fix clipping in IntEngBitBlt by bailing out when the target rect got empty
- Delete obsolete file
You can use the code now, but there is a bug in the clipping code somewhere, sometimes causing the taskbar to be overwritten

svn path=/trunk/; revision=56224
2012-03-24 21:07:46 +00:00
Timo Kreuzer a610017a69 [WIN32K]
Fix build

svn path=/trunk/; revision=56223
2012-03-24 19:04:09 +00:00
Timo Kreuzer 33444d0833 [WIN32K]
Allow to build win32k with the new dib library, a switch is in win32k's CMakeLists.txt

svn path=/trunk/; revision=56222
2012-03-24 18:52:48 +00:00
Thomas Faber 504ebb0562 [RTL/HEAP]
- Addendum to r56217. Let's not waste memory.

svn path=/trunk/; revision=56221
2012-03-24 17:38:21 +00:00
Timo Kreuzer a0dbbba584 [WIN32K]
Modify EBRUSHOBJ_pvGetEngBrush to return a pointer to the SURFOBJ, instead of a handle, this simplifies the code

svn path=/trunk/; revision=56220
2012-03-24 17:19:34 +00:00
Timo Kreuzer 4ffc097ef2 [WIN32K]
- Add support for pattern brushes and bottom-to-top blt in new EngBitblt
- implement a new much simpler EngCopyBits
- improve clip enumeration code
The code now generally works very well now, only has a few bugs left

svn path=/trunk/; revision=56219
2012-03-24 16:24:46 +00:00
Timo Kreuzer 720cab7b58 [DIBLIB]
- Implement support for bottom up bitblt
- Add solid pattern support in generic BitBlt function
- Make sure right-to-left is only used in the appropriate functions
- Fix 1bpp _NextPixel() macro

svn path=/trunk/; revision=56218
2012-03-24 16:19:48 +00:00
Thomas Faber a173e25d87 [RTL/HEAP]
- Do not overflow the uncommitted range descriptor segment. Really fixes notepad.
- Free the correct region in failure case
- Some comment fixes
See issue #6966 for more details.

svn path=/trunk/; revision=56217
2012-03-24 14:42:48 +00:00
Timo Kreuzer 3e88d45a04 [WIN32K]
- Add a trivial XLATEOBJ as a global variable.
- Make sure the XLATEOBJ is not NULL, when calling the diblib code
- Remove the IntEngMaskBlt stub, its a very special function for font rendering, keep the old one
- Add more driver debug assertions
- Remove obsolete definition

svn path=/trunk/; revision=56216
2012-03-23 11:29:44 +00:00
Timo Kreuzer a19a8e0fa8 [DIBLIB]
- add table for masking rops
- consity some tables
- Fix some typos

svn path=/trunk/; revision=56215
2012-03-23 11:20:24 +00:00
Eric Kohl e658cf65ee [DEVMGMT]
Implement the "Show hidden devices" feature.

svn path=/trunk/; revision=56214
2012-03-22 22:38:06 +00:00
Timo Kreuzer a0d5e53b32 [WIN32K]
- Initial implementations of IntEngBitBlt, EngBitBlt, NtGdiBitBlt

svn path=/trunk/; revision=56213
2012-03-22 20:43:31 +00:00
Timo Kreuzer 141eee9683 [DIBLIB]
- Implement spacial even more optimized versions of SRCCOPY on equal surfaces for 8,16,24 and 32bpp.
- Add the right-to-left versions to the function tables
- Add _CALCSHIFT macro(s) to calculate the shift in the dib functions, instead of precalculating it in EngBitBlt. This costs us a few bytes per function (yes, with so many functions, every byte counts!) but since it's only for 1 and 4 bpp and improves the code by keeping DIB specific code out of the Eng function, it's reasonable to do so.
- Add optional optimization pragmas

svn path=/trunk/; revision=56212
2012-03-22 20:12:50 +00:00
Timo Kreuzer b8d5c066d9 [WIN32K]
- Add EngAcquireSemaphoreShared prototype
- implement RECTL_bIsWellOrdered
- implement DbgLookupDHPDEV
- start implementation of driver callback debug hooks

svn path=/trunk/; revision=56211
2012-03-21 20:50:04 +00:00
Thomas Faber 4447a83124 [USP10]
- Apply fixes from Wine 1.4. Fixes invalid free in notepad and other edit control users
See issue #6966 for more details.

svn path=/trunk/; revision=56210
2012-03-21 20:39:41 +00:00
Thomas Faber a1edc80bb4 [USER32/EDIT]
- Remove whitespace differences and mark ReactOS changes to make Wine-syncing easier

svn path=/trunk/; revision=56209
2012-03-21 18:33:01 +00:00
Amine Khaldi 3ec9b88b40 [CMAKE]
* Properly handle the dep file creation for resource files.

svn path=/trunk/; revision=56208
2012-03-21 16:46:49 +00:00
Thomas Faber 1476d96626 [WSHTCPIP]
- Fix MSVC warnings, more useful DPRINT
[RTL/HEAP]
- Do not use RtlFillMemory with a 32 bit pattern (CID 13722)

svn path=/trunk/; revision=56207
2012-03-21 15:36:59 +00:00
Cameron Gutman 9261b45bed [NTOSKRNL]
- Once again require a reboot for driver replacement since this seems to cause new issues with devices being enumerated multiple times on vmware

svn path=/trunk/; revision=56206
2012-03-21 15:19:42 +00:00
Cameron Gutman 55f77d65f2 [NTOSKRNL]
- Print the parent devices when a duplicate device is detected

svn path=/trunk/; revision=56205
2012-03-21 15:10:15 +00:00
Cameron Gutman e6c7846c3a - Fix device manager view by connection in ACPI mode
[NTOSKRNL]
- Bugcheck if a driver reports a PDO with a non-unique instance ID
[ACPI]
- Check that we're not reporting the same device multiple times

svn path=/trunk/; revision=56204
2012-03-21 14:35:52 +00:00
Art Yerkes a1de3e633b [NTOSKRNL]
Fix another place where a non-rounded address is used.

svn path=/trunk/; revision=56202
2012-03-21 10:18:39 +00:00
Art Yerkes 2f78ce801d [NTOSKRNL]
Use the rounded page address when handling a not present fault.  Likely leftover from merging newcc.

svn path=/trunk/; revision=56201
2012-03-21 10:15:14 +00:00
Cameron Gutman 1cb478ab04 [NTOSKRNL]
- Create PnpRootRegisterDevice which is used to register a given PDO with the root device so it won't report it twice
- Listing devices by connection works with PCI HAL now but it seems that ACPI is detecting multiple ACPI\PNP0C0F\0 instances here in vbox which is causing the same infinite loop

svn path=/trunk/; revision=56200
2012-03-21 07:15:55 +00:00
Cameron Gutman 955e4aa159 - Major improvements to the device manager experience (finally making it useful for users to gather information from)
- Device manager now reports problem codes, shows unknown devices, and displays non-PnP drivers like Windows
- Inspired by Eric's recent work
[DEVMGMT]
- Finally (!!!) add support for showing devices with no drivers installed yet
- Expand the class tree if one of the devices has a problem
[INF]
- Add legcydrv.inf for installing the LegacyDriver class
[NTOSKRNL]
- Fix null termination issues and enable the legacy driver registry code
- Add a service description in legacy device entries
- Return valid flags for a device status query
- Store problem codes for several common device node failure states

svn path=/trunk/; revision=56199
2012-03-21 03:01:31 +00:00
Sylvain Petreolle 3eb6f2228b Enable /KDSERIAL in bootcd.
This will allow debugging first stage on the KVM test bot.

svn path=/trunk/; revision=56198
2012-03-20 22:37:00 +00:00
Eric Kohl 8f0db19a99 [DEVMGMT]
Implement the 'View/Devices by Connection' feature. It runs very well on windows XP but fails on ReactOS. Needs to be investigated.

svn path=/trunk/; revision=56197
2012-03-20 22:11:51 +00:00
Cameron Gutman f2162e8335 [NTOSKRNL]
- Fix opening of handles to enumerated devices (revert 53351 which ironically fixed this same bug)
- Fixes bug 6939

svn path=/trunk/; revision=56196
2012-03-20 17:04:36 +00:00
Stefan Ginsberg c9c1053b91 - This doesn't work anymore, disable until investigated.
svn path=/trunk/; revision=56195
2012-03-20 13:53:01 +00:00
Stefan Ginsberg 014b23b9a1 [NTOS]
- As a side effect to 45140 one of the "non-used debug features", breaking in with WinDbg, would no longer work. Add this back, as well as the DPC timeout debug check and support for skipping ticks.

svn path=/trunk/; revision=56194
2012-03-20 13:39:25 +00:00
Thomas Faber a5326360ca [NTDLL/LDR]
- Correctly handle out of memory condition (CID 14615)
- Remove a useless assignment (CID 14493)
- Correct wrong sizeof usage (CID 14104), add an assert

svn path=/trunk/; revision=56193
2012-03-20 09:08:23 +00:00
Thomas Faber b9678be68a [SHELL32]
- Fix another local vs member variable issue.

svn path=/trunk/; revision=56192
2012-03-19 16:21:53 +00:00
Thomas Faber f6740b2dba [XMLLITE_WINETEST]
- Fix MSVC build. Already sent upstream.

svn path=/trunk/; revision=56191
2012-03-19 16:12:15 +00:00
Rafal Harabien 551ab97f99 [XMLLITE_WINETEST]
- Sync to Wine 1.3.37

svn path=/trunk/; revision=56190
2012-03-19 15:18:56 +00:00
Rafal Harabien 8de2ad3d83 [XMLLITE]
- Sync to Wine 1.3.37

svn path=/trunk/; revision=56189
2012-03-19 15:17:34 +00:00
Rafal Harabien b13b27b51a [INETMIB1]
- Sync to Wine 1.3.37

svn path=/trunk/; revision=56188
2012-03-19 15:08:06 +00:00
Rafal Harabien 8ee2daa9a2 [INETMIB1_WINETEST]
- Sync to Wine 1.3.37

svn path=/trunk/; revision=56187
2012-03-19 15:06:28 +00:00