Changeset 125184 in webkit


Ignore:
Timestamp:
Aug 9, 2012 10:26:40 AM (12 years ago)
Author:
pfeldman@chromium.org
Message:

Web Inspector: add codemirror library as an experiment
https://bugs.webkit.org/show_bug.cgi?id=93620

Reviewed by Vsevolod Vlasov.

Source/WebCore:

This change adds codemirror, deploys it, but does not include it into the inspector.html. Clients need to fetch it
using XHR and eval into the inspector's context to use as a part of their experiments.

  • WebCore.gypi:
  • WebCore.vcproj/WebCore.vcproj:
  • inspector/front-end/WebKit.qrc:
  • inspector/front-end/cm/LICENSE: Added.
  • inspector/front-end/cm/codemirror.css: Added.

(.CodeMirror):

  • inspector/front-end/cm/xml.js: Added.

(CodeMirror.defineMode.):
(CodeMirror.defineMode):

Source/WebKit/chromium:

  • WebKit.gyp:
Location:
trunk/Source
Files:
8 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r125183 r125184  
     12012-08-09  Pavel Feldman  <pfeldman@chromium.org>
     2
     3        Web Inspector: add codemirror library as an experiment
     4        https://bugs.webkit.org/show_bug.cgi?id=93620
     5
     6        Reviewed by Vsevolod Vlasov.
     7
     8        This change adds codemirror, deploys it, but does not include it into the inspector.html. Clients need to fetch it
     9        using XHR and eval into the inspector's context to use as a part of their experiments.
     10
     11        * WebCore.gypi:
     12        * WebCore.vcproj/WebCore.vcproj:
     13        * inspector/front-end/WebKit.qrc:
     14        * inspector/front-end/cm/LICENSE: Added.
     15        * inspector/front-end/cm/codemirror.css: Added.
     16        (.CodeMirror):
     17        * inspector/front-end/cm/xml.js: Added.
     18        (CodeMirror.defineMode.):
     19        (CodeMirror.defineMode):
     20
    1212012-08-09  Xan Lopez  <xlopez@igalia.com>
    222
  • trunk/Source/WebCore/WebCore.gypi

    r125145 r125184  
    64396439            'inspector/front-end/popover.css',
    64406440            '<@(webinspector_standalone_css_files)',
     6441            '<@(webinspector_standalone_js_files)',
    64416442        ],
    64426443        'webinspector_standalone_css_files': [
    64436444            'inspector/front-end/auditsPanel.css',
     6445            'inspector/front-end/cm/codemirror.css',
    64446446            'inspector/front-end/dataGrid.css',
    64456447            'inspector/front-end/elementsPanel.css',
     
    64646466            'inspector/front-end/textPrompt.css',
    64656467            'inspector/front-end/timelinePanel.css',
     6468        ],
     6469        'webinspector_standalone_js_files': [
     6470            'inspector/front-end/cm/codemirror.js',
     6471            'inspector/front-end/cm/css.js',
     6472            'inspector/front-end/cm/htmlmixed.js',
     6473            'inspector/front-end/cm/javascript.js',
     6474            'inspector/front-end/cm/xml.js',
    64666475        ],
    64676476        'webinspector_uglifyjs_files': [
  • trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj

    r125145 r125184  
    7548775487                                </File>
    7548875488                                <File
     75489                                        RelativePath="..\inspector\front-end\cm\codemirror.css"
     75490                                        >
     75491                                </File>
     75492                                <File
     75493                                        RelativePath="..\inspector\front-end\cm\codemirror.js"
     75494                                        >
     75495                                </File>
     75496                                <File
     75497                                        RelativePath="..\inspector\front-end\cm\css.js"
     75498                                        >
     75499                                </File>
     75500                                <File
     75501                                        RelativePath="..\inspector\front-end\cm\htmlmixed.js"
     75502                                        >
     75503                                </File>
     75504                                <File
     75505                                        RelativePath="..\inspector\front-end\cm\javascript.js"
     75506                                        >
     75507                                </File>
     75508                                <File
     75509                                        RelativePath="..\inspector\front-end\cm\xml.js"
     75510                                        >
     75511                                </File>
     75512                                <File
    7548975513                                        RelativePath="..\inspector\front-end\Database.js"
    7549075514                                        >
  • trunk/Source/WebCore/inspector/front-end/WebKit.qrc

    r124878 r125184  
    3333    <file>CSSSelectorProfileView.js</file>
    3434    <file>CSSStyleModel.js</file>
     35    <file>cm/codemirror.css</file>
     36    <file>cm/codemirror.js</file>
     37    <file>cm/css.js</file>
     38    <file>cm/htmlmixed.js</file>
     39    <file>cm/javascript.js</file>
     40    <file>cm/xml.js</file>
    3541    <file>Database.js</file>
    3642    <file>DatabaseQueryView.js</file>
  • trunk/Source/WebKit/chromium/ChangeLog

    r125173 r125184  
     12012-08-09  Pavel Feldman  <pfeldman@chromium.org>
     2
     3        Web Inspector: add codemirror library as an experiment
     4        https://bugs.webkit.org/show_bug.cgi?id=93620
     5
     6        Reviewed by Vsevolod Vlasov.
     7
     8        * WebKit.gyp:
     9
    1102012-08-09  Peter Beverloo  <peter@chromium.org>
    211
  • trunk/Source/WebKit/chromium/WebKit.gyp

    r124917 r125184  
    979979                    '<(PRODUCT_DIR)/resources/inspector/devTools.css',
    980980                    '<(PRODUCT_DIR)/resources/inspector/devtools_extension_api.js',
     981                    '<@(webinspector_standalone_js_files)',
    981982                    '<@(webinspector_standalone_css_files)',
    982983                ],
     
    10941095                        'action': ['python', '<@(_script_name)', '<@(_input_page)', '<@(_search_path)', '<@(_outputs)'],
    10951096                    }],
     1097                    'copies': [{
     1098                        'destination': '<(PRODUCT_DIR)/resources/inspector',
     1099                        'files': [
     1100                            '<@(webinspector_standalone_js_files)',
     1101                        ],
     1102                    }],
    10961103                },
    10971104                {
Note: See TracChangeset for help on using the changeset viewer.