Skip to content

ci: add clang_format action#1

Merged
alandtse merged 6 commits into
mainfrom
clang
Jul 18, 2023
Merged

ci: add clang_format action#1
alandtse merged 6 commits into
mainfrom
clang

Conversation

@alandtse
Copy link
Copy Markdown
Owner

No description provided.

@alandtse alandtse merged commit 171a0b6 into main Jul 18, 2023
@alandtse alandtse deleted the clang branch June 20, 2025 17:29
alandtse added a commit that referenced this pull request Jun 3, 2026
Addresses the minor hardening items in #87 (pre-existing, surfaced by
CodeRabbit on #56):

- Particle.cpp: guard the dimmer interpolation against lightFadeEnd <=
  lightFadeStart so equal engine fade globals can't divide by zero
  (NaN/Inf into GPU lighting).
- ParticleLights.cpp: std::sort the get_configs results before the
  'first wins' duplicate dedupe so the surviving config is deterministic
  across installs (both ParticleLights and Gradients loops).
- ParticleLights.cpp: require exactly 6 or 8 hex digits for gradient
  colors so malformed widths (#1, #12345) fail closed instead of packing
  a garbage 32-bit color.
- Upscaling.cpp: clamp the stored streamlineLogLevel (not just the UI
  index) so a stale/hand-edited out-of-range value can't persist through
  the save / restart-diff paths.

Closes #87
alandtse added a commit that referenced this pull request Jun 3, 2026
Addresses the minor hardening items in #87 (pre-existing, surfaced by
CodeRabbit on #56):

- Particle.cpp: guard the dimmer interpolation against lightFadeEnd <=
  lightFadeStart so equal engine fade globals can't divide by zero
  (NaN/Inf into GPU lighting).
- ParticleLights.cpp: std::sort the get_configs results before the
  'first wins' duplicate dedupe so the surviving config is deterministic
  across installs (both ParticleLights and Gradients loops).
- ParticleLights.cpp: require exactly 6 or 8 hex digits for gradient
  colors so malformed widths (#1, #12345) fail closed instead of packing
  a garbage 32-bit color.
- Upscaling.cpp: clamp the stored streamlineLogLevel (not just the UI
  index) so a stale/hand-edited out-of-range value can't persist through
  the save / restart-diff paths.

Closes #87
alandtse added a commit that referenced this pull request Jun 3, 2026
Addresses the minor hardening items in #87 (pre-existing, surfaced by
CodeRabbit on #56):

- Particle.cpp: guard the dimmer interpolation against lightFadeEnd <=
  lightFadeStart so equal engine fade globals can't divide by zero
  (NaN/Inf into GPU lighting).
- ParticleLights.cpp: std::sort the get_configs results before the
  'first wins' duplicate dedupe so the surviving config is deterministic
  across installs (both ParticleLights and Gradients loops).
- ParticleLights.cpp: require exactly 6 or 8 hex digits for gradient
  colors so malformed widths (#1, #12345) fail closed instead of packing
  a garbage 32-bit color.
- Upscaling.cpp: clamp the stored streamlineLogLevel (not just the UI
  index) so a stale/hand-edited out-of-range value can't persist through
  the save / restart-diff paths.

Closes #87
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant