This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
43 changed files
with
3,643 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
github: jdahlblom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "[BUG]" | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**BIOSBuddy version** | ||
Version currently used | ||
|
||
**DCS-BIOS version** | ||
Version currently used (if used) | ||
|
||
**Describe the bug** | ||
A clear and concise description of what the bug is. *If* you have problems with a DCS-BIOS control then use the control's ID when mentioning it. Eg. ```FLAPS_SWITCH```, ```GEAR_LEVER```. | ||
|
||
**Post your bindings file** | ||
If applicable please post your bindings file for us to test. | ||
|
||
**To Reproduce** | ||
Steps to reproduce the behavior: | ||
1. Start BIOSBuddy | ||
2. Open module abc | ||
3. Do this and that | ||
4. See error | ||
|
||
**Expected behavior** | ||
A clear and concise description of what you expected to happen. | ||
|
||
**Screenshots** | ||
If applicable, add screenshots to help explain your problem. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
**Is your feature request related to a problem? Please describe.** | ||
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
|
||
**Describe the solution you'd like** | ||
A clear and concise description of what you want to happen. | ||
|
||
**Describe alternatives you've considered** | ||
A clear and concise description of any alternative solutions or features you've considered. | ||
|
||
**Additional context** | ||
Add any other context or screenshots about the feature request here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
pull_request: | ||
merge_group: | ||
|
||
jobs: | ||
analyze: | ||
name: Analyze | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# Override automatic language detection by changing the below list | ||
# Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python'] | ||
language: ['csharp'] | ||
# Learn more... | ||
# https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
with: | ||
# We must fetch at least the immediate parents so that if this is | ||
# a pull request then we can checkout the head. | ||
fetch-depth: 2 | ||
# Whether to checkout submodules: `true` to checkout submodules or `recursive` to | ||
# recursively checkout submodules. | ||
# | ||
# When the `ssh-key` input is not provided, SSH URLs beginning with | ||
# `[email protected]:` are converted to HTTPS. | ||
# | ||
# Default: false | ||
submodules: 'recursive' | ||
|
||
# Initializes the CodeQL tools for scanning. | ||
- name: Initialize CodeQL | ||
uses: github/codeql-action/init@v2 | ||
with: | ||
languages: ${{ matrix.language }} | ||
|
||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java). | ||
# If this step fails, then you should remove it and run the build manually (see below) | ||
# - name: Autobuild | ||
# uses: github/codeql-action/autobuild@v2 | ||
|
||
# ℹ️ Command-line programs to run using the OS shell. | ||
# 📚 https://git.io/JvXDl | ||
|
||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines | ||
# and modify them (or add more) to build your code if your project | ||
# uses a compiled language | ||
|
||
- run: | | ||
dotnet build src/BIOSBuddy/BIOSBuddy.csproj /p:EnableWindowsTargeting=true --self-contained false -f net6.0-windows -r win-x64 -c Release /p:DebugType=None /p:DebugSymbols=false | ||
# make bootstrap | ||
# make release | ||
|
||
- name: Perform CodeQL Analysis | ||
uses: github/codeql-action/analyze@v2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -396,3 +396,6 @@ FodyWeavers.xsd | |
|
||
# JetBrains Rider | ||
*.sln.iml | ||
|
||
# Developer ignores | ||
/src/_PublishTemp_/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio Version 17 | ||
VisualStudioVersion = 17.9.34607.119 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BIOSBuddy", "src\BIOSBuddy\BIOSBuddy.csproj", "{F13BEB47-88EC-40AF-B71C-6E90EF134656}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{F13BEB47-88EC-40AF-B71C-6E90EF134656}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{F13BEB47-88EC-40AF-B71C-6E90EF134656}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{F13BEB47-88EC-40AF-B71C-6E90EF134656}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{F13BEB47-88EC-40AF-B71C-6E90EF134656}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
GlobalSection(ExtensibilityGlobals) = postSolution | ||
SolutionGuid = {7000B22E-D048-44DC-9A3A-1A29A42ACB2A} | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<configuration> | ||
<configSections> | ||
<sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" > | ||
<section name="BIOSBuddy.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" /> | ||
</sectionGroup> | ||
</configSections> | ||
<userSettings> | ||
<BIOSBuddy.Properties.Settings> | ||
<setting name="DCSBiosIPFrom" serializeAs="String"> | ||
<value>239.255.50.10</value> | ||
</setting> | ||
<setting name="DCSBiosIPTo" serializeAs="String"> | ||
<value>127.0.0.1</value> | ||
</setting> | ||
<setting name="DCSBiosPortFrom" serializeAs="String"> | ||
<value>5010</value> | ||
</setting> | ||
<setting name="DCSBiosPortTo" serializeAs="String"> | ||
<value>7778</value> | ||
</setting> | ||
<setting name="DCSBiosJSONLocation" serializeAs="String"> | ||
<value>%userprofile%\Saved Games\DCS\Scripts\DCS-BIOS\doc\json</value> | ||
</setting> | ||
<setting name="MainWindowHeight" serializeAs="String"> | ||
<value>600</value> | ||
</setting> | ||
<setting name="MainWindowWidth" serializeAs="String"> | ||
<value>700</value> | ||
</setting> | ||
<setting name="MainWindowTop" serializeAs="String"> | ||
<value>-1</value> | ||
</setting> | ||
<setting name="MainWindowLeft" serializeAs="String"> | ||
<value>-1</value> | ||
</setting> | ||
<setting name="AlwaysOnTop" serializeAs="String"> | ||
<value>True</value> | ||
</setting> | ||
<setting name="UpgradeRequired" serializeAs="String"> | ||
<value>True</value> | ||
</setting> | ||
<setting name="LastProfileID" serializeAs="String"> | ||
<value>-1</value> | ||
</setting> | ||
</BIOSBuddy.Properties.Settings> | ||
</userSettings> | ||
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<Application x:Class="BIOSBuddy.App" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
StartupUri="MainWindow.xaml"> | ||
<Application.Resources> | ||
|
||
</Application.Resources> | ||
</Application> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
using System; | ||
using System.Windows; | ||
using BIOSBuddy.Properties; | ||
|
||
namespace BIOSBuddy | ||
{ | ||
/// <summary> | ||
/// Interaction logic for App.xaml | ||
/// </summary> | ||
public partial class App | ||
{ | ||
protected override void OnStartup(StartupEventArgs e) | ||
{ | ||
try | ||
{ | ||
/* | ||
* Load previous application/user settings. | ||
*/ | ||
if (Settings.Default.UpgradeRequired) | ||
{ | ||
Settings.Default.Upgrade(); | ||
Settings.Default.UpgradeRequired = false; | ||
Settings.Default.Save(); | ||
} | ||
|
||
base.OnStartup(e); | ||
} | ||
catch (Exception ex) | ||
{ | ||
MessageBox.Show("Error starting BIOSBuddy." + Environment.NewLine + ex.Message + Environment.NewLine + ex.StackTrace); | ||
Current.Shutdown(0); | ||
Environment.Exit(0); | ||
} | ||
} | ||
} | ||
|
||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
using System.Windows; | ||
|
||
[assembly: ThemeInfo( | ||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located | ||
//(used if a resource is not found in the page, | ||
// or application resource dictionaries) | ||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located | ||
//(used if a resource is not found in the page, | ||
// app, or any theme specific resource dictionaries) | ||
)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<OutputType>WinExe</OutputType> | ||
<TargetFramework>net8.0-windows</TargetFramework> | ||
<SatelliteResourceLanguages>en</SatelliteResourceLanguages> | ||
<Nullable>disable</Nullable> | ||
<UseWPF>true</UseWPF> | ||
<AssemblyName>BIOSBuddy</AssemblyName> | ||
<PackageIcon>FlightPanels01.png</PackageIcon> | ||
<ApplicationIcon>Images\BIOSBuddy.ico</ApplicationIcon> | ||
<PackageProjectUrl>https://github.com/DCS-Skunkworks/BIOSBuddy</PackageProjectUrl> | ||
<Description>DCS-BIOS Buddy</Description> | ||
<Company>DCS-Skunkworks</Company> | ||
<AssemblyVersion>1.15.10</AssemblyVersion> | ||
<StartupObject>BIOSBuddy.App</StartupObject> | ||
<ProduceReferenceAssembly>False</ProduceReferenceAssembly> | ||
<SelfContained>false</SelfContained> | ||
<RuntimeIdentifier>win-x64</RuntimeIdentifier> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<None Remove="dcs-bios_modules.txt" /> | ||
<None Remove="Images\112_RefreshArrow_Green_32x32_72.png" /> | ||
<None Remove="Images\arduino_logo_simple.png" /> | ||
<None Remove="Images\clear_search_result.png" /> | ||
<None Remove="Images\FlightPanels01.png" /> | ||
<None Remove="Images\FlightPanels01_128.png" /> | ||
<None Remove="Images\flightpanels02_8Rc_icon.ico" /> | ||
<None Remove="Images\gear-image.png" /> | ||
<None Remove="Images\search_controls.png" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="Images\BIOSBuddy.ico" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Microsoft.Windows.Compatibility" Version="8.0.0" /> | ||
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" /> | ||
<PackageReference Include="NLog" Version="5.2.8" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="dcs-bios_modules.txt"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</Content> | ||
<Resource Include="Images\112_RefreshArrow_Green_32x32_72.png" /> | ||
<Resource Include="Images\clear_search_result.png" /> | ||
<Resource Include="Images\FlightPanels01.png"> | ||
<Pack>True</Pack> | ||
<PackagePath>\</PackagePath> | ||
</Resource> | ||
<Resource Include="Images\FlightPanels01_128.png" /> | ||
<Resource Include="Images\gear-image.png" /> | ||
<Resource Include="Images\search_controls.png" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Update="Properties\Settings.Designer.cs"> | ||
<DesignTimeSharedInput>True</DesignTimeSharedInput> | ||
<AutoGen>True</AutoGen> | ||
<DependentUpon>Settings.settings</DependentUpon> | ||
</Compile> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Update="NLog.config"> | ||
<CopyToOutputDirectory>Always</CopyToOutputDirectory> | ||
</None> | ||
<None Update="Properties\Settings.settings"> | ||
<Generator>SettingsSingleFileGenerator</Generator> | ||
<LastGenOutput>Settings.Designer.cs</LastGenOutput> | ||
</None> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Folder Include="dll\" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Reference Include="ClassLibraryCommon"> | ||
<HintPath>dll\ClassLibraryCommon.dll</HintPath> | ||
</Reference> | ||
<Reference Include="DCS-BIOS"> | ||
<HintPath>dll\DCS-BIOS.dll</HintPath> | ||
</Reference> | ||
</ItemGroup> | ||
</Project> |
Oops, something went wrong.