Commit Graph

1609 Commits

Author SHA1 Message Date
Christoph von Wittich
52d7398ad5 fix some gdi32 font winetests
svn path=/trunk/; revision=39569
2009-02-12 17:08:45 +00:00
Christoph von Wittich
5fa00dd155 fix formatting
svn path=/trunk/; revision=39567
2009-02-12 15:33:06 +00:00
Christoph von Wittich
b4f50046ff define CSR_DEFAULT_CURSOR_SIZE instead of hardcoding the value in 3 different places
svn path=/trunk/; revision=39552
2009-02-11 16:39:33 +00:00
Gregor Schneider
e337dfa99d - Remove coordinate checks from NtGdiStretchBlt, since they're done at a later stage differently now
- Fixes a div/0 crash that happened in XnView and Acrobat Reader 9 Setup

svn path=/trunk/; revision=39510
2009-02-09 13:10:39 +00:00
Gregor Schneider
c4d49789a6 Preparation for StretchBlt pattern support (2):
- Modify CallDibStretchBlt for brush support, adjust function pointers
- Add BrushObj to DibFunctions, fix BrushOrigin parameter type, qualify ROP properly

svn path=/trunk/; revision=39506
2009-02-08 23:18:58 +00:00
Gregor Schneider
c74ee95b77 Preparation for StretchBlt pattern support:
- Supply BrushObj and BrushOrigin to IntStretchBlt
- Implement EngStretchBltROP to do the work, let EngStretchBlt call it (this allows ROP support for real now)

svn path=/trunk/; revision=39501
2009-02-08 20:28:20 +00:00
Christoph von Wittich
c7c7ca269b fix some comments
svn path=/trunk/; revision=39490
2009-02-08 15:46:22 +00:00
Gregor Schneider
37532310dd [FORMATTING] apply 4 spaces indentation
svn path=/trunk/; revision=39486
2009-02-08 15:18:13 +00:00
Gregor Schneider
0651d50d93 Evgeny Boltik, <BSTSoft AT narod DOT ru>: Convert BitBlt source coordinates (destination coordinates were converted already)
svn path=/trunk/; revision=39485
2009-02-08 14:54:41 +00:00
Gregor Schneider
69f5107aab StretchBlt: +clipping -bugs
- Additional checks (coordinates switched, NOOP, degenerate, outside of valid region, ...) and offset source rectangle in internal StretchBlt functions
- Fixes the StretchBlt problem in bug #3477, bug #3656 completely as well as bug #4089 and some issues reported elsewhere (bug #3325 for example)
- Increment horizontal position even if outside of the clipping rect (Evgeny Boltik, <BSTSoft AT narod DOT ru>)
- One small problem is left, one cookie for the person who reproduces it, two for the one that fixes it ;-)

svn path=/trunk/; revision=39483
2009-02-08 14:25:33 +00:00
Gregor Schneider
efa5b443b0 - Convert coordinates of src and dst rectangle in TransparentBlt
- Use a descriptive debug print when creation of a XLateObj failed

svn path=/trunk/; revision=39480
2009-02-08 09:25:28 +00:00
Gregor Schneider
bd65505332 Delete old XLateObj before creating a new one, fixes a mem leak when installing .Net 2.0 Framework
svn path=/trunk/; revision=39343
2009-02-03 19:37:18 +00:00
Gregor Schneider
b4c66a205a Offset the source and destination rectangles as pointed out in bug #4107. Remove respective FIXME.
svn path=/trunk/; revision=39336
2009-02-03 15:58:46 +00:00
Gregor Schneider
acf1b854aa Brush displacement fix from r39326 for 24bpp.
svn path=/trunk/; revision=39332
2009-02-03 15:17:31 +00:00
Gregor Schneider
e4ca01940c Forgot to commit this code in r39227, needed for basic clipping.
svn path=/trunk/; revision=39323
2009-02-03 14:33:23 +00:00
Timo Kreuzer
e02dd69903 gdi32: Fix and enable usermode implementation of SetWindowExtEx and SetViewportExtEx.
Win32k: remove NtGdiSetWindowExtEx and NtGdiSetViewportExtEx, rewrite IntFixIsotropicMapping, implement IntGetViewportExtEx

svn path=/trunk/; revision=39281
2009-02-02 00:49:19 +00:00
Gregor Schneider
3c8f0a1df6 Remove dead StretchBlt code
svn path=/trunk/; revision=39241
2009-01-31 15:38:16 +00:00
Gregor Schneider
2bb3d73470 Evgeny Boltik <BSTSoft AT narod DOT ru>:
Generic StretchBlt implementation for all bitrates with partial ROP and clipping support, see bug #4075.
Some changes from me applied to the patch:
- ROP variables renamed, applied consistent indentation, abort operation if pattern ROP and dprint once, split src and dst dprints
- Access source surface only if source is actually used, fixes mem access crashes
- Offer external drivers a NULL surface ptr if source is not used, since they (VMWare for example) access it although they shouldn't (another crash)
- Fixes bug #2609, support for pattern ROPs will be added after some restructuring
- Clipping still has some issues (bugs 3325, 3477, 4089) which seem to be related to IntEng- and EngStretchBlt

svn path=/trunk/; revision=39227
2009-01-31 13:05:11 +00:00
Gregor Schneider
7059620a5e Unify identical StretchBlt implementations in preparation of partial ROP suppport.
svn path=/trunk/; revision=39217
2009-01-30 20:02:58 +00:00
Timo Kreuzer
b9e20bc7be formatting, no code change
svn path=/trunk/; revision=39203
2009-01-29 21:33:38 +00:00
Timo Kreuzer
891cc22a1e Fix IntGdiSetMapMode
svn path=/trunk/; revision=39202
2009-01-29 19:17:53 +00:00
Johannes Anderwald
9ef3e5fb21 - Fix exhaustive debug message flood
svn path=/trunk/; revision=39182
2009-01-28 16:30:19 +00:00
Gregor Schneider
5fbf308acc Set the header size as expected instead of setting the bitmap width
svn path=/trunk/; revision=39180
2009-01-28 15:43:02 +00:00
Gregor Schneider
aeb01dd869 - bcSize holds the size of the BITMAPHEADER structure (not the image size) and should already be set
- Clean up unneeded comments

svn path=/trunk/; revision=39179
2009-01-28 15:35:57 +00:00
Christoph von Wittich
0d38c9174f fix formatting
svn path=/trunk/; revision=39176
2009-01-28 13:55:37 +00:00
Christoph von Wittich
c2e449ca08 update bi->biBitCount before using it - fixes 5 gdi32 bitmap winetests
svn path=/trunk/; revision=39172
2009-01-28 11:55:56 +00:00
Christoph von Wittich
12883a745e remove redundant code
svn path=/trunk/; revision=39165
2009-01-28 08:56:55 +00:00
James Tabor
65254afcef - Set the length for IntGetWindowPlacement.
svn path=/trunk/; revision=39154
2009-01-27 22:04:37 +00:00
James Tabor
ac781172f7 - Quick implemention of NtUserGetInternalWindowPos with internal support function IntGetWindowPlacement.
svn path=/trunk/; revision=39153
2009-01-27 21:57:15 +00:00
Gregor Schneider
906bea5252 Update IntEngCreateSrcMonoXlate parameter names and function call with brush colors after logic changes of r38633.
Based on the patch of Evgeny Boltik <bstsoft AT narod DOT ru>, see bug #4070 for more info.
Fixes inverted colors when using hatched brushes.

svn path=/trunk/; revision=39134
2009-01-27 15:36:07 +00:00
Daniel Reimer
d68970475c Bug 4061: Italian resources updates by Paolo Devoti
Bug 4052: install more Administrative Tools by Mario Kacmar
Bug 4071: update slovak translations by Mario Kacmar
Bug 4063: Greek update for ReactOS 0.3.8 second part by Apostolos Alexiadis
Bug 4047: spanish files by Javier Remacha

svn path=/trunk/; revision=39129
2009-01-27 08:59:39 +00:00
Stefan Ginsberg
dbd86db31e - Deprecate global helper.h -- define the various 'helpful macros' per module
svn path=/trunk/; revision=39092
2009-01-25 16:13:16 +00:00
Michael Martin
9e98d00b9b - Fix Typo.
svn path=/trunk/; revision=39063
2009-01-24 15:52:46 +00:00
Michael Martin
543ed8edd0 - Fix typo.
svn path=/trunk/; revision=39061
2009-01-24 12:28:51 +00:00
Stefan Ginsberg
63677b493d - Fix a crash when menu allocation fails
svn path=/trunk/; revision=39024
2009-01-22 17:04:06 +00:00
Stefan Ginsberg
f233dab1ee - Remove unnecessary allowwarnings="true"
svn path=/trunk/; revision=38948
2009-01-19 18:08:28 +00:00
Christoph von Wittich
fb62d9e954 Use "Small Fonts" (96 dpi) by default
patch by <aspotashev at gmail dot com>
See issue #4011 for more details.

svn path=/trunk/; revision=38933
2009-01-19 10:51:58 +00:00
Art Yerkes
26a6195563 Prevent a null access when the first show-desktop is called. Hidden by low-memory mapped in csrss.
svn path=/trunk/; revision=38886
2009-01-18 12:11:32 +00:00
James Tabor
ad5d6611f9 - Add more thread info types and remove a set mask clear bit.
svn path=/trunk/; revision=38868
2009-01-18 04:36:43 +00:00
James Tabor
1335fe7f13 - It is understandable now why certain applications fail when accessing thread information from user mode, it is the wrong information being accessed.
svn path=/trunk/; revision=38853
2009-01-17 21:14:52 +00:00
James Tabor
d80bf3ef94 - It is shameful, hacks like this.
svn path=/trunk/; revision=38807
2009-01-17 07:07:36 +00:00
James Tabor
1a0ed06ffc - Update DispathMessage and fix time stamp for system and standard timers. Tested with qemu bootcd, cmd and explorer. If any bugs arise please log them under Timer Rewrite then associate the older or newer related bugs under it.
svn path=/trunk/; revision=38803
2009-01-17 01:03:03 +00:00
Thomas Bluemel
6df90967f0 Fix background color used for DrawCaptionTemp with DC_INBUTTON
svn path=/trunk/; revision=38802
2009-01-16 23:56:11 +00:00
Art Yerkes
12f2920bba This actually used to work due to the work csrss does setting up low memory
space.  This fixes it to pass a QOS parameter as it isn't optional.

svn path=/trunk/; revision=38798
2009-01-16 21:03:10 +00:00
James Tabor
a0d07a719b - Rewrite Timers, nothing is using it except a bogus system timer for raw input thread is loaded and running.
svn path=/trunk/; revision=38779
2009-01-15 23:15:31 +00:00
Aleksey Bragin
2ed6687632 - Revert 38750, a dereference happens when that hook is freed by IntFreeHook.
- Change thread dereferencing mechanism in NtUserSetWindowsHookEx:
 * A thread may be referenced in some cases when it's a system-wide hook, however dereference flag was not set for these, so they leaked a reference. Add a ThreadReferenced boolean var to track real references, and set hook's flag according to it.
 * There should be no need to call ObDereferenceObject on a thread when a call to IntRemoveHook was already performed (in failure branches). IntFreeHook() will dereference the thread object.

svn path=/trunk/; revision=38754
2009-01-14 09:51:50 +00:00
Christoph von Wittich
3bb7973d97 fix jim's copypasta
svn path=/trunk/; revision=38753
2009-01-14 07:09:25 +00:00
James Tabor
e3b9b100e1 - Added stubs to timers, tooling up to change over to handled timers. This is related to just about everything. From Carets to window positions.
svn path=/trunk/; revision=38752
2009-01-14 02:02:26 +00:00
Stefan Ginsberg
3ca6b9e650 - NtUserSetWindowsHookEx: Don't leak a thread reference in case we are passed a Thread Id
svn path=/trunk/; revision=38750
2009-01-13 23:41:34 +00:00
James Tabor
0c4b617c16 - Re-implement NtUserDispatchMessage and implement NtUserValidateTimerCallback.
svn path=/trunk/; revision=38745
2009-01-13 12:16:06 +00:00