summaryrefslogtreecommitdiff
path: root/src/main/java/simulator
AgeCommit message (Collapse)Author
2026-03-27Test VSMain main startup entrypointPaul Buetow
2026-03-27Fix CLI replay startup on EDTPaul Buetow
2026-03-27Narrow replay task visibility fixPaul Buetow
2026-03-27Extend raft replay with recover and later crashPaul Buetow
2026-03-27Extend Raft replay to 60 secondsPaul Buetow
2026-03-27Refresh and auto-start loaded startup simulationsPaul Buetow
2026-03-27sr: fix Raft replay leader electionPaul Buetow
2026-03-27Auto-open CLI simulation files on startupPaul Buetow
2026-03-27sr: retune Raft replay for faster reelectionPaul Buetow
2025-06-22Remove all Raft protocol codePaul Buetow
Removed all Raft-related code as it was not working properly: - Removed VSRaftProtocol.java implementation - Removed all Raft test files - Removed Raft example/demo files - Removed Raft documentation - Removed Raft simulation files (.dat) - Removed Raft scripts - Updated VSRegisteredEvents to remove Raft registration - Updated SimulationBuilder to remove RAFT constant - Updated SimulationFactory to remove Raft methods - Updated SimulationBuilderTest to remove Raft tests - Updated pom.xml to remove Raft test configurations The protocol had issues with leader election not completing in GUI mode. 🤖 Generated with Claude Code https://claude.ai/code Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-22Fix message delivery in headless test environmentPaul Buetow
- Fixed HeadlessSimulationEngine to use correct task manager from receiving process - Reduced message delays for testing (10-50ms instead of 500-2000ms) - Fixed process ID method call (getProcessID not getProcessId) - Improved message delivery scheduling to ensure tasks go to the right task manager This resolves message delivery issues where messages were sent but not received. BasicMulticast test now passes, but 12 protocol tests still failing. 🤖 Generated with Claude Code https://claude.ai/code Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-21Move test scripts to scripts/ directory and fix simulation completionPaul Buetow
- Moved test-protocols.sh, test-quick.sh, test-verbose.sh to scripts/ - Updated references in README.md and docs/testing-guide.md - Fixed HeadlessSimulationRunner to properly run simulations to completion - Fixed message delivery timing (now respects 500-2000ms delays) - Added proper process time synchronization - Fixed HeadlessProtocolRunner to exit cleanly 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-21Complete GUI decoupling implementation for headless testingPaul Buetow
- Implement MessageHandler pattern to decouple message sending from visualization - Add HeadlessLoader to load simulations without GUI components - Create HeadlessProtocolRunner for clean protocol test execution - Update VSInternalProcess to use MessageHandler for message routing - Add null checks in VSSimulator for headless mode compatibility - Update VSSimulatorVisualization paint() to check for headless mode - Remove obsolete test scripts and documentation - Update test-protocols.sh to remove GUI error suppression options - Consolidate testing documentation in docs/testing-guide.md All protocol tests now run cleanly in headless mode without GUI errors, enabling proper CI/CD integration and automated testing. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-20Add comprehensive Javadoc documentation for public APIsPaul Buetow
- Document core classes: VSTask, VSMessage, VSInternalProcess - Document event interfaces: VSAbstractEvent, VSCopyableEvent, VSTime - Document timestamp events: VSTimestampTriggeredEvent, VSLamportTimestampEvent - Document protocol framework: VSAbstractProtocol methods - Document VSSimulator and VSRegisteredEvents - Add detailed method descriptions with parameter and return value docs - Include usage examples and cross-references between related classes 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-15Add splash screen functionality and update build documentationPaul Buetow
- Add VSSplashScreen component using Java Swing framework - Display splash.png image for 3 seconds on application startup - Scale splash screen to 40% of original size (60% reduction) - Update CLAUDE.md with JAVA_HOME setup instructions for all platforms - Integrate splash screen into VSMain startup sequence 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-12Remove hard-coded German locale and improve English localizationPaul Buetow
- Change default locale from German to English in VSMain.java - Fix language key typos: "loging" → "logging" throughout codebase - Improve English language strings: - "Insert" → "Add" for better UX terminology - "Fullfilled" → "Fulfilled" (spelling correction) - "GLobal" → "Global" (capitalization fix) - "Delete logs" → "Clear logs" (more appropriate action) - Update all references to changed language keys 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-06Modernize project structure, update Maven config, move sources, add logging ↵Paul Buetow
config, update README and .gitignore