Skip to content

Commit 43bd033

Browse files
authored
Merge pull request #566 from GameTechDev/version_updates
Version updates
2 parents 6a6097d + 2808666 commit 43bd033

60 files changed

Lines changed: 259 additions & 103 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

ETLTrimmer/ETLTrimmer.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@
8282
<ConformanceMode>true</ConformanceMode>
8383
<LanguageStandard>stdcpplatest</LanguageStandard>
8484
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
85+
<ControlFlowGuard>Guard</ControlFlowGuard>
8586
</ClCompile>
8687
<Link>
8788
<SubSystem>Console</SubSystem>

IntelPresentMon/AppCef/AppCef.rc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ IDI_ICON1 ICON "flask.ico"
6161
//
6262

6363
VS_VERSION_INFO VERSIONINFO
64-
FILEVERSION 1,0,5,0
65-
PRODUCTVERSION 2,4,0,0
64+
FILEVERSION PM_VER_FILE_NUM
65+
PRODUCTVERSION PM_VER_PRODUCT_NUM
6666
FILEFLAGSMASK 0x3fL
6767
#ifdef _DEBUG
6868
FILEFLAGS 0x1L
@@ -79,12 +79,12 @@ BEGIN
7979
BEGIN
8080
VALUE "CompanyName", "Intel(R) Corporation"
8181
VALUE "FileDescription", "Intel(R) PresentMon application"
82-
VALUE "FileVersion", "1.0.5.0"
82+
VALUE "FileVersion", PM_VER_FILE_STR
8383
VALUE "InternalName", "CefNano.exe"
84-
VALUE "LegalCopyright", "Copyright (C) 2017-2025"
84+
VALUE "LegalCopyright", PM_VER_COPYRIGHT
8585
VALUE "OriginalFilename", "CefNano.exe"
8686
VALUE "ProductName", "Intel(R) PresentMon"
87-
VALUE "ProductVersion", "2.4.0.0"
87+
VALUE "ProductVersion", PM_VER_PRODUCT_STR
8888
END
8989
END
9090
BLOCK "VarFileInfo"

IntelPresentMon/AppCef/CefNano.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@
194194
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
195195
<AdditionalIncludeDirectories>..;Cef\Include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
196196
<ExceptionHandling>Async</ExceptionHandling>
197+
<ControlFlowGuard>Guard</ControlFlowGuard>
197198
</ClCompile>
198199
<Link>
199200
<SubSystem>Windows</SubSystem>

IntelPresentMon/AppCef/ipm-ui-vue/BlockLists/TargetBlockList.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ hxoutlook.exe
9898
icue.exe
9999
iexplore.exe
100100
imagemonitor.exe
101+
intelgraphicssoftware.exe
101102
ipitting.livecompanion.exe
102103
javaw.exe
103104
jetbrains-toolbox.exe
@@ -175,6 +176,7 @@ perftune.exe
175176
photosapp.exe
176177
photoshop.exe
177178
playnite.desktopapp.exe
179+
pix.exe
178180
plex.exe
179181
plitch.exe
180182
powerpnt.exe

IntelPresentMon/Common.props

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildThisFileDirectory)..\Version.props" Condition="Exists('$(MSBuildThisFileDirectory)..\Version.props') and '$(VersionPropsImported)'==''" />
34
<ImportGroup Label="PropertySheets" />
45
<PropertyGroup Label="UserMacros" />
56
<PropertyGroup>
@@ -15,6 +16,9 @@
1516
<PreprocessorDefinitions>CEREAL_THREAD_SAFE=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
1617
<AdditionalIncludeDirectories>..;../..;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
1718
</ClCompile>
19+
<ResourceCompile>
20+
<PreprocessorDefinitions>PM_VER_FILE_NUM=$(PresentMonFileVersionNumbers);PM_VER_PRODUCT_NUM=$(PresentMonProductVersionNumbers);PM_VER_FILE_STR=\"$(PresentMonFileVersion)\";PM_VER_PRODUCT_STR=\"$(PresentMonProductVersion)\";PM_VER_COPYRIGHT=\"$(PresentMonCopyright)\";%(PreprocessorDefinitions)</PreprocessorDefinitions>
21+
</ResourceCompile>
1822
</ItemDefinitionGroup>
1923
<ItemGroup />
2024
</Project>

IntelPresentMon/CommonUtilities/CommonUtilities.vcxproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@
355355
<LanguageStandard>stdcpplatest</LanguageStandard>
356356
<ExceptionHandling>Async</ExceptionHandling>
357357
<AdditionalIncludeDirectories>../..;$(vcSiblingIncludeDirectory);$(vcInstalledIncludeDirectory);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
358+
<ControlFlowGuard>Guard</ControlFlowGuard>
358359
</ClCompile>
359360
<Link>
360361
<SubSystem>

IntelPresentMon/CommonUtilities/file/SecureSubdirectory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ namespace pmon::util::file
195195
Remove();
196196
}
197197
catch (...) {
198-
pmlog_error("failed removing secure subdir").pmwatch(path_.string());
198+
pmquell(pmlog_error("failed removing secure subdir").pmwatch(path_.string()));
199199
}
200200
}
201201
}

IntelPresentMon/CommonUtilities/file/TempFile.cpp

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include "../str/String.h"
66
#include "../Exception.h"
77
#include "../Memory.h"
8+
#include "../log/Log.h"
89
#include <fstream>
910
#include <random>
1011
#include <format>
@@ -21,7 +22,10 @@ namespace pmon::util::file
2122
TempFile::~TempFile()
2223
{
2324
if (!Empty()) {
24-
fs::remove(path_);
25+
try { fs::remove(path_); }
26+
catch (...) {
27+
pmlog_warn(util::ReportException("TempFile dtor cleanup"));
28+
}
2529
}
2630
}
2731
TempFile TempFile::Create()

IntelPresentMon/CommonUtilities/log/Level.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ using namespace std::literals;
66

77
namespace pmon::util::log
88
{
9-
std::string GetLevelName(Level lv) noexcept
9+
std::string GetLevelName(Level lv)
1010
{
1111
return std::string{ reflect::enum_name<Level, "Unknown", 0, int(Level::EndOfEnumKeys)>(lv)};
1212
}
1313

14-
std::map<std::string, Level> GetLevelMapNarrow() noexcept
14+
std::map<std::string, Level> GetLevelMapNarrow()
1515
{
1616
using namespace pmon::util::str;
1717
std::map<std::string, Level> map;

IntelPresentMon/CommonUtilities/log/Level.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ namespace pmon::util::log
1818
EndOfEnumKeys,
1919
};
2020

21-
std::string GetLevelName(Level) noexcept;
22-
std::map<std::string, Level> GetLevelMapNarrow() noexcept;
21+
std::string GetLevelName(Level);
22+
std::map<std::string, Level> GetLevelMapNarrow();
2323
}

0 commit comments

Comments
 (0)