Commit graph

66305 commits

Author SHA1 Message Date
Amine Khaldi d71de35a77 [D3DRM_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72259
2016-08-18 09:37:07 +00:00
Amine Khaldi e896b09c90 [D3DRM] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72258
2016-08-18 09:36:20 +00:00
Amine Khaldi 8ad1b07ac3 [PSDK] Update d3drmobj.h. CORE-11866
svn path=/trunk/; revision=72257
2016-08-18 09:34:23 +00:00
Amine Khaldi 470fde8354 [SECUR32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72256
2016-08-18 09:33:29 +00:00
Amine Khaldi c7940bf549 [WS2_32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72255
2016-08-18 09:29:06 +00:00
Amine Khaldi fb9b36051a [USER32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72254
2016-08-18 09:26:41 +00:00
Amine Khaldi 088421e1ef [KERNEL32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72253
2016-08-18 09:22:13 +00:00
Amine Khaldi 66b0514a00 [GDI32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72252
2016-08-18 09:19:56 +00:00
Amine Khaldi 214259b900 [CMD_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72251
2016-08-18 09:18:03 +00:00
Amine Khaldi bdcb293e98 [AMSTREAM_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72250
2016-08-18 09:15:31 +00:00
Amine Khaldi 6a451198b1 [AMSTREAM] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72249
2016-08-18 09:14:24 +00:00
Mark Jansen f2efdd0952 [DBGPRINT] --wintest mode: Improve readability of output.
svn path=/trunk/; revision=72248
2016-08-17 21:02:49 +00:00
Amine Khaldi 80afa82c59 [WIN32NT_APITEST] Add some NtUserCreateWindowEx tests by Sylvain Deverre. ROSTESTS-237
svn path=/trunk/; revision=72242
2016-08-17 17:53:11 +00:00
Amine Khaldi be65077e3f [KERNEL32] Sync sortkey.c with Wine Staging 1.9.16. CORE-10771 CORE-11866
svn path=/trunk/; revision=72241
2016-08-17 15:35:42 +00:00
Amine Khaldi b01239eb28 [GLU32] Remove the special case for Clang. CORE-11799
svn path=/trunk/; revision=72240
2016-08-17 15:33:15 +00:00
Amine Khaldi 1a954c4f3e [OPENGL32] We don't need mingwex anymore. CORE-11799
svn path=/trunk/; revision=72239
2016-08-17 15:29:25 +00:00
Amine Khaldi 02be91f3aa [INCLUDE/REACTOS] Add some missing VOIDs. CORE-11799
svn path=/trunk/; revision=72238
2016-08-17 15:21:48 +00:00
Hermès Bélusca-Maïto a2b693dfc4 [EVENTLOG]
- Get rid of MyHeap.
- Continue using safe string functions.
- Allow event logs themselves to be their own source. And store the full list of log sources in the "Sources" registry multi-string value.
- Correctly compute the number of records.
- Correctly return the event number and the write timestamp of reported events.
- Use a helper function for ElfrReportEventW/A and for ElfrReportEventAndSourceW that is now implemented.
- Rewrite the file.c functions using NT-APIs almost exclusively for file operations.
- Modify the logic of LogfReadEvents so that a RecordNumber == 0 in sequential read mode means we need to determine where to start the read operation, depending on whether a forwards-read or a backwards-read is performed. The log handle's CurrentRecord member is therefore initialized to 0 before usage.
- Adjust LogfAllocAndBuildNewRecord to take in input the event generation timestamp.
- Do not "compute" the RecordNumber of the new event in LogfAllocAndBuildNewRecord; it will be consistently assigned by LogfWriteRecord.
- Correctly initialize the OldestRecordNumber to zero for new (empty) logs.
- Perform extensive log validity checks when opening existing logs: log header and EOF record as well as boundary checks.
- Rewrite almost of the functions to support event log wrapping (see https://msdn.microsoft.com/en-us/library/windows/desktop/bb309026(v=vs.85).aspx ) and splitted records. Now our event logs are not corrupted anymore, and are readable under Windows 2k/xp/2k3/Vista+.
- As a consequence of supporting wrapping event logs we need to iterate through them at loading time in order to locate the valid EOF record (indeed it may happen that the log header is not correctly synced, and its Start/EndOffsets are invalid. The EOF record offsets contain on the other way the correct values).

The file.c fixes are a bit still work-in-progress, but the bulk of the code works. It is extensively tested in situ in my local VM since 2 months now.

CORE-11843 #resolve

svn path=/trunk/; revision=72236
2016-08-16 21:08:15 +00:00
Dmitry Chapyshev d5ac073cbc [INPUT]
- Show localized keyboard layout name

svn path=/trunk/; revision=72235
2016-08-16 18:33:50 +00:00
Sylvain Petreolle 445ae177c1 Get rosautotest from the web.
@aminekhaldi thanks for the idea.
ONLINE-567

svn path=/trunk/; revision=72234
2016-08-15 23:32:42 +00:00
Giannis Adamopoulos bed40f1d7e [EXPLORER]
- Implement resizing the taskbar in steps based on the way the rebar resizes. It works in windows (a bit buggy) and it would work in ros if our rebar could resize on demand.
- Let CStartButton handle the creation of the start button.

svn path=/trunk/; revision=72233
2016-08-15 20:53:12 +00:00
Christoph von Wittich d1686ea263 [ADVAPI32] add DECLSPEC_HOTPATCH to CreateProcessAsUser
svn path=/trunk/; revision=72231
2016-08-15 17:25:04 +00:00
Christoph von Wittich 3f62a5f7f8 [GDI32] sync GetICMProfileA to wine
svn path=/trunk/; revision=72230
2016-08-15 17:04:05 +00:00
Daniel Reimer 69a268849d Bye SHA1 @utorrent and bittorrent. Still no nice direct links for the broken ones found.
svn path=/trunk/; revision=72229
2016-08-15 15:02:07 +00:00
Amine Khaldi 450c7177af [CMAKE] Update baseaddress.cmake for the GCC build.
svn path=/trunk/; revision=72228
2016-08-15 11:56:47 +00:00
James Tabor fddaeea688 [Win32SS]
- Fix regression from 62529, striped all the MF_POPUP from the code, no way to know if the submenu is a drop menu. See CORE-9269.

svn path=/trunk/; revision=72227
2016-08-15 01:14:47 +00:00
Eric Kohl 12ea67644c [LSASRV]
Implement LsarEnumerateAccountsWithUserRight.

svn path=/trunk/; revision=72226
2016-08-14 20:37:35 +00:00
Hermès Bélusca-Maïto 13478a6cb0 [ROSTESTS]: Add an interactive test that tests some parts of the event log service.
CORE-11843 CORE-11838

svn path=/trunk/; revision=72225
2016-08-14 19:15:54 +00:00
Hermès Bélusca-Maïto e7ce655076 [ROSTESTS]: Update the code file header.
svn path=/trunk/; revision=72224
2016-08-14 19:12:30 +00:00
Hermès Bélusca-Maïto 2081c44ca0 [SDK:MC]: Ensure the EOL style of MC files is *always* CR-LF in *all* platforms.
svn path=/trunk/; revision=72223
2016-08-14 19:10:41 +00:00
Eric Kohl deec91b6c2 [LSASRV]
Add missing TRACE messages.

svn path=/trunk/; revision=72222
2016-08-14 16:16:40 +00:00
Giannis Adamopoulos 21f8a27469 [SHELL32]
- Fix a bug in CStartMenu_Constructor and add some comments to explain what this part does.

svn path=/trunk/; revision=72221
2016-08-14 16:15:02 +00:00
Eric Kohl 09e88a8e27 [LSASRV]
LsarQuerySecurityObject: Build a new SD that conatains requested information only and return it to the caller.

svn path=/trunk/; revision=72220
2016-08-14 15:42:40 +00:00
Eric Kohl e60fde9ccb [LSASRV]
Implement LsaIFree_LSAPR_CR_CIPHER_VALUE, LsaIFree_LSAPR_PRIVILEGE_ENUM_BUFFER and LsaIFree_LSAPR_REFERENCED_DOMAIN_LIST.

svn path=/trunk/; revision=72218
2016-08-14 10:26:23 +00:00
Eric Kohl 9426bb9c91 [SYSSETUP]
InstallPrivileges: 
- Use LsaAddAccountRights instead of LsaAddPrivilegesToAccount. This enables us to add privileges and user rights to a given account.
- Identify SIDs by a leading asterisk. Account names do not start with an asterisk.
defltws.inf:
- Add user rights.
- Add an asterisk before all SIDs.

svn path=/trunk/; revision=72217
2016-08-13 19:25:31 +00:00
Eric Kohl 7265f00e4e [LSASRV]
Implement LsaIFree_LSAPR_ACCOUNT_ENUM_BUFFER and fix a typo.

svn path=/trunk/; revision=72216
2016-08-13 17:15:04 +00:00
Eric Kohl 3890a9cf57 [LSASRV]
- LsapRegQueryKeyInfo: Return the maximum sub key name length too.
- LsarEnumerateAccounts: User the maximum sub key name length to allocate a large enough buffer instead of using a fixed size one.
- LsarAddAccountRights: Use the proper value size to retrieve the system access attribute.

svn path=/trunk/; revision=72215
2016-08-13 16:26:23 +00:00
Mark Jansen caa5c5b12d [CRT][CRT_APITEST] Fix __getmainargs and __wgetmainargs parsing, verified with apitests. Patch by Yaroslav Veremenko. CORE-11673 #resolve #comment Thanks!
svn path=/trunk/; revision=72214
2016-08-12 21:31:32 +00:00
Hermès Bélusca-Maïto f7cb5ca5c0 [EVENTLOG]
- Use NT functions to retrieve timestamps for events.
- Log kernel events with the current computer name.
- Don't hardcode variables types for sizeofs.
- Add type-checks for the data to be retrieved from the registry, and use default values in case the values do not exist or are invalid.
- Use ULONG_PTR to perform pointer arithmetics.
- Use string-safe functions for copy/concatenation.
- Cache EventLog source for eventlog service self-logging.
- Unlock the LogFile in LogfClearFile.
- Fix rounding in LogfAllocAndBuildNewRecord.
- Verify ELF handle validity in ElfrGetLogInformation.
- Implement IELF_HANDLE_rundown to correctly cleanup ELF handles when client apps shut down. Adapt also the parameter of ElfDeleteEventLogHandle for reusing it there.
- Update some code formatting.
CORE-11842 #resolve

I don't completely touch file.c as it contains most of my upcoming eventlog fixes...

svn path=/trunk/; revision=72213
2016-08-12 19:14:55 +00:00
Hermès Bélusca-Maïto 275590c74e [EVENTLOG]: Fix also ElfrChangeNotify here. Addendum to r72211. Must fix the build.
CORE-11839

svn path=/trunk/; revision=72212
2016-08-12 17:25:36 +00:00
Hermès Bélusca-Maïto 6fe74528cb [SDK:IDL]: Fix the event log RPC IDL file definitions:
- ElfrChangeNotify takes a IELF_HANDLE handle as its first parameter, not a pointer to it.
- Since we already use NT-like types (especially for USHORT variables), do the same for the other parameters (DWORD -> ULONG), and also use the Pxxx for pointers to xxx.
- Use Windows 2003 maximum size (0x3FFFF) for the event data to be written, instead of the Vista+ limit that is much smaller (0xF000). See also revisions r72207 and r72209.
CORE-11839 #resolve

svn path=/trunk/; revision=72211
2016-08-12 17:22:15 +00:00
Hermès Bélusca-Maïto 8402a33700 [SDK]: Move some event log flags to the correct header (from winbase.h to winnt.h).
CORE-11839

svn path=/trunk/; revision=72210
2016-08-12 14:24:55 +00:00
Hermès Bélusca-Maïto 0bdab15b0f [ADVAPI32_APITEST]: Addendum to r72207:
- Fix the tests so that they test what they have to test, on ReactOS & Windows 2k3/XP. (Note that here, ReactOS used the more restrained event size limitations of Vista+ compared to those of Win2k3. I choose to test, and will implement, the size limitations of Win2k3.)
- Choose a different name for the test such that it doesn't collide with the 'eventlog' test from advapi32_winetest.
CORE-11838 CORE-11839

svn path=/trunk/; revision=72209
2016-08-12 13:38:49 +00:00
Giannis Adamopoulos 43728d3f66 [SHELL32]
- Get rid of the functions that handle guid pidls and move their implementation in CRegFolder.cpp.

svn path=/trunk/; revision=72208
2016-08-12 12:21:13 +00:00
Hermès Bélusca-Maïto b3195b9538 [ADVAPI32_APITEST]: Add some supplemental tests for Winetests' Event Logging functions, testing different RPC limits related to the maximum size of the data buffer in events.
CORE-11838 CORE-11839

svn path=/trunk/; revision=72207
2016-08-12 12:15:24 +00:00
Giannis Adamopoulos 87bf08acdb [SHELL32]
- Move CFSDropTarget to its own file.

svn path=/trunk/; revision=72206
2016-08-12 11:35:24 +00:00
Daniel Reimer 65ed10be3f [RAPPS}
Fix structural errors, fix some dead links, fix wrong lang inclusions, fix trailing spaces etcetc
Some entries are dead, like nirlauncher, watercolor, tahoma and audacity. Feel free to fix em. (@holiday till monday now, cya)

svn path=/trunk/; revision=72205
2016-08-12 11:00:21 +00:00
James Tabor cbdab97572 [NtUser]
- Get the right shift to pass through the keyboard subsystem. (WIP)

svn path=/trunk/; revision=72204
2016-08-12 00:54:44 +00:00
James Tabor 018df975b6 [NtUser]
- Send Input Language Change System Character flag if font signature and system character is set.

svn path=/trunk/; revision=72203
2016-08-11 22:33:12 +00:00
James Tabor d3001862bf [NtUser]
- If focus window null use active.

svn path=/trunk/; revision=72202
2016-08-11 22:04:33 +00:00