2014-03-17  Joseph Pecoraro  <pecoraro@apple.com>

        Merge r165583.

    2014-03-13  Joseph Pecoraro  <pecoraro@apple.com>

            Web Inspector: Network.loadResource should include the response status code
            https://bugs.webkit.org/show_bug.cgi?id=130216

            Reviewed by Timothy Hatcher.

            * UserInterface/Controllers/SourceMapManager.js:
            (WebInspector.SourceMapManager.prototype.sourceMapLoaded):
            (WebInspector.SourceMapManager.prototype._loadAndParseSourceMap):
            * UserInterface/Models/SourceMapResource.js:
            (WebInspector.SourceMapResource.prototype.requestContentFromBackend.sourceMapResourceLoaded):
            If the response is 400 or larger, treat it as an error / failed load.

            * UserInterface/Protocol/InspectorWebBackendCommands.js:
            Update protocol to provide status code parameter.

2014-03-12  Matthew Hanson  <matthew_hanson@apple.com>

        Merge r165427.

    2014-03-10  Joseph Pecoraro  <pecoraro@apple.com> 

            Web Inspector: Frontend loaded resources from cache are not hidden as expected 
            https://bugs.webkit.org/show_bug.cgi?id=130044 

            Reviewed by Timothy Hatcher. 

            * loader/FrameLoader.cpp: 
            (WebCore::FrameLoader::loadedResourceFromMemoryCache): 
            Use the new request that was passed in. Assume it is filled in appropriately. 

            * loader/cache/CachedResourceLoader.h: 
            * loader/cache/CachedResourceLoader.cpp: 
            (WebCore::CachedResourceLoader::shouldContinueAfterNotifyingLoadedFromMemoryCache): 
            Carry over the hidden from inspector state if the passed in request had it, 
            and create the request that loadedResourceFromMemoryCache will use. 

            * xml/XMLHttpRequest.cpp: 
            (WebCore::XMLHttpRequest::createRequest): 
            Add missing ifdefs for INSPECTOR only function. 

2014-03-12  Matthew Hanson  <matthew_hanson@apple.com>

        Merge r165331.

    2014-03-10  Timothy Hatcher  <timothy@apple.com>

            Load source maps and their resources asynchronously.

            https://bugs.webkit.org/show_bug.cgi?id=112071

            Reviewed by Joseph Pecoraro.

            * UserInterface/SourceMapManager.js:
            (WebInspector.SourceMapManager.prototype.loadAndParseSourceMap):
            (WebInspector.SourceMapManager.prototype.downloadSourceMap):
            (WebInspector.SourceMapManager.prototype.sourceMapLoaded):
            (WebInspector.SourceMapManager.prototype._loadAndParseSourceMap):
            Use NetworkAgent.loadResource.

            * UserInterface/SourceMapResource.js:
            (WebInspector.SourceMapResource.prototype.requestContentFromBackend.sourceMapResourceLoaded):
            (WebInspector.SourceMapResource.prototype.createSourceCodeTextRange):
            Use NetworkAgent.loadResource.

            * UserInterface/InspectorWebBackendCommands.js: Updated.

2014-03-12  Brent Fulgham  <bfulgham@apple.com>

        [Win] Unreviewed build fix.

        * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj: Inspector files
        must be copied to proper configuration build directory.

2014-03-10  Brent Fulgham  <bfulgham@apple.com>

        Merge r165393.

    2014-03-10  Brent Fulgham  <bfulgham@apple.com>

            [Win] Pass environment to Pre-Build, Pre-Link, and Post-Build Stages.
            https://bugs.webkit.org/show_bug.cgi?id=130023

            * WebInspectorUI.vcxproj/WebInspectorUIPostBuild.cmd: Use %PlatformArchitecture%
            rather than hard-coded 32-bit path.

2014-02-04  Brent Fulgham  <bfulgham@apple.com>

        Merge r154395.

    2013-08-20  Brent Fulgham  <bfulgham@apple.com>

            <http://webkit.org/b/120098> [Windows] Enable the New Web Inspector

            Reviewed by Brian Weinstein.

            Add a new project to copy files to the appropriate spots in the
            Windows port.

            * WebInspectorUI.vcxproj: Added.
            * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj: Added.
            * WebInspectorUI.vcxproj/WebInspectorUI.vcxproj.filters: Added.
            * WebInspectorUI.vcxproj/WebInspectorUIPostBuild.cmd: Added.
            * WebInspectorUI.vcxproj/WebInspectorUIPreBuild.cmd: Added.

2013-11-08  Lucas Forschler  <lforschler@apple.com>

        Merge r157459

    2013-10-15  Antoine Quint  <graouts@apple.com>

            Web Inspector: can't select text inside a text node
            https://bugs.webkit.org/show_bug.cgi?id=122828

            Reviewed by Timothy Hatcher.

            Cancel the default user interaction when a drag action starts if the
            element is being edited.

            * UserInterface/DOMTreeElement.js:
            (WebInspector.DOMTreeElement.prototype.onattach):
            (WebInspector.DOMTreeElement.prototype.handleEvent):

2013-11-06  Lucas Forschler  <lforschler@apple.com>

        Merge rr157966

    2013-10-24  Timothy Hatcher  <timothy@apple.com>

            Allow editing CSS resources after they have been pretty printed.

            https://bugs.webkit.org/show_bug.cgi?id=123297

            Reviewed by Joseph Pecoraro.

            * UserInterface/TextEditor.js:
            (WebInspector.TextEditor): Remove the need for _readOnly.
            (WebInspector.TextEditor.prototype.set readOnly): Set CodeMirror readOnly directly.
            (WebInspector.TextEditor.prototype.set formatted): Don't call _updateCodeMirrorReadOnly.
            (WebInspector.TextEditor.prototype._updateCodeMirrorReadOnly): Removed.
            (WebInspector.TextEditor.prototype._contentChanged): Clear _formatted and _formatterSourceMap
            on edit and notify the delegate and fire the FormattingDidChange event.

2013-11-06  Lucas Forschler  <lforschler@apple.com>

        Merge r156675

    2013-09-30  Antoine Quint  <graouts@apple.com>

            Web Inspector: rows in the Layer sidebar panel may have the incorrect background color
            https://bugs.webkit.org/show_bug.cgi?id=122108

            Reviewed by Darin Adler.

            The LayerTreeDataGrid is a custom DataGrid subclass which exposes a .setChildren() method
            used to sort chidren without DOM order manipulation, for performance reason. However, since
            the way the alternating background color is usually implemented is based on the built-in
            CSS pseudo-classes working with DOM order, the background colors of nodes in the LayerTreeDataGrid
            can be incorrect depending on the sort order and the number of nodes. To fix this, we now manually
            set "even" and "odd" CSS classes on those nodes when they're sorted such that we have a chance
            to style them as intended. 

            * UserInterface/LayerTreeDataGrid.js:
            (WebInspector.LayerTreeDataGrid.prototype._updateChildren):
            Check if the data grid node index is even or odd and reflect this via an exclusive "even"
            or "odd" CSS class name.

            * UserInterface/LayerTreeSidebarPanel.css:
            (.layer-tree.panel .data-container tbody > tr.even):
            (.layer-tree.panel .data-container tbody > tr.odd):
            Apply alternating colors based on the exclusive "even" and "odd" CSS class names as applied in
            WebInspector.LayerTreeDataGrid.prototype._updateChildren().

2013-11-06  Lucas Forschler  <lforschler@apple.com>

        Merge r154550

    2013-08-24  Joseph Pecoraro  <pecoraro@apple.com>

            Web Inspector: Breakpoints in the editors gutter should have a contextmenu
            https://bugs.webkit.org/show_bug.cgi?id=120169

            Reviewed by Timothy Hatcher.

            Updated CodeMirror now has a gutterContextMenu event. Use that to give
            breakpoint related context menus. Add, Edit, Enable/Disable, Delete, and
            Reveal in Debugger Navigation Sidebar.

            * Localizations/en.lproj/localizedStrings.js:
            "Add Breakpoint", and "Reveal in Debugger Navigation Sidebar".

            * UserInterface/SourceCodeTextEditor.js:
            (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu.addBreakpoint):
            (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu.revealInSidebar):
            (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu.removeBreakpoints):
            (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu.toggleBreakpoints):
            (WebInspector.SourceCodeTextEditor.prototype.textEditorGutterContextMenu):
            Show a context menu when clicking on the gutter for 0 breakpoints,
            1 breakpoint, or >1 breakpoints. The only tricky handler is addBreakpoint,
            since that must update the TextEditor for the new breakpoint info.

            * UserInterface/TextEditor.js:
            (WebInspector.TextEditor):
            (WebInspector.TextEditor.prototype._gutterContextMenu):
            Send to delegate if the delegate implements textEditorGutterContextMenu.

2013-11-04  Lucas Forschler  <lforschler@apple.com>

        Merge fixes for <rdar://problem/15168240>
        
        * UserInterface/External/CodeMirror/codemirror.js:
        (window.CodeMirror):

2013-11-04  Lucas Forschler  <lforschler@apple.com>

        Merge r158404

    2013-10-31  Joseph Pecoraro  <pecoraro@apple.com>

            Web Inspector: Breakpoints in auto-formatted JavaScript editors are not working
            https://bugs.webkit.org/show_bug.cgi?id=123589

            Reviewed by Timothy Hatcher.

            The internal this._ignoreCodeMirrorContentDidChangeEvent flag was being used
            in two places that could be nested, meaning the flag was deleted while it
            was still expected to be set. Change it instead to a counter, to handle nesting.

            * UserInterface/TextEditor.js:
            (WebInspector.TextEditor):
            (WebInspector.TextEditor.prototype.set string):
            (WebInspector.TextEditor.prototype.set formatted):
            (WebInspector.TextEditor.prototype._contentChanged):

2013-11-04  Lucas Forschler  <lforschler@apple.com>

        Merge r158061

    2013-10-25  Joseph Pecoraro  <pecoraro@apple.com>

            Web Inspector: Command+Click on url(…) should go to image not source line
            https://bugs.webkit.org/show_bug.cgi?id=123362

            Reviewed by Timothy Hatcher.

            CodeMirror changed "url" from being type "variable-2" to "string-2".

            * UserInterface/CodeMirrorAdditions.js:

2013-11-04  Lucas Forschler  <lforschler@apple.com>

        Merge r154897

    2013-08-29  Timothy Hatcher  <timothy@apple.com>

            Only modify numbers if they are identified by CodeMirror as a number.

            https://bugs.webkit.org/show_bug.cgi?id=120484

            <rdar://problem/13877085> REGRESSION: Alt-up and Alt-down don't work when cursor is in unit
            <rdar://problem/13058697> PARITY: Option-Up arrow in "translate3d" should not modify number to make" translate4d"

            Reviewed by Joseph Pecoraro.

            * UserInterface/CodeMirrorAdditions.js:
            (CodeMirror.prototype.alterNumberInRange): Correctly preserve the selection, even if it differs from
            the range passed in.
            (alterNumber): Find number tokens and pass those to alterNumberInRange.
            (alterNumber.findNumberToken): Added. Helper.

2013-11-04  Lucas Forschler  <lforschler@apple.com>

        Merge r154851

    2013-08-29  Timothy Hatcher  <timothy@apple.com>

            Make incrementing and decrementing numbers by 0.1 require the control key, and not near zero numbers.

            https://bugs.webkit.org/show_bug.cgi?id=120492
            <rdar://problem/13738935> Incrementing and decrementing numbers near zero is annoying compared to earlier releases

            Reviewed by Joseph Pecoraro.

            * UserInterface/CodeMirrorAdditions.js:
            (alterNumber): Remove near zero check.

2013-11-04  Lucas Forschler  <lforschler@apple.com>

        Merge r153087

    2013-07-24  Antoine Quint  <graouts@apple.com>

            Web Inspector: support click-and-drag editing of CSS numeric values
            https://bugs.webkit.org/show_bug.cgi?id=118896

            Reviewed by Timothy Hatcher.

            Add support for adjustment of numeric values in the various CodeMirror editors
            by holding the option key and dragging the mouse. By default, dragging one pixel
            changes the value by 1, but key modifiers allow to customize that behavior by using
            the control key to change the value to 0.1 and the shift key to change the value to 10.

            * UserInterface/CodeMirrorAdditions.js:
            Split adjustNumber() into two methods such that we may use its logic from the
            CodeMirrorDragToAlterNumberController. The new method, CodeMirror.prototype.alterNumberInRange()
            allow to set begin and end CodeMirror positions such that the existing alterNumber()
            can use information based on the current cursor position, and CodeMirrorDragToAlterNumberController
            can use information based on the hovered token.

            * UserInterface/CodeMirrorDragToAlterNumberController.css: Added.
            (.CodeMirror.drag-to-adjust .CodeMirror-lines):
            Set the cursor to "col-resize" when a number token is hovered and the option key
            modifier is pressed.

            * UserInterface/CodeMirrorDragToAlterNumberController.js: Added.
            (WebInspector.CodeMirrorDragToAlterNumberController):
            We define the new "dragToAdjustNumbers" CodeMirror option.

            (WebInspector.CodeMirrorDragToAlterNumberController.prototype.set enabled):
            The "enabled" property controls whether the associated CodeMirror instance
            may act upon hovering numeric values to adjust them via a drag interaction.

            (WebInspector.CodeMirrorDragToAlterNumberController.prototype.handleEvent):
            Proxy for various event-specific methods to deal with mouse events. We also bind
            the value of the "active" property to the "mouseenter" and "mouseleave" events
            if we're not currently dragging-to-adjust.

            (WebInspector.CodeMirrorDragToAlterNumberController.prototype._setActive):
            The "active" property is set when the mouse is over the associated CodeMirror
            editor and when it's on we track all "mousemove" events such that we may
            identify tokens containing numeric values. We also start tracking changes to the
            option modifier key press state such that we may change the cursor accordingly.
            We ensure that the CodeMirror instance is not read-only such that we don't
            allow adjustment of numeric values in places where they couldn't be committed.

            (WebInspector.CodeMirrorDragToAlterNumberController.prototype._setDragging):
            The "dragging" property reflects whether a dragging-to-adjust interaction
            is underway. We call into WebInspector.elementDragStart() and WebInspector.elementDragEnd()
            to set the cursor to "col-resize" for the whole document while tracking mousemove
            and mouseup events at the window level such that we can drag-to-adjust even outside
            of the inspector window.

            (WebInspector.CodeMirrorDragToAlterNumberController.prototype._setTracksMouseClickAndDrag):
            The "tracksMouseClickAndDrag" property is set to true whenever the controller
            has detected that a token containing a numeric value is being hovered and the
            option modifier key is pressed. This property controls the cursor value for the
            hovered token to reflect that a drag-to-adjust interaction is allowed and tracks
            "mousedown" events for when a dragging interaction may be initiated.

            (WebInspector.CodeMirrorDragToAlterNumberController.prototype._modifiersDidChange):
            Sets the "tracksMouseClickAndDrag" property depending on the availability of a hovered
            token containing a numeric value and the pressed state of the option modified key.

            (WebInspector.CodeMirrorDragToAlterNumberController.prototype._mouseMoved):
            Handles "mousemove" events when we're not in the "dragging" state such that we
            check the currently hovered token, if any, to see if it contains a number that
            we may drag-to-adjust. Subsequently, we may enter the "tracksMouseClickAndDrag"
            state.

            (WebInspector.CodeMirrorDragToAlterNumberController.prototype._mouseWasPressed):
            Handles "mousedown" events during a drag-to-adjust interaction. We simply track
            the current mouse position in the x-axis and enter the "dragging" state.

            (WebInspector.CodeMirrorDragToAlterNumberController.prototype._mouseWasDragged):
            Handles "mousemove" events when we are in the "dragging" state. We compare the
            current mouse position in the x-axis with the last recoreded value and determine
            the amount by which we should adjust the value, taking into account the shift and
            control modifier keys. We then call into WebInspector.alterNumberInRange() to
            apply the change amount to the associated CodeMirror editor.

            (WebInspector.CodeMirrorDragToAlterNumberController.prototype._mouseWasReleased):
            Handles "mouseup" events, simply exiting the "dragging" state and resetting other
            parameters we would have customized as a result of the drag-to-adjust interaction.

            (WebInspector.CodeMirrorDragToAlterNumberController.prototype._reset):
            Resetting some parameters we would have customized as a result of the drag-to-adjust
            interaction.

            * UserInterface/Main.html:
            Include the new CodeMirrorDragToAlterNumberController.{js|css} files.

            * UserInterface/Main.js:
            (WebInspector.elementDragStart):
            (WebInspector.elementDragEnd):
            Add an extra parameter to elementDragStart() such that the caller may specify the event
            target for the "mousemove" and "mouseup" events.

2013-11-04  Lucas Forschler  <lforschler@apple.com>

    Rollout r154897

2013-10-31  Lucas Forschler  <lforschler@apple.com>

        Merge r156481

    2013-09-26  Antoine Quint  <graouts@apple.com>

            Web Inspector: Keep DOM tree expanded on page reload
            https://bugs.webkit.org/show_bug.cgi?id=121665

            Reviewed by Darin Adler.

            Allow the node that was selected before reloading the page to be selected
            at the page is reloaded. Credit goes to Joseph Pecoraro for the fix.

            * UserInterface/DOMTreeContentView.js:
            (WebInspector.DOMTreeContentView.prototype._rootDOMNodeAvailable.selectNode):

2013-10-31  Lucas Forschler  <lforschler@apple.com>

        Merge r154897

    2013-08-29  Timothy Hatcher  <timothy@apple.com>

            Only modify numbers if they are identified by CodeMirror as a number.

            https://bugs.webkit.org/show_bug.cgi?id=120484

            <rdar://problem/13877085> REGRESSION: Alt-up and Alt-down don't work when cursor is in unit
            <rdar://problem/13058697> PARITY: Option-Up arrow in "translate3d" should not modify number to make" translate4d"

            Reviewed by Joseph Pecoraro.

            * UserInterface/CodeMirrorAdditions.js:
            (CodeMirror.prototype.alterNumberInRange): Correctly preserve the selection, even if it differs from
            the range passed in.
            (alterNumber): Find number tokens and pass those to alterNumberInRange.
            (alterNumber.findNumberToken): Added. Helper.

2013-10-31  Lucas Forschler  <lforschler@apple.com>

        Merge r153087

    2013-07-24  Antoine Quint  <graouts@apple.com>

            Web Inspector: support click-and-drag editing of CSS numeric values
            https://bugs.webkit.org/show_bug.cgi?id=118896

            Reviewed by Timothy Hatcher.

            Add support for adjustment of numeric values in the various CodeMirror editors
            by holding the option key and dragging the mouse. By default, dragging one pixel
            changes the value by 1, but key modifiers allow to customize that behavior by using
            the control key to change the value to 0.1 and the shift key to change the value to 10.

            * UserInterface/CodeMirrorAdditions.js:
            Split adjustNumber() into two methods such that we may use its logic from the
            CodeMirrorDragToAlterNumberController. The new method, CodeMirror.prototype.alterNumberInRange()
            allow to set begin and end CodeMirror positions such that the existing alterNumber()
            can use information based on the current cursor position, and CodeMirrorDragToAlterNumberController
            can use information based on the hovered token.
            
            Portions of this change were not merged, I've removed them from the ChangeLog.


2013-07-22  Lucas Forschler  <lforschler@apple.com>

        Merge r152651

    2013-07-15  Timothy Hatcher  <timothy@apple.com>

            Properly handle style text changes while the color popover is open.

            https://bugs.webkit.org/show_bug.cgi?id=118575

            Reviewed by Joseph Pecoraro.

            * UserInterface/CSSStyleDeclarationTextEditor.js:
            (WebInspector.CSSStyleDeclarationTextEditor.prototype._colorSwatchClicked.updateCodeMirror):
            The original text marker might have been cleared by a style update, in this case we need to
            find the new color text marker so we know the right range for the new style color text.

2013-07-15  Lucas Forschler  <lforschler@apple.com>

        Merge r152652

    2013-07-15  Timothy Hatcher  <timothy@apple.com>

            Make sure to add main resources for sub-frames to the Network Timeline.

            https://bugs.webkit.org/show_bug.cgi?id=118649

            Reviewed by Joseph Pecoraro.

            * UserInterface/TimelineManager.js:
            (WebInspector.TimelineManager.prototype._mainResourceDidChange): Remove the
            call to _clear() and early return for event.target.isMainFrame(). The _clear()
            is already handled if needed by the call to _startAutoRecording(), so it was
            redundant here and caused the erroneous addition of isMainFrame() early return.

2013-07-15  Lucas Forschler  <lforschler@apple.com>

        Merge r152588

    2013-07-12  Seokju Kwon  <seokju.kwon@gmail.com>

            Web Inspector: Pass null for sidebarPanels and role in WebInspector.Sidebar()
            https://bugs.webkit.org/show_bug.cgi?id=118589

            Reviewed by Timothy Hatcher.

            sidebarPanels : It is necessary to get correct argument after r152141.
            Without this, error messages can be displayed.
            role : Could pass null for it since default value is "group".

            * UserInterface/Main.js:
            (WebInspector.contentLoaded):

2013-07-09  Lucas Forschler  <lforschler@apple.com>

        Merge r152380

    2013-07-03  Timothy Hatcher  <timothy@apple.com>

            Guard remaining calls to decodeURIComponent with a try/catch.

            https://bugs.webkit.org/show_bug.cgi?id=118371

            Reviewed by Joseph Pecoraro.

            * UserInterface/Main.js:
            (WebInspector.displayNameForURL):
            (WebInspector.updateWindowTitle):
            * UserInterface/Utilities.js:
            (arrayResult):
            (queryString):

2013-07-02  Lucas Forschler  <lforschler@apple.com>

        Merge r152199

    2013-06-28  James Craig  <james@cookiecrook.com>

            Web Inspector: AX: VoiceOver speaks all inspector search fields as 'required'
            https://bugs.webkit.org/show_bug.cgi?id=118122

            Reviewed by Timothy Hatcher.

            Removed bogus "required" state, and switched :valid selector to use :not(:placeholder-shown)
            so that screen readers will not indicate a bogus :required/:invalid state to the user.
            Minor cosmetic difference blocked by http://webkit.org/b/118162

            * UserInterface/FilterBar.css:
            (.filter-bar > input[type="search"]:focus):
            (.filter-bar > input[type="search"]:not(:placeholder-shown)):
            * UserInterface/FilterBar.js:
            (WebInspector.FilterBar):
            * UserInterface/ResourceSidebarPanel.js:
            (WebInspector.ResourceSidebarPanel):
            * UserInterface/SearchBar.css:
            (.search-bar > input[type="search"]:focus):
            (.search-bar > input[type="search"]:not(:placeholder-shown)):
            * UserInterface/SearchBar.js:
            (WebInspector.SearchBar):

2013-07-02  Lucas Forschler  <lforschler@apple.com>

        Merge r152141

    2013-06-27  James Craig  <james@cookiecrook.com>

            Web Inspector: AX: Add container ARIA roles (toolbar, main, labeled regions, etc.) 
            so the layout is more discoverable to screen reader users
            https://bugs.webkit.org/show_bug.cgi?id=118104

            Reviewed by Timothy Hatcher.

            Made the basic layout (toolbar, sidebars, main) of the Web Inspector understandable
            and navigable with VoiceOver.

            * Localizations/en.lproj/localizedStrings.js:
            * UserInterface/ButtonNavigationItem.js:
            * UserInterface/CSSStyleDetailsSidebarPanel.js:
            * UserInterface/DashboardManager.js:
            * UserInterface/Main.js:
            * UserInterface/NavigationBar.js:
            * UserInterface/NavigationItem.js:
            * UserInterface/NavigationSidebarPanel.js:
            * UserInterface/RadioButtonNavigationItem.js:
            * UserInterface/Sidebar.js:
            * UserInterface/SidebarPanel.js:
            * UserInterface/Toolbar.js:

2013-07-02  Lucas Forschler  <lforschler@apple.com>

        Merge r152136

    2013-06-27  James Craig  <james@cookiecrook.com>

            Web Inspector: AX: Console log of the Inspector does not announce output for screen readers
            https://bugs.webkit.org/show_bug.cgi?id=115976

            Reviewed by Timothy Hatcher.

            Main console log area (div.console-messages) is now an ARIA live region (role="log")
            so screen readers speak plain text updates.

            Also added contextual labels (e.g. input/output) but speech output verification of
            those is currently blocked by http://webkit.org/b/118096

            * Localizations/en.lproj/localizedStrings.js:
            * UserInterface/ConsoleCommand.js:
            (WebInspector.ConsoleCommand.prototype.toMessageElement):
            * UserInterface/ConsoleCommandResult.js:
            (WebInspector.ConsoleCommandResult.prototype.toMessageElement):
            * UserInterface/LogContentView.css:
            (@media reader):
            * UserInterface/LogContentView.js:
            (WebInspector.LogContentView):

2013-07-01  Lucas Forschler  <lforschler@apple.com>

        Merge r152200

    2013-06-28  Dean Jackson  <dino@apple.com>

            Update Apple System fonts in auto-complete
            https://bugs.webkit.org/show_bug.cgi?id=118205
            <rdar://problem/14308488>

            Reviewed by Joseph Pecoraro.

            Update for the new Apple System font names, and remove some invalid entries.

            * UserInterface/CSSKeywordCompletions.js: General cleanup. Note that
            "apple-system-short-caption2" looks like it was accidentally omitted. It wasn't :)

2013-07-01  Lucas Forschler  <lforschler@apple.com>

        Merge r152092

    2013-06-27  Matthew Holden  <jftholden@yahoo.com>

            Web Inspector: Display color picker in popover on color swatch click
            https://bugs.webkit.org/show_bug.cgi?id=117919

            Reviewed by Timothy Hatcher.

            Includes fixes from second code review.

            * Localizations/en.lproj/localizedStrings.js:
            * UserInterface/CSSColorPicker.css: Added.
            (.colorpicker-container):
            (.colorpicker-fill-parent):
            (.colorpicker-top):
            (.colorpicker-color):
            (.colorpicker-bottom span):
            (.colorpicker-text):
            (.colorpicker-color-text-value):
            (.colorpicker-hue):
            (.colorpicker-fill):
            (.colorpicker-range-container):
            (.colorpicker-range-container *):
            (.colorpicker-range-container label):
            (.colorpicker-range-container input):
            (.colorpicker-saturation):
            (.colorpicker-value):
            (.colorpicker-dragger):
            (.colorpicker-slider):
            (.colorpicker-container .swatch):
            (.colorpicker-container .swatch-inner):
            * UserInterface/CSSColorPicker.js: Added.
            (WebInspector.CSSColorPicker.consume):
            (WebInspector.CSSColorPicker.move):
            (WebInspector.CSSColorPicker.start):
            (WebInspector.CSSColorPicker.stop):
            (WebInspector.CSSColorPicker.makeDraggable):
            (WebInspector.CSSColorPicker.hueDrag):
            (WebInspector.CSSColorPicker.colorDragStart):
            (WebInspector.CSSColorPicker.colorDrag):
            (WebInspector.CSSColorPicker.alphaDrag):
            (WebInspector.CSSColorPicker.colorSwatchClicked):
            (WebInspector.CSSColorPicker):
            (WebInspector.CSSColorPicker.prototype.get element):
            (WebInspector.CSSColorPicker.prototype.set color):
            (WebInspector.CSSColorPicker.prototype.get color):
            (WebInspector.CSSColorPicker.prototype.get outputColorFormat):
            (WebInspector.CSSColorPicker.prototype.get colorHueOnly):
            (WebInspector.CSSColorPicker.prototype.set displayText):
            (WebInspector.CSSColorPicker.prototype.shown):
            (WebInspector.CSSColorPicker.prototype._updateHelperLocations):
            (WebInspector.CSSColorPicker.prototype._updateDisplay):
            (WebInspector.CSSColorPicker.hsvaToRGBA):
            (WebInspector.CSSColorPicker.rgbaToHSVA):
            * UserInterface/CSSStyleDeclarationTextEditor.js:
            (WebInspector.CSSStyleDeclarationTextEditor.prototype.didDismissPopover):
            (WebInspector.CSSStyleDeclarationTextEditor.prototype.):
            (WebInspector.CSSStyleDeclarationTextEditor.prototype._createColorSwatches):
            (WebInspector.CSSStyleDeclarationTextEditor.prototype.event.newColorText.colorTextMarker):
            (WebInspector.CSSStyleDeclarationTextEditor.prototype.event.newColorText):
            * UserInterface/Main.html:

2013-06-27  Lucas Forschler  <lforschler@apple.com>

        Merge r151991

    2013-06-26  Antoine Quint  <graouts@apple.com>

            Web Inspector: stepping through while paused in debugger makes a popover appear
            https://bugs.webkit.org/show_bug.cgi?id=117994

            There is no obvious need to call tokenTrackingControllerNewHighlightCandidate when the
            active call frame changes and it leads to an extraneous display of the popover.

            Reviewed by Timothy Hatcher.

            * UserInterface/SourceCodeTextEditor.js:
            (WebInspector.SourceCodeTextEditor.prototype._activeCallFrameDidChange):

2013-06-26  Lucas Forschler  <lforschler@apple.com>

        Merge r151918

    2013-06-24  Antoine Quint  <graouts@apple.com>

            Web Inspector: WebInspector.displayNameForURL() failure prevents DOM inspection
            https://bugs.webkit.org/show_bug.cgi?id=117927

            Handle possible mis-encoded URI fragments passed to decodeURIComponent() which
            could prevent inspection of the DOM.

            Reviewed by Timothy Hatcher.

            * UserInterface/Main.js:
            (WebInspector.displayNameForURL):

2013-06-26  Lucas Forschler  <lforschler@apple.com>

        Merge r151861

    2013-06-21  Joseph Pecoraro  <pecoraro@apple.com>

            Web Inspector: Uncaught exception when pretty printing WebInspector.Script
            https://bugs.webkit.org/show_bug.cgi?id=117893

            This was an issue with an earlier refactoring. The sourceCode is a Script,
            so replace the non-existent local variable "script" with "this._sourceCode".

            Reviewed by Timothy Hatcher.

            * UserInterface/SourceCodeTextEditor.js:
            (WebInspector.SourceCodeTextEditor.prototype.textEditorUpdatedFormatting):

2013-06-26  Lucas Forschler  <lforschler@apple.com>

        Merge r151846

    2013-06-21  Timothy Hatcher  <timothy@apple.com>

            Stop removing and re-adding breakpoints from the backend on reload.

            On reload the sourceCode for breakpoints are nulled out, which fires DisplayLocationDidChange.
            Then the sourceCode is reassociated, firing DisplayLocationDidChange again. In these cases we
            don't need to update the backend, since nothing really changed.

            https://bugs.webkit.org/show_bug.cgi?id=117877

            Reviewed by Joseph Pecoraro.

            * UserInterface/DebuggerManager.js:
            (WebInspector.DebuggerManager.prototype._breakpointDisplayLocationDidChange): Return early when
            _ignoreBreakpointDisplayLocationDidChangeEvent is true.
            (WebInspector.DebuggerManager.prototype.reset): Set _ignoreBreakpointDisplayLocationDidChangeEvent.
            (WebInspector.DebuggerManager.prototype._associateBreakpointsWithSourceCode): Ditto.

2013-06-26  Lucas Forschler  <lforschler@apple.com>

        Merge r151738

    2013-06-19  Antoine Quint  <graouts@apple.com>

            Web Inspector: Copying array or object output does not contain values
            https://bugs.webkit.org/show_bug.cgi?id=117669

            ConsoleCommandResult was overriding toClipboardString() but wasn't using the complex code
            in ConsoleMessageImpl's toClipboardString() to provide a nicely formatted output for objects.
            We now use a "clipboarPrefixString" property to customize the prefix used in the clipboard
            and, additionally, only use that prefix if we're copying more than a single message since it's
            the only situation where it's useful to have the ">" or "<" prefix shown. Console messages with
            a log level always print the level and when saving the console log using Cmd+S, all messages
            contain their prefix as well.

            Reviewed by Timothy Hatcher.

            * UserInterface/ConsoleCommand.js:
            (WebInspector.ConsoleCommand.prototype.toClipboardString):
            Handle the new isPrefixOptional argument.

            * UserInterface/ConsoleCommandResult.js:
            (WebInspector.ConsoleCommandResult.prototype.get clipboarPrefixString):
            Provide a custom "< " prefix and set "enforcesClipboardPrefixString" to false such that
            the prefix isn't printed out in situations when it may not.

            * UserInterface/ConsoleMessageImpl.js:
            Set "enforcesClipboardPrefixString" to true since we always want to log the log level
            prefix in all situations.

            (WebInspector.ConsoleMessageImpl.prototype.get clipboarPrefixString):
            Implement this new getter to return our clipboard string such that subclasses may
            customize it.

            (WebInspector.ConsoleMessageImpl.prototype.toClipboardString):
            Take into account both isPrefixOptional and the "enforcesClipboardPrefixString" property
            to only log the prefix if necessary.

            * UserInterface/LogContentView.js:
            (WebInspector.LogContentView.prototype._formatMessagesAsData):
            Make the logging of prefix optional when we have a single message selected and we're
            not saving via Cmd+S.

2013-06-18  Joseph Pecoraro  <pecoraro@apple.com>

        Web Inspector: Infrequent uncaught exception with debugger popovers breaks inspector
        https://bugs.webkit.org/show_bug.cgi?id=117755

        Create the ZERO_SIZE and ZERO_RECT objects after we've setup the Size
        and Rect prototypes, so they get the expected methods. We then need to
        handle the ZERO_RECT case better, and not attempt to draw a background
        in a canvas with a 0 size, which would produce an exception.

        Reviewed by Timothy Hatcher.

        * UserInterface/Geometry.js:
        * UserInterface/Popover.js:
        (WebInspector.Popover.prototype._update):

2013-06-18  Timothy Hatcher  <timothy@apple.com>

        If the tree outline is processing a selection currently, then don't change the selection.

        This is needed to allow breakpoints tree elements to be selected without jumping back to
        selecting the resource tree element.

        https://bugs.webkit.org/show_bug.cgi?id=117746

        Reviewed by Joseph Pecoraro.

        * UserInterface/Main.js:
        (WebInspector._revealAndSelectRepresentedObjectInNavigationSidebar):
        * UserInterface/TreeOutline.js:
        (TreeElement.prototype.select):

2013-06-18  Timothy Hatcher  <timothy@apple.com>

        Update breakpoints to match Xcode 5.

        This updates the breakpoint images, line colors, and moves breakpoints toggle button
        to the Debugger sidebar navigation bar.

        https://bugs.webkit.org/show_bug.cgi?id=117723

        Reviewed by Joseph Pecoraro.

        * Localizations/en.lproj/localizedStrings.js: Updated.
        * UserInterface/DebuggerSidebarPanel.css: Removed custom toggle button rules.
        * UserInterface/DebuggerSidebarPanel.js:
        (WebInspector.DebuggerSidebarPanel):
        (WebInspector.DebuggerSidebarPanel.prototype._breakpointsToggleButtonClicked):
        * UserInterface/Images/Breakpoint.png: Updated.
        * UserInterface/Images/Breakpoints.pdf: Added.
        * UserInterface/Images/Breakpoint@2x.png: Updated.
        * UserInterface/Images/BreakpointButton.pdf: Updated.
        * UserInterface/Images/BreakpointInactive.png: Updated.
        * UserInterface/Images/BreakpointInactive@2x.png: Updated.
        * UserInterface/Images/BreakpointInactiveButton.pdf: Updated.
        * UserInterface/Images/InstructionPointer.png: Updated.
        * UserInterface/Images/InstructionPointer@2x.png: Updated.
        * UserInterface/SourceCodeTextEditor.css:
        (.source-code.text-editor > .CodeMirror .error): Updated background-color and removed box-shadow.
        (.source-code.text-editor > .CodeMirror .warning): Ditto.
        * UserInterface/TextEditor.css:
        (.text-editor > .CodeMirror .has-breakpoint .CodeMirror-linenumber::before): Changed left position to 0.
        (.text-editor > .CodeMirror .execution-line .CodeMirror-linenumber::after): Updated position.
        (.text-editor > .CodeMirror .execution-line): Updated background-color and removed box-shadow.

2013-06-13  Joseph Pecoraro  <pecoraro@apple.com>

        <http://webkit.org/b/117615> Web Inspector: JS PrettyPrinting Should have space between "do" and "{"

        Reviewed by Timothy Hatcher.

        * UserInterface/CodeMirrorFormatters.js:

2013-06-13  Joseph Pecoraro  <pecoraro@apple.com>

        <http://webkit.org/b/117612> Web Inspector: "Search Resource Content" should cancel when I remove all text search text

        Reviewed by Timothy Hatcher.

        * UserInterface/ResourceSidebarPanel.js:
        (WebInspector.ResourceSidebarPanel):
        (WebInspector.ResourceSidebarPanel.prototype._searchFieldInput):

== Rolled over to ChangeLog-2013-06-11 ==
