Commit Graph

10 Commits

Author SHA1 Message Date
70093c82d7 Remove Windows builds and tests from CI
Windows support is removed from CI workflows:
- Removed windows-latest from test matrix
- Removed x86_64-pc-windows-msvc from build targets
- Simplified artifact upload path (no .exe conditional)

CI now only runs on Ubuntu and macOS.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 04:19:35 +01:00
24ca6f0262 Fix text positioning by calculating visual width without ANSI codes
The motion effects were appearing with incorrect row offsets because
the text width calculation included ANSI color escape sequences in
the byte length, causing misaligned centering.

Changes:
- Added utils/ansi.rs module with strip_ansi() and visual_width()
- Updated renderer to use visual_width() for offset positioning
- Updated TerminalManager::print_centered() to use visual_width()
- All text positioning now correctly ignores ANSI escape sequences

This fixes the "shifted in the rows" issue where colored text was
not properly centered due to escape sequence byte counts.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 04:12:15 +01:00
09665d3250 Fix animation rendering to show final frame at 100% progress
Previously, the animation loop would exit before rendering the final
frame at progress=1.0. The loop checked is_complete() before rendering,
so the last visible frame was at (total_frames-1)/total_frames progress
(~96-97%).

Changed the loop to:
1. Render the current frame
2. Check if complete and break
3. Advance to next frame

This ensures the final frame at progress=1.0 is rendered before exiting,
completing the animation properly.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 04:02:11 +01:00
6ce7ce03c6 Remove figlet installation for Windows builds
Windows figlet installation was unreliable in CI. Tests will
gracefully skip when figlet is not available.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 03:54:12 +01:00
9e2b97490d Use winget instead of chocolatey for Windows figlet installation
Chocolatey installation was failing in CI. Winget is built into
Windows and provides a more reliable installation method.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 03:31:47 +01:00
24f2dae24f Fix formatting: move #[allow(dead_code)] to separate line
Cargo fmt requires attribute macros to be on their own line.
This fixes the CI lint failure.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 03:27:10 +01:00
6d85c31779 Update GitHub Actions to use v4 artifacts and dependency review
- Update actions/upload-artifact from v3 to v4
- Update actions/dependency-review-action from v3 to v4
- Fix deprecated action warnings

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 03:13:42 +01:00
a520e7d69b Fix coverage workflow - don't fail CI on codecov upload issues
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 03:06:26 +01:00
b1ad87fc26 Complete piglet implementation with animations and effects
- Implement complete animation system with 20+ motion effects
- Add 18+ easing functions (quad, cubic, elastic, back, bounce)
- Implement color system with palette and gradient support
- Add parser for durations, colors, and CSS gradients
- Create comprehensive test suite (14 tests passing)
- Add linting and formatting with clippy/rustfmt
- Support for figlet integration with custom fonts
- Terminal rendering with crossterm
- Fix all clippy warnings and lint issues

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 03:00:20 +01:00
f6fac85bc4 Initial commit: Piglet - Animated figlet wrapper
Add complete Rust implementation with:
- 20+ motion effects (fade, slide, scale, typewriter, wave, bounce, etc.)
- 18+ easing functions (linear, quad, cubic, elastic, back, bounce)
- Color support (CSS4 colors, hex codes, gradients)
- Figlet integration with custom fonts and options
- Cross-platform support (Linux, macOS, Windows)
- Comprehensive CI/CD workflows
- Full test suite with integration tests
- Documentation (README.md, CLAUDE.md)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-09 01:53:26 +01:00