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

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: 
1.39      david      15: <li>On page xiv: 'http://www.oreilly.com/mozilla/' has been changed
1.18      david      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.39      david      26: <li>On page 7: 'applications web built using XPFE' has been
1.18      david      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.39      david      37: <li>On page 12: '&lt;window
1.18      david      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: 
1.39      david      42: <li>On page 14: Removed an extra '>' from example code<br><br>
1.18      david      43: 
1.39      david      44: <li>On page 17: 'selecting File > Open File > from' has been
1.18      david      45: changed to 'selecting File > Open File from'<br><br>
                     46: 
1.39      david      47: <li>On page 20: 'CenterWindoOnScreen( ) function' has been changed
1.18      david      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.39      david      58: <li>On page 40: '&lt;toolbarbutton id="printBtn" label="Open"
1.19      david      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.40    ! david      68: 
        !            69: <li>On page 113: Javascript 1.5 reference link in footnote has been changed from 
        !            70: 'http://developer.netscape.com/docs/manuals/js/core/jsref15/contents.html' to
        !            71: 'http://developer.netscape.com/docs/manuals/index.html?content=javascript.html'<br><br>
        !            72: 
        !            73: <li>(p 120) 
1.26      petejc     74:     <xmp>
                     75:       dump(l+'\n');
1.27      petejc     76:     has been changed to
                     77:       dump(len+'\n');
1.26      petejc     78:     </xmp>
1.27      petejc     79:   </li>
                     80:   <li>(p 137) 
                     81:     <xmp>
                     82:       var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"; // create an object from the nsILDAPConnection interface;
1.26      petejc     83:     has been changed to
1.27      petejc     84:       var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"]; // create an object from the nsILDAPConnection interface;
1.26      petejc     85:     </xmp>
                     86:   </li>
1.31      petejc     87:   <li>(p 140) 
                     88:     <xmp>
                     89:        Changed load(`chrome/jslib/jslib.js');
                     90:        To load('chrome/jslib/jslib.js');
                     91:     </xmp>
                     92:   </li>
1.26      petejc     93: </ul>
                     94: 
1.24      petejc     95: <a name="ch08">
                     96: <p><b>Chapter 8</b>
                     97: 
                     98: <ul>
1.37      petejc     99: <li>(p 211) Root Interfaces<br/>
1.36      petejc    100:   Changed 2nd sentence QueryInterace to QueryInterface.
                    101: </li>
1.33      petejc    102: <li>(p 222) Example 8-4
                    103:   <code>mName: "a default value"</code> should be <code>mName: "a default value",</code>
                    104: </li>
                    105: <li>(p 222) Example 8-4
                    106:             <xmp>            
                    107:               this.myCID,
                    108:               "My JS Component",
                    109:               this.myProgID, fileSpec,
                    110:               location, true, true,
                    111:               type);
                    112:             </xmp>            
                    113:             Should be
                    114:             <xmp>            
                    115:               compMgr.registerComponentWithType(
                    116:               this.myCID,
                    117:               "My JS Component",
                    118:               this.myProgID, fileSpec,
                    119:               location, true, true,
                    120:               type);
                    121:             </xmp>            
1.32      petejc    122: </li>
1.35      petejc    123: <li>(p 222, p 223) Example 8-4
1.34      petejc    124:             <xmp>            
                    125:               Removed double lines
                    126:               dump(" ***** Registering: Simple JS component! ****\n");
                    127:               and
                    128:               if (outer != null)
                    129:             </xmp>            
                    130: </li>
1.32      petejc    131: <li>(p 239) Example 8-15 has been changed to <br/>
1.25      petejc    132: 
                    133: <xmp>
1.24      petejc    134: DEPTH         = ../../..
                    135: topsrcdir     = ../../..
                    136: srcdir        = .
                    137: VPATH         = .
                    138: 
                    139: include $(DEPTH)/config/autoconf.mk
                    140: 
                    141: MODULE        = xpcom
                    142: XPIDL_MODULE  = simple
                    143: LIBRARY_NAME  = simple
                    144: IS_COMPONENT  = 1
                    145: MODULE_NAME   = nsSimpleModule
                    146: REQUIRES      = string \
                    147:                 xpcom \
                    148:                 $(NULL)
                    149: 
                    150: 
                    151: CPPSRCS   =              \
                    152:     nsSimple.cpp         \
                    153:     nsSimpleModule.cpp   \
                    154:     $(NULL)
                    155: 
                    156: XPIDLSRCS = nsISimple.idl
                    157: 
                    158: include $(topsrcdir)/config/config.mk
                    159: 
                    160: LIBS    +=        \
                    161:     $(XPCOM_LIBS) \
                    162:     $(NSPR_LIBS)  \
                    163:     $(NULL)
                    164: 
                    165: include $(topsrcdir)/config/rules.mk
                    166: 
                    167: EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
                    168: 
                    169: install:: $(TARGETS)
1.25      petejc    170: </xmp>
1.24      petejc    171: </li>
                    172: 
                    173: </ul>
                    174: 
1.20      david     175: 
                    176: <a name="ch10">
                    177: <p><b>Chapter 10</b>
                    178: 
                    179: <ul>
1.39      david     180: <li>On page 297: 'http://www.jslib.mozdev.org' has been changed
1.24      petejc    181: to 'http://jslib.mozdev.org'<br><br></li>
1.20      david     182: </ul>
                    183: 
                    184: 
                    185: <a name="ch12">
                    186: <p><b>Chapter 12</b>
                    187: 
                    188: <ul>
                    189: 
1.39      david     190: <li>On page 339: A new 'Certificate Authorities and Digital
1.18      david     191: Signatures' section is being written with drafts available on <a
                    192: href="http://certs.mozdev.org">http://certs.mozdev.org</a><br><br>
1.38      petejc    193: </li>
1.20      david     194: 
1.38      petejc    195: <li>(p 336) Use of backtics instead of single quote.
                    196: <xmp>
                    197:  print `  <checkbox label="%s" />' % form['op1'].value
                    198:  print `  <checkbox label="%s" />' % form['op2'].value
                    199:    print `  <checkbox label="%s" />' % form['op3'].value
                    200: Should be:
                    201:  print '  <checkbox label="%s" />' % form['op1'].value
                    202:  print '  <checkbox label="%s" />' % form['op2'].value
                    203:    print '  <checkbox label="%s" />' % form['op3'].value
                    204: </xmp>
                    205: </li>
1.20      david     206: </ul>
                    207: 
                    208: 
                    209: <a name="appa">
                    210: <p><b>Appendix A</b>
                    211: 
                    212: <ul>
1.18      david     213: 
1.39      david     214: <li>On page 365: 'http://www.mozilla.org/source.tml' has been
1.18      david     215: changed to 'http://www.mozilla.org/source.html'<br><br>
                    216: 
1.1       david     217: </ul>
1.2       david     218: 
1.3       david     219: <br><br>
                    220: 
1.23      petejc    221: <!-- ?php require(NOTES); ? -->
                    222: <?php $post_to_list=NO; $author='reviewers@mozdev.org'; $target_page='corrections'; require(NOTES); ?>

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