1. 06 May, 2019 1 commit
  2. 01 May, 2019 1 commit
    • Sam Thursfield's avatar
      tracker-extract-text: Correctly report errors back to the caller · 08f4af62
      Sam Thursfield authored
      The tracker_extract_get_metadata() function should return FALSE if
      an error occurs reading the file. The tracker-extract-text module would
      return TRUE in all cases.
      
      This was causing intermittent failures in the functional-tests, as the
      following situation could occur:
      
        1. file2.txt is created
        2. tracker-miner-fs sees file2.txt and processes it
        3. file2.txt is deleted (or moved into an unmonitored directory)
        4. tracker-miner-fs sees the deletion and removes its resource from
           the store
        5. tracker-extract sees the created notification for file2.txt and
           tries to process it
        6. the tracker_extract_get_metadata() incorrectly returns TRUE
           (success), so tracker-extract recreates the deleted resource
      
      This problem was being detected in the functional tests and was
      causing intermittent failures.
      
      This hopefully fixes: GNOME/tracker-miners#56
      08f4af62
  3. 24 Apr, 2019 2 commits
  4. 31 Mar, 2019 3 commits
  5. 18 Mar, 2019 4 commits
  6. 25 Feb, 2019 1 commit
  7. 11 Feb, 2019 3 commits
  8. 09 Feb, 2019 2 commits
  9. 05 Dec, 2018 1 commit
  10. 19 Nov, 2018 1 commit
  11. 18 Nov, 2018 2 commits
  12. 17 Nov, 2018 2 commits
    • Sam Thursfield's avatar
      miners/fs: Fix compile warning · d568d9e7
      Sam Thursfield authored
      Fixes the following:
      
          [9/61] Compiling C object 'src/miners/...miner-fs@exe/tracker-miner-files.c.o'.
          ../src/miners/fs/tracker-miner-files.c: In function ‘process_file_cb’:
          ../src/miners/fs/tracker-miner-files.c:2437:11: warning: passing argument 1 of ‘g_free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
      d568d9e7
    • Sam Thursfield's avatar
      miners/fs: Add missing object casts to fix compile warnings · 1d49d7b6
      Sam Thursfield authored
      This fixes the following warnings:
      
          ../src/miners/fs/tracker-miner-files.c: In function ‘miner_files_process_file’:
          ../src/miners/fs/tracker-miner-files.c:2502:14: warning: assignment to ‘TrackerMinerFiles *’ {aka ‘struct TrackerMinerFiles *’} from incompatible pointer type ‘TrackerMinerFS *’ {aka ‘struct _TrackerMinerFS *’} [-Wincompatible-pointer-types]
            data->miner = g_object_ref (fs);
                        ^
          ../src/miners/fs/tracker-miner-files.c: In function ‘miner_files_process_file_attributes’:
          ../src/miners/fs/tracker-miner-files.c:2604:14: warning: assignment to ‘TrackerMinerFiles *’ {aka ‘struct TrackerMinerFiles *’} from incompatible pointer type ‘TrackerMinerFS *’ {aka ‘struct _TrackerMinerFS *’} [-Wincompatible-pointer-types]
            data->miner = g_object_ref (fs);
      1d49d7b6
  13. 13 Nov, 2018 7 commits
  14. 11 Nov, 2018 4 commits
  15. 10 Nov, 2018 1 commit
  16. 08 Nov, 2018 1 commit
  17. 30 Sep, 2018 2 commits
  18. 26 Sep, 2018 1 commit
  19. 15 Sep, 2018 1 commit