Commit Graph

516 Commits

Author SHA1 Message Date
Thomas Quinot
706789fc26 In CORBA specification terminology, a regular (non-local)
interface is 'unconstrained'.

[Imported from Perforce change 9176 at 2006-12-01 21:16:23]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36694
2005-03-04 12:12:21 +00:00
Thomas Quinot
0abfbd1f11 For an operation of a local interface that has out formal
parameters and a non-void return type, create a supplementary
formal parameter Returns for the returned value.

Submitted by:	Vadim Godunko
Reviewed by: 	Thomas Quinot.

[Imported from Perforce change 9170 at 2006-12-01 21:16:18]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36689
2005-03-03 16:57:00 +00:00
Thomas Quinot
0bfdbc0f7a Implement idlac code generation and runtime library support
for the CORBA::Object::get_interface operation.

Submitted by:	Vadim Godunko
Reviewed by:	Thomas Quinot

Recomputed build deps.

[Imported from Perforce change 9169 at 2006-12-01 21:16:14]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36688
2005-03-03 16:07:22 +00:00
Thomas Quinot
0b141c8f55 New test for correct type mapping of occurrence usage of
local interface reference before the completion is seen.

Submitted by:	Vadim Godunko
Reviewed by:	Thomas Quinot

[Imported from Perforce change 9167 at 2006-12-01 21:16:13]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36687
2005-03-02 12:37:23 +00:00
Thomas Quinot
2fee5ba142 (Calling_Stubs_Type): For the case of a forward declaration
of a local interface, the proper type is Ref, not Abstract_Ref.

Submitted by:	Vadim Godunko
Reviewed by:	Thomas Quinot

[Imported from Perforce change 9166 at 2006-12-01 21:16:13]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36686
2005-03-02 12:36:09 +00:00
Thomas Quinot
ab2d783ea0 Minor reorganisation (no functional change).
[Imported from Perforce change 9165 at 2006-12-01 21:16:13]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36685
2005-03-02 12:34:39 +00:00
Jérôme Hugues
dbfbe79b96 CORBA.Object: clean up specs, move PolyORB-specific code intro
Internals sub-package, added implementation for Duplicate.

[Imported from Perforce change 9163 at 2006-12-01 21:16:08]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36684
2005-03-01 10:24:16 +00:00
Jérôme Hugues
30b8fd1647 Correct entity names associated to CORBA::wchar and CORBA::wstring
[Imported from Perforce change 9145 at 2006-12-01 21:15:45]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36670
2005-02-23 08:46:20 +00:00
Jérôme Hugues
1109b9177d Test for a fixed regression in idlac.
idlac cannot recognize a local interface if it is defined
after typeprefix clause.

Patch submitted by Vadim Godunko, reviewed by Jerome Hugues.

[Imported from Perforce change 9136 at 2006-12-01 21:15:33]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36661
2005-02-21 11:17:35 +00:00
Jérôme Hugues
ff96db345b Test fixed regression on import rules:
idlac cannot import a module defined by an import clause
followed by another import clause if the file defined by the
first clause is not found.

Patch submitted by Vadim Godunko, reviewed

[Imported from Perforce change 9135 at 2006-12-01 21:15:33]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36660
2005-02-21 11:16:39 +00:00
Thomas Quinot
7d01b7b598 Add back pragmas Elaborate_Body in skel specs removed by
mistake in ch. 9126.

[Imported from Perforce change 9131 at 2006-12-01 21:15:28]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36658
2005-02-21 00:41:43 +00:00
Thomas Quinot
a82b60f631 Correct some wrong dependencies upon helper units in generated
code. Remove problematic pragmas Elaborate_Body.

[Imported from Perforce change 9126 at 2006-12-01 21:15:27]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36656
2005-02-18 19:55:14 +00:00
Thomas Quinot
edf93e4754 The unit containing the typecode for a declarator that declares
an alias for an interface is the unit that contains the interface
typecode, not the unit that contains the declarator.

Fixes E217-008.

[Imported from Perforce change 9122 at 2006-12-01 21:15:26]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36653
2005-02-17 15:24:28 +00:00
Jérôme Hugues
6448e885fb (Go_To_Next_Definition): add missing case for T_Local token type
Patch submitted by Vadim Godunko, reviewed by Jerome Hugues

[Imported from Perforce change 9120 at 2006-12-01 21:14:47]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36651
2005-02-17 12:54:02 +00:00
Jérôme Hugues
80a112a57e If there is an error when importing a module, cleanly skip
the corresponding definition

Patch submitted by Vadim Godunko, reviewed by Jerome Hugues.

[Imported from Perforce change 9119 at 2006-12-01 21:14:47]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36650
2005-02-17 11:31:42 +00:00
Jérôme Hugues
1c77428b33 Correct idlac to abide to code generation rule defined in
OMG's issue #2459: an operation that has an implicit
parameter of the enclosing interface must be mapped as a
class-wide Ref.

Patch submitted by Vadim Godunko, reviewed by Jerome Hugues.

[Imported from Perforce change 9118 at 2006-12-01 21:14:46]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36649
2005-02-17 10:09:14 +00:00
Jérôme Hugues
15f2c80f73 Test all declartions allowed at file level, except modules,
interfaces, valuetypes, forward interfaces and valuetypes.

Patch submitted by Vadim Godunko, reviewed by Jerome Hugues.

[Imported from Perforce change 9108 at 2006-12-01 21:14:37]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36640
2005-02-13 16:30:52 +00:00
Jérôme Hugues
0af4587b0f Correct the processing of IDL entities defined at the
top-level.

Patch submited by Vadim Godunko, reviewed by Jerome Hugues

[Imported from Perforce change 9107 at 2006-12-01 21:14:36]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36639
2005-02-13 16:28:21 +00:00
Jérôme Hugues
eda4af4fa9 Add new test for local interfaces: known regression reported
as of Feb 9 2005 by Jerome Hugues.

[Imported from Perforce change 9106 at 2006-12-01 21:14:36]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36638
2005-02-13 16:20:47 +00:00
Jérôme Hugues
254f074fc9 Add special processing of CORBA::TypeCode reference in
scoped_name nodes.

Patch submitted by Vadim Godunko, reviewed by Jerome Hugues.

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

Subversion-branch: /trunk/polyorb
Subversion-revision: 36591
2005-01-28 08:49:05 +00:00
Jérôme Hugues
88e8150392 Do not depend on ir.idl anymore, use directly OMG specifications.
Made simple changes for compilability with code generated from
OMG specifications.

Patch submitted by Vadim Godunko, reviewed by Jerome Hugues.

[Imported from Perforce change 9054 at 2006-12-01 21:13:18]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36589
2005-01-27 16:38:15 +00:00
Jérôme Hugues
b450868949 Add built-in knowledge for the remapping of the entities of
the CORBA Interface Repository.

Patch submitted by Vadim Godunko, reviewed by Jerome Hugues.

[Imported from Perforce change 9052 at 2006-12-01 21:13:16]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36587
2005-01-27 14:05:11 +00:00
Jérôme Hugues
e6794d67dc Suppress code generation for the CORBA hierarchy except
for the CORBA Interface Repository hierarchy.

Patch submitted by Vadim Godunko, reviewed by Jerome Hugues.

[Imported from Perforce change 9051 at 2006-12-01 21:13:15]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36586
2005-01-27 12:55:32 +00:00
Jérôme Hugues
4d322d9fd3 Take into accout the special case for some elements of the
CORBA specifications, in accordance with the IDL-to-Ada v1.2
mapping specifications.

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

Subversion-branch: /trunk/polyorb
Subversion-revision: 36585
2005-01-27 10:08:30 +00:00
Thomas Quinot
a4f96100ab Fix documentation.
[Imported from Perforce change 9039 at 2006-12-01 21:12:21]

Subversion-branch: /trunk/polyorb
Subversion-revision: 36574
2005-01-14 18:01:08 +00:00