1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/glib.git synced 2025-12-05 22:37:07 +00:00
Low-level core library that forms the basis for projects such as GTK and GNOME.
Find a file
Philip Withnall 60d90f13dd Merge branch '3845-file-attribute-maths' into 'main'
gfileattribute: Fix integer overflow calculating escaping for byte strings

Closes #3845

See merge request GNOME/glib!4935
2025-12-05 18:06:13 +00:00
.gitlab-ci ci: Enable the gobject-introspection build for the debian-stable-i386 job 2025-11-27 23:28:36 +00:00
.reuse Docs: Migrate gvariant-*.svg licenses to comments 2025-10-16 19:37:00 +00:00
build-aux Add template rc for libraries 2025-11-20 11:00:59 +01:00
docs gdbus-codegen: Add an extension system which allows hooking codegen 2025-11-02 11:18:37 +00:00
fuzzing Merge branch '3827-filename-to-uri-strings' into 'main' 2025-11-21 13:30:01 +00:00
gio gfileattribute: Fix integer overflow calculating escaping for byte strings 2025-12-04 16:37:19 +00:00
girepository Add OS profile app to executables 2025-11-20 11:00:59 +01:00
glib Merge branch '3834-variant-parse-string' into 'main' 2025-12-04 15:27:20 +00:00
gmodule Use template library RC file 2025-11-20 11:00:59 +01:00
gobject Merge branch 'os-profile' into 'main' 2025-11-20 16:36:56 +00:00
gthread Use template library RC file 2025-11-20 11:00:59 +01: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 Uyghur language translation updated. 2025-10-22 13:36:22 +01:00
subprojects subprojects: Switch libffi from gstreamer's pre-3.3 fork to WrapDB's 3.5.2 2025-10-21 18:51:39 +01:00
tests Tests: do not set a timeout in Python tests 2025-08-04 10:47:50 +02:00
tools Revert "tools: Add script to create UAC manifests for Windows" 2025-11-20 11:00:59 +01:00
.clang-format .clang-format: update coding conventions url 2025-08-09 18:32:40 +01: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
.gitignore Add OS profile sources for Windows 2025-11-20 11:00:53 +01:00
.gitlab-ci.yml Merge branch 'debian-i386-introspection-tests' into 'main' 2025-11-28 01:10:31 +01:00
.gitmodules build: Bump gvdb subproject dependency and disable tests 2024-09-12 21:15:42 +01: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: Add Luca Bacci as a co-maintainer of the Windows code 2025-09-05 14:18:08 +01:00
INSTALL.md docs: Stop mentioning outdated C versions in various docs 2025-02-04 16:01:44 +00:00
meson.build Add OS profile app to executables 2025-11-20 11:00:59 +01:00
meson.options build: Make the sysprof feature yield 2025-06-07 23:53:19 -04:00
NEWS 2.87.0 2025-11-03 12:42:10 +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 GNOMEs 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.