2009-11-27 Martyn Russell NEWS: Updated with last minute fix Fixed make distcheck failures 2009-11-27 Jürg Billeter libtracker-fts: Fix invalid read in parser 2009-11-27 Carlos Garnacho TrackerWriteback: Add logging infrastructure. There is now a separate config file for tracker-writeback, at the moment it just contains the Verbosity parameter. tracker-writeback now also takes command line parameters for it. 2009-11-27 Martyn Russell configure.ac: Bumped version to 0.7.9. NEWS: Updated for release 2009-11-27 Jürg Billeter libtracker-data: Fix error handling for anonymous blank nodes Errors occurring in inserts within anonymous blank nodes were not propagated correctly. libtracker-data: Fix build with vala master Update .gitignore 2009-11-26 Martyn Russell tracker-preferences: Fixed a number of UI issues - Title is now "Tracker Preferences", not "tracker-preferences" - Indexing options are now on their own page "Indexing" - Split out the throttle and disk space limit into their own group - Added mnemonics for notification area options - Fixed the notification area spacing for the group. 2009-11-26 Philip Van Hoof Post review fixes for configure.ac 2009-11-26 Carlos Garnacho Use a separate thread to dispatch DBus writeback signals. TrackerWritebackDispatcher has been splitted into dispatcher/consumer. The former runs in a separate thread, listening for writeback signals from tracker-store and notifying the main thread about them. The consumer just has these petitions queued and processes them one by one, This way, operations performed by the consumer may be blocking, while the dispatcher will be able to receive DBus signals at any time. 2009-11-26 Philip Van Hoof Added some more fields to the XMP writeback module 2009-11-26 Martyn Russell tracker-writeback: Some code clean ups from initial review Added some debugging too, so I could see what was going on. 2009-11-26 Philip Van Hoof Clean exit when service already running Refactored content-type check to abstract TrackerWritebackFile 2009-11-26 Carlos Garnacho Make sure the fd isn't closed as long as the lock stays. 2009-11-26 Philip Van Hoof Handling writeback in tracker-miner-fs When a writeback takes place, tracker-miner-fs must NOT create a SPARQL Update that contains any predicates that are marked as tracker:notify. For this reason I added a mechanism for marking a subject in tracker-miner-fs's queues: The first next time the subject is to be analyzed it checks whether the subject was marked. If it was marked then instead of doing a full extraction, tracker-miner-fs will only get a few properties (like mime, mtime, size). * MIME because the content-type of a file might have changed by writeback * Size because the size of the file might have changed by writeback * Mtime because the writeback will update the file's mtime, and we want to sync tracker-store with that too Added writeback module for XMP 2009-11-26 Carlos Garnacho TrackerWritebackDispatcher: add sanity check on returned metadata. TrackerWritebackMP3: Make it inherit from TrackerWritebackFile. TrackerWritebackFile: Added base implementation for local files. This object implements file locking for local files, and provides an specialized vmethod as well. tracker-file-utils.c: Add file locking API. This API will be used by the writeback service, so TrackerMinerFS implementations don't obey updates while metadata is being written. 2009-11-26 Philip Van Hoof Added filter for the list of rdf:type being passed vs. module to elect Pass the known list of rdf:types to the Writeback signal Only report writeback for default graph Implemented writeback for MP3's Title field using id3lib This is a prototype implementation 2009-11-26 Carlos Garnacho tracker-writeback: Hook writeback modules to the dispatcher. There's still work left to do, the dispatcher should maintain a mimetype/module hashtable, so it can create TrackerWriteback objects for each file, right now the first found module (currently the dummy one) is used. TrackerWriteback: add dummy module. Modules will derive from the TrackerWriteback object, its API has to be devised yet. 2009-11-26 Philip Van Hoof Changed from using a method to listening on the Writeback signal Also added a small sample that calls back in on_sparql_result_received that will simply print all the statements that have predicate tracker:writeback set 2009-11-26 Carlos Garnacho Add initial tracker-writeback implementation. It does close to nothing at the moment, but functionality will be added over time. 2009-11-26 Philip Van Hoof Signalling Writeback in case a property marked as tracker:writeback is changed All miner SPARQL Update queries need FROM or INTO to avoid writeback When INTO or FROM are passed, graph in tracker_writeback_check wont be NULL. A NULL graph means 'default graph' or 'something that came from the user'. We only want to do writeback for things that came from the user. This is how we distinguish between content from the miner and content from the user. 2009-11-26 Ivan Frade Doc: XSD ontology explanation. Not much to say about it. Doc: First draft of NMM doc. Images and Radio. NMM: Restore DLNA profile and uPnP shared properties 2009-11-25 Jürg Billeter libtracker-common: Consider MMC volumes mounted in /media as removable Fixes NB#135360. libtracker-data: Support NULL as error parameter for update functions libtracker-data: Add blank node test SPARQL: Return generated URIs for inserted blank nodes 2009-11-25 Philip Van Hoof Fixed XMP Title's coalesce 2009-11-25 Ivan Frade Doc: MFO brief explanation and diagram Added mfo:optional property to the enclosures NMM: Renamed predefined instances to follow the name convention Add notation to the main page. Updated doc-doc 2009-11-24 Adrien Bustany libtracker-miner: Make TrackerMiner use standard gio callbacks and port TrackerMinerFS TrackerMiner previously used custom callbacks for its async calls tracker_miner_execute_sparql, tracker_miner_execute_update etc. This commit changes the API to make them use the standard GLib callback pattern my_callback (GObject *source, GAsyncResult *result, gpointer user_data) . The API of TrackerMinerFS is not changed, but it's internaly ported to the new functions. The miners using the tracker_miner_* functions have to be ported to use the new API. This patch also ports the existing miners. 2009-11-23 Juan A. Suarez Romero Fixes GB#598470, Search entry icons grayed out Fixes NB#600973, tracker-control: don't use "-h" to remove thumbnails 2009-11-23 Carlos Garnacho TrackerMinerFS: Critical messages are fine for most impl errors. Miner implementations weren't able to extract metadata, probably for a good reason, so issue critical warnings for all of them, but the "file not found" case. 2009-11-23 Juan A. Suarez Romero tracker-parser: skip empty strings in parser_next This fixes a crash in tracker-store. 2009-11-23 Ivan Frade Doc: Include predefined instances in the class documentation Add all properties in property constructor/destructor Add nmm:alternativeMedia property To link resources that are the same with different encodings and codecs. For instance, resources exposed by a uPnp server Add main page to the documentation Doc: Few presentation improvements in HTML More space between sections (Authors, editors, ...) Dont print contributors if there are none Print "not available" instead of a mock link if there is not upstream equivalent ontology Doc: Real data in NCAL description Doc: Remove mock contributor in MLO Doc: Real data in MFO description Doc: Real data in NMM description Doc: Real data in MTO description Doc: Real data in NAO description Doc: Real data in NFO description Doc: Real data in NCO description Doc: Add the three logos (tracker, maemo, nepomuk) on the generated pages Doc: Added more logos and few CSS fixes to get a nicer header 2009-11-23 Juan A. Suarez Romero Upgrade Exempi requirement from 1.99.2 to 2.1.0 NS_PDF has been added in Exempi 2.1 2009-11-23 Martyn Russell libtracker-miner: Fixed redundant code. Spotted by Philip. libtracker-miner: Fixed memory corruption for dir moves Philip spotted this after Tshepang's testing. There are three issues this patch fixes: 1. Inserting a GFile into a hash table without incrementing a reference causes a reference count problem and leads to using memory which is no longer valid. 2. Using the same INotifyHandle* for a different directory name is broken and that's what we were doing when moving directories. 3. We should actually recursively be removing all old monitors and re-adding monitors for the new sub-directory names. tracker-extract: Fixed link errors using binutils-gold's ld libtracker-common: Fixed tests linking errors with binutils-gold's ld tracker-status-icon: Fixed linking errors with binutils-gold's ld tracker-extract: Fix autofoo warnings about unused mockup_SOURCES libtracker-miner: Fixed example linking with binutils-gold's ld libtracker-miner: Moved test/ directory to examples/ I did this because although it does test the API, it also shows it off like tracker-miner-fs. This is mostly a good way to show others how to build their own miners. libtracker-miner: Updated test case to use ::finished not ::terminated Actually, ::terminated is completely unused and should probably be removed at some point. tracker-miner-fs: Removed unused tracker_storage_new() call This was resulting in us listing and iterating all HAL devices twice each time miner-fs was started tracker-miner-fs: Index $HOME one level deep by default 2009-11-21 Michael Tameni Use correct Exception name on import 2009-11-21 Jorge González Updated Spanish translation