blob: beb9f8afe67d02fa391b57b0299a64b8ab92c81e [file] [log] [blame]
2008-10-31 Kevin Ollivier <kevino@theolliviers.com>
wxMSW build fix. Missing header.
* WebKitSupport/ChromeClientWx.cpp:
2008-10-29 Kevin Ollivier <kevino@theolliviers.com>
wx build fixes after addition of runtime and ImageBuffer changes.
* presets/wxwebkit.bkl:
2008-10-28 Cameron Zwarich <zwarich@apple.com>
Reviewed by Mark Rowe.
Move ForwardingHeaders to their correct location after the creation of
the runtime directory in JavaScriptCore.
* WebFrame.cpp:
* WebView.cpp:
2008-10-27 Kevin Ollivier <kevino@theolliviers.com>
wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
* presets/wxwebkit.bkl:
2008-10-25 Kevin Ollivier <kevino@theolliviers.com>
wx build fix.
* WebKitSupport/ChromeClientWx.h:
2008-10-24 Sam Weinig <sam@webkit.org>
Reviewed by Dan Bernstein.
Fix https://bugs.webkit.org/show_bug.cgi?id=21759
Layering violation: FileChooser should not depend on Document/Frame/Page
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::runOpenPanel):
* WebKitSupport/ChromeClientWx.h:
2008-10-24 David Kilzer <ddkilzer@apple.com>
Build fix.
Reviewed by Greg Bolsinga.
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClientWx::populateSetting): Changed
InspectorClient:: to InspectorClientWx::.
(WebCore::InspectorClientWx::storeSetting): Ditto.
(WebCore::InspectorClientWx::removeSetting): Ditto.
2008-10-24 Timothy Hatcher <timothy@apple.com>
Stub out new InspectorClient methods.
https://bugs.webkit.org/show_bug.cgi?id=21856
Reviewed by Darin Adler.
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClient::populateSetting): Not implemented.
(WebCore::InspectorClient::storeSetting): Ditto.
(WebCore::InspectorClient::removeSetting): Ditto.
* WebKitSupport/InspectorClientWx.h:
2008-10-24 Darin Adler <darin@apple.com>
- finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
* WebFrame.cpp: (wxWebFrame::RunScript): Use JSValue* instead of JSValuePtr.
2008-10-20 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
Remove FrameLoaderClient::detachedFromParent4. It is no longer used by any port.
* WebKitSupport/FrameLoaderClientWx.cpp:
* WebKitSupport/FrameLoaderClientWx.h:
2008-10-19 Darin Adler <darin@apple.com>
Reviewed by Oliver Hunt.
- next step of https://bugs.webkit.org/show_bug.cgi?id=21732
improve performance by eliminating JSValue as a base class for JSCell
Remove most uses of JSValue, which will be removed in a future patch.
* WebFrame.cpp:
(wxWebFrame::RunScript): Use JSValuePtr.
2008-10-17 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier
Fix wx port's scrollbar and drawing handling after recent changes.
https://bugs.webkit.org/show_bug.cgi?id=21720
* WebView.cpp:
(wxWebView::OnPaint):
(wxWebView::OnSize):
2008-10-09 Kevin Ollivier <kevino@theolliviers.com>
wx build fixes.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::repaint):
(WebCore::ChromeClientWx::scroll):
* WebKitSupport/ChromeClientWx.h:
* presets/wxwebkit.bkl:
2008-10-06 David Hyatt <hyatt@apple.com>
Enable viewless Mac WebKit to paint some basic pages.
Reviewed by Sam Weinig
* WebKitSupport/FrameLoaderClientWx.cpp:
* WebKitSupport/FrameLoaderClientWx.h:
2008-10-03 David Hyatt <hyatt@apple.com>
Remove addToDirtyRegion.
Reviewed by Oliver Hunt
* WebKitSupport/ChromeClientWx.cpp:
2008-10-02 Kevin Ollivier <kevino@theolliviers.com>
wx build fixes after Frame/ScrollView changes.
* WebView.cpp:
(wxWebView::OnPaint):
2008-10-01 David Hyatt <hyatt@apple.com>
https://bugs.webkit.org/show_bug.cgi?id=21282
Make contentsToScreen/screenToContents cross-platform. Only implemented by Mac/Win right now.
Reviewed by Adam Roben
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::windowToScreen):
(WebCore::ChromeClientWx::screenToWindow):
* WebKitSupport/ChromeClientWx.h:
2008-09-30 Dave Hyatt <hyatt@apple.com>
http://bugs.webkit.org/show_bug.cgi?id=21250
Rename updateContents to repaintContentRectangle and make it cross-platform by always sending
repaints up through the ChromeClient.
Reviewed by Darin Adler
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::repaint):
* WebKitSupport/ChromeClientWx.h:
2008-09-26 Kevin Ollivier <kevino@theolliviers.com>
wx build fixes after Widget/ScrollView changes.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
2008-09-20 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Dan Bernstein.
Fix memory leak.
https://bugs.webkit.org/show_bug.cgi?id=20505
* WebView.cpp:
(wxWebView::OnPaint):
2008-09-20 Kevin Ollivier <kevino@theolliviers.com>
wx build fixes. Added/removed build sources, and nativeWindow->platformWidget updates.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::isEditable):
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
2008-09-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
Reviewed by Maciej Stachowiak.
Bug 20704: Replace the KJS namespace
<https://bugs.webkit.org/show_bug.cgi?id=20704>
Rename the KJS namespace to JSC.
* WebFrame.cpp:
(wxWebFrame::RunScript):
2008-09-04 Kevin Ollivier <kevino@theolliviers.com>
wx build fixes.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::pluginWillHandleLoadError):
* WebKitSupport/FrameLoaderClientWx.h:
2008-08-18 Kevin Ollivier <kevino@theolliviers.com>
Build fix for Win. Don't include the libxml/libxslt directories in the
include path, it picks up the wrong Pattern.h in that case.
* dependencies.bkl:
2008-08-12 Timothy Hatcher <timothy@apple.com>
Add a stub for InspectorClient::setAttachedWindowHeight.
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClientWx::setAttachedWindowHeight):
Call notImplemented().
* WebKitSupport/InspectorClientWx.h:
2008-08-06 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Create a wxWebFrame API to match other ports and to prepare for frames support.
Also fixes a frame leak in wx port on trunk.
https://bugs.webkit.org/show_bug.cgi?id=19041
* WebFrame.cpp: Added.
(wxWebFrame::wxWebFrame):
(wxWebFrame::~wxWebFrame):
(wxWebFrame::GetFrame):
(wxWebFrame::Stop):
(wxWebFrame::Reload):
(wxWebFrame::GetPageSource):
(wxWebFrame::SetPageSource):
(wxWebFrame::GetInnerText):
(wxWebFrame::GetAsMarkup):
(wxWebFrame::GetExternalRepresentation):
(wxWebFrame::RunScript):
(wxWebFrame::LoadURL):
(wxWebFrame::GoBack):
(wxWebFrame::GoForward):
(wxWebFrame::CanGoBack):
(wxWebFrame::CanGoForward):
(wxWebFrame::CanIncreaseTextSize):
(wxWebFrame::IncreaseTextSize):
(wxWebFrame::CanDecreaseTextSize):
(wxWebFrame::DecreaseTextSize):
(wxWebFrame::MakeEditable):
(wxWebFrame::CanCopy):
(wxWebFrame::Copy):
(wxWebFrame::CanCut):
(wxWebFrame::Cut):
(wxWebFrame::CanPaste):
(wxWebFrame::Paste):
* WebFrame.h: Added.
* WebView.cpp:
(wxWebView::wxWebView):
(wxWebView::Create):
(wxWebView::~wxWebView):
(wxWebView::Stop):
(wxWebView::Reload):
(wxWebView::GetPageSource):
(wxWebView::SetPageSource):
(wxWebView::GetInnerText):
(wxWebView::GetAsMarkup):
(wxWebView::GetExternalRepresentation):
(wxWebView::RunScript):
(wxWebView::LoadURL):
(wxWebView::GoBack):
(wxWebView::GoForward):
(wxWebView::CanGoBack):
(wxWebView::CanGoForward):
(wxWebView::CanIncreaseTextSize):
(wxWebView::IncreaseTextSize):
(wxWebView::CanDecreaseTextSize):
(wxWebView::DecreaseTextSize):
(wxWebView::OnPaint):
(wxWebView::OnSize):
(wxWebView::OnMouseEvents):
(wxWebView::CanCopy):
(wxWebView::Copy):
(wxWebView::CanCut):
(wxWebView::Cut):
(wxWebView::CanPaste):
(wxWebView::Paste):
(wxWebView::OnKeyEvents):
(wxWebView::OnSetFocus):
(wxWebView::OnKillFocus):
* WebView.h:
* wxwebkit.bkl:
2008-07-27 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Sam Weinig.
Add tooltip support to the wx port.
https://bugs.webkit.org/show_bug.cgi?id=20173
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::setToolTip):
* WebView.cpp:
(wxWebView::OnMouseEvents): Use mouseMoved instead of handleMouseMoveEvent.
2008-07-21 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Fix pthread linkage under Linux.
* dependencies.bkl:
2008-06-15 Darin Adler <darin@apple.com>
- give Frame object functions shorter names: scriptProxy() -> script(),
selectionController() -> selection(), animationController() -> animation()
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::handleKeyboardEvent):
* WebView.cpp:
(wxWebView::RunScript):
(wxWebView::OnSetFocus):
(wxWebView::OnKillFocus):
2008-06-15 Darin Adler <darin@apple.com>
- new names for a few key JavaScriptCore files
* WebView.cpp:
2008-06-14 Darin Adler <darin@apple.com>
Rubber stamped by Sam.
- new names for kjs_binding.h and kjs_proxy.h
* WebView.cpp:
2008-06-14 Darin Adler <darin@apple.com>
- try to fix wx build, again
* WebView.cpp:
(wxWebView::Create): Use create function instead of new.
2008-06-14 Darin Adler <darin@apple.com>
Reviewed by Sam.
- more https://bugs.webkit.org/show_bug.cgi?id=17257
start ref counts at 1 instead of 0 for speed
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::createDocumentLoader): Use create function
instead of new.
2008-06-13 Darin Adler <darin@apple.com>
- try to fix build
* WebKitSupport/FrameLoaderClientWx.h: Add missing argument.
2008-06-13 Darin Adler <darin@apple.com>
Reviewed by John Sullivan.
- updated for addition of FormState argument to action policy functions
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
2008-06-10 Kevin Ollivier <kevino@theolliviers.com>
wx Linux build fix. Only use -undefined dynamic_lookup flag under Mac.
* bindings/python/wxwebkit-py.bkl:
2008-05-28 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
This patch adds a new wx event type and code to send it when a new title is set
by the page being loaded.
https://bugs.webkit.org/show_bug.cgi?id=19067
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
* WebView.cpp:
(wxWebViewReceivedTitleEvent::wxWebViewReceivedTitleEvent):
* WebView.h:
* bindings/python/webview.i:
2008-05-28 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
This patch tweaks the wxWebView class to make it conform to normal wx patterns
for widget classes. It adds a default ctor and the Create method so it can use
the 2-phase create pattern, adds wxRTTI macros which is important for wxPython
and XRC, and fixes the LoadURL method to pass a wxString reference to save a
copy.
https://bugs.webkit.org/show_bug.cgi?id=19068
* WebView.cpp:
(wxWebView::wxWebView):
(wxWebView::Create):
(wxWebView::LoadURL):
* WebView.h:
2008-05-27 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Accidently left a couple fixes out of the previous commit.
* presets/wxwebkit.bkl:
2008-05-16 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Darin Adler.
Rename wxWebFrame -> wxWebBrowserShell in preparation to introduce a WebFrame
counterpart in wx port. (Frame typically means 'top level window' in wx terms.)
https://bugs.webkit.org/show_bug.cgi?id=19041
* WebBrowserShell.cpp: Copied from WebKit/wx/WebFrame.cpp.
(wxWebBrowserShell::wxWebBrowserShell):
(wxWebBrowserShell::~wxWebBrowserShell):
(wxWebBrowserShell::ShowDebugMenu):
(wxWebBrowserShell::OnQuit):
(wxWebBrowserShell::OnAbout):
(wxWebBrowserShell::OnLoadFile):
(wxWebBrowserShell::OnLoadEvent):
(wxWebBrowserShell::OnBeforeLoad):
(wxWebBrowserShell::OnAddressBarEnter):
(wxWebBrowserShell::OnSearchCtrlEnter):
(wxWebBrowserShell::OnBack):
(wxWebBrowserShell::OnForward):
(wxWebBrowserShell::OnStop):
(wxWebBrowserShell::OnReload):
(wxWebBrowserShell::OnMakeTextLarger):
(wxWebBrowserShell::OnMakeTextSmaller):
(wxWebBrowserShell::OnGetSource):
(wxWebBrowserShell::OnSetSource):
(wxWebBrowserShell::OnBrowse):
(wxWebBrowserShell::OnEdit):
(wxWebBrowserShell::OnRunScript):
* WebBrowserShell.h: Copied from WebKit/wx/WebFrame.h.
* WebFrame.cpp: Removed.
* WebFrame.h: Removed.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::createWindow):
* bindings/python/webview.i:
* wxwebkit.bkl:
2008-05-20 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Update code after removal of Document::toString().
* WebView.cpp:
(wxWebView::GetPageSource):
2008-05-15 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Add rendering/style to includes dir.
* presets/wxwebkit.bkl:
2008-05-11 Kevin Ollivier <kevino@theolliviers.com>
Previous commit made bdash sad. Restore happiness state by fixing missed style issue.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
2008-05-11 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Fix scrolling issues by implementing transitionToCommittedNewPage() so the scroll
positions are reset when a new page is loaded, and also maintained so that back
and next restore the scroll positions as well. This also simplifies the logic
for initializing and managing wxWebView.
https://bugs.webkit.org/show_bug.cgi?id=18992
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::setWebView):
(WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
(WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
(WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
(WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
(WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
(WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
(WebCore::FrameLoaderClientWx::createFrame):
(WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
* WebKitSupport/FrameLoaderClientWx.h:
* WebView.cpp:
(wxWebView::wxWebView):
(wxWebView::~wxWebView):
(wxWebView::GetPageSource):
(wxWebView::GetInnerText):
(wxWebView::GetExternalRepresentation):
(wxWebView::OnPaint):
(wxWebView::OnSize):
(wxWebView::OnMouseEvents):
(wxWebView::CanCopy):
(wxWebView::CanCut):
(wxWebView::CanPaste):
(wxWebView::OnKeyEvents):
* WebViewPrivate.h:
(WebViewPrivate::WebViewPrivate):
2008-05-04 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Allow events to specify the ID of the particular wxWebView they are to be sent to.
https://bugs.webkit.org/show_bug.cgi?id=18659
* WebFrame.cpp:
(wxWebFrame::wxWebFrame):
* WebView.cpp:
(wxWebViewLoadEvent::wxWebViewLoadEvent):
(wxWebViewBeforeLoadEvent::wxWebViewBeforeLoadEvent):
(wxWebViewNewWindowEvent::wxWebViewNewWindowEvent):
(wxWebViewRightClickEvent::wxWebViewRightClickEvent):
(wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
* WebView.h:
* bindings/python/webview.i:
2008-04-27 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Add methods to check if there is a previous/next page in the history. Also some
coding style cleanup.
https://bugs.webkit.org/show_bug.cgi?id=18757
* WebView.cpp:
(wxWebView::GoBack):
(wxWebView::GoForward):
(wxWebView::CanGoBack):
(wxWebView::CanGoForward):
* WebView.h:
2008-04-24 Anders Carlsson <andersca@apple.com>
Reviewed by Sam.
Change some String arguments to be const references instead.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::shouldInsertText):
* WebKitSupport/EditorClientWx.h:
2008-04-23 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Alp Toker.
Typo fix to restore text entry.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::handleKeyboardEvent):
2008-04-19 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. renderer() -> contentRenderer()
* WebView.cpp:
(wxWebView::GetExternalRepresentation):
(wxWebView::OnPaint):
2008-04-18 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. We need to use ENABLE_DOM_STORAGE now.
* wxwk-settings.bkl:
2008-04-05 Kevin Ollivier <kevino@theolliviers.com>
Rubber stamped by Mark Rowe.
Don't assume wxWebKit to be part of the wx package. This allows
us to run it from any directory on the PYTHONPATH rather than
having to copy files into the wxPython directory.
* bindings/python/webview.i:
2008-03-25 Brady Eidson <beidson@apple.com>
Reviewed by Darin
Remove newly obsolete FrameLoaderClient methods
* WebKitSupport/FrameLoaderClientWx.cpp:
* WebKitSupport/FrameLoaderClientWx.h:
2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Make sure we link png/jpeg libraries before
wx libraries to get the right symbols.
* wxwebkit.bkl:
* wxwk-settings.bkl:
2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
Rubber stamped by Darin Adler.
Add set-webkit-configuration support for wx port, and centralize
build dir location setting.
http://bugs.webkit.org/show_bug.cgi?id=17790
* bindings/python/wxwebkit-py.bkl:
* presets/wxwebkit.bkl:
* wxwebkit.bkl:
* wxwk-settings.bkl:
2008-03-12 David Hyatt <hyatt@apple.com>
Make the zoom factor a float and not a percent.
Reviewed by antti
* WebView.cpp:
(wxWebView::IncreaseTextSize):
(wxWebView::DecreaseTextSize):
2008-03-03 Kevin Ollivier <kevino@theolliviers.com>
wx build fix after Frame::setZoomFactor API change.
* WebView.cpp:
(wxWebView::IncreaseTextSize):
(wxWebView::DecreaseTextSize):
2008-02-24 Darin Adler <darin@apple.com>
Reviewed by Sam.
- remove separate client calls for "standard" and "reload' history
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::updateGlobalHistory):
* WebKitSupport/FrameLoaderClientWx.h:
2008-02-23 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Darin Adler.
Move text drawing into wxcode, as we need platform-dependent
APIs for drawing non-kerned text, which wx doesn't yet have.
(But hopefully will, once these APIs are fleshed out on all
platforms!)
http://bugs.webkit.org/show_bug.cgi?id=17396
* wxwebkit.bkl:
We need to directly link against GDI+ on Windows since we now
directly call GDI+ APIs.
2008-02-14 Darin Adler <darin@apple.com>
* WebView.cpp: Removed use of DeprecatedString to keep this compiling.
2008-02-11 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Darin Adler.
A couple quick wx fixes.
http://bugs.webkit.org/show_bug.cgi?id=17321
* WebView.cpp:
(wxWebView::OnPaint):
Make sure wxGCDC has its paint origin set properly after
the move to wxWindow for scrolling.
* bindings/python/webview.i:
Update the wxPython bindings after event rename.
2008-02-10 Darin Adler <darin@apple.com>
Reviewed by Eric.
- http://bugs.webkit.org/show_bug.cgi?id=17256
eliminate default ref. count of 0 in RefCounted class
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::FrameLoaderClientWx):
Set the count to 0 explicitly (one stray client I missed in my last pass).
2008-02-03 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Darin Adler.
Typo fix. Don't use the provisionalDocumentLoader() after the
whole page has already been loaded.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
2008-02-03 Kevin Ollivier <kevino@theolliviers.com>
Build fix for last wx commit (a couple things were not committed).
Also fix some style issues.
* WebView.cpp:
(wxWebView::wxWebView):
(wxWebView::OnPaint):
(wxWebView::OnSize):
(wxWebView::CanCopy):
(wxWebView::Copy):
(wxWebView::CanCut):
(wxWebView::Cut):
(wxWebView::CanPaste):
(wxWebView::Paste):
(wxWebView::OnKeyEvents):
(wxWebView::OnSetFocus):
(wxWebView::OnKillFocus):
(wxWebView::OnActivate):
* WebView.h:
2008-01-31 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Adam Roben.
On MSW, the wx port internally uses callbacks for wxTimer, so the
wx port suffers from the same crash problem that was fixed
in r28500 for the Windows port. For now, use the SharedTimerWin.cpp
impl. for wx too on MSW, until a version of wx is released that
fixes the issue by reworking wxTimer.
* WebView.cpp:
(wxWebView::wxWebView):
2008-01-21 Darin Adler <darin@apple.com>
Reviewed by John Sullivan.
- updated for changes to ChromeClient database functions
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::exceededDatabaseQuota):
* WebKitSupport/ChromeClientWx.h:
2008-01-16 Adam Roben <aroben@apple.com>
Updated for WebCore method renames.
Reviewed by Darin Adler.
* WebView.cpp:
(wxWebView::OnSetFocus):
(wxWebView::OnKillFocus):
(wxWebView::OnActivate):
2008-01-12 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Darin Adler.
wxWebKit API changes in preparation for DRT implementation.
Specifically:
- Add CONSOLE_MESSAGE callback so clients can choose how to handle
console messages.
- Add more load events, and rename wxWebViewStateChangedEvent to
wxWebViewLoadEvent to reflect that all 'states' are load states.
- Add wxWebView impls. for GetInnerText(), GetAsMarkup() and
GetExternalRepresentation()
* WebFrame.cpp:
(wxWebFrame::OnLoadEvent):
* WebFrame.h:
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::ChromeClientWx):
(WebCore::ChromeClientWx::addMessageToConsole):
* WebKitSupport/ChromeClientWx.h:
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
(WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
(WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
(WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
(WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
* WebView.cpp:
(wxWebViewLoadEvent::wxWebViewLoadEvent):
(wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
(wxWebView::wxWebView):
(wxWebView::GetPageSource):
(wxWebView::GetInnerText):
(wxWebView::GetAsMarkup):
(wxWebView::GetExternalRepresentation):
* WebView.h:
2008-01-12 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Add WebCore/icu/include dir for OS X boxes with
only stock ICU installed.
* dependencies.bkl:
2008-01-10 Maciej Stachowiak <mjs@apple.com>
Reviewed by Sam.
- remove SecurityOriginData and fold its functionality into SecurityOrigin
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
(WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
* WebKitSupport/ChromeClientWx.h:
2007-12-16 Darin Adler <darin@apple.com>
- try to fix the build
* WebView.cpp:
(wxWebView::OnKeyEvents): Add a WebCore prefix.
2007-12-16 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=16462
REGRESSION: access keys broken on Windows
* WebView.cpp: (wxWebView::OnKeyEvents): Call handleAccessKey() as appropriate.
2007-12-14 Darin Adler <darin@apple.com>
Reviewed by Alexey.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::handleKeyboardEvent): Switched from Editor::execCommand
to Editor::command.
2007-12-12 Brady Eidson <beidson@apple.com>
Reviewed by Sam Weinig
As part of doing some CachedPage and client cleanup, keep Wx building
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::savePlatformDataToCachedPage):
(WebCore::FrameLoaderClientWx::transitionToCommittedFromCachedPage):
(WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
* WebKitSupport/FrameLoaderClientWx.h:
2007-12-12 Sam Weinig <sam@webkit.org>
Build fix.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::createWindow):
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
(WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
(WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
(WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
(WebCore::FrameLoaderClientWx::didChangeTitle):
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
2007-12-07 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Darin Adler.
<rdar://problem/5535636>
Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
http://bugs.webkit.org/show_bug.cgi?id=13916
JavaScript detects Tab as a character input on a textfield validation
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::handleInputMethodKeydown):
(WebCore::EditorClientWx::handleKeyboardEvent):
* WebKitSupport/EditorClientWx.h:
Updated for cross-platform changes as much as it was possible without a wx build environment.
The keyboard event model of wx is similar to Windows one, so further fixes can be modeled
after the Windows port.
2007-12-06 Kevin Ollivier <kevino@theolliviers.com>
Fix page leak caused because the Frame's page pointer is 0 by the
time we call delete on it. Store a reference to the page instead
and delete it that way.
Also, small fix to call PrepareDC(gcdc) when using wxGCDC because
on Linux the wxGCDC gcdc(dc) constructor will not retain the
changes made to dc by PrepareDC(dc).
Reviewed by Darin Adler.
* WebView.cpp:
(wxWebView::wxWebView):
(wxWebView::~wxWebView):
(wxWebView::OnPaint):
* WebViewPrivate.h:
(WebViewPrivate::WebViewPrivate):
2007-12-06 Kevin Ollivier <kevino@theolliviers.com>
Linux build fix - ensure that webcore is linked before jscore
so that the linker will know which symbols it needs to link in.
Also fix MSVC project file name typo for sample app.
* Bakefiles.bkgen:
* wxwebkit.bkl:
2007-12-04 Darin Adler <darin@apple.com>
Reviewed by Kevin Decker.
* WebKitSupport/FrameLoaderClientWx.cpp: Removed obsolete privateBrowsingEnabled.
* WebKitSupport/FrameLoaderClientWx.h: Ditto.
2007-12-03 Mark Rowe <mrowe@apple.com>
wx build fix.
* WebView.cpp:
(wxWebView::RunScript):
2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Add WebCore/platform/graphics/wx to includes.
* wxwebkit.bkl:
2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
Fix method signatures to be members of ClientChromeWx class.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
(WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
Build fix. Add platform/text to includes for targets that
need WebCore headers.
* presets/wxwebkit.bkl:
2007-11-29 Brady Eidson <beidson@apple.com>
Keep it building with new client method
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClient::requestQuotaIncreaseForNewDatabase):
(WebCore::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
* WebKitSupport/ChromeClientWx.h:
2007-11-25 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Don't get xslt-config options at bake time, do it
at make time.
* dependencies.bkl:
2007-11-23 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Include config.h in WebFrame/WebView to ensure
WebCore headers are properly configured, fix unicode/utf8.h and
config.h include ordering issues, centralize wx project options to
ensure proper configuration, and fix wxwebkit-python target so that
it links against wx libs.
* WebFrame.cpp:
* WebView.cpp:
* bindings/python/wxwebkit-py.bkl:
* dependencies.bkl:
* presets/wxwebkit.bkl:
* wxwebkit.bkl:
* wxwk-settings.bkl:
2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
it indiscriminately copies any headers inside JavaScriptCore,
which includes Tiger ICU headers.
* presets/wxwebkit.bkl:
Remove WebCore/include reference and add JSCore header dirs needed
instead.
2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
Add pcre directory to JSCore includes, and update the wx port
to reflect the Shared -> RefCounted name change. Also, fix
WebFrame.cpp to re-enable code that should never have been
committed disabled.
Reviewed by Adam.
* WebFrame.cpp:
(wxWebFrame::wxWebFrame):
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::ref):
(WebCore::FrameLoaderClientWx::deref):
* WebKitSupport/FrameLoaderClientWx.h:
* presets/wxwebkit.bkl:
2007-11-17 Timothy Hatcher <timothy@apple.com>
Reviewed by Mark Rowe.
Bug 13470: i18n: The Web Inspector is not localizable
http://bugs.webkit.org/show_bug.cgi?id=13470
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClientWx::localizedStringsURL): Empty stub.
* WebKitSupport/InspectorClientWx.h: Added localizedStringsURL.
2007-11-08 Kevin Ollivier <kevino@theolliviers.com>
Initial commit of wx implementation of WebKit. This includes
the wxWebFrame and wxWebView wx front end classes, the
WebKitSupport directory containing implementations of interfaces
used by WebCore to talk with the wxWebKit front end, and the
language bindings for wxWebKit (bindings dir), currently
only containing bindings and a sample app for wxPython.
Reviewed by Mark Rowe.
* Bakefiles.bkgen: Added.
* WebFrame.cpp: Added.
* WebFrame.h: Added.
* WebKitSupport: Added.
* WebKitSupport/ChromeClientWx.cpp: Added.
* WebKitSupport/ChromeClientWx.h: Added.
* WebKitSupport/ContextMenuClientWx.cpp: Added.
* WebKitSupport/ContextMenuClientWx.h: Added.
* WebKitSupport/DragClientWx.cpp: Added.
* WebKitSupport/DragClientWx.h: Added.
* WebKitSupport/EditorClientWx.cpp: Added.
* WebKitSupport/EditorClientWx.h: Added.
* WebKitSupport/FrameLoaderClientWx.cpp: Added.
* WebKitSupport/FrameLoaderClientWx.h: Added.
* WebKitSupport/InspectorClientWx.cpp: Added.
* WebKitSupport/InspectorClientWx.h: Added.
* WebView.cpp: Added.
* WebView.h: Added.
* WebViewPrivate.h: Added.
* bindings: Added.
* bindings/python: Added.
* bindings/python/samples: Added.
* bindings/python/samples/simple.py: Added.
* bindings/python/webview.i: Added.
* bindings/python/wxwebkit-py.bkl: Added.
* dependencies.bkl: Added.
* presets: Added.
* presets/wxwebkit.bkl: Added.
* wxwebkit.bkl: Added.
* wxwk-settings.bkl: Added.