Commit graph

49673 commits

Author SHA1 Message Date
Johannes Anderwald 21fb64f0bf [USB-BRINGUP]
- Fix creating instance id
- Print debug message
- Sync msmouse with head and add hid installation
- Needs input.inf written
- HID stack starts to initializes and then fails the to enable the device interface (/drivers/hid/hidclass/pdo.c:511), Logs show that IoGetDeviceObjectPointer() fails with STATUS_UNSUCCESSFUL

svn path=/branches/usb-bringup/; revision=54837
2012-01-05 01:24:11 +00:00
Johannes Anderwald 4dc6e068e2 [USB-BRINGUP]
- Create a pesudo random instance id
- Fixes assert when plugin usb devices whose device descriptor don't provide a serial number

svn path=/branches/usb-bringup/; revision=54836
2012-01-05 00:13:50 +00:00
Johannes Anderwald 874bc6a408 [USB-BRINGUP]
- Fix build

svn path=/branches/usb-bringup/; revision=54835
2012-01-04 22:21:03 +00:00
Johannes Anderwald d1e00dac5c [USB-BRINGUP]
- Implement a HID parsing library, which is based on Haiku`s exellent HID Stack
- Implement HidP_FreeCollection, HidP_GetCaps, HidP_GetCollectionDescription, HidP_MaxUsageListLength, HidP_GetSpecificValueCaps, HidP_GetUsages, HidP_GetScaledUsageValue
- hidparse driver is now implemented enough to support a hid mouse
- Tested in VBox 4.1.4 + WinXP + ReactOS usbohci+ mouhid+ hidclass+ hidparse+hidusb

svn path=/branches/usb-bringup/; revision=54834
2012-01-04 21:58:18 +00:00
Aleksey Bragin 430051bd93 [NTOS]
- Cast to actually returned types not just PVOID.

svn path=/trunk/; revision=54833
2012-01-04 12:22:38 +00:00
Aleksey Bragin 340ac9a8d6 [NDK]
- Fix a typo ("add more underscores!") in a struct forward declaration.

svn path=/trunk/; revision=54832
2012-01-04 12:18:23 +00:00
Cameron Gutman ee6a082e17 [NDISUIO]
- Build file fixes

svn path=/branches/wlan-bringup/; revision=54831
2012-01-03 21:13:43 +00:00
Pierre Schweitzer 612b04ffe2 [WININET]
Fix handle leak
Already sent & committed upstream: 85e2b4d7df

svn path=/trunk/; revision=54830
2012-01-03 20:45:28 +00:00
Pierre Schweitzer 1bb43abd3a [DPLAYX]
Fix handle leak
Already sent & committed upstream: 2d14f89fea

svn path=/trunk/; revision=54829
2012-01-03 20:44:42 +00:00
Pierre Schweitzer de15bc1cbb [SHELL32_WINETEST]
Get back previously commented out tests

svn path=/trunk/; revision=54828
2012-01-03 20:41:32 +00:00
Timo Kreuzer da309e313f [USBDRV]
remove hacks to fix build


svn path=/trunk/; revision=54827
2012-01-03 20:23:29 +00:00
Timo Kreuzer dfb2191a95 Fix build
svn path=/trunk/; revision=54826
2012-01-03 20:15:25 +00:00
Timo Kreuzer e198afb1c1 [XDK/DDK]
- Add sspi.h to xdk and and include it in ntifs.h.
Dedicated to Alex

svn path=/trunk/; revision=54825
2012-01-03 19:42:58 +00:00
Timo Kreuzer 1e610c23cc [PSDK]
- Add sal.h and include it in specstrings.h
- Inlude specstrigs.h from crtdfs.h

svn path=/trunk/; revision=54824
2012-01-03 19:41:18 +00:00
Cameron Gutman 31b309b74d [NDISUIO]
- Make reads cancelable
- Fix a bug in IOCTL_CANCEL_READ handling

svn path=/branches/wlan-bringup/; revision=54823
2012-01-03 19:37:03 +00:00
Cameron Gutman 90d838bf1a [NDISUIO]
- Fix missing spin lock release
- Return the correct status for an invalid index

svn path=/branches/wlan-bringup/; revision=54822
2012-01-03 19:22:30 +00:00
Cameron Gutman 7360d0e1fb [NDISUIO]
- Handle IOCTL_NDISUIO_BIND_WAIT and IOCTL_NDISUIO_QUERY_BINDING

svn path=/branches/wlan-bringup/; revision=54821
2012-01-03 19:11:57 +00:00
Pierre Schweitzer f6bc586f58 [RTL]
Complete RtlpDosPathNameToRelativeNtPathName_Ustr() rewrite by properly handling relative names.
This fixes several regressions brought by r54804 (see winetests).
This also fixes file system corruption when using directory functions.
This may also fix general file system corruption, so, please retest bug #6720.

svn path=/trunk/; revision=54820
2012-01-03 19:08:46 +00:00
Cameron Gutman 22b2ba722d [NDISUIO]
- Handle IOCTL_NDISUIO_OPEN_WRITE_DEVICE and IOCTL_NDISUIO_OPEN_DEVICE properly with regard to current open handles
- Check that we have read permissions (opened by IOCTL_NDISUIO_OPEN_DEVICE) before allowing queries or reads

svn path=/branches/wlan-bringup/; revision=54819
2012-01-03 18:12:29 +00:00
Cameron Gutman 9e9a049290 [NDISUIO]
- Implement IOCTL_CANCEL_READ
- Implement IRP_MJ_READ and IRP_MJ_WRITE handling
- Misc fixes

svn path=/branches/wlan-bringup/; revision=54818
2012-01-03 17:54:01 +00:00
Cameron Gutman 81d8d54ecf [NDISUIO]
- Forgot a file

svn path=/branches/wlan-bringup/; revision=54817
2012-01-03 16:13:06 +00:00
Cameron Gutman 93d3b91947 [NDISUIO]
- Fix a race condition during adapter context destruction
- Add missing IRP completion in IRP_MJ_READ and IRP_MJ_WRITE handlers
- Create an adapter context in response to PnP events

svn path=/branches/wlan-bringup/; revision=54816
2012-01-03 16:08:24 +00:00
Sylvain Petreolle 362af7d9dc [ROSTESTS]
Fix oleaut32_winetest cmake build.

svn path=/trunk/; revision=54815
2012-01-03 11:38:21 +00:00
Pierre Schweitzer 73a5efbb25 [SHELL32_WINETEST]
Comment out yet another test.
Let's hope it will take testbot back and allow debugging.

svn path=/trunk/; revision=54814
2012-01-03 06:33:06 +00:00
Jérôme Gardou bc74a80807 [CMAKE]
- add module module type, which is basically a DLL without entry point and use it for typelibs
- get rid of custom targets for generating .tlb files and use source file dependencies instead

svn path=/trunk/; revision=54813
2012-01-03 00:17:18 +00:00
Pierre Schweitzer 2d253f5f35 [SHELL32_WINETEST]
Fix build
*grmbl*

svn path=/trunk/; revision=54812
2012-01-02 23:56:55 +00:00
Pierre Schweitzer fd8923e542 [SHELL32_WINETEST]
Comment out two series of tests untill a proper fix is available. Those lead to memory misuse in shell32.
This has been revealed by r54804.
Should fix both test bots.

svn path=/trunk/; revision=54811
2012-01-02 23:47:32 +00:00
Cameron Gutman 80c1df8be2 [NDISUIO]
- Add the NDISUIO driver to allow communication between user-mode and kernel-mode NIC drivers
- Only the IOCTLs required for WLAN are implemented right now
- Initial source drop without build testing

svn path=/branches/wlan-bringup/; revision=54810
2012-01-02 21:38:57 +00:00
Cameron Gutman 2b82fe44ea [WLAN-BRINGUP]
- Create a branch to drop my ndisuio work

svn path=/branches/wlan-bringup/; revision=54809
2012-01-02 20:53:24 +00:00
Johannes Anderwald 07ae01f96c [USB-BRINGUP]
- Create PDO for each top level collection found
- Use the specified collection index instead of the first
- add collection id to hardware id when the device has more than one top level collection, see http://msdn.microsoft.com/en-us/windows/hardware/gg487473 for details

svn path=/branches/usb-bringup/; revision=54808
2012-01-02 12:00:51 +00:00
Pierre Schweitzer 443af3cd0f [KERNEL32]
Esthetical fixes.

svn path=/trunk/; revision=54807
2012-01-02 10:02:50 +00:00
Johannes Anderwald 842fe995ce [USB-BRINGUP]
- Fake status success for unimplemented IRP_MN_REMOVE_DEVICE
- Fix tons of bugs in the read report completion routine
- Implement function to re-use a complete report irp
- Use correct device object when invoking the mini driver's dispatch routine in the read function
- silence a few traces
- Mouse now works with with ReactOS USB stack + ReactOS HID stack (TBD: implement hidparse.sys)

svn path=/branches/usb-bringup/; revision=54806
2012-01-01 22:48:08 +00:00
Colin Finck 6960759eaa Graphical Happy New Year!
svn path=/trunk/; revision=54805
2012-01-01 21:05:40 +00:00
Pierre Schweitzer 1fbb5c18f9 [KERNEL32]
Reimplement CreateDirectoryA, CreateDirectoryExA, CreateDirectoryW, CreateDirectoryExW, RemoveDirectoryA, RemoveDirectoryW.
This reimplementation now matches the w2k3 one, properly handles reparse points (especially mount points) and also brings several fixes.

svn path=/trunk/; revision=54804
2012-01-01 17:22:35 +00:00
Pierre Schweitzer 206722861c [KERNEL32]
Implement BaseMarkFileForDelete. This will be used later.

svn path=/trunk/; revision=54803
2012-01-01 17:19:31 +00:00
Pierre Schweitzer f6149178f5 [NTDLL]
Export RtlReleaseRelativeName

svn path=/trunk/; revision=54802
2012-01-01 17:18:13 +00:00
Pierre Schweitzer f41bad823b [NDK/RTL]
Fix RtlIsDosDeviceName_U, RtlIsDosDeviceName_Ustr, RtlDosPathNameToRelativeNtPathName_U, RtlDosPathNameToRelativeNtPathName_U_WithStatus prototypes.

svn path=/trunk/; revision=54801
2012-01-01 17:17:07 +00:00
Pierre Schweitzer bcf1cc76b6 [FASTFAT]
Revert r54788: it's not appropriate yet.

svn path=/trunk/; revision=54800
2012-01-01 17:15:25 +00:00
Pierre Schweitzer f65362ce2f [REACTOS]
Temporarily hackfix r50254 (let's say for a year)
Happy New Year everyone!

svn path=/trunk/; revision=54799
2012-01-01 13:30:40 +00:00
Johannes Anderwald f687f32e69 [USB-BRINGUP]
- Move attributes / device description to common struct
- Partly implement IRP_MJ_CREATE, IRP_MJ_CLOSE, IRP_MJ_READ

svn path=/branches/usb-bringup/; revision=54798
2011-12-31 19:09:26 +00:00
Johannes Anderwald eb5e8a089b [USB-BRINGUP]
- Fix bug in HidUsb_AbortPipe, which passed the wrong handle
- Implement reset port routine
- Implement reset worker routine when reading report fails

svn path=/branches/usb-bringup/; revision=54797
2011-12-31 18:22:18 +00:00
Jérôme Gardou 63a8f26892 [CRT]
- define CRTDLL for crt and libcntpr for right usage of _CRTIMP macro

svn path=/trunk/; revision=54796
2011-12-31 17:44:51 +00:00
Jérôme Gardou bc18a6c289 [NEWINFLIB]
- better fix for non standard use of swprintf, by Thomas Faber

svn path=/trunk/; revision=54795
2011-12-31 17:29:42 +00:00
Eric Kohl 50bbe47f26 [EVENTLOG]
Fix the record number hacks in ElfrNumberOfRecords and LogfWriteData by initializing the oldest record number to 1. 

svn path=/trunk/; revision=54794
2011-12-31 15:23:59 +00:00
Jérôme Gardou 000fca5bd8 [NEWINFLIB]
- use _snwprintf instead of swprintf (MSVC is not compliant with standard here)

svn path=/trunk/; revision=54793
2011-12-31 14:33:35 +00:00
Johannes Anderwald d5ab604853 [USB-BRINGUP]
- Partly implement IRP_MN_START_DEVICE for PDO 
- PDO  now completely initializes
- Remaining IOCTL to implement IRP_MJ_CREATE, IRP_MJ_CLOSE, IRP_MJ_FLUSH, IRP_MJ_READ for partial mouse support in hidclass

svn path=/branches/usb-bringup/; revision=54792
2011-12-31 04:13:37 +00:00
Johannes Anderwald a64411cfbf [USB-BRINGUP]
- Implement HidClassFDO_DeviceRelations
- Implement IOCTL_HID_GET_COLLECTION_INFORMATION,  IOCTL_HID_GET_COLLECTION_DESCRIPTOR
- Implement IRP_MN_QUERY_ID, IRP_MN_QUERY_CAPABILITIES, IRP_MN_QUERY_BUS_INFORMATION, IRP_MN_QUERY_PNP_STATE, IRP_MN_QUERY_DEVICE_RELATIONS, 
- HIDClass PDO is now created and starts initialization, needs IRP_MN_START_DEVICE request implementation
- Tested in Vbox 4.1.4 + WinXP + ReactOS hidusb,hidmou,hidclass

svn path=/branches/usb-bringup/; revision=54791
2011-12-31 03:33:14 +00:00
Johannes Anderwald ef72bc2d72 [USB-BRINGUP]
- add missing defines

svn path=/branches/usb-bringup/; revision=54790
2011-12-31 03:21:11 +00:00
Pierre Schweitzer 10ce3354a3 [KERNEL32]
CreateDirectory: handle the case when the FS doesn't support EAs.
This should fix VBox and is mandatory if we want to support MS FSD with FAT32

svn path=/trunk/; revision=54789
2011-12-31 02:01:34 +00:00
Pierre Schweitzer 5de2462b2a [FASTFAT]
Return appropriate status when requesting extended attributes on FAT32

svn path=/trunk/; revision=54788
2011-12-31 00:09:57 +00:00