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

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

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