2011-09-09  Jürg Billeter  <j@bitron.ch>

	functional-tests: Remove expected failure annotation from NB#281201 test
	The bug was fixed by commit f595906.

2011-09-09  Marek Černocký  <marek@manet.cz>

	Updated Czech translation

2011-09-09  Martyn Russell  <martyn@lanedo.com>

	build: Require GLib 2.28 (was 2.26)
	Recent code uses g_slist_free_full() which is only in 2.28.

2011-09-08  Piotr Drąg  <piotrdrag@gmail.com>

	Updated Polish translation

2011-09-08  Jürg Billeter  <j@bitron.ch>

	libtracker-sparql: Reference .so.0 instead of .so in typelib
	.so files are commonly packaged in -devel, separate from the main
	library package.

	Fixes GB#658588.

2011-09-08  Martyn Russell  <martyn@lanedo.com>

	Merge branch 'forced-mtime-check-per-directory'

2011-09-08  Aleksander Morgado  <aleksander@lanedo.com>

	libtracker-extract: plug a leak

	libtracker-extract: ensure valid dbus connection when cancelling tasks

	libtracker-miner: clear forced mtime check directories once first crawled

	tracker-miner-fs: force mtime checks on inconsistent mounts
	If a mount is reported to be unmounted in the store, but was found mounted when
	tracker-miner-fs started, force a mtime check in the mount.

	libtracker-miner: new tracker_miner_fs_force_mtime_checking() method
	This method allows specifying which directories will be forced to have mtime
	checks, regardless of the global mtime checking configuration.

	Fixes NB#277052.

	tests: ensure XMP test files are found when srcdir != builddir

	tests: fix indentation in libtracker-extract/xmp functional tests

2011-09-08  Philip Van Hoof  <philip@codeminded.be>

	libtracker-miner: Add the file to which the symlinks point in don't-remove list
	Fixes NB#281183.

2011-09-08  Bruce Cowan  <bruce@bcowan.me.uk>

	Updated British English translation

2011-09-07  Philip Van Hoof  <philip@codeminded.be>

	First delete in case superprop is multivalue and prop isn't for IorR
	Fixes NB#281201.

	tracker-extract, gif: Fix compilation error for GIF extractor

	libtracker-data: Fix using null with date fields in insert or replace
	Fixes NB#281540.

2011-09-07  Martyn Russell  <martyn@lanedo.com>

	tracker-extract: Don't leak where clause in image extractions
	This was leaking for gif, jpeg, pdf, png, tiff and xmp

	Merge branch 'experiment-with-roi'

	libtracker-extract: Remove where and uri args from tracker_xmp_apply_regions()
	These were unused.

	Also documented the function to explain where it's used compared to
	tracker_xmp_apply().

2011-09-06  Martin Srebotnjak  <miles@filmsi.net>

	Updated Slovenian translation

2011-09-06  Martyn Russell  <martyn@lanedo.com>

	libtracker-extract: Support graph in tracker_xmp_apply_regions()

	libtracker-extract: Return TRUE in tracker_xmp_apply_regions() if no regions

	tracker-extract: Fix a number of memory leaks
	- mimetype in extract_task_new()
	- task_mutex in TrackerExtract private struct
	- TrackerMimetypeInfo in extract_task_free()
	- graph string in extract_task_free()

	libtracker-extract: Fixed memory leak in iterate_simple() for XMP data

	libtracker-extract: Use GSlice and free TrackerXmpRegion structures
	We weren't freeing the TrackerXmpRegion structures and GSlice makes sense when
	we have multiple regions (which is expected).

	libtracker-extract: Don't assume ':' exists in every path we iterate
	This makes sure we don't accidentally return g_strdup(NULL + 1) when iterating
	XMP data

	libtracker-extract: Fix coding style issues
	Also make sure tracker_xmp_apply_regions:
	- returns a boolean for success
	- checks parameters input (given it's a public API)

	Use a GSList for regions not a GList (which isn't necessary).

2011-09-06  Ivan Frade  <ivan.frade@gmail.com>

	functional-tests: JPG with regions of interest to test extraction

	tracker-extract: TIFF: build sparql for regions of interest in XMP

	tracker-extract: PDF: build sparql for regions of interest in XMP

	tracker-extrcat: GIF: build Sparql for regions of interest in XMP

	functional-tests: PNG with regions of interest for the extraction test data
	Expected failure at the moment. Could be a wrong XMP in the file or
	code missing in tracker-xmp... Moving on but this deserves a look.

	functional-tests: extraction test, support <uuid> urls

	functional-tests: Test for "INSERT OR REPLACE does not update superproperties"

	tracker-extract: JPEG: generate sparql for the regions of interest in the metadata
	Fixes NB#271437

	libtracker-extract: new function to generate sparql of the region struct
	Input arguments "uri" and "where" are not needed, but I keep the there
	for consistency with the other sparql-generation function.

	libtracker-extract: handle correctly XMP namespaces
	We instruct XMP to use a known prefix for the namespaces, so we can
	use it in the comparison in the code

	libtracker-extract: test for XMP with custom namespaces prefixes

	NFO: Add cardinality restrictions to the properties

	NFO: Regions of interest in images

	libtracker-extract: Very first implementation of the Region extraction from XMP

	libtracker-extract: Unit test to read regions in the XMP metadata

2011-09-06  Martyn Russell  <martyn@lanedo.com>

	Merge branch 'wip/extract-graphs'

	libtracker-extract: Fixed unit tests which now require a graph parameter

2011-09-06  Jürg Billeter  <j@bitron.ch>

	libtracker-common: Do not delete old log
	Avoid losing information from previous runs.

2011-09-06  Philip Van Hoof  <philip@codeminded.be>

	tracker-extract, libtracker-extract, xmp: Do all inserts in miner-fs's graph

	tracker-extract, vorbis: Do all inserts in miner-fs's graph

	tracker-extract, totem: Do all inserts in miner-fs's graph

	tracker-extract, tiff: Do all inserts in miner-fs's graph

	tracker-extract, png: Do all inserts in miner-fs's graph

	tracker-extract, pdf: Do all inserts in miner-fs's graph

	tracker-extract, mplayer: Do all inserts in miner-fs's graph

	tracker-extract, libxine: Do all inserts in miner-fs's graph

	tracker-extract, jpeg: Do all inserts in miner-fs's graph

	tracker-extract, gstreamer: Do all inserts in miner-fs's graph

	tracker-extract, gif: Do all inserts in miner-fs's graph

2011-09-06  Martyn Russell  <martyn@lanedo.com>

	libtracker-extract: Fixed missing "Since" in documentation

2011-09-06  Philip Van Hoof  <philip@codeminded.be>

	tracker-extract, flac: Do all inserts in miner-fs's graph

	tracker-extract, mp3: Don't use the graph in the deletes

	examples/libtracker-extract: Fix mockup example's API usage

	tracker-extract, mp3: Do all inserts in miner-fs's graph

2011-09-06  Martyn Russell  <martyn@lanedo.com>

	tracker-extract: Fixed reference to non-existent variable
	This whole are is quite broken inside HAVE_LIBSTREAMANALYZER anyway.

	tracker-extract: Fix potential memory leak with XMP where string

	libtracker-extract: Fixed some small coding style issues

2011-09-06  Carlos Garnacho  <carlosg@gnome.org>

	Revert "ontology: Remove tracker:writeback property from nao:prefLabel"
	This reverts commit 9dcee2bdc0ef2beb9be83b31180c18fb2c0ecfbd.

	Tracker-extract won't trigger anymore a writeback petition when inserting
	tags. So, even if it doesn't work yet as expected, is not harmful in normal
	operations.

	tracker-extract: use provided graph when inserting keywords from PDF documents

	tracker-extract: use provided graph when inserting keywords from PNG images

	tracker-extract: use provided graph when inserting keywords from TIFF images

	tracker-extract: use provided graph when inserting keywords from JPEG images

	tracker-extract: use provided graph when inserting keywords from GIF images

	tracker-extract: Pass the graph down to extract modules
	The passed TrackerExtractInfo will now contain the graph that should
	be used for data modifications

	tracker-extract: Add a "graph" parameter to dbus methods
	Now the requester may provide a graph, that should be used by tracker-extract
	for any insert clause it generates in the preupdate sparql builder.

	tracker-extract: Pass a TrackerExtractInfo to the exported extract function
	This struct replaces all previous arguments, with the advantage that it can
	be extended at any time, containing all necessary information for modules
	to to their work correctly.

	All modules have been changed to deal with the new function signature.

	libtracker-extract: Move TrackerExtractInfo out to its own header
	The API has changed slightly too, it is a refcounted boxed object, and
	contains TrackerSparqlBuilders for preinsert/metadata contents. This is
	so it may be passed on to extract modules.

	Current users of TrackerExtractInfo have been modified to deal with the
	API change.

	libtracker-sparql: Allow append() on embedded inserts in TrackerSparqlBuilder
	The result() method was returning nothing for these if only append() is used
	to introduce content in a TrackerSparqlBuilder created through the embedded_insert()
	constructor.

2011-09-06  Martyn Russell  <martyn@lanedo.com>

	tracker-miner-fs: Improve query performance for updating tracker:available on mounting
	Previously we had an OPTIONAL and FILTER in the query. This translated into
	quite a delay when updating even a small number of resources in the database
	and subsequently affected the crawling speed upon re-mounting.

	Given we don't *ever* expect there to be resources for the given
	nie:dataSource which are in the wrong tracker:available state, we don't need
	the OPTIONAL or FILTER there.

	This fixes NB#272441

2011-09-06  Aleksander Morgado  <aleksander@lanedo.com>

	tracker-extract,gstreamer: if possible, use Tagreadbin backend in the Discoverer
	By default, the GUPnP-DLNA and GStreamer discoverers use Decodebin2 backend to
	read tags. But, if Tagreadbin is available, we should really use it instead.

	See:
	 https://bugzilla.gnome.org/show_bug.cgi?id=564749
	 https://bugzilla.gnome.org/show_bug.cgi?id=656345

2011-09-05  Mario Blättermann  <mariobl@gnome.org>

	[l10n] Updated German translation

2011-09-05  Jürg Billeter  <j@bitron.ch>

	libtracker-data: Do not delete database and do not exit on corruption
	If there is no journal, deleting the database will cause data loss. Do
	not do this automatically as it should not be common with SQLite fsync
	enabled and we cannot be sure that database file is not usable anymore.

	libtracker-data: Remove useless calls before exit on database corruption

	thunderbird: Fix Makefile

2011-09-05  Vincent Untz  <vuntz@gnome.org>

	thunderbird: Do not call update-desktop-database when building packages
	Fixes GB#658232

	thunderbird: Fix .desktop file
	The MimeType value is a list and therefore should end with a ;.

	https://bugzilla.gnome.org/show_bug.cgi?id=658231

2011-09-05  Fran Dieguez  <fran@openhost.es>

	Updated galician translations

2011-09-03  Claude Paroz  <claude@2xlibre.net>

	Updated French translation

2011-09-02  Aleksander Morgado  <aleksander@lanedo.com>

	tracker-extract: remove unneeded source file
	The GUPnP-DLNA extractor was merged into tracker-extract-gstreamer.c

2011-09-01  Daniel Mustieles  <daniel.mustieles@gmail.com>

	Updated Spanish translation

2011-09-01  Martyn Russell  <martyn@lanedo.com>

	Merge branch 'handle-desktop-links'

	tracker-miner-fs: Check URL is provided for desktop file Type=Link
	Also free the url after use.

2011-09-01  Jürg Billeter  <j@bitron.ch>

	libtracker-data: Use ontology from database if cache is unavailable
	Fixes NB#279789.

2011-09-01  Adrien Bustany  <adrien.bustany@nokia.com>

	Firefox plugin: bump compatibility to 6.0.*

	Thunderbird plugin: bump compatibility to 7.0.*

2011-08-31  Carlos Garnacho  <carlos@lanedo.com>

	tracker-miner-applications: Handle desktop files of type=Link
	Fixes NB#256958. Such desktop files are often just links to some URL,
	so handle these as nfo:Bookmark in the applications miner.

2011-08-31  Martyn Russell  <martyn@lanedo.com>

	Merge branch 'tracker-control-verbosity'

	tracker-control: Added man page documentation for --{get|set}-log-verbosity

	tracker-control: Add work for initial --set-log-verbosity

	tracker-control: Add work for initial --get-log-verbosity

	libtracker-sparql: Don't package .gir/.typelib files in tarballs
	Fixes GB#657354.

2011-08-30  Jürg Billeter  <j@bitron.ch>

	tracker-miner-fs: Reindex applications on locale change
	Fixes NB#276858.

	libtracker-sparql: Add tracker_sparql_cursor_close
	This allows resetting the underlying SQLite statement before freeing
	the cursor, mainly needed when using libtracker-sparql from garbage
	collected languages.

	Based on patch by Cosimo Cecchi.

2011-08-26  Philip Van Hoof  <philip@codeminded.be>

	Fix crash in case of error in MeeGo Harmattan locale handling
	Fixes NB#276830.

2011-08-25  Sam Thursfield  <sam.thursfield@codethink.co.uk>

	Merge branch 'functional-test-improvements'

	functional-tests: Only run tests that are +x
	This fixes a regression from the existing behaviour

	Fixes GB#655898

2011-08-25  Sam Thursfield  <samthursfield@codethink.co.uk>

	functional-tests: Make quiet by default
	Add -v / --verbose option, which enables output of the helper status
	messages and also stdin/stderr of the tracker processes being tested.

	functional-tests: Run all tests with a fake $HOME sandbox
	Prefer storing test data in /tmp to avoid leaving cruft around the
	home directory.

	For tests that rely on filesystem monitoring, we must use the real
	home directory anyway because FS miner currently ignores paths under
	/tmp.

	If /tmp is too small/unsuitable for test data, the preferred method
	for using a different location is to set TMPDIR.

	functional-tests: Refactor common/utils/helpers.py
	* Add Helper base class.

	* New setup behaviour: start() runs the process and blocks until it is
	  available on the bus. connect() and wait() are removed.

	* A new process is always explicitly spawned, instead of relying on DBus
	  activation. This allows passing environment variables to the tracker
	  processes being tested, regardless of whether they are being run in
	  the session dbus or a nested bus from test-helper.sh.

	* common/utils/system.py: use Helper instead of our own LifeCycle
	  classes because they now do the same thing.

	* StoreHelper: don't try to respawn the tracker-store unless it actually
	  has disappeared from the bus - other exceptions are now passed to the
	  caller.

	All tests fixed for new behaviour.

	functional-tests: Run tests inside an isolated DBus instance

2011-08-25  Stefano Facchini  <stefano.facchini@gmail.com>

	libtracker-miner: fix error propagation in tracker_miner_manager_new_full
	Propagate inner_error and remove the warning message, letting the caller
	handle the error

	Fixes GB#657161

2011-08-25  Jürg Billeter  <j@bitron.ch>

	Merge branch 'nb242979'

	SPARQL: Use single hash table and array for all update solutions
	This reduces peak memory usage for updates with a WHERE clause that
	returns many solutions.

	SPARQL: Add Solution helper class

	libtracker-data: Do not error out when deleting non-existing statement
	There is no need to report an error for domain mismatch on delete.
	This fixes DELETE { <foo:bar> ?p ?v } WHERE { <foo:bar> ?p ?v}

	SPARQL: Ensure that WHERE clause is evaluated before performing updates
	This will increase peak memory usage for updates with a WHERE clause
	that returns many solutions.

	Fixes NB#242979.

2011-08-25  Ivan Frade  <ivan.frade@gmail.com>

	functional-tests: Print the current test name before running it

2011-08-24  Sam Thursfield  <sam.thursfield@codethink.co.uk>

	functional-tests: Use correct argv in 400-extractor.py

2011-08-24  Ivan Frade  <ivan.frade@gmail.com>

	functional-tests: Fail instead of error when gstreamer plugin not preset. Handle correctly nao:Tags.

	functional-tests: Allow to run one specific .expected file in the 400-extractor.py

2011-08-24  Sam Thursfield  <sam.thursfield@codethink.co.uk>

	tracker-evolution: Fix compile with Evolution 2.9x

2011-08-24  Carlos Garnacho  <carlos@lanedo.com>

	ontology: Remove tracker:writeback property from nao:prefLabel
	Fixes NB#278806, this property only applies to nao:Tag entities, not
	on files, so whenever a file with XMP keywords was added, the insertion
	of the keywords would trigger a writeback petition in the miner. This
	would add a writeback task that would issue a costly query only to find
	out it doesn't directly affect any nfo:FileDataObject.

	If several files with these characteristics were created, the effect
	would be multiplied as writeback petitions would be requested faster
	than delivered, filling the writeback queue and hence blocking any
	other processing.

2011-08-23  Jürg Billeter  <j@bitron.ch>

	tracker-evolution: Add support for Evolution 3.2
	Fixes GB#654824.

	tracker-evolution: Refactor convert_url_to_whatever to message_uri_build

2011-08-23  Philip Van Hoof  <philip@codeminded.be>

	tracker-extract: Improve error debugging for album art handling

2011-08-22  Jürg Billeter  <j@bitron.ch>

	tests/libtracker-extract: Fix orientation test

2011-08-22  Philip Van Hoof  <philip@codeminded.be>

	tracker-extract: Fix memory leak on stream

2011-08-22  Martyn Russell  <martyn@lanedo.com>

	Merge branch 'orientation-fix'

2011-08-22  Mikael Ottela  <mikael.ottela@ixonos.com>

	libtracker-extract: Fix the orientation handling in xmp
	Fixes NB#277799

2011-08-21  Philip Van Hoof  <philip@codeminded.be>

	tracker-extract: Fix memleak after own review, obvious one

2011-08-20  Jürg Billeter  <j@bitron.ch>

	tracker-extract-mp3: Do not always use guessed encoding for ID3v2
	Always using guessed 8-bit encoding for ID3v2 breaks some valid MP3
	files. This commit disables use of guessed encoding for ID3v2 except
	for Cyrillic locales where broken ID3v2 tags appear to be common.

	Fixes NB#278171.

2011-08-19  Philip Van Hoof  <philip@codeminded.be>

	Merge branch 'avoid-album-art-duplicates'

	tracker-extract: Bugfix, strcmp wrongly used and double free

	tracker-extract: Support detecting non-jpeg embedded album art

	tracker-extract: Use incremental checksum calc to avoid memory use
	For large files the use of g_file_get_contents wasn't a very good
	idea. Instead with this patch we change that to use the support
	for incrementally calculating the checksum, and then using a
	GFileInputStream to read from the file in chunks of 1024 bytes.

	tracker-extract: Fix whitespace issues

	tracker-extract: Set retval to false if contents can't be read

	tracker-extract: Handle artist=null use-case for cover.jpg/png too

	tracker-extract: Remove temp file in case of convert + symlink

	tracker-extract: Add code comments about handling album art

	tracker-extract: Avoid albumart duplicates for cover.png

	tracker-extract: Avoid albumart duplicates for cover.jpg

	tracker-extract: Avoid albumart duplicates for embedded

2011-08-19  Martyn Russell  <martyn@lanedo.com>

	tracker-extract-gupnp-dlna: Initialise all variables in MetadataExtractor struct

	tracker-extract-gstreamer: Don't mention URI for dlna debugging
	We don't do this because the URI is already mentioned several times before we
	get to this point and it just spams the logs

	Merge branch 'dlna-mime'

2011-08-19  Mikael Ottela  <mikael.ottela@ixonos.com>

	NMM: Add property nmm:dlnaMime for dlna specific mimetypes tracker-extract-gstreamer: Add support for dlnaMime
	Fixes NB#246131, DLNA mime-types needed

2011-08-19  Sam Thursfield  <sam.thursfield@codethink.co.uk>

	tracker-extract-gstreamer: Don't check for GST_TAG_DEVICE_MAKE
	The xmp and exif elements return GST_TAG_DEVICE_MANUFACTURER; nobody
	is using GST_TAG_DEVICE_MAKE any more.

	Fixes GB#656838

	tracker-extract-gstreamer: Remove redundant tag definitions
	GST_TAG_DEVICE_MODEL and GST_TAG_DEVICE_MANUFACTURER are upstream
	since 0.10.30.

2011-08-18  Martyn Russell  <martyn@lanedo.com>

	tracker-miner-fs: Use XDG locations not static values for desktop files
	We were using just $prefix/share/{applications|desktop-directories}. Now we
	use {applications|desktop-directories} for all XDG system dirs and XDG user
	dirs. This list can include for example:

	: Setting up applications to iterate from XDG system directories
	:   Adding:'/usr/share/gnome-classic/applications'
	:   Adding:'/usr/share/gnome-classic/desktop-directories'
	:   Adding:'/usr/share/gnome/applications'
	:   Adding:'/usr/share/gnome/desktop-directories'
	:   Adding:'/usr/local/share/applications'
	:   Adding:'/usr/local/share/desktop-directories'
	:   Adding:'/usr/share/applications'
	:   Adding:'/usr/share/desktop-directories'
	: Setting up applications to iterate from XDG user directories
	:   Adding:'/home/martyn/.local/share/applications'
	:   Adding:'/home/martyn/.local/share/desktop-directories'
	: Setting up applications to iterate from MeegoTouch directories
	:   Adding:'/usr/lib/duicontrolpanel/'

	Previously the list was 3 locations. So now more applications are indexed.

	This fixes NB#256958