| 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 610 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 621 'HTMLBodyElement.bgColor', | 621 'HTMLBodyElement.bgColor', |
| 622 'HTMLBodyElement.link', | 622 'HTMLBodyElement.link', |
| 623 'HTMLBodyElement.on:beforeUnload', | 623 'HTMLBodyElement.on:beforeUnload', |
| 624 'HTMLBodyElement.text', | 624 'HTMLBodyElement.text', |
| 625 'HTMLBodyElement.vLink', | 625 'HTMLBodyElement.vLink', |
| 626 'HTMLDListElement.compact', | 626 'HTMLDListElement.compact', |
| 627 'HTMLDirectoryElement.*', | 627 'HTMLDirectoryElement.*', |
| 628 'HTMLDivElement.align', | 628 'HTMLDivElement.align', |
| 629 'HTMLFontElement.*', | 629 'HTMLFontElement.*', |
| 630 'HTMLFormControlsCollection.__getter__', | 630 'HTMLFormControlsCollection.__getter__', |
| 631 'HTMLFormControlsCollection.get:Node', | |
| 632 'HTMLFormElement.get:elements', | 631 'HTMLFormElement.get:elements', |
| 633 'HTMLFrameElement.*', | 632 'HTMLFrameElement.*', |
| 634 'HTMLFrameSetElement.*', | 633 'HTMLFrameSetElement.*', |
| 635 'HTMLHRElement.align', | 634 'HTMLHRElement.align', |
| 636 'HTMLHRElement.noShade', | 635 'HTMLHRElement.noShade', |
| 637 'HTMLHRElement.size', | 636 'HTMLHRElement.size', |
| 638 'HTMLHRElement.width', | 637 'HTMLHRElement.width', |
| 639 'HTMLHeadElement.profile', | 638 'HTMLHeadElement.profile', |
| 640 'HTMLHeadingElement.align', | 639 'HTMLHeadingElement.align', |
| 641 'HTMLHtmlElement.manifest', | 640 'HTMLHtmlElement.manifest', |
| (...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 966 | 965 |
| 967 # We're looking for a sequence of letters which start with capital letter | 966 # We're looking for a sequence of letters which start with capital letter |
| 968 # then a series of caps and finishes with either the end of the string or | 967 # then a series of caps and finishes with either the end of the string or |
| 969 # a capital letter. | 968 # a capital letter. |
| 970 # The [0-9] check is for names such as 2D or 3D | 969 # The [0-9] check is for names such as 2D or 3D |
| 971 # The following test cases should match as: | 970 # The following test cases should match as: |
| 972 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue | 971 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue |
| 973 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) | 972 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) |
| 974 # IFrameElement: (I)()(F)rameElement (no change) | 973 # IFrameElement: (I)()(F)rameElement (no change) |
| 975 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) | 974 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) |
| OLD | NEW |