Commit graph

35508 commits

Author SHA1 Message Date
Dmitry Gorbachev e884b38e1f Change page file PTE format to distinguish paged out pages from
noaccess pages. It fixes kernel crash at the end of Sun JRE setup.

svn path=/trunk/; revision=39681
2009-02-19 11:47:34 +00:00
Matthias Kupfer 4f7122ff29 - initial default message handler for WM_SYSCOLORCHANGE messages
svn path=/trunk/; revision=39680
2009-02-19 11:43:26 +00:00
Daniel Reimer daec6ac09d Sync winfile and write to Wine HEAD
svn path=/trunk/; revision=39679
2009-02-19 10:09:34 +00:00
Daniel Reimer 51009e3fec Sync xcopy, winhlp32 and wordpad to Wine HEAD.
svn path=/trunk/; revision=39678
2009-02-19 10:09:19 +00:00
Matthias Kupfer 6a1cf39948 Evgeniy Boltik <bstsoft AT narod DOT ru>
- Fix for mouse cursor in 256 color mode.
- See issue #4172 for details.

svn path=/trunk/; revision=39676
2009-02-19 09:18:27 +00:00
Johannes Anderwald aa52ca9057 - If the current irp buffer is finished, set the state to pause (fixes looping of last sample)
- Use KeSetTimer if Irql is below equal DISPATCH_LEVEL

svn path=/trunk/; revision=39675
2009-02-19 05:48:51 +00:00
Johannes Anderwald f5cfdeec77 - Implement writing into cyclic buffer
- Implement queuing write requests
- Use KeInsertQueueDpc over KeSetTimer in IServiceGroup_fnRequestDelayedService
- Playing an irp sound buffer now basically works. However the last sample is always repeated(w/o irp buffer bounds checking playing works normally but bsod occurs due to reading out of bounds)

svn path=/trunk/; revision=39674
2009-02-19 05:19:08 +00:00
Johannes Anderwald 9db4f23783 - Implement KsAddIrpToCancelableQueue and KsRemoveIrpFromCancelableQueue
svn path=/trunk/; revision=39673
2009-02-19 01:11:59 +00:00
Johannes Anderwald 357d5e75b9 - Fix build
svn path=/trunk/; revision=39672
2009-02-19 00:47:00 +00:00
Johannes Anderwald c50d26f16b - Implement KSPROPERTY_CONNECTION_STATE & KSPROPERTY_CONNECTION_FORMAT for property set KSPROPSETID_Connection
- Queue a work item when Irql is above dispatch level
- Open the input / output stream when initializing the pin

svn path=/trunk/; revision=39671
2009-02-18 23:27:10 +00:00
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