summaryrefslogtreecommitdiff
path: root/gio/gmenumodel.c
Commit message (Collapse)AuthorAgeFilesLines
* gio: Add SPDX license headers automaticallyPhilip Withnall2022-05-181-0/+2
| | | | | | | | | | | | | | Add SPDX license (but not copyright) headers to all files which follow a certain pattern in their existing non-machine-readable header comment. This commit was entirely generated using the command: ``` git ls-files gio/*.[ch] | xargs perl -0777 -pi -e 's/\n \*\n \* This library is free software; you can redistribute it and\/or\n \* modify it under the terms of the GNU Lesser General Public/\n \*\n \* SPDX-License-Identifier: LGPL-2.1-or-later\n \*\n \* This library is free software; you can redistribute it and\/or\n \* modify it under the terms of the GNU Lesser General Public/igs' ``` Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #1415
* gio: Add missing nullable annotationsSebastian Dröge2020-11-111-2/+2
|
* tree: Fix various ableist languagePhilip Withnall2020-06-231-2/+2
| | | | | | | | | In almost all cases, rewording the documentation/comments made things more specific and a little clearer. Signed-off-by: Philip Withnall <withnall@endlessm.com> See: https://gitlab.gnome.org/GNOME/glib/-/merge_requests/1544#note_846645
* tree: Fix various typos and outdated terminologyPhilip Withnall2020-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This was mostly machine generated with the following command: ``` codespell \ --builtin clear,rare,usage \ --skip './po/*' --skip './.git/*' --skip './NEWS*' \ --write-changes . ``` using the latest git version of `codespell` as per [these instructions](https://github.com/codespell-project/codespell#user-content-updating). Then I manually checked each change using `git add -p`, made a few manual fixups and dropped a load of incorrect changes. There are still some outdated or loaded terms used in GLib, mostly to do with git branch terminology. They will need to be changed later as part of a wider migration of git terminology. If I’ve missed anything, please file an issue! Signed-off-by: Philip Withnall <withnall@endlessm.com>
* gio: remove use of generic marshaller from GIO objectsChristian Hergert2019-06-171-1/+6
| | | | | | | | | | | | | | Using the generic marshaller has drawbacks beyond performance. One such drawback is that it breaks the stack unwinding from the Linux kernel due to having unsufficient data to walk past ffi_call_unixt64. That means that performance profiling by application developers looks grouped among seemingly unrelated code paths. While we can't fix the kernel unwinding here, we can provide proper c_marshallers and va_marshallers for objects within Gio so that performance profiling of applications is more reliable. Related to GNOME/Initiatives#10
* gio/: LGPLv2+ -> LGPLv2.1+Sébastien Wilmet2017-05-291-4/+4
| | | | | | | | | | | | | | | | | Sub-directories inside gio/ already processed in a previous commit: - fam/ - gdbus-2.0/ (which contains only codegen/) - gvdb/ - inotify/ - tests/ - win32/ - xdgmime/ Other sub-directories inside gio/: - completion/: no license headers - kqueue/: not LGPL, BSD-style license https://bugzilla.gnome.org/show_bug.cgi?id=776504
* introspection: use (nullable) or (optional) instead of (allow-none)Christian Hergert2016-11-221-5/+5
| | | | | | | | 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.
* gio: Intern all signal names beforehandMatthias Clasen2015-09-121-1/+3
| | | | This avoids pointless copying of static strings.
* Docs: Drop entities, switch away from sgml modeMatthias Clasen2014-02-091-1/+1
| | | | | | | | | | Since all element markup is now gone from the doc comments, we can turn off the gtk-doc sgml mode, which means that from now on, docbook markup is no longer allowed in doc comments. To make this possible, we have to replace all remaining entities in doc comments by their replacement text, &amp; -> & and so on.
* Eradicate links and xrefsMatthias Clasen2014-02-081-11/+8
| | | | These are all replaced by markdown ref links.
* Use markdown for imagesMatthias Clasen2014-02-061-8/+6
|
* GMenuModel: Convert docs to markdownMatthias Clasen2014-02-011-34/+22
|
* Updated FSF's addressDaniel Mustieles2014-01-311-3/+1
|
* Add includes to all gio docsMatthias Clasen2014-01-071-0/+1
|
* Rename the generated private data getter functionEmmanuele Bassi2013-06-241-2/+2
| | | | | | | As it turns out, we have examples of internal functions called type_name_get_private() in the wild (especially among older libraries), so we need to use a name for the per-instance private data getter function that hopefully won't conflict with anything.
* gio: Use the new private instance data declarationEmmanuele Bassi2013-06-241-10/+6
| | | | | | | Use the newly added macros, and remove the explicit calls to g_type_class_add_private(). https://bugzilla.gnome.org/show_bug.cgi?id=700035
* gio: hide another leaked symbolRyan Lortie2013-01-131-1/+1
| | | | guint g_menu_model_items_changed_signal leaked out. Tuck it back in.
* various: add missing cases of #include "config.h"Ryan Lortie2012-12-061-0/+2
|
* Remove two accidentally-exported symbolsRyan Lortie2012-11-191-6/+2
| | | | | | | | | | | | | | | | | | This reverts commit 85976cf91deae6ac7cf1639a187a424ff7296968 and properly removes the offending symbols from gio.symbols. These two private symbols were found to be exported during Colin's recent work cleaning up function visibility (among other things). They were never exposed in any header file and I am 100% certain that they have never been used by anybody. They were always private -- only exposed on the library symbol list. This change will cause ABI checking tools to complain that we have removed functions, but the change is completely harmless for actual applications. https://bugzilla.gnome.org/show_bug.cgi?id=687441
* Bring back a couple of private-but-extern symbolsSimon McVittie2012-11-021-2/+6
| | | | | | | | | These both existed in 2.34.1, but are not exposed in headers, and were meant to be private. Making them static (in commit 84475e43) was technically an ABI break, and in particular it causes abicheck.sh to fail. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687441 Reviewed-by: Colin Walters <walters@verbum.org>
* build: Prototype GType accessors for private classesColin Walters2012-11-011-0/+4
| | | | | | Otherwise we fail to build with -Werror=missing-prototypes. https://bugzilla.gnome.org/show_bug.cgi?id=687385
* GMenuModel: remove a type safety bugRyan Lortie2012-08-201-3/+13
| | | | | | There was a /* XXX */ in the code here to do proper typechecking of the GVariant in the menu model when using g_menu_model_get_item_attribute(). We have g_variant_check_format_string() now, so use it.
* docs: Fix method names in GMenu and GMenuModelDavid King2012-02-211-3/+3
|
* GMenuModel: Flesh out the docs some moreMatthias Clasen2011-12-131-1/+11
|
* GMenu: purge references to GMenuProxy from the docsMatthias Clasen2011-12-131-1/+1
|
* Add some more since tagsMatthias Clasen2011-12-101-3/+9
|
* Add since tagsMatthias Clasen2011-12-101-18/+50
|
* Minor doc improvementsMatthias Clasen2011-12-081-9/+9
|
* g_menu_model_get_item_link: be careful with refsRyan Lortie2011-12-081-1/+4
| | | | | | Don't unref the hashtable until after we already take the ref on the value that was contained in the hashtable, otherwise we may kill the value.
* Add GMenuModelMatthias Clasen2011-12-081-0/+954