Skip to content

Releases: pacificcodeinc/glass

Glass v0.1.9

Choose a tag to compare

@cowboycodr cowboycodr released this 02 Jul 19:21

Release v0.1.9

This release improves Markdown inline rendering and polish around new unsaved buffers.

Full commit range: v0.1.8...v0.1.9

Added

  • Strikethrough rendering: ~~text~~ is concealed and crossed out, including inside list items, checkboxes, and quotes.
  • Fenced code block language identifiers are highlighted distinctly from the muted fence.
  • Heading levels 4-6 now conceal their markers and render with the heading style.
  • __bold__ double-underscore emphasis.

Changed

  • The unsaved-change indicator in the status bar now matches the status-bar foreground color instead of red.
  • Opening a not-yet-existing file shows the unsaved indicator until the first :w creates it.
  • :w in a buffer with no file now reports No file to save instead of a false Saved.

Fixed

  • Inline emphasis markers that never pair up render literally instead of being half-concealed or swallowing text.
  • Asterisks surrounded by spaces, such as 2 * 3 = 6, are no longer treated as emphasis.
  • Underscores inside words, such as snake_case_name, are no longer italicized.
  • Long headings keep their heading style on wrapped continuation rows.

Verification

  • cargo fmt --all -- --check
  • cargo test --locked (157 passed)
  • cargo build --release --locked
  • cargo run --quiet -- --version (glass 0.1.9)

Glass v0.1.8

Choose a tag to compare

@cowboycodr cowboycodr released this 20 May 23:07

Release v0.1.8

This release focuses on making Glass easier to inspect and debug from the command line. It adds full ANSI render snapshots, automatic render output when stdout is piped or redirected, and a complete CLI help surface.

Added

  • --render and --dump-render for full-page ANSI debug snapshots that render the document body and status bar without opening the interactive editor.
  • Automatic ANSI render output when glass <path> writes to piped or redirected stdout, such as glass README.md | less -R.
  • Thorough --help and -h output covering usage, path behavior, render debugging, modes, keybindings, commands, mouse behavior, and examples.

Changed

  • Running glass without a path now prints the full help text instead of a terse usage error.

Fixed

  • Render debug output now uses the same Crossterm palette-index ANSI color mapping as the live terminal backend, so the status bar colors match interactive Glass more closely.

Verification

  • cargo fmt --all -- --check
  • cargo test --locked (136 passed)
  • cargo build --release --locked
  • cargo run --quiet -- --version
  • cargo run --quiet -- --help | sed -n '1,12p'
  • cargo run --quiet -- benchmark.md > /tmp/glass-auto-render-v0.1.8.ansi && tail -n 1 /tmp/glass-auto-render-v0.1.8.ansi

Glass v0.1.7

Choose a tag to compare

@cowboycodr cowboycodr released this 18 May 22:49

Release v0.1.7

This release focuses on making Markdown rendering feel more stable in real reading and editing sessions. It adds native table rendering, a broad Markdown benchmark document, better wrapped blockquote behavior, and corrected nested list bullets.

Added

  • Markdown table rendering with aligned columns, styled headers, escaped pipe support, and source mapping for search and selection highlights.
  • Table cells wrap into additional visual rows instead of truncating long content.
  • A broad benchmark.md fixture covering implemented Markdown behavior, known gaps, and renderer stress cases.
  • GitHub Actions CI for formatting, tests, and release build checks.

Changed

  • Table body rows now use internal separators so wrapped rows remain visually distinct without adding an outside top or bottom border.
  • Wrapped blockquotes keep their quiet quote marker and styling across visual rows.
  • Nested bullets alternate between filled and hollow markers by indentation level.

Fixed

  • Nested blockquotes render repeated quote markers instead of falling back toward plain Markdown source.
  • Long inactive table cells no longer collapse into ellipsized text in narrow article widths.
  • Long benchmark prose now exercises the renderer's wrapping behavior instead of relying on manual hard wraps in the fixture.

Verification

  • cargo fmt --all -- --check
  • cargo test --locked (124 passed)
  • cargo build --release --locked
  • git diff --check

Glass v0.1.6

Choose a tag to compare

@cowboycodr cowboycodr released this 18 May 21:57

Full commit range: v0.1.5...v0.1.6

Added

  • Bottom-attached command and search sheet for : and /, with shared fuzzy suggestions for files, commands, and in-document search results.
  • Search result highlighting across visible rows, including wrapped and multi-line matches.
  • Normal-mode n and N navigation through active search results, with the current result index shown in the status bar.
  • Mouse support for click-to-move cursor, drag text selection, immediate clipboard copy, Command-click link opening, and wheel scrolling.

Changed

  • File suggestions appear before commands and are labeled as FILE navigate <path>.
  • Command/search sheet styling now follows the status bar colors and attaches at the same full width.
  • Temporary status labels such as opened-link and copied-selection messages disappear after 3 seconds.
  • Dark terminal URL accents are lighter for better contrast.
  • The status bar stays one row tall when the command/search sheet has no results.

Fixed

  • Mouse wheel scrolling now moves through visual rows in the editor without snapping the viewport back unexpectedly.
  • Search commands now find text across line breaks instead of only within a single physical line.

v0.1.5

Choose a tag to compare

@cowboycodr cowboycodr released this 13 May 21:40

Changed

  • Wrapped visual-row movement now preserves the intended on-screen cursor column through short wrapped rows and across physical lines.
  • New note paths opened with glass <new-file>.md stay in memory until the first :w.
  • Dirty files now show a dedicated status-bar indicator instead of tinting the status message.

Fixed

  • Active list rows no longer render past the current wrap segment, preventing duplicated text at wrapped line boundaries.
  • Concealed inline formatting, shortened bare URLs, and covered links now wrap from their rendered text instead of raw Markdown source width.
  • Vertical document jumps such as G, gg, and translated command-arrow jumps preserve the target cursor column.
  • Saving a new note creates missing parent directories as part of the write.