| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Specifically
--tree $CLASS (to print the tree for $CLASS, or NULL for all ontology)
--get-shorthand $CLASS
--get-longhand $CLASS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We imported Makefile.decl from glib when it was using Subversion, a long time
ago. The script had a few issues (like running all unit tests twice on make
distcheck) and needed to be updated.
I've stolen a latest version from GLib's glib.mk and also their m4 macros
which are required to make this all work too.
This gives us the advantage of defining installable and uninstallable test
cases as well as test data, scripts and other useful stuff.
The debug output also looks quite good.
And distcheck passes :)
|
| |
|
|
|
|
|
| |
Fixes the warnings about GError and other symbols which are unknown when
generating the documentation for libtracker-{sparql|miner|control}
|
| |
|
|
|
|
|
|
|
|
|
| |
TrackerMinerWeb vmethods are very focused on the management of
credentials and capabilities, this is something that's been taken
over by gnome-online-accounts since this API was added, and the
lack of TrackerMinerWeb implementations in the wild seems to
hint it's not been as useful as when it was initially devised,
so farewell.
|
|
|
|
| |
This is more suitable than implementing TrackerMiner directly
|
|
|
|
|
|
|
|
|
| |
This TrackerMiner is a simpler replacement for TrackerMinerWeb that
doesn't get into credentials handling. It handles network state,
emitting ::connected or ::disconnected on the way, and ensuring the
miner is paused/resumed as necessary when suitable networks come and
go, implementations of this miner can control this behavior through
the return value in the ::connected signal.
|
|
|
|
|
|
| |
TrackerMinerManager has been moved from libtracker-miner, so it remains a library
to implement miners. libtracker-control will be of interest to anything that
attempts to track or control the state of running/available miners.
|
|
|
|
|
| |
TrackerMinerManager isn't used here after all, so remove all code
using it.
|
|
|
|
|
|
|
| |
This is used in a variety of places (tracker-writeback, TrackerMinerFiles,
and TrackerDecorator), but it doesn't make sense to have that exposed in
libtracker-miner, so move to libtracker-common, where it can be used in a
private manner.
|
|
|
|
|
|
|
|
| |
These calls to manipulate the media art queue are already
performed inside TrackerMinerFS, and there are no foreseeable
situations where a TrackerMinerFS implementation will need
to call these directly, so just move the code and header
to private land.
|
|
|
|
|
|
|
|
|
| |
TrackerMinerFS in libtracker-miner was already doing most of the
tracker_thumbnailer_* calls necessary. The only API required on
callers only was tracker_thumbnailer_init/shutdown(). So just
turn this into an object so all usage is kept private to
libtracker-miner, and we can remove these headers out of the
public.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This library has some rough spots, mainly around:
1) Usefulness: The library is not specially useful outside of
tracker. In the source tree we already have plenty of extract
modules that handle most popular file formats. Future-wise, if
a brand new file format earns popularity, we'll want it in the
tracker tree, and not as an external module. So neither
implementing minor third party out-of-tree modules nor offering
the possibility to reimplement a type Tracker knows well is a
compelling thing to support.
2) Maintainability: The API is highly inconsistent, hardly
introspectable and with little forward-compatibility thinking.
So in short, libtracker-extract is something we want to keep under
the rug, only available to tracker-miner-fs and tracker-extract.
|
|
|
|
|
|
|
|
|
|
| |
Introspection needs a boxed type to work. Also this fix ref-counting issue,
tracker_decorator_next_finish() returns the ref but caller couldn't unref it
because the unref function wasn't public. The other solution would be to make
_next_finish() transfer none and remove the destroy func in
g_task_return_pointer(), but that's unusual for finish functions.
https://bugzilla.gnome.org/show_bug.cgi?id=719802
|
|
|
|
|
| |
With tracker-extract being now a TrackerMiner (and hence long-lived),
this argument does now nothing, so remove all traces of it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, this would error when generating the documentation with something
like:
(lt-ttl2sgml:4857): Tracker-ERROR **:
'http://www.tracker-project.org/temp/mlo#' is not a class nor a property!?
and
../../../docs/tools/gen-doc.sh: line 52: 4857 Trace/breakpoint trap (core
dumped) $TTL2SGML -d $f -o $BUILD_DIR/$PREFIX-ontology.xml -f
$BUILD_DIR/fts-properties.xml -e $ONTOLOGIES_INFO_DIR/$PREFIX/explanation.xml
Given the entire namespace for MLO is deprecated, we have simply removed the
g_error here.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=722353
|
|
|
|
| |
Used to generate ontology reference documentation
|
|
|
|
| |
Glib >= 2.30 already hard depend on libffi.
|
|
|
|
|
|
|
|
|
|
|
|
| |
Useful when debugging problems to diagnose the state of Tracker on
your system. The data is output to stdout. Useful if bugs are filed
against the project itself.
Data collected includes Tracker version in use, disk space available,
size of the databases on the disk, the configuration in use, states of
the index (e.g. last filesystem crawl, data set locale, etc.) and
finally statistics about the data in the database (e.g. how many
nfo:FileDataObject resources exist).
|
|
|
|
|
|
|
| |
TRACKER_PRAGMAS_FILE
To tracker-info, tracker-search, tracker-sparql and tracker-tag - where it's
useful.
|
|
|
|
|
|
| |
A few of the short options were misspelt.
https://bugzilla.gnome.org/show_bug.cgi?id=703097
|
| |
|
|
|
|
| |
Also improve the documentation.
|
|
|
|
|
| |
This was unmaintained and unused. See original discussion here:
https://mail.gnome.org/archives/tracker-list/2013-March/msg00007.html
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This is actually only useful for debugging anyway and can be switched on again
by starting tracker processes by setting the environment variable
TRACKER_USE_LOG_FILES before starting each process.
Log files can still be found in either ~/.xsession-errors,
~/.cache/gdm/session.log or systemd journals depending on the system.
https://bugzilla.gnome.org/show_bug.cgi?id=695444
|
|
|
|
|
|
|
|
|
|
|
|
| |
tracker_miner_manager_index_file is synchronous. This commit adds an
asynchronous and cancellable version of the same function.
https://bugzilla.gnome.org/show_bug.cgi?id=695157
--
This also bumps the GLib requirement up to 2.35.1 from 2.28.0 for GTask use.
GLib 2.35.x should be available in Ubuntu Raring and Fedora 19.
|
|
|
|
|
|
| |
Added --disable-fts, --disable-color --disable-snippets too.
Now all results are shown with snippets and in color by default.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently, the gtk-doc generator code in Tracker has a build dependency
on the Dia application in order to generate some images for the
documentation; the dependency is not optimal, as Dia is not available
on all distributions and platforms.
This patch changes the build system to add a specific update-diagrams
make target to be ran from the ontology docs directory (which updates
the images), and adds the images themselves under version control.
Fixes GB#688287
|
|
|
|
| |
To show nie:plainTextContent for resources. By default this is disabled.
|
|
|
|
| |
Fixes GB#679313
|
|
|
|
| |
Fixed GB#676213.
|
| |
|
|
|
|
| |
Fix deprecation comment and include the method between guards.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
For tracker-extract, tracker-miner-fs, tracker-store and in the reference for
env vars.
|
|
|
|
|
|
|
| |
get_root()
"Effective parent" is misleading since the same file could be returned, so talking
about "configured root directories" makes somewhat more sense.
|
|
|
|
|
|
| |
This object holds the parameters for the indexed directories, and
the applying filters, so can effectively tell whether a file should
be indexed or not.
|
|
|
|
|
|
| |
This is to be able to disable the files, applications or userguides miner from
actually starting. Starting here, means crawling/monitoring/indexing. The
miners are still established via D-Bus.
|
|
|
|
| |
Fixes NB#287972.
|
| |
|