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