news
Christian Hergert on Foundry and This Week in GNOME
-
GNOME ☛ Christian Hergert: Getting Started with Foundry
In addition to all the Libdex 1.0 fanfare, Foundry has also reached 1.0 for GNOME 49. That doesn’t mean it’s complete, but it does mean that what is there I feel pretty confident about from an API/ABI standpoint.
If you have a project that works in GNOME Builder, it is a good time to test it out with Foundry! To get started you need to “initialize” a Foundry project similar to what you do with Git. This creates a minimal skeleton structure that Foundry will use for the project.
-
GNOME ☛ Christian Hergert: Directory Listings with Foundry
I took a different approach to directory listings in Foundry. They use
GListModel
as the interface but behind the scenes it is implemented with futures and and fibers.A primary use case for a directory listing is the project tree of an IDE. Since we use
GtkListView
for efficient trees in GTK it we expose aGListModel
. Each item in the directory is represented as aFoundryDirectoryItem
which acts just a bit like a specializedGFileInfo
. It contains information about all the attributes requested in the directory listing.You can also request some other information that is not traditionally available via
>GFileInfo
. You can request attributes that will be populated by the version control system such as if the file is modified or should be ignored. -
This Week in GNOME ☛ This Week in GNOME: #217 Mahjongg Sundays
Update on what happened across the GNOME project in the week from September 14 to September 21.