Commit graph

39 commits

Author SHA1 Message Date
Joachim Henze e35af429d9 [0.4.7][REACTOS] Fix ', \n' typos in *.rc CORE-18103
fix is a partial (intentionally non-squashed) pick of 0.4.14-dev-1142-g 92aabb07fb (#2393)
2022-03-23 21:39:00 +01:00
Joachim Henze 998bd6a85f [0.4.7][SHELL32_WINETEST] Fix 2 MSVC warnings about flags CORE-7538
Can be observed when building with MSVC2010SP1 x86-target in dbg config:
- "...\ebrowser.c(1188) : warning C4133: 'function' : incompatible types - from 'DWORD *' to 'EXPLORER_BROWSER_OPTIONS *'"
- "...\ebrowser.c(1198) : warning C4133: 'function' : incompatible types - from 'DWORD *' to 'EXPLORER_BROWSER_OPTIONS *'"

Cherry-pick 535f2f9e66

fix picked from:
0.4.10-dev-513-g 669d6b445b
2022-03-15 12:48:14 +01:00
Joachim Henze b4f3d7a575 [0.4.7][USP10] Significantly speed up the text rendering
-fixes CORE-14192 Notepad text rendering performance improves dramatically
-fixes 50% of CORE-13631 GSView Setup, dramatic speedup, but only partially solved because the jumping does persist
-fixes CORE-14002 "It takes 8seconds to open up about dlg of DevCPP 5.11" reduces to 2seconds
-fixes "about-dlg of DoubleCommander takes long to open"

[USP10] Re-use script caches for the same font. CORE-14192
This significantly speeds up WM_SETTEXT in multiline edit controls.
by porting back the fix from 0.4.8-dev-779-g cd992d022f
-----------------------------------------------------------
but since that commit on its own would introduce the regression CORE-14226
I have to additionally port back 0.4.12-dev-151-g c086edf366
That final fixes commit message:

[USP10] Don't mix character and glyph index caches. CORE-14226

Import Wine commits by Nikolay Sivov:
* d1e618d31da usp10: Use glyph index consistently in ScriptGetGlyphABCWidth().
* 8d018d8d1da usp10: Make sure metrics cache is used with glyph indices only.
* eda3a3e37da usp10: Remove extra parentheses.

Fixes font display in UltraISO and GOG and many other installers.

See also https://bugs.winehq.org/show_bug.cgi?id=44410
-------------------------------------------------------------
and I have to sync the
modules\rostests\winetests\usp10\usp10.c to the state of 0.4.8-release-30-gfb23ed8
2020-11-15 23:22:02 +01:00
Colin Finck 54a9cc5964 [0.4.7][PRINTING] Squashed 2 commits to fix regression CORE-14072
Symptom CORE-14072: '1C: Enterprise 8.2 Educational Edititon can't launch anymore due to "not enough memory" error'

It regressed by SVN r74513 == git 5b6e082869
Actually the most important part of this fix are just the changes in win32ss/printing/base/winspool/printers.c func GetPrinterW()
But I felt more safe when porting back the whole 2 fix-commits including the tests:
---------------------------

[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

fix picked from commit 0.4.8-dev-314-g
3a69fd4e96
----------------------------
[WINSPOOL] Convert the returned Unicode string back to ANSI in GetDefaultPrinterA.

Thanks to Mark for the hint in CORE-14072!

fix picked from commit 0.4.8-dev-300-g
45b9b5c1ef
2020-11-12 01:47:59 +01:00
Ged Murphy b10dd06aa5 [KMTEST] Initial usermode support for testing FS mini-filters (#81)
* [KMTEST] Initial usermode support for testing FS mini-filters
- Add base routines to wrap the win32 'Filter' APis
- Add support routines to be used when testing FS filter drivers
- Move KmtCreateService to a private routine so it can be shared with KmtFltCreateService
- Completely untested at the mo, so likely contains bugs at this point
2017-10-25 10:39:55 +01:00
Amine Khaldi f7932ba2de [NTDLL_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-23 13:48:05 +01:00
Amine Khaldi 6595983e83 [REGEDIT_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-23 13:47:48 +01:00
Amine Khaldi 8901d24b00 [QEDIT_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-23 13:47:37 +01:00
Amine Khaldi bff534936a [PSAPI_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-23 13:47:21 +01:00
Amine Khaldi 3ce9d8ab17 [OPENGL32_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-23 13:47:02 +01:00
Amine Khaldi b8549aef08 [MMDEVAPI_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 14:10:14 +01:00
Amine Khaldi 8856b0bde3 [WMIUTILS_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 14:08:03 +01:00
Amine Khaldi ddb53a4bab [UXTHEME_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 14:01:30 +01:00
Amine Khaldi 7a90aee56c [SHLWAPI_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 14:00:13 +01:00
Amine Khaldi 684625e49f [QMGR_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 13:33:33 +01:00
Amine Khaldi 2f9927dddc [PDH_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 13:22:17 +01:00
Amine Khaldi 6c2597df71 [ODBCCP32_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 13:15:59 +01:00
Amine Khaldi 3a06e69a11 [MSXML3_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 13:14:13 +01:00
Amine Khaldi 959d60f54a [MPR_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-21 13:11:27 +01:00
Amine Khaldi 68eadadcc6 [SHELL32_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-19 22:30:28 +01:00
Amine Khaldi 867a81a46b [MSVCRT_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-19 22:30:16 +01:00
Amine Khaldi 9a436e2dfa [KERNEL32_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-19 22:29:35 +01:00
Pierre Schweitzer 3a33ab9638 [NTDLL_APITEST] Add simple tests for RtlUnicodeStringToAnsiString() that were used to test the kernel32 regression 2017-10-16 22:04:22 +02:00
Pierre Schweitzer eb05356a26 [KERNEL32_APITEST] Add a few tests for GetVolumeInformation that were used to fix previous issues 2017-10-15 10:44:50 +02:00
Ged Murphy 9d15fb9279 Start to implement fltmgr tests [WIP] (#52)
[FLTMGR]
- Partially implement registering contexts
- Add a misc file which contains stubs of the APIs needed in the test suite
- Export some APIs needed by the test suite

[KMTESTS]
- Create a File System Mini-filter wrapper to host drivers for the filter manager tests
- Add a test file which will be used for testing that mini-filters load correctly
- Add a test file which will be used to write tests for IRP_MJ_CREATE requests
2017-10-12 15:32:30 +01:00
Amine Khaldi 561bed7b55 [ADVAPI32_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-08 13:41:17 +01:00
Amine Khaldi 84ccccabe0 [WMVCORE_WINETEST] Import from Wine Staging 2.16. CORE-13762 2017-10-08 11:49:33 +01:00
Amine Khaldi 2f8e6f711c [MSI_WINETEST] Sync with Wine Staging 2.16. CORE-13762 2017-10-08 11:31:31 +01:00
Pierre Schweitzer d788a52c79 [KERNEL32_APITEST]: Add tests for IOCTL_MOUNTDEV_QUERY_SUGGESTED_LINK_NAME that show its usage is "one-shot". Once queried, it gets forgotten. 2017-10-08 10:12:08 +02:00
Pierre Schweitzer ac8d045461 [KERNEL32_APITEST]: Rewrite DeviceIoControl to test both disk.sys and cdrom.sys 2017-10-07 14:07:06 +02:00
Pierre Schweitzer d3b4f09eb3 [KERNEL32_APITEST]: Fix uninit stack var usage 2017-10-07 12:11:17 +02:00
Pierre Schweitzer a6b61b855c [KERNEL32_APITEST]: Add few tests for IOCTL_MOUNTDEV_QUERY_UNIQUE_ID 2017-10-07 12:09:27 +02:00
Colin Finck da53a9399a [WS2_32_APITEST] Make the apitest fully C89-compliant to fix building under MSVC 2010.
In C89, you can only initialize the first member of a union within a declaration. Unfortunately, that is the S_un_b UCHAR array for the S_un union inside struct in_addr.
So we have to initialize it with each UCHAR member of Address.
2017-10-06 17:33:47 +02:00
Colin Finck 9ebf43567d Add .gitattributes and .gitignore files and normalize line endings in the repository (#10) 2017-10-04 20:37:32 +02:00
Hermès Bélusca-Maïto acdf04bad2 Add .keep guard files in order to restore lost but empty directories we had with SVN.
Note that when you start populating these directories, you can remove the associated .keep guard file(s)!
2017-10-04 10:28:36 +02:00
Hermès Bélusca-Maïto 221ed4cefe Remove unwanted .gitignore files. 2017-10-04 10:28:36 +02:00
Colin Finck 417e262dfc Build rosapps, rostests, wallpapers when their CMake variables are set instead of checking for directory existence.
By default, ReactOS will now build without any of these modules.
You can enable them using e.g. "configure -DENABLE_ROSTESTS=1".
2017-10-03 16:36:59 +02:00
Colin Finck 3d6040615a Make ReactOS report the Git revision as output by "git describe".
- REVISION is now something like "0.4.7-dev-53-g1304b53" instead of "r12345".
- Change WINDOWS_NT_BANNER to better represent the ReactOS version and the reported NT version.
- Introduce REACTOS_COMMIT_HASH which contains the full 40-character commit hash (for comparing revisions, e.g. in rosautotest/testman).
2017-10-03 12:55:38 +02:00
Colin Finck c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00