Skip to content

Raven 0.2.3

Choose a tag to compare

@github-actions github-actions released this 11 Nov 21:53
· 470 commits to main since this release

Raven 0.2.3

Highlights

  • Raven in the browser: new Emscripten platform with a WebGL backend. The examples now build for the web, with a demo gallery (#70, @VisenDev).
  • Plot widget: draws curves from X / Y data. It is supported in the designer, the VS Code extension and the bindings, and comes with tests and an example.
  • New bindings: Node.js (a Node-API addon with the same surface as Bun, #60), C3 (#45, #56, #67) and Odin (typed handles, actions, timers, enums from the generator, wrappers, #58, #69, #71).

Widgets & themes

  • Label follows Foreground and Glow. Border follows ShadowColor, ShadowSize and Glow (fixes #42).
  • A Label's own color now takes priority over the Foreground of a style (#54).
  • When the pointer drives the highlight, it snaps to the cursor. With the keyboard it still glides (#20, #64).
  • ScrollBox: a view scrolled to the end keeps following content that suddenly gets shorter (#52).
  • Toast: there is room for the whole text (#51).
  • TextEditor: Ctrl/Alt+Enter and Alt+Up/Down are passed on to the window shortcuts (#47).
  • Glass: the frosted blur follows the scale of the window (HiDPI, #50).

Notifications

  • New Rnotification_set_clicked_callback (#49).
  • Windows: notifications appear on the application's tray icon when it has one.

Fixes

  • The collectors for dead widgets and windows are now re-entrant (fixes #62).
  • Widget trees are destroyed without recursion, and XML nesting depth is bounded (fixes #63).
  • Win32: backdrops no longer turn white in screenshots (#53).
  • LuaJIT: event functions are called outside compiled code, which avoids "bad callback" (fixes #9).
  • Live reload test: extra changed files are accepted on NTFS (fixes #44).

Bindings & tooling

  • bindgen: arrays of numbers (const double*) are supported, and the bindings were regenerated.
  • C3: a 1:1 raven::c module that follows the C API, plus an idiomatic wrapper. The generator now lives in tools/bindgen.
  • Zig: compiles again with 0.15, 0.16 and 0.17 (#48).
  • Bun: passes noUnusedLocals and noPropertyAccessFromIndexSignature (#68).
  • Odin: the tests run in CTest and CI. An rpath to the shared library was added for macOS.
  • CI: fixed headless Firefox, and Chromium's cold start is tolerated.
  • Designer: new splash screen.

Thanks

@sgwong, @deckyfx, @RainerXE, @AbyssDragonModding, @varanus-salvator and @VisenDev (Robert Burnett) for their contributions to this release.

Full Changelog: v0.2.2...v0.2.3

What's Changed

  • Added C3 lang bindings and generator by @AbyssDragonModding in #45
  • TextEditor: let Ctrl/Alt+Enter and Alt+Up/Down reach the window shortcuts by @sgwong in #47
  • Zig binding: compiles again with Zig 0.15, 0.16 and 0.17 by @sgwong in #48
  • Notifications: a click callback (Windows), and use the app's tray icon by @sgwong in #49
  • Glass: the frosted blur follows the scale of the window by @sgwong in #50
  • ScrollBox: no blank band when content at the end gets shorter by @sgwong in #52
  • Toast: room for the whole text by @sgwong in #51
  • Label: a color of its own comes before the Foreground of a style by @deckyfx in #54
  • C3 Updates to generator by @AbyssDragonModding in #56
  • bindings(odin): give the program an rpath to the shared library by @RainerXE in #58
  • bindings: Node.js, a Node-API addon with the surface of the Bun binding by @deckyfx in #60
  • Snap pointer-driven highlight to the cursor instead of sliding (#20) by @varanus-salvator in #64
  • Major C3 API changes by @AbyssDragonModding in #67
  • bindings(odin): raven_odin, an idiomatic layer over the generated binding (part 1) by @RainerXE in #69
  • bindings: Bun binding passes noUnusedLocals and noPropertyAccessFromIndexSignature by @deckyfx in #68
  • Emscripten Backend by @VisenDev in #70
  • bindings(odin): run the Odin tests in CTest and in CI (raven_odin, part 2) by @RainerXE in #71
  • Web Demo by @VisenDev in #73

New Contributors

Full Changelog: v0.2.2...v0.2.3