File:  [mozdev] / books / www / corrections.html
Revision 1.40: download - view: text, annotated - select for diffs - revision graph
Tue Dec 10 16:30:32 2002 UTC (17 years, 5 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>(p 120) 
   74:     <xmp>
   75:       dump(l+'\n');
   76:     has been changed to
   77:       dump(len+'\n');
   78:     </xmp>
   79:   </li>
   80:   <li>(p 137) 
   81:     <xmp>
   82:       var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"; // create an object from the nsILDAPConnection interface;
   83:     has been changed to
   84:       var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"]; // create an object from the nsILDAPConnection interface;
   85:     </xmp>
   86:   </li>
   87:   <li>(p 140) 
   88:     <xmp>
   89:        Changed load(`chrome/jslib/jslib.js');
   90:        To load('chrome/jslib/jslib.js');
   91:     </xmp>
   92:   </li>
   93: </ul>
   94: 
   95: <a name="ch08">
   96: <p><b>Chapter 8</b>
   97: 
   98: <ul>
   99: <li>(p 211) Root Interfaces<br/>
  100:   Changed 2nd sentence QueryInterace to QueryInterface.
  101: </li>
  102: <li>(p 222) Example 8-4
  103:   <code>mName: "a default value"</code> should be <code>mName: "a default value",</code>
  104: </li>
  105: <li>(p 222) Example 8-4
  106:             <xmp>            
  107:               this.myCID,
  108:               "My JS Component",
  109:               this.myProgID, fileSpec,
  110:               location, true, true,
  111:               type);
  112:             </xmp>            
  113:             Should be
  114:             <xmp>            
  115:               compMgr.registerComponentWithType(
  116:               this.myCID,
  117:               "My JS Component",
  118:               this.myProgID, fileSpec,
  119:               location, true, true,
  120:               type);
  121:             </xmp>            
  122: </li>
  123: <li>(p 222, p 223) Example 8-4
  124:             <xmp>            
  125:               Removed double lines
  126:               dump(" ***** Registering: Simple JS component! ****\n");
  127:               and
  128:               if (outer != null)
  129:             </xmp>            
  130: </li>
  131: <li>(p 239) Example 8-15 has been changed to <br/>
  132: 
  133: <xmp>
  134: DEPTH         = ../../..
  135: topsrcdir     = ../../..
  136: srcdir        = .
  137: VPATH         = .
  138: 
  139: include $(DEPTH)/config/autoconf.mk
  140: 
  141: MODULE        = xpcom
  142: XPIDL_MODULE  = simple
  143: LIBRARY_NAME  = simple
  144: IS_COMPONENT  = 1
  145: MODULE_NAME   = nsSimpleModule
  146: REQUIRES      = string \
  147:                 xpcom \
  148:                 $(NULL)
  149: 
  150: 
  151: CPPSRCS   =              \
  152:     nsSimple.cpp         \
  153:     nsSimpleModule.cpp   \
  154:     $(NULL)
  155: 
  156: XPIDLSRCS = nsISimple.idl
  157: 
  158: include $(topsrcdir)/config/config.mk
  159: 
  160: LIBS    +=        \
  161:     $(XPCOM_LIBS) \
  162:     $(NSPR_LIBS)  \
  163:     $(NULL)
  164: 
  165: include $(topsrcdir)/config/rules.mk
  166: 
  167: EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
  168: 
  169: install:: $(TARGETS)
  170: </xmp>
  171: </li>
  172: 
  173: </ul>
  174: 
  175: 
  176: <a name="ch10">
  177: <p><b>Chapter 10</b>
  178: 
  179: <ul>
  180: <li>On page 297: 'http://www.jslib.mozdev.org' has been changed
  181: to 'http://jslib.mozdev.org'<br><br></li>
  182: </ul>
  183: 
  184: 
  185: <a name="ch12">
  186: <p><b>Chapter 12</b>
  187: 
  188: <ul>
  189: 
  190: <li>On page 339: A new 'Certificate Authorities and Digital
  191: Signatures' section is being written with drafts available on <a
  192: href="http://certs.mozdev.org">http://certs.mozdev.org</a><br><br>
  193: </li>
  194: 
  195: <li>(p 336) Use of backtics instead of single quote.
  196: <xmp>
  197:  print `  <checkbox label="%s" />' % form['op1'].value
  198:  print `  <checkbox label="%s" />' % form['op2'].value
  199:    print `  <checkbox label="%s" />' % form['op3'].value
  200: Should be:
  201:  print '  <checkbox label="%s" />' % form['op1'].value
  202:  print '  <checkbox label="%s" />' % form['op2'].value
  203:    print '  <checkbox label="%s" />' % form['op3'].value
  204: </xmp>
  205: </li>
  206: </ul>
  207: 
  208: 
  209: <a name="appa">
  210: <p><b>Appendix A</b>
  211: 
  212: <ul>
  213: 
  214: <li>On page 365: 'http://www.mozilla.org/source.tml' has been
  215: changed to 'http://www.mozilla.org/source.html'<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>