Web Inspector: Split Inspector.json into individual domain json files
authorjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Nov 2013 21:40:41 +0000 (21:40 +0000)
committerjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 13 Nov 2013 21:40:41 +0000 (21:40 +0000)
commitaed20b9f6e07da9acfba8819ecafcf451ca4b311
tree590d8dc2950baaec08d39f19ac28188d8097cd40
parent7488ae3b02a068c67ab60cc145fb1e8f2a6cf6e4
Web Inspector: Split Inspector.json into individual domain json files
https://bugs.webkit.org/show_bug.cgi?id=124098

Reviewed by Timothy Hatcher.

Source/WebCore:

Split the Inspector domains into their own json file. Generate a
combined Inspector.json from all of the json files at build time
so that the CodeGenerator is unchanged.

* .gitattributes:
* CMakeLists.txt:
* DerivedSources.make:
* GNUmakefile.am:
* WebCore.xcodeproj/project.pbxproj:
* inspector/CodeGeneratorInspector.py:
(TypeMap.__init__):
* inspector/Inspector.json: Removed.
* inspector/Scripts/generate-combined-inspector-json.py: Added.
* inspector/protocol/ApplicationCache.json: Added.
* inspector/protocol/CSS.json: Added.
* inspector/protocol/Canvas.json: Added.
* inspector/protocol/Console.json: Added.
* inspector/protocol/DOM.json: Added.
* inspector/protocol/DOMDebugger.json: Added.
* inspector/protocol/DOMStorage.json: Added.
* inspector/protocol/Database.json: Added.
* inspector/protocol/Debugger.json: Added.
* inspector/protocol/FileSystem.json: Added.
* inspector/protocol/HeapProfiler.json: Added.
* inspector/protocol/IndexedDB.json: Added.
* inspector/protocol/Input.json: Added.
* inspector/protocol/InspectorDomain.json: Added.
* inspector/protocol/LayerTree.json: Added.
* inspector/protocol/Memory.json: Added.
* inspector/protocol/Network.json: Added.
* inspector/protocol/Page.json: Added.
* inspector/protocol/Profiler.json: Added.
* inspector/protocol/Runtime.json: Added.
* inspector/protocol/Timeline.json: Added.
* inspector/protocol/Worker.json: Added.

Source/WebInspectorUI:

Removed now stale comments referring to the combined Inspector.json.
Make update-InspectorBackendCommands helper script generate a
combined Inspector.json to still work for tip of tree.

* Scripts/update-InspectorBackendCommands.rb:
* UserInterface/ApplicationCacheObserver.js:
* UserInterface/CSSObserver.js:
* UserInterface/CanvasObserver.js:
* UserInterface/ConsoleObserver.js:
* UserInterface/DOMObserver.js:
* UserInterface/DOMStorageObserver.js:
* UserInterface/DatabaseObserver.js:
* UserInterface/DebuggerObserver.js:
* UserInterface/InspectorBackendCommands.js:
* UserInterface/InspectorObserver.js:
* UserInterface/LayerTreeObserver.js:
* UserInterface/NetworkObserver.js:
* UserInterface/PageObserver.js:
* UserInterface/ProfilerObserver.js:
* UserInterface/Resource.js:
* UserInterface/RuntimeObserver.js:
* UserInterface/TimelineObserver.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@159233 268f45cc-cd09-0410-ab3c-d52691b4dbfc
50 files changed:
Source/WebCore/.gitattributes
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.make
Source/WebCore/GNUmakefile.am
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/inspector/CodeGeneratorInspector.py
Source/WebCore/inspector/Inspector.json [deleted file]
Source/WebCore/inspector/Scripts/generate-combined-inspector-json.py [new file with mode: 0755]
Source/WebCore/inspector/protocol/ApplicationCache.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/CSS.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/Canvas.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/Console.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/DOM.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/DOMDebugger.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/DOMStorage.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/Database.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/Debugger.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/FileSystem.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/HeapProfiler.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/IndexedDB.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/Input.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/InspectorDomain.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/LayerTree.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/Memory.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/Network.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/Page.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/Profiler.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/Runtime.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/Timeline.json [new file with mode: 0644]
Source/WebCore/inspector/protocol/Worker.json [new file with mode: 0644]
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/Scripts/update-InspectorBackendCommands.rb
Source/WebInspectorUI/UserInterface/ApplicationCacheObserver.js
Source/WebInspectorUI/UserInterface/CSSObserver.js
Source/WebInspectorUI/UserInterface/CanvasObserver.js
Source/WebInspectorUI/UserInterface/ConsoleObserver.js
Source/WebInspectorUI/UserInterface/DOMObserver.js
Source/WebInspectorUI/UserInterface/DOMStorageObserver.js
Source/WebInspectorUI/UserInterface/DatabaseObserver.js
Source/WebInspectorUI/UserInterface/DebuggerObserver.js
Source/WebInspectorUI/UserInterface/InspectorBackendCommands.js
Source/WebInspectorUI/UserInterface/InspectorObserver.js
Source/WebInspectorUI/UserInterface/LayerTreeObserver.js
Source/WebInspectorUI/UserInterface/NetworkObserver.js
Source/WebInspectorUI/UserInterface/PageObserver.js
Source/WebInspectorUI/UserInterface/ProfilerObserver.js
Source/WebInspectorUI/UserInterface/Resource.js
Source/WebInspectorUI/UserInterface/RuntimeObserver.js
Source/WebInspectorUI/UserInterface/TimelineObserver.js