Skip to content

Commit

Permalink
Latest HexCtrl.
Browse files Browse the repository at this point in the history
  • Loading branch information
jovibor committed Jan 6, 2024
1 parent 677753f commit 588c3e9
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 43 deletions.
1 change: 1 addition & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Checks: '*,
-llvm-include-order,
-llvm-namespace-comment,
-llvm-qualified-auto,
-misc-include-cleaner,
-misc-non-private-member-variables-in-classes,
-misc-no-recursion,
-misc-use-after-move,
Expand Down
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ cpp_indent_preprocessor = one_left
cpp_indent_access_specifiers = false
cpp_indent_namespace_contents = true
cpp_indent_preserve_comments = true
cpp_new_line_before_open_brace_namespace = ignore
cpp_new_line_before_open_brace_namespace = same_line
cpp_new_line_before_open_brace_type = same_line
cpp_new_line_before_open_brace_function = ignore
cpp_new_line_before_open_brace_block = same_line
Expand Down
22 changes: 12 additions & 10 deletions Pepper/Pepper.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -165,19 +165,26 @@
<ClCompile Include="CTreeEx.cpp" />
<ClCompile Include="dep\HexCtrl\HexCtrl\dep\ListEx\CListEx.cpp" />
<ClCompile Include="dep\HexCtrl\HexCtrl\src\CHexCtrl.cpp" />
<ClCompile Include="dep\HexCtrl\HexCtrl\src\CHexSelection.cpp" />
<ClCompile Include="dep\HexCtrl\HexCtrl\src\CScrollEx.cpp" />
<ClCompile Include="dep\HexCtrl\HexCtrl\src\CHexScroll.ixx">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="dep\HexCtrl\HexCtrl\src\CHexSelection.ixx">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgBkmMgr.cpp" />
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgCallback.cpp" />
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgCodepage.cpp" />
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgDataInterp.cpp" />
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgFillData.cpp" />
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgGoTo.cpp" />
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgModify.cpp" />
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgOpers.cpp" />
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgSearch.cpp" />
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgTemplMgr.cpp" />
<ClCompile Include="dep\HexCtrl\HexCtrl\src\HexUtility.cpp" />
<ClCompile Include="dep\HexCtrl\HexCtrl\src\HexUtility.ixx">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
</ClCompile>
<ClCompile Include="dep\libpe\libpe\libpe.ixx">
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">NotUsing</PrecompiledHeader>
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">NotUsing</PrecompiledHeader>
Expand Down Expand Up @@ -208,19 +215,14 @@
<ClInclude Include="dep\HexCtrl\HexCtrl\HexCtrl.h" />
<ClInclude Include="dep\HexCtrl\HexCtrl\res\HexCtrlRes.h" />
<ClInclude Include="dep\HexCtrl\HexCtrl\src\CHexCtrl.h" />
<ClInclude Include="dep\HexCtrl\HexCtrl\src\CHexSelection.h" />
<ClInclude Include="dep\HexCtrl\HexCtrl\src\CScrollEx.h" />
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgBkmMgr.h" />
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgCallback.h" />
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgCodepage.h" />
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgDataInterp.h" />
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgFillData.h" />
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgGoTo.h" />
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgModify.h" />
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgOpers.h" />
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgSearch.h" />
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgTemplMgr.h" />
<ClInclude Include="dep\HexCtrl\HexCtrl\src\HexUtility.h" />
<ClInclude Include="res\resource.h" />
<ClInclude Include="CSplitterEx.h" />
<ClInclude Include="CTreeEx.h" />
Expand Down
39 changes: 9 additions & 30 deletions Pepper/Pepper.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,6 @@
<ClCompile Include="dep\HexCtrl\HexCtrl\src\CHexCtrl.cpp">
<Filter>HexCtrl</Filter>
</ClCompile>
<ClCompile Include="dep\HexCtrl\HexCtrl\src\CHexSelection.cpp">
<Filter>HexCtrl</Filter>
</ClCompile>
<ClCompile Include="dep\HexCtrl\HexCtrl\src\CScrollEx.cpp">
<Filter>HexCtrl</Filter>
</ClCompile>
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgBkmMgr.cpp">
<Filter>HexCtrl</Filter>
</ClCompile>
Expand All @@ -61,24 +55,15 @@
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgDataInterp.cpp">
<Filter>HexCtrl</Filter>
</ClCompile>
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgFillData.cpp">
<Filter>HexCtrl</Filter>
</ClCompile>
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgGoTo.cpp">
<Filter>HexCtrl</Filter>
</ClCompile>
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgOpers.cpp">
<Filter>HexCtrl</Filter>
</ClCompile>
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgSearch.cpp">
<Filter>HexCtrl</Filter>
</ClCompile>
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgTemplMgr.cpp">
<Filter>HexCtrl</Filter>
</ClCompile>
<ClCompile Include="dep\HexCtrl\HexCtrl\src\HexUtility.cpp">
<Filter>HexCtrl</Filter>
</ClCompile>
<ClCompile Include="dep\libpe\libpe\libpe.ixx">
<Filter>libpe</Filter>
</ClCompile>
Expand All @@ -91,6 +76,15 @@
<ClCompile Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgCodepage.cpp">
<Filter>HexCtrl</Filter>
</ClCompile>
<ClCompile Include="dep\HexCtrl\HexCtrl\src\CHexScroll.ixx">
<Filter>HexCtrl</Filter>
</ClCompile>
<ClCompile Include="dep\HexCtrl\HexCtrl\src\CHexSelection.ixx">
<Filter>HexCtrl</Filter>
</ClCompile>
<ClCompile Include="dep\HexCtrl\HexCtrl\src\HexUtility.ixx">
<Filter>HexCtrl</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="res\resource.h">
Expand Down Expand Up @@ -144,12 +138,6 @@
<ClInclude Include="dep\HexCtrl\HexCtrl\src\CHexCtrl.h">
<Filter>HexCtrl</Filter>
</ClInclude>
<ClInclude Include="dep\HexCtrl\HexCtrl\src\CHexSelection.h">
<Filter>HexCtrl</Filter>
</ClInclude>
<ClInclude Include="dep\HexCtrl\HexCtrl\src\CScrollEx.h">
<Filter>HexCtrl</Filter>
</ClInclude>
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgBkmMgr.h">
<Filter>HexCtrl</Filter>
</ClInclude>
Expand All @@ -159,24 +147,15 @@
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgDataInterp.h">
<Filter>HexCtrl</Filter>
</ClInclude>
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgFillData.h">
<Filter>HexCtrl</Filter>
</ClInclude>
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgGoTo.h">
<Filter>HexCtrl</Filter>
</ClInclude>
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgOpers.h">
<Filter>HexCtrl</Filter>
</ClInclude>
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgSearch.h">
<Filter>HexCtrl</Filter>
</ClInclude>
<ClInclude Include="dep\HexCtrl\HexCtrl\src\Dialogs\CHexDlgTemplMgr.h">
<Filter>HexCtrl</Filter>
</ClInclude>
<ClInclude Include="dep\HexCtrl\HexCtrl\src\HexUtility.h">
<Filter>HexCtrl</Filter>
</ClInclude>
<ClInclude Include="dep\HexCtrl\HexCtrl\HexCtrl.h">
<Filter>HexCtrl</Filter>
</ClInclude>
Expand Down
2 changes: 1 addition & 1 deletion Pepper/dep/HexCtrl
Submodule HexCtrl updated 50 files
+1 −0 .clang-tidy
+1 −1 .editorconfig
+60 −53 HexCtrl/HexCtrl.h
+67 −45 HexCtrl/dep/ListEx/CListEx.cpp
+8 −9 HexCtrl/dep/ListEx/ListEx.h
+1 −1 HexCtrl/dep/StrToNum
+25 −22 HexCtrl/res/HexCtrl.rc
+116 −113 HexCtrl/res/HexCtrlRes.h
+12 −10 HexCtrl/res/IDJ_HEXCTRL_KEYBIND.json
+674 −717 HexCtrl/src/CHexCtrl.cpp
+44 −35 HexCtrl/src/CHexCtrl.h
+1,094 −0 HexCtrl/src/CHexScroll.ixx
+0 −138 HexCtrl/src/CHexSelection.cpp
+0 −35 HexCtrl/src/CHexSelection.h
+163 −0 HexCtrl/src/CHexSelection.ixx
+0 −1,004 HexCtrl/src/CScrollEx.cpp
+0 −102 HexCtrl/src/CScrollEx.h
+56 −30 HexCtrl/src/Dialogs/CHexDlgBkmMgr.cpp
+8 −6 HexCtrl/src/Dialogs/CHexDlgBkmMgr.h
+9 −9 HexCtrl/src/Dialogs/CHexDlgCallback.cpp
+3 −4 HexCtrl/src/Dialogs/CHexDlgCallback.h
+42 −40 HexCtrl/src/Dialogs/CHexDlgCodepage.cpp
+7 −8 HexCtrl/src/Dialogs/CHexDlgCodepage.h
+514 −552 HexCtrl/src/Dialogs/CHexDlgDataInterp.cpp
+45 −82 HexCtrl/src/Dialogs/CHexDlgDataInterp.h
+0 −191 HexCtrl/src/Dialogs/CHexDlgFillData.cpp
+0 −31 HexCtrl/src/Dialogs/CHexDlgFillData.h
+8 −8 HexCtrl/src/Dialogs/CHexDlgGoTo.cpp
+2 −3 HexCtrl/src/Dialogs/CHexDlgGoTo.h
+467 −3 HexCtrl/src/Dialogs/CHexDlgModify.cpp
+10 −8 HexCtrl/src/Dialogs/CHexDlgModify.h
+0 −253 HexCtrl/src/Dialogs/CHexDlgOpers.cpp
+0 −42 HexCtrl/src/Dialogs/CHexDlgOpers.h
+524 −440 HexCtrl/src/Dialogs/CHexDlgSearch.cpp
+42 −41 HexCtrl/src/Dialogs/CHexDlgSearch.h
+183 −185 HexCtrl/src/Dialogs/CHexDlgTemplMgr.cpp
+14 −17 HexCtrl/src/Dialogs/CHexDlgTemplMgr.h
+0 −176 HexCtrl/src/HexUtility.cpp
+0 −131 HexCtrl/src/HexUtility.h
+273 −0 HexCtrl/src/HexUtility.ixx
+134 −97 README.md
+21 −10 VS Projects/DLL Project/DLL Project.vcxproj
+9 −30 VS Projects/DLL Project/DLL Project.vcxproj.filters
+18 −3 VS Projects/Sample Project/HexSampleDlg.cpp
+1 −1 VS Projects/Sample Project/HexSampleDlg.h
+21 −10 VS Projects/Sample Project/Sample Project.vcxproj
+9 −30 VS Projects/Sample Project/Sample Project.vcxproj.filters
+ docs/img/HexCtrl_Main.jpg
+ docs/img/HexCtrl_Operations.jpg
+ docs/img/HexCtrl_OperationsWnd.jpg
2 changes: 1 addition & 1 deletion Pepper/dep/libpe

0 comments on commit 588c3e9

Please sign in to comment.