1. 04 Oct, 2021 1 commit
  2. 03 Oct, 2021 2 commits
    • P V's avatar
      doc: reorganize Doxygen groups/modules to make more sense · 8159797f
      P V authored
      The Doxygen "Modules" page is not very illuminative, as different parts
      of the API are mixed together and not all parts are included.
      
      Try to address this:
      
      Put all parts of the public API to some Doxygen group, usually one group
      per header file. Use short, systematic names.
      
      Make these groups sub-groups of a few top-level groups, roughly
      corresponding to the different logical parts of the API (core, impl,
      stream, filter, spa, utilities).
      8159797f
    • P V's avatar
      doc: add \copydoc, \sa links for (struct methods) function/macros · de7f78f4
      P V authored
      Add manually cross-references for struct methods callback
      macros/functions, in cases where they're too hard to parse for the
      Doxygen input filter.
      de7f78f4
  3. 26 Jun, 2021 1 commit
    • P V's avatar
      dbus: keep a ref to DBusConnection if reconnecting is not handled · 2b515b5e
      P V authored
      Several places in the code don't handle reconnecting DBus connections
      yet. In those cases, a ref to the DBusConnection handle needs to be
      kept, so that there's no use-after-free if it gets freed by spa_dbus
      if the connection is broken.
      
      Adjust spa_dbus so that others keeping additional refs is safe.
      2b515b5e
  4. 26 May, 2021 1 commit
    • Peter Hutterer's avatar
      spa: group the spa headers into doxygen modules · 07533cb7
      Peter Hutterer authored and Wim Taymans's avatar Wim Taymans committed
      Subdirectories buffer, control, debug, monitor, pod, support and utils, others
      are still missing. Headers are grouped either per subdirectory (e.g. buffer/
      gets added to group spa_buffer) or per-file (e.g. spa_json is a separate
      group), whatever seemed like the most sensible approach.
      07533cb7
  5. 17 May, 2021 1 commit
  6. 17 Aug, 2020 1 commit
    • Link Mauve's avatar
      Run codespell on the entire codebase · 14fdf07e
      Link Mauve authored and Wim Taymans's avatar Wim Taymans committed
      This tool detects and fixes common English spelling mistakes, with
      generally very few mistakes.
      
      Here is the command I used to generate this commit.  There were a few
      changes that had to be done manually, and of course adding the ignore
      file:
      ```shell
      codespell -I .codespell-ignore -x .codespell-ignore -w
      ```
      
      I didn’t add it to the CI, but this would be a good place for it.
      14fdf07e
  7. 19 Dec, 2019 1 commit
    • Wim Taymans's avatar
      Make interface types a string · f391353c
      Wim Taymans authored
      This is more in line with wayland and it allows us to create new
      interfaces in modules without having to add anything to the type
      enum. It also removes some lookups to map type_id to readable
      name in debug.
      f391353c
  8. 23 May, 2019 1 commit
    • Wim Taymans's avatar
      interface: add an interface struct · ff946e3d
      Wim Taymans authored
      The interface struct has the type,version and methods of the
      interface.
      Make spa interfaces extend from spa_interface and make a
      separate structure for the methods.
      Pass a generic void* as the first argument of methods, like
      we don in PipeWire.
      Bundle the methods + implementation in a versioned inteface
      and use that to invoke methods. This way we can do version
      checks on the methods.
      Make resource and proxy interfaces that we can can call. We
      can then make the core interfaces independent on proxy/resource and
      hide them in the lower layers.
      Add add_listener method to methods of core interfaces, just
      like SPA.
      ff946e3d
  9. 14 Jan, 2019 1 commit
  10. 05 Nov, 2018 1 commit
  11. 27 Aug, 2018 1 commit
    • Wim Taymans's avatar
      More type cleanups · 90c1a95e
      Wim Taymans authored
      SPA_ID_* -> SPA_TYPE_*. We use 'type' for all registered types.
      ID refers to either a registered type or an enum.
      Improve introspection of object ids. Make 0 an invalid enum and
      use it to look up the object id type.
      Move some type-info files together.
      Swap type and id of the object, we first specify the type and then
      the id because the meaning of the id depends on the object type.
      90c1a95e
  12. 08 Feb, 2018 1 commit
    • Wim Taymans's avatar
      dbus: move rtkit to module · 9d4b0d83
      Wim Taymans authored
      Move the rtkit code to a module.
      Make sure we don't need to include the dbus headers in the spa dbus
      interface. This removes the dependency on dbus.
      9d4b0d83
  13. 18 Dec, 2017 1 commit
    • Wim Taymans's avatar
      Add dbus support interface · f7b6fea4
      Wim Taymans authored
      Add an interface that can manager a dbus connection.
      Make a dbus interface in the core that can create connections running
      in the core main loop. Keep this as support for spa plugins.
      f7b6fea4