1. 06 Mar, 2009 1 commit
  2. 05 Mar, 2009 1 commit
    • Carlos Garnacho's avatar
      Merge together the GetFileChildren and SelectFileChild stored procedures. · 523c5764
      Carlos Garnacho authored
      2009-03-05  Carlos Garnacho  <carlos@imendio.com>
      
              Merge together the GetFileChildren and SelectFileChild stored
              procedures.
      
              * data/db/sqlite-stored-procs.sql: Only one can stand.
              * src/libtracker-data/tracker-data-query.c
              (tracker_data_query_service_children):
              * src/libtracker-data/tracker-data-search.c
              (tracker_data_search_files_get): Adapt to stored procedures change.
      
      svn path=/trunk/; revision=3021
      523c5764
  3. 04 Mar, 2009 6 commits
    • Martyn James Russell's avatar
      Added indexer fix using Carlos' patch now that we only send top level · 8873e462
      Martyn James Russell authored
      	* src/tracker-indexer/tracker-indexer.c:
      	(tracker_indexer_files_check): Added indexer fix using Carlos'
      	patch now that we only send top level directories which are
      	deleted from the daemon not all files.
      
      svn path=/trunk/; revision=3020
      8873e462
    • Martyn James Russell's avatar
      Removed no longer used extractors. · ce72d4ec
      Martyn James Russell authored
      	* src/tracker-extract/tracker-extract-exif.c:
      	* src/tracker-extract/tracker-extract-gstreamer-playbin.c: Removed
      	no longer used extractors.
      
      svn path=/trunk/; revision=3019
      ce72d4ec
    • Mikael Ottela's avatar
      Added un-unsynch support to mp3 extractor · 8170116f
      Mikael Ottela authored
      svn path=/trunk/; revision=3018
      8170116f
    • Martyn James Russell's avatar
      Make sure we check the priv->readonly property before trying to add or · 9a79911c
      Martyn James Russell authored
      	* src/libtracker-db/tracker-db-index.c:
      	(tracker_db_index_get_word_hits), (tracker_db_index_add_word),
      	(tracker_db_index_remove_dud_hits): Make sure we check the
      	priv->readonly property before trying to add or remove words from
      	the QDBM index. As you may see from now on, this indicates that
      	the only time we remove duds and words from the index is when the
      	trackerd process finds them and it *ONLY* opens the index as
      	readonly. We need to fix this removing dud issue ASAP - bring on
      	FTS support!
      
      svn path=/trunk/; revision=3017
      9a79911c
    • Martyn James Russell's avatar
      Now we cache DELETE events. This way, when recursively deleting a · 2aad5f43
      Martyn James Russell authored
      	* src/trackerd/tracker-monitor.c: Now we cache DELETE events. This
      	way, when recursively deleting a directory, we ONLY send the
      	top level directory that was removed to the indexer instead of
      	EVERY file and subdirectory under it.
      
      svn path=/trunk/; revision=3016
      2aad5f43
    • Carlos Garnacho's avatar
      Prevent against cur_cache being possibly NULL. Call check_finished() in · b368da7d
      Carlos Garnacho authored
      2009-03-04  Carlos Garnacho  <carlos@imendio.com>
      
              * src/libtracker-db/tracker-db-index.c (index_flush_item)
              (tracker_db_index_flush): Prevent against cur_cache being possibly
              NULL.
              * src/tracker-indexer/tracker-indexer.c (check_finished)
              (check_stopped): Call check_finished() in any case, not just after the
              cache has been flushed.
      
      svn path=/trunk/; revision=3015
      b368da7d
  4. 03 Mar, 2009 11 commits
    • Mikael Ottela's avatar
      Fixed frame size calculation · 08102d62
      Mikael Ottela authored
      svn path=/trunk/; revision=3014
      08102d62
    • Martyn James Russell's avatar
      Remove collation from Services table. · c4fb44b3
      Martyn James Russell authored
      	* data/db/sqlite-service.sql:
      	* src/libtracker-db/tracker-db-manager.c: Remove collation from
      	Services table.
      
      svn path=/trunk/; revision=3013
      c4fb44b3
    • Carlos Garnacho's avatar
      Make the indexer decide the flush timeout dynamically based on the number · 74133b7a
      Carlos Garnacho authored
      2009-03-03  Carlos Garnacho  <carlos@imendio.com>
      
              * src/tracker-indexer/tracker-indexer.[ch]: Make the indexer decide
              the flush timeout dynamically based on the number of elements left.
      
      svn path=/trunk/; revision=3012
      74133b7a
    • Carlos Garnacho's avatar
      Make flushing to index asynchronous. · 06e1ab93
      Carlos Garnacho authored
      2009-03-03  Carlos Garnacho  <carlos@imendio.com>
      
              Make flushing to index asynchronous.
      
              * src/libtracker-db/tracker-db-index.[ch]: Make asynchronous, so the
              information is committed in batches, and the cache is layered. Add
              boolean properties to indicate whether it's currently flushing or
              saturated (i.e.: too many cache layers left to flush)
              * src/tracker-indexer/tracker-indexer.c: Update to these changes.
              Listen for changes in these new properties in order to pause the
              indexer or waiting for the index to be flushed before finishing.
      
      svn path=/trunk/; revision=3011
      06e1ab93
    • Carlos Garnacho's avatar
      Do not wipe out/overwrite existing logs if there's a running instance. · 6cbd76e9
      Carlos Garnacho authored
      2009-03-03  Carlos Garnacho  <carlos@imendio.com>
      
              Do not wipe out/overwrite existing logs if there's a running instance.
      
              * src/libtracker-common/tracker-log.c (tracker_log_init): Remove old
              log file here, prior to creating the new one.
              * src/trackerd/tracker-main.c (initialize_directories): Do not remove
              the old log file here.
              (main): Check whether there's a running instance before initializing
              the logs subsystem.
      
      svn path=/trunk/; revision=3010
      6cbd76e9
    • Carlos Garnacho's avatar
      Iterate the main loop while processing the turtle records to restore. · fede0838
      Carlos Garnacho authored
      2009-03-03  Carlos Garnacho  <carlos@imendio.com>
      
              * src/tracker-indexer/tracker-indexer.c (restore_backup_cb): Iterate
              the main loop while processing the turtle records to restore.
      
      svn path=/trunk/; revision=3009
      fede0838
    • Martyn James Russell's avatar
      Removed TRACKER_DB_PAGE_SIZE_DEFAULT, use TRACKER_DB_PAGE_SIZE_DONT_SET · b7a2947e
      Martyn James Russell authored
      	* src/libtracker-db/tracker-db-manager.c: Removed
      	TRACKER_DB_PAGE_SIZE_DEFAULT, use TRACKER_DB_PAGE_SIZE_DONT_SET
      	instead because this allows SQLite to decide what to use based on
      	the file system block size. Tests with 40k items show a 2 minute
      	speed improvement (was 13.5 minutes in total).
      
      svn path=/trunk/; revision=3004
      b7a2947e
    • Martyn James Russell's avatar
      Add new DB versions so users are forced to reindex when updating from svn · 38e68a7a
      Martyn James Russell authored
      	* src/libtracker-db/tracker-db-manager.c:
      	(tracker_db_manager_init): Add new DB versions so users are forced
      	to reindex when updating from svn or to the next version 0.6.91
      	planned for next week. NOTE: Updating to this version *WILL*
      	require you reindex your data.
      
      svn path=/trunk/; revision=3003
      38e68a7a
    • Martyn James Russell's avatar
      Don't use g_strstrip() before calling tracker_escape_metadata() which · c10570fd
      Martyn James Russell authored
      	* src/tracker-extract/tracker-escape.c: 
      	* src/tracker-extract/tracker-extract-gstreamer-playbin.c:
      	* src/tracker-extract/tracker-extract-gstreamer.c:
      	* src/tracker-extract/tracker-extract-jpeg.c:
      	* src/tracker-extract/tracker-extract-mp3.c: 
      	* src/tracker-extract/tracker-extract.c:
      	* tests/tracker-extract/tracker-extract-test-utils.c: Don't use
      	g_strstrip() before calling tracker_escape_metadata() which calls
      	g_strstrip() for us.
      
      svn path=/trunk/; revision=3002
      c10570fd
    • Mikael Ottela's avatar
      Strip whitespaces from extracted metadata · cfa2af73
      Mikael Ottela authored
      svn path=/trunk/; revision=3001
      cfa2af73
    • Mikael Ottela's avatar
      Treat the genre value unknown like other unknown/missing values · 1e3c4e18
      Mikael Ottela authored
      svn path=/trunk/; revision=3000
      1e3c4e18
  5. 02 Mar, 2009 3 commits
  6. 27 Feb, 2009 6 commits
  7. 26 Feb, 2009 6 commits
    • Carlos Garnacho's avatar
      Do not use all the tracker_dbus_request machinery, so asking for the · 836206a7
      Carlos Garnacho authored
      2009-02-26  Carlos Garnacho  <carlos@imendio.com>
      
              * src/trackerd/tracker-daemon.c (tracker_daemon_get_status): Do not
              use all the tracker_dbus_request machinery, so asking for the status
              doesn't actually change it.
      
      svn path=/trunk/; revision=2983
      836206a7
    • Carlos Garnacho's avatar
      Do not use deprecated functions. Fixes #572237. · 7cac8e3c
      Carlos Garnacho authored
      2009-02-26  Carlos Garnacho  <carlos@imendio.com>
      
              * src/trackerd/tracker-xesam-live-search.c (get_hit_data): Do not use
              deprecated functions. Fixes #572237.
      
      svn path=/trunk/; revision=2982
      7cac8e3c
    • Andre Klapper's avatar
      Replace a call to libart with a GDK equivalent. Patch by Cosimo Cecchi · 03fe8929
      Andre Klapper authored
      2009-02-26  Andre Klapper  <a9016009@gmx.de>
      
      	* src/tracker-search-tool/tracker-search-tool-support.c:
      	Replace a call to libart with a GDK equivalent. Patch by Cosimo
      	Cecchi copied from gnome-utils.
      	Fixes GNOME bug 571736.
      
      
      svn path=/trunk/; revision=2981
      03fe8929
    • Carlos Garnacho's avatar
      Refactor Backups to turtle files support out to a · 9d6c3062
      Carlos Garnacho authored
      2009-02-26  Carlos Garnacho  <carlos@imendio.com>
      
              Refactor Backups to turtle files support out to a
              org.freedesktop.Tracker.Backup interface.
      
              * data/dbus/tracker-backup.xml: Definition for the new interface.
              * data/dbus/tracker-daemon.xml: Remove Backup method.
      
              * src/libtracker-data/Makefile.am:
              * src/libtracker-data/tracker-data-backup.[ch]: New files, contain
              the actual saving/restoring to/from turtle files, this was spread
              before in tracker-indexer and trackerd.
      
              * src/tracker-indexer/tracker-indexer.c
              (tracker_indexer_restore_backup) (restore_backup_cb): Use new
              functions in libtracker-data.
      
              * src/trackerd/tracker-backup.[ch]: Now they contain TrackerBackup,
              the object that's going to handle petitions from DBus.
              * src/trackerd/tracker-dbus.c: Hook the new object into trackerd.
              * src/trackerd/tracker-daemon.c: Remove implementation for Backup
              method.
      
              * src/trackerd/tracker-main.c:
              * src/trackerd/Makefile.am: Miscellaneous changes.
      
      svn path=/trunk/; revision=2980
      9d6c3062
    • Carlos Garnacho's avatar
      Added CollateKey sqlite function to let it handle collate key changes. · b8ed1384
      Carlos Garnacho authored
      2009-02-26  Carlos Garnacho  <carlos@imendio.com>
      
              * src/libtracker-db/tracker-db-manager.c: Added CollateKey sqlite
              function to let it handle collate key changes. Check locale on startup
              and regenerate collate keys if necessary.
              * src/libtracker-data/tracker-data-update.c: Remove collate key
              generation from code, since now it will be handled by the database.
              * data/db/sqlite-stored-procs.sql: Updated to use the CollateKey
              function, added getter/setter for locale config option, stored in
              Options (common.db)
      
      svn path=/trunk/; revision=2979
      b8ed1384
    • Philip Van Hoof's avatar
      src/plugins/evolution/Makefile.am src/plugins/rss/Makefile.am · 6445013e
      Philip Van Hoof authored
      2009-02-26  Philip Van Hoof  <philip@codeminded.be>
      
      	* src/plugins/evolution/Makefile.am
      	* src/plugins/rss/Makefile.am
      	* src/plugins/kmail/Makefile.am
      	* src/qdbm/Makefile.am
      	* src/libtracker-data/Makefile.am
      	* src/libtracker-gtk/Makefile.am
      	* src/tracker-applet/Makefile.am: Added support for coverage reporting
      	to targets that I missed last commit for this feature
      
      
      svn path=/trunk/; revision=2978
      6445013e
  8. 25 Feb, 2009 6 commits
    • Martyn James Russell's avatar
      Fixed ChangeLog · 1d21fd86
      Martyn James Russell authored
      svn path=/trunk/; revision=2977
      1d21fd86
    • Martyn James Russell's avatar
      Fixed ChangeLog · 426998b8
      Martyn James Russell authored
      svn path=/trunk/; revision=2976
      426998b8
    • Mikael Ottela's avatar
      Added method to dbus API for concatenating fields in groupings and fixed some... · 1429abdf
      Mikael Ottela authored
      Added method to dbus API for concatenating fields in groupings and fixed some order field joining issues
      
      svn path=/trunk/; revision=2975
      1429abdf
    • Carlos Garnacho's avatar
      Contain info about whether it should recurse or not, instead of passing · 01e12a20
      Carlos Garnacho authored
      2009-02-25  Carlos Garnacho  <carlos@imendio.com>
      
              * src/tracker-indexer/tracker-indexer.c (struct PathInfo)
              (path_info_new): Contain info about whether it should recurse or not,
              instead of passing specific parameters in the affected functions.
              (item_move) (item_remove) (process_directory) (process_module)
              (process_func) (tracker_indexer_files_check)
              (tracker_indexer_file_move): Update all callers accordingly.
              (remove_stale_children): Recurse explicitly when deleting stale items
              in DB that were deleted between executions. Fixes NB#99827.
      
      svn path=/trunk/; revision=2974
      01e12a20
    • Philip Van Hoof's avatar
      src/libtracker/Makefile.am src/tracker-fts/Makefile.am · 9f00d984
      Philip Van Hoof authored
      2009-02-25  Philip Van Hoof  <philip@codeminded.be>
      
      	* src/libtracker/Makefile.am
      	* src/tracker-fts/Makefile.am
      	* src/tracker-indexer/modules/Makefile.am
      	* src/tracker-indexer/Makefile.am
      	* src/tracker-utils/Makefile.am
      	* src/tracker-preferences/Makefile.am
      	* src/trackerd/Makefile.am
      	* src/tracker-extract/Makefile.am
      	* src/libstemmer/Makefile.am
      	* src/libtracker-db/Makefile.am
      	* src/libtracker-common/Makefile.am
      	* src/libinotify/Makefile.am
      	* src/tracker-search-tool/Makefile.am
      	* tests/trackerd/Makefile.am
      	* tests/tracker-extract/Makefile.am
      	* tests/libtracker-db/Makefile.am
      	* tests/tracker-indexer/Makefile.am
      	* tests/common/Makefile.am
      	* tests/libtracker-common/Makefile.am
      	* configure.ac: Added support for coverage reporting
      
      
      svn path=/trunk/; revision=2973
      9f00d984
    • Philip Van Hoof's avatar
      src/trackerd/tracker-daemon.c src/trackerd/tracker-daemon.h Added a Backup · 118d8fba
      Philip Van Hoof authored
      2009-02-25  Philip Van Hoof  <philip@codeminded.be>
      
              * src/trackerd/tracker-daemon.c
              * src/trackerd/tracker-daemon.h
              *  data/dbus/tracker-daemon.xml: Added a Backup method
              to the Daemon object on DBus
      
      
      
      svn path=/trunk/; revision=2972
      118d8fba