?? bug-writing.html.tmpl
字號:
#------------------------------------------------------------------------# Compiled template generated by the Template Toolkit version 2.20#------------------------------------------------------------------------Template::Document->new({ METADATA => { 'modtime' => '1180690636', 'name' => 'pages/bug-writing.html.tmpl', }, BLOCK => sub { my $context = shift || die "template sub called without context\n"; my $stash = $context->stash; my $output = ''; my $_tt_error; eval { BLOCK: { $output .= "\n"; $output .= "\n"; #line 29 "template\en\default\pages\bug-writing.html.tmpl" $output .= $context->process('global/field-descs.none.tmpl'); $output .= "\n"; #line 0 "template\en\default\pages\bug-writing.html.tmpl" $output .= $context->include('global/header.html.tmpl', { 'title' => ($stash->get(['terms', 0, 'Bug', 0]) . " Writing Guidelines") }); $output .= "\n\n <p>Effective "; #line 33 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " reports are the most likely to be fixed. \n These guidelines explain how to write such reports.\n\n<h3>Principles</h3>\n\n <ul>\n <li>Be precise</li>\n <li>Be clear - explain it so others can reproduce the "; #line 40 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= "</li>\n <li>One "; #line 41 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " per report</li>\n <li>No "; #line 42 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " is too trivial to report - \n small "; #line 43 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= " may hide big "; #line 43 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= "</li>\n <li>Clearly separate fact from speculation</li>\n </ul>\n\n<h3>Preliminaries</h3>\n\n<ol>\n <li>Reproduce your "; #line 50 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " using a recent build of the\n software, to see whether it has already been fixed.\n </li>\n\n <li><a href=\"query.cgi?format=specific\">Search</a> "; #line 55 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= ", to see whether your "; #line 55 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " has\n already been reported.</li>\n</ol>\n\n<h3>Reporting a New "; #line 59 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'Bug', 0]); $output .= "</h3>\n\n<p>If you have reproduced the "; #line 61 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " in a recent build and \nno-one else appears to have reported it, then:</p>\n\n<ol>\n <li>Choose \n \"<a href=\"enter_bug.cgi\">Enter a new "; #line 66 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= "</a>\"</li>\n <li>Select the product in which you've found the "; #line 67 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= "</li>\n <li>Fill out the form. Here is some help understanding it:</li>\n</ol>\n\n <blockquote>\n <p><b>Component:</b> In which sub-part of the software does it \n exist?<br>\n This field is required.\n Click the word \"Component\" to see a description of each \n component. If none seems appropriate, look for a \"General\" component.</p>\n\n <p><b>OS:</b> On which operating system (OS) did you find \n it?\n (e.g. Linux, Windows XP, Mac OS X.)<br>\n If you know the "; #line 81 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " happens on more than one type of \n operating system, choose \"All\". \n If your OS isn't listed, choose Other.</p>\n\n <p><b>Summary:</b> How would you describe the "; #line 85 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= ", in \n approximately 60 or fewer characters?<br>\n A good summary should <b>quickly and uniquely identify "; #line 87 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'abug', 0]); $output .= "\n report</b>. It should explain the problem, not your suggested solution.<br>\n <ul>\n <li>Good: \"<tt>Cancelling a File Copy dialog crashes \n File Manager</tt>\"</li>\n <li>Bad: \"<tt>Software crashes</tt>\"</li>\n <li>Bad: \"<tt>Browser should work with my web site</tt>\"</li>\n </ul>\n \n <b>Description:</b>\n The details of your problem report, including:</p>\n\n <blockquote>\n <p><b>Overview:</b> More detailed restatement of\n summary.</p>\n\n <blockquote>\n<pre>\nDrag-selecting any page crashes Mac builds in the NSGetFactory function.\n</pre>\n </blockquote>\n\n <p><b>Steps to Reproduce:</b> Minimized, easy-to-follow steps that\n will trigger the "; #line 110 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= ". Include any special setup steps.</p>\n\n <blockquote>\n<pre>\n1) View any web page. (I used the default sample page, \nresource:/res/samples/test0.html)\n\n2) Drag-select the page. (Specifically, while holding down \nthe mouse button, drag the mouse pointer downwards from any \npoint in the browser's content region to the bottom of the \nbrowser's content region.)\n</pre>\n </blockquote>\n\n <p><b>Actual Results:</b> What the application did after performing\n the above steps.</p>\n\n <blockquote>\n<pre>\nThe application crashed.\n</pre>\n </blockquote>\n\n <p><b>Expected Results:</b> What the application should have done,\n were the "; #line 134 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " not present.</p>\n\n <blockquote>\n<pre>\nThe window should scroll downwards. Scrolled content should be selected. \n(Or, at least, the application should not crash.)\n</pre>\n </blockquote>\n\n <p><b>Build Date & Platform:</b> Date and platform of the build\n in which you first encountered the "; #line 144 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= ".</p>\n\n <blockquote>\n<pre>\nBuild 2006-08-10 on Mac OS 10.4.3\n</pre>\n </blockquote>\n\n <p><b>Additional Builds and Platforms:</b> Whether or not \n the "; #line 153 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " takes place on other platforms (or browsers, \n if applicable).</p>\n\n <blockquote>\n<pre>\nDoesn't Occur On Build 2006-08-10 on Windows XP Home (Service Pack 2)\n</pre>\n </blockquote>\n\n <p><b>Additional Information:</b> Any other useful information.\n <br><br>For crashing "; #line 163 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bugs', 0]); $output .= ":</p>\n\n <ul>\n <li><b>Windows:</b> Note the type of the crash, and the module that the\n application crashed in (e.g. access violation in apprunner.exe).</li>\n\n <li><b>Mac OS X:</b> Attach the \"Crash Reporter\" log that appears\n upon crash.\n Only include the section directly below the crashing thread, usually \n titled \"Thread 0 Crashed\". Please do not paste the entire log!</li>\n </ul>\n </blockquote>\n\n <p>Double-check your report for errors and omissions, then press \"Commit\".\n Your "; #line 177 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'bug', 0]); $output .= " report will now be in \n the "; #line 178 "template\en\default\pages\bug-writing.html.tmpl" $output .= $stash->get(['terms', 0, 'Bugzilla', 0]); $output .= " database.<br>\n </p>\n</blockquote>\n"; #line 182 "template\en\default\pages\bug-writing.html.tmpl" $output .= $context->include('global/footer.html.tmpl'); $output .= "\n"; } }; if ($@) { $_tt_error = $context->catch($@, \$output); die $_tt_error unless $_tt_error->type eq 'return'; } return $output; }, DEFBLOCKS => { },});
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -