Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This Month in Linebender, September 2024 #70

Merged
merged 6 commits into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added content/blog/2024-10-04-tmil-09/http_cats.png
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've not included the shadows in my previous screenshots.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what you mean by shadows?

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
97 changes: 97 additions & 0 deletions content/blog/2024-10-04-tmil-09/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
+++
title = "This Month in Linebender, September 2024"
authors = ["Daniel McNab", "Olivier Faure"]
+++

Linebender is an informal open-source organization working on various projects to advance the state of the art in GUI for [the Rust programming language](https://rust-lang.org).

<img style="height: auto; margin: 0 auto" src="../../linebender.svg" alt="Linebender logo; smoothly stroked overlapping lowercase letters, an l and a b." height="200" width = "200">

## Xilem

Xilem is our flagship GUI project, inspired by SwiftUI.
It lets you build user interfaces declaratively by composing lightweight views together, and will diff them to provide minimal updates to a retained layer.

- HTTP cats example ([xilem#571][]).
- `lens`, a shorthand for a common component pattern ([xilem#587][]).
- We added Views for some existing and new widgets:
- Grid layout ([xilem#570][]).
- Images ([xilem#571][]).

<!-- TODO: Xilem Web seems to not have any especially relevant updates? -->

<figure>

<img style="height: auto" src="http-cats.png" alt="A list of HTTP status codes, with 'Select' buttons. HTTP code 418 'I'm a teapot' is selected, with a picture of a kitten hiding in a teapot. height="962" width = "600">

<figcaption>

The HTTP cats example.

</figcaption>
</figure>

## Masonry

Masonry is the widget system used by Xilem.
It provides a non-opinionated retained widget tree on top of Winit, designed as a base layer for high-level GUI frameworks.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
It provides a non-opinionated retained widget tree on top of Winit, designed as a base layer for high-level GUI frameworks.
It provides a non-opinionated retained widget tree, designed as a base layer for high-level GUI frameworks.


Our ongoing pass specification project has been largely implemented.
That work is now in a wrapping-up stage, which has allowed Olivier to work on improving the codebase's quality in general.
Some highlights of work from September:

- [xilem#515][]: Removes unimplemented functionality from our text handling code.
- [xilem#570][]: An implementation of a grid layout, by Jared O'Connell.
- [xilem#550][]: Restores scroll requests, as used by text inputs.
- [xilem#565][]: Allows widgets to implement more efficient pointer position dispatching, by new Linebender member Tom Churchman.
- [xilem#580][]: Adds screen reader support for the textbox widget.

<!-- No grid example, it's not really visual. -->

Some ongoing work includes:

- [xilem#615][]: Detailed accessibility information for text input and prose widgets.
- [xilem#606][]: Custom client side decorations for Wayland, by Marco Melorio.
- [xilem#605][]: Greater flexibility in the layout of the `Image` widget, by failingprovince.
- [xilem#591][]: An SVG-like widget for absolute positioning, by Muhammad Ragib Hasin.


## Vello

Vello is our GPU vector renderer.
It can draw large 2D scenes with high performance, using GPU compute shadersfor most of the work.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
It can draw large 2D scenes with high performance, using GPU compute shadersfor most of the work.
It can draw large 2D scenes with high performance, using GPU compute shaders for most of the work.


Progress towards the upcoming 0.3.0 release can be tracked in [the milestone](https://github.com/linebender/vello/milestone/2).
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Progress towards the upcoming 0.3.0 release can be tracked in [the milestone](https://github.com/linebender/vello/milestone/2).

Since we have now released version 0.3.0, it's probably more likely to confuse if we include this.
(I also don't think we should post this update on reddit, given how much things have changed in the past two weeks)


- We no longer consider Vello to be experimental ([vello#691][]). Please note that Vello is still an alpha, and has several known issues.
- An implementation of the single pass scan described last month is being created by Thomas Smith in [vello#685][].


## Parley

Parley is a text layout library.
It handles text layout, mostly at the level of line breaking and resolving glyph positions.

- Nico Burns contributed a new way to assign layout properties in [parley#76][].


## Others

- Daniel and Olivier's "office hours" appointments can still be booked by anyone for open-ended discussion of the ecosystem.
- [See Daniel's schedule here](https://calendar.google.com/calendar/u/0/appointments/schedules/AcZssZ32eQYJ9DtZ_wJaYNtT36YioETiloZDIdImFpBFRo5-XsqGzpikgkg47LPsiHhpiwiQ1orOwwW2).
- [See Olivier's schedule here](https://calendar.google.com/calendar/u/0/appointments/schedules/AcZssZ2t767ZRETD_TkRI_VxK2ZTG0VrO9OZ4l7HvTxefhtJcg85iK0ZN7zWNnAEZtH0Dn7C1GKxrmYM).

[xilem#515]: https://github.com/linebender/xilem/pull/515
[xilem#550]: https://github.com/linebender/xilem/pull/550
[xilem#565]: https://github.com/linebender/xilem/pull/565
[xilem#570]: https://github.com/linebender/xilem/pull/570
[xilem#571]: https://github.com/linebender/xilem/pull/571
[xilem#580]: https://github.com/linebender/xilem/pull/580
[xilem#587]: https://github.com/linebender/xilem/pull/587
[xilem#591]: https://github.com/linebender/xilem/pull/591
[xilem#605]: https://github.com/linebender/xilem/pull/605
[xilem#606]: https://github.com/linebender/xilem/pull/606
[xilem#615]: https://github.com/linebender/xilem/pull/615
[vello#685]: https://github.com/linebender/vello/pull/685
[vello#691]: https://github.com/linebender/vello/pull/691
[parley#76]: https://github.com/linebender/parley/pull/76
Loading