JFLib
IT

Questa pagina non è ancora tradotta e viene mostrata in inglese.

Release

JFLib 0.2.0

0.2.0 adds two platforms and a second processor, and the code of your app stays the same.

Native on macOS and iOS

Windows come from AppKit and UIKit, the app's menus sit in the Mac's menu bar, and VoiceOver reads the widgets on both. The GPU layer speaks Metal. cargo jflib mac makes a Mac app, and cargo jflib package --formats dmg puts it on a disk image that Apple can notarize.

The widget gallery as a native app on a Mac, with the window buttons of macOS.
The widget gallery on a Mac mini.
The Pocket Gallery as a native app on an iPhone.
The Pocket Gallery on an iPhone 14.

ARM64

Windows and Linux run on 64-bit ARM as well, with plugins and crash reports. You still build on an x86 PC.

3D and CAD

  • render3d is a 3D engine on the GPU layer, with physically based materials, shadows and visibility on the GPU.
  • gltf imports glTF 2.0 models.
  • render2d draws CAD plans of hundreds of thousands of lines.
  • ui.gpu_view shows such a scene between the widgets of a window.

Also new

  • NetLab is an official style: JFLIB_STYLE=netlab.
  • The feature unwind lets an app with std survive the panics it catches.
  • ui.form_factor() tells phones and tablets from desktops, and the title bar, menu bar and status bar adapt.
  • Every crate has a README and a changelog of its own.

Security

The Markdown, HTML and rich-text views open only http, https and mailto links by themselves and hand every other link to the app. A round of fixes closes holes against hostile documents, images and packets.

plat::dl_sym and plat::dl_close are unsafe fn now. The changelog has everything.

Tutte le novità