File:  [mozdev] / books / www / corrections.html
Revision 1.56: download - view: text, annotated - select for diffs - revision graph
Wed Dec 11 16:47:10 2002 UTC (17 years, 2 months ago) by david
Branches: MAIN
CVS tags: HEAD
updating corrections

    1: <style>
    2:   .broken { color: red; }
    3:   .fixed { color: green; }
    4: </style>
    5: 
    6: <p><b>Corrections</b>
    7: 
    8: <p>This page contains a list of corrections to be made in the next printing of
    9: the book.  If you have suggestions for changes or find errors in the text,
   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
   12: href="mailto:reviewers@mozdev.org">reviewers@mozdev.org</a> mailing list.
   13: 
   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>.
   16: 
   17: <a name="preface">
   18: <p><b>Preface</b>
   19: 
   20: <ul>
   21: 
   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>
   24: 
   25: </ul>
   26: 
   27: 
   28: <a name="ch1">
   29: <p><b>Chapter 1</b>
   30: 
   31: <ul>
   32: 
   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>
   35: 
   36: </ul>
   37: 
   38: 
   39: <a name="ch2">
   40: <p><b>Chapter 2</b>
   41: 
   42: <ul>
   43: 
   44: <li>On page 12: '<b class="broken">&lt;window
   45: xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"  
   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>
   48: 
   49: <li>On page 14: Removed an extra '<b class="broken">></b>' from example code<br><br>
   50: 
   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>
   53: 
   54: <li>On page 20: '<b class="broken">CenterWindoOnScreen( ) function</b>' has been changed
   55: to '<b class="fixed">CenterWindowOnScreen( ) function</b>'<br><br>
   56: 
   57: </ul>
   58: 
   59: 
   60: <a name="ch3">
   61: <p><b>Chapter 3</b>
   62: 
   63: <ul>
   64: 
   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>
   68: 
   69: </ul>
   70: 
   71: <a name="ch5">
   72: <p><b>Chapter 5</b>
   73: 
   74: <ul>
   75: 
   76: <li>On page 113: Javascript 1.5 reference link in footnote has been changed from 
   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>
   79: 
   80: <li>On page 120: '<b class="broken">&lt;/script.</b>' has been changed to '<b class="fixed">&lt;/script&gt;</b>'<br><br>
   81: 
   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>
   83: 
   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>
   86: 
   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>
   89: 
   90: </ul>
   91: 
   92: <a name="ch08">
   93: <p><b>Chapter 8</b>
   94: 
   95: <ul>
   96: 
   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>
   99: 
  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>
  102: 
  103: <li>On page 222: In Example 8-4
  104: 
  105:             <xmp class="broken">
  106:               this.myCID,
  107:               "My JS Component",
  108:               this.myProgID, fileSpec,
  109:               location, true, true,
  110:               type);
  111:             </xmp>            
  112: 
  113: has been changed to
  114: 
  115:             <xmp class="fixed">            
  116:               compMgr.registerComponentWithType(
  117:               this.myCID,
  118:               "My JS Component",
  119:               this.myProgID, fileSpec,
  120:               location, true, true,
  121:               type);
  122:             </xmp>            
  123: 
  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>
  126: 
  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>
  128: 
  129: <li>On page 239: Example 8-15 has been changed to <br/>
  130: 
  131: <xmp class="fixed">
  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)
  168: </xmp>
  169: 
  170: </ul>
  171: 
  172: 
  173: <a name="ch10">
  174: <p><b>Chapter 10</b>
  175: 
  176: <ul>
  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>
  179: </ul>
  180: 
  181: 
  182: <a name="ch12">
  183: <p><b>Chapter 12</b>
  184: 
  185: <ul>
  186: 
  187: <li>On page 336: In Example 12-6
  188: 
  189: <xmp class="broken">
  190:  print `  <checkbox label="%s" />' % form['op1'].value
  191:  print `  <checkbox label="%s" />' % form['op2'].value
  192:    print `  <checkbox label="%s" />' % form['op3'].value
  193: </xmp>
  194: 
  195: has been changed to (note the difference in indentation and in using a single quote versus a backtick)
  196: 
  197: <xmp class="fixed">
  198:    print '  <checkbox label="%s" />' % form['op1'].value
  199:    print '  <checkbox label="%s" />' % form['op2'].value
  200:    print '  <checkbox label="%s" />' % form['op3'].value
  201: </xmp>
  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>
  206: </li>
  207: 
  208: </ul>
  209: 
  210: 
  211: <a name="appa">
  212: <p><b>Appendix A</b>
  213: 
  214: <ul>
  215: 
  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>
  218: 
  219: </ul>
  220: 
  221: <br><br>
  222: 
  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>