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

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

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