reactos.git
11 years ago- Leftover from 41436
Stefan Ginsberg [Wed, 17 Jun 2009 12:44:56 +0000 (12:44 +0000)]
- Leftover from 41436

svn path=/trunk/; revision=41437

11 years ago- In Win32 DBG is defined to 0 for a non-debug build and to 1 for a debug build....
Stefan Ginsberg [Wed, 17 Jun 2009 12:44:05 +0000 (12:44 +0000)]
- In Win32 DBG is defined to 0 for a non-debug build and to 1 for a debug build. In ReactOS we do this slightly different: DBG is correctly defined to 1 for debug, but not defined at all on non-debug/release build. Because gcc is awesome we can then check for debug compilation with both #ifdef DBG and #if DBG (error free! yay gcc!), and so we have mixed usage all over the tree.
- Fix this by defining DBG on non-debug build too and deprecate all usage of #ifdef DBG.

svn path=/trunk/; revision=41436

11 years agosome code cleanup
Christoph von Wittich [Wed, 17 Jun 2009 11:52:39 +0000 (11:52 +0000)]
some code cleanup

svn path=/trunk/; revision=41435

11 years agomodified include/crt/_mingw.h
KJK::Hyperion [Wed, 17 Jun 2009 11:18:51 +0000 (11:18 +0000)]
modified   include/crt/_mingw.h
   No "restrict" support in Visual C++ (and __restrict isn't the same thing)

modified   include/crt/stdarg.h
   Really fix stdarg.h this time

modified   include/crt/wchar.h
modified   include/psdk/dde.h
modified   include/psdk/mmsystem.h
modified   include/psdk/prsht.h
modified   include/psdk/rpcndr.h
modified   include/psdk/shellapi.h
modified   include/psdk/winbase.h
modified   include/psdk/wincon.h
modified   include/psdk/wincrypt.h
modified   include/psdk/windef.h
modified   include/psdk/wingdi.h
modified   include/psdk/winioctl.h
modified   include/psdk/winnetwk.h
modified   include/psdk/winnls.h
modified   include/psdk/winnt.h
modified   include/psdk/winperf.h
modified   include/psdk/winsmcrd.h
modified   include/psdk/winsock2.h
modified   include/psdk/winspool.h
modified   include/psdk/winuser.h
modified   include/psdk/wtypes.idl
modified   include/reactos/mingw-w64/internal.h
modified   include/reactos/mingw-w64/oscalls.h
   Disable some unavoidable warnings in Visual C++

modified   include/psdk/poppack.h
modified   include/psdk/pshpack1.h
modified   include/psdk/pshpack2.h
modified   include/psdk/pshpack4.h
modified   include/psdk/pshpack8.h
modified   include/psdk/pshpck16.h
modified   include/psdk/windows.h
modified   include/psdk/winsock2.h
   Check that defines are defined before testing their value

modified   include/psdk/rpcasync.h

modified   include/psdk/rpcdce.h
   Visual C++ doesn't support functions without a prototype anymore, and RPC_AUTH_KEY_RETRIEVAL_FN has a documented prototype anyway

modified   include/psdk/winnt.h
   WIN32_WINNT -> _WIN32_WINNT

svn path=/trunk/; revision=41434

11 years ago- correct fix, also free the allocated buffer
Kamil Hornicek [Wed, 17 Jun 2009 11:08:00 +0000 (11:08 +0000)]
- correct fix, also free the allocated buffer

svn path=/trunk/; revision=41433

11 years ago- sync quartz with Wine 1.1.23
Kamil Hornicek [Wed, 17 Jun 2009 10:31:16 +0000 (10:31 +0000)]
- sync quartz with Wine 1.1.23

svn path=/trunk/; revision=41432

11 years ago- kill warnings
Kamil Hornicek [Wed, 17 Jun 2009 10:10:15 +0000 (10:10 +0000)]
- kill warnings

svn path=/trunk/; revision=41431

11 years agoFix (?) build
KJK::Hyperion [Wed, 17 Jun 2009 02:22:39 +0000 (02:22 +0000)]
Fix (?) build

svn path=/trunk/; revision=41430

11 years agomodified include/crt/stdarg.h
KJK::Hyperion [Wed, 17 Jun 2009 02:18:13 +0000 (02:18 +0000)]
modified   include/crt/stdarg.h
modified   include/crt/vadefs.h
   Our headers suck so hard. More Visual C++ compatibility

svn path=/trunk/; revision=41429

12 years ago- Replace "VOLATILE" with "volatile"
Stefan Ginsberg [Tue, 16 Jun 2009 22:20:27 +0000 (22:20 +0000)]
- Replace "VOLATILE" with "volatile"

svn path=/trunk/; revision=41428

12 years agoattempt to convert most of this mess into something which at least look like C code
Christoph von Wittich [Tue, 16 Jun 2009 21:12:47 +0000 (21:12 +0000)]
attempt to convert most of this mess into something which at least look like C code

svn path=/trunk/; revision=41427

12 years ago- Stub-implement NhGetInterfaceNameFromDeviceGuid and SetIpForwardEntryToStack. Fixes...
Dmitry Chapyshev [Tue, 16 Jun 2009 19:10:29 +0000 (19:10 +0000)]
- Stub-implement NhGetInterfaceNameFromDeviceGuid and SetIpForwardEntryToStack. Fixes taskmgr (from windows) crash on network page

svn path=/trunk/; revision=41426

12 years ago- Revert last wine sync for imagelist
Dmitry Chapyshev [Tue, 16 Jun 2009 19:05:42 +0000 (19:05 +0000)]
- Revert last wine sync for imagelist
See issue #4304 for more details.

svn path=/trunk/; revision=41425

12 years ago- Add Symbol font from Wine
Dmitry Chapyshev [Tue, 16 Jun 2009 15:41:29 +0000 (15:41 +0000)]
- Add Symbol font from Wine

svn path=/trunk/; revision=41424

12 years ago- Add ntlanman.dll (not implemented)
Dmitry Chapyshev [Tue, 16 Jun 2009 15:38:45 +0000 (15:38 +0000)]
- Add ntlanman.dll (not implemented)

svn path=/trunk/; revision=41423

12 years ago- SetupDiOpenClassRegKeyExW should ERROR_INVALID_CLASS when it fails
Johannes Anderwald [Tue, 16 Jun 2009 08:04:08 +0000 (08:04 +0000)]
- SetupDiOpenClassRegKeyExW should ERROR_INVALID_CLASS when it fails
- TODO: NtOpenKey should fail when acessMask == 0 and a registry path is passed

svn path=/trunk/; revision=41422

12 years agomodified dll/win32/srclient/srclient_main.c
KJK::Hyperion [Tue, 16 Jun 2009 00:24:26 +0000 (00:24 +0000)]
modified   dll/win32/srclient/srclient_main.c
   What the hell, Arch Blackmann? <windef.h>, <winbase.h> and <winnls.h> are not meant to be included directly. Include <windows.h> instead

modified   drivers/video/font/ftfd/rosglue.c
   Move standard C includes before Windows includes, so the required types are defined beforehand

modified   include/crt/_mingw.h
   Re-add Visual C++ support
   va_list is not a built-in type, it does not belong in _mingw.h
   Do not include intrin.h (screw you, Arch)
   Removed definition of _USE_32BIT_TIME_T ("ROS HACK!")

modified   include/crt/conio.h
modified   include/crt/stdio.h
modified   include/crt/wchar.h
   Pull in va_list from stdarg.h

modified   include/crt/mingw32/intrin.h
modified   include/crt/mingw32/intrin_arm.h
modified   include/crt/mingw32/intrin_x86.h
   intrin.h defines size_t and uintptr_t
   The _real_, ultimate magic incantation for inline functions is extern __inline__ __attribute__((__always_inline__,__gnu_inline__))
   Fix __addfsbyte, __addfsword

added      include/crt/msc
added      include/crt/msc/intrin.h
   Ported our intrin.h to Visual C++

modified   ReactOS-arm.rbuild
modified   ReactOS-i386.rbuild
   ROS HACK!s belong in the project definition

modified   ReactOS-generic.rbuild
   Compiler-specific include directories

svn path=/trunk/; revision=41421

12 years ago- TerminateProcess requires a valid handle
Johannes Anderwald [Mon, 15 Jun 2009 22:16:49 +0000 (22:16 +0000)]
- TerminateProcess requires a valid handle
- Should fix 2 kernel32' winetests

svn path=/trunk/; revision=41420

12 years agofix warnings (untested)
Christoph von Wittich [Mon, 15 Jun 2009 15:04:56 +0000 (15:04 +0000)]
fix warnings (untested)

svn path=/trunk/; revision=41419

12 years ago- Fix definition of RTL_HANDLE_TABLE_ENTRY
Timo Kreuzer [Mon, 15 Jun 2009 14:49:31 +0000 (14:49 +0000)]
- Fix definition of RTL_HANDLE_TABLE_ENTRY
- Fix check in RtlFreeHandle and add a DPRINT
- Fixes the last ntdll:rtl winetest

svn path=/trunk/; revision=41418

12 years ago- import dmusic from Wine, it's mostly stubs but it should be enough for now
Kamil Hornicek [Mon, 15 Jun 2009 13:52:04 +0000 (13:52 +0000)]
- import dmusic from Wine, it's mostly stubs but it should be enough for now

svn path=/trunk/; revision=41417

12 years ago- Don't reinitialize in case of error. Fixes a "DPC > 1 sec" problem related to an...
Aleksey Bragin [Mon, 15 Jun 2009 13:48:55 +0000 (13:48 +0000)]
- Don't reinitialize in case of error. Fixes a "DPC > 1 sec" problem related to an infinite loop in usbdriver.

svn path=/trunk/; revision=41416

12 years ago- Fix NULL pointer access in an error branch inside hub_clear_port_feature_completion...
Aleksey Bragin [Mon, 15 Jun 2009 13:30:50 +0000 (13:30 +0000)]
- Fix NULL pointer access in an error branch inside hub_clear_port_feature_completion(). Thanks to Christoph for testing.

svn path=/trunk/; revision=41415

12 years ago- Add target process reference/dereference in ProcessLdtInformation/ProcessWorkingSet...
Dmitry Chapyshev [Mon, 15 Jun 2009 07:05:19 +0000 (07:05 +0000)]
- Add target process reference/dereference in ProcessLdtInformation/ProcessWorkingSetWatch/ProcessWx86Information cases of NtQueryInformationProcess.

svn path=/trunk/; revision=41414

12 years agoDutch translation of NetID DLL by Oscar van Egmond. Bug #4606.
Dmitry Gorbachev [Sun, 14 Jun 2009 18:36:35 +0000 (18:36 +0000)]
Dutch translation of NetID DLL by Oscar van Egmond. Bug #4606.

svn path=/trunk/; revision=41413

12 years ago- Fix one "kernel32_winetest mailslot" test
Dmitry Chapyshev [Sun, 14 Jun 2009 17:44:22 +0000 (17:44 +0000)]
- Fix one "kernel32_winetest mailslot" test

svn path=/trunk/; revision=41412

12 years ago- Fix one "kernel32_winetest thread"
Dmitry Chapyshev [Sun, 14 Jun 2009 16:51:48 +0000 (16:51 +0000)]
- Fix one "kernel32_winetest thread"

svn path=/trunk/; revision=41411

12 years agoadd missing include guard
Christoph von Wittich [Sun, 14 Jun 2009 15:33:12 +0000 (15:33 +0000)]
add missing include guard

svn path=/trunk/; revision=41410

12 years agoCleanup GetAdaptersAddresses.
Sylvain Petreolle [Sun, 14 Jun 2009 14:10:32 +0000 (14:10 +0000)]
Cleanup GetAdaptersAddresses.
Add GetIfTable2 and GetIfEntry2 stubs
based on janderwald patch

svn path=/trunk/; revision=41409

12 years agoAdd needed defines for Vista network api
Sylvain Petreolle [Sun, 14 Jun 2009 14:09:01 +0000 (14:09 +0000)]
Add needed defines for Vista network api

svn path=/trunk/; revision=41408

12 years ago- Add SectionHandle probing
Dmitry Chapyshev [Sun, 14 Jun 2009 08:57:25 +0000 (08:57 +0000)]
- Add SectionHandle probing

svn path=/trunk/; revision=41407

12 years ago- Add probing of the result buffer
Dmitry Chapyshev [Sun, 14 Jun 2009 08:30:22 +0000 (08:30 +0000)]
- Add probing of the result buffer
- Add missing target process reference/dereference in MemorySectionName case of NtQueryVirtualMemory. Fixes 2 "psapi_winetest" failures.

svn path=/trunk/; revision=41406

12 years ago - Implement NdisIMGetBindingContext and NdisIMGetDeviceContext
Cameron Gutman [Sun, 14 Jun 2009 05:42:30 +0000 (05:42 +0000)]
 - Implement NdisIMGetBindingContext and NdisIMGetDeviceContext

svn path=/trunk/; revision=41405

12 years agoFix 2 kernel32:environ tests.
Sylvain Petreolle [Sat, 13 Jun 2009 15:33:33 +0000 (15:33 +0000)]
Fix 2 kernel32:environ tests.
The GetComputerNameEx ComputerNameDnsDomain tests can't succeed if we have no domain,
as the function succeeds querying a zero length domain into a zero length buffer.

svn path=/trunk/; revision=41404

12 years agoLowercase STATIC and CONST. Fixes build with DBG but without KDBG.
Dmitry Gorbachev [Sat, 13 Jun 2009 15:28:33 +0000 (15:28 +0000)]
Lowercase STATIC and CONST. Fixes build with DBG but without KDBG.

svn path=/trunk/; revision=41403

12 years ago- Fix 5 winetests for CreateProcessA/W
Dmitry Chapyshev [Sat, 13 Jun 2009 12:24:51 +0000 (12:24 +0000)]
- Fix 5 winetests for CreateProcessA/W

svn path=/trunk/; revision=41402

12 years ago - Header cleanup
Cameron Gutman [Sat, 13 Jun 2009 05:51:44 +0000 (05:51 +0000)]
 - Header cleanup

svn path=/trunk/; revision=41401

12 years ago - Implement NdisIMCopySendPerPacketInfo and NdisIMCopySendCompletePerPacketInfo
Cameron Gutman [Sat, 13 Jun 2009 05:37:16 +0000 (05:37 +0000)]
 - Implement NdisIMCopySendPerPacketInfo and NdisIMCopySendCompletePerPacketInfo

svn path=/trunk/; revision=41400

12 years ago - Implement NdisGeneratePartialCancelId
Cameron Gutman [Sat, 13 Jun 2009 05:25:54 +0000 (05:25 +0000)]
 - Implement NdisGeneratePartialCancelId

svn path=/trunk/; revision=41399

12 years agoPatch by Olaf Siejka (caemyr gmail com):
Timo Kreuzer [Fri, 12 Jun 2009 22:31:02 +0000 (22:31 +0000)]
Patch by Olaf Siejka (caemyr gmail com):
add stubs for unimplmented cases in ScsiPortNotification

svn path=/trunk/; revision=41398

12 years agoFix bug #4558 ("buildno" is not compatible with SVN 1.6).
Dmitry Gorbachev [Fri, 12 Jun 2009 21:42:32 +0000 (21:42 +0000)]
Fix bug #4558 ("buildno" is not compatible with SVN 1.6).

svn path=/trunk/; revision=41397

12 years ago- Revert r41390
Dmitry Chapyshev [Fri, 12 Jun 2009 17:54:51 +0000 (17:54 +0000)]
- Revert r41390

svn path=/trunk/; revision=41396

12 years ago- Revert r41389
Dmitry Chapyshev [Fri, 12 Jun 2009 17:42:34 +0000 (17:42 +0000)]
- Revert r41389

svn path=/trunk/; revision=41395

12 years ago- Fix build
Dmitry Chapyshev [Fri, 12 Jun 2009 17:14:42 +0000 (17:14 +0000)]
- Fix build

svn path=/trunk/; revision=41394

12 years agoChangeDisplaySettingsExA: don't leak the memory for the converted DEVMODEW
Timo Kreuzer [Fri, 12 Jun 2009 16:52:31 +0000 (16:52 +0000)]
ChangeDisplaySettingsExA: don't leak the memory for the converted DEVMODEW

svn path=/trunk/; revision=41393

12 years ago- Verify user32 export list with Win 2k3 R2
Dmitry Chapyshev [Fri, 12 Jun 2009 15:54:25 +0000 (15:54 +0000)]
- Verify user32 export list with Win 2k3 R2

svn path=/trunk/; revision=41392

12 years ago- Add job limit flags (based on MSDN info)
Dmitry Chapyshev [Fri, 12 Jun 2009 15:49:16 +0000 (15:49 +0000)]
- Add job limit flags (based on MSDN info)

svn path=/trunk/; revision=41391

12 years ago- Set high priority class for winlogon.exe
Dmitry Chapyshev [Fri, 12 Jun 2009 15:44:21 +0000 (15:44 +0000)]
- Set high priority class for winlogon.exe

svn path=/trunk/; revision=41390

12 years ago- Start services.exe and lsass.exe with above normal priority class
Dmitry Chapyshev [Fri, 12 Jun 2009 15:41:26 +0000 (15:41 +0000)]
- Start services.exe and lsass.exe with above normal priority class

svn path=/trunk/; revision=41389

12 years ago - Implement NdisCancelSendPackets
Cameron Gutman [Thu, 11 Jun 2009 23:53:23 +0000 (23:53 +0000)]
 - Implement NdisCancelSendPackets

svn path=/trunk/; revision=41388

12 years ago- MINIPORT_CONFIGURATION_CONTEXT must be allocated from nonpaged pool as it contains...
Stefan Ginsberg [Thu, 11 Jun 2009 23:45:59 +0000 (23:45 +0000)]
- MINIPORT_CONFIGURATION_CONTEXT must be allocated from nonpaged pool as it contains a spinlock

svn path=/trunk/; revision=41387

12 years ago- PnpInit: Allocate IopBusTypeGuidList from nonpaged pool as it contains a fast mutex.
Stefan Ginsberg [Thu, 11 Jun 2009 23:36:51 +0000 (23:36 +0000)]
- PnpInit: Allocate IopBusTypeGuidList from nonpaged pool as it contains a fast mutex.
- MsqCreateMessageQueue: Allocate the message queue from nonpaged pool as it contains a mutex.

svn path=/trunk/; revision=41386

12 years ago2 == MEMORY_PRIORITY_FOREGROUND
Dmitry Chapyshev [Thu, 11 Jun 2009 15:37:43 +0000 (15:37 +0000)]
2 == MEMORY_PRIORITY_FOREGROUND
0 == MEMORY_PRIORITY_BACKGROUND

svn path=/trunk/; revision=41385

12 years ago- Add debug messages for unimplemented cases in NtQueryInformationProcess
Dmitry Chapyshev [Thu, 11 Jun 2009 15:29:30 +0000 (15:29 +0000)]
- Add debug messages for unimplemented cases in NtQueryInformationProcess

svn path=/trunk/; revision=41384

12 years ago- Add missed checks of the buffer length
Dmitry Chapyshev [Thu, 11 Jun 2009 15:21:58 +0000 (15:21 +0000)]
- Add missed checks of the buffer length

svn path=/trunk/; revision=41383

12 years ago- Add debug messages for unimplemented cases
Dmitry Chapyshev [Thu, 11 Jun 2009 15:04:20 +0000 (15:04 +0000)]
- Add debug messages for unimplemented cases

svn path=/trunk/; revision=41382

12 years ago- FinishTest: Modify DbgPrint to match format of winetests.
Michael Martin [Thu, 11 Jun 2009 14:13:11 +0000 (14:13 +0000)]
- FinishTest: Modify DbgPrint to match format of winetests.
- Added basic tests for DriverObject, DeviceObject and Loading/Unloading of drivers.
- Added kmtestassist to be used for testing Attached DeviceObject.
- Added CreateLowerDeviceRegistryKey to manually create volatile registry entry for kmtestassist driver.
- More tests still need to be implemented and still need a user mode application to control kmtest.

svn path=/trunk/; revision=41381

12 years ago- Fix formatting.
Michael Martin [Thu, 11 Jun 2009 12:37:16 +0000 (12:37 +0000)]
- Fix formatting.

svn path=/trunk/; revision=41380

12 years ago- Add a lazy-initializing hack until user32 is able to delay-load the advapi32 as...
Aleksey Bragin [Thu, 11 Jun 2009 11:42:07 +0000 (11:42 +0000)]
- Add a lazy-initializing hack until user32 is able to delay-load the advapi32 as it should. It fixes a problem of trying to enter a non-initialized critical section object and possibly hanging on every boot.

svn path=/trunk/; revision=41379

12 years ago - Add IoGetDeviceAttachmentBaseRef, IoGetDiskDeviceObject and IoGetLowerDeviceObject.
Michael Martin [Thu, 11 Jun 2009 01:05:51 +0000 (01:05 +0000)]
 - Add IoGetDeviceAttachmentBaseRef, IoGetDiskDeviceObject and IoGetLowerDeviceObject.

svn path=/trunk/; revision=41378

12 years agoFix Visual C++ build
KJK::Hyperion [Wed, 10 Jun 2009 20:09:03 +0000 (20:09 +0000)]
Fix Visual C++ build

svn path=/trunk/; revision=41377

12 years ago- Implement ProcessPriorityClass case for NtSetInformationProcess(). Based on Dmitry...
Aleksey Bragin [Wed, 10 Jun 2009 19:31:54 +0000 (19:31 +0000)]
- Implement ProcessPriorityClass case for NtSetInformationProcess(). Based on Dmitry Chapyshev's work and testing.

svn path=/trunk/; revision=41376

12 years ago- Add PsSetProcessPriorityByClass() declaration to NDK.
Aleksey Bragin [Wed, 10 Jun 2009 19:24:38 +0000 (19:24 +0000)]
- Add PsSetProcessPriorityByClass() declaration to NDK.

svn path=/trunk/; revision=41375

12 years agomodified ReactOS-generic.rbuild
KJK::Hyperion [Wed, 10 Jun 2009 19:12:18 +0000 (19:12 +0000)]
modified   ReactOS-generic.rbuild
modified   ReactOS-i386.rbuild
modified   tools/rbuild/backend/mingw/mingw.cpp
   Don't feed GCC options in MSC
   Minor detection fixes

Support for the Microsoft compiler is now fully functional: now get off your grotesquely fat asses and start fixing code so that it compiles with it

TODO: make it fully functional for real (PCH, full dependencies); Microsoft linker support

svn path=/trunk/; revision=41374

12 years ago- Fix Firefox 1.0/1.5 minimisation to taskbar
Dmitry Chapyshev [Wed, 10 Jun 2009 18:44:31 +0000 (18:44 +0000)]
- Fix Firefox 1.0/1.5 minimisation to taskbar
Patch by Mikhail Denisenko (denisenkom@gmail.com)

See issue #2451 for more details.

svn path=/trunk/; revision=41373

12 years agoFix the cheerleader, fix the build
KJK::Hyperion [Wed, 10 Jun 2009 18:41:50 +0000 (18:41 +0000)]
Fix the cheerleader, fix the build

svn path=/trunk/; revision=41372

12 years ago- Check in wdmaud if a pin with the specified filter id and pin id has been opened
Johannes Anderwald [Wed, 10 Jun 2009 18:28:15 +0000 (18:28 +0000)]
- Check in wdmaud if a pin with the specified filter id and pin id has been opened
- Partly rewrite SysAudio as it is no longer required to store client specific information per connection since wdmaud just opens one connection
- Verify all audio handles at incoming irp

svn path=/trunk/; revision=41371

12 years agomodified tools/rbuild/backend/mingw/compilers/msc.mak
KJK::Hyperion [Wed, 10 Jun 2009 18:24:33 +0000 (18:24 +0000)]
modified   tools/rbuild/backend/mingw/compilers/msc.mak
   Fix definition of cl
   Fix definition of RBUILD_CXX

modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/mingw.h
modified   tools/rbuild/backend/mingw/mstools_detection.cpp
   Actually set RBUILD_CL_PATH and RBUILD_LINK_PATH

svn path=/trunk/; revision=41370

12 years ago- Fix typo
Dmitry Chapyshev [Wed, 10 Jun 2009 18:09:15 +0000 (18:09 +0000)]
- Fix typo

svn path=/trunk/; revision=41369

12 years agomodified Makefile
KJK::Hyperion [Wed, 10 Jun 2009 17:56:12 +0000 (17:56 +0000)]
modified   Makefile
added      tools/rbuild/backend/mingw/compilers
added      tools/rbuild/backend/mingw/compilers/gcc.mak
added      tools/rbuild/backend/mingw/compilers/msc.mak
added      tools/rbuild/backend/mingw/linkers
added      tools/rbuild/backend/mingw/linkers/ld.mak
added      tools/rbuild/backend/mingw/linkers/mslink.mak
modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/modulehandler.cpp
modified   tools/rbuild/backend/mingw/rules.mak
modified   tools/rbuild/rbuild.h
   Moved linker and compiler rules in separate files
   Renamed compiler rules to more generic names
   New compiler rules for dependencies and preprocessor modes
   Rules for Microsoft C/C++ Compiler
   Linker rule file stubs

modified   tools/rbuild/module.cpp
modified   tools/rbuild/project.cpp
   All elements now support "compilerset" and "linkerset" conditional attributes

svn path=/trunk/; revision=41368

12 years ago- Set priority only if PriorityClass != PROCESS_PRIORITY_CLASS_INVALID
Dmitry Chapyshev [Wed, 10 Jun 2009 17:11:36 +0000 (17:11 +0000)]
- Set priority only if PriorityClass != PROCESS_PRIORITY_CLASS_INVALID

svn path=/trunk/; revision=41367

12 years agodeleted tools/msc_helper
KJK::Hyperion [Wed, 10 Jun 2009 11:16:28 +0000 (11:16 +0000)]
deleted    tools/msc_helper
deleted    tools/msc_helper/msc_helper.cpp
deleted    tools/msc_helper/msc_helper.rbuild
added      tools/rbuild_helper
deleted    tools/rbuild_helper/msc_helper.cpp
deleted    tools/rbuild_helper/msc_helper.rbuild
added      tools/rbuild_helper/rbuild_helper.rbuild
   msc_helper renamed to rbuild_helper, because it could be useful to more than just Visual C++

added      tools/rbuild_helper/rbuild_helper.cpp
   Allow rbuild_helper to override any environment variable, given an override prefix (e.g., %VAR% will be replaced by %<override prefix>VAR%)

modified   tools/tools.rbuild
   Build rbuild_helper by default

svn path=/trunk/; revision=41366

12 years ago- Fix ProcessPriorityClass case in NtQueryInformationProcess. Structure PROCESS_PRIOR...
Dmitry Chapyshev [Wed, 10 Jun 2009 07:07:51 +0000 (07:07 +0000)]
- Fix ProcessPriorityClass case in NtQueryInformationProcess. Structure PROCESS_PRIORITY_CLASS should be returned. Tested in win vista

svn path=/trunk/; revision=41365

12 years ago[FORMATTING]
Timo Kreuzer [Wed, 10 Jun 2009 00:23:15 +0000 (00:23 +0000)]
[FORMATTING]
dibobj.c: fix indentation, no code change

svn path=/trunk/; revision=41364

12 years ago- Topology nodes can have a nullable name
Johannes Anderwald [Tue, 9 Jun 2009 21:55:12 +0000 (21:55 +0000)]
- Topology nodes can have a nullable name
- Disable releasing resources when IPortFilterWaveCyclic is closed

svn path=/trunk/; revision=41363

12 years agoDhcp HostName isn't mandatory.
Sylvain Petreolle [Tue, 9 Jun 2009 20:22:48 +0000 (20:22 +0000)]
Dhcp HostName isn't mandatory.
Fixes nat networking in vbox.

svn path=/trunk/; revision=41362

12 years ago- Fix accidentally committed change in a function prototype. Spotted by Stefan Ginsberg.
Aleksey Bragin [Tue, 9 Jun 2009 16:43:22 +0000 (16:43 +0000)]
- Fix accidentally committed change in a function prototype. Spotted by Stefan Ginsberg.

svn path=/trunk/; revision=41361

12 years agodon't include private.h twice
Sylvain Petreolle [Tue, 9 Jun 2009 16:42:42 +0000 (16:42 +0000)]
don't include private.h twice
fix include path

svn path=/trunk/; revision=41360

12 years ago- Make use of the implemented transfer counter.
Aleksey Bragin [Tue, 9 Jun 2009 16:38:05 +0000 (16:38 +0000)]
- Make use of the implemented transfer counter.

svn path=/trunk/; revision=41359

12 years ago- Implement a helper for updating IO transfer counters. Based on a patch by Dmitry...
Aleksey Bragin [Tue, 9 Jun 2009 16:17:34 +0000 (16:17 +0000)]
- Implement a helper for updating IO transfer counters. Based on a patch by Dmitry Chapyshev.

svn path=/trunk/; revision=41358

12 years ago- Add a few sanity assert to KsCreate
Johannes Anderwald [Tue, 9 Jun 2009 14:50:24 +0000 (14:50 +0000)]
- Add a few sanity assert to KsCreate
- Pass a create item and use an object class when creating an object header
- Return zero mixer count when wdmaud fails to enumerate virtual device count
- Should fix high cpu usage after installing audio drivers

svn path=/trunk/; revision=41357

12 years ago- MmUnmapViewOfSection: Unlock address space before notifying debugger. Fixes a case...
Michael Martin [Tue, 9 Jun 2009 12:50:32 +0000 (12:50 +0000)]
- MmUnmapViewOfSection: Unlock address space before notifying debugger. Fixes a case where OllyDbg deadlocks in a GateWait while trying to read virtual memory.

svn path=/trunk/; revision=41356

12 years ago- KeSaveFloatingPointState can be called at irql <= DISPATCH_LEVEL
Johannes Anderwald [Tue, 9 Jun 2009 07:15:37 +0000 (07:15 +0000)]
- KeSaveFloatingPointState can be called at irql <= DISPATCH_LEVEL

svn path=/trunk/; revision=41354

12 years ago- Store servicegroup obtained from IMiniportDMus / IMiniportMidi Init function when...
Johannes Anderwald [Mon, 8 Jun 2009 22:02:46 +0000 (22:02 +0000)]
- Store servicegroup obtained from IMiniportDMus / IMiniportMidi Init function when IPortDMus / IPortMidi RegisterServiceGroup is not called

svn path=/trunk/; revision=41353

12 years ago- Fix a bug in KsTopologyPropertyHandler
Johannes Anderwald [Mon, 8 Jun 2009 21:37:20 +0000 (21:37 +0000)]
- Fix a bug in KsTopologyPropertyHandler
- Create a KSTOPOLOGY struct when creating the subdevice descriptor and pass the struct to KsTopologyPropertyHandler
- Implement enumerating mixer devices
- Change handle array to contain the target device type. Mixer handles are not real handles, they are just pseudo handles
- Forward KSPROPSETID_Topology request to portcls (sysaudio)

svn path=/trunk/; revision=41352

12 years ago- Add cases for IOCTL_SCSI_MINIPORT and IOCTL_SCSI_PASS_THROUGH
Dmitry Chapyshev [Mon, 8 Jun 2009 15:53:23 +0000 (15:53 +0000)]
- Add cases for IOCTL_SCSI_MINIPORT and IOCTL_SCSI_PASS_THROUGH

svn path=/trunk/; revision=41351

12 years ago- Clean up RtlSecureZeroMemory
Stefan Ginsberg [Mon, 8 Jun 2009 13:42:02 +0000 (13:42 +0000)]
- Clean up RtlSecureZeroMemory

svn path=/trunk/; revision=41350

12 years ago - Check to see that the packet status isn't NDIS_STATUS_RESOURCES before forwarding...
Cameron Gutman [Mon, 8 Jun 2009 09:45:13 +0000 (09:45 +0000)]
 - Check to see that the packet status isn't NDIS_STATUS_RESOURCES before forwarding the packet descriptor to the ReceivePacketHandler

svn path=/trunk/; revision=41349

12 years ago - Rewrite MiniQueryInformation so it creates a NDIS_REQUEST and passes it to MiniDoR...
Cameron Gutman [Mon, 8 Jun 2009 03:12:03 +0000 (03:12 +0000)]
 - Rewrite MiniQueryInformation so it creates a NDIS_REQUEST and passes it to MiniDoRequest for processing to reduce code duplication
 - Call MiniportCoRequest in connection-oriented miniports
 - Now our NDIS loads all the way to the ASSERT for unsupported media on XP

svn path=/trunk/; revision=41348

12 years ago- ElfrReportEventW: Silence debugging thats no longer needed as this API is now imple...
Michael Martin [Mon, 8 Jun 2009 02:32:48 +0000 (02:32 +0000)]
- ElfrReportEventW: Silence debugging thats no longer needed as this API is now implemented.

svn path=/trunk/; revision=41347

12 years ago - Fix our handler checks
Cameron Gutman [Mon, 8 Jun 2009 02:23:47 +0000 (02:23 +0000)]
 - Fix our handler checks
 - Now XP's intermediate miniport drivers can load on ROS's NDIS
 - More work still needs to be done to get them working though

svn path=/trunk/; revision=41346

12 years ago - Register the adapter shutdown handler if it is specified in the miniport character...
Cameron Gutman [Mon, 8 Jun 2009 01:14:19 +0000 (01:14 +0000)]
 - Register the adapter shutdown handler if it is specified in the miniport characteristics

svn path=/trunk/; revision=41345

12 years agoFix no-op code for UNIX hosts
KJK::Hyperion [Sun, 7 Jun 2009 23:39:15 +0000 (23:39 +0000)]
Fix no-op code for UNIX hosts

svn path=/trunk/; revision=41344

12 years agomodified tools/rbuild/backend/mingw/mingw.cpp
KJK::Hyperion [Sun, 7 Jun 2009 23:33:42 +0000 (23:33 +0000)]
modified   tools/rbuild/backend/mingw/mingw.cpp
modified   tools/rbuild/backend/mingw/mingw.h
   From now on, the MinGW back-end will also support the Microsoft command line C/C++ compiler (cl) and incremental linker (link). Support is currently limited to detecting the tools, and invoking them with the wrong arguments. Only Windows hosts are currently supported

added      tools/rbuild/backend/mingw/mstools_detection.cpp
modified   tools/rbuild/rbuild.mak
   Auto-detection of Microsoft compiler and linker: if rbuild finds them in the path, it will use those. Otherwise, it will look for the highest version installed by any of the supported Microsoft products. Supported Microsoft products are Visual Studio 2005 and higher, Visual C++ Express and Windows DDK version 6001 and higher. Optimizing versions of the compiler will take precedence over "standard edition" compilers, regardless of version number

modified   tools/rbuild/configuration.cpp
modified   tools/rbuild/rbuild.cpp
modified   tools/rbuild/rbuild.h
   New command line options for rbuild to choose the tools set for the MinGW back-end: -Mc<compiler set>, -Ml<linker set>, -M<build tools set>. Defaults to -Mgnu, so that support for Microsoft tools has to be opted into

svn path=/trunk/; revision=41343

12 years ago- Disable debugging flood
Johannes Anderwald [Sun, 7 Jun 2009 18:24:50 +0000 (18:24 +0000)]
- Disable debugging flood

svn path=/trunk/; revision=41342

12 years ago- Also Store audio filter object header in FsContext member
Johannes Anderwald [Sun, 7 Jun 2009 18:22:24 +0000 (18:22 +0000)]
- Also Store audio filter object header in FsContext member
- Create the pin on the correct filter by using the filters object class
- Remove filter object class before performing actual create request
- Remove object header from audio filter when closing
- Retrieve internal object class name with internal IOCTL_KS_OBJECT_CLASS
- Avoid using interface name as ReactOS doesn't support it
- Store object class name when creating the object header for the audio sub device
- Implement IPortFilterTopology interface
- Activate pin property handle for port topology driver
- There is no need to create a handle to sysaudio for each application opening wdmaud, use only one connection per driver basis
- Pass object create class to pin creation method by duplicating KsCreatePin
- Audio devices should now be accessible again

svn path=/trunk/; revision=41341

12 years agorevert a part of r41339 as it break ppc port
Christoph von Wittich [Sun, 7 Jun 2009 17:42:41 +0000 (17:42 +0000)]
revert a part of r41339 as it break ppc port

svn path=/trunk/; revision=41340

12 years agofix definition of LUID
Christoph von Wittich [Sun, 7 Jun 2009 17:27:44 +0000 (17:27 +0000)]
fix definition of LUID

svn path=/trunk/; revision=41339

12 years agopartial wine sync
Christoph von Wittich [Sun, 7 Jun 2009 15:36:25 +0000 (15:36 +0000)]
partial wine sync

svn path=/trunk/; revision=41338

12 years agoadd missing newline at eof
Christoph von Wittich [Sun, 7 Jun 2009 15:34:48 +0000 (15:34 +0000)]
add missing newline at eof

svn path=/trunk/; revision=41337