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