]> rtime.felk.cvut.cz Git - frescor/forb.git/log
frescor/forb.git
15 years agoUpdated TODO list
Michal Sojka [Sat, 11 Oct 2008 09:51:59 +0000 (11:51 +0200)]
Updated TODO list

15 years agoFixed problem with port destroying
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.

15 years agoFixed segfault when the peer was not discovered within timeout
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.

15 years agoFixed empty request alignment bug
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.

15 years agoWaiting for peer discovery is almost finished
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.

15 years agoAdded parameters to forb_init()
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.

15 years agoAdded some TODOs
Michal Sojka [Mon, 6 Oct 2008 15:11:34 +0000 (17:11 +0200)]
Added some TODOs

15 years agoAdded license header
Michal Sojka [Mon, 6 Oct 2008 15:04:37 +0000 (17:04 +0200)]
Added license header

15 years agoUpdated README and added TODO
Michal Sojka [Mon, 6 Oct 2008 14:51:58 +0000 (16:51 +0200)]
Updated README and added TODO

15 years agoRemoved dependency on idl-native.h
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.

15 years agoSource files moved to a separate directory
Michal Sojka [Mon, 6 Oct 2008 14:12:27 +0000 (16:12 +0200)]
Source files moved to a separate directory

15 years agoFixed problem with reply alignment
Michal Sojka [Mon, 6 Oct 2008 13:46:04 +0000 (15:46 +0200)]
Fixed problem with reply alignment

15 years agoBetter debugging messages for received messages
Michal Sojka [Mon, 6 Oct 2008 13:17:59 +0000 (15:17 +0200)]
Better debugging messages for received messages

15 years agoObject creation is less error prone
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

15 years agoAdded more debugging messages
Michal Sojka [Sun, 5 Oct 2008 23:51:58 +0000 (01:51 +0200)]
Added more debugging messages

15 years agoRequest body is 8 byte aligned
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.

15 years agoFixed very fast sending of hello messages
Michal Sojka [Sun, 5 Oct 2008 23:43:01 +0000 (01:43 +0200)]
Fixed very fast sending of hello messages

15 years agoFixed error in unix_broadcast()
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.

15 years agoCompleted implementation of executors
Michal Sojka [Sun, 5 Oct 2008 20:52:41 +0000 (22:52 +0200)]
Completed implementation of executors

Still not tested

15 years agoSome preparation for documentation
Michal Sojka [Fri, 3 Oct 2008 15:53:17 +0000 (17:53 +0200)]
Some preparation for documentation

15 years agoAlmost complete implementation of executor
Michal Sojka [Fri, 3 Oct 2008 15:48:30 +0000 (17:48 +0200)]
Almost complete implementation of executor

Not tested yet.

15 years agoFinished objref (callback) testcase
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.

15 years agoFixed freeing of parameters in skeletons
Michal Sojka [Fri, 3 Oct 2008 14:21:46 +0000 (16:21 +0200)]
Fixed freeing of parameters in skeletons

15 years agoObject references as out parameters are now supported as well
Michal Sojka [Fri, 3 Oct 2008 08:44:06 +0000 (10:44 +0200)]
Object references as out parameters are now supported as well

15 years agoFixed passing of structure parameters
Michal Sojka [Fri, 3 Oct 2008 08:09:08 +0000 (10:09 +0200)]
Fixed passing of structure parameters

15 years agoforb-idl generates correct deserialization of object references
Michal Sojka [Fri, 3 Oct 2008 07:44:21 +0000 (09:44 +0200)]
forb-idl generates correct deserialization of object references

15 years agoFurther investigation of object reference parameters
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

15 years agoStarted implementation of object reference (de)serialization
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!

15 years agoChanged order of parameters of forb_XXX_new()
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.

15 years agoAdded forb_object_duplicate()
Michal Sojka [Thu, 2 Oct 2008 13:58:33 +0000 (15:58 +0200)]
Added forb_object_duplicate()

15 years agoFixed port destroy
Michal Sojka [Thu, 2 Oct 2008 13:22:47 +0000 (15:22 +0200)]
Fixed port destroy

15 years agoAdded cdr_codec.h
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

15 years agoAdded reference counting to peers.
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.

15 years agoFurther restructuralisations and cleanups
Michal Sojka [Tue, 30 Sep 2008 14:48:08 +0000 (16:48 +0200)]
Further restructuralisations and cleanups

15 years agoReorganized header files
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).

15 years agoObject key is not the pointer but sequentially generated integer
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.

15 years agoTiny fixes
Michal Sojka [Mon, 29 Sep 2008 12:30:54 +0000 (14:30 +0200)]
Tiny fixes

15 years agoRemote requests works, but there are some issues
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.

15 years agoAdded partial implementation for executor
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.

15 years agoAdded freeing of dynamic memory in skeletons
Michal Sojka [Thu, 25 Sep 2008 16:52:21 +0000 (18:52 +0200)]
Added freeing of dynamic memory in skeletons

15 years agoFinished conversion of object references to and from string
Michal Sojka [Tue, 23 Sep 2008 16:37:29 +0000 (18:37 +0200)]
Finished conversion of object references to and from string

15 years agoAdded conversion of object to string + some refactoring
Michal Sojka [Tue, 23 Sep 2008 15:47:18 +0000 (17:47 +0200)]
Added conversion of object to string + some refactoring

15 years agoRequest stuff moved to a separate file
Michal Sojka [Mon, 22 Sep 2008 15:27:12 +0000 (17:27 +0200)]
Request stuff moved to a separate file

15 years agoThread synchronization reworked to used syncobj inspired by DTM
Michal Sojka [Mon, 22 Sep 2008 14:29:02 +0000 (16:29 +0200)]
Thread synchronization reworked to used syncobj inspired by DTM

15 years agoRemote communication is theoretically done (not tested)
Michal Sojka [Tue, 16 Sep 2008 21:09:28 +0000 (23:09 +0200)]
Remote communication is theoretically done (not tested)

15 years agoUpdated .gitignore
Michal Sojka [Sun, 14 Sep 2008 21:34:00 +0000 (23:34 +0200)]
Updated .gitignore

15 years agoAdded preliminary implementation of remote request handling
Michal Sojka [Sun, 14 Sep 2008 21:28:22 +0000 (23:28 +0200)]
Added preliminary implementation of remote request handling

15 years agoAdded support for native types.
Michal Sojka [Sun, 14 Sep 2008 08:52:16 +0000 (10:52 +0200)]
Added support for native types.

15 years agoFixed version of Makefile.rules for forb-idl
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

15 years agoAdded separate Makefile.rules for forb-idl
Michal Sojka [Tue, 9 Sep 2008 05:39:09 +0000 (07:39 +0200)]
Added separate Makefile.rules for forb-idl

15 years agoAdded cleanup and comments
Michal Sojka [Tue, 9 Sep 2008 05:38:35 +0000 (07:38 +0200)]
Added cleanup and comments

15 years agoAdded Makefile.rules for IDL compiler compilation
Michal Sojka [Sun, 7 Sep 2008 12:27:47 +0000 (14:27 +0200)]
Added Makefile.rules for IDL compiler compilation

15 years agoUpdated for compilation with the rest of FRESCOR
Michal Sojka [Fri, 5 Sep 2008 16:31:55 +0000 (18:31 +0200)]
Updated for compilation with the rest of FRESCOR

15 years agoUpdates to the proposal of frescor.idl
Michal Sojka [Tue, 2 Sep 2008 13:48:06 +0000 (15:48 +0200)]
Updates to the proposal of frescor.idl

15 years agoDiscovery protocol works correctly now,
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.

15 years agoFixed indentation
Michal Sojka [Tue, 2 Sep 2008 06:41:01 +0000 (08:41 +0200)]
Fixed indentation

15 years agoDiscovery protocol should work now, but it doesn't :(
Michal Sojka [Mon, 1 Sep 2008 20:47:39 +0000 (22:47 +0200)]
Discovery protocol should work now, but it doesn't :(

15 years agoAdded test for broadcast on unix protocol
Michal Sojka [Mon, 1 Sep 2008 20:46:42 +0000 (22:46 +0200)]
Added test for broadcast on unix protocol

15 years agoPartial implementation of discovery protocol
Michal Sojka [Mon, 1 Sep 2008 19:46:58 +0000 (21:46 +0200)]
Partial implementation of discovery protocol

15 years agoproto_data members renamed to proto_priv
Michal Sojka [Fri, 29 Aug 2008 13:12:47 +0000 (15:12 +0200)]
proto_data members renamed to proto_priv

15 years agoMerge last commit with my working version
Michal Sojka [Fri, 29 Aug 2008 13:06:32 +0000 (15:06 +0200)]
Merge last commit with my working version

15 years agoforb_server_t renamed to forb_server_id_t
Michal Sojka [Fri, 29 Aug 2008 12:47:58 +0000 (14:47 +0200)]
forb_server_t renamed to forb_server_id_t

15 years agoforb-idl: Fixed serialization of typedeffed arrays
Michal Sojka [Fri, 29 Aug 2008 12:38:22 +0000 (14:38 +0200)]
forb-idl: Fixed serialization of typedeffed arrays

15 years agoSmall progress in protocol integration
Michal Sojka [Fri, 29 Aug 2008 08:30:44 +0000 (10:30 +0200)]
Small progress in protocol integration

15 years agoAdded some entries to .gitignore
Michal Sojka [Thu, 28 Aug 2008 16:06:14 +0000 (18:06 +0200)]
Added some entries to .gitignore

15 years agoStarted integration of transport protocols to FORB
Michal Sojka [Thu, 28 Aug 2008 16:03:51 +0000 (18:03 +0200)]
Started integration of transport protocols to FORB

15 years agoFinished UNIX protocol and a test for it
Michal Sojka [Thu, 28 Aug 2008 13:38:29 +0000 (15:38 +0200)]
Finished UNIX protocol and a test for it

15 years agoAdded more randomness to UUID generator
Michal Sojka [Thu, 28 Aug 2008 12:50:37 +0000 (14:50 +0200)]
Added more randomness to UUID generator

15 years agoUpdated Makefile.rules to fix errors in source-list targets
Michal Sojka [Thu, 28 Aug 2008 12:48:08 +0000 (14:48 +0200)]
Updated Makefile.rules to fix errors in source-list targets

15 years agoStarted work on implementation of inter-ORB protocols
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

15 years agoDeleted forb-idl/.emacs.desktop.lock add by mistake
Michal Sojka [Tue, 26 Aug 2008 16:07:04 +0000 (18:07 +0200)]
Deleted forb-idl/.emacs.desktop.lock add by mistake

15 years agoforb-idl: Commented out nonsense command line options
Michal Sojka [Tue, 26 Aug 2008 15:59:59 +0000 (17:59 +0200)]
forb-idl: Commented out nonsense command line options

15 years agoforb-idl: Better handling of PIDL (Pseudo-IDL)
Michal Sojka [Tue, 26 Aug 2008 15:58:48 +0000 (17:58 +0200)]
forb-idl: Better handling of PIDL (Pseudo-IDL)

15 years agoAdded initial work on inter-ORB communication
Michal Sojka [Tue, 26 Aug 2008 16:01:32 +0000 (18:01 +0200)]
Added initial work on inter-ORB communication

15 years agoAdded support for prepending data to CDR buffers
Michal Sojka [Tue, 26 Aug 2008 15:55:58 +0000 (17:55 +0200)]
Added support for prepending data to CDR buffers

15 years agoAdded README with compilation instructions
Michal Sojka [Tue, 26 Aug 2008 15:54:22 +0000 (17:54 +0200)]
Added README with compilation instructions

15 years agoAdded current (fixed) version of Makefile.rules which correctly supports IDL compilation
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

15 years agoObject reference has new member field pointing to ORB
Michal Sojka [Tue, 26 Aug 2008 09:17:19 +0000 (11:17 +0200)]
Object reference has new member field pointing to ORB

15 years agoShorten names of implementation structure to impl
Michal Sojka [Tue, 26 Aug 2008 08:45:09 +0000 (10:45 +0200)]
Shorten names of implementation structure to impl

15 years agoFinished IDL compilation of sequences
Michal Sojka [Tue, 26 Aug 2008 08:42:15 +0000 (10:42 +0200)]
Finished IDL compilation of sequences

15 years agoNot finished attempt to support sequences
Michal Sojka [Mon, 25 Aug 2008 19:02:56 +0000 (21:02 +0200)]
Not finished attempt to support sequences

15 years agoAdded working in-process example
Michal Sojka [Mon, 25 Aug 2008 07:47:11 +0000 (09:47 +0200)]
Added working in-process example

15 years agoAdded check to skeletons for correct interface in in-proc invocation
Michal Sojka [Sun, 24 Aug 2008 11:17:43 +0000 (13:17 +0200)]
Added check to skeletons for correct interface in in-proc invocation

15 years agoIDL generated files can be compiled without errors now
Michal Sojka [Sun, 24 Aug 2008 09:30:33 +0000 (11:30 +0200)]
IDL generated files can be compiled without errors now

15 years agoFixed Makefile.rules to support V=2
Michal Sojka [Sun, 24 Aug 2008 08:27:03 +0000 (10:27 +0200)]
Fixed Makefile.rules to support V=2

15 years agoforb-idl doesn't process included IDL files by default
Michal Sojka [Sat, 23 Aug 2008 16:02:40 +0000 (18:02 +0200)]
forb-idl doesn't process included IDL files by default

15 years agoAdded serialization and deserialization to common.
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.

15 years agoAdded tests for IDL compilator
Michal Sojka [Fri, 22 Aug 2008 07:47:19 +0000 (09:47 +0200)]
Added tests for IDL compilator

15 years agoContinuation of code generation for FORB
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.

15 years agoBetter error handling in CDR
Michal Sojka [Thu, 21 Aug 2008 17:28:04 +0000 (19:28 +0200)]
Better error handling in CDR

15 years agoStart of code generation for FORB
Michal Sojka [Wed, 20 Aug 2008 17:31:52 +0000 (19:31 +0200)]
Start of code generation for FORB

Header files and skels are almost complete now.

15 years agoAdded gitignore
Michal Sojka [Wed, 20 Aug 2008 10:56:35 +0000 (12:56 +0200)]
Added gitignore

15 years agoorbit-idl converted to forb-idl and can now be compiled by OMK
Michal Sojka [Wed, 20 Aug 2008 10:54:46 +0000 (12:54 +0200)]
orbit-idl converted to forb-idl and can now be compiled by OMK

15 years agoImported orbit-idl sources (renamed to forb-idl)
Michal Sojka [Tue, 19 Aug 2008 09:22:25 +0000 (11:22 +0200)]
Imported orbit-idl sources (renamed to forb-idl)

15 years agoCDR routines ported from ORTE to FORB
Michal Sojka [Mon, 18 Aug 2008 12:30:29 +0000 (14:30 +0200)]
CDR routines ported from ORTE to FORB

15 years agoAdded rtps_endian.h from ORTE
Michal Sojka [Mon, 18 Aug 2008 12:04:57 +0000 (14:04 +0200)]
Added rtps_endian.h from ORTE

15 years agoAdded CDR handling from ORTE
Michal Sojka [Tue, 29 Jul 2008 12:19:01 +0000 (14:19 +0200)]
Added CDR handling from ORTE

15 years agoInitial test of IDL for FRESCOR
Michal Sojka [Mon, 28 Jul 2008 16:46:27 +0000 (18:46 +0200)]
Initial test of IDL for FRESCOR