Low-level core library that forms the basis for projects such as GTK+ and GNOME.
Go to file
Carlos Garnacho 67a0f3e914 girepository: Also store GType cache misses
There are notably 4 classes of GTypes where a girepository lookup
might fail:
- GTypes from private interfaces in public objects (eg. MetaCullable in
  mutter)
- GTypes for private base objects with public interfaces (eg. GLocalFile
  in GLib)
- GTypes registered from the language, and presumably not coming from the
  GIR
- GTypes of objects/interfaces that we didn't load a typelib for

It is moot to look for those over and over again, and a full lookup can
be taxing if looking up for a method/property on objects with those
characteristics.

It seems we can cache the misses too, so next lookups are just as quick
as an introspected GType. The cache is invalidated after loading new
typelibs, in case some of the previously missed GTypes is now properly
introspected.
2019-11-14 16:23:39 +00:00
cmph build: Force-include msvc_recommended_pragmas.h on Visual Studio 2019-04-30 16:07:39 +08:00
cmph-bdz-test.c Drop calls to g_type_init() 2012-10-16 10:58:08 -04:00
docs.c docs: Remove everything not related to libgirepository and restructure. Fixes #244 2018-12-14 11:29:11 +01:00
gdump.c gdump: Fix print-format error while GFlagsValue->value is an unsigned int 2018-07-04 16:56:32 +02:00
gi-dump-types.c Drop calls to g_type_init() 2012-10-16 10:58:08 -04:00
giarginfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
giarginfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gibaseinfo.c baseinfo: don't abort when calling g_base_info_get_name() on a GITypeInfo. Fixes #96 2018-12-15 23:33:32 +00:00
gibaseinfo.h docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
gicallableinfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
gicallableinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
giconstantinfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
giconstantinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gienuminfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
gienuminfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gifieldinfo.c docs: Field offsets are in the units of bytes 2018-12-14 16:28:58 +01:00
gifieldinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gifunctioninfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
gifunctioninfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
giinterfaceinfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
giinterfaceinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
ginvoke.c Skip unused generic marshaller 2018-01-30 13:43:28 +00:00
giobjectinfo.c giobjectinfo: Fix some documentation for find_vfunc_using_interfaces 2018-12-15 11:09:23 +01:00
giobjectinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gipropertyinfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
gipropertyinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
giregisteredtypeinfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
giregisteredtypeinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
girepository-private.h build: enable -Wredundant-decls 2018-07-29 18:57:03 +02:00
girepository.c girepository: Also store GType cache misses 2019-11-14 16:23:39 +00:00
girepository.h girepository: Return pointer array for interface cache 2019-06-20 11:54:10 -07:00
girffi.c build: enable -Wswitch-default 2018-07-29 18:57:03 +02:00
girffi.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
girmodule.c girepository: Use constant time calculation for sections after Object fields 2015-10-10 17:41:24 -04:00
girmodule.h Add Emacs mode lines to C sources 2012-02-03 13:42:56 -05:00
girnode.c girnode: remove wrongly added g_assert_not_reached(). Fixes #218 2018-08-03 08:06:08 +02:00
girnode.h girepository: Use constant time calculation for sections after Object fields 2015-10-10 17:41:24 -04:00
giroffsets.c docs: fix up reference docs a bit 2013-10-10 16:48:51 -04:00
girparser.c Make meson.override_find_program working on more complex use cases 2019-08-15 13:58:07 +00:00
girparser.h Add Emacs mode lines to C sources 2012-02-03 13:42:56 -05:00
girwriter.c build: enable -Wswitch-default 2018-07-29 18:57:03 +02:00
girwriter.h Add Emacs mode lines to C sources 2012-02-03 13:42:56 -05:00
gisignalinfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
gisignalinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gistructinfo.c structinfo: Fix offset in find_method() 2019-08-14 23:17:54 +02:00
gistructinfo.h docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
gitypeinfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
gitypeinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gitypelib-internal.h docs: Remove everything not related to libgirepository and restructure. Fixes #244 2018-12-14 11:29:11 +01:00
gitypelib.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
gitypelib.h docs: Remove everything not related to libgirepository and restructure. Fixes #244 2018-12-14 11:29:11 +01:00
gitypes.h docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
giunioninfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
giunioninfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
giversion.c girepository: Add version macros and functions. Fixes #200 2018-12-16 12:51:58 +01:00
giversion.h.in girepository: Add version macros and functions. Fixes #200 2018-12-16 12:51:58 +01:00
giversionmacros.h girepository: Add version macros and functions. Fixes #200 2018-12-16 12:51:58 +01:00
givfuncinfo.c docs: fix gtk-doc warnings and update version infos 2018-12-09 18:26:26 +01:00
givfuncinfo.h girepository: Add Header for Version Macros 2014-08-15 09:45:41 +08:00
gthash-test.c Drop calls to g_type_init() 2012-10-16 10:58:08 -04:00
gthash.c build: enable -Wtype-limits 2018-07-29 18:57:03 +02:00
meson.build build: use proper dylib versioning on macOS 2019-09-10 12:49:04 +01:00