aboutsummaryrefslogblamecommitdiffstats
path: root/lib/ic/doc/src/notes.xml
blob: 45ba23305174f2c8ca2ea5565685a63ae4cf3db8 (plain) (tree)
1
2
3
4
5
6
7
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506





                                        
                                        

























                                                                            



































                                                                              





                                                



                                                             


                                                                   







                                                                    




              


























































































































































































































































































































































































































                                                                                                                                                                                                                                              
<?xml version="1.0" encoding="latin1" ?>
<!DOCTYPE chapter SYSTEM "chapter.dtd">

<chapter>
  <header>
    <copyright>
      <year>1998</year><year>2010</year>
      <holder>Ericsson AB. All Rights Reserved.</holder>
    </copyright>
    <legalnotice>
      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.
    
    </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.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>