ChangeLog 99 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969
  1. 2013-07-22 Lucas Forschler <lforschler@apple.com>
  2. Merge r152751
  3. 2013-07-16 James Craig <james@cookiecrook.com>
  4. AX: Add a 'choose product' link for the new-ax-bug alias.
  5. https://bugs.webkit.org/show_bug.cgi?id=118697
  6. Reviewed by Chris Fleizach.
  7. * template/en/custom/global/choose-product.html.tmpl: Added new link for accessibility bugs.
  8. 2013-05-23 Patrick Gansterer <paroga@webkit.org>
  9. EWS bubbles need more space
  10. https://bugs.webkit.org/show_bug.cgi?id=116675
  11. Reviewed by Andreas Kling.
  12. * template/en/custom/attachment/list.html.tmpl:
  13. 2013-04-16 Ryosuke Niwa <rniwa@webkit.org>
  14. Build fix after r148527.
  15. * committers-autocomplete.js:
  16. (WebKitCommitters):
  17. 2013-04-16 Ryosuke Niwa <rniwa@webkit.org>
  18. The list of contributors in committers.py should be a separate JSON
  19. https://bugs.webkit.org/show_bug.cgi?id=114673
  20. Reviewed by Anders Carlsson.
  21. Updated the Bugzilla autocompletion code to use contributors.json.
  22. Basically, this removes a large chunk of this JavaScript file.
  23. * committers-autocomplete.js:
  24. (WebKitCommitters):
  25. 2013-04-13 Ryosuke Niwa <rniwa@webkit.org>
  26. Delete bubbles from webkit-commit-queue.appspot.com now that we've completed the transition
  27. https://bugs.webkit.org/show_bug.cgi?id=114476
  28. Reviewed by Gyuyoung Kim.
  29. * code-review.js:
  30. * template/en/custom/attachment/edit.html.tmpl:
  31. * template/en/custom/attachment/list.html.tmpl:
  32. * template/en/custom/attachment/reviewform.html.tmpl:
  33. 2013-04-10 Ryosuke Niwa <rniwa@webkit.org>
  34. Make old EWS bubbles less opaque to disambiguate two set of bubbles.
  35. Rubber-stamped by Benjamin Poulain.
  36. * code-review.js:
  37. * template/en/custom/attachment/edit.html.tmpl:
  38. * template/en/custom/attachment/list.html.tmpl:
  39. * template/en/custom/attachment/reviewform.html.tmpl:
  40. 2013-04-10 Ryosuke Niwa <rniwa@webkit.org>
  41. Bugzilla should show bubbles from webkit-queues.appspot.com
  42. https://bugs.webkit.org/show_bug.cgi?id=114391
  43. Reviewed by Benjamin Poulain.
  44. Include iframe from webkit-queues.appspot.com as well as one for webkit-commit-queue.appspot.com.
  45. * code-review.js:
  46. * template/en/custom/attachment/edit.html.tmpl:
  47. * template/en/custom/attachment/list.html.tmpl:
  48. * template/en/custom/attachment/reviewform.html.tmpl:
  49. 2013-03-21 Ryosuke Niwa <rniwa@webkit.org>
  50. EWS bubbles need more space
  51. https://bugs.webkit.org/show_bug.cgi?id=112964
  52. Reviewed by Philip Rogers.
  53. Increased the width from 500px to 600px so that all bubbles fit.
  54. * template/en/custom/attachment/list.html.tmpl:
  55. 2013-03-08 David Kilzer <ddkilzer@apple.com>
  56. (CVE-2013-0786) [SECURITY] build_subselect() leaks the existence of products and components you cannot access
  57. <https://bugzilla.mozilla.org/show_bug.cgi?id=824399>
  58. <exp2://Ticket/14465628>
  59. Applied "v5 patch, 3.6" to bugs.webkit.org.
  60. * Bugzilla/Config/GroupSecurity.pm:
  61. (get_param_list):
  62. * buglist.cgi:
  63. * report.cgi:
  64. * template/en/default/admin/params/groupsecurity.html.tmpl:
  65. 2013-03-08 David Kilzer <ddkilzer@apple.com>
  66. (CVE-2013-0785) [SECURITY] XSS in show_bug.cgi when using an invalid page format
  67. <https://bugzilla.mozilla.org/show_bug.cgi?id=842038>
  68. <exp2://Ticket/14465628>
  69. Applied "patch for 3.6 and 4.0, v1" to bugs.webkit.org.
  70. * Bugzilla/Template.pm:
  71. (get_format):
  72. * show_bug.cgi:
  73. 2013-02-01 Nathan de Vries <ndevries@apple.com>
  74. Allow prettify.rb to be run from any directory, and don't hard-code the system ruby path
  75. https://bugs.webkit.org/show_bug.cgi?id=108569
  76. Reviewed by Joseph Pecoraro.
  77. * PrettyPatch/prettify.rb:
  78. 2013-01-03 James Robinson <jamesr@chromium.org>
  79. Avoid mixed content when expanding context in code review tool
  80. https://bugs.webkit.org/show_bug.cgi?id=106060
  81. Reviewed by Tony Chang.
  82. Example failure: "The page at https://bugs.webkit.org/attachment.cgi?id=181222&action=review displayed insecure
  83. content from http://svn.webkit.org/repository/webkit/trunk/Source/WebCore/page/EventHandler.cpp?p=138617." This
  84. loads from "//svn.webkit.org/..." so the protocol matches.
  85. * code-review.js:
  86. 2013-01-02 Ojan Vafai <ojan@chromium.org>
  87. REGRESSION: Review tool sometimes doesn't include some comments in preview & posts
  88. https://bugs.webkit.org/show_bug.cgi?id=105252
  89. Reviewed by Tony Chang.
  90. When adding context, the LineContainer for the context line can get removed.
  91. In that case, forEachLine needs to know to keep looping past that line number.
  92. Also, make it so that you can't leave comments on context lines.
  93. * code-review-test.html:
  94. * code-review.js:
  95. 2012-12-30 Martin Robinson <mrobinson@igalia.com>
  96. PrettyDiff.rb fails to render image diffs with Ruby 1.9.3p194
  97. https://bugs.webkit.org/show_bug.cgi?id=104932
  98. Reviewed by Eric Seidel.
  99. Ruby 1.9 added the concept of string encodings, so the use of `match' with binary data
  100. treats it as UTF-8. Forcing the png_bytes string to have the "binary" encoding avoids
  101. this error.
  102. * PrettyPatch/PrettyPatch.rb: Use force_encoding.
  103. 2012-12-06 Ojan Vafai <ojan@chromium.org>
  104. Review page is super flakey now
  105. https://bugs.webkit.org/show_bug.cgi?id=104331
  106. Committing without review since this is breaking the code review tool.
  107. remove is only shipping in Chromium. Use jQuery's remove instead.
  108. * PrettyPatch/PrettyPatch.rb:
  109. * code-review.js:
  110. 2012-12-05 Ojan Vafai <ojan@chromium.org>
  111. Make the strip line numbers link into a checkbox
  112. https://bugs.webkit.org/show_bug.cgi?id=104187
  113. Reviewed by Tony Chang.
  114. The link text was confusing.
  115. * PrettyPatch/PrettyPatch.rb:
  116. * code-review.js:
  117. 2012-12-05 Ojan Vafai <ojan@chromium.org>
  118. Sanitize content on copy in the code review tool
  119. https://bugs.webkit.org/show_bug.cgi?id=104155
  120. Reviewed by Tony Chang.
  121. Always remove expand/header/annotate links. Provide an option
  122. to remove line numbers as well. Store the option in localStorage so
  123. people can always get whichever behavior they want.
  124. A better solution would be to restructure the DOM, but that would require gutting
  125. the whole code review tool and would make it difficult to include line numbers if
  126. you wanted them.
  127. * PrettyPatch/PrettyPatch.rb:
  128. * code-review-test.html:
  129. * code-review.js:
  130. 2012-12-04 Ojan Vafai <ojan@chromium.org>
  131. Use sticky positioning for the code review toolbar
  132. https://bugs.webkit.org/show_bug.cgi?id=104056
  133. Reviewed by Adam Barth.
  134. This simplifies the code and gives a nicer user-experience.
  135. Also, while here, I fixed up the CSS to not have toolbar items
  136. overlap when you make the window too small.
  137. * PrettyPatch/PrettyPatch.rb:
  138. * code-review-test.html:
  139. * code-review.js:
  140. 2012-12-04 Ojan Vafai <ojan@chromium.org>
  141. Properly create the header links in the code review tool
  142. https://bugs.webkit.org/show_bug.cgi?id=104037
  143. Reviewed by Adam Barth.
  144. Right now, we just prepend "header" to the two existing links and change
  145. the first link to point to the header. The problem is that jQuery's prepend
  146. method just prepends to each item in the jQuery object instead of adding
  147. the item to the beginning of the list as this code assumed.
  148. * code-review-test.html:
  149. * code-review.js:
  150. 2012-12-04 Ojan Vafai <ojan@chromium.org>
  151. Can't add followup comment to a previous comment
  152. https://bugs.webkit.org/show_bug.cgi?id=104025
  153. Reviewed by Adam Barth.
  154. If we side-by-sidify a shared diff line, and then apply
  155. a previous comment, we would incorrectly put the comment
  156. on the Line instead of the LineContainer.
  157. Also, get rid of global next_line_id to simplify testing.
  158. * code-review-test.html:
  159. * code-review.js:
  160. 2012-11-06 Ryosuke Niwa <rniwa@webkit.org>
  161. committers-autocomplete.js works only with WebKit based browsers
  162. https://bugs.webkit.org/show_bug.cgi?id=66752
  163. Reviewed by Csaba Osztrogonác.
  164. Based on the patch posted by Peter Gal. Attach event listeners
  165. to all input elements we want to enable auto-completions on.
  166. * committers-autocomplete.js:
  167. 2012-10-03 Simon Fraser <simon.fraser@apple.com>
  168. Make the status bubble iframe big enough to show all the bubbles
  169. https://bugs.webkit.org/show_bug.cgi?id=98329
  170. Reviewed by Eric Seidel.
  171. Make the status bubble iframe big enough.
  172. * template/en/custom/attachment/edit.html.tmpl:
  173. * template/en/custom/attachment/list.html.tmpl:
  174. 2012-10-03 Simon Pena <spena@igalia.com>
  175. ruby1.9 fails in PrettyPatch.rb with invalid byte sequence in UTF-8
  176. https://bugs.webkit.org/show_bug.cgi?id=91212
  177. Reviewed by Hajime Morita.
  178. ruby1.9 changed the way it handles encoding, so the gsub method used
  179. when normalizing line ending complains of invalid byte sequence in UTF-8.
  180. This patch uses the "encode" string method for versions of Ruby >= 1.9
  181. to provide the encoding conversion (keeping the current implementation in
  182. Ruby 1.8).
  183. * PrettyPatch/PrettyPatch.rb: Use the "encode" string method for encoding
  184. conversion when the Ruby version is >= 1.9.
  185. 2012-09-26 Sheriff Bot <webkit.review.bot@gmail.com>
  186. Unreviewed, rolling out r129521.
  187. http://trac.webkit.org/changeset/129521
  188. https://bugs.webkit.org/show_bug.cgi?id=97710
  189. Broke autocomplete on enter_bug.cgi (Requested by abarth on
  190. #webkit).
  191. * committers-autocomplete.js:
  192. 2012-09-25 Peter Gal <galpeter@inf.u-szeged.hu>
  193. committers-autocomplete.js works only with WebKit based browsers
  194. https://bugs.webkit.org/show_bug.cgi?id=66752
  195. Reviewed by Darin Adler.
  196. Modified the code do only add event listeners to the given inputs,
  197. and not to the full document.
  198. * committers-autocomplete.js:
  199. 2012-09-24 Peter Beverloo <peter@chromium.org>
  200. Allow robots to index bugs on Bugzilla
  201. https://bugs.webkit.org/show_bug.cgi?id=95688
  202. Reviewed by Eric Seidel.
  203. This allows robots to access show_bug.cgi, thus granting them access to
  204. index contents and discussion on WebKit bugs. All other pages, except
  205. for the site index itself, still have indexing disabled.
  206. * robots.txt:
  207. 2012-07-13 Ojan Vafai <ojan@chromium.org>
  208. PrettyPatch.rb complains about missing checksum for new pixel results
  209. https://bugs.webkit.org/show_bug.cgi?id=88368
  210. Reviewed by Tony Chang.
  211. When adding or removing a file, we incorrectly iterpreted not having an image
  212. as not having a checksum.
  213. * PrettyPatch/PrettyPatch.rb:
  214. * PrettyPatch/PrettyPatch_test.rb:
  215. I tried to fix the TempFile issue in these tests, but after a couple hours
  216. of banging my head against this, I have no idea what's breaking.
  217. 2012-07-11 Alice Cheng <alice_cheng@apple.com>
  218. Deleting content at the top of prettypatch emails destroys HTML formatting
  219. https://bugs.webkit.org/show_bug.cgi?id=90700
  220. <rdar://problem/7488232>
  221. Reviewed by David Kilzer.
  222. * PrettyPatch/PrettyPatch.rb:
  223. 2012-07-10 Adam Barth <abarth@webkit.org>
  224. bugs.webkit.org has mixed content
  225. https://bugs.webkit.org/show_bug.cgi?id=90907
  226. Reviewed by Eric Seidel.
  227. Now that we detect http XMLHttpRequests as mixed content, I've noticed
  228. that we're loading committers.py over http instead of https. For
  229. better security, we should use https.
  230. * committers-autocomplete.js:
  231. 2012-05-30 Ojan Vafai <ojan@chromium.org>
  232. Only include the image checksum error in pretty-diffs for -expected.png files.
  233. https://bugs.webkit.org/show_bug.cgi?id=87881
  234. Reviewed by Tony Chang.
  235. * PrettyPatch/PrettyPatch.rb:
  236. * PrettyPatch/PrettyPatch_test.rb:
  237. 2012-05-29 Ojan Vafai <ojan@chromium.org>
  238. Show an error in the pretty diff when an image lacks a checksum
  239. https://bugs.webkit.org/show_bug.cgi?id=87791
  240. Reviewed by Dirk Pranke.
  241. * PrettyPatch/PrettyPatch.rb:
  242. * PrettyPatch/PrettyPatch_test.rb:
  243. 2012-04-01 Adam Barth <abarth@webkit.org>
  244. Code review tool no longer needs to work around position:fixed handling on iPad
  245. https://bugs.webkit.org/show_bug.cgi?id=82850
  246. Reviewed by Eric Seidel.
  247. We no longer need to avoid position:fixed on iPad because Mobile Safari
  248. now does something reasonable with position:fixed elements.
  249. * code-review.js:
  250. 2012-03-09 Ashod Nakashian <ashodnakashian@yahoo.com>
  251. Bash scripts should support LF endings only
  252. https://bugs.webkit.org/show_bug.cgi?id=79509
  253. Reviewed by David Kilzer.
  254. * contrib/yp_nomail.sh: Added property svn:executable.
  255. 2012-03-05 Alexander Færøy <alexander.faeroy@nokia.com>
  256. The Bugzilla autocompleter doesn't support multiple Unicode characters per name
  257. https://bugs.webkit.org/show_bug.cgi?id=80319
  258. Reviewed by Adam Barth.
  259. The current regular expression for matching Unicode characters uses
  260. the global modifier, which means that it will never enter its second
  261. iteration of the match-loop. This patch fixes this by removing the
  262. global modifier from the regex.
  263. * committers-autocomplete.js:
  264. (WebKitCommitters):
  265. 2012-01-03 Ojan Vafai <ojan@chromium.org>
  266. Increment the code-review.js version number to bust browser
  267. caches.
  268. * PrettyPatch/PrettyPatch.rb:
  269. 2011-12-13 Ojan Vafai <ojan@chromium.org>
  270. Give a resize handle for sidebyside diffs.
  271. https://bugs.webkit.org/show_bug.cgi?id=74465
  272. Reviewed by Ryosuke Niwa.
  273. This gives a drag handle so you can make the side-by-side
  274. diff not be 50/50 on a per-file-diff basis. This is useful
  275. for cases like new files where there's no value on the
  276. left side.
  277. * PrettyPatch/PrettyPatch.rb:
  278. * code-review.js:
  279. 2011-12-13 Ojan Vafai <ojan@chromium.org>
  280. Expanding context is broken for prepare-ChangeLog in the code review tool.
  281. https://bugs.webkit.org/show_bug.cgi?id=74458
  282. Reviewed by Adam Barth.
  283. * code-review-test.html:
  284. -Moved all the tests into test* functions.
  285. -Automated calling all test* functions.
  286. -Added testIsChangeLog.
  287. * code-review.js:
  288. Made the check for whether it's a ChangeLog file more robust.
  289. 2011-12-13 Ojan Vafai <ojan@chromium.org>
  290. Fix bug in the code review tool when readding a discarded comment
  291. https://bugs.webkit.org/show_bug.cgi?id=74450
  292. Reviewed by Adam Barth.
  293. If you discard a comment that has a corresponding previousComment,
  294. then we would incorrectly remove the comment baseline. So, the next
  295. time you added a comment by clicking on the previousComment, we
  296. would get undefined as the start line for the new comment.
  297. All of this works fine until you try to restore the comment from
  298. localStorage, at which point we throw an error because the start
  299. line is undefined.
  300. Also added some failsafes to better handle the case of corrupted comments.
  301. * code-review-test.html:
  302. * code-review.js:
  303. 2011-11-15 Tony Chang <tony@chromium.org>
  304. set a max-width on the codereview overall comments textarea
  305. https://bugs.webkit.org/show_bug.cgi?id=72415
  306. Reviewed by Ojan Vafai.
  307. Otherwise, when resizing the textarea you can end up making wider, but
  308. are no longer able to click the resize gripper to make it smaller
  309. (it's under another div).
  310. * PrettyPatch/PrettyPatch.rb:
  311. 2011-10-13 Adam Barth <abarth@webkit.org>
  312. Would be nice if the review-tool offered to show the corresponding header
  313. https://bugs.webkit.org/show_bug.cgi?id=63963
  314. Reviewed by Ojan Vafai.
  315. This is a first cut at adding links to the header file in the review
  316. tool. If folks like this feature, we can cover more cases in the
  317. future.
  318. * code-review.js:
  319. 2011-09-14 Ben Wells <benwells@chromium.org>
  320. PrettyPatch should handle "delta" patch mechanism in git binary patches
  321. https://bugs.webkit.org/show_bug.cgi?id=67628
  322. Git patches are encoded using two mechanisms - "literal" and "delta".
  323. For details of these mechanisms, see the function emit_binary_diff_body
  324. in the git source file diff.c (https://github.com/git/git/blob/master/diff.c).
  325. When determining if a binary file patch is an image or not we should accept
  326. both literal and delta patch encodings.
  327. When reconstructing the images from the patches, if we have a delta patch
  328. we may download the previous revision from svn.webkit.org to get the image data.
  329. Reviewed by Adam Roben.
  330. * PrettyPatch/PrettyPatch.rb:
  331. * PrettyPatch/PrettyPatch_test.rb:
  332. 2011-09-06 Sheriff Bot <webkit.review.bot@gmail.com>
  333. Unreviewed, rolling out r94554.
  334. http://trac.webkit.org/changeset/94554
  335. https://bugs.webkit.org/show_bug.cgi?id=67631
  336. This patch did not quite fix the problem (Requested by
  337. benwells on #webkit).
  338. * PrettyPatch/PrettyPatch.rb:
  339. * PrettyPatch/PrettyPatch_test.rb:
  340. 2011-09-06 Ben Wells <benwells@chromium.org>
  341. PrettyPatch should handle "delta" patch mechanism in git binary patches
  342. https://bugs.webkit.org/show_bug.cgi?id=67628
  343. Git patches are encoded using two mechanisms - "literal" and "delta".
  344. See this email from the git mailing list archive for info
  345. http://marc.info/?l=git&m=114682417113315&w=2
  346. When determining if a binary file patch is an image or not we should accept
  347. both literal and delta patch encodings.
  348. Reviewed by Shinichiro Hamaji.
  349. * PrettyPatch/PrettyPatch.rb:
  350. * PrettyPatch/PrettyPatch_test.rb:
  351. 2011-06-30 Adam Barth <abarth@webkit.org>
  352. Reviewed by Eric Seidel.
  353. [reviewtool] Expanding lines "below" does not remove purple context line
  354. https://bugs.webkit.org/show_bug.cgi?id=63695
  355. Honestly, this is the last bug in the review tool that bothers me.
  356. * PrettyPatch/PrettyPatch.rb:
  357. - Jump straight to version 42, because, well, you know.
  358. * code-review.js:
  359. - In addition to removing the context bar when we expand all, we
  360. now remove it when we expand below (but not when we expand
  361. above).
  362. 2011-06-21 Adam Barth <abarth@webkit.org>
  363. Reviewed by Darin Adler.
  364. bugs.webkit.org should use Strict-Transport-Security
  365. https://bugs.webkit.org/show_bug.cgi?id=63097
  366. Strict-Transport-Security forces all connections to bugs.webkit.org to
  367. use HTTPS, preventing sslstrip and other attacks.
  368. * .htaccess:
  369. 2011-05-04 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  370. Reviewed by Adam Roben.
  371. REGRESSION (r85657): webkitpy.common.prettypatch_unittest.PrettyPatchTest.test_pretty_diff_encodings failing on Leopard
  372. https://bugs.webkit.org/show_bug.cgi?id=60164
  373. Use Array#length to get the number of elements in an array. Array#count
  374. was added in Ruby 1.8.7, but Leopard have Ruby 1.8.6.
  375. * PrettyPatch/PrettyPatch.rb:
  376. 2011-05-03 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  377. Reviewed by Adam Roben.
  378. Add tests to PrettyPatch
  379. https://bugs.webkit.org/show_bug.cgi?id=57298
  380. Verify that 'prettify' parse the right number of files and parts
  381. (add/remove/shared) by checking a set of patches available in
  382. bugs.webkit.org.
  383. * PrettyPatch/PrettyPatch.rb: exported a couple a globals with
  384. statistics information for our test script.
  385. * PrettyPatch/PrettyPatch_test.rb: Added.
  386. 2011-04-22 Alexey Proskuryakov <ap@apple.com>
  387. Code changes by Adam Barth. Reviewed by Ojan Vafai.
  388. Bugzilla autocomplete should support frequent contributors who are not committers
  389. https://bugs.webkit.org/show_bug.cgi?id=59209
  390. * committers-autocomplete.js: Support Contributor role in committers.py.
  391. 2011-04-19 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  392. Reviewed by Adam Roben.
  393. PrettyPatch tries to show images for deleted files
  394. https://bugs.webkit.org/show_bug.cgi?id=28457
  395. When the image data is empty, instead of generating an <img> tag, generate
  396. a text to indicate the image was deleted.
  397. * PrettyPatch/PrettyPatch.rb:
  398. 2011-04-14 Tony Chang <tony@chromium.org>
  399. Reviewed by Adam Roben.
  400. make PrettyPatch.rb aware of checksums in png files
  401. https://bugs.webkit.org/show_bug.cgi?id=58387
  402. Patch v2 with nil checks in the case of file adds and deletes.
  403. * PrettyPatch/PrettyPatch.rb:
  404. 2011-04-13 Simon Fraser <simon.fraser@apple.com>
  405. Revert http://trac.webkit.org/changeset/83750 because it broke PrettyPatch.
  406. https://bugs.webkit.org/show_bug.cgi?id=58510
  407. * PrettyPatch/PrettyPatch.rb:
  408. 2011-04-12 Tony Chang <tony@chromium.org>
  409. Reviewed by Adam Roben.
  410. make PrettyPatch.rb aware of checksums in png files
  411. https://bugs.webkit.org/show_bug.cgi?id=58387
  412. * PrettyPatch/PrettyPatch.rb:
  413. 2011-04-12 Adam Barth <abarth@webkit.org>
  414. Reviewed by Eric Seidel.
  415. Review tool should work well on iPad
  416. https://bugs.webkit.org/show_bug.cgi?id=58351
  417. On the iPad, the toolbar ends up at some random position in the middle
  418. of the page because of how position:fixed interacts with scrolling on
  419. the iPad. I feel a bit dirty using a user agent detect, but I'm not
  420. sure if there's a better way to detect whether the user agent has this
  421. behavior.
  422. * code-review.js:
  423. 2011-03-15 David Levin <levin@chromium.org>
  424. Reviewed by Adam Barth.
  425. Links from code reviews to trac are incorrect for files in Source/WebKit.
  426. https://bugs.webkit.org/show_bug.cgi?id=56404
  427. * PrettyPatch/PrettyPatch.rb: Remove WebKit from the list of top level
  428. directories since it is now under Source.
  429. 2011-03-10 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  430. Reviewed by Adam Roben.
  431. Formatted Diff for attachment 23920 is mangled
  432. https://bugs.webkit.org/show_bug.cgi?id=21222
  433. The mangled diff files mentioned in the bug were using Mac line
  434. ending and this was causing problems for String#each_line. Now we
  435. normalize the line endings in patch data before processing it.
  436. * PrettyPatch/PrettyPatch.rb:
  437. 2011-03-10 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
  438. Reviewed by Adam Roben.
  439. PrettyPatch displays last two lines of a git-format-patch diff strangely
  440. https://bugs.webkit.org/show_bug.cgi?id=29317
  441. If the diff section has full range information, we parse only enough to cover the
  442. range. This avoids incorrectly showing trailing lines (like git signature) as part
  443. of the patch.
  444. * PrettyPatch/PrettyPatch.rb:
  445. 2011-03-10 Adam Roben <aroben@apple.com>
  446. Don't search for intra-line diffs in really long lines
  447. Doing so can lead to hangs (or at least really slow execution).
  448. Fixes <http://webkit.org/b/56109> run-webkit-tests sometimes times out on Windows XP Debug
  449. (Tests) after fast/text/large-text-composed-char-dos.html fails (due to PrettyPatch
  450. hanging?)
  451. Reviewed by David Kilzer.
  452. * PrettyPatch/PrettyPatch.rb:
  453. (PrettyPatch.MAXIMUM_INTRALINE_DIFF_LINE_LENGTH): Added this new constant.
  454. (PrettyPatch.DiffSection.initialize): Don't bother looking for intra-line diffs in lines
  455. longer than the maximum length.
  456. 2011-02-25 Ojan Vafai <ojan@chromium.org>
  457. Reviewed by Adam Barth.
  458. [codereviewtool] fix expand links on git diffs
  459. https://bugs.webkit.org/show_bug.cgi?id=55208
  460. In git diffs, we don't have a "revision" span at the end
  461. of each FileDiff.
  462. * code-review.js:
  463. 2011-02-23 Ojan Vafai <ojan@chromium.org>
  464. Reviewed by Tony Chang.
  465. autocomplete=off prevents refilling form fields on back/forward navigation
  466. https://bugs.webkit.org/show_bug.cgi?id=47463
  467. I haven't actually run this patch due to the difficulty of getting
  468. a bugzilla instance running. It's simple enough code that I'm not too worried
  469. about it.
  470. * committers-autocomplete.js:
  471. 2011-02-21 Ojan Vafai <ojan@chromium.org>
  472. Reviewed by Adam Barth.
  473. [codereviewtool] focus first visible node if no node is focused
  474. https://bugs.webkit.org/show_bug.cgi?id=54935
  475. Now hitting j/k/n/p will focus the first/last visible node
  476. if no other node is focused. Also tweaked the scroll into view
  477. logic a bit to avoid scrolling in this case.
  478. * code-review.js:
  479. 2011-02-21 Ojan Vafai <ojan@chromium.org>
  480. Reviewed by Adam Barth.
  481. [codereviewtool] remove patch fuzzing
  482. https://bugs.webkit.org/show_bug.cgi?id=54940
  483. This code is buggy and not as necessary now that we
  484. include svn revision numbers in uploaded patches.
  485. * code-review.js:
  486. 2011-02-21 Ojan Vafai <ojan@chromium.org>
  487. Reviewed by Adam Barth.
  488. [codereviewtool] focus comment on accept
  489. https://bugs.webkit.org/show_bug.cgi?id=54930
  490. * code-review.js:
  491. 2011-02-20 Ojan Vafai <ojan@chromium.org>
  492. Reviewed by Adam Barth.
  493. [codereviewtool] avoid overriding ctrl/cmd + r
  494. https://bugs.webkit.org/show_bug.cgi?id=54852
  495. * code-review.js:
  496. 2011-02-16 Ojan Vafai <ojan@chromium.org>
  497. Reviewed by Adam Barth.
  498. keyboard support for extending/shrinking comment context
  499. https://bugs.webkit.org/show_bug.cgi?id=54612
  500. ctrl+shift+up/down will extend/shrink the comment context when
  501. a comment is focused or when one is being edited.
  502. Also, switch over to using keydown instead of keypress events.
  503. This lets us share code for handling escape and other key events.
  504. Also, keypress is evil and should die.
  505. * code-review.js:
  506. 2011-02-20 Ojan Vafai <ojan@chromium.org>
  507. Recommit accidental revert.
  508. r79180 accidentally revereted r79178.
  509. * code-review.js:
  510. 2011-02-20 Ojan Vafai <ojan@chromium.org>
  511. Reviewed by Adam Barth.
  512. [codereviewtool] add more help information
  513. https://bugs.webkit.org/show_bug.cgi?id=54847
  514. * code-review.js:
  515. 2011-02-20 Ojan Vafai <ojan@chromium.org>
  516. Reviewed by Adam Barth.
  517. [codereviewtool] use 'r' to focus the review select element
  518. https://bugs.webkit.org/show_bug.cgi?id=54845
  519. This allows for quick keyboard access to the toolbar items.
  520. Hit r to get to the review select element. Then you can
  521. tab to the cq/preview/publish elements.
  522. * code-review.js:
  523. 2011-02-20 Ojan Vafai <ojan@chromium.org>
  524. Reviewed by Adam Barth.
  525. [codereviewtool] don't let lines/diffblocks be mouse focusable
  526. https://bugs.webkit.org/show_bug.cgi?id=54851
  527. Unfortunately, this will only work once https://bugs.webkit.org/show_bug.cgi?id=54727
  528. is committed. In the interim, it won't break anything.
  529. * code-review.js:
  530. 2011-02-20 Ojan Vafai <ojan@chromium.org>
  531. Reviewed by Adam Barth.
  532. [codereviewtool] use keydown instead of keypress
  533. https://bugs.webkit.org/show_bug.cgi?id=54849
  534. There is no functional change. This is just a cleanup
  535. to make future patches (e.g. https://bugs.webkit.org/show_bug.cgi?id=54612)
  536. cleaner.
  537. * code-review.js:
  538. 2011-02-20 Ojan Vafai <ojan@chromium.org>
  539. Reviewed by Adam Barth.
  540. [codereviewtool] fix layout nit
  541. https://bugs.webkit.org/show_bug.cgi?id=54848
  542. There is occasionally an off-by-one in the 50% width
  543. calculation. This ensures that the add lines always
  544. line up with the shared context lines.
  545. * PrettyPatch/PrettyPatch.rb:
  546. 2011-02-20 Ojan Vafai <ojan@chromium.org>
  547. Reviewed by Adam Barth.
  548. [codereviewtool] make escape hide the preview form
  549. https://bugs.webkit.org/show_bug.cgi?id=54844
  550. * code-review.js:
  551. 2011-02-20 Ojan Vafai <ojan@chromium.org>
  552. Reviewed by Adam Barth.
  553. [codereviewtool] make enter work when an individual line is focused
  554. https://bugs.webkit.org/show_bug.cgi?id=54843
  555. * code-review.js:
  556. 2011-02-17 Ojan Vafai <ojan@chromium.org>
  557. Reviewed by Adam Barth.
  558. use shift+j/k to focus next/previous line
  559. https://bugs.webkit.org/show_bug.cgi?id=54723
  560. Tested on a large Hyatt change to confirm it performed fine.
  561. (https://bugs.webkit.org/attachment.cgi?id=82533&action=review)
  562. * code-review.js:
  563. 2011-02-17 Ojan Vafai <ojan@chromium.org>
  564. Reviewed by Adam Barth.
  565. fix escape handling in code review tool
  566. https://bugs.webkit.org/show_bug.cgi?id=54722
  567. This broke with http://trac.webkit.org/changeset/78948.
  568. Apparently jquery events get a wrapped object that
  569. does not expose keyIdentifier.
  570. * code-review.js:
  571. 2011-02-17 Ojan Vafai <ojan@chromium.org>
  572. Reviewed by Adam Barth.
  573. create comments when hitting enter with a focused diff
  574. https://bugs.webkit.org/show_bug.cgi?id=54719
  575. * code-review.js:
  576. 2011-02-17 Ojan Vafai <ojan@chromium.org>
  577. Reviewed by Adam Barth.
  578. use actual browser focus in the code review tool
  579. https://bugs.webkit.org/show_bug.cgi?id=54726
  580. This makes keyboard handling play better with focusable element
  581. (i.e. links/textareas/buttons). Also, in theory, this makes
  582. the review tool more amenable to screen readers (I think).
  583. * PrettyPatch/PrettyPatch.rb:
  584. * code-review.js:
  585. 2011-02-17 Ojan Vafai <ojan@chromium.org>
  586. Reviewed by Antonio Gomes.
  587. make event handling work in Gecko
  588. https://bugs.webkit.org/show_bug.cgi?id=54702
  589. Gecko doesn't support the global event property. It's an IE-ism.
  590. * code-review.js:
  591. 2011-02-14 Ojan Vafai <ojan@chromium.org>
  592. Reviewed by Adam Barth.
  593. allow for modifying comments without the mouse
  594. https://bugs.webkit.org/show_bug.cgi?id=54433
  595. Use n/p to navigate the comments.
  596. Enter to begin editing a comment.
  597. Escape to finish editing a comment.
  598. * code-review.js:
  599. 2011-02-14 Ojan Vafai <ojan@chromium.org>
  600. Reviewed by Adam Barth.
  601. improve line selection in the code review tool
  602. https://bugs.webkit.org/show_bug.cgi?id=54430
  603. -shift+click now extends the comment context
  604. -selecting outside of a diff section no longer clears the selected lines.
  605. Instead it just restricts the selected lines to that diff section.
  606. * code-review.js:
  607. 2011-02-10 Ojan Vafai <ojan@chromium.org>
  608. Reviewed by Adam Barth.
  609. remove extra space from expansion lines
  610. https://bugs.webkit.org/show_bug.cgi?id=54266
  611. * code-review.js:
  612. 2011-02-09 Ojan Vafai <ojan@chromium.org>
  613. Reviewed by Adam Barth.
  614. only erase draft comments after publish is successful
  615. https://bugs.webkit.org/show_bug.cgi?id=54163
  616. If there is a conflict or 500, then draft comments will survive.
  617. One drawback here is that the form post is now to the iframe,
  618. so to break out of the iframe we redirect to the bug page, which
  619. loses the information of who the email was sent to.
  620. Once WebKit supports seamless iframes we should be able to avoid
  621. the redirect.
  622. * code-review.js:
  623. 2011-02-09 Ojan Vafai <ojan@chromium.org>
  624. Reviewed by Adam Barth.
  625. save overall comments when saving drafts in the review tool
  626. https://bugs.webkit.org/show_bug.cgi?id=54165
  627. -save overall comments in localstorage as well
  628. -save all draft comments as you type
  629. -give a *subtle* indicator of saved state
  630. The latter should also make it super easy if someone wanted to do
  631. the work to store draft comments in appengine/s3/bugzilla/etc.
  632. * PrettyPatch/PrettyPatch.rb:
  633. * code-review-test.html:
  634. * code-review.js:
  635. 2011-02-08 Ojan Vafai <ojan@chromium.org>
  636. Reviewed by Adam Barth.
  637. fix toolbar anchoring in the code review tool
  638. https://bugs.webkit.org/show_bug.cgi?id=54058
  639. Avoid the anchoring cycle of doom when on the cusp
  640. of whether the toolbar needs to be anchored and
  641. speculatively avoid the Firefox crash when resizing.
  642. * PrettyPatch/PrettyPatch.rb:
  643. * code-review.js:
  644. 2011-02-07 Ojan Vafai <ojan@chromium.org>
  645. Reviewed by Adam Barth.
  646. bring back diff context lines into the review tool
  647. https://bugs.webkit.org/show_bug.cgi?id=53974
  648. * code-review.js:
  649. 2011-02-01 Ojan Vafai <ojan@chromium.org>
  650. Reviewed by Adam Roben.
  651. include svn revisions in git diffs for the code review tool to use
  652. https://bugs.webkit.org/show_bug.cgi?id=53569
  653. * PrettyPatch/PrettyPatch.rb:
  654. 2011-02-01 Ojan Vafai <ojan@chromium.org>
  655. Reviewed by Adam Barth.
  656. make draft comments focusable
  657. https://bugs.webkit.org/show_bug.cgi?id=53554
  658. Makes frozen draft comments focusable. The ones that are currently being edited are not.
  659. I'm on the fence whether they should be, but this seems good enough for now.
  660. * code-review.js:
  661. 2011-02-01 Ojan Vafai <ojan@chromium.org>
  662. Reviewed by Adam Barth.
  663. avoid jitter when loading the comments to a patch
  664. https://bugs.webkit.org/show_bug.cgi?id=53570
  665. * code-review.js:
  666. 2011-02-01 Ojan Vafai <ojan@chromium.org>
  667. Reviewed by Mihai Parparita.
  668. [codereviewtool] extra space at the beginning of lines in side-by-side view
  669. https://bugs.webkit.org/show_bug.cgi?id=53550
  670. The newline between the spans turns into user-visible space in side-by-side mode.
  671. * PrettyPatch/PrettyPatch.rb:
  672. 2011-02-01 Ojan Vafai <ojan@chromium.org>
  673. Increment version number to cache-bust code-review.js.
  674. * PrettyPatch/PrettyPatch.rb:
  675. 2011-01-31 Ojan Vafai <ojan@chromium.org>
  676. Reviewed by Adam Barth.
  677. Store draft comments in localStorage
  678. https://bugs.webkit.org/show_bug.cgi?id=52866
  679. * code-review.js:
  680. * code-review-test.html
  681. 2011-01-20 Ojan Vafai <ojan@chromium.org>
  682. Fix the review tool for image diffs. We would get a javascript error
  683. because image diffs don't have line numbers.
  684. * code-review.js:
  685. 2011-01-20 Ojan Vafai <ojan@chromium.org>
  686. Reviewed by Oliver Hunt.
  687. Could review tool include style failure info?
  688. https://bugs.webkit.org/show_bug.cgi?id=49049
  689. This does not handle patches that have old paths (e.g. without the Source prefix).
  690. Although that would be fairly straightforward to workaround.
  691. * code-review.js:
  692. 2011-01-20 Ojan Vafai <ojan@chromium.org>
  693. Reviewed by Adam Barth.
  694. handle cases where PrettyPatch.rb doesn't linkify filenames
  695. https://bugs.webkit.org/show_bug.cgi?id=52834
  696. * code-review.js:
  697. 2011-01-20 Ojan Vafai <ojan@chromium.org>
  698. Reviewed by Adam Barth.
  699. fix goofup in http://trac.webkit.org/changeset/76082
  700. https://bugs.webkit.org/show_bug.cgi?id=52830
  701. We were showing the revision number of the patch at the bottom
  702. of the diff and expanding from the bottom of the diff would fail.
  703. Also, removed an unused variable and scoped queries appropriatly
  704. to the file_diff they should have been operating on.
  705. * PrettyPatch/PrettyPatch.rb:
  706. * code-review.js:
  707. 2011-01-19 Ojan Vafai <ojan@chromium.org>
  708. Reviewed by Adam Barth.
  709. [reviewtool] Add a link for annotated trac page on review page
  710. https://bugs.webkit.org/show_bug.cgi?id=52747
  711. -add line numbers to all trac links to the first line in the file diff
  712. -add annotate/review log links
  713. -make file-diff links other than the file name only show when you mouseover the filediff
  714. -fix white-space to only wrap the .text element and it's childen, any of it's siblings/parents
  715. * PrettyPatch/PrettyPatch.rb:
  716. * code-review.js:
  717. 2011-01-14 Ojan Vafai <ojan@chromium.org>
  718. Reviewed by Adam Barth.
  719. make line selection have a extend only from where you start the selection in the code review tool
  720. https://bugs.webkit.org/show_bug.cgi?id=52485
  721. * code-review.js:
  722. 2011-01-18 Ojan Vafai <ojan@chromium.org>
  723. Reviewed by Eric Seidel.
  724. make file expansion use the file at the svn revision the diff was created at
  725. https://bugs.webkit.org/show_bug.cgi?id=52650
  726. This only works for patches created with SVN for now since the git
  727. diff does not include SVN revision numbers in it.
  728. * PrettyPatch/PrettyPatch.rb:
  729. * code-review.js:
  730. 2011-01-15 Adam Barth <abarth@webkit.org>
  731. Rubber-stamped by Eric Seidel.
  732. Move WebKit2 into Source
  733. https://bugs.webkit.org/show_bug.cgi?id=52438
  734. Remove WebKit2 from the list of top-level source directories.
  735. * PrettyPatch/PrettyPatch.rb:
  736. 2011-01-14 Ojan Vafai <ojan@chromium.org>
  737. Reviewed by Adam Barth.
  738. fix expanded lines in the code review tool
  739. https://bugs.webkit.org/show_bug.cgi?id=52498
  740. Fixes them to work now that we have wrapper divs.
  741. Also fixes the long-standing bug that the line numbers
  742. were incorrect sometimes.
  743. * code-review.js:
  744. 2011-01-14 Ojan Vafai <ojan@chromium.org>
  745. Reviewed by Adam Barth.
  746. put remove lines to the left of add lines in sidebyside view
  747. https://bugs.webkit.org/show_bug.cgi?id=52458
  748. Also, sneaking in a fix to make long lines with no whitespace wrap.
  749. * PrettyPatch/PrettyPatch.rb:
  750. * code-review.js:
  751. 2011-01-14 Ojan Vafai <ojan@chromium.org>
  752. Fix bad merge in r75816.
  753. * code-review.js:
  754. 2011-01-14 Ojan Vafai <ojan@chromium.org>
  755. Reviewed by Adam Barth.
  756. improve line selection with fast drags
  757. https://bugs.webkit.org/show_bug.cgi?id=52477
  758. * code-review.js:
  759. 2011-01-14 Ojan Vafai <ojan@chromium.org>
  760. Reviewed by Adam Barth.
  761. tweak line selection in code review tool
  762. https://bugs.webkit.org/show_bug.cgi?id=52462
  763. -Improve handling of data-comment-base-line code to deal with
  764. lines that have multiple values.
  765. -Make it so that if you click on the line immediately above
  766. a line that has a comment it will add a new comment instead of
  767. adding lines to the following comment. If the last selected line
  768. overlaps existing comment lines though they will still get
  769. added to the existing comment.
  770. * code-review.js:
  771. 2011-01-14 Ojan Vafai <ojan@chromium.org>
  772. Reviewed by Adam Roben.
  773. fix bugs going back and forth between unified and sidebyside
  774. https://bugs.webkit.org/show_bug.cgi?id=52470
  775. Now that we're appending DOM nodes directly, we only want to
  776. get the first ".text" element in the subtree. In the cases
  777. where there are multiple, their contents are the same.
  778. Also, when making side-by-side expansion lines, we need to
  779. clone the contents so we have a second copy to append to the DOM.
  780. * code-review.js:
  781. 2011-01-13 Ojan Vafai <ojan@chromium.org>
  782. Reviewed by Adam Barth.
  783. simplify keyboard handling in code review tool
  784. https://bugs.webkit.org/show_bug.cgi?id=52407
  785. Now that we have DiffBlock containers, the only things that are
  786. focusable are previousComment nodes and DiffBlock containers
  787. that contain add/remove lines.
  788. Also, this means we show the focus border around the entire diff
  789. instead of just the first line.
  790. * code-review.js:
  791. 2011-01-13 Ojan Vafai <ojan@chromium.org>
  792. Reviewed by Adam Barth.
  793. add container divs for diff blocks
  794. https://bugs.webkit.org/show_bug.cgi?id=52400
  795. This will help simplify a lot of code in code-review.js
  796. and make side-by-side diffs better (i.e. put removed lines
  797. to the left of corresponding added lines).
  798. Also, allow for running the JS from a local file. Now you can modify code-review.js
  799. to point to a local file and then run:
  800. ruby prettify.rb < foo.diff > foo.html
  801. foo.html will load a dummy code review matching foo.diff.
  802. Before structure:
  803. Line
  804. Line remove
  805. Line add
  806. Line add
  807. Line
  808. After structure:
  809. DiffBlock
  810. DiffBlockPart shared
  811. Line shared
  812. DiffBlock
  813. DiffBlockPart remove
  814. Line remove
  815. DiffBlockPart add
  816. Line add
  817. Line add
  818. DiffBlock
  819. DiffBlockPart shared
  820. Line shared
  821. * PrettyPatch/PrettyPatch.rb:
  822. * code-review.js:
  823. 2011-01-12 Ojan Vafai <ojan@chromium.org>
  824. Reviewed by Mihai Parparita.
  825. fix assorted bugs with expansion lines
  826. https://bugs.webkit.org/show_bug.cgi?id=52326
  827. -Clicking "all" would collapse whitespace in the expanded lines.
  828. -Converted the remaining line creation code to using the DOM.
  829. * PrettyPatch/PrettyPatch.rb:
  830. * code-review.js:
  831. 2011-01-12 Ojan Vafai <ojan@chromium.org>
  832. Reviewed by Adam Barth.
  833. review tool formatted diff doesn't match the uploaded diff
  834. https://bugs.webkit.org/show_bug.cgi?id=51960
  835. PrettyPatch works just fine if there is no newline at the end of the file.
  836. * attachment.cgi:
  837. 2011-01-12 Ojan Vafai <ojan@chromium.org>
  838. Reviewed by Adam Barth.
  839. Bugzilla: Add keyboard shortcuts to jump to next change
  840. https://bugs.webkit.org/show_bug.cgi?id=52305
  841. Comments and diff blocks go in the same queue. If you have a
  842. comment focused, then j/k will focus the next/prev diff block
  843. with respect to that comment.
  844. * PrettyPatch/PrettyPatch.rb:
  845. * code-review.js:
  846. 2011-01-12 Ojan Vafai <ojan@chromium.org>
  847. Reviewed by Adam Barth.
  848. show shared lines on both sides in code review tool
  849. https://bugs.webkit.org/show_bug.cgi?id=52308
  850. We were appending the same DOM node twice. Instead, make
  851. the from column a clone of the original node.
  852. * code-review.js:
  853. 2011-01-12 Ojan Vafai <ojan@chromium.org>
  854. Reviewed by Adam Barth.
  855. fix wrapping bug in expansion lines in the code review tool
  856. https://bugs.webkit.org/show_bug.cgi?id=52270
  857. * PrettyPatch/PrettyPatch.rb:
  858. * code-review.js:
  859. 2011-01-11 Ojan Vafai <ojan@chromium.org>
  860. Reviewed by Adam Barth.
  861. fix difflink centering to be vertical, not horizontal
  862. https://bugs.webkit.org/show_bug.cgi?id=52263
  863. * PrettyPatch/PrettyPatch.rb:
  864. * code-review.js:
  865. 2011-01-11 Ojan Vafai <ojan@chromium.org>
  866. Reviewed by Adam Barth.
  867. remember diffstate for review tool
  868. https://bugs.webkit.org/show_bug.cgi?id=52253
  869. If you use the global sidebyside/unified links, store the diff type
  870. in localstorage. Then, onload, use that diff type. That way, people
  871. who prefer one diff type or the other can always get that by default.
  872. * code-review.js:
  873. 2011-01-11 Ojan Vafai <ojan@chromium.org>
  874. Reviewed by Adam Barth.
  875. allow sidebysideifying individual files in the code review tool
  876. https://bugs.webkit.org/show_bug.cgi?id=52226
  877. * code-review.js:
  878. 2011-01-11 Ojan Vafai <ojan@chromium.org>
  879. Reviewed by Mihai Parparita.
  880. fix exception when adding a comment to a side-by-side diff
  881. https://bugs.webkit.org/show_bug.cgi?id=52240
  882. prev() and next() won't get the previous and next lines in
  883. side-by-side mode. Instead do a query to find them.
  884. * code-review.js:
  885. 2011-01-11 Ojan Vafai <ojan@chromium.org>
  886. Reviewed by Mihai Parparita.
  887. maintain word diffs when converting to side-by-side and back
  888. https://bugs.webkit.org/show_bug.cgi?id=52244
  889. Using textContent would lose the spans use to make the word-diff highlighting.
  890. Just move the span element itself.
  891. * code-review.js:
  892. 2011-01-11 Ojan Vafai <ojan@chromium.org>
  893. Reviewed by Adam Barth.
  894. fix layout error with comments in code review tool
  895. https://bugs.webkit.org/show_bug.cgi?id=52230
  896. * PrettyPatch/PrettyPatch.rb:
  897. 2011-01-10 Ojan Vafai <ojan@chromium.org>
  898. Reviewed by Adam Barth.
  899. convert back to unified from sidebyside diff
  900. https://bugs.webkit.org/show_bug.cgi?id=52180
  901. Remove url fragment stuff. Having it be per-filediff is too complicated.
  902. * PrettyPatch/PrettyPatch.rb:
  903. * code-review.js:
  904. 2011-01-07 Adam Barth <abarth@webkit.org>
  905. Rubber-stamped by Eric Seidel.
  906. Move WebCore to Source
  907. https://bugs.webkit.org/show_bug.cgi?id=52050
  908. Remove reference to old directory.
  909. * PrettyPatch/PrettyPatch.rb:
  910. 2011-01-06 Ojan Vafai <ojan@chromium.org>
  911. Reviewed by Adam Barth.
  912. side-by-side diffs in the code review tool
  913. https://bugs.webkit.org/show_bug.cgi?id=52019
  914. Support for conversion from the formatted diff to a side-by-side diff.
  915. Maintains comments and new comments can be added.
  916. The main architectural change is that Line elements are no longer necessarily
  917. siblings. Each physical line is now in a LineContainer and LineContainers are
  918. siblings. Each Line corresponds to a Line in the unified diff and has an id (e.g. line12).
  919. A Line can be a LineContainer or a child of a LineContainer.
  920. In this way, converting to side-by-side and, in the future, back to unified is non-lossy.
  921. * PrettyPatch/PrettyPatch.rb:
  922. * code-review.js:
  923. 2011-01-06 Ojan Vafai <ojan@chromium.org>
  924. Fix line context when replying to comments.
  925. * code-review.js:
  926. 2011-01-05 Ojan Vafai <ojan@chromium.org>
  927. Reviewed by Adam Barth.
  928. change the way we do comment highlighting in the code review tool
  929. https://bugs.webkit.org/show_bug.cgi?id=51971
  930. Store a space-separated list of base line IDs on each line that has
  931. comments associated with that line. This allows for overlapping comments,
  932. but more importantly, makes adding side-by-side diff support easier.
  933. * code-review.js:
  934. 2011-01-05 Ojan Vafai <ojan@chromium.org>
  935. Reviewed by Adam Barth.
  936. minor code cleanup for code review tool
  937. https://bugs.webkit.org/show_bug.cgi?id=51962
  938. Consolidates some queries to using shared functions.
  939. * code-review.js:
  940. 2011-01-05 Ojan Vafai <ojan@chromium.org>
  941. Reviewed by Adam Barth.
  942. assorted cleanups to prepare for side-by-side diffing
  943. https://bugs.webkit.org/show_bug.cgi?id=51961
  944. Mostly, use selector queries instead of assuming comments are next siblings.
  945. * code-review.js:
  946. 2011-01-05 Ojan Vafai <ojan@chromium.org>
  947. Reviewed by Adam Barth.
  948. fix message container selector for code review tool
  949. https://bugs.webkit.org/show_bug.cgi?id=51959
  950. * code-review.js:
  951. 2011-01-04 Ojan Vafai <ojan@chromium.org>
  952. Increment version number to avoid getting the cached JS file.
  953. * PrettyPatch/PrettyPatch.rb:
  954. 2010-12-15 Ojan Vafai <ojan@chromium.org>
  955. Reviewed by Adam Barth.
  956. anchor the toolbar to the bottom of the diff if the diff doesn't take a full screen of height
  957. https://bugs.webkit.org/show_bug.cgi?id=51162
  958. * PrettyPatch/PrettyPatch.rb:
  959. * code-review.js:
  960. 2011-01-01 Adam Barth <abarth@webkit.org>
  961. Reviewed by Eric Seidel.
  962. Move JavaScriptCore to Source
  963. https://bugs.webkit.org/show_bug.cgi?id=51604
  964. * PrettyPatch/PrettyPatch.rb:
  965. - Remove reference to JavaScriptCore as a source directory.
  966. 2011-01-01 Adam Barth <abarth@webkit.org>
  967. Reviewed by Eric Seidel.
  968. Move Sources to Source
  969. https://bugs.webkit.org/show_bug.cgi?id=51794
  970. * PrettyPatch/PrettyPatch.rb:
  971. 2010-12-31 Adam Barth <abarth@webkit.org>
  972. Rubber-stamped by Eric Seidel.
  973. Move PageLoadTests to PerformanceTests/PageLoad
  974. https://bugs.webkit.org/show_bug.cgi?id=51771
  975. Update list of top-level open-source directories.
  976. * PrettyPatch/PrettyPatch.rb:
  977. 2010-12-31 Adam Barth <abarth@webkit.org>
  978. Rubber-stamped by Eric Seidel.
  979. Move SunSpider into PerformanceTests
  980. https://bugs.webkit.org/show_bug.cgi?id=51769
  981. Update list of top-level open-source directories.
  982. * PrettyPatch/PrettyPatch.rb:
  983. 2010-12-26 Adam Barth <abarth@webkit.org>
  984. Reviewed by Eric Seidel.
  985. Move autotools into Sources
  986. https://bugs.webkit.org/show_bug.cgi?id=51630
  987. * PrettyPatch/PrettyPatch.rb:
  988. - Remove reference to non-existant autotools directory.
  989. 2010-12-26 Adam Barth <abarth@webkit.org>
  990. Reviewed by Eric Seidel.
  991. Move cmake into Sources
  992. https://bugs.webkit.org/show_bug.cgi?id=51631
  993. * PrettyPatch/PrettyPatch.rb:
  994. 2010-12-23 Adam Barth <abarth@webkit.org>
  995. Rubber-stamped by Eric Seidel.
  996. Move JavaScriptGlue into Sources
  997. https://bugs.webkit.org/show_bug.cgi?id=51583
  998. PrettyPatch keeps a list of the top-level directories that exist in
  999. trac.
  1000. * PrettyPatch/PrettyPatch.rb:
  1001. 2010-12-20 Adam Barth <abarth@webkit.org>
  1002. One more tweak caused by moving the web sites around. I had this
  1003. change in my patch originally, but I missed it because I had to use
  1004. server-side svn move commands to move the bulk of the web site files.
  1005. * PrettyPatch/PrettyPatch.rb:
  1006. 2010-12-18 Adam Barth <abarth@webkit.org>
  1007. Reviewed by Sam Weinig.
  1008. Move WebKitExamplePlugins to Examples
  1009. https://bugs.webkit.org/show_bug.cgi?id=51291
  1010. * PrettyPatch/PrettyPatch.rb:
  1011. 2010-12-17 Dan Bernstein <mitz@apple.com>
  1012. Reviewed by Simon Fraser.
  1013. Rename WebKitTools to Tools
  1014. https://bugs.webkit.org/show_bug.cgi?id=49861
  1015. * PrettyPatch/PrettyPatch.rb:
  1016. * committers-autocomplete.js:
  1017. 2010-12-17 Ojan Vafai <ojan@chromium.org>
  1018. Increment psuedo-version number to avoid pulling cached version.
  1019. * PrettyPatch/PrettyPatch.rb:
  1020. 2010-12-17 Ojan Vafai <ojan@chromium.org>
  1021. Speculative fix for the code review tool in Firefox.
  1022. Fixes a JS error and makes the status bubble mostly work
  1023. if postMessage is not supported.
  1024. * PrettyPatch/PrettyPatch.rb:
  1025. * code-review.js:
  1026. 2010-12-15 Ojan Vafai <ojan@chromium.org>
  1027. Reviewed by Adam Barth.
  1028. size status bubble to it's contents on the code review page
  1029. https://bugs.webkit.org/show_bug.cgi?id=51142
  1030. * PrettyPatch/PrettyPatch.rb:
  1031. * code-review.js:
  1032. 2010-12-15 Ojan Vafai <ojan@chromium.org>
  1033. Reviewed by Adam Barth.
  1034. fix goofups from r74142 and r74130
  1035. https://bugs.webkit.org/show_bug.cgi?id=51146
  1036. Accidentally shrank the inline comment boxes and made
  1037. the toolbar not show up when there were image diffs.
  1038. * PrettyPatch/PrettyPatch.rb:
  1039. * code-review.js:
  1040. 2010-12-14 Ojan Vafai <ojan@chromium.org>
  1041. Reviewed by Adam Barth.
  1042. add ability to view for file context to the review tool
  1043. https://bugs.webkit.org/show_bug.cgi?id=51057
  1044. At the beginning/end of each file diff and between each
  1045. hunk add links to expand the context. For now it grabs the
  1046. tip of tree version of the file and tries to apply the diff
  1047. to that file. If it can't apply, then it gives up as we
  1048. wouldn't want to show the wrong lines of context.
  1049. In the future, we can consider adding the upload svn revision
  1050. to the diff itself, then we could fallback to the file at that
  1051. revision if tip of tree doesn't apply.
  1052. * PrettyPatch/PrettyPatch.rb:
  1053. * code-review.js:
  1054. 2010-12-08 Ojan Vafai <ojan@chromium.org>
  1055. Reviewed by Adam Barth.
  1056. [reviewtool] should always show overall comments text box
  1057. https://bugs.webkit.org/show_bug.cgi?id=45870
  1058. * PrettyPatch/PrettyPatch.rb:
  1059. * code-review.js:
  1060. 2010-12-04 Patrick Gansterer <paroga@webkit.org>
  1061. Reviewed by Adam Barth.
  1062. Increase size of status bubbles
  1063. https://bugs.webkit.org/show_bug.cgi?id=50496
  1064. The current available space isn't enough to display all
  1065. pending results including position in the queue.
  1066. * PrettyPatch/PrettyPatch.rb:
  1067. 2010-12-04 Patrick Gansterer <paroga@webkit.org>
  1068. Reviewed by Adam Barth.
  1069. Increase size of status bubbles
  1070. https://bugs.webkit.org/show_bug.cgi?id=50496
  1071. The current available space isn't enough to display all
  1072. pending results including position in the queue.
  1073. * template/en/custom/attachment/edit.html.tmpl:
  1074. * template/en/custom/attachment/list.html.tmpl:
  1075. * template/en/custom/attachment/reviewform.html.tmpl:
  1076. 2010-11-08 Adam Barth <abarth@webkit.org>
  1077. Update help text to match behavior change.
  1078. * code-review.js:
  1079. 2010-11-08 Adam Barth <abarth@webkit.org>
  1080. Reviewed by Eric Seidel.
  1081. Restore normal meaning of double-click on patch review page?
  1082. https://bugs.webkit.org/show_bug.cgi?id=47641
  1083. After this patch, you need to click on the line numbers to add a
  1084. comment.
  1085. * PrettyPatch/PrettyPatch.rb:
  1086. * code-review.js:
  1087. 2010-10-09 Adam Barth <abarth@webkit.org>
  1088. Reviewed by Alexey Proskuryakov.
  1089. Exception in committers-autocomplete in Firefox
  1090. https://bugs.webkit.org/show_bug.cgi?id=47456
  1091. Remove dependency on a WebKit-only quirk. IMHO, this quirk is bad for
  1092. the long-term health of the web, but that's a discussion for another
  1093. patch.
  1094. * committers-autocomplete.js:
  1095. 2010-10-08 Adam Barth <abarth@webkit.org>
  1096. Reviewed by Oliver Hunt.
  1097. Bugmail for new attachments should link to the reviewtool
  1098. https://bugs.webkit.org/show_bug.cgi?id=47440
  1099. As requested by olliej himself. This patch was constructed by pure
  1100. reason. I have no way to actually run this code.
  1101. * Bugzilla/BugMail.pm:
  1102. 2010-09-28 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  1103. Reviewed by Csaba Osztrogonác.
  1104. Convert verbatim unicode values in comitter names to characters
  1105. * committers-autocomplete.js:
  1106. 2010-09-24 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  1107. Reviewed by Csaba Osztrogonác.
  1108. Support Unicode-strings in committers-autocomplete script
  1109. * committers-autocomplete.js:
  1110. 2010-09-22 Adam Barth <abarth@webkit.org>
  1111. Reviewed by John Sullivan.
  1112. New review-page design doesn't include name of reviewer
  1113. https://bugs.webkit.org/show_bug.cgi?id=46271
  1114. * PrettyPatch/PrettyPatch.rb:
  1115. * code-review.js:
  1116. 2010-09-22 Adam Barth <abarth@webkit.org>
  1117. Fix typo in CSS.
  1118. * PrettyPatch/PrettyPatch.rb:
  1119. 2010-09-22 Adam Barth <abarth@webkit.org>
  1120. Reviewed by Eric Seidel.
  1121. Add link to bug to review page
  1122. https://bugs.webkit.org/show_bug.cgi?id=46192
  1123. To make room for the link, I moved the help text to the top of the page
  1124. and tweaked the language to help folks discover that you can select
  1125. context using the line numbers.
  1126. Also, move more text to sans-serif since that fits in better with the
  1127. pretty-patch fonts.
  1128. * PrettyPatch/PrettyPatch.rb:
  1129. * code-review.js:
  1130. 2010-09-21 Adam Barth <abarth@webkit.org>
  1131. Unreviewed.
  1132. [reviewtool] Publish button doesn't work
  1133. https://bugs.webkit.org/show_bug.cgi?id=46168
  1134. Darin's recent patch had a runtime error. Sadly, we don't have any
  1135. testing for this code.
  1136. * code-review.js:
  1137. 2010-09-20 Darin Adler <darin@apple.com>
  1138. Reviewed by Adam Barth.
  1139. Add Preview button and link to bug to patch review bar
  1140. https://bugs.webkit.org/show_bug.cgi?id=46153
  1141. * PrettyPatch/PrettyPatch.rb: Bump version number to make caches happy.
  1142. * code-review.js: Added Preview button and link to bug.
  1143. 2010-09-19 Adam Barth <abarth@webkit.org>
  1144. Reviewed by Eric Seidel.
  1145. [reviewtool] Publish button should actually publish the review comments
  1146. https://bugs.webkit.org/show_bug.cgi?id=46074
  1147. Instead of showing the confirmation lightbox, the Publish button now
  1148. publishes the comments directly. If there's demand for a "Preview"
  1149. button, we can find a way to add that feature.
  1150. * code-review.js:
  1151. 2010-09-19 Adam Barth <abarth@webkit.org>
  1152. Reviewed by Eric Seidel.
  1153. Move reviewtool to action=review
  1154. https://bugs.webkit.org/show_bug.cgi?id=46071
  1155. This patch removes the old Review Patch screen and moves the new
  1156. reviewtool from Pretty Diff to Review Patch.
  1157. * attachment.cgi:
  1158. * code-review.js:
  1159. 2010-09-19 Adam Barth <abarth@webkit.org>
  1160. Review tool UI tweak. This patch lengthens the status bubbles so all
  1161. the bubble fit (even when they have numbers inside).
  1162. * PrettyPatch/PrettyPatch.rb:
  1163. 2010-09-19 Dan Bernstein <mitz@apple.com>
  1164. Reviewed by Anders Carlsson.
  1165. Fixed a typo.
  1166. * code-review.js: Changed the label of the OK button from Ok to OK.
  1167. 2010-09-15 Adam Barth <abarth@webkit.org>
  1168. Unreviewed.
  1169. Only show the review-in-context link if there are contextual comments.
  1170. * code-review.js:
  1171. 2010-09-15 Adam Barth <abarth@webkit.org>
  1172. Reviewed by Eric Seidel.
  1173. [reviewtool] Show the status bubbles on the toolbar
  1174. https://bugs.webkit.org/show_bug.cgi?id=45861
  1175. * PrettyPatch/PrettyPatch.rb:
  1176. * code-review.js:
  1177. 2010-09-15 Adam Barth <abarth@webkit.org>
  1178. Reviewed by Eric Seidel.
  1179. [reviewtool] Allow setting review and commit-queue flags from main review screen
  1180. https://bugs.webkit.org/show_bug.cgi?id=45860
  1181. This patch adds drop down menus for adjusting the review and
  1182. commit-queue flags from the main review screen. These controls don't
  1183. appear immediately because we need to read the state of the flags off
  1184. the details page.
  1185. It's a slight sadness that bugzilla doesn't have a clean way of
  1186. identifying which select control is associated with a given flag. The
  1187. flags seem to have some sort of id, but it's unclear to me how to map
  1188. that id back to a notion of "review" or "commit-queue". Instead, we
  1189. look for some magic strings in the title. I'm sure this will come back
  1190. to bit us at some point, but I'm not sure what to do that's better.
  1191. (The webkitpy solution to this problem is to assume that the flags are
  1192. in a given order, but this seems better.)
  1193. * PrettyPatch/PrettyPatch.rb:
  1194. - Bump version number to bust throuh caches.
  1195. * code-review.js:
  1196. 2010-09-15 Adam Barth <abarth@webkit.org>
  1197. Reviewed by Eric Seidel.
  1198. [reviewtool] Comments should quote previous comments on the same line
  1199. https://bugs.webkit.org/show_bug.cgi?id=45847
  1200. Now when you reply to a previous comment, the tool will quote the
  1201. previous comment in the bugs.webkit.org post. This makes it eaiser for
  1202. folks following along in email to understand the discussion.
  1203. While I was editing this code, I also cleaned up some of the whitespace
  1204. handling in comments.
  1205. * code-review.js:
  1206. 2010-09-15 Adam Barth <abarth@webkit.org>
  1207. Minor UI tweak to the review tool. We want to display newlines in
  1208. previous and frozen comments instead of collapsing them.
  1209. * PrettyPatch/PrettyPatch.rb:
  1210. 2010-09-14 Adam Barth <abarth@webkit.org>
  1211. Reviewed by Eric Seidel.
  1212. bugs.webkit.org should autocomplete WebKit Committers and Reviewers
  1213. https://bugs.webkit.org/show_bug.cgi?id=45799
  1214. This patch implements an autocomplete dropdown that helps users type
  1215. the names of WebKit committers and reviewers. The script grabs the
  1216. data from SVN now that wms set up CORS for http://svn.webkit.org.
  1217. Security technology for the win.
  1218. This script is based on (well, essentially copied from) the popular
  1219. autocomplete extension:
  1220. https://chrome.google.com/extensions/detail/olaabhcgdogcbcoiolomlcodkngnemfb
  1221. I asked Ojan, and said he was fine licensing the code under the BSD
  1222. license. I'm not sure how the patch interacts with the extension, but
  1223. we can retire the extension if they interact poorly.
  1224. * committers-autocomplete.js: Added.
  1225. * template/en/default/global/footer.html.tmpl:
  1226. - Add the script to every page on bugs.webkit.org
  1227. 2010-09-14 Adam Barth <abarth@webkit.org>
  1228. Add a license block to the reviewtool. I should have added this from
  1229. the start. According to the SVN log, I'm the only one to have ever
  1230. touched this file.
  1231. * code-review.js:
  1232. 2010-09-07 Adam Barth <abarth@webkit.org>
  1233. Minor tweaks to the reviewtool UI.
  1234. Rename Cancel to Discard to make it more clear what the button does.
  1235. Also, move the style declaration for the focus ring later in the sheet
  1236. so it works.
  1237. * PrettyPatch/PrettyPatch.rb:
  1238. * code-review.js:
  1239. 2010-09-06 Adam Barth <abarth@webkit.org>
  1240. Small UI tweak to the reviewtool. Make the Ok/Cancel buttons a bit
  1241. bigger.
  1242. * PrettyPatch/PrettyPatch.rb:
  1243. 2010-09-06 Adam Barth <abarth@webkit.org>
  1244. Reviewed by Eric Seidel.
  1245. [reviewtool] Add a quick animation for opening/closing comment boxes
  1246. https://bugs.webkit.org/show_bug.cgi?id=45278
  1247. The 200ms animation slides in and out the line-by-line comment box.
  1248. * code-review.js:
  1249. 2010-09-06 Adam Barth <abarth@webkit.org>
  1250. Reviewed by Eric Seidel.
  1251. [reviewtool] Add a field for overall comments
  1252. https://bugs.webkit.org/show_bug.cgi?id=45273
  1253. This patch does a couple logically separate things that could be
  1254. separated into smaller patches:
  1255. 1) This patch adds an "overall comments" field where you can enter
  1256. overall comments about the patch. These comments appear at the top
  1257. of the bugzilla posting. Currently, these aren't redisplayed when
  1258. viewing the patch, but I plan to add that in a future patch.
  1259. 2) This patch renames some of the CSS classes to more consistently
  1260. follow the camelCase style that PrettyPatch uses.
  1261. 3) This patch moves the "prepare comments" button to the left of the
  1262. toolbar and renames is to "publish comments". This makes more sense
  1263. when you scroll to the bottom of the page and enter in some overall
  1264. comments.
  1265. 4) When you attempt to add a comment to a line that already has a
  1266. "frozen" comment, we now unfreeze the comment instead of doing
  1267. nothing. The old behavior was kind of frustrating if you didn't
  1268. know that you could unfreeze a comment by clicking on it.
  1269. * PrettyPatch/PrettyPatch.rb:
  1270. - Update CSS.
  1271. * code-review.js:
  1272. 2010-09-06 Adam Barth <abarth@webkit.org>
  1273. [reviewtool] Tweak the ok button to cancel the comment if the comment
  1274. is empty. Previously we would get into a bad state where a line had a
  1275. comment but there was no longer any way to access it.
  1276. * code-review.js:
  1277. 2010-09-06 Adam Barth <abarth@webkit.org>
  1278. Reviewed by Eric Seidel.
  1279. [reviewtool] Add an "ok" button that collapses review comments
  1280. https://bugs.webkit.org/show_bug.cgi?id=45255
  1281. Many folks (including myself) are too trigger-happy with the "delete"
  1282. button that we end up deleting perfectly good review comments. This
  1283. patch adds an "ok" button to absorb these clicks (and renames "delete"
  1284. to "cancel"). When you click the ok button, the comment becomes
  1285. non-editable and the box shrinks to fit the text. You can click the
  1286. text to get back to the editable version.
  1287. * code-review.js:
  1288. 2010-08-31 Adam Barth <abarth@webkit.org>
  1289. Reviewed by Eric Seidel.
  1290. [reviewtool] Make it easy to scroll through review comments
  1291. https://bugs.webkit.org/show_bug.cgi?id=45002
  1292. This patch lets you scroll through review comments using "n" (for next)
  1293. and "p" (for previous). It also attributes comments to their authors.
  1294. * PrettyPatch/PrettyPatch.rb:
  1295. * code-review.js:
  1296. 2010-08-31 Adam Barth <abarth@webkit.org>
  1297. Reviewed by Eric Seidel.
  1298. [reviewtool] Show previous comments inline in diff
  1299. https://bugs.webkit.org/show_bug.cgi?id=44977
  1300. This patch adds basic support for showing previous comments inline in
  1301. the diff. We crawl the bugs.webkit.org comments about this attachment
  1302. and extract comments related to specific lines. We then show the
  1303. comments inline in the diff.
  1304. This part of the tool needs a bunch of polish, but this at least is a
  1305. starting point for further work.
  1306. * PrettyPatch/PrettyPatch.rb:
  1307. * code-review.js:
  1308. 2010-08-31 Adam Barth <abarth@webkit.org>
  1309. Reviewed by Eric Seidel.
  1310. [reviewtool] Allow reviewer to select lines of context by dragging over the line numbers
  1311. https://bugs.webkit.org/show_bug.cgi?id=44936
  1312. * PrettyPatch/PrettyPatch.rb:
  1313. - Add a version number to bust through bugs.webkit.org's aggressive
  1314. cacheing.
  1315. * code-review.js:
  1316. 2010-08-30 Adam Barth <abarth@webkit.org>
  1317. Reviewed by Eric Seidel.
  1318. [review tool] Let reviewer select how much context to show in snippet
  1319. https://bugs.webkit.org/show_bug.cgi?id=44905
  1320. We now highlight the context for a comment in yellow on the left (where
  1321. the line numbers are). Clicking a line number expands or contracts the
  1322. amount of context, as appropriate. Informal user testing indicates
  1323. that we might want to support drag as well.
  1324. This patch also changes the "open a comment box here" action to
  1325. double-click to avoid issues with mis-clicks.
  1326. * PrettyPatch/PrettyPatch.rb:
  1327. * code-review.js:
  1328. 2010-08-29 Adam Barth <abarth@webkit.org>
  1329. Attempt to make Sam's life easier by not opening a comment text field
  1330. if there's a selection. This should make it easier to copy/paste text
  1331. out of the diff without accidentally opening comment boxes.
  1332. * code-review.js:
  1333. 2010-08-29 Adam Barth <abarth@webkit.org>
  1334. Turns out we're supposed to use find instead of children here.
  1335. * code-review.js:
  1336. 2010-08-29 Adam Barth <abarth@webkit.org>
  1337. Reviewed by Eric Seidel.
  1338. Awesomify pretty-diff based review tool
  1339. https://bugs.webkit.org/show_bug.cgi?id=44835
  1340. This patch replaces the existing inline comment feature with a new
  1341. implementation. Hopefully the new implementation is more awesome.
  1342. It's not 100% done yet, but I'd like to get this version out there to
  1343. see how it works.
  1344. Unlike the previous version this version works with the "Formatted
  1345. Diff" link instead of the "Review Patch" link. Hopefully that will
  1346. avoid interfering with folks who like the old style review.
  1347. * PrettyPatch/PrettyPatch.rb:
  1348. * code-review.js: Added.
  1349. * prototype.js: Removed.
  1350. 2010-08-19 Tony Chang <tony@chromium.org>
  1351. Reviewed by Adam Barth.
  1352. webkit-patch barfed on upload with a new image test result
  1353. https://bugs.webkit.org/show_bug.cgi?id=39097
  1354. * PrettyPatch/PrettyPatch.rb: don't use full path to git
  1355. 2010-08-19 Tony Chang <tony@chromium.org>
  1356. Unreviewed, setting svn:eol-style native on ChangeLog.
  1357. 2010-08-19 Tony Chang <tony@chromium.org>
  1358. Unreviewed. Just removing \r's from ChangeLog.
  1359. 2010-08-02 Adam Roben <aroben@apple.com>
  1360. Tell the patch prettifier about some (not so) new directories
  1361. * PrettyPatch/PrettyPatch.rb: Added WebKit2, autotools, and cmake
  1362. directories.
  1363. 2010-07-27 Joseph Pecoraro <joepeck@webkit.org>
  1364. Reviewed by David Kilzer.
  1365. Provide a Helpful Link for Web Inspector Bugs in Bugzilla
  1366. https://bugs.webkit.org/show_bug.cgi?id=43065
  1367. * template/en/custom/global/choose-product.html.tmpl: Added. Explicitly added a link for the Web Inspector.
  1368. 2010-06-09 Julie Parent <jparent@chromium.org>
  1369. Reviewed by David Kilzer.
  1370. Bugzilla: Don't send mail for cancel/deny/granted for in-rietveld.
  1371. https://bugs.webkit.org/show_bug.cgi?id=40345
  1372. * Bugzilla/Flag.pm:
  1373. 2010-05-17 Julie Parent <jparent@chromium.org>
  1374. Reviewed by Ojan Vafai.
  1375. Rietveld review page should dedicate more space to Rietveld, less to high level comments form.
  1376. https://bugs.webkit.org/show_bug.cgi?id=39244
  1377. * template/en/custom/attachment/reviewform.html.tmpl:
  1378. Delete a random BR amongst the hidden elements that was causing extra whitespace.
  1379. * template/en/custom/attachment/rietveldreview.html.tmpl:
  1380. Increase size of Rietveld frame to 80%, from 60%.
  1381. 2010-05-14 Julie Parent <jparent@chromium.org>
  1382. Reviewed by Ojan Vafai.
  1383. Bugzilla: Only show "Rietveld Review" link when in-rietveld is set to +.
  1384. https://bugs.webkit.org/show_bug.cgi?id=39141
  1385. * template/en/custom/attachment/list.html.tmpl:
  1386. 2010-05-13 Julie Parent <jparent@chromium.org>
  1387. Reviewed by David Kilzer.
  1388. Bugzilla: Don't send mail if the only change is to the in-rietveld flag.
  1389. https://bugs.webkit.org/show_bug.cgi?id=39090
  1390. * Bugzilla/BugMail.pm:
  1391. 2010-05-12 Julie Parent <jparent@chromium.org>
  1392. Reviewed by Ojan Vafai.
  1393. Hide the in-rietveld flag in the UI. It is only used only by tooling and shouldn't clutter the UI.
  1394. https://bugs.webkit.org/show_bug.cgi?id=39024
  1395. * template/en/custom/attachment/list.html.tmpl:
  1396. Removes this flag entirely from the UI, not needed on this page.
  1397. * template/en/custom/flag/list.html.tmpl: Added.
  1398. Copied from template/en/default/flag/list.html.tmpl with only changes inside the if WEBKIT_CHANGES section.
  1399. Hides the flag rather than removing it completely, so tools can still interact with it.
  1400. 2010-05-12 Julie Parent <jparent@chromium.org>
  1401. Reviewed by David Kilzer.
  1402. Adds support for Rietveld reviews. When there is an associated
  1403. Rietveld id for a patch, adds a link to do a Rietveld review instead.
  1404. https://bugs.webkit.org/show_bug.cgi?id=38143
  1405. * attachment.cgi:
  1406. Added support for handling action=rietveldreview.
  1407. * template/en/custom/attachment/list.html.tmpl:
  1408. Adds a link to use rietveld review iff the in_rietveld flag is set.
  1409. * template/en/custom/attachment/reviewform.html.tmpl:
  1410. Detects if we are in rietveld review mode due to query string paramter,
  1411. and customizes the review form slightly:
  1412. - Changes text describing comment field.
  1413. - Comment field does not include quoted patch.
  1414. - Submit button fetches from Rietveld instead of just submitting.
  1415. * template/en/custom/attachment/rietveldreview.html.tmpl: Added.
  1416. New template for rietveldreview mode. Hosts the rietveld frame in the
  1417. top and the regular comments form in the bottom.
  1418. Uses postMessage to communicate with Rietveld frame.
  1419. 2010-05-08 Chris Jerdonek <cjerdonek@webkit.org>
  1420. Reviewed by Maciej Stachowiak.
  1421. Allow long comment lines to wrap to the window width instead
  1422. of to 80 characters.
  1423. https://bugs.webkit.org/show_bug.cgi?id=37792
  1424. * Bugzilla/Constants.pm:
  1425. - Introduced a new constant COMMENT_COLS_WRAP to replace COMMENT_COLS
  1426. inside the wrap_comment() subroutine. The new constant effectively
  1427. disables text wrapping by increasing the value used in wrap_comment()
  1428. from 80 characters to a very large value (8000).
  1429. * Bugzilla/Util.pm:
  1430. - Replaced COMMENT_COLS with COMMENT_COLS_WRAP inside wrap_comment().
  1431. * skins/custom/global.css:
  1432. (.bz_comment_text):
  1433. - Eliminate the width styling on comments to allow long lines
  1434. to wrap at the window width.
  1435. (.bz_comment_text > span.quote):
  1436. - Inherit the "white-space" property. This prevents long quoted
  1437. lines in comments from causing non-quoted lines to extend beyond
  1438. the window width.
  1439. 2010-04-22 Adam Barth <abarth@webkit.org>
  1440. Reviewed by Darin Adler.
  1441. The new review tools shouldn't clear the comment box automatically
  1442. https://bugs.webkit.org/show_bug.cgi?id=38004
  1443. Instead, we now have a button for doing that explicitly. If people
  1444. like this tool, we can look at fancier solutions.
  1445. Also, tried to make the tool work on the edit page as well as the review page.
  1446. * PrettyPatch/PrettyPatch.rb:
  1447. 2010-04-22 Adam Barth <abarth@webkit.org>
  1448. Unreviewed. Turns out we need to do more escaping because Ruby was
  1449. explanding our newlines, creating a syntax error.
  1450. * PrettyPatch/PrettyPatch.rb:
  1451. 2010-04-22 Adam Barth <abarth@webkit.org>
  1452. Reviewed by Darin Adler.
  1453. Hack up PrettyDiff to allow line-by-line comments
  1454. https://bugs.webkit.org/show_bug.cgi?id=37886
  1455. Admittedly a bit of a hack, this is a basic line-by-line editor we can
  1456. play with thanks to Andrew Scherkus. It's meant to integrate with the
  1457. "review" page at bugs.webkit.org.
  1458. I changed a few things from Andrew's original version:
  1459. 1) Trigger text boxes on single click to make iPhone/iPad reviewing
  1460. easier.
  1461. 2) Clear the main text box on load.
  1462. 3) Reference a version of prototype.js on bugs.webkit.org.
  1463. * PrettyPatch/PrettyPatch.rb:
  1464. * prototype.js: Added.
  1465. 2010-02-22 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  1466. Reviewed by Maciej Stachowiak.
  1467. Don't reset the assignee back to default on component change
  1468. https://bugs.webkit.org/show_bug.cgi?id=35236
  1469. There's a risk of reseting a valid assignee for example when
  1470. triaging a bug. All components in WebKit have the default
  1471. assignee set to webkit-unassigned@webkit.org so this should
  1472. not cause problems for people relying on this functionality.
  1473. * template/en/custom/bug/edit.html.tmpl:
  1474. 2010-01-22 Janusz Lewandowski <lew21@xtreeme.org>
  1475. Reviewed by Maciej Stachowiak.
  1476. run-webkit-tests fails on Ruby 1.9
  1477. https://bugs.webkit.org/show_bug.cgi?id=33554
  1478. inject does not work with strings any more, so BugsSite/PrettyPatch/PrettyPatch.rb prints lots of errors.
  1479. * PrettyPatch/PrettyPatch.rb:
  1480. 2010-01-20 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
  1481. Reviewed by Adam Barth.
  1482. Adjust height of status-bubbles to prevent them being cut.
  1483. * template/en/custom/attachment/edit.html.tmpl:
  1484. * template/en/custom/attachment/list.html.tmpl:
  1485. * template/en/custom/attachment/reviewform.html.tmpl:
  1486. 2010-01-08 David Kilzer <ddkilzer@apple.com>
  1487. <http://webkit.org/b/33410> Fix "View Plain Diff"/"View Formatted Diff" button
  1488. Reviewed by Adam Barth.
  1489. This button was broken during a previous Bugzilla upgrade after
  1490. changes were made to the names of objects exposed on templates.
  1491. * template/en/custom/attachment/reviewform.html.tmpl: Changed
  1492. attachid to attachment.id and ispatch to attachment.ispatch.
  1493. Also tweaked the format to use 4 table columns instead of 5.
  1494. 2010-01-08 David Kilzer <ddkilzer@apple.com>
  1495. Included UNCONFIRMED bugs by default in advanced search query
  1496. Rubber-stamped by Alexey Proskuryakov.
  1497. * data/params: Prepended 'bug_status=UNCONFIRMED&' to
  1498. 'defaultquery' parameter.
  1499. 2010-01-08 David Kilzer <ddkilzer@apple.com>
  1500. FIX: Make patch status appear on reviewform.html.tmpl
  1501. * template/en/custom/attachment/reviewform.html.tmpl: Check
  1502. attachment.ispatch (not just ispatch) when deciding whether
  1503. to display patch status. Also update layout a bit.
  1504. 2010-01-08 David Kilzer <ddkilzer@apple.com>
  1505. Update data/params parameters
  1506. * data/params: Updated 'timezone' to turn off DST. Updated
  1507. 'usebugaliases' and 'usevotes' to turn them off.
  1508. 2010-01-08 Adam Barth <abarth@webkit.org>
  1509. Reviewed by Darin Adler.
  1510. Show patch status in bugs.webkit.org
  1511. https://bugs.webkit.org/show_bug.cgi?id=33368
  1512. This patch adds an iframe to the show_bug page and the edit attachment
  1513. page that displays whether the attachment passed the various bots.
  1514. * template/en/custom/attachment/edit.html.tmpl:
  1515. * template/en/custom/attachment/list.html.tmpl:
  1516. * template/en/custom/attachment/reviewform.html.tmpl:
  1517. 2009-12-07 Shinichiro Hamaji <hamaji@chromium.org>
  1518. Reviewed by David Kilzer.
  1519. Bugzilla should show images in git patches
  1520. https://bugs.webkit.org/show_bug.cgi?id=31395
  1521. Attempt to go r51748 again using --directory option of git-apply.
  1522. * PrettyPatch/PrettyPatch.rb:
  1523. 2009-12-06 Shinichiro Hamaji <hamaji@chromium.org>
  1524. Unreviewed. Revert r51748.
  1525. Bugzilla should show images in git patches
  1526. https://bugs.webkit.org/show_bug.cgi?id=31395
  1527. * PrettyPatch/PrettyPatch.rb:
  1528. 2009-12-06 Shinichiro Hamaji <hamaji@chromium.org>
  1529. Reviewed by David Kilzer.
  1530. Bugzilla should show images in git patches
  1531. https://bugs.webkit.org/show_bug.cgi?id=31395
  1532. Show images in git patches using git-apply.
  1533. * PrettyPatch/PrettyPatch.rb:
  1534. 2009-10-23 Eric Seidel <eric@webkit.org>
  1535. Reviewed by Adam Roben.
  1536. PrettyPatch should show images even when they have the wrong mime type
  1537. https://bugs.webkit.org/show_bug.cgi?id=29506
  1538. * PrettyPatch/PrettyPatch.rb:
  1539. 2009-10-17 Alexey Proskuryakov <ap@apple.com>
  1540. Reviewed by Eric Carlson.
  1541. https://bugs.webkit.org/show_bug.cgi?id=30470
  1542. Make marking a bug as duplicate easier
  1543. * js/field.js: (setResolutionToDuplicate): Focus the edit field, too.
  1544. 2009-10-16 Alexey Proskuryakov <ap@apple.com>
  1545. Reviewed by Mark Rowe.
  1546. https://bugs.webkit.org/show_bug.cgi?id=30470
  1547. Make marking a bug as duplicate easier
  1548. * js/field.js: (setResolutionToDuplicate): Show edit field right away, don't make the user
  1549. click again.
  1550. 2009-09-09 David Kilzer <ddkilzer@apple.com>
  1551. Update data/params parameters
  1552. * data/params: Updated 'attachment_base' parameter for secure
  1553. attachments. Updated 'mybugstemplate' parameter to search for
  1554. bugs in UNCONFIRMED, ASSIGNED and REOPENED status in addition to
  1555. NEW status.
  1556. 2009-08-11 David Kilzer <ddkilzer@apple.com>
  1557. Updated data/params parameter
  1558. * data/params: Updated 'loginnetmask' parameter to allow users
  1559. to choose whether their cookies are restricted to a single IP
  1560. address or not.
  1561. 2009-07-07 David Kilzer <ddkilzer@apple.com>
  1562. Updated BugsSite with local changes on server
  1563. The new files were created by checksetup.pl during the upgrade
  1564. to Bugzilla 3.2.3. The rest are self-explanatory.
  1565. * data: Added "bugzilla-update.xml" to svn:ignore.
  1566. * data/attachments: Added "groups.*" to svn:ignore.
  1567. * data/params: Updated for a few changed parameters.
  1568. * lib/.htaccess: Added.
  1569. * skins/contrib/Dusk/IE-fixes.css: Added.
  1570. * skins/contrib/Dusk/admin.css: Added.
  1571. * skins/contrib/Dusk/create_attachment.css: Added.
  1572. * skins/contrib/Dusk/dependency-tree.css: Added.
  1573. * skins/contrib/Dusk/duplicates.css: Added.
  1574. * skins/contrib/Dusk/editusers.css: Added.
  1575. * skins/contrib/Dusk/help.css: Added.
  1576. * skins/contrib/Dusk/index.css: Added.
  1577. * skins/contrib/Dusk/panel.css: Added.
  1578. * skins/contrib/Dusk/params.css: Added.
  1579. * skins/contrib/Dusk/release-notes.css: Added.
  1580. * skins/contrib/Dusk/show_bug.css: Added.
  1581. * skins/contrib/Dusk/show_multiple.css: Added.
  1582. * skins/contrib/Dusk/summarize-time.css: Added.
  1583. * skins/contrib/Dusk/voting.css: Added.
  1584. * skins/contrib/Dusk/yui: Added.
  1585. * skins/contrib/Dusk/yui/calendar.css: Added.
  1586. * skins/custom/IE-fixes.css: Added.
  1587. * skins/custom/admin.css: Added.
  1588. * skins/custom/buglist.css: Added.
  1589. * skins/custom/create_attachment.css: Added.
  1590. * skins/custom/dependency-tree.css: Added.
  1591. * skins/custom/duplicates.css: Added.
  1592. * skins/custom/editusers.css: Added.
  1593. * skins/custom/help.css: Added.
  1594. * skins/custom/panel.css: Added.
  1595. * skins/custom/params.css: Added.
  1596. * skins/custom/release-notes.css: Added.
  1597. * skins/custom/show_bug.css: Added.
  1598. * skins/custom/show_multiple.css: Added.
  1599. * skins/custom/summarize-time.css: Added.
  1600. * skins/custom/voting.css: Added.
  1601. * skins/custom/yui: Added.
  1602. * skins/custom/yui/calendar.css: Added.
  1603. 2009-07-03 David Kilzer <ddkilzer@apple.com>
  1604. Bug 26958: Change edit link to review link in request messages
  1605. <https://bugs.webkit.org/show_bug.cgi?id=26958>
  1606. Reviewed by Dan Bernstein.
  1607. * template/en/custom/request/email.txt.tmpl: Copied from BugsSite/template/en/default/request/email.txt.tmpl.
  1608. Changed link from "action=edit" to "action=review".
  1609. 2009-07-03 David Kilzer <ddkilzer@apple.com>
  1610. Bug 26950: Make the summary and alias fields support click-to-edit
  1611. <https://bugs.webkit.org/show_bug.cgi?id=26950>
  1612. Reviewed by Maciej Stachowiak.
  1613. Original patch by Maciej Stachowiak.
  1614. * js/field.js:
  1615. (hideEditableField): Updated to add click event listeners to the
  1616. alias and short description elements to make them easier to
  1617. edit. Renamed field_id parameter to field2_id (short
  1618. description id) and added a field1_id parameter (alias id).
  1619. (showEditableField): If a third parameter is passed in the
  1620. ContainerInputArray parameter, use it to find the element to
  1621. focus. Otherwise, fall back to the original behavior of
  1622. focusing the first input field.
  1623. (hideAliasAndSummary): Changed to pass the id for the alias
  1624. element to hideEditableField().
  1625. 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
  1626. Config file for contrib/recode.pl when upgrading bugs.webkit.org
  1627. Current as of midday on Wednesday, July 1, 2009.
  1628. * contrib/recode-overrides.txt: Added.
  1629. 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
  1630. Workaround for WebKit Bug 9630 when running contrib/recode.pl
  1631. A number of WebKit nightly builds included Bug 9630 which caused
  1632. non-breaking space characters (0xA0) to be submitted within the
  1633. content of textarea elements.
  1634. * contrib/recode.pl: To work around these 0xA0 characters, try
  1635. an encoding of cp1252 and use it if it works.
  1636. 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
  1637. Don't print "Failed to guess" warning if an override is available
  1638. * contrib/recode.pl: Check that %overrides does NOT contain a
  1639. key matching the current digest before printing out the warning
  1640. about a failed charset guess.
  1641. 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
  1642. Added --[no-]truncate switch to contrib/recode.pl
  1643. * contrib/recode.pl: Added --[no-]truncate switch to make
  1644. debugging of failed charset guessing easier. Often times the
  1645. illegal character was truncated in the output.
  1646. 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
  1647. Changed Perl scripts to use #!/usr/bin/env perl
  1648. perl -pi -e 's@#\!/usr/bin/perl@#\!/usr/bin/env perl@' *.cgi *.pl */*.pl
  1649. 2009-07-02 David D. Kilzer <ddkilzer@apple.com>
  1650. Replace Bugzilla favicon with webkit.org favicon
  1651. * favicon.ico: Removed.
  1652. * images/favicon.ico: Replaced. Copied from favicon.ico.
  1653. 2009-07-02 David Kilzer <ddkilzer@webkit.org>
  1654. Merged BugsSite to Bugzilla-3.2.3
  1655. Updated to the latest-and-greatest stable version.
  1656. 2009-07-02 David Kilzer <ddkilzer@webkit.org>
  1657. Merged BugsSite to Bugzilla-3.0.3
  1658. Nothing to see here. Move along.
  1659. 2009-06-09 Eric Seidel <eric@webkit.org>
  1660. Reviewed by Adam Roben.
  1661. Add support for displaying added png files in PrettyPatch diffs
  1662. https://bugs.webkit.org/show_bug.cgi?id=26210
  1663. Currently this is SVN only (git-send-bugzilla patches exclude binary data)
  1664. and only works for PNG files but could easily be made to work for other images as needed.
  1665. * PrettyPatch/PrettyPatch.rb:
  1666. 2009-05-19 Eric Seidel <eric@webkit.org>
  1667. Reviewed by Adam Roben.
  1668. Make PrettyPatch understand quoted filenames in git diffs.
  1669. https://bugs.webkit.org/show_bug.cgi?id=25881
  1670. * PrettyPatch/PrettyPatch.rb:
  1671. 2009-05-15 Simon Fraser <simon.fraser@apple.com>
  1672. Carrying forwards Darin Adler's rubber stamp
  1673. Make the comment field wider too.
  1674. * skins/custom/global.css:
  1675. 2009-05-14 Simon Fraser <simon.fraser@apple.com>
  1676. Reviewed by Darin Adler
  1677. Make the URL, Summary and Keyword fields wider to mitigate the
  1678. effects of https://bugs.webkit.org/show_bug.cgi?id=25566 and make
  1679. things generally better.
  1680. * skins/custom/global.css:
  1681. * template/en/custom/bug/edit.html.tmpl:
  1682. 2008-11-10 Darin Adler <darin@apple.com>
  1683. - fix more of https://bugs.webkit.org/show_bug.cgi?id=21400
  1684. "Edit" links for patches in comments, review queue, review emails
  1685. should be replaced by "Review Patch" links
  1686. * globals.pl: Fix cases that are automatically generated, such as links
  1687. in comments in bugs.
  1688. * template/en/custom/attachment/created.html.tmpl: Fix the link on the
  1689. "I just created an attachment" page.
  1690. * template/en/custom/request/queue.html.tmpl: Fix the link in the queue
  1691. page.
  1692. 2008-11-10 Darin Adler <darin@apple.com>
  1693. * template/en/default/request/queue.html.tmpl: Use review links instead
  1694. of edit links in the review queue.
  1695. 2008-11-10 Darin Adler <darin@apple.com>
  1696. * template/en/custom/request/email.txt.tmpl: Send review links instead
  1697. of edit links when flags are set on a bug.
  1698. 2008-10-27 Darin Adler <darin@apple.com>
  1699. * template/en/custom/attachment/reviewform.html.tmpl: Leave out the
  1700. comment if it's untouched.
  1701. 2008-10-23 Adam Roben <aroben@apple.com>
  1702. Fix Bug 21401: Comments field on "Review Patch" page should be
  1703. initially filled with quoted patch
  1704. <https://bugs.webkit.org/show_bug.cgi?id=21401>
  1705. Reviewed by Dave Hyatt.
  1706. * attachment.cgi:
  1707. (edit): Retrieve the attachment data from the database instead of just
  1708. its length. When the attachment is a patch, create a quotedpatch
  1709. template variable that contains the patch data with each line
  1710. prepended with "> ".
  1711. * template/en/custom/attachment/reviewform.html.tmpl:
  1712. - Changed the comments field to have a monospace font
  1713. - Added an "Enter comments below:" caption above the comments field
  1714. to make it clearer that this is where comments should go, now that
  1715. the comments field is not initially empty
  1716. - Fill the comments field with the quoted patch
  1717. 2008-10-14 Adam Roben <aroben@apple.com>
  1718. Fix Bug 21602: Bugzilla times out trying to display formatted diff for
  1719. attachment 24345
  1720. https://bugs.webkit.org/show_bug.cgi?id=21602
  1721. Reviewed by Dave Kilzer.
  1722. * PrettyPatch/PrettyPatch.rb:
  1723. (PrettyPatch.BINARY_FILE_MARKER_FORMAT): Added.
  1724. (PrettyPatch.FileDiff.initialize): If any of the lines in the diff
  1725. are a binary file marker, mark this FileDiff as binary and stop trying
  1726. to process the lines.
  1727. (PrettyDiff.FileDiff.to_html): If we're binary, just print a string
  1728. saying so.
  1729. 2008-10-02 Adam Roben <aroben@apple.com>
  1730. * template/en/custom/attachment/reviewform.html.tmpl: Fix typo.
  1731. 2008-10-02 Adam Roben <aroben@apple.com>
  1732. * template/en/custom/attachment/review.html.tmpl: Fix URLs
  1733. 2008-10-02 Adam Roben <aroben@apple.com>
  1734. Fix Bug 21315: bugs.webkit.org should have a nicer patch review
  1735. interface
  1736. https://bugs.webkit.org/show_bug.cgi?id=21315
  1737. Reviewed by Tim Hatcher.
  1738. * attachment.cgi:
  1739. (top level): Added support for the "review" and "reviewform" actions.
  1740. (sub edit): Accept the template name as a parameter. If no name is
  1741. give, use "edit" as before.
  1742. * template/en/custom/attachment/list.html.tmpl: Added a "Review Patch"
  1743. link for all patch attachments.
  1744. * template/en/custom/attachment/review.html.tmpl: Added. Simple
  1745. <frameset> page to show the patch on the top and a comment form on the
  1746. bottom.
  1747. * template/en/custom/attachment/reviewform.html.tmpl: Added. Simple
  1748. comment form for reviewing patches.
  1749. 2008-10-02 Adam Roben <aroben@apple.com>
  1750. Remove references to some backup files I created when implementing
  1751. PrettyPatch in Bugzilla
  1752. Reviewed by Tim Hatcher.
  1753. * attachment-aroben.cgi: Removed.
  1754. * template/en/default/attachment/edit-aroben.html.tmpl: Removed.
  1755. * template/en/custom/attachment/edit.html.tmpl: Removed an erroneous
  1756. reference to attachment-aroben.cgi. attachment.cgi will work just
  1757. fine.
  1758. 2008-06-25 David Kilzer <ddkilzer@apple.com>
  1759. Make PrettyPatch handle diffs with no Index or diff headers
  1760. Part of Bug 19290: More patches not handled by PrettyPatch.rb
  1761. <https://bugs.webkit.org/show_bug.cgi?id=19290>
  1762. Reviewed by Adam.
  1763. * PrettyPatch/PrettyPatch.rb:
  1764. (PrettyPatch.DIFF_HEADER_FORMATS): Added regular expression to
  1765. match on "+++ " lines for patches with no "Index" or "diff" header.
  1766. (PrettyPatch.FileDiff.initialize): Look for filename on "+++ " line
  1767. when the first line of a patch has no "Index" or "diff" header.
  1768. (PrettyPatch.FileDiff.parse): Added haveSeenDiffHeader state
  1769. variable to determine when no "Index" or "diff" header has been
  1770. found, but a new patch has started with a "--- " line.
  1771. 2008-06-08 Dan Bernstein <mitz@apple.com>
  1772. Reviewed by Adam Roben.
  1773. - update trac URL in PrettyPatch
  1774. * PrettyPatch/PrettyPatch.rb:
  1775. 2008-05-29 Adam Roben <aroben@apple.com>
  1776. Update PrettyPatch directory list
  1777. * PrettyPatch/PrettyPatch.rb:
  1778. 2008-05-28 Adam Roben <aroben@apple.com>
  1779. Make PrettyPatch able to handle diffs taken from outside the WebKit
  1780. source tree
  1781. Part of Bug 19290: More patches not handled by PrettyPatch.rb
  1782. <https://bugs.webkit.org/show_bug.cgi?id=19290>
  1783. Reviewed by David Kilzer.
  1784. * PrettyPatch/PrettyPatch.rb:
  1785. (PrettyPatch.find_url_and_path): Added. Searches the file path from
  1786. the bottom up looking for a directory that exists in the source tree.
  1787. (PrettyPatch.linkifyFilename): Changed to call find_url_and_path.
  1788. 2008-05-28 Adam Roben <aroben@apple.com>
  1789. Print exceptions from PrettyPatch to stdout
  1790. This will make it much easier to debug problems with PrettyPatch,
  1791. since we'll be able to see the exceptions in the browser.
  1792. Reviewed by Sam Weinig.
  1793. * PrettyPatch/prettify.rb: Added a --html-exceptions option, which
  1794. will print exceptions to stdout as HTML.
  1795. * attachment.cgi: Changed to pass --html-exceptions to prettify.rb.
  1796. 2008-04-26 David Kilzer <ddkilzer@apple.com>
  1797. Removed temp files and added appropriate svn:ignore properties.
  1798. Rubber-stamped by Mark Rowe.
  1799. * data: Added svn:ignore property for "versioncache" and "versioncache.*" files.
  1800. * data/template: Added svn:ignore property for "template" subdirectory.
  1801. * data/template/template: Removed precompiled template subdirectory.
  1802. * data/versioncache: Removed.
  1803. * data/versioncache.*: Removed backup versioncache files.
  1804. * data/webdot: Added svn:ignore property for "*.dot" files.
  1805. * data/webdot/*.dot: Removed cached webdot files.
  1806. 2008-04-08 Adam Roben <aroben@apple.com>
  1807. Combine :equal operations with the following operation if they are
  1808. fewer than 3 characters long
  1809. This keeps us from showing lots of small changes on long lines, just
  1810. because some letters happened to be the same.
  1811. Inspired by
  1812. http://code.google.com/p/reviewboard/source/browse/trunk/reviewboard/diffviewer/diffutils.py?r=1264#147
  1813. * PrettyPatch/PrettyPatch.rb:
  1814. (PrettyPatch::DiffSection.initialize): Remove :equal operations fewer
  1815. than 3 characters long. The characters from the removed operations
  1816. become part of the subsequent operation.
  1817. (PrettyPatch::CodeLine.text_as_html): Don't wrap 0-length strings in
  1818. <ins>/<del> tags. Also removed the @fromLineNumber.nil? and
  1819. @toLineNumber.nil? checks as they are no longer reliable now that
  1820. we're removing operations.
  1821. 2008-04-08 Adam Roben <aroben@apple.com>
  1822. Change PrettyPatch to use DiffBuilder for intra-line diffs
  1823. This gives us much prettier intra-line diffs, largely because it can
  1824. distinguish multiple changes on the same line. e.g., if a line changes
  1825. from:
  1826. const int myConstant = 0;
  1827. to
  1828. static const unsigned myConstant;
  1829. You will see that "static " was inserted, "int" changed to "unsigned",
  1830. and " = 0" was deleted.
  1831. This seems to have also gotten rid of some spurious instances of
  1832. "<ins></ins>" and "<del></del>" at the end of a line.
  1833. * PrettyPatch/PrettyPatch.rb:
  1834. (PrettyPatch::DiffSection.initialize): Use DiffBuilder instead of
  1835. setChangeExtentFromLine (which had been copied from Trac's diffing
  1836. code).
  1837. (PrettyPatch::CodeLine):
  1838. - Removed the changeExtent attribute
  1839. - Added the operations attribute
  1840. - Removed the setChangeExtentFromLine method
  1841. (PrettyPatch::CodeLine.text_as_html): Uses @operations to determine
  1842. what text to wrap in <ins> and <del> tags.
  1843. * PrettyPatch/diff.rb: Deleted a bunch of code we don't use.
  1844. (HTMLDiff::DiffBuilder.initialize): Moved code here from the old build
  1845. method, but left out the calls to perform_operation, since we build
  1846. the diff HTML outside of this class.
  1847. (HTMLDiff::DiffBuilder.split_inputs_to_words): Removed calls to
  1848. convert_html_to_list_of_words, since we're not diffing HTML.
  1849. 2008-04-08 Adam Roben <aroben@apple.com>
  1850. Check in diff.rb
  1851. This came from
  1852. http://instiki.rubyforge.org/svn/instiki/trunk/lib/diff.rb
  1853. revision 28521
  1854. * PrettyPatch/diff.rb: Added.
  1855. 2008-03-04 Adam Roben <aroben@apple.com>
  1856. * PrettyPatch/PrettyPatch.rb: Allow the extent of the previous file to
  1857. be omitted from the hunk header.