Commit graph

66366 commits

Author SHA1 Message Date
Amine Khaldi 3f76d7c905 [QUARTZ_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72270
2016-08-18 09:51:01 +00:00
Amine Khaldi 64dc1ba32c [QUARTZ] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72269
2016-08-18 09:50:09 +00:00
Amine Khaldi ab2bcbbcb7 [QEDIT] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72268
2016-08-18 09:48:26 +00:00
Amine Khaldi d6d93b75da [DPLAYX] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72267
2016-08-18 09:46:58 +00:00
Amine Khaldi bef5d0e69f [DMUSIC] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72266
2016-08-18 09:45:45 +00:00
Amine Khaldi 7d75b785b8 [DINPUT_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72265
2016-08-18 09:44:21 +00:00
Amine Khaldi 9311bf01ef [DINPUT] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72264
2016-08-18 09:43:58 +00:00
Amine Khaldi db110c2bfe [DEVENUM] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72263
2016-08-18 09:42:25 +00:00
Amine Khaldi ab71e5511f [D3DXOF] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72262
2016-08-18 09:40:45 +00:00
Amine Khaldi ebac637363 [SHELL32_WINETEST] Sync with Wine Staging 1.9.16. CORE-11866
svn path=/trunk/; revision=72261
2016-08-18 09:39:10 +00:00
Amine Khaldi aa23d6090c [PSDK] Update shldisp.idl. CORE-11866
svn path=/trunk/; revision=72260
2016-08-18 09:38:10 +00:00
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