1. 18 May, 2009 1 commit
  2. 16 Apr, 2008 2 commits
    • jhoneycutt@apple.com's avatar
      Add AccessibilityObjectWrapper on Windows. · adf339ea
      jhoneycutt@apple.com authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31987 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      adf339ea
    • beidson@apple.com's avatar
      2008-04-16 Brady Eidson <beidson@apple.com> · bb69e1eb
      beidson@apple.com authored
              Reviewed by Darin Adler
      
              Merge the StorageAreaClient into the StorageArea class itself as pure virtual methods.
              Add "LocalStorageArea" add "SessionStorageArea" implementations, and have SessionStorage
              and LocalStorage instantiate the appropriate type of StorageArea object.
      
              This purpose of this change is because while adding the persistent store to LocalStorage,
              it became obvious that the client approach wasn't scaling well.  Additionally, a StorageArea
              backing a local storage area required vastly different data members compared to one backing
              a session storage area.
      
              This will be much cleaner going forward.
      
              * GNUmakefile.am:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
      
              * storage/LocalStorage.cpp:
              (WebCore::LocalStorage::storageArea):
              * storage/LocalStorage.h:
      
              * storage/LocalStorageArea.cpp: Added.
              (WebCore::LocalStorageArea::LocalStorageArea):
              (WebCore::LocalStorageArea::itemChanged):
              (WebCore::LocalStorageArea::itemRemoved):
              (WebCore::LocalStorageArea::dispatchStorageEvent):
              * storage/LocalStorageArea.h: Added.
              (WebCore::LocalStorageArea::create):
      
              * storage/SessionStorage.cpp:
              (WebCore::SessionStorage::copy):
              (WebCore::SessionStorage::storageArea):
              * storage/SessionStorage.h:
      
              * storage/SessionStorageArea.cpp: Added.
              (WebCore::SessionStorageArea::copy):
              (WebCore::SessionStorageArea::SessionStorageArea):
              (WebCore::SessionStorageArea::itemChanged):
              (WebCore::SessionStorageArea::itemRemoved):
              (WebCore::SessionStorageArea::dispatchStorageEvent):
              * storage/SessionStorageArea.h: Added.
              (WebCore::SessionStorageArea::create):
              (WebCore::SessionStorageArea::page):
      
              * storage/StorageArea.cpp:
              (WebCore::StorageArea::StorageArea):
              (WebCore::StorageArea::setItem):
              (WebCore::StorageArea::removeItem):
              (WebCore::StorageArea::storageMap):
              * storage/StorageArea.h:
      
              * storage/StorageAreaClient.h: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31983 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb69e1eb
  3. 14 Apr, 2008 1 commit
    • beidson@apple.com's avatar
      WebCore: · 21c04acd
      beidson@apple.com authored
      2008-04-14  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Anders
      
              Lay the underpinnings for LocalStorage.
      
              For now, this just exposes window.localStorage to the dom which returns an in-memory Storage object, much
              like SessionStorage.  The primary difference at this point is that the object returned is shared globally,
              and isn't copied for new top-level browsing contexts like SessionStorage.
      
              Later, I'll add proper event dispatch and a persistent storage backing.
      
              * GNUmakefile.am:
              * WebCore.base.exp:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * WebCoreSources.bkl:
      
              * bindings/js/JSDOMWindowCustom.cpp:
              (WebCore::JSDOMWindow::mark): Mark the optionalLocalStorage
      
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::clear):
              (WebCore::DOMWindow::localStorage):
              * page/DOMWindow.h:
              (WebCore::DOMWindow::optionalLocalStorage):
      
              * storage/LocalStorage.cpp: Added.
              (WebCore::LocalStorage::sharedLocalStorage):
              (WebCore::LocalStorage::LocalStorage):
              (WebCore::LocalStorage::storageArea):
              (WebCore::LocalStorage::itemChanged):
              (WebCore::LocalStorage::itemRemoved):
              (WebCore::LocalStorage::dispatchStorageEvent):
              * storage/LocalStorage.h: Added.
      
              * storage/SessionStorage.cpp: Refactor to use the client interface for event dispatching for sessionStorage objects
              (WebCore::SessionStorage::SessionStorage):
              (WebCore::SessionStorage::copy):
              (WebCore::SessionStorage::storageArea):
              (WebCore::SessionStorage::itemChanged):
              (WebCore::SessionStorage::itemRemoved):
              (WebCore::SessionStorage::dispatchStorageEvent):
              * storage/SessionStorage.h:
      
              * storage/StorageArea.cpp: Add a client parameter, and call to the client when an item is changed or removed.
              (WebCore::StorageArea::create):
              (WebCore::StorageArea::StorageArea):
              (WebCore::StorageArea::copy):
              (WebCore::StorageArea::setItem):
              (WebCore::StorageArea::removeItem):
              (WebCore::StorageArea::setClient):
              * storage/StorageArea.h:
              (WebCore::StorageArea::page):
              (WebCore::StorageArea::securityOrigin):
      
              * storage/StorageAreaClient.h: Added.  Break out "itemChanged" and "itemRemoved" to a StorageAreaClient
                This way, both SessionStorage and LocalStorage areas can have different behavior on changes with
                that behavior managed from a central location.
              (WebCore::StorageAreaClient::~StorageAreaClient):
              (WebCore::StorageAreaClient::StorageAreaClient):
              (WebCore::StorageAreaClient::itemChanged):
              (WebCore::StorageAreaClient::itemRemoved):
      
      LayoutTests:
      
      2008-04-14  Brady Eidson  <beidson@apple.com>
      
              Reviewed by Anders
      
              As underpinnings for LocalStorage are laid, it is exposed to the dom - update the relevant layout tests.
      
              * fast/dom/Window/window-properties-expected.txt:
              * storage/domstorage/window-attributes-exist-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31893 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      21c04acd
  4. 26 Mar, 2008 1 commit
    • antti@apple.com's avatar
      2008-03-26 Antti Koivisto <antti@apple.com> · 40701cbd
      antti@apple.com authored
              Reviewed by Adam.
      
              Add ElementTimeControl interface to SVGAnimationElement.
              Passes Acid3 test 75.
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/scripts/CodeGeneratorObjC.pm:
              * svg/ElementTimeControl.h: Added.
              (WebCore::ElementTimeControl::~ElementTimeControl):
              * svg/ElementTimeControl.idl: Added.
              * svg/SVGAnimationElement.cpp:
              (WebCore::SVGAnimationElement::beginElement):
              (WebCore::SVGAnimationElement::beginElementAt):
              (WebCore::SVGAnimationElement::endElement):
              (WebCore::SVGAnimationElement::endElementAt):
              * svg/SVGAnimationElement.h:
              * svg/SVGAnimationElement.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31315 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      40701cbd
  5. 30 Nov, 2007 1 commit
  6. 11 May, 2007 1 commit
    • bdash's avatar
      2007-05-11 Mitz Pettel <mitz@webkit.org> · bcc4eddf
      bdash authored
              Reviewed by Darin.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=13572
                Arabic characters are not correctly joined when using Arial
      
              No tests added because standard fonts do not use the character-based shaping
              code path.
      
              Added shapeArabic(), a private version of u_shapeArabic() from ICU,
              patched to shape Arabic characters used in Persian, Urdu, Sindhi, etc.
              (whose contextual forms belong to the Arabic Presentation Forms-A block).
      
              * WebCore.xcodeproj/project.pbxproj: Added ShapeArabic.{c,h}.
              * platform/mac/FontMac.mm:
              (WebCore::shapeArabic): Changed to call shapeArabic() instead of u_shapeArabic().
              * platform/mac/ShapeArabic.c: Added. Based on ushape.c from ICU, with
              additional shaping data and logic for Arabic Presentation Forms-A. Removed
              many options that are not used in WebKit and code that malloc()ed a temporary
              buffer and reversed the string.
              (changeLamAlef):
              (specialChar):
              (getLink):
              (isTashkeelChar):
              (shapeUnicode):
              (shapeArabic):
              * platform/mac/ShapeArabic.h: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21408 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bcc4eddf
  7. 28 Feb, 2007 1 commit
    • beidson's avatar
      WebCore: · fb57a0eb
      beidson authored
              Reviewed by Beth
      
              Move the Thread Safety Check functions into their own header for export to WebKit
      
              * WebCore.exp: Export the function
              * WebCore.xcodeproj/project.pbxproj: 
              * bindings/scripts/CodeGeneratorObjC.pm: Include the new header
              * platform/Logging.h: Move stuff to ThreadCheck.h
              * platform/ThreadCheck.h: Added.
              * platform/mac/LoggingMac.mm: Move stuff to ThreadCheck.mm
              * platform/mac/ThreadCheck.mm: Added.
              (WebCore::_WebCoreThreadViolationCheck):
              (WebCoreReportThreadViolation):
      
      WebKit:
      
              Reviewed by Beth
      
              Start using the Thread Safety Check implemented in WebCore for the DOM bindings in the rest of
              the WebKit API instead of the ASSERT_MAIN_THREAD() hack
      
              * History/WebBackForwardList.mm:
              (-[WebBackForwardList initWithWebCoreBackForwardList:]):
              (-[WebBackForwardList init]):
              (-[WebBackForwardList dealloc]):
              (-[WebBackForwardList finalize]):
              * History/WebHistoryItem.mm:
              (-[WebHistoryItem initWithURLString:title:lastVisitedTimeInterval:]):
              (-[WebHistoryItem dealloc]):
              (-[WebHistoryItem finalize]):
              (-[WebHistoryItem copyWithZone:]):
              (-[WebHistoryItem initWithWebCoreHistoryItem:]):
              * Misc/WebIconDatabase.mm:
              (-[WebIconDatabase init]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19921 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb57a0eb
  8. 23 Jan, 2007 1 commit
    • oliver's avatar
      2007-01-23 Oliver Hunt <oliver@apple.com> · aeffa297
      oliver authored
              Reviewed by Adam.
      
              Added DragController to handled drag and drop state and control logic.
              Currently this only handles logic for Dragging and Dropping, and is 
              unable to initialise a drag itself.
      
              platform/DragData encapsulate the paltform Drag data (NSDraggingInfo on Mac, 
              QMimeType in Qt).  This provides methods to pull data out the drag data as a String, 
              a URL, a DocumentFragment (for rich content), or a Colour.
      
              * WebCore.exp:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * dom/Clipboard.cpp: Added.
              (WebCore::Clipboard::setAccessPolicy):
              (WebCore::dragOpFromIEOp):
              (WebCore::IEOpFromDragOp):
              (WebCore::Clipboard::sourceOperation):
              (WebCore::Clipboard::destinationOperation):
              (WebCore::Clipboard::setSourceOperation):
              (WebCore::Clipboard::setDestinationOperation):
              (WebCore::Clipboard::setDropEffect):
              (WebCore::Clipboard::setEffectAllowed):
                move platform independent functions from ClipboardMac to Clipboard
      
              * dom/Clipboard.h:
              (WebCore::Clipboard::Clipboard):
              (WebCore::Clipboard::dropEffect):
              (WebCore::Clipboard::effectAllowed):
              (WebCore::Clipboard::policy):
                as above -- also removed virtual modifier from now 
                platform independent methods
      
              * editing/Editor.cpp:
              (WebCore::Editor::smartInsertDeleteEnabled): 
              (WebCore::Editor::shouldApplyStyle):
              * editing/Editor.h:
                adding calls through to EditorClient
               
              * page/DragActions.h: Added.
              (WebCore::):
                Replicates a number of NS* enums in the WebCore namespace
      
              * page/DragClient.h: Added.
              (WebCore::DragClient::~DragClient):
                Standard client interface for dragging UIDelegate
      
              * page/DragController.cpp: Added.
              (WebCore::createMouseEvent):
              (WebCore::DragController::DragController):
              (WebCore::DragController::~DragController):
              (WebCore::documentFragmentFromDragData):
              (WebCore::DragController::isMoveDrag):
              (WebCore::visiblePositionForPoint):
              (WebCore::DragController::cancelDrag):
              (WebCore::documentAtPoint):
              (WebCore::DragController::dragEntered):
              (WebCore::DragController::dragExited):
              (WebCore::DragController::dragUpdated):
              (WebCore::DragController::performDrag):
              (WebCore::DragController::dragEnteredOrUpdated):
              (WebCore::DragController::tryDocumentDrag):
              (WebCore::DragController::operationForLoad):
              (WebCore::DragController::concludeDrag):
              (WebCore::DragController::canProcessDrag):
              (WebCore::DragController::tryDHTMLDrag):
                Class to handle state and logic for dragging and dropping
      
              * page/DragController.h: Added.
              (WebCore::DragController::client):
              (WebCore::DragController::didInitiateDrag):
              (WebCore::DragController::isHandlingDrag):
              (WebCore::DragController::dragOperation):
              (WebCore::DragController::document):
              (WebCore::DragController::dragInitiator):
              (WebCore::DragController::dragDestinationAction):
              (WebCore::DragController::dragSourceAction):
              (WebCore::DragController::dragEnded):
              (WebCore::DragController::setIsHandlingDrag):
              (WebCore::DragController::setDidInitiateDrag):
              (WebCore::DragController::setDragOperation):
              (WebCore::DragController::setDragSourceAction):
              (WebCore::DragController::setDragInitiator):
                See above
      
              * page/Page.cpp:
              (WebCore::Page::Page):
                Update Page to have DragController
      
              * page/Page.h:
              (WebCore::Page::dragController):
                ditto
      
              * page/mac/DragControllerMac.mm: Added.
              (WebCore::DragController::isCopyKeyDown):
              (WebCore::DragController::dragOperation):
                Platform specific portions of the DragController
      
              * page/mac/EventHandlerMac.mm:
              (WebCore::EventHandler::handleDrag):
              (WebCore::EventHandler::dragSourceEndedAt):
                Convert from NSDragOperation to WebCore::DragOperation
      
              * page/mac/WebCoreFrameBridge.h:
              * page/mac/WebCoreFrameBridge.mm:
                Remove obsolete Drag functions
      
              * page/qt/DragControllerQt.cpp: Added.
              (WebCore::DragController::isCopyKeyDown):
              (WebCore::DragController::dragOperation):
                Basic stubs to maintain Qt  build
      
              * platform/DragData.cpp: Added.
              (WebCore::DragData::DragData):
              * platform/DragData.h: Added.
              (WebCore::DragData::clientPosition):
              (WebCore::DragData::globalPosition):
              (WebCore::DragData::platformData):
              (WebCore::DragData::draggingSourceOperationMask):
                DragData class to encapsulate platform drag data/event
      
              * platform/graphics/svg/SVGImage.cpp:
              (WebCore::SVGImage::setData):
                Addition of dummy DragClient
      
              * platform/graphics/svg/SVGImageEmptyClients.h:
              (WebCore::SVGEmptyDragClient::~SVGEmptyDragClient):
              (WebCore::SVGEmptyDragClient::willPerformDragDestinationAction):
              (WebCore::SVGEmptyDragClient::actionMaskForDrag):
              (WebCore::SVGEmptyDragClient::dragControllerDestroyed):
                ditto
      
              * platform/mac/ClipboardMac.h:
              * platform/mac/ClipboardMac.mm:
              (WebCore::ClipboardMac::ClipboardMac):
              (WebCore::ClipboardMac::clearData):
              (WebCore::ClipboardMac::clearAllData):
              (WebCore::ClipboardMac::getData):
              (WebCore::ClipboardMac::setData):
              (WebCore::ClipboardMac::types):
              (WebCore::ClipboardMac::setDragImage):
               Moving platform independent logic to Clipboard, and updating
               platform specific methods to use appropriate accessors rather than 
               directly manipulating data they no longer own
      
              * platform/mac/DragDataMac.mm: Added.
              (WebCore::DragData::DragData):
              (WebCore::DragData::canSmartReplace):
              (WebCore::DragData::containsColor):
              (WebCore::DragData::containsPlainText):
              (WebCore::DragData::asPlainText):
              (WebCore::DragData::asColor):
              (WebCore::DragData::createClipboard):
              (WebCore::imageExistsAtPaths):
              (WebCore::DragData::containsCompatibleContent):
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              (WebCore::DragData::asFragment):
                Mac implementations of DragData methods.  A number of these use
                a Helper class that accesses WebKit functionality.  That functionality 
                should be migrated to WebCore in the future.
      
              * platform/mac/PasteboardHelper.h: Added.
              (WebCore::PasteboardHelper::~PasteboardHelper):
                Temporary, and Mac only, helper class to access WebKit functionality 
                from WebCore
      
              * platform/qt/DragDataQt.cpp: Added.
              (WebCore::DragData::canSmartReplace):
              (WebCore::DragData::containsColor):
              (WebCore::DragData::containsPlainText):
              (WebCore::DragData::asPlainText):
              (WebCore::DragData::asColor):
              (WebCore::DragData::createClipboard):
              (WebCore::DragData::containsCompatibleContent):
              (WebCore::DragData::containsURL):
              (WebCore::DragData::asURL):
              (WebCore::DragData::asFragment):
               Basic stubs to maintain Qt build
      
              * rendering/HitTestResult.cpp:
              (WebCore::HitTestResult::HitTestResult):
               Correct HitTestResult copy contructor to copy localPoint
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@19039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aeffa297
  9. 11 Nov, 2006 1 commit
    • ap's avatar
      2006-11-11 Nikolas Zimmermann <zimmermann@kde.org> · 08a5a1ee
      ap authored
              Reviewed by aroben and ap, landed by ap.
      
              Fixes: http://bugs.webkit.org/show_bug.cgi?id=11468
      
              Group graphics related files in platform/graphics.
              Move certain files from certain subdirectories
              into platform/graphics/{win,mac,cg,gdk,qt}
      
              * CMakeLists.txt:
              * WebCore.xcodeproj/project.pbxproj:
              * platform/AffineTransform.cpp: Removed.
              * platform/AffineTransform.h: Removed.
              * platform/Color.cpp: Removed.
              * platform/Color.h: Removed.
              * platform/FloatPoint.cpp: Removed.
              * platform/FloatPoint.h: Removed.
              * platform/FloatRect.cpp: Removed.
              * platform/FloatRect.h: Removed.
              * platform/FloatSize.cpp: Removed.
              * platform/FloatSize.h: Removed.
              * platform/Icon.h: Removed.
              * platform/Image.cpp: Removed.
              * platform/Image.h: Removed.
              * platform/ImageSource.h: Removed.
              * platform/IntPoint.h: Removed.
              * platform/IntRect.cpp: Removed.
              * platform/IntRect.h: Removed.
              * platform/IntSize.h: Removed.
              * platform/IntSizeHash.h: Removed.
              * platform/Path.cpp: Removed.
              * platform/Path.h: Removed.
              * platform/Pen.cpp: Removed.
              * platform/Pen.h: Removed.
              * platform/cairo/AffineTransformCairo.cpp: Removed.
              * platform/cairo/GraphicsContextCairo.cpp: Removed.
              * platform/cairo/ImageCairo.cpp: Removed.
              * platform/cairo/ImageSourceCairo.cpp: Removed.
              * platform/cairo/cairo/AUTHORS: Removed.
              * platform/cairo/cairo/COPYING: Removed.
              * platform/cairo/cairo/COPYING-LGPL-2.1: Removed.
              * platform/cairo/cairo/COPYING-MPL-1.1: Removed.
              * platform/cairo/cairo/INSTALL: Removed.
              * platform/cairo/cairo/NEWS: Removed.
              * platform/cairo/cairo/README: Removed.
              * platform/cairo/cairo/TODO: Removed.
              * platform/cairo/cairo/src/Makefile.in: Removed.
              * platform/cairo/cairo/src/cairo-arc-private.h: Removed.
              * platform/cairo/cairo/src/cairo-arc.c: Removed.
              * platform/cairo/cairo/src/cairo-array.c: Removed.
              * platform/cairo/cairo/src/cairo-atsui-font.c: Removed.
              * platform/cairo/cairo/src/cairo-atsui.h: Removed.
              * platform/cairo/cairo/src/cairo-beos-surface.cpp: Removed.
              * platform/cairo/cairo/src/cairo-beos.h: Removed.
              * platform/cairo/cairo/src/cairo-cache-private.h: Removed.
              * platform/cairo/cairo/src/cairo-cache.c: Removed.
              * platform/cairo/cairo/src/cairo-clip-private.h: Removed.
              * platform/cairo/cairo/src/cairo-clip.c: Removed.
              * platform/cairo/cairo/src/cairo-color.c: Removed.
              * platform/cairo/cairo/src/cairo-debug.c: Removed.
              * platform/cairo/cairo/src/cairo-debug.h: Removed.
              * platform/cairo/cairo/src/cairo-directfb-surface.c: Removed.
              * platform/cairo/cairo/src/cairo-directfb.h: Removed.
              * platform/cairo/cairo/src/cairo-features.h: Removed.
              * platform/cairo/cairo/src/cairo-features.h.in: Removed.
              * platform/cairo/cairo/src/cairo-fixed.c: Removed.
              * platform/cairo/cairo/src/cairo-font-options.c: Removed.
              * platform/cairo/cairo/src/cairo-font-subset-private.h: Removed.
              * platform/cairo/cairo/src/cairo-font-subset.c: Removed.
              * platform/cairo/cairo/src/cairo-font.c: Removed.
              * platform/cairo/cairo/src/cairo-ft-font.c: Removed.
              * platform/cairo/cairo/src/cairo-ft-private.h: Removed.
              * platform/cairo/cairo/src/cairo-ft.h: Removed.
              * platform/cairo/cairo/src/cairo-glitz-surface.c: Removed.
              * platform/cairo/cairo/src/cairo-glitz.h: Removed.
              * platform/cairo/cairo/src/cairo-gstate-private.h: Removed.
              * platform/cairo/cairo/src/cairo-gstate.c: Removed.
              * platform/cairo/cairo/src/cairo-hash-private.h: Removed.
              * platform/cairo/cairo/src/cairo-hash.c: Removed.
              * platform/cairo/cairo/src/cairo-hull.c: Removed.
              * platform/cairo/cairo/src/cairo-image-surface.c: Removed.
              * platform/cairo/cairo/src/cairo-matrix.c: Removed.
              * platform/cairo/cairo/src/cairo-meta-surface-private.h: Removed.
              * platform/cairo/cairo/src/cairo-meta-surface.c: Removed.
              * platform/cairo/cairo/src/cairo-output-stream.c: Removed.
              * platform/cairo/cairo/src/cairo-paginated-surface-private.h: Removed.
              * platform/cairo/cairo/src/cairo-paginated-surface.c: Removed.
              * platform/cairo/cairo/src/cairo-path-bounds.c: Removed.
              * platform/cairo/cairo/src/cairo-path-data-private.h: Removed.
              * platform/cairo/cairo/src/cairo-path-data.c: Removed.
              * platform/cairo/cairo/src/cairo-path-fill.c: Removed.
              * platform/cairo/cairo/src/cairo-path-fixed-private.h: Removed.
              * platform/cairo/cairo/src/cairo-path-stroke.c: Removed.
              * platform/cairo/cairo/src/cairo-path.c: Removed.
              * platform/cairo/cairo/src/cairo-pattern.c: Removed.
              * platform/cairo/cairo/src/cairo-pdf-surface.c: Removed.
              * platform/cairo/cairo/src/cairo-pdf.h: Removed.
              * platform/cairo/cairo/src/cairo-pen.c: Removed.
              * platform/cairo/cairo/src/cairo-platform.h: Removed.
              * platform/cairo/cairo/src/cairo-png.c: Removed.
              * platform/cairo/cairo/src/cairo-polygon.c: Removed.
              * platform/cairo/cairo/src/cairo-private.h: Removed.
              * platform/cairo/cairo/src/cairo-ps-surface.c: Removed.
              * platform/cairo/cairo/src/cairo-ps.h: Removed.
              * platform/cairo/cairo/src/cairo-quartz-private.h: Removed.
              * platform/cairo/cairo/src/cairo-quartz-surface.c: Removed.
              * platform/cairo/cairo/src/cairo-quartz.h: Removed.
              * platform/cairo/cairo/src/cairo-quartz2-surface.c: Removed.
              * platform/cairo/cairo/src/cairo-quartz2.h: Removed.
              * platform/cairo/cairo/src/cairo-region.c: Removed.
              * platform/cairo/cairo/src/cairo-scaled-font.c: Removed.
              * platform/cairo/cairo/src/cairo-slope.c: Removed.
              * platform/cairo/cairo/src/cairo-spline.c: Removed.
              * platform/cairo/cairo/src/cairo-stroke-style.c: Removed.
              * platform/cairo/cairo/src/cairo-surface-fallback-private.h: Removed.
              * platform/cairo/cairo/src/cairo-surface-fallback.c: Removed.
              * platform/cairo/cairo/src/cairo-surface.c: Removed.
              * platform/cairo/cairo/src/cairo-svg-surface.c: Removed.
              * platform/cairo/cairo/src/cairo-svg.h: Removed.
              * platform/cairo/cairo/src/cairo-traps.c: Removed.
              * platform/cairo/cairo/src/cairo-unicode.c: Removed.
              * platform/cairo/cairo/src/cairo-wideint.c: Removed.
              * platform/cairo/cairo/src/cairo-wideint.h: Removed.
              * platform/cairo/cairo/src/cairo-win32-font.c: Removed.
              * platform/cairo/cairo/src/cairo-win32-private.h: Removed.
              * platform/cairo/cairo/src/cairo-win32-surface.c: Removed.
              * platform/cairo/cairo/src/cairo-win32.h: Removed.
              * platform/cairo/cairo/src/cairo-xcb-surface.c: Removed.
              * platform/cairo/cairo/src/cairo-xcb-xrender.h: Removed.
              * platform/cairo/cairo/src/cairo-xcb.h: Removed.
              * platform/cairo/cairo/src/cairo-xlib-private.h: Removed.
              * platform/cairo/cairo/src/cairo-xlib-screen.c: Removed.
              * platform/cairo/cairo/src/cairo-xlib-surface.c: Removed.
              * platform/cairo/cairo/src/cairo-xlib-test.h: Removed.
              * platform/cairo/cairo/src/cairo-xlib-xrender.h: Removed.
              * platform/cairo/cairo/src/cairo-xlib.h: Removed.
              * platform/cairo/cairo/src/cairo.c: Removed.
              * platform/cairo/cairo/src/cairo.h: Removed.
              * platform/cairo/cairo/src/cairoint.h: Removed.
              * platform/cairo/cairo/src/test-fallback-surface.c: Removed.
              * platform/cairo/cairo/src/test-fallback-surface.h: Removed.
              * platform/cairo/cairo/src/test-meta-surface.c: Removed.
              * platform/cairo/cairo/src/test-meta-surface.h: Removed.
              * platform/cairo/cairo/src/test-paginated-surface.c: Removed.
              * platform/cairo/cairo/src/test-paginated-surface.h: Removed.
              * platform/cairo/pixman/AUTHORS: Removed.
              * platform/cairo/pixman/COPYING: Removed.
              * platform/cairo/pixman/README: Removed.
              * platform/cairo/pixman/src/Makefile.in: Removed.
              * platform/cairo/pixman/src/fbcompose.c: Removed.
              * platform/cairo/pixman/src/fbedge.c: Removed.
              * platform/cairo/pixman/src/fbedgeimp.h: Removed.
              * platform/cairo/pixman/src/fbmmx.c: Removed.
              * platform/cairo/pixman/src/fbmmx.h: Removed.
              * platform/cairo/pixman/src/fbpict.c: Removed.
              * platform/cairo/pixman/src/fbpict.h: Removed.
              * platform/cairo/pixman/src/fbtrap.c: Removed.
              * platform/cairo/pixman/src/icblt.c: Removed.
              * platform/cairo/pixman/src/icbltone.c: Removed.
              * platform/cairo/pixman/src/iccolor.c: Removed.
              * platform/cairo/pixman/src/icformat.c: Removed.
              * platform/cairo/pixman/src/icimage.c: Removed.
              * platform/cairo/pixman/src/icimage.h: Removed.
              * platform/cairo/pixman/src/icint.h: Removed.
              * platform/cairo/pixman/src/icpixels.c: Removed.
              * platform/cairo/pixman/src/icrect.c: Removed.
              * platform/cairo/pixman/src/icrop.h: Removed.
              * platform/cairo/pixman/src/icstipple.c: Removed.
              * platform/cairo/pixman/src/ictransform.c: Removed.
              * platform/cairo/pixman/src/ictrap.c: Removed.
              * platform/cairo/pixman/src/ictri.c: Removed.
              * platform/cairo/pixman/src/icutil.c: Removed.
              * platform/cairo/pixman/src/pixman-remap.h: Removed.
              * platform/cairo/pixman/src/pixman-xserver-compat.h: Removed.
              * platform/cairo/pixman/src/pixman.h: Removed.
              * platform/cairo/pixman/src/pixregion.c: Removed.
              * platform/cairo/pixman/src/pixregionint.h: Removed.
              * platform/cairo/pixman/src/renderedge.c: Removed.
              * platform/cairo/pixman/src/renderedge.h: Removed.
              * platform/cairo/pixman/src/slim_internal.h: Removed.
              * platform/cairo/rgb24-hacks.txt: Removed.
              * platform/cairo/scale-removal.txt: Removed.
              * platform/cg/AffineTransformCG.cpp: Removed.
              * platform/cg/FloatPointCG.cpp: Removed.
              * platform/cg/FloatRectCG.cpp: Removed.
              * platform/cg/FloatSizeCG.cpp: Removed.
              * platform/cg/GraphicsContextCG.cpp: Removed.
              * platform/cg/GraphicsContextPlatformPrivate.h: Removed.
              * platform/cg/ImageCG.cpp: Removed.
              * platform/cg/ImageSourceCG.cpp: Removed.
              * platform/cg/IntPointCG.cpp: Removed.
              * platform/cg/IntRectCG.cpp: Removed.
              * platform/cg/IntSizeCG.cpp: Removed.
              * platform/cg/PDFDocumentImage.cpp: Removed.
              * platform/cg/PDFDocumentImage.h: Removed.
              * platform/cg/PathCG.cpp: Removed.
              * platform/gdk/ImageGdk.cpp: Removed.
              * platform/mac/ColorMac.mm: Removed.
              * platform/mac/FloatPointMac.mm: Removed.
              * platform/mac/FloatRectMac.mm: Removed.
              * platform/mac/FloatSizeMac.mm: Removed.
              * platform/mac/GraphicsContextMac.mm:
              * platform/mac/IconMac.mm: Removed.
              * platform/mac/ImageMac.mm: Removed.
              * platform/mac/IntPointMac.mm: Removed.
              * platform/mac/IntRectMac.mm: Removed.
              * platform/mac/IntSizeMac.mm: Removed.
              * platform/qt/AffineTransformQt.cpp: Removed.
              * platform/qt/ColorQt.cpp: Removed.
              * platform/qt/FloatPointQt.cpp: Removed.
              * platform/qt/FloatRectQt.cpp: Removed.
              * platform/qt/IconQt.cpp: Removed.
              * platform/qt/ImageQt.cpp: Removed.
              * platform/qt/ImageSourceQt.cpp: Removed.
              * platform/qt/IntPointQt.cpp: Removed.
              * platform/qt/IntRectQt.cpp: Removed.
              * platform/qt/IntSizeQt.cpp: Removed.
              * platform/qt/PathQt.cpp: Removed.
              * platform/win/ImageWin.cpp: Removed.
              * platform/win/IntPointWin.cpp: Removed.
              * platform/win/IntRectWin.cpp: Removed.
              * platform/win/IntSizeWin.cpp: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17727 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08a5a1ee
  10. 23 Aug, 2006 1 commit
    • hyatt's avatar
      Refactor Cairo and CoreGraphics to use platform ifdefs. This patch · 7d8d9656
      hyatt authored
              separates the graphics engines from their respective platforms and replaces
              #ifdef PLATFORM(MAC) and PLATFORM(WIN) with PLATFORM(CG) and PLATFORM(CAIRO).
      
              Reviewed by darin
      
              * WebCore.xcodeproj/project.pbxproj:
              * platform/AffineTransform.h:
              * platform/Color.h:
              * platform/Cursor.h:
              * platform/FloatPoint.h:
              * platform/FloatRect.h:
              * platform/FloatSize.h:
              * platform/Font.h:
              * platform/FontData.h:
              * platform/GlyphBuffer.h:
              (WebCore::GlyphBuffer::glyphAt):
              (WebCore::GlyphBuffer::advanceAt):
              (WebCore::GlyphBuffer::add):
              * platform/GraphicsContext.h:
              * platform/Image.h:
              * platform/ImageSource.h:
              * platform/IntPoint.h:
              * platform/IntRect.h:
              * platform/IntSize.h:
              * platform/ResourceLoader.h:
              * platform/ResourceLoaderClient.h:
              * platform/Widget.h:
              * platform/cairo/GraphicsContextCairo.cpp:
              * platform/cairo/ImageCairo.cpp:
              * platform/cairo/ImageSourceCairo.cpp:
              * platform/cg/AffineTransformCG.cpp:
              * platform/cg/FloatPointCG.cpp: Added.
              * platform/cg/FloatRectCG.cpp: Added.
              * platform/cg/FloatSizeCG.cpp: Added.
              * platform/cg/GraphicsContextCG.cpp:
              (WebCore::GraphicsContext::GraphicsContext):
              (WebCore::GraphicsContext::~GraphicsContext):
              (WebCore::GraphicsContext::setFocusRingClip):
              (WebCore::GraphicsContext::clearFocusRingClip):
              (WebCore::GraphicsContext::platformContext):
              (WebCore::GraphicsContext::drawRect):
              (WebCore::GraphicsContext::drawLine):
              * platform/cg/GraphicsContextPlatformPrivate.h: Added.
              (WebCore::GraphicsContextPlatformPrivate:::m_cgContext):
              (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate):
              * platform/cg/ImageCG.cpp: Added.
              (WebCore::Image::drawTiled):
              * platform/cg/ImageSourceCG.cpp: Added.
              * platform/cg/IntPointCG.cpp: Added.
              * platform/cg/IntRectCG.cpp: Added.
              * platform/cg/IntSizeCG.cpp: Added.
              * platform/cg/PDFDocumentImage.cpp: Added.
              (WebCore::PDFDocumentImage::adjustCTM):
              * platform/cg/PDFDocumentImage.h: Added.
              * platform/cg/PathCG.cpp:
              * platform/image-decoders/bmp/BMPImageDecoder.cpp:
              * platform/image-decoders/gif/GIFImageDecoder.cpp:
              * platform/image-decoders/gif/GIFImageReader.cpp:
              * platform/image-decoders/ico/ICOImageDecoder.cpp:
              * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
              * platform/image-decoders/png/PNGImageDecoder.cpp:
              * platform/image-decoders/xbm/XBMImageDecoder.cpp:
              * platform/mac/FloatPointMac.mm:
              * platform/mac/FloatRectMac.mm:
              * platform/mac/FloatSizeMac.mm:
              * platform/mac/GraphicsContextMac.mm:
              * platform/mac/ImageMac.mm:
              * platform/mac/ImageSourceMac.cpp: Removed.
              * platform/mac/IntPointMac.mm:
              * platform/mac/IntRectMac.mm:
              * platform/mac/IntSizeMac.mm:
              * platform/mac/PDFDocumentImage.h: Removed.
              * platform/mac/PDFDocumentImage.mm: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d8d9656
  11. 03 Aug, 2006 1 commit
    • weinig's avatar
      JavaScriptCore: · f18aae37
      weinig authored
              Reviewed by Darin.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10176
                Make WebCore compile with -Wundef
      
                * Adds -Wundef flag to Xcode project
                * Converts #ifs to #ifdef and #ifndefs where needed.
                * Added #define YYMAXDEPTH 10000 in kjs/grammar.y
                  to fix a warning from within Bison.
      
              * JavaScriptCore.xcodeproj/project.pbxproj:
              * bindings/jni/jni_jsobject.cpp:
              (JavaJSObject::getSlot):
              (JavaJSObject::setSlot):
              * bindings/npapi.h:
              * bindings/objc/objc_class.mm:
              (KJS::Bindings::ObjcClass::methodsNamed):
              (KJS::Bindings::ObjcClass::fieldNamed):
              * bindings/objc/objc_instance.mm:
              (ObjcInstance::invokeMethod):
              * bindings/objc/objc_runtime.mm:
              (ObjcMethod::getMethodSignature):
              (ObjcField::name):
              (ObjcField::type):
              * kjs/grammar.y:
              * kjs/identifier.h:
      
      JavaScriptGlue:
      
              Reviewed by Darin.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10176
                Make WebCore compile with -Wundef
      
                * Adds -Wundef flag to Xcode project
      
              * JavaScriptGlue.xcodeproj/project.pbxproj:
      
      WebCore:
      
              Reviewed by Darin.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10176
                Make WebCore compile with -Wundef
      
                * Adds -Wundef flag to Xcode project
                * Converts #ifs to #ifdef and #ifndefs where needed.
                * Replaces #ifdef WIN32 with #if PLATFORM(WIN_OS) or PLATFORM(WIN)
                  (and in one instance in config.h with #if !COMPILER(MSVC))
                * Added #define YYMAXDEPTH 10000 in XPathGrammar.y and CSSGrammar.y
                  to fix a warning from within Bison.
                * Cleaned up style a little in surrounding code.
      
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/WebCoreAXObject.mm:
              (-[WebCoreAXObject doAXTextMarkerRangeForUnorderedTextMarkers:]):
              * config.h:
              * css/CSSGrammar.y:
              * css/MediaFeatureNames.cpp:
              * css/MediaFeatureNames.h:
              * css/cssparser.cpp:
              * dom/ContainerNode.cpp:
              (WebCore::ContainerNode::setActive):
              * dom/Element.cpp:
              (WebCore::Element::attach):
              * dom/Element.h:
              * dom/EventNames.cpp:
              * dom/EventNames.h:
              * dom/NamedAttrMap.h:
              * dom/Position.cpp:
              * dom/QualifiedName.cpp:
              * dom/QualifiedName.h:
              * dom/Range.h:
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::error):
              * html/HTMLTokenizer.cpp:
              (WebCore::HTMLTokenizer::scriptHandler):
              (WebCore::HTMLTokenizer::scriptExecution):
              (WebCore::HTMLTokenizer::parseTag):
              (WebCore::HTMLTokenizer::continueProcessing):
              (WebCore::HTMLTokenizer::write):
              (WebCore::HTMLTokenizer::timerFired):
              (WebCore::HTMLTokenizer::notifyFinished):
              * kcanvas/device/quartz/KCanvasFilterQuartz.h:
              * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/css/SVGRenderStyleDefs.h:
              * ksvg2/scripts/make_names.pl:
              * loader/CachedResource.h:
              * loader/LoaderFunctions.h:
              * loader/loader.h:
              * page/Frame.cpp:
              * page/FrameTree.cpp:
              * page/FrameView.cpp:
              (WebCore::FrameView::clear):
              (WebCore::FrameView::layout):
              (WebCore::FrameView::layoutTimerFired):
              (WebCore::FrameView::scheduleRelayout):
              (WebCore::FrameView::unscheduleRelayout):
              * platform/AtomicString.cpp:
              * platform/AtomicString.h:
              * platform/Cursor.h:
              * platform/DeprecatedArray.h:
              * platform/DeprecatedString.cpp:
              (WebCore::allocateHandle):
              (WebCore::initializeHandleNodeBlock):
              (WebCore::freeHandle):
              * platform/FloatPoint.h:
              * platform/FloatRect.h:
              * platform/FloatSize.h:
              * platform/GraphicsContext.h:
              * platform/Image.h:
              * platform/IntPoint.h:
              * platform/IntRect.h:
              (WebCore::IntRect::inflateX):
              (WebCore::IntRect::inflateY):
              * platform/IntSize.h:
              * platform/PlatformKeyboardEvent.h:
              * platform/PlatformMouseEvent.h:
              * platform/PlatformString.h:
              * platform/ResourceLoader.h:
              * platform/ResourceLoaderInternal.h:
              (WebCore::ResourceLoaderInternal::ResourceLoaderInternal):
              * platform/ScrollView.h:
              * platform/StaticConstructors.h:
              * platform/StreamingTextDecoderICU.cpp:
              (WebCore::StreamingTextDecoderICU::convert):
              * platform/StringImpl.h:
              * platform/Widget.h:
              * platform/mac/BlockExceptions.mm:
              * platform/mac/ColorMac.mm:
              (+[WebCoreControlTintObserver WebCore]):
              * platform/mac/FloatPointMac.mm:
              * platform/mac/FloatRectMac.mm:
              * platform/mac/FloatSizeMac.mm:
              * platform/mac/FontMac.mm:
              * platform/mac/GraphicsContextMac.mm:
              (WebCore::GraphicsContext::drawFocusRing):
              * platform/mac/IntPointMac.mm:
              * platform/mac/IntRectMac.mm:
              * platform/mac/IntSizeMac.mm:
              * platform/mac/WebCoreSystemInterface.h:
              * rendering/RenderBlock.h:
              * rendering/RenderTableCell.h:
              * rendering/bidi.cpp:
              (WebCore::appendRun):
              (WebCore::RenderBlock::layoutInlineChildren):
              * xml/XSLTProcessor.cpp:
              (WebCore::parseErrorFunc):
              * xpath/impl/XPathGrammar.y:
      
      WebKit:
      
              Reviewed by Darin.
      
              - patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=10176
                Make WebCore compile with -Wundef
      
                * Adds -Wundef flag to Xcode project
                * Converts #ifs to #ifdef and #ifndefs where needed.
      
              * Carbon/CarbonUtils.m:
              * Carbon/CarbonWindowAdapter.m:
              * Carbon/HIViewAdapter.m:
              (+[NSView bindHIViewToNSView:nsView:]):
              * Carbon/HIWebView.m:
              (HIWebViewEventHandler):
              * Misc/WebFileDatabase.m:
              (UniqueFilePathForKey):
              * Misc/WebNSWindowExtras.m:
              (swizzleInstanceMethod):
              * Misc/WebTypesInternal.h:
              * Plugins/WebNetscapeDeprecatedFunctions.c:
              * Plugins/WebNetscapeDeprecatedFunctions.h:
              * Plugins/WebNetscapePluginPackage.h:
              * Plugins/WebNetscapePluginPackage.m:
              (-[WebNetscapePluginPackage unloadWithoutShutdown]):
              (-[WebNetscapePluginPackage load]):
              * WebKit.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@15781 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f18aae37
  12. 11 Feb, 2006 1 commit
    • darin's avatar
      Rubber-stamped by Eric. · 6bc6dff5
      darin authored
              - renamed all the platform/mac files to have a Mac suffix
                (Hyatt and I discussed this change recently)
      
              * WebCore.xcodeproj/project.pbxproj:
              * platform/mac/Color.mm: Removed.
              * platform/mac/ColorMac.mm: Added.
              * platform/mac/FloatPoint.mm: Removed.
              * platform/mac/FloatPointMac.mm: Added.
              * platform/mac/FloatRect.mm: Removed.
              * platform/mac/FloatRectMac.mm: Added.
              * platform/mac/FloatSize.mm: Removed.
              * platform/mac/FloatSizeMac.mm: Added.
              * platform/mac/Image.mm: Removed.
              * platform/mac/ImageMac.mm: Added.
              * platform/mac/ImageSource.cpp: Removed.
              * platform/mac/ImageSourceMac.cpp: Added.
              * platform/mac/IntPoint.mm: Removed.
              * platform/mac/IntPointMac.mm: Added.
              * platform/mac/IntRect.mm: Removed.
              * platform/mac/IntRectMac.mm: Added.
              * platform/mac/IntSize.mm: Removed.
              * platform/mac/IntSizeMac.mm: Added.
              * platform/mac/QString.mm: Removed.
              * platform/mac/QStringMac.mm: Added.
              * platform/mac/Screen.mm: Removed.
              * platform/mac/ScreenMac.mm: Added.
              * platform/mac/SystemTime.cpp: Removed.
              * platform/mac/SystemTimeMac.cpp: Added.
              * platform/mac/Timer.cpp: Removed.
              * platform/mac/TimerMac.cpp: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6bc6dff5
  13. 30 Jan, 2006 1 commit
    • darin's avatar
      LayoutTests: · 44664ebc
      darin authored
              - updated test result for rect changes
      
              * fast/box-sizing/percentage-height-expected.txt: A bunch of strange empty
              clip rects are now dumping as (0,0) 0x0.
      
      WebCore:
      
              Reviewed by Eric.
      
              - cleanup of Int/Float-Size/Point/Rect classes
      
              I did this as part of a redo of QMatrix, but I decided I should
              land this part separately.
      
              Eliminated the concept of a null rect or point, which used to be
              indicated by negative width and height.
      
              Changed right and bottom to to be, e.g., 2 for a rect at (0,0) 2x2.
              The old code followed Qt's system that says right is 1 in those cases,
              which is inappropriate for floating point, and old fashioned because
              modern graphics systems use coordinates for lines between pixels, not
              the pixels themselves.
      
              Other API improvements to the point, size, and rect classes. For example,
              functions named with verbs now always modify the object itself.
      
              * rendering/render_theme_mac.mm: (RenderThemeMac::paintButton): Fixed
              a bug where it said x() where it should say y().
      
              * bridge/mac/MacFrame.h:
              * bridge/mac/MacFrame.mm:
              * bridge/mac/WebCoreFrameBridge.mm:
              * kcanvas/KCanvasContainer.cpp:
              * kcanvas/KCanvasItem.cpp:
              * kcanvas/RenderSVGImage.cpp:
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              * kcanvas/device/quartz/KCanvasItemQuartz.mm:
              * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
              * khtml/ecma/kjs_dom.cpp:
              * khtml/ecma/kjs_window.cpp:
              * khtml/editing/SelectionController.cpp:
              * khtml/html/html_inlineimpl.cpp:
              * khtml/html/html_objectimpl.cpp:
              * khtml/html/html_objectimpl.h:
              * khtml/misc/khtmllayout.h:
              * ksvg2/svg/SVGSVGElementImpl.cpp:
              * kwq/KWQAccObject.mm:
              * kwq/KWQComboBox.mm:
              * kwq/KWQFileButton.mm:
              * kwq/KWQFontMetrics.mm:
              * kwq/KWQPainter.h:
              * kwq/KWQPainter.mm:
              * kwq/KWQRegion.cpp:
              * kwq/KWQRenderTreeDebug.cpp:
              * kwq/KWQScrollView.mm:
              * kwq/KWQWMatrix.cpp:
              * kwq/KWQWidget.h:
              * kwq/KWQWidget.mm:
              * kwq/KWQWindowWidget.mm:
              * loader/CachedImage.cpp:
              * page/Frame.cpp:
              * page/FrameView.cpp:
              * platform/FloatPoint.cpp:
              * platform/FloatPoint.h:
              * platform/FloatRect.cpp:
              * platform/FloatRect.h:
              * platform/FloatSize.cpp:
              * platform/FloatSize.h:
              * platform/Image.h:
              * platform/IntPoint.cpp:
              * platform/IntPoint.h:
              * platform/IntPointArray.cpp:
              * platform/IntPointArray.h:
              * platform/IntRect.cpp:
              * platform/IntRect.h:
              * platform/IntSize.cpp:
              * platform/IntSize.h:
              * platform/mac/FloatPoint.mm:
              * platform/mac/FloatRect.mm:
              * platform/mac/FloatSize.mm:
              * platform/mac/Image.mm:
              * platform/mac/IntPoint.mm:
              * platform/mac/IntRect.mm:
              * platform/mac/IntSize.mm:
              * platform/mac/Screen.mm:
              * rendering/InlineTextBox.cpp:
              * rendering/RenderBlock.cpp:
              * rendering/RenderBlock.h:
              * rendering/RenderTable.cpp:
              * rendering/RenderTableCell.cpp:
              * rendering/RenderText.cpp:
              * rendering/render_box.cpp:
              * rendering/render_canvas.cpp:
              * rendering/render_canvasimage.cpp:
              * rendering/render_flow.cpp:
              * rendering/render_form.cpp:
              * rendering/render_frames.cpp:
              * rendering/render_layer.cpp:
              * rendering/render_line.cpp:
              * rendering/render_list.cpp:
              * rendering/render_object.cpp:
              * rendering/render_object.h:
              * rendering/render_replaced.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      44664ebc
  14. 13 Jan, 2006 3 commits
    • hyatt's avatar
      Convert QPointF to FloatPoint and move it to the platform · 2a468589
      hyatt authored
              directory.
      
              * WebCore.xcodeproj/project.pbxproj:
              * kcanvas/KCanvasContainer.cpp:
              (KCanvasContainer::fillContains):
              (KCanvasContainer::strokeContains):
              * kcanvas/KCanvasContainer.h:
              * kcanvas/KCanvasFilters.h:
              (KCanvasFEConvolveMatrix::kernelUnitLength):
              (KCanvasFEConvolveMatrix::setKernelUnitLength):
              * kcanvas/KCanvasItem.cpp:
              (RenderPath::fillContains):
              (RenderPath::strokeContains):
              * kcanvas/KCanvasItem.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              (operator<<):
              * kcanvas/KCanvasTreeDebug.h:
              * kcanvas/device/KRenderingPaintServerGradient.cpp:
              (KRenderingPaintServerLinearGradient::gradientStart):
              (KRenderingPaintServerLinearGradient::setGradientStart):
              (KRenderingPaintServerLinearGradient::gradientEnd):
              (KRenderingPaintServerLinearGradient::setGradientEnd):
              (KRenderingPaintServerRadialGradient::gradientCenter):
              (KRenderingPaintServerRadialGradient::setGradientCenter):
              (KRenderingPaintServerRadialGradient::gradientFocal):
              (KRenderingPaintServerRadialGradient::setGradientFocal):
              * kcanvas/device/KRenderingPaintServerGradient.h:
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              (ciVector):
              * kcanvas/device/quartz/KCanvasItemQuartz.h:
              * kcanvas/device/quartz/KCanvasItemQuartz.mm:
              (KCanvasItemQuartz::nodeAtPoint):
              (KCanvasItemQuartz::hitsPath):
              * ksvg2/svg/SVGLinearGradientElementImpl.cpp:
              (SVGLinearGradientElementImpl::buildGradient):
              * ksvg2/svg/SVGRadialGradientElementImpl.cpp:
              (SVGRadialGradientElementImpl::buildGradient):
              * kwq/KWQPointF.h: Removed.
              * kwq/KWQPointF.mm: Removed.
              * kwq/KWQRectF.h:
              (QRectF::contains):
              * kwq/KWQRectF.mm:
              (QRectF::QRectF):
              (QRectF::topLeft):
              (QRectF::topRight):
              (QRectF::bottomRight):
              (QRectF::bottomLeft):
              * platform/FloatPoint.cpp: Added.
              (WebCore::FloatPoint::FloatPoint):
              (WebCore::yCoord):
              (WebCore::operator+):
              (WebCore::operator-):
              (WebCore::operator*):
              * platform/FloatPoint.h: Added.
              (WebCore::FloatPoint::operator -=):
              * platform/mac/FloatPoint.mm: Added.
              (WebCore::FloatPoint::FloatPoint):
              (WebCore::FloatPoint::operator NSPoint):
              (WebCore::FloatPoint::operator CGPoint):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12084 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a468589
    • hyatt's avatar
      Convert QPoint and QPointArray to IntPoint and IntPointArray. · 85fa3d50
      hyatt authored
              Factor out the Objective-C-specific logic into a .mm file
              for IntPoint.
              
              * ForwardingHeaders/qpoint.h: Removed.
              * ForwardingHeaders/qpointarray.h: Removed.
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/KWQKHTMLView.cpp:
              (KHTMLView::viewportToGlobal):
              * bridge/mac/KWQKPartsBrowserExtension.h:
              * bridge/mac/MacFrame.h:
              * bridge/mac/MacFrame.mm:
              (MacFrame::khtmlMouseMoveEvent):
              (MacFrame::dragSourceMovedTo):
              (MacFrame::dragSourceEndedAt):
              (MacFrame::dispatchDragSrcEvent):
              * bridge/mac/WebCoreFrameBridge.mm:
              (-[WebCoreFrameBridge elementAtPoint:]):
              (-[WebCoreFrameBridge dragOperationForDraggingInfo:]):
              (-[WebCoreFrameBridge dragExitedWithDraggingInfo:]):
              (-[WebCoreFrameBridge concludeDragForDraggingInfo:]):
              (-[WebCoreFrameBridge dragSourceMovedTo:]):
              (-[WebCoreFrameBridge dragSourceEndedAt:operation:]):
              * kcanvas/KCanvasItem.h:
              * kcanvas/KCanvasTreeDebug.cpp:
              (operator<<):
              * kcanvas/KCanvasTreeDebug.h:
              * kcanvas/device/KRenderingPaintServerGradient.cpp:
              * kcanvas/device/KRenderingPaintServerPattern.h:
              * khtml/ecma/kjs_events.cpp:
              (KJS::ClipboardProtoFunc::callAsFunction):
              * khtml/ecma/kjs_window.cpp:
              (KJS::WindowFunc::callAsFunction):
              * khtml/editing/SelectionController.cpp:
              (khtml::SelectionController::layout):
              (khtml::SelectionController::caretRect):
              * khtml/editing/SelectionController.h:
              * khtml/html/html_canvasimpl.cpp:
              * khtml/html/html_imageimpl.cpp:
              (DOM::HTMLAreaElementImpl::mapMouseEvent):
              (DOM::HTMLAreaElementImpl::getRegion):
              * khtml/rendering/render_image.cpp:
              (RenderImage::paint):
              * khtml/rendering/render_list.cpp:
              (RenderListMarker::paint):
              * khtml/rendering/render_object.cpp:
              (RenderObject::drawBorder):
              * khtml/xml/dom2_eventsimpl.h:
              * ksvg2/svg/SVGPointImpl.cpp:
              (SVGPointImpl::SVGPointImpl):
              * ksvg2/svg/SVGPointImpl.h:
              * ksvg2/svg/SVGSVGElementImpl.cpp:
              (SVGSVGElementImpl::createSVGPoint):
              * ksvg2/svg/SVGSVGElementImpl.h:
              * kwq/KWQClipboard.h:
              * kwq/KWQClipboard.mm:
              (KWQClipboard::dragLocation):
              (KWQClipboard::setDragImage):
              (KWQClipboard::setDragImageElement):
              * kwq/KWQCursor.h:
              * kwq/KWQEvent.h:
              (QMouseEvent::pos):
              (QWheelEvent::QWheelEvent):
              (QWheelEvent::pos):
              (QWheelEvent::globalPos):
              * kwq/KWQEvent.mm:
              (positionForEvent):
              (globalPositionForEvent):
              * kwq/KWQPainter.h:
              * kwq/KWQPainter.mm:
              (QPainter::drawConvexPolygon):
              (QPainter::drawPixmap):
              * kwq/KWQPixmap.mm:
              (QPixmap::rect):
              * kwq/KWQPoint.mm: Removed.
              * kwq/KWQPointArray.cpp: Removed.
              * kwq/KWQPointArray.h: Removed.
              * kwq/KWQPointF.h:
              * kwq/KWQPointF.mm:
              (yCoord):
              * kwq/KWQRect.h:
              (QRect::moveTopLeft):
              (QRect::contains):
              * kwq/KWQRect.mm:
              (QRect::QRect):
              (QRect::topLeft):
              (QRect::topRight):
              (QRect::bottomRight):
              (QRect::bottomLeft):
              * kwq/KWQRegion.cpp:
              (QRegion::QRegion):
              (QRegion::contains):
              * kwq/KWQRegion.h:
              * kwq/KWQScrollView.h:
              * kwq/KWQScrollView.mm:
              (QScrollView::contentsToViewport):
              * kwq/KWQWidget.h:
              * kwq/KWQWidget.mm:
              (QWidget::pos):
              (QWidget::move):
              (QWidget::mapFromGlobal):
              * kwq/KWQWindowWidget.h:
              * kwq/KWQWindowWidget.mm:
              (KWQWindowWidget::mapFromGlobal):
              (KWQWindowWidget::viewportToGlobal):
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/FrameView.cpp:
              (KHTMLView::dispatchDragEvent):
              (KHTMLView::updateDragAndDrop):
              (KHTMLView::cancelDragAndDrop):
              (KHTMLView::performDragAndDrop):
              * page/FrameView.h:
              * platform/IntPoint.cpp: Added.
              (WebCore::IntPoint::IntPoint):
              (WebCore::operator+):
              (WebCore::operator-):
              (WebCore::operator*):
              * platform/IntPoint.h: Added.
              (WebCore::IntPoint::x):
              (WebCore::IntPoint::y):
              (WebCore::IntPoint::setX):
              (WebCore::IntPoint::setY):
              (WebCore::IntPoint::isNull):
              (WebCore::IntPoint::operator -=):
              * platform/IntPointArray.cpp: Added.
              (IntPointArray::IntPointArray):
              (IntPointArray::copy):
              (IntPointArray::boundingRect):
              (IntPointArray::point):
              (IntPointArray::setPoint):
              (IntPointArray::setPoints):
              * platform/IntPointArray.h: Added.
              (WebCore::IntPointArray::IntPointArray):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85fa3d50
    • hyatt's avatar
      Eliminate QSize and add the new class IntSize in the · 4b3688bc
      hyatt authored
              platform subdirectory.  Factor out the Objective-C portion
              of IntSize into a platform-specific IntSize.mm that resides
              in the mac subdirectory.
      
              Win32 can just compile IntSize.cpp and doesn't need any
              platform-specific extension here.
              
              Reviewed by darin
      
              * WebCore.xcodeproj/project.pbxproj:
              * kcanvas/KCanvasImage.h:
              * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
              (KCanvasImageQuartz::init):
              (KCanvasImageQuartz::size):
              * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
              (KRenderingDeviceQuartz::contextForImage):
              * khtml/css/cssstyleselector.cpp:
              (khtml::CSSStyleSelector::applyProperty):
              * khtml/ecma/kjs_html.cpp:
              (KJS::Image::getValueProperty):
              * khtml/ecma/kjs_window.cpp:
              (KJS::WindowFunc::callAsFunction):
              * khtml/misc/CachedImage.cpp:
              (khtml::CachedImage::pixmap_size):
              (khtml::CachedImage::data):
              * khtml/misc/CachedImage.h:
              * khtml/misc/CachedImageCallback.cpp:
              (khtml::CachedImageCallback::notifyUpdate):
              (khtml::CachedImageCallback::notifyFinished):
              * khtml/rendering/render_applet.cpp:
              (RenderApplet::createWidgetIfNecessary):
              * khtml/rendering/render_form.cpp:
              (RenderLineEdit::calcMinMaxWidth):
              (RenderFileButton::calcMinMaxWidth):
              (RenderSelect::layout):
              (RenderTextArea::calcMinMaxWidth):
              (RenderSlider::calcMinMaxWidth):
              * khtml/rendering/render_image.cpp:
              (RenderImage::paint):
              * khtml/rendering/render_object.cpp:
              (RenderObject::paintBorder):
              * khtml/rendering/render_style.h:
              (khtml::RenderStyle::borderTopLeftRadius):
              (khtml::RenderStyle::borderTopRightRadius):
              (khtml::RenderStyle::borderBottomLeftRadius):
              (khtml::RenderStyle::borderBottomRightRadius):
              (khtml::RenderStyle::setBorderTopLeftRadius):
              (khtml::RenderStyle::setBorderTopRightRadius):
              (khtml::RenderStyle::setBorderBottomLeftRadius):
              (khtml::RenderStyle::setBorderBottomRightRadius):
              (khtml::RenderStyle::setBorderRadius):
              (khtml::RenderStyle::initialBorderRadius):
              * khtml/rendering/render_theme_mac.h:
              * khtml/rendering/render_theme_mac.mm:
              (khtml::RenderThemeMac::inflateRect):
              (khtml::RenderThemeMac::setControlSize):
              (khtml::RenderThemeMac::sizeForFont):
              (khtml::RenderThemeMac::setSizeFromFont):
              (khtml::RenderThemeMac::checkboxSizes):
              (khtml::RenderThemeMac::setCheckboxCellState):
              (khtml::RenderThemeMac::radioSizes):
              (khtml::RenderThemeMac::setRadioCellState):
              (khtml::RenderThemeMac::buttonSizes):
              (khtml::RenderThemeMac::setButtonCellState):
              (khtml::RenderThemeMac::paintButton):
              * ksvg2/svg/SVGMaskElementImpl.cpp:
              (KSVG::SVGMaskElementImpl::attributeChanged):
              (KSVG::SVGMaskElementImpl::drawMaskerContent):
              * ksvg2/svg/SVGPatternElementImpl.cpp:
              (SVGPatternElementImpl::drawPatternContentIntoTile):
              (SVGPatternElementImpl::notifyAttributeChange):
              * ksvg2/svg/SVGPatternElementImpl.h:
              * kwq/KWQComboBox.h:
              * kwq/KWQComboBox.mm:
              (QComboBox::sizeHint):
              * kwq/KWQFileButton.h:
              * kwq/KWQFileButton.mm:
              (KWQFileButton::sizeForCharacterWidth):
              * kwq/KWQFontMetrics.h:
              * kwq/KWQFontMetrics.mm:
              (QFontMetrics::size):
              * kwq/KWQKJavaAppletWidget.h:
              * kwq/KWQKJavaAppletWidget.mm:
              (KJavaAppletWidget::KJavaAppletWidget):
              * kwq/KWQLineEdit.h:
              * kwq/KWQLineEdit.mm:
              (QLineEdit::sizeForCharacterWidth):
              * kwq/KWQListBox.h:
              * kwq/KWQListBox.mm:
              (QListBox::sizeForNumberOfLines):
              * kwq/KWQObject.h:
              * kwq/KWQPainter.h:
              * kwq/KWQPainter.mm:
              (QPainter::addRoundedRectClip):
              * kwq/KWQPixmap.h:
              * kwq/KWQPixmap.mm:
              (QPixmap::QPixmap):
              (QPixmap::size):
              (QPixmap::resize):
              * kwq/KWQRect.h:
              * kwq/KWQRect.mm:
              (QRect::QRect):
              (QRect::size):
              * kwq/KWQSize.h: Removed.
              * kwq/KWQSize.mm: Removed.
              * kwq/KWQSizeF.h:
              * kwq/KWQSizeF.mm:
              (QSizeF::QSizeF):
              * kwq/KWQSlider.h:
              * kwq/KWQSlider.mm:
              (QSlider::sizeHint):
              * kwq/KWQStyle.cpp:
              (QStyle::sizeFromContents):
              * kwq/KWQStyle.h:
              * kwq/KWQTextEdit.h:
              * kwq/KWQTextEdit.mm:
              (QTextEdit::sizeWithColumnsAndRows):
              * kwq/KWQWidget.h:
              * kwq/KWQWidget.mm:
              (QWidget::sizeHint):
              (QWidget::size):
              (QWidget::resize):
              * kwq/KWQWindowWidget.h:
              * kwq/KWQWindowWidget.mm:
              (KWQWindowWidget::sizeHint):
              * platform: Added.
              * platform/IntSize.cpp: Added.
              (WebCore::IntSize::IntSize):
              (WebCore::IntSize::isValid):
              (WebCore::IntSize::expandedTo):
              (WebCore::operator+):
              (WebCore::operator==):
              (WebCore::operator!=):
              * platform/IntSize.h: Added.
              * platform/mac: Added.
              * platform/mac/IntSize.mm: Added.
              (WebCore::IntSize::IntSize):
              (WebCore::IntSize::operator NSSize):
              (WebCore::IntSize::operator CGSize):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12077 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4b3688bc
  15. 12 Jan, 2006 1 commit
    • darin's avatar
      Reviewed, tweaked, and landed by Darin. · a9627932
      darin authored
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6497
                Use #include, not #import, in KWQ C++ files
      
              * bridge/mac/KWQKHTMLView.cpp:
              * kcanvas/RenderSVGText.cpp:
              * khtml/css/css_computedstyle.cpp:
              * kwq/KWQArrayImpl.cpp:
              * kwq/KWQBuffer.cpp:
              * kwq/KWQCString.cpp:
              * kwq/KWQCharsets.cpp:
              * kwq/KWQDateTime.cpp:
              * kwq/KWQDictImpl.cpp:
              * kwq/KWQGuardedPtr.cpp:
              * kwq/KWQKHTMLFactory.cpp:
              * kwq/KWQKPartsEvent.cpp:
              * kwq/KWQListImpl.cpp:
              * kwq/KWQMapImpl.cpp:
              * kwq/KWQObject.cpp:
              * kwq/KWQPen.cpp:
              * kwq/KWQPointArray.cpp:
              * kwq/KWQPtrDictImpl.cpp:
              * kwq/KWQRegion.cpp:
              * kwq/KWQStyle.cpp:
              * kwq/KWQTextCodec.cpp:
              * kwq/KWQTextStream.cpp:
              * kwq/KWQTimer.cpp:
              * kwq/KWQValueListImpl.cpp:
              * kwq/KWQVariant.cpp:
              * kwq/KWQVectorImpl.cpp:
              * kwq/KWQWMatrix.cpp:
              Replaced #import with #include.
      
              * kwq/KWQRegExp.cpp: Replaced #import with #include.
              Also changed <JavaScriptCore/pcre.h> to <pcre/pcre.h>.
              * ForwardingHeaders/pcre: Added.
              * ForwardingHeaders/pcre/pcre.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9627932
  16. 08 Jan, 2006 1 commit
    • eseidel's avatar
      Reviewed by mjs & xenon. · e17498a6
      eseidel authored
              Renamed a few in kwq/ from .mm to .cpp
      
              * WebCore.xcodeproj/project.pbxproj: updated paths
              * kwq/KWQDictImpl.cpp: Added.
              * kwq/KWQDictImpl.mm: Removed.
              * kwq/KWQKPartsEvent.cpp: Added.
              * kwq/KWQKPartsEvent.mm: Removed.
              * kwq/KWQListImpl.cpp: Added.
              * kwq/KWQListImpl.mm: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@11935 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e17498a6
  17. 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
  18. 17 Nov, 2003 1 commit
    • darin's avatar
      Reviewed by Ken. · 94f99ce2
      darin authored
              - did keyboard event cleanup to follow up on the keyCode work I did before
              - fixed 3485558: key identifers use lowercase hex, but the W3C document shows uppercase
              - fixed 3485564: key identifier for the Return key should be "Enter"
              - fixed 3485579: letter keys generate different key identifiers depending on whether the shift key is down
              - fixed 3485568: keyboard event modifier key bits are uninitialized; may have incorrect values
              - fixed 3481514: which attribute for DOM events reports incorrect value
              - fixed 3452569: charCode attribute for DOM events not supported
      
              * khtml/dom/dom2_events.h: Added charCode.
              * khtml/dom/dom2_events.cpp:
              (UIEvent::keyCode): Call through to KeyboardEventImpl instead of doing the work here;
              better factoring.
              (UIEvent::charCode): Added. Calls through to KeyboardEventImpl.
              (UIEvent::which): Call keyCode in KeyboardEventImpl to share code.
      
              * khtml/ecma/kjs_events.h: Added charCode property for DOMUIEvent.
              * khtml/ecma/kjs_events.cpp: (DOMUIEvent::getValueProperty): Added charCode.
              * khtml/ecma/kjs_events.lut.h: Regenerated.
      
              * khtml/html/html_formimpl.h:
              * khtml/html/html_formimpl.cpp:
              (HTMLInputElementImpl::defaultEventHandler): Remove checks for "U+00000d" since we now use "Enter"
              for that key; also, we use capitalized hex, so it would have to change to "U+00000D" anyway.
              (HTMLSelectElementImpl::defaultEventHandler): Ditto.
              * khtml/html/html_inlineimpl.cpp: (HTMLAnchorElementImpl::defaultEventHandler): Ditto.
      
              * khtml/khtmlview.cpp: (KHTMLView::keyPressEvent): Put !APPLE_CHANGES around code we are not
              using. It was doing a switch based on Qt key codes, but the key value it was using to check
              was a Macintosh virtual key code, which could yield strange results when the codes happen to
              match. Safer and smaller code size not to do any of it at all.
      
              * khtml/rendering/render_form.cpp:
              (RenderLineEdit::RenderLineEdit): Use a KLineEdit instead of LineEditWidget for APPLE_CHANGES.
              Allows us to put !APPLE_CHANGES around more Qt key code stuff.
              (RenderLineEdit::select): Cast to KLineEdit instead of LineEditWidget.
              (ComboBoxWidget::event): Put !APPLE_CHANGES around more unneeded Qt key code stuff.
              (TextAreaWidget::event): Put !APPLE_CHANGES around more unneeded Qt key code stuff.
      
              * khtml/xml/dom2_eventsimpl.h: Made id() const and added keyCode() and charCode().
              * khtml/xml/dom2_eventsimpl.cpp:
              (KeyboardEventImpl::KeyboardEventImpl): Initialize all fields in the empty constructor.
              Initialize all the modifier bits in the main constructor; the old code assumed they started
              off false, which is not a safe assumption. Also set m_altGraphKey false. Eliminated the
              unneeded check of text() before calling identifier(). Also adapted for the name change from
              identifier() to keyIdentifier().
              (KeyboardEventImpl::keyCode): Added. Returns the Windows virtual key code for keydown and
              keyup events, and the Unicode character for all other events.
              (KeyboardEventImpl::charCode): Added. Returns the Unicode character.
      
              * kwq/KWQEvent.h: Changed QCustomEvent to be a typedef for QEvent.
              (QEvent::QEvent): Removed AccelAvailable, and added KParts, so I could remove some ugly
              constants from the KParts code.
              (QMouseEvent::button): Use a cast here since the field is now int.
              (QMouseEvent::state): Use a cast here since the field is now int.
              (QMouseEvent::stateAfter): Use a cast here since the field is now int, and use the new
              _stateAfter field.
              (QTimerEvent::QTimerEvent): Moved the constructor to be inline since it's so simple.
              (QKeyEvent::QKeyEvent): Removed type and button state parameters, now unneeded.
              Also removed now-unused _key, _ascii, and _count fields, and key(), ascii(),
              and count() functions.
              (QKeyEvent::state): Made inline.
              (QKeyEvent::isAccepted): Made inline.
              (QKeyEvent::text): Made inline.
              (QKeyEvent::isAutoRepeat): Made inline.
              (QKeyEvent::accept): Made inline.
              (QKeyEvent::ignore): Made inline.
              (QKeyEvent::unmodifiedText): Made inline.
              (QKeyEvent::keyIdentifier): Made inline and chnaged name from identifier().
              * kwq/KWQEvent.mm:
              (keyIdentifierForKeyEvent): Renamed from identifierForKeyText and changed parameter
              to be the event. Cleaned up the code a little bit, and wrote a comment or two.
              Changed from lowercase hex to uppercase, and called toupper on the key so that
              letter a-z would work properly. (A non-Unicode toupper is just the ticket here,
              because I am only sure we want to do this for a-z, not other lowercase characters.)
              (isKeypadEvent): Added. Uses virtual key codes to decide if a key event is a keypad
              event, so we can set the state flag correctly.
              (WindowsKeyCodeForKeyEvent): Added Clear key to the switch statement; it was missing.
              Changed to no longe use the characterCode helper function since this was the only
              place it was needed.
              (mouseButtonForEvent): Added. Similar logic to what was in KWQKHTMLPart before; better
              factoring to have it in here.
              (nonMouseButtonsForEvent): Ditto.
              (QMouseEvent::QMouseEvent): Rewrote constructors. One matches the one from Qt that's
              used in some places in KHTML code. The other takes an NSEvent and uses the new functions
              above to compute the button and state.
              (QKeyEvent::QKeyEvent): Computer type based on the passed-in NSEvent. Compute the
              auto-repeat flag based on the event and also the "forceAutoRepeat" parameter. Compute
              the button state based on the event too.
      
              * kwq/KWQKHTMLPart.h: Remove buttonForCurrentEvent and stateForCurrentEvent. Both
              are now in KWQEvent.mm.
              * kwq/KWQKHTMLPart.mm:
              (KWQKHTMLPart::keyEvent): Remove extra parameters in code that creates QKeyEvent, now
              that QKeyEvent can handle everything itself.
              (KWQKHTMLPart::mouseDown): Same thing as above, only for QMouseEvent.
              (KWQKHTMLPart::mouseDragged): Ditto.
              (KWQKHTMLPart::mouseUp): Ditto.
              (KWQKHTMLPart::mouseMoved): Ditto.
              (KWQKHTMLPart::sendContextMenuEvent): Ditto.
      
              * kwq/KWQKPartsEvent.h: Tweaked the class around a little so it can work without
              taking advantage of QCustomEvent's data pointer.
              * kwq/KWQKPartsEvent.mm:
              (KParts::Event::Event): Changed so it does a strdup on the event name and uses the
              new event type pre-allocated in KWQEvent.h for us.
              (KParts::Event::~Event): Free the event name.
              (KParts::Event::test): Reimplemented this.
      
              * kwq/KWQKPartsPart.h: (KParts::Part::event): Removed now-unnecessary cast to change
              a QCustomEvent into a QEvent.
      
              * kwq/KWQNamespace.h: Removed the Qt::Key enum. All the code that used it was already
              broken because of the mixup between Qt and Macintosh key codes.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@5556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      94f99ce2
  19. 21 Jan, 2003 1 commit
  20. 26 Oct, 2002 1 commit
  21. 09 Sep, 2002 1 commit
    • darin's avatar
      Tools: · 7e7b97ba
      darin authored
              * Scripts/update-kwq-assert: Added. Script to keep the KWQ version
      	of the assert macros in sync. with the WebFoundation version. Just
      	update the WebFoundation one and run this script.
      
              * wftool/WFTool.m: Remove obsolete include.
      
      WebCore:
      
      	Switch over to new assertion/logging scheme.
      
              * kwq/KWQAssertions.h: Added.
              * kwq/KWQAssertions.m: Added.
              * kwq/KWQLogging.h: Added.
              * kwq/KWQLogging.m: Added.
              * kwq/kwqdebug.h: Removed.
              * kwq/kwqdebug.mm: Removed.
              * WebCore.pbproj/project.pbxproj: Update to reflect above changes.
      
              * kwq/KWQApplication.mm:
              * kwq/KWQChar.mm:
              * kwq/KWQColor.mm:
              * kwq/KWQComboBox.mm:
              * kwq/KWQCompletion.mm:
              * kwq/KWQCursor.mm:
              * kwq/KWQDrawUtil.mm:
              * kwq/KWQEvent.mm:
              * kwq/KWQFontInfo.mm:
              * kwq/KWQFontMetrics.mm:
              * kwq/KWQFrame.mm:
              * kwq/KWQHBox.mm:
              * kwq/KWQInputDialog.mm:
              * kwq/KWQInvisibleButton.mm:
              * kwq/KWQKConfigBase.mm:
              * kwq/KWQKFileDialog.mm:
              * kwq/KWQKFileItem.mm:
              * kwq/KWQKGlobalSettings.mm:
              * kwq/KWQKHTMLPartImpl.mm:
              * kwq/KWQKHTMLSettings.mm:
              * kwq/KWQKIconLoader.mm:
              * kwq/KWQKJob.mm:
              * kwq/KWQKLocale.mm:
              * kwq/KWQKMimeType.mm:
              * kwq/KWQKPartsEvent.mm:
              * kwq/KWQKSimpleConfig.mm:
              * kwq/KWQKURL.mm:
              * kwq/KWQKWin.mm:
              * kwq/KWQKWinModule.mm:
              * kwq/KWQKjobclasses.mm:
              * kwq/KWQKnetaccess.mm:
              * kwq/KWQLabel.mm:
              * kwq/KWQLineEdit.mm:
              * kwq/KWQListBox.mm:
              * kwq/KWQListImpl.mm:
              * kwq/KWQLoaderImpl.mm:
              * kwq/KWQObject.mm:
              * kwq/KWQPaintDeviceMetrics.mm:
              * kwq/KWQPainter.mm:
              * kwq/KWQPixmap.mm:
              * kwq/KWQRegion.mm:
              * kwq/KWQScrollView.mm:
              * kwq/KWQSlot.mm:
              * kwq/KWQString.mm:
              * kwq/KWQTimer.mm:
              * kwq/KWQWidget.mm:
              * kwq/KWQbrowserinterface.mm:
              * kwq/KWQtextcodec.mm:
              * kwq/KWQtextstream.mm:
              * kwq/KWQxml.mm:
              * kwq/WebCoreBridge.mm:
              * kwq/WebCoreCookieAdapter.m:
              * kwq/WebCoreHistory.m:
              * kwq/WebCoreImageRendererFactory.m:
              * kwq/WebCoreTextRendererFactory.m:
              * kwq/WebCoreViewFactory.m:
      	Update to use new assertions and logging macros.
      	In some cases, just removed unneeded includes.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e7b97ba
  22. 15 Jun, 2002 1 commit
  23. 21 Nov, 2001 1 commit
  24. 09 Nov, 2001 1 commit
  25. 08 Nov, 2001 1 commit
    • kocienda's avatar
      A large set of changes: · 60bddac0
      kocienda authored
      	- I did a pass over all .mm files in WebCore/src/kwq, adding
      	actual return values for all functions that return something
      	(there were *many* cases where callers were left dangling).
      	- I added numerous log statements throughout the code.
      	- I made the log statement system configurable at runtime, so the
      	amount of logging can be increased or decreased as desired.
      	- I added an implementation for QVariant.
      	- I cleaned up the implementations of QBrush and QPen.
      	- I made general fixups and cleanups in various places.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@423 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60bddac0
  26. 10 Oct, 2001 1 commit
  27. 05 Oct, 2001 1 commit
  28. 04 Oct, 2001 2 commits