| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 'HTMLTableElement.createTFoot', | 235 'HTMLTableElement.createTFoot', |
| 236 'HTMLTableElement.createTHead', | 236 'HTMLTableElement.createTHead', |
| 237 'HTMLTableElement.createTBody', | 237 'HTMLTableElement.createTBody', |
| 238 'HTMLTableElement.insertRow', | 238 'HTMLTableElement.insertRow', |
| 239 'HTMLTableElement.rows', | 239 'HTMLTableElement.rows', |
| 240 'HTMLTableElement.tBodies', | 240 'HTMLTableElement.tBodies', |
| 241 'HTMLTableRowElement.cells', | 241 'HTMLTableRowElement.cells', |
| 242 'HTMLTableRowElement.insertCell', | 242 'HTMLTableRowElement.insertCell', |
| 243 'HTMLTableSectionElement.insertRow', | 243 'HTMLTableSectionElement.insertRow', |
| 244 'HTMLTableSectionElement.rows', | 244 'HTMLTableSectionElement.rows', |
| 245 'HTMLTemplateElement.content', | |
| 246 'IDBCursor.delete', | 245 'IDBCursor.delete', |
| 247 'IDBCursor.update', | 246 'IDBCursor.update', |
| 248 'IDBDatabase.createObjectStore', | 247 'IDBDatabase.createObjectStore', |
| 249 'IDBFactory.deleteDatabase', | 248 'IDBFactory.deleteDatabase', |
| 250 'IDBFactory.webkitGetDatabaseNames', | 249 'IDBFactory.webkitGetDatabaseNames', |
| 251 'IDBFactory.open', | 250 'IDBFactory.open', |
| 252 'IDBIndex.count', | 251 'IDBIndex.count', |
| 253 'IDBIndex.get', | 252 'IDBIndex.get', |
| 254 'IDBIndex.getKey', | 253 'IDBIndex.getKey', |
| 255 'IDBIndex.openCursor', | 254 'IDBIndex.openCursor', |
| (...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 938 | 937 |
| 939 # We're looking for a sequence of letters which start with capital letter | 938 # We're looking for a sequence of letters which start with capital letter |
| 940 # then a series of caps and finishes with either the end of the string or | 939 # then a series of caps and finishes with either the end of the string or |
| 941 # a capital letter. | 940 # a capital letter. |
| 942 # The [0-9] check is for names such as 2D or 3D | 941 # The [0-9] check is for names such as 2D or 3D |
| 943 # The following test cases should match as: | 942 # The following test cases should match as: |
| 944 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue | 943 # WebKitCSSFilterValue: WebKit(C)(SS)(F)ilterValue |
| 945 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) | 944 # XPathNSResolver: (X)()(P)ath(N)(S)(R)esolver (no change) |
| 946 # IFrameElement: (I)()(F)rameElement (no change) | 945 # IFrameElement: (I)()(F)rameElement (no change) |
| 947 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) | 946 return re.sub(r'([A-Z])([A-Z]{2,})([A-Z]|$)', toLower, name) |
| OLD | NEW |