1 2011-01-06 Ojan Vafai <ojan@chromium.org>
3 Fix line context when replying to comments.
7 2011-01-05 Ojan Vafai <ojan@chromium.org>
9 Reviewed by Adam Barth.
11 change the way we do comment highlighting in the code review tool
12 https://bugs.webkit.org/show_bug.cgi?id=51971
14 Store a space-separated list of base line IDs on each line that has
15 comments associated with that line. This allows for overlapping comments,
16 but more importantly, makes adding side-by-side diff support easier.
20 2011-01-05 Ojan Vafai <ojan@chromium.org>
22 Reviewed by Adam Barth.
24 minor code cleanup for code review tool
25 https://bugs.webkit.org/show_bug.cgi?id=51962
27 Consolidates some queries to using shared functions.
31 2011-01-05 Ojan Vafai <ojan@chromium.org>
33 Reviewed by Adam Barth.
35 assorted cleanups to prepare for side-by-side diffing
36 https://bugs.webkit.org/show_bug.cgi?id=51961
38 Mostly, use selector queries instead of assuming comments are next siblings.
42 2011-01-05 Ojan Vafai <ojan@chromium.org>
44 Reviewed by Adam Barth.
46 fix message container selector for code review tool
47 https://bugs.webkit.org/show_bug.cgi?id=51959
51 2011-01-04 Ojan Vafai <ojan@chromium.org>
53 Increment version number to avoid getting the cached JS file.
55 * PrettyPatch/PrettyPatch.rb:
57 2010-12-15 Ojan Vafai <ojan@chromium.org>
59 Reviewed by Adam Barth.
61 anchor the toolbar to the bottom of the diff if the diff doesn't take a full screen of height
62 https://bugs.webkit.org/show_bug.cgi?id=51162
64 * PrettyPatch/PrettyPatch.rb:
67 2011-01-01 Adam Barth <abarth@webkit.org>
69 Reviewed by Eric Seidel.
71 Move JavaScriptCore to Source
72 https://bugs.webkit.org/show_bug.cgi?id=51604
74 * PrettyPatch/PrettyPatch.rb:
75 - Remove reference to JavaScriptCore as a source directory.
77 2011-01-01 Adam Barth <abarth@webkit.org>
79 Reviewed by Eric Seidel.
81 Move Sources to Source
82 https://bugs.webkit.org/show_bug.cgi?id=51794
84 * PrettyPatch/PrettyPatch.rb:
86 2010-12-31 Adam Barth <abarth@webkit.org>
88 Rubber-stamped by Eric Seidel.
90 Move PageLoadTests to PerformanceTests/PageLoad
91 https://bugs.webkit.org/show_bug.cgi?id=51771
93 Update list of top-level open-source directories.
95 * PrettyPatch/PrettyPatch.rb:
97 2010-12-31 Adam Barth <abarth@webkit.org>
99 Rubber-stamped by Eric Seidel.
101 Move SunSpider into PerformanceTests
102 https://bugs.webkit.org/show_bug.cgi?id=51769
104 Update list of top-level open-source directories.
106 * PrettyPatch/PrettyPatch.rb:
108 2010-12-26 Adam Barth <abarth@webkit.org>
110 Reviewed by Eric Seidel.
112 Move autotools into Sources
113 https://bugs.webkit.org/show_bug.cgi?id=51630
115 * PrettyPatch/PrettyPatch.rb:
116 - Remove reference to non-existant autotools directory.
118 2010-12-26 Adam Barth <abarth@webkit.org>
120 Reviewed by Eric Seidel.
122 Move cmake into Sources
123 https://bugs.webkit.org/show_bug.cgi?id=51631
125 * PrettyPatch/PrettyPatch.rb:
127 2010-12-23 Adam Barth <abarth@webkit.org>
129 Rubber-stamped by Eric Seidel.
131 Move JavaScriptGlue into Sources
132 https://bugs.webkit.org/show_bug.cgi?id=51583
134 PrettyPatch keeps a list of the top-level directories that exist in
137 * PrettyPatch/PrettyPatch.rb:
139 2010-12-20 Adam Barth <abarth@webkit.org>
141 One more tweak caused by moving the web sites around. I had this
142 change in my patch originally, but I missed it because I had to use
143 server-side svn move commands to move the bulk of the web site files.
145 * PrettyPatch/PrettyPatch.rb:
147 2010-12-18 Adam Barth <abarth@webkit.org>
149 Reviewed by Sam Weinig.
151 Move WebKitExamplePlugins to Examples
152 https://bugs.webkit.org/show_bug.cgi?id=51291
154 * PrettyPatch/PrettyPatch.rb:
156 2010-12-17 Dan Bernstein <mitz@apple.com>
158 Reviewed by Simon Fraser.
160 Rename WebKitTools to Tools
161 https://bugs.webkit.org/show_bug.cgi?id=49861
163 * PrettyPatch/PrettyPatch.rb:
164 * committers-autocomplete.js:
166 2010-12-17 Ojan Vafai <ojan@chromium.org>
168 Increment psuedo-version number to avoid pulling cached version.
170 * PrettyPatch/PrettyPatch.rb:
172 2010-12-17 Ojan Vafai <ojan@chromium.org>
174 Speculative fix for the code review tool in Firefox.
175 Fixes a JS error and makes the status bubble mostly work
176 if postMessage is not supported.
178 * PrettyPatch/PrettyPatch.rb:
181 2010-12-15 Ojan Vafai <ojan@chromium.org>
183 Reviewed by Adam Barth.
185 size status bubble to it's contents on the code review page
186 https://bugs.webkit.org/show_bug.cgi?id=51142
188 * PrettyPatch/PrettyPatch.rb:
191 2010-12-15 Ojan Vafai <ojan@chromium.org>
193 Reviewed by Adam Barth.
195 fix goofups from r74142 and r74130
196 https://bugs.webkit.org/show_bug.cgi?id=51146
198 Accidentally shrank the inline comment boxes and made
199 the toolbar not show up when there were image diffs.
201 * PrettyPatch/PrettyPatch.rb:
204 2010-12-14 Ojan Vafai <ojan@chromium.org>
206 Reviewed by Adam Barth.
208 add ability to view for file context to the review tool
209 https://bugs.webkit.org/show_bug.cgi?id=51057
211 At the beginning/end of each file diff and between each
212 hunk add links to expand the context. For now it grabs the
213 tip of tree version of the file and tries to apply the diff
214 to that file. If it can't apply, then it gives up as we
215 wouldn't want to show the wrong lines of context.
217 In the future, we can consider adding the upload svn revision
218 to the diff itself, then we could fallback to the file at that
219 revision if tip of tree doesn't apply.
221 * PrettyPatch/PrettyPatch.rb:
224 2010-12-08 Ojan Vafai <ojan@chromium.org>
226 Reviewed by Adam Barth.
228 [reviewtool] should always show overall comments text box
229 https://bugs.webkit.org/show_bug.cgi?id=45870
231 * PrettyPatch/PrettyPatch.rb:
234 2010-12-04 Patrick Gansterer <paroga@webkit.org>
236 Reviewed by Adam Barth.
238 Increase size of status bubbles
239 https://bugs.webkit.org/show_bug.cgi?id=50496
241 The current available space isn't enough to display all
242 pending results including position in the queue.
244 * PrettyPatch/PrettyPatch.rb:
246 2010-12-04 Patrick Gansterer <paroga@webkit.org>
248 Reviewed by Adam Barth.
250 Increase size of status bubbles
251 https://bugs.webkit.org/show_bug.cgi?id=50496
253 The current available space isn't enough to display all
254 pending results including position in the queue.
256 * template/en/custom/attachment/edit.html.tmpl:
257 * template/en/custom/attachment/list.html.tmpl:
258 * template/en/custom/attachment/reviewform.html.tmpl:
260 2010-11-08 Adam Barth <abarth@webkit.org>
262 Update help text to match behavior change.
266 2010-11-08 Adam Barth <abarth@webkit.org>
268 Reviewed by Eric Seidel.
270 Restore normal meaning of double-click on patch review page?
271 https://bugs.webkit.org/show_bug.cgi?id=47641
273 After this patch, you need to click on the line numbers to add a
276 * PrettyPatch/PrettyPatch.rb:
279 2010-10-09 Adam Barth <abarth@webkit.org>
281 Reviewed by Alexey Proskuryakov.
283 Exception in committers-autocomplete in Firefox
284 https://bugs.webkit.org/show_bug.cgi?id=47456
286 Remove dependency on a WebKit-only quirk. IMHO, this quirk is bad for
287 the long-term health of the web, but that's a discussion for another
290 * committers-autocomplete.js:
292 2010-10-08 Adam Barth <abarth@webkit.org>
294 Reviewed by Oliver Hunt.
296 Bugmail for new attachments should link to the reviewtool
297 https://bugs.webkit.org/show_bug.cgi?id=47440
299 As requested by olliej himself. This patch was constructed by pure
300 reason. I have no way to actually run this code.
302 * Bugzilla/BugMail.pm:
304 2010-09-28 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
306 Reviewed by Csaba Osztrogonác.
308 Convert verbatim unicode values in comitter names to characters
310 * committers-autocomplete.js:
312 2010-09-24 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
314 Reviewed by Csaba Osztrogonác.
316 Support Unicode-strings in committers-autocomplete script
318 * committers-autocomplete.js:
320 2010-09-22 Adam Barth <abarth@webkit.org>
322 Reviewed by John Sullivan.
324 New review-page design doesn't include name of reviewer
325 https://bugs.webkit.org/show_bug.cgi?id=46271
327 * PrettyPatch/PrettyPatch.rb:
330 2010-09-22 Adam Barth <abarth@webkit.org>
334 * PrettyPatch/PrettyPatch.rb:
336 2010-09-22 Adam Barth <abarth@webkit.org>
338 Reviewed by Eric Seidel.
340 Add link to bug to review page
341 https://bugs.webkit.org/show_bug.cgi?id=46192
343 To make room for the link, I moved the help text to the top of the page
344 and tweaked the language to help folks discover that you can select
345 context using the line numbers.
347 Also, move more text to sans-serif since that fits in better with the
350 * PrettyPatch/PrettyPatch.rb:
353 2010-09-21 Adam Barth <abarth@webkit.org>
357 [reviewtool] Publish button doesn't work
358 https://bugs.webkit.org/show_bug.cgi?id=46168
360 Darin's recent patch had a runtime error. Sadly, we don't have any
361 testing for this code.
365 2010-09-20 Darin Adler <darin@apple.com>
367 Reviewed by Adam Barth.
369 Add Preview button and link to bug to patch review bar
370 https://bugs.webkit.org/show_bug.cgi?id=46153
372 * PrettyPatch/PrettyPatch.rb: Bump version number to make caches happy.
373 * code-review.js: Added Preview button and link to bug.
375 2010-09-19 Adam Barth <abarth@webkit.org>
377 Reviewed by Eric Seidel.
379 [reviewtool] Publish button should actually publish the review comments
380 https://bugs.webkit.org/show_bug.cgi?id=46074
382 Instead of showing the confirmation lightbox, the Publish button now
383 publishes the comments directly. If there's demand for a "Preview"
384 button, we can find a way to add that feature.
388 2010-09-19 Adam Barth <abarth@webkit.org>
390 Reviewed by Eric Seidel.
392 Move reviewtool to action=review
393 https://bugs.webkit.org/show_bug.cgi?id=46071
395 This patch removes the old Review Patch screen and moves the new
396 reviewtool from Pretty Diff to Review Patch.
401 2010-09-19 Adam Barth <abarth@webkit.org>
403 Review tool UI tweak. This patch lengthens the status bubbles so all
404 the bubble fit (even when they have numbers inside).
406 * PrettyPatch/PrettyPatch.rb:
408 2010-09-19 Dan Bernstein <mitz@apple.com>
410 Reviewed by Anders Carlsson.
414 * code-review.js: Changed the label of the OK button from Ok to OK.
416 2010-09-15 Adam Barth <abarth@webkit.org>
420 Only show the review-in-context link if there are contextual comments.
424 2010-09-15 Adam Barth <abarth@webkit.org>
426 Reviewed by Eric Seidel.
428 [reviewtool] Show the status bubbles on the toolbar
429 https://bugs.webkit.org/show_bug.cgi?id=45861
431 * PrettyPatch/PrettyPatch.rb:
434 2010-09-15 Adam Barth <abarth@webkit.org>
436 Reviewed by Eric Seidel.
438 [reviewtool] Allow setting review and commit-queue flags from main review screen
439 https://bugs.webkit.org/show_bug.cgi?id=45860
441 This patch adds drop down menus for adjusting the review and
442 commit-queue flags from the main review screen. These controls don't
443 appear immediately because we need to read the state of the flags off
446 It's a slight sadness that bugzilla doesn't have a clean way of
447 identifying which select control is associated with a given flag. The
448 flags seem to have some sort of id, but it's unclear to me how to map
449 that id back to a notion of "review" or "commit-queue". Instead, we
450 look for some magic strings in the title. I'm sure this will come back
451 to bit us at some point, but I'm not sure what to do that's better.
452 (The webkitpy solution to this problem is to assume that the flags are
453 in a given order, but this seems better.)
455 * PrettyPatch/PrettyPatch.rb:
456 - Bump version number to bust throuh caches.
459 2010-09-15 Adam Barth <abarth@webkit.org>
461 Reviewed by Eric Seidel.
463 [reviewtool] Comments should quote previous comments on the same line
464 https://bugs.webkit.org/show_bug.cgi?id=45847
466 Now when you reply to a previous comment, the tool will quote the
467 previous comment in the bugs.webkit.org post. This makes it eaiser for
468 folks following along in email to understand the discussion.
470 While I was editing this code, I also cleaned up some of the whitespace
471 handling in comments.
475 2010-09-15 Adam Barth <abarth@webkit.org>
477 Minor UI tweak to the review tool. We want to display newlines in
478 previous and frozen comments instead of collapsing them.
480 * PrettyPatch/PrettyPatch.rb:
482 2010-09-14 Adam Barth <abarth@webkit.org>
484 Reviewed by Eric Seidel.
486 bugs.webkit.org should autocomplete WebKit Committers and Reviewers
487 https://bugs.webkit.org/show_bug.cgi?id=45799
489 This patch implements an autocomplete dropdown that helps users type
490 the names of WebKit committers and reviewers. The script grabs the
491 data from SVN now that wms set up CORS for http://svn.webkit.org.
492 Security technology for the win.
494 This script is based on (well, essentially copied from) the popular
495 autocomplete extension:
497 https://chrome.google.com/extensions/detail/olaabhcgdogcbcoiolomlcodkngnemfb
499 I asked Ojan, and said he was fine licensing the code under the BSD
500 license. I'm not sure how the patch interacts with the extension, but
501 we can retire the extension if they interact poorly.
503 * committers-autocomplete.js: Added.
504 * template/en/default/global/footer.html.tmpl:
505 - Add the script to every page on bugs.webkit.org
507 2010-09-14 Adam Barth <abarth@webkit.org>
509 Add a license block to the reviewtool. I should have added this from
510 the start. According to the SVN log, I'm the only one to have ever
515 2010-09-07 Adam Barth <abarth@webkit.org>
517 Minor tweaks to the reviewtool UI.
519 Rename Cancel to Discard to make it more clear what the button does.
520 Also, move the style declaration for the focus ring later in the sheet
523 * PrettyPatch/PrettyPatch.rb:
526 2010-09-06 Adam Barth <abarth@webkit.org>
528 Small UI tweak to the reviewtool. Make the Ok/Cancel buttons a bit
531 * PrettyPatch/PrettyPatch.rb:
533 2010-09-06 Adam Barth <abarth@webkit.org>
535 Reviewed by Eric Seidel.
537 [reviewtool] Add a quick animation for opening/closing comment boxes
538 https://bugs.webkit.org/show_bug.cgi?id=45278
540 The 200ms animation slides in and out the line-by-line comment box.
544 2010-09-06 Adam Barth <abarth@webkit.org>
546 Reviewed by Eric Seidel.
548 [reviewtool] Add a field for overall comments
549 https://bugs.webkit.org/show_bug.cgi?id=45273
551 This patch does a couple logically separate things that could be
552 separated into smaller patches:
554 1) This patch adds an "overall comments" field where you can enter
555 overall comments about the patch. These comments appear at the top
556 of the bugzilla posting. Currently, these aren't redisplayed when
557 viewing the patch, but I plan to add that in a future patch.
559 2) This patch renames some of the CSS classes to more consistently
560 follow the camelCase style that PrettyPatch uses.
562 3) This patch moves the "prepare comments" button to the left of the
563 toolbar and renames is to "publish comments". This makes more sense
564 when you scroll to the bottom of the page and enter in some overall
567 4) When you attempt to add a comment to a line that already has a
568 "frozen" comment, we now unfreeze the comment instead of doing
569 nothing. The old behavior was kind of frustrating if you didn't
570 know that you could unfreeze a comment by clicking on it.
572 * PrettyPatch/PrettyPatch.rb:
576 2010-09-06 Adam Barth <abarth@webkit.org>
578 [reviewtool] Tweak the ok button to cancel the comment if the comment
579 is empty. Previously we would get into a bad state where a line had a
580 comment but there was no longer any way to access it.
584 2010-09-06 Adam Barth <abarth@webkit.org>
586 Reviewed by Eric Seidel.
588 [reviewtool] Add an "ok" button that collapses review comments
589 https://bugs.webkit.org/show_bug.cgi?id=45255
591 Many folks (including myself) are too trigger-happy with the "delete"
592 button that we end up deleting perfectly good review comments. This
593 patch adds an "ok" button to absorb these clicks (and renames "delete"
594 to "cancel"). When you click the ok button, the comment becomes
595 non-editable and the box shrinks to fit the text. You can click the
596 text to get back to the editable version.
600 2010-08-31 Adam Barth <abarth@webkit.org>
602 Reviewed by Eric Seidel.
604 [reviewtool] Make it easy to scroll through review comments
605 https://bugs.webkit.org/show_bug.cgi?id=45002
607 This patch lets you scroll through review comments using "n" (for next)
608 and "p" (for previous). It also attributes comments to their authors.
610 * PrettyPatch/PrettyPatch.rb:
613 2010-08-31 Adam Barth <abarth@webkit.org>
615 Reviewed by Eric Seidel.
617 [reviewtool] Show previous comments inline in diff
618 https://bugs.webkit.org/show_bug.cgi?id=44977
620 This patch adds basic support for showing previous comments inline in
621 the diff. We crawl the bugs.webkit.org comments about this attachment
622 and extract comments related to specific lines. We then show the
623 comments inline in the diff.
625 This part of the tool needs a bunch of polish, but this at least is a
626 starting point for further work.
628 * PrettyPatch/PrettyPatch.rb:
631 2010-08-31 Adam Barth <abarth@webkit.org>
633 Reviewed by Eric Seidel.
635 [reviewtool] Allow reviewer to select lines of context by dragging over the line numbers
636 https://bugs.webkit.org/show_bug.cgi?id=44936
638 * PrettyPatch/PrettyPatch.rb:
639 - Add a version number to bust through bugs.webkit.org's aggressive
643 2010-08-30 Adam Barth <abarth@webkit.org>
645 Reviewed by Eric Seidel.
647 [review tool] Let reviewer select how much context to show in snippet
648 https://bugs.webkit.org/show_bug.cgi?id=44905
650 We now highlight the context for a comment in yellow on the left (where
651 the line numbers are). Clicking a line number expands or contracts the
652 amount of context, as appropriate. Informal user testing indicates
653 that we might want to support drag as well.
655 This patch also changes the "open a comment box here" action to
656 double-click to avoid issues with mis-clicks.
658 * PrettyPatch/PrettyPatch.rb:
661 2010-08-29 Adam Barth <abarth@webkit.org>
663 Attempt to make Sam's life easier by not opening a comment text field
664 if there's a selection. This should make it easier to copy/paste text
665 out of the diff without accidentally opening comment boxes.
669 2010-08-29 Adam Barth <abarth@webkit.org>
671 Turns out we're supposed to use find instead of children here.
675 2010-08-29 Adam Barth <abarth@webkit.org>
677 Reviewed by Eric Seidel.
679 Awesomify pretty-diff based review tool
680 https://bugs.webkit.org/show_bug.cgi?id=44835
682 This patch replaces the existing inline comment feature with a new
683 implementation. Hopefully the new implementation is more awesome.
684 It's not 100% done yet, but I'd like to get this version out there to
687 Unlike the previous version this version works with the "Formatted
688 Diff" link instead of the "Review Patch" link. Hopefully that will
689 avoid interfering with folks who like the old style review.
691 * PrettyPatch/PrettyPatch.rb:
692 * code-review.js: Added.
693 * prototype.js: Removed.
695 2010-08-19 Tony Chang <tony@chromium.org>
697 Reviewed by Adam Barth.
699 webkit-patch barfed on upload with a new image test result
700 https://bugs.webkit.org/show_bug.cgi?id=39097
702 * PrettyPatch/PrettyPatch.rb: don't use full path to git
704 2010-08-19 Tony Chang <tony@chromium.org>
706 Unreviewed, setting svn:eol-style native on ChangeLog.
708 2010-08-19 Tony Chang <tony@chromium.org>
710 Unreviewed. Just removing \r's from ChangeLog.
712 2010-08-02 Adam Roben <aroben@apple.com>
714 Tell the patch prettifier about some (not so) new directories
716 * PrettyPatch/PrettyPatch.rb: Added WebKit2, autotools, and cmake
719 2010-07-27 Joseph Pecoraro <joepeck@webkit.org>
721 Reviewed by David Kilzer.
723 Provide a Helpful Link for Web Inspector Bugs in Bugzilla
724 https://bugs.webkit.org/show_bug.cgi?id=43065
726 * template/en/custom/global/choose-product.html.tmpl: Added. Explicitly added a link for the Web Inspector.
728 2010-06-09 Julie Parent <jparent@chromium.org>
730 Reviewed by David Kilzer.
732 Bugzilla: Don't send mail for cancel/deny/granted for in-rietveld.
734 https://bugs.webkit.org/show_bug.cgi?id=40345
738 2010-05-17 Julie Parent <jparent@chromium.org>
740 Reviewed by Ojan Vafai.
742 Rietveld review page should dedicate more space to Rietveld, less to high level comments form.
744 https://bugs.webkit.org/show_bug.cgi?id=39244
746 * template/en/custom/attachment/reviewform.html.tmpl:
747 Delete a random BR amongst the hidden elements that was causing extra whitespace.
748 * template/en/custom/attachment/rietveldreview.html.tmpl:
749 Increase size of Rietveld frame to 80%, from 60%.
751 2010-05-14 Julie Parent <jparent@chromium.org>
753 Reviewed by Ojan Vafai.
755 Bugzilla: Only show "Rietveld Review" link when in-rietveld is set to +.
757 https://bugs.webkit.org/show_bug.cgi?id=39141
759 * template/en/custom/attachment/list.html.tmpl:
761 2010-05-13 Julie Parent <jparent@chromium.org>
763 Reviewed by David Kilzer.
765 Bugzilla: Don't send mail if the only change is to the in-rietveld flag.
767 https://bugs.webkit.org/show_bug.cgi?id=39090
769 * Bugzilla/BugMail.pm:
771 2010-05-12 Julie Parent <jparent@chromium.org>
773 Reviewed by Ojan Vafai.
775 Hide the in-rietveld flag in the UI. It is only used only by tooling and shouldn't clutter the UI.
776 https://bugs.webkit.org/show_bug.cgi?id=39024
778 * template/en/custom/attachment/list.html.tmpl:
779 Removes this flag entirely from the UI, not needed on this page.
780 * template/en/custom/flag/list.html.tmpl: Added.
781 Copied from template/en/default/flag/list.html.tmpl with only changes inside the if WEBKIT_CHANGES section.
782 Hides the flag rather than removing it completely, so tools can still interact with it.
784 2010-05-12 Julie Parent <jparent@chromium.org>
786 Reviewed by David Kilzer.
788 Adds support for Rietveld reviews. When there is an associated
789 Rietveld id for a patch, adds a link to do a Rietveld review instead.
791 https://bugs.webkit.org/show_bug.cgi?id=38143
794 Added support for handling action=rietveldreview.
795 * template/en/custom/attachment/list.html.tmpl:
796 Adds a link to use rietveld review iff the in_rietveld flag is set.
797 * template/en/custom/attachment/reviewform.html.tmpl:
798 Detects if we are in rietveld review mode due to query string paramter,
799 and customizes the review form slightly:
800 - Changes text describing comment field.
801 - Comment field does not include quoted patch.
802 - Submit button fetches from Rietveld instead of just submitting.
803 * template/en/custom/attachment/rietveldreview.html.tmpl: Added.
804 New template for rietveldreview mode. Hosts the rietveld frame in the
805 top and the regular comments form in the bottom.
806 Uses postMessage to communicate with Rietveld frame.
808 2010-05-08 Chris Jerdonek <cjerdonek@webkit.org>
810 Reviewed by Maciej Stachowiak.
812 Allow long comment lines to wrap to the window width instead
815 https://bugs.webkit.org/show_bug.cgi?id=37792
817 * Bugzilla/Constants.pm:
818 - Introduced a new constant COMMENT_COLS_WRAP to replace COMMENT_COLS
819 inside the wrap_comment() subroutine. The new constant effectively
820 disables text wrapping by increasing the value used in wrap_comment()
821 from 80 characters to a very large value (8000).
823 - Replaced COMMENT_COLS with COMMENT_COLS_WRAP inside wrap_comment().
824 * skins/custom/global.css:
826 - Eliminate the width styling on comments to allow long lines
827 to wrap at the window width.
828 (.bz_comment_text > span.quote):
829 - Inherit the "white-space" property. This prevents long quoted
830 lines in comments from causing non-quoted lines to extend beyond
833 2010-04-22 Adam Barth <abarth@webkit.org>
835 Reviewed by Darin Adler.
837 The new review tools shouldn't clear the comment box automatically
838 https://bugs.webkit.org/show_bug.cgi?id=38004
840 Instead, we now have a button for doing that explicitly. If people
841 like this tool, we can look at fancier solutions.
843 Also, tried to make the tool work on the edit page as well as the review page.
845 * PrettyPatch/PrettyPatch.rb:
847 2010-04-22 Adam Barth <abarth@webkit.org>
849 Unreviewed. Turns out we need to do more escaping because Ruby was
850 explanding our newlines, creating a syntax error.
852 * PrettyPatch/PrettyPatch.rb:
854 2010-04-22 Adam Barth <abarth@webkit.org>
856 Reviewed by Darin Adler.
858 Hack up PrettyDiff to allow line-by-line comments
859 https://bugs.webkit.org/show_bug.cgi?id=37886
861 Admittedly a bit of a hack, this is a basic line-by-line editor we can
862 play with thanks to Andrew Scherkus. It's meant to integrate with the
863 "review" page at bugs.webkit.org.
865 I changed a few things from Andrew's original version:
866 1) Trigger text boxes on single click to make iPhone/iPad reviewing
868 2) Clear the main text box on load.
869 3) Reference a version of prototype.js on bugs.webkit.org.
871 * PrettyPatch/PrettyPatch.rb:
872 * prototype.js: Added.
874 2010-02-22 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
876 Reviewed by Maciej Stachowiak.
878 Don't reset the assignee back to default on component change
880 https://bugs.webkit.org/show_bug.cgi?id=35236
882 There's a risk of reseting a valid assignee for example when
883 triaging a bug. All components in WebKit have the default
884 assignee set to webkit-unassigned@webkit.org so this should
885 not cause problems for people relying on this functionality.
887 * template/en/custom/bug/edit.html.tmpl:
889 2010-01-22 Janusz Lewandowski <lew21@xtreeme.org>
891 Reviewed by Maciej Stachowiak.
893 run-webkit-tests fails on Ruby 1.9
894 https://bugs.webkit.org/show_bug.cgi?id=33554
895 inject does not work with strings any more, so BugsSite/PrettyPatch/PrettyPatch.rb prints lots of errors.
897 * PrettyPatch/PrettyPatch.rb:
899 2010-01-20 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
901 Reviewed by Adam Barth.
903 Adjust height of status-bubbles to prevent them being cut.
905 * template/en/custom/attachment/edit.html.tmpl:
906 * template/en/custom/attachment/list.html.tmpl:
907 * template/en/custom/attachment/reviewform.html.tmpl:
909 2010-01-08 David Kilzer <ddkilzer@apple.com>
911 <http://webkit.org/b/33410> Fix "View Plain Diff"/"View Formatted Diff" button
913 Reviewed by Adam Barth.
915 This button was broken during a previous Bugzilla upgrade after
916 changes were made to the names of objects exposed on templates.
918 * template/en/custom/attachment/reviewform.html.tmpl: Changed
919 attachid to attachment.id and ispatch to attachment.ispatch.
920 Also tweaked the format to use 4 table columns instead of 5.
922 2010-01-08 David Kilzer <ddkilzer@apple.com>
924 Included UNCONFIRMED bugs by default in advanced search query
926 Rubber-stamped by Alexey Proskuryakov.
928 * data/params: Prepended 'bug_status=UNCONFIRMED&' to
929 'defaultquery' parameter.
931 2010-01-08 David Kilzer <ddkilzer@apple.com>
933 FIX: Make patch status appear on reviewform.html.tmpl
935 * template/en/custom/attachment/reviewform.html.tmpl: Check
936 attachment.ispatch (not just ispatch) when deciding whether
937 to display patch status. Also update layout a bit.
939 2010-01-08 David Kilzer <ddkilzer@apple.com>
941 Update data/params parameters
943 * data/params: Updated 'timezone' to turn off DST. Updated
944 'usebugaliases' and 'usevotes' to turn them off.
946 2010-01-08 Adam Barth <abarth@webkit.org>
948 Reviewed by Darin Adler.
950 Show patch status in bugs.webkit.org
951 https://bugs.webkit.org/show_bug.cgi?id=33368
953 This patch adds an iframe to the show_bug page and the edit attachment
954 page that displays whether the attachment passed the various bots.
956 * template/en/custom/attachment/edit.html.tmpl:
957 * template/en/custom/attachment/list.html.tmpl:
958 * template/en/custom/attachment/reviewform.html.tmpl:
960 2009-12-07 Shinichiro Hamaji <hamaji@chromium.org>
962 Reviewed by David Kilzer.
964 Bugzilla should show images in git patches
965 https://bugs.webkit.org/show_bug.cgi?id=31395
967 Attempt to go r51748 again using --directory option of git-apply.
969 * PrettyPatch/PrettyPatch.rb:
971 2009-12-06 Shinichiro Hamaji <hamaji@chromium.org>
973 Unreviewed. Revert r51748.
975 Bugzilla should show images in git patches
976 https://bugs.webkit.org/show_bug.cgi?id=31395
978 * PrettyPatch/PrettyPatch.rb:
980 2009-12-06 Shinichiro Hamaji <hamaji@chromium.org>
982 Reviewed by David Kilzer.
984 Bugzilla should show images in git patches
985 https://bugs.webkit.org/show_bug.cgi?id=31395
987 Show images in git patches using git-apply.
989 * PrettyPatch/PrettyPatch.rb:
991 2009-10-23 Eric Seidel <eric@webkit.org>
993 Reviewed by Adam Roben.
995 PrettyPatch should show images even when they have the wrong mime type
996 https://bugs.webkit.org/show_bug.cgi?id=29506
998 * PrettyPatch/PrettyPatch.rb:
1000 2009-10-17 Alexey Proskuryakov <ap@apple.com>
1002 Reviewed by Eric Carlson.
1004 https://bugs.webkit.org/show_bug.cgi?id=30470
1005 Make marking a bug as duplicate easier
1007 * js/field.js: (setResolutionToDuplicate): Focus the edit field, too.
1009 2009-10-16 Alexey Proskuryakov <ap@apple.com>
1011 Reviewed by Mark Rowe.
1013 https://bugs.webkit.org/show_bug.cgi?id=30470
1014 Make marking a bug as duplicate easier
1016 * js/field.js: (setResolutionToDuplicate): Show edit field right away, don't make the user
1019 2009-09-09 David Kilzer <ddkilzer@apple.com>
1021 Update data/params parameters
1023 * data/params: Updated 'attachment_base' parameter for secure
1024 attachments. Updated 'mybugstemplate' parameter to search for
1025 bugs in UNCONFIRMED, ASSIGNED and REOPENED status in addition to
1028 2009-08-11 David Kilzer <ddkilzer@apple.com>
1030 Updated data/params parameter
1032 * data/params: Updated 'loginnetmask' parameter to allow users
1033 to choose whether their cookies are restricted to a single IP
1036 2009-07-07 David Kilzer <ddkilzer@apple.com>
1038 Updated BugsSite with local changes on server
1040 The new files were created by checksetup.pl during the upgrade
1041 to Bugzilla 3.2.3. The rest are self-explanatory.
1043 * data: Added "bugzilla-update.xml" to svn:ignore.
1044 * data/attachments: Added "groups.*" to svn:ignore.
1045 * data/params: Updated for a few changed parameters.
1047 * lib/.htaccess: Added.
1048 * skins/contrib/Dusk/IE-fixes.css: Added.
1049 * skins/contrib/Dusk/admin.css: Added.
1050 * skins/contrib/Dusk/create_attachment.css: Added.
1051 * skins/contrib/Dusk/dependency-tree.css: Added.
1052 * skins/contrib/Dusk/duplicates.css: Added.
1053 * skins/contrib/Dusk/editusers.css: Added.
1054 * skins/contrib/Dusk/help.css: Added.
1055 * skins/contrib/Dusk/index.css: Added.
1056 * skins/contrib/Dusk/panel.css: Added.
1057 * skins/contrib/Dusk/params.css: Added.
1058 * skins/contrib/Dusk/release-notes.css: Added.
1059 * skins/contrib/Dusk/show_bug.css: Added.
1060 * skins/contrib/Dusk/show_multiple.css: Added.
1061 * skins/contrib/Dusk/summarize-time.css: Added.
1062 * skins/contrib/Dusk/voting.css: Added.
1063 * skins/contrib/Dusk/yui: Added.
1064 * skins/contrib/Dusk/yui/calendar.css: Added.
1065 * skins/custom/IE-fixes.css: Added.
1066 * skins/custom/admin.css: Added.
1067 * skins/custom/buglist.css: Added.
1068 * skins/custom/create_attachment.css: Added.
1069 * skins/custom/dependency-tree.css: Added.
1070 * skins/custom/duplicates.css: Added.
1071 * skins/custom/editusers.css: Added.
1072 * skins/custom/help.css: Added.
1073 * skins/custom/panel.css: Added.
1074 * skins/custom/params.css: Added.
1075 * skins/custom/release-notes.css: Added.
1076 * skins/custom/show_bug.css: Added.
1077 * skins/custom/show_multiple.css: Added.
1078 * skins/custom/summarize-time.css: Added.
1079 * skins/custom/voting.css: Added.
1080 * skins/custom/yui: Added.
1081 * skins/custom/yui/calendar.css: Added.
1083 2009-07-03 David Kilzer <ddkilzer@apple.com>
1085 Bug 26958: Change edit link to review link in request messages
1087 <https://bugs.webkit.org/show_bug.cgi?id=26958>
1089 Reviewed by Dan Bernstein.
1091 * template/en/custom/request/email.txt.tmpl: Copied from BugsSite/template/en/default/request/email.txt.tmpl.
1092 Changed link from "action=edit" to "action=review".
1094 2009-07-03 David Kilzer <ddkilzer@apple.com>
1096 Bug 26950: Make the summary and alias fields support click-to-edit
1097 <https://bugs.webkit.org/show_bug.cgi?id=26950>
1099 Reviewed by Maciej Stachowiak.
1101 Original patch by Maciej Stachowiak.
1104 (hideEditableField): Updated to add click event listeners to the
1105 alias and short description elements to make them easier to
1106 edit. Renamed field_id parameter to field2_id (short
1107 description id) and added a field1_id parameter (alias id).
1108 (showEditableField): If a third parameter is passed in the
1109 ContainerInputArray parameter, use it to find the element to
1110 focus. Otherwise, fall back to the original behavior of
1111 focusing the first input field.
1112 (hideAliasAndSummary): Changed to pass the id for the alias
1113 element to hideEditableField().
1115 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1117 Config file for contrib/recode.pl when upgrading bugs.webkit.org
1119 Current as of midday on Wednesday, July 1, 2009.
1121 * contrib/recode-overrides.txt: Added.
1123 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1125 Workaround for WebKit Bug 9630 when running contrib/recode.pl
1127 A number of WebKit nightly builds included Bug 9630 which caused
1128 non-breaking space characters (0xA0) to be submitted within the
1129 content of textarea elements.
1131 * contrib/recode.pl: To work around these 0xA0 characters, try
1132 an encoding of cp1252 and use it if it works.
1134 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1136 Don't print "Failed to guess" warning if an override is available
1138 * contrib/recode.pl: Check that %overrides does NOT contain a
1139 key matching the current digest before printing out the warning
1140 about a failed charset guess.
1142 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1144 Added --[no-]truncate switch to contrib/recode.pl
1146 * contrib/recode.pl: Added --[no-]truncate switch to make
1147 debugging of failed charset guessing easier. Often times the
1148 illegal character was truncated in the output.
1150 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1152 Changed Perl scripts to use #!/usr/bin/env perl
1154 perl -pi -e 's@#\!/usr/bin/perl@#\!/usr/bin/env perl@' *.cgi *.pl */*.pl
1156 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1158 Replace Bugzilla favicon with webkit.org favicon
1160 * favicon.ico: Removed.
1161 * images/favicon.ico: Replaced. Copied from favicon.ico.
1163 2009-07-02 David Kilzer <ddkilzer@webkit.org>
1165 Merged BugsSite to Bugzilla-3.2.3
1167 Updated to the latest-and-greatest stable version.
1169 2009-07-02 David Kilzer <ddkilzer@webkit.org>
1171 Merged BugsSite to Bugzilla-3.0.3
1173 Nothing to see here. Move along.
1175 2009-06-09 Eric Seidel <eric@webkit.org>
1177 Reviewed by Adam Roben.
1179 Add support for displaying added png files in PrettyPatch diffs
1180 https://bugs.webkit.org/show_bug.cgi?id=26210
1182 Currently this is SVN only (git-send-bugzilla patches exclude binary data)
1183 and only works for PNG files but could easily be made to work for other images as needed.
1185 * PrettyPatch/PrettyPatch.rb:
1187 2009-05-19 Eric Seidel <eric@webkit.org>
1189 Reviewed by Adam Roben.
1191 Make PrettyPatch understand quoted filenames in git diffs.
1192 https://bugs.webkit.org/show_bug.cgi?id=25881
1194 * PrettyPatch/PrettyPatch.rb:
1196 2009-05-15 Simon Fraser <simon.fraser@apple.com>
1198 Carrying forwards Darin Adler's rubber stamp
1200 Make the comment field wider too.
1202 * skins/custom/global.css:
1204 2009-05-14 Simon Fraser <simon.fraser@apple.com>
1206 Reviewed by Darin Adler
1208 Make the URL, Summary and Keyword fields wider to mitigate the
1209 effects of https://bugs.webkit.org/show_bug.cgi?id=25566 and make
1210 things generally better.
1212 * skins/custom/global.css:
1213 * template/en/custom/bug/edit.html.tmpl:
1215 2008-11-10 Darin Adler <darin@apple.com>
1217 - fix more of https://bugs.webkit.org/show_bug.cgi?id=21400
1218 "Edit" links for patches in comments, review queue, review emails
1219 should be replaced by "Review Patch" links
1221 * globals.pl: Fix cases that are automatically generated, such as links
1222 in comments in bugs.
1224 * template/en/custom/attachment/created.html.tmpl: Fix the link on the
1225 "I just created an attachment" page.
1227 * template/en/custom/request/queue.html.tmpl: Fix the link in the queue
1230 2008-11-10 Darin Adler <darin@apple.com>
1232 * template/en/default/request/queue.html.tmpl: Use review links instead
1233 of edit links in the review queue.
1235 2008-11-10 Darin Adler <darin@apple.com>
1237 * template/en/custom/request/email.txt.tmpl: Send review links instead
1238 of edit links when flags are set on a bug.
1240 2008-10-27 Darin Adler <darin@apple.com>
1242 * template/en/custom/attachment/reviewform.html.tmpl: Leave out the
1243 comment if it's untouched.
1245 2008-10-23 Adam Roben <aroben@apple.com>
1247 Fix Bug 21401: Comments field on "Review Patch" page should be
1248 initially filled with quoted patch
1250 <https://bugs.webkit.org/show_bug.cgi?id=21401>
1252 Reviewed by Dave Hyatt.
1255 (edit): Retrieve the attachment data from the database instead of just
1256 its length. When the attachment is a patch, create a quotedpatch
1257 template variable that contains the patch data with each line
1258 prepended with "> ".
1259 * template/en/custom/attachment/reviewform.html.tmpl:
1260 - Changed the comments field to have a monospace font
1261 - Added an "Enter comments below:" caption above the comments field
1262 to make it clearer that this is where comments should go, now that
1263 the comments field is not initially empty
1264 - Fill the comments field with the quoted patch
1266 2008-10-14 Adam Roben <aroben@apple.com>
1268 Fix Bug 21602: Bugzilla times out trying to display formatted diff for
1271 https://bugs.webkit.org/show_bug.cgi?id=21602
1273 Reviewed by Dave Kilzer.
1275 * PrettyPatch/PrettyPatch.rb:
1276 (PrettyPatch.BINARY_FILE_MARKER_FORMAT): Added.
1277 (PrettyPatch.FileDiff.initialize): If any of the lines in the diff
1278 are a binary file marker, mark this FileDiff as binary and stop trying
1279 to process the lines.
1280 (PrettyDiff.FileDiff.to_html): If we're binary, just print a string
1283 2008-10-02 Adam Roben <aroben@apple.com>
1285 * template/en/custom/attachment/reviewform.html.tmpl: Fix typo.
1287 2008-10-02 Adam Roben <aroben@apple.com>
1289 * template/en/custom/attachment/review.html.tmpl: Fix URLs
1291 2008-10-02 Adam Roben <aroben@apple.com>
1293 Fix Bug 21315: bugs.webkit.org should have a nicer patch review
1296 https://bugs.webkit.org/show_bug.cgi?id=21315
1298 Reviewed by Tim Hatcher.
1301 (top level): Added support for the "review" and "reviewform" actions.
1302 (sub edit): Accept the template name as a parameter. If no name is
1303 give, use "edit" as before.
1304 * template/en/custom/attachment/list.html.tmpl: Added a "Review Patch"
1305 link for all patch attachments.
1306 * template/en/custom/attachment/review.html.tmpl: Added. Simple
1307 <frameset> page to show the patch on the top and a comment form on the
1309 * template/en/custom/attachment/reviewform.html.tmpl: Added. Simple
1310 comment form for reviewing patches.
1312 2008-10-02 Adam Roben <aroben@apple.com>
1314 Remove references to some backup files I created when implementing
1315 PrettyPatch in Bugzilla
1317 Reviewed by Tim Hatcher.
1319 * attachment-aroben.cgi: Removed.
1320 * template/en/default/attachment/edit-aroben.html.tmpl: Removed.
1322 * template/en/custom/attachment/edit.html.tmpl: Removed an erroneous
1323 reference to attachment-aroben.cgi. attachment.cgi will work just
1326 2008-06-25 David Kilzer <ddkilzer@apple.com>
1328 Make PrettyPatch handle diffs with no Index or diff headers
1330 Part of Bug 19290: More patches not handled by PrettyPatch.rb
1331 <https://bugs.webkit.org/show_bug.cgi?id=19290>
1335 * PrettyPatch/PrettyPatch.rb:
1336 (PrettyPatch.DIFF_HEADER_FORMATS): Added regular expression to
1337 match on "+++ " lines for patches with no "Index" or "diff" header.
1338 (PrettyPatch.FileDiff.initialize): Look for filename on "+++ " line
1339 when the first line of a patch has no "Index" or "diff" header.
1340 (PrettyPatch.FileDiff.parse): Added haveSeenDiffHeader state
1341 variable to determine when no "Index" or "diff" header has been
1342 found, but a new patch has started with a "--- " line.
1344 2008-06-08 Dan Bernstein <mitz@apple.com>
1346 Reviewed by Adam Roben.
1348 - update trac URL in PrettyPatch
1350 * PrettyPatch/PrettyPatch.rb:
1352 2008-05-29 Adam Roben <aroben@apple.com>
1354 Update PrettyPatch directory list
1356 * PrettyPatch/PrettyPatch.rb:
1358 2008-05-28 Adam Roben <aroben@apple.com>
1360 Make PrettyPatch able to handle diffs taken from outside the WebKit
1363 Part of Bug 19290: More patches not handled by PrettyPatch.rb
1364 <https://bugs.webkit.org/show_bug.cgi?id=19290>
1366 Reviewed by David Kilzer.
1368 * PrettyPatch/PrettyPatch.rb:
1369 (PrettyPatch.find_url_and_path): Added. Searches the file path from
1370 the bottom up looking for a directory that exists in the source tree.
1371 (PrettyPatch.linkifyFilename): Changed to call find_url_and_path.
1373 2008-05-28 Adam Roben <aroben@apple.com>
1375 Print exceptions from PrettyPatch to stdout
1377 This will make it much easier to debug problems with PrettyPatch,
1378 since we'll be able to see the exceptions in the browser.
1380 Reviewed by Sam Weinig.
1382 * PrettyPatch/prettify.rb: Added a --html-exceptions option, which
1383 will print exceptions to stdout as HTML.
1384 * attachment.cgi: Changed to pass --html-exceptions to prettify.rb.
1386 2008-04-26 David Kilzer <ddkilzer@apple.com>
1388 Removed temp files and added appropriate svn:ignore properties.
1390 Rubber-stamped by Mark Rowe.
1392 * data: Added svn:ignore property for "versioncache" and "versioncache.*" files.
1394 * data/template: Added svn:ignore property for "template" subdirectory.
1395 * data/template/template: Removed precompiled template subdirectory.
1397 * data/versioncache: Removed.
1398 * data/versioncache.*: Removed backup versioncache files.
1400 * data/webdot: Added svn:ignore property for "*.dot" files.
1401 * data/webdot/*.dot: Removed cached webdot files.
1403 2008-04-08 Adam Roben <aroben@apple.com>
1405 Combine :equal operations with the following operation if they are
1406 fewer than 3 characters long
1408 This keeps us from showing lots of small changes on long lines, just
1409 because some letters happened to be the same.
1412 http://code.google.com/p/reviewboard/source/browse/trunk/reviewboard/diffviewer/diffutils.py?r=1264#147
1414 * PrettyPatch/PrettyPatch.rb:
1415 (PrettyPatch::DiffSection.initialize): Remove :equal operations fewer
1416 than 3 characters long. The characters from the removed operations
1417 become part of the subsequent operation.
1418 (PrettyPatch::CodeLine.text_as_html): Don't wrap 0-length strings in
1419 <ins>/<del> tags. Also removed the @fromLineNumber.nil? and
1420 @toLineNumber.nil? checks as they are no longer reliable now that
1421 we're removing operations.
1423 2008-04-08 Adam Roben <aroben@apple.com>
1425 Change PrettyPatch to use DiffBuilder for intra-line diffs
1427 This gives us much prettier intra-line diffs, largely because it can
1428 distinguish multiple changes on the same line. e.g., if a line changes
1431 const int myConstant = 0;
1435 static const unsigned myConstant;
1437 You will see that "static " was inserted, "int" changed to "unsigned",
1438 and " = 0" was deleted.
1440 This seems to have also gotten rid of some spurious instances of
1441 "<ins></ins>" and "<del></del>" at the end of a line.
1443 * PrettyPatch/PrettyPatch.rb:
1444 (PrettyPatch::DiffSection.initialize): Use DiffBuilder instead of
1445 setChangeExtentFromLine (which had been copied from Trac's diffing
1447 (PrettyPatch::CodeLine):
1448 - Removed the changeExtent attribute
1449 - Added the operations attribute
1450 - Removed the setChangeExtentFromLine method
1451 (PrettyPatch::CodeLine.text_as_html): Uses @operations to determine
1452 what text to wrap in <ins> and <del> tags.
1453 * PrettyPatch/diff.rb: Deleted a bunch of code we don't use.
1454 (HTMLDiff::DiffBuilder.initialize): Moved code here from the old build
1455 method, but left out the calls to perform_operation, since we build
1456 the diff HTML outside of this class.
1457 (HTMLDiff::DiffBuilder.split_inputs_to_words): Removed calls to
1458 convert_html_to_list_of_words, since we're not diffing HTML.
1460 2008-04-08 Adam Roben <aroben@apple.com>
1465 http://instiki.rubyforge.org/svn/instiki/trunk/lib/diff.rb
1468 * PrettyPatch/diff.rb: Added.
1470 2008-03-04 Adam Roben <aroben@apple.com>
1472 * PrettyPatch/PrettyPatch.rb: Allow the extent of the previous file to
1473 be omitted from the hunk header.