1 2011-01-19 Ojan Vafai <ojan@chromium.org>
3 Reviewed by Adam Barth.
5 [reviewtool] Add a link for annotated trac page on review page
6 https://bugs.webkit.org/show_bug.cgi?id=52747
8 -add line numbers to all trac links to the first line in the file diff
9 -add annotate/review log links
10 -make file-diff links other than the file name only show when you mouseover the filediff
11 -fix white-space to only wrap the .text element and it's childen, any of it's siblings/parents
13 * PrettyPatch/PrettyPatch.rb:
16 2011-01-14 Ojan Vafai <ojan@chromium.org>
18 Reviewed by Adam Barth.
20 make line selection have a extend only from where you start the selection in the code review tool
21 https://bugs.webkit.org/show_bug.cgi?id=52485
25 2011-01-18 Ojan Vafai <ojan@chromium.org>
27 Reviewed by Eric Seidel.
29 make file expansion use the file at the svn revision the diff was created at
30 https://bugs.webkit.org/show_bug.cgi?id=52650
32 This only works for patches created with SVN for now since the git
33 diff does not include SVN revision numbers in it.
35 * PrettyPatch/PrettyPatch.rb:
38 2011-01-15 Adam Barth <abarth@webkit.org>
40 Rubber-stamped by Eric Seidel.
42 Move WebKit2 into Source
43 https://bugs.webkit.org/show_bug.cgi?id=52438
45 Remove WebKit2 from the list of top-level source directories.
47 * PrettyPatch/PrettyPatch.rb:
49 2011-01-14 Ojan Vafai <ojan@chromium.org>
51 Reviewed by Adam Barth.
53 fix expanded lines in the code review tool
54 https://bugs.webkit.org/show_bug.cgi?id=52498
56 Fixes them to work now that we have wrapper divs.
57 Also fixes the long-standing bug that the line numbers
58 were incorrect sometimes.
62 2011-01-14 Ojan Vafai <ojan@chromium.org>
64 Reviewed by Adam Barth.
66 put remove lines to the left of add lines in sidebyside view
67 https://bugs.webkit.org/show_bug.cgi?id=52458
69 Also, sneaking in a fix to make long lines with no whitespace wrap.
71 * PrettyPatch/PrettyPatch.rb:
74 2011-01-14 Ojan Vafai <ojan@chromium.org>
76 Fix bad merge in r75816.
80 2011-01-14 Ojan Vafai <ojan@chromium.org>
82 Reviewed by Adam Barth.
84 improve line selection with fast drags
85 https://bugs.webkit.org/show_bug.cgi?id=52477
89 2011-01-14 Ojan Vafai <ojan@chromium.org>
91 Reviewed by Adam Barth.
93 tweak line selection in code review tool
94 https://bugs.webkit.org/show_bug.cgi?id=52462
96 -Improve handling of data-comment-base-line code to deal with
97 lines that have multiple values.
98 -Make it so that if you click on the line immediately above
99 a line that has a comment it will add a new comment instead of
100 adding lines to the following comment. If the last selected line
101 overlaps existing comment lines though they will still get
102 added to the existing comment.
106 2011-01-14 Ojan Vafai <ojan@chromium.org>
108 Reviewed by Adam Roben.
110 fix bugs going back and forth between unified and sidebyside
111 https://bugs.webkit.org/show_bug.cgi?id=52470
113 Now that we're appending DOM nodes directly, we only want to
114 get the first ".text" element in the subtree. In the cases
115 where there are multiple, their contents are the same.
117 Also, when making side-by-side expansion lines, we need to
118 clone the contents so we have a second copy to append to the DOM.
122 2011-01-13 Ojan Vafai <ojan@chromium.org>
124 Reviewed by Adam Barth.
126 simplify keyboard handling in code review tool
127 https://bugs.webkit.org/show_bug.cgi?id=52407
129 Now that we have DiffBlock containers, the only things that are
130 focusable are previousComment nodes and DiffBlock containers
131 that contain add/remove lines.
133 Also, this means we show the focus border around the entire diff
134 instead of just the first line.
138 2011-01-13 Ojan Vafai <ojan@chromium.org>
140 Reviewed by Adam Barth.
142 add container divs for diff blocks
143 https://bugs.webkit.org/show_bug.cgi?id=52400
145 This will help simplify a lot of code in code-review.js
146 and make side-by-side diffs better (i.e. put removed lines
147 to the left of corresponding added lines).
149 Also, allow for running the JS from a local file. Now you can modify code-review.js
150 to point to a local file and then run:
151 ruby prettify.rb < foo.diff > foo.html
153 foo.html will load a dummy code review matching foo.diff.
176 * PrettyPatch/PrettyPatch.rb:
179 2011-01-12 Ojan Vafai <ojan@chromium.org>
181 Reviewed by Mihai Parparita.
183 fix assorted bugs with expansion lines
184 https://bugs.webkit.org/show_bug.cgi?id=52326
186 -Clicking "all" would collapse whitespace in the expanded lines.
187 -Converted the remaining line creation code to using the DOM.
189 * PrettyPatch/PrettyPatch.rb:
192 2011-01-12 Ojan Vafai <ojan@chromium.org>
194 Reviewed by Adam Barth.
196 review tool formatted diff doesn't match the uploaded diff
197 https://bugs.webkit.org/show_bug.cgi?id=51960
199 PrettyPatch works just fine if there is no newline at the end of the file.
203 2011-01-12 Ojan Vafai <ojan@chromium.org>
205 Reviewed by Adam Barth.
207 Bugzilla: Add keyboard shortcuts to jump to next change
208 https://bugs.webkit.org/show_bug.cgi?id=52305
210 Comments and diff blocks go in the same queue. If you have a
211 comment focused, then j/k will focus the next/prev diff block
212 with respect to that comment.
214 * PrettyPatch/PrettyPatch.rb:
217 2011-01-12 Ojan Vafai <ojan@chromium.org>
219 Reviewed by Adam Barth.
221 show shared lines on both sides in code review tool
222 https://bugs.webkit.org/show_bug.cgi?id=52308
224 We were appending the same DOM node twice. Instead, make
225 the from column a clone of the original node.
229 2011-01-12 Ojan Vafai <ojan@chromium.org>
231 Reviewed by Adam Barth.
233 fix wrapping bug in expansion lines in the code review tool
234 https://bugs.webkit.org/show_bug.cgi?id=52270
236 * PrettyPatch/PrettyPatch.rb:
239 2011-01-11 Ojan Vafai <ojan@chromium.org>
241 Reviewed by Adam Barth.
243 fix difflink centering to be vertical, not horizontal
244 https://bugs.webkit.org/show_bug.cgi?id=52263
246 * PrettyPatch/PrettyPatch.rb:
249 2011-01-11 Ojan Vafai <ojan@chromium.org>
251 Reviewed by Adam Barth.
253 remember diffstate for review tool
254 https://bugs.webkit.org/show_bug.cgi?id=52253
256 If you use the global sidebyside/unified links, store the diff type
257 in localstorage. Then, onload, use that diff type. That way, people
258 who prefer one diff type or the other can always get that by default.
262 2011-01-11 Ojan Vafai <ojan@chromium.org>
264 Reviewed by Adam Barth.
266 allow sidebysideifying individual files in the code review tool
267 https://bugs.webkit.org/show_bug.cgi?id=52226
271 2011-01-11 Ojan Vafai <ojan@chromium.org>
273 Reviewed by Mihai Parparita.
275 fix exception when adding a comment to a side-by-side diff
276 https://bugs.webkit.org/show_bug.cgi?id=52240
278 prev() and next() won't get the previous and next lines in
279 side-by-side mode. Instead do a query to find them.
283 2011-01-11 Ojan Vafai <ojan@chromium.org>
285 Reviewed by Mihai Parparita.
287 maintain word diffs when converting to side-by-side and back
288 https://bugs.webkit.org/show_bug.cgi?id=52244
290 Using textContent would lose the spans use to make the word-diff highlighting.
291 Just move the span element itself.
295 2011-01-11 Ojan Vafai <ojan@chromium.org>
297 Reviewed by Adam Barth.
299 fix layout error with comments in code review tool
300 https://bugs.webkit.org/show_bug.cgi?id=52230
302 * PrettyPatch/PrettyPatch.rb:
304 2011-01-10 Ojan Vafai <ojan@chromium.org>
306 Reviewed by Adam Barth.
308 convert back to unified from sidebyside diff
309 https://bugs.webkit.org/show_bug.cgi?id=52180
311 Remove url fragment stuff. Having it be per-filediff is too complicated.
313 * PrettyPatch/PrettyPatch.rb:
316 2011-01-07 Adam Barth <abarth@webkit.org>
318 Rubber-stamped by Eric Seidel.
320 Move WebCore to Source
321 https://bugs.webkit.org/show_bug.cgi?id=52050
323 Remove reference to old directory.
325 * PrettyPatch/PrettyPatch.rb:
327 2011-01-06 Ojan Vafai <ojan@chromium.org>
329 Reviewed by Adam Barth.
331 side-by-side diffs in the code review tool
332 https://bugs.webkit.org/show_bug.cgi?id=52019
334 Support for conversion from the formatted diff to a side-by-side diff.
335 Maintains comments and new comments can be added.
337 The main architectural change is that Line elements are no longer necessarily
338 siblings. Each physical line is now in a LineContainer and LineContainers are
339 siblings. Each Line corresponds to a Line in the unified diff and has an id (e.g. line12).
340 A Line can be a LineContainer or a child of a LineContainer.
342 In this way, converting to side-by-side and, in the future, back to unified is non-lossy.
344 * PrettyPatch/PrettyPatch.rb:
347 2011-01-06 Ojan Vafai <ojan@chromium.org>
349 Fix line context when replying to comments.
353 2011-01-05 Ojan Vafai <ojan@chromium.org>
355 Reviewed by Adam Barth.
357 change the way we do comment highlighting in the code review tool
358 https://bugs.webkit.org/show_bug.cgi?id=51971
360 Store a space-separated list of base line IDs on each line that has
361 comments associated with that line. This allows for overlapping comments,
362 but more importantly, makes adding side-by-side diff support easier.
366 2011-01-05 Ojan Vafai <ojan@chromium.org>
368 Reviewed by Adam Barth.
370 minor code cleanup for code review tool
371 https://bugs.webkit.org/show_bug.cgi?id=51962
373 Consolidates some queries to using shared functions.
377 2011-01-05 Ojan Vafai <ojan@chromium.org>
379 Reviewed by Adam Barth.
381 assorted cleanups to prepare for side-by-side diffing
382 https://bugs.webkit.org/show_bug.cgi?id=51961
384 Mostly, use selector queries instead of assuming comments are next siblings.
388 2011-01-05 Ojan Vafai <ojan@chromium.org>
390 Reviewed by Adam Barth.
392 fix message container selector for code review tool
393 https://bugs.webkit.org/show_bug.cgi?id=51959
397 2011-01-04 Ojan Vafai <ojan@chromium.org>
399 Increment version number to avoid getting the cached JS file.
401 * PrettyPatch/PrettyPatch.rb:
403 2010-12-15 Ojan Vafai <ojan@chromium.org>
405 Reviewed by Adam Barth.
407 anchor the toolbar to the bottom of the diff if the diff doesn't take a full screen of height
408 https://bugs.webkit.org/show_bug.cgi?id=51162
410 * PrettyPatch/PrettyPatch.rb:
413 2011-01-01 Adam Barth <abarth@webkit.org>
415 Reviewed by Eric Seidel.
417 Move JavaScriptCore to Source
418 https://bugs.webkit.org/show_bug.cgi?id=51604
420 * PrettyPatch/PrettyPatch.rb:
421 - Remove reference to JavaScriptCore as a source directory.
423 2011-01-01 Adam Barth <abarth@webkit.org>
425 Reviewed by Eric Seidel.
427 Move Sources to Source
428 https://bugs.webkit.org/show_bug.cgi?id=51794
430 * PrettyPatch/PrettyPatch.rb:
432 2010-12-31 Adam Barth <abarth@webkit.org>
434 Rubber-stamped by Eric Seidel.
436 Move PageLoadTests to PerformanceTests/PageLoad
437 https://bugs.webkit.org/show_bug.cgi?id=51771
439 Update list of top-level open-source directories.
441 * PrettyPatch/PrettyPatch.rb:
443 2010-12-31 Adam Barth <abarth@webkit.org>
445 Rubber-stamped by Eric Seidel.
447 Move SunSpider into PerformanceTests
448 https://bugs.webkit.org/show_bug.cgi?id=51769
450 Update list of top-level open-source directories.
452 * PrettyPatch/PrettyPatch.rb:
454 2010-12-26 Adam Barth <abarth@webkit.org>
456 Reviewed by Eric Seidel.
458 Move autotools into Sources
459 https://bugs.webkit.org/show_bug.cgi?id=51630
461 * PrettyPatch/PrettyPatch.rb:
462 - Remove reference to non-existant autotools directory.
464 2010-12-26 Adam Barth <abarth@webkit.org>
466 Reviewed by Eric Seidel.
468 Move cmake into Sources
469 https://bugs.webkit.org/show_bug.cgi?id=51631
471 * PrettyPatch/PrettyPatch.rb:
473 2010-12-23 Adam Barth <abarth@webkit.org>
475 Rubber-stamped by Eric Seidel.
477 Move JavaScriptGlue into Sources
478 https://bugs.webkit.org/show_bug.cgi?id=51583
480 PrettyPatch keeps a list of the top-level directories that exist in
483 * PrettyPatch/PrettyPatch.rb:
485 2010-12-20 Adam Barth <abarth@webkit.org>
487 One more tweak caused by moving the web sites around. I had this
488 change in my patch originally, but I missed it because I had to use
489 server-side svn move commands to move the bulk of the web site files.
491 * PrettyPatch/PrettyPatch.rb:
493 2010-12-18 Adam Barth <abarth@webkit.org>
495 Reviewed by Sam Weinig.
497 Move WebKitExamplePlugins to Examples
498 https://bugs.webkit.org/show_bug.cgi?id=51291
500 * PrettyPatch/PrettyPatch.rb:
502 2010-12-17 Dan Bernstein <mitz@apple.com>
504 Reviewed by Simon Fraser.
506 Rename WebKitTools to Tools
507 https://bugs.webkit.org/show_bug.cgi?id=49861
509 * PrettyPatch/PrettyPatch.rb:
510 * committers-autocomplete.js:
512 2010-12-17 Ojan Vafai <ojan@chromium.org>
514 Increment psuedo-version number to avoid pulling cached version.
516 * PrettyPatch/PrettyPatch.rb:
518 2010-12-17 Ojan Vafai <ojan@chromium.org>
520 Speculative fix for the code review tool in Firefox.
521 Fixes a JS error and makes the status bubble mostly work
522 if postMessage is not supported.
524 * PrettyPatch/PrettyPatch.rb:
527 2010-12-15 Ojan Vafai <ojan@chromium.org>
529 Reviewed by Adam Barth.
531 size status bubble to it's contents on the code review page
532 https://bugs.webkit.org/show_bug.cgi?id=51142
534 * PrettyPatch/PrettyPatch.rb:
537 2010-12-15 Ojan Vafai <ojan@chromium.org>
539 Reviewed by Adam Barth.
541 fix goofups from r74142 and r74130
542 https://bugs.webkit.org/show_bug.cgi?id=51146
544 Accidentally shrank the inline comment boxes and made
545 the toolbar not show up when there were image diffs.
547 * PrettyPatch/PrettyPatch.rb:
550 2010-12-14 Ojan Vafai <ojan@chromium.org>
552 Reviewed by Adam Barth.
554 add ability to view for file context to the review tool
555 https://bugs.webkit.org/show_bug.cgi?id=51057
557 At the beginning/end of each file diff and between each
558 hunk add links to expand the context. For now it grabs the
559 tip of tree version of the file and tries to apply the diff
560 to that file. If it can't apply, then it gives up as we
561 wouldn't want to show the wrong lines of context.
563 In the future, we can consider adding the upload svn revision
564 to the diff itself, then we could fallback to the file at that
565 revision if tip of tree doesn't apply.
567 * PrettyPatch/PrettyPatch.rb:
570 2010-12-08 Ojan Vafai <ojan@chromium.org>
572 Reviewed by Adam Barth.
574 [reviewtool] should always show overall comments text box
575 https://bugs.webkit.org/show_bug.cgi?id=45870
577 * PrettyPatch/PrettyPatch.rb:
580 2010-12-04 Patrick Gansterer <paroga@webkit.org>
582 Reviewed by Adam Barth.
584 Increase size of status bubbles
585 https://bugs.webkit.org/show_bug.cgi?id=50496
587 The current available space isn't enough to display all
588 pending results including position in the queue.
590 * PrettyPatch/PrettyPatch.rb:
592 2010-12-04 Patrick Gansterer <paroga@webkit.org>
594 Reviewed by Adam Barth.
596 Increase size of status bubbles
597 https://bugs.webkit.org/show_bug.cgi?id=50496
599 The current available space isn't enough to display all
600 pending results including position in the queue.
602 * template/en/custom/attachment/edit.html.tmpl:
603 * template/en/custom/attachment/list.html.tmpl:
604 * template/en/custom/attachment/reviewform.html.tmpl:
606 2010-11-08 Adam Barth <abarth@webkit.org>
608 Update help text to match behavior change.
612 2010-11-08 Adam Barth <abarth@webkit.org>
614 Reviewed by Eric Seidel.
616 Restore normal meaning of double-click on patch review page?
617 https://bugs.webkit.org/show_bug.cgi?id=47641
619 After this patch, you need to click on the line numbers to add a
622 * PrettyPatch/PrettyPatch.rb:
625 2010-10-09 Adam Barth <abarth@webkit.org>
627 Reviewed by Alexey Proskuryakov.
629 Exception in committers-autocomplete in Firefox
630 https://bugs.webkit.org/show_bug.cgi?id=47456
632 Remove dependency on a WebKit-only quirk. IMHO, this quirk is bad for
633 the long-term health of the web, but that's a discussion for another
636 * committers-autocomplete.js:
638 2010-10-08 Adam Barth <abarth@webkit.org>
640 Reviewed by Oliver Hunt.
642 Bugmail for new attachments should link to the reviewtool
643 https://bugs.webkit.org/show_bug.cgi?id=47440
645 As requested by olliej himself. This patch was constructed by pure
646 reason. I have no way to actually run this code.
648 * Bugzilla/BugMail.pm:
650 2010-09-28 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
652 Reviewed by Csaba Osztrogonác.
654 Convert verbatim unicode values in comitter names to characters
656 * committers-autocomplete.js:
658 2010-09-24 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
660 Reviewed by Csaba Osztrogonác.
662 Support Unicode-strings in committers-autocomplete script
664 * committers-autocomplete.js:
666 2010-09-22 Adam Barth <abarth@webkit.org>
668 Reviewed by John Sullivan.
670 New review-page design doesn't include name of reviewer
671 https://bugs.webkit.org/show_bug.cgi?id=46271
673 * PrettyPatch/PrettyPatch.rb:
676 2010-09-22 Adam Barth <abarth@webkit.org>
680 * PrettyPatch/PrettyPatch.rb:
682 2010-09-22 Adam Barth <abarth@webkit.org>
684 Reviewed by Eric Seidel.
686 Add link to bug to review page
687 https://bugs.webkit.org/show_bug.cgi?id=46192
689 To make room for the link, I moved the help text to the top of the page
690 and tweaked the language to help folks discover that you can select
691 context using the line numbers.
693 Also, move more text to sans-serif since that fits in better with the
696 * PrettyPatch/PrettyPatch.rb:
699 2010-09-21 Adam Barth <abarth@webkit.org>
703 [reviewtool] Publish button doesn't work
704 https://bugs.webkit.org/show_bug.cgi?id=46168
706 Darin's recent patch had a runtime error. Sadly, we don't have any
707 testing for this code.
711 2010-09-20 Darin Adler <darin@apple.com>
713 Reviewed by Adam Barth.
715 Add Preview button and link to bug to patch review bar
716 https://bugs.webkit.org/show_bug.cgi?id=46153
718 * PrettyPatch/PrettyPatch.rb: Bump version number to make caches happy.
719 * code-review.js: Added Preview button and link to bug.
721 2010-09-19 Adam Barth <abarth@webkit.org>
723 Reviewed by Eric Seidel.
725 [reviewtool] Publish button should actually publish the review comments
726 https://bugs.webkit.org/show_bug.cgi?id=46074
728 Instead of showing the confirmation lightbox, the Publish button now
729 publishes the comments directly. If there's demand for a "Preview"
730 button, we can find a way to add that feature.
734 2010-09-19 Adam Barth <abarth@webkit.org>
736 Reviewed by Eric Seidel.
738 Move reviewtool to action=review
739 https://bugs.webkit.org/show_bug.cgi?id=46071
741 This patch removes the old Review Patch screen and moves the new
742 reviewtool from Pretty Diff to Review Patch.
747 2010-09-19 Adam Barth <abarth@webkit.org>
749 Review tool UI tweak. This patch lengthens the status bubbles so all
750 the bubble fit (even when they have numbers inside).
752 * PrettyPatch/PrettyPatch.rb:
754 2010-09-19 Dan Bernstein <mitz@apple.com>
756 Reviewed by Anders Carlsson.
760 * code-review.js: Changed the label of the OK button from Ok to OK.
762 2010-09-15 Adam Barth <abarth@webkit.org>
766 Only show the review-in-context link if there are contextual comments.
770 2010-09-15 Adam Barth <abarth@webkit.org>
772 Reviewed by Eric Seidel.
774 [reviewtool] Show the status bubbles on the toolbar
775 https://bugs.webkit.org/show_bug.cgi?id=45861
777 * PrettyPatch/PrettyPatch.rb:
780 2010-09-15 Adam Barth <abarth@webkit.org>
782 Reviewed by Eric Seidel.
784 [reviewtool] Allow setting review and commit-queue flags from main review screen
785 https://bugs.webkit.org/show_bug.cgi?id=45860
787 This patch adds drop down menus for adjusting the review and
788 commit-queue flags from the main review screen. These controls don't
789 appear immediately because we need to read the state of the flags off
792 It's a slight sadness that bugzilla doesn't have a clean way of
793 identifying which select control is associated with a given flag. The
794 flags seem to have some sort of id, but it's unclear to me how to map
795 that id back to a notion of "review" or "commit-queue". Instead, we
796 look for some magic strings in the title. I'm sure this will come back
797 to bit us at some point, but I'm not sure what to do that's better.
798 (The webkitpy solution to this problem is to assume that the flags are
799 in a given order, but this seems better.)
801 * PrettyPatch/PrettyPatch.rb:
802 - Bump version number to bust throuh caches.
805 2010-09-15 Adam Barth <abarth@webkit.org>
807 Reviewed by Eric Seidel.
809 [reviewtool] Comments should quote previous comments on the same line
810 https://bugs.webkit.org/show_bug.cgi?id=45847
812 Now when you reply to a previous comment, the tool will quote the
813 previous comment in the bugs.webkit.org post. This makes it eaiser for
814 folks following along in email to understand the discussion.
816 While I was editing this code, I also cleaned up some of the whitespace
817 handling in comments.
821 2010-09-15 Adam Barth <abarth@webkit.org>
823 Minor UI tweak to the review tool. We want to display newlines in
824 previous and frozen comments instead of collapsing them.
826 * PrettyPatch/PrettyPatch.rb:
828 2010-09-14 Adam Barth <abarth@webkit.org>
830 Reviewed by Eric Seidel.
832 bugs.webkit.org should autocomplete WebKit Committers and Reviewers
833 https://bugs.webkit.org/show_bug.cgi?id=45799
835 This patch implements an autocomplete dropdown that helps users type
836 the names of WebKit committers and reviewers. The script grabs the
837 data from SVN now that wms set up CORS for http://svn.webkit.org.
838 Security technology for the win.
840 This script is based on (well, essentially copied from) the popular
841 autocomplete extension:
843 https://chrome.google.com/extensions/detail/olaabhcgdogcbcoiolomlcodkngnemfb
845 I asked Ojan, and said he was fine licensing the code under the BSD
846 license. I'm not sure how the patch interacts with the extension, but
847 we can retire the extension if they interact poorly.
849 * committers-autocomplete.js: Added.
850 * template/en/default/global/footer.html.tmpl:
851 - Add the script to every page on bugs.webkit.org
853 2010-09-14 Adam Barth <abarth@webkit.org>
855 Add a license block to the reviewtool. I should have added this from
856 the start. According to the SVN log, I'm the only one to have ever
861 2010-09-07 Adam Barth <abarth@webkit.org>
863 Minor tweaks to the reviewtool UI.
865 Rename Cancel to Discard to make it more clear what the button does.
866 Also, move the style declaration for the focus ring later in the sheet
869 * PrettyPatch/PrettyPatch.rb:
872 2010-09-06 Adam Barth <abarth@webkit.org>
874 Small UI tweak to the reviewtool. Make the Ok/Cancel buttons a bit
877 * PrettyPatch/PrettyPatch.rb:
879 2010-09-06 Adam Barth <abarth@webkit.org>
881 Reviewed by Eric Seidel.
883 [reviewtool] Add a quick animation for opening/closing comment boxes
884 https://bugs.webkit.org/show_bug.cgi?id=45278
886 The 200ms animation slides in and out the line-by-line comment box.
890 2010-09-06 Adam Barth <abarth@webkit.org>
892 Reviewed by Eric Seidel.
894 [reviewtool] Add a field for overall comments
895 https://bugs.webkit.org/show_bug.cgi?id=45273
897 This patch does a couple logically separate things that could be
898 separated into smaller patches:
900 1) This patch adds an "overall comments" field where you can enter
901 overall comments about the patch. These comments appear at the top
902 of the bugzilla posting. Currently, these aren't redisplayed when
903 viewing the patch, but I plan to add that in a future patch.
905 2) This patch renames some of the CSS classes to more consistently
906 follow the camelCase style that PrettyPatch uses.
908 3) This patch moves the "prepare comments" button to the left of the
909 toolbar and renames is to "publish comments". This makes more sense
910 when you scroll to the bottom of the page and enter in some overall
913 4) When you attempt to add a comment to a line that already has a
914 "frozen" comment, we now unfreeze the comment instead of doing
915 nothing. The old behavior was kind of frustrating if you didn't
916 know that you could unfreeze a comment by clicking on it.
918 * PrettyPatch/PrettyPatch.rb:
922 2010-09-06 Adam Barth <abarth@webkit.org>
924 [reviewtool] Tweak the ok button to cancel the comment if the comment
925 is empty. Previously we would get into a bad state where a line had a
926 comment but there was no longer any way to access it.
930 2010-09-06 Adam Barth <abarth@webkit.org>
932 Reviewed by Eric Seidel.
934 [reviewtool] Add an "ok" button that collapses review comments
935 https://bugs.webkit.org/show_bug.cgi?id=45255
937 Many folks (including myself) are too trigger-happy with the "delete"
938 button that we end up deleting perfectly good review comments. This
939 patch adds an "ok" button to absorb these clicks (and renames "delete"
940 to "cancel"). When you click the ok button, the comment becomes
941 non-editable and the box shrinks to fit the text. You can click the
942 text to get back to the editable version.
946 2010-08-31 Adam Barth <abarth@webkit.org>
948 Reviewed by Eric Seidel.
950 [reviewtool] Make it easy to scroll through review comments
951 https://bugs.webkit.org/show_bug.cgi?id=45002
953 This patch lets you scroll through review comments using "n" (for next)
954 and "p" (for previous). It also attributes comments to their authors.
956 * PrettyPatch/PrettyPatch.rb:
959 2010-08-31 Adam Barth <abarth@webkit.org>
961 Reviewed by Eric Seidel.
963 [reviewtool] Show previous comments inline in diff
964 https://bugs.webkit.org/show_bug.cgi?id=44977
966 This patch adds basic support for showing previous comments inline in
967 the diff. We crawl the bugs.webkit.org comments about this attachment
968 and extract comments related to specific lines. We then show the
969 comments inline in the diff.
971 This part of the tool needs a bunch of polish, but this at least is a
972 starting point for further work.
974 * PrettyPatch/PrettyPatch.rb:
977 2010-08-31 Adam Barth <abarth@webkit.org>
979 Reviewed by Eric Seidel.
981 [reviewtool] Allow reviewer to select lines of context by dragging over the line numbers
982 https://bugs.webkit.org/show_bug.cgi?id=44936
984 * PrettyPatch/PrettyPatch.rb:
985 - Add a version number to bust through bugs.webkit.org's aggressive
989 2010-08-30 Adam Barth <abarth@webkit.org>
991 Reviewed by Eric Seidel.
993 [review tool] Let reviewer select how much context to show in snippet
994 https://bugs.webkit.org/show_bug.cgi?id=44905
996 We now highlight the context for a comment in yellow on the left (where
997 the line numbers are). Clicking a line number expands or contracts the
998 amount of context, as appropriate. Informal user testing indicates
999 that we might want to support drag as well.
1001 This patch also changes the "open a comment box here" action to
1002 double-click to avoid issues with mis-clicks.
1004 * PrettyPatch/PrettyPatch.rb:
1007 2010-08-29 Adam Barth <abarth@webkit.org>
1009 Attempt to make Sam's life easier by not opening a comment text field
1010 if there's a selection. This should make it easier to copy/paste text
1011 out of the diff without accidentally opening comment boxes.
1015 2010-08-29 Adam Barth <abarth@webkit.org>
1017 Turns out we're supposed to use find instead of children here.
1021 2010-08-29 Adam Barth <abarth@webkit.org>
1023 Reviewed by Eric Seidel.
1025 Awesomify pretty-diff based review tool
1026 https://bugs.webkit.org/show_bug.cgi?id=44835
1028 This patch replaces the existing inline comment feature with a new
1029 implementation. Hopefully the new implementation is more awesome.
1030 It's not 100% done yet, but I'd like to get this version out there to
1033 Unlike the previous version this version works with the "Formatted
1034 Diff" link instead of the "Review Patch" link. Hopefully that will
1035 avoid interfering with folks who like the old style review.
1037 * PrettyPatch/PrettyPatch.rb:
1038 * code-review.js: Added.
1039 * prototype.js: Removed.
1041 2010-08-19 Tony Chang <tony@chromium.org>
1043 Reviewed by Adam Barth.
1045 webkit-patch barfed on upload with a new image test result
1046 https://bugs.webkit.org/show_bug.cgi?id=39097
1048 * PrettyPatch/PrettyPatch.rb: don't use full path to git
1050 2010-08-19 Tony Chang <tony@chromium.org>
1052 Unreviewed, setting svn:eol-style native on ChangeLog.
1054 2010-08-19 Tony Chang <tony@chromium.org>
1056 Unreviewed. Just removing \r's from ChangeLog.
1058 2010-08-02 Adam Roben <aroben@apple.com>
1060 Tell the patch prettifier about some (not so) new directories
1062 * PrettyPatch/PrettyPatch.rb: Added WebKit2, autotools, and cmake
1065 2010-07-27 Joseph Pecoraro <joepeck@webkit.org>
1067 Reviewed by David Kilzer.
1069 Provide a Helpful Link for Web Inspector Bugs in Bugzilla
1070 https://bugs.webkit.org/show_bug.cgi?id=43065
1072 * template/en/custom/global/choose-product.html.tmpl: Added. Explicitly added a link for the Web Inspector.
1074 2010-06-09 Julie Parent <jparent@chromium.org>
1076 Reviewed by David Kilzer.
1078 Bugzilla: Don't send mail for cancel/deny/granted for in-rietveld.
1080 https://bugs.webkit.org/show_bug.cgi?id=40345
1084 2010-05-17 Julie Parent <jparent@chromium.org>
1086 Reviewed by Ojan Vafai.
1088 Rietveld review page should dedicate more space to Rietveld, less to high level comments form.
1090 https://bugs.webkit.org/show_bug.cgi?id=39244
1092 * template/en/custom/attachment/reviewform.html.tmpl:
1093 Delete a random BR amongst the hidden elements that was causing extra whitespace.
1094 * template/en/custom/attachment/rietveldreview.html.tmpl:
1095 Increase size of Rietveld frame to 80%, from 60%.
1097 2010-05-14 Julie Parent <jparent@chromium.org>
1099 Reviewed by Ojan Vafai.
1101 Bugzilla: Only show "Rietveld Review" link when in-rietveld is set to +.
1103 https://bugs.webkit.org/show_bug.cgi?id=39141
1105 * template/en/custom/attachment/list.html.tmpl:
1107 2010-05-13 Julie Parent <jparent@chromium.org>
1109 Reviewed by David Kilzer.
1111 Bugzilla: Don't send mail if the only change is to the in-rietveld flag.
1113 https://bugs.webkit.org/show_bug.cgi?id=39090
1115 * Bugzilla/BugMail.pm:
1117 2010-05-12 Julie Parent <jparent@chromium.org>
1119 Reviewed by Ojan Vafai.
1121 Hide the in-rietveld flag in the UI. It is only used only by tooling and shouldn't clutter the UI.
1122 https://bugs.webkit.org/show_bug.cgi?id=39024
1124 * template/en/custom/attachment/list.html.tmpl:
1125 Removes this flag entirely from the UI, not needed on this page.
1126 * template/en/custom/flag/list.html.tmpl: Added.
1127 Copied from template/en/default/flag/list.html.tmpl with only changes inside the if WEBKIT_CHANGES section.
1128 Hides the flag rather than removing it completely, so tools can still interact with it.
1130 2010-05-12 Julie Parent <jparent@chromium.org>
1132 Reviewed by David Kilzer.
1134 Adds support for Rietveld reviews. When there is an associated
1135 Rietveld id for a patch, adds a link to do a Rietveld review instead.
1137 https://bugs.webkit.org/show_bug.cgi?id=38143
1140 Added support for handling action=rietveldreview.
1141 * template/en/custom/attachment/list.html.tmpl:
1142 Adds a link to use rietveld review iff the in_rietveld flag is set.
1143 * template/en/custom/attachment/reviewform.html.tmpl:
1144 Detects if we are in rietveld review mode due to query string paramter,
1145 and customizes the review form slightly:
1146 - Changes text describing comment field.
1147 - Comment field does not include quoted patch.
1148 - Submit button fetches from Rietveld instead of just submitting.
1149 * template/en/custom/attachment/rietveldreview.html.tmpl: Added.
1150 New template for rietveldreview mode. Hosts the rietveld frame in the
1151 top and the regular comments form in the bottom.
1152 Uses postMessage to communicate with Rietveld frame.
1154 2010-05-08 Chris Jerdonek <cjerdonek@webkit.org>
1156 Reviewed by Maciej Stachowiak.
1158 Allow long comment lines to wrap to the window width instead
1159 of to 80 characters.
1161 https://bugs.webkit.org/show_bug.cgi?id=37792
1163 * Bugzilla/Constants.pm:
1164 - Introduced a new constant COMMENT_COLS_WRAP to replace COMMENT_COLS
1165 inside the wrap_comment() subroutine. The new constant effectively
1166 disables text wrapping by increasing the value used in wrap_comment()
1167 from 80 characters to a very large value (8000).
1169 - Replaced COMMENT_COLS with COMMENT_COLS_WRAP inside wrap_comment().
1170 * skins/custom/global.css:
1172 - Eliminate the width styling on comments to allow long lines
1173 to wrap at the window width.
1174 (.bz_comment_text > span.quote):
1175 - Inherit the "white-space" property. This prevents long quoted
1176 lines in comments from causing non-quoted lines to extend beyond
1179 2010-04-22 Adam Barth <abarth@webkit.org>
1181 Reviewed by Darin Adler.
1183 The new review tools shouldn't clear the comment box automatically
1184 https://bugs.webkit.org/show_bug.cgi?id=38004
1186 Instead, we now have a button for doing that explicitly. If people
1187 like this tool, we can look at fancier solutions.
1189 Also, tried to make the tool work on the edit page as well as the review page.
1191 * PrettyPatch/PrettyPatch.rb:
1193 2010-04-22 Adam Barth <abarth@webkit.org>
1195 Unreviewed. Turns out we need to do more escaping because Ruby was
1196 explanding our newlines, creating a syntax error.
1198 * PrettyPatch/PrettyPatch.rb:
1200 2010-04-22 Adam Barth <abarth@webkit.org>
1202 Reviewed by Darin Adler.
1204 Hack up PrettyDiff to allow line-by-line comments
1205 https://bugs.webkit.org/show_bug.cgi?id=37886
1207 Admittedly a bit of a hack, this is a basic line-by-line editor we can
1208 play with thanks to Andrew Scherkus. It's meant to integrate with the
1209 "review" page at bugs.webkit.org.
1211 I changed a few things from Andrew's original version:
1212 1) Trigger text boxes on single click to make iPhone/iPad reviewing
1214 2) Clear the main text box on load.
1215 3) Reference a version of prototype.js on bugs.webkit.org.
1217 * PrettyPatch/PrettyPatch.rb:
1218 * prototype.js: Added.
1220 2010-02-22 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1222 Reviewed by Maciej Stachowiak.
1224 Don't reset the assignee back to default on component change
1226 https://bugs.webkit.org/show_bug.cgi?id=35236
1228 There's a risk of reseting a valid assignee for example when
1229 triaging a bug. All components in WebKit have the default
1230 assignee set to webkit-unassigned@webkit.org so this should
1231 not cause problems for people relying on this functionality.
1233 * template/en/custom/bug/edit.html.tmpl:
1235 2010-01-22 Janusz Lewandowski <lew21@xtreeme.org>
1237 Reviewed by Maciej Stachowiak.
1239 run-webkit-tests fails on Ruby 1.9
1240 https://bugs.webkit.org/show_bug.cgi?id=33554
1241 inject does not work with strings any more, so BugsSite/PrettyPatch/PrettyPatch.rb prints lots of errors.
1243 * PrettyPatch/PrettyPatch.rb:
1245 2010-01-20 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1247 Reviewed by Adam Barth.
1249 Adjust height of status-bubbles to prevent them being cut.
1251 * template/en/custom/attachment/edit.html.tmpl:
1252 * template/en/custom/attachment/list.html.tmpl:
1253 * template/en/custom/attachment/reviewform.html.tmpl:
1255 2010-01-08 David Kilzer <ddkilzer@apple.com>
1257 <http://webkit.org/b/33410> Fix "View Plain Diff"/"View Formatted Diff" button
1259 Reviewed by Adam Barth.
1261 This button was broken during a previous Bugzilla upgrade after
1262 changes were made to the names of objects exposed on templates.
1264 * template/en/custom/attachment/reviewform.html.tmpl: Changed
1265 attachid to attachment.id and ispatch to attachment.ispatch.
1266 Also tweaked the format to use 4 table columns instead of 5.
1268 2010-01-08 David Kilzer <ddkilzer@apple.com>
1270 Included UNCONFIRMED bugs by default in advanced search query
1272 Rubber-stamped by Alexey Proskuryakov.
1274 * data/params: Prepended 'bug_status=UNCONFIRMED&' to
1275 'defaultquery' parameter.
1277 2010-01-08 David Kilzer <ddkilzer@apple.com>
1279 FIX: Make patch status appear on reviewform.html.tmpl
1281 * template/en/custom/attachment/reviewform.html.tmpl: Check
1282 attachment.ispatch (not just ispatch) when deciding whether
1283 to display patch status. Also update layout a bit.
1285 2010-01-08 David Kilzer <ddkilzer@apple.com>
1287 Update data/params parameters
1289 * data/params: Updated 'timezone' to turn off DST. Updated
1290 'usebugaliases' and 'usevotes' to turn them off.
1292 2010-01-08 Adam Barth <abarth@webkit.org>
1294 Reviewed by Darin Adler.
1296 Show patch status in bugs.webkit.org
1297 https://bugs.webkit.org/show_bug.cgi?id=33368
1299 This patch adds an iframe to the show_bug page and the edit attachment
1300 page that displays whether the attachment passed the various bots.
1302 * template/en/custom/attachment/edit.html.tmpl:
1303 * template/en/custom/attachment/list.html.tmpl:
1304 * template/en/custom/attachment/reviewform.html.tmpl:
1306 2009-12-07 Shinichiro Hamaji <hamaji@chromium.org>
1308 Reviewed by David Kilzer.
1310 Bugzilla should show images in git patches
1311 https://bugs.webkit.org/show_bug.cgi?id=31395
1313 Attempt to go r51748 again using --directory option of git-apply.
1315 * PrettyPatch/PrettyPatch.rb:
1317 2009-12-06 Shinichiro Hamaji <hamaji@chromium.org>
1319 Unreviewed. Revert r51748.
1321 Bugzilla should show images in git patches
1322 https://bugs.webkit.org/show_bug.cgi?id=31395
1324 * PrettyPatch/PrettyPatch.rb:
1326 2009-12-06 Shinichiro Hamaji <hamaji@chromium.org>
1328 Reviewed by David Kilzer.
1330 Bugzilla should show images in git patches
1331 https://bugs.webkit.org/show_bug.cgi?id=31395
1333 Show images in git patches using git-apply.
1335 * PrettyPatch/PrettyPatch.rb:
1337 2009-10-23 Eric Seidel <eric@webkit.org>
1339 Reviewed by Adam Roben.
1341 PrettyPatch should show images even when they have the wrong mime type
1342 https://bugs.webkit.org/show_bug.cgi?id=29506
1344 * PrettyPatch/PrettyPatch.rb:
1346 2009-10-17 Alexey Proskuryakov <ap@apple.com>
1348 Reviewed by Eric Carlson.
1350 https://bugs.webkit.org/show_bug.cgi?id=30470
1351 Make marking a bug as duplicate easier
1353 * js/field.js: (setResolutionToDuplicate): Focus the edit field, too.
1355 2009-10-16 Alexey Proskuryakov <ap@apple.com>
1357 Reviewed by Mark Rowe.
1359 https://bugs.webkit.org/show_bug.cgi?id=30470
1360 Make marking a bug as duplicate easier
1362 * js/field.js: (setResolutionToDuplicate): Show edit field right away, don't make the user
1365 2009-09-09 David Kilzer <ddkilzer@apple.com>
1367 Update data/params parameters
1369 * data/params: Updated 'attachment_base' parameter for secure
1370 attachments. Updated 'mybugstemplate' parameter to search for
1371 bugs in UNCONFIRMED, ASSIGNED and REOPENED status in addition to
1374 2009-08-11 David Kilzer <ddkilzer@apple.com>
1376 Updated data/params parameter
1378 * data/params: Updated 'loginnetmask' parameter to allow users
1379 to choose whether their cookies are restricted to a single IP
1382 2009-07-07 David Kilzer <ddkilzer@apple.com>
1384 Updated BugsSite with local changes on server
1386 The new files were created by checksetup.pl during the upgrade
1387 to Bugzilla 3.2.3. The rest are self-explanatory.
1389 * data: Added "bugzilla-update.xml" to svn:ignore.
1390 * data/attachments: Added "groups.*" to svn:ignore.
1391 * data/params: Updated for a few changed parameters.
1393 * lib/.htaccess: Added.
1394 * skins/contrib/Dusk/IE-fixes.css: Added.
1395 * skins/contrib/Dusk/admin.css: Added.
1396 * skins/contrib/Dusk/create_attachment.css: Added.
1397 * skins/contrib/Dusk/dependency-tree.css: Added.
1398 * skins/contrib/Dusk/duplicates.css: Added.
1399 * skins/contrib/Dusk/editusers.css: Added.
1400 * skins/contrib/Dusk/help.css: Added.
1401 * skins/contrib/Dusk/index.css: Added.
1402 * skins/contrib/Dusk/panel.css: Added.
1403 * skins/contrib/Dusk/params.css: Added.
1404 * skins/contrib/Dusk/release-notes.css: Added.
1405 * skins/contrib/Dusk/show_bug.css: Added.
1406 * skins/contrib/Dusk/show_multiple.css: Added.
1407 * skins/contrib/Dusk/summarize-time.css: Added.
1408 * skins/contrib/Dusk/voting.css: Added.
1409 * skins/contrib/Dusk/yui: Added.
1410 * skins/contrib/Dusk/yui/calendar.css: Added.
1411 * skins/custom/IE-fixes.css: Added.
1412 * skins/custom/admin.css: Added.
1413 * skins/custom/buglist.css: Added.
1414 * skins/custom/create_attachment.css: Added.
1415 * skins/custom/dependency-tree.css: Added.
1416 * skins/custom/duplicates.css: Added.
1417 * skins/custom/editusers.css: Added.
1418 * skins/custom/help.css: Added.
1419 * skins/custom/panel.css: Added.
1420 * skins/custom/params.css: Added.
1421 * skins/custom/release-notes.css: Added.
1422 * skins/custom/show_bug.css: Added.
1423 * skins/custom/show_multiple.css: Added.
1424 * skins/custom/summarize-time.css: Added.
1425 * skins/custom/voting.css: Added.
1426 * skins/custom/yui: Added.
1427 * skins/custom/yui/calendar.css: Added.
1429 2009-07-03 David Kilzer <ddkilzer@apple.com>
1431 Bug 26958: Change edit link to review link in request messages
1433 <https://bugs.webkit.org/show_bug.cgi?id=26958>
1435 Reviewed by Dan Bernstein.
1437 * template/en/custom/request/email.txt.tmpl: Copied from BugsSite/template/en/default/request/email.txt.tmpl.
1438 Changed link from "action=edit" to "action=review".
1440 2009-07-03 David Kilzer <ddkilzer@apple.com>
1442 Bug 26950: Make the summary and alias fields support click-to-edit
1443 <https://bugs.webkit.org/show_bug.cgi?id=26950>
1445 Reviewed by Maciej Stachowiak.
1447 Original patch by Maciej Stachowiak.
1450 (hideEditableField): Updated to add click event listeners to the
1451 alias and short description elements to make them easier to
1452 edit. Renamed field_id parameter to field2_id (short
1453 description id) and added a field1_id parameter (alias id).
1454 (showEditableField): If a third parameter is passed in the
1455 ContainerInputArray parameter, use it to find the element to
1456 focus. Otherwise, fall back to the original behavior of
1457 focusing the first input field.
1458 (hideAliasAndSummary): Changed to pass the id for the alias
1459 element to hideEditableField().
1461 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1463 Config file for contrib/recode.pl when upgrading bugs.webkit.org
1465 Current as of midday on Wednesday, July 1, 2009.
1467 * contrib/recode-overrides.txt: Added.
1469 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1471 Workaround for WebKit Bug 9630 when running contrib/recode.pl
1473 A number of WebKit nightly builds included Bug 9630 which caused
1474 non-breaking space characters (0xA0) to be submitted within the
1475 content of textarea elements.
1477 * contrib/recode.pl: To work around these 0xA0 characters, try
1478 an encoding of cp1252 and use it if it works.
1480 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1482 Don't print "Failed to guess" warning if an override is available
1484 * contrib/recode.pl: Check that %overrides does NOT contain a
1485 key matching the current digest before printing out the warning
1486 about a failed charset guess.
1488 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1490 Added --[no-]truncate switch to contrib/recode.pl
1492 * contrib/recode.pl: Added --[no-]truncate switch to make
1493 debugging of failed charset guessing easier. Often times the
1494 illegal character was truncated in the output.
1496 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1498 Changed Perl scripts to use #!/usr/bin/env perl
1500 perl -pi -e 's@#\!/usr/bin/perl@#\!/usr/bin/env perl@' *.cgi *.pl */*.pl
1502 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1504 Replace Bugzilla favicon with webkit.org favicon
1506 * favicon.ico: Removed.
1507 * images/favicon.ico: Replaced. Copied from favicon.ico.
1509 2009-07-02 David Kilzer <ddkilzer@webkit.org>
1511 Merged BugsSite to Bugzilla-3.2.3
1513 Updated to the latest-and-greatest stable version.
1515 2009-07-02 David Kilzer <ddkilzer@webkit.org>
1517 Merged BugsSite to Bugzilla-3.0.3
1519 Nothing to see here. Move along.
1521 2009-06-09 Eric Seidel <eric@webkit.org>
1523 Reviewed by Adam Roben.
1525 Add support for displaying added png files in PrettyPatch diffs
1526 https://bugs.webkit.org/show_bug.cgi?id=26210
1528 Currently this is SVN only (git-send-bugzilla patches exclude binary data)
1529 and only works for PNG files but could easily be made to work for other images as needed.
1531 * PrettyPatch/PrettyPatch.rb:
1533 2009-05-19 Eric Seidel <eric@webkit.org>
1535 Reviewed by Adam Roben.
1537 Make PrettyPatch understand quoted filenames in git diffs.
1538 https://bugs.webkit.org/show_bug.cgi?id=25881
1540 * PrettyPatch/PrettyPatch.rb:
1542 2009-05-15 Simon Fraser <simon.fraser@apple.com>
1544 Carrying forwards Darin Adler's rubber stamp
1546 Make the comment field wider too.
1548 * skins/custom/global.css:
1550 2009-05-14 Simon Fraser <simon.fraser@apple.com>
1552 Reviewed by Darin Adler
1554 Make the URL, Summary and Keyword fields wider to mitigate the
1555 effects of https://bugs.webkit.org/show_bug.cgi?id=25566 and make
1556 things generally better.
1558 * skins/custom/global.css:
1559 * template/en/custom/bug/edit.html.tmpl:
1561 2008-11-10 Darin Adler <darin@apple.com>
1563 - fix more of https://bugs.webkit.org/show_bug.cgi?id=21400
1564 "Edit" links for patches in comments, review queue, review emails
1565 should be replaced by "Review Patch" links
1567 * globals.pl: Fix cases that are automatically generated, such as links
1568 in comments in bugs.
1570 * template/en/custom/attachment/created.html.tmpl: Fix the link on the
1571 "I just created an attachment" page.
1573 * template/en/custom/request/queue.html.tmpl: Fix the link in the queue
1576 2008-11-10 Darin Adler <darin@apple.com>
1578 * template/en/default/request/queue.html.tmpl: Use review links instead
1579 of edit links in the review queue.
1581 2008-11-10 Darin Adler <darin@apple.com>
1583 * template/en/custom/request/email.txt.tmpl: Send review links instead
1584 of edit links when flags are set on a bug.
1586 2008-10-27 Darin Adler <darin@apple.com>
1588 * template/en/custom/attachment/reviewform.html.tmpl: Leave out the
1589 comment if it's untouched.
1591 2008-10-23 Adam Roben <aroben@apple.com>
1593 Fix Bug 21401: Comments field on "Review Patch" page should be
1594 initially filled with quoted patch
1596 <https://bugs.webkit.org/show_bug.cgi?id=21401>
1598 Reviewed by Dave Hyatt.
1601 (edit): Retrieve the attachment data from the database instead of just
1602 its length. When the attachment is a patch, create a quotedpatch
1603 template variable that contains the patch data with each line
1604 prepended with "> ".
1605 * template/en/custom/attachment/reviewform.html.tmpl:
1606 - Changed the comments field to have a monospace font
1607 - Added an "Enter comments below:" caption above the comments field
1608 to make it clearer that this is where comments should go, now that
1609 the comments field is not initially empty
1610 - Fill the comments field with the quoted patch
1612 2008-10-14 Adam Roben <aroben@apple.com>
1614 Fix Bug 21602: Bugzilla times out trying to display formatted diff for
1617 https://bugs.webkit.org/show_bug.cgi?id=21602
1619 Reviewed by Dave Kilzer.
1621 * PrettyPatch/PrettyPatch.rb:
1622 (PrettyPatch.BINARY_FILE_MARKER_FORMAT): Added.
1623 (PrettyPatch.FileDiff.initialize): If any of the lines in the diff
1624 are a binary file marker, mark this FileDiff as binary and stop trying
1625 to process the lines.
1626 (PrettyDiff.FileDiff.to_html): If we're binary, just print a string
1629 2008-10-02 Adam Roben <aroben@apple.com>
1631 * template/en/custom/attachment/reviewform.html.tmpl: Fix typo.
1633 2008-10-02 Adam Roben <aroben@apple.com>
1635 * template/en/custom/attachment/review.html.tmpl: Fix URLs
1637 2008-10-02 Adam Roben <aroben@apple.com>
1639 Fix Bug 21315: bugs.webkit.org should have a nicer patch review
1642 https://bugs.webkit.org/show_bug.cgi?id=21315
1644 Reviewed by Tim Hatcher.
1647 (top level): Added support for the "review" and "reviewform" actions.
1648 (sub edit): Accept the template name as a parameter. If no name is
1649 give, use "edit" as before.
1650 * template/en/custom/attachment/list.html.tmpl: Added a "Review Patch"
1651 link for all patch attachments.
1652 * template/en/custom/attachment/review.html.tmpl: Added. Simple
1653 <frameset> page to show the patch on the top and a comment form on the
1655 * template/en/custom/attachment/reviewform.html.tmpl: Added. Simple
1656 comment form for reviewing patches.
1658 2008-10-02 Adam Roben <aroben@apple.com>
1660 Remove references to some backup files I created when implementing
1661 PrettyPatch in Bugzilla
1663 Reviewed by Tim Hatcher.
1665 * attachment-aroben.cgi: Removed.
1666 * template/en/default/attachment/edit-aroben.html.tmpl: Removed.
1668 * template/en/custom/attachment/edit.html.tmpl: Removed an erroneous
1669 reference to attachment-aroben.cgi. attachment.cgi will work just
1672 2008-06-25 David Kilzer <ddkilzer@apple.com>
1674 Make PrettyPatch handle diffs with no Index or diff headers
1676 Part of Bug 19290: More patches not handled by PrettyPatch.rb
1677 <https://bugs.webkit.org/show_bug.cgi?id=19290>
1681 * PrettyPatch/PrettyPatch.rb:
1682 (PrettyPatch.DIFF_HEADER_FORMATS): Added regular expression to
1683 match on "+++ " lines for patches with no "Index" or "diff" header.
1684 (PrettyPatch.FileDiff.initialize): Look for filename on "+++ " line
1685 when the first line of a patch has no "Index" or "diff" header.
1686 (PrettyPatch.FileDiff.parse): Added haveSeenDiffHeader state
1687 variable to determine when no "Index" or "diff" header has been
1688 found, but a new patch has started with a "--- " line.
1690 2008-06-08 Dan Bernstein <mitz@apple.com>
1692 Reviewed by Adam Roben.
1694 - update trac URL in PrettyPatch
1696 * PrettyPatch/PrettyPatch.rb:
1698 2008-05-29 Adam Roben <aroben@apple.com>
1700 Update PrettyPatch directory list
1702 * PrettyPatch/PrettyPatch.rb:
1704 2008-05-28 Adam Roben <aroben@apple.com>
1706 Make PrettyPatch able to handle diffs taken from outside the WebKit
1709 Part of Bug 19290: More patches not handled by PrettyPatch.rb
1710 <https://bugs.webkit.org/show_bug.cgi?id=19290>
1712 Reviewed by David Kilzer.
1714 * PrettyPatch/PrettyPatch.rb:
1715 (PrettyPatch.find_url_and_path): Added. Searches the file path from
1716 the bottom up looking for a directory that exists in the source tree.
1717 (PrettyPatch.linkifyFilename): Changed to call find_url_and_path.
1719 2008-05-28 Adam Roben <aroben@apple.com>
1721 Print exceptions from PrettyPatch to stdout
1723 This will make it much easier to debug problems with PrettyPatch,
1724 since we'll be able to see the exceptions in the browser.
1726 Reviewed by Sam Weinig.
1728 * PrettyPatch/prettify.rb: Added a --html-exceptions option, which
1729 will print exceptions to stdout as HTML.
1730 * attachment.cgi: Changed to pass --html-exceptions to prettify.rb.
1732 2008-04-26 David Kilzer <ddkilzer@apple.com>
1734 Removed temp files and added appropriate svn:ignore properties.
1736 Rubber-stamped by Mark Rowe.
1738 * data: Added svn:ignore property for "versioncache" and "versioncache.*" files.
1740 * data/template: Added svn:ignore property for "template" subdirectory.
1741 * data/template/template: Removed precompiled template subdirectory.
1743 * data/versioncache: Removed.
1744 * data/versioncache.*: Removed backup versioncache files.
1746 * data/webdot: Added svn:ignore property for "*.dot" files.
1747 * data/webdot/*.dot: Removed cached webdot files.
1749 2008-04-08 Adam Roben <aroben@apple.com>
1751 Combine :equal operations with the following operation if they are
1752 fewer than 3 characters long
1754 This keeps us from showing lots of small changes on long lines, just
1755 because some letters happened to be the same.
1758 http://code.google.com/p/reviewboard/source/browse/trunk/reviewboard/diffviewer/diffutils.py?r=1264#147
1760 * PrettyPatch/PrettyPatch.rb:
1761 (PrettyPatch::DiffSection.initialize): Remove :equal operations fewer
1762 than 3 characters long. The characters from the removed operations
1763 become part of the subsequent operation.
1764 (PrettyPatch::CodeLine.text_as_html): Don't wrap 0-length strings in
1765 <ins>/<del> tags. Also removed the @fromLineNumber.nil? and
1766 @toLineNumber.nil? checks as they are no longer reliable now that
1767 we're removing operations.
1769 2008-04-08 Adam Roben <aroben@apple.com>
1771 Change PrettyPatch to use DiffBuilder for intra-line diffs
1773 This gives us much prettier intra-line diffs, largely because it can
1774 distinguish multiple changes on the same line. e.g., if a line changes
1777 const int myConstant = 0;
1781 static const unsigned myConstant;
1783 You will see that "static " was inserted, "int" changed to "unsigned",
1784 and " = 0" was deleted.
1786 This seems to have also gotten rid of some spurious instances of
1787 "<ins></ins>" and "<del></del>" at the end of a line.
1789 * PrettyPatch/PrettyPatch.rb:
1790 (PrettyPatch::DiffSection.initialize): Use DiffBuilder instead of
1791 setChangeExtentFromLine (which had been copied from Trac's diffing
1793 (PrettyPatch::CodeLine):
1794 - Removed the changeExtent attribute
1795 - Added the operations attribute
1796 - Removed the setChangeExtentFromLine method
1797 (PrettyPatch::CodeLine.text_as_html): Uses @operations to determine
1798 what text to wrap in <ins> and <del> tags.
1799 * PrettyPatch/diff.rb: Deleted a bunch of code we don't use.
1800 (HTMLDiff::DiffBuilder.initialize): Moved code here from the old build
1801 method, but left out the calls to perform_operation, since we build
1802 the diff HTML outside of this class.
1803 (HTMLDiff::DiffBuilder.split_inputs_to_words): Removed calls to
1804 convert_html_to_list_of_words, since we're not diffing HTML.
1806 2008-04-08 Adam Roben <aroben@apple.com>
1811 http://instiki.rubyforge.org/svn/instiki/trunk/lib/diff.rb
1814 * PrettyPatch/diff.rb: Added.
1816 2008-03-04 Adam Roben <aroben@apple.com>
1818 * PrettyPatch/PrettyPatch.rb: Allow the extent of the previous file to
1819 be omitted from the hunk header.