Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
da7bddd
Hard Crash fix during field close
richardklasens Oct 5, 2025
061eb6b
Updates goodbye message translation
richardklasens Oct 6, 2025
2098efb
Updates steer settings form resources
richardklasens Oct 6, 2025
f10ca86
Append version information to AgOpenGPS.zip (#905)
FantasyTeddy Oct 6, 2025
fca87f3
Execute build workflow for any pull request
FantasyTeddy Oct 6, 2025
dc93940
Merge pull request #940 from FantasyTeddy/semver-zip
richardklasens Oct 6, 2025
879080c
Fix Look Ahead jump in curves
richardklasens Oct 7, 2025
70eb6fa
Ensures curve resampling includes final point
richardklasens Oct 7, 2025
60595d7
Fix #920
richardklasens Oct 7, 2025
9b11090
Fixes #919
richardklasens Oct 7, 2025
69b3426
Updates auto-switch speed UI for unit conversion
richardklasens Oct 7, 2025
305d668
Fix imperial TramWidth display in ConfigSummaryControl
J005t67 Oct 7, 2025
4998741
Fix imperial ToolWidth display in ConfigTool bottom row
J005t67 Oct 7, 2025
4016776
Merge pull request #942 from AgOpenGPS-Official/MoreFixes
richardklasens Oct 7, 2025
2a1a1c1
Merge pull request #941 from AgOpenGPS-Official/FixesBeta3
richardklasens Oct 7, 2025
bed8261
Fix boundary curve generation for inner boundaries
Xyntexx Oct 8, 2025
3f65b3d
Fix critical U-turn crashes near inner boundaries
Xyntexx Oct 7, 2025
71e161b
Remove duplicate Extra Guidelines control from main menu
Xyntexx Oct 7, 2025
22c1ca6
Merge pull request #948 from Xyntexx/fix-duplicate-extra-guidelines
Xyntexx Oct 8, 2025
51da704
Merge pull request #949 from Xyntexx/uturn-improvements
Xyntexx Oct 8, 2025
36119d9
Merge pull request #960 from Xyntexx/fix/issue-925-inner-boundary-curves
Xyntexx Oct 8, 2025
f2c5d1b
Merge branch 'Fixes-6.8' into bugfix/imperial-tramwidth
J005t67 Oct 8, 2025
5d0d218
Merge pull request #944 from J005t67/bugfix/imperial-tramwidth
J005t67 Oct 8, 2025
a50c9cf
Fix U-turn failing when offset equals half implement width
Xyntexx Oct 7, 2025
b5de39e
Fix goal point displaying in Stanley mode
Xyntexx Oct 9, 2025
4eed15c
Merge pull request #968 from Xyntexx/fix/stanley-lookahead-dot
Xyntexx Oct 9, 2025
01a1b84
Fix AgShare Boundary
richardklasens Oct 9, 2025
3aaaad2
Better exit text
richardklasens Oct 7, 2025
96d074a
remove !
richardklasens Oct 9, 2025
6aa8b62
Merge pull request #954 from Xyntexx/uturn-improvements-2
richardklasens Oct 9, 2025
3bf5de1
Merge pull request #943 from AgOpenGPS-Official/AgIO_fix
richardklasens Oct 9, 2025
c297d69
reviews fixed
richardklasens Oct 10, 2025
038ae75
Fix title of "Heading Chart" window (#911)
FantasyTeddy Oct 11, 2025
1994888
Fix naming of "Roll Correction Chart" (#912)
FantasyTeddy Oct 11, 2025
71c125a
Merge pull request #977 from FantasyTeddy/charts
FantasyTeddy Oct 11, 2025
773524e
Adds AgShare Downloader translations
richardklasens Oct 11, 2025
522168e
Fix unit label and conversion for section off below speed
Xyntexx Oct 7, 2025
af503c2
Convert NumericUpDown range when displaying section cutoff speed in mph
Xyntexx Oct 13, 2025
4f97603
Consolidate remaining speed conversions to use Speed utility
Xyntexx Oct 13, 2025
ce0217f
Replace remaining hardcoded speed conversion factors with Speed utili…
Xyntexx Oct 13, 2025
c72b7d6
Fix headland distance display
richardklasens Oct 9, 2025
7fde544
Adds a scalar distance string formatting function
richardklasens Oct 10, 2025
dca9b9e
Reviews
richardklasens Oct 13, 2025
5762e75
Merge pull request #971 from AgOpenGPS-Official/FixAgShareBoundary
richardklasens Oct 13, 2025
b78a657
Merge pull request #972 from AgOpenGPS-Official/FixHeadlandDistance
richardklasens Oct 13, 2025
3506d3f
fixed the upload and download fields without a boundary AgShare
richardklasens Oct 13, 2025
85bf238
Fix labellength for selected Field in AgShare Downloader
richardklasens Oct 13, 2025
f7ce1f4
reviews from Codex
richardklasens Oct 13, 2025
6bb834e
Merge pull request #955 from Xyntexx/fix-off-below-unit-label
Xyntexx Oct 13, 2025
c55fbea
Reviews
richardklasens Oct 13, 2025
f54608b
Small fixes
richardklasens Oct 13, 2025
865b806
Merge pull request #984 from AgOpenGPS-Official/Fix/AcceptNoBoundsAgS…
richardklasens Oct 14, 2025
2c58c44
Merge pull request #986 from AgOpenGPS-Official/LittleFixesFromIssues
richardklasens Oct 14, 2025
4c3ca17
Implement AgShare Bulk Uploader
richardklasens Oct 14, 2025
4b4a310
Consistent UI with AgShareDownloader
richardklasens Oct 14, 2025
fa72450
Consistent With Downloader
richardklasens Oct 14, 2025
11f3b03
UI improvements for Form and class rename
richardklasens Oct 15, 2025
5bbf8c0
Merge pull request #987 from AgOpenGPS-Official/BulkUploader
richardklasens Oct 16, 2025
4900d6d
Merge pull request #985 from J005t67/bugfix/932-workedareapreview
J005t67 Oct 16, 2025
c39333d
This thing kind of fixes the 4wd Issue i think.... (#993)
richardklasens Oct 16, 2025
c229450
Solve Spikes in Boundary. (#994)
richardklasens Oct 16, 2025
84f04a7
Field path must fit in 'Delete For Sure' Dialog (#965)
J005t67 Oct 16, 2025
84aa40c
Merge pull request #996 from AgOpenGPS-Official/Fixes-6.8
richardklasens Oct 16, 2025
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
4 changes: 0 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ on:
branches:
- develop
pull_request:
branches:
- master
- develop
- release/*

env:
# Path to the solution file relative to the root of the project.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ jobs:
- name: Publish
run: dotnet publish --no-restore --configuration ${{env.BUILD_CONFIGURATION}} ${{env.SOLUTION_FILE_PATH}}

- name: Create AgOpenGPS.zip
- name: Create AgOpenGPS_${{ env.GitVersion_SemVer }}.zip
shell: powershell
run: Compress-Archive -Path "${{env.PUBLISH_DIR}}" -Destination "AgOpenGPS.zip"
run: Compress-Archive -Path "${{env.PUBLISH_DIR}}" -Destination "AgOpenGPS_${{ env.GitVersion_SemVer }}.zip"

- name: Create Release
uses: softprops/action-gh-release@v2
Expand All @@ -67,4 +67,4 @@ jobs:
Automated Release by GitHub Action CI
draft: ${{ github.ref_name == 'master' }}
prerelease: ${{ contains(github.ref_name, 'release/') }}
files: AgOpenGPS.zip
files: AgOpenGPS_${{ env.GitVersion_SemVer }}.zip
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -483,3 +483,5 @@ $RECYCLE.BIN/

# Vim temporary swap files
*.swp

.claude/settings.local.json
2 changes: 1 addition & 1 deletion SourceCode/AgIO/Source/Forms/Controls.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

81 changes: 81 additions & 0 deletions SourceCode/AgOpenGPS.Core/Models/Base/Units.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ public class Distance
private const double milesToKilometers = 1.609344;
private const double kilometersToMiles = 1 / milesToKilometers;
private const double metersToFeet = 3.28;
private const double metersToInches = 39.3701;
private const double metersToCm = 100;
private const double metersToMiles = metersToKilometers * kilometersToMiles;

private double _distanceInMeters;
Expand All @@ -36,6 +38,67 @@ public Distance(double distanceInMeters)
public double InKilometers => _distanceInMeters * metersToKilometers;
public double InMiles => _distanceInMeters * metersToMiles;
public double InFeet => _distanceInMeters * metersToFeet;


// Return the distance (value and unit) in a string expressed in cm or inches, (depending on argument isMetric)
// Use 0 decimals for cm and 1 decimal for inches.

public static string VerySmallDistanceString(bool isMetric, double distanceInMeters)
{
if (isMetric)
{
return (distanceInMeters * metersToCm).ToString("N0") + " cm";
}
else
{
return (distanceInMeters * metersToInches).ToString("N1") + " in";
}
}

// Return the distance (value and unit) in a string expressed in cm or inches, (depending on argument isMetric)
// Use 0 decimals for both cm and inches.
public static string SmallDistanceString(bool isMetric, double distanceInMeters)
{
if (isMetric)
{
return (distanceInMeters * metersToCm).ToString("N0") + " cm";
}
else
{
return (distanceInMeters * metersToInches).ToString("N0") + " in";
}
}

// Return the distance (value and unit) in a string expressed in meters or feet and inches, (depending on argument isMetric)
public static string MediumDistanceString(bool isMetric, double distanceInMeters)
{
if (isMetric)
{
return distanceInMeters.ToString("N2") + " m";
}
else
{
int totalInches = Convert.ToInt32(distanceInMeters * metersToInches);
int feet = totalInches / 12;
int inches = totalInches - 12 * feet;
return feet.ToString() + "' " + inches.ToString() + '"';
}
}

public static string MediumBigDistanceString(bool isMetric, double distanceInMeters,
int decimalsFeet = 2, int decimalsMeters = 1)
{
string format = isMetric
? "F" + decimalsMeters.ToString()
: "F" + decimalsFeet.ToString();

double displayValue = isMetric
? distanceInMeters
: distanceInMeters * metersToFeet;

string unit = isMetric ? " m" : " ft";
return displayValue.ToString(format, System.Globalization.CultureInfo.CurrentUICulture) + unit;
}
}

public class Area
Expand All @@ -54,4 +117,22 @@ public Area(double areaInSquareMeters)
public double InAcres => _squareMetersToAcres * _areaInSquareMeters;
}

public class Speed
{
private const double kmhToMph = 0.621371;
private const double mphToKmh = 1 / kmhToMph;

private double _speedInKmh;
public Speed(double speedInKmh)
{
_speedInKmh = speedInKmh;
}

public double InKmh => _speedInKmh;
public double InMph => _speedInKmh * kmhToMph;

public static double KmhToMph(double kmh) => kmh * kmhToMph;
public static double MphToKmh(double mph) => mph * mphToKmh;
}

}
49 changes: 47 additions & 2 deletions SourceCode/AgOpenGPS.Core/Translations/gStr.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 18 additions & 2 deletions SourceCode/AgOpenGPS.Core/Translations/gStr.da.resx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" id="root">
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
Expand Down Expand Up @@ -735,7 +735,7 @@ Rækkefølgen du klikker på dem, angiver placeringen nedefra og op.</value>
<value>Gem og vend tilbage</value>
</data>
<data name="gsSaveBeerTime" xml:space="preserve">
<value>Tid til en øl! Farvel!</value>
<value>Vi ses næste gang!</value>
</data>
<data name="gsSaveField" xml:space="preserve">
<value>Gemmer felt..</value>
Expand Down Expand Up @@ -938,4 +938,20 @@ ANVENDELSE PÅ EGET RISIKO.</value>
<data name="gsWorked" xml:space="preserve">
<value>Bearbejdet</value>
</data>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="gsForceOverwrite" type="System.Resources.ResXNullRef, System.Windows.Forms">
<value />
</data>
<data name="gsDownloadAll" type="System.Resources.ResXNullRef, System.Windows.Forms">
<value />
</data>
<data name="gsGetSelected" type="System.Resources.ResXNullRef, System.Windows.Forms">
<value />
</data>
<data name="gsDownloading" type="System.Resources.ResXNullRef, System.Windows.Forms">
<value />
</data>
<data name="gsAgShareDownloader" type="System.Resources.ResXNullRef, System.Windows.Forms">
<value />
</data>
</root>
Loading