File:  [mozdev] / books / www / corrections.html
Revision 1.53: download - view: text, annotated - select for diffs - revision graph
Wed Dec 11 16:30:10 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: '&lt;toolbarbutton id="printBtn" label="Open"
   64: oncommand="doPrint( );" /&gt' has been changed to '&lt;toolbarbutton
   65: id="printBtn" label="Print" oncommand="doPrint( );" &gt'<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: 'http://developer.netscape.com/docs/manuals/js/core/jsref15/contents.html' to
   76: 'http://developer.netscape.com/docs/manuals/index.html?content=javascript.html'<br><br>
   77: 
   78: <li>On page 120: '&lt;/script.' has been changed to &lt;/script&gt;'<br><br>
   79: 
   80: <li>On page 120: 'dump(l+'\n');' has been changed to 'dump(len+'\n');'<br><br>
   81: 
   82: <li>On page 137: 'var connection = Components.classes ["@mozilla.org/network/ldap-connection;1";' has been changed to 
   83: 'var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"];'<br><br>
   84: 
   85: <li>On page 140: 'js> load(`chrome/jslib/jslib.js');' has been changed to 'js> load('chrome/jslib/jslib.js');'<br><br>
   86: 
   87: </ul>
   88: 
   89: <a name="ch08">
   90: <p><b>Chapter 8</b>
   91: 
   92: <ul>
   93: 
   94: <li>On page 211: In 2nd sentence of paragraph 'QueryInterace' has been changed to 'QueryInterface'<br><br>
   95: 
   96: <li>On page 222: In Example 8-4 'mName: "a default value"' has been changed to 'mName: "a default value",'<br><br>
   97: 
   98: <li>On page 222: In Example 8-4
   99: 
  100:             <xmp>            
  101:               this.myCID,
  102:               "My JS Component",
  103:               this.myProgID, fileSpec,
  104:               location, true, true,
  105:               type);
  106:             </xmp>            
  107: 
  108: has been changed to
  109: 
  110:             <xmp>            
  111:               compMgr.registerComponentWithType(
  112:               this.myCID,
  113:               "My JS Component",
  114:               this.myProgID, fileSpec,
  115:               location, true, true,
  116:               type);
  117:             </xmp>            
  118: 
  119: <li>On page 222: In Example 8-4 one of the duplicate 'dump(" ***** Registering: Simple JS component! ****\n");' lines have been 
  120: removed<br><br>
  121: 
  122: <li>On page 223: In Example 8-4 one of the duplicate 'if (outer != null)' lines have been removed<br><br>
  123: 
  124: <li>On page 239: Example 8-15 has been changed to <br/>
  125: 
  126: <xmp>
  127: DEPTH         = ../../..
  128: topsrcdir     = ../../..
  129: srcdir        = .
  130: VPATH         = .
  131: 
  132: include $(DEPTH)/config/autoconf.mk
  133: 
  134: MODULE        = xpcom
  135: XPIDL_MODULE  = simple
  136: LIBRARY_NAME  = simple
  137: IS_COMPONENT  = 1
  138: MODULE_NAME   = nsSimpleModule
  139: REQUIRES      = string \
  140:                 xpcom \
  141:                 $(NULL)
  142: 
  143: 
  144: CPPSRCS   =              \
  145:     nsSimple.cpp         \
  146:     nsSimpleModule.cpp   \
  147:     $(NULL)
  148: 
  149: XPIDLSRCS = nsISimple.idl
  150: 
  151: include $(topsrcdir)/config/config.mk
  152: 
  153: LIBS    +=        \
  154:     $(XPCOM_LIBS) \
  155:     $(NSPR_LIBS)  \
  156:     $(NULL)
  157: 
  158: include $(topsrcdir)/config/rules.mk
  159: 
  160: EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
  161: 
  162: install:: $(TARGETS)
  163: </xmp>
  164: 
  165: </ul>
  166: 
  167: 
  168: <a name="ch10">
  169: <p><b>Chapter 10</b>
  170: 
  171: <ul>
  172: <li>On page 297: 'http://www.jslib.mozdev.org' has been changed
  173: to 'http://jslib.mozdev.org'<br><br></li>
  174: </ul>
  175: 
  176: 
  177: <a name="ch12">
  178: <p><b>Chapter 12</b>
  179: 
  180: <ul>
  181: 
  182: <li>On page 336: In Example 12-6
  183: 
  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: </xmp>
  189: 
  190: has been changed to (note the difference in indentation and in using a single quote versus a backtick)
  191: 
  192: <xmp>
  193:    print '  <checkbox label="%s" />' % form['op1'].value
  194:    print '  <checkbox label="%s" />' % form['op2'].value
  195:    print '  <checkbox label="%s" />' % form['op3'].value
  196: </xmp>
  197: 
  198: <li>On page 339: A new 'Certificate Authorities and Digital
  199: Signatures' section is being written with drafts available on <a
  200: href="http://certs.mozdev.org">http://certs.mozdev.org</a><br><br>
  201: </li>
  202: 
  203: </ul>
  204: 
  205: 
  206: <a name="appa">
  207: <p><b>Appendix A</b>
  208: 
  209: <ul>
  210: 
  211: <li>On page 365: 'http://www.mozilla.org/source.tml' has been
  212: changed to 'http://www.mozilla.org/source.html'<br><br>
  213: 
  214: </ul>
  215: 
  216: <br><br>
  217: 
  218: <!-- ?php require(NOTES); ? -->
  219: <?php $post_to_list=NO; $author='reviewers@mozdev.org'; $target_page='corrections'; require(NOTES); ?>

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