Commit graph

50221 commits

Author SHA1 Message Date
Amine Khaldi
0a0e949048 [ADVPACK_WINETEST]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55098
2012-01-23 12:26:48 +00:00
Amine Khaldi
7b65a2d418 [ADVPACK]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55097
2012-01-23 12:26:32 +00:00
Amine Khaldi
d15876f775 [TOOLS/UNICODE]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55096
2012-01-23 12:03:23 +00:00
Amine Khaldi
9fe3f47e12 [DDK]
* Update ndis.h annotations.

svn path=/trunk/; revision=55095
2012-01-23 12:01:07 +00:00
Cameron Gutman
437353f8cd [USB-BRINGUP-TRUNK]
- Compute the frame interval correctly
- Fixes a deadlock on real hardware after enabling interrupts

svn path=/branches/usb-bringup-trunk/; revision=55094
2012-01-23 10:10:51 +00:00
Alex Ionescu
9d0af37bb8 [KERNEL32]: Fix a copy-pasta (and a regression). Thanks vicmarcal/testbot.
svn path=/trunk/; revision=55093
2012-01-23 05:32:11 +00:00
Alex Ionescu
08b2762e84 [KERNEL32]: Changes to proc.c:
- ReadProcessMemory/WriteProcessMemory only write to *lpNumberOfBytesRead/Written if user-mode passed in the parameter, as its an optional argument in Win32, but not in NT. Instead, use a local variable. This means that anyone calling ReadProcessMemory/WriteProcessMemory in ReactOS before with a NULL output argument (totally valid) was getting an error before!
- WriteProcessMemory actually returns STATUS_ACCESS_VIOLATION in a few cases, even if it's defined as a BOOL function. Code on Google shows major applications depending on this, which we weren't doing.
- Rewrite InitCommandLines to be much simpler. No normalization or copying or ANSi/OEM logic is needed.
- GetProcessAffinityMask should use the BaseStaticServerData from CSRSS instead of querying system information each time.
- GetProcessShutdownParameters and SetProcessShutdownParameters should use the LPC status code from CSRSS, not the LPC API status code.
- GetProcessWorkingSetSize now calls GetProcessWorkingSetSizeEx.
- Implement GetProcessWorkingSetSizeEx.
- SetProcessWorkingSetSize now calls SetProcessWorkingSetSizeEx.
- Implement SetProcessWorkingSetSizeEx.
- Acquire the required privilege in SetProcessWorkingSetSize(Ex).
- Fail with correct status code in SetProcessWorkingSetSize(Ex).
- GetExitCodeProcess should check if this is a VDM process and get the exit code that way.
- GetStartupInfoW should not fail if the input is NULL. It should crash.
- GetStartupInfoW was not filling out the lpReserved field, which should contain the ShellInfo buffer.
- GetStartupInfoW was always setting standard handles -- it should not do so if those are console handles.
- GetStartupInfoA was not thread-safe.
- GetStartupInfoA was assuming all Unicode->ANSI conversions will be successful.
- GetStartupInfoA was not filling out lpReserved either.
- ExitProcess was not using SEH and was not using the PEB lock.
- TerminateProcess was not setting ERROR_INVALID_HANDLE last error code.
- FatalAppExitA was not using static TEB buffer, and was always assuming success.
- FatalAppExitW was doing some sort of bizarre hack. It now raises as a hard error as it should.
- FatalExit now displays a debugger input interface on checked builds, just like Windows.
- SetPriorityClass now tries to acquire the real time privilege when needed, and handles failure to do so.
- GetProcessVersion rewritten to be cleaner and simpler.
- Annotate and reformat functions where needed.
- Rename lpfnGlobalRegisterWaitForInputIdle to UserWaitForInputIdleRoutine
- GetProcessPriorityBoost is now BOOL-safe.
- IsWow64Process now sets NT error code using only one API.
- CommandLineStringA/W -> BaseAnsiCommandLine/BaseUnicodeCommandLine.


svn path=/trunk/; revision=55092
2012-01-23 04:57:12 +00:00
Johannes Anderwald
1cdf0e1d0d [USBEHCI]
- Don't complete irps with lock held

svn path=/branches/usb-bringup-trunk/; revision=55091
2012-01-23 04:22:11 +00:00
Johannes Anderwald
b434c46463 [USBEHCI]
- Don't acquire spinlock twice

svn path=/branches/usb-bringup-trunk/; revision=55090
2012-01-23 03:50:11 +00:00
Johannes Anderwald
99926db97d [USBSTOR]
- Fix attempt #2  the offset bug
- fix identation

svn path=/branches/usb-bringup-trunk/; revision=55089
2012-01-23 02:58:52 +00:00
Johannes Anderwald
8baf90438a [USBSTOR]
- Fix bug in usbstor, which did not take the offset into account

svn path=/branches/usb-bringup-trunk/; revision=55088
2012-01-23 02:49:40 +00:00
Cameron Gutman
9758b6cc87 [USB-BRINGUP-TRUNK]
- Don't send removal IRPs to device nodes already pending removal
- USB device removal and reinsertion works now

svn path=/branches/usb-bringup-trunk/; revision=55087
2012-01-23 00:50:25 +00:00
Cameron Gutman
3de4023a19 [USB-BRINGUP-TRUNK]
- Fix a broken check that resulted in freeing the same device object twice
- Enable the IoDetachDevice call in usbstor now that the kernel bug is fixed

svn path=/branches/usb-bringup-trunk/; revision=55086
2012-01-23 00:39:28 +00:00
Johannes Anderwald
7ec08a5b86 [USBOHCI]
- Implement interrupt routing

svn path=/branches/usb-bringup-trunk/; revision=55085
2012-01-23 00:36:00 +00:00
Thomas Faber
abb3023120 [USBHUB_NEW]
- Fix another calling convention issue

svn path=/branches/usb-bringup-trunk/; revision=55084
2012-01-23 00:27:30 +00:00
Johannes Anderwald
6612dad386 [USBHUB_NEW]
- Fix calling convention of completion routine

svn path=/branches/usb-bringup-trunk/; revision=55083
2012-01-22 23:56:03 +00:00
Johannes Anderwald
d5dec59f82 [USBHUB_NEW]
- Fix calling convention of completion routine

svn path=/branches/usb-bringup-trunk/; revision=55082
2012-01-22 23:25:33 +00:00
Giannis Adamopoulos
51a64982dd [kernel32]
- Fix IntReadConsoleOutputCharacter to copy the correct count of characters. Its 3rd parameter is a character count and not buffer size. 
- Should fix infinite loop when kernel32:console test runs

svn path=/trunk/; revision=55081
2012-01-22 22:27:08 +00:00
Cameron Gutman
a1bb133fae [USB-BRINGUP-TRUNK]
- Implement device disconnect indication for usbehci and usbohci
- Implement device removal for FDOs and PDOs in usbstor and usbhub

svn path=/branches/usb-bringup-trunk/; revision=55080
2012-01-22 21:58:06 +00:00
Cameron Gutman
a51ccbc555 [USB-BRINGUP-TRUNK]
- Send removal IRPs to children and removal relations before sending to the device itself

svn path=/branches/usb-bringup-trunk/; revision=55079
2012-01-22 21:50:29 +00:00
Timo Kreuzer
51772abf74 [PSDK}
Add missing BYTE GAMMA_TABLES declaration

svn path=/trunk/; revision=55078
2012-01-22 21:49:13 +00:00
Cameron Gutman
06f0615bab [USB-BRINGUP-TRUNK]
- Load the disk class for USB drives in 1st stage
- They don't show up on the partition page due to some usetup stuff that needs to be changed

svn path=/branches/usb-bringup-trunk/; revision=55076
2012-01-22 16:55:16 +00:00
Johannes Anderwald
b4a6fc90da [USBSTOR]
- Implement legacy IOCTL IOCTL_SCSI_GET_CAPABILITIES,  IOCTL_SCSI_GET_INQUIRY_DATA, IOCTL_SCSI_GET_ADDRESS
- Patch by Cameron Gutman and minor modifications

svn path=/branches/usb-bringup-trunk/; revision=55075
2012-01-22 16:39:53 +00:00
Cameron Gutman
1365766e59 [USB-BRINGUP-TRUNK]
- Remove the legacy usbdrv

svn path=/branches/usb-bringup-trunk/; revision=55074
2012-01-22 16:07:58 +00:00
Johannes Anderwald
b4b01452fe [INF]
- Add keyboard installation inf

svn path=/branches/usb-bringup-trunk/; revision=55073
2012-01-22 15:25:43 +00:00
Amine Khaldi
1cda28b92a [PSDK]
* Missed this one.

svn path=/trunk/; revision=55072
2012-01-22 15:17:55 +00:00
Johannes Anderwald
9d6209dc3a [USBHUB]
- Fix build

svn path=/branches/usb-bringup-trunk/; revision=55071
2012-01-22 14:58:19 +00:00
Johannes Anderwald
f0f22e7bb2 [USBHUB]
- Check if there is device description buffer, as some usb devices don't provide one

svn path=/branches/usb-bringup-trunk/; revision=55070
2012-01-22 14:51:32 +00:00
Amine Khaldi
b8cd14e65a [DDK]
* Update wdm.h, ntifs.h and ntddk.h to reflect the recent XDK changes.

svn path=/trunk/; revision=55069
2012-01-22 14:51:10 +00:00
Amine Khaldi
e313bf569b [PSDK]
* Add __out_data_source annotation.

svn path=/trunk/; revision=55068
2012-01-22 14:47:46 +00:00
Amine Khaldi
7a3aa20827 [XDK]
* Massive annotations commit. Dedicated to Timo.

svn path=/trunk/; revision=55067
2012-01-22 14:43:53 +00:00
Amine Khaldi
d888562716 [MSI]
* Adopt a compatible syntax for the resource file.

svn path=/trunk/; revision=55066
2012-01-22 14:33:44 +00:00
Amine Khaldi
eae2260976 [MSHTML]
* Adopt a compatible syntax for the resource files.

svn path=/trunk/; revision=55065
2012-01-22 14:32:11 +00:00
Amine Khaldi
585b0e0314 [GDI32]
* Fix a typo.

svn path=/trunk/; revision=55064
2012-01-22 14:24:23 +00:00
Amine Khaldi
f317e5c438 [PSDK]
* Add some annotations.

svn path=/trunk/; revision=55063
2012-01-22 14:15:04 +00:00
Pierre Schweitzer
97b331fc37 [MSI]
Partly revert r55050.
It should work without now

svn path=/trunk/; revision=55062
2012-01-22 11:04:20 +00:00
Pierre Schweitzer
256d09b06b [MSI]
Delete useless file.
Spotted by Thomas Faber

svn path=/trunk/; revision=55061
2012-01-22 11:01:32 +00:00
James Tabor
73f8b2c4a9 - Remove 16 bit code.
svn path=/trunk/; revision=55060
2012-01-22 03:05:59 +00:00
James Tabor
1dd928f142 - Add surrogate pair macros.
svn path=/trunk/; revision=55059
2012-01-22 00:44:51 +00:00
Thomas Faber
5e5122e56d [NETSHELL]
- Fix MSVC build

svn path=/trunk/; revision=55058
2012-01-22 00:39:44 +00:00
Cameron Gutman
a9d56f0a13 [CDFS]
- Prevent an infinite loop in CdfsDeviceIoControl if the the verify request is successful but IoCallDriver keeps returning STATUS_VERIFY_REQUIRED

svn path=/trunk/; revision=55057
2012-01-21 22:16:46 +00:00
Cameron Gutman
40a4151403 [USB-BRINGUP-TRUNK]
- Add a class2 hack to recognize and assign drive letters to storage devices added while the system is running

svn path=/branches/usb-bringup-trunk/; revision=55056
2012-01-21 22:08:33 +00:00
Thomas Faber
1481da8a20 [KERNEL32]
- Fix MSVC build

svn path=/trunk/; revision=55055
2012-01-21 21:36:17 +00:00
Johannes Anderwald
304b6964ed [INF]
- Add Microsoft Mice Device Description
- fixes hid device entries where instead of device description the device id is displayed 

svn path=/branches/usb-bringup-trunk/; revision=55054
2012-01-21 18:18:25 +00:00
Pierre Schweitzer
485c250872 [MSI]
Add forgotten dependency on CMake.
Should fix build (finally)

svn path=/trunk/; revision=55053
2012-01-21 18:00:41 +00:00
Pierre Schweitzer
bfd5b961d5 [BOOTDATA]
Register CLSIDs for MSI

svn path=/trunk/; revision=55052
2012-01-21 17:57:39 +00:00
Pierre Schweitzer
64b31ed54c [PSDK]
Sync rpcproxy.h with Wine head

svn path=/trunk/; revision=55051
2012-01-21 17:46:22 +00:00
Pierre Schweitzer
f377c4d885 [IMAGEHLP]
Fix CMake build (will be that way after sync)

[MSI]
Allow warnings for the moment

This should fix CMake build~

svn path=/trunk/; revision=55050
2012-01-21 17:41:53 +00:00
Johannes Anderwald
a1a29073fa [HIDCLASS]
- Remove asserts which are hit during shutdown

svn path=/branches/usb-bringup-trunk/; revision=55049
2012-01-21 17:32:59 +00:00
Pierre Schweitzer
71425e3fc4 [PSDK]
Fix CMake msi.dll build?

svn path=/trunk/; revision=55048
2012-01-21 17:29:25 +00:00