zeitgeist:zeitgeist.git
4 years agoAdd cleanup patch by ricotz
Seif Lotfy [Wed, 27 Feb 2013 13:10:51 +0000 (14:10 +0100)]
Add cleanup patch by ricotz

4 years agoIntegrate dbreader into Log directly
Seif Lotfy [Mon, 25 Feb 2013 14:34:11 +0000 (15:34 +0100)]
Integrate dbreader into Log directly

4 years agobuild: create Zeitgeist-2.0.gir in an additional valac run master
Rico Tzschichholz [Sat, 23 Feb 2013 14:00:55 +0000 (15:00 +0100)]
build: create Zeitgeist-2.0.gir in an additional valac run

4 years agobuild: Fix and enable *.typelib builds
Seif Lotfy [Thu, 21 Feb 2013 16:04:52 +0000 (17:04 +0100)]
build: Fix and enable *.typelib builds

4 years agoevent: Fix API change of set_actor_from_app_info
Rico Tzschichholz [Mon, 18 Feb 2013 18:10:49 +0000 (19:10 +0100)]
event: Fix API change of set_actor_from_app_info

4 years agobuild: Pass make distcheck
Rico Tzschichholz [Mon, 18 Feb 2013 12:59:13 +0000 (13:59 +0100)]
build: Pass make distcheck

4 years agoexamples/test: Fix vala deprecations for async calls
Rico Tzschichholz [Mon, 18 Feb 2013 06:58:32 +0000 (07:58 +0100)]
examples/test: Fix vala deprecations for async calls

4 years agobuild: Fix make check linker issue
Rico Tzschichholz [Mon, 18 Feb 2013 06:36:05 +0000 (07:36 +0100)]
build: Fix make check linker issue

4 years agoFix vala deprecations and warnings in lib/src
Rico Tzschichholz [Sun, 17 Feb 2013 22:41:05 +0000 (23:41 +0100)]
Fix vala deprecations and warnings in lib/src

4 years agobuild: introduce internal libzeitgeist-datamodel-2.0 library
Rico Tzschichholz [Sun, 17 Feb 2013 22:14:08 +0000 (23:14 +0100)]
build: introduce internal libzeitgeist-datamodel-2.0 library

This adds a new public header and vapi zeitgeist-datamodel.h and
zeitgeist-datamodel-2.0.vapi

Make it possible to access zeitgeist-internal api where we need it.

4 years agobuild: Use soname "0" for libzeitgesit-2.0 on its introduction
Rico Tzschichholz [Sun, 17 Feb 2013 11:57:22 +0000 (12:57 +0100)]
build: Use soname "0" for libzeitgesit-2.0 on its introduction

4 years agosrc: Fix build with BUILTIN_EXTENSIONS
Rico Tzschichholz [Sun, 17 Feb 2013 11:14:04 +0000 (12:14 +0100)]
src: Fix build with BUILTIN_EXTENSIONS

4 years agotest/dbus: dist result-types-test.py
Rico Tzschichholz [Sun, 17 Feb 2013 09:59:50 +0000 (10:59 +0100)]
test/dbus: dist result-types-test.py

4 years agoexamples: dist js and python examples
Rico Tzschichholz [Sun, 17 Feb 2013 09:50:01 +0000 (10:50 +0100)]
examples: dist js and python examples

4 years agodata: clean up and install bash-completion file
Rico Tzschichholz [Sun, 17 Feb 2013 09:44:45 +0000 (10:44 +0100)]
data: clean up and install bash-completion file

4 years agochange setup process of extension-collection
Seif Lotfy [Sun, 17 Feb 2013 01:33:31 +0000 (02:33 +0100)]
change setup process of extension-collection

4 years agoudpate .gitignore
Rico Tzschichholz [Sun, 17 Feb 2013 00:55:58 +0000 (01:55 +0100)]
udpate .gitignore

4 years agobuild: More make distcheck related fixes
Rico Tzschichholz [Sun, 17 Feb 2013 00:50:38 +0000 (01:50 +0100)]
build: More make distcheck related fixes

4 years agobuild: Nearly fix make distcheck
Rico Tzschichholz [Sun, 17 Feb 2013 00:31:19 +0000 (01:31 +0100)]
build: Nearly fix make distcheck

4 years agoextension-collection: Fix constructor
Rico Tzschichholz [Sun, 17 Feb 2013 00:09:55 +0000 (01:09 +0100)]
extension-collection: Fix constructor

4 years agobuild: A lot of cleaning up in the build-system
Rico Tzschichholz [Sat, 16 Feb 2013 22:35:31 +0000 (23:35 +0100)]
build: A lot of cleaning up in the build-system

- Share internal libraries
- Don't ship built sources "as far possible"
- Refactor src/engine.vala,src/zeitgeist-daemon.vala,
  src/extensions-collection.vala for shared libzeitgeist-engine
- Make parallel builds work

4 years agomove things around more
Seif Lotfy [Fri, 15 Feb 2013 19:06:07 +0000 (20:06 +0100)]
move things around more

4 years agoMove files around to extend libzeitgeist to directread
Seif Lotfy [Fri, 15 Feb 2013 01:14:26 +0000 (02:14 +0100)]
Move files around to extend libzeitgeist to directread

4 years agomove stuff around
Seif Lotfy [Thu, 14 Feb 2013 23:09:43 +0000 (00:09 +0100)]
move stuff around

4 years agoFix documentation warnings
Seif Lotfy [Fri, 18 Jan 2013 10:31:38 +0000 (11:31 +0100)]
Fix documentation warnings

4 years agoAdded catching of dbus connection error in reinstall_monitor
Seif Lotfy [Mon, 14 Jan 2013 16:46:48 +0000 (17:46 +0100)]
Added catching of dbus connection error in reinstall_monitor

4 years agoFix build errors
Seif Lotfy [Mon, 7 Jan 2013 17:14:32 +0000 (18:14 +0100)]
Fix build errors

4 years agoremove redundant indexes
Seif Lotfy [Wed, 2 Jan 2013 02:21:16 +0000 (03:21 +0100)]
remove redundant indexes

4 years agoAdd optimized queries and fix broken has_non_timestamp_condition method
Seif Lotfy [Wed, 2 Jan 2013 02:18:21 +0000 (03:18 +0100)]
Add optimized queries and fix broken has_non_timestamp_condition method

4 years agoExecute ANALYZE statement after each 1000 inserts
Seif Lotfy [Mon, 31 Dec 2012 01:18:58 +0000 (02:18 +0100)]
Execute ANALYZE statement after each 1000 inserts

4 years agoOptimize Query formats and add helper methods to WhereClause
Seif Lotfy [Mon, 31 Dec 2012 01:18:13 +0000 (02:18 +0100)]
Optimize Query formats and add helper methods to WhereClause

4 years agoRemove uneeded column selection from group_and_sort
Seif Lotfy [Sat, 29 Dec 2012 15:08:25 +0000 (16:08 +0100)]
Remove uneeded column selection from group_and_sort

4 years agoMerge branch 'query_experiments'
Seif Lotfy [Sat, 29 Dec 2012 14:14:58 +0000 (15:14 +0100)]
Merge branch 'query_experiments'

4 years agoRemove distinct since it does not play well with the new query structure
Seif Lotfy [Sat, 29 Dec 2012 14:13:54 +0000 (15:13 +0100)]
Remove distinct since it does not play well with the new query structure

4 years agofix get_events vala example
Seif Lotfy [Sat, 29 Dec 2012 13:54:45 +0000 (14:54 +0100)]
fix get_events vala example

4 years agofix ownership issues
Seif Lotfy [Sat, 29 Dec 2012 13:50:29 +0000 (14:50 +0100)]
fix ownership issues

4 years agomore reducing
Seif Lotfy [Sat, 29 Dec 2012 13:50:12 +0000 (14:50 +0100)]
more reducing

4 years agoReduce Query plan
Seif Lotfy [Sat, 29 Dec 2012 13:49:29 +0000 (14:49 +0100)]
Reduce Query plan

4 years agoAdd distinctions and limitations into SQL since new indexes improve
Seif Lotfy [Thu, 27 Dec 2012 02:33:13 +0000 (03:33 +0100)]
Add distinctions and limitations into SQL since new indexes improve
speed

4 years agoRemove debug prints from tests
Seif Lotfy [Sun, 23 Dec 2012 23:28:28 +0000 (00:28 +0100)]
Remove debug prints from tests

4 years agofix ownership of arguments passed
Seif Lotfy [Sun, 23 Dec 2012 21:15:24 +0000 (22:15 +0100)]
fix ownership of arguments passed

4 years agoAdded new python examples
Seif Lotfy [Sun, 23 Dec 2012 21:14:34 +0000 (22:14 +0100)]
Added new python examples

4 years agoFix unit test
Seif Lotfy [Sun, 23 Dec 2012 18:12:24 +0000 (19:12 +0100)]
Fix unit test

4 years agoModified find_events python example to actually find events instead
Seif Lotfy [Sat, 22 Dec 2012 16:42:15 +0000 (17:42 +0100)]
Modified find_events python example to actually find events instead
of getting them

4 years agolog.vala: Fix ownership of arugments due to new vala fix.
Seif Lotfy [Sat, 22 Dec 2012 16:40:49 +0000 (17:40 +0100)]
log.vala: Fix ownership of arugments due to new vala fix.

4 years agoFixed log.vala to return ResultSet and avoid crashes in examples
Seif Lotfy [Thu, 20 Dec 2012 10:25:32 +0000 (11:25 +0100)]
Fixed log.vala to return ResultSet and avoid crashes in examples

4 years agofix python example
Seif Lotfy [Thu, 6 Dec 2012 13:42:46 +0000 (14:42 +0100)]
fix python example

4 years agofix get_events to work around the new ownership fixes in vala
Seif Lotfy [Thu, 6 Dec 2012 10:42:31 +0000 (11:42 +0100)]
fix get_events to work around the new ownership fixes in vala

4 years agoAdd new documentation
Seif Lotfy [Sun, 2 Dec 2012 20:45:00 +0000 (21:45 +0100)]
Add new documentation

4 years agoAdd loop to the python example
Seif Lotfy [Tue, 20 Nov 2012 15:43:27 +0000 (16:43 +0100)]
Add loop to the python example

4 years agoAdded missing callback function to the python example
Seif Lotfy [Tue, 20 Nov 2012 10:01:37 +0000 (11:01 +0100)]
Added missing callback function to the python example

4 years agoextended python example
Seif Lotfy [Tue, 20 Nov 2012 09:59:38 +0000 (10:59 +0100)]
extended python example

4 years agointrospection: fix Zeitgeist-2.0.typelib loading
Dieter Verfaillie [Mon, 19 Nov 2012 21:01:56 +0000 (22:01 +0100)]
introspection: fix Zeitgeist-2.0.typelib loading

Loading Zeitgeist-2.0.typelib mysteriously failed, for
example we ran into the following message when running:

$ LD_LIBRARY_PATH="~/fdo/lib/:$LD_LIBRARY_PATH=" \
> GI_TYPELIB_PATH="~/fdo/lib/girepository-1.0" \
> python2 -c "from gi.repository import Zeitgeist; log = Zeitgeist.Log.get_default(); print log"
WARNING **: Failed to load shared library 'libzeitgeist-2.0.so.1' referenced by the typelib: libzeitgeist-2.0.soso: cannot open shared object file: No such file or directory

Digging a bit and running the above again with LD_DEBUG=libs shows
the reason why g_module_open() on libzeitgeist-2.0.so.1 failed:
...~/fdo/lib/libzeitgeist-2.0.so.1: error: symbol lookup error: undefined symbol: g_cclosure_marshal_VOID__OBJECT (fatal)

Running ldd on libzeitgeist-2.0.so.1 indeed shows it didn't
link to libglib-2.0.so.0. This patch adjusts Makefile.am to
ensure we link to libglib-2.0.so.0.

Signed-off-by: Seif Lotfy <seif@lotfy.com>
4 years agoCopy introspection autotools stuff from folks makefile to libzeitgeist
Seif Lotfy [Mon, 19 Nov 2012 01:37:43 +0000 (02:37 +0100)]
Copy introspection autotools stuff from folks makefile to libzeitgeist

4 years agofixed zeitgeist_dlname
Seif Lotfy [Sun, 18 Nov 2012 23:46:32 +0000 (00:46 +0100)]
fixed zeitgeist_dlname

4 years agoAdd introspection example
Seif Lotfy [Mon, 12 Nov 2012 22:59:02 +0000 (23:59 +0100)]
Add introspection example

4 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/zeitgeist/zeitgeist
Seif Lotfy [Mon, 12 Nov 2012 20:48:12 +0000 (21:48 +0100)]
Merge branch 'master' of ssh://git.freedesktop.org/git/zeitgeist/zeitgeist

4 years agoAdd gobject introspection support
Seif Lotfy [Mon, 12 Nov 2012 15:32:55 +0000 (16:32 +0100)]
Add gobject introspection support

4 years agoFix c/test-event.c warning
Seif Lotfy [Mon, 12 Nov 2012 15:32:30 +0000 (16:32 +0100)]
Fix c/test-event.c warning

4 years ago.gitignore: ignore generated doc directories
Siegfried-Angel Gevatter Pujals [Mon, 12 Nov 2012 15:31:04 +0000 (16:31 +0100)]
.gitignore: ignore generated doc directories

4 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/zeitgeist/zeitgeist
Siegfried-Angel Gevatter Pujals [Mon, 12 Nov 2012 09:54:41 +0000 (10:54 +0100)]
Merge branch 'master' of ssh://git.freedesktop.org/git/zeitgeist/zeitgeist

Conflicts:
libzeitgeist/enumerations.vala

4 years agoFix direct tests to be compatible with latest datamode split
Seif Lotfy [Sun, 11 Nov 2012 23:12:13 +0000 (00:12 +0100)]
Fix direct tests to be compatible with latest datamode split

4 years agoReduced warnings
Seif Lotfy [Sun, 11 Nov 2012 22:33:12 +0000 (23:33 +0100)]
Reduced warnings

4 years agoMoved Vala examples to examples/vala
Seif Lotfy [Sun, 11 Nov 2012 20:59:52 +0000 (21:59 +0100)]
Moved Vala examples to examples/vala

4 years agoAdd mising files for C examples
Seif Lotfy [Sun, 11 Nov 2012 20:58:06 +0000 (21:58 +0100)]
Add mising files for C examples

4 years agoAdd C examples
Seif Lotfy [Sun, 11 Nov 2012 20:56:08 +0000 (21:56 +0100)]
Add C examples

4 years agoSome more documentation work...
Siegfried-Angel Gevatter Pujals [Wed, 7 Nov 2012 23:00:07 +0000 (00:00 +0100)]
Some more documentation work...

4 years agoAdd missing file
Siegfried-Angel Gevatter Pujals [Wed, 7 Nov 2012 22:22:16 +0000 (23:22 +0100)]
Add missing file

4 years agoDocumentation and autotools fixes
Siegfried-Angel Gevatter Pujals [Wed, 7 Nov 2012 22:16:44 +0000 (23:16 +0100)]
Documentation and autotools fixes

 - Added a custom index page for the C documentation
 - Removed duplicate Vala documentation
 - Added missing documentation, titles, fixed links, etc.
 - Fixed autotools to updated the docs whenever needed
 - Fixed autotools to update the ontology files whenever needed
 - Updated AUTHORS, added content to README

4 years agoSplit datamodel.vala into several files
Siegfried-Angel Gevatter Pujals [Wed, 7 Nov 2012 14:29:35 +0000 (15:29 +0100)]
Split datamodel.vala into several files

This is needed to have nice (gtkdoc) documentation, and the file was
too huge anyway.

4 years agoSome documentation work..
Siegfried-Angel Gevatter Pujals [Wed, 7 Nov 2012 14:08:38 +0000 (15:08 +0100)]
Some documentation work..

4 years agoRemove misleading comment from example insert-events.vala
Seif Lotfy [Sun, 4 Nov 2012 20:30:26 +0000 (21:30 +0100)]
Remove misleading comment from example insert-events.vala

4 years agoAdd insert events example
Seif Lotfy [Sun, 4 Nov 2012 18:18:20 +0000 (19:18 +0100)]
Add insert events example

4 years agoDocs: Fix short descriptions
Siegfried-Angel Gevatter Pujals [Sun, 21 Oct 2012 18:25:13 +0000 (20:25 +0200)]
Docs: Fix short descriptions

4 years agoAdd missing --pkg declaration
Siegfried-Angel Gevatter Pujals [Sun, 21 Oct 2012 18:05:16 +0000 (20:05 +0200)]
Add missing --pkg declaration

4 years agoImplement Event.set_actor_from_info
Siegfried-Angel Gevatter Pujals [Sun, 21 Oct 2012 18:02:35 +0000 (20:02 +0200)]
Implement Event.set_actor_from_info

4 years agoMore upgrade-test
Siegfried-Angel Gevatter Pujals [Sun, 21 Oct 2012 17:21:57 +0000 (19:21 +0200)]
More upgrade-test

5 years agoAdd test cases for Current Origin
Seif Lotfy [Fri, 19 Oct 2012 16:44:48 +0000 (18:44 +0200)]
Add test cases for Current Origin

5 years agolibzeitgeist now sets timestamp to "now" if variant has empty string
Seif Lotfy [Fri, 19 Oct 2012 09:36:47 +0000 (11:36 +0200)]
libzeitgeist now sets timestamp to "now" if variant has empty string

5 years agoMerge branch 'upgrade-test'
Seif Lotfy [Tue, 16 Oct 2012 17:33:52 +0000 (19:33 +0200)]
Merge branch 'upgrade-test'

Conflicts:
test/dbus/testutils.py

5 years agofix testcases to adapt to changes in five_events.js
Seif Lotfy [Tue, 16 Oct 2012 13:00:01 +0000 (15:00 +0200)]
fix testcases to adapt to changes in five_events.js

5 years agoFix negation test case to assert proper value
Seif Lotfy [Tue, 16 Oct 2012 12:23:39 +0000 (14:23 +0200)]
Fix negation test case to assert proper value

5 years agoAdd missing files with pot translations to POTFILES.in
Seif Lotfy [Fri, 12 Oct 2012 22:48:22 +0000 (00:48 +0200)]
Add missing files with pot translations to POTFILES.in

5 years agopython/datamodel.py: relax struct length requirements
Siegfried-Angel Gevatter Pujals [Fri, 12 Oct 2012 15:44:43 +0000 (17:44 +0200)]
python/datamodel.py: relax struct length requirements

Don't complain if there is superfluous data in the event or
subject tuple, only if something is missing. This will make
any future additions to them forwards-compatible.

5 years agoAdd zeitgeist-explorer tool
Siegfried-Angel Gevatter Pujals [Fri, 12 Oct 2012 14:56:17 +0000 (16:56 +0200)]
Add zeitgeist-explorer tool

This is a copy of the code from:
    lp:~zeitgeist/zeitgeist-explorer/trunk-old

For an alternative, more advanced tool see:
    https://launchpad.net/zeitgeist-explorer

5 years agoCleanup some duplication :)
Siegfried-Angel Gevatter Pujals [Thu, 11 Oct 2012 14:30:30 +0000 (16:30 +0200)]
Cleanup some duplication :)

5 years agoAdd missing function insert_events and insert_event
Seif Lotfy [Thu, 11 Oct 2012 11:38:37 +0000 (13:38 +0200)]
Add missing function insert_events and insert_event

5 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/zeitgeist/zeitgeist
Seif Lotfy [Wed, 10 Oct 2012 13:22:46 +0000 (15:22 +0200)]
Merge branch 'master' of ssh://git.freedesktop.org/git/zeitgeist/zeitgeist

5 years agofixed DB and added support for 0 ids
Seif Lotfy [Wed, 10 Oct 2012 13:20:58 +0000 (15:20 +0200)]
fixed DB and added support for 0 ids

5 years agoassert_wildcard: if value = null then return
Seif Lotfy [Tue, 9 Oct 2012 23:51:28 +0000 (01:51 +0200)]
assert_wildcard: if value = null then return

5 years agoSorting by CurrentOrigin (w/ test cases)
Siegfried-Angel Gevatter Pujals [Tue, 9 Oct 2012 12:54:04 +0000 (14:54 +0200)]
Sorting by CurrentOrigin (w/ test cases)

5 years agoClean up the tests a bit
Siegfried-Angel Gevatter Pujals [Tue, 9 Oct 2012 12:02:00 +0000 (14:02 +0200)]
Clean up the tests a bit

5 years agoMore fixes.
Siegfried-Angel Gevatter Pujals [Mon, 8 Oct 2012 14:31:37 +0000 (16:31 +0200)]
More fixes.
zeitgeist

5 years agoMore CurrentOrigin implementation. Various fixes.
Siegfried-Angel Gevatter Pujals [Mon, 8 Oct 2012 13:49:18 +0000 (15:49 +0200)]
More CurrentOrigin implementation. Various fixes.

5 years agoMerge remote-tracking branch 'origin/master'
Siegfried-Angel Gevatter Pujals [Sun, 7 Oct 2012 18:20:29 +0000 (20:20 +0200)]
Merge remote-tracking branch 'origin/master'

5 years agoDatabaseSchema: several changes
Siegfried-Angel Gevatter Pujals [Sun, 7 Oct 2012 18:04:55 +0000 (20:04 +0200)]
DatabaseSchema: several changes

 - Fix typo in SQL.
 - Use 'NOT NULL'.
 - Use transactional DDL.
 - Fix version number in "upgraded to X" string.

5 years agoDatabaseSchema: Fix typo in SQL. Use transactional DDL.
Siegfried-Angel Gevatter Pujals [Sun, 7 Oct 2012 18:04:55 +0000 (20:04 +0200)]
DatabaseSchema: Fix typo in SQL. Use transactional DDL.

5 years agoIntroduce subject_new_move_event. Test fixes. current_origin
Siegfried-Angel Gevatter Pujals [Sun, 7 Oct 2012 17:46:42 +0000 (19:46 +0200)]
Introduce subject_new_move_event. Test fixes.

5 years agoMerge branch 'master' into current_origin
Siegfried-Angel Gevatter Pujals [Sun, 7 Oct 2012 17:20:27 +0000 (19:20 +0200)]
Merge branch 'master' into current_origin

Conflicts:
libzeitgeist/API_CHANGES
libzeitgeist/datamodel.vala
src/engine.vala

5 years agoFix remaining tests after making some fields compulsory
Siegfried-Angel Gevatter Pujals [Sun, 7 Oct 2012 17:12:54 +0000 (19:12 +0200)]
Fix remaining tests after making some fields compulsory