Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #287

Draft
wants to merge 125 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
125 commits
Select commit Hold shift + click to select a range
c1b68cc
chore(deps-dev): remove Commitizen
BinToss May 27, 2023
a28829a
chore: update commitlint Husky hook
BinToss Mar 15, 2022
0544931
chore(deps-dev): remove .cz.toml
BinToss May 27, 2023
3d6727d
chore(dev-deps): rely solely on HaloSPV3/HCE.Shared for NPM packages
BinToss May 27, 2023
b651be0
chore(deps-dev): update husky hooks
BinToss May 27, 2023
5c973c9
Merge branch 'relyOn_HCE.Shared'
BinToss May 27, 2023
c88000c
build: add publishing profiles
BinToss Jan 5, 2022
d83cb8b
ci:(release): de-ref CSPROJ_RELPATH via workflow syntax instead of Po…
BinToss Jan 9, 2022
8f62a87
ci(release): change RID to a matrix variable for win-x86, win-x64
BinToss Jan 9, 2022
2df4884
ci(release): trim comments and empty lines for Dotnet block
BinToss Jan 9, 2022
5df6b49
ci(release): set Target Framework to net6.0-windows
BinToss Jan 9, 2022
b43b573
ci(release): change path of packaged Publish artifacts
BinToss Jan 9, 2022
cd2b42f
build: IncludeNativeLibrariesForSelfExtract
BinToss Jan 9, 2022
5a20b58
build: EnableCompressionInSingleFile
BinToss Jan 9, 2022
a9345c7
build: if undefined, set RuntimeIdentifier to win-x64
BinToss Jan 9, 2022
527e808
build: explicitly enable SelfContained
BinToss Jan 9, 2022
f289e81
build: enable isTrimmable
BinToss Jan 9, 2022
422023a
Merge branch 'singlefile' into develop
BinToss Jan 9, 2022
c97821b
fix: replace WMI for filesystem compression with DotNet functionality
BinToss Jan 9, 2022
730191a
chore(vscode): add markdown rules
BinToss Jan 9, 2022
6c8e4b7
docs(readme): add Requirements
BinToss Jan 9, 2022
6343390
feat: Add CLI alternative to Positions GUI
BinToss Feb 14, 2022
6cff163
fix: support targeting NETFX 4.6.2, 4.8.0
BinToss Feb 14, 2022
fbae24f
fix: remove/replace WinForms references
BinToss Feb 20, 2022
66addac
build: simplify GitVersion prebuild script
BinToss Feb 20, 2022
ae905b9
style: add end-of-file newline
BinToss Feb 20, 2022
258c0ec
build: change CPU arch conditions from Equals to Contains
BinToss Feb 20, 2022
a35c181
build: set satellite resource langs to en-us
BinToss Feb 20, 2022
809e5be
build: enable InvariantGlobalization
BinToss Feb 20, 2022
9b0e09d
build: set custom var `Win7SF` if SDK version is 6.0.300 or greater
BinToss Feb 20, 2022
5353781
build: only allow PublishSingleFile with Win7 if Win7SF is True
BinToss Feb 20, 2022
1b90854
build: do not publish Release symbols
BinToss Feb 20, 2022
a8863a6
build: move publish-related props and conditions
BinToss Feb 20, 2022
3447c8c
style: fix indentation
BinToss Feb 20, 2022
e7e5b00
style: set charset to UTF-8 BOM
BinToss Feb 20, 2022
52aeefa
refactor: remove unnecessary using System.Reflection
BinToss Feb 20, 2022
d85f3c6
fix: add using System.Linq
BinToss Feb 20, 2022
c895022
feat: add --cli arg
BinToss Feb 20, 2022
b10ca0b
refactor: move NewLine appendix in Exception output
BinToss Feb 20, 2022
10c392f
refactor: change input prompt for --infer
BinToss Feb 20, 2022
23a0b28
refactor: use Exit.WithCode() instead of Exit()
BinToss Feb 20, 2022
cee7a4d
fix: re-throw exceptions during --test
BinToss Feb 20, 2022
b2624b7
refactor: add const string ExceptionHeader
BinToss Feb 20, 2022
79e7762
style: sort usings
BinToss Feb 20, 2022
551eb23
style: fix indentation
BinToss Feb 20, 2022
304dcec
docs: add TODO regarding --silent
BinToss Feb 20, 2022
bc4f178
refactor: add Results list for returning result type and message
BinToss Feb 20, 2022
5e90c47
refactor: consolidate Process' error output
BinToss Feb 20, 2022
5967dbd
refactor: add class `ResultAndType`
BinToss Feb 20, 2022
f7b7aae
docs: update Infer()'s summary
BinToss Feb 20, 2022
0749529
refactor: move process matching from Infer() to DeeperCheck()
BinToss Feb 20, 2022
c3bf9e3
refactor: set Process to static
BinToss Feb 20, 2022
01c7ff1
refactor: combine Result and ResultAndType
BinToss Feb 20, 2022
f286be2
refactor: add LastResult for random access and returned values
BinToss Feb 20, 2022
44703fc
refactor: move Halo PC workload to InspectHPC()
BinToss Feb 20, 2022
d5b3db4
refactor: move MCC workload to InspectMCC()
BinToss Feb 20, 2022
b878bdd
refactor: set LastResult members in Infer()
BinToss Feb 20, 2022
3215d61
refactor: remove unused Results list
BinToss Feb 20, 2022
d3d6ae5
docs: add summary of DeeperCheck's switch statement
BinToss Feb 20, 2022
ea755bb
feat: add InferResult()
BinToss Feb 20, 2022
69110bc
Merge branch 'feat/HXE.Process.InferResult()' into develop
BinToss Feb 20, 2022
055caed
docs: add summary and return docs to InferResult()
BinToss Feb 20, 2022
45f2105
docs: remove old TODO note
BinToss Feb 20, 2022
19f6403
style: add end-of-file newline
BinToss Feb 20, 2022
cebe25c
style: format document
BinToss Feb 20, 2022
bf41ded
refactor: remove unused using
BinToss Feb 20, 2022
be045cf
style: convert indentation to Tabs
BinToss Feb 20, 2022
a5b1628
refactor: move members from Settings to SettingsCore
BinToss Feb 20, 2022
3b45bfa
refactor: simplify Mode/SelectedIndex switches
BinToss Feb 20, 2022
04ba80b
refactor: close Settings window instead of hiding it
BinToss Feb 20, 2022
8da710f
docs: update Copyright
BinToss Feb 20, 2022
b3a14a4
build: add/rename Publish profiles
BinToss Feb 20, 2022
3a6e3a2
Merge branch 'refactor/SettingsCore' into develop
BinToss Feb 20, 2022
b1059cb
fix: handle InvalidOperationException sometimes thrown when setting D…
BinToss Feb 21, 2022
9c0011c
docs: update banner.txt's example arguments
BinToss Feb 21, 2022
3287c0b
refactor: convert banner.txt to a const string
BinToss Feb 21, 2022
dcf555c
refactor: remove unused look-up of Banner resource
BinToss Feb 21, 2022
20470e4
refactor: include patches.crk as EmbeddedResource separate from Resou…
BinToss Feb 21, 2022
5bd4d03
style: format document
BinToss Feb 21, 2022
90d4088
docs: add summary to PatchGroup
BinToss Feb 21, 2022
fc1b2f7
refactor: set List<PatchGroup> Patches to private
BinToss Feb 21, 2022
5ca963f
style: remove blank line
BinToss Feb 21, 2022
b54255f
style: add braces to using statement, if-else
BinToss Feb 21, 2022
17bede8
refactor: use decrement operator instead of -=
BinToss Feb 21, 2022
8b48c73
refactor: simplify boolean comparison
BinToss Feb 21, 2022
84e4386
refactor: use explicit type instead of 'var' where type is not obvious
BinToss Feb 21, 2022
0618af2
chore(vscode): whitelist word "haloce"
BinToss Feb 21, 2022
da416a4
refactor: use element access csharp(RCS1246)
BinToss Feb 21, 2022
747d3a9
ci(release): fix release workflow
BinToss Feb 21, 2022
8455182
chore(deps): update namchee/conventional-pr action to v0.9.0
BinToss Feb 21, 2022
ce024c2
ci(cpr): ignore snyk-bot
BinToss Feb 21, 2022
41da068
chore: remove CodeMaid config
BinToss Feb 21, 2022
6a24035
docs: update SCREENSHOT.png
BinToss Feb 21, 2022
7a6ba1c
ci(cpr): rename step 'hqprs' to 'cpr'
BinToss Mar 14, 2022
231d1b9
chore(vscode): update Launch configuration
BinToss Mar 14, 2022
a52b37d
chore(vscode): set OmniSharp settings
BinToss Mar 14, 2022
336434b
chore(vscode): update watch/run task
BinToss Mar 14, 2022
338830d
ci(release): fix build/publish step
BinToss Mar 15, 2022
6cefa56
docs: remove .NET 6 dependency notes
BinToss Mar 15, 2022
6c3b718
chore: remove redundant Semantic Release config
BinToss Mar 15, 2022
e847d9d
build: use compiler defaults for Configuration (Release/Debug)
BinToss Mar 21, 2022
5247cf0
build: change NuGet copyright
BinToss Mar 21, 2022
5f7f425
build: update Build, Publish properties
BinToss Mar 21, 2022
52d3fd6
build: change default language from 'en-US' to 'en'
BinToss Mar 21, 2022
3e769c3
build: add Label to some ItemGroups
BinToss Mar 21, 2022
39daf34
build: add missing closing-parenthesis
BinToss May 28, 2023
7963d9c
build: raise minimum runtime to net6.0
BinToss May 29, 2023
1ef51c1
style: remove/add whitespace
BinToss May 29, 2023
3559ecd
build(deps): use recommended PackageReference for Microsoft.SourceLin…
BinToss May 30, 2023
025eeed
build: remove redundant XML tags, properties
BinToss Jun 3, 2023
46c07a5
build: remove '.root' links
BinToss Jun 4, 2023
34f977f
build: move NuGet properties to new group; add IconUrl
BinToss Jun 4, 2023
b4ba0f9
feat: add HXE.Paths.Custom.Configuration(string)
BinToss Jun 4, 2023
7f5c009
style: fix indenting
BinToss Jun 4, 2023
691d119
style: remove unnecessary blank lines
BinToss Jun 4, 2023
b176274
style: use expression-bodied lambda
BinToss Jun 4, 2023
c1cedb7
refactor: use Environment.ProcessPath
BinToss Jun 4, 2023
4430712
style: add eof newline
BinToss Jun 4, 2023
ee94f3f
docs: update HXE.Paths.Steam comments
BinToss Jun 4, 2023
79f6faa
style: remove spaces; add eol newline
BinToss Jun 4, 2023
1718990
fix: assign null to nullable variable
BinToss Jun 4, 2023
71829dc
docs: update license header
BinToss Jun 4, 2023
eb09b54
style: remove spaces, blank lines
BinToss Jun 4, 2023
efd9f80
docs: add summary to Configuration constructors
BinToss Jun 4, 2023
b7e75d8
chore: update 343 Industries certificate
BinToss Jun 4, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 0 additions & 16 deletions .cz.toml

This file was deleted.

3 changes: 2 additions & 1 deletion .github/workflows/conv-pull-requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,11 @@ permissions:
pull-requests: write

jobs:
hqprs:
cpr:
runs-on: ubuntu-latest
steps:
- name: conventional-pr
uses: Namchee/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
ignored_users: snyk-bot
20 changes: 8 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: release

# TODO
# - Get AssemblyName, TargetFramework (TFM), RuntimeIdentifier (RID) from Directory.Build.props, *.csproj
# - Overwrite `$env:RID and `$env:TFM with build props, allowing workflows to be driven by the project(s)
# - support multiple ASSEMBLYNAME parameters for matrices
# allow workflows to be driven by the project(s)

on:
push:
Expand All @@ -18,8 +16,6 @@ jobs:
name: Build
runs-on: windows-latest
env:
RID: "win-x86"
TFM: "net5.0-windows"
ASSEMBLYNAME: "HXE"
PROJPATH: "./src/HXE.csproj"

Expand All @@ -40,7 +36,7 @@ jobs:
# Authenticates packages to push to GPR
- uses: actions/[email protected]
with:
dotnet-version: "6.0.x" # SDK Version to use.
dotnet-version: "6.0.x"
include-prerelease: true

- name: Add GitHub Package Repository
Expand All @@ -53,15 +49,15 @@ jobs:
# BUILD
################
- name: dotnet-publish
run: dotnet publish $env:CSPROJ_RELPATH -c Release --no-self-contained -p:ContinuousIntegrationBuild=true
run: dotnet publish ${{ env.PROJPATH }} -c Release -p:ContinuousIntegrationBuild=true

# required variables: TargetFramework, RuntimeIdentifier, GitVersion_FullSemVer
# required variables: GitVersion_FullSemVer
- name: Compress-PublishArtifacts
run: |
$publishPath = Resolve-Path ".\bin\Release\$env:TFM\$env:RID\publish";
$archiveName = "$env:ASSEMBLYNAME.$env:TFM-$env:RID.$env:GitVersion_FullSemVer.zip";
$publishPath = Resolve-Path ".\bin\Release\**\publish";
$archiveName = "$env:ASSEMBLYNAME.$env:GitVersion_FullSemVer.zip";
Set-Location $publishPath;
Compress-Archive -Path $publishPath -DestinationPath $archiveName -CompressionLevel Optimal;
Compress-Archive -Path $publishPath -DestinationPath ${{ github.workspace }}\bin\Release\publish\$archiveName -CompressionLevel Optimal;

################
# RELEASE
Expand All @@ -77,7 +73,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: publish-artifacts
path: bin/Release/${{ env.TFM }}/${{ env.RID }}/publish
path: bin/Release/publish

- name: Publish to GitHub Packages
working-directory: bin/Release
Expand Down
4 changes: 1 addition & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no-install commitlint --edit
npx --no -- commitlint --edit ${1}
2 changes: 2 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
2 changes: 1 addition & 1 deletion .releaserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
['@semantic-release/github',
{
"assets": [
{"path": "bin/release/win-x64/publish"}
{"path": "bin/release/publish"}
]
}
]
Expand Down
5 changes: 3 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
"program": "${workspaceFolder}/bin/Debug/win-x64/HXE.dll",
"args": ["--test"],
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder/bin/Debug/net462/HXE.dll",
"args": [],
"cwd": "${workspaceFolder}/src",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
Expand Down
15 changes: 14 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,18 @@
"conv-pr", // Conventional Pull Request config
"commitizen",
"pull-requests" // pull requests workflow
]
],
"markdownlint.config": {
"MD028": false,
"MD025": {
"front_matter_title": ""
}
},
"cSpell.words": [
"haloce"
],
"omnisharp.useModernNet": true,
"omnisharp.enableRoslynAnalyzers": true,
"omnisharp.enableImportCompletion": true,
"omnisharp.organizeImportsOnFormat": true
}
5 changes: 2 additions & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@
"args": [
"watch",
"run",
"${workspaceFolder}/src/HXE.csproj",
"/property:GenerateFullPaths=true",
"/consoleloggerparameters:NoSummary"
"--project",
"${workspaceFolder}/src/HXE.csproj"
],
"problemMatcher": "$msCompile"
}
Expand Down
24 changes: 0 additions & 24 deletions CodeMaid.config

This file was deleted.

17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
</p>
</html>

[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square)](http://commitizen.github.io/cz-cli/)
[![Conventional Commits](https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg?style=flat-square)](https://conventionalcommits.org)
[![Codecov](https://img.shields.io/codecov/c/github/HaloSPV3/HXE.svg?style=flat-square)](https://codecov.io/gh/HaloSPV3/HXE)

Expand Down Expand Up @@ -48,3 +47,19 @@ The USAGE document goes into detail on how to use HXE. In a nutshell:

# configure the kernel
.\hxe.exe -config

# Requirements

## Operating System

| Minimum | Recommended
| ---------------------------------------- | -----------
| Windows 7 SP1 32-bit (w/ addl. software) | Windows 10 64-bit

## Note: Upgrading To Windows 10

Using the [Windows Installation Media Creation Tool](https://www.microsoft.com/en-us/software-download/windows10?36261b60-2f68-4336-abe2-4b00f210b6aa=True), you can still upgrade to Windows 10 with your Windows 7/8/8.1 license.
HOWEVER...

- If your hardware distributor does not make Windows 10 drivers for your hardware, you may have a worse Windows 10 experience than expected.
- Some drivers made for earlier Windows releases may work on Windows 10; some won't. You won't know until you try.
Binary file modified SCREENSHOT.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading