Commit Graph

  • 6b109bbe50 Account for helpers at IDL file level (these are necessary for the case where a forward interface declaration occurs at the topmost scope of an IDL file.) Thomas Quinot 2005-07-19 12:03:48 +00:00
  • 8cd6331a19 Fix log section parameter name for the Workers ORB controller. Jérôme Hugues 2005-07-19 11:06:56 +00:00
  • a24690500a For a sequence of references declared within the scope of the interface being referenced, generate a forward declaration to avoid freezing issues. Thomas Quinot 2005-07-18 19:19:54 +00:00
  • 5c6c549af5 (Has_Interface_Component): New predicate. For a node that is a type, True if the type is I_Node, a typedef thereof, or a composite type that has one such component. For E713-016 DA05-013 Thomas Quinot 2005-07-18 18:58:11 +00:00
  • 0bef3be401 Minor cleanup. Thomas Quinot 2005-07-18 18:55:28 +00:00
  • 4aa9283f8d * backend-be_ada-skels.adb : - Reordered some functions to prepare the optimization implementation - Implemented the minimal perfect hash function optimization. There are two optimisation modes, CPU time or memory space. The user indicates his choice (cpu, memory or no optimization) via the command line Bechir Zalila 2005-07-18 13:41:54 +00:00
  • c0af2facc2 * backend-be_ada.ads, backend-be_ada.adb : - Added a new command line option to allow the user to chose the skeleton optimization mode he wants. Bechir Zalila 2005-07-18 13:35:49 +00:00
  • aa771e400f * backend-be_ada-nodes.idl : - Used the same field name for renamed objects, exceptions and subprograms to optimize the node generation. - Added a node kind to allow explicit exception raising - Modified the range constraint node kind to allow generation of arrays with constant (or constant-based expression) sizes - Added a new node kind to allow object instanciation. - Minor reformatting Bechir Zalila 2005-07-18 13:27:48 +00:00
  • a32bae39ff Minor reformatting Thomas Quinot 2005-07-18 12:12:50 +00:00
  • 2313cfa153 Defend against non existing files (e.g. if no protocol personality is selected) Jérôme Hugues 2005-07-14 18:52:08 +00:00
  • d225d2e444 (Get_SSL_Context): New supporting subprogram for SSL. Thomas Quinot 2005-07-12 10:53:05 +00:00
  • 4428e9e24b Add error recovery circuitry for the case where an accept operation on a Transport Access Point fails. Thomas Quinot 2005-07-11 14:12:47 +00:00
  • 3434909bd2 * backend-be_ada-skels.adb, backend-be_ada-stubs.adb : Minor reformatting. Bechir Zalila 2005-07-11 07:05:13 +00:00
  • 7c79b95d22 * backend-be_ada-skels.adb, backend-be_ada-stubs.adb : generated some comments in the stubs and skeletons. Bechir Zalila 2005-07-11 06:45:53 +00:00
  • c9a56d22e0 Minor reformatting. Thomas Quinot 2005-07-08 18:36:41 +00:00
  • d2f6f386b5 * removed Bechir Zalila 2005-07-08 12:28:24 +00:00
  • cb2859a291 * inherit00* : Interface inheritance testsuite. The complexity of the tests increases as their number increases. - The first test tests simple inheritance without additional entities in the parent (types, constants, exceptions...) - The second test tests multiple inheritance without additional entities in the parents (types, constants, exceptions...) - The third test tests simple inheritance with type definitions, constants declarations, excxeptions... - The forth test tests multiple inheritance with additional entities - The fifth test is the most complex. It tests recursive inheritance and redefinition problems Bechir Zalila 2005-07-08 11:56:27 +00:00
  • 50a778280b * backend-be_ada-generator.adb : Implemented the generation of renamed entities Minor reformatting Bechir Zalila 2005-07-08 09:47:35 +00:00
  • ef430971bd * backend-be_ada-nodes.idl, backend-be_ada-nutils.ads, backend-be_ada-nutils.adb : Added a new field to the exception declaration node kind. This allows the renaming of exceptions. Bechir Zalila 2005-07-08 09:45:57 +00:00
  • 63b7965c49 * backend-be_ada-nodes.idl, backend-be_ada-nutils.ads, backend-be_ada-nutils.adb : Added a new flag to the Object declaration node kind to allow the renaming of variables. Bechir Zalila 2005-07-06 15:28:03 +00:00
  • 1ab0485944 * backend-be_ada-nutils.ads, backend-be_ada-nutils.adb, backend-be_ada-generator.adb : Implemented the code generation for Ada comments. The user may not split the comment into many lines, it's IAC who does this properly :-) Bechir Zalila 2005-07-05 09:50:55 +00:00
  • 1738f462b9 Merge rev. 1.46 from HEAD: Assorted texi consistency fixes. Update version number to 5.03a1. legacy/GLADE/gnat-5.03 Thomas Quinot 2005-07-04 16:26:16 +00:00
  • 797782b29f * frontend-nutils.ads, frontend-nutils.adb : Added a function that returns the fully qualified name of an Identifier. Bechir Zalila 2005-07-04 15:14:13 +00:00
  • d081e6d1a4 * backend-be_ada-idl_to_ada.adb : Added the possibility to generate code for constant array sizes. The adopted apporaoch is the idlac approach, the constant is transformed into a literal value. Bechir Zalila 2005-07-04 10:03:38 +00:00
  • aec10c3fe4 * TODO : Removed an already done task Bechir Zalila 2005-07-03 20:18:18 +00:00
  • 4c142556c5 * circular, chicken-egg, forward : added the tests for the forward interfaces * MANIFEST : Integrated the new tests to the automatic test process Bechir Zalila 2005-07-03 15:03:01 +00:00
  • 849aae0e62 * TODO : updated the TODO list. Bechir Zalila 2005-07-03 15:01:05 +00:00
  • c1f685a1b0 * frontend-nutils.adb : Minor reformatting Bechir Zalila 2005-07-03 14:59:19 +00:00
  • 8a31c246d5 * backend-be_ada-skels.adb, backend-be_ada-helpers.adb, backend-be_ada-stubs.adb : Replaced replicated code by calls to subprograms. Bechir Zalila 2005-07-03 14:58:14 +00:00
  • 42fa8bd887 * backend-be_ada.adb : Integrated the expansion phase to the compilation process. Bechir Zalila 2005-07-03 14:55:12 +00:00
  • 8ed9b1307d * backend-be_ada-expand.ads, backend-be_ada-expand.ads : Added an expansion phase that generate a new intermediate IDL tree before generating the Ada tree. During this phase, necessary implicit forward declarations are added to the IDL tree. It's in this pahse that future implementation on forwards wil be implemented Bechir Zalila 2005-07-03 14:52:51 +00:00
  • e6922df769 * backend-be_ada-nutils.ads, backend-be_ada-nutils.adb : Fixed the following bug, a package must never "with" itself. This occured when we try to use an instanciated package which has not an FE_Node. Added three methods to obtain the nodes of the TC_XXX constant, the From_Any and the To_Any functions. These three new functions check the type spec (the parameter) and return the correct node. Until now, the code of these functions was replicated many time in Iac code which may multiply the bugs. Moved the Initialisation of the Forwarded_Entities into the functions Set_Forward and Is_Forward to allow the use of these functions before the call to Nutils.Initialize. Bechir Zalila 2005-07-03 14:46:46 +00:00
  • 6e5dfd3590 Mark 1.3 as released on 2005-06-20 (GAP 2005). Thomas Quinot 2005-07-01 15:06:22 +00:00
  • 290d04d441 Make just one NEWS entry for both 1.3r and 1.3a. Thomas Quinot 2005-07-01 15:05:19 +00:00
  • 080b97a79c Set release date for 1.3r to release date of GAP 2005. Mark 1.3a as FROZEN. Thomas Quinot 2005-07-01 15:02:32 +00:00
  • 674aef2fff Promote release branch to version 1.3a. Thomas Quinot 2005-07-01 14:54:51 +00:00
  • ce26d2a092 * backend-be_ada-helpers.adb, backend-be_ada-stubs.adb : Implemented - Sequences of interfaces - Sequences of arrays - Sequences of a user defined type (including sequence of sequence) - Arrays of a user defined type(including arrays of interfaces Bechir Zalila 2005-06-30 16:24:12 +00:00
  • 89ee6e89dd * backend-be_ada-helpers.adb : Fixed the following bug, in the Unchecked_To_Ref and the To_Ref functions, the parameter type must be CORBA.Object.Ref'Class even when the interface does cot inherit directly from CORBA.Object. Bechir Zalila 2005-06-30 08:01:57 +00:00
  • f2f2391519 * backend-be_ada-stubs.adb, backend-be_ada-impls.adb, backend-be_ada-skels.adb : Implemented the interface inheritance. The multiple inheritance is also implementes as indicated in the mapping specifications. Bechir Zalila 2005-06-29 16:50:32 +00:00
  • fce6013b57 * ada001* : Added some tests for the body code generation of iac. These test are identical to the Ada000* but all the code is generated by iac and no more byu idlac. Bechir Zalila 2005-06-28 17:02:36 +00:00
  • 1cc4210504 * backend-be_ada-stubs.adb : deleted useless comment Bechir Zalila 2005-06-28 16:58:49 +00:00
  • 31c59b9fc7 * parser.adb, backend-be_ada-expand.adb, backend-be_ada-nutils.adb : Fixed The following bug, the XXXX_IDL_FILE should not be a parent unit name for a module or an interface. Bechir Zalila 2005-06-28 16:57:24 +00:00
  • b76af6c36e * xe_back.ads, xe_back.adb, xe_back-garlic.adb, xe_back-polyorb.adb: Factor duplicated code. Thomas Quinot 2005-06-28 09:58:41 +00:00
  • 28aaa347fc Factor common (PCS-independant) code from the PCS-specific backend units into XE_Back. Thomas Quinot 2005-06-28 09:58:17 +00:00
  • e48bb71f14 Remove dead unit. Thomas Quinot 2005-06-28 09:57:39 +00:00
  • 9b8bd0cd28 Document refined fix for E606-004 Fixes regression on 4617-G02. Thomas Quinot 2005-06-28 09:04:25 +00:00
  • a3033ec02d * xe_back.adb: Refine algorithm for setting the partition Exec_Dir: if it has been explicitly specified as an absolute path, use the given path; if it has been specified as a relative path, or left unspecified, prepend it with ../../.. so it is processed relative to the mail build directory. Proper fix for E606-004. Fixes regression on 4617-G02. Thomas Quinot 2005-06-28 09:04:02 +00:00
  • a406578715 * backend-be_ada.adb, backend-be_ada-helpers.adb, backend-be_ada-stubs.adb : Fixed the following bug, when a type, or an exception is declared outside any module or interface, the execution of iac is interrupted by a constraint error. This is due to the non initialisation of the Deferrend_Initialisation_Body and Package_Initializarion lists. Bechir Zalila 2005-06-27 16:52:57 +00:00
  • a3a477f179 Revert previous change, it was errnenous, the value of Current.Partition_Dir is reused! Followup on E606-004. Thomas Quinot 2005-06-27 16:37:02 +00:00
  • eff2d0f86e Remove junk dead assignment. Found while working on E606-004 Thomas Quinot 2005-06-27 16:31:12 +00:00
  • 75f39d53f8 * backend-be_ada-nodes.idl, backend-be_ada-idl_to_ada.ads, backend-be_ada-idl_to_ada.adb : Added two fields, To_Ref_Node and U_To_Ref_Node to permit easy access to the To_Ref and Unchecked_To_Ref functions in the Helper spec. Until now, the access to these functions was done by accessing another node in the Helper spec and then by mean og the Next_Node function, we arrive to the wanted node which is not very nice. Added the two binding functions corresponding to these fields. Bechir Zalila 2005-06-27 15:14:53 +00:00
  • 4bf25c322b * backend-be_ada-nodes.idl : Deleted the node kind Package_Instanciation because there is already a node kind called Package_Instantiation. Bechir Zalila 2005-06-27 09:40:01 +00:00
  • fb3b3ab024 ** Remove a (style) warning. alves 2005-06-27 08:25:59 +00:00
  • 4f4c1a3077 (PolyORB.Utils.Dynamic_Tables): Initialized, Duplicate: new functions Jérôme Hugues 2005-06-26 21:36:09 +00:00
  • 8f58e4c503 Add management of the ReplicationManager initial references (CORBA 3.0.3 par 23.3.10) Jérôme Hugues 2005-06-25 23:01:10 +00:00
  • 4a045def26 ** backend-be_types.adb : Move out the insertion of the required types into a procedure. alves 2005-06-24 19:58:54 +00:00
  • 0392c7f379 ** backend-be_types.adb : Always insert the type any because it's used by the helpers during the typecode variables building. (ie. function Add_Parameter called in Deffered_Initialization). alves 2005-06-24 16:33:03 +00:00
  • f621305231 * backend-be_ada-nodes.idl : Added a new fild in Package_Instanciation node, Is_Subunit_Package. It is set by default to true (because in most cases, packages are instanciated inside other packages). Bechir Zalila 2005-06-24 16:11:03 +00:00
  • 60556b85c5 prevent multiple initializations of name table (which can happen if ocarina is used together with another mknodes-based application) Thomas Vergnaud 2005-06-24 16:06:43 +00:00
  • bc6684d197 ** backend-be_types.adb : - correct the insertion of unsigned long at each addition of string - insert for all the cases the string and unsigned long types. Because they are always needed. ** testsuite/* : - modify the tests consequently. alves 2005-06-24 15:36:04 +00:00
  • ba233336ad ** backend-be_types : The addition of the OBJECT type implies the addition of the TYPECODE type (cf PolyORB.Any.To_Any (Item; TypeCode.Object)). alves 2005-06-24 09:07:57 +00:00
  • a048726aee Update gnatdist version to 5.03a1 Part of E510-008 Nicolas Roche 2005-06-24 08:52:46 +00:00
  • 981cde30de Add typecodes for COMM_FAILURE, TRANSIENT, NO_RESPONCE and OBJ_ADAPTER exceptions, Jérôme Hugues 2005-06-23 09:58:21 +00:00
  • 6f0a0f87dc Document changes for E606-004 Thomas Quinot 2005-06-23 08:28:49 +00:00
  • 0c58a45c19 (Generate_Partition_Project_File): New subprogram (moved here from the PCS-specific backend units). Prepend ../../../ to partition executable name, in order for it to be generated in the base object directory rather than the dsa/<config>/<partition> subdirectory Fixes E606-004 Thomas Quinot 2005-06-23 08:28:34 +00:00
  • dfd6cc4f12 (Generate_Partition_Project_File): Subprogram moved from PCS-specific backend implementations to the shared parent unit. Part of the fix for E606-004 Thomas Quinot 2005-06-23 08:27:47 +00:00
  • 04daf65aa2 (Generate_Partition_Project_File): Remove duplicated subprogram. Part of the fix for E606-004. Thomas Quinot 2005-06-23 08:27:11 +00:00
  • a4268884a9 Document change 9376 Jérôme Hugues 2005-06-21 18:01:25 +00:00
  • 9c5a46d4de Add entry for E621-001 fix (change 9377). Thomas Quinot 2005-06-21 17:40:25 +00:00
  • fdcae00824 Ensure a sufficiently large integer type is used for numeric constants. Thomas Quinot 2005-06-21 17:36:46 +00:00
  • 5e46cd92b9 idlac_wrapper: a wrapper for idlac to avoid the recompilation of files generated by idlac whenever possible. Jérôme Hugues 2005-06-21 15:08:09 +00:00
  • 6fe2e5c5a1 Commented two test that use orb.idl. Bechir Zalila 2005-06-21 10:33:43 +00:00
  • cf71d6bf12 ** Added some tests of the backend-be_types in the testsuite and in the MANIFEST file alves 2005-06-21 10:26:52 +00:00
  • 4210d6b0ca ** Suppress the useless package Backend-BE_Types-Utils alves 2005-06-21 10:24:50 +00:00
  • 6fb42bcee2 Source modified: ** This backend use a representation present in iac instead of a dedicated representation. alves 2005-06-21 10:21:25 +00:00
  • 446008b8a1 * Added the debug options to linker to keep b~* files * Added a new directory "example" which contains all_types and all_functions. These two examples work perfectly with IAC * Uncommented 54 tests in the MANIFEST file. Bechir Zalila 2005-06-21 10:00:51 +00:00
  • bb29a07cc9 Output parsed command line switches after both generic and PCS-specific initialization has taken place. Defer propagation of Usage_Error from XE_Utils.Initialize until after this has been done. Part of fix for regression on 0003-G03 and 0004-G17 introduced by change for E331-014 Thomas Quinot 2005-06-20 14:09:30 +00:00
  • d2e023be0a (Show_Dist_Args): New subprogram. Move output of command line switches out of XE_Utils.Initialize. Part of fix for regression on 0003-G03 and 0004-G17 introduced by change for E331-014 Thomas Quinot 2005-06-20 14:08:11 +00:00
  • b92b25d42d * backend-be_ada-nodes.idl : Added a new node kind BE_Ada_Instanciations which replaces Fixed_Type_Node and is useful for fixed types as well as for sequences. It allows to access to backend nodes that don't have corresponding frontend nodes. Bechir Zalila 2005-06-17 16:47:55 +00:00
  • e4b001ebcd Document E331-014 changes Thomas Quinot 2005-06-17 10:25:45 +00:00
  • eae73be862 * xe_usage.adb: Document --PCS=... switch. For E331-014 Thomas Quinot 2005-06-17 10:25:27 +00:00
  • f5ee5bbbe5 * xe_main.adb, xe_utils.adb: Provision for setting some implicit command line flags dependant on PCS selection using --PCS=(garlic|polyorb). For E331-014 Thomas Quinot 2005-06-17 10:25:15 +00:00
  • f715ce7f5a * xe_utils.ads, xe_utils.adb: New subprogram Scan_Dist_Args to scan a string of multiple command line switches. Thomas Quinot 2005-06-17 10:25:02 +00:00
  • 99ba8d29e3 * xe_defs-defaults.ads.in: New constant Default_Prefix. Remove PCS-specific flags from Default_Dist_Flags. For E331-014 Thomas Quinot 2005-06-17 10:24:22 +00:00
  • 5bdfd5066f * xe_back-polyorb.adb: Implement Set_PCS_Dist_Flags for the PolyORB case using a call to polyorb-config. For E331-014 Thomas Quinot 2005-06-17 10:23:56 +00:00
  • 5c6ddb1943 * xe_back-garlic.adb: Implement Set_PCS_Dist_Flags for the GARLIC case using a dynamic prefix computation based on gnatdist location, then falling back to the builtin (compile-time) prefix. For E331-014 ---- date: 2005/06/17 10:26:46; author: quinot; Also fixes E609-008 Thomas Quinot 2005-06-17 10:23:37 +00:00
  • a01b788a39 * xe_back.ads: Isolate PCS-specific implicit command line flags setting in a new primitive operation Set_PCS_Dist_Flags. For E331-014 Thomas Quinot 2005-06-17 10:23:20 +00:00
  • f654dd1a58 * xe_defs.ads, xe_defs.adb: New subprogram Get_Dist_Prefix returning the prefix of the bin directory where gnatdist is installed. Used to allow dynamic computation of the location of the GARLIC runtime library. New subprogram Set_PCS_Name allowing the value returned by Get_PCS_Name to be changed. For E331-014 Thomas Quinot 2005-06-17 10:22:47 +00:00
  • 5dc4309346 Revert change #9372 Jérôme Hugues 2005-06-16 16:04:47 +00:00
  • acd4d36712 (Invoke_Request): Defend against concurrent access when removing pending request. Jérôme Hugues 2005-06-16 13:48:42 +00:00
  • ca9bf65bf4 Declare an Error_Container in the block it will be used. Jérôme Hugues 2005-06-16 12:44:48 +00:00
  • 053abba782 * backend-be_ada-nodes.idl : Added the backend nodes corresponding to - A package instanciation - A decimal type definition Added the possibility to generate a pec for a subprogram that renames another subprogram Added a link between a type defined basing on a fixed point type and the definition of this fixed point type. Bechir Zalila 2005-06-15 12:15:05 +00:00
  • ede57a210e Add missing trailing / in URL. Thomas Quinot 2005-06-15 10:28:47 +00:00
  • 6d8bb52ae5 Minor updates: - added note on Annex A 'Conformance to standards', - corrected typos and copy/paste errors , - added note on MacOS X as being successfully tested, - added note on how to register initial references for NamingService and the PolicyDomainManager Jérôme Hugues 2005-06-15 10:18:45 +00:00
  • 946bc90bff ** Moving the 'pragma Unreferenced' in the declaratory part alves 2005-06-15 07:54:38 +00:00
  • 2057d1bde1 * Suppress useless debugging comments alves 2005-06-14 15:15:16 +00:00
  • deeea54de4 * backend-be_types.adb, backend-be_types.ads : Added a new backend to iac. This backend parse the idl file and put all the types present in a list. The list contains the same element at most once. This backend will be used to generate the two packages polyorb-any and polyorb-representation-cdr tailored for the application. alves 2005-06-14 15:10:53 +00:00
  • db319943b2 * backend-be_ada-nodes.idl : Added the access to a type definition in the stub more expressive. This allows to generate the TC_XXX constant, the From_Any and the To_Any methods of a type defined in the Ada tree and which has not a corresponding type definition in the IDL tree (array in a struct for example). Bechir Zalila 2005-06-13 16:24:10 +00:00
  • 0b5fd87829 * frontend-debug.adb : Corrected the following bug, when printing the IDL tree, we must not print the BE_Nodes because iac will try to print a fronend node which has the same number of this BE_Node and may cause a CONSTRAINT_ERROR. The constraint error is raised when the IDL file size is big which makes some node numbers in the specs greater than the biggest node number in the IDL tree. In the case of small IDL files, no constraint errors are raised but the IDL tree contains some additional frontend nodes at the wrong places. This bug does not affect the IDL back-end which ignores systematically the BE_Nodes. Bechir Zalila 2005-06-10 14:55:53 +00:00
  • 3fd9d27642 * backend-be_ada-nodes.idl, backend-be_ada-nutils.ads, backend-be_ada-nutils.adb, backend-be_ada-generator.adb : Removed the useless possibility to generate literals between parentheses. The code implementing this fonctionality is commented and should be removed later. Bechir Zalila 2005-06-10 07:56:53 +00:00