Sign in
Join now
pumpkin-os
pds.dad
/
Star
Starred
Star
Something went wrong. Try again.
Fork
0
Eye filled
Watch
Watching
Watch
A fork of pulp-os for the xteink4 adding custom apps
Star
Starred
Star
Something went wrong. Try again.
Fork
Eye filled
Watch
Watching
Watch
Overview
Overview
Issues
Issues
Pulls
Pulls
Pipelines
Pipelines
pumpkin-os
/
kernel
/
src
5 folders
·
2 files
at
main
hansmrtn
·
whoops: cargo fmt
·
7mo ago
445755fe
board
settings rewrite, reading themes, button swap, expanded character set settings app: - rewrite with 6 items: sleep, ghost clear, book font, UI font, reading theme, swap buttons - dynamic visible_items() computed from available screen space - scroll support when items overflow visible area reading themes: - add ReadingTheme struct with margin_h, margin_v, line_spacing_pct - 4 presets: Compact / Default / Relaxed / Spacious - replace hardcoded TEXT_W/TEXT_Y/TEXT_AREA_H/MARGIN in reader text paths with runtime fields (text_margin, text_y, text_w, text_area_h) - theme-aware line spacing in apply_font_metrics() - wire theme propagation through manager.propagate_fonts() - apply_theme_layout() called in on_enter and on_resume button swap: - ButtonMapper swaps Back<->Left, Confirm<->Right (not volume) - ButtonFeedback uses swap flag to show correct physical labels - sync_button_config() in manager updates mapper + bumps on change reader improvements: - remove unused progress bar (READER_PROGRESS_H, PROGRESS_Y, PROGRESS_W) - fix inline image clipping: ceiling division for img_lines reservation, clamp blit_h to remaining vertical space - add LongPress(NextJump) -> end of chapter, LongPress(PrevJump) -> start - images.rs uses runtime text_w/text_area_h instead of constants shared widgets: - add selectable_row.rs (draw_selection, draw_selection_if_visible) - add list.rs (ListSelection scroll helper) - add format.rs (draw_position_indicator, fmt_position, fmt_percent) - refactor home bookmarks and quick_menu to use shared selection widget character support: - add ~70 codepoints to build.rs: currency, math, arrows, symbols, Latin Extended-B (Vietnamese, Romanian) config rewrite: - SystemSettings gains reading_theme (u8) and swap_buttons (bool) - SETTINGS.TXT parse/write updated with section comments
7mo ago
drivers
whoops: cargo fmt
7mo ago
kernel
whoops: cargo fmt
7mo ago
ui
settings rewrite, reading themes, button swap, expanded character set settings app: - rewrite with 6 items: sleep, ghost clear, book font, UI font, reading theme, swap buttons - dynamic visible_items() computed from available screen space - scroll support when items overflow visible area reading themes: - add ReadingTheme struct with margin_h, margin_v, line_spacing_pct - 4 presets: Compact / Default / Relaxed / Spacious - replace hardcoded TEXT_W/TEXT_Y/TEXT_AREA_H/MARGIN in reader text paths with runtime fields (text_margin, text_y, text_w, text_area_h) - theme-aware line spacing in apply_font_metrics() - wire theme propagation through manager.propagate_fonts() - apply_theme_layout() called in on_enter and on_resume button swap: - ButtonMapper swaps Back<->Left, Confirm<->Right (not volume) - ButtonFeedback uses swap flag to show correct physical labels - sync_button_config() in manager updates mapper + bumps on change reader improvements: - remove unused progress bar (READER_PROGRESS_H, PROGRESS_Y, PROGRESS_W) - fix inline image clipping: ceiling division for img_lines reservation, clamp blit_h to remaining vertical space - add LongPress(NextJump) -> end of chapter, LongPress(PrevJump) -> start - images.rs uses runtime text_w/text_area_h instead of constants shared widgets: - add selectable_row.rs (draw_selection, draw_selection_if_visible) - add list.rs (ListSelection scroll helper) - add format.rs (draw_position_indicator, fmt_position, fmt_percent) - refactor home bookmarks and quick_menu to use shared selection widget character support: - add ~70 codepoints to build.rs: currency, math, arrows, symbols, Latin Extended-B (Vietnamese, Romanian) config rewrite: - SystemSettings gains reading_theme (u8) and swap_buttons (bool) - SETTINGS.TXT parse/write updated with section comments
7mo ago
util
refactor: code review cleanup, bug fixes, and RTC session persistence rtc session persistence: - add rtc_session module for deep sleep state preservation - save/restore nav stack, reader position, files scroll, home state - cache settings in RTC memory to skip SD reads on wake - keep RTC FAST memory powered during sleep (~1-2µA extra) - add collect_session/apply_session to AppLayer trait - add session state accessors to home, files, reader apps bugs: - fix typos in timing.rs (dookmark -> bookmark, dffset -> offset) - add spine bounds check in images.rs scan_chapter_for_image - add chapter validation after spine load in reader - log errors on pulp dir creation failure in main.rs - fix misleading comment in bitmap.rs (fallback is '?' not space) consolidation: - remove redundant extern crate alloc from files.rs, reader/mod.rs, images.rs - extract hint() helper in build.rs - extract is_power_event() helper in scheduler.rs - extract enter_error() helper in reader/mod.rs - add CONTENT_REGION constant in home.rs - trim unused layout constants clarity: - add rotation comment for SCREEN_W/H swap in board/mod.rs - add window bounds comment in strip.rs - rename cryptic vars in paging.rs (lc->line_count, ls->line_start, etc) - add state machine comment in reader/mod.rs simplification: - use if let instead of empty match in storage.rs - use map_or in app.rs render_ready - use .expect() for spawn failures in main.rs style: - convert /// doc comments to // in rtc_session.rs, layout.rs, utf8.rs
7mo ago
error.rs
style fixes, bugs, dedup
7mo ago
lib.rs
refactor: code review cleanup, bug fixes, and RTC session persistence rtc session persistence: - add rtc_session module for deep sleep state preservation - save/restore nav stack, reader position, files scroll, home state - cache settings in RTC memory to skip SD reads on wake - keep RTC FAST memory powered during sleep (~1-2µA extra) - add collect_session/apply_session to AppLayer trait - add session state accessors to home, files, reader apps bugs: - fix typos in timing.rs (dookmark -> bookmark, dffset -> offset) - add spine bounds check in images.rs scan_chapter_for_image - add chapter validation after spine load in reader - log errors on pulp dir creation failure in main.rs - fix misleading comment in bitmap.rs (fallback is '?' not space) consolidation: - remove redundant extern crate alloc from files.rs, reader/mod.rs, images.rs - extract hint() helper in build.rs - extract is_power_event() helper in scheduler.rs - extract enter_error() helper in reader/mod.rs - add CONTENT_REGION constant in home.rs - trim unused layout constants clarity: - add rotation comment for SCREEN_W/H swap in board/mod.rs - add window bounds comment in strip.rs - rename cryptic vars in paging.rs (lc->line_count, ls->line_start, etc) - add state machine comment in reader/mod.rs simplification: - use if let instead of empty match in storage.rs - use map_or in app.rs render_ready - use .expect() for spawn failures in main.rs style: - convert /// doc comments to // in rtc_session.rs, layout.rs, utf8.rs
7mo ago