1. 24 Jan, 2018 1 commit
  2. 11 Jul, 2017 1 commit
  3. 29 Jun, 2017 11 commits
    • Carlos Garnacho's avatar
      libtracker-miner: Add TrackerMinerProxy object · 9831c102
      Carlos Garnacho authored
      And shift all miner dbus handling from TrackerMiner. This object
      takes a TrackerMiner and implements the org.freedesktop.Tracker1.Miner
      interface for it on DBus.
      One notable difference in handling here is that libtracker-miner
      does not try to own DBus names anymore, that is left up to the caller.
      The registered object will be available on whatever dbus name the
      caller does register.
      For compatibility, all TrackerMiner implementations around have been
      made to request their usual name.
    • Carlos Garnacho's avatar
      libtracker-miner: Merge tracker_miner_fs_check_file[with_priority] · f3fa5db6
      Carlos Garnacho authored
      Only check_file() remains, with an extra priority argument. The default
      G_PRIORITY_HIGH in the older check_file() was unintuitive, and is now
      explicitly specified in the org.freedesktop.Tracker1.Miner.Files.Index
      interface calls.
    • Carlos Garnacho's avatar
      libtracker-miner: Remove tracker_miner_fs_check_directory*() · 15a93c2c
      Carlos Garnacho authored
      More unused API that is a thin wrapper to TrackerIndexingTree, just
      remove it.
    • Carlos Garnacho's avatar
      libtracker-miner: Remove TrackerMinerFS API to add/remove directories · 603b14d6
      Carlos Garnacho authored
      The whole set of tracker_miner_fs_add_directory_without_parent(),
      tracker_miner_fs_directory_add(), directory_remove() and
      directory_remove_full() are all covered by TrackerIndexingTree and
      basically unused, except for code in examples/.
    • Carlos Garnacho's avatar
      libtracker-miner: Remove tracker_miner_fs_[sg]et_initial_crawling() · 22ca12bf
      Carlos Garnacho authored
      It did nothing at the libtracker-miner level, and can be safely removed.
    • Carlos Garnacho's avatar
      libtracker-miner: Remove tracker_miner_fs_set_mtime_checking() · c07c6575
      Carlos Garnacho authored
      This is just used to set the TRACKER_DIRECTORY_FLAG_CHECK_MTIME flag on
      the TrackerIndexingTree for all files. Given libtracker-miner has this
      fine grained switch and all use of it happens in src/miners/fs, just move
      the global toggle there and remove it from libtracker-miner API.
      The only usage of this flag inside libtracker-miner happened inside
      tracker_miner_fs_directory_add(), which was superseded by
      TrackerIndexingTree too and is scheduled for removal.
    • Carlos Garnacho's avatar
      libtracker-miner: Remove tracker_miner_fs_force_recheck() · 80d1eb55
      Carlos Garnacho authored
      It's unused and unneeded, just set the TRACKER_DIRECTORY_FLAG_CHECK_MTIME
      flag on the TrackerIndexingTree.
    • Carlos Garnacho's avatar
      libtracker-miner: Remove tracker_miner_fs_force_recheck() · a73fdd1a
      Carlos Garnacho authored
      It's been a no-op for years.
    • Carlos Garnacho's avatar
      libtracker-miner: Remove tracker_miner_fs_get_parent_urn() · 444c46a1
      Carlos Garnacho authored
      It is cached once to be used once. Besides, the parent GFile is
      obviously guaranteed to be a folder, and folders are (not so
      obviously) guaranteed to be cached. Thus looking up the URN should
      be fast enough.
    • Carlos Garnacho's avatar
      libtracker-miner: Change API of ::process-file[-attributes] · 7e3f1f32
      Carlos Garnacho authored
      There's a few changes here:
      - The 2 vmethods are now given a GTask, its cancellable is to be
        used if the handling goes async.
      - tracker_miner_fs_file_notify() has changed into a more generic
        tracker_miner_fs_notify_finish() method, that takes such GTask
        and completes it.
      - The vmethods are no longer given a TrackerSparqlBuilder, instead
        they are expected to create the SPARQL through whatever mean is
        most fit. The sparql is given in the tracker_miner_fs_notify_finish()
        func. This opens the door to TrackerMinerFS implementations using
      The intent is 1) Pass something to these vmethods that the user
      can't forge or mess with, as matching on GFile relies that it's the
      same pointer that it was given in the vmethods. And 2) Make the finish()
      function more generic to be fit to other methods going async.
    • Carlos Garnacho's avatar
      Remove ignore_next_update() API · e15c330a
      Carlos Garnacho authored
      It's been deprecated for a long time, it stands in the middle of
      detaching TrackerMiner from DBus, and it's one less piece of
      ontology-dependent libtracker-miner code. Enough reasons to
      finally remove this.
  4. 25 Sep, 2014 1 commit
  5. 23 Sep, 2014 1 commit
  6. 11 Sep, 2014 1 commit
  7. 25 Aug, 2014 1 commit
  8. 20 Feb, 2014 4 commits
    • Carlos Garnacho's avatar
      libtracker-miner: Remove TrackerMinerWeb and helper objects · 914c5e83
      Carlos Garnacho authored
      TrackerMinerWeb vmethods are very focused on the management of
      credentials and capabilities, this is something that's been taken
      over by gnome-online-accounts since this API was added, and the
      lack of TrackerMinerWeb implementations in the wild seems to
      hint it's not been as useful as when it was initially devised,
      so farewell.
    • Carlos Garnacho's avatar
      libtracker-miner: Add TrackerMinerOnline · 0c2e04e2
      Carlos Garnacho authored
      This TrackerMiner is a simpler replacement for TrackerMinerWeb that
      doesn't get into credentials handling. It handles network state,
      emitting ::connected or ::disconnected on the way, and ensuring the
      miner is paused/resumed as necessary when suitable networks come and
      go, implementations of this miner can control this behavior through
      the return value in the ::connected signal.
    • Carlos Garnacho's avatar
      libtracker-control: New separate library, just contains TrackerMinerManager · dddc6c94
      Carlos Garnacho authored
      TrackerMinerManager has been moved from libtracker-miner, so it remains a library
      to implement miners. libtracker-control will be of interest to anything that
      attempts to track or control the state of running/available miners.
    • Carlos Garnacho's avatar
      libtracker-miner: Turn thumbnailer into an object · 1ea22530
      Carlos Garnacho authored
      TrackerMinerFS in libtracker-miner was already doing most of the
      tracker_thumbnailer_* calls necessary. The only API required on
      callers only was tracker_thumbnailer_init/shutdown(). So just
      turn this into an object so all usage is kept private to
      libtracker-miner, and we can remove these headers out of the
  9. 26 Feb, 2013 1 commit
  10. 04 Aug, 2011 1 commit
  11. 01 Feb, 2011 1 commit
  12. 06 Dec, 2010 1 commit
  13. 07 Oct, 2010 1 commit
  14. 16 Aug, 2010 1 commit
  15. 14 May, 2010 1 commit
    • Adrien Bustany's avatar
      libtracker-miner: Add TrackerNetworkProvider class · 7571961a
      Adrien Bustany authored
      The TrackerNetworkProvider class provides functions to get information
      about the network status, such as if there is an active connection or
      not, and what the connection type is (GPRS, 3G, WIFI etc.). It can be
      used by web miners using web services to avoid heavy transfers when
      being connected on a slow and/or expensive connection.
  16. 30 Apr, 2010 2 commits
  17. 09 Apr, 2010 1 commit
    • Adrien Bustany's avatar
      libtracker-miner: Add properties in VAPI file · 7891299b
      Adrien Bustany authored
      This commit add several properties from TrackerMiner and TrackerMinerWeb in the
      VAPI file, allowing the use of the syntax 'property = value' rather than
      'set ("property", value)'. The former syntax adds type safety.
  18. 01 Apr, 2010 1 commit
  19. 25 Mar, 2010 1 commit
  20. 22 Mar, 2010 1 commit
  21. 18 Mar, 2010 4 commits