Commit graph

44237 commits

Author SHA1 Message Date
Johannes Anderwald d8bb0e8df8 [AUDIO-BRINGUP]
- Remove installation of non-existant wdmaud / sysaudio / kmixer

svn path=/branches/audio-bringup/; revision=49956
2010-12-05 21:31:33 +00:00
Johannes Anderwald f5a193a41b [AUDIO-BRINGUP]
- Properly determine the component type and target type of source lines
- Correctly set dwDestination / target type / component member for source lines

svn path=/branches/audio-bringup/; revision=49955
2010-12-05 18:01:24 +00:00
Johannes Anderwald f0b3c9997f [AUDIO-BRINGUP]
- Fix line ids of source lines
- Fix calculating line id of source lines
- MS sndvol32 is still crashing in user32

svn path=/branches/audio-bringup/; revision=49951
2010-12-04 18:53:51 +00:00
Johannes Anderwald a7d4c7146b [AUDIO-BRINGUP]
- More fixes for mmixer library
- Store destination lines sharing the same mixer object in the same object
- Fix generating destination lines id / soure lines
- Add mux node for input mixers
- Disable code which checked if the topology node has already been reserved for an another line. Tests in WinXP concluded that ms does not do this at all, though documentation claims it
- Add source line to the correct destination line
- Fix a memory leak
- Fix tons of bugs in MMixerGetLineInfo



svn path=/branches/audio-bringup/; revision=49949
2010-12-04 17:45:48 +00:00
Johannes Anderwald 6cee9e1837 [AUDIO-BRINGUP]
- Pass audio device id to wdmaud.drv callback functions
- Extend VALIDATE_MMSYS_PARAMETER macro
- Handle case when the caller does not pass handle of mixer, but a device id
- Pass device id to mmixer library
- Remove dead code
- MS sndvol32.exe now gets further, but crashes in user32 IntCallMessageProc

svn path=/branches/audio-bringup/; revision=49931
2010-12-03 16:49:33 +00:00
Johannes Anderwald 6c8e7899a9 - Update to trunk
svn path=/branches/audio-bringup/; revision=49927
2010-12-03 15:05:26 +00:00
Johannes Anderwald 16d979e4ad - Merge from trunk
- Hackfixed to build

svn path=/branches/audio-bringup/; revision=49924
2010-12-03 13:37:09 +00:00
Johannes Anderwald c47ea5cd38 - Merge from trunk
- Hackfixed to build

svn path=/branches/audio-bringup/; revision=49923
2010-12-03 13:32:50 +00:00
Johannes Anderwald 8e0af0da53 [AUDIO-BRINGUP]
- Remove wdmaud test code

svn path=/branches/audio-bringup/; revision=49920
2010-12-03 11:53:15 +00:00
Johannes Anderwald a5d898e1ac [AUDIO-BRINGUP]
- Check if library has already been initialized
- Remove function macro for legacy (wdmaud.sys connection)

svn path=/branches/audio-bringup/; revision=49919
2010-12-03 11:47:43 +00:00
Johannes Anderwald 0db537dac8 [AUDIO-BRINGUP]
- Fix opening of mixer / midi devices

svn path=/branches/audio-bringup/; revision=49917
2010-12-03 11:14:29 +00:00
Johannes Anderwald 458fddc634 [AUDIO-BRINGUP]
- Activate dsound rewrite

svn path=/branches/audio-bringup/; revision=49911
2010-12-03 03:42:10 +00:00
Johannes Anderwald 8e1a78a39c [AUDIO-BRINGUP]
- Enable mmixer library in wdmaud.drv
- Delete unused code
- Don't call wave streaming handler again from the io completion callback. As this will sooner or later will cause crash because the stack got eaten
- Create a thread for each io packet and handle the completion callback within it. 
- Audio packets are now directly routed from winmm -> wdmaud.drv -> portcls instead of winmm -> wdmaud.drv -> wdmaud.sys -> sysaudio.sys -> kmixer.sys -> portcls.sys
- Needs more testing & fine tuning, to fixup audio glitches

svn path=/branches/audio-bringup/; revision=49910
2010-12-03 03:39:55 +00:00
Johannes Anderwald 4bafd25194 [AUDIO-BRINGUP]
- Delete wdmaud, sysaudio, kmixer

svn path=/branches/audio-bringup/; revision=49909
2010-12-03 03:36:28 +00:00
Timo Kreuzer 1a20b0bd9c [NTOSKRNL]
patch by Samuel Serapion:
Implement MemorySectionName case for NtQueryVirtualMemory. Protect buffer access with SEH.

See issue #5753 for more details.

svn path=/trunk/; revision=49898
2010-12-02 14:37:16 +00:00
Aleksey Bragin ed5da47acd [FINDSTR]
- Port findstr (incomplete, as author of this patch states, it may satisfy RosBE, .c .h and .rc files) from FreeDOS project. Needed for RosBE-on-ReactOS support.
See issue #5724 for more details.

svn path=/trunk/; revision=49875
2010-11-30 19:14:41 +00:00
Aleksey Bragin 7ca7ff0cbd [CMD]
- Carlo Bramix: MultiByteToWideChar() has just 6 and not 8 parameters, probably it's a forgetten copy/past from WideCharToMultiByte().
- Carlo Bramix: ConvertULargeInteger() should have its parameter 'Len' declared as UINT rather than 'INT'. This fixes a signed/unsigned mismatch warning.
See issue #5678 for more details.

svn path=/trunk/; revision=49873
2010-11-30 16:38:53 +00:00
Aleksey Bragin 76b3ad6788 [DDRAW]
- Jerome Gardou: Almost all of the ddraw->refcount winetests pass. One remains, due to the fact that IdirectDrawSurface::SetPalette is unimplemented. IDirectDraw::Createpalette is implemented too, but needs testing. There are no parameter checks.
- Comments from me: The patch is not build-tested, however I did my best to merge it to existing ddraw and I prefer the actual code to be in the repository rather than hanging in bugzilla for years (last comment to the patch is dated 29.10.2009).

See issue #4909 for more details.

svn path=/trunk/; revision=49872
2010-11-30 16:29:49 +00:00
James Tabor 081b22869e [User32]
- Fixed export for PrintWindow see bug 5466 and 5609.

svn path=/trunk/; revision=49861
2010-11-29 16:48:27 +00:00
Pierre Schweitzer 6a6c5e47e6 [NTOSKRNL/NEWCC]
Init Dummy var even if just used for debug to suppress warning

svn path=/trunk/; revision=49858
2010-11-28 22:33:19 +00:00
Pierre Schweitzer e8615c4221 [DDK]
FsRtlRemoveBaseMcbEntry() return is VOID

svn path=/trunk/; revision=49851
2010-11-28 16:43:40 +00:00
Amine Khaldi 14dc931ab1 [NTOSKRNL/MM]
- Fix the use of an uninitialized variable.

svn path=/trunk/; revision=49850
2010-11-28 16:38:51 +00:00
Pierre Schweitzer b0fb94b1f3 [NTOSKRNL]
Never read code & commit while being tired...

svn path=/trunk/; revision=49848
2010-11-28 16:33:56 +00:00
Aleksey Bragin 5afe6c4f39 [ATL]
- Ettl Martin: Make CComCriticalSection destructor virtual.
See issue #4975 for more details.

svn path=/trunk/; revision=49840
2010-11-28 12:10:59 +00:00
Timo Kreuzer 205fe71c5d [CRT]
Fix another typo

svn path=/trunk/; revision=49836
2010-11-28 09:53:22 +00:00
James Tabor 52a1227b43 [User32]
- Sync up with wine 1.2 rc6 menu so it will pass the tests from rev 47939.

svn path=/trunk/; revision=49834
2010-11-28 01:37:16 +00:00
Timo Kreuzer af040adf50 [CRT]
Fix typos

svn path=/trunk/; revision=49830
2010-11-28 00:10:02 +00:00
Timo Kreuzer 250e056ece revert r49824
svn path=/trunk/; revision=49827
2010-11-27 22:24:15 +00:00
Timo Kreuzer 1d70b8136a [ASM]
Merge asm related changes from cmake branch.

svn path=/trunk/; revision=49826
2010-11-27 22:12:15 +00:00
Aleksey Bragin 9ce5939959 [MPRAPI]
- Sync to Wine-1.3.8
See issue #5718 for more details.

svn path=/trunk/; revision=49825
2010-11-27 21:38:11 +00:00
Timo Kreuzer ff164c8fa4 [XML]
Silence a warning on MSVC

svn path=/trunk/; revision=49824
2010-11-27 19:02:37 +00:00
Aleksey Bragin cc202fdc31 [FREELDR]
- Conditionally enable heap-related debugging and validation checks by an MM_DBG define for all architectures. Inspired by 49744.

svn path=/trunk/; revision=49792
2010-11-25 22:03:56 +00:00
Pierre Schweitzer fb04d4fd23 [NTOSKRNL]
Fix the fix, ie fix x86.
Everything should work now ~

svn path=/trunk/; revision=49790
2010-11-24 22:51:03 +00:00
Sylvain Petreolle cea642beb3 [FREELDR]
poor little printf causes boot break, nuff said.

svn path=/trunk/; revision=49789
2010-11-24 20:55:15 +00:00
Sir Richard 5f47e1ddd0 [NTOS]: Seems like cpsr_c doesn't work in this case? Need to investigate. Put an infinite loop in the entrypoint on ARM.
svn path=/trunk/; revision=49786
2010-11-24 18:56:35 +00:00
Sir Richard a5dbee0b8f [NTOS]: STATUS_SUCCESS is not the only succesful return code.
svn path=/trunk/; revision=49785
2010-11-24 18:53:47 +00:00
Timo Kreuzer ec2d741f31 [SERVICES]
Fix a typo (|| instead of |). Found by clang.

svn path=/trunk/; revision=49783
2010-11-24 18:30:12 +00:00
Sir Richard 889287242f [NTOS]: Fix 16-bit interlocked operations on ARM (GCC doesn't provide built-ins). ARM should build now.
svn path=/trunk/; revision=49782
2010-11-24 18:19:42 +00:00
Sir Richard ae6d759f4c [NTOS]: Some more ARM build and linker fixes, moving some of the new x86 C code into ARM. This should really be shared later.
[NTOS]: Totally broke thread context switching on ARM for now. It's a Good Thing.

svn path=/trunk/; revision=49781
2010-11-24 17:49:52 +00:00
Sir Richard a19af9c7cb [NDK]: Fix definition of ARM PTE/PDE structure.
[NTOS]: Fix up ARM code to match recent ARM3 changes.
[NTOS]: Do not use initguid inside every single file to zillionplicate the GUIDs! Why doesn't the x86 linker catch this?!!?
[ARMDDK]: Define some spinlock functions.

svn path=/trunk/; revision=49780
2010-11-24 17:26:30 +00:00
Pierre Schweitzer 85adb4ff80 [NTOSKRNL]
That's not because ARM will rule the world on a day that you're obliged to break x86 build.
Fixed build. Will it work? Only God knows.

svn path=/trunk/; revision=49779
2010-11-24 17:24:54 +00:00
Sir Richard 1a6196d960 [NTOS]: Add MiGetPteOffset for ARM. All of the kernel compiles, but does not link yet.
svn path=/trunk/; revision=49778
2010-11-24 16:09:19 +00:00
Sir Richard d3036c6ebf [CONFIG]: Instead of having 4 template rbuild configuration files that must be kept in-sync, maybe there should be a generic one that they all inherit from?
[CONFIG]: Add new property settings that exist in x86, but not ARM because nobody added them there. For example, nor cc, nor cache were being built on ARM, because NEWCC was undefined (which isn't treated as 0 by rbuild).
How I long for CMAKE.

svn path=/trunk/; revision=49777
2010-11-24 16:08:54 +00:00
Sir Richard 0a30393880 [ARMDDK]: Oh, right, forgot how this was laid out. should fix ARM build.
svn path=/trunk/; revision=49775
2010-11-24 15:41:28 +00:00
Sir Richard 2a91ad3419 [NTOS]: Fix incorrect assumptions that a PDE == PTE which have crept up throughout new ARM3 code.
[NTOS]: Fix a couple more unportable directly "Hard" PTE field accesses, instead of using portable MI macros.
[NTOS]: Cleanup some of the pool code that had really messed up PDE vs PTE.
[NTOS]: Define the number of page directoty levels for ARM.
[NTOS]: Comment out some ARM3 code that won't be needed now that most of the x86 code is in C.
Fixes all but one build error.

svn path=/trunk/; revision=49774
2010-11-24 15:21:45 +00:00
Sir Richard bb8885c1d7 [PSDK/NDK]: Fix KPCR/KIPCR for ARM to match x86 more closely. Add KeGetTickCount for ARM.
svn path=/trunk/; revision=49773
2010-11-24 15:18:24 +00:00
Giannis Adamopoulos 8379e12418 [win32k]
-move several user stubs in ntstubs.c

svn path=/trunk/; revision=49772
2010-11-24 14:52:23 +00:00
Sir Richard b145be7aef [NTOS]: Errr... wow! Another one caught by ARM GCC. I can swear x86 GCC used to catch these. Did someone change warning settings? Anyhow, fix a *f++ which increments the pointer, not the value INSIDE the pointer (*f)++. Fixes MiDeleteSystemPageableVm.
svn path=/trunk/; revision=49771
2010-11-24 14:47:08 +00:00
Sir Richard bae9b1d587 [NTOS]: Erm, why is it that the ARM compiler detects this obvious bug, but x86 does not? Fix missing ShareCount zeroing when unlocking an MDL.
svn path=/trunk/; revision=49770
2010-11-24 14:39:23 +00:00
Giannis Adamopoulos 4ef8ef5ae9 [win32k]
- Remove some unused functions

svn path=/trunk/; revision=49769
2010-11-24 14:13:12 +00:00