1 2010-12-18 Adam Barth <abarth@webkit.org>
3 Reviewed by Sam Weinig.
5 Move WebKitExamplePlugins to Examples
6 https://bugs.webkit.org/show_bug.cgi?id=51291
8 * PrettyPatch/PrettyPatch.rb:
10 2010-12-17 Dan Bernstein <mitz@apple.com>
12 Reviewed by Simon Fraser.
14 Rename WebKitTools to Tools
15 https://bugs.webkit.org/show_bug.cgi?id=49861
17 * PrettyPatch/PrettyPatch.rb:
18 * committers-autocomplete.js:
20 2010-12-17 Ojan Vafai <ojan@chromium.org>
22 Increment psuedo-version number to avoid pulling cached version.
24 * PrettyPatch/PrettyPatch.rb:
26 2010-12-17 Ojan Vafai <ojan@chromium.org>
28 Speculative fix for the code review tool in Firefox.
29 Fixes a JS error and makes the status bubble mostly work
30 if postMessage is not supported.
32 * PrettyPatch/PrettyPatch.rb:
35 2010-12-15 Ojan Vafai <ojan@chromium.org>
37 Reviewed by Adam Barth.
39 size status bubble to it's contents on the code review page
40 https://bugs.webkit.org/show_bug.cgi?id=51142
42 * PrettyPatch/PrettyPatch.rb:
45 2010-12-15 Ojan Vafai <ojan@chromium.org>
47 Reviewed by Adam Barth.
49 fix goofups from r74142 and r74130
50 https://bugs.webkit.org/show_bug.cgi?id=51146
52 Accidentally shrank the inline comment boxes and made
53 the toolbar not show up when there were image diffs.
55 * PrettyPatch/PrettyPatch.rb:
58 2010-12-14 Ojan Vafai <ojan@chromium.org>
60 Reviewed by Adam Barth.
62 add ability to view for file context to the review tool
63 https://bugs.webkit.org/show_bug.cgi?id=51057
65 At the beginning/end of each file diff and between each
66 hunk add links to expand the context. For now it grabs the
67 tip of tree version of the file and tries to apply the diff
68 to that file. If it can't apply, then it gives up as we
69 wouldn't want to show the wrong lines of context.
71 In the future, we can consider adding the upload svn revision
72 to the diff itself, then we could fallback to the file at that
73 revision if tip of tree doesn't apply.
75 * PrettyPatch/PrettyPatch.rb:
78 2010-12-08 Ojan Vafai <ojan@chromium.org>
80 Reviewed by Adam Barth.
82 [reviewtool] should always show overall comments text box
83 https://bugs.webkit.org/show_bug.cgi?id=45870
85 * PrettyPatch/PrettyPatch.rb:
88 2010-12-04 Patrick Gansterer <paroga@webkit.org>
90 Reviewed by Adam Barth.
92 Increase size of status bubbles
93 https://bugs.webkit.org/show_bug.cgi?id=50496
95 The current available space isn't enough to display all
96 pending results including position in the queue.
98 * PrettyPatch/PrettyPatch.rb:
100 2010-12-04 Patrick Gansterer <paroga@webkit.org>
102 Reviewed by Adam Barth.
104 Increase size of status bubbles
105 https://bugs.webkit.org/show_bug.cgi?id=50496
107 The current available space isn't enough to display all
108 pending results including position in the queue.
110 * template/en/custom/attachment/edit.html.tmpl:
111 * template/en/custom/attachment/list.html.tmpl:
112 * template/en/custom/attachment/reviewform.html.tmpl:
114 2010-11-08 Adam Barth <abarth@webkit.org>
116 Update help text to match behavior change.
120 2010-11-08 Adam Barth <abarth@webkit.org>
122 Reviewed by Eric Seidel.
124 Restore normal meaning of double-click on patch review page?
125 https://bugs.webkit.org/show_bug.cgi?id=47641
127 After this patch, you need to click on the line numbers to add a
130 * PrettyPatch/PrettyPatch.rb:
133 2010-10-09 Adam Barth <abarth@webkit.org>
135 Reviewed by Alexey Proskuryakov.
137 Exception in committers-autocomplete in Firefox
138 https://bugs.webkit.org/show_bug.cgi?id=47456
140 Remove dependency on a WebKit-only quirk. IMHO, this quirk is bad for
141 the long-term health of the web, but that's a discussion for another
144 * committers-autocomplete.js:
146 2010-10-08 Adam Barth <abarth@webkit.org>
148 Reviewed by Oliver Hunt.
150 Bugmail for new attachments should link to the reviewtool
151 https://bugs.webkit.org/show_bug.cgi?id=47440
153 As requested by olliej himself. This patch was constructed by pure
154 reason. I have no way to actually run this code.
156 * Bugzilla/BugMail.pm:
158 2010-09-28 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
160 Reviewed by Csaba Osztrogonác.
162 Convert verbatim unicode values in comitter names to characters
164 * committers-autocomplete.js:
166 2010-09-24 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
168 Reviewed by Csaba Osztrogonác.
170 Support Unicode-strings in committers-autocomplete script
172 * committers-autocomplete.js:
174 2010-09-22 Adam Barth <abarth@webkit.org>
176 Reviewed by John Sullivan.
178 New review-page design doesn't include name of reviewer
179 https://bugs.webkit.org/show_bug.cgi?id=46271
181 * PrettyPatch/PrettyPatch.rb:
184 2010-09-22 Adam Barth <abarth@webkit.org>
188 * PrettyPatch/PrettyPatch.rb:
190 2010-09-22 Adam Barth <abarth@webkit.org>
192 Reviewed by Eric Seidel.
194 Add link to bug to review page
195 https://bugs.webkit.org/show_bug.cgi?id=46192
197 To make room for the link, I moved the help text to the top of the page
198 and tweaked the language to help folks discover that you can select
199 context using the line numbers.
201 Also, move more text to sans-serif since that fits in better with the
204 * PrettyPatch/PrettyPatch.rb:
207 2010-09-21 Adam Barth <abarth@webkit.org>
211 [reviewtool] Publish button doesn't work
212 https://bugs.webkit.org/show_bug.cgi?id=46168
214 Darin's recent patch had a runtime error. Sadly, we don't have any
215 testing for this code.
219 2010-09-20 Darin Adler <darin@apple.com>
221 Reviewed by Adam Barth.
223 Add Preview button and link to bug to patch review bar
224 https://bugs.webkit.org/show_bug.cgi?id=46153
226 * PrettyPatch/PrettyPatch.rb: Bump version number to make caches happy.
227 * code-review.js: Added Preview button and link to bug.
229 2010-09-19 Adam Barth <abarth@webkit.org>
231 Reviewed by Eric Seidel.
233 [reviewtool] Publish button should actually publish the review comments
234 https://bugs.webkit.org/show_bug.cgi?id=46074
236 Instead of showing the confirmation lightbox, the Publish button now
237 publishes the comments directly. If there's demand for a "Preview"
238 button, we can find a way to add that feature.
242 2010-09-19 Adam Barth <abarth@webkit.org>
244 Reviewed by Eric Seidel.
246 Move reviewtool to action=review
247 https://bugs.webkit.org/show_bug.cgi?id=46071
249 This patch removes the old Review Patch screen and moves the new
250 reviewtool from Pretty Diff to Review Patch.
255 2010-09-19 Adam Barth <abarth@webkit.org>
257 Review tool UI tweak. This patch lengthens the status bubbles so all
258 the bubble fit (even when they have numbers inside).
260 * PrettyPatch/PrettyPatch.rb:
262 2010-09-19 Dan Bernstein <mitz@apple.com>
264 Reviewed by Anders Carlsson.
268 * code-review.js: Changed the label of the OK button from Ok to OK.
270 2010-09-15 Adam Barth <abarth@webkit.org>
274 Only show the review-in-context link if there are contextual comments.
278 2010-09-15 Adam Barth <abarth@webkit.org>
280 Reviewed by Eric Seidel.
282 [reviewtool] Show the status bubbles on the toolbar
283 https://bugs.webkit.org/show_bug.cgi?id=45861
285 * PrettyPatch/PrettyPatch.rb:
288 2010-09-15 Adam Barth <abarth@webkit.org>
290 Reviewed by Eric Seidel.
292 [reviewtool] Allow setting review and commit-queue flags from main review screen
293 https://bugs.webkit.org/show_bug.cgi?id=45860
295 This patch adds drop down menus for adjusting the review and
296 commit-queue flags from the main review screen. These controls don't
297 appear immediately because we need to read the state of the flags off
300 It's a slight sadness that bugzilla doesn't have a clean way of
301 identifying which select control is associated with a given flag. The
302 flags seem to have some sort of id, but it's unclear to me how to map
303 that id back to a notion of "review" or "commit-queue". Instead, we
304 look for some magic strings in the title. I'm sure this will come back
305 to bit us at some point, but I'm not sure what to do that's better.
306 (The webkitpy solution to this problem is to assume that the flags are
307 in a given order, but this seems better.)
309 * PrettyPatch/PrettyPatch.rb:
310 - Bump version number to bust throuh caches.
313 2010-09-15 Adam Barth <abarth@webkit.org>
315 Reviewed by Eric Seidel.
317 [reviewtool] Comments should quote previous comments on the same line
318 https://bugs.webkit.org/show_bug.cgi?id=45847
320 Now when you reply to a previous comment, the tool will quote the
321 previous comment in the bugs.webkit.org post. This makes it eaiser for
322 folks following along in email to understand the discussion.
324 While I was editing this code, I also cleaned up some of the whitespace
325 handling in comments.
329 2010-09-15 Adam Barth <abarth@webkit.org>
331 Minor UI tweak to the review tool. We want to display newlines in
332 previous and frozen comments instead of collapsing them.
334 * PrettyPatch/PrettyPatch.rb:
336 2010-09-14 Adam Barth <abarth@webkit.org>
338 Reviewed by Eric Seidel.
340 bugs.webkit.org should autocomplete WebKit Committers and Reviewers
341 https://bugs.webkit.org/show_bug.cgi?id=45799
343 This patch implements an autocomplete dropdown that helps users type
344 the names of WebKit committers and reviewers. The script grabs the
345 data from SVN now that wms set up CORS for http://svn.webkit.org.
346 Security technology for the win.
348 This script is based on (well, essentially copied from) the popular
349 autocomplete extension:
351 https://chrome.google.com/extensions/detail/olaabhcgdogcbcoiolomlcodkngnemfb
353 I asked Ojan, and said he was fine licensing the code under the BSD
354 license. I'm not sure how the patch interacts with the extension, but
355 we can retire the extension if they interact poorly.
357 * committers-autocomplete.js: Added.
358 * template/en/default/global/footer.html.tmpl:
359 - Add the script to every page on bugs.webkit.org
361 2010-09-14 Adam Barth <abarth@webkit.org>
363 Add a license block to the reviewtool. I should have added this from
364 the start. According to the SVN log, I'm the only one to have ever
369 2010-09-07 Adam Barth <abarth@webkit.org>
371 Minor tweaks to the reviewtool UI.
373 Rename Cancel to Discard to make it more clear what the button does.
374 Also, move the style declaration for the focus ring later in the sheet
377 * PrettyPatch/PrettyPatch.rb:
380 2010-09-06 Adam Barth <abarth@webkit.org>
382 Small UI tweak to the reviewtool. Make the Ok/Cancel buttons a bit
385 * PrettyPatch/PrettyPatch.rb:
387 2010-09-06 Adam Barth <abarth@webkit.org>
389 Reviewed by Eric Seidel.
391 [reviewtool] Add a quick animation for opening/closing comment boxes
392 https://bugs.webkit.org/show_bug.cgi?id=45278
394 The 200ms animation slides in and out the line-by-line comment box.
398 2010-09-06 Adam Barth <abarth@webkit.org>
400 Reviewed by Eric Seidel.
402 [reviewtool] Add a field for overall comments
403 https://bugs.webkit.org/show_bug.cgi?id=45273
405 This patch does a couple logically separate things that could be
406 separated into smaller patches:
408 1) This patch adds an "overall comments" field where you can enter
409 overall comments about the patch. These comments appear at the top
410 of the bugzilla posting. Currently, these aren't redisplayed when
411 viewing the patch, but I plan to add that in a future patch.
413 2) This patch renames some of the CSS classes to more consistently
414 follow the camelCase style that PrettyPatch uses.
416 3) This patch moves the "prepare comments" button to the left of the
417 toolbar and renames is to "publish comments". This makes more sense
418 when you scroll to the bottom of the page and enter in some overall
421 4) When you attempt to add a comment to a line that already has a
422 "frozen" comment, we now unfreeze the comment instead of doing
423 nothing. The old behavior was kind of frustrating if you didn't
424 know that you could unfreeze a comment by clicking on it.
426 * PrettyPatch/PrettyPatch.rb:
430 2010-09-06 Adam Barth <abarth@webkit.org>
432 [reviewtool] Tweak the ok button to cancel the comment if the comment
433 is empty. Previously we would get into a bad state where a line had a
434 comment but there was no longer any way to access it.
438 2010-09-06 Adam Barth <abarth@webkit.org>
440 Reviewed by Eric Seidel.
442 [reviewtool] Add an "ok" button that collapses review comments
443 https://bugs.webkit.org/show_bug.cgi?id=45255
445 Many folks (including myself) are too trigger-happy with the "delete"
446 button that we end up deleting perfectly good review comments. This
447 patch adds an "ok" button to absorb these clicks (and renames "delete"
448 to "cancel"). When you click the ok button, the comment becomes
449 non-editable and the box shrinks to fit the text. You can click the
450 text to get back to the editable version.
454 2010-08-31 Adam Barth <abarth@webkit.org>
456 Reviewed by Eric Seidel.
458 [reviewtool] Make it easy to scroll through review comments
459 https://bugs.webkit.org/show_bug.cgi?id=45002
461 This patch lets you scroll through review comments using "n" (for next)
462 and "p" (for previous). It also attributes comments to their authors.
464 * PrettyPatch/PrettyPatch.rb:
467 2010-08-31 Adam Barth <abarth@webkit.org>
469 Reviewed by Eric Seidel.
471 [reviewtool] Show previous comments inline in diff
472 https://bugs.webkit.org/show_bug.cgi?id=44977
474 This patch adds basic support for showing previous comments inline in
475 the diff. We crawl the bugs.webkit.org comments about this attachment
476 and extract comments related to specific lines. We then show the
477 comments inline in the diff.
479 This part of the tool needs a bunch of polish, but this at least is a
480 starting point for further work.
482 * PrettyPatch/PrettyPatch.rb:
485 2010-08-31 Adam Barth <abarth@webkit.org>
487 Reviewed by Eric Seidel.
489 [reviewtool] Allow reviewer to select lines of context by dragging over the line numbers
490 https://bugs.webkit.org/show_bug.cgi?id=44936
492 * PrettyPatch/PrettyPatch.rb:
493 - Add a version number to bust through bugs.webkit.org's aggressive
497 2010-08-30 Adam Barth <abarth@webkit.org>
499 Reviewed by Eric Seidel.
501 [review tool] Let reviewer select how much context to show in snippet
502 https://bugs.webkit.org/show_bug.cgi?id=44905
504 We now highlight the context for a comment in yellow on the left (where
505 the line numbers are). Clicking a line number expands or contracts the
506 amount of context, as appropriate. Informal user testing indicates
507 that we might want to support drag as well.
509 This patch also changes the "open a comment box here" action to
510 double-click to avoid issues with mis-clicks.
512 * PrettyPatch/PrettyPatch.rb:
515 2010-08-29 Adam Barth <abarth@webkit.org>
517 Attempt to make Sam's life easier by not opening a comment text field
518 if there's a selection. This should make it easier to copy/paste text
519 out of the diff without accidentally opening comment boxes.
523 2010-08-29 Adam Barth <abarth@webkit.org>
525 Turns out we're supposed to use find instead of children here.
529 2010-08-29 Adam Barth <abarth@webkit.org>
531 Reviewed by Eric Seidel.
533 Awesomify pretty-diff based review tool
534 https://bugs.webkit.org/show_bug.cgi?id=44835
536 This patch replaces the existing inline comment feature with a new
537 implementation. Hopefully the new implementation is more awesome.
538 It's not 100% done yet, but I'd like to get this version out there to
541 Unlike the previous version this version works with the "Formatted
542 Diff" link instead of the "Review Patch" link. Hopefully that will
543 avoid interfering with folks who like the old style review.
545 * PrettyPatch/PrettyPatch.rb:
546 * code-review.js: Added.
547 * prototype.js: Removed.
549 2010-08-19 Tony Chang <tony@chromium.org>
551 Reviewed by Adam Barth.
553 webkit-patch barfed on upload with a new image test result
554 https://bugs.webkit.org/show_bug.cgi?id=39097
556 * PrettyPatch/PrettyPatch.rb: don't use full path to git
558 2010-08-19 Tony Chang <tony@chromium.org>
560 Unreviewed, setting svn:eol-style native on ChangeLog.
562 2010-08-19 Tony Chang <tony@chromium.org>
564 Unreviewed. Just removing \r's from ChangeLog.
566 2010-08-02 Adam Roben <aroben@apple.com>
568 Tell the patch prettifier about some (not so) new directories
570 * PrettyPatch/PrettyPatch.rb: Added WebKit2, autotools, and cmake
573 2010-07-27 Joseph Pecoraro <joepeck@webkit.org>
575 Reviewed by David Kilzer.
577 Provide a Helpful Link for Web Inspector Bugs in Bugzilla
578 https://bugs.webkit.org/show_bug.cgi?id=43065
580 * template/en/custom/global/choose-product.html.tmpl: Added. Explicitly added a link for the Web Inspector.
582 2010-06-09 Julie Parent <jparent@chromium.org>
584 Reviewed by David Kilzer.
586 Bugzilla: Don't send mail for cancel/deny/granted for in-rietveld.
588 https://bugs.webkit.org/show_bug.cgi?id=40345
592 2010-05-17 Julie Parent <jparent@chromium.org>
594 Reviewed by Ojan Vafai.
596 Rietveld review page should dedicate more space to Rietveld, less to high level comments form.
598 https://bugs.webkit.org/show_bug.cgi?id=39244
600 * template/en/custom/attachment/reviewform.html.tmpl:
601 Delete a random BR amongst the hidden elements that was causing extra whitespace.
602 * template/en/custom/attachment/rietveldreview.html.tmpl:
603 Increase size of Rietveld frame to 80%, from 60%.
605 2010-05-14 Julie Parent <jparent@chromium.org>
607 Reviewed by Ojan Vafai.
609 Bugzilla: Only show "Rietveld Review" link when in-rietveld is set to +.
611 https://bugs.webkit.org/show_bug.cgi?id=39141
613 * template/en/custom/attachment/list.html.tmpl:
615 2010-05-13 Julie Parent <jparent@chromium.org>
617 Reviewed by David Kilzer.
619 Bugzilla: Don't send mail if the only change is to the in-rietveld flag.
621 https://bugs.webkit.org/show_bug.cgi?id=39090
623 * Bugzilla/BugMail.pm:
625 2010-05-12 Julie Parent <jparent@chromium.org>
627 Reviewed by Ojan Vafai.
629 Hide the in-rietveld flag in the UI. It is only used only by tooling and shouldn't clutter the UI.
630 https://bugs.webkit.org/show_bug.cgi?id=39024
632 * template/en/custom/attachment/list.html.tmpl:
633 Removes this flag entirely from the UI, not needed on this page.
634 * template/en/custom/flag/list.html.tmpl: Added.
635 Copied from template/en/default/flag/list.html.tmpl with only changes inside the if WEBKIT_CHANGES section.
636 Hides the flag rather than removing it completely, so tools can still interact with it.
638 2010-05-12 Julie Parent <jparent@chromium.org>
640 Reviewed by David Kilzer.
642 Adds support for Rietveld reviews. When there is an associated
643 Rietveld id for a patch, adds a link to do a Rietveld review instead.
645 https://bugs.webkit.org/show_bug.cgi?id=38143
648 Added support for handling action=rietveldreview.
649 * template/en/custom/attachment/list.html.tmpl:
650 Adds a link to use rietveld review iff the in_rietveld flag is set.
651 * template/en/custom/attachment/reviewform.html.tmpl:
652 Detects if we are in rietveld review mode due to query string paramter,
653 and customizes the review form slightly:
654 - Changes text describing comment field.
655 - Comment field does not include quoted patch.
656 - Submit button fetches from Rietveld instead of just submitting.
657 * template/en/custom/attachment/rietveldreview.html.tmpl: Added.
658 New template for rietveldreview mode. Hosts the rietveld frame in the
659 top and the regular comments form in the bottom.
660 Uses postMessage to communicate with Rietveld frame.
662 2010-05-08 Chris Jerdonek <cjerdonek@webkit.org>
664 Reviewed by Maciej Stachowiak.
666 Allow long comment lines to wrap to the window width instead
669 https://bugs.webkit.org/show_bug.cgi?id=37792
671 * Bugzilla/Constants.pm:
672 - Introduced a new constant COMMENT_COLS_WRAP to replace COMMENT_COLS
673 inside the wrap_comment() subroutine. The new constant effectively
674 disables text wrapping by increasing the value used in wrap_comment()
675 from 80 characters to a very large value (8000).
677 - Replaced COMMENT_COLS with COMMENT_COLS_WRAP inside wrap_comment().
678 * skins/custom/global.css:
680 - Eliminate the width styling on comments to allow long lines
681 to wrap at the window width.
682 (.bz_comment_text > span.quote):
683 - Inherit the "white-space" property. This prevents long quoted
684 lines in comments from causing non-quoted lines to extend beyond
687 2010-04-22 Adam Barth <abarth@webkit.org>
689 Reviewed by Darin Adler.
691 The new review tools shouldn't clear the comment box automatically
692 https://bugs.webkit.org/show_bug.cgi?id=38004
694 Instead, we now have a button for doing that explicitly. If people
695 like this tool, we can look at fancier solutions.
697 Also, tried to make the tool work on the edit page as well as the review page.
699 * PrettyPatch/PrettyPatch.rb:
701 2010-04-22 Adam Barth <abarth@webkit.org>
703 Unreviewed. Turns out we need to do more escaping because Ruby was
704 explanding our newlines, creating a syntax error.
706 * PrettyPatch/PrettyPatch.rb:
708 2010-04-22 Adam Barth <abarth@webkit.org>
710 Reviewed by Darin Adler.
712 Hack up PrettyDiff to allow line-by-line comments
713 https://bugs.webkit.org/show_bug.cgi?id=37886
715 Admittedly a bit of a hack, this is a basic line-by-line editor we can
716 play with thanks to Andrew Scherkus. It's meant to integrate with the
717 "review" page at bugs.webkit.org.
719 I changed a few things from Andrew's original version:
720 1) Trigger text boxes on single click to make iPhone/iPad reviewing
722 2) Clear the main text box on load.
723 3) Reference a version of prototype.js on bugs.webkit.org.
725 * PrettyPatch/PrettyPatch.rb:
726 * prototype.js: Added.
728 2010-02-22 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
730 Reviewed by Maciej Stachowiak.
732 Don't reset the assignee back to default on component change
734 https://bugs.webkit.org/show_bug.cgi?id=35236
736 There's a risk of reseting a valid assignee for example when
737 triaging a bug. All components in WebKit have the default
738 assignee set to webkit-unassigned@webkit.org so this should
739 not cause problems for people relying on this functionality.
741 * template/en/custom/bug/edit.html.tmpl:
743 2010-01-22 Janusz Lewandowski <lew21@xtreeme.org>
745 Reviewed by Maciej Stachowiak.
747 run-webkit-tests fails on Ruby 1.9
748 https://bugs.webkit.org/show_bug.cgi?id=33554
749 inject does not work with strings any more, so BugsSite/PrettyPatch/PrettyPatch.rb prints lots of errors.
751 * PrettyPatch/PrettyPatch.rb:
753 2010-01-20 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
755 Reviewed by Adam Barth.
757 Adjust height of status-bubbles to prevent them being cut.
759 * template/en/custom/attachment/edit.html.tmpl:
760 * template/en/custom/attachment/list.html.tmpl:
761 * template/en/custom/attachment/reviewform.html.tmpl:
763 2010-01-08 David Kilzer <ddkilzer@apple.com>
765 <http://webkit.org/b/33410> Fix "View Plain Diff"/"View Formatted Diff" button
767 Reviewed by Adam Barth.
769 This button was broken during a previous Bugzilla upgrade after
770 changes were made to the names of objects exposed on templates.
772 * template/en/custom/attachment/reviewform.html.tmpl: Changed
773 attachid to attachment.id and ispatch to attachment.ispatch.
774 Also tweaked the format to use 4 table columns instead of 5.
776 2010-01-08 David Kilzer <ddkilzer@apple.com>
778 Included UNCONFIRMED bugs by default in advanced search query
780 Rubber-stamped by Alexey Proskuryakov.
782 * data/params: Prepended 'bug_status=UNCONFIRMED&' to
783 'defaultquery' parameter.
785 2010-01-08 David Kilzer <ddkilzer@apple.com>
787 FIX: Make patch status appear on reviewform.html.tmpl
789 * template/en/custom/attachment/reviewform.html.tmpl: Check
790 attachment.ispatch (not just ispatch) when deciding whether
791 to display patch status. Also update layout a bit.
793 2010-01-08 David Kilzer <ddkilzer@apple.com>
795 Update data/params parameters
797 * data/params: Updated 'timezone' to turn off DST. Updated
798 'usebugaliases' and 'usevotes' to turn them off.
800 2010-01-08 Adam Barth <abarth@webkit.org>
802 Reviewed by Darin Adler.
804 Show patch status in bugs.webkit.org
805 https://bugs.webkit.org/show_bug.cgi?id=33368
807 This patch adds an iframe to the show_bug page and the edit attachment
808 page that displays whether the attachment passed the various bots.
810 * template/en/custom/attachment/edit.html.tmpl:
811 * template/en/custom/attachment/list.html.tmpl:
812 * template/en/custom/attachment/reviewform.html.tmpl:
814 2009-12-07 Shinichiro Hamaji <hamaji@chromium.org>
816 Reviewed by David Kilzer.
818 Bugzilla should show images in git patches
819 https://bugs.webkit.org/show_bug.cgi?id=31395
821 Attempt to go r51748 again using --directory option of git-apply.
823 * PrettyPatch/PrettyPatch.rb:
825 2009-12-06 Shinichiro Hamaji <hamaji@chromium.org>
827 Unreviewed. Revert r51748.
829 Bugzilla should show images in git patches
830 https://bugs.webkit.org/show_bug.cgi?id=31395
832 * PrettyPatch/PrettyPatch.rb:
834 2009-12-06 Shinichiro Hamaji <hamaji@chromium.org>
836 Reviewed by David Kilzer.
838 Bugzilla should show images in git patches
839 https://bugs.webkit.org/show_bug.cgi?id=31395
841 Show images in git patches using git-apply.
843 * PrettyPatch/PrettyPatch.rb:
845 2009-10-23 Eric Seidel <eric@webkit.org>
847 Reviewed by Adam Roben.
849 PrettyPatch should show images even when they have the wrong mime type
850 https://bugs.webkit.org/show_bug.cgi?id=29506
852 * PrettyPatch/PrettyPatch.rb:
854 2009-10-17 Alexey Proskuryakov <ap@apple.com>
856 Reviewed by Eric Carlson.
858 https://bugs.webkit.org/show_bug.cgi?id=30470
859 Make marking a bug as duplicate easier
861 * js/field.js: (setResolutionToDuplicate): Focus the edit field, too.
863 2009-10-16 Alexey Proskuryakov <ap@apple.com>
865 Reviewed by Mark Rowe.
867 https://bugs.webkit.org/show_bug.cgi?id=30470
868 Make marking a bug as duplicate easier
870 * js/field.js: (setResolutionToDuplicate): Show edit field right away, don't make the user
873 2009-09-09 David Kilzer <ddkilzer@apple.com>
875 Update data/params parameters
877 * data/params: Updated 'attachment_base' parameter for secure
878 attachments. Updated 'mybugstemplate' parameter to search for
879 bugs in UNCONFIRMED, ASSIGNED and REOPENED status in addition to
882 2009-08-11 David Kilzer <ddkilzer@apple.com>
884 Updated data/params parameter
886 * data/params: Updated 'loginnetmask' parameter to allow users
887 to choose whether their cookies are restricted to a single IP
890 2009-07-07 David Kilzer <ddkilzer@apple.com>
892 Updated BugsSite with local changes on server
894 The new files were created by checksetup.pl during the upgrade
895 to Bugzilla 3.2.3. The rest are self-explanatory.
897 * data: Added "bugzilla-update.xml" to svn:ignore.
898 * data/attachments: Added "groups.*" to svn:ignore.
899 * data/params: Updated for a few changed parameters.
901 * lib/.htaccess: Added.
902 * skins/contrib/Dusk/IE-fixes.css: Added.
903 * skins/contrib/Dusk/admin.css: Added.
904 * skins/contrib/Dusk/create_attachment.css: Added.
905 * skins/contrib/Dusk/dependency-tree.css: Added.
906 * skins/contrib/Dusk/duplicates.css: Added.
907 * skins/contrib/Dusk/editusers.css: Added.
908 * skins/contrib/Dusk/help.css: Added.
909 * skins/contrib/Dusk/index.css: Added.
910 * skins/contrib/Dusk/panel.css: Added.
911 * skins/contrib/Dusk/params.css: Added.
912 * skins/contrib/Dusk/release-notes.css: Added.
913 * skins/contrib/Dusk/show_bug.css: Added.
914 * skins/contrib/Dusk/show_multiple.css: Added.
915 * skins/contrib/Dusk/summarize-time.css: Added.
916 * skins/contrib/Dusk/voting.css: Added.
917 * skins/contrib/Dusk/yui: Added.
918 * skins/contrib/Dusk/yui/calendar.css: Added.
919 * skins/custom/IE-fixes.css: Added.
920 * skins/custom/admin.css: Added.
921 * skins/custom/buglist.css: Added.
922 * skins/custom/create_attachment.css: Added.
923 * skins/custom/dependency-tree.css: Added.
924 * skins/custom/duplicates.css: Added.
925 * skins/custom/editusers.css: Added.
926 * skins/custom/help.css: Added.
927 * skins/custom/panel.css: Added.
928 * skins/custom/params.css: Added.
929 * skins/custom/release-notes.css: Added.
930 * skins/custom/show_bug.css: Added.
931 * skins/custom/show_multiple.css: Added.
932 * skins/custom/summarize-time.css: Added.
933 * skins/custom/voting.css: Added.
934 * skins/custom/yui: Added.
935 * skins/custom/yui/calendar.css: Added.
937 2009-07-03 David Kilzer <ddkilzer@apple.com>
939 Bug 26958: Change edit link to review link in request messages
941 <https://bugs.webkit.org/show_bug.cgi?id=26958>
943 Reviewed by Dan Bernstein.
945 * template/en/custom/request/email.txt.tmpl: Copied from BugsSite/template/en/default/request/email.txt.tmpl.
946 Changed link from "action=edit" to "action=review".
948 2009-07-03 David Kilzer <ddkilzer@apple.com>
950 Bug 26950: Make the summary and alias fields support click-to-edit
951 <https://bugs.webkit.org/show_bug.cgi?id=26950>
953 Reviewed by Maciej Stachowiak.
955 Original patch by Maciej Stachowiak.
958 (hideEditableField): Updated to add click event listeners to the
959 alias and short description elements to make them easier to
960 edit. Renamed field_id parameter to field2_id (short
961 description id) and added a field1_id parameter (alias id).
962 (showEditableField): If a third parameter is passed in the
963 ContainerInputArray parameter, use it to find the element to
964 focus. Otherwise, fall back to the original behavior of
965 focusing the first input field.
966 (hideAliasAndSummary): Changed to pass the id for the alias
967 element to hideEditableField().
969 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
971 Config file for contrib/recode.pl when upgrading bugs.webkit.org
973 Current as of midday on Wednesday, July 1, 2009.
975 * contrib/recode-overrides.txt: Added.
977 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
979 Workaround for WebKit Bug 9630 when running contrib/recode.pl
981 A number of WebKit nightly builds included Bug 9630 which caused
982 non-breaking space characters (0xA0) to be submitted within the
983 content of textarea elements.
985 * contrib/recode.pl: To work around these 0xA0 characters, try
986 an encoding of cp1252 and use it if it works.
988 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
990 Don't print "Failed to guess" warning if an override is available
992 * contrib/recode.pl: Check that %overrides does NOT contain a
993 key matching the current digest before printing out the warning
994 about a failed charset guess.
996 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
998 Added --[no-]truncate switch to contrib/recode.pl
1000 * contrib/recode.pl: Added --[no-]truncate switch to make
1001 debugging of failed charset guessing easier. Often times the
1002 illegal character was truncated in the output.
1004 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1006 Changed Perl scripts to use #!/usr/bin/env perl
1008 perl -pi -e 's@#\!/usr/bin/perl@#\!/usr/bin/env perl@' *.cgi *.pl */*.pl
1010 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1012 Replace Bugzilla favicon with webkit.org favicon
1014 * favicon.ico: Removed.
1015 * images/favicon.ico: Replaced. Copied from favicon.ico.
1017 2009-07-02 David Kilzer <ddkilzer@webkit.org>
1019 Merged BugsSite to Bugzilla-3.2.3
1021 Updated to the latest-and-greatest stable version.
1023 2009-07-02 David Kilzer <ddkilzer@webkit.org>
1025 Merged BugsSite to Bugzilla-3.0.3
1027 Nothing to see here. Move along.
1029 2009-06-09 Eric Seidel <eric@webkit.org>
1031 Reviewed by Adam Roben.
1033 Add support for displaying added png files in PrettyPatch diffs
1034 https://bugs.webkit.org/show_bug.cgi?id=26210
1036 Currently this is SVN only (git-send-bugzilla patches exclude binary data)
1037 and only works for PNG files but could easily be made to work for other images as needed.
1039 * PrettyPatch/PrettyPatch.rb:
1041 2009-05-19 Eric Seidel <eric@webkit.org>
1043 Reviewed by Adam Roben.
1045 Make PrettyPatch understand quoted filenames in git diffs.
1046 https://bugs.webkit.org/show_bug.cgi?id=25881
1048 * PrettyPatch/PrettyPatch.rb:
1050 2009-05-15 Simon Fraser <simon.fraser@apple.com>
1052 Carrying forwards Darin Adler's rubber stamp
1054 Make the comment field wider too.
1056 * skins/custom/global.css:
1058 2009-05-14 Simon Fraser <simon.fraser@apple.com>
1060 Reviewed by Darin Adler
1062 Make the URL, Summary and Keyword fields wider to mitigate the
1063 effects of https://bugs.webkit.org/show_bug.cgi?id=25566 and make
1064 things generally better.
1066 * skins/custom/global.css:
1067 * template/en/custom/bug/edit.html.tmpl:
1069 2008-11-10 Darin Adler <darin@apple.com>
1071 - fix more of https://bugs.webkit.org/show_bug.cgi?id=21400
1072 "Edit" links for patches in comments, review queue, review emails
1073 should be replaced by "Review Patch" links
1075 * globals.pl: Fix cases that are automatically generated, such as links
1076 in comments in bugs.
1078 * template/en/custom/attachment/created.html.tmpl: Fix the link on the
1079 "I just created an attachment" page.
1081 * template/en/custom/request/queue.html.tmpl: Fix the link in the queue
1084 2008-11-10 Darin Adler <darin@apple.com>
1086 * template/en/default/request/queue.html.tmpl: Use review links instead
1087 of edit links in the review queue.
1089 2008-11-10 Darin Adler <darin@apple.com>
1091 * template/en/custom/request/email.txt.tmpl: Send review links instead
1092 of edit links when flags are set on a bug.
1094 2008-10-27 Darin Adler <darin@apple.com>
1096 * template/en/custom/attachment/reviewform.html.tmpl: Leave out the
1097 comment if it's untouched.
1099 2008-10-23 Adam Roben <aroben@apple.com>
1101 Fix Bug 21401: Comments field on "Review Patch" page should be
1102 initially filled with quoted patch
1104 <https://bugs.webkit.org/show_bug.cgi?id=21401>
1106 Reviewed by Dave Hyatt.
1109 (edit): Retrieve the attachment data from the database instead of just
1110 its length. When the attachment is a patch, create a quotedpatch
1111 template variable that contains the patch data with each line
1112 prepended with "> ".
1113 * template/en/custom/attachment/reviewform.html.tmpl:
1114 - Changed the comments field to have a monospace font
1115 - Added an "Enter comments below:" caption above the comments field
1116 to make it clearer that this is where comments should go, now that
1117 the comments field is not initially empty
1118 - Fill the comments field with the quoted patch
1120 2008-10-14 Adam Roben <aroben@apple.com>
1122 Fix Bug 21602: Bugzilla times out trying to display formatted diff for
1125 https://bugs.webkit.org/show_bug.cgi?id=21602
1127 Reviewed by Dave Kilzer.
1129 * PrettyPatch/PrettyPatch.rb:
1130 (PrettyPatch.BINARY_FILE_MARKER_FORMAT): Added.
1131 (PrettyPatch.FileDiff.initialize): If any of the lines in the diff
1132 are a binary file marker, mark this FileDiff as binary and stop trying
1133 to process the lines.
1134 (PrettyDiff.FileDiff.to_html): If we're binary, just print a string
1137 2008-10-02 Adam Roben <aroben@apple.com>
1139 * template/en/custom/attachment/reviewform.html.tmpl: Fix typo.
1141 2008-10-02 Adam Roben <aroben@apple.com>
1143 * template/en/custom/attachment/review.html.tmpl: Fix URLs
1145 2008-10-02 Adam Roben <aroben@apple.com>
1147 Fix Bug 21315: bugs.webkit.org should have a nicer patch review
1150 https://bugs.webkit.org/show_bug.cgi?id=21315
1152 Reviewed by Tim Hatcher.
1155 (top level): Added support for the "review" and "reviewform" actions.
1156 (sub edit): Accept the template name as a parameter. If no name is
1157 give, use "edit" as before.
1158 * template/en/custom/attachment/list.html.tmpl: Added a "Review Patch"
1159 link for all patch attachments.
1160 * template/en/custom/attachment/review.html.tmpl: Added. Simple
1161 <frameset> page to show the patch on the top and a comment form on the
1163 * template/en/custom/attachment/reviewform.html.tmpl: Added. Simple
1164 comment form for reviewing patches.
1166 2008-10-02 Adam Roben <aroben@apple.com>
1168 Remove references to some backup files I created when implementing
1169 PrettyPatch in Bugzilla
1171 Reviewed by Tim Hatcher.
1173 * attachment-aroben.cgi: Removed.
1174 * template/en/default/attachment/edit-aroben.html.tmpl: Removed.
1176 * template/en/custom/attachment/edit.html.tmpl: Removed an erroneous
1177 reference to attachment-aroben.cgi. attachment.cgi will work just
1180 2008-06-25 David Kilzer <ddkilzer@apple.com>
1182 Make PrettyPatch handle diffs with no Index or diff headers
1184 Part of Bug 19290: More patches not handled by PrettyPatch.rb
1185 <https://bugs.webkit.org/show_bug.cgi?id=19290>
1189 * PrettyPatch/PrettyPatch.rb:
1190 (PrettyPatch.DIFF_HEADER_FORMATS): Added regular expression to
1191 match on "+++ " lines for patches with no "Index" or "diff" header.
1192 (PrettyPatch.FileDiff.initialize): Look for filename on "+++ " line
1193 when the first line of a patch has no "Index" or "diff" header.
1194 (PrettyPatch.FileDiff.parse): Added haveSeenDiffHeader state
1195 variable to determine when no "Index" or "diff" header has been
1196 found, but a new patch has started with a "--- " line.
1198 2008-06-08 Dan Bernstein <mitz@apple.com>
1200 Reviewed by Adam Roben.
1202 - update trac URL in PrettyPatch
1204 * PrettyPatch/PrettyPatch.rb:
1206 2008-05-29 Adam Roben <aroben@apple.com>
1208 Update PrettyPatch directory list
1210 * PrettyPatch/PrettyPatch.rb:
1212 2008-05-28 Adam Roben <aroben@apple.com>
1214 Make PrettyPatch able to handle diffs taken from outside the WebKit
1217 Part of Bug 19290: More patches not handled by PrettyPatch.rb
1218 <https://bugs.webkit.org/show_bug.cgi?id=19290>
1220 Reviewed by David Kilzer.
1222 * PrettyPatch/PrettyPatch.rb:
1223 (PrettyPatch.find_url_and_path): Added. Searches the file path from
1224 the bottom up looking for a directory that exists in the source tree.
1225 (PrettyPatch.linkifyFilename): Changed to call find_url_and_path.
1227 2008-05-28 Adam Roben <aroben@apple.com>
1229 Print exceptions from PrettyPatch to stdout
1231 This will make it much easier to debug problems with PrettyPatch,
1232 since we'll be able to see the exceptions in the browser.
1234 Reviewed by Sam Weinig.
1236 * PrettyPatch/prettify.rb: Added a --html-exceptions option, which
1237 will print exceptions to stdout as HTML.
1238 * attachment.cgi: Changed to pass --html-exceptions to prettify.rb.
1240 2008-04-26 David Kilzer <ddkilzer@apple.com>
1242 Removed temp files and added appropriate svn:ignore properties.
1244 Rubber-stamped by Mark Rowe.
1246 * data: Added svn:ignore property for "versioncache" and "versioncache.*" files.
1248 * data/template: Added svn:ignore property for "template" subdirectory.
1249 * data/template/template: Removed precompiled template subdirectory.
1251 * data/versioncache: Removed.
1252 * data/versioncache.*: Removed backup versioncache files.
1254 * data/webdot: Added svn:ignore property for "*.dot" files.
1255 * data/webdot/*.dot: Removed cached webdot files.
1257 2008-04-08 Adam Roben <aroben@apple.com>
1259 Combine :equal operations with the following operation if they are
1260 fewer than 3 characters long
1262 This keeps us from showing lots of small changes on long lines, just
1263 because some letters happened to be the same.
1266 http://code.google.com/p/reviewboard/source/browse/trunk/reviewboard/diffviewer/diffutils.py?r=1264#147
1268 * PrettyPatch/PrettyPatch.rb:
1269 (PrettyPatch::DiffSection.initialize): Remove :equal operations fewer
1270 than 3 characters long. The characters from the removed operations
1271 become part of the subsequent operation.
1272 (PrettyPatch::CodeLine.text_as_html): Don't wrap 0-length strings in
1273 <ins>/<del> tags. Also removed the @fromLineNumber.nil? and
1274 @toLineNumber.nil? checks as they are no longer reliable now that
1275 we're removing operations.
1277 2008-04-08 Adam Roben <aroben@apple.com>
1279 Change PrettyPatch to use DiffBuilder for intra-line diffs
1281 This gives us much prettier intra-line diffs, largely because it can
1282 distinguish multiple changes on the same line. e.g., if a line changes
1285 const int myConstant = 0;
1289 static const unsigned myConstant;
1291 You will see that "static " was inserted, "int" changed to "unsigned",
1292 and " = 0" was deleted.
1294 This seems to have also gotten rid of some spurious instances of
1295 "<ins></ins>" and "<del></del>" at the end of a line.
1297 * PrettyPatch/PrettyPatch.rb:
1298 (PrettyPatch::DiffSection.initialize): Use DiffBuilder instead of
1299 setChangeExtentFromLine (which had been copied from Trac's diffing
1301 (PrettyPatch::CodeLine):
1302 - Removed the changeExtent attribute
1303 - Added the operations attribute
1304 - Removed the setChangeExtentFromLine method
1305 (PrettyPatch::CodeLine.text_as_html): Uses @operations to determine
1306 what text to wrap in <ins> and <del> tags.
1307 * PrettyPatch/diff.rb: Deleted a bunch of code we don't use.
1308 (HTMLDiff::DiffBuilder.initialize): Moved code here from the old build
1309 method, but left out the calls to perform_operation, since we build
1310 the diff HTML outside of this class.
1311 (HTMLDiff::DiffBuilder.split_inputs_to_words): Removed calls to
1312 convert_html_to_list_of_words, since we're not diffing HTML.
1314 2008-04-08 Adam Roben <aroben@apple.com>
1319 http://instiki.rubyforge.org/svn/instiki/trunk/lib/diff.rb
1322 * PrettyPatch/diff.rb: Added.
1324 2008-03-04 Adam Roben <aroben@apple.com>
1326 * PrettyPatch/PrettyPatch.rb: Allow the extent of the previous file to
1327 be omitted from the hunk header.