1. 07 Jun, 2011 2 commits
    • Jürg Billeter's avatar
    • Jürg Billeter's avatar
      libtracker-sparql-backend: Drop direct_only flag · cbac46d4
      Jürg Billeter authored
      As the connection is a singleton, it does not make sense to have a
      construction flag. Calling tracker_sparql_connection_get and
      tracker_sparql_connection_get_direct in the same process triggered an
      assertion failure. This changes tracker_sparql_connection_get_direct to
      be equivalent to tracker_sparql_connection_get.
      The D-Bus proxies in libtracker-bus use lazy initialization, so they do
      not cause any overhead when constructing the connection.
      Direct-only can still be enforced on the process level by setting
  2. 06 Jun, 2011 1 commit
  3. 26 May, 2011 1 commit
    • Juerg Billeter's avatar
      libtracker-sparql-backend: Work around race condition in GDBus · 3dcb7437
      Juerg Billeter authored
      GDBusProxy created from a thread without its own GMainContext may cause
      memory corruption due to a race condition in handling the
      NameOwnerChanged signal.
      As we only call a single method on the Status object, drop use of
      GDBusProxy in this case and directly use low level D-Bus support.
      Fixes NB#254855.
  4. 20 May, 2011 1 commit
  5. 19 May, 2011 2 commits
  6. 09 May, 2011 1 commit
  7. 27 Apr, 2011 1 commit
  8. 13 Apr, 2011 1 commit
  9. 12 Apr, 2011 1 commit
  10. 08 Apr, 2011 1 commit
  11. 07 Apr, 2011 1 commit
    • Jürg Billeter's avatar
      libtracker-sparql: Use separate thread for sync init if necessary · 2086e731
      Jürg Billeter authored
      tracker_locale_init must run with the thread-default context set to the
      global default context. As pushing a new thread-default context
      requires the current thread to be the owner of the passed context, we
      cannot always push the global default context as a thread-default
      This commit uses a threadpool job in the case that sync initialization
      is requestesd with the thread-default context not set to the global
      default context.
  12. 04 Apr, 2011 1 commit
    • Jürg Billeter's avatar
      libtracker-sparql: Use static linking instead of plugins · 0ec98786
      Jürg Billeter authored
      Plugin loading in threads may be problematic in certain environments.
      As we do not currently support external plugins anyway, this changes
      libtracker-bus and libtracker-direct to be part of libtracker-sparql.
      This will also slightly improve initialization performance.
      Fixes NB#241659.