Commit graph

67623 commits

Author SHA1 Message Date
Giannis Adamopoulos 8896e6a8c4 [KERNEL32_APITEST] -Try to avoid crashes in DefaultActCtx test.
svn path=/trunk/; revision=73574
2017-01-17 22:40:36 +00:00
Hermès Bélusca-Maïto 0aeb3f07b1 [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

svn path=/trunk/; revision=73573
2017-01-17 21:32:18 +00:00
Giannis Adamopoulos 749f780aef [KERNEL32_APITEST] -Add redir2dep.manifest to the testdata.
svn path=/trunk/; revision=73572
2017-01-17 19:41:26 +00:00
Giannis Adamopoulos 74365d512d [KERNEL32_APITEST] -Fix gcc build
svn path=/trunk/; revision=73571
2017-01-17 19:24:29 +00:00
Hermès Bélusca-Maïto 57ba1bd2d4 [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.

svn path=/trunk/; revision=73570
2017-01-17 19:16:50 +00:00
Giannis Adamopoulos c799fd3e4f [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.
svn path=/trunk/; revision=73569
2017-01-17 19:13:12 +00:00
Giannis Adamopoulos 1dc1c3f7ef [KERNEL32_APITEST]
- Fix and enable tests for redirection support in LoadLibraryExW.
- Add tests for the default activation context that is active for every process.

svn path=/trunk/; revision=73568
2017-01-17 19:11:05 +00:00
Hermès Bélusca-Maïto c31e1f67a6 [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.

svn path=/trunk/; revision=73567
2017-01-17 15:30:57 +00:00
Hermès Bélusca-Maïto 9dda28415f [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

svn path=/trunk/; revision=73566
2017-01-17 15:16:06 +00:00
Hermès Bélusca-Maïto a05881c135 [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.

svn path=/trunk/; revision=73565
2017-01-17 15:09:18 +00:00
Hermès Bélusca-Maïto 855bcceefc [SHLWAPI]: Follow-up on r73527 and r73529: Use WINVER conditional to separate old-Win2k3 and new-Vista+ behaviours of PathIsUNCA/W.
CORE-12653

svn path=/trunk/; revision=73564
2017-01-16 22:34:22 +00:00
Hermès Bélusca-Maïto e525ccdb5f [SHELL32_APITEST]
- Use smart COM pointers (thanks Mark ;)
- Add other tests for testing non-existing files in existing directories.

svn path=/trunk/; revision=73563
2017-01-16 18:02:43 +00:00
Hermès Bélusca-Maïto a471a57006 [SHELL32_APITEST]: Add more tests to see how IShellLink::Get/SetIconLocation interacts with IExtractIcon::GetIconLocation.
svn path=/trunk/; revision=73562
2017-01-16 17:27:44 +00:00
Hermès Bélusca-Maïto 5db91c84a0 Comply to GCCLin rules.
svn path=/trunk/; revision=73561
2017-01-16 16:35:01 +00:00
Hermès Bélusca-Maïto 5ccf3c01a4 [SHELL32_APITEST]: Add some tests for GetIconLocation. Show also that CShellLink inherits from IExtractIcon(A/W).
svn path=/trunk/; revision=73560
2017-01-16 16:22:40 +00:00
Hermès Bélusca-Maïto a6b1351921 [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.

svn path=/trunk/; revision=73559
2017-01-16 16:17:59 +00:00
Pierre Schweitzer 8a75088c41 [SHELL32]
Fix truncated French text in File Properties dialog.
Patch by Katayama Hirofumi MZ.

CORE-12554

svn path=/trunk/; revision=73558
2017-01-15 17:20:17 +00:00
Pierre Schweitzer efce805bfc [INTL]
Fix truncated French text in Languages dialog.
Patch by Katayama Hirofumi MZ.

CORE-12366

svn path=/trunk/; revision=73557
2017-01-15 14:24:11 +00:00
Pierre Schweitzer 404456b319 [SHELL32]
Fix truncated French text in Open With dialog.
Patch by Katayama Hirofumi MZ.

CORE-12556

svn path=/trunk/; revision=73556
2017-01-15 14:15:55 +00:00
Colin Finck 709dfc61a2 [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

svn path=/trunk/; revision=73555
2017-01-15 12:31:47 +00:00
Giannis Adamopoulos e4ffdbb8a7 [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.
svn path=/trunk/; revision=73554
2017-01-15 11:51:06 +00:00
Pierre Schweitzer 8fc83b30af [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

svn path=/trunk/; revision=73553
2017-01-15 10:58:38 +00:00
Giannis Adamopoulos f2d49d7a05 Fix a line that I forgot to finish editing.
svn path=/trunk/; revision=73552
2017-01-15 00:49:47 +00:00
Giannis Adamopoulos 1442edd291 [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.

svn path=/trunk/; revision=73551
2017-01-15 00:42:10 +00:00
Mark Jansen 90999f0373 [PRINTUI] Properly stub bPrinterSetup. Patch by Jared Smudde. CORE-12600 #resolve #comment Thanks!
svn path=/trunk/; revision=73550
2017-01-15 00:15:22 +00:00
Mark Jansen 523a1a5589 SHLWAPI_APITEST: Add tests for StrFormatByteSizeW. Patch by Doug Lyons. CORE-12661 #resolve
svn path=/trunk/; revision=73549
2017-01-15 00:04:16 +00:00
Eric Kohl 50a627eb56 [ADVAPI32]
Implement LsaQueryInfoTrustedDomain() and LsaQueryTrustedDomainInfo().

svn path=/trunk/; revision=73548
2017-01-14 18:10:42 +00:00
Eric Kohl eb31df80a7 [ADVAPI32]
Implement I_ScPnPGetServiceName().

svn path=/trunk/; revision=73547
2017-01-14 15:17:29 +00:00
Hermès Bélusca-Maïto 48f148bba8 [KERNEL32]: Fix (old-style) annotations.
svn path=/trunk/; revision=73546
2017-01-14 01:59:10 +00:00
Hermès Bélusca-Maïto 736b7b86f6 [SHLWAPI_APITEST]: Use the 'add_rostests_file' command from Colin ;)
svn path=/trunk/; revision=73545
2017-01-13 22:12:22 +00:00
Hermès Bélusca-Maïto cd7c1882ed [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).

svn path=/trunk/; revision=73544
2017-01-13 21:55:25 +00:00
James Tabor bfd112dafa - Fix leak.
svn path=/trunk/; revision=73543
2017-01-13 19:35:36 +00:00
Hermès Bélusca-Maïto a11a51af76 FTSU GCCLin.
svn path=/trunk/; revision=73542
2017-01-13 19:09:11 +00:00
Hermès Bélusca-Maïto 7f0502d36e [SHELL32_APITEST]: Improve a bit the output of the CShellLink test.
svn path=/trunk/; revision=73541
2017-01-13 19:00:33 +00:00
Colin Finck e1a81c6804 [CMAKE]
Call the NAME_ON_CD parameter RENAME (because it's not tied to a CD/ISO) and simplify the implementation.

svn path=/trunk/; revision=73540
2017-01-13 16:39:33 +00:00
Colin Finck 4536560a1d [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.

svn path=/trunk/; revision=73539
2017-01-13 16:15:13 +00:00
Giannis Adamopoulos 12796f8786 [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.
svn path=/trunk/; revision=73538
2017-01-13 15:33:38 +00:00
Giannis Adamopoulos 192c5b7ac3 [CMakeMacros.cmake] - Add NAME_ON_CD parameter to add_rostests_file to make it possible to select a different name for a file.
svn path=/trunk/; revision=73537
2017-01-13 15:15:55 +00:00
Hermès Bélusca-Maïto a20fc53659 [SHLWAPI_APITEST]: Commit few tests for PathUnExpandEnvStrings.
svn path=/trunk/; revision=73536
2017-01-13 14:51:25 +00:00
Colin Finck d5122b7e7b [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.

svn path=/trunk/; revision=73535
2017-01-13 11:20:52 +00:00
Colin Finck 0a08074364 Only generate installation rules for rostests if the ROSTESTS_INSTALL environment variable is defined.
svn path=/trunk/; revision=73534
2017-01-13 09:43:12 +00:00
Colin Finck da200b3a2c [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

svn path=/trunk/; revision=73533
2017-01-13 09:24:15 +00:00
James Tabor 6d7fcc4bab [NtUser]
- Fix menu surfing while using MS Office 2003. See CORE-12085 and CORE-12071.

svn path=/trunk/; revision=73532
2017-01-13 04:06:24 +00:00
Hermès Bélusca-Maïto 633f34d7c4 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).
svn path=/trunk/; revision=73531
2017-01-13 00:33:46 +00:00
Hermès Bélusca-Maïto ee9c290085 /me slaps GCCLin.
svn path=/trunk/; revision=73530
2017-01-13 00:20:50 +00:00
Hermès Bélusca-Maïto aea802c64c [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

svn path=/trunk/; revision=73529
2017-01-13 00:18:51 +00:00
Hermès Bélusca-Maïto 58c3357ad1 Make GCC happy.
svn path=/trunk/; revision=73528
2017-01-13 00:13:38 +00:00
Hermès Bélusca-Maïto c785b8f077 [SHLWAPI_APITEST]: New test for PathIsUNC function, by Jared Smudde. Thanks!
ROSTESTS-256 #resolve

svn path=/trunk/; revision=73527
2017-01-13 00:06:12 +00:00
Giannis Adamopoulos 6fc550ad47 [NTDLL] -Add preliminary tests for RtlDosApplyFileIsolationRedirection_Ustr.
svn path=/trunk/; revision=73526
2017-01-12 11:21:04 +00:00
Hermès Bélusca-Maïto 1a345aab0c Fix build.
svn path=/trunk/; revision=73525
2017-01-11 20:06:47 +00:00