Commit graph

67604 commits

Author SHA1 Message Date
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
Hermès Bélusca-Maïto a000763117 [SHELL32]: Partly restore code (AddCommasW function) that was implemented in r33953 but removed in the next revision r33954.
svn path=/trunk/; revision=73524
2017-01-11 20:02:14 +00:00
Hermès Bélusca-Maïto 22726a1e1c [SHELL32]: Replay commit r41711 (was lost during shell32 C++ translation).
svn path=/trunk/; revision=73523
2017-01-11 19:28:48 +00:00
Colin Finck 4485b549ba 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.

svn path=/trunk/; revision=73521
2017-01-11 12:16:25 +00:00
Colin Finck 04c65f7051 [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

svn path=/trunk/; revision=73520
2017-01-11 11:56:36 +00:00
Hermès Bélusca-Maïto e8127690bb [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.

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

svn path=/trunk/; revision=73518
2017-01-10 15:28:49 +00:00
Mark Jansen e8801e23b6 [WIN32SS] Don't trigger ProbeForWrite when retrieving caret size from co_IntDrawCaret, fix unlocking in failure path. CORE-10308
svn path=/trunk/; revision=73517
2017-01-09 21:12:00 +00:00
Pierre Schweitzer 657d78a387 [SHELL32]
Stub support for BtrFS helper.

CORE-12617

svn path=/trunk/; revision=73516
2017-01-09 21:01:22 +00:00
Pierre Schweitzer 1a74d78001 [FMIFS]
Register the BtrFS helper

CORE-12617

svn path=/trunk/; revision=73515
2017-01-09 20:59:22 +00:00
Pierre Schweitzer 21f976c9ff [BTRFSLIB]
Drop that lib. It's been superseeded by r73513

CORE-12617

svn path=/trunk/; revision=73514
2017-01-09 20:56:55 +00:00
Pierre Schweitzer 568b75b342 [UBTRFS]
Import the ubtrfs DLL from the BtrFS project.

CORE-12617

svn path=/trunk/; revision=73513
2017-01-09 20:52:44 +00:00
Pierre Schweitzer 5ebe380166 [SHELL32]
When selecting any FAT filesystem on format dialog, uncheck & disable compression control. It's not supported by this FS.

svn path=/trunk/; revision=73512
2017-01-08 17:26:14 +00:00
Pierre Schweitzer 7a29e16fbd [PSDK]
Define Button_SetElevationRequiredState() and BCM_SETSHIELD.
Reviewed by Giannis.

CORE-12617

svn path=/trunk/; revision=73511
2017-01-07 20:23:50 +00:00
Pierre Schweitzer d3e43b0f5f [DDK]
Define IDE_COMMAND_IDENTIFY

CORE-12617

svn path=/trunk/; revision=73510
2017-01-07 20:20:21 +00:00
Giannis Adamopoulos 6d0f733ac7 [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.
svn path=/trunk/; revision=73509
2017-01-06 22:06:53 +00:00
Giannis Adamopoulos 9624a5e18b [KERNEL32_APITEST] -Keep improving the skip checks.
svn path=/trunk/; revision=73508
2017-01-06 21:25:53 +00:00
Giannis Adamopoulos 7475839d64 [KERNEL32_APITEST] - Skip more stuff hoping to fix a crash that I can't reproduce locally.
svn path=/trunk/; revision=73507
2017-01-06 21:13:46 +00:00
Giannis Adamopoulos c2c4d46671 [KERNEL32_APITEST] -Add some more checks to avoid a crash (the ones I originally added were not enough).
svn path=/trunk/; revision=73506
2017-01-06 20:43:58 +00:00
Giannis Adamopoulos 2bebddf5ee [KERNEL32_APITEST] -Add tests for FindActCtxSectionStringW.
svn path=/trunk/; revision=73505
2017-01-06 18:48:15 +00:00