| 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 _removed_html_interfaces = [ | 66 _removed_html_interfaces = [ |
| 67 'CSSPrimitiveValue', | 67 'CSSPrimitiveValue', |
| 68 'CSSValue', | 68 'CSSValue', |
| 69 'Counter', | 69 'Counter', |
| 70 'DOMFileSystemSync', # Workers | 70 'DOMFileSystemSync', # Workers |
| 71 'DatabaseSync', # Workers | 71 'DatabaseSync', # Workers |
| 72 'DataView', # Typed arrays | 72 'DataView', # Typed arrays |
| 73 'DedicatedWorkerContext', # Workers | 73 'DedicatedWorkerContext', # Workers |
| 74 'DirectoryEntrySync', # Workers | 74 'DirectoryEntrySync', # Workers |
| 75 'DirectoryReaderSync', # Workers | 75 'DirectoryReaderSync', # Workers |
| 76 'EntityReference', | |
| 77 'EntrySync', # Workers | 76 'EntrySync', # Workers |
| 78 'FileEntrySync', # Workers | 77 'FileEntrySync', # Workers |
| 79 'FileReaderSync', # Workers | 78 'FileReaderSync', # Workers |
| 80 'FileWriterSync', # Workers | 79 'FileWriterSync', # Workers |
| 81 'HTMLAppletElement', | 80 'HTMLAppletElement', |
| 82 'HTMLBaseFontElement', | 81 'HTMLBaseFontElement', |
| 83 'HTMLDirectoryElement', | 82 'HTMLDirectoryElement', |
| 84 'HTMLFontElement', | 83 'HTMLFontElement', |
| 85 'HTMLFrameElement', | 84 'HTMLFrameElement', |
| 86 'HTMLFrameSetElement', | 85 'HTMLFrameSetElement', |
| (...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 | 770 |
| 772 # We're looking for a sequence of letters which start with capital letter | 771 # We're looking for a sequence of letters which start with capital letter |
| 773 # then a series of caps and finishes with either the end of the string or | 772 # then a series of caps and finishes with either the end of the string or |
| 774 # a capital letter. | 773 # a capital letter. |
| 775 # The [0-9] check is for names such as 2D or 3D | 774 # The [0-9] check is for names such as 2D or 3D |
| 776 # The following test cases should match as: | 775 # The following test cases should match as: |
| 777 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue | 776 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue |
| 778 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) | 777 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) |
| 779 # IFrameElement: (I)()(F)rameElement (no change) | 778 # IFrameElement: (I)()(F)rameElement (no change) |
| 780 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) | 779 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) |
| OLD | NEW |