Commit graph

37723 commits

Author SHA1 Message Date
Cameron Gutman ab3c1cfd2c - Return the DEVICE_OBJECT we got instead of NULL
svn path=/trunk/; revision=42126
2009-07-22 02:06:50 +00:00
Cameron Gutman b63b5ba1fb - Fix compilation of usbdriver with _MULTI_UHCI defined
svn path=/trunk/; revision=42125
2009-07-22 01:47:27 +00:00
ReactOS Portable Systems Group 1f4bf9180e - Get rid of debug spew used during testing.
svn path=/trunk/; revision=42124
2009-07-21 20:04:17 +00:00
Aleksey Bragin 012c86a88f - Add cryptdlg as autosynced.
svn path=/trunk/; revision=42123
2009-07-21 19:00:08 +00:00
Dmitry Chapyshev badf1a329a - Revert my previous changes in QueueUserWorkItem
svn path=/trunk/; revision=42122
2009-07-21 16:38:50 +00:00
Sylvain Petreolle 15293b22aa Fix svn repository address
svn path=/trunk/; revision=42121
2009-07-21 15:51:27 +00:00
Sylvain Petreolle 2bd9e63884 - Update Module List
- Fix arguments check

svn path=/trunk/; revision=42120
2009-07-21 14:58:11 +00:00
Johannes Anderwald 4d14e675c2 - Update Module List
svn path=/trunk/; revision=42119
2009-07-21 13:53:20 +00:00
Sylvain Petreolle 4df2364dc6 fix includes case
svn path=/trunk/; revision=42118
2009-07-21 13:44:45 +00:00
Johannes Anderwald 4725a4fd9c - Rewrite KsDefaultDispatchPnp to make it actually work
- Implement KsDefaultDispatchPower, KsDefaultForwardIrp
- Return the correct device object in KsQueryDevicePnpObject
- Implement KsReadFile, KsSetInformationFile and partly KsQueryInformationFile
- Remove KspClose, KspRead, KspWrite, KspFlushBuffers, KspQuerySecurity, KspSetSecurity and all these IOCTL in KspDispatchIrp
- Rewrite KsDispatchIrp to handle IRP_MJ_CREATE & IRP_MJ_POWER, IRP_MJ_PNP for AV Stream minidrivers and forward IRP_MJ_SYSTEM_CONTROL requests to the registered pnp base object
- Unsupported IOCTLs are now completed with KsDispatchInvalidDeviceRequest (previously leaked)


svn path=/trunk/; revision=42117
2009-07-21 13:32:28 +00:00
ReactOS Portable Systems Group de33ea571e - Do not set the non-x86 file system and disk read buffers to some random static variable that isn't even initialized on time.
- As a temporary hack, hard-code them to 0x80000000, a valid RAM address on OMAP3.
    - This code path is only used on ARM anyway, so it's not such a big deal, but a better fix should be done later.
- OmapLDR can now boot FreeLDR, which attempts to load NTOSKRNL.EXE and dies.
  - Need to revisit significant parts of the MMU code before attempting to go further; this won't likely be done for a good couple of months.

svn path=/trunk/; revision=42116
2009-07-21 09:44:36 +00:00
Dmitry Chapyshev c2018d5633 - Add ws2help from alex-network-branch
svn path=/trunk/; revision=42115
2009-07-21 09:16:26 +00:00
Dmitry Chapyshev fd8fa4a64c - Fix some warnings
svn path=/trunk/; revision=42114
2009-07-21 09:10:28 +00:00
Dmitry Chapyshev c856ffc8ed - .def -> .spec
- Fix .rbuild

svn path=/trunk/; revision=42113
2009-07-21 09:06:25 +00:00
Dmitry Chapyshev 0b019f3ae8 - Add some defines, prototypes. It fixes compilation ws2_32_new
svn path=/trunk/; revision=42112
2009-07-21 09:03:03 +00:00
Dmitry Chapyshev 713ca4ef89 - Fix types of parameters for WPUFDIsSet, WSCInstallProvider
svn path=/trunk/; revision=42111
2009-07-21 08:59:30 +00:00
James Tabor b5f733b8ce - [Win32k] Update class structure and fixed on class wine test.
svn path=/trunk/; revision=42110
2009-07-21 02:56:24 +00:00
Johannes Anderwald 764ee24fea allocators.c
- Implement IKsAllocator interface and use it in new implemented KsCreateAllocator, KsCreateDefaultAllocatorEx, KsValidateAllocatorFramingEx
api.c
- Implement KsSetDevicePnpAndBaseObject, KsQueryDevicePnpObject, KsSetTargetState, KsSetTargetDeviceObject, KsSetPowerDispatch, KsFreeDeviceHeader, KsFreeObjectHeader, KsAllocateObjectCreateItem, KsFreeObjectCreateItem, KsFreeObjectCreateItemsByContext, KsCreateDefaultSecurity
clocks.c
- Implement KsCreateClock, KsCreateDefaultClock,  partly implement KsAllocateDefaultClockEx, KsFreeDefaultClock, KsGetDefaultClockState, KsSetDefaultClockState, KsGetDefaultClockTime, KsSetDefaultClockTime
device.c
- Partly implement IKsDevice interface in order to let AVStream client devices initialize
- Implement KsInitializeDevice
- Implement registering of device interface for AVStream drivers
driver.c
- Implement KsGetDeviceForDeviceObject
- Set device flags for ks
- Store Address for client drivers device extension
filter.c
- Implement IKsFilter & IKsControl interface
- Handle KSPROPERTY requests
filterfactory.c
- Implement IKsFilterFactory interface
- Implement KsCreateFilterFactory, KsFilterFactorySetDeviceClassesState, KsFilterFactoryGetSymbolicLink, KsFilterFactoryAddCreateItem
- Add KsFilterFactoryUpdateCacheData
image.c
- Implement KsLoadResource
irp.c
- Implement KsDispatchQuerySecurity, KsDispatchSetSecurity, KsWriteFile, KsDefaultIoCompletion

svn path=/trunk/; revision=42109
2009-07-20 23:26:57 +00:00
James Tabor 928ed84e9f - [Win32k] Update window structure.
svn path=/trunk/; revision=42108
2009-07-20 23:18:16 +00:00
Dmitry Gorbachev 04dbe9d46f Fix compilation of drmk.sys
svn path=/trunk/; revision=42107
2009-07-20 23:04:01 +00:00
Cameron Gutman 985618d74e - Update TotalLength based on the fragment size
- Make fragment offset into 8-byte units
 - Don't perform a useless checksum calculation
 - Fixes datagram fragmentation (tested using ping with a packet size of 16000)
 - This also seems to fix DHCP over a bridged NIC in vbox

svn path=/trunk/; revision=42104
2009-07-20 19:46:54 +00:00
Dmitry Chapyshev 207b294387 - Add some defines
svn path=/trunk/; revision=42103
2009-07-20 19:45:06 +00:00
Dmitry Chapyshev 9545bd7992 - Implement WSAHtons, WSANtohs
- Add some cases to MsafdReturnWithErrno, SockAsyncSelectCompletionRoutine
Opera loads pages now, but the keyboard does not work.
Patch by Mikhail Denisenko (denisenkom@gmail.com)
See issue #4151 for more details.

svn path=/trunk/; revision=42102
2009-07-20 18:30:30 +00:00
Dmitry Chapyshev b46f7e4773 - Add debug print to MiQueryVirtualMemory
svn path=/trunk/; revision=42101
2009-07-20 18:03:16 +00:00
Johannes Anderwald 3cf7214094 - A few updates from the Ninja-Arch
svn path=/trunk/; revision=42100
2009-07-20 17:14:21 +00:00
James Tabor 95d1d17ba9 - [Win32k] Make co_IntCreateWindowEx return pointer to public window structure.
svn path=/trunk/; revision=42092
2009-07-19 21:18:08 +00:00
Hervé Poussineau 6a16259ee6 Fix bug introduced in r1514, where memory was freed once in DLL_THREAD_DETACH and once more in DLL_PROCESS_DETACH
svn path=/trunk/; revision=42089
2009-07-19 18:37:58 +00:00
Cameron Gutman 54b3d22e33 - Generate a random ID for use during datagram reassembly
svn path=/trunk/; revision=42088
2009-07-19 17:40:36 +00:00
Cameron Gutman b43fbb516b - Properly implement ICMP
- Now Raw IP works correctly because it isn't being hacked to handle ICMP packets

svn path=/trunk/; revision=42087
2009-07-19 14:48:48 +00:00
Hervé Poussineau a86419a500 Add missing SetWindowsHookW prototype
svn path=/trunk/; revision=42086
2009-07-19 14:03:10 +00:00
Cameron Gutman 2fe1aab7fe - Send all waiting packets instead of only the first one to prevent a buildup of queued packets on a non-sendable NCE which becomes sendable later
svn path=/trunk/; revision=42076
2009-07-19 07:06:08 +00:00
Daniel Reimer 9c61a1e9ae Sync Christoph Style. It builds, but only uses the first RC file in the rbuild file. Seems like a bug to me. Needs more investigation.
svn path=/trunk/; revision=42073
2009-07-18 22:17:34 +00:00
Daniel Reimer 3732a01a8a Sync Christoph Style. It builds, but only uses the first RC file in the rbuild file. Seems like a bug to me. Needs more investigation.
svn path=/trunk/; revision=42071
2009-07-18 22:01:42 +00:00
Daniel Reimer 2c069c546e Sync to winfile to Wine 1.1.26
svn path=/trunk/; revision=42069
2009-07-18 19:48:17 +00:00
Daniel Reimer 5e9aac5f3d Sync to winhlp32, xcopy to Wine 1.1.26
wordpad sync does not generate a valid win32 resource
Out of no reason wine changed the way they include theirs rc files.
rsrc.rc is no more and all rcs are added as headers with own includes into the makefile. I have no idea if we plan to do it that way, so I changed this back to the old behavior.

svn path=/trunk/; revision=42068
2009-07-18 19:47:54 +00:00
Dmitry Chapyshev 0183a1cc69 - Partially sync with Wine 1.1.26
svn path=/trunk/; revision=42065
2009-07-18 19:25:33 +00:00
Dmitry Chapyshev 2794a2eba0 - Add SEH protection at memory copying. Fixes crash at "setupapi_winetest devinst"
svn path=/trunk/; revision=42064
2009-07-18 19:22:12 +00:00
Dmitry Chapyshev 100a69c0f3 - Sync SHDefExtractIconW with Wine. Fixes crash at shelllink test
svn path=/trunk/; revision=42058
2009-07-18 18:47:40 +00:00
Cameron Gutman 91f79593a7 - Don't change the lock's OldIrql value until we actually have the lock because we need this value to unlock correctly
- This should fix bug 4704

svn path=/trunk/; revision=42054
2009-07-18 17:57:38 +00:00
Johannes Anderwald ab1fc18975 - Fix wait condition
svn path=/trunk/; revision=42052
2009-07-18 15:20:53 +00:00
Johannes Anderwald 2b9d1b809c [USERINIT]
- Move code for playing logon sound to winlogon where it should belong
[WINLOGON]
- Create a thread for playing the logon sound
- Query the status of sysaudio. If sysaudio isnt running yet, wait a second.
- Wait for max 20 seconds to get sysaudio running
- Finally logon sound should work

svn path=/trunk/; revision=42051
2009-07-18 15:19:57 +00:00
Johannes Anderwald dac78ab19a [WDMAUD.DRV]
- Implement retrieving the preferred frame size
- Set Maximum buffer limit to one second
[PORTCLS]
- Implement a dynamic buffer enlarging. In case a audio stream stops prematurely, increase the audio buffer limit by 1/3
- Implement KSPROPERTY_CONNECTION_ALLOCATORFRAMING for IPortPinWaveCyclic + IPortPinWavePci
- Move IPortWavePciStream object to IPortPinWavePci, as IPrefetchOffset needs a tight integration (TBD)
- Define pin property handler for IPortDMus (some audio devices may now show more than one waveout device)
- Implement IPortEvents_fnAddEventToEventList for IPortWavePci
[WDMAUD_KERNEL]
- Implement IOCTL_GETFRAMESIZE
[SYSAUDIO]
- Fix a bug in the Pin_fnWrite, though code isnt used yet
-?
- Adobe Flash Player & Vlc may now have a better playback because the audio stream is now updated more often (because audio packet now use the preferred frame size which is in most cases 10ms).


svn path=/trunk/; revision=42016
2009-07-17 19:15:52 +00:00
Dmitry Gorbachev 6d59a5cfa7 Change the order in which file systems are recognized, do not mistake FAT32 for Ext2.
svn path=/trunk/; revision=42015
2009-07-17 19:14:08 +00:00
Dmitry Chapyshev 3b39cbc701 - Samplify SwitchToThread and QueueUserWorkItem
- Remove unneeded InternalWorkItemTrampoline function and QUEUE_USER_WORKITEM_CONTEXT structure
- Other small changes

svn path=/trunk/; revision=42012
2009-07-17 18:42:12 +00:00
James Tabor c0db0a0a0b - Cleanup and minor changes.
- The use of CSRSS for creating the desktop window is a cleverly written hack. Real genius! The down side, this is a good example of thread coding, I do hate having to remove it. We could just leave it in there unused to keep it as an example. Let me know.

svn path=/trunk/; revision=42011
2009-07-17 18:41:29 +00:00
Dmitry Chapyshev 1f53c74091 - Remove unneeded check and cycle
svn path=/trunk/; revision=42006
2009-07-17 17:53:37 +00:00
Dmitry Chapyshev 91cae70e59 - Re-implement FreeLibrary (for support LOAD_LIBRARY_AS_DATAFILE)
- HeapAlloc -> RtlAllocateHeap, GetProcessHeap -> RtlGetProcessHeap, HeapFree -> RtlFreeHeap, CloseHandle -> NtClose
- Remove FIXME in LoadModule

svn path=/trunk/; revision=42005
2009-07-17 17:15:17 +00:00
Dmitry Chapyshev 0e63dbb11d - Implement LOAD_LIBRARY_AS_DATAFILE flag for LoadLibraryExW (based on Wine code).
svn path=/trunk/; revision=42004
2009-07-17 15:53:15 +00:00
Dmitry Chapyshev f86de98c40 - Rewrite SearchPathW (based on Wine code). It fixes regression in mysql
svn path=/trunk/; revision=42003
2009-07-17 13:24:07 +00:00
Johannes Anderwald 6324272e80 - Fix build
svn path=/trunk/; revision=41997
2009-07-17 10:19:47 +00:00