Commit graph

37087 commits

Author SHA1 Message Date
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
Johannes Anderwald 82a6743526 - Disable debugging flood
svn path=/trunk/; revision=41342
2009-06-07 18:24:50 +00:00
Johannes Anderwald 7a728c427a - 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
2009-06-07 18:22:24 +00:00
Christoph von Wittich 60e3f374fa revert a part of r41339 as it break ppc port
svn path=/trunk/; revision=41340
2009-06-07 17:42:41 +00:00
Christoph von Wittich 3df8d98cc9 fix definition of LUID
svn path=/trunk/; revision=41339
2009-06-07 17:27:44 +00:00
Christoph von Wittich 294aec4619 partial wine sync
svn path=/trunk/; revision=41338
2009-06-07 15:36:25 +00:00
Christoph von Wittich 5582c91e5b add missing newline at eof
svn path=/trunk/; revision=41337
2009-06-07 15:34:48 +00:00
Christoph von Wittich 91044765a6 sync kernel32 lzexpand to wine 1.1.23
svn path=/trunk/; revision=41336
2009-06-07 14:10:13 +00:00
Sylvain Petreolle 4484749023 fix
dll/win32/netshell/lang/nl-NL.rc:128:4: error: no newline at end of file

svn path=/trunk/; revision=41335
2009-06-07 13:41:41 +00:00
Christoph von Wittich 39e6a334c2 don't close a dialog with <Return> when the OK button is disabled
svn path=/trunk/; revision=41334
2009-06-07 13:27:33 +00:00
Christoph von Wittich 12c11159c8 sync urlmon and winhttp with wine 1.1.23
svn path=/trunk/; revision=41333
2009-06-07 12:32:05 +00:00
Christoph von Wittich 8d470e46d8 sync msiexec to wine 1.1.23
svn path=/trunk/; revision=41332
2009-06-07 11:34:39 +00:00
Christoph von Wittich b5b8395b7d sync msvcrt_winetest with wine 1.1.23
svn path=/trunk/; revision=41331
2009-06-07 11:27:20 +00:00
Christoph von Wittich 2fca9b58ec fix msvcrt data winetests
svn path=/trunk/; revision=41330
2009-06-07 11:24:37 +00:00
Christoph von Wittich 2fafd4ae3d sync version with wine 1.1.23
svn path=/trunk/; revision=41329
2009-06-07 11:12:48 +00:00
Christoph von Wittich 281ab9c777 sync advapi32_winetest with wine 1.1.23
svn path=/trunk/; revision=41328
2009-06-07 10:58:10 +00:00
Christoph von Wittich a4e75a5669 sync shlwapi with wine 1.1.23
svn path=/trunk/; revision=41327
2009-06-07 10:54:09 +00:00