| Commit message (Collapse) | Author | Age |
... | |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
multiple exceptions, and one of the exceptions was a base of one or
more of the other exceptions, the catch blocks in the marshaling and
dispatch code were emitted in the wrong order.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- Fixed the problem of the gc test sometimes running for over three
minutes.
- Fixed race condition in printGCStats if a signal caused communicator
shutdown.
|
| |
|
|
|
|
| |
wasn't correct.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
- Removed generic stream interface Ice::Stream and ice_marshal functions.
- Removed XML stream implementation and related test.
- Removed XML transformer and related test.
- Removed slice2xsd.
- Added C++ wrapper for the expat XML parser in IceXML::Parser.
- Removed XML encoding from Freeze.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
6 because VC .NET has fixed it.
Got rid of incorrect comment about "<:" character sequence: that's not a
compiler bug but a digraph. "<:" is the same as "[" according to the
ISO C++ standard.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Zero-length sequence containing class elements caused an crash.)
:Ice::Object). Obviously, this would cause an assertion failure or a
{{{ClassCastException}}}. The solution is simply to force the down-cast
in the generated patch function and to check whether the cast failed:
if so, the class was sliced too much and we throw a
{{{NoObjectFactoryException}}} as we should. (For Java, the exception
is thrown from {{{BasicStream.readObject}}}, after catching a
{{{ClassCastException}}}. For C++, the exception is thrown directly
from the generated patch function.)
:Ice::Object}}} and {{{::Printer}}}.
Updated the code generator to correctly initialize the {{{type}}} member of
a {{{NoObjectFactoryException}}} with the type ID of the type that
wasn't found. (Unfortunately, this involved modifying {{{Parser.h}}},
so you will have to rebuild both ice and icej.)
Added code generation for custom sequence types for icej. Generated code
compiles and looks OK, but I haven't written tests yet, so there may
still be a latent bug in this.
|
|
|
|
|
|
|
|
| |
(Java) to bring the two implementations more in line with each other.
Added a missing newline to the C++ generated code for AMI.
Added an ["ami"] directive to the slicing test for classes to force code
generation for AMI. This ensures that the code is actually generated
and compiled.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
that the allocated vector cannot move in memory during unmarshaling not
only for sequence elements that are classes, but also for sequence
elements that (recursively) contain class members.
The code now unconditionally preallocates the vector, regardless of the
element type of the sequence.
|
|
|
|
|
|
|
|
|
| |
- Added more support for Java slicing.
- Changed config/Make.rules: "make depend" was calling slice2cpp with
ICECPPFLAGS, not SLICE2CPPFLAGS. This meant that "make depend" was
invoking slice2cpp with options that were potentially different from
those passed for normal compilation of slice files, which could lead to
inconsistencies.
|