Web Inspector: Popover displaying "reasons for compositing" may remain on screen...
[WebKit-https.git] / Source / WebInspectorUI / ChangeLog
1 2013-09-30  Antoine Quint  <graouts@apple.com>
2
3         Web Inspector: Popover displaying "reasons for compositing" may remain on screen after selected layer is removed
4         https://bugs.webkit.org/show_bug.cgi?id=117575
5
6         Ensure the popover attached to the selected data grid node is updated when the
7         content or sort order of the Layer sidebar panel is updated.
8
9         Reviewed by Darin Adler.
10
11         * UserInterface/LayerTreeSidebarPanel.js:
12         (WebInspector.LayerTreeSidebarPanel.prototype._sortDataGrid):
13
14 2013-09-30  Antoine Quint  <graouts@apple.com>
15
16         Web Inspector: nodes can be dragged from the console log
17         https://bugs.webkit.org/show_bug.cgi?id=122105
18
19         Reviewed by Darin Adler.
20
21         Catch "dragstart" events targeting nodes hosted in a DOMTreeOutline within the console
22         log view and prevent the default logic to trigger so that these nodes can't be dragged
23         off the console as it wouldn't make sense to.
24
25         * UserInterface/DOMTreeOutline.js:
26         (WebInspector.DOMTreeOutline):
27         Create a class property to allow the CSS class name to be used in WebInspector.LogContentView.
28
29         * UserInterface/LogContentView.js:
30         (WebInspector.LogContentView):
31         (WebInspector.LogContentView.prototype._ondragstart):
32         Track the "dragstart" events in their capture phase such that, if the event target is
33         a DOM node hosted in a DOMTreeOutline, we can prevent the event from propagating and
34         cancel its default behavior such that no dragging at all is performed.
35
36 2013-09-26  Brian J. Burg  <burg@cs.washington.edu>
37
38         Web Inspector: dissociate old content views that are spliced from back/forward list
39         https://bugs.webkit.org/show_bug.cgi?id=121987
40
41         Reviewed by Timothy Hatcher.
42
43         There was a bug where old back/forward list entries were not being dissociated when
44         the newly-shown content view was already in the list. Instead, dissociation should be
45         skipped if the old list entry is not already in the list.
46
47         * UserInterface/ContentViewContainer.js:
48         (WebInspector.ContentViewContainer.prototype.showContentView):
49
50 2013-09-26  Antoine Quint  <graouts@apple.com>
51
52         Web Inspector: Activity viewer not properly reset when reloading
53         https://bugs.webkit.org/show_bug.cgi?id=121958
54
55         Reviewed by Darin Adler.
56
57         Reset the resources count and accumulated size when we detect the main frame
58         has changed, which will work with documents where there are no resources besides
59         frames in which case WebInspector.Frame.Event.AllResourcesRemoved was not fired
60         and our counts wouldn't be reset correctly.
61
62         * UserInterface/DashboardManager.js:
63         (WebInspector.DashboardManager):
64         (WebInspector.DashboardManager.prototype._mainResourceDidChange):
65
66 2013-09-26  Antoine Quint  <graouts@apple.com>
67
68         Web Inspector: Keep DOM tree expanded on page reload
69         https://bugs.webkit.org/show_bug.cgi?id=121665
70
71         Reviewed by Darin Adler.
72
73         Allow the node that was selected before reloading the page to be selected
74         at the page is reloaded. Credit goes to Joseph Pecoraro for the fix.
75
76         * UserInterface/DOMTreeContentView.js:
77         (WebInspector.DOMTreeContentView.prototype._rootDOMNodeAvailable.selectNode):
78
79 2013-09-24  Joseph Pecoraro  <pecoraro@apple.com>
80
81         Web Inspector: Using Breakpoint Actions Breaks iOS inspection
82         https://bugs.webkit.org/show_bug.cgi?id=121862
83
84         Reviewed by Timothy Hatcher.
85
86         Only use DebuggerAgent.BreakpointActionType if it is available.
87         Otherwise leave options undefined for breakpoints since the backend
88         does not support it.
89
90         * UserInterface/DebuggerManager.js:
91         (WebInspector.DebuggerManager.prototype._setBreakpoint):
92
93 2013-09-24  Joseph Pecoraro  <pecoraro@apple.com>
94
95         Web Inspector: Include iOS 7 Inspector.json Version
96         https://bugs.webkit.org/show_bug.cgi?id=121852
97
98         Reviewed by Timothy Hatcher.
99
100         * UserInterface/Legacy/7.0/InspectorBackendCommands.js: Added.
101         * Versions/Inspector-iOS-7.0.json: Added.
102
103 2013-09-24  Mark Rowe  <mrowe@apple.com>
104
105         <rdar://problem/14971518> WebKit should build against the Xcode default toolchain when targeting OS X 10.8
106
107         Reviewed by Dan Bernstein.
108
109         * Configurations/Base.xcconfig:
110
111 2013-09-24  Joseph Pecoraro  <pecoraro@apple.com>
112
113         Web Inspector: Breakpoint Actions input should disable spellchecking
114         https://bugs.webkit.org/show_bug.cgi?id=121846
115
116         Reviewed by Timothy Hatcher.
117
118         * UserInterface/BreakpointActionView.js:
119
120 2013-09-21  Timothy Hatcher  <timothy@apple.com>
121
122         Hook up the initiator info and show it in the Resource details sidebar.
123
124         https://bugs.webkit.org/show_bug.cgi?id=121741
125
126         Reviewed by Joseph Pecoraro.
127
128         * UserInterface/FrameResourceManager.js:
129         (WebInspector.FrameResourceManager.prototype.resourceRequestWillBeSent):
130         (WebInspector.FrameResourceManager.prototype.resourceRequestWasServedFromMemoryCache):
131         (WebInspector.FrameResourceManager.prototype._addNewResourceToFrame):
132         (WebInspector.FrameResourceManager.prototype._initiatorSourceCodeLocationFromPayload):
133         * UserInterface/NetworkObserver.js:
134         (WebInspector.NetworkObserver.prototype.requestWillBeSent):
135         (WebInspector.NetworkObserver.prototype.requestServedFromMemoryCache):
136         * UserInterface/Resource.js:
137         (WebInspector.Resource):
138         (WebInspector.Resource.prototype.get initiatorSourceCodeLocation):
139         * UserInterface/ResourceDetailsSidebarPanel.js:
140         (WebInspector.ResourceDetailsSidebarPanel):
141         (WebInspector.ResourceDetailsSidebarPanel.prototype._refreshURL):
142
143 2013-09-20  Timothy Hatcher  <timothy@apple.com>
144
145         Parse MIME-types and strip them down to the base type when needed.
146
147         The use of charset in a MIME-type interferes with our type maps,
148         preventing the right syntax highlighting mode and pretty printing.
149
150         https://bugs.webkit.org/show_bug.cgi?id=121723
151
152         Reviewed by Joseph Pecoraro.
153
154         * UserInterface/ConsolePrompt.js:
155         (WebInspector.ConsolePrompt):
156         * UserInterface/FontResourceContentView.js:
157         * UserInterface/Resource.js:
158         (WebInspector.Resource.Type.fromMIMEType):
159         (WebInspector.Resource.prototype.get mimeTypeComponents):
160         (WebInspector.Resource.prototype.get syntheticMIMEType):
161         (WebInspector.Resource.prototype.get contentURL):
162         (WebInspector.Resource.prototype.updateForResponse):
163         * UserInterface/ResourceDetailsSidebarPanel.js:
164         (WebInspector.ResourceDetailsSidebarPanel.prototype._refreshRequestDataSection):
165         * UserInterface/SourceMapResource.js:
166         (WebInspector.SourceMapResource.prototype.requestContentFromBackend):
167         * UserInterface/SyntaxHighlightingSupport.js:
168         (WebInspector.syntaxHighlightStringAsDocumentFragment):
169         * UserInterface/TextEditor.js:
170         (WebInspector.TextEditor.prototype.set mimeType):
171         * UserInterface/Utilities.js:
172         (parseMIMEType): Added.
173
174 2013-09-20  Marcelo Morais  <m.morais@samsung.com>
175
176         Web Inspector: Fix keyboard shortcuts for other platforms
177         https://bugs.webkit.org/show_bug.cgi?id=120657
178
179         Reviewed by Timothy Hatcher.
180
181         Handling keyboard shortcuts according to the current platform.
182
183         * UserInterface/InspectorFrontendHostStub.js:
184         (.WebInspector.InspectorFrontendHostStub.prototype.loadResourceSynchronously):
185         (.WebInspector.InspectorFrontendHostStub.prototype.platform): Added. Return the
186         current platform.
187         * UserInterface/KeyboardShortcut.js:
188         (WebInspector.KeyboardShortcut.Modifier.get CommandOrControl): Added. Created keyboard
189         modifier to return Control or Command key according to current platform.
190         * UserInterface/ContentBrowser.js:
191         (WebInspector.ContentBrowser): Returning Control or Command key for keyboard
192         shortcuts according to current platform.
193         * UserInterface/DebuggerSidebarPanel.js:
194         (WebInspector.DebuggerSidebarPanel): Ditto.
195         * UserInterface/FindBanner.js:
196         (WebInspector.FindBanner): Ditto.
197         * UserInterface/JavaScriptLogViewController.js:
198         (WebInspector.JavaScriptLogViewController): Ditto.
199         * UserInterface/LogContentView.js:
200         (WebInspector.LogContentView): Ditto.
201         * UserInterface/Main.js:
202         (WebInspector.contentLoaded): Ditto.
203         * UserInterface/ResourceSidebarPanel.js:
204         (WebInspector.ResourceSidebarPanel): Ditto.
205
206 2013-09-20  Brent Fulgham  <bfulgham@apple.com>
207
208         [Windows] Unreviewed gardening. Teach WebInspectorUI.vcxproj folder to
209         ignore Visual Studio's local user settings file.
210
211         * WebInspectorUI.vcxproj: Added property svn:ignore.
212
213 2013-09-17  Gustavo Noronha Silva  <gns@gnome.org>
214
215         [GTK] Cannot find WebInspectorUI/UserInterface/Main.html referenced in GResourceBundle.xml
216         https://bugs.webkit.org/show_bug.cgi?id=121405
217
218         Reviewed by Carlos Garcia Campos.
219
220         * GNUmakefile.am: if srcdir == builddir the WebInspectorUI variable that is used both to list
221         the dependencies of the GResourceBundle and to normalize the paths added to the XML through sed
222         replacement will end up starting with ./, which would be fine if automake did not remove that
223         from the paths in the target's dependency. We deal with that by normalizing the path we use to
224         take that quirk into account.
225
226 2013-09-17  Timothy Hatcher  <timothy@apple.com>
227
228         Clean up the Inspector's WebSocket code and prevent it from dropping messages.
229
230         https://bugs.webkit.org/show_bug.cgi?id=121391
231
232         Reviewed by Joseph Pecoraro.
233
234         * UserInterface/InspectorFrontendHostStub.js:
235         (.WebInspector.InspectorFrontendHostStub.prototype.initializeWebSocket): Added. Create the socket
236         and call _sendPendingMessagesToBackendIfNeeded.
237         (.WebInspector.InspectorFrontendHostStub.prototype.sendMessageToBackend): Store messages as pending
238         if the socket isn't ready yet. Call _sendPendingMessagesToBackendIfNeeded.
239         (.WebInspector.InspectorFrontendHostStub.prototype._sendPendingMessagesToBackendIfNeeded): Added.
240         * UserInterface/Main.js:
241         (WebInspector._initializeWebSocketIfNeeded): Move socket creation to initializeWebSocket.
242
243 2013-09-16  Timothy Hatcher  <timothy@apple.com>
244
245         Make InspectorTimelineAgent use an enum for the record type instead of a string.
246
247         https://bugs.webkit.org/show_bug.cgi?id=121461
248
249         Reviewed by Joseph Pecoraro.
250
251         * UserInterface/InspectorBackendCommands.js:
252         * UserInterface/Legacy/6.0/InspectorBackendCommands.js:
253         * UserInterface/TimelineManager.js:
254         (WebInspector.TimelineManager.prototype.eventRecorded.processRecord):
255         (WebInspector.TimelineManager.prototype.eventRecorded):
256         * Versions/Inspector-iOS-6.0.json:
257
258 2013-09-16  Joseph Pecoraro  <pecoraro@apple.com>
259
260         Web Inspector: TypeError when updating ResourceTreeElement created in strange order
261         https://bugs.webkit.org/show_bug.cgi?id=121382
262
263         Reviewed by Timothy Hatcher.
264
265         Patch by Brian Burg. Fix an uncaught exception that can happen on navigations.
266
267         * UserInterface/ResourceTreeElement.js:
268         (WebInspector.ResourceTreeElement.prototype._updateStatus):
269
270 2013-09-16  Timothy Hatcher  <timothy@apple.com>
271
272         Make InspectorTypeBuilder generate better enums in C++.
273
274         https://bugs.webkit.org/show_bug.cgi?id=121440
275
276         Reviewed by Joseph Pecoraro.
277
278         * UserInterface/InspectorBackendCommands.js: Updated to make Css be CSS.
279
280 2013-09-13  Gustavo Noronha Silva  <gustavo.noronha@collabora.com>
281
282         [GTK] Move to the new web inspector
283         https://bugs.webkit.org/show_bug.cgi?id=120647
284
285         Reviewed by Carlos Garcia Campos.
286
287         * GNUmakefile.am: Added. Generate the GResource source and link it into libWebCore.
288
289 2013-09-12  Joseph Pecoraro  <pecoraro@apple.com>
290
291         Web Inspector: Duplicated color swatches changing autocompletes color names
292         https://bugs.webkit.org/show_bug.cgi?id=121265
293
294         Reviewed by Timothy Hatcher.
295
296         CodeMirror bookmarks at position used to be unique but no longer are.
297         Define an extension to give us unique bookmarks as we expected, and
298         update all the old locations using setBookmark.
299
300         * UserInterface/CSSStyleDeclarationTextEditor.js:
301         (WebInspector.CSSStyleDeclarationTextEditor.prototype.didDismissPopover):
302         (WebInspector.CSSStyleDeclarationTextEditor.prototype._updateTextMarkers):
303         (WebInspector.CSSStyleDeclarationTextEditor.prototype.):
304         (WebInspector.CSSStyleDeclarationTextEditor.prototype._createColorSwatches):
305         (WebInspector.CSSStyleDeclarationTextEditor.prototype):
306         (WebInspector.CSSStyleDeclarationTextEditor.prototype.event.newColorText):
307         * UserInterface/CodeMirrorAdditions.js:
308
309 2013-09-12  Joseph Pecoraro  <pecoraro@apple.com>
310
311         Web Inspector: Update CodeMirror for gutter fix
312         https://bugs.webkit.org/show_bug.cgi?id=121262
313
314         Update CodeMirror to 757944449 to fix gutter click issue:
315         <https://github.com/marijnh/CodeMirror/issues/1807>
316
317         Reviewed by Timothy Hatcher.
318
319         * Tools/PrettyPrinting/CodeMirrorFormatters.js:
320         * Tools/PrettyPrinting/FormatterContentBuilder.js:
321         (FormatterContentBuilder.prototype._appendIndent):
322         * Tools/PrettyPrinting/codemirror.css:
323         * Tools/PrettyPrinting/codemirror.js:
324         * Tools/PrettyPrinting/css.js:
325         * UserInterface/CodeMirrorAdditions.js:
326         * UserInterface/CodeMirrorFormatters.js:
327         * UserInterface/DebuggerManager.js:
328         (WebInspector.DebuggerManager.prototype.didRemoveBreakpoint):
329         (WebInspector.DebuggerManager.prototype._removeBreakpoint):
330         * UserInterface/External/CodeMirror/codemirror.css:
331         * UserInterface/External/CodeMirror/codemirror.js:
332         * UserInterface/External/CodeMirror/coffeescript.js:
333         * UserInterface/External/CodeMirror/css.js:
334         * UserInterface/External/CodeMirror/less.js:
335         * UserInterface/External/CodeMirror/sql.js:
336         * UserInterface/TextEditor.js:
337         (WebInspector.TextEditor.prototype.hasFormatter):
338
339 2013-09-12  Joseph Pecoraro  <pecoraro@apple.com>
340
341         Web Inspector: Update License copyrights in minified JavaScript
342         https://bugs.webkit.org/show_bug.cgi?id=121264
343
344         Reviewed by Timothy Hatcher.
345
346         * Scripts/copy-user-interface-resources.sh:
347
348 2013-09-11  Geoffrey Garen  <ggaren@apple.com>
349
350         Removed some unused functions from the debugger interface
351         https://bugs.webkit.org/show_bug.cgi?id=121194
352
353         Reviewed by Joseph Pecoraro.
354
355         We plan to use the "evaluate" API and debugger activation property access for all the features we need.
356
357         * UserInterface/InspectorBackendCommands.js: Updated by script.
358
359 2013-09-06  Joseph Pecoraro  <pecoraro@apple.com>
360
361         Web Inspector: Download Archive button incorrectly styled when disabled and tree element is not-selected
362         https://bugs.webkit.org/show_bug.cgi?id=120866
363
364         Reviewed by Timothy Hatcher.
365
366         * UserInterface/TreeElementStatusButton.css:
367         (.item > .status > .status-button.disabled > svg *):
368
369 2013-09-06  Joseph Pecoraro  <pecoraro@apple.com>
370
371         Web Inspector: Lint JavaScript and CSS for minor issues
372         https://bugs.webkit.org/show_bug.cgi?id=120884
373
374         Reviewed by Timothy Hatcher.
375
376         JS, caught a bunch of missing semicolons but at least one possible
377         issue with duplicate object literal keys in CSSKeywordCompletions.
378
379         CSS, cause some duplicate properties, an invalid property value,
380         and some "0px" => "0" cleanup.
381
382 2013-09-05  Joseph Pecoraro  <pecoraro@apple.com>
383
384         Web Inspector: Breakpoint Action JS Editor has line wrapping issues with long no-space lines
385         https://bugs.webkit.org/show_bug.cgi?id=120822
386
387         Reviewed by Timothy Hatcher.
388
389         * UserInterface/BreakpointActionView.css:
390         (.breakpoint-action-eval-editor > .CodeMirror):
391         (.breakpoint-action-eval-editor > .CodeMirror-scroll):
392
393 2013-09-05  Joseph Pecoraro  <pecoraro@apple.com>
394
395         Web Inspector: Edit Breakpoint popover sometimes appears misplaced in top left
396         https://bugs.webkit.org/show_bug.cgi?id=120804
397
398         Reviewed by Timothy Hatcher.
399
400         Grab the bounding rect immediately, instead of grabbing it from the element
401         after the user has selected the "Edit Breakpoint" context menu item. When
402         the popover was misplaced it was when using an element had been removed or
403         replaced in the DOM, and caused a bogus bounding client rect.
404
405         * UserInterface/Breakpoint.js:
406         (WebInspector.Breakpoint.prototype.editBreakpoint):
407         (WebInspector.Breakpoint.prototype._showEditBreakpointPopover):
408
409 2013-09-05  Joseph Pecoraro  <pecoraro@apple.com>
410
411         Web Inspector: Remove harmless assert, triggered hitting breakpoint in auto prettyprinted code on reload
412         https://bugs.webkit.org/show_bug.cgi?id=120332
413
414         Reviewed by Timothy Hatcher.
415
416         * UserInterface/TextEditor.js:
417
418 2013-09-05  Joseph Pecoraro  <pecoraro@apple.com>
419
420         Web Inspector: Breakpoint Actions
421         https://bugs.webkit.org/show_bug.cgi?id=120576
422
423         Reviewed by Timothy Hatcher.
424
425         Give the CodeMirror editor for JavaScript Breakpoint Actions JS Runtime
426         completions (like window, document, etc.).
427
428         The logic was inside of JavaScriptLogViewController but was already
429         entirely independent. Factor it out into its own class and plug it into
430         CodeMirrorCompletionController as a "CompletionsProvider".
431
432         Because the class hooks into a global event to reset some state, make
433         it a singleton, so new instances are not leaked.
434
435         * UserInterface/Main.html:
436         * UserInterface/Main.js:
437         (WebInspector.loaded):
438         * UserInterface/RuntimeManager.js: Added.
439         (WebInspector.RuntimeManager):
440         (WebInspector.RuntimeManager.prototype.evalCallback):
441         (WebInspector.RuntimeManager.prototype.evaluateInInspectedWindow):
442         Move eval in window to new RuntimeManager. A slightly cleaner place to this
443         since it is used both by the console and JS completions provider.
444
445         * UserInterface/CodeMirrorCompletionController.js:
446         (WebInspector.CodeMirrorCompletionController):
447         (WebInspector.CodeMirrorCompletionController.prototype.setExtendedCompletionProvider):
448         (WebInspector.CodeMirrorCompletionController.prototype._completeAtCurrentPosition):
449         Allow a completions provider plugin to completions controller. If one
450         is available, this supercedes the delegate extend completions path.
451
452         * UserInterface/BreakpointActionView.js:
453         * UserInterface/ConsolePrompt.js:
454         (WebInspector.ConsolePrompt):
455         Use the new JS completions provider to get runtime JS completions.
456         NOTE: ConsolePrompt still needs the delegate path for SQL completions.
457
458         * UserInterface/JavaScriptLogViewController.js:
459         (WebInspector.JavaScriptLogViewController):
460         (WebInspector.JavaScriptLogViewController.prototype.consolePromptTextCommitted):
461         * UserInterface/JavaScriptRuntimeCompletionProvider.js: Added.
462         (WebInspector.JavaScriptRuntimeCompletionProvider):
463         (get WebInspector.JavaScriptRuntimeCompletionProvider.prototype.):
464         (get WebInspector.JavaScriptRuntimeCompletionProvider.prototype.completionControllerCompletionsNeeded):
465         Move the JS completions code to a new class. No changes needed.
466
467 2013-09-05  Joseph Pecoraro  <pecoraro@apple.com>
468
469         Web Inspector: Breakpoint Actions
470         https://bugs.webkit.org/show_bug.cgi?id=120576
471
472         Reviewed by Timothy Hatcher.
473
474         * UserInterface/Breakpoint.js:
475         (WebInspector.Breakpoint):
476         (WebInspector.Breakpoint.prototype.get actions):
477         (WebInspector.Breakpoint.prototype.get options):
478         (WebInspector.Breakpoint.prototype.get info):
479         (WebInspector.Breakpoint.prototype._serializableActions):
480         Saving, restoring, and serialization.
481
482         (WebInspector.Breakpoint.prototype.createAction):
483         (WebInspector.Breakpoint.prototype.recreateAction):
484         (WebInspector.Breakpoint.prototype.removeAction):
485         (WebInspector.Breakpoint.prototype.breakpointActionDidChange):
486         Modifying _actions ivar.
487
488         (WebInspector.Breakpoint.prototype._editBreakpointPopoverContentElement):
489         (WebInspector.Breakpoint.prototype._popoverActionsCreateAddActionButton):
490         (WebInspector.Breakpoint.prototype._popoverActionsAddActionButtonClicked):
491         (WebInspector.Breakpoint.prototype._popoverActionsInsertBreakpointActionView):
492         (WebInspector.Breakpoint.prototype.breakpointActionViewAppendActionView):
493         (WebInspector.Breakpoint.prototype.breakpointActionViewRemoveActionView):
494         (WebInspector.Breakpoint.prototype.breakpointActionViewResized):
495         Popover UI containing breakpoint action views and converting to and from
496         having no actions.
497
498         (WebInspector.Breakpoint.prototype.willDismissPopover):
499         Cleanup some ivars when the popover dismisses.
500
501         * UserInterface/Breakpoint.css:
502         (.popover .edit-breakpoint-popover-content.wide):
503         Wider setting when there are actions in the popover.
504
505         (.popover .edit-breakpoint-popover-content > table > tr > th):
506         Keep the title labels at the top of their section.
507
508         * UserInterface/BreakpointAction.js:
509         (WebInspector.BreakpointAction):
510         (WebInspector.BreakpointAction.prototype.get breakpoint):
511         (WebInspector.BreakpointAction.prototype.get type):
512         (WebInspector.BreakpointAction.prototype.get data):
513         (WebInspector.BreakpointAction.prototype.set data):
514         (WebInspector.BreakpointAction.prototype.get info):
515         Very basic BreakpointAction class. Notifies Breakpoint on data changes.
516         Type changes are not allowed, instead just create a new BreakpointAction.
517
518         * UserInterface/BreakpointActionView.css: Added.
519         (.breakpoint-action-block-header):
520         (.breakpoint-action-remove-button):
521         (.breakpoint-action-remove-button:active):
522         (.breakpoint-action-append-button):
523         (.breakpoint-action-block-body):
524         (.breakpoint-action-block-body > input):
525         (.breakpoint-action-eval-editor):
526         (.breakpoint-action-eval-editor > .CodeMirror):
527         (.breakpoint-action-eval-editor > .CodeMirror-scroll):
528         * UserInterface/BreakpointActionView.js: Added.
529         (WebInspector.BreakpointActionView):
530         (WebInspector.BreakpointActionView.displayStringForType):
531         (WebInspector.BreakpointActionView.prototype.get action):
532         (WebInspector.BreakpointActionView.prototype.get element):
533         (WebInspector.BreakpointActionView.prototype._pickerChanged):
534         (WebInspector.BreakpointActionView.prototype._appendActionButtonClicked):
535         (WebInspector.BreakpointActionView.prototype._removeActionButtonClicked):
536         (WebInspector.BreakpointActionView.prototype._updateBody.switch.break):
537         (WebInspector.BreakpointActionView.prototype._logInputChanged):
538         (WebInspector.BreakpointActionView.prototype._codeMirrorBlurred):
539         (WebInspector.BreakpointActionView.prototype._codeMirrorViewportChanged):
540         UI and form controls for individual breakpoint actions. The view
541         wraps a single BreakpointAction, and for any actions that could affect
542         other views the delegate is notified.
543
544         * UserInterface/DebuggerManager.js:
545         (WebInspector.DebuggerManager):
546         (WebInspector.DebuggerManager.prototype._debuggerBreakpointActionType):
547         When sending to the backend, make sure to send protocol enums.
548
549         * UserInterface/Popover.js:
550         (WebInspector.Popover.prototype.update):
551         Update the popover when content changes.
552
553         * UserInterface/Images/BreakpointActionAdd.svg: Added.
554         * UserInterface/Images/BreakpointActionRemove.svg: Added.
555         * UserInterface/InspectorBackendCommands.js:
556         * UserInterface/Main.html:
557         * Localizations/en.lproj/localizedStrings.js:
558         Misc. New strings, images, includes.
559
560 2013-09-03  Antoine Quint  <graouts@apple.com>
561
562         Web Inspector: exceptions triggered from console evaluation do not pause the debugger
563         https://bugs.webkit.org/show_bug.cgi?id=120460
564
565         We used to preclude any debugging from errors stemming from code evaluated in the console
566         as we would always set the doNotPauseOnExceptionsAndMuteConsole parameter to "false" when
567         calling JavaScriptLogViewController._evaluateInInspectedWindow(). However, it is desirable
568         to allow debugging code ran from the console.
569
570         We now allow debugging in such a scenario and we filter out call frames coming from the
571         Web Inspector injected script as well as the call frame for the console prompt such that
572         we only pause in the debugger in case the exception is in code under the console prompt
573         and not the console code prompt itself.
574
575         Additionally, to prevent stepping out to call frames we may have filtered out, we disable
576         the "step out" button in cases where there are no further frames in the frontend to go out to.
577
578         Reviewed by Timothy Hatcher.
579
580         * UserInterface/DebuggerManager.js:
581         (WebInspector.DebuggerManager.prototype.debuggerDidPause):
582         Filter out call frames that have a URL coming from Web Inspector injected script by looking
583         for a URL starting with the "__WebInspector" prefix. If we determine that there are no call
584         frames left after filtering, we resume code evaluation such that we only pause in the debugger
585         when the exception is in code evluated under the console prompt.
586
587         * UserInterface/DebuggerSidebarPanel.js:
588         (WebInspector.DebuggerSidebarPanel):
589         (WebInspector.DebuggerSidebarPanel.prototype._debuggerDidPause):
590         (WebInspector.DebuggerSidebarPanel.prototype._debuggerActiveCallFrameDidChange):
591         Monitor any change to the active call frame such that we may tie the state of the
592         "step out" button to the availability of a call frame to step out to in the filtered
593         list set on the DebuggerManager.
594
595         * UserInterface/JavaScriptLogViewController.js:
596         (WebInspector.JavaScriptLogViewController.prototype.consolePromptTextCommitted):
597         Set the doNotPauseOnExceptionsAndMuteConsole to "false" when calling _evaluateInInspectedWindow()
598         in order to allow pausing on exceptions coming from code evalued in the console. Also, explicitly
599         set a sourceURL for the script to evaluate such that we may identify its origin when filtering
600         call frames stemming from inspector code.
601
602         * UserInterface/ResourceSidebarPanel.js:
603         (WebInspector.ResourceSidebarPanel.prototype._scriptWasAdded):
604         Filter out any script resource starting with the Web Inspector-specific "__WebInspector" prefix
605         so that injected script does not show up.
606
607 2013-08-30  Brent Fulgham  <bfulgham@apple.com>
608
609         [Windows] Correct windows build. Get rid of unnecessary pre-build step. We don't build anything
610         in this project, just copy some files into the WebKit resource folder. This was fooling the
611         build system into thinking something failed, resulting in a build error.
612
613         * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj: Remove reference to WebInspectorUIPreBuild.cmd
614         * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj.filters:
615         * WebInspectorUI.vcxproj/WebInspectorUIPreBuild.cmd: Removed.
616
617 2013-08-30  Brent Fulgham  <bfulgham@apple.com>
618
619         [Windows] Build correction after dependency change.
620
621         * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj: Remove circular dependency on
622         WebKit, and control this at the solution level. The prior change broke external
623         builders.
624
625 2013-08-30  Brent Fulgham  <bfulgham@apple.com>
626
627         [Windows] Unreviewed build gardening.
628
629         * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj: Adjust build dependencies so
630         that WebInspectorUI 'builds' after WebKit so that the expected resource directory
631         structure is always in place.
632
633 2013-08-30  Joseph Pecoraro  <pecoraro@apple.com>
634
635         Web Inspector: Breakpoints should have Automatically Continue Option
636         https://bugs.webkit.org/show_bug.cgi?id=120187
637
638         Reviewed by Timothy Hatcher.
639
640         * Localizations/en.lproj/localizedStrings.js:
641         * UserInterface/Breakpoint.css:
642         (#edit-breakpoint-popoover-auto-continue):
643         Misc. changes for UI.
644
645         * UserInterface/Breakpoint.js:
646         (WebInspector.Breakpoint):
647         (WebInspector.Breakpoint.prototype.get autoContinue):
648         (WebInspector.Breakpoint.prototype.set autoContinue):
649         (WebInspector.Breakpoint.prototype.get options):
650         (WebInspector.Breakpoint.prototype.get info):
651         General maintenance of the autoContinue state.
652
653         (WebInspector.Breakpoint.prototype._popoverToggleEnabledCheckboxChanged):
654         (WebInspector.Breakpoint.prototype._popoverToggleAutoContinueCheckboxChanged):
655         (WebInspector.Breakpoint.prototype._editBreakpointPopoverContentElement):
656         Edit Breakpoint UI for setting autoContinue state.
657
658         * UserInterface/InspectorBackend.js:
659         (InspectorBackendClass.prototype.registerCommand):
660         (InspectorBackendClass.prototype._supports):
661         Extension to check if a BackendCommands method supports a particular param.
662
663         * UserInterface/DebuggerManager.js:
664         (WebInspector.DebuggerManager):
665         (WebInspector.DebuggerManager.prototype._setBreakpoint):
666         * UserInterface/InspectorBackendCommands.js:
667         Change to backend agent calls for the new protocol API.
668
669 2013-08-29  Timothy Hatcher  <timothy@apple.com>
670
671         Make incrementing and decrementing numbers by 0.1 require the control key, and not near zero numbers.
672
673         https://bugs.webkit.org/show_bug.cgi?id=120492
674         <rdar://problem/13738935> Incrementing and decrementing numbers near zero is annoying compared to earlier releases
675
676         Reviewed by Joseph Pecoraro.
677
678         * UserInterface/CodeMirrorAdditions.js:
679         (alterNumber): Remove near zero check.
680
681 2013-08-29  Timothy Hatcher  <timothy@apple.com>
682
683         Only modify numbers if they are identified by CodeMirror as a number.
684
685         https://bugs.webkit.org/show_bug.cgi?id=120484
686
687         <rdar://problem/13877085> REGRESSION: Alt-up and Alt-down don't work when cursor is in unit
688         <rdar://problem/13058697> PARITY: Option-Up arrow in "translate3d" should not modify number to make" translate4d"
689
690         Reviewed by Joseph Pecoraro.
691
692         * UserInterface/CodeMirrorAdditions.js:
693         (CodeMirror.prototype.alterNumberInRange): Correctly preserve the selection, even if it differs from
694         the range passed in.
695         (alterNumber): Find number tokens and pass those to alterNumberInRange.
696         (alterNumber.findNumberToken): Added. Helper.
697
698 2013-08-29  Timothy Hatcher  <timothy@apple.com>
699
700         Make incrementing and decrementing numbers by 0.1 require the control key, and not near zero numbers.
701
702         https://bugs.webkit.org/show_bug.cgi?id=120492
703         <rdar://problem/13738935> Incrementing and decrementing numbers near zero is annoying compared to earlier releases
704
705         Reviewed by Joseph Pecoraro.
706
707         * UserInterface/CodeMirrorAdditions.js:
708         (alterNumber): Remove near zero check.
709
710 2013-08-29  Joseph Pecoraro  <pecoraro@apple.com>
711
712         Web Inspector: Download Web Archive of Inspected Page
713         https://bugs.webkit.org/show_bug.cgi?id=119774
714
715         Reviewed by Timothy Hatcher.
716
717         * UserInterface/ContentBrowser.js:
718         (WebInspector.ContentBrowser.prototype._saveDataToFile):
719         Allow a custom save handler which will do all the work.
720
721         * UserInterface/DOMTreeContentView.js:
722         (WebInspector.DOMTreeContentView):
723         (WebInspector.DOMTreeContentView.prototype.get supportsSave):
724         (WebInspector.DOMTreeContentView.prototype.get saveData.saveHandler):
725         (WebInspector.DOMTreeContentView.prototype.get saveData):
726         Allow Save keyboard shortcut to download an archive viewing the DOM Tree.
727
728         * UserInterface/ResourceTreeElement.js:
729         (WebInspector.ResourceTreeElement.prototype._updateStatus):
730         * UserInterface/FrameTreeElement.js:
731         (WebInspector.FrameTreeElement):
732         (WebInspector.FrameTreeElement.prototype.updateStatusForMainFrame):
733         (WebInspector.FrameTreeElement.prototype._mainResourceDidChange):
734         (WebInspector.FrameTreeElement.prototype._shouldGroupIntoFolders):
735         (WebInspector.FrameTreeElement.prototype._reloadPageClicked):
736         (WebInspector.FrameTreeElement.prototype._downloadButtonClicked):
737         (WebInspector.FrameTreeElement.prototype._updateDownloadButton):
738         (WebInspector.FrameTreeElement.prototype._pageArchiveStarted):
739         (WebInspector.FrameTreeElement.prototype._pageArchiveEnded):
740         Move handling of main frame TreeElement buttons to FrameTreeElement.
741         Add a Download button, and enable/disable it appropriately.
742
743         * UserInterface/ResourceTreeElement.css:
744         * UserInterface/TreeElementStatusButton.css: Copied from Source/WebInspectorUI/UserInterface/ResourceTreeElement.css.
745         (.item > .status > .status-button):
746         (.item > .status > .status-button > svg *):
747         (.item.selected > .status > .status-button > svg *):
748         (.item.selected > .status > .status-button:active > svg *):
749         (.item > .status > .status-button.disabled > svg *):
750         (.item.selected > .status > .status-button.disabled > svg *):
751         * UserInterface/TreeElementStatusButton.js: Added.
752         (WebInspector.TreeElementStatusButton):
753         (WebInspector.TreeElementStatusButton.prototype.get element):
754         (WebInspector.TreeElementStatusButton.prototype.get hidden):
755         (WebInspector.TreeElementStatusButton.prototype.set hidden):
756         (WebInspector.TreeElementStatusButton.prototype.get enabled):
757         (WebInspector.TreeElementStatusButton.prototype.set enabled):
758         (WebInspector.TreeElementStatusButton.prototype._clicked):
759         Make buttons in the TreeElement status a generic class to share styling
760         and handling of the buttons. New "disabled" state with even more
761         transparent is used when the page is downloading.
762
763         * UserInterface/Main.html:
764         * UserInterface/Main.js:
765         (WebInspector.archiveMainFrame):
766         (WebInspector.canArchiveMainFrame):
767         Generic API for archiving the page and determining if you can archive it.
768
769         * UserInterface/InspectorBackendCommands.js:
770         * UserInterface/InspectorFrontendHostStub.js:
771         (.WebInspector.InspectorFrontendHostStub.prototype.save):
772         * UserInterface/Images/DownloadArrow.svg: Added.
773         * Localizations/en.lproj/localizedStrings.js:
774         Misc. updates and new files.
775
776 2013-08-28  Joseph Pecoraro  <pecoraro@apple.com>
777
778         Web Inspector: Give reload icon an :active state and allow CSS to style some SVG images
779         https://bugs.webkit.org/show_bug.cgi?id=120384
780
781         Reviewed by Timothy Hatcher.
782
783         The Reload icon is duplicated just to provide different fill colors.
784         Convert from using <img> to an <svg> document for this image, and style
785         it with CSS. This also makes it trivial to add an :active state.
786
787         * UserInterface/ImageUtilities.js:
788         (.invokeCallbackWithDocument):
789         (.imageLoad):
790         (.imageError):
791         (wrappedSVGDocument):
792         Helpers for downloading and in memory caching SVG images.
793
794         * UserInterface/Images/Reload.svg:
795         * UserInterface/Images/ReloadSelected.svg: Removed.
796         Updated Reload image better matches the original design (slightly
797         larger). And the duplicate image can be removed.
798
799         * UserInterface/ResourceTreeElement.css:
800         (.item.resource > .status > .reload-button):
801         (.item.resource > .status > .reload-button > svg *):
802         (.item.resource.selected > .status > .reload-button > svg *):
803         (.item.resource.selected > .status > .reload-button:active > svg *):
804         Different styles, including a new :active style.
805
806         * UserInterface/ResourceTreeElement.js:
807         (WebInspector.ResourceTreeElement.prototype._updateStatusWithMainFrameButtons):
808         (WebInspector.ResourceTreeElement.prototype._updateStatus):
809         Handle updating the main frame's state asynchronously since loading the SVG
810         image document is asynchronous.
811
812 2013-08-27  Joseph Pecoraro  <pecoraro@apple.com>
813
814         Web Inspector: Debugger should have Continue to Here Context Menu
815         https://bugs.webkit.org/show_bug.cgi?id=120189
816
817         Reviewed by Timothy Hatcher.
818
819         When paused in the debugger and presenting a Context Menu in the
820         gutter, include a "Continue to Here" option. This requires a
821         script/line/column location combination.
822
823         * UserInterface/DebuggerManager.js:
824         (WebInspector.DebuggerManager.prototype.continueToLocation):
825         * UserInterface/Resource.js:
826         (WebInspector.Resource.prototype.scriptForLocation):
827         * UserInterface/SourceCodeTextEditor.js:
828         (WebInspector.SourceCodeTextEditor.prototype.continueToLocation):
829         (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu):
830
831 2013-08-26  Joseph Pecoraro  <pecoraro@apple.com>
832
833         Web Inspector: We should regenerate InspectorBackendCommands.js for Legacy Inspector.json versions
834         https://bugs.webkit.org/show_bug.cgi?id=120242
835
836         Reviewed by Timothy Hatcher.
837
838         - Include the iOS 6.0 Inspector.json which maps to Legacy/6.0/InspectorBackendCommands.js.
839         - Provide a helper script to regenerate the backend commands file for trunk and Versions.
840         - Regenerated file now includes enums and other minor changes.
841
842         * Scripts/update-InspectorBackendCommands.rb: Added.
843         * UserInterface/InspectorBackendCommands.js:
844         * UserInterface/Legacy/6.0/InspectorBackendCommands.js:
845         * Versions/Inspector-iOS-6.0.json: Added.
846
847 2013-08-24  Joseph Pecoraro  <pecoraro@apple.com>
848
849         Web Inspector: Breakpoints in the editors gutter should have a contextmenu
850         https://bugs.webkit.org/show_bug.cgi?id=120169
851
852         Reviewed by Timothy Hatcher.
853
854         Updated CodeMirror now has a gutterContextMenu event. Use that to give
855         breakpoint related context menus. Add, Edit, Enable/Disable, Delete, and
856         Reveal in Debugger Navigation Sidebar.
857
858         * Localizations/en.lproj/localizedStrings.js:
859         "Add Breakpoint", and "Reveal in Debugger Navigation Sidebar".
860
861         * UserInterface/SourceCodeTextEditor.js:
862         (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu.addBreakpoint):
863         (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu.revealInSidebar):
864         (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu.removeBreakpoints):
865         (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu.toggleBreakpoints):
866         (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu):
867         Show a context menu when clicking on the gutter for 0 breakpoints,
868         1 breakpoint, or >1 breakpoints. The only tricky handler is addBreakpoint,
869         since that must update the TextEditor for the new breakpoint info.
870
871         * UserInterface/TextEditor.js:
872         (WebInspector.TextEditor):
873         (WebInspector.TextEditor.prototype._gutterContextMenu):
874         Send to delegate if the delegate implements textEditorGutterContextMenu.
875
876 2013-08-23  Joseph Pecoraro  <pecoraro@apple.com>
877
878         Web Inspector: Fix js minification of updated CodeMirror
879         https://bugs.webkit.org/show_bug.cgi?id=120231
880
881         Reviewed by Andy Estes.
882
883         Workaround a jsmin issue with "return //.test();" lines when
884         minifying JavaScript in production builds.
885
886         * Scripts/copy-user-interface-resources.sh:
887         * UserInterface/External/CodeMirror/codemirror.js:
888         (window.CodeMirror):
889
890 2013-08-22  Joseph Pecoraro  <pecoraro@apple.com>
891
892         <https://webkit.org/b/120165> Web Inspector: Update CodeMirror to 3.16.1
893
894         Reviewed by Andy Estes.
895
896         * Tools/PrettyPrinting/codemirror.css:
897         * Tools/PrettyPrinting/codemirror.js:
898         * Tools/PrettyPrinting/css.js:
899         * Tools/PrettyPrinting/javascript.js:
900         * UserInterface/External/CodeMirror/codemirror.css:
901         * UserInterface/External/CodeMirror/codemirror.js:
902         * UserInterface/External/CodeMirror/css.js:
903         * UserInterface/External/CodeMirror/javascript.js:
904         * UserInterface/External/CodeMirror/xml.js:
905
906 2013-08-21  Brent Fulgham  <bfulgham@apple.com>
907
908         [Windows] Clean up project file after %PlatformArchitecture% change landed.
909
910         * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj: Remove hard-coded settings covered
911         by our configuration files.
912         * WebInspectorUI.vcxproj/WebInspectorUIPostBuild.cmd: Use the %PlatformArchitecture%
913         macro to support 32- and 64-bit builds.
914
915 2013-08-20  Brent Fulgham  <bfulgham@apple.com>
916
917         <http://webkit.org/b/120098> [Windows] Enable the New Web Inspector
918
919         Reviewed by Brian Weinstein.
920
921         Add a new project to copy files to the appropriate spots in the
922         Windows port.
923
924         * WebInspectorUI.vcxproj: Added.
925         * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj: Added.
926         * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj.filters: Added.
927         * WebInspectorUI.vcxproj/WebInspectorUIPostBuild.cmd: Added.
928         * WebInspectorUI.vcxproj/WebInspectorUIPreBuild.cmd: Added.
929
930 2013-08-19  James Craig  <james@cookiecrook.com>
931
932         <https://webkit.org/b/118106> Web Inspector: AX: Add additional contextual labels for Error/Warnings/Logs that will be spoken for screen readers
933
934         Reviewed by Joseph Pecoraro.
935
936         Changed general console "Output" string to more specific "Error", "Warning", etc for accessibility.
937
938         * Localizations/en.lproj/localizedStrings.js:
939         * UserInterface/ConsoleCommandResult.js:
940         * UserInterface/ConsoleMessageImpl.js:
941
942 2013-08-16  James Craig  <james@cookiecrook.com>
943
944         <https://webkit.org/b/118105> Web Inspector: AX: Add support for ARIA tablists/tabs to inspector tabs
945
946         Reviewed by Joseph Pecoraro.
947
948         Updating accessibility roles and attributes for single-select toolbar item sets.
949
950         * UserInterface/ActivateButtonNavigationItem.js:
951         (WebInspector.ActivateButtonNavigationItem):
952         (WebInspector.ActivateButtonNavigationItem.prototype.set activated):
953         * UserInterface/ActivateButtonToolbarItem.js:
954         (WebInspector.ActivateButtonToolbarItem):
955         * UserInterface/ButtonToolbarItem.js:
956         (WebInspector.ButtonToolbarItem):
957         * UserInterface/SidebarPanel.js:
958         (WebInspector.SidebarPanel):
959         * UserInterface/Toolbar.js:
960         (WebInspector.Toolbar):
961
962 2013-08-13  Dean Jackson  <dino@apple.com>
963
964         <https://webkit.org/b/119778> Add Canvas protocol observer
965
966         Reviewed by Joseph Pecoraro.
967
968         In preparation for listening to backend events about canvas profiling,
969         add a canvas observer.
970
971         * UserInterface/CanvasObserver.js: New empty CanvasObserver object.
972         (WebInspector.CanvasObserver):
973         (WebInspector.CanvasObserver.prototype.contextCreated):
974         (WebInspector.CanvasObserver.prototype.traceLogsRemoved):
975         * UserInterface/Main.html:
976         * UserInterface/Main.js:
977         (WebInspector.loaded):
978
979 2013-08-11  Dean Jackson  <dino@apple.com>
980
981         Update localizedStrings - I think I checked in an unmerged version
982         in the previous commit.
983
984         * Localizations/en.lproj/localizedStrings.js:
985
986 2013-08-11  Dean Jackson  <dino@apple.com>
987
988         Bootstrap canvas profiler
989         https://bugs.webkit.org/show_bug.cgi?id=119652
990         <rdar://problem/14703665>
991
992         Reviewed by Joseph Pecoraro.
993
994         Add enough to get an empty Canvas profile recording
995         and displayed.
996
997         * Localizations/en.lproj/localizedStrings.js: Add canvas strings.
998         * UserInterface/CanvasProfileObject.js: Added. Mostly copied from CSS Selector Profiles.
999         * UserInterface/CanvasProfileType.js: Added. Ditto.
1000         * UserInterface/CanvasDataGridNode.js: Added. Ditto.
1001         * UserInterface/CanvasProfileView.js: Added. Ditto.
1002         * UserInterface/ContentView.js:
1003         (WebInspector.ContentView): Add support for the new View type.
1004         (WebInspector.ContentView.isViewable):
1005         * UserInterface/InstrumentSidebarPanel.js:
1006         (WebInspector.InstrumentSidebarPanel): Add support for canvas profiles.
1007         (WebInspector.InstrumentSidebarPanel.prototype._recordProfileGlyphMousedOver):
1008         (WebInspector.InstrumentSidebarPanel.prototype._recordProfileGlyphMousedDown):
1009         (WebInspector.InstrumentSidebarPanel.prototype._recordProfileGlyphClicked):
1010         (WebInspector.InstrumentSidebarPanel.prototype._profileTypeWasSelected):
1011         (WebInspector.InstrumentSidebarPanel.prototype._profilesCleared):
1012         * UserInterface/Main.html: Load the new files.
1013         * UserInterface/ProfileManager.js: New methods and support for canvas profiles.
1014         (WebInspector.ProfileManager):
1015         (WebInspector.ProfileManager.prototype.initialize):
1016         (WebInspector.ProfileManager.prototype.isProfilingCanvas):
1017         (WebInspector.ProfileManager.prototype.startProfilingCanvas):
1018         (WebInspector.ProfileManager.prototype.stopProfilingCanvas):
1019         (WebInspector.ProfileManager.prototype._checkForInterruptions):
1020         (WebInspector.ProfileManager.prototype._attemptToResumeProfiling):
1021
1022 2013-08-07  Timothy Hatcher  <timothy@apple.com>
1023
1024         Switch the generated images off of PDFs and onto SVGs now that bug 119492 is fixed.
1025
1026         https://bugs.webkit.org/show_bug.cgi?id=118677
1027
1028         Reviewed by Joseph Pecoraro.
1029
1030         * UserInterface/ApplicationCacheDetailsSidebarPanel.js:
1031         (WebInspector.ApplicationCacheDetailsSidebarPanel):
1032         * UserInterface/CSSStyleDeclarationSection.js:
1033         (WebInspector.CSSStyleDeclarationSection):
1034         * UserInterface/CSSStyleDetailsSidebarPanel.js:
1035         (WebInspector.CSSStyleDetailsSidebarPanel):
1036         * UserInterface/ContentBrowser.js:
1037         (WebInspector.ContentBrowser):
1038         * UserInterface/DOMNodeDetailsSidebarPanel.js:
1039         (WebInspector.DOMNodeDetailsSidebarPanel):
1040         * UserInterface/DOMTreeContentView.js:
1041         (WebInspector.DOMTreeContentView):
1042         * UserInterface/DataGrid.js:
1043         (WebInspector.DataGrid.prototype._generateSortIndicatorImagesIfNeeded):
1044         * UserInterface/DebuggerSidebarPanel.js:
1045         (WebInspector.DebuggerSidebarPanel):
1046         * UserInterface/DetailsSection.js:
1047         (WebInspector.DetailsSection.prototype._generateDisclosureTrianglesIfNeeded):
1048         * UserInterface/FindBanner.js:
1049         (WebInspector.FindBanner.prototype._generateButtonsGlyphsIfNeeded):
1050         * UserInterface/Images/BackArrow.pdf: Removed.
1051         * UserInterface/Images/BottomUpTree.pdf: Removed.
1052         * UserInterface/Images/Breakpoints.pdf: Removed.
1053         * UserInterface/Images/Close.pdf: Removed.
1054         * UserInterface/Images/Crosshair.pdf: Removed.
1055         * UserInterface/Images/DisclosureTriangleSmallClosed.pdf: Removed.
1056         * UserInterface/Images/DisclosureTriangleSmallOpen.pdf: Removed.
1057         * UserInterface/Images/DisclosureTriangleTinyClosed.pdf: Removed.
1058         * UserInterface/Images/DisclosureTriangleTinyOpen.pdf: Removed.
1059         * UserInterface/Images/DockBottom.pdf: Removed.
1060         * UserInterface/Images/DockRight.pdf: Removed.
1061         * UserInterface/Images/ForwardArrow.pdf: Removed.
1062         * UserInterface/Images/GoToArrow.pdf: Removed.
1063         * UserInterface/Images/LayerBorders.pdf: Removed.
1064         * UserInterface/Images/LessColumns.pdf: Removed.
1065         * UserInterface/Images/Locked.pdf: Removed.
1066         * UserInterface/Images/MoreColumns.pdf: Removed.
1067         * UserInterface/Images/NavigationItemAngleBrackets.pdf: Removed.
1068         * UserInterface/Images/NavigationItemBrushAndRuler.pdf: Removed.
1069         * UserInterface/Images/NavigationItemBug.pdf: Removed.
1070         * UserInterface/Images/NavigationItemCurleyBraces.pdf: Removed.
1071         * UserInterface/Images/NavigationItemFile.pdf: Removed.
1072         * UserInterface/Images/NavigationItemLayers.pdf: Removed.
1073         * UserInterface/Images/NavigationItemLog.pdf: Removed.
1074         * UserInterface/Images/NavigationItemMagnifyingGlass.pdf: Removed.
1075         * UserInterface/Images/NavigationItemStopwatch.pdf: Removed.
1076         * UserInterface/Images/NavigationItemStorage.pdf: Removed.
1077         * UserInterface/Images/NavigationItemTrash.pdf: Removed.
1078         * UserInterface/Images/NavigationItemVariable.pdf: Removed.
1079         * UserInterface/Images/Pause.pdf: Removed.
1080         * UserInterface/Images/Percent.pdf: Removed.
1081         * UserInterface/Images/Plus.pdf: Removed.
1082         * UserInterface/Images/Resume.pdf: Removed.
1083         * UserInterface/Images/ShadowDOM.pdf: Removed.
1084         * UserInterface/Images/SortIndicatorDownArrow.pdf: Removed.
1085         * UserInterface/Images/SortIndicatorUpArrow.pdf: Removed.
1086         * UserInterface/Images/SplitToggleDown.pdf: Removed.
1087         * UserInterface/Images/SplitToggleUp.pdf: Removed.
1088         * UserInterface/Images/StepInto.pdf: Removed.
1089         * UserInterface/Images/StepOut.pdf: Removed.
1090         * UserInterface/Images/StepOver.pdf: Removed.
1091         * UserInterface/Images/Undock.pdf: Removed.
1092         * UserInterface/InstrumentSidebarPanel.js:
1093         (WebInspector.InstrumentSidebarPanel):
1094         * UserInterface/JavaScriptProfileView.js:
1095         (WebInspector.JavaScriptProfileView):
1096         * UserInterface/LayerTreeSidebarPanel.js:
1097         (WebInspector.LayerTreeSidebarPanel):
1098         * UserInterface/LogContentView.js:
1099         (WebInspector.LogContentView):
1100         * UserInterface/Main.js:
1101         (WebInspector.contentLoaded):
1102         (WebInspector._updateDockNavigationItems):
1103         (WebInspector._generateDisclosureTriangleImages):
1104         * UserInterface/NavigationSidebarPanel.js:
1105         (WebInspector.NavigationSidebarPanel.prototype._generateDisclosureTrianglesIfNeeded):
1106         * UserInterface/ProfileView.js:
1107         (WebInspector.ProfileView):
1108         * UserInterface/ResourceDetailsSidebarPanel.js:
1109         (WebInspector.ResourceDetailsSidebarPanel):
1110         * UserInterface/ResourceSidebarPanel.js:
1111         (WebInspector.ResourceSidebarPanel):
1112         * UserInterface/ScopeChainDetailsSidebarPanel.js:
1113         (WebInspector.ScopeChainDetailsSidebarPanel):
1114         * UserInterface/ScriptContentView.js:
1115         (WebInspector.ScriptContentView):
1116         * UserInterface/TextContentView.js:
1117         (WebInspector.TextContentView):
1118         * UserInterface/TextResourceContentView.js:
1119         (WebInspector.TextResourceContentView):
1120         * UserInterface/TimelinesContentView.js:
1121
1122 2013-08-08  Dean Jackson  <dino@apple.com>
1123
1124         Remove use of prefixed transition event
1125         https://bugs.webkit.org/show_bug.cgi?id=119598
1126
1127         Reviewed by Joseph Pecoraro.
1128
1129         "webkitTransitionEnd" -> "transitionend".
1130
1131         * UserInterface/Popover.js:
1132         (WebInspector.Popover):
1133         (WebInspector.Popover.prototype.handleEvent):
1134
1135 2013-08-08  Dean Jackson  <dino@apple.com>
1136
1137         Unprefix use of transitions in Web Inspector code
1138         https://bugs.webkit.org/show_bug.cgi?id=119588
1139
1140         Reviewed by Tim Hatcher.
1141
1142         Replace "-webkit-transition" with "transition".
1143
1144         * UserInterface/CSSCompletions.js:
1145         (WebInspector.CSSCompletions.requestCSSNameCompletions.collectPropertyNameForCodeMirror):
1146         * UserInterface/FindBanner.css:
1147         (.find-banner):
1148         (.find-banner.showing):
1149         (.supports-find-banner.no-find-banner-transition):
1150         (.supports-find-banner):
1151         (.supports-find-banner.showing-find-banner):
1152         * UserInterface/NetworkTimeline.css:
1153         (.network-graph-side:hover .network-graph-label):
1154         * UserInterface/Popover.css:
1155         (.popover.fade-out):
1156
1157 2013-08-08  Vivek Galatage  <vivek.vg@samsung.com>
1158
1159         Web Inspector: Use granular DOMStorage modification events to avoid complete DataGrid update.
1160         https://bugs.webkit.org/show_bug.cgi?id=119541
1161
1162         Reviewed by Joseph Pecoraro.
1163
1164         InspectorDOMStorageAgent sends more granular events about the storage modifications.
1165         Using these would avoid the complete rebuilding of the DataGrid.
1166
1167         * UserInterface/DOMStorageContentView.js:
1168         (WebInspector.DOMStorageContentView.prototype.itemsCleared):
1169         (WebInspector.DOMStorageContentView.prototype.itemRemoved):
1170         (WebInspector.DOMStorageContentView.prototype.itemAdded):
1171         (WebInspector.DOMStorageContentView.prototype.itemUpdated):
1172         * UserInterface/DOMStorageObserver.js:
1173         (WebInspector.DOMStorageObserver.prototype.domStorageItemsCleared):
1174         (WebInspector.DOMStorageObserver.prototype.domStorageItemRemoved):
1175         (WebInspector.DOMStorageObserver.prototype.domStorageItemAdded):
1176         (WebInspector.DOMStorageObserver.prototype.domStorageItemUpdated):
1177         * UserInterface/StorageManager.js:
1178         (WebInspector.StorageManager.prototype.domStorageItemsCleared):
1179         (WebInspector.StorageManager.prototype.domStorageItemRemoved):
1180         (WebInspector.StorageManager.prototype.domStorageItemAdded):
1181         (WebInspector.StorageManager.prototype.domStorageItemUpdated):
1182
1183 2013-08-06  Joseph Pecoraro  <pecoraro@apple.com>
1184
1185         Web Inspector: Remove stale code in ResourceContentView
1186         https://bugs.webkit.org/show_bug.cgi?id=119527
1187
1188         The handling of Resource Type changes moved to ResourceClusterContentView,
1189         this removeEventListener is stale and doesn't do anything anymore.
1190
1191         Reviewed by Timothy Hatcher.
1192
1193         * UserInterface/ResourceContentView.js:
1194         (WebInspector.ResourceContentView.prototype.closed):
1195
1196 2013-08-06  Timothy Hatcher  <timothy@apple.com>
1197
1198         Convert all Web Inspector PDFs to SVGs.
1199
1200         Some PDFs need to stay around until bug 119492 is fixed. But the SVGs are there for when they are needed.
1201         Updated some of the existing SVGs to be consistent with the format of the new SVGs.
1202
1203         https://bugs.webkit.org/show_bug.cgi?id=118677
1204
1205         Rubber-stamped by Joseph Pecoraro.
1206
1207         * UserInterface/BreakpointIcons.css:
1208         * UserInterface/BreakpointTreeElement.css:
1209         * UserInterface/CallFrameIcons.css:
1210         * UserInterface/DatabaseContentView.css:
1211         * UserInterface/FilterBar.css:
1212         * UserInterface/HierarchicalPathComponent.css:
1213         * UserInterface/Images/BackArrow.svg: Added.
1214         * UserInterface/Images/BottomUpTree.svg: Added.
1215         * UserInterface/Images/BreakpointButton.pdf: Removed.
1216         * UserInterface/Images/BreakpointButton.svg: Added.
1217         * UserInterface/Images/BreakpointInactiveButton.pdf: Removed.
1218         * UserInterface/Images/BreakpointInactiveButton.svg: Added.
1219         * UserInterface/Images/Breakpoints.svg: Added.
1220         * UserInterface/Images/Close.svg: Added.
1221         * UserInterface/Images/Crosshair.svg: Added.
1222         * UserInterface/Images/DOMCharacterData.pdf: Removed.
1223         * UserInterface/Images/DOMCharacterData.svg: Added.
1224         * UserInterface/Images/DOMComment.pdf: Removed.
1225         * UserInterface/Images/DOMComment.svg: Added.
1226         * UserInterface/Images/DOMDocument.pdf: Removed.
1227         * UserInterface/Images/DOMDocument.svg: Added.
1228         * UserInterface/Images/DOMDocumentType.pdf: Removed.
1229         * UserInterface/Images/DOMDocumentType.svg: Added.
1230         * UserInterface/Images/DOMElement.pdf: Removed.
1231         * UserInterface/Images/DOMElement.svg: Added.
1232         * UserInterface/Images/DOMNode.pdf: Removed.
1233         * UserInterface/Images/DOMNode.svg: Added.
1234         * UserInterface/Images/DOMTextNode.pdf: Removed.
1235         * UserInterface/Images/DOMTextNode.svg: Added.
1236         * UserInterface/Images/DOMTree.pdf: Removed.
1237         * UserInterface/Images/DOMTree.svg: Added.
1238         * UserInterface/Images/DisclosureTriangleSmallClosed.svg: Added.
1239         * UserInterface/Images/DisclosureTriangleSmallOpen.svg: Added.
1240         * UserInterface/Images/DisclosureTriangleTinyClosed.svg: Added.
1241         * UserInterface/Images/DisclosureTriangleTinyOpen.svg: Added.
1242         * UserInterface/Images/DockBottom.svg: Added.
1243         * UserInterface/Images/DockRight.svg: Added.
1244         * UserInterface/Images/Error.pdf: Removed.
1245         * UserInterface/Images/Error.svg: Added.
1246         * UserInterface/Images/ErrorSmall.pdf: Removed.
1247         * UserInterface/Images/Errors.svg:
1248         * UserInterface/Images/ErrorsEnabled.svg:
1249         * UserInterface/Images/EventListener.pdf: Removed.
1250         * UserInterface/Images/EventListener.svg: Added.
1251         * UserInterface/Images/Exception.pdf: Removed.
1252         * UserInterface/Images/Exception.svg: Added.
1253         * UserInterface/Images/FilterFieldGlyph.pdf: Removed.
1254         * UserInterface/Images/FilterFieldGlyph.svg: Added.
1255         * UserInterface/Images/ForwardArrow.svg: Added.
1256         * UserInterface/Images/Function.pdf: Removed.
1257         * UserInterface/Images/Function.svg: Added.
1258         * UserInterface/Images/GoToArrow.svg: Added.
1259         * UserInterface/Images/HierarchicalNavigationItemChevron.pdf: Removed.
1260         * UserInterface/Images/HierarchicalNavigationItemChevron.svg: Added.
1261         * UserInterface/Images/IndeterminateProgressSpinner1.pdf: Removed.
1262         * UserInterface/Images/IndeterminateProgressSpinner1.svg: Added.
1263         * UserInterface/Images/IndeterminateProgressSpinner10.pdf: Removed.
1264         * UserInterface/Images/IndeterminateProgressSpinner10.svg: Added.
1265         * UserInterface/Images/IndeterminateProgressSpinner11.pdf: Removed.
1266         * UserInterface/Images/IndeterminateProgressSpinner11.svg: Added.
1267         * UserInterface/Images/IndeterminateProgressSpinner12.pdf: Removed.
1268         * UserInterface/Images/IndeterminateProgressSpinner12.svg: Added.
1269         * UserInterface/Images/IndeterminateProgressSpinner2.pdf: Removed.
1270         * UserInterface/Images/IndeterminateProgressSpinner2.svg: Added.
1271         * UserInterface/Images/IndeterminateProgressSpinner3.pdf: Removed.
1272         * UserInterface/Images/IndeterminateProgressSpinner3.svg: Added.
1273         * UserInterface/Images/IndeterminateProgressSpinner4.pdf: Removed.
1274         * UserInterface/Images/IndeterminateProgressSpinner4.svg: Added.
1275         * UserInterface/Images/IndeterminateProgressSpinner5.pdf: Removed.
1276         * UserInterface/Images/IndeterminateProgressSpinner5.svg: Added.
1277         * UserInterface/Images/IndeterminateProgressSpinner6.pdf: Removed.
1278         * UserInterface/Images/IndeterminateProgressSpinner6.svg: Added.
1279         * UserInterface/Images/IndeterminateProgressSpinner7.pdf: Removed.
1280         * UserInterface/Images/IndeterminateProgressSpinner7.svg: Added.
1281         * UserInterface/Images/IndeterminateProgressSpinner8.pdf: Removed.
1282         * UserInterface/Images/IndeterminateProgressSpinner8.svg: Added.
1283         * UserInterface/Images/IndeterminateProgressSpinner9.pdf: Removed.
1284         * UserInterface/Images/IndeterminateProgressSpinner9.svg: Added.
1285         * UserInterface/Images/Issues.svg:
1286         * UserInterface/Images/IssuesEnabled.svg:
1287         * UserInterface/Images/LayerBorders.svg: Added.
1288         * UserInterface/Images/LessColumns.svg: Added.
1289         * UserInterface/Images/Locked.svg: Added.
1290         * UserInterface/Images/Logs.svg:
1291         * UserInterface/Images/Memory.svg:
1292         * UserInterface/Images/MoreColumns.svg: Added.
1293         * UserInterface/Images/Native.pdf: Removed.
1294         * UserInterface/Images/Native.svg: Added.
1295         * UserInterface/Images/NavigationItemAngleBrackets.svg: Added.
1296         * UserInterface/Images/NavigationItemBrushAndRuler.svg: Added.
1297         * UserInterface/Images/NavigationItemBug.svg: Added.
1298         * UserInterface/Images/NavigationItemCurleyBraces.svg: Added.
1299         * UserInterface/Images/NavigationItemFile.svg: Added.
1300         * UserInterface/Images/NavigationItemLayers.svg: Added.
1301         * UserInterface/Images/NavigationItemLog.svg: Added.
1302         * UserInterface/Images/NavigationItemMagnifyingGlass.svg: Added.
1303         * UserInterface/Images/NavigationItemStopwatch.svg: Added.
1304         * UserInterface/Images/NavigationItemStorage.svg: Added.
1305         * UserInterface/Images/NavigationItemTrash.svg: Added.
1306         * UserInterface/Images/NavigationItemVariable.svg: Added.
1307         * UserInterface/Images/NetworkBarLabelCalloutLeft.pdf: Removed.
1308         * UserInterface/Images/NetworkBarLabelCalloutLeft.svg: Added.
1309         * UserInterface/Images/NetworkBarLabelCalloutRight.pdf: Removed.
1310         * UserInterface/Images/NetworkBarLabelCalloutRight.svg: Added.
1311         * UserInterface/Images/NetworkBarLabelCalloutWhiteLeft.pdf: Removed.
1312         * UserInterface/Images/NetworkBarLabelCalloutWhiteLeft.svg: Added.
1313         * UserInterface/Images/NetworkBarLabelCalloutWhiteRight.pdf: Removed.
1314         * UserInterface/Images/NetworkBarLabelCalloutWhiteRight.svg: Added.
1315         * UserInterface/Images/Pause.svg: Added.
1316         * UserInterface/Images/Percent.svg: Added.
1317         * UserInterface/Images/Plus.svg: Added.
1318         * UserInterface/Images/PseudoElement.pdf: Removed.
1319         * UserInterface/Images/PseudoElement.svg: Added.
1320         * UserInterface/Images/Reflection.pdf: Removed.
1321         * UserInterface/Images/Reflection.svg: Added.
1322         * UserInterface/Images/Reload.svg:
1323         * UserInterface/Images/ReloadSelected.svg:
1324         * UserInterface/Images/Request.pdf: Removed.
1325         * UserInterface/Images/Request.svg: Added.
1326         * UserInterface/Images/Resources.svg:
1327         * UserInterface/Images/Response.pdf: Removed.
1328         * UserInterface/Images/Response.svg: Added.
1329         * UserInterface/Images/ResultLine.pdf: Removed.
1330         * UserInterface/Images/ResultLine.svg: Added.
1331         * UserInterface/Images/Resume.svg: Added.
1332         * UserInterface/Images/ShadowDOM.svg: Added.
1333         * UserInterface/Images/SortIndicatorDownArrow.svg: Added.
1334         * UserInterface/Images/SortIndicatorUpArrow.svg: Added.
1335         * UserInterface/Images/SourceCode.pdf: Removed.
1336         * UserInterface/Images/SourceCode.svg: Added.
1337         * UserInterface/Images/SplitToggleDown.svg: Added.
1338         * UserInterface/Images/SplitToggleUp.svg: Added.
1339         * UserInterface/Images/StepInto.svg: Added.
1340         * UserInterface/Images/StepOut.svg: Added.
1341         * UserInterface/Images/StepOver.svg: Added.
1342         * UserInterface/Images/StyleRuleAuthor.pdf: Removed.
1343         * UserInterface/Images/StyleRuleAuthor.svg: Added.
1344         * UserInterface/Images/StyleRuleInherited.pdf: Removed.
1345         * UserInterface/Images/StyleRuleInherited.svg: Added.
1346         * UserInterface/Images/StyleRuleInheritedElement.pdf: Removed.
1347         * UserInterface/Images/StyleRuleInheritedElement.svg: Added.
1348         * UserInterface/Images/StyleRuleInspector.pdf: Removed.
1349         * UserInterface/Images/StyleRuleInspector.svg: Added.
1350         * UserInterface/Images/StyleRuleUser.pdf: Removed.
1351         * UserInterface/Images/StyleRuleUser.svg: Added.
1352         * UserInterface/Images/StyleRuleUserAgent.pdf: Removed.
1353         * UserInterface/Images/StyleRuleUserAgent.svg: Added.
1354         * UserInterface/Images/Time.svg:
1355         * UserInterface/Images/Undock.svg: Added.
1356         * UserInterface/Images/UpDownArrows.svg:
1357         * UserInterface/Images/UserInputPrompt.pdf: Removed.
1358         * UserInterface/Images/UserInputPrompt.svg: Added.
1359         * UserInterface/Images/UserInputPromptPrevious.pdf: Removed.
1360         * UserInterface/Images/UserInputPromptPrevious.svg: Added.
1361         * UserInterface/Images/UserInputPromptPreviousSelected.pdf: Removed.
1362         * UserInterface/Images/UserInputPromptPreviousSelected.svg: Added.
1363         * UserInterface/Images/UserInputResult.pdf: Removed.
1364         * UserInterface/Images/UserInputResult.svg: Added.
1365         * UserInterface/Images/UserInputResultSelected.pdf: Removed.
1366         * UserInterface/Images/UserInputResultSelected.svg: Added.
1367         * UserInterface/Images/Warning.pdf: Removed.
1368         * UserInterface/Images/Warning.svg: Added.
1369         * UserInterface/Images/WarningSmall.pdf: Removed.
1370         * UserInterface/Images/Weight.svg:
1371         * UserInterface/IndeterminateProgressSpinner.css:
1372         * UserInterface/LayerTreeSidebarPanel.css:
1373         * UserInterface/LogContentView.css:
1374         * UserInterface/Main.css:
1375         * UserInterface/NetworkTimeline.css:
1376         * UserInterface/PathComponentIcons.css:
1377         * UserInterface/QuickConsole.css:
1378         * UserInterface/RulesStyleDetailsPanel.css:
1379         * UserInterface/SearchIcons.css:
1380         * UserInterface/StyleRuleIcons.css:
1381
1382 2013-07-23  David Farler  <dfarler@apple.com>
1383
1384         Provide optional OTHER_CFLAGS, OTHER_CPPFLAGS, OTHER_LDFLAGS additions for building with ASAN
1385         https://bugs.webkit.org/show_bug.cgi?id=117762
1386
1387         Reviewed by Mark Rowe.
1388
1389         * Configurations/DebugRelease.xcconfig:
1390         Add ASAN_OTHER_CFLAGS, CPLUSPLUSFLAGS, LDFLAGS.
1391
1392 2013-07-30  Roland Tak√°cs  <rtakacs@inf.u-szeged.hu>
1393
1394         Web Inspector: doesn't use localized user interface at remote inspector
1395         https://bugs.webkit.org/show_bug.cgi?id=119252
1396
1397         Reviewed by Timothy Hatcher.
1398
1399         Added a flag in order to not use localizedStrings in remote inspector.
1400
1401         * UserInterface/InspectorFrontendHostStub.js:
1402         * UserInterface/LoadLocalizedStrings.js:
1403         * UserInterface/Main.js:
1404         (WebInspector.UIString):
1405
1406 2013-07-24  Antoine Quint  <graouts@apple.com>
1407
1408         Web Inspector: control+clicking on a numeric token should not show the context menu
1409         https://bugs.webkit.org/show_bug.cgi?id=119048
1410
1411         Reviewed by Timothy Hatcher.
1412
1413         Track "contextmenu" events when we're hovering a token containing a numeric value
1414         and call preventDefault() in the event handler to ensure that the context menu does
1415         not appear.
1416
1417         * UserInterface/CodeMirrorDragToAlterNumberController.js:
1418         (WebInspector.CodeMirrorDragToAlterNumberController.prototype.handleEvent):
1419         (WebInspector.CodeMirrorDragToAlterNumberController.prototype._setTracksMouseClickAndDrag):
1420
1421 2013-07-24  Antoine Quint  <graouts@apple.com>
1422
1423         Web Inspector: support click-and-drag editing of CSS numeric values
1424         https://bugs.webkit.org/show_bug.cgi?id=118896
1425
1426         Reviewed by Timothy Hatcher.
1427
1428         Add support for adjustment of numeric values in the various CodeMirror editors
1429         by holding the option key and dragging the mouse. By default, dragging one pixel
1430         changes the value by 1, but key modifiers allow to customize that behavior by using
1431         the control key to change the value to 0.1 and the shift key to change the value to 10.
1432
1433         * UserInterface/CodeMirrorAdditions.js:
1434         Split adjustNumber() into two methods such that we may use its logic from the
1435         CodeMirrorDragToAlterNumberController. The new method, CodeMirror.prototype.alterNumberInRange()
1436         allow to set begin and end CodeMirror positions such that the existing alterNumber()
1437         can use information based on the current cursor position, and CodeMirrorDragToAlterNumberController
1438         can use information based on the hovered token.
1439
1440         * UserInterface/CodeMirrorDragToAlterNumberController.css: Added.
1441         (.CodeMirror.drag-to-adjust .CodeMirror-lines):
1442         Set the cursor to "col-resize" when a number token is hovered and the option key
1443         modifier is pressed.
1444
1445         * UserInterface/CodeMirrorDragToAlterNumberController.js: Added.
1446         (WebInspector.CodeMirrorDragToAlterNumberController):
1447         We define the new "dragToAdjustNumbers" CodeMirror option.
1448
1449         (WebInspector.CodeMirrorDragToAlterNumberController.prototype.set enabled):
1450         The "enabled" property controls whether the associated CodeMirror instance
1451         may act upon hovering numeric values to adjust them via a drag interaction.
1452
1453         (WebInspector.CodeMirrorDragToAlterNumberController.prototype.handleEvent):
1454         Proxy for various event-specific methods to deal with mouse events. We also bind
1455         the value of the "active" property to the "mouseenter" and "mouseleave" events
1456         if we're not currently dragging-to-adjust.
1457
1458         (WebInspector.CodeMirrorDragToAlterNumberController.prototype._setActive):
1459         The "active" property is set when the mouse is over the associated CodeMirror
1460         editor and when it's on we track all "mousemove" events such that we may
1461         identify tokens containing numeric values. We also start tracking changes to the
1462         option modifier key press state such that we may change the cursor accordingly.
1463         We ensure that the CodeMirror instance is not read-only such that we don't
1464         allow adjustment of numeric values in places where they couldn't be committed.
1465
1466         (WebInspector.CodeMirrorDragToAlterNumberController.prototype._setDragging):
1467         The "dragging" property reflects whether a dragging-to-adjust interaction
1468         is underway. We call into WebInspector.elementDragStart() and WebInspector.elementDragEnd()
1469         to set the cursor to "col-resize" for the whole document while tracking mousemove
1470         and mouseup events at the window level such that we can drag-to-adjust even outside
1471         of the inspector window.
1472
1473         (WebInspector.CodeMirrorDragToAlterNumberController.prototype._setTracksMouseClickAndDrag):
1474         The "tracksMouseClickAndDrag" property is set to true whenever the controller
1475         has detected that a token containing a numeric value is being hovered and the
1476         option modifier key is pressed. This property controls the cursor value for the
1477         hovered token to reflect that a drag-to-adjust interaction is allowed and tracks
1478         "mousedown" events for when a dragging interaction may be initiated.
1479
1480         (WebInspector.CodeMirrorDragToAlterNumberController.prototype._modifiersDidChange):
1481         Sets the "tracksMouseClickAndDrag" property depending on the availability of a hovered
1482         token containing a numeric value and the pressed state of the option modified key.
1483
1484         (WebInspector.CodeMirrorDragToAlterNumberController.prototype._mouseMoved):
1485         Handles "mousemove" events when we're not in the "dragging" state such that we
1486         check the currently hovered token, if any, to see if it contains a number that
1487         we may drag-to-adjust. Subsequently, we may enter the "tracksMouseClickAndDrag"
1488         state.
1489
1490         (WebInspector.CodeMirrorDragToAlterNumberController.prototype._mouseWasPressed):
1491         Handles "mousedown" events during a drag-to-adjust interaction. We simply track
1492         the current mouse position in the x-axis and enter the "dragging" state.
1493
1494         (WebInspector.CodeMirrorDragToAlterNumberController.prototype._mouseWasDragged):
1495         Handles "mousemove" events when we are in the "dragging" state. We compare the
1496         current mouse position in the x-axis with the last recoreded value and determine
1497         the amount by which we should adjust the value, taking into account the shift and
1498         control modifier keys. We then call into WebInspector.alterNumberInRange() to
1499         apply the change amount to the associated CodeMirror editor.
1500
1501         (WebInspector.CodeMirrorDragToAlterNumberController.prototype._mouseWasReleased):
1502         Handles "mouseup" events, simply exiting the "dragging" state and resetting other
1503         parameters we would have customized as a result of the drag-to-adjust interaction.
1504
1505         (WebInspector.CodeMirrorDragToAlterNumberController.prototype._reset):
1506         Resetting some parameters we would have customized as a result of the drag-to-adjust
1507         interaction.
1508
1509         * UserInterface/Main.html:
1510         Include the new CodeMirrorDragToAlterNumberController.{js|css} files.
1511
1512         * UserInterface/Main.js:
1513         (WebInspector.elementDragStart):
1514         (WebInspector.elementDragEnd):
1515         Add an extra parameter to elementDragStart() such that the caller may specify the event
1516         target for the "mousemove" and "mouseup" events.
1517
1518 2013-07-23  Roland Takacs  <rtakacs@inf.u-szeged.hu>
1519
1520         WebSocket initialization to use remote inspector
1521         https://bugs.webkit.org/show_bug.cgi?id=118678
1522
1523         Reviewed by Timothy Hatcher.
1524
1525         Add WebSocket initialization and define a 'connect-src' directive in the
1526         Content-Security-Policy HTTP header to enable the connection.
1527
1528         * UserInterface/InspectorFrontendHostStub.js:
1529         (.WebInspector.InspectorFrontendHostStub.prototype.sendMessageToBackend):
1530         * UserInterface/Main.html:
1531         * UserInterface/Main.js:
1532         (WebInspector.loaded):
1533         (WebInspector._initializeWebSocketIfNeeded.createSocket.WebInspector):
1534         (WebInspector._initializeWebSocketIfNeeded.createSocket):
1535         (WebInspector._initializeWebSocketIfNeeded):
1536
1537 2013-07-22  Diego Pino Garcia  <dpino@igalia.com>
1538
1539         Web Inspector: When right-clicking on a DataGrid column, show editing 
1540         menu option as "Edit <columnName>" instead of just "Edit"
1541         https://bugs.webkit.org/show_bug.cgi?id=118970
1542
1543         Reviewed by Timothy Hatcher.
1544
1545         * Localizations/en.lproj/localizedStrings.js: Add literal "Edit '%s'"
1546         * UserInterface/DataGrid.js: Change "Edit" for "Edit <columnTitle>"
1547         (WebInspector.DataGrid.prototype._contextMenuInDataTable):
1548
1549 2013-07-21  Seokju Kwon  <seokju.kwon@gmail.com>
1550
1551         Web Inspector: Cleanup InspectorFrontendHostStub.js
1552         https://bugs.webkit.org/show_bug.cgi?id=118959
1553
1554         Reviewed by Timothy Hatcher.
1555
1556         Remove some functions because we dont use on New Inspector.
1557
1558         * UserInterface/InspectorFrontendHostStub.js:
1559         (.WebInspector.InspectorFrontendHostStub):
1560         (.WebInspector.InspectorFrontendHostStub.prototype.save):
1561
1562 2013-07-17  Seokju Kwon  <seokju.kwon@gmail.com>
1563
1564         Web Inspector: Fix a typo in WebInspector.loaded
1565         https://bugs.webkit.org/show_bug.cgi?id=118834
1566
1567         Reviewed by Timothy Hatcher.
1568
1569         * UserInterface/Main.js:
1570         (WebInspector.loaded):
1571
1572 2013-07-16  Seokju Kwon  <seokju.kwon@gmail.com>
1573
1574         Web Inspector: InspectorFrontendHost is undefined
1575         https://bugs.webkit.org/show_bug.cgi?id=118715
1576
1577         Reviewed by Timothy Hatcher.
1578
1579         Add InspectorFrontendHostStub.js to New Inspector because of the InspectorFrontendHost initialization.
1580
1581         * UserInterface/InspectorFrontendHostStub.js: Added.
1582         (.WebInspector.InspectorFrontendHostStub):
1583         (.WebInspector.InspectorFrontendHostStub.prototype.platform):
1584         (.WebInspector.InspectorFrontendHostStub.prototype.port):
1585         (.WebInspector.InspectorFrontendHostStub.prototype.bringToFront):
1586         (.WebInspector.InspectorFrontendHostStub.prototype.closeWindow):
1587         (.WebInspector.InspectorFrontendHostStub.prototype.requestSetDockSide):
1588         (.WebInspector.InspectorFrontendHostStub.prototype.setAttachedWindowHeight):
1589         (.WebInspector.InspectorFrontendHostStub.prototype.setAttachedWindowWidth):
1590         (.WebInspector.InspectorFrontendHostStub.prototype.setToolbarHeight):
1591         (.WebInspector.InspectorFrontendHostStub.prototype.moveWindowBy):
1592         (.WebInspector.InspectorFrontendHostStub.prototype.loaded):
1593         (.WebInspector.InspectorFrontendHostStub.prototype.localizedStringsURL):
1594         (.WebInspector.InspectorFrontendHostStub.prototype.inspectedURLChanged):
1595         (.WebInspector.InspectorFrontendHostStub.prototype.copyText):
1596         (.WebInspector.InspectorFrontendHostStub.prototype.openInNewTab):
1597         (.WebInspector.InspectorFrontendHostStub.prototype.canSave):
1598         (.WebInspector.InspectorFrontendHostStub.prototype.save):
1599         (.WebInspector.InspectorFrontendHostStub.prototype.append):
1600         (.WebInspector.InspectorFrontendHostStub.prototype.close.cleanup):
1601         (.WebInspector.InspectorFrontendHostStub.prototype.close):
1602         (.WebInspector.InspectorFrontendHostStub.prototype.sendMessageToBackend):
1603         (.WebInspector.InspectorFrontendHostStub.prototype.loadResourceSynchronously):
1604         * UserInterface/Main.html:
1605
1606 2013-07-15  Seokju Kwon  <seokju.kwon@gmail.com>
1607
1608         Web Inspector: Remove unused columns from select query in ImageUtilities.js
1609         https://bugs.webkit.org/show_bug.cgi?id=118694
1610
1611         Reviewed by Timothy Hatcher.
1612
1613         * UserInterface/ImageUtilities.js: Remove pixelRatio and formatVersion from select query.
1614
1615 2013-07-15  Timothy Hatcher  <timothy@apple.com>
1616
1617         Update CodeMirror to 3.14.1.
1618
1619         https://bugs.webkit.org/show_bug.cgi?id=118605
1620
1621         Reviewed by Joseph Pecoraro.
1622
1623         * Scripts/update-codemirror-resources.rb: Updated the list to add closebrackets.js and sorted the files.
1624         * Tools/PrettyPrinting/CodeMirrorFormatters.js:
1625         * Tools/PrettyPrinting/Formatter.js:
1626         * Tools/PrettyPrinting/FormatterContentBuilder.js:
1627         * Tools/PrettyPrinting/codemirror.css:
1628         * Tools/PrettyPrinting/codemirror.js:
1629         * Tools/PrettyPrinting/css.js:
1630         * Tools/PrettyPrinting/javascript.js:
1631         * UserInterface/External/CodeMirror/closebrackets.js:
1632         * UserInterface/External/CodeMirror/codemirror.css:
1633         * UserInterface/External/CodeMirror/codemirror.js:
1634         * UserInterface/External/CodeMirror/coffeescript.js:
1635         * UserInterface/External/CodeMirror/comment.js:
1636         * UserInterface/External/CodeMirror/css.js:
1637         * UserInterface/External/CodeMirror/javascript.js:
1638         * UserInterface/External/CodeMirror/matchbrackets.js:
1639         * UserInterface/External/CodeMirror/sql.js:
1640         * UserInterface/External/CodeMirror/xml.js:
1641
1642 2013-07-15  Timothy Hatcher  <timothy@apple.com>
1643
1644         Make sure to add main resources for sub-frames to the Network Timeline.
1645
1646         https://bugs.webkit.org/show_bug.cgi?id=118649
1647
1648         Reviewed by Joseph Pecoraro.
1649
1650         * UserInterface/TimelineManager.js:
1651         (WebInspector.TimelineManager.prototype._mainResourceDidChange): Remove the
1652         call to _clear() and early return for event.target.isMainFrame(). The _clear()
1653         is already handled if needed by the call to _startAutoRecording(), so it was
1654         redundant here and caused the erroneous addition of isMainFrame() early return.
1655
1656 2013-07-15  Timothy Hatcher  <timothy@apple.com>
1657
1658         Properly handle style text changes while the color popover is open.
1659
1660         https://bugs.webkit.org/show_bug.cgi?id=118575
1661
1662         Reviewed by Joseph Pecoraro.
1663
1664         * UserInterface/CSSStyleDeclarationTextEditor.js:
1665         (WebInspector.CSSStyleDeclarationTextEditor.prototype._colorSwatchClicked.updateCodeMirror):
1666         The original text marker might have been cleared by a style update, in this case we need to
1667         find the new color text marker so we know the right range for the new style color text.
1668
1669 2013-07-14  Commit Queue  <commit-queue@webkit.org>
1670
1671         Unreviewed, rolling out r152598.
1672         http://trac.webkit.org/changeset/152598
1673         https://bugs.webkit.org/show_bug.cgi?id=118658
1674
1675         totally broke the web inspector (JS ERROR: SyntaxError:
1676         Expected token '}') (Requested by thorton on #webkit).
1677
1678         * Tools/PrettyPrinting/CodeMirrorFormatters.js:
1679         * Tools/PrettyPrinting/Formatter.js:
1680         * Tools/PrettyPrinting/FormatterContentBuilder.js:
1681         * Tools/PrettyPrinting/codemirror.css:
1682         (.CodeMirror-scrollbar-filler):
1683         (.CodeMirror-gutters):
1684         (.CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler):
1685         (.CodeMirror-widget):
1686         * Tools/PrettyPrinting/codemirror.js:
1687         (window.CodeMirror):
1688         (window.CodeMirror.):
1689         (.do):
1690         (moveVisually):
1691         * Tools/PrettyPrinting/css.js:
1692         (.):
1693         (CodeMirror):
1694         * Tools/PrettyPrinting/javascript.js:
1695         (.):
1696         * UserInterface/External/CodeMirror/codemirror.css:
1697         (.CodeMirror-widget):
1698         * UserInterface/External/CodeMirror/codemirror.js:
1699         (window.CodeMirror):
1700         (window.CodeMirror.):
1701         * UserInterface/External/CodeMirror/coffeescript.js:
1702         * UserInterface/External/CodeMirror/comment.js:
1703         (.):
1704         * UserInterface/External/CodeMirror/css.js:
1705         (.):
1706         (CodeMirror):
1707         * UserInterface/External/CodeMirror/javascript.js:
1708         (.):
1709         * UserInterface/External/CodeMirror/matchbrackets.js:
1710         (.):
1711         * UserInterface/External/CodeMirror/sql.js:
1712         * UserInterface/External/CodeMirror/xml.js:
1713
1714 2013-07-12  Timothy Hatcher  <timothy@apple.com>
1715
1716         Update CodeMirror to 7f560afa1c (3.14+).
1717
1718         https://bugs.webkit.org/show_bug.cgi?id=118605
1719
1720         Reviewed by Sam Weinig.
1721
1722         * Tools/PrettyPrinting/CodeMirrorFormatters.js:
1723         * Tools/PrettyPrinting/Formatter.js:
1724         * Tools/PrettyPrinting/FormatterContentBuilder.js:
1725         * Tools/PrettyPrinting/codemirror.css:
1726         * Tools/PrettyPrinting/codemirror.js:
1727         * Tools/PrettyPrinting/css.js:
1728         * Tools/PrettyPrinting/javascript.js:
1729         * UserInterface/External/CodeMirror/codemirror.css:
1730         * UserInterface/External/CodeMirror/codemirror.js:
1731         * UserInterface/External/CodeMirror/coffeescript.js:
1732         * UserInterface/External/CodeMirror/comment.js:
1733         * UserInterface/External/CodeMirror/css.js:
1734         * UserInterface/External/CodeMirror/javascript.js:
1735         * UserInterface/External/CodeMirror/matchbrackets.js:
1736         * UserInterface/External/CodeMirror/sql.js:
1737         * UserInterface/External/CodeMirror/xml.js:
1738
1739 2013-07-12  Seokju Kwon  <seokju.kwon@gmail.com>
1740
1741         Web Inspector: Pass null for sidebarPanels and role in WebInspector.Sidebar()
1742         https://bugs.webkit.org/show_bug.cgi?id=118589
1743
1744         Reviewed by Timothy Hatcher.
1745
1746         sidebarPanels : It is necessary to get correct argument after r152141.
1747         Without this, error messages can be displayed.
1748         role : Could pass null for it since default value is "group".
1749
1750         * UserInterface/Main.js:
1751         (WebInspector.contentLoaded):
1752
1753 2013-07-03  Timothy Hatcher  <timothy@apple.com>
1754
1755         Guard remaining calls to decodeURIComponent with a try/catch.
1756
1757         https://bugs.webkit.org/show_bug.cgi?id=118371
1758
1759         Reviewed by Joseph Pecoraro.
1760
1761         * UserInterface/Main.js:
1762         (WebInspector.displayNameForURL):
1763         (WebInspector.updateWindowTitle):
1764         * UserInterface/Utilities.js:
1765         (arrayResult):
1766         (queryString):
1767
1768 2013-07-03  Jessie Berlin  <jberlin@apple.com>
1769
1770         Ran update-webkit-localizable-strings.
1771
1772         Rubber-stamped by Joseph Pecoraro.
1773
1774         * Localizations/en.lproj/localizedStrings.js:
1775
1776 2013-06-28  Dean Jackson  <dino@apple.com>
1777
1778         Update Apple System fonts in auto-complete
1779         https://bugs.webkit.org/show_bug.cgi?id=118205
1780         <rdar://problem/14308488>
1781
1782         Reviewed by Joseph Pecoraro.
1783
1784         Update for the new Apple System font names, and remove some invalid entries.
1785
1786         * UserInterface/CSSKeywordCompletions.js: General cleanup. Note that
1787         "apple-system-short-caption2" looks like it was accidentally omitted. It wasn't :)
1788
1789 2013-06-28  James Craig  <james@cookiecrook.com>
1790
1791         Web Inspector: AX: VoiceOver speaks all inspector search fields as 'required'
1792         https://bugs.webkit.org/show_bug.cgi?id=118122
1793
1794         Reviewed by Timothy Hatcher.
1795
1796         Removed bogus "required" state, and switched :valid selector to use :not(:placeholder-shown)
1797         so that screen readers will not indicate a bogus :required/:invalid state to the user.
1798         Minor cosmetic difference blocked by http://webkit.org/b/118162
1799
1800         * UserInterface/FilterBar.css:
1801         (.filter-bar > input[type="search"]:focus):
1802         (.filter-bar > input[type="search"]:not(:placeholder-shown)):
1803         * UserInterface/FilterBar.js:
1804         (WebInspector.FilterBar):
1805         * UserInterface/ResourceSidebarPanel.js:
1806         (WebInspector.ResourceSidebarPanel):
1807         * UserInterface/SearchBar.css:
1808         (.search-bar > input[type="search"]:focus):
1809         (.search-bar > input[type="search"]:not(:placeholder-shown)):
1810         * UserInterface/SearchBar.js:
1811         (WebInspector.SearchBar):
1812
1813 2013-06-27  James Craig  <james@cookiecrook.com>
1814
1815         Web Inspector: AX: Add container ARIA roles (toolbar, main, labeled regions, etc.) 
1816         so the layout is more discoverable to screen reader users
1817         https://bugs.webkit.org/show_bug.cgi?id=118104
1818
1819         Reviewed by Timothy Hatcher.
1820
1821         Made the basic layout (toolbar, sidebars, main) of the Web Inspector understandable
1822         and navigable with VoiceOver.
1823
1824         * Localizations/en.lproj/localizedStrings.js:
1825         * UserInterface/ButtonNavigationItem.js:
1826         * UserInterface/CSSStyleDetailsSidebarPanel.js:
1827         * UserInterface/DashboardManager.js:
1828         * UserInterface/Main.js:
1829         * UserInterface/NavigationBar.js:
1830         * UserInterface/NavigationItem.js:
1831         * UserInterface/NavigationSidebarPanel.js:
1832         * UserInterface/RadioButtonNavigationItem.js:
1833         * UserInterface/Sidebar.js:
1834         * UserInterface/SidebarPanel.js:
1835         * UserInterface/Toolbar.js:
1836
1837 2013-06-27  James Craig  <james@cookiecrook.com>
1838
1839         Web Inspector: AX: Console log of the Inspector does not announce output for screen readers
1840         https://bugs.webkit.org/show_bug.cgi?id=115976
1841
1842         Reviewed by Timothy Hatcher.
1843
1844         Main console log area (div.console-messages) is now an ARIA live region (role="log")
1845         so screen readers speak plain text updates.
1846         
1847         Also added contextual labels (e.g. input/output) but speech output verification of
1848         those is currently blocked by http://webkit.org/b/118096
1849
1850         * Localizations/en.lproj/localizedStrings.js:
1851         * UserInterface/ConsoleCommand.js:
1852         (WebInspector.ConsoleCommand.prototype.toMessageElement):
1853         * UserInterface/ConsoleCommandResult.js:
1854         (WebInspector.ConsoleCommandResult.prototype.toMessageElement):
1855         * UserInterface/LogContentView.css:
1856         (@media reader):
1857         * UserInterface/LogContentView.js:
1858         (WebInspector.LogContentView):
1859
1860
1861 2013-06-27  Matthew Holden  <jftholden@yahoo.com>
1862
1863         Web Inspector: Display color picker in popover on color swatch click
1864         https://bugs.webkit.org/show_bug.cgi?id=117919
1865
1866         Reviewed by Timothy Hatcher.
1867
1868         Includes fixes from second code review.
1869
1870         * Localizations/en.lproj/localizedStrings.js:
1871         * UserInterface/CSSColorPicker.css: Added.
1872         (.colorpicker-container):
1873         (.colorpicker-fill-parent):
1874         (.colorpicker-top):
1875         (.colorpicker-color):
1876         (.colorpicker-bottom span):
1877         (.colorpicker-text):
1878         (.colorpicker-color-text-value):
1879         (.colorpicker-hue):
1880         (.colorpicker-fill):
1881         (.colorpicker-range-container):
1882         (.colorpicker-range-container *):
1883         (.colorpicker-range-container label):
1884         (.colorpicker-range-container input):
1885         (.colorpicker-saturation):
1886         (.colorpicker-value):
1887         (.colorpicker-dragger):
1888         (.colorpicker-slider):
1889         (.colorpicker-container .swatch):
1890         (.colorpicker-container .swatch-inner):
1891         * UserInterface/CSSColorPicker.js: Added.
1892         (WebInspector.CSSColorPicker.consume):
1893         (WebInspector.CSSColorPicker.move):
1894         (WebInspector.CSSColorPicker.start):
1895         (WebInspector.CSSColorPicker.stop):
1896         (WebInspector.CSSColorPicker.makeDraggable):
1897         (WebInspector.CSSColorPicker.hueDrag):
1898         (WebInspector.CSSColorPicker.colorDragStart):
1899         (WebInspector.CSSColorPicker.colorDrag):
1900         (WebInspector.CSSColorPicker.alphaDrag):
1901         (WebInspector.CSSColorPicker.colorSwatchClicked):
1902         (WebInspector.CSSColorPicker):
1903         (WebInspector.CSSColorPicker.prototype.get element):
1904         (WebInspector.CSSColorPicker.prototype.set color):
1905         (WebInspector.CSSColorPicker.prototype.get color):
1906         (WebInspector.CSSColorPicker.prototype.get outputColorFormat):
1907         (WebInspector.CSSColorPicker.prototype.get colorHueOnly):
1908         (WebInspector.CSSColorPicker.prototype.set displayText):
1909         (WebInspector.CSSColorPicker.prototype.shown):
1910         (WebInspector.CSSColorPicker.prototype._updateHelperLocations):
1911         (WebInspector.CSSColorPicker.prototype._updateDisplay):
1912         (WebInspector.CSSColorPicker.hsvaToRGBA):
1913         (WebInspector.CSSColorPicker.rgbaToHSVA):
1914         * UserInterface/CSSStyleDeclarationTextEditor.js:
1915         (WebInspector.CSSStyleDeclarationTextEditor.prototype.didDismissPopover):
1916         (WebInspector.CSSStyleDeclarationTextEditor.prototype.):
1917         (WebInspector.CSSStyleDeclarationTextEditor.prototype._createColorSwatches):
1918         (WebInspector.CSSStyleDeclarationTextEditor.prototype.event.newColorText.colorTextMarker):
1919         (WebInspector.CSSStyleDeclarationTextEditor.prototype.event.newColorText):
1920         * UserInterface/Main.html:
1921
1922 2013-06-26  Antoine Quint  <graouts@apple.com>
1923
1924         Web Inspector: stepping through while paused in debugger makes a popover appear
1925         https://bugs.webkit.org/show_bug.cgi?id=117994
1926
1927         There is no obvious need to call tokenTrackingControllerNewHighlightCandidate when the
1928         active call frame changes and it leads to an extraneous display of the popover.
1929
1930         Reviewed by Timothy Hatcher.
1931
1932         * UserInterface/SourceCodeTextEditor.js:
1933         (WebInspector.SourceCodeTextEditor.prototype._activeCallFrameDidChange):
1934
1935 2013-06-24  Antoine Quint  <graouts@apple.com>
1936
1937         Web Inspector: WebInspector.displayNameForURL() failure prevents DOM inspection
1938         https://bugs.webkit.org/show_bug.cgi?id=117927
1939
1940         Handle possible mis-encoded URI fragments passed to decodeURIComponent() which
1941         could prevent inspection of the DOM.
1942
1943         Reviewed by Timothy Hatcher.
1944
1945         * UserInterface/Main.js:
1946         (WebInspector.displayNameForURL):
1947
1948 2013-06-17  Darin Adler  <darin@apple.com>
1949
1950         Sort all the Xcode project files
1951         https://bugs.webkit.org/show_bug.cgi?id=117696
1952
1953         Reviewed by Anders Carlsson.
1954
1955         * WebInspectorUI.xcodeproj/project.pbxproj: Ran the sort-Xcode-project-file script.
1956
1957 2013-06-21  Joseph Pecoraro  <pecoraro@apple.com>
1958
1959         Web Inspector: Uncaught exception when pretty printing WebInspector.Script
1960         https://bugs.webkit.org/show_bug.cgi?id=117893
1961
1962         This was an issue with an earlier refactoring. The sourceCode is a Script,
1963         so replace the non-existent local variable "script" with "this._sourceCode".
1964
1965         Reviewed by Timothy Hatcher.
1966
1967         * UserInterface/SourceCodeTextEditor.js:
1968         (WebInspector.SourceCodeTextEditor.prototype.textEditorUpdatedFormatting):
1969
1970 2013-06-21  Timothy Hatcher  <timothy@apple.com>
1971
1972         Stop removing and re-adding breakpoints from the backend on reload.
1973
1974         On reload the sourceCode for breakpoints are nulled out, which fires DisplayLocationDidChange.
1975         Then the sourceCode is reassociated, firing DisplayLocationDidChange again. In these cases we
1976         don't need to update the backend, since nothing really changed.
1977
1978         https://bugs.webkit.org/show_bug.cgi?id=117877
1979
1980         Reviewed by Joseph Pecoraro.
1981
1982         * UserInterface/DebuggerManager.js:
1983         (WebInspector.DebuggerManager.prototype._breakpointDisplayLocationDidChange): Return early when
1984         _ignoreBreakpointDisplayLocationDidChangeEvent is true.
1985         (WebInspector.DebuggerManager.prototype.reset): Set _ignoreBreakpointDisplayLocationDidChangeEvent.
1986         (WebInspector.DebuggerManager.prototype._associateBreakpointsWithSourceCode): Ditto.
1987
1988 2013-06-19  Antoine Quint  <graouts@apple.com>
1989
1990         Web Inspector: Copying array or object output does not contain values
1991         https://bugs.webkit.org/show_bug.cgi?id=117669
1992
1993         ConsoleCommandResult was overriding toClipboardString() but wasn't using the complex code
1994         in ConsoleMessageImpl's toClipboardString() to provide a nicely formatted output for objects.
1995         We now use a "clipboarPrefixString" property to customize the prefix used in the clipboard
1996         and, additionally, only use that prefix if we're copying more than a single message since it's
1997         the only situation where it's useful to have the ">" or "<" prefix shown. Console messages with
1998         a log level always print the level and when saving the console log using Cmd+S, all messages
1999         contain their prefix as well.
2000
2001         Reviewed by Timothy Hatcher.
2002
2003         * UserInterface/ConsoleCommand.js:
2004         (WebInspector.ConsoleCommand.prototype.toClipboardString):
2005         Handle the new isPrefixOptional argument.
2006
2007         * UserInterface/ConsoleCommandResult.js:
2008         (WebInspector.ConsoleCommandResult.prototype.get clipboarPrefixString):
2009         Provide a custom "< " prefix and set "enforcesClipboardPrefixString" to false such that
2010         the prefix isn't printed out in situations when it may not.
2011
2012         * UserInterface/ConsoleMessageImpl.js:
2013         Set "enforcesClipboardPrefixString" to true since we always want to log the log level
2014         prefix in all situations.
2015
2016         (WebInspector.ConsoleMessageImpl.prototype.get clipboarPrefixString):
2017         Implement this new getter to return our clipboard string such that subclasses may
2018         customize it.
2019
2020         (WebInspector.ConsoleMessageImpl.prototype.toClipboardString):
2021         Take into account both isPrefixOptional and the "enforcesClipboardPrefixString" property
2022         to only log the prefix if necessary.
2023
2024         * UserInterface/LogContentView.js:
2025         (WebInspector.LogContentView.prototype._formatMessagesAsData):
2026         Make the logging of prefix optional when we have a single message selected and we're
2027         not saving via Cmd+S.
2028
2029 2013-06-18  Joseph Pecoraro  <pecoraro@apple.com>
2030
2031         Web Inspector: Infrequent uncaught exception with debugger popovers breaks inspector
2032         https://bugs.webkit.org/show_bug.cgi?id=117755
2033
2034         Create the ZERO_SIZE and ZERO_RECT objects after we've setup the Size
2035         and Rect prototypes, so they get the expected methods. We then need to
2036         handle the ZERO_RECT case better, and not attempt to draw a background
2037         in a canvas with a 0 size, which would produce an exception.
2038
2039         Reviewed by Timothy Hatcher.
2040
2041         * UserInterface/Geometry.js:
2042         * UserInterface/Popover.js:
2043         (WebInspector.Popover.prototype._update):
2044
2045 2013-06-18  Timothy Hatcher  <timothy@apple.com>
2046
2047         If the tree outline is processing a selection currently, then don't change the selection.
2048
2049         This is needed to allow breakpoints tree elements to be selected without jumping back to
2050         selecting the resource tree element.
2051
2052         https://bugs.webkit.org/show_bug.cgi?id=117746
2053
2054         Reviewed by Joseph Pecoraro.
2055
2056         * UserInterface/Main.js:
2057         (WebInspector._revealAndSelectRepresentedObjectInNavigationSidebar):
2058         * UserInterface/TreeOutline.js:
2059         (TreeElement.prototype.select):
2060
2061 2013-06-18  Timothy Hatcher  <timothy@apple.com>
2062
2063         Update breakpoints to match Xcode 5.
2064
2065         This updates the breakpoint images, line colors, and moves breakpoints toggle button
2066         to the Debugger sidebar navigation bar.
2067
2068         https://bugs.webkit.org/show_bug.cgi?id=117723
2069
2070         Reviewed by Joseph Pecoraro.
2071
2072         * Localizations/en.lproj/localizedStrings.js: Updated.
2073         * UserInterface/DebuggerSidebarPanel.css: Removed custom toggle button rules.
2074         * UserInterface/DebuggerSidebarPanel.js:
2075         (WebInspector.DebuggerSidebarPanel):
2076         (WebInspector.DebuggerSidebarPanel.prototype._breakpointsToggleButtonClicked):
2077         * UserInterface/Images/Breakpoint.png: Updated.
2078         * UserInterface/Images/Breakpoints.pdf: Added.
2079         * UserInterface/Images/Breakpoint@2x.png: Updated.
2080         * UserInterface/Images/BreakpointButton.pdf: Updated.
2081         * UserInterface/Images/BreakpointInactive.png: Updated.
2082         * UserInterface/Images/BreakpointInactive@2x.png: Updated.
2083         * UserInterface/Images/BreakpointInactiveButton.pdf: Updated.
2084         * UserInterface/Images/InstructionPointer.png: Updated.
2085         * UserInterface/Images/InstructionPointer@2x.png: Updated.
2086         * UserInterface/SourceCodeTextEditor.css:
2087         (.source-code.text-editor > .CodeMirror .error): Updated background-color and removed box-shadow.
2088         (.source-code.text-editor > .CodeMirror .warning): Ditto.
2089         * UserInterface/TextEditor.css:
2090         (.text-editor > .CodeMirror .has-breakpoint .CodeMirror-linenumber::before): Changed left position to 0.
2091         (.text-editor > .CodeMirror .execution-line .CodeMirror-linenumber::after): Updated position.
2092         (.text-editor > .CodeMirror .execution-line): Updated background-color and removed box-shadow.
2093
2094 2013-06-13  Joseph Pecoraro  <pecoraro@apple.com>
2095
2096         <http://webkit.org/b/117615> Web Inspector: JS PrettyPrinting Should have space between "do" and "{"
2097
2098         Reviewed by Timothy Hatcher.
2099
2100         * UserInterface/CodeMirrorFormatters.js:
2101
2102 2013-06-13  Joseph Pecoraro  <pecoraro@apple.com>
2103
2104         <http://webkit.org/b/117612> Web Inspector: "Search Resource Content" should cancel when I remove all text search text
2105
2106         Reviewed by Timothy Hatcher.
2107
2108         * UserInterface/ResourceSidebarPanel.js:
2109         (WebInspector.ResourceSidebarPanel):
2110         (WebInspector.ResourceSidebarPanel.prototype._searchFieldInput):
2111
2112 == Rolled over to ChangeLog-2013-06-11 ==