OLD | NEW |
---|---|
1 #!/usr/bin/python | 1 #!/usr/bin/python |
2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
4 # BSD-style license that can be found in the LICENSE file. | 4 # BSD-style license that can be found in the LICENSE file. |
5 import logging | 5 import logging |
6 import monitored | 6 import monitored |
7 import re | 7 import re |
8 | 8 |
9 typed_array_renames = { | 9 typed_array_renames = { |
10 'ArrayBuffer': 'ByteBuffer', | 10 'ArrayBuffer': 'ByteBuffer', |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
81 'BluetoothUUID', | 81 'BluetoothUUID', |
82 'Cache', # TODO: Symbol conflicts with Angular: dartbug.com/20937 | 82 'Cache', # TODO: Symbol conflicts with Angular: dartbug.com/20937 |
83 'CanvasPathMethods', | 83 'CanvasPathMethods', |
84 'CDataSection', | 84 'CDataSection', |
85 'CSSPrimitiveValue', | 85 'CSSPrimitiveValue', |
86 'CSSUnknownRule', | 86 'CSSUnknownRule', |
87 'CSSValue', | 87 'CSSValue', |
88 'Counter', | 88 'Counter', |
89 'DOMFileSystemSync', # Workers | 89 'DOMFileSystemSync', # Workers |
90 'DatabaseSync', # Workers | 90 'DatabaseSync', # Workers |
91 'DataView', # Typed arrays | |
Alan Knight
2017/05/11 20:10:17
Is this related to the others? And removing it doe
| |
92 'DirectoryEntrySync', # Workers | 91 'DirectoryEntrySync', # Workers |
93 'DirectoryReaderSync', # Workers | 92 'DirectoryReaderSync', # Workers |
94 'DocumentType', | 93 'DocumentType', |
95 'EntrySync', # Workers | 94 'EntrySync', # Workers |
96 'FileEntrySync', # Workers | 95 'FileEntrySync', # Workers |
97 'FileReaderSync', # Workers | 96 'FileReaderSync', # Workers |
98 'FileWriterSync', # Workers | 97 'FileWriterSync', # Workers |
99 'HTMLAllCollection', | 98 'HTMLAllCollection', |
100 'HTMLAppletElement', | 99 'HTMLAppletElement', |
101 'HTMLBaseFontElement', | 100 'HTMLBaseFontElement', |
(...skipping 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1107 | 1106 |
1108 # We're looking for a sequence of letters which start with capital letter | 1107 # We're looking for a sequence of letters which start with capital letter |
1109 # then a series of caps and finishes with either the end of the string or | 1108 # then a series of caps and finishes with either the end of the string or |
1110 # a capital letter. | 1109 # a capital letter. |
1111 # The [0-9] check is for names such as 2D or 3D | 1110 # The [0-9] check is for names such as 2D or 3D |
1112 # The following test cases should match as: | 1111 # The following test cases should match as: |
1113 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue | 1112 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue |
1114 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) | 1113 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) |
1115 # IFrameElement: (I)()(F)rameElement (no change) | 1114 # IFrameElement: (I)()(F)rameElement (no change) |
1116 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) | 1115 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) |
OLD | NEW |