1. 02 Sep, 2006 2 commits
    • thatcher's avatar
      JavaScriptCore: · 00c4ac1b
      thatcher authored
              Reviewed by Tim H.
      
              Bug 10454: Unix bakefile fixes
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10454
      
              * JavaScriptCoreSources.bkl:
      
      WebCore:
      
              Reviewed by Tim H.
      
              Bug 10454: Unix bakefile fixes
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10454
      
              * WebCoreSources.bkl:
              * platform/gdk/RenderPopupMenuGdk.cpp:
              (WebCore::RenderPopupMenuGdk::RenderPopupMenuGdk):
              * platform/gdk/RenderPopupMenuGdk.h:
              * platform/gdk/RenderThemeGdk.cpp:
              (WebCore::RenderThemeGdk::createPopupMenu):
              (WebCore::RenderThemeGdk::systemFont):
              * platform/gdk/RenderThemeGdk.h:
              * platform/gdk/TemporaryLinkStubs.cpp:
              * webcore-base.bkl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16193 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      00c4ac1b
    • adele's avatar
      Reviewed by Anders. · 28732958
      adele authored
              - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10667
                Password: Double-click should select-all to avoid exposing word boundaries
      
              Test: fast/forms/password-doubleclick-selection.html
      
              * editing/visible_units.cpp:
              (WebCore::previousBoundary): When searching for boundaries in renderers that use the textSecurity property, 
               convert characters in strings to alpha-numeric characters (in this case, all 'x's) so that every character
               isn't treated as a punctuation boundary.
              (WebCore::nextBoundary): ditto.
              * editing/TextIterator.cpp: (WebCore::SimplifiedBackwardsTextIterator::handleTextNode): Updated to use the renderer's 
                string instead of the node value.  This matches the base class implementation of handleTextNode.
      
              Code cleanup.
              * editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::doApply): 
                Avoid unnecessary check for password field case if the smart replace condition is false.
              * page/Frame.cpp: (WebCore::Frame::mayCopy): Removed duplicate code.  Calls isSelectionInPasswordField now.
              * rendering/RenderText.cpp: (WebCore::RenderText::setText): Updated formatting.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16192 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28732958
  2. 01 Sep, 2006 19 commits
    • hyatt's avatar
      Fix for 10682, refine the FOUC paint suppression logic so that it · a9c6a344
      hyatt authored
              is only triggered when FOUC would really have occurred.
      
              Reviewed by aroben
      
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::styleForElement):
              * dom/Document.cpp:
              (WebCore::Document::Document):
              (WebCore::Document::updateLayoutIgnorePendingStylesheets):
              (WebCore::Document::updateStyleSelector):
              * dom/Document.h:
              (WebCore::Document::haveStylesheetsLoaded):
              (WebCore::Document::):
              (WebCore::Document::didLayoutWithPendingStylesheets):
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::paintChildren):
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::paintLayer):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16191 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9c6a344
    • aroben's avatar
      2006-09-01 MorganL <morlmor@yahoo.com> · 7603b37e
      aroben authored
              Reviewed by Darin. Updated/landed by Adam.
      
              Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=10553
              Windows build fixes
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16190 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7603b37e
    • beidson's avatar
      Reviewed by Tim Omernick · 7676f962
      beidson authored
              Added an SQLDatabase logging channel.  Changed all SQLDatabase and SQLStatement errors to use this new channel.
              Also, as a popular request from other contributers, added a log for all prepare(), step(), finalize(), and reset()s
              Also, fixed a grammar error in my previous ChangeLog entry.
      
              * bridge/mac/WebCorePageBridge.mm:
              (initializeLoggingChannelsIfNecessary): Initialize the new channel
              * loader/icon/SQLDatabase.cpp:
              (WebCore::SQLDatabase::setBusyTimeout): Use SQLDatabase logging channel
              (WebCore::SQLDatabase::setBusyHandler): ditto
              (WebCore::SQLDatabase::clearAllTables): ditto
              (WebCore::SQLDatabase::runVacuumCommand): ditto
              * loader/icon/SQLStatement.cpp:
              (WebCore::SQLStatement::prepare): Added a log
              (WebCore::SQLStatement::step): ditto
              (WebCore::SQLStatement::finalize): ditto
              (WebCore::SQLStatement::reset): ditto
              (WebCore::SQLStatement::getColumnBlob): Use SQLDatabase logging channel
              (WebCore::SQLStatement::returnTextResults): ditto
              (WebCore::SQLStatement::returnTextResults16): ditto
              (WebCore::SQLStatement::returnIntResults): ditto
              (WebCore::SQLStatement::returnInt64Results): ditto
              (WebCore::SQLStatement::returnDoubleResults): ditto
              * platform/Logging.cpp:
              (WebCore::): Added new logging channel
              * platform/Logging.h: ditto
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16189 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7676f962
    • adele's avatar
      LayoutTests: · 9ea36455
      adele authored
              Reviewed by Tim Omernick.
      
              Updated results for http://bugzilla.opendarwin.org/show_bug.cgi?id=6990
              Switch to use new text field implementation for <input type="password">
      
              * dom/html/level2/html/HTMLInputElement22-expected.txt:
              * dom/xhtml/level2/html/HTMLInputElement22-expected.txt:
              * fast/events/event-sender-mouse-click.html:
              * fast/forms/input-appearance-height-expected.checksum:
              * fast/forms/input-appearance-height-expected.txt:
              * fast/forms/input-type-change-in-onfocus-mouse-expected.txt:
              * fast/forms/input-value-expected.checksum:
              * fast/forms/input-value-expected.png:
              * fast/forms/input-value-expected.txt:
              * tables/mozilla_expected_failures/bugs/bug92647-1-expected.checksum:
              * tables/mozilla_expected_failures/bugs/bug92647-1-expected.png:
              * tables/mozilla_expected_failures/bugs/bug92647-1-expected.txt:
      
              Updated from switch to style-able selects
              * fast/forms/option-strip-whitespace-expected.checksum:
              * fast/forms/option-strip-whitespace-expected.png:
              * fast/forms/option-strip-whitespace-expected.txt:
      
      WebCore:
      
              Reviewed by Tim Omernick.
      
              - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6990
              Switch to use new text field implementation for <input type="password">
      
              * css/html4.css: Give input[password] the same style properties as normal text fields.
              * html/HTMLInputElement.cpp: Removed checks for TextFieldAppearance.
              (WebCore::HTMLInputElement::selectionStart):
              (WebCore::HTMLInputElement::selectionEnd):
              (WebCore::HTMLInputElement::setSelectionStart):
              (WebCore::HTMLInputElement::setSelectionEnd):
              (WebCore::HTMLInputElement::select):
              (WebCore::HTMLInputElement::setSelectionRange):
              (WebCore::HTMLInputElement::createRenderer):
              * html/HTMLInputElement.h: (WebCore::HTMLInputElement::isNonWidgetTextField):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16188 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ea36455
    • beidson's avatar
      Reviewed by John (though Sarge review a previous patch of mine in an... · ceba5a96
      beidson authored
              Reviewed by John (though Sarge review a previous patch of mine in an attempt to review this one)
      
              Added some constants for SQL Result Codes to SQLDatabase.h
              This way, users of SQLDatabase can access all necessary SQLite functionality
              without having access to sqlite3.h.
              Also reordered some files in the xcodeproj and some #includes
      
              * WebCore.xcodeproj/project.pbxproj:  Reordered some files 
              * loader/icon/IconDataCache.cpp:
              (WebCore::IconDataCache::writeToDatabase): Use our new result codes
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::sharedIconDatabase): Use our new result codes
              (WebCore::IconDatabase::retainIconForPageURL): Use our new result codes
              (WebCore::IconDatabase::pruneUnretainedIconsOnStartup): Use our new result codes
              (WebCore::IconDatabase::addIconForIconURLQuery): Use our new result codes
              (WebCore::IconDatabase::hasIconForIconURLQuery): Use our new result codes
              * loader/icon/SQLDatabase.cpp:
              (WebCore::SQLDatabase::lastError): Moved from header to eliminate dependency on sqlite3.h in header
              (WebCore::SQLDatabase::lastErrorMsg): Ditto
              * loader/icon/SQLDatabase.h: Removed #include <sqlite3.h>
              * loader/icon/SQLStatement.cpp: Added #include <sqlite3.h>
              * loader/icon/SQLStatement.h: Removed #include <sqlite3.h>
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16187 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ceba5a96
    • beidson's avatar
      My ChangeLog grammar needs reviewing, apparently (fixed last ChangeLog) · 559160de
      beidson authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16186 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      559160de
    • beidson's avatar
      Reviewed by Darin · 9cc9251f
      beidson authored
              A "never should be reach" method was reached - lets not release the shared database bridge, esp
              since we never retain it!
      
              * Misc/WebIconDatabase.m:
              (-[WebIconDatabase _applicationWillTerminate:]): Don't release the bridge
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16185 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9cc9251f
    • hyatt's avatar
      Add flexbox test. · c1e99fd1
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16184 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c1e99fd1
    • hyatt's avatar
      Fix for 10680, contrained flexbox is not shrinking flexible children · 2e3958cf
      hyatt authored
              properly.  (Fixing in case it's hit by the file upload control.)
      
              Reviewed by aroben
      
              Adding 026.html to fast/flexbox.
      
              * rendering/RenderFlexibleBox.cpp:
              (WebCore::RenderFlexibleBox::allowedChildFlex):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16183 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e3958cf
    • eseidel's avatar
      2006-09-01 Nikolas Zimmermann <zimmermann@kde.org> · d620ccf8
      eseidel authored
              Reviewed by eseidel.  Landed by eseidel.
      
              Implement support for multiple parents in the SVG idls.
      
              For class "FooBar" go through all parents recursively,
              collect their attributes & functions & constants and
              add them directly into the class "FooBar".
      
              (Note: It is NOT enabled by default for now - still some things related to SVGAnimated* need to be solved first)
      
              * bindings/scripts/CodeGenerator.pm:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/generate-bindings.pl:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16182 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d620ccf8
    • eseidel's avatar
      2006-09-02 Nikolas Zimmermann <zimmermann@kde.org> · 57164f44
      eseidel authored
              Reviewed by hyatt.  Landed by eseidel.
      
              Fix build on Linux.
      
              * CMakeLists.txt: Add platform/CString.cpp.
              * platform/qt/FrameQt.cpp: Correct repsondToChangedContents() signature
              * platform/qt/FrameQt.h:: Correct respondToChangedContents() signature
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16181 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      57164f44
    • darin's avatar
      WebCore: · b37f6209
      darin authored
              Reviewed by Brady.
      
              - a few small tweaks to the icon database bridge
      
              * bridge/mac/WebCoreIconDatabaseBridge.h: Removed unnecessary declarations.
              Renamed sharedBridgeInstance to sharedInstance.
              * bridge/mac/WebCoreIconDatabaseBridge.mm: Put functions inside WebCore namespace.
              (WebCore::IconDatabase::loadIconFromURL): Updated for sharedInstance namespace.
      
      WebKit:
      
              Reviewed by Brady.
      
              - a few small tweaks to the icon database bridge
      
              * Misc/WebIconDatabase.m: (-[WebIconDatabase init]): Updated for name change.
      
              * WebCoreSupport/WebIconDatabaseBridge.h: Removed unneeded declarations.
              * WebCoreSupport/WebIconDatabaseBridge.m:
              (-[WebIconDatabaseBridge init]): Added. Always returns nil since you're not supposed
              to allocate one of these.
              (-[WebIconDatabaseBridge _init]): Renamed from init. Used internally to make the
              shared instance. Added the "self = [super init]" idiom even though it's not important
              in this case just to be consistent.
              (-[WebIconDatabaseBridge releaseCachedLoaderForIconURL:]): Moved this up in the file
              so it can be called without declaring it in the header.
              (+[WebIconDatabaseBridge sharedInstance]): Renamed. Calls the new _init. Also use
              CFRetain for compatibility.
              (-[WebIconDatabaseBridge dealloc]): Emptied this out and made it just assert (false).
              (-[WebIconDatabaseBridge finalize]): Added and made it assert (false) too.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16180 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b37f6209
    • thatcher's avatar
      Reviewed by Adele. · aaf2b4a3
      thatcher authored
              Bug 10677: Omit "-webkit-text-security: none;" from the computed style list
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10677
      
              * WebInspector/webInspector/inspector.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16179 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aaf2b4a3
    • thatcher's avatar
      LayoutTests: · d12e7af9
      thatcher authored
              Reviewed by Darin.
      
              - updated results, null is not round-tripped through the bindings
                because of regressions the original change caused in other applications.
              - added an echo for "undefined".
      
              * plugins/bindings-test-expected.txt:
              * plugins/bindings-test.html:
      
      WebCore:
      
              Reviewed by Darin.
      
              <rdar://problem/4651318> REGRESSION: can't drag library items to widget in Dashcode
              <rdar://problem/4701626> REGRESSION: Unit Converter widget doesn't work convert data in its fields
      
              jsNull should not be returned as NSNull because existing applications do not
              expect that return value. Return as nil for backwards compatibility.
      
              * bindings/objc/WebScriptObject.mm:
              (+[WebScriptObject _convertValueToObjcValue:originExecutionContext:executionContext:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16178 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d12e7af9
    • ap's avatar
      2006-09-01 Nikolas Zimmermann <zimmermann@kde.org> · 467ab6fc
      ap authored
              Reviewed and landed by ap.
      
              Fix build on Linux (C89 without gcc extensions enabled).
      
              * pcre/pcre_internal.h: Use C style comments.
              * wtf/Assertions.h: Use C style comments.
              * wtf/Platform.h: Use C style comments.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16177 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      467ab6fc
    • ap's avatar
      Build fix. · 7ab7c579
      ap authored
              * loader/Decoder.cpp:
              (Decoder::Decoder): Use String::latin1().
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16176 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7ab7c579
    • ap's avatar
      Reviewed by Eric. · 41942e0b
      ap authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=5620
              Should only honor encoding from <meta> in HTML
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=9783
              An XML declaration without an explicit encoding incorrectly triggers
              UTF-8 encoding in an HTML document
      
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=10155
              CSS2: @charset is not supported
      
      WebCore:
              * loader/Decoder.cpp:
              (Decoder::Decoder): Decoder now knows what kind of content it is decoding.
              Also, the browser default encoding can now be passed directly to the constructor,
              to streamline the logic.
              (Decoder::decode): Add support for @charset, differentiate between HTML and XML.
              (Decoder::setEncodingName): Style cleanup.
              (Decoder::encodingName): Ditto.
              (Decoder::flush): Ditto.
              * loader/Decoder.h:
              (WebCore::Decoder::):
      
              * bridge/mac/WebCoreEncodings.mm: Pass a content type of text/html to Decoder.
      
              * loader/CachedCSSStyleSheet.cpp:
              (WebCore::CachedCSSStyleSheet::CachedCSSStyleSheet):
              (WebCore::CachedCSSStyleSheet::setCharset):
              (WebCore::CachedCSSStyleSheet::data):
              * loader/CachedCSSStyleSheet.h:
              Use Decoder instead of TextEncoding::toUnicode() to enable @charset support.
      
              * loader/CachedXBLDocument.cpp:
              (WebCore::CachedXBLDocument::CachedXBLDocument): Pass a content type.
              * loader/CachedXSLStyleSheet.cpp:
              (WebCore::CachedXSLStyleSheet::CachedXSLStyleSheet): Ditto.
              (WebCore::CachedXSLStyleSheet::data): Flush the decoder to be safe.
      
              * page/Frame.cpp:
              (WebCore::Frame::write): Pass a content type and a default encoding to 
              the Decoder.
              * xml/XSLTProcessor.cpp:
              (WebCore::XSLTProcessor::createDocumentFromSource): Pass the output document
              MIME type.
              * xml/xmlhttprequest.cpp:
              (WebCore::XMLHttpRequest::receivedData): Ditto.
      
      LayoutTests:
              * fast/encoding/css-charset-expected.txt: Added.
              * fast/encoding/css-charset.css: Added.
              * fast/encoding/css-charset.html: Added.
              * fast/encoding/css-charset-evil-expected.txt: Added.
              * fast/encoding/css-charset-evil.css: Added.
              * fast/encoding/css-charset-evil.html: Added.
              * fast/encoding/default-xhtml-encoding-expected.txt: Added.
              * fast/encoding/default-xhtml-encoding.xhtml: Added.
              * fast/encoding/meta-in-xhtml-expected.txt: Added.
              * fast/encoding/meta-in-xhtml.xhtml: Added.
              * fast/encoding/pseudo-xml-2-expected.txt: Added.
              * fast/encoding/pseudo-xml-2.html: Added.
              * fast/encoding/pseudo-xml-3-expected.txt: Added.
              * fast/encoding/pseudo-xml-3.html: Added.
              * fast/encoding/pseudo-xml-4-expected.txt: Added.
              * fast/encoding/pseudo-xml-4.html: Added.
              * fast/encoding/pseudo-xml-expected.txt: Added.
              * fast/encoding/pseudo-xml.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16175 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41942e0b
    • adele's avatar
      Reviewed by John. · 8a8acfda
      adele authored
              - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10580
                Password: New secure text field allows non-Roman text entry
      
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::setSecureKeyboardEntry): Enable and disable Roman keyboards when switching in and out of this mode.
              (WebCore::FrameMac::isSecureKeyboardEntry): Changed secureKeyboardEntry to isSecureKeyboardEntry.
              * bridge/mac/FrameMac.h: ditto.
              * page/Frame.cpp: (WebCore::Frame::setIsActive): ditto.
              * page/Frame.h: (WebCore::Frame::isSecureKeyboardEntry): ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a8acfda
    • adele's avatar
      Reviewed by John. · 391dea6e
      adele authored
              - Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10665
                Password: Disable smartReplace for new password fields
      
              * editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::doApply):
                Don't smart replace when the selection being replaces is in a password field.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16173 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      391dea6e
  3. 31 Aug, 2006 19 commits
    • thatcher's avatar
      WebCore: · 93fa253f
      thatcher authored
              Reviewed by Tim H.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10669
                Auto-generate the remaining Objective-C HTML DOM bindings
                
                Auto-generates DOMHTMLAnchorElement, DOMHTMLAreaElement,
                DOMHTMLBaseFontElement, DOMHTMLFontElement, DOMHTMLFrameElement,
                DOMHTMLFrameSetElement, DOMHTMLHRElement, DOMHTMLIFrameElement,
                DOMHTMLImageElement, DOMHTMLMapElement, DOMHTMLModElement,
                DOMHTMLObjectElement, DOMHTMLParamElement, DOMHTMLScriptElement,
                DOMHTMLTableCaptionElement, DOMHTMLTableCellElement,
                DOMHTMLTableColElement, DOMHTMLTableElement, DOMHTMLTableRowElement,
                and DOMHTMLTableSectionElement.  
      
                Splits DOMHTMLAppletElement and DOMHTMLOptionElement into their own 
                files.
      
              * DerivedSources.make:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/objc/DOM.mm:
              * bindings/objc/DOMExtensions.h:
              * bindings/objc/DOMHTML.h:
              * bindings/objc/DOMHTML.mm:
              (-[DOMHTMLAnchorElement absoluteLinkURL]):
              (-[DOMHTMLImageElement altDisplayString]):
              (-[DOMHTMLImageElement absoluteImageURL]):
              (-[DOMHTMLImageElement WebCore::]):
              (-[DOMHTMLObjectElement absoluteImageURL]):
              (-[DOMHTMLObjectElement WebCore::]):
              (+[DOMHTMLTableCaptionElement _tableCaptionElementWith:]):
              (-[DOMHTMLTableCaptionElement _tableCaptionElement]):
              (+[DOMHTMLTableSectionElement _tableSectionElementWith:]):
              (-[DOMHTMLTableSectionElement _tableSectionElement]):
              (+[DOMHTMLTableElement _tableElementWith:]):
              (-[DOMHTMLTableElement _tableElement]):
              (+[DOMHTMLTableCellElement _tableCellElementWith:]):
              (-[DOMHTMLTableCellElement _tableCellElement]):
              * bindings/objc/DOMHTMLAppletElement.h: Added.
              * bindings/objc/DOMHTMLAppletElement.mm: Added.
              (-[DOMHTMLAppletElement WebCore::]):
              (-[DOMHTMLAppletElement align]):
              (-[DOMHTMLAppletElement setAlign:]):
              (-[DOMHTMLAppletElement alt]):
              (-[DOMHTMLAppletElement setAlt:]):
              (-[DOMHTMLAppletElement archive]):
              (-[DOMHTMLAppletElement setArchive:]):
              (-[DOMHTMLAppletElement code]):
              (-[DOMHTMLAppletElement setCode:]):
              (-[DOMHTMLAppletElement codeBase]):
              (-[DOMHTMLAppletElement setCodeBase:]):
              (-[DOMHTMLAppletElement height]):
              (-[DOMHTMLAppletElement setHeight:]):
              (-[DOMHTMLAppletElement hspace]):
              (-[DOMHTMLAppletElement setHspace:]):
              (-[DOMHTMLAppletElement name]):
              (-[DOMHTMLAppletElement setName:]):
              (-[DOMHTMLAppletElement object]):
              (-[DOMHTMLAppletElement setObject:]):
              (-[DOMHTMLAppletElement vspace]):
              (-[DOMHTMLAppletElement setVspace:]):
              (-[DOMHTMLAppletElement width]):
              (-[DOMHTMLAppletElement setWidth:]):
              * bindings/objc/DOMHTMLInternal.h:
              * bindings/objc/DOMHTMLOptionElement.h: Added.
              * bindings/objc/DOMHTMLOptionElement.mm: Added.
              (-[DOMHTMLOptionElement WebCore::]):
              (-[DOMHTMLOptionElement form]):
              (-[DOMHTMLOptionElement defaultSelected]):
              (-[DOMHTMLOptionElement setDefaultSelected:]):
              (-[DOMHTMLOptionElement text]):
              (-[DOMHTMLOptionElement index]):
              (-[DOMHTMLOptionElement disabled]):
              (-[DOMHTMLOptionElement setDisabled:]):
              (-[DOMHTMLOptionElement label]):
              (-[DOMHTMLOptionElement setLabel:]):
              (-[DOMHTMLOptionElement selected]):
              (-[DOMHTMLOptionElement setSelected:]):
              (-[DOMHTMLOptionElement value]):
              (-[DOMHTMLOptionElement setValue:]):
              * bindings/objc/DOMPrivate.h:
              * bindings/scripts/CodeGeneratorObjC.pm:
      
      WebKit:
      
              Reviewed by Tim H.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10669
                Auto-generate the remaining Objective-C HTML DOM bindings
      
              * MigrateHeaders.make:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16172 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      93fa253f
    • aliceli1's avatar
      LayoutTests: · edb55a55
      aliceli1 authored
              Reviewed by Darin.
      
              Revised expected results for an isindex element because of 
              <rdar://problem/4463870> Switch to use new text field implementation for <isindex>
              Now the field is rendered as a textfield
      
              * fast/dom/isindex-002-expected.checksum:
              * fast/dom/isindex-002-expected.png:
              * fast/dom/isindex-002-expected.txt:
      
      WebCore:
      
              Reviewed by Darin.
      
              Fixed <rdar://problem/4463870> Switch to use new text field implementation for <isindex>
      
              * bindings/objc/DOMHTML.mm:
              (-[DOMHTMLInputElement _isTextField]):
              moved isindex from the list of nonTextInputTypes to the list of textInputTypes
              * css/html4.css:
              added isindex to certain rules that applied to input fields
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::canHaveSelection):
              (WebCore::HTMLInputElement::selectionStart):
              (WebCore::HTMLInputElement::selectionEnd):
              (WebCore::HTMLInputElement::setSelectionStart):
              (WebCore::HTMLInputElement::setSelectionEnd):
              (WebCore::HTMLInputElement::select):
              (WebCore::HTMLInputElement::setSelectionRange):
              (WebCore::HTMLInputElement::createRenderer):
              for the 8 methods above, moved the case for isindex to the same case as text
              * html/HTMLInputElement.h:
              (WebCore::HTMLInputElement::isNonWidgetTextField):
              added isindex to this test
              * html/HTMLIsIndexElement.idl:
              HTMLIsIndexElement inherits from HTMLInputElement
              * rendering/RenderLineEdit.cpp:
              (WebCore::RenderLineEdit::RenderLineEdit):
              removed the case for isindex since we changed the renderer type from a RenderLineEdit
              to a RenderTextControl in WebCore::HTMLInputElement::createRenderer()
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16171 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      edb55a55
    • darin's avatar
      * Scripts/do-webcore-rename: Prepare for another round of renaming. · c68bef72
      darin authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16170 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c68bef72
    • harrison's avatar
      Reviewed by Adele. · bb58767d
      harrison authored
              <rdar://problem/4708119> REGRESSION: Cannot observe an AXTextField element directly
      
              ... and most of
              <rdar://problem/4708022> REGRESSION: TextRange-based attributes are missing from text fields
              <rdar://problem/4709515> REGRESSION: Expose text areas
      
              Remaining work for those two bugs in new bugs:
      
              <rdar://problem/4712101> Support NSAccessibilityVisibleCharacterRangeAttribute for AXTextField and AXTextArea elements
              <rdar://problem/4712111> Support NSAccessibilityInsertionPointLineNumberAttribute for AXTextArea elements
              <rdar://problem/4712125> Support setting NSAccessibilitySelectedTextAttribute for AXTextField and AXTextArea elements
      
              * bridge/AXObjectCache.h:
              (WebCore::AXObjectCache::postNotificationToElement):
              * bridge/mac/AXObjectCacheMac.mm:
              (WebCore::AXObjectCache::postNotification):
              (WebCore::AXObjectCache::postNotificationToElement):
              Removed postNotificationToTopWebArea.
              postNotification now posts to input element or top web area, as appropriate.
              postNotificationToElement posts to the specified element itself.
              
              * bridge/mac/FrameMac.h:
              * bridge/mac/FrameMac.mm:
              (WebCore::FrameMac::respondToChangedContents):
              Take a selection.  Pass the starting position's renderer to postNotification so that postNotification can post to the appropriate input element, if any.
              
              * bridge/mac/WebCoreAXObject.h:
              * bridge/mac/WebCoreAXObject.mm:
              (-[WebCoreAXObject isWebArea]):
              (-[WebCoreAXObject isAnchor]):
              (-[WebCoreAXObject isTextRange]):
              New convenience methods.
              
              (-[WebCoreAXObject role]):
              (-[WebCoreAXObject roleDescription])        
              (-[WebCoreAXObject value]):
              (-[WebCoreAXObject accessibilityDescription]):
              Support AXTextField and AXTextArea.
      
              (-[WebCoreAXObject accessibilityShouldUseUniqueId]):
              Register AXTextField and AXTextArea elements so notifications to them can be observed.
              
              (-[WebCoreAXObject accessibilityIsIgnored]):
              Use new convenience method isWebArea.
      
              (-[WebCoreAXObject accessibilityAttributeNames]):
              Simplify the array creation.
              Add text range support.
             
              (-[WebCoreAXObject accessibilityAttributeValue:]):
              Add text range support.
             
              (-[WebCoreAXObject canSetFocusAttribute]):
              (-[WebCoreAXObject canSetValueAttribute]):
              (-[WebCoreAXObject canSetTextRangeAttributes]):
              New convenience methods.
              
              (-[WebCoreAXObject accessibilityIsAttributeSettable:]):
              (-[WebCoreAXObject accessibilitySetValue:forAttribute:]):
              Add text range support.
      
              (-[WebCoreAXObject observableObject]):
              New to locate text field or text area to notify.
              
              * dom/Document.cpp:
              (WebCore::Document::updateSelection):
              Post AXSelectedTextChanged notification with new selection's start node.
              postNotification will send it to the input element, if there is one, or the top WebArea.
              
              (WebCore::Document::implicitClose):
              Use postNotificationToElement now that it acts like the old postNotification.
              
              * page/Frame.h:
              * page/Frame.cpp:
              (WebCore::Frame::appliedEditing):
              (WebCore::Frame::unappliedEditing):
              (WebCore::Frame::reappliedEditing):
              Pass the selection of interest to respondToChangedContents.
              
              * page/FrameView.cpp:
              (WebCore::FrameView::layout):
              Use postNotificationToElement now that it acts like the old postNotification.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16169 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb58767d
    • sfalken's avatar
      2006-09-01 Steve Falkenburg <sfalken@apple.com> · 40750ad3
      sfalken authored
              Fix build.
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/dftables/dftables.vcproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16168 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40750ad3
    • adele's avatar
      WebCore: · d51c0cfd
      adele authored
              Reviewed by Darin.
      
              WebCore part of fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10666
              Password: Disallow Spelling, Font, Speech, and Writing Direction context menu
      
              * bridge/mac/WebCoreFrameBridge.h:
              * bridge/mac/WebCoreFrameBridge.mm: (-[WebCoreFrameBridge isSelectionInPasswordField]): Added.
              * page/Frame.cpp: (WebCore::Frame::isSelectionInPasswordField): Added.
              * page/Frame.h:
      
      WebKit:
      
              Reviewed by Darin.
      
              WebKit part of fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=10666
              Password: Disallow Spelling, Font, Speech, and Writing Direction context menu
      
              * DefaultDelegates/WebDefaultContextMenuDelegate.m: (-[WebDefaultUIDelegate editingContextMenuItemsForElement:defaultMenuItems:]):
                Check that the selection isn't in a password field before adding these items to the default editing context menu.
                    Search In Google, Search In Spotlight, Look up in Dictionary, Spelling, Font, Speech, Writing Direction
              * WebView/WebHTMLView.m: (-[WebHTMLView _isSelectionInPasswordField]): Added.
              * WebView/WebHTMLViewPrivate.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d51c0cfd
    • andersca's avatar
      Forgot the ChangeLog · a53bc855
      andersca authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a53bc855
    • andersca's avatar
      2006-08-31 Anders Carlsson <acarlsson@apple.com> · dd98357f
      andersca authored
              Reviewed by Darin.
              
              Add new portability functions to MathExtras.h and add StringExtras.h which is for
              string portability functions.
              
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * bindings/c/c_instance.cpp:
              * kjs/date_object.cpp:
              * wtf/MathExtras.h:
              (copysign):
              (isfinite):
              * wtf/StringExtras.h: Added.
              (snprintf):
              (strncasecmp):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16164 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dd98357f
    • andersca's avatar
      2006-08-31 Anders Carlsson <acarlsson@apple.com> · 0ebd20fb
      andersca authored
              Reviewed by Tim H.
              
              Fix Windows build.
              
              * JavaScriptCore.vcproj/dftables/dftables.vcproj:
              * pcre/pcre_internal.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16163 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ebd20fb
    • thatcher's avatar
      Build fix to avoid a property name conflict warning. · e93b2b6e
      thatcher authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16162 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e93b2b6e
    • andersca's avatar
      Fix ChangeLog · ce2a6163
      andersca authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce2a6163
    • andersca's avatar
      2006-08-31 Anders Carlsson <acarlsson@apple.com> · f9eec3a5
      andersca authored
              Reviewed by Tim H, Hyatt.
      
              * WebCore.xcodeproj/project.pbxproj:
              Add KURLCFNet.cpp
              
              * platform/KURL.h:
              Get rid of include, add KURL constructor that takes a CFURLRef.
              
              * platform/PlatformString.h:
              * platform/StringImpl.h:
              Get rid of include.
              
              * platform/cf/KURLCFNet.cpp:
              (WebCore::KURL::KURL):
              Add constructor.
              
              * platform/cf/ResourceLoaderCFNet.cpp:
              Fix includes.
              
              * platform/cf/StringCF.cpp:
              (WebCore::String::createCFString):
              Move this here from PlatformString.h
              
              * platform/cf/StringImplCF.cpp:
              (WebCore::StringImpl::createCFString):
              Fix cast.
              
              * platform/mac/KURLMac.mm:
              Move createCFURL() to KURLCFNet.cpp
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16160 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f9eec3a5
    • hyatt's avatar
      Make ScrollBar.cpp able to be compiled on Win32. · 330fc528
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      330fc528
    • thatcher's avatar
    • beidson's avatar
      68d303c5
    • thatcher's avatar
      Build fixes for ppc64 and x86_64 now that we use -Wshorten-64-to-32. · 0d8ee7bf
      thatcher authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16156 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d8ee7bf
    • thatcher's avatar
      Reviewed by Geoff. · dc18a369
      thatcher authored
              Band-aid fix for PCRE to compile for ppc64 and x86_64 now that
              we use -Wshorten-64-to-32. Adds an INT_CAST macro that ASSERTs
              the value <= INT_MAX.
      
              I filed <rdar://problem/4712064> to track the need to verify
              PCRE's 64-bit compliance.
      
              * pcre/pcre_compile.c:
              (complete_callout):
              (compile_branch):
              (compile_regex):
              (pcre_compile2):
              * pcre/pcre_exec.c:
              (match):
              (pcre_exec):
              * pcre/pcre_get.c:
              (pcre_get_substring_list):
              * pcre/pcre_internal.h:
              * pcre/pcre_tables.c:
              * pcre/pcre_try_flipped.c:
              (_pcre_try_flipped):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dc18a369
    • beidson's avatar
      Reviewed by John · 78a41caf
      beidson authored
              Cleaned up my last patch after further considerations
      
              * loader/icon/IconDatabase.cpp:
              (WebCore::IconDatabase::pruneUnretainedIconsOnStartup): Uses the new checkForDanglingPageURLs to check
                for and fix danglers.  Does so in all builds (changed from debug only in my last patch)
              (WebCore::IconDatabase::syncDatabase): Uses the new checkForDanglingPageURLs to check for danglers
              (WebCore::IconDatabase::checkForDanglingPageURLs): This checks and, if asked via an arg, prunes the dangling pageURLs
              * loader/icon/IconDatabase.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16154 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78a41caf
    • andersca's avatar
      2006-08-31 Anders Carlsson <acarlsson@apple.com> · f85b1ff8
      andersca authored
              Reviewed by Maciej.
      
              Add CString. CString is a simple, null-terminated byte buffer that supports data
              sharing. Its main use is to be a better const char*.
              
              Also add latin1 and utf8 methods to String which returns CStrings.
              
              * platform/CString.cpp: Added.
              (WebCore::CString::CString):
              (WebCore::CString::init):
              (WebCore::CString::data):
              (WebCore::CString::length):
              (WebCore::CString::deprecatedCString):
              * platform/CString.h: Added.
              (WebCore::CStringBuffer::CStringBuffer):
              (WebCore::CStringBuffer::data):
              (WebCore::CStringBuffer::length):
              (WebCore::CString::CString):
              (WebCore::CString::operator const char*):
              (WebCore::CString::isNull):
              * platform/PlatformString.h:
              * platform/String.cpp:
              (WebCore::String::latin1):
              (WebCore::String::utf8):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16153 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f85b1ff8