| 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 566 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 'HTMLTableRowElement.ch', | 577 'HTMLTableRowElement.ch', |
| 578 'HTMLTableRowElement.chOff', | 578 'HTMLTableRowElement.chOff', |
| 579 'HTMLTableRowElement.vAlign', | 579 'HTMLTableRowElement.vAlign', |
| 580 'HTMLTableSectionElement.align', | 580 'HTMLTableSectionElement.align', |
| 581 'HTMLTableSectionElement.ch', | 581 'HTMLTableSectionElement.ch', |
| 582 'HTMLTableSectionElement.chOff', | 582 'HTMLTableSectionElement.chOff', |
| 583 'HTMLTableSectionElement.vAlign', | 583 'HTMLTableSectionElement.vAlign', |
| 584 'HTMLTitleElement.text', | 584 'HTMLTitleElement.text', |
| 585 'HTMLUListElement.compact', | 585 'HTMLUListElement.compact', |
| 586 'HTMLUListElement.type', | 586 'HTMLUListElement.type', |
| 587 'Location.valueOf', |
| 587 'MessageEvent.webkitInitMessageEvent', | 588 'MessageEvent.webkitInitMessageEvent', |
| 588 'MouseEvent.x', | 589 'MouseEvent.x', |
| 589 'MouseEvent.y', | 590 'MouseEvent.y', |
| 590 'Node.compareDocumentPosition', | 591 'Node.compareDocumentPosition', |
| 591 'Node.get:DOCUMENT_POSITION_CONTAINED_BY', | 592 'Node.get:DOCUMENT_POSITION_CONTAINED_BY', |
| 592 'Node.get:DOCUMENT_POSITION_CONTAINS', | 593 'Node.get:DOCUMENT_POSITION_CONTAINS', |
| 593 'Node.get:DOCUMENT_POSITION_DISCONNECTED', | 594 'Node.get:DOCUMENT_POSITION_DISCONNECTED', |
| 594 'Node.get:DOCUMENT_POSITION_FOLLOWING', | 595 'Node.get:DOCUMENT_POSITION_FOLLOWING', |
| 595 'Node.get:DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC', | 596 'Node.get:DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC', |
| 596 'Node.get:DOCUMENT_POSITION_PRECEDING', | 597 'Node.get:DOCUMENT_POSITION_PRECEDING', |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 772 | 773 |
| 773 # We're looking for a sequence of letters which start with capital letter | 774 # We're looking for a sequence of letters which start with capital letter |
| 774 # then a series of caps and finishes with either the end of the string or | 775 # then a series of caps and finishes with either the end of the string or |
| 775 # a capital letter. | 776 # a capital letter. |
| 776 # The [0-9] check is for names such as 2D or 3D | 777 # The [0-9] check is for names such as 2D or 3D |
| 777 # The following test cases should match as: | 778 # The following test cases should match as: |
| 778 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue | 779 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue |
| 779 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) | 780 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) |
| 780 # IFrameElement: (I)()(F)rameElement (no change) | 781 # IFrameElement: (I)()(F)rameElement (no change) |
| 781 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) | 782 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) |
| OLD | NEW |