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