Aleksey Bragin
bd0cab21cc
- Silence debug output.
...
svn path=/trunk/; revision=38468
2008-12-30 10:32:23 +00:00
Dmitry Gorbachev
fa287a1e62
Do not return garbage in cbSize field of CURSORINFO.
...
svn path=/trunk/; revision=38402
2008-12-28 07:35:26 +00:00
James Tabor
15381523f2
- Total commander crashes after pressing any key, see bug 2292.
...
svn path=/trunk/; revision=38363
2008-12-26 23:00:03 +00:00
Christoph von Wittich
82cffd5af5
fix some more typos
...
svn path=/trunk/; revision=38345
2008-12-25 12:27:47 +00:00
James Tabor
1d97cdc07b
- Fix typo.
...
svn path=/trunk/; revision=38344
2008-12-25 11:36:51 +00:00
James Tabor
af2f0d64d5
- Check for same intput desktop with GetCursorPos. Cleanup GetCursorInfo.
...
svn path=/trunk/; revision=38343
2008-12-25 11:29:53 +00:00
James Tabor
d120bf4591
- Use Cursor position from server information. I guess the logic is, one workstation per system with multiple desktops. So we would always have one cursor pointer, not one per desktop.
...
svn path=/trunk/; revision=38342
2008-12-25 00:35:02 +00:00
Timo Kreuzer
ba15efc312
- Put Dx values at start of buffer to have alignemnt of 4
...
- increase size of stack buffer to 100, results in >90% buffer hits
- Handle Dy values when ETO_PDY is specified (patch by Alexander Potashev, aspotashev at gmail dot com)
See issue #3958 for more details.
svn path=/trunk/; revision=38328
2008-12-24 15:35:40 +00:00
James Tabor
9b5914abf0
- Add IntGetCharDimensions and text metrics for win32k server info.
...
svn path=/trunk/; revision=38317
2008-12-24 02:23:30 +00:00
James Tabor
db48311d5b
- Add One Param Call GetCursorPos. This will be used when GDIPOINTER is deprecated.
...
svn path=/trunk/; revision=38309
2008-12-23 19:04:40 +00:00
Dmitry Gorbachev
d284aa7851
Fix spurious warning/error reported by GCC 4.4.0.
...
svn path=/trunk/; revision=38287
2008-12-22 23:46:23 +00:00
Timo Kreuzer
a4e64ebf0e
If ETO_PDY is specified, Dx is a pair of INTs, make sure we access the correct index.
...
based on aspotashev's patch. Should fix bug #3958
See issue #3958 for more details.
svn path=/trunk/; revision=38262
2008-12-22 04:26:51 +00:00
Timo Kreuzer
766c25b7e3
Some people were thinking they could use NtGdiExtTextOut from within Win32k and get away with it. Since MmCopyFromCaller is broken, it was actually working. Implement NtGdiExtTextOutW as a wrapper around the real function, that is now called GreExtTextOutW, using the naming style that ms also uses to get some more stucture in here. Also get rid of 2 pool allocations and use only one if a local buffer is not sufficient. Should get us more TextOut performance.
...
svn path=/trunk/; revision=38261
2008-12-22 03:58:04 +00:00
James Tabor
955a660368
- Start populating server information structure. This fixes the icon issues with other languages.
...
svn path=/trunk/; revision=38258
2008-12-22 02:52:47 +00:00
Timo Kreuzer
9f0e740e7a
revert 38201 and 38203 due to regressions
...
svn path=/trunk/; revision=38215
2008-12-21 02:27:44 +00:00
Timo Kreuzer
869fc7ead9
Handle ETO_PDY more correctly (dy values still ignored)
...
svn path=/trunk/; revision=38203
2008-12-20 21:01:14 +00:00
Timo Kreuzer
98a6b82bc5
When fuOptions has ETO_PDY specified, the DxBuffer in NtGdiExtTextOutW consists of pairs of INTs, thus the Buffer must be twice as big. (Thanks to aspotashev for locating the problem) MmCopyToCaller -> SEH2. Allocate only one buffer for the string and the Dx values.
...
See issue #3958 for more details.
svn path=/trunk/; revision=38201
2008-12-20 20:38:23 +00:00
Timo Kreuzer
93d4ecb9e8
[FORMATTING]
...
Fix indentation. No code change.
svn path=/trunk/; revision=38199
2008-12-20 19:43:11 +00:00
Timo Kreuzer
fb37c99b05
NtGdiGetFontUnicodeRanges:
...
- Don't probe the safe buffer, but the usermode buffer
svn path=/trunk/; revision=38186
2008-12-19 18:16:04 +00:00
Stefan Ginsberg
2521c1979a
- Remove KeRosDumpStackFrames export and make the call go through KdSystemDebugControl instead
...
svn path=/trunk/; revision=38117
2008-12-16 15:25:51 +00:00
James Tabor
58d352809d
- Fix bitmap tests.
...
svn path=/trunk/; revision=38102
2008-12-15 05:48:22 +00:00
James Tabor
8a3fedace3
- Implement DIB section attribute flag support.
...
- Fix height negativity being passed to NtGdiCreateCompatibleBitmap. See bug 3947.
svn path=/trunk/; revision=38101
2008-12-15 05:25:31 +00:00
Gregor Schneider
e9c0e48377
- IntGetDeviceGammaRamp: remove unneeded code, i * 256 is always smaller than 65535 (255*256=65280 is the biggest value), CID 35
...
- IntSetDeviceGammaRamp: don't copy data to NULL buffer, CID 195
svn path=/trunk/; revision=37944
2008-12-08 19:44:13 +00:00
Eric Kohl
b7903f6d19
Replace call to ExtractIconExW (shell32.dll) by a call to PrivateExtractIconExw (user32.dll) and remove shell32.dll from the list of linked libraries because shell32.dll requires a valid user account upon initialization.
...
Please remember: Don't use high-level DLLs in low-level components (dll or exe)!!!!
svn path=/trunk/; revision=37891
2008-12-06 11:13:50 +00:00
Dmitry Gorbachev
b3597def85
Silence compiler warnings (9/11).
...
svn path=/trunk/; revision=37831
2008-12-03 17:36:23 +00:00
James Tabor
3f5de2feb4
- Correct the copyright header for path.c. Crediting Dmitry Timoshkov for his great work in the Open Source Software movement.
...
svn path=/trunk/; revision=37803
2008-12-01 21:38:57 +00:00
James Tabor
27204c5847
- Moved SelectBitmap/Font to their proper places.
...
- Correct CreateCompatibleBitmap issues, finding more bugs and noted them.
- DibObj.c is a work in progress, needing more love. Managing SEH in a proper manner, fixing the SEH abuse.
- Wine gdi bitmap cross tests looking better, 16 bpp down to 50 faults.
- Need full spectrum testing, I exhausted my test suite so anything will do.
svn path=/trunk/; revision=37784
2008-12-01 00:13:45 +00:00
James Tabor
1af0b46120
- Fixed hooking bug for Firefox, a plus, new SEH found a bug!
...
svn path=/trunk/; revision=37783
2008-11-30 23:39:20 +00:00
KJK::Hyperion
1bd07ee187
modified include/reactos/probe.h
...
Workaround for gcc 4.1.3. See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054#c7
modified ntoskrnl/include/internal/mm.h
gcc 4.3.2 doesn't like to be told to inline MmAcquirePageListLock
modified ntoskrnl/include/internal/probe.h
Cleaning up after TSVN's buggy "apply patch"
modified subsystems/win32/win32k/ntuser/message.c
Silence a gcc 4.3.2 warning (possibly incorrectly)
modified dll/directx/ddraw/ddraw.rbuild
modified dll/win32/gdi32/gdi32.rbuild
modified dll/win32/kernel32/kernel32.rbuild
modified dll/win32/psapi/psapi.rbuild
modified dll/win32/setupapi/setupapi.rbuild
modified dll/win32/syssetup/syssetup.rbuild
modified dll/win32/user32/user32.rbuild
modified drivers/input/kbdclass/kbdclass.rbuild
modified drivers/input/mouclass/mouclass.rbuild
modified drivers/network/afd/afd.rbuild
modified drivers/network/tcpip/tcpip.rbuild
modified lib/rtl/rtl.rbuild
modified subsystems/win32/win32k/win32k.rbuild
modified subsystems/win32/win32k/objects/gdiobj.c
gcc 4.1.3 workarounds. See embedded comments
modified base/services/eventlog/eventlog.h
modified dll/win32/advapi32/advapi32.h
Removed superfluous includes of pseh/pseh.h
modified dll/directx/ddraw/Ddraw/ddraw_displaymode.c
modified dll/directx/ddraw/Ddraw/ddraw_main.c
modified dll/directx/ddraw/Ddraw/ddraw_setcooperativelevel.c
modified dll/directx/ddraw/Ddraw/GetCaps.c
modified dll/directx/ddraw/Ddraw/GetDeviceIdentifier.c
modified dll/directx/ddraw/main.c
modified dll/directx/ddraw/rosdraw.h
modified dll/directx/ddraw/Surface/surface_main.c
ddraw migrated to PSEH 2.0
modified dll/win32/gdi32/include/precomp.h
modified dll/win32/gdi32/misc/misc.c
modified dll/win32/gdi32/objects/bitmap.c
gdi32 migrated to PSEH 2.0
modified dll/win32/kernel32/except/except.c
modified dll/win32/kernel32/file/find.c
modified dll/win32/kernel32/k32.h
modified dll/win32/kernel32/mem/isbad.c
modified dll/win32/kernel32/misc/console.c
modified dll/win32/kernel32/process/procsup.c
modified dll/win32/kernel32/string/lstring.c
modified dll/win32/kernel32/thread/thread.c
kernel32 migrated to PSEH 2.0
modified dll/win32/psapi/precomp.h
modified dll/win32/psapi/psapi.c
psapi migrated to PSEH 2.0
modified dll/win32/setupapi/cfgmgr.c
modified dll/win32/setupapi/setupapi_private.h
setupapi migrated to PSEH 2.0
modified dll/win32/syssetup/wizard.c
syssetup migrated to PSEH 2.0
modified dll/win32/user32/include/user32.h
modified dll/win32/user32/windows/class.c
modified dll/win32/user32/windows/text.c
modified dll/win32/user32/windows/window.c
user32 migrated to PSEH 2.0
modified drivers/input/kbdclass/kbdclass.c
modified drivers/input/kbdclass/kbdclass.h
kbdclass migrated to PSEH 2.0
modified drivers/input/mouclass/mouclass.c
modified drivers/input/mouclass/mouclass.h
mouclass migrated to PSEH 2.0
modified drivers/network/afd/afd/info.c
modified drivers/network/afd/afd/lock.c
modified drivers/network/afd/afd/tdi.c
modified drivers/network/afd/afd/tdiconn.c
afd migrated to PSEH 2.0
modified drivers/network/lan/lan/lan.c
lan migrated to PSEH 2.0
modified drivers/network/tcpip/tcpip/dispatch.c
tcpip migrated to PSEH 2.0
modified lib/rtl/debug.c
modified lib/rtl/res.c
modified lib/rtl/rtl.h
modified lib/rtl/unicode.c
modified lib/rtl/workitem.c
rtl migrated to PSEH 2.0
modified ntoskrnl/include/precomp.h
ntoskrnl migrated to PSEH 2.0
modified subsystems/csr/csrsrv/api.c
csrsrv migrated to PSEH 2.0
modified subsystems/win32/win32k/eng/bitblt.c
modified subsystems/win32/win32k/eng/mem.c
modified subsystems/win32/win32k/include/mmcopy.h
modified subsystems/win32/win32k/misc/copy.c
modified subsystems/win32/win32k/ntuser/callback.c
modified subsystems/win32/win32k/ntuser/class.c
modified subsystems/win32/win32k/ntuser/clipboard.c
modified subsystems/win32/win32k/ntuser/cursoricon.c
modified subsystems/win32/win32k/ntuser/display.c
modified subsystems/win32/win32k/ntuser/hook.c
modified subsystems/win32/win32k/ntuser/input.c
modified subsystems/win32/win32k/ntuser/kbdlayout.c
modified subsystems/win32/win32k/ntuser/menu.c
modified subsystems/win32/win32k/ntuser/misc.c
modified subsystems/win32/win32k/ntuser/ntstubs.c
modified subsystems/win32/win32k/ntuser/painting.c
modified subsystems/win32/win32k/ntuser/simplecall.c
modified subsystems/win32/win32k/ntuser/sysparams.c
modified subsystems/win32/win32k/ntuser/window.c
modified subsystems/win32/win32k/objects/bitblt.c
modified subsystems/win32/win32k/objects/bitmaps.c
modified subsystems/win32/win32k/objects/brush.c
modified subsystems/win32/win32k/objects/cliprgn.c
modified subsystems/win32/win32k/objects/color.c
modified subsystems/win32/win32k/objects/coord.c
modified subsystems/win32/win32k/objects/dc.c
modified subsystems/win32/win32k/objects/dcutil.c
modified subsystems/win32/win32k/objects/dibobj.c
modified subsystems/win32/win32k/objects/fillshap.c
modified subsystems/win32/win32k/objects/font.c
modified subsystems/win32/win32k/objects/freetype.c
modified subsystems/win32/win32k/objects/icm.c
modified subsystems/win32/win32k/objects/line.c
modified subsystems/win32/win32k/objects/path.c
modified subsystems/win32/win32k/objects/pen.c
modified subsystems/win32/win32k/objects/print.c
modified subsystems/win32/win32k/objects/region.c
modified subsystems/win32/win32k/objects/text.c
modified subsystems/win32/win32k/pch.h
win32k migrated to PSEH 2.0
svn path=/trunk/; revision=37776
2008-11-30 19:28:11 +00:00
KJK::Hyperion
feee728349
modified base/shell/explorer/explorer.rbuild
...
The TDM build of gcc 4.3.2 is affected by PR 27067 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27067 ), apparently due to a missing MinGW-only patch - work around it in the linker
modified dll/directx/ddraw/d3d/DirectD3D_main.c
modified dll/directx/ddraw/Ddraw/ddraw_displaymode.c
modified dll/directx/ddraw/Ddraw/ddraw_main.c
modified dll/directx/ddraw/Ddraw/ddraw_setcooperativelevel.c
modified dll/directx/ddraw/Ddraw/GetCaps.c
modified dll/directx/ddraw/Ddraw/GetDeviceIdentifier.c
modified dll/directx/ddraw/main.c
modified dll/directx/ddraw/Surface/createsurface.c
<pseh/pseh.h> already included in rosdraw.h
modified dll/win32/advapi32/misc/trace.c
Silence a warning reported by gcc 4.3.2 (possibly incorrectly, but it's just a stub anyway)
modified ntoskrnl/include/internal/ntoskrnl.h
added ntoskrnl/include/internal/probe.h
replaced ntoskrnl/include/ntoskrnl.h
added ntoskrnl/include/precomp.h
modified ntoskrnl/ntoskrnl-generic.rbuild
added subsystems/win32/win32k/pch.h
replaced subsystems/win32/win32k/w32k.h
modified subsystems/win32/win32k/win32k.rbuild
gcc 4.3.2-tdm-1 doesn't like PSEH in precompiled headers. Shuffle things around a bit to remove PSEH from precompiled headers
svn path=/trunk/; revision=37757
2008-11-30 05:49:18 +00:00
Stefan Ginsberg
ef394b196f
- Less STDCALL, more WINAPI/NTAPI/APIENTRY
...
svn path=/trunk/; revision=37752
2008-11-29 22:48:58 +00:00
James Tabor
6b349fb348
- Move out stubs and place them where they belong.
...
svn path=/trunk/; revision=37699
2008-11-28 03:57:57 +00:00
James Tabor
1301bd7eb6
- Finnish up gdi wine pen cross test fixes.
...
- Fix width issue with simple stock pens.
- Fix Info DC building. This was made obvious with wine pen cross tests.
svn path=/trunk/; revision=37694
2008-11-27 20:51:19 +00:00
Gregor Schneider
a68cd30c0d
- PS_NULL might always be a LOGPEN, but can be retrieved as LOGPEN and EXTLOGPEN, distinguished by the supplied buffer size
...
- Fixes 8 gdi32 pen winetests, finally all left failures are visible in one cmd window ;-)
svn path=/trunk/; revision=37693
2008-11-27 20:31:37 +00:00
James Tabor
4370ebc980
- Fixed stock object creation for pens. Now pass all but 25 pen cross tests. Please use latest wine gdi tests.
...
svn path=/trunk/; revision=37677
2008-11-26 20:44:41 +00:00
Gregor Schneider
cab11c6e20
- ExtCreatePen creates a PS_NULL style pen in the LOGPEN Format, use the NULL_PEN StockObject for that matter
...
- Fixes 24 gdi32 pen winetests
svn path=/trunk/; revision=37661
2008-11-26 15:12:38 +00:00
Stefan Ginsberg
2cb63c5b32
- Change LPTSTR to LPWSTR for NtUserGetAltTabInfo, as this will always be a wide string
...
svn path=/trunk/; revision=37633
2008-11-25 14:50:53 +00:00
Stefan Ginsberg
41bcb8cc77
- Correct some type casts
...
svn path=/trunk/; revision=37630
2008-11-25 13:57:26 +00:00
Gregor Schneider
95b01d0342
- Move slightly changed PS_ALTERNATE and PS_INSIDEFRAME checks from win32k to gdi32
...
- Don't restrict the width of PS_SOLID pens
- Fixes 25 gdi32 pen winetests
- Pen types left tbd: PS_NULL (problems in GetObject and ExtCreatePen) and PS_ALTNATE (EngLineTo/StrokePath does not support bitmap pens)
svn path=/trunk/; revision=37620
2008-11-24 18:40:46 +00:00
Johannes Anderwald
d8a4dde485
- Store settings of SPI_SETMOUSEBUTTONSWAP in registry
...
- bug 2443
svn path=/trunk/; revision=37618
2008-11-24 17:57:17 +00:00
James Tabor
01f04141d9
- Add tag for path objects. Set DC handle when selecting bitmap.
...
svn path=/trunk/; revision=37562
2008-11-22 18:26:32 +00:00
Stefan Ginsberg
cd1bf24e93
- Make sure allocation succeeded (CID 467)
...
svn path=/trunk/; revision=37552
2008-11-22 11:51:01 +00:00
Matthias Kupfer
8cf20f8201
- Add key modifiers MK_CONTROL and MK_SHIFT to all mouse events.
...
- See issue #3557 for more details.
svn path=/trunk/; revision=37525
2008-11-21 20:58:07 +00:00
James Tabor
de77947079
- Pass more bitmap cross tests, 16 bit is down to 52. I have more fixes that relate to that number, need more time to work on it. Fixed SEH abuse in CreateBitmap.
...
svn path=/trunk/; revision=37522
2008-11-21 18:34:31 +00:00
James Tabor
c388ad54d4
- Add Section support for CreateDIBSection. Section support was disabled from the first time it was committed at revision 1753.
...
svn path=/trunk/; revision=37484
2008-11-20 15:11:43 +00:00
James Tabor
cddb6be52b
- Fixed a bug from revision 3514. Now we pass one more gdi bitmap test.
...
svn path=/trunk/; revision=37451
2008-11-18 21:24:33 +00:00
James Tabor
3192a32d97
- Fix bpp count in CreateDIBitmap.
...
svn path=/trunk/; revision=37437
2008-11-18 14:51:14 +00:00
James Tabor
fa0375352f
- Fixes bug 3864. While I was at it I fixed most of the gdi max bit max info sizes too.
...
- Added notes for the SEH abuse in win32k dibobj.c.
- Tested WinMerge 2.10.2, AbiWord 2.4.1, Firefox 1.5.0.3 and wine gdi32 bitmap cross test.
- When testing with gdi cross test in 24 and 32 bit display mode, we have a pixel conversion mismatch. Please fix it!
svn path=/trunk/; revision=37436
2008-11-18 05:36:19 +00:00
James Tabor
92b81a8473
- Add note for NtGdiCreateDIBitmapInternal, Should use System Bitmap DC hSystemBM, with CreateCompatibleDC for this.
...
svn path=/trunk/; revision=37403
2008-11-17 13:51:43 +00:00
James Tabor
4e37ce697b
- Fix AlphaBlend checks that pass wine bitmap gdi32 crosstests. Tested in 16 and 24 bit mode Qemu and 32 bit mode hardware, with our AlphaBlend rendering demo program.
...
svn path=/trunk/; revision=37385
2008-11-16 02:19:43 +00:00