Commit graph

50872 commits

Author SHA1 Message Date
Timo Kreuzer 5ccd8f3e5c [BROWSEUI]
Make DllInstall export private to silence an MSVC warning

svn path=/trunk/; revision=56252
2012-03-27 20:05:02 +00:00
Timo Kreuzer 2657db262e fx build second try
svn path=/trunk/; revision=56251
2012-03-27 17:41:42 +00:00
Timo Kreuzer 045a6568ce Fix build
svn path=/trunk/; revision=56250
2012-03-27 17:30:51 +00:00
Timo Kreuzer 98a00b314d [RTL]
Add some temp AVL debugging code: In case an AVL table gets unbalanced, dump the table and a backtrace.

svn path=/trunk/; revision=56249
2012-03-27 17:19:53 +00:00
Amine Khaldi 6fcb5fd53c [FBTUSB]
* Properly add fbtusb. This fixes both gcc and msvc builds.

svn path=/trunk/; revision=56248
2012-03-27 16:36:53 +00:00
Timo Kreuzer 5a911e8752 [FREELDR]
- Refactor some multiply used overly complex expressions into human readable variable names
- Output some useful debuginfo when an import could bot be resolved

svn path=/trunk/; revision=56247
2012-03-27 09:47:10 +00:00
Cameron Gutman a9e1b2d9f5 [INF]
- Add bth.inf
[FBTUSB]
- Add to build and bootcd

svn path=/trunk/; revision=56246
2012-03-27 08:47:46 +00:00
Cameron Gutman ba5509bc72 [ACPI]
- Fix implementations of AcpiOsWaitSemaphore and AcpiOsAcquireMutex to obey the caller's demands to not block if requested

svn path=/trunk/; revision=56245
2012-03-27 07:23:14 +00:00
Cameron Gutman d45f75426f [ACPI]
- Fast mutexes must be allocated from non-paged pool

svn path=/trunk/; revision=56244
2012-03-27 07:05:30 +00:00
Cameron Gutman 040caf7377 [ACPI]
- Fix a stupid string comparison mistake that lead to false positives in the duplicate device detection (1 and 10 detected as conflict)

svn path=/trunk/; revision=56243
2012-03-27 06:50:01 +00:00
Cameron Gutman dc59b8dfc5 [TXTSETUP]
- Add *PNP0A08
[ACPI]
- Handle the PNP0A08 in a couple of missed cases
- Finally, PCI should work on systems that use the new PNP0A08 ID for identifying a PCI Express root bus

svn path=/trunk/; revision=56242
2012-03-27 06:26:38 +00:00
Cameron Gutman 573aa31c4b [NTOSKRNL]
- Set DN_DISABLEABLE if the device can be disabled
[NEWDEV]
- Remove a hack needed because DN_DISABLEABLE was never set

svn path=/trunk/; revision=56241
2012-03-26 23:33:49 +00:00
Cameron Gutman 05abf4495a [NTOSKRNL]
- Flag the device node if it fails post-start
- Remove the device's children when responding to PNP_DEVICE_REMOVED

svn path=/trunk/; revision=56240
2012-03-26 22:57:01 +00:00
Cameron Gutman 31597533ae [ACPI]
- Add translation code for ACPI_RESOURCE_TYPE_FIXED_IO

svn path=/trunk/; revision=56239
2012-03-26 19:34:53 +00:00
Cameron Gutman c29eccdaba [INF]
- Add PNP0A08 as an alias for the PCI bus (more commonly known as PNP0A03)
- Should fix numerous PCI regressions on various machines since switching to ACPI (and the further regression of breaking boot since VBE is now PnP)

svn path=/trunk/; revision=56238
2012-03-26 18:57:53 +00:00
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