Commit graph

67247 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 0c5fc9b3b5 [CLIP]: Check read status before number of bytes read. Update main resource file.
[COMP]: Code style fix; remove an unused define.
[EVENTCREATE]: Remove an unused define.

[HELP]
- Remove unneeded headers; minor code formatting.
- Remove an unused define.
- Add placeholder Czech resource translation.

[MODE]: Update translation (part 2/x); show the keyboard rate before the delay.

svn path=/trunk/; revision=73022
2016-10-22 21:42:13 +00:00
Johannes Anderwald a3f82b7d7b [KS]
- enable topology property handlers

svn path=/trunk/; revision=73021
2016-10-22 19:52:51 +00:00
Johannes Anderwald 5dc6c5bb88 [USBAUDIO]
- fix warnings & leaks based on Thomas feedback

svn path=/trunk/; revision=73020
2016-10-22 12:34:03 +00:00
Mark Jansen d0b74180b2 [FRAGINATOR] Silence a ton of warnings.
svn path=/trunk/; revision=73019
2016-10-22 12:13:34 +00:00
Mark Jansen 9efe78ac9f [OLE32] Stub and export CoGetCancelObject. CORE-12199
svn path=/trunk/; revision=73018
2016-10-22 12:03:33 +00:00
Johannes Anderwald 3e7f31ebe1 - implement MMixerGetDeviceNameWithComponentId, which retrieves the device name via component id
- start implement MMixerHandleTopologyFilter, does not yet fully work

svn path=/trunk/; revision=73017
2016-10-21 21:26:12 +00:00
Johannes Anderwald a9a9930090 [USBAUDIO]
- implement retrieving string descriptor of product and store it in registry.

svn path=/trunk/; revision=73016
2016-10-21 21:15:01 +00:00
Hermès Bélusca-Maïto 6357011e41 [ADVAPI32_APITEST]: I wasn't alone for writing these tests!
svn path=/trunk/; revision=73015
2016-10-21 21:08:54 +00:00
Johannes Anderwald 3423877df1 [USBCCGP]
- fix invalid device descriptor for composite usb devices

svn path=/trunk/; revision=73014
2016-10-21 20:52:40 +00:00
Hermès Bélusca-Maïto 6672ea6af0 [MODE]: Adjust german resources.
svn path=/trunk/; revision=73013
2016-10-21 20:48:26 +00:00
Robert Naumann dbf62b106c [MODE] add initial German translation. needs completition!!!
svn path=/trunk/; revision=73012
2016-10-21 20:44:38 +00:00
Peter Hater 08744dfc42 [WS2_32_APITESTS] Add tests for SIO_GET_INTERFACE_LIST. Brought to you by Andreas Maier. Thanks.
Minor modifications by me on comparison and expected flags.
ROSTESTS-246

svn path=/trunk/; revision=73011
2016-10-21 16:47:38 +00:00
Amine Khaldi 3315eae709 [ACPPAGE] Remove unneeded initialization. Should make the x64 bot a tiny bit happier. Spotted by Mark Jansen.
svn path=/trunk/; revision=73010
2016-10-21 09:48:00 +00:00
Amine Khaldi 8a6585ff73 [PSDK] Add missing RpcBindingServerFromClient.
svn path=/trunk/; revision=73009
2016-10-21 09:26:11 +00:00
Amine Khaldi d61d2809de [URLMON] Stub and export HlinkGoForward(). CORE-12196
svn path=/trunk/; revision=73008
2016-10-21 09:03:45 +00:00
Amine Khaldi a4cfe8d2da [RPCRT4_WINETEST] Addendum to r73006.
svn path=/trunk/; revision=73007
2016-10-21 09:02:08 +00:00
Amine Khaldi c0e27b85ab [RPCRT4] Import Wine commit 01290cd by Colin and Christoph: Implement RpcBindingServerFromClient and populate NetworkAddr for each transport.
svn path=/trunk/; revision=73006
2016-10-21 09:01:35 +00:00
Pierre Schweitzer 708359754c [MPR]
Import Wine commit:
- d9c9d9b10f58844a780d8bfc9ed1b6713e37d487, Implement connected resources enumeration.

CORE-11757

svn path=/trunk/; revision=73005
2016-10-21 05:28:29 +00:00
Mark Jansen a29538f1b9 [WINETESTS] Rename generated_i386.c to generated.c, adjust the CMakeLists.txt accordingly.
svn path=/trunk/; revision=73004
2016-10-20 21:44:12 +00:00
Mark Jansen 9fabe9b420 [SDK] Fix our Delayload notify hook for MSVC x64
svn path=/trunk/; revision=73003
2016-10-20 21:08:17 +00:00
Mark Jansen a62945fc94 [APPHELP_APITEST] This should not be here.
svn path=/trunk/; revision=73002
2016-10-20 21:03:38 +00:00
Hermès Bélusca-Maïto 252f96e3b1 [KS]: Fix annotations, etc.
svn path=/trunk/; revision=73001
2016-10-20 20:44:02 +00:00
Johannes Anderwald b8e67c826c [PSDK]
- add missing definition

svn path=/trunk/; revision=73000
2016-10-20 20:29:30 +00:00
Johannes Anderwald 3b8ab07631 [KS]
- implement support for KSPROPSETID_General

svn path=/trunk/; revision=72999
2016-10-20 20:02:43 +00:00
Hermès Bélusca-Maïto 38933ca790 [CMD]: Documentation improvement: we actually support two types of filename completions, windows-cmd like (the default one), and "bash-style" one (that is available through a compile switch). I prefer calling it "bash-style" over "unix-style" because this style of completion looks like the one from the GNU ReadLine library, that is used by Bash, which is not exclusive to unix per se...
svn path=/trunk/; revision=72998
2016-10-20 16:51:07 +00:00
Hermès Bélusca-Maïto 99ef1a3353 [KERNEL32]: Mark Get/SetEnvironmentVariableA/W as hotpatchable since it's needed for Clink 0.4.8 (<rant>btw, if GCC was able to set exported stdcall functions as hotpatchable at a global level, as MSVC does, those "DECLSPEC_HOTPATCH" hacks would not be necessary! </rant>)
svn path=/trunk/; revision=72997
2016-10-19 22:26:04 +00:00
Hermès Bélusca-Maïto 7f59e9a13c [MODE]
- Localization of output based on a patch by Lee Schroeder, but where I haven't modified yet the output localization of errors.
- Dynamically underline the headers of the device status reports (by me).
CORE-12178

svn path=/trunk/; revision=72996
2016-10-19 17:04:29 +00:00
Hermès Bélusca-Maïto d259d035bc [MODE]
- Rearrange ResizeTextConsole so that it correctly computes the Top & Bottom parts of the window size rectangle;
- Fix its return type;
- Display an error if we failed resizing the console;
- Clear the screen before resizing the console, as the real MODE.COM does.
- Fix a parsing error in SetConsoleStateOld and in SetConsoleCPState.

svn path=/trunk/; revision=72995
2016-10-19 15:04:42 +00:00
Hermès Bélusca-Maïto 4c38c9a07e [MODE]: Code style changes + remove unused parameter for ResizeTextConsole.
svn path=/trunk/; revision=72994
2016-10-19 15:00:32 +00:00
Hermès Bélusca-Maïto 2e6eddbc97 [CONSRV]
- Call TermGetLargestConsoleWindowSize to obtain the largest console window size allowed on the system, and use it for GetConsoleScreenBufferInfo and for SetConsoleWindowInfo too, where it is used to check if the given user window size is not too large.
- Improve GuiGetLargestConsoleWindowSize for multi-monitor situations.
- Remove the redundant definition of GetScreenBufferSizeUnits in guiterm.c (it already exists in conwnd.c).

svn path=/trunk/; revision=72993
2016-10-18 23:51:59 +00:00
Hermès Bélusca-Maïto be43197190 [CONSRV]: Code style changes only.
svn path=/trunk/; revision=72992
2016-10-18 23:45:19 +00:00
Pierre Schweitzer a8e3f3a292 [PSDK]
Replace error codes that don't even exist in MS headers (but they are referenced on MSDN?!)
Replace their usage in code

svn path=/trunk/; revision=72991
2016-10-18 20:32:50 +00:00
Jérôme Gardou 3a5149de3e [NTOS/MM]
- Let the zero page thread decide itself whether it is active or not.
 - Raise the low memory limit for our good old balancer
 - Allow the balancer thread to wait for a page to be freed, with a lower limit than for "regular" page faults
 - Let ARM3 notify RosMm when a page gets freed
CORE-12047 #comment Whole patch got in in r72988, 72989 and 72990

svn path=/trunk/; revision=72990
2016-10-18 20:19:00 +00:00
Jérôme Gardou 63bbaff803 [NTOS/MM]
Miscellaneous fixes for legacy Mm section implementation
 - Always allocate a private page for IMAGE_SCN_CNT_UNINITIALIZED_DATA
 - Make sure a shared page is present before writing on a COW mapping and making a private copy.
 - Fix a race condition : when paging out a file section, old Mm lists all of the process maps, removing them one after the other and lowering the page reference count in the process. Sometimes a page fault occur in the process, the mapping is added, but the page refcount is not bumped because it requires locking the corresponding segment. Manage page refcount under segment lock.
CORE-12047

svn path=/trunk/; revision=72989
2016-10-18 20:01:18 +00:00
Jérôme Gardou d46dd383f6 [NTOS/MM]
- Do not allocate zeroed pagefile entries for legacy Mm
CORE-12047

svn path=/trunk/; revision=72988
2016-10-18 19:55:22 +00:00
Jérôme Gardou 72c8ed3670 [FASTFAT]
- Acquire Paging IO Resource shared when performing paged writes 
Greenlighted by Pierre and tests.
CORE-12184 #resolve 

svn path=/trunk/; revision=72987
2016-10-18 19:28:16 +00:00
Pierre Schweitzer 6fa7ff1eba [PSDK]
Make DECLARE_CONST_UNICODE_STRING() work with something else than MSVC

svn path=/trunk/; revision=72986
2016-10-18 18:28:45 +00:00
Hermès Bélusca-Maïto 0508cc702d [KERNEL32_APITEST]: SetConsoleWindowInfo test:
- Improve the checks done for the tests;
- Add a new test (Test7) that tests the allowed console window sizes wrt. the csbi.dwMaximumWindowSize size.

svn path=/trunk/; revision=72985
2016-10-18 17:44:23 +00:00
Hermès Bélusca-Maïto 76c73fc423 [CONSRV]: Fixes for SetConsoleWindowInfo, where one notices that again the MSDN documentation on SetConsoleWindowInfo is partially wrong.
This makes all the kernel32_apitest:SetConsoleWindowInfo tests pass now.
Also, notify the console window about the size change.

svn path=/trunk/; revision=72984
2016-10-18 17:16:57 +00:00
Hermès Bélusca-Maïto 0d6632cdfb [CONSRV]: Minor fixes:
- Use GetSystemWindowsDirectoryW instead of GetWindowsDirectoryW inside "TranslateConsoleName";
- Don't add scrollbars by default to the console window when it's being created;
- Fix the 2nd parameter of MapVirtualKeyW call;
- Two code style changes in text.c and tuiterm.c.

svn path=/trunk/; revision=72983
2016-10-18 17:12:57 +00:00
Hermès Bélusca-Maïto 916943b1c4 [KERNEL32_APITEST]: Imprrove the SetConsoleWindowInfo test (add a new test case, and now correctly restores the console size after all the tests are done).
svn path=/trunk/; revision=72982
2016-10-18 16:08:34 +00:00
Hermès Bélusca-Maïto ae221a8274 [KERNEL32_APITEST]: Commit a test for SetConsoleWindowInfo.
svn path=/trunk/; revision=72981
2016-10-18 15:35:06 +00:00
Hermès Bélusca-Maïto 533d9d5f59 [MODE]: Numerous fixes for the MODE utility:
- Parse the command line the same peculiar way as Windows' mode.com tool. This is certainly done such as to be backwards-compatible with MS-DOS' tool.
- Fix serial port string parsing, based on Wine's dll/win32/kernel32/wine/comm.c code. Note that the BuildCommDCB kernel32 API has the same syntax :)
- Implement support for MODE CON codepage, as well as screen size and typematic settings. Screen size code is based on NTVDM's one and will be subject to fixes later on.

MISSING stuff:
- LPT/COM port redirection.
- Localization :)

CORE-12176 #resolve
CORE-7998 CORE-8001

svn path=/trunk/; revision=72980
2016-10-17 22:19:22 +00:00
Johannes Anderwald cad3120307 [WDMAUD]
- fix a bug in WdmAudControlDeviceType
- clear handle value when opening device interface key fails

svn path=/trunk/; revision=72979
2016-10-17 19:03:01 +00:00
Peter Hater 39544b234b [MSAFD] Add some parameter checks on send/recv based on wine tests. CORE-12104
svn path=/trunk/; revision=72978
2016-10-17 15:24:43 +00:00
Mark Jansen ee50a9c889 [ATL][ATL_APITEST] Implementation / fixes for varions CRegKey functions, by Katayama Hirofumi MZ. CORE-11746 #resolve
svn path=/trunk/; revision=72977
2016-10-17 12:50:54 +00:00
Thomas Faber 14a0d23f4c [KMTESTS:OB]
- Add a test for the NT directory structure's ACLs
CORE-9184

svn path=/trunk/; revision=72976
2016-10-17 09:28:15 +00:00
Thomas Faber 85fa521728 [NTOS:CM]
- Ignore the KEY_WOW64_32KEY and KEY_WOW64_64KEY flags in NtOpenKey/NtCreateKey, as shown by tests.
CORE-9691 #resolve

svn path=/trunk/; revision=72975
2016-10-15 20:16:47 +00:00
Thomas Faber 0d36dcef60 [NTDLL_APITEST]
- Show that NtOpenKey and NtCreateKey accept, but ignore, KEY_WOW64_32KEY and KEY_WOW64_64KEY
CORE-9691

svn path=/trunk/; revision=72974
2016-10-15 18:33:21 +00:00
Johannes Anderwald 9bd7a7db6d [USBAUDIO]
- implement building topology connections

svn path=/trunk/; revision=72973
2016-10-15 17:56:44 +00:00