1998 2010 Ericsson AB. All Rights Reserved.
The contents of this file are subject to the Erlang Public License, Version 1.1, (the "License"); you may not use this file except in compliance with the License. You should have received a copy of the Erlang Public License along with this software. If not, it can be retrieved online at http://www.erlang.org/. Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.

IDL Compiler Release Notes

2004-04-06
AC notes.xml

## IC 4.2.25

### Improvements and New Features

The documentation can now be built and installed without Java.

Own Id: OTP-8639 Aux Id:

## IC 4.2.24

### Fixed Bugs and Malfunctions

Removed superfluous VT in the documentation.

Own id: OTP-8353 Aux Id:

The option c_timeout was not correctly documented.

Own id: OTP-8307 Aux Id: seq11390

Removed superfluous backslash in the documentation.

Own id: OTP-8354 Aux Id:

The documentation EIX file was not generated.

Own id: OTP-8355 Aux Id:

## IC 4.2.23

### Improvements and New Features

The documentation is now built with open source tools (xsltproc and fop) that exists on most platforms. One visible change is that the frames are removed.

Own Id: OTP-8201 Aux Id:

## IC 4.2.22

### Fixed Bugs and Malfunctions

The 64-bit version of libic was not compiled with the -fPIC flag.

Own id: OTP-8088

## IC 4.2.21

### Fixed Bugs and Malfunctions

The function print_erlang_binary (oe_ei_code_erlang_binary.c) updated to avoid compiler warning.

Own id: OTP-7982

## IC 4.2.20

### Improvements and New Features

Updated file headers.

Own id: OTP-7837

## IC 4.2.19

### Improvements and New Features

Documentation source included in open source releases.

Own id: OTP-7595

## IC 4.2.18

### Fixed Bugs and Malfunctions

Insufficient buffer allocated when passing wide strings using the C backend on a 64-bit architecture.

Own Id: OTP-7313 Aux Id:

## IC 4.2.17

### Improvements and New Features

Updated file headers.

Own id: OTP-7011

IC no longer use the obsolete function file:rawopen/2.

Own id: OTP-7182

## IC 4.2.16

### Improvements and New Features

Added links to classes inherited from Jinterface in the User's Guide.

Own Id: OTP-6965 Aux Id:

## IC 4.2.15

### Fixed Bugs and Malfunctions

If an inherited function name begun with a capital letter the generated stub/skeleton oe_tc/1 function was incorrect.

Own Id: OTP-6855 Aux Id:

## IC 4.2.14

### Improvements and New Features

The documentation source has been converted from SGML to XML.

Own Id: OTP-6754 Aux Id:

## IC 4.2.13

### Improvements and New Features

Minor Makefile changes.

Own Id: OTP-6701 Aux Id:

## IC 4.2.12

### Improvements and New Features

Dead code was deleted from the following modules: ic_cclient, ic_code, ic_cserver, ic_erlbe, ic_java_type, ic_noc, ic_plainbe, ic_pp, ic_pragma, icscan, icstruct, ictype, icunion.

## IC 4.2.11

### Improvements and New Features

Changed code generation to avoid warnings such as unused variables.

Own Id: OTP-5930 Aux Id:

## IC 4.2.10

### Fixed Bugs and Malfunctions

The FD_SETSIZE limit has been increased to 2048 for VxWorks/PPC603.

Own Id: OTP-5395 Aux Id: seq9751

## IC 4.2.9

### Fixed Bugs and Malfunctions

In C back-ends, the compiler crashed when generating C code for error reports when a scoped name was used as a type in a union.

Own Id: OTP-5375 Aux Id: seq9740

## IC 4.2.8

### Fixed Bugs and Malfunctions

In C back-ends, when decoding a sequence of "small" integers, which from Erlang is sent as a string (i.e. each element between 0 and 255), each string element was considered to be of signed character type. Each such element is now correctly treated as an unsigned character type.

Own Id: OTP-5205 Aux Id: seq9241

## IC 4.2.7

### Improvements and New Features

A new compiler option c_report has been introduced for C back-ends (client and server). If that option is set, encoding/decoding errors will be reported to stderr.

Own Id: OTP-4977

## IC 4.2.6

### Improvements and New Features

The size of modules, used then registering data in the IFR DB (e.g., oe_MyModule:oe_register()), can be minimized if the compile option light_ifr is used and Orber is configured to use Light IFR. Requires that orber-3.5.1, or later, is used.

Own Id: OTP-5036

### Incompatibilities

The compile option multiple_be is no longer supported.

Own Id: OTP-5049

## IC 4.2.5

### Improvements and New Features

Send and receive functions with timeouts have been added to the C back-ends for the standard protocol (i.e. Erlang distribution + gen_server protocol).

Accordingly a new compiler option {c_timeout, {SendTimeout, RecvTimeout}} has been added. Timeouts are specified in milliseconds.

A user that want to implement its own protocols with function timeouts has to implement the following functions.

For C clients the functions int PFX_send_notification(CORBA_Environment *env, unsigned int send_ms), and int PFX_send_request_and_receive_reply(CORBA_Environment *env, unsigned int send_ms, unsigned int recv_ms) have to be additionally implemented, where PFX is the user defined prefix.

For C servers no additional functions have to be implemented, but a clone of the int oe_server_receive_tmo(CORBA_Environment *env, oe_map_t *map, unsigned int send_ms, unsigned int recv_ms) might be handy.

Own Id: OTP-4972

## IC 4.2.4

### Improvements and new features

The C back-ends has been opened up, so that a user can define his own protocol, differing from the Erlang distribution + gen_server protocol.
For C clients it means to replace the library functions int oe_prepare_notification_encoding(CORBA_Environment *env), int oe_send_notification(CORBA_Environment *env), int oe_prepare_request_encoding(CORBA_Environment *env), int oe_send_request_and_receive_reply(CORBA_Environment *env), and int oe_prepare_reply_decoding(CORBA_Environment *env), with functions of the same signature, but with the prefix "oe" replaced by a user defined prefix. For C servers the functions int oe_prepare_request_decoding(CORBA_Environment *env), and int oe_prepare_reply_encoding(CORBA_Environment *env), are similarly replaced.
The new compiler option {user_protocol, Prefix} has been added.

Own Id: OTP-4834

## IC 4.2.3

### Fixed Bugs and Malfunctions

In generated code for the C server back-end, the naming scope was in error for prototypes in C header files for interfaces inheriting base interfaces.

Own Id: OTP-4881

## IC 4.2.2

### Fixed Bugs and Malfunctions

IDL long long and unsigned long long could not be used in a struct for the Java backend.

All unsigned integer types for the Java backend had broken marshalling for large values.

Own Id: OTP-4763

## IC 4.2.1

### Fixed Bugs and Malfunctions

A scoping problem (IC could not find typedefs contained inherited interfaces) in the C-backend solved.

Own Id: OTP-4758

## IC 4.2

### Improvements and New Features

The CORBA stub/skeleton-files generated by IC have been improved, i.e., depending on the IDL-files, reduced the size of the erl- and beam-files and decreased dependencies off Orber's Interface Repository. It is necessary to re-compile all IDL-files and use COS-applications, including Orber, compiled with IC-4.2.

Own Id: OTP-4576