Changeset 116193 in webkit


Ignore:
Timestamp:
May 4, 2012 5:04:28 PM (12 years ago)
Author:
eric@webkit.org
Message:

Make capitalization and descriptions in FeatureList.pm more consistent to make easier to autogenerate
https://bugs.webkit.org/show_bug.cgi?id=85583

Reviewed by Daniel Bates.

  • Scripts/webkitperl/FeatureList.pm:
Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r116187 r116193  
     12012-05-04  Eric Seidel  <eric@webkit.org>
     2
     3        Make capitalization and descriptions in FeatureList.pm more consistent to make easier to autogenerate
     4        https://bugs.webkit.org/show_bug.cgi?id=85583
     5
     6        Reviewed by Daniel Bates.
     7
     8        * Scripts/webkitperl/FeatureList.pm:
     9
    1102012-05-04  Eric Seidel  <eric@webkit.org>
    211
  • trunk/Tools/Scripts/webkitperl/FeatureList.pm

    r116187 r116193  
    4343
    4444my (
    45     $threeDCanvasSupport,
    4645    $threeDRenderingSupport,
    47     $accelerated2dCanvasSupport,
     46    $accelerated2DCanvasSupport,
    4847    $animationAPISupport,
    49     $batterystatusAPISupport,
     48    $batteryStatusSupport,
    5049    $blobSupport,
    5150    $channelMessagingSupport,
     
    6665    $geolocationSupport,
    6766    $highDPICanvasSupport,
    68     $iconDatabaseSupport,
     67    $icondatabaseSupport,
    6968    $imageResizerSupport,
    7069    $indexedDatabaseSupport,
     
    7776    $inputTypeTimeSupport,
    7877    $inputTypeWeekSupport,
     78    $inspectorSupport,
    7979    $javaScriptDebuggerSupport,
    8080    $legacyNotificationsSupport,
     
    9494    $notificationsSupport,
    9595    $orientationEventsSupport,
    96     $pageVisibilityApiSupport,
     96    $pageVisibilityAPISupport,
    9797    $progressTagSupport,
    9898    $quotaSupport,
     
    100100    $requestAnimationFrameSupport,
    101101    $scriptedSpeechSupport,
    102     $shadowDomSupport,
     102    $shadowDOMSupport,
    103103    $sharedWorkersSupport,
    104104    $sqlDatabaseSupport,
     
    114114    $videoSupport,
    115115    $videoTrackSupport,
     116    $webglSupport,
    116117    $webAudioSupport,
    117     $webInspectorSupport,
    118118    $webSocketsSupport,
    119119    $webTimingSupport,
     
    123123
    124124my @features = (
    125     { option => "3d-canvas", desc => "Toggle 3D canvas (WebGL) support",
    126       define => "ENABLE_WEBGL", default => isAppleMacWebKit(), value => \$threeDCanvasSupport },
    127 
    128     { option => "3d-rendering", desc => "Toggle 3D rendering support",
     125    { option => "3d-canvas", desc => "Toggle WebGL support",
     126      define => "ENABLE_WEBGL", default => isAppleMacWebKit(), value => \$webglSupport },
     127
     128    { option => "3d-rendering", desc => "Toggle 3D Rendering support",
    129129      define => "ENABLE_3D_RENDERING", default => (isAppleMacWebKit() || isQt()), value => \$threeDRenderingSupport },
    130130
    131     { option => "accelerated-2d-canvas", desc => "Toggle accelerated 2D canvas support",
    132       define => "ENABLE_ACCELERATED_2D_CANVAS", default => 0, value => \$accelerated2dCanvasSupport },
    133 
    134     { option => "animation-api", desc => "Toggle animation API support",
     131    { option => "accelerated-2d-canvas", desc => "Toggle Accelerated 2D Canvas support",
     132      define => "ENABLE_ACCELERATED_2D_CANVAS", default => 0, value => \$accelerated2DCanvasSupport },
     133
     134    { option => "animation-api", desc => "Toggle Animation API support",
    135135      define => "ENABLE_ANIMATION_API", default => isBlackBerry(), value => \$animationAPISupport },
    136136
    137     { option => "battery-status-api", desc => "Toggle battery status API support",
    138       define => "ENABLE_BATTERY_STATUS", default => (isEfl() || isBlackBerry()), value => \$batterystatusAPISupport },
     137    { option => "battery-status-api", desc => "Toggle Battery Status API support",
     138      define => "ENABLE_BATTERY_STATUS", default => (isEfl() || isBlackBerry()), value => \$batteryStatusSupport },
    139139
    140140    { option => "blob", desc => "Toggle Blob support",
    141141      define => "ENABLE_BLOB", default => (isAppleMacWebKit() || isGtk() || isChromium() || isBlackBerry()), value => \$blobSupport },
    142142
    143     { option => "channel-messaging", desc => "Toggle MessageChannel and MessagePort support",
     143    { option => "channel-messaging", desc => "Toggle Channel Messaging support",
    144144      define => "ENABLE_CHANNEL_MESSAGING", default => 1, value => \$channelMessagingSupport },
    145145
     
    150150      define => "ENABLE_CSS_GRID_LAYOUT", default => 0, value => \$cssGridLayoutSupport },
    151151
    152     { option => "css-shaders", desc => "Toggle CSS Shaders (within CSS Filters) support",
     152    { option => "css-shaders", desc => "Toggle CSS Shaders support",
    153153      define => "ENABLE_CSS_SHADERS", default => 0, value => \$cssShadersSupport },
    154154
    155     { option => "datalist", desc => "Toggle HTML5 datalist support",
     155    { option => "datalist", desc => "Toggle Datalist support",
    156156      define => "ENABLE_DATALIST", default => 0, value => \$datalistSupport },
    157157
    158     { option => "data-transfer-items", desc => "Toggle HTML5 data transfer items support",
     158    { option => "data-transfer-items", desc => "Toggle Data Transfer Items support",
    159159      define => "ENABLE_DATA_TRANSFER_ITEMS", default => 0, value => \$dataTransferItemsSupport },
    160160
    161     { option => "details", desc => "Toggle HTML5 details support",
     161    { option => "details", desc => "Toggle Details support",
    162162      define => "ENABLE_DETAILS", default => 1, value => \$detailsSupport },
    163163
    164     { option => "device-orientation", desc => "Toggle DeviceOrientation support",
     164    { option => "device-orientation", desc => "Toggle Device Orientation support",
    165165      define => "ENABLE_DEVICE_ORIENTATION", default => isBlackBerry(), value => \$deviceOrientationSupport },
    166166
    167     { option => "directory-upload", desc => "Toogle Directory upload support",
     167    { option => "directory-upload", desc => "Toogle Directory Upload support",
    168168      define => "ENABLE_DIRECTORY_UPLOAD", default => 0, value => \$directoryUploadSupport },
    169169
    170     { option => "download-attribute", desc => "Toggle download attribute support",
     170    { option => "download-attribute", desc => "Toggle Download Attribute support",
    171171      define => "ENABLE_DOWNLOAD_ATTRIBUTE", default => isBlackBerry(), value => \$downloadAttributeSupport },
    172172
    173     { option => "file-system", desc => "Toggle FileSystem support",
     173    { option => "file-system", desc => "Toggle File System support",
    174174      define => "ENABLE_FILE_SYSTEM", default => isBlackBerry(), value => \$fileSystemSupport },
    175175
    176     { option => "filters", desc => "Toggle SVG Filters support",
     176    { option => "filters", desc => "Toggle Filters support",
    177177      define => "ENABLE_FILTERS", default => (isAppleWebKit() || isGtk() || isQt() || isEfl() || isBlackBerry()), value => \$filtersSupport },
    178178
    179     { option => "ftpdir", desc => "Toggle FTP directory support",
     179    { option => "ftpdir", desc => "Toggle FTP Directory support",
    180180      define => "ENABLE_FTPDIR", default => !isWinCE(), value => \$ftpDirSupport },
    181181
     
    189189      define => "ENABLE_GEOLOCATION", default => (isAppleWebKit() || isGtk() || isBlackBerry()), value => \$geolocationSupport },
    190190
    191     { option => "high-dpi-canvas", desc => "Toggle high-DPI canvas backing store support",
     191    { option => "high-dpi-canvas", desc => "Toggle High DPI Canvas support",
    192192      define => "ENABLE_HIGH_DPI_CANVAS", default => (isAppleWebKit()), value => \$highDPICanvasSupport },
    193193
    194     { option => "icon-database", desc => "Toggle Icon database support",
    195       define => "ENABLE_ICONDATABASE", default => 1, value => \$iconDatabaseSupport },
    196 
    197     { option => "indexed-database", desc => "Toggle Indexed Database API support",
     194    { option => "icon-database", desc => "Toggle Icondatabase support",
     195      define => "ENABLE_ICONDATABASE", default => 1, value => \$icondatabaseSupport },
     196
     197    { option => "indexed-database", desc => "Toggle Indexed Database support",
    198198      define => "ENABLE_INDEXED_DATABASE", default => 0, value => \$indexedDatabaseSupport },
    199199
    200     { option => "input-speech", desc => "Speech Input API support",
     200    { option => "input-speech", desc => "Toggle Input Speech support",
    201201      define => "ENABLE_INPUT_SPEECH", default => 0, value => \$inputSpeechSupport },
    202202
    203     { option => "input-type-color", desc => "Toggle color type <input> support",
     203    { option => "input-type-color", desc => "Toggle Input Type Color support",
    204204      define => "ENABLE_INPUT_TYPE_COLOR", default => (isBlackBerry() || isEfl()), value => \$inputTypeColorSupport },
    205205
    206     { option => "input-type-date", desc => "Toggle date type <input> support",
     206    { option => "input-type-date", desc => "Toggle Input Type Date support",
    207207      define => "ENABLE_INPUT_TYPE_DATE", default => 0, value => \$inputTypeDateSupport },
    208208
    209     { option => "input-type-datetime", desc => "Toggle datetime type <input> support",
     209    { option => "input-type-datetime", desc => "Toggle Input Type Datetime support",
    210210      define => "ENABLE_INPUT_TYPE_DATETIME", default => 0, value => \$inputTypeDatetimeSupport },
    211211
    212     { option => "input-type-datetimelocal", desc => "Toggle datetime-local type <input> support",
     212    { option => "input-type-datetimelocal", desc => "Toggle Input Type Datetimelocal support",
    213213      define => "ENABLE_INPUT_TYPE_DATETIMELOCAL", default => 0, value => \$inputTypeDatetimelocalSupport },
    214214
    215     { option => "input-type-month", desc => "Toggle month type <input> support",
     215    { option => "input-type-month", desc => "Toggle Input Type Month support",
    216216      define => "ENABLE_INPUT_TYPE_MONTH", default => 0, value => \$inputTypeMonthSupport },
    217217
    218     { option => "input-type-time", desc => "Toggle time type <input> support",
     218    { option => "input-type-time", desc => "Toggle Input Type Time support",
    219219      define => "ENABLE_INPUT_TYPE_TIME", default => 0, value => \$inputTypeTimeSupport },
    220220
    221     { option => "input-type-week", desc => "Toggle week type <input> support",
     221    { option => "input-type-week", desc => "Toggle Input Type Week support",
    222222      define => "ENABLE_INPUT_TYPE_WEEK", default => 0, value => \$inputTypeWeekSupport },
    223223
    224     { option => "inspector", desc => "Toggle Web Inspector support",
    225       define => "ENABLE_INSPECTOR", default => !isWinCE(), value => \$webInspectorSupport },
    226 
    227     { option => "javascript-debugger", desc => "Toggle JavaScript Debugger/Profiler support",
     224    { option => "inspector", desc => "Toggle Inspector support",
     225      define => "ENABLE_INSPECTOR", default => !isWinCE(), value => \$inspectorSupport },
     226
     227    { option => "javascript-debugger", desc => "Toggle JavaScript Debugger support",
    228228      define => "ENABLE_JAVASCRIPT_DEBUGGER", default => 1, value => \$javaScriptDebuggerSupport },
    229229
    230     { option => "legacy-notifications", desc => "Toggle Legacy Desktop Notifications Support",
     230    { option => "legacy-notifications", desc => "Toggle Legacy Notifications support",
    231231      define => "ENABLE_LEGACY_NOTIFICATIONS", default => isBlackBerry(), value => \$legacyNotificationsSupport },
    232232
    233     { option => "legacy-webkit-blob-builder", desc => "Toggle Legacy WebKitBlobBuilder Support",
     233    { option => "legacy-webkit-blob-builder", desc => "Toggle Legacy WebKit Blob Builder support",
    234234      define => "ENABLE_LEGACY_WEBKIT_BLOB_BUILDER", default => (isGtk() || isChromium() || isBlackBerry()), value => \$legacyWebKitBlobBuilderSupport },
    235235
    236     { option => "link-prefetch", desc => "Toggle pre fetching support",
     236    { option => "link-prefetch", desc => "Toggle Link Prefetch support",
    237237      define => "ENABLE_LINK_PREFETCH", default => 0, value => \$linkPrefetchSupport },
    238238
    239     { option => "link-prerender", desc => "Toggle pre rendering support",
     239    { option => "link-prerender", desc => "Toggle Link Prerender support",
    240240      define => "ENABLE_LINK_PRERENDER", default => 0, value => \$linkPrerenderSupport },
    241241
     
    249249      define => "ENABLE_MEDIA_STATISTICS", default => 0, value => \$mediaStatisticsSupport },
    250250
    251     { option => "media-stream", desc => "Toggle Media Stream API support (implies Blob support, currently Chromium and GTK only)",
     251    { option => "media-stream", desc => "Toggle Media Stream support",
    252252      define => "ENABLE_MEDIA_STREAM", default => (isChromium() || isGtk()), value => \$mediaStreamSupport },
    253253
    254     { option => "meter-tag", desc => "Meter Tag support",
     254    { option => "meter-tag", desc => "Toggle Meter Tag support",
    255255      define => "ENABLE_METER_TAG", default => !isAppleWinWebKit(), value => \$meterTagSupport },
    256256
     
    261261      define => "ENABLE_MICRODATA", default => 0, value => \$microdataSupport },
    262262
    263     { option => "mutation-observers", desc => "Toggle DOM mutation observer support",
     263    { option => "mutation-observers", desc => "Toggle Mutation Observers support",
    264264      define => "ENABLE_MUTATION_OBSERVERS", default => 1, value => \$mutationObserversSupport },
    265265
    266     { option => "netscape-plugin", desc => "Netscape Plugin support",
     266    { option => "netscape-plugin", desc => "Toggle Netscape Plugin API support",
    267267      define => "ENABLE_NETSCAPE_PLUGIN_API", default => !isEfl(), value => \$netscapePluginSupport },
    268268
    269     { option => "network-info", desc => "Network Information API support",
     269    { option => "network-info", desc => "Toggle Network Information API support",
    270270      define => "ENABLE_NETWORK_INFO", default => isEfl(), value => \$networkInfoSupport },
    271271
    272     { option => "notifications", desc => "Toggle Desktop Notifications Support",
     272    { option => "notifications", desc => "Toggle Notifications Support",
    273273      define => "ENABLE_NOTIFICATIONS", default => isBlackBerry(), value => \$notificationsSupport },
    274274
     
    276276      define => "ENABLE_ORIENTATION_EVENTS", default => isBlackBerry(), value => \$orientationEventsSupport },
    277277
    278     { option => "page-visibility-api", desc => "Page Visibility API support",
    279       define => "ENABLE_PAGE_VISIBILITY_API", default => (isBlackBerry() || isEfl()), value => \$pageVisibilityApiSupport },
    280 
    281     { option => "progress-tag", desc => "Progress Tag support",
     278    { option => "page-visibility-api", desc => "Toggle Page Visibility API support",
     279      define => "ENABLE_PAGE_VISIBILITY_API", default => (isBlackBerry() || isEfl()), value => \$pageVisibilityAPISupport },
     280
     281    { option => "progress-tag", desc => "Toggle Progress Tag support",
    282282      define => "ENABLE_PROGRESS_TAG", default => 1, value => \$progressTagSupport },
    283283
     
    285285      define => "ENABLE_QUOTA", default => 0, value => \$quotaSupport },
    286286
    287     { option => "register-protocol-handler", desc => "Register Protocol Handler support",
     287    { option => "register-protocol-handler", desc => "Toggle Register Protocol Handler support",
    288288      define => "ENABLE_REGISTER_PROTOCOL_HANDLER", default => 0, value => \$registerProtocolHandlerSupport },
    289289
    290     { option => "request-animation-frame", desc => "Toggle requestAnimationFrame support",
     290    { option => "request-animation-frame", desc => "Toggle Request Animation Frame support",
    291291      define => "ENABLE_REQUEST_ANIMATION_FRAME", default => (isAppleMacWebKit() || isGtk() || isEfl() || isBlackBerry()), value => \$requestAnimationFrameSupport },
    292292
    293     { option => "scripted-speech", desc => "Scripted Speech API support",
     293    { option => "scripted-speech", desc => "Toggle Scripted Speech support",
    294294      define => "ENABLE_SCRIPTED_SPEECH", default => 0, value => \$scriptedSpeechSupport },
    295295
    296296    { option => "shadow-dom", desc => "Toggle Shadow DOM support",
    297       define => "ENABLE_SHADOW_DOM", default => isGtk(), value => \$shadowDomSupport },
    298 
    299     { option => "shared-workers", desc => "Toggle SharedWorkers support",
     297      define => "ENABLE_SHADOW_DOM", default => isGtk(), value => \$shadowDOMSupport },
     298
     299    { option => "shared-workers", desc => "Toggle Shared Workers support",
    300300      define => "ENABLE_SHARED_WORKERS", default => (isAppleWebKit() || isGtk() || isBlackBerry() || isEfl()), value => \$sharedWorkersSupport },
    301301
     
    303303      define => "ENABLE_SQL_DATABASE", default => 1, value => \$sqlDatabaseSupport },
    304304
    305     { option => "style-scoped", desc => "Toggle <style scoped> support",
     305    { option => "style-scoped", desc => "Toggle Style Scoped support",
    306306      define => "ENABLE_STYLE_SCOPED", default => 0, value => \$styleScopedSupport },
    307307
     
    309309      define => "ENABLE_SVG", default => 1, value => \$svgSupport },
    310310
    311     { option => "svg-dom-objc-bindings", desc => "Toggle SVG DOM Objective-C bindings support (implies SVG support)",
     311    { option => "svg-dom-objc-bindings", desc => "Toggle SVG DOM ObjC Bindings support",
    312312      define => "ENABLE_SVG_DOM_OBJC_BINDINGS", default => isAppleMacWebKit(), value => \$svgDOMObjCBindingsSupport },
    313313
    314     { option => "svg-fonts", desc => "Toggle SVG fonts support (imples SVG support)",
     314    { option => "svg-fonts", desc => "Toggle SVG Fonts support",
    315315      define => "ENABLE_SVG_FONTS", default => 1, value => \$svgFontsSupport },
    316316
     
    327327      define => "ENABLE_TOUCH_ICON_LOADING", default => 0, value => \$touchIconLoadingSupport },
    328328
    329     { option => "vibration", desc => "Toggle Vibration API support",
     329    { option => "vibration", desc => "Toggle Vibration support",
    330330      define => "ENABLE_VIBRATION", default => (isEfl() || isBlackBerry()), value => \$vibrationSupport },
    331331
     
    345345      define => "ENABLE_WEB_TIMING", default => (isBlackBerry() || isGtk() || isEfl()), value => \$webTimingSupport },
    346346
    347     { option => "workers", desc => "Toggle Web Workers support",
     347    { option => "workers", desc => "Toggle Workers support",
    348348      define => "ENABLE_WORKERS", default => (isAppleWebKit() || isGtk() || isBlackBerry() || isEfl()), value => \$workersSupport },
    349349
Note: See TracChangeset for help on using the changeset viewer.