Skip to content

OrderCommentDialog: comment modifier ordering, keyboard redesign, and related cleanups#361

Merged
No0ne558 merged 9 commits intoViewTouch:masterfrom
No0ne558:master
Apr 8, 2026
Merged

OrderCommentDialog: comment modifier ordering, keyboard redesign, and related cleanups#361
No0ne558 merged 9 commits intoViewTouch:masterfrom
No0ne558:master

Conversation

@No0ne558
Copy link
Copy Markdown
Contributor

@No0ne558 No0ne558 commented Apr 8, 2026

Description:
This PR groups the last 9 commits which together:

  • Fix comment modifiers so they behave like normal modifiers (preserve insertion order).
  • Improve the OrderCommentDialog keyboard: larger bold fonts, quick-phrase suggestion buttons, accessibility toggle, and layout fixes to prevent overflow.
  • Expand the dialog to better fit the terminal page and recenter it.
  • Several supporting maintenance/chore commits: code modernizations, memory and buffer improvements, hardware/manager fixes, and image loader robustness.

Commits included (most recent first):

  • b17651d 2026-04-08 No0ne558 — OrderCommentDialog: use FONT_TIMES_48B for comment keyboard buttons
  • 69ead99 2026-04-08 No0ne558 — Order Comment: treat comment modifiers like normal modifiers; preserve insertion order
  • 0c9552c 2026-04-08 No0ne558 — chore: follow-up fixes to manager, settings, terminal
  • 4e069f5 2026-04-08 No0ne558 — hardware: guard SaveRecord; track loaded record in HardwareZone; update changelog
  • 83c3283 2026-04-08 No0ne558 — Modernize codebase for C++23 and apply wide-ranging cleanups
  • 31fcca0 2026-04-08 No0ne558 — chore: memory modernization, BufferPool, and build fixes
  • 5103983 2026-04-08 No0ne558 — changelog: document memory modernization; add Linux GetInterfaceInfo; commit license_hash changes
  • b483760 2026-04-07 No0ne558 — Fix(image): prevent integer-overflow and unchecked allocations in image loader; add safe_math helper and unit tests
  • 303f14d 2026-04-07 No0ne558 — Fix: Avoid XCreateImage memory leaks; guard MAC printing. Update changelog.

Summary of notable changes:

  • dialog_zone.cc:
    • Comment creation now chooses call_order contextually so comments append like normal modifiers.
    • OrderCommentDialog keyboard keys set to FONT_TIMES_48B.
    • Added UpdateQuickButtons() for quick-phrase suggestions and logic to populate/refresh buttons.
    • Layout changes: clamp/distribute button widths to avoid overflow; expand dialog size and recenter to fit page.
  • Chore/modernization commits: C++23 modernizations, memory/buffer improvements, hardware and manager guards, image loader hardening, and changelog updates.

No0ne558 added 9 commits April 7, 2026 15:09
…ge loader; add safe_math helper and unit tests
Replaced manual malloc/free with std::vector/RAII in multiple modules; added Linux GetInterfaceInfo and safer GetMacAddress handling; added vt::BufferPool and integrated into vtcore; fixed mismatched free/delete and wrapped backtrace_symbols with RAII; updated changelog.
- Apply C++23 modernization and related cleanups across the codebase
  (core, main, zone, term, src, tests and utilities).
- Update top-level docs and metadata: CMakeLists, README.md, SECURITY.md.
- Add CPP23 modernization documentation and helper tooling:
  docs/CPP23_MODERNIZATION*, scripts/modernize_cpp23.sh.
- Introduce utility headers and helpers (e.g. object_pool, thread_pool,
  xft_color_cache) and example cpp23 utilities under src/utils.
- Refactor and tidy term layering (`term/layer.cc` / `term/layer.hh`) and
  other modules to improve API clarity and modern C++ usage.

Summary: 193 tracked files modified, 17 new files added (approx.).

This commit groups a wide modernization sweep; follow-up commits can split
or revert specific parts if necessary.
@No0ne558 No0ne558 merged commit 672030e into ViewTouch:master Apr 8, 2026
0 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant