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

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

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