Commit Graph

50829 Commits

Author SHA1 Message Date
Timo Kreuzer
d8e68c8aff [DBGHELP]
Fix 64 bit compilation. "Should be sent to wine"(tm)

svn path=/trunk/; revision=56259
2012-03-28 11:08:41 +00:00
Timo Kreuzer
00b699d98b [CMD]
Fix MSVC / 64 bit warnings

svn path=/trunk/; revision=56258
2012-03-28 09:50:04 +00:00
Timo Kreuzer
82c185ae72 [NDK]
Don't C_ASSERT some struct sizes on 64 bit builds

svn path=/trunk/; revision=56257
2012-03-28 09:14:27 +00:00
Timo Kreuzer
5910fd1fbe [REGEDIT]
Mmake regedit to save/load settings for: window placement, listview columns size, last opened key, status bar, splitter.

Patch by Grégori Macário Harbs <mysoft64bits at gmail dot com> and Edijs Kolesnikovics <terminedijs at yahoo dot com>

See issue #6920 for more details.

svn path=/trunk/; revision=56256
2012-03-28 08:23:15 +00:00
Timo Kreuzer
e134d9ffca [REGEDIT]
Handle Ctrl-A in address bar.
Patch by Edijs Kolesnikovics (terminedijs at yahoo dot com)

See issue #5936 for more details.

svn path=/trunk/; revision=56255
2012-03-28 08:06:21 +00:00
Timo Kreuzer
9968addfa4 [DESK.CPL]
Simplify code, patch by Edijs Kolesnikovics (terminedijs at yahoo dot com)

svn path=/trunk/; revision=56254
2012-03-28 07:09:53 +00:00
Timo Kreuzer
9a86915b40 [RTL]
Remove pointless ASSERTs, instead set the balance of the new node to balanced, before inserting it.
Dedicated to Alex.

svn path=/trunk/; revision=56253
2012-03-27 21:41:39 +00:00
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