Commit graph

33674 commits

Author SHA1 Message Date
Kamil Hornicek acffd663c1 - update user32 winetest
svn path=/trunk/; revision=37702
2008-11-28 12:02:57 +00:00
Kamil Hornicek 017c4d5476 - fix a typo
- add a define for user32 winetest

svn path=/trunk/; revision=37701
2008-11-28 11:51:12 +00:00
Daniel Reimer a00765a47a Update UniATA to Version 0.39j Credits go to Samuel Serapion
svn path=/trunk/; revision=37700
2008-11-28 09:02:24 +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
Gregor Schneider f9e772b2a2 Update gdi32 winetests, so we don't run out of things to fix.
svn path=/trunk/; revision=37695
2008-11-27 20:52:01 +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
Stefan Ginsberg 44610231d3 - less break, more build
svn path=/trunk/; revision=37692
2008-11-27 20:15:51 +00:00
Stefan Ginsberg 67bc5b6443 - Videoprt should only use the error codes provided in dderror.h, fix that. Also include dderror.h and make the windef.h dependency explicit.
- Include dderror.h in vbemp/vgamp/xboxvmp too, and make sure vbemp gets its precious HIWORD/LOWORD

svn path=/trunk/; revision=37691
2008-11-27 20:05:12 +00:00
Stefan Ginsberg 59cf9318b8 - Correct numerous structures to work without windef.h (makes them match official DDK, too) and fix some double definitions.
- Use same header guard in ddk's ntstatus.h as psdk's to prevent bogus redefinition errors. Also correct some status codes in the psdk version.

svn path=/trunk/; revision=37690
2008-11-27 17:02:09 +00:00
Stefan Ginsberg fb33d87194 - DXAPI: Fix incompatible header inclusion
- DXG: Change the way PDC is defined -- treat the DC structure as opaque instead of including internal win32k headers. Also rework the way DD_BASEOBJECT is defined.

svn path=/trunk/; revision=37689
2008-11-27 15:34:33 +00:00
Stefan Ginsberg 67a842b6fe - ACPI: Don't redefine standard DDK types
- TCPIP/IP/TDI/Uniata: Don't use user mode types
- USBDRIVER: Remove a peculiar redefinition of ULONG_PTR
- NDIS: Remove duplicate (and undocumented) types from ndis.h, defined in an internal NDIS header long ago. Also fix some warnings, define UINT as appropriate, and add a clever (not really) workaround for a gcc/msvc incompatibility. -- For some obnoxious reason msvc is fine with redeclaring types compatibly, while gcc treats it as an error. PSDK and DDK require this, so we need...extended header checks.

svn path=/trunk/; revision=37688
2008-11-27 15:02:47 +00:00
Michael Martin 21b28d3e0d - Add WM_SYSCHAR to U32IsValidAccelMessage. See bug #543 for more info.
svn path=/trunk/; revision=37687
2008-11-27 13:54:29 +00:00
Kamil Hornicek 35f1cdfbd7 - sync wined3d, d3d8, d3d9 to wine HEAD part 2/2
svn path=/trunk/; revision=37684
2008-11-27 09:20:38 +00:00
Kamil Hornicek 39cebe5a19 - sync wined3d, d3d8, d3d9 to wine HEAD part 1/2
svn path=/trunk/; revision=37683
2008-11-27 09:20:16 +00:00
Dmitry Chapyshev 15775884cc - .DEF -> .SPEC
- Add some stubs

svn path=/trunk/; revision=37681
2008-11-27 08:40:47 +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
Matthias Kupfer 39128171c4 - tool for autoconverting INF files to utf-16le from an arbitrary unicode encoding
svn path=/trunk/; revision=37676
2008-11-26 20:38:15 +00:00
Stefan Ginsberg 116b8765bb - Slightly reorder freeldr.h's include order
svn path=/trunk/; revision=37675
2008-11-26 20:33:34 +00:00
Stefan Ginsberg f7325fe7e9 - Fix some definitions, and remove __DD_INCLUDED__ hack
svn path=/trunk/; revision=37673
2008-11-26 20:00:14 +00:00
Matthias Kupfer 62a9e618e7 add myself
svn path=/trunk/; revision=37672
2008-11-26 19:48:01 +00:00
Stefan Ginsberg 2dfe0f5eaf - Fix release build
svn path=/trunk/; revision=37671
2008-11-26 19:24:10 +00:00
Stefan Ginsberg 7cd709ff27 - Define NTSTATUS in a way compatible with the current header set
svn path=/trunk/; revision=37670
2008-11-26 19:22:33 +00:00
Stefan Ginsberg edad66ead2 - Ksuser: Cleanup header usage a bit, and make sure NTSTATUS gets defined
- Kernel32: Undefine IOCTL_SERIAL_LSRMST_INSERT so we don't get a (bogus) incompatible redefinition warning

svn path=/trunk/; revision=37669
2008-11-26 19:04:55 +00:00
Aleksey Bragin 24da6d32fe - Fix some coverity errors.
- Use KeBugCheck(MEMORY_MANAGEMENT) instead of ASSERT(FALSE), so it dies on release builds too.
- Enable support for Hyper-V.
- Fix incorrect gate wait code -- fixes sporadic crashes in the network stack.
- Mark KeBugCheck*, ExRaise* and RtlRaiseStatus as declspec(noreturn), for better optimization of functions which call them, less potential warnings in the compiler, and, assuming coverity understands it, less false CIDs.
- Fix KiUpdateDr7, which resulted in broken support for hardware breakpoints.
- Fix failure cases in EnumerateRootDevices which might've freed non-allocated memory.
- Fix NtAddAtom/NtFindAtom logic when dealing with NULL or kernel Atom names.

Patch by Alex Ionescu.

svn path=/trunk/; revision=37668
2008-11-26 18:56:41 +00:00
Stefan Ginsberg 1afa5e29a0 - kmtest: Don't use user mode types
- memtest: uh, no. ZwQuerySystemInformation does not return NO_ERROR

svn path=/trunk/; revision=37667
2008-11-26 18:43:27 +00:00
James Tabor 7648ed6672 - Add ExtCreatePen note: This is an enhancement and prevents a call to kernel space.
svn path=/trunk/; revision=37666
2008-11-26 17:47:21 +00:00
James Tabor 62e6343ace - Update CL type.
svn path=/trunk/; revision=37665
2008-11-26 17:11:59 +00:00
KJK::Hyperion bd76ae91c0 modified lib/pseh/i386/framebased-gcchack.S
Typo

svn path=/trunk/; revision=37664
2008-11-26 16:15:29 +00:00
KJK::Hyperion 58c81ba194 modified include/reactos/libs/pseh/pseh2.h
If the compiler is not GCC, assume native SEH support

modified   lib/pseh/framebased-gcchack.c
modified   lib/pseh/i386/framebased-gcchack.S
   Allow pseh to be compiled with Visual C++ without warnings

svn path=/trunk/; revision=37663
2008-11-26 16:03:12 +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
KJK::Hyperion d29825fe8f Merging fixes from Visual C++ branch
modified   include/psdk/rpcndr.h
   Mask argument before casting in NdrFcShort

modified   include/psdk/winternl.h
   Visual C++-compatible placement of function attribute

modified   include/reactos/wine/port.h
   Visual C++ has interlocked intrinsics, too

modified   lib/3rdparty/adns/adns_win32/adns_unix_calls.c
modified   lib/3rdparty/adns/src/setup.c
   alloca -> _alloca

modified   lib/3rdparty/libwine/debug.c
   Fix a benign range check warning

modified   lib/3rdparty/libwine/debug_ros.c
   Properly decorate malloc replacement

modified   lib/3rdparty/libwine/string.c
   The actual function is called _stricmp

modified   lib/3rdparty/mingw/wcrt1.c
   Visual C++ support

svn path=/trunk/; revision=37659
2008-11-26 14:28:19 +00:00
Michael Martin 9bd1f294f3 - Migrate advapi32 to PSEH 2.0.
svn path=/trunk/; revision=37656
2008-11-26 10:45:42 +00:00
Daniel Reimer 39aa71e8e2 Bug 3871: Polish translation update for netshell,usetup and reactos.exe by Maciej Bialas
svn path=/trunk/; revision=37649
2008-11-26 06:44:47 +00:00
KJK::Hyperion bfc0f05916 Add comments about workarounds for GCC bugs
svn path=/trunk/; revision=37645
2008-11-25 21:13:57 +00:00
Stefan Ginsberg 07621c2a9f - Remove blue's implicit dependency on windef.h
svn path=/trunk/; revision=37643
2008-11-25 17:11:42 +00:00
Stefan Ginsberg ecff3e72ed - FIX is declared in winddi.h, don't redeclare
svn path=/trunk/; revision=37642
2008-11-25 17:08:48 +00:00
Stefan Ginsberg ed46b7621c - Remove Freeldr's dependency on windef.h
- Explicitly include winerror.h

svn path=/trunk/; revision=37641
2008-11-25 16:55:43 +00:00
Gregor Schneider 4409645578 - Enhance test with icon drawing
- Tests some configurations of DrawIcon and DrawIconEx, highlighting another problem in 32bpp
- Reference TransparentBlt and AlphaBlend directly

svn path=/trunk/; revision=37640
2008-11-25 16:50:25 +00:00
Aleksey Bragin e9b31b7fdf - Fix weird code in RtlGetVersion (inspired by Coverity ID 1355 and Daniel's patch in bug 3906).
See issue #3906 for more details.

svn path=/trunk/; revision=37638
2008-11-25 16:31:07 +00:00
Aleksey Bragin af008eee80 Daniel Zimmerman
- First check for NULL before reference a member in it.
See issue #3907 for more details.

svn path=/trunk/; revision=37636
2008-11-25 15:57:03 +00:00
Aleksey Bragin 22cbf57aad Daniel Zimmerman
- Check pdev and purb for NULL before accessing them. Resolves CID 764 and 763.
See issue #3908 for more details.

svn path=/trunk/; revision=37634
2008-11-25 15:51:09 +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
KJK::Hyperion e995c386a7 Supersedes r37631
Undoing fishy patch for warnings in Wine code (see r37629)

svn path=/trunk/; revision=37632
2008-11-25 14:17:27 +00:00
KJK::Hyperion 69f549f59c Undoing fishy patch for warnings in Wine code (see r37629)
svn path=/trunk/; revision=37631
2008-11-25 14:11:55 +00:00
Stefan Ginsberg 41bcb8cc77 - Correct some type casts
svn path=/trunk/; revision=37630
2008-11-25 13:57:26 +00:00
KJK::Hyperion ea60c32d4f Supersedes r37623 with fixes for cross compilation
modified   base/shell/explorer/explorer.rbuild
modified   dll/win32/glu32/glu32.rbuild
modified   dll/win32/kernel32/kernel32.rbuild
modified   drivers/wdm/audio/backpln/portcls/portcls.rbuild
modified   ReactOS-generic.rbuild
   Set -Wno-non-virtual-dtor globally because we have no use for this warning and it only messes with COM interface definitions
   This alone disables a ton of spurious warnings

modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/modulehandler.h
   Project-global compiler flags now actually work as intended
   Removed some dead code

modified   dll/directx/dxdiagn/container.c
modified   dll/directx/wine/d3d8/device.c
modified   dll/directx/wine/d3d9/device.c
modified   dll/win32/comdlg32/printdlg.c
modified   dll/win32/crypt32/chain.c
modified   dll/win32/crypt32/main.c
modified   dll/win32/crypt32/oid.c
modified   dll/win32/crypt32/protectdata.c
modified   dll/win32/crypt32/rootstore.c
modified   dll/win32/dbghelp/pe_module.c
modified   dll/win32/fusion/assembly.c
modified   dll/win32/gdiplus/font.c
modified   dll/win32/gdiplus/image.c
modified   dll/win32/icmp/icmp_main.c
   Get rid of warnings.
   Patch by Robin Geuze <r.geuze@chello.nl>

svn path=/trunk/; revision=37629
2008-11-25 13:44:30 +00:00
Gregor Schneider 215fa4be9d - Check parameters before allocating memory
- Patch by Daniel Zimmermann, <netzimme AT aim DOT com>
- Fixes possible memory leaks pointed out by CID 605, bug #3910

svn path=/trunk/; revision=37628
2008-11-25 12:53:21 +00:00
KJK::Hyperion f7f455d197 Undo r37623 until cross compilation is fixed
svn path=/trunk/; revision=37626
2008-11-24 21:32:17 +00:00
Matthias Kupfer 71e3048893 - don't calc the same values multiple times
svn path=/trunk/; revision=37625
2008-11-24 21:28:42 +00:00