]> rtime.felk.cvut.cz Git - frescor/forb.git/log
frescor/forb.git
15 years agoFixed unhandeled EOF returned from forb_proto_send()
Michal Sojka [Fri, 24 Oct 2008 18:04:35 +0000 (20:04 +0200)]
Fixed unhandeled EOF returned from forb_proto_send()

15 years agoDocumentation update
Michal Sojka [Thu, 23 Oct 2008 16:16:43 +0000 (18:16 +0200)]
Documentation update

15 years agoFixed dereferencing of out parameters during deserialization
Michal Sojka [Thu, 23 Oct 2008 07:40:57 +0000 (09:40 +0200)]
Fixed dereferencing of out parameters during deserialization

15 years agoFixed freeing of memory for sequence parameters
Michal Sojka [Tue, 21 Oct 2008 15:23:53 +0000 (17:23 +0200)]
Fixed freeing of memory for sequence parameters

15 years agoAdded forb_get_req_source()
Michal Sojka [Tue, 21 Oct 2008 07:17:49 +0000 (09:17 +0200)]
Added forb_get_req_source()

15 years agoAdded forb_get_server_id()
Michal Sojka [Mon, 20 Oct 2008 16:54:40 +0000 (18:54 +0200)]
Added forb_get_server_id()

15 years agoServer ID function prototypes moved to a separate header
Michal Sojka [Mon, 20 Oct 2008 15:46:13 +0000 (17:46 +0200)]
Server ID function prototypes moved to a separate header

15 years agoFixed generation of prototypes with native out types
Michal Sojka [Mon, 20 Oct 2008 13:20:39 +0000 (15:20 +0200)]
Fixed generation of prototypes with native out types

15 years agoFixed freeing of native types in skeletons
Michal Sojka [Fri, 17 Oct 2008 16:13:35 +0000 (18:13 +0200)]
Fixed freeing of native types in skeletons

15 years agoforb-idl: Sequences of native types are supported now
Michal Sojka [Fri, 17 Oct 2008 10:35:39 +0000 (12:35 +0200)]
forb-idl: Sequences of native types are supported now

15 years agoforb-idl: Include header for native types must be specified by --include option
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

15 years agoFixed include directive
Michal Sojka [Tue, 14 Oct 2008 19:52:16 +0000 (21:52 +0200)]
Fixed include directive

15 years agoAdded checking for stale registered references
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.

15 years agoAdded possibility invoking remote methods on forb_orb interfaces
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.

15 years agolibforb is now compiled as shared library
Michal Sojka [Sun, 12 Oct 2008 20:46:50 +0000 (22:46 +0200)]
libforb is now compiled as shared library

15 years agoRenamed string.idl to avoid collision with /usr/include/string.h
Michal Sojka [Sun, 12 Oct 2008 20:34:10 +0000 (22:34 +0200)]
Renamed string.idl to avoid collision with /usr/include/string.h

15 years agoUpdated documentation and code cleanups
Michal Sojka [Sun, 12 Oct 2008 20:04:06 +0000 (22:04 +0200)]
Updated documentation and code cleanups

15 years agoAdded more error checking in hello tests
Michal Sojka [Sun, 12 Oct 2008 07:42:38 +0000 (09:42 +0200)]
Added more error checking in hello tests

15 years agoFixed destroying of ports
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.

15 years agoFixed bug reported by -fmudflap
Michal Sojka [Sun, 12 Oct 2008 07:37:15 +0000 (09:37 +0200)]
Fixed bug reported by -fmudflap

15 years agoImplemented forb_(register|resolve)_reference()
Michal Sojka [Sat, 11 Oct 2008 19:56:23 +0000 (21:56 +0200)]
Implemented forb_(register|resolve)_reference()

15 years agoUnix protocol changed the location of forb's sockets to /tmp/forb
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

15 years agoFixed alarms in proto_unix test
Michal Sojka [Sat, 11 Oct 2008 18:22:27 +0000 (20:22 +0200)]
Fixed alarms in proto_unix test

15 years agoorb field of forb_object always points to orb object even in case of orb object itself
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

15 years agoAdded unlinking of stale UNIX sockets
Michal Sojka [Sat, 11 Oct 2008 10:22:41 +0000 (12:22 +0200)]
Added unlinking of stale UNIX sockets

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