aboutsummaryrefslogblamecommitdiffstats
path: root/lib/ic/doc/src/notes.xml
blob: 4b73aa5509ab19c7420d8401cae3d5272968e3d3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
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
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
                                       




                                       
                                        


                                                        




                                                                      
 




                                                                              
 










                                             
















                                                                    














                                                       















                                                                   





















                                                                   

















                                                                  















                                                            

















                                                                         






















                                                                      





















                                                                   















                                                                    

















                                                                     















                                                                       















                                                               
















                                                                             
             

            















                                                                              





                                                



                                                             


                                                                   







                                                                    




              


























































































































































































































































































































































































































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

<chapter>
  <header>
    <copyright>
      <year>1998</year><year>2016</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>