Skip to content
  • Thomas Haller's avatar
    libnm: refactor caching of D-Bus objects in NMClient · ce0e898f
    Thomas Haller authored
    No longer use GDBusObjectMangaerClient and gdbus-codegen generated classes
    for the NMClient cache. Instead, use GDBusConnection directly and a
    custom implementation (NMLDBusObject) for caching D-Bus' ObjectManager
    data.
    
    CHANGES
    -------
    
    - This is a complete rework. I think the previous implementation was
    difficult to understand. There were unfixed bugs and nobody understood
    the code well enough to fix them. Maybe somebody out there understood the
    code, but I certainly did not. At least nobody provided patches to fix those
    issues. I do believe that this implementation is more straightforward and
    easier to understand. It removes a lot of layers of code. Whether this claim
    of simplicity is true, each reader must decide for himself/herself. Note
    that it is still fairly complex.
    
    - There was a lingering performance issue with large number of D-Bus
    objects. The patch tries hard that the implementation scales well. Of
    course, when we cache N objects that have...
    ce0e898f
To find the state of this project's repository at the time of any of these versions, check out the tags.