Ignore:
Timestamp:
Aug 3, 2006, 2:55:57 PM (19 years ago)
Author:
weinig
Message:

JavaScriptCore:

Reviewed by Darin.

  • Adds -Wundef flag to Xcode project
  • Converts #ifs to #ifdef and #ifndefs where needed.
  • Added #define YYMAXDEPTH 10000 in kjs/grammar.y to fix a warning from within Bison.
  • JavaScriptCore.xcodeproj/project.pbxproj:
  • bindings/jni/jni_jsobject.cpp: (JavaJSObject::getSlot): (JavaJSObject::setSlot):
  • bindings/npapi.h:
  • bindings/objc/objc_class.mm: (KJS::Bindings::ObjcClass::methodsNamed): (KJS::Bindings::ObjcClass::fieldNamed):
  • bindings/objc/objc_instance.mm: (ObjcInstance::invokeMethod):
  • bindings/objc/objc_runtime.mm: (ObjcMethod::getMethodSignature): (ObjcField::name): (ObjcField::type):
  • kjs/grammar.y:
  • kjs/identifier.h:

JavaScriptGlue:

Reviewed by Darin.

  • Adds -Wundef flag to Xcode project
  • JavaScriptGlue.xcodeproj/project.pbxproj:

WebCore:

Reviewed by Darin.

  • Adds -Wundef flag to Xcode project
  • Converts #ifs to #ifdef and #ifndefs where needed.
  • Replaces #ifdef WIN32 with #if PLATFORM(WIN_OS) or PLATFORM(WIN) (and in one instance in config.h with #if !COMPILER(MSVC))
  • Added #define YYMAXDEPTH 10000 in XPathGrammar.y and CSSGrammar.y to fix a warning from within Bison.
  • Cleaned up style a little in surrounding code.
  • WebCore.xcodeproj/project.pbxproj:
  • bridge/mac/WebCoreAXObject.mm: (-[WebCoreAXObject doAXTextMarkerRangeForUnorderedTextMarkers:]):
  • config.h:
  • css/CSSGrammar.y:
  • css/MediaFeatureNames.cpp:
  • css/MediaFeatureNames.h:
  • css/cssparser.cpp:
  • dom/ContainerNode.cpp: (WebCore::ContainerNode::setActive):
  • dom/Element.cpp: (WebCore::Element::attach):
  • dom/Element.h:
  • dom/EventNames.cpp:
  • dom/EventNames.h:
  • dom/NamedAttrMap.h:
  • dom/Position.cpp:
  • dom/QualifiedName.cpp:
  • dom/QualifiedName.h:
  • dom/Range.h:
  • dom/XMLTokenizer.cpp: (WebCore::XMLTokenizer::error):
  • html/HTMLTokenizer.cpp: (WebCore::HTMLTokenizer::scriptHandler): (WebCore::HTMLTokenizer::scriptExecution): (WebCore::HTMLTokenizer::parseTag): (WebCore::HTMLTokenizer::continueProcessing): (WebCore::HTMLTokenizer::write): (WebCore::HTMLTokenizer::timerFired): (WebCore::HTMLTokenizer::notifyFinished):
  • kcanvas/device/quartz/KCanvasFilterQuartz.h:
  • kcanvas/device/quartz/KRenderingDeviceQuartz.h:
  • ksvg2/css/SVGRenderStyle.h:
  • ksvg2/css/SVGRenderStyleDefs.h:
  • ksvg2/scripts/make_names.pl:
  • loader/CachedResource.h:
  • loader/LoaderFunctions.h:
  • loader/loader.h:
  • page/Frame.cpp:
  • page/FrameTree.cpp:
  • page/FrameView.cpp: (WebCore::FrameView::clear): (WebCore::FrameView::layout): (WebCore::FrameView::layoutTimerFired): (WebCore::FrameView::scheduleRelayout): (WebCore::FrameView::unscheduleRelayout):
  • platform/AtomicString.cpp:
  • platform/AtomicString.h:
  • platform/Cursor.h:
  • platform/DeprecatedArray.h:
  • platform/DeprecatedString.cpp: (WebCore::allocateHandle): (WebCore::initializeHandleNodeBlock): (WebCore::freeHandle):
  • platform/FloatPoint.h:
  • platform/FloatRect.h:
  • platform/FloatSize.h:
  • platform/GraphicsContext.h:
  • platform/Image.h:
  • platform/IntPoint.h:
  • platform/IntRect.h: (WebCore::IntRect::inflateX): (WebCore::IntRect::inflateY):
  • platform/IntSize.h:
  • platform/PlatformKeyboardEvent.h:
  • platform/PlatformMouseEvent.h:
  • platform/PlatformString.h:
  • platform/ResourceLoader.h:
  • platform/ResourceLoaderInternal.h: (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
  • platform/ScrollView.h:
  • platform/StaticConstructors.h:
  • platform/StreamingTextDecoderICU.cpp: (WebCore::StreamingTextDecoderICU::convert):
  • platform/StringImpl.h:
  • platform/Widget.h:
  • platform/mac/BlockExceptions.mm:
  • platform/mac/ColorMac.mm: (+[WebCoreControlTintObserver WebCore]):
  • platform/mac/FloatPointMac.mm:
  • platform/mac/FloatRectMac.mm:
  • platform/mac/FloatSizeMac.mm:
  • platform/mac/FontMac.mm:
  • platform/mac/GraphicsContextMac.mm: (WebCore::GraphicsContext::drawFocusRing):
  • platform/mac/IntPointMac.mm:
  • platform/mac/IntRectMac.mm:
  • platform/mac/IntSizeMac.mm:
  • platform/mac/WebCoreSystemInterface.h:
  • rendering/RenderBlock.h:
  • rendering/RenderTableCell.h:
  • rendering/bidi.cpp: (WebCore::appendRun): (WebCore::RenderBlock::layoutInlineChildren):
  • xml/XSLTProcessor.cpp: (WebCore::parseErrorFunc):
  • xpath/impl/XPathGrammar.y:

WebKit:

Reviewed by Darin.

  • Adds -Wundef flag to Xcode project
  • Converts #ifs to #ifdef and #ifndefs where needed.
  • Carbon/CarbonUtils.m:
  • Carbon/CarbonWindowAdapter.m:
  • Carbon/HIViewAdapter.m: (+[NSView bindHIViewToNSView:nsView:]):
  • Carbon/HIWebView.m: (HIWebViewEventHandler):
  • Misc/WebFileDatabase.m: (UniqueFilePathForKey):
  • Misc/WebNSWindowExtras.m: (swizzleInstanceMethod):
  • Misc/WebTypesInternal.h:
  • Plugins/WebNetscapeDeprecatedFunctions.c:
  • Plugins/WebNetscapeDeprecatedFunctions.h:
  • Plugins/WebNetscapePluginPackage.h:
  • Plugins/WebNetscapePluginPackage.m: (-[WebNetscapePluginPackage unloadWithoutShutdown]): (-[WebNetscapePluginPackage load]):
  • WebKit.xcodeproj/project.pbxproj:
File:
1 edited

Legend:

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

    r15696 r15781  
    15841584                                        "-Wno-format-y2k",
    15851585                                        "-Wno-long-double",
     1586                                        "-Wundef",
    15861587                                );
    15871588                        };
     
    16241625                                        "-Wno-format-y2k",
    16251626                                        "-Wno-long-double",
     1627                                        "-Wundef",
    16261628                                );
    16271629                        };
     
    16701672                                        "-Wno-format-y2k",
    16711673                                        "-Wno-long-double",
     1674                                        "-Wundef",
    16721675                                );
    16731676                        };
     
    17641767                                        "-Wno-unused-parameter",
    17651768                                        "-Wno-long-double",
     1769                                        "-Wundef",
    17661770                                );
    17671771                        };
     
    18021806                                        "-Wno-unused-parameter",
    18031807                                        "-Wno-long-double",
     1808                                        "-Wundef",
    18041809                                );
    18051810                        };
     
    18371842                                        "-Wno-unused-parameter",
    18381843                                        "-Wno-long-double",
     1844                                        "-Wundef",
    18391845                                );
    18401846                        };
Note: See TracChangeset for help on using the changeset viewer.