Commit graph

35448 commits

Author SHA1 Message Date
Andrew Greenwood cbac26c676 Rewrite DoWaveStreaming (makes CommitWaveHeaderToKernelDevice redundant).
Tested with Media Player and NT's Sound Blaster 16 kernel-mode driver on
Windows NT4. Audio buffers play correctly and don't suffer from the
stuttering problem that my previous revision of this code did.


svn path=/trunk/; revision=39669
2009-02-18 21:26:28 +00:00
Johannes Anderwald b25be07add - Fix implementation of KsAddObjectCreateItemToDeviceHeader
- Hackplement KsAllocateObjectCreateItem
- Fix implementation of KsAllocateObjectHeader and store the result either in the passed irp or device header
- Implement Reading / Writing / DeviceIoControl / Flush / QuerySecurity / SetSecurity operation using the object file header
- Implement KsSynchronousIoControlDevice function

svn path=/trunk/; revision=39668
2009-02-18 20:05:33 +00:00
Andrew Greenwood 87dcb169be Removed hooks for prepare/unprepare/stream of WAVEHDR. These are handled
internally by MME-Buddy. Instead, it simply provides a hook to do the
actual streaming, complete with an OVERLAPPED structure and I/O completion
routine. Also started imlpementation of wdmaud.drv to begin interaction
with code janderwald is working on.


svn path=/trunk/; revision=39667
2009-02-18 19:10:02 +00:00
Johannes Anderwald c15dfd0010 - fix build
svn path=/trunk/; revision=39666
2009-02-18 18:01:28 +00:00
Johannes Anderwald bf46ba126d - Set DEVICE_DESCRIPTION to version1
- Fix interface definition of ISubDevice
- Add missing Init function for IPortFilterWaveCyclic and call it from IPortWaveCyclic
- Add GUIDs for property set of Pin and Topology
- Remove DISPATCH_TABLE from IPortTopology
- Rewrite PcCreateItemDispatch to support pin creation requests
- Add Property handler to IPortWaveCyclic (not yet used)
- Make IPortFilterWaveCyclic singleton
- Implement Adding property handlers to SUBDEVICE_DESCRIPTOR

svn path=/trunk/; revision=39665
2009-02-18 18:00:08 +00:00
Johannes Anderwald e042f2fb7a - Fix KSOBJECT_CREATE struct
- Add KSNAME_Pin

svn path=/trunk/; revision=39664
2009-02-18 17:59:30 +00:00
Aleksey Bragin a4718924aa - Fix for Bug 703.
- ReactOS can now be installed on systems with as little as 24MB. Memory usage after boot is down by 20-30MB. Application installations will use/require/leak less memory.
- Patch by Alex Ionescu.
See issue #703 for more details.

svn path=/trunk/; revision=39663
2009-02-18 16:56:42 +00:00
Aleksey Bragin cac6a6eb40 - Display memory usage in the installer as Kernel Cache and Kernel Pool, instead of Paged and Nonpaged Pool, which doesn't reveal the source of the memory leak.
- Remove 40% memory delay hack.
- Patch by Alex Ionescu.

svn path=/trunk/; revision=39662
2009-02-18 16:35:14 +00:00
Dmitry Chapyshev 0ab8c3090f - Formatting fix. No code changes
svn path=/trunk/; revision=39661
2009-02-18 16:34:10 +00:00
Matthias Kupfer 43f6797ed2 - use current appearance settings for drawing the color button
svn path=/trunk/; revision=39660
2009-02-18 16:28:00 +00:00
Stefan Ginsberg be1265e3f8 - Fix freeldr release build breakage from 39638 by correcting non-debug DPRINTM, and wrap some debug code inside a DBG to silence a 'unused variable' warning
svn path=/trunk/; revision=39659
2009-02-18 15:15:37 +00:00
Aleksey Bragin 59924db62f - Turn on multi-character constants support in GCC. Makes TAG macro usage redundant.
svn path=/trunk/; revision=39658
2009-02-18 14:51:07 +00:00
Dmitry Chapyshev bd6c020071 - Formatting fix. No code changes
svn path=/trunk/; revision=39657
2009-02-18 14:30:44 +00:00
Dmitry Chapyshev 10d8c3ec04 - Add sti.dll from Wine
svn path=/trunk/; revision=39656
2009-02-18 08:01:23 +00:00
Timo Kreuzer beab8fa0dc Fix formatting, no code change
svn path=/trunk/; revision=39655
2009-02-18 03:07:20 +00:00
Timo Kreuzer 8d0e6f5f04 co_IntCallHookProc: Don't dereference the ResultPointer returned from KeUserModeCallback and then probe the LRESULT cast to PVOID, but probe the ResultPointer. Fixes bug #4114
See issue #4114 for more details.

svn path=/trunk/; revision=39654
2009-02-17 21:28:22 +00:00
Timo Kreuzer 347f002369 fix formatting 2nd try. Thanks Hervé for noticing.
svn path=/trunk/; revision=39653
2009-02-17 20:13:57 +00:00
Matthias Kupfer d0948aebdb - fix icon for 32bpp mode
svn path=/trunk/; revision=39652
2009-02-17 19:40:40 +00:00
Matthias Kupfer 422a3f3182 - fix typo (no code change)
svn path=/trunk/; revision=39651
2009-02-17 19:38:05 +00:00
Johannes Anderwald 26f9765e9c - Start implementing KsValidateConnectRequest
- Pass OBJ_OPENIF flag to KspCreateObjectType
- KsCreatePin works now

svn path=/trunk/; revision=39650
2009-02-17 19:30:40 +00:00
Dmitry Gorbachev 3b2c9f5d55 Add Hungarian keyboard layout to registry, add a few languages.
svn path=/trunk/; revision=39649
2009-02-17 10:21:48 +00:00
Aleksey Bragin 49ee60f141 - Return full process image names in SystemProcessInformation when possible, instead of limiting to 32 bytes. Based on a patch by Evgeniy Boltik. WIP.
See issue #4087 for more details.

svn path=/trunk/; revision=39648
2009-02-17 09:35:01 +00:00
Dmitry Gorbachev 87a2b33aea Fix spelling.
svn path=/trunk/; revision=39647
2009-02-17 07:25:46 +00:00
Dmitry Gorbachev 34bc2ac202 Attempt to make alphabetical order in input, Mario Kacmar, bug #4167.
svn path=/trunk/; revision=39646
2009-02-17 07:24:12 +00:00
Dmitry Gorbachev b103cc2df8 GCC: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~'.
svn path=/trunk/; revision=39645
2009-02-17 07:11:57 +00:00
Steven Edwards e918fe5822 add telnetd to the cd
svn path=/trunk/; revision=39644
2009-02-17 07:07:18 +00:00
Steven Edwards f3795555d3 hardcode c:\reactos\system32\cmd.exe for now
svn path=/trunk/; revision=39643
2009-02-17 07:06:45 +00:00
Johannes Anderwald 59cb16455f - Fix KSP_NODE struct and build
svn path=/trunk/; revision=39642
2009-02-17 05:28:28 +00:00
Johannes Anderwald 0fa0461cc6 - Implement KsTopologyPropertyHandler
svn path=/trunk/; revision=39640
2009-02-17 04:52:11 +00:00
Timo Kreuzer 1401814d97 Merge freeldr from amd64 branch:
34725, 34726, 34727, 34728, 34733, 34735, 34747, 34748, 34888, 34937, 34968, 35021, 35351, 35360, 35445, 35493, 35495, 35505, 35547, 35696, 35704, 36343, 36355, 36865, 37306, 37896, 38332, 38942, 38950, 38951, 38959, 39073, 39278

svn path=/trunk/; revision=39638
2009-02-17 04:05:26 +00:00
Timo Kreuzer 6e548b6a21 fix formatting
svn path=/trunk/; revision=39637
2009-02-17 03:57:45 +00:00
Timo Kreuzer d90c846eed Implement RtlInterlockedPopEntrySList, RtlInterlockedPushEntrySList and RtlInterlockedFlushSList in assembly. Based on the ExInterlocked functions in ntoskrnl.
svn path=/trunk/; revision=39636
2009-02-17 03:45:27 +00:00
Johannes Anderwald 65920de80b - Implement KsPinDataIntersection
svn path=/trunk/; revision=39635
2009-02-17 03:43:25 +00:00
Johannes Anderwald 73ed4fa6a9 - Fix intersect handlers
svn path=/trunk/; revision=39634
2009-02-17 03:42:33 +00:00
Johannes Anderwald 7f8d4df605 - Implement KsPinPropertyHandler
svn path=/trunk/; revision=39633
2009-02-17 03:07:30 +00:00
Johannes Anderwald cf316da120 - Fix build
svn path=/trunk/; revision=39632
2009-02-17 00:39:40 +00:00
Johannes Anderwald 6e2d8b3b74 - Add a few structs which are required of ks property handling
svn path=/trunk/; revision=39631
2009-02-16 23:29:13 +00:00
Jeffrey Morlan bcde36bae7 Fix some cases where the "format" program misused the %S format, causing it to display gibberish. To print a TCHAR string with _tprintf, just use %s. (Bug 4067)
svn path=/trunk/; revision=39630
2009-02-16 23:05:13 +00:00
Timo Kreuzer 6aa0f2a94b gdiobj.c: go back from intrinsics to to portable interlocked functions. InterlockedPopFreeEntry: Use InterlockedIncrement instead of InterlockedCompareExchange when exchanging the next unused entry in the handle table. Lock the free entry before accessing it, fixing a race condition. Might fix bug #4115
See issue #4115 for more details.

svn path=/trunk/; revision=39629
2009-02-16 23:00:15 +00:00
Jeffrey Morlan dc8e4248dd - Improve performance of TYPE command by reading more than 1 byte at a time. (Bug 4057)
- Also allow it to be interrupted by ^C.

svn path=/trunk/; revision=39628
2009-02-16 21:50:54 +00:00
Aleksey Bragin 1d38fb2424 - Don't reference target process in the beginning of NtQueryInformationProcess but check buffer's length first. Found out by Dmitry Chapyshev, fixes 3 winetests.
svn path=/trunk/; revision=39627
2009-02-16 17:15:09 +00:00
Johannes Anderwald f1d1259e79 - Fix compilation
svn path=/trunk/; revision=39626
2009-02-16 14:49:59 +00:00
Dmitry Chapyshev e140996677 - Fix build
svn path=/trunk/; revision=39624
2009-02-16 12:34:32 +00:00
Aleksey Bragin bbe25aa0c0 - Add declarations for unsafe fastmutex functions.
svn path=/trunk/; revision=39623
2009-02-16 12:10:08 +00:00
Dmitry Chapyshev 79d5681478 - Reimplement RtlLargeIntegerToChar (based on Wine code with my changes). It fixes all large_int Wine tests
svn path=/trunk/; revision=39622
2009-02-16 12:07:27 +00:00
Aleksey Bragin 7e91e42329 - Fix small formatting leftover from r39422.
svn path=/trunk/; revision=39621
2009-02-16 11:18:37 +00:00
Dmitry Chapyshev f685d4bc8e - Fix copypaste typo in IopUpdateOperationCount
svn path=/trunk/; revision=39620
2009-02-16 11:02:23 +00:00
Matthias Kupfer cc40695b51 define IDC_STATIC as -1 instead of 100 (prevent confusing warnings)
svn path=/trunk/; revision=39619
2009-02-16 10:10:44 +00:00
Jeffrey Morlan f56130f164 SET /A improvements:
- Strip quotes from expression
- Use _tcstol instead of _ttoi to parse numbers, allowing hex/octal numbers to be used
- Skip space after an identifier
- Don't echo result when in a batch file

svn path=/trunk/; revision=39618
2009-02-16 03:00:27 +00:00
Art Yerkes 28a87330c4 Remove an assert that doesn't belong.
svn path=/trunk/; revision=39616
2009-02-15 22:16:20 +00:00