Skip to content

ReCore 0.5.7

Choose a tag to compare

@leriart leriart released this 25 Nov 06:21
· 26 commits to main since this release

ReCore v0.5.7.

Downloads

  • Windows: the portable ZIP. Run recore.exe after extracting it.
  • Linux: the AppImage, and the Arch package for pacman -U.
  • macOS: Apple Silicon and Intel ZIPs and DMGs; drag ReCore.app to Applications. These builds are ad-hoc signed, not notarised.
  • Source: the snapshot used for this build.
  • Changelog: CHANGELOG.md, also shown in Settings > About.

What's new

Themes

  • CSS themes read nested rules (&:hover, a nested @media or @container),
    @layer order, range media queries, @supports, @container style(...)
    and @property initial values. Selectors match child and sibling
    combinators and the structural pseudo-classes, and Discord's generated
    class names match by their stem; a ::before or ::after recolours a
    panel only when it covers it.
  • Colours accept calc(), min(), max() and clamp() in their channels,
    the relative rgb(from ...), hsl(from ...) and oklch(from ...) forms,
    color-mix() in six colour spaces and contrast-color(); ClearVision's
    main, text and muted variables map to ReCore's inks.
  • Absolute, viewport and rem units and calc(), round() and abs()
    settle before the engine; theme numbers stay inside the ranges the window
    can draw.
  • @import and @font-face files are bounded, regular files only and their
    cycles stop; a font face without a family or source, a quoted animation
    name and a value-less media query are reported, and an unclosed block at
    the file's end no longer loses the rest of a theme.
  • Attribute names and tags are lowered as HTML and CSS write them, escaped
    quotes no longer end an attribute early, and env() is read only where it
    is a value's function, never inside a string, a comment or a URL.
  • Per-section opacity follows --rl-rail-opacity, --rl-sidebar-opacity,
    --rl-chat-opacity, --rl-members-opacity, --rl-composer-opacity,
    --rl-raised-opacity and --rl-tooltip-opacity.
  • Appearance gains Import file, and the CSS editor Duplicate,
    Export... and Delete CSS theme with a second press to delete. A
    theme keeps its choice and changed options when its @name changes.
  • Every declaration a theme loses is reported with its severity, file, line
    and column. The reader's public API is documented, and a 20-fixture
    conformance suite, a golden snapshot of the bundled themes and a bounded
    robustness suite guard it.

Discord

  • A channel that leaves out Attach Files no longer offers a clip or
    takes a dropped or pasted file, and the refusal says why. A channel
    without Embed Links still sends a link, just without its card, as
    Discord does.
  • Reconnect now restarts Discord as well as Matrix: one button serves
    either or both networks, and a Discord account that is not linked is not
    asked to reconnect.
  • Cancel appears where it can work: a failed send, a queued send or a
    Matrix transaction, never a Discord upload already in flight.

Interface

  • A short DM list no longer goes blank after a long server list was
    scrolled: the sidebar hears the viewport it is about to draw, even when
    its contents fit, and returns to the top.
  • Settings choices whose words do not fit wrap onto even lines instead of
    cutting them, at any window width.
  • The picture viewer and a full-screen video follow the layout iced draws,
    including a display-scale or monitor change that sends no resize event.
    A full-screen video asks for frames at the fitted size of the new room.
  • A search result's right-click menu copies its message link, and with
    Developer Mode its message and author ids, even when the result is not in
    the timeline.
  • Help opens a card of the keyboard's shortcuts by section; Escape, its
    close button or a click outside closes it, and it scrolls in a short
    window.
  • Waiting files say what kind they are beside their names (PDF, ZIP, IMG,
    VID, AUD, TXT, CODE, FILE), with a page icon carrying the same mark. Six
    new 16 px icons join the kit and two 24 px glyphs return to its 2 px
    stroke.

Fixes

  • A notification's toast keeps its six-second timer when the window is
    unfocused and the taskbar flash is on, instead of staying until clicked.
  • A theme with a missing import, an oversized file or an unreadable font is
    reported and the rest of the theme still loads, without a panic.

Accessibility

  • A form's error uses danger_text rather than the red ground colour, and
    seven built-in palette inks that fell below WCAG are corrected. All
    twelve palettes now read at 4.5:1 for text, secondary, muted, words on the
    accent and on red, and at 2.5:1 for faint, with a test over the colour
    maths.
Commits since v0.5.6
  • f1550d58 release: v0.5.7
  • 68a358a7 chore: finish the workspace's Clippy pass with NASM in place
  • cb8250fc feat(ui): fit media to the window, menu results, and open Help's shortcuts
  • 07724170 feat(ui): say what kind a waiting file is, with its page's mark
  • 8cdfdbe1 feat(kit): wrap a row of choices whose words do not fit
  • f9a51dd8 fix(sidebar): report a list's viewport even when its contents fit
  • 7862e066 fix(app): build the delivery test's attachment and step the error ink right
  • a68a41f7 fix(css): read env() only where it is a function
  • 5279f46c docs(css): document the interpreter's public surface
  • 0885c043 fix(app): keep Cancel where it works, refuse a drop without the right, and read errors
  • 71838c56 ci: check the interpreter's docs and the kit's lints
  • 45dcf58a docs(css): the units, functions and the few numbers left to the window
  • 214fbd33 fix(css): match attributes, tags and escapes as HTML and CSS write them
  • ec5e14a8 fix(css): read the at-rules and conditions a theme actually writes
  • c47fc92a fix(css): hand the engine values it can read, and colours that keep their side
  • ff752561 fix(css): settle the lengths, times and numbers the engine rejects
  • cb431b56 docs(css): say that @scope's rules are read unscoped
  • c57ae98f chore: clear the lints that stopped a workspace Clippy run
  • 7b8d1854 fix(css): name an unclosed comment and a font face with no src
  • e4eb2512 fix(css): drop an @font-face with no family, and name a quoted animation
  • d0d8f901 fix(css): read the absolute and viewport units themes write
  • bd847c00 feat(discord): read Attach Files, and make Reconnect start Discord again
  • 3a3f8c53 ci: give the robustness suite a budget that fits a debug build
  • 0b1ca678 fix(theme): read a form's error in its text ink, and hold the palettes to WCAG
  • 245c36a1 fix(iced): keep the toast's timer when a background alert flashes the taskbar
  • afab8e00 test(css): a versioned conformance suite over the reader's behaviour
  • 9c32ff63 ci: test the Discord protocol and the window kit too
  • e16b5e70 fix(iced): offer Cancel only for a message the server refused
  • 7f3ed2cb fix(css): hang a hover or focus node from its region's ancestors
  • f5b43026 fix(css): ask the engine whether a @supports declaration is there
  • 4dcdf367 fix(css): resolve a var() where the theme declares it, not at the root
  • 80f2c41c feat(css): say what a theme's reader left out, with the line it sits on
  • 40fc4a52 fix(css): leave unknown at-rules unread, and close a block at the file's end
  • 53cbc1c5 fix(css): match a region under its ancestors, and read a :focus rule
  • e282b0a1 fix(css): keep the order a theme's @layer statement fixes
  • 4d6195d7 fix(css): evaluate a range media query instead of splitting its operator
  • 8656855b fix(css): bound the files a theme's @import and @font-face name
  • d26c4880 fix(css): hold a theme's numbers to the ranges the window draws in
  • a15719d3 feat(theme): read more of CSS and manage theme files in Appearance

All changes: v0.5.6...v0.5.7

Unsigned release. Update and restart needs a signed SHA256SUMS.txt; this build can be downloaded and run, but the app will not install it automatically.

Third-party clients are against Discord's Terms of Service. Use ReCore only if losing the account would not be a disaster.