- 04 Mar, 2022 1 commit
-
-
- 02 Aug, 2021 1 commit
-
-
Emmanuele Bassi authored
When rendering the contents of the GLib documentation stored inside the introspection data, a common behaviour is to take the first paragraph as a summary of the symbol being documented. The documentation is assumed to be in Markdown format, which means: - paragraphs must be separated by newlines - lines that have an indentation of four or more spaces are considered code blocks - lines that start with a `#` are considered titles This means we need to slightly tweak the documentation in our sources to ensure that it can be rendered appropriately by tools that are not gtk-doc. See issue: #2365
-
- 22 Jul, 2021 1 commit
-
-
- 27 Apr, 2021 1 commit
-
-
Marco Trevisan authored
-
- 20 Nov, 2020 1 commit
-
-
Philip Withnall authored
http://isvolatileusefulwiththreads.in/c/ It’s possible that the variables here are only marked as volatile because they’re arguments to `g_once_*()`. Those arguments will be modified in a subsequent commit. Signed-off-by:
Philip Withnall <pwithnall@endlessos.org> Helps: #600
-
- 07 Oct, 2020 1 commit
-
-
Closes issue #1233
-
- 27 Jul, 2020 1 commit
-
-
Philip Withnall authored
It may be defined by the environment (we document that as being allowed) — if so, individual files should not try to redefine it, as that causes a preprocessor warning. Signed-off-by:
Philip Withnall <withnall@endlessm.com>
-
- 25 Jun, 2020 1 commit
-
-
Add a set of new URI parsing and generating functions, including a new parsed-URI type GUri. Move all the code from gurifuncs.c into guri.c, reimplementing some of those functions (and g_string_append_uri_encoded()) in terms of the new code. Fixes: #110 Signed-off-by:
Marc-André Lureau <marcandre.lureau@redhat.com>
-
- 20 May, 2020 1 commit
-
-
The various `g_strdup_printf()` returns values in the implementations of GValue lcopy_func are runtime checks which could be disabled if one wants and therefore should be handled as such with g_return_val_if_fail()
-
- 05 Sep, 2019 1 commit
-
-
Philip Withnall authored
I don’t think these could be hit in practice due to the guarantees of the type system, but the static analyser doesn’t know that — so make the assertions clearer to shut it up. Signed-off-by:
Philip Withnall <withnall@endlessm.com> Helps: #1767
-
- 17 May, 2019 1 commit
-
-
Philip Withnall authored
Signed-off-by:
Philip Withnall <withnall@endlessm.com>
-
- 02 May, 2019 1 commit
-
-
Philip Withnall authored
Signed-off-by:
Philip Withnall <withnall@endlessm.com> Fixes: #106
-
- 08 Mar, 2019 1 commit
-
-
Philip Withnall authored
Mostly unused variables which are only used in a g_assert() call otherwise. Signed-off-by:
Philip Withnall <withnall@endlessm.com> Helps: #1708
-
- 11 Oct, 2017 1 commit
-
-
This will allow passing invalid GDates through GValues. https://bugzilla.gnome.org/show_bug.cgi?id=760109
-
- 24 May, 2017 1 commit
-
-
swilmet authored
All gobject/*.{c,h} files have been processed. gmarshal.c and gmarshal.h don't have a license header. https://bugzilla.gnome.org/show_bug.cgi?id=776504
-
- 10 Apr, 2017 1 commit
-
-
It's unnecessary, and only adds visual noise; we have been fairly inconsistent in the past, but the semi-colon-less version clearly dominates in the code base. https://bugzilla.gnome.org/show_bug.cgi?id=669355
-
- 22 Nov, 2016 1 commit
-
-
Christian Hergert authored
If we have an input parameter (or return value) we need to use (nullable). However, if it is an (inout) or (out) parameter, (optional) is sufficient. It looks like (nullable) could be used for everything according to the Annotation documentation, but (optional) is more specific.
-
- 07 Nov, 2015 1 commit
-
-
Philip Withnall authored
Add various (nullable) and (optional) annotations which were missing from a variety of functions. Also port a couple of existing (allow-none) annotations in the same files to use (nullable) and (optional) as appropriate instead. Secondly, add various (not nullable) annotations as needed by the new default in gobject-introspection of marking gpointers as (nullable). See https://bugzilla.gnome.org/show_bug.cgi?id=729660. This includes adding some stub documentation comments for the assertion macro error functions, which weren’t previously documented. The new comments are purely to allow for annotations, and hence are marked as (skip) to prevent the symbols appearing in the GIR file. https://bugzilla.gnome.org/show_bug.cgi?id=719966
-
- 11 Feb, 2015 1 commit
-
-
Bastien Nocera authored
This would allow bindings to use _get_option_group() functions, which would then allow them to use GOption parsing. This also adds introspection annotations to g_option_context_add_group(), g_option_context_set_main_group() and g_option_context_get_main_group(). https://bugzilla.gnome.org/show_bug.cgi?id=743349
-
- 05 Feb, 2015 1 commit
-
-
- 04 Feb, 2014 1 commit
-
-
Allison Karlitskaya authored
We will want to use this in GApplication for a signal and a property. https://bugzilla.gnome.org/show_bug.cgi?id=625408
-
- 31 Jan, 2014 1 commit
-
-
Daniel Mustieles García authored
-
- 23 Jan, 2014 1 commit
-
-
Rico Tzschichholz authored
-
- 15 Nov, 2013 1 commit
-
-
Ray Strode authored
GMappedFile is current unintrospectable, because it's not a registered box type. It already has reference counting functions, so there's little reason not to box it. This commit adds GMappedFile to the hoard of other boxes types handled by gboxed.c https://bugzilla.gnome.org/show_bug.cgi?id=712393
-
- 21 May, 2013 1 commit
-
-
Dan Winship authored
Back in the far-off twentieth century, it was normal on unix workstations for U+0060 GRAVE ACCENT to be drawn as "‛" and for U+0027 APOSTROPHE to be drawn as "’". This led to the convention of using them as poor-man's ‛smart quotes’ in ASCII-only text. However, "'" is now universally drawn as a vertical line, and "`" at a 45-degree angle, making them an `odd couple' when used together. Unfortunately, there are lots of very old strings in glib, and also lots of new strings in which people have kept up the old tradition, perhaps entirely unaware that it used to not look stupid. Fix this by just using 'dumb quotes' everywhere. https://bugzilla.gnome.org/show_bug.cgi?id=700746
-
- 01 Jan, 2013 1 commit
-
-
At the same time, add a refcount and public ref/unref methods. This makes it usable from introspectable. https://bugzilla.gnome.org/show_bug.cgi?id=690084
-
- 11 Dec, 2012 1 commit
-
-
Colin Walters authored
In 2.34, g_compute_checksum_for_bytes() was added, but this patch allows binding users to use the incremental update API; this is significantly more efficient than reading entire files into memory. https://bugzilla.gnome.org/show_bug.cgi?id=689982
-
- 20 Nov, 2012 1 commit
-
-
- 05 Nov, 2012 1 commit
-
-
- 25 Oct, 2012 2 commits
-
-
Martin Pitt authored
This reverts commit 932f4250. This got pushed accidentally and has not been accepted yet. It's also not clear whether we want this in the first place. https://bugzilla.gnome.org/show_bug.cgi?id=686797
-
-
- 06 Sep, 2012 1 commit
-
-
- 27 Feb, 2012 1 commit
- 25 Jan, 2012 1 commit
-
-
The GValueArray type was added in a time, during the Jurassic era or so, when GArray did not have a representable GType. The GValueArray API has various issues as well: - it doesn't match the other GLib array types; - it is not reference counted; - the structure is fully exposed on the stack, so it cannot be extended to add reference counting; - it cannot be forcibly resized. The nice thing is that now we have a GArray type that can replace in full GValueArray, so we can deprecate the latter, and reduce the complexity in GLib, application code, and bindings. https://bugzilla.gnome.org/show_bug.cgi?id=667228
-
- 30 Nov, 2011 1 commit
-
-
Either g_type_register_static_simple (used by G_DEFINE_TYPE_EXTENDED) and G_IMPLEMENT_INTERFACE use automatic variables for GTypeInfo and GInterfaceInfo structs, while tutorials and source code often use static variables. This commit consistently adopts the former method. https://bugzilla.gnome.org/show_bug.cgi?id=600161
-
- 24 Nov, 2011 1 commit
-
-
Stef Walter authored
* Represents an immutable reference counted block of memory. * This is basically the internal glib GBuffer structure exposed, renamed, and with some additional capabilities. * The GBytes name comes from python3's immutable 'bytes' type * GBytes can be safely used as keys in hash tables, and have functions for doing so: g_bytes_hash, g_bytes_equal * GByteArray is a mutable form of GBytes, and vice versa. There are functions for converting from one to the other efficiently: g_bytes_unref_to_array() and g_byte_array_free_to_bytes() * Adds g_byte_array_new_take() to support above functions https://bugzilla.gnome.org/show_bug.cgi?id=663291
-
- 15 Oct, 2011 1 commit
-
-
Using the new refcounting API, introduce a boxed type wrapping GKeyFile and expose it introspection bindings in glib-types.h.
-
- 31 Aug, 2011 1 commit
-
-
Pavel Holejsovsky authored
Also add some annotations for better usage of these types in bindings. https://bugzilla.gnome.org/show_bug.cgi?id=657725
-
- 29 Aug, 2011 1 commit
-
-
Matthias Clasen authored
Spelling fixes in comments and docs, provided by Kjartan Maraas in bug 657336.
-
- 17 Aug, 2011 1 commit
-
-
Pavel Holejsovsky authored
Assorted g_value_set_xxx() and g_value_take_xxx() functions actually allow NULL in source parameter.
-