2008-11-06 David Kilzer <ddkilzer@apple.com>
+ BUILD WAS NOT BROKEN: Rolling r38189 back in.
+
+ Please perform a clean build if you see crashes.
+
+2008-11-06 David Kilzer <ddkilzer@apple.com>
+
BUILD FIX: Backed out r38189 since it apparently broke the world.
2008-11-06 Chris Fleizach <cfleizach@apple.com>
GCController& gcController()
{
- static GCController staticGCController;
+ static GCController& staticGCController = *new GCController;
return staticGCController;
}
static HashSet<DOMObject*>& wrapperSet()
{
#if ENABLE(WORKERS)
- static ThreadSpecific<HashSet<DOMObject*> > staticWrapperSet;
+ static ThreadSpecific<HashSet<DOMObject*> >& staticWrapperSet = *new ThreadSpecific<HashSet<DOMObject*> >;
return *staticWrapperSet;
#else
- static HashSet<DOMObject*> staticWrapperSet;
+ static HashSet<DOMObject*>& staticWrapperSet = *new HashSet<DOMObject*>;
return staticWrapperSet;
#endif
}
static GlobalObjectWrapperMap& wrappers()
{
- static GlobalObjectWrapperMap map;
+ static GlobalObjectWrapperMap& map = *new GlobalObjectWrapperMap;
return map;
}
static WrapperMap& wrappers()
{
- static WrapperMap map;
+ static WrapperMap& map = *new WrapperMap;
return map;
}
static RootObjectSet* rootObjectSet()
{
- static RootObjectSet staticRootObjectSet;
+ static RootObjectSet& staticRootObjectSet = *new RootObjectSet;
return &staticRootObjectSet;
}
{
ec = 0;
- static HashMap<int, PropertyLonghand> shorthandMap;
+ static HashMap<int, PropertyLonghand>& shorthandMap = *new HashMap<int, PropertyLonghand>;
if (shorthandMap.isEmpty())
initShorthandMap(shorthandMap);
// FIXME: Add list-style and separator
break;
case CSS_RECT: {
- static const String rectParen("rect(");
+ static const String& rectParen = *new String("rect(");
Rect* rectVal = getRectValue();
Vector<UChar> result;
}
case CSS_RGBCOLOR:
case CSS_PARSER_HEXCOLOR: {
- static const String commaSpace(", ");
- static const String rgbParen("rgb(");
- static const String rgbaParen("rgba(");
+ static const String& commaSpace = *new String(", ");
+ static const String& rgbParen = *new String("rgb(");
+ static const String& rgbaParen = *new String("rgba(");
RGBA32 rgbColor = m_value.rgbcolor;
if (m_type == CSS_PARSER_HEXCOLOR)
if (m_match != PseudoClass && m_match != PseudoElement)
return;
- static AtomicString active("active");
- static AtomicString after("after");
- static AtomicString anyLink("-webkit-any-link");
- static AtomicString autofill("-webkit-autofill");
- static AtomicString before("before");
- static AtomicString checked("checked");
- static AtomicString fileUploadButton("-webkit-file-upload-button");
- static AtomicString disabled("disabled");
- static AtomicString readOnly("read-only");
- static AtomicString readWrite("read-write");
- static AtomicString drag("-webkit-drag");
- static AtomicString dragAlias("-khtml-drag"); // was documented with this name in Apple documentation, so keep an alias
- static AtomicString empty("empty");
- static AtomicString enabled("enabled");
- static AtomicString firstChild("first-child");
- static AtomicString firstLetter("first-letter");
- static AtomicString firstLine("first-line");
- static AtomicString firstOfType("first-of-type");
- static AtomicString fullPageMedia("-webkit-full-page-media");
- static AtomicString nthChild("nth-child(");
- static AtomicString nthOfType("nth-of-type(");
- static AtomicString nthLastChild("nth-last-child(");
- static AtomicString nthLastOfType("nth-last-of-type(");
- static AtomicString focus("focus");
- static AtomicString hover("hover");
- static AtomicString indeterminate("indeterminate");
- static AtomicString inputPlaceholder("-webkit-input-placeholder");
- static AtomicString lastChild("last-child");
- static AtomicString lastOfType("last-of-type");
- static AtomicString link("link");
- static AtomicString lang("lang(");
- static AtomicString mediaControlsPanel("-webkit-media-controls-panel");
- static AtomicString mediaControlsMuteButton("-webkit-media-controls-mute-button");
- static AtomicString mediaControlsPlayButton("-webkit-media-controls-play-button");
- static AtomicString mediaControlsTimeDisplay("-webkit-media-controls-time-display");
- static AtomicString mediaControlsTimeline("-webkit-media-controls-timeline");
- static AtomicString mediaControlsSeekBackButton("-webkit-media-controls-seek-back-button");
- static AtomicString mediaControlsSeekForwardButton("-webkit-media-controls-seek-forward-button");
- static AtomicString mediaControlsFullscreenButton("-webkit-media-controls-fullscreen-button");
- static AtomicString notStr("not(");
- static AtomicString onlyChild("only-child");
- static AtomicString onlyOfType("only-of-type");
- static AtomicString resizer("-webkit-resizer");
- static AtomicString root("root");
- static AtomicString scrollbar("-webkit-scrollbar");
- static AtomicString scrollbarButton("-webkit-scrollbar-button");
- static AtomicString scrollbarCorner("-webkit-scrollbar-corner");
- static AtomicString scrollbarThumb("-webkit-scrollbar-thumb");
- static AtomicString scrollbarTrack("-webkit-scrollbar-track");
- static AtomicString scrollbarTrackPiece("-webkit-scrollbar-track-piece");
- static AtomicString searchCancelButton("-webkit-search-cancel-button");
- static AtomicString searchDecoration("-webkit-search-decoration");
- static AtomicString searchResultsDecoration("-webkit-search-results-decoration");
- static AtomicString searchResultsButton("-webkit-search-results-button");
- static AtomicString selection("selection");
- static AtomicString sliderThumb("-webkit-slider-thumb");
- static AtomicString target("target");
- static AtomicString visited("visited");
- static AtomicString windowInactive("window-inactive");
- static AtomicString decrement("decrement");
- static AtomicString increment("increment");
- static AtomicString start("start");
- static AtomicString end("end");
- static AtomicString horizontal("horizontal");
- static AtomicString vertical("vertical");
- static AtomicString doubleButton("double-button");
- static AtomicString singleButton("single-button");
- static AtomicString noButton("no-button");
- static AtomicString cornerPresent("corner-present");
+ static AtomicString& active = *new AtomicString("active");
+ static AtomicString& after = *new AtomicString("after");
+ static AtomicString& anyLink = *new AtomicString("-webkit-any-link");
+ static AtomicString& autofill = *new AtomicString("-webkit-autofill");
+ static AtomicString& before = *new AtomicString("before");
+ static AtomicString& checked = *new AtomicString("checked");
+ static AtomicString& fileUploadButton = *new AtomicString("-webkit-file-upload-button");
+ static AtomicString& disabled = *new AtomicString("disabled");
+ static AtomicString& readOnly = *new AtomicString("read-only");
+ static AtomicString& readWrite = *new AtomicString("read-write");
+ static AtomicString& drag = *new AtomicString("-webkit-drag");
+ static AtomicString& dragAlias = *new AtomicString("-khtml-drag"); // was documented with this name in Apple documentation, so keep an alias
+ static AtomicString& empty = *new AtomicString("empty");
+ static AtomicString& enabled = *new AtomicString("enabled");
+ static AtomicString& firstChild = *new AtomicString("first-child");
+ static AtomicString& firstLetter = *new AtomicString("first-letter");
+ static AtomicString& firstLine = *new AtomicString("first-line");
+ static AtomicString& firstOfType = *new AtomicString("first-of-type");
+ static AtomicString& fullPageMedia = *new AtomicString("-webkit-full-page-media");
+ static AtomicString& nthChild = *new AtomicString("nth-child(");
+ static AtomicString& nthOfType = *new AtomicString("nth-of-type(");
+ static AtomicString& nthLastChild = *new AtomicString("nth-last-child(");
+ static AtomicString& nthLastOfType = *new AtomicString("nth-last-of-type(");
+ static AtomicString& focus = *new AtomicString("focus");
+ static AtomicString& hover = *new AtomicString("hover");
+ static AtomicString& indeterminate = *new AtomicString("indeterminate");
+ static AtomicString& inputPlaceholder = *new AtomicString("-webkit-input-placeholder");
+ static AtomicString& lastChild = *new AtomicString("last-child");
+ static AtomicString& lastOfType = *new AtomicString("last-of-type");
+ static AtomicString& link = *new AtomicString("link");
+ static AtomicString& lang = *new AtomicString("lang(");
+ static AtomicString& mediaControlsPanel = *new AtomicString("-webkit-media-controls-panel");
+ static AtomicString& mediaControlsMuteButton = *new AtomicString("-webkit-media-controls-mute-button");
+ static AtomicString& mediaControlsPlayButton = *new AtomicString("-webkit-media-controls-play-button");
+ static AtomicString& mediaControlsTimeDisplay = *new AtomicString("-webkit-media-controls-time-display");
+ static AtomicString& mediaControlsTimeline = *new AtomicString("-webkit-media-controls-timeline");
+ static AtomicString& mediaControlsSeekBackButton = *new AtomicString("-webkit-media-controls-seek-back-button");
+ static AtomicString& mediaControlsSeekForwardButton = *new AtomicString("-webkit-media-controls-seek-forward-button");
+ static AtomicString& mediaControlsFullscreenButton = *new AtomicString("-webkit-media-controls-fullscreen-button");
+ static AtomicString& notStr = *new AtomicString("not(");
+ static AtomicString& onlyChild = *new AtomicString("only-child");
+ static AtomicString& onlyOfType = *new AtomicString("only-of-type");
+ static AtomicString& resizer = *new AtomicString("-webkit-resizer");
+ static AtomicString& root = *new AtomicString("root");
+ static AtomicString& scrollbar = *new AtomicString("-webkit-scrollbar");
+ static AtomicString& scrollbarButton = *new AtomicString("-webkit-scrollbar-button");
+ static AtomicString& scrollbarCorner = *new AtomicString("-webkit-scrollbar-corner");
+ static AtomicString& scrollbarThumb = *new AtomicString("-webkit-scrollbar-thumb");
+ static AtomicString& scrollbarTrack = *new AtomicString("-webkit-scrollbar-track");
+ static AtomicString& scrollbarTrackPiece = *new AtomicString("-webkit-scrollbar-track-piece");
+ static AtomicString& searchCancelButton = *new AtomicString("-webkit-search-cancel-button");
+ static AtomicString& searchDecoration = *new AtomicString("-webkit-search-decoration");
+ static AtomicString& searchResultsDecoration = *new AtomicString("-webkit-search-results-decoration");
+ static AtomicString& searchResultsButton = *new AtomicString("-webkit-search-results-button");
+ static AtomicString& selection = *new AtomicString("selection");
+ static AtomicString& sliderThumb = *new AtomicString("-webkit-slider-thumb");
+ static AtomicString& target = *new AtomicString("target");
+ static AtomicString& visited = *new AtomicString("visited");
+ static AtomicString& windowInactive = *new AtomicString("window-inactive");
+ static AtomicString& decrement = *new AtomicString("decrement");
+ static AtomicString& increment = *new AtomicString("increment");
+ static AtomicString& start = *new AtomicString("start");
+ static AtomicString& end = *new AtomicString("end");
+ static AtomicString& horizontal = *new AtomicString("horizontal");
+ static AtomicString& vertical = *new AtomicString("vertical");
+ static AtomicString& doubleButton = *new AtomicString("double-button");
+ static AtomicString& singleButton = *new AtomicString("single-button");
+ static AtomicString& noButton = *new AtomicString("no-button");
+ static AtomicString& cornerPresent = *new AtomicString("corner-present");
bool element = false; // pseudo-element
bool compat = false; // single colon compatbility mode
static const MediaQueryEvaluator& screenEval()
{
- static const MediaQueryEvaluator staticScreenEval("screen");
+ static const MediaQueryEvaluator& staticScreenEval = *new MediaQueryEvaluator("screen");
return staticScreenEval;
}
static const MediaQueryEvaluator& printEval()
{
- static const MediaQueryEvaluator staticPrintEval("print");
+ static const MediaQueryEvaluator& staticPrintEval = *new MediaQueryEvaluator("print");
return staticPrintEval;
}
static bool isSVG10Feature(const String &feature)
{
static bool initialized = false;
- static HashSet<String, CaseFoldingHash> svgFeatures;
+ static HashSet<String, CaseFoldingHash>& svgFeatures = *new HashSet<String, CaseFoldingHash>;
if (!initialized) {
#if ENABLE(SVG_USE) && ENABLE(SVG_FOREIGN_OBJECT) && ENABLE(SVG_FILTER) && ENABLE(SVG_FONTS)
addString(svgFeatures, "svg");
static bool isSVG11Feature(const String &feature)
{
static bool initialized = false;
- static HashSet<String, CaseFoldingHash> svgFeatures;
+ static HashSet<String, CaseFoldingHash>& svgFeatures = *new HashSet<String, CaseFoldingHash>;
if (!initialized) {
// Sadly, we cannot claim to implement any of the SVG 1.1 generic feature sets
// lack of Font and Filter support.
if (mimeType == "text/xml" || mimeType == "application/xml" || mimeType == "text/xsl")
return true;
static const char* validChars = "[0-9a-zA-Z_\\-+~!$\\^{}|.%'`#&*]"; // per RFCs: 3023, 2045
- static RegularExpression xmlTypeRegExp(String("^") + validChars + "+/" + validChars + "+\\+xml$");
+ static RegularExpression& xmlTypeRegExp = *new RegularExpression(String("^") + validChars + "+/" + validChars + "+\\+xml$");
return xmlTypeRegExp.match(mimeType) > -1;
}
bool Document::hasPrefixNamespaceMismatch(const QualifiedName& qName)
{
- static const AtomicString xmlnsNamespaceURI("http://www.w3.org/2000/xmlns/");
- static const AtomicString xmlns("xmlns");
- static const AtomicString xml("xml");
+ static const AtomicString& xmlnsNamespaceURI = *new AtomicString("http://www.w3.org/2000/xmlns/");
+ static const AtomicString& xmlns = *new AtomicString("xmlns");
+ static const AtomicString& xml = *new AtomicString("xml");
// These checks are from DOM Core Level 2, createElementNS
// http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-DocCrElNS
// Helper function
static bool isSupportedJavaScriptLanguage(const String& language)
{
- static HashSet<String, CaseFoldingHash> languages;
+ static HashSet<String, CaseFoldingHash>& languages = *new HashSet<String, CaseFoldingHash>;
if (languages.isEmpty()) {
languages.add("javascript");
languages.add("javascript");
static String &styleSpanClassString()
{
- static String styleSpanClassString = AppleStyleSpanClass;
+ static String& styleSpanClassString = *new String(AppleStyleSpanClass);
return styleSpanClassString;
}
String convertedSpaceString()
{
- static String convertedSpaceString;
+ static String& convertedSpaceString = *new String;
if (convertedSpaceString.isNull()) {
convertedSpaceString = "<span class=\"";
convertedSpaceString += AppleConvertedSpace;
static String indentBlockquoteString()
{
- static String string = "webkit-indent-blockquote";
+ static String& string = *new String("webkit-indent-blockquote");
return string;
}
static bool isInterchangeNewlineNode(const Node *node)
{
- static String interchangeNewlineClassString(AppleInterchangeNewline);
+ static String& interchangeNewlineClassString = *new String(AppleInterchangeNewline);
return node && node->hasTagName(brTag) &&
static_cast<const Element *>(node)->getAttribute(classAttr) == interchangeNewlineClassString;
}
static bool isInterchangeConvertedSpaceSpan(const Node *node)
{
- static String convertedSpaceSpanClassString(AppleConvertedSpace);
+ static String& convertedSpaceSpanClassString = *new String(AppleConvertedSpace);
return node->isHTMLElement() &&
static_cast<const HTMLElement *>(node)->getAttribute(classAttr) == convertedSpaceSpanClassString;
}
String stringWithRebalancedWhitespace(const String& string, bool startIsStartOfParagraph, bool endIsEndOfParagraph)
{
- static String twoSpaces(" ");
- static String nbsp("\xa0");
- static String pattern(" \xa0");
+ static String& twoSpaces = *new String(" ");
+ static String& nbsp = *new String("\xa0");
+ static String& pattern = *new String(" \xa0");
String rebalancedString = string;
const String& nonBreakingSpaceString()
{
- static String nonBreakingSpaceString = String(&noBreakSpace, 1);
+ static String& nonBreakingSpaceString = *new String(&noBreakSpace, 1);
return nonBreakingSpaceString;
}
unsigned len = attr.length();
unsigned lastCopiedFrom = 0;
- static const String ampEntity("&");
- static const String gtEntity(">");
- static const String ltEntity("<");
- static const String quotEntity(""");
- static const String nbspEntity(" ");
+ static const String& ampEntity = *new String("&");
+ static const String& gtEntity = *new String(">");
+ static const String& ltEntity = *new String("<");
+ static const String& quotEntity = *new String(""");
+ static const String& nbspEntity = *new String(" ");
for (unsigned i = 0; i < len; ++i) {
UChar c = uchars[i];
unsigned len = range.second;
unsigned lastCopiedFrom = 0;
- static const String ampEntity("&");
- static const String gtEntity(">");
- static const String ltEntity("<");
- static const String nbspEntity(" ");
+ static const String& ampEntity = *new String("&");
+ static const String& gtEntity = *new String(">");
+ static const String& ltEntity = *new String("<");
+ static const String& nbspEntity = *new String(" ");
for (unsigned i = 0; i < len; ++i) {
UChar c = uchars[i];
static bool shouldAddNamespaceAttr(const Attribute* attr, HashMap<AtomicStringImpl*, AtomicStringImpl*>& namespaces)
{
// Don't add namespace attributes twice
- static const AtomicString xmlnsURI = "http://www.w3.org/2000/xmlns/";
- static const QualifiedName xmlnsAttr(nullAtom, "xmlns", xmlnsURI);
+ static const AtomicString& xmlnsURI = *new AtomicString("http://www.w3.org/2000/xmlns/");
+ static const QualifiedName& xmlnsAttr = *new QualifiedName(nullAtom, "xmlns", xmlnsURI);
if (attr->name() == xmlnsAttr) {
namespaces.set(emptyAtom.impl(), attr->value().impl());
return false;
AtomicStringImpl* foundNS = namespaces.get(pre);
if (foundNS != ns.impl()) {
namespaces.set(pre, ns.impl());
- static const String xmlns("xmlns");
+ static const String& xmlns = *new String("xmlns");
result.append(' ');
append(result, xmlns);
if (!prefix.isEmpty()) {
if (convert)
style->setProperty(CSSPropertyDisplay, CSSValueInline, true);
if (style->length() > 0) {
- static const String stylePrefix(" style=\"");
+ static const String& stylePrefix = *new String(" style=\"");
append(result, stylePrefix);
appendAttributeValue(result, style->cssText(), documentIsHTML);
result.append('\"');
// FIXME: At least, annotation and style info should probably not be included in range.markupString()
String createMarkup(const Range* range, Vector<Node*>* nodes, EAnnotateForInterchange annotate, bool convertBlocksToInlines)
{
- static const String interchangeNewlineString = String("<br class=\"") + AppleInterchangeNewline + "\">";
+ static const String& interchangeNewlineString = *new String("<br class=\"" AppleInterchangeNewline "\">");
if (!range)
return "";
if (style->length()) {
Vector<UChar> openTag;
- static const String divStyle("<div style=\"");
+ static const String& divStyle = *new String("<div style=\"");
append(openTag, divStyle);
appendAttributeValue(openTag, style->cssText(), documentIsHTML);
openTag.append('\"');
openTag.append('>');
preMarkups.append(String::adopt(openTag));
- static const String divCloseTag("</div>");
+ static const String& divCloseTag = *new String("</div>");
markups.append(divCloseTag);
}
} else {
}
}
- static const String styleSpanOpen = String("<span class=\"" AppleStyleSpanClass "\" style=\"");
- static const String styleSpanClose("</span>");
+ static const String& styleSpanOpen = *new String("<span class=\"" AppleStyleSpanClass "\" style=\"");
+ static const String& styleSpanClose = *new String("</span>");
// Add a wrapper span with the styles that all of the nodes in the markup inherit.
Node* parentOfLastClosed = lastClosed ? lastClosed->parentNode() : 0;
{
switch (m_type) {
case SUBMIT: {
- static const AtomicString submit("submit");
+ static const AtomicString& submit = *new AtomicString("submit");
return submit;
}
case BUTTON: {
- static const AtomicString button("button");
+ static const AtomicString& button = *new AtomicString("button");
return button;
}
case RESET: {
- static const AtomicString reset("reset");
+ static const AtomicString& reset = *new AtomicString("reset");
return reset;
}
}
// This unfortunate function is only needed when checking against the DTD. Other languages (like SVG) won't need this.
bool HTMLElement::isRecognizedTagName(const QualifiedName& tagName)
{
- static HashSet<AtomicStringImpl*> tagList;
+ static HashSet<AtomicStringImpl*>& tagList = *new HashSet<AtomicStringImpl*>;
if (tagList.isEmpty()) {
size_t tagCount = 0;
WebCore::QualifiedName** tags = HTMLNames::getHTMLTags(&tagCount);
// need to be in these two lists.
HashSet<AtomicStringImpl*>* inlineTagList()
{
- static HashSet<AtomicStringImpl*> tagList;
+ static HashSet<AtomicStringImpl*>& tagList = *new HashSet<AtomicStringImpl*>;
if (tagList.isEmpty()) {
tagList.add(ttTag.localName().impl());
tagList.add(iTag.localName().impl());
HashSet<AtomicStringImpl*>* blockTagList()
{
- static HashSet<AtomicStringImpl*> tagList;
+ static HashSet<AtomicStringImpl*>& tagList = *new HashSet<AtomicStringImpl*>;
if (tagList.isEmpty()) {
tagList.add(addressTag.localName().impl());
tagList.add(blockquoteTag.localName().impl());
const AtomicString& HTMLFieldSetElement::type() const
{
- static const AtomicString fieldset("fieldset");
+ static const AtomicString& fieldset = *new AtomicString("fieldset");
return fieldset;
}
// needs to be lowercase according to DOM spec
switch (inputType()) {
case BUTTON: {
- static const AtomicString button("button");
+ static const AtomicString& button = *new AtomicString("button");
return button;
}
case CHECKBOX: {
- static const AtomicString checkbox("checkbox");
+ static const AtomicString& checkbox = *new AtomicString("checkbox");
return checkbox;
}
case FILE: {
- static const AtomicString file("file");
+ static const AtomicString& file = *new AtomicString("file");
return file;
}
case HIDDEN: {
- static const AtomicString hidden("hidden");
+ static const AtomicString& hidden = *new AtomicString("hidden");
return hidden;
}
case IMAGE: {
- static const AtomicString image("image");
+ static const AtomicString& image = *new AtomicString("image");
return image;
}
case ISINDEX:
return emptyAtom;
case PASSWORD: {
- static const AtomicString password("password");
+ static const AtomicString& password = *new AtomicString("password");
return password;
}
case RADIO: {
- static const AtomicString radio("radio");
+ static const AtomicString& radio = *new AtomicString("radio");
return radio;
}
case RANGE: {
- static const AtomicString range("range");
+ static const AtomicString& range = *new AtomicString("range");
return range;
}
case RESET: {
- static const AtomicString reset("reset");
+ static const AtomicString& reset = *new AtomicString("reset");
return reset;
}
case SEARCH: {
- static const AtomicString search("search");
+ static const AtomicString& search = *new AtomicString("search");
return search;
}
case SUBMIT: {
- static const AtomicString submit("submit");
+ static const AtomicString& submit = *new AtomicString("submit");
return submit;
}
case TEXT: {
- static const AtomicString text("text");
+ static const AtomicString& text = *new AtomicString("text");
return text;
}
}
const AtomicString& HTMLKeygenElement::type() const
{
- static const AtomicString keygen("keygen");
+ static const AtomicString& keygen = *new AtomicString("keygen");
return keygen;
}
const AtomicString& HTMLLegendElement::type() const
{
- static const AtomicString legend("legend");
+ static const AtomicString& legend = *new AtomicString("legend");
return legend;
}
const AtomicString& HTMLOptGroupElement::type() const
{
- static const AtomicString optgroup("optgroup");
+ static const AtomicString& optgroup = *new AtomicString("optgroup");
return optgroup;
}
const AtomicString& HTMLOptionElement::type() const
{
- static const AtomicString option("option");
+ static const AtomicString& option = *new AtomicString("option");
return option;
}
PassRefPtr<Node> HTMLParser::getNode(Token* t)
{
// Init our error handling table.
- static FunctionMap gFunctionMap;
+ static FunctionMap& gFunctionMap = *new FunctionMap;
if (gFunctionMap.isEmpty()) {
gFunctionMap.set(aTag.localName().impl(), &HTMLParser::nestedCreateErrorCheck);
gFunctionMap.set(addressTag.localName().impl(), &HTMLParser::pCloserCreateErrorCheck);
bool HTMLParser::isHeaderTag(const AtomicString& tagName)
{
- static HashSet<AtomicStringImpl*> headerTags;
+ static HashSet<AtomicStringImpl*>& headerTags = *new HashSet<AtomicStringImpl*>;
if (headerTags.isEmpty()) {
headerTags.add(h1Tag.localName().impl());
headerTags.add(h2Tag.localName().impl());
bool HTMLParser::isResidualStyleTag(const AtomicString& tagName)
{
- static HashSet<AtomicStringImpl*> residualStyleTags;
+ static HashSet<AtomicStringImpl*>& residualStyleTags = *new HashSet<AtomicStringImpl*>;
if (residualStyleTags.isEmpty()) {
residualStyleTags.add(aTag.localName().impl());
residualStyleTags.add(fontTag.localName().impl());
bool HTMLParser::isAffectedByResidualStyle(const AtomicString& tagName)
{
- static HashSet<AtomicStringImpl*> unaffectedTags;
+ static HashSet<AtomicStringImpl*>& unaffectedTags = *new HashSet<AtomicStringImpl*>;
if (unaffectedTags.isEmpty()) {
unaffectedTags.add(bodyTag.localName().impl());
unaffectedTags.add(tableTag.localName().impl());
const AtomicString& HTMLSelectElement::type() const
{
- static const AtomicString selectMultiple("select-multiple");
- static const AtomicString selectOne("select-one");
+ static const AtomicString& selectMultiple = *new AtomicString("select-multiple");
+ static const AtomicString& selectOne = *new AtomicString("select-one");
return m_multiple ? selectMultiple : selectOne;
}
const AtomicString& HTMLTextAreaElement::type() const
{
- static const AtomicString textarea("textarea");
+ static const AtomicString& textarea = *new AtomicString("textarea");
return textarea;
}
{
#if PLATFORM(MAC)
#ifdef BUILDING_ON_TIGER
- static const String platform = "mac-tiger";
+ static const String& platform = *new String("mac-tiger");
#else
- static const String platform = "mac-leopard";
+ static const String& platform = *new String("mac-leopard");
#endif
#elif PLATFORM(WIN_OS)
- static const String platform = "windows";
+ static const String& platform = *new String("windows");
#elif PLATFORM(QT)
- static const String platform = "qt";
+ static const String& platform = *new String("qt");
#elif PLATFORM(GTK)
- static const String platform = "gtk";
+ static const String& platform = *new String("gtk");
#elif PLATFORM(WX)
- static const String platform = "wx";
+ static const String& platform = *new String("wx");
#else
- static const String platform = "unknown";
+ static const String& platform = *new String("unknown");
#endif
JSValueRef platformValue = JSValueMakeString(ctx, jsStringRef(platform).get());
JavaScriptDebugServer& JavaScriptDebugServer::shared()
{
- static JavaScriptDebugServer server;
+ static JavaScriptDebugServer& server = *new JavaScriptDebugServer;
return server;
}
static ProfileMap& profileCache()
{
- static ProfileMap staticProfiles;
+ static ProfileMap& staticProfiles = *new ProfileMap;
return staticProfiles;
}
static ProfileNodeMap& profileNodeCache()
{
- static ProfileNodeMap staticProfileNodes;
+ static ProfileNodeMap& staticProfileNodes = *new ProfileNodeMap;
return staticProfileNodes;
}
static HashSet<String, CaseFoldingHash>& localSchemes()
{
- static HashSet<String, CaseFoldingHash> localSchemes;
+ static HashSet<String, CaseFoldingHash>& localSchemes = *new HashSet<String, CaseFoldingHash>;
if (localSchemes.isEmpty()) {
localSchemes.add("file");
ApplicationCacheStorage& cacheStorage()
{
- static ApplicationCacheStorage storage;
+ static ApplicationCacheStorage& storage = *new ApplicationCacheStorage;
return storage;
}
static HashMap<String, RawDataCreationFunction*, CaseFoldingHash>& archiveMIMETypes()
{
- static HashMap<String, RawDataCreationFunction*, CaseFoldingHash> mimeTypes;
+ static HashMap<String, RawDataCreationFunction*, CaseFoldingHash>& mimeTypes = *new HashMap<String, RawDataCreationFunction*, CaseFoldingHash>;
static bool initialized = false;
if (initialized)
String IconDatabase::defaultDatabaseFilename()
{
- static String defaultDatabaseFilename = "WebpageIcons.db";
+ static String& defaultDatabaseFilename = *new String("WebpageIcons.db");
return defaultDatabaseFilename.copy();
}
EventHandler::EventHandlerDragState& EventHandler::dragState()
{
- static EventHandlerDragState state;
+ static EventHandlerDragState& state = *new EventHandlerDragState;
return state;
}
// REVIEW- version of this call in FrameMac.mm caches based on the NSArray ptrs being
// the same across calls. We can't do that.
- static RegularExpression wordRegExp = RegularExpression("\\w");
+ static RegularExpression& wordRegExp = *new RegularExpression("\\w");
String pattern("(");
unsigned int numLabels = labels.size();
unsigned int i;
#ifndef NDEBUG
static HashSet<Frame*>& keepAliveSet()
{
- static HashSet<Frame*> staticKeepAliveSet;
+ static HashSet<Frame*>& staticKeepAliveSet = *new HashSet<Frame*>;
return staticKeepAliveSet;
}
#endif
const String& Page::groupName() const
{
- static String nullString;
+ static String& nullString = *new String;
return m_group ? m_group->name() : nullString;
}
if (protocol.isEmpty())
return false;
- static HashMap<String, unsigned> defaultPorts;
+ static HashMap<String, unsigned>& defaultPorts = *new HashMap<String, unsigned>;
if (defaultPorts.isEmpty()) {
defaultPorts.set("http", 80);
defaultPorts.set("https", 443);
String SecurityOrigin::databaseIdentifier() const
{
- static String separatorString = String(&SeparatorCharacter, 1);
+ static String& separatorString = *new String(&SeparatorCharacter, 1);
return m_protocol + separatorString + m_host + separatorString + String::number(m_port);
}
// that the app will use is equal to the number of locales is used in searching.
static const unsigned int regExpCacheSize = 4;
static NSMutableArray* regExpLabels = nil;
- static Vector<RegularExpression*> regExps;
- static RegularExpression wordRegExp = RegularExpression("\\w");
+ static Vector<RegularExpression*>& regExps = *new Vector<RegularExpression*>;
+ static RegularExpression& wordRegExp = *new RegularExpression("\\w");
RegularExpression* result;
if (!regExpLabels)
const KURL& blankURL()
{
- static KURL staticBlankURL("about:blank");
+ static KURL& staticBlankURL = *new KURL("about:blank");
return staticBlankURL;
}
static const AtomicString& alternateFamilyName(const AtomicString& familyName)
{
// Alias Courier <-> Courier New
- static AtomicString courier("Courier"), courierNew("Courier New");
+ static AtomicString& courier = *new AtomicString("Courier");
+ static AtomicString& courierNew = *new AtomicString("Courier New");
if (equalIgnoringCase(familyName, courier))
return courierNew;
if (equalIgnoringCase(familyName, courierNew))
return courier;
// Alias Times and Times New Roman.
- static AtomicString times("Times"), timesNewRoman("Times New Roman");
+ static AtomicString& times = *new AtomicString("Times");
+ static AtomicString& timesNewRoman = *new AtomicString("Times New Roman");
if (equalIgnoringCase(familyName, times))
return timesNewRoman;
if (equalIgnoringCase(familyName, timesNewRoman))
return times;
// Alias Arial and Helvetica
- static AtomicString arial("Arial"), helvetica("Helvetica");
+ static AtomicString& arial = *new AtomicString("Arial");
+ static AtomicString& helvetica = *new AtomicString("Helvetica");
if (equalIgnoringCase(familyName, arial))
return helvetica;
if (equalIgnoringCase(familyName, helvetica))
while (currFamily && !platformData) {
if (currFamily->family().length()) {
static String matchWords[3] = { String("Arabic"), String("Pashto"), String("Urdu") };
- static AtomicString geezaStr("Geeza Pro");
+ static AtomicString& geezaStr = *new AtomicString("Geeza Pro");
for (int j = 0; j < 3 && !platformData; ++j)
if (currFamily->family().contains(matchWords[j], false))
platformData = getCachedFontPlatformData(font.fontDescription(), geezaStr);
FontPlatformData* FontCache::getLastResortFallbackFont(const FontDescription& fontDescription)
{
- static AtomicString timesStr("Times");
- static AtomicString lucidaGrandeStr("Lucida Grande");
+ static AtomicString& timesStr = *new AtomicString("Times");
+ static AtomicString& lucidaGrandeStr = *new AtomicString("Lucida Grande");
// FIXME: Would be even better to somehow get the user's default font here. For now we'll pick
// the default that the user would get without changing any prefs.
ScrollbarTheme* ScrollbarTheme::nativeTheme()
{
- static ScrollbarThemeMac theme;
+ static ScrollbarThemeMac& theme = *new ScrollbarThemeMac;
return &theme;
}
Theme* platformTheme()
{
- static ThemeMac themeMac;
+ static ThemeMac& themeMac = *new ThemeMac;
return &themeMac;
}
void WebCoreReportThreadViolation(const char* function)
{
using namespace WebCore;
- static HashSet<String> loggedFunctions;
+ static HashSet<String>& loggedFunctions = *new HashSet<String>;
switch (threadViolationBehavior) {
case NoThreadCheck:
break;
NetworkStateNotifier& networkStateNotifier()
{
- static NetworkStateNotifier networkStateNotifier;
+ static NetworkStateNotifier& networkStateNotifier = *new NetworkStateNotifier;
return networkStateNotifier;
}
typedef HashMap<CFReadStreamRef, RefPtr<FormData> > StreamFormDataMap;
static StreamFormDataMap& getStreamFormDataMap()
{
- static StreamFormDataMap streamFormDataMap;
+ static StreamFormDataMap& streamFormDataMap = *new StreamFormDataMap;
return streamFormDataMap;
}
typedef HashMap<CFReadStreamRef, RefPtr<ResourceHandle> > StreamResourceHandleMap;
static StreamResourceHandleMap& getStreamResourceHandleMap()
{
- static StreamResourceHandleMap streamResourceHandleMap;
+ static StreamResourceHandleMap& streamResourceHandleMap = *new StreamResourceHandleMap;
return streamResourceHandleMap;
}
// is returning incorrect MIME type for local .xhtml files) which is only required in Leopard.
if (m_url.isLocalFile() && m_mimeType == "text/html") {
const String& path = m_url.path();
- static const String xhtmlExt(".xhtml");
+ static const String& xhtmlExt = *new String(".xhtml");
if (path.endsWith(xhtmlExt, false))
m_mimeType = "application/xhtml+xml";
}
if (noExtendedTextEncodingNameUsed())
return false;
- static HashSet<const char*> set;
+ static HashSet<const char*>& set = *new HashSet<const char*>;
if (set.isEmpty()) {
addEncodingName(set, "x-mac-japanese");
addEncodingName(set, "cp932");
HashMap<RenderBlock*, RenderFlowSequencedSet*>* continuationOutlineTable()
{
- static HashMap<RenderBlock*, RenderFlowSequencedSet*> table;
+ static HashMap<RenderBlock*, RenderFlowSequencedSet*>& table = *new HashMap<RenderBlock*, RenderFlowSequencedSet*>;
return &table;
}
static CounterMaps& counterMaps()
{
- static CounterMaps staticCounterMaps;
+ static CounterMaps& staticCounterMaps = *new CounterMaps;
return staticCounterMaps;
}
continue;
const UChar ellipsisAndSpace[2] = { horizontalEllipsis, ' ' };
- static AtomicString ellipsisAndSpaceStr(ellipsisAndSpace, 2);
+ static AtomicString& ellipsisAndSpaceStr = *new AtomicString(ellipsisAndSpace, 2);
const Font& font = style(numVisibleLines == 1)->font();
int ellipsisAndSpaceWidth = font.width(TextRun(ellipsisAndSpace, 2));
{
if (m_marker)
return m_marker->text();
- static String staticNullString;
+ static String& staticNullString = *new String;
return staticNullString;
}
RenderScrollbarTheme* RenderScrollbarTheme::renderScrollbarTheme()
{
- static RenderScrollbarTheme theme;
+ static RenderScrollbarTheme& theme = *new RenderScrollbarTheme;
return &theme;
}
void RenderThemeMac::systemFont(int cssValueId, FontDescription& fontDescription) const
{
- static FontDescription systemFont;
- static FontDescription smallSystemFont;
- static FontDescription menuFont;
- static FontDescription labelFont;
- static FontDescription miniControlFont;
- static FontDescription smallControlFont;
- static FontDescription controlFont;
+ static FontDescription& systemFont = *new FontDescription;
+ static FontDescription& smallSystemFont = *new FontDescription;
+ static FontDescription& menuFont = *new FontDescription;
+ static FontDescription& labelFont = *new FontDescription;
+ static FontDescription& miniControlFont = *new FontDescription;
+ static FontDescription& smallControlFont = *new FontDescription;
+ static FontDescription& controlFont = *new FontDescription;
FontDescription* cachedDesc;
NSFont* font = nil;
// Determine the width of the ellipsis using the current font.
// FIXME: CSS3 says this is configurable, also need to use 0x002E (FULL STOP) if horizontal ellipsis is "not renderable"
TextRun ellipsisRun(&horizontalEllipsis, 1);
- static AtomicString ellipsisStr(&horizontalEllipsis, 1);
+ static AtomicString& ellipsisStr = *new AtomicString(&horizontalEllipsis, 1);
const Font& firstLineFont = firstLineStyle()->font();
const Font& font = style()->font();
int firstLineEllipsisWidth = firstLineFont.width(ellipsisRun);
#if ENABLE(DASHBOARD_SUPPORT)
const Vector<StyleDashboardRegion>& RenderStyle::initialDashboardRegions()
{
- static Vector<StyleDashboardRegion> emptyList;
+ static Vector<StyleDashboardRegion>& emptyList = *new Vector<StyleDashboardRegion>;
return emptyList;
}
const Vector<StyleDashboardRegion>& RenderStyle::noneDashboardRegions()
{
- static Vector<StyleDashboardRegion> noneList;
+ static Vector<StyleDashboardRegion>& noneList = *new Vector<StyleDashboardRegion>;
static bool noneListInitialized = false;
if (!noneListInitialized) {
static LocalStorageMap& localStorageMap()
{
- static LocalStorageMap localStorageMap;
+ static LocalStorageMap& localStorageMap = *new LocalStorageMap;
return localStorageMap;
}
SVGAnimateMotionElement::RotateMode SVGAnimateMotionElement::rotateMode() const
{
- static const AtomicString autoVal("auto");
- static const AtomicString autoReverse("auto-reverse");
+ static const AtomicString& autoVal = *new AtomicString("auto");
+ static const AtomicString& autoReverse = *new AtomicString("auto-reverse");
String rotate = getAttribute(SVGNames::rotateAttr);
if (rotate == autoVal)
return RotateAuto;
SVGAnimationElement::CalcMode SVGAnimationElement::calcMode() const
{
- static const AtomicString discrete("discrete");
- static const AtomicString linear("linear");
- static const AtomicString paced("paced");
- static const AtomicString spline("spline");
+ static const AtomicString& discrete = *new AtomicString("discrete");
+ static const AtomicString& linear = *new AtomicString("linear");
+ static const AtomicString& paced = *new AtomicString("paced");
+ static const AtomicString& spline = *new AtomicString("spline");
const AtomicString& value = getAttribute(SVGNames::calcModeAttr);
if (value == discrete)
return CalcModeDiscrete;
SVGAnimationElement::AttributeType SVGAnimationElement::attributeType() const
{
- static const AtomicString css("CSS");
- static const AtomicString xml("XML");
+ static const AtomicString& css = *new AtomicString("CSS");
+ static const AtomicString& xml = *new AtomicString("XML");
const AtomicString& value = getAttribute(SVGNames::attributeTypeAttr);
if (value == css)
return AttributeTypeCSS;
bool SVGAnimationElement::isAdditive() const
{
- static const AtomicString sum("sum");
+ static const AtomicString& sum = *new AtomicString("sum");
const AtomicString& value = getAttribute(SVGNames::additiveAttr);
return value == sum || animationMode() == ByAnimation;
}
bool SVGAnimationElement::isAccumulated() const
{
- static const AtomicString sum("sum");
+ static const AtomicString& sum = *new AtomicString("sum");
const AtomicString& value = getAttribute(SVGNames::accumulateAttr);
return value == sum && animationMode() != ToAnimation;
}
const AtomicString& SVGLangSpace::xmlspace() const
{
if (!m_space) {
- static const AtomicString defaultString("default");
+ static const AtomicString& defaultString = *new AtomicString("default");
return defaultString;
}
const AtomicString& SVGSVGElement::contentScriptType() const
{
- static const AtomicString defaultValue("text/ecmascript");
+ static const AtomicString& defaultValue = *new AtomicString("text/ecmascript");
const AtomicString& n = getAttribute(contentScriptTypeAttr);
return n.isNull() ? defaultValue : n;
}
const AtomicString& SVGSVGElement::contentStyleType() const
{
- static const AtomicString defaultValue("text/css");
+ static const AtomicString& defaultValue = *new AtomicString("text/css");
const AtomicString& n = getAttribute(contentStyleTypeAttr);
return n.isNull() ? defaultValue : n;
}
const AtomicString& SVGStyleElement::type() const
{
- static const AtomicString defaultValue("text/css");
+ static const AtomicString& defaultValue = *new AtomicString("text/css");
const AtomicString& n = getAttribute(typeAttr);
return n.isNull() ? defaultValue : n;
}
const AtomicString& SVGStyleElement::media() const
{
- static const AtomicString defaultValue("all");
+ static const AtomicString& defaultValue = *new AtomicString("all");
const AtomicString& n = getAttribute(mediaAttr);
return n.isNull() ? defaultValue : n;
}
return;
if (SVGLangSpace::parseMappedAttribute(attr)) {
if (attr->name().matches(XMLNames::spaceAttr)) {
- static const AtomicString preserveString("preserve");
+ static const AtomicString& preserveString = *new AtomicString("preserve");
if (attr->value() == preserveString)
addCSSProperty(attr, CSSPropertyWhiteSpace, CSSValuePre);
String parse = data.stripWhiteSpace();
- static const AtomicString indefiniteValue("indefinite");
+ static const AtomicString& indefiniteValue = *new AtomicString("indefinite");
if (parse == indefiniteValue)
return SMILTime::indefinite();
SVGSMILElement::Restart SVGSMILElement::restart() const
{
- static const AtomicString never("never");
- static const AtomicString whenNotActive("whenNotActive");
+ static const AtomicString& never = *new AtomicString("never");
+ static const AtomicString& whenNotActive = *new AtomicString("whenNotActive");
const AtomicString& value = getAttribute(SVGNames::restartAttr);
if (value == never)
return RestartNever;
SVGSMILElement::FillMode SVGSMILElement::fill() const
{
- static const AtomicString freeze("freeze");
+ static const AtomicString& freeze = *new AtomicString("freeze");
const AtomicString& value = getAttribute(SVGNames::fillAttr);
return value == freeze ? FillFreeze : FillRemove;
}
if (value.isNull())
return SMILTime::unresolved();
- static const AtomicString indefiniteValue("indefinite");
+ static const AtomicString& indefiniteValue = *new AtomicString("indefinite");
if (value == indefiniteValue)
return SMILTime::indefinite();
bool ok;
void SVGSMILElement::notifyDependentsIntervalChanged(NewOrExistingInterval newOrExisting)
{
ASSERT(m_intervalBegin.isFinite());
- static HashSet<SVGSMILElement*> loopBreaker;
+ static HashSet<SVGSMILElement*>& loopBreaker = *new HashSet<SVGSMILElement*>;
if (loopBreaker.contains(this))
return;
loopBreaker.add(this);
};
static HashMap<SVGStyledElement*, ResourceSet*>& clientMap() {
- static HashMap<SVGStyledElement*, ResourceSet*> map;
+ static HashMap<SVGStyledElement*, ResourceSet*>& map = *new HashMap<SVGStyledElement*, ResourceSet*>;
return map;
}
if (!m_marker)
return;
- static HashSet<SVGResourceMarker*> currentlyDrawingMarkers;
+ static HashSet<SVGResourceMarker*>& currentlyDrawingMarkers = *new HashSet<SVGResourceMarker*>;
// avoid drawing circular marker references
if (currentlyDrawingMarkers.contains(this))
static PreflightResultCache& preflightResultCache()
{
- static PreflightResultCache cache;
+ static PreflightResultCache& cache = *new PreflightResultCache;
return cache;
}
static bool isSafeRequestHeader(const String& name)
{
- static HashSet<String, CaseFoldingHash> forbiddenHeaders;
- static String proxyString("proxy-");
- static String secString("sec-");
+ static HashSet<String, CaseFoldingHash>& forbiddenHeaders = *new HashSet<String, CaseFoldingHash>;
+ static String& proxyString = *new String("proxy-");
+ static String& secString = *new String("sec-");
if (forbiddenHeaders.isEmpty()) {
forbiddenHeaders.add("accept-charset");
static bool isOnAccessControlResponseHeaderWhitelist(const String& name)
{
- static HashSet<String, CaseFoldingHash> allowedHeaders;
+ static HashSet<String, CaseFoldingHash>& allowedHeaders = *new HashSet<String, CaseFoldingHash>;
if (allowedHeaders.isEmpty()) {
allowedHeaders.add("cache-control");
allowedHeaders.add("content-language");
EvaluationContext& Expression::evaluationContext()
{
- static EvaluationContext evaluationContext;
+ static EvaluationContext& evaluationContext = *new EvaluationContext;
return evaluationContext;
}
static bool isAxisName(const String& name, Step::Axis& type)
{
- static HashMap<String, Step::Axis> axisNames;
+ static HashMap<String, Step::Axis>& axisNames = *new HashMap<String, Step::Axis>;
if (axisNames.isEmpty())
setUpAxisNamesMap(axisNames);
static bool isNodeTypeName(const String& name)
{
- static HashSet<String> nodeTypeNames;
+ static HashSet<String>& nodeTypeNames = *new HashSet<String>;
if (nodeTypeNames.isEmpty()) {
nodeTypeNames.add("comment");
nodeTypeNames.add("text");
const NodeSet& Value::toNodeSet() const
{
if (!m_data) {
- static NodeSet emptyNodeSet;
+ static NodeSet& emptyNodeSet = *new NodeSet;
return emptyNodeSet;
}
2008-11-06 David Kilzer <ddkilzer@apple.com>
+ BUILD WAS NOT BROKEN: Rolling r38189 back in.
+
+ Please perform a clean build if you see crashes.
+
+2008-11-06 David Kilzer <ddkilzer@apple.com>
+
BUILD FIX: Backed out r38189 since it apparently broke the world.
2008-11-06 John Sullivan <sullivan@apple.com>
static HashMap<BackForwardList*, WebBackForwardList*>& backForwardLists()
{
- static HashMap<BackForwardList*, WebBackForwardList*> staticBackForwardLists;
+ static HashMap<BackForwardList*, WebBackForwardList*>& staticBackForwardLists = *new HashMap<BackForwardList*, WebBackForwardList*>;
return staticBackForwardLists;
}
HashMap<HistoryItem*, WebHistoryItem*>& historyItemWrappers()
{
- static HashMap<HistoryItem*, WebHistoryItem*> historyItemWrappers;
+ static HashMap<HistoryItem*, WebHistoryItem*>& historyItemWrappers = *new HashMap<HistoryItem*, WebHistoryItem*>;
return historyItemWrappers;
}
static Font& fontFromNSFont(NSFont *font)
{
static NSFont *currentFont;
- static Font currentRenderer;
+ static Font& currentRenderer = *new Font;
if ([font isEqual:currentFont])
return currentRenderer;
typedef HashMap<NPStream*, NPP> StreamMap;
static StreamMap& streams()
{
- static StreamMap staticStreams;
+ static StreamMap& staticStreams = *new StreamMap;
return staticStreams;
}
}
}
else if (object->inherits(&JSArray::info)) {
- static HashSet<JSObject*> visitedElems;
+ static HashSet<JSObject*>& visitedElems = *new HashSet<JSObject*>;
if (!visitedElems.contains(object)) {
visitedElems.add(object);
2008-11-06 David Kilzer <ddkilzer@apple.com>
+ BUILD WAS NOT BROKEN: Rolling r38189 back in.
+
+ Please perform a clean build if you see crashes.
+
+2008-11-06 David Kilzer <ddkilzer@apple.com>
+
BUILD FIX: Backed out r38189 since it apparently broke the world.
2008-11-06 Chris Fleizach <cfleizach@apple.com>
if ($target eq "WebCore") {
next if $shortName eq "AccessibilityObject.o";
next if $shortName eq "AccessibilityRenderObject.o";
- next if $shortName eq "ApplicationCacheStorage.o";
- next if $shortName eq "ApplyStyleCommand.o";
- next if $shortName eq "ArchiveFactory.o";
- next if $shortName eq "CSSMutableStyleDeclaration.o";
- next if $shortName eq "CSSPrimitiveValue.o";
- next if $shortName eq "CSSSelector.o";
next if $shortName eq "CSSStyleSelector.o";
next if $shortName eq "CachedImage.o";
next if $shortName eq "ColorMac.o";
- next if $shortName eq "DOMImplementation.o";
- next if $shortName eq "Document.o";
- next if $shortName eq "EventHandler.o";
next if $shortName eq "EventHandlerMac.o";
next if $shortName eq "FTPDirectoryDocument.o";
next if $shortName eq "FontCache.o";
next if $shortName eq "FontCacheMac.o";
- next if $shortName eq "FormDataStreamMac.o";
- next if $shortName eq "Frame.o";
- next if $shortName eq "FrameLoader.o";
- next if $shortName eq "FrameMac.o";
- next if $shortName eq "GCController.o";
next if $shortName eq "GraphicsContextMac.o";
- next if $shortName eq "HTMLButtonElement.o";
- next if $shortName eq "HTMLElement.o";
- next if $shortName eq "HTMLFieldSetElement.o";
- next if $shortName eq "HTMLInputElement.o";
- next if $shortName eq "HTMLInterchange.o";
- next if $shortName eq "HTMLKeygenElement.o";
- next if $shortName eq "HTMLLegendElement.o";
- next if $shortName eq "HTMLOptGroupElement.o";
- next if $shortName eq "HTMLOptionElement.o";
- next if $shortName eq "HTMLParser.o";
- next if $shortName eq "HTMLSelectElement.o";
next if $shortName eq "HTMLTableElement.o";
- next if $shortName eq "HTMLTextAreaElement.o";
next if $shortName eq "IconDatabase.o";
next if $shortName eq "Image.o";
- next if $shortName eq "IndentOutdentCommand.o";
- next if $shortName eq "InspectorController.o";
- next if $shortName eq "JSDOMBinding.o";
next if $shortName eq "JSHTMLElementWrapperFactory.o";
- next if $shortName eq "JSInspectedObjectWrapper.o";
- next if $shortName eq "JSInspectorCallbackWrapper.o";
next if $shortName eq "JSSVGAnimatedLength.o";
next if $shortName eq "JSSVGAnimatedRect.o";
next if $shortName eq "JSSVGElementWrapperFactory.o";
next if $shortName eq "JSSVGLength.o";
next if $shortName eq "JSSVGRect.o";
- next if $shortName eq "JavaScriptDebugServer.o";
- next if $shortName eq "JavaScriptProfile.o";
- next if $shortName eq "JavaScriptProfileNode.o";
- next if $shortName eq "KURL.o";
- next if $shortName eq "LocalStorage.o";
- next if $shortName eq "NetworkStateNotifier.o";
- next if $shortName eq "Page.o";
next if $shortName eq "PasteboardMac.o";
- next if $shortName eq "RenderBlock.o";
- next if $shortName eq "RenderCounter.o";
- next if $shortName eq "RenderFlexibleBox.o";
next if $shortName eq "RenderLayer.o";
- next if $shortName eq "RenderListItem.o";
- next if $shortName eq "RenderScrollbarTheme.o";
- next if $shortName eq "RenderStyle.o";
- next if $shortName eq "RenderThemeMac.o";
- next if $shortName eq "ReplaceSelectionCommand.o";
- next if $shortName eq "ResourceResponseMac.o";
- next if $shortName eq "SVGAnimateMotionElement.o";
- next if $shortName eq "SVGAnimationElement.o";
- next if $shortName eq "SVGLangSpace.o";
- next if $shortName eq "SVGResource.o";
- next if $shortName eq "SVGResourceMarker.o";
- next if $shortName eq "SVGSMILElement.o";
- next if $shortName eq "SVGSVGElement.o";
- next if $shortName eq "SVGStyleElement.o";
- next if $shortName eq "SVGTextContentElement.o";
- next if $shortName eq "ScriptElement.o";
next if $shortName eq "ScrollView.o";
- next if $shortName eq "ScrollbarThemeMac.o";
next if $shortName eq "SecurityOrigin.o";
next if $shortName eq "SimpleFontDataMac.o";
next if $shortName eq "StyleTransformData.o";
- next if $shortName eq "TextEncoding.o";
- next if $shortName eq "ThemeMac.o";
- next if $shortName eq "ThreadCheck.o";
- next if $shortName eq "XMLHttpRequest.o";
- next if $shortName eq "XPathExpressionNode.o";
- next if $shortName eq "XPathParser.o";
- next if $shortName eq "XPathValue.o";
- next if $shortName eq "bidi.o";
- next if $shortName eq "htmlediting.o";
- next if $shortName eq "markup.o";
- next if $shortName eq "runtime_root.o";
}
if ($target eq "WebKit") {
- next if $shortName eq "AccessibilityObject.o";
- next if $shortName eq "WebBackForwardList.o";
- next if $shortName eq "WebBaseNetscapePluginStream.o";
next if $shortName eq "WebHTMLRepresentation.o";
- next if $shortName eq "WebHistoryItem.o";
next if $shortName eq "WebNSPasteboardExtras.o";
next if $shortName eq "WebPasteboardHelper.o";
- next if $shortName eq "WebStringTruncator.o";
- next if $shortName eq "WebView.o";
}
$sawError = 1 if printFunctions($shortName, $file);