Ignore:
Timestamp:
Aug 4, 2006, 11:57:40 AM (19 years ago)
Author:
weinig
Message:

JavaScriptCore:

Reviewed by Darin.

  • Adds -Wshorten-64-to-32 flag to Xcode project.
  • Adds explicit casts where OK.
  • API/JSNodeList.c: (JSNodeList_item): (JSNodeList_getProperty):
  • JavaScriptCore.xcodeproj/project.pbxproj:

JavaScriptGlue:

Reviewed by Darin.

  • Adds -Wshorten-64-to-32 flag to Xcode project.
  • JavaScriptGlue.xcodeproj/project.pbxproj:

WebCore:

Reviewed by Darin.

  • Adds -Wshorten-64-to-32 flag to Xcode project.
  • Adds 'f' to float literals where expecting a float.
  • Use cosf() instead of cos() when assigning to a float.
  • WebCore.xcodeproj/project.pbxproj:
  • kcanvas/device/quartz/filters/WKDiffuseLightingFilter.m: (+[WKDiffuseLightingFilter initialize]):
  • kcanvas/device/quartz/filters/WKDiscreteTransferFilter.m: (-[WKDiscreteTransferFilter outputImage]):
  • kcanvas/device/quartz/filters/WKDisplacementMapFilter.m: (+[WKDisplacementMapFilter initialize]):
  • kcanvas/device/quartz/filters/WKSpecularLightingFilter.m: (+[WKSpecularLightingFilter initialize]):
  • kcanvas/device/quartz/filters/WKSpotLightFilter.m: (-[WKSpotLightFilter outputImage]):
  • kcanvas/device/quartz/filters/WKTableTransferFilter.m: (-[WKTableTransferFilter outputImage]):

WebKit:

Reviewed by Darin.

  • Adds 'f' to float literals where expecting a float.
  • Use ceilf() instead of ceil() when assigning to a float.
  • Adds explicit casts where OK.


NOTE: The -Wshorten-64-to-32 flag was not added for WebKit
because there are still a few places where no error handling
is in place. The flag can be added as soon as those are worked
out.

  • Misc/WebNSControlExtras.m: (-[NSControl sizeToFitAndAdjustWindowHeight]):
  • Misc/WebNSImageExtras.m: (-[NSImage _web_scaleToMaxSize:]):
  • Misc/WebNSViewExtras.h:
  • Misc/WebNSViewExtras.m:
  • Plugins/WebBaseNetscapePluginView.m: (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]): (-[WebBaseNetscapePluginView drawRect:]):
  • WebCoreSupport/WebFrameBridge.m: (-[WebFrameBridge expiresTimeForResponse:]):
  • WebInspector/WebInspector.m: (-[NSWindow window]): (-treeViewScrollTo:): (-_updateSystemColors): (-webView:plugInViewWithArguments:): (-outlineView:objectValueForTableColumn:byItem:):
  • WebInspector/WebInspectorOutlineView.m: (-[WebInspectorOutlineView _highlightRow:clipRect:]):
  • WebInspector/WebNodeHighlight.m: (-[WebNodeHighlight initWithBounds:andRects:forView:]):
  • WebInspector/WebNodeHighlightView.m: (-[WebNodeHighlightView roundedRect:withRadius:]): (-[WebNodeHighlightView initWithHighlight:andRects:forView:]): (-[WebNodeHighlightView drawRect:]):
  • WebView/WebFrame.m: (-[WebFrame _opened]):
  • WebView/WebFrameView.m: (-[WebFrameView initWithFrame:]):
  • WebView/WebHTMLView.m: (-[WebHTMLView _dragImageForLinkElement:]): (-[WebHTMLView _web_setPrintingModeRecursive]): (-[WebHTMLView _web_clearPrintingModeRecursive]): (-[NSArray layout]): (-[NSArray _setPrinting:minimumPageWidth:maximumPageWidth:adjustViewSize:]): (-[NSArray adjustPageHeightNew:top:bottom:limit:]): (-[NSArray _scaleFactorForPrintOperation:]): (-[NSArray setPageWidthForPrinting:]): (-[NSArray _endPrintMode]): (-[NSArray knowsPageRange:]): (-[NSArray _originalFontA]): (-[NSArray _originalFontB]): (-[WebTextCompleteController _buildUI]): (-[WebTextCompleteController _placePopupWindow:]):
  • WebView/WebPDFView.m: (-[WebPDFView _makeTextStandardSize:]): (-[WebPDFView selectionImageForcingWhiteText:]): (-[PDFPrefUpdatingProxy forwardInvocation:]):
  • WebView/WebPreferences.m: (-[WebPreferences _floatValueForKey:]):
  • WebView/WebView.m: (-[WebView makeTextSmaller:]): (-[WebView canMakeTextStandardSize]): (-[WebView makeTextStandardSize:]):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj

    r15781 r15799  
    15851585                                        "-Wno-long-double",
    15861586                                        "-Wundef",
     1587                                        "-Wshorten-64-to-32",
    15871588                                );
    15881589                        };
     
    16261627                                        "-Wno-long-double",
    16271628                                        "-Wundef",
     1629                                        "-Wshorten-64-to-32",
    16281630                                );
    16291631                        };
     
    16731675                                        "-Wno-long-double",
    16741676                                        "-Wundef",
     1677                                        "-Wshorten-64-to-32",
    16751678                                );
    16761679                        };
     
    17681771                                        "-Wno-long-double",
    17691772                                        "-Wundef",
     1773                                        "-Wshorten-64-to-32",
    17701774                                );
    17711775                        };
     
    18071811                                        "-Wno-long-double",
    18081812                                        "-Wundef",
     1813                                        "-Wshorten-64-to-32",
    18091814                                );
    18101815                        };
     
    18431848                                        "-Wno-long-double",
    18441849                                        "-Wundef",
     1850                                        "-Wshorten-64-to-32",
    18451851                                );
    18461852                        };
Note: See TracChangeset for help on using the changeset viewer.