Krisztian Litkey [Thu, 4 Oct 2012 06:35:13 +0000 (09:35 +0300)]
build-sys: handle no exports by gen-inker-script.
Krisztian Litkey [Fri, 28 Sep 2012 14:21:55 +0000 (17:21 +0300)]
common: update debug function info.
Krisztian Litkey [Fri, 28 Sep 2012 14:21:14 +0000 (17:21 +0300)]
build-sys: better include defaults.
Krisztian Litkey [Thu, 27 Sep 2012 11:34:32 +0000 (14:34 +0300)]
common/ecore-glue: try to emulate HUP I/O events
Try to emulate HUP I/O events on top of ecore main loop using
recv/MSG_PEEK whenever the fd becomes readable and the user has
subscribed for HUP events. Fortunately this is not needed as we
only use ecore I/O watches to monitor our epoll fd. I've added
it just for the sake of completeness.
Krisztian Litkey [Thu, 27 Sep 2012 08:23:31 +0000 (11:23 +0300)]
common/ecore-glue: added libmurphy-ecore, an EFL/ecore murphy superloop.
libmurphy-ecore provides the necessary gluing code to enable the murphy
mainloop to be pumped by an EFL/ecore mainloop. Since ecore internally
uses glib, we'll probably have eventually a similar glib-glue library
and use that for ecore-glue as well...
Krisztian Litkey [Thu, 27 Sep 2012 08:04:50 +0000 (11:04 +0300)]
common: a bit better superloop abstraction with improvement cleanup
Cleaned up a little bit the superloop abstraction with repect to
cleanup/unregistration. Now the superloop glue code provides a
cleanup handler which is invoked by the mainloop during unregistration.
The dangerous bits of passing the opaque glue data between the mainloop
and the superloop glue via the user are now gone.
Updated the pulse glue accordingly.
Krisztian Litkey [Thu, 27 Sep 2012 07:59:13 +0000 (10:59 +0300)]
common/transport: uninitialized variable fix.
Krisztian Litkey [Wed, 26 Sep 2012 13:21:46 +0000 (16:21 +0300)]
murphy-db: return MQI_STAMP_NONE as stamp for non-existing tables.
Krisztian Litkey [Wed, 26 Sep 2012 13:18:39 +0000 (16:18 +0300)]
common: added mrp_msg_set, mrp_msg_iterate, mrp_msg_find for arrays.
Krisztian Litkey [Tue, 25 Sep 2012 17:08:21 +0000 (20:08 +0300)]
daemon: handle correctly log levels given with -l.
Krisztian Litkey [Mon, 24 Sep 2012 07:39:32 +0000 (10:39 +0300)]
murphy-db: get_table_handle should return MQI_INVALID_HANDLE for non-existing tables.
Krisztian Litkey [Mon, 24 Sep 2012 07:36:22 +0000 (10:36 +0300)]
murphy-db: fix some initialization macros to compile cleaner with -Wextra.
Krisztian Litkey [Fri, 14 Sep 2012 18:58:32 +0000 (21:58 +0300)]
common: fix incorrect index usage in default decoding of arrays.
Krisztian Litkey [Thu, 13 Sep 2012 06:56:39 +0000 (09:56 +0300)]
scripts: report autotools failures in bootstrap.
Krisztian Litkey [Wed, 12 Sep 2012 19:54:32 +0000 (22:54 +0300)]
common/msg: added mrp_msg_get for fetching multiple message fields.
You can use mrp_msg_get to fetch multiple fields from a message with
a single function call. Moreover, the implementation will do its best
to avoid scanning the message more than once. IOW, mrp_msg_get can be
used to fetch multiple fields from a message efficiently if the fields
to fetch are specified in the same order (with potential fields missing
in between) as they are present in the actual message.
Krisztian Litkey [Wed, 12 Sep 2012 11:55:58 +0000 (14:55 +0300)]
Added missing licensing information.
Krisztian Litkey [Wed, 12 Sep 2012 11:49:00 +0000 (14:49 +0300)]
scripts: added build-aux/enlicense.
Ismo Puustinen [Wed, 12 Sep 2012 09:25:42 +0000 (12:25 +0300)]
common: fix the stream-transport read handling.
Ismo Puustinen [Thu, 21 Jun 2012 15:15:36 +0000 (18:15 +0300)]
config: try to load the signalling plugin.
Ismo Puustinen [Tue, 11 Sep 2012 09:27:37 +0000 (12:27 +0300)]
build-sys: regenerated common-func-info.
Ismo Puustinen [Tue, 11 Sep 2012 09:33:21 +0000 (12:33 +0300)]
common: removed extra debug messages from internal transport.
Ismo Puustinen [Tue, 11 Sep 2012 09:23:30 +0000 (12:23 +0300)]
build-sys: correct tabulation.
Ismo Puustinen [Fri, 7 Sep 2012 08:25:10 +0000 (11:25 +0300)]
signalling: import methods.
Ismo Puustinen [Fri, 7 Sep 2012 10:33:44 +0000 (13:33 +0300)]
build-sys: no longer generate symbols for signalling.
Ismo Puustinen [Fri, 7 Sep 2012 07:24:05 +0000 (10:24 +0300)]
signalling: plugin compiles again.
Ismo Puustinen [Thu, 6 Sep 2012 11:43:30 +0000 (14:43 +0300)]
build-sys: added missing header files to install.
Ismo Puustinen [Mon, 27 Aug 2012 10:36:05 +0000 (13:36 +0300)]
common: bug fixes in internal transport and tests.
Ismo Puustinen [Tue, 21 Aug 2012 13:43:38 +0000 (16:43 +0300)]
tests: basic test for creating internal enforcement point.
Ismo Puustinen [Thu, 12 Jul 2012 10:54:27 +0000 (13:54 +0300)]
common: initial support for internal transport.
Ismo Puustinen [Thu, 5 Jul 2012 13:00:15 +0000 (16:00 +0300)]
signalling: started working on multiple endpoint support.
Ismo Puustinen [Thu, 5 Jul 2012 07:25:35 +0000 (10:25 +0300)]
test: parametrized the test enforcement point.
Ismo Puustinen [Wed, 4 Jul 2012 13:35:46 +0000 (16:35 +0300)]
signalling: added license headers.
Ismo Puustinen [Wed, 4 Jul 2012 13:30:35 +0000 (16:30 +0300)]
test: more tests for signalling.
Ismo Puustinen [Wed, 4 Jul 2012 13:30:23 +0000 (16:30 +0300)]
signalling: fixed API error handling.
Ismo Puustinen [Tue, 3 Jul 2012 15:07:57 +0000 (18:07 +0300)]
test: added a function to test plugin for testing signalling interface.
Ismo Puustinen [Tue, 3 Jul 2012 14:57:53 +0000 (17:57 +0300)]
signalling: fixes to transactions, better debug messages.
Ismo Puustinen [Tue, 3 Jul 2012 13:14:16 +0000 (16:14 +0300)]
signalling: support for transaction timeouts.
Ismo Puustinen [Fri, 29 Jun 2012 11:21:51 +0000 (14:21 +0300)]
signalling: add an initial signalling plugin.
Krisztian Litkey [Tue, 11 Sep 2012 08:11:26 +0000 (11:11 +0300)]
plugin-test: test hack console command for testing target updates.
Krisztian Litkey [Tue, 11 Sep 2012 08:05:33 +0000 (11:05 +0300)]
core: debug table update.
Krisztian Litkey [Tue, 11 Sep 2012 07:50:01 +0000 (10:50 +0300)]
resolver: emit target update events, run autoupdate from a deferred cb.
Deferring autoupdates requires deferring functions from the main
loop. These are available from the main murphy context on which
the resolver did not have any dependency so far. Direct dependency
could have been avoided by hiding the deferring functions behind
externally provided callbacks.
However, since eventually we probably want to be able to demand-
load (mrp_request_plugin) scriptlet interpreter plugins it's easier
to just provide access to the main context (and its mainloop) for
the resolver. The downside is that this creates an ugly cross-
dependency between the main context and the resolver context...
Krisztian Litkey [Tue, 11 Sep 2012 07:22:42 +0000 (10:22 +0300)]
resolver: added basic event emission support.
Krisztian Litkey [Tue, 11 Sep 2012 07:16:10 +0000 (10:16 +0300)]
core, common/msg: enabled sentinel check for safer event emitting.
Krisztian Litkey [Tue, 11 Sep 2012 07:12:52 +0000 (10:12 +0300)]
common: added mrp_list_insert_{before,after}.
Janos Kovacs [Mon, 10 Sep 2012 22:53:46 +0000 (01:53 +0300)]
common: including macros.h in hashtbl.h
Krisztian Litkey [Fri, 7 Sep 2012 17:37:22 +0000 (20:37 +0300)]
core: force exported/imported methods to be static.
Krisztian Litkey [Fri, 26 Oct 2012 16:03:20 +0000 (19:03 +0300)]
repo-fixing: fixup #3.
Krisztian Litkey [Fri, 7 Sep 2012 17:29:14 +0000 (20:29 +0300)]
plugin-test: ugly hacks for DB/resolver testing.
Krisztian Litkey [Fri, 7 Sep 2012 17:28:27 +0000 (20:28 +0300)]
daemon: minor cleanup.
Krisztian Litkey [Fri, 7 Sep 2012 17:25:38 +0000 (20:25 +0300)]
resolver: preliminary DB integration, autoupdate&script preparation support.
Krisztian Litkey [Fri, 7 Sep 2012 17:14:58 +0000 (20:14 +0300)]
core: added scriptlet preparation support.
Added a prepare operation to scriptlet interpreter. If provided by an
interpreter, preparing a scriptlet should carry out any and all actions
necessary to finalize a compiled scriptlet for execution. For instance,
the simple builtin resolver scriptlet interpreter uses the preparation
phase to link function names to exported functions. The normal sequence
to run a scriptlet is now create - compile - prepare - execute.
Krisztian Litkey [Fri, 7 Sep 2012 16:05:53 +0000 (19:05 +0300)]
daemon: enable debug logs if debug options are set.
Krisztian Litkey [Thu, 6 Sep 2012 15:17:17 +0000 (18:17 +0300)]
daemon: active logging/debugging options immediately.
Krisztian Litkey [Thu, 6 Sep 2012 14:04:30 +0000 (17:04 +0300)]
daemon: added forgotten daemon.h
Krisztian Litkey [Thu, 6 Sep 2012 14:04:15 +0000 (17:04 +0300)]
resolver: added forgotten scanner.h.
Krisztian Litkey [Thu, 6 Sep 2012 13:57:45 +0000 (16:57 +0300)]
common: updated debug function info.
Krisztian Litkey [Thu, 6 Sep 2012 11:58:08 +0000 (14:58 +0300)]
murphy-db: don't start failing transaction creation from the MQI_TXDEPTH_MAX-1'th transaction.
Krisztian Litkey [Thu, 6 Sep 2012 11:53:41 +0000 (14:53 +0300)]
murphy-db: correctly return the number of affected rows for 'delete all's.
Krisztian Litkey [Thu, 6 Sep 2012 11:44:35 +0000 (14:44 +0300)]
murphy-db: added mqi and mdb support for table stamping.
Each table has now a modification stamp. The modification stamp
is a monotonically increasing integer that is incremented every
time a new transaction modifies a table, ie. the stamp is the
number of transactions that have modified the table (and have
eventually been fully committed). Stamps are preserved across
commits and rolled back during rollbacks. Stamps can be queried
by table handle.
Krisztian Litkey [Thu, 6 Sep 2012 06:14:54 +0000 (09:14 +0300)]
resolver: 's/cleanup/destroy/g'.
Krisztian Litkey [Wed, 5 Sep 2012 11:13:14 +0000 (14:13 +0300)]
resolver: removed unused/moved context typedefs.
Krisztian Litkey [Wed, 5 Sep 2012 10:29:29 +0000 (13:29 +0300)]
resolver: added builtin echo.
Krisztian Litkey [Wed, 5 Sep 2012 08:46:58 +0000 (11:46 +0300)]
resolver: better relative path handling for includes.
Krisztian Litkey [Wed, 5 Sep 2012 10:09:46 +0000 (13:09 +0300)]
core: allow including method.h without including plugin.h first.
Krisztian Litkey [Wed, 5 Sep 2012 08:27:36 +0000 (11:27 +0300)]
daemon: try to load resolver ruleset if specified in the config file.
Krisztian Litkey [Wed, 5 Sep 2012 08:25:07 +0000 (11:25 +0300)]
core: don't try to print NULL signature.
Krisztian Litkey [Tue, 4 Sep 2012 16:43:01 +0000 (19:43 +0300)]
core: initial event infrastructure, daemon and plugin events.
The basic event interface provides a mechanism for
- registering named events
- subscribing to events
- unsubscribing from events
- emitting events with some attached event-specific data
Event emission relies on the generic messages of the transport
layer to attach data to events. Albeit admittably a bit cumbersome,
this provides a way to gracefully handle different than expected
data on the subscriber side.
Krisztian Litkey [Tue, 4 Sep 2012 16:36:10 +0000 (19:36 +0300)]
common/msg: more convenience macros and functions.
Krisztian Litkey [Tue, 4 Sep 2012 16:27:44 +0000 (19:27 +0300)]
common: added mrp_list_update_address.
Krisztian Litkey [Mon, 3 Sep 2012 10:43:24 +0000 (13:43 +0300)]
daemon: added configuration directive for setting resolver ruleset.
Added a new configuration directive that can be used to set various
configuration settings. Currently it can only be used to set the
resolver ruleset path like this
set resolver-ruleset '/path/to/resolver/ruleset-file'
It can be generalized with a few minor changes to handle other
configuration settings if/when needed.
Krisztian Litkey [Mon, 3 Sep 2012 10:25:02 +0000 (13:25 +0300)]
common: fix mrp_msg_t field (double-)allocation leak.
Krisztian Litkey [Mon, 3 Sep 2012 10:20:54 +0000 (13:20 +0300)]
common: fix leak in I/O watch deletion.
Krisztian Litkey [Mon, 3 Sep 2012 06:37:28 +0000 (09:37 +0300)]
build-sys: fix for (re)moved resolver/script.c.
Krisztian Litkey [Mon, 3 Sep 2012 06:29:49 +0000 (09:29 +0300)]
build-sys: updated debug function mappings.
Krisztian Litkey [Mon, 3 Sep 2012 06:28:07 +0000 (09:28 +0300)]
build-sys: build updates for core and resolver.
Krisztian Litkey [Mon, 3 Sep 2012 06:21:31 +0000 (09:21 +0300)]
resolver: script compilation, function lookup and execution, and more.
Added basic script compilation, function lookup, and script execution
code. Also some of the supporting scripting code (script.c, context.c)
has been lifted over to core.
The current (dres-like) named variable model with nested scoping
probably does not make much sense any more. Needs a bit more thinking
and probably a rewrite...
Krisztian Litkey [Fri, 26 Oct 2012 15:59:32 +0000 (18:59 +0300)]
repo-fixing: fixup #2.
Krisztian Litkey [Mon, 3 Sep 2012 06:02:52 +0000 (09:02 +0300)]
core: initial shot at method export/import; code liftover from resolver.
Basic method export/import support has been added to core. Plugins
can now declare two sets of methods. One that they wish to export
for others and one that they need to import from others for performing
their basic function. Boilerplate routines for scripting can now be
exported with the same mechanism.
Krisztian Litkey [Thu, 23 Aug 2012 13:33:45 +0000 (16:33 +0300)]
build-sys: updates for building the resolver.
Krisztian Litkey [Thu, 23 Aug 2012 13:30:43 +0000 (16:30 +0300)]
resolver: fixes, basic context variable handling.
Krisztian Litkey [Tue, 21 Aug 2012 07:36:56 +0000 (10:36 +0300)]
resolver: initial scripting infra + a primitive builtin script.
Krisztian Litkey [Tue, 21 Aug 2012 07:20:34 +0000 (10:20 +0300)]
common: added mrp_list_move for moving full lists between hooks.
Krisztian Litkey [Mon, 13 Aug 2012 07:17:03 +0000 (10:17 +0300)]
common: test and debug line info update.
Krisztian Litkey [Mon, 13 Aug 2012 07:12:59 +0000 (10:12 +0300)]
build-sys: debug table generation fixes/cleanup.
Krisztian Litkey [Mon, 13 Aug 2012 07:09:03 +0000 (10:09 +0300)]
resolver: initial import of an embrionic dependency resolver.
Krisztian Litkey [Fri, 10 Aug 2012 15:15:48 +0000 (18:15 +0300)]
common: fixed debug control by file basename.
Krisztian Litkey [Fri, 26 Oct 2012 15:43:07 +0000 (18:43 +0300)]
repo-fixing: fixup #1.
Krisztian Litkey [Wed, 4 Jul 2012 12:29:31 +0000 (15:29 +0300)]
Debugging function info update (changed because of license insertion).
Krisztian Litkey [Wed, 4 Jul 2012 12:26:26 +0000 (15:26 +0300)]
build-sys: added --enable-gpl configure option.
Ismo Puustinen [Wed, 4 Jul 2012 11:57:10 +0000 (14:57 +0300)]
licensing: rewrote COPYING.
Krisztian Litkey [Wed, 4 Jul 2012 11:35:51 +0000 (14:35 +0300)]
Added licensing information.
Krisztian Litkey [Tue, 3 Jul 2012 16:03:54 +0000 (19:03 +0300)]
common, core: moved debug site listing to common.
Krisztian Litkey [Fri, 29 Jun 2012 15:59:42 +0000 (18:59 +0300)]
build-sys: keep generated linker scripts, debug files around.
To avoid having a hard compile-time dependency on ctags/etags,
we keep generated linker scripts and debug function info files
in the repository and only regenerate them when required. IOW,
they are required for hacking around in but not for just compiling
murphy...
Krisztian Litkey [Fri, 29 Jun 2012 11:02:14 +0000 (14:02 +0300)]
build-sys: install also configuration file.
Krisztian Litkey [Fri, 29 Jun 2012 11:01:46 +0000 (14:01 +0300)]
build-sys: configure takes list of dynamic plugins now.
Krisztian Litkey [Thu, 28 Jun 2012 15:52:16 +0000 (18:52 +0300)]
common: check custom data counted array consistency on the receiver side.
Krisztian Litkey [Thu, 28 Jun 2012 14:59:53 +0000 (17:59 +0300)]
murphy-db: eliminating typedef redefinitions
Krisztian Litkey [Thu, 28 Jun 2012 13:15:24 +0000 (16:15 +0300)]
murphy-db: fixes for more recent/pedantic versions of gcc.
Krisztian Litkey [Thu, 28 Jun 2012 13:12:57 +0000 (16:12 +0300)]
common/tests: fixes for more recent/pedantic versions of gcc.
Krisztian Litkey [Thu, 28 Jun 2012 13:12:29 +0000 (16:12 +0300)]
console: fixes for more recent/pedantic versions of gcc.