1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2026-12-03 16:45:18 +00:00
Low-level core library that forms the basis for projects such as GTK and GNOME.
  • C 95.4%
  • Python 2.3%
  • Meson 1.3%
  • Objective-C 0.3%
  • Shell 0.2%
  • Other 0.5%
Find a file
Philip Withnall d01ad117b3 Merge branch 'mclasen/#4044' into 'main'
glocalfileoutputstream: simplify handle_overwrite_open()

Closes #4044

See merge request GNOME/glib!5564
2026-12-02 17:10:01 +00:00
.gitlab-ci CI: Drop ccache for MSYS2-MINGW32 job 2026-11-17 10:09:17 +01:00
.reuse Docs: Migrate gvariant-*.svg licenses to comments 2025-10-16 19:37:00 +00:00
build-aux Merge branch 'compilation-fixes' into 'main' 2026-02-10 19:18:53 +00:00
docs gio: Keep the D-Bus keyring in the profile folder on Windows 2026-11-26 21:36:52 +02:00
fuzzing fuzzing: Add a fuzz test for GDesktopAppInfo 2026-11-16 17:27:17 +00:00
gio Merge branch 'mclasen/#4044' into 'main' 2026-12-02 17:10:01 +00:00
girepository gibaseinfo: annotate get_container with nullable return type 2026-11-30 12:22:50 +00:00
glib glib/gspawn: Use posix_spawn_file_actions_addchdir_np() 2026-12-01 23:41:24 +01:00
gmodule tests: Skip module-test when plugins are not built 2026-11-13 01:23:04 +02:00
gobject gclosure: Check the reference count before incrementing it 2026-11-30 10:03:24 -06:00
gthread Remove all tab characters from source files 2026-11-02 17:15:59 -06:00
LICENSES REUSE: Add missing AFL-2.0 and CC-BY-SA-3.0 texts 2025-10-16 19:37:00 +00:00
m4macros m4macros: drop unused m4 files 2023-07-30 17:03:07 +04:00
po Update Slovenian translation 2026-11-30 16:38:06 +00:00
subprojects meson: Bump GVDB dependency for new hashing API 2026-11-16 11:31:30 +00:00
tests build: Mark all the failing and flacky tests with thread sanitizer 2026-08-30 00:34:48 +02:00
tools glib: Add private Windows locale name helpers 2026-11-30 16:31:43 +02:00
.clang-format Remove all tab characters from source files 2026-11-02 17:15:59 -06:00
.dir-locals.el Add .dir-locals.el to tell Emacs users not to use tabs for C 2012-07-30 04:09:08 -04:00
.editorconfig docs: Add .editorconfig file 2021-10-28 14:47:53 +01:00
.git-blame-ignore-revs Add .git-blame-ignore-revs 2026-11-02 17:16:44 -06:00
.gitignore pcre2.wrap: Add a patch to fix the iOS build 2026-02-03 16:44:36 +05:30
.gitlab-ci.yml Meson: Use lists in c_std for Meson >= 1.8.0 2026-12-01 12:35:27 +01:00
.gitmodules meson: Bump GVDB dependency for new hashing API 2026-11-16 11:31:30 +00:00
.lcovrc lcov: Fix use of deprecated lcov_branch_coverage option 2024-09-28 22:38:00 +01:00
CODE_OF_CONDUCT.md docs: Update Code of Conduct URI 2024-04-12 20:36:29 +01:00
CONTRIBUTING.md docs: Mention how to run the test suite in CONTRIBUTING.md 2025-04-12 18:32:09 +01:00
COPYING docs: Add all used licenses in a REUSE-compatible directory 2022-05-17 17:23:34 +01:00
glib.doap docs: Remove Jonathan Matthew as a co-maintainer 2026-08-21 12:51:25 +01:00
INSTALL.md gobject/gclosure: cache libffi plans for closures 2026-10-14 12:55:41 +02:00
meson.build glib/gspawn: Use posix_spawn_file_actions_addchdir_np() 2026-12-01 23:41:24 +01:00
meson.options build: Make the sysprof feature yield 2025-06-07 23:53:19 -04:00
NEWS 2.91.0 2026-11-25 15:18:36 +00:00
README.md docs: Clarify link in README.md 2024-08-29 08:58:36 +01:00
SECURITY.md Expand security policy to cover previous stable branch 2023-10-03 09:12:37 +01:00

GLib

GLib is the low-level core library that forms the basis for projects such as GTK and GNOME. It provides data structure handling for C, portability wrappers, and interfaces for such runtime functionality as an event loop, threads, dynamic loading, and an object system.

The official download locations are: https://download.gnome.org/sources/glib

The official web site is: https://www.gtk.org/

Installation

See the file ‘INSTALL.md’. There is separate and more in-depth documentation for building GLib on Windows.

Supported versions

Upstream GLib only supports the most recent stable release series, the previous stable release series, and the current development release series. All older versions are not supported upstream and may contain bugs, some of which may be exploitable security vulnerabilities.

See SECURITY.md for more details.

Documentation

API documentation is available online for GLib for the:

Discussion

If you have a question about how to use GLib, seek help on GNOME’s Discourse instance. Alternatively, ask a question on StackOverflow and tag it glib.

Reporting bugs

Bugs should be reported to the GNOME issue tracking system. You will need to create an account for yourself. You may also submit bugs by e-mail (without an account) by e-mailing incoming+gnome-glib-658-issue-@gitlab.gnome.org, but this will give you a degraded experience.

Bugs are for reporting problems in GLib itself, not for asking questions about how to use it. To ask questions, use one of our discussion forums.

In bug reports please include:

  • Information about your system. For instance:
    • What operating system and version
    • For Linux, what version of the C library
    • And anything else you think is relevant.
  • How to reproduce the bug.
    • If you can reproduce it with one of the test programs that are built in the tests/ subdirectory, that will be most convenient. Otherwise, please include a short test program that exhibits the behavior. As a last resort, you can also provide a pointer to a larger piece of software that can be downloaded.
  • If the bug was a crash, the exact text that was printed out when the crash occurred.
  • Further information such as stack traces may be useful, but is not necessary.

Contributing to GLib

Please follow the contribution guide to know how to start contributing to GLib.

Patches should be submitted as merge requests to gitlab.gnome.org. Note that you will need to be logged in to the site to use this page. If the patch fixes an existing issue, please refer to the issue in your commit message with the following notation (for issue 123):

Closes: #123

Otherwise, create a new merge request that introduces the change. Filing a separate issue is not required.