Commit e8789e6
committed
Merge branch 'feature-issue117' #117
* feature-issue117:
Fixed issue #117: Menu entries with icons that uses an icon file (.ico) does not work when scale is greater than 100%.
Code cleanup.
Moved files generated by tests TestWin32Utils.* to their own directory. Each tests has its own directory located in "%TEMP%\[TESTNAME]".
Created a second tests for issue #117 which uses ExtractIconEx() function but only queries for a "small" icon instead of a small and large.
Implemented Win32Utils::LoadBitmapFromFile() and tests. This function is required to be able to load 32 bpp bitmaps which LoadImage() function does not support.
Implemented new function Win32Utils::SaveBitmapFile() and tests.
Fixed HBITMAP save to file function and made optimization to use latest bitmap header.
Fixed a bug where Win32Utils::CreateBmpFile() was failing in release mode.
- Implemented support for registering command line entry points in ArgumentsHandler.h. The feature allow registering callback for specific tests. The callbacks are invoked as new processes by the main testing process. The callbacks are required for special executable property settings like elevated privileges or DPI monitor awareness. - Implemented new DPI monitor awareness functions in Win32Utils.h. These functions will allow the application to properly handle content on scaled monitors. - Created new tests for showing the behavior of `ExtractIconEx()` function. #117
Added new icons for testing resolutions and debugging the application behavior. The icon shows the native resolution as text. Each resolution have a different background color. See [filename.ico].content.png files for the actual icon content. #117
Extracted content of issue117.7z locally in test_files directory so that icons can be directly used in tests.
Updated files for issue #117
Adding test files and icons for #117.
Implemented more verbose icon handling. For issue #117.
Deprecated Windows 7 support. #117 Added more logging about system version and metrics.
Enabled building all branches that matches `feature-issue*` (again).
Added more logging when dealing with icons. Issue #117.
Enabled building all branches that matches `feature-issue*`.File tree
58 files changed
+1927
-97
lines changed- src
- shellextension
- tests
- test_files
- issue117
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
58 files changed
+1927
-97
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
| |||
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
| 17 | + | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| 126 | + | |
| 127 | + | |
126 | 128 | | |
127 | 129 | | |
128 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments