reactos.git
117 min ago[i8042prt]: Yet another hack for Dell Latitude E4310 for touchpad. master trunk
hbelusca [Tue, 24 Jan 2017 00:58:52 +0000 (00:58 +0000)]
[i8042prt]: Yet another hack for Dell Latitude E4310 for touchpad.
CORE-12434

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

35 hours ago[FREELDR]
ekohl [Sun, 22 Jan 2017 15:03:11 +0000 (15:03 +0000)]
[FREELDR]
Add VESA DDC detection and EDID read code. Work in progress.

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

39 hours ago[CDFS]
jgardou [Sun, 22 Jan 2017 11:55:29 +0000 (11:55 +0000)]
[CDFS]
 - Reduce stack usage by manipulating UNICODE_STRINGS we are given instead of copying it a gazillion times
 - Do not assume said strings are null-terminated

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

2 days ago[ADVAPI32]
ekohl [Sat, 21 Jan 2017 11:57:43 +0000 (11:57 +0000)]
[ADVAPI32]
Add I_ScIsSecurityProcess() stub.

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

4 days ago[PSDK]: Add the declarations for IsNetDrive, DriveType and RealDriveType functions...
hbelusca [Thu, 19 Jan 2017 19:39:53 +0000 (19:39 +0000)]
[PSDK]: Add the declarations for IsNetDrive, DriveType and RealDriveType functions (from shell32).

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

5 days ago[SHELL32]: Follow-ups to r73579 and r73580: use PathYetAnotherMakeUniqueName.
hbelusca [Wed, 18 Jan 2017 23:47:38 +0000 (23:47 +0000)]
[SHELL32]: Follow-ups to r73579 and r73580: use PathYetAnotherMakeUniqueName.
CORE-12684

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

5 days ago[SHELL32]: Code formatting only.
hbelusca [Wed, 18 Jan 2017 23:44:46 +0000 (23:44 +0000)]
[SHELL32]: Code formatting only.

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

5 days ago[SHELL32]: Remove trailing whitespace.
hbelusca [Wed, 18 Jan 2017 21:03:46 +0000 (21:03 +0000)]
[SHELL32]: Remove trailing whitespace.

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

5 days agoFix a bug introduced in r73579.
hbelusca [Wed, 18 Jan 2017 12:59:35 +0000 (12:59 +0000)]
Fix a bug introduced in r73579.
CORE-12684

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

5 days ago[SHELL32]: Fix the "CNewMenu.cpp:432: Unexpected failure 80070002." debug line that...
hbelusca [Wed, 18 Jan 2017 12:48:50 +0000 (12:48 +0000)]
[SHELL32]: Fix the "CNewMenu.cpp:432: Unexpected failure 80070002." debug line that appears when one tries to create a new file using the explorer (note: did not happen for new directories).
CORE-12684 #resolve #comment Fixed in r73579.

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

5 days ago[SHELL32]
hbelusca [Wed, 18 Jan 2017 11:51:42 +0000 (11:51 +0000)]
[SHELL32]
- Now that we correctly handle the shell link data block list with APIs, no need to hack an extra zeroed DWORD at the end of shortcut files!
- Fix the display of the shortcut target location: this typically displays the (last) directory where the target resides. Addendum for r53624, r54957 and CORE-5730 CORE-6104

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

6 days ago[SYSSETUP][SHORTCUTS.INF]: Follow-up of r71049 and CORE-11020 :
hbelusca [Wed, 18 Jan 2017 00:19:12 +0000 (00:19 +0000)]
[SYSSETUP][SHORTCUTS.INF]: Follow-up of r71049 and CORE-11020 :
- Make more shortcuts start from the user directory;
- The desktop shortcut of the ReadMe file should not use an icon location, so that the shell correctly retrieves the icon to display from the type of the file (in our case, .txt).
- Make the necessary adjustments in syssetup/install.c :
  * opt-out setting the icon location;
  * in addition, since we now support shell link targets containing environment variables, don't always expand the target path before setting up the shortcut, but do it just in the case we have to compute a suitable working directory.

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

6 days ago[SHELL32]: CShellLink fixups Part 2:
hbelusca [Tue, 17 Jan 2017 23:53:55 +0000 (23:53 +0000)]
[SHELL32]: CShellLink fixups Part 2:
- Add COM inheritance for interfaces IExtractIconA/W, and add in comment the missing other ones, the ordering of which is given by the apitests/com/shell32.
- Add proper support for the extra data block list (which is added at the end of the .lnk files), by using the API from shlwapi.dll: SH[Read|Write|Free]DataBlockList, SH[Add|Find|Remove]DataBlock.
- Using this support, getting/setting the MSI data block becomes as simple as child's play, and opens the possibility for implementing support for the other types of blocks.
- This in particular enables support for paths with environment variables for the link's target and icon: CORE-9236 #resolve
- Fix all the "shell32_winetest shelllink" tests: CORE-7158 #resolve
  Some of the fixes are inspired from a patch by Katayama Hirofumi MZ.
- Fix all the "shell32_apitest CShellLink" tests *but* those calling IExtractIcon::GetIconLocation().
- Implement a hackish substitute to the shell32!PathResolve API until someone writes a correct one (see the code & the FIXMEs for some ideas), possibly using the SHELL_xxx helpers in Wine's shellpath.c.
- In CFSExtractIcon_CreateInstance: Because IShellLink::GetIconLocation can return no icon location, in case none is specified in the .lnk (proved by apitests), we have to call the shell link's IExtractIcon::GetIconLocation in order to retrieve the icon of its target (yes, some shortcuts are made like that, e.g. Notepad++ 6.9 one...).

- More fixes...
- ... and a lot of documentation added in the code for you!

CORE-12682

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

6 days ago[KERNEL32_APITEST] -Make FindActCtxSectionStringW test less strict.
gadamopoulos [Tue, 17 Jan 2017 23:11:11 +0000 (23:11 +0000)]
[KERNEL32_APITEST] -Make FindActCtxSectionStringW test less strict.

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

6 days ago[KERNEL32_APITEST] -Try to avoid crashes in DefaultActCtx test.
gadamopoulos [Tue, 17 Jan 2017 22:40:36 +0000 (22:40 +0000)]
[KERNEL32_APITEST] -Try to avoid crashes in DefaultActCtx test.

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

6 days ago[SHELL32]: CShellLink fixups Part 1:
hbelusca [Tue, 17 Jan 2017 21:32:18 +0000 (21:32 +0000)]
[SHELL32]: CShellLink fixups Part 1:
- Use STDMETHODCALLTYPE for the interface methods calling convention;
- Use the naming convention "m_Member" for the class members (note that I haven't applied the convention for some members: because they will go away in the next commits);
- Use _countof() where needed;
- Make the ANSI CShellLink::GetIconLocation call the UNICODE version;
- Move some functions around to put them closer to the functions that call them;
- Very minor code formatting.
CORE-12682

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

6 days ago[KERNEL32_APITEST] -Add redir2dep.manifest to the testdata.
gadamopoulos [Tue, 17 Jan 2017 19:41:26 +0000 (19:41 +0000)]
[KERNEL32_APITEST] -Add redir2dep.manifest to the testdata.

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

6 days ago[KERNEL32_APITEST] -Fix gcc build
gadamopoulos [Tue, 17 Jan 2017 19:24:29 +0000 (19:24 +0000)]
[KERNEL32_APITEST] -Fix gcc build

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

6 days ago[SHELL32]
hbelusca [Tue, 17 Jan 2017 19:16:50 +0000 (19:16 +0000)]
[SHELL32]
- Use explicit unicode SHFILEINFOW structure (where needed);
- In CFSExtractIcon_CreateInstance, use _countof instead of hardcoding the MAX_PATHs; add some FIXMEs about the 'flags' parameter;
- Code formatting in CExtractIcon.cpp.

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

6 days ago[regtest.cmd] -RENAME parameter in add_rostests_file doesn't have any effect on the...
gadamopoulos [Tue, 17 Jan 2017 19:13:12 +0000 (19:13 +0000)]
[regtest.cmd] -RENAME parameter in add_rostests_file doesn't have any effect on the name of the installed file so rename sine files manually before starting tests.

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

6 days ago[KERNEL32_APITEST]
gadamopoulos [Tue, 17 Jan 2017 19:11:05 +0000 (19:11 +0000)]
[KERNEL32_APITEST]
- Fix and enable tests for redirection support in LoadLibraryExW.
- Add tests for the default activation context that is active for every process.

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

6 days ago[PSDK]: Update shlobj.h:
hbelusca [Tue, 17 Jan 2017 15:30:57 +0000 (15:30 +0000)]
[PSDK]: Update shlobj.h:
- Define Logo3-related symbols only when NTDDI_VERSION < NTDDI_LONGHORN (Vista);
- In the SHELL_LINK_DATA_FLAGS enumeration, some symbols are defined for Vista+ only;
- Update the comment for EXP_LOGO3_ID_SIG;
- The PRF_TRYPROGRAMEXTENSIONS define is actually the combination of PRF_EXECUTABLE and PRF_VERIFYEXISTS;
- Add PRF_REQUIREABSOLUTE and fix PRF_DONTFINDLNK typo.

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

6 days ago[INCLUDES]: Add in shlwapi_undoc.h the exported-by-ordinal-only shlwapi functions...
hbelusca [Tue, 17 Jan 2017 15:16:06 +0000 (15:16 +0000)]
[INCLUDES]: Add in shlwapi_undoc.h the exported-by-ordinal-only shlwapi functions SH[Add|Remove|Find]DataBlock, SH[Write|Read|Free]DataBlockList, and SHExpandEnvironmentStrings[ForUser]A/W . Will be used later.
CORE-12682

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

6 days ago[SHLWAPI]
hbelusca [Tue, 17 Jan 2017 15:09:18 +0000 (15:09 +0000)]
[SHLWAPI]
- Fix SHAddDataBlock function signature & return value.
- Back this up by updating the corresponding wine test.
Send upstream, I will remove the __REACTOS__ markups once this is merged in Wine.

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

7 days ago[SHLWAPI]: Follow-up on r73527 and r73529: Use WINVER conditional to separate old...
hbelusca [Mon, 16 Jan 2017 22:34:22 +0000 (22:34 +0000)]
[SHLWAPI]: Follow-up on r73527 and r73529: Use WINVER conditional to separate old-Win2k3 and new-Vista+ behaviours of PathIsUNCA/W.
CORE-12653

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

7 days ago[SHELL32_APITEST]
hbelusca [Mon, 16 Jan 2017 18:02:43 +0000 (18:02 +0000)]
[SHELL32_APITEST]
- Use smart COM pointers (thanks Mark ;)
- Add other tests for testing non-existing files in existing directories.

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

7 days ago[SHELL32_APITEST]: Add more tests to see how IShellLink::Get/SetIconLocation interact...
hbelusca [Mon, 16 Jan 2017 17:27:44 +0000 (17:27 +0000)]
[SHELL32_APITEST]: Add more tests to see how IShellLink::Get/SetIconLocation interacts with IExtractIcon::GetIconLocation.

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

7 days agoComply to GCCLin rules.
hbelusca [Mon, 16 Jan 2017 16:35:01 +0000 (16:35 +0000)]
Comply to GCCLin rules.

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

7 days ago[SHELL32_APITEST]: Add some tests for GetIconLocation. Show also that CShellLink...
hbelusca [Mon, 16 Jan 2017 16:22:40 +0000 (16:22 +0000)]
[SHELL32_APITEST]: Add some tests for GetIconLocation. Show also that CShellLink inherits from IExtractIcon(A/W).

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

7 days ago[SHELL32_APITEST]
hbelusca [Mon, 16 Jan 2017 16:17:59 +0000 (16:17 +0000)]
[SHELL32_APITEST]
- Fix the names of some expected return values get from the APIs;
- Move a bit the TestShellLink() function.
- When displaying hexadecimal, prepend the "0x" string (otherwise, when you see: "hr = 10", is it 10 in decimal or in hex??)
- Call CoUninitialize() at the end of the tests.

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

8 days ago[SHELL32]
pschweitzer [Sun, 15 Jan 2017 17:20:17 +0000 (17:20 +0000)]
[SHELL32]
Fix truncated French text in File Properties dialog.
Patch by Katayama Hirofumi MZ.

CORE-12554

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

8 days ago[INTL]
pschweitzer [Sun, 15 Jan 2017 14:24:11 +0000 (14:24 +0000)]
[INTL]
Fix truncated French text in Languages dialog.
Patch by Katayama Hirofumi MZ.

CORE-12366

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

8 days ago[SHELL32]
pschweitzer [Sun, 15 Jan 2017 14:15:55 +0000 (14:15 +0000)]
[SHELL32]
Fix truncated French text in Open With dialog.
Patch by Katayama Hirofumi MZ.

CORE-12556

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

8 days ago[BOOTSECT]
cfinck [Sun, 15 Jan 2017 12:31:47 +0000 (12:31 +0000)]
[BOOTSECT]
Add a simple MBR boot sector that chainloads the El Torito BIOS Boot Sector of the ReactOS ISO.
This is our equivalent to syslinux's isohdpfx.S and will be used as input for the soon to be imported "isohybrid" patching tool.

Largely untested Work In Progress towards CORE-12648

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

8 days ago[NTDLL_APITEST] -Create a copy of the test in testdata and add along three empty...
gadamopoulos [Sun, 15 Jan 2017 11:51:06 +0000 (11:51 +0000)]
[NTDLL_APITEST] -Create a copy of the test in testdata and add along three empty files: ntdll_apitest.exe.local, shell32.dll and test.dll. Make the test start the subprocess from testdata to avoid any kind of interference of the .local to all the other tests. The empty dlls are needed there because there is no way to rename the files while adding them to the cab file like we do with NAME_ON_CD and creating them at runtime is not reliable as caching can cause random failures.

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

8 days ago[UBTRFS]
pschweitzer [Sun, 15 Jan 2017 10:58:38 +0000 (10:58 +0000)]
[UBTRFS]
[BTRFSLIB]
As suggested by Peter, bring back the btrfslib and make use of it in ubtrfs.
This will allow code reuse especially for people having plans with btrfs and usetup ;-)

CORE-12617

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

9 days agoFix a line that I forgot to finish editing.
gadamopoulos [Sun, 15 Jan 2017 00:49:47 +0000 (00:49 +0000)]
Fix a line that I forgot to finish editing.

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

9 days ago[NTDLL_APITEST]
gadamopoulos [Sun, 15 Jan 2017 00:42:10 +0000 (00:42 +0000)]
[NTDLL_APITEST]
- Add more tests for RtlDosApplyFileIsolationRedirection_Ustr. Unfortunately creating .local files and making it have instant effect seems to be impossible. So I added tests for .local than can be enabled to show that this is indeed the behaviour but I have disabled them to avoid random failed tests.

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

9 days ago[PRINTUI] Properly stub bPrinterSetup. Patch by Jared Smudde. CORE-12600 #resolve...
mjansen [Sun, 15 Jan 2017 00:15:22 +0000 (00:15 +0000)]
[PRINTUI] Properly stub bPrinterSetup. Patch by Jared Smudde. CORE-12600 #resolve #comment Thanks!

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

9 days agoSHLWAPI_APITEST: Add tests for StrFormatByteSizeW. Patch by Doug Lyons. CORE-12661...
mjansen [Sun, 15 Jan 2017 00:04:16 +0000 (00:04 +0000)]
SHLWAPI_APITEST: Add tests for StrFormatByteSizeW. Patch by Doug Lyons. CORE-12661 #resolve

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

9 days ago[ADVAPI32]
ekohl [Sat, 14 Jan 2017 18:10:42 +0000 (18:10 +0000)]
[ADVAPI32]
Implement LsaQueryInfoTrustedDomain() and LsaQueryTrustedDomainInfo().

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

9 days ago[ADVAPI32]
ekohl [Sat, 14 Jan 2017 15:17:29 +0000 (15:17 +0000)]
[ADVAPI32]
Implement I_ScPnPGetServiceName().

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

10 days ago[KERNEL32]: Fix (old-style) annotations.
hbelusca [Sat, 14 Jan 2017 01:59:10 +0000 (01:59 +0000)]
[KERNEL32]: Fix (old-style) annotations.

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

10 days ago[SHLWAPI_APITEST]: Use the 'add_rostests_file' command from Colin ;)
hbelusca [Fri, 13 Jan 2017 22:12:22 +0000 (22:12 +0000)]
[SHLWAPI_APITEST]: Use the 'add_rostests_file' command from Colin ;)

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

10 days ago[SHLWAPI_APITEST]
hbelusca [Fri, 13 Jan 2017 21:55:25 +0000 (21:55 +0000)]
[SHLWAPI_APITEST]
- Add tests for PathIsUNCServer and PathIsUNCServerShare, by Jared Smudde. Thanks! ROSTESTS-258 #resolve
- Simplify the code: Since those functions (as well as PathIsUNC) are public and exported by name, we can directly load the apitest with shlwapi and call the APIs directly (no need for explicit LoadLibrary & GetProcAddress).

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

10 days ago- Fix leak.
jimtabor [Fri, 13 Jan 2017 19:35:36 +0000 (19:35 +0000)]
- Fix leak.

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

10 days agoFTSU GCCLin.
hbelusca [Fri, 13 Jan 2017 19:09:11 +0000 (19:09 +0000)]
FTSU GCCLin.

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

10 days ago[SHELL32_APITEST]: Improve a bit the output of the CShellLink test.
hbelusca [Fri, 13 Jan 2017 19:00:33 +0000 (19:00 +0000)]
[SHELL32_APITEST]: Improve a bit the output of the CShellLink test.

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

10 days ago[CMAKE]
cfinck [Fri, 13 Jan 2017 16:39:33 +0000 (16:39 +0000)]
[CMAKE]
Call the NAME_ON_CD parameter RENAME (because it's not tied to a CD/ISO) and simplify the implementation.

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

10 days ago[LOCALSPL_APITEST]
cfinck [Fri, 13 Jan 2017 16:15:13 +0000 (16:15 +0000)]
[LOCALSPL_APITEST]
Disable fpGetPrintProcessorDirectory tests that use PSEH.
For some reason, they can only be run once and corrupt something inside spoolsv, so that spoolsv needs to be restarted afterwards.

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

10 days ago[KERNEL32_APITEST] - Add tests for LoadLibraryExW to test its ability to load a redir...
gadamopoulos [Fri, 13 Jan 2017 15:33:38 +0000 (15:33 +0000)]
[KERNEL32_APITEST] - Add tests for LoadLibraryExW to test its ability to load a redirected dll. Do not include it in the build until a way is found for it to be compiled properly.

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

10 days ago[CMakeMacros.cmake] - Add NAME_ON_CD parameter to add_rostests_file to make it possib...
gadamopoulos [Fri, 13 Jan 2017 15:15:55 +0000 (15:15 +0000)]
[CMakeMacros.cmake] - Add NAME_ON_CD parameter to add_rostests_file to make it possible to select a different name for a file.

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

10 days ago[SHLWAPI_APITEST]: Commit few tests for PathUnExpandEnvStrings.
hbelusca [Fri, 13 Jan 2017 14:51:25 +0000 (14:51 +0000)]
[SHLWAPI_APITEST]: Commit few tests for PathUnExpandEnvStrings.

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

10 days ago[KMTESTS]
cfinck [Fri, 13 Jan 2017 11:20:52 +0000 (11:20 +0000)]
[KMTESTS]
Temporarily disable kmtests for "rostests_install" (and subsequently the WHS-Testbot) as long as kmtest:ExPools crashes the machine and I have to reboot it manually.

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

10 days agoOnly generate installation rules for rostests if the ROSTESTS_INSTALL environment...
cfinck [Fri, 13 Jan 2017 09:43:12 +0000 (09:43 +0000)]
Only generate installation rules for rostests if the ROSTESTS_INSTALL environment variable is defined.

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

10 days ago[ROSTESTS]
cfinck [Fri, 13 Jan 2017 09:24:15 +0000 (09:24 +0000)]
[ROSTESTS]
- Add a function "add_rostests_file" that calls both add_cd_file() and install() accordingly for regression tests.
  Use this function everywhere in rostests where add_cd_file() was used previously. This puts tests always in the right place on CD and also generates proper installation rules for them.
- Add a custom target "rostests_install" that performs an "install" on all rostests components.

This finally gives us a convenient and reliable way to copy all regression tests and their dependencies into a single directory (specified by the ROSTESTS_INSTALL environment variable).
Will be used on the WHS-Testbot to let it finally run each and every test.

CORE-12401
ONLINE-441

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

10 days ago[NtUser]
jimtabor [Fri, 13 Jan 2017 04:06:24 +0000 (04:06 +0000)]
[NtUser]
- Fix menu surfing while using MS Office 2003. See CORE-12085 and CORE-12071.

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

11 days agoUse wine_dbgstr_w as Jared did originally (I hate this macro because it displays...
hbelusca [Fri, 13 Jan 2017 00:33:46 +0000 (00:33 +0000)]
Use wine_dbgstr_w as Jared did originally (I hate this macro because it displays strings in 'C'-language form instead of in natural way).

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

11 days ago/me slaps GCCLin.
hbelusca [Fri, 13 Jan 2017 00:20:50 +0000 (00:20 +0000)]
/me slaps GCCLin.

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

11 days ago[SHLWAPI]: On Windows 2003, tests show that strings starting with "\\?" are considere...
hbelusca [Fri, 13 Jan 2017 00:18:51 +0000 (00:18 +0000)]
[SHLWAPI]: On Windows 2003, tests show that strings starting with "\\?" are considered UNC, while on Windows Vista+ this is not the case anymore.
Select Win2k3 behaviour: revert r54542 (and add a note).
CORE-12653 #resolve

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

11 days agoMake GCC happy.
hbelusca [Fri, 13 Jan 2017 00:13:38 +0000 (00:13 +0000)]
Make GCC happy.

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

11 days ago[SHLWAPI_APITEST]: New test for PathIsUNC function, by Jared Smudde. Thanks!
hbelusca [Fri, 13 Jan 2017 00:06:12 +0000 (00:06 +0000)]
[SHLWAPI_APITEST]: New test for PathIsUNC function, by Jared Smudde. Thanks!
ROSTESTS-256 #resolve

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

11 days ago[NTDLL] -Add preliminary tests for RtlDosApplyFileIsolationRedirection_Ustr.
gadamopoulos [Thu, 12 Jan 2017 11:21:04 +0000 (11:21 +0000)]
[NTDLL] -Add preliminary tests for RtlDosApplyFileIsolationRedirection_Ustr.

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

12 days agoFix build.
hbelusca [Wed, 11 Jan 2017 20:06:47 +0000 (20:06 +0000)]
Fix build.

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

12 days ago[SHELL32]: Partly restore code (AddCommasW function) that was implemented in r33953...
hbelusca [Wed, 11 Jan 2017 20:02:14 +0000 (20:02 +0000)]
[SHELL32]: Partly restore code (AddCommasW function) that was implemented in r33953 but removed in the next revision r33954.

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

12 days ago[SHELL32]: Replay commit r41711 (was lost during shell32 C++ translation).
hbelusca [Wed, 11 Jan 2017 19:28:48 +0000 (19:28 +0000)]
[SHELL32]: Replay commit r41711 (was lost during shell32 C++ translation).

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

12 days agoRemove the USE_MKISOFS switch and make mkisofs our one and only ISO creation tool.
cfinck [Wed, 11 Jan 2017 12:16:25 +0000 (12:16 +0000)]
Remove the USE_MKISOFS switch and make mkisofs our one and only ISO creation tool.
CDMake is moved to rosapps as per Hermès' wish, but not added to the build.

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

12 days ago[MKISOFS]
cfinck [Wed, 11 Jan 2017 11:56:36 +0000 (11:56 +0000)]
[MKISOFS]
Update mkisofs to schily-2016-12-14 giving us the following features:
- Support for -duplicates-once to store duplicate files in the tree only once in the filesystem (see also CORE-9266)
  I've enabled this for the hybridcd target where it actually saves us 25 MB.
- Proper System-ID "Win32/MinGW" and "Win32/MSVC" under Windows hosts depending on the compiler

CORE-12578

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

13 days ago[SETUP][SYSSETUP]: Export a 'InstallWindowsNt' function from syssetup.dll (with Windo...
hbelusca [Tue, 10 Jan 2017 16:55:15 +0000 (16:55 +0000)]
[SETUP][SYSSETUP]: Export a 'InstallWindowsNt' function from syssetup.dll (with Windows-compatible signature) instead of our private 'InstallReactOS' and 'InstallLiveCD', and call it from setup.exe. This allows using our setup.exe on Windows & vice-versa for testing purposes. In syssetup.dll, the choice of installing ReactOS or starting the LiveCD interface is done by checking the command-line given to 'InstallWindowsNt' (using the existing switches).
Inspired from Jared's patch in CORE-12615.

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

13 days ago[USERENV]
hbelusca [Tue, 10 Jan 2017 15:28:49 +0000 (15:28 +0000)]
[USERENV]
- Split the huge "InitializeProfiles" function into itself and a helper "CreateStandardProfile", the latter is called to set up the "Default User" and "All Users" profile directories & registry settings.
- Use StringSafe functions where needed.
- Some of the shell registry values (the multimedia ones in particular) and the Fonts folder path, are not set by userenv.dll but are set by shell32.dll when it is registered during 2nd stage setup.

[SHELL32]: The above-mentioned shell reg vals are already there, but few have different translations than the ones that were in userenv. Translators, please review & fix if needed!

[SYSSETUP]: It is syssetup.dll which sets up the 'Program Files' & 'Common Files' directories & registry values at 2nd stage setup, as done on Windows' setup. Move the code that did this from our userenv to syssetup.

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

2 weeks ago[WIN32SS] Don't trigger ProbeForWrite when retrieving caret size from co_IntDrawCaret...
mjansen [Mon, 9 Jan 2017 21:12:00 +0000 (21:12 +0000)]
[WIN32SS] Don't trigger ProbeForWrite when retrieving caret size from co_IntDrawCaret, fix unlocking in failure path. CORE-10308

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

2 weeks ago[SHELL32]
pschweitzer [Mon, 9 Jan 2017 21:01:22 +0000 (21:01 +0000)]
[SHELL32]
Stub support for BtrFS helper.

CORE-12617

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

2 weeks ago[FMIFS]
pschweitzer [Mon, 9 Jan 2017 20:59:22 +0000 (20:59 +0000)]
[FMIFS]
Register the BtrFS helper

CORE-12617

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

2 weeks ago[BTRFSLIB]
pschweitzer [Mon, 9 Jan 2017 20:56:55 +0000 (20:56 +0000)]
[BTRFSLIB]
Drop that lib. It's been superseeded by r73513

CORE-12617

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

2 weeks ago[UBTRFS]
pschweitzer [Mon, 9 Jan 2017 20:52:44 +0000 (20:52 +0000)]
[UBTRFS]
Import the ubtrfs DLL from the BtrFS project.

CORE-12617

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

2 weeks ago[SHELL32]
pschweitzer [Sun, 8 Jan 2017 17:26:14 +0000 (17:26 +0000)]
[SHELL32]
When selecting any FAT filesystem on format dialog, uncheck & disable compression control. It's not supported by this FS.

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

2 weeks ago[PSDK]
pschweitzer [Sat, 7 Jan 2017 20:23:50 +0000 (20:23 +0000)]
[PSDK]
Define Button_SetElevationRequiredState() and BCM_SETSHIELD.
Reviewed by Giannis.

CORE-12617

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

2 weeks ago[DDK]
pschweitzer [Sat, 7 Jan 2017 20:20:21 +0000 (20:20 +0000)]
[DDK]
Define IDE_COMMAND_IDENTIFY

CORE-12617

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

2 weeks ago[KERNEL32_APITEST] - Use the full path to the manifest files when testing FindActCtxS...
gadamopoulos [Fri, 6 Jan 2017 22:06:53 +0000 (22:06 +0000)]
[KERNEL32_APITEST] - Use the full path to the manifest files when testing FindActCtxSectionStringW. This is needed because in most cases they are not in the current directory.

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

2 weeks ago[KERNEL32_APITEST] -Keep improving the skip checks.
gadamopoulos [Fri, 6 Jan 2017 21:25:53 +0000 (21:25 +0000)]
[KERNEL32_APITEST] -Keep improving the skip checks.

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

2 weeks ago[KERNEL32_APITEST] - Skip more stuff hoping to fix a crash that I can't reproduce...
gadamopoulos [Fri, 6 Jan 2017 21:13:46 +0000 (21:13 +0000)]
[KERNEL32_APITEST] - Skip more stuff hoping to fix a crash that I can't reproduce locally.

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

2 weeks ago[KERNEL32_APITEST] -Add some more checks to avoid a crash (the ones I originally...
gadamopoulos [Fri, 6 Jan 2017 20:43:58 +0000 (20:43 +0000)]
[KERNEL32_APITEST] -Add some more checks to avoid a crash (the ones I originally added were not enough).

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

2 weeks ago[KERNEL32_APITEST] -Add tests for FindActCtxSectionStringW.
gadamopoulos [Fri, 6 Jan 2017 18:48:15 +0000 (18:48 +0000)]
[KERNEL32_APITEST] -Add tests for FindActCtxSectionStringW.

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

2 weeks ago[RAPPS]
dreimer [Thu, 5 Jan 2017 00:16:22 +0000 (00:16 +0000)]
[RAPPS]
Fix broken links and checksums by new mirrors/new version update.

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

2 weeks agoHappy New Year 2017 to ReactOS people!
hbelusca [Tue, 3 Jan 2017 15:35:31 +0000 (15:35 +0000)]
Happy New Year 2017 to ReactOS people!

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

3 weeks ago[SERVICES]
ekohl [Mon, 2 Jan 2017 20:45:36 +0000 (20:45 +0000)]
[SERVICES]
- Add loading (not used yet) and unloading of user profiles.
- Create the service password secret name and pass it to LogonUserW.
Patch by Hermès BÉLUSCA - MAÏTO.

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

3 weeks ago[MPR]
pschweitzer [Mon, 2 Jan 2017 20:16:14 +0000 (20:16 +0000)]
[MPR]
Import Wine commit:
96a93ee608b2919d1a8f583002e8262ef54a6743, Enumerate connections capability before looking for functions entry points.

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

3 weeks ago[INF]
spetreolle [Sun, 1 Jan 2017 17:35:22 +0000 (17:35 +0000)]
[INF]
Correctly install the ACPI AC Adapter driver.

Happy new year.

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

3 weeks ago[BTRFS]
pschweitzer [Sun, 1 Jan 2017 17:12:12 +0000 (17:12 +0000)]
[BTRFS]
Sync btrfs to 0.8.

CORE-12617

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

3 weeks ago[XDK]
pschweitzer [Sun, 1 Jan 2017 16:58:15 +0000 (16:58 +0000)]
[XDK]
Add the PsGetThreadProcess() prototype

CORE-12617

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

3 weeks ago[SDK]
pschweitzer [Sun, 1 Jan 2017 16:44:40 +0000 (16:44 +0000)]
[SDK]
Implement the rtlver library with RtlIsNtDdiVersionAvailable(). Will be used later on by BtrFS driver.
Reference: https://msdn.microsoft.com/en-us/library/windows/hardware/ff561954(v=vs.85).aspx

CORE-12617

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

3 weeks ago[LSASRV]
ekohl [Sun, 1 Jan 2017 14:10:02 +0000 (14:10 +0000)]
[LSASRV]
Return proper status codes, indicating no available AD, for most trusted domain functions.

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

3 weeks ago[ADVAPI32]
ekohl [Sun, 1 Jan 2017 13:12:03 +0000 (13:12 +0000)]
[ADVAPI32]
- Implement LsaEnumerateTrustedDomains and LsaEnumerateTrustedDomainsEx.
- Mark LsaGetRemoteUserName and LsaLookupPrivilegeDisplayName as implemented.

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

3 weeks ago[USERENV]
ekohl [Sat, 31 Dec 2016 15:20:50 +0000 (15:20 +0000)]
[USERENV]
- Move functionality from CreateUserProfileW to CreateUserProfileExW.
- Implement CreateUserProfileExA and fix CreateUserProfileA.

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

3 weeks ago[APPHELP] Simplify SdbTagToString.
mjansen [Fri, 30 Dec 2016 21:31:14 +0000 (21:31 +0000)]
[APPHELP] Simplify SdbTagToString.

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

3 weeks ago[KERNEL32] Fix a typo in IsShimInfrastructureDisabled.
mjansen [Fri, 30 Dec 2016 20:54:47 +0000 (20:54 +0000)]
[KERNEL32] Fix a typo in IsShimInfrastructureDisabled.

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

3 weeks ago[SHELL32]
pschweitzer [Fri, 30 Dec 2016 20:33:40 +0000 (20:33 +0000)]
[SHELL32]
Revert r72888 (aka, remove a hack :-)).
This is no longer required thanks to r73489.

ROSAPPS-303
CORE-11757

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

3 weeks ago[MPR]
pschweitzer [Fri, 30 Dec 2016 20:30:28 +0000 (20:30 +0000)]
[MPR]
Enumerate connections capability before looking for functions entry points.
This is a major fix, because it allows VBoxSF to work without a hack, and without necessarily make a connection from the NP to the VBoxSF driver.

Already sent upstream.

ROSAPPS-303
CORE-11757

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

3 weeks ago[SERVICES] Addendum to r73487: Fix the build.
mjansen [Tue, 27 Dec 2016 18:10:52 +0000 (18:10 +0000)]
[SERVICES] Addendum to r73487: Fix the build.

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

3 weeks ago[SERVICES]: Addendum to r73486: Start all services within LocalSystem account as...
hbelusca [Tue, 27 Dec 2016 15:26:01 +0000 (15:26 +0000)]
[SERVICES]: Addendum to r73486: Start all services within LocalSystem account as a temporary measure in trunk until we completely support per-service account logging.
CORE-12541, CORE-12279

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