ReWeibo 1.1.0
·
6 commits
to main
since this release
ReWeibo 1.1.0
本版本集中完善微博轻享版的大缓存管理、按日期清理和首页快捷操作,并修复补齐或清理过程中出现的卡顿、位置跳动、边界误判和正文空白。
This release improves large-cache handling, date-based clearing, and home timeline shortcuts in Weibo Lite, while fixing ANRs, viewport jumps, false boundaries, and blank retained statuses during cache operations.
新增与改进
- 将大型时间线缓存的读取、合并、过滤、正文/媒体补齐和断层扫描移出主线程,并合并重复恢复请求,降低大缓存恢复时的 ANR、重复读取和部分写入风险。
- 在 ReWeibo 应用内设置中新增按微博发布时间范围清除缓存;支持日历及
7号、7-7、完整日期时间等松散输入,单独日期按整天处理。 - 清理会同步改写微博轻享版原生缓存、ReWeibo shadow cache 和当前内存时间线,并阻止已排队的旧任务将已删除内容写回。
- 时间线“跳转”支持与清理一致的松散日期格式;仅输入日期时只在当天微博中定位,并优先作用于当前可见首页。
- 在首页增加“跳转”和“删除”快捷按钮,并允许在 ReWeibo 设置中分别控制两个按钮是否显示。
- 缓存恢复会直接同步当前首页 Adapter;双击、日期跳转和阅读位置操作只允许当前可见首页响应。
- 断层补齐会捕获并恢复当前可见微博锚点,批量插入历史微博时保持阅读位置。
Added And Improved
- Moves large timeline-cache loading, merging, filtering, text/media hydration, and gap scanning off the main thread, and coalesces duplicate restores to reduce ANRs, duplicate reads, and partial-write risk.
- Adds publication-time range clearing to the in-app ReWeibo settings, with calendar selection and loose input such as
7号,7-7, or full date/time values; date-only input covers the entire day. - Updates Weibo Lite's native cache, the ReWeibo shadow cache, and the current in-memory timeline together, while preventing queued stale tasks from restoring deleted statuses.
- Accepts the same loose date forms for timeline jumps; date-only input searches only that day and targets the currently visible home timeline.
- Adds home timeline “跳转” and “删除” shortcuts, each independently configurable from ReWeibo settings.
- Applies restored cache data directly to the current home adapter and scopes double-tap, date-jump, and last-read actions to the visible home timeline.
- Captures and restores the visible-status anchor during gap filling so inserting historical statuses does not move the current reading position.
修复
- 修复手动清除某一天后,相邻未删除日期的当前可见微博只剩作者、日期和互动数而正文为空的问题;清理现在优先保留当前已渲染对象,并重新补齐所有保留微博的正文与媒体字段。
- 修复旧或隐藏 Fragment 的短列表仍被误当成首页,以及广告、重复项或伪尾项导致日期跳转和“没有更多内容”边界判断错误的问题。
- 修复补齐进度窗顶端进入状态栏或刘海区域的问题,窗口现在根据实际安全区下移并保留顶部间距。
Fixes
- Fixes visible statuses from adjacent retained dates becoming metadata-only rows with blank bodies after clearing another date; clearing now prefers currently rendered objects and rehydrates text and media for all retained statuses.
- Prevents short lists from stale or hidden fragments, plus ad, duplicate, or synthetic tail rows, from producing incorrect date-jump and “no more content” boundaries.
- Keeps the gap-fill progress card below the actual status-bar and display-cutout safe area with additional top spacing.