]>
rtime.felk.cvut.cz Git - frescor/forb.git/log
Michal Sojka [Sat, 25 Oct 2008 21:39:33 +0000 (23:39 +0200)]
Stubs must allocate memory for out-direction sequence parameters
Michal Sojka [Sat, 25 Oct 2008 21:38:39 +0000 (23:38 +0200)]
Fixed memory leak in skeletons caused by out-direction sequence parameters
Michal Sojka [Sat, 25 Oct 2008 19:06:25 +0000 (21:06 +0200)]
forb-idl: ptr variable renamed to seq
Michal Sojka [Sat, 25 Oct 2008 19:04:55 +0000 (21:04 +0200)]
forb-idl: Fixed uninitialized sequences in skeletons
Michal Sojka [Fri, 24 Oct 2008 18:33:30 +0000 (20:33 +0200)]
Fixed handling of timed-out responses
Michal Sojka [Fri, 24 Oct 2008 18:23:42 +0000 (20:23 +0200)]
Added timeout to requests
Michal Sojka [Fri, 24 Oct 2008 18:06:43 +0000 (20:06 +0200)]
Updated comments and other unimportant modifications
Michal Sojka [Fri, 24 Oct 2008 18:06:05 +0000 (20:06 +0200)]
Added function for checking for stale object references
It is called forb_object_is_stale()
Michal Sojka [Fri, 24 Oct 2008 18:04:35 +0000 (20:04 +0200)]
Fixed unhandeled EOF returned from forb_proto_send()
Michal Sojka [Thu, 23 Oct 2008 16:16:43 +0000 (18:16 +0200)]
Documentation update
Michal Sojka [Thu, 23 Oct 2008 07:40:57 +0000 (09:40 +0200)]
Fixed dereferencing of out parameters during deserialization
Michal Sojka [Tue, 21 Oct 2008 15:23:53 +0000 (17:23 +0200)]
Fixed freeing of memory for sequence parameters
Michal Sojka [Tue, 21 Oct 2008 07:17:49 +0000 (09:17 +0200)]
Added forb_get_req_source()
Michal Sojka [Mon, 20 Oct 2008 16:54:40 +0000 (18:54 +0200)]
Added forb_get_server_id()
Michal Sojka [Mon, 20 Oct 2008 15:46:13 +0000 (17:46 +0200)]
Server ID function prototypes moved to a separate header
Michal Sojka [Mon, 20 Oct 2008 13:20:39 +0000 (15:20 +0200)]
Fixed generation of prototypes with native out types
Michal Sojka [Fri, 17 Oct 2008 16:13:35 +0000 (18:13 +0200)]
Fixed freeing of native types in skeletons
Michal Sojka [Fri, 17 Oct 2008 10:35:39 +0000 (12:35 +0200)]
forb-idl: Sequences of native types are supported now
Michal Sojka [Tue, 14 Oct 2008 20:26:16 +0000 (22:26 +0200)]
forb-idl: Include header for native types must be specified by --include option
Michal Sojka [Tue, 14 Oct 2008 19:52:16 +0000 (21:52 +0200)]
Fixed include directive
Michal Sojka [Mon, 13 Oct 2008 12:19:57 +0000 (14:19 +0200)]
Added checking for stale registered references
If the registered reference already exists and is detected as stale, it
is replaced by the new one.
Michal Sojka [Mon, 13 Oct 2008 12:17:57 +0000 (14:17 +0200)]
Added possibility invoking remote methods on forb_orb interfaces
This was needed for checking for the stale registered references and
it will also be useful in future for some diagnostic tools etc.
Michal Sojka [Sun, 12 Oct 2008 20:46:50 +0000 (22:46 +0200)]
libforb is now compiled as shared library
Michal Sojka [Sun, 12 Oct 2008 20:34:10 +0000 (22:34 +0200)]
Renamed string.idl to avoid collision with /usr/include/string.h
Michal Sojka [Sun, 12 Oct 2008 20:04:06 +0000 (22:04 +0200)]
Updated documentation and code cleanups
Michal Sojka [Sun, 12 Oct 2008 07:42:38 +0000 (09:42 +0200)]
Added more error checking in hello tests
Michal Sojka [Sun, 12 Oct 2008 07:42:19 +0000 (09:42 +0200)]
Fixed destroying of ports
Now, there is no problem with traversing the forb's peer tree and deleting
the peers belonging to a particular port. Peers are added to port's list,
so during port destroying we only traverse this list and remove remove the
peers found there from forb's tree.
Michal Sojka [Sun, 12 Oct 2008 07:37:15 +0000 (09:37 +0200)]
Fixed bug reported by -fmudflap
Michal Sojka [Sat, 11 Oct 2008 19:56:23 +0000 (21:56 +0200)]
Implemented forb_(register|resolve)_reference()
Michal Sojka [Sat, 11 Oct 2008 19:54:45 +0000 (21:54 +0200)]
Unix protocol changed the location of forb's sockets to /tmp/forb
Michal Sojka [Sat, 11 Oct 2008 18:22:27 +0000 (20:22 +0200)]
Fixed alarms in proto_unix test
Michal Sojka [Sat, 11 Oct 2008 17:33:24 +0000 (19:33 +0200)]
orb field of forb_object always points to orb object even in case of orb object itself
Michal Sojka [Sat, 11 Oct 2008 10:22:41 +0000 (12:22 +0200)]
Added unlinking of stale UNIX sockets
Michal Sojka [Sat, 11 Oct 2008 09:51:59 +0000 (11:51 +0200)]
Updated TODO list
Michal Sojka [Wed, 8 Oct 2008 18:15:12 +0000 (20:15 +0200)]
Fixed problem with port destroying
As pthread_join() equivalent is not available in FOSA, we didn't wait
for the port's threads to finish, which caused segmentation faults when
the port's memory was freed and the threads was still running.
Michal Sojka [Tue, 7 Oct 2008 21:52:21 +0000 (23:52 +0200)]
Fixed segfault when the peer was not discovered within timeout
It seems, that the discovery race condition appears only on SMP systems.
There is no problem with discovery test on non-SMP machine.
Michal Sojka [Tue, 7 Oct 2008 21:48:22 +0000 (23:48 +0200)]
Fixed empty request alignment bug
When a request without any parameters was sent, the length of request
header was not multiple of 8. This caused problem at receive side, which
expected the header to have length divisible by 8.
Michal Sojka [Tue, 7 Oct 2008 16:15:09 +0000 (18:15 +0200)]
Waiting for peer discovery is almost finished
There are probably still some race conditions which appear sometimes
in the discovery test.
Michal Sojka [Tue, 7 Oct 2008 15:22:00 +0000 (17:22 +0200)]
Added parameters to forb_init()
Currently they are not used, but they will be used later and then it
will not be necessary to change existing applications.
Michal Sojka [Mon, 6 Oct 2008 15:11:34 +0000 (17:11 +0200)]
Added some TODOs
Michal Sojka [Mon, 6 Oct 2008 15:04:37 +0000 (17:04 +0200)]
Added license header
Michal Sojka [Mon, 6 Oct 2008 14:51:58 +0000 (16:51 +0200)]
Updated README and added TODO
Michal Sojka [Mon, 6 Oct 2008 14:51:35 +0000 (16:51 +0200)]
Removed dependency on idl-native.h
Now, FORB can be compiled separately without frsh_forb.
Michal Sojka [Mon, 6 Oct 2008 14:12:27 +0000 (16:12 +0200)]
Source files moved to a separate directory
Michal Sojka [Mon, 6 Oct 2008 13:46:04 +0000 (15:46 +0200)]
Fixed problem with reply alignment
Michal Sojka [Mon, 6 Oct 2008 13:17:59 +0000 (15:17 +0200)]
Better debugging messages for received messages
Michal Sojka [Mon, 6 Oct 2008 07:56:14 +0000 (09:56 +0200)]
Object creation is less error prone
Also a bug in obj2str is fixed
Michal Sojka [Sun, 5 Oct 2008 23:51:58 +0000 (01:51 +0200)]
Added more debugging messages
Michal Sojka [Sun, 5 Oct 2008 23:51:40 +0000 (01:51 +0200)]
Request body is 8 byte aligned
This is due to copying the body to exec_req, where we need the same
alignment as in the receiving buffer.
Michal Sojka [Sun, 5 Oct 2008 23:43:01 +0000 (01:43 +0200)]
Fixed very fast sending of hello messages
Michal Sojka [Sun, 5 Oct 2008 20:58:49 +0000 (22:58 +0200)]
Fixed error in unix_broadcast()
On my home box, dirent() returns DT_UNKNOWN as d_type so this value must
also be checked.
Michal Sojka [Sun, 5 Oct 2008 20:52:41 +0000 (22:52 +0200)]
Completed implementation of executors
Still not tested
Michal Sojka [Fri, 3 Oct 2008 15:53:17 +0000 (17:53 +0200)]
Some preparation for documentation
Michal Sojka [Fri, 3 Oct 2008 15:48:30 +0000 (17:48 +0200)]
Almost complete implementation of executor
Not tested yet.
Michal Sojka [Fri, 3 Oct 2008 14:23:15 +0000 (16:23 +0200)]
Finished objref (callback) testcase
There is deadlock in receiver thread so I must implement executors now to
avoid it.
Michal Sojka [Fri, 3 Oct 2008 14:21:46 +0000 (16:21 +0200)]
Fixed freeing of parameters in skeletons
Michal Sojka [Fri, 3 Oct 2008 08:44:06 +0000 (10:44 +0200)]
Object references as out parameters are now supported as well
Michal Sojka [Fri, 3 Oct 2008 08:09:08 +0000 (10:09 +0200)]
Fixed passing of structure parameters
Michal Sojka [Fri, 3 Oct 2008 07:44:21 +0000 (09:44 +0200)]
forb-idl generates correct deserialization of object references
Michal Sojka [Thu, 2 Oct 2008 22:03:29 +0000 (00:03 +0200)]
Further investigation of object reference parameters
TODO:
* serialization macros for typedefs
* proper passing of structure parameters
Michal Sojka [Thu, 2 Oct 2008 15:38:03 +0000 (17:38 +0200)]
Started implementation of object reference (de)serialization
This is not finished yet!
Michal Sojka [Thu, 2 Oct 2008 15:36:51 +0000 (17:36 +0200)]
Changed order of parameters of forb_XXX_new()
Now the mandatory parameters are at the beginning of the argument list.
Michal Sojka [Thu, 2 Oct 2008 13:58:33 +0000 (15:58 +0200)]
Added forb_object_duplicate()
Michal Sojka [Thu, 2 Oct 2008 13:22:47 +0000 (15:22 +0200)]
Fixed port destroy
Michal Sojka [Wed, 1 Oct 2008 12:36:31 +0000 (14:36 +0200)]
Added cdr_codec.h
This file provides incomplete type definition for CDR_Codec
Michal Sojka [Wed, 1 Oct 2008 12:35:34 +0000 (14:35 +0200)]
Added reference counting to peers.
This is not final version, some things doesn't work yet.
Michal Sojka [Tue, 30 Sep 2008 14:48:08 +0000 (16:48 +0200)]
Further restructuralisations and cleanups
Michal Sojka [Mon, 29 Sep 2008 15:47:35 +0000 (17:47 +0200)]
Reorganized header files
Now applications do not include useless and internal stuff such as
cdr.h and forb-internal.h (indirectly through IDL generated .h files).
Michal Sojka [Mon, 29 Sep 2008 14:58:59 +0000 (16:58 +0200)]
Object key is not the pointer but sequentially generated integer
With pointers it was too dangerous to send them across network. Moreover
it would be problematic if an object reference was released and a new one
would be malloced at the same place.
Michal Sojka [Mon, 29 Sep 2008 12:30:54 +0000 (14:30 +0200)]
Tiny fixes
Michal Sojka [Sat, 27 Sep 2008 22:43:31 +0000 (00:43 +0200)]
Remote requests works, but there are some issues
One issue is: It is possible, that the request arrives before the server\
discovers the client, so the reply cannot be sent.
Michal Sojka [Thu, 25 Sep 2008 16:53:49 +0000 (18:53 +0200)]
Added partial implementation for executor
This should be the way, how to specify which thread will handle
requests to which object.
Michal Sojka [Thu, 25 Sep 2008 16:52:21 +0000 (18:52 +0200)]
Added freeing of dynamic memory in skeletons
Michal Sojka [Tue, 23 Sep 2008 16:37:29 +0000 (18:37 +0200)]
Finished conversion of object references to and from string
Michal Sojka [Tue, 23 Sep 2008 15:47:18 +0000 (17:47 +0200)]
Added conversion of object to string + some refactoring
Michal Sojka [Mon, 22 Sep 2008 15:27:12 +0000 (17:27 +0200)]
Request stuff moved to a separate file
Michal Sojka [Mon, 22 Sep 2008 14:29:02 +0000 (16:29 +0200)]
Thread synchronization reworked to used syncobj inspired by DTM
Michal Sojka [Tue, 16 Sep 2008 21:09:28 +0000 (23:09 +0200)]
Remote communication is theoretically done (not tested)
Michal Sojka [Sun, 14 Sep 2008 21:34:00 +0000 (23:34 +0200)]
Updated .gitignore
Michal Sojka [Sun, 14 Sep 2008 21:28:22 +0000 (23:28 +0200)]
Added preliminary implementation of remote request handling
Michal Sojka [Sun, 14 Sep 2008 08:52:16 +0000 (10:52 +0200)]
Added support for native types.
Michal Sojka [Tue, 9 Sep 2008 05:41:02 +0000 (07:41 +0200)]
Fixed version of Makefile.rules for forb-idl
Conflicts:
forb-idl/Makefile.rules
Michal Sojka [Tue, 9 Sep 2008 05:39:09 +0000 (07:39 +0200)]
Added separate Makefile.rules for forb-idl
Michal Sojka [Tue, 9 Sep 2008 05:38:35 +0000 (07:38 +0200)]
Added cleanup and comments
Michal Sojka [Sun, 7 Sep 2008 12:27:47 +0000 (14:27 +0200)]
Added Makefile.rules for IDL compiler compilation
Michal Sojka [Fri, 5 Sep 2008 16:31:55 +0000 (18:31 +0200)]
Updated for compilation with the rest of FRESCOR
Michal Sojka [Tue, 2 Sep 2008 13:48:06 +0000 (15:48 +0200)]
Updates to the proposal of frescor.idl
Michal Sojka [Tue, 2 Sep 2008 13:47:55 +0000 (15:47 +0200)]
Discovery protocol works correctly now,
the main problem was the uninitialized data_endian memver in CDR_codec.
Michal Sojka [Tue, 2 Sep 2008 06:41:01 +0000 (08:41 +0200)]
Fixed indentation
Michal Sojka [Mon, 1 Sep 2008 20:47:39 +0000 (22:47 +0200)]
Discovery protocol should work now, but it doesn't :(
Michal Sojka [Mon, 1 Sep 2008 20:46:42 +0000 (22:46 +0200)]
Added test for broadcast on unix protocol
Michal Sojka [Mon, 1 Sep 2008 19:46:58 +0000 (21:46 +0200)]
Partial implementation of discovery protocol
Michal Sojka [Fri, 29 Aug 2008 13:12:47 +0000 (15:12 +0200)]
proto_data members renamed to proto_priv
Michal Sojka [Fri, 29 Aug 2008 13:06:32 +0000 (15:06 +0200)]
Merge last commit with my working version
Michal Sojka [Fri, 29 Aug 2008 12:47:58 +0000 (14:47 +0200)]
forb_server_t renamed to forb_server_id_t
Michal Sojka [Fri, 29 Aug 2008 12:38:22 +0000 (14:38 +0200)]
forb-idl: Fixed serialization of typedeffed arrays
Michal Sojka [Fri, 29 Aug 2008 08:30:44 +0000 (10:30 +0200)]
Small progress in protocol integration
Michal Sojka [Thu, 28 Aug 2008 16:06:14 +0000 (18:06 +0200)]
Added some entries to .gitignore
Michal Sojka [Thu, 28 Aug 2008 16:03:51 +0000 (18:03 +0200)]
Started integration of transport protocols to FORB
Michal Sojka [Thu, 28 Aug 2008 13:38:29 +0000 (15:38 +0200)]
Finished UNIX protocol and a test for it