Commit graph

37053 commits

Author SHA1 Message Date
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
Michael Martin 999d0e50c9 - 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
2009-06-09 12:50:32 +00:00
Johannes Anderwald afe9096dba - KeSaveFloatingPointState can be called at irql <= DISPATCH_LEVEL
svn path=/trunk/; revision=41354
2009-06-09 07:15:37 +00:00
Johannes Anderwald 0ba38df7fa - Store servicegroup obtained from IMiniportDMus / IMiniportMidi Init function when IPortDMus / IPortMidi RegisterServiceGroup is not called
svn path=/trunk/; revision=41353
2009-06-08 22:02:46 +00:00
Johannes Anderwald fd1851d16a - 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
2009-06-08 21:37:20 +00:00
Dmitry Chapyshev 0537f45d82 - Add cases for IOCTL_SCSI_MINIPORT and IOCTL_SCSI_PASS_THROUGH
svn path=/trunk/; revision=41351
2009-06-08 15:53:23 +00:00
Stefan Ginsberg 50585c6349 - Clean up RtlSecureZeroMemory
svn path=/trunk/; revision=41350
2009-06-08 13:42:02 +00:00
Cameron Gutman 4ceaa89fbd - 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
2009-06-08 09:45:13 +00:00
Cameron Gutman b59d119c6c - 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
2009-06-08 03:12:03 +00:00
Michael Martin 781c590520 - ElfrReportEventW: Silence debugging thats no longer needed as this API is now implemented.
svn path=/trunk/; revision=41347
2009-06-08 02:32:48 +00:00
Cameron Gutman 3f12788efc - 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
2009-06-08 02:23:47 +00:00
Cameron Gutman f088b72ab8 - Register the adapter shutdown handler if it is specified in the miniport characteristics
svn path=/trunk/; revision=41345
2009-06-08 01:14:19 +00:00
KJK::Hyperion 1ce45c8130 Fix no-op code for UNIX hosts
svn path=/trunk/; revision=41344
2009-06-07 23:39:15 +00:00
KJK::Hyperion 4a745139c1 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
2009-06-07 23:33:42 +00:00