Annotation of books/www/corrections.html, revision 1.33

1.1       david       1: <p><b>Corrections</b>
                      2: 
1.21      david       3: <p>This page contains a list of corrections to be made in the next printing of
1.19      david       4: the book.  If you have suggestions for changes or find errors in the text,
1.22      david       5: feel free open a <a href="bugs.html">bug</a> with a report of the problem, post a message in the User Notes 
                      6: section on the chapter pages, or send a message to the <a
1.19      david       7: href="mailto:reviewers@mozdev.org">reviewers@mozdev.org</a> mailing list.
1.1       david       8: 
1.20      david       9: 
                     10: <a name="preface">
                     11: <p><b>Preface</b>
                     12: 
1.1       david      13: <ul>
1.18      david      14: 
                     15: <li>In Preface (p xiv) 'http://www.oreilly.com/mozilla/' has been changed
                     16: to 'http://www.oreilly.com/catalog/mozilla/'<br><br>
                     17: 
1.20      david      18: </ul>
                     19: 
                     20: 
                     21: <a name="ch1">
                     22: <p><b>Chapter 1</b>
                     23: 
                     24: <ul>
                     25: 
1.18      david      26: <li>In Chapter 1 (p 7) 'applications web built using XPFE' has been
                     27: changed to 'applications built using XPFE'<br><br>
                     28: 
1.20      david      29: </ul>
                     30: 
                     31: 
                     32: <a name="ch2">
                     33: <p><b>Chapter 2</b>
                     34: 
                     35: <ul>
                     36: 
1.18      david      37: <li>In Chapter 2 (p 12) '&lt;window
                     38: xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"  
                     39: /&gt;' has been changed to '&lt;window
                     40: xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"&gt;'<br><br>
                     41: 
                     42: <li>In Chapter 2 (p 14) Removed an extra '>' from example code<br><br>
                     43: 
                     44: <li>In Chapter 2 (p 17) 'selecting File > Open File > from' has been
                     45: changed to 'selecting File > Open File from'<br><br>
                     46: 
                     47: <li>In Chapter 2 (p 20) 'CenterWindoOnScreen( ) function' has been changed
                     48: to 'CenterWindowOnScreen( ) function'<br><br>
1.19      david      49: 
1.20      david      50: </ul>
                     51: 
                     52: 
                     53: <a name="ch3">
                     54: <p><b>Chapter 3</b>
                     55: 
                     56: <ul>
                     57: 
1.19      david      58: <li>In Chapter 3 (p 40) '&lt;toolbarbutton id="printBtn" label="Open"
                     59: oncommand="doPrint( );" /&gt' has been changed to '&lt;toolbarbutton
                     60: id="printBtn" label="Print" oncommand="doPrint( );" &gt'<br><br>
1.18      david      61: 
1.20      david      62: </ul>
                     63: 
1.26      petejc     64: <a name="ch5">
                     65: <p><b>Chapter 5</b>
                     66: 
                     67: <ul>
1.29      petejc     68:   <li>(p 113) 
                     69:     <xmp>
                     70:       Changed footnote link to
                     71:         http://developer.netscape.com/docs/manuals/index.html?content=javascript.html
                     72:     </xmp>
                     73:   </li>
1.30      petejc     74:   <li>(p 120) 
1.26      petejc     75:     <xmp>
                     76:       dump(l+'\n');
1.27      petejc     77:     has been changed to
                     78:       dump(len+'\n');
1.26      petejc     79:     </xmp>
1.27      petejc     80:   </li>
                     81:   <li>(p 137) 
                     82:     <xmp>
                     83:       var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"; // create an object from the nsILDAPConnection interface;
1.26      petejc     84:     has been changed to
1.27      petejc     85:       var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"]; // create an object from the nsILDAPConnection interface;
1.26      petejc     86:     </xmp>
                     87:   </li>
1.31      petejc     88:   <li>(p 140) 
                     89:     <xmp>
                     90:        Changed load(`chrome/jslib/jslib.js');
                     91:        To load('chrome/jslib/jslib.js');
                     92:     </xmp>
                     93:   </li>
1.26      petejc     94: </ul>
                     95: 
1.24      petejc     96: <a name="ch08">
                     97: <p><b>Chapter 8</b>
                     98: 
                     99: <ul>
1.33    ! petejc    100: <li>(p 222) Example 8-4
        !           101:   <code>mName: "a default value"</code> should be <code>mName: "a default value",</code>
        !           102: </li>
        !           103: <li>(p 222) Example 8-4
        !           104:             <xmp>            
        !           105:               this.myCID,
        !           106:               "My JS Component",
        !           107:               this.myProgID, fileSpec,
        !           108:               location, true, true,
        !           109:               type);
        !           110:             </xmp>            
        !           111:             Should be
        !           112:             <xmp>            
        !           113:               compMgr.registerComponentWithType(
        !           114:               this.myCID,
        !           115:               "My JS Component",
        !           116:               this.myProgID, fileSpec,
        !           117:               location, true, true,
        !           118:               type);
        !           119:             </xmp>            
1.32      petejc    120: </li>
                    121: <li>(p 239) Example 8-15 has been changed to <br/>
1.25      petejc    122: 
                    123: <xmp>
1.24      petejc    124: DEPTH         = ../../..
                    125: topsrcdir     = ../../..
                    126: srcdir        = .
                    127: VPATH         = .
                    128: 
                    129: include $(DEPTH)/config/autoconf.mk
                    130: 
                    131: MODULE        = xpcom
                    132: XPIDL_MODULE  = simple
                    133: LIBRARY_NAME  = simple
                    134: IS_COMPONENT  = 1
                    135: MODULE_NAME   = nsSimpleModule
                    136: REQUIRES      = string \
                    137:                 xpcom \
                    138:                 $(NULL)
                    139: 
                    140: 
                    141: CPPSRCS   =              \
                    142:     nsSimple.cpp         \
                    143:     nsSimpleModule.cpp   \
                    144:     $(NULL)
                    145: 
                    146: XPIDLSRCS = nsISimple.idl
                    147: 
                    148: include $(topsrcdir)/config/config.mk
                    149: 
                    150: LIBS    +=        \
                    151:     $(XPCOM_LIBS) \
                    152:     $(NSPR_LIBS)  \
                    153:     $(NULL)
                    154: 
                    155: include $(topsrcdir)/config/rules.mk
                    156: 
                    157: EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
                    158: 
                    159: install:: $(TARGETS)
1.25      petejc    160: </xmp>
1.24      petejc    161: </li>
                    162: 
                    163: </ul>
                    164: 
1.20      david     165: 
                    166: <a name="ch10">
                    167: <p><b>Chapter 10</b>
                    168: 
                    169: <ul>
1.18      david     170: <li>In Chapter 10 (p 297) 'http://www.jslib.mozdev.org' has been changed
1.24      petejc    171: to 'http://jslib.mozdev.org'<br><br></li>
1.20      david     172: </ul>
                    173: 
                    174: 
                    175: <a name="ch12">
                    176: <p><b>Chapter 12</b>
                    177: 
                    178: <ul>
                    179: 
1.18      david     180: <li>In Chapter 12 (p 339) A new 'Certificate Authorities and Digital
                    181: Signatures' section is being written with drafts available on <a
                    182: href="http://certs.mozdev.org">http://certs.mozdev.org</a><br><br>
1.20      david     183: 
                    184: </ul>
                    185: 
                    186: 
                    187: <a name="appa">
                    188: <p><b>Appendix A</b>
                    189: 
                    190: <ul>
1.18      david     191: 
                    192: <li>In Appendix A (p 365) 'http://www.mozilla.org/source.tml' has been
                    193: changed to 'http://www.mozilla.org/source.html'<br><br>
                    194: 
1.1       david     195: </ul>
1.2       david     196: 
1.3       david     197: <br><br>
                    198: 
1.23      petejc    199: <!-- ?php require(NOTES); ? -->
                    200: <?php $post_to_list=NO; $author='reviewers@mozdev.org'; $target_page='corrections'; require(NOTES); ?>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>