]> rtime.felk.cvut.cz Git - orte.git/log
orte.git
10 years agoJORTE: fix endianness the proper way
Martin Vajnar [Sun, 14 Jul 2013 12:57:21 +0000 (14:57 +0200)]
JORTE: fix endianness the proper way

Use the GNU C compiler macro __BYTE_ORDER__ to set data_endian on the C
side and ByteOrder.nativeOrder() function to set ByteBuffer's order
in the MessageData class on the Java side.

10 years agoANDROID: correct return value
Martin Vajnar [Sat, 13 Jul 2013 17:15:34 +0000 (19:15 +0200)]
ANDROID: correct return value

10 years agoROBOT_DEMO: add proper destructor in C version
Martin Vajnar [Sat, 13 Jul 2013 17:11:51 +0000 (19:11 +0200)]
ROBOT_DEMO: add proper destructor in C version

10 years agoROBOT_DEMO: decrease CPU usage
Martin Vajnar [Sat, 13 Jul 2013 16:50:14 +0000 (18:50 +0200)]
ROBOT_DEMO: decrease CPU usage

Now there are 2 major threads on the Java side. The first one is main which
takes care of drawing GUI and receives callbacks from accelerometer.
The second one computes and sends values to the robot's motors.

10 years agoJORTE: update required Java API version
Martin Vajnar [Thu, 11 Jul 2013 12:52:39 +0000 (14:52 +0200)]
JORTE: update required Java API version

10 years agoROBOT_DEMO: use Manager class instead of ortemanager binary
Martin Vajnar [Thu, 11 Jul 2013 11:46:23 +0000 (13:46 +0200)]
ROBOT_DEMO: use Manager class instead of ortemanager binary

10 years agoANDROID: replace native binary ortemanager with Java class
Martin Vajnar [Thu, 11 Jul 2013 11:44:44 +0000 (13:44 +0200)]
ANDROID: replace native binary ortemanager with Java class

This eliminates the need for binary ortemanager in assets/ folder
of projects that make use of this library.

NOTE: At current moment it is only possible to set IP addresses of fellow
managers.

10 years agoJORTE: add basic Java domain manager
Martin Vajnar [Thu, 11 Jul 2013 11:40:26 +0000 (13:40 +0200)]
JORTE: add basic Java domain manager

This adds basic Java manager. Currently it is only possible to set IP
addresses of fellow managers.

10 years agoJORTE: use brackets around '^'
Martin Vajnar [Sun, 7 Jul 2013 21:40:44 +0000 (23:40 +0200)]
JORTE: use brackets around '^'

This avoids compiler warnings.

10 years agoJORTE: use correct format specifiers
Martin Vajnar [Sun, 7 Jul 2013 21:38:13 +0000 (23:38 +0200)]
JORTE: use correct format specifiers

10 years agoROBOT_DEMO: add robot demo for Android
Martin Vajnar [Sun, 7 Jul 2013 18:16:52 +0000 (20:16 +0200)]
ROBOT_DEMO: add robot demo for Android

Initial commit of robot demo for Android.

10 years agoANDROID: add support for Android
Martin Vajnar [Sun, 7 Jul 2013 17:24:59 +0000 (19:24 +0200)]
ANDROID: add support for Android

Add preliminary Android library.

Note: Current Android NDK doesn't allow libraries to have assets folder,
but we place the ortemanager in there. At current point it is necessary
for applications using this library to either manually copy the compiled
ortemanager over to their own assets folder or to create a symlink.

10 years agoJORTE: alter sendCallBack
Martin Vajnar [Sun, 7 Jul 2013 17:13:41 +0000 (19:13 +0200)]
JORTE: alter sendCallBack

Alter the sendCallBack, so it doesn't scramble the sent instance.

10 years agoJORTE: prepare for Android (fix class loader problems + add logging)
Martin Vajnar [Sun, 7 Jul 2013 16:50:01 +0000 (18:50 +0200)]
JORTE: prepare for Android (fix class loader problems + add logging)

This fixes class loading problems on Android.

As per the Android Documentation (http://developer.android.com/training/articles/perf-jni.html#faq_FindClass):

Android's Dalvik VM uses the loader associated with the method
at the top of the interpreted stack, or if there isn't one
(because the thread was just attached), it uses the "system" class
loader, for FindClass calls.

To overcome this the JNI_OnLoad function is used. Any FindClass calls made
from there will happen in the context of the class loader used to load
the shared library. So from there one class that will always be present
in the JORTE Java package is chosen (org.ocera.orte.JOrte) and it's
class loader is stored as a global reference inside the VM (thus shared
by all processes attached to the VM) and as a static variable (accesible
only by functions from the onLoad.c file) on the C side.Also the findClass
and findLoadedClass method IDs are cached. To simplify the class loading
process inside C functions the findClass functions is written.

Android also doesn't implement the printf function. However it does have
a logging capability, so a variadic macro replacing occurences of printf
with __android_log_print is used.

10 years agoJORTE: add 64-bit support
Martin Vajnar [Sun, 7 Jul 2013 15:12:27 +0000 (17:12 +0200)]
JORTE: add 64-bit support

Store pointers to C objects in jlong (always 64-bit)
rather than in jint (always 32-bit).

10 years agoJORTE: fix typo
Martin Vajnar [Sun, 7 Jul 2013 11:47:07 +0000 (13:47 +0200)]
JORTE: fix typo

Correct type conversions.

10 years agoJORTE: fix inverted logic and add brackets
Martin Vajnar [Sun, 7 Jul 2013 11:43:59 +0000 (13:43 +0200)]
JORTE: fix inverted logic and add brackets

Fix inverted logic bug, that prevented proper native
thread detachment from Java VM.

10 years agoJORTE: fix inverted logic
Martin Vajnar [Sun, 7 Jul 2013 11:29:44 +0000 (13:29 +0200)]
JORTE: fix inverted logic

10 years agoJORTE: attempt at fixing endianness problems
Martin Vajnar [Sun, 7 Jul 2013 11:27:22 +0000 (13:27 +0200)]
JORTE: attempt at fixing endianness problems

This is an attempt at fixing endianness problems
that occur when communicating with traditional ORTE
publishers/subscribers written in pure C.

10 years agoJORTE: fix typo
Martin Vajnar [Sun, 7 Jul 2013 11:19:57 +0000 (13:19 +0200)]
JORTE: fix typo

10 years agoJORTE: fix class name
Martin Vajnar [Sun, 7 Jul 2013 11:17:02 +0000 (13:17 +0200)]
JORTE: fix class name

10 years agoJORTE: add const qualifier to function declarations
Martin Vajnar [Sun, 7 Jul 2013 11:13:32 +0000 (13:13 +0200)]
JORTE: add const qualifier to function declarations

10 years agoUse sigwaitinfo() function only if available.
Pavel Pisa [Fri, 20 Sep 2013 13:56:16 +0000 (15:56 +0200)]
Use sigwaitinfo() function only if available.

Resolves yet another deficiency of Bionic C library.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoANDROID: Use orte_config_android.h as the last resort if sources are not regularly...
Pavel Pisa [Fri, 20 Sep 2013 11:28:04 +0000 (13:28 +0200)]
ANDROID: Use orte_config_android.h as the last resort if sources are not regularly configured.

Based on Martin Vajnar's patch

  ORTE: Android hack - define HAVE_CONFIG_H

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoANDROID: added variant of orte_config.h which provides configuration for android...
Pavel Pisa [Fri, 20 Sep 2013 10:11:55 +0000 (12:11 +0200)]
ANDROID: added variant of orte_config.h which provides configuration for android build.

The file orte_config_android.h provides Android contents of
orte_config.h used by Martin Vajnar <martin.vajnar@gmail.com>
during ORTE Android support development which was introduced
by his patches

  ORTE: Android hack - define HAVE_CONFIG_H

  ANDROID: allow compilation from command line add new orte_config.h
     This allows compilation of native code with ndk-build and
     of Java part with ant.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoFix a few typos in readme
Michal Sojka [Thu, 19 Sep 2013 20:58:17 +0000 (22:58 +0200)]
Fix a few typos in readme

10 years agoModularize make dist target
Michal Sojka [Tue, 17 Sep 2013 09:18:23 +0000 (11:18 +0200)]
Modularize make dist target

10 years agoTry to compile orte for Mingw in the dist target
Michal Sojka [Tue, 17 Sep 2013 09:03:52 +0000 (11:03 +0200)]
Try to compile orte for Mingw in the dist target

10 years agoBe more strict in determining version tags
Michal Sojka [Tue, 17 Sep 2013 09:03:17 +0000 (11:03 +0200)]
Be more strict in determining version tags

10 years agoBuild DLL libraries for Windows
Michal Sojka [Tue, 17 Sep 2013 08:47:59 +0000 (10:47 +0200)]
Build DLL libraries for Windows

10 years agoFix other unquoted variables in configure
Michal Sojka [Mon, 16 Sep 2013 23:03:05 +0000 (01:03 +0200)]
Fix other unquoted variables in configure

10 years agoFix configure to work correctly under FreeBSD
Michal Sojka [Mon, 16 Sep 2013 23:02:14 +0000 (01:02 +0200)]
Fix configure to work correctly under FreeBSD

10 years agoChanges from running autoupdate
Michal Sojka [Sun, 15 Sep 2013 07:40:40 +0000 (09:40 +0200)]
Changes from running autoupdate

10 years agoRTEMS: use explicit loopback configuration for RTEMS <= 4.10.x.
Pavel Pisa [Sat, 14 Sep 2013 18:36:55 +0000 (20:36 +0200)]
RTEMS: use explicit loopback configuration for RTEMS <= 4.10.x.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoSkip interfaces returned by getifaddrs() which has no address assigned.
Pavel Pisa [Sat, 14 Sep 2013 18:02:32 +0000 (20:02 +0200)]
Skip interfaces returned by getifaddrs() which has no address assigned.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoRTEMS: allocate more resources for tests.
Pavel Pisa [Sat, 14 Sep 2013 17:57:31 +0000 (19:57 +0200)]
RTEMS: allocate more resources for tests.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoMerge branch 'master' of ssh://git.code.sf.net/p/orte/orte
Pavel Pisa [Sat, 14 Sep 2013 17:16:45 +0000 (19:16 +0200)]
Merge branch 'master' of ssh://git.code.sf.net/p/orte/orte

10 years agoUse portable and type-safe way to obtain network interface addresses where available
Pavel Pisa [Sat, 14 Sep 2013 17:16:12 +0000 (19:16 +0200)]
Use portable and type-safe way to obtain network interface addresses where available

Use of SIOCGIFCONF is quite error prone. It fills fixed sized
elements array on Linux filled only by IPv4 (AF_INET).
On the other hand on BSD it returns all addresses including
hardware ones and IPv6. It requires variable size for
entries where address does not fit into struct sockaddr.
But switching rules seems to differ even between BSD flavors.

On the other hand getifaddrs() and struct ifaddrs
are defined with potability and extendability in mind.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoFix a problem in configure on Windows
Michal Sojka [Sat, 14 Sep 2013 14:16:20 +0000 (16:16 +0200)]
Fix a problem in configure on Windows

On Windows, we link ORTE against a version of pthread library shipped
in our tree. Therefore we add some switches to linker command line.
The problem is that this command line is also used for all configure
tests. Since our library is not yet compiled at compile time, it
caused many configure checks to fail even if they should succeed.

With this change, I'm able to cross-compile ORTE for Windows on Debian
Wheezy with mingw32 package. The used configure command was:

  CC=i586-mingw32msvc-gcc ./configure --host=i586-mingw32msvc

Whether ORTE also runs on Windows correctly was not yet tested.

10 years agoRTEMS: attempt to use unlimited resources.
Pavel Pisa [Sat, 14 Sep 2013 08:46:22 +0000 (10:46 +0200)]
RTEMS: attempt to use unlimited resources.

Attempt to use unlimited resources was not sucessfull
on lpc17xx_ea_ram board with RTEMS 4.11 git version.

The CONFIGURE_MAXIMUM_POSIX_RWLOCKS is required
for limited resources version to satisfy ORTE use.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoRTEMS: Ensure that getopt works for subsequent spawn and finished tasks are purged.
Pavel Pisa [Sat, 14 Sep 2013 08:42:34 +0000 (10:42 +0200)]
RTEMS: Ensure that getopt works for subsequent spawn and finished tasks are purged.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoAdd missing OMK Makefile for rtems-shell example.
Pavel Pisa [Fri, 13 Sep 2013 20:29:43 +0000 (22:29 +0200)]
Add missing OMK Makefile for rtems-shell example.

Signed-off-by: Pavel Pisa <pi@thor>
10 years agoSpecification of conditional variables count is required for RTEMS.
Pavel Pisa [Fri, 13 Sep 2013 17:30:26 +0000 (19:30 +0200)]
Specification of conditional variables count is required for RTEMS.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoExample of integration of ORTE into RTEMS shell included.
Pavel Pisa [Fri, 13 Sep 2013 16:40:01 +0000 (18:40 +0200)]
Example of integration of ORTE into RTEMS shell included.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoAllow optional build of ortemanager and examples as libraries.
Pavel Pisa [Fri, 13 Sep 2013 16:35:14 +0000 (18:35 +0200)]
Allow optional build of ortemanager and examples as libraries.

This allows to link multiple commands into single executable
or system image. That is useful for RTEMS build and testing.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoORTE: Remember byte order in struct ORTERecvInfo
Martin Vajnar [Fri, 26 Jul 2013 08:00:15 +0000 (10:00 +0200)]
ORTE: Remember byte order in struct ORTERecvInfo

This is needed for Java bindings.

(Commit message edited by Michal Sojka)

10 years agoEndianness test extended to use "sys/param.h" if available.
Pavel Pisa [Thu, 12 Sep 2013 19:42:27 +0000 (21:42 +0200)]
Endianness test extended to use "sys/param.h" if available.

The "sys/param.h" file is expected to be more portable.
It should exist on Mac OS X, RTEMS and BSD.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoLinux OMK configuration supports little- and big-endian targets without reconfigure.
Pavel Pisa [Thu, 12 Sep 2013 16:18:23 +0000 (18:18 +0200)]
Linux OMK configuration supports little- and big-endian targets without reconfigure.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoExecute test for target endianness only if "endian.h" is missing or unusable.
Pavel Pisa [Thu, 12 Sep 2013 16:12:52 +0000 (18:12 +0200)]
Execute test for target endianness only if "endian.h" is missing or unusable.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoUpdate hierarchic timers header files to version from uLUt library.
Pavel Pisa [Wed, 11 Sep 2013 09:05:28 +0000 (11:05 +0200)]
Update hierarchic timers header files to version from uLUt library.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoRestore ORTE specific modifications to uLUt.
Pavel Pisa [Wed, 11 Sep 2013 08:34:30 +0000 (10:34 +0200)]
Restore ORTE specific modifications to uLUt.

ORTE defines FREE macro to cover different systems
implementations and uses "orte_all.h" to cover different
set and names of system provided header files.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
10 years agoGet rid of strict-aliasing warnings
Michal Sojka [Tue, 10 Sep 2013 01:00:10 +0000 (03:00 +0200)]
Get rid of strict-aliasing warnings

The warning in question was:
warning: dereferencing type-punned pointer will break strict-aliasing rules

Now, we use union as parameterLocal to explicitly state that we use
this field to store different types.

10 years agoMake AC notice more precise
Michal Sojka [Tue, 10 Sep 2013 00:02:36 +0000 (02:02 +0200)]
Make AC notice more precise

10 years agoA fix for mingw cross-compilation
Michal Sojka [Mon, 9 Sep 2013 23:51:45 +0000 (01:51 +0200)]
A fix for mingw cross-compilation

Note: there are more things that need to be fixed.

10 years agoAdd a hint when to run ./configure
Michal Sojka [Mon, 9 Sep 2013 23:11:39 +0000 (01:11 +0200)]
Add a hint when to run ./configure

10 years agoFix warning about implicit declaration of umask()
Michal Sojka [Mon, 9 Sep 2013 22:58:29 +0000 (00:58 +0200)]
Fix warning about implicit declaration of umask()

I'm not yet sure whether the autoconf generated
orte/include/orte/orte_config.h is created correctly because
ORTE_PACKAGE and ORTE_VERSION is missing. But everything compiles
correctly so I leave it as it is.

10 years agogit: Ignore generated files
Michal Sojka [Mon, 9 Sep 2013 22:49:19 +0000 (00:49 +0200)]
git: Ignore generated files

10 years agoShut up compiler warning
Michal Sojka [Mon, 9 Sep 2013 22:22:45 +0000 (00:22 +0200)]
Shut up compiler warning

10 years agoApply configure.(in|ac) fixes suggested by autoreconf
Michal Sojka [Mon, 9 Sep 2013 22:20:42 +0000 (00:20 +0200)]
Apply configure.(in|ac) fixes suggested by autoreconf

Also prepare for checking for sys/stat.h.

10 years agoAdd configuration for Emacs editor
Michal Sojka [Mon, 9 Sep 2013 21:47:15 +0000 (23:47 +0200)]
Add configuration for Emacs editor

10 years agoUpdate git URL in README
Michal Sojka [Mon, 9 Sep 2013 21:25:58 +0000 (23:25 +0200)]
Update git URL in README

URL has changed due to upgrade at sourceforge.

10 years agoUpdate ul_gavl* files to kill some compiler warnings
Michal Sojka [Mon, 9 Sep 2013 20:40:02 +0000 (22:40 +0200)]
Update ul_gavl* files to kill some compiler warnings

I copied the files from upstream ulut repository
(git://git.code.sf.net/p/ulan/ulut).

11 years agoAdd 0.3.3 release notes
Michal Sojka [Wed, 15 Aug 2012 12:05:48 +0000 (14:05 +0200)]
Add 0.3.3 release notes

11 years agoAdd .mailmap to generate nice shortlog
Michal Sojka [Wed, 15 Aug 2012 11:56:24 +0000 (13:56 +0200)]
Add .mailmap to generate nice shortlog

11 years agoPut compiled ORTE manual to the distribution tarballs v0.3.3
Michal Sojka [Wed, 15 Aug 2012 10:42:09 +0000 (12:42 +0200)]
Put compiled ORTE manual to the distribution tarballs

11 years agoUpdate Makefile.rules for OMK build to the actual version.
Pavel Pisa [Wed, 15 Aug 2012 10:42:56 +0000 (12:42 +0200)]
Update Makefile.rules for OMK build to the actual version.

Documentation for OMK Make-System can be found at

  http://rtime.felk.cvut.cz/omk/

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
11 years agoRemove pointer to OCERA_TOP_DIR, ORTE is used only as standalone in current projects.
Pavel Pisa [Wed, 15 Aug 2012 10:40:06 +0000 (12:40 +0200)]
Remove pointer to OCERA_TOP_DIR, ORTE is used only as standalone in current projects.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
11 years agodoc: Add bookinfo
Michal Sojka [Wed, 15 Aug 2012 10:30:31 +0000 (12:30 +0200)]
doc: Add bookinfo

11 years agoUpdate download instructions
Michal Sojka [Wed, 15 Aug 2012 10:21:46 +0000 (12:21 +0200)]
Update download instructions

11 years agodoc: Restructure - split it to multiple chapters
Michal Sojka [Wed, 15 Aug 2012 10:21:31 +0000 (12:21 +0200)]
doc: Restructure - split it to multiple chapters

11 years agodoc: Update sizes of figures to have readable text
Michal Sojka [Wed, 15 Aug 2012 09:50:26 +0000 (11:50 +0200)]
doc: Update sizes of figures to have readable text

11 years agodoc: Move API reference to the end
Michal Sojka [Wed, 15 Aug 2012 09:43:33 +0000 (11:43 +0200)]
doc: Move API reference to the end

11 years agoUpdate Makefile to properly generate documentation
Michal Sojka [Wed, 15 Aug 2012 09:35:40 +0000 (11:35 +0200)]
Update Makefile to properly generate documentation

11 years agoAdd sources of figures
Michal Sojka [Wed, 15 Aug 2012 09:33:41 +0000 (11:33 +0200)]
Add sources of figures

11 years agoAdd documentation from 0.3.2 release tarball
Michal Sojka [Wed, 15 Aug 2012 09:23:37 +0000 (11:23 +0200)]
Add documentation from  0.3.2 release tarball

11 years agoDo not distribute autom4te.cache
Michal Sojka [Wed, 15 Aug 2012 08:53:32 +0000 (10:53 +0200)]
Do not distribute autom4te.cache

11 years agoRemove automatically generated file orte_config.h.in
Michal Sojka [Wed, 15 Aug 2012 08:39:51 +0000 (10:39 +0200)]
Remove automatically generated file orte_config.h.in

11 years agoUpdate version to 0.3.3 even in header files for OMK build.
Pavel Pisa [Wed, 15 Aug 2012 08:33:16 +0000 (10:33 +0200)]
Update version to 0.3.3 even in header files for OMK build.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
11 years agoPrepare for release
Michal Sojka [Tue, 14 Aug 2012 17:17:14 +0000 (19:17 +0200)]
Prepare for release

11 years agoBump version to 0.3.3
Michal Sojka [Tue, 14 Aug 2012 17:07:03 +0000 (19:07 +0200)]
Bump version to 0.3.3

11 years agoreadme: Put compile/install section in front of Git specific sections
Michal Sojka [Tue, 14 Aug 2012 16:26:26 +0000 (18:26 +0200)]
readme: Put compile/install section in front of Git specific sections

11 years agoUpdate readme
Michal Sojka [Tue, 14 Aug 2012 16:24:02 +0000 (18:24 +0200)]
Update readme

11 years agoRename .cvsignore to .gitignore
Michal Sojka [Tue, 14 Aug 2012 15:42:39 +0000 (17:42 +0200)]
Rename .cvsignore to .gitignore

13 years agoidl: Generate (de)serialization functions for enum types
Michal Sojka [Fri, 28 May 2010 11:28:11 +0000 (13:28 +0200)]
idl: Generate (de)serialization functions for enum types

14 years agoIDL: Fix *_(de)serialize macros for typedefed types
Michal Sojka [Fri, 21 May 2010 10:36:24 +0000 (12:36 +0200)]
IDL: Fix *_(de)serialize macros for typedefed types

These macros had a wrong number of parameters, which resulted in
compilation errors.

14 years agoZero mreq structure before using it
Michal Sojka [Wed, 31 Mar 2010 15:48:40 +0000 (17:48 +0200)]
Zero mreq structure before using it

There might be unset fields in mreq structure. This structure is
used to setup multicast group membership.

We have problem with multicast on MPC5200-based boards and this was an
unsuccessful attempt to solve the problems.

14 years agoReport correct errno in case of multicast problem
Michal Sojka [Wed, 31 Mar 2010 11:27:01 +0000 (13:27 +0200)]
Report correct errno in case of multicast problem

14 years agoFix for gcc-4.4
wentasah [Thu, 5 Nov 2009 05:58:46 +0000 (05:58 +0000)]
Fix for gcc-4.4

14 years agoThe Shape Demo is now optional part of OMK build.
ppisa [Thu, 11 Jun 2009 20:19:24 +0000 (20:19 +0000)]
The Shape Demo is now optional part of OMK build.

14 years agoMakefile.rules updated to work correctly with QT build of shape demo.
ppisa [Thu, 11 Jun 2009 20:17:17 +0000 (20:17 +0000)]
Makefile.rules updated to work correctly with QT build of shape demo.

14 years agoAdded helper makefile to the contrib to allow direct ORTE demo build.
ppisa [Thu, 11 Jun 2009 19:59:15 +0000 (19:59 +0000)]
Added helper makefile to the contrib to allow direct ORTE demo build.

14 years agoThe ORTE demo can be compiled by OMK Makefiles now.
ppisa [Thu, 11 Jun 2009 19:55:47 +0000 (19:55 +0000)]
The ORTE demo can be compiled by OMK Makefiles now.

The directory orte/contrib/shape can be build by regular
make process if orte/contrib/shape/Makefile is replaced
by regular OMK Makefile helper - i.e. orte/Makefile
or omk build stript is run with USE_LEAF_MAKEFILES=n

  echo CONFIG_OC_ETH_ORTE_DEMO_SHAPE=y >>config.omk
  cd orte/contrib/shape
  omk USE_LEAF_MAKEFILES=n

15 years agofixed counting of get_max_size for structures
smolik [Wed, 20 May 2009 14:33:46 +0000 (14:33 +0000)]
fixed counting of get_max_size for structures

15 years agoCORBA_char redefined to char
wentasah [Wed, 20 May 2009 12:20:57 +0000 (12:20 +0000)]
CORBA_char redefined to char

This is to avoid signedness warnings when using str* functions.

15 years agoORTE IDL learned how to handle arrays
wentasah [Wed, 20 May 2009 12:20:50 +0000 (12:20 +0000)]
ORTE IDL learned how to handle arrays

15 years agoCorrected termination of ortemanager
wentasah [Wed, 20 May 2009 12:20:43 +0000 (12:20 +0000)]
Corrected termination of ortemanager

Sometimes I've realized that it was not possible to terminate ortemanager
by pressing Ctrl-C. It seems it was the case when I disconnecte from the
network and wanted to finish ortemanager later.

Since it is not safe to call pthread_mutex_lock() from signal handlers,
I've reworked termination to use sigwaitinfo() to wait for termination
signals.

15 years agoBetter fix of receive errors
wentasah [Wed, 20 May 2009 12:20:37 +0000 (12:20 +0000)]
Better fix of receive errors

Signed type is used as return value to catch -1 (error).
The receive thread exits on error in order to stop infinite loops.

15 years agoComplain verbosely if something goes wrong in receiver
wentasah [Wed, 20 May 2009 12:20:30 +0000 (12:20 +0000)]
Complain verbosely if something goes wrong in receiver

15 years agoRemoved circular make dependency in libddso
wentasah [Wed, 20 May 2009 12:20:23 +0000 (12:20 +0000)]
Removed circular make dependency in libddso

15 years agoortedemo checks for errors in publisher/subscriber creation
wentasah [Wed, 20 May 2009 12:20:17 +0000 (12:20 +0000)]
ortedemo checks for errors in publisher/subscriber creation

Signed-off-by: Michal Sojka <sojkam1@fel.cvut.cz>