Web Inspector: We should regenerate InspectorBackendCommands.js for Legacy Inspector...
authorjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Aug 2013 23:37:16 +0000 (23:37 +0000)
committerjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 26 Aug 2013 23:37:16 +0000 (23:37 +0000)
commit802d73af3e3d0f5cb2fd5ea803c56fadcb3be5fd
tree93534f18ae2fea9b044e982dd0043a247b30a268
parent6d1031ed48d4c1a903edbaa7c32bb7af2c6abd01
Web Inspector: We should regenerate InspectorBackendCommands.js for Legacy Inspector.json versions
https://bugs.webkit.org/show_bug.cgi?id=120242

Reviewed by NOBODY (OOPS!).

Source/WebCore:

- Update the Inspector.json CodeGenerator to include an output_js_dir.
- Cleanup multiple trailing newlines in some of the generated files.
- Provide a way to not verify runtime casts, needed for Legacy inputs.

* CMakeLists.txt:
* DerivedSources.make:
* DerivedSources.pri:
* GNUmakefile.am:
* inspector/CodeGeneratorInspector.py:
(resolve_all_types):
(SmartOutput.close):

Source/WebInspectorUI:

- Include the iOS 6.0 Inspector.json which maps to Legacy/6.0/InspectorBackendCommands.js.
- Provide a helper script to regenerate the backend commands file for trunk and Versions.
- Regenerated file now includes enums and other minor changes.

* Scripts/update-InspectorBackendCommands.rb: Added.
* UserInterface/InspectorBackendCommands.js:
* UserInterface/Legacy/6.0/InspectorBackendCommands.js:
* Versions/Inspector-iOS-6.0.json: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@154651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/DerivedSources.make
Source/WebCore/DerivedSources.pri
Source/WebCore/GNUmakefile.am
Source/WebCore/inspector/CodeGeneratorInspector.py
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/Scripts/update-InspectorBackendCommands.rb [new file with mode: 0755]
Source/WebInspectorUI/UserInterface/InspectorBackendCommands.js
Source/WebInspectorUI/UserInterface/Legacy/6.0/InspectorBackendCommands.js
Source/WebInspectorUI/Versions/Inspector-iOS-6.0.json [new file with mode: 0644]