1. 14 Oct, 2008 3 commits
  2. 13 Oct, 2008 9 commits
    • Martyn James Russell's avatar
      Added Nokia bug number to last ChangeLog · cdf624d3
      Martyn James Russell authored
      svn path=/trunk/; revision=2364
      cdf624d3
    • Martyn James Russell's avatar
      Completely reworked this file and removed about 50% of it. This 50% was · 89a3b582
      Martyn James Russell authored
      	* data/db/sqlite-stored-procs.sql: Completely reworked this file
      	and removed about 50% of it. This 50% was unused stored
      	procedures.
      
      	* src/libtracker-common/tracker-file-utils.c:
      	(tracker_file_get_mime_type): If stat() fails, just make that a
      	normal message for now, not a warning, we should expect it.
      
      	* src/libtracker-db/tracker-db-interface-sqlite.c: Added a few
      	debug commands to see what is happening. 
      
      	* src/libtracker-db/tracker-db-manager.c: (load_prepared_queries):
      	Improved this function to actually allow for bracketed comments in
      	the .sql files.
      
      	* src/tracker-indexer/tracker-indexer-db.[ch]: 
      	* src/tracker-indexer/tracker-indexer.ch: Added a function to
      	recursively delete a path, this is needed for when a memory card
      	is removed.
      
      	* src/trackerd/tracker-db.c: Removed the stat() on every file that
      	is returned if we are running a detailed search. This is
      	unnecessary and causes a difference in the results returned if the
      	database is inaccurate (which it shouldn't be).
      
      	* src/trackerd/tracker-processor.c: (mount_point_removed_cb): When
      	we unmount, add the directory to the deleted queue to be processed
      	by the indexer for now. This needs to be fixed properly at some
      	point (i.e. just disabling the items in the database, awaiting
      	SQLite FTS for that).
      
      svn path=/trunk/; revision=2363
      89a3b582
    • Carlos Garnacho's avatar
      Do not leak like if there was no tomorrow, save one unnecessary · cfd60ea8
      Carlos Garnacho authored
      2008-10-12  Carlos Garnacho  <carlos@imendio.com>
      
              * src/trackerd/tracker-search.c (search_highlight_terms): Do not leak
              like if there was no tomorrow, save one unnecessary allocation.
              (search_get_snippet): Rework code, do not read out of bounds.
              (tracker_search_get_snippet): Actually highlight the search terms.
              (search_utf8_strcasestr_array): Pass a const gchar** for search terms.
      
              * src/trackerd/tracker-crawler.c (tracker_crawler_finalize): Plug a
              leak.
      
      svn path=/trunk/; revision=2362
      cfd60ea8
    • Ivan Frade's avatar
      Updated postal address of the Free Software Foundation. This closes bug #518265 · fbb5c8d5
      Ivan Frade authored
      svn path=/trunk/; revision=2361
      fbb5c8d5
    • Ivan Frade's avatar
      Fixed typo and closed bug 548561 · 03960b00
      Ivan Frade authored
      svn path=/trunk/; revision=2360
      03960b00
    • Martyn James Russell's avatar
      Moved this file to data/. · c3d05679
      Martyn James Russell authored
      	* tracker.spec: Moved this file to data/.
      
      svn path=/trunk/; revision=2359
      c3d05679
    • Martyn James Russell's avatar
      Change the way GdkPixbuf is detected by using "auto". This means it won't · abe4b91f
      Martyn James Russell authored
      	* configure.ac: Change the way GdkPixbuf is detected by using
      	"auto". This means it won't stop the build if it doesn't exist
      	unless the user explicitly asks for it with --enable-gdkpixbuf.
      
      	* data/english/Makefile.am:
      	* data/english/errmsg.txt: Removed data/english, it was completely
      	unused.
      
      svn path=/trunk/; revision=2358
      abe4b91f
    • Martyn James Russell's avatar
      Moved all database files to data/db. · 02ee7ec9
      Martyn James Russell authored
      	* configure.ac:
      	* data/Makefile.am:
      	* data/db/Makefile.am:
      	* data/sqlite-cache.sql:
      	* data/sqlite-contents.sql:
      	* data/sqlite-email.sql:
      	* data/sqlite-metadata.sql:
      	* data/sqlite-service-triggers.sql:
      	* data/sqlite-service-types.sql:
      	* data/sqlite-service.sql:
      	* data/sqlite-stored-procs.sql:
      	* data/sqlite-tracker-triggers.sql:
      	* data/sqlite-tracker.sql:
      	* data/sqlite-user-data.sql:
      	* data/sqlite-xesam.sql: Moved all database files to data/db.
      
      svn path=/trunk/; revision=2357
      02ee7ec9
    • Jamie McCracken's avatar
      src/tracker-search-tool/tracker-search-tool.h · cab172bc
      Jamie McCracken authored
      2008-10-12 Jamie McCracken <jamiemcc at gnome org>
      
      
      	* src/tracker-search-tool/tracker-search-tool.h
      	* src/tracker-search-tool/tracker-search-tool-support.c
      	* src/tracker-search-tool/tracker-search-tool-callbacks.c
      	* src/tracker-search-tool/Makefile.am
      	* src/tracker-search-tool/tracker-search-tool-support.h
      	* src/tracker-search-tool/tracker-search-tool.c
      	* src/tracker-search-tool/tracker-search-tool-callbacks.h
      
      	Patch from John Millikin <jmillikin@gmail.com>
      	Modified search tool to use GIO instead of Gnome VFS
      	
      
      
      svn path=/trunk/; revision=2356
      cab172bc
  3. 11 Oct, 2008 1 commit
  4. 10 Oct, 2008 4 commits
    • Martyn James Russell's avatar
      Fixed from make check. · 165fca9e
      Martyn James Russell authored
      	* POTFILES.in: Fixed from make check.
      
      	* src/libtracker-common/tracker-file-utils.c:
      	(tracker_path_hash_table_filter_duplicates),
      	(tracker_path_list_filter_duplicates): In both these functions
      	strip any trailing G_DIR_SEPARATOR from paths since that is the
      	format we use. Ivan't test case showed that I didn't do this in my
      	reimplementation and also from that I realised the hash table
      	variant wasn't removing the trailing G_DIR_SEPARATOR either.
      
      svn path=/trunk/; revision=2354
      165fca9e
    • Mikael Ottela's avatar
      Added locale definitions to tracker utils to fix problems with arguments... · 39d05c8c
      Mikael Ottela authored
      Added locale definitions to tracker utils to fix problems with arguments containing non-ascii characters
      
      svn path=/trunk/; revision=2353
      39d05c8c
    • Carlos Garnacho's avatar
      Turns out Evolution always store times with 32bits width regardless of the · e6e55811
      Carlos Garnacho authored
      2008-10-10  Carlos Garnacho  <carlos@imendio.com>
      
              * src/tracker-indexer/modules/evolution.c (read_summary): Turns out
              Evolution always store times with 32bits width regardless of the
              platform. Switching back so the parser doesn't go astray where time_t
              is 64bits wide.
      
      svn path=/trunk/; revision=2352
      e6e55811
    • Martyn James Russell's avatar
      Fixed ChangeLog · 90105197
      Martyn James Russell authored
      svn path=/trunk/; revision=2351
      90105197
  5. 09 Oct, 2008 14 commits
    • Mikael Ottela's avatar
      Fixed character encodings in mp3 tags · 97e9c7f7
      Mikael Ottela authored
      svn path=/trunk/; revision=2350
      97e9c7f7
    • Martyn James Russell's avatar
      Removed the if is_directory check on EVERY file monitor we add since we · b9dec436
      Martyn James Russell authored
      	* src/trackerd/tracker-monitor.c: (libinotify_monitor_directory):
      	Removed the if is_directory check on EVERY file monitor we add
      	since we know we only monitor directories.
      
      svn path=/trunk/; revision=2349
      b9dec436
    • Martyn James Russell's avatar
      Put all definitions and includes before CFLAGS (like everywhere else). Fix · b32ff7f5
      Martyn James Russell authored
      	* src/tracker-extract/Makefile.am: Put all definitions and
      	includes before CFLAGS (like everywhere else). Fix linking order.
      
      	* src/tracker-extract/tracker-extract.c: Don't call g_strstrip()
      	on NULL values, check the mime type first since it can be NULL.
      	Fixes a warning that was being produced. Also added GOption
      	support so users can do --help to see how to use the extractor
      	from the terminal.
      
      svn path=/trunk/; revision=2348
      b32ff7f5
    • Carlos Garnacho's avatar
      Plug leaks everywhere. · e23bb737
      Carlos Garnacho authored
      2008-10-09  Carlos Garnacho  <carlos@imendio.com>
      
              * src/trackerd/tracker-db.c (tracker_db_search_text)
              (tracker_db_get_metadata_field):
              * src/trackerd/tracker-metadata.c (tracker_metadata_get):
              * src/trackerd/tracker-query-tree.c (tracker_query_tree_finalize)
              (tracker_query_tree_get_hits) (tracker_query_tree_get_hit_counts):
              Plug leaks everywhere.
      
      svn path=/trunk/; revision=2347
      e23bb737
    • Carlos Garnacho's avatar
      Plug a leak. · edb7e435
      Carlos Garnacho authored
      2008-10-09  Carlos Garnacho  <carlos@imendio.com>
      
              * src/trackerd/tracker-monitor.c (get_module_name_from_gfile): Plug a
              leak.
      
      svn path=/trunk/; revision=2346
      edb7e435
    • Martyn James Russell's avatar
      Don't link with GdkPixbuf unless we have it. · 97177bd3
      Martyn James Russell authored
      	* src/tracker-extract/Makefile.am: Don't link with GdkPixbuf
      	unless we have it.
      
      	* src/tracker-extract/tracker-extract-gstreamer.c: Don't call
      	GdkPixbuf module functions unless we have GdkPixbuf.
      
      svn path=/trunk/; revision=2345
      97177bd3
    • Philip Van Hoof's avatar
      Timeout based SQLite connection for the direct-sql SqlQuery feature. The · 65a75493
      Philip Van Hoof authored
      2008-10-09  Philip Van Hoof  <philip@codeminded.be>
      
              * src/trackerd/tracker-search.c: Timeout based SQLite connection for
              the direct-sql SqlQuery feature. The connection stays open for 10
              minutes before being recyled
      
      
      svn path=/trunk/; revision=2344
      65a75493
    • Carlos Garnacho's avatar
      Do not free memory owned by TrackerOntology. · c02c5f9b
      Carlos Garnacho authored
      2008-10-09  Carlos Garnacho  <carlos@imendio.com>
      
              * src/trackerd/tracker-search.c (tracker_search_get_hit_count)
              (tracker_search_get_hit_count_all): Do not free memory owned by
              TrackerOntology.
      
      svn path=/trunk/; revision=2343
      c02c5f9b
    • Philip Van Hoof's avatar
      src/libtracker-db/tracker-db-interface-sqlite.c · 37e1ab95
      Philip Van Hoof authored
      2008-10-09  Philip Van Hoof  <philip@codeminded.be>
      
      	* src/libtracker-db/tracker-db-interface-sqlite.c
      	* src/libtracker-db/tracker-db-interface-sqlite.h
      	* src/libtracker-db/tracker-db-manager.c
      	* src/libtracker-db/tracker-db-manager.h
      	* src/trackerd/tracker-main.c
      	* src/tracker-indexer/tracker-main.c: utilizing SQLite's shared cache 
      	feature in the daemon.
      
      
      svn path=/trunk/; revision=2342
      37e1ab95
    • Mikael Ottela's avatar
      Fixed a typo in the makefile · 664722d7
      Mikael Ottela authored
      svn path=/trunk/; revision=2341
      664722d7
    • Martyn James Russell's avatar
      Added an event cache so we don't send 2 events for a cp command to the · d1c4c1ab
      Martyn James Russell authored
      	* src/trackerd/tracker-monitor.c: Added an event cache so we don't
      	send 2 events for a cp command to the indexer - this is an
      	efficiency improvement. Now we just send CREATED to the indexer
      	instead of CREATED & UPDATED. This fixes NB#88769.
      
      svn path=/trunk/; revision=2340
      d1c4c1ab
    • Philip Van Hoof's avatar
      configure.ac src/libtracker-db/tracker-db-interface-sqlite.c · 1380d13c
      Philip Van Hoof authored
      2008-10-09  Philip Van Hoof  <philip@codeminded.be>
      
      	* configure.ac
      	* src/libtracker-db/tracker-db-interface-sqlite.c
      	* src/libtracker-db/tracker-db-interface-sqlite.h
      	* src/libtracker-db/tracker-db-manager.c
      	* src/libtracker-db/tracker-db-manager.h
      	* src/trackerd/tracker-search.c
      	* src/trackerd/tracker-search.h
      	* data/dbus/tracker-search.xml: Added a method to access the database
      	using normal SQL queries. Please do not use this API in applications
      	unless you understand the consequences of the DB schema changing at
      	unannounced moments.
      
      
      svn path=/trunk/; revision=2339
      1380d13c
    • Philip Van Hoof's avatar
      src/libtracker-db/tracker-db-interface-sqlite.c · 061a2cb1
      Philip Van Hoof authored
      2008-10-09  Philip Van Hoof  <philip@codeminded.be>
      
      	* src/libtracker-db/tracker-db-interface-sqlite.c
      	* src/libtracker-db/tracker-db-interface-sqlite.h
      	* src/libtracker-db/tracker-db-manager.c
      	* src/libtracker-db/tracker-db-manager.h
      	* src/trackerd/tracker-search.c
      	* src/trackerd/tracker-search.h
      	* data/dbus/tracker-search.xml: Added a method to access the database
      	using normal SQL queries. Please do not use this API in applications
      	unless you understand the consequences of the DB schema changing at
      	unannounced moments.
      
      
      svn path=/trunk/; revision=2338
      061a2cb1
    • Daniel Nylander's avatar
      sv.po: Updated Swedish translation · 46677af6
      Daniel Nylander authored
      svn path=/trunk/; revision=2337
      46677af6
  6. 08 Oct, 2008 9 commits