Commit Graph

  • 482251e958 Protect install path with quotes on rm -rf command line. Thomas Quinot 2007-02-21 17:22:24 +00:00
  • 6316784259 Clean up old include directory prior to installing. Thomas Quinot 2007-02-21 17:21:32 +00:00
  • a0fbd55461 (Finalize): When notifying a protocol stack that it is about to be dismantled, provide a Comm_Failure_E error container so that the application layer is correctly notified of the disconnection. Previously we would provide an empty error container, which would cause Program_Error to be raised when converting the error container to an exception Any if there was any pending request on the BO being finalized. Thomas Quinot 2007-02-21 15:40:32 +00:00
  • 1cd2a03362 Output errors and diagnostics to stderr. Thomas Quinot 2007-02-21 14:14:13 +00:00
  • 311d1b774d Do not install ALI file for non-distributed compilation of polyorb-dsa_p-partitions.ali. Fix for G220-024 Thomas Quinot 2007-02-21 10:49:33 +00:00
  • dd6fd6b7d4 * (frontend-nutils.ad?, backend-be_corba_ada-buffers.adb, backend-be_corba_ada-aligned.adb, backend-be_corba_ada-common.adb, backend-be_corba_ada-cdrs.adb, backend-be_corba_ada-helpers.adb, backend-be_corba_ada-nutils.adb): Renamed Get_Original_Type into Get_Original_Type_Specifier, this function returns the IDL node corresponding to the original type specifier of a given scoped name or declarator. Bechir Zalila 2007-02-19 10:04:13 +00:00
  • 9ccebb8000 * (backend-be_corba_ada-generator.adb): Removed useless with clause. Bechir Zalila 2007-02-19 09:52:40 +00:00
  • 2eea7dbef1 (Execute_Servant): Add explicit "not null" to servant formal. Fixes G216-018 Thomas Quinot 2007-02-16 16:07:08 +00:00
  • d2fdbd4edb When generating Get_Aggregate_Element for an enum, use appropriate check identifier to disable validity checks. Thomas Quinot 2007-02-14 14:54:29 +00:00
  • a50d68e39d Move Flags.Scan_Flags to IAC.Scan_Switches so that mknodes does not depend on Backend.Be_Corba_Ada.Nodes. Thomas Quinot 2007-02-14 14:50:39 +00:00
  • db71cef27d (Write_Char): Allow LF (with the semantics of Write_Eol). Flush buffer if full. Thomas Quinot 2007-02-14 14:46:26 +00:00
  • 4d30a71c74 Implement OMG issue 5232, for [G214-008] Jérôme Hugues 2007-02-14 13:55:18 +00:00
  • 9da30fc725 Ensure that all generated Ada source files use UNIX line termination convetion (LF only). Thomas Quinot 2007-02-14 13:43:26 +00:00
  • 94a9df41e3 Minor update. Thomas Quinot 2007-02-14 13:39:58 +00:00
  • 42c5f48539 Minor reformatting. Thomas Quinot 2007-02-14 11:49:22 +00:00
  • cb1101ba72 Minor reformatting. Thomas Quinot 2007-02-14 11:46:53 +00:00
  • 4929ac4150 Add note about requirement for a C++ compiler for the CORBA application personality. Thomas Quinot 2007-02-14 09:30:39 +00:00
  • 5bb8cbbb31 Append user-provided EXTRA_GNATMAKE_FLAGS to GNATMAKE_FLAGS, as documented in PolyORB User's Guide. Thomas Quinot 2007-02-14 09:27:07 +00:00
  • 26d750064d Remove useless assignment. Thomas Quinot 2007-02-14 09:26:30 +00:00
  • d0ed2449d4 * (parser.adb): Added some comments to explain the guards against parameter type specifier and operation type spec parsing errors. Bechir Zalila 2007-02-09 21:25:00 +00:00
  • a74f82ee81 * (parser.adb): If a parsing error occurs when parsing a parameter type specifier, abort parsing the parameter declaration. This prevents IAC from crashing after a parameter type specifier parsing error. Bechir Zalila 2007-02-09 19:06:58 +00:00
  • 2b247cccc8 Preserve configure-generated setup package fragments so that config.status can still access them subsequently. Thomas Quinot 2007-02-09 11:01:20 +00:00
  • 59ed7dd2e1 Minor reformatting. Thomas Quinot 2007-02-09 10:34:51 +00:00
  • 177f532f03 Complete previous change: Set Root_Build_Dir from Config.Top_Build_Dir instead of using external reference to BUILD_DIR. Thomas Quinot 2007-02-09 10:34:38 +00:00
  • b55512f4ce Set ADA_PROJECT_PATH so that gnatmake can find the generated config.gpr. Some minor cleanup in comments and code reorganization. Thomas Quinot 2007-02-08 11:55:49 +00:00
  • 2e67ec4465 Missing file from previous checking. Check for support of -gnatyg. Thomas Quinot 2007-02-07 16:29:34 +00:00
  • a0a11cf4dd Supress RE_Object_Is_Nil as it is unused, Jérôme Hugues 2007-02-07 13:51:13 +00:00
  • f4e69543c5 Follow up to change r42328: "Change names to avoid deviating gratuitously from RM language: Subprogram_Implementation -> Subprogram_Body." Jérôme Hugues 2007-02-07 13:50:43 +00:00
  • e8b186b0e7 (support/ada.m4): Detect whether -gnatyg is available. Thomas Quinot 2007-02-07 11:54:49 +00:00
  • 6dc1161ad1 Minor reformatting. Thomas Quinot 2007-02-07 11:10:22 +00:00
  • 01f9ccdfe5 Minor reformatting. Thomas Quinot 2007-02-07 10:22:02 +00:00
  • d5e5cfb094 Fix documentation of polyorb.conf (it is read during PolyORB's initialization, not during elaboration). Thomas Quinot 2007-02-07 10:21:33 +00:00
  • 1ca7f6c1b7 Minor reformatting. Thomas Quinot 2007-02-07 09:59:00 +00:00
  • 87a76526f5 Minor reformatting to comply with GNAT style. Thomas Quinot 2007-02-06 17:55:22 +00:00
  • 4959286065 Reorganize output in case of errors Jérôme Hugues 2007-02-06 12:42:06 +00:00
  • 49776300cf (Duplicate): do deep copy of the list of policies. Jérôme Hugues 2007-02-06 12:33:28 +00:00
  • 125f970e0b Minor reformatting Jérôme Hugues 2007-02-06 12:29:32 +00:00
  • d666f0d0cf Minor reformatting. Thomas Quinot 2007-02-06 09:57:34 +00:00
  • 623a0f98ef (Release_Contents): use Is_Empty predicate instead of erroneous comparison with Null_List Jérôme Hugues 2007-02-05 16:07:29 +00:00
  • 41907afbd3 Change names to avoid deviating gratuitously from RM language: Subprogram_Implementation -> Subprogram_Body. Thomas Quinot 2007-02-05 15:30:53 +00:00
  • 52f63a5050 (libpolyorb-dsa.a): Include child units of System in the build. For EC06-003 Thomas Quinot 2007-02-05 15:12:55 +00:00
  • a88cf1da79 Make the install and clean targets aware of the COMPILERS built (which depend upon the user's selection of personalities): install and clean exactly the compilers that have been built. For EC06-003 Thomas Quinot 2007-02-03 11:25:16 +00:00
  • 98a8b58986 * (backend-be_corba_ada-idl_to_ada.adb): Do not generate the Helpers packages if only the server side code generation is requested (-s option). This avoids duplicating Helpers file in /cos/XXX and /idls/cos/XXX which causes the project file based build to fail. Bechir Zalila 2007-02-02 21:04:34 +00:00
  • df0aa122c7 When the dsa application personality is enabled, build the po_gnatdist partitioning tool. For EC06-003 Thomas Quinot 2007-02-02 13:35:42 +00:00
  • cd4afe7ff2 Add work-around for KP-504a-F517-005. Thomas Quinot 2007-02-01 18:08:28 +00:00
  • ab70b1519d Put -lssl before -lcrypto so that undefined symbols from libssl can be resolved from libcrypto. Required for HP-UX build. Thomas Quinot 2007-02-01 16:55:35 +00:00
  • f4e2151d74 Do not assume /usr/bin/install is always a proper BSD-compatible install(1) implementation. Instead, use path determined by autoconf. Thomas Quinot 2007-02-01 16:45:06 +00:00
  • 0278b21196 Minor reformatting. Thomas Quinot 2007-02-01 13:48:31 +00:00
  • 7fae2b8ea5 Mark dubious dependencies with ??? comments Thomas Quinot 2007-02-01 13:38:15 +00:00
  • b3eb4b1a84 Minor rewording of usage information. Thomas Quinot 2007-02-01 11:30:16 +00:00
  • 65c52816cc Minor reformatting. Thomas Quinot 2007-02-01 11:04:21 +00:00
  • 69593fd1aa When compiling with OpenSSL support, supply a pragma Linker_Options giving the required library search path. Thomas Quinot 2007-01-31 16:58:49 +00:00
  • 2eb54314e0 Factor identical rules for build-iac and build-mknodes. Thomas Quinot 2007-01-31 16:23:42 +00:00
  • 2be9c666ad * (Makefile.in): Added a target to build Mknodes which is necessary to generate the tree files of IAC. Bechir Zalila 2007-01-31 15:49:32 +00:00
  • 991ec80c9c Document secure echo example For G129-010 Thomas Quinot 2007-01-31 15:22:50 +00:00
  • 05d0c265ab Remove extraneous blank line. Thomas Quinot 2007-01-31 15:20:45 +00:00
  • 82b07d56e7 Add "secure echo" example. Submitted by: Vadim Godunko Reviewed by: Thomas Quinot For G129-010 Thomas Quinot 2007-01-31 15:20:24 +00:00
  • 4d330f1965 Add missing build rules for C supporting files for SSL/CSI. These must be built with the CFLAGS and CPPFLAGS positioned in configure. Thomas Quinot 2007-01-31 15:01:52 +00:00
  • 84bcc52803 (PolyORB.Utils.Socket_Access_Points): New package. Code shared between Utils.TCP_Access_Points, Utils.UDP_Access_Points and Utils.SSL_Access_Points. Thomas Quinot 2007-01-31 10:40:59 +00:00
  • 44c2b266cb Remove extraneous trailing blank line. Thomas Quinot 2007-01-31 10:34:48 +00:00
  • 4f053cc3c8 Minor cleanup. Thomas Quinot 2007-01-31 10:32:34 +00:00
  • 52ab2fa828 Portability fix: POSIX defines xargs command line switch -I, but old versions of GNU findutil implement -i. Thomas Quinot 2007-01-31 10:19:28 +00:00
  • 314b04edab Minor reformatting. Thomas Quinot 2007-01-31 10:13:55 +00:00
  • c8e411fee1 Don't touch Makefile.in (the one in the root directory) because it's now a source file. Bob Duff 2007-01-30 17:01:59 +00:00
  • 040b88d193 Correct the definition of ALL_PROJECT_FILES so that it works properly even when the build directory is different from the source directory. Bob Duff 2007-01-30 16:59:52 +00:00
  • adba9642bc Add new project file names, and delete obsolete ones. Bob Duff 2007-01-30 15:21:23 +00:00
  • f3f7818e0b Add WAG marker for missing -p gnatmake command line switch. Thomas Quinot 2007-01-30 15:01:19 +00:00
  • 4fe4aca316 Add comments. Bob Duff 2007-01-30 14:53:53 +00:00
  • f18ef5d7fc Minor reformatting. Thomas Quinot 2007-01-30 14:39:22 +00:00
  • 29932d5fda Avoid using the -p switch on gnatmake, because older versions don't support it. Instead, use .../mkdir.flag targets to mkdir the library directory (lib) and the ali directories (ali/...). Putting all the ali directories under ali, with the same names as the project files (as opposed to an ali subdirectory of each object directory), makes it easier to use static pattern rules to create the directories. Bob Duff 2007-01-30 13:57:10 +00:00
  • d084684199 Minor reformatting. Thomas Quinot 2007-01-30 13:37:49 +00:00
  • 4760512c88 Add rules to build iac and to allow selection of IDL compiler implementation through --with-idl-compiler configure switch. For EC06-003 Thomas Quinot 2007-01-30 11:17:50 +00:00
  • de60fae161 Minor reformatting (suppress extraneous blank lines) Thomas Quinot 2007-01-30 11:15:27 +00:00
  • fb1188a788 Replace spaces with tabs. Thomas Quinot 2007-01-30 11:01:56 +00:00
  • a4889df952 * (backend-be_corba_ada-helpers_internals.adb): Clone_Body: Documented the requirement for discriminated types (mapped from IDL unions) to be allocated properly. Bechir Zalila 2007-01-30 07:42:18 +00:00
  • d0e0ca452d Install new build scripts (the ones that use project files) as the "real thing", so nightly builds will use them. The new file is Makefile.in, which replaces Makefile.am. Makefile.am is renamed to Makefile.old.am, in case we want to use the old scripts; that should be deleted eventually. To use the old version, you can "mv Makefile.old Makefile" after configure generates Makefile.old. Bob Duff 2007-01-29 21:58:31 +00:00
  • 4169952d0f * (cos-naming.conf): Correceted the path to the po_cos_naming executable. Bechir Zalila 2007-01-29 19:08:47 +00:00
  • 04381d5641 * (backend-be_corba_ada-helpers_internals.adb): Clone_Body: For a union content, allocate cloned copy with the proper discriminant constraint, to ensure allocation is large enough to hold value. This fixed a memory corruprion detected in All_Types by the recent glibc. Bechir Zalila 2007-01-29 19:07:45 +00:00
  • f752335b41 Change names of .PHONY targets for invoking gnatmake on project files, to make them less confusing. Add some documentation. Bob Duff 2007-01-29 18:11:10 +00:00
  • 2f99070a9a Put XML/Ada libraries at the end of the command line, to avoid issues with shared libgnat. For G125-041 Thomas Quinot 2007-01-29 17:41:28 +00:00
  • 6d5fcb3edf (Check): Use Ada 2005 "raise ... with ..." to provide a meaningful exception message for the case of a version check failure (more consistent with Garlic version). Thomas Quinot 2007-01-29 17:40:36 +00:00
  • 5294646af2 Updated build dependencies. Thomas Quinot 2007-01-29 16:56:41 +00:00
  • 067630054d (PolyORB.Platform.SSL_Linker_Options): Provide a new common package for all units that need to link against OpenSSL. (PolyORB.SSL, PolyORB.ASN1): Add WITH clause for the above in order to get proper pragmas Linker_Options. For G129-009 Thomas Quinot 2007-01-29 16:52:28 +00:00
  • 5dbb560b94 Add po_createref. Bob Duff 2007-01-27 20:54:46 +00:00
  • 084478cadb Create all the proper libraries, depending on configure options. Bob Duff 2007-01-27 16:52:18 +00:00
  • cecee6d90f Don't hardwire in po_cos_naming and po_ir in the tools subdirectory list. Instead, we want to take the --with-corba-services switch of configure into account. Patch provided by Bechir Zalila. Bob Duff 2007-01-27 13:37:41 +00:00
  • 4d92e155ef Fix examples target to depend only on the appropriate libraries. Bob Duff 2007-01-27 13:25:40 +00:00
  • 0e405143f9 Take into account configure-time switches, such as --with-appli-perso. Bob Duff 2007-01-26 21:06:38 +00:00
  • f9523d4846 Correct library names (dash vs. underscore). Bob Duff 2007-01-26 17:30:47 +00:00
  • 419e37e2b0 Correction to revision 42104. Bob Duff 2007-01-26 11:07:39 +00:00
  • c027a453e9 Move PolyORB.If_Descriptors.CORBA_IR from cos/naming to cos/ir. Move executable programs away from libraries, into their own subdirectories of tools. The goals here are to minimize dependencies between projects, and to avoid mixing library projects with main-program projects. Both new and old build scripts are updated accordingly. Bob Duff 2007-01-25 21:24:16 +00:00
  • 036c391e21 Move PolyORB.If_Descriptors.CORBA_IR from src/corba to cos/naming. See message from hugues@adacore.com, subject "Re: [EC06-003] project files for PolyORB", of 7 Dec 2006. This change simplifies the project files. Bob Duff 2007-01-24 19:59:40 +00:00
  • ec1e8a6d56 Update after 'make depend'. Bob Duff 2007-01-24 16:10:52 +00:00
  • 83528298bc Build a library for src/dsa. Bob Duff 2007-01-23 17:47:57 +00:00
  • eefdbe55ad Use absolute path name for top_srcdir, so we can find them whether the build directory is separate or not. Bob Duff 2007-01-23 17:46:45 +00:00
  • affbc873b7 Add the build-directory version of src/dsa to the includes, so we can find the right .ali files. Fixes G122-025. Bob Duff 2007-01-22 22:00:04 +00:00
  • ca9d9024f4 Add project files to MANIFEST. Bob Duff 2007-01-21 20:30:00 +00:00
  • e52ae1f6a0 Change Common.Compiler.Build_Dir to be Common.Build_Dir. Bob Duff 2007-01-21 18:05:10 +00:00
  • 1064c7b12e Add install target (first cut). Bob Duff 2007-01-21 17:34:03 +00:00
  • 061805aace * (backend-be_corba_ada-stubs.adb): When generating Is_A procedure in the stubs, Handle correctly predefined CORBA parent interfaces. Bechir Zalila 2007-01-19 13:04:13 +00:00