Commit graph

37166 commits

Author SHA1 Message Date
Dmitry Chapyshev a72b50ba4d - 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
2009-06-14 08:30:22 +00:00
Cameron Gutman 7c65e049ea - Implement NdisIMGetBindingContext and NdisIMGetDeviceContext
svn path=/trunk/; revision=41405
2009-06-14 05:42:30 +00:00
Sylvain Petreolle 14be0d32cb 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
2009-06-13 15:33:33 +00:00
Dmitry Gorbachev ca19857e83 Lowercase STATIC and CONST. Fixes build with DBG but without KDBG.
svn path=/trunk/; revision=41403
2009-06-13 15:28:33 +00:00
Dmitry Chapyshev df5470127f - Fix 5 winetests for CreateProcessA/W
svn path=/trunk/; revision=41402
2009-06-13 12:24:51 +00:00
Cameron Gutman a06e09c9ea - Header cleanup
svn path=/trunk/; revision=41401
2009-06-13 05:51:44 +00:00
Cameron Gutman 78f0b85fae - Implement NdisIMCopySendPerPacketInfo and NdisIMCopySendCompletePerPacketInfo
svn path=/trunk/; revision=41400
2009-06-13 05:37:16 +00:00
Cameron Gutman 166fb4de72 - Implement NdisGeneratePartialCancelId
svn path=/trunk/; revision=41399
2009-06-13 05:25:54 +00:00
Timo Kreuzer 240637d7ec Patch by Olaf Siejka (caemyr gmail com):
add stubs for unimplmented cases in ScsiPortNotification

svn path=/trunk/; revision=41398
2009-06-12 22:31:02 +00:00
Dmitry Gorbachev ad59e09b0e Fix bug #4558 ("buildno" is not compatible with SVN 1.6).
svn path=/trunk/; revision=41397
2009-06-12 21:42:32 +00:00
Dmitry Chapyshev 829df8eb70 - Revert r41390
svn path=/trunk/; revision=41396
2009-06-12 17:54:51 +00:00
Dmitry Chapyshev 0bf97bff06 - Revert r41389
svn path=/trunk/; revision=41395
2009-06-12 17:42:34 +00:00
Dmitry Chapyshev ae25fbb981 - Fix build
svn path=/trunk/; revision=41394
2009-06-12 17:14:42 +00:00
Timo Kreuzer fc918eb5ac ChangeDisplaySettingsExA: don't leak the memory for the converted DEVMODEW
svn path=/trunk/; revision=41393
2009-06-12 16:52:31 +00:00
Dmitry Chapyshev e4ae303e4a - Verify user32 export list with Win 2k3 R2
svn path=/trunk/; revision=41392
2009-06-12 15:54:25 +00:00
Dmitry Chapyshev 1b75d3dfa3 - Add job limit flags (based on MSDN info)
svn path=/trunk/; revision=41391
2009-06-12 15:49:16 +00:00
Dmitry Chapyshev 3f9540dadd - Set high priority class for winlogon.exe
svn path=/trunk/; revision=41390
2009-06-12 15:44:21 +00:00
Dmitry Chapyshev c8e1416240 - Start services.exe and lsass.exe with above normal priority class
svn path=/trunk/; revision=41389
2009-06-12 15:41:26 +00:00
Cameron Gutman 7b18ba471e - Implement NdisCancelSendPackets
svn path=/trunk/; revision=41388
2009-06-11 23:53:23 +00:00
Stefan Ginsberg 4d52a6e737 - MINIPORT_CONFIGURATION_CONTEXT must be allocated from nonpaged pool as it contains a spinlock
svn path=/trunk/; revision=41387
2009-06-11 23:45:59 +00:00
Stefan Ginsberg 5bd2bdcaec - 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
2009-06-11 23:36:51 +00:00
Dmitry Chapyshev d44cbb4ee0 2 == MEMORY_PRIORITY_FOREGROUND
0 == MEMORY_PRIORITY_BACKGROUND

svn path=/trunk/; revision=41385
2009-06-11 15:37:43 +00:00
Dmitry Chapyshev bdee30aee5 - Add debug messages for unimplemented cases in NtQueryInformationProcess
svn path=/trunk/; revision=41384
2009-06-11 15:29:30 +00:00
Dmitry Chapyshev e8062e7d29 - Add missed checks of the buffer length
svn path=/trunk/; revision=41383
2009-06-11 15:21:58 +00:00
Dmitry Chapyshev 0b86b42306 - Add debug messages for unimplemented cases
svn path=/trunk/; revision=41382
2009-06-11 15:04:20 +00:00
Michael Martin 75946e1764 - 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
2009-06-11 14:13:11 +00:00
Michael Martin 978fcad8fb - Fix formatting.
svn path=/trunk/; revision=41380
2009-06-11 12:37:16 +00:00
Aleksey Bragin 0bc8e64ea2 - 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
2009-06-11 11:42:07 +00:00
Michael Martin 2023257ded - Add IoGetDeviceAttachmentBaseRef, IoGetDiskDeviceObject and IoGetLowerDeviceObject.
svn path=/trunk/; revision=41378
2009-06-11 01:05:51 +00:00
KJK::Hyperion 24a8093b5b Fix Visual C++ build
svn path=/trunk/; revision=41377
2009-06-10 20:09:03 +00:00
Aleksey Bragin 67b2570aeb - Implement ProcessPriorityClass case for NtSetInformationProcess(). Based on Dmitry Chapyshev's work and testing.
svn path=/trunk/; revision=41376
2009-06-10 19:31:54 +00:00
Aleksey Bragin d538f101ac - Add PsSetProcessPriorityByClass() declaration to NDK.
svn path=/trunk/; revision=41375
2009-06-10 19:24:38 +00:00
KJK::Hyperion e1dbbac2c4 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
2009-06-10 19:12:18 +00:00
Dmitry Chapyshev c828055508 - 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
2009-06-10 18:44:31 +00:00
KJK::Hyperion 36e771184a Fix the cheerleader, fix the build
svn path=/trunk/; revision=41372
2009-06-10 18:41:50 +00:00
Johannes Anderwald a0aa8829fc - 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
2009-06-10 18:28:15 +00:00
KJK::Hyperion 305a63335d 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
2009-06-10 18:24:33 +00:00
Dmitry Chapyshev 067ab38bb7 - Fix typo
svn path=/trunk/; revision=41369
2009-06-10 18:09:15 +00:00
KJK::Hyperion 5c0e22fb27 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
2009-06-10 17:56:12 +00:00
Dmitry Chapyshev 0d96a60df3 - Set priority only if PriorityClass != PROCESS_PRIORITY_CLASS_INVALID
svn path=/trunk/; revision=41367
2009-06-10 17:11:36 +00:00
KJK::Hyperion 0c2ae3d768 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
2009-06-10 11:16:28 +00:00
Dmitry Chapyshev 89c5e30fd7 - Fix ProcessPriorityClass case in NtQueryInformationProcess. Structure PROCESS_PRIORITY_CLASS should be returned. Tested in win vista
svn path=/trunk/; revision=41365
2009-06-10 07:07:51 +00:00
Timo Kreuzer b9a6ee158d [FORMATTING]
dibobj.c: fix indentation, no code change

svn path=/trunk/; revision=41364
2009-06-10 00:23:15 +00:00
Johannes Anderwald a895171aca - Topology nodes can have a nullable name
- Disable releasing resources when IPortFilterWaveCyclic is closed

svn path=/trunk/; revision=41363
2009-06-09 21:55:12 +00:00
Sylvain Petreolle d5c66d9743 Dhcp HostName isn't mandatory.
Fixes nat networking in vbox.

svn path=/trunk/; revision=41362
2009-06-09 20:22:48 +00:00
Aleksey Bragin bbccb19127 - Fix accidentally committed change in a function prototype. Spotted by Stefan Ginsberg.
svn path=/trunk/; revision=41361
2009-06-09 16:43:22 +00:00
Sylvain Petreolle 77af3a18bd don't include private.h twice
fix include path

svn path=/trunk/; revision=41360
2009-06-09 16:42:42 +00:00
Aleksey Bragin fefcaea1a8 - Make use of the implemented transfer counter.
svn path=/trunk/; revision=41359
2009-06-09 16:38:05 +00:00
Aleksey Bragin 37fdc19299 - Implement a helper for updating IO transfer counters. Based on a patch by Dmitry Chapyshev.
svn path=/trunk/; revision=41358
2009-06-09 16:17:34 +00:00
Johannes Anderwald de4dace673 - 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
2009-06-09 14:50:24 +00:00