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

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.54      david      63: <li>On page 40: '<b class="broken">&lt;toolbarbutton id="printBtn" label="Open"
                     64: oncommand="doPrint( );" /&gt</b>' has been changed to '<b class="fixed">&lt;toolbarbutton
                     65: id="printBtn" label="Print" oncommand="doPrint( );" &gt</b>'<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 
1.54      david      75: '<b class="broken">http://developer.netscape.com/docs/manuals/js/core/jsref15/contents.html</b>' to
                     76: '<b class="fixed">http://developer.netscape.com/docs/manuals/index.html?content=javascript.html</b>'<br><br>
1.40      david      77: 
1.54      david      78: <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      79: 
1.54      david      80: <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      81: 
1.54      david      82: <li>On page 137: '<b class="broken">var connection = Components.classes ["@mozilla.org/network/ldap-connection;1";</b>' has been changed to 
                     83: '<b class="fixed">var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"];</b>'<br><br>
1.43      david      84: 
1.54      david      85: <li>On page 140: '<b class="broken">js> load(`chrome/jslib/jslib.js');</b>' has been changed to '<b class="fixed">js>
                     86: load('chrome/jslib/jslib.js');</b>'<br><br>
1.43      david      87: 
1.26      petejc     88: </ul>
                     89: 
1.24      petejc     90: <a name="ch08">
                     91: <p><b>Chapter 8</b>
                     92: 
                     93: <ul>
1.44      david      94: 
1.54      david      95: <li>On page 211: In 2nd sentence of paragraph '<b class="broken">QueryInterace</b>' has been changed to '<b 
                     96: class="fixed">QueryInterface</b>'<br><br>
1.44      david      97: 
1.54      david      98: <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 
                     99: value",</b>'<br><br>
1.44      david     100: 
1.47      david     101: <li>On page 222: In Example 8-4
1.45      david     102: 
1.54      david     103:             <xmp class="broken">
1.33      petejc    104:               this.myCID,
                    105:               "My JS Component",
                    106:               this.myProgID, fileSpec,
                    107:               location, true, true,
                    108:               type);
                    109:             </xmp>            
1.45      david     110: 
1.47      david     111: has been changed to
1.45      david     112: 
1.54      david     113:             <xmp class="fixed">            
1.33      petejc    114:               compMgr.registerComponentWithType(
                    115:               this.myCID,
                    116:               "My JS Component",
                    117:               this.myProgID, fileSpec,
                    118:               location, true, true,
                    119:               type);
                    120:             </xmp>            
1.45      david     121: 
1.54      david     122: <li>On page 222: In Example 8-4 one of the duplicate '<b class="broken">dump(" ***** Registering: Simple JS component! ****\n");</b>' lines
                    123: has been removed<br><br>
1.45      david     124: 
1.54      david     125: <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     126: 
                    127: <li>On page 239: Example 8-15 has been changed to <br/>
1.25      petejc    128: 
1.54      david     129: <xmp class="fixed">
1.24      petejc    130: DEPTH         = ../../..
                    131: topsrcdir     = ../../..
                    132: srcdir        = .
                    133: VPATH         = .
                    134: 
                    135: include $(DEPTH)/config/autoconf.mk
                    136: 
                    137: MODULE        = xpcom
                    138: XPIDL_MODULE  = simple
                    139: LIBRARY_NAME  = simple
                    140: IS_COMPONENT  = 1
                    141: MODULE_NAME   = nsSimpleModule
                    142: REQUIRES      = string \
                    143:                 xpcom \
                    144:                 $(NULL)
                    145: 
                    146: 
                    147: CPPSRCS   =              \
                    148:     nsSimple.cpp         \
                    149:     nsSimpleModule.cpp   \
                    150:     $(NULL)
                    151: 
                    152: XPIDLSRCS = nsISimple.idl
                    153: 
                    154: include $(topsrcdir)/config/config.mk
                    155: 
                    156: LIBS    +=        \
                    157:     $(XPCOM_LIBS) \
                    158:     $(NSPR_LIBS)  \
                    159:     $(NULL)
                    160: 
                    161: include $(topsrcdir)/config/rules.mk
                    162: 
                    163: EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
                    164: 
                    165: install:: $(TARGETS)
1.25      petejc    166: </xmp>
1.24      petejc    167: 
                    168: </ul>
                    169: 
1.20      david     170: 
                    171: <a name="ch10">
                    172: <p><b>Chapter 10</b>
                    173: 
                    174: <ul>
1.54      david     175: <li>On page 297: '<b class="broken">http://www.jslib.mozdev.org</b>' has been changed
                    176: to '<b class="fixed">http://jslib.mozdev.org</b>'<br><br></li>
1.20      david     177: </ul>
                    178: 
                    179: 
                    180: <a name="ch12">
                    181: <p><b>Chapter 12</b>
                    182: 
                    183: <ul>
                    184: 
1.47      david     185: <li>On page 336: In Example 12-6
1.20      david     186: 
1.54      david     187: <xmp class="broken">
1.38      petejc    188:  print `  <checkbox label="%s" />' % form['op1'].value
                    189:  print `  <checkbox label="%s" />' % form['op2'].value
                    190:    print `  <checkbox label="%s" />' % form['op3'].value
1.47      david     191: </xmp>
                    192: 
1.48      david     193: has been changed to (note the difference in indentation and in using a single quote versus a backtick)
1.47      david     194: 
1.55    ! david     195: <xmp class="fixed">
1.48      david     196:    print '  <checkbox label="%s" />' % form['op1'].value
                    197:    print '  <checkbox label="%s" />' % form['op2'].value
1.38      petejc    198:    print '  <checkbox label="%s" />' % form['op3'].value
                    199: </xmp>
1.47      david     200: 
                    201: <li>On page 339: A new 'Certificate Authorities and Digital
                    202: Signatures' section is being written with drafts available on <a
                    203: href="http://certs.mozdev.org">http://certs.mozdev.org</a><br><br>
1.38      petejc    204: </li>
1.47      david     205: 
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.54      david     214: <li>On page 365: '<b class="broken">http://www.mozilla.org/source.tml</b>' has been changed to '<b
                    215: class="fixed">http://www.mozilla.org/source.html</b>'<br><br>
1.18      david     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>