Skip to content

Raven 0.2.2

Choose a tag to compare

@github-actions github-actions released this 06 Nov 11:15
· 534 commits to main since this release

Raven 0.2.2

New widgets

  • Table (R_WIDGET_TABLE, <Table>): resizable and sortable columns (double click on an edge fits the column), filling columns, stored or virtual rows, striped rows, grid lines, keyboard, wheel, touch, screen readers.
  • DatePicker (calendar popup, range, first day of the week, formats, translated names), TimePicker, Toast, Breadcrumb, Rating, Pagination, all in XML, the schema, the accessibility tree and the designer palette.
  • Toast queue: Queue="Replace" (default), "Sequence" or "Stack" (MaxVisible), each message with its kind, button and time (Rtoast_show_kind, Rtoast_clear, Rtoast_get_count).
  • NodeGraph and Timeline looks: presets Auto, Modern, Blueprint, Blender, Neon; every part styled by the theme, the widget or one item; link shapes (Bezier, Straight, Step, Angled), pin and key shapes, gradients, glow, icons on nodes.

Rendering

  • SVG images (nanosvg, zlib): any image path accepts an .svg; Rtexture_create_from_svg, Rtexture_get_density. SVGs are drawn again at the size they are shown (screen density, stretched Image, zoom) on a worker thread. Damaged files are tamed before drawing. RAVEN_WITH_SVG option.
  • Dispersion of glass: the rim splits light into seven wavelengths instead of a red / blue offset, on clear and frosted glass, and faintly on the edges of BackgroundBlur.

Windows and the system

  • System notifications (Rnotification_show): Windows notification area, macOS Notification Center, org.freedesktop.Notifications on Linux / BSD; Rnotification_set_fallback elsewhere.
  • Shell integration: progress and badge on the taskbar button, the Dock icon and Linux launchers; attention requests; Dock menu; tray icons (Rtray_*) on Windows, macOS, X11 and Wayland.
  • Splash screens: R_WINDOW_SPLASH_SCREEN / IsSplashScreen (no frame, fixed size, centered, on top, out of the taskbar).
  • Picture in picture on Windows (Rwindow_set_picture_in_picture); Rwindow_set_topmost and Rwindow_center on macOS.
  • macOS: the first MenuBar of a window goes to the system menu bar, after an application menu.
  • Clipboard: Rclipboard_set_html copies text and HTML together (Wayland, X11; plain text elsewhere).
  • Inspector (Rwindow_set_inspector): widget tree of a window, selected widget, frame cost, picking.

XML

  • Relative paths (Source, Font, Include, Strings, Theme) are looked for beside the document, its subfolders, the base path, the current folder and PATH.
  • Auto-loading of *.csv translation tables and *.xml widget declarations (Rxml_set_auto_load, RAVEN_AUTO_LOAD=0 to disable).

Tools

  • VS Code extension for Raven XML (tools/vscode-raven): completion, hovers and diagnostics.
  • Designer: palette icons and templates for the new widgets.

Fixes

  • Wayland: frames paced with wl_surface.frame instead of the driver's FIFO, so a hidden window no longer freezes the app (NVIDIA).
  • Wayland: libdecor is started only by a window that needs it (no more up-to-25 s startup stall with a slow portal).
  • Vulkan: the swapchain is no longer recreated every frame on VK_SUBOPTIMAL_KHR (flicker on Intel / 4K, Windows).
  • Vulkan on macOS: the loader / MoltenVK is found in Homebrew and MacPorts folders.
  • macOS: static libraven.a links the Cocoa frameworks; modifier keys no longer abort the process (flags-changed events); build fix (rvn_cocoa_string defined twice).
  • Windows: UI Automation providers are retained when disconnect fails.
  • Menus: shortcuts of standalone and context menus now work.
  • DatePicker: the click that opens the calendar no longer picks a day.
  • raven_web: the view asks for a picture when the screencast sends none (test_web no longer flaky).
  • Examples: small fixes in browser, effects, glass, music, notepad, overlay, studio and themes.
  • Repository: .gitattributes with LF everywhere, CRLF for the Windows scripts.

Contributors

Thanks to @Znerual (#31, #32, #38), @deckyfx (#28, #29, #30, #39) and @coolbho3k (#26).

Full Changelog: v0.2.1...v0.2.2