[webkit-changes] cvs commit: WebCore/WebCore.pbproj project.pbxproj
Chris
cpeterse at opensource.apple.com
Fri Jun 17 14:20:29 PDT 2005
cpeterse 05/06/17 14:20:29
Modified: . Tag: gcc-4-0-branch ChangeLog
WebCore.pbproj Tag: gcc-4-0-branch project.pbxproj
Log:
Rolled in changes to compile with gcc 4.0 from TOT.
2005-05-16 Darin Adler <darin at apple.com>
Reviewed by Adele.
- fixed issues preventing us from compiling with newer versions of gcc 4.0
* khtml/dom/dom2_events.cpp: Add definitions of some static data member constants, as required
by the C++ standard and the gcc 4.0 compiler.
* khtml/editing/selection.h: Specified KHTMLPart friend class as ::KHTMLPart, since if it's
not explicitly qualified, it means DOM::KHTMLPart.
* khtml/dom/dom_string.cpp:
(DOM::strcasecmp): Removed redundant and illegal DOM:: prefix.
(DOM::operator==): Ditto.
* khtml/ecma/kjs_binding.cpp:
(KJS::getStringOrNull): Removed redundant and illegal KJS:: prefix.
(KJS::ValueToVariant): Ditto.
* khtml/ecma/kjs_css.cpp:
(KJS::getCSSRuleConstructor): Ditto.
(KJS::getCSSValueConstructor): Ditto.
(KJS::getCSSPrimitiveValueConstructor): Ditto.
* khtml/ecma/kjs_events.cpp:
(KJS::getEventConstructor): Ditto.
(KJS::getEventExceptionConstructor): Ditto.
(KJS::getMutationEventConstructor): Ditto.
* khtml/ecma/kjs_traversal.cpp:
(KJS::getNodeFilterConstructor): Ditto.
* khtml/misc/loader_client.h: Added an empty virtual destructor to CachedObjectClient
to quiet the compiler. This doesn't really do any good, but also does no harm.
* khtml/misc/loader.cpp: (CachedObjectClient::~CachedObjectClient): Added.
* khtml/rendering/render_block.cpp: (khtml::RenderBlock::fillBlockSelectionGaps):
Initialize a couple of variables that should have been initialized to 0.
Not just about making the compiler happy -- warning found a real bug!
* kwq/KWQTextArea.mm: (RangeOfParagraph): Change else structure to work around compiler
warning bug.
2005-04-28 Darin Adler <darin at apple.com>
Reviewed by Dave Harrison.
- fixed problems preventing us from compiling with gcc 4.0
* WebCore.pbproj/project.pbxproj: Removed -fobjc-exceptions because I can't figure out an easy
way to pass it only when compiling Objective-C/C++. Removed -Wmissing-prototypes from
WARNING_CPLUSPLUSFLAGS since it's now a C-only warning.
* khtml/css/parser.y: Changed some rules that were using a float to pass around an enum to use an
int instead to avoid a warning.
* khtml/css/parser.cpp: Regenerated.
* khtml/css/parser.h: Regenerated.
* khtml/ecma/kjs_dom.cpp: (DOMTextProtoFunc::tryCall): Rearranged a return statement to avoid an incorrect
warning.
* khtml/ecma/kjs_html.cpp: (KJS::Context2DFunction::tryCall): Initialized a couple of variables to avoid
an incorrect warning.
* khtml/ecma/kjs_proxy.cpp: (KJSProxyImpl::evaluate): Rearranged how we exit from the function to avoid
an incorret warning.
* khtml/editing/selection.cpp: (khtml::Selection::debugPosition): Changed some %d to %ld where the
parameters where long ints.
* khtml/editing/visible_position.cpp: (khtml::VisiblePosition::debugPosition): Ditto.
* khtml/xml/dom_position.cpp: (DOM::Position::debugPosition): Ditto.
* kwq/DOMEvents.mm: (-[DOMMouseEvent initMouseEvent:::::::::::::::]): Rearranged code to avoid a cast
that was causing an incorrect warning.
* kwq/DOMUtility.mm:
(createObjCDOMNode): Broke out as a separate function.
(KJS::ScriptInterpreter::createObjcInstanceForValue): Rearranged code to avoid a namespace collision with
KJS::DOMNode and the Objective-C DOMNode class.
* kwq/KWQFileButton.mm: Made fields of KWQFileButtonAdapter public to avoid an error, new to gcc 4.0,
about accessing protected Objective-C fields.
* kwq/KWQKHTMLPart.mm:
(KWQKHTMLPart::matchLabelsAgainstElement): Rearranged a return statement to avoid an incorrect warning.
(KWQKHTMLPart::imageFromRect): Rearranged how this function does its exception handling to avoid a
"may be clobbered" warning.
* kwq/KWQKJavaAppletWidget.mm: Fixed incorrect import that said "KHTMLView.h" instead of "khtmlview.h".
* kwq/KWQObject.mm: Made fields of KWQObjectTimerTarget public to avoid an error, new to gcc 4.0,
about accessing protected Objective-C fields.
* kwq/WebCoreBridge.mm: (partHasSelection): Used [bridge part] instead of getting directly at instance
variable to avoid an error, new to gcc 4.0, about accessing protected Objective-C fields.
* WebCore-combined.exp: Regenerated.
* WebCore-tests.exp: Added some additional symbols needed by the tests under gcc 4.0.
Revision Changes Path
No revision
No revision
1.4106.2.2 +2 -0 WebCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebCore/ChangeLog,v
retrieving revision 1.4106.2.1
retrieving revision 1.4106.2.2
diff -u -r1.4106.2.1 -r1.4106.2.2
--- ChangeLog 25 May 2005 00:06:23 -0000 1.4106.2.1
+++ ChangeLog 17 Jun 2005 21:20:20 -0000 1.4106.2.2
@@ -1,3 +1,5 @@
+=== Safari-412.01 ===
+
2005-05-24 Darin Adler <darin at apple.com>
Rolled in changes to compile with gcc 4.0 from TOT.
No revision
No revision
1.527.2.2 +3 -3 WebCore/WebCore.pbproj/project.pbxproj
Index: project.pbxproj
===================================================================
RCS file: /cvs/root/WebCore/WebCore.pbproj/project.pbxproj,v
retrieving revision 1.527.2.1
retrieving revision 1.527.2.2
diff -u -r1.527.2.1 -r1.527.2.2
--- project.pbxproj 25 May 2005 00:06:26 -0000 1.527.2.1
+++ project.pbxproj 17 Jun 2005 21:20:27 -0000 1.527.2.2
@@ -176,7 +176,7 @@
<key>CFBundleExecutable</key>
<string>WebCore</string>
<key>CFBundleGetInfoString</key>
- <string>413, Copyright 2005 Apple Computer, Inc.; Copyright 1997 Martin Jones <mjones at kde.org>; Copyright 1998, 1999 Torben Weis <weis at kde.org>; Copyright 1998, 1999, 2002 Waldo Bastian <bastian at kde.org>; Copyright 1998-2000 Lars Knoll <knoll at kde.org>; Copyright 1999, 2001 Antti Koivisto <koivisto at kde.org>; Copyright 1999-2001 Harri Porten <porten at kde.org>; Copyright 2000 Simon Hausmann <hausmann at kde.org>; Copyright 2000, 2001 Dirk Mueller <mueller at kde.org>; Copyright 2000, 2001 Peter Kelly <pmk at post.com>; Copyright 2000 Daniel Molkentin <molkentin at kde.org>; Copyright 2000 Stefan Schimanski <schimmi at kde.org>; Copyright 1998-2000 Netscape Communications Corporation; Copyright 1998, 1999, 2000 Thai Open Source Software Center Ltd and Clark Cooper; Copyright 2001, 2002 Expat maintainers.</string>
+ <string>412.01, Copyright 2005 Apple Computer, Inc.; Copyright 1997 Martin Jones <mjones at kde.org>; Copyright 1998, 1999 Torben Weis <weis at kde.org>; Copyright 1998, 1999, 2002 Waldo Bastian <bastian at kde.org>; Copyright 1998-2000 Lars Knoll <knoll at kde.org>; Copyright 1999, 2001 Antti Koivisto <koivisto at kde.org>; Copyright 1999-2001 Harri Porten <porten at kde.org>; Copyright 2000 Simon Hausmann <hausmann at kde.org>; Copyright 2000, 2001 Dirk Mueller <mueller at kde.org>; Copyright 2000, 2001 Peter Kelly <pmk at post.com>; Copyright 2000 Daniel Molkentin <molkentin at kde.org>; Copyright 2000 Stefan Schimanski <schimmi at kde.org>; Copyright 1998-2000 Netscape Communications Corporation; Copyright 1998, 1999, 2000 Thai Open Source Software Center Ltd and Clark Cooper; Copyright 2001, 2002 Expat maintainers.</string>
<key>CFBundleIdentifier</key>
<string>com.apple.WebCore</string>
<key>CFBundleInfoDictionaryVersion</key>
@@ -186,9 +186,9 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
- <string>413</string>
+ <string>412.01</string>
<key>CFBundleVersion</key>
- <string>413</string>
+ <string>412.01</string>
</dict>
</plist>
";
More information about the webkit-changes
mailing list