tracker r2100 - in branches/indexer-split: . src/tracker-indexer src/tracker-indexer/modules
- From: carlosg svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2100 - in branches/indexer-split: . src/tracker-indexer src/tracker-indexer/modules
- Date: Tue, 19 Aug 2008 10:45:40 +0000 (UTC)
Author: carlosg
Date: Tue Aug 19 10:45:40 2008
New Revision: 2100
URL: http://svn.gnome.org/viewvc/tracker?rev=2100&view=rev
Log:
2008-08-19 Carlos Garnacho <carlos imendio com>
* src/tracker-indexer/modules/evolution.c (get_mbox_attachment_uri):
Also remove ".sbd" from the mbox uris here.
* src7tracker-indexer/tracker-indexer.c (struct
TrackerIndexerPrivate): pack booleans into guints.
(handle_metadata_add): Actually return a boolean if checks fail.
Modified:
branches/indexer-split/ChangeLog
branches/indexer-split/src/tracker-indexer/modules/evolution.c
branches/indexer-split/src/tracker-indexer/tracker-indexer.c
Modified: branches/indexer-split/src/tracker-indexer/modules/evolution.c
==============================================================================
--- branches/indexer-split/src/tracker-indexer/modules/evolution.c (original)
+++ branches/indexer-split/src/tracker-indexer/modules/evolution.c Tue Aug 19 10:45:40 2008
@@ -636,6 +636,7 @@
gchar *dir;
dir = tracker_string_replace (file->path, local_dir, NULL);
+ dir = tracker_string_remove (dir, ".sbd");
*dirname = g_strdup_printf ("email://local local/%s;uid=%d",
dir, get_mbox_message_id (message));
Modified: branches/indexer-split/src/tracker-indexer/tracker-indexer.c
==============================================================================
--- branches/indexer-split/src/tracker-indexer/tracker-indexer.c (original)
+++ branches/indexer-split/src/tracker-indexer/tracker-indexer.c Tue Aug 19 10:45:40 2008
@@ -131,8 +131,8 @@
guint files_indexed;
guint items_processed;
- gboolean in_transaction;
- gboolean is_paused;
+ guint in_transaction : 1;
+ guint is_paused : 1;
};
struct PathInfo {
@@ -1282,7 +1282,7 @@
gchar *joined, *dirname, *basename;
gint len;
- g_return_val_if_fail (error == NULL || *error == NULL, NULL);
+ g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
service_def = tracker_ontology_get_service_type_by_name (service_type);
if (!service_def) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]