reactos.git
7 years ago[LOCALSPL_APITEST]
Colin Finck [Wed, 16 Nov 2016 14:59:01 +0000 (14:59 +0000)]
[LOCALSPL_APITEST]
Fix some NULL vs. INVALID_HANDLE_VALUE checks.
Now localspl_apitest.exe should properly quit when it cannot find its DLL.

svn path=/trunk/; revision=73239

7 years ago[WINSPOOL_APITEST]
Colin Finck [Wed, 16 Nov 2016 08:54:54 +0000 (08:54 +0000)]
[WINSPOOL_APITEST]
Add tests for GetPrintProcessorDirectoryA and another one for GetPrintProcessorDirectoryW.
Tested against Windows Server 2003 SP2.

Step 1 for CORE-12399

svn path=/trunk/; revision=73238

7 years ago[SHELL32]
Giannis Adamopoulos [Tue, 15 Nov 2016 20:14:56 +0000 (20:14 +0000)]
[SHELL32]
- Implement filling in needed keys passed to CDefFolderMenu_Create2.
- CDefaultContextMenu: Remove the code that filled the array of keys as this is now moved to the implementation of the shell folder.

svn path=/trunk/; revision=73237

7 years ago[SHELL32] - Accept NULL pidl in CRegFolder::GetDisplayNameOf. CORE-12317
Giannis Adamopoulos [Tue, 15 Nov 2016 14:25:05 +0000 (14:25 +0000)]
[SHELL32] - Accept NULL pidl in CRegFolder::GetDisplayNameOf. CORE-12317

svn path=/trunk/; revision=73236

7 years ago[SHELL32_APITEST] - Add a test for CShellDesktop to show what breaks the select folde...
Giannis Adamopoulos [Tue, 15 Nov 2016 14:08:57 +0000 (14:08 +0000)]
[SHELL32_APITEST] - Add a test for CShellDesktop to show what breaks the select folder dialog.

svn path=/trunk/; revision=73235

7 years ago[LSASRV]: Revert part of r73233: GetModuleHandle(NULL) retrieves the exe module in...
Hermès Bélusca-Maïto [Mon, 14 Nov 2016 18:57:18 +0000 (18:57 +0000)]
[LSASRV]: Revert part of r73233: GetModuleHandle(NULL) retrieves the exe module in which the dll is loaded, not the dll instance itself. (an alternative might be to use the hinstance from DllMain...). Thanks Thomas for having pointed this to me.

svn path=/trunk/; revision=73234

7 years ago[LSASRV]
Hermès Bélusca-Maïto [Mon, 14 Nov 2016 16:19:22 +0000 (16:19 +0000)]
[LSASRV]
- No need to hardcode the name of the dll in the GetModuleHandleW call;
- Use ARRAYSIZE instead of hardcoding string buffer sizes;
- When initializing the "Network Sid", use the correct localized string.

svn path=/trunk/; revision=73233

7 years ago[LSASRV]
Hermès Bélusca-Maïto [Mon, 14 Nov 2016 16:17:42 +0000 (16:17 +0000)]
[LSASRV]
- Remove trailing whitespace;
- Tabs --> Spaces;
- Don't always hardcode parameters sizeofs;
- Use ARRAYSIZE where applicable;
- Use UNICODE_NULL

svn path=/trunk/; revision=73232

7 years ago[MSAFD] When out of band data is inlined, calling WSPRecv/WSPRecvFrom with flag MSG_O...
Peter Hater [Mon, 14 Nov 2016 14:10:48 +0000 (14:10 +0000)]
[MSAFD] When out of band data is inlined, calling WSPRecv/WSPRecvFrom with flag MSG_OOB is invalid, return WSAEINVAL. CORE-12104

svn path=/trunk/; revision=73231

7 years ago[LOCALMON] Russian translation by Nikolay Burshtyn aka amber. CORE-12363
Amine Khaldi [Mon, 14 Nov 2016 11:18:11 +0000 (11:18 +0000)]
[LOCALMON] Russian translation by Nikolay Burshtyn aka amber. CORE-12363

svn path=/trunk/; revision=73230

7 years ago[LOCALMON] Italian translation by Carlo Bramini. CORE-12363
Amine Khaldi [Mon, 14 Nov 2016 10:58:53 +0000 (10:58 +0000)]
[LOCALMON] Italian translation by Carlo Bramini. CORE-12363

svn path=/trunk/; revision=73229

7 years ago[ADVAPI32][ADVAPI32_APITEST] Fix incorrect parameter output uncovered by CORE-12333...
Mark Jansen [Sun, 13 Nov 2016 18:11:14 +0000 (18:11 +0000)]
[ADVAPI32][ADVAPI32_APITEST] Fix incorrect parameter output uncovered by CORE-12333 #comment Please retest!

svn path=/trunk/; revision=73228

7 years ago[KMTESTS:MM]
Thomas Faber [Sun, 13 Nov 2016 16:42:16 +0000 (16:42 +0000)]
[KMTESTS:MM]
- Skip NtCreateSection tests since they hang on testbot.
ROSTESTS-248

svn path=/trunk/; revision=73227

7 years ago[DRIVERS] Spelling fixes by Josh Soref. CORE-12286
Amine Khaldi [Sun, 13 Nov 2016 15:31:39 +0000 (15:31 +0000)]
[DRIVERS] Spelling fixes by Josh Soref. CORE-12286

svn path=/trunk/; revision=73226

7 years ago[WS2_32_APITEST]
Thomas Faber [Sun, 13 Nov 2016 14:54:06 +0000 (14:54 +0000)]
[WS2_32_APITEST]
- Skip nonblocking tests since they hang on testbot
ROSTESTS-247

svn path=/trunk/; revision=73225

7 years ago[KMTESTS:RTL]
Thomas Faber [Sun, 13 Nov 2016 12:19:05 +0000 (12:19 +0000)]
[KMTESTS:RTL]
- Silence a GCC5+ warning
CORE-11794

svn path=/trunk/; revision=73224

7 years ago[ATL]
Thomas Faber [Sun, 13 Nov 2016 11:51:02 +0000 (11:51 +0000)]
[ATL]
- Don't return values from void functions.
CORE-11794

svn path=/trunk/; revision=73223

7 years ago[EXPLORER]
Pierre Schweitzer [Sun, 13 Nov 2016 10:33:23 +0000 (10:33 +0000)]
[EXPLORER]
Translate last bits of the task parameters in French.
CORE-12385

svn path=/trunk/; revision=73221

7 years ago[CMAKE]
Thomas Faber [Sun, 13 Nov 2016 10:19:22 +0000 (10:19 +0000)]
[CMAKE]
- Use CMake 3.4's <INCLUDES> rule variable in addition to <FLAGS>.
CORE-12373 #resolve

svn path=/trunk/; revision=73220

7 years ago[CMAKE]
Thomas Faber [Sun, 13 Nov 2016 09:57:30 +0000 (09:57 +0000)]
[CMAKE]
- We require automatic generation of phony targets for now. Set the corresponding CMake 3.3+ policy (CMP0058).
CORE-12373

svn path=/trunk/; revision=73219

7 years ago[WINSPOOL] Properly export GetPrinterDriverDirectoryA as a stub. CORE-12375
Amine Khaldi [Sat, 12 Nov 2016 22:59:55 +0000 (22:59 +0000)]
[WINSPOOL] Properly export GetPrinterDriverDirectoryA as a stub. CORE-12375

svn path=/trunk/; revision=73218

7 years ago[WINSPOOL] Properly export GetPrintProcessorDirectoryA as a stub. CORE-12375
Amine Khaldi [Sat, 12 Nov 2016 22:32:14 +0000 (22:32 +0000)]
[WINSPOOL] Properly export GetPrintProcessorDirectoryA as a stub. CORE-12375

svn path=/trunk/; revision=73217

7 years ago[DLLS] Spelling fixes by Josh Soref. CORE-12286
Amine Khaldi [Sat, 12 Nov 2016 21:53:33 +0000 (21:53 +0000)]
[DLLS] Spelling fixes by Josh Soref. CORE-12286

svn path=/trunk/; revision=73216

7 years ago[BOOT] Spelling fixes by Josh Soref. CORE-12286
Amine Khaldi [Sat, 12 Nov 2016 20:53:49 +0000 (20:53 +0000)]
[BOOT] Spelling fixes by Josh Soref. CORE-12286

svn path=/trunk/; revision=73215

7 years ago[TIMEDATE] Make the custom clock control aware of the theming. By Carlo Bramini....
Amine Khaldi [Sat, 12 Nov 2016 20:24:07 +0000 (20:24 +0000)]
[TIMEDATE] Make the custom clock control aware of the theming. By Carlo Bramini. CORE-12079

svn path=/trunk/; revision=73214

7 years ago[SHELL32_APITEST] -Test the IPersistFolder3 interface of CFSFolder.
Giannis Adamopoulos [Sat, 12 Nov 2016 15:38:33 +0000 (15:38 +0000)]
[SHELL32_APITEST] -Test the IPersistFolder3 interface of CFSFolder.

svn path=/trunk/; revision=73213

7 years ago[SHELL32_APITEST]
Giannis Adamopoulos [Sat, 12 Nov 2016 14:54:12 +0000 (14:54 +0000)]
[SHELL32_APITEST]
- Add tests for the Initialize method for CDesktopFolder and CDrivesFolder.
- Add tests for CFSFolder to see how it behaves whhile not initialized.

svn path=/trunk/; revision=73212

7 years ago[PSEH3]
Thomas Faber [Sat, 12 Nov 2016 14:52:58 +0000 (14:52 +0000)]
[PSEH3]
- Avoid trying to disable 'declaration after statement' warnings in C++
CORE-11794

svn path=/trunk/; revision=73211

7 years ago[SHELL32_APITEST]
Thomas Faber [Sat, 12 Nov 2016 12:43:02 +0000 (12:43 +0000)]
[SHELL32_APITEST]
- Don't compare a pointer to S_OK
CORE-11794

svn path=/trunk/; revision=73210

7 years ago[MSWSOCK]
Thomas Faber [Sat, 12 Nov 2016 12:23:49 +0000 (12:23 +0000)]
[MSWSOCK]
- Remove broken 'inline' specifiers
CORE-11794

svn path=/trunk/; revision=73209

7 years ago[SNDREC32]
Pierre Schweitzer [Sat, 12 Nov 2016 09:24:09 +0000 (09:24 +0000)]
[SNDREC32]
Don't double free buffers in case of failure

svn path=/trunk/; revision=73208

7 years ago[EVENTVWR]: Fix translation for "Information" event type: it is really in singular...
Hermès Bélusca-Maïto [Sat, 12 Nov 2016 01:29:05 +0000 (01:29 +0000)]
[EVENTVWR]: Fix translation for "Information" event type: it is really in singular, not plural.

svn path=/trunk/; revision=73207

7 years ago[MSVCRT]: Implement and export _wtof, based on Wine and existing code; patch by Amine...
Hermès Bélusca-Maïto [Fri, 11 Nov 2016 23:32:29 +0000 (23:32 +0000)]
[MSVCRT]: Implement and export _wtof, based on Wine and existing code; patch by Amine Khaldi.
CORE-12335 #resolve
CORE-9312 #comment Please retest with r73206

svn path=/trunk/; revision=73206

7 years ago[MSAFD]
Hermès Bélusca-Maïto [Fri, 11 Nov 2016 21:37:09 +0000 (21:37 +0000)]
[MSAFD]
- In C, void functions should better have 'VOID' mentioned in their prototypes.
- Simplify GetCurrentTimeInSeconds code.

svn path=/trunk/; revision=73205

7 years ago[MSAFD]: Addendum to r73203.
Hermès Bélusca-Maïto [Fri, 11 Nov 2016 21:25:02 +0000 (21:25 +0000)]
[MSAFD]: Addendum to r73203.

svn path=/trunk/; revision=73204

7 years ago[MSAFD]: Convert tabs to spaces.
Hermès Bélusca-Maïto [Fri, 11 Nov 2016 21:19:13 +0000 (21:19 +0000)]
[MSAFD]: Convert tabs to spaces.

svn path=/trunk/; revision=73203

7 years ago[NTOSKRNL]
Pierre Schweitzer [Fri, 11 Nov 2016 18:16:43 +0000 (18:16 +0000)]
[NTOSKRNL]
Don't redefine RTL_NUMBER_OF

svn path=/trunk/; revision=73202

7 years ago[PSDK] small fixes for dns headers
Christoph von Wittich [Fri, 11 Nov 2016 14:21:55 +0000 (14:21 +0000)]
[PSDK] small fixes for dns headers

svn path=/trunk/; revision=73201

7 years ago[KMTESTS:MM]
Pierre Schweitzer [Fri, 11 Nov 2016 10:44:51 +0000 (10:44 +0000)]
[KMTESTS:MM]
Bugfix for IRP_MJ_SET_INFORMATION/FileEndOfFileInformation: really set the information. The test still works fine in Windows and still fails hard in ReactOS.

svn path=/trunk/; revision=73200

7 years ago[NTOSKRNL]
Pierre Schweitzer [Thu, 10 Nov 2016 21:17:21 +0000 (21:17 +0000)]
[NTOSKRNL]
In MmCreateDataFileSection(), when maximum size is higher than file size, don't deal with its allocation size, just move EOF.
This was shown by NtCreateSection() tests.

svn path=/trunk/; revision=73199

7 years ago[KMTESTS:MM]
Pierre Schweitzer [Thu, 10 Nov 2016 21:02:48 +0000 (21:02 +0000)]
[KMTESTS:MM]
Add tests for the NtCreateSection functions which mimic some of the behavior that can be exposed by FSDs (late init, too small files, and so on).
It was designed in W2K3.

svn path=/trunk/; revision=73198

7 years ago[MSAFD] Implement SO_CONNECT_TIME. CORE-12104
Peter Hater [Thu, 10 Nov 2016 17:55:00 +0000 (17:55 +0000)]
[MSAFD] Implement SO_CONNECT_TIME. CORE-12104

svn path=/trunk/; revision=73197

7 years ago[HOST-TOOLS]
Thomas Faber [Thu, 10 Nov 2016 15:34:25 +0000 (15:34 +0000)]
[HOST-TOOLS]
- Fix some GCC6 warnings

svn path=/trunk/; revision=73196

7 years ago[WS2_32_APITESTS] Add nonblocking tests
Peter Hater [Thu, 10 Nov 2016 15:13:19 +0000 (15:13 +0000)]
[WS2_32_APITESTS] Add nonblocking tests

svn path=/trunk/; revision=73195

7 years ago[WS2_32_APITESTS] Add more WSAAsync tests
Peter Hater [Thu, 10 Nov 2016 15:00:44 +0000 (15:00 +0000)]
[WS2_32_APITESTS] Add more WSAAsync tests

svn path=/trunk/; revision=73194

7 years ago[WS2_32_APITEST] Use test.winehq.org insteadof reactos.org. These days main reactos...
Peter Hater [Thu, 10 Nov 2016 14:23:49 +0000 (14:23 +0000)]
[WS2_32_APITEST] Use test.winehq.org insteadof reactos.org. These days main reactos page is too big.

svn path=/trunk/; revision=73193

7 years ago[MSAFD] Fix for WSPStringToAddressA/W wine tests. CORE-12104
Peter Hater [Thu, 10 Nov 2016 11:15:14 +0000 (11:15 +0000)]
[MSAFD] Fix for WSPStringToAddressA/W wine tests. CORE-12104

svn path=/trunk/; revision=73192

7 years ago[FASTFAT]
Thomas Faber [Thu, 10 Nov 2016 11:04:29 +0000 (11:04 +0000)]
[FASTFAT]
- Generate LFNs for files containing non-ASCII characters in their names.
CORE-8617 #resolve

svn path=/trunk/; revision=73191

7 years ago[NTDLL_APITEST]
Thomas Faber [Thu, 10 Nov 2016 10:18:25 +0000 (10:18 +0000)]
[NTDLL_APITEST]
- Add tests for RtlIsNameLegalDOS8Dot3 and RtlUpcaseUnicodeStringToCountedOemString with the ® sign.
CORE-8617

svn path=/trunk/; revision=73190

7 years ago[SHELL32] - CStartMenu: Add missing checks for failure and make some checks noisy...
Giannis Adamopoulos [Thu, 10 Nov 2016 09:34:14 +0000 (09:34 +0000)]
[SHELL32] - CStartMenu: Add missing checks for failure and make some checks noisy. CORE-12300

svn path=/trunk/; revision=73189

7 years ago[SHELL32] - CMenuBand: Don't accept a NULL shell folder in SetShellFolder. Should...
Giannis Adamopoulos [Thu, 10 Nov 2016 08:10:28 +0000 (08:10 +0000)]
[SHELL32] - CMenuBand: Don't accept a NULL shell folder in SetShellFolder. Should fix a test and possibly CORE-12300.

svn path=/trunk/; revision=73188

7 years ago[SHELL32]
Giannis Adamopoulos [Thu, 10 Nov 2016 08:05:13 +0000 (08:05 +0000)]
[SHELL32]
- Make some checks for failure in CDefView and CDefaultContextMenu noisy.

svn path=/trunk/; revision=73187

7 years agoand of course also rename the test itself...
Mark Jansen [Wed, 9 Nov 2016 23:23:50 +0000 (23:23 +0000)]
and of course also rename the test itself...

svn path=/trunk/; revision=73186

7 years agoRename shlexec.cpp to ShellExecuteEx.cpp as suggested by Thomas.
Mark Jansen [Wed, 9 Nov 2016 23:18:23 +0000 (23:18 +0000)]
Rename shlexec.cpp to ShellExecuteEx.cpp as suggested by Thomas.

svn path=/trunk/; revision=73185

7 years ago[PROPSYS_WINETEST]
Thomas Faber [Wed, 9 Nov 2016 22:55:16 +0000 (22:55 +0000)]
[PROPSYS_WINETEST]
- Fix VS2010 build

svn path=/trunk/; revision=73184

7 years agoaddendum to r73180 (aka, fix the build)
Mark Jansen [Wed, 9 Nov 2016 22:24:42 +0000 (22:24 +0000)]
addendum to r73180 (aka, fix the build)

svn path=/trunk/; revision=73183

7 years ago[SHELL32] Automatically add the .exe extension for App Paths in ShellExecuteEx. Patch...
Mark Jansen [Wed, 9 Nov 2016 22:18:33 +0000 (22:18 +0000)]
[SHELL32] Automatically add the .exe extension for App Paths in ShellExecuteEx. Patch by Yaroslav Veremenko. CORE-12049

svn path=/trunk/; revision=73182

7 years ago[EVENTVWR]: Adjust some menu keyboard shortcuts.
Hermès Bélusca-Maïto [Wed, 9 Nov 2016 22:14:20 +0000 (22:14 +0000)]
[EVENTVWR]: Adjust some menu keyboard shortcuts.

svn path=/trunk/; revision=73181

7 years ago[SHELL32_APITEST] Add some tests for ShellExecuteEx showing extension completion...
Mark Jansen [Wed, 9 Nov 2016 22:13:26 +0000 (22:13 +0000)]
[SHELL32_APITEST] Add some tests for ShellExecuteEx showing extension completion with the App Paths registry key. Patch by Yaroslav Veremenko. CORE-12049

svn path=/trunk/; revision=73180

7 years ago[PSDK] fix DNS_RECORDW definition
Christoph von Wittich [Wed, 9 Nov 2016 21:29:09 +0000 (21:29 +0000)]
[PSDK] fix DNS_RECORDW definition

svn path=/trunk/; revision=73179

7 years ago[EXPLORER]: Add missing keyboard shortcuts for some commands.
Hermès Bélusca-Maïto [Wed, 9 Nov 2016 18:03:19 +0000 (18:03 +0000)]
[EXPLORER]: Add missing keyboard shortcuts for some commands.

svn path=/trunk/; revision=73178

7 years ago[MSAFD] Fix possible memory corruption in WSPIoctl. Brought to you by Andreas Maier...
Peter Hater [Wed, 9 Nov 2016 12:05:48 +0000 (12:05 +0000)]
[MSAFD] Fix possible memory corruption in WSPIoctl.  Brought to you by Andreas Maier aka andy-123. Thanks.
CORE-12322

svn path=/trunk/; revision=73177

7 years ago[MSAFD] Minor changes. Code style fixes. tabs->spaces. CORE-12104
Peter Hater [Wed, 9 Nov 2016 11:49:55 +0000 (11:49 +0000)]
[MSAFD] Minor changes. Code style fixes. tabs->spaces. CORE-12104

svn path=/trunk/; revision=73176

7 years ago[BROWSEUI]
Giannis Adamopoulos [Tue, 8 Nov 2016 23:38:42 +0000 (23:38 +0000)]
[BROWSEUI]
- CAddressBand: Call the SetOwner method with NULL parameter to CAddressEditBox to let it know that it should deinitialize.
- CAddressEditBox: Release the connection with the browse window and release the pointer to the site during deinitialization.
- CInternetToolbar: Destroy the toolbar and release pointers when CloseDW method gets called.
- CBaseBar: Destroy the window when SetClient is called with NULL parameter.
- CToolbarProxy: Add a Destroy method to release resources because we hold a pointer to the CInternetToolbar.
- CShellBrowser: When storing the pointer  to the new basebar add a new reference because we directly change the pointer in the smart pointer and not the smart pointer itself. Destroy the toolbar proxy and properly release all references to containted objects. Also expect the reference count of the shell view to reach zero after the internet toolbar gets freed because it also keeps a reference.

This should fix all the leaking objects and windows when closing the shell browser. It should also fix CORE-12066.

svn path=/trunk/; revision=73175

7 years ago[PSDK] add some missing DNS structures, add incomplete dnsrslvr.idl
Christoph von Wittich [Tue, 8 Nov 2016 12:27:55 +0000 (12:27 +0000)]
[PSDK] add some missing DNS structures, add incomplete dnsrslvr.idl

svn path=/trunk/; revision=73174

7 years ago[PSDK] disable SAL for WIDL as well
Christoph von Wittich [Tue, 8 Nov 2016 11:33:54 +0000 (11:33 +0000)]
[PSDK] disable SAL for WIDL as well

svn path=/trunk/; revision=73173

7 years ago[USETUP]
Thomas Faber [Tue, 8 Nov 2016 09:40:05 +0000 (09:40 +0000)]
[USETUP]
- Critical errors are worth a debug print
CORE-11819

svn path=/trunk/; revision=73172

7 years ago[NTOS]: Fix MmPt and DOPE tags.
Hermès Bélusca-Maïto [Mon, 7 Nov 2016 20:41:24 +0000 (20:41 +0000)]
[NTOS]: Fix MmPt and DOPE tags.

svn path=/trunk/; revision=73171

7 years ago[NTOS:IO]: IopCreateDriver(): Set the returned DriverObject value only in case of...
Hermès Bélusca-Maïto [Mon, 7 Nov 2016 15:51:56 +0000 (15:51 +0000)]
[NTOS:IO]: IopCreateDriver(): Set the returned DriverObject value only in case of success.

svn path=/trunk/; revision=73170

7 years ago[TCPIP]
Hermès Bélusca-Maïto [Mon, 7 Nov 2016 15:48:34 +0000 (15:48 +0000)]
[TCPIP]
- Enable logging now that IoWriteErrorLogEntry works.
- Check for log event size before calling IoAllocateErrorLogEntry.
- Reduce code indentation in the logging function.

svn path=/trunk/; revision=73169

7 years ago[NTOS:IO]: An improvement for the total log size check (addendum to r73167).
Hermès Bélusca-Maïto [Mon, 7 Nov 2016 13:57:11 +0000 (13:57 +0000)]
[NTOS:IO]: An improvement for the total log size check (addendum to r73167).

svn path=/trunk/; revision=73168

7 years ago[NTOS:IO][INCLUDES][EVENTLOG]: Fix support for event logging through the "ErrorLogPor...
Hermès Bélusca-Maïto [Mon, 7 Nov 2016 13:29:09 +0000 (13:29 +0000)]
[NTOS:IO][INCLUDES][EVENTLOG]: Fix support for event logging through the "ErrorLogPort" LPC. See the details in CORE-12301 #resolve

svn path=/trunk/; revision=73167

7 years ago[NTOS:LPC]
Hermès Bélusca-Maïto [Mon, 7 Nov 2016 12:35:09 +0000 (12:35 +0000)]
[NTOS:LPC]
- Capture the ServerView/ClientView *only* when those pointers are not NULL.
- Fix a LpcRequest vs. CapturedLpcRequest in a call to LpcpMoveMessage. Caught by Thomas. CORE-7371 CR-100

svn path=/trunk/; revision=73166

7 years ago[MSAFD] Implement SOL_SOCKET/SO_ERROR. CORE-12104
Peter Hater [Mon, 7 Nov 2016 08:50:31 +0000 (08:50 +0000)]
[MSAFD] Implement SOL_SOCKET/SO_ERROR. CORE-12104

svn path=/trunk/; revision=73165

7 years ago[NTOS:LPC]
Hermès Bélusca-Maïto [Mon, 7 Nov 2016 01:24:24 +0000 (01:24 +0000)]
[NTOS:LPC]
- Fix the usage, or add support (for NtSecureConnectPort based on patches by Alexander Andrejevic, and for NtReplyPort, NtReplyWaitReceivePortEx, NtListenPort by me) for capturing user-mode parameters and using SEH in LPC functions.
CORE-7371 #resolve
- Make NtSecureConnectPort call SeQueryInformationToken, now that the latter is implemented since r73122.
- Fix ObDereferenceObject usage for Port vs. ClientPort in NtSecureConnectPort.
- ObCloseHandle certainly needs to be called with the actual 'PreviousMode'.

svn path=/trunk/; revision=73164

7 years ago[NTOS:LPC]: Fix the function prototypes (reference: Process Hacker + how the paramete...
Hermès Bélusca-Maïto [Mon, 7 Nov 2016 01:06:24 +0000 (01:06 +0000)]
[NTOS:LPC]: Fix the function prototypes (reference: Process Hacker + how the parameters are used in the code).
[NOTS][NDK]: Fix whitespace in header files.
[XDK]: Define PORT_MAXIMUM_MESSAGE_LENGTH before actually using it in the different IO_ERROR_LOG_xxx #defines, for consistency purposes.

svn path=/trunk/; revision=73163

7 years ago[NTOS:LPC]: Improve the lisibility of some functions:
Hermès Bélusca-Maïto [Mon, 7 Nov 2016 00:55:34 +0000 (00:55 +0000)]
[NTOS:LPC]: Improve the lisibility of some functions:
- Group together the local parameters used for capturing user variables;
- Add some space between the list of parameters and the beginning of the code proper;
- Rename some variables or move some code to make some different functions look more similar (helps in finding functionality-similar functions in the code);
- Improve some comments;
- Whitespace fixes;
- Few code formatting.
- Use a ExFreePoolWithTag instead of ExFreePool, but otherwise no other functional code changes.

svn path=/trunk/; revision=73162

7 years ago[SHELL32]
Giannis Adamopoulos [Sun, 6 Nov 2016 23:34:22 +0000 (23:34 +0000)]
[SHELL32]
- CShellLink: Zero the pointer to mDropTarget by releasing the smart pointer instead of just releasing the object. This lead to a crash every time CShellLink::DragLeave was called.
CORE-11956

svn path=/trunk/; revision=73161

7 years ago[SHELL32]
Giannis Adamopoulos [Sun, 6 Nov 2016 22:25:02 +0000 (22:25 +0000)]
[SHELL32]
- SHOpenFolderAndSelectItems: Take into account buggy applications like firefox that like to pass full pidls in a PCUITEMID_CHILD_ARRAY.

svn path=/trunk/; revision=73160

7 years ago[SHELL32]
Giannis Adamopoulos [Sun, 6 Nov 2016 21:51:46 +0000 (21:51 +0000)]
[SHELL32]
- Hackplement SHOpenFolderAndSelectItems by using the /select parameter of explorer.exe and selecting only the first of the requested items.
- Implement the "Find Target" button in the properties dialog of shortcuts to use SHOpenFolderAndSelectItems so as we can test it.
Based on the patch of Joachim Henze (reactosfanboy).
CORE-9367

svn path=/trunk/; revision=73159

7 years ago[SHELL32]
Giannis Adamopoulos [Sun, 6 Nov 2016 20:47:21 +0000 (20:47 +0000)]
[SHELL32]
- CDefView: Correct the check for SVSI_EDIT because SVSI_EDIT implies SVSI_SELECT. This actualyl fixes SVSI_SELECT to not cause a rename.

[BROWSEUI]
- ExplorerMessageLoop: Implement the /select parameter for explorer.

svn path=/trunk/; revision=73158

7 years ago[SHELL32]
Giannis Adamopoulos [Sun, 6 Nov 2016 20:13:17 +0000 (20:13 +0000)]
[SHELL32]
- CDesktopBrowser: The flags that SHOpenNewFrame takes are the same that SHExplorerParseCmdLine returns, not the SBSP_ ones.

[BROWSEUI]
- Move the hack to fill the parsed pidl if none was found to SHCreateFromDesktop.
- Convert the SH_EXPLORER_CMDLINE_FLAG_E flag to a SBSP_EXPLOREMODE and pass it to the CShellBrowser.

svn path=/trunk/; revision=73157

7 years ago[COM_APITEST]
Giannis Adamopoulos [Sun, 6 Nov 2016 18:04:58 +0000 (18:04 +0000)]
[COM_APITEST]
- The new interfaces are not registered in the registry
- Add a few interfaces that were discovered for CLSID_Printers and CLSID_QueryAssociations.

svn path=/trunk/; revision=73156

7 years ago[COM_APITEST]
Giannis Adamopoulos [Sun, 6 Nov 2016 17:17:57 +0000 (17:17 +0000)]
[COM_APITEST]
- Test for the undocumented interfaces that were added recently.

svn path=/trunk/; revision=73155

7 years ago[SHLGUID_UNDOC.H] -Add several undocumented interfaces taken from http://www.geoffcha...
Giannis Adamopoulos [Sun, 6 Nov 2016 15:47:35 +0000 (15:47 +0000)]
[SHLGUID_UNDOC.H] -Add several undocumented interfaces taken from geoffchappell.com/studies/windows/shell/shell32/interfaces/index.htm

svn path=/trunk/; revision=73154

7 years ago[KMTESTS]
Thomas Faber [Sun, 6 Nov 2016 15:26:39 +0000 (15:26 +0000)]
[KMTESTS]
- Complete IRPs with STATUS_INVALID_DEVICE_REQUEST by default.
CORE-12295 #resolve

svn path=/trunk/; revision=73153

7 years ago[EVTLIB]: Don't spam the log with "add new record" lines.
Hermès Bélusca-Maïto [Sun, 6 Nov 2016 15:26:20 +0000 (15:26 +0000)]
[EVTLIB]: Don't spam the log with "add new record" lines.

svn path=/trunk/; revision=73152

7 years ago[MKISOFS]
Thomas Faber [Sun, 6 Nov 2016 14:57:13 +0000 (14:57 +0000)]
[MKISOFS]
- Fix build with VS2010 and 2012
CORE-11988

svn path=/trunk/; revision=73151

7 years ago[USBAUDIO]
Johannes Anderwald [Sun, 6 Nov 2016 13:59:39 +0000 (13:59 +0000)]
[USBAUDIO]
- partly implement GetDataRangeIndexForFormat

svn path=/trunk/; revision=73150

7 years ago[PSEH]
Thomas Faber [Sun, 6 Nov 2016 11:49:19 +0000 (11:49 +0000)]
[PSEH]
- Correctly restore the old frame pointer when unwinding in _except_handler3.
CORE-12283 #resolve

svn path=/trunk/; revision=73149

7 years ago[KMTESTS:RTL]
Thomas Faber [Sun, 6 Nov 2016 09:31:09 +0000 (09:31 +0000)]
[KMTESTS:RTL]
- Add a test checking stack frame correctness in a nested __finally handler
CORE-12283

svn path=/trunk/; revision=73148

7 years ago[SHELL32]
Giannis Adamopoulos [Sat, 5 Nov 2016 19:55:29 +0000 (19:55 +0000)]
[SHELL32]
- Only specific shell folders are supposed to return their display name. Consequently, only CRegFolder reads the registry now to get the display name of items.

svn path=/trunk/; revision=73147

7 years ago[ASM]
Thomas Faber [Sat, 5 Nov 2016 18:34:44 +0000 (18:34 +0000)]
[ASM]
- Addendum to r73145 aka fix build

svn path=/trunk/; revision=73146

7 years ago[PSEH]
Thomas Faber [Sat, 5 Nov 2016 18:33:50 +0000 (18:33 +0000)]
[PSEH]
- Make _except_handler3 human-readable
CORE-12283

svn path=/trunk/; revision=73145

7 years ago[CRT]
Thomas Faber [Sat, 5 Nov 2016 18:27:30 +0000 (18:27 +0000)]
[CRT]
- Avoid 'except' as a variable name in math.h, for compatibility with SEH tests

svn path=/trunk/; revision=73144

7 years ago[ADVAPI32] Set REG_NONE type in RegQueryValueExW with certain failure cases. Patch...
Mark Jansen [Sat, 5 Nov 2016 17:46:30 +0000 (17:46 +0000)]
[ADVAPI32] Set REG_NONE type in RegQueryValueExW with certain failure cases. Patch by Victor Martinez Calvo. CORE-9666 #resolve #comment Thanks!

svn path=/trunk/; revision=73143

7 years ago[ADVAPI32_APITEST] Add tests for RegQueryValueExW. Patch by Victor Martinez Calvo...
Mark Jansen [Sat, 5 Nov 2016 17:43:24 +0000 (17:43 +0000)]
[ADVAPI32_APITEST] Add tests for RegQueryValueExW. Patch by Victor Martinez Calvo. ROSTESTS-171 #resolve #comment Thanks!

svn path=/trunk/; revision=73142

7 years ago[MKISOFS] Silence progress spam.
Mark Jansen [Sat, 5 Nov 2016 17:28:00 +0000 (17:28 +0000)]
[MKISOFS] Silence progress spam.

svn path=/trunk/; revision=73141

7 years ago[SHELL32]
Giannis Adamopoulos [Sat, 5 Nov 2016 17:04:15 +0000 (17:04 +0000)]
[SHELL32]
- Make most dll dependencies to be delay loaded just like windows.

svn path=/trunk/; revision=73140

7 years ago[SHELL32]
Giannis Adamopoulos [Sat, 5 Nov 2016 16:45:41 +0000 (16:45 +0000)]
[SHELL32]
- Add missing resource strings for the description of some shell folders.

svn path=/trunk/; revision=73139