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