Commit graph

33784 commits

Author SHA1 Message Date
Cameron Gutman 28d4b20129 - Fix behavior of kernel APCs interrupting waits on gate objects. Patch by Alex Ionescu.
svn path=/trunk/; revision=37714
2008-11-29 02:57:21 +00:00
Cameron Gutman ffb80a044e - Merge aicom-network-fixes up to r37712
svn path=/trunk/; revision=37713
2008-11-29 01:51:19 +00:00
Stefan Ginsberg c7649d342c - Don't add an include path for internal win32k headers as dxg doesn't include them anymore
svn path=/trunk/; revision=37711
2008-11-28 20:26:25 +00:00
Stefan Ginsberg da6926f487 - Add a header guard for pnp.idl's RESOURCEID, and add an internal define for setupapi as it uses incompatible Wine headers
svn path=/trunk/; revision=37710
2008-11-28 20:24:36 +00:00
Stefan Ginsberg 031931d95a - Use stdarg.h from psdk so we don't get redefinition conflicts
svn path=/trunk/; revision=37709
2008-11-28 20:18:13 +00:00
Stefan Ginsberg 701ac31a4b - Add a missing define -- fixes DECLARE_INTERFACE and everything related for kernel mode
svn path=/trunk/; revision=37707
2008-11-28 18:24:30 +00:00
KJK::Hyperion 1e97173782 GCC 4.3 correctly aligns stack-allocated objects
Patch by "hto", from bugzilla
See issue #3608 for more details.

svn path=/trunk/; revision=37706
2008-11-28 14:47:19 +00:00
KJK::Hyperion e18cdbe06b Don't let ASSERT_SRW_WAITBLOCK evaluate to nothing - make it evaluate to (void)0, like ASSERT would
See issue #3608 for more details.

svn path=/trunk/; revision=37705
2008-11-28 14:38:41 +00:00
KJK::Hyperion b4e5e64c26 ASSERT really needs to be void, despite what DDK headers might say. Fixes following warning:
lib\rtl\srw.c: In function 'RtlAcquireSRWLockShared':
lib\rtl\srw.c:498: error: statement with no effect
lib\rtl\srw.c: In function 'RtlAcquireSRWLockExclusive':
lib\rtl\srw.c:637: error: statement with no effect
lib\rtl\srw.c:668: error: statement with no effect
lib\rtl\srw.c:696: error: statement with no effect
See issue #3922 for more details.

svn path=/trunk/; revision=37704
2008-11-28 14:33:21 +00:00
KJK::Hyperion 06dbf1acc4 Typo. Bogus text to make commit message long enough.
svn path=/trunk/; revision=37703
2008-11-28 14:29:12 +00:00
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