File:  [mozdev] / books / www / corrections.html
Revision 1.33: download - view: text, annotated - select for diffs - revision graph
Thu Dec 5 12:14:40 2002 UTC (17 years ago) by petejc
Branches: MAIN
CVS tags: HEAD
--pete

    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>In Preface (p 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>In Chapter 1 (p 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>In Chapter 2 (p 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>In Chapter 2 (p 14) Removed an extra '>' from example code<br><br>
   43: 
   44: <li>In Chapter 2 (p 17) 'selecting File > Open File > from' has been
   45: changed to 'selecting File > Open File from'<br><br>
   46: 
   47: <li>In Chapter 2 (p 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>In Chapter 3 (p 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:   <li>(p 113) 
   69:     <xmp>
   70:       Changed footnote link to
   71:         http://developer.netscape.com/docs/manuals/index.html?content=javascript.html
   72:     </xmp>
   73:   </li>
   74:   <li>(p 120) 
   75:     <xmp>
   76:       dump(l+'\n');
   77:     has been changed to
   78:       dump(len+'\n');
   79:     </xmp>
   80:   </li>
   81:   <li>(p 137) 
   82:     <xmp>
   83:       var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"; // create an object from the nsILDAPConnection interface;
   84:     has been changed to
   85:       var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"]; // create an object from the nsILDAPConnection interface;
   86:     </xmp>
   87:   </li>
   88:   <li>(p 140) 
   89:     <xmp>
   90:        Changed load(`chrome/jslib/jslib.js');
   91:        To load('chrome/jslib/jslib.js');
   92:     </xmp>
   93:   </li>
   94: </ul>
   95: 
   96: <a name="ch08">
   97: <p><b>Chapter 8</b>
   98: 
   99: <ul>
  100: <li>(p 222) Example 8-4
  101:   <code>mName: "a default value"</code> should be <code>mName: "a default value",</code>
  102: </li>
  103: <li>(p 222) Example 8-4
  104:             <xmp>            
  105:               this.myCID,
  106:               "My JS Component",
  107:               this.myProgID, fileSpec,
  108:               location, true, true,
  109:               type);
  110:             </xmp>            
  111:             Should be
  112:             <xmp>            
  113:               compMgr.registerComponentWithType(
  114:               this.myCID,
  115:               "My JS Component",
  116:               this.myProgID, fileSpec,
  117:               location, true, true,
  118:               type);
  119:             </xmp>            
  120: </li>
  121: <li>(p 239) Example 8-15 has been changed to <br/>
  122: 
  123: <xmp>
  124: DEPTH         = ../../..
  125: topsrcdir     = ../../..
  126: srcdir        = .
  127: VPATH         = .
  128: 
  129: include $(DEPTH)/config/autoconf.mk
  130: 
  131: MODULE        = xpcom
  132: XPIDL_MODULE  = simple
  133: LIBRARY_NAME  = simple
  134: IS_COMPONENT  = 1
  135: MODULE_NAME   = nsSimpleModule
  136: REQUIRES      = string \
  137:                 xpcom \
  138:                 $(NULL)
  139: 
  140: 
  141: CPPSRCS   =              \
  142:     nsSimple.cpp         \
  143:     nsSimpleModule.cpp   \
  144:     $(NULL)
  145: 
  146: XPIDLSRCS = nsISimple.idl
  147: 
  148: include $(topsrcdir)/config/config.mk
  149: 
  150: LIBS    +=        \
  151:     $(XPCOM_LIBS) \
  152:     $(NSPR_LIBS)  \
  153:     $(NULL)
  154: 
  155: include $(topsrcdir)/config/rules.mk
  156: 
  157: EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
  158: 
  159: install:: $(TARGETS)
  160: </xmp>
  161: </li>
  162: 
  163: </ul>
  164: 
  165: 
  166: <a name="ch10">
  167: <p><b>Chapter 10</b>
  168: 
  169: <ul>
  170: <li>In Chapter 10 (p 297) 'http://www.jslib.mozdev.org' has been changed
  171: to 'http://jslib.mozdev.org'<br><br></li>
  172: </ul>
  173: 
  174: 
  175: <a name="ch12">
  176: <p><b>Chapter 12</b>
  177: 
  178: <ul>
  179: 
  180: <li>In Chapter 12 (p 339) A new 'Certificate Authorities and Digital
  181: Signatures' section is being written with drafts available on <a
  182: href="http://certs.mozdev.org">http://certs.mozdev.org</a><br><br>
  183: 
  184: </ul>
  185: 
  186: 
  187: <a name="appa">
  188: <p><b>Appendix A</b>
  189: 
  190: <ul>
  191: 
  192: <li>In Appendix A (p 365) 'http://www.mozilla.org/source.tml' has been
  193: changed to 'http://www.mozilla.org/source.html'<br><br>
  194: 
  195: </ul>
  196: 
  197: <br><br>
  198: 
  199: <!-- ?php require(NOTES); ? -->
  200: <?php $post_to_list=NO; $author='reviewers@mozdev.org'; $target_page='corrections'; require(NOTES); ?>

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