tracker r2295 - in trunk: . docs docs/reference docs/reference/libtracker-common src/libtracker-common src/tracker-applet src/tracker-indexer src/tracker-search-tool src/trackerd



Author: mr
Date: Thu Oct  2 16:53:07 2008
New Revision: 2295
URL: http://svn.gnome.org/viewvc/tracker?rev=2295&view=rev

Log:
	* configure.ac: Added version information and new documentation
	Makefiles. 

	* docs/Makefile.am:
	* docs/reference/COPYING:
	* docs/reference/Makefile.am:
	* docs/reference/README:
	* docs/reference/libtracker-common/libtracker-common-docs.sgml:
	* docs/reference/libtracker-common/libtracker-common-sections.txt:
	Added for initial libtracker-common documentation.

	* src/tracker-applet/tracker-applet.c: 
	* src/tracker-indexer/tracker-main.c:
	* src/tracker-search-tool/tracker-search-tool.c:
	* src/trackerd/tracker-daemon.c: 
	* src/trackerd/tracker-main.c: Fixed VERSION to be PACKAGE_VERSION.


Added:
   trunk/docs/reference/
   trunk/docs/reference/COPYING
   trunk/docs/reference/Makefile.am
   trunk/docs/reference/README
   trunk/docs/reference/libtracker-common/
   trunk/docs/reference/libtracker-common/libtracker-common-docs.sgml
   trunk/docs/reference/libtracker-common/libtracker-common-sections.txt
   trunk/docs/reference/libtracker-common/version.xml.in
Modified:
   trunk/ChangeLog
   trunk/configure.ac
   trunk/docs/Makefile.am
   trunk/src/libtracker-common/tracker-config.c
   trunk/src/libtracker-common/tracker-config.h
   trunk/src/tracker-applet/tracker-applet.c
   trunk/src/tracker-indexer/tracker-main.c
   trunk/src/tracker-search-tool/tracker-search-tool.c
   trunk/src/trackerd/tracker-daemon.c
   trunk/src/trackerd/tracker-main.c

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Thu Oct  2 16:53:07 2008
@@ -3,10 +3,59 @@
 # This file is part of Tracker.
 
 AC_PREREQ(2.59)
-AC_INIT([tracker],[0.6.6],[tracker-list gnome org])
+
+# Making releases:
+#   TRACKER_MICRO_VERSION += 1;
+#   TRACKER_INTERFACE_AGE += 1;
+#   TRACKER_BINARY_AGE += 1;
+# if any functions have been added, set TRACKER_INTERFACE_AGE to 0.
+# if backwards compatibility has been broken,
+# set TRACKER_BINARY_AGE and TRACKER_INTERFACE_AGE to 0.
+m4_define([tracker_major_version], [0])
+m4_define([tracker_minor_version], [6])
+m4_define([tracker_micro_version], [6])
+m4_define([tracker_interface_age], [0])
+m4_define([tracker_binary_age],
+          [m4_eval(100 * tracker_minor_version + tracker_micro_version)])
+m4_define([tracker_version],
+          [tracker_major_version.tracker_minor_version.tracker_micro_version])
+# This is the X.Y used in -llibtracker-FOO-X.Y
+m4_define([tracker_api_version], [0.6])
+
+# Define a string for the earliest version that this release has
+# backwards binary compatibility with for all interfaces a module
+# might. Unless we add module-only API with lower stability
+# guarantees, this should be unchanged until we break binary compat
+# for Tracker.
+#
+# TRACKER_BINARY_VERSION=$TRACKER_MAJOR_VERSION.$TRACKER_MINOR_VERSION.$LT_CURRENT
+m4_define([tracker_binary_version], [0.6.0])
+
+AC_INIT([tracker], [tracker_version],
+        [http://bugzilla.gnome.org/enter_bug.cgi?product=tracker],
+	[tracker])
 
 AC_CONFIG_SRCDIR([src/trackerd/tracker-main.c])
-AM_INIT_AUTOMAKE([dist-bzip2])
+
+AM_INIT_AUTOMAKE(no-define)
+AM_CONFIG_HEADER(config.h)
+
+TRACKER_MAJOR_VERSION=tracker_major_version
+TRACKER_MINOR_VERSION=tracker_minor_version
+TRACKER_MICRO_VERSION=tracker_micro_version
+TRACKER_INTERFACE_AGE=tracker_interface_age
+TRACKER_BINARY_AGE=tracker_binary_age
+TRACKER_VERSION=tracker_version
+TRACKER_API_VERSION=tracker_api_version
+TRACKER_BINARY_VERSION=tracker_binary_version
+AC_SUBST(TRACKER_MAJOR_VERSION)
+AC_SUBST(TRACKER_MINOR_VERSION)
+AC_SUBST(TRACKER_MICRO_VERSION)
+AC_SUBST(TRACKER_INTERFACE_AGE)
+AC_SUBST(TRACKER_BINARY_AGE)
+AC_SUBST(TRACKER_API_VERSION)
+AC_SUBST(TRACKER_VERSION)
+AC_SUBST(TRACKER_BINARY_VERSION)
 
 AC_SUBST(PACKAGE_URL, [http://www.tracker-project.org])
 
@@ -926,6 +975,15 @@
    AC_DEFINE(HAVE_IMAGEMAGICK, 1, [Define if we have imagemagick])
 fi
 
+##################################################
+# Checks for gtk-doc and docbook-tools
+##################################################
+
+GTK_DOC_CHECK([1.8])
+
+AC_CHECK_PROG(DB2HTML, db2html, true, false)
+AM_CONDITIONAL(HAVE_DOCBOOK, $DB2HTML)
+
 ##################################################################
 # Check for Hildon-thumbnail
 ##################################################################
@@ -1030,6 +1088,9 @@
 	docs/Makefile
 	docs/design/Makefile
 	docs/manpages/Makefile
+	docs/reference/Makefile
+	docs/reference/libtracker-common/Makefile
+	docs/reference/libtracker-common/version.xml
 	filters/application/Makefile
 	filters/Makefile
 	filters/text/Makefile
@@ -1076,8 +1137,6 @@
 	utils/qdbm/Makefile
 ])
 
-AC_CONFIG_HEADERS([config.h])
-
 AC_OUTPUT
 
 echo "

Modified: trunk/docs/Makefile.am
==============================================================================
--- trunk/docs/Makefile.am	(original)
+++ trunk/docs/Makefile.am	Thu Oct  2 16:53:07 2008
@@ -1,4 +1,4 @@
 include $(top_srcdir)/Makefile.decl
 
-SUBDIRS = manpages design
+SUBDIRS = manpages design reference
 	

Added: trunk/docs/reference/COPYING
==============================================================================
--- (empty file)
+++ trunk/docs/reference/COPYING	Thu Oct  2 16:53:07 2008
@@ -0,0 +1,30 @@
+This work may be reproduced and distributed in whole or in part, in
+any medium, physical or electronic, so as long as this copyright
+notice remains intact and unchanged on all copies.  Commercial
+redistribution is permitted and encouraged, but you may not
+redistribute, in whole or in part, under terms more restrictive than
+those under which you received it. If you redistribute a modified or
+translated version of this work, you must also make the source code to
+the modified or translated version available in electronic form
+without charge.  However, mere aggregation as part of a larger work
+shall not count as a modification for this purpose.
+
+All code examples in this work are placed into the public domain,
+and may be used, modified and redistributed without restriction.
+
+BECAUSE THIS WORK IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE WORK, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE WORK "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  SHOULD THE WORK PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY REPAIR OR CORRECTION.
+
+IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE WORK AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+WORK, EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 
+POSSIBILITY OF SUCH DAMAGES.

Added: trunk/docs/reference/Makefile.am
==============================================================================
--- (empty file)
+++ trunk/docs/reference/Makefile.am	Thu Oct  2 16:53:07 2008
@@ -0,0 +1,4 @@
+include $(top_srcdir)/Makefile.decl
+
+SUBDIRS = libtracker-common
+

Added: trunk/docs/reference/README
==============================================================================
--- (empty file)
+++ trunk/docs/reference/README	Thu Oct  2 16:53:07 2008
@@ -0,0 +1,47 @@
+REQUIREMENTS
+============
+
+To build the documentation, you must have the gtk-doc
+package installed. To rebuild the template files,
+you must have the current version of the Tracker
+header files installed.
+
+
+BUILD
+=====
+
+First, run configure to generate the makefiles for this
+module. There is one option specific to this package
+
+  --with-html-dir=DIR   top of installed HTML documentation tree
+
+
+The Makefiles in the gdk/ and gtk/ subdirs each define three targets:
+
+ templates:
+  
+  Scan the headers and merge the results with the current 
+  template files
+
+ sgml:
+
+  Generate SGML files using the DocBook DTD from
+  the template files
+
+ html:
+
+  Generate HTML from the SGML files.
+
+To build the documentation, do:
+
+ make sgml
+ make html
+
+You should only run the 'make templates' step if you
+need to regenerate the templates for a more recent
+version of the Tracker sources.
+
+INSTALLATION
+============
+
+ make install

Added: trunk/docs/reference/libtracker-common/libtracker-common-docs.sgml
==============================================================================
--- (empty file)
+++ trunk/docs/reference/libtracker-common/libtracker-common-docs.sgml	Thu Oct  2 16:53:07 2008
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" 
+               "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"; [
+<!ENTITY tracker-utils SYSTEM "xml/tracker-utils.xml">
+<!ENTITY tracker-type-utils SYSTEM "xml/tracker-type-utils.xml">
+<!ENTITY tracker-service SYSTEM "xml/tracker-service.xml">
+<!ENTITY tracker-parser SYSTEM "xml/tracker-parser.xml">
+<!ENTITY tracker-ontology SYSTEM "xml/tracker-ontology.xml">
+<!ENTITY tracker-nfs-lock SYSTEM "xml/tracker-nfs-lock.xml">
+<!ENTITY tracker-module-config SYSTEM "xml/tracker-module-config.xml">
+<!ENTITY tracker-log SYSTEM "xml/tracker-log.xml">
+<!ENTITY tracker-language SYSTEM "xml/tracker-language.xml">
+<!ENTITY tracker-ioprio SYSTEM "xml/tracker-ioprio.xml">
+<!ENTITY tracker-hal SYSTEM "xml/tracker-hal.xml">
+<!ENTITY tracker-file-utils SYSTEM "xml/tracker-file-utils.xml">
+<!ENTITY tracker-field SYSTEM "xml/tracker-field.xml">
+<!ENTITY tracker-field-data SYSTEM "xml/tracker-field-data.xml">
+<!ENTITY tracker-dbus SYSTEM "xml/tracker-dbus.xml">
+<!ENTITY tracker-config SYSTEM "xml/tracker-config.xml">
+<!ENTITY version SYSTEM "version.xml">
+]>
+<book id="index">
+  <bookinfo>
+    <title>The libtracker-common Reference Manual</title>
+    <releaseinfo>for libtracker-common &version;</releaseinfo>
+  </bookinfo>
+  
+  <part id="libtracker-common">
+    <title>Overview</title>
+    <partintro>
+      <para>
+	The libtracker-common library is the foundation for common procedures
+	used in the daemon and the indexer.
+      </para>
+      <para>
+      </para>
+    </partintro>
+  </part>
+
+    <chapter>
+      <title>Utilities</title>
+      &tracker-file-utils;
+      &tracker-ioprio;
+      &tracker-log;
+      &tracker-nfs-lock;
+      &tracker-type-utils;
+      &tracker-utils;
+    </chapter>
+
+    <chapter>
+      <title>Ontology</title>
+      &tracker-ontology;
+      &tracker-service;
+    </chapter>
+
+    <chapter>
+      <title>Configuration</title>
+      &tracker-config;
+      &tracker-hal;
+      &tracker-language;
+      &tracker-module-config;
+    </chapter>
+
+    <chapter>
+      <title>Indexing</title>
+      &tracker-parser;
+    </chapter>
+
+    <chapter>
+      <title>Communication</title>
+      &tracker-dbus;
+    </chapter>
+
+</book>

Added: trunk/docs/reference/libtracker-common/libtracker-common-sections.txt
==============================================================================
--- (empty file)
+++ trunk/docs/reference/libtracker-common/libtracker-common-sections.txt	Thu Oct  2 16:53:07 2008
@@ -0,0 +1,378 @@
+<INCLUDE>libtracker-common/tracker-config.h</INCLUDE>
+<SECTION>
+<FILE>tracker-config</FILE>
+<TITLE>Config</TITLE>
+tracker_config_add_crawl_directory_roots
+tracker_config_add_disabled_modules
+tracker_config_add_no_watch_directory_roots
+tracker_config_add_watch_directory_roots
+tracker_config_get_crawl_directory_roots
+tracker_config_get_disable_indexing_on_battery
+tracker_config_get_disable_indexing_on_battery_init
+tracker_config_get_disabled_modules
+tracker_config_get_enable_content_indexing
+tracker_config_get_enable_indexing
+tracker_config_get_enable_stemmer
+tracker_config_get_enable_thumbnails
+tracker_config_get_enable_watches
+tracker_config_get_enable_xesam
+tracker_config_get_fast_merges
+tracker_config_get_index_mounted_directories
+tracker_config_get_index_removable_devices
+tracker_config_get_initial_sleep
+tracker_config_get_language
+tracker_config_get_low_disk_space_limit
+tracker_config_get_low_memory_mode
+tracker_config_get_max_bucket_count
+tracker_config_get_max_text_to_index
+tracker_config_get_max_word_length
+tracker_config_get_max_words_to_index
+tracker_config_get_min_bucket_count
+tracker_config_get_min_word_length
+tracker_config_get_nfs_locking
+tracker_config_get_no_index_file_types
+tracker_config_get_no_watch_directory_roots
+tracker_config_get_throttle
+tracker_config_get_type
+tracker_config_get_verbosity
+tracker_config_get_watch_directory_roots
+tracker_config_new
+tracker_config_remove_disabled_modules
+tracker_config_set_disable_indexing_on_battery
+tracker_config_set_disable_indexing_on_battery_init
+tracker_config_set_enable_content_indexing
+tracker_config_set_enable_indexing
+tracker_config_set_enable_stemmer
+tracker_config_set_enable_thumbnails
+tracker_config_set_enable_watches
+tracker_config_set_enable_xesam
+tracker_config_set_fast_merges
+tracker_config_set_index_mounted_directories
+tracker_config_set_index_removable_devices
+tracker_config_set_initial_sleep
+tracker_config_set_language
+tracker_config_set_low_disk_space_limit
+tracker_config_set_low_memory_mode
+tracker_config_set_max_bucket_count
+tracker_config_set_max_text_to_index
+tracker_config_set_max_word_length
+tracker_config_set_max_words_to_index
+tracker_config_set_min_bucket_count
+tracker_config_set_min_word_length
+tracker_config_set_nfs_locking
+tracker_config_set_throttle
+tracker_config_set_verbosity
+</SECTION>
+
+<INCLUDE>libtracker-common/tracker-type-utils.h</INCLUDE>
+<SECTION>
+<FILE>tracker-type-utils</FILE>
+<TITLE>Type Utils</TITLE>
+tracker_date_format
+tracker_date_to_string
+tracker_date_to_time_string
+</SECTION>
+
+<INCLUDE>libtracker-common/tracker-service.h</INCLUDE>
+<SECTION>
+<FILE>tracker-service</FILE>
+<TITLE>Services</TITLE>
+tracker_db_type_get_type
+</SECTION>
+
+<INCLUDE>libtracker-common/tracker-dbus.h</INCLUDE>
+<SECTION>
+<FILE>tracker-dbus</FILE>
+<TITLE>DBus</TITLE>
+tracker_dbus_data_new
+tracker_dbus_error_quark
+tracker_dbus_get_next_request_id
+tracker_dbus_gvalue_slice_free
+tracker_dbus_gvalue_slice_new
+tracker_dbus_queue_gfile_to_strv
+tracker_dbus_queue_str_to_strv
+tracker_dbus_request_add_hook
+tracker_dbus_request_comment
+tracker_dbus_request_failed
+tracker_dbus_request_new
+tracker_dbus_request_remove_hook
+tracker_dbus_request_success
+tracker_dbus_results_ptr_array_free
+tracker_dbus_slist_to_strv
+</SECTION>
+
+<INCLUDE>libtracker-common/tracker-file-utils.h</INCLUDE>
+<SECTION>
+<FILE>tracker-file-utils</FILE>
+<TITLE>File Operations</TITLE>
+tracker_env_check_xdg_dirs
+tracker_file_close
+tracker_file_get_mime_type
+tracker_file_get_mtime
+tracker_file_get_path_and_name
+tracker_file_get_size
+tracker_file_is_directory
+tracker_file_is_indexable
+tracker_file_is_valid
+tracker_file_open
+tracker_file_unlink
+tracker_path_evaluate_name
+tracker_path_hash_table_filter_duplicates
+tracker_path_is_in_path
+tracker_path_list_filter_duplicates
+tracker_path_remove
+</SECTION>
+
+<INCLUDE>libtracker-common/tracker-utils.h</INCLUDE>
+<SECTION>
+<FILE>tracker-utils</FILE>
+<TITLE>General</TITLE>
+tracker_escape_string
+tracker_is_empty_string
+tracker_seconds_estimate_to_string
+tracker_seconds_to_string
+tracker_string_remove
+tracker_string_replace
+tracker_throttle
+</SECTION>
+
+<INCLUDE>libtracker-common/tracker-field.h</INCLUDE>
+<SECTION>
+<FILE>tracker-field</FILE>
+<TITLE>Fields</TITLE>
+tracker_field_append_child_id
+tracker_field_get_child_ids
+tracker_field_get_data_type
+tracker_field_get_delimited
+tracker_field_get_embedded
+tracker_field_get_field_name
+tracker_field_get_filtered
+tracker_field_get_id
+tracker_field_get_multiple_values
+tracker_field_get_name
+tracker_field_get_store_metadata
+tracker_field_get_type
+tracker_field_get_weight
+tracker_field_new
+tracker_field_set_child_ids
+tracker_field_set_data_type
+tracker_field_set_delimited
+tracker_field_set_embedded
+tracker_field_set_field_name
+tracker_field_set_filtered
+tracker_field_set_id
+tracker_field_set_multiple_values
+tracker_field_set_name
+tracker_field_set_store_metadata
+tracker_field_set_weight
+tracker_field_type_get_type
+tracker_field_type_to_string
+<SECTION>
+
+<INCLUDE>libtracker-common/tracker-field-data.h</INCLUDE>
+<SECTION>
+<FILE>tracker-field-data</FILE>
+<TITLE>Field Data</TITLE>
+tracker_field_data_get_alias
+tracker_field_data_get_data_type
+tracker_field_data_get_field_name
+tracker_field_data_get_id_field
+tracker_field_data_get_is_condition
+tracker_field_data_get_is_select
+tracker_field_data_get_multiple_values
+tracker_field_data_get_needs_join
+tracker_field_data_get_select_field
+tracker_field_data_get_table_name
+tracker_field_data_get_type
+tracker_field_data_get_where_field
+tracker_field_data_new
+tracker_field_data_set_alias
+tracker_field_data_set_data_type
+tracker_field_data_set_field_name
+tracker_field_data_set_id_field
+tracker_field_data_set_is_condition
+tracker_field_data_set_is_select
+tracker_field_data_set_multiple_values
+tracker_field_data_set_needs_join
+tracker_field_data_set_select_field
+tracker_field_data_set_table_name
+tracker_field_data_set_where_field
+<SECTION>
+
+<INCLUDE>libtracker-common/tracker-type-utils.h</INCLUDE>
+<SECTION>
+<FILE>tracker-type-utils</FILE>
+<TITLE>Type Conversions</TITLE>
+tracker_gint32_to_string
+tracker_gint_to_string
+tracker_glong_to_string
+tracker_gslist_copy_with_string_data
+tracker_gslist_to_string_list
+tracker_guint32_to_string
+tracker_guint_to_string
+tracker_string_boolean_to_string_gint
+tracker_string_in_string_list
+tracker_string_list_to_gslist
+tracker_string_list_to_string
+tracker_string_to_date
+tracker_string_to_string_list
+tracker_string_to_uint
+</SECTION>
+
+<INCLUDE>libtracker-common/tracker-hal.h</INCLUDE>
+<SECTION>
+<FILE>tracker-hal</FILE>
+<TITLE>HAL</TITLE>
+tracker_hal_get_battery_exists
+tracker_hal_get_battery_in_use
+tracker_hal_get_mounted_directory_roots
+tracker_hal_get_removable_device_roots
+tracker_hal_get_type
+tracker_hal_new
+</SECTION>
+
+<INCLUDE>libtracker-common/tracker-ioprio.h</INCLUDE>
+<SECTION>
+<FILE>tracker-ioprio</FILE>
+<TITLE>IO Priority</TITLE>
+tracker_ioprio_init
+</SECTION>
+
+<INCLUDE>libtracker-common/tracker-language.h</INCLUDE>
+<SECTION>
+<FILE>tracker-language</FILE>
+<TITLE>Language</TITLE>
+tracker_language_check_exists
+tracker_language_get_config
+tracker_language_get_default_code
+tracker_language_get_stop_words
+tracker_language_get_type
+tracker_language_new
+tracker_language_set_config
+tracker_language_stem_word
+</SECTION>
+
+<INCLUDE>libtracker-common/tracker-log.h</INCLUDE>
+<SECTION>
+<FILE>tracker-log</FILE>
+<TITLE>Logging</TITLE>
+tracker_log_init
+tracker_log_shutdown
+</SECTION>
+
+<INCLUDE>libtracker-common/tracker-module-config.h</INCLUDE>
+<SECTION>
+<FILE>tracker-module-config</FILE>
+<TITLE>Module Config</TITLE>
+tracker_module_config_get_description
+tracker_module_config_get_enabled
+tracker_module_config_get_ignored_directories
+tracker_module_config_get_ignored_directory_patterns
+tracker_module_config_get_ignored_file_patterns
+tracker_module_config_get_ignored_files
+tracker_module_config_get_index_file_patterns
+tracker_module_config_get_index_files
+tracker_module_config_get_index_mime_types
+tracker_module_config_get_index_service
+tracker_module_config_get_modules
+tracker_module_config_get_monitor_directories
+tracker_module_config_get_monitor_recurse_directories
+tracker_module_config_init
+tracker_module_config_shutdown
+</SECTION>
+
+<INCLUDE>libtracker-common/tracker-nfs-lock.h</INCLUDE>
+<SECTION>
+<FILE>tracker-nfs-lock</FILE>
+<TITLE>NFS Locking</TITLE>
+tracker_nfs_lock_init
+tracker_nfs_lock_obtain
+tracker_nfs_lock_release
+tracker_nfs_lock_shutdown
+</SECTION>
+
+<INCLUDE>libtracker-common/tracker-ontology.h</INCLUDE>
+<SECTION>
+<FILE>tracker-ontology</FILE>
+<TITLE>Ontology</TITLE>
+tracker_ontology_field_add
+tracker_ontology_field_get_display_name
+tracker_ontology_field_get_id
+tracker_ontology_field_is_child_of
+tracker_ontology_get_field_by_id
+tracker_ontology_get_field_by_name
+tracker_ontology_get_field_name_by_service_name
+tracker_ontology_get_field_names_registered
+tracker_ontology_get_service_by_id
+tracker_ontology_get_service_by_mime
+tracker_ontology_get_service_by_name
+tracker_ontology_get_service_db_by_name
+tracker_ontology_get_service_id_by_name
+tracker_ontology_get_service_names_registered
+tracker_ontology_get_service_parent
+tracker_ontology_get_service_parent_by_id
+tracker_ontology_get_service_parent_id_by_id
+tracker_ontology_init
+tracker_ontology_service_add
+tracker_ontology_service_get_key_metadata
+tracker_ontology_service_get_show_directories
+tracker_ontology_service_get_show_files
+tracker_ontology_service_has_embedded
+tracker_ontology_service_has_metadata
+tracker_ontology_service_has_text
+tracker_ontology_service_has_thumbnails
+tracker_ontology_service_is_valid
+tracker_ontology_shutdown
+</SECTION>
+
+<INCLUDE>libtracker-common/tracker-parser.h</INCLUDE>
+<SECTION>
+<FILE>tracker-parser</FILE>
+<TITLE>Parser</TITLE>
+tracker_parser_free
+tracker_parser_is_stop_word
+tracker_parser_new
+tracker_parser_next
+tracker_parser_process_word
+tracker_parser_reset
+tracker_parser_text
+tracker_parser_text_fast
+tracker_parser_text_into_array
+tracker_parser_text_to_string
+</SECTION>
+
+<INCLUDE>libtracker-common/tracker-service.h</INCLUDE>
+<SECTION>
+<FILE>tracker-service</FILE>
+<TITLE>Service</TITLE>
+tracker_service_get_content_metadata
+tracker_service_get_db_type
+tracker_service_get_embedded
+tracker_service_get_enabled
+tracker_service_get_has_full_text
+tracker_service_get_has_metadata
+tracker_service_get_has_thumbs
+tracker_service_get_id
+tracker_service_get_key_metadata
+tracker_service_get_name
+tracker_service_get_parent
+tracker_service_get_property_prefix
+tracker_service_get_show_service_directories
+tracker_service_get_show_service_files
+tracker_service_get_type
+tracker_service_new
+tracker_service_set_content_metadata
+tracker_service_set_db_type
+tracker_service_set_embedded
+tracker_service_set_enabled
+tracker_service_set_has_full_text
+tracker_service_set_has_metadata
+tracker_service_set_has_thumbs
+tracker_service_set_id
+tracker_service_set_key_metadata
+tracker_service_set_name
+tracker_service_set_parent
+tracker_service_set_property_prefix
+tracker_service_set_show_service_directories
+tracker_service_set_show_service_files
+</SECTION>

Added: trunk/docs/reference/libtracker-common/version.xml.in
==============================================================================
--- (empty file)
+++ trunk/docs/reference/libtracker-common/version.xml.in	Thu Oct  2 16:53:07 2008
@@ -0,0 +1 @@
+ TRACKER_VERSION@

Modified: trunk/src/libtracker-common/tracker-config.c
==============================================================================
--- trunk/src/libtracker-common/tracker-config.c	(original)
+++ trunk/src/libtracker-common/tracker-config.c	Thu Oct  2 16:53:07 2008
@@ -1298,6 +1298,14 @@
 	return TRUE;
 }
 
+/**
+ * tracker_config_new:
+ *
+ * Creates a new GObject for handling Tracker's config file.
+ *
+ * Return value: A new TrackerConfig object. Must be unreferenced when
+ * finished with.
+ */
 TrackerConfig *
 tracker_config_new (void)
 {
@@ -1309,6 +1317,24 @@
 	return config;
 }
 
+/**
+ * tracker_config_get_verbosity:
+ * @config: a #TrackerConfig
+ *
+ * Gets the verbosity of the logging in the indexer and the daemon.
+ *
+ * If the verbosity is 0, there is no logging except for warnings and
+ * errors.
+ * If the verbosity is 1, information is displayed.
+ * If the verbosity is 2, general messages are displayed.
+ * If the verbosity is 3, debug messages are displayed.
+ *
+ * Note, you receive logging for anything less priority than the
+ * verbosity level as well as the level you set. So if the verbosity
+ * is 3 you receive debug, messages, info and warnings.
+ *
+ * Return value: An integer value from 0 to 3.
+ */
 gint
 tracker_config_get_verbosity (TrackerConfig *config)
 {

Modified: trunk/src/libtracker-common/tracker-config.h
==============================================================================
--- trunk/src/libtracker-common/tracker-config.h	(original)
+++ trunk/src/libtracker-common/tracker-config.h	Thu Oct  2 16:53:07 2008
@@ -47,8 +47,6 @@
 
 GType	       tracker_config_get_type				   (void) G_GNUC_CONST;
 
-void	       tracker_config_load_file				   (void);
-
 TrackerConfig *tracker_config_new				   (void);
 gint	       tracker_config_get_verbosity			   (TrackerConfig *config);
 gint	       tracker_config_get_initial_sleep			   (TrackerConfig *config);

Modified: trunk/src/tracker-applet/tracker-applet.c
==============================================================================
--- trunk/src/tracker-applet/tracker-applet.c	(original)
+++ trunk/src/tracker-applet/tracker-applet.c	Thu Oct  2 16:53:07 2008
@@ -1369,7 +1369,7 @@
 	gtk_about_dialog_set_email_hook (about_email_hook, NULL, NULL);
 
 	gtk_show_about_dialog (NULL,
-			       "version", VERSION,
+			       "version", PACKAGE_VERSION,
 			       "comments",
 			       _
 			       ("Tracker is a tool designed to extract info and metadata about your personal data so that it can be searched easily and quickly"),

Modified: trunk/src/tracker-indexer/tracker-main.c
==============================================================================
--- trunk/src/tracker-indexer/tracker-main.c	(original)
+++ trunk/src/tracker-indexer/tracker-main.c	Thu Oct  2 16:53:07 2008
@@ -46,7 +46,7 @@
 #include "tracker-indexer-db.h"
 
 #define ABOUT								  \
-	"Tracker " VERSION "\n"						  \
+	"Tracker " PACKAGE_VERSION "\n"					  \
 	"Copyright (c) 2005-2008 Jamie McCracken (jamiemcc gnome org)\n"
 
 #define LICENSE								  \

Modified: trunk/src/tracker-search-tool/tracker-search-tool.c
==============================================================================
--- trunk/src/tracker-search-tool/tracker-search-tool.c	(original)
+++ trunk/src/tracker-search-tool/tracker-search-tool.c	Thu Oct  2 16:53:07 2008
@@ -2208,7 +2208,7 @@
 	textdomain (GETTEXT_PACKAGE);
 
 	program = gnome_program_init ("tracker-search-tool",
-				      VERSION,
+				      PACKAGE_VERSION,
 				      LIBGNOMEUI_MODULE,
 				      argc, argv,
 				      GNOME_PARAM_APP_DATADIR, TRACKER_DATADIR,

Modified: trunk/src/trackerd/tracker-daemon.c
==============================================================================
--- trunk/src/trackerd/tracker-daemon.c	(original)
+++ trunk/src/trackerd/tracker-daemon.c	Thu Oct  2 16:53:07 2008
@@ -379,7 +379,7 @@
 				  "DBus request to get daemon version");
 
 
-	sscanf (VERSION, "%d.%d.%d", &major, &minor, &revision);
+	sscanf (PACKAGE_VERSION, "%d.%d.%d", &major, &minor, &revision);
 	str = g_strdup_printf ("%d%d%d", major, minor, revision);
 	version = atoi (str);
 	g_free (str);

Modified: trunk/src/trackerd/tracker-main.c
==============================================================================
--- trunk/src/trackerd/tracker-main.c	(original)
+++ trunk/src/trackerd/tracker-main.c	Thu Oct  2 16:53:07 2008
@@ -68,7 +68,7 @@
 #endif
 
 #define ABOUT								  \
-	"Tracker " VERSION "\n"						  \
+	"Tracker " PACKAGE_VERSION "\n"					  \
 	"Copyright (c) 2005-2008 Jamie McCracken (jamiemcc gnome org)\n"
 
 #define LICENSE								  \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]