Commit graph

49633 commits

Author SHA1 Message Date
Amine Khaldi 50c33aa429 [CABINET_WINETEST]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55104
2012-01-23 15:12:57 +00:00
Amine Khaldi 5cf9ee2b66 [CABINET]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55103
2012-01-23 15:12:50 +00:00
Amine Khaldi e4bb3d1eb0 [PSDK]
* Update wincrypt.h from Wine.

svn path=/trunk/; revision=55102
2012-01-23 14:07:25 +00:00
Amine Khaldi 37799a6aef [ADVAPI32]
* Missed this change in my previous commit.

svn path=/trunk/; revision=55101
2012-01-23 13:58:34 +00:00
Amine Khaldi a8739a7969 [PSDK]
* Fix some annotations in winddi.h.

svn path=/trunk/; revision=55100
2012-01-23 13:32:25 +00:00
Amine Khaldi f9f32b715e [BCRYPT]
* Sync to Wine 1.3.37.

svn path=/trunk/; revision=55099
2012-01-23 13:30:23 +00:00
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
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
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
Timo Kreuzer 51772abf74 [PSDK}
Add missing BYTE GAMMA_TABLES declaration

svn path=/trunk/; revision=55078
2012-01-22 21:49:13 +00:00
Amine Khaldi 1cda28b92a [PSDK]
* Missed this one.

svn path=/trunk/; revision=55072
2012-01-22 15:17:55 +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
Thomas Faber 1481da8a20 [KERNEL32]
- Fix MSVC build

svn path=/trunk/; revision=55055
2012-01-21 21:36:17 +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
Pierre Schweitzer 71425e3fc4 [PSDK]
Fix CMake msi.dll build?

svn path=/trunk/; revision=55048
2012-01-21 17:29:25 +00:00
Pierre Schweitzer 14c14451f5 [MSI_WINETEST]
Sync msi_winetest.exe with Wine head

svn path=/trunk/; revision=55047
2012-01-21 17:21:57 +00:00
Pierre Schweitzer 0e8f6c0bf8 [MSI]
Sync msi.dll with Wine head

svn path=/trunk/; revision=55046
2012-01-21 17:19:12 +00:00
Rafal Harabien c52fdad546 [USER32]
- Fix loading of MENUEX resources

svn path=/trunk/; revision=55043
2012-01-21 13:55:09 +00:00
Thomas Faber 74a51ae888 [KMTESTS]
- Fix IRP handling, and some 64 bit warnings

svn path=/trunk/; revision=55031
2012-01-20 23:12:44 +00:00
Rafal Harabien 7e9887db23 - Fix rbuild build
svn path=/trunk/; revision=55026
2012-01-20 22:35:10 +00:00
Rafal Harabien 3f4ee4fefa - Fix build
svn path=/trunk/; revision=55023
2012-01-20 21:59:33 +00:00
Rafal Harabien 52e21a81b1 [NETSHELL]
- Rewrite in C++ to improve readability

svn path=/trunk/; revision=55022
2012-01-20 21:50:54 +00:00
Pierre Schweitzer f65034e760 [RTL]
- Reimplement RtlSetCurrentDirectory_U. This fixes bugs & implements references count
- Fix the FIXME in RtlpDosPathNameToRelativeNtPathName_Ustr by incrementing references count

svn path=/trunk/; revision=55017
2012-01-20 20:21:16 +00:00
Pierre Schweitzer 823685091e [NDK]
Properly define RTLP_CURDIR_REF

svn path=/trunk/; revision=55016
2012-01-20 20:18:31 +00:00
Thomas Faber af2d1c6f98 [HAL] - Do not truncate PCI device names in debug dump; misc fixes
[PCI] - Get rid of some magic numbers

svn path=/trunk/; revision=55015
2012-01-20 19:53:00 +00:00
Timo Kreuzer 2191cf1a2d [HAL]
- Implement IrqlToSoftVector() macro and use it in HalRequestSoftwareInterrupt, so that on amd64 the correct interrupt is triggered.
- Really start at the lowest vector for the IRQL in HalpAllocateSystemInterrupt
- Small code refactoring

svn path=/trunk/; revision=55014
2012-01-20 16:32:43 +00:00
Cameron Gutman 13baf6cb0b [FASTFAT]
- Check the return value of CcPinRead

svn path=/trunk/; revision=55013
2012-01-20 00:32:47 +00:00
Kamil Hornicek 15aa273475 [WINED3DCFG]
Add a simple control panel applet for WineD3D runtime configuration.

svn path=/trunk/; revision=55012
2012-01-19 18:15:49 +00:00
Kamil Hornicek 251c457026 [MSTSC]
- Add full screen support.
- Fix starting from command line.

svn path=/trunk/; revision=55010
2012-01-19 14:10:02 +00:00
Kamil Hornicek 909247fa75 what's wrong with the cmake build bot I don't know. someone please fix it
svn path=/trunk/; revision=55009
2012-01-19 02:50:20 +00:00
Kamil Hornicek f89a2404f3 [MSTSC]
- Add support for user name settings.
- Obtain user name / domain hints from registry.
- Pass user/domain info to the server if available.
- Add Czech translation.

svn path=/trunk/; revision=55008
2012-01-19 02:27:20 +00:00