Skip to content

Releases

RustPad v3.0.15 — Colorful Marker Highlights + ToUnicode CID PDF Fix

Choose a tag to compare

@Nour-yahyaoui Nour-yahyaoui released this 15 Nov 21:02
f6599ea

RustPad v3.0.15 — Colorful Marker Highlights + ToUnicode CID PDF Fix

100% Pure Rust · 0 crates.io dependencies · Offline-first · Windows (.exe) + Linux x86_64

✨ v3.0.14 — Colorful Marker Highlights

  • Curated 8-swatch marker palette (Sunbeam Yellow, Mint Emerald, Sky Cyan, Coral Rose, Soft Lavender, Warm Peach, Spring Lime, Warm Stone)
  • Split Mark | ▾ Word Ribbon control with live color bar + HighlightPicker popover; 5 instant 1-click swatches in the floating selection bar; Ctrl+Shift+H; word-under-caret clearing with Undo; PDF Highlight tool color sync
  • Lossless round-trip: 24-bit <w:shd w:fill="RRGGBB"/> + legacy <w:highlight> import, HTML5 <mark> export, Midnight Dark Mode ink contrast preserved

🐛 v3.0.15 — Fixed Garbled PDF Text (ToUnicode CMap Decoding)

  • Word-exported PDFs (subset CID fonts: Aptos / SymbolMT / SegoeUIEmoji, /Identity-H) no longer render as scattered symbols (! " # $ % & ' ( ) * + …)
  • Parser now resolves per-page /Font resources and decodes CID hex strings via each font's /ToUnicode CMap (beginbfchar + beginbfrange, ligatures, surrogate pairs)
  • Bonus: '/"/TL/T* operators + UTF-16BE BOM metadata strings
  • Verified on a real Word-exported PDF: clean French text with accents, bullets, and emoji

Verification

  • cargo test --workspace: 61/61 passing · cargo clippy: clean
  • Landing page upgraded to v3.0.15 (download links, hero, studio specimens)

Downloads

  • rustpad-v3.0.15-windows-x86_64.exe — Windows x64 (zero console window)
  • rustpad-v3.0.15-linux-x86_64 — Linux x86_64
  • SHA256SUMS.txt — checksums

Authored by Nour Yahyaoui — RustPad Studio.

RustPad v3.0.13 — Pure Offline Core (Removed All AI Agent Integration)

Choose a tag to compare

@Nour-yahyaoui Nour-yahyaoui released this 05 Nov 00:34
09db8d3

RustPad v3.0.13 — Pure Offline Document, Inline Math & Forensic PDF Studio

Removed & Streamlined

  • 100% AI-Free Offline Core (-3,170+ lines removed): Deleted crates/power_tools/src/ai_agent.rs (-1,227 lines) and removed all local/cloud AI HTTP & WinHTTP bridges, AiDockState, the right-side AI Agent Studio dock (Ctrl+J), AiRun* commands, floating selection AI Polish, and the rustpad ai CLI subcommand.
  • Streamlined Studio Launchpad & Toolbar: Replaced AI buttons on the Home Launchpad with 1-click ∑ Inline Math Library (Alt+=) access and focused the floating selection bar strictly on typography & review (B, I, U, Highlight, Ink, +Note).
  • Pure Win32 GUI Subsystem Preserved: Double-clicking rustpad.exe opens strictly the native Win32 window with zero background cmd.exe window, 0 external crates.io dependencies, and 0 network sockets.

v3.0.12 — Pure Win32 GUI (No Console Window) & Linear Algebra / Probability Math Pack

Choose a tag to compare

@Nour-yahyaoui Nour-yahyaoui released this 03 Nov 18:59
24e8b78

What's New in RustPad v3.0.12

1. Pure Native Win32 GUI Launch (Zero Background cmd.exe Terminal Window)

  • Compiled rustpad.exe with windows_subsystem = "windows" (IMAGE_SUBSYSTEM_WINDOWS_GUI) so double-clicking rustpad.exe opens strictly the RustPad Studio desktop window with zero persistent cmd.exe terminal window.
  • Running CLI subcommands from PowerShell or cmd (rustpad --version, rustpad convert, rustpad sbom, etc.) automatically attaches via AttachConsole(ATTACH_PARENT_PROCESS), and Windows print/OCR/curl helpers use CREATE_NO_WINDOW.

2. Step-by-Step Math Library Expansion (83 Ready-to-Insert Inline Templates)

  • Added LinearAlgebra and Probability categories to the Inline Math Library (Ctrl+Shift+L / Alt+= / /math): Dot Product, L1/L2/Frobenius Norms, Cosine Similarity, Ax = b, Matrix Product, Eigenvalues, SVD, QR/Cholesky, OLS, Orthogonal Projection, Cauchy–Schwarz, Kronecker/Hadamard, Bayes' Theorem, Conditional & Total Probability, Expectation, Variance, Pearson Correlation, Gaussian PDF, Z-Score & Confidence Interval, Binomial/Poisson PMF, MLE, and Chebyshev's Inequality.

v3.0.11 — Core Inline Math Function & Formula Library (/math & Ctrl+Shift+L)

Choose a tag to compare

@Nour-yahyaoui Nour-yahyaoui released this 03 Nov 16:19
db2fb91

RustPad v3.0.11 — Core Inline Math Function & Formula Library (Step 1 of Math & Code Micro-Roadmap)

  • Searchable Inline Math Function & Formula Library (Ctrl+Shift+L, Alt+=, Ribbon ∑ Math, /math): Adds doc_model::math_library with 61 ready-to-insert inline mathematical templates across Core Building Blocks, Algebra & Trigonometry, Calculus & Analysis, and Greek & Number Domains that insert as multi-span TextSpan runs (SerifItalic variables + <w:vertAlign> superscript/subscript bounds) fitting naturally inside normal prose without breaking line height.
  • Clean Prose Continuation: Automatically resets pending_typing_style to surrounding prose after inserting a formula so continuing to type right after an exponent or subscript stays normal text.
  • TrueType Math Symbol Fallback (FontBook::face_for_char): Automatically falls back to Sans vector outlines when Serif or Mono slots omit a non-ASCII mathematical glyph.

v3.0.1 — Rich-Span Typography, Inline Typing Styles & PDF AFM Calibration

Choose a tag to compare

@Nour-yahyaoui Nour-yahyaoui released this 02 Nov 23:20
2e691fd

RustPad Studio v3.0.1 — Typography, Inline Editing & PDF Layout Patch

Fixed Bugs (#60, #61, #62, #63)

  • PDF Inline Spacing, Continuous Phrase Underlines & Zero Run Overlap (crates/pdf_create, crates/pdf_engine, crates/power_tools):
    • Replaced coarse fixed-factor character width estimates and .trim() space stripping with official per-codepoint Adobe Standard-14 AFM width tables (Helvetica, Helvetica-Bold, Times-Roman, Times-Bold, Courier).
    • Preserves inter-span leading/trailing spaces ("hello everyone im " + "nour yahyaoui" + " a web developer from tunisia"), merges contiguous same-style runs per wrapped line for continuous underlines/highlights across multi-word phrases, and removes the * 1.08 run-advance drift hack.
    • Recovers gap-calibrated spaces, underlines, and strikethroughs cleanly during PDF -> Word roundtrips.
  • Calibrated PDF Studio Viewer & 12-Slot TrueType Engine (crates/rustpad_render, app/src/pdf_view.rs):
    • Added Surface::draw_text_to_width so embedded DejaVu glyphs fit exact PDF Standard-14 run boxes without colliding into subsequent runs or overshooting underlines.
    • Expanded FontSlot to all 12 (Sans | Serif | Mono) × (Regular | Bold | Italic | BoldItalic) variants with 4×4 supersampled 0.20 oblique italic shear and non-zero-winding span-dilated synthetic bold.
  • Word Studio Pending Typing Styles & Lossless Rich-Span Editing (app/src/state.rs, app/src/word_view.rs, crates/doc_model):
    • Toggling Bold, Italic, Underline, Strikethrough, Superscript, Subscript, font family, font size, ink color, or highlight at the caret with no selection now queues pending_typing_style for newly typed text instead of overwriting existing paragraph runs.
    • Enter (Paragraph::split_at_char), Backspace, and Delete preserve all rich SpanStyle and RevisionMeta runs across splits and merges.
    • Rich-span line wrapping, overlong URL soft-wrapping, and Center / Right alignment measure exact per-span glyph advances.

RustPad v3.0.0 — Major Upgrade: Native Dark Mode, OOXML Intelligence, Smart Merge, Redaction & CLI Suite

Choose a tag to compare

@Nour-yahyaoui Nour-yahyaoui released this 01 Nov 11:46
9f61204

RustPad v3.0.0 — Major Pure-Rust Engine Upgrade + Native Dark Mode

100% Pure Rust · 0 External crates.io Dependencies · 60–120Hz Native Desktop Studio (Windows .exe + Linux x86_64) + 19-Command Enterprise CLI

Highlights

  • Native 3-Mode Dark Studio (Ctrl+Shift+D): Daylight, Midnight, and HybridDarkDesk with zero-mutation render-time ink/table adaptation (saved .docx/.pdf files stay 100% standards-faithful), Windows 11 DWM & Linux X11 _GTK_THEME_VARIANT native dark titlebars, and ~/.rustpad/theme.conf persistence.
  • Pillar A — OOXML Intelligence, Validation & Salvage Repair: rustpad validate, rustpad repair (Local File Header salvage + truncated XML tag-stack healing + automatic desktop recovery on open), and Ctrl+Shift+J Document Intelligence, Security & Quality Inspector.
  • Pillar B — Advanced Document Editing: word/footnotes.xml & word/endnotes.xml citations + Word/PDF rendering, <w:sectPr> section breaks, different_first_page headers/footers, hyperlinks, superscript/subscript, and <w:vanish/> hidden runs.
  • Pillar C — Multi-Layer Comparison & Smart 3-Way Merge: Character-level & structural diff (rustpad compare, rustpad redline --char-level) and conflict-aware 2/3-way .docx merge (rustpad merge).
  • Pillar D — Forensic Security & Privacy: Permanent .docx/.pdf redaction (rustpad redact --pii), metadata/hidden-text/remote-template scrubber (rustpad clean-meta), and 0600 + fsync atomic writes.
  • Pillars E & F — Productivity, Exports, Pure-Rust OCR & Batch CLI: Responsive HTML5 export with Light/Dark CSS tokens, duplicate-paragraph & broken-hyperlink diagnostics, pure-Rust offline bitmap OCR (PNG/JPEG/BMP/PGM), batch directory processor (rustpad batch), and crash-proof 30–200+ MB zero-copy streaming .docx engine.

Links

Code Signing & Privacy Policy

  • Free code signing on Windows provided by SignPath.io, certificate by SignPath Foundation.
  • 100% Offline-First: RustPad makes zero automatic network calls, embeds zero telemetry/analytics SDKs, and sends text to an AI endpoint solely when explicitly invoked by the user.
  • Author & Maintainer: Nour Yahyaoui (https://nour-yahyaoui.vercel.app · https://github.com/Nour-yahyaoui)

RustPad v2.3.0 — Virtualized 100+ MB .docx Engine, Progressive Viewport Thumbnails & Zero-Copy CoW

Choose a tag to compare

@github-actions github-actions released this 31 Oct 22:39
f75ee15

RustPad v2.3.0 — Virtualized Large-Document & Multi-Screenshot Engine

Fixes #47 (30+ MB multi-page, high-resolution screenshot-heavy .docx crash, OOM memory explosion, and main-thread freeze) while keeping zero external crates.io dependencies and 60–120Hz native responsiveness.

Root Causes Eliminated & New Architecture

  • Viewport-Only 64 MiB LRU Thumbnail Streaming (app/src/word_view.rs, crates/rustpad_render): Replaced eager upfront decoding of every off-screen figure on frame 1 (which allocated 1.6–3.3 GB of uncompressed RGBA buffers for 100+ 4K screenshots) with probe_media_dimensions (O(1) 24-byte header scan for exact aspect ratios) and progressive decode_any_image_thumbnail_rgba downsampling (<= 1440px, max 3 decodes/frame, bounded 64 MiB LRU cache + corrupt-media tombstones).
  • Zero-Copy Reference-Counted Media (SharedBytes / Arc<[u8]>) & Instant Time-Machine CoW (crates/doc_model, crates/power_tools): Opening a 30+ MB .docx previously ran double synchronous O(N) LZ77 compression (save_docx_bytes + zlib_compress) inside SnapshotVault::capture and deep-cloned raw media across UndoHistory. ImageBlock now stores SharedBytes, deduplicates repeated archive assets on load, and captures in-memory Time-Machine & Undo snapshots in < 0.05 ms with zero media duplication.
  • Hardened PKZIP 1 GiB Budget & STORED Media Fast Path (crates/rustpad_zip): Raised archive ceilings from 256 MiB / 4,096 entries / 250:1 ratio (which rejected >30 MB multi-page .docx archives and dense XML) to 1 GiB / 32,768 entries / 2,000:1 ratio, and skips redundant DEFLATE passes on pre-compressed PNG/JPEG/WebP media (~500x faster .docx saves).
  • 64 MP / 32,768px Codec Support, Layout-Table Images & Crash Containment (crates/docx_io, crates/rustpad_window, app/build.rs): Raised PNG/JPEG/BMP limits from 8,192px / 32 MP to 32,768px / 64 MP for stitched Retina screenshots, surfaces <w:drawing> / <w:pict> figures inside <w:tbl> cells, caches paginated layout (Rc<Vec<Vec<LaidOutBlock>>>) with O(W) word-wrapping and sub-page block culling, provisions a 16 MiB Win32 stack (/STACK:16777216), and guards Win32 wnd_proc + open_path with std::panic::catch_unwind.

Direct Downloads (0 Dependencies · Portable Native Binaries)

  • Windows 10/11 x64 (Win32 GDI): rustpad-v2.3.0-windows-x86_64.exe / rustpad.exe
  • Linux x86_64 (X11): rustpad-v2.3.0-linux-x86_64
  • Checksums: SHA256SUMS.txt

v2.2.0 — Effortless Table Studio, Native .docx Figures & Win32 Publisher Identity

Choose a tag to compare

@Nour-yahyaoui Nour-yahyaoui released this 27 Oct 23:44
1b28fab

RustPad v2.2.0 — Smooth 60–120Hz UX, Table & .docx Image Studio, and Win32 PE Identity

Highlights

  • Effortless 8×8 Table Creation Studio (#36, #38):
    • Interactive 8×8 visual hover-and-click table dimension picker (Table ▾ / Ctrl+Shift+T with keyboard Arrow + Enter support).
    • 5 1-Click Styled Presets: Pricing / Invoice, Project Tracker, Comparison Matrix, Pros & Cons, and Schedule / Agenda.
    • Instant slash & Markdown pipe shorthands (/table 4x5, /invoice, | Feature | Owner | ETA | + Enter) and Excel/Sheets TSV clipboard auto-tables (Ctrl+V).
    • Contextual TABLE bar (+Row, -Row, +Col, -Col, Zebra, Theme, =Cols, Del Tbl) + Esc to exit tables smoothly.
  • Universal .docx Image & Figure Studio (#39, #40):
    • Pure-Rust bounded decoders (0 crates.io deps) for PNG (RGB/RGBA/Grayscale/Palette PLTE + tRNS + Adam7), Baseline & Progressive JPEG (ITU-T.81 Huffman + IDCT + YCbCr/CMYK), and BMP / Win32 CF_DIB (24/32-bpp).
    • Parses ECMA-376 <wp:inline>, <wp:anchor> floating figures, <mc:AlternateContent>, and legacy <w:pict><v:imagedata> with strict ZipSlip path normalization.
    • Insert via Ribbon Image, Ctrl+Shift+I, /image, OS file drag-and-drop, or Ctrl+V screenshot paste, with 60–120Hz aspect-locked corner drag-resize handles, 25% / 50% / 75% / 100% presets, captions, and vector PDF /Subtype /Image XObject export.
  • Embedded Windows App Icon, Publisher Metadata & Security Manifest (PR #44):
    • Spec-compliant multi-frame rustpad.ico (16×16, 32×32, 48×48, 64×64 32-bpp DIB + 256×256 lossless PNG) embedded via zero-dependency app/build.rs (RT_GROUP_ICON + runtime LoadIconW / WM_SETICON).
    • Embedded Win32 VS_VERSION_INFO publisher metadata (CompanyName = "Nour Yahyaoui - RustPad Studio", ProductName = "RustPad Desktop Studio", FileVersion = "2.2.0.0").
    • Least-privilege asInvoker UAC + PerMonitorV2 HiDPI Windows 10/11 application manifest + local Authenticode helper (scripts/sign-windows.ps1).

Verify Release Checksums

Get-FileHash .\rustpad-v2.2.0-windows-x86_64.exe -Algorithm SHA256

See SHA256SUMS.txt attached below and SECURITY.md for local/enterprise Authenticode signing (scripts/sign-windows.ps1).

RustPad v2.1.0 — Ultra-Smooth 60–120Hz Compositor & Flagship Human UX

Choose a tag to compare

@Nour-yahyaoui Nour-yahyaoui released this 27 Oct 18:39
a28a193

RustPad v2.1.0 — Where Ultra-Smooth 60–120Hz Responsiveness & Human UX Are the #1 Feature

Highlights

  • 60–120Hz Coalesced Native VSync & Fast Scanline Compositor (#31): Win32 WM_PAINT and X11 MotionNotify burst coalescing (16ms ~60Hz tick), slice-accelerated Surface::fill_rounded_rect interior scanlines, O(1) horizontal clip culling in Surface::draw_text, and pure-Rust RFC 2083 decode_png_rgba + bilinear blit_rgba_scaled for zero-allocation embedded .docx figures.
  • Live Text Range Selection, Substring TextSpan Styling & Floating Ivory Popover (#32): Zero-lag mouse-drag selection (WordLineHitBox), double-click word select, Shift+Click, Shift+Arrow/Home/End, Ctrl+Left/Right word jumps, Ctrl+A Select All, Paragraph::transform_range mixed inline styling, and a Warm Ivory Floating Selection Mini-Toolbar (B, I, U, Highlight, Ink, +Note, AI Polish).
  • 60Hz Kinetic Spring Scroll, 1-Click Per-Clause Redlines & Focus Mode (#33): Critically-damped target_scroll_y spring scrolling across Word & PDF tabs, 1-click per-clause Accept #N / Reject #N in the Legal Redline Review Bar, live Ctrl+F match auto-jump, and Ctrl+Shift+F Distraction-Free Writer Focus Mode.
  • Interactive Smooth UX Sandbox (#34): Mobile-first (320px+) interactive sheet sandbox live at https://rustpad-studio.vercel.app.
  • Offline Enterprise Foundation Preserved: 0 crates.io runtime dependencies, lossless OOXML passthrough, forensic PDF redaction sanitization, PDF/A-2b + SHA-256 seals, MDM policy.json AI DLP, and CycloneDX 1.5 SBOM.

RustPad v2.0.0 — Enterprise Offline Document & PDF Suite

Choose a tag to compare

@Nour-yahyaoui Nour-yahyaoui released this 27 Oct 10:28
2795dcf

RustPad v2.0.0 — Enterprise Offline Document & PDF Suite

RustPad v2.0.0 elevates RustPad into an enterprise-grade, 100% offline-capable native desktop document and PDF suite compiled into a single ~3.8 MB pure-Rust executable with 0 external crates.io runtime dependencies.

Major Enterprise Capabilities

  • Lossless OpenXML (.docx), Legal Track Changes & Review Comments (#23): Byte-for-byte archive passthrough (passthrough_parts), ECMA-376 <w:ins> & <w:del>/<w:delText> live revision tracking (Ctrl+Shift+E), emerald/crimson redline rendering + gutter change bars, Accept All / Reject All, offline word-level contract comparison (rustpad redline), and threaded word/comments.xml (Ctrl+Shift+M).
  • Forensic PDF Redaction Sanitizer, PDF 1.5+ /ObjStm Unpacking, PDF/A-2b & SHA-256 Seals (#24): ISO 32000-1 /Type /ObjStm + PNG predictor unpacking, physical removal of redacted underlying glyph runs (rustpad sanitize), archival PDF/A-2b XMP packets, and /Type /RustPadSeal SHA-256 tamper-evident sealing & CLI verification (rustpad sign --pdfa, rustpad verify).
  • Parser Security Ceilings & In-Tree SHA-256 (#25): Pure-Rust RFC 6234 sha256, bounded DEFLATE/Zlib zip-bomb ratio ceilings (200:1), ZipSlip path-traversal rejection, and MAX_XML_DEPTH = 128.
  • MDM policy.json DLP Governance, Native WinHTTP Schannel TLS, Audit Chain & CycloneDX SBOM (#9, #26): Native Windows winhttp.dll corporate proxy & Enterprise Root CA TLS transport, system MDM EnterprisePolicy air-gapped AI lockout, SHA-256 hash-chained AuditTrail, and rustpad sbom CycloneDX 1.5 JSON output.
  • Crash-Safe WAL, Shared Lockfiles, UIA/AT-SPI Accessibility & OS Printing (#27, #28): SHA-256 WalJournal frames, .~rustpad.lock guards, rustpad inspect --a11y, Ctrl+P OS printing, and full open-source governance (SECURITY.md, ARCHITECTURE.md, CONTRIBUTING.md, docs/ENTERPRISE_POLICY.md).