]>
rtime.felk.cvut.cz Git - frescor/forb.git/log
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
Michal Sojka [Thu, 28 Aug 2008 12:50:37 +0000 (14:50 +0200)]
Added more randomness to UUID generator
Michal Sojka [Thu, 28 Aug 2008 12:48:08 +0000 (14:48 +0200)]
Updated Makefile.rules to fix errors in source-list targets
Michal Sojka [Wed, 27 Aug 2008 18:40:21 +0000 (20:40 +0200)]
Started work on implementation of inter-ORB protocols
Partially implemented IOP based on UNIX sockets
Michal Sojka [Tue, 26 Aug 2008 16:07:04 +0000 (18:07 +0200)]
Deleted forb-idl/.emacs.desktop.lock add by mistake
Michal Sojka [Tue, 26 Aug 2008 15:59:59 +0000 (17:59 +0200)]
forb-idl: Commented out nonsense command line options
Michal Sojka [Tue, 26 Aug 2008 15:58:48 +0000 (17:58 +0200)]
forb-idl: Better handling of PIDL (Pseudo-IDL)
Michal Sojka [Tue, 26 Aug 2008 16:01:32 +0000 (18:01 +0200)]
Added initial work on inter-ORB communication
Michal Sojka [Tue, 26 Aug 2008 15:55:58 +0000 (17:55 +0200)]
Added support for prepending data to CDR buffers
Michal Sojka [Tue, 26 Aug 2008 15:54:22 +0000 (17:54 +0200)]
Added README with compilation instructions
Michal Sojka [Tue, 26 Aug 2008 15:53:34 +0000 (17:53 +0200)]
Added current (fixed) version of Makefile.rules which correctly supports IDL compilation
Michal Sojka [Tue, 26 Aug 2008 09:17:19 +0000 (11:17 +0200)]
Object reference has new member field pointing to ORB
Michal Sojka [Tue, 26 Aug 2008 08:45:09 +0000 (10:45 +0200)]
Shorten names of implementation structure to impl
Michal Sojka [Tue, 26 Aug 2008 08:42:15 +0000 (10:42 +0200)]
Finished IDL compilation of sequences
Michal Sojka [Mon, 25 Aug 2008 19:02:56 +0000 (21:02 +0200)]
Not finished attempt to support sequences
Michal Sojka [Mon, 25 Aug 2008 07:47:11 +0000 (09:47 +0200)]
Added working in-process example
Michal Sojka [Sun, 24 Aug 2008 11:17:43 +0000 (13:17 +0200)]
Added check to skeletons for correct interface in in-proc invocation
Michal Sojka [Sun, 24 Aug 2008 09:30:33 +0000 (11:30 +0200)]
IDL generated files can be compiled without errors now
Michal Sojka [Sun, 24 Aug 2008 08:27:03 +0000 (10:27 +0200)]
Fixed Makefile.rules to support V=2
Michal Sojka [Sat, 23 Aug 2008 16:02:40 +0000 (18:02 +0200)]
forb-idl doesn't process included IDL files by default
Michal Sojka [Fri, 22 Aug 2008 13:05:34 +0000 (15:05 +0200)]
Added serialization and deserialization to common.
It should work even with arrays and typedefs.
Michal Sojka [Fri, 22 Aug 2008 07:47:19 +0000 (09:47 +0200)]
Added tests for IDL compilator
Michal Sojka [Thu, 21 Aug 2008 17:29:56 +0000 (19:29 +0200)]
Continuation of code generation for FORB
Added something to headers and almost finished skeletons implementation.
Michal Sojka [Thu, 21 Aug 2008 17:28:04 +0000 (19:28 +0200)]
Better error handling in CDR