Commit graph

49651 commits

Author SHA1 Message Date
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
Johannes Anderwald
c671800d55 [USB-BRINGUP]
- Rename device extension
- Implement FDO Initialization (IRP_MN_START_DEVICE)

svn path=/branches/usb-bringup/; revision=54787
2011-12-30 14:34:07 +00:00
Pierre Schweitzer
aa518eae68 [EVENTVWR]
Fix handle leak

svn path=/trunk/; revision=54786
2011-12-30 13:31:44 +00:00
James Tabor
3168ab0a08 - Fix absolutes.
svn path=/trunk/; revision=54785
2011-12-30 02:52:43 +00:00
James Tabor
7ca70e7924 - Add ICM DC Attribute flags.
svn path=/trunk/; revision=54784
2011-12-30 01:28:02 +00:00
Cameron Gutman
3424617209 [NTOSKRNL]
- Fix the fix

svn path=/trunk/; revision=54783
2011-12-30 00:10:39 +00:00
Cameron Gutman
f7cb8a56e4 [NTOSKRNL]
- Remove an unneeded (and prone to race) RtlZeroMemory (found by Thomas Faber)
- Fix misuse of PAGE_MASK macro and broken PTE flag comparisons

svn path=/trunk/; revision=54782
2011-12-29 23:48:49 +00:00
Johannes Anderwald
ceb3f5ee43 [USB-BRINGUP]
- Implement AddDevice routine for hidusb
- Fix bug in Hid_DispatchUrb, which returned not initialized status code
- Implement IOCTL_HID_GET_REPORT_DESCRIPTOR, IOCTL_HID_READ_REPORT
- Add support routines for reseting / aborting pipe, not yet used
- TBD: implement error handling
- hidusb now works in combination with a usb mouse (other hid devices such as keyboards will require more ioctl implemented)
- Tested in Vbox 4.1.4 + WinXP + ReactOS usbhid.sys + ReactOS usbmou.sys
- Testing procedure -> inject usb mouse after startup (needs mouse integration disabled -> thanks to timo for pointing this out)

svn path=/branches/usb-bringup/; revision=54781
2011-12-29 19:03:40 +00:00
Pierre Schweitzer
b604379064 [SYSDM]
Fix the fix of the fix

svn path=/trunk/; revision=54780
2011-12-29 13:25:08 +00:00
Pierre Schweitzer
5e4f3477f3 [SYSDM]
Fix the fix...

svn path=/trunk/; revision=54779
2011-12-29 13:21:45 +00:00
Pierre Schweitzer
324daff6b4 [SYSDM]
Fix memory leak

svn path=/trunk/; revision=54778
2011-12-29 13:20:18 +00:00
Johannes Anderwald
7e231e2c92 [USBOHCI]
- Silence a few traces
- Add a hack for handling  URB_FUNCTION_CLASS_INTERFACE. The hid bus driver performs this request with zero buffer length, which is not valid. Needs more investigation

svn path=/branches/usb-bringup/; revision=54777
2011-12-29 10:13:36 +00:00
Johannes Anderwald
4e6638bcc3 [USB-BRINGUP]
- Usage page of zero is not used, increment, the MouHid_ButtonUpFlags / MouHid_ButtonDownFlags array
- Mouse clicks now work
- Implement flushing of the hid report queue
- Driver now works in VBox 4.1.4 + WinXP 
- Secondary mouse pointer does not move in VBox (either a Vbox bug / WinXP), tested with ms driver and the same results were reveiled

svn path=/branches/usb-bringup/; revision=54776
2011-12-29 10:07:00 +00:00
Johannes Anderwald
6717a4ecfe [USB-BRINGUP]
- Fix up / down button detection
- Fix move detection. Mouse changes are now detected
- Mouse does not yet work in Vbox, as mouclass driver is for unknown reasons not connecting to the mouhid, needs to be investigated
- Tested in VBox 4.1.4 + ReactOS mouhid.sys

svn path=/branches/usb-bringup/; revision=54775
2011-12-28 17:18:56 +00:00
Johannes Anderwald
b27438e17d [USB-BRINGUP]
- Fix a few bugs & race condition in the read report routine
- mouhid initializes and is able to read input reports
- button press / wheel state change is detected
- mouse move detection not yet working

svn path=/branches/usb-bringup/; revision=54774
2011-12-28 16:35:41 +00:00
Rafal Harabien
2ec1edae97 [WIN32K]
- Fix IntGdiSetBkColor setting wrong dirty flags. Fixes wrong background under text in Open With applications list.

svn path=/trunk/; revision=54773
2011-12-28 13:05:24 +00:00
Johannes Anderwald
012eac6d8f [USB-BRINGUP]
- Implement mouse move detection, wheel state detection

svn path=/branches/usb-bringup/; revision=54772
2011-12-28 11:36:05 +00:00
Cameron Gutman
4cf336fa2a [NTOSKRNL]
- Tweak the balancer to prevent an excessive buildup of user pages while cache is paged out completely each run
- Bugcheck if we've trimmed everything as much as possibly but we are still in need of pages

svn path=/trunk/; revision=54771
2011-12-28 01:18:35 +00:00
Rafal Harabien
f8e647e8a2 [SHELL32]
- Use file description in version block instead of filename for application name in Open With menu

svn path=/trunk/; revision=54770
2011-12-27 21:58:55 +00:00
Rafal Harabien
c969ec94e4 [SHELL32]
- Fix memory leak in Open With menu
- Show icons in Open With menu
- General code improvements

svn path=/trunk/; revision=54769
2011-12-27 15:25:32 +00:00
Johannes Anderwald
d4bb27774a [USB-BRINGUP]
- Partly implement mouse read completion
- Implement read initiation
- Implement MouHid_Create, MouHid_Close

svn path=/branches/usb-bringup/; revision=54768
2011-12-27 02:35:03 +00:00
Johannes Anderwald
05c20641db - Link to hal
- Implement mouse button change detection
- Implement support routine for dispatching mouse input data
- Allocate mdl for input report, not yet used

svn path=/branches/usb-bringup/; revision=54767
2011-12-27 00:46:10 +00:00
Cameron Gutman
74c9f0c170 [NTOSKRNL]
- Don't flush the TLB in MmEnableVirtualMapping and MmCreateVirtualMapping because the PTE is already invalid so it can't possibly be in the TLB per x86 spec
- Added explanations of why flushes are needed or not needed in certain places
- A few small code improvements
- Should speed up ROS a bit by avoiding unnecessary TLB entry flushing

svn path=/trunk/; revision=54766
2011-12-26 23:12:38 +00:00