Commit graph

190 commits

Author SHA1 Message Date
Amine Khaldi d3f4d62dde [SHDOCVW_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 13:19:06 +01:00
Amine Khaldi 44f07538ba [RICHED20_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 13:11:06 +01:00
Amine Khaldi f41035d141 [PROPSYS_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 13:06:43 +01:00
Amine Khaldi 5f28af7188 [OLEAUT32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 13:00:17 +01:00
Amine Khaldi b44b1afb81 [OLE32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 12:58:03 +01:00
Amine Khaldi d4c87f7aa8 [MSXML3_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 12:36:34 +01:00
Amine Khaldi 8e65919260 [MSVFW32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 12:32:30 +01:00
Amine Khaldi f860a7802c [MSI_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 12:30:30 +01:00
Amine Khaldi 35e6bb9199 [IMM32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 12:27:53 +01:00
Amine Khaldi ae5f2352bc [MMDEVAPI_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 12:26:57 +01:00
Amine Khaldi eeff448275 [USP10_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-20 12:23:22 +01:00
Thomas Faber 73e6bc960a
[COMCTL32] Unset the toolbar's hot item when deleting a button. CORE-14222
This fixes occasional crashes when hovering over disappearing tray icons.
2018-01-20 02:24:01 +01:00
Lee Schroeder 9be6ac9cbb
[DRWTSN32][SHIMDBG] Add missing va_end.
CORE-14193
2018-01-19 22:09:47 +01:00
Amine Khaldi 45ec86c442 [MSCTF_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 12:33:20 +01:00
Amine Khaldi fa31874ef7 [MSACM32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 12:32:24 +01:00
Amine Khaldi 96960b6e18 [MPR_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 12:30:38 +01:00
Amine Khaldi 44e39baf4a [MLANG_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 12:28:36 +01:00
Amine Khaldi df52b0e7e2 [JSCRIPT_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 00:46:30 +01:00
Amine Khaldi 0749f1d71d [INETCOMM_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 00:40:54 +01:00
Amine Khaldi 7b7a0e1bc9 [IMAGEHLP_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 00:38:42 +01:00
Amine Khaldi 7998a3f086 [HNETCFG_WINETEST] Import from Wine 3.0. CORE-14225 2018-01-19 00:31:47 +01:00
Amine Khaldi c3fa3f6079 [HLINK_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 00:24:20 +01:00
Amine Khaldi 70c9f30747 [GDIPLUS_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 00:20:03 +01:00
Amine Khaldi 9e28af3792 [FUSION_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 00:11:52 +01:00
Amine Khaldi 2afa4566ba [CABINET_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-19 00:07:18 +01:00
Amine Khaldi 0d320bc25f [COMCTL32_WINETEST] Sync with Wine 3.0. CORE-14225 2018-01-18 23:49:50 +01:00
Colin Finck 22ffe5300b [PRINTING] Replace all my custom marshalling code by calls to the newly implemented APIs, thereby significantly reducing the codebase and providing a sane template to implement more Printing APIs. 2018-01-17 12:52:12 +01:00
Colin Finck f3ea8225cb [PRINTING] Implement the undocumented MarshallDownStructure, MarshallDownStructuresArray, MarshallUpStructure, and MarshallUpStructuresArray to the extent I need and could find out through black-box testing.
PDBs reveal that these functions are also used in winspool.drv, but not imported from spoolss.dll to retain the client/server architecture.
As winspool.drv highly benefits from the MarshallUp* functions, I put them in a source file shared between spoolss.dll and winspool.drv.

The added API Tests cover my testing and all implemented features.
One more item done from https://reactos.org/wiki/Printing !
2018-01-17 10:13:25 +01:00
Timo Kreuzer a2f7de7ee8
Amd64/misc 64bit fixes (#236)
[REACTOS] Misc 64 bit fixes

* [NTOS:MM] Allow MEM_DOS_LIM in NtMapViewOfSection on x64 as well
* [NTOS:MM] Implement x64 version of MmIsDisabledPage
* [HAL] Remove obsolete code
* [NTOS:KE] Fix amd64 version of KeContextToTrapFrame and KeTrapFrameToContext
* [XDK] Fix CONTEXT_XSTATE definition
* [PCNET] Convert physical address types from pointers to PHYSICAL_ADDRESS
2018-01-01 12:07:50 +01:00
Mark Jansen cb885480b2 [SHLEXTDBG] Add utility to run / debug shell extensions.
CORE-7684 #234
2017-12-31 14:56:22 +01:00
Mark Jansen 4bdc74bf5d [COM_APITEST] Add zipfldr tests.
CORE-7684 #234
2017-12-31 14:56:22 +01:00
Thomas Faber 2cb0c129a6
[KMTESTS] Use KeClearEvent instead of KeResetEvent where the previous state is not needed. 2017-12-30 11:46:14 +01:00
Katayama Hirofumi MZ 89f9c9101a
[TRANSLATION] Use correct font name in Korean resources, CORE-9566 (#228).
Localized resources should use the correct Korean fonts that are most suitable
for UI and compatible with Windows.
2017-12-29 01:51:15 +01:00
Katayama Hirofumi MZ e9d8fa57c3
[TRANSLATION][BASE][FDEBUG][MODULES][WIN32SS] Use correct font name in Chinese resources, CORE-9566 (#227).
Localized resources should use the correct Traditional/Simplified Chinese fonts
that are most suitable for UI and compatible with Windows.
2017-12-29 01:51:06 +01:00
Colin Finck 3b93ba0f31 [LOCALSPL] Fix parameter handling in LocalSetJob and add tests for the few ways we can easily test this function.
Yes, it checks the input handle and doesn't fail if an invalid level is given, because someone may still send a Command.
This also fixes CORE-12794. Thanks for reporting!
2017-12-25 14:30:47 +01:00
Mark Jansen 9187a81538 [ATL_APITEST] Add a test for CComBSTR.Attach/Detach 2017-12-25 14:00:51 +01:00
Mark Jansen bccdcded28 [ATL_APITEST] Add a test for CString.AllocSysString 2017-12-25 14:00:51 +01:00
Amine Khaldi a66bbfa92c [SHELL32_APITEST] Rename TestShellFolder, test_data and Tests. #179 2017-12-25 13:33:33 +01:00
Giannis Adamopoulos 1db8bd46d6 [NTDLL_APITEST] -Add a hacky Microsoft.Windows.GdiPlus.manifest.
This is needed because ntdlltest.manifest has a dependency
on gdiplus and won't load because we don't have it in winsxs.
Eventually this must be removed.
2017-12-24 21:19:03 +02:00
Giannis Adamopoulos 7059421a23 [NTDLL_APITEST] Add several tests for RtlDosApplyFileIsolationRedirection_Ustr 2017-12-24 21:19:03 +02:00
Pierre Schweitzer fc921423f3
[VFD] Add support for installing driver from System32\drivers.
Patch by Doug Lyons.

CORE-14090
2017-12-23 09:34:34 +01:00
Mark Jansen f941c78f50 [ATL_APITEST] Show that CComObject's COM_MAP continues enumeration after a failing blind function. 2017-12-21 21:37:54 +01:00
Amine Khaldi 7ce46d59b4 [WINDOWSCODECS_WINETEST] Add a PCH. 2017-12-21 13:57:22 +01:00
Amine Khaldi d3626819e6 [MSXML3_WINETEST] Add a PCH. 2017-12-21 13:55:57 +01:00
Amine Khaldi ffd9617271 [DSOUND_WINETEST] Add a PCH. 2017-12-21 13:53:36 +01:00
Amine Khaldi 0b21a561cd [DINPUT_WINETEST] Add a PCH. 2017-12-21 13:45:22 +01:00
Amine Khaldi b09a63709b [WS2_32_APITEST] Improve the existing PCH and make use of it. 2017-12-21 13:36:04 +01:00
Amine Khaldi 823270e608 [ATL_APITEST] Add a PCH. 2017-12-21 13:31:24 +01:00
Amine Khaldi 9317220c00 [SHLWAPI_WINETEST] Add a PCH. 2017-12-20 13:36:27 +01:00
Amine Khaldi e32018ba19 [SHELL32_WINETEST] Add a PCH. 2017-12-20 13:29:32 +01:00
Amine Khaldi de6d0f24bc [OLEAUT32_WINETEST] Add a PCH. 2017-12-20 13:21:11 +01:00
Amine Khaldi 2cd1c84f7f [OLE32_WINETEST] Add a PCH. 2017-12-20 13:13:26 +01:00
Amine Khaldi a76e7d13e2 [NTDLL_WINETEST] Add a PCH. 2017-12-20 13:07:06 +01:00
Amine Khaldi 9cfa608dcf [MSVCRT_WINETEST] Add a PCH. 2017-12-20 12:57:58 +01:00
Mark Jansen cba274350e [BROWSEUI_APITEST] Add tests for IACLCustomMRU.
CORE-9281
2017-12-18 23:17:17 +01:00
Mark Jansen 8aaa5eea75 [COM_APITEST] Add IACLCustomMRU 2017-12-18 23:17:17 +01:00
Amine Khaldi 4cfc324cd1 [MSI_WINETEST] Add a PCH. 2017-12-18 13:48:13 +01:00
Amine Khaldi ba54c5644e [MSHTML_WINETEST] Add a PCH. 2017-12-18 13:43:24 +01:00
Amine Khaldi 98ca8ad114 [KERNEL32_WINETEST] Add a PCH. 2017-12-18 13:28:00 +01:00
Amine Khaldi e36cf4acaf [APITESTS][WINETESTS] Addendum to the recent PCH work. 2017-12-18 13:21:47 +01:00
Amine Khaldi 284a839dbd [COMCTL32_WINETEST] Add a PCH. 2017-12-17 13:40:43 +01:00
Amine Khaldi 8ed8eec17c [SHELL32_APITEST] Improve the existing PCH and make use of it. Convert AddCommas.c to c++ in order to have it benefit from the PCH. 2017-12-17 13:31:22 +01:00
Amine Khaldi 95ec9464d3 [GDI32_WINETEST] Add a PCH. 2017-12-17 13:20:00 +01:00
Amine Khaldi cded6efd75 [GDIPLUS_WINETEST] Add a PCH. 2017-12-17 13:14:57 +01:00
Amine Khaldi 5bd2230dc8 [CRYPT32_WINETEST] Add a PCH. 2017-12-17 12:33:39 +01:00
Amine Khaldi 0622ce1775 [COMDLG32_WINETEST] Add a PCH. 2017-12-17 12:28:41 +01:00
Amine Khaldi 71ddf5374a [ADVAPI32_WINETEST] Add a PCH. 2017-12-17 12:24:27 +01:00
Amine Khaldi 3bf31bf2ab [WIN32KNT_APITEST] Improve the existing PCH and make use of it. 2017-12-17 12:17:37 +01:00
Pierre Schweitzer 132c7d926b
[VFD] Remove no longer required ReactOS specific change
CORE-14090
2017-12-16 22:53:32 +01:00
Hermès Bélusca-Maïto acabbb7b85
[VFDLIB] Fix preprocessor directive compilation error when being used inside a macro expansion on MSVC. 2017-12-16 22:48:50 +01:00
Hermès Bélusca-Maïto e7b2aa65d2
[VFD] Fix build on MSVC2010. 2017-12-16 22:34:20 +01:00
Pierre Schweitzer 2a146533a5
[VFD] Fix build 2017-12-16 22:00:41 +01:00
Pierre Schweitzer 753d87468c
[VFD] Build with debug information on debug builds
CORE-14090
2017-12-16 21:57:11 +01:00
Pierre Schweitzer 25c7e1a8d0
[VFD] Import the VFD project (Virtual Floppy Drive) which allows creating virtual
floppy drives in ReactOS and mount images on them.
Only the cmd got imported. The GUI interface may come later on.
Note that, as for vcdrom, the driver is left disabled and you need to explicitely
start it through vfd command line interface.

CORE-14090
2017-12-16 21:48:34 +01:00
Pierre Schweitzer 72094e637d
[KERNEL32_APITEST] Add a test for FormatMessage backed with MC file. 2017-12-16 19:43:29 +01:00
Amine Khaldi e00cc9728c [KERNEL32_APITEST] Add a PCH. 2017-12-13 13:48:26 +01:00
Amine Khaldi 3543c43252 [COM_APITEST] Improve the existing PCH and make use of it. 2017-12-12 13:01:03 +01:00
Amine Khaldi 24f8946956 [ADVAPI32_APITEST] Add a PCH. 2017-12-12 12:44:32 +01:00
Pierre Schweitzer 1f2db8fab9
[VCDCLI] Fix typo 2017-12-10 23:44:19 +01:00
Colin Finck 3a69fd4e96 [PRINTING] Fix GetPrinterW, add tests for it and GetDefaultPrinterA/W, and add a proper stub for GetPrinterDriverDirectoryA.
* Pass the correct handle to _RpcGetPrinter in GetPrinterW.
* Pass an empty string instead of a NULL pointer as wszComputerName to the GetPrinterLevel* functions, because this variable is later used as source for StringCbCopyExW.
* Don't check for GetLastError() == ERROR_SUCCESS in tests. Windows apparently only sets the last error in case of failure.
  The Printing code should probably be changed similarly in a future commit.

Should fix CORE-14072
2017-12-10 12:28:08 +01:00
Amine Khaldi eafa77f30a [GDI32_APITEST] Properly add CreateDIBPatternBrush.c to the source files list instead of relying on CMake to do so. 2017-12-09 20:03:08 +01:00
Amine Khaldi de793ea5d6 [USER32_WINETEST] Add a PCH. 2017-12-09 13:58:55 +01:00
Mark Jansen 4ac511405f [SHELL32_APITEST] Add test for SHCreateFileExtractIconW
CORE-14082
2017-12-09 11:56:42 +01:00
Serge Gautherie a11841c939
[NTDLL_APITEST] Create Test_NtFreeVirtualMemory_Parameters(). CORE-13126
- Test 4th parameter ("ULONG FreeType") invalid values.
2017-12-08 09:47:44 +01:00
Thomas Faber 4aabe88288
[NTDLL_APITEST] Add license header for NtFreeVirtualMemory.c 2017-12-08 09:47:42 +01:00
Amine Khaldi 9b349f958c [ADVAPI32_APITEST][NTDLL_APITEST][WINDOWSCODECS] Comment out some unused functions and types. Silences some clang-cl warnings. 2017-12-08 00:22:05 +01:00
Amine Khaldi 00124d1b1a [CMAKE/CLANG-CL] Silence some clang-cl warnings in consistency with our gcc build. 2017-12-07 21:53:45 +01:00
Serge Gautherie 6fe9441d32
[NTDLL_APITEST] Allow the test to load on Windows XP. ROSTESTS-293 2017-12-07 09:54:53 +01:00
Pierre Schweitzer 4296826c58
[VCDCLI] Add support for UDF/Joliet hidding.
By providing /u or /j switch on mount, the virtual CD-ROM class driver
will break the associated signatures on read so that FSDs cannot recognize them any longer.
2017-12-05 21:41:05 +01:00
Stanislav Motylkov df88fcf5cc [SHELL32_APITEST] SHParseDisplayName: More tests for relative paths 2017-12-05 10:48:37 +02:00
Stanislav Motylkov 5dade73072 [BROWSEUI_APITEST] Improve tests for relative paths 2017-12-05 10:48:37 +02:00
Stanislav Motylkov d6e0c422e1 [IPHLPAPI_APITEST] Add tests for interface resolving functions
CORE-13831, CORE-14033
2017-12-03 21:08:31 +01:00
Pierre Schweitzer 581f32b8c2
[VCDCLI] Implement a tool that allows managing vcdrom class driver.
It allows you managing virtual drives, mounting images, ejecting images, and so on.

It will load the driver when required.

It's less features complete that the MS GUI implementation.
I'll implement them later on, it can be quickly done.
What's missing: UDF/Joliet suppr and persistent mounts
2017-12-03 18:17:57 +01:00
Pierre Schweitzer 6906e184bb
[VCDROM] Implement the virtual CD-ROM class driver.
It was provided by MS as a separate package to download for Windows (up to 7).
That class driver allows creating virtual drives on which we can later mount ISOs images.
It's rather basic, but does the job.

To use it, you can use the GUI app from Microsoft (Virtual CD-ROM Control Panel)
or the vcdcli in CLI. We're compatible :-).

Note that it's not loaded at boot, you need to manually start it, to lower memory footprint.
Both applications will handle this for you.
2017-12-03 18:17:45 +01:00
Amine Khaldi c39b0fc667 [USER32_APITEST] Add a PCH. 2017-12-02 22:18:06 +01:00
Amine Khaldi 283bbe7346 [NTDLL_APITEST] Add a PCH. 2017-12-02 22:15:04 +01:00
Amine Khaldi aee83c359c [GDI32_APITEST] Add a PCH. 2017-12-02 22:14:47 +01:00
Thomas Faber a22031dba6
[WINHTTP_WINETEST] Skip test_persistent_connection due to hang. CORE-14056 ROSTESTS-295 2017-12-02 14:18:26 +01:00
Thomas Faber ec0b69ad40
[WININET_WINETEST] Skip test_redirect and test_persistent_connection due to hang. CORE-14055 ROSTESTS-294 2017-12-02 13:49:09 +01:00
Amine Khaldi ed3bdb44f5 [DLLIMPORT_TEST] Skip this module in the clang-cl build until framedyn is back in it. CORE-11799 2017-11-24 12:07:56 +01:00