File:  [mozdev] / books / www / corrections.html
Revision 1.57: download - view: text, annotated - select for diffs - revision graph
Wed Dec 11 17:22:32 2002 UTC (17 years, 1 month ago) by david
Branches: MAIN
CVS tags: HEAD
updating corrections page

    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: <p><b>Note:</b> All errors in the text and examples are shown in <b class="broken">red</b> and all corrections are shown in <b
   15: class="fixed">green</b>.
   16: 
   17: <a name="preface">
   18: <p><b>Preface</b>
   19: 
   20: <ul>
   21: 
   22: <li>On page xiv: '<b class="broken">http://www.oreilly.com/mozilla/</b>' has been changed
   23: to '<b class="fixed">http://www.oreilly.com/catalog/mozilla/</b>'<br><br>
   24: 
   25: </ul>
   26: 
   27: 
   28: <a name="ch1">
   29: <p><b>Chapter 1</b>
   30: 
   31: <ul>
   32: 
   33: <li>On page 7: '<b class="broken">applications web built using XPFE</b>' has been
   34: changed to '<b class="fixed">applications built using XPFE</b>'<br><br>
   35: 
   36: </ul>
   37: 
   38: 
   39: <a name="ch2">
   40: <p><b>Chapter 2</b>
   41: 
   42: <ul>
   43: 
   44: <li>On page 10: Added a new sentence to the end of the 2nd paragraph of the xFly examples sidebar: '<b class="fixed">An installable version
   45: of the complete xFly application can be found at http://xfly.mozdev.org.</b>'
   46: 
   47: <li>On page 12: '<b class="broken">&lt;window
   48: xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"  
   49: /&gt;</b>' has been changed to '<b class="fixed">&lt;window
   50: xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"&gt;</b>'<br><br>
   51: 
   52: <li>On page 14: Removed an extra '<b class="broken">></b>' from example code<br><br>
   53: 
   54: <li>On page 17: '<b class="broken">selecting File > Open File > from</b>' has been
   55: changed to '<b class="fixed">selecting File > Open File from</b>'<br><br>
   56: 
   57: <li>On page 20: '<b class="broken">CenterWindoOnScreen( ) function</b>' has been changed
   58: to '<b class="fixed">CenterWindowOnScreen( ) function</b>'<br><br>
   59: 
   60: </ul>
   61: 
   62: 
   63: <a name="ch3">
   64: <p><b>Chapter 3</b>
   65: 
   66: <ul>
   67: 
   68: <li>On page 40: '<b class="broken">&lt;toolbarbutton id="printBtn" label="Open"
   69: oncommand="doPrint( );" /&gt</b>' has been changed to '<b class="fixed">&lt;toolbarbutton
   70: id="printBtn" label="Print" oncommand="doPrint( );" &gt</b>'<br><br>
   71: 
   72: </ul>
   73: 
   74: <a name="ch5">
   75: <p><b>Chapter 5</b>
   76: 
   77: <ul>
   78: 
   79: <li>On page 113: Javascript 1.5 reference link in footnote has been changed from 
   80: '<b class="broken">http://developer.netscape.com/docs/manuals/js/core/jsref15/contents.html</b>' to
   81: '<b class="fixed">http://developer.netscape.com/docs/manuals/index.html?content=javascript.html</b>'<br><br>
   82: 
   83: <li>On page 120: '<b class="broken">&lt;/script.</b>' has been changed to '<b class="fixed">&lt;/script&gt;</b>'<br><br>
   84: 
   85: <li>On page 120: '<b class="broken">dump(l+'\n');</b>' has been changed to '<b class="fixed">dump(len+'\n');</b>'<br><br>
   86: 
   87: <li>On page 137: '<b class="broken">var connection = Components.classes ["@mozilla.org/network/ldap-connection;1";</b>' has been changed to 
   88: '<b class="fixed">var connection = Components.classes ["@mozilla.org/network/ldap-connection;1"];</b>'<br><br>
   89: 
   90: <li>On page 140: '<b class="broken">js> load(`chrome/jslib/jslib.js');</b>' has been changed to '<b class="fixed">js>
   91: load('chrome/jslib/jslib.js');</b>'<br><br>
   92: 
   93: </ul>
   94: 
   95: <a name="ch08">
   96: <p><b>Chapter 8</b>
   97: 
   98: <ul>
   99: 
  100: <li>On page 211: In 2nd sentence of paragraph '<b class="broken">QueryInterace</b>' has been changed to '<b 
  101: class="fixed">QueryInterface</b>'<br><br>
  102: 
  103: <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 
  104: value",</b>'<br><br>
  105: 
  106: <li>On page 222: In Example 8-4
  107: 
  108:             <xmp class="broken">
  109:               this.myCID,
  110:               "My JS Component",
  111:               this.myProgID, fileSpec,
  112:               location, true, true,
  113:               type);
  114:             </xmp>            
  115: 
  116: has been changed to
  117: 
  118:             <xmp class="fixed">            
  119:               compMgr.registerComponentWithType(
  120:               this.myCID,
  121:               "My JS Component",
  122:               this.myProgID, fileSpec,
  123:               location, true, true,
  124:               type);
  125:             </xmp>            
  126: 
  127: <li>On page 222: In Example 8-4 one of the duplicate '<b class="broken">dump(" ***** Registering: Simple JS component! ****\n");</b>' lines
  128: has been removed<br><br>
  129: 
  130: <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>
  131: 
  132: <li>On page 239: Example 8-15 has been changed to <br/>
  133: 
  134: <xmp class="fixed">
  135: DEPTH         = ../../..
  136: topsrcdir     = ../../..
  137: srcdir        = .
  138: VPATH         = .
  139: 
  140: include $(DEPTH)/config/autoconf.mk
  141: 
  142: MODULE        = xpcom
  143: XPIDL_MODULE  = simple
  144: LIBRARY_NAME  = simple
  145: IS_COMPONENT  = 1
  146: MODULE_NAME   = nsSimpleModule
  147: REQUIRES      = string \
  148:                 xpcom \
  149:                 $(NULL)
  150: 
  151: 
  152: CPPSRCS   =              \
  153:     nsSimple.cpp         \
  154:     nsSimpleModule.cpp   \
  155:     $(NULL)
  156: 
  157: XPIDLSRCS = nsISimple.idl
  158: 
  159: include $(topsrcdir)/config/config.mk
  160: 
  161: LIBS    +=        \
  162:     $(XPCOM_LIBS) \
  163:     $(NSPR_LIBS)  \
  164:     $(NULL)
  165: 
  166: include $(topsrcdir)/config/rules.mk
  167: 
  168: EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_LIBS)
  169: 
  170: install:: $(TARGETS)
  171: </xmp>
  172: 
  173: </ul>
  174: 
  175: 
  176: <a name="ch10">
  177: <p><b>Chapter 10</b>
  178: 
  179: <ul>
  180: <li>On page 297: '<b class="broken">http://www.jslib.mozdev.org</b>' has been changed
  181: to '<b class="fixed">http://jslib.mozdev.org</b>'<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 336: In Example 12-6
  191: 
  192: <xmp class="broken">
  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: has been changed to (note the difference in indentation and in using a single quote versus a backtick)
  199: 
  200: <xmp class="fixed">
  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: 
  206: <li>On page 339: A new 'Certificate Authorities and Digital
  207: Signatures' section is being written with drafts available on <a
  208: href="http://certs.mozdev.org">http://certs.mozdev.org</a><br><br>
  209: </li>
  210: 
  211: </ul>
  212: 
  213: 
  214: <a name="appa">
  215: <p><b>Appendix A</b>
  216: 
  217: <ul>
  218: 
  219: <li>On page 365: '<b class="broken">http://www.mozilla.org/source.tml</b>' has been changed to '<b
  220: class="fixed">http://www.mozilla.org/source.html</b>'<br><br>
  221: 
  222: </ul>
  223: 
  224: <br><br>
  225: 
  226: <!-- ?php require(NOTES); ? -->
  227: <?php $post_to_list=NO; $author='reviewers@mozdev.org'; $target_page='corrections'; require(NOTES); ?>

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