reactos.git
14 years ago- Add missing NTAPI to DriverEntry
Stefan Ginsberg [Thu, 18 Jun 2009 19:13:05 +0000 (19:13 +0000)]
- Add missing NTAPI to DriverEntry

svn path=/trunk/; revision=41449

14 years ago- Do not pass gcc and ld flags to other tools
Stefan Ginsberg [Thu, 18 Jun 2009 18:18:57 +0000 (18:18 +0000)]
- Do not pass gcc and ld flags to other tools

svn path=/trunk/; revision=41448

14 years agoBug 4620: Incorrect code page output in shutdown.exe (Russian locale) by John White
Daniel Reimer [Thu, 18 Jun 2009 15:47:41 +0000 (15:47 +0000)]
Bug 4620: Incorrect code page output in shutdown.exe (Russian locale) by John White
Polish Translation Updates by Maciej Bialas

svn path=/trunk/; revision=41447

14 years agoFix the version data in the registry to match what the kernel reports.
Ged Murphy [Thu, 18 Jun 2009 10:59:15 +0000 (10:59 +0000)]
Fix the version data in the registry to match what the kernel reports.

svn path=/trunk/; revision=41446

14 years agoBug 4610: Dutch translation for Solitaire by reFly <wouterdevlieger@gmail.com>
Daniel Reimer [Thu, 18 Jun 2009 09:30:33 +0000 (09:30 +0000)]
Bug 4610: Dutch translation for Solitaire by reFly <wouterdevlieger@gmail.com>
Bug 4619: Japanese translation update for syssetup and downloader by Tomoya Kitagawa

svn path=/trunk/; revision=41445

14 years ago- mmreg uses for all structures contained byte-aligned packing
Johannes Anderwald [Thu, 18 Jun 2009 08:03:40 +0000 (08:03 +0000)]
- mmreg uses for all structures contained byte-aligned packing

svn path=/trunk/; revision=41444

14 years ago - Make NdisGeneratePartialCancelId safe by using Interlocked functions
Cameron Gutman [Thu, 18 Jun 2009 02:24:19 +0000 (02:24 +0000)]
 - Make NdisGeneratePartialCancelId safe by using Interlocked functions

svn path=/trunk/; revision=41443

14 years agoMiscellaneous Visual C++ compilation fixes
KJK::Hyperion [Thu, 18 Jun 2009 00:41:56 +0000 (00:41 +0000)]
Miscellaneous Visual C++ compilation fixes

modified   include/crt/mingw32/intrin_x86.h
modified   include/crt/msc/intrin.h
   Fixed declarations of _InterlockedDecrement16 and _InterlockedIncrement16
   Fixed declarations of __readcr0, __readcr2, __readcr3 and __readcr4 for x86
   Implement __readdr and __writedr for x86 too
   Added missing semicolon

modified   include/crt/stdlib.h
modified   lib/3rdparty/mingw/crtexe.c
   Use Visual C++-compatible attribute placement

modified   lib/3rdparty/mingw/crtexe.c
   Get rid of useless assembly, replace with __writefsdword (it's still useless)

modified   lib/3rdparty/mingw/mingw.rbuild
   Disable Visual C++ warning C4733 ("Inline asm assigning to 'FS:0' : handler not registered as safe handler") for mingw_wmain

modified   lib/sdk/scrnsave/scrnsave.c
   Silence a warning

modified   ReactOS-generic.rbuild
   Disable Visual C++ warning C4711 ("function 'function' selected for inline expansion") globally

modified   tools/rbuild/backend/mingw/compilers/msc.mak
   Fix Visual C++ compiler rules to emit an uniquely named PDB for each object file

svn path=/trunk/; revision=41442

14 years agomodified tools/rbuild/backend/mingw/rules.mak
KJK::Hyperion [Thu, 18 Jun 2009 00:27:18 +0000 (00:27 +0000)]
modified   tools/rbuild/backend/mingw/rules.mak
   For now, only pass the -I, -D and -U preprocessor options to gas

svn path=/trunk/; revision=41441

14 years agomodified include/crt/math.h
KJK::Hyperion [Wed, 17 Jun 2009 23:25:22 +0000 (23:25 +0000)]
modified   include/crt/math.h
   Ported <math.h> to Visual C++
   Fixed some miscellaneous stupidity. I see Arch has been committing to MinGW-W64 too

svn path=/trunk/; revision=41440

14 years agoDo not lie about compiler optimizations.
Dmitry Gorbachev [Wed, 17 Jun 2009 18:17:45 +0000 (18:17 +0000)]
Do not lie about compiler optimizations.

svn path=/trunk/; revision=41439

14 years agofix msvc build
Christoph von Wittich [Wed, 17 Jun 2009 13:48:36 +0000 (13:48 +0000)]
fix msvc build

svn path=/trunk/; revision=41438

14 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

14 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

14 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

14 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

14 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

14 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

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

svn path=/trunk/; revision=41431

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

svn path=/trunk/; revision=41430

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

svn path=/trunk/; revision=41401

14 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

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

svn path=/trunk/; revision=41399

14 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

14 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

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

svn path=/trunk/; revision=41396

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

svn path=/trunk/; revision=41395

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

svn path=/trunk/; revision=41394

14 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

14 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

14 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

14 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

14 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

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

svn path=/trunk/; revision=41388

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

svn path=/trunk/; revision=41380

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

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

svn path=/trunk/; revision=41369

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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

14 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