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

    1: <p><b>Corrections</b>
    2: 
    3: <p>This page contains a list of corrections to be made in the next printing of
    4: the book.  If you have suggestions for changes or find errors in the text,
    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
    7: href="mailto:reviewers@mozdev.org">reviewers@mozdev.org</a> mailing list.
    8: 
    9: 
   10: <a name="preface">
   11: <p><b>Preface</b>
   12: 
   13: <ul>
   14: 
   15: <li>On page xiv: 'http://www.oreilly.com/mozilla/' has been changed
   16: to 'http://www.oreilly.com/catalog/mozilla/'<br><br>
   17: 
   18: </ul>
   19: 
   20: 
   21: <a name="ch1">
   22: <p><b>Chapter 1</b>
   23: 
   24: <ul>
   25: 
   26: <li>On page 7: 'applications web built using XPFE' has been
   27: changed to 'applications built using XPFE'<br><br>
   28: 
   29: </ul>
   30: 
   31: 
   32: <a name="ch2">
   33: <p><b>Chapter 2</b>
   34: 
   35: <ul>
   36: 
   37: <li>On page 12: '&lt;window
   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: 
   42: <li>On page 14: Removed an extra '>' from example code<br><br>
   43: 
   44: <li>On page 17: 'selecting File > Open File > from' has been
   45: changed to 'selecting File > Open File from'<br><br>
   46: 
   47: <li>On page 20: 'CenterWindoOnScreen( ) function' has been changed
   48: to 'CenterWindowOnScreen( ) function'<br><br>
   49: 
   50: </ul>
   51: 
   52: 
   53: <a name="ch3">
   54: <p><b>Chapter 3</b>
   55: 
   56: <ul>
   57: 
   58: <li>On page 40: '&lt;toolbarbutton id="printBtn" label="Open"
   59: oncommand="doPrint( );" /&gt' has been changed to '&lt;toolbarbutton
   60: id="printBtn" label="Print" oncommand="doPrint( );" &gt'<br><br>
   61: 
   62: </ul>
   63: 
   64: <a name="ch5">
   65: <p><b>Chapter 5</b>
   66: 
   67: <ul>
   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: 
   73: <li>On page 120: '&lt;/script.' has been changed to &lt;/script&gt;'<br><br>
   74: 
   75: <li>On page 120: 'dump(l+'\n');' has been changed to 'dump(len+'\n');'<br><br>
   76: 
   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: 
   82: </ul>
   83: 
   84: <a name="ch08">
   85: <p><b>Chapter 8</b>
   86: 
   87: <ul>
   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: 
   93: <li>(p 222) Example 8-4
   94:             <xmp>            
   95:               this.myCID,
   96:               "My JS Component",
   97:               this.myProgID, fileSpec,
   98:               location, true, true,
   99:               type);
  100:             </xmp>            
  101:             Should be
  102:             <xmp>            
  103:               compMgr.registerComponentWithType(
  104:               this.myCID,
  105:               "My JS Component",
  106:               this.myProgID, fileSpec,
  107:               location, true, true,
  108:               type);
  109:             </xmp>            
  110: </li>
  111: <li>(p 222, p 223) Example 8-4
  112:             <xmp>            
  113:               Removed double lines
  114:               dump(" ***** Registering: Simple JS component! ****\n");
  115:               and
  116:               if (outer != null)
  117:             </xmp>            
  118: </li>
  119: <li>(p 239) Example 8-15 has been changed to <br/>
  120: 
  121: <xmp>
  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)
  158: </xmp>
  159: </li>
  160: 
  161: </ul>
  162: 
  163: 
  164: <a name="ch10">
  165: <p><b>Chapter 10</b>
  166: 
  167: <ul>
  168: <li>On page 297: 'http://www.jslib.mozdev.org' has been changed
  169: to 'http://jslib.mozdev.org'<br><br></li>
  170: </ul>
  171: 
  172: 
  173: <a name="ch12">
  174: <p><b>Chapter 12</b>
  175: 
  176: <ul>
  177: 
  178: <li>On page 339: A new 'Certificate Authorities and Digital
  179: Signatures' section is being written with drafts available on <a
  180: href="http://certs.mozdev.org">http://certs.mozdev.org</a><br><br>
  181: </li>
  182: 
  183: <li>(p 336) Use of backtics instead of single quote.
  184: <xmp>
  185:  print `  <checkbox label="%s" />' % form['op1'].value
  186:  print `  <checkbox label="%s" />' % form['op2'].value
  187:    print `  <checkbox label="%s" />' % form['op3'].value
  188: Should be:
  189:  print '  <checkbox label="%s" />' % form['op1'].value
  190:  print '  <checkbox label="%s" />' % form['op2'].value
  191:    print '  <checkbox label="%s" />' % form['op3'].value
  192: </xmp>
  193: </li>
  194: </ul>
  195: 
  196: 
  197: <a name="appa">
  198: <p><b>Appendix A</b>
  199: 
  200: <ul>
  201: 
  202: <li>On page 365: 'http://www.mozilla.org/source.tml' has been
  203: changed to 'http://www.mozilla.org/source.html'<br><br>
  204: 
  205: </ul>
  206: 
  207: <br><br>
  208: 
  209: <!-- ?php require(NOTES); ? -->
  210: <?php $post_to_list=NO; $author='reviewers@mozdev.org'; $target_page='corrections'; require(NOTES); ?>

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