Cleanup:
- Remove all legacy v1 ncurses-based source files
- Remove old documentation files (NEXT_STEPS.md, TESTING.md, etc.)
- Remove deprecated test files and scripts
- Update README.md for FTXUI architecture
Build fixes:
- Create src/core/types.hpp for shared LinkInfo struct
- Fix incomplete type errors in html_renderer and content_view
- Update includes to use types.hpp instead of forward declarations
- All tests now compile successfully
Binary: 827KB (well under 1MB goal)
Build: Clean compilation with no warnings
Tests: All unit and integration tests build successfully
- Implement HistoryManager for JSON persistence (~/.config/tut/history.json)
- Auto-record page visits with URL, title, and timestamp
- Update visit time when revisiting URLs (move to front)
- Limit to 1000 entries maximum
- Add :history command to view browsing history
- History entries are clickable links
- Add test_history test suite
Major features:
- New modular architecture with Terminal, FrameBuffer, Renderer layers
- True Color (24-bit) support with warm, eye-friendly color scheme
- Unicode support with proper CJK character width handling
- Differential rendering for improved performance
- Page caching (LRU, 20 pages, 5-minute expiry)
- Search functionality with highlighting (/, n/N)
- Form rendering (input, button, checkbox, radio, select)
- Image placeholder support ([alt text] or [Image: filename])
- Binary data download via fetch_binary()
- Loading state indicators
New files:
- src/browser_v2.cpp/h - Browser with new rendering system
- src/main_v2.cpp - Entry point for tut2
- src/render/* - Terminal, FrameBuffer, Renderer, Layout, Image modules
- src/utils/unicode.cpp/h - Unicode handling utilities
- tests/* - Test programs for each module
Build with: cmake --build build_v2
Run: ./build_v2/tut2 [URL]