reactos.git
7 years ago[DBGPRINT] --wintest mode: Improve readability of output.
Mark Jansen [Wed, 17 Aug 2016 21:02:49 +0000 (21:02 +0000)]
[DBGPRINT] --wintest mode: Improve readability of output.

svn path=/trunk/; revision=72248

7 years ago[WIN32NT_APITEST] Add some NtUserCreateWindowEx tests by Sylvain Deverre. ROSTESTS-237
Amine Khaldi [Wed, 17 Aug 2016 17:53:11 +0000 (17:53 +0000)]
[WIN32NT_APITEST] Add some NtUserCreateWindowEx tests by Sylvain Deverre. ROSTESTS-237

svn path=/trunk/; revision=72242

7 years ago[KERNEL32] Sync sortkey.c with Wine Staging 1.9.16. CORE-10771 CORE-11866
Amine Khaldi [Wed, 17 Aug 2016 15:35:42 +0000 (15:35 +0000)]
[KERNEL32] Sync sortkey.c with Wine Staging 1.9.16. CORE-10771 CORE-11866

svn path=/trunk/; revision=72241

7 years ago[GLU32] Remove the special case for Clang. CORE-11799
Amine Khaldi [Wed, 17 Aug 2016 15:33:15 +0000 (15:33 +0000)]
[GLU32] Remove the special case for Clang. CORE-11799

svn path=/trunk/; revision=72240

7 years ago[OPENGL32] We don't need mingwex anymore. CORE-11799
Amine Khaldi [Wed, 17 Aug 2016 15:29:25 +0000 (15:29 +0000)]
[OPENGL32] We don't need mingwex anymore. CORE-11799

svn path=/trunk/; revision=72239

7 years ago[INCLUDE/REACTOS] Add some missing VOIDs. CORE-11799
Amine Khaldi [Wed, 17 Aug 2016 15:21:48 +0000 (15:21 +0000)]
[INCLUDE/REACTOS] Add some missing VOIDs. CORE-11799

svn path=/trunk/; revision=72238

7 years ago[EVENTLOG]
Hermès Bélusca-Maïto [Tue, 16 Aug 2016 21:08:15 +0000 (21:08 +0000)]
[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

7 years ago[INPUT]
Dmitry Chapyshev [Tue, 16 Aug 2016 18:33:50 +0000 (18:33 +0000)]
[INPUT]
- Show localized keyboard layout name

svn path=/trunk/; revision=72235

7 years agoGet rosautotest from the web.
Sylvain Petreolle [Mon, 15 Aug 2016 23:32:42 +0000 (23:32 +0000)]
Get rosautotest from the web.
@aminekhaldi thanks for the idea.
ONLINE-567

svn path=/trunk/; revision=72234

7 years ago[EXPLORER]
Giannis Adamopoulos [Mon, 15 Aug 2016 20:53:12 +0000 (20:53 +0000)]
[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

7 years ago[ADVAPI32] add DECLSPEC_HOTPATCH to CreateProcessAsUser
Christoph von Wittich [Mon, 15 Aug 2016 17:25:04 +0000 (17:25 +0000)]
[ADVAPI32] add DECLSPEC_HOTPATCH to CreateProcessAsUser

svn path=/trunk/; revision=72231

7 years ago[GDI32] sync GetICMProfileA to wine
Christoph von Wittich [Mon, 15 Aug 2016 17:04:05 +0000 (17:04 +0000)]
[GDI32] sync GetICMProfileA to wine

svn path=/trunk/; revision=72230

7 years agoBye SHA1 @utorrent and bittorrent. Still no nice direct links for the broken ones...
Daniel Reimer [Mon, 15 Aug 2016 15:02:07 +0000 (15:02 +0000)]
Bye SHA1 @utorrent and bittorrent. Still no nice direct links for the broken ones found.

svn path=/trunk/; revision=72229

7 years ago[CMAKE] Update baseaddress.cmake for the GCC build.
Amine Khaldi [Mon, 15 Aug 2016 11:56:47 +0000 (11:56 +0000)]
[CMAKE] Update baseaddress.cmake for the GCC build.

svn path=/trunk/; revision=72228

7 years ago[Win32SS]
James Tabor [Mon, 15 Aug 2016 01:14:47 +0000 (01:14 +0000)]
[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

7 years ago[LSASRV]
Eric Kohl [Sun, 14 Aug 2016 20:37:35 +0000 (20:37 +0000)]
[LSASRV]
Implement LsarEnumerateAccountsWithUserRight.

svn path=/trunk/; revision=72226

7 years ago[ROSTESTS]: Add an interactive test that tests some parts of the event log service.
Hermès Bélusca-Maïto [Sun, 14 Aug 2016 19:15:54 +0000 (19:15 +0000)]
[ROSTESTS]: Add an interactive test that tests some parts of the event log service.
CORE-11843 CORE-11838

svn path=/trunk/; revision=72225

7 years ago[ROSTESTS]: Update the code file header.
Hermès Bélusca-Maïto [Sun, 14 Aug 2016 19:12:30 +0000 (19:12 +0000)]
[ROSTESTS]: Update the code file header.

svn path=/trunk/; revision=72224

7 years ago[SDK:MC]: Ensure the EOL style of MC files is *always* CR-LF in *all* platforms.
Hermès Bélusca-Maïto [Sun, 14 Aug 2016 19:10:41 +0000 (19:10 +0000)]
[SDK:MC]: Ensure the EOL style of MC files is *always* CR-LF in *all* platforms.

svn path=/trunk/; revision=72223

7 years ago[LSASRV]
Eric Kohl [Sun, 14 Aug 2016 16:16:40 +0000 (16:16 +0000)]
[LSASRV]
Add missing TRACE messages.

svn path=/trunk/; revision=72222

7 years ago[SHELL32]
Giannis Adamopoulos [Sun, 14 Aug 2016 16:15:02 +0000 (16:15 +0000)]
[SHELL32]
- Fix a bug in CStartMenu_Constructor and add some comments to explain what this part does.

svn path=/trunk/; revision=72221

7 years ago[LSASRV]
Eric Kohl [Sun, 14 Aug 2016 15:42:40 +0000 (15:42 +0000)]
[LSASRV]
LsarQuerySecurityObject: Build a new SD that conatains requested information only and return it to the caller.

svn path=/trunk/; revision=72220

7 years ago[LSASRV]
Eric Kohl [Sun, 14 Aug 2016 10:26:23 +0000 (10:26 +0000)]
[LSASRV]
Implement LsaIFree_LSAPR_CR_CIPHER_VALUE, LsaIFree_LSAPR_PRIVILEGE_ENUM_BUFFER and LsaIFree_LSAPR_REFERENCED_DOMAIN_LIST.

svn path=/trunk/; revision=72218

7 years ago[SYSSETUP]
Eric Kohl [Sat, 13 Aug 2016 19:25:31 +0000 (19:25 +0000)]
[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

7 years ago[LSASRV]
Eric Kohl [Sat, 13 Aug 2016 17:15:04 +0000 (17:15 +0000)]
[LSASRV]
Implement LsaIFree_LSAPR_ACCOUNT_ENUM_BUFFER and fix a typo.

svn path=/trunk/; revision=72216

7 years ago[LSASRV]
Eric Kohl [Sat, 13 Aug 2016 16:26:23 +0000 (16:26 +0000)]
[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

7 years ago[CRT][CRT_APITEST] Fix __getmainargs and __wgetmainargs parsing, verified with apites...
Mark Jansen [Fri, 12 Aug 2016 21:31:32 +0000 (21:31 +0000)]
[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

7 years ago[EVENTLOG]
Hermès Bélusca-Maïto [Fri, 12 Aug 2016 19:14:55 +0000 (19:14 +0000)]
[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

7 years ago[EVENTLOG]: Fix also ElfrChangeNotify here. Addendum to r72211. Must fix the build.
Hermès Bélusca-Maïto [Fri, 12 Aug 2016 17:25:36 +0000 (17:25 +0000)]
[EVENTLOG]: Fix also ElfrChangeNotify here. Addendum to r72211. Must fix the build.
CORE-11839

svn path=/trunk/; revision=72212

7 years ago[SDK:IDL]: Fix the event log RPC IDL file definitions:
Hermès Bélusca-Maïto [Fri, 12 Aug 2016 17:22:15 +0000 (17:22 +0000)]
[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

7 years ago[SDK]: Move some event log flags to the correct header (from winbase.h to winnt.h).
Hermès Bélusca-Maïto [Fri, 12 Aug 2016 14:24:55 +0000 (14:24 +0000)]
[SDK]: Move some event log flags to the correct header (from winbase.h to winnt.h).
CORE-11839

svn path=/trunk/; revision=72210

7 years ago[ADVAPI32_APITEST]: Addendum to r72207:
Hermès Bélusca-Maïto [Fri, 12 Aug 2016 13:38:49 +0000 (13:38 +0000)]
[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

7 years ago[SHELL32]
Giannis Adamopoulos [Fri, 12 Aug 2016 12:21:13 +0000 (12:21 +0000)]
[SHELL32]
- Get rid of the functions that handle guid pidls and move their implementation in CRegFolder.cpp.

svn path=/trunk/; revision=72208

7 years ago[ADVAPI32_APITEST]: Add some supplemental tests for Winetests' Event Logging function...
Hermès Bélusca-Maïto [Fri, 12 Aug 2016 12:15:24 +0000 (12:15 +0000)]
[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

7 years ago[SHELL32]
Giannis Adamopoulos [Fri, 12 Aug 2016 11:35:24 +0000 (11:35 +0000)]
[SHELL32]
- Move CFSDropTarget to its own file.

svn path=/trunk/; revision=72206

7 years ago[RAPPS}
Daniel Reimer [Fri, 12 Aug 2016 11:00:21 +0000 (11:00 +0000)]
[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

7 years ago[NtUser]
James Tabor [Fri, 12 Aug 2016 00:54:44 +0000 (00:54 +0000)]
[NtUser]
- Get the right shift to pass through the keyboard subsystem. (WIP)

svn path=/trunk/; revision=72204

7 years ago[NtUser]
James Tabor [Thu, 11 Aug 2016 22:33:12 +0000 (22:33 +0000)]
[NtUser]
- Send Input Language Change System Character flag if font signature and system character is set.

svn path=/trunk/; revision=72203

7 years ago[NtUser]
James Tabor [Thu, 11 Aug 2016 22:04:33 +0000 (22:04 +0000)]
[NtUser]
- If focus window null use active.

svn path=/trunk/; revision=72202

7 years ago[NtUser]
James Tabor [Thu, 11 Aug 2016 21:36:55 +0000 (21:36 +0000)]
[NtUser]
- Fix registry update when turning on/off keyboard layout hotkey and selecting. VK_RSHIFT (WIP).

svn path=/trunk/; revision=72201

7 years agoRemove extra ending semicolons in our C code base.
Hermès Bélusca-Maïto [Thu, 11 Aug 2016 16:50:41 +0000 (16:50 +0000)]
Remove extra ending semicolons in our C code base.

svn path=/trunk/; revision=72199

7 years ago[MPR]
Pierre Schweitzer [Thu, 11 Aug 2016 16:29:36 +0000 (16:29 +0000)]
[MPR]
Import Wine commit:
b452e6285915b1ad46920fc8551335ab28bfb4c0, Implement local name automatic redirection for disks.
a65c31e46fa354fc8fbf86c0b9f273f86132a571, Implement provider selection given remote name.

CORE-11757

svn path=/trunk/; revision=72198

7 years ago[NtUser]
James Tabor [Thu, 11 Aug 2016 15:53:05 +0000 (15:53 +0000)]
[NtUser]
- Fix up Language Layout Hotkey Toggle support for the new Keyboard switching. Support registry settings. Dedicated to Dmitry Chapyshev.
- The registry entry it reads from is the wrong (the short number) one. Someone with registry knowledge please help.
  Also VK_LSHIFT is passed all the time and not VK_RSHIFT (WIP). Support for Left Alt and Control work including SysParam.
- Side Tracks : Fixed CORE-5683. ReactOS can switch from keyboard processing or from DeferWindowProc.

svn path=/trunk/; revision=72197

7 years ago[FASTFAT]
Thomas Faber [Thu, 11 Aug 2016 13:25:57 +0000 (13:25 +0000)]
[FASTFAT]
- Fail invalid opens specifying FILE_DELETE_ON_CLOSE
CORE-6931

svn path=/trunk/; revision=72196

7 years ago[FASTFAT]
Thomas Faber [Thu, 11 Aug 2016 11:41:25 +0000 (11:41 +0000)]
[FASTFAT]
- Cancel deletion of a directory if it is not empty when its last handle is closed
CORE-6931

svn path=/trunk/; revision=72195

7 years ago- Fix Desktop hang if no windows open.
James Tabor [Thu, 11 Aug 2016 00:29:26 +0000 (00:29 +0000)]
- Fix Desktop hang if no windows open.

svn path=/trunk/; revision=72194

7 years ago[NTOS:FSRTL]
Thomas Faber [Wed, 10 Aug 2016 21:09:50 +0000 (21:09 +0000)]
[NTOS:FSRTL]
- Use the correct parent node when replacing an identical cache entry in FsRtlAddToTunnelCache
CORE-11819

svn path=/trunk/; revision=72193

7 years ago[KMTESTS:FSRTL]
Pierre Schweitzer [Wed, 10 Aug 2016 20:50:36 +0000 (20:50 +0000)]
[KMTESTS:FSRTL]
Add a stress test for tunnel cache implementation, where we have fun adding duplicated entries.
It doesn't seem to go well.
These tests are also known as "Learn your English ordinals", or as "Learn how to count in English". My pleasure.

CORE-11819

svn path=/trunk/; revision=72192

7 years ago[ATL][ATL_APITEST] Partially implement CRegKey + add tests. CORE-11746
Mark Jansen [Wed, 10 Aug 2016 19:34:38 +0000 (19:34 +0000)]
[ATL][ATL_APITEST] Partially implement CRegKey + add tests. CORE-11746

svn path=/trunk/; revision=72191

7 years ago[SDK]
Dmitry Chapyshev [Wed, 10 Aug 2016 19:05:54 +0000 (19:05 +0000)]
[SDK]
- KLF_SHIFTLOCK is not equal 65535. Correct value is 0x00010000

svn path=/trunk/; revision=72190

7 years ago[INPUT]
Dmitry Chapyshev [Wed, 10 Aug 2016 19:04:11 +0000 (19:04 +0000)]
[INPUT]
- Draw 0x2022 unicode symbol instead 0x25CF (marking default input method)
- Fix incorrect logic in CapsLock parameters
- Notice system of change CapsLock mode parameters

svn path=/trunk/; revision=72189

7 years ago[SHELL32]
Giannis Adamopoulos [Wed, 10 Aug 2016 18:56:48 +0000 (18:56 +0000)]
[SHELL32]
- Add CRegFolder using the guid item specific functions. So far it is only partly implemented with stuff like enumerating still missing.
- Use CRegFolder in CDesktopFolder, CDrivesFolder and CControlPanelFolder and stop using guid item specific functions.

svn path=/trunk/; revision=72188

7 years ago[SHIMLIB] Improve header inclusions.
Amine Khaldi [Wed, 10 Aug 2016 13:37:22 +0000 (13:37 +0000)]
[SHIMLIB] Improve header inclusions.

svn path=/trunk/; revision=72187

7 years ago[NTOSKRNL]
Pierre Schweitzer [Wed, 10 Aug 2016 11:52:30 +0000 (11:52 +0000)]
[NTOSKRNL]
While attempting to read data from disk in CcReadVirtualAddress(), always align our read size by pages.
That means that even on boundaries, we will read a complete page.
This fixes FSD relying on Cc to properly align reads and thus poorly failing in disk.sys because of unaligned reads.
Notably, it helps MS FastFAT loading a bit farther in ReactOS (but it still fails :-().
This also fixes a few kmtests.

CORE-11003
CORE-11819

svn path=/trunk/; revision=72186

7 years ago[INPUT]
Hermès Bélusca-Maïto [Wed, 10 Aug 2016 11:42:21 +0000 (11:42 +0000)]
[INPUT]
- Fix misspelling "Dublicate" -> "Duplicate".
- Use ZeroMemory instead of memset(..., 0, ...).
- Don't hardcode most of the variable types for sizeof.

svn path=/trunk/; revision=72185

7 years ago[TCPIP]
Thomas Faber [Wed, 10 Aug 2016 11:19:59 +0000 (11:19 +0000)]
[TCPIP]
- Use pool tagging

svn path=/trunk/; revision=72184

7 years ago[IP]
Thomas Faber [Wed, 10 Aug 2016 10:28:28 +0000 (10:28 +0000)]
[IP]
- Only accept an incoming connection on one listening socket, not all. Fixes use after free when multiple connection endpoints are assigned the same PCB.
CORE-11649 #resolve

svn path=/trunk/; revision=72183

7 years ago[KMTESTS:CC]
Pierre Schweitzer [Wed, 10 Aug 2016 07:39:20 +0000 (07:39 +0000)]
[KMTESTS:CC]
New test case which is matching the MS FastFAT CcCopyRead (minus the offset) and shows clearly the issue in our Cc.
It also shows that my hack is utterly broken :-).

CORE-11003
CORE-11819

svn path=/trunk/; revision=72182

7 years ago[NtUser]
James Tabor [Wed, 10 Aug 2016 03:02:57 +0000 (03:02 +0000)]
[NtUser]
- Fix breakage due to WM_NCPAINT call. Duplicate check for draw caption bar Justin Case.

svn path=/trunk/; revision=72181

7 years ago[NtUser]
James Tabor [Wed, 10 Aug 2016 00:16:57 +0000 (00:16 +0000)]
[NtUser]
- Fix regression from r71846. See CORE-11479 for more details.

svn path=/trunk/; revision=72180

7 years ago[README.WINE]
Ged Murphy [Tue, 9 Aug 2016 22:23:16 +0000 (22:23 +0000)]
[README.WINE]
- Remove reference to fltlib. It was, and will likely only ever be a stubbed dll in Wine

svn path=/trunk/; revision=72179

7 years ago[FLTLIB]
Ged Murphy [Tue, 9 Aug 2016 22:10:05 +0000 (22:10 +0000)]
[FLTLIB]
- Stub out fltlib.dll.
- Add basic implementations for FilterLoad and FilterUnload
- Remove the wine code, this lib talks directly to fltmgr.sys and is therefore a reactos only dll from now on.

svn path=/trunk/; revision=72178

7 years ago[INPUT]
Dmitry Chapyshev [Tue, 9 Aug 2016 21:49:06 +0000 (21:49 +0000)]
[INPUT]
- Rename input_new to input

svn path=/trunk/; revision=72177

7 years ago[INPUT]
Dmitry Chapyshev [Tue, 9 Aug 2016 21:45:58 +0000 (21:45 +0000)]
[INPUT]
- Remove old input.dll

svn path=/trunk/; revision=72176

7 years ago[KBSWITCH]
Dmitry Chapyshev [Tue, 9 Aug 2016 21:41:05 +0000 (21:41 +0000)]
[KBSWITCH]
- Hackfix detecting keyboard layout switching

* Now when hotkeys switching layouts icon changes

svn path=/trunk/; revision=72175

7 years ago[FLTMC]
Ged Murphy [Tue, 9 Aug 2016 21:33:53 +0000 (21:33 +0000)]
[FLTMC]
- Start to implement fltMC
- It currently supports loading, unloading and listing loaded filter driver.

svn path=/trunk/; revision=72174

7 years ago[FLTLIB_APITEST]
Ged Murphy [Tue, 9 Aug 2016 21:23:40 +0000 (21:23 +0000)]
[FLTLIB_APITEST]
- Create a skeleton test project for fltlib.dll
- Not yet part of the build

svn path=/trunk/; revision=72173

7 years ago[INPUT]
Dmitry Chapyshev [Tue, 9 Aug 2016 21:09:07 +0000 (21:09 +0000)]
[INPUT]
- Small fix :-p

svn path=/trunk/; revision=72172

7 years ago[INPUT]
Dmitry Chapyshev [Tue, 9 Aug 2016 21:03:55 +0000 (21:03 +0000)]
[INPUT]
- Implement 'Key Settings' and 'Change Key Settings' dialogs

* Now you can add, delete and change the input method, change the hotkey switching input methods. The system correctly responds to changes. It works fine in Windows 10, but has not yet been tested on ReactOS

svn path=/trunk/; revision=72171

7 years ago[KMTESTS:CC]
Pierre Schweitzer [Tue, 9 Aug 2016 20:52:38 +0000 (20:52 +0000)]
[KMTESTS:CC]
It seems we're page-aligned.

CORE-11003

svn path=/trunk/; revision=72170

7 years ago[KMTESTS:CC]
Pierre Schweitzer [Tue, 9 Aug 2016 20:46:00 +0000 (20:46 +0000)]
[KMTESTS:CC]
Modify a bit the read test so that it actually fails in ReactOS. It instructs us that when it comes to file boundaries, our Cc fails to properly align read (whereas it should!).
This is the behavior exposed by the MS FastFAT.

CORE-11003
CORE-11819

svn path=/trunk/; revision=72169

7 years ago[INPUT]
Dmitry Chapyshev [Tue, 9 Aug 2016 18:26:43 +0000 (18:26 +0000)]
[INPUT]
- Implement editing input methods
- Marking default layout
- Other bugfixes

svn path=/trunk/; revision=72168

7 years ago[SHELL32]
Giannis Adamopoulos [Tue, 9 Aug 2016 18:05:50 +0000 (18:05 +0000)]
[SHELL32]
- Don't hardcode the path in the shell namespace in any folder appart for CDesktopFolder and CDrivesFolder.
- Make SHELL32_CoCreateInitSF slightly more generic and use it when we need to create and initialise a shell folder.
- Now SHELL32_BindToFS is used only by CFSFolder but SHELL32_CoCreateInitSF still uses the generic _ILSimpleGetTextW (it accesses the pidl).

svn path=/trunk/; revision=72167

7 years ago[INPUT]
Dmitry Chapyshev [Tue, 9 Aug 2016 14:01:52 +0000 (14:01 +0000)]
[INPUT]
- Implement 'Remove', 'Set Default' for input methods

svn path=/trunk/; revision=72166

7 years ago[KMTESTS:CC]
Pierre Schweitzer [Tue, 9 Aug 2016 12:43:18 +0000 (12:43 +0000)]
[KMTESTS:CC]
Complete the tests for Cc: not only check for alignment, but also check that expected data are returned.
Thanks to Thomas for his help on this :-).

CORE-11003

svn path=/trunk/; revision=72165

7 years ago[NTOS:CC]
Thomas Faber [Tue, 9 Aug 2016 07:59:07 +0000 (07:59 +0000)]
[NTOS:CC]
- Gracefully handle failure to obtain virtual memory when creating a VACB. We now no longer crash when running out of virtual memory during (large) file operations (but will still crash when running out of physical memory).
CORE-11533

svn path=/trunk/; revision=72164

7 years ago[NTOS:MM]
Thomas Faber [Tue, 9 Aug 2016 07:48:09 +0000 (07:48 +0000)]
[NTOS:MM]
- Correctly reserve the whole 4 MB of HAL address space instead of just 2 pages
CORE-11533

svn path=/trunk/; revision=72163

7 years ago[NTOS:MM]
Thomas Faber [Tue, 9 Aug 2016 07:43:51 +0000 (07:43 +0000)]
[NTOS:MM]
- Accept memory areas that end at 0xffffffff
CORE-11533

svn path=/trunk/; revision=72162

7 years ago[NTOS:MM]
Thomas Faber [Tue, 9 Aug 2016 07:28:02 +0000 (07:28 +0000)]
[NTOS:MM]
- In debug builds, invalidate the MEMORY_AREA's Magic on destroy to catch potential uses after free

svn path=/trunk/; revision=72161

7 years ago[INPUT]
Dmitry Chapyshev [Mon, 8 Aug 2016 20:30:36 +0000 (20:30 +0000)]
[INPUT]
- Implement add input methods
- Some improvents

svn path=/trunk/; revision=72160

7 years ago[MSPAINT] Handle settings from registry correctly. Patch by Carlo Bramini. CORE...
Benedikt Freisen [Mon, 8 Aug 2016 14:00:18 +0000 (14:00 +0000)]
[MSPAINT] Handle settings from registry correctly.  Patch by Carlo Bramini.  CORE-11400

svn path=/trunk/; revision=72158

7 years ago[FASTFAT]
Pierre Schweitzer [Mon, 8 Aug 2016 12:44:15 +0000 (12:44 +0000)]
[FASTFAT]
Fix a FIXME: update the last writing date in case of null-length write.

svn path=/trunk/; revision=72157

7 years ago[FASTFAT]
Pierre Schweitzer [Mon, 8 Aug 2016 07:28:14 +0000 (07:28 +0000)]
[FASTFAT]
Opening file by ID is not possible with FAT.

svn path=/trunk/; revision=72156

7 years ago[User32]
James Tabor [Sun, 7 Aug 2016 23:52:43 +0000 (23:52 +0000)]
[User32]
- Fix bug that was uncovered by r72143. See CORE-11810.
- Move System Commands to server side. Leaving Alt-Tab and Scrolls.

svn path=/trunk/; revision=72155

7 years ago[INPUT]
Dmitry Chapyshev [Sun, 7 Aug 2016 23:28:50 +0000 (23:28 +0000)]
[INPUT]
- Implement list of keyboard layouts on Settings Page

svn path=/trunk/; revision=72154

7 years ago[LSASRV]
Eric Kohl [Sun, 7 Aug 2016 22:36:07 +0000 (22:36 +0000)]
[LSASRV]
- Partital implementation of LsarRemoveAccountRights.
- Simplify LsapLookupAccountRightValue. Return ACCESS_MASK instead of NTSTATUS.
- LsarAddAccountRights: Check parameters before referncing the policy handle.

svn path=/trunk/; revision=72153

7 years ago[ADVAPI32]: Addendum to r72151: It's incorrect to compare the variable of BOOL type...
Hermès Bélusca-Maïto [Sun, 7 Aug 2016 19:11:08 +0000 (19:11 +0000)]
[ADVAPI32]: Addendum to r72151: It's incorrect to compare the variable of BOOL type with TRUE. Any non-zero value is considered to be "true". Caught by Thomas.

svn path=/trunk/; revision=72152

7 years ago[ADVAPI32]: Don't directly redirect IsTextUnicode to RtlIsTextUnicode, but use a...
Hermès Bélusca-Maïto [Sun, 7 Aug 2016 19:02:07 +0000 (19:02 +0000)]
[ADVAPI32]: Don't directly redirect IsTextUnicode to RtlIsTextUnicode, but use a helper function, so that the return value is correctly set to TRUE or FALSE. Indeed the former function returns a BOOL (long) while the latter returns a BOOLEAN (byte), and the high bytes in the return value could not be correctly set otherwise.

Adapted from a patch by 'andy-123'.

CORE-11803 #resolve #comment Fixesd, thanks!

svn path=/trunk/; revision=72151

7 years ago[SDK][RTL][NDK]: Update RtlIsTextUnicode prototype.
Hermès Bélusca-Maïto [Sun, 7 Aug 2016 18:52:49 +0000 (18:52 +0000)]
[SDK][RTL][NDK]: Update RtlIsTextUnicode prototype.

svn path=/trunk/; revision=72150

7 years ago[ADVAPI32]: Cleanup file headers and whitespace.
Hermès Bélusca-Maïto [Sun, 7 Aug 2016 16:57:45 +0000 (16:57 +0000)]
[ADVAPI32]: Cleanup file headers and whitespace.

svn path=/trunk/; revision=72149

7 years ago[APITESTS]: Add a test for advapi32!IsTextUnicode.
Hermès Bélusca-Maïto [Sun, 7 Aug 2016 16:35:56 +0000 (16:35 +0000)]
[APITESTS]: Add a test for advapi32!IsTextUnicode.
CORE-11803

svn path=/trunk/; revision=72148

7 years ago[FASTFAT]
Thomas Faber [Sun, 7 Aug 2016 14:24:45 +0000 (14:24 +0000)]
[FASTFAT]
- Update FCB hashes after changing the path name
CORE-11377

svn path=/trunk/; revision=72147

7 years ago[INPUT]
Dmitry Chapyshev [Sun, 7 Aug 2016 13:07:23 +0000 (13:07 +0000)]
[INPUT]
- Create an empty project for re-working keyboard layouts management

svn path=/trunk/; revision=72146

7 years ago[FASTFAT]
Pierre Schweitzer [Sun, 7 Aug 2016 12:29:48 +0000 (12:29 +0000)]
[FASTFAT]
After renaming a directory, rename any children FCB that would still exist in the FSD. This will allow next directory opening to properly work and open correct data.
This defeats corruption on directory renaming.
Unfortunately, this solution is not ideal and our driver should be reworked so that it quits using a hash table and it quits storing the whole path in the FCBs.

Deep thanks to Wim Hueskes and Thomas Faber for their help debugging the issue!

CORE-11377

svn path=/trunk/; revision=72145

7 years ago[NTOS:CC]
Thomas Faber [Sun, 7 Aug 2016 07:00:56 +0000 (07:00 +0000)]
[NTOS:CC]
- Define CcPfEnablePrefetcher
CORE-11799

svn path=/trunk/; revision=72144

7 years ago[KBSWITCH]
Dmitry Chapyshev [Sat, 6 Aug 2016 20:48:33 +0000 (20:48 +0000)]
[KBSWITCH]
- Use strsafe functions
- Use Shell Hooks in dll for detecting keyboard layout switching
- Fix bug in loading kbsdll

* Detection switch keyboard layout is now working in Windovs, but does not work in ReactOS (WH_SHELL not work in win32k)

svn path=/trunk/; revision=72143

7 years ago[WIN32K]
Dmitry Chapyshev [Sat, 6 Aug 2016 17:43:57 +0000 (17:43 +0000)]
[WIN32K]
- Detect Alt+Shift hotkeys and send input language change request message to window

* Switching the keyboard layout works now. The code needs to be improved

svn path=/trunk/; revision=72142

7 years ago[LSASRV]
Eric Kohl [Sat, 6 Aug 2016 17:07:59 +0000 (17:07 +0000)]
[LSASRV]
Move ServiceInit() into a separate file.

svn path=/trunk/; revision=72141

7 years ago[EVENTVWR]
Hermès Bélusca-Maïto [Sat, 6 Aug 2016 16:21:02 +0000 (16:21 +0000)]
[EVENTVWR]
Don't hardcode a fixed size for the memory buffer holding the event details data to be copied into the clipboard, but instead compute it using the real lengths of the different strings. Use also StringCbPrintfW instead.

svn path=/trunk/; revision=72140

7 years ago[LSASRV]
Eric Kohl [Sat, 6 Aug 2016 15:07:41 +0000 (15:07 +0000)]
[LSASRV]
Implement LsarAddAccountRigths and fix some bugs along the way:
- LsarGetSystemAccessAccount: Fix an uninitialized varable.
- LsarOpenAccount, LsarCreateAccount: Make these functions wrappers around the real implementation in LsarpCreateAccount and LsarpOpenAccount.
- LsarEnumerateAccountRights: Fix the use of the wrong array index.
- LsarAddAccountRights: Implement it.
- LsarpLookupPrivilegeValue: Return a pointer to an LUID instead of an NTSTATUS. It is much earier to use it this way.
- LsapLookupAccountRightValue: Implement it.

svn path=/trunk/; revision=72139