1 2011-06-21 Adam Barth <abarth@webkit.org>
3 Reviewed by Darin Adler.
5 bugs.webkit.org should use Strict-Transport-Security
6 https://bugs.webkit.org/show_bug.cgi?id=63097
8 Strict-Transport-Security forces all connections to bugs.webkit.org to
9 use HTTPS, preventing sslstrip and other attacks.
13 2011-05-04 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
15 Reviewed by Adam Roben.
17 REGRESSION (r85657): webkitpy.common.prettypatch_unittest.PrettyPatchTest.test_pretty_diff_encodings failing on Leopard
18 https://bugs.webkit.org/show_bug.cgi?id=60164
20 Use Array#length to get the number of elements in an array. Array#count
21 was added in Ruby 1.8.7, but Leopard have Ruby 1.8.6.
23 * PrettyPatch/PrettyPatch.rb:
25 2011-05-03 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
27 Reviewed by Adam Roben.
29 Add tests to PrettyPatch
30 https://bugs.webkit.org/show_bug.cgi?id=57298
32 Verify that 'prettify' parse the right number of files and parts
33 (add/remove/shared) by checking a set of patches available in
36 * PrettyPatch/PrettyPatch.rb: exported a couple a globals with
37 statistics information for our test script.
38 * PrettyPatch/PrettyPatch_test.rb: Added.
40 2011-04-22 Alexey Proskuryakov <ap@apple.com>
42 Code changes by Adam Barth. Reviewed by Ojan Vafai.
44 Bugzilla autocomplete should support frequent contributors who are not committers
45 https://bugs.webkit.org/show_bug.cgi?id=59209
47 * committers-autocomplete.js: Support Contributor role in committers.py.
49 2011-04-19 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
51 Reviewed by Adam Roben.
53 PrettyPatch tries to show images for deleted files
54 https://bugs.webkit.org/show_bug.cgi?id=28457
56 When the image data is empty, instead of generating an <img> tag, generate
57 a text to indicate the image was deleted.
59 * PrettyPatch/PrettyPatch.rb:
61 2011-04-14 Tony Chang <tony@chromium.org>
63 Reviewed by Adam Roben.
65 make PrettyPatch.rb aware of checksums in png files
66 https://bugs.webkit.org/show_bug.cgi?id=58387
68 Patch v2 with nil checks in the case of file adds and deletes.
70 * PrettyPatch/PrettyPatch.rb:
72 2011-04-13 Simon Fraser <simon.fraser@apple.com>
74 Revert http://trac.webkit.org/changeset/83750 because it broke PrettyPatch.
75 https://bugs.webkit.org/show_bug.cgi?id=58510
77 * PrettyPatch/PrettyPatch.rb:
79 2011-04-12 Tony Chang <tony@chromium.org>
81 Reviewed by Adam Roben.
83 make PrettyPatch.rb aware of checksums in png files
84 https://bugs.webkit.org/show_bug.cgi?id=58387
86 * PrettyPatch/PrettyPatch.rb:
88 2011-04-12 Adam Barth <abarth@webkit.org>
90 Reviewed by Eric Seidel.
92 Review tool should work well on iPad
93 https://bugs.webkit.org/show_bug.cgi?id=58351
95 On the iPad, the toolbar ends up at some random position in the middle
96 of the page because of how position:fixed interacts with scrolling on
97 the iPad. I feel a bit dirty using a user agent detect, but I'm not
98 sure if there's a better way to detect whether the user agent has this
103 2011-03-15 David Levin <levin@chromium.org>
105 Reviewed by Adam Barth.
107 Links from code reviews to trac are incorrect for files in Source/WebKit.
108 https://bugs.webkit.org/show_bug.cgi?id=56404
110 * PrettyPatch/PrettyPatch.rb: Remove WebKit from the list of top level
111 directories since it is now under Source.
113 2011-03-10 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
115 Reviewed by Adam Roben.
117 Formatted Diff for attachment 23920 is mangled
118 https://bugs.webkit.org/show_bug.cgi?id=21222
120 The mangled diff files mentioned in the bug were using Mac line
121 ending and this was causing problems for String#each_line. Now we
122 normalize the line endings in patch data before processing it.
124 * PrettyPatch/PrettyPatch.rb:
126 2011-03-10 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
128 Reviewed by Adam Roben.
130 PrettyPatch displays last two lines of a git-format-patch diff strangely
131 https://bugs.webkit.org/show_bug.cgi?id=29317
133 If the diff section has full range information, we parse only enough to cover the
134 range. This avoids incorrectly showing trailing lines (like git signature) as part
137 * PrettyPatch/PrettyPatch.rb:
139 2011-03-10 Adam Roben <aroben@apple.com>
141 Don't search for intra-line diffs in really long lines
143 Doing so can lead to hangs (or at least really slow execution).
145 Fixes <http://webkit.org/b/56109> run-webkit-tests sometimes times out on Windows XP Debug
146 (Tests) after fast/text/large-text-composed-char-dos.html fails (due to PrettyPatch
149 Reviewed by David Kilzer.
151 * PrettyPatch/PrettyPatch.rb:
152 (PrettyPatch.MAXIMUM_INTRALINE_DIFF_LINE_LENGTH): Added this new constant.
153 (PrettyPatch.DiffSection.initialize): Don't bother looking for intra-line diffs in lines
154 longer than the maximum length.
156 2011-02-25 Ojan Vafai <ojan@chromium.org>
158 Reviewed by Adam Barth.
160 [codereviewtool] fix expand links on git diffs
161 https://bugs.webkit.org/show_bug.cgi?id=55208
163 In git diffs, we don't have a "revision" span at the end
167 2011-02-23 Ojan Vafai <ojan@chromium.org>
169 Reviewed by Tony Chang.
171 autocomplete=off prevents refilling form fields on back/forward navigation
172 https://bugs.webkit.org/show_bug.cgi?id=47463
174 I haven't actually run this patch due to the difficulty of getting
175 a bugzilla instance running. It's simple enough code that I'm not too worried
178 * committers-autocomplete.js:
180 2011-02-21 Ojan Vafai <ojan@chromium.org>
182 Reviewed by Adam Barth.
184 [codereviewtool] focus first visible node if no node is focused
185 https://bugs.webkit.org/show_bug.cgi?id=54935
187 Now hitting j/k/n/p will focus the first/last visible node
188 if no other node is focused. Also tweaked the scroll into view
189 logic a bit to avoid scrolling in this case.
193 2011-02-21 Ojan Vafai <ojan@chromium.org>
195 Reviewed by Adam Barth.
197 [codereviewtool] remove patch fuzzing
198 https://bugs.webkit.org/show_bug.cgi?id=54940
200 This code is buggy and not as necessary now that we
201 include svn revision numbers in uploaded patches.
205 2011-02-21 Ojan Vafai <ojan@chromium.org>
207 Reviewed by Adam Barth.
209 [codereviewtool] focus comment on accept
210 https://bugs.webkit.org/show_bug.cgi?id=54930
214 2011-02-20 Ojan Vafai <ojan@chromium.org>
216 Reviewed by Adam Barth.
218 [codereviewtool] avoid overriding ctrl/cmd + r
219 https://bugs.webkit.org/show_bug.cgi?id=54852
223 2011-02-16 Ojan Vafai <ojan@chromium.org>
225 Reviewed by Adam Barth.
227 keyboard support for extending/shrinking comment context
228 https://bugs.webkit.org/show_bug.cgi?id=54612
230 ctrl+shift+up/down will extend/shrink the comment context when
231 a comment is focused or when one is being edited.
233 Also, switch over to using keydown instead of keypress events.
234 This lets us share code for handling escape and other key events.
235 Also, keypress is evil and should die.
239 2011-02-20 Ojan Vafai <ojan@chromium.org>
241 Recommit accidental revert.
242 r79180 accidentally revereted r79178.
245 2011-02-20 Ojan Vafai <ojan@chromium.org>
247 Reviewed by Adam Barth.
249 [codereviewtool] add more help information
250 https://bugs.webkit.org/show_bug.cgi?id=54847
254 2011-02-20 Ojan Vafai <ojan@chromium.org>
256 Reviewed by Adam Barth.
258 [codereviewtool] use 'r' to focus the review select element
259 https://bugs.webkit.org/show_bug.cgi?id=54845
261 This allows for quick keyboard access to the toolbar items.
262 Hit r to get to the review select element. Then you can
263 tab to the cq/preview/publish elements.
267 2011-02-20 Ojan Vafai <ojan@chromium.org>
269 Reviewed by Adam Barth.
271 [codereviewtool] don't let lines/diffblocks be mouse focusable
272 https://bugs.webkit.org/show_bug.cgi?id=54851
274 Unfortunately, this will only work once https://bugs.webkit.org/show_bug.cgi?id=54727
275 is committed. In the interim, it won't break anything.
279 2011-02-20 Ojan Vafai <ojan@chromium.org>
281 Reviewed by Adam Barth.
283 [codereviewtool] use keydown instead of keypress
284 https://bugs.webkit.org/show_bug.cgi?id=54849
286 There is no functional change. This is just a cleanup
287 to make future patches (e.g. https://bugs.webkit.org/show_bug.cgi?id=54612)
292 2011-02-20 Ojan Vafai <ojan@chromium.org>
294 Reviewed by Adam Barth.
296 [codereviewtool] fix layout nit
297 https://bugs.webkit.org/show_bug.cgi?id=54848
299 There is occasionally an off-by-one in the 50% width
300 calculation. This ensures that the add lines always
301 line up with the shared context lines.
303 * PrettyPatch/PrettyPatch.rb:
305 2011-02-20 Ojan Vafai <ojan@chromium.org>
307 Reviewed by Adam Barth.
309 [codereviewtool] make escape hide the preview form
310 https://bugs.webkit.org/show_bug.cgi?id=54844
314 2011-02-20 Ojan Vafai <ojan@chromium.org>
316 Reviewed by Adam Barth.
318 [codereviewtool] make enter work when an individual line is focused
319 https://bugs.webkit.org/show_bug.cgi?id=54843
323 2011-02-17 Ojan Vafai <ojan@chromium.org>
325 Reviewed by Adam Barth.
327 use shift+j/k to focus next/previous line
328 https://bugs.webkit.org/show_bug.cgi?id=54723
330 Tested on a large Hyatt change to confirm it performed fine.
331 (https://bugs.webkit.org/attachment.cgi?id=82533&action=review)
335 2011-02-17 Ojan Vafai <ojan@chromium.org>
337 Reviewed by Adam Barth.
339 fix escape handling in code review tool
340 https://bugs.webkit.org/show_bug.cgi?id=54722
342 This broke with http://trac.webkit.org/changeset/78948.
343 Apparently jquery events get a wrapped object that
344 does not expose keyIdentifier.
348 2011-02-17 Ojan Vafai <ojan@chromium.org>
350 Reviewed by Adam Barth.
352 create comments when hitting enter with a focused diff
353 https://bugs.webkit.org/show_bug.cgi?id=54719
357 2011-02-17 Ojan Vafai <ojan@chromium.org>
359 Reviewed by Adam Barth.
361 use actual browser focus in the code review tool
362 https://bugs.webkit.org/show_bug.cgi?id=54726
364 This makes keyboard handling play better with focusable element
365 (i.e. links/textareas/buttons). Also, in theory, this makes
366 the review tool more amenable to screen readers (I think).
368 * PrettyPatch/PrettyPatch.rb:
371 2011-02-17 Ojan Vafai <ojan@chromium.org>
373 Reviewed by Antonio Gomes.
375 make event handling work in Gecko
376 https://bugs.webkit.org/show_bug.cgi?id=54702
378 Gecko doesn't support the global event property. It's an IE-ism.
382 2011-02-14 Ojan Vafai <ojan@chromium.org>
384 Reviewed by Adam Barth.
386 allow for modifying comments without the mouse
387 https://bugs.webkit.org/show_bug.cgi?id=54433
389 Use n/p to navigate the comments.
390 Enter to begin editing a comment.
391 Escape to finish editing a comment.
395 2011-02-14 Ojan Vafai <ojan@chromium.org>
397 Reviewed by Adam Barth.
399 improve line selection in the code review tool
400 https://bugs.webkit.org/show_bug.cgi?id=54430
402 -shift+click now extends the comment context
403 -selecting outside of a diff section no longer clears the selected lines.
404 Instead it just restricts the selected lines to that diff section.
408 2011-02-10 Ojan Vafai <ojan@chromium.org>
410 Reviewed by Adam Barth.
412 remove extra space from expansion lines
413 https://bugs.webkit.org/show_bug.cgi?id=54266
417 2011-02-09 Ojan Vafai <ojan@chromium.org>
419 Reviewed by Adam Barth.
421 only erase draft comments after publish is successful
422 https://bugs.webkit.org/show_bug.cgi?id=54163
424 If there is a conflict or 500, then draft comments will survive.
425 One drawback here is that the form post is now to the iframe,
426 so to break out of the iframe we redirect to the bug page, which
427 loses the information of who the email was sent to.
429 Once WebKit supports seamless iframes we should be able to avoid
434 2011-02-09 Ojan Vafai <ojan@chromium.org>
436 Reviewed by Adam Barth.
438 save overall comments when saving drafts in the review tool
439 https://bugs.webkit.org/show_bug.cgi?id=54165
441 -save overall comments in localstorage as well
442 -save all draft comments as you type
443 -give a *subtle* indicator of saved state
445 The latter should also make it super easy if someone wanted to do
446 the work to store draft comments in appengine/s3/bugzilla/etc.
448 * PrettyPatch/PrettyPatch.rb:
449 * code-review-test.html:
452 2011-02-08 Ojan Vafai <ojan@chromium.org>
454 Reviewed by Adam Barth.
456 fix toolbar anchoring in the code review tool
457 https://bugs.webkit.org/show_bug.cgi?id=54058
459 Avoid the anchoring cycle of doom when on the cusp
460 of whether the toolbar needs to be anchored and
461 speculatively avoid the Firefox crash when resizing.
463 * PrettyPatch/PrettyPatch.rb:
466 2011-02-07 Ojan Vafai <ojan@chromium.org>
468 Reviewed by Adam Barth.
470 bring back diff context lines into the review tool
471 https://bugs.webkit.org/show_bug.cgi?id=53974
475 2011-02-01 Ojan Vafai <ojan@chromium.org>
477 Reviewed by Adam Roben.
479 include svn revisions in git diffs for the code review tool to use
480 https://bugs.webkit.org/show_bug.cgi?id=53569
482 * PrettyPatch/PrettyPatch.rb:
484 2011-02-01 Ojan Vafai <ojan@chromium.org>
486 Reviewed by Adam Barth.
488 make draft comments focusable
489 https://bugs.webkit.org/show_bug.cgi?id=53554
491 Makes frozen draft comments focusable. The ones that are currently being edited are not.
492 I'm on the fence whether they should be, but this seems good enough for now.
496 2011-02-01 Ojan Vafai <ojan@chromium.org>
498 Reviewed by Adam Barth.
500 avoid jitter when loading the comments to a patch
501 https://bugs.webkit.org/show_bug.cgi?id=53570
505 2011-02-01 Ojan Vafai <ojan@chromium.org>
507 Reviewed by Mihai Parparita.
509 [codereviewtool] extra space at the beginning of lines in side-by-side view
510 https://bugs.webkit.org/show_bug.cgi?id=53550
512 The newline between the spans turns into user-visible space in side-by-side mode.
514 * PrettyPatch/PrettyPatch.rb:
516 2011-02-01 Ojan Vafai <ojan@chromium.org>
518 Increment version number to cache-bust code-review.js.
520 * PrettyPatch/PrettyPatch.rb:
522 2011-01-31 Ojan Vafai <ojan@chromium.org>
524 Reviewed by Adam Barth.
526 Store draft comments in localStorage
527 https://bugs.webkit.org/show_bug.cgi?id=52866
530 * code-review-test.html
532 2011-01-20 Ojan Vafai <ojan@chromium.org>
534 Fix the review tool for image diffs. We would get a javascript error
535 because image diffs don't have line numbers.
539 2011-01-20 Ojan Vafai <ojan@chromium.org>
541 Reviewed by Oliver Hunt.
543 Could review tool include style failure info?
544 https://bugs.webkit.org/show_bug.cgi?id=49049
546 This does not handle patches that have old paths (e.g. without the Source prefix).
547 Although that would be fairly straightforward to workaround.
551 2011-01-20 Ojan Vafai <ojan@chromium.org>
553 Reviewed by Adam Barth.
555 handle cases where PrettyPatch.rb doesn't linkify filenames
556 https://bugs.webkit.org/show_bug.cgi?id=52834
560 2011-01-20 Ojan Vafai <ojan@chromium.org>
562 Reviewed by Adam Barth.
564 fix goofup in http://trac.webkit.org/changeset/76082
565 https://bugs.webkit.org/show_bug.cgi?id=52830
567 We were showing the revision number of the patch at the bottom
568 of the diff and expanding from the bottom of the diff would fail.
570 Also, removed an unused variable and scoped queries appropriatly
571 to the file_diff they should have been operating on.
573 * PrettyPatch/PrettyPatch.rb:
576 2011-01-19 Ojan Vafai <ojan@chromium.org>
578 Reviewed by Adam Barth.
580 [reviewtool] Add a link for annotated trac page on review page
581 https://bugs.webkit.org/show_bug.cgi?id=52747
583 -add line numbers to all trac links to the first line in the file diff
584 -add annotate/review log links
585 -make file-diff links other than the file name only show when you mouseover the filediff
586 -fix white-space to only wrap the .text element and it's childen, any of it's siblings/parents
588 * PrettyPatch/PrettyPatch.rb:
591 2011-01-14 Ojan Vafai <ojan@chromium.org>
593 Reviewed by Adam Barth.
595 make line selection have a extend only from where you start the selection in the code review tool
596 https://bugs.webkit.org/show_bug.cgi?id=52485
600 2011-01-18 Ojan Vafai <ojan@chromium.org>
602 Reviewed by Eric Seidel.
604 make file expansion use the file at the svn revision the diff was created at
605 https://bugs.webkit.org/show_bug.cgi?id=52650
607 This only works for patches created with SVN for now since the git
608 diff does not include SVN revision numbers in it.
610 * PrettyPatch/PrettyPatch.rb:
613 2011-01-15 Adam Barth <abarth@webkit.org>
615 Rubber-stamped by Eric Seidel.
617 Move WebKit2 into Source
618 https://bugs.webkit.org/show_bug.cgi?id=52438
620 Remove WebKit2 from the list of top-level source directories.
622 * PrettyPatch/PrettyPatch.rb:
624 2011-01-14 Ojan Vafai <ojan@chromium.org>
626 Reviewed by Adam Barth.
628 fix expanded lines in the code review tool
629 https://bugs.webkit.org/show_bug.cgi?id=52498
631 Fixes them to work now that we have wrapper divs.
632 Also fixes the long-standing bug that the line numbers
633 were incorrect sometimes.
637 2011-01-14 Ojan Vafai <ojan@chromium.org>
639 Reviewed by Adam Barth.
641 put remove lines to the left of add lines in sidebyside view
642 https://bugs.webkit.org/show_bug.cgi?id=52458
644 Also, sneaking in a fix to make long lines with no whitespace wrap.
646 * PrettyPatch/PrettyPatch.rb:
649 2011-01-14 Ojan Vafai <ojan@chromium.org>
651 Fix bad merge in r75816.
655 2011-01-14 Ojan Vafai <ojan@chromium.org>
657 Reviewed by Adam Barth.
659 improve line selection with fast drags
660 https://bugs.webkit.org/show_bug.cgi?id=52477
664 2011-01-14 Ojan Vafai <ojan@chromium.org>
666 Reviewed by Adam Barth.
668 tweak line selection in code review tool
669 https://bugs.webkit.org/show_bug.cgi?id=52462
671 -Improve handling of data-comment-base-line code to deal with
672 lines that have multiple values.
673 -Make it so that if you click on the line immediately above
674 a line that has a comment it will add a new comment instead of
675 adding lines to the following comment. If the last selected line
676 overlaps existing comment lines though they will still get
677 added to the existing comment.
681 2011-01-14 Ojan Vafai <ojan@chromium.org>
683 Reviewed by Adam Roben.
685 fix bugs going back and forth between unified and sidebyside
686 https://bugs.webkit.org/show_bug.cgi?id=52470
688 Now that we're appending DOM nodes directly, we only want to
689 get the first ".text" element in the subtree. In the cases
690 where there are multiple, their contents are the same.
692 Also, when making side-by-side expansion lines, we need to
693 clone the contents so we have a second copy to append to the DOM.
697 2011-01-13 Ojan Vafai <ojan@chromium.org>
699 Reviewed by Adam Barth.
701 simplify keyboard handling in code review tool
702 https://bugs.webkit.org/show_bug.cgi?id=52407
704 Now that we have DiffBlock containers, the only things that are
705 focusable are previousComment nodes and DiffBlock containers
706 that contain add/remove lines.
708 Also, this means we show the focus border around the entire diff
709 instead of just the first line.
713 2011-01-13 Ojan Vafai <ojan@chromium.org>
715 Reviewed by Adam Barth.
717 add container divs for diff blocks
718 https://bugs.webkit.org/show_bug.cgi?id=52400
720 This will help simplify a lot of code in code-review.js
721 and make side-by-side diffs better (i.e. put removed lines
722 to the left of corresponding added lines).
724 Also, allow for running the JS from a local file. Now you can modify code-review.js
725 to point to a local file and then run:
726 ruby prettify.rb < foo.diff > foo.html
728 foo.html will load a dummy code review matching foo.diff.
751 * PrettyPatch/PrettyPatch.rb:
754 2011-01-12 Ojan Vafai <ojan@chromium.org>
756 Reviewed by Mihai Parparita.
758 fix assorted bugs with expansion lines
759 https://bugs.webkit.org/show_bug.cgi?id=52326
761 -Clicking "all" would collapse whitespace in the expanded lines.
762 -Converted the remaining line creation code to using the DOM.
764 * PrettyPatch/PrettyPatch.rb:
767 2011-01-12 Ojan Vafai <ojan@chromium.org>
769 Reviewed by Adam Barth.
771 review tool formatted diff doesn't match the uploaded diff
772 https://bugs.webkit.org/show_bug.cgi?id=51960
774 PrettyPatch works just fine if there is no newline at the end of the file.
778 2011-01-12 Ojan Vafai <ojan@chromium.org>
780 Reviewed by Adam Barth.
782 Bugzilla: Add keyboard shortcuts to jump to next change
783 https://bugs.webkit.org/show_bug.cgi?id=52305
785 Comments and diff blocks go in the same queue. If you have a
786 comment focused, then j/k will focus the next/prev diff block
787 with respect to that comment.
789 * PrettyPatch/PrettyPatch.rb:
792 2011-01-12 Ojan Vafai <ojan@chromium.org>
794 Reviewed by Adam Barth.
796 show shared lines on both sides in code review tool
797 https://bugs.webkit.org/show_bug.cgi?id=52308
799 We were appending the same DOM node twice. Instead, make
800 the from column a clone of the original node.
804 2011-01-12 Ojan Vafai <ojan@chromium.org>
806 Reviewed by Adam Barth.
808 fix wrapping bug in expansion lines in the code review tool
809 https://bugs.webkit.org/show_bug.cgi?id=52270
811 * PrettyPatch/PrettyPatch.rb:
814 2011-01-11 Ojan Vafai <ojan@chromium.org>
816 Reviewed by Adam Barth.
818 fix difflink centering to be vertical, not horizontal
819 https://bugs.webkit.org/show_bug.cgi?id=52263
821 * PrettyPatch/PrettyPatch.rb:
824 2011-01-11 Ojan Vafai <ojan@chromium.org>
826 Reviewed by Adam Barth.
828 remember diffstate for review tool
829 https://bugs.webkit.org/show_bug.cgi?id=52253
831 If you use the global sidebyside/unified links, store the diff type
832 in localstorage. Then, onload, use that diff type. That way, people
833 who prefer one diff type or the other can always get that by default.
837 2011-01-11 Ojan Vafai <ojan@chromium.org>
839 Reviewed by Adam Barth.
841 allow sidebysideifying individual files in the code review tool
842 https://bugs.webkit.org/show_bug.cgi?id=52226
846 2011-01-11 Ojan Vafai <ojan@chromium.org>
848 Reviewed by Mihai Parparita.
850 fix exception when adding a comment to a side-by-side diff
851 https://bugs.webkit.org/show_bug.cgi?id=52240
853 prev() and next() won't get the previous and next lines in
854 side-by-side mode. Instead do a query to find them.
858 2011-01-11 Ojan Vafai <ojan@chromium.org>
860 Reviewed by Mihai Parparita.
862 maintain word diffs when converting to side-by-side and back
863 https://bugs.webkit.org/show_bug.cgi?id=52244
865 Using textContent would lose the spans use to make the word-diff highlighting.
866 Just move the span element itself.
870 2011-01-11 Ojan Vafai <ojan@chromium.org>
872 Reviewed by Adam Barth.
874 fix layout error with comments in code review tool
875 https://bugs.webkit.org/show_bug.cgi?id=52230
877 * PrettyPatch/PrettyPatch.rb:
879 2011-01-10 Ojan Vafai <ojan@chromium.org>
881 Reviewed by Adam Barth.
883 convert back to unified from sidebyside diff
884 https://bugs.webkit.org/show_bug.cgi?id=52180
886 Remove url fragment stuff. Having it be per-filediff is too complicated.
888 * PrettyPatch/PrettyPatch.rb:
891 2011-01-07 Adam Barth <abarth@webkit.org>
893 Rubber-stamped by Eric Seidel.
895 Move WebCore to Source
896 https://bugs.webkit.org/show_bug.cgi?id=52050
898 Remove reference to old directory.
900 * PrettyPatch/PrettyPatch.rb:
902 2011-01-06 Ojan Vafai <ojan@chromium.org>
904 Reviewed by Adam Barth.
906 side-by-side diffs in the code review tool
907 https://bugs.webkit.org/show_bug.cgi?id=52019
909 Support for conversion from the formatted diff to a side-by-side diff.
910 Maintains comments and new comments can be added.
912 The main architectural change is that Line elements are no longer necessarily
913 siblings. Each physical line is now in a LineContainer and LineContainers are
914 siblings. Each Line corresponds to a Line in the unified diff and has an id (e.g. line12).
915 A Line can be a LineContainer or a child of a LineContainer.
917 In this way, converting to side-by-side and, in the future, back to unified is non-lossy.
919 * PrettyPatch/PrettyPatch.rb:
922 2011-01-06 Ojan Vafai <ojan@chromium.org>
924 Fix line context when replying to comments.
928 2011-01-05 Ojan Vafai <ojan@chromium.org>
930 Reviewed by Adam Barth.
932 change the way we do comment highlighting in the code review tool
933 https://bugs.webkit.org/show_bug.cgi?id=51971
935 Store a space-separated list of base line IDs on each line that has
936 comments associated with that line. This allows for overlapping comments,
937 but more importantly, makes adding side-by-side diff support easier.
941 2011-01-05 Ojan Vafai <ojan@chromium.org>
943 Reviewed by Adam Barth.
945 minor code cleanup for code review tool
946 https://bugs.webkit.org/show_bug.cgi?id=51962
948 Consolidates some queries to using shared functions.
952 2011-01-05 Ojan Vafai <ojan@chromium.org>
954 Reviewed by Adam Barth.
956 assorted cleanups to prepare for side-by-side diffing
957 https://bugs.webkit.org/show_bug.cgi?id=51961
959 Mostly, use selector queries instead of assuming comments are next siblings.
963 2011-01-05 Ojan Vafai <ojan@chromium.org>
965 Reviewed by Adam Barth.
967 fix message container selector for code review tool
968 https://bugs.webkit.org/show_bug.cgi?id=51959
972 2011-01-04 Ojan Vafai <ojan@chromium.org>
974 Increment version number to avoid getting the cached JS file.
976 * PrettyPatch/PrettyPatch.rb:
978 2010-12-15 Ojan Vafai <ojan@chromium.org>
980 Reviewed by Adam Barth.
982 anchor the toolbar to the bottom of the diff if the diff doesn't take a full screen of height
983 https://bugs.webkit.org/show_bug.cgi?id=51162
985 * PrettyPatch/PrettyPatch.rb:
988 2011-01-01 Adam Barth <abarth@webkit.org>
990 Reviewed by Eric Seidel.
992 Move JavaScriptCore to Source
993 https://bugs.webkit.org/show_bug.cgi?id=51604
995 * PrettyPatch/PrettyPatch.rb:
996 - Remove reference to JavaScriptCore as a source directory.
998 2011-01-01 Adam Barth <abarth@webkit.org>
1000 Reviewed by Eric Seidel.
1002 Move Sources to Source
1003 https://bugs.webkit.org/show_bug.cgi?id=51794
1005 * PrettyPatch/PrettyPatch.rb:
1007 2010-12-31 Adam Barth <abarth@webkit.org>
1009 Rubber-stamped by Eric Seidel.
1011 Move PageLoadTests to PerformanceTests/PageLoad
1012 https://bugs.webkit.org/show_bug.cgi?id=51771
1014 Update list of top-level open-source directories.
1016 * PrettyPatch/PrettyPatch.rb:
1018 2010-12-31 Adam Barth <abarth@webkit.org>
1020 Rubber-stamped by Eric Seidel.
1022 Move SunSpider into PerformanceTests
1023 https://bugs.webkit.org/show_bug.cgi?id=51769
1025 Update list of top-level open-source directories.
1027 * PrettyPatch/PrettyPatch.rb:
1029 2010-12-26 Adam Barth <abarth@webkit.org>
1031 Reviewed by Eric Seidel.
1033 Move autotools into Sources
1034 https://bugs.webkit.org/show_bug.cgi?id=51630
1036 * PrettyPatch/PrettyPatch.rb:
1037 - Remove reference to non-existant autotools directory.
1039 2010-12-26 Adam Barth <abarth@webkit.org>
1041 Reviewed by Eric Seidel.
1043 Move cmake into Sources
1044 https://bugs.webkit.org/show_bug.cgi?id=51631
1046 * PrettyPatch/PrettyPatch.rb:
1048 2010-12-23 Adam Barth <abarth@webkit.org>
1050 Rubber-stamped by Eric Seidel.
1052 Move JavaScriptGlue into Sources
1053 https://bugs.webkit.org/show_bug.cgi?id=51583
1055 PrettyPatch keeps a list of the top-level directories that exist in
1058 * PrettyPatch/PrettyPatch.rb:
1060 2010-12-20 Adam Barth <abarth@webkit.org>
1062 One more tweak caused by moving the web sites around. I had this
1063 change in my patch originally, but I missed it because I had to use
1064 server-side svn move commands to move the bulk of the web site files.
1066 * PrettyPatch/PrettyPatch.rb:
1068 2010-12-18 Adam Barth <abarth@webkit.org>
1070 Reviewed by Sam Weinig.
1072 Move WebKitExamplePlugins to Examples
1073 https://bugs.webkit.org/show_bug.cgi?id=51291
1075 * PrettyPatch/PrettyPatch.rb:
1077 2010-12-17 Dan Bernstein <mitz@apple.com>
1079 Reviewed by Simon Fraser.
1081 Rename WebKitTools to Tools
1082 https://bugs.webkit.org/show_bug.cgi?id=49861
1084 * PrettyPatch/PrettyPatch.rb:
1085 * committers-autocomplete.js:
1087 2010-12-17 Ojan Vafai <ojan@chromium.org>
1089 Increment psuedo-version number to avoid pulling cached version.
1091 * PrettyPatch/PrettyPatch.rb:
1093 2010-12-17 Ojan Vafai <ojan@chromium.org>
1095 Speculative fix for the code review tool in Firefox.
1096 Fixes a JS error and makes the status bubble mostly work
1097 if postMessage is not supported.
1099 * PrettyPatch/PrettyPatch.rb:
1102 2010-12-15 Ojan Vafai <ojan@chromium.org>
1104 Reviewed by Adam Barth.
1106 size status bubble to it's contents on the code review page
1107 https://bugs.webkit.org/show_bug.cgi?id=51142
1109 * PrettyPatch/PrettyPatch.rb:
1112 2010-12-15 Ojan Vafai <ojan@chromium.org>
1114 Reviewed by Adam Barth.
1116 fix goofups from r74142 and r74130
1117 https://bugs.webkit.org/show_bug.cgi?id=51146
1119 Accidentally shrank the inline comment boxes and made
1120 the toolbar not show up when there were image diffs.
1122 * PrettyPatch/PrettyPatch.rb:
1125 2010-12-14 Ojan Vafai <ojan@chromium.org>
1127 Reviewed by Adam Barth.
1129 add ability to view for file context to the review tool
1130 https://bugs.webkit.org/show_bug.cgi?id=51057
1132 At the beginning/end of each file diff and between each
1133 hunk add links to expand the context. For now it grabs the
1134 tip of tree version of the file and tries to apply the diff
1135 to that file. If it can't apply, then it gives up as we
1136 wouldn't want to show the wrong lines of context.
1138 In the future, we can consider adding the upload svn revision
1139 to the diff itself, then we could fallback to the file at that
1140 revision if tip of tree doesn't apply.
1142 * PrettyPatch/PrettyPatch.rb:
1145 2010-12-08 Ojan Vafai <ojan@chromium.org>
1147 Reviewed by Adam Barth.
1149 [reviewtool] should always show overall comments text box
1150 https://bugs.webkit.org/show_bug.cgi?id=45870
1152 * PrettyPatch/PrettyPatch.rb:
1155 2010-12-04 Patrick Gansterer <paroga@webkit.org>
1157 Reviewed by Adam Barth.
1159 Increase size of status bubbles
1160 https://bugs.webkit.org/show_bug.cgi?id=50496
1162 The current available space isn't enough to display all
1163 pending results including position in the queue.
1165 * PrettyPatch/PrettyPatch.rb:
1167 2010-12-04 Patrick Gansterer <paroga@webkit.org>
1169 Reviewed by Adam Barth.
1171 Increase size of status bubbles
1172 https://bugs.webkit.org/show_bug.cgi?id=50496
1174 The current available space isn't enough to display all
1175 pending results including position in the queue.
1177 * template/en/custom/attachment/edit.html.tmpl:
1178 * template/en/custom/attachment/list.html.tmpl:
1179 * template/en/custom/attachment/reviewform.html.tmpl:
1181 2010-11-08 Adam Barth <abarth@webkit.org>
1183 Update help text to match behavior change.
1187 2010-11-08 Adam Barth <abarth@webkit.org>
1189 Reviewed by Eric Seidel.
1191 Restore normal meaning of double-click on patch review page?
1192 https://bugs.webkit.org/show_bug.cgi?id=47641
1194 After this patch, you need to click on the line numbers to add a
1197 * PrettyPatch/PrettyPatch.rb:
1200 2010-10-09 Adam Barth <abarth@webkit.org>
1202 Reviewed by Alexey Proskuryakov.
1204 Exception in committers-autocomplete in Firefox
1205 https://bugs.webkit.org/show_bug.cgi?id=47456
1207 Remove dependency on a WebKit-only quirk. IMHO, this quirk is bad for
1208 the long-term health of the web, but that's a discussion for another
1211 * committers-autocomplete.js:
1213 2010-10-08 Adam Barth <abarth@webkit.org>
1215 Reviewed by Oliver Hunt.
1217 Bugmail for new attachments should link to the reviewtool
1218 https://bugs.webkit.org/show_bug.cgi?id=47440
1220 As requested by olliej himself. This patch was constructed by pure
1221 reason. I have no way to actually run this code.
1223 * Bugzilla/BugMail.pm:
1225 2010-09-28 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1227 Reviewed by Csaba Osztrogonác.
1229 Convert verbatim unicode values in comitter names to characters
1231 * committers-autocomplete.js:
1233 2010-09-24 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1235 Reviewed by Csaba Osztrogonác.
1237 Support Unicode-strings in committers-autocomplete script
1239 * committers-autocomplete.js:
1241 2010-09-22 Adam Barth <abarth@webkit.org>
1243 Reviewed by John Sullivan.
1245 New review-page design doesn't include name of reviewer
1246 https://bugs.webkit.org/show_bug.cgi?id=46271
1248 * PrettyPatch/PrettyPatch.rb:
1251 2010-09-22 Adam Barth <abarth@webkit.org>
1255 * PrettyPatch/PrettyPatch.rb:
1257 2010-09-22 Adam Barth <abarth@webkit.org>
1259 Reviewed by Eric Seidel.
1261 Add link to bug to review page
1262 https://bugs.webkit.org/show_bug.cgi?id=46192
1264 To make room for the link, I moved the help text to the top of the page
1265 and tweaked the language to help folks discover that you can select
1266 context using the line numbers.
1268 Also, move more text to sans-serif since that fits in better with the
1271 * PrettyPatch/PrettyPatch.rb:
1274 2010-09-21 Adam Barth <abarth@webkit.org>
1278 [reviewtool] Publish button doesn't work
1279 https://bugs.webkit.org/show_bug.cgi?id=46168
1281 Darin's recent patch had a runtime error. Sadly, we don't have any
1282 testing for this code.
1286 2010-09-20 Darin Adler <darin@apple.com>
1288 Reviewed by Adam Barth.
1290 Add Preview button and link to bug to patch review bar
1291 https://bugs.webkit.org/show_bug.cgi?id=46153
1293 * PrettyPatch/PrettyPatch.rb: Bump version number to make caches happy.
1294 * code-review.js: Added Preview button and link to bug.
1296 2010-09-19 Adam Barth <abarth@webkit.org>
1298 Reviewed by Eric Seidel.
1300 [reviewtool] Publish button should actually publish the review comments
1301 https://bugs.webkit.org/show_bug.cgi?id=46074
1303 Instead of showing the confirmation lightbox, the Publish button now
1304 publishes the comments directly. If there's demand for a "Preview"
1305 button, we can find a way to add that feature.
1309 2010-09-19 Adam Barth <abarth@webkit.org>
1311 Reviewed by Eric Seidel.
1313 Move reviewtool to action=review
1314 https://bugs.webkit.org/show_bug.cgi?id=46071
1316 This patch removes the old Review Patch screen and moves the new
1317 reviewtool from Pretty Diff to Review Patch.
1322 2010-09-19 Adam Barth <abarth@webkit.org>
1324 Review tool UI tweak. This patch lengthens the status bubbles so all
1325 the bubble fit (even when they have numbers inside).
1327 * PrettyPatch/PrettyPatch.rb:
1329 2010-09-19 Dan Bernstein <mitz@apple.com>
1331 Reviewed by Anders Carlsson.
1335 * code-review.js: Changed the label of the OK button from Ok to OK.
1337 2010-09-15 Adam Barth <abarth@webkit.org>
1341 Only show the review-in-context link if there are contextual comments.
1345 2010-09-15 Adam Barth <abarth@webkit.org>
1347 Reviewed by Eric Seidel.
1349 [reviewtool] Show the status bubbles on the toolbar
1350 https://bugs.webkit.org/show_bug.cgi?id=45861
1352 * PrettyPatch/PrettyPatch.rb:
1355 2010-09-15 Adam Barth <abarth@webkit.org>
1357 Reviewed by Eric Seidel.
1359 [reviewtool] Allow setting review and commit-queue flags from main review screen
1360 https://bugs.webkit.org/show_bug.cgi?id=45860
1362 This patch adds drop down menus for adjusting the review and
1363 commit-queue flags from the main review screen. These controls don't
1364 appear immediately because we need to read the state of the flags off
1367 It's a slight sadness that bugzilla doesn't have a clean way of
1368 identifying which select control is associated with a given flag. The
1369 flags seem to have some sort of id, but it's unclear to me how to map
1370 that id back to a notion of "review" or "commit-queue". Instead, we
1371 look for some magic strings in the title. I'm sure this will come back
1372 to bit us at some point, but I'm not sure what to do that's better.
1373 (The webkitpy solution to this problem is to assume that the flags are
1374 in a given order, but this seems better.)
1376 * PrettyPatch/PrettyPatch.rb:
1377 - Bump version number to bust throuh caches.
1380 2010-09-15 Adam Barth <abarth@webkit.org>
1382 Reviewed by Eric Seidel.
1384 [reviewtool] Comments should quote previous comments on the same line
1385 https://bugs.webkit.org/show_bug.cgi?id=45847
1387 Now when you reply to a previous comment, the tool will quote the
1388 previous comment in the bugs.webkit.org post. This makes it eaiser for
1389 folks following along in email to understand the discussion.
1391 While I was editing this code, I also cleaned up some of the whitespace
1392 handling in comments.
1396 2010-09-15 Adam Barth <abarth@webkit.org>
1398 Minor UI tweak to the review tool. We want to display newlines in
1399 previous and frozen comments instead of collapsing them.
1401 * PrettyPatch/PrettyPatch.rb:
1403 2010-09-14 Adam Barth <abarth@webkit.org>
1405 Reviewed by Eric Seidel.
1407 bugs.webkit.org should autocomplete WebKit Committers and Reviewers
1408 https://bugs.webkit.org/show_bug.cgi?id=45799
1410 This patch implements an autocomplete dropdown that helps users type
1411 the names of WebKit committers and reviewers. The script grabs the
1412 data from SVN now that wms set up CORS for http://svn.webkit.org.
1413 Security technology for the win.
1415 This script is based on (well, essentially copied from) the popular
1416 autocomplete extension:
1418 https://chrome.google.com/extensions/detail/olaabhcgdogcbcoiolomlcodkngnemfb
1420 I asked Ojan, and said he was fine licensing the code under the BSD
1421 license. I'm not sure how the patch interacts with the extension, but
1422 we can retire the extension if they interact poorly.
1424 * committers-autocomplete.js: Added.
1425 * template/en/default/global/footer.html.tmpl:
1426 - Add the script to every page on bugs.webkit.org
1428 2010-09-14 Adam Barth <abarth@webkit.org>
1430 Add a license block to the reviewtool. I should have added this from
1431 the start. According to the SVN log, I'm the only one to have ever
1436 2010-09-07 Adam Barth <abarth@webkit.org>
1438 Minor tweaks to the reviewtool UI.
1440 Rename Cancel to Discard to make it more clear what the button does.
1441 Also, move the style declaration for the focus ring later in the sheet
1444 * PrettyPatch/PrettyPatch.rb:
1447 2010-09-06 Adam Barth <abarth@webkit.org>
1449 Small UI tweak to the reviewtool. Make the Ok/Cancel buttons a bit
1452 * PrettyPatch/PrettyPatch.rb:
1454 2010-09-06 Adam Barth <abarth@webkit.org>
1456 Reviewed by Eric Seidel.
1458 [reviewtool] Add a quick animation for opening/closing comment boxes
1459 https://bugs.webkit.org/show_bug.cgi?id=45278
1461 The 200ms animation slides in and out the line-by-line comment box.
1465 2010-09-06 Adam Barth <abarth@webkit.org>
1467 Reviewed by Eric Seidel.
1469 [reviewtool] Add a field for overall comments
1470 https://bugs.webkit.org/show_bug.cgi?id=45273
1472 This patch does a couple logically separate things that could be
1473 separated into smaller patches:
1475 1) This patch adds an "overall comments" field where you can enter
1476 overall comments about the patch. These comments appear at the top
1477 of the bugzilla posting. Currently, these aren't redisplayed when
1478 viewing the patch, but I plan to add that in a future patch.
1480 2) This patch renames some of the CSS classes to more consistently
1481 follow the camelCase style that PrettyPatch uses.
1483 3) This patch moves the "prepare comments" button to the left of the
1484 toolbar and renames is to "publish comments". This makes more sense
1485 when you scroll to the bottom of the page and enter in some overall
1488 4) When you attempt to add a comment to a line that already has a
1489 "frozen" comment, we now unfreeze the comment instead of doing
1490 nothing. The old behavior was kind of frustrating if you didn't
1491 know that you could unfreeze a comment by clicking on it.
1493 * PrettyPatch/PrettyPatch.rb:
1497 2010-09-06 Adam Barth <abarth@webkit.org>
1499 [reviewtool] Tweak the ok button to cancel the comment if the comment
1500 is empty. Previously we would get into a bad state where a line had a
1501 comment but there was no longer any way to access it.
1505 2010-09-06 Adam Barth <abarth@webkit.org>
1507 Reviewed by Eric Seidel.
1509 [reviewtool] Add an "ok" button that collapses review comments
1510 https://bugs.webkit.org/show_bug.cgi?id=45255
1512 Many folks (including myself) are too trigger-happy with the "delete"
1513 button that we end up deleting perfectly good review comments. This
1514 patch adds an "ok" button to absorb these clicks (and renames "delete"
1515 to "cancel"). When you click the ok button, the comment becomes
1516 non-editable and the box shrinks to fit the text. You can click the
1517 text to get back to the editable version.
1521 2010-08-31 Adam Barth <abarth@webkit.org>
1523 Reviewed by Eric Seidel.
1525 [reviewtool] Make it easy to scroll through review comments
1526 https://bugs.webkit.org/show_bug.cgi?id=45002
1528 This patch lets you scroll through review comments using "n" (for next)
1529 and "p" (for previous). It also attributes comments to their authors.
1531 * PrettyPatch/PrettyPatch.rb:
1534 2010-08-31 Adam Barth <abarth@webkit.org>
1536 Reviewed by Eric Seidel.
1538 [reviewtool] Show previous comments inline in diff
1539 https://bugs.webkit.org/show_bug.cgi?id=44977
1541 This patch adds basic support for showing previous comments inline in
1542 the diff. We crawl the bugs.webkit.org comments about this attachment
1543 and extract comments related to specific lines. We then show the
1544 comments inline in the diff.
1546 This part of the tool needs a bunch of polish, but this at least is a
1547 starting point for further work.
1549 * PrettyPatch/PrettyPatch.rb:
1552 2010-08-31 Adam Barth <abarth@webkit.org>
1554 Reviewed by Eric Seidel.
1556 [reviewtool] Allow reviewer to select lines of context by dragging over the line numbers
1557 https://bugs.webkit.org/show_bug.cgi?id=44936
1559 * PrettyPatch/PrettyPatch.rb:
1560 - Add a version number to bust through bugs.webkit.org's aggressive
1564 2010-08-30 Adam Barth <abarth@webkit.org>
1566 Reviewed by Eric Seidel.
1568 [review tool] Let reviewer select how much context to show in snippet
1569 https://bugs.webkit.org/show_bug.cgi?id=44905
1571 We now highlight the context for a comment in yellow on the left (where
1572 the line numbers are). Clicking a line number expands or contracts the
1573 amount of context, as appropriate. Informal user testing indicates
1574 that we might want to support drag as well.
1576 This patch also changes the "open a comment box here" action to
1577 double-click to avoid issues with mis-clicks.
1579 * PrettyPatch/PrettyPatch.rb:
1582 2010-08-29 Adam Barth <abarth@webkit.org>
1584 Attempt to make Sam's life easier by not opening a comment text field
1585 if there's a selection. This should make it easier to copy/paste text
1586 out of the diff without accidentally opening comment boxes.
1590 2010-08-29 Adam Barth <abarth@webkit.org>
1592 Turns out we're supposed to use find instead of children here.
1596 2010-08-29 Adam Barth <abarth@webkit.org>
1598 Reviewed by Eric Seidel.
1600 Awesomify pretty-diff based review tool
1601 https://bugs.webkit.org/show_bug.cgi?id=44835
1603 This patch replaces the existing inline comment feature with a new
1604 implementation. Hopefully the new implementation is more awesome.
1605 It's not 100% done yet, but I'd like to get this version out there to
1608 Unlike the previous version this version works with the "Formatted
1609 Diff" link instead of the "Review Patch" link. Hopefully that will
1610 avoid interfering with folks who like the old style review.
1612 * PrettyPatch/PrettyPatch.rb:
1613 * code-review.js: Added.
1614 * prototype.js: Removed.
1616 2010-08-19 Tony Chang <tony@chromium.org>
1618 Reviewed by Adam Barth.
1620 webkit-patch barfed on upload with a new image test result
1621 https://bugs.webkit.org/show_bug.cgi?id=39097
1623 * PrettyPatch/PrettyPatch.rb: don't use full path to git
1625 2010-08-19 Tony Chang <tony@chromium.org>
1627 Unreviewed, setting svn:eol-style native on ChangeLog.
1629 2010-08-19 Tony Chang <tony@chromium.org>
1631 Unreviewed. Just removing \r's from ChangeLog.
1633 2010-08-02 Adam Roben <aroben@apple.com>
1635 Tell the patch prettifier about some (not so) new directories
1637 * PrettyPatch/PrettyPatch.rb: Added WebKit2, autotools, and cmake
1640 2010-07-27 Joseph Pecoraro <joepeck@webkit.org>
1642 Reviewed by David Kilzer.
1644 Provide a Helpful Link for Web Inspector Bugs in Bugzilla
1645 https://bugs.webkit.org/show_bug.cgi?id=43065
1647 * template/en/custom/global/choose-product.html.tmpl: Added. Explicitly added a link for the Web Inspector.
1649 2010-06-09 Julie Parent <jparent@chromium.org>
1651 Reviewed by David Kilzer.
1653 Bugzilla: Don't send mail for cancel/deny/granted for in-rietveld.
1655 https://bugs.webkit.org/show_bug.cgi?id=40345
1659 2010-05-17 Julie Parent <jparent@chromium.org>
1661 Reviewed by Ojan Vafai.
1663 Rietveld review page should dedicate more space to Rietveld, less to high level comments form.
1665 https://bugs.webkit.org/show_bug.cgi?id=39244
1667 * template/en/custom/attachment/reviewform.html.tmpl:
1668 Delete a random BR amongst the hidden elements that was causing extra whitespace.
1669 * template/en/custom/attachment/rietveldreview.html.tmpl:
1670 Increase size of Rietveld frame to 80%, from 60%.
1672 2010-05-14 Julie Parent <jparent@chromium.org>
1674 Reviewed by Ojan Vafai.
1676 Bugzilla: Only show "Rietveld Review" link when in-rietveld is set to +.
1678 https://bugs.webkit.org/show_bug.cgi?id=39141
1680 * template/en/custom/attachment/list.html.tmpl:
1682 2010-05-13 Julie Parent <jparent@chromium.org>
1684 Reviewed by David Kilzer.
1686 Bugzilla: Don't send mail if the only change is to the in-rietveld flag.
1688 https://bugs.webkit.org/show_bug.cgi?id=39090
1690 * Bugzilla/BugMail.pm:
1692 2010-05-12 Julie Parent <jparent@chromium.org>
1694 Reviewed by Ojan Vafai.
1696 Hide the in-rietveld flag in the UI. It is only used only by tooling and shouldn't clutter the UI.
1697 https://bugs.webkit.org/show_bug.cgi?id=39024
1699 * template/en/custom/attachment/list.html.tmpl:
1700 Removes this flag entirely from the UI, not needed on this page.
1701 * template/en/custom/flag/list.html.tmpl: Added.
1702 Copied from template/en/default/flag/list.html.tmpl with only changes inside the if WEBKIT_CHANGES section.
1703 Hides the flag rather than removing it completely, so tools can still interact with it.
1705 2010-05-12 Julie Parent <jparent@chromium.org>
1707 Reviewed by David Kilzer.
1709 Adds support for Rietveld reviews. When there is an associated
1710 Rietveld id for a patch, adds a link to do a Rietveld review instead.
1712 https://bugs.webkit.org/show_bug.cgi?id=38143
1715 Added support for handling action=rietveldreview.
1716 * template/en/custom/attachment/list.html.tmpl:
1717 Adds a link to use rietveld review iff the in_rietveld flag is set.
1718 * template/en/custom/attachment/reviewform.html.tmpl:
1719 Detects if we are in rietveld review mode due to query string paramter,
1720 and customizes the review form slightly:
1721 - Changes text describing comment field.
1722 - Comment field does not include quoted patch.
1723 - Submit button fetches from Rietveld instead of just submitting.
1724 * template/en/custom/attachment/rietveldreview.html.tmpl: Added.
1725 New template for rietveldreview mode. Hosts the rietveld frame in the
1726 top and the regular comments form in the bottom.
1727 Uses postMessage to communicate with Rietveld frame.
1729 2010-05-08 Chris Jerdonek <cjerdonek@webkit.org>
1731 Reviewed by Maciej Stachowiak.
1733 Allow long comment lines to wrap to the window width instead
1734 of to 80 characters.
1736 https://bugs.webkit.org/show_bug.cgi?id=37792
1738 * Bugzilla/Constants.pm:
1739 - Introduced a new constant COMMENT_COLS_WRAP to replace COMMENT_COLS
1740 inside the wrap_comment() subroutine. The new constant effectively
1741 disables text wrapping by increasing the value used in wrap_comment()
1742 from 80 characters to a very large value (8000).
1744 - Replaced COMMENT_COLS with COMMENT_COLS_WRAP inside wrap_comment().
1745 * skins/custom/global.css:
1747 - Eliminate the width styling on comments to allow long lines
1748 to wrap at the window width.
1749 (.bz_comment_text > span.quote):
1750 - Inherit the "white-space" property. This prevents long quoted
1751 lines in comments from causing non-quoted lines to extend beyond
1754 2010-04-22 Adam Barth <abarth@webkit.org>
1756 Reviewed by Darin Adler.
1758 The new review tools shouldn't clear the comment box automatically
1759 https://bugs.webkit.org/show_bug.cgi?id=38004
1761 Instead, we now have a button for doing that explicitly. If people
1762 like this tool, we can look at fancier solutions.
1764 Also, tried to make the tool work on the edit page as well as the review page.
1766 * PrettyPatch/PrettyPatch.rb:
1768 2010-04-22 Adam Barth <abarth@webkit.org>
1770 Unreviewed. Turns out we need to do more escaping because Ruby was
1771 explanding our newlines, creating a syntax error.
1773 * PrettyPatch/PrettyPatch.rb:
1775 2010-04-22 Adam Barth <abarth@webkit.org>
1777 Reviewed by Darin Adler.
1779 Hack up PrettyDiff to allow line-by-line comments
1780 https://bugs.webkit.org/show_bug.cgi?id=37886
1782 Admittedly a bit of a hack, this is a basic line-by-line editor we can
1783 play with thanks to Andrew Scherkus. It's meant to integrate with the
1784 "review" page at bugs.webkit.org.
1786 I changed a few things from Andrew's original version:
1787 1) Trigger text boxes on single click to make iPhone/iPad reviewing
1789 2) Clear the main text box on load.
1790 3) Reference a version of prototype.js on bugs.webkit.org.
1792 * PrettyPatch/PrettyPatch.rb:
1793 * prototype.js: Added.
1795 2010-02-22 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1797 Reviewed by Maciej Stachowiak.
1799 Don't reset the assignee back to default on component change
1801 https://bugs.webkit.org/show_bug.cgi?id=35236
1803 There's a risk of reseting a valid assignee for example when
1804 triaging a bug. All components in WebKit have the default
1805 assignee set to webkit-unassigned@webkit.org so this should
1806 not cause problems for people relying on this functionality.
1808 * template/en/custom/bug/edit.html.tmpl:
1810 2010-01-22 Janusz Lewandowski <lew21@xtreeme.org>
1812 Reviewed by Maciej Stachowiak.
1814 run-webkit-tests fails on Ruby 1.9
1815 https://bugs.webkit.org/show_bug.cgi?id=33554
1816 inject does not work with strings any more, so BugsSite/PrettyPatch/PrettyPatch.rb prints lots of errors.
1818 * PrettyPatch/PrettyPatch.rb:
1820 2010-01-20 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
1822 Reviewed by Adam Barth.
1824 Adjust height of status-bubbles to prevent them being cut.
1826 * template/en/custom/attachment/edit.html.tmpl:
1827 * template/en/custom/attachment/list.html.tmpl:
1828 * template/en/custom/attachment/reviewform.html.tmpl:
1830 2010-01-08 David Kilzer <ddkilzer@apple.com>
1832 <http://webkit.org/b/33410> Fix "View Plain Diff"/"View Formatted Diff" button
1834 Reviewed by Adam Barth.
1836 This button was broken during a previous Bugzilla upgrade after
1837 changes were made to the names of objects exposed on templates.
1839 * template/en/custom/attachment/reviewform.html.tmpl: Changed
1840 attachid to attachment.id and ispatch to attachment.ispatch.
1841 Also tweaked the format to use 4 table columns instead of 5.
1843 2010-01-08 David Kilzer <ddkilzer@apple.com>
1845 Included UNCONFIRMED bugs by default in advanced search query
1847 Rubber-stamped by Alexey Proskuryakov.
1849 * data/params: Prepended 'bug_status=UNCONFIRMED&' to
1850 'defaultquery' parameter.
1852 2010-01-08 David Kilzer <ddkilzer@apple.com>
1854 FIX: Make patch status appear on reviewform.html.tmpl
1856 * template/en/custom/attachment/reviewform.html.tmpl: Check
1857 attachment.ispatch (not just ispatch) when deciding whether
1858 to display patch status. Also update layout a bit.
1860 2010-01-08 David Kilzer <ddkilzer@apple.com>
1862 Update data/params parameters
1864 * data/params: Updated 'timezone' to turn off DST. Updated
1865 'usebugaliases' and 'usevotes' to turn them off.
1867 2010-01-08 Adam Barth <abarth@webkit.org>
1869 Reviewed by Darin Adler.
1871 Show patch status in bugs.webkit.org
1872 https://bugs.webkit.org/show_bug.cgi?id=33368
1874 This patch adds an iframe to the show_bug page and the edit attachment
1875 page that displays whether the attachment passed the various bots.
1877 * template/en/custom/attachment/edit.html.tmpl:
1878 * template/en/custom/attachment/list.html.tmpl:
1879 * template/en/custom/attachment/reviewform.html.tmpl:
1881 2009-12-07 Shinichiro Hamaji <hamaji@chromium.org>
1883 Reviewed by David Kilzer.
1885 Bugzilla should show images in git patches
1886 https://bugs.webkit.org/show_bug.cgi?id=31395
1888 Attempt to go r51748 again using --directory option of git-apply.
1890 * PrettyPatch/PrettyPatch.rb:
1892 2009-12-06 Shinichiro Hamaji <hamaji@chromium.org>
1894 Unreviewed. Revert r51748.
1896 Bugzilla should show images in git patches
1897 https://bugs.webkit.org/show_bug.cgi?id=31395
1899 * PrettyPatch/PrettyPatch.rb:
1901 2009-12-06 Shinichiro Hamaji <hamaji@chromium.org>
1903 Reviewed by David Kilzer.
1905 Bugzilla should show images in git patches
1906 https://bugs.webkit.org/show_bug.cgi?id=31395
1908 Show images in git patches using git-apply.
1910 * PrettyPatch/PrettyPatch.rb:
1912 2009-10-23 Eric Seidel <eric@webkit.org>
1914 Reviewed by Adam Roben.
1916 PrettyPatch should show images even when they have the wrong mime type
1917 https://bugs.webkit.org/show_bug.cgi?id=29506
1919 * PrettyPatch/PrettyPatch.rb:
1921 2009-10-17 Alexey Proskuryakov <ap@apple.com>
1923 Reviewed by Eric Carlson.
1925 https://bugs.webkit.org/show_bug.cgi?id=30470
1926 Make marking a bug as duplicate easier
1928 * js/field.js: (setResolutionToDuplicate): Focus the edit field, too.
1930 2009-10-16 Alexey Proskuryakov <ap@apple.com>
1932 Reviewed by Mark Rowe.
1934 https://bugs.webkit.org/show_bug.cgi?id=30470
1935 Make marking a bug as duplicate easier
1937 * js/field.js: (setResolutionToDuplicate): Show edit field right away, don't make the user
1940 2009-09-09 David Kilzer <ddkilzer@apple.com>
1942 Update data/params parameters
1944 * data/params: Updated 'attachment_base' parameter for secure
1945 attachments. Updated 'mybugstemplate' parameter to search for
1946 bugs in UNCONFIRMED, ASSIGNED and REOPENED status in addition to
1949 2009-08-11 David Kilzer <ddkilzer@apple.com>
1951 Updated data/params parameter
1953 * data/params: Updated 'loginnetmask' parameter to allow users
1954 to choose whether their cookies are restricted to a single IP
1957 2009-07-07 David Kilzer <ddkilzer@apple.com>
1959 Updated BugsSite with local changes on server
1961 The new files were created by checksetup.pl during the upgrade
1962 to Bugzilla 3.2.3. The rest are self-explanatory.
1964 * data: Added "bugzilla-update.xml" to svn:ignore.
1965 * data/attachments: Added "groups.*" to svn:ignore.
1966 * data/params: Updated for a few changed parameters.
1968 * lib/.htaccess: Added.
1969 * skins/contrib/Dusk/IE-fixes.css: Added.
1970 * skins/contrib/Dusk/admin.css: Added.
1971 * skins/contrib/Dusk/create_attachment.css: Added.
1972 * skins/contrib/Dusk/dependency-tree.css: Added.
1973 * skins/contrib/Dusk/duplicates.css: Added.
1974 * skins/contrib/Dusk/editusers.css: Added.
1975 * skins/contrib/Dusk/help.css: Added.
1976 * skins/contrib/Dusk/index.css: Added.
1977 * skins/contrib/Dusk/panel.css: Added.
1978 * skins/contrib/Dusk/params.css: Added.
1979 * skins/contrib/Dusk/release-notes.css: Added.
1980 * skins/contrib/Dusk/show_bug.css: Added.
1981 * skins/contrib/Dusk/show_multiple.css: Added.
1982 * skins/contrib/Dusk/summarize-time.css: Added.
1983 * skins/contrib/Dusk/voting.css: Added.
1984 * skins/contrib/Dusk/yui: Added.
1985 * skins/contrib/Dusk/yui/calendar.css: Added.
1986 * skins/custom/IE-fixes.css: Added.
1987 * skins/custom/admin.css: Added.
1988 * skins/custom/buglist.css: Added.
1989 * skins/custom/create_attachment.css: Added.
1990 * skins/custom/dependency-tree.css: Added.
1991 * skins/custom/duplicates.css: Added.
1992 * skins/custom/editusers.css: Added.
1993 * skins/custom/help.css: Added.
1994 * skins/custom/panel.css: Added.
1995 * skins/custom/params.css: Added.
1996 * skins/custom/release-notes.css: Added.
1997 * skins/custom/show_bug.css: Added.
1998 * skins/custom/show_multiple.css: Added.
1999 * skins/custom/summarize-time.css: Added.
2000 * skins/custom/voting.css: Added.
2001 * skins/custom/yui: Added.
2002 * skins/custom/yui/calendar.css: Added.
2004 2009-07-03 David Kilzer <ddkilzer@apple.com>
2006 Bug 26958: Change edit link to review link in request messages
2008 <https://bugs.webkit.org/show_bug.cgi?id=26958>
2010 Reviewed by Dan Bernstein.
2012 * template/en/custom/request/email.txt.tmpl: Copied from BugsSite/template/en/default/request/email.txt.tmpl.
2013 Changed link from "action=edit" to "action=review".
2015 2009-07-03 David Kilzer <ddkilzer@apple.com>
2017 Bug 26950: Make the summary and alias fields support click-to-edit
2018 <https://bugs.webkit.org/show_bug.cgi?id=26950>
2020 Reviewed by Maciej Stachowiak.
2022 Original patch by Maciej Stachowiak.
2025 (hideEditableField): Updated to add click event listeners to the
2026 alias and short description elements to make them easier to
2027 edit. Renamed field_id parameter to field2_id (short
2028 description id) and added a field1_id parameter (alias id).
2029 (showEditableField): If a third parameter is passed in the
2030 ContainerInputArray parameter, use it to find the element to
2031 focus. Otherwise, fall back to the original behavior of
2032 focusing the first input field.
2033 (hideAliasAndSummary): Changed to pass the id for the alias
2034 element to hideEditableField().
2036 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
2038 Config file for contrib/recode.pl when upgrading bugs.webkit.org
2040 Current as of midday on Wednesday, July 1, 2009.
2042 * contrib/recode-overrides.txt: Added.
2044 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
2046 Workaround for WebKit Bug 9630 when running contrib/recode.pl
2048 A number of WebKit nightly builds included Bug 9630 which caused
2049 non-breaking space characters (0xA0) to be submitted within the
2050 content of textarea elements.
2052 * contrib/recode.pl: To work around these 0xA0 characters, try
2053 an encoding of cp1252 and use it if it works.
2055 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
2057 Don't print "Failed to guess" warning if an override is available
2059 * contrib/recode.pl: Check that %overrides does NOT contain a
2060 key matching the current digest before printing out the warning
2061 about a failed charset guess.
2063 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
2065 Added --[no-]truncate switch to contrib/recode.pl
2067 * contrib/recode.pl: Added --[no-]truncate switch to make
2068 debugging of failed charset guessing easier. Often times the
2069 illegal character was truncated in the output.
2071 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
2073 Changed Perl scripts to use #!/usr/bin/env perl
2075 perl -pi -e 's@#\!/usr/bin/perl@#\!/usr/bin/env perl@' *.cgi *.pl */*.pl
2077 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
2079 Replace Bugzilla favicon with webkit.org favicon
2081 * favicon.ico: Removed.
2082 * images/favicon.ico: Replaced. Copied from favicon.ico.
2084 2009-07-02 David Kilzer <ddkilzer@webkit.org>
2086 Merged BugsSite to Bugzilla-3.2.3
2088 Updated to the latest-and-greatest stable version.
2090 2009-07-02 David Kilzer <ddkilzer@webkit.org>
2092 Merged BugsSite to Bugzilla-3.0.3
2094 Nothing to see here. Move along.
2096 2009-06-09 Eric Seidel <eric@webkit.org>
2098 Reviewed by Adam Roben.
2100 Add support for displaying added png files in PrettyPatch diffs
2101 https://bugs.webkit.org/show_bug.cgi?id=26210
2103 Currently this is SVN only (git-send-bugzilla patches exclude binary data)
2104 and only works for PNG files but could easily be made to work for other images as needed.
2106 * PrettyPatch/PrettyPatch.rb:
2108 2009-05-19 Eric Seidel <eric@webkit.org>
2110 Reviewed by Adam Roben.
2112 Make PrettyPatch understand quoted filenames in git diffs.
2113 https://bugs.webkit.org/show_bug.cgi?id=25881
2115 * PrettyPatch/PrettyPatch.rb:
2117 2009-05-15 Simon Fraser <simon.fraser@apple.com>
2119 Carrying forwards Darin Adler's rubber stamp
2121 Make the comment field wider too.
2123 * skins/custom/global.css:
2125 2009-05-14 Simon Fraser <simon.fraser@apple.com>
2127 Reviewed by Darin Adler
2129 Make the URL, Summary and Keyword fields wider to mitigate the
2130 effects of https://bugs.webkit.org/show_bug.cgi?id=25566 and make
2131 things generally better.
2133 * skins/custom/global.css:
2134 * template/en/custom/bug/edit.html.tmpl:
2136 2008-11-10 Darin Adler <darin@apple.com>
2138 - fix more of https://bugs.webkit.org/show_bug.cgi?id=21400
2139 "Edit" links for patches in comments, review queue, review emails
2140 should be replaced by "Review Patch" links
2142 * globals.pl: Fix cases that are automatically generated, such as links
2143 in comments in bugs.
2145 * template/en/custom/attachment/created.html.tmpl: Fix the link on the
2146 "I just created an attachment" page.
2148 * template/en/custom/request/queue.html.tmpl: Fix the link in the queue
2151 2008-11-10 Darin Adler <darin@apple.com>
2153 * template/en/default/request/queue.html.tmpl: Use review links instead
2154 of edit links in the review queue.
2156 2008-11-10 Darin Adler <darin@apple.com>
2158 * template/en/custom/request/email.txt.tmpl: Send review links instead
2159 of edit links when flags are set on a bug.
2161 2008-10-27 Darin Adler <darin@apple.com>
2163 * template/en/custom/attachment/reviewform.html.tmpl: Leave out the
2164 comment if it's untouched.
2166 2008-10-23 Adam Roben <aroben@apple.com>
2168 Fix Bug 21401: Comments field on "Review Patch" page should be
2169 initially filled with quoted patch
2171 <https://bugs.webkit.org/show_bug.cgi?id=21401>
2173 Reviewed by Dave Hyatt.
2176 (edit): Retrieve the attachment data from the database instead of just
2177 its length. When the attachment is a patch, create a quotedpatch
2178 template variable that contains the patch data with each line
2179 prepended with "> ".
2180 * template/en/custom/attachment/reviewform.html.tmpl:
2181 - Changed the comments field to have a monospace font
2182 - Added an "Enter comments below:" caption above the comments field
2183 to make it clearer that this is where comments should go, now that
2184 the comments field is not initially empty
2185 - Fill the comments field with the quoted patch
2187 2008-10-14 Adam Roben <aroben@apple.com>
2189 Fix Bug 21602: Bugzilla times out trying to display formatted diff for
2192 https://bugs.webkit.org/show_bug.cgi?id=21602
2194 Reviewed by Dave Kilzer.
2196 * PrettyPatch/PrettyPatch.rb:
2197 (PrettyPatch.BINARY_FILE_MARKER_FORMAT): Added.
2198 (PrettyPatch.FileDiff.initialize): If any of the lines in the diff
2199 are a binary file marker, mark this FileDiff as binary and stop trying
2200 to process the lines.
2201 (PrettyDiff.FileDiff.to_html): If we're binary, just print a string
2204 2008-10-02 Adam Roben <aroben@apple.com>
2206 * template/en/custom/attachment/reviewform.html.tmpl: Fix typo.
2208 2008-10-02 Adam Roben <aroben@apple.com>
2210 * template/en/custom/attachment/review.html.tmpl: Fix URLs
2212 2008-10-02 Adam Roben <aroben@apple.com>
2214 Fix Bug 21315: bugs.webkit.org should have a nicer patch review
2217 https://bugs.webkit.org/show_bug.cgi?id=21315
2219 Reviewed by Tim Hatcher.
2222 (top level): Added support for the "review" and "reviewform" actions.
2223 (sub edit): Accept the template name as a parameter. If no name is
2224 give, use "edit" as before.
2225 * template/en/custom/attachment/list.html.tmpl: Added a "Review Patch"
2226 link for all patch attachments.
2227 * template/en/custom/attachment/review.html.tmpl: Added. Simple
2228 <frameset> page to show the patch on the top and a comment form on the
2230 * template/en/custom/attachment/reviewform.html.tmpl: Added. Simple
2231 comment form for reviewing patches.
2233 2008-10-02 Adam Roben <aroben@apple.com>
2235 Remove references to some backup files I created when implementing
2236 PrettyPatch in Bugzilla
2238 Reviewed by Tim Hatcher.
2240 * attachment-aroben.cgi: Removed.
2241 * template/en/default/attachment/edit-aroben.html.tmpl: Removed.
2243 * template/en/custom/attachment/edit.html.tmpl: Removed an erroneous
2244 reference to attachment-aroben.cgi. attachment.cgi will work just
2247 2008-06-25 David Kilzer <ddkilzer@apple.com>
2249 Make PrettyPatch handle diffs with no Index or diff headers
2251 Part of Bug 19290: More patches not handled by PrettyPatch.rb
2252 <https://bugs.webkit.org/show_bug.cgi?id=19290>
2256 * PrettyPatch/PrettyPatch.rb:
2257 (PrettyPatch.DIFF_HEADER_FORMATS): Added regular expression to
2258 match on "+++ " lines for patches with no "Index" or "diff" header.
2259 (PrettyPatch.FileDiff.initialize): Look for filename on "+++ " line
2260 when the first line of a patch has no "Index" or "diff" header.
2261 (PrettyPatch.FileDiff.parse): Added haveSeenDiffHeader state
2262 variable to determine when no "Index" or "diff" header has been
2263 found, but a new patch has started with a "--- " line.
2265 2008-06-08 Dan Bernstein <mitz@apple.com>
2267 Reviewed by Adam Roben.
2269 - update trac URL in PrettyPatch
2271 * PrettyPatch/PrettyPatch.rb:
2273 2008-05-29 Adam Roben <aroben@apple.com>
2275 Update PrettyPatch directory list
2277 * PrettyPatch/PrettyPatch.rb:
2279 2008-05-28 Adam Roben <aroben@apple.com>
2281 Make PrettyPatch able to handle diffs taken from outside the WebKit
2284 Part of Bug 19290: More patches not handled by PrettyPatch.rb
2285 <https://bugs.webkit.org/show_bug.cgi?id=19290>
2287 Reviewed by David Kilzer.
2289 * PrettyPatch/PrettyPatch.rb:
2290 (PrettyPatch.find_url_and_path): Added. Searches the file path from
2291 the bottom up looking for a directory that exists in the source tree.
2292 (PrettyPatch.linkifyFilename): Changed to call find_url_and_path.
2294 2008-05-28 Adam Roben <aroben@apple.com>
2296 Print exceptions from PrettyPatch to stdout
2298 This will make it much easier to debug problems with PrettyPatch,
2299 since we'll be able to see the exceptions in the browser.
2301 Reviewed by Sam Weinig.
2303 * PrettyPatch/prettify.rb: Added a --html-exceptions option, which
2304 will print exceptions to stdout as HTML.
2305 * attachment.cgi: Changed to pass --html-exceptions to prettify.rb.
2307 2008-04-26 David Kilzer <ddkilzer@apple.com>
2309 Removed temp files and added appropriate svn:ignore properties.
2311 Rubber-stamped by Mark Rowe.
2313 * data: Added svn:ignore property for "versioncache" and "versioncache.*" files.
2315 * data/template: Added svn:ignore property for "template" subdirectory.
2316 * data/template/template: Removed precompiled template subdirectory.
2318 * data/versioncache: Removed.
2319 * data/versioncache.*: Removed backup versioncache files.
2321 * data/webdot: Added svn:ignore property for "*.dot" files.
2322 * data/webdot/*.dot: Removed cached webdot files.
2324 2008-04-08 Adam Roben <aroben@apple.com>
2326 Combine :equal operations with the following operation if they are
2327 fewer than 3 characters long
2329 This keeps us from showing lots of small changes on long lines, just
2330 because some letters happened to be the same.
2333 http://code.google.com/p/reviewboard/source/browse/trunk/reviewboard/diffviewer/diffutils.py?r=1264#147
2335 * PrettyPatch/PrettyPatch.rb:
2336 (PrettyPatch::DiffSection.initialize): Remove :equal operations fewer
2337 than 3 characters long. The characters from the removed operations
2338 become part of the subsequent operation.
2339 (PrettyPatch::CodeLine.text_as_html): Don't wrap 0-length strings in
2340 <ins>/<del> tags. Also removed the @fromLineNumber.nil? and
2341 @toLineNumber.nil? checks as they are no longer reliable now that
2342 we're removing operations.
2344 2008-04-08 Adam Roben <aroben@apple.com>
2346 Change PrettyPatch to use DiffBuilder for intra-line diffs
2348 This gives us much prettier intra-line diffs, largely because it can
2349 distinguish multiple changes on the same line. e.g., if a line changes
2352 const int myConstant = 0;
2356 static const unsigned myConstant;
2358 You will see that "static " was inserted, "int" changed to "unsigned",
2359 and " = 0" was deleted.
2361 This seems to have also gotten rid of some spurious instances of
2362 "<ins></ins>" and "<del></del>" at the end of a line.
2364 * PrettyPatch/PrettyPatch.rb:
2365 (PrettyPatch::DiffSection.initialize): Use DiffBuilder instead of
2366 setChangeExtentFromLine (which had been copied from Trac's diffing
2368 (PrettyPatch::CodeLine):
2369 - Removed the changeExtent attribute
2370 - Added the operations attribute
2371 - Removed the setChangeExtentFromLine method
2372 (PrettyPatch::CodeLine.text_as_html): Uses @operations to determine
2373 what text to wrap in <ins> and <del> tags.
2374 * PrettyPatch/diff.rb: Deleted a bunch of code we don't use.
2375 (HTMLDiff::DiffBuilder.initialize): Moved code here from the old build
2376 method, but left out the calls to perform_operation, since we build
2377 the diff HTML outside of this class.
2378 (HTMLDiff::DiffBuilder.split_inputs_to_words): Removed calls to
2379 convert_html_to_list_of_words, since we're not diffing HTML.
2381 2008-04-08 Adam Roben <aroben@apple.com>
2386 http://instiki.rubyforge.org/svn/instiki/trunk/lib/diff.rb
2389 * PrettyPatch/diff.rb: Added.
2391 2008-03-04 Adam Roben <aroben@apple.com>
2393 * PrettyPatch/PrettyPatch.rb: Allow the extent of the previous file to
2394 be omitted from the hunk header.