Commit Graph

  • 0ce9ba405a Minor reformatting. Thomas Quinot 2006-07-04 19:26:53 +00:00
  • 03a73a7f5a Minor reformatting Thomas Quinot 2006-07-04 17:29:34 +00:00
  • fc1f7e53cd * backend-be_corba_ada-nodes.idl : documented the Ada tree * TODO : Updated the TODO list * *.ad? : fixed a lot of spell mistakes (in comments and in variable names) with aspell Bechir Zalila 2006-07-04 16:49:24 +00:00
  • 883f5dbd97 * Modification of the backend : - Add the definition of string type with range (ex : a : string (1 .. 2)) - Add the possibility to put a list of discriminant in the definition of types * Add a new backend that contains the redefinition of the types defined in the idl with use of aligned types (Ada representation clause). For the moment the file PolyORB.Aligned_Types is not yet implemented so the generated code can't be compiled. * To generate the backend *-aligned.ads use the switch "-ra". [Imported from ENST Subversion rev. 7670] hamou 2006-07-04 15:45:42 +00:00
  • 147075b1f8 (Generate_Partition_Project_File): Added a missing backslash to Object dir. Fixes 4617-G02 for PCS=Garlic. Pablo Oliveira 2006-07-04 14:52:10 +00:00
  • 07132c6b7b * Created a new Ada structure that represents pragma statements Bechir Zalila 2006-07-03 19:17:36 +00:00
  • 249766abb6 (Element_Array): Elements may not be aliased, as they might be of an unconstrained mutable record type. (Unchecked_Element_Of): Use 'Unrestricted_Access to obtain access to non-aliased elements. Thomas Quinot 2006-07-03 14:29:44 +00:00
  • 2b8f11a1dc Added new configuration parameters for DSA personality. Pablo Oliveira 2006-07-03 12:28:37 +00:00
  • 47605358a7 Minor reformatting. Pablo Oliveira 2006-07-03 11:11:25 +00:00
  • d2474fd571 * Generate an elaboration file (polyorb-partition_elaboration.adb) which withes the needed packages in the PCS for each partition. * Removed the initialization of the PCS of partition main file (it is now done at the elaboration of s-parint) Pablo Oliveira 2006-07-03 09:53:35 +00:00
  • aeac80ecc9 (PolyORB.Any.Get_Aggregate_Element): When an aggregate element is requested from an aggregate that has no explicit memory location for it, two cases may arise. Either the element is requested for the purpose of reading its value (case of marshalling the aggregate), in which case temporary storage must be allocated and returned to the caller, containing the requested value, or the element is requested for the purpose of updating its value, in which case it is fine to return No_Data (and then the caller will call Set_Aggregate_Element to update the value). Thomas Quinot 2006-06-30 19:06:10 +00:00
  • 1e21473bde Remove dup blank line. Pablo Oliveira 2006-06-30 19:04:33 +00:00
  • e07166912e (Set_Length): New subprogram. Preallocate sequence for a given length. Thomas Quinot 2006-06-30 19:01:37 +00:00
  • 7c8c9b5333 Use portable default path for OmniORB install. Thomas Quinot 2006-06-30 18:59:14 +00:00
  • c33ad0d417 Updated dsa example to cope with the new elaboration of PolyORB DSA. Added comment in README to explain of to run example with the termination manager. Pablo Oliveira 2006-06-30 18:58:29 +00:00
  • 8614d4d0b6 Update headers. Pablo Oliveira 2006-06-30 17:33:37 +00:00
  • d72c209d93 Updated dependency. Pablo Oliveira 2006-06-30 17:33:27 +00:00
  • 395c0bdd86 Added missing headers. Pablo Oliveira 2006-06-30 17:28:51 +00:00
  • bc8c1c251a Remove trailing spaces. Remove entities not referenced. Pablo Oliveira 2006-06-30 17:25:43 +00:00
  • e98993003c Updated dependencies. Pablo Oliveira 2006-06-30 17:16:51 +00:00
  • 21a2029d02 * Merged s-polint into s-parint. Removed s-polint. * Renamed Get_RAS_Ref to Get_RAS_Info to be coherent with s-parint. * RACW_POA_Config is kept into package PolyORB.POA_Config.RACWs (instead of s-polint/s-parint). This seems more coherent and solves a circularity problem that appeared when s-polint and s-parint were merged. * Removed all dependences in new s-parint to dsa_p.partitions and termination_manager. * Added s-dsaser (System.DSA_Services) to start DSA services which need the PCS to be completely initialized before they are initialized (for example dsa_p.partitions or termination_manager). * (Register_Pkg_Receiving_Stub): register RCIs on the nameserver directly. Pablo Oliveira 2006-06-30 17:16:22 +00:00
  • 71f712415d Use O instead of Raise_Exception to emit message. Pablo Oliveira 2006-06-30 16:22:34 +00:00
  • 78c353d578 Added explanatory error message for tasking/termination_policy conflicts. Pablo Oliveira 2006-06-30 15:48:03 +00:00
  • b0e0526630 Detect No_Tasking nodes in polyorb.termination_manager.bootstrap, and do not start the TM in this specific case. For F512-009. Pablo Oliveira 2006-06-30 14:00:05 +00:00
  • d0f69c7ddb (Check_Stamp): Stamp checks should be protected for concurrent access. Pablo Oliveira 2006-06-30 12:44:47 +00:00
  • b5536ddf43 Propagate exceptions raised during the initialization of a module. Pablo Oliveira 2006-06-30 12:01:42 +00:00
  • 9878d8b8e1 * Removed automatically generated file Bechir Zalila 2006-06-30 09:47:28 +00:00
  • aca3b575b7 * Added a new example to illustrate the advantages of the new helper initialization design. This example doeas not work using idlac. Bechir Zalila 2006-06-30 09:35:06 +00:00
  • f1b387aee6 Updated dependencies. Pablo Oliveira 2006-06-30 08:59:54 +00:00
  • 683788e6a1 Initial revision. This package can be used for distributed system annex services which require the PCS to be initialized before they are used. Needed for F621-010. Pablo Oliveira 2006-06-30 08:55:42 +00:00
  • 789167025e * backend-be_corba_ada-nutils.ad?, backend-be_corba_ada-initializers.adb : Code factorization in the Get_XXX_Node functions. Fixed a bug when fetching the TypeCode variable corresponding to an IDL type, for element types which correspond to a forwarded interface, we must return the TypeCode of the forwarded interface, not the forward declaration. Bechir Zalila 2006-06-29 16:20:32 +00:00
  • c4c59e5543 Fix circuitry to omit indentation for blank lines. Previous version would cause some indentations to be missed when the first output call for a line was a Put of a spaces-only string. Thomas Quinot 2006-06-29 12:58:23 +00:00
  • 68b75f0583 Added missing rename for TC_Union. Pablo Oliveira 2006-06-29 10:59:44 +00:00
  • 21bdc2f7c0 * backend-be_corba_ada-initializers.adb, backend-be_corba_ada-nutils.adb, backend-be_corba_ada-idl_to_ada.ad? : Fixed a minor bug when fetching Initializer, now, CORBA Predefined entities are ignored. Bechir Zalila 2006-06-29 08:46:35 +00:00
  • 054b9c42d5 Reimplement typecodes as aggregates of Any_Containers (reusing Default_Aggregate_Content) rather than lists of Anys, to avoid costly list traversals and reference counting operations. Thomas Quinot 2006-06-27 15:10:07 +00:00
  • c0082a1a58 Minor reformatting and cleanup. Thomas Quinot 2006-06-27 15:07:26 +00:00
  • be8b28fde2 Remove junk special case in configure that fails to disallow the dsa personality when it is not present. Thomas Quinot 2006-06-26 22:08:15 +00:00
  • 2e78edbe66 * backend-be_corba_ada-skels.adb : factorized generated code in skeleton. The same code that corresponds to more than one operation name is generated only once. Bechir Zalila 2006-06-26 20:19:32 +00:00
  • 59f82c2d13 * backend-be_corba_ada-skels.adb, backend-be_corba_ada-runtime.ad? backend-be_corba_ada-nutils.ads: Generate the implicit CORBA methods code directly in the skeleton. Code cleanup and reformatting... Bechir Zalila 2006-06-26 16:00:14 +00:00
  • 347b64b396 * Add a new TypeCode in the neutral layer to insert a Buffer_Access in a component PolyORB Any. * The method Copy used in representation-cdr will be replaced by Copy_By_Ref (in test phase). * This patch include the patch PolyORB.SII. [Imported from ENST Subversion rev. 7662] hamou 2006-06-26 15:01:26 +00:00
  • c295c40251 (Unmarshall_To_Any): Minor rewording of comment regarding possible underflow of Nb in the 0 case. Thomas Quinot 2006-06-26 14:34:55 +00:00
  • 4caa09f2b9 When an aggregate had no members, there was a wrap-around in the element count in Unmarshall_To_Any. So we tried to get inexistant elements. Pablo Oliveira 2006-06-26 12:25:45 +00:00
  • 090cb4aa2f * Renamed Set_Map_Correct_Parent_Unit_Name and Map_Correct_Designator respectivly to Set_Homogeneous_Parent_Unit_Name and Map_Parameter_Type_Designator Bechir Zalila 2006-06-26 09:24:00 +00:00
  • 08fc2f6b94 * backend-be_corba_ada-helpers.ad? : Modified the Add_Dependency procedure in order to make it handle only PolyORB dependencies (exceptions, corba.object...) and not user TypeCode dependencies which are handled automatically by the Helper Initializers. Bechir Zalila 2006-06-23 21:40:43 +00:00
  • b4ff982325 Implement constant-reference-cound operation for CDR Unmarshalling. Thomas Quinot 2006-06-23 21:34:50 +00:00
  • e92e4c82f8 * Removed useless assignment statements Bechir Zalila 2006-06-23 21:27:20 +00:00
  • 437ea9d665 (Fixed_To_Nibbles): Always return an array of nibbles with the maximal size determined by the IDL declaration for the type. Thomas Quinot 2006-06-23 20:39:23 +00:00
  • b7218fc03c Remove junk unused non-standard subprogram. Thomas Quinot 2006-06-23 20:11:31 +00:00
  • cbe940a785 * flags.adb, backend-be_corba_ada.ad? : Removed the command line flag since the new Helper initialization design is completed now. Bechir Zalila 2006-06-23 17:40:26 +00:00
  • 025cd206fb The return type of Get_Representation is replaced by an Access type of CDR_Representation in order to compile with GNAT GPL 2006 [Imported from ENST Subversion rev. 7657] hamou 2006-06-23 13:25:34 +00:00
  • 041b9624f3 * Remove extra blank lines... Bechir Zalila 2006-06-22 17:18:14 +00:00
  • 3c486b3ceb * Modify the Marshaller signature to be called from stub/skel. * Remove the marshaller from Payload attribute (null) of the request record. * Make the Marshalling of method parameters and returns in the stub and skel. * XXX :the patch Marshalling-patchfile is required with this modifications. [Imported from ENST Subversion rev. 7655] hamou 2006-06-22 15:49:13 +00:00
  • fc34652995 * Updated TODO list Bechir Zalila 2006-06-22 10:13:41 +00:00
  • e6de5c0c32 * backend-be_corba_ada-helpers.ad?, backend-be_corba_ada-nutils.ad?: Preparation for the final step of the new TypeCode initialization design: removed dangourous global variables and replaced theby safer routines. Bechir Zalila 2006-06-22 10:12:48 +00:00
  • 827c8c191f * Generated the bodies for the Initialize routines. Now only the dependency handling between types remains. Bechir Zalila 2006-06-21 14:53:19 +00:00
  • 6cc9d495cd When the structure of an Any is traversed to access its elementary components, we want to avoid touching any reference counter (this is a costly operation, causing controlled actions and a critical section access to the reference counter); instead we want to do the traversal using only Any_Containers and Any_Contents, and operate at constant reference counts. Thomas Quinot 2006-06-21 13:42:50 +00:00
  • c9d1e89565 * Generate the bodies of the TypeCode Initialize procedures. For now, th bodies contain only the main IF statement (empty) Bechir Zalila 2006-06-21 08:13:46 +00:00
  • a3365e6e02 (Reference_Counter): New function to inspect the reference counter of an entity, for debugging and assertions checking purposes ONLY. Thomas Quinot 2006-06-20 19:17:29 +00:00
  • 8a2ceedd25 Correct typo on dsa/Makefile.am. Pablo Oliveira 2006-06-20 17:07:27 +00:00
  • ee411a3063 Updated dependencies. Pablo Oliveira 2006-06-20 15:46:35 +00:00
  • 2303219e24 - Add a termination manager to the dsa personality. - Put dependencies which do not depend of each specific partition in partition_elaboration.ads, (they have been removed from the gnatdist's generated file partition.adb) - Retrieve_RCI_Info allows a given number of failures when retrieving info from the name server. This gives some time to remote partition to register, and allows to start the partitions in any given order. Pablo Oliveira 2006-06-20 15:46:15 +00:00
  • 623fc80d34 * The first steps of the new implementation of the Helpers initializers. Each type is Initialized by a subprogram which is implemented in the subpackage Init of the Helpêr package. For now, only the spoec of the subprograms are generated. The generation is disabled by default to keep iac operational until the achievement of the new implementation and its final integration (use the -z flag to enable the Init package generation) Bechir Zalila 2006-06-20 15:42:26 +00:00
  • 4a8d5fefd7 Get_Conf function to read a duration from a configuration key. Pablo Oliveira 2006-06-20 14:59:39 +00:00
  • 7f82009e06 Add a procedure that checks for consistent RCI versions. Pablo Oliveira 2006-06-20 14:19:49 +00:00
  • 93032000a8 Implements Same_Partition in system.polyorb_interface. Pablo Oliveira 2006-06-20 12:52:05 +00:00
  • 0268ab2106 Generate calls to System.Partition_Interface.Check, to ensure consistent RCI versions, fixes lxe3001. Pablo Oliveira 2006-06-20 12:34:38 +00:00
  • 88ceecdd7a Add more exception handlers to defend against protocol errors, e.g. SOAP Jérôme Hugues 2006-06-20 12:34:37 +00:00
  • e5b19d1541 Fix Makefiles to not include twice the same object file on linker command line. Thomas Quinot 2006-06-19 18:45:50 +00:00
  • b87e2102b7 Document change #10159 Jérôme Hugues 2006-06-19 10:41:55 +00:00
  • d3559b6739 (Extract_Reference_Info): test that the reference actually belongs to local ORB, otherwise raise WrongAdapter. Jérôme Hugues 2006-06-19 10:32:09 +00:00
  • 87da004b13 * patchfile_PolyORB_IAC : The polyorb patchfile in order to integrate IAC is now much simpler. It would dissappear after the implementation of the corba implicit methods in directly in the generated code. Bechir Zalila 2006-06-19 07:02:29 +00:00
  • 953e5c1430 Correct macro name for the IDL-to-Ada compiler Jérôme Hugues 2006-06-18 20:20:15 +00:00
  • 46adf70330 Reuse existent request for location forwarding and GIOP address mode selection instead of creating new request each time. Jérôme Hugues 2006-06-16 23:12:59 +00:00
  • 915969c1f0 (Common_IIOP_DIOP_Corbaloc_To_Profile): fix size of Oid, it is equal to Oid_Str Jérôme Hugues 2006-06-16 22:10:18 +00:00
  • 8eeeef1cf3 (Clone, case Default_Aggregate_Content): The contents for each element of the new aggregate have just been cloned, so they must be marked as non-foreign. Thomas Quinot 2006-06-16 21:14:50 +00:00
  • df64c5dc57 (Clone, case Default_Aggregate_Content): This subprogram must implement a deep copy of the aggregate contents; previously it incorrectly duplicated a list of pointers to Any_Containers, thus causing faulty aliasing. Thomas Quinot 2006-06-16 20:38:19 +00:00
  • 57bfafdf05 Fix for change 10149. Remove useless assignments for out parameters. Pablo Oliveira 2006-06-16 16:41:20 +00:00
  • 304d1efa01 Fix for change 10149. Remove useless assignments for out parameters. Pablo Oliveira 2006-06-16 16:36:35 +00:00
  • 27c2bc833f Update copyright notices. Pablo Oliveira 2006-06-16 14:09:59 +00:00
  • 180ea44b51 There is no longer restriction on the configuration of SSLIOP. Jérôme Hugues 2006-06-16 13:55:14 +00:00
  • c0b1b07463 Remove workarounds for GNAT 3.15. Pablo Oliveira 2006-06-16 13:54:11 +00:00
  • 3cb845f316 Deadline should be declared constant. Removed obsolete pragma Warnings (Off) for WAG:3.15. Pablo Oliveira 2006-06-16 11:58:26 +00:00
  • 5c843a8541 Exempt the no-tasking profile from Ravenscar warnings. It contains a relative delay statement. Thomas Quinot 2006-06-16 11:53:58 +00:00
  • b225e714e6 Recomputed build dependencies Jérôme Hugues 2006-06-15 20:23:34 +00:00
  • 1be785ffe6 Use appropriate Parameters.Get_Conf function. Pablo Oliveira 2006-06-15 18:31:54 +00:00
  • f2b2fcc779 Added per-binding object QoS policies: a predicate associated to a QoS policy indicates wether a profile is compatible or not. Jérôme Hugues 2006-06-15 17:52:09 +00:00
  • e0da0d04df Added function Get_ExcepId_By_Name which returns the exception id from the exception name. Pablo Oliveira 2006-06-15 17:44:30 +00:00
  • 526619b9e0 Added missing pragma Elaborate_Body. Pablo Oliveira 2006-06-15 17:14:02 +00:00
  • 08a6581f2a added local termination computation in polyorb.orb_controller Pablo Oliveira 2006-06-15 16:52:01 +00:00
  • 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. Thomas Quinot 2006-06-15 15:22:31 +00:00
  • 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. Pablo Oliveira 2006-06-15 14:20:04 +00:00
  • 47d6b4f2dd Fix typo. Pablo Oliveira 2006-06-15 13:37:46 +00:00
  • 1a2a0a8b22 - Added support for exporting environment variables to the remote partitions. - Added termination manager config parameters support in polyorb backend - Added Starter (Ada) support in polyorb backend. Fix for F421-007. Pablo Oliveira 2006-06-15 13:34:52 +00:00
  • 0507749648 - Added procedures Generate_All_Stubs_And_Skels and Prepare_Directories to factor common backend code in xe_back. - Corrected comment (referencing garlic) in xe_back-polyorb.adb. Pablo Oliveira 2006-06-15 13:13:09 +00:00
  • 267744fbb6 Corrected name of IDL compiler Jérôme Hugues 2006-06-15 10:56:23 +00:00
  • 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. Jérôme Hugues 2006-06-15 10:32:59 +00:00
  • c8498f0810 (Is_Colocated): GIOP_Profile_Type is an asbtract type; need to test for Right in GIOP_Profile_Type'Class. Thomas Quinot 2006-06-14 16:55:37 +00:00
  • 26f7242be3 Remove duplicated code block in Run_Backend. Pablo Oliveira 2006-06-14 15:08:47 +00:00
  • f6d21a4e4a Factor identical Generate_Stub in garlic and polyorb backends. Pablo Oliveira 2006-06-14 14:57:39 +00:00
  • 786d84723a Merge rev. 1.91 into gnat-5_04 for F308-020. legacy/GLADE/gnat-5.04 Romain Berrendonner 2006-06-14 13:22:34 +00:00