Commit graph

67247 commits

Author SHA1 Message Date
Peter Hater b3bee8c862 [WS2_32_APITEST] Use test.winehq.org insteadof reactos.org. These days main reactos page is too big.
svn path=/trunk/; revision=73193
2016-11-10 14:23:49 +00:00
Peter Hater a32e890392 [MSAFD] Fix for WSPStringToAddressA/W wine tests. CORE-12104
svn path=/trunk/; revision=73192
2016-11-10 11:15:14 +00:00
Thomas Faber d26b1ff847 [FASTFAT]
- Generate LFNs for files containing non-ASCII characters in their names.
CORE-8617 #resolve

svn path=/trunk/; revision=73191
2016-11-10 11:04:29 +00:00
Thomas Faber ac5bba8ea8 [NTDLL_APITEST]
- Add tests for RtlIsNameLegalDOS8Dot3 and RtlUpcaseUnicodeStringToCountedOemString with the ® sign.
CORE-8617

svn path=/trunk/; revision=73190
2016-11-10 10:18:25 +00:00
Giannis Adamopoulos 8632758e52 [SHELL32] - CStartMenu: Add missing checks for failure and make some checks noisy. CORE-12300
svn path=/trunk/; revision=73189
2016-11-10 09:34:14 +00:00
Giannis Adamopoulos 0125f9192d [SHELL32] - CMenuBand: Don't accept a NULL shell folder in SetShellFolder. Should fix a test and possibly CORE-12300.
svn path=/trunk/; revision=73188
2016-11-10 08:10:28 +00:00
Giannis Adamopoulos d2812c3e70 [SHELL32]
- Make some checks for failure in CDefView and CDefaultContextMenu noisy.

svn path=/trunk/; revision=73187
2016-11-10 08:05:13 +00:00
Mark Jansen f6c36fb82e and of course also rename the test itself...
svn path=/trunk/; revision=73186
2016-11-09 23:23:50 +00:00
Mark Jansen cae3a4455e Rename shlexec.cpp to ShellExecuteEx.cpp as suggested by Thomas.
svn path=/trunk/; revision=73185
2016-11-09 23:18:23 +00:00
Thomas Faber 03d2a4b809 [PROPSYS_WINETEST]
- Fix VS2010 build

svn path=/trunk/; revision=73184
2016-11-09 22:55:16 +00:00
Mark Jansen c707b2d936 addendum to r73180 (aka, fix the build)
svn path=/trunk/; revision=73183
2016-11-09 22:24:42 +00:00
Mark Jansen 813cc3f137 [SHELL32] Automatically add the .exe extension for App Paths in ShellExecuteEx. Patch by Yaroslav Veremenko. CORE-12049
svn path=/trunk/; revision=73182
2016-11-09 22:18:33 +00:00
Hermès Bélusca-Maïto 1d2fe2375a [EVENTVWR]: Adjust some menu keyboard shortcuts.
svn path=/trunk/; revision=73181
2016-11-09 22:14:20 +00:00
Mark Jansen 353c67c0d4 [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
2016-11-09 22:13:26 +00:00
Christoph von Wittich d4c71dda90 [PSDK] fix DNS_RECORDW definition
svn path=/trunk/; revision=73179
2016-11-09 21:29:09 +00:00
Hermès Bélusca-Maïto 54c7babbb3 [EXPLORER]: Add missing keyboard shortcuts for some commands.
svn path=/trunk/; revision=73178
2016-11-09 18:03:19 +00:00
Peter Hater 38d1fdf118 [MSAFD] Fix possible memory corruption in WSPIoctl. Brought to you by Andreas Maier aka andy-123. Thanks.
CORE-12322

svn path=/trunk/; revision=73177
2016-11-09 12:05:48 +00:00
Peter Hater 781673fa3d [MSAFD] Minor changes. Code style fixes. tabs->spaces. CORE-12104
svn path=/trunk/; revision=73176
2016-11-09 11:49:55 +00:00
Giannis Adamopoulos 2c118e1890 [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
2016-11-08 23:38:42 +00:00
Christoph von Wittich a0aeb266fa [PSDK] add some missing DNS structures, add incomplete dnsrslvr.idl
svn path=/trunk/; revision=73174
2016-11-08 12:27:55 +00:00
Christoph von Wittich 4c9e70a899 [PSDK] disable SAL for WIDL as well
svn path=/trunk/; revision=73173
2016-11-08 11:33:54 +00:00
Thomas Faber 602c2dd81e [USETUP]
- Critical errors are worth a debug print
CORE-11819

svn path=/trunk/; revision=73172
2016-11-08 09:40:05 +00:00
Hermès Bélusca-Maïto a9c9bed2e2 [NTOS]: Fix MmPt and DOPE tags.
svn path=/trunk/; revision=73171
2016-11-07 20:41:24 +00:00
Hermès Bélusca-Maïto 98ffc124f5 [NTOS:IO]: IopCreateDriver(): Set the returned DriverObject value only in case of success.
svn path=/trunk/; revision=73170
2016-11-07 15:51:56 +00:00
Hermès Bélusca-Maïto 12e8ef0213 [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
2016-11-07 15:48:34 +00:00
Hermès Bélusca-Maïto 323bd18771 [NTOS:IO]: An improvement for the total log size check (addendum to r73167).
svn path=/trunk/; revision=73168
2016-11-07 13:57:11 +00:00
Hermès Bélusca-Maïto 0dfecf815d [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
2016-11-07 13:29:09 +00:00
Hermès Bélusca-Maïto 824c5e07c0 [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
2016-11-07 12:35:09 +00:00
Peter Hater 09207124de [MSAFD] Implement SOL_SOCKET/SO_ERROR. CORE-12104
svn path=/trunk/; revision=73165
2016-11-07 08:50:31 +00:00
Hermès Bélusca-Maïto f197af7358 [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
2016-11-07 01:24:24 +00:00
Hermès Bélusca-Maïto a066c5bbb0 [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
2016-11-07 01:06:24 +00:00
Hermès Bélusca-Maïto 06807aee1b [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
2016-11-07 00:55:34 +00:00
Giannis Adamopoulos bb59ec3e6e [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
2016-11-06 23:34:22 +00:00
Giannis Adamopoulos f4a1861aab [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
2016-11-06 22:25:02 +00:00
Giannis Adamopoulos b183748a87 [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
2016-11-06 21:51:46 +00:00
Giannis Adamopoulos 0814bc5358 [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
2016-11-06 20:47:21 +00:00
Giannis Adamopoulos 3c58a339dc [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
2016-11-06 20:13:17 +00:00
Giannis Adamopoulos ce0d9e3727 [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
2016-11-06 18:04:58 +00:00
Giannis Adamopoulos d0aa105b59 [COM_APITEST]
- Test for the undocumented interfaces that were added recently.

svn path=/trunk/; revision=73155
2016-11-06 17:17:57 +00:00
Giannis Adamopoulos 55ed87f042 [SHLGUID_UNDOC.H] -Add several undocumented interfaces taken from http://www.geoffchappell.com/studies/windows/shell/shell32/interfaces/index.htm
svn path=/trunk/; revision=73154
2016-11-06 15:47:35 +00:00
Thomas Faber 42ce59cdd2 [KMTESTS]
- Complete IRPs with STATUS_INVALID_DEVICE_REQUEST by default.
CORE-12295 #resolve

svn path=/trunk/; revision=73153
2016-11-06 15:26:39 +00:00
Hermès Bélusca-Maïto 4ce821ad14 [EVTLIB]: Don't spam the log with "add new record" lines.
svn path=/trunk/; revision=73152
2016-11-06 15:26:20 +00:00
Thomas Faber fa7d321cf7 [MKISOFS]
- Fix build with VS2010 and 2012
CORE-11988

svn path=/trunk/; revision=73151
2016-11-06 14:57:13 +00:00
Johannes Anderwald 99e69d6761 [USBAUDIO]
- partly implement GetDataRangeIndexForFormat

svn path=/trunk/; revision=73150
2016-11-06 13:59:39 +00:00
Thomas Faber 0c93077425 [PSEH]
- Correctly restore the old frame pointer when unwinding in _except_handler3.
CORE-12283 #resolve

svn path=/trunk/; revision=73149
2016-11-06 11:49:19 +00:00
Thomas Faber 52adca06a9 [KMTESTS:RTL]
- Add a test checking stack frame correctness in a nested __finally handler
CORE-12283

svn path=/trunk/; revision=73148
2016-11-06 09:31:09 +00:00
Giannis Adamopoulos 034a3f9f20 [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
2016-11-05 19:55:29 +00:00
Thomas Faber f2495ba422 [ASM]
- Addendum to r73145 aka fix build

svn path=/trunk/; revision=73146
2016-11-05 18:34:44 +00:00
Thomas Faber 2c8f2ae901 [PSEH]
- Make _except_handler3 human-readable
CORE-12283

svn path=/trunk/; revision=73145
2016-11-05 18:33:50 +00:00
Thomas Faber 7eea8b9401 [CRT]
- Avoid 'except' as a variable name in math.h, for compatibility with SEH tests

svn path=/trunk/; revision=73144
2016-11-05 18:27:30 +00:00