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

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

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