1 2010-12-26 Adam Barth <abarth@webkit.org>
3 Reviewed by Eric Seidel.
5 Move autotools into Sources
6 https://bugs.webkit.org/show_bug.cgi?id=51630
8 * PrettyPatch/PrettyPatch.rb:
9 - Remove reference to non-existant autotools directory.
11 2010-12-26 Adam Barth <abarth@webkit.org>
13 Reviewed by Eric Seidel.
15 Move cmake into Sources
16 https://bugs.webkit.org/show_bug.cgi?id=51631
18 * PrettyPatch/PrettyPatch.rb:
20 2010-12-23 Adam Barth <abarth@webkit.org>
22 Rubber-stamped by Eric Seidel.
24 Move JavaScriptGlue into Sources
25 https://bugs.webkit.org/show_bug.cgi?id=51583
27 PrettyPatch keeps a list of the top-level directories that exist in
30 * PrettyPatch/PrettyPatch.rb:
32 2010-12-20 Adam Barth <abarth@webkit.org>
34 One more tweak caused by moving the web sites around. I had this
35 change in my patch originally, but I missed it because I had to use
36 server-side svn move commands to move the bulk of the web site files.
38 * PrettyPatch/PrettyPatch.rb:
40 2010-12-18 Adam Barth <abarth@webkit.org>
42 Reviewed by Sam Weinig.
44 Move WebKitExamplePlugins to Examples
45 https://bugs.webkit.org/show_bug.cgi?id=51291
47 * PrettyPatch/PrettyPatch.rb:
49 2010-12-17 Dan Bernstein <mitz@apple.com>
51 Reviewed by Simon Fraser.
53 Rename WebKitTools to Tools
54 https://bugs.webkit.org/show_bug.cgi?id=49861
56 * PrettyPatch/PrettyPatch.rb:
57 * committers-autocomplete.js:
59 2010-12-17 Ojan Vafai <ojan@chromium.org>
61 Increment psuedo-version number to avoid pulling cached version.
63 * PrettyPatch/PrettyPatch.rb:
65 2010-12-17 Ojan Vafai <ojan@chromium.org>
67 Speculative fix for the code review tool in Firefox.
68 Fixes a JS error and makes the status bubble mostly work
69 if postMessage is not supported.
71 * PrettyPatch/PrettyPatch.rb:
74 2010-12-15 Ojan Vafai <ojan@chromium.org>
76 Reviewed by Adam Barth.
78 size status bubble to it's contents on the code review page
79 https://bugs.webkit.org/show_bug.cgi?id=51142
81 * PrettyPatch/PrettyPatch.rb:
84 2010-12-15 Ojan Vafai <ojan@chromium.org>
86 Reviewed by Adam Barth.
88 fix goofups from r74142 and r74130
89 https://bugs.webkit.org/show_bug.cgi?id=51146
91 Accidentally shrank the inline comment boxes and made
92 the toolbar not show up when there were image diffs.
94 * PrettyPatch/PrettyPatch.rb:
97 2010-12-14 Ojan Vafai <ojan@chromium.org>
99 Reviewed by Adam Barth.
101 add ability to view for file context to the review tool
102 https://bugs.webkit.org/show_bug.cgi?id=51057
104 At the beginning/end of each file diff and between each
105 hunk add links to expand the context. For now it grabs the
106 tip of tree version of the file and tries to apply the diff
107 to that file. If it can't apply, then it gives up as we
108 wouldn't want to show the wrong lines of context.
110 In the future, we can consider adding the upload svn revision
111 to the diff itself, then we could fallback to the file at that
112 revision if tip of tree doesn't apply.
114 * PrettyPatch/PrettyPatch.rb:
117 2010-12-08 Ojan Vafai <ojan@chromium.org>
119 Reviewed by Adam Barth.
121 [reviewtool] should always show overall comments text box
122 https://bugs.webkit.org/show_bug.cgi?id=45870
124 * PrettyPatch/PrettyPatch.rb:
127 2010-12-04 Patrick Gansterer <paroga@webkit.org>
129 Reviewed by Adam Barth.
131 Increase size of status bubbles
132 https://bugs.webkit.org/show_bug.cgi?id=50496
134 The current available space isn't enough to display all
135 pending results including position in the queue.
137 * PrettyPatch/PrettyPatch.rb:
139 2010-12-04 Patrick Gansterer <paroga@webkit.org>
141 Reviewed by Adam Barth.
143 Increase size of status bubbles
144 https://bugs.webkit.org/show_bug.cgi?id=50496
146 The current available space isn't enough to display all
147 pending results including position in the queue.
149 * template/en/custom/attachment/edit.html.tmpl:
150 * template/en/custom/attachment/list.html.tmpl:
151 * template/en/custom/attachment/reviewform.html.tmpl:
153 2010-11-08 Adam Barth <abarth@webkit.org>
155 Update help text to match behavior change.
159 2010-11-08 Adam Barth <abarth@webkit.org>
161 Reviewed by Eric Seidel.
163 Restore normal meaning of double-click on patch review page?
164 https://bugs.webkit.org/show_bug.cgi?id=47641
166 After this patch, you need to click on the line numbers to add a
169 * PrettyPatch/PrettyPatch.rb:
172 2010-10-09 Adam Barth <abarth@webkit.org>
174 Reviewed by Alexey Proskuryakov.
176 Exception in committers-autocomplete in Firefox
177 https://bugs.webkit.org/show_bug.cgi?id=47456
179 Remove dependency on a WebKit-only quirk. IMHO, this quirk is bad for
180 the long-term health of the web, but that's a discussion for another
183 * committers-autocomplete.js:
185 2010-10-08 Adam Barth <abarth@webkit.org>
187 Reviewed by Oliver Hunt.
189 Bugmail for new attachments should link to the reviewtool
190 https://bugs.webkit.org/show_bug.cgi?id=47440
192 As requested by olliej himself. This patch was constructed by pure
193 reason. I have no way to actually run this code.
195 * Bugzilla/BugMail.pm:
197 2010-09-28 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
199 Reviewed by Csaba Osztrogonác.
201 Convert verbatim unicode values in comitter names to characters
203 * committers-autocomplete.js:
205 2010-09-24 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
207 Reviewed by Csaba Osztrogonác.
209 Support Unicode-strings in committers-autocomplete script
211 * committers-autocomplete.js:
213 2010-09-22 Adam Barth <abarth@webkit.org>
215 Reviewed by John Sullivan.
217 New review-page design doesn't include name of reviewer
218 https://bugs.webkit.org/show_bug.cgi?id=46271
220 * PrettyPatch/PrettyPatch.rb:
223 2010-09-22 Adam Barth <abarth@webkit.org>
227 * PrettyPatch/PrettyPatch.rb:
229 2010-09-22 Adam Barth <abarth@webkit.org>
231 Reviewed by Eric Seidel.
233 Add link to bug to review page
234 https://bugs.webkit.org/show_bug.cgi?id=46192
236 To make room for the link, I moved the help text to the top of the page
237 and tweaked the language to help folks discover that you can select
238 context using the line numbers.
240 Also, move more text to sans-serif since that fits in better with the
243 * PrettyPatch/PrettyPatch.rb:
246 2010-09-21 Adam Barth <abarth@webkit.org>
250 [reviewtool] Publish button doesn't work
251 https://bugs.webkit.org/show_bug.cgi?id=46168
253 Darin's recent patch had a runtime error. Sadly, we don't have any
254 testing for this code.
258 2010-09-20 Darin Adler <darin@apple.com>
260 Reviewed by Adam Barth.
262 Add Preview button and link to bug to patch review bar
263 https://bugs.webkit.org/show_bug.cgi?id=46153
265 * PrettyPatch/PrettyPatch.rb: Bump version number to make caches happy.
266 * code-review.js: Added Preview button and link to bug.
268 2010-09-19 Adam Barth <abarth@webkit.org>
270 Reviewed by Eric Seidel.
272 [reviewtool] Publish button should actually publish the review comments
273 https://bugs.webkit.org/show_bug.cgi?id=46074
275 Instead of showing the confirmation lightbox, the Publish button now
276 publishes the comments directly. If there's demand for a "Preview"
277 button, we can find a way to add that feature.
281 2010-09-19 Adam Barth <abarth@webkit.org>
283 Reviewed by Eric Seidel.
285 Move reviewtool to action=review
286 https://bugs.webkit.org/show_bug.cgi?id=46071
288 This patch removes the old Review Patch screen and moves the new
289 reviewtool from Pretty Diff to Review Patch.
294 2010-09-19 Adam Barth <abarth@webkit.org>
296 Review tool UI tweak. This patch lengthens the status bubbles so all
297 the bubble fit (even when they have numbers inside).
299 * PrettyPatch/PrettyPatch.rb:
301 2010-09-19 Dan Bernstein <mitz@apple.com>
303 Reviewed by Anders Carlsson.
307 * code-review.js: Changed the label of the OK button from Ok to OK.
309 2010-09-15 Adam Barth <abarth@webkit.org>
313 Only show the review-in-context link if there are contextual comments.
317 2010-09-15 Adam Barth <abarth@webkit.org>
319 Reviewed by Eric Seidel.
321 [reviewtool] Show the status bubbles on the toolbar
322 https://bugs.webkit.org/show_bug.cgi?id=45861
324 * PrettyPatch/PrettyPatch.rb:
327 2010-09-15 Adam Barth <abarth@webkit.org>
329 Reviewed by Eric Seidel.
331 [reviewtool] Allow setting review and commit-queue flags from main review screen
332 https://bugs.webkit.org/show_bug.cgi?id=45860
334 This patch adds drop down menus for adjusting the review and
335 commit-queue flags from the main review screen. These controls don't
336 appear immediately because we need to read the state of the flags off
339 It's a slight sadness that bugzilla doesn't have a clean way of
340 identifying which select control is associated with a given flag. The
341 flags seem to have some sort of id, but it's unclear to me how to map
342 that id back to a notion of "review" or "commit-queue". Instead, we
343 look for some magic strings in the title. I'm sure this will come back
344 to bit us at some point, but I'm not sure what to do that's better.
345 (The webkitpy solution to this problem is to assume that the flags are
346 in a given order, but this seems better.)
348 * PrettyPatch/PrettyPatch.rb:
349 - Bump version number to bust throuh caches.
352 2010-09-15 Adam Barth <abarth@webkit.org>
354 Reviewed by Eric Seidel.
356 [reviewtool] Comments should quote previous comments on the same line
357 https://bugs.webkit.org/show_bug.cgi?id=45847
359 Now when you reply to a previous comment, the tool will quote the
360 previous comment in the bugs.webkit.org post. This makes it eaiser for
361 folks following along in email to understand the discussion.
363 While I was editing this code, I also cleaned up some of the whitespace
364 handling in comments.
368 2010-09-15 Adam Barth <abarth@webkit.org>
370 Minor UI tweak to the review tool. We want to display newlines in
371 previous and frozen comments instead of collapsing them.
373 * PrettyPatch/PrettyPatch.rb:
375 2010-09-14 Adam Barth <abarth@webkit.org>
377 Reviewed by Eric Seidel.
379 bugs.webkit.org should autocomplete WebKit Committers and Reviewers
380 https://bugs.webkit.org/show_bug.cgi?id=45799
382 This patch implements an autocomplete dropdown that helps users type
383 the names of WebKit committers and reviewers. The script grabs the
384 data from SVN now that wms set up CORS for http://svn.webkit.org.
385 Security technology for the win.
387 This script is based on (well, essentially copied from) the popular
388 autocomplete extension:
390 https://chrome.google.com/extensions/detail/olaabhcgdogcbcoiolomlcodkngnemfb
392 I asked Ojan, and said he was fine licensing the code under the BSD
393 license. I'm not sure how the patch interacts with the extension, but
394 we can retire the extension if they interact poorly.
396 * committers-autocomplete.js: Added.
397 * template/en/default/global/footer.html.tmpl:
398 - Add the script to every page on bugs.webkit.org
400 2010-09-14 Adam Barth <abarth@webkit.org>
402 Add a license block to the reviewtool. I should have added this from
403 the start. According to the SVN log, I'm the only one to have ever
408 2010-09-07 Adam Barth <abarth@webkit.org>
410 Minor tweaks to the reviewtool UI.
412 Rename Cancel to Discard to make it more clear what the button does.
413 Also, move the style declaration for the focus ring later in the sheet
416 * PrettyPatch/PrettyPatch.rb:
419 2010-09-06 Adam Barth <abarth@webkit.org>
421 Small UI tweak to the reviewtool. Make the Ok/Cancel buttons a bit
424 * PrettyPatch/PrettyPatch.rb:
426 2010-09-06 Adam Barth <abarth@webkit.org>
428 Reviewed by Eric Seidel.
430 [reviewtool] Add a quick animation for opening/closing comment boxes
431 https://bugs.webkit.org/show_bug.cgi?id=45278
433 The 200ms animation slides in and out the line-by-line comment box.
437 2010-09-06 Adam Barth <abarth@webkit.org>
439 Reviewed by Eric Seidel.
441 [reviewtool] Add a field for overall comments
442 https://bugs.webkit.org/show_bug.cgi?id=45273
444 This patch does a couple logically separate things that could be
445 separated into smaller patches:
447 1) This patch adds an "overall comments" field where you can enter
448 overall comments about the patch. These comments appear at the top
449 of the bugzilla posting. Currently, these aren't redisplayed when
450 viewing the patch, but I plan to add that in a future patch.
452 2) This patch renames some of the CSS classes to more consistently
453 follow the camelCase style that PrettyPatch uses.
455 3) This patch moves the "prepare comments" button to the left of the
456 toolbar and renames is to "publish comments". This makes more sense
457 when you scroll to the bottom of the page and enter in some overall
460 4) When you attempt to add a comment to a line that already has a
461 "frozen" comment, we now unfreeze the comment instead of doing
462 nothing. The old behavior was kind of frustrating if you didn't
463 know that you could unfreeze a comment by clicking on it.
465 * PrettyPatch/PrettyPatch.rb:
469 2010-09-06 Adam Barth <abarth@webkit.org>
471 [reviewtool] Tweak the ok button to cancel the comment if the comment
472 is empty. Previously we would get into a bad state where a line had a
473 comment but there was no longer any way to access it.
477 2010-09-06 Adam Barth <abarth@webkit.org>
479 Reviewed by Eric Seidel.
481 [reviewtool] Add an "ok" button that collapses review comments
482 https://bugs.webkit.org/show_bug.cgi?id=45255
484 Many folks (including myself) are too trigger-happy with the "delete"
485 button that we end up deleting perfectly good review comments. This
486 patch adds an "ok" button to absorb these clicks (and renames "delete"
487 to "cancel"). When you click the ok button, the comment becomes
488 non-editable and the box shrinks to fit the text. You can click the
489 text to get back to the editable version.
493 2010-08-31 Adam Barth <abarth@webkit.org>
495 Reviewed by Eric Seidel.
497 [reviewtool] Make it easy to scroll through review comments
498 https://bugs.webkit.org/show_bug.cgi?id=45002
500 This patch lets you scroll through review comments using "n" (for next)
501 and "p" (for previous). It also attributes comments to their authors.
503 * PrettyPatch/PrettyPatch.rb:
506 2010-08-31 Adam Barth <abarth@webkit.org>
508 Reviewed by Eric Seidel.
510 [reviewtool] Show previous comments inline in diff
511 https://bugs.webkit.org/show_bug.cgi?id=44977
513 This patch adds basic support for showing previous comments inline in
514 the diff. We crawl the bugs.webkit.org comments about this attachment
515 and extract comments related to specific lines. We then show the
516 comments inline in the diff.
518 This part of the tool needs a bunch of polish, but this at least is a
519 starting point for further work.
521 * PrettyPatch/PrettyPatch.rb:
524 2010-08-31 Adam Barth <abarth@webkit.org>
526 Reviewed by Eric Seidel.
528 [reviewtool] Allow reviewer to select lines of context by dragging over the line numbers
529 https://bugs.webkit.org/show_bug.cgi?id=44936
531 * PrettyPatch/PrettyPatch.rb:
532 - Add a version number to bust through bugs.webkit.org's aggressive
536 2010-08-30 Adam Barth <abarth@webkit.org>
538 Reviewed by Eric Seidel.
540 [review tool] Let reviewer select how much context to show in snippet
541 https://bugs.webkit.org/show_bug.cgi?id=44905
543 We now highlight the context for a comment in yellow on the left (where
544 the line numbers are). Clicking a line number expands or contracts the
545 amount of context, as appropriate. Informal user testing indicates
546 that we might want to support drag as well.
548 This patch also changes the "open a comment box here" action to
549 double-click to avoid issues with mis-clicks.
551 * PrettyPatch/PrettyPatch.rb:
554 2010-08-29 Adam Barth <abarth@webkit.org>
556 Attempt to make Sam's life easier by not opening a comment text field
557 if there's a selection. This should make it easier to copy/paste text
558 out of the diff without accidentally opening comment boxes.
562 2010-08-29 Adam Barth <abarth@webkit.org>
564 Turns out we're supposed to use find instead of children here.
568 2010-08-29 Adam Barth <abarth@webkit.org>
570 Reviewed by Eric Seidel.
572 Awesomify pretty-diff based review tool
573 https://bugs.webkit.org/show_bug.cgi?id=44835
575 This patch replaces the existing inline comment feature with a new
576 implementation. Hopefully the new implementation is more awesome.
577 It's not 100% done yet, but I'd like to get this version out there to
580 Unlike the previous version this version works with the "Formatted
581 Diff" link instead of the "Review Patch" link. Hopefully that will
582 avoid interfering with folks who like the old style review.
584 * PrettyPatch/PrettyPatch.rb:
585 * code-review.js: Added.
586 * prototype.js: Removed.
588 2010-08-19 Tony Chang <tony@chromium.org>
590 Reviewed by Adam Barth.
592 webkit-patch barfed on upload with a new image test result
593 https://bugs.webkit.org/show_bug.cgi?id=39097
595 * PrettyPatch/PrettyPatch.rb: don't use full path to git
597 2010-08-19 Tony Chang <tony@chromium.org>
599 Unreviewed, setting svn:eol-style native on ChangeLog.
601 2010-08-19 Tony Chang <tony@chromium.org>
603 Unreviewed. Just removing \r's from ChangeLog.
605 2010-08-02 Adam Roben <aroben@apple.com>
607 Tell the patch prettifier about some (not so) new directories
609 * PrettyPatch/PrettyPatch.rb: Added WebKit2, autotools, and cmake
612 2010-07-27 Joseph Pecoraro <joepeck@webkit.org>
614 Reviewed by David Kilzer.
616 Provide a Helpful Link for Web Inspector Bugs in Bugzilla
617 https://bugs.webkit.org/show_bug.cgi?id=43065
619 * template/en/custom/global/choose-product.html.tmpl: Added. Explicitly added a link for the Web Inspector.
621 2010-06-09 Julie Parent <jparent@chromium.org>
623 Reviewed by David Kilzer.
625 Bugzilla: Don't send mail for cancel/deny/granted for in-rietveld.
627 https://bugs.webkit.org/show_bug.cgi?id=40345
631 2010-05-17 Julie Parent <jparent@chromium.org>
633 Reviewed by Ojan Vafai.
635 Rietveld review page should dedicate more space to Rietveld, less to high level comments form.
637 https://bugs.webkit.org/show_bug.cgi?id=39244
639 * template/en/custom/attachment/reviewform.html.tmpl:
640 Delete a random BR amongst the hidden elements that was causing extra whitespace.
641 * template/en/custom/attachment/rietveldreview.html.tmpl:
642 Increase size of Rietveld frame to 80%, from 60%.
644 2010-05-14 Julie Parent <jparent@chromium.org>
646 Reviewed by Ojan Vafai.
648 Bugzilla: Only show "Rietveld Review" link when in-rietveld is set to +.
650 https://bugs.webkit.org/show_bug.cgi?id=39141
652 * template/en/custom/attachment/list.html.tmpl:
654 2010-05-13 Julie Parent <jparent@chromium.org>
656 Reviewed by David Kilzer.
658 Bugzilla: Don't send mail if the only change is to the in-rietveld flag.
660 https://bugs.webkit.org/show_bug.cgi?id=39090
662 * Bugzilla/BugMail.pm:
664 2010-05-12 Julie Parent <jparent@chromium.org>
666 Reviewed by Ojan Vafai.
668 Hide the in-rietveld flag in the UI. It is only used only by tooling and shouldn't clutter the UI.
669 https://bugs.webkit.org/show_bug.cgi?id=39024
671 * template/en/custom/attachment/list.html.tmpl:
672 Removes this flag entirely from the UI, not needed on this page.
673 * template/en/custom/flag/list.html.tmpl: Added.
674 Copied from template/en/default/flag/list.html.tmpl with only changes inside the if WEBKIT_CHANGES section.
675 Hides the flag rather than removing it completely, so tools can still interact with it.
677 2010-05-12 Julie Parent <jparent@chromium.org>
679 Reviewed by David Kilzer.
681 Adds support for Rietveld reviews. When there is an associated
682 Rietveld id for a patch, adds a link to do a Rietveld review instead.
684 https://bugs.webkit.org/show_bug.cgi?id=38143
687 Added support for handling action=rietveldreview.
688 * template/en/custom/attachment/list.html.tmpl:
689 Adds a link to use rietveld review iff the in_rietveld flag is set.
690 * template/en/custom/attachment/reviewform.html.tmpl:
691 Detects if we are in rietveld review mode due to query string paramter,
692 and customizes the review form slightly:
693 - Changes text describing comment field.
694 - Comment field does not include quoted patch.
695 - Submit button fetches from Rietveld instead of just submitting.
696 * template/en/custom/attachment/rietveldreview.html.tmpl: Added.
697 New template for rietveldreview mode. Hosts the rietveld frame in the
698 top and the regular comments form in the bottom.
699 Uses postMessage to communicate with Rietveld frame.
701 2010-05-08 Chris Jerdonek <cjerdonek@webkit.org>
703 Reviewed by Maciej Stachowiak.
705 Allow long comment lines to wrap to the window width instead
708 https://bugs.webkit.org/show_bug.cgi?id=37792
710 * Bugzilla/Constants.pm:
711 - Introduced a new constant COMMENT_COLS_WRAP to replace COMMENT_COLS
712 inside the wrap_comment() subroutine. The new constant effectively
713 disables text wrapping by increasing the value used in wrap_comment()
714 from 80 characters to a very large value (8000).
716 - Replaced COMMENT_COLS with COMMENT_COLS_WRAP inside wrap_comment().
717 * skins/custom/global.css:
719 - Eliminate the width styling on comments to allow long lines
720 to wrap at the window width.
721 (.bz_comment_text > span.quote):
722 - Inherit the "white-space" property. This prevents long quoted
723 lines in comments from causing non-quoted lines to extend beyond
726 2010-04-22 Adam Barth <abarth@webkit.org>
728 Reviewed by Darin Adler.
730 The new review tools shouldn't clear the comment box automatically
731 https://bugs.webkit.org/show_bug.cgi?id=38004
733 Instead, we now have a button for doing that explicitly. If people
734 like this tool, we can look at fancier solutions.
736 Also, tried to make the tool work on the edit page as well as the review page.
738 * PrettyPatch/PrettyPatch.rb:
740 2010-04-22 Adam Barth <abarth@webkit.org>
742 Unreviewed. Turns out we need to do more escaping because Ruby was
743 explanding our newlines, creating a syntax error.
745 * PrettyPatch/PrettyPatch.rb:
747 2010-04-22 Adam Barth <abarth@webkit.org>
749 Reviewed by Darin Adler.
751 Hack up PrettyDiff to allow line-by-line comments
752 https://bugs.webkit.org/show_bug.cgi?id=37886
754 Admittedly a bit of a hack, this is a basic line-by-line editor we can
755 play with thanks to Andrew Scherkus. It's meant to integrate with the
756 "review" page at bugs.webkit.org.
758 I changed a few things from Andrew's original version:
759 1) Trigger text boxes on single click to make iPhone/iPad reviewing
761 2) Clear the main text box on load.
762 3) Reference a version of prototype.js on bugs.webkit.org.
764 * PrettyPatch/PrettyPatch.rb:
765 * prototype.js: Added.
767 2010-02-22 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
769 Reviewed by Maciej Stachowiak.
771 Don't reset the assignee back to default on component change
773 https://bugs.webkit.org/show_bug.cgi?id=35236
775 There's a risk of reseting a valid assignee for example when
776 triaging a bug. All components in WebKit have the default
777 assignee set to webkit-unassigned@webkit.org so this should
778 not cause problems for people relying on this functionality.
780 * template/en/custom/bug/edit.html.tmpl:
782 2010-01-22 Janusz Lewandowski <lew21@xtreeme.org>
784 Reviewed by Maciej Stachowiak.
786 run-webkit-tests fails on Ruby 1.9
787 https://bugs.webkit.org/show_bug.cgi?id=33554
788 inject does not work with strings any more, so BugsSite/PrettyPatch/PrettyPatch.rb prints lots of errors.
790 * PrettyPatch/PrettyPatch.rb:
792 2010-01-20 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
794 Reviewed by Adam Barth.
796 Adjust height of status-bubbles to prevent them being cut.
798 * template/en/custom/attachment/edit.html.tmpl:
799 * template/en/custom/attachment/list.html.tmpl:
800 * template/en/custom/attachment/reviewform.html.tmpl:
802 2010-01-08 David Kilzer <ddkilzer@apple.com>
804 <http://webkit.org/b/33410> Fix "View Plain Diff"/"View Formatted Diff" button
806 Reviewed by Adam Barth.
808 This button was broken during a previous Bugzilla upgrade after
809 changes were made to the names of objects exposed on templates.
811 * template/en/custom/attachment/reviewform.html.tmpl: Changed
812 attachid to attachment.id and ispatch to attachment.ispatch.
813 Also tweaked the format to use 4 table columns instead of 5.
815 2010-01-08 David Kilzer <ddkilzer@apple.com>
817 Included UNCONFIRMED bugs by default in advanced search query
819 Rubber-stamped by Alexey Proskuryakov.
821 * data/params: Prepended 'bug_status=UNCONFIRMED&' to
822 'defaultquery' parameter.
824 2010-01-08 David Kilzer <ddkilzer@apple.com>
826 FIX: Make patch status appear on reviewform.html.tmpl
828 * template/en/custom/attachment/reviewform.html.tmpl: Check
829 attachment.ispatch (not just ispatch) when deciding whether
830 to display patch status. Also update layout a bit.
832 2010-01-08 David Kilzer <ddkilzer@apple.com>
834 Update data/params parameters
836 * data/params: Updated 'timezone' to turn off DST. Updated
837 'usebugaliases' and 'usevotes' to turn them off.
839 2010-01-08 Adam Barth <abarth@webkit.org>
841 Reviewed by Darin Adler.
843 Show patch status in bugs.webkit.org
844 https://bugs.webkit.org/show_bug.cgi?id=33368
846 This patch adds an iframe to the show_bug page and the edit attachment
847 page that displays whether the attachment passed the various bots.
849 * template/en/custom/attachment/edit.html.tmpl:
850 * template/en/custom/attachment/list.html.tmpl:
851 * template/en/custom/attachment/reviewform.html.tmpl:
853 2009-12-07 Shinichiro Hamaji <hamaji@chromium.org>
855 Reviewed by David Kilzer.
857 Bugzilla should show images in git patches
858 https://bugs.webkit.org/show_bug.cgi?id=31395
860 Attempt to go r51748 again using --directory option of git-apply.
862 * PrettyPatch/PrettyPatch.rb:
864 2009-12-06 Shinichiro Hamaji <hamaji@chromium.org>
866 Unreviewed. Revert r51748.
868 Bugzilla should show images in git patches
869 https://bugs.webkit.org/show_bug.cgi?id=31395
871 * PrettyPatch/PrettyPatch.rb:
873 2009-12-06 Shinichiro Hamaji <hamaji@chromium.org>
875 Reviewed by David Kilzer.
877 Bugzilla should show images in git patches
878 https://bugs.webkit.org/show_bug.cgi?id=31395
880 Show images in git patches using git-apply.
882 * PrettyPatch/PrettyPatch.rb:
884 2009-10-23 Eric Seidel <eric@webkit.org>
886 Reviewed by Adam Roben.
888 PrettyPatch should show images even when they have the wrong mime type
889 https://bugs.webkit.org/show_bug.cgi?id=29506
891 * PrettyPatch/PrettyPatch.rb:
893 2009-10-17 Alexey Proskuryakov <ap@apple.com>
895 Reviewed by Eric Carlson.
897 https://bugs.webkit.org/show_bug.cgi?id=30470
898 Make marking a bug as duplicate easier
900 * js/field.js: (setResolutionToDuplicate): Focus the edit field, too.
902 2009-10-16 Alexey Proskuryakov <ap@apple.com>
904 Reviewed by Mark Rowe.
906 https://bugs.webkit.org/show_bug.cgi?id=30470
907 Make marking a bug as duplicate easier
909 * js/field.js: (setResolutionToDuplicate): Show edit field right away, don't make the user
912 2009-09-09 David Kilzer <ddkilzer@apple.com>
914 Update data/params parameters
916 * data/params: Updated 'attachment_base' parameter for secure
917 attachments. Updated 'mybugstemplate' parameter to search for
918 bugs in UNCONFIRMED, ASSIGNED and REOPENED status in addition to
921 2009-08-11 David Kilzer <ddkilzer@apple.com>
923 Updated data/params parameter
925 * data/params: Updated 'loginnetmask' parameter to allow users
926 to choose whether their cookies are restricted to a single IP
929 2009-07-07 David Kilzer <ddkilzer@apple.com>
931 Updated BugsSite with local changes on server
933 The new files were created by checksetup.pl during the upgrade
934 to Bugzilla 3.2.3. The rest are self-explanatory.
936 * data: Added "bugzilla-update.xml" to svn:ignore.
937 * data/attachments: Added "groups.*" to svn:ignore.
938 * data/params: Updated for a few changed parameters.
940 * lib/.htaccess: Added.
941 * skins/contrib/Dusk/IE-fixes.css: Added.
942 * skins/contrib/Dusk/admin.css: Added.
943 * skins/contrib/Dusk/create_attachment.css: Added.
944 * skins/contrib/Dusk/dependency-tree.css: Added.
945 * skins/contrib/Dusk/duplicates.css: Added.
946 * skins/contrib/Dusk/editusers.css: Added.
947 * skins/contrib/Dusk/help.css: Added.
948 * skins/contrib/Dusk/index.css: Added.
949 * skins/contrib/Dusk/panel.css: Added.
950 * skins/contrib/Dusk/params.css: Added.
951 * skins/contrib/Dusk/release-notes.css: Added.
952 * skins/contrib/Dusk/show_bug.css: Added.
953 * skins/contrib/Dusk/show_multiple.css: Added.
954 * skins/contrib/Dusk/summarize-time.css: Added.
955 * skins/contrib/Dusk/voting.css: Added.
956 * skins/contrib/Dusk/yui: Added.
957 * skins/contrib/Dusk/yui/calendar.css: Added.
958 * skins/custom/IE-fixes.css: Added.
959 * skins/custom/admin.css: Added.
960 * skins/custom/buglist.css: Added.
961 * skins/custom/create_attachment.css: Added.
962 * skins/custom/dependency-tree.css: Added.
963 * skins/custom/duplicates.css: Added.
964 * skins/custom/editusers.css: Added.
965 * skins/custom/help.css: Added.
966 * skins/custom/panel.css: Added.
967 * skins/custom/params.css: Added.
968 * skins/custom/release-notes.css: Added.
969 * skins/custom/show_bug.css: Added.
970 * skins/custom/show_multiple.css: Added.
971 * skins/custom/summarize-time.css: Added.
972 * skins/custom/voting.css: Added.
973 * skins/custom/yui: Added.
974 * skins/custom/yui/calendar.css: Added.
976 2009-07-03 David Kilzer <ddkilzer@apple.com>
978 Bug 26958: Change edit link to review link in request messages
980 <https://bugs.webkit.org/show_bug.cgi?id=26958>
982 Reviewed by Dan Bernstein.
984 * template/en/custom/request/email.txt.tmpl: Copied from BugsSite/template/en/default/request/email.txt.tmpl.
985 Changed link from "action=edit" to "action=review".
987 2009-07-03 David Kilzer <ddkilzer@apple.com>
989 Bug 26950: Make the summary and alias fields support click-to-edit
990 <https://bugs.webkit.org/show_bug.cgi?id=26950>
992 Reviewed by Maciej Stachowiak.
994 Original patch by Maciej Stachowiak.
997 (hideEditableField): Updated to add click event listeners to the
998 alias and short description elements to make them easier to
999 edit. Renamed field_id parameter to field2_id (short
1000 description id) and added a field1_id parameter (alias id).
1001 (showEditableField): If a third parameter is passed in the
1002 ContainerInputArray parameter, use it to find the element to
1003 focus. Otherwise, fall back to the original behavior of
1004 focusing the first input field.
1005 (hideAliasAndSummary): Changed to pass the id for the alias
1006 element to hideEditableField().
1008 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1010 Config file for contrib/recode.pl when upgrading bugs.webkit.org
1012 Current as of midday on Wednesday, July 1, 2009.
1014 * contrib/recode-overrides.txt: Added.
1016 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1018 Workaround for WebKit Bug 9630 when running contrib/recode.pl
1020 A number of WebKit nightly builds included Bug 9630 which caused
1021 non-breaking space characters (0xA0) to be submitted within the
1022 content of textarea elements.
1024 * contrib/recode.pl: To work around these 0xA0 characters, try
1025 an encoding of cp1252 and use it if it works.
1027 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1029 Don't print "Failed to guess" warning if an override is available
1031 * contrib/recode.pl: Check that %overrides does NOT contain a
1032 key matching the current digest before printing out the warning
1033 about a failed charset guess.
1035 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1037 Added --[no-]truncate switch to contrib/recode.pl
1039 * contrib/recode.pl: Added --[no-]truncate switch to make
1040 debugging of failed charset guessing easier. Often times the
1041 illegal character was truncated in the output.
1043 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1045 Changed Perl scripts to use #!/usr/bin/env perl
1047 perl -pi -e 's@#\!/usr/bin/perl@#\!/usr/bin/env perl@' *.cgi *.pl */*.pl
1049 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
1051 Replace Bugzilla favicon with webkit.org favicon
1053 * favicon.ico: Removed.
1054 * images/favicon.ico: Replaced. Copied from favicon.ico.
1056 2009-07-02 David Kilzer <ddkilzer@webkit.org>
1058 Merged BugsSite to Bugzilla-3.2.3
1060 Updated to the latest-and-greatest stable version.
1062 2009-07-02 David Kilzer <ddkilzer@webkit.org>
1064 Merged BugsSite to Bugzilla-3.0.3
1066 Nothing to see here. Move along.
1068 2009-06-09 Eric Seidel <eric@webkit.org>
1070 Reviewed by Adam Roben.
1072 Add support for displaying added png files in PrettyPatch diffs
1073 https://bugs.webkit.org/show_bug.cgi?id=26210
1075 Currently this is SVN only (git-send-bugzilla patches exclude binary data)
1076 and only works for PNG files but could easily be made to work for other images as needed.
1078 * PrettyPatch/PrettyPatch.rb:
1080 2009-05-19 Eric Seidel <eric@webkit.org>
1082 Reviewed by Adam Roben.
1084 Make PrettyPatch understand quoted filenames in git diffs.
1085 https://bugs.webkit.org/show_bug.cgi?id=25881
1087 * PrettyPatch/PrettyPatch.rb:
1089 2009-05-15 Simon Fraser <simon.fraser@apple.com>
1091 Carrying forwards Darin Adler's rubber stamp
1093 Make the comment field wider too.
1095 * skins/custom/global.css:
1097 2009-05-14 Simon Fraser <simon.fraser@apple.com>
1099 Reviewed by Darin Adler
1101 Make the URL, Summary and Keyword fields wider to mitigate the
1102 effects of https://bugs.webkit.org/show_bug.cgi?id=25566 and make
1103 things generally better.
1105 * skins/custom/global.css:
1106 * template/en/custom/bug/edit.html.tmpl:
1108 2008-11-10 Darin Adler <darin@apple.com>
1110 - fix more of https://bugs.webkit.org/show_bug.cgi?id=21400
1111 "Edit" links for patches in comments, review queue, review emails
1112 should be replaced by "Review Patch" links
1114 * globals.pl: Fix cases that are automatically generated, such as links
1115 in comments in bugs.
1117 * template/en/custom/attachment/created.html.tmpl: Fix the link on the
1118 "I just created an attachment" page.
1120 * template/en/custom/request/queue.html.tmpl: Fix the link in the queue
1123 2008-11-10 Darin Adler <darin@apple.com>
1125 * template/en/default/request/queue.html.tmpl: Use review links instead
1126 of edit links in the review queue.
1128 2008-11-10 Darin Adler <darin@apple.com>
1130 * template/en/custom/request/email.txt.tmpl: Send review links instead
1131 of edit links when flags are set on a bug.
1133 2008-10-27 Darin Adler <darin@apple.com>
1135 * template/en/custom/attachment/reviewform.html.tmpl: Leave out the
1136 comment if it's untouched.
1138 2008-10-23 Adam Roben <aroben@apple.com>
1140 Fix Bug 21401: Comments field on "Review Patch" page should be
1141 initially filled with quoted patch
1143 <https://bugs.webkit.org/show_bug.cgi?id=21401>
1145 Reviewed by Dave Hyatt.
1148 (edit): Retrieve the attachment data from the database instead of just
1149 its length. When the attachment is a patch, create a quotedpatch
1150 template variable that contains the patch data with each line
1151 prepended with "> ".
1152 * template/en/custom/attachment/reviewform.html.tmpl:
1153 - Changed the comments field to have a monospace font
1154 - Added an "Enter comments below:" caption above the comments field
1155 to make it clearer that this is where comments should go, now that
1156 the comments field is not initially empty
1157 - Fill the comments field with the quoted patch
1159 2008-10-14 Adam Roben <aroben@apple.com>
1161 Fix Bug 21602: Bugzilla times out trying to display formatted diff for
1164 https://bugs.webkit.org/show_bug.cgi?id=21602
1166 Reviewed by Dave Kilzer.
1168 * PrettyPatch/PrettyPatch.rb:
1169 (PrettyPatch.BINARY_FILE_MARKER_FORMAT): Added.
1170 (PrettyPatch.FileDiff.initialize): If any of the lines in the diff
1171 are a binary file marker, mark this FileDiff as binary and stop trying
1172 to process the lines.
1173 (PrettyDiff.FileDiff.to_html): If we're binary, just print a string
1176 2008-10-02 Adam Roben <aroben@apple.com>
1178 * template/en/custom/attachment/reviewform.html.tmpl: Fix typo.
1180 2008-10-02 Adam Roben <aroben@apple.com>
1182 * template/en/custom/attachment/review.html.tmpl: Fix URLs
1184 2008-10-02 Adam Roben <aroben@apple.com>
1186 Fix Bug 21315: bugs.webkit.org should have a nicer patch review
1189 https://bugs.webkit.org/show_bug.cgi?id=21315
1191 Reviewed by Tim Hatcher.
1194 (top level): Added support for the "review" and "reviewform" actions.
1195 (sub edit): Accept the template name as a parameter. If no name is
1196 give, use "edit" as before.
1197 * template/en/custom/attachment/list.html.tmpl: Added a "Review Patch"
1198 link for all patch attachments.
1199 * template/en/custom/attachment/review.html.tmpl: Added. Simple
1200 <frameset> page to show the patch on the top and a comment form on the
1202 * template/en/custom/attachment/reviewform.html.tmpl: Added. Simple
1203 comment form for reviewing patches.
1205 2008-10-02 Adam Roben <aroben@apple.com>
1207 Remove references to some backup files I created when implementing
1208 PrettyPatch in Bugzilla
1210 Reviewed by Tim Hatcher.
1212 * attachment-aroben.cgi: Removed.
1213 * template/en/default/attachment/edit-aroben.html.tmpl: Removed.
1215 * template/en/custom/attachment/edit.html.tmpl: Removed an erroneous
1216 reference to attachment-aroben.cgi. attachment.cgi will work just
1219 2008-06-25 David Kilzer <ddkilzer@apple.com>
1221 Make PrettyPatch handle diffs with no Index or diff headers
1223 Part of Bug 19290: More patches not handled by PrettyPatch.rb
1224 <https://bugs.webkit.org/show_bug.cgi?id=19290>
1228 * PrettyPatch/PrettyPatch.rb:
1229 (PrettyPatch.DIFF_HEADER_FORMATS): Added regular expression to
1230 match on "+++ " lines for patches with no "Index" or "diff" header.
1231 (PrettyPatch.FileDiff.initialize): Look for filename on "+++ " line
1232 when the first line of a patch has no "Index" or "diff" header.
1233 (PrettyPatch.FileDiff.parse): Added haveSeenDiffHeader state
1234 variable to determine when no "Index" or "diff" header has been
1235 found, but a new patch has started with a "--- " line.
1237 2008-06-08 Dan Bernstein <mitz@apple.com>
1239 Reviewed by Adam Roben.
1241 - update trac URL in PrettyPatch
1243 * PrettyPatch/PrettyPatch.rb:
1245 2008-05-29 Adam Roben <aroben@apple.com>
1247 Update PrettyPatch directory list
1249 * PrettyPatch/PrettyPatch.rb:
1251 2008-05-28 Adam Roben <aroben@apple.com>
1253 Make PrettyPatch able to handle diffs taken from outside the WebKit
1256 Part of Bug 19290: More patches not handled by PrettyPatch.rb
1257 <https://bugs.webkit.org/show_bug.cgi?id=19290>
1259 Reviewed by David Kilzer.
1261 * PrettyPatch/PrettyPatch.rb:
1262 (PrettyPatch.find_url_and_path): Added. Searches the file path from
1263 the bottom up looking for a directory that exists in the source tree.
1264 (PrettyPatch.linkifyFilename): Changed to call find_url_and_path.
1266 2008-05-28 Adam Roben <aroben@apple.com>
1268 Print exceptions from PrettyPatch to stdout
1270 This will make it much easier to debug problems with PrettyPatch,
1271 since we'll be able to see the exceptions in the browser.
1273 Reviewed by Sam Weinig.
1275 * PrettyPatch/prettify.rb: Added a --html-exceptions option, which
1276 will print exceptions to stdout as HTML.
1277 * attachment.cgi: Changed to pass --html-exceptions to prettify.rb.
1279 2008-04-26 David Kilzer <ddkilzer@apple.com>
1281 Removed temp files and added appropriate svn:ignore properties.
1283 Rubber-stamped by Mark Rowe.
1285 * data: Added svn:ignore property for "versioncache" and "versioncache.*" files.
1287 * data/template: Added svn:ignore property for "template" subdirectory.
1288 * data/template/template: Removed precompiled template subdirectory.
1290 * data/versioncache: Removed.
1291 * data/versioncache.*: Removed backup versioncache files.
1293 * data/webdot: Added svn:ignore property for "*.dot" files.
1294 * data/webdot/*.dot: Removed cached webdot files.
1296 2008-04-08 Adam Roben <aroben@apple.com>
1298 Combine :equal operations with the following operation if they are
1299 fewer than 3 characters long
1301 This keeps us from showing lots of small changes on long lines, just
1302 because some letters happened to be the same.
1305 http://code.google.com/p/reviewboard/source/browse/trunk/reviewboard/diffviewer/diffutils.py?r=1264#147
1307 * PrettyPatch/PrettyPatch.rb:
1308 (PrettyPatch::DiffSection.initialize): Remove :equal operations fewer
1309 than 3 characters long. The characters from the removed operations
1310 become part of the subsequent operation.
1311 (PrettyPatch::CodeLine.text_as_html): Don't wrap 0-length strings in
1312 <ins>/<del> tags. Also removed the @fromLineNumber.nil? and
1313 @toLineNumber.nil? checks as they are no longer reliable now that
1314 we're removing operations.
1316 2008-04-08 Adam Roben <aroben@apple.com>
1318 Change PrettyPatch to use DiffBuilder for intra-line diffs
1320 This gives us much prettier intra-line diffs, largely because it can
1321 distinguish multiple changes on the same line. e.g., if a line changes
1324 const int myConstant = 0;
1328 static const unsigned myConstant;
1330 You will see that "static " was inserted, "int" changed to "unsigned",
1331 and " = 0" was deleted.
1333 This seems to have also gotten rid of some spurious instances of
1334 "<ins></ins>" and "<del></del>" at the end of a line.
1336 * PrettyPatch/PrettyPatch.rb:
1337 (PrettyPatch::DiffSection.initialize): Use DiffBuilder instead of
1338 setChangeExtentFromLine (which had been copied from Trac's diffing
1340 (PrettyPatch::CodeLine):
1341 - Removed the changeExtent attribute
1342 - Added the operations attribute
1343 - Removed the setChangeExtentFromLine method
1344 (PrettyPatch::CodeLine.text_as_html): Uses @operations to determine
1345 what text to wrap in <ins> and <del> tags.
1346 * PrettyPatch/diff.rb: Deleted a bunch of code we don't use.
1347 (HTMLDiff::DiffBuilder.initialize): Moved code here from the old build
1348 method, but left out the calls to perform_operation, since we build
1349 the diff HTML outside of this class.
1350 (HTMLDiff::DiffBuilder.split_inputs_to_words): Removed calls to
1351 convert_html_to_list_of_words, since we're not diffing HTML.
1353 2008-04-08 Adam Roben <aroben@apple.com>
1358 http://instiki.rubyforge.org/svn/instiki/trunk/lib/diff.rb
1361 * PrettyPatch/diff.rb: Added.
1363 2008-03-04 Adam Roben <aroben@apple.com>
1365 * PrettyPatch/PrettyPatch.rb: Allow the extent of the previous file to
1366 be omitted from the hunk header.