Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
e190196
References clean up
ZiolkowskiJakub Jan 30, 2026
f3edecb
SolverWindow initial implementation (WIP)
ZiolkowskiJakub Feb 2, 2026
34836f7
Solve functionality initial implementation
ZiolkowskiJakub Feb 5, 2026
82da0c4
Solve updated with unnecessary shade removal
ZiolkowskiJakub Feb 9, 2026
ab60d81
Progress window added for Solve method
ZiolkowskiJakub Feb 9, 2026
7a31833
Tas 9.5.7
michaldengusiak Feb 10, 2026
966386d
Remove unassigned spaces included in Solve method
ZiolkowskiJakub Feb 10, 2026
1f0b5b9
Selection context menu updated for panels
ZiolkowskiJakub Feb 11, 2026
57260c7
EditApertureConstructions implemented
ZiolkowskiJakub Feb 12, 2026
2f16c64
ReplaceNameSpecialCharacters implemented
ZiolkowskiJakub Feb 12, 2026
12c87b3
Update AnalyticalWindow.xaml.cs
michaldengusiak Feb 13, 2026
434cb01
Initialize method updated
ZiolkowskiJakub Feb 13, 2026
e2f52c1
Update AnalyticalWindow.xaml.cs
michaldengusiak Feb 13, 2026
fb090b1
Merge branch 'sow/2026-Q1' of https://github.com/SAM-BIM/SAM_UI into …
michaldengusiak Feb 13, 2026
25e8e3e
SetDefaultLayers implemented
ZiolkowskiJakub Feb 13, 2026
9570f27
Update AnalyticalWindow.xaml.cs
michaldengusiak Feb 13, 2026
dd5a172
Create start view 3D added
ZiolkowskiJakub Feb 15, 2026
d212774
add sort
michaldengusiak Feb 16, 2026
d0cecfa
Isolate method implemented
ZiolkowskiJakub Feb 16, 2026
e3a8338
Shortcuts implemented
ZiolkowskiJakub Feb 16, 2026
ff2f156
AnalyticalWindow updated with new shortcuts
ZiolkowskiJakub Feb 16, 2026
816208a
Reveal Hidden renamed to Unhide All
ZiolkowskiJakub Feb 16, 2026
7c27c2b
Github link updated
ZiolkowskiJakub Feb 16, 2026
4ae6a2e
Delete shortcut added
ZiolkowskiJakub Feb 16, 2026
11b4674
Update AnalyticalWindow.xaml.cs
michaldengusiak Feb 16, 2026
7d9cd18
View Settings shortcut implemented
ZiolkowskiJakub Feb 16, 2026
7a60f97
Merge branch 'sow/2026-Q1' of https://github.com/SAM-BIM/SAM_UI into …
ZiolkowskiJakub Feb 16, 2026
abac49c
Properties shortcut implemented
ZiolkowskiJakub Feb 16, 2026
18da8a2
Update AnalyticalWindow.xaml.cs
michaldengusiak Feb 16, 2026
18cb10f
Update ThermalTransmittanceCalculationResultControl.xaml.cs
michaldengusiak Feb 17, 2026
ed15012
LegendItemDictionary updated to provide static colors for given text
ZiolkowskiJakub Feb 17, 2026
48674fc
Update AssignPanelConstructionByThermalTransmittance.cs
michaldengusiak Feb 17, 2026
160ad49
Update AssignPanelConstructionByThermalTransmittance.cs
michaldengusiak Feb 17, 2026
2930340
Update AssignPanelConstructionByThermalTransmittance.cs
michaldengusiak Feb 18, 2026
d2427a1
AssignApertureApertureConstructionByThermalTransmittance updated with…
ZiolkowskiJakub Feb 18, 2026
4653287
Update AssignApertureApertureConstructionByThermalTransmittance.cs
michaldengusiak Feb 18, 2026
7530ba8
Shortcut updated
ZiolkowskiJakub Feb 18, 2026
d13371e
ColorGradientWindow implemented
ZiolkowskiJakub Feb 19, 2026
9bfc0c1
ActiveSetting loading bug fixed
ZiolkowskiJakub Feb 20, 2026
470afef
ColorPaletteWindow implemented
ZiolkowskiJakub Feb 23, 2026
cc4eab4
Bug fix for unwanted item on legend
ZiolkowskiJakub Feb 23, 2026
b542935
RemoveApertures implemented
ZiolkowskiJakub Feb 24, 2026
c1fde29
Color legend bug fixed and new filters for Aperture added
ZiolkowskiJakub Feb 25, 2026
e328041
UIBooleanFilter implemented
ZiolkowskiJakub Feb 26, 2026
e39333a
Update TryGetValue.cs
michaldengusiak Feb 26, 2026
27afd41
Hide implementation
ZiolkowskiJakub Feb 27, 2026
007c292
LegendControl Palette combo box implemented
ZiolkowskiJakub Feb 27, 2026
5740d16
Solve reorganized
ZiolkowskiJakub Mar 4, 2026
69be004
Missing parameters added
ZiolkowskiJakub Mar 10, 2026
ebf4343
Honeybee reference updated
ZiolkowskiJakub Mar 11, 2026
51dd1c8
CopyViewSettings and CopyViewSettingsCamera implemented
ZiolkowskiJakub Mar 12, 2026
9f33345
rounding added for display values for Mollier diagram
ZiolkowskiJakub Mar 13, 2026
2a28fdf
Current Selection button added
ZiolkowskiJakub Mar 13, 2026
f93f1e5
Code reorganized (RunWorkflow moved from Tas)
ZiolkowskiJakub Mar 16, 2026
7beb0a1
Simulate moved to WPF
ZiolkowskiJakub Mar 16, 2026
c177f20
SAMAnalyticalMultitaskerWorkflow moved from Tas
ZiolkowskiJakub Mar 16, 2026
7bafe0d
ZoomExtents on new views
ZiolkowskiJakub Mar 16, 2026
775d5cc
UpDirection added for Camera
ZiolkowskiJakub Mar 16, 2026
ee1aa84
Default legend colors updated
ZiolkowskiJakub Mar 18, 2026
345d349
Update spdx-check.yml
michaldengusiak Mar 30, 2026
a9e9069
Update spdx-check.yml
michaldengusiak Mar 30, 2026
86006ea
Update spdx-check.yml
michaldengusiak Mar 30, 2026
b733a44
Update spdx-check.yml
michaldengusiak Mar 30, 2026
5496aa6
Update spdx-check.yml
michaldengusiak Mar 30, 2026
0341e42
rename
michaldengusiak Mar 30, 2026
9f49ae9
Headers added
ZiolkowskiJakub Mar 30, 2026
c41ed4e
Merge branch 'sow/2026-Q1' of https://github.com/SAM-BIM/SAM_UI into …
ZiolkowskiJakub Mar 30, 2026
dc83576
Headers added
ZiolkowskiJakub Mar 30, 2026
5dd5ced
Codex Review
ZiolkowskiJakub Mar 31, 2026
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
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
name: SPDX + Copyright header check
name: SPDX + Copyright header check (SAM_UI special case)

on:
pull_request:
workflow_dispatch:

jobs:
spdx:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read

steps:
- name: Check SPDX + copyright header in changed .cs files
env:
EVENT_NAME: ${{ github.event_name }}
GH_TOKEN: ${{ github.token }}
PR: ${{ github.event.pull_request.number }}
REPO: ${{ github.repository }}
Expand All @@ -20,14 +23,20 @@ jobs:
run: |
set -euo pipefail

if [ "$EVENT_NAME" != "pull_request" ]; then
echo "Manual run detected."
echo "This workflow checks files changed in a pull request, so there is nothing to do without PR context."
exit 0
fi

echo "Repo: $REPO"
echo "PR: $PR"
echo "Head SHA: $HEAD_SHA"
echo ""
echo

mapfile -t files < <(
gh api "repos/$REPO/pulls/$PR/files" --paginate \
--jq '.[] | .filename | select(endswith(".cs"))'
--jq '.[] | select(.status != "removed") | .filename | select(endswith(".cs"))'
)

if [ "${#files[@]}" -eq 0 ]; then
Expand All @@ -37,7 +46,7 @@ jobs:

echo "C# files changed in PR:"
printf ' - %s\n' "${files[@]}"
echo ""
echo

spdx_re='SPDX-License-Identifier:[[:space:]]*LGPL-3\.0-or-later'
cr_re='Copyright[[:space:]]*\(c\)[[:space:]]*2020[[:space:]]*[-–—][[:space:]]*2026[[:space:]]*Michal[[:space:]]+Dengusiak[[:space:]]*&[[:space:]]*Jakub[[:space:]]+Ziolkowski[[:space:]]+and[[:space:]]+contributors'
Expand All @@ -47,50 +56,49 @@ jobs:
for f in "${files[@]}"; do
echo "Checking: $f"

# Skip entire Properties folders (typically generated / designer-managed code)
case "$f" in
*/Properties/*)
echo " ⏭️ Skipping Properties/*"
*/Properties/*|*.xaml.cs)
echo " Skipping Properties/* and *.xaml.cs"
continue
;;
esac

content_b64=$(gh api "repos/$REPO/contents/$f?ref=$HEAD_SHA" --jq '.content' 2>/dev/null || true)
if [ -z "$content_b64" ]; then
echo " ❌ Could not fetch file content (deleted? submodule? path issue)"
content=$(gh api \
-H "Accept: application/vnd.github.raw" \
"repos/$REPO/contents/$f?ref=$HEAD_SHA" 2>/dev/null || true)

if [ -z "$content" ]; then
echo " Could not fetch file content"
missing+=("$f (unreadable)")
continue
fi

# Decode fully first (avoids SIGPIPE/broken pipe with pipefail),
# normalize CRLF, then take first 80 lines.
decoded=$(printf '%s' "$content_b64" | base64 -d)
headblock=$(printf '%s' "$decoded" | tr -d '\r' | sed -n '1,80p')
headblock=$(printf '%s' "$content" | sed '1s/^\xEF\xBB\xBF//' | tr -d '\r' | sed -n '1,80p')

if ! printf '%s' "$headblock" | grep -Eiq "$spdx_re"; then
echo " Missing SPDX line in first 80 lines"
echo " Missing SPDX line in first 80 lines"
missing+=("$f (SPDX)")
continue
fi

if ! printf '%s' "$headblock" | grep -Eiq "$cr_re"; then
echo " Missing copyright line in first 80 lines"
echo " Missing copyright line in first 80 lines"
missing+=("$f (Copyright)")
continue
fi

echo " OK"
echo " OK"
done

echo ""
echo
if [ "${#missing[@]}" -ne 0 ]; then
echo "Missing required header in:"
echo "Missing required header in:"
printf ' - %s\n' "${missing[@]}"
echo ""
echo
echo "Expected somewhere in first 80 lines:"
echo "// SPDX-License-Identifier: LGPL-3.0-or-later"
echo "// Copyright (c) 2020-2026 Michal Dengusiak & Jakub Ziolkowski and contributors"
exit 1
fi

echo "SPDX + copyright headers OK."
echo "SPDX + copyright headers OK."
1 change: 1 addition & 0 deletions Application/SAM Analytical/SAM Analytical.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
<PackageReference Include="HelixToolkit.Wpf">
<Version>2.27.0</Version>
</PackageReference>
<PackageReference Include="HoneybeeSchema" Version="1.5901.5" />
<PackageReference Include="iTextSharp">
<Version>5.5.13.4</Version>
</PackageReference>
Expand Down
Loading