File:  [mozdev] / books / www / corrections.html
Revision 1.54: download - view: text, annotated - select for diffs - revision graph
Wed Dec 11 16:40:13 2002 UTC (17 years 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: 
   15: <a name="preface">
   16: <p><b>Preface</b>
   17: 
   18: <ul>
   19: 
   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>
   22: 
   23: </ul>
   24: 
   25: 
   26: <a name="ch1">
   27: <p><b>Chapter 1</b>
   28: 
   29: <ul>
   30: 
   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>
   33: 
   34: </ul>
   35: 
   36: 
   37: <a name="ch2">
   38: <p><b>Chapter 2</b>
   39: 
   40: <ul>
   41: 
   42: <li>On page 12: '<b class="broken">&lt;window
   43: xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"  
   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>
   46: 
   47: <li>On page 14: Removed an extra '<b class="broken">></b>' from example code<br><br>
   48: 
   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>
   51: 
   52: <li>On page 20: '<b class="broken">CenterWindoOnScreen( ) function</b>' has been changed
   53: to '<b class="fixed">CenterWindowOnScreen( ) function</b>'<br><br>
   54: 
   55: </ul>
   56: 
   57: 
   58: <a name="ch3">
   59: <p><b>Chapter 3</b>
   60: 
   61: <ul>
   62: 
   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>
   66: 
   67: </ul>
   68: 
   69: <a name="ch5">
   70: <p><b>Chapter 5</b>
   71: 
   72: <ul>
   73: 
   74: <li>On page 113: Javascript 1.5 reference link in footnote has been changed from 
   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>
   77: 
   78: <li>On page 120: '<b class="broken">&lt;/script.</b>' has been changed to '<b class="fixed">&lt;/script&gt;</b>'<br><br>
   79: 
   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>
   81: 
   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>
   84: 
   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>
   87: 
   88: </ul>
   89: 
   90: <a name="ch08">
   91: <p><b>Chapter 8</b>
   92: 
   93: <ul>
   94: 
   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>
   97: 
   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>
  100: 
  101: <li>On page 222: In Example 8-4
  102: 
  103:             <xmp class="broken">
  104:               this.myCID,
  105:               "My JS Component",
  106:               this.myProgID, fileSpec,
  107:               location, true, true,
  108:               type);
  109:             </xmp>            
  110: 
  111: has been changed to
  112: 
  113:             <xmp class="fixed">            
  114:               compMgr.registerComponentWithType(
  115:               this.myCID,
  116:               "My JS Component",
  117:               this.myProgID, fileSpec,
  118:               location, true, true,
  119:               type);
  120:             </xmp>            
  121: 
  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>
  124: 
  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>
  126: 
  127: <li>On page 239: Example 8-15 has been changed to <br/>
  128: 
  129: <xmp class="fixed">
  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)
  166: </xmp>
  167: 
  168: </ul>
  169: 
  170: 
  171: <a name="ch10">
  172: <p><b>Chapter 10</b>
  173: 
  174: <ul>
  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>
  177: </ul>
  178: 
  179: 
  180: <a name="ch12">
  181: <p><b>Chapter 12</b>
  182: 
  183: <ul>
  184: 
  185: <li>On page 336: In Example 12-6
  186: 
  187: <xmp class="broken">
  188:  print `  <checkbox label="%s" />' % form['op1'].value
  189:  print `  <checkbox label="%s" />' % form['op2'].value
  190:    print `  <checkbox label="%s" />' % form['op3'].value
  191: </xmp>
  192: 
  193: has been changed to (note the difference in indentation and in using a single quote versus a backtick)
  194: 
  195: <xmp class="fixed>
  196:    print '  <checkbox label="%s" />' % form['op1'].value
  197:    print '  <checkbox label="%s" />' % form['op2'].value
  198:    print '  <checkbox label="%s" />' % form['op3'].value
  199: </xmp>
  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>
  204: </li>
  205: 
  206: </ul>
  207: 
  208: 
  209: <a name="appa">
  210: <p><b>Appendix A</b>
  211: 
  212: <ul>
  213: 
  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>
  216: 
  217: </ul>
  218: 
  219: <br><br>
  220: 
  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>