reactos.git
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

7 years ago[USBAUDIO]
Johannes Anderwald [Sat, 5 Nov 2016 16:38:59 +0000 (16:38 +0000)]
[USBAUDIO]
- store remaining audio bytes in a common buffer, which will be sent on next request
- fixes some of audio distortion issues

svn path=/trunk/; revision=73138

7 years ago[SHELL32]
Giannis Adamopoulos [Sat, 5 Nov 2016 16:33:24 +0000 (16:33 +0000)]
[SHELL32]
- Properly add Printers folder in Control Panel.
CORE-12193

svn path=/trunk/; revision=73137

7 years ago[SHELL32] Improve the choose icon dialog. Patch by Jared Smudde, edited by me. CORE...
Mark Jansen [Sat, 5 Nov 2016 16:12:09 +0000 (16:12 +0000)]
[SHELL32] Improve the choose icon dialog. Patch by Jared Smudde, edited by me. CORE-11792 #resolve
Translators, please check this dialog in your language, some text is changed!

svn path=/trunk/; revision=73136

7 years ago[CRT]
Thomas Faber [Sat, 5 Nov 2016 16:05:02 +0000 (16:05 +0000)]
[CRT]
- Remove SEH code that's duplicated in the pseh library.
CORE-12283

svn path=/trunk/; revision=73135

7 years ago[SHELL32]
Giannis Adamopoulos [Sat, 5 Nov 2016 15:05:00 +0000 (15:05 +0000)]
[SHELL32]
CDesktopBrowser: Forward the parameters pased in CDesktopBrowser::BrowseObject to SHOpenNewFrame. Thus the same parameters are eventually passed to CShellBrowser::Initialize.

[BROWSEUI]
CShellBrowser: Handle SBSP_EXPLOREMODE flag so as to show the tree view when the user selects the Explore option from the context menu.

svn path=/trunk/; revision=73134

7 years ago[BASE] Spelling fixes by Josh Soref. CORE-12286
Amine Khaldi [Sat, 5 Nov 2016 14:55:55 +0000 (14:55 +0000)]
[BASE] Spelling fixes by Josh Soref. CORE-12286

svn path=/trunk/; revision=73133

7 years ago[BROWSEUI]
Giannis Adamopoulos [Sat, 5 Nov 2016 14:40:55 +0000 (14:40 +0000)]
[BROWSEUI]
- CShellBrowser: Add some checks for failures that we re missing.
- CAddressEditBox: Add some checks for failures that we re missing.
- SHCreateFromDesktop: Actually create the proxy desktop window when needed and keep its handle and prefer it when we try to find the proxy desktop window.
- Wake the message queue of the proxy desktop after a browser thread exits so the proxy desktop can exit when the last browser thread exits.
- Add a hack to prefer to show my documents if we ended up trying to open a browser window with a NULL pidl. This is a hack that is needed because SHExplorerParseCmdLine is broken.
- Finally this fixes using "explorer /separate" and also fixes the separate process to exit when the last browser gets closed (this fix also applies to filebrowser.exe which no longer lives forever).
CORE-12168

svn path=/trunk/; revision=73132

7 years ago[BROWSEUI]
Giannis Adamopoulos [Sat, 5 Nov 2016 00:09:51 +0000 (00:09 +0000)]
[BROWSEUI]
- CAddressEditBox: Implement handling relative paths in the addressbar of explore in addition to absolute paths.

svn path=/trunk/; revision=73130

7 years ago[BROWSEUI]
Giannis Adamopoulos [Fri, 4 Nov 2016 23:56:02 +0000 (23:56 +0000)]
[BROWSEUI]
- CShellBrowser: Add a standard ShellObjectCreatorInit constructor and make its initializer take a pidl and flags.
- Move BrowserThreadProc to desktopipc.cpp where the lifetime of the browser thread will be managed.

svn path=/trunk/; revision=73129

7 years ago[SHELL32]
Giannis Adamopoulos [Fri, 4 Nov 2016 23:11:29 +0000 (23:11 +0000)]
[SHELL32]
- Implement comparing child items in CompareIDs method of our IShellFolder immplementation in shell32 as this is the expected behaviour according to tests and documentation.
- This was removed after each folder got its own implementation (we used a single one from wine that did handle it).
May fix CORE-12106.

svn path=/trunk/; revision=73128

7 years ago[SDK]
Johannes Anderwald [Fri, 4 Nov 2016 18:38:07 +0000 (18:38 +0000)]
[SDK]
- fix build
- thanks learn_more

svn path=/trunk/; revision=73127

7 years ago[SDK]
Johannes Anderwald [Fri, 4 Nov 2016 18:14:40 +0000 (18:14 +0000)]
[SDK]
- add newline

svn path=/trunk/; revision=73126

7 years ago[SDK]
Johannes Anderwald [Fri, 4 Nov 2016 18:12:00 +0000 (18:12 +0000)]
[SDK]
- add prototypes

svn path=/trunk/; revision=73125

7 years ago[USBAUDIO]
Johannes Anderwald [Fri, 4 Nov 2016 18:07:44 +0000 (18:07 +0000)]
[USBAUDIO]
- fix buffer calculation for usb headsets
- usb headsets now partially work with usbaudio in win2k3

svn path=/trunk/; revision=73124

7 years ago[MSAFD] Check params on WSAAceept. CORE-12104
Peter Hater [Fri, 4 Nov 2016 18:03:15 +0000 (18:03 +0000)]
[MSAFD] Check params on WSAAceept. CORE-12104

svn path=/trunk/; revision=73123

7 years ago[NTOS]
Hermès Bélusca-Maïto [Fri, 4 Nov 2016 17:52:32 +0000 (17:52 +0000)]
[NTOS]
- accesschk.c: Remove redundant SepAccessCheck/SepAccessCheckEx pair of private functions; instead just rename SepAccessCheckEx into SepAccessCheck and use it directly in the code. NOTE: SepAccessCheck is *incomplete* (in particular it doesn't retrieve the information needed to initialize the 'Privileges' parameter).
- sid.c: Comments formatting fix.
- token.c:
  * Finish to implement SeQueryInformationToken . This function is really the same as NtQueryInformationToken but without all the stuff needed for user-mode buffer access protection.
  * Some code simplifications in NtQueryInformationToken.
  I need this to fix a "FIXME: Use SeQueryInformationToken" in some code I'm also fixing (& commit later).

[NDK]: Fix parameter types and add annotations to RtlCopySidAndAttributesArray.

[KMTESTS:NTOS_SE]
- Reenable the 'SeQueryInfoToken' test.
- Show that SeQueryInformationToken doesn't support 4 token information classes, which are supported only by NtQueryInformationToken.
- Fix calling of SeAccessCheck. In particular the 'Privileges' parameter is not allocated by the caller, but instead is allocated by SeAccessCheck *and* returned to the caller (who then must free the buffer using SeFreePrivileges). This fixes the encountered BSODs that leaded to disabling preventively the test in r59178.
- Minor code cleaning.

svn path=/trunk/; revision=73122

7 years ago[SHELL32_APITEST]
Giannis Adamopoulos [Fri, 4 Nov 2016 17:31:53 +0000 (17:31 +0000)]
[SHELL32_APITEST]
- Add extensive tests for SHParseDisplayName. I tried to add as many as possible  but this list of tests is still incomplete. In the meantime I discovered interesting stuff like the "shell:system" path which if you enter in the run dialog will open the system32 folder. I tried to test parsing protocols like ftp paths but couldn't find wht it should look like yet. Afaik all protocol except for the shell protocol like the one mentioned before should be parsed by CInternet class as noted in the appropriate comment in the tests.

svn path=/trunk/; revision=73121

7 years ago[MSAFD] Disable setting blocking mode if there are WSPAsyncSelect or WSPEventSelect...
Peter Hater [Fri, 4 Nov 2016 09:38:21 +0000 (09:38 +0000)]
[MSAFD] Disable setting blocking mode if there are WSPAsyncSelect or WSPEventSelect pending calls. CORE-12104

svn path=/trunk/; revision=73120

7 years ago[NETCFGX] Compensate for the proper widths until we have sane font support. Suggestio...
Amine Khaldi [Fri, 4 Nov 2016 09:28:44 +0000 (09:28 +0000)]
[NETCFGX] Compensate for the proper widths until we have sane font support. Suggestion by Jim, patch by Doug Lyons. CORE-12094

svn path=/trunk/; revision=73117

7 years ago[NTOSKRNL]
Pierre Schweitzer [Thu, 3 Nov 2016 21:49:55 +0000 (21:49 +0000)]
[NTOSKRNL]
In IoWritePartitionTableEx(), don't return STATUS_SUCCESS when we cannot write GPT to higher partitions count than space available; return STATUS_INVALID_PARAMETER.

svn path=/trunk/; revision=73114

7 years ago[DISK]
Pierre Schweitzer [Thu, 3 Nov 2016 21:38:56 +0000 (21:38 +0000)]
[DISK]
Don't overflow when computing disk size.
Patch by Vort.

CORE-12261

svn path=/trunk/; revision=73113

7 years ago[NTOSKRNL]
Pierre Schweitzer [Thu, 3 Nov 2016 21:13:30 +0000 (21:13 +0000)]
[NTOSKRNL]
For now, disable broken code in FstubReadPartitionTableEFI(). In its current state, it wrongly assumes backup GPT is broken and thus attempts to fix main GPT (?!).
Furthermore, it appears Windows 2K3 doesn't perform such checks, nor such GPT rewritings in FstubReadPartitionTableEFI().

CORE-12261

svn path=/trunk/; revision=73112

7 years ago[WHOAMI]: Use the conutils (stream) library for console output (see also r65894).
Hermès Bélusca-Maïto [Thu, 3 Nov 2016 16:30:48 +0000 (16:30 +0000)]
[WHOAMI]: Use the conutils (stream) library for console output (see also r65894).
CORE-8965 CORE-10504

svn path=/trunk/; revision=73111

7 years ago[CONUTILS]: Remove that overengineered splitted library stuff, and just rely on the...
Hermès Bélusca-Maïto [Thu, 3 Nov 2016 15:47:45 +0000 (15:47 +0000)]
[CONUTILS]: Remove that overengineered splitted library stuff, and just rely on the splitting of the source code files instead. This is simpler and does the same job as I wanted to do initially (thanks Amine and Thomas for the feedback).
CORE-10504 #resolve
[APPS]: Use again just the conutils library.
The effect of these two modifications above is to partly revert r73024 (the code splitting remains on the contrary).
[CMAKE]: Remove the "evil workaround" (revert r73027). See CORE-12206 for more details.

svn path=/trunk/; revision=73110

7 years ago[TCPIP] Always copy back bind IP in connection. Spotted by Thomas. Thanks
Peter Hater [Thu, 3 Nov 2016 14:53:00 +0000 (14:53 +0000)]
[TCPIP] Always copy back bind IP in connection. Spotted by Thomas. Thanks
CORE-12152

svn path=/trunk/; revision=73109

7 years ago[USETUP]
Thomas Faber [Thu, 3 Nov 2016 14:14:19 +0000 (14:14 +0000)]
[USETUP]
- A fatal error when creating the install directory is worth a DPRINT1
CORE-11819

svn path=/trunk/; revision=73108

7 years ago[USBAUDIO]
Johannes Anderwald [Thu, 3 Nov 2016 13:44:01 +0000 (13:44 +0000)]
[USBAUDIO]
- frequencies may appear unsorted, handle that

svn path=/trunk/; revision=73107

7 years ago[USBAUDIO]
Johannes Anderwald [Thu, 3 Nov 2016 13:26:45 +0000 (13:26 +0000)]
[USBAUDIO]
- include controls from logical channels
- process selector unit descriptors
- automatic gain is KSNODETYPE_AGC

svn path=/trunk/; revision=73106

7 years ago[BOOTDATA]: Fix the indentation of the file(..) commands, noted by Thomas.
Hermès Bélusca-Maïto [Wed, 2 Nov 2016 21:49:50 +0000 (21:49 +0000)]
[BOOTDATA]: Fix the indentation of the file(..) commands, noted by Thomas.

svn path=/trunk/; revision=73105

7 years ago[BOOTDATA]: Diverse improvements for mkisofs support and ISO image configuration:
Hermès Bélusca-Maïto [Wed, 2 Nov 2016 21:43:46 +0000 (21:43 +0000)]
[BOOTDATA]: Diverse improvements for mkisofs support and ISO image configuration:
- Make our build system create the required empty directory for mkisofs, instead. (It's not the purpose of the SVN to hold special files/directories just to make host tools happy; instead it's the job of the buld system to create them.)
- Place the boot files (catalog & co.) preferably at the beginning of the ISO image (it makes ISO image analysis easier, and is back-compatible with cdmake & oscdimg & windows ISOs): use the build system to generate the mkisofs sorting file. See the CMakeLists.txt for more details.
- Set in one place the ISO manufacturer & volume name strings so that it makes easier to bulk-change them (and makes features like CORE-12233 a bit easier to maintain).
- The EFI image must be set up with no emulation mode! (See section "12.3.2.1 ISO-9660 and El Torito" of the UEFI spec v2.4 errata B, for example).

[MKISOFS]: Add some useful offline documentation.

CORE-11988

svn path=/trunk/; revision=73104

7 years ago[NDK]
Pierre Schweitzer [Wed, 2 Nov 2016 19:46:46 +0000 (19:46 +0000)]
[NDK]
Properly export functions for C++ code

svn path=/trunk/; revision=73103

7 years ago[BTRFS]
Pierre Schweitzer [Wed, 2 Nov 2016 19:40:50 +0000 (19:40 +0000)]
[BTRFS]
Enable the BTRFS shell registration

svn path=/trunk/; revision=73102

7 years ago[DOC]
Pierre Schweitzer [Wed, 2 Nov 2016 19:38:39 +0000 (19:38 +0000)]
[DOC]
Update sync status reading BTRFS

svn path=/trunk/; revision=73101

7 years ago[BTRFS]
Pierre Schweitzer [Wed, 2 Nov 2016 19:36:59 +0000 (19:36 +0000)]
[BTRFS]
Import the BTRFS driver shell extension. It allows having a finer control on btrfs volumes.
Note that not everything works in ReactOS and its usage may lead to bugchecks...

CORE-10892

svn path=/trunk/; revision=73100

7 years ago[CHARMAP_NEW] Fix a copy pasta.
Amine Khaldi [Wed, 2 Nov 2016 19:19:17 +0000 (19:19 +0000)]
[CHARMAP_NEW] Fix a copy pasta.

svn path=/trunk/; revision=73099

7 years ago[SERVMAN] Sort out header inclusions.
Amine Khaldi [Wed, 2 Nov 2016 18:55:51 +0000 (18:55 +0000)]
[SERVMAN] Sort out header inclusions.

svn path=/trunk/; revision=73098

7 years ago[SETUPAPI] Forward pSetup[Malloc|Realloc|Free] to My[Malloc|Realloc|Free] as wine...
Mark Jansen [Wed, 2 Nov 2016 18:31:46 +0000 (18:31 +0000)]
[SETUPAPI] Forward pSetup[Malloc|Realloc|Free] to My[Malloc|Realloc|Free] as wine does. Spotted by Jared Smudde. CORE-12262

svn path=/trunk/; revision=73097

7 years ago[MSAFD] Add more checks for lpErrno. Rearrange start of some functions to avoid creat...
Peter Hater [Wed, 2 Nov 2016 15:36:26 +0000 (15:36 +0000)]
[MSAFD] Add more checks for lpErrno. Rearrange start of some functions to avoid creation and disposal of event of socket handle or parameter(s) is wrong. Other small changes
CORE-12104

svn path=/trunk/; revision=73096

7 years ago[TCPIP] Copy back unicast IP if broadcast is specified for listen.
Peter Hater [Wed, 2 Nov 2016 11:24:08 +0000 (11:24 +0000)]
[TCPIP] Copy back unicast IP if broadcast is specified for listen.
CORE-12152

svn path=/trunk/; revision=73095

7 years ago[USBAUDIO]
Johannes Anderwald [Wed, 2 Nov 2016 09:55:18 +0000 (09:55 +0000)]
[USBAUDIO]
- remove setting InstancesNecessary as it causes problems with KsStudio
- start implementing support for usb headsets
- use endpoint address in UsbAudioSetFormat
- rewrite USBAudioSelectAudioStreamingInterface to select the interface based on the format index chosen

svn path=/trunk/; revision=73094

7 years ago[MPR]
Pierre Schweitzer [Mon, 31 Oct 2016 21:27:02 +0000 (21:27 +0000)]
[MPR]
Implement saved connections restoration.
This is a bit hackish for now: it should only be attempted once, when the DLL is loaded on session login. Right now, it's attempt each time the DLL is loaded (ie, even when a program linking to it is started). This is to be fixed later on. So far, it brings the intended feature.

Now, you can create a connection with net use, save it, and reboot: it will be restored on the session opening.

CORE-11757

svn path=/trunk/; revision=73093

7 years ago[MPR]
Pierre Schweitzer [Mon, 31 Oct 2016 21:20:32 +0000 (21:20 +0000)]
[MPR]
Delete saved connection on disconnection if asked (even though the resource wasn't connected).
This allows net use to properly remove connections it may have created.

CORE-11757

svn path=/trunk/; revision=73092

7 years ago[MPR]
Pierre Schweitzer [Mon, 31 Oct 2016 21:17:46 +0000 (21:17 +0000)]
[MPR]
Allow saving connections when using WNetUseConnection(), WNetAddConnection2().
It makes the "net use /persistent" switch working (ie, saving connection - not restoring connections).

CORE-11757

svn path=/trunk/; revision=73091

7 years ago[USBAUDIO]
Johannes Anderwald [Mon, 31 Oct 2016 20:45:23 +0000 (20:45 +0000)]
[USBAUDIO]
- initialize pin with correct flags
- enumerate all dataranges for an input / output terminal

svn path=/trunk/; revision=73090

7 years ago[KERNEL32_WINETEST]
Jérôme Gardou [Mon, 31 Oct 2016 11:51:50 +0000 (11:51 +0000)]
[KERNEL32_WINETEST]
 - Guard page and ATL thunks tests work fine. Enable them.
ROSTESTS-155 #resolve

svn path=/trunk/; revision=73089

7 years ago[User32]
James Tabor [Mon, 31 Oct 2016 01:18:43 +0000 (01:18 +0000)]
[User32]
- Leave Dialog Procedure calls protected with SEH, the same as windows.
- See CORE-12182, CORE-12111 and related issues.

svn path=/trunk/; revision=73088

7 years ago[NTVDM]: Properly fixes build. Addendum to r73082, supersedes r73084.
Hermès Bélusca-Maïto [Sun, 30 Oct 2016 20:27:05 +0000 (20:27 +0000)]
[NTVDM]: Properly fixes build. Addendum to r73082, supersedes r73084.
CORE-10340

svn path=/trunk/; revision=73085

7 years agoAddendum to r73082
Mark Jansen [Sun, 30 Oct 2016 19:52:53 +0000 (19:52 +0000)]
Addendum to r73082

svn path=/trunk/; revision=73084

7 years ago[APPHELP][APPHELP_APITEST] Update db apitests to succeed from 2k3 to 10, paving the...
Mark Jansen [Sun, 30 Oct 2016 19:39:43 +0000 (19:39 +0000)]
[APPHELP][APPHELP_APITEST] Update db apitests to succeed from 2k3 to 10, paving the way for the next set of tests.
- Support 2k3 and Vista+ versions of the SDBQUERYRESULT structure.
- Add tests for SdbFindFirstNamedTag, SdbTagIDToTagRef, SdbGetLayerTagRef
- Implement SdbFindFirstNamedTag, SdbTagIDToTagRef, SdbGetLayerTagRef
- Add a version resource to apphelp, so that we can use it to identify which tests to use.

svn path=/trunk/; revision=73083

7 years agoArt work commit:
Hermès Bélusca-Maïto [Sun, 30 Oct 2016 19:02:15 +0000 (19:02 +0000)]
Art work commit:
[PIFMGR]: Update the 16-colour version of the computer icon.
[NTVDM]: Add the tangoified versions of the NTVDM computer icon by Ismael Ferreras Morezuelas. Also update the Tango PC-AT and XT icons.
CORE-10340 #resolve #comment Committed in r73082, thanks to you all!

svn path=/trunk/; revision=73082

7 years ago[BTRFS]: Fix compilation with MSVC too, as we don't have the 'FileFsSectorSizeInforma...
Hermès Bélusca-Maïto [Sun, 30 Oct 2016 14:14:27 +0000 (14:14 +0000)]
[BTRFS]: Fix compilation with MSVC too, as we don't have the 'FileFsSectorSizeInformation' FS information class in our headers (this is some Win8+ stuff).
CORE-12223 #comment MSVC compilation fixed in r73078 ('FileFsSectorSizeInformation' absent in our headers).

svn path=/trunk/; revision=73078

7 years ago[REGSVR32] Disable error message boxes while loading a dll. CORE-12209
Mark Jansen [Sun, 30 Oct 2016 11:50:10 +0000 (11:50 +0000)]
[REGSVR32] Disable error message boxes while loading a dll. CORE-12209

svn path=/trunk/; revision=73077

7 years ago[MKISOFS]
Thomas Faber [Sun, 30 Oct 2016 09:44:29 +0000 (09:44 +0000)]
[MKISOFS]
- Fix Win64 build -- the define is _WIN32, not WIN32.
CORE-11988

svn path=/trunk/; revision=73076

7 years ago[RPCRT4]
Pierre Schweitzer [Sun, 30 Oct 2016 09:17:42 +0000 (09:17 +0000)]
[RPCRT4]
Import Wine commit (by Alexandre Julliard):
7b0c2cdbcd64cffa2f5c5a37f55799b114132b59, Remove noisy fixme.

svn path=/trunk/; revision=73075

7 years agoRevert r73068 and r73070
Peter Hater [Sun, 30 Oct 2016 05:58:02 +0000 (05:58 +0000)]
Revert r73068 and r73070
Current tests are obviously not enough to declare them OK.
I'll add more tests first

svn path=/trunk/; revision=73074

7 years ago[FASTFAT]
Thomas Faber [Sat, 29 Oct 2016 20:30:49 +0000 (20:30 +0000)]
[FASTFAT]
- Only lock down the user buffer in the non-cached read/write case. CcCopyRead/CcCopyWrite takes care of this in the cached case, and does not impose a size limit like an MDL does.
CORE-12132 #resolve

svn path=/trunk/; revision=73072

7 years ago[NTDLL_APITEST]
Thomas Faber [Sat, 29 Oct 2016 20:14:16 +0000 (20:14 +0000)]
[NTDLL_APITEST]
- Add a test for NtReadFile, also covering buffer size too large for an MDL
CORE-12132

svn path=/trunk/; revision=73071

7 years ago[MSAFD] Implement async connect
Peter Hater [Sat, 29 Oct 2016 18:38:27 +0000 (18:38 +0000)]
[MSAFD] Implement async connect
CORE-12152 #resolve

svn path=/trunk/; revision=73070

7 years ago[MSAFD][WS2_32] Better WSASocket parameters check
Peter Hater [Sat, 29 Oct 2016 18:22:22 +0000 (18:22 +0000)]
[MSAFD][WS2_32] Better WSASocket parameters check
CORE-12104

svn path=/trunk/; revision=73068

7 years ago[BTRFS]
Pierre Schweitzer [Sat, 29 Oct 2016 17:05:10 +0000 (17:05 +0000)]
[BTRFS]
Sync btrfs to 0.7.

CORE-12223

svn path=/trunk/; revision=73062

7 years ago[DDK]
Pierre Schweitzer [Sat, 29 Oct 2016 16:53:45 +0000 (16:53 +0000)]
[DDK]
Define IDENTIFY_DEVICE_DATA (from MSDN).

CORE-12223

svn path=/trunk/; revision=73061

7 years ago[MKISOFS]
Thomas Faber [Sat, 29 Oct 2016 11:54:19 +0000 (11:54 +0000)]
[MKISOFS]
- Fix VS 2015 build
CORE-11988

svn path=/trunk/; revision=73060

7 years ago[NTDLL_APITEST]
Thomas Faber [Sat, 29 Oct 2016 11:39:07 +0000 (11:39 +0000)]
[NTDLL_APITEST]
- Add tests for NtWriteFile with buffer sizes larger than an MDL can describe.
CORE-12132

svn path=/trunk/; revision=73059

7 years ago[KMTESTS:IO]
Thomas Faber [Sat, 29 Oct 2016 11:20:58 +0000 (11:20 +0000)]
[KMTESTS:IO]
- Add a test case for trying to open a file "inside" a file to IoFilesystem
ROSTESTS-135

svn path=/trunk/; revision=73058

7 years ago[MSPAINT] refactor RegistrySettings::SetWallpaper, also changing its signature to...
Benedikt Freisen [Fri, 28 Oct 2016 19:48:25 +0000 (19:48 +0000)]
[MSPAINT] refactor RegistrySettings::SetWallpaper, also changing its signature to make it more usable

svn path=/trunk/; revision=73055