585 Commits

Author SHA1 Message Date
Thomas Quinot
43da806789 Generate Result_Name_Ü in interface stub body only if it will
actually be used. Fixes testsuite regression.

General reformatting at various places in idlac.

[Imported from Perforce change 9769 at 2006-12-01 22:15:00]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37237
2005-12-12 14:06:49 +00:00
Thomas Quinot
e76c275fc6 Since Result_Name_Ü is now generated systematically at library
level, the dependency on PolyORB.Types must be generated
inconditionally as well.

Followup on EB18-022

[Imported from Perforce change 9760 at 2006-12-01 21:50:47]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37228
2005-12-08 11:10:30 +00:00
Thomas Quinot
4d71e3c21b Add pragma Warnings (Off) to Result_Name_Ü, which might be
unreferenced (when there are no operations nor attributes in
this interface).

Followup on EB18-022

[Imported from Perforce change 9756 at 2006-12-01 21:49:46]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37224
2005-12-07 18:30:07 +00:00
Thomas Quinot
9174e0ca34 Update header comments.
[Imported from Perforce change 9755 at 2006-12-01 21:49:45]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37223
2005-12-07 18:06:21 +00:00
Thomas Quinot
b16a297b1a Avoid reevaluating operation and argument names for each call
in stubs and skeletons.

Fixes EB18-022

[Imported from Perforce change 9753 at 2006-12-01 21:49:42]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37221
2005-12-07 16:49:16 +00:00
Thomas Quinot
eaff602ef5 Adjust style option for new (fixed) GNAT check.
Part of EB21-008 fix

[Imported from Perforce change 9737 at 2006-12-01 21:49:20]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37206
2005-11-24 16:58:58 +00:00
Thomas Quinot
21795e9a05 Remove extraneous trailing blank.
[Imported from Perforce change 9713 at 2006-12-01 21:48:54]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37184
2005-11-21 14:02:40 +00:00
Thomas Quinot
225491fca8 (Emit_Standard_Header): Set style options to: no style checks,
maximum line length 32767.

[Imported from Perforce change 9712 at 2006-12-01 21:48:54]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37183
2005-11-21 13:54:26 +00:00
Thomas Quinot
3e020f177d (Gen_Union_Body): Split some statements to limit line length.
Fixes EB11-011

[Imported from Perforce change 9710 at 2006-12-01 21:48:53]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37181
2005-11-21 13:37:47 +00:00
Jérôme Hugues
1440ee85ee Added support to bounded strings and bounded wide strings
[Imported from Perforce change 9697 at 2006-12-01 21:48:41]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37169
2005-11-15 20:05:08 +00:00
Jérôme Hugues
497fc4d7d4 For a bounded sequence, the associated instance of
CORBA.Sequences.Bounded should be named
IDL_Sequence_<size>_<type> (see par. 3.8 of the IDL-to-Ada
mapping). This is now corrected.

[Imported from Perforce change 9690 at 2006-12-01 21:48:37]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37162
2005-11-15 09:12:40 +00:00
Jérôme Hugues
0d6f1b9da8 The semantics of GNAT.Perfect_Hash_Generators.Initialize
differs between some releases of GNAT, e.g. 5.03a1 and newer
wavefronts.

Correct initialization path to support both.

[Imported from Perforce change 9646 at 2006-12-01 21:48:05]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37123
2005-10-18 17:11:53 +00:00
Jérôme Hugues
b3217fcb4e Correct accessor names for attributes: for an attribute, the
accessors are built prepending "Get_" and "Set_" to the name
of the attributes, as per par. 1.5 of the IDL-to-Ada mapping.

[Imported from Perforce change 9636 at 2006-12-01 21:47:59]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37115
2005-10-13 08:22:56 +00:00
Jérôme Hugues
bac3251905 Correct the casing of sequences to "IDL_SEQUENCE", instead of
"IDL_Sequence" as defined in section 3.8 of the IDL-to-Ada
mapping.

[Imported from Perforce change 9632 at 2006-12-01 21:47:42]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37111
2005-10-12 13:13:14 +00:00
Jérôme Hugues
d93d9c8d89 Minor reformatting
[Imported from Perforce change 9630 at 2006-12-01 21:47:42]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37110
2005-10-11 23:16:52 +00:00
Thomas Quinot
c27c5dbd7f (Parse_Enumerator): The case of a pragma occurreing within an
enumeration declarator is handled at the caller level in
 Parse_Enum_Type. Remove dead code section dealing with pragmas
 in Parse_Enumerator. Consequently, remove incorrect section
 for the case of a closing curly bracket occurring where an
 enumerator is expected.
Fixes EA07-001

[Imported from Perforce change 9620 at 2006-12-01 21:47:28]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37100
2005-10-07 11:54:24 +00:00
Thomas Quinot
d41bdc167e Fix filename output in error messages (do not duplicate directory
separator if already present in Location's Dirname).

[Imported from Perforce change 9619 at 2006-12-01 21:47:27]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37099
2005-10-07 11:51:50 +00:00
Thomas Quinot
f5343883c5 Remove redundant use and with clauses.
Found using new warning from E804-013

[Imported from Perforce change 9565 at 2006-12-01 21:46:36]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37046
2005-09-19 12:37:49 +00:00
Thomas Quinot
174e68b49c For generation of the value of a string or wide string constant,
use the primitive To_CORBA_String / To_CORBA_Wide_String operation
for the type of the constant (not the one from the CORBA ancestor
type).

Fixes E905-001.

[Imported from Perforce change 9554 at 2006-12-01 21:46:31]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37035
2005-09-12 18:04:33 +00:00
Thomas Quinot
80cce477e0 Avoid name clash between a formal parameter named 'request'
and an internal object.

Fixes E911-001.

[Imported from Perforce change 9553 at 2006-12-01 21:46:30]

Subversion-branch: /trunk/polyorb
Subversion-revision: 37034
2005-09-12 15:18:55 +00:00
Thomas Quinot
84e2ee73fe Ensure the generated code for helpers does not contain
redundant use clauses.
For E804-013

[Imported from Perforce change 9501 at 2006-12-01 21:45:37]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36984
2005-08-17 17:30:58 +00:00
Thomas Quinot
96449c9e64 Remove junk use clauses from idlac and the PolyORB runtime.
For E804-013

[Imported from Perforce change 9500 at 2006-12-01 21:45:16]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36983
2005-08-17 17:14:36 +00:00
Jérôme Hugues
8cd84aae2f Minor corrections to avoid warnings
[Imported from Perforce change 9492 at 2006-12-01 21:45:13]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36975
2005-08-08 19:40:36 +00:00
Laurent Pautet
f2e23f6ca7 Do not allow to configure the number of iterations since this
introduces backward incompabilities and this feature is not
useful here. Use the default values since this is more than
enough.

[Imported from Perforce change 9491 at 2006-12-01 21:45:13]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36974
2005-08-08 18:41:47 +00:00
Laurent Pautet
852e360ab2 Update gnatprfh to take advantage of the new pehage impl.
In particular, remove infinite loop that arises when the
algorithm does not converge.

[Imported from Perforce change 9490 at 2006-12-01 21:45:12]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36973
2005-08-08 18:13:31 +00:00