6387 Commits

Author SHA1 Message Date
Thomas Quinot
8eb88f8b18 Merge rev. 10252 from main branch.
For F705-005 (doc change only).

[Imported from Perforce change 10253 at 2006-12-01 22:52:24]

Subversion-branch: /branches/polyorb/2.1
Subversion-revision: 37714
2006-07-19 10:41:36 +00:00
Thomas Quinot
918f385f8a (configure.ac):
Bump minor version.
  Merge change 10214 for F705-005 (make polyorb-config executable).

(compilers/idlac/idl_fe-paser.adb):
  Merge change 10138 for F615-012 (enforce oneway restrictions)

[Imported from Perforce change 10215 at 2006-12-01 22:51:50]

Subversion-branch: /branches/polyorb/2.1
Subversion-revision: 37676
2006-07-05 12:38:59 +00:00
Thomas Quinot
6000a1bb6b The declaration of a oneway expression is illegal in OMG IDL
when any of the following conditions is true:
* the declaration has a raises expression;
* the declaration has output parameters;
* the declaration has a non-void return type.

These rules were not enforced by idlac; this change implements them.

Fixes F615-012

[Imported from Perforce change 10138 at 2006-12-01 22:50:11]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37600
2006-06-15 15:22:31 +00:00
Pablo Oliveira
aeb05b17d1 Added polyorb.dsa_p.remote_launch, a stripped down version of
System.Garlic.Remote, it allows to start slave partitions on
  remote hosts when Starter (Ada) is used.

  Updated dependencies.

  Needed by F421-007.

[Imported from Perforce change 10135 at 2006-12-01 22:50:08]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37597
2006-06-15 14:20:04 +00:00
Jérôme Hugues
267744fbb6 Corrected name of IDL compiler
[Imported from Perforce change 10133 at 2006-12-01 22:50:07]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37595
2006-06-15 10:56:23 +00:00
Jérôme Hugues
f028823076 Correct a name collision between the macro IDLAC, denoting
the full path to idlac in Makefile.common, and the value IDLAC
computed by configure.

Noted by Bechir Zalila

[Imported from Perforce change 10132 at 2006-12-01 22:50:07]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37594
2006-06-15 10:32:59 +00:00
Thomas Quinot
c8498f0810 (Is_Colocated): GIOP_Profile_Type is an asbtract type; need to
test for Right in GIOP_Profile_Type'Class.

Noted by Khaled Barbaria.

[Imported from Perforce change 10129 at 2006-12-01 22:50:05]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37591
2006-06-14 16:55:37 +00:00
Jérôme Hugues
59c8be28e9 (Set_Any_Value): reorganize code to avoid dereferencing a null
pointer.

Fixes regression on echo

[Imported from Perforce change 10128 at 2006-12-01 22:50:05]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37590
2006-06-14 13:06:18 +00:00
Thomas Quinot
8204ce4850 Document fix from change 10124.
[Imported from Perforce change 10127 at 2006-12-01 22:50:05]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37589
2006-06-14 12:19:28 +00:00
Thomas Quinot
ce29682920 Fix previous change: no move is necessary when destination directory
is current directory.
For F613-011

[Imported from Perforce change 10126 at 2006-12-01 22:50:04]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37588
2006-06-14 12:09:27 +00:00
Thomas Quinot
5f0f8e610a gnatmake's '-o' command line flag is only taken into account when
generating a final executable. In the case of compiling a single file,
the output object is generated in the current directory by default.

This change adds handling of "-o path/object.o" directly in
adacompiler, so that libtool can specify an output file of the form
.libs/file.o.

For F613-011

[Imported from Perforce change 10125 at 2006-12-01 22:50:04]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37587
2006-06-14 12:01:46 +00:00
Thomas Quinot
e454753ec4 Two references are equivalent when any two pair of their profiles
designate both the same node (reachable through the same protocol)
and the same object within the node (determined by the profiles'
object key). This change replaces our previous bogus
PolyORB.References.Is_Same_Object predicate (which tested that
all profiles were equal) by a new Equivalent one that implements
the behaviour described above.

Fix for F608-019.

[Imported from Perforce change 10124 at 2006-12-01 22:50:02]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37586
2006-06-13 19:22:08 +00:00
Thomas Quinot
f2fd9bf8c4 (PolyORB.Any.Set_Any_Value, case of indefinite String):
When setting the value of an Any that already has one, we need
 to free the pointer to the previous value.

[Imported from Perforce change 10123 at 2006-12-01 22:50:02]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37585
2006-06-13 16:21:30 +00:00
Thomas Quinot
65f66994ee Fix longstanding typo.
[Imported from Perforce change 10122 at 2006-12-01 22:50:02]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37584
2006-06-13 16:17:39 +00:00
Thomas Quinot
44ecc2b692 (Test IOP::Codec::Encode_Value):
Ensure that the test passe even when PolyORB is not build with
 --enable-debug (ignore the value of padding bytes in encoded
 stream, which may come from uninitialized memory).
 Use PolyORB.Buffers.Host_Order to explicitly test against the proper
 representation, not just either LE_Stream or BE_Stream).

[Imported from Perforce change 10121 at 2006-12-01 22:50:01]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37583
2006-06-13 16:10:30 +00:00
Jérôme Hugues
11046576fa New function to marshall/unmarshall individual tagged
component.

Patch submitted by Vadim Godunko, reviewed by Jerome Hugues.

[Imported from Perforce change 10120 at 2006-12-01 22:50:01]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37582
2006-06-13 14:17:24 +00:00
Thomas Quinot
b0f5828c9d (PolyORB.CORBA_P.Exceptions.Extract_Ada_Exception_Information):
Fix incorrect code for truncation of exception information.
 The previous implementation made a potentially incorrect assumption
 that the exception information string has a lower bound of 1, and
 a definitely incorrect one that its length was at least 150.

[Imported from Perforce change 10118 at 2006-12-01 22:50:00]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37580
2006-06-12 19:02:56 +00:00
Thomas Quinot
3d0862bb39 (PolyORB.Smart_Pointers.Same_Entity): New predicate to determine
when two refs designate the same entity.

(Pump_Up_Arguments_Unspecified, Pump_Up_Arguments_By_Position,
 Pump_Up_Arguments_By_Name): Nothing to do when Src_Args and
 Dst_Args are the same nvlist.

[Imported from Perforce change 10117 at 2006-12-01 22:49:59]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37579
2006-06-12 16:05:16 +00:00
Thomas Quinot
2e743b2854 (Move_Any_Value, Copy_Any_Value): Nothing to do when Src and Dst
designate the same container. Fixes regession on all_functions.

[Imported from Perforce change 10116 at 2006-12-01 22:49:58]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37578
2006-06-12 15:52:19 +00:00
Thomas Quinot
1302fc99a8 Minor reformatting
[Imported from Perforce change 10115 at 2006-12-01 22:49:58]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37577
2006-06-12 14:25:20 +00:00
Jérôme Hugues
e0b142be20 (Send_Iovec_Pool): correct parameter name to V
[Imported from Perforce change 10114 at 2006-12-01 22:49:58]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37576
2006-06-12 14:18:27 +00:00
Thomas Quinot
edfe87aa01 (PolyORB.Representations.Marshall_From_Any,
PolyORB.Representations.Unmarshall_To_Any):
Change signature: work on Any_Container'Class rather than Any.

This is a first step towards avoiding any Any controlled operation
during marshalling and unmarshalling.

For EB18-024

[Imported from Perforce change 10112 at 2006-12-01 22:49:51]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37574
2006-06-08 18:38:55 +00:00
Thomas Quinot
33752b084c Fix dubious local variable hiding global one.
[Imported from Perforce change 10109 at 2006-12-01 22:49:49]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37571
2006-06-08 12:53:22 +00:00
Pablo Oliveira
7c8b541105 Code factoring for Is_Colocated predicate (EA31-003).
[Imported from Perforce change 10108 at 2006-12-01 22:49:47]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37570
2006-06-08 12:03:25 +00:00
Thomas Quinot
ce5b4c8de9 Update copyright notice.
[Imported from Perforce change 10106 at 2006-12-01 22:49:46]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37568
2006-06-08 11:50:56 +00:00