reactos.git
14 years ago- Enhance test with icon drawing
Gregor Schneider [Tue, 25 Nov 2008 16:50:25 +0000 (16:50 +0000)]
- 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

14 years ago- Fix weird code in RtlGetVersion (inspired by Coverity ID 1355 and Daniel's patch...
Aleksey Bragin [Tue, 25 Nov 2008 16:31:07 +0000 (16:31 +0000)]
- 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

14 years agoDaniel Zimmerman
Aleksey Bragin [Tue, 25 Nov 2008 15:57:03 +0000 (15:57 +0000)]
Daniel Zimmerman
- First check for NULL before reference a member in it.
See issue #3907 for more details.

svn path=/trunk/; revision=37636

14 years agoDaniel Zimmerman
Aleksey Bragin [Tue, 25 Nov 2008 15:51:09 +0000 (15:51 +0000)]
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

14 years ago- Change LPTSTR to LPWSTR for NtUserGetAltTabInfo, as this will always be a wide...
Stefan Ginsberg [Tue, 25 Nov 2008 14:50:53 +0000 (14:50 +0000)]
- Change LPTSTR to LPWSTR for NtUserGetAltTabInfo, as this will always be a wide string

svn path=/trunk/; revision=37633

14 years agoSupersedes r37631
KJK::Hyperion [Tue, 25 Nov 2008 14:17:27 +0000 (14:17 +0000)]
Supersedes r37631
Undoing fishy patch for warnings in Wine code (see r37629)

svn path=/trunk/; revision=37632

14 years agoUndoing fishy patch for warnings in Wine code (see r37629)
KJK::Hyperion [Tue, 25 Nov 2008 14:11:55 +0000 (14:11 +0000)]
Undoing fishy patch for warnings in Wine code (see r37629)

svn path=/trunk/; revision=37631

14 years ago- Correct some type casts
Stefan Ginsberg [Tue, 25 Nov 2008 13:57:26 +0000 (13:57 +0000)]
- Correct some type casts

svn path=/trunk/; revision=37630

14 years agoSupersedes r37623 with fixes for cross compilation
KJK::Hyperion [Tue, 25 Nov 2008 13:44:30 +0000 (13:44 +0000)]
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

14 years ago- Check parameters before allocating memory
Gregor Schneider [Tue, 25 Nov 2008 12:53:21 +0000 (12:53 +0000)]
- 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

14 years agoUndo r37623 until cross compilation is fixed
KJK::Hyperion [Mon, 24 Nov 2008 21:32:17 +0000 (21:32 +0000)]
Undo r37623 until cross compilation is fixed

svn path=/trunk/; revision=37626

14 years ago- don't calc the same values multiple times
Matthias Kupfer [Mon, 24 Nov 2008 21:28:42 +0000 (21:28 +0000)]
- don't calc the same values multiple times

svn path=/trunk/; revision=37625

14 years agomodified base/shell/explorer/explorer.rbuild
KJK::Hyperion [Mon, 24 Nov 2008 19:29:13 +0000 (19:29 +0000)]
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=37623

14 years ago- Add copyright information I forgot, update paths
Gregor Schneider [Mon, 24 Nov 2008 19:27:30 +0000 (19:27 +0000)]
- Add copyright information I forgot, update paths

svn path=/trunk/; revision=37622

14 years ago- Move slightly changed PS_ALTERNATE and PS_INSIDEFRAME checks from win32k to gdi32
Gregor Schneider [Mon, 24 Nov 2008 18:40:46 +0000 (18:40 +0000)]
- 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

14 years ago- Fix heap corruption and memory leak
Johannes Anderwald [Mon, 24 Nov 2008 18:05:51 +0000 (18:05 +0000)]
- Fix heap corruption and memory leak
- patch by Daniel Zimmermann
- CID 707
- bug 3905

svn path=/trunk/; revision=37619

14 years ago- Store settings of SPI_SETMOUSEBUTTONSWAP in registry
Johannes Anderwald [Mon, 24 Nov 2008 17:57:17 +0000 (17:57 +0000)]
- Store settings of SPI_SETMOUSEBUTTONSWAP in registry
- bug 2443

svn path=/trunk/; revision=37618

14 years agomodified ntoskrnl/ex/sysinfo.c
KJK::Hyperion [Mon, 24 Nov 2008 13:47:44 +0000 (13:47 +0000)]
modified   ntoskrnl/ex/sysinfo.c
   MaxSystemInfoClass is now much larger than the size of the CallQS table: use the actual size of the table in range checks to prevent an overrun
   Fixes CID 527, CID 528

svn path=/trunk/; revision=37616

14 years agoEverything
KJK::Hyperion [Mon, 24 Nov 2008 13:40:26 +0000 (13:40 +0000)]
Everything
   Migrate ntoskrnl to PSEH 2.0. The code should speak for itself

modified   ntoskrnl/ex/atom.c
   _SEH_LEAVE was used improperly in NtQueryInformationAtom. As a free bonus, the upgrade to PSEH 2.0 (and to _SEH2_LEAVE) fixes the potential bug

modified   ntoskrnl/fsrtl/fastio.c
   Corrected exception filter logic

modified   ntoskrnl/include/internal/ex.h
   Goodbye _SEH_ExSystemExceptionFilter, you won't be missed

modified   ntoskrnl/include/internal/ntoskrnl.h
   Don't FORCEINLINE functions that use SEH, it's bad form and the compiler doesn't like

modified   ntoskrnl/ke/i386/usercall.c
   Dispatch the correct EXCEPTION_RECORD in case of exception inside KiInitializeUserApc

modified   ntoskrnl/ke/powerpc/exp.c
   Removed bogus, unused SEH code

modified   ntoskrnl/ntoskrnl-generic.rbuild
   Sources using PSEH 2.0 must be compiled with -fno-unit-at-a-time due to a GCC bug. See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17982 and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054
   Apparently, -fno-unit-at-a-time makes GCC crash when using precompiled headers. Disable precompiled headers for ntoskrnl

svn path=/trunk/; revision=37615

14 years agomodified include/psdk/rpc.h
KJK::Hyperion [Mon, 24 Nov 2008 13:05:40 +0000 (13:05 +0000)]
modified   include/psdk/rpc.h
   Implemented RPC exception handling macros with PSEH 2.0

modified   base/services/rpcss/rpcss.rbuild
modified   dll/win32/rpcrt4/rpcrt4.rbuild
   RPC proxy stubs now depend on pseh. We should really add pseh as a link dependency automatically in rbuild, but, eh

modified   tools/rbuild/backend/mingw/modulehandler.cpp
   Compile RPC proxy stubs with -fno-unit-at-a-time due to a GCC bug. See also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17982 and http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38054

svn path=/trunk/; revision=37614

14 years ago- Fix most of the warnings in mkhive.
Aleksey Bragin [Mon, 24 Nov 2008 13:01:56 +0000 (13:01 +0000)]
- Fix most of the warnings in mkhive.

svn path=/trunk/; revision=37613

14 years agomodified dll/directx/ddraw/rosdraw.h
KJK::Hyperion [Mon, 24 Nov 2008 13:00:20 +0000 (13:00 +0000)]
modified   dll/directx/ddraw/rosdraw.h
modified   dll/win32/advapi32/advapi32.h
modified   dll/win32/gdi32/include/precomp.h
modified   dll/win32/setupapi/setupapi_private.h
   Explicitly include pseh/pseh.h, don't rely on <windows.h> including it through <rpc.h>

svn path=/trunk/; revision=37612

14 years ago- Fix build
Stefan Ginsberg [Mon, 24 Nov 2008 12:30:53 +0000 (12:30 +0000)]
- Fix build

svn path=/trunk/; revision=37611

14 years ago- Get rid of warnings.
Aleksey Bragin [Mon, 24 Nov 2008 12:22:09 +0000 (12:22 +0000)]
- Get rid of warnings.

svn path=/trunk/; revision=37610

14 years ago- Get rid of warnings.
Aleksey Bragin [Mon, 24 Nov 2008 12:14:48 +0000 (12:14 +0000)]
- Get rid of warnings.

svn path=/trunk/; revision=37609

14 years ago- Make atapi compile warnings-free.
Aleksey Bragin [Mon, 24 Nov 2008 10:04:05 +0000 (10:04 +0000)]
- Make atapi compile warnings-free.

svn path=/trunk/; revision=37608

14 years agoFixed _SEH2_EXCEPT
KJK::Hyperion [Mon, 24 Nov 2008 03:00:50 +0000 (03:00 +0000)]
Fixed _SEH2_EXCEPT

svn path=/trunk/; revision=37606

14 years agoMissing from previous commit
KJK::Hyperion [Mon, 24 Nov 2008 01:38:43 +0000 (01:38 +0000)]
Missing from previous commit

svn path=/trunk/; revision=37604

14 years agoAllow pseh.h and pseh2.h to be included in the same compilation unit. Mixing PSEH...
KJK::Hyperion [Sun, 23 Nov 2008 23:00:37 +0000 (23:00 +0000)]
Allow pseh.h and pseh2.h to be included in the same compilation unit. Mixing PSEH and PSEH 2.0 macros in the same function isn't safe yet, though

svn path=/trunk/; revision=37601

14 years agoGCC can't appreciate my genius. _SEH2_EXCEPT temporarily broken until I figure out...
KJK::Hyperion [Sun, 23 Nov 2008 22:47:16 +0000 (22:47 +0000)]
GCC can't appreciate my genius. _SEH2_EXCEPT temporarily broken until I figure out a simpler way

svn path=/trunk/; revision=37600

14 years ago- Start the RPC-Server from a separate thread so the initial call to the DLL doesn...
Eric Kohl [Sun, 23 Nov 2008 22:39:43 +0000 (22:39 +0000)]
- Start the RPC-Server from a separate thread so the initial call to the DLL doesn't get blocked.
- Ensure the server accepts more than a single call from clients.

svn path=/trunk/; revision=37599

14 years agoFix formatting. No code changes!
Eric Kohl [Sun, 23 Nov 2008 22:36:15 +0000 (22:36 +0000)]
Fix formatting. No code changes!

svn path=/trunk/; revision=37598

14 years ago - NDIS always calls NdisMIndicateStatusComplete immediately after calling NdisMIndic...
Cameron Gutman [Sun, 23 Nov 2008 16:50:11 +0000 (16:50 +0000)]
 - NDIS always calls NdisMIndicateStatusComplete immediately after calling NdisMIndicateStatus

svn path=/trunk/; revision=37593

14 years ago- More correct fix
Dmitry Chapyshev [Sun, 23 Nov 2008 15:10:09 +0000 (15:10 +0000)]
- More correct fix

svn path=/trunk/; revision=37592

14 years ago- Set flag unicode="yes"
Dmitry Chapyshev [Sun, 23 Nov 2008 14:16:46 +0000 (14:16 +0000)]
- Set flag unicode="yes"
- Use WCHARs instead of TCHAR

svn path=/trunk/; revision=37589

14 years ago- Fix formatting. No code change
Dmitry Chapyshev [Sun, 23 Nov 2008 13:52:57 +0000 (13:52 +0000)]
- Fix formatting. No code change

svn path=/trunk/; revision=37588

14 years ago- Replace the check-marks in the protocol menu by radio-bullets because the user...
Eric Kohl [Sun, 23 Nov 2008 13:34:15 +0000 (13:34 +0000)]
- Replace the check-marks in the protocol menu by radio-bullets because the user can only select one of three protocols.
- Mark a protocol in the menu only if it was read correctly. Otherwise the security protocol gets selected although the user is not able to see this protocol.
- Minor clean-up of the resource id mess.

svn path=/trunk/; revision=37586

14 years ago- Fix formatting. No code change
Dmitry Chapyshev [Sun, 23 Nov 2008 11:15:52 +0000 (11:15 +0000)]
- Fix formatting. No code change

svn path=/trunk/; revision=37583

14 years ago- Implement ActivateActCtx, AddRefActCtx, CreateActCtxW, DeactivateActCtx, FindActCtx...
Dmitry Chapyshev [Sun, 23 Nov 2008 10:10:29 +0000 (10:10 +0000)]
- Implement ActivateActCtx, AddRefActCtx, CreateActCtxW, DeactivateActCtx, FindActCtxSectionStringW, GetCurrentActCtx, ReleaseActCtx
All based on Wine

svn path=/trunk/; revision=37579

14 years ago- Add stubs for RtlActivateActivationContext and RtlCreateActivationContext
Dmitry Chapyshev [Sun, 23 Nov 2008 10:02:20 +0000 (10:02 +0000)]
- Add stubs for RtlActivateActivationContext and RtlCreateActivationContext

svn path=/trunk/; revision=37578

14 years ago- Fix RtlFindActivationContextSectionString prototype
Dmitry Chapyshev [Sun, 23 Nov 2008 08:57:19 +0000 (08:57 +0000)]
- Fix RtlFindActivationContextSectionString prototype

svn path=/trunk/; revision=37575

14 years ago- Fix IsValidLanguageGroup and EnumSystemLanguageGroups. +102 passed tests
Dmitry Chapyshev [Sun, 23 Nov 2008 08:19:35 +0000 (08:19 +0000)]
- Fix IsValidLanguageGroup and EnumSystemLanguageGroups. +102 passed tests

svn path=/trunk/; revision=37574

14 years ago- Implement LCMapStringA/W (based on Wine, +55 passed tests)
Dmitry Chapyshev [Sun, 23 Nov 2008 06:50:32 +0000 (06:50 +0000)]
- Implement LCMapStringA/W (based on Wine, +55 passed tests)
- Fix CompareStringA/W (+6 passed tests)

svn path=/trunk/; revision=37571

14 years agomodified include/reactos/libs/pseh/pseh2.h
KJK::Hyperion [Sun, 23 Nov 2008 00:20:37 +0000 (00:20 +0000)]
modified   include/reactos/libs/pseh/pseh2.h
   Make SF_FramePointer field of _SEHFrame_t volatile, too, just to be safe
   Unoptimized compilation doesn't perform const-folding - "static const" could result in compilation errors, use just "const"
   Renamed _SEH2_GetExceptionPointers to _SEH2_GetExceptionInformation to be closer to the "standard" SEH syntax

modified   lib/pseh/framebased-gcchack.c
   Clobber the register that's actually used

svn path=/trunk/; revision=37570

14 years agoMake the event viewer unicode-enabled and build the unicode version.
Eric Kohl [Sat, 22 Nov 2008 21:14:51 +0000 (21:14 +0000)]
Make the event viewer unicode-enabled and build the unicode version.

svn path=/trunk/; revision=37568

14 years agoReplace TABs by Spaces.
Eric Kohl [Sat, 22 Nov 2008 19:25:48 +0000 (19:25 +0000)]
Replace TABs by Spaces.
No code changes!

svn path=/trunk/; revision=37564

14 years ago- Add tag for path objects. Set DC handle when selecting bitmap.
James Tabor [Sat, 22 Nov 2008 18:26:32 +0000 (18:26 +0000)]
- Add tag for path objects. Set DC handle when selecting bitmap.

svn path=/trunk/; revision=37562

14 years ago- Fix CompareStringA/W. +7 passed wine tests
Dmitry Chapyshev [Sat, 22 Nov 2008 17:41:52 +0000 (17:41 +0000)]
- Fix CompareStringA/W. +7 passed wine tests

svn path=/trunk/; revision=37561

14 years ago - Merge aicom-network-fixes up to r37556
Cameron Gutman [Sat, 22 Nov 2008 17:02:56 +0000 (17:02 +0000)]
 - Merge aicom-network-fixes up to r37556

svn path=/trunk/; revision=37559

14 years ago-AttachThreadInput is a direct call to kernel space, good job Dmitry!
James Tabor [Sat, 22 Nov 2008 16:23:43 +0000 (16:23 +0000)]
-AttachThreadInput is a direct call to kernel space, good job Dmitry!

svn path=/trunk/; revision=37558

14 years ago- Update GetCurrencyFormatW. +34 wine tests passed
Dmitry Chapyshev [Sat, 22 Nov 2008 13:45:17 +0000 (13:45 +0000)]
- Update GetCurrencyFormatW. +34 wine tests passed

svn path=/trunk/; revision=37555

14 years ago- Fix RtlTimeFieldsToTime. Now GetDateFormatW passed all wine tests
Dmitry Chapyshev [Sat, 22 Nov 2008 13:21:33 +0000 (13:21 +0000)]
- Fix RtlTimeFieldsToTime. Now GetDateFormatW passed all wine tests

svn path=/trunk/; revision=37554

14 years ago- Fix 2 wine tests for GetTimeFormatA/W
Dmitry Chapyshev [Sat, 22 Nov 2008 12:15:24 +0000 (12:15 +0000)]
- Fix 2 wine tests for GetTimeFormatA/W

svn path=/trunk/; revision=37553

14 years ago- Make sure allocation succeeded (CID 467)
Stefan Ginsberg [Sat, 22 Nov 2008 11:51:01 +0000 (11:51 +0000)]
- Make sure allocation succeeded (CID 467)

svn path=/trunk/; revision=37552

14 years ago- Fix EnumDateFormatsA implementation. + 7 passed tests
Dmitry Chapyshev [Sat, 22 Nov 2008 11:32:08 +0000 (11:32 +0000)]
- Fix EnumDateFormatsA implementation. + 7 passed tests

svn path=/trunk/; revision=37551

14 years ago- Don't. Include. ntdef.h. From. User. Mode.
Stefan Ginsberg [Sat, 22 Nov 2008 11:17:17 +0000 (11:17 +0000)]
- Don't. Include. ntdef.h. From. User. Mode.

svn path=/trunk/; revision=37550

14 years ago- Remove system_header too
Stefan Ginsberg [Sat, 22 Nov 2008 11:04:49 +0000 (11:04 +0000)]
- Remove system_header too

svn path=/trunk/; revision=37549

14 years ago- No, Winetests doesn't treat ntdef.h as a PSDK header, they don't include it. The...
Stefan Ginsberg [Sat, 22 Nov 2008 11:03:56 +0000 (11:03 +0000)]
- No, Winetests doesn't treat ntdef.h as a PSDK header, they don't include it. The include was added when the Winetest was added to ros, because of missing NTSTATUS type. Include NDK instead.

svn path=/trunk/; revision=37548

14 years ago- Deprecate PSDK's usage of system_header for real now that rostests/winetests are...
Stefan Ginsberg [Sat, 22 Nov 2008 10:47:17 +0000 (10:47 +0000)]
- Deprecate PSDK's usage of system_header for real now that rostests/winetests are fixed

svn path=/trunk/; revision=37547

14 years ago- Silence more "has virtual functions but non-virtual destructor" warnings
Stefan Ginsberg [Sat, 22 Nov 2008 10:38:09 +0000 (10:38 +0000)]
- Silence more "has virtual functions but non-virtual destructor" warnings

svn path=/trunk/; revision=37546

14 years ago- Silence more "has virtual functions but non-virtual destructor" warnings
Stefan Ginsberg [Sat, 22 Nov 2008 10:37:47 +0000 (10:37 +0000)]
- Silence more "has virtual functions but non-virtual destructor" warnings
- Disable outdated and unused libjpeg

svn path=/trunk/; revision=37545

14 years ago- Fix indentation (spaces -> tabs)
Stefan Ginsberg [Sat, 22 Nov 2008 09:09:50 +0000 (09:09 +0000)]
- Fix indentation (spaces -> tabs)

svn path=/trunk/; revision=37544

14 years agoDmitry Gorbachev
Aleksey Bragin [Sat, 22 Nov 2008 08:32:15 +0000 (08:32 +0000)]
Dmitry Gorbachev
- Fix an issue with choosing nonexistent x86 registers %sil/%dil, see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10153 for more details.
- Add "memory" to _InterlockedAddLargeStatistic(). "In Visual C++ 2005, this function behaves as a read-write barrier." -- MSDN library.
- Use "+m" instead of "=m".

See issue #3772 for more details.

svn path=/trunk/; revision=37543

14 years agoDmitry Gorbachev
Aleksey Bragin [Sat, 22 Nov 2008 08:26:53 +0000 (08:26 +0000)]
Dmitry Gorbachev
- SETxx instructions require 8-bit operand, but "r" constraint is used. Use "q" instead ("r" means any general register, including esi and edi, which are not suitable as an operand of setnz.)
See issue #3772 for more details.

svn path=/trunk/; revision=37542

14 years ago- Call NtUserAttachThreadInput
Dmitry Chapyshev [Sat, 22 Nov 2008 06:16:19 +0000 (06:16 +0000)]
- Call NtUserAttachThreadInput

svn path=/trunk/; revision=37540

14 years ago- Sync inetcomm with Wine head
Dmitry Chapyshev [Sat, 22 Nov 2008 04:28:03 +0000 (04:28 +0000)]
- Sync inetcomm with Wine head

svn path=/trunk/; revision=37539

14 years ago- Silence more "has virtual functions but non-virtual destructor"
Stefan Ginsberg [Fri, 21 Nov 2008 23:14:30 +0000 (23:14 +0000)]
- Silence more "has virtual functions but non-virtual destructor"

svn path=/trunk/; revision=37537

14 years ago- ...revert until all Winetests/rostests are fixed. Using a broken RosBe beta which...
Stefan Ginsberg [Fri, 21 Nov 2008 22:48:38 +0000 (22:48 +0000)]
- ...revert until all Winetests/rostests are fixed. Using a broken RosBe beta which doesn't build /rostests/ or /rosapps/ when doing header changes is a bad, bad idea.

svn path=/trunk/; revision=37535

14 years ago- Winetests treats ntdef.h as a psdk header, so temporarily hack it...
Stefan Ginsberg [Fri, 21 Nov 2008 22:38:23 +0000 (22:38 +0000)]
- Winetests treats ntdef.h as a psdk header, so temporarily hack it...

svn path=/trunk/; revision=37534

14 years ago- Fix rostests build, part 1 of ?
Stefan Ginsberg [Fri, 21 Nov 2008 22:23:46 +0000 (22:23 +0000)]
- Fix rostests build, part 1 of ?

svn path=/trunk/; revision=37533

14 years ago- More hack, less build breakage
Stefan Ginsberg [Fri, 21 Nov 2008 22:03:45 +0000 (22:03 +0000)]
- More hack, less build breakage

svn path=/trunk/; revision=37532

14 years ago- Remove system_header from the remaining PSDK headers. The era of liberally sprinkli...
Stefan Ginsberg [Fri, 21 Nov 2008 21:46:58 +0000 (21:46 +0000)]
- Remove system_header from the remaining PSDK headers. The era of liberally sprinkling the overkill system_header gcc hacH^H^H^extension has now come to an end and...oh, wait. What's that you say? DDK does this too? Uh, right. Will fix that too.

svn path=/trunk/; revision=37531

14 years ago- Hack-include ntsecapi.h in powrprof.h, so NTSTATUS gets defined in an NDK-safe...
Stefan Ginsberg [Fri, 21 Nov 2008 21:31:01 +0000 (21:31 +0000)]
- Hack-include ntsecapi.h in powrprof.h, so NTSTATUS gets defined in an NDK-safe way. Not the best way, and most likely not compatible with the official header set, but I can't get the hack used by MS headers to work.

svn path=/trunk/; revision=37530

14 years ago- LANG_WELSH and LANG_BRETON are present in newer official winnt.h (and our winnt...
Stefan Ginsberg [Fri, 21 Nov 2008 21:27:30 +0000 (21:27 +0000)]
- LANG_WELSH and LANG_BRETON are present in newer official winnt.h (and our winnt.h), so no need to put hacked-up versions of them in "Wine compatibility" winnt.h.
- Don't define wchar_t in winnt.h (kudos to Colin Finck for this fix)
- Remove system_header

svn path=/trunk/; revision=37529

14 years ago- Silence "'struct Foo' has virtual functions but non-virtual destructor" warnings...
Stefan Ginsberg [Fri, 21 Nov 2008 21:19:13 +0000 (21:19 +0000)]
- Silence "'struct Foo' has virtual functions but non-virtual destructor" warnings for kernel32, as we don't allow warnings for this module. Needed for the coming header fixes, as system_header hides this warning.

svn path=/trunk/; revision=37528

14 years ago- Protect NTSTATUS definition in NDK with a guard, as is done in the user mode header...
Stefan Ginsberg [Fri, 21 Nov 2008 21:12:53 +0000 (21:12 +0000)]
- Protect NTSTATUS definition in NDK with a guard, as is done in the user mode headers which also define this type
- Remove system_header from these user mode headers

svn path=/trunk/; revision=37527

14 years ago- Remove non-standard "PLANGID" type from NDK and use LANGID* instead. Also protect...
Stefan Ginsberg [Fri, 21 Nov 2008 21:05:33 +0000 (21:05 +0000)]
- Remove non-standard "PLANGID" type from NDK and use LANGID* instead. Also protect LANGID definition with a header guard, as winnt.h defines it too.

svn path=/trunk/; revision=37526

14 years ago- Add key modifiers MK_CONTROL and MK_SHIFT to all mouse events.
Matthias Kupfer [Fri, 21 Nov 2008 20:58:07 +0000 (20:58 +0000)]
- Add key modifiers MK_CONTROL and MK_SHIFT to all mouse events.
- See issue #3557 for more details.

svn path=/trunk/; revision=37525

14 years agodon't redefine IDHELP.
Sylvain Petreolle [Fri, 21 Nov 2008 20:13:22 +0000 (20:13 +0000)]
don't redefine IDHELP.

svn path=/trunk/; revision=37524

14 years ago- winternl.h is deprecated since the NDK was invented, don't use
Stefan Ginsberg [Fri, 21 Nov 2008 19:23:42 +0000 (19:23 +0000)]
- winternl.h is deprecated since the NDK was invented, don't use

svn path=/trunk/; revision=37523

14 years ago- Pass more bitmap cross tests, 16 bit is down to 52. I have more fixes that relate...
James Tabor [Fri, 21 Nov 2008 18:34:31 +0000 (18:34 +0000)]
- 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

14 years ago- Move ntdef.h to DDK as that is where it belongs, and remove unnecessary system_head...
Stefan Ginsberg [Fri, 21 Nov 2008 18:18:12 +0000 (18:18 +0000)]
- Move ntdef.h to DDK as that is where it belongs, and remove unnecessary system_header. Also fix a #endif (kudos to hto -- bug 3888)
- Fix DDK to include ntdef.h instead of windef.h
- Fix a check in debug.h

svn path=/trunk/; revision=37521

14 years ago- Fix a warning
Stefan Ginsberg [Fri, 21 Nov 2008 17:53:10 +0000 (17:53 +0000)]
- Fix a warning

svn path=/trunk/; revision=37520

14 years ago- Added EventSource structure for keeping track of EventLog Source name and associate...
Michael Martin [Fri, 21 Nov 2008 15:40:47 +0000 (15:40 +0000)]
- Added EventSource structure for keeping track of EventLog Source name and associated Log File.
- Added and Implemented ElfCreateEventLogHandle and ElfDeleteEventLogHandle.

svn path=/trunk/; revision=37519

14 years ago- Correct some constants so they don't conflict with aviriff.h
Stefan Ginsberg [Fri, 21 Nov 2008 15:32:18 +0000 (15:32 +0000)]
- Correct some constants so they don't conflict with aviriff.h

svn path=/trunk/; revision=37518

14 years ago- Fix a bug
Stefan Ginsberg [Fri, 21 Nov 2008 15:23:27 +0000 (15:23 +0000)]
- Fix a bug

svn path=/trunk/; revision=37517

14 years ago- Fix double declarations/definitions and remove system_header
Stefan Ginsberg [Fri, 21 Nov 2008 15:12:00 +0000 (15:12 +0000)]
- Fix double declarations/definitions and remove system_header

svn path=/trunk/; revision=37516

14 years ago- woops. temporarily revert system_header to fix build
Stefan Ginsberg [Fri, 21 Nov 2008 15:02:06 +0000 (15:02 +0000)]
- woops. temporarily revert system_header to fix build

svn path=/trunk/; revision=37515

14 years ago- avoid losing pointer to the next bezier patch while freeing the current one (CID...
Kamil Hornicek [Fri, 21 Nov 2008 15:01:01 +0000 (15:01 +0000)]
- avoid losing pointer to the next bezier patch while freeing the current one (CID 1298)

svn path=/trunk/; revision=37514

14 years ago- Remove some straggler system_header
Stefan Ginsberg [Fri, 21 Nov 2008 14:52:22 +0000 (14:52 +0000)]
- Remove some straggler system_header

svn path=/trunk/; revision=37513

14 years ago- free all resources before returning (CID 644)
Kamil Hornicek [Fri, 21 Nov 2008 14:20:54 +0000 (14:20 +0000)]
- free all resources before returning (CID 644)

svn path=/trunk/; revision=37512

14 years ago- Update a comment
Stefan Ginsberg [Fri, 21 Nov 2008 13:45:40 +0000 (13:45 +0000)]
- Update a comment

svn path=/trunk/; revision=37511

14 years ago- store the next node in a separate variable so we won't loose it after freeing the...
Kamil Hornicek [Fri, 21 Nov 2008 13:20:22 +0000 (13:20 +0000)]
- store the next node in a separate variable so we won't loose it after freeing the current node (CID 1296)

svn path=/trunk/; revision=37510

14 years ago- reshuffle the code a bit
Kamil Hornicek [Fri, 21 Nov 2008 12:20:48 +0000 (12:20 +0000)]
- reshuffle the code a bit
- fix CID 521 run 2

svn path=/trunk/; revision=37508

14 years ago- don't leak resources, CID 609+610 run 2
Kamil Hornicek [Fri, 21 Nov 2008 10:31:18 +0000 (10:31 +0000)]
- don't leak resources, CID 609+610 run 2

svn path=/trunk/; revision=37506

14 years ago- Always uninit cache for a file object (official documentation requires this).
Aleksey Bragin [Fri, 21 Nov 2008 10:17:14 +0000 (10:17 +0000)]
- Always uninit cache for a file object (official documentation requires this).

svn path=/trunk/; revision=37504

14 years ago- fix freeing of resources, CID 1295 run 2
Kamil Hornicek [Fri, 21 Nov 2008 09:45:54 +0000 (09:45 +0000)]
- fix freeing of resources, CID 1295 run 2
- don't redefine _WIN32_WINNT

svn path=/trunk/; revision=37502

14 years ago- Convert Value of PATHEXT to lowercase
Johannes Anderwald [Fri, 21 Nov 2008 08:57:13 +0000 (08:57 +0000)]
- Convert Value of PATHEXT to lowercase
- see bug 3875

svn path=/trunk/; revision=37497

14 years ago- Update palette functions and small cleanup in bitmaps.
James Tabor [Fri, 21 Nov 2008 06:50:36 +0000 (06:50 +0000)]
- Update palette functions and small cleanup in bitmaps.

svn path=/trunk/; revision=37496

14 years agoSySync to wine-1.1.1 (Patch 6 of 10):
Eric Kohl [Thu, 20 Nov 2008 20:37:09 +0000 (20:37 +0000)]
SySync to wine-1.1.1 (Patch 6 of 10):

- Rob Shearman <robertshearman@gmail.com> Thu, 3 Jul 2008
widl: Consolidate top-level parameter conformance/variance expression writing into a separate function.

Descend through as many pointer types as necessary to find the
fundamental type and determine whether it needs a top-level parameter
conformance/variance expression to be written.

Add support for writing top-level parameter conformance/variance
expressions for non-encapsulated unions.

svn path=/trunk/; revision=37491