• Mike Gorse's avatar
    Modified cache API to include index and child count rather than children · bc851619
    Mike Gorse authored
    The original cache API was problematic for QT AT-SPI because it forces
    enumeration of all children, preventing lazy instantiation of objects.
    The API now sends the object's index in parent and child count (or -1 if
    not known / children should not be cached) rather than an array of
    children.
    Also made cache of children a GPtrArray rather than a GList, since it
    may contain holes.  If an object has not yet been instantiated for a
    particular child, then its value will be set to NULL, and
    atspi_accessible_get_child_at_index will make a dbus call to fetch the
    child, at which point it will be cached.
    bc851619
Name
Last commit
Last update
atspi Loading commit data...
bus Loading commit data...
config Loading commit data...
dbind Loading commit data...
doc Loading commit data...
idl Loading commit data...
m4 Loading commit data...
po Loading commit data...
registryd Loading commit data...
xml Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
INSTALL Loading commit data...
MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
acinclude.m4 Loading commit data...
at-spi2-core.doap Loading commit data...
atspi-2-uninstalled.pc.in Loading commit data...
atspi-2.pc.in Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...