1 2010-12-20 Adam Barth <abarth@webkit.org>
3 One more tweak caused by moving the web sites around. I had this
4 change in my patch originally, but I missed it because I had to use
5 server-side svn move commands to move the bulk of the web site files.
7 * PrettyPatch/PrettyPatch.rb:
9 2010-12-18 Adam Barth <abarth@webkit.org>
11 Reviewed by Sam Weinig.
13 Move WebKitExamplePlugins to Examples
14 https://bugs.webkit.org/show_bug.cgi?id=51291
16 * PrettyPatch/PrettyPatch.rb:
18 2010-12-17 Dan Bernstein <mitz@apple.com>
20 Reviewed by Simon Fraser.
22 Rename WebKitTools to Tools
23 https://bugs.webkit.org/show_bug.cgi?id=49861
25 * PrettyPatch/PrettyPatch.rb:
26 * committers-autocomplete.js:
28 2010-12-17 Ojan Vafai <ojan@chromium.org>
30 Increment psuedo-version number to avoid pulling cached version.
32 * PrettyPatch/PrettyPatch.rb:
34 2010-12-17 Ojan Vafai <ojan@chromium.org>
36 Speculative fix for the code review tool in Firefox.
37 Fixes a JS error and makes the status bubble mostly work
38 if postMessage is not supported.
40 * PrettyPatch/PrettyPatch.rb:
43 2010-12-15 Ojan Vafai <ojan@chromium.org>
45 Reviewed by Adam Barth.
47 size status bubble to it's contents on the code review page
48 https://bugs.webkit.org/show_bug.cgi?id=51142
50 * PrettyPatch/PrettyPatch.rb:
53 2010-12-15 Ojan Vafai <ojan@chromium.org>
55 Reviewed by Adam Barth.
57 fix goofups from r74142 and r74130
58 https://bugs.webkit.org/show_bug.cgi?id=51146
60 Accidentally shrank the inline comment boxes and made
61 the toolbar not show up when there were image diffs.
63 * PrettyPatch/PrettyPatch.rb:
66 2010-12-14 Ojan Vafai <ojan@chromium.org>
68 Reviewed by Adam Barth.
70 add ability to view for file context to the review tool
71 https://bugs.webkit.org/show_bug.cgi?id=51057
73 At the beginning/end of each file diff and between each
74 hunk add links to expand the context. For now it grabs the
75 tip of tree version of the file and tries to apply the diff
76 to that file. If it can't apply, then it gives up as we
77 wouldn't want to show the wrong lines of context.
79 In the future, we can consider adding the upload svn revision
80 to the diff itself, then we could fallback to the file at that
81 revision if tip of tree doesn't apply.
83 * PrettyPatch/PrettyPatch.rb:
86 2010-12-08 Ojan Vafai <ojan@chromium.org>
88 Reviewed by Adam Barth.
90 [reviewtool] should always show overall comments text box
91 https://bugs.webkit.org/show_bug.cgi?id=45870
93 * PrettyPatch/PrettyPatch.rb:
96 2010-12-04 Patrick Gansterer <paroga@webkit.org>
98 Reviewed by Adam Barth.
100 Increase size of status bubbles
101 https://bugs.webkit.org/show_bug.cgi?id=50496
103 The current available space isn't enough to display all
104 pending results including position in the queue.
106 * PrettyPatch/PrettyPatch.rb:
108 2010-12-04 Patrick Gansterer <paroga@webkit.org>
110 Reviewed by Adam Barth.
112 Increase size of status bubbles
113 https://bugs.webkit.org/show_bug.cgi?id=50496
115 The current available space isn't enough to display all
116 pending results including position in the queue.
118 * template/en/custom/attachment/edit.html.tmpl:
119 * template/en/custom/attachment/list.html.tmpl:
120 * template/en/custom/attachment/reviewform.html.tmpl:
122 2010-11-08 Adam Barth <abarth@webkit.org>
124 Update help text to match behavior change.
128 2010-11-08 Adam Barth <abarth@webkit.org>
130 Reviewed by Eric Seidel.
132 Restore normal meaning of double-click on patch review page?
133 https://bugs.webkit.org/show_bug.cgi?id=47641
135 After this patch, you need to click on the line numbers to add a
138 * PrettyPatch/PrettyPatch.rb:
141 2010-10-09 Adam Barth <abarth@webkit.org>
143 Reviewed by Alexey Proskuryakov.
145 Exception in committers-autocomplete in Firefox
146 https://bugs.webkit.org/show_bug.cgi?id=47456
148 Remove dependency on a WebKit-only quirk. IMHO, this quirk is bad for
149 the long-term health of the web, but that's a discussion for another
152 * committers-autocomplete.js:
154 2010-10-08 Adam Barth <abarth@webkit.org>
156 Reviewed by Oliver Hunt.
158 Bugmail for new attachments should link to the reviewtool
159 https://bugs.webkit.org/show_bug.cgi?id=47440
161 As requested by olliej himself. This patch was constructed by pure
162 reason. I have no way to actually run this code.
164 * Bugzilla/BugMail.pm:
166 2010-09-28 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
168 Reviewed by Csaba Osztrogonác.
170 Convert verbatim unicode values in comitter names to characters
172 * committers-autocomplete.js:
174 2010-09-24 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
176 Reviewed by Csaba Osztrogonác.
178 Support Unicode-strings in committers-autocomplete script
180 * committers-autocomplete.js:
182 2010-09-22 Adam Barth <abarth@webkit.org>
184 Reviewed by John Sullivan.
186 New review-page design doesn't include name of reviewer
187 https://bugs.webkit.org/show_bug.cgi?id=46271
189 * PrettyPatch/PrettyPatch.rb:
192 2010-09-22 Adam Barth <abarth@webkit.org>
196 * PrettyPatch/PrettyPatch.rb:
198 2010-09-22 Adam Barth <abarth@webkit.org>
200 Reviewed by Eric Seidel.
202 Add link to bug to review page
203 https://bugs.webkit.org/show_bug.cgi?id=46192
205 To make room for the link, I moved the help text to the top of the page
206 and tweaked the language to help folks discover that you can select
207 context using the line numbers.
209 Also, move more text to sans-serif since that fits in better with the
212 * PrettyPatch/PrettyPatch.rb:
215 2010-09-21 Adam Barth <abarth@webkit.org>
219 [reviewtool] Publish button doesn't work
220 https://bugs.webkit.org/show_bug.cgi?id=46168
222 Darin's recent patch had a runtime error. Sadly, we don't have any
223 testing for this code.
227 2010-09-20 Darin Adler <darin@apple.com>
229 Reviewed by Adam Barth.
231 Add Preview button and link to bug to patch review bar
232 https://bugs.webkit.org/show_bug.cgi?id=46153
234 * PrettyPatch/PrettyPatch.rb: Bump version number to make caches happy.
235 * code-review.js: Added Preview button and link to bug.
237 2010-09-19 Adam Barth <abarth@webkit.org>
239 Reviewed by Eric Seidel.
241 [reviewtool] Publish button should actually publish the review comments
242 https://bugs.webkit.org/show_bug.cgi?id=46074
244 Instead of showing the confirmation lightbox, the Publish button now
245 publishes the comments directly. If there's demand for a "Preview"
246 button, we can find a way to add that feature.
250 2010-09-19 Adam Barth <abarth@webkit.org>
252 Reviewed by Eric Seidel.
254 Move reviewtool to action=review
255 https://bugs.webkit.org/show_bug.cgi?id=46071
257 This patch removes the old Review Patch screen and moves the new
258 reviewtool from Pretty Diff to Review Patch.
263 2010-09-19 Adam Barth <abarth@webkit.org>
265 Review tool UI tweak. This patch lengthens the status bubbles so all
266 the bubble fit (even when they have numbers inside).
268 * PrettyPatch/PrettyPatch.rb:
270 2010-09-19 Dan Bernstein <mitz@apple.com>
272 Reviewed by Anders Carlsson.
276 * code-review.js: Changed the label of the OK button from Ok to OK.
278 2010-09-15 Adam Barth <abarth@webkit.org>
282 Only show the review-in-context link if there are contextual comments.
286 2010-09-15 Adam Barth <abarth@webkit.org>
288 Reviewed by Eric Seidel.
290 [reviewtool] Show the status bubbles on the toolbar
291 https://bugs.webkit.org/show_bug.cgi?id=45861
293 * PrettyPatch/PrettyPatch.rb:
296 2010-09-15 Adam Barth <abarth@webkit.org>
298 Reviewed by Eric Seidel.
300 [reviewtool] Allow setting review and commit-queue flags from main review screen
301 https://bugs.webkit.org/show_bug.cgi?id=45860
303 This patch adds drop down menus for adjusting the review and
304 commit-queue flags from the main review screen. These controls don't
305 appear immediately because we need to read the state of the flags off
308 It's a slight sadness that bugzilla doesn't have a clean way of
309 identifying which select control is associated with a given flag. The
310 flags seem to have some sort of id, but it's unclear to me how to map
311 that id back to a notion of "review" or "commit-queue". Instead, we
312 look for some magic strings in the title. I'm sure this will come back
313 to bit us at some point, but I'm not sure what to do that's better.
314 (The webkitpy solution to this problem is to assume that the flags are
315 in a given order, but this seems better.)
317 * PrettyPatch/PrettyPatch.rb:
318 - Bump version number to bust throuh caches.
321 2010-09-15 Adam Barth <abarth@webkit.org>
323 Reviewed by Eric Seidel.
325 [reviewtool] Comments should quote previous comments on the same line
326 https://bugs.webkit.org/show_bug.cgi?id=45847
328 Now when you reply to a previous comment, the tool will quote the
329 previous comment in the bugs.webkit.org post. This makes it eaiser for
330 folks following along in email to understand the discussion.
332 While I was editing this code, I also cleaned up some of the whitespace
333 handling in comments.
337 2010-09-15 Adam Barth <abarth@webkit.org>
339 Minor UI tweak to the review tool. We want to display newlines in
340 previous and frozen comments instead of collapsing them.
342 * PrettyPatch/PrettyPatch.rb:
344 2010-09-14 Adam Barth <abarth@webkit.org>
346 Reviewed by Eric Seidel.
348 bugs.webkit.org should autocomplete WebKit Committers and Reviewers
349 https://bugs.webkit.org/show_bug.cgi?id=45799
351 This patch implements an autocomplete dropdown that helps users type
352 the names of WebKit committers and reviewers. The script grabs the
353 data from SVN now that wms set up CORS for http://svn.webkit.org.
354 Security technology for the win.
356 This script is based on (well, essentially copied from) the popular
357 autocomplete extension:
359 https://chrome.google.com/extensions/detail/olaabhcgdogcbcoiolomlcodkngnemfb
361 I asked Ojan, and said he was fine licensing the code under the BSD
362 license. I'm not sure how the patch interacts with the extension, but
363 we can retire the extension if they interact poorly.
365 * committers-autocomplete.js: Added.
366 * template/en/default/global/footer.html.tmpl:
367 - Add the script to every page on bugs.webkit.org
369 2010-09-14 Adam Barth <abarth@webkit.org>
371 Add a license block to the reviewtool. I should have added this from
372 the start. According to the SVN log, I'm the only one to have ever
377 2010-09-07 Adam Barth <abarth@webkit.org>
379 Minor tweaks to the reviewtool UI.
381 Rename Cancel to Discard to make it more clear what the button does.
382 Also, move the style declaration for the focus ring later in the sheet
385 * PrettyPatch/PrettyPatch.rb:
388 2010-09-06 Adam Barth <abarth@webkit.org>
390 Small UI tweak to the reviewtool. Make the Ok/Cancel buttons a bit
393 * PrettyPatch/PrettyPatch.rb:
395 2010-09-06 Adam Barth <abarth@webkit.org>
397 Reviewed by Eric Seidel.
399 [reviewtool] Add a quick animation for opening/closing comment boxes
400 https://bugs.webkit.org/show_bug.cgi?id=45278
402 The 200ms animation slides in and out the line-by-line comment box.
406 2010-09-06 Adam Barth <abarth@webkit.org>
408 Reviewed by Eric Seidel.
410 [reviewtool] Add a field for overall comments
411 https://bugs.webkit.org/show_bug.cgi?id=45273
413 This patch does a couple logically separate things that could be
414 separated into smaller patches:
416 1) This patch adds an "overall comments" field where you can enter
417 overall comments about the patch. These comments appear at the top
418 of the bugzilla posting. Currently, these aren't redisplayed when
419 viewing the patch, but I plan to add that in a future patch.
421 2) This patch renames some of the CSS classes to more consistently
422 follow the camelCase style that PrettyPatch uses.
424 3) This patch moves the "prepare comments" button to the left of the
425 toolbar and renames is to "publish comments". This makes more sense
426 when you scroll to the bottom of the page and enter in some overall
429 4) When you attempt to add a comment to a line that already has a
430 "frozen" comment, we now unfreeze the comment instead of doing
431 nothing. The old behavior was kind of frustrating if you didn't
432 know that you could unfreeze a comment by clicking on it.
434 * PrettyPatch/PrettyPatch.rb:
438 2010-09-06 Adam Barth <abarth@webkit.org>
440 [reviewtool] Tweak the ok button to cancel the comment if the comment
441 is empty. Previously we would get into a bad state where a line had a
442 comment but there was no longer any way to access it.
446 2010-09-06 Adam Barth <abarth@webkit.org>
448 Reviewed by Eric Seidel.
450 [reviewtool] Add an "ok" button that collapses review comments
451 https://bugs.webkit.org/show_bug.cgi?id=45255
453 Many folks (including myself) are too trigger-happy with the "delete"
454 button that we end up deleting perfectly good review comments. This
455 patch adds an "ok" button to absorb these clicks (and renames "delete"
456 to "cancel"). When you click the ok button, the comment becomes
457 non-editable and the box shrinks to fit the text. You can click the
458 text to get back to the editable version.
462 2010-08-31 Adam Barth <abarth@webkit.org>
464 Reviewed by Eric Seidel.
466 [reviewtool] Make it easy to scroll through review comments
467 https://bugs.webkit.org/show_bug.cgi?id=45002
469 This patch lets you scroll through review comments using "n" (for next)
470 and "p" (for previous). It also attributes comments to their authors.
472 * PrettyPatch/PrettyPatch.rb:
475 2010-08-31 Adam Barth <abarth@webkit.org>
477 Reviewed by Eric Seidel.
479 [reviewtool] Show previous comments inline in diff
480 https://bugs.webkit.org/show_bug.cgi?id=44977
482 This patch adds basic support for showing previous comments inline in
483 the diff. We crawl the bugs.webkit.org comments about this attachment
484 and extract comments related to specific lines. We then show the
485 comments inline in the diff.
487 This part of the tool needs a bunch of polish, but this at least is a
488 starting point for further work.
490 * PrettyPatch/PrettyPatch.rb:
493 2010-08-31 Adam Barth <abarth@webkit.org>
495 Reviewed by Eric Seidel.
497 [reviewtool] Allow reviewer to select lines of context by dragging over the line numbers
498 https://bugs.webkit.org/show_bug.cgi?id=44936
500 * PrettyPatch/PrettyPatch.rb:
501 - Add a version number to bust through bugs.webkit.org's aggressive
505 2010-08-30 Adam Barth <abarth@webkit.org>
507 Reviewed by Eric Seidel.
509 [review tool] Let reviewer select how much context to show in snippet
510 https://bugs.webkit.org/show_bug.cgi?id=44905
512 We now highlight the context for a comment in yellow on the left (where
513 the line numbers are). Clicking a line number expands or contracts the
514 amount of context, as appropriate. Informal user testing indicates
515 that we might want to support drag as well.
517 This patch also changes the "open a comment box here" action to
518 double-click to avoid issues with mis-clicks.
520 * PrettyPatch/PrettyPatch.rb:
523 2010-08-29 Adam Barth <abarth@webkit.org>
525 Attempt to make Sam's life easier by not opening a comment text field
526 if there's a selection. This should make it easier to copy/paste text
527 out of the diff without accidentally opening comment boxes.
531 2010-08-29 Adam Barth <abarth@webkit.org>
533 Turns out we're supposed to use find instead of children here.
537 2010-08-29 Adam Barth <abarth@webkit.org>
539 Reviewed by Eric Seidel.
541 Awesomify pretty-diff based review tool
542 https://bugs.webkit.org/show_bug.cgi?id=44835
544 This patch replaces the existing inline comment feature with a new
545 implementation. Hopefully the new implementation is more awesome.
546 It's not 100% done yet, but I'd like to get this version out there to
549 Unlike the previous version this version works with the "Formatted
550 Diff" link instead of the "Review Patch" link. Hopefully that will
551 avoid interfering with folks who like the old style review.
553 * PrettyPatch/PrettyPatch.rb:
554 * code-review.js: Added.
555 * prototype.js: Removed.
557 2010-08-19 Tony Chang <tony@chromium.org>
559 Reviewed by Adam Barth.
561 webkit-patch barfed on upload with a new image test result
562 https://bugs.webkit.org/show_bug.cgi?id=39097
564 * PrettyPatch/PrettyPatch.rb: don't use full path to git
566 2010-08-19 Tony Chang <tony@chromium.org>
568 Unreviewed, setting svn:eol-style native on ChangeLog.
570 2010-08-19 Tony Chang <tony@chromium.org>
572 Unreviewed. Just removing \r's from ChangeLog.
574 2010-08-02 Adam Roben <aroben@apple.com>
576 Tell the patch prettifier about some (not so) new directories
578 * PrettyPatch/PrettyPatch.rb: Added WebKit2, autotools, and cmake
581 2010-07-27 Joseph Pecoraro <joepeck@webkit.org>
583 Reviewed by David Kilzer.
585 Provide a Helpful Link for Web Inspector Bugs in Bugzilla
586 https://bugs.webkit.org/show_bug.cgi?id=43065
588 * template/en/custom/global/choose-product.html.tmpl: Added. Explicitly added a link for the Web Inspector.
590 2010-06-09 Julie Parent <jparent@chromium.org>
592 Reviewed by David Kilzer.
594 Bugzilla: Don't send mail for cancel/deny/granted for in-rietveld.
596 https://bugs.webkit.org/show_bug.cgi?id=40345
600 2010-05-17 Julie Parent <jparent@chromium.org>
602 Reviewed by Ojan Vafai.
604 Rietveld review page should dedicate more space to Rietveld, less to high level comments form.
606 https://bugs.webkit.org/show_bug.cgi?id=39244
608 * template/en/custom/attachment/reviewform.html.tmpl:
609 Delete a random BR amongst the hidden elements that was causing extra whitespace.
610 * template/en/custom/attachment/rietveldreview.html.tmpl:
611 Increase size of Rietveld frame to 80%, from 60%.
613 2010-05-14 Julie Parent <jparent@chromium.org>
615 Reviewed by Ojan Vafai.
617 Bugzilla: Only show "Rietveld Review" link when in-rietveld is set to +.
619 https://bugs.webkit.org/show_bug.cgi?id=39141
621 * template/en/custom/attachment/list.html.tmpl:
623 2010-05-13 Julie Parent <jparent@chromium.org>
625 Reviewed by David Kilzer.
627 Bugzilla: Don't send mail if the only change is to the in-rietveld flag.
629 https://bugs.webkit.org/show_bug.cgi?id=39090
631 * Bugzilla/BugMail.pm:
633 2010-05-12 Julie Parent <jparent@chromium.org>
635 Reviewed by Ojan Vafai.
637 Hide the in-rietveld flag in the UI. It is only used only by tooling and shouldn't clutter the UI.
638 https://bugs.webkit.org/show_bug.cgi?id=39024
640 * template/en/custom/attachment/list.html.tmpl:
641 Removes this flag entirely from the UI, not needed on this page.
642 * template/en/custom/flag/list.html.tmpl: Added.
643 Copied from template/en/default/flag/list.html.tmpl with only changes inside the if WEBKIT_CHANGES section.
644 Hides the flag rather than removing it completely, so tools can still interact with it.
646 2010-05-12 Julie Parent <jparent@chromium.org>
648 Reviewed by David Kilzer.
650 Adds support for Rietveld reviews. When there is an associated
651 Rietveld id for a patch, adds a link to do a Rietveld review instead.
653 https://bugs.webkit.org/show_bug.cgi?id=38143
656 Added support for handling action=rietveldreview.
657 * template/en/custom/attachment/list.html.tmpl:
658 Adds a link to use rietveld review iff the in_rietveld flag is set.
659 * template/en/custom/attachment/reviewform.html.tmpl:
660 Detects if we are in rietveld review mode due to query string paramter,
661 and customizes the review form slightly:
662 - Changes text describing comment field.
663 - Comment field does not include quoted patch.
664 - Submit button fetches from Rietveld instead of just submitting.
665 * template/en/custom/attachment/rietveldreview.html.tmpl: Added.
666 New template for rietveldreview mode. Hosts the rietveld frame in the
667 top and the regular comments form in the bottom.
668 Uses postMessage to communicate with Rietveld frame.
670 2010-05-08 Chris Jerdonek <cjerdonek@webkit.org>
672 Reviewed by Maciej Stachowiak.
674 Allow long comment lines to wrap to the window width instead
677 https://bugs.webkit.org/show_bug.cgi?id=37792
679 * Bugzilla/Constants.pm:
680 - Introduced a new constant COMMENT_COLS_WRAP to replace COMMENT_COLS
681 inside the wrap_comment() subroutine. The new constant effectively
682 disables text wrapping by increasing the value used in wrap_comment()
683 from 80 characters to a very large value (8000).
685 - Replaced COMMENT_COLS with COMMENT_COLS_WRAP inside wrap_comment().
686 * skins/custom/global.css:
688 - Eliminate the width styling on comments to allow long lines
689 to wrap at the window width.
690 (.bz_comment_text > span.quote):
691 - Inherit the "white-space" property. This prevents long quoted
692 lines in comments from causing non-quoted lines to extend beyond
695 2010-04-22 Adam Barth <abarth@webkit.org>
697 Reviewed by Darin Adler.
699 The new review tools shouldn't clear the comment box automatically
700 https://bugs.webkit.org/show_bug.cgi?id=38004
702 Instead, we now have a button for doing that explicitly. If people
703 like this tool, we can look at fancier solutions.
705 Also, tried to make the tool work on the edit page as well as the review page.
707 * PrettyPatch/PrettyPatch.rb:
709 2010-04-22 Adam Barth <abarth@webkit.org>
711 Unreviewed. Turns out we need to do more escaping because Ruby was
712 explanding our newlines, creating a syntax error.
714 * PrettyPatch/PrettyPatch.rb:
716 2010-04-22 Adam Barth <abarth@webkit.org>
718 Reviewed by Darin Adler.
720 Hack up PrettyDiff to allow line-by-line comments
721 https://bugs.webkit.org/show_bug.cgi?id=37886
723 Admittedly a bit of a hack, this is a basic line-by-line editor we can
724 play with thanks to Andrew Scherkus. It's meant to integrate with the
725 "review" page at bugs.webkit.org.
727 I changed a few things from Andrew's original version:
728 1) Trigger text boxes on single click to make iPhone/iPad reviewing
730 2) Clear the main text box on load.
731 3) Reference a version of prototype.js on bugs.webkit.org.
733 * PrettyPatch/PrettyPatch.rb:
734 * prototype.js: Added.
736 2010-02-22 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
738 Reviewed by Maciej Stachowiak.
740 Don't reset the assignee back to default on component change
742 https://bugs.webkit.org/show_bug.cgi?id=35236
744 There's a risk of reseting a valid assignee for example when
745 triaging a bug. All components in WebKit have the default
746 assignee set to webkit-unassigned@webkit.org so this should
747 not cause problems for people relying on this functionality.
749 * template/en/custom/bug/edit.html.tmpl:
751 2010-01-22 Janusz Lewandowski <lew21@xtreeme.org>
753 Reviewed by Maciej Stachowiak.
755 run-webkit-tests fails on Ruby 1.9
756 https://bugs.webkit.org/show_bug.cgi?id=33554
757 inject does not work with strings any more, so BugsSite/PrettyPatch/PrettyPatch.rb prints lots of errors.
759 * PrettyPatch/PrettyPatch.rb:
761 2010-01-20 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
763 Reviewed by Adam Barth.
765 Adjust height of status-bubbles to prevent them being cut.
767 * template/en/custom/attachment/edit.html.tmpl:
768 * template/en/custom/attachment/list.html.tmpl:
769 * template/en/custom/attachment/reviewform.html.tmpl:
771 2010-01-08 David Kilzer <ddkilzer@apple.com>
773 <http://webkit.org/b/33410> Fix "View Plain Diff"/"View Formatted Diff" button
775 Reviewed by Adam Barth.
777 This button was broken during a previous Bugzilla upgrade after
778 changes were made to the names of objects exposed on templates.
780 * template/en/custom/attachment/reviewform.html.tmpl: Changed
781 attachid to attachment.id and ispatch to attachment.ispatch.
782 Also tweaked the format to use 4 table columns instead of 5.
784 2010-01-08 David Kilzer <ddkilzer@apple.com>
786 Included UNCONFIRMED bugs by default in advanced search query
788 Rubber-stamped by Alexey Proskuryakov.
790 * data/params: Prepended 'bug_status=UNCONFIRMED&' to
791 'defaultquery' parameter.
793 2010-01-08 David Kilzer <ddkilzer@apple.com>
795 FIX: Make patch status appear on reviewform.html.tmpl
797 * template/en/custom/attachment/reviewform.html.tmpl: Check
798 attachment.ispatch (not just ispatch) when deciding whether
799 to display patch status. Also update layout a bit.
801 2010-01-08 David Kilzer <ddkilzer@apple.com>
803 Update data/params parameters
805 * data/params: Updated 'timezone' to turn off DST. Updated
806 'usebugaliases' and 'usevotes' to turn them off.
808 2010-01-08 Adam Barth <abarth@webkit.org>
810 Reviewed by Darin Adler.
812 Show patch status in bugs.webkit.org
813 https://bugs.webkit.org/show_bug.cgi?id=33368
815 This patch adds an iframe to the show_bug page and the edit attachment
816 page that displays whether the attachment passed the various bots.
818 * template/en/custom/attachment/edit.html.tmpl:
819 * template/en/custom/attachment/list.html.tmpl:
820 * template/en/custom/attachment/reviewform.html.tmpl:
822 2009-12-07 Shinichiro Hamaji <hamaji@chromium.org>
824 Reviewed by David Kilzer.
826 Bugzilla should show images in git patches
827 https://bugs.webkit.org/show_bug.cgi?id=31395
829 Attempt to go r51748 again using --directory option of git-apply.
831 * PrettyPatch/PrettyPatch.rb:
833 2009-12-06 Shinichiro Hamaji <hamaji@chromium.org>
835 Unreviewed. Revert r51748.
837 Bugzilla should show images in git patches
838 https://bugs.webkit.org/show_bug.cgi?id=31395
840 * PrettyPatch/PrettyPatch.rb:
842 2009-12-06 Shinichiro Hamaji <hamaji@chromium.org>
844 Reviewed by David Kilzer.
846 Bugzilla should show images in git patches
847 https://bugs.webkit.org/show_bug.cgi?id=31395
849 Show images in git patches using git-apply.
851 * PrettyPatch/PrettyPatch.rb:
853 2009-10-23 Eric Seidel <eric@webkit.org>
855 Reviewed by Adam Roben.
857 PrettyPatch should show images even when they have the wrong mime type
858 https://bugs.webkit.org/show_bug.cgi?id=29506
860 * PrettyPatch/PrettyPatch.rb:
862 2009-10-17 Alexey Proskuryakov <ap@apple.com>
864 Reviewed by Eric Carlson.
866 https://bugs.webkit.org/show_bug.cgi?id=30470
867 Make marking a bug as duplicate easier
869 * js/field.js: (setResolutionToDuplicate): Focus the edit field, too.
871 2009-10-16 Alexey Proskuryakov <ap@apple.com>
873 Reviewed by Mark Rowe.
875 https://bugs.webkit.org/show_bug.cgi?id=30470
876 Make marking a bug as duplicate easier
878 * js/field.js: (setResolutionToDuplicate): Show edit field right away, don't make the user
881 2009-09-09 David Kilzer <ddkilzer@apple.com>
883 Update data/params parameters
885 * data/params: Updated 'attachment_base' parameter for secure
886 attachments. Updated 'mybugstemplate' parameter to search for
887 bugs in UNCONFIRMED, ASSIGNED and REOPENED status in addition to
890 2009-08-11 David Kilzer <ddkilzer@apple.com>
892 Updated data/params parameter
894 * data/params: Updated 'loginnetmask' parameter to allow users
895 to choose whether their cookies are restricted to a single IP
898 2009-07-07 David Kilzer <ddkilzer@apple.com>
900 Updated BugsSite with local changes on server
902 The new files were created by checksetup.pl during the upgrade
903 to Bugzilla 3.2.3. The rest are self-explanatory.
905 * data: Added "bugzilla-update.xml" to svn:ignore.
906 * data/attachments: Added "groups.*" to svn:ignore.
907 * data/params: Updated for a few changed parameters.
909 * lib/.htaccess: Added.
910 * skins/contrib/Dusk/IE-fixes.css: Added.
911 * skins/contrib/Dusk/admin.css: Added.
912 * skins/contrib/Dusk/create_attachment.css: Added.
913 * skins/contrib/Dusk/dependency-tree.css: Added.
914 * skins/contrib/Dusk/duplicates.css: Added.
915 * skins/contrib/Dusk/editusers.css: Added.
916 * skins/contrib/Dusk/help.css: Added.
917 * skins/contrib/Dusk/index.css: Added.
918 * skins/contrib/Dusk/panel.css: Added.
919 * skins/contrib/Dusk/params.css: Added.
920 * skins/contrib/Dusk/release-notes.css: Added.
921 * skins/contrib/Dusk/show_bug.css: Added.
922 * skins/contrib/Dusk/show_multiple.css: Added.
923 * skins/contrib/Dusk/summarize-time.css: Added.
924 * skins/contrib/Dusk/voting.css: Added.
925 * skins/contrib/Dusk/yui: Added.
926 * skins/contrib/Dusk/yui/calendar.css: Added.
927 * skins/custom/IE-fixes.css: Added.
928 * skins/custom/admin.css: Added.
929 * skins/custom/buglist.css: Added.
930 * skins/custom/create_attachment.css: Added.
931 * skins/custom/dependency-tree.css: Added.
932 * skins/custom/duplicates.css: Added.
933 * skins/custom/editusers.css: Added.
934 * skins/custom/help.css: Added.
935 * skins/custom/panel.css: Added.
936 * skins/custom/params.css: Added.
937 * skins/custom/release-notes.css: Added.
938 * skins/custom/show_bug.css: Added.
939 * skins/custom/show_multiple.css: Added.
940 * skins/custom/summarize-time.css: Added.
941 * skins/custom/voting.css: Added.
942 * skins/custom/yui: Added.
943 * skins/custom/yui/calendar.css: Added.
945 2009-07-03 David Kilzer <ddkilzer@apple.com>
947 Bug 26958: Change edit link to review link in request messages
949 <https://bugs.webkit.org/show_bug.cgi?id=26958>
951 Reviewed by Dan Bernstein.
953 * template/en/custom/request/email.txt.tmpl: Copied from BugsSite/template/en/default/request/email.txt.tmpl.
954 Changed link from "action=edit" to "action=review".
956 2009-07-03 David Kilzer <ddkilzer@apple.com>
958 Bug 26950: Make the summary and alias fields support click-to-edit
959 <https://bugs.webkit.org/show_bug.cgi?id=26950>
961 Reviewed by Maciej Stachowiak.
963 Original patch by Maciej Stachowiak.
966 (hideEditableField): Updated to add click event listeners to the
967 alias and short description elements to make them easier to
968 edit. Renamed field_id parameter to field2_id (short
969 description id) and added a field1_id parameter (alias id).
970 (showEditableField): If a third parameter is passed in the
971 ContainerInputArray parameter, use it to find the element to
972 focus. Otherwise, fall back to the original behavior of
973 focusing the first input field.
974 (hideAliasAndSummary): Changed to pass the id for the alias
975 element to hideEditableField().
977 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
979 Config file for contrib/recode.pl when upgrading bugs.webkit.org
981 Current as of midday on Wednesday, July 1, 2009.
983 * contrib/recode-overrides.txt: Added.
985 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
987 Workaround for WebKit Bug 9630 when running contrib/recode.pl
989 A number of WebKit nightly builds included Bug 9630 which caused
990 non-breaking space characters (0xA0) to be submitted within the
991 content of textarea elements.
993 * contrib/recode.pl: To work around these 0xA0 characters, try
994 an encoding of cp1252 and use it if it works.
996 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
998 Don't print "Failed to guess" warning if an override is available
1000 * contrib/recode.pl: Check that %overrides does NOT contain a
1001 key matching the current digest before printing out the warning
1002 about a failed charset guess.
1004 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1006 Added --[no-]truncate switch to contrib/recode.pl
1008 * contrib/recode.pl: Added --[no-]truncate switch to make
1009 debugging of failed charset guessing easier. Often times the
1010 illegal character was truncated in the output.
1012 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1014 Changed Perl scripts to use #!/usr/bin/env perl
1016 perl -pi -e 's@#\!/usr/bin/perl@#\!/usr/bin/env perl@' *.cgi *.pl */*.pl
1018 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1020 Replace Bugzilla favicon with webkit.org favicon
1022 * favicon.ico: Removed.
1023 * images/favicon.ico: Replaced. Copied from favicon.ico.
1025 2009-07-02 David Kilzer <ddkilzer@webkit.org>
1027 Merged BugsSite to Bugzilla-3.2.3
1029 Updated to the latest-and-greatest stable version.
1031 2009-07-02 David Kilzer <ddkilzer@webkit.org>
1033 Merged BugsSite to Bugzilla-3.0.3
1035 Nothing to see here. Move along.
1037 2009-06-09 Eric Seidel <eric@webkit.org>
1039 Reviewed by Adam Roben.
1041 Add support for displaying added png files in PrettyPatch diffs
1042 https://bugs.webkit.org/show_bug.cgi?id=26210
1044 Currently this is SVN only (git-send-bugzilla patches exclude binary data)
1045 and only works for PNG files but could easily be made to work for other images as needed.
1047 * PrettyPatch/PrettyPatch.rb:
1049 2009-05-19 Eric Seidel <eric@webkit.org>
1051 Reviewed by Adam Roben.
1053 Make PrettyPatch understand quoted filenames in git diffs.
1054 https://bugs.webkit.org/show_bug.cgi?id=25881
1056 * PrettyPatch/PrettyPatch.rb:
1058 2009-05-15 Simon Fraser <simon.fraser@apple.com>
1060 Carrying forwards Darin Adler's rubber stamp
1062 Make the comment field wider too.
1064 * skins/custom/global.css:
1066 2009-05-14 Simon Fraser <simon.fraser@apple.com>
1068 Reviewed by Darin Adler
1070 Make the URL, Summary and Keyword fields wider to mitigate the
1071 effects of https://bugs.webkit.org/show_bug.cgi?id=25566 and make
1072 things generally better.
1074 * skins/custom/global.css:
1075 * template/en/custom/bug/edit.html.tmpl:
1077 2008-11-10 Darin Adler <darin@apple.com>
1079 - fix more of https://bugs.webkit.org/show_bug.cgi?id=21400
1080 "Edit" links for patches in comments, review queue, review emails
1081 should be replaced by "Review Patch" links
1083 * globals.pl: Fix cases that are automatically generated, such as links
1084 in comments in bugs.
1086 * template/en/custom/attachment/created.html.tmpl: Fix the link on the
1087 "I just created an attachment" page.
1089 * template/en/custom/request/queue.html.tmpl: Fix the link in the queue
1092 2008-11-10 Darin Adler <darin@apple.com>
1094 * template/en/default/request/queue.html.tmpl: Use review links instead
1095 of edit links in the review queue.
1097 2008-11-10 Darin Adler <darin@apple.com>
1099 * template/en/custom/request/email.txt.tmpl: Send review links instead
1100 of edit links when flags are set on a bug.
1102 2008-10-27 Darin Adler <darin@apple.com>
1104 * template/en/custom/attachment/reviewform.html.tmpl: Leave out the
1105 comment if it's untouched.
1107 2008-10-23 Adam Roben <aroben@apple.com>
1109 Fix Bug 21401: Comments field on "Review Patch" page should be
1110 initially filled with quoted patch
1112 <https://bugs.webkit.org/show_bug.cgi?id=21401>
1114 Reviewed by Dave Hyatt.
1117 (edit): Retrieve the attachment data from the database instead of just
1118 its length. When the attachment is a patch, create a quotedpatch
1119 template variable that contains the patch data with each line
1120 prepended with "> ".
1121 * template/en/custom/attachment/reviewform.html.tmpl:
1122 - Changed the comments field to have a monospace font
1123 - Added an "Enter comments below:" caption above the comments field
1124 to make it clearer that this is where comments should go, now that
1125 the comments field is not initially empty
1126 - Fill the comments field with the quoted patch
1128 2008-10-14 Adam Roben <aroben@apple.com>
1130 Fix Bug 21602: Bugzilla times out trying to display formatted diff for
1133 https://bugs.webkit.org/show_bug.cgi?id=21602
1135 Reviewed by Dave Kilzer.
1137 * PrettyPatch/PrettyPatch.rb:
1138 (PrettyPatch.BINARY_FILE_MARKER_FORMAT): Added.
1139 (PrettyPatch.FileDiff.initialize): If any of the lines in the diff
1140 are a binary file marker, mark this FileDiff as binary and stop trying
1141 to process the lines.
1142 (PrettyDiff.FileDiff.to_html): If we're binary, just print a string
1145 2008-10-02 Adam Roben <aroben@apple.com>
1147 * template/en/custom/attachment/reviewform.html.tmpl: Fix typo.
1149 2008-10-02 Adam Roben <aroben@apple.com>
1151 * template/en/custom/attachment/review.html.tmpl: Fix URLs
1153 2008-10-02 Adam Roben <aroben@apple.com>
1155 Fix Bug 21315: bugs.webkit.org should have a nicer patch review
1158 https://bugs.webkit.org/show_bug.cgi?id=21315
1160 Reviewed by Tim Hatcher.
1163 (top level): Added support for the "review" and "reviewform" actions.
1164 (sub edit): Accept the template name as a parameter. If no name is
1165 give, use "edit" as before.
1166 * template/en/custom/attachment/list.html.tmpl: Added a "Review Patch"
1167 link for all patch attachments.
1168 * template/en/custom/attachment/review.html.tmpl: Added. Simple
1169 <frameset> page to show the patch on the top and a comment form on the
1171 * template/en/custom/attachment/reviewform.html.tmpl: Added. Simple
1172 comment form for reviewing patches.
1174 2008-10-02 Adam Roben <aroben@apple.com>
1176 Remove references to some backup files I created when implementing
1177 PrettyPatch in Bugzilla
1179 Reviewed by Tim Hatcher.
1181 * attachment-aroben.cgi: Removed.
1182 * template/en/default/attachment/edit-aroben.html.tmpl: Removed.
1184 * template/en/custom/attachment/edit.html.tmpl: Removed an erroneous
1185 reference to attachment-aroben.cgi. attachment.cgi will work just
1188 2008-06-25 David Kilzer <ddkilzer@apple.com>
1190 Make PrettyPatch handle diffs with no Index or diff headers
1192 Part of Bug 19290: More patches not handled by PrettyPatch.rb
1193 <https://bugs.webkit.org/show_bug.cgi?id=19290>
1197 * PrettyPatch/PrettyPatch.rb:
1198 (PrettyPatch.DIFF_HEADER_FORMATS): Added regular expression to
1199 match on "+++ " lines for patches with no "Index" or "diff" header.
1200 (PrettyPatch.FileDiff.initialize): Look for filename on "+++ " line
1201 when the first line of a patch has no "Index" or "diff" header.
1202 (PrettyPatch.FileDiff.parse): Added haveSeenDiffHeader state
1203 variable to determine when no "Index" or "diff" header has been
1204 found, but a new patch has started with a "--- " line.
1206 2008-06-08 Dan Bernstein <mitz@apple.com>
1208 Reviewed by Adam Roben.
1210 - update trac URL in PrettyPatch
1212 * PrettyPatch/PrettyPatch.rb:
1214 2008-05-29 Adam Roben <aroben@apple.com>
1216 Update PrettyPatch directory list
1218 * PrettyPatch/PrettyPatch.rb:
1220 2008-05-28 Adam Roben <aroben@apple.com>
1222 Make PrettyPatch able to handle diffs taken from outside the WebKit
1225 Part of Bug 19290: More patches not handled by PrettyPatch.rb
1226 <https://bugs.webkit.org/show_bug.cgi?id=19290>
1228 Reviewed by David Kilzer.
1230 * PrettyPatch/PrettyPatch.rb:
1231 (PrettyPatch.find_url_and_path): Added. Searches the file path from
1232 the bottom up looking for a directory that exists in the source tree.
1233 (PrettyPatch.linkifyFilename): Changed to call find_url_and_path.
1235 2008-05-28 Adam Roben <aroben@apple.com>
1237 Print exceptions from PrettyPatch to stdout
1239 This will make it much easier to debug problems with PrettyPatch,
1240 since we'll be able to see the exceptions in the browser.
1242 Reviewed by Sam Weinig.
1244 * PrettyPatch/prettify.rb: Added a --html-exceptions option, which
1245 will print exceptions to stdout as HTML.
1246 * attachment.cgi: Changed to pass --html-exceptions to prettify.rb.
1248 2008-04-26 David Kilzer <ddkilzer@apple.com>
1250 Removed temp files and added appropriate svn:ignore properties.
1252 Rubber-stamped by Mark Rowe.
1254 * data: Added svn:ignore property for "versioncache" and "versioncache.*" files.
1256 * data/template: Added svn:ignore property for "template" subdirectory.
1257 * data/template/template: Removed precompiled template subdirectory.
1259 * data/versioncache: Removed.
1260 * data/versioncache.*: Removed backup versioncache files.
1262 * data/webdot: Added svn:ignore property for "*.dot" files.
1263 * data/webdot/*.dot: Removed cached webdot files.
1265 2008-04-08 Adam Roben <aroben@apple.com>
1267 Combine :equal operations with the following operation if they are
1268 fewer than 3 characters long
1270 This keeps us from showing lots of small changes on long lines, just
1271 because some letters happened to be the same.
1274 http://code.google.com/p/reviewboard/source/browse/trunk/reviewboard/diffviewer/diffutils.py?r=1264#147
1276 * PrettyPatch/PrettyPatch.rb:
1277 (PrettyPatch::DiffSection.initialize): Remove :equal operations fewer
1278 than 3 characters long. The characters from the removed operations
1279 become part of the subsequent operation.
1280 (PrettyPatch::CodeLine.text_as_html): Don't wrap 0-length strings in
1281 <ins>/<del> tags. Also removed the @fromLineNumber.nil? and
1282 @toLineNumber.nil? checks as they are no longer reliable now that
1283 we're removing operations.
1285 2008-04-08 Adam Roben <aroben@apple.com>
1287 Change PrettyPatch to use DiffBuilder for intra-line diffs
1289 This gives us much prettier intra-line diffs, largely because it can
1290 distinguish multiple changes on the same line. e.g., if a line changes
1293 const int myConstant = 0;
1297 static const unsigned myConstant;
1299 You will see that "static " was inserted, "int" changed to "unsigned",
1300 and " = 0" was deleted.
1302 This seems to have also gotten rid of some spurious instances of
1303 "<ins></ins>" and "<del></del>" at the end of a line.
1305 * PrettyPatch/PrettyPatch.rb:
1306 (PrettyPatch::DiffSection.initialize): Use DiffBuilder instead of
1307 setChangeExtentFromLine (which had been copied from Trac's diffing
1309 (PrettyPatch::CodeLine):
1310 - Removed the changeExtent attribute
1311 - Added the operations attribute
1312 - Removed the setChangeExtentFromLine method
1313 (PrettyPatch::CodeLine.text_as_html): Uses @operations to determine
1314 what text to wrap in <ins> and <del> tags.
1315 * PrettyPatch/diff.rb: Deleted a bunch of code we don't use.
1316 (HTMLDiff::DiffBuilder.initialize): Moved code here from the old build
1317 method, but left out the calls to perform_operation, since we build
1318 the diff HTML outside of this class.
1319 (HTMLDiff::DiffBuilder.split_inputs_to_words): Removed calls to
1320 convert_html_to_list_of_words, since we're not diffing HTML.
1322 2008-04-08 Adam Roben <aroben@apple.com>
1327 http://instiki.rubyforge.org/svn/instiki/trunk/lib/diff.rb
1330 * PrettyPatch/diff.rb: Added.
1332 2008-03-04 Adam Roben <aroben@apple.com>
1334 * PrettyPatch/PrettyPatch.rb: Allow the extent of the previous file to
1335 be omitted from the hunk header.