Commit Graph

  • e304ad00a4 Add missing indentation in generated code. Thomas Quinot 2007-09-26 13:15:29 +00:00
  • 536756ec3c Fix generated code for partition-level runtime parameters source to avoid freezing issues. Detected after G522-019 changes. Thomas Quinot 2007-09-25 16:39:48 +00:00
  • 8a98699176 * (values.ad?): Negative: a function to detect negative numbers, integers or reals. Bechir Zalila 2007-09-25 14:02:44 +00:00
  • 40590e6c3c Minor reformatting and comments cleanup. Thomas Quinot 2007-09-25 13:31:00 +00:00
  • c293e3a2d8 * (parser.adb): Avoid crashing when parsing an erroneous scoped name constant type. Bechir Zalila 2007-09-25 13:10:14 +00:00
  • e0ad8cebb5 Minor reformatting. Thomas Quinot 2007-09-25 09:25:03 +00:00
  • 132489a1dd (Emit_Source_Code): Fix a couple of latent bugs: Spec_Dep_Node was not being set to null each time around the loop. It doesn't make sense to generate a use_clause, a pragma Elaborate_All, a pragma Elaborate, or a pragma Warnings (Off) unless we have generated the with_clause. Part of F131-031. Bob Duff 2007-09-24 23:55:42 +00:00
  • 0224f2c20a We were generating "use type X.Y;" just before a constant declaration, in case the constant was negative, so we would have direct visibility of the "-" operator. However, that caused warnings, and it's hardly ever necessary anyway. So this change removes those "use type" clauses, and uses something like X."-" (1234) for negative values. Part of F131-031. Bob Duff 2007-09-24 20:26:09 +00:00
  • d9ed48a79b * Removed useless 'with' clauses Bechir Zalila 2007-09-24 17:17:23 +00:00
  • 5cf51d9e1e Remove redundant use clauses. Bob Duff 2007-09-24 15:43:05 +00:00
  • e60032df57 Remove useless USE TYPE clauses now generating warnings. Follow-up on F131-031. Thomas Quinot 2007-09-24 13:47:07 +00:00
  • 027bb6472b Remove superfluous USE TYPE. Kills new warning from F131-031 Thomas Quinot 2007-09-22 18:26:43 +00:00
  • ba35a37a21 Add back -aL switch, which was removed in the previous version. Otherwise, we get spurious recompilation of runtime files. For E923-010. Bob Duff 2007-09-19 20:17:48 +00:00
  • 5d7c37bb44 Move installed ALI files to match our standard conventions, as documented in E923-010. In particular, the *.ali files were in <prefix>/include/polyorb, and are now moved to <prefix>/lib/polyorb. This requires changing polyorb.gpr and polyorb-config so the *.ali files can be found. For EC06-003, E923-010. Bob Duff 2007-09-18 15:32:12 +00:00
  • 42d711b55e Move installed project files to match our standard conventions, as documented in E923-010. In particular, polyorb.gpr goes in <prefix>/lib/gnat, because it is intended to be imported by user projects, and the other *.gpr files go in <prefix>/lib/gnat/polyorb, because they are not used directly by user projects. Create projects subdirectory of projects-distrib, so the source dirs more closely mimics the install dirs, making installation simpler. For EC06-003, E923-010. Bob Duff 2007-09-17 18:17:32 +00:00
  • 673a34c09d Document new location of project.gpr file. For EC06-003, E923-010. Bob Duff 2007-09-17 18:16:45 +00:00
  • 56f0d2f6c5 Document usage of project files with PolyORB. Section 4.6, "polyorb.gpr". For EC06-003. Bob Duff 2007-09-14 21:44:57 +00:00
  • 48979bad1d (projects/polyorb.gpr, projects-distrib/polyorb.gpr): Use polyorb.gpr.in to generate polyorb.gpr, so we can import the correct corba services projects. Use @WITH_SERVICE_PRJS@. (configure.ac): Set @WITH_SERVICE_PRJS@ to the appropriate with_clause. We generate the whole with_clause, rather than just a list, because there can be zero such projects, and "with ;" would be illegal. It doesn't make much sense to have zero application or protocol personalities, but we might as well do those the same way, for uniformity. So, we now have WITH_APPLI_PRJS and WITH_PROTO_PRJS as well. (projects/src_setup.gpr.in, projects-distrib/src_setup.gpr.in): Use WITH_APPLI_PRJS and WITH_PROTO_PRJS instead of APPLI_PRJS and PROTO_PRJS -- seems a little cleaner this way. For EC06-003. Bob Duff 2007-09-14 19:56:56 +00:00
  • f679639394 Pass prefix down to recursive make for doc installation. For G829-026 Thomas Quinot 2007-09-14 16:50:02 +00:00
  • f9b8d64ad4 (projects-distrib): New directory containing project files for building clients of PolyORB. For each project file in projects that builds a library, there is a project file in projects-distrib with the same name, which has the necessary commands to allow gnatmake to find the corresponding installed .a file. In addition, we have polyorb.gpr, which is intended to be imported by clients, and common.gpr, which is imported by everything here. (Makefile.in): Install the project files from projects-distrib. (projects/README): Update documentation. (configure.ac): Add projects-distrib/src_setup.gpr, which is generated from projects-distrib/src_setup.gpr.in. (MANIFEST): Add new files in projects-distrib. For EC06-003. Bob Duff 2007-09-13 23:36:29 +00:00
  • 31b045f60b Don't build examples that require ssl unless we have ssl; otherwise 'make examples' will fail. For E524-010, EC06-003. Bob Duff 2007-09-10 19:56:20 +00:00
  • 24ef5e97b3 (install): Install the documentation if it has been built, to mimic behavior of pre-project make files. For E524-010, EC06-003. Bob Duff 2007-09-10 19:50:19 +00:00
  • 2ab6078344 Install under $(prefix)/share/doc, not $(prefix)/doc. For G829-026 Thomas Quinot 2007-09-03 16:32:20 +00:00
  • c5c68723d1 Support recomputing prefix at run time to make PolyORB installation relocatable. Discussed on G829-026 Thomas Quinot 2007-09-03 16:27:58 +00:00
  • 15d553440a (idlac_wrapper): Use better syntax for "if verbose". For E524-010. Bob Duff 2007-08-29 16:47:09 +00:00
  • 23ea9140e0 Make builds work on windows. (Makefile.in): Use correct path separator on Windows (";" instead of ":"). Use correct ADA_PROJECT_PATH. Remove -v switch from idlac_wrapper. (Locate_IDL_File): On windows, allow for both kinds of directory separator ("/" and "\"). (Preprocess_File): Remove trailing directory separator when calling gcc, because that doesn't work on windows. (idlac_wrapper): Add more information when using -v switch. For E524-010. Bob Duff 2007-08-29 15:32:18 +00:00
  • 1ab7aa27e5 * (backend-be_corba_ada-nodes.idl, backend-be_corba_ada-nutils.ad?, backend-be_corba_ada-nodes.ad?, backend-be_corba_ada-generators.ad?): Removed unused subprogram 'Make_Type_Attribute' Removed unused node 'kind For_Use_Statement' Removed the 'Is_All' flag from 'Designator' since it is not used anymore ('Explicit_Dereference' is used instead) Added a new node kind 'Indexed_Component' Bechir Zalila 2007-08-27 08:01:01 +00:00
  • 17442cf638 Add more details about OMG documents regarding tag allocation. For G803-009 Thomas Quinot 2007-08-06 10:34:01 +00:00
  • 550c2d04f4 Document OMG tags assignment. G803-009 Thomas Quinot 2007-08-03 17:17:44 +00:00
  • ccfe00630a Minor reformatting; add comments. Thomas Quinot 2007-08-03 17:15:54 +00:00
  • e441b4d7b1 Remove partition-specific package PolyORB.Parameters.Partition. Instead, generate the partition specific parameters source directly in PolyORB.Partition_Elaboration. This simplifies the build and installation process, and also ensures that there is no dummy placeholder body for the parameter source that might be erroneously used instead of the correct one. Thomas Quinot 2007-08-02 16:12:06 +00:00
  • c08a17aea1 Remove partition-specific package PolyORB.Parameters.Partition. Instead, generate the partition specific parameters source directly in PolyORB.Partition_Elaboration. This simplifies the build and installation process, and also ensures that there is no dummy placeholder body for the parameter source that might be erroneously used instead of the correct one. Thomas Quinot 2007-08-02 16:12:06 +00:00
  • 7a2a785ffe (No_Wrap): Add missing pragma Unreferenced. Thomas Quinot 2007-08-02 16:09:35 +00:00
  • 99028e3d26 In --cflags mode, output -I${polyorb_dir}, not -aI -aO, since these are gnatmake flags, not compiler flags. Thomas Quinot 2007-08-01 09:00:22 +00:00
  • 249ff661c2 Minor reformatting. Thomas Quinot 2007-07-31 09:30:12 +00:00
  • 492a2af8d5 (DSA): Do not install polyorb-partition_elaboration.ali, as this unit must be recompiled for each partition. Fixes failures caused by polyorb-config.in rev. 114644 for G125-021. Thomas Quinot 2007-07-31 09:25:58 +00:00
  • 2bb25192f2 Indicate PolyORB installation directory with -aI and -aL (instead of -I) to avoid spurious recompilation of the PolyORB runtime. Fix for G125-021 Thomas Quinot 2007-07-30 16:01:37 +00:00
  • 25e4f448cd Minor wording fixes. For G728-003. Bob Duff 2007-07-29 13:07:20 +00:00
  • cd73eafbe6 Minor comment fix. For G728-003. Bob Duff 2007-07-28 22:21:34 +00:00
  • 3d5ec3d146 Correct spelling "instanciation" --> "instantiation". Occurs in one Ada file that gets included in polyorb_ug, but I might as well fix them all. For G728-003. Bob Duff 2007-07-28 22:18:31 +00:00
  • dccfb7c931 Minor wording fixes. For G728-003. Bob Duff 2007-07-28 18:47:15 +00:00
  • 0401e5d9e4 Remove tabs and trailing blanks, as indicated in the Style Guide comment at the front. For G728-003. Bob Duff 2007-07-28 17:59:14 +00:00
  • 3b94266d92 Minor wording fixes. For G728-003. Bob Duff 2007-07-28 17:49:11 +00:00
  • 4d8b03cfd0 (wabi): add documentation Jérôme Hugues 2007-07-27 14:20:21 +00:00
  • 9f849e5201 Minor reformatting. Thomas Quinot 2007-07-24 15:09:29 +00:00
  • df0d78dead Remove junk (always true) assertions. Detected by warning from G507-009 Thomas Quinot 2007-07-23 09:30:21 +00:00
  • 1d500629fa Kill more warnings for bound test optimized away (G507-009) Thomas Quinot 2007-07-20 10:51:56 +00:00
  • 4cd00eb14c Kill various new warnings: out formal not modified (G709-002) bound test optimized away (G507-009) Thomas Quinot 2007-07-20 10:33:32 +00:00
  • e27e58d5bc Clean up warnings for unmodified mode out formals (make them mode in instead). For G709-002 Thomas Quinot 2007-07-20 09:49:24 +00:00
  • f3b0e552b5 Reorganize code to avoid warning about optimization of bound tests for membership tests. New warning is from G507-009 Thomas Quinot 2007-07-20 09:47:41 +00:00
  • a0b8bf3681 Fix typo in comment. Thomas Quinot 2007-07-18 09:55:29 +00:00
  • 6d34e56333 Minor comment fixes Bob Duff 2007-07-16 16:42:17 +00:00
  • f882c71668 Change ";" to "&&", so commands like "cd x ; y" will fail if x does not exist (rather than running y in the wrong directory). Add "mkdir" commands to make sure the directories in which we run idlac exist. Fixes G715-003 and G715-004. Bob Duff 2007-07-16 16:31:41 +00:00
  • a9d5ce4d08 Add documentation for IAC Part of [FC19-007] Jérôme Hugues 2007-07-16 08:32:20 +00:00
  • c60a654d87 Minor reformatting Jérôme Hugues 2007-07-16 08:22:15 +00:00
  • cec1f1310d (Queue_Request_To_Handler): This operation was implemented exactly the same way in all ORB tasking policies. Therefore move it to PolyORB.ORB instead. Thomas Quinot 2007-07-13 16:28:21 +00:00
  • f88c936bcb (echoColor): Make sure we do not cause a Constraint_Error trying to evaluate 'Img on an invalid representation. Thomas Quinot 2007-07-13 16:01:57 +00:00
  • 868c40e539 (Is_Locally_Terminated): Add delay and retry loop to ensure that the system situation is stabilized before returning. This works around a difficult race condition that shows up in some configurations while processing a termination wave. Fix for G313-002 Thomas Quinot 2007-07-13 14:42:55 +00:00
  • 62251354f9 (Is_Locally_Terminated): Put debugging trace under control of ORB_Controller_Status. Changed for investigation of G313-002 Thomas Quinot 2007-07-13 14:41:34 +00:00
  • 764e80f785 Minor reformatting and debugging trace improvement. Thomas Quinot 2007-07-12 16:55:25 +00:00
  • 5f49154e35 (PCS_Version): New entity for checking consistency between exp_dist and PCS. For G706-007 Thomas Quinot 2007-07-11 17:18:18 +00:00
  • d2ea2ca4ce (PCS_Version): New entity for checking consistency between exp_dist and PCS. For G706-007 Thomas Quinot 2007-07-11 17:18:18 +00:00
  • 8c9bd632ba Remove confusing optimization default. gnatdist does not generate a -O command line flag anymore for gnatmake, it just passes on the one given by the user, if any. Thomas Quinot 2007-07-10 13:13:41 +00:00
  • 407709f890 Add test for sequence of unions. For G405-030 performance evaluation Thomas Quinot 2007-07-10 12:13:56 +00:00
  • f4e34b5453 New entry: NF-23-G405-030 Improved representation of union typecodes (2007-07-09) Thomas Quinot 2007-07-10 12:13:03 +00:00
  • 62930047fc (Marshall_From_Any): When debugging traces are enabled, display complete Any being marshalled (including its TypeCode), instead of just the TypeCode kind, to make debugging malformed typecodes easier. Thomas Quinot 2007-07-09 16:22:50 +00:00
  • 09edc5dd27 Remove an unnecessary layer of Any wrapping for the member label parameters of union TypeCodes. Fixes G405-030 Thomas Quinot 2007-07-09 14:34:34 +00:00
  • 35663f6e9e Remove obsolete file cxxcpp.m4 from MANIFEST. File removed for FC18-009 Thomas Quinot 2007-07-06 15:09:15 +00:00
  • b1756eeac0 Minor reformatting. Thomas Quinot 2007-07-06 10:09:44 +00:00
  • 4161912a99 Minor reformatting. Thomas Quinot 2007-07-06 09:10:04 +00:00
  • 947c2a8b88 Make "in out" formal parameters just "in" when they're not modified, to avoid new warnings introduced by F521-003. Thomas Quinot 2007-07-05 14:48:15 +00:00
  • 45b20cc8ef Complete implementation of CDR static marshalling in GIOP 1.2 For [G430-002] Jérôme Hugues 2007-07-03 13:12:05 +00:00
  • d65986881a Make sure that generated calls to Set_RPC_Handler_Priority are compliant with GNAT style rules, which are enforced for all children of System, including System.GARLIC.Elaboration. Fixes G703-003 Thomas Quinot 2007-07-03 12:13:54 +00:00
  • c7d312d1ba Code simplification: replace Entity_Role with boolean values. For [G430-002] Jérôme Hugues 2007-07-03 07:25:45 +00:00
  • 318b3c1e44 Propagate ch. 11215 to the User's Guide Jérôme Hugues 2007-07-02 14:33:21 +00:00
  • ae00974468 New entry: NF-23-G627-011 Remove unused libraries from polyorb-config output (2007-03-14) Thomas Quinot 2007-06-27 09:12:09 +00:00
  • 44e10840bf Update make(1) requirements: using a non-GNU make, or a version of GNU make earlier than 3.80, is not supported. Thomas Quinot 2007-06-26 16:32:50 +00:00
  • 223cea13a7 Suppress validity checks in generated Get_Aggregate_Element functions, as we need to be able to obtain a wrapper for an aggregate element even if it has an invalid representation (in order to be able to overwrite it). Thomas Quinot 2007-06-26 14:56:01 +00:00
  • 174bb17597 Use gnatmake command line switch -A instead of -I to indicate the stubs object/ALI directory (there are no sources in that directory, only objects and ALIs, so -A is really what we mean). Thomas Quinot 2007-06-25 09:34:53 +00:00
  • 365d778675 Mark PolyORB 2.2.1 as a non-wavefront tag; bump version number on branch 2.2. 2.2 Thomas Quinot 2007-06-19 09:20:30 +00:00
  • b05c77eff9 Work-around for building merged fix (from rev. 43376) with old (pre-projects) build infrastructure. Thomas Quinot 2007-06-18 17:02:47 +00:00
  • 4b034458ad Bump version number in preparation for PolyoRB stable release 2.2.1. G329-004 Thomas Quinot 2007-06-18 16:11:21 +00:00
  • ee8588ab57 Merge the following changes from HEAD: r65696 | duff | 2007-05-31 20:13:27 +0200 (Jeu, 31 mai 2007) | 5 lines r48476 | quinot | 2007-05-09 18:22:33 +0200 (Mer, 09 mai 2007) | 5 lines r45715 | hugues | 2007-05-07 13:26:06 +0200 (Lun, 07 mai 2007) | 3 lines r43563 | quinot | 2007-04-05 18:12:58 +0200 (Jeu, 05 avr 2007) | 4 lines r43499 | quinot | 2007-04-02 18:51:01 +0200 (Lun, 02 avr 2007) | 36 lines r43399 | quinot | 2007-03-28 16:10:42 +0200 (Mer, 28 mar 2007) | 11 lines r43376 | quinot | 2007-03-28 11:53:07 +0200 (Mer, 28 mar 2007) | 16 lines r43363 | quinot | 2007-03-27 15:23:50 +0200 (Mar, 27 mar 2007) | 4 lines r43353 | quinot | 2007-03-27 12:21:00 +0200 (Mar, 27 mar 2007) | 4 lines r43352 | quinot | 2007-03-27 12:19:09 +0200 (Mar, 27 mar 2007) | 3 lines r43351 | quinot | 2007-03-27 12:13:28 +0200 (Mar, 27 mar 2007) | 6 lines r43148 | quinot | 2007-03-14 18:57:28 +0100 (Mer, 14 mar 2007) | 3 lines r43088 | quinot | 2007-03-12 18:19:11 +0100 (Lun, 12 mar 2007) | 9 lines Thomas Quinot 2007-06-18 16:01:50 +00:00
  • a12f0bf638 * (polyorb-any.adb): Removed unreferenced exception name that caused a compile time warning. Bechir Zalila 2007-06-15 12:29:13 +00:00
  • 203282ea3b Add support for executable suffixes for host and target platforms. Based on a patch submitted by Bechir Zalila. Thomas Quinot 2007-06-15 11:57:45 +00:00
  • a04067f901 Remove dependency on Ada.Exceptions, since it causes preelaborability issues (Ada.Exceptions is preelaborated only in Ada 2005). Thomas Quinot 2007-06-15 09:35:42 +00:00
  • a7c8913457 Remove useless runtime entities Jérôme Hugues 2007-06-15 09:16:01 +00:00
  • 184f8ba752 Supress code set negotiation in the case of direct CDR marshalling For [G430-002] Jérôme Hugues 2007-06-15 09:15:32 +00:00
  • 6cb67fabc4 Enhance test output Jérôme Hugues 2007-06-15 09:11:18 +00:00
  • 7559a1f3a9 Remove junk pragma Inline on Is_Initialized. This removes unnecessary dependencies of all modules upon the body of PolyORB.Initialization. Thomas Quinot 2007-06-13 14:29:54 +00:00
  • 1558f1d50b * (backend-be_corba_ada-nutils.ad?, backend-be_corba_ada-nodes.idl, backend-be_corba_ada-generator.adb): Implemented the ability to generated 'not null' access types. Bechir Zalila 2007-06-13 10:15:51 +00:00
  • 69c13474ff (Image): Add exception handler. Image is used at various places for debugging purposes, and should never propagate an exception of its own. Thomas Quinot 2007-06-13 09:19:23 +00:00
  • 4e7171079e (Get_Aggregate_Element): Add explicit 'not null' constraint on anonymous access formals. Fixes G521-007, G521-008 This change adds explicit 'not null' constraints on anonymous access formals of a primitive operation of tagged type Any_Content so that the code has uniform semantics both when processed in Ada 95 mode and in Ada 2005 mode. Thomas Quinot 2007-06-12 12:46:50 +00:00
  • bc089d3046 Kill warning for unassigned formal of mode 'out' in early (error) return case. Thomas Quinot 2007-06-12 09:15:54 +00:00
  • 9764d2709c Minor comment fixes. For G610-007. Bob Duff 2007-06-10 22:30:10 +00:00
  • c0fdb580d5 Turn off new warnings about 'out' parameters not set before return. The cases in question are error cases, where apparently it is intended that the 'out' parameter not be set. Fixes G610-007. Bob Duff 2007-06-10 22:29:12 +00:00
  • e963d6c304 Properly initialize out parameters when returning in case of error. Fixes GLADE build failure. Related to D915-011 new warning. Pascal Obry 2007-06-09 08:18:12 +00:00
  • a1d4b3fe05 (Read_File): Preinitialize "out" formals to avoid warning. For D915-011 Thomas Quinot 2007-06-07 12:29:14 +00:00
  • bb832fa5c8 Add missing 'constant' keywords in testsuite. For G522-028 Jérôme Hugues 2007-06-07 12:17:19 +00:00
  • fe52901888 Add missing 'constant' keywords in testsuite. For G522-028 Jérôme Hugues 2007-06-07 12:16:07 +00:00