Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Side by Side Diff: Source/bindings/scripts/run.pl

Issue 17572008: WIP IDL compiler rewrite (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: non-callback headers working Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/bindings/scripts/ir.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 =memo
2
3 Dev
4 perl scripts/run.pl <keyword> 2>&1 | tee run_log.txt; less diff.txt
5
6 Regression check
7 perl scripts/run.pl reg 2>&1 | tee run_log.txt; less diff.txt
8
9 =cut
10 $kw = shift;
11
12 # Total: 676 IDL files ... 1352 files to generate (find Source -name "*Call back.idl")
13 # *Callback.idl -> 32
14 # svg -> 152
15 # else -> 492
16
17 # num of OK files (total)
18 # 6/24 23
19 # 6/25 46
20 # 6/26 273
21
22 #open($f, "<", "scripts/else_idls.txt") or die $!;
23 #@all = <$f>;
24 #for $file(@all) {
25 # $file =~ m|/([^./]+)\.idl|;
26 # $base = $1;
27 # if( -f "/mnt/hdd/PKL-GOOD/${base}.pkl") {
28 # print $file;
29 # }
30 #}
31 #exit;
32
33 @ok_callbacks = qw(
34 Source/core/dom/RequestAnimationFrameCallback.idl
35 Source/core/dom/StringCallback.idl
36 Source/core/html/VoidCallback.idl
37 Source/modules/filesystem/EntriesCallback.idl
38 Source/modules/filesystem/FileSystemCallback.idl
39 Source/modules/filesystem/FileWriterCallback.idl
40 Source/modules/filesystem/MetadataCallback.idl
41 Source/modules/geolocation/PositionCallback.idl
42 Source/modules/geolocation/PositionErrorCallback.idl
43 Source/modules/mediastream/RTCErrorCallback.idl
44 Source/modules/quota/StorageQuotaCallback.idl
45 Source/modules/quota/StorageUsageCallback.idl
46 Source/modules/webaudio/AudioBufferCallback.idl
47 Source/modules/webdatabase/DatabaseCallback.idl
48 Source/modules/webdatabase/SQLStatementCallback.idl
49 Source/modules/webdatabase/SQLStatementErrorCallback.idl
50 Source/modules/filesystem/EntryCallback.idl
51 Source/modules/mediastream/NavigatorUserMediaErrorCallback.idl
52 Source/modules/mediastream/RTCSessionDescriptionCallback.idl
53 Source/modules/notifications/NotificationPermissionCallback.idl
54 Source/modules/webdatabase/SQLTransactionSyncCallback.idl
55 Source/modules/webdatabase/SQLTransactionErrorCallback.idl
56 Source/modules/webdatabase/SQLTransactionCallback.idl
57 );
58
59 @ok_non_callback_h = qw(
60 Source/core/dom/CDATASection.idl
61 Source/core/dom/Notation.idl
62 Source/core/dom/Entity.idl
63 Source/core/xml/XPathExpression.idl
64 Source/core/xml/XPathNSResolver.idl
65 Source/core/css/MediaQueryList.idl
66 Source/core/css/Rect.idl
67 Source/core/css/Counter.idl
68 Source/core/css/RGBColor.idl
69 Source/core/html/canvas/WebGLBuffer.idl
70 Source/core/html/canvas/WebGLShader.idl
71 Source/core/html/canvas/WebGLProgram.idl
72 Source/core/html/canvas/WebGLTexture.idl
73 Source/core/page/PerformanceMark.idl
74 Source/core/html/canvas/WebGLFramebuffer.idl
75 Source/core/page/PerformanceMeasure.idl
76 Source/core/html/canvas/WebGLRenderbuffer.idl
77 Source/core/html/canvas/CanvasPattern.idl
78 Source/core/html/canvas/WebGLUniformLocation.idl
79 Source/core/plugins/MimeType.idl
80 Source/core/plugins/MimeTypeArray.idl
81 Source/core/html/canvas/EXTFragDepth.idl
82 Source/core/html/canvas/OESTextureFloat.idl
83 Source/core/html/canvas/OESElementIndexUint.idl
84 Source/core/html/canvas/OESTextureFloatLinear.idl
85 Source/core/html/canvas/OESTextureHalfFloatLinear.idl
86 Source/core/html/canvas/WebGLVertexArrayObjectOES.idl
87 Source/core/html/TextMetrics.idl
88 Source/modules/mediastream/RTCDataChannelEvent.idl
89 Source/modules/webaudio/OfflineAudioCompletionEvent.idl
90 Source/core/plugins/PluginArray.idl
91 Source/core/dom/TouchList.idl
92 Source/core/html/canvas/WebGLDebugShaders.idl
93 Source/modules/mediastream/MediaStreamTrackEvent.idl
94 Source/modules/mediastream/RTCIceCandidateEvent.idl
95 Source/modules/webaudio/AudioProcessingEvent.idl
96 Source/modules/webaudio/WaveTable.idl
97 Source/core/dom/ProcessingInstruction.idl
98 Source/modules/geolocation/Geoposition.idl
99 Source/core/page/SpeechInputEvent.idl
100 Source/core/html/canvas/WebGLLoseContext.idl
101 Source/core/fileapi/FileList.idl
102 Source/core/html/canvas/WebGLDepthTexture.idl
103 Source/core/html/canvas/OESStandardDerivatives.idl
104 Source/core/html/canvas/WebGLActiveInfo.idl
105 Source/modules/speech/SpeechRecognitionAlternative.idl
106 Source/modules/speech/SpeechRecognitionResultList.idl
107 Source/core/testing/MallocStatistics.idl
108 Source/modules/quota/StorageQuota.idl
109 Source/core/xml/XMLHttpRequestProgressEvent.idl
110 Source/core/plugins/Plugin.idl
111 Source/core/html/canvas/Canvas2DContextAttributes.idl
112 Source/core/html/canvas/WebGLShaderPrecisionFormat.idl
113 Source/core/html/canvas/WebGLDebugRendererInfo.idl
114 Source/modules/mediastream/NavigatorUserMediaError.idl
115 Source/core/html/canvas/EXTTextureFilterAnisotropic.idl
116 Source/core/html/canvas/CanvasGradient.idl
117 Source/modules/speech/SpeechSynthesisEvent.idl
118 Source/modules/speech/SpeechRecognitionResult.idl
119 Source/core/dom/DOMStringList.idl
120 Source/core/css/StyleMedia.idl
121 Source/core/css/CSSValueList.idl
122 Source/core/page/BarProp.idl
123 Source/core/page/SpeechInputResult.idl
124 Source/core/html/canvas/OESTextureHalfFloat.idl
125 Source/core/page/SpeechInputResultList.idl
126 Source/modules/mediastream/SourceInfo.idl
127 Source/core/html/TimeRanges.idl
128 Source/modules/indexeddb/IDBVersionChangeEvent.idl
129 Source/core/dom/ClientRectList.idl
130 Source/core/dom/NodeIterator.idl
131 Source/core/css/WebKitCSSMixFunctionValue.idl
132 Source/core/html/canvas/WebGLCompressedTextureATC.idl
133 Source/modules/quota/StorageInfo.idl
134 Source/modules/crypto/SubtleCrypto.idl
135 Source/core/dom/DOMError.idl
136 Source/core/dom/DocumentType.idl
137 Source/core/html/ValidityState.idl
138 Source/core/html/track/TextTrackRegionList.idl
139 Source/modules/speech/SpeechSynthesisVoice.idl
140 Source/core/html/canvas/WebGLCompressedTexturePVRTC.idl
141 Source/core/html/canvas/WebGLCompressedTextureS3TC.idl
142 Source/core/html/MediaError.idl
143 Source/modules/filesystem/DirectoryReaderSync.idl
144 Source/modules/crypto/WorkerCrypto.idl
145 Source/modules/webdatabase/SQLTransactionSync.idl
146 Source/modules/filesystem/DirectoryReader.idl
147 Source/core/html/canvas/WebGLContextAttributes.idl
148 Source/core/dom/ClientRect.idl
149 Source/modules/geolocation/PositionError.idl
150 Source/core/html/canvas/OESVertexArrayObject.idl
151 Source/core/inspector/InspectorOverlayHost.idl
152 Source/modules/filesystem/DOMFileSystemSync.idl
153 Source/modules/filesystem/FileEntrySync.idl
154 Source/modules/filesystem/Metadata.idl
155 Source/core/css/CSS.idl
156 Source/modules/filesystem/EntryArray.idl
157 Source/modules/filesystem/EntryArraySync.idl
158 Source/modules/webdatabase/SQLResultSet.idl
159 Source/modules/filesystem/FileEntry.idl
160 Source/core/dom/TreeWalker.idl
161 Source/modules/performance/WorkerPerformance.idl
162 Source/core/html/ime/Composition.idl
163 Source/modules/webdatabase/SQLTransaction.idl
164 Source/core/html/MediaKeyError.idl
165 Source/modules/webdatabase/Database.idl
166 Source/core/css/MediaList.idl
167 Source/modules/filesystem/DirectoryEntrySync.idl
168 Source/modules/filesystem/DirectoryEntry.idl
169 Source/modules/webaudio/AudioListener.idl
170 Source/core/dom/ResourceProgressEvent.idl
171 Source/core/dom/Attr.idl
172 Source/core/dom/WebKitNamedFlowCollection.idl
173 Source/core/dom/Touch.idl
174 Source/modules/geolocation/Geolocation.idl
175 Source/core/page/MemoryInfo.idl
176 Source/modules/webdatabase/DatabaseSync.idl
177 Source/core/page/Screen.idl
178 Source/core/html/canvas/ANGLEInstancedArrays.idl
179 Source/core/storage/Storage.idl
180 Source/core/page/PerformanceNavigation.idl
181 Source/modules/crypto/Crypto.idl
182 Source/modules/webaudio/AudioBuffer.idl
183 Source/core/dom/CharacterData.idl
184 Source/core/testing/TypeConversions.idl
185 Source/core/page/PagePopupController.idl
186 Source/core/html/ime/InputMethodContext.idl
187 Source/core/workers/WorkerLocation.idl
188 Source/core/dom/Clipboard.idl
189 Source/core/dom/MutationEvent.idl
190 Source/modules/webdatabase/SQLError.idl
191 Source/core/page/SecurityPolicy.idl
192 Source/core/dom/MutationRecord.idl
193 Source/core/page/PerformanceResourceTiming.idl
194 Source/modules/webdatabase/SQLException.idl
195 Source/core/fileapi/FileError.idl
196 Source/core/xml/XPathResult.idl
197 Source/modules/mediasource/WebKitSourceBufferList.idl
198 Source/modules/mediasource/WebKitSourceBuffer.idl
199 Source/core/css/WebKitCSSFilterValue.idl
200 Source/modules/mediasource/SourceBufferList.idl
201 Source/core/xml/XMLHttpRequestUpload.idl
202 Source/modules/encryptedmedia/MediaKeySession.idl
203 Source/core/page/PerformanceTiming.idl
204 Source/core/fileapi/FileException.idl
205 Source/core/page/Console.idl
206 Source/modules/webaudio/AudioParam.idl
207 Source/core/css/WebKitCSSTransformValue.idl
208 Source/core/loader/appcache/DOMApplicationCache.idl
209 Source/core/css/CSSPrimitiveValue.idl
210 Source/core/dom/DOMException.idl
211 Source/core/page/Selection.idl
212 Source/core/html/canvas/CanvasRenderingContext.idl
213 Source/core/html/canvas/ArrayBufferView.idl
214 Source/core/html/ImageData.idl
215 Source/core/css/CSSValue.idl
216 Source/core/page/PerformanceEntry.idl
217 Source/core/html/canvas/Int16Array.idl
218 Source/core/html/canvas/Uint8Array.idl
219 Source/core/html/canvas/Uint16Array.idl
220 Source/core/html/canvas/Uint32Array.idl
221 Source/core/html/canvas/Float64Array.idl
222 Source/core/html/canvas/Int8Array.idl
223 Source/core/html/canvas/Int32Array.idl
224 Source/core/html/canvas/Float32Array.idl
225 Source/core/html/canvas/Uint8ClampedArray.idl
226 Source/modules/filesystem/EntrySync.idl
227 Source/modules/filesystem/Entry.idl
228 Source/core/dom/Node.idl
229 Source/core/dom/Comment.idl
230 Source/core/xml/XMLSerializer.idl
231 Source/core/dom/Text.idl
232 Source/modules/speech/SpeechGrammar.idl
233 Source/core/xml/XPathEvaluator.idl
234 Source/modules/speech/SpeechGrammarList.idl
235 Source/modules/encryptedmedia/MediaKeys.idl
236 Source/modules/mediastream/RTCSessionDescription.idl
237 Source/modules/mediastream/RTCIceCandidate.idl
238 Source/core/html/track/TextTrackRegion.idl
239 Source/modules/speech/SpeechSynthesisUtterance.idl
240 Source/core/html/MediaController.idl
241 Source/core/dom/Range.idl
242 Source/core/css/WebKitCSSMatrix.idl
243 Source/modules/mediastream/MediaStreamEvent.idl
244 Source/core/dom/AutocompleteErrorEvent.idl
245 Source/core/dom/FocusEvent.idl
246 Source/core/dom/PageTransitionEvent.idl
247 Source/modules/mediastream/RTCDTMFToneChangeEvent.idl
248 Source/core/html/canvas/WebGLContextEvent.idl
249 Source/core/dom/HashChangeEvent.idl
250 Source/core/dom/BeforeLoadEvent.idl
251 Source/modules/speech/SpeechRecognitionError.idl
252 Source/modules/encryptedmedia/MediaKeyNeededEvent.idl
253 Source/core/dom/WebKitAnimationEvent.idl
254 Source/core/dom/ProgressEvent.idl
255 Source/modules/encryptedmedia/MediaKeyMessageEvent.idl
256 Source/core/dom/TransitionEvent.idl
257 Source/modules/speech/SpeechRecognitionEvent.idl
258 Source/modules/webmidi/MIDIConnectionEvent.idl
259 Source/core/dom/OverflowEvent.idl
260 Source/core/html/MediaKeyEvent.idl
261 Source/core/dom/SecurityPolicyViolationEvent.idl
262 Source/core/css/CSSFontFaceLoadEvent.idl
263 Source/modules/websockets/CloseEvent.idl
264 Source/core/dom/ErrorEvent.idl
265 Source/modules/webmidi/MIDIMessageEvent.idl
266 Source/core/storage/StorageEvent.idl
267 Source/core/css/StyleSheetList.idl
268 Source/core/html/HTMLCollection.idl
269 Source/core/dom/PopStateEvent.idl
270 Source/modules/indexeddb/IDBOpenDBRequest.idl
271 Source/core/html/track/TrackEvent.idl
272 Source/core/dom/DOMStringMap.idl
273 Source/core/css/StyleSheet.idl
274 Source/modules/filesystem/DOMFileSystem.idl
275 Source/modules/webmidi/MIDIAccessPromise.idl
276 Source/core/css/CSSStyleSheet.idl
277 Source/core/dom/NamedNodeMap.idl
278 Source/modules/mediastream/RTCDTMFSender.idl
279 Source/modules/indexeddb/IDBRequest.idl
280 Source/core/css/FontLoader.idl
281 Source/modules/speech/SpeechRecognition.idl
282 Source/core/page/EventSource.idl
283 Source/core/dom/Event.idl
284 Source/modules/indexeddb/IDBAny.idl
285 Source/core/dom/EventTarget.idl
286 Source/core/dom/NodeFilter.idl
287 );
288
289 @gen_h = qw(
290 );
291 @gen_cpp = qw(
292 Source/core/dom/CDATASection.idl
293 );
294
295 if($kw eq "reg") {
296 @gen_h = (@ok_callbacks, @ok_non_callback_h);
297 @gen_cpp = @ok_callbacks;
298 $kw = "";
299 }
300
301 =memo rest of non-callback-h (parent should be EventTarget but AbstractWorker)
302 Source/core/workers/AbstractWorker.idl
303 Source/core/workers/Worker.idl
304 Source/core/workers/SharedWorker.idl
305 Source/core/testing/InternalSettings.idl
306 =cut
307
308 =memo rest of *Callback.idl (no pickles)
309 Source/modules/filesystem/FileCallback.idl
310 Source/modules/mediastream/NavigatorUserMediaSuccessCallback.idl
311 Source/modules/mediastream/RTCStatsCallback.idl
312 Source/modules/quota/StorageErrorCallback.idl
313 Source/modules/webmidi/MIDISuccessCallback.idl
314 Source/modules/filesystem/ErrorCallback.idl
315 Source/modules/webmidi/MIDIErrorCallback.idl
316 Source/modules/mediastream/MediaStreamTrackSourcesCallback.idl
317 =cut
318
319
320 @pkl_idls = qw(
321 Source/core/dom/CDATASection.idl
322 Source/core/html/HTMLQuoteElement.idl
323 Source/core/html/HTMLTitleElement.idl
324 Source/core/html/HTMLBRElement.idl
325 Source/core/html/HTMLMenuElement.idl
326 Source/core/html/HTMLDListElement.idl
327 Source/core/html/HTMLHeadElement.idl
328 Source/core/html/HTMLHeadingElement.idl
329 Source/core/html/HTMLDirectoryElement.idl
330 Source/core/html/HTMLParagraphElement.idl
331 Source/core/html/HTMLBaseElement.idl
332 Source/core/html/HTMLDivElement.idl
333 Source/core/dom/Notation.idl
334 Source/core/html/HTMLLIElement.idl
335 Source/core/html/HTMLUListElement.idl
336 Source/core/html/HTMLOptGroupElement.idl
337 Source/core/html/HTMLModElement.idl
338 Source/core/html/HTMLHtmlElement.idl
339 Source/core/html/HTMLTableCaptionElement.idl
340 Source/core/css/CSSCharsetRule.idl
341 Source/core/dom/Comment.idl
342 Source/core/html/HTMLDetailsElement.idl
343 Source/core/xml/DOMParser.idl
344 Source/core/html/HTMLFontElement.idl
345 Source/core/dom/Entity.idl
346 Source/core/html/HTMLMapElement.idl
347 Source/core/html/HTMLLegendElement.idl
348 Source/core/css/CSSFontFaceRule.idl
349 Source/core/xml/XPathExpression.idl
350 Source/core/xml/XMLSerializer.idl
351 Source/core/xml/XPathNSResolver.idl
352 Source/core/html/HTMLOListElement.idl
353 Source/core/html/HTMLProgressElement.idl
354 Source/core/html/HTMLHRElement.idl
355 Source/core/html/HTMLParamElement.idl
356 Source/core/html/HTMLMetaElement.idl
357 Source/core/css/MediaQueryList.idl
358 Source/core/html/HTMLLabelElement.idl
359 Source/core/css/Rect.idl
360 Source/core/css/Counter.idl
361 Source/core/css/RGBColor.idl
362 Source/core/css/CSSImportRule.idl
363 Source/core/html/canvas/WebGLBuffer.idl
364 Source/core/html/canvas/WebGLShader.idl
365 Source/core/html/canvas/WebGLProgram.idl
366 Source/core/html/canvas/WebGLTexture.idl
367 Source/core/page/PerformanceMark.idl
368 Source/core/html/canvas/WebGLFramebuffer.idl
369 Source/core/page/PerformanceMeasure.idl
370 Source/core/html/canvas/WebGLRenderbuffer.idl
371 Source/core/html/HTMLMeterElement.idl
372 Source/core/html/canvas/CanvasPattern.idl
373 Source/modules/indexeddb/IDBCursorWithValue.idl
374 Source/modules/webaudio/ChannelSplitterNode.idl
375 Source/core/html/canvas/WebGLUniformLocation.idl
376 Source/core/plugins/MimeType.idl
377 Source/core/plugins/MimeTypeArray.idl
378 Source/core/css/CSSPageRule.idl
379 Source/core/css/CSSStyleRule.idl
380 Source/core/html/HTMLTableColElement.idl
381 Source/core/html/HTMLPreElement.idl
382 Source/core/css/StyleSheetList.idl
383 Source/core/css/CSSHostRule.idl
384 Source/core/html/canvas/EXTFragDepth.idl
385 Source/core/html/canvas/OESTextureFloat.idl
386 Source/core/html/canvas/OESElementIndexUint.idl
387 Source/core/html/canvas/OESTextureFloatLinear.idl
388 Source/core/html/canvas/OESTextureHalfFloatLinear.idl
389 Source/core/html/canvas/WebGLVertexArrayObjectOES.idl
390 Source/core/html/TextMetrics.idl
391 Source/modules/webaudio/DelayNode.idl
392 Source/modules/mediastream/RTCDataChannelEvent.idl
393 Source/modules/webaudio/OfflineAudioCompletionEvent.idl
394 Source/modules/webaudio/MediaStreamAudioDestinationNode.idl
395 Source/modules/webaudio/MediaStreamAudioSourceNode.idl
396 Source/modules/webaudio/MediaElementAudioSourceNode.idl
397 Source/modules/webaudio/AudioDestinationNode.idl
398 Source/core/html/DOMSettableTokenList.idl
399 Source/core/dom/DocumentFragment.idl
400 Source/core/plugins/PluginArray.idl
401 Source/core/html/HTMLStyleElement.idl
402 Source/core/html/HTMLTableSectionElement.idl
403 Source/core/css/CSSMediaRule.idl
404 Source/core/html/HTMLSpanElement.idl
405 Source/core/dom/TouchList.idl
406 Source/core/html/HTMLAudioElement.idl
407 Source/core/html/canvas/WebGLDebugShaders.idl
408 Source/modules/mediastream/MediaStreamTrackEvent.idl
409 Source/modules/mediastream/RTCIceCandidateEvent.idl
410 Source/modules/mediastream/MediaStreamEvent.idl
411 Source/core/dom/AutocompleteErrorEvent.idl
412 Source/core/dom/FocusEvent.idl
413 Source/modules/webaudio/AudioProcessingEvent.idl
414 Source/modules/webaudio/WaveTable.idl
415 Source/modules/webaudio/GainNode.idl
416 Source/core/dom/ProcessingInstruction.idl
417 Source/core/html/HTMLCollection.idl
418 Source/core/html/HTMLScriptElement.idl
419 Source/core/dom/PageTransitionEvent.idl
420 Source/modules/geolocation/Geoposition.idl
421 Source/core/page/SpeechInputEvent.idl
422 Source/core/html/canvas/WebGLLoseContext.idl
423 Source/modules/mediastream/RTCDTMFToneChangeEvent.idl
424 Source/core/fileapi/FileList.idl
425 Source/core/html/canvas/WebGLDepthTexture.idl
426 Source/core/html/canvas/WebGLContextEvent.idl
427 Source/core/html/canvas/OESStandardDerivatives.idl
428 Source/core/html/canvas/WebGLActiveInfo.idl
429 Source/core/dom/PopStateEvent.idl
430 Source/modules/indexeddb/IDBOpenDBRequest.idl
431 Source/modules/speech/SpeechRecognitionAlternative.idl
432 Source/core/fileapi/File.idl
433 Source/modules/speech/SpeechRecognitionResultList.idl
434 Source/core/testing/MallocStatistics.idl
435 Source/modules/webaudio/ConvolverNode.idl
436 Source/core/html/RadioNodeList.idl
437 Source/modules/quota/StorageQuota.idl
438 Source/core/xml/XMLHttpRequestProgressEvent.idl
439 Source/core/plugins/Plugin.idl
440 Source/core/dom/Text.idl
441 Source/core/dom/HashChangeEvent.idl
442 Source/core/css/CSSViewportRule.idl
443 Source/core/html/canvas/CanvasRenderingContext.idl
444 Source/core/dom/BeforeLoadEvent.idl
445 Source/core/html/canvas/Canvas2DContextAttributes.idl
446 Source/modules/speech/SpeechGrammar.idl
447 Source/modules/indexeddb/IDBAny.idl
448 Source/core/html/track/TrackEvent.idl
449 Source/core/html/canvas/WebGLShaderPrecisionFormat.idl
450 Source/core/html/canvas/WebGLDebugRendererInfo.idl
451 Source/modules/mediastream/NavigatorUserMediaError.idl
452 Source/core/html/canvas/EXTTextureFilterAnisotropic.idl
453 Source/modules/speech/SpeechRecognitionError.idl
454 Source/core/html/shadow/HTMLContentElement.idl
455 Source/modules/gamepad/GamepadList.idl
456 Source/core/html/HTMLSourceElement.idl
457 Source/core/html/canvas/ArrayBufferView.idl
458 Source/core/html/canvas/CanvasGradient.idl
459 Source/modules/speech/SpeechSynthesisEvent.idl
460 Source/modules/speech/SpeechRecognitionResult.idl
461 Source/core/dom/DOMStringList.idl
462 Source/core/css/StyleMedia.idl
463 Source/core/css/CSSValueList.idl
464 Source/core/html/HTMLUnknownElement.idl
465 Source/core/page/BarProp.idl
466 Source/modules/webaudio/ChannelMergerNode.idl
467 Source/core/xml/XPathEvaluator.idl
468 Source/core/html/HTMLTableRowElement.idl
469 Source/modules/encryptedmedia/MediaKeyNeededEvent.idl
470 Source/core/page/SpeechInputResult.idl
471 Source/core/html/canvas/OESTextureHalfFloat.idl
472 Source/core/page/SpeechInputResultList.idl
473 Source/core/html/track/TextTrackCueList.idl
474 Source/modules/mediastream/SourceInfo.idl
475 Source/core/dom/WebKitAnimationEvent.idl
476 Source/core/html/TimeRanges.idl
477 Source/modules/indexeddb/IDBVersionChangeEvent.idl
478 Source/core/css/CSSRuleList.idl
479 Source/modules/webaudio/ScriptProcessorNode.idl
480 Source/core/dom/ProgressEvent.idl
481 Source/core/dom/DOMStringMap.idl
482 Source/core/dom/ClientRectList.idl
483 Source/modules/webaudio/AudioSourceNode.idl
484 Source/core/html/HTMLFieldSetElement.idl
485 Source/core/dom/NodeIterator.idl
486 Source/core/css/StyleSheet.idl
487 Source/core/html/HTMLOptionElement.idl
488 Source/core/css/WebKitCSSMixFunctionValue.idl
489 Source/modules/encryptedmedia/MediaKeyMessageEvent.idl
490 Source/core/html/HTMLDialogElement.idl
491 Source/modules/webaudio/OfflineAudioContext.idl
492 Source/core/html/canvas/WebGLCompressedTextureATC.idl
493 Source/modules/speech/SpeechGrammarList.idl
494 Source/core/dom/TransitionEvent.idl
495 Source/modules/quota/StorageInfo.idl
496 Source/modules/crypto/SubtleCrypto.idl
497 Source/core/html/HTMLTemplateElement.idl
498 Source/core/dom/DOMError.idl
499 Source/core/html/shadow/HTMLShadowElement.idl
500 Source/modules/webaudio/DynamicsCompressorNode.idl
501 Source/core/dom/EventTarget.idl
502 Source/core/dom/DocumentType.idl
503 Source/core/html/ValidityState.idl
504 Source/core/html/track/TextTrackRegionList.idl
505 Source/modules/encryptedmedia/MediaKeys.idl
506 Source/modules/speech/SpeechSynthesisVoice.idl
507 Source/modules/speech/SpeechRecognitionEvent.idl
508 Source/core/html/canvas/WebGLCompressedTexturePVRTC.idl
509 Source/core/html/canvas/WebGLCompressedTextureS3TC.idl
510 Source/core/html/MediaError.idl
511 Source/modules/filesystem/DirectoryReaderSync.idl
512 Source/modules/crypto/WorkerCrypto.idl
513 Source/core/html/HTMLDataListElement.idl
514 Source/modules/webdatabase/SQLTransactionSync.idl
515 Source/modules/filesystem/DirectoryReader.idl
516 Source/core/html/ImageData.idl
517 Source/core/css/WebKitCSSRegionRule.idl
518 Source/core/html/canvas/WebGLContextAttributes.idl
519 Source/core/dom/ClientRect.idl
520 Source/modules/geolocation/PositionError.idl
521 Source/core/css/WebKitCSSFilterRule.idl
522 Source/core/html/canvas/OESVertexArrayObject.idl
523 Source/core/inspector/InspectorOverlayHost.idl
524 Source/modules/filesystem/DOMFileSystemSync.idl
525 Source/modules/filesystem/FileEntrySync.idl
526 Source/modules/webmidi/MIDIConnectionEvent.idl
527 Source/modules/filesystem/Metadata.idl
528 Source/core/css/CSS.idl
529 Source/modules/filesystem/EntryArray.idl
530 Source/modules/filesystem/EntryArraySync.idl
531 Source/modules/webdatabase/SQLResultSet.idl
532 Source/modules/filesystem/FileEntry.idl
533 Source/core/dom/TreeWalker.idl
534 Source/core/html/HTMLEmbedElement.idl
535 Source/core/dom/OverflowEvent.idl
536 Source/modules/webmidi/MIDIInput.idl
537 Source/modules/performance/WorkerPerformance.idl
538 Source/core/workers/SharedWorkerContext.idl
539 Source/core/html/ime/Composition.idl
540 Source/modules/webdatabase/SQLTransaction.idl
541 Source/core/html/MediaKeyError.idl
542 Source/core/workers/AbstractWorker.idl
543 Source/modules/webdatabase/Database.idl
544 Source/core/css/CSSValue.idl
545 Source/core/html/HTMLTableCellElement.idl
546 Source/core/dom/TextEvent.idl
547 Source/core/css/MediaList.idl
548 Source/core/html/MediaKeyEvent.idl
549 Source/modules/mediastream/RTCSessionDescription.idl
550 Source/core/dom/SecurityPolicyViolationEvent.idl
551 Source/core/css/WebKitCSSKeyframeRule.idl
552 Source/core/css/CSSFontFaceLoadEvent.idl
553 Source/modules/filesystem/DOMFileSystem.idl
554 Source/modules/websockets/CloseEvent.idl
555 Source/core/dom/ErrorEvent.idl
556 Source/modules/filesystem/DirectoryEntrySync.idl
557 Source/core/css/CSSSupportsRule.idl
558 Source/modules/filesystem/DirectoryEntry.idl
559 Source/modules/webaudio/AudioListener.idl
560 Source/core/dom/ResourceProgressEvent.idl
561 Source/core/dom/Attr.idl
562 Source/core/html/HTMLAreaElement.idl
563 Source/core/html/HTMLLinkElement.idl
564 Source/core/dom/WebKitNamedFlowCollection.idl
565 Source/core/dom/CompositionEvent.idl
566 Source/core/dom/Touch.idl
567 Source/modules/mediastream/RTCIceCandidate.idl
568 Source/core/page/PerformanceEntry.idl
569 Source/core/fileapi/FileReaderSync.idl
570 Source/modules/webmidi/MIDIMessageEvent.idl
571 Source/modules/webmidi/MIDIAccessPromise.idl
572 Source/core/css/CSSStyleSheet.idl
573 Source/core/html/HTMLAppletElement.idl
574 Source/modules/geolocation/Geolocation.idl
575 Source/core/page/MemoryInfo.idl
576 Source/modules/webdatabase/DatabaseSync.idl
577 Source/core/page/Screen.idl
578 Source/core/html/canvas/ANGLEInstancedArrays.idl
579 Source/core/storage/Storage.idl
580 Source/core/dom/UIEvent.idl
581 Source/core/html/HTMLMarqueeElement.idl
582 Source/core/html/HTMLButtonElement.idl
583 Source/core/html/canvas/Int16Array.idl
584 Source/core/html/HTMLOutputElement.idl
585 Source/core/html/canvas/Uint8Array.idl
586 Source/core/html/canvas/Uint16Array.idl
587 Source/core/html/canvas/Uint32Array.idl
588 Source/modules/filesystem/FileWriterSync.idl
589 Source/core/page/PerformanceNavigation.idl
590 Source/modules/crypto/Crypto.idl
591 Source/modules/webaudio/AudioBuffer.idl
592 Source/core/dom/CharacterData.idl
593 Source/core/workers/Worker.idl
594 Source/core/testing/TypeConversions.idl
595 Source/core/html/canvas/Float64Array.idl
596 Source/core/html/canvas/Int8Array.idl
597 Source/core/html/canvas/Int32Array.idl
598 Source/core/html/canvas/Float32Array.idl
599 Source/core/html/canvas/Uint8ClampedArray.idl
600 Source/core/page/PagePopupController.idl
601 Source/core/css/WebKitCSSKeyframesRule.idl
602 Source/core/html/ime/InputMethodContext.idl
603 Source/core/html/track/TextTrackRegion.idl
604 Source/core/workers/SharedWorker.idl
605 Source/core/workers/WorkerLocation.idl
606 Source/core/dom/Clipboard.idl
607 Source/core/dom/MutationEvent.idl
608 Source/core/html/HTMLIFrameElement.idl
609 Source/core/html/track/TextTrackList.idl
610 Source/modules/webdatabase/SQLError.idl
611 Source/core/html/HTMLImageElement.idl
612 Source/core/page/SecurityPolicy.idl
613 Source/core/dom/MutationRecord.idl
614 Source/modules/webaudio/AnalyserNode.idl
615 Source/core/html/HTMLFrameElement.idl
616 Source/core/dom/KeyboardEvent.idl
617 Source/modules/speech/SpeechSynthesisUtterance.idl
618 Source/core/dom/NodeFilter.idl
619 Source/core/page/PerformanceResourceTiming.idl
620 Source/modules/webdatabase/SQLException.idl
621 Source/core/dom/shadow/ShadowRoot.idl
622 Source/modules/filesystem/EntrySync.idl
623 Source/core/storage/StorageEvent.idl
624 Source/modules/filesystem/Entry.idl
625 Source/core/fileapi/FileError.idl
626 Source/core/dom/DOMImplementation.idl
627 Source/core/dom/WheelEvent.idl
628 Source/core/xml/XPathResult.idl
629 Source/modules/mediasource/WebKitSourceBufferList.idl
630 Source/modules/mediasource/WebKitSourceBuffer.idl
631 Source/core/dom/TouchEvent.idl
632 Source/core/css/WebKitCSSFilterValue.idl
633 Source/modules/webaudio/BiquadFilterNode.idl
634 Source/core/dom/NamedNodeMap.idl
635 Source/core/html/HTMLAnchorElement.idl
636 Source/modules/mediastream/RTCDTMFSender.idl
637 Source/modules/mediasource/SourceBufferList.idl
638 Source/core/html/HTMLKeygenElement.idl
639 Source/core/xml/XMLHttpRequestUpload.idl
640 Source/core/xml/XSLTProcessor.idl
641 Source/core/html/HTMLTableElement.idl
642 Source/core/html/HTMLFrameSetElement.idl
643 Source/core/dom/WebKitNamedFlow.idl
644 Source/core/html/HTMLVideoElement.idl
645 Source/modules/indexeddb/IDBTransaction.idl
646 Source/core/html/HTMLBodyElement.idl
647 Source/core/html/HTMLSelectElement.idl
648 Source/core/html/HTMLDocument.idl
649 Source/modules/encryptedmedia/MediaKeySession.idl
650 Source/modules/indexeddb/IDBRequest.idl
651 Source/core/page/PerformanceTiming.idl
652 Source/core/html/HTMLObjectElement.idl
653 Source/modules/mediastream/RTCDataChannel.idl
654 Source/modules/webaudio/AudioBufferSourceNode.idl
655 Source/core/fileapi/FileException.idl
656 Source/core/css/FontLoader.idl
657 Source/modules/webaudio/OscillatorNode.idl
658 Source/modules/webaudio/PannerNode.idl
659 Source/core/html/MediaController.idl
660 Source/core/page/Console.idl
661 Source/core/testing/InternalSettings.idl
662 Source/modules/webaudio/AudioParam.idl
663 Source/core/html/HTMLElement.idl
664 Source/core/css/WebKitCSSTransformValue.idl
665 Source/core/dom/MouseEvent.idl
666 Source/modules/mediasource/SourceBuffer.idl
667 Source/core/html/HTMLTextAreaElement.idl
668 Source/modules/speech/SpeechRecognition.idl
669 Source/core/loader/appcache/DOMApplicationCache.idl
670 Source/core/page/EventSource.idl
671 Source/core/css/CSSPrimitiveValue.idl
672 Source/modules/filesystem/FileWriter.idl
673 Source/core/fileapi/FileReader.idl
674 Source/core/dom/Event.idl
675 Source/core/dom/DOMException.idl
676 Source/core/page/Selection.idl
677 Source/core/dom/Range.idl
678 Source/core/css/WebKitCSSMatrix.idl
679 Source/core/dom/Node.idl
680 );
681
682 `rm -Rf /mnt/hdd/rewrite_out_ref/*`;
683 `rm -Rf /mnt/hdd/rewrite_out_try/*`;
684 $count = 0;
685 @no_error_files = ();
686 @result_ok_idls = ();
687 @result_ng_idls = ();
688 sub run_set {
689 my $isH = shift;
690 my @files = @_;
691 for $idl (@files) {
692 next if $idl =~ /^#/;
693 if($idl =~ m|/([^./]+)\.idl$|) {
694 $base = $1;
695 next if $kw and $base ne $kw;
696 print "-" x 80, "\n";
697 $type = $isH ? "h" : "cpp";
698 print "try $type for $idl $base\n";
699 print "-" x 80, "\n";
700 if($isH) {
701 `cp /mnt/hdd/chromium/src/out/Release/gen/webkit/bindings/V8$bas e.h /mnt/hdd/rewrite_out_ref/`;
702 } else {
703 `cp /mnt/hdd/chromium/src/out/Release/gen/webcore/bindings/V8$ba se.cpp /mnt/hdd/rewrite_out_ref/`;
704 }
705 $flag = $isH ? "--no_cpp=1" : "--no_h=1";
706 @result = `python scripts/generate_bindings.py $flag --output-direct ory=/mnt/hdd/rewrite_out_try --output-headers-directory=/mnt/hdd/rewrite_out_try ../../$idl 2>&1`;
707 print @result;
708 if(! grep{/No such file/ && /pkl/} @result) {
709 push @no_error_files, $idl;
710 }
711 $ext = $isH ? "h" : "cpp";
712 @diff = `diff -B /mnt/hdd/rewrite_out_ref/V8$base.$ext /mnt/hdd/rewr ite_out_try/V8$base.$ext 2>&1`;
713 if(@diff) {
714 print "DIFF\n", @diff;
715 push @result_ng_idls, $idl;
716 } else {
717 push @result_ok_idls, $idl;
718 }
719 $count++;
720 }
721 }
722 }
723 run_set(1, @gen_h);
724 run_set(0, @gen_cpp);
725 print "\n$count files processed\n";
726 print "No pkl error files: ", scalar(@no_error_files), "\n";
727 print "OK files: ", scalar(@result_ok_idls), "\n";
728 print "NG files: ", scalar(@result_ng_idls), "\n";
729 #map{print "$_\n"}@no_error_files;
730
731 open($f, ">", "ok.txt") or die $@;
732 map{print $f "$_\n"}@result_ok_idls;
733 close $f;
734
735 open($f, ">", "ng.txt") or die $@;
736 map{print $f "$_\n"}@result_ng_idls;
737 close $f;
738
739 `diff -r -B /mnt/hdd/rewrite_out_ref /mnt/hdd/rewrite_out_try | tee diff.txt`;
740
OLDNEW
« no previous file with comments | « Source/bindings/scripts/ir.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698