reactos.git
24 min ago[WIN32SS][NTDDRAW] Remove debug dump. Forgot about this. master trunk
sgasiorek [Sat, 24 Jun 2017 13:21:24 +0000 (13:21 +0000)]
[WIN32SS][NTDDRAW] Remove debug dump. Forgot about this.

git-svn-id: file:///srv/svn/reactos/trunk@75181 97493ccd-5924-5043-b1f5-66cb403b36ce

69 min ago[WIN32SS][NTDDRAW] Remove debug dump of structures during ReactX initialisation....
sgasiorek [Sat, 24 Jun 2017 12:36:19 +0000 (12:36 +0000)]
[WIN32SS][NTDDRAW] Remove debug dump of structures during ReactX initialisation. It's not needed and shouldn't be commited.

git-svn-id: file:///srv/svn/reactos/trunk@75180 97493ccd-5924-5043-b1f5-66cb403b36ce

91 min ago[DXG] Replace wrong PLONG with PBYTE as it was in original development. CORE-13392
sgasiorek [Sat, 24 Jun 2017 12:14:01 +0000 (12:14 +0000)]
[DXG] Replace wrong PLONG with PBYTE as it was in original development. CORE-13392

git-svn-id: file:///srv/svn/reactos/trunk@75179 97493ccd-5924-5043-b1f5-66cb403b36ce

14 hours ago[NTOBJSHEX]
dquintana [Fri, 23 Jun 2017 23:23:17 +0000 (23:23 +0000)]
[NTOBJSHEX]
Make nt object symlinks work more like shortcuts. Fixes the addressbar not quite knowing what to show when you click on a symlink.

git-svn-id: file:///srv/svn/reactos/trunk@75177 97493ccd-5924-5043-b1f5-66cb403b36ce

16 hours ago[NTOBJSHEX]
dquintana [Fri, 23 Jun 2017 21:40:19 +0000 (21:40 +0000)]
[NTOBJSHEX]
Make GCC happy.

git-svn-id: file:///srv/svn/reactos/trunk@75176 97493ccd-5924-5043-b1f5-66cb403b36ce

16 hours ago[NTOBJSHEX]
dquintana [Fri, 23 Jun 2017 21:28:36 +0000 (21:28 +0000)]
[NTOBJSHEX]
* Added a common superclass for the ntobj and registry folders.
* Refactored the ntobj and registry folders to make use of this superclass.
* Removed the concept of a "pidl helper", since it works best to just have the methods be part of the folders.
* Cleaned up the ItemID comparison logic.

git-svn-id: file:///srv/svn/reactos/trunk@75175 97493ccd-5924-5043-b1f5-66cb403b36ce

18 hours ago[MPR]
pschweitzer [Fri, 23 Jun 2017 19:29:31 +0000 (19:29 +0000)]
[MPR]
Import Wine commit:
8d461c1f42b0b667b2aa6a235d007eea1dd6f561, Don't stop enumeration on the first failing network provider.

This fixes 'net use' stoping connections enumeration when a network returns an error or no connection.

CORE-13475

git-svn-id: file:///srv/svn/reactos/trunk@75173 97493ccd-5924-5043-b1f5-66cb403b36ce

18 hours ago[MPR]
pschweitzer [Fri, 23 Jun 2017 19:21:29 +0000 (19:21 +0000)]
[MPR]
Import Wine commit:
51b4a42969366cc409808aded23d3602a34206e2, Properly handle the count set to -1 when enumerating connections.

This fixes 'net use' not being able to enumerate multiple connections served by multiple network providers.

CORE-13475

git-svn-id: file:///srv/svn/reactos/trunk@75172 97493ccd-5924-5043-b1f5-66cb403b36ce

20 hours ago[NTOS]: Improve a bit CmpDeepCopyKeyInternal():
hbelusca [Fri, 23 Jun 2017 17:33:44 +0000 (17:33 +0000)]
[NTOS]: Improve a bit CmpDeepCopyKeyInternal():
- Normally getting the SrcNode and DestNode must succeed (checked with assert);
- Set the DestNode Flags member, in particular when this is the new root node of the saved registry hive;
- Copy the key class cell (OK), and the key security cell (currently done in a hackish way; proper way: call the CmpAssignSecurity* function);
- Add more clean-up on failure;
- Warn in code about the fact that CmpDeepCopyKeyInternal is recursive, and will easily exhaust kernel stack. This function will need to be reworked later...
CORE-10793 CORE-10796

git-svn-id: file:///srv/svn/reactos/trunk@75171 97493ccd-5924-5043-b1f5-66cb403b36ce

43 hours ago[NTOBJSHEX]
dquintana [Thu, 22 Jun 2017 18:00:57 +0000 (18:00 +0000)]
[NTOBJSHEX]
* Fix gcc build.
* Remove magic.
* Address nitpicks.

git-svn-id: file:///srv/svn/reactos/trunk@75167 97493ccd-5924-5043-b1f5-66cb403b36ce

43 hours ago[NTOBJSHEX]
dquintana [Thu, 22 Jun 2017 17:49:42 +0000 (17:49 +0000)]
[NTOBJSHEX]
Fixed registry value display for values that are too long to fit inside the shitemid.
Set the maximum for shitemid embedding back to a smaller number.

git-svn-id: file:///srv/svn/reactos/trunk@75166 97493ccd-5924-5043-b1f5-66cb403b36ce

46 hours ago[WINTERNL.H]: Fix the value of OBJ_VALID_ATTRIBUTES, and add the definition for OBJ_F...
hbelusca [Thu, 22 Jun 2017 15:41:44 +0000 (15:41 +0000)]
[WINTERNL.H]: Fix the value of OBJ_VALID_ATTRIBUTES, and add the definition for OBJ_FORCE_ACCESS_CHECK.

git-svn-id: file:///srv/svn/reactos/trunk@75165 97493ccd-5924-5043-b1f5-66cb403b36ce

2 days ago[NTOBJSHEX]
dquintana [Wed, 21 Jun 2017 22:32:34 +0000 (22:32 +0000)]
[NTOBJSHEX]
* Fixed NT object symbolic link target retrieval.
* Fixed NT path parsing (didn't consider paths sub sub-folders in them).
* Fixed BindToObject to properly resolve the target path for symlinks.
* Made the maximum embedded content length for registry keys a bit bigger.

git-svn-id: file:///srv/svn/reactos/trunk@75160 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[CMLIB]: Use the generic allocator functions, and fix build.
hbelusca [Tue, 20 Jun 2017 23:29:54 +0000 (23:29 +0000)]
[CMLIB]: Use the generic allocator functions, and fix build.

git-svn-id: file:///srv/svn/reactos/trunk@75159 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[CMLIB]: Implement the dynamic array of the hive cell reference tracker.
hbelusca [Tue, 20 Jun 2017 23:11:53 +0000 (23:11 +0000)]
[CMLIB]: Implement the dynamic array of the hive cell reference tracker.

git-svn-id: file:///srv/svn/reactos/trunk@75158 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[NTOBJSHEX]
dquintana [Tue, 20 Jun 2017 23:03:24 +0000 (23:03 +0000)]
[NTOBJSHEX]
Improve the GetDisplayNameOf logic from "badly broken" to "seems to work". I'm not convinced it's perfect, but it's better than before.

git-svn-id: file:///srv/svn/reactos/trunk@75157 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[NTOBJSHEX]
dquintana [Tue, 20 Jun 2017 21:32:42 +0000 (21:32 +0000)]
[NTOBJSHEX]
Fix crash showing registry keys that have values.
CORE-13456 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@75156 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[WIN32K:NTUSER] -IntSetThreadDesktop: Don't close the previous desktop handle. Fixes...
gadamopoulos [Tue, 20 Jun 2017 19:26:37 +0000 (19:26 +0000)]
[WIN32K:NTUSER] -IntSetThreadDesktop: Don't close the previous desktop handle. Fixes a lot of tests. Based on a patch by Sebastian Gasiorek. CORE-13463

git-svn-id: file:///srv/svn/reactos/trunk@75154 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[USER32_APITEST] -Initial tests for desktop reference numbers.
gadamopoulos [Tue, 20 Jun 2017 19:25:10 +0000 (19:25 +0000)]
[USER32_APITEST] -Initial tests for desktop reference numbers.

git-svn-id: file:///srv/svn/reactos/trunk@75153 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[RTL]
tfaber [Tue, 20 Jun 2017 17:15:43 +0000 (17:15 +0000)]
[RTL]
- Correctly use the page heap's lock in RtlLockHeap/RtlUnlockHeap when appropriate. Fixes assertion failure when Global/Local memory allocations are performed concurrently with DPH enabled.

git-svn-id: file:///srv/svn/reactos/trunk@75152 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[USER.EXE]: Addendum to r75126: add a (dummy) version resource to USER.EXE so as...
hbelusca [Tue, 20 Jun 2017 16:44:40 +0000 (16:44 +0000)]
[USER.EXE]: Addendum to r75126: add a (dummy) version resource to USER.EXE so as to fix error 1812 "ERROR_RESOURCE_DATA_NOT_FOUND" encountered when starting the DirectX 9.0 installer. From patch by Stas'M, thanks!
CORE-13462

git-svn-id: file:///srv/svn/reactos/trunk@75151 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days ago[NTOS:MM]
tfaber [Tue, 20 Jun 2017 15:51:47 +0000 (15:51 +0000)]
[NTOS:MM]
- In MiDeletePte, check the ReferenceCount of transition PTEs, not the ShareCount (which is actually u2.Blink, since the page is in a modified/standby list). Also don't reset the PageLocation, since MiDecrementReferenceCount expects it to be anything but ActiveAndValid.
Fixes physical page leaks when using DPH, or other code that sets PAGE_NOACCESS.
CORE-13311 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@75150 97493ccd-5924-5043-b1f5-66cb403b36ce

3 days agoThat shouldn't have been committed in r75125. Thanks Thomas!
cfinck [Tue, 20 Jun 2017 14:48:26 +0000 (14:48 +0000)]
That shouldn't have been committed in r75125. Thanks Thomas!

git-svn-id: file:///srv/svn/reactos/trunk@75149 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[LOCALSPL]
cfinck [Tue, 20 Jun 2017 06:08:30 +0000 (06:08 +0000)]
[LOCALSPL]
Add the missing root backslash to the symbolic link path. Fixes CORE-13457

git-svn-id: file:///srv/svn/reactos/trunk@75148 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[FILESYSTEMS]: Fix printf-like counted string specifiers.
hbelusca [Tue, 20 Jun 2017 00:45:07 +0000 (00:45 +0000)]
[FILESYSTEMS]: Fix printf-like counted string specifiers.

git-svn-id: file:///srv/svn/reactos/trunk@75147 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[NTOS:CM]: Simplify code by using suitable assertion macro.
hbelusca [Mon, 19 Jun 2017 23:18:42 +0000 (23:18 +0000)]
[NTOS:CM]: Simplify code by using suitable assertion macro.

git-svn-id: file:///srv/svn/reactos/trunk@75146 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[DDK]
jgardou [Mon, 19 Jun 2017 21:17:17 +0000 (21:17 +0000)]
[DDK]
 - Use FORCEINLINE where appropriate

git-svn-id: file:///srv/svn/reactos/trunk@75145 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[NTOS]: Addendum to r75142: Use strsafe printf functions (suggested by Thomas).
hbelusca [Mon, 19 Jun 2017 20:37:36 +0000 (20:37 +0000)]
[NTOS]: Addendum to r75142: Use strsafe printf functions (suggested by Thomas).

git-svn-id: file:///srv/svn/reactos/trunk@75144 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[CMLIB][NTOS]: Use correct parameter type for the 4th parameter of CmpGetValueData().
hbelusca [Mon, 19 Jun 2017 20:14:09 +0000 (20:14 +0000)]
[CMLIB][NTOS]: Use correct parameter type for the 4th parameter of CmpGetValueData().
[CMLIB]: Fix debug.h inclusion.
[NTOS]: Use RtlCopyUnicodeString() to initialize the contents of FullName.

git-svn-id: file:///srv/svn/reactos/trunk@75143 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[NTOS]: Fixes & improvements:
hbelusca [Mon, 19 Jun 2017 20:07:15 +0000 (20:07 +0000)]
[NTOS]: Fixes & improvements:
- Fix a bug in CmpInitHiveFromFile(): correctly set the MaximumLength value of NewHive->FileFullPath;
- Code simplification: no need to use temporary ANSI string operations followed by UNICODE conversion, when one can do the same thing directly in UNICODE.
- Use NULL for NULL handles.

git-svn-id: file:///srv/svn/reactos/trunk@75142 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[NTOS]: Improve parameter namings in CmpLinkKeyToHive() and some of its DPRINTs;...
hbelusca [Mon, 19 Jun 2017 20:04:25 +0000 (20:04 +0000)]
[NTOS]: Improve parameter namings in CmpLinkKeyToHive() and some of its DPRINTs; use UNICODE_NULL where needed.

git-svn-id: file:///srv/svn/reactos/trunk@75141 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[WIN32SS] Rewrite GetFontFamilyInfoForSubstitutes to use the subsitute list loaded...
mjansen [Mon, 19 Jun 2017 20:00:36 +0000 (20:00 +0000)]
[WIN32SS] Rewrite GetFontFamilyInfoForSubstitutes to use the subsitute list loaded at boot. Patch by Katayama Hirofumi MZ. CORE-13064

git-svn-id: file:///srv/svn/reactos/trunk@75140 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[NTOS]: Improve some DPRINTs, and variables naming + buffer data type in CmpAddToHive...
hbelusca [Mon, 19 Jun 2017 19:55:14 +0000 (19:55 +0000)]
[NTOS]: Improve some DPRINTs, and variables naming + buffer data type in CmpAddToHiveFileList().

git-svn-id: file:///srv/svn/reactos/trunk@75139 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[NTDLL_APITEST]: Temporarily disable part of the NtLoad/UnloadKey test (related to...
hbelusca [Mon, 19 Jun 2017 19:50:49 +0000 (19:50 +0000)]
[NTDLL_APITEST]: Temporarily disable part of the NtLoad/UnloadKey test (related to force-unload a hive while some handles to subkeys are still opened), because this creates memory corruptions, due to the fact we currently don't perform force-unloads correctly.
CORE-13448

git-svn-id: file:///srv/svn/reactos/trunk@75138 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[NTOS]: Fix the ObpLookupObjectName() prototype in regard to r75133.
hbelusca [Mon, 19 Jun 2017 16:47:45 +0000 (16:47 +0000)]
[NTOS]: Fix the ObpLookupObjectName() prototype in regard to r75133.

git-svn-id: file:///srv/svn/reactos/trunk@75136 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[APPHELP] Implement Sdb[Un]packAppCompatData and SdbGetAppCompatDataSize. CORE-13284
mjansen [Mon, 19 Jun 2017 16:37:47 +0000 (16:37 +0000)]
[APPHELP] Implement Sdb[Un]packAppCompatData and SdbGetAppCompatDataSize. CORE-13284

git-svn-id: file:///srv/svn/reactos/trunk@75135 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[NTOS]: Avoid initializing variables within if-conditions.
hbelusca [Mon, 19 Jun 2017 16:30:17 +0000 (16:30 +0000)]
[NTOS]: Avoid initializing variables within if-conditions.

git-svn-id: file:///srv/svn/reactos/trunk@75134 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[NTOS]: Revert the pool tag change from r75128, and explain in comment why we cannot...
hbelusca [Mon, 19 Jun 2017 16:29:44 +0000 (16:29 +0000)]
[NTOS]: Revert the pool tag change from r75128, and explain in comment why we cannot actually use it.

git-svn-id: file:///srv/svn/reactos/trunk@75133 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[NTOS]: Fix typos.
hbelusca [Mon, 19 Jun 2017 15:26:08 +0000 (15:26 +0000)]
[NTOS]: Fix typos.

git-svn-id: file:///srv/svn/reactos/trunk@75132 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[APPSHIM_APITEST] Addendum to r75041, add a missed line.
mjansen [Mon, 19 Jun 2017 15:24:05 +0000 (15:24 +0000)]
[APPSHIM_APITEST] Addendum to r75041, add a missed line.

git-svn-id: file:///srv/svn/reactos/trunk@75131 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[SHELL32] Partially sync shlexec with wine staging 2.9 CORE-13362 CORE-13407
mjansen [Mon, 19 Jun 2017 15:04:20 +0000 (15:04 +0000)]
[SHELL32] Partially sync shlexec with wine staging 2.9 CORE-13362 CORE-13407

git-svn-id: file:///srv/svn/reactos/trunk@75130 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[ATL]
gadamopoulos [Mon, 19 Jun 2017 14:52:51 +0000 (14:52 +0000)]
[ATL]
-Add a new template called CComQIIDPtr and its partner I_ID macro. Its purpose is to be a gcc compatible version of CComQIPtr.
-CComQIIDPtr<I_ID(Itype)> is the gcc compatible version of CComQIPtr<Itype>
- WARNING: this is not tested yet.

git-svn-id: file:///srv/svn/reactos/trunk@75129 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[NTOS]: Minor fixes:
hbelusca [Mon, 19 Jun 2017 14:48:59 +0000 (14:48 +0000)]
[NTOS]: Minor fixes:
- Use NULL instead of 'zero' for setting a handle / pointer to NULL;
- Don't hardcode an array size; fix a comment;
- Use ExFreePoolWithTag();
- Whitespace fix.

git-svn-id: file:///srv/svn/reactos/trunk@75128 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[SHELL32]
gadamopoulos [Mon, 19 Jun 2017 14:27:51 +0000 (14:27 +0000)]
[SHELL32]
-Rename constructors from Class_Creator to Class_CreateInstance. Prepend the ones that are exported from rshell with RSHELL_. The reasoning is that rshell will always use our code but whether or not internal classes will be used in shellmenu lib will be controlled by preprocessor definitions in shellmenu.h

[BROWSEUI]
-Rename more constructors to use the _CreateInstance suffix.

[RSHELL]
- The functions that let rshell export some objects have the RSHELL_ postfix but they are not exported as such.

[EXPLORER]
- Rename _CStartMenu_Constructor to _CStartMenu_CreateInstance.

git-svn-id: file:///srv/svn/reactos/trunk@75127 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[USER.EXE]: Add a *stub* user.exe to make the DirectX 9.0 installer happy (it searche...
hbelusca [Mon, 19 Jun 2017 14:24:48 +0000 (14:24 +0000)]
[USER.EXE]: Add a *stub* user.exe to make the DirectX 9.0 installer happy (it searches user.exe for existence for no reason, and if it cannot find it, the installer bails out). (WARNING: This is in NO WAY our implementation of WoW16!!)
Reported on https://www.reactos.org/forum/viewtopic.php?f=4&t=15576 , http://reactos.org/forum/viewtopic.php?f=4&t=16498 .
This is not a ReactOS problem per se, because it also happens on Windows, as reported here:
https://xpetips.wordpress.com/2009/09/18/installing-directx-9-0c-on-xpe/ and http://www.xpembedded.info/DirectX_v9_0c_and_finding_missing_components_.html .

git-svn-id: file:///srv/svn/reactos/trunk@75126 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[PRINTING]
cfinck [Mon, 19 Jun 2017 14:18:19 +0000 (14:18 +0000)]
[PRINTING]
- Implement GetPrinterDataA, GetPrinterDataExA, GetPrinterDataExW, GetPrinterDataW, SetPrinterDataA, SetPrinterDataExA, SetPrinterDataExW, SetPrinterDataW.
  They support all features for Print Server and Printer Handles (minus security checks!)
  I've also added tests for them.
- Store Printer data in SOFTWARE\Microsoft\Windows NT\CurrentVersion\Print\Printers instead of SYSTEM\CurrentControlSet\Control\Print\Printers and create a registry symlink from the former path to the new one just like Windows does.
  According to https://social.technet.microsoft.com/Forums/windowsserver/en-US/a683ab54-c43c-4ebe-af8f-1f7a65af2a51, this is needed when having >900 printers to work around a size limit of the SYSTEM registry hive. And if Windows has both locations, we need both for compatibility anyway.
- Add several settings which are queried by the new Printer Data APIs when working with Print Server Handles.
- Store the job directory in the Windows-compatible "DefaultSpoolDirectory" setting and make use of it.
- Revert the ASSERTs in LocalEnumPrinters again to let us verify the NULL pointer exceptions in localspl_apitest (thanks Serge! CORE-13433)
- Translate ERROR_INVALID_NAME to ERROR_INVALID_PRINTER_NAME in all cases in OpenPrinterW (thanks Victor! CORE-13412)
- Make EnumMonitorsW and EnumPortsW in spoolss more robust against failing Print Monitors.
- Remove the wrong !phPrinter check in OpenPrinterW to make Print Server Handles work for real.
- Fix error handling when memory allocation fails: HeapAlloc doesn't set last error, so it's just wrong to query or return it.

One more item done from https://reactos.org/wiki/Printing !
This is all still a big Work-in-Progress, with many subtle bugs deep down in ReactOS, for which I need to open additional tickets. But I didn't want to make this commit even bigger..

git-svn-id: file:///srv/svn/reactos/trunk@75125 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[NETAPI32]
ekohl [Mon, 19 Jun 2017 14:06:04 +0000 (14:06 +0000)]
[NETAPI32]
Implement I_BrowserQueryEmulatedDomains, I_BrowserResetStatistics and I_BrowserSetNetlogonState. This functions calls their counterpart in the computer browser service.

git-svn-id: file:///srv/svn/reactos/trunk@75124 97493ccd-5924-5043-b1f5-66cb403b36ce

4 days ago[INCLUDE]
ekohl [Mon, 19 Jun 2017 13:48:40 +0000 (13:48 +0000)]
[INCLUDE]
Replace the lmbrowsr.h form wine by a more complete psdk version.
Lmbrowsr.h was a part of Visual Studio 6 but Microsoft removed it from the PSDK later.

git-svn-id: file:///srv/svn/reactos/trunk@75123 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[MSPAINT]
bfreisen [Mon, 19 Jun 2017 13:02:09 +0000 (13:02 +0000)]
[MSPAINT]
- clicking the blank dark gray area will now reset the selection -- patch by Katayama Hirofumi MZ

CORE-13452 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@75122 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NFSD]
pschweitzer [Mon, 19 Jun 2017 11:51:48 +0000 (11:51 +0000)]
[NFSD]
Misc. fixes by Thomas

git-svn-id: file:///srv/svn/reactos/trunk@75121 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NFS]
pschweitzer [Mon, 19 Jun 2017 11:36:17 +0000 (11:36 +0000)]
[NFS]
Add the missing pieces for the NFS filesystem: registry information.
Register the pnfs service (nfsd) as manual, so that it only gets started when user wants/needs it.
Same goes to the nfs41_driver service (driver). nfsd as a code modification specific to ReactOS so that it loads the driver
as soon as it gets started.

That means, in order to use NFS in ReactOS, you need to start the nfsd service: net start nfsd
Then, you can mount your remote share: net use * \\IP\path (you can replace * by a letter, e.g. z:)
There's no GUI stuff implemented yet for this in MPR.

If you want to access the share without mounting it in ReactOS (like, in Explorer), you've to be aware of a small detail:
after you start pnfs service, in explorer bar, type \\IP\nfs4\path. This is required so that NFS driver can claim the path
without troubles.

Something else you've to know: so far, tests where conducted with a remote share being 777, read-only and anonymously mounted.
Other scenarii are likely to fail (auth, rw, server?!, etc.).

Also note that if you attempt to mount a share on which you don't have traverse right, mounting will succeed but any later
operation will fail, refused by the remote NFS server. This is a bit different than the behavior on Linux where mount is denied
if traverse is not granted.

Final thing: this is highly experimental and not fully implemented yet: expect not working stuff, broken asserts, deadlocks, etc.

CORE-8204

git-svn-id: file:///srv/svn/reactos/trunk@75120 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NFSD]
pschweitzer [Mon, 19 Jun 2017 09:40:12 +0000 (09:40 +0000)]
[NFSD]
Fix build?

git-svn-id: file:///srv/svn/reactos/trunk@75119 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[LIBTIRPC]
pschweitzer [Mon, 19 Jun 2017 09:09:22 +0000 (09:09 +0000)]
[LIBTIRPC]
Add a spec file

git-svn-id: file:///srv/svn/reactos/trunk@75118 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NFS]
pschweitzer [Mon, 19 Jun 2017 08:20:13 +0000 (08:20 +0000)]
[NFS]
More properly fix build for GCC/MSVC. By Thomas.

git-svn-id: file:///srv/svn/reactos/trunk@75117 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NFSD]
pschweitzer [Mon, 19 Jun 2017 08:17:45 +0000 (08:17 +0000)]
[NFSD]
Fix MSVC build by Thomas.

git-svn-id: file:///srv/svn/reactos/trunk@75116 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[PDSK]
pschweitzer [Mon, 19 Jun 2017 08:02:19 +0000 (08:02 +0000)]
[PDSK]
Complete iptypes.h

git-svn-id: file:///srv/svn/reactos/trunk@75115 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NFSD]
pschweitzer [Mon, 19 Jun 2017 07:57:04 +0000 (07:57 +0000)]
[NFSD]
Import the nfsd deamon from the nfs41 project.

CORE-8204

git-svn-id: file:///srv/svn/reactos/trunk@75114 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[LIBTIRPC]
pschweitzer [Mon, 19 Jun 2017 07:45:14 +0000 (07:45 +0000)]
[LIBTIRPC]
As suggested, move to 3rdparty

git-svn-id: file:///srv/svn/reactos/trunk@75113 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NETAPI32]
ekohl [Sun, 18 Jun 2017 22:52:05 +0000 (22:52 +0000)]
[NETAPI32]
NetEnumerateComputerNames: Convert the returned array of strings.

git-svn-id: file:///srv/svn/reactos/trunk@75112 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NETAPI32]
ekohl [Sun, 18 Jun 2017 22:43:24 +0000 (22:43 +0000)]
[NETAPI32]
Implement NetConnectionEnum(). This function calls its counterpart in the server service.

git-svn-id: file:///srv/svn/reactos/trunk@75111 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[RXCE]
pschweitzer [Sun, 18 Jun 2017 22:15:34 +0000 (22:15 +0000)]
[RXCE]
lolfix build

git-svn-id: file:///srv/svn/reactos/trunk@75110 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NFS][RXCE]: Fix MSVC build (definitively?)
hbelusca [Sun, 18 Jun 2017 21:47:52 +0000 (21:47 +0000)]
[NFS][RXCE]: Fix MSVC build (definitively?)

git-svn-id: file:///srv/svn/reactos/trunk@75109 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NTOS:SE]
ekohl [Sun, 18 Jun 2017 21:43:09 +0000 (21:43 +0000)]
[NTOS:SE]
Add the CmpAssignSecurityDescriptor() stub and improve some comments.

git-svn-id: file:///srv/svn/reactos/trunk@75108 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NFS]
pschweitzer [Sun, 18 Jun 2017 21:40:52 +0000 (21:40 +0000)]
[NFS]
Remove dependency already brought in by rxce

git-svn-id: file:///srv/svn/reactos/trunk@75107 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[RDBSS]
pschweitzer [Sun, 18 Jun 2017 21:27:56 +0000 (21:27 +0000)]
[RDBSS]
Clean up CMake files, based on suggestions by Herm├Ęs.
Might fix MSVC build.

git-svn-id: file:///srv/svn/reactos/trunk@75106 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NFS]
pschweitzer [Sun, 18 Jun 2017 20:49:46 +0000 (20:49 +0000)]
[NFS]
Import the NFS file system mini-redirector and the associated network provider.
Not all the pieces are in place to make it working.

CORE-8204

git-svn-id: file:///srv/svn/reactos/trunk@75105 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NTOS:MM]
tfaber [Sun, 18 Jun 2017 20:10:44 +0000 (20:10 +0000)]
[NTOS:MM]
- Directly pass the file object to MmCreateDataFileSection

git-svn-id: file:///srv/svn/reactos/trunk@75104 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NTOS:PNP]
tfaber [Sun, 18 Jun 2017 19:48:45 +0000 (19:48 +0000)]
[NTOS:PNP]
- If PFN tracing is enabled, create a device object that allows the user to trigger a PFN dump (e.g. via "type \\.\Global\GLOBALROOT\Device\PfnDump")

git-svn-id: file:///srv/svn/reactos/trunk@75103 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[NPFS]
tfaber [Sun, 18 Jun 2017 18:08:52 +0000 (18:08 +0000)]
[NPFS]
- Misc changes to improve code clarity

git-svn-id: file:///srv/svn/reactos/trunk@75102 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[LIBTIFF]
tfaber [Sun, 18 Jun 2017 17:50:12 +0000 (17:50 +0000)]
[LIBTIFF]
- Update to version 4.0.8
CORE-13451

git-svn-id: file:///srv/svn/reactos/trunk@75101 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[MBEDTLS]
tfaber [Sun, 18 Jun 2017 17:25:30 +0000 (17:25 +0000)]
[MBEDTLS]
- Update to version 2.4.2
CORE-13451

git-svn-id: file:///srv/svn/reactos/trunk@75100 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[LIBTIRPC]
tfaber [Sun, 18 Jun 2017 17:01:14 +0000 (17:01 +0000)]
[LIBTIRPC]
- Try to fix VC2010 build as well
CORE-8204

git-svn-id: file:///srv/svn/reactos/trunk@75099 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[LIBTIRPC]
tfaber [Sun, 18 Jun 2017 16:41:23 +0000 (16:41 +0000)]
[LIBTIRPC]
- Fix MSVC build
CORE-8204

git-svn-id: file:///srv/svn/reactos/trunk@75098 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[LIBTIRPC]
pschweitzer [Sun, 18 Jun 2017 15:41:54 +0000 (15:41 +0000)]
[LIBTIRPC]
Fix MSVC build?

git-svn-id: file:///srv/svn/reactos/trunk@75097 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[LIBTIRPC]
pschweitzer [Sun, 18 Jun 2017 15:31:06 +0000 (15:31 +0000)]
[LIBTIRPC]
Import the libtirpc from the nfs41 project.

CORE-8204

git-svn-id: file:///srv/svn/reactos/trunk@75096 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[LIBMPG123]
tfaber [Sun, 18 Jun 2017 14:08:53 +0000 (14:08 +0000)]
[LIBMPG123]
- Add missing files
CORE-13451

git-svn-id: file:///srv/svn/reactos/trunk@75094 97493ccd-5924-5043-b1f5-66cb403b36ce

5 days ago[LIBMPG123]
tfaber [Sun, 18 Jun 2017 14:03:50 +0000 (14:03 +0000)]
[LIBMPG123]
- Update to version 1.25.0
CORE-13451

git-svn-id: file:///srv/svn/reactos/trunk@75093 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[LIBMPG123]
tfaber [Sun, 18 Jun 2017 13:35:40 +0000 (13:35 +0000)]
[LIBMPG123]
- Fix ssize_t
CORE-13451

git-svn-id: file:///srv/svn/reactos/trunk@75092 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[LIBMPG123]
tfaber [Sun, 18 Jun 2017 13:21:16 +0000 (13:21 +0000)]
[LIBMPG123]
- Update to version 1.23.0
CORE-13451

git-svn-id: file:///srv/svn/reactos/trunk@75091 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[SHELL32] -CMenuBand::SetSite: Don't fail if the site doesn't support the SID_STopLev...
gadamopoulos [Sun, 18 Jun 2017 12:34:30 +0000 (12:34 +0000)]
[SHELL32] -CMenuBand::SetSite: Don't fail if the site doesn't support the SID_STopLevelBrowser service.

git-svn-id: file:///srv/svn/reactos/trunk@75090 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[LIBPNG]
tfaber [Sun, 18 Jun 2017 12:19:52 +0000 (12:19 +0000)]
[LIBPNG]
- Update to version 1.6.29
CORE-13451

git-svn-id: file:///srv/svn/reactos/trunk@75089 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[LIBSAMPLERATE]
tfaber [Sun, 18 Jun 2017 11:41:14 +0000 (11:41 +0000)]
[LIBSAMPLERATE]
- Update to version 1.0.9
CORE-13451

git-svn-id: file:///srv/svn/reactos/trunk@75088 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[NTOS:MM]
tfaber [Sun, 18 Jun 2017 11:18:41 +0000 (11:18 +0000)]
[NTOS:MM]
- Implement MiMapLockedPagesInUserSpace and MiUnmapLockedPagesInUserSpace.
CORE-13444 #resolve

git-svn-id: file:///srv/svn/reactos/trunk@75087 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[DESK]
pschweitzer [Sun, 18 Jun 2017 08:48:12 +0000 (08:48 +0000)]
[DESK]
French translation for Eric's work on r75085.

CORE-8352

git-svn-id: file:///srv/svn/reactos/trunk@75086 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[DESK]
ekohl [Sun, 18 Jun 2017 08:31:20 +0000 (08:31 +0000)]
[DESK]
Replace the screen resolution change confirmation message box by a proper dialog box with timeout.
CORE-8352

git-svn-id: file:///srv/svn/reactos/trunk@75085 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[KMTESTS:MM]
tfaber [Sun, 18 Jun 2017 08:00:29 +0000 (08:00 +0000)]
[KMTESTS:MM]
- Test unaligned address and addresses close to MmHighestUserAddress in MmMapLockedPagesSpecifyCache test
CORE-13444

git-svn-id: file:///srv/svn/reactos/trunk@75084 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[NTOS]: Use SEH inside CmQueryKey(), as it can be called with user-mode parameter...
hbelusca [Sat, 17 Jun 2017 23:34:32 +0000 (23:34 +0000)]
[NTOS]: Use SEH inside CmQueryKey(), as it can be called with user-mode parameter KeyInformation. Remove unused code in CmLoadKey().
I've noticed that in cmapi.c / ntapi.c we do not correctly check the validity of some OBJECT_ATTRIBUTES variables and user-mode vs. kernel-mode registry handles.

git-svn-id: file:///srv/svn/reactos/trunk@75083 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[DESK]
ekohl [Sat, 17 Jun 2017 23:21:16 +0000 (23:21 +0000)]
[DESK]
- Add a message box to ask the user to confirm the screen resolution change.
- The resolution change will be reverted if the user clicks 'No'.
A separate dialog box with a timer will be added next.

git-svn-id: file:///srv/svn/reactos/trunk@75082 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[PSDK]
tfaber [Sat, 17 Jun 2017 20:26:53 +0000 (20:26 +0000)]
[PSDK]
- Properly add NTSTATUS code

git-svn-id: file:///srv/svn/reactos/trunk@75081 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[NTOS]: Improve a DPRINT.
hbelusca [Sat, 17 Jun 2017 20:16:40 +0000 (20:16 +0000)]
[NTOS]: Improve a DPRINT.

git-svn-id: file:///srv/svn/reactos/trunk@75080 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days agoJust use REG_FORCE_UNLOAD since we're at it.
hbelusca [Sat, 17 Jun 2017 20:13:17 +0000 (20:13 +0000)]
Just use REG_FORCE_UNLOAD since we're at it.

git-svn-id: file:///srv/svn/reactos/trunk@75079 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[NTDLL_APITEST]: Add tests for NtLoadKey and NtUnloadKey.
hbelusca [Sat, 17 Jun 2017 20:08:48 +0000 (20:08 +0000)]
[NTDLL_APITEST]: Add tests for NtLoadKey and NtUnloadKey.
CORE-13448

git-svn-id: file:///srv/svn/reactos/trunk@75078 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[GFLAGS]
pschweitzer [Sat, 17 Jun 2017 20:02:51 +0000 (20:02 +0000)]
[GFLAGS]
Add some usage

git-svn-id: file:///srv/svn/reactos/trunk@75077 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[FREETYPE] Update to v2.8. By Katayama Hirofumi MZ, confirmed by me. CORE-13295
akhaldi [Sat, 17 Jun 2017 19:04:57 +0000 (19:04 +0000)]
[FREETYPE] Update to v2.8. By Katayama Hirofumi MZ, confirmed by me. CORE-13295

git-svn-id: file:///srv/svn/reactos/trunk@75076 97493ccd-5924-5043-b1f5-66cb403b36ce

6 days ago[BOOTDATA]
pschweitzer [Sat, 17 Jun 2017 18:00:18 +0000 (18:00 +0000)]
[BOOTDATA]
Use a gflag compatible way to enable Page Heap

git-svn-id: file:///srv/svn/reactos/trunk@75075 97493ccd-5924-5043-b1f5-66cb403b36ce

7 days ago[GFLAGS]
pschweitzer [Sat, 17 Jun 2017 12:34:08 +0000 (12:34 +0000)]
[GFLAGS]
Add a quick'n'dirty implementation of gflags utility.
It only covers some page heap usage (enough to enable/disable DPH :-)).
It's syntax compatible with MS one, and with what's written down in ROS wiki.

See: https://www.reactos.org/wiki/Debugging#Debug_Page_Heap_.28DPH.29

git-svn-id: file:///srv/svn/reactos/trunk@75073 97493ccd-5924-5043-b1f5-66cb403b36ce

7 days ago[SHELL32] -CMenuBand: forward WM_WININICHANGE to CMenuToolbarBase so that when themes...
gadamopoulos [Sat, 17 Jun 2017 07:43:52 +0000 (07:43 +0000)]
[SHELL32] -CMenuBand: forward WM_WININICHANGE to CMenuToolbarBase so that when themes get enabled, the menu bar in explorer becomes flat immediately.

git-svn-id: file:///srv/svn/reactos/trunk@75072 97493ccd-5924-5043-b1f5-66cb403b36ce

7 days ago[BROWSEUI]
gadamopoulos [Sat, 17 Jun 2017 07:28:35 +0000 (07:28 +0000)]
[BROWSEUI]
- CShellBrowser: Propagate WM_WININICHANGE to all immediate children.
- CInternetToolbar: Forward WM_WININICHANGE to the menu band to make aware that the flat menus option changed.

git-svn-id: file:///srv/svn/reactos/trunk@75071 97493ccd-5924-5043-b1f5-66cb403b36ce

7 days ago[NTOS]: Employ the simple CMP_ASSERT_KCB_LOCK() macro to perform these asserts.
hbelusca [Sat, 17 Jun 2017 01:22:17 +0000 (01:22 +0000)]
[NTOS]: Employ the simple CMP_ASSERT_KCB_LOCK() macro to perform these asserts.

git-svn-id: file:///srv/svn/reactos/trunk@75070 97493ccd-5924-5043-b1f5-66cb403b36ce

7 days ago[NTOS]: Whitespace fixes only.
hbelusca [Sat, 17 Jun 2017 01:21:21 +0000 (01:21 +0000)]
[NTOS]: Whitespace fixes only.

git-svn-id: file:///srv/svn/reactos/trunk@75069 97493ccd-5924-5043-b1f5-66cb403b36ce