summaryrefslogtreecommitdiff
path: root/girepository/gitypes.h
Commit message (Collapse)AuthorAgeFilesLines
* docs: fix gtk-doc warnings and update version infosChristoph Reiter2018-12-091-5/+13
| | | | | | | | Move things around and rename things until gtk-doc is happy. This also moves the "Since" annotations to the next stable releases and adds version added info for g_callable_info_get_instance_ownership_transfer() and g_struct_info_find_field().
* girepository: Add Header for Version MacrosChun-wei Fan2014-08-151-0/+2
| | | | | | | | | | | | | | | This adds a header to the girepository library, which is then included either directly or indirectly by the other headers so that all the public symbols (and the 2 symbols in gitypelib-internal.h used by the tools) are decorated by a macro, that can later be used to export the symbols and also to be used to display compile-time warnings for usage of deprecated APIs, which is like what is now being done in GLib (and GTK+, Clutter, and so on). This marks the first step that we begin to stop depending on the .symbols/ .def files to export the symbols. https://bugzilla.gnome.org/show_bug.cgi?id=732669
* docs: fix up reference docs a bitDieter Verfaillie2013-10-101-13/+82
| | | | | | | | | | | | | - require GTK-Doc 1.19 - remove sgml mode - automatically generate gi.types (needs GTK-Doc 1.19) - fix https://bugzilla.gnome.org/show_bug.cgi?id=700025 [WIP] - rearange sections a bit [WIP] - add gi-building, gi-programming sections [WIP] - mark missing docs with TODO, which is only marginaly better than nothing but at least can be grepped :) https://bugzilla.gnome.org/show_bug.cgi?id=571648
* giscanner: store code before and after comment blockDieter Verfaillie2013-10-081-1/+1
| | | | | | so we can later use them to re-write source files containing broken GTK-Doc comment blocks where /** is preceded by and/or */ is followed by code...
* Fix buildJasper St. Pierre2012-06-291-2/+2
|
* fix GIArgument being exported as _Argument in .girAlan Knowles2012-06-281-3/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=635128
* Fix malformed GTK-Doc comment blocks:Dieter Verfaillie2012-04-051-1/+1
| | | | | | | | | | | | | | | | | - add missing colons - invalid annotations - invalid parameters and tags - correct parameter name - preserve description indentation - no description parts - comment end marker - invalid empty lines - line numbers AnnotationParser now emits warnings which are considered as errors by "make check" so fix those warnings... https://bugzilla.gnome.org/show_bug.cgi?id=672254
* Add Emacs mode lines to C sourcesColin Walters2012-02-031-1/+2
|
* girepository: Add GI_VFUNC_THROWSColin Walters2012-02-031-1/+3
| | | | | | | | Virtual functions can definitely throw an error. Right now the scanner omits the GError parameter for them and adds throws="1", but g-ir-compiler ignores this. https://bugzilla.gnome.org/show_bug.cgi?id=669332
* Deprecate ErrorDomainDan Winship2011-08-121-9/+1
| | | | | | | | | | | | | | The previous ErrorDomain blob was never actually scanned or used, and it was kind of a lame API conceptually. To keep some compatibility, rather than removing the enumeration values, rename them to _INVALID, and don't bump the typelib version. This should in theory allow a new libgirepository to read an old typelib. Based on a patch from Colin Walters https://bugzilla.gnome.org/show_bug.cgi?id=602516
* Add support for gunichar in typelibColin Walters2010-11-121-3/+6
| | | | | | | Some API such as gtk_text_iter_get_char returns an individual "gunichar"; we should support this. https://bugzilla.gnome.org/show_bug.cgi?id=633197
* girepository: Fix compatibility typedefsColin Walters2010-09-011-4/+5
|
* [GIRepository] Rename GTypelib to GITypelibJohan Dahlin2010-08-311-0/+1
| | | | | Keep a typedef for backwards compatibility, until the major bindings has moved over.
* [GIRepository] Rename GArgument to GIArgumentJohan Dahlin2010-08-311-1/+6
| | | | | Keep a typedef for backwards compatibility, until the major bindings has moved over.
* Don't include machine-dependent integral types in the typelibColin Walters2010-07-091-29/+21
| | | | | | | | | | | | | | | | | | | | Previously we had both e.g. GI_TYPE_TAG_LONG and GI_TYPE_TAG_INT64, but in fact the typelib is already machine-specific, so it makes sense to just encode this as a fixed type. The .gir remains abstract. We also remove size_t from the typelib; one would never want to treat it differently than an integer. time_t is removed as well; while bindings like gjs had special handling to turn it into e.g. a JS Date object, I don't think we should encourage people to use these POSIX types in their API. Use GTimeVal or the like instead. Because the typelib is now really machine-specific, we need to remove the -expected.tgirs from git. (We could potentially add a check which wasn't just a literal diff later) https://bugzilla.gnome.org/show_bug.cgi?id=623774
* Support the (transfer) annotation for properties.Tomeu Vizoso2010-06-081-7/+23
| | | | | | | | | | | | * girepository/*: Add g_property_info_get_ownership_transfer() and write the transfer attribute of properties into the typelib. * giscanner/*: Parse the (transfer) annotation and write it into the .gir. * tools/generate.c: Read the transfer annotation for properties and write to the .tgir. https://bugzilla.gnome.org/show_bug.cgi?id=620484
* [gitypes] Remove a comment and move G_END_DECLSJohan Dahlin2010-06-061-4/+2
|
* [gifunction.h] Move GIFunctionInfoFlags to gitypes.hJohan Dahlin2010-06-061-0/+21
|
* [girepository] Move the enumsJohan Dahlin2010-06-051-0/+118
| | | | Move the est of the enums over to gitypes.h
* [girepository] Move GIArgInfo out of ginfo.chJohan Dahlin2010-06-051-0/+35
|
* [gitypes.h] Do not include gibaseinfo.hJohan Dahlin2010-06-051-2/+0
| | | | To avoid cyclic dependencies
* [girepository] Move GICallableInfo out of ginfo.chJohan Dahlin2010-06-051-0/+16
|
* [girepository] Fix the remaning headers as wellJohan Dahlin2010-06-011-1/+1
|
* [girepository] Fix include pathJohan Dahlin2010-06-011-1/+1
| | | | | | We're installing the headers without the girepository/ prefix, so remove that in all internal headers to not break the out of tree scanning.
* [gifunctioninfo] Move out to another fileJohan Dahlin2010-05-311-0/+25
| | | | Move out GIFunctionInfo to gifunctioninfo.[ch]
* [girepository] Split out GIBaseInfoJohan Dahlin2010-05-311-0/+225
Split out GIBaseInfo to a separate source file. Move out definitions to gibaseinfo.h/gitypelib.h/gitypes.h and girepository-private.h Install gibaseinfo.h/gitypelib.h and gitypes.h as well, but require users to include girepository.h