profile/ivi/murphy.git
12 years agocommon,core: added top-level convenience include files.
Krisztian Litkey [Sat, 21 Apr 2012 09:15:56 +0000 (12:15 +0300)]
common,core: added top-level convenience include files.

12 years agomainloop-test: enable logging.
Krisztian Litkey [Fri, 20 Apr 2012 18:11:45 +0000 (21:11 +0300)]
mainloop-test: enable logging.

12 years agomainloop: I/O watch removal fix (thinko + incorrect EPOLL_CTL_DEL).
Krisztian Litkey [Fri, 20 Apr 2012 18:11:31 +0000 (21:11 +0300)]
mainloop: I/O watch removal fix (thinko + incorrect EPOLL_CTL_DEL).

12 years agomainloop: fix I/O watch HUP processing.
Krisztian Litkey [Thu, 19 Apr 2012 20:29:59 +0000 (23:29 +0300)]
mainloop: fix I/O watch HUP processing.

(e)poll uses (E)POLLRDHUP for input direction close/shutdown. The event
enum now has HUP for (POLLHUP|POLLRDHUP).  RDHUP and WRHUP has been added
for POLLRDHUP and POLLHUP, respectively. Let's see if this will confuse
people...

12 years agobuild: don't PKG_CHECK for dbus-glib.
Krisztian Litkey [Thu, 19 Apr 2012 09:46:19 +0000 (12:46 +0300)]
build: don't PKG_CHECK for dbus-glib.

12 years agobuild: glib plugin needs glib, not dbus-glib.
Krisztian Litkey [Thu, 19 Apr 2012 09:45:21 +0000 (12:45 +0300)]
build: glib plugin needs glib, not dbus-glib.

12 years agodaemon: updated test config.
Krisztian Litkey [Thu, 19 Apr 2012 08:19:39 +0000 (11:19 +0300)]
daemon: updated test config.

12 years agobuild: generate/use linker scripts for murphy-db.
Krisztian Litkey [Thu, 19 Apr 2012 08:07:10 +0000 (11:07 +0300)]
build: generate/use linker scripts for murphy-db.

12 years agobuild: clean up built linker-scripts during clean.
Krisztian Litkey [Thu, 19 Apr 2012 08:06:17 +0000 (11:06 +0300)]
build: clean up built linker-scripts during clean.

12 years agobuild: linker-script generator pattern argument handling fix.
Krisztian Litkey [Thu, 19 Apr 2012 08:03:37 +0000 (11:03 +0300)]
build: linker-script generator pattern argument handling fix.

12 years agoshave: add support for lex/flex and yacc/bison.
Krisztian Litkey [Wed, 18 Apr 2012 15:14:31 +0000 (18:14 +0300)]
shave: add support for lex/flex and yacc/bison.

12 years agomurphy-db: mql syntax documentation
Janos Kovacs [Tue, 17 Apr 2012 01:11:59 +0000 (04:11 +0300)]
murphy-db: mql syntax documentation

First incarnation of the abnf.py which produces the grammar description
directly from mql-scanner.l and mql-parser.y. The lexer regexp's are not
translated to ABNF yet.

12 years agomurphy-db: mql transaction support
Janos Kovacs [Sun, 15 Apr 2012 20:45:26 +0000 (23:45 +0300)]
murphy-db: mql transaction support

Use of transaction names (eg. BEGIN foo; COMMIT foo; etc)
precompiled transaction statements (begin, commit and rollback).

12 years agomurphy-db: rest of mql transaction create routines
Janos Kovacs [Tue, 10 Apr 2012 23:23:30 +0000 (02:23 +0300)]
murphy-db: rest of mql transaction create routines

Test cases for string results only, ie. event result based
test cases are missing.

12 years agomurphy-db: triggers introduced
Janos Kovacs [Mon, 9 Apr 2012 20:07:15 +0000 (23:07 +0300)]
murphy-db: triggers introduced

mqi is fairily completei.
mql is just to see how the API will look like (only column change works)
cosmetic changes to confirm the agreed coding style (mostly typedef stuff).

12 years agomurphy-db: pkg-config support for murphy-db
Janos Kovacs [Sun, 25 Mar 2012 22:50:59 +0000 (01:50 +0300)]
murphy-db: pkg-config support for murphy-db

12 years agomurphy-db: cleanup the include file names and dependencies
Janos Kovacs [Sun, 25 Mar 2012 21:36:37 +0000 (00:36 +0300)]
murphy-db: cleanup the include file names and dependencies

12 years agomurphy-db: initial commit of the MurphyDB
Janos Kovacs [Sun, 25 Mar 2012 19:44:10 +0000 (22:44 +0300)]
murphy-db: initial commit of the MurphyDB

12 years agobuild: install .pc files & non-existing docs, honour libdir for plugins.
Krisztian Litkey [Tue, 17 Apr 2012 13:30:19 +0000 (16:30 +0300)]
build: install .pc files & non-existing docs, honour libdir for plugins.

Generate and install pkgconfig files. Honour ${libdir} in the default
plugin directory and make ${libdir} available also as a macro. Install
(the non-existing) documentation.

12 years agoplugins: add some of the missing functionality (plugin metadata, checks)
Krisztian Litkey [Fri, 13 Apr 2012 13:17:09 +0000 (16:17 +0300)]
plugins: add some of the missing functionality (plugin metadata, checks)

Added plugin and API versioning, singletons, author et al metadata,
API version check and singletonnes check. Started adding plugin states.

12 years agocommon: a simple directory scanning routine.
Krisztian Litkey [Fri, 13 Apr 2012 13:18:32 +0000 (16:18 +0300)]
common: a simple directory scanning routine.

12 years agoplugins: don't hardcode 'plugin-' prefix twice.
Krisztian Litkey [Thu, 12 Apr 2012 15:14:29 +0000 (18:14 +0300)]
plugins: don't hardcode 'plugin-' prefix twice.

12 years agoplugins: added basic support for plugin arguments.
Krisztian Litkey [Thu, 12 Apr 2012 10:48:53 +0000 (13:48 +0300)]
plugins: added basic support for plugin arguments.

12 years agocommon: more pedantic array allocation macros.
Krisztian Litkey [Thu, 12 Apr 2012 10:47:21 +0000 (13:47 +0300)]
common: more pedantic array allocation macros.

12 years agocore: don't log low-level load errors for non-existing plugins.
Krisztian Litkey [Tue, 10 Apr 2012 10:33:00 +0000 (13:33 +0300)]
core: don't log low-level load errors for non-existing plugins.

12 years agobuild: added brindging Makefiles to common, core, daemon and plugins.
Krisztian Litkey [Tue, 10 Apr 2012 10:26:33 +0000 (13:26 +0300)]
build: added brindging Makefiles to common, core, daemon and plugins.

12 years agodaemon: unified config directive handling, added info/warning/error directives.
Krisztian Litkey [Tue, 10 Apr 2012 10:02:46 +0000 (13:02 +0300)]
daemon: unified config directive handling, added info/warning/error directives.

12 years agodoc: added author info and coding style guide.
Krisztian Litkey [Fri, 6 Apr 2012 11:52:51 +0000 (14:52 +0300)]
doc: added author info and coding style guide.

12 years agobuild: removed unused Makefile.am's.
Krisztian Litkey [Fri, 6 Apr 2012 11:49:27 +0000 (14:49 +0300)]
build: removed unused Makefile.am's.

12 years agodaemon: added a config file for testing the parser.
Krisztian Litkey [Fri, 6 Apr 2012 11:44:15 +0000 (14:44 +0300)]
daemon: added a config file for testing the parser.

12 years agoplugins: added glib plugin.
Krisztian Litkey [Fri, 6 Apr 2012 11:42:30 +0000 (14:42 +0300)]
plugins: added glib plugin.

12 years agoplugins: added dbus core plugin.
Krisztian Litkey [Fri, 6 Apr 2012 11:41:20 +0000 (14:41 +0300)]
plugins: added dbus core plugin.

12 years agoplugins: a primitive plugin to test the loading/unloading infra.
Krisztian Litkey [Fri, 6 Apr 2012 11:39:58 +0000 (14:39 +0300)]
plugins: a primitive plugin to test the loading/unloading infra.

12 years agodaemon: skeleton of the daemon, config parsing.
Krisztian Litkey [Fri, 6 Apr 2012 11:36:55 +0000 (14:36 +0300)]
daemon: skeleton of the daemon, config parsing.

12 years agocommon: added utils for misc. routines (currently just daemonization).
Krisztian Litkey [Fri, 6 Apr 2012 11:33:58 +0000 (14:33 +0300)]
common: added utils for misc. routines (currently just daemonization).

12 years agocore: initial parts of the murphy plugin implementation.
Krisztian Litkey [Fri, 6 Apr 2012 11:30:39 +0000 (14:30 +0300)]
core: initial parts of the murphy plugin implementation.

12 years agocore: added murphy context.
Krisztian Litkey [Fri, 6 Apr 2012 11:28:58 +0000 (14:28 +0300)]
core: added murphy context.

12 years agocommon/tests: ad-hoc mainloop test, with a GLIB and a DBUS pumps.
Krisztian Litkey [Fri, 6 Apr 2012 11:26:01 +0000 (14:26 +0300)]
common/tests: ad-hoc mainloop test, with a GLIB and a DBUS pumps.

12 years agocommon/tests: added and ad-hoc hash table test.
Krisztian Litkey [Fri, 6 Apr 2012 11:22:35 +0000 (14:22 +0300)]
common/tests: added and ad-hoc hash table test.

12 years agocommon/tests: added and ad-hoc memory management test.
Krisztian Litkey [Fri, 6 Apr 2012 11:21:45 +0000 (14:21 +0300)]
common/tests: added and ad-hoc memory management test.

12 years agocommon: first implementation of the murphy mainloop.
Krisztian Litkey [Fri, 6 Apr 2012 11:15:26 +0000 (14:15 +0300)]
common: first implementation of the murphy mainloop.

12 years agocommon: added a simple hash table implementation.
Krisztian Litkey [Fri, 6 Apr 2012 11:13:36 +0000 (14:13 +0300)]
common: added a simple hash table implementation.

12 years agocommon: added a simple memory management wrapper/module
Krisztian Litkey [Fri, 6 Apr 2012 11:06:48 +0000 (14:06 +0300)]
common: added a simple memory management wrapper/module

By default, it passes calls through to malloc et al. If run in
debugging mode (by setting the __MURPHY_MM_CONFIG=debug) the
module keeps track of memory allocations, and can be used to
detect and report memory leaks.

The same memory management module currently also provides a page-
based object pool implementation.

12 years agocommon: added a simple logging implementation.
Krisztian Litkey [Fri, 6 Apr 2012 11:04:09 +0000 (14:04 +0300)]
common: added a simple logging implementation.

12 years agocommon: added a simple doubly-linked list implementation.
Krisztian Litkey [Fri, 6 Apr 2012 11:02:00 +0000 (14:02 +0300)]
common: added a simple doubly-linked list implementation.

12 years agocommon: added some commonly used macros.
Krisztian Litkey [Fri, 6 Apr 2012 11:00:24 +0000 (14:00 +0300)]
common: added some commonly used macros.

12 years agoSkeleton repo.
Krisztian Litkey [Tue, 13 Mar 2012 14:55:45 +0000 (16:55 +0200)]
Skeleton repo.