summaryrefslogtreecommitdiff
path: root/gio/gpermission.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/: LGPLv2+ -> LGPLv2.1+SĂ©bastien Wilmet2017-05-291-1/+1
| | | | | | | | | | | | | | | | | 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-4/+4
| | | | | | | | 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.
* gpermission: fix async error returnsDan Winship2015-08-191-2/+1
| | | | | a8eedd00 broke the error return values from g_permission_acquire/release_async() on GSimplePermission. Fix that.
* gio: fix a leftover GSimpleAsyncResult usageDan Winship2015-08-071-5/+6
| | | | And remove remaining unnecessary gsimpleasyncresult.h includes
* Added type check to GPermission public functions.Juan Pablo Ugarte2014-04-251-1/+13
|
* Updated FSF's addressDaniel Mustieles2014-01-311-3/+1
|
* Add includes to all gio docsMatthias Clasen2014-01-071-2/+3
|
* Rename the generated private data getter functionEmmanuele Bassi2013-06-241-1/+1
| | | | | | | 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-7/+3
| | | | | | | 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
* Make GPermission more forgivingMatthias Clasen2012-08-191-3/+50
| | | | | | It is not great if calling g_permission_acquire on a simple permission object just segfaults. This commit arranges for this to return a G_IO_ERROR_NOT_SUPPORTED error.
* Add missing allow-none annotations for function parameters.Robert Ancell2012-03-311-4/+4
| | | | | Found using: find . -name '*.c' | xargs grep 'or %NULL' | grep ' \* @' | grep -v '@error' | grep -v allow-none
* GPermission: Drop @returns syntax from doc commentsMatthias Clasen2011-11-211-7/+14
|
* Various doc tweaksMatthias Clasen2010-11-281-1/+1
|
* gio/: fully remove gioalias hacksRyan Lortie2010-07-071-4/+0
|
* gio: fix the buildMichael Natterer2010-06-061-1/+1
|
* Some cleanupsMatthias Clasen2010-06-061-10/+39
| | | | | Always include config.h, make property strings for translation, add since tags.
* Bug 620519 - GPermissionRyan Lortie2010-06-041-0/+390
Add an abstract interface representing the permission to perform an action.