3695 Commits

Author SHA1 Message Date
Thomas Quinot
52537d7483 Do not pass -gnatec to the builder
This is not a valid compiler flag for C sources. Instead copy
user-provided
configuration pragmas to src/config.adc.

Fixes O807-004

Subversion-branch: /trunk/polyorb
Subversion-revision: 240737
2015-08-07 09:19:33 +00:00
Thomas Quinot
a382126aae Minor reformatting
Subversion-branch: /trunk/polyorb
Subversion-revision: 239158
2015-05-29 12:37:15 +00:00
Bob Duff
00bc14c1bc Parse new Exception_Information format.
O515-019

Subversion-branch: /trunk/polyorb
Subversion-revision: 238734
2015-05-15 20:52:22 +00:00
Thomas Quinot
967bc06ce8 (PolyORB.Parameters.Static.Parameters): Set high bound to Positive'Last
to
prevent compiler from optimizing away a loop on array elements.

Fixes O415-015

Subversion-branch: /trunk/polyorb
Subversion-revision: 238267
2015-04-28 08:47:46 +00:00
Thomas Quinot
01021439af (Raise_User_Exception_From_Any): Defend against case of
Find_Exception_Info returning null (raise Program_Error instead
of causing a Storage_Error).
Followup on changes for O401-031, O213-032

Subversion-branch: /trunk/polyorb
Subversion-revision: 237731
2015-04-01 16:14:20 +00:00
Thomas Quinot
cb5b3edbff (Find_Exception_Info): Add missing "return null" when exception is not
found

Fixes O401-031
Regression introduced by change for O213-032

Subversion-branch: /trunk/polyorb
Subversion-revision: 237730
2015-04-01 15:59:28 +00:00
Thomas Quinot
e4f76382cd When unmarshalling a user exception that is not part of the list
expected for the operation, fall back to looking up in the list of
all registered exceptions.

Fixes O213-032

Subversion-branch: /trunk/polyorb
Subversion-revision: 236449
2015-02-16 12:17:28 +00:00
Thomas Quinot
6702d64b81 Do not use Interfaces.C.Pointers for Stream_Element_Arrays, as the index
subtype is larger than Interfaces.C.ptrdiff_t on x86-linux

Fix for O120-014

Subversion-branch: /trunk/polyorb
Subversion-revision: 235542
2015-01-20 15:58:54 +00:00
Thomas Quinot
1e26f3844e (Extract_Data): Minor optimization (bypass costly computation in common
case)

Subversion-branch: /trunk/polyorb
Subversion-revision: 233919
2014-11-04 17:35:07 +00:00
Thomas Quinot
3186c117a4 (Release_Then_Wait): Avoid unnecessary conversion to named access type
that might cause an accessibility violation in code for concurrent
name server lookups introduced for M313-015 (the mutex passed to Wait
is a *scope lock*, hence a local object).

Subversion-branch: /trunk/polyorb
Subversion-revision: 233891
2014-11-03 18:17:43 +00:00
Thomas Quinot
47c5c2f4d0 Enable fast path marshalling for nested arrays
NA13-008

Subversion-branch: /trunk/polyorb
Subversion-revision: 233171
2014-10-13 12:59:03 +00:00
Thomas Quinot
a7cb672044 (PolyORB.Any.ExceptionList.Ref): Add missing Finalize primitive
This change adds a previously missing deallocation routine in order
to fix a per-call memory leak in CORBA calling stubs.

Fixes NA07-004

Subversion-branch: /trunk/polyorb
Subversion-revision: 232972
2014-10-07 12:31:37 +00:00
Thomas Quinot
b2b7b47229 Minor reformatting
Subversion-branch: /trunk/polyorb
Subversion-revision: 232968
2014-10-07 12:08:54 +00:00
Thomas Quinot
0b54b46942 Fix typo in previous checkin
Subversion-branch: /trunk/polyorb
Subversion-revision: 232861
2014-10-02 18:15:56 +00:00
Thomas Quinot
39672c1094 Update comments
Subversion-branch: /trunk/polyorb
Subversion-revision: 232856
2014-10-02 15:50:17 +00:00
Thomas Quinot
c3be641064 Better debugging traces
Subversion-branch: /trunk/polyorb
Subversion-revision: 232855
2014-10-02 15:49:30 +00:00
Thomas Quinot
6df169dbdb Remove duplicated pragmas Ada_2005
Subversion-branch: /trunk/polyorb
Subversion-revision: 229833
2014-07-01 11:51:01 +00:00
Thomas Quinot
b11d35d881 More accessibility fixes after change for MC03-013
Subversion-branch: /trunk/polyorb
Subversion-revision: 226475
2014-04-18 14:48:07 +00:00
Thomas Quinot
5cdd4f1068 Fix accessibility check failure after fix for MC03-013
Subversion-branch: /trunk/polyorb
Subversion-revision: 226297
2014-04-16 13:01:49 +00:00
Thomas Quinot
3fd52d6b73 Improve abort safety of ORB core by making Task_Witness use a proper
Scope_Lock, and deferring abortion in parts of the ORB critical section
that are not managed using a Scope_Lock

Tentative fix for MC03-013

Subversion-branch: /trunk/polyorb
Subversion-revision: 223932
2014-02-28 17:59:28 +00:00
Thomas Quinot
20a0524fad Fix minor typo in comment
Subversion-branch: /trunk/polyorb
Subversion-revision: 223645
2014-02-20 15:45:24 +00:00
Bob Duff
b63c10e2bb Minor: Put spaces around binary operators. Needed to avoid new compiler
warnings.
N216-004

Subversion-branch: /trunk/polyorb
Subversion-revision: 223532
2014-02-18 23:12:33 +00:00
Thomas Quinot
41d62073df Document possible performance improvement for union typecodes with
integer discriminant with sufficiently small range.

G410-007

Subversion-branch: /trunk/polyorb
Subversion-revision: 223135
2014-02-10 10:36:25 +00:00
Thomas Quinot
448ab77d28 Minor comment clarifications
Subversion-branch: /trunk/polyorb
Subversion-revision: 221838
2014-01-13 10:41:23 +00:00
Thomas Quinot
5d730efc24 Minor reformatting
Subversion-branch: /trunk/polyorb
Subversion-revision: 221791
2014-01-10 14:48:32 +00:00