<?xml version="1.0" encoding="utf-8" ?>
<!DOCTYPE chapter SYSTEM "chapter.dtd">

<chapter>
  <header>
    <copyright>
      <year>1998</year><year>2013</year>
      <holder>Ericsson AB. All Rights Reserved.</holder>
    </copyright>
    <legalnotice>
      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at
 
          http://www.apache.org/licenses/LICENSE-2.0

      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.

    </legalnotice>

    <title>IDL Compiler Release Notes</title>
    <prepared></prepared>
    <docno></docno>
    <checked></checked>
    <date>2004-04-06</date>
    <rev>AC</rev>
    <file>notes.xml</file>
  </header>

   <section><title>IC 4.4</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Change license text from Erlang Public License to Apache
	    Public License v2</p>
          <p>
	    Own Id: OTP-12845</p>
        </item>
      </list>
    </section>

</section>

<section><title>IC 4.3.6</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix compiler warnings reported by LLVM</p>
          <p>
	    Own Id: OTP-12138</p>
        </item>
      </list>
    </section>

</section>

<section><title>IC 4.3.5</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
	    <p> Added Latin-1 code directive in the generated files
	    to keep old behaviour. Updated IC so it can handle
	    Unicode characters in the path. </p>
          <p>
	    Own Id: OTP-11783</p>
        </item>
      </list>
    </section>

</section>

<section><title>IC 4.3.4</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix two small silent rules omissions. Thanks to Anthony
	    Ramine.</p>
          <p>
	    Own Id: OTP-11351</p>
        </item>
        <item>
          <p>
	    Silence warnings (Thanks to Anthony Ramine)</p>
          <p>
	    Own Id: OTP-11517</p>
        </item>
      </list>
    </section>

</section>

<section><title>IC 4.3.3</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Header and library files from ic and erl_interface are
	    now installed into usr/{include,lib}. Note that these
	    directories are unversioned, so the latest installed
	    version will be the one in the directory.</p>
          <p>
	    Own Id: OTP-11284</p>
        </item>
      </list>
    </section>

</section>

<section><title>IC 4.3.2</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fixed some compilation warnings on miscellaneous
	    platforms. Thanks to Anthony Ramine.</p>
          <p>
	    Own Id: OTP-11086</p>
        </item>
      </list>
    </section>

</section>

<section><title>IC 4.3.1</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Revert the structs <c>erlang_pid</c>, <c>erlang_port</c>
	    and <c>erlang_ref</c> as they were before R16A (without
	    <c>node_org_enc</c>) in order to be backward compatible
	    with user code that accesses the fields of these structs.</p>
          <p>
	    Own Id: OTP-10885 Aux Id: seq12256 </p>
        </item>
      </list>
    </section>

</section>

<section><title>IC 4.3</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Misc build updates</p>
          <p>
	    Own Id: OTP-10784</p>
        </item>
        <item>
          <p>
	    Adapt ic for changes in erl_interface and jinterface due
	    to utf8 atom support. This change makes ic dependent on
	    erl_interface-3.7.10 (R16) or later in order to build.</p>
          <p>
	    Own Id: OTP-10785</p>
        </item>
      </list>
    </section>

</section>

<section><title>IC 4.2.31</title>

    <section><title>Fixed Bugs and Malfunctions</title>
      <list>
        <item>
          <p>
	    Fix bug where the ic pre-processor would ignore
	    whitespace quoting.</p>
          <p>
	    Own Id: OTP-10109</p>
        </item>
        <item>
	    <p> A bug regarding spaces in C function prototypes has
	    been fixed. (Thanks to Richard O'Keefe.) </p>
          <p>
	    Own Id: OTP-10138</p>
        </item>
      </list>
    </section>

</section>

<section><title>IC 4.2.30</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
          <p>
	    Add generation of Erlang callback functions to generated
	    Erlang source code to avoid compiler warnings.</p>
          <p>
	    Own Id: OTP-9998</p>
        </item>
      </list>
    </section>

</section>

<section><title>IC 4.2.29</title>

    <section><title>Improvements and New Features</title>
      <list>
        <item>
	    <p>Erlang/OTP can now be built using parallel make if you
	    limit the number of jobs, for instance using '<c>make
	    -j6</c>' or '<c>make -j10</c>'. '<c>make -j</c>' does not
	    work at the moment because of some missing
	    dependencies.</p>
          <p>
	    Own Id: OTP-9451</p>
        </item>
      </list>
    </section>

</section>

<section>
    <title>IC 4.2.28</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>
	    Incorrect use of ets:match changed to ets:match_object.</p>
          <p>
            Own Id: OTP-9630 </p>
        </item>
      </list>
    </section>
   </section>

   <section>
    <title>IC 4.2.27</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>
            Reduced compile overhead (Thanks to Haitao Li).</p>
          <p>
            Own Id: OTP-9460 </p>
        </item>
      </list>
    </section>
   </section>

   <section>
    <title>IC 4.2.26</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>
            Partial support for recursive structs and unions. Only available
            for the erl_corba backend and requires that Light IFR is used.
            I.e. the IC option {light_ifr, true} and that Orber is configured
            in such a way that Light IFR is activated. Recursive TypeCode is
            currently not supported.</p>
          <p>
            Own Id: OTP-8868 Aux Id: seq11633</p>
        </item>
      </list>
    </section>
   </section>

   <section>
    <title>IC 4.2.25</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>
            The documentation can now be built and installed without Java.</p>
          <p>
            Own Id: OTP-8639 Aux Id:</p>
        </item>
      </list>
    </section>
   </section>

   <section>
    <title>IC 4.2.24</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>Removed superfluous VT in the documentation.</p>
          <p>Own id: OTP-8353 Aux Id:</p>
        </item>
        <item>
          <p>The option c_timeout was not correctly documented.</p>
          <p>Own id: OTP-8307 Aux Id: seq11390</p>
        </item>
        <item>
          <p>Removed superfluous backslash in the documentation.</p>
          <p>Own id: OTP-8354 Aux Id:</p>
        </item>
        <item>
          <p>The documentation EIX file was not generated.</p>
          <p>Own id: OTP-8355 Aux Id:</p>
        </item>
      </list>
    </section>
   </section>

   <section>
    <title>IC 4.2.23</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>
            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.</p>
          <p>
            Own Id: OTP-8201 Aux Id:</p>
        </item>
      </list>
    </section>
  </section>

   <section>
    <title>IC 4.2.22</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>The 64-bit version of libic was not compiled with the -fPIC flag.</p>
          <p>Own id: OTP-8088</p>
        </item>
      </list>
    </section>
  </section>

   <section>
    <title>IC 4.2.21</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>The function print_erlang_binary (oe_ei_code_erlang_binary.c)
             updated to avoid compiler warning.</p>
          <p>Own id: OTP-7982</p>
        </item>
      </list>
    </section>
  </section>

   <section>
    <title>IC 4.2.20</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>Updated file headers.</p>
          <p>Own id: OTP-7837</p>
        </item>
      </list>
    </section>
  </section>

   <section>
    <title>IC 4.2.19</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>Documentation source included in open source releases.</p>
          <p>Own id: OTP-7595</p>
        </item>
      </list>
    </section>
  </section>

   <section>
     <title>IC 4.2.18</title>

     <section>
       <title>Fixed Bugs and Malfunctions</title>
       <list type="bulleted">
         <item>
           <p>Insufficient buffer allocated when passing wide strings
	      using the C backend on a 64-bit architecture.</p>
           <p>Own Id: OTP-7313 Aux Id:</p>
         </item>
       </list>
     </section>
   </section>

   <section>
    <title>IC 4.2.17</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>Updated file headers.</p>
          <p>Own id: OTP-7011</p>
        </item>
        <item>
          <p>IC no longer use the obsolete function file:rawopen/2.</p>
          <p>Own id: OTP-7182</p>
        </item>
      </list>
    </section>
  </section>

 <section>
    <title>IC 4.2.16</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>Added links to classes inherited from Jinterface in the
             User's Guide.</p>
          <p>Own Id: OTP-6965 Aux Id: </p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>IC 4.2.15</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>If an inherited function name begun with a capital letter
             the generated stub/skeleton oe_tc/1 function was incorrect.</p>
          <p>Own Id: OTP-6855 Aux Id:</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>IC 4.2.14</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>The documentation source has been converted from SGML to XML.</p>
          <p>Own Id: OTP-6754 Aux Id: </p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>IC 4.2.13</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>Minor Makefile changes.</p>
          <p>Own Id: OTP-6701 Aux Id: </p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>IC 4.2.12</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>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.</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>IC 4.2.11</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>Changed code generation to avoid warnings such as unused
            variables.</p>
          <p>Own Id: OTP-5930 Aux Id: </p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>IC 4.2.10</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>The FD_SETSIZE limit has been increased to 2048 for
            VxWorks/PPC603.</p>
          <p>Own Id: OTP-5395 Aux Id: seq9751</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>IC 4.2.9</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>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.</p>
          <p>Own Id: OTP-5375 Aux Id: seq9740 </p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>IC 4.2.8</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>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.</p>
          <p>Own Id: OTP-5205 Aux Id: seq9241 </p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>IC 4.2.7</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>A new compiler option <c>c_report</c> has been introduced
            for C back-ends (client and server). If that option is
            set, encoding/decoding errors will be reported to
            <c>stderr</c>.</p>
          <p>Own Id: OTP-4977</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>IC 4.2.6</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>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.</p>
          <p>Own Id: OTP-5036</p>
        </item>
      </list>
    </section>

    <section>
      <title>Incompatibilities</title>
      <list type="bulleted">
        <item>
          <p>The compile option <c>multiple_be</c> is no longer supported.</p>
          <p>Own Id: OTP-5049</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>IC 4.2.5</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>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).</p>
          <p>Accordingly a new compiler option <c>{c_timeout, {SendTimeout, RecvTimeout}}</c> has been added. Timeouts
            are specified in milliseconds.</p>
          <p>A user that want to implement its own protocols with
            function timeouts has to implement the following functions.</p>
          <p>For C clients the functions <c>int PFX_send_notification(CORBA_Environment *env, unsigned int send_ms)</c>, and <c>int PFX_send_request_and_receive_reply(CORBA_Environment *env, unsigned int send_ms, unsigned int recv_ms)</c>
            have to be additionally implemented, where PFX is the
            user defined prefix.</p>
          <p>For C servers no additional functions have to be
            implemented, but a clone of the <c>int oe_server_receive_tmo(CORBA_Environment *env, oe_map_t *map, unsigned int send_ms, unsigned int recv_ms)</c>
            might be handy.</p>
          <p>Own Id: OTP-4972</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>IC 4.2.4</title>

    <section>
      <title>Improvements and new features</title>
      <list type="bulleted">
        <item>
          <p>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.             <br></br>

            For C clients it means to replace the library functions
            <c>int oe_prepare_notification_encoding(CORBA_Environment *env)</c>, <c>int oe_send_notification(CORBA_Environment *env)</c>, <c>int oe_prepare_request_encoding(CORBA_Environment *env)</c>,
            <c>int oe_send_request_and_receive_reply(CORBA_Environment *env)</c>, and <c>int oe_prepare_reply_decoding(CORBA_Environment *env)</c>,
            with functions of the same signature, but with the prefix
            "oe" replaced by a user defined prefix.
            For C servers the functions <c>int oe_prepare_request_decoding(CORBA_Environment *env)</c>,
            and <c>int oe_prepare_reply_encoding(CORBA_Environment *env)</c>, are similarly replaced.            <br></br>

            The new compiler option <c>{user_protocol, Prefix}</c> has
            been added.</p>
          <p>Own Id: OTP-4834</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>IC 4.2.3</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>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.</p>
          <p>Own Id: OTP-4881</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>IC 4.2.2</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>IDL long long and unsigned long long could not
            be used in a struct for the Java backend.</p>
          <p>All unsigned integer types for the Java backend
            had broken marshalling for large values.</p>
          <p>Own Id: OTP-4763</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>IC 4.2.1</title>

    <section>
      <title>Fixed Bugs and Malfunctions</title>
      <list type="bulleted">
        <item>
          <p>A scoping problem (IC could not find typedefs contained
            inherited interfaces) in the C-backend solved.</p>
          <p>Own Id: OTP-4758</p>
        </item>
      </list>
    </section>
  </section>

  <section>
    <title>IC 4.2</title>

    <section>
      <title>Improvements and New Features</title>
      <list type="bulleted">
        <item>
          <p>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.</p>
          <p>Own Id: OTP-4576</p>
        </item>
      </list>
    </section>
  </section>
</chapter>

