+2007-06-26 Adam Roben <aroben@apple.com>
+
+ Add ChangeLog entries from the Windows merge.
+
+ Reviewed by Maciej.
+
+ * ChangeLog:
+
2007-06-26 Sam Weinig <sam@webkit.org>
Reviewed by Maciej.
(WebCore::refreshPlugins):
* platform/qt/TemporaryLinkStubs.cpp:
+=== Merged the following changes from branches/WindowsMerge ===
+
+2007-06-09 Sam Weinig <sam@webkit.org>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-06-08 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Adam.
+
+ If both the old and new WMP plugins are present, remove the old one
+ so we won't end up choosing it.
+
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::PluginDatabaseWin::getPluginsInPaths):
+
+2007-06-08 David Hyatt <hyatt@apple.com>
+
+ Update licenses/copyrights for WebCoreWin.
+
+ Reviewed by mccullough
+
+ * WebCorePrefix.cpp:
+ * bridge/win/FrameWin.cpp:
+ * bridge/win/FrameWin.h:
+ * bridge/win/HistoryWin.cpp:
+ * bridge/win/PageWin.cpp:
+ * page/win/EventHandlerWin.cpp:
+ * platform/graphics/cg/ColorCG.cpp:
+ * platform/graphics/cg/GraphicsContextPlatformPrivate.h:
+ * platform/graphics/svg/cg/SVGResourceFilterCg.cpp:
+ * platform/graphics/svg/cg/SVGResourceMaskerCg.cpp:
+ * platform/graphics/win/IconWin.cpp:
+ * platform/graphics/win/ImageWin.cpp:
+ * platform/network/cf/FormDataStreamCFNet.cpp:
+ * platform/network/cf/FormDataStreamCFNet.h:
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ * platform/network/cf/ResourceRequestCFNet.cpp:
+ * platform/network/cf/ResourceResponseCFNet.cpp:
+ * platform/network/win/CookieJarWin.cpp:
+ * platform/network/win/ResourceHandleWin.cpp:
+ * platform/network/win/ResourceHandleWin.h:
+ * platform/win/BString.cpp:
+ * platform/win/BString.h:
+ * platform/win/ClipboardWin.h:
+ * platform/win/ContextMenuWin.cpp:
+ * platform/win/CursorWin.cpp:
+ * platform/win/EditorWin.cpp:
+ * platform/win/FontCacheWin.cpp:
+ * platform/win/FontDataWin.cpp:
+ * platform/win/FontPlatformData.h:
+ * platform/win/FontPlatformDataWin.cpp:
+ * platform/win/FontWin.cpp:
+ * platform/win/GlyphPageTreeNodeWin.cpp:
+ * platform/win/GraphicsContextWin.cpp:
+ * platform/win/KeyEventWin.cpp:
+ * platform/win/MimeTypeRegistryWin.cpp:
+ * platform/win/NotImplemented.h:
+ * platform/win/PlatformMouseEventWin.cpp:
+ * platform/win/PlatformScrollBar.h:
+ * platform/win/PlatformScrollBarWin.cpp:
+ * platform/win/PopupMenuWin.cpp:
+ * platform/win/ScreenWin.cpp:
+ * platform/win/ScrollViewWin.cpp:
+ * platform/win/SearchPopupMenuWin.cpp:
+ * platform/win/SoundWin.cpp:
+ * platform/win/TemporaryLinkStubs.cpp:
+ * platform/win/TextBoundariesWin.cpp:
+ * platform/win/WebCoreHistory.cpp:
+ * platform/win/WebCoreHistory.h:
+ * platform/win/WebCoreSystemInterface.cpp:
+ * platform/win/WebCoreSystemInterface.h:
+ * platform/win/WheelEventWin.cpp:
+ * platform/win/WidgetWin.cpp:
+ * plugins/win/PlugInInfoStoreWin.cpp:
+ * plugins/win/PluginDatabaseWin.cpp:
+ * plugins/win/PluginDatabaseWin.h:
+ * plugins/win/PluginDebug.h:
+ * plugins/win/PluginPackageWin.cpp:
+ * plugins/win/PluginPackageWin.h:
+ * plugins/win/PluginStreamWin.cpp:
+ * plugins/win/PluginStreamWin.h:
+ * plugins/win/PluginViewWin.cpp:
+ * plugins/win/PluginViewWin.h:
+ * plugins/win/npapi.cpp:
+ * plugins/win/npfunctions.h:
+ * rendering/RenderThemeSafari.cpp:
+ * rendering/RenderThemeSafari.h:
+ * rendering/RenderThemeWin.h:
+
+2007-06-07 Sam Weinig <sam@webkit.org>
+
+ Fix build.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-06-07 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Steve.
+
+ <rdar://problem/5252902>
+ Shockwave plug-in content crashes.
+
+ Add a new quirk for plug-ins that need their WNDPROCs to be ASCII. If someone uses SetWindowLongA to set the WNDPROC to an ASCII one
+ and the previous one was an Unicode one, the value returned from SetWindowLongA (the old WNDPROC) will not be a function pointer, but instead
+ a special value. The Win32 API CallWndProc knows that when it encounters a special value it must convert the message to Unicode. Shockwave
+ does not use CallWndProc but instead treats the WNDPROC as a function.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWndProc):
+ (WebCore::PluginViewWin::determineQuirks):
+ (WebCore::PluginViewWin::init):
+ * plugins/win/PluginViewWin.h:
+ (WebCore::):
+ (WebCore::PluginViewWin::quirks):
+
+2007-06-07 Sam Weinig <sam@webkit.org>
+
+ Build fix for the build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-06-07 Sam Weinig <sam@webkit.org>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-06-06 Sam Weinig <sam@webkit.org>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-06-03 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Oliver.
+
+ Update to last fix.
+ Invalidate a list of rects rather than unioning them.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::invalidateTimerFired):
+ (WebCore::PluginViewWin::invalidateRect):
+ * plugins/win/PluginViewWin.h:
+
+2007-06-03 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Oliver.
+
+ <rdar://problem/5245016> 100A89+WebKit.dll: Can't select text in page location field at kids.yahoo.com
+
+ Delay invalidates for windowless Flash to prevent Flash WM_PAINT and WM_USER+1 messages from
+ starving other HWNDs.
+
+ This code defers the invalidate through a WebCore::Timer. We could have used a Windows ::SetTimer
+ to further lessen CPU load, but this would have the additional risk of negatively impacting Flash
+ performance, since WebCore::Timer is set up to be more responsive than ::SetTimer.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::invalidateTimerFired): Added.
+ (WebCore::PluginViewWin::invalidateRect): Delay invalidates for windowless Flash.
+ (WebCore::PluginViewWin::determineQuirks): Add delayed invalidate quirk.
+ * plugins/win/PluginViewWin.h:
+
+2007-06-02 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Adam.
+
+ Update last fix to use startsWith instead of strcmpi.
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::startStream):
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::scriptStringIfJavaScriptURL):
+
+2007-06-02 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by gramps.
+
+ Fix http://www.tvguide.com/ "LAUNCH VIDEO & PHOTO PLAYER" button.
+ Make "javascript" URL scheme string compare case insensitive.
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::startStream): Use strcmpi.
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::scriptStringIfJavaScriptURL): Use strcmpi.
+
+2007-06-01 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Steve.
+
+ If the value exists but is empty, return an empty String.
+
+ * plugins/win/PluginPackageWin.cpp:
+ (WebCore::getVersionInfo):
+
+2007-06-01 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Steve.
+
+ Add the default path for the new WMP Firefox plugin.
+
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::addWindowsMediaPlayerPluginPath):
+
+2007-05-31 Sam Weinig <sam@webkit.org>
+
+ Fixed build.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-05-31 Sam Weinig <sam@webkit.org>
+
+ Fixed build.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-05-30 Ada Chan <adachan@apple.com>
+
+ Reviewed by Adam.
+
+ Fixed build.
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::itemWritingDirectionIsNatural):
+
+2007-05-30 Sam Weinig <sam@webkit.org>
+
+ Build Fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-05-29 Sam Weinig <sam@webkit.org>
+
+ Fix the build.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-05-29 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://4782915> plugin is not in the right place at jumble.com/play.html
+
+ Pass the plugin window coordinates for windowed plugins too.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::setNPWindowRect):
+
+2007-05-29 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/4761543> nike.com doesn't finish loading if Flash plugin is installed
+ <rdar://problem/5131528> play button on Flash in ESPN front page does not start movie
+
+ Make sure to call NPP_SetWindow right after creating the plugin, and not from the main loop. However,
+ the WMP plugin needs to have the plugin's window coordinates set correctly when calling NPP_SetWindow so add a
+ quirk for that.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::determineQuirks):
+ (WebCore::PluginViewWin::init):
+ * plugins/win/PluginViewWin.h:
+ (WebCore::):
+
+2007-05-29 Sam Weinig <sam@webkit.org>
+
+ Reviewed by Adam Roben.
+
+ - Removes platform/win/NotImplemented.h because we have consolidated
+ the notImplemented() for all platforms in platform/NotImplemented.h
+ - Fixes remaining uses of old macro to use the new notImplemented() one.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * page/win/EventHandlerWin.cpp:
+ (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
+ * platform/graphics/svg/cg/SVGResourceFilterCg.cpp:
+ (WebCore::SVGResourceFilter::prepareFilter):
+ (WebCore::SVGResourceFilter::applyFilter):
+ * platform/graphics/svg/cg/SVGResourceMaskerCg.cpp:
+ (WebCore::SVGResourceMasker::applyMask):
+ * platform/win/GraphicsContextWin.cpp:
+ (WebCore::contextForImage):
+ * platform/win/NotImplemented.h: Removed.
+ * platform/win/SearchPopupMenuWin.cpp:
+ (WebCore::SearchPopupMenu::saveRecentSearches):
+ (WebCore::SearchPopupMenu::loadRecentSearches):
+ * platform/win/TemporaryLinkStubs.cpp:
+ (Frame::print):
+ (Frame::issueTransposeCommand):
+ (GraphicsContextPlatformPrivate::clip):
+ (WebCore::FrameView::updateBorder):
+ (Widget::setIsSelected):
+ (ScrollView::inWindow):
+ (WebCore::focusRingColor):
+ (WebCore::setFocusRingColorChangeFunction):
+ (Frame::setNeedsReapplyStyles):
+ (FrameLoader::overrideMediaType):
+ (DocumentLoader::getResponseModifiedHeader):
+ (ResourceHandle::willLoadFromCache):
+ (WebCore::userIdleTime):
+ (CachedPage::close):
+ (WebCore::supportedKeySizes):
+ (WebCore::signedPublicKeyAndChallengeString):
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::newStream):
+ (WebCore::PluginViewWin::write):
+ (WebCore::PluginViewWin::setValue):
+
+2007-05-29 Anders Carlsson <andersca@apple.com>
+
+ Build fix.
+
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::adjustSliderThumbStyle):
+
+2007-05-29 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Adam.
+
+ Port code from open source changeset 21808, fixing
+ http://bugs.webkit.org/show_bug.cgi?id=13871
+
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeMac::adjustSliderThumbStyle):
+ * rendering/RenderThemeSafari.h:
+
+2007-05-29 Ada Chan <adachan@apple.com>
+
+ Build fix.
+ - Added "$(ProjectDir)..\platform\win" to include paths
+ - Added WebCore\bindings\js\JSCSSStyleDeclarationCustom.cpp to project
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-05-28 Sam Weinig <sam@webkit.org>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-05-27 Sam Weinig <sam@webkit.org>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-05-24 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Darin Adler.
+
+ Fixed a bug with Settings where a number of different objects held bare
+ Settings* data members, even though the Page owns the Settings object and
+ deletes it upon destruction.
+
+ Added NULL checks since the Page can be deleted before the frame/document.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::load):
+
+2007-05-24 Sam Weinig <sam@webkit.org>
+
+ Reviewed by NOBODY.
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-05-24 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://5211882>
+ Need to relaunch Boomer to recognize newly installed QT plug-in
+
+ <rdar://5061867>
+ After installing Flash, Safari would still not display pages that needed it
+
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::PluginDatabaseWin::refresh):
+ Return whether the plugin database changed or not.
+
+ (WebCore::PluginDatabaseWin::findPlugin):
+ New function that tries to find a plug-in given its url and MIME type.
+
+ (WebCore::PluginDatabaseWin::createPluginView):
+ If no plugin is found, refresh the database and search for the plugin again if the database changed.
+
+2007-05-24 Adele Peterson <adele@apple.com>
+
+ - fix http://bugs.webkit.org/show_bug.cgi?id=13837
+ Separator in new <select> widget disappears when block element with border is in document.
+
+ * rendering/RenderThemeSafari.cpp: (WebCore::RenderThemeSafari::paintMenuListButton):
+ Added calls to set the stroke style and thickness when painting the arrows and the separator.
+
+2007-05-24 Sam Weinig <sam@webkit.org>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-05-23 Sam Weinig <sam@webkit.org>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-05-23 Anders Carlsson <andersca@apple.com>
+
+ Fix build.
+
+ * platform/win/CursorWin.cpp:
+ (WebCore::zoomInCursor):
+ (WebCore::zoomOutCursor):
+
+2007-05-22 Ada Chan <adachan@apple.com>
+
+ Fix build.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::handleMouseEvent):
+
+2007-05-22 Justin Garcia <justin.garcia@apple.com>
+
+ Reviewed by oliver
+
+ Build fix.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::handleMouseEvent):
+
+2007-05-21 Sam Weinig <sam@webkit.org>
+
+ Reviewed by Oliver.
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-05-21 Sam Weinig <sam@webkit.org>
+
+ Reviewed by Adam.
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-05-17 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Geoff, Adam.
+
+ Use precompiled headers (via WebCorePrefix.h) to speed up WebCoreWin builds.
+ This improved WebCore debug rebuild time from 40 minutes to 25 for me.
+
+ A few files needed to be excluded, since they didn't build properly with
+ the prefix file: ColorData.c, CSSGrammar.cpp, HTMLEntityNames.c, XPathGrammar.cpp, XPathParser.cpp.
+
+ * WebCore.vcproj/WebCore.vcproj: Turn on precompiled header, force includes flags.
+ * WebCorePrefix.cpp: Added.
+ * WebCorePrefix.h: Added.
+ * config.h: Modified to be compatible with WebCorePrefix.h.
+
+2007-05-18 Sam Weinig <sam@webkit.org>
+
+ Reviewed by Adam.
+
+ Fixing the vcproj paths.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-05-18 Sam Weinig <sam@webkit.org>
+
+ Reviewed by Geoff.
+
+ Build fix after r21577.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-05-18 Adam Roben <aroben@apple.com>
+
+ Build fix after r21562.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ * platform/win/WidgetWin.cpp:
+ * plugins/win/PluginViewWin.cpp:
+ * plugins/win/PluginViewWin.h:
+
+2007-05-18 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Geoff.
+
+ <rdar://problem/4914940> Some plugins won't redraw correctly when scrolling
+
+ This patch does two things:
+
+ 1. It comments out the call to set the window's region to an empty region while it's being moved. This was done to prevent
+ the QT plugin from drawing outside its bounds when scrolling it when it's inside an iframe or div with overflow.
+
+ 2. It lets Windows handle its invalid region when moving the window and setting its new window region.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::updateWindow):
+
+2007-05-18 Adam Roben <aroben@apple.com>
+
+ Build fix after r21555.
+
+ * page/win/EventHandlerWin.cpp:
+ (WebCore::EventHandler::passMouseMoveEventToSubframe):
+
+2007-05-17 Sam Weinig <sam@webkit.org>
+
+ Reviewed by Adam.
+
+ Build Fix after <rdar://problem/5201423>
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-05-17 Adele Peterson <adele@apple.com>
+
+ Reviewed by Hyatt.
+
+ Follow up to <rdar://problem/5092645> PopupMenuWin needs bidiReorderCharacters logic from RenderListBox
+
+ * platform/win/PopupMenuWin.cpp: (WebCore::PopupMenu::paint):
+ Use the clientStyle to determine how to handle bidi text. For popup buttons, which we restrict to LTR,
+ we will match the button text.
+
+2007-05-17 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Darin.
+
+ <rdar://problem/5210600> New WMP plugin doesn't show any contents
+
+ Call NPP_SetWindow after the window's size has been updated.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::setFrameGeometry):
+
+2007-05-17 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by John.
+
+ <rdar://problem/5204016> Repro crash on nytimes.com in MimeTypeRegistry::getMIMETypeForExtension
+
+ Return null if the extension is null.
+
+ * platform/win/MimeTypeRegistryWin.cpp:
+ (WebCore::MimeTypeRegistry::getMIMETypeForExtension):
+
+2007-05-16 Adele Peterson <adele@apple.com>
+
+ Reviewed by Hyatt.
+
+ Fix for:
+ <rdar://problem/5092645> PopupMenuWin needs bidiReorderCharacters logic from RenderListBox
+ <rdar://problem/5205654> Select popup menus should always be ltr to match the mac
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::show): Remove special cases for RTL menus, since we are always going to left align.
+ (WebCore::PopupMenu::calculatePositionAndSize): ditto.
+ (WebCore::PopupMenu::paint): Added call to bidiReorderCharacters.
+
+2007-05-14 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Sam.
+
+ Fix for <rdar://problem/5147895> REGRESSION: Content-Disposition: filename is ignored for drag-and-drop.
+
+ If the image does not already have a title, fall back to the
+ name suggested by Content-Disposition.
+
+ * platform/win/ClipboardWin.cpp:
+ (WebCore::createGlobalImageFileDescriptor):
+
+2007-05-14 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Sam.
+
+ Fix for <rdar://problem/5202805> Null dereference in createGlobalData(CString str)
+
+ Null terminate manually to prevent us from dereferencing null.
+
+ * platform/win/ClipboardUtilitiesWin.cpp:
+ (WebCore::createGlobalData):
+
+2007-05-14 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Geoff.
+
+ Windows side of fix for
+ <rdar://problem/4728842> Can't drag-and-drop files onto <input type="file">
+
+ * platform/win/ClipboardUtilitiesWin.cpp:
+ (WebCore::cfHDropFormat):
+ Need to be able to access externally
+
+ * platform/win/ClipboardUtilitiesWin.h:
+ Declare cfHDropFormat
+
+ * platform/win/DragDataWin.cpp:
+ (WebCore::DragData::containsFiles):
+ (WebCore::DragData::asFilenames):
+ Add implementation of containsFiles and asFilenames
+
+2007-05-14 Geoffrey Garen <ggaren@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-05-14 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Geoff.
+
+ <rdar://problem/5176940> Seed10: MS Silverlight 1.0 beta plug-in is not supported
+
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::addPluginsFromRegistry):
+ New function that adds plugins from the registry from HKEY_LOCAL_MACHINE/MozillaPlugins.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::invalidateRect):
+ (WebCore::PluginViewWin::forceRedraw):
+ Make these work with windowed plugins.
+
+2007-05-13 Darin Adler <darin@apple.com>
+
+ Requested by Hyatt.
+
+ - internal part of http://bugs.webkit.org/show_bug.cgi?id=13529
+ DOM3 keyIdentifier text is incorrect
+
+ * platform/win/KeyEventWin.cpp:
+ (WebCore::keyIdentifierForWindowsKeyCode): Use 4 digits for "U+" stuff.
+
+2007-05-12 Oliver Hunt <oliver@apple.com>
+
+ rs=hyatt.
+
+ Stubs to prevent build bustage
+
+ * platform/win/DragDataWin.cpp:
+ (WebCore::DragData::containsFiles):
+ (WebCore::DragData::asFilenames):
+
+2007-05-11 Darin Adler <darin@apple.com>
+
+ * WebCore.vcproj/WebCore.vcproj: Added new RenderWordBreak.cpp/h files.
+
+2007-05-10 Adele Peterson <adele@apple.com>
+
+ Reviewed by Hyatt.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::imageFromSelection): Updated to use selectionRect instead of visibleSelectionRect
+
+2007-05-08 Steve Falkenburg <sfalken@apple.com>
+
+ Rubber-stamped by Geoff.
+
+ Moved shared EditorWin code to Editor.cpp in open source.
+
+ * platform/win/EditorWin.cpp: Deleted (moved) most of this file.
+
+2007-05-08 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Darin, Oliver.
+
+ Removed localized string stubs.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2007-05-08 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Ada.
+
+ Updated for new editor interface.
+
+ * platform/win/EditorWin.cpp:
+ (WebCore::Editor::advanceToNextMisspelling):
+ (WebCore::isRangeUngrammatical):
+
+2007-05-07 Alice Liu <alice.liu@apple.com>
+
+ Reviewed by Oliver.
+
+ Fixed <rdar://5087119> Paste fidelity isn't as good as it is on the mac
+ and <rdar://5087118> Plain text copy/paste yields bad line endings on Boomer
+ and re-organized standalone functions in DragDataWin.cpp and PasteboardWin.cpp
+ into ClipboardUtilitiesWin.h/cpp.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/ClipboardUtilitiesWin.cpp: Added.
+ (WebCore::cfHDropFormat):
+ (WebCore::getWebLocData):
+ (WebCore::extractURL):
+ (WebCore::texthtmlFormat):
+ (WebCore::createGlobalData):
+ (WebCore::markupToCF_HTML):
+ (WebCore::urlToMarkup):
+ (WebCore::replaceNewlinesWithWindowsStyleNewlines):
+ (WebCore::replaceNBSPWithSpace):
+ (WebCore::urlWFormat):
+ (WebCore::urlFormat):
+ (WebCore::plainTextFormat):
+ (WebCore::plainTextWFormat):
+ (WebCore::filenameWFormat):
+ (WebCore::filenameFormat):
+ (WebCore::htmlFormat):
+ (WebCore::getURL):
+ (WebCore::getPlainText):
+ (WebCore::fragmentFromFilenames):
+ (WebCore::containsFilenames):
+ (WebCore::fragmentFromCF_HTML):
+ (WebCore::fragmentFromHTML):
+ (WebCore::containsHTML):
+ * platform/win/ClipboardUtilitiesWin.h: Added.
+ * platform/win/ClipboardWin.cpp:
+ (WebCore::ClipboardWin::writeRange):
+ * platform/win/DragDataWin.cpp:
+ * platform/win/PasteboardWin.cpp:
+ (WebCore::Pasteboard::writeSelection):
+ (WebCore::Pasteboard::documentFragment):
+
+2007-05-04 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Darin.
+
+ Fix crash when using "check spelling while typing".
+
+ * WebCore.vcproj/WebCore.vcproj: Added TextBreakIteratorInternalICUWin.cpp
+ * platform/win/TemporaryLinkStubs.cpp: Removed findSentenceBoundary, findNextSentenceFromIndex.
+
+2007-05-04 Alice Liu <alice.liu@apple.com>
+
+ Reviewed by Darin.
+
+ changed use of DeprecatedString::fromUTF8 to UTF8Encoding().decode()
+
+ * platform/win/DragDataWin.cpp:
+ (WebCore::fragmentFromHTML):
+ * platform/win/PasteboardWin.cpp:
+ (WebCore::Pasteboard::documentFragment):
+
+2007-05-03 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Ada, Oliver.
+
+ Checkpoint:
+ <rdar://problem/4602372> Spelling
+ <rdar://problem/4769763> Spell checking engine support
+
+ * platform/win/EditorWin.cpp:
+ (WebCore::findFirstBadGrammarInRange): Account for start offset when reporting bad grammar range (fixed my porting mistake).
+ (WebCore::Editor::advanceToNextMisspelling): Include user description with spelling error.
+ (WebCore::isRangeUngrammatical): Include user description with spelling error.
+
+2007-05-03 Alice Liu <alice.liu@apple.com>
+
+ Reviewed by Oliver.
+
+ Fixed <rdar://5181466> HTML formatted clipboard data is not converted from UTF8 when pasted
+
+ * platform/win/DragDataWin.cpp:
+ (WebCore::fragmentFromHTML):
+ * platform/win/PasteboardWin.cpp:
+ (WebCore::fragmentFromCF_HTML):
+ (WebCore::Pasteboard::documentFragment):
+
+2007-05-03 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Steve
+
+ Fix misuse of GlobalLock.
+
+ * platform/win/PasteboardWin.cpp:
+ (WebCore::createGlobalData):
+
+2007-05-03 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Steve.
+
+ Add logic to draw underlines for grammar and spelling errors.
+ (rdar://problem/4769832)
+
+ * platform/win/GraphicsContextWin.cpp:
+ (WebCore::spellingPatternColor):
+ (WebCore::grammarPatternColor):
+ Can't define global const with constructor so use function scoped globals instead.
+ (WebCore::setCGStrokeColor):
+ Utility function pulled over from GraphicsContextCG
+ (WebCore::GraphicsContext::drawLineForMisspellingOrBadGrammar):
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ Remove old drawLineForMisspellingOrBadGrammar stub
+
+2007-05-01 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Oliver.
+
+ Fix crash when retrieving title of context menu after it has been selected.
+ Necessary to get spelling corrections code working.
+
+ * platform/win/ContextMenuWin.cpp:
+ (WebCore::ContextMenu::itemWithAction): menu item info fType is a set of flags, MFT_STRING is 0, so we need to or off flags before comparing.
+
+2007-04-29 Adam Roben <aroben@apple.com>
+
+ Build fix after r21183.
+
+ * WebCore.vcproj/WebCore.vcproj: Added LayoutState.(h|cpp).
+
+2007-04-29 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Steve.
+
+ Fix for <rdar://problem/5126393> REGRESSION (r19672-19697): Safari drag image drags at original size (13261)
+
+ Prevent build bustage from opensource changes, correct scaling
+
+ * platform/win/DragImageWin.cpp:
+ (WebCore::scaleDragImage):
+
+2007-04-24 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Darin, Oliver.
+
+ Checkpoint:
+ <rdar://problem/4602372> Spelling
+ <rdar://problem/4769763> Spell checking engine support
+
+ Ported code from EditorMac.mm into EditorWin.cpp.
+ Once this works, I'll move this code into Editor.cpp and remove it
+ form EditorMac.mm.
+
+ * platform/win/EditorWin.cpp:
+ (WebCore::Editor::ignoreSpelling):
+ (WebCore::Editor::learnSpelling):
+ (WebCore::findFirstMisspellingInRange):
+ (WebCore::paragraphAlignedRangeForRange):
+ (WebCore::findFirstGrammarDetailInRange):
+ (WebCore::findFirstBadGrammarInRange):
+ (WebCore::Editor::advanceToNextMisspelling):
+ (WebCore::Editor::isSelectionMisspelled):
+ (WebCore::isRangeUngrammatical):
+ (WebCore::Editor::isSelectionUngrammatical):
+ (WebCore::Editor::guessesForUngrammaticalSelection):
+ (WebCore::Editor::guessesForMisspelledSelection):
+ (WebCore::Editor::showSpellingGuessPanel):
+ (WebCore::Editor::spellingPanelIsShowing):
+ (WebCore::Editor::markMisspellingsAfterTypingToPosition):
+ (WebCore::markAllMisspellingsInRange):
+ (WebCore::markAllBadGrammarInRange):
+ (WebCore::markMisspellingsOrBadGrammar):
+ (WebCore::Editor::markMisspellings):
+ (WebCore::Editor::markBadGrammar):
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2007-04-23 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Ada.
+
+ <rdar://problem/5061022>
+ REGRESSION: Acrobat 8 plug-in fails to scroll with trackpad two-finger scroll or mouse wheel (12995)
+
+ * page/win/EventHandlerWin.cpp:
+ (WebCore::EventHandler::passWheelEventToWidget):
+ Get rid of passWheelEventToSubframe and pass wheel events to all widgets.
+
+2007-04-23 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * page/win/EventHandlerWin.cpp: Removed passWheelEventToSubframe.
+
+2007-04-20 Beth Dakin <bdakin@apple.com>
+
+ Reviewed by Adam.
+
+ Fix for <rdar://problem/5089822> Boomer does not send scroll events
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::ScrollViewPrivate::valueChanged):
+
+2007-04-19 Adam Roben <aroben@apple.com>
+
+ * WebCore.vcproj/WebCore.vcproj: Removed empty filter.
+
+2007-04-19 Adam Roben <aroben@apple.com>
+
+ * WebCore.vcproj/WebCore.vcproj: Removed unused files.
+
+2007-04-18 Adam Roben <aroben@apple.com>
+
+ Reviewed by Oliver.
+
+ Added an equality operator to COMPtr.
+
+ * platform/win/COMPtr.h:
+ (operator==):
+ (operator!=):
+
+2007-04-18 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Geoff.
+
+ Allow images to be dragged from page and dropped as files.
+ This is the remainder of the fix for <rdar://problem/5035948>
+ -- Dragging image or link from boomer doesn't create webloc
+ or image file.
+
+ * platform/win/ClipboardWin.cpp:
+ (WebCore::filesystemPathFromUrlOrTitle):
+ Make name generation nicer, and better match Firefox
+
+ (WebCore::createGlobalURLContent):
+ rename function
+
+ (WebCore::createGlobalImageFileContent):
+ Copies image data into global store
+
+ (WebCore::createGlobalUrlFileDescriptor):
+ Rename function
+ Updated for parameter change on filesystemPathFromUrlOrTitle
+
+ (WebCore::createGlobalImageFileDescriptor):
+ Set up file descriptor for image drag
+
+ (WebCore::getCachedImage):
+ Helper function
+
+ (WebCore::writeImageToDataObject):
+ Attempts to build and insert data for image->file drag
+
+ (WebCore::ClipboardWin::declareAndWriteDragImage):
+ Attempts to build and insert data for image->file drag
+
+ (WebCore::ClipboardWin::writeURL):
+ Add call to imageDataToDataObject
+
+2007-04-17 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by Oliver.
+
+ * platform/network/cf/ResourceHandleCFNet.cpp: Removed an unnecessary
+ include.
+
+2007-04-17 Oliver Hunt <oliver@apple.com>
+
+ Whoops, had code commented out from manual failure test.
+ Also fixed date of previous changelog entry
+
+ * platform/win/ClipboardWin.cpp:
+ (WebCore::writeFileToDataObject):
+
+2007-04-17 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Ada.
+
+ Partial fix for <rdar://problem/5035948> -- Dragging image
+ or link from boomer doesn't create webloc or image file.
+
+ Add all the ground work to set up FileDescriptors and FileContent
+ for allowing files to be created from drag and drop actions,
+ and hook up logic for links to create WebLoc data for drag and drop.
+
+ * platform/win/ClipboardWin.cpp:
+ (WebCore::fileDescriptorFormat):
+ (WebCore::fileContentFormat):
+ Clipboard formats
+
+ (WebCore::pathRemoveBadFSCharacters):
+ (WebCore::filesystemPathFromUrlOrTitle):
+ Helper functions for create filenames
+
+ (WebCore::createGlobalDataForURLContent):
+ Create the WebLoc content
+
+ (WebCore::createGlobalDataForUrlFileDescriptor):
+ Create a file descriptor for the WebLoc data
+
+ (WebCore::writeFileToDataObject):
+ Basic helper function to push generated file info
+ into the target DataObject
+
+ (WebCore::ClipboardWin::writeURL):
+ Now puts WebLoc file onto the Clipboard
+
+2007-04-16 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ Fix <rdar://problem/5002577> Focus ring SPI in GraphicsContextWin.cpp
+ needs to move to WebKitSystemInterface
+
+ * platform/win/GraphicsContextWin.cpp:
+ (WebCore::GraphicsContext::drawFocusRing): Use wkDrawFocusRing.
+
+2007-04-14 Adam Roben <aroben@apple.com>
+
+ * WebCore.vcproj/WebCore.submit.sln: Use the Debug_Internal
+ configuration.
+
+2007-04-14 Adam Roben <aroben@apple.com>
+
+ Small correctness fix that is needed for building OpenSource.
+
+ * platform/win/PopupMenuWin.cpp: Use RenderTheme instead of RenderThemeWin.
+
+2007-04-13 Adam Roben <aroben@apple.com>
+
+ Reviewed by Tim.
+
+ Sync our config.h with the OpenSource version so we can merge ours in
+ later.
+
+ * config.h: Added #defines from the OpenSource version, moved
+ Windows-specific defines inside #if PLATFORM(WIN[_OS]), and got rid
+ of assert.h
+ * platform/win/CursorWin.cpp:
+ (WebCore::Cursor::Cursor): Use ASSERT instead of assert.
+
+2007-04-13 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by Tim.
+
+ Removed the loader/win directory since it only contains empty files.
+
+ * WebCore.vcproj/WebCore.vcproj: Removed empty files.
+ * loader/win/FrameLoaderWin.cpp: Removed.
+ * loader/win/ResourceLoaderWin.cpp: Removed.
+
+2007-04-12 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by Steve.
+
+ Removed unused file.
+
+ * WebCore.vcproj/WebCore.sln: Removed.
+
+2007-04-12 Adam Roben <aroben@apple.com>
+
+ Didn't mean to commit this.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-04-12 Adam Roben <aroben@apple.com>
+
+ Reviewed by Steve.
+
+ <rdar://problem/5131565> Need to be able to use debug WebKit with
+ release Safari.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.vcproj/debug.vsprops:
+ * WebCore.vcproj/debug_internal.vsprops: Added.
+ * WebCore.vcproj/release.vsprops:
+
+2007-04-11 Adam Roben <aroben@apple.com>
+
+ Reviewed by Tim.
+
+ Get rid of FrameViewWin.cpp, since it's empty.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * bridge/win/FrameViewWin.cpp: Removed.
+
+2007-04-11 Adam Roben <aroben@apple.com>
+
+ Reviewed by Anders.
+
+ Update for changes to Pasteboard.
+
+ * platform/win/PasteboardWin.cpp:
+ (WebCore::Pasteboard::writeImage):
+
+2007-04-10 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Darin
+
+ <rdar://problem/4887095> - PageCache and PageState should be combined
+
+ Changed a TemporaryLinkStub and updated the project file
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (CachedPage::close):
+
+2007-04-10 John Sullivan <sullivan@apple.com>
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::Editor::markBadGrammar):
+ Keep build going: added stub for this new method
+
+2007-04-10 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/5056988>
+ Can not open player on http://radioalice.com
+
+ Fix scriptStringIfJavaScriptURL to not use the path of the URL. This would ignore any characters past
+ a '?' character because that would be parsed as the query part of the URL.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::scriptStringIfJavaScriptURL):
+ Make this be more like the mac, chopping off the first 12 characters ("javascript:")
+ and then decoding the remaining characters.
+
+2007-04-10 Anders Carlsson <acarlsson@apple.com>
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::PluginViewWin):
+ Initialize m_status.
+
+2007-04-09 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/5062624>
+ No prompt to install QT for pages with uninstalled QT plug-in.
+
+ Add a status() accessor to PluginViewWin. This can be used by WebKit to find out if the plug-in
+ loaded successfully or not.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::PluginViewWin):
+ (WebCore::PluginViewWin::init):
+ * plugins/win/PluginViewWin.h:
+ (WebCore::):
+ (WebCore::PluginViewWin::status):
+
+2007-04-09 Brady Eidson <beidson@apple.com>
+
+ Build fix
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::performRequest): assume userGesture is true
+
+2007-04-09 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * platform/win/PasteboardWin.cpp:
+ (WebCore::Pasteboard::writeImage):
+
+2007-04-08 Adam Roben <aroben@apple.com>
+
+ Reviewed by Oliver.
+
+ Stubbed out Frame::dashboardRegionsChanged now that it's not
+ Mac-specific.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::Frame::dashboardRegionsChanged):
+
+2007-04-06 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Adam.
+
+ Fix for rdar://problem/5097227 Can't drag Flash-based
+ scrollbar on mtv.com
+
+ The problem was when creating a mouse move event for the
+ plugin we weren't passing on the mouse button state.
+
+ The opensource side of this patch adds logic that allows
+ us to distinguish between a MouseEvent with NoButton and
+ a MouseEvent with LeftButton, so we can then provide the
+ correct information to the plugin.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::handleMouseEvent):
+
+2007-04-06 Dave Hyatt <hyatt@apple.com>
+
+ Internal side of fix for bug 13274.
+
+ Reviewed by olliej
+
+ * page/win/EventHandlerWin.cpp:
+ (WebCore::EventHandler::passMousePressEventToSubframe):
+ * platform/win/PlatformScrollBarSafari.cpp:
+ (WebCore::PlatformScrollbar::handleMousePressEvent):
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::PopupMenu):
+ (WebCore::PopupWndProc):
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::removeChild):
+ * platform/win/WidgetWin.cpp:
+
+2007-04-07 Mark Rowe <mrowe@apple.com>
+
+ Internal build fox after opensource r20753.
+
+ * platform/win/PlatformMouseEventWin.cpp:
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2007-04-03 Oliver Hunt <oliver@apple.com>
+
+ Buildfix
+
+ * platform/network/cf/ResourceResponseCFNet.cpp:
+ (WebCore::ResourceResponse::doUpdateResourceResponse):
+ Adding .get() calls
+
+2007-04-03 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Alice.
+
+ - fixed <rdar://problem/5107069> WebCore leaks a copy of the CFHTTPMessage CFDictionary (from CFHTTPMessageCopyAllHeaderFields)
+
+ * platform/network/cf/ResourceResponseCFNet.cpp:
+ (WebCore::ResourceResponse::doUpdateResourceResponse): Use RetainPtr (once to avoid a leak and once
+ just as style cleanup).
+
+2007-04-02 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Adam.
+
+ Fix crashes seen when running the plugin layout tests.
+
+ * plugins/win/PluginPackageWin.cpp:
+ (WebCore::PluginPackageWin::load):
+ Fill in the enumerate pointer, not the evaluate pointer (it's already been filled in).
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::didFinishLoading):
+ Handle the case where there was no plugin stream data at all.
+
+2007-04-02 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Darin.
+
+ Check that NPStream pointers passed to NPN_DestroyStream are valid.
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::streams):
+ (WebCore::PluginStreamWin::PluginStreamWin):
+ (WebCore::PluginStreamWin::~PluginStreamWin):
+ (WebCore::PluginStreamWin::ownerForStream):
+ * plugins/win/PluginStreamWin.h:
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::destroyStream):
+
+2007-04-02 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Darin.
+
+ <rdar://problem/5095582>
+ PluginViewWin doesn't implement NPN_DestroyStream.
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::startStream):
+ Handle the case where NPN_DestroyStream is called from the newstream handler.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::destroyStream):
+ Implement this.
+
+2007-04-02 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Dave Hyatt.
+
+ <rdar://problem/5097225>
+ Mouse cursors don't work with windowless plugins
+
+ * platform/win/WidgetWin.cpp:
+ (WebCore::Widget::setCursor):
+ Add an "ignoreNextSetCursor" boolean and don't call SetCursor if it's true.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::handleMouseEvent):
+ Store away the current cursor and make sure that it won't be reset.
+
+2007-04-02 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Adam.
+
+ Fix logic in windowless paint functions.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::invalidateRect):
+ (WebCore::PluginViewWin::invalidateRegion):
+ (WebCore::PluginViewWin::forceRedraw):
+
+2007-03-31 Dave Hyatt <hyatt@apple.com>
+
+ Internal side of 13234. Open source side was reviewed by
+ Mitz. Layout of justified text was broken when dragged or
+ when a ::selection style was in effect.
+
+ * platform/win/FontWin.cpp:
+ (WebCore::Font::selectionRectForComplexText):
+ (WebCore::Font::drawComplexText):
+ (WebCore::Font::floatWidthForComplexText):
+ * platform/win/UniscribeController.cpp:
+ (WebCore::UniscribeController::UniscribeController):
+ (WebCore::UniscribeController::offsetForPosition):
+ * platform/win/UniscribeController.h:
+ * platform/win/WebCoreTextRenderer.cpp:
+ (WebCore::doDrawTextAtPoint):
+
+2007-03-30 Anders Carlsson <andersca@apple.com>
+
+ Reviewed by Geoff.
+
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::PluginDatabaseWin::addExtraPluginPath):
+ * plugins/win/PluginDatabaseWin.h:
+ New function for adding an extra plugin path, to be used by DRT.
+
+ * plugins/win/PluginPackageWin.cpp:
+ (WebCore::PluginPackageWin::load):
+ Set the current directory tho the plugin directory while loading the plugin. Add new NPN callbacks.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::invalidateRect):
+ (WebCore::PluginViewWin::invalidateRegion):
+ (WebCore::PluginViewWin::forceRedraw):
+ Don't do anything if the plugin is windowed.
+
+ * plugins/win/npapi.cpp:
+ (NPN_PushPopupsEnabledState):
+ (NPN_PopPopupsEnabledState):
+ Add stubs.
+
+ * plugins/win/npfunctions.h:
+ Add new methods and merge some fixes from the open source version.
+
+2007-03-29 Dave Hyatt <hyatt@apple.com>
+
+ Enable CG's local font cache. rdar://problem/5070005
+
+ Reviewed by aroben
+
+ * platform/win/FontCacheWin.cpp:
+ (WebCore::FontCache::platformInit):
+
+2007-03-28 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Darin.
+
+ - updates for <rdar://problem/4820817> Autoscroll is broken in Mail.app (message jumps around when trying to select text)
+
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::visibleContentRectConsideringExternalScrollers):
+ (WebCore::ScrollView::scrollRectIntoViewRecursively):
+
+2007-03-27 Dave Hyatt <hyatt@apple.com>
+
+ Fix for 5090964, arabic text is all jumbled in list boxes and popup menus (and in the
+ Boomer app too). The fallback font was not the right size because the font you're mapping
+ from had to be selected into the HDC first.
+
+ Reviewed by ggaren
+
+ * ChangeLog:
+ * platform/win/FontCacheWin.cpp:
+ (WebCore::FontCache::getFontDataForCharacters):
+
+2007-03-27 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Anders Carlsson.
+
+ Fixed <rdar://problem/5085076> WebView stops painting after
+ loading stand-alone netflix movie preview in WMP format
+
+ The stand-alone WMP plug-in seems to do all its drawing in
+ the WM_ERASEBKGN phase, not the WM_PAINT phase, so our
+ InvalidateRect call for plug-in windows needs to specify
+ 'true' for whether the background region should be erased.
+
+ A smart plug-in that wants to avoid background draws can
+ still do so by just returning 1 in response to WM_ERASEBKGN,
+ or by setting its background brush to NULL.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::updateWindow):
+
+2007-03-27 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Maciej.
+
+ <rdar://problem/5091459>
+ Crash when destroying "null plugin"
+
+ <rdar://problem/5056845>
+ Invoking itunes page has missing plugin icon on it
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::paintMissingPluginIcon):
+ Clip before painting.
+
+ (WebCore::freeStringArray):
+ Add null-check.
+
+ (WebCore::PluginViewWin::PluginViewWin):
+ Initialize plugin names and values.
+
+2007-03-27 Dave Hyatt <hyatt@apple.com>
+
+ Add support for glyph offsets to the GlyphBuffer.
+
+ Reviewed by olliej
+
+ * platform/win/FontWin.cpp:
+ (WebCore::Font::drawGlyphs):
+ * platform/win/UniscribeController.cpp:
+ (WebCore::UniscribeController::shapeAndPlaceItem):
+
+2007-03-26 Antti Koivisto <antti@apple.com>
+
+ Reviewed by Darin.
+
+ Initialize new m_isContinuous field in WheelEvent
+
+ * platform/win/WheelEventWin.cpp:
+ (WebCore::PlatformWheelEvent::PlatformWheelEvent):
+
+2007-03-27 Dave Hyatt <hyatt@apple.com>
+
+ Enable complex text. Selection and small-caps support are now enabled with this patch.
+
+ Reviewed by aroben
+
+ * platform/win/FontWin.cpp:
+ (WebCore::Font::selectionRectForComplexText):
+ (WebCore::Font::drawComplexText):
+ (WebCore::Font::floatWidthForComplexText):
+ (WebCore::Font::offsetForPositionForComplexText):
+ * platform/win/UniscribeController.cpp:
+ (WebCore::UniscribeController::UniscribeController):
+ (WebCore::UniscribeController::floatWidth):
+ (WebCore::UniscribeController::offsetForPosition):
+ (WebCore::UniscribeController::advance):
+ (WebCore::UniscribeController::itemizeShapeAndPlace):
+ (WebCore::UniscribeController::shapeAndPlaceItem):
+ * platform/win/UniscribeController.h:
+ (WebCore::UniscribeController::runWidthSoFar):
+
+2007-03-26 Adele Peterson <adele@apple.com>
+
+ Reviewed by Adam.
+
+ Fix for <rdar://problem/5088844> Popup menu is not positioned correctly on a yahoo comics page
+
+ Fixes test: fast/forms/control-restrict-line-height.html
+
+ This change was made in RenderThemeMac a while ago, and will fix the line height for aqua popup buttons,
+ buttons and search fields.
+
+ * rendering/RenderThemeSafari.cpp: WebCore::RenderThemeSafari::setFontFromControlSize):
+ Don't honor line-height for controls that have restricted font size.
+
+2007-03-25 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Oliver
+
+ <rdar://problem/5086888> - WebHistory(Item) Leak
+
+ * platform/win/COMPtr.h:
+ (COMPtr::COMPtr): An an adoptRef constructor
+
+2007-03-24 Adam Roben <aroben@apple.com>
+
+ Reviewed by Maciej.
+
+ Fix <rdar://problem/5076610> Crash in PluginViewWin::updateWindow when
+ loading a PDF page for the first time after installing Acrobat Reader
+
+ Don't call PluginPackageWin::load() until the PluginViewWin has been
+ inserted into the Widget tree. load() can result in arbitrary code
+ execution (in this case, a EULA window appears which takes focus from
+ the WebView, causing Frame::setIsActive(false) to be called), and we
+ don't want to be in a transitional state when that happens.
+
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::PluginDatabaseWin::createPluginView): Call PluginViewWin's
+ one and only constructor.
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::setParent): Call init() after inserting
+ ourselves into the Widget tree.
+ (WebCore::PluginViewWin::PluginViewWin): Defer all real work until
+ init() is called.
+ (WebCore::PluginViewWin::init): Added. Calls m_plugin->load(), then
+ does the rest of the work that was once done by the constructor.
+ * plugins/win/PluginViewWin.h: Removed createNullPlugin and simplified
+ constructor, added setParent override and new init method.
+
+2007-03-24 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Adam
+
+ <rdar://problem/5086210> - Move RetainPtr to WTF for WebKitWin and the App
+
+ * WebCore.vcproj/WebCore.vcproj: Add the ForwardingHeader to the vcprojs
+
+2007-03-23 Adele Peterson <adele@apple.com>
+
+ Reviewed by Maciej.
+
+ Fix for <rdar://problem/5083928> In editable webviews, caps lock key is ignored
+
+ * platform/win/KeyEventWin.cpp: (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
+ Removed code to store lowercase characters in m_text. Now that we use the character code
+ to create m_text this is already taken care of. This does mean that m_unmodifiedText is
+ not right. This is used for accesskeys, which don't work yet, so that is covered in rdar://5085596.
+ This also fixes line endings in this file.
+
+2007-03-22 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Adam Roben.
+
+ Fixed <rdar://problem/5082985> Select menus are too see-through
+
+ Upped alpha value from 90 to 95. Menus will still seem a little
+ more see-through than on the mac, since their backgrounds are
+ white, not grey, but white matches other Windows browsers.
+
+ * ChangeLog:
+ * platform/win/PopupMenuWin.cpp:
+
+2007-03-22 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Maciej.
+
+ <rdar://problem/5081539>
+ QT content is dupped on a page, if page is being previewed or printed.
+
+ Don't update the frame geometry if the document is in printing mode.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::setFrameGeometry):
+
+2007-03-22 Beth Dakin <bdakin@apple.com>
+
+ Fix by Hyatt, reviewed and committed by me.
+
+ Fix for <rdar://problem/5082360> Incomplete frame paint when
+ shrinking window @ google.com
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::setFrameGeometry): Wrong order!
+
+2007-03-22 Dave Hyatt <hyatt@apple.com>
+
+ Fix for crasher in layout caused by paints that happen without layout being current. Change to be
+ more like the Mac and crawl the frame tree up front ensuring everyone is up to date before painting.
+
+ Reviewed by olliej
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::setFrameGeometry):
+ (WebCore::ScrollView::children):
+ (WebCore::ScrollView::geometryChanged):
+
+2007-03-22 Dave Hyatt <hyatt@apple.com>
+
+ Fix for mouse wheel issues. Only return success from passWheelEventToSubframe is the event was
+ actually accepted.
+
+ * page/win/EventHandlerWin.cpp:
+ (WebCore::EventHandler::passWheelEventToSubframe):
+
+2007-03-21 Dave Hyatt <hyatt@apple.com>
+
+ Fix numerous bugs in RTL support. Only use a directional override if the run
+ tells us to. Uniscribe will give incorrect results when measuring RTL runs as LTR if the
+ directional override is set. Switch from logical order for glyphs to visual order
+ instead. This is more similar to ATSUI (less similar to the fast code path, which always uses
+ logical ordering for glyph generation). Using visual ordering forces a lot of games to be played
+ (have to walk the script items in backwards order for RTL for example), but Uniscribe does not combine
+ glyphs properly if visual ordering is not used.
+
+ Add support for justification, letter-spacing, word-spacing and rounding hacks. The CG vs. ATSUI layout
+ test now passes with identical results to the Mac. The ATSUI spacing features layout test now
+ generates correct results (although they are different from the Mac because we fall back to Arial for
+ Hebrew instead of Lucida Grande).
+
+ Reviewed by oliver
+
+ * platform/win/UniscribeController.cpp:
+ (WebCore::UniscribeController::UniscribeController):
+ (WebCore::UniscribeController::resetControlAndState):
+ (WebCore::UniscribeController::shapeAndPlaceItem):
+ (WebCore::UniscribeController::shape):
+ * platform/win/UniscribeController.h:
+
+2007-03-20 Adam Roben <aroben@apple.com>
+
+ Reviewed by Ada.
+
+ Added null-checks for ResourceHandle::cookieStorage() before passing it
+ into CFNetwork functions, which are not null-safe.
+
+ * platform/network/win/CookieJarWin.cpp:
+ (WebCore::setCookies):
+ (WebCore::cookies):
+
+2007-03-20 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj: Added XPathNodeSet.(cpp|h).
+
+2007-03-20 Adam Roben <aroben@apple.com>
+
+ Reviewed by Oliver.
+
+ Made the metrics of styled selects match those on the Mac to get
+ fast/forms/001.html passing.
+
+ * rendering/RenderThemeSafari.cpp: Use 2px less padding for the
+ select's arrow since the arrow is 2px wider than on the Mac.
+
+2007-03-20 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::makeFinalRequest): Fix typo.
+
+2007-03-20 Dave Hyatt <hyatt@apple.com>
+
+ Land advanced text code path (turned off).
+
+ Reviewed by aroben
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/FontCacheWin.cpp:
+ (WebCore::FontCache::createFontPlatformData):
+ * platform/win/FontDataWin.cpp:
+ (WebCore::FontData::platformInit):
+ (WebCore::FontData::platformDestroy):
+ (WebCore::FontData::smallCapsFontData):
+ (WebCore::FontData::scriptFontProperties):
+ * platform/win/FontWin.cpp:
+ (WebCore::Font::drawComplexText):
+ (WebCore::Font::floatWidthForComplexText):
+ (WebCore::Font::offsetForPositionForComplexText):
+ * platform/win/UniscribeController.cpp: Added.
+ (WebCore::UniscribeController::UniscribeController):
+ (WebCore::UniscribeController::resetControlAndState):
+ (WebCore::UniscribeController::shapeAndPlaceItem):
+ (WebCore::UniscribeController::shape):
+ * platform/win/UniscribeController.h: Added.
+ (WebCore::UniscribeController::width):
+ (WebCore::UniscribeController::glyphBuffer):
+
+2007-03-20 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/4921198>
+ Cookie acceptance policy not settable
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+
+ (WebCore::willSendRequest):
+ (WebCore::willCacheResponse):
+ Remove FIXMEs.
+
+ (WebCore::makeFinalRequest):
+ New function that makes a final CFURLRequest depending on cookie policy and whether any
+ invalid SSL certificates should be ignored.
+
+ (WebCore::ResourceHandle::start):
+ (WebCore::ResourceHandle::loadResourceSynchronously):
+ Use makeFinalRequest.
+
+ (WebCore::ResourceHandle::cookieStorageAcceptPolicy):
+ (WebCore::ResourceHandle::setCookieStorageAcceptPolicy):
+ (WebCore::ResourceHandle::cookieStorage):
+ (WebCore::ResourceHandle::setCookieStorage):
+ (WebCore::ResourceHandle::setHostAllowsAnyHTTPSCertificate):
+ New functions for setting cookie policy, the deafult cookie storage and whether invalid
+ SSL certificates should result in an error.
+
+ * platform/network/cf/ResourceRequestCFNet.cpp:
+ (WebCore::ResourceRequest::doUpdatePlatformRequest):
+ Set cookie storage, cookie policy and SSL properties.
+
+ * platform/network/win/CookieJarWin.cpp:
+ (WebCore::setCookies):
+ (WebCore::cookies):
+ Use same functions as the mac (sorta).
+
+ (WebCore::cookiesEnabled):
+ Implement this.
+
+2007-03-19 Adam Roben <aroben@apple.com>
+
+ Reviewed by Anders and Darin.
+
+ Added JavaScriptStatistics to the project for
+ <rdar://problems/5071653>.
+
+ * WebCore.vcproj/WebCore.vcproj: Added include/pthreads to the include
+ path, and added JavaScriptStatistics.(cpp|h).
+
+2007-03-18 David Hyatt <hyatt@apple.com>
+
+ Fix the CSS2 system font for 'menu' to match Mac. Makes the system fonts layout test pass.
+
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::systemFont):
+
+2007-03-18 Adam Roben <aroben@apple.com>
+
+ Reviewed by Hyatt.
+
+ Changed the file upload button to say "Choose File" to match Mac.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::fileButtonChooseFileLabel):
+
+2007-03-18 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Oliver Hunt.
+
+ Fixed <rdar://problem/5061807> STRESS (2): Crash in PlatformScrollbar::setRect
+
+ No test case because I can't seem to get the Windows DRT to cooperate. I'll try again tomorrow.
+
+ The problem was that the FrameView would try to reset the document's scrollbars after having
+ been removed from the page, so its page pointer would be NULL. Added NULL checks.
+
+ This situation ultimately results from the FrameView's non-trivial destructor, which
+ creates a fragile dependency on tear-down timing. It looks like the timing on Windows
+ is slightly different from the timing on Mac. I didn't see any obvious resulting bugs,
+ though, so the NULL checks should be sufficient for now.
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::windowResizerRect):
+ (WebCore::ScrollView::addToDirtyRegion):
+ (WebCore::ScrollView::scrollBackingStore):
+ (WebCore::ScrollView::updateBackingStore):
+
+2007-03-17 David Hyatt <hyatt@apple.com>
+
+ The internal side of the patch that ensures Boomer paints twice on ibench. Don't let the timer beat out
+ that first paint.
+
+ Reviewed by aroben
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::update):
+
+2007-03-17 Adam Roben <aroben@apple.com>
+
+ Reviewed by Brady.
+
+ Fix fast/dom/isindex-002.html.
+
+ Add default strings to our two remaining unimplemented localizable
+ strings in WebCore.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::searchableIndexIntroduction): Added English string from Mac.
+ (WebCore::inputElementAltText): Ditto.
+
+2007-03-17 Adele Peterson <adele@apple.com>
+
+ Reviewed by Hyatt.
+
+ Fix for <rdar://problem/4960391> REGRESSION (r18922): onChange never fired after selecting an item from a menulist
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::PopupMenu): Initialize m_focusedIndex to 0. Instead of using the client to track the focused index, we'll
+ keep track of it internally. Our old behavior was trying to match Firefox by updating the selected index as you focus items, but that
+ doesn't seem necessary if the selection never gets committed.
+ (WebCore::PopupMenu::show): Initialize the focused index to the client's selected index.
+ (WebCore::PopupMenu::setFocusedIndex): Remove the fireOnChange argument. Remove the call to valueChanged.
+ (WebCore::PopupMenu::focusedIndex): Return m_focusedIndex instead of getting this from the client.
+ (WebCore::PopupMenu::down): Use the focusedIndex.
+ (WebCore::PopupMenu::up): ditto.
+ (WebCore::PopupMenu::paint): Paint a selected appearance for the item with the focused index.
+
+2007-03-16 Adele Peterson <adele@apple.com>
+
+ Reviewed by Lou.
+
+ Fix for <rdar://problem/5065040> cannot mousedown + drag in a <select> menu
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::show): Set the capture when the popup window comes up.
+ (WebCore::PopupWndProc): Release the capture only when the mouse is not down, and the mouse moves outside the popup window,
+ or if you mouse up inside the window, and you're about to hide the popup. The mouse will get recaptured if you mouse down
+ again in the window.
+
+2007-03-15 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Oliver
+
+ CFNetwork related cleanup that was a work around for previous deficiencies in CFURLDownload
+ This might fix some of the random crashers we see on stress testing if they end up
+ downloading links.
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::ResourceHandleInternal::~ResourceHandleInternal): Always call cancel if theres a
+ connection - the ref-count-check hack is no longer neccesary
+ (WebCore::ResourceHandle::releaseConnectionForDownload): Give up the CFURLConnection without
+ derefing it
+
+2007-03-15 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Geoff and Steve.
+
+ - fixed <rdar://problem/5029776> iBench JavaScript test slower than Opera
+ - fixes to use FastMalloc on Windows
+
+ * config.h: Don't force USE_SYSTEM_MALLOC
+
+2007-03-15 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by Hyatt.
+
+ * platform/win/FontDataWin.cpp:
+ (WebCore::FontData::platformInit): Move the code to get the font face
+ to the top of the function for easier debugging.
+ * platform/win/FontPlatformDataWin.cpp:
+ (WebCore::FontPlatformData::FontPlatformData): ASSERT that we got a
+ valid CGFontRef back from CG, as CG and GDI should agree on the fonts
+ installed.
+
+2007-03-14 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ Use CFURLResponseCopySuggestedFilename.
+
+ * platform/network/cf/ResourceResponseCFNet.cpp:
+ (WebCore::suggestedFilenameForResponse):
+
+2007-03-14 Adam Roben <aroben@apple.com>
+
+ Reviewed by Hyatt.
+
+ Use CG to get xHeight.
+
+ * platform/win/FontDataWin.cpp:
+ (WebCore::scaleEmToUnits): Made robust against divide-by-zero errors.
+ (WebCore::FontData::platformInit): Ported Mac code to get xHeight using CG.
+
+2007-03-14 Anders Carlsson <acarlsson@apple.com>
+
+ Build fixes.
+
+ * platform/graphics/win/ImageWin.cpp:
+ (WebCore::Image::loadPlatformResource):
+ * platform/win/EditorWin.cpp:
+
+2007-03-13 Adam Roben <aroben@apple.com>
+
+ Reviewed by Anders.
+
+ * platform/win/FontDataWin.cpp:
+ (WebCore::scaleEmToUnits): Ported from FontDataMac.
+ (WebCore::FontData::platformInit): Use CG for metrics, and apply Mac's
+ line-height hack for Times, Helvetica, and Courier.
+ (WebCore::FontData::platformWidthForGlyph): Call wkGetGlyphAdvances to
+ use some CG SPI to match Mac.
+
+2007-03-12 Darin Adler <darin@apple.com>
+
+ * WebCore.vcproj/WebCore.vcproj: Added new JavaScript wrapper derived source files.
+
+2007-03-12 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Darin.
+
+ <rdar://problem/5054694>
+ Repro crash when viewing fast/dom/HTMLObjectElement/object-as-frame.html
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::Frame::createScriptInstanceForWidget):
+ Return 0 for frame views.
+
+2007-03-12 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/5054713>
+ Crash in suggestedFilenameForResponse in two fast/encoding tests.
+
+ Add null checks.
+
+ * platform/network/cf/ResourceResponseCFNet.cpp:
+ (WebCore::suggestedFilenameForResponse):
+
+2007-03-12 Adele Peterson <adele@apple.com>
+
+ Reviewed by Oliver.
+
+ Fix for <rdar://problem/5053618> Disable "recent searches" search field menu.
+
+ * platform/win/SearchPopupMenuWin.cpp: (WebCore::SearchPopupMenu::enabled):
+
+2007-03-12 Adele Peterson <adele@apple.com>
+
+ Reviewed by Oliver.
+
+ WebCore part of fix for <rdar://problem/5044790> preventing default of keypress event doesn't work (affects .mac)
+
+ * platform/win/KeyEventWin.cpp:
+ (WebCore::singleCharacterString): Added inline keyword.
+ (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
+ Renamed arguments to be more meaningful. Added characterCode argument to be used when constructing m_text.
+
+2007-03-12 Adele Peterson <adele@apple.com>
+
+ Reviewed by Oliver.
+
+ Forking KeyEventWin.cpp from revision 20118.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/KeyEventWin.cpp: Added.
+
+2007-03-11 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Adele.
+
+ Removed Frame::respondToChangedSelection stub
+ added Editor::markMisspellings stub
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::Editor::markMisspellings):
+
+2007-03-10 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Darin Adler.
+
+ Fixed <rdar://problem/4587763> PAC file: lock inversion between QT and
+ JSCore causes a hang @ www.panoramas.dk
+
+ See JavaScriptCore ChangeLog for details.
+
+ Stress test doesn't show any problems.
+
+ Drop the JSLock before making calls through the plug-in API from functions
+ that may have been called by JavaScript.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::paint):
+ (WebCore::PluginViewWin::handleKeyboardEvent):
+ (WebCore::PluginViewWin::handleMouseEvent):
+ (WebCore::PluginViewWin::setNPWindowRect):
+ (WebCore::PluginViewWin::start):
+ (WebCore::PluginViewWin::stop):
+ (WebCore::PluginViewWin::performRequest):
+ (WebCore::PluginViewWin::bindingInstance):
+
+2007-03-09 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by John.
+
+ Fix the doubled text in the image used to drag a link
+
+ * platform/win/WebCoreTextRenderer.cpp:
+ (WebCore::WebCoreDrawDoubledTextAtPoint):
+
+2007-03-09 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ Implement setting the suggested filename for a response.
+
+ * platform/network/cf/ResourceResponseCFNet.cpp:
+ (WebCore::filenameFromHTTPContentDisposition):
+ (WebCore::filenameHasSaneExtension):
+ (WebCore::suggestedFilenameForResponse):
+ (WebCore::ResourceResponse::doUpdateResourceResponse):
+ * platform/win/MimeTypeRegistryWin.cpp:
+ (WebCore::getMIMETypeForUTI):
+
+ (WebCore::mimeTypeForExtension):
+ Fix two bugs in this function.
+
+ (WebCore::MimeTypeRegistry::getPreferredExtensionForMIMEType):
+
+2007-03-09 Anders Carlsson <acarlsson@apple.com>
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::performRequest):
+ Fixup comments and remove an obsolete FIXME.
+
+2007-03-09 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Steve.
+
+ Executing a script for a plugin can cause cause this to be deleted
+ so we take a reference to our parent prior to executing the script
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::performRequest):
+
+2007-03-08 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Steve.
+
+ Allow webloc files to be dropped onto the webview
+
+ <rdar://problem/4883564> Regression: cannot open webloc file by dnd to Boomer's window
+
+ * platform/win/DragDataWin.cpp:
+ (WebCore::cfHDropFormat):
+ Clipboard format for HDROP, non-static as i will need it elsewhere in the future
+ (WebCore::getWebLocData):
+ Extract a url from a webloc file
+ (WebCore::getURL):
+ Call getWebLocData
+
+2007-03-08 Steve Falkenburg <sfalken@apple.com>
+
+ Fix Production build more
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-03-08 Steve Falkenburg <sfalken@apple.com>
+
+ Production build fix
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-03-08 Adam Roben <aroben@apple.com>
+
+ Reviewed by Steve.
+
+ Fix <rdar://problem/4969070> Failed error pages show "unknown error"
+ rather than specific error
+
+ Make ResourceError aware of kCFErrorDomainCFNetwork.
+
+ * platform/network/cf/ResourceErrorCF.cpp:
+ (WebCore::ResourceError::ResourceError): Added case for
+ kCFErrorDomainCFNetwork.
+
+2007-03-06 Adam Roben <aroben@apple.com>
+
+ Fixing the build while semi-blind is fun.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::supportedKeySizes): Need a namespace.
+ (WebCore::signedPublicKeyAndChallengeString): Ditto.
+
+2007-03-06 Adam Roben <aroben@apple.com>
+
+ It works better if you use valid C++ syntax.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2007-03-06 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * platform/win/TemporaryLinkStubs.cpp: Added missing stubs.
+
+2007-03-06 Adam Roben <aroben@apple.com>
+
+ Reviewed by Anders.
+
+ Always keep rounding hacks on.
+
+ * platform/win/FileChooserWin.cpp:
+ (WebCore::FileChooser::basenameForWidth): Tell StringTruncator to keep
+ rounding hacks on.
+ * platform/win/WebCoreTextRenderer.cpp:
+ (WebCore::WebCoreTextFloatWidth): Ditto.
+
+2007-03-06 Anders Carlsson <acarlsson@apple.com>
+
+ Build fix.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::userAgent):
+
+2007-03-05 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/5041348>
+ Can't watch videos at cnn.com
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::cancelAndDestroyStream):
+ Change this function back to call call stop() after destroyStream(). Also, make sure to
+ protect the stream since destroyStream can eventually, well, destroy it.
+
+2007-03-05 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/4987743>
+ Regression: java content is represented as broken images on pages
+
+ * plugins/win/PluginPackageWin.cpp:
+ (WebCore::PluginPackageWin::load):
+ Make sure to set the size of the NPPluginFuncs struct correctly.
+
+2007-03-05 Steve Falkenburg <sfalken@apple.com>
+
+ Fix build
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::stop): Call cancel() instead of stopLoading(), since the latter was removed.
+
+2007-03-02 Adam Roben <aroben@apple.com>
+
+ Reviewed by Anders.
+
+ Added optional underlining of a single character to
+ WebCoreTextRenderer.
+
+ No layout tests possible.
+
+ * platform/win/WebCoreTextRenderer.cpp:
+ (WebCore::doDrawTextAtPoint): Added. This is an extraction of the code
+ from DrawTextAtPoint that now also contains the underlining code.
+ (WebCore::WebCoreDrawTextAtPoint): Call the helper function.
+ (WebCore::WebCoreDrawDoubledTextAtPoint): Ditto.
+ * platform/win/WebCoreTextRenderer.h: Added optional underlinedIndex
+ parameters.
+
+2007-03-01 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Tim.
+
+ * plugins/win/npfunctions.h:
+ Fix tyop.
+
+2007-02-28 Adam Roben <aroben@apple.com>
+
+ Reviewed by Anders.
+
+ Clean up WebCoreTextRenderer. WebCoreDrawTextAtPoint now just draws
+ text at a point. It doesn't center truncate, clip, or modify alignment.
+
+ No layout test possible.
+
+ * platform/win/WebCoreTextRenderer.cpp:
+ (WebCore::WebCoreDrawTextAtPoint): Use only WebCore types, and don't
+ center truncate or modify alignment.
+ (WebCore::WebCoreDrawDoubledTextAtPoint): Moved from WebKitGraphics.cpp.
+ (WebCore::WebCoreTextFloatWidth): Added.
+ * platform/win/WebCoreTextRenderer.h: Updated/added declarations.
+
+2007-02-28 Adele Peterson <adele@apple.com>
+
+ Reviewed by Adam.
+
+ Fix for <rdar://problem/4887423> REGRESSION: search results popup menu strings are not localized
+ and <rdar://problem/3517227> accessibility-related strings in WebCore are not localized
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::searchMenuNoRecentSearchesText):
+ (WebCore::searchMenuRecentSearchesText):
+ (WebCore::searchMenuClearRecentSearchesText):
+ (WebCore::AXWebAreaText):
+ (WebCore::AXLinkText):
+ (WebCore::AXListMarkerText):
+ (WebCore::AXImageMapText):
+ (WebCore::AXHeadingText):
+
+2007-02-28 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Adam.
+
+ - fixed <rdar://problem/5005120> Crash: selecting View all RSS Articles from context menu of bookmark folder
+
+ * platform/network/cf/ResourceRequestCFNet.cpp:
+ (WebCore::ResourceRequest::doUpdatePlatformRequest): Use RetainPtr
+ instead of explicit release, as this was caused by CFRelease on
+ a null pointer, and REtainPtr is tolerant.
+
+2007-02-27 Beth Dakin <bdakin@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/4956528> Implement Pasteboard::writeImage for
+ Boomer context menus
+
+ * platform/win/PasteboardWin.cpp:
+ (WebCore::Pasteboard::writeImage): Copy a bitmap to the clipboard.
+
+2007-02-27 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Lou and Steve.
+
+ Add a store for current Cursor to fix <rdar://problem/4788352>
+
+ * platform/win/WidgetWin.cpp:
+ (WebCore::Widget::setCursor):
+
+2007-02-26 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Maciej.
+
+ To stop the drag image for transparent images from looking
+ ugly (especially fully transparent images) we render the
+ image to a white background prior to passing the image on to
+ Windows
+
+ <rdar://problem/5015946>
+
+ * platform/win/DragImageWin.cpp:
+ (WebCore::createDragImageFromImage):
+
+2007-02-26 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ * platform/win/GraphicsContextWin.cpp: Get rid of so-five-hours-ago SVG_SUPPORT.
+
+2007-02-26 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * config.h: Remove redundant #define.
+ * WebCore.vcproj/WebCore.vcproj: Update to new macros.
+
+2007-02-26 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by Ada.
+
+ * platform/graphics/svg/cg/SVGResourceFilterCg.cpp: Make #if match the header file.
+
+2007-02-26 Adam Roben <aroben@apple.com>
+
+ Reviewed by Darin.
+
+ Build fix.
+
+ * WebCore.vcproj/build-generated-files.sh: Updated FEATURE_DEFINES.
+ * platform/graphics/svg/cg/SVGResourceFilterCg.cpp: Use shiny new ENABLE(SVG).
+ * platform/graphics/svg/cg/SVGResourceMaskerCg.cpp: Ditto.
+
+2007-02-25 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Adam.
+
+ - fixed layout test failure in fast/overflow/scrollRevealButton
+
+ I added a new ScrollView method, fullyClippedContentRect, that vies the content rect
+ as clipped by all ancestor scroll views, not just this one. Currently it only works
+ correctly on mac however. visibleContentRect, only accounting for the clipping from
+ this particular scroll view, is sufficient for most purposes.
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrolView::fullyClippedContentRect):
+
+2007-02-24 Adam Roben <aroben@apple.com>
+
+ Change #if to #ifdef to match style.
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::show):
+
+2007-02-24 Adam Roben <aroben@apple.com>
+
+ Reviewed by Steve.
+
+ Fix <rdar://problem/5013502> REGRESSION: <select> menus are not
+ animating smoothly
+
+ This was caused by making the menus partially transparent in r12250.
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::show): Disable animations.
+
+2007-02-23 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/4761543>
+ nike.com doesn't finish loading if Flash plugin is installed.
+
+ If a plugin requests a JavaScript URL with a non null frame target, execute the JavaScript expression. If the result
+ is not "undefined", replace the contents of the frame with the result converted to a string.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::getString):
+ (WebCore::PluginViewWin::performRequest):
+ (WebCore::PluginViewWin::requestTimerFired):
+
+2007-02-22 Oliver Hunt <oliver@apple.com>
+
+ rs = adam
+
+ Replacing radar numbers from previous patch with one
+ the isn't fictitious <rdar://problem/5018591>
+
+ * platform/win/CursorWin.cpp:
+ (WebCore::columnResizeCursor):
+ (WebCore::rowResizeCursor):
+ (WebCore::verticalTextCursor):
+
+2007-02-22 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Ada.
+
+ Implemented a couple more cursor methods
+
+ * platform/win/CursorWin.cpp:
+ (WebCore::columnResizeCursor):
+ (WebCore::rowResizeCursor):
+ (WebCore::verticalTextCursor):
+ Added radar bug reference <rdar://problem/5018452>
+ (WebCore::progressCursor):
+ (WebCore::noDropCursor):
+ (WebCore::notAllowedCursor):
+ Making them return the correct cursor
+
+2007-02-22 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Anders.
+
+ Removing accessive COMPtr use from ClipboardWin constructors
+ Adding data verification to ClipoardWin::SetData
+ Small amount code tidying, and allowing for failure when writing an URL
+
+ * page/win/EventHandlerWin.cpp:
+ (WebCore::EventHandler::createDraggingClipboard):
+ Updated for new ClipboardWin constructor
+ * platform/win/ClipboardWin.cpp:
+ (WebCore::ClipboardWin::ClipboardWin):
+ (WebCore::writeURL):
+ (WebCore::ClipboardWin::getData):
+ Tidying code, and allowing failure
+ (WebCore::ClipboardWin::setData):
+ Verifying that we're writing a valid url
+
+ * platform/win/ClipboardWin.h:
+ * platform/win/EditorWin.cpp:
+ (WebCore::Editor::newGeneralClipboard):
+ Updated for new ClipboardWin constructor
+
+2007-02-22 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Ada, Lou, and Steve.
+
+ Last of the major Drag and drop implementation
+ patches for windows:
+ * Adds support for DOM Clipboard during drag operations
+ * Un-statics and refactors a few Pasteboard and DragData functions
+ to allow them to share implementation with ClipboardWin and other
+ drag logic
+ * Moves COMPtr.h from WebKit to WebCore
+ * Adds WCDataObject, which is basically a direct copy of
+ SDataObject from the app, with a few modifications to support
+ DOM clipboard functionality. Also includes a few suggestions
+ from Ada and Steve, mostly involving memory management :D
+
+ This resolves
+ <rdar://problem/4821407> Cannot drag link to bookmarks bar to create new link
+ <rdar://problem/4869496> User Interaction Essentials: Drag
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Adding new files
+
+ * page/win/DragControllerWin.cpp:
+ (WebCore::DragController::maxDragImageSize):
+ Maximum size of drag image to allow sharp edges
+ is 208x208
+
+ * page/win/EventHandlerWin.cpp:
+ (WebCore::EventHandler::createDraggingClipboard):
+ Properly implemented now
+
+ * platform/win/ClipboardWin.cpp:
+ (WebCore::):
+ (WebCore::clipboardTypeFromMIMEType):
+ (WebCore::ClipboardWin::ClipboardWin):
+ (WebCore::ClipboardWin::~ClipboardWin):
+ (WebCore::writeURL):
+ Helper function to write a url to a WCDataObject
+ (WebCore::ClipboardWin::clearData):
+ (WebCore::ClipboardWin::clearAllData):
+ (WebCore::ClipboardWin::getData):
+ (WebCore::ClipboardWin::setData):
+ (WebCore::addMimeTypesForFormat):
+ Helper function for ClipboardWin::types
+ (WebCore::ClipboardWin::types):
+ (WebCore::ClipboardWin::setDragImage):
+ (WebCore::ClipboardWin::setDragImageElement):
+ General setters, match behaviour of WebKit/Mac
+ (WebCore::ClipboardWin::createDragImage):
+ Creates a drag image for a DOM specified Image is specified
+ can't currently generate an image for an arbitrary element
+ (WebCore::imageToMarkup):
+ Wraps a url in an img tag
+ (WebCore::ClipboardWin::declareAndWriteDragImage):
+ (WebCore::ClipboardWin::writeURL):
+ (WebCore::ClipboardWin::writeRange):
+ (WebCore::ClipboardWin::hasData):
+ Implement Clipboard required by DragController.
+ Provides read/write DOM Clipboard implementation for dragging,
+ read only when accessing system clipboard.
+
+ * platform/win/ClipboardWin.h:
+ (WebCore::ClipboardWin::dataObject):
+ Provide an accessor for the dataObject
+
+ * platform/win/DragDataWin.cpp:
+ (WebCore::urlWFormat):
+ (WebCore::urlFormat):
+ (WebCore::plainTextFormat):
+ (WebCore::plainTextWFormat):
+ (WebCore::texthtmlFormat):
+ (WebCore::htmlFormat):
+ (WebCore::getURL):
+ (WebCore::DragData::asURL):
+ (WebCore::getPlainText):
+ (WebCore::DragData::asPlainText):
+ (WebCore::DragData::asFragment):
+ Refactoring and removing of a few static modifiers to allow sharing with Clipboard
+
+ * platform/win/DragImageWin.cpp:
+ (WebCore::dragImageSize):
+ (WebCore::deleteDragImage):
+ (WebCore::allocImage):
+ (WebCore::createCgContextFromBitmap):
+ (WebCore::scaleDragImage):
+ (WebCore::dissolveDragImageToFraction):
+ (WebCore::createDragImageFromImage):
+ (WebCore::createDragImageIconForCachedImage):
+ Implement DragImage functions
+
+ * platform/win/EditorWin.cpp:
+ (WebCore::Editor::newGeneralClipboard):
+ Creating a Clipboard that wraps the system clipboard
+
+ * platform/win/PasteboardWin.cpp:
+ (WebCore::createGlobalData):
+ (WebCore::markupToCF_HTML):
+ (WebCore::urlToMarkup):
+ (WebCore::replaceNBSP):
+ removing 'static'
+
+ * platform/win/WCDataObject.cpp: Added.
+ (WebCore::WCEnumFormatEtc::WCEnumFormatEtc):
+ (WebCore::WCEnumFormatEtc::QueryInterface):
+ (WebCore::WCEnumFormatEtc::AddRef):
+ (WebCore::WCEnumFormatEtc::Release):
+ (WebCore::WCEnumFormatEtc::Next):
+ (WebCore::WCEnumFormatEtc::Skip):
+ (WebCore::WCEnumFormatEtc::Reset):
+ (WebCore::WCEnumFormatEtc::Clone):
+ (WebCore::WCDataObject::createInstance):
+ (WebCore::WCDataObject::WCDataObject):
+ (WebCore::WCDataObject::~WCDataObject):
+ (WebCore::WCDataObject::QueryInterface):
+ (WebCore::WCDataObject::AddRef):
+ (WebCore::WCDataObject::Release):
+ (WebCore::WCDataObject::GetData):
+ (WebCore::WCDataObject::GetDataHere):
+ (WebCore::WCDataObject::QueryGetData):
+ (WebCore::WCDataObject::GetCanonicalFormatEtc):
+ (WebCore::WCDataObject::SetData):
+ (WebCore::WCDataObject::CopyMedium):
+ (WebCore::WCDataObject::EnumFormatEtc):
+ (WebCore::WCDataObject::DAdvise):
+ (WebCore::WCDataObject::DUnadvise):
+ (WebCore::WCDataObject::EnumDAdvise):
+ (WebCore::WCDataObject::clearData):
+ Copied from SDataObject in the App createInstance and clearData
+ are the only new functions. clearData removes any entries in the
+ object with a specified CLIPFORMAT.
+ Have also made a few error and memory handling changes suggested
+ by Steve and Ada
+ * platform/win/WCDataObject.h: Added.
+ Header for the above
+
+2007-02-22 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ Make sure we always paint the right size search results icon.
+
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::paintSearchFieldCancelButton): Removed unused parameter.
+ (WebCore::RenderThemeSafari::paintSearchFieldDecoration): Ditto.
+ (WebCore::RenderThemeSafari::paintSearchFieldResultsDecoration): Base
+ the control size off of the search field rect to ensure that the icon
+ and the control are the same size.
+ (WebCore::RenderThemeSafari::paintSearchFieldResultsButton): Ditto.
+
+2007-02-21 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ Updated for SafariTheme changes.
+
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::paintMenuList): Use DropDownButtonPart.
+
+2007-02-20 Adele Peterson <adele@apple.com>
+
+ Reviewed by Darin.
+
+ * WebCore.vcproj/WebCore.vcproj: Added JSHTMLSelectElementCustom.h
+
+2007-02-20 Beth Dakin <bdakin@apple.com>
+
+ Reviewed by Maciej.
+
+ Some changes needed to match moving writeImage() to the Pasteboard
+ on the Mac.
+
+ * platform/win/PasteboardWin.cpp:
+ (WebCore::Pasteboard::writeURL): Now takes a bool indicating if the
+ url if for an image.
+ (WebCore::Pasteboard::writeImage): This is just a stub for now. I
+ am putting it here instead of on TemporaryLinkStubs because I plan
+ on implementing it very soon.
+
+2007-02-20 Adam Roben <aroben@apple.com>
+
+ Reviewed by Darin and Anders.
+
+ Fix <rdar://problem/5003318> App: Status bar text is more difficult to
+ read than Mac OS X Safari
+
+ * WebCore.vcproj/WebCore.vcproj: Added new files.
+ * platform/win/FileChooserWin.cpp:
+ (WebCore::FileChooser::openFileChooser):
+ (WebCore::FileChooser::basenameForWidth): Added truncation.
+ * platform/win/WebCoreTextRenderer.cpp:
+ (WebCore::WebCoreDrawTextAtPoint): Added bottomAlign and centerTruncate parameters.
+ * platform/win/WebCoreTextRenderer.h: Ditto.
+
+2007-02-20 Alice Liu <alice.liu@apple.com>
+
+ Build fix
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Added PositionIterator.cpp & h
+
+2007-02-20 Steve Falkenburg <sfalken@apple.com>
+
+ Production build fix
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-02-19 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Adam Roben.
+
+ Fixed some leaks in RenderThemeSafari.
+
+ I just merged some of the code I wrote for RenderThemeMac.
+
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::paintMenuListButtonGradients):
+ (WebCore::RenderThemeSafari::paintSliderTrack):
+
+2007-02-19 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Oliver.
+
+ Fix build.
+
+ * page/win/DragControllerWin.cpp:
+ (WebCore::DragController::maxDragImageSize):
+
+2007-02-19 Adele Peterson <adele@apple.com>
+
+ Reviewed by Adam.
+
+ Fix for <rdar://problem/5006882> PlatformScrollbarSafari doesn't support small scroll bars
+
+ * platform/win/PlatformScrollBar.h:
+ * platform/win/PlatformScrollBarSafari.cpp:
+ (WebCore::):
+ (WebCore::PlatformScrollbar::PlatformScrollbar):
+ (WebCore::trackRepaintRect):
+ (WebCore::buttonRepaintRect):
+ (WebCore::PlatformScrollbar::invalidateTrack):
+ (WebCore::PlatformScrollbar::invalidatePart):
+ (WebCore::PlatformScrollbar::backButtonRect):
+ (WebCore::PlatformScrollbar::forwardButtonRect):
+ (WebCore::PlatformScrollbar::trackRect):
+ (WebCore::PlatformScrollbar::splitTrack):
+ (WebCore::PlatformScrollbar::thumbLength):
+ (WebCore::PlatformScrollbar::paintButton):
+ (WebCore::PlatformScrollbar::paintTrack):
+ (WebCore::PlatformScrollbar::paintThumb):
+ (WebCore::PlatformScrollbar::horizontalScrollbarHeight):
+ (WebCore::PlatformScrollbar::verticalScrollbarWidth):
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::show):
+ (WebCore::PopupMenu::calculatePositionAndSize):
+
+2007-02-19 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/5008424>
+ Regression: Crash loading mp3.com
+
+ * platform/network/cf/ResourceErrorCF.cpp:
+ (WebCore::ResourceError::ResourceError):
+ Handle null resource errrors.
+
+2007-02-19 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::computePageRectsForFrame): This is no longer an instance
+ method of Frame.
+ * bridge/win/FrameWin.h:
+
+2007-02-18 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Oliver.
+
+ - Adapt for Lars's patch to clean up Frame
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::Frame::cleanupPlatformScriptObjects):
+ (WebCore::Frame::createScriptInstanceForWidget):
+ (WebCore::Frame::computePageRects):
+ (WebCore::drawRectIntoContext):
+ (WebCore::imageFromSelection):
+ (WebCore::Frame::isCharacterSmartReplaceExempt):
+ * bridge/win/FrameWin.h:
+ * page/win/EventHandlerWin.cpp:
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::windowResizerRect):
+ (WebCore::ScrollView::addToDirtyRegion):
+ (WebCore::ScrollView::scrollBackingStore):
+ (WebCore::ScrollView::updateBackingStore):
+ * platform/win/TemporaryLinkStubs.cpp:
+ (Frame::print):
+ (Frame::issueTransposeCommand):
+ (WebCore::Frame::respondToChangedSelection):
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::PluginDatabaseWin::createPluginView):
+ * plugins/win/PluginDatabaseWin.h:
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::createNullPluginView):
+ (WebCore::PluginViewWin::PluginViewWin):
+ * plugins/win/PluginViewWin.h:
+
+2007-02-18 Ada Chan <adachan@apple.com>
+
+ Reviewed by Adam.
+
+ Move app text controls to use WebView.
+ - added a method to let us render text using WebKit.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/WebCoreTextRenderer.cpp: Added.
+ (WebCore::WebCoreDrawTextAtPoint):
+ * platform/win/WebCoreTextRenderer.h: Added.
+
+2007-02-18 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by Hyatt.
+
+ Fix <rdar://problem/5006918> All selected text is black, even if it is
+ some other color when not selected
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::paint): Use the listbox colors for selected items.
+ * rendering/RenderThemeSafari.cpp: Removed platformActiveSelectionForegroundColor.
+ * rendering/RenderThemeSafari.h: Ditto.
+
+2007-02-18 Adam Roben <aroben@apple.com>
+
+ Reviewed by Hyatt.
+
+ Fix <rdar://problem/5006872> <select> popups need Aqua scroll bars
+
+ PopupMenuWin now uses a PlatformScrollbar.
+
+ * platform/win/PlatformScrollBarSafari.cpp:
+ (WebCore::PlatformScrollbar::hitTest): Allow hit testing even when we
+ don't have a parent widget.
+ (WebCore::PlatformScrollbar::autoscrollPressedPart): Don't autoscroll
+ if nothing is pressed.
+ * platform/win/PopupMenuWin.cpp: m_scrollOffset is now measured in menu
+ items, not in pixels.
+ (WebCore::PopupMenu::PopupMenu): Initialize new member.
+ (WebCore::PopupMenu::show): Make popups partially transparent, don't
+ use Windows' built-in scroll bars, and create a PlatformScrollbar if
+ needed.
+ (WebCore::PopupMenu::calculatePositionAndSize): Get the scroll bar's
+ width from PlatformScrollbar instead of from Windows.
+ (WebCore::PopupMenu::visibleItems): Added.
+ (WebCore::PopupMenu::listIndexAtPoint): Definition moved here from header.
+ (WebCore::PopupMenu::invalidateItem): Update for m_scrollOffset change,
+ and shrink the damage rect to not invalidate the scroll bar unnecessarily.
+ (WebCore::PopupMenu::scrollToRevealSelection): Updated to use PlatformScrollbar.
+ (WebCore::PopupMenu::updateFromElement): Changed bool to BOOL.
+ (WebCore::PopupMenu::paint): Updated for m_scrollOffset change, and
+ paint the scroll bar at the end.
+ (WebCore::PopupMenu::valueChanged): Added. Code comes from the old scrollTo method.
+ (WebCore::PopupMenu::windowClipRect): Added.
+ (WebCore::PopupWndProc):
+ - Set up the scroll bar in WM_SIZE
+ - Send mouse events to the scroll bar when appropriate
+ - Get rid of handling of WM_VSCROLL events (we shouldn't receive these anymore)
+
+2007-02-18 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Adam.
+
+ Updated to include stubs for drag and drop methods
+ Added DragImage[Win].cpp to project file
+ Now uses platform independent EventHandler::handleDrag
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::Frame::dragImageForSelection):
+ Just wrap the platform specific selectionImage method
+
+ * page/win/DragControllerWin.cpp:
+ Defining constants for drag images -- basically copied the Mac definitions
+
+ * page/win/EventHandlerWin.cpp:
+ (WebCore::EventHandler::createDraggingClipboard):
+ Basic implementation -- needs to create an IDataObject to be useful
+ but ClipboardWin is basically unimplemented anyway so not yet a problem
+
+ * platform/win/ClipboardWin.cpp:
+ (WebCore::ClipboardWin::createDragImage):
+ (WebCore::ClipboardWin::declareAndWriteDragImage):
+ (WebCore::ClipboardWin::writeURL):
+ (WebCore::ClipboardWin::writeRange):
+ (WebCore::ClipboardWin::hasData):
+ Stubs
+
+ * platform/win/ClipboardWin.h:
+ Updated interface
+
+ * platform/win/DragImageWin.cpp: Added.
+ (WebCore::dragImageSize):
+ (WebCore::deleteDragImage):
+ (WebCore::scaleDragImage):
+ (WebCore::dissolveDragImageToFraction):
+ (WebCore::createDragImageFromImage):
+ (WebCore::createDragImageIconForCachedImage):
+ Stubs
+
+2007-02-17 Adam Roben <aroben@apple.com>
+
+ * WebCore.vcproj/WebCore.vcproj: Removed bogus single-file
+ configuration for MimeTypeRegistryWin.cpp.
+
+2007-02-17 David Hyatt <hyatt@apple.com>
+
+ Part of the OpenSource fix to make sure the fill color starts off as transparent. Make sure our CG context
+ has its state properly in sync with the CGContext.
+
+ Reviewed by aroben
+
+ * platform/win/GraphicsContextWin.cpp:
+ (WebCore::GraphicsContext::GraphicsContext):
+
+2007-02-17 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * platform/win/CursorWin.cpp:
+ (WebCore::notAllowedCursor):
+
+2007-02-17 Dave Hyatt <hyatt@apple.com>
+
+ Change how resizers are invalidated to fix Radar bug #4976772.
+
+ Reviewed by olliej
+
+ * platform/win/GraphicsContextWin.cpp:
+ (WebCore::GraphicsContext::GraphicsContext):
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::suppressScrollbars):
+ (WebCore::ScrollView::paint):
+ (WebCore::ScrollView::adjustOverlappingScrollbarCount):
+ * platform/win/WidgetWin.cpp:
+ (WebCore::Widget::invalidateRect):
+
+2007-02-16 Dave Hyatt <hyatt@apple.com>
+
+ Fix for Radar bug #4981074, RSS Scrollbar overlaps window resizer. Teach all scrollbars how to
+ avoid the window resizer.
+
+ Reviewed by aroben
+
+ * platform/win/PlatformScrollBar.h:
+ * platform/win/PlatformScrollBarSafari.cpp:
+ (WebCore::PlatformScrollbar::PlatformScrollbar):
+ (WebCore::PlatformScrollbar::setRect):
+ (WebCore::PlatformScrollbar::setParent):
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollbar::PlatformScrollbar):
+ (WebCore::PlatformScrollbar::setRect):
+ (WebCore::PlatformScrollbar::setParent):
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::ScrollViewPrivate::ScrollViewPrivate):
+ (WebCore::ScrollView::updateScrollbars):
+ (WebCore::ScrollView::resizerOverlapsContent):
+ (WebCore::ScrollView::adjustOverlappingScrollbarCount):
+ (WebCore::ScrollView::setParent):
+
+2007-02-16 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by Anders.
+
+ * platform/win/PlatformScrollBarSafari.cpp:
+ (WebCore::PlatformScrollbar::paint): Don't draw the arrows when we're disabled.
+
+2007-02-15 Dave Hyatt <hyatt@apple.com>
+
+ Reviewed by Adam.
+
+ Fix for 4804657 and 4952931, scroll view gets confused and ends up at a bad scroll
+ offset.
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::ScrollViewPrivate::valueChanged):
+ (WebCore::ScrollView::ScrollViewPrivate::scrollBackingStore):
+ (WebCore::ScrollView::updateScrollbars):
+
+2007-02-16 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/4993040>
+ Crash in plugin code watching yahoo news video
+
+ Zero out the plugin function struct.
+
+ * plugins/win/PluginPackageWin.cpp:
+ (WebCore::PluginPackageWin::load):
+
+2007-02-16 Anders Carlsson <acarlsson@apple.com>
+
+ Fix build.
+
+ Use adoptCF instead of adopt.
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::ResourceHandle::start):
+ * platform/network/cf/ResourceRequestCFNet.cpp:
+ (WebCore::ResourceRequest::doUpdatePlatformRequest):
+
+2007-02-16 Adam Roben <aroben@apple.com>
+
+ Reviewed by Oliver.
+
+ Implemented square button look.
+
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::adjustRepaintRect): Only inflate the rect
+ if we have a pushbutton.
+ (WebCore::RenderThemeSafari::paintButton): Ditto.
+
+2007-02-15 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ Add the default Flash plugin location to the list of plugin paths.
+
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::addFlashPluginPath):
+ (WebCore::PluginDatabaseWin::defaultPluginPaths):
+
+2007-02-15 Lou Amadio <lamadio@apple.com>
+
+ Reviewed by Steve.
+
+ <rdar://problem/4945799> CGText: should use correct mechanism to set font smoothing style
+
+ * platform/win/FontWin.cpp:
+ (WebCore::Font::drawGlyphs):
+
+2007-02-15 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/4987529>
+ Regression: first clicks don't work at flash-based Nokia.com
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::handleMouseEvent):
+ Don't set buttons for mouse move. Also, ignore unknown mouse events.
+
+2007-02-13 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Adam
+
+ Switch permanently from CFStreamError to CFErrorRef in ResourceHandleCF
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::didFail):
+ (WebCore::ResourceHandle::start):
+
+2007-02-13 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj: Remove SVGDOMImplementation.(cpp|h)
+
+2007-02-12 Ada Chan <adachan@apple.com>
+
+ Reviewed by Steve.
+
+ <rdar://4952715> Events not being passed from WebCore/WebKit up through IWebForm::doCommandBySelector
+ Frame::doTextFieldCommandFromEvent()'s signature has changed from taking in a PlatformKeyboardEvent
+ to KeyboardEvent. Match that in FrameWin.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::doTextFieldCommandFromEvent):
+ * bridge/win/FrameWin.h:
+
+2007-02-10 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by Oliver.
+
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::paintButton): Call controlSizeFromRect
+ instead of controlSizeForFont to determine the correct control size.
+
+2007-02-09 Alice Liu <alice.liu@apple.com>
+
+ Reviewed by Brady and Adam.
+
+ Fixed <rdar://4986194> Typing in content editable body does not automatically scroll to reveal cursor
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::updateScrollbars):
+ The scrollview's scrolloffset wasn't getting set in cases where there were no scrollbars
+ You can have a scrolloffset even if you don't have scrollbars
+
+2007-02-09 Darin Adler <darin@apple.com>
+
+ Reviewed by Adele.
+
+ - Add TextEvent to the DOM (based on the proposed DOM level 3)
+ to be used to fix some international input bugs soon.
+ At this point, we don't send any text events.
+
+ - Remove some obsolete files.
+
+ * WebCore.vcproj/WebCore.vcproj: Add new files, remove obsolete files.
+
+2007-02-09 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::performRequest):
+ Add the stream to the m_streams hash set.
+
+2007-02-08 Adele Peterson <adele@apple.com>
+
+ Reviewed by Brady.
+
+ Fix for http://bugs.webkit.org/show_bug.cgi?id=12599
+ <rdar://problem/4973507> REGRESSION: When replying in Gmail, the caret disappears when you start to type (12599)
+
+ This also fixes a bug where when you called window.focus() on a background window, it did not come to the front.
+
+ * bridge/win/FrameWin.h: Removed focusWindow() and unfocusWindow() stubs since there are now implementations in the base class.
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2007-02-08 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Geoff.
+
+ <rdar://problem/4955068>
+ PluginViewWin leaks memory.
+
+ Make streams ref-counted. Remove streams from the hash set once they're done loading.
+
+ Don't try to paint if painting is disabled.
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::PluginStreamWin):
+ (WebCore::PluginStreamWin::cancelAndDestroyStream):
+ (WebCore::PluginStreamWin::destroyStream):
+ * plugins/win/PluginStreamWin.h:
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::paint):
+ (WebCore::PluginViewWin::stop):
+ (WebCore::PluginViewWin::~PluginViewWin):
+ (WebCore::PluginViewWin::disconnectStream):
+ * plugins/win/PluginViewWin.h:
+
+2007-02-08 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ Fix scrollbar painting.
+
+ * platform/win/PlatformScrollBarSafari.cpp:
+ (WebCore::trackRepaintRect): Added.
+ (WebCore::buttonRepaintRect): Added.
+ (WebCore::PlatformScrollbar::invalidateTrack): Inavlidate the repaint
+ rect, not the rect used for hit testing.
+ (WebCore::PlatformScrollbar::invalidatePart): Ditto.
+ (WebCore::PlatformScrollbar::paint): Paint the track first, then the
+ buttons, then the thumb.
+ (WebCore::PlatformScrollbar::paintButton): Paint in the repaintRect,
+ not the rect used for hit testing.
+ (WebCore::PlatformScrollbar::paintTrack): Ditto.
+
+2007-02-08 Anders Carlsson <acarlsson@apple.com>
+
+ Remove unused stub.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2007-02-08 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Brady.
+
+ <rdar://problem/4888871>
+ Need to support synchronous XMLHttpRequest.
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::ResourceHandle::loadResourceSynchronously):
+
+2007-02-07 Adam Roben <aroben@apple.com>
+
+ Reviewed by Maciej.
+
+ Fix mini search field painting.
+
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::searchFieldSizes): Use the right height.
+
+2007-02-07 Adele Peterson <adele@apple.com>
+
+ Reviewed by Adam.
+
+ Draw a single down arrow for styled menu lists.
+
+ * rendering/RenderThemeSafari.cpp: (WebCore::RenderThemeSafari::paintMenuListButton):
+ * rendering/RenderThemeWin.cpp: Moved #ifndef USE_SAFARI_THEME to enclose the body of the file.
+
+2007-02-07 Brady Eidson <beidson@apple.com>
+
+ RS = Adam
+
+ Touch these files to force it to recompile...
+
+ * platform/win/PlatformScrollBarSafari.cpp:
+ * rendering/RenderThemeWin.cpp:
+
+2007-02-07 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by Maciej.
+
+ Turn on SafariTheme so we can try it out.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-02-07 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::determineState): Pass focus information down to SafariTheme.
+
+2007-02-06 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by Brady.
+
+ Updated for log channel rename.
+
+ * platform/win/GDIObjectCounter.cpp:
+ (WebCore::GDIObjectCounter::~GDIObjectCounter):
+
+2007-02-06 Adele Peterson <adele@apple.com>
+
+ Reviewed by Adam.
+
+ Added support for radio buttons and checkboxes.
+
+ * platform/win/PlatformScrollBarSafari.cpp:
+ (WebCore::PlatformScrollbar::paintButton):
+ (WebCore::PlatformScrollbar::paintTrack):
+ (WebCore::PlatformScrollbar::paintThumb):
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::determineState):
+ (WebCore::RenderThemeSafari::platformActiveSelectionForegroundColor):
+ (WebCore::RenderThemeSafari::adjustRepaintRect):
+ (WebCore::RenderThemeSafari::paintCheckbox):
+ (WebCore::RenderThemeSafari::checkboxMargins):
+ (WebCore::RenderThemeSafari::paintRadio):
+ (WebCore::RenderThemeSafari::radioMargins):
+ (WebCore::RenderThemeSafari::adjustMenuListStyle):
+ (WebCore::RenderThemeSafari::paintSliderThumb):
+ * rendering/RenderThemeSafari.h:
+
+2007-02-05 Adam Roben <aroben@apple.com>
+
+ Reviewed by Ada and Oliver.
+
+ Add a GDIObjectCounter class that informs us of GDI leaks.
+
+ * WebCore.vcproj/WebCore.vcproj: Added new files.
+ * platform/win/GDIObjectCounter.cpp: Added.
+ (WebCore::GDIObjectCounter::GDIObjectCounter):
+ (WebCore::GDIObjectCounter::init):
+ (WebCore::GDIObjectCounter::~GDIObjectCounter):
+ (WebCore::GDIObjectCounter::currentGDIObjectsInUse):
+ * platform/win/GDIObjectCounter.h: Added.
+
+2007-02-05 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj: Add new files.
+
+2007-02-04 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Adam.
+
+ Removed unimplemented EventHandler::handleMouseUp,
+ as a platform independent version is available now.
+
+ * page/win/EventHandlerWin.cpp:
+ (WebCore::EventHandler::eventActivatedView):
+ Now we use this method, it needs to be implemented
+
+2007-02-02 Steve Falkenburg <sfalken@apple.com>
+
+ Fix build.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-02-02 Steve Falkenburg <sfalken@apple.com>
+
+ * platform/network/cf/FormDataStreamCFNet.cpp:
+
+2007-02-02 Adam Roben <aroben@apple.com>
+
+ Turn on Lucida Grande.
+
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::systemFont):
+ Use Lucida Grande.
+ (WebCore::RenderThemeSafari::setFontFromControlSize):
+ Ditto.
+ (WebCore::RenderThemeSafari::controlSizeForSystemFont):
+ Implemented using font sizes from NSFont.m.
+ (WebCore::RenderThemeSafari::adjustRepaintRect):
+ Uncommented.
+ (WebCore::RenderThemeSafari::minimumMenuListSize):
+ Ditto.
+
+2007-02-02 Adam Roben <aroben@apple.com>
+
+ Reviewed by Maciej.
+
+ Implemented menulist drawing.
+
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::controlSizeFromRect):
+ Moved to top of file.
+ (WebCore::RenderThemeSafari::adjustRepaintRect):
+ Uncommented menulist case.
+ (WebCore::RenderThemeSafari::popupButtonMargins):
+ Added controlSize parameter, made margins match AppKit artwork.
+ (WebCore::RenderThemeSafari::paintMenuList):
+ Implemented.
+ * rendering/RenderThemeSafari.h:
+ Updated decalartion.
+
+2007-02-01 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Brady.
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::willSendRequest):
+ Make sure to always retain the request we return. (In practice, we were already doing this since
+ client can never be null).
+
+ (WebCore::didReceiveResponse):
+ Remove client null check.
+
+2007-02-01 Steve Falkenburg <sfalken@apple.com>
+
+ Production build fix
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-01-31 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Adam.
+
+ Updating event handler logic to make use of methods migrated from
+ WebKit to WebCore
+
+ * page/win/EventHandlerWin.cpp:
+ (WebCore::EventHandler::handleDrag):
+ Updating handleDrag to use methods that we've migrated to WebCore
+ * platform/win/PlatformMouseEventWin.cpp:
+ (WebCore::messageToEventType):
+ (WebCore::PlatformMouseEvent::PlatformMouseEvent):
+ provide the type of mouse event
+
+
+2007-01-31 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Ada.
+
+ Fix BString bugs.
+
+ * platform/win/BString.cpp:
+ (WebCore::BString::BString): Call SysAllocString instead of SysAllocStringLen
+ (WebCore::BString::operator=): Add proper null checks
+ (WebCore::operator ==): Add proper null checks
+
+2007-01-30 Anders Carlsson <acarlsson@apple.com>
+
+ Build fix.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (ResourceHandle::setDefersLoading):
+
+2007-01-30 Steve Falkenburg <sfalken@apple.com>
+
+ Production build fix
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-01-29 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * platform/win/TemporaryLinkStubs.cpp: Removed old stub.
+
+2007-01-29 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Oliver
+
+ All the downloads plumbing for if you have ToT CFNetwork + my changes
+ (or after they submit with my changes)
+
+ * platform/network/cf/FormDataStreamCFNet.cpp: Reword the #ifdef for CFNetwork ToT for clarity
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::didFail): Use a RetainPtr .get()
+ (WebCore::ResourceHandleInternal::~ResourceHandleInternal): Only cancel the connection if we hold the last ref
+ (WebCore::ResourceHandle::start): Use a RetainPtr - adopt and .get()
+ (WebCore::ResourceHandle::cancel): Use a RetainPtr .get()
+ (WebCore::ResourceHandle::receivedCredential):Use a RetainPtr .get()
+ (WebCore::ResourceHandle::receivedRequestToContinueWithoutCredential): Use a RetainPtr .get()
+ (WebCore::ResourceHandle::connection): Use a RetainPtr .get()
+ * platform/network/cf/ResourceRequestCFNet.cpp:
+ (WebCore::ResourceRequest::doUpdatePlatformRequest): Prevent a crash if a null
+
+2007-01-29 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Geoff
+
+ Change LOG_NOTIMPL() to use a LOG() and its logging channel instead of LOG_ERROR()
+ so you can actually turn it off.
+
+ * platform/win/NotImplemented.h:
+
+2007-01-29 Maciej Stachowiak <mjs@apple.com>
+
+ - fix build
+
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2007-01-29 Steve Falkenburg <sfalken@apple.com>
+
+ Fix build break from RootObject ownership change.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::createRootObject): Added
+ (WebCore::FrameWin::cleanupPluginObjects): change destroy to invalidate
+ (WebCore::FrameWin::bindingRootObject): change new RootObject to RootObject::create
+ * bridge/win/FrameWin.h:
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::bindingInstance): change new RootObject to FrameWin::createRootObject.
+
+2007-01-26 Adam Roben <aroben@apple.com>
+
+ Reviewed by Oliver.
+
+ Fix frequent failed assertions when painting scroll bars.
+
+ * platform/win/PlatformScrollBarSafari.cpp:
+ (WebCore::PlatformScrollbar::paint): Check that painting is enabled
+ before painting.
+
+2007-01-26 Oliver Hunt <oliver@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-01-26 Beth Dakin <bdakin@apple.com>
+
+ Reviewed by Darin.
+
+ Due to <rdar://problem/4956565> REGRESSION: After scrolling frame,
+ hovering over link in this frame doesn't change cursor to pointing
+ hand
+
+ lastEventIsMouseUp() is a Mac-only issue. This patch makes it Mac-
+ only code, so we can remove the temporary link stub for it.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2007-01-26 Oliver Hunt <oliver@apple.com>
+
+ Build fix -- adding SVGInlineTextBox.{cpp,h} to project
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-01-25 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Maciej.
+
+ Fixed DragDataWin behaviour so that it will provide plain text
+ for a file dropped on the window.
+
+ * platform/win/DragDataWin.cpp:
+ (WebCore::DragData::asPlainText):
+
+2007-01-25 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Adam
+
+ -Setup for new CFNetwork API for those using their ToT and their next submission
+ -Setup for new CoreFoundation API for those using their ToT and their next submission
+
+ * platform/network/cf/FormDataStreamCFNet.cpp:
+ (WebCore::setHTTPBody): New callback format - will need to define USE_NEW_CFSTREAM_CALLBACKS
+ to switch to the new API
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::didFail): This automagically works :)
+
+2007-01-25 Adele Peterson <adele@apple.com>
+
+ Reviewed by Adam.
+
+ Added support for slider.
+
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::RenderThemeSafari):
+ (WebCore::RenderThemeSafari::inflateRect):
+ (WebCore::RenderThemeSafari::paintSliderTrack):
+ (WebCore::RenderThemeSafari::paintSliderThumb):
+ * rendering/RenderThemeSafari.h:
+
+2007-01-25 Steve Falkenburg <sfalken@apple.com>
+
+ Production build fix
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-01-24 Adele Peterson <adele@apple.com>
+
+ Reviewed by Brady and Oliver.
+
+ Moved keyEvent method from FrameWin to EventHandler and updated
+ call sites. Now this method is shared with the mac.
+
+ * bridge/win/FrameWin.cpp:
+ * bridge/win/FrameWin.h:
+
+2007-01-24 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Lou.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::regExpForLabels): Ported from FrameMac.mm
+ (WebCore::FrameWin::searchForLabelsAboveCell): Ported from FrameMac.mm
+ (WebCore::FrameWin::searchForLabelsBeforeElement): Ported from FrameMac.mm
+ (WebCore::FrameWin::matchLabelsAgainstElement): Ported from FrameMac.mm
+ * bridge/win/FrameWin.h:
+
+2007-01-24 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ Added PlatformScrollBarSafari for Aqua scroll bars.
+
+ * WebCore.vcproj/WebCore.vcproj: Added new file to project.
+ * platform/win/PlatformScrollBarSafari.cpp: Added. Copied from PlatformScrollBarWin.cpp.
+ (WebCore::PlatformScrollbar::PlatformScrollbar):
+ (WebCore::PlatformScrollbar::paint):
+ (WebCore::PlatformScrollbar::backButtonRect):
+ (WebCore::PlatformScrollbar::forwardButtonRect):
+ (WebCore::PlatformScrollbar::trackRect):
+ (WebCore::PlatformScrollbar::thumbLength):
+ (WebCore::PlatformScrollbar::paintButton):
+ (WebCore::PlatformScrollbar::paintTrack):
+ (WebCore::PlatformScrollbar::paintThumb):
+ (WebCore::PlatformScrollbar::paintGripper):
+ (WebCore::PlatformScrollbar::gripperRect):
+ (WebCore::PlatformScrollbar::themeChanged):
+ * platform/win/PlatformScrollBarWin.cpp: Added #ifndef USE_SAFARI_THEME.
+ * rendering/RenderThemeSafari.cpp: Updated for SafariTheme.h changes.
+ (WebCore::RenderThemeSafari::RenderThemeSafari):
+
+2007-01-23 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Steve
+
+ Initial hookup of Download support
+
+ * platform/network/cf/ResourceErrorCF.cpp:
+ (WebCore::ResourceError::ResourceError):
+ (WebCore::ResourceError::operator CFStreamError):
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::ResourceHandle::loaderRunLoop): Accessor so downloads can run on the same
+ runloop as connections
+ (WebCore::ResourceHandle::start):
+ (WebCore::ResourceHandle::connection):
+
+ * platform/win/BString.cpp:
+ (WebCore::BString::BString): Ability to create BString from a CFStringRef
+ * platform/win/BString.h:
+
+2007-01-23 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Darin.
+
+ <rdar://problem/4919754>
+ Boomer freezes after attempt to play video.
+
+ * plugins/win/PluginStreamWin.cpp:
+ Change WebReasonNone to -2, some plugins return -1 to indicate error.
+
+ (WebCore::PluginStreamWin::stop):
+ Just don't clear the loader, stop loading as well.
+
+ (WebCore::PluginStreamWin::startStream):
+ Destroy the stream if newstream returns an error.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::performRequest):
+ If the call to toString throws an exception, clear it.
+
+2007-01-23 Steve Falkenburg <sfalken@apple.com>
+
+ Fix release build.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-01-23 Adele Peterson <adele@apple.com>
+
+ Reviewed by Adam.
+
+ Added call to paintThemeTextArea.
+
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::paintTextArea):
+
+2007-01-23 Anders Carlsson <acarlsson@apple.com>
+
+ Build fixes.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Copy plugin and JS headers.
+
+ * loader/win/FrameLoaderWin.cpp:
+ Move functions to WebKitWin.
+
+2007-01-23 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Adam.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * page/win/DragControllerWin.cpp: Added.
+ (WebCore::DragController::dragOperation):
+ (WebCore::DragController::isCopyKeyDown):
+ Platform specific implementation
+
+ * platform/win/ClipboardWin.cpp:
+ (WebCore::ClipboardWin::ClipboardWin):
+ (WebCore::ClipboardWin::isForDragging):
+ * platform/win/ClipboardWin.h:
+ Migrated common Clipboard functionality from ClipboardMac/Win -> Clipboard
+
+ * platform/win/DragDataWin.cpp: Added.
+ (WebCore::DragData::createClipboard):
+ (WebCore::urlWFormat):
+ (WebCore::urlFormat):
+ (WebCore::filenameWFormat):
+ (WebCore::filenameFormat):
+ (WebCore::plainTextFormat):
+ (WebCore::plainTextWFormat):
+ (WebCore::DragData::containsURL):
+ (WebCore::extractURL):
+ (WebCore::DragData::asURL):
+ (WebCore::DragData::containsPlainText):
+ (WebCore::DragData::asPlainText):
+ (WebCore::texthtmlFormat):
+ (WebCore::htmlFormat):
+ (WebCore::containsHTML):
+ (WebCore::fragmentFromHTML):
+ (WebCore::containsFilenames):
+ (WebCore::fragmentFromFilenames):
+ (WebCore::DragData::containsColor):
+ (WebCore::DragData::canSmartReplace):
+ (WebCore::DragData::containsCompatibleContent):
+ (WebCore::DragData::asFragment):
+ (WebCore::DragData::asColor):
+ Implementation of DragData accesor methods, and helper functions
+
+ * platform/win/EditorWin.cpp:
+ (WebCore::Editor::newGeneralClipboard):
+ Updated for new ClipboardWin constructor
+
+ * platform/win/PasteboardWin.cpp:
+ (WebCore::fragmentFromCF_HTML):
+ (WebCore::Pasteboard::documentFragment):
+ Pulled out CF_HTML parsing to a seperate function so logic
+ can be shared with DragDataWin
+
+2007-01-22 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ Implemented search field painting, and did some cleanup.
+
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::RenderThemeSafari): Updated for changes to SafariTheme.
+ (WebCore::RenderThemeSafari::paintButton): Ditto.
+ (WebCore::RenderThemeSafari::paintTextField): Ditto.
+ (WebCore::controlSizeFromRect): New helper function.
+ (WebCore::RenderThemeSafari::paintSearchField): Implemented.
+ (WebCore::RenderThemeSafari::paintSearchFieldCancelButton): Ditto.
+ (WebCore::RenderThemeSafari::paintSearchFieldResultsDecoration): Ditto.
+ (WebCore::RenderThemeSafari::paintSearchFieldResultsButton): Ditto.
+ (WebCore::RenderThemeSafari::setSearchFieldSize): Uncommented setSizeFromFont call.
+ (WebCore::RenderThemeSafari::adjustSearchFieldCancelButtonStyle): Ditto.
+ (WebCore::RenderThemeSafari::adjustSearchFieldDecorationStyle): Ditto.
+ (WebCore::RenderThemeSafari::adjustSearchFieldResultsDecorationStyle): Ditto.
+ (WebCore::RenderThemeSafari::adjustSearchFieldResultsButtonStyle): Ditto.
+
+2007-01-22 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/4771115>
+ Windows Media Player plugin crashes.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Formatting changes.
+
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::PluginDatabaseWin::defaultPluginPaths):
+ Add Windows Media Player path.
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::sendJavaScriptStream):
+ * plugins/win/PluginStreamWin.h:
+ New function which sends a JavaScript result stream and handles any errors that the
+ plug-in returns.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::setFrameGeometry):
+ Always call NPP_SetWindow, some plugins (like WMP) relies on it.
+
+ (WebCore::PluginViewWin::performRequest):
+ If a plug-in requests a javascript: URL that doesn't evaluate to a string, call toString on it.
+ The Windows Media Player plugin calls javascript:document.location and expects to get the location back.
+
+2007-01-23 Darin Adler <darin@apple.com>
+
+ - internal part of fix for http://bugs.webkit.org/show_bug.cgi?id=12273
+ REGRESSION: File input value invisible after removing and re-appending
+
+ * WebCore.vcproj/WebCore.vcproj: Added FileChooser.cpp.
+
+ * platform/win/FileChooserWin.cpp: Removed many now-unneeded functions.
+ (WebCore::FileChooser::FileChooser): Updated for changed parameters and members.
+ (WebCore::FileChooser::openFileChooser): Changed to take document parmaeter and
+ find the FrameView from that instead of the upload control.
+ (WebCore::FileChooser::basenameForWidth): Added ignored Font parameter.
+
+2007-01-22 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/4903230>
+ Boomer crashes at Flickr website when "View as slideshow" is clicked.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::bindingInstance):
+ Return null if m_plugin is null (which it can be if the plugin failed to load).
+
+2007-01-22 Anders Carlsson <acarlsson@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-01-22 Adam Roben <aroben@apple.com>
+
+ Moved ifdefs to match Darin's suggestion.
+
+ * rendering/RenderThemeSafari.cpp:
+ * rendering/RenderThemeSafari.h:
+
+2007-01-22 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::theme):
+ * rendering/RenderThemeSafari.h:
+
+2007-01-21 Adam Roben <aroben@apple.com>
+
+ Reviewed by Maciej.
+
+ Implemented drawing button states and control sizes.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * rendering/RenderThemeSafari.cpp:
+ (WebCore::RenderThemeSafari::determineState): Added.
+ (WebCore::RenderThemeSafari::systemFont): Implemented rest of font sizes.
+ (WebCore::RenderThemeSafari::paintButton): Updated for SafariTheme changes.
+ (WebCore::RenderThemeSafari::paintTextField): Ditto.
+ * rendering/RenderThemeSafari.h: Added declaration.
+
+2007-01-21 Adam Roben <aroben@apple.com>
+
+ Reviewed by Maciej.
+
+ * rendering/RenderThemeSafari.cpp: Updated declarations of SafariTheme calls.
+ (WebCore::systemFontSizeForControlSize): Added.
+ (WebCore::RenderThemeSafari::systemFont): Made it work in the small-control case.
+ (WebCore::RenderThemeSafari::adjustRepaintRect): Made it work for buttons and checkboxes.
+ (WebCore::RenderThemeSafari::setFontFromControlSize): Fixed to work on Windows.
+ (WebCore::RenderThemeSafari::checkboxMargins): Added controlSize parameter.
+ (WebCore::RenderThemeSafari::buttonMargins): Ditto.
+ (WebCore::RenderThemeSafari::paintButton): Fixed FIXME, added save/restore calls.
+ (WebCore::RenderThemeSafari::paintTextField): Added save/restore calls.
+ * rendering/RenderThemeSafari.h: Updated declarations.
+
+2007-01-21 Adele Peterson <adele@apple.com>
+
+ Reviewed by Adam.
+
+ Adding RenderThemeSafari.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * rendering/RenderThemeSafari.cpp: Added.
+ (WebCore::):
+ (WebCore::theme):
+ (WebCore::RenderThemeSafari::RenderThemeSafari):
+ (WebCore::RenderThemeSafari::~RenderThemeSafari):
+ (WebCore::RenderThemeSafari::platformActiveSelectionBackgroundColor):
+ (WebCore::RenderThemeSafari::platformInactiveSelectionBackgroundColor):
+ (WebCore::RenderThemeSafari::activeListBoxSelectionBackgroundColor):
+ (WebCore::RenderThemeSafari::systemFont):
+ (WebCore::RenderThemeSafari::isControlStyled):
+ (WebCore::RenderThemeSafari::adjustRepaintRect):
+ (WebCore::RenderThemeSafari::inflateRect):
+ (WebCore::RenderThemeSafari::baselinePosition):
+ (WebCore::RenderThemeSafari::controlSupportsTints):
+ (WebCore::RenderThemeSafari::controlSizeForFont):
+ (WebCore::RenderThemeSafari::sizeForFont):
+ (WebCore::RenderThemeSafari::sizeForSystemFont):
+ (WebCore::RenderThemeSafari::setSizeFromFont):
+ (WebCore::RenderThemeSafari::setFontFromControlSize):
+ (WebCore::RenderThemeSafari::controlSizeForSystemFont):
+ (WebCore::RenderThemeSafari::paintCheckbox):
+ (WebCore::RenderThemeSafari::checkboxSizes):
+ (WebCore::RenderThemeSafari::checkboxMargins):
+ (WebCore::RenderThemeSafari::setCheckboxSize):
+ (WebCore::RenderThemeSafari::paintRadio):
+ (WebCore::RenderThemeSafari::radioSizes):
+ (WebCore::RenderThemeSafari::radioMargins):
+ (WebCore::RenderThemeSafari::setRadioSize):
+ (WebCore::RenderThemeSafari::setButtonPaddingFromControlSize):
+ (WebCore::RenderThemeSafari::adjustButtonStyle):
+ (WebCore::RenderThemeSafari::buttonSizes):
+ (WebCore::RenderThemeSafari::buttonMargins):
+ (WebCore::RenderThemeSafari::setButtonSize):
+ (WebCore::RenderThemeSafari::paintButton):
+ (WebCore::RenderThemeSafari::paintTextField):
+ (WebCore::RenderThemeSafari::adjustTextFieldStyle):
+ (WebCore::RenderThemeSafari::paintTextArea):
+ (WebCore::RenderThemeSafari::adjustTextAreaStyle):
+ (WebCore::RenderThemeSafari::popupButtonMargins):
+ (WebCore::RenderThemeSafari::popupButtonSizes):
+ (WebCore::RenderThemeSafari::popupButtonPadding):
+ (WebCore::RenderThemeSafari::setPopupPaddingFromControlSize):
+ (WebCore::RenderThemeSafari::paintMenuList):
+ (WebCore::TopGradientInterpolate):
+ (WebCore::BottomGradientInterpolate):
+ (WebCore::MainGradientInterpolate):
+ (WebCore::TrackGradientInterpolate):
+ (WebCore::RenderThemeSafari::paintMenuListButtonGradients):
+ (WebCore::RenderThemeSafari::paintMenuListButton):
+ (WebCore::RenderThemeSafari::adjustMenuListStyle):
+ (WebCore::RenderThemeSafari::adjustMenuListButtonStyle):
+ (WebCore::RenderThemeSafari::menuListSizes):
+ (WebCore::RenderThemeSafari::minimumMenuListSize):
+ (WebCore::RenderThemeSafari::paintSliderTrack):
+ (WebCore::RenderThemeSafari::paintSliderThumb):
+ (WebCore::RenderThemeSafari::adjustSliderThumbSize):
+ (WebCore::RenderThemeSafari::paintSearchField):
+ (WebCore::RenderThemeSafari::searchFieldSizes):
+ (WebCore::RenderThemeSafari::setSearchFieldSize):
+ (WebCore::RenderThemeSafari::adjustSearchFieldStyle):
+ (WebCore::RenderThemeSafari::paintSearchFieldCancelButton):
+ (WebCore::RenderThemeSafari::cancelButtonSizes):
+ (WebCore::RenderThemeSafari::adjustSearchFieldCancelButtonStyle):
+ (WebCore::RenderThemeSafari::resultsButtonSizes):
+ (WebCore::RenderThemeSafari::adjustSearchFieldDecorationStyle):
+ (WebCore::RenderThemeSafari::paintSearchFieldDecoration):
+ (WebCore::RenderThemeSafari::adjustSearchFieldResultsDecorationStyle):
+ (WebCore::RenderThemeSafari::paintSearchFieldResultsDecoration):
+ (WebCore::RenderThemeSafari::adjustSearchFieldResultsButtonStyle):
+ (WebCore::RenderThemeSafari::paintSearchFieldResultsButton):
+ * rendering/RenderThemeSafari.h: Added.
+ (WebCore::RenderThemeSafari::supportsControlTints):
+ * rendering/RenderThemeWin.cpp:
+
+2007-01-21 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj: Added JSDocumentCustom.cpp.
+
+2007-01-19 Ada Chan <adachan@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-01-19 Anders Carlsson <acarlsson@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Add SVG files.
+
+2007-01-19 Anders Carlsson <acarlsson@apple.com>
+
+ Build fix.
+
+ * platform/win/ContextMenuItemWin.cpp:
+ (WebCore::ContextMenuItem::enabled):
+ Use correct class name.
+
+2007-01-18 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ Remove some unused FrameWin functions.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::~FrameWin):
+ * bridge/win/FrameWin.h:
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::status):
+
+2007-01-18 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * platform/win/ContextMenuItemWin.cpp:
+ (WebCore::ContextMenu::enabled): Implemented.
+
+2007-01-18 Anders Carlsson <acarlsson@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/GlyphMapWin.cpp: Removed.
+ * platform/win/GlyphPageTreeNodeWin.cpp: Added.
+ (WebCore::GlyphPage::fill):
+
+2007-01-18 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Brady.
+
+ Fix ownership handling of CFRequestRef. A ResourceRequest holds on to its CFRequestRef
+ and doesn't ref it when returning it. Also, implement willCacheResponse.
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::willSendRequest):
+ (WebCore::willCacheResponse):
+ (WebCore::ResourceHandle::start):
+ * platform/network/cf/ResourceRequestCFNet.cpp:
+ (WebCore::ResourceRequest::doUpdatePlatformRequest):
+
+2007-01-17 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Maciej
+
+ Final hookup of HTTP Auth plumbing - have the ResourceHandle actually call into
+ CFNetwork for HTTP Auth.
+
+ Also, deal with svn:eol-style issues on another batch of files that didn't have it set
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::ResourceHandle::receivedCredential): Call into CFNetwork
+ (WebCore::ResourceHandle::receivedRequestToContinueWithoutCredential): Ditto
+ (WebCore::ResourceHandle::receivedCancellation): Copy Mac behavior by calling cancel on the handle
+
+2007-01-16 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Anders
+
+ Futher improvements/bug fixes to BString
+
+ * platform/win/BString.cpp:
+ (WebCore::BString::BString):
+ (WebCore::BString::operator=):
+ * platform/win/BString.h:
+
+2007-01-16 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Ada, Adam, and Anders oh my!
+
+ Add handle ==/!= operators to BString
+
+ * platform/win/BString.cpp:
+ (WebCore::operator ==):
+ (WebCore::operator !=):
+ * platform/win/BString.h:
+
+2007-01-16 Beth Dakin <bdakin@apple.com>
+
+ Reviewed by Adam.
+
+ Fix for <rdar://problem/4874565> Draw context menus using CG
+
+ * platform/win/ContextMenuItemWin.cpp:
+ (WebCore::ContextMenuItem::type): Re-worked to be more forgiving.
+ * platform/win/ContextMenuWin.cpp: No need for show() and hide()
+ since WebKit takes care of this now.
+
+2007-01-15 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Adam
+
+ Hook up AuthenticationChallenge to CF network.
+ Call up through appropriate client methods through to WebFrame (FrameLoaderClient) at
+ which point my upcoming implementation for the IWebURL<auth> classes will be used
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/network/cf/AuthenticationCF.cpp: Added.
+ (WebCore::AuthenticationChallenge::AuthenticationChallenge):
+ (WebCore::createCF):
+ (WebCore::core):
+ * platform/network/cf/AuthenticationCF.h: Added.
+ * platform/network/cf/ResourceErrorCF.cpp: Added.
+ (WebCore::ResourceError::ResourceError):
+ (WebCore::ResourceError::operator CFStreamError):
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::didReceiveChallenge):
+ (WebCore::ResourceHandle::didReceiveAuthenticationChallenge):
+ (WebCore::ResourceHandle::receivedCredential):
+ (WebCore::ResourceHandle::receivedRequestToContinueWithoutCredential):
+ (WebCore::ResourceHandle::receivedCancellation):
+
+2007-01-15 Anders Carlsson <acarlsson@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Add ProgressTracker.[cpp|h]
+
+2007-01-12 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Darin.
+
+ * loader/win/FrameLoaderWin.cpp:
+ (WebCore::FrameLoader::didChangeTitle):
+ Copied here from FrameLoaderMac.mm
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::ResourceHandle::start):
+ Removed setting referrer and user-agend and added a check for null page.
+
+ (WebCore::ResourceHandle::cancel):
+ Don't call didFail.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::getAppletInstanceForWidget):
+ Use LOG_NOIMPL here.
+
+2007-01-11 Anders Carlsson <acarlsson@apple.com>
+
+ * platform/network/cf/ResourceResponseCFNet.cpp:
+ (WebCore::ResourceResponse::cfURLResponse):
+ Add getter that I forgot to commit.
+
+2007-01-11 Brady Eidson <beidson@apple.com>
+
+ Reviewed by NOBODY.
+
+ Make it build after my HTTP Auth OpenSource checkin
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-01-11 Anders Carlsson <acarlsson@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::Editor::advanceToNextMisspelling):
+
+2007-01-10 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Lou.
+
+ <rdar://problem/4818840> Crash occurs after selecting Print Preview from under the File menu if no printer is selected
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::computePageRects): removed calls to setupRootForPrinting
+ * bridge/win/FrameWin.h: removed setupRootForPrinting
+
+2007-01-10 Anders Carlsson <acarlsson@apple.com>
+
+ Yet another build fix.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (DocumentLoader::getResponseModifiedHeader):
+
+2007-01-10 Anders Carlsson <acarlsson@apple.com>
+
+ Another build fix.
+
+ * bridge/win/FrameWin.h:
+ * loader/win/FrameLoaderWin.cpp:
+
+2007-01-10 Anders Carlsson <acarlsson@apple.com>
+
+ Build fix.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (ResourceHandle::setDefersLoading):
+
+2007-01-09 Steve Falkenburg <sfalken@apple.com>
+
+ Production build fix
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-01-09 Anders Carlsson <acarlsson@apple.com>
+
+ Build fix.
+
+ * platform/win/TextBoundariesWin.cpp:
+
+2007-01-08 Anders Carlsson <acarlsson@apple.com>
+
+ Remove FrameLoader functions that have been implemented.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2007-01-08 Anders Carlsson <acarlsson@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2007-01-05 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ Update temporary link stubs.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameLoader::referrer):
+ (FrameLoader::overrideMediaType):
+ (FrameLoader::checkLoadCompleteForThisFrame):
+ (DocumentLoader::getResponseRefreshAndModifiedHeaders):
+ (MainResourceLoader::create):
+ (ResourceLoader::cancel):
+ (ResourceLoader::load):
+ (ResourceLoader::releaseResources):
+ (ResourceLoader::addData):
+
+2007-01-05 Anders Carlsson <acarlsson@apple.com>
+
+ Fix build.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (ResourceLoader::cancel):
+ (FrameLoader::didChangeTitle):
+ (DocumentLoader::unreachableURL):
+
+2007-01-05 Anders Carlsson <acarlsson@apple.com>
+
+ Fix the build.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::ResourceHandle::bufferedData):
+ (WebCore::ResourceHandle::supportsBufferedData):
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::CheckCacheObjectStatus):
+
+2007-01-04 David Hyatt <hyatt@apple.com>
+
+ Always use 1.0 as the synthetic bold offset for now. Fixes bug 9534.
+
+ Reviewed by olliej
+
+ * platform/win/FontDataWin.cpp:
+ (WebCore::FontData::platformInit):
+
+2007-01-03 Darin Adler <darin@apple.com>
+
+ Reviewed by Adele.
+
+ - removed some obsolete source files
+
+ * WebCore.vcproj/WebCore.vcproj: Removed obsolete files.
+
+2007-01-03 Beth Dakin <bdakin@apple.com>
+
+ Reviewed by John.
+
+ Add stubs for all of the localized context menu item titles. The
+ stubs just return English Strings until we have a localization
+ solution in WebKit.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::contextMenuItemTagOpenLinkInNewWindow):
+ (WebCore::contextMenuItemTagDownloadLinkToDisk):
+ (WebCore::contextMenuItemTagCopyLinkToClipboard):
+ (WebCore::contextMenuItemTagOpenImageInNewWindow):
+ (WebCore::contextMenuItemTagDownloadImageToDisk):
+ (WebCore::contextMenuItemTagCopyImageToClipboard):
+ (WebCore::contextMenuItemTagOpenFrameInNewWindow):
+ (WebCore::contextMenuItemTagCopy):
+ (WebCore::contextMenuItemTagGoBack):
+ (WebCore::contextMenuItemTagGoForward):
+ (WebCore::contextMenuItemTagStop):
+ (WebCore::contextMenuItemTagReload):
+ (WebCore::contextMenuItemTagCut):
+ (WebCore::contextMenuItemTagPaste):
+ (WebCore::contextMenuItemTagNoGuessesFound):
+ (WebCore::contextMenuItemTagIgnoreSpelling):
+ (WebCore::contextMenuItemTagLearnSpelling):
+ (WebCore::contextMenuItemTagSearchWeb):
+ (WebCore::contextMenuItemTagLookUpInDictionary):
+ (WebCore::contextMenuItemTagOpenLink):
+ (WebCore::contextMenuItemTagIgnoreGrammar):
+ (WebCore::contextMenuItemTagSpellingMenu):
+ (WebCore::contextMenuItemTagShowSpellingPanel):
+ (WebCore::contextMenuItemTagCheckSpelling):
+ (WebCore::contextMenuItemTagCheckSpellingWhileTyping):
+ (WebCore::contextMenuItemTagCheckGrammarWithSpelling):
+ (WebCore::contextMenuItemTagFontMenu):
+ (WebCore::contextMenuItemTagBold):
+ (WebCore::contextMenuItemTagItalic):
+ (WebCore::contextMenuItemTagUnderline):
+ (WebCore::contextMenuItemTagOutline):
+ (WebCore::contextMenuItemTagWritingDirectionMenu):
+ (WebCore::contextMenuItemTagDefaultDirection):
+ (WebCore::contextMenuItemTagLeftToRight):
+ (WebCore::contextMenuItemTagRightToLeft):
+
+2007-01-03 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Geoff.
+
+ <rdar://problem/4857027>
+ ragnarok online misrenders (due to lack of support for windowless plugins)
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::updateWindow):
+ Rename from updateHwnd since this now handles updating the clip rect for windowless plugins.
+
+ (WebCore::PluginViewWin::paintMissingPluginIcon):
+ New function which paints the missing plugin icon.
+
+ (WebCore::PluginViewWin::paint):
+ Do windowless painting here.
+
+ (WebCore::PluginViewWin::handleKeyboardEvent):
+ (WebCore::PluginViewWin::handleMouseEvent):
+ (WebCore::PluginViewWin::handleEvent):
+ New functions for handling mouse and keyboard events, translating them and handing them to the plugin.
+
+ (WebCore::PluginViewWin::setNPWindowRect):
+ Set correct window rect for windowless plugins.
+
+ (WebCore::PluginViewWin::getValue):
+ Add variable for containing HWND.
+
+ (WebCore::PluginViewWin::setValue):
+ Add windowless and transparent variables.
+
+ (WebCore::PluginViewWin::invalidateRect):
+ (WebCore::PluginViewWin::invalidateRegion):
+ (WebCore::PluginViewWin::forceRedraw):
+ Implement these.
+
+ (WebCore::PluginViewWin::determineQuirks):
+ Set quirks now that we support windowless flash.
+
+ (WebCore::PluginViewWin::PluginViewWin):
+ Only create the window if the plugin isn't windowless.
+
+ * plugins/win/PluginViewWin.h:
+ New declarations.
+
+ * plugins/win/npapi.cpp:
+ (NPN_InvalidateRect):
+ (NPN_InvalidateRegion):
+ (NPN_ForceRedraw):
+ Implement these and forward them to the plugin view.
+
+2007-01-02 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Lou
+
+ Temporary Link Stub fix for Back/Forward cache landing in OpenSource
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (DocumentLoader::request):
+ (DocumentLoader::originalRequest):
+ (DocumentLoader::title):
+ (DocumentLoader::unreachableURL):
+ (DocumentLoader::urlForHistory):
+ (DocumentLoader::setCommitted):
+ (DocumentLoader::prepareForLoadStart):
+ (DocumentLoader::replaceRequestURLForAnchorScroll):
+ (DocumentLoader::isClientRedirect):
+ (DocumentLoader::isLoading):
+ (DocumentLoader::getResponseRefreshAndModifiedHeaders):
+ (FrameLoader::applyUserAgent):
+ (FrameLoader::dataURLBaseFromRequest):
+ (FrameLoader::load):
+ (FrameLoader::opened):
+ (ResourceHandle::willLoadFromCache):
+ (WebCore::userIdleTime):
+ (PageCache::close):
+
+2007-01-02 Anders Carlsson <acarlsson@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-12-29 Geoffrey Garen <ggaren@apple.com>
+
+ Build fix.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::bindingRootObject):
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::bindingInstance):
+
+2006-12-27 Oliver Hunt <oliver@apple.com>
+
+ Build fix
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/graphics/win/ImageWin.cpp:
+ (WebCore::BitmapImage::initPlatformData):
+ (WebCore::BitmapImage::invalidatePlatformData):
+ (WebCore::Image::loadPlatformResource):
+ (WebCore::BitmapImage::getHBITMAP):
+
+2006-12-25 Geoffrey Garen <ggaren@apple.com>
+
+ Fixed build. Tsk, tsk, Oliver.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-12-25 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Oliver Hunt.
+
+ Removed WebCoreSettings, cleaned up WebCore::Settings.
+
+ * WebCore.vcproj/WebCore.vcproj: Added Settings.cpp to the project.
+
+ * bridge/win/FrameWin.cpp: Updated to use new preferences names.
+ (WebCore::FrameWin::bindingRootObject):
+ (WebCore::FrameWin::windowScriptNPObject):
+
+ * loader/win/FrameLoaderWin.cpp: ditto.
+ (WebCore::FrameLoader::partClearedInBegin):
+
+ * plugins/win/PluginViewWin.cpp: ditto.
+ (WebCore::PluginViewWin::load):
+
+2006-12-22 Ada Chan <adachan@apple.com>
+
+ Reviewed by Anders.
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-12-22 Anders Carlsson <acarlsson@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-12-22 John Sullivan <sullivan@apple.com>
+
+ Reviewed by Kevin Decker
+
+ Renamed stub method name to match change in WebCore
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::Editor::markMisspellingsAfterTypingToPosition):
+ renamed from markMisspellingsInAdjacentWords
+
+2006-12-20 Adam Roben <aroben@apple.com>
+
+ Reviewed by Hyatt.
+
+ Fix: <rdar://4769797> REGRESSION: No focus rings
+
+ * platform/win/GraphicsContextWin.cpp:
+ (WebCore::GraphicsContext::drawFocusRing):
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::focusRingColor): Changed to match the Aqua focus ring color.
+
+2006-12-20 David Hyatt <hyatt@apple.com>
+
+ Remove line width setting in font rendering now that GraphicsContext sets
+ it for us.
+
+ * platform/win/FontWin.cpp:
+ (WebCore::Font::drawGlyphs):
+
+2006-12-20 David Hyatt <hyatt@apple.com>
+
+ Add support for stroking and filling of text to CSS. Boomer side. Same code as in FontMac.
+
+ * platform/win/FontWin.cpp:
+ (WebCore::Font::drawGlyphs):
+
+2006-12-19 Steve Falkenburg <sfalken@apple.com>
+
+ Remove non-existent header from vcproj
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-12-19 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Ada
+
+ -Changed CFNetwork debugging output to use a logging channel
+ -Added the url to each logging message - the debugging output was quite crippled without this
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::willSendRequest):
+ (WebCore::didReceiveResponse):
+ (WebCore::didReceiveData):
+ (WebCore::didFinishLoading):
+ (WebCore::didFail):
+ (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
+ (WebCore::ResourceHandle::~ResourceHandle):
+ (WebCore::ResourceHandle::start):
+
+2006-12-19 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Geoff.
+
+ <rdar://problem/4876963>
+ Crash launching Boomer after all options deselected in pref->security
+
+ * loader/win/FrameLoaderWin.cpp:
+ (WebCore::FrameLoader::partClearedInBegin):
+ Add check for JavaScript.
+
+2006-12-19 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Kevin Decker.
+
+ Add (currently disabled) plugin quirks. This is necessary in order to get the Flash plugin
+ to request windowless plugins (which it only will do if it think it's running on a Mozilla browser).
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::userAgent):
+ (WebCore::PluginViewWin::determineQuirks):
+ (WebCore::PluginViewWin::PluginViewWin):
+ * plugins/win/PluginViewWin.h:
+ (WebCore::):
+ * plugins/win/npapi.cpp:
+ (NPN_UserAgent):
+
+2006-12-19 Brady Eidson <beidson@apple.com>
+
+ Change by Lou, reviewed by Brady
+
+ Scrolling caused Desktop flickering as well as other strange
+ flickering in the case of a missing plug-in
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::updateHwnd):
+
+2006-12-19 Anders Carlsson <acarlsson@apple.com>
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Update for SVG changes.
+
+2006-12-18 Ada Chan <adachan@apple.com>
+
+ Reviewed by Adam.
+
+ Removed scheduleClose() from FrameWin. The implementation has
+ been moved to Frame.cpp.
+
+ * bridge/win/FrameWin.h:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::mimeTypeForFileName):
+
+2006-12-18 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam and Oliver.
+
+ <rdar://problem/4856014> Target weekly ad doesn't work.
+
+ Store the real base URL and use it for requests.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::getURLNotify):
+ (WebCore::PluginViewWin::getURL):
+ (WebCore::PluginViewWin::handlePost):
+ (WebCore::PluginViewWin::PluginViewWin):
+ * plugins/win/PluginViewWin.h:
+
+2006-12-19 Darin Adler <darin@apple.com>
+
+ * platform/win/FontWin.cpp: (WebCore::Font::drawGlyphs): Fix build,
+ wrong variable name.
+
+2006-12-18 David Hyatt <hyatt@apple.com>
+
+ Boomer side of my changes for filling/stroking of text.
+
+ Reviewed by olliej
+
+ * platform/win/FontWin.cpp:
+ (WebCore::Font::drawGlyphs):
+
+2006-12-18 Alice Liu <alice.liu@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/4853363> hook up various deletion-related functions in WebView
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Added file EditorDeleteAction.h
+
+2006-12-18 Kevin McCullough <KMcCullough@apple.com>
+
+ Reviewed by Oliver.
+
+ - Remove CG header includes in OpenSource files
+
+ * config.h:
+ * platform/graphics/cg/GraphicsContextPlatformPrivate.h:
+
+2006-12-18 Adam Roben <aroben@apple.com>
+
+ Build fixes.
+
+ * WebCore.vcproj/WebCore.vcproj: Removed deleted files.
+ * platform/win/CursorWin.cpp: Added missing method.
+ (WebCore::noneCursor):
+
+2006-12-16 Beth Dakin <bdakin@apple.com>
+
+ Reviewed by Adam (and partially Geoff).
+
+ Boomer side of making WebCore Context Menus support state and
+ enabled/disabled, and re-architecture of ContextMenuItem.
+
+ * platform/win/ContextMenuItemWin.cpp: ContextMenuItem class holds
+ the platformDescription as the sole member variable. Changes to
+ account for this.
+ (WebCore::ContextMenuItem::ContextMenuItem): Same.
+ (WebCore::ContextMenuItem::releasePlatformDescription): Same.
+ (WebCore::ContextMenuItem::type): Same
+ (WebCore::ContextMenuItem::platformSubMenu): Same.
+ (WebCore::ContextMenuItem::setType): Same.
+ (WebCore::ContextMenuItem::setTitle): Same.
+ (WebCore::ContextMenuItem::setSubMenu): Same.
+ (WebCore::ContextMenuItem::setChecked): Same.
+ (WebCore::ContextMenuItem::setEnabled): Same.
+ * platform/win/ContextMenuWin.cpp:
+ (WebCore::ContextMenu::insertItem): Takes ownership of the item by
+ calling releasePlatformDescription()
+ (WebCore::ContextMenu::appendItem): Same.
+ (WebCore::ContextMenu::itemWithAction): This is the new at(). Since
+ we are no longer using notifybypos, we instead need a way to find a
+ menu item by its action. (Its ID.)
+ (WebCore::ContextMenu::setPlatformDescription): No longer use
+ notifybypos.
+
+2006-12-16 Adele Peterson <adele@apple.com>
+
+ RS by Adam.
+
+ Removed TextField, RenderLineEdit classes.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2006-12-16 Adele Peterson <adele@apple.com>
+
+ Reviewed by Adam.
+
+ Added PopupMenu and theme code for:
+ <rdar://problem/4463829> Switch to use new search field implementation for <input type="search">
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/graphics/win/IconWin.cpp:
+ (WebCore::Icon::Icon):
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::setFocusedIndex):
+ (WebCore::PopupWndProc):
+ * platform/win/SearchPopupMenuWin.cpp: Added.
+ (WebCore::SearchPopupMenu::SearchPopupMenu):
+ (WebCore::autosaveKey):
+ (WebCore::SearchPopupMenu::saveRecentSearches):
+ (WebCore::SearchPopupMenu::loadRecentSearches):
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::RenderThemeWin::paintSearchField):
+ (WebCore::RenderThemeWin::adjustSearchFieldStyle):
+ (WebCore::RenderThemeWin::paintSearchFieldCancelButton):
+ (WebCore::RenderThemeWin::adjustSearchFieldCancelButtonStyle):
+ (WebCore::RenderThemeWin::adjustSearchFieldDecorationStyle):
+ (WebCore::RenderThemeWin::paintSearchFieldDecoration):
+ (WebCore::RenderThemeWin::adjustSearchFieldResultsDecorationStyle):
+ (WebCore::RenderThemeWin::paintSearchFieldResultsDecoration):
+ (WebCore::RenderThemeWin::adjustSearchFieldResultsButtonStyle):
+ (WebCore::RenderThemeWin::paintSearchFieldResultsButton):
+ * rendering/RenderThemeWin.h:
+
+2006-12-15 Anders Carlson <acarlsson@apple.com>
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ Remove DocumentLoader::isStopped because it's now in DocumentLoader.cpp.
+
+2006-12-15 Geoffrey Garen <ggaren@apple.com>
+
+ I'm in ur prjct, fxng ur build.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (ResourceHandle::loadResourceSynchronously):
+
+2006-12-14 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Brady Eidson.
+
+ Fixed <rdar://problem/4760682> Crash clicking nav links at left loading
+ www.tivofaq.com
+
+ The underlying problem is that we can't resize framesets. I've filed that
+ as <rdar://problem/4885227>.
+
+ I've fixed the proximate problem: we were interpreting a click as a frameset
+ resize, because the subframe event handler was returning false. A Subframe
+ event handler needs to return true to indicate that the subframe has handled
+ the event. This is how the Mac works, despite the plethora of convoluted code
+ suggesting otherwise.
+
+ We should really remove these meaningless return values and unify Mac and
+ Windows event handling, but that's beyond the scope of this patch.
+
+ * page/win/EventHandlerWin.cpp:
+ (WebCore::EventHandler::passMousePressEventToSubframe):
+ (WebCore::EventHandler::passMouseMoveEventToSubframe):
+ (WebCore::EventHandler::passMouseReleaseEventToSubframe):
+ (WebCore::EventHandler::passWheelEventToSubframe):
+
+2006-12-14 Adele Peterson <adele@apple.com>
+
+ Reviewed by Adam.
+
+ Update PopupMenu code to use new PopupMenuClient instead of RenderMenuList.
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::PopupMenu):
+ (WebCore::PopupMenu::show):
+ (WebCore::PopupMenu::calculatePositionAndSize):
+ (WebCore::PopupMenu::setFocusedIndex):
+ (WebCore::PopupMenu::focusedIndex):
+ (WebCore::PopupMenu::focusFirst):
+ (WebCore::PopupMenu::focusLast):
+ (WebCore::PopupMenu::down):
+ (WebCore::PopupMenu::up):
+ (WebCore::PopupMenu::paint):
+ (WebCore::PopupWndProc):
+
+2006-12-14 Steve Falkenburg <sfalken@apple.com>
+
+ Build fix.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (SubresourceLoader::didCancel):
+
+2006-12-14 Steve Falkenburg <sfalken@apple.com>
+
+ Production build fix. Added JSSVGPODTypeWrapper.h to the vcproj.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-12-14 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ Build fix.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (DocumentLoader::URL):
+ (ResourceHandle::loadResourceSynchronously):
+
+2006-12-14 Anders Carlsson <acarlsson@apple.com>
+
+ Fix the build.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameLoader::loadResourceSynchronously):
+ (ResourceHandle::loadResourceSynchronously):
+
+2006-12-13 Anders Carlsson <acarlsson@apple.com>
+
+ Fix the build.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (PolicyCheck::call):
+ (DocumentLoader::URL):
+
+2006-12-13 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Darin Adler, Dave Hyatt.
+
+ Fixed <rdar://problem/4840261> Frame::setIsActive not called when frames
+ are focused/unfocused
+
+ Minor problems remain with focus in frames, but basic editing / cursor
+ focus works.
+
+ I moved tracking of the focused frame from the Widget hiearchy to Page's
+ FocusController. Not all widgets are frames, so this change cleaned up a
+ dubious static cast. Also, the DOM needs to track frame focus because (1)
+ it needs to respond to focus changes and (2) you can focus an element /
+ frame even before it has a renderer / widget.
+
+ * page/win/EventHandlerWin.cpp:
+ (WebCore::EventHandler::focusDocumentView): Implemented. This function is
+ poorly named, based on the Mac design.
+ (WebCore::PluginViewWin::hasFocus): Added for completeness. It's not really
+ used on Windows, though.
+
+2006-12-13 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Adam.
+
+ Add missing ForwardingHeaders to project
+
+ * WebCore.vcproj/WebCore.make: Fixed line endings
+ * WebCore.vcproj/WebCore.vcproj: Added missing headers
+
+2006-12-12 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Adam.
+
+ Production build fix
+
+ * WebCore.vcproj/build-generated-files.sh:
+
+2006-12-12 Alice Liu <alice.liu@apple.com>
+
+ Reviewed by Geoff.
+
+ Fixed <rdar://problem/4853199> extra whitespace at beginning and end of pasted fragment into contenteditable region
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/PasteboardWin.cpp:
+ (WebCore::Pasteboard::documentFragment):
+
+2006-12-12 Adam Roben <aroben@apple.com>
+
+ Reviewed by Anders.
+
+ Fixed use of min/max macros (again).
+
+ * WebCore.vcproj/WebCore.vcproj: Make sure we include ForwardingHeaders
+ before any include directories so that we get the newest versions
+ of our headers.
+ * config.h: Move the fake #defines of min/max out of #if
+ PLATFORM(WIN_OS) since this is useful in general.
+ * platform/win/BString.cpp: Include windows.h
+ * platform/win/BString.h: Forward-declare BSTR so we don't have to
+ include windows.h.
+
+2006-12-12 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Adam Roben, Dave Hyatt, Darin Adler.
+
+ Added FocusController to project.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-12-12 Anders Carlsson <acarlsson@apple.com>
+
+ * loader/win/ResourceLoaderWin.cpp:
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::ResourceHandle::start):
+ * platform/win/TemporaryLinkStubs.cpp:
+ (ResourceHandle::loadsBlocked):
+ Update for changes to ResourceHandle.
+
+2006-12-13 Darin Adler <darin@apple.com>
+
+ - fix build
+
+ * WebCore.vcproj/WebCore.vcproj: Added missing files, removed obsolete files.
+
+2006-12-11 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj: Added missing files to project.
+
+2006-12-11 Steve Falkenburg <sfalken@apple.com>
+
+ Production build fix.
+ Remove platform/UChar.h from our vcproj, since it doesn't exist anymore.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-12-11 Alice Liu <alice.liu@apple.com>
+
+ Reviewed by ggaren.
+
+ Fixed <rdar://problem/4854901> "Copy Link" and "Copy Image Address" context menu items don't work
+ And some cleanup of PlatformMouseEvent(Win)
+
+ * page/win/EventHandlerWin.cpp:
+ (WebCore::EventHandler::handleDrag):
+ Removed unnecessary check for mouse event type
+
+ * platform/win/PasteboardWin.cpp:
+
+ (WebCore::PasteboardOwnerWndProc):
+ (WebCore::createGlobalData):
+ Added more overloaded implemtations and renamed from createHandle
+
+ (WebCore::markupToCF_HTML):
+ Changed to handle less-specific input and renamed from createCF_HTML
+
+ (WebCore::urlToMarkup):
+ (WebCore::Pasteboard::writeURL):
+ Added these.
+
+ (WebCore::replaceNBSP):
+ Moved out of Pasteboard class
+
+ (WebCore::Pasteboard::clear):
+ Renamed from clearTypes.
+
+ (WebCore::Pasteboard::writeSelection):
+ (WebCore::Pasteboard::canSmartReplace):
+ (WebCore::Pasteboard::plainText):
+ (WebCore::Pasteboard::documentFragment):
+ Trivial cleanup of these.
+
+ * platform/win/PlatformMouseEventWin.cpp:
+ (WebCore::PlatformMouseEvent::PlatformMouseEvent):
+ Removed anything having to do with unnecessary m_type
+
+2006-12-11 Darin Adler <darin@apple.com>
+
+ Reviewed by Brady.
+
+ - http://bugs.webkit.org/show_bug.cgi?id=11794
+ fix lifetime problems affecting Frame's ownerElement pointer
+
+ * WebCore.vcproj/WebCore.vcproj: Update for added files.
+
+ * bridge/win/FrameWin.h:
+ * bridge/win/FrameWin.cpp: (WebCore::FrameWin::FrameWin):
+ * loader/win/FrameLoaderWin.cpp: (WebCore::FrameLoader::createFrame):
+ Changed to use HTMLFrameOwnerElement.
+
+ * platform/win/TemporaryLinkStubs.cpp: (FrameLoader::load):
+ Changed to use HTMLFormElement.
+
+2006-12-11 Beth Dakin <bdakin@apple.com>
+
+ Reviewed by Adam.
+
+ Build fix from Nick Zimmerman's last check-in.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-12-09 Adam Roben <aroben@apple.com>
+
+ Reviewed by Hyatt.
+
+ Use num-cpus to determine the number of jobs make should run
+ concurrently.
+
+ * WebCore.vcproj/build-generated-files.sh:
+
+2006-12-09 Adam Roben <aroben@apple.com>
+
+ Reviewed by Hyatt.
+
+ Fix: <rdar://problem/4860184> Can't select context menu items with the
+ right mouse button
+
+ * platform/win/ContextMenuWin.cpp:
+ (WebCore::ContextMenu::show):
+
+2006-12-09 Adam Roben <aroben@apple.com>
+
+ Reviewed by Darin.
+
+ Build fixes after OpenSource r18098 and r18106.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ - Changed include paths to reflect the now-flattened JSCore headers.
+ - Added missing files to project.
+ - Changed post-build step to also copy ForwardingHeaders.
+ - Removed unnecessary definition of WTF_PLATFORM_CF from project
+ file (it's already defined in config.h).
+ * platform/win/TextBoundariesWin.cpp: Fixed up includes and renamed
+ function calls.
+ (WebCore::findNextWordFromIndex):
+ (WebCore::findWordBoundary):
+
+2006-12-08 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by Anders.
+
+ * platform/win/FontPlatformDataWin.cpp:
+ (WebCore::FontPlatformData::FontPlatformData): Fix use of min().
+
+2006-12-08 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-12-07 Beth Dakin <bdakin@apple.com>
+
+ Reviewed by Maciej.
+
+ Add a new member variable to ContectMenuItem to hold on to the sub-
+ menu. The new member variable is an OwnPtr<ContextMenu>. Not doing
+ this breaks sub-menus on Boomer since the menu items are no longer
+ static.
+
+ * platform/win/ContextMenuItemWin.cpp:
+ (WebCore::ContextMenuItem::ContextMenuItem):
+ (WebCore::ContextMenuItem::platformSubMenu):
+ (WebCore::ContextMenuItem::setSubMenu):
+
+2006-12-07 Kevin McCullough <kmccullough@apple.com>
+
+ Reviewed by.
+
+ Fixed previous comment
+
+ * ChangeLog:
+
+2006-12-07 Kevin McCullough <kmccullough@apple.com>
+
+ Reviewed by Geof.
+
+ - keyDown events must be followed by keyPressed events and before keyUp events.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::keyEvent):
+
+2006-12-07 Beth Dakin <bdakin@apple.com>
+
+ Reviewed by Brady.
+
+ New link stub for load() function used by
+ ContextMenuItemTagOpenLink action.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameLoader::load):
+
+2006-12-07 Ada Chan <adachan@apple.com>
+
+ Reviewed by Steve and Anders.
+
+ <rdar://4866288> Crash on boomer quit
+ - don't close the themes on termination, since uxtheme should do that anyway.
+
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::RenderThemeWin::~RenderThemeWin):
+
+2006-12-06 Ada Chan <adachan@apple.com>
+
+ Reviewed by Maciej.
+
+ Fixed a couple of things while investigating <rdar://4866288> (note this doesn't fix the crash yet):
+ - we forgot to initialize m_sliderTheme
+ - we did the wrong null check when getting the slider theme.
+
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::RenderThemeWin::RenderThemeWin):
+ (WebCore::RenderThemeWin::sliderTheme):
+
+2006-12-06 Anders Carlsson <acarlsson@apple.com>
+
+ Fix the build.
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::didReceiveData):
+ (WebCore::didFail):
+ (WebCore::ResourceHandle::start):
+ (WebCore::ResourceHandle::cancel):
+
+2006-12-06 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ Modify PluginStreamWin to use a SubresourceLoader instead of a ResourceHandle.
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::PluginStreamWin):
+ (WebCore::PluginStreamWin::~PluginStreamWin):
+ (WebCore::PluginStreamWin::start):
+ (WebCore::PluginStreamWin::stop):
+ (WebCore::PluginStreamWin::deliverData):
+ (WebCore::PluginStreamWin::didReceiveResponse):
+ (WebCore::PluginStreamWin::didReceiveData):
+ (WebCore::PluginStreamWin::didFail):
+ (WebCore::PluginStreamWin::didFinishLoading):
+ * plugins/win/PluginStreamWin.h:
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::performRequest):
+ (WebCore::PluginViewWin::load):
+
+2006-12-06 Anders Carlsson <acarlsson@apple.com>
+
+ Build fixes.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::scheduleClose):
+
+2006-12-05 John Sullivan <sullivan@apple.com>
+
+ Try to keep the windows build happy with Frame -> Editor changes...
+
+ * bridge/win/FrameWin.h:
+ removed declarations of spelling and grammar functions
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ changed spelling and grammar functions from FrameWin:: to Editor::
+ (WebCore::Editor::isSelectionMisspelled):
+ (WebCore::Editor::isSelectionUngrammatical):
+ (WebCore::Editor::guessesForMisspelledSelection):
+ (WebCore::Editor::guessesForUngrammaticalSelection):
+ (WebCore::Editor::markMisspellingsInAdjacentWords):
+ (WebCore::Editor::advanceToNextMisspelling):
+
+2006-12-05 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Maciej.
+
+ Don't delete the internal pointer anymore since it's an OwnPtr now.
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::ResourceHandle::~ResourceHandle):
+
+2006-12-05 Steve Falkenburg <sfalken@apple.com>
+
+ Fix the build
+
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2006-12-05 Steve Falkenburg <sfalken@apple.com>
+
+ Production build fix.
+ ...and add ImageAnimationObserver.h into its new location.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-12-05 Steve Falkenburg <sfalken@apple.com>
+
+ Production build fix.
+ Remove ImageAnimationObserver.h from vcproj.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-12-05 John Sullivan <sullivan@apple.com>
+
+ Reviewed by Geoff Garen
+
+ Changes to keep up with Frame -> Editor changes in WebCore
+
+ * bridge/win/FrameWin.h:
+ remove ignoreSpelling() and learnSpelling()
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::Editor::ignoreSpelling):
+ moved from FrameWin to Editor
+ (WebCore::Editor::learnSpelling):
+ ditto
+
+2006-12-05 Alice Liu <alice.liu@apple.com>
+
+ Build fix.
+
+ * platform/win/CursorWin.cpp:
+ (WebCore::copyCursor):
+
+2006-12-05 Alice Liu <alice.liu@apple.com>
+
+ Build fix.
+
+ * bridge/win/FrameWin.h:
+ added missing declarations for the functions in John's checkin, below.
+
+2006-12-05 John Sullivan <sullivan@apple.com>
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::FrameWin::isSelectionUngrammatical):
+ (WebCore::FrameWin::guessesForUngrammaticalSelection):
+ added stubs to correspond to new Frame functions
+
+2006-12-04 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Darin.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Add SubresourceClient.h
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::didReceiveResponse):
+ Get rid of the receivedResponse call.
+
+ (WebCore::didFinishLoading):
+ Get rid of the receivedAllData call, that's handled by the subresource loader now.
+
+2006-12-04 Darin Adler <darin@apple.com>
+
+ Reviewed by Adele.
+
+ * WebCore.vcproj/WebCore.vcproj: Update for new UIEventWithKeyState.cpp file.
+
+2006-12-04 Kevin McCullough <KMcCullough@apple.com>
+
+ Reviewed by Darin.
+
+ - removed the guards for the "multiple forms submission" issue, which may not be
+ an issue anymore and the guards prevent perfectly legitimate websites from
+ working correctly.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::keyEvent):
+ * config.h:
+ * loader/win/FrameLoaderWin.cpp:
+ (WebCore::FrameLoader::submitForm):
+
+2006-12-04 Darin Adler <darin@apple.com>
+
+ Reviewed by Alice.
+
+ * platform/win/PasteboardWin.cpp: (WebCore::Pasteboard::generalPasteboard):
+ Got rid of s_generalPasteboard. Also removed definition of destructor.
+
+2006-12-04 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Darin, Geoff.
+
+ Get rid of ref() in ResourceHandle::start() and remove all uses of kill().
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::didFinishLoading):
+ (WebCore::didFail):
+ (WebCore::ResourceHandle::start):
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::stop):
+
+2006-12-04 Alice Liu <alice.liu@apple.com>
+
+ Reviewed by Oliver.
+
+ Fixed <rdar://problem/4822632> clicks don't work if you move mouse immediately
+ This bug was fixed by implementing EventHandler::handleDrag. The part of that
+ function after the drag hysteresis is exceeded remains unimplemented until
+ drag&drop is implemented.
+
+ * page/win/EventHandlerWin.cpp:
+ (WebCore::dragState):
+ (WebCore::EventHandler::dragHysteresisExceeded):
+ (WebCore::EventHandler::handleDrag):
+ (WebCore::EventHandler::handleMouseUp):
+ (WebCore::EventHandler::shouldDragAutoNode):
+ (WebCore::EventHandler::focusDocumentView):
+ (WebCore::EventHandler::passWidgetMouseDownEventToWidget):
+ * platform/win/PlatformMouseEventWin.cpp:
+ (WebCore::PlatformMouseEvent::PlatformMouseEvent):
+
+2006-12-01 Beth Dakin <bdakin@apple.com>
+
+ Reviewed by Adam.
+
+ Support for sub-menus in WebCore context menus. Also some
+ adjustments to make ContextMenuItem class a wrapper for the
+ platformDescription. (In this case, a wrapper for LPMENUITEMINFO.)
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/ContextMenuItemWin.cpp:
+ (WebCore::ContextMenuItem::ContextMenuItem):
+ (WebCore::ContextMenuItem::platformDescription):
+ (WebCore::ContextMenuItem::action):
+ (WebCore::ContextMenuItem::title):
+ (WebCore::ContextMenuItem::platformSubMenu):
+ (WebCore::ContextMenuItem::setAction):
+ (WebCore::ContextMenuItem::setTitle):
+ (WebCore::ContextMenuItem::setSubMenu):
+ * platform/win/ContextMenuWin.cpp:
+ (WebCore::ContextMenu::ContextMenu):
+ (WebCore::ContextMenu::insertItem):
+
+2006-11-30 Geoffrey Garen <ggaren@apple.com>
+
+ Rubber Stamped by Anders Carlsson.
+
+ Global rename of Document::focusNode to Document::focusedNode. 'focusNode'
+ suggested a command, and conflicted with a different meaning for 'focusNode'
+ in the Mozilla selection API.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::keyEvent):
+
+2006-11-30 Adam Roben <aroben@apple.com>
+
+ Lather, rinse, repeat.
+
+ * platform/win/GraphicsContextWin.cpp:
+ (WebCore::contextForImage):
+
+2006-11-30 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * platform/graphics/cg/GraphicsContextCG.cpp: Removed. This file was
+ un-forked a while ago.
+ * platform/win/ContextMenuWin.cpp:
+ (WebCore::ContextMenu::platformDescription):
+ * platform/win/GraphicsContextWin.cpp:
+ (WebCore::contextForImage):
+
+2006-11-30 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/graphics/svg/cg/SVGResourceFilterCg.cpp:
+ (WebCore::SVGResourceFilter::prepareFilter):
+ (WebCore::SVGResourceFilter::applyFilter):
+ (WebCore::SVGResourceFilter::createFilterEffect):
+ * platform/graphics/svg/cg/SVGResourceMaskerCg.cpp:
+ (WebCore::SVGResourceMasker::applyMask):
+
+2006-11-30 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Beth Dakin.
+
+ Fixed <rdar://problem/4844838> Whole document leak seen
+ running HTML iBench
+
+ * loader/win/FrameLoaderWin.cpp: Removed custom implementation
+ for detachFromParent, since FrameLoader has a cross-platform
+ version now.
+
+2006-11-30 Steve Falkenburg <sfalken@apple.com>
+
+ Production build fix. Add missing header files to vcproj.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-11-29 Anders Carlsson <acarlsson@apple.com>
+
+ Build fix.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ Remove unused function.
+
+2006-11-29 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Oliver.
+
+ Fix fast/dom/xmlhttprequest-get layout test failure.
+
+ * platform/network/cf/ResourceResponseCFNet.cpp:
+ (WebCore::ResourceResponse::doUpdateResourceResponse):
+ Initialize the status code to 0 for non-http responses.
+
+2006-11-29 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Darin.
+
+ Have ResourceResponse hold on to the platform object and do lazy
+ initialization of the data members.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::willSendRequest):
+ (WebCore::didReceiveResponse):
+ * platform/network/cf/ResourceRequestCFNet.h: Removed.
+ * platform/network/cf/ResourceResponseCFNet.cpp:
+ (WebCore::ResourceResponse::doUpdateResourceResponse):
+ * platform/network/cf/ResourceResponseCFNet.h: Removed.
+ * platform/win/MimeTypeRegistryWin.cpp:
+
+2006-11-28 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Beth Dakin.
+
+ Fixed <rdar://problem/4844855> Should clarify when to create clients in
+ the WebCore client API
+
+ All clients must now be supplied as constructor arguments. This clarifies
+ when you need to create clients, and also guarantees that objects can't
+ (for the most part) be in a clientless state.
+
+ Layout tests pass. No leaks reported.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::FrameWin):
+ * bridge/win/FrameWin.h:
+
+2006-11-28 Adam Roben <aroben@apple.com>
+
+ Reviewed by Ada.
+
+ Add platform-specific constructor/destructor to ContextMenu so we can
+ properly dispose of the HMENU.
+
+ * platform/win/ContextMenuWin.cpp:
+ (WebCore::ContextMenu::ContextMenu):
+ (WebCore::ContextMenu::~ContextMenu):
+ (WebCore::ContextMenu::itemCount):
+ (WebCore::ContextMenu::insertItem):
+ (WebCore::ContextMenu::at):
+ (WebCore::ContextMenu::setPlatformDescription):
+ (WebCore::ContextMenu::show):
+
+2006-11-28 Steve Falkenburg <sfalken@apple.com>
+
+ B&I build fix
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-11-28 Anders Carlsson <acarlsson@apple.com>
+
+ Fix the build by doing the same changes that were done in the open source WebCore repo.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::willSendRequest):
+ (WebCore::didReceiveResponse):
+ (WebCore::ResourceHandle::start):
+ * platform/network/cf/ResourceRequestCFNet.cpp:
+ (WebCore::ResourceRequest::cfURLRequest):
+ (WebCore::addHeadersFromHashMap):
+ (WebCore::ResourceRequest::doUpdatePlatformRequest):
+ (WebCore::ResourceRequest::doUpdateResourceRequest):
+ * platform/network/cf/ResourceRequestCFNet.h:
+
+2006-11-28 Adam Roben <aroben@apple.com>
+
+ Reviewed by Ada and Beth.
+
+ Fix: <rdar://problem/4601523> Contextual Menus (in web content)
+
+ * WebCore.vcproj/WebCore.vcproj: Defined WEBCORE_CONTEXT_MENUS to turn
+ on the context menus. Added new ContextMenuItem files.
+ * platform/win/ContextMenuItemWin.cpp: Added.
+ (WebCore::ContextMenuItem::ContextMenuItem):
+ * platform/win/ContextMenuWin.cpp:
+ (WebCore::ContextMenu::itemCount): Updated to match ContextMenu.h and
+ ContextMenuItem changes.
+ (WebCore::ContextMenu::insertItem): Ditto.
+ (WebCore::ContextMenu::appendItem): Ditto.
+ (WebCore::ContextMenu::at): New method, similar to Vector<T>::at.
+ (WebCore::ContextMenu::setPlatformDescription): Use MIM_APPLYTOSUBMENUS
+ to make sure all submenus get the MNS_NOTIFYBYPOS style.
+ (WebCore::ContextMenu::show): Implemented.
+
+ Updates to match OpenSource changes.
+
+ * loader/win/FrameLoaderWin.cpp: Added missing #include.
+ * page/win/EventHandlerWin.cpp: Return bools to signify whether the
+ event was handled.
+ (WebCore::EventHandler::passMousePressEventToSubframe):
+ (WebCore::EventHandler::passMouseMoveEventToSubframe):
+ (WebCore::EventHandler::passMouseReleaseEventToSubframe):
+ (WebCore::EventHandler::passWheelEventToSubframe):
+ (WebCore::EventHandler::passMousePressEventToScrollbar):
+ * platform/win/PlatformScrollBar.h: Ditto.
+ * platform/win/PlatformScrollBarWin.cpp: Ditto.
+ (WebCore::PlatformScrollbar::handleMouseMoveEvent):
+ (WebCore::PlatformScrollbar::handleMouseOutEvent):
+ (WebCore::PlatformScrollbar::handleMousePressEvent):
+ (WebCore::PlatformScrollbar::handleMouseReleaseEvent):
+
+ Small fix inspired by WebView.cpp changes.
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::calculatePositionAndSize): Use ::ClientToScreen to
+ do coordinate conversion instead of doing it ourselves.
+
+2006-11-28 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/4850883>
+ Crash loading pdf page (W4 form)
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameLoader::redirectDataToPlugin):
+ * loader/win/FrameLoaderWin.cpp:
+ (WebCore::FrameLoader::redirectDataToPlugin):
+ Move the function to FrameLoaderWin.cpp and get rid of STOP_NOIMPL() for now,
+ we do things differently on Windows so this function doesn't need do do anything.
+ I've filed 4852889 about redoing this once the loader has been ported.
+
+2006-11-28 Alice Liu <alice.liu@apple.com>
+
+ Reviewed by Ada, Adam, and Lou.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Added the files listed below
+
+ * platform/win/ClipboardWin.h: Added.
+ * platform/win/ClipboardWin.cpp: Added.
+ Added the minimum stubs for the ClipboardWin class
+ (WebCore::ClipboardWin::isForDragging):
+ (WebCore::ClipboardWin::dropEffect):
+ (WebCore::ClipboardWin::setDropEffect):
+ (WebCore::ClipboardWin::effectAllowed):
+ (WebCore::ClipboardWin::setEffectAllowed):
+ (WebCore::ClipboardWin::clearData):
+ (WebCore::ClipboardWin::clearAllData):
+ (WebCore::ClipboardWin::getData):
+ (WebCore::ClipboardWin::setData):
+ (WebCore::ClipboardWin::types):
+ (WebCore::ClipboardWin::dragLocation):
+ (WebCore::ClipboardWin::dragImage):
+ (WebCore::ClipboardWin::setDragImage):
+ (WebCore::ClipboardWin::dragImageElement):
+ (WebCore::ClipboardWin::setDragImageElement):
+ (WebCore::ClipboardWin::setAccessPolicy):
+ (WebCore::ClipboardWin::~ClipboardWin):
+
+ * platform/win/EditorWin.cpp: Added.
+ Added this to make dispatchCPPEvent happy.
+ (WebCore::Editor::newGeneralClipboard):
+
+ * platform/win/PasteboardWin.cpp: Added.
+ The pasteboard class follows a singleton pattern
+ Implemented the following to support CF_HTML, CF_UNICODE, and CF_TEXT
+ (WebCore::Pasteboard::generalPasteboard):
+ (WebCore::Pasteboard::Pasteboard):
+ (WebCore::Pasteboard::~Pasteboard):
+ (WebCore::Pasteboard::registerSelectionPasteboardTypes):
+ (WebCore::Pasteboard::clearTypes):
+ (WebCore::Pasteboard::writeSelection):
+ (WebCore::Pasteboard::createHandleFromString):
+ (WebCore::Pasteboard::createHandleFromCString):
+ (WebCore::Pasteboard::createCF_HTMLFromRange):
+ (WebCore::Pasteboard::replaceNBSP):
+ (WebCore::Pasteboard::canSmartReplace):
+ (WebCore::Pasteboard::plainText):
+ (WebCore::Pasteboard::documentFragment):
+ (WebCore::PasteboardOwnerWndProc):
+
+2006-11-28 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Anders Carlsson.
+
+ Fixed <rdar://problem/4844863> REGRESSION: screen flashes when scrolling/
+ resizing page with plug-in (@ cnn.com, for example).
+
+ LockWindowUpdate was to blame. It turns out that using LockWindowUpdate
+ was wrong to begin with. It's really only intended for use in drag-n-drop
+ operations, which explains why only one window can be locked at a time.
+ (See http://blogs.msdn.com/oldnewthing/archive/2004/06/10/152612.aspx.)
+
+ The new solution I've implemented for avoiding plug-in fragments while scrolling
+ is simply to clip the plug-in to the zero rect before moving it, and
+ then to un-clip it when done.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::updateHwnd):
+
+2006-11-28 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Adam.
+
+ Fixed <rdar://problem/4844848> REGRESSION: extra cross-library ref/deref
+ calls cause .5% PLT regression.
+
+ Changed ref/deref calls to a single 'xxxDestroyed' call. Moved EditorClient
+ from the Frame to the Page, since it's only responsible for
+ Webview-level delegate calls.
+
+ I don't really love this design, but it fixes the regression and allows
+ a single WebKit object to implement multiple client interfaces.
+
+ Layout tests pass.
+
+2006-11-27 Beth Dakin <bdakin@apple.com>
+
+ Reviewed by Adam.
+
+ Stub out functions in order to remove FIXMEs from ContextMenu.cpp
+
+ * bridge/win/FrameWin.h: Spell checker functions pushed down from
+ WebKit.
+ * platform/win/TemporaryLinkStubs.cpp: Stubs for spelling
+ functions.
+ (WebCore::FrameWin::isSelectionMisspelled):
+ (WebCore::FrameWin::guessesForMisspelledSelection):
+
+2006-11-27 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Adam.
+
+ Fixes a crash in SVG caused by an attempt to
+ perform css overflow clipping by preventing
+ the css overflow clip from being set in SVG.
+
+ <rdar:/problems/4839568>
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-11-27 Anders Carlsson <acarlsson@apple.com>
+
+ Remove addMessageToConsole from FrameWin.
+ * bridge/win/FrameWin.h:
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2006-11-21 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ Various fixes that make file upload possible.
+
+ * bridge/win/FrameWin.h:
+ * loader/win/FrameLoaderWin.cpp:
+ (WebCore::FrameLoader::submitForm):
+ Change submitForm to take a FrameLoadRequest.
+
+ * platform/network/cf/FormDataStreamCFNet.cpp:
+ (WebCore::advanceCurrentStream):
+ Pass kCFURLWindowsPathStyle to CFURLCreateWithFileSystemPath.
+
+ * platform/network/cf/ResourceHandleCFNet.cpp:
+ (WebCore::willSendRequest):
+ Call the client method.
+
+2006-11-21 Anders Carlsson <acarlsson@apple.com>
+
+ Rubber-stamped by Maciej.
+
+ Fork the CF loader.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/network/cf/FormDataStreamCFNet.cpp: Added.
+ (WebCore::getStreamFormDatas):
+ (WebCore::pairRetain):
+ (WebCore::pairRelease):
+ (WebCore::pairEqual):
+ (WebCore::pairHash):
+ (WebCore::closeCurrentStream):
+ (WebCore::scheduleWithPair):
+ (WebCore::advanceCurrentStream):
+ (WebCore::openNextStream):
+ (WebCore::formCreate):
+ (WebCore::formFinalize):
+ (WebCore::formOpen):
+ (WebCore::formRead):
+ (WebCore::formCanRead):
+ (WebCore::formClose):
+ (WebCore::formSchedule):
+ (WebCore::formUnschedule):
+ (WebCore::formEventCallback):
+ (WebCore::setHTTPBody):
+ (WebCore::httpBodyFromStream):
+ * platform/network/cf/FormDataStreamCFNet.h: Added.
+ * platform/network/cf/ResourceHandleCFNet.cpp: Added.
+ (WebCore::willSendRequest):
+ (WebCore::didReceiveResponse):
+ (WebCore::didReceiveData):
+ (WebCore::didFinishLoading):
+ (WebCore::didFail):
+ (WebCore::willCacheResponse):
+ (WebCore::didReceiveChallenge):
+ (WebCore::addHeadersFromHashMap):
+ (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
+ (WebCore::ResourceHandle::~ResourceHandle):
+ (WebCore::arrayFromFormData):
+ (WebCore::emptyPerform):
+ (WebCore::runLoaderThread):
+ (WebCore::ResourceHandle::start):
+ (WebCore::ResourceHandle::cancel):
+ * platform/network/cf/ResourceRequestCFNet.cpp: Added.
+ (WebCore::getResourceRequest):
+ (WebCore::addHeadersFromHashMap):
+ (WebCore::cfURLRequest):
+ * platform/network/cf/ResourceRequestCFNet.h: Added.
+ * platform/network/cf/ResourceResponseCFNet.cpp: Added.
+ (WebCore::getResourceResponse):
+ * platform/network/cf/ResourceResponseCFNet.h: Added.
+
+2006-11-21 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Lou, Dave Hyatt.
+
+ <rdar://problem/4761639>
+ Group label in list box doesn't appear as bold
+
+ <rdar://problem/4805795>
+ <optgroup> labels should be bold in popup menus
+
+ * platform/win/FontPlatformDataWin.cpp:
+ (WebCore::enumStylesCallback):
+ (WebCore::FontPlatformData::FontPlatformData):
+ Enumerate the existing font styles and decide what to synthesize
+ depending on what styles are available.
+
+2006-11-21 Anders Carlsson <acarlsson@apple.com>
+
+ Fix build.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-11-20 Anders Carlsson <acarlsson@apple.com>
+
+ Add the same include paths to the debug build.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-11-20 Anders Carlsson <acarlsson@apple.com>
+
+ Fix build.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * kcanvas/device/quartz/KCanvasFilterQuartz.cpp: Removed.
+ * platform/graphics/svg/cg/SVGResourceFilterCg.cpp: Added.
+ (WebCore::SVGResourceFilter::SVGResourceFilter):
+ (WebCore::SVGResourceFilter::~SVGResourceFilter):
+ (WebCore::SVGResourceFilter::prepareFilter):
+ (WebCore::SVGResourceFilter::applyFilter):
+
+2006-11-19 Beth Dakin <bdakin@apple.com>
+
+ Reviewed by Adam.
+
+ Boomer part of context menu actions.
+
+ * bridge/win/FrameWin.h: New spelling functions on Frame.
+ * platform/win/ContextMenuWin.cpp:
+ (WebCore::ContextMenu::show):
+ (WebCore::ContextMenu::hide):
+ * platform/win/TemporaryLinkStubs.cpp: New stubs.
+ (FrameWin::ignoreSpelling):
+ (FrameWin::learnSpelling):
+ (FrameLoader::reload):
+
+2006-11-18 Adam Roben <aroben@apple.com>
+
+ Build fix from OpenSource r17841.
+
+ * platform/win/CursorWin.cpp: New method stubs.
+ (WebCore::aliasCursor):
+ (WebCore::progressCursor):
+ (WebCore::noDropCursor):
+
+2006-11-17 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ Add #defines in config.h to prevent the min and max macros from being used.
+
+ * bridge/win/FrameWin.cpp:
+ * config.h:
+ * platform/win/FontCacheWin.cpp:
+ (WebCore::FontCache::createFontPlatformData):
+ * platform/win/PopupMenuWin.cpp:
+ * plugins/win/PluginStreamWin.cpp:
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::handlePost):
+
+2006-11-17 Kevin McCullough <kmccullough@apple.com>
+
+ Reviewed by Adam.
+
+ - Fixes Targetted Form Submission to now work. Radar: 4762693
+
+ * ChangeLog:
+ * loader/win/FrameLoaderWin.cpp:
+ (WebCore::FrameLoader::submitForm):
+
+2006-11-16 Adele Peterson <adele@apple.com>
+
+ Reviewed by Adam.
+
+ Added theme for sider.
+
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::RenderThemeWin::sliderTheme):
+ (WebCore::RenderThemeWin::close):
+ (WebCore::RenderThemeWin::determineSliderThumbState):
+ (WebCore::RenderThemeWin::getClassicThemeData):
+ (WebCore::RenderThemeWin::getThemeData):
+ (WebCore::drawControl):
+ (WebCore::RenderThemeWin::paintSliderTrack):
+ (WebCore::RenderThemeWin::paintSliderThumb):
+ (WebCore::RenderThemeWin::adjustSliderThumbSize):
+ * rendering/RenderThemeWin.h:
+
+2006-11-15 Adam Roben <aroben@apple.com>
+
+ Reviewed by Anders.
+
+ Added new ContextMenuClient and ContextMenuController classes.
+
+ * WebCore.vcproj/WebCore.vcproj: Added new files.
+ * platform/win/ContextMenuWin.cpp: Added method implementations Beth
+ forgot to check in in r11129.
+ (WebCore::ContextMenu::itemCount):
+ (WebCore::ContextMenu::appendItem):
+
+2006-11-15 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Anders Carlsson.
+
+ Fixed flash of plug-in content outside its containing iframe while
+ scrolling the iframe.
+
+ The problem was that the plug-in would draw between our call to MoveWindow
+ and our call to SetWindowRgn. The solution here is to lock all updates in
+ the plug-in's HWND until we've called both MoveWindow and SetWindowRgn.
+
+ Tested with Quicktime and Flash.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::updateHwnd):
+ (WebCore::PluginViewWin::setFrameGeometry):
+ (WebCore::PluginViewWin::geometryChanged):
+ * plugins/win/PluginViewWin.h: Removed bogus invalidate parameter to updateHwnd.
+
+2006-11-15 Adele Peterson <adele@apple.com>
+
+ Reviewed by Adam.
+
+ Adding RenderSlider class, and removing DeprecatedSlider and Slider classes.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2006-11-15 Beth Dakin <bdakin@apple.com>
+ & Adam Roben <aroben@apple.com>
+
+ Reviewed by Adam and Beth.
+
+ Internal side of r17796.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/ContextMenuWin.cpp: Added.
+ (WebCore::ContextMenu::insertItem):
+ (WebCore::ContextMenu::setPlatformMenuDescription):
+
+2006-11-15 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Darin.
+
+ Remove some (now) obsolete methods.
+
+ * bridge/win/FrameWin.h:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::unfocusWindow):
+ (FrameWin::getAppletInstanceForWidget):
+ (FrameWin::issuePasteCommand):
+ (FrameWin::respondToChangedSelection):
+
+2006-11-15 Steve Falkenburg <sfalken@apple.com>
+
+ Remove header from vcproj that no longer exists
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-11-15 Steve Falkenburg <sfalken@apple.com>
+
+ Fix the B&I build
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-11-14 Darin Adler <darin@apple.com>
+
+ Reviewed by Anders.
+
+ - update for creation of EventHandler
+
+ * WebCore.vcproj/WebCore.vcproj: Added EventHandler.cpp/h/Win.cpp.
+
+ * bridge/win/FrameWin.h: Moved virtual functions lastEventIsMouseUp,
+ tabsToLinks, and tabsToAllControls to EventHandler.
+ * bridge/win/FrameWin.cpp: Ditto.
+
+ * bridge/win/FrameViewWin.cpp: Moved passMousePressEventToSubframe and similar
+ functions to EventHandler.
+
+ * page/win/EventHandlerWin.cpp: Added. Code from FrameViewWin and FrameWin.
+
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollbar::handleMouseReleaseEvent): Call the setMousePressed
+ function in its new home in EventHandler.
+
+ * platform/win/TemporaryLinkStubs.cpp: Moved lastEventIsMouseUp stub to EventHandler.
+
+2006-11-13 Brady Eidson <beidson@apple.com>
+
+ Rubberstamped by Maciej
+
+ Windows half of 17755 - Make FormData shared
+
+ * bridge/win/FrameWin.h:
+ * loader/win/FrameLoaderWin.cpp:
+ (WebCore::FrameLoader::submitForm):
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::handlePost):
+
+2006-11-13 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupWndProc):
+ Make sure to call valueChanged after hiding the popup so that change events will
+ be delivered correctly.
+
+2006-11-13 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Anders, Lou.
+
+ Fix merge script
+
+ * WebCore.vcproj/merge-opensource.sh: Don't copy cairo, pixman
+
+2006-11-12 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Beth Dakin.
+
+ Added project-wide setting to disable Microsoft's made-up deprecation
+ warnings related to std:: functions. (Doesn't have any affect yet,
+ since we currently disable all deprecation warnings.)
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-11-11 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Oliver.
+
+ Rename keyPress to keyEvent, it's used for both key presses
+ and releases.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::keyEvent):
+ * bridge/win/FrameWin.h:
+
+2006-11-11 Adam Roben <aroben@apple.com>
+
+ Reviewed by Geoff.
+
+ Move graphics-related files to platform/graphics to stay in sync with
+ changes from OpenSource r17727.
+
+ Also, as discussed with Darin and Steve, we now copy all our headers to
+ a flat include/WebCore directory instead of copying the directory
+ structure of WebCore. This mirrors how Mac builds.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/cg/ColorCG.cpp: Removed.
+ * platform/cg/GraphicsContextCG.cpp: Removed.
+ * platform/cg/GraphicsContextPlatformPrivate.h: Removed.
+ * platform/win/IconWin.cpp: Removed.
+ * platform/win/ImageWin.cpp: Removed.
+
+2006-11-11 Darin Adler <darin@apple.com>
+
+ - blind attempt to fix the build
+
+ * platform/win/CursorWin.cpp:
+ (WebCore::verticalTextCursor): Added. Just returns the pointer cursor.
+ (WebCore::cellCursor): Ditto.
+ (WebCore::contextMenuCursor): Ditto.
+
+2006-11-10 Steve Falkenburg <sfalken@apple.com>
+
+ Build fix for opensource/internal merge script.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-11-10 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Oliver.
+
+ Implement findNextWordFromIndex using ICU.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::findSentenceBoundary):
+ * platform/win/TextBoundariesWin.cpp:
+ (WebCore::findNextWordFromIndex):
+
+2006-11-09 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Brady.
+
+ Added Windows side of MIME Type registry, and updated
+ objectContentType and ImageWin to make use of it
+
+ This fixes <rdar://problem/4791483>
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * loader/win/FrameLoaderWin.cpp:
+ (WebCore::FrameLoader::objectContentType):
+ * platform/win/ImageWin.cpp:
+ * platform/win/MimeTypeRegistryWin.cpp: Added.
+ (WebCore::getMIMETypeForUTI):
+ (WebCore::mimeTypeForExtension):
+ (WebCore::MimeTypeRegistry::getMIMETypeForExtension):
+
+2006-11-09 Lou Amadio <lamadio@apple.com>
+
+ Reviewed by mjs
+ Corrected positioning of text for find overlay on subframes
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::imageFromRect):
+
+2006-11-08 Lou Amadio <lamadio@apple.com>
+
+ Reviewed by ggaren
+
+ Moved CookieJar to OpenSourceWin
+ Ported CookieJar to CFNetwork
+ Corrected an uninitialized variable which crashed on Vista in the Wininet code
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/network/win/CookieJarWin.cpp:
+ (WebCore::setCookies):
+ (WebCore::cookies):
+
+2006-11-08 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Geoff.
+
+ - added ResourceError class and didFailWithError client method
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::didFailLoadingWithError):
+ (WebCore::PluginStreamWin::didFinishLoading):
+ * plugins/win/PluginStreamWin.h:
+
+2006-11-08 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Anders Carlsson.
+
+ Updated Windows to use the new platform abstraction for Screen.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::calculatePositionAndSize):
+ * platform/win/ScreenWin.cpp:
+ (WebCore::monitorInfoForWidget):
+ (WebCore::deviceInfoForWidget):
+ (WebCore::screenDepth):
+ (WebCore::screenDepthPerComponent):
+ (WebCore::screenIsMonochrome):
+ (WebCore::screenRect):
+ (WebCore::screenAvailableRect):
+
+2006-11-09 Darin Adler <darin@apple.com>
+
+ - fix the build
+
+ * bridge/win/FrameWin.h: Add a forward declaration of FormData.
+
+ * bridge/win/FrameWin.cpp: (WebCore::FrameWin::keyPress):
+ Call resetMultipleFormSubmissionProtection instead of prepareForUserAction.
+
+ * platform/win/TemporaryLinkStubs.cpp: Remove the parameter from the
+ TextField constructor.
+
+2006-11-08 Steve Falkenburg <sfalken@apple.com>
+
+ Rubber stamped by Adam.
+
+ Windows buildbot fix.
+ Remove /d from xcopy commands that merge opensource/internal components.
+ Sync debug and release post-build event.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-11-07 Ada Chan <adachan@apple.com>
+
+ Reviewed by Steve.
+
+ Make the Slider implementation call LOG_NOIMPL() instead of STOP_NOIMPL() so the RSS feed page can load.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (Slider::Slider):
+ (Slider::sizeHint):
+ (Slider::setValue):
+ (Slider::setMaxValue):
+ (Slider::setMinValue):
+ (Slider::~Slider):
+ (Slider::setFont):
+ (Slider::value):
+
+2006-11-07 Lou Amadio <lamadio@apple.com>
+
+ Reviewed by sfalken, adam
+
+ Implemented Find banner, overlay, bouncy.
+ plummed some find, search and marking in WebCore & WebKit
+ Added SDC - a DC wrapper with knowledge of CG
+ Added button element
+ Ported AppKit's oval button drawing code
+ Abstracted the high performance animations
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::imageFromRect):
+ (WebCore::FrameWin::imageFromSelection):
+ * bridge/win/FrameWin.h:
+ * platform/win/GraphicsContextWin.cpp:
+ (WebCore::GraphicsContext::setCompositeOperation):
+ * platform/win/TemporaryLinkStubs.cpp:
+ (Frame::setNeedsReapplyStyles):
+
+2006-11-08 Anders Carlsson <acarlsson@apple.com>
+
+ Build fixes.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2006-11-08 Anders Carlsson <acarlsson@apple.com>
+
+ * loader/win/FrameLoaderWin.cpp:
+ (WebCore::FrameLoader::partClearedInBegin):
+ Use m_frame instead of this, include the correct files.
+
+2006-11-08 Anders Carlsson <acarlsson@apple.com>
+
+ (I'm not doing this to get commit 11000)
+
+ * loader/win/FrameLoaderWin.cpp:
+ (WebCore::FrameLoader::partClearedInBegin):
+ It's m_frame, not frame.
+
+2006-11-08 Anders Carlsson <acarlsson@apple.com>
+
+ It's FrameLoader, not FrameWin.
+
+ * loader/win/FrameLoaderWin.cpp:
+ (WebCore::FrameLoader::partClearedInBegin):
+
+2006-11-08 Anders Carlsson <acarlsson@apple.com>
+
+ A blind attempt at fixing the build.
+
+ * bridge/win/FrameWin.cpp:
+ * loader/win/FrameLoaderWin.cpp:
+ (WebCore::FrameWin::partClearedInBegin):
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameLoader::restoreDocumentState):
+
+2006-11-07 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Anders.
+
+ Removed ScreenClient. It was highly unpopular, risking my midterm re-election.
+
+ None of Screen's responsibilities require up-calls to WebKit or delegates,
+ so WebCore can handle it all.
+
+ Moved Screen back from page/ to platform/ because it's a platform
+ abstraction again.
+
+ Fixed bug where Screen would query the default screen instead of the screen
+ on which the active window was located. (The code is written in Klingon,
+ but that's cool.)
+
+ Implemented some missing screen functionality on Win.
+
+ I can't fully verify this code because I can't load files without crashing
+ in CFNetwork, but I exercised most of it with javascript: URLs and the
+ debugger reported reasonable values.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/ScreenWin.cpp: Added. Merged over from opensource tree.
+ (WebCore::getWindow):
+ (WebCore::getMonitorInfo):
+ (WebCore::getDeviceInfo):
+ (WebCore::Screen::depth):
+ (WebCore::Screen::depthPerComponent):
+ (WebCore::Screen::isMonochrome):
+ (WebCore::Screen::rect):
+ (WebCore::Screen::usableRect):
+
+2006-11-07 Darin Adler <darin@apple.com>
+
+ Reviewed by Geoff.
+
+ - moved loader code from Frame/FrameMac to FrameLoader
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::FrameWin):
+ (WebCore::FrameWin::~FrameWin):
+ * bridge/win/FrameWin.h:
+ * loader/win/FrameLoaderWin.cpp: Added.
+ (WebCore::FrameLoader::submitForm):
+ (WebCore::FrameLoader::urlSelected):
+ (WebCore::FrameLoader::originalRequestURL):
+ (WebCore::FrameLoader::didFirstLayout):
+ (WebCore::FrameLoader::objectContentType):
+ (WebCore::FrameLoader::createPlugin):
+ (WebCore::FrameLoader::createFrame):
+ (WebCore::FrameLoader::detachFromParent):
+ (WebCore::FrameLoader::createJavaAppletWidget):
+ (WebCore::FrameLoader::setTitle):
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::markMisspellings):
+ (FrameWin::respondToChangedSelection):
+ (FrameWin::clearUndoRedoOperations):
+ (IconLoader::notifyIconChanged):
+ (PolicyCheck::PolicyCheck):
+ (PolicyCheck::clear):
+ (PolicyCheck::call):
+ (PolicyCheck::clearRequest):
+ (FrameLoader::saveDocumentState):
+ (FrameLoader::restoreDocumentState):
+ (FrameLoader::partClearedInBegin):
+ (FrameLoader::goBackOrForward):
+ (FrameLoader::historyURL):
+ (FrameLoader::canGoBackOrForward):
+ (FrameLoader::getHistoryLength):
+ (DocumentLoader::setupForReplaceByMIMEType):
+ (ResourceLoader::cancel):
+ (DocumentLoader::stopLoading):
+ (DocumentLoader::setLoading):
+ (DocumentLoader::updateLoading):
+ (DocumentLoader::setFrame):
+ (DocumentLoader::stopRecordingResponses):
+ (DocumentLoader::isStopping):
+ (DocumentLoader::setPrimaryLoadComplete):
+ (DocumentLoader::finishedLoading):
+ (DocumentLoader::URL):
+ (DocumentLoader::isLoadingInAPISense):
+ (DocumentLoader::frameLoader):
+ (FrameLoader::overrideMediaType):
+ (FrameLoader::redirectDataToPlugin):
+ (FrameLoader::checkLoadCompleteForThisFrame):
+ (FrameLoader::loadEmptyDocumentSynchronously):
+ (FrameLoader::startLoading):
+ (FrameLoader::referrer):
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::performRequest):
+ (WebCore::PluginViewWin::userAgent):
+
+2006-11-07 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Oliver.
+
+ Let the Frame client know when the window object is available.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::partClearedInBegin):
+ * bridge/win/FrameWin.h:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::unfocusWindow):
+ (FrameWin::markMisspellings):
+ (FrameWin::restoreDocumentState):
+
+2006-11-07 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * platform/win/TemporaryLinkStubs.cpp: Remove no-longer-needed stub.
+
+2006-11-07 Steve Falkenburg <sfalken@apple.com>
+
+ Fixes for B&I submission
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.vcproj/merge-opensource.sh:
+
+2006-11-06 Kevin McCullough <kmccullough@apple.com>
+
+ -Fix test fields accepting text.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-11-06 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Dave Hyatt.
+
+ <rdar://problem/4778180>
+ wikipedia.org crashes when loading
+
+ * platform/win/GlyphMapWin.cpp:
+ (WebCore::GlyphMap::fillPage):
+ Don't call GetGlyphIndices on buffers larger than the page size. GetGlyphIndicies doesn't know anything about
+ Unicode supplementary characters and will overwrite the local buffer if the passed-in buffer is bigger than the page size.
+
+2006-11-06 Anders Carlsson <acarlsson@apple.com>
+
+ Fork GlyphMapWin.cpp
+
+ * platform/win/GlyphMapWin.cpp: Added.
+ (WebCore::GlyphMap::fillPage):
+
+2006-11-06 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Darin.
+
+ Hooked up the Chrome and Screen clients on Windows.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * bridge/win/PageWin.cpp:
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::calculatePositionAndSize):
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2006-11-06 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Maciej.
+
+ Copy npfunctions.h to WebKitOutputDir.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-11-06 Steve Falkenburg <sfalken@apple.com>
+
+ Fix double-include of FormData.cpp/.h.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-11-06 Maciej Stachowiak <mjs@apple.com>
+
+ - build fixes, adjusted for file move
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-11-05 Beth Dakin <bdakin@apple.com>
+
+ Reviewed by Steve and Anders.
+
+ Add client() fucntion to FrameWin to return the FrameClient.
+
+ * bridge/win/FrameWin.h:
+ (WebCore::FrameWin::client):
+
+2006-11-05 Steve Falkenburg <sfalken@apple.com>
+
+ Fix build
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-11-05 Steve Falkenburg <sfalken@apple.com>
+
+ Fix build breaks
+
+ * bridge/win/FrameWin.cpp:
+ * bridge/win/PageWin.cpp:
+
+2006-11-04 Darin Adler <darin@apple.com>
+
+ Reviewed by Maciej.
+
+ * bridge/win/FrameWin.h:
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::urlSelected): Updated for change of const Event* to Event*.
+ (WebCore::FrameWin::submitForm): Added Event* parameter.
+
+2006-11-03 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Adele.
+
+ - replaced receivedRedirect with new willSendRequest delegate
+ - removed most mac-specific loader functions
+ - use ResourceResponse more in loader code
+
+ * WebCore.vcproj/WebCore.vcproj: Added new files
+ * platform/win/TemporaryLinkStubs.cpp: Removed unneeded link stubs
+
+2006-11-03 Steve Falkenburg <sfalken@apple.com>
+
+ Fix build
+
+ * config.h: Touched to cause re-build w/ SVG_SUPPORT enabled
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::CachedResource::setResponse): Added
+
+2006-11-03 Adele Peterson <adele@apple.com>
+
+ Reviewed by Oliver.
+
+ Removed DeprecatedRenderSelect and ListBox classes.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2006-11-03 Anders Carlsson <acarlsson@apple.com>
+
+ Remove SVGRenderAsText files from the project.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-11-03 Anders Carlsson <acarlsson@apple.com>
+
+ Build fix.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::CachedResource::setPlatformResponse):
+
+2006-11-03 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Darin, Beth.
+
+ Updated to use ChromeClient.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * bridge/win/PageWin.cpp:
+ * loader/win/ResourceLoaderWin.cpp: Added.
+ (WebCore::ResourceLoader::loadsBlocked):
+ * platform/win/TemporaryLinkStubs.cpp:
+
+2006-11-02 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Oliver.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Use the forked CursorWin.cpp
+
+ * platform/win/CursorWin.cpp:
+ (WebCore::moveCursor):
+ Implement this.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ Get rid of it here.
+
+2006-11-02 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Oliver.
+
+ Add forked copy of CursorWin.cpp
+
+ * platform/win/CursorWin.cpp: Added.
+
+2006-11-01 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Adam.
+
+ Adding SVG_SUPPORT to Boomer.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.vcproj/build-generated-files.sh:
+ * kcanvas/device/quartz/KCanvasFilterQuartz.cpp: Added.
+ (WebCore::KCanvasFilterQuartz::KCanvasFilterQuartz):
+ (WebCore::KCanvasFilterQuartz::~KCanvasFilterQuartz):
+ (WebCore::KCanvasFilterQuartz::prepareFilter):
+ (WebCore::KCanvasFilterQuartz::applyFilter):
+ (WebCore::KCanvasFilterQuartz::imageForName):
+ (WebCore::KCanvasFilterQuartz::setImageForName):
+ (WebCore::KCanvasFilterQuartz::setOutputImage):
+ (WebCore::KCanvasFilterQuartz::inputImage):
+ * platform/graphics/svg/cg/SVGResourceMaskerCg.cpp: Added.
+ (WebCore::SVGResourceMasker::applyMask):
+
+2006-11-01 Beth Dakin <bdakin@apple.com>
+
+ Reviewed by Adam.
+
+ Build fix from Sam Weinig's check-in. i.p in the PaintInfo is now
+ i.context
+
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::RenderThemeWin::paintButton):
+ (WebCore::RenderThemeWin::paintTextField):
+ (WebCore::RenderThemeWin::paintMenuList):
+ (WebCore::RenderThemeWin::paintMenuListButton):
+
+2006-11-01 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Geoff.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::createJavaAppletWidget):
+ Ask the plugin database to create a java applet plugin.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ Remove FrameWin::createJavaAppletWidget.
+
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::PluginDatabaseWin::defaultPluginPaths):
+ Don't look for the Sun Java plugin anymore.
+
+2006-11-01 Anders Carlsson <acarlsson@apple.com>
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::startStream):
+ Build fix.
+
+2006-11-01 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ Convert plugin code over to using ResourceResponse.
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::startStream):
+ (WebCore::PluginStreamWin::didReceiveResponse):
+ (WebCore::PluginStreamWin::didFinishLoading):
+ * plugins/win/PluginStreamWin.h:
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::performRequest):
+
+2006-10-31 Steve Falkenburg <sfalken@apple.com>
+
+ Yet more B&I build fixes
+ Another missing .h file from the vcproj
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-10-31 Steve Falkenburg <sfalken@apple.com>
+
+ Another fix for B&I submission
+ (missing .h files from the WebCore vcproj prevents proper merging of OpenSource/Internal WebCore trees)
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-10-31 Steve Falkenburg <sfalken@apple.com>
+
+ Remove extra files I accidently added
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-10-31 Steve Falkenburg <sfalken@apple.com>
+
+ Build fixes for submission merge script
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-10-31 Adam Roben <aroben@apple.com>
+
+ Build fixes.
+
+ * WebCore.vcproj/WebCore.vcproj: Add new platform/graphics directory to
+ our include path, and copy headers from there for WebKit's benefit.
+ * bridge/win/FrameWin.cpp: Update accessors of FrameLoadRequest.
+ (WebCore::FrameWin::urlSelected):
+ (WebCore::FrameWin::submitForm):
+ * plugins/win/PluginViewWin.cpp: Ditto.
+ (WebCore::PluginViewWin::start):
+ (WebCore::PluginViewWin::performRequest):
+ (WebCore::PluginViewWin::load):
+ (WebCore::PluginViewWin::getURLNotify):
+ (WebCore::PluginViewWin::getURL):
+ (WebCore::PluginViewWin::handlePost):
+ * plugins/win/PluginViewWin.h: Correct forward declaration of
+ FrameLoadRequest.
+
+2006-10-30 Darin Adler <darin@apple.com>
+
+ Reviewed by Anders.
+
+ - remove BrowserExtension
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::FrameWin):
+ * platform/win/TemporaryLinkStubs.cpp:
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::performRequest):
+
+2006-10-30 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ If there's no plug-in for a given mime type, or if the plug-in fails
+ to initialize, draw the "missing plug-in" icon.
+
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::PluginDatabaseWin::createPluginView):
+ If no plug-in can be found, create a null plugin view.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::paint):
+ If the plugin hasn't been started, paint the missing plugin image.
+
+ (WebCore::PluginViewWin::setNPWindowSize):
+ Return early if the plugin hasn't been started.
+
+ (WebCore::PluginViewWin::start):
+ Return if the plugin couldn't be created.
+
+ (WebCore::PluginViewWin::createNullPluginView):
+ New function which just creates a plugin view and doesn't try to start its plugin
+ (because there is none).
+
+ (WebCore::PluginViewWin::PluginViewWin):
+ New constructor for the null plugin view.
+
+2006-10-31 Darin Adler <darin@apple.com>
+
+ Reviewed by Adam.
+
+ * WebCore.vcproj/WebCore.vcproj: Added new source files from the
+ loader directory.
+
+2006-10-29 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Anders.
+
+ - added ResourceResponse class and didReceiveResponse delegate call
+
+ * WebCore.vcproj/WebCore.vcproj: Added new files.
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::ServeSynchronousRequest): Changed prototype to match
+ new version.
+
+2006-10-29 Darin Adler <darin@apple.com>
+
+ - update for the WebCore renames
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::bindingRootObject):
+ (WebCore::FrameWin::windowScriptNPObject):
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::load):
+ (WebCore::PluginViewWin::bindingInstance):
+
+2006-10-29 Maciej Stachowiak <mjs@apple.com>
+
+ Rubber stamped by Darin.
+
+ - renamed ResourceLoader to ResourceHandle (and same for related classes)
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * bridge/win/FrameWin.cpp:
+ * platform/network/win/ResourceHandleWin.cpp: Added.
+ (WebCore::):
+ (WebCore::addToOutstandingJobs):
+ (WebCore::lookupResourceHandle):
+ (WebCore::ResourceHandleWndProc):
+ (WebCore::ResourceHandle::onHandleCreated):
+ (WebCore::ResourceHandle::onRequestRedirected):
+ (WebCore::ResourceHandle::onRequestComplete):
+ (WebCore::initializeOffScreenResourceHandleWindow):
+ (WebCore::ResourceHandleInternal::~ResourceHandleInternal):
+ (WebCore::ResourceHandle::~ResourceHandle):
+ (WebCore::ResourceHandle::startHTTPRequest):
+ (WebCore::ResourceHandle::start):
+ (WebCore::ResourceHandle::fileLoadTimer):
+ (WebCore::ResourceHandle::cancel):
+ * platform/network/win/ResourceHandleWin.h: Added.
+ * platform/network/win/ResourceLoaderWin.cpp: Removed.
+ * platform/network/win/ResourceLoaderWin.h: Removed.
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::ResourceHandle::assembleResponseHeaders):
+ (WebCore::ResourceHandle::retrieveResponseEncoding):
+ (IconLoader::receivedResponse):
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::start):
+ (WebCore::PluginStreamWin::deliverData):
+ (WebCore::PluginStreamWin::receivedResponse):
+ (WebCore::PluginStreamWin::didReceiveData):
+ (WebCore::PluginStreamWin::receivedAllData):
+ * plugins/win/PluginStreamWin.h:
+
+2006-10-28 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj: Adding new HitTestResult.{cpp,h}
+ files.
+
+2006-10-27 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Oliver.
+
+ <rdar://problem/4730678> Plug-ins should be able to open URLs
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::performRequest):
+
+2006-10-26 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by John Sullivan.
+
+ <rdar://problem/4764502> PluginStreams should cancel their loader jobs on error
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::receivedResponse):
+ (WebCore::PluginStreamWin::didReceiveData):
+ (WebCore::PluginStreamWin::receivedAllData):
+ Modify assertions. None of the above functions should be run after aborting the load.
+
+2006-10-26 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::addPluginPath):
+ (WebCore::PluginDatabaseWin::defaultPluginPaths):
+ Look for plugins in a plugins directory which is relative to the executable directory.
+
+ (WebCore::PluginDatabaseWin::createPluginView):
+ Use reverseFind instead of findRev here.
+
+2006-10-26 Adam Roben <aroben@apple.com>
+
+ Reviewed by Beth.
+
+ Fix: <rdar://problem/4799084> Text and dropdown button too close
+ together in <select>s
+ Fix: <rdar://problem/4800493> Popup menus should be positioned so that
+ their text is horizontally aligned with the <select> control's text
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::calculatePositionAndSize): Switch alignment of LTR
+ vs. RTL popups, and add padding to align the text.
+ (WebCore::PopupMenu::paint): Add padding from the <select> control to
+ align the text with the <select> control's text.
+ * rendering/RenderThemeWin.cpp: Set svn:eol-style native.
+ (WebCore::RenderThemeWin::systemFont): Clean up line endings.
+ (WebCore::RenderThemeWin::adjustMenuListButtonStyle): Add some extra
+ padding between the dropdown button and text.
+ (WebCore::RenderThemeWin::paintMenuListButton): Clean up code a bit.
+
+2006-10-26 Adam Roben <aroben@apple.com>
+
+ Forgot to make the change to Release as well in my last checkin.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-10-26 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by Steve.
+
+ Add some missing '/d' flags to xcopy calls to only copy headers if
+ they've been modified.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-10-26 Anders Carlsson <acarlsson@apple.com>
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (GraphicsContext::drawLineForMisspellingOrBadGrammar):
+ Build fix from Oliver.
+
+2006-10-26 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ Use FrameLoadRequest and ResourceRequest instead of passing around
+ the individual components.
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::PluginStreamWin):
+ (WebCore::PluginStreamWin::start):
+ (WebCore::PluginStreamWin::destroyStream):
+ * plugins/win/PluginStreamWin.h:
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginRequestWin::PluginRequestWin):
+ (WebCore::PluginRequestWin::frameLoadRequest):
+ (WebCore::PluginViewWin::start):
+ (WebCore::PluginViewWin::performRequest):
+ (WebCore::PluginViewWin::load):
+ (WebCore::PluginViewWin::getURLNotify):
+ (WebCore::PluginViewWin::getURL):
+ (WebCore::PluginViewWin::handlePost):
+ * plugins/win/PluginViewWin.h:
+
+2006-10-26 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ Fix: <rdar://problem/4794162> Implement type-ahead find for popup menus
+ Fix: <rdar://problem/4800486> Pressing TAB while a popup is focused
+ should close the popup and move selection in the page
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::PopupMenu): Don't cache the focused index.
+ (WebCore::PopupMenu::focusedIndex): Always get the focused index from
+ the HTMLSelectElement.
+ (WebCore::PopupMenu::setFocusedIndex): Invalidate before calling
+ valueChanged(), as this will change the result of focusedIndex().
+ (WebCore::PopupMenu::scrollToRevealSelection):
+ (WebCore::PopupMenu::updateFromElement): New method to repaint/rescroll
+ the popup.
+ (WebCore::PopupWndProc): Send TAB keypresses and printable characters
+ back to the WebView for handling. Also omove handling of Return/Escape
+ into the WM_CHAR event, as this is recommended by MSDN.
+
+2006-10-25 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Darin.
+
+ Checked in Luke's CG printing code
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::setupRootForPrinting): Added
+ (WebCore::FrameWin::computePageRects): Added
+ * bridge/win/FrameWin.h: Added setupRootForPrinting, computePageRects
+
+2006-10-24 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Oliver.
+
+ - updated for ResourceRequest changes.
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::setRequestHeaders):
+ * plugins/win/PluginStreamWin.h:
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::loadURL):
+ (WebCore::parseRFC822HeaderFields):
+ (WebCore::PluginViewWin::handlePost):
+ * plugins/win/PluginViewWin.h:
+
+2006-10-24 Steve Falkenburg <sfalken@apple.com>
+
+ Build fix for official builds
+
+ * WebCore.vcproj/WebCore.make:
+
+2006-10-24 Steve Falkenburg <sfalken@apple.com>
+
+ Fix build so it can be submitted.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.vcproj/merge-opensource.sh:
+ * rendering/RenderThemeWin.cpp:
+
+2006-10-24 Geoffrey Garen <ggaren@apple.com>
+
+ Rolling back in, now fixed:
+
+ Nixed a few more redundant loading functions in Frame.
+
+ * bridge/win/FrameWin.h:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::shouldInterruptJavaScript):
+ (FrameWin::lastEventIsMouseUp):
+
+2006-10-24 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Geoff.
+
+ - update for ResourceLoader API changes
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::ServeSynchronousRequest):
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::start):
+ (WebCore::PluginStreamWin::receivedAllData):
+ * plugins/win/PluginStreamWin.h:
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::performRequest):
+
+2006-10-24 Geoffrey Garen <ggaren@apple.com>
+
+ Rolling out my last change because it broke the world.
+
+ * bridge/win/FrameWin.h:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::openURL):
+
+2006-10-24 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://problem/4760429> Crash in PluginStreamWin::~PluginStreamWin when
+ navigating away from mcdonalds.com
+
+ * plugins/win/PluginPackageWin.cpp:
+ (WebCore::PluginPackageWin::fetchInfo):
+ Use fastFree instead of free when memory is allocated by fastMalloc.
+ If the plugin name or description is null, don't try to fetch info about the plugin.
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::setRequestHeaders):
+ (WebCore::PluginStreamWin::start):
+ (WebCore::PluginStreamWin::stop):
+ * plugins/win/PluginStreamWin.h:
+ Change type of header map to ResourceRequest::HTTPHeaderMap. When a plugin is stopped,
+ set its state to StreamStopped.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::loadURL):
+ (WebCore::parseRFC822HeaderFields):
+ (WebCore::PluginViewWin::handlePost):
+ * plugins/win/PluginViewWin.h:
+ Update for type changes to the header map.
+
+2006-10-24 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Anders.
+
+ Nixed a few more redundant loading functions in Frame.
+
+ * bridge/win/FrameWin.h:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::shouldInterruptJavaScript):
+ (FrameWin::lastEventIsMouseUp):
+
+2006-10-23 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Bradee.
+
+ Removed methods from BrowserExtension.
+
+ * bridge/win/FrameWin.h:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::canPaste):
+ (FrameWin::canGoBackOrForward):
+ (FrameWin::goBackOrForward):
+ (FrameWin::getHistoryLength):
+ (FrameWin::historyURL):
+ (Page::canRunModal):
+ (Page::canRunModalNow):
+ (Page::runModal):
+ (BrowserExtensionWin::BrowserExtensionWin):
+
+2006-10-23 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ Fix: <rdar://problem/4796994> Styled <select>s should still use Windows
+ theme
+
+ The fix is to do most of our drawing for menulists in
+ RenderThemeWin::paintMenuListButton (which is called for styled
+ <select>s), and then do any extra drawing for unstyled <select>s in
+ RenderThemeWin::paintMenuList.
+
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::RenderThemeWin::getThemeData): Case for
+ MenulistButtonAppearance should be the same as MenulistAppearance.
+ (WebCore::RenderThemeWin::paintMenuList): Draw the border, then defer
+ to paintMenuListButton to handle the rest of painting.
+ (WebCore::RenderThemeWin::adjustMenuListStyle): Reset the border so we
+ can draw our own, then defer to adjustMenuListStyle.
+ (WebCore::RenderThemeWin::adjustMenuListButtonStyle): Code moved from
+ adjustMenuListStyle, less the call to resetBorder().
+ (WebCore::RenderThemeWin::paintMenuListButton): Code moved from
+ paintMenuList, less the border-drawing code.
+ * rendering/RenderThemeWin.h:
+
+2006-10-23 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ Fix: <rdar://problem/4786759> PageUp/PageDown/Home/End don't work in
+ <select> menus
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::setFocusedIndex): Only call ::UpdateWindow if we
+ didn't scroll, because scrolling will do the update for us.
+ (WebCore::PopupMenu::focusFirst): New method.
+ (WebCore::PopupMenu::focusLast): New method.
+ (WebCore::PopupMenu::down): Add a parameter to specify how far we
+ should try to move the selection.
+ (WebCore::PopupMenu::up): Ditto.
+ (WebCore::PopupMenu::invalidateItem): Cleanup code by using IntRect
+ instead of RECT.
+ (WebCore::PopupMenu::scrollTo): Return a boolean to say whether
+ scrolling actually happened.
+ (WebCore::PopupMenu::scrollToRevealSelection): Ditto.
+ (WebCore::PopupWndProc): Handle PageUp/PageDown/Home/End.
+
+2006-10-23 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj: Copy headers from new platform/network
+ directory and subdirectories.
+
+2006-10-23 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * plugins/win/PluginStreamWin.h: Rename methods to match Maciej's
+ changes.
+
+2006-10-23 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj: Copied AdditionalIncludeDirectories
+ from Release to All Configurations.
+
+2006-10-23 Maciej Stachowiak <mjs@apple.com>
+
+ Rubber-stamped by Anders.
+
+ - fixed for ResourceLoader refactoring.
+
+ * platform/network/win/ResourceLoaderWin.cpp:
+ (WebCore::ResourceLoader::onRequestComplete):
+ (WebCore::ResourceLoader::fileLoadTimer):
+ (WebCore::ResourceLoader::cancel):
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::didReceiveData):
+ (WebCore::PluginStreamWin::didFinishLoading):
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::performRequest):
+
+2006-10-22 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Anders.
+
+ - updated for new ResourceLoader file locations.
+
+ * WebCore.vcproj/WebCore.vcproj: Updated file paths.
+ * platform/win/ResourceLoaderWin.cpp: Moved to platform/network/win
+ * platform/win/ResourceLoaderWin.h: ditto
+
+2006-10-22 Adam Roben <aroben@apple.com>
+
+ Reviewed by Steve.
+
+ Fix some crashes caused by the <select> element being detached while
+ the popup is open.
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupWndProc):
+
+2006-10-21 Adam Roben <aroben@apple.com>
+
+ Reviewed by Anders.
+
+ Fix: <rdar://problem/4794151> Popup should scroll to reveal selected
+ item, not just one line at a time
+ Fix: <rdar://problem/4794229> Popup hot-tracking should not change text
+ in <select> control
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::calculatePositionAndSize): Cleaned up code by
+ translating into screen coordinates right away.
+ (WebCore::PopupMenu::setFocusedIndex): Added parameter to specify
+ whether the text in the <select> control should be updated.
+ (WebCore::PopupMenu::scrollTo): Extracted scrolling code from
+ PopupWndProc to here.
+ (WebCore::PopupMenu::scrollToRevealSelection): New method.
+ (WebCore::PopupWndProc): Use scrollToRevealSelection() instead of
+ manually scrolling one line at a time. Fixed a bug in detecting a
+ mouse drag. Pass in HDC from ::BeginPaint to PopupMenu::paint.
+
+2006-10-21 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * WebCore.vcproj/WebCore.vcproj: Add new DeleteButton* files to
+ project.
+
+2006-10-20 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Anders.
+
+ Turn on CFNetwork
+
+ * config.h:
+
+2006-10-20 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Ada.
+
+ <rdar://4778502> Boomer userAgent string needs to support pulling in proper build #, plus customization
+
+ Useragent/versioning changes
+
+ Stamp auto-generated version number into DLL and into user agent.
+ Generate a real user agent string instead of hardcoding one.
+ Support client supplying an application name for the user agent.
+ Support client overriding the useragent (for debug menu).
+ Support per-URL user agents (not used at least for now).
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::userAgent): Now calls userAgentForURL
+ (WebCore::FrameWin::originalRequestURL): Implemented
+ * bridge/win/FrameWin.h: changed userAgent to userAgentForURL, added originalRequestURL
+ * platform/win/TemporaryLinkStubs.cpp: Removed originalRequestURL
+
+2006-10-20 Alice Liu <alice.liu@apple.com>
+
+ Reviewed by Steve.
+
+ Adding knowledge of the Editor and EditorClient to Windows WebCore
+
+ No layout tests needed
+
+ * WebCore.vcproj/WebCore.vcproj:
+ added Sound.h, SoundWin.cpp, EditorClient.h, Editor.h&.cpp
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::FrameWin):
+ added client to constructor params
+
+ * bridge/win/FrameWin.h:
+ added client to constructor params
+
+ * platform/win/SoundWin.cpp: Added.
+ (WebCore::systemBeep):
+ Calls windows system beep
+
+2006-10-19 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Adam.
+
+ <rdar://4771958> Holding down Ctrl when a redirect happens opens the redirected page in a new tab
+
+ Send triggering event to url selection.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::urlSelected): Add triggeringEvent parameter
+ * bridge/win/FrameWin.h: Add triggeringEvent parameter
+ * platform/win/PlatformMouseEventWin.cpp:
+ (WebCore::PlatformMouseEvent::PlatformMouseEvent): Call GetKeyState instead of GetAsyncKeyState
+ * platform/win/WheelEventWin.cpp:
+ (WebCore::PlatformWheelEvent::PlatformWheelEvent): Call GetKeyState instead of GetAsyncKeyState
+
+2006-10-19 Adam Roben <aroben@apple.com>
+
+ Reviewed by Ada.
+
+ This is a partial reimplementation of PopupMenu for Windows. The old
+ implementation used the Win32 ListBox control, but as we needed to
+ customize the behavior more and more it began to make sense to roll our
+ own popup from scratch. That is what this patch accomplishes. And...
+
+ Fix: <rdar://problem/4709416>
+ Implement mouse hot-tracking for <select> menus
+ Fix: <rdar://problem/4786763>
+ Can select disabled options in <select> menus using mouse
+ (It was easier to implement these than to leave them broken.)
+
+ * WebCore.vcproj/WebCore.vcproj: Removed PopupMenu.cpp from project.
+ * platform/win/PopupMenuWin.cpp: Carnage. PopupMenu has gained a slew
+ of new private instance variables to maintain the window state.
+ m_container has been removed as it is no longer needed.
+ (WebCore::PopupMenu::PopupMenu): Initialize new variables.
+ (WebCore::PopupMenu::~PopupMenu): Clean up new variables.
+ (WebCore::PopupMenu::show): Now that we don't have m_container, m_popup
+ gets the WS_BORDER and WS_POPUP styles. Also moved code to animate the
+ window out of the old PopupMenu::setPositionAndSize() into this method
+ since it fits the purpose of this method better.
+ (WebCore::PopupMenu::hide):
+ (WebCore::PopupMenu::calculatePositionAndSize): Renamed from
+ setPositionAndSize(), as this method no longer actually sets the window
+ position and size, just calculates it. It also now makes sure the
+ window is sized to never show partial items, and takes into account the
+ window's border when calculating the size.
+ (WebCore::PopupMenu::setFocusedIndex): New method to handle setting the
+ selected index of the <select> and highlighting the item in the popup menu.
+ (WebCore::PopupMenu::down): Use setSelectedIndex() to do the dirty work.
+ (WebCore::PopupMenu::up): Ditto.
+ (WebCore::PopupMenu::invalidateItem): New method to invalidate the
+ rectangle in the popup menu for this item.
+ (WebCore::PopupMenu::clientRect): New method to calculate an IntRect
+ for the client area of the window.
+ (WebCore::PopupMenu::incrementWheelDelta): New method to add the wheel
+ delta obtained from a WM_MOUSEWHEEL message to any pre-existing delta.
+ (WebCore::PopupMenu::reduceWheelDelta): New method to reduce the
+ pre-existing wheel delta by a given amount towards 0.
+ (WebCore::PopupMenu::paint): Does the work that PopupMenu::drawItem
+ did, but for every item contained within the damageRect. Can also paint
+ into a passed-in HDC (needed for window animations and smooth-scrolling).
+ (WebCore::registerPopup): Changed a void* to a PopupMenu*, since that's
+ what it really is.
+ (WebCore::PopupWndProc): Added code to handle all the messages any
+ self-respecting window would handle, and removed messages only relevant
+ to the ListBox control.
+ * platform/win/TemporaryLinkStubs.cpp: Removed unneeded #include.
+
+2006-10-19 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by Maciej.
+
+ Build fix.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::submitForm):
+
+2006-10-19 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Steve.
+
+ - speculative build fix for Windows for my recent changes.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::submitForm):
+
+2006-10-19 Anders Carlsson <acarlsson@apple.com>
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::ResourceLoader::retrieveResponseEncoding):
+ Build fix.
+
+2006-10-18 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Geoff.
+
+ - remove remnants of KXMLCore name.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * config.h:
+
+2006-10-18 Steve Falkenburg <sfalken@apple.com>
+
+ Fix build
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (BrowserExtensionWin::historyURL):
+ (BrowserExtensionWin::BrowserExtensionWin):
+
+2006-10-17 Steve Falkenburg <sfalken@apple.com>
+
+ Build fix
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (BrowserExtensionWin::createNewWindow):
+
+2006-10-17 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Anders.
+
+ Added WindowFeatures.h to the project.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-10-17 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Maciej.
+
+ Turn off a very noisy warning (unknown pragma) caused by an Interfacer include
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-10-17 Oliver Hunt <oliver@apple.com>
+
+ Reviewed by Brady.
+
+ Fixed alpha in favicons, added composite operation conversion
+ for cg
+
+ rdar://problem/4758934
+
+ * platform/win/GraphicsContextWin.cpp:
+ (WebCore::GraphicsContext::setCompositeOperation):
+ * platform/win/ImageWin.cpp:
+ (WebCore::Image::getHBITMAP):
+ * platform/win/TemporaryLinkStubs.cpp:
+ (GraphicsContext::drawLineForMisspelling):
+
+2006-10-15 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Adam.
+
+ Added HTMLFrameElementBase to the project.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-10-17 Adam Roben <aroben@apple.com>
+
+ Reviewed by Geoff.
+
+ A couple of cleanups that Geoff suggested after my last checkin.
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::setPositionAndSize):
+
+2006-10-17 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ Fix: <rdar://problem/4772506> <select> popup menu should not clip items
+ when width: is set.
+
+ Popups are now sized and positioned as follows:
+ 1. Popups are at least as wide as the <select> control on the page.
+ 2. Popups for LTR <select>s are right-aligned with the <select>, popups
+ for RTL <select>s are left-aligned. This means the scrollbar in the
+ popup will always line up with the dropdown button in the <select>.
+ 3. Popups try to be wide enough to fit their widest item, but will
+ shrink to ensure they don't extend off the screen.
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::setPositionAndSize):
+
+2006-10-16 Adam Roben <aroben@apple.com>
+
+ Reviewed by Kevin.
+
+ Fix: <rdar://problem/4758923> <select> menu text doesn't draw right
+ aligned on right-to-left sites
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::show): Pass appropriate styles to CreateWindowEx
+ so that we get a left-aligned scrollbar in RTL popups.
+ (WebCore::PopupMenu::drawItem): Set text to be right-aligned and draw
+ RTL when direction:rtl is set.
+ (WebCore::PopupWndProc): Add 1px of vertical height to each menu item
+ to match RenderListBox.
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::RenderThemeWin::paintMenuList): Draw the dropdown button on
+ the left when in RTL.
+ (WebCore::RenderThemeWin::adjustMenuListStyle): Set padding to allow
+ for the dropdown button being on the left in RTL.
+
+2006-10-16 Adam Roben <aroben@apple.com>
+
+ Reviewed by John.
+
+ Forgot to save these changes John suggested before checking in.
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::drawItem):
+
+2006-10-16 Adam Roben <aroben@apple.com>
+
+ Reviewed by John.
+
+ Fix: <rdar://problem/4709480> Implement option groups
+ Fix: <rdar://problem/4785693> Use CG to draw popup menu items
+ Fix: <rdar://problem/4709487> Implement separators in <select> popups
+ Fix: <rdar://problem/4709358> Move CreateWindowEx calls out of PopupMenu constructor
+
+ * platform/win/PopupMenuWin.cpp: Added some now-required #includes,
+ moved some constants into the WebCore namespace.
+ (WebCore::PopupMenu::PopupMenu): Moved CreateWindowEx calls into PopupMenu::show().
+ (WebCore::PopupMenu::show): Pass LBS_OWNERDRAWFIXED to CreateWindowEx
+ to assume responsibility for drawing menu itesm. Removed call to set
+ the font on the popup menu, as CG will take care of this.
+ (WebCore::addString): Added to help with the PopupMenu::add* methods.
+ (WebCore::PopupMenu::addOption): Use addString.
+ (WebCore::PopupMenu::addGroupLabel): Ditto, and moved from TemporaryLinkStubs.cpp.
+ (WebCore::PopupMenu::addSeparator): Ditto.
+ (WebCore::PopupMenu::down): Skip items that are not enabled <option>
+ elements, and tell the popup menu to set the selection to the element
+ we end up on.
+ (WebCore::PopupMenu::up): Ditto.
+ (WebCore::PopupMenu::drawItem): Added. This is the method that is
+ called to draw each item in the menu.
+ (WebCore::PopupWndProc): Add cases for WM_MEASUREITEM and WM_DRAWITEM
+ messages (required now that we're drawing the menu items ourselves). In
+ the cases for arrow key presses, return -2 to signify that we're
+ handling all aspects of changing the selection.
+ * platform/win/TemporaryLinkStubs.cpp: Removed PopupMenu::addSeparator
+ and PopupMenu::addGroupLabel.
+
+2006-10-15 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ Merge OpenSource r17056 to TemporaryLinkStubs.cpp.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (WebCore::CacheObjectExpiresTime):
+ (WebCore::ResponseIsMultipart):
+ (WebCore::ResponseMIMEType):
+ (WebCore::IsResponseURLEqualToURL):
+ (WebCore::ResponseURL):
+ (WebCore::CachedResource::setResponse):
+ (WebCore::CachedResource::setAllData):
+
+2006-10-13 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Darin.
+
+ - split FrameLoadRequest off from ResourceRequest - it's a ResourceRequest plus frame name plus lockHistory bool
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::urlSelected):
+ (WebCore::FrameWin::submitForm):
+ * bridge/win/FrameWin.h:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (BrowserExtensionWin::createNewWindow):
+ (IconLoader::notifyIconChanged):
+
+2006-10-13 Dave Hyatt <hyatt@apple.com>
+
+ Make form controls work inside transparency layers by having
+ them draw into bitmap that is then turned into a CGImageRef
+ and blended into the CG transparency layer.
+
+ Reviewed by aroben
+
+ * platform/cg/GraphicsContextPlatformPrivate.h:
+ (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
+ (WebCore::GraphicsContextPlatformPrivate::beginTransparencyLayer):
+ (WebCore::GraphicsContextPlatformPrivate::endTransparencyLayer):
+ * platform/win/GraphicsContextWin.cpp:
+ (WebCore::GraphicsContext::getWindowsContext):
+ (WebCore::GraphicsContext::releaseWindowsContext):
+ * platform/win/IconWin.cpp:
+ (WebCore::Icon::paint):
+ * platform/win/PlatformScrollBar.h:
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollbar::PlatformScrollbar):
+ (WebCore::PlatformScrollbar::paint):
+ (WebCore::PlatformScrollbar::paintButton):
+ (WebCore::PlatformScrollbar::paintTrack):
+ (WebCore::PlatformScrollbar::paintThumb):
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::RenderThemeWin::RenderThemeWin):
+ (WebCore::drawControl):
+
+2006-10-12 Dave Hyatt <hyatt@apple.com>
+
+ Voting Cairo off the island
+
+ or
+
+ Jeff Probst: "Cairo, the tribe has spoken. It's time for you
+ to go."
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/FontDataWin.cpp:
+ (WebCore::FontData::platformInit):
+ (WebCore::FontData::platformDestroy):
+ (WebCore::FontData::platformWidthForGlyph):
+ * platform/win/FontPlatformData.h:
+ (WebCore::FontPlatformData::FontPlatformData):
+ (WebCore::FontPlatformData::hfont):
+ (WebCore::FontPlatformData::cgFont):
+ (WebCore::FontPlatformData::operator==):
+ * platform/win/FontPlatformDataWin.cpp:
+ * platform/win/FontWin.cpp:
+ (WebCore::Font::drawGlyphs):
+ * platform/win/GraphicsContextWin.cpp:
+ * platform/win/IconWin.cpp:
+ * platform/win/ImageWin.cpp:
+ (WebCore::Image::loadPlatformResource):
+ * platform/win/TemporaryLinkStubs.cpp:
+ (GraphicsContextPlatformPrivate::clip):
+ (GraphicsContext::drawLineForMisspelling):
+
+2006-10-12 Adele Peterson <adele@apple.com>
+
+ RS by Geoff.
+
+ Renamed uploadControlDetaching to disconnectUploadControl.
+
+ * platform/win/FileChooserWin.cpp:
+ (WebCore::FileChooser::disconnectUploadControl):
+
+2006-10-12 Adele Peterson <adele@apple.com>
+
+ Reviewed by Alice.
+
+ Fixed a small oversight from the last checkin. The populate method was calling itself,
+ instead of the newly renamed addItems method.
+
+ * platform/win/PopupMenuWin.cpp:
+ (WebCore::PopupMenu::populate):
+
+2006-10-12 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ Move popup menu code out of rendering/ and into platform/.
+ RenderPopupMenu becomes PopupMenu, the
+ RenderPopupMenuMac/RenderPopupMenuWin subclasses and all the associated
+ virtual methods go away, RenderTheme gets to stop worrying about popup
+ menus, PopupMenu becomes ref-counted, and everyone becomes happy.
+
+ Also fixes <rdar://problem/4710456> Get rid of RenderPopupMenu{Win,Mac}
+ classes.
+
+ * WebCore.vcproj/WebCore.vcproj: Move files within project.
+ * platform/win/PopupMenuWin.cpp: Moved from
+ rendering/RenderPopupMenuWin.cpp. Rename RenderPopupMenuWin to
+ PopupMenu.
+ (WebCore::PopupMenu::PopupMenu):
+ (WebCore::PopupMenu::~PopupMenu):
+ (WebCore::PopupMenu::clear):
+ (WebCore::PopupMenu::populate):
+ (WebCore::PopupMenu::show):
+ (WebCore::PopupMenu::hide):
+ (WebCore::PopupMenu::setPositionAndSize):
+ (WebCore::PopupMenu::addOption):
+ (WebCore::PopupMenu::focusedIndex): New method to get the index of the
+ element that is currently highlighted. This won't always be the same as
+ the selectedIndex because of mouse hot-tracking.
+ (WebCore::PopupMenu::down):
+ (WebCore::PopupMenu::up):
+ (WebCore::registerPopup):
+ (WebCore::PopupWndProc): Use focusedIndex() instead of sending messages
+ to the popup window.
+ * platform/win/TemporaryLinkStubs.cpp: Rename RenderPopupMenuWin to PopupMenu.
+ (PopupMenu::addSeparator):
+ (PopupMenu::addGroupLabel):
+ * rendering/RenderPopupMenuWin.cpp: Removed.
+ * rendering/RenderPopupMenuWin.h: Removed.
+ * rendering/RenderThemeWin.cpp: Get rid of createPopupMenu() method.
+ * rendering/RenderThemeWin.h: Ditto.
+
+2006-10-12 Dave Hyatt <hyatt@apple.com>
+
+ Implement full-blown double buffering (keeping a bitmap in the WebView that holds the backing store for it).
+
+ Reviewed by mjs
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::addToDirtyRegion):
+ (WebCore::FrameWin::scrollBackingStore):
+ (WebCore::FrameWin::updateBackingStore):
+ * bridge/win/FrameWin.h:
+ * platform/win/PlatformScrollBar.h:
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollbar::windowClipRect):
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::ScrollViewPrivate::valueChanged):
+ (WebCore::ScrollView::ScrollViewPrivate::windowClipRect):
+ (WebCore::ScrollView::updateContents):
+ (WebCore::ScrollView::updateScrollbars):
+ (WebCore::ScrollView::windowResizerRect):
+ (WebCore::ScrollView::addToDirtyRegion):
+ (WebCore::ScrollView::scrollBackingStore):
+ (WebCore::ScrollView::updateBackingStore):
+ * platform/win/WidgetWin.cpp:
+ (WebCore::Widget::suppressInvalidation):
+ (WebCore::Widget::invalidateRect):
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::windowClipRect):
+
+2006-10-11 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by Brady.
+
+ Clean up logic in Icon::newIconForFile.
+
+ * platform/win/IconWin.cpp:
+ (WebCore::Icon::newIconForFile): Error case should return early.
+
+2006-10-11 Adam Roben <aroben@apple.com>
+
+ Reviewed by Steve.
+
+ Fixes <rdar://problem/4777719>
+ Icons don't paint with CG
+
+ * platform/win/IconWin.cpp:
+ (WebCore::Icon::paint): Remove Cairo-specific code now that we have
+ GraphicsContextWin.
+
+2006-10-11 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by Anders.
+
+ Clean up FileChooser::create, Icon::create.
+
+ * platform/win/FileChooserWin.cpp:
+ (WebCore::FileChooser::create): Just return a FileChooser* and let the
+ implicit cast happen.
+ * platform/win/IconWin.cpp:
+ (WebCore::Icon::newIconForFile): Ditto for Icon*.
+
+2006-10-10 Adam Roben <aroben@apple.com>
+
+ Reviewed by Oliver.
+
+ Fixes <rdar://problem/4731316>
+ Crash when <input type="file"> element removed while file chooser is open
+
+ * platform/win/FileChooserWin.cpp: Make FileChooser ref-counted.
+ (WebCore::FileChooser::create):
+ (WebCore::FileChooser::openFileChooser): Add a protector RefPtr around
+ the call to GetOpenFileName so we don't get deleted while the file
+ chooser window is open.
+
+2006-10-10 Adam Roben <aroben@apple.com>
+
+ Reviewed by Anders.
+
+ Fixes <rdar://problem/4772428>
+ <select> popup menus positioned incorrectly within frames
+
+ * rendering/RenderPopupMenuWin.cpp:
+ (WebCore::RenderPopupMenuWin::setPositionAndSize): Use
+ contentsToWindow() instead of scrollOffset() to correct menu location.
+
+2006-10-10 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ Fixes <rdar://problem/4763246>
+ Using arrow keys in <select> popup fires onChange event
+
+ Also updates text shown in <select> element on page when using arrow
+ keys to change selection within the popup menu, and makes onChange fire
+ in the same cases as Firefox/IE.
+
+ * rendering/RenderPopupMenuWin.cpp:
+ (WebCore::RenderPopupMenuWin::down): Update text of the <select>
+ control. Change call to valueChanged() so that onChange doesn't fire.
+ (WebCore::RenderPopupMenuWin::up): Ditto.
+ (WebCore::PopupWndProc): Don't fire onChange anytime selection changes.
+ Fire onChange when pressing Enter
+
+2006-10-09 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Maciej.
+
+ Fix <rdar://problem/4756255>
+ PDF/Acrobat Reader plugin don't work
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::getObjectInstanceForWidget):
+ (WebCore::FrameWin::getEmbedInstanceForWidget):
+ Implement these, getting the instance from the plugin view.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ Remove functions that are now implemented.
+
+ * plugins/win/PlugInInfoStoreWin.cpp:
+ (WebCore::PlugInInfoStore::pluginCount):
+ (WebCore::PlugInInfoStore::supportsMIMEType):
+ Implement this, returning whether we a plugin exists for a given mime type.
+
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::parseVersionString):
+ (WebCore::compareVersions):
+ New functions for handling versions.
+
+ (WebCore::addMozillaPluginPaths):
+ (WebCore::addWindowsMediaPlayerPluginPath):
+ (WebCore::addQuickTimePluginPath):
+ (WebCore::addJavaPluginPath):
+ (WebCore::addAdobeAcrobatPluginPath):
+ (WebCore::PluginDatabaseWin::defaultPluginPaths):
+ Factor out checks into separate functions, add checks for Java and Adobe Acrobat.
+
+ (WebCore::PluginDatabaseWin::isMIMETypeRegistered):
+ Handle null MIME types.
+
+ * plugins/win/PluginPackageWin.cpp:
+ (WebCore::PluginPackageWin::load):
+ Add some missing functions. Unload the library if the load failed.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::getValue):
+ Uncomment code for getting the element object.
+
+ (WebCore::PluginViewWin::bindingInstance):
+ * plugins/win/PluginViewWin.h:
+ New function which fetches the plugin NPObject and wraps it in an instance.
+
+2006-10-09 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Steve.
+
+ Fix <rdar://problem/4773320>
+ Safari didn't pick up quicktime that was already installed
+
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::PluginDatabaseWin::defaultPluginPaths):
+
+2006-10-09 Anders Carlsson <acarlsson@apple.com>
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * bridge/win/FrameWin.h:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::createJavaAppletWidget):
+ Fix build.
+
+2006-10-09 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ Fixes <rdar://problem/4773142>
+ Crash in Settings::mediumFontSize() on ebay.com
+
+ Call cancelAndClear() from ~FrameWin (just like Mac does) so we don't
+ end up calling the Frame::saveDocumentState, which is pure virtual.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::~FrameWin):
+
+2006-10-08 Adam Roben <aroben@apple.com>
+
+ Reviewed by Maciej.
+
+ Port of OpenSource r16526, r16528
+
+ Break up ResourceLoaderWndProc into callback functions.
+
+ * platform/win/ResourceLoaderWin.cpp: Fix up #includes
+ (WebCore::): Remove loadStatusMessage, struct JobLoadStatus, add
+ messageHandlers array.
+ (WebCore::ResourceLoaderWndProc): Split handling of different messages
+ into callbacks.
+ (WebCore::ResourceLoader::onHandleCreated): New callback.
+ (WebCore::ResourceLoader::onRequestRedirected): New callback.
+ (WebCore::ResourceLoader::onRequestComplete): New callback.
+ (WebCore::initializeOffScreenResourceLoaderWindow): No need to register
+ loadStatusMessage anymore.
+ (WebCore::transferJobStatusCallback): Change how information is passed
+ into ResourceLoaderWndProc.
+
+2006-10-08 Dave Hyatt <hyatt@apple.com>
+
+ Add support for the Win2k/Classic theme for all controls.
+
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::RenderThemeWin::buttonTheme):
+ (WebCore::RenderThemeWin::textFieldTheme):
+ (WebCore::RenderThemeWin::menuListTheme):
+ (WebCore::RenderThemeWin::supportsHover):
+ (WebCore::RenderThemeWin::determineClassicState):
+ (WebCore::RenderThemeWin::getClassicThemeData):
+ (WebCore::RenderThemeWin::getThemeData):
+ (WebCore::drawControl):
+ (WebCore::RenderThemeWin::paintButton):
+ (WebCore::RenderThemeWin::paintTextField):
+ (WebCore::RenderThemeWin::paintMenuList):
+ * rendering/RenderThemeWin.h:
+ (WebCore::ThemeData::m_state):
+
+2006-10-07 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Adam.
+
+ Fix <rdar://4772205> Regression (r10623): WinInet loader doesn't ever write to the cache.
+
+ * platform/win/ResourceLoaderWin.cpp:
+ (WebCore::ResourceLoaderWndProc): Apply POST related flags only for posts.
+ (WebCore::ResourceLoader::startHTTPRequest): Don't add no-cache-write flag to non-post transactions.
+
+2006-10-07 Dave Hyatt <hyatt@apple.com>
+
+ Add code to paint the Windows 2000 and "Windows Classic" theme look for scrollbars.
+
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollbar::paintButton):
+ (WebCore::PlatformScrollbar::paintTrack):
+ (WebCore::PlatformScrollbar::paintThumb):
+ (WebCore::PlatformScrollbar::paintGripper):
+
+2006-10-07 Dave Hyatt <hyatt@apple.com>
+
+ Make sure frames and iframes honor scrolling="no" and
+ margins.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::createFrame):
+
+2006-10-07 Dave Hyatt <hyatt@apple.com>
+
+ Fix the resizer rect so that it is in the ScrollView's coordinate space and not in the document's coordinate space.
+ (Fixes all the layout errors with the scrollbar overlapping the resizer.)
+
+ Fill scroll corners with white, since it matches Mac (and our chosen resizer look) and looks nicer anyway.
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::updateScrollbars):
+ (WebCore::ScrollView::paint):
+
+2006-10-06 Dave Hyatt <hyatt@apple.com>
+
+ Make sure to update plugin clip regions when scrollbars come and go on a scrollview.
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::updateScrollbars):
+
+2006-10-06 Dave Hyatt <hyatt@apple.com>
+
+ Revise the cached clip rect so that it is in the HWND's coordinate space. This way SetWindowRgn
+ doesn't get wastefully called when the plugin is scrolled.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::updateHwnd):
+
+2006-10-06 Dave Hyatt <hyatt@apple.com>
+
+ Implement flawless clipping of windowed plugins, including
+ respecting nested frames, CSS overflow and CSS clip. (This
+ puts Boomer way ahead of Mac as far as plugin clipping is
+ concerned).
+
+ Implement support for correct blitting of scrolled subframes,
+ even when clipped by enclosing scrollviews.
+
+ Fix a crash caused by focused children not being cleaned up
+ when they are removed from a scrollview.
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::ScrollViewPrivate::valueChanged):
+ (WebCore::ScrollView::setFrameGeometry):
+ (WebCore::ScrollView::addChild):
+ (WebCore::ScrollView::removeChild):
+ (WebCore::ScrollView::geometryChanged):
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::updateHwnd):
+ (WebCore::PluginViewWin::windowClipRect):
+ (WebCore::PluginViewWin::setFrameGeometry):
+ (WebCore::PluginViewWin::geometryChanged):
+ * plugins/win/PluginViewWin.h:
+
+2006-10-06 Geoffrey Garen <ggaren@apple.com>
+
+ Fixed <rdar://4768789> Crash on ebay.com in Frame::didOpenURL
+
+ The issue was a resource loader making a callback to a
+ frame after the frame had been destroyed. This doesn't happen on Mac
+ because Mac WebKit cancels all loads before tearing down frames.
+
+ The solution is to add a callback to Win WebKit to allow a frame
+ to cancel its main resource load. This is a temporary work-around.
+ It is temporary because it doesn't address pending subresource loads.
+ The long-term solution we anticipate is to have a legitimate loader
+ inside WebCore.
+
+ * ChangeLog:
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::~FrameWin):
+ * bridge/win/FrameWin.h:
+
+2006-10-06 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Adam, Lou.
+
+ Resizer fixes.
+ We now properly invalidate and draw overlapping contents or opaque.
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::ScrollViewPrivate::ScrollViewPrivate):
+ (WebCore::ScrollView::updateScrollbars):
+ (WebCore::ScrollView::resizerOverlapsContent):
+
+2006-10-06 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::PluginDatabaseWin::defaultPluginPaths):
+ Add (commented out) WMP plugin check.
+
+2006-10-06 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Brady and Geoff.
+
+ <rdar://problems/4769023>
+ Crash on cnettv.com - PluginStreamWin::receivedResponse
+
+ * platform/win/ResourceLoaderWin.cpp:
+ (WebCore::ResourceLoaderWndProc):
+ If the Content-Type header is missing, try to figure o ut the content type
+ from the file extension. Failing that, just use "application/octet-stream".
+
+2006-10-06 Adam Roben <aroben@apple.com>
+
+ Reviewed by Maciej.
+
+ Some loader improvements, courtesy of Steve.
+
+ Functionally, the improvements are these:
+ 1. Support HTTP Authentication
+ 2. Respect WinInet errors better
+
+ There are also some general code cleanups, like extracting the creation
+ of an HTTP request into its own method.
+
+ * platform/win/ResourceLoaderWin.cpp: Add dwError field to
+ JobLoadStatus to store WinInet error codes. Also removed the
+ globalInternetHandle() function as the global HINTERNET is now only
+ needed within startHTTPRequest.
+ (WebCore::ResourceLoaderWndProc): Respect error codes and add HTTP
+ Authentication support. Also, process HTTP status codes as ints instead
+ of strings.
+ (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal): Cleanup
+ m_formData
+ (WebCore::transferJobStatusCallback): Cleanup the code, and set
+ dwError.
+ (WebCore::ResourceLoader::startHTTPRequest): New method to start a new
+ HTTP request.
+ (WebCore::ResourceLoader::start): Restructure code.
+
+2006-10-06 Dave Hyatt <hyatt@apple.com>
+
+ Fix the plugins on cnn.com. Don't let the scroll view move child plugins around if it hasn't even been parented yet.
+
+ Fix an assert in widget destructors caused by not unparenting a ScrollView's scrollbars in its destructor.
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::ScrollViewPrivate::~ScrollViewPrivate):
+ (WebCore::ScrollView::setFrameGeometry):
+
+2006-10-06 Dave Hyatt <hyatt@apple.com>
+
+ Make sure that plugin windows get properly moved if an ancestor scrollview is shifted without changing its size (meaning
+ that layout doesn't get called on the scrollview to update the widget positions).
+
+ Fixes the plugins on osnews.com.
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::setFrameGeometry):
+
+2006-10-05 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by aroben.
+
+ Scrollbars now dodge resizing gripper.
+
+ * bridge/win/FrameViewWin.cpp:
+ (WebCore::FrameView::windowResizerRect): added.
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::windowResizerRect): added.
+ * bridge/win/FrameWin.h:
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::updateScrollbars): Scrollbars now dodge resizing gripper.
+
+2006-10-05 Dave Hyatt <hyatt@apple.com>
+
+ Fix a bug where scrollbars would incorrectly show up for iframes when they weren't needed.
+ Change the flow of control to be more like Mac.
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::resizeContents):
+ (WebCore::ScrollView::setFrameGeometry):
+
+2006-10-05 Dave Hyatt <hyatt@apple.com>
+
+ Fix clipping and transforms by making sure to propagate them as they happen on the CGContext over into the HDC.
+
+ * platform/cg/GraphicsContextPlatformPrivate.h:
+ * platform/win/GraphicsContextWin.cpp:
+ (WebCore::CGContextWithHDC):
+ (WebCore::GraphicsContext::getWindowsContext):
+ (WebCore::GraphicsContext::releaseWindowsContext):
+ (WebCore::GraphicsContextPlatformPrivate::save):
+ (WebCore::GraphicsContextPlatformPrivate::restore):
+ (WebCore::GraphicsContextPlatformPrivate::clip):
+ (WebCore::GraphicsContextPlatformPrivate::scale):
+ (WebCore::GraphicsContextPlatformPrivate::rotate):
+ (WebCore::GraphicsContextPlatformPrivate::translate):
+ (WebCore::GraphicsContextPlatformPrivate::concatCTM):
+ * platform/win/TemporaryLinkStubs.cpp:
+ (GraphicsContextPlatformPrivate::clip):
+
+2006-10-05 Geoffrey Garen <ggaren@apple.com>
+
+ build fix.
+
+ * platform/win/WidgetWin.cpp:
+ (WebCore::Widget::~Widget):
+ (WebCore::Widget::setParent):
+ (WebCore::Widget::parent):
+ (WebCore::Widget::removeFromParent):
+
+2006-10-05 David Hyatt <hyatt@apple.com>
+
+ Stub out GraphicsContextPlatformPrivate methods so that the HDC can
+ be updated when clips/transforms are applied.
+
+ Reviewed by darin
+
+ * platform/cg/GraphicsContextPlatformPrivate.h:
+ (WebCore::GraphicsContextPlatformPrivate::save):
+ (WebCore::GraphicsContextPlatformPrivate::restore):
+ (WebCore::GraphicsContextPlatformPrivate::clip):
+ (WebCore::GraphicsContextPlatformPrivate::scale):
+ (WebCore::GraphicsContextPlatformPrivate::rotate):
+ (WebCore::GraphicsContextPlatformPrivate::translate):
+ (WebCore::GraphicsContextPlatformPrivate::concatCTM):
+
+2006-10-05 Adam Roben <aroben@apple.com>
+
+ Build fix.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (BrowserExtensionWin::BrowserExtensionWin): Change Frame* to FrameWin*
+
+2006-10-05 Adam Roben <aroben@apple.com>
+
+ Build fix. Remove RenderImageButton.{h,cpp}.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-10-05 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Darin.
+
+ Fixed <rdar://problem/4766987>
+
+ - renamed ScrollBar to Scrollbar and scroll bar to scrollbar in every case
+ except for file names.
+
+ - fixed RenderLayer to properly tear down scrollbars, removing them from
+ their parents.
+
+ * bridge/win/FrameViewWin.cpp:
+ (WebCore::FrameView::passMousePressEventToScrollbar):
+ * platform/win/PlatformScrollBar.h:
+ (WebCore::):
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollbar::PlatformScrollbar):
+ (WebCore::PlatformScrollbar::~PlatformScrollbar):
+ (WebCore::PlatformScrollbar::updateThumbPosition):
+ (WebCore::PlatformScrollbar::updateThumbProportion):
+ (WebCore::PlatformScrollbar::invalidateTrack):
+ (WebCore::PlatformScrollbar::invalidatePart):
+ (WebCore::PlatformScrollbar::width):
+ (WebCore::PlatformScrollbar::height):
+ (WebCore::PlatformScrollbar::setRect):
+ (WebCore::PlatformScrollbar::setEnabled):
+ (WebCore::PlatformScrollbar::paint):
+ (WebCore::PlatformScrollbar::backButtonRect):
+ (WebCore::PlatformScrollbar::forwardButtonRect):
+ (WebCore::PlatformScrollbar::trackRect):
+ (WebCore::PlatformScrollbar::thumbRect):
+ (WebCore::PlatformScrollbar::gripperRect):
+ (WebCore::PlatformScrollbar::splitTrack):
+ (WebCore::PlatformScrollbar::thumbPosition):
+ (WebCore::PlatformScrollbar::thumbLength):
+ (WebCore::PlatformScrollbar::trackLength):
+ (WebCore::PlatformScrollbar::paintButton):
+ (WebCore::PlatformScrollbar::paintTrack):
+ (WebCore::PlatformScrollbar::paintThumb):
+ (WebCore::PlatformScrollbar::paintGripper):
+ (WebCore::PlatformScrollbar::hitTest):
+ (WebCore::PlatformScrollbar::handleMouseMoveEvent):
+ (WebCore::PlatformScrollbar::handleMouseOutEvent):
+ (WebCore::PlatformScrollbar::handleMousePressEvent):
+ (WebCore::PlatformScrollbar::handleMouseReleaseEvent):
+ (WebCore::PlatformScrollbar::startTimerIfNeeded):
+ (WebCore::PlatformScrollbar::stopTimerIfNeeded):
+ (WebCore::PlatformScrollbar::autoscrollPressedPart):
+ (WebCore::PlatformScrollbar::autoscrollTimerFired):
+ (WebCore::PlatformScrollbar::pressedPartScrollDirection):
+ (WebCore::PlatformScrollbar::pressedPartScrollGranularity):
+ (WebCore::PlatformScrollbar::thumbUnderMouse):
+ (WebCore::PlatformScrollbar::themeChanged):
+ (WebCore::PlatformScrollbar::horizontalScrollbarHeight):
+ (WebCore::PlatformScrollbar::verticalScrollbarWidth):
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::ScrollViewPrivate::ScrollViewPrivate):
+ (WebCore::ScrollView::ScrollViewPrivate::setHasHorizontalScrollbar):
+ (WebCore::ScrollView::ScrollViewPrivate::setHasVerticalScrollbar):
+ (WebCore::ScrollView::ScrollViewPrivate::valueChanged):
+ (WebCore::ScrollView::resizeContents):
+ (WebCore::ScrollView::scrollBy):
+ (WebCore::ScrollView::hScrollbarMode):
+ (WebCore::ScrollView::vScrollbarMode):
+ (WebCore::ScrollView::suppressScrollbars):
+ (WebCore::ScrollView::setHScrollbarMode):
+ (WebCore::ScrollView::setVScrollbarMode):
+ (WebCore::ScrollView::setScrollbarsMode):
+ (WebCore::ScrollView::updateScrollbars):
+ (WebCore::ScrollView::scrollbarUnderMouse):
+ (WebCore::ScrollView::paint):
+ (WebCore::ScrollView::themeChanged):
+
+2006-10-05 Adam Roben <aroben@apple.com>
+
+ Reviewed by Maciej.
+
+ Fixes <rdar://problem/4757387>
+ Unable to sign on to my.yahoo.com
+
+ This patch fixes a number of bugs that all resulted in not being able
+ to log on to many websites. The problems were that we weren't allowing
+ redirects between HTTP and HTTPS sites and weren't correctly handling
+ redirects from POST requests to GET requests.
+
+ * platform/win/ResourceLoaderWin.cpp:
+ (WebCore::globalInternetHandle): Move internetHandle and callbackHandle
+ into file scope, and add this function to initialize them.
+ (WebCore::logLastError): Add this debug logging function to give more
+ readable WinInet error messages.
+ (WebCore::ResourceLoaderWndProc): The most substantial change here is
+ to allow redirects from POST to GET to function correctly. To do this
+ we have to create a new HINTERNET for the GET. We also have to be sure
+ not to try to read from our now-invalid handles after the redirect.
+ (WebCore::transferJobStatusCallback): Rename timerId to jobId, since
+ that's what it is.
+ (WebCore::ResourceLoader::start): Call new static initializer, and pass
+ flags to allow HTTP<->HTTPS redirects. Also change a few delete calls
+ to kill().
+
+2006-10-05 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Adam.
+
+ - changed ResourceLoader to be refcounted
+
+ It keeps a ref on itself while loading as well. This makes
+ for a much saner memory management model than the previous.
+
+ In addition, keep it ref'd across all of ResourceLoaderWndProc
+ to avoid sending messages to jobs that get deleted partway.
+
+ This fixes <rdar://problem/4766859> Crash in ResourceLoaderWndProc - line 232 at televisionwithoutpity.com, washingtonpost.com
+
+ * platform/win/ResourceLoaderWin.cpp:
+ (WebCore::ResourceLoaderWndProc):
+ (WebCore::ResourceLoader::start):
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::PluginStreamWin):
+ (WebCore::PluginStreamWin::start):
+ (WebCore::PluginStreamWin::stop):
+ * plugins/win/PluginStreamWin.h:
+
+2006-10-05 Dave Hyatt <hyatt@apple.com>
+
+ Make key events work with iframes. Implement scrolling keyboard behavior. Fix a bug with mouse wheeling that
+ made it fail on iframes nested within iframes.
+
+ Reviewed by mjs
+
+ * bridge/win/FrameViewWin.cpp:
+ (WebCore::FrameView::passWheelEventToSubframe):
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::scroll):
+ * platform/win/WidgetWin.cpp:
+ (WebCore::Widget::Widget):
+ (WebCore::Widget::capturingMouse):
+ (WebCore::Widget::setCapturingMouse):
+ (WebCore::Widget::capturingTarget):
+ (WebCore::Widget::setCapturingChild):
+ (WebCore::Widget::hasFocus):
+ (WebCore::Widget::setFocus):
+ (WebCore::Widget::clearFocus):
+ (WebCore::Widget::setFocused):
+ (WebCore::Widget::focusedTarget):
+ (WebCore::Widget::focusedChild):
+ (WebCore::Widget::setFocusedChild):
+ (WebCore::Widget::clearFocusFromDescendants):
+
+2006-10-05 Adam Roben <aroben@apple.com>
+
+ Reviewed by Maciej and Tim H.
+
+ Fixes <rdar://problem/4760991>
+ Flash content doesn't go away when navigating to a new page
+
+ Actually destroy subframes when detaching.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::frameDetached):
+ * bridge/win/FrameWin.h:
+
+2006-10-05 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Maciej.
+
+ <rdar://problem/4762998>
+ REGRESSION: dragging to select text does not work
+
+ * platform/win/PlatformMouseEventWin.cpp:
+ (WebCore::PlatformMouseEvent::PlatformMouseEvent):
+ Set the correct button for WM_MOUSEMOVE events.
+
+2006-10-05 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adam.
+
+ rdar://problem/4757081
+ Crashes/hangs when using Flash 8 plugin (Flash 9 works MUCH better)
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::startStream):
+ Encode javascript URLs before passing them to the plugin.
+
+2006-10-05 Darin Adler <darin@apple.com>
+
+ Reviewed by Adam.
+
+ * platform/win/NotImplemented.h: Changed implementation to use Assertions.h.
+ Also fixed both macros to be single-statement macros.
+
+2006-10-05 Darin Adler <darin@apple.com>
+
+ Reviewed by Adam.
+
+ - fix <rdar://problem/4764253>
+ frame targeting not implemented.
+
+ * bridge/win/FrameWin.h: Added new window boolean to openURL. Also changed
+ type from DeprecatedString to String.
+ * bridge/win/FrameWin.cpp: (WebCore::FrameWin::urlSelected): Added logic
+ to do frame targeting.
+
+ * platform/win/BString.h: Added. Convenience for working with
+ BSTR and handling allocation/free.
+ * platform/win/BString.cpp: Added.
+ * WebCore.vcproj/WebCore.vcproj: Added new files.
+
+2006-10-03 Dave Hyatt <hyatt@apple.com>
+
+ Land the new ScrollView.
+
+ Reviewed by anders
+
+ * bridge/win/FrameViewWin.cpp:
+ (WebCore::FrameView::passMousePressEventToScrollbar):
+ * platform/win/PlatformScrollBar.h:
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollBar::thumbLength):
+ (WebCore::PlatformScrollBar::hitTest):
+ (WebCore::PlatformScrollBar::horizontalScrollBarHeight):
+ (WebCore::PlatformScrollBar::verticalScrollBarWidth):
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::ScrollViewPrivate::ScrollViewPrivate):
+ (WebCore::ScrollView::ScrollViewPrivate::setHasHorizontalScrollBar):
+ (WebCore::ScrollView::ScrollViewPrivate::setHasVerticalScrollBar):
+ (WebCore::ScrollView::ScrollViewPrivate::valueChanged):
+ (WebCore::ScrollView::ScrollView):
+ (WebCore::ScrollView::updateContents):
+ (WebCore::ScrollView::visibleWidth):
+ (WebCore::ScrollView::visibleHeight):
+ (WebCore::ScrollView::visibleContentRect):
+ (WebCore::ScrollView::resizeContents):
+ (WebCore::ScrollView::contentsWidth):
+ (WebCore::ScrollView::contentsHeight):
+ (WebCore::ScrollView::windowToContents):
+ (WebCore::ScrollView::contentsToWindow):
+ (WebCore::ScrollView::convertChildToSelf):
+ (WebCore::ScrollView::convertSelfToChild):
+ (WebCore::ScrollView::scrollOffset):
+ (WebCore::ScrollView::maximumScroll):
+ (WebCore::ScrollView::scrollBy):
+ (WebCore::ScrollView::scrollPointRecursively):
+ (WebCore::ScrollView::hScrollBarMode):
+ (WebCore::ScrollView::vScrollBarMode):
+ (WebCore::ScrollView::suppressScrollBars):
+ (WebCore::ScrollView::setHScrollBarMode):
+ (WebCore::ScrollView::setVScrollBarMode):
+ (WebCore::ScrollView::setScrollBarsMode):
+ (WebCore::ScrollView::setStaticBackground):
+ (WebCore::ScrollView::updateScrollBars):
+ (WebCore::ScrollView::scrollbarUnderMouse):
+ (WebCore::ScrollView::addChild):
+ (WebCore::ScrollView::removeChild):
+ (WebCore::ScrollView::paint):
+ (WebCore::ScrollView::scrolled):
+ * platform/win/WidgetWin.cpp:
+ (WebCore::Widget::Widget):
+ (WebCore::Widget::convertToContainingWindow):
+ (WebCore::Widget::convertFromContainingWindow):
+ (WebCore::Widget::convertChildToSelf):
+ (WebCore::Widget::convertSelfToChild):
+ (WebCore::Widget::setSuppressInvalidation):
+ (WebCore::Widget::invalidateRect):
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWndProc):
+ (WebCore::PluginViewWin::setFrameGeometry):
+ (WebCore::PluginViewWin::scrolled):
+ * plugins/win/PluginViewWin.h:
+
+2006-10-03 Adam Roben <aroben@apple.com>
+
+ Reviewed by Steve.
+
+ Improvements to error handling in PluginStreamWin.
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::deliverData): Fail quietly if called after
+ termination (due to bad error handling in ResourceLoaderWin), ASSERT if
+ called before stream has been started.
+ (WebCore::PluginStreamWin::receivedData): Ditto.
+ (WebCore::PluginStreamWin::receivedAllData): Ditto.
+
+2006-10-03 Adam Roben <aroben@apple.com>
+
+ Reviewed by Anders.
+
+ Fixes <rdar://problem/4760963>
+ Failed ASSERT in PluginStreamWin::~PluginStreamWin at espn.com
+
+ We now store the state of a stream as a tri-state enum in
+ m_streamState. This allows us to differentiate between before and after the
+ stream has been started.
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::PluginStreamWin): Initialize members of
+ m_stream struct individually.
+ (WebCore::PluginStreamWin::~PluginStreamWin):
+ (WebCore::PluginStreamWin::startStream):
+ (WebCore::PluginStreamWin::destroyStream):
+ (WebCore::PluginStreamWin::deliverData): Return early if the stream
+ isn't started.
+ (WebCore::PluginStreamWin::receivedData): Ditto.
+ (WebCore::PluginStreamWin::receivedAllData): Ditto.
+ * plugins/win/PluginStreamWin.h:
+ (WebCore::): Add PluginStreamState enum.
+
+2006-10-03 Adam Roben <aroben@apple.com>
+
+ Reviewed by Darin.
+
+ Fixes <rdar://problem/4603342>
+ Keyboard navigability
+
+ Implement tabbing between form elements (in the single-frame case).
+
+ * bridge/win/FrameWin.cpp: Add methods to determine tabbing
+ preferences.
+ (WebCore::FrameWin::tabsToLinks):
+ (WebCore::FrameWin::tabsToAllControls):
+ * bridge/win/FrameWin.h: Add tabsToLinks() to FrameWinClient
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::scrollPointRecursively): Implemented for
+ single-frame case.
+ * platform/win/TemporaryLinkStubs.cpp: Remove stub for now-implemented
+ ScrollView::scrollPointsRecursively
+
+2006-10-02 Adam Roben <aroben@apple.com>
+
+ Reviewed by Maciej.
+
+ Fixes <rdar://problem/4743497>
+ Can't check checkboxes
+
+ Let Windows determine which mouse button is pressed.
+
+ * platform/win/PlatformMouseEventWin.cpp:
+ (WebCore::PlatformMouseEvent::PlatformMouseEvent): Use message
+ parameter to determine which mouse button is pressed.
+
+2006-10-02 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Hyatt.
+
+ <rdar://4757387> (partial fix) Unable to sign on to my.yahoo.com
+ <rdar://4757405> (partial fix) Unable to log onto secure site (www.schwab.com)
+ <rdar://4757411> (partial fix) Unable to log onto any AppleConnect site (but using back and resubmiting works)
+
+ WinInet fixes.
+ Don't post data using HTTP when HTTPS should be used.
+ Fix redirect from POST to GET case.
+
+ There is a remaining bug with the way that we queue WinInet callbacks
+ still to be addressed.
+
+ * platform/win/ResourceLoaderWin.cpp:
+ (WebCore::addToOutstandingJobs): Skip dwContext of 0 (rollover case).
+ (WebCore::ResourceLoaderWndProc): Call default wndproc properly.
+ Pass INTERNET_FLAG_SECURE when necessary for HTTPS.
+ Fix redirect code.
+ Initialize buffers struct.
+ Pass proper context in InternetReadFileExA
+ (WebCore::initializeOffScreenResourceLoaderWindow): Init a struct to {0} instead of using memset.
+ (WebCore::transferJobStatusCallback): Prevent future bugs by making an else a bit more explicit.
+ (WebCore::ResourceLoader::start): Pass proper port for HTTP vs. HTTPS.
+ (WebCore::ResourceLoader::cancel): Zero out handle when closing.
+
+2006-10-01 Dave Hyatt <hyatt@apple.com>
+
+ Finish the scrollbar. Handle arrow and track scrolling. Everything is finished now except for implementing a Win2k look.
+
+ * platform/win/PlatformScrollBar.h:
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollBar::PlatformScrollBar):
+ (WebCore::PlatformScrollBar::~PlatformScrollBar):
+ (WebCore::PlatformScrollBar::thumbRect):
+ (WebCore::PlatformScrollBar::handleMouseMoveEvent):
+ (WebCore::PlatformScrollBar::handleMousePressEvent):
+ (WebCore::PlatformScrollBar::handleMouseReleaseEvent):
+ (WebCore::PlatformScrollBar::startTimerIfNeeded):
+ (WebCore::PlatformScrollBar::stopTimerIfNeeded):
+ (WebCore::PlatformScrollBar::autoscrollPressedPart):
+ (WebCore::PlatformScrollBar::autoscrollTimerFired):
+ (WebCore::PlatformScrollBar::pressedPartScrollDirection):
+ (WebCore::PlatformScrollBar::pressedPartScrollGranularity):
+ (WebCore::PlatformScrollBar::thumbUnderMouse):
+
+2006-10-01 Dave Hyatt <hyatt@apple.com>
+
+ Make thumb dragging work on the scrollbar.
+
+ Fix mouse and wheel events to use GET_X_LPARAM and GET_Y_LPARAM so that negative coordinates work.
+ (This comes up when a widget is capturing events and the mouse moves outside the HWND.)
+
+ * platform/win/PlatformMouseEventWin.cpp:
+ (WebCore::positionForEvent):
+ (WebCore::globalPositionForEvent):
+ * platform/win/PlatformScrollBar.h:
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollBar::PlatformScrollBar):
+ (WebCore::PlatformScrollBar::handleMouseMoveEvent):
+ (WebCore::PlatformScrollBar::handleMousePressEvent):
+ (WebCore::PlatformScrollBar::handleMouseReleaseEvent):
+ (WebCore::PlatformScrollBar::startTimerIfNeeded):
+ (WebCore::PlatformScrollBar::stopTimerIfNeeded):
+ * platform/win/WheelEventWin.cpp:
+ (WebCore::positionForEvent):
+ (WebCore::globalPositionForEvent):
+
+2006-10-01 Dave Hyatt <hyatt@apple.com>
+
+ Hook up the mouse capture architecture so that child widgets capture events while the mouse is pressed.
+
+ Hook up tracking the pressed object on a scrollbar and proper painting of the scrollbar's
+ pressed state.
+
+ * bridge/win/FrameViewWin.cpp:
+ (WebCore::FrameView::passMousePressEventToSubframe):
+ (WebCore::FrameView::passMousePressEventToScrollbar):
+ * platform/win/PlatformScrollBar.h:
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollBar::PlatformScrollBar):
+ (WebCore::PlatformScrollBar::paintButton):
+ (WebCore::PlatformScrollBar::paintTrack):
+ (WebCore::PlatformScrollBar::paintThumb):
+ (WebCore::PlatformScrollBar::paintGripper):
+ (WebCore::PlatformScrollBar::handleMouseMoveEvent):
+ (WebCore::PlatformScrollBar::handleMousePressEvent):
+ (WebCore::PlatformScrollBar::handleMouseReleaseEvent):
+ * platform/win/WidgetWin.cpp:
+ (WebCore::Widget::setCapturingChild):
+
+2006-09-30 Dave Hyatt <hyatt@apple.com>
+
+ This patch makes iframes and frames able to receive mouse events. Down, up, click, selection
+ all work. This patch also fixes bugs in scrolling and makes wheel events work on iframes.
+ A capturing system for routing events to the proper subwidget when the mouse has down
+ is also stubbed out (but not yet used).
+
+ Reviewed by andersca
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * bridge/win/FrameViewWin.cpp: Added.
+ (WebCore::FrameView::passMousePressEventToSubframe):
+ (WebCore::FrameView::passMouseMoveEventToSubframe):
+ (WebCore::FrameView::passMouseReleaseEventToSubframe):
+ (WebCore::FrameView::passWheelEventToSubframe):
+ * bridge/win/FrameWin.cpp:
+ * bridge/win/FrameWin.h:
+ * platform/win/PlatformScrollBar.h:
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollBar::handleMouseMoveEvent):
+ (WebCore::PlatformScrollBar::handleMouseOutEvent):
+ (WebCore::PlatformScrollBar::handleMouseReleaseEvent):
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::visibleContentRect):
+ (WebCore::ScrollView::scrollBy):
+ (WebCore::ScrollView::removeChild):
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::print):
+ (FrameWin::lastEventIsMouseUp):
+ * platform/win/WidgetWin.cpp:
+ (WebCore::Widget::Widget):
+ (WebCore::Widget::capturingMouse):
+ (WebCore::Widget::setCapturingMouse):
+ (WebCore::Widget::capturingTarget):
+ (WebCore::Widget::capturingChild):
+ (WebCore::Widget::setCapturingChild):
+
+2006-09-29 Steve Falkenburg <sfalken@apple.com>
+
+ Fix the build.
+
+ * platform/win/PlatformScrollBarWin.cpp:
+
+2006-09-29 Adele Peterson <adele@apple.com>
+
+ Adding RenderListBox files.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-09-29 Adele Peterson <adele@apple.com>
+
+ Reviewed by Adam.
+
+ Updated constructor for PlatformScrollBar to include controlSize argument.
+
+ * platform/win/PlatformScrollBar.h:
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollBar::PlatformScrollBar):
+
+2006-09-29 Adam Roben <aroben@apple.com>
+
+ Reviewed by hyatt.
+
+ Add error logging to plugin code.
+
+ * WebCore.vcproj/WebCore.vcproj: Added PluginDebug.h
+ * platform/win/NotImplemented.h: Add surrounding #ifndef/#endif
+ * plugins/win/PluginDebug.h: Added.
+ * plugins/win/PluginPackageWin.cpp: Add error logging
+ (WebCore::PluginPackageWin::load):
+ * plugins/win/PluginStreamWin.cpp: Ditto.
+ (WebCore::PluginStreamWin::startStream):
+ (WebCore::PluginStreamWin::destroyStream):
+ (WebCore::PluginStreamWin::deliverData):
+ (WebCore::PluginStreamWin::receivedAllData):
+ * plugins/win/PluginViewWin.cpp: Ditto.
+ (WebCore::PluginViewWin::start):
+ (WebCore::PluginViewWin::stop):
+ (WebCore::PluginViewWin::newStream):
+ (WebCore::PluginViewWin::write):
+ (WebCore::PluginViewWin::destroyStream):
+
+2006-09-29 Dave Hyatt <hyatt@apple.com>
+
+ Fork MouseEventWin.cpp into (the better-named) PlatformMouseEventWin.cpp.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/PlatformMouseEventWin.cpp: Added.
+
+2006-09-28 Dave Hyatt <hyatt@apple.com>
+
+ Make scrollbars scroll correctly when setValue is called. Needed to do float math instead of integer
+ math (and also fix some buggy math when computing the thumb position).
+
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollBar::thumbPosition):
+
+2006-09-28 Dave Hyatt <hyatt@apple.com>
+
+ Make scrollbars on Win32 respond to hover events. The thumb and arrow buttons will now properly hover when
+ the mouse enters and exits them.
+
+ * platform/win/PlatformScrollBar.h:
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollBar::invalidatePart):
+ (WebCore::PlatformScrollBar::paintButton):
+ (WebCore::PlatformScrollBar::paintTrack):
+ (WebCore::PlatformScrollBar::paintThumb):
+ (WebCore::PlatformScrollBar::paintGripper):
+ (WebCore::PlatformScrollBar::hitTest):
+ (WebCore::PlatformScrollBar::mouseMoved):
+ (WebCore::PlatformScrollBar::mouseExited):
+
+2006-09-28 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Maciej.
+
+ Use $(ConfigSuffix) set via vsprops files to add _debug
+ to end of debug filenames.
+
+ Update B&I build script.
+
+ * WebCore.vcproj/WebCore.make:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.vcproj/debug.vsprops: Added.
+ * WebCore.vcproj/release.vsprops: Added.
+
+2006-09-28 Adam Roben <aroben@apple.com>
+
+ Reviewed by Hyatt.
+
+ Avoid creating LOGFONTs for bitmap fonts under CG, since we don't
+ support them anyway.
+
+ * platform/win/FontCacheWin.cpp:
+ (WebCore::FontCache::createFontPlatformData): Set lfOutPrecision to
+ OUT_TT_ONLY_PRECIS to avoid bitmap fonts.
+ * platform/win/FontPlatformDataWin.cpp:
+ (WebCore::FontPlatformData::FontPlatformData): Change the LOG_ERROR
+ back to an ASSERT since we should never reach this condition now.
+
+2006-09-28 Dave Hyatt <hyatt@apple.com>
+
+ This patch eliminates viewportToContents/contentsToViewport in favor of convertTo/FromContainingWindow.
+ ScrollView now subclasses these methods to factor in its scrollOffset and to deal with the document
+ view.
+
+ Reviewed by mjs (the convertTo/From changes), (I added the elimination of viewportToContents to
+ the patch after review, once I realized that these new functions essentially do the same thing.)
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::updateContents):
+ (WebCore::ScrollView::convertToContainingWindow):
+ (WebCore::ScrollView::convertFromContainingWindow):
+ (WebCore::ScrollView::scrollBy):
+ * platform/win/WidgetWin.cpp:
+ (WebCore::Widget::convertToContainingWindow):
+ (WebCore::Widget::convertFromContainingWindow):
+
+2006-09-28 Adam Roben <aroben@apple.com>
+
+ Reviewed by Anders.
+
+ Fail without crashing and log an error when CG encounters a bitmap
+ font.
+
+ * platform/win/FontPlatformDataWin.cpp:
+ (WebCore::FontPlatformData::FontPlatformData): Trade LOG_ERROR for
+ ASSERT_WITH_MESSAGE
+
+2006-09-27 Alice Liu <alice.liu@apple.com>
+
+ Reviewed by Steve & Adam.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Added files to the project file
+ * platform/win/TemporaryLinkStubs.cpp:
+ Removed stub for findWordBoundary
+ * platform/win/TextBoundariesWin.cpp: Added.
+ Implemented cross-platform findWordBoundary. We're still keeping the mac one intact for now.
+ (WebCore::findWordBoundary):
+
+2006-09-28 Adam Roben <aroben@apple.com>
+
+ Reviewed by Adele.
+
+ Remove never-to-be-used PopUpButton
+
+ * WebCore.vcproj/WebCore.vcproj: Remove PopUpButton.h
+ * platform/win/TemporaryLinkStubs.cpp: Remove PopUpButton:: methods
+
+2006-09-28 Adam Roben <aroben@apple.com>
+
+ Reviewed by Alice.
+
+ Replace notImplemented() with LOG_NOIMPL() and STOP_NOIMPL() macros
+ which generate debug output. STOP_NOIMPL() also generates a debug
+ break. Replace calls to notImplemented() with
+ LOG_NOIMPL()/STOP_NOIMPL() as appropriate. This should stop some unnecessary
+ crashes where notImplemented() was called from a method that can fail
+ safely.
+
+ * WebCore.vcproj/WebCore.vcproj: Added NotImplemented.h
+ * platform/win/FontWin.cpp: Use LOG_NOIMPL() instead of notImplemented().
+ (WebCore::Font::selectionRectForComplexText):
+ (WebCore::Font::drawComplexText):
+ (WebCore::Font::floatWidthForComplexText):
+ (WebCore::Font::offsetForPositionForComplexText):
+ * platform/win/NotImplemented.h: Added. Contains new LOG_NOIMPL() and
+ STOP_NOIMPL() macros.
+ * platform/win/TemporaryLinkStubs.cpp: Use LOG_NOIMPL() and
+ STOP_NOIMPL() instead of notImplemented() or nothing.
+ (PopUpButton::focusPolicy):
+ (PopUpButton::populate):
+ (Widget::enableFlushDrawing):
+ (Widget::focusPolicy):
+ (Widget::disableFlushDrawing):
+ (Widget::lockDrawingFocus):
+ (Widget::unlockDrawingFocus):
+ (JavaAppletWidget::JavaAppletWidget):
+ (TextField::selectAll):
+ (TextField::addSearchResult):
+ (TextField::selectionStart):
+ (TextField::hasSelectedText):
+ (TextField::selectedText):
+ (TextField::setAutoSaveName):
+ (TextField::checksDescendantsForFocus):
+ (TextField::setSelection):
+ (TextField::setMaxResults):
+ (TextField::edited):
+ (Slider::Slider):
+ (Slider::sizeHint):
+ (Slider::setValue):
+ (Slider::setMaxValue):
+ (Slider::setMinValue):
+ (Slider::~Slider):
+ (Slider::setFont):
+ (Slider::value):
+ (ListBox::sizeForNumberOfLines):
+ (ListBox::isSelected):
+ (ListBox::checksDescendantsForFocus):
+ (Slider::focusPolicy):
+ (ListBox::focusPolicy):
+ (TextField::focusPolicy):
+ (Cursor::Cursor):
+ (PlatformMouseEvent::PlatformMouseEvent):
+ (WebCore::searchableIndexIntroduction):
+ (WebCore::findNextSentenceFromIndex):
+ (WebCore::findSentenceBoundary):
+ (WebCore::findNextWordFromIndex):
+ (WebCore::ServeSynchronousRequest):
+ (FrameWin::focusWindow):
+ (FrameWin::unfocusWindow):
+ (FrameWin::locationbarVisible):
+ (FrameWin::registerCommandForRedo):
+ (FrameWin::getObjectInstanceForWidget):
+ (FrameWin::getEmbedInstanceForWidget):
+ (FrameWin::getAppletInstanceForWidget):
+ (FrameWin::canRedo):
+ (FrameWin::canUndo):
+ (FrameWin::canPaste):
+ (FrameWin::canGoBackOrForward):
+ (FrameWin::shouldInterruptJavaScript):
+ (FrameWin::openURL):
+ (FrameWin::print):
+ (FrameWin::passMouseDownEventToWidget):
+ (FrameWin::issueCutCommand):
+ (FrameWin::issueCopyCommand):
+ (FrameWin::issuePasteCommand):
+ (FrameWin::issueUndoCommand):
+ (FrameWin::issueRedoCommand):
+ (FrameWin::issuePasteAndMatchStyleCommand):
+ (FrameWin::issueTransposeCommand):
+ (FrameWin::passWheelEventToChildWidget):
+ (FrameWin::mimeTypeForFileName):
+ (FrameWin::scheduleClose):
+ (FrameWin::markMisspellings):
+ (FrameWin::menubarVisible):
+ (FrameWin::personalbarVisible):
+ (FrameWin::statusbarVisible):
+ (FrameWin::toolbarVisible):
+ (FrameWin::originalRequestURL):
+ (FrameWin::isLoadTypeReload):
+ (BrowserExtensionWin::canRunModal):
+ (BrowserExtensionWin::createNewWindow):
+ (BrowserExtensionWin::canRunModalNow):
+ (BrowserExtensionWin::runModal):
+ (BrowserExtensionWin::goBackOrForward):
+ (BrowserExtensionWin::historyURL):
+ (GraphicsContext::addRoundedRectClip):
+ (GraphicsContext::addInnerRoundedRectClip):
+ (WebCore::screenDepthPerComponent):
+ (WebCore::screenIsMonochrome):
+ (WebCore::moveCursor):
+ (WebCore::inputElementAltText):
+ (WebCore::findWordBoundary):
+ (WebCore::ResourceLoader::assembleResponseHeaders):
+ (WebCore::ResourceLoader::retrieveCharset):
+ (FrameView::updateBorder):
+ (FrameWin::restoreDocumentState):
+ (FrameWin::partClearedInBegin):
+ (FrameWin::createEmptyDocument):
+ (FrameWin::overrideMediaType):
+ (FrameWin::markedTextRange):
+ (FrameWin::addMessageToConsole):
+ (FrameWin::shouldChangeSelection):
+ (FrameWin::respondToChangedSelection):
+ (FrameWin::saveDocumentState):
+ (FrameWin::registerCommandForUndo):
+ (FrameWin::clearUndoRedoOperations):
+ (FrameWin::incomingReferrer):
+ (FrameWin::markMisspellingsInAdjacentWords):
+ (FrameWin::respondToChangedContents):
+ (BrowserExtensionWin::BrowserExtensionWin):
+ (BrowserExtensionWin::setTypedIconURL):
+ (BrowserExtensionWin::setIconURL):
+ (BrowserExtensionWin::getHistoryLength):
+ (WebCore::CheckIfReloading):
+ (WebCore::CheckCacheObjectStatus):
+ (Widget::setIsSelected):
+ (ScrollView::inWindow):
+ (ScrollView::scrollPointRecursively):
+ (GraphicsContext::setShadow):
+ (GraphicsContext::clearShadow):
+ (GraphicsContext::beginTransparencyLayer):
+ (GraphicsContext::endTransparencyLayer):
+ (GraphicsContext::clearRect):
+ (GraphicsContext::strokeRect):
+ (GraphicsContext::setLineWidth):
+ (GraphicsContext::setLineCap):
+ (GraphicsContext::setLineJoin):
+ (GraphicsContext::setMiterLimit):
+ (GraphicsContext::setAlpha):
+ (GraphicsContext::clip):
+ (GraphicsContext::rotate):
+ (GraphicsContext::scale):
+ (Path::Path):
+ (Path::~Path):
+ (Path::contains):
+ (Path::translate):
+ (Path::boundingRect):
+ (Path::operator=):
+ (Path::clear):
+ (Path::moveTo):
+ (Path::addLineTo):
+ (Path::addQuadCurveTo):
+ (Path::addBezierCurveTo):
+ (Path::addArcTo):
+ (Path::closeSubpath):
+ (Path::addArc):
+ (Path::addRect):
+ (Path::addEllipse):
+ (GraphicsContext::drawFocusRing):
+ (GraphicsContext::drawLineForMisspelling):
+ (GraphicsContext::setCompositeOperation):
+ (TextField::TextField):
+ (TextField::~TextField):
+ (TextField::setFont):
+ (TextField::setAlignment):
+ (TextField::setWritingDirection):
+ (TextField::maxLength):
+ (TextField::setMaxLength):
+ (TextField::text):
+ (TextField::setText):
+ (TextField::cursorPosition):
+ (TextField::setCursorPosition):
+ (TextField::setEdited):
+ (TextField::setReadOnly):
+ (TextField::setPlaceholderString):
+ (TextField::setColors):
+ (TextField::sizeForCharacterWidth):
+ (TextField::baselinePosition):
+ (TextField::setLiveSearch):
+ (PopUpButton::PopUpButton):
+ (PopUpButton::~PopUpButton):
+ (PopUpButton::setFont):
+ (PopUpButton::baselinePosition):
+ (PopUpButton::setWritingDirection):
+ (PopUpButton::clear):
+ (PopUpButton::appendItem):
+ (PopUpButton::setCurrentItem):
+ (PopUpButton::sizeHint):
+ (PopUpButton::frameGeometry):
+ (PopUpButton::setFrameGeometry):
+ (ListBox::ListBox):
+ (ListBox::~ListBox):
+ (ListBox::setSelectionMode):
+ (ListBox::setFont):
+ (ListBox::setWritingDirection):
+ (ListBox::clear):
+ (ListBox::doneAppendingItems):
+ (ListBox::setEnabled):
+ (ListBox::appendItem):
+ (ListBox::setSelected):
+ (WebCore::focusRingColor):
+ (WebCore::setFocusRingColorChangeFunction):
+ (Frame::setNeedsReapplyStyles):
+ (Image::drawTiled):
+ (RenderPopupMenuWin::addSeparator):
+ (RenderPopupMenuWin::addGroupLabel):
+ (IconLoader::receivedResponse):
+ (IconLoader::notifyIconChanged):
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::setValue):
+
+2006-09-28 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by sfalken.
+
+ Remove calls to DebugBreak() from plugin code.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::getValue):
+ (WebCore::PluginViewWin::setValue):
+
+2006-09-28 Dave Hyatt <hyatt@apple.com>
+
+ Eliminate the use of MapWindowPoints on Win32. Just use the outermost HWND as the point of reference for events.
+
+ Stub out the mouse methods from the open source checkin and add a new member variable to track the current hovered scrollbar part.
+
+ * platform/win/PlatformScrollBar.h:
+ (WebCore::):
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollBar::PlatformScrollBar):
+ (WebCore::PlatformScrollBar::mouseMoved):
+ (WebCore::PlatformScrollBar::mouseExited):
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::viewportToContents):
+ (WebCore::ScrollView::contentsToViewport):
+ * platform/win/WheelEventWin.cpp:
+ (WebCore::positionForEvent):
+
+2006-09-27 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Maciej.
+
+ Prefer pulling project dependencies from WebKitOutputDir over
+ WebKitSDKDir. Don't copy build output back over to WebKitSDKDir.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.vcproj/build-generated-files.sh:
+ * WebCore.vcproj/dstroot-to-sdk.cmd: Removed.
+
+2006-09-27 Steve Falkenburg <sfalken@apple.com>
+
+ B&I build fixes
+
+ * WebCore.vcproj/WebCore.make:
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.vcproj/build-generated-files.sh:
+
+2006-09-27 Adam Roben <aroben@apple.com>
+
+ Reviewed by sfalken.
+
+ Don't die when plugins try to open a new window.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::performRequest): Remove call to DebugBreak()
+
+2006-09-27 Steve Falkenburg <sfalken@apple.com>
+
+ B&I build script tweaks.
+
+ * WebCore.vcproj/WebCore.make:
+
+2006-09-27 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Hyatt.
+
+ Turn on CG
+
+ * config.h:
+
+2006-09-27 Adam Roben <aroben@apple.com>
+
+ Reviewed by Lou.
+
+ Fix crash in plugins due to Flash on nytimes.com
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::PluginStreamWin): memset m_stream to 0
+
+2006-09-27 Adam Roben <aroben@apple.com>
+
+ Reviewed by sfalken.
+
+ Scroll plugins (at least in some cases).
+
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::scrollBy): Pass SW_SCROLLCHILDREN to ScrollWindowEx()
+
+2006-09-27 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Adam.
+
+ Remove unimplemented from a temporary link stub.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (GraphicsContext::addInnerRoundedRectClip):
+
+2006-09-27 Sean Gies <seangies@apple.com>
+
+ Reviewed by Brady Eidson.
+
+ * WebCore.vcproj/WebCore.vcproj: Added platform/win/WebCoreSystemInterface.h/cpp
+ * platform/win/WebCoreSystemInterface.cpp: Added.
+ * platform/win/WebCoreSystemInterface.h: Added.
+
+2006-09-26 Adam Roben <aroben@apple.com>
+
+ Reviewed by sfalken.
+
+ Fixes <rdar://problem/4751600>
+ Hang on Amazon.com involving Flash
+
+ * plugins/win/PluginStreamWin.cpp: Rename m_streamStarted to
+ m_isTerminated to match Mac code (m_isTerminated is the negation of
+ m_streamStarted)
+ (WebCore::PluginStreamWin::PluginStreamWin): Initialize m_isTerminated
+ to false to match Mac code.
+ (WebCore::PluginStreamWin::~PluginStreamWin): Rename and negate.
+ (WebCore::PluginStreamWin::stop): Remove assignment of m_streamStarted
+ to match Mac code.
+ (WebCore::PluginStreamWin::startStream): Rename and negate. Remove
+ now-unnecessary assignment of m_streamStarted to true because we set
+ m_isTerminated to false in the constructor.
+ (WebCore::PluginStreamWin::destroyStream): Rename and negate.
+ * plugins/win/PluginStreamWin.h: Rename m_streamStarted to
+ m_isTerminated.
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::performRequest): Send the correct response URL
+ to the plugin.
+
+2006-09-26 Steve Falkenburg <sfalken@apple.com>
+
+ More temporary link stubs moved.
+ Build tweaks.
+
+ * ChangeLog:
+ * WebCore.vcproj/WebCore.make: Added.
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (ListBox::isSelected):
+ (ListBox::setWritingDirection):
+ (ListBox::clear):
+ (ListBox::doneAppendingItems):
+ (ListBox::setEnabled):
+ (ListBox::appendItem):
+ (ListBox::setSelected):
+
+2006-09-26 Sean Gies <seangies@apple.com>
+
+ Reviewed by Brady Eidson.
+
+ * platform/win/GraphicsContextWin.cpp:
+ (WebCore::CGContextWithHDC): Make a static function.
+ (WebCore::GraphicsContext::getWindowsContext): Assume flipped coordinates.
+
+2006-09-26 Brady Eidson <beidson@apple.com>
+
+ Nuked another notImplemented() that is getting hit
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (GraphicsContext::addRoundedRectClip):
+
+2006-09-26 Sean Gies <seangies@apple.com>
+
+ Reviewed by Adam Roben.
+
+ * WebCore.vcproj/WebCore.vcproj: Use Debug DLL C runtime for debug config.
+
+2006-09-26 Lou Amadio <lamadio@apple.com>
+
+ Reviewed by ggaren
+ Uninitialized variable caused a memory corruption on cnn.com
+
+ WARNING: NO TEST CASES ADDED OR CHANGED
+
+ * plugins/win/PlugInInfoStoreWin.cpp:
+ (WebCore::PlugInInfoStore::createPluginInfoForPluginAtIndex):
+
+2006-09-26 Dave Hyatt <hyatt@apple.com>
+
+ Fix my buggy invalidateRect implementation for Win32 widgets.
+
+ Clean up my rect computation code in scrollbar to use x() and y() instead of
+ frameGeometry().x()/y().
+
+ Add a new invalidateTrack() method that invalidates the track (and handles
+ putting the rect into the right coordinate space for proper invalidation
+ now that I fixed invalidateRect).
+
+ * platform/win/PlatformScrollBar.h:
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollBar::updateThumbPosition):
+ (WebCore::PlatformScrollBar::updateThumbProportion):
+ (WebCore::PlatformScrollBar::invalidateTrack):
+ (WebCore::PlatformScrollBar::backButtonRect):
+ (WebCore::PlatformScrollBar::forwardButtonRect):
+ (WebCore::PlatformScrollBar::trackRect):
+ * platform/win/WidgetWin.cpp:
+ (WebCore::Widget::invalidate):
+
+2006-09-26 Dave Hyatt <hyatt@apple.com>
+
+ Teach all our Win32 theme code (RenderTheme and PlatformScrollBar) how to respond correctly to OS theme changes.
+
+ Implement painting of scrollbars using theme APIs. The arrow buttons, track, thumb and gripper all paint properly
+ now. Next up is hit testing and proper hover feedback.
+
+ Reviewed by andersca
+
+ * platform/win/PlatformScrollBar.h:
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollBar::PlatformScrollBar):
+ (WebCore::PlatformScrollBar::paint):
+ (WebCore::PlatformScrollBar::backButtonRect):
+ (WebCore::PlatformScrollBar::forwardButtonRect):
+ (WebCore::PlatformScrollBar::trackRect):
+ (WebCore::PlatformScrollBar::gripperRect):
+ (WebCore::PlatformScrollBar::splitTrack):
+ (WebCore::PlatformScrollBar::thumbPosition):
+ (WebCore::PlatformScrollBar::thumbLength):
+ (WebCore::PlatformScrollBar::paintButton):
+ (WebCore::PlatformScrollBar::paintTrack):
+ (WebCore::PlatformScrollBar::paintThumb):
+ (WebCore::PlatformScrollBar::paintGripper):
+ (WebCore::PlatformScrollBar::themeChanged):
+ * platform/win/ScrollViewWin.cpp:
+ (WebCore::ScrollView::themeChanged):
+ * platform/win/TemporaryLinkStubs.cpp:
+ (Widget::enableFlushDrawing):
+ * platform/win/WidgetWin.cpp:
+ (WebCore::Widget::isEnabled):
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::RenderThemeWin::RenderThemeWin):
+ (WebCore::RenderThemeWin::openButtonTheme):
+ (WebCore::RenderThemeWin::openTextFieldTheme):
+ (WebCore::RenderThemeWin::openMenuListTheme):
+ (WebCore::RenderThemeWin::close):
+ (WebCore::RenderThemeWin::themeChanged):
+ * rendering/RenderThemeWin.h:
+
+2006-09-25 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by sfalken.
+
+ Set svn:eol-style to native and cleanup line endings on plugins files.
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::PluginStreamWin):
+ (WebCore::PluginStreamWin::~PluginStreamWin):
+ (WebCore::PluginStreamWin::start):
+ (WebCore::PluginStreamWin::startStream):
+ (WebCore::PluginStreamWin::destroyStream):
+ (WebCore::PluginStreamWin::deliverData):
+ (WebCore::PluginStreamWin::receivedResponse):
+ (WebCore::PluginStreamWin::receivedData):
+ (WebCore::PluginStreamWin::receivedAllData):
+
+2006-09-25 Adam Roben <aroben@apple.com>
+
+ Reviewed by Brady.
+
+ Fixes <rdar://problem/4749494>
+ Crash/ASSERT in plugins at Fark.com
+
+ * platform/win/ResourceLoaderWin.cpp: Store whether a particular job
+ has received a response within the ResourceLoader object itself, since
+ it's possible that we will enter the InternetReadFileExA while loop
+ twice for the same job.
+ (WebCore::ResourceLoaderWndProc): Ask the job whether it has received a
+ response instead of assuming it hasn't.
+ (WebCore::ResourceLoader::setHasReceivedResponse): Added.
+ (WebCore::ResourceLoader::hasReceivedResponse): Added.
+
+2006-09-25 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by sfalken.
+
+ Continuing the removal of unnecessary notImplemented() calls.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (PlatformMouseEvent::PlatformMouseEvent):
+ (FrameWin::passWheelEventToChildWidget):
+
+2006-09-25 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by sfalken.
+
+ More notImplemented()-ectomy.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (RenderPopupMenuWin::addSeparator):
+ (RenderPopupMenuWin::addGroupLabel):
+
+2006-09-25 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by sfalken.
+
+ Remove calls to notImplemented() from functions that can fail safely.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::originalRequestURL):
+ (FrameWin::isLoadTypeReload):
+ (IconLoader::receivedResponse):
+ (IconLoader::notifyIconChanged):
+
+2006-09-25 Adam Roben <aroben@apple.com>
+
+ Rubberstamped by sfalken.
+
+ Make notImplemented() crash even when not linked against the debug CRT.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (notImplemented): Change _CrtDbgBreak() to ASSERT(0)
+
+2006-09-24 Dave Hyatt <hyatt@apple.com>
+
+ Update the scrollbar API to match the changes in the public tree.
+
+ Start implementing the Win32 scrollbar. Add some scaffolding for grabbing uxtheme.dll info and also
+ add some utility functions for breaking the scrollbar into individual components.
+
+ * platform/win/PlatformScrollBar.h:
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollBar::PlatformScrollBar):
+ (WebCore::PlatformScrollBar::updateThumbPosition):
+ (WebCore::PlatformScrollBar::updateThumbProportion):
+ (WebCore::PlatformScrollBar::paint):
+ (WebCore::PlatformScrollBar::backButtonRect):
+ (WebCore::PlatformScrollBar::forwardButtonRect):
+ (WebCore::PlatformScrollBar::trackRect):
+ (WebCore::PlatformScrollBar::splitTrack):
+
+2006-09-22 Steve Falkenburg <sfalken@apple.com>
+
+ Fix release build some more.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-09-22 Brady Eidson <beidson@apple.com>
+
+ Extremely urgent update to my last two patches (without it, many urls will fail to load)
+
+ * platform/win/ResourceLoaderWin.cpp:
+ (WebCore::ResourceLoader::onRequestComplete):
+
+2006-09-22 Brady Eidson <beidson@apple.com>
+
+ Forgot some lines we needed to keep for the internal build in my last checkin
+
+ * platform/win/ResourceLoaderWin.cpp:
+
+2006-09-22 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Steve
+
+ Landed from OpenSource - that version now supports Redirect like we need, and is a little cleaner design
+
+ * platform/win/ResourceLoaderWin.cpp:
+ (WebCore::):
+ (WebCore::ResourceLoaderWndProc):
+ (WebCore::initializeOffScreenResourceLoaderWindow):
+ (WebCore::ResourceLoaderInternal::~ResourceLoaderInternal):
+ (WebCore::ResourceLoader::onHandleCreated):
+ (WebCore::ResourceLoader::onRequestRedirected):
+ (WebCore::ResourceLoader::onRequestComplete):
+ (WebCore::transferJobStatusCallback):
+ (WebCore::ResourceLoader::start):
+ (WebCore::ResourceLoader::fileLoadTimer):
+ (WebCore::ResourceLoader::cancel):
+
+2006-09-22 Dave Hyatt <hyatt@apple.com>
+
+ Implement support for CSS2 system fonts on Win32. Implement support for our special control font so that controls now
+ pick up the correct font from the system. This fixes the crazy form control font sizes on e.g., www.google.com.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::fillFontDescription):
+ (WebCore::RenderThemeWin::systemFont):
+
+2006-09-22 Dave Hyatt <hyatt@apple.com>
+
+ Scrollbar preparation work.
+
+ (1) Add support for enabling/disabling widgets.
+ (2) Add support for invalidation of part or all of a widget.
+ (3) Clean up some of the Win32 scrollbar code. All that's left is painting
+ and event handling. (Oh, is that all...) :)
+
+ Reviewed by anders
+
+ * platform/win/PlatformScrollBarWin.cpp:
+ (WebCore::PlatformScrollBar::setScrollBarValue):
+ (WebCore::PlatformScrollBar::setKnobProportion):
+ (WebCore::PlatformScrollBar::setEnabled):
+ (WebCore::PlatformScrollBar::paint):
+ * platform/win/TemporaryLinkStubs.cpp:
+ * platform/win/WidgetWin.cpp:
+ (WebCore::Widget::Widget):
+ (WebCore::Widget::setEnabled):
+ (WebCore::Widget::invalidate):
+ (WebCore::Widget::invalidateRect):
+
+2006-09-21 Brady Eidson <beidson@apple.com>
+
+ Build was broken for at least some, and I think my checkin that messed with
+ #include orders was to blame (and it was messy, broken or not) - this cleans that up
+
+ * platform/win/ResourceLoaderWin.cpp:
+
+2006-09-21 Alice Liu <alice.liu@apple.com>
+
+ Reviewed by Hyatt.
+
+ windows build fix
+
+ * platform/win/GraphicsContextWin.cpp:
+ wrapped a CG #include in #if PLATFORM(CG)
+
+2006-09-21 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Maciej, Hyatt, Steve.
+
+ frames!
+
+ Prep work:
+ - moved ScrollViewWin into OpenSourceWin
+ - set eol-style:native on some files and corrected line endings
+ - updated the WebCore project so that you don't need cygwin in your Windows path
+ to build correctly.
+
+ Real work:
+
+ On Windows, Widgets are no longer interfaces to Windows UI tookit objects. They're
+ just positioned objects.
+
+ Widgets position themselves relative to their parents. The top-level widget technically
+ has a position relative to the WebView, but that's academic, since it's always (0, 0).
+ All widgets draw inside a common containing window (the WebView window). ScrollView
+ handles transformation, clipping, and dirty rect management.
+
+ I've filed a bunch of bugs on remaining frames work. Most notably, closing a page with
+ a frame in it causes a crash because WebCore depends on WebKit to manage frame lifetime.
+ I'm going to fix that by integrating frame ownership into the DOM.
+
+2006-09-21 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Anders.
+
+ <rdar://4516072>
+ <rdar://4601320>
+
+ Implemented JavaScript alert/confirm/prompt inside app.
+ This is done via IWebUIDelegate.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::userAgent):
+ (WebCore::FrameWin::runJavaScriptAlert):
+ (WebCore::FrameWin::runJavaScriptConfirm):
+ (WebCore::FrameWin::runJavaScriptPrompt):
+ * bridge/win/FrameWin.h:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::registerCommandForRedo):
+
+2006-09-21 Sean Gies <seangies@apple.com>
+
+ Reviewed by NOBODY.
+
+ Unfork GraphicsContextCG.cpp.
+
+ * WebCore.vcproj/WebCore.vcproj: Unfork GraphicsContextCG.cpp and add GraphicsContextWin.cpp
+ * platform/win/GraphicsContextWin.cpp: Added.
+
+2006-09-21 Luke Wallis <wallis@apple.com>
+
+ Rubber stamped by Steve.
+
+ Added (commented out for now) defines for building on PLATFORM(CG).
+
+ * config.h:
+
+2006-09-21 Luke Wallis <wallis@apple.com>
+
+ Reviewed by Adam Roben.
+
+ Fix build. Added #if PLATFORM(CG) around variable defined only for CG.
+
+ * platform/win/FontDataWin.cpp:
+ (WebCore::FontData::platformInit):
+
+2006-09-21 Sean Gies <seangies@apple.com>
+
+ Reviewed by Adam Roben.
+
+ Draw form controls when rendering with CG.
+
+ * platform/cg/GraphicsContextCG.cpp:
+ (WebCore::CGContextWithHDC): New function to create CGContext given an HDC.
+ (WebCore::GraphicsContext::GraphicsContext): New constructor that takes an HDC.
+ (WebCore::GraphicsContext::getWindowsContext): Return underlying HDC to client.
+ (WebCore::GraphicsContext::releaseWindowsContext): Restore underlying HDC after client mucked with it.
+ * platform/cg/GraphicsContextPlatformPrivate.h: Add field to hold HDC.
+ * rendering/RenderThemeWin.cpp: Implement prepareForDrawing and doneDrawing for CG.
+
+2006-09-21 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Tim O.
+
+ Support getting the plugin element as an NPObject.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::getValue):
+ (WebCore::PluginViewWin::PluginViewWin):
+ * plugins/win/PluginViewWin.h:
+
+2006-09-21 Sean Gies <seangies@apple.com>
+
+ Reviewed by Adam Roben.
+
+ Forked GraphicsContextCG.cpp and GraphicsContextPlatformPrivate.h from open source #16504.
+
+ * platform/cg/GraphicsContextCG.cpp: Added.
+ * platform/cg/GraphicsContextPlatformPrivate.h: Added.
+
+2006-09-21 Sean Gies <seangies@apple.com>
+
+ Reviewed by Adam Roben.
+
+ Support synthetic bold and/or oblique with CG.
+
+ * platform/win/FontCacheWin.cpp: Pass new arguments to updated FontPlatformData constructor.
+ * platform/win/FontDataWin.cpp:
+ (WebCore::FontData::platformInit): Choose synthetic bold offset.
+ (WebCore::FontData::platformWidthForGlyph): Take synthetic bold offset into account.
+ * platform/win/FontPlatformData.h: Add fields for synthetic styles.
+ * platform/win/FontPlatformDataWin.cpp: Ask HFONT if it supports bold or italics.
+ * platform/win/FontWin.cpp:
+ (WebCore::Font::drawGlyphs): Restore code for implementing synthetic stlyes.
+
+2006-09-21 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Anders
+
+ Fixed one definite bug and did alot of cleanup to make it resemble the unforked version of the file
+ in preparation for merging it back out
+
+ * platform/win/ResourceLoaderWin.cpp:
+ (WebCore::ResourceLoaderWndProc):
+ (WebCore::transferJobStatusCallback): Fixed a bug here! :)
+ (WebCore::ResourceLoader::start):
+ (WebCore::ResourceLoader::fileLoadTimer):
+ (WebCore::ResourceLoader::cancel):
+
+2006-09-21 2006-09-21 Dave Hyatt <hyatt@apple.com>
+
+ Implement mouse wheel scrolling on Win32. Also forked ScrollViewWin.cpp and fixed some bugs in it.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/ScrollViewWin.cpp: Added.
+ (WebCore::ScrollView::ScrollViewPrivate::ScrollViewPrivate):
+ (WebCore::ScrollView::ScrollView):
+ (WebCore::ScrollView::~ScrollView):
+ (WebCore::ScrollView::updateContents):
+ (WebCore::ScrollView::visibleWidth):
+ (WebCore::ScrollView::visibleHeight):
+ (WebCore::ScrollView::visibleContentRect):
+ (WebCore::ScrollView::setContentsPos):
+ (WebCore::ScrollView::resizeContents):
+ (WebCore::ScrollView::contentsX):
+ (WebCore::ScrollView::contentsY):
+ (WebCore::ScrollView::contentsWidth):
+ (WebCore::ScrollView::contentsHeight):
+ (WebCore::ScrollView::viewportToContents):
+ (WebCore::ScrollView::contentsToViewport):
+ (WebCore::ScrollView::scrollOffset):
+ (WebCore::ScrollView::maximumScroll):
+ (WebCore::ScrollView::scrollBy):
+ (WebCore::ScrollView::hScrollBarMode):
+ (WebCore::ScrollView::vScrollBarMode):
+ (WebCore::ScrollView::suppressScrollBars):
+ (WebCore::ScrollView::setHScrollBarMode):
+ (WebCore::ScrollView::setVScrollBarMode):
+ (WebCore::ScrollView::setScrollBarsMode):
+ (WebCore::ScrollView::setStaticBackground):
+ (WebCore::ScrollView::updateScrollInfo):
+ (WebCore::ScrollView::updateScrollBars):
+ (WebCore::ScrollView::wheelEvent):
+ * platform/win/WheelEventWin.cpp: Added.
+ (WebCore::positionForEvent):
+ (WebCore::globalPositionForEvent):
+ (WebCore::PlatformWheelEvent::PlatformWheelEvent):
+
+2006-09-20 Sean Gies <seangies@apple.com>
+
+ Reviewed by Adam Roben.
+
+ Added platform/cg/ColorCG.cpp
+
+ * WebCore.vcproj/WebCore.vcproj: Add ColorCG.cpp
+ * platform/cg/ColorCG.cpp: Added.
+
+2006-09-20 Sean Gies <seangies@apple.com>
+
+ Reviewed by Adam Roben.
+
+ Fixed ugly text spacing issues with CG for Windows.
+
+ * platform/win/FontDataWin.cpp: Reimplement platformWidthForGlyph using CG APIs.
+
+2006-09-19 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Dave Hyatt.
+
+ <rdar://problem/4734743> Crash accessing YouTube.
+
+ * config.h:
+ Enable some more of the JSC bindings code on Windows.
+
+2006-09-18 Brady Eidson <beidson@apple.com>
+
+ YABF, and merged a change from open source ResourceLoaderWin.cpp
+
+ * bridge/win/FrameWin.h:
+ * platform/win/ResourceLoaderWin.cpp:
+ (WebCore::ResourceLoader::fileLoadTimer):
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::isLoadTypeReload):
+
+2006-09-18 Sean Gies <seangies@apple.com>
+
+ Reviewed by Adam Roben.
+
+ Support bold & italics.
+
+ * platform/win/FontPlatformDataWin.cpp: Use GetOutlineTextMetrics instead of GetTextFace to
+ query HFONT name.
+
+2006-09-18 Sean Gies <seangies@apple.com>
+
+ Reviewed by Adam Roben.
+
+ Changes to bring up CoreGraphics on Windows.
+
+ * WebCore.vcproj/WebCore.vcproj: Search platform/cg for headers. Compile platform/cg/*.cpp.
+ Add AffineTransform.cpp to build.
+ * platform/win/FontDataWin.cpp: Include CG before using it.
+ * platform/win/FontPlatformDataWin.cpp: Fixed typo.
+ * platform/win/ImageWin.cpp: Include CG and winsock2. Implement CG version of Image::getHBITMAP.
+ In Cairo version of Image::getHBITMAP, use correct bitmapInfo field and return true for success.
+ Fixed image loading bug.
+
+2006-09-18 Brady Eidson <beidson@apple.com>
+
+ Rubberstamp by Adam
+
+ Build fix
+
+ * bridge/win/FrameWin.h:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::originalRequestURL):
+
+2006-09-18 Sean Gies <seangies@apple.com>
+
+ Reviewed by Adam Roben.
+
+ Forked FontCacheWin.cpp from OpenSource tree r16421.
+
+ * WebCore.vcproj/WebCore.vcproj: Point to Internal file.
+ * platform/win/FontCacheWin.cpp: Added.
+
+2006-09-15 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Steve.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Add JavaScriptCore/ to include path.
+
+2006-09-15 Adam Roben <aroben@apple.com>
+
+ Reviewed by sfalken.
+
+ Implement historyContains() on Windows (rdar://4733770)
+
+ * WebCore.vcproj/WebCore.vcproj: Add
+ platform\win\WebCoreHistory.{cpp,h} and bridge\win\HistoryWin.cpp to
+ project.
+ * bridge/win/HistoryWin.cpp: Added.
+ (WebCore::historyContains):
+ * platform/win/TemporaryLinkStubs.cpp: Remove stub for
+ WebCore::historyContains()
+ * platform/win/WebCoreHistory.cpp: Added.
+ (WebCore::WebCoreHistory::setHistoryProvider):
+ (WebCore::WebCoreHistory::historyProvider):
+ * platform/win/WebCoreHistory.h: Added.
+
+2006-09-14 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Lou Amadio.
+
+ iBench fix - fix WinInet form post code to not reference a stale pointer.
+ (found by Application Verifier)
+
+ * platform/win/ResourceLoaderWin.cpp:
+ (WebCore::ResourceLoaderWndProc):
+
+2006-09-14 Adam Roben <aroben@apple.com>
+
+ Reviewed by sfalken.
+
+ A little #include cleanup
+
+ * WebCore.vcproj/WebCore.vcproj: Add loader/icon to
+ AdditionalIncludeDirectories
+ * platform/win/TemporaryLinkStubs.cpp: Remove "loader/icon" from
+ #include of IconLoader.h
+
+2006-09-14 Brady Eidson <beidson@apple.com>
+
+ Build Fix
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (IconLoader::receivedResponse):
+ (IconLoader::notifyIconChanged):
+
+2006-09-13 Steve Falkenburg <sfalken@apple.com>
+
+ Fixes for submission of WebCore. Doesn't affect build.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * WebCore.vcproj/merge-opensource.sh:
+
+2006-09-12 Steve Falkenburg <sfalken@apple.com>
+
+ Rubber-stamped by Ada.
+
+ Get Boomer ready for B&I submission.
+
+ Projects can now all build independent of one another
+ without groping for headers or source across trees.
+
+ * WebCore.vcproj/WebCore.sln: Fix standalone sln for use by B&I.
+ * WebCore.vcproj/WebCore.vcproj: Update to new obj layout.
+ * WebCore.vcproj/build-generated-files.sh: Build derived sources into obj, update to new obj layout.
+ * WebCore.vcproj/dstroot-to-sdk.cmd: Copy built bits back to WebKitSDKDir for dependent builds.
+
+2006-09-13 Adam Roben <aroben@apple.com>
+
+ Build fix
+
+ * WebCore.vcproj/WebCore.vcproj: Rename KHTML_XSLT to XSLT_SUPPORT,
+ remove KHTML_NO_XBL
+ * config.h: Ditto.
+
+2006-09-13 Adam Roben <aroben@apple.com>
+
+ Reviewed by beidson.
+
+ Initial implementation of Icon, FileChooser on Windows.
+
+ * WebCore.vcproj/WebCore.vcproj: Added FileChooserWin.cpp, IconWin.cpp
+ * platform/win/FileChooserWin.cpp: Added.
+ (WebCore::FileChooser::FileChooser):
+ (WebCore::FileChooser::openFileChooser):
+ (WebCore::FileChooser::basenameForWidth):
+ (WebCore::FileChooser::uploadControlDetaching):
+ (WebCore::FileChooser::chooseFile):
+ * platform/win/IconWin.cpp: Added.
+ (WebCore::Icon::Icon):
+ (WebCore::Icon::~Icon):
+ (WebCore::Icon::newIconForFile):
+ (WebCore::Icon::paint):
+ * platform/win/TemporaryLinkStubs.cpp: Removed FileChooser, Icon stub
+ functions
+
+2006-09-13 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Tim O.
+
+ Implement postURL and postURLNotify.
+
+ * plugins/win/PluginStreamWin.cpp:
+ (WebCore::PluginStreamWin::~PluginStreamWin):
+ (WebCore::PluginStreamWin::start):
+ (WebCore::PluginStreamWin::startStream):
+ (WebCore::PluginStreamWin::cancelAndDestroyStream):
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::start):
+ (WebCore::PluginViewWin::loadURL):
+ (WebCore::PluginViewWin::getURLNotify):
+ (WebCore::PluginViewWin::getURL):
+ (WebCore::startsWithBlankLine):
+ (WebCore::locationAfterFirstBlankLine):
+ (WebCore::findEOL):
+ (WebCore::capitalizeRFC822HeaderFieldName):
+ (WebCore::parseRFC822HeaderFields):
+ (WebCore::PluginViewWin::handlePost):
+ (WebCore::PluginViewWin::postURLNotify):
+ (WebCore::PluginViewWin::postURL):
+ * plugins/win/PluginViewWin.h:
+
+2006-09-13 Lou Amadio <lamadio@apple.com>
+
+ Reviewed by sfalken
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-09-13 Adam Roben <aroben@apple.com>
+
+ Build fix
+
+ * WebCore.vcproj/build-generated-files.sh: Export SOURCE_ROOT which is
+ now used by CodeGenerator.pm
+
+2006-09-12 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Tim O.
+
+ Add scripting support for plugins.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::FrameWin):
+ (WebCore::FrameWin::addPluginRootObject):
+ (WebCore::FrameWin::cleanupPluginObjects):
+ (WebCore::FrameWin::bindingRootObject):
+ (WebCore::FrameWin::windowScriptNPObject):
+ * bridge/win/FrameWin.h:
+ * plugins/win/PluginPackageWin.cpp:
+ (WebCore::PluginPackageWin::load):
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::getValue):
+ * plugins/win/npapi.cpp:
+ (NPN_RequestRead):
+ (NPN_InvalidateRect):
+ (NPN_InvalidateRegion):
+ (NPN_ForceRedraw):
+
+2006-09-12 Adam Roben <aroben@apple.com>
+
+ Reviewed many times by darin, hyatt.
+
+ Add stubs for new engine-based file upload control implementation and
+ Icon class.
+
+ * WebCore.vcproj/WebCore.vcproj: Add new engine-based files, remove old
+ widget-based files.
+ * platform/win/TemporaryLinkStubs.cpp: Add stubs for FileChooser and
+ Icon methods, and add two new LocalizedString methods.
+ (WebCore::fileButtonChooseFileLabel):
+ (WebCore::fileButtonNoFileSelectedLabel):
+ (FileChooser::FileChooser):
+ (FileChooser::~FileChooser):
+ (FileChooser::openFileChooser):
+ (FileChooser::basenameForWidth):
+ (FileChooser::uploadControlDetaching):
+ (Icon::~Icon):
+ (Icon::paint):
+
+2006-09-11 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Tim O.
+
+ Add stream and URL handling to PluginViewWin. Include PluginStreamWin.cpp in the build.
+ Also fix a number of bugs discovered when loading various plugins.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginRequestWin::PluginRequestWin):
+ (WebCore::PluginRequestWin::url):
+ (WebCore::PluginRequestWin::target):
+ (WebCore::PluginRequestWin::notifyData):
+ (WebCore::PluginRequestWin::sendNotification):
+ (WebCore::scriptStringIfJavaScriptURL):
+ (WebCore::registerPluginView):
+ (WebCore::PluginViewWndProc):
+ (WebCore::PluginViewWin::updateSize):
+ (WebCore::PluginViewWin::setFrameGeometry):
+ (WebCore::PluginViewWin::start):
+ (WebCore::PluginViewWin::stop):
+ (WebCore::createUTF8String):
+ (WebCore::PluginViewWin::performRequest):
+ (WebCore::PluginViewWin::requestTimerFired):
+ (WebCore::PluginViewWin::scheduleRequest):
+ (WebCore::PluginViewWin::loadURL):
+ (WebCore::makeURL):
+ (WebCore::PluginViewWin::getURLNotify):
+ (WebCore::PluginViewWin::getURL):
+ (WebCore::PluginViewWin::newStream):
+ (WebCore::PluginViewWin::write):
+ (WebCore::PluginViewWin::destroyStream):
+ (WebCore::PluginViewWin::userAgent):
+ (WebCore::PluginViewWin::~PluginViewWin):
+ (WebCore::PluginViewWin::PluginViewWin):
+ * plugins/win/PluginViewWin.h:
+
+2006-09-11 Anders Carlsson <acarlsson@apple.com>
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Fix build.
+
+2006-09-11 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Tim O and Maciej.
+
+ Add plugin stream object.
+
+ * plugins/win/PluginStreamWin.cpp: Added.
+ (WebCore::PluginStreamWin::PluginStreamWin):
+ (WebCore::PluginStreamWin::~PluginStreamWin):
+ (WebCore::PluginStreamWin::setRequestHeaders):
+ (WebCore::PluginStreamWin::setPostData):
+ (WebCore::PluginStreamWin::start):
+ (WebCore::PluginStreamWin::stop):
+ (WebCore::PluginStreamWin::startStream):
+ (WebCore::PluginStreamWin::cancelAndDestroyStream):
+ (WebCore::PluginStreamWin::destroyStream):
+ (WebCore::PluginStreamWin::delayDeliveryTimerFired):
+ (WebCore::PluginStreamWin::deliverData):
+ (WebCore::PluginStreamWin::receivedResponse):
+ (WebCore::PluginStreamWin::receivedData):
+ (WebCore::PluginStreamWin::receivedAllData):
+ * plugins/win/PluginStreamWin.h: Added.
+
+2006-09-10 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Steven Falkenburg
+
+ Added IconDatabase related code and forked ImageWin for its HBITMAP blit
+
+ * WebCore.vcproj/WebCore.vcproj: Added in all WebCore::IconDatabase stuffs
+ * platform/win/ImageWin.cpp: Added. (forked from OpenSource)
+ (WebCore::Image::initPlatformData):
+ (WebCore::Image::invalidatePlatformData):
+ (WebCore::Image::loadPlatformResource):
+ (WebCore::Image::supportsType):
+ (WebCore::Image::getHBITMAP): Added - blit the image to an HBITMAP
+
+2006-09-10 David Hyatt <hyatt@apple.com>
+
+ Remove the addIntrinsicMargins code from the theme. I did this
+ in the open source version but forgot to do it in the internal
+ version.
+
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::RenderThemeWin::adjustButtonStyle):
+ (WebCore::RenderThemeWin::adjustTextFieldStyle):
+ (WebCore::RenderThemeWin::adjustTextAreaStyle):
+ (WebCore::RenderThemeWin::adjustMenuListStyle):
+
+2006-09-10 Brady Eidson <beidson@apple.com>
+
+ Reviewed by YABF, and Adam's suggestive rubberstamp before he hopped offline
+
+ Build fix + FIXME/Radar to reflect an OpenSource change to the Font.h header
+
+ * platform/win/FontWin.cpp:
+ (WebCore::Font::drawGlyphs): Added the parameter and a FIXME
+
+2006-09-10 Steve Falkenburg <sfalken@apple.com>
+
+ Rubber-stamp by aroben.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-09-09 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by aroben.
+
+ Added missing CF files to fix CFNetwork build variant
+
+ * WebCore.vcproj/WebCore.vcproj: Use include paths, libs, DLLs from %SystemDrive%\AppleInternal
+ * WebCore.vcproj/build-generated-files.sh: Don't copy open source DLLs from WebKitLibraries
+
+2006-09-09 Adam Roben <aroben@apple.com>
+
+ Reviewed by hyatt.
+
+ Remove unnecessary calls to setAffectedBy{Active,Hover}Rules
+
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::RenderThemeWin::adjustMenuListStyle): Remove unnecessary calls
+
+2006-09-06 Brady Eidson <beidson@apple.com>
+
+ YABF (Yet another build fix)
+
+ * platform/win/FontDataWin.cpp: Added missing header
+
+2006-09-06 Brady Eidson <beidson@apple.com>
+
+ Reviewed by Steve's rubberstamp
+
+ Three stubs were added this morning, however the methods were already implemented in
+ Internal/OpenSourceWin/WebCoreWin/bridge/win/FrameWin.cpp
+
+ * platform/win/TemporaryLinkStubs.cpp: Nuked some repeat symbols
+
+2006-09-06 Adam Roben <aroben@apple.com>
+
+ Reviewed by Darin.
+
+ Fixed various Windows build issues caused by previous checkins.
+
+ * bridge/win/FrameWin.h: Added missing #include, updated Selection to SelectionController.
+ * platform/win/FontWin.cpp: Reorganized #includes.
+ (WebCore::Font::drawGlyphs): Used a const_cast hack to fix ultimately broken code.
+ * platform/win/ResourceLoaderWin.cpp: Added missing #include of CString.h and removed double #include of config.h.
+ (WebCore::ResourceLoaderWndProc): Removed use of String::ascii.
+ (WebCore::ResourceLoader::start): Ditto.
+ * platform/win/TemporaryLinkStubs.cpp: Added missing stubs.
+ (FrameWin::markMisspellings):
+ (FrameWin::shouldChangeSelection):
+ (FrameWin::respondToChangedSelection):
+ (FrameWin::respondToChangedContents):
+ (FrameWin::handledOnloadEvents):
+ (FrameWin::createPlugin):
+ (FrameWin::objectContentType):
+ * rendering/RenderPopupMenuWin.cpp: Added missing #include.
+
+2006-09-05 Darin Adler <darin@apple.com>
+
+ - build fix part of http://bugzilla.opendarwin.org/show_bug.cgi?id=10728
+ text encodings should work without a numeric ID
+
+ * WebCore.vcproj/WebCore.vcproj: Update for new headers.
+
+2006-09-01 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by adachan.
+
+ Process redirects received in networking layer through to application.
+ With this change, the address bar url edit field shows the proper
+ redirected URL.
+
+ * platform/win/ResourceLoaderWin.cpp:
+ (WebCore::ResourceLoaderWndProc):
+ (WebCore::transferJobStatusCallback):
+ (WebCore::ResourceLoader::start):
+
+2006-09-01 Ada Chan <adachan@apple.com>
+
+ Reviewed by lamadio.
+
+ Fixed build break.
+
+ * bridge/win/FrameWin.h:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (FrameWin::respondToChangedContents):
+
+2006-08-31 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Steve.
+
+ Add our own internal config.h so we can make changes to it.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Add config.h to the file list, move the KXMLCORE_PLATFORM_CF to the new config.h file
+
+ * config.h: Added.
+
+ * platform/win/ResourceLoaderWin.cpp:
+ Include config.h
+
+2006-08-31 Dave Hyatt <hyatt@apple.com>
+
+ Add a platform scrollbar class for Windows. It doesn't really work yet.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/TemporaryLinkStubs.cpp:
+ * platform/win/PlatformScrollBarWin.cpp
+
+2006-08-31 Anders Carlsson <acarlsson@apple.com>
+
+ Fix the build.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-08-30 Steve Falkenburg <sfalken@apple.com>
+
+ Reviewed by Ada Chan.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::submitForm): Pass form values to submit form delegate
+ * bridge/win/FrameWin.h: Pass form values to submit form delegate
+
+2006-08-29 David Hyatt <hyatt@apple.com>
+
+ Make project changes so that the forked Font files (and Cairo/JPG/PNG) are all used.
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-08-29 David Hyatt <hyatt@apple.com>
+
+ This patch lands all the font changes. It does not patch the project file
+ yet, since this was done on Mac. Will switch to Win32 after landing this
+ and then fix any glitches.
+
+ * platform/cairo/cairo-all.c: Added.
+ * platform/cairo/pixman-all.c: Added.
+ * platform/image-decoders/jpeg/jpeg-part1.c: Added.
+ * platform/image-decoders/jpeg/jpeg-part2.c: Added.
+ * platform/image-decoders/jpeg/jpeg-part3.c: Added.
+ * platform/image-decoders/png/png-part1.c: Added.
+ * platform/image-decoders/png/png-part2.c: Added.
+ * platform/win/FontDataWin.cpp:
+ (WebCore::FontData::platformInit):
+ (WebCore::FontData::platformDestroy):
+ (WebCore::FontData::platformWidthForGlyph):
+ * platform/win/FontPlatformData.h:
+ (WebCore::FontPlatformData::FontPlatformData):
+ (WebCore::FontPlatformData::cgFont):
+ (WebCore::FontPlatformData::operator==):
+ * platform/win/FontPlatformDataWin.cpp:
+ (WebCore::m_size):
+ * platform/win/FontWin.cpp:
+ (WebCore::Font::drawGlyphs):
+
+2006-08-29 David Hyatt <hyatt@apple.com>
+
+ Forking the font files in preparation for dropping in CG code.
+
+ Reviewed by adam
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/FontDataWin.cpp: Added.
+ (WebCore::FontData::platformInit):
+ (WebCore::FontData::platformDestroy):
+ (WebCore::FontData::smallCapsFontData):
+ (WebCore::FontData::containsCharacters):
+ (WebCore::FontData::determinePitch):
+ (WebCore::FontData::platformWidthForGlyph):
+ * platform/win/FontPlatformData.h: Added.
+ (WebCore::FontPlatformData::FontPlatformData):
+ (WebCore::FontPlatformData::hfont):
+ (WebCore::FontPlatformData::fontFace):
+ (WebCore::FontPlatformData::scaledFont):
+ (WebCore::FontPlatformData::size):
+ (WebCore::FontPlatformData::hash):
+ (WebCore::FontPlatformData::operator==):
+ * platform/win/FontPlatformDataWin.cpp: Added.
+ (WebCore::m_size):
+ (WebCore::FontPlatformData::~FontPlatformData):
+ * platform/win/FontWin.cpp: Added.
+ (WebCore::notImplemented):
+ (WebCore::Font::drawGlyphs):
+ (WebCore::Font::selectionRectForComplexText):
+ (WebCore::Font::drawComplexText):
+ (WebCore::Font::floatWidthForComplexText):
+ (WebCore::Font::offsetForPositionForComplexText):
+
+2006-08-28 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Maciej.
+
+ Landed CFNetwork loader, off by default. To enable, define:
+ KXMLCORE_PLATFORM_CF
+ KXMLCORE_USE_CFNETWORK
+
+ CFNetwork uses winsock2. If you do this, you need to make sure that winsock2.h
+ is included before windows.h in any translation unit in which it's used.
+ A lot of the jiggering in this patch is devoted to that.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/ResourceLoaderWin.cpp: Removed reliance on PlatformData
+ since it wasn't being used, and removing it made easy work of integrating
+ CFNetwork in a Windows-independent way.
+ (WebCore::ResourceLoaderWndProc):
+ (WebCore::ResourceLoader::fileLoadTimer):
+ (WebCore::ResourceLoader::cancel):
+ * platform/win/TemporaryLinkStubs.cpp:
+ (Path::contains):
+ * platform/win/WidgetWin.cpp:
+ * plugins/win/PluginDatabaseWin.cpp:
+ * plugins/win/PluginPackageWin.h:
+ * plugins/win/PluginViewWin.h:
+ * plugins/win/npapi.cpp:
+ * rendering/RenderPopupMenuWin.cpp:
+ * rendering/RenderPopupMenuWin.h:
+ * rendering/RenderThemeWin.cpp:
+
+2006-08-28 Ada Chan <adachan@apple.com>
+
+ Reviewed by ggaren.
+
+ Fixed build.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ (Path::contains):
+
+2006-08-25 David Hyatt <hyatt@apple.com>
+
+ Land CG/Cairo refactoring (and add some winsock2.h). (I do not really
+ understand why the winsock2.h stuff would suddenly be needed.)
+
+ * platform/win/ResourceLoaderWin.h:
+ * platform/win/TemporaryLinkStubs.cpp:
+ (GraphicsContext::setAlpha):
+ (GraphicsContext::drawFocusRing):
+ (GraphicsContext::drawLineForMisspelling):
+ (GraphicsContext::setCompositeOperation):
+ * plugins/win/PluginPackageWin.h:
+ * plugins/win/PluginViewWin.h:
+ * plugins/win/npapi.cpp:
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::prepareForDrawing):
+ (WebCore::doneDrawing):
+
+2006-08-24 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Darin.
+
+ Frame refactoring: changed FrameView clients so they no longer assume that
+ FrameViews are Widgets that can tell you things about the platform, in
+ preparation for divorcing FrameViews from heavy-weight Widgets altogether.
+
+ This patch makes Page, rather than Widget, responsible for holding the
+ page's HWND. Refactoring aside, I think this makes more sense.
+
+2006-08-24 Geoffrey Garen <ggaren@apple.com>
+
+ Reviewed by Hyatt.
+
+ Branching PageWin.cpp from r15969.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * bridge/win/PageWin.cpp: Added.
+ (WebCore::Page::Page):
+ (WebCore::Page::windowRect):
+ (WebCore::Page::setWindowRect):
+
+2006-08-23 Adam Roben <aroben@apple.com>
+
+ Reviewed by Ada.
+
+ Fixed placement of popups when document is scrolled.
+
+ * rendering/RenderPopupMenuWin.cpp:
+ (WebCore::RenderPopupMenuWin::setPositionAndSize):
+
+2006-08-23 Steve Falkenburg <sfalken@apple.com>
+
+ Build fix (many of our include paths were wrong!)
+
+ * WebCore.vcproj/WebCore.vcproj:
+
+2006-08-23 Adam Roben <aroben@apple.com>
+
+ Reviewed by Darin, Lou, Adele.
+
+ Initial implementation of <select> elements on Windows.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Added RenderPopupMenuWin.cpp
+ * platform/win/TemporaryLinkStubs.cpp:
+ (RenderPopupMenuWin::addGroupLabel):
+ * rendering/RenderPopupMenuWin.cpp: Added.
+ (WebCore::RenderPopupMenuWin::RenderPopupMenuWin):
+ (WebCore::RenderPopupMenuWin::~RenderPopupMenuWin):
+ (WebCore::RenderPopupMenuWin::clear):
+ (WebCore::RenderPopupMenuWin::populate):
+ (WebCore::RenderPopupMenuWin::showPopup):
+ (WebCore::RenderPopupMenuWin::hidePopup):
+ (WebCore::RenderPopupMenuWin::setPositionAndSize):
+ (WebCore::RenderPopupMenuWin::addOption):
+ (WebCore::RenderPopupMenuWin::down):
+ (WebCore::RenderPopupMenuWin::up):
+ (WebCore::registerPopup):
+ (WebCore::PopupWndProc):
+ * rendering/RenderPopupMenuWin.h:
+ Added useful properties.
+ (WebCore::RenderPopupMenuWin::popupHandle):
+ (WebCore::RenderPopupMenuWin::containerHandle):
+ (WebCore::RenderPopupMenuWin::wasClicked):
+ (WebCore::RenderPopupMenuWin::setWasClicked):
+ * rendering/RenderThemeWin.cpp:
+ (WebCore::RenderThemeWin::RenderThemeWin):
+ (WebCore::RenderThemeWin::openButtonTheme):
+ (WebCore::RenderThemeWin::openTextFieldTheme):
+ (WebCore::RenderThemeWin::openMenuListTheme):
+ (WebCore::RenderThemeWin::close):
+ (WebCore::RenderThemeWin::supportsFocus):
+ (WebCore::RenderThemeWin::determineState):
+ (WebCore::RenderThemeWin::getThemeData):
+ (WebCore::RenderThemeWin::paintButton):
+ (WebCore::RenderThemeWin::paintTextField):
+ Refactored the above methods and added cases for
+ MenulistAppearance where appropriate.
+ (WebCore::RenderThemeWin::paintMenuList):
+ (WebCore::RenderThemeWin::adjustMenuListStyle):
+ Implemented the above methods.
+ * rendering/RenderThemeWin.h:
+
+2006-08-22 Geoffrey Garen <ggaren@apple.com>
+
+ My first Windows build fix.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ - Link against version.lib, since the new plug-in stuff requires it
+ - Sync the release and debug header search paths, so release
+ finds the JS bindings.
+
+2006-08-18 Anders Carlsson <acarlsson@apple.com>
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::write):
+ (WebCore::PluginViewWin::destroyStream):
+ Another attempt at fixing the build. Make these two functions into instance methods of PluginViewWin.
+
+2006-08-18 Anders Carlsson <acarlsson@apple.com>
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::write):
+ (WebCore::destroyStream):
+ * plugins/win/PluginViewWin.h:
+ Fix build by removing unneeded parameters.
+
+2006-08-18 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Adele.
+
+ Have the NPN functions call into the plugin view. Implement some of the plugin view methods.
+
+ * plugins/win/PluginViewWin.cpp:
+ (WebCore::PluginViewWin::start):
+ (WebCore::PluginViewWin::setCurrentPluginView):
+ (WebCore::PluginViewWin::currentPluginView):
+ (WebCore::PluginViewWin::getURLNotify):
+ (WebCore::PluginViewWin::getURL):
+ (WebCore::PluginViewWin::postURLNotify):
+ (WebCore::PluginViewWin::postURL):
+ (WebCore::PluginViewWin::newStream):
+ (WebCore::write):
+ (WebCore::destroyStream):
+ (WebCore::PluginViewWin::userAgent):
+ (WebCore::PluginViewWin::status):
+ (WebCore::PluginViewWin::getValue):
+ (WebCore::PluginViewWin::setValue):
+ (WebCore::PluginViewWin::~PluginViewWin):
+ (WebCore::PluginViewWin::PluginViewWin):
+ * plugins/win/PluginViewWin.h:
+ * plugins/win/npapi.cpp:
+ (pluginViewForInstance):
+ (NPN_ReloadPlugins):
+ (NPN_GetURLNotify):
+ (NPN_GetURL):
+ (NPN_PostURLNotify):
+ (NPN_PostURL):
+ (NPN_NewStream):
+ (NPN_Write):
+ (NPN_DestroyStream):
+ (NPN_UserAgent):
+ (NPN_Status):
+ (NPN_GetValue):
+ (NPN_SetValue):
+
+2006-08-17 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Steve and Maciej.
+
+ Add initial implementation of plugin view.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Add files.
+
+ * bridge/win/FrameWin.cpp:
+ (WebCore::FrameWin::objectContentType):
+ (WebCore::FrameWin::createPlugin):
+ Implement these functions.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ Remove implemented functions.
+
+ * platform/win/WidgetWin.cpp: Add this file from the open source repo
+ (WebCore::Widget::~Widget):
+ Call DestroyWindow on the hWnd.
+
+ * plugins/win/PluginDatabaseWin.cpp:
+ (WebCore::PluginDatabaseWin::createPluginView):
+ New function which creates a plugin view.
+
+ * plugins/win/PluginDatabaseWin.h:
+
+ * plugins/win/PluginPackageWin.cpp:
+ (WebCore::PluginPackageWin::load):
+ Assign the browser functions. They are just stubs for now.
+
+ * plugins/win/PluginViewWin.cpp: Added.
+ (WebCore::registerPluginView):
+ (WebCore::PluginViewWndProc):
+ (WebCore::PluginViewWin::invokeSetWindow):
+ (WebCore::PluginViewWin::start):
+ (WebCore::PluginViewWin::stop):
+ (WebCore::createUTF8String):
+ (WebCore::createUTF8StringArray):
+ (WebCore::freeStringArray):
+ (WebCore::PluginViewWin::~PluginViewWin):
+ (WebCore::PluginViewWin::PluginViewWin):
+ * plugins/win/PluginViewWin.h: Added.
+ (WebCore::PluginViewWin::plugin):
+ (WebCore::PluginViewWin::instance):
+ * plugins/win/npapi.cpp: Added.
+ (NPN_MemAlloc):
+ (NPN_MemFree):
+ (NPN_MemFlush):
+ (NPN_ReloadPlugins):
+ (NPN_RequestRead):
+ (NPN_GetURLNotify):
+ (NPN_GetURL):
+ (NPN_PostURLNotify):
+ (NPN_PostURL):
+ (NPN_NewStream):
+ (NPN_Write):
+ (NPN_DestroyStream):
+ (NPN_UserAgent):
+ (NPN_Status):
+ (NPN_InvalidateRect):
+ (NPN_InvalidateRegion):
+ (NPN_ForceRedraw):
+ (NPN_GetValue):
+ (NPN_SetValue):
+ (NPN_GetJavaEnv):
+ (NPN_GetJavaPeer):
+
+2006-08-17 Anders Carlsson <acarlsson@apple.com>
+
+ Reviewed by Maciej.
+
+ Add initial implementation of plugin database.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ Add new files.
+
+ * platform/win/TemporaryLinkStubs.cpp:
+ Get rid of the PlugInInfoStore stubs.
+
+ * plugins/win/PlugInInfoStoreWin.cpp: Added.
+ (WebCore::PlugInInfoStore::createPluginInfoForPluginAtIndex):
+ (WebCore::PlugInInfoStore::pluginCount):
+ (WebCore::PlugInInfoStore::supportsMIMEType):
+ (WebCore::refreshPlugins):
+ * plugins/win/PluginDatabaseWin.cpp: Added.
+ (WebCore::PluginDatabaseWin::installedPlugins):
+ (WebCore::PluginDatabaseWin::refresh):
+ (WebCore::PluginDatabaseWin::plugins):
+ (WebCore::PluginDatabaseWin::getPluginsInPaths):
+ (WebCore::PluginDatabaseWin::defaultPluginPaths):
+ (WebCore::PluginDatabaseWin::isMIMETypeRegistered):
+ (WebCore::PluginDatabaseWin::pluginForMIMEType):
+ (WebCore::PluginDatabaseWin::pluginForExtension):
+ * plugins/win/PluginDatabaseWin.h: Added.
+ (WebCore::PluginDatabaseWin::setPluginPaths):
+ * plugins/win/PluginPackageWin.cpp: Added.
+ (WebCore::PluginPackageWin::~PluginPackageWin):
+ (WebCore::getVersionInfo):
+ (WebCore::splitString):
+ (WebCore::PluginPackageWin::PluginPackageWin):
+ (WebCore::PluginPackageWin::fetchInfo):
+ (WebCore::PluginPackageWin::load):
+ (WebCore::PluginPackageWin::unload):
+ (WebCore::PluginPackageWin::unloadWithoutShutdown):
+ (WebCore::PluginPackageWin::createPackage):
+ (WebCore::PluginPackageWin::hash):
+ (WebCore::PluginPackageWin::equal):
+ * plugins/win/PluginPackageWin.h: Added.
+ (WebCore::PluginPackageWin::name):
+ (WebCore::PluginPackageWin::description):
+ (WebCore::PluginPackageWin::fileName):
+ (WebCore::PluginPackageWin::mimeToDescriptions):
+ (WebCore::PluginPackageWin::mimeToExtensions):
+ (WebCore::PluginPackageWin::pluginFuncs):
+ (WebCore::PluginPackageWinHash::hash):
+ (WebCore::PluginPackageWinHash::equal):
+ (WTF::):
+ * plugins/win/npfunctions.h: Added.
+
+2006-08-17 Adam Roben <aroben@apple.com>
+
+ Removing this unintentionally added file.
+
+ * rendering/RenderPopupMenuWin.cpp: Removed.
+
+2006-08-17 Adam Roben <aroben@apple.com>
+
+ Reviewed by Steve.
+
+ Branching files from OpenSource tree r15924 to prepare for <select>
+ element implementation.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * rendering/RenderPopupMenuWin.h: Added.
+ (WebCore::RenderPopupMenuWin::RenderPopupMenuWin):
+ * rendering/RenderThemeWin.cpp: Added.
+ (WebCore::theme):
+ (WebCore::m_textFieldTheme):
+ (WebCore::RenderThemeWin::~RenderThemeWin):
+ (WebCore::RenderThemeWin::close):
+ (WebCore::RenderThemeWin::platformActiveSelectionBackgroundColor):
+ (WebCore::RenderThemeWin::platformInactiveSelectionBackgroundColor):
+ (WebCore::RenderThemeWin::platformActiveSelectionForegroundColor):
+ (WebCore::RenderThemeWin::platformInactiveSelectionForegroundColor):
+ (WebCore::RenderThemeWin::addIntrinsicMargins):
+ (WebCore::RenderThemeWin::supportsFocus):
+ (WebCore::RenderThemeWin::determineState):
+ (WebCore::RenderThemeWin::getThemeData):
+ (WebCore::RenderThemeWin::adjustButtonStyle):
+ (WebCore::prepareForDrawing):
+ (WebCore::doneDrawing):
+ (WebCore::RenderThemeWin::paintButton):
+ (WebCore::RenderThemeWin::setCheckboxSize):
+ (WebCore::RenderThemeWin::setRadioSize):
+ (WebCore::RenderThemeWin::adjustTextFieldStyle):
+ (WebCore::RenderThemeWin::paintTextField):
+ (WebCore::RenderThemeWin::adjustTextAreaStyle):
+ (WebCore::RenderThemeWin::paintTextArea):
+ (WebCore::RenderThemeWin::createPopupMenu):
+ * rendering/RenderThemeWin.h: Added.
+ (WebCore::ThemeData::m_state):
+ (WebCore::RenderThemeWin::supportsHover):
+ (WebCore::RenderThemeWin::paintCheckbox):
+ (WebCore::RenderThemeWin::paintRadio):
+
+2006-08-15 Steve Falkenburg <sfalken@apple.com>
+
+ Pull TemporaryLinkStubs.cpp into internal tree to fix the build.
+
+ * WebCore.vcproj/WebCore.vcproj:
+ * platform/win/TemporaryLinkStubs.cpp: Added.
+ (notImplemented):
+ (FrameView::updateBorder):
+ (FrameView::isFrameView):
+ (PopUpButton::focusPolicy):
+ (PopUpButton::populate):
+ (Widget::enableFlushDrawing):
+ (Widget::isEnabled):
+ (Widget::focusPolicy):
+ (Widget::disableFlushDrawing):
+ (Widget::lockDrawingFocus):
+ (Widget::unlockDrawingFocus):
+ (JavaAppletWidget::JavaAppletWidget):
+ (TextField::selectAll):
+ (TextField::addSearchResult):
+ (TextField::selectionStart):
+ (TextField::hasSelectedText):
+ (TextField::selectedText):
+ (TextField::setAutoSaveName):
+ (TextField::checksDescendantsForFocus):
+ (TextField::setSelection):
+ (TextField::setMaxResults):
+ (TextField::edited):
+ (Slider::Slider):
+ (Slider::sizeHint):
+ (Slider::setValue):
+ (Slider::setMaxValue):
+ (Slider::setMinValue):
+ &n