Skip to content

DopusWorX 1.3.0

Choose a tag to compare

@HyperWorX HyperWorX released this 24 Aug 18:09
· 17 commits to main since this release

DopusWorX 1.3.0

A fixes-and-polish release on top of 1.2.0. Printing now works on every kind of file, the
Settings dialog has been rebuilt, and seven issues and a discussion raised on GitHub are fixed.

Install

  • Already installed? Open Settings, go to the About tab and press Check for updates, then
    Install update. Settings, custom themes and file types carry over (one exception, under
    Changed below). If your first install was the setup exe, an in-app update leaves the Apps &
    features entry showing the old version; run the new setup exe if you want it current.
  • Fresh install: download DopusWorX_v1.3.0_Setup.exe below and run it. One UAC prompt; it
    closes Directory Opus, installs, restarts it, and registers a normal Windows uninstall in
    Apps & features. Windows SmartScreen may warn about a new unsigned download: click More info,
    then Run anyway, or check the SHA-256 below first.
  • Prefer the zip? Download DopusWorX_v1.3.0.zip below, quit Directory Opus, extract, and
    run Install.cmd (/silent skips the prompts for scripted installs; Windows still asks for
    admin rights). Uninstall.cmd in the zip removes a zip install.

To open Markdown in DopusWorX on double-click: tick the DOpus column for Markdown in Settings,
File types, then press Apply file associations.

Needs Windows 10 or later x64, Directory Opus 13 or later, and the WebView2 runtime (already on
most systems; if it is missing, the pane shows the download address).
Documentation starts at
01-getting-started.md. New to DopusWorX? The
1.0.0 notes have the full tour.

DopusWorX_v1.3.0.zip        sha256: 999a9143a51e7cbdb258715c9cd50cf26f423a74d05907f641dfbb70a62c7960
DopusWorX_v1.3.0_Setup.exe  sha256: 284190f72bc3ee1dd9ef7f147f9f553370033cd255691dbeaafa17b68f1a6818

New

  • Set the space around the page. Under Appearance, Page layout: Padding sets the gap inside
    the page, Margin the gap between the page and the pane, each with a top and a bottom field.
    Type a number or a CSS length such as 2rem; an empty field keeps the current spacing. With
    the toolbar on auto-hide the document now starts at the top of the pane. (Issue #25.)
  • Print in black and white. A second command beside Print, in the Save menu and the
    right-click menu: a clean black-on-white sheet with none of the palette on it. Nothing is
    remembered between prints, so use the two in any order.
  • A file type can open as Markdown, HTML, CSV or Binary. The Highlight Grammar dropdown in
    Settings, File types now decides how a type is presented, not just how it is coloured: set
    Plain text to Markdown and .txt and .log files open as Markdown documents, with Reading,
    Live and Source. (Discussion #20.) On upgrade, a type already set to one of those four just
    for its colouring now opens in that view; set the row back to its own language if that is not
    what you wanted.
  • Find a setting. A search box in the Settings header searches every tab at once.
  • A section index beside the settings. On any tab with more than one section, the section
    names sit in a ribbon down the left, and each section is a coloured card with an icon and the
    number of settings in it. The ribbon folds to icons in a narrow window.
  • The Source editor can have its own code colours: the current palette's colours, the same
    scheme your document code blocks use, or a named scheme just for the editor. If you had the
    old tick box on, the dropdown starts on Same as code in documents.
  • Whitespace marks and indentation guides moved onto the toolbar for code and text files.
    Markdown Source still sets them from the dialog.
  • The keyboard guide fits without scrolling at 1200 by 900 and up. The old layout stays as
    Roomy.

Changed

  • The Settings dialog was rebuilt around one layout. Labels take the spare width and every
    control sits on one shared rail. That fixed the labels that wrapped, the toggles that drifted
    right, the tall narrow dictionary list, the toolbar tiles hidden behind a scrollbar, the File
    types headings that scrolled away, and the window that refused to widen.
  • The tabs were reorganised. Content is now General, with Toolbars a section inside it;
    everything markdown has a Markdown tab of its own; Appearance reads in one direction: palette,
    page, then text.
  • Settings has its own colours, one dark set and one light, independent of the document
    palette.
  • The fold marker sits on the line, not in the gutter. Source's gutter carries only line
    numbers.
  • A tab opens on its first section instead of an empty box.
  • Each file's view is remembered for 4 hours, not forever. Reopen a file inside that window
    and you get the view you left it in; after it, the default view applies. Set it back to
    Always if you preferred forever. That one choice cannot carry over from 1.2.0 (Always was the
    old default, so choosing it saved nothing); everything else carries over untouched.
  • Live multi-line selection draws a band per line rather than one solid fill.
  • Indentation guides land exactly on the tab columns and follow the code font you have
    chosen.
  • Flexible page width follows the window. The dragged width is stored as a proportion and
    damped on wide screens. Double-click an edge grip to reset.
  • Setting descriptions and tooltips were corrected where they had drifted from the code.

Tightened / Fixed

Not everything here was broken outright: some of these are simply DopusWorX doing the better
thing now.

Printing

  • Printing and Save as PDF work on every kind of file and print the whole document: text and
    code from either view, rendered HTML, CSV with its filter and sort, and a real hex dump for
    binary (capped at 1024 rows, with the cap printed on the sheet). Both are in the right-click
    menu for every file.
  • Save as PDF no longer prints the viewer chrome, and page breaks fall sensibly. (Issue #18.)
  • Printing no longer disturbs the screen, Ctrl+wheel zoom no longer scales the sheet, and
    equations and diagrams finish rendering before the dialog opens.

Settings

  • A file type deselected in Settings stays deselected. (Issue #17.)
  • A saved theme, palette or style only touches the settings it holds, instead of blanking every
    field of its kind it does not mention. A theme saved by an older version behaves the same way.
  • The editor follows a spacing change immediately instead of on the next click.
  • Check for updates runs in the background instead of freezing the dialog, takes the highest
    version rather than whichever release GitHub listed first, and only offers stable releases to
    a stable install. Install update asks for the release zip by name, and a bad answer from
    GitHub can no longer close Directory Opus.

Editing and viewing

  • A file read over a network drive could open truncated, and saving wrote the truncation back.
    Reads now continue until the file is done.
  • Saving preserves the file's permissions, alternate data streams and creation time.
  • A save that writes but cannot move into place leaves both copies and names them.
  • Toggle comment works in JSON and thirty-one other file types where the button silently did
    nothing. Thirteen more genuinely have no comment syntax, so there it correctly does nothing.
  • The conflict banner no longer appears on a brand new file, and its first save no longer
    claims the file changed on disk.
  • Checkboxes in a file with frontmatter never activated Save, so ticks were lost. (Issue #22.)
  • AsciiMath aligned equations rendered as raw text. (Issue #21.)
  • Insert Table of Contents lists every heading in a large file, and no longer rewrites an
    example inside a code fence instead of the real block.
  • Block elements nested in lists match between Reading and Live, and inline code is the same
    colour in both.
  • Blockquote text no longer vanishes in Live under a custom Blockquote text colour. (Issue #19.)
  • Local file:// images show in the HTML preview and in Markdown, in both Reading and Live.
    Network paths are not served. (Issue #17.)
  • The bottom of an HTML preview is no longer cut off in the standalone window. (Issue #23.)
  • Maths error notes follow the Body font.
  • Gutter width no longer jitters while scrolling.
  • A click just above the editing toolbar now lands on the text instead of dying on an invisible
    strip.
  • The active line magnifies even when it wraps.
  • Releasing the pin lock moves the pane to whatever is selected now.
  • The default palette stopped coming back wearing GloWorX after Reset all fields, and two
    palettes with unreadable highlighted text now sit above 7:1.

Security

  • A crafted diagram could hang or crash the viewer pane: a chart whose axis starts and ends on
    the same value sent the renderer into a loop that filled memory. Opening the file was enough.
  • A crafted file could stall the viewer for seconds through automatic link detection.
  • The bundled Markdown, diagram and maths libraries moved up within their current majors, which
    closed both problems above. Three libraries with a new major waiting were deliberately held,
    because those jumps change how documents parse and render. As of 13 August the dependency
    tree reported no known vulnerabilities, down from four when the audit opened.
  • A relative image path carrying a colon anywhere is refused (it could name a hidden data
    stream on a neighbouring file), and the reserved-name checks on theme names were tightened.

Under the hood

Forty-six new test suites since 1.2.0, including printing driven against the real viewer and a
settings persistence suite that walks every control. The native plugin has its first unit tests.

Directory Opus is a trademark of GP Software. DopusWorX is an independent plugin, not affiliated
with or endorsed by GP Software.