Web Inspector: CodeGeneratorInspector.py: fix output write logic to support increment...
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jul 2012 11:50:15 +0000 (11:50 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jul 2012 11:50:15 +0000 (11:50 +0000)
commit05277a96ac3f3f8fdd29ddbe8c43bdfcdf0ef431
treee374b4b34b8b6a29969c6008d9854c3814557b6c
parent965e706b34b11388d356ab38d16378e333056a92
Web Inspector: CodeGeneratorInspector.py: fix output write logic to support incremental build
https://bugs.webkit.org/show_bug.cgi?id=90642

Patch by Peter Rybin <peter.rybin@gmail.com> on 2012-07-19
Reviewed by Yury Semikhatsky.

A small intermediate writer is added. It handles comparing old and new source before actual writing.

* inspector/CodeGeneratorInspector.py:
(flatten_list):
(SmartOutput):
(SmartOutput.__init__):
(SmartOutput.write):
(SmartOutput.close):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/inspector/CodeGeneratorInspector.py