11935 Commits

Author SHA1 Message Date
Thomas Quinot
bedf656d21 Remove SSLv2 support altogether
This protocol is ancient, insecure, obsolete, and deprecated.

For QB24-032

(cherry picked from commit fc5ff43700)
2018-03-19 11:46:52 -04:00
Thomas Quinot
0b2faa3810 Provide SSLv2_*_method stub only if missing from libssl
Previously these functions were not present in libssl if it was
built without SSLv2, which is indicated by the presence of macro
OPENSSL_NO_SSL2.

However, OpenSSL commit 03c71b84d351a3a5de0bc7d39a99336369277849
changed this to always expose these functions even when building
without SSLv2 (unless OPENSSL_NO_SSL2_METHOD is defined).

So, we need to actually test for the presence of these functions
to determine whether we need to provide our own stubs.

Fix for QB24-032

(cherry picked from commit 4536bb780c)
2018-03-19 11:46:10 -04:00
Thomas Quinot
9280741bab Bump version for branch 18.2 2018-03-08 10:24:14 +01:00
Thomas Quinot
9bfef314c6 Create branch for PolyORB 18.1
QA19-083

Subversion-branch: /branches/polyorb/18.1
Subversion-revision: 258448
2017-10-20 08:05:31 +00:00
Thomas Quinot
e8f3a76406 Bump versions for PolyORB 18.0
QA03-042

Subversion-branch: /branches/polyorb/18.0
Subversion-revision: 258186
2017-10-09 08:44:33 +00:00
Bob Duff
64656024e2 fix warnings, no-tn-check
Subversion-branch: /trunk/polyorb
Subversion-revision: 257789
2017-09-18 20:51:56 +00:00
squirek
aa8c9b0259 Remove ineffective use clauses as per PA07-083 and disable some checks
for
unused entities (-gnatwu) due to generated code violating this warning.

Subversion-branch: /trunk/polyorb
Subversion-revision: 257360
2017-08-29 15:13:55 +00:00
Bob Duff
eac8338f79 The IDL-to-Ada compiler iac now ignores pragma javaPackage, as requested
by a customer. This is a convenience for those also using idlj
(idl-to-java), because idlj recognizes that pragma.

Fixes Q621-023

Subversion-branch: /trunk/polyorb
Subversion-revision: 257245
2017-08-11 21:00:17 +00:00
Thomas Quinot
f6b1d049af Remove unnecessary use-type and use-package clauses
These redundant clauses will be flagged by the compiler in the near
future (PA07-083).

Q725-034

Subversion-branch: /trunk/polyorb
Subversion-revision: 257110
2017-08-02 08:40:59 +00:00
Bob Duff
fa0a813d79 * src/polyorb-buffers.adb:
Fix computation of Remainder in case Count > 0.
Add an abort completion point just in case this is
being called from an asynchronous transfer of control
to implement a time-out.

Fixes Q530-002

Subversion-branch: /trunk/polyorb
Subversion-revision: 256328
2017-06-08 16:33:52 +00:00
Bob Duff
dd9dc244dd * src/dsa/s-parint.adb:
Use Ada.Containers.Indefinite_Ordered_Maps instead of the perfect
hashing, to avoid an infinite loop in the rehashing algorithm.

Fixes Q303-003

Subversion-branch: /trunk/polyorb
Subversion-revision: 255972
2017-05-23 19:01:01 +00:00
Thomas Quinot
50d8c7118f (Compile): Do not attempt to normalize relative source file names
"gnat ls" used to provide full path to source files, but now instead
gives base names. This is fine because project files provide all the
information "gnat compile" needs to locate Ada source files. Gnatdist
should therefore not attempt to normalize such relative paths into
absolute ones (especially considering that it does not have visibility
on appropriate project attributes).

Fixes Q502-027 (residual regression on L521-016)

Subversion-branch: /trunk/polyorb
Subversion-revision: 255680
2017-05-09 15:22:29 +00:00
Thomas Quinot
11cea37a26 Remove unnecessary duplicated code blocks
One suspicious case remains in
compilers/iac/backend-be_corba_ada-common.adb.

Q210-015

Subversion-branch: /trunk/polyorb
Subversion-revision: 254360
2017-02-10 19:54:47 +00:00
Thomas Quinot
14c9fa977c Fix handling of address and port parameters for tagged components
Found by automated code inspection (Q209-012)

Subversion-branch: /trunk/polyorb
Subversion-revision: 254341
2017-02-09 20:18:45 +00:00
Thomas Quinot
55731fc5b2 Remove redundant checks against NULL
These pointers have just been dereferenced

Q208-020

Subversion-branch: /trunk/polyorb
Subversion-revision: 254323
2017-02-08 15:39:02 +00:00
Thomas Quinot
52507b506b Do not add EXE_EXT if already present
Followup on Q109-007 fix for Windows case

Subversion-branch: /trunk/polyorb
Subversion-revision: 253643
2017-01-15 16:29:26 +00:00
Thomas Quinot
dc8bd11ba9 Import config.py from testsuite build directory
Followup on Q109-007

Subversion-branch: /trunk/polyorb
Subversion-revision: 253622
2017-01-13 14:59:26 +00:00
Thomas Quinot
8e9847226a Add file missing from Q109-007 checkin
Subversion-branch: /trunk/polyorb
Subversion-revision: 253598
2017-01-12 15:35:48 +00:00
Thomas Quinot
90e1ea09e0 When testing using an installed version of PolyORB, use PATH to locate
the po_cos_naming server.

Fixes Q109-007 regression introduced by change for PC21-019

Subversion-branch: /trunk/polyorb
Subversion-revision: 253574
2017-01-11 15:45:31 +00:00
Thomas Quinot
a226e64779 Adjust after improvement to tagged types freezing warnings
Fixup after PB09-031 compiler change

Subversion-branch: /trunk/polyorb
Subversion-revision: 253268
2016-12-21 18:09:24 +00:00
Thomas Quinot
6ca81d9f06 Add note about testsuite dependency on gnatpython
PB24-024

Subversion-branch: /trunk/polyorb
Subversion-revision: 252702
2016-11-29 16:25:36 +00:00
Thomas Quinot
d5d2eaf320 Add more information to exception message for RCI version mismatch
For PA26-008

Subversion-branch: /trunk/polyorb
Subversion-revision: 252116
2016-10-28 18:31:38 +00:00
Vassiliy Fofanov
9d70b883f7 Remove kp/nf files - moved to impactdb. PA05-043
Subversion-branch: /trunk/polyorb
Subversion-revision: 251838
2016-10-20 16:08:19 +00:00
Thomas Quinot
6752a59773 Bump version after cutting 17.0 branch
PA07-028

Subversion-branch: /trunk/polyorb
Subversion-revision: 251672
2016-10-07 17:21:24 +00:00
Thomas Quinot
8112d0c69c (Initialize_Routine): Fix reference to wrong TypeCode object
For an interface, we generate two typecode objects: one in
the enclosing scope, and one in the interface's own scope.
When initializing the object in the enclosing scope, do not
erroneously reference that in the interface scope.

Fixes P921-037

Subversion-branch: /trunk/polyorb
Subversion-revision: 251246
2016-09-21 20:29:37 +00:00