1. 06 May, 2019 1 commit
  2. 16 Dec, 2017 1 commit
    • Sam Thursfield's avatar
      Rename libtracker-common to libtracker-miners-common · 3cee7b92
      Sam Thursfield authored
      We made a big compromise when splitting tracker core from tracker-miners
      in that the common code that was needed by both parts would end up
      duplicated. It's ugly but it works fine at the moment and allows us to
      keep all of the common code private.
      
      I had an issue when trying to embed tracker core into tracker-miners as
      a Meson subproject though. Having two targets named tracker-common
      caused confusion as duplicate targets aren't allowed, but they are not
      quite equivalent so we can't just pick one or the other.
      
      To work around this, I've renamed the copy in this repo to
      tracker-miners-common. This only affects the target names, not the
      actual function names.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=789725
      3cee7b92
  3. 28 Feb, 2017 1 commit
    • Carlos Garnacho's avatar
      tracker-extract: Cache TrackerConfig::max-bytes · e9e7cda6
      Carlos Garnacho authored
      This is the only setting read from extractor modules. It turns out
      that under the right circumstances a g_settings_get_value() call
      can trigger open() calls with readwrite permissions from the caller
      thread. This is forbidden in extractor threads and triggers warnings
      like:
      
      dconf-CRITICAL **: unable to create file '/run/user/1000/dconf/user':
      Permission denied.  dconf will not work properly.
      
      Also, since this setting is meaningless to update during tracker-extract
      lifetime, just drop the g_settings_bind() call, this means the setting
      is only read once on startup.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=779342
      e9e7cda6
  4. 27 Oct, 2014 2 commits
    • Martyn Russell's avatar
      all: Migrate to GKeyfileSettingsBackend and generate man pages from schemas · 2b53cd5d
      Martyn Russell authored
      Now we've removed the internal key file object, we've had to put in place
      another method for supporting the existing TRACKER_USE_CONFIG_FILES
      environment variable. Thanks to the GKeyfileSettingsBackend provided by
      GLib, we can fallback to old school INI type config files for embedded
      solutions or cases where we don't want dconf as a backend. This works rather
      well.
      
      IT should be noted, the INI files are *NOT* written out in full if they do not
      exist, only options which are saved or different to the default settings are.
      This is how it should be too.
      
      Now we build man pages based on GSettings schemas using xsltproc with the
      template in docs/manpages/gsettings.xsl. This is a useful aid when trying to
      understand what config files can have in them. One thing it does highlight, is
      the config documentation could be better :)
      2b53cd5d
    • Martyn Russell's avatar
      libtracker-common: Remove TrackerConfigFile, TrackerKeyfileObject · dc4fbfe9
      Martyn Russell authored
      Migrated the KeyFile work in most apps to GSettings
      dc4fbfe9
  5. 10 Jul, 2014 1 commit
  6. 20 Feb, 2014 2 commits
  7. 30 Apr, 2012 1 commit
  8. 26 Sep, 2011 1 commit
  9. 15 Apr, 2011 1 commit
  10. 22 Mar, 2011 1 commit
  11. 08 Mar, 2011 1 commit
  12. 13 Jan, 2011 1 commit
  13. 18 May, 2010 4 commits
  14. 29 Mar, 2010 1 commit
  15. 15 Dec, 2009 1 commit
  16. 11 Dec, 2009 1 commit
  17. 14 Aug, 2009 1 commit
  18. 27 Jul, 2009 1 commit
  19. 20 Jul, 2009 1 commit
    • Martyn Russell's avatar
      Moved config functions and modules around · 40721293
      Martyn Russell authored
      Now we have tracker-config-manager which is used to do all file based
      operations for the config file. We also have tracker-config-utils
      which does all the GKeyFile<-->GObject work for us. 
      
      Perhaps these should be renamed at some point to:
      
        tracker-config-file
        tracker-object-keyfile
      
      To be more aligned to what they actually do.
      40721293
  20. 16 Jul, 2009 2 commits