1. 24 Jun, 2011 1 commit
    • mario@webkit.org's avatar
      2011-06-24 Mario Sanchez Prada <msanchez@igalia.com> · 868b5ea2
      mario@webkit.org authored
              Reviewed by Chris Fleizach.
      
              [GTK] Consider rows being ignored when adding children to tables
              https://bugs.webkit.org/show_bug.cgi?id=62718
      
              Unskip accessibility test that will be passing from now on.
      
              * platform/gtk/Skipped: Unskipped passing test.
      2011-06-24  Mario Sanchez Prada  <msanchez@igalia.com>
      
              Reviewed by Chris Fleizach.
      
              [GTK] Consider rows being ignored when adding children to tables
              https://bugs.webkit.org/show_bug.cgi?id=62718
      
              Hide row objects in tables in GTK's accessibility wrapper.
      
              This is a different approach in the way WebCore's accessible
              rows are exposed to assistive technologies in the GTK port,
              since from now on those objects are kept in WebCore (they do not
              declare to ignore accessibility) and just bypassed in the mapping
              to ATK, allowing to hide them in the ATK hierarchy while, at the
              same time, keeping them internally to be able to provide enough
              information to determine tables related information, such as rows
              counting or finding an cell for specific coordinates.
      
              * accessibility/gtk/AccessibilityObjectAtk.cpp:
              (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
              Do not ignore accessibility for table rows here.
      
              * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
              (webkit_accessible_get_parent): Bypass rows when needed.
              (getNChildrenForTable): New, find the number of children for a
              table, which will be the addition of all cells for its rows.
              (webkit_accessible_get_n_children): Call to getNChildrenForTable
              for accessibility tables if needed.
              (getChildForTable): New, bypass rows when needed, retrieving
              cells as if they were direct children for tables.
              (webkit_accessible_ref_child): Call to refChildForTable if needed.
              (getIndexInParentForCellInRow): New, get the index for a given
              cell in its parent table, considering other rows' cells.
              (webkit_accessible_get_index_in_parent): Call to
              getIndexInParentForCellInRow if needed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@89660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      868b5ea2
  2. 11 Apr, 2011 1 commit
    • mario@webkit.org's avatar
      2011-04-11 Mario Sanchez Prada <msanchez@igalia.com> · 30f0c062
      mario@webkit.org authored
              Reviewed by Chris Fleizach.
      
              [GTK] Unskip accessibility/input-slider.html and accessibility/media-element.html
              https://bugs.webkit.org/show_bug.cgi?id=58040
      
              Unskip passing tests and update expectations.
      
              * platform/gtk/Skipped: Unskip passing tests.
              * platform/gtk/accessibility/input-slider-expected.txt: Added.
              * platform/gtk/accessibility/input-slider.html: Copied from
              accessibility/input-slider.html and adjusted accordingly.
              * platform/gtk/accessibility/media-element-expected.txt: Added.
              * platform/mac/accessibility/input-slider.html: Moved from
              accessibility/input-slider.html, since it is platform-specific.
              * platform/win/Skipped: Unskipped accessibility/input-slider.html,
              as it's no longer a cross-platform test.
      2011-04-11  Mario Sanchez Prada  <msanchez@igalia.com>
      
              Reviewed by Chris Fleizach.
      
              [GTK] Unskip accessibility/input-slider.html and accessibility/media-element.html
              https://bugs.webkit.org/show_bug.cgi?id=58040
      
              Don't expose objects of role SliderThumbRoles in GTK.
      
              * accessibility/AccessibilitySlider.cpp:
              (WebCore::AccessibilitySlider::addChildren): Allow the platform
              make a final decision before including children in the hierarchy.
              (WebCore::AccessibilitySliderThumb::accessibilityIsIgnored):
              Implemented by relying on accessibilityPlatformIncludesObject().
      
              * accessibility/gtk/AccessibilityObjectAtk.cpp:
              (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
              Ignore accessibility objects with role SliderThumbRole.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@83479 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30f0c062
  3. 30 Mar, 2011 1 commit
    • mario@webkit.org's avatar
      2011-03-30 Mario Sanchez Prada <msanchez@igalia.com> · 56f6bf20
      mario@webkit.org authored
              Reviewed by Chris Fleizach.
      
              AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
              https://bugs.webkit.org/show_bug.cgi?id=47636
      
              Added new layout test to check that roles are correct in GTK.
      
              * platform/gtk/accessibility/aria-roles-unignored-expected.txt: Added.
              * platform/gtk/accessibility/aria-roles-unignored.html: Added.
      2011-03-30  Mario Sanchez Prada  <msanchez@igalia.com>
      
              Reviewed by Chris Fleizach.
      
              AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
              https://bugs.webkit.org/show_bug.cgi?id=47636
      
              Define new roles in WebCore and map them to ATK accordingly.
      
              Test: platform/gtk/accessibility/aria-roles-unignored.html
      
              * accessibility/AccessibilityObject.h: Added new roles to
              represent paragraphs, labels, forms and div sections.
              * accessibility/AccessibilityRenderObject.cpp:
              (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
              Return ParagraphRole, LabelRole, FormRole and DivRole when needed
              for the GTK platform only.
              * accessibility/gtk/AccessibilityObjectAtk.cpp:
              (WebCore::AccessibilityObject::allowsTextRanges): Consider the new
              roles now that those kind of nodes won't return true to isGroup().
              * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
              (atkRole): Map new WebCore roles to ATK Roles.
              (webkit_accessible_get_role): Remove code to define roles for
              paragraphs, labels, forms and divs based on node's tag name.
      
              Update mappings for the Mac platform.
      
              * accessibility/mac/AccessibilityObjectWrapper.mm:
              (createAccessibilityRoleMap): Add explicit mappings from the new
              roles introduced to NSAccessibilityGroupRole.
      2011-03-30  Mario Sanchez Prada  <msanchez@igalia.com>
      
              Reviewed by Chris Fleizach.
      
              AX: GTK: ARIA role is not respected on <p> <label> <div> and <form>
              https://bugs.webkit.org/show_bug.cgi?id=47636
      
              Duplicate new internal WebCore roles in the Chromium port.
      
              * public/WebAccessibilityRole.h: Update enumeration
              WebAccessibilityRole to reflect newly added roles in WebCore.
              * src/AssertMatchingEnums.cpp: Added new assertions.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      56f6bf20
  4. 29 Mar, 2011 1 commit
    • mario@webkit.org's avatar
      2011-03-29 Mario Sanchez Prada <msanchez@igalia.com> · a420ae1b
      mario@webkit.org authored
              Reviewed by Martin Robinson.
      
              [Gtk] Consistent crash from Google/ARIA combobox click
              https://bugs.webkit.org/show_bug.cgi?id=55883
      
              Added new layout test to check this doesn't crash anymore in GTK.
      
              * platform/gtk/accessibility/aria-options-and-menuitems-crash-expected.txt: Added.
              * platform/gtk/accessibility/aria-options-and-menuitems-crash.html: Added.
      2011-03-29  Mario Sanchez Prada  <msanchez@igalia.com>
      
              Reviewed by Martin Robinson.
      
              [Gtk] Consistent crash from Google/ARIA combobox click
              https://bugs.webkit.org/show_bug.cgi?id=55883
      
              Do not call to firstChild() to avoid entering into infinite loops.
      
              This would happen when current item is a WebCore Group and some of
              its children have either role 'option' or 'menuitem'. Other than
              that the logic behind that call to firstChild() seems to be no
              longer needed so it's safe to remove it.
      
              Test: platform/gtk/accessibility/aria-options-and-menuitems-crash.html
      
              * accessibility/gtk/AccessibilityObjectAtk.cpp:
              (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
              Remove call to firsChild, which was leading to crashes sometimes.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@82296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a420ae1b
  5. 01 Feb, 2011 1 commit
  6. 08 Jan, 2011 1 commit
  7. 22 Sep, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-09-22 Mario Sanchez Prada <msanchez@igalia.com> · 1f3aafe1
      commit-queue@webkit.org authored
              Reviewed by Chris Fleizach.
      
              [Gtk] Incorrect exposure of list items whose children are elements
              https://bugs.webkit.org/show_bug.cgi?id=45383
      
              Check that list items will be always exposed like that for GTK
      
              * platform/gtk/accessibility/list-items-always-exposed-expected.txt: Added.
              * platform/gtk/accessibility/list-items-always-exposed.html: Added.
      2010-09-22  Mario Sanchez Prada  <msanchez@igalia.com>
      
              Reviewed by Chris Fleizach.
      
              [Gtk] Incorrect exposure of list items whose children are elements
              https://bugs.webkit.org/show_bug.cgi?id=45383
      
              Set ATK_ROLE_LIST_ITEM looking for the role of the parent object
      
              Test: platform/gtk/accessibility/list-items-always-exposed.html
      
              * accessibility/gtk/AccessibilityObjectAtk.cpp:
              (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
              Always include objects with ListItemRole in accessibility for GTK.
              * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
              (getInterfaceMaskFromObject): Add some specific code to handle the
              special case of list markers by implementing AtkText when needed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1f3aafe1
  8. 13 Sep, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-09-13 Mario Sanchez Prada <msanchez@igalia.com> · 25c82ab7
      commit-queue@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] ATs should be able to select/unselect text
              https://bugs.webkit.org/show_bug.cgi?id=25673
      
              Implement AtkText's setSelection and removeSelection functions
      
              * accessibility/AccessibilityObject.cpp:
              (WebCore::AccessibilityObject::visiblePositionRangeForRange):
              Moved some GTK specific code from a ifdef-endif region to
              AccessibilityObjectAtk.cpp
              * accessibility/AccessibilityObject.h:
              * accessibility/gtk/AccessibilityObjectAtk.cpp:
              (WebCore::AccessibilityObject::getLengthForTextRange): New.
              * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
              (webkit_accessible_text_remove_selection): Implemented following
              the lead of GAIL's implementation of the AtkText interface.
              (webkit_accessible_text_set_selection): Implemented following
              the lead of GAIL's implementation of the AtkText interface.
              (webkit_accessible_text_set_caret_offset): Changed to directly use
              visiblePositionRangeForRange now that there's no longer a problem
              with that, as it was in the past (only worked for text controls).
      2010-09-13  Mario Sanchez Prada  <msanchez@igalia.com>
      
              Reviewed by Martin Robinson.
      
              [GTK] Provide unit tests for AtkText's text selection functions
              https://bugs.webkit.org/show_bug.cgi?id=43919
      
              New tests to check getting, setting and removing text selections
      
              * tests/testatk.c:
              (testWekitAtkTextSelections): New unit tests to check all the text
              selection related functions altogether through a single test
              function.
              (main):
      
              Make sure that code dependant on getting information from the
              clipboard gets executed only when there's a GDK window associated
              to the webview widget, as that's not the case when executing the
              unit tests (the wedbview is not inside of any toplevel window) and
              will make the tests crash if not taken into account.
      
              * WebCoreSupport/EditorClientGtk.cpp:
              (WebKit::EditorClient::respondToChangedSelection):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@67383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25c82ab7
  9. 08 Sep, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-09-08 Mario Sanchez Prada <msanchez@igalia.com> · 9fb3f332
      commit-queue@webkit.org authored
              Reviewed by Martin Robinson.
      
              [Gtk] A list item's number/bullet should not be a child of that list item
              https://bugs.webkit.org/show_bug.cgi?id=45190
      
              Ignore list markers and prefix them to the text for the item
      
              * accessibility/gtk/AccessibilityObjectAtk.cpp:
              (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
              Make list markers ignore accessibility for the GTK port.
              * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
              (webkit_accessible_text_get_text): Prefix the text of a marker
              along with the accessible text for its list item's AtkObject
      2010-09-08  Mario Sanchez Prada  <msanchez@igalia.com>
      
              Reviewed by Martin Robinson.
      
              [Gtk] A list item's number/bullet should not be a child of that list item
              https://bugs.webkit.org/show_bug.cgi?id=45190
      
              New unit test added.
      
              * tests/testatk.c:
              (testWebkitAtkListsOfItems): New test to check ordered/unordered
              list of items are properly exposed to AT technologies.
              (main):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66964 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9fb3f332
  10. 02 Aug, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-08-02 Mario Sanchez Prada <msanchez@igalia.com> · d9f3d817
      commit-queue@webkit.org authored
              Reviewed by Chris Fleizach.
      
              [GTK] Implement support for get_character_extents and get_range_extents
              https://bugs.webkit.org/show_bug.cgi?id=25677
      
              Implement get_range_extents() and modify get_character_extents()
              to properly work after "The Great Flattening" occurred in the ATK
              objects hierarchy, some months ago.
      
              In the case of the GTK port, not just the text controls should be
              considered when it comes to these functions but also those
              composite objects that would also allow to work with text ranges,
              such as headings and links. To take care of this, a new function
              AccessibilityObject::allowsTextRanges() was defined with a default
              implementation in the header file and an specific one for GTK in
              AccessibilityObjectAtk.cpp.
      
              Based on a previous patch by Joanmarie Diggs.
      
              * accessibility/AccessibilityObject.cpp:
              (WebCore::AccessibilityObject::visiblePositionRangeForRange):
              * accessibility/AccessibilityObject.h:
              (WebCore::AccessibilityObject::allowsTextRanges): New
              * accessibility/AccessibilityRenderObject.cpp:
              (WebCore::AccessibilityRenderObject::visiblePositionForIndex):
              (WebCore::AccessibilityRenderObject::doAXBoundsForRange):
              * accessibility/gtk/AccessibilityObjectAtk.cpp:
              (WebCore::AccessibilityObject::allowsTextRanges): New
              * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
              (textExtents):
              (webkit_accessible_text_get_character_extents):
              (webkit_accessible_text_get_range_extents):
              (atk_text_interface_init):
      2010-08-02  Mario Sanchez Prada  <msanchez@igalia.com>
      
              Reviewed by Chris Fleizach.
      
              [GTK] Implement support for get_character_extents and get_range_extents
              https://bugs.webkit.org/show_bug.cgi?id=25677
      
              Added new unit tests to check get_character_extents and
              get_range_extents functions for the ATK_TEXT interface
      
              Based on a previous patch by Joanmarie Diggs.
      
              * tests/testatk.c:
              (test_webkit_atk_get_extents):
              (main):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@64475 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d9f3d817
  11. 22 Apr, 2010 1 commit
  12. 21 Apr, 2010 1 commit
  13. 11 Mar, 2010 1 commit
    • cfleizach@apple.com's avatar
      accessibilityIsIgnoredBase() needs to respect when platform says include · 14f57ce1
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=36025
      
      Reviewed by Beth Dakin.
      
      Changed accessibilityIsIgnoredBase() to return a policy instead of a yes/no
      answer. This allows the platform to make a yes decision on an element.
      
      * accessibility/AccessibilityList.cpp:
      (WebCore::AccessibilityList::accessibilityIsIgnored):
      * accessibility/AccessibilityListBox.cpp:
      (WebCore::AccessibilityListBox::accessibilityIsIgnored):
      * accessibility/AccessibilityObject.h:
      (WebCore::):
      (WebCore::AccessibilityObject::accessibilityIgnoreAttachment):
      (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::accessibilityIsIgnoredBase):
      (WebCore::AccessibilityRenderObject::accessibilityIsIgnored):
      * accessibility/AccessibilityRenderObject.h:
      * accessibility/AccessibilitySlider.cpp:
      (WebCore::AccessibilitySlider::accessibilityIsIgnored):
      * accessibility/AccessibilityTable.cpp:
      (WebCore::AccessibilityTable::accessibilityIsIgnored):
      * accessibility/AccessibilityTableCell.cpp:
      (WebCore::AccessibilityTableCell::accessibilityIsIgnored):
      * accessibility/AccessibilityTableRow.cpp:
      (WebCore::AccessibilityTableRow::accessibilityIsIgnored):
      * accessibility/chromium/AccessibilityObjectChromium.cpp:
      (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
      * accessibility/gtk/AccessibilityObjectAtk.cpp:
      (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
      * accessibility/mac/AccessibilityObjectMac.mm:
      (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
      * accessibility/qt/AccessibilityObjectQt.cpp:
      (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
      * accessibility/win/AccessibilityObjectWin.cpp:
      (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
      * accessibility/wx/AccessibilityObjectWx.cpp:
      (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      14f57ce1
  14. 08 Mar, 2010 1 commit
    • eric@webkit.org's avatar
      2010-03-08 Joanmarie Diggs <joanmarie.diggs@gmail.com> · fad8d126
      eric@webkit.org authored
              Reviewed by Xan Lopez.
      
              https://bugs.webkit.org/show_bug.cgi?id=30895
              [Gtk] The accessible hierarchy of tables is significantly incorrect for Atk
      
              * platform/gtk/accessibility/table-hierarchy.html:
              * platform/gtk/accessibility/table-hierarchy-expected.txt:
      2010-03-08  Joanmarie Diggs  <joanmarie.diggs@gmail.com>
      
              Reviewed by Xan Lopez.
      
              https://bugs.webkit.org/show_bug.cgi?id=30895
              [Gtk] The accessible hierarchy of tables is significantly incorrect for Atk
      
              Gives platforms the ability to exclude parts of an AccessibilityTable
              from the accessible hierarchy.
      
              * accessibility/gtk/AccessibilityObjectAtk.cpp:
              (AccessibilityObject::accessibilityPlatformIncludesObject):
              * accessibility/AccessibilityRenderObject.cpp:
              (AccessibilityRenderObject::determineAccessibilityRole):
              * accessibility/AccessibilityTable.cpp:
              (AccessibilityTable::addChildren):
              * accessibility/AccessibilityTableColumn.h:
              (accessibilityIsIgnored):
              * accessibility/AccessibilityTableHeaderContainer.h:
              (accessibilityIsIgnored):
              * accessibility/AccessibilityTableRow.cpp:
              (accessibilityIsIgnored):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@55680 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fad8d126
  15. 06 Mar, 2010 1 commit
  16. 26 Feb, 2010 1 commit
  17. 19 Jan, 2010 1 commit
    • jhoneycutt@apple.com's avatar
      MSAA: The child <option> elements of a non-multiple <select> are not · c344ece4
      jhoneycutt@apple.com authored
      exposed
      
      https://bugs.webkit.org/show_bug.cgi?id=33773
      <rdar://problem/7550556>
      
      WebCore:
      
      Reviewed by Alice Liu.
      
      This exposes the child <option> elements in a format similar to
      Firefox's: the <select> element has one child, a hidden list object,
      and this list has as its children the <option> elements.
      
      * GNUmakefile.am:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      Add new files to project.
      
      * accessibility/AXObjectCache.cpp:
      (WebCore::AXObjectCache::getOrCreate):
      If the element is a RenderMenuList, create an AccessibilityMenuList.
      (WebCore::AXObjectCache::getOrCreate):
      Add new types to create by role value.
      
      * accessibility/AccessibilityMenuList.cpp: Added.
      (WebCore::AccessibilityMenuList::AccessibilityMenuList):
      Call the base class constructor. Assert that the RenderObject passed
      is a RenderMenuList.
      (WebCore::AccessibilityMenuList::press):
      Show or hide the popup menu.
      (WebCore::AccessibilityMenuList::addChildren):
      Create an AccessibilityMenuListPopup. If the platform ignores its
      accessibility, remove it from the object cache and return early.
      Otherwise, set its parent object to this object, add it to our list of
      children, and tell it to add its children.
      (WebCore::AccessibilityMenuList::childrenChanged):
      Tell our child hidden list that its children changed.
      (WebCore::AccessibilityMenuList::isCollapsed):
      Return whether the popup menu is visible.
      
      * accessibility/AccessibilityMenuList.h: Added.
      (WebCore::AccessibilityMenuList::create):
      Adopt and return a new RenderMenuList.
      (WebCore::AccessibilityMenuList::isMenuList):
      (WebCore::AccessibilityMenuList::roleValue):
      (WebCore::AccessibilityMenuList::accessibilityIsIgnored):
      (WebCore::AccessibilityMenuList::canSetFocusAttribute):
      
      * accessibility/AccessibilityMenuListOption.cpp: Added.
      (WebCore::AccessibilityMenuListOption::AccessibilityMenuListOption):
      Initialize the pointer to our parent popup menu.
      (WebCore::AccessibilityMenuListOption::setElement):
      Assert that the element is an <option> element.
      (WebCore::AccessibilityMenuListOption::actionElement):
      Return our element.
      (WebCore::AccessibilityMenuListOption::parentObject):
      Return our parent popup menu.
      (WebCore::AccessibilityMenuListOption::isEnabled):
      Return true if the element itself is enabled.
      (WebCore::AccessibilityMenuListOption::isVisible):
      Return true if the popup is visible, or return true if the popup is
      collapsed but the element is selected.
      (WebCore::AccessibilityMenuListOption::isOffScreen):
      Return true if the object is invisible.
      (WebCore::AccessibilityMenuListOption::isSelected):
      (WebCore::AccessibilityMenuListOption::setSelected):
      (WebCore::AccessibilityMenuListOption::nameForMSAA):
      Return the <option> element's text.
      (WebCore::AccessibilityMenuListOption::canSetSelectedAttribute):
      Return true if enabled.
      (WebCore::AccessibilityMenuListOption::elementRect):
      Return the AccessibilityMenuList's rect.
      
      * accessibility/AccessibilityMenuListOption.h: Added.
      (WebCore::AccessibilityMenuListOption::create):
      Adopt and return a new AccessibilityMenuListOption.
      (WebCore::AccessibilityMenuListOption::setParent):
      (WebCore::AccessibilityMenuListOption::isMenuListOption):
      (WebCore::AccessibilityMenuListOption::roleValue):
      (WebCore::AccessibilityMenuListOption::canHaveChildren):
      (WebCore::AccessibilityMenuListOption::size):
      
      * accessibility/AccessibilityMenuListPopup.cpp: Added.
      (WebCore::AccessibilityMenuListPopup::AccessibilityMenuListPopup):
      Initialize the pointer to our parent list.
      (WebCore::AccessibilityMenuListPopup::isVisible):
      Return false; we're never considered visible.
      (WebCore::AccessibilityMenuListPopup::isOffScreen):
      Return true if the popup is collapsed.
      (WebCore::AccessibilityMenuListPopup::parentObject):
      Return our parent AccessibilityMenuList.
      (WebCore::AccessibilityMenuListPopup::isEnabled):
      Return true if our parent is enabled.
      (WebCore::AccessibilityMenuListPopup::menuListOptionAccessibilityObject):
      If the element is an <option> element, create a list item for it, and
      set the object's element to this element.
      (WebCore::AccessibilityMenuListPopup::press):
      Call our parent's press() function to show or hide the popup menu.
      (WebCore::AccessibilityMenuListPopup::addChildren):
      Walk the select element's children, and create list items for them. Add
      them to our list of children.
      (WebCore::AccessibilityMenuListPopup::childrenChanged):
      If any of our children have been detached from the document, remove
      them from the AXObjectCache and from our child list.
      (WebCore::AccessibilityMenuListPopup::setMenuList):
      
      * accessibility/AccessibilityMenuListPopup.h: Added.
      (WebCore::AccessibilityMenuListPopup::create):
      Adopt and return an AccessibilityMenuListPopup.
      (WebCore::AccessibilityMenuListPopup::isMenuListPopup):
      (WebCore::AccessibilityMenuListPopup::elementRect):
      (WebCore::AccessibilityMenuListPopup::size):
      (WebCore::AccessibilityMenuListPopup::roleValue):
      
      * accessibility/AccessibilityObject.cpp:
      (WebCore::AccessibilityObject::actionVerb):
      Add the menuListAction and menuListPopupAction verbs.
      
      * accessibility/AccessibilityObject.h:
      (WebCore::):
      Add new roles.
      (WebCore::AccessibilityObject::isMenuList):
      Stubbed.
      (WebCore::AccessibilityObject::isMenuListHiddenList):
      Stubbed.
      (WebCore::AccessibilityObject::isMenuListOption):
      Stubbed.
      (WebCore::AccessibilityObject::isVisible):
      Stubbed.
      
      * accessibility/chromium/AccessibilityObjectChromium.cpp:
      (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
      Ignore the new object type.
      
      * accessibility/gtk/AccessibilityObjectAtk.cpp:
      (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
      Ditto.
      
      * accessibility/mac/AccessibilityObjectMac.mm:
      (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
      Ditto.
      
      * accessibility/qt/AccessibilityObjectQt.cpp:
      (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
      Ditto.
      
      * accessibility/win/AccessibilityObjectWin.cpp:
      (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
      Allow the new object types.
      
      * accessibility/wx/AccessibilityObjectWx.cpp:
      (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
      Ignore the new object type.
      
      * accessibility/win/AccessibilityObjectWin.cpp:
      (WebCore::AccessibilityObject::accessibilityPlatformIncludesObject):
      If the object is an AccessibilityMenuListHiddenList or
      AccessibilityMenuListOption, include it.
      
      * html/HTMLOptionElement.cpp:
      (WebCore::HTMLOptionElement::disabled):
      Call ownElementDisabled().
      
      * html/HTMLOptionElement.h:
      (WebCore::HTMLOptionElement::ownElementDisabled):
      Return the base class implementation of disabled, which returns
      whether this <option> itself is disabled.
      
      * platform/LocalizedStrings.h:
      Declare new localized string functions.
      
      * platform/gtk/LocalizedStringsGtk.cpp:
      (WebCore::AXMenuListPopupActionVerb):
      Stubbed.
      (WebCore::AXMenuListActionVerb):
      Stubbed.
      
      * platform/haiku/LocalizedStringsHaiku.cpp:
      (WebCore::AXMenuListPopupActionVerb):
      Stubbed.
      (WebCore::AXMenuListActionVerb):
      Stubbed.
      
      * platform/mac/LocalizedStringsMac.mm:
      (WebCore::AXMenuListPopupActionVerb):
      Call the view factory's method.
      (WebCore::AXMenuListActionVerb):
      Ditto.
      
      * platform/qt/Localizations.cpp:
      (WebCore::AXMenuListPopupActionVerb):
      Stubbed.
      (WebCore::AXMenuListActionVerb):
      Stubbed.
      
      * platform/wx/LocalizedStringsWx.cpp:
      (WebCore::AXMenuListPopupActionVerb):
      Stubbed.
      (WebCore::AXMenuListActionVerb):
      Stubbed.
      
      WebKit:
      
      Reviewed by Alice Liu.
      
      * English.lproj/Localizable.strings:
      Add new localized strings.
      
      WebKit/mac:
      
      * WebCoreSupport/WebViewFactory.mm:
      (-[WebViewFactory AXMenuListPopupActionVerb]):
      Stubbed.
      (-[WebViewFactory AXMenuListActionVerb]):
      Stubbed.
      
      WebKit/win:
      
      Reviewed by Alice Liu.
      
      * AccessibleBase.cpp:
      (AccessibleBase::get_accState):
      If the object is invisible, set the invisible state flag. If the object
      is collapsed, set the collapsed state. If the object is a combo box,
      set the has popup flag, and if it's not collapsed, set the expanded
      flag.
      (MSAARole):
      Add new WebCore to MSAA role mappings.
      
      * WebCoreLocalizedStrings.cpp:
      (WebCore::AXMenuListActionVerb):
      Return the action verb that Firefox uses for <select> elements with
      popups.
      (WebCore::AXMenuListPopupActionVerb):
      Return the verb that Firefox uses for a popup list.
      
      WebKitTools:
      
      Reviewed by Alice Liu.
      
      * DumpRenderTree/AccessibilityUIElement.cpp:
      (getIsVisibleCallback):
      Call the object's isVisible() function.
      (getIsOffScreenCallback):
      Ditto, for isOffScreen().
      (getIsCollapsedCallback):
      Ditto, for isCollapsed().
      (getHasPopupCallback):
      Ditto, for hasPopup().
      (AccessibilityUIElement::getJSClass):
      Add isVisible and isOffScreen attributes.
      
      * DumpRenderTree/AccessibilityUIElement.h:
      Declare new functions.
      
      * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
      (AccessibilityUIElement::isVisible):
      Stubbed.
      (AccessibilityUIElement::isOffScreen):
      Stubbed.
      (AccessibilityUIElement::isCollapsed):
      Stubbed.
      (AccessibilityUIElement::hasPopup):
      Stubbed.
      
      * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
      (AccessibilityUIElement::isVisible):
      Stubbed.
      (AccessibilityUIElement::isOffScreen):
      Stubbed.
      (AccessibilityUIElement::isCollapsed):
      Stubbed.
      (AccessibilityUIElement::hasPopup):
      Stubbed.
      
      * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
      (AccessibilityUIElement::showMenu):
      Call the object's accDoDefaultAction() to show its popup menu.
      (AccessibilityUIElement::isEnabled):
      Check that the object does not have the "unavailable" state.
      (AccessibilityUIElement::isVisible):
      Check that the object does not have the "invisible" state.
      (AccessibilityUIElement::isOffScreen):
      Check whether the object has the "offscreen" state.
      (AccessibilityUIElement::isCollapsed):
      Check whether the object has the "collapsed" state.
      (AccessibilityUIElement::hasPopup):
      Check whether the object has the "has popup" state.
      
      LayoutTests:
      
      Reviewed by Alice Liu.
      
      * platform/win/accessibility/single-select-children-expected.txt: Added.
      * platform/win/accessibility/single-select-children.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@53512 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c344ece4
  18. 06 Jan, 2010 1 commit
  19. 28 Oct, 2009 2 commits
  20. 26 Oct, 2009 1 commit
    • eric@webkit.org's avatar
      2009-10-26 Joanmarie Diggs <joanmarie.diggs@gmail.com> · 9e4b9729
      eric@webkit.org authored
              Reviewed by Xan Lopez.
      
              https://bugs.webkit.org/show_bug.cgi?id=27085
              [Gtk] Incorrect rendering of list
      
              Adds a way for platforms to indicate that a particular object
              should not be ignored.
      
              * accessibility/AccessibilityObject.h:
              * accessibility/chromium/AccessibilityObjectChromium.cpp:
              * accessibility/gtk/AccessibilityObjectAtk.cpp:
              * accessibility/mac/AccessibilityObjectMac.mm:
              * accessibility/qt/AccessibilityObjectQt.cpp:
              * accessibility/win/AccessibilityObjectWin.cpp:
              * accessibility/wx/AccessibilityObjectWx.cpp:
              (AccessibilityObject::accessibilityPlatformIncludesObject):
              * accessibility/AccessibilityRenderObject.cpp:
              (AccessibilityRenderObject::accessibilityIsIgnored):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@50053 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e4b9729
  21. 18 May, 2009 1 commit
  22. 09 Apr, 2009 1 commit
  23. 09 Nov, 2008 1 commit
    • ddkilzer@apple.com's avatar
      BUILD FIX: Qt build broke after r38235. · 8d878632
      ddkilzer@apple.com authored
              Added HAVE(ACCESSIBILITY) header guards to platform implementation
              source files.
      
              * page/gtk/AccessibilityObjectAtk.cpp: Added HAVE(ACCESSIBILITY)
              guards.
              * page/gtk/AccessibilityObjectWrapperAtk.cpp: Ditto.
              * page/qt/AccessibilityObjectQt.cpp: Ditto.
              * page/win/AccessibilityObjectWin.cpp: Ditto.
              * page/wx/AccessibilityObjectWx.cpp: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38244 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8d878632
  24. 26 Aug, 2008 1 commit
  25. 13 May, 2008 1 commit
  26. 30 Nov, 2007 1 commit
  27. 25 Sep, 2007 1 commit
    • ddkilzer's avatar
      JavaScriptCore: · c8eccecd
      ddkilzer authored
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * COPYING.LIB:
              * bindings/testbindings.cpp:
              * kjs/AllInOneFile.cpp:
              * kjs/DateMath.cpp:
              * kjs/PropertyNameArray.cpp:
              * kjs/PropertyNameArray.h:
              * kjs/config.h:
      
      WebCore:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * LICENSE-LGPL-2:
              * LICENSE-LGPL-2.1:
              * WebCorePrefix.h:
              * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/js/JSDocumentCustom.cpp:
              * bindings/js/JSHTMLCollectionCustom.cpp:
              * bindings/js/JSHTMLElementWrapperFactory.cpp:
              * bindings/js/JSHTMLElementWrapperFactory.h:
              * bindings/js/JSHTMLInputElementBase.cpp:
              * bindings/js/JSHTMLInputElementBase.h:
              *...
      c8eccecd
  28. 12 Jun, 2007 1 commit
  29. 04 May, 2007 1 commit
    • sfalken's avatar
      Reviewed by Oliver. · 11ce3bff
      sfalken authored
              Use TextBreakIterator for sentence breaking instead of TextBoundaries.
      
              * WebCore.xcodeproj/project.pbxproj: Added TextBreakIeratorInternalICUMac.mm
              * editing/visible_units.cpp:
              (WebCore::startSentenceBoundary): Call TextBreakIterator instead of TextBoundaries.
              (WebCore::endSentenceBoundary): Call TextBreakIterator instead of TextBoundaries.
              (WebCore::previousSentencePositionBoundary): Call TextBreakIterator instead of TextBoundaries.
              (WebCore::nextSentencePositionBoundary): Call TextBreakIterator instead of TextBoundaries.
              * platform/TextBoundaries.h: Removed findSentenceBoundary, findNextSentenceFromIndex.
              * platform/TextBreakIterator.h: Added sentenceBreakIterator.
              * platform/TextBreakIteratorICU.cpp:
              (WebCore::setUpIterator): Add locale parameter (needed to maintain functionality that TextBoundaries code had).
              (WebCore::characterBreakIterator): Pass en_us for locale (same as old code).
              (WebCore::wordBreakIterator): Pass en_us for locale (same as old code).
              (WebCore::lineBreakIterator): Pass en_us for locale (same as old code).
              (WebCore::sentenceBreakIterator): Added.
              * platform/TextBreakIteratorInternalICU.h: Added.
              * platform/gdk/TemporaryLinkStubs.cpp: Removed findNextSentenceFromIndex, findSentenceBoundary.
              (WebCore::currentTextBreakLocaleID): Added stub.
              * platform/mac/TextBoundaries.mm: Removed currentTextBreakLocaleID, findSentenceBoundary, findNextSentenceFromIndex.
              * platform/mac/TextBreakIteratorInternalICUMac.mm: Added.
              (WebCore::currentTextBreakLocaleID): Moved from TextBoundaries.mm
              * platform/qt/TextBoundaries.cpp: Removed findNextSentenceFromIndex, findSentenceBoundary.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      11ce3bff
  30. 29 Aug, 2006 1 commit
    • andersca's avatar
      2006-08-29 Anders Carlsson <acarlsson@apple.com> · 98455478
      andersca authored
              Reviewed by Darin and Geoff.
      
              Move the CF String functions to separate files in platform/cf.
              Also, move the files in platform/cfnet to platform/cf.
      
              * WebCore.xcodeproj/project.pbxproj:
              * platform/PlatformString.h:
              * platform/StringImpl.h:
              * platform/cf/StringCF.cpp: Added.
              (WebCore::String::String):
              * platform/cf/StringImplCF.cpp: Added.
              (WebCore::StringImpl::createCFString):
              * platform/cfnet/KURLCFNet.cpp: Removed.
              * platform/cfnet/ResourceLoaderCFNet.cpp: Removed.
              * platform/mac/StringImplMac.mm:
              * platform/mac/StringMac.mm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@16094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      98455478
  31. 24 Jul, 2006 1 commit
    • darin's avatar
      Reviewed by Hyatt. · c06c4470
      darin authored
              - implement String::createCFString
      
              * WebCore.xcodeproj/project.pbxproj: Added StringImplMac.mm and StringMac.mm.
      
              * bindings/objc/DOMInternal.mm: Moved NSString conversion functions out of here.
      
              * platform/mac/StringImplMac.mm: Added. Moved NSString conversion members here
              and added the CFStringRef ones.
              * platform/mac/StringMac.mm: Added. Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15614 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c06c4470
  32. 05 Feb, 2006 1 commit
    • darin's avatar
      Rubber stamped by Maciej. · ea944763
      darin authored
              - renamed DOMString and DOMStringImpl to String and StringImpl, and moved into platform
      
              * config.h: Put in transitional defines so old code can still refer to the classes
              as DOMString and DOMStringImpl.
      
              * platform/AtomicString.cpp: Added.
              * platform/AtomicString.h: Added.
              * platform/AtomicStringImpl.h: Added.
              * platform/PlatformString.h: Added.
              * platform/String.cpp: Added.
              * platform/StringImpl.cpp: Added.
              * platform/StringImpl.h: Added.
              Moved files here and renamed them. PlatformString.h would be named String.h except
              that conflicts with <string.h> on non-case-sensitive file systems.
      
              * khtml/xml/dom_atomicstring.cpp: Removed.
              * khtml/xml/dom_atomicstring.h: Removed.
              * khtml/xml/dom_stringimpl.cpp: Removed.
              * khtml/xml/dom_stringimpl.h: Removed.
              * khtml/dom/dom_string.cpp: Removed.
              * khtml/dom/dom_string.h: Removed.
      
              * WebCore.xcodeproj/project.pbxproj: Updated for file adds and removes.
              * WebCore.vcproj/WebCore/WebCore.vcproj: Ditto.
      
              * WebCore+SVG/KDOMHeaders.h:
              * WebCore+SVG/Namespace.h:
              * WebCore+SVG/kdom.h:
              * bindings/objc/DOM.mm:
              * bindings/objc/DOMCSS.mm:
              * bindings/objc/DOMHTML.mm:
              * bindings/objc/DOMInternal.mm:
              * bridge/BrowserExtension.h:
              * css/css_base.h:
              * css/css_computedstyle.cpp:
              * css/css_grammar.y:
              * css/css_ruleimpl.h:
              * css/css_stylesheetimpl.cpp:
              * css/css_stylesheetimpl.h:
              * css/css_valueimpl.cpp:
              * css/csshelper.cpp:
              * css/csshelper.h:
              * css/cssparser.h:
              * css/cssstyleselector.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              * khtml/dom/dom2_events.h:
              * khtml/ecma/JSXMLHttpRequest.cpp:
              * khtml/ecma/kjs_html.cpp:
              * khtml/ecma/kjs_window.cpp:
              * khtml/editing/SelectionController.cpp:
              * khtml/editing/apply_style_command.cpp:
              * khtml/editing/delete_from_text_node_command.h:
              * khtml/editing/insert_into_text_node_command.h:
              * khtml/editing/jsediting.h:
              * khtml/editing/rebalance_whitespace_command.h:
              * khtml/editing/remove_css_property_command.h:
              * khtml/editing/typing_command.h:
              * khtml/html/FormDataList.h:
              * khtml/html/HTMLNameCollectionImpl.h:
              * khtml/html/html_baseimpl.cpp:
              * khtml/html/html_objectimpl.cpp:
              * khtml/khtml_events.h:
              * khtml/xbl/xbl_binding.h:
              * khtml/xbl/xbl_protobinding.h:
              * khtml/xbl/xbl_protohandler.h:
              * khtml/xbl/xbl_protoimplementation.h:
              * khtml/xml/DOMImplementationImpl.cpp:
              * khtml/xml/EventNames.h:
              * khtml/xml/NameNodeListImpl.h:
              * khtml/xml/NamedNodeMapImpl.h:
              * khtml/xml/NodeImpl.cpp:
              * khtml/xml/NodeImpl.h:
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/dom_atomicstringlist.h:
              * khtml/xml/dom_elementimpl.h:
              * khtml/xml/dom_qname.h:
              * khtml/xml/dom_xmlimpl.cpp:
              * khtml/xml/xml_tokenizer.h:
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              * khtml/xsl/xslt_processorimpl.h:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              * ksvg2/svg/SVGAngleImpl.h:
              * ksvg2/svg/SVGAnimateColorElementImpl.cpp:
              * ksvg2/svg/SVGAnimatedStringImpl.h:
              * ksvg2/svg/SVGAnimationElementImpl.cpp:
              * ksvg2/svg/SVGColorImpl.h:
              * ksvg2/svg/SVGDOMImplementationImpl.cpp:
              * ksvg2/svg/SVGElementImpl.cpp:
              * ksvg2/svg/SVGFitToViewBoxImpl.cpp:
              * ksvg2/svg/SVGLangSpaceImpl.cpp:
              * ksvg2/svg/SVGLangSpaceImpl.h:
              * ksvg2/svg/SVGLengthImpl.h:
              * ksvg2/svg/SVGMarkerElementImpl.cpp:
              * ksvg2/svg/SVGPaintImpl.h:
              * ksvg2/svg/SVGPathSegImpl.h:
              * ksvg2/svg/SVGPreserveAspectRatioImpl.cpp:
              * ksvg2/svg/SVGSVGElementImpl.cpp:
              * ksvg2/svg/SVGScriptElementImpl.cpp:
              * ksvg2/svg/SVGStringListImpl.h:
              * ksvg2/svg/SVGStylableImpl.h:
              * ksvg2/svg/SVGStyleElementImpl.cpp:
              * ksvg2/svg/SVGStyledElementImpl.cpp:
              * ksvg2/svg/SVGSymbolElementImpl.cpp:
              * ksvg2/svg/SVGViewElementImpl.cpp:
              * kwq/KWQAccObject.mm:
              * kwq/KWQFontFamily.h:
              * kwq/KWQFontFamily.mm:
              * kwq/KWQKJobClasses.h:
              * kwq/KWQKJobClasses.mm:
              * loader/Cache.h:
              * loader/CachedObject.h:
              * loader/CachedXBLDocument.h:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocLoader.h:
              * page/Frame.cpp:
              * page/FrameTreeNode.h:
              * platform/SegmentedString.h:
              * rendering/render_image.h:
              * rendering/render_style.cpp:
              * xml/xmlhttprequest.cpp:
              Updated all includes to use new filenames.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ea944763
  33. 22 Jan, 2006 1 commit
    • darin's avatar
      LayoutTests: · 82447ad9
      darin authored
              Reviewed by Maciej.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5656
              REGRESSION: Buttons on Yahoo! Mail misplaced in ToT
              <rdar://problem/4404335>
              Tests whether white-space mode on buttons is inherited and not forced.
      
              * fast/forms/button-white-space-expected.checksum: Added.
              * fast/forms/button-white-space-expected.png: Added.
              * fast/forms/button-white-space-expected.txt: Added.
              * fast/forms/button-white-space.html: Added.
      
      WebCore:
      
              Reviewed by Maciej.
      
              - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=5656
              REGRESSION: Buttons on Yahoo! Mail misplaced in ToT
              <rdar://problem/4404335>
              Tests whether white-space mode on buttons is inheritied and not forced.
              Originally broken in Subversion revision r10909.
      
              * css/html4.css: Remove default white-space value for <button> tag to
              allow it to be inherited.
              * rendering/render_theme_mac.mm:
              (khtml::RenderThemeMac::adjustButtonStyle): Fix misleading comment.
      
              * css/UserAgentStyleSheets.cpp: Touched this file to make the rebuild
              of html4.css work (shouldn't have to do this).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82447ad9
  34. 18 Jan, 2006 1 commit
    • darin's avatar
      Reviewed by Hyatt. · 4ecb97ed
      darin authored
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6646
                compile CSS sources in instead of reading them from disk
      
              * WebCore.vcproj/WebCore/WebCore.vcproj:
              * WebCore.vcproj/WebCore/build-generated-files.sh:
      
              * css/make-css-file-arrays.pl: Added. Used to generate C array forms of the ".css" files.
              * css/UserAgentStyleSheets.cpp: Added. Used to indirectly compile the generated file.
      
              * WebCore.xcodeproj/project.pbxproj: Added new source files. Added a build phase to
              invoke the make-css-file-arrays.pl script. Removed the .css files, which no longer need
              to be installed as part of the final package.
      
              * css/cssstyleselector.cpp: (WebCore::parseUASheet): Removed code to read user agent
              sheets from disk. Replaced with code that gets them from compiled-in arrays instead.
              Uses a pretty lame DOMString hack that could be reworked some day.
              (WebCore::CSSStyleSelector::loadDefaultStyle): Change to load from arrays intead of disk.
      
              * css/html4.css: Added missing license header, tweaked format a bit.
              * css/quirks.css: Added missing license header, tweaked format.
              * css/svg.css: Moved from ksvg2/css directory.
              * ksvg2/css/svg.css: Moved to top level css directory.
      
              * page/Frame.cpp: Removed includes of qfile.h and kstandarddirs.h.
      
              * ForwardingHeaders/kstandarddirs.h: Removed.
              * ForwardingHeaders/qfile.h: Removed.
              * kwq/KWQFile.h: Removed.
              * kwq/KWQFile.mm: Removed.
              * kwq/KWQKStandardDirs.h: Removed.
              * kwq/KWQKStandardDirs.mm: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12167 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4ecb97ed
  35. 04 Dec, 2005 3 commits
    • eseidel's avatar
      Bug #: 5930 · f0d2eefd
      eseidel authored
      Submitted by: eseidel
      Reviewed by: ggaren
              No additional test cases needed (or possible).
      
              Further dom/* cleanup, also removing extra forwarding headers
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5930
      
              * ForwardingHeaders/dom/dom2_views.h: Removed.
              * ForwardingHeaders/dom/dom_core.h: Removed.
              * ForwardingHeaders/dom/dom_doc.h: Removed.
              * ForwardingHeaders/dom/dom_element.h: Removed.
              * ForwardingHeaders/dom/dom_misc.h: Removed.
              * ForwardingHeaders/dom/dom_text.h: Removed.
              * ForwardingHeaders/dom/dom_xml.h: Removed.
              * ForwardingHeaders/dom/html_base.h: Removed.
              * ForwardingHeaders/dom/html_block.h: Removed.
              * ForwardingHeaders/dom/html_document.h: Removed.
              * ForwardingHeaders/dom/html_element.h: Removed.
              * ForwardingHeaders/dom/html_form.h: Removed.
              * ForwardingHeaders/dom/html_head.h: Removed.
              * ForwardingHeaders/dom/html_image.h: Removed.
              * ForwardingHeaders/dom/html_inline.h: Removed.
              * ForwardingHeaders/dom/html_list.h: Removed.
              * ForwardingHeaders/dom/html_misc.h: Removed.
              * ForwardingHeaders/dom/html_object.h: Removed.
              * ForwardingHeaders/dom/html_table.h: Removed.
              * ForwardingHeaders/ecma/kjs_css.h: Removed.
              * ForwardingHeaders/ecma/kjs_html.h: Removed.
              * ForwardingHeaders/ecma/kjs_html.lut.h: Removed.
              * ForwardingHeaders/ecma/kjs_views.h: Removed.
              * ForwardingHeaders/ecma/kjs_views.lut.h: Removed.
              * ForwardingHeaders/ecma/kjs_window.h: Removed.
              * ForwardingHeaders/html/dtd.h: Removed.
              * ForwardingHeaders/kdom/KDOMPart.h: Removed.
              * ForwardingHeaders/kdom/KDOMView.h: Removed.
              * ForwardingHeaders/kdom/core/NodeListImpl.h: Removed.
              * ForwardingHeaders/kdom/css/CSSMediaRuleImpl.h: Removed.
              * ForwardingHeaders/kdom/css/CSSRuleImpl.h: Removed.
              * ForwardingHeaders/kdom/css/CSSRuleListImpl.h: Removed.
              * ForwardingHeaders/kdom/css/cssproperties.h: Removed.
              * ForwardingHeaders/kdom/css/cssvalues.h: Removed.
              * ForwardingHeaders/kdom/events/DocumentEventImpl.h: Removed.
              * ForwardingHeaders/kdom/parser/KDOMDocumentBuilder.h: Removed.
              * ForwardingHeaders/kdomcssproperties.h: Removed.
              * ForwardingHeaders/kdomcssvalues.h: Removed.
              * ForwardingHeaders/kinstance.h: Removed.
              * ForwardingHeaders/kjs/identifier.h: Removed.
              * ForwardingHeaders/kjs/property_map.h: Removed.
              * ForwardingHeaders/kjs/protected_object.h: Removed.
              * ForwardingHeaders/kjs/scope_chain.h: Removed.
              * ForwardingHeaders/kjs/ustring.h: Removed.
              * ForwardingHeaders/kjs/value.h: Removed.
              * ForwardingHeaders/ksvg2/svg/svgtags.h: Removed.
              * ForwardingHeaders/q3intdict.h: Removed.
              * ForwardingHeaders/q3memarray.h: Removed.
              * ForwardingHeaders/q3ptrcollection.h: Removed.
              * ForwardingHeaders/q3ptrdict.h: Removed.
              * ForwardingHeaders/qcstring.h: Removed.
              * ForwardingHeaders/qcursor.h: Removed.
              * ForwardingHeaders/qintdict.h: Removed.
              * ForwardingHeaders/qpair.h: Removed.
              * ForwardingHeaders/qprinter.h: Removed.
              * ForwardingHeaders/qptrcollection.h: Removed.
              * ForwardingHeaders/qsize.h: Removed.
              * ForwardingHeaders/qsortedlist.h: Removed.
              * ForwardingHeaders/qvaluevector.h: Removed.
              * ForwardingHeaders/xml/dom_positioniterator.h: Removed.
              * khtml/css/css_ruleimpl.cpp:
              * khtml/dom/css_value.h:
              * khtml/dom/dom2_events.cpp:
              * khtml/dom/dom2_events.h:
              * khtml/dom/dom2_range.h:
              * khtml/dom/dom2_traversal.cpp:
              * khtml/dom/dom_exception.h:
              * khtml/dom/dom_node.h:
              * khtml/dom/dom_string.cpp:
              * khtml/ecma/kjs_traversal.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11446 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f0d2eefd
    • eseidel's avatar
      Bug #: 5929 · 7d605a21
      eseidel authored
      Submitted by: eseidel
      Reviewed by: darin
              No functionality changes, no test cases possible or necessary.
      
              Removed dom_misc.* and changed to use Shared instead of DOMShared.
              Also removed FilterNode typedef, now using NodeImpl* directly.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5929
      
              * WebCore.xcodeproj/project.pbxproj:
              * khtml/css/css_base.h:
              * khtml/dom/dom2_events.h:
              * khtml/dom/dom2_traversal.cpp:
              (DOM::NodeFilterCondition::acceptNode):
              * khtml/dom/dom2_traversal.h:
              * khtml/dom/dom_exception.h:
              * khtml/dom/dom_misc.cpp: Removed.
              * khtml/dom/dom_misc.h: Removed.
              * khtml/ecma/kjs_traversal.cpp:
              (KJS::JSNodeFilterCondition::acceptNode):
              * khtml/ecma/kjs_traversal.h:
              * kwq/DOM.mm:
              (ObjCNodeFilterCondition::acceptNode):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11431 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d605a21
    • eseidel's avatar
      Bug #: 5877 · 2928be58
      eseidel authored
      Submitted by: eseidel
      Reviewed by: mjs
              No test cases needed/possible, only removing dead code.
      
              Remove rotten #ifdef'd code from the source:
              APPLE_CHANGES & KHTML_NO_CPLUSPLUS_DOM
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5877
      
              * khtml/dom/css_rule.h:
              (DOM::CSSRule::):
              * khtml/dom/css_stylesheet.h:
              * khtml/dom/css_value.h:
              (DOM::CSSValue::):
              (DOM::CSSPrimitiveValue::):
              * khtml/dom/dom2_events.cpp:
              (DOM::EventListener::handleEventImpl):
              * khtml/dom/dom2_events.h:
              (DOM::Event::):
              (DOM::EventException::):
              (DOM::MutationEvent::):
              * khtml/dom/dom2_range.h:
              (DOM::RangeException::):
              (DOM::Range::):
              * khtml/dom/dom2_traversal.cpp:
              * khtml/dom/dom2_traversal.h:
              (DOM::NodeFilter::):
              * khtml/dom/dom_exception.h:
              (DOM::DOMException::):
              * khtml/dom/dom_misc.cpp:
              (DOM::DomShared::~DomShared):
              * khtml/dom/dom_misc.h:
              (DOM::DomShared::deleteMe):
              * khtml/dom/dom_node.h:
              (DOM::Node::):
              * khtml/ecma/kjs_events.cpp:
              (KJS::JSAbstractEventListener::handleEvent):
              * khtml/ecma/kjs_traversal.cpp:
              (KJS::JSNodeFilterCondition::acceptNode):
              * khtml/khtml_part.cpp:
              (KHTMLPart::stopLoading):
              * khtml/khtml_part.h:
              * khtml/khtmlview.cpp:
              (KHTMLView::viewportMousePressEvent):
              (KHTMLView::focusNextPrevNode):
              * kwq/KWQKConfigBase.h:
              * kwq/KWQKHTMLPageCache.h:
              * kwq/KWQPointArray.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2928be58
  36. 03 Oct, 2005 1 commit
    • mjs's avatar
      JavaScriptCore: · b64c50a2
      mjs authored
              Reviewed by Darin.
      
      	<rdar://problem/4283967> REGRESSION: 3% regression on PLT from new FastMalloc
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=5243
      
      	A number of optimizations to the new threadsafe malloc that make it actually as fast
      	as dlmalloc (I measured wrong before) and as memory-efficient as the system malloc.
      
      	- use fastMalloc for everything - it now gets applied to all new/delete allocations
      	via a private inline operator new that is now included into every file via config.h.
      
      	- tweaked some of the numeric parameters for size classes and amount of wasted memory
      	allowed per allocation - this saves on memory use and consequently improves speed.
      
      	- so long as the allocator is not being used on background threads, get the per-thread
      	cache from a global variable instead of from pthread_getspecific, since the latter is slow.
      
      	- inline more functions, and force the ones GCC refuses to inline with
      	attribute(always_inline), nearly all of these have one call site so inlining them has
      	to be a win.
      
      	- use some tricks to calculate allocation size more efficiently and fewer times for small
      	allocations, to avoid hitting the huge size table array.
      
      	- avoid hitting the per-thread cache on code paths that don't need it.
      
      	- implement inline assembly version of spinlock for PowerPC (was already done for x86)
      
              * bindings/NP_jsobject.cpp:
              * bindings/c/c_class.cpp:
              * bindings/c/c_instance.cpp:
              * bindings/c/c_runtime.cpp:
              * bindings/c/c_utility.cpp:
              * bindings/jni/jni_class.cpp:
              * bindings/jni/jni_instance.cpp:
              * bindings/jni/jni_jsobject.cpp:
              * bindings/jni/jni_objc.mm:
              * bindings/jni/jni_runtime.cpp:
              * bindings/jni/jni_utility.cpp:
              * bindings/npruntime.cpp:
              * bindings/objc/WebScriptObject.mm:
              * bindings/objc/objc_class.mm:
              * bindings/objc/objc_instance.mm:
              * bindings/objc/objc_runtime.mm:
              * bindings/objc/objc_utility.mm:
              * bindings/runtime.cpp:
              * bindings/runtime_array.cpp:
              * bindings/runtime_method.cpp:
              * bindings/runtime_object.cpp:
              * bindings/runtime_root.cpp:
              * bindings/testbindings.cpp:
              * bindings/testbindings.mm:
              * kjs/array_object.cpp:
              (ArrayInstanceImp::ArrayInstanceImp):
              (ArrayInstanceImp::~ArrayInstanceImp):
              (ArrayInstanceImp::resizeStorage):
              * kjs/bool_object.cpp:
              * kjs/collector.cpp:
              (KJS::Collector::registerThread):
              * kjs/config.h:
              * kjs/debugger.cpp:
              * kjs/error_object.cpp:
              * kjs/function.cpp:
              * kjs/function_object.cpp:
              * kjs/identifier.cpp:
              (KJS::Identifier::rehash):
              * kjs/internal.cpp:
              (KJS::Parser::saveNewNode):
              (KJS::clearNewNodes):
              * kjs/interpreter.cpp:
              * kjs/lexer.cpp:
              (Lexer::doneParsing):
              (Lexer::makeIdentifier):
              (Lexer::makeUString):
              * kjs/list.cpp:
              * kjs/math_object.cpp:
              * kjs/nodes.cpp:
              * kjs/nodes.h:
              * kjs/nodes2string.cpp:
              * kjs/number_object.cpp:
              (integer_part_noexp):
              (char_sequence):
              * kjs/object.cpp:
              * kjs/object_object.cpp:
              * kjs/property_map.cpp:
              * kjs/property_slot.cpp:
              * kjs/protected_values.cpp:
              (KJS::ProtectedValues::rehash):
              * kjs/reference.cpp:
              * kjs/reference_list.cpp:
              * kjs/regexp.cpp:
              * kjs/regexp_object.cpp:
              * kjs/scope_chain.cpp:
              * kjs/scope_chain.h:
              * kjs/string_object.cpp:
              * kjs/testkjs.cpp:
              * kjs/ustring.h:
              * kjs/value.cpp:
              * kxmlcore/Assertions.mm:
              * kxmlcore/FastMalloc.cpp:
              (KXMLCore::InitSizeClasses):
              (KXMLCore::DLL_IsEmpty):
              (KXMLCore::DLL_Prepend):
              (KXMLCore::TCMalloc_Central_FreeList::Insert):
              (KXMLCore::TCMalloc_Central_FreeList::Remove):
              (KXMLCore::TCMalloc_Central_FreeList::Populate):
              (KXMLCore::TCMalloc_ThreadCache::Allocate):
              (KXMLCore::TCMalloc_ThreadCache::FetchFromCentralCache):
              (KXMLCore::fastMallocRegisterThread):
              (KXMLCore::TCMalloc_ThreadCache::GetCache):
              (KXMLCore::TCMalloc_ThreadCache::GetCacheIfPresent):
              (KXMLCore::TCMalloc_ThreadCache::CreateCacheIfNecessary):
              (KXMLCore::do_malloc):
              (KXMLCore::do_free):
              (KXMLCore::realloc):
              * kxmlcore/FastMalloc.h:
              (operator new):
              (operator delete):
              (operator new[]):
              (operator delete[]):
              * kxmlcore/HashTable.cpp:
              * kxmlcore/TCSpinLock.h:
              (TCMalloc_SpinLock::Lock):
              (TCMalloc_SpinLock::Unlock):
              (TCMalloc_SlowLock):
              * kxmlcore/TCSystemAlloc.cpp:
      
      WebCore:
      
              Reviewed by Darin.
      
      	<rdar://problem/4283967> REGRESSION: 3% regression on PLT from new FastMalloc
      	http://bugzilla.opendarwin.org/show_bug.cgi?id=5243
      
      	- use fastMalloc for everything - it now gets applied to all new/delete allocations
              via a private inline operator new that is now included into every file via config.h
      
              * WebCore.xcodeproj/project.pbxproj:
              * WebCorePrefix.h:
              * khtml/css/css_base.cpp:
              * khtml/css/css_base.h:
              * khtml/css/css_computedstyle.cpp:
              * khtml/css/css_ruleimpl.cpp:
              * khtml/css/css_stylesheetimpl.cpp:
              * khtml/css/css_valueimpl.cpp:
              * khtml/css/css_valueimpl.h:
              * khtml/css/csshelper.cpp:
              * khtml/css/cssparser.cpp:
              (ValueList::ValueList):
              (ValueList::~ValueList):
              (ValueList::addValue):
              (CSSParser::CSSParser):
              (CSSParser::~CSSParser):
              (CSSParser::setupParser):
              (CSSParser::addProperty):
              * khtml/css/cssstyleselector.cpp:
              * khtml/css/cssstyleselector.h:
              * khtml/dom/dom2_events.cpp:
              * khtml/dom/dom2_traversal.cpp:
              * khtml/dom/dom_misc.cpp:
              * khtml/dom/dom_string.cpp:
              * khtml/ecma/domparser.cpp:
              * khtml/ecma/kjs_binding.cpp:
              * khtml/ecma/kjs_css.cpp:
              * khtml/ecma/kjs_dom.cpp:
              * khtml/ecma/kjs_events.cpp:
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::Context2DFunction::callAsFunction):
              (KJS::Gradient::~Gradient):
              (KJS::Gradient::addColorStop):
              (KJS::Gradient::colorStops):
              * khtml/ecma/kjs_navigator.cpp:
              * khtml/ecma/kjs_proxy.cpp:
              * khtml/ecma/kjs_range.cpp:
              * khtml/ecma/kjs_traversal.cpp:
              * khtml/ecma/kjs_views.cpp:
              * khtml/ecma/kjs_window.cpp:
              * khtml/ecma/xmlhttprequest.cpp:
              * khtml/ecma/xmlserializer.cpp:
              * khtml/editing/SelectionController.cpp:
              * khtml/editing/append_node_command.cpp:
              * khtml/editing/apply_style_command.cpp:
              * khtml/editing/break_blockquote_command.cpp:
              * khtml/editing/composite_edit_command.cpp:
              * khtml/editing/delete_from_text_node_command.cpp:
              * khtml/editing/delete_selection_command.cpp:
              * khtml/editing/edit_command.cpp:
              * khtml/editing/html_interchange.cpp:
              * khtml/editing/htmlediting.cpp:
              * khtml/editing/insert_into_text_node_command.cpp:
              * khtml/editing/insert_line_break_command.cpp:
              * khtml/editing/insert_node_before_command.cpp:
              * khtml/editing/insert_paragraph_separator_command.cpp:
              * khtml/editing/insert_text_command.cpp:
              * khtml/editing/join_text_nodes_command.cpp:
              * khtml/editing/jsediting.cpp:
              * khtml/editing/markup.cpp:
              * khtml/editing/merge_identical_elements_command.cpp:
              * khtml/editing/move_selection_command.cpp:
              * khtml/editing/rebalance_whitespace_command.cpp:
              * khtml/editing/remove_css_property_command.cpp:
              * khtml/editing/remove_node_attribute_command.cpp:
              * khtml/editing/remove_node_command.cpp:
              * khtml/editing/remove_node_preserving_children_command.cpp:
              * khtml/editing/replace_selection_command.cpp:
              * khtml/editing/set_node_attribute_command.cpp:
              * khtml/editing/split_element_command.cpp:
              * khtml/editing/split_text_node_command.cpp:
              * khtml/editing/split_text_node_containing_element.cpp:
              * khtml/editing/typing_command.cpp:
              * khtml/editing/visible_position.cpp:
              * khtml/editing/visible_range.cpp:
              * khtml/editing/visible_text.cpp:
              (khtml::CircularSearchBuffer::~CircularSearchBuffer):
              (khtml::CircularSearchBuffer::CircularSearchBuffer):
              * khtml/editing/visible_units.cpp:
              * khtml/editing/wrap_contents_in_dummy_span_command.cpp:
              * khtml/html/html_baseimpl.cpp:
              * khtml/html/html_blockimpl.cpp:
              * khtml/html/html_canvasimpl.cpp:
              * khtml/html/html_documentimpl.cpp:
              * khtml/html/html_elementimpl.cpp:
              * khtml/html/html_formimpl.cpp:
              * khtml/html/html_headimpl.cpp:
              * khtml/html/html_imageimpl.cpp:
              * khtml/html/html_inlineimpl.cpp:
              * khtml/html/html_listimpl.cpp:
              * khtml/html/html_miscimpl.cpp:
              * khtml/html/html_objectimpl.cpp:
              * khtml/html/html_tableimpl.cpp:
              * khtml/html/htmlfactory.cpp:
              * khtml/html/htmlnames.cpp:
              * khtml/html/htmlparser.cpp:
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::enlargeBuffer):
              (khtml::HTMLTokenizer::enlargeScriptBuffer):
              * khtml/khtml_events.cpp:
              * khtml/khtml_part.cpp:
              * khtml/khtmlview.cpp:
              * khtml/misc/arena.cpp:
              * khtml/misc/arena.h:
              * khtml/misc/decoder.cpp:
              * khtml/misc/formdata.cpp:
              * khtml/misc/helper.cpp:
              * khtml/misc/loader.cpp:
              * khtml/misc/stringit.cpp:
              * khtml/rendering/bidi.cpp:
              * khtml/rendering/break_lines.cpp:
              * khtml/rendering/font.cpp:
              * khtml/rendering/render_arena.cpp:
              * khtml/rendering/render_block.cpp:
              * khtml/rendering/render_box.cpp:
              * khtml/rendering/render_br.cpp:
              * khtml/rendering/render_canvas.cpp:
              * khtml/rendering/render_canvasimage.cpp:
              (RenderCanvasImage::~RenderCanvasImage):
              (RenderCanvasImage::createDrawingContext):
              * khtml/rendering/render_container.cpp:
              * khtml/rendering/render_flexbox.cpp:
              * khtml/rendering/render_flow.cpp:
              * khtml/rendering/render_form.cpp:
              * khtml/rendering/render_frames.cpp:
              * khtml/rendering/render_image.cpp:
              * khtml/rendering/render_inline.cpp:
              * khtml/rendering/render_layer.cpp:
              * khtml/rendering/render_line.cpp:
              * khtml/rendering/render_list.cpp:
              * khtml/rendering/render_object.cpp:
              * khtml/rendering/render_replaced.cpp:
              * khtml/rendering/render_style.cpp:
              * khtml/rendering/render_style.h:
              * khtml/rendering/render_table.cpp:
              * khtml/rendering/render_text.cpp:
              * khtml/rendering/render_theme.cpp:
              * khtml/rendering/render_theme_mac.mm:
              * khtml/rendering/table_layout.cpp:
              * khtml/xbl/xbl_binding.cpp:
              * khtml/xbl/xbl_binding_manager.cpp:
              * khtml/xbl/xbl_docimpl.cpp:
              * khtml/xbl/xbl_protobinding.cpp:
              * khtml/xbl/xbl_protohandler.cpp:
              * khtml/xbl/xbl_protoimplementation.cpp:
              * khtml/xbl/xbl_tokenizer.cpp:
              * khtml/xml/EventNames.cpp:
              * khtml/xml/dom2_eventsimpl.cpp:
              * khtml/xml/dom2_eventsimpl.h:
              * khtml/xml/dom2_rangeimpl.cpp:
              * khtml/xml/dom2_rangeimpl.h:
              * khtml/xml/dom2_traversalimpl.cpp:
              * khtml/xml/dom2_traversalimpl.h:
              * khtml/xml/dom2_viewsimpl.cpp:
              * khtml/xml/dom2_viewsimpl.h:
              * khtml/xml/dom_atomicstring.cpp:
              * khtml/xml/dom_docimpl.cpp:
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_elementimpl.cpp:
              * khtml/xml/dom_elementimpl.h:
              * khtml/xml/dom_nodeimpl.cpp:
              * khtml/xml/dom_nodeimpl.h:
              * khtml/xml/dom_position.cpp:
              * khtml/xml/dom_qname.cpp:
              * khtml/xml/dom_stringimpl.cpp:
              * khtml/xml/dom_stringimpl.h:
              * khtml/xml/dom_textimpl.cpp:
              * khtml/xml/dom_xmlimpl.cpp:
              * khtml/xml/xml_tokenizer.cpp:
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              * khtml/xsl/xslt_processorimpl.cpp:
              * kwq/DOM-CSS.mm:
              * kwq/DOM.mm:
              * kwq/DOMEvents.mm:
              * kwq/DOMHTML.mm:
              * kwq/DOMInternal.mm:
              (DOMString::DOMString):
              * kwq/DOMUtility.mm:
              * kwq/DOMViews.mm:
              * kwq/KWQAccObject.mm:
              * kwq/KWQAccObjectCache.mm:
              * kwq/KWQApplication.mm:
              * kwq/KWQArrayImpl.h:
              * kwq/KWQArrayImpl.mm:
              * kwq/KWQBuffer.mm:
              * kwq/KWQButton.mm:
              * kwq/KWQCString.mm:
              * kwq/KWQCharsets.mm:
              * kwq/KWQClipboard.mm:
              * kwq/KWQCollection.mm:
              * kwq/KWQColor.mm:
              * kwq/KWQComboBox.mm:
              * kwq/KWQCursor.mm:
              * kwq/KWQDateTime.mm:
              * kwq/KWQDictImpl.mm:
              * kwq/KWQEditCommand.mm:
              * kwq/KWQEvent.mm:
              * kwq/KWQExceptions.mm:
              * kwq/KWQFile.mm:
              * kwq/KWQFileButton.mm:
              * kwq/KWQFont.mm:
              * kwq/KWQFontFamily.h:
              * kwq/KWQFontFamily.mm:
              * kwq/KWQFontMetrics.mm:
              * kwq/KWQFormData.mm:
              * kwq/KWQFrame.mm:
              * kwq/KWQGlobal.mm:
              * kwq/KWQGuardedPtr.mm:
              * kwq/KWQKCharsets.mm:
              * kwq/KWQKConfigBase.mm:
              * kwq/KWQKCookieJar.mm:
              * kwq/KWQKCursor.mm:
              * kwq/KWQKGlobal.mm:
              * kwq/KWQKGlobalSettings.mm:
              * kwq/KWQKHTMLFactory.mm:
              * kwq/KWQKHTMLPart.cpp:
              * kwq/KWQKHTMLPart.mm:
              * kwq/KWQKHTMLPartBrowserExtension.mm:
              * kwq/KWQKHTMLView.mm:
              * kwq/KWQKHistoryProvider.mm:
              * kwq/KWQKJavaAppletWidget.mm:
              * kwq/KWQKJob.mm:
              * kwq/KWQKJobClasses.mm:
              * kwq/KWQKLocale.mm:
              * kwq/KWQKPartsBrowserInterface.mm:
              * kwq/KWQKPartsEvent.mm:
              * kwq/KWQKPartsPart.mm:
              * kwq/KWQKSSLKeyGen.mm:
              * kwq/KWQKStandardDirs.mm:
              * kwq/KWQKStringHandler.mm:
              * kwq/KWQKURL.mm:
              (KURL::KURL):
              (KURL::decode_string):
              (KURL::parse):
              (KURL::encode_string):
              (encodeRelativeString):
              * kwq/KWQKWin.mm:
              * kwq/KWQKWinModule.mm:
              * kwq/KWQLabel.mm:
              * kwq/KWQLineEdit.mm:
              * kwq/KWQListBox.mm:
              * kwq/KWQListImpl.mm:
              * kwq/KWQLoader.mm:
              (KWQIsResponseURLEqualToURL):
              * kwq/KWQMapImpl.h:
              * kwq/KWQMapImpl.mm:
              * kwq/KWQMovie.mm:
              * kwq/KWQObject.mm:
              * kwq/KWQPageState.mm:
              * kwq/KWQPaintDeviceMetrics.mm:
              * kwq/KWQPainter.mm:
              * kwq/KWQPalette.mm:
              * kwq/KWQPen.mm:
              * kwq/KWQPixmap.mm:
              * kwq/KWQPoint.mm:
              * kwq/KWQPointArray.mm:
              * kwq/KWQPtrDictImpl.mm:
              * kwq/KWQPushButton.mm:
              * kwq/KWQRect.mm:
              * kwq/KWQRegExp.mm:
              * kwq/KWQRegion.mm:
              * kwq/KWQRenderTreeDebug.cpp:
              * kwq/KWQResourceLoader.mm:
              * kwq/KWQScrollBar.mm:
              * kwq/KWQScrollView.mm:
              * kwq/KWQSignal.mm:
              * kwq/KWQSignalStubs.mm:
              * kwq/KWQSize.mm:
              * kwq/KWQSlider.mm:
              * kwq/KWQSlot.mm:
              * kwq/KWQString.h:
              * kwq/KWQString.mm:
              (ALLOC_CHAR):
              (REALLOC_CHAR):
              (DELETE_CHAR):
              (ALLOC_QCHAR):
              (REALLOC_QCHAR):
              (DELETE_QCHAR):
              (_printQStringAllocationStatistics):
              (allocateHandle):
              (KWQStringData::operator new):
              (KWQStringData::operator delete):
              (freeHandle):
              * kwq/KWQStringList.mm:
              * kwq/KWQStyle.mm:
              * kwq/KWQTextArea.mm:
              * kwq/KWQTextCodec.mm:
              * kwq/KWQTextEdit.mm:
              * kwq/KWQTextField.mm:
              * kwq/KWQTextStream.mm:
              * kwq/KWQTextUtilities.mm:
              * kwq/KWQTimer.mm:
              * kwq/KWQValueListImpl.h:
              * kwq/KWQValueListImpl.mm:
              * kwq/KWQVariant.mm:
              * kwq/KWQVectorImpl.mm:
              (KWQVectorImpl::KWQVectorImpl):
              (KWQVectorImpl::~KWQVectorImpl):
              (KWQVectorImpl::clear):
              (KWQVectorImpl::resize):
              (KWQVectorImpl::assign):
              * kwq/KWQWMatrix.mm:
              * kwq/KWQWidget.mm:
              * kwq/KWQWindowWidget.mm:
              * kwq/WebCoreBridge.mm:
              * kwq/WebCoreCache.mm:
              * kwq/WebCoreEncodings.mm:
              * kwq/WebCoreJavaScript.mm:
              * kwq/WebCoreScriptDebugger.mm:
              * kwq/WebCoreSettings.mm:
              * kwq/WebCoreTextRendererFactory.mm:
              * kwq/can-convert.mm:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b64c50a2
  37. 16 Sep, 2005 1 commit
    • adele's avatar
      JavaScriptCore: · 704e8bb4
      adele authored
              Change by Darin, reviewed by me and Maciej.
      
              Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=4547
              use int instead of long for 32-bit (to prepare for LP64 compiling)
      
              * bindings/c/c_class.h:
              (KJS::Bindings::CClass::constructorAt):
              (KJS::Bindings::CClass::numConstructors):
              * bindings/c/c_runtime.h:
              (KJS::Bindings::CMethod::numParameters):
              * bindings/jni/jni_class.cpp:
              (JavaClass::JavaClass):
              * bindings/jni/jni_class.h:
              (KJS::Bindings::JavaClass::constructorAt):
              (KJS::Bindings::JavaClass::numConstructors):
              * bindings/jni/jni_instance.cpp:
              (JavaInstance::invokeMethod):
              * bindings/jni/jni_jsobject.cpp:
              (JSObject::convertJObjectToValue):
              (JSObject::listFromJArray):
              * bindings/jni/jni_runtime.cpp:
              (JavaMethod::JavaMethod):
              * bindings/jni/jni_runtime.h:
              (KJS::Bindings::JavaConstructor::_commonCopy):
              (KJS::Bindings::JavaConstructor::parameterAt):
              (KJS::Bindings::JavaConstructor::numParameters):
              (KJS::Bindings::JavaMethod::_commonCopy):
              (KJS::Bindings::JavaMethod::parameterAt):
              (KJS::Bindings::JavaMethod::numParameters):
              * bindings/npapi.h:
              * bindings/objc/WebScriptObject.mm:
              (listFromNSArray):
              * bindings/objc/objc_class.h:
              (KJS::Bindings::ObjcClass::constructorAt):
              (KJS::Bindings::ObjcClass::numConstructors):
              * bindings/objc/objc_instance.h:
              * bindings/objc/objc_runtime.h:
              * bindings/objc/objc_runtime.mm:
              (ObjcMethod::numParameters):
              * bindings/runtime.h:
              * kjs/identifier.h:
              * kjs/internal.h:
              * kjs/property_slot.h:
              (KJS::PropertySlot::setCustomIndex):
              (KJS::PropertySlot::index):
              (KJS::PropertySlot::):
              * kjs/regexp_object.cpp:
              (RegExpObjectImp::backrefGetter):
              (RegExpObjectImp::getOwnPropertySlot):
              * kjs/simple_number.h:
              (KJS::SimpleNumber::):
              (KJS::SimpleNumber::value):
              (KJS::SimpleNumber::fits):
              (KJS::SimpleNumber::integerFits):
              (KJS::SimpleNumber::make):
              * kjs/string_object.cpp:
              (substituteBackreferences):
              * kjs/ustring.cpp:
              (KJS::UString::from):
              (KJS::UString::toUInt32):
              (KJS::UString::find):
              (KJS::UString::rfind):
              * kjs/ustring.h:
              * kjs/value.cpp:
              (KJS::jsNumber):
              * kjs/value.h:
      
      WebCore:
      
              Change by Darin, reviewed by me and Maciej.
      
              Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=4547
              use int instead of long for 32-bit (to prepare for LP64 compiling)
      
              Changed longs (which IDL files use as 32-bit) to ints
      
              * ForwardingHeaders/khtml_pagecache.h:
              * khtml/css/css_base.h:
              (DOM::StyleListImpl::length):
              (DOM::StyleListImpl::item):
              * khtml/css/css_computedstyle.cpp:
              (DOM::CSSComputedStyleDeclarationImpl::length):
              (DOM::CSSComputedStyleDeclarationImpl::item):
              * khtml/css/css_computedstyle.h:
              * khtml/css/css_ruleimpl.cpp:
              (CSSMediaRuleImpl::append):
              (CSSMediaRuleImpl::insertRule):
              (CSSMediaRuleImpl::cssText):
              (CSSRuleListImpl::CSSRuleListImpl):
              (CSSRuleListImpl::deleteRule):
              (CSSRuleListImpl::insertRule):
              * khtml/css/css_ruleimpl.h:
              (DOM::CSSRuleListImpl::length):
              (DOM::CSSRuleListImpl::item):
              (DOM::CSSMediaRuleImpl::deleteRule):
              * khtml/css/css_stylesheetimpl.cpp:
              (CSSStyleSheetImpl::insertRule):
              (CSSStyleSheetImpl::addRule):
              (CSSStyleSheetImpl::deleteRule):
              (StyleSheetListImpl::length):
              (StyleSheetListImpl::item):
              * khtml/css/css_stylesheetimpl.h:
              (DOM::MediaListImpl::length):
              (DOM::MediaListImpl::item):
              * khtml/css/css_valueimpl.cpp:
              (DOM::CSSMutableStyleDeclarationImpl::length):
              (DOM::CSSMutableStyleDeclarationImpl::item):
              * khtml/css/css_valueimpl.h:
              (DOM::CSSValueListImpl::length):
              (DOM::CSSValueListImpl::item):
              * khtml/dom/css_rule.h:
              * khtml/dom/css_stylesheet.h:
              * khtml/dom/css_value.h:
              * khtml/dom/dom2_events.cpp:
              (DOM::UIEvent::detail):
              (DOM::UIEvent::initUIEvent):
              (DOM::MouseEvent::screenX):
              (DOM::MouseEvent::screenY):
              (DOM::MouseEvent::clientX):
              (DOM::MouseEvent::clientY):
              (DOM::MouseEvent::initMouseEvent):
              (DOM::KeyboardEvent::keyLocation):
              (DOM::KeyboardEvent::initKeyboardEvent):
              * khtml/dom/dom2_events.h:
              * khtml/dom/dom2_range.h:
              * khtml/dom/dom2_traversal.cpp:
              (DOM::NodeIterator::whatToShow):
              (DOM::TreeWalker::whatToShow):
              * khtml/dom/dom2_traversal.h:
              * khtml/dom/dom_node.h:
              * khtml/ecma/kjs_css.cpp:
              (KJS::DOMCSSStyleDeclaration::getOwnPropertySlot):
              (KJS::DOMStyleSheetList::getOwnPropertySlot):
              (KJS::DOMMediaList::getOwnPropertySlot):
              (KJS::DOMCSSStyleSheetProtoFunc::callAsFunction):
              (KJS::DOMCSSRuleList::getOwnPropertySlot):
              (KJS::DOMCSSValueList::getOwnPropertySlot):
              * khtml/ecma/kjs_dom.cpp:
              (KJS::DOMNodeList::getOwnPropertySlot):
              (KJS::DOMNodeList::callAsFunction):
              (KJS::DOMNamedNodeMap::getOwnPropertySlot):
              (KJS::DOMNamedNodesCollection::getOwnPropertySlot):
              * khtml/ecma/kjs_events.cpp:
              (KJS::DOMEvent::getValueProperty):
              * khtml/ecma/kjs_html.cpp:
              (KJS::HTMLElement::getOwnPropertySlot):
              (KJS::KJS::HTMLElement::put):
              (KJS::HTMLCollection::getOwnPropertySlot):
              (KJS::KJS::HTMLCollection::callAsFunction):
              (KJS::KJS::HTMLSelectCollection::put):
              * khtml/ecma/kjs_navigator.cpp:
              (KJS::Plugins::getOwnPropertySlot):
              (KJS::MimeTypes::getOwnPropertySlot):
              (KJS::Plugin::getOwnPropertySlot):
              * khtml/editing/apply_style_command.cpp:
              (khtml::ApplyStyleCommand::splitTextAtStartIfNeeded):
              (khtml::ApplyStyleCommand::splitTextElementAtStartIfNeeded):
              (khtml::ApplyStyleCommand::mergeStartWithPreviousIfIdentical):
              * khtml/editing/break_blockquote_command.cpp:
              (khtml::BreakBlockquoteCommand::doApply):
              * khtml/editing/composite_edit_command.cpp:
              (khtml::CompositeEditCommand::insertNodeAt):
              (khtml::CompositeEditCommand::splitTextNode):
              (khtml::CompositeEditCommand::splitTextNodeContainingElement):
              (khtml::CompositeEditCommand::insertTextIntoNode):
              (khtml::CompositeEditCommand::deleteTextFromNode):
              (khtml::CompositeEditCommand::replaceTextInNode):
              (khtml::CompositeEditCommand::deleteInsignificantText):
              * khtml/editing/composite_edit_command.h:
              * khtml/editing/delete_from_text_node_command.cpp:
              (khtml::DeleteFromTextNodeCommand::DeleteFromTextNodeCommand):
              * khtml/editing/delete_from_text_node_command.h:
              (khtml::DeleteFromTextNodeCommand::offset):
              (khtml::DeleteFromTextNodeCommand::count):
              * khtml/editing/insert_into_text_node_command.cpp:
              (khtml::InsertIntoTextNodeCommand::InsertIntoTextNodeCommand):
              * khtml/editing/insert_into_text_node_command.h:
              (khtml::InsertIntoTextNodeCommand::offset):
              * khtml/editing/insert_paragraph_separator_command.cpp:
              (khtml::InsertParagraphSeparatorCommand::doApply):
              * khtml/editing/insert_text_command.cpp:
              (khtml::InsertTextCommand::input):
              (khtml::InsertTextCommand::insertSpace):
              * khtml/editing/insert_text_command.h:
              (khtml::InsertTextCommand::charactersAdded):
              * khtml/editing/join_text_nodes_command.h:
              * khtml/editing/markup.cpp:
              (khtml::startMarkup):
              (khtml::completeURLs):
              * khtml/editing/move_selection_command.cpp:
              (khtml::MoveSelectionCommand::doApply):
              * khtml/editing/rebalance_whitespace_command.cpp:
              (khtml::RebalanceWhitespaceCommand::doApply):
              * khtml/editing/rebalance_whitespace_command.h:
              * khtml/editing/replace_selection_command.cpp:
              (khtml::ReplaceSelectionCommand::insertNodeAtAndUpdateNodesInserted):
              * khtml/editing/replace_selection_command.h:
              * khtml/editing/selection.cpp:
              (khtml::Selection::debugPosition):
              * khtml/editing/split_text_node_command.cpp:
              (khtml::SplitTextNodeCommand::SplitTextNodeCommand):
              * khtml/editing/split_text_node_command.h:
              (khtml::SplitTextNodeCommand::offset):
              * khtml/editing/split_text_node_containing_element.cpp:
              (khtml::SplitTextNodeContainingElementCommand::SplitTextNodeContainingElementCommand):
              * khtml/editing/split_text_node_containing_element_command.h:
              * khtml/editing/visible_position.cpp:
              (khtml::VisiblePosition::VisiblePosition):
              (khtml::VisiblePosition::deepEquivalent):
              (khtml::VisiblePosition::rangeCompliantEquivalent):
              (khtml::VisiblePosition::maxOffset):
              (khtml::VisiblePosition::character):
              (khtml::VisiblePosition::debugPosition):
              * khtml/editing/visible_position.h:
              * khtml/editing/visible_range.h:
              * khtml/editing/visible_text.cpp:
              (khtml::CircularSearchBuffer::length):
              (khtml::TextIterator::TextIterator):
              (khtml::TextIterator::handleTextNode):
              (khtml::TextIterator::handleTextBox):
              (khtml::TextIterator::emitCharacter):
              (khtml::TextIterator::range):
              (khtml::SimplifiedBackwardsTextIterator::SimplifiedBackwardsTextIterator):
              (khtml::SimplifiedBackwardsTextIterator::handleReplacedElement):
              (khtml::SimplifiedBackwardsTextIterator::emitCharacter):
              (khtml::SimplifiedBackwardsTextIterator::emitNewlineForBROrText):
              (khtml::CharacterIterator::range):
              (khtml::CharacterIterator::advance):
              (khtml::CharacterIterator::string):
              (khtml::WordAwareIterator::length):
              (khtml::CircularSearchBuffer::append):
              (khtml::CircularSearchBuffer::neededCharacters):
              (khtml::CircularSearchBuffer::isMatch):
              (khtml::TextIterator::rangeLength):
              (khtml::TextIterator::rangeFromLocationAndLength):
              (khtml::plainText):
              (khtml::findPlainText):
              * khtml/editing/visible_text.h:
              (khtml::TextIterator::length):
              (khtml::SimplifiedBackwardsTextIterator::length):
              (khtml::CharacterIterator::length):
              (khtml::CharacterIterator::characterOffset):
              * khtml/editing/visible_units.cpp:
              (khtml::startOfLine):
              (khtml::endOfLine):
              (khtml::startOfParagraph):
              (khtml::endOfParagraph):
              * khtml/html/html_blockimpl.cpp:
              (HTMLPreElementImpl::width):
              (HTMLPreElementImpl::setWidth):
              * khtml/html/html_blockimpl.h:
              * khtml/html/html_formimpl.cpp:
              (DOM::HTMLFormElementImpl::length):
              (DOM::HTMLGenericFormElementImpl::tabIndex):
              (DOM::HTMLGenericFormElementImpl::setTabIndex):
              (DOM::HTMLInputElementImpl::selectionStart):
              (DOM::HTMLInputElementImpl::selectionEnd):
              (DOM::HTMLInputElementImpl::setSelectionStart):
              (DOM::HTMLInputElementImpl::setSelectionEnd):
              (DOM::HTMLInputElementImpl::setSelectionRange):
              (DOM::HTMLInputElementImpl::setMaxLength):
              (DOM::HTMLInputElementImpl::setSize):
              (DOM::HTMLSelectElementImpl::selectedIndex):
              (DOM::HTMLSelectElementImpl::setSelectedIndex):
              (DOM::HTMLSelectElementImpl::length):
              (DOM::HTMLSelectElementImpl::remove):
              (DOM::HTMLSelectElementImpl::setSize):
              (DOM::HTMLOptionElementImpl::index):
              (DOM::HTMLOptionElementImpl::setIndex):
              (DOM::HTMLTextAreaElementImpl::selectionStart):
              (DOM::HTMLTextAreaElementImpl::selectionEnd):
              (DOM::HTMLTextAreaElementImpl::setSelectionStart):
              (DOM::HTMLTextAreaElementImpl::setSelectionEnd):
              (DOM::HTMLTextAreaElementImpl::setSelectionRange):
              (DOM::HTMLTextAreaElementImpl::setCols):
              (DOM::HTMLTextAreaElementImpl::setRows):
              (DOM::HTMLOptionsCollectionImpl::length):
              (DOM::HTMLOptionsCollectionImpl::setLength):
              (DOM::HTMLOptionsCollectionImpl::item):
              * khtml/html/html_formimpl.h:
              (DOM::HTMLInputElementImpl::maxLength):
              (DOM::HTMLInputElementImpl::maxResults):
              (DOM::HTMLSelectElementImpl::minWidth):
              (DOM::HTMLSelectElementImpl::size):
              (DOM::HTMLTextAreaElementImpl::cols):
              (DOM::HTMLTextAreaElementImpl::rows):
              * khtml/html/html_imageimpl.cpp:
              (HTMLImageElementImpl::width):
              (HTMLImageElementImpl::height):
              (HTMLImageElementImpl::border):
              (HTMLImageElementImpl::setBorder):
              (HTMLImageElementImpl::setHeight):
              (HTMLImageElementImpl::hspace):
              (HTMLImageElementImpl::setHspace):
              (HTMLImageElementImpl::vspace):
              (HTMLImageElementImpl::setVspace):
              (HTMLImageElementImpl::setWidth):
              (HTMLImageElementImpl::x):
              (HTMLImageElementImpl::y):
              (HTMLAreaElementImpl::tabIndex):
              (HTMLAreaElementImpl::setTabIndex):
              * khtml/html/html_imageimpl.h:
              * khtml/html/html_inlineimpl.cpp:
              (DOM::HTMLAnchorElementImpl::tabIndex):
              (DOM::HTMLAnchorElementImpl::setTabIndex):
              * khtml/html/html_inlineimpl.h:
              * khtml/html/html_listimpl.cpp:
              (DOM::HTMLOListElementImpl::setStart):
              (DOM::HTMLLIElementImpl::value):
              (DOM::HTMLLIElementImpl::setValue):
              * khtml/html/html_listimpl.h:
              (DOM::HTMLUListElementImpl::start):
              (DOM::HTMLOListElementImpl::start):
              * khtml/html/html_miscimpl.cpp:
              (DOM::HTMLCollectionImpl::calcLength):
              (DOM::HTMLCollectionImpl::length):
              (DOM::HTMLCollectionImpl::item):
              (DOM::HTMLFormCollectionImpl::calcLength):
              (DOM::HTMLFormCollectionImpl::item):
              * khtml/html/html_miscimpl.h:
              * khtml/html/html_objectimpl.cpp:
              (DOM::HTMLObjectElementImpl::tabIndex):
              (DOM::HTMLObjectElementImpl::setTabIndex):
              * khtml/html/html_objectimpl.h:
              * khtml/html/html_tableimpl.cpp:
              (DOM::HTMLTableElementImpl::insertRow):
              (DOM::HTMLTableElementImpl::deleteRow):
              (DOM::HTMLTableSectionElementImpl::insertRow):
              (DOM::HTMLTableSectionElementImpl::deleteRow):
              (DOM::HTMLTableRowElementImpl::rowIndex):
              (DOM::HTMLTableRowElementImpl::sectionRowIndex):
              (DOM::HTMLTableRowElementImpl::insertCell):
              (DOM::HTMLTableRowElementImpl::deleteCell):
              (DOM::HTMLTableCellElementImpl::cellIndex):
              (DOM::HTMLTableCellElementImpl::setColSpan):
              (DOM::HTMLTableCellElementImpl::setRowSpan):
              (DOM::HTMLTableColElementImpl::setSpan):
              * khtml/html/html_tableimpl.h:
              (DOM::HTMLTableColElementImpl::span):
              * khtml/html/htmlparser.cpp:
              (HTMLParser::handleError):
              * khtml/html/htmltokenizer.cpp:
              (khtml::HTMLTokenizer::processToken):
              * khtml/khtml_events.cpp:
              (khtml::MouseEvent::offset):
              * khtml/khtml_events.h:
              (khtml::MouseReleaseEvent::MouseReleaseEvent):
              * khtml/khtml_part.cpp:
              (KHTMLPart::restoreURL):
              (KHTMLPart::stopLoading):
              (KHTMLPart::receivedFirstData):
              (KHTMLPart::slotFinished):
              (KHTMLPart::begin):
              (KHTMLPart::slotViewFrameSource):
              (KHTMLPart::selectFrameElementInParentIfFullySelected):
              * khtml/khtml_part.h:
              * khtml/khtmlpart_p.h:
              (KHTMLPartPrivate::KHTMLPartPrivate):
              * khtml/misc/loader.h:
              * khtml/rendering/render_block.cpp:
              (khtml::RenderBlock::positionForRenderer):
              * khtml/rendering/render_br.cpp:
              (RenderBR::caretMinOffset):
              (RenderBR::caretMaxOffset):
              (RenderBR::caretMaxRenderedOffset):
              (RenderBR::inlineBox):
              * khtml/rendering/render_br.h:
              * khtml/rendering/render_form.cpp:
              (RenderLineEdit::selectionStart):
              (RenderLineEdit::selectionEnd):
              (RenderLineEdit::setSelectionStart):
              (RenderLineEdit::setSelectionEnd):
              (RenderLineEdit::setSelectionRange):
              (RenderTextArea::calcMinMaxWidth):
              (RenderTextArea::selectionStart):
              (RenderTextArea::selectionEnd):
              (RenderTextArea::setSelectionStart):
              (RenderTextArea::setSelectionEnd):
              (RenderTextArea::setSelectionRange):
              * khtml/rendering/render_form.h:
              * khtml/rendering/render_frames.cpp:
              (RenderPartObject::updateWidget):
              * khtml/rendering/render_line.cpp:
              (khtml::InlineBox::caretMinOffset):
              (khtml::InlineBox::caretMaxOffset):
              (khtml::InlineBox::caretMaxRenderedOffset):
              * khtml/rendering/render_line.h:
              * khtml/rendering/render_list.cpp:
              (RenderListMarker::calcMinMaxWidth):
              * khtml/rendering/render_list.h:
              (khtml::RenderListItem::value):
              (khtml::RenderListItem::setValue):
              * khtml/rendering/render_object.cpp:
              (RenderObject::caretMinOffset):
              (RenderObject::caretMaxOffset):
              (RenderObject::caretMaxRenderedOffset):
              (RenderObject::previousOffset):
              (RenderObject::nextOffset):
              (RenderObject::inlineBox):
              * khtml/rendering/render_object.h:
              * khtml/rendering/render_replaced.cpp:
              (RenderReplaced::caretMinOffset):
              (RenderReplaced::caretMaxOffset):
              (RenderReplaced::caretMaxRenderedOffset):
              * khtml/rendering/render_replaced.h:
              * khtml/rendering/render_table.h:
              (khtml::RenderTableCell::cellIndex):
              (khtml::RenderTableCell::setCellIndex):
              * khtml/rendering/render_text.cpp:
              (InlineTextBox::paintMarker):
              (InlineTextBox::paintMarkedTextUnderline):
              (InlineTextBox::caretMinOffset):
              (InlineTextBox::caretMaxOffset):
              (InlineTextBox::caretMaxRenderedOffset):
              (RenderText::previousOffset):
              (RenderText::nextOffset):
              (InlineTextBox::positionForOffset):
              (RenderText::caretMinOffset):
              (RenderText::caretMaxOffset):
              (RenderText::caretMaxRenderedOffset):
              (RenderText::inlineBox):
              * khtml/rendering/render_text.h:
              * khtml/xml/dom2_eventsimpl.cpp:
              (DOM::EventImpl::timeStamp):
              (DOM::UIEventImpl::UIEventImpl):
              (DOM::UIEventImpl::initUIEvent):
              (DOM::UIEventImpl::layerX):
              (DOM::UIEventImpl::layerY):
              (DOM::UIEventImpl::pageX):
              (DOM::UIEventImpl::pageY):
              (DOM::UIEventImpl::which):
              (DOM::MouseRelatedEventImpl::MouseRelatedEventImpl):
              (DOM::MouseRelatedEventImpl::pageX):
              (DOM::MouseRelatedEventImpl::pageY):
              (DOM::MouseEventImpl::MouseEventImpl):
              (DOM::MouseEventImpl::initMouseEvent):
              (DOM::MouseEventImpl::which):
              (DOM::KeyboardEventImpl::KeyboardEventImpl):
              (DOM::KeyboardEventImpl::initKeyboardEvent):
              (DOM::KeyboardEventImpl::which):
              (DOM::WheelEventImpl::WheelEventImpl):
              * khtml/xml/dom2_eventsimpl.h:
              (DOM::UIEventImpl::detail):
              (DOM::UIEventWithKeyStateImpl::UIEventWithKeyStateImpl):
              (DOM::MouseRelatedEventImpl::screenX):
              (DOM::MouseRelatedEventImpl::screenY):
              (DOM::MouseRelatedEventImpl::clientX):
              (DOM::MouseRelatedEventImpl::clientY):
              (DOM::MouseRelatedEventImpl::layerX):
              (DOM::MouseRelatedEventImpl::layerY):
              (DOM::KeyboardEventImpl::keyLocation):
              (DOM::WheelEventImpl::wheelDelta):
              * khtml/xml/dom2_rangeimpl.cpp:
              (DOM::RangeImpl::RangeImpl):
              (DOM::RangeImpl::startOffset):
              (DOM::RangeImpl::endOffset):
              (DOM::RangeImpl::setStart):
              (DOM::RangeImpl::setEnd):
              (DOM::RangeImpl::compareBoundaryPoints):
              (DOM::RangeImpl::processContents):
              (DOM::RangeImpl::checkNodeWOffset):
              * khtml/xml/dom2_rangeimpl.h:
              * khtml/xml/dom2_traversalimpl.cpp:
              (DOM::TraversalImpl::TraversalImpl):
              (DOM::TreeWalkerImpl::TreeWalkerImpl):
              * khtml/xml/dom2_traversalimpl.h:
              (DOM::TraversalImpl::whatToShow):
              * khtml/xml/dom_docimpl.cpp:
              (DocumentImpl::createNodeIterator):
              (DocumentImpl::createTreeWalker):
              (DocumentImpl::processHttpEquiv):
              (DocumentImpl::removeMarkers):
              (DocumentImpl::copyMarkers):
              (DocumentImpl::markersForNode):
              (DocumentImpl::shiftMarkers):
              * khtml/xml/dom_docimpl.h:
              * khtml/xml/dom_elementimpl.cpp:
              (ElementImpl::openTagStartToString):
              (NamedAttrMapImpl::item):
              (NamedAttrMapImpl::getAttributeItem):
              (NamedAttrMapImpl::removeAttribute):
              * khtml/xml/dom_elementimpl.h:
              (DOM::NamedAttrMapImpl::length):
              (DOM::NamedAttrMapImpl::attributeItem):
              (DOM::NamedMappedAttrMapImpl::attributeItem):
              * khtml/xml/dom_nodeimpl.cpp:
              (DOM::NodeImpl::normalize):
              (DOM::NodeImpl::nodeIndex):
              (DOM::NodeImpl::childNodeCount):
              (DOM::NodeImpl::childNode):
              (DOM::NodeImpl::maxOffset):
              (DOM::NodeImpl::maxDeepOffset):
              (DOM::NodeImpl::caretMinOffset):
              (DOM::NodeImpl::caretMaxOffset):
              (DOM::NodeImpl::caretMaxRenderedOffset):
              (DOM::NodeImpl::previousOffset):
              (DOM::NodeImpl::nextOffset):
              (DOM::ContainerNodeImpl::childNodeCount):
              (DOM::ContainerNodeImpl::childNode):
              (DOM::NodeListImpl::recursiveLength):
              (DOM::NodeListImpl::recursiveItem):
              (DOM::NodeListImpl::itemById):
              (DOM::ChildNodeListImpl::length):
              (DOM::ChildNodeListImpl::item):
              (DOM::TagNodeListImpl::length):
              (DOM::TagNodeListImpl::item):
              (DOM::NameNodeListImpl::length):
              (DOM::NameNodeListImpl::item):
              * khtml/xml/dom_nodeimpl.h:
              * khtml/xml/dom_position.cpp:
              (DOM::Position::Position):
              (DOM::Position::previous):
              (DOM::Position::next):
              (DOM::Position::renderedOffset):
              (DOM::Position::equivalentRangeCompliantPosition):
              (DOM::Position::rendersInDifferentPosition):
              (DOM::Position::trailingWhitespacePosition):
              (DOM::Position::debugPosition):
              * khtml/xml/dom_position.h:
              (DOM::Position::offset):
              * khtml/xml/dom_textimpl.cpp:
              (CharacterDataImpl::length):
              (CharacterDataImpl::substringData):
              (CharacterDataImpl::insertData):
              (CharacterDataImpl::deleteData):
              (CharacterDataImpl::replaceData):
              (CharacterDataImpl::checkCharDataOperation):
              (CharacterDataImpl::maxOffset):
              (CharacterDataImpl::caretMinOffset):
              (CharacterDataImpl::caretMaxOffset):
              (CharacterDataImpl::caretMaxRenderedOffset):
              (TextImpl::splitText):
              * khtml/xml/dom_textimpl.h:
              * kwq/DOM-CSS.mm:
              (-[DOMStyleSheetList length]):
              (-[DOMStyleSheetList item:]):
              (-[DOMCSSStyleSheet insertRule::]):
              (-[DOMCSSStyleSheet deleteRule:]):
              (-[DOMMediaList length]):
              (-[DOMMediaList item:]):
              (-[DOMCSSRuleList length]):
              (-[DOMCSSRuleList item:]):
              (-[DOMCSSMediaRule insertRule::]):
              (-[DOMCSSMediaRule deleteRule:]):
              (-[DOMCSSStyleDeclaration length]):
              (-[DOMCSSStyleDeclaration item:]):
              (-[DOMCSSValueList length]):
              (-[DOMCSSValueList item:]):
              * kwq/DOM.mm:
              (-[DOMNamedNodeMap item:]):
              (-[DOMNamedNodeMap length]):
              (-[DOMNodeList item:]):
              (-[DOMNodeList length]):
              (-[DOMCharacterData length]):
              (-[DOMCharacterData substringData::]):
              (-[DOMCharacterData insertData::]):
              (-[DOMCharacterData deleteData::]):
              (-[DOMCharacterData replaceData:::]):
              (-[DOMText splitText:]):
              (-[DOMRange description]):
              (-[DOMRange startOffset]):
              (-[DOMRange endOffset]):
              (-[DOMRange setStart::]):
              (-[DOMRange setEnd::]):
              (-[DOMNodeIterator whatToShow]):
              (-[DOMTreeWalker whatToShow]):
              (-[DOMDocument createNodeIterator::::]):
              (-[DOMDocument createTreeWalker::::]):
              * kwq/DOMCSS.h:
              * kwq/DOMCore.h:
              * kwq/DOMEvents.h:
              (-[DOMMouseEvent initMouseEvent:::::::::::::::]):
              * kwq/DOMEvents.mm:
              (-[DOMMouseEvent screenX]):
              (-[DOMMouseEvent screenY]):
              (-[DOMMouseEvent clientX]):
              (-[DOMMouseEvent clientY]):
              (-[DOMMouseEvent initMouseEvent:::::::::::::::]):
              (-[DOMUIEvent detail]):
              (-[DOMUIEvent initUIEvent:::::]):
              * kwq/DOMExtensions.h:
              * kwq/DOMHTML.h:
              * kwq/DOMHTML.mm:
              (-[DOMHTMLCollection length]):
              (-[DOMHTMLCollection item:]):
              (-[DOMHTMLOptionsCollection length]):
              (-[DOMHTMLOptionsCollection setLength:]):
              (-[DOMHTMLOptionsCollection item:]):
              (-[DOMHTMLFormElement length]):
              (-[DOMHTMLSelectElement selectedIndex]):
              (-[DOMHTMLSelectElement setSelectedIndex:]):
              (-[DOMHTMLSelectElement length]):
              (-[DOMHTMLSelectElement setLength:]):
              (-[DOMHTMLSelectElement size]):
              (-[DOMHTMLSelectElement setSize:]):
              (-[DOMHTMLSelectElement tabIndex]):
              (-[DOMHTMLSelectElement setTabIndex:]):
              (-[DOMHTMLSelectElement remove:]):
              (-[DOMHTMLOptionElement index]):
              (-[DOMHTMLInputElement maxLength]):
              (-[DOMHTMLInputElement setMaxLength:]):
              (-[DOMHTMLInputElement size]):
              (-[DOMHTMLInputElement setSize:]):
              (-[DOMHTMLInputElement tabIndex]):
              (-[DOMHTMLInputElement setTabIndex:]):
              (-[DOMHTMLTextAreaElement cols]):
              (-[DOMHTMLTextAreaElement setCols:]):
              (-[DOMHTMLTextAreaElement rows]):
              (-[DOMHTMLTextAreaElement setRows:]):
              (-[DOMHTMLTextAreaElement tabIndex]):
              (-[DOMHTMLTextAreaElement setTabIndex:]):
              (-[DOMHTMLButtonElement tabIndex]):
              (-[DOMHTMLButtonElement setTabIndex:]):
              (-[DOMHTMLOListElement start]):
              (-[DOMHTMLOListElement setStart:]):
              (-[DOMHTMLLIElement value]):
              (-[DOMHTMLLIElement setValue:]):
              (-[DOMHTMLPreElement width]):
              (-[DOMHTMLPreElement setWidth:]):
              (-[DOMHTMLAnchorElement tabIndex]):
              (-[DOMHTMLAnchorElement setTabIndex:]):
              (-[DOMHTMLImageElement height]):
              (-[DOMHTMLImageElement setHeight:]):
              (-[DOMHTMLImageElement hspace]):
              (-[DOMHTMLImageElement setHspace:]):
              (-[DOMHTMLImageElement vspace]):
              (-[DOMHTMLImageElement setVspace:]):
              (-[DOMHTMLImageElement width]):
              (-[DOMHTMLImageElement setWidth:]):
              (-[DOMHTMLObjectElement hspace]):
              (-[DOMHTMLObjectElement setHspace:]):
              (-[DOMHTMLObjectElement tabIndex]):
              (-[DOMHTMLObjectElement setTabIndex:]):
              (-[DOMHTMLObjectElement vspace]):
              (-[DOMHTMLObjectElement setVspace:]):
              (-[DOMHTMLAppletElement hspace]):
              (-[DOMHTMLAppletElement setHspace:]):
              (-[DOMHTMLAppletElement vspace]):
              (-[DOMHTMLAppletElement setVspace:]):
              (-[DOMHTMLAreaElement tabIndex]):
              (-[DOMHTMLAreaElement setTabIndex:]):
              (-[DOMHTMLTableSectionElement insertRow:]):
              (-[DOMHTMLTableSectionElement deleteRow:]):
              (-[DOMHTMLTableElement insertRow:]):
              (-[DOMHTMLTableElement deleteRow:]):
              (-[DOMHTMLTableColElement span]):
              (-[DOMHTMLTableColElement setSpan:]):
              (-[DOMHTMLTableRowElement rowIndex]):
              (-[DOMHTMLTableRowElement sectionRowIndex]):
              (-[DOMHTMLTableRowElement insertCell:]):
              (-[DOMHTMLTableRowElement deleteCell:]):
              (-[DOMHTMLTableCellElement cellIndex]):
              (-[DOMHTMLTableCellElement colSpan]):
              (-[DOMHTMLTableCellElement setColSpan:]):
              (-[DOMHTMLTableCellElement rowSpan]):
              (-[DOMHTMLTableCellElement setRowSpan:]):
              (-[DOMHTMLEmbedElement height]):
              (-[DOMHTMLEmbedElement setHeight:]):
              (-[DOMHTMLEmbedElement width]):
              (-[DOMHTMLEmbedElement setWidth:]):
              * kwq/DOMRange.h:
              * kwq/DOMStylesheets.h:
              * kwq/DOMTraversal.h:
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::advanceToNextMisspelling):
              (KWQKHTMLPart::openURLFromPageCache):
              (KWQKHTMLPart::markMisspellings):
              * kwq/KWQString.h:
              * kwq/KWQString.mm:
              (QString::toShort):
              (QString::toUShort):
              (QString::toInt):
              (QString::toUInt):
              * kwq/KWQTextEdit.h:
              * kwq/KWQTextEdit.mm:
              (QTextEdit::selectionStart):
              (QTextEdit::selectionEnd):
              (QTextEdit::setSelectionStart):
              (QTextEdit::setSelectionEnd):
              (QTextEdit::setSelectionRange):
              * kwq/WebCoreBridge.mm:
              (-[WebCoreBridge convertToNSRange:DOM::]):
      
      WebKit:
      
              Change by Darin, reviewed by me and Maciej.
      
              Fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=4547
              use int instead of long for 32-bit (to prepare for LP64 compiling)
      
              * Plugins.subproj/npapi.m: changed types to match those defined in npapi.h
              (NPN_MemAlloc):
              (NPN_MemFlush):
              (NPN_PostURLNotify):
              (NPN_PostURL):
              (NPN_Write):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      704e8bb4