ChangeLog 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440
  1. 2013-07-22 Lucas Forschler <lforschler@apple.com>
  2. Merge r152651
  3. 2013-07-15 Timothy Hatcher <timothy@apple.com>
  4. Properly handle style text changes while the color popover is open.
  5. https://bugs.webkit.org/show_bug.cgi?id=118575
  6. Reviewed by Joseph Pecoraro.
  7. * UserInterface/CSSStyleDeclarationTextEditor.js:
  8. (WebInspector.CSSStyleDeclarationTextEditor.prototype._colorSwatchClicked.updateCodeMirror):
  9. The original text marker might have been cleared by a style update, in this case we need to
  10. find the new color text marker so we know the right range for the new style color text.
  11. 2013-07-15 Lucas Forschler <lforschler@apple.com>
  12. Merge r152652
  13. 2013-07-15 Timothy Hatcher <timothy@apple.com>
  14. Make sure to add main resources for sub-frames to the Network Timeline.
  15. https://bugs.webkit.org/show_bug.cgi?id=118649
  16. Reviewed by Joseph Pecoraro.
  17. * UserInterface/TimelineManager.js:
  18. (WebInspector.TimelineManager.prototype._mainResourceDidChange): Remove the
  19. call to _clear() and early return for event.target.isMainFrame(). The _clear()
  20. is already handled if needed by the call to _startAutoRecording(), so it was
  21. redundant here and caused the erroneous addition of isMainFrame() early return.
  22. 2013-07-15 Lucas Forschler <lforschler@apple.com>
  23. Merge r152588
  24. 2013-07-12 Seokju Kwon <seokju.kwon@gmail.com>
  25. Web Inspector: Pass null for sidebarPanels and role in WebInspector.Sidebar()
  26. https://bugs.webkit.org/show_bug.cgi?id=118589
  27. Reviewed by Timothy Hatcher.
  28. sidebarPanels : It is necessary to get correct argument after r152141.
  29. Without this, error messages can be displayed.
  30. role : Could pass null for it since default value is "group".
  31. * UserInterface/Main.js:
  32. (WebInspector.contentLoaded):
  33. 2013-07-09 Lucas Forschler <lforschler@apple.com>
  34. Merge r152380
  35. 2013-07-03 Timothy Hatcher <timothy@apple.com>
  36. Guard remaining calls to decodeURIComponent with a try/catch.
  37. https://bugs.webkit.org/show_bug.cgi?id=118371
  38. Reviewed by Joseph Pecoraro.
  39. * UserInterface/Main.js:
  40. (WebInspector.displayNameForURL):
  41. (WebInspector.updateWindowTitle):
  42. * UserInterface/Utilities.js:
  43. (arrayResult):
  44. (queryString):
  45. 2013-07-02 Lucas Forschler <lforschler@apple.com>
  46. Merge r152199
  47. 2013-06-28 James Craig <james@cookiecrook.com>
  48. Web Inspector: AX: VoiceOver speaks all inspector search fields as 'required'
  49. https://bugs.webkit.org/show_bug.cgi?id=118122
  50. Reviewed by Timothy Hatcher.
  51. Removed bogus "required" state, and switched :valid selector to use :not(:placeholder-shown)
  52. so that screen readers will not indicate a bogus :required/:invalid state to the user.
  53. Minor cosmetic difference blocked by http://webkit.org/b/118162
  54. * UserInterface/FilterBar.css:
  55. (.filter-bar > input[type="search"]:focus):
  56. (.filter-bar > input[type="search"]:not(:placeholder-shown)):
  57. * UserInterface/FilterBar.js:
  58. (WebInspector.FilterBar):
  59. * UserInterface/ResourceSidebarPanel.js:
  60. (WebInspector.ResourceSidebarPanel):
  61. * UserInterface/SearchBar.css:
  62. (.search-bar > input[type="search"]:focus):
  63. (.search-bar > input[type="search"]:not(:placeholder-shown)):
  64. * UserInterface/SearchBar.js:
  65. (WebInspector.SearchBar):
  66. 2013-07-02 Lucas Forschler <lforschler@apple.com>
  67. Merge r152141
  68. 2013-06-27 James Craig <james@cookiecrook.com>
  69. Web Inspector: AX: Add container ARIA roles (toolbar, main, labeled regions, etc.)
  70. so the layout is more discoverable to screen reader users
  71. https://bugs.webkit.org/show_bug.cgi?id=118104
  72. Reviewed by Timothy Hatcher.
  73. Made the basic layout (toolbar, sidebars, main) of the Web Inspector understandable
  74. and navigable with VoiceOver.
  75. * Localizations/en.lproj/localizedStrings.js:
  76. * UserInterface/ButtonNavigationItem.js:
  77. * UserInterface/CSSStyleDetailsSidebarPanel.js:
  78. * UserInterface/DashboardManager.js:
  79. * UserInterface/Main.js:
  80. * UserInterface/NavigationBar.js:
  81. * UserInterface/NavigationItem.js:
  82. * UserInterface/NavigationSidebarPanel.js:
  83. * UserInterface/RadioButtonNavigationItem.js:
  84. * UserInterface/Sidebar.js:
  85. * UserInterface/SidebarPanel.js:
  86. * UserInterface/Toolbar.js:
  87. 2013-07-02 Lucas Forschler <lforschler@apple.com>
  88. Merge r152136
  89. 2013-06-27 James Craig <james@cookiecrook.com>
  90. Web Inspector: AX: Console log of the Inspector does not announce output for screen readers
  91. https://bugs.webkit.org/show_bug.cgi?id=115976
  92. Reviewed by Timothy Hatcher.
  93. Main console log area (div.console-messages) is now an ARIA live region (role="log")
  94. so screen readers speak plain text updates.
  95. Also added contextual labels (e.g. input/output) but speech output verification of
  96. those is currently blocked by http://webkit.org/b/118096
  97. * Localizations/en.lproj/localizedStrings.js:
  98. * UserInterface/ConsoleCommand.js:
  99. (WebInspector.ConsoleCommand.prototype.toMessageElement):
  100. * UserInterface/ConsoleCommandResult.js:
  101. (WebInspector.ConsoleCommandResult.prototype.toMessageElement):
  102. * UserInterface/LogContentView.css:
  103. (@media reader):
  104. * UserInterface/LogContentView.js:
  105. (WebInspector.LogContentView):
  106. 2013-07-01 Lucas Forschler <lforschler@apple.com>
  107. Merge r152200
  108. 2013-06-28 Dean Jackson <dino@apple.com>
  109. Update Apple System fonts in auto-complete
  110. https://bugs.webkit.org/show_bug.cgi?id=118205
  111. <rdar://problem/14308488>
  112. Reviewed by Joseph Pecoraro.
  113. Update for the new Apple System font names, and remove some invalid entries.
  114. * UserInterface/CSSKeywordCompletions.js: General cleanup. Note that
  115. "apple-system-short-caption2" looks like it was accidentally omitted. It wasn't :)
  116. 2013-07-01 Lucas Forschler <lforschler@apple.com>
  117. Merge r152092
  118. 2013-06-27 Matthew Holden <jftholden@yahoo.com>
  119. Web Inspector: Display color picker in popover on color swatch click
  120. https://bugs.webkit.org/show_bug.cgi?id=117919
  121. Reviewed by Timothy Hatcher.
  122. Includes fixes from second code review.
  123. * Localizations/en.lproj/localizedStrings.js:
  124. * UserInterface/CSSColorPicker.css: Added.
  125. (.colorpicker-container):
  126. (.colorpicker-fill-parent):
  127. (.colorpicker-top):
  128. (.colorpicker-color):
  129. (.colorpicker-bottom span):
  130. (.colorpicker-text):
  131. (.colorpicker-color-text-value):
  132. (.colorpicker-hue):
  133. (.colorpicker-fill):
  134. (.colorpicker-range-container):
  135. (.colorpicker-range-container *):
  136. (.colorpicker-range-container label):
  137. (.colorpicker-range-container input):
  138. (.colorpicker-saturation):
  139. (.colorpicker-value):
  140. (.colorpicker-dragger):
  141. (.colorpicker-slider):
  142. (.colorpicker-container .swatch):
  143. (.colorpicker-container .swatch-inner):
  144. * UserInterface/CSSColorPicker.js: Added.
  145. (WebInspector.CSSColorPicker.consume):
  146. (WebInspector.CSSColorPicker.move):
  147. (WebInspector.CSSColorPicker.start):
  148. (WebInspector.CSSColorPicker.stop):
  149. (WebInspector.CSSColorPicker.makeDraggable):
  150. (WebInspector.CSSColorPicker.hueDrag):
  151. (WebInspector.CSSColorPicker.colorDragStart):
  152. (WebInspector.CSSColorPicker.colorDrag):
  153. (WebInspector.CSSColorPicker.alphaDrag):
  154. (WebInspector.CSSColorPicker.colorSwatchClicked):
  155. (WebInspector.CSSColorPicker):
  156. (WebInspector.CSSColorPicker.prototype.get element):
  157. (WebInspector.CSSColorPicker.prototype.set color):
  158. (WebInspector.CSSColorPicker.prototype.get color):
  159. (WebInspector.CSSColorPicker.prototype.get outputColorFormat):
  160. (WebInspector.CSSColorPicker.prototype.get colorHueOnly):
  161. (WebInspector.CSSColorPicker.prototype.set displayText):
  162. (WebInspector.CSSColorPicker.prototype.shown):
  163. (WebInspector.CSSColorPicker.prototype._updateHelperLocations):
  164. (WebInspector.CSSColorPicker.prototype._updateDisplay):
  165. (WebInspector.CSSColorPicker.hsvaToRGBA):
  166. (WebInspector.CSSColorPicker.rgbaToHSVA):
  167. * UserInterface/CSSStyleDeclarationTextEditor.js:
  168. (WebInspector.CSSStyleDeclarationTextEditor.prototype.didDismissPopover):
  169. (WebInspector.CSSStyleDeclarationTextEditor.prototype.):
  170. (WebInspector.CSSStyleDeclarationTextEditor.prototype._createColorSwatches):
  171. (WebInspector.CSSStyleDeclarationTextEditor.prototype.event.newColorText.colorTextMarker):
  172. (WebInspector.CSSStyleDeclarationTextEditor.prototype.event.newColorText):
  173. * UserInterface/Main.html:
  174. 2013-06-27 Lucas Forschler <lforschler@apple.com>
  175. Merge r151991
  176. 2013-06-26 Antoine Quint <graouts@apple.com>
  177. Web Inspector: stepping through while paused in debugger makes a popover appear
  178. https://bugs.webkit.org/show_bug.cgi?id=117994
  179. There is no obvious need to call tokenTrackingControllerNewHighlightCandidate when the
  180. active call frame changes and it leads to an extraneous display of the popover.
  181. Reviewed by Timothy Hatcher.
  182. * UserInterface/SourceCodeTextEditor.js:
  183. (WebInspector.SourceCodeTextEditor.prototype._activeCallFrameDidChange):
  184. 2013-06-26 Lucas Forschler <lforschler@apple.com>
  185. Merge r151918
  186. 2013-06-24 Antoine Quint <graouts@apple.com>
  187. Web Inspector: WebInspector.displayNameForURL() failure prevents DOM inspection
  188. https://bugs.webkit.org/show_bug.cgi?id=117927
  189. Handle possible mis-encoded URI fragments passed to decodeURIComponent() which
  190. could prevent inspection of the DOM.
  191. Reviewed by Timothy Hatcher.
  192. * UserInterface/Main.js:
  193. (WebInspector.displayNameForURL):
  194. 2013-06-26 Lucas Forschler <lforschler@apple.com>
  195. Merge r151861
  196. 2013-06-21 Joseph Pecoraro <pecoraro@apple.com>
  197. Web Inspector: Uncaught exception when pretty printing WebInspector.Script
  198. https://bugs.webkit.org/show_bug.cgi?id=117893
  199. This was an issue with an earlier refactoring. The sourceCode is a Script,
  200. so replace the non-existent local variable "script" with "this._sourceCode".
  201. Reviewed by Timothy Hatcher.
  202. * UserInterface/SourceCodeTextEditor.js:
  203. (WebInspector.SourceCodeTextEditor.prototype.textEditorUpdatedFormatting):
  204. 2013-06-26 Lucas Forschler <lforschler@apple.com>
  205. Merge r151846
  206. 2013-06-21 Timothy Hatcher <timothy@apple.com>
  207. Stop removing and re-adding breakpoints from the backend on reload.
  208. On reload the sourceCode for breakpoints are nulled out, which fires DisplayLocationDidChange.
  209. Then the sourceCode is reassociated, firing DisplayLocationDidChange again. In these cases we
  210. don't need to update the backend, since nothing really changed.
  211. https://bugs.webkit.org/show_bug.cgi?id=117877
  212. Reviewed by Joseph Pecoraro.
  213. * UserInterface/DebuggerManager.js:
  214. (WebInspector.DebuggerManager.prototype._breakpointDisplayLocationDidChange): Return early when
  215. _ignoreBreakpointDisplayLocationDidChangeEvent is true.
  216. (WebInspector.DebuggerManager.prototype.reset): Set _ignoreBreakpointDisplayLocationDidChangeEvent.
  217. (WebInspector.DebuggerManager.prototype._associateBreakpointsWithSourceCode): Ditto.
  218. 2013-06-26 Lucas Forschler <lforschler@apple.com>
  219. Merge r151738
  220. 2013-06-19 Antoine Quint <graouts@apple.com>
  221. Web Inspector: Copying array or object output does not contain values
  222. https://bugs.webkit.org/show_bug.cgi?id=117669
  223. ConsoleCommandResult was overriding toClipboardString() but wasn't using the complex code
  224. in ConsoleMessageImpl's toClipboardString() to provide a nicely formatted output for objects.
  225. We now use a "clipboarPrefixString" property to customize the prefix used in the clipboard
  226. and, additionally, only use that prefix if we're copying more than a single message since it's
  227. the only situation where it's useful to have the ">" or "<" prefix shown. Console messages with
  228. a log level always print the level and when saving the console log using Cmd+S, all messages
  229. contain their prefix as well.
  230. Reviewed by Timothy Hatcher.
  231. * UserInterface/ConsoleCommand.js:
  232. (WebInspector.ConsoleCommand.prototype.toClipboardString):
  233. Handle the new isPrefixOptional argument.
  234. * UserInterface/ConsoleCommandResult.js:
  235. (WebInspector.ConsoleCommandResult.prototype.get clipboarPrefixString):
  236. Provide a custom "< " prefix and set "enforcesClipboardPrefixString" to false such that
  237. the prefix isn't printed out in situations when it may not.
  238. * UserInterface/ConsoleMessageImpl.js:
  239. Set "enforcesClipboardPrefixString" to true since we always want to log the log level
  240. prefix in all situations.
  241. (WebInspector.ConsoleMessageImpl.prototype.get clipboarPrefixString):
  242. Implement this new getter to return our clipboard string such that subclasses may
  243. customize it.
  244. (WebInspector.ConsoleMessageImpl.prototype.toClipboardString):
  245. Take into account both isPrefixOptional and the "enforcesClipboardPrefixString" property
  246. to only log the prefix if necessary.
  247. * UserInterface/LogContentView.js:
  248. (WebInspector.LogContentView.prototype._formatMessagesAsData):
  249. Make the logging of prefix optional when we have a single message selected and we're
  250. not saving via Cmd+S.
  251. 2013-06-18 Joseph Pecoraro <pecoraro@apple.com>
  252. Web Inspector: Infrequent uncaught exception with debugger popovers breaks inspector
  253. https://bugs.webkit.org/show_bug.cgi?id=117755
  254. Create the ZERO_SIZE and ZERO_RECT objects after we've setup the Size
  255. and Rect prototypes, so they get the expected methods. We then need to
  256. handle the ZERO_RECT case better, and not attempt to draw a background
  257. in a canvas with a 0 size, which would produce an exception.
  258. Reviewed by Timothy Hatcher.
  259. * UserInterface/Geometry.js:
  260. * UserInterface/Popover.js:
  261. (WebInspector.Popover.prototype._update):
  262. 2013-06-18 Timothy Hatcher <timothy@apple.com>
  263. If the tree outline is processing a selection currently, then don't change the selection.
  264. This is needed to allow breakpoints tree elements to be selected without jumping back to
  265. selecting the resource tree element.
  266. https://bugs.webkit.org/show_bug.cgi?id=117746
  267. Reviewed by Joseph Pecoraro.
  268. * UserInterface/Main.js:
  269. (WebInspector._revealAndSelectRepresentedObjectInNavigationSidebar):
  270. * UserInterface/TreeOutline.js:
  271. (TreeElement.prototype.select):
  272. 2013-06-18 Timothy Hatcher <timothy@apple.com>
  273. Update breakpoints to match Xcode 5.
  274. This updates the breakpoint images, line colors, and moves breakpoints toggle button
  275. to the Debugger sidebar navigation bar.
  276. https://bugs.webkit.org/show_bug.cgi?id=117723
  277. Reviewed by Joseph Pecoraro.
  278. * Localizations/en.lproj/localizedStrings.js: Updated.
  279. * UserInterface/DebuggerSidebarPanel.css: Removed custom toggle button rules.
  280. * UserInterface/DebuggerSidebarPanel.js:
  281. (WebInspector.DebuggerSidebarPanel):
  282. (WebInspector.DebuggerSidebarPanel.prototype._breakpointsToggleButtonClicked):
  283. * UserInterface/Images/Breakpoint.png: Updated.
  284. * UserInterface/Images/Breakpoints.pdf: Added.
  285. * UserInterface/Images/Breakpoint@2x.png: Updated.
  286. * UserInterface/Images/BreakpointButton.pdf: Updated.
  287. * UserInterface/Images/BreakpointInactive.png: Updated.
  288. * UserInterface/Images/BreakpointInactive@2x.png: Updated.
  289. * UserInterface/Images/BreakpointInactiveButton.pdf: Updated.
  290. * UserInterface/Images/InstructionPointer.png: Updated.
  291. * UserInterface/Images/InstructionPointer@2x.png: Updated.
  292. * UserInterface/SourceCodeTextEditor.css:
  293. (.source-code.text-editor > .CodeMirror .error): Updated background-color and removed box-shadow.
  294. (.source-code.text-editor > .CodeMirror .warning): Ditto.
  295. * UserInterface/TextEditor.css:
  296. (.text-editor > .CodeMirror .has-breakpoint .CodeMirror-linenumber::before): Changed left position to 0.
  297. (.text-editor > .CodeMirror .execution-line .CodeMirror-linenumber::after): Updated position.
  298. (.text-editor > .CodeMirror .execution-line): Updated background-color and removed box-shadow.
  299. 2013-06-13 Joseph Pecoraro <pecoraro@apple.com>
  300. <http://webkit.org/b/117615> Web Inspector: JS PrettyPrinting Should have space between "do" and "{"
  301. Reviewed by Timothy Hatcher.
  302. * UserInterface/CodeMirrorFormatters.js:
  303. 2013-06-13 Joseph Pecoraro <pecoraro@apple.com>
  304. <http://webkit.org/b/117612> Web Inspector: "Search Resource Content" should cancel when I remove all text search text
  305. Reviewed by Timothy Hatcher.
  306. * UserInterface/ResourceSidebarPanel.js:
  307. (WebInspector.ResourceSidebarPanel):
  308. (WebInspector.ResourceSidebarPanel.prototype._searchFieldInput):
  309. == Rolled over to ChangeLog-2013-06-11 ==