TUT/tests
m1ngsama b6150bcab0 feat: Add async image loading with progressive rendering
Phase 10 - Complete async image downloading system

HttpClient enhancements:
- Add ImageDownloadTask structure for async binary downloads
- Implement separate curl multi handle for concurrent image downloads
- Add methods: add_image_download, poll_image_downloads, get_completed_images
- Support configurable concurrency (default: 3 parallel downloads)
- Cancel all images support

Browser improvements:
- Replace synchronous load_images() with async queue_images()
- Progressive rendering - images appear as they download
- Non-blocking UI during image downloads
- Real-time progress display with spinner
- Esc key cancels image loading
- Maintains LRU image cache compatibility

Performance benefits:
- 3x faster image loading (3 concurrent downloads)
- UI remains responsive during downloads
- Users can scroll/navigate while images load
- Gradual page appearance improves perceived performance

Tests:
- test_async_images: Full async download test suite
- test_image_minimal: Minimal async workflow test
- test_simple_image: Basic queueing test

Technical details:
- Dedicated curl multi handle for images (independent of page loading)
- Queue-based download management (pending → loading → completed)
- Progressive relayout as images complete
- Preserves 10-minute LRU image cache
2025-12-28 13:37:54 +08:00
..
test_async_images.cpp feat: Add async image loading with progressive rendering 2025-12-28 13:37:54 +08:00
test_bookmark.cpp test: Add comprehensive test suite for v2.0 release 2025-12-27 16:30:05 +08:00
test_history.cpp feat: Add persistent browsing history 2025-12-27 18:13:40 +08:00
test_html_parse.cpp test: Add comprehensive test suite for v2.0 release 2025-12-27 16:30:05 +08:00
test_http_async.cpp test: Add comprehensive test suite for v2.0 release 2025-12-27 16:30:05 +08:00
test_image_minimal.cpp feat: Add async image loading with progressive rendering 2025-12-28 13:37:54 +08:00
test_layout.cpp feat: Implement TUT 2.0 with new rendering architecture 2025-12-26 14:56:17 +08:00
test_renderer.cpp feat: Implement TUT 2.0 with new rendering architecture 2025-12-26 14:56:17 +08:00
test_simple_image.cpp feat: Add async image loading with progressive rendering 2025-12-28 13:37:54 +08:00
test_terminal.cpp feat: Implement TUT 2.0 with new rendering architecture 2025-12-26 14:56:17 +08:00