Files
RedBear-OS/recipes/libs/glib/source/docs/rationales.md
T
vasilito facf0c92e0 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

718 B

This file documents various major decisions which affect GLib development, giving a brief rationale of each decision, plus a link to further discussion.

  • Compiler attributes: https://bugzilla.gnome.org/show_bug.cgi?id=113075#c46

    GLib uses GIR annotations instead of compiler attributes. They are tidier, already supported by GLib and GNOME tools, and accomplish the same task as compiler attributes. GLib does not provide macros for attributes like nonnull because it would not use them.

  • Main loop API:

    The ID-based mainloop APIs (g_idle_add, g_timeout_add, etc) are considered legacy, and new features (such as g_source_set_static_name) will only be added to the explicit GSource APIs.