Commit graph

44586 commits

Author SHA1 Message Date
Pierre Schweitzer 435cdd8c49 [NTOSKRNL]
Rewritten FsRtlIsDbcsInExpression() using FsRtlIsNameInExpression() pattern.
This fixes all failing tests from kmtest.sys and make this function definitely tastier to MS fastfat.sys

svn path=/trunk/; revision=50021
2010-12-13 11:24:52 +00:00
Pierre Schweitzer 2fed6b5925 [KMTEST]
Added testcases for FsRtlIsDbcsInExpression()

svn path=/trunk/; revision=50020
2010-12-13 11:06:57 +00:00
Pierre Schweitzer ffd29f0aa3 [NTOSKRNL]
Fixed FsRtlIsNameInExpression() according to r50018 tests

svn path=/trunk/; revision=50019
2010-12-12 22:17:45 +00:00
Pierre Schweitzer 94b828f1a4 [KMTEST]
Added more testcases for FsRtlIsNameInExpression()

svn path=/trunk/; revision=50018
2010-12-12 22:09:35 +00:00
Pierre Schweitzer 1632e9c528 Revert r50016
svn path=/trunk/; revision=50017
2010-12-12 22:04:59 +00:00
Pierre Schweitzer 2af18a66e3 Commit test...
svn path=/trunk/; revision=50016
2010-12-12 22:03:42 +00:00
Sylvain Petreolle dbb98253a6 [ROSTESTS]
Delete test file.


svn path=/trunk/; revision=50015
2010-12-12 21:48:05 +00:00
Sylvain Petreolle 50dce372bb [ROSTESTS]
Add lorem ipsum test file.

svn path=/trunk/; revision=50014
2010-12-12 21:30:20 +00:00
Daniel Reimer 8448d43632 Update the rapps database.
svn path=/trunk/; revision=50013
2010-12-12 18:56:43 +00:00
Johannes Anderwald 7a95ed1cfa [KS]
- Fix 2 bugs in KsCreateBusEnumObject. It didnt store the allocated device extension and it didnt store the PnpDeviceObject when it was provided by the caller
- Implement KsGetBusEnumIdentifier, KsGetBusEnumPnpDeviceObject

svn path=/branches/audio-bringup/; revision=50012
2010-12-11 19:44:15 +00:00
Johannes Anderwald 30d346530e [AUDIO-BRINGUP]
- Implement a timeout handler, which detects whether the audio thread has hung. The code has not yet been activated
- Remove unused members

svn path=/branches/audio-bringup/; revision=50001
2010-12-10 11:03:28 +00:00
Aleksey Bragin c19a377df2 [HEAP]
- Time has come to get rid of a slightly modified implementation of WINE's heap, which is a hack based on Windows 95's heap implementation, itself a hack of DOS memory management. It supported 3 out of the 18 possible NT Heap Flags, did not support custom allocation/deallocation routines, and was about 50-80x slower with fragmentation rates up to 500x higher when compared to NT's LFH (WINE is lucky because the advanced NT Heap features are used in kernel-mode usually, not in user-mode, and they are crossing their fingers for this being the same). Several high-end SQL/Database applications would significantly benefit from custom heap features provided by NT. Not to say about removing crappy support for a custom Commit routine and crappy support for User-defined flags and the User-defined value.

- So, the glorious moment for a new heap manager, which is (to remind you) a totally new heap manager, resembling real NT heap manager, based on data structures similar to Windows 2003 and Vista+'s heap structures, supporting advanced heap flags (e.g. useful for debugging), having substantially lower fragmentation rates (and thus speed and reliability), having native support for user-defined flags and user-defined values, also native support for a custom commit routine, which is very important for trunk's win32 subsystem. It also reserves, commits, decommits and frees memory on the fly, unlike existing heap manager which prefers to reserve and commit as much as possible, and doesn't decommit when it's no longer necessary. Not to say about support for per process heaps, with a proper lock, and a further support for a special so-called debug heap allocator (to be implemented in heapdbg.c) which will be useful for finding heap corruptions.

Yeah, I'm not a fun person :D

svn path=/trunk/; revision=50000
2010-12-10 09:33:20 +00:00
Johannes Anderwald f93d9928e3 [AUDIO-BRINGUP]
- Implement WODM_RESTART / WODM_PAUSE
- Fixes playback in Audacity and many others probably

svn path=/branches/audio-bringup/; revision=49999
2010-12-10 08:23:20 +00:00
Johannes Anderwald 6c695cc12d [AUDIO-BRINGUP]
- Fix broken wave recording

svn path=/branches/audio-bringup/; revision=49998
2010-12-10 07:41:44 +00:00
Johannes Anderwald a0f720954d [AUDIO-BRINGUP]
- Implement WdmAudResetStreamByMMixer, StopStreamingInSoundThread
- WIDM_RESET / WODM_RESET are now implemented
- Skipping now audio bytes (i.e. jumping to different audio position) now properly works and no longer causes a hang under certain conditions

svn path=/branches/audio-bringup/; revision=49997
2010-12-10 06:14:10 +00:00
Timo Kreuzer 867a6b79d4 [WIN32K]
Merge r49994 and r49995 from reactx branch

svn path=/trunk/; revision=49996
2010-12-09 15:53:55 +00:00
Johannes Anderwald 7ae8c563cc [AUDIO-BRINGUP]
- Respect channel count which defines if the control acts uniform or per channel
- Fix bug in MMixerSetGetMuxControlDetails

svn path=/branches/audio-bringup/; revision=49993
2010-12-09 11:33:58 +00:00
Johannes Anderwald 5e2f536e5c [AUDIO-BRINGUP]
- Implement MixerEvent callback in wdmaud.drv
- Comment out assert which is hit in VmWare
- Implement full support mux controls

svn path=/branches/audio-bringup/; revision=49990
2010-12-08 19:49:28 +00:00
Colin Finck f1892bd3a3 Remove the "irc", "press-media" and "tools" directories.
They were moved to the "press-media" and "project-tools" repositories now.

svn path=/trunk/; revision=49986
2010-12-08 16:42:47 +00:00
Johannes Anderwald 568ec33a57 - Fix build #2
svn path=/branches/audio-bringup/; revision=49984
2010-12-07 22:24:33 +00:00
Johannes Anderwald fc15c3f30b - Add temporary hack to prevent MS Sndvol32 from crashing
- Found by smiley

svn path=/branches/audio-bringup/; revision=49983
2010-12-07 22:22:24 +00:00
Aleksey Bragin bbb9384573 [DDK]
- Oleg Baikalow: Fix NDIS macros.

svn path=/trunk/; revision=49982
2010-12-07 22:07:00 +00:00
Johannes Anderwald 133053626b - Fix compile #1
svn path=/branches/audio-bringup/; revision=49981
2010-12-07 21:58:43 +00:00
Aleksey Bragin ffe49df99a [REGEDIT]
- Adam Kachwalla: Fix inconsistent formatting.
- Me: to anyone who's gonna try syncing the code with Wine's regedit: Have fun!
See issue #5716 for more details.

svn path=/trunk/; revision=49980
2010-12-07 21:49:25 +00:00
Johannes Anderwald 64a772037e - Revert 49927 "Update to trunk" as it breaks KsStudio (again)
svn path=/branches/audio-bringup/; revision=49979
2010-12-07 21:46:43 +00:00
Eric Kohl 65081666b5 [NPFS]
Enable the driver to open a directory using a relative path name.

svn path=/trunk/; revision=49978
2010-12-07 20:16:45 +00:00
Johannes Anderwald 2b777abf96 [AUDIO-BRINGUP]
- Silence traces

svn path=/branches/audio-bringup/; revision=49975
2010-12-07 17:46:25 +00:00
Johannes Anderwald ee4f08ad85 [PORTCLS]
- Merge from the audio branch
- Fix node property handler
- Take advantage of IPinCount interface

svn path=/trunk/; revision=49974
2010-12-07 17:23:09 +00:00
Johannes Anderwald 4cf9ead133 [AUDIO-BRINGUP]
- Fix major bug which made change volume / mute requests fail

svn path=/branches/audio-bringup/; revision=49972
2010-12-07 15:52:25 +00:00
Johannes Anderwald 062790010c [AUDIO-BRINGUP]
- Implement registering source / destination lines + controls of alternative mixers
- Implement support function for retrieving mixer by name

svn path=/branches/audio-bringup/; revision=49970
2010-12-07 15:19:22 +00:00
Johannes Anderwald d6f6afee98 [SHELL32]
- Implement copy / paste for files when tree view is present
- Don't add shortcuts / executables to recent file list

svn path=/trunk/; revision=49969
2010-12-07 14:35:54 +00:00
Amine Khaldi 0b6a8d819a [CMAKE]
- More work rostests cmake integration. Winetests are almost all done (two remain).

svn path=/trunk/; revision=49968
2010-12-07 11:40:10 +00:00
Johannes Anderwald 6a0327f62c [AUDIO-BRINGUP]
- Fix error message when mmixer library has failed to initialize
- Remove device handle from MIXER_INFO as a mixer can span over more than one device (i.e. mixer, wave)
- Add device handle to mixer control struct
- Store mixer controls in list than in array. Will later be used to add hacks (i.e wave line must have volume controls etc)
- Add reserved member to topology pin struct and mark used pins as reserved. It is then used to add alternative mixers destination lines

svn path=/branches/audio-bringup/; revision=49967
2010-12-07 10:29:57 +00:00
Amine Khaldi 2923228336 [CMAKE]
- Start working on rostests cmake integration.

svn path=/trunk/; revision=49966
2010-12-07 09:27:10 +00:00
Johannes Anderwald 4256033623 [AUDIO-BRINGUP]
- Implement support for retrieving mux mixer controls 
- Implement support for on/off controls
- Store logical pins for nodes connecting to another nodes. Currently not yet used


svn path=/branches/audio-bringup/; revision=49965
2010-12-06 16:00:06 +00:00
Giannis Adamopoulos a38b059ca1 [win32k]
- In FNID_SENDMESSAGECALLBACK use SEH before accesing the user-mode buffer

svn path=/trunk/; revision=49962
2010-12-06 12:07:05 +00:00
Cameron Gutman 3e169e3cb2 [NDIS]
- Add a missing spin lock release in a failure case
- Fix incomplete copying of NDIS 5.1 miniport characteristics

svn path=/trunk/; revision=49961
2010-12-06 04:39:57 +00:00
Johannes Anderwald 3da0b30d8a [AUDIO-BRINGUP]
- Implement determination of the channel count for source mixer lines

svn path=/branches/audio-bringup/; revision=49960
2010-12-06 02:15:33 +00:00
Johannes Anderwald 4a8590e0d6 [AUDIO-BRINGUP]
- Add advanced flags of KSPROPERTY_MEMBERSHEADER

svn path=/branches/audio-bringup/; revision=49959
2010-12-06 01:43:55 +00:00
Johannes Anderwald b913ec3d17 [AUDIO-BRINGUP]
- Fix the famous node property handler bug, leading to lots of audio related crashes

svn path=/branches/audio-bringup/; revision=49958
2010-12-06 01:06:37 +00:00
Giannis Adamopoulos 5f879a1245 [win32k]
-Amend to r41772. Allow PostMessage to handle DDE messages

svn path=/trunk/; revision=49957
2010-12-05 23:10:03 +00:00
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
Aleksey Bragin ca9bd80182 [TASKMGR]
- Rafal Harabien: Add support for DELETE key to processes and applications list in taskmgr.
See issue #5646 for more details.

svn path=/trunk/; revision=49954
2010-12-05 10:27:45 +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
James Tabor e781fb11a4 [Win32k|User32]
- Remove the old send message API and use NtUserMessageCall.
- Send messages do not pass the Ansi bit. This was evident during the hook changes. User32 knows the caller is Ansi and with a Unicode window user32 can make the apropate switch. Win32k on the other hand, assumes, based on the Unicode window the caller is Unicode. Hook tests enabled in send message, forces the call to win32k, and the Ansi product is Unicode data. Using NtUserMessageCall this bit can be passed forward to allow win32k to make the correct switch going to callback.

svn path=/trunk/; revision=49950
2010-12-04 17:51:17 +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
Eric Kohl 95aa3be8eb [NPFS]
- Fail attempts to connect or disconnect a directory or device.
- Fail attempts to connect or disconnect a pipe by the client.

svn path=/trunk/; revision=49948
2010-12-04 15:25:27 +00:00
Eric Kohl fe0eda52aa [NPFS]
Read and write IRPs must fail if the caller is not a pipe but a directory or a device.

svn path=/trunk/; revision=49945
2010-12-04 08:54:16 +00:00
James Tabor a3bba1d54a [Win32k]
- More fixes to In Send message support. One more case fixed in looping back.

svn path=/trunk/; revision=49936
2010-12-03 18:13:28 +00:00