reactos.git
14 years ago- ne2000: Don't assume stdcall is default for MSVC
Stefan Ginsberg [Sun, 9 Aug 2009 14:18:01 +0000 (14:18 +0000)]
- ne2000: Don't assume stdcall is default for MSVC
- snmpapi: Define SNMP_FUNC_TYPE for MSVC too
- rasman: Compatibly define function pointer prototype
- vbe/vga/xboxvmp: Fix assumption that _MSC_VER means "compiling with Microsoft's headers"

svn path=/trunk/; revision=42563

14 years agopartial sync to wine 1.1.27
Christoph von Wittich [Sun, 9 Aug 2009 13:56:25 +0000 (13:56 +0000)]
partial sync to wine 1.1.27

svn path=/trunk/; revision=42562

14 years agosync shell32_winetest with wine 1.1.27
Christoph von Wittich [Sun, 9 Aug 2009 12:49:55 +0000 (12:49 +0000)]
sync shell32_winetest with wine 1.1.27

svn path=/trunk/; revision=42559

14 years agoEven without a CMINVOKECOMMANDINFOEX structure a link should be executed with the...
Gregor Schneider [Sun, 9 Aug 2009 12:07:21 +0000 (12:07 +0000)]
Even without a CMINVOKECOMMANDINFOEX structure a link should be executed with the supplied parameters
See issue #4323 for more details.

svn path=/trunk/; revision=42557

14 years agofix build
Christoph von Wittich [Sun, 9 Aug 2009 12:06:07 +0000 (12:06 +0000)]
fix build

svn path=/trunk/; revision=42556

14 years agosync shdocvw and mshtml with wine 1.1.27 and add missing translations to avifil32
Christoph von Wittich [Sun, 9 Aug 2009 12:00:11 +0000 (12:00 +0000)]
sync shdocvw and mshtml with wine 1.1.27 and add missing translations to avifil32

svn path=/trunk/; revision=42555

14 years agoAdd lmissing file
Timo Kreuzer [Sun, 9 Aug 2009 11:38:53 +0000 (11:38 +0000)]
Add lmissing file

svn path=/trunk/; revision=42553

14 years agowin32knapi: More / improved tests for NtUserSystemParametersInfo, NtGdiSelectBrush...
Timo Kreuzer [Sun, 9 Aug 2009 11:27:25 +0000 (11:27 +0000)]
win32knapi: More / improved tests for NtUserSystemParametersInfo, NtGdiSelectBrush, NtGdiSelectBitmap, NtGdiGetFontResourceInfoInternalW, NtGdiDoPalette

svn path=/trunk/; revision=42552

14 years agoChange xlate tests a bit.
Timo Kreuzer [Sun, 9 Aug 2009 11:05:54 +0000 (11:05 +0000)]
Change xlate tests a bit.

svn path=/trunk/; revision=42551

14 years ago- Fix intrinsics for MSVC -- just include intrin.h instead of duplicating the definit...
Stefan Ginsberg [Sun, 9 Aug 2009 09:58:07 +0000 (09:58 +0000)]
- Fix intrinsics for MSVC -- just include intrin.h instead of duplicating the definitions.

svn path=/trunk/; revision=42550

14 years agoFix compilation #2
Hervé Poussineau [Sun, 9 Aug 2009 08:24:22 +0000 (08:24 +0000)]
Fix compilation #2

svn path=/trunk/; revision=42546

14 years agoFix compilation
Hervé Poussineau [Sun, 9 Aug 2009 08:13:17 +0000 (08:13 +0000)]
Fix compilation

svn path=/trunk/; revision=42545

14 years agoMerge FldrCreateComponentKey and FldrSetIdentifier
Hervé Poussineau [Sun, 9 Aug 2009 08:11:52 +0000 (08:11 +0000)]
Merge FldrCreateComponentKey and FldrSetIdentifier

svn path=/trunk/; revision=42544

14 years agoMerge FldrCreateComponentKey and FldrSetComponentInformation
Hervé Poussineau [Sun, 9 Aug 2009 07:45:41 +0000 (07:45 +0000)]
Merge FldrCreateComponentKey and FldrSetComponentInformation
Remove unneeded parameters in FldrCreateComponentKey

svn path=/trunk/; revision=42543

14 years ago - Return the correct value for AFD_INFO_BLOCKING_MODE
Cameron Gutman [Sun, 9 Aug 2009 03:57:29 +0000 (03:57 +0000)]
 - Return the correct value for AFD_INFO_BLOCKING_MODE
 - Implement AFD_INFO_SENDS_IN_PROGRESS (SO_LINGER should work now)

svn path=/trunk/; revision=42542

14 years agoFix issue #4673 ("Misrepresented license in FreeLDR"), Robert Millan (rmh.reactos...
Dmitry Gorbachev [Sat, 8 Aug 2009 22:39:04 +0000 (22:39 +0000)]
Fix issue #4673 ("Misrepresented license in FreeLDR"), Robert Millan (rmh.reactos at aybabtu.com).

svn path=/trunk/; revision=42541

14 years agoRemove dead code
Hervé Poussineau [Sat, 8 Aug 2009 21:50:15 +0000 (21:50 +0000)]
Remove dead code

svn path=/trunk/; revision=42540

14 years agoUse Arc* infrastructure to read the .inf file
Hervé Poussineau [Sat, 8 Aug 2009 21:23:23 +0000 (21:23 +0000)]
Use Arc* infrastructure to read the .inf file

svn path=/trunk/; revision=42539

14 years agoFix some typos and make PFILE a ULONG
Hervé Poussineau [Sat, 8 Aug 2009 21:11:40 +0000 (21:11 +0000)]
Fix some typos and make PFILE a ULONG

svn path=/trunk/; revision=42538

14 years ago- Half-convert FAT, Ext2 and NTFS filesytems to provide new ARC file infrastructure...
Hervé Poussineau [Sat, 8 Aug 2009 20:53:10 +0000 (20:53 +0000)]
- Half-convert FAT, Ext2 and NTFS filesytems to provide new ARC file infrastructure. This allows removing some compatibility code in fs.c
- Remove use of FsOpenBootVolume() and FsOpenSystemVolume(). If callers don't want a file on boot volume, they need to use the new ArcOpen/ArcSeek/ArcRead/ArcClose functions instead of the old FsOpenFile/FsSetFilePointer/FsReadFile/FsCloseFile

svn path=/trunk/; revision=42537

14 years agoSupply default ansi codepage when converting from unicode, fixes 365 kernel32 comm...
Gregor Schneider [Sat, 8 Aug 2009 20:20:16 +0000 (20:20 +0000)]
Supply default ansi codepage when converting from unicode, fixes 365 kernel32 comm winetests

svn path=/trunk/; revision=42536

14 years ago[FORMATTING]
Timo Kreuzer [Sat, 8 Aug 2009 19:53:21 +0000 (19:53 +0000)]
[FORMATTING]
4 spaces indentation, no code change

svn path=/trunk/; revision=42535

14 years ago- Do not compare an ULONG variable with -1 in DbgPrint().
Dmitry Gorbachev [Sat, 8 Aug 2009 19:34:21 +0000 (19:34 +0000)]
- Do not compare an ULONG variable with -1 in DbgPrint().
- Simplify TuiPrintf().

svn path=/trunk/; revision=42534

14 years agoHACK FIX DiskGetBootPath() method to return something meaningful when booting from...
Hervé Poussineau [Sat, 8 Aug 2009 19:33:08 +0000 (19:33 +0000)]
HACK FIX DiskGetBootPath() method to return something meaningful when booting from hard disk

svn path=/trunk/; revision=42533

14 years agoFix Uniata for msvc:
Stefan Ginsberg [Sat, 8 Aug 2009 18:27:01 +0000 (18:27 +0000)]
Fix Uniata for msvc:
- Add missing msvc intrinsics to winddk.h
- Don't assume compiler means a specific header set, and don't rely on the default calling convention being stdcall.
- Disable a warning spotted by MSVC -- requesting anyone with understanding of the code to have a look.

svn path=/trunk/; revision=42531

14 years agomodified base/setup/vmwinst/vmwinst.c
KJK::Hyperion [Sat, 8 Aug 2009 18:03:48 +0000 (18:03 +0000)]
modified   base/setup/vmwinst/vmwinst.c
modified   base/setup/vmwinst/vmwinst.rbuild
   Implement VMWare detection for Visual C++ as well
   For cleaner code, use SEH instead of VEH, even if it means losing this pearl of ReactOS wisdom:

       /* Setup a vectored exception handler to protect the detection. Don't use SEH
       here so we notice the next time someone removes support for vectored
       exception handling from ros... */

   (www.passiveaggressivecommits.com, brought to you by Arch Blackmann!)
   Of course, it also means trading our VEH bugs for our SEH bugs, so I'm not sure if it was worth changing

svn path=/trunk/; revision=42530

14 years agomodified dll/3rdparty/mesa32/src/main/imports.c
KJK::Hyperion [Sat, 8 Aug 2009 17:18:34 +0000 (17:18 +0000)]
modified   dll/3rdparty/mesa32/src/main/imports.c
   We don't have _aligned_malloc in our CRT, whatever compiler we use

modified   dll/3rdparty/mesa32/src/main/imports.h
   The mysterious MESA compilation bug has been found: seems the Visual C++ preprocessor doesn't know about the "F" number suffix

modified   dll/3rdparty/mesa32/reactos.diff
   Updated the diff

svn path=/trunk/; revision=42529

14 years agoRework ISO9660 filesystem to use ARC file architecture.
Hervé Poussineau [Sat, 8 Aug 2009 17:13:14 +0000 (17:13 +0000)]
Rework ISO9660 filesystem to use ARC file architecture.
ISO filesystem doesn't depend anymore of boot volume/system volume

svn path=/trunk/; revision=42528

14 years agoRead freeldr.ini file using ARC file infrastructure
Hervé Poussineau [Sat, 8 Aug 2009 17:08:51 +0000 (17:08 +0000)]
Read freeldr.ini file using ARC file infrastructure

svn path=/trunk/; revision=42527

14 years agoImprove ARC file infrastructure, by adding a compatibility layer from old to new...
Hervé Poussineau [Sat, 8 Aug 2009 17:04:53 +0000 (17:04 +0000)]
Improve ARC file infrastructure, by adding a compatibility layer from old to new system (new to old already exists)
i386: when reading sectors, use dedicated scratch area
Increase number of available open files to 60, because something seems to leak file descriptors

svn path=/trunk/; revision=42526

14 years ago- Fix compilation of csrsrv:
Stefan Ginsberg [Sat, 8 Aug 2009 16:50:27 +0000 (16:50 +0000)]
- Fix compilation of csrsrv:
- helper.h does not exist anymore, so define what was used in srv.h instead
- Complete migration to PSEH2
- TEB's Cid was renamed to ClientId -- update the code
- Rename DllMain to DllMainCRTStartup as this is what we link a native dll to
- Fix some incorrect entries in the .spec
- Also fix some /W4 warnings. Add a note to CsrPopulateDosDevicesDirectory that the code is incomplete and will never stop looping (spotted by /W4).
- Does not link completely yet due to some missing function stubs.

svn path=/trunk/; revision=42525

14 years agoRemove temporary debug code, crash was fixed by r42506 and r42517
Gregor Schneider [Sat, 8 Aug 2009 16:24:22 +0000 (16:24 +0000)]
Remove temporary debug code, crash was fixed by r42506 and r42517

svn path=/trunk/; revision=42523

14 years agosync msacm with wine 1.1.27
Christoph von Wittich [Sat, 8 Aug 2009 16:14:46 +0000 (16:14 +0000)]
sync msacm with wine 1.1.27

svn path=/trunk/; revision=42522

14 years agoOnly set text resource in DefWndProcA on WM_NCCREATE if passed and exists
Gregor Schneider [Sat, 8 Aug 2009 16:14:43 +0000 (16:14 +0000)]
Only set text resource in DefWndProcA on WM_NCCREATE if passed and exists
See issue #4766 for more details.

svn path=/trunk/; revision=42521

14 years agoDon't access the device mode if it is not passed (user32 monitor crash)
Gregor Schneider [Sat, 8 Aug 2009 16:01:24 +0000 (16:01 +0000)]
Don't access the device mode if it is not passed (user32 monitor crash)

svn path=/trunk/; revision=42520

14 years agoRevert r42518: no user mode types in DDK
Gregor Schneider [Sat, 8 Aug 2009 15:10:01 +0000 (15:10 +0000)]
Revert r42518: no user mode types in DDK

svn path=/trunk/; revision=42519

14 years agoULONG->DWORD as seen on MSDN for (U)LARGE_INTEGER
Gregor Schneider [Sat, 8 Aug 2009 15:01:38 +0000 (15:01 +0000)]
ULONG->DWORD as seen on MSDN for (U)LARGE_INTEGER

svn path=/trunk/; revision=42518

14 years ago-Use correct conversion factors in FileTimeToUnixTime (increased by factor 1000)
Gregor Schneider [Sat, 8 Aug 2009 14:55:25 +0000 (14:55 +0000)]
-Use correct conversion factors in FileTimeToUnixTime (increased by factor 1000)
-Prefer time_t to arch specific __time64_t
-Assumption from r42506 was wrong: GetSystemTimeAsFileTime supplies good values

svn path=/trunk/; revision=42517

14 years ago- Silence a soundblaster warning on release build
Stefan Ginsberg [Sat, 8 Aug 2009 14:41:50 +0000 (14:41 +0000)]
- Silence a soundblaster warning on release build

svn path=/trunk/; revision=42516

14 years ago- Undefine __ROS_LONG64__ for ReactOS' extensions to kernel32 and setupapi Winetests...
Stefan Ginsberg [Sat, 8 Aug 2009 13:34:12 +0000 (13:34 +0000)]
- Undefine __ROS_LONG64__ for ReactOS' extensions to kernel32 and setupapi Winetests -- fixes even more warnings

svn path=/trunk/; revision=42514

14 years ago- Correct the RegionSize member of MEMORY_BASIC_INFORMATION -- it is pointer sized.
Stefan Ginsberg [Sat, 8 Aug 2009 13:32:15 +0000 (13:32 +0000)]
- Correct the RegionSize member of MEMORY_BASIC_INFORMATION -- it is pointer sized.
- Make RPC_STATUS respect __ROS_LONG64__ -- fixes a bunch of format warnings in the rpcrt4 Winetest.

svn path=/trunk/; revision=42513

14 years agosync msi winetest with wine 1.1.27
Christoph von Wittich [Sat, 8 Aug 2009 12:48:20 +0000 (12:48 +0000)]
sync msi winetest with wine 1.1.27

svn path=/trunk/; revision=42511

14 years agosync widl to wine 1.1.27
Christoph von Wittich [Sat, 8 Aug 2009 12:40:21 +0000 (12:40 +0000)]
sync widl to wine 1.1.27

svn path=/trunk/; revision=42510

14 years agoalways build 32 bit typelibs
Christoph von Wittich [Sat, 8 Aug 2009 12:37:01 +0000 (12:37 +0000)]
always build 32 bit typelibs

svn path=/trunk/; revision=42509

14 years agosync msi with wine 1.1.27
Christoph von Wittich [Sat, 8 Aug 2009 11:55:51 +0000 (11:55 +0000)]
sync msi with wine 1.1.27

svn path=/trunk/; revision=42507

14 years ago-time() returns a valid value even if no pointer is passed
Gregor Schneider [Sat, 8 Aug 2009 11:40:48 +0000 (11:40 +0000)]
-time() returns a valid value even if no pointer is passed
-Exposes another bug: kernel32's GetSystemTimeAsFileTime currently returns invalid (too low) time values

svn path=/trunk/; revision=42506

14 years agofix rc files
Christoph von Wittich [Sat, 8 Aug 2009 10:48:08 +0000 (10:48 +0000)]
fix rc files

svn path=/trunk/; revision=42505

14 years agopartial revert of r41765
Christoph von Wittich [Sat, 8 Aug 2009 10:22:51 +0000 (10:22 +0000)]
partial revert of r41765

svn path=/trunk/; revision=42504

14 years agopartial revert of r41770
Christoph von Wittich [Sat, 8 Aug 2009 10:18:41 +0000 (10:18 +0000)]
partial revert of r41770

svn path=/trunk/; revision=42503

14 years agopartial revert of r41768
Christoph von Wittich [Sat, 8 Aug 2009 10:14:13 +0000 (10:14 +0000)]
partial revert of r41768

svn path=/trunk/; revision=42502

14 years agopartial revert of r41766
Christoph von Wittich [Sat, 8 Aug 2009 10:09:14 +0000 (10:09 +0000)]
partial revert of r41766

svn path=/trunk/; revision=42501

14 years agoInclude header where needed
Pierre Schweitzer [Sat, 8 Aug 2009 09:49:27 +0000 (09:49 +0000)]
Include header where needed

svn path=/trunk/; revision=42499

14 years ago-sync wrc to wine 1.1.27
Christoph von Wittich [Sat, 8 Aug 2009 09:09:37 +0000 (09:09 +0000)]
-sync wrc to wine 1.1.27
-apply a patch from Marcus Meissner to fix reading from stdin (broken in current wine)

svn path=/trunk/; revision=42498

14 years agosync jscript_winetest with wine 1.1.27
Christoph von Wittich [Sat, 8 Aug 2009 07:34:31 +0000 (07:34 +0000)]
sync jscript_winetest with wine 1.1.27

svn path=/trunk/; revision=42497

14 years agosync jscript with wine 1.1.27
Christoph von Wittich [Sat, 8 Aug 2009 07:34:09 +0000 (07:34 +0000)]
sync jscript with wine 1.1.27

svn path=/trunk/; revision=42496

14 years ago[lsasrv] Do not launch a thread to listen for incoming calls, but do it directly
Hervé Poussineau [Sat, 8 Aug 2009 07:27:37 +0000 (07:27 +0000)]
[lsasrv] Do not launch a thread to listen for incoming calls, but do it directly
Better LsarClose stub, which tries to do the right thing
Fix a few prototypes
See issue #4689 for more details.

svn path=/trunk/; revision=42495

14 years agodelete obsolete diff
Christoph von Wittich [Sat, 8 Aug 2009 07:20:55 +0000 (07:20 +0000)]
delete obsolete diff

svn path=/trunk/; revision=42494

14 years agoallow warnings for idl
Christoph von Wittich [Sat, 8 Aug 2009 07:06:52 +0000 (07:06 +0000)]
allow warnings for idl

svn path=/trunk/; revision=42493

14 years agotry to re enable rpc4rt winetest
Christoph von Wittich [Sat, 8 Aug 2009 06:47:51 +0000 (06:47 +0000)]
try to re enable rpc4rt winetest

svn path=/trunk/; revision=42492

14 years ago - Stop trying to find more adapters if it failed to avoid spamming the debug log
Cameron Gutman [Sat, 8 Aug 2009 03:18:41 +0000 (03:18 +0000)]
 - Stop trying to find more adapters if it failed to avoid spamming the debug log
 - Should fix buildbot test 2nd stage

svn path=/trunk/; revision=42491

14 years agoNtUserGetIconInfo: Move lockingunlocking out of SEH, as this is a bad idea. Get rid...
Timo Kreuzer [Sat, 8 Aug 2009 02:47:32 +0000 (02:47 +0000)]
NtUserGetIconInfo: Move lockingunlocking out of SEH, as this is a bad idea. Get rid of RETURN(). Add a comment.

svn path=/trunk/; revision=42490

14 years ago[win32k]
Timo Kreuzer [Sat, 8 Aug 2009 02:42:41 +0000 (02:42 +0000)]
[win32k]
- Use DIB_GetDIBWidthBytes and BitsPerFormat instead of switch
- Add SPS_CHANGE flag when calling IntEngSetPointerShape
- Fixes VMWare Driver mouse pointer regression

svn path=/trunk/; revision=42489

14 years agoComment out rpcrt4 winetest, as it breaks testcd.
Timo Kreuzer [Sat, 8 Aug 2009 01:35:06 +0000 (01:35 +0000)]
Comment out rpcrt4 winetest, as it breaks testcd.

svn path=/trunk/; revision=42488

14 years agoUpdate the fill brush, in NtGdiFillPath.
Timo Kreuzer [Sat, 8 Aug 2009 00:50:42 +0000 (00:50 +0000)]
Update the fill brush, in NtGdiFillPath.

svn path=/trunk/; revision=42487

14 years ago- Don't use dllexport for dxapi -- we have a .spec
Stefan Ginsberg [Fri, 7 Aug 2009 21:53:26 +0000 (21:53 +0000)]
- Don't use dllexport for dxapi -- we have a .spec

svn path=/trunk/; revision=42486

14 years ago- Use APIENTRY compatible -- wdmaud now builds
Stefan Ginsberg [Fri, 7 Aug 2009 21:27:45 +0000 (21:27 +0000)]
- Use APIENTRY compatible -- wdmaud now builds

svn path=/trunk/; revision=42485

14 years ago- Don't assume _MSC_VER means PSDK in regedit -- add a note so this isn't forgotten.
Stefan Ginsberg [Fri, 7 Aug 2009 21:15:17 +0000 (21:15 +0000)]
- Don't assume _MSC_VER means PSDK in regedit -- add a note so this isn't forgotten.

svn path=/trunk/; revision=42484

14 years ago- Make rapps MSVC-friendly
Stefan Ginsberg [Fri, 7 Aug 2009 21:10:16 +0000 (21:10 +0000)]
- Make rapps MSVC-friendly

svn path=/trunk/; revision=42483

14 years agosync rpcrt4 winetest with wine 1.1.26
Christoph von Wittich [Fri, 7 Aug 2009 21:02:55 +0000 (21:02 +0000)]
sync rpcrt4 winetest with wine 1.1.26

svn path=/trunk/; revision=42482

14 years agoAPIENTRY LONG --> LONG APIENTRY
Christoph von Wittich [Fri, 7 Aug 2009 20:17:55 +0000 (20:17 +0000)]
APIENTRY LONG --> LONG APIENTRY

svn path=/trunk/; revision=42481

14 years ago- Sync WIDL and ole32 with Wine-1.1.23, w/o syncing rpcrt4. Credits go to Christoph...
Aleksey Bragin [Fri, 7 Aug 2009 20:15:12 +0000 (20:15 +0000)]
- Sync WIDL and ole32 with Wine-1.1.23, w/o syncing rpcrt4. Credits go to Christoph for helping out with this sync. Tested with rpcrt4_winetests and MS Office 2003 setup.

svn path=/trunk/; revision=42480

14 years ago. Define APIENTRY compatibly for MSVC
Stefan Ginsberg [Fri, 7 Aug 2009 20:12:19 +0000 (20:12 +0000)]
. Define APIENTRY compatibly for MSVC

svn path=/trunk/; revision=42479

14 years ago- C89 compliance for iphlpapi
Stefan Ginsberg [Fri, 7 Aug 2009 20:03:37 +0000 (20:03 +0000)]
- C89 compliance for iphlpapi

svn path=/trunk/; revision=42478

14 years ago- Fix broken include path for MSVC -- appwiz, input, joy and telephon applets now...
Stefan Ginsberg [Fri, 7 Aug 2009 19:49:22 +0000 (19:49 +0000)]
- Fix broken include path for MSVC -- appwiz, input, joy and telephon applets now compile

svn path=/trunk/; revision=42477

14 years ago- Remove another assumption that _MSC_VER means the MSVC build environment -- aclui...
Stefan Ginsberg [Fri, 7 Aug 2009 19:37:11 +0000 (19:37 +0000)]
- Remove another assumption that _MSC_VER means the MSVC build environment -- aclui now builds.

svn path=/trunk/; revision=42476

14 years agoMove variable initialization to top of scope.
Stefan Ginsberg [Fri, 7 Aug 2009 19:19:46 +0000 (19:19 +0000)]
Move variable initialization to top of scope.
Welcome to MSVC, eventlog. It is safer here.

svn path=/trunk/; revision=42475

14 years ago- Remove HalDisplayString from the DDK as it doesn't belong there and is already...
Stefan Ginsberg [Fri, 7 Aug 2009 19:16:01 +0000 (19:16 +0000)]
- Remove HalDisplayString from the DDK as it doesn't belong there and is already in the NDK.
- Move KeFlushQueuedDpcs from NDK to DDK as this is where it belongs -- it is a documented routine.

svn path=/trunk/; revision=42474

14 years ago- Calling NtLoadDriver on an already loaded driver should fail with STATUS_IMAGE_ALRE...
Michael Martin [Fri, 7 Aug 2009 18:27:31 +0000 (18:27 +0000)]
- Calling NtLoadDriver on an already loaded driver should fail with STATUS_IMAGE_ALREADY_LOADED. Fixes one test for kmtest driver tests and a bugcheck when loading the driver a second time.

svn path=/trunk/; revision=42473

14 years agomodified include/psdk/windows.h
KJK::Hyperion [Fri, 7 Aug 2009 17:07:10 +0000 (17:07 +0000)]
modified   include/psdk/windows.h
modified   include/psdk/winnt.h
   Visual C++ needs love, too. Extend conditional w32api code for Watcom C to Visual C++

svn path=/trunk/; revision=42472

14 years ago- Properly stub atan2/exp/fmod/ldexp for MSVC -- #error out on them instead of callin...
Stefan Ginsberg [Fri, 7 Aug 2009 16:40:11 +0000 (16:40 +0000)]
- Properly stub atan2/exp/fmod/ldexp for MSVC -- #error out on them instead of calling nonexisting functions to fail at link time (wtf?).

svn path=/trunk/; revision=42471

14 years agoUse include path for typeof.h that only depends on global include paths (typeof.h...
KJK::Hyperion [Fri, 7 Aug 2009 15:35:41 +0000 (15:35 +0000)]
Use include path for typeof.h that only depends on global include paths (typeof.h -> wine/typeof.h)

svn path=/trunk/; revision=42470

14 years agoadded include/reactos/wine/typeof.h
KJK::Hyperion [Fri, 7 Aug 2009 15:25:03 +0000 (15:25 +0000)]
added      include/reactos/wine/typeof.h
   Simulate typeof operator for the Wine code that requires it

modified   ReactOS-generic.rbuild
   Force-include typeof.h when compiling with Visual C++

svn path=/trunk/; revision=42469

14 years ago - We associate the MDL with the IRP later (in TdiBuildSend, TdiBuildReceive, etc)
Cameron Gutman [Fri, 7 Aug 2009 15:22:24 +0000 (15:22 +0000)]
 - We associate the MDL with the IRP later (in TdiBuildSend, TdiBuildReceive, etc)

svn path=/trunk/; revision=42468

14 years ago - Call IoCompleteRequest to free IRPs created by IoBuildDeviceIoControlRequest
Cameron Gutman [Fri, 7 Aug 2009 15:00:42 +0000 (15:00 +0000)]
 - Call IoCompleteRequest to free IRPs created by IoBuildDeviceIoControlRequest
 - Fixes bug 4770

svn path=/trunk/; revision=42467

14 years agoinclude windef.h to get the definitions for BYTE and DWORD req. by bdatypes.h
Christoph von Wittich [Fri, 7 Aug 2009 14:09:36 +0000 (14:09 +0000)]
include windef.h to get the definitions for BYTE and DWORD req. by bdatypes.h

svn path=/trunk/; revision=42466

14 years agostub bdasup
Christoph von Wittich [Fri, 7 Aug 2009 13:23:35 +0000 (13:23 +0000)]
stub bdasup

svn path=/trunk/; revision=42465

14 years agoIntChangeDisplaySettings: set last error before leaving the function
Gregor Schneider [Fri, 7 Aug 2009 12:10:59 +0000 (12:10 +0000)]
IntChangeDisplaySettings: set last error before leaving the function
NtUserChangeDisplaySettings: copy devmode only if passed, use SEH with buffer probing over CopyFromCaller

svn path=/trunk/; revision=42464

14 years agoRemove deprecated define
Gregor Schneider [Fri, 7 Aug 2009 12:06:04 +0000 (12:06 +0000)]
Remove deprecated define

svn path=/trunk/; revision=42463

14 years agoadd bdasup.h
Christoph von Wittich [Fri, 7 Aug 2009 12:04:50 +0000 (12:04 +0000)]
add bdasup.h

svn path=/trunk/; revision=42462

14 years ago- winddk.h: Don't define NTSYSAPI and NTSYSCALLAPI -- this is defined in ntdef.h...
Stefan Ginsberg [Fri, 7 Aug 2009 10:45:59 +0000 (10:45 +0000)]
- winddk.h: Don't define NTSYSAPI and NTSYSCALLAPI -- this is defined in ntdef.h. Use NTSYSAPI for HalDispatchTable instead of DECLSPEC_IMPORT (see below).
- wdm.h: Properly define NTKERNELAPI.
- ntifs.h: Properly define NTKERNELAPI, and don't redefine NTSYSAPI.
- ntoskrnl: Apply the WDK hack for our headers (and gcc) too. Also redefine NTHALAPI for NDK so we don't auto-import KdComPortInUse -- ld complains about this.
- Apply this for cmlib, csq and rossym too.
- Use this in HAL too, and redefine NTSYSAPI so we don't auto import some structures from the kernel. Also, don't define __declspec(dllimport) to nothing -- this doesn't work with gcc, and doesn't seem to be necessary. I tried building HAL with the WDK and this wasn't an issue.

svn path=/trunk/; revision=42461

14 years ago- Remove hack of starting stream automatically when first IRP has arrived
Johannes Anderwald [Fri, 7 Aug 2009 10:16:25 +0000 (10:16 +0000)]
- Remove hack of starting stream automatically when first IRP has arrived

svn path=/trunk/; revision=42460

14 years ago- Set the stream state to run when opening the device
Johannes Anderwald [Fri, 7 Aug 2009 10:11:24 +0000 (10:11 +0000)]
- Set the stream state to run when opening the device
- Set the stream state to stop when closing the device

svn path=/trunk/; revision=42459

14 years ago- Add inlined assembly for MSVC to _clearfp, _control87, _fpreset, _logb and _statusf...
Stefan Ginsberg [Fri, 7 Aug 2009 09:36:53 +0000 (09:36 +0000)]
- Add inlined assembly for MSVC to _clearfp, _control87, _fpreset, _logb and _statusfp, move fpreset into arch-specific directory and remove x86 #ifdefs from the code.
- Disable warning C4733 for __wine_push_frame and __wine_pop_frame

svn path=/trunk/; revision=42458

14 years ago[KS]
Johannes Anderwald [Fri, 7 Aug 2009 09:34:52 +0000 (09:34 +0000)]
[KS]
- Remove a hack for sysaudio + kmixer
[PORTCLS]
- Disable assert untill stream allocator is in place
- Remove dead code
- Implement IPortPinWaveCyclic_HandleKsStream
[KMIXER]
- Remove unused code
- Implement creating the allocator
- Properly implement openening the device
[STREAM]
- Use GLOBAL as the reference string
- Setup a pin create item
[SYSAUDIO]
- Use reference string GLOBAL to open kmixer
- Use reference string GLOBAL for opening sysaudio. Will be removed once bug 4566 is resolved

svn path=/trunk/; revision=42457

14 years agoBug 4700: Translation patch, Dutch, for explorer-new by Jan Roeloffzen
Daniel Reimer [Fri, 7 Aug 2009 08:56:06 +0000 (08:56 +0000)]
Bug 4700: Translation patch, Dutch, for explorer-new by Jan Roeloffzen
Bug 4733: Japanese translation for explorer-new and winemine by Tomoya Kitagawa
Bug 4738: Brazilian Portuguese translation for User Environment by Wagner Leandro Bueno Angelo
Bug 4749: Czech translation update by Radek Liska
Bug 4761: Norwegian translate by Lars Martin Hambro

svn path=/trunk/; revision=42456

14 years ago - Send a gratuitous ARP packet when our IP address changes
Cameron Gutman [Fri, 7 Aug 2009 03:21:56 +0000 (03:21 +0000)]
 - Send a gratuitous ARP packet when our IP address changes

svn path=/trunk/; revision=42455

14 years agoFix a serious bug, that led to reading beyound the end of the mask bitmap, if it...
Timo Kreuzer [Fri, 7 Aug 2009 03:14:55 +0000 (03:14 +0000)]
Fix a serious bug, that led to reading beyound the end of the mask bitmap, if it was not twice as big as the color bitmap.

svn path=/trunk/; revision=42454

14 years ago - Fix a bug resulting in ROS discarding all gratuitous ARP packets
Cameron Gutman [Fri, 7 Aug 2009 02:39:38 +0000 (02:39 +0000)]
 - Fix a bug resulting in ROS discarding all gratuitous ARP packets
 - Remove an unnecessary check

svn path=/trunk/; revision=42453

14 years agoSee r42442. One of the affected files was duplicated, so we duplicate the fix
KJK::Hyperion [Fri, 7 Aug 2009 02:24:46 +0000 (02:24 +0000)]
See r42442. One of the affected files was duplicated, so we duplicate the fix

svn path=/trunk/; revision=42452

14 years agomodified base/applications/network/netstat/netstat.c
KJK::Hyperion [Fri, 7 Aug 2009 02:15:25 +0000 (02:15 +0000)]
modified   base/applications/network/netstat/netstat.c
   Another mysterious case of stdlib.h being automatically included for gcc but not cl, another module compiling with Visual C++

svn path=/trunk/; revision=42451