Commit graph

216 commits

Author SHA1 Message Date
Cameron Gutman 8141780521 [BUILD]
- Add rbuild files
- Fix dumb dependencies in cmake files
[DEBUG]
- Kill more debugging

svn path=/branches/usb-bringup-trunk/; revision=55554
2012-02-12 03:48:54 +00:00
Amine Khaldi a070e2aaf2 * Sync up to trunk r55544.
svn path=/branches/usb-bringup-trunk/; revision=55545
2012-02-11 11:27:29 +00:00
Amine Khaldi 6fe69b972d [WDMGUID]
* Add missing GUID_DEVINTERFACE_PARTITION guid.

svn path=/branches/usb-bringup-trunk/; revision=55474
2012-02-06 22:45:18 +00:00
Johannes Anderwald ba68ad2102 [HIDPARSE]
- Check if the report uses a report id
- Fix arrows in USB 2 PS/2 conversion table (Needs more fixing)

svn path=/branches/usb-bringup-trunk/; revision=55440
2012-02-05 20:28:26 +00:00
Johannes Anderwald 704bae2492 [HIDPARSER]
- A key break code indicator is 0x80, not 0x1
[USBCCGP]
- Silence debug print
[KBDHID]
- Implement IOCTL_KEYBOARD_QUERY_INDICATORS, IOCTL_KEYBOARD_SET_INDICATORS
- Partly implement dispatching to kbdclass
- Kbdclass now receives keys from kbdhid. Not yet fully working
- Tested in XP+ ReactOS USB Stack + ReactOS HID stack + USB Composite Device Keyboard 

svn path=/branches/usb-bringup-trunk/; revision=55368
2012-02-01 13:34:20 +00:00
Johannes Anderwald 205e63a314 [HIDPARSE]
- Use report value when report item bitcount > 1
[KBDHID]
- Print raw report
- KBDHID starts to receive normal keys and modifier keys

svn path=/branches/usb-bringup-trunk/; revision=55364
2012-02-01 10:36:19 +00:00
Johannes Anderwald d0cec1a401 [HIDPARSE]
- Implement HidP_GetUsagesEx
- HidP_GetUsagesEx uses HidP_GetUsages with undefined usage page
- Required for hid usb support
- Check if there is a maximum set. In that case verify if a usage maximum has been set and apply it to the currnt usage. Fixes asserts while usb composite device installation (keyboard)

svn path=/branches/usb-bringup-trunk/; revision=55357
2012-01-31 19:00:45 +00:00
Johannes Anderwald 277b8f0871 [HIDPARSER]
- Rewrite hidparser so that it support multiple top level collections
- Add support for flat collection context meaning all context structures are aligned in after each other. The reason this is required is that usermode hid.dll will access the same structure and thus can't use kernel pointers. User mode hid.dll is used to support keyboard with custom keys (for example search key, email key etc)

svn path=/branches/usb-bringup-trunk/; revision=55353
2012-01-31 16:19:33 +00:00
Johannes Anderwald a7eba59665 [HIDPARSE]
- Start support for multi top level hid collections
- Not yet full implemented
- Required for proper usb composite support

svn path=/branches/usb-bringup-trunk/; revision=55332
2012-01-30 19:29:26 +00:00
Johannes Anderwald 82153d9360 [USB-BRINGUP]
- Fix build of hidparse

svn path=/branches/usb-bringup-trunk/; revision=55039
2012-01-21 01:48:30 +00:00
Cameron Gutman bac7373d51 [USB-BRINGUP-TRUNK]
- Revert r55030

svn path=/branches/usb-bringup-trunk/; revision=55035
2012-01-21 00:09:55 +00:00
Cameron Gutman 5c6676a9a6 [USB-BRINGUP-TRUNK]
- Fix hidparser build
- Based on a patch from igorko

svn path=/branches/usb-bringup-trunk/; revision=55030
2012-01-20 23:03:27 +00:00
Cameron Gutman 753f07c723 [USB-BRINGUP-TRUNK]
- Merge 54115-54859

svn path=/branches/usb-bringup-trunk/; revision=55020
2012-01-20 21:19:37 +00:00
Cameron Gutman c2d0d784c7 [USB-BRINGUP-TRUNK]
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup
- In the future, DO NOT under any circumstances branch another branch. This leads to merge problems!

svn path=/branches/usb-bringup-trunk/; revision=55018
2012-01-20 20:58:46 +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
Amine Khaldi 46a8da69da [CMAKE]
* Sync with trunk r51323.

svn path=/branches/cmake-bringup/; revision=51329
2011-04-13 08:39:17 +00:00
Jérôme Gardou 04fa57f360 [CMAKE]
We provide everything (headers, libraries, executables...), so tell it to cmake
[CRT]
The crt library must provide a and w version of the functions and not rely to _UNICODE being set or not

svn path=/branches/cmake-bringup/; revision=51273
2011-04-07 14:11:36 +00:00
Amine Khaldi 3793b7fdf1 [CMAKE]
* Sync to trunk r51266.

svn path=/branches/cmake-bringup/; revision=51268
2011-04-06 16:00:24 +00:00
Jérôme Gardou 1d2b1c4a24 [CMAKE]
- Get rid of buildno_header target, builno.h is generated at configure time.

svn path=/branches/cmake-bringup/; revision=51220
2011-04-01 17:34:49 +00:00
Timo Kreuzer cabc5ed079 [CMAKE/ROSSYM]
Implement some dummy functions for MSVC. ntoskrnl links now.

svn path=/branches/cmake-bringup/; revision=51182
2011-03-28 11:59:37 +00:00
Amine Khaldi 475719f162 [CMAKE]
- Sync with trunk r51165.

svn path=/branches/cmake-bringup/; revision=51166
2011-03-26 23:14:25 +00:00
Amine Khaldi 785bea480a [CMAKE]
- Sync with trunk r51050.

svn path=/branches/cmake-bringup/; revision=51154
2011-03-26 13:00:21 +00:00
Johannes Anderwald 0970afe8cf - Fix kmixer linking
svn path=/branches/cmake-bringup/; revision=50796
2011-02-18 12:09:10 +00:00
Giannis Adamopoulos 53313b61be [oskittcp]
-Fix compilation with msc

svn path=/branches/cmake-bringup/; revision=50706
2011-02-15 15:54:42 +00:00
Sylvain Petreolle 141181cdbc [CMAKE]
Fix msvc ext2 build.
Fix soundblaster includes.

svn path=/branches/cmake-bringup/; revision=50697
2011-02-14 20:56:12 +00:00
Timo Kreuzer e274013c30 [MSVCRT]
_CxxThrowException is stdcall, not cdecl.
Someone please forward this to wine

svn path=/branches/cmake-bringup/; revision=50693
2011-02-14 14:28:07 +00:00
Johannes Anderwald f9fead82ad [MMIXER]
- Allocate memory for the logical pin array
- Use the correct counter variable for logical pin array
- Found by msvc

svn path=/branches/cmake-bringup/; revision=50674
2011-02-12 19:08:22 +00:00
Timo Kreuzer 89fbead325 sync trunk HEAD (r50626)
svn path=/branches/cmake-bringup/; revision=50635
2011-02-09 15:56:57 +00:00
Amine Khaldi d6f1cb454c [CMAKE]
- Apply the proper definition to user32_wsprintf using target properties.

svn path=/branches/cmake-bringup/; revision=50630
2011-02-09 12:09:21 +00:00
Timo Kreuzer 12eb8a290f [CMAKE]
add ftol2_asm.s to crt and ci.c to msvcsup

svn path=/branches/cmake-bringup/; revision=50584
2011-01-31 23:29:03 +00:00
Timo Kreuzer 84a13923a5 [CRT]
Implement call_finally_block, call_filter and call_unwind_func for MSVC

svn path=/branches/cmake-bringup/; revision=50583
2011-01-31 22:10:17 +00:00
Sylvain Petreolle f22ed7dc10 [CMAKE]
Sync trunk up to r50570.

svn path=/branches/cmake-bringup/; revision=50581
2011-01-31 21:47:39 +00:00
Timo Kreuzer ea3b37d0f8 [UUID]
Define _MIDL_USE_GUIDDEF_, this causes __decspec(selectany) to be used on the iids. This way we don't need any linker flags to silence warnings and it also fixes errors when linking later.

svn path=/branches/cmake-bringup/; revision=50573
2011-01-30 22:10:55 +00:00
Timo Kreuzer 1b18ef5578 [UUID]
Fix build with MSVC. We ignore warnings about duplicated symbols. MS uuid also contains them.

svn path=/branches/cmake-bringup/; revision=50572
2011-01-30 20:05:05 +00:00
Amine Khaldi c2e1cbdff3 [ROSSYM]
- Properly handle images without debug symbols.

svn path=/branches/cmake-bringup/; revision=50571
2011-01-30 16:43:08 +00:00
Timo Kreuzer 96abfd1223 [UUID]
The old uuid library was one file containing all the uuids, generated from the psdk headers, which results in all GUIDs being linked, as soon as a single one is used. Also while widl creates DEFINE_GUID() entries in the header files, midl only creates "extern GUID", so this didn't work on MSVC. The new version uses iid files generated from the idl files and some extra C files. This works with both midl and widl, reduces overhead when linking uuids and is much closer to MS uuid lib.

svn path=/branches/cmake-bringup/; revision=50569
2011-01-30 14:09:38 +00:00
Timo Kreuzer 04e691ee90 [UUID]
Remove duplicate iids

svn path=/branches/cmake-bringup/; revision=50561
2011-01-29 17:58:06 +00:00
Timo Kreuzer ca495a84b1 [IP]
Convert checksum.S to new ML compatible syntax. Resulting obj was compared and is identical to trunk (both GAS and ML)

svn path=/branches/cmake-bringup/; revision=50545
2011-01-28 20:35:22 +00:00
Timo Kreuzer 0f56e5955a [CMAKE]
Set linker language for win32ksys to C. Fixes MSVC compilation

svn path=/branches/cmake-bringup/; revision=50540
2011-01-28 19:37:22 +00:00
Timo Kreuzer 2d96eac29f [CRT]
add a single prototype, instead of including math.h

svn path=/branches/cmake-bringup/; revision=50537
2011-01-28 17:44:30 +00:00
Sylvain Petreolle cac01ad6eb [CMAKE]
Fix crt/bootcdregtest regression, due to _USER32_WSPRINTF.
add_definitions does not apply to target, but current directory.

svn path=/branches/cmake-bringup/; revision=50535
2011-01-28 13:41:55 +00:00
Timo Kreuzer d57a12e96a [RTL]
_Interlocked(Compare)ExchangePointer is an intrinsic that doesn't exist on x86, use portable version.

svn path=/branches/cmake-bringup/; revision=50522
2011-01-27 23:03:01 +00:00
Timo Kreuzer 62ff363e37 [UUID]
Add IID_IWineD3DDeviceParent for MSVC

svn path=/branches/cmake-bringup/; revision=50515
2011-01-27 16:18:47 +00:00
Timo Kreuzer fe46ef7daa [CMAKE]
Compile a dummy rossym library on MSVC

svn path=/branches/cmake-bringup/; revision=50514
2011-01-27 16:17:25 +00:00
Timo Kreuzer 676e232576 [CMAKE]
ML64 compatibility fixes for amd64 assembly

svn path=/branches/cmake-bringup/; revision=50512
2011-01-27 13:37:21 +00:00
Timo Kreuzer 8191f95396 [CMAKE]
- Sync with trunk 50501
- fix a couple of merge artifacts (indentation)

svn path=/branches/cmake-bringup/; revision=50505
2011-01-26 23:24:08 +00:00
Sylvain Petreolle e2b7eacdd5 [CMAKE]
Sync trunk up to r50477.

svn path=/branches/cmake-bringup/; revision=50504
2011-01-26 22:19:12 +00:00
Timo Kreuzer 81995bfd2e [CRT]
Fix copy pasta. Spotted by rs on irc.

svn path=/branches/cmake-bringup/; revision=50495
2011-01-25 20:56:14 +00:00
Timo Kreuzer 0fab7e8671 [CRT]
On MSVC mark abs, labs and strcmp as intrinsics (needed when compiling with /O2+) and disable a warning that they are not intrinsics (when compiled with /O1)

svn path=/branches/cmake-bringup/; revision=50494
2011-01-25 20:48:56 +00:00