1 2008-12-02 Kevin Watters <kevinwatters@gmail.com>
3 Reviewed by Kevin Ollivier.
5 Add HitTest to wxWebView (and wxWebFrame).
7 https://bugs.webkit.org/show_bug.cgi?id=22459
10 (wxWebFrame::HitTest):
16 2008-11-24 Darin Fisher <darin@chromium.org>
20 http://bugs.webkit.org/show_bug.cgi?id=15643
22 * WebKitSupport/EditorClientWx.cpp:
23 (WebCore::EditorClientWx::isSelectTrailingWhitespaceEnabled):
24 * WebKitSupport/EditorClientWx.h:
26 2008-11-24 Darin Adler <darin@apple.com>
28 Reviewed by Dan Bernstein.
30 - https://bugs.webkit.org/show_bug.cgi?id=22470
31 remove unneeded URL argument from FrameLoaderClient::updateGlobalHistory
33 * WebKitSupport/FrameLoaderClientWx.cpp:
34 (WebCore::FrameLoaderClientWx::updateGlobalHistory): Remove argument.
35 * WebKitSupport/FrameLoaderClientWx.h: Ditto.
37 2008-11-21 Kevin Watters <kevinwatters@gmail.com>
39 Reviewed by Kevin Ollivier.
41 Maintain an EditCommand stack in WebFramePrivate, and expose Undo and
44 https://bugs.webkit.org/show_bug.cgi?id=22403
47 (wxWebFrame::wxWebFrame):
50 (wxWebFrame::CanUndo):
51 (wxWebFrame::CanRedo):
53 * WebFramePrivate.h: Added.
54 (WebFramePrivate::WebFramePrivate):
55 * WebKitSupport/ChromeClientWx.cpp:
56 (WebCore::ChromeClientWx::createWindow):
57 * WebKitSupport/EditCommandWx.h: Added.
58 (EditCommandWx::EditCommandWx):
59 (EditCommandWx::~EditCommandWx):
60 (EditCommandWx::editCommand):
61 * WebKitSupport/EditorClientWx.cpp:
62 (WebCore::EditorClientWx::registerCommandForUndo):
63 (WebCore::EditorClientWx::registerCommandForRedo):
64 (WebCore::EditorClientWx::canUndo):
65 (WebCore::EditorClientWx::canRedo):
66 (WebCore::EditorClientWx::undo):
67 (WebCore::EditorClientWx::redo):
68 * WebKitSupport/EditorClientWx.h:
70 (wxWebView::OnMouseEvents):
71 (wxWebView::OnKeyEvents):
74 2008-11-19 Darin Fisher <darin@chromium.org>
76 Reviewed by Geoff Garen.
78 https://bugs.webkit.org/show_bug.cgi?id=22345
79 Define ScriptValue as a thin container for a JSC::Value*.
82 (wxWebFrame::RunScript):
84 2008-11-17 Geoffrey Garen <ggaren@apple.com>
86 Reviewed by Sam Weinig.
88 Updated for JavaScriptCore renames.
90 * presets/wxwebkit.bkl:
92 2008-11-17 Geoffrey Garen <ggaren@apple.com>
94 Reviewed by Sam Weinig.
96 Updated for JavaScriptCore renames.
98 * presets/wxwebkit.bkl:
100 2008-11-17 Geoffrey Garen <ggaren@apple.com>
106 * presets/wxwebkit.bkl:
108 2008-11-15 Kevin Watters <kevinwatters@gmail.com>
110 Reviewed by Kevin Ollivier.
112 Add API for setting transparent webview background.
114 https://bugs.webkit.org/show_bug.cgi?id=22281
117 (wxWebView::SetTransparent):
118 (wxWebView::IsTransparent):
121 2008-11-11 Cameron Zwarich <zwarich@apple.com>
123 Reviewed by Geoff Garen.
125 Remove pointless dependencies on the deleted kjs directory.
127 * presets/wxwebkit.bkl:
129 2008-11-08 Kevin Ollivier <kevino@theolliviers.com>
131 wx build fixes after addition of JSCore parser and bycompiler dirs.
133 * presets/wxwebkit.bkl:
135 2008-11-05 Cameron Zwarich <zwarich@apple.com>
137 Rubber-stamped by Sam Weinig.
139 Move more files to the runtime subdirectory of JavaScriptCore.
144 2008-10-31 Kevin Ollivier <kevino@theolliviers.com>
146 wxMSW build fix. Missing header.
148 * WebKitSupport/ChromeClientWx.cpp:
150 2008-10-29 Kevin Ollivier <kevino@theolliviers.com>
152 wx build fixes after addition of runtime and ImageBuffer changes.
154 * presets/wxwebkit.bkl:
156 2008-10-28 Cameron Zwarich <zwarich@apple.com>
158 Reviewed by Mark Rowe.
160 Move ForwardingHeaders to their correct location after the creation of
161 the runtime directory in JavaScriptCore.
166 2008-10-27 Kevin Ollivier <kevino@theolliviers.com>
168 wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
170 * presets/wxwebkit.bkl:
172 2008-10-25 Kevin Ollivier <kevino@theolliviers.com>
176 * WebKitSupport/ChromeClientWx.h:
178 2008-10-24 Sam Weinig <sam@webkit.org>
180 Reviewed by Dan Bernstein.
182 Fix https://bugs.webkit.org/show_bug.cgi?id=21759
183 Layering violation: FileChooser should not depend on Document/Frame/Page
185 * WebKitSupport/ChromeClientWx.cpp:
186 (WebCore::ChromeClientWx::runOpenPanel):
187 * WebKitSupport/ChromeClientWx.h:
189 2008-10-24 David Kilzer <ddkilzer@apple.com>
193 Reviewed by Greg Bolsinga.
195 * WebKitSupport/InspectorClientWx.cpp:
196 (WebCore::InspectorClientWx::populateSetting): Changed
197 InspectorClient:: to InspectorClientWx::.
198 (WebCore::InspectorClientWx::storeSetting): Ditto.
199 (WebCore::InspectorClientWx::removeSetting): Ditto.
201 2008-10-24 Timothy Hatcher <timothy@apple.com>
203 Stub out new InspectorClient methods.
205 https://bugs.webkit.org/show_bug.cgi?id=21856
207 Reviewed by Darin Adler.
209 * WebKitSupport/InspectorClientWx.cpp:
210 (WebCore::InspectorClient::populateSetting): Not implemented.
211 (WebCore::InspectorClient::storeSetting): Ditto.
212 (WebCore::InspectorClient::removeSetting): Ditto.
213 * WebKitSupport/InspectorClientWx.h:
215 2008-10-24 Darin Adler <darin@apple.com>
217 - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
219 * WebFrame.cpp: (wxWebFrame::RunScript): Use JSValue* instead of JSValuePtr.
221 2008-10-20 Sam Weinig <sam@webkit.org>
223 Reviewed by Anders Carlsson.
225 Remove FrameLoaderClient::detachedFromParent4. It is no longer used by any port.
227 * WebKitSupport/FrameLoaderClientWx.cpp:
228 * WebKitSupport/FrameLoaderClientWx.h:
230 2008-10-19 Darin Adler <darin@apple.com>
232 Reviewed by Oliver Hunt.
234 - next step of https://bugs.webkit.org/show_bug.cgi?id=21732
235 improve performance by eliminating JSValue as a base class for JSCell
237 Remove most uses of JSValue, which will be removed in a future patch.
240 (wxWebFrame::RunScript): Use JSValuePtr.
242 2008-10-17 Kevin Watters <kevinwatters@gmail.com>
244 Reviewed by Kevin Ollivier
246 Fix wx port's scrollbar and drawing handling after recent changes.
248 https://bugs.webkit.org/show_bug.cgi?id=21720
251 (wxWebView::OnPaint):
254 2008-10-09 Kevin Ollivier <kevino@theolliviers.com>
258 * WebKitSupport/ChromeClientWx.cpp:
259 (WebCore::ChromeClientWx::repaint):
260 (WebCore::ChromeClientWx::scroll):
261 * WebKitSupport/ChromeClientWx.h:
262 * presets/wxwebkit.bkl:
264 2008-10-06 David Hyatt <hyatt@apple.com>
266 Enable viewless Mac WebKit to paint some basic pages.
268 Reviewed by Sam Weinig
270 * WebKitSupport/FrameLoaderClientWx.cpp:
271 * WebKitSupport/FrameLoaderClientWx.h:
273 2008-10-03 David Hyatt <hyatt@apple.com>
275 Remove addToDirtyRegion.
277 Reviewed by Oliver Hunt
279 * WebKitSupport/ChromeClientWx.cpp:
281 2008-10-02 Kevin Ollivier <kevino@theolliviers.com>
283 wx build fixes after Frame/ScrollView changes.
286 (wxWebView::OnPaint):
288 2008-10-01 David Hyatt <hyatt@apple.com>
290 https://bugs.webkit.org/show_bug.cgi?id=21282
292 Make contentsToScreen/screenToContents cross-platform. Only implemented by Mac/Win right now.
294 Reviewed by Adam Roben
296 * WebKitSupport/ChromeClientWx.cpp:
297 (WebCore::ChromeClientWx::windowToScreen):
298 (WebCore::ChromeClientWx::screenToWindow):
299 * WebKitSupport/ChromeClientWx.h:
301 2008-09-30 Dave Hyatt <hyatt@apple.com>
303 http://bugs.webkit.org/show_bug.cgi?id=21250
305 Rename updateContents to repaintContentRectangle and make it cross-platform by always sending
306 repaints up through the ChromeClient.
308 Reviewed by Darin Adler
310 * WebKitSupport/ChromeClientWx.cpp:
311 (WebCore::ChromeClientWx::repaint):
312 * WebKitSupport/ChromeClientWx.h:
314 2008-09-26 Kevin Ollivier <kevino@theolliviers.com>
316 wx build fixes after Widget/ScrollView changes.
318 * WebKitSupport/FrameLoaderClientWx.cpp:
319 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
321 2008-09-20 Kevin Ollivier <kevino@theolliviers.com>
323 Reviewed by Dan Bernstein.
327 https://bugs.webkit.org/show_bug.cgi?id=20505
330 (wxWebView::OnPaint):
332 2008-09-20 Kevin Ollivier <kevino@theolliviers.com>
334 wx build fixes. Added/removed build sources, and nativeWindow->platformWidget updates.
336 * WebKitSupport/EditorClientWx.cpp:
337 (WebCore::EditorClientWx::isEditable):
338 * WebKitSupport/FrameLoaderClientWx.cpp:
339 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
341 2008-09-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
343 Reviewed by Maciej Stachowiak.
345 Bug 20704: Replace the KJS namespace
346 <https://bugs.webkit.org/show_bug.cgi?id=20704>
348 Rename the KJS namespace to JSC.
351 (wxWebFrame::RunScript):
353 2008-09-04 Kevin Ollivier <kevino@theolliviers.com>
357 * WebKitSupport/FrameLoaderClientWx.cpp:
358 (WebCore::FrameLoaderClientWx::pluginWillHandleLoadError):
359 * WebKitSupport/FrameLoaderClientWx.h:
361 2008-08-18 Kevin Ollivier <kevino@theolliviers.com>
363 Build fix for Win. Don't include the libxml/libxslt directories in the
364 include path, it picks up the wrong Pattern.h in that case.
368 2008-08-12 Timothy Hatcher <timothy@apple.com>
370 Add a stub for InspectorClient::setAttachedWindowHeight.
372 * WebKitSupport/InspectorClientWx.cpp:
373 (WebCore::InspectorClientWx::setAttachedWindowHeight):
374 Call notImplemented().
375 * WebKitSupport/InspectorClientWx.h:
377 2008-08-06 Kevin Watters <kevinwatters@gmail.com>
379 Reviewed by Kevin Ollivier.
381 Create a wxWebFrame API to match other ports and to prepare for frames support.
382 Also fixes a frame leak in wx port on trunk.
384 https://bugs.webkit.org/show_bug.cgi?id=19041
386 * WebFrame.cpp: Added.
387 (wxWebFrame::wxWebFrame):
388 (wxWebFrame::~wxWebFrame):
389 (wxWebFrame::GetFrame):
391 (wxWebFrame::Reload):
392 (wxWebFrame::GetPageSource):
393 (wxWebFrame::SetPageSource):
394 (wxWebFrame::GetInnerText):
395 (wxWebFrame::GetAsMarkup):
396 (wxWebFrame::GetExternalRepresentation):
397 (wxWebFrame::RunScript):
398 (wxWebFrame::LoadURL):
399 (wxWebFrame::GoBack):
400 (wxWebFrame::GoForward):
401 (wxWebFrame::CanGoBack):
402 (wxWebFrame::CanGoForward):
403 (wxWebFrame::CanIncreaseTextSize):
404 (wxWebFrame::IncreaseTextSize):
405 (wxWebFrame::CanDecreaseTextSize):
406 (wxWebFrame::DecreaseTextSize):
407 (wxWebFrame::MakeEditable):
408 (wxWebFrame::CanCopy):
410 (wxWebFrame::CanCut):
412 (wxWebFrame::CanPaste):
416 (wxWebView::wxWebView):
418 (wxWebView::~wxWebView):
421 (wxWebView::GetPageSource):
422 (wxWebView::SetPageSource):
423 (wxWebView::GetInnerText):
424 (wxWebView::GetAsMarkup):
425 (wxWebView::GetExternalRepresentation):
426 (wxWebView::RunScript):
427 (wxWebView::LoadURL):
429 (wxWebView::GoForward):
430 (wxWebView::CanGoBack):
431 (wxWebView::CanGoForward):
432 (wxWebView::CanIncreaseTextSize):
433 (wxWebView::IncreaseTextSize):
434 (wxWebView::CanDecreaseTextSize):
435 (wxWebView::DecreaseTextSize):
436 (wxWebView::OnPaint):
438 (wxWebView::OnMouseEvents):
439 (wxWebView::CanCopy):
443 (wxWebView::CanPaste):
445 (wxWebView::OnKeyEvents):
446 (wxWebView::OnSetFocus):
447 (wxWebView::OnKillFocus):
451 2008-07-27 Kevin Watters <kevinwatters@gmail.com>
453 Reviewed by Sam Weinig.
455 Add tooltip support to the wx port.
457 https://bugs.webkit.org/show_bug.cgi?id=20173
459 * WebKitSupport/ChromeClientWx.cpp:
460 (WebCore::ChromeClientWx::setToolTip):
462 (wxWebView::OnMouseEvents): Use mouseMoved instead of handleMouseMoveEvent.
464 2008-07-21 Kevin Ollivier <kevino@theolliviers.com>
466 wx build fix. Fix pthread linkage under Linux.
470 2008-06-15 Darin Adler <darin@apple.com>
472 - give Frame object functions shorter names: scriptProxy() -> script(),
473 selectionController() -> selection(), animationController() -> animation()
475 * WebKitSupport/EditorClientWx.cpp:
476 (WebCore::EditorClientWx::handleKeyboardEvent):
478 (wxWebView::RunScript):
479 (wxWebView::OnSetFocus):
480 (wxWebView::OnKillFocus):
482 2008-06-15 Darin Adler <darin@apple.com>
484 - new names for a few key JavaScriptCore files
488 2008-06-14 Darin Adler <darin@apple.com>
490 Rubber stamped by Sam.
492 - new names for kjs_binding.h and kjs_proxy.h
496 2008-06-14 Darin Adler <darin@apple.com>
498 - try to fix wx build, again
501 (wxWebView::Create): Use create function instead of new.
503 2008-06-14 Darin Adler <darin@apple.com>
507 - more https://bugs.webkit.org/show_bug.cgi?id=17257
508 start ref counts at 1 instead of 0 for speed
510 * WebKitSupport/FrameLoaderClientWx.cpp:
511 (WebCore::FrameLoaderClientWx::createDocumentLoader): Use create function
514 2008-06-13 Darin Adler <darin@apple.com>
518 * WebKitSupport/FrameLoaderClientWx.h: Add missing argument.
520 2008-06-13 Darin Adler <darin@apple.com>
522 Reviewed by John Sullivan.
524 - updated for addition of FormState argument to action policy functions
526 * WebKitSupport/FrameLoaderClientWx.cpp:
527 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
528 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
530 2008-06-10 Kevin Ollivier <kevino@theolliviers.com>
532 wx Linux build fix. Only use -undefined dynamic_lookup flag under Mac.
534 * bindings/python/wxwebkit-py.bkl:
536 2008-05-28 Robin Dunn <robin@alldunn.com>
538 Reviewed by Kevin Ollivier.
540 This patch adds a new wx event type and code to send it when a new title is set
541 by the page being loaded.
543 https://bugs.webkit.org/show_bug.cgi?id=19067
545 * WebKitSupport/FrameLoaderClientWx.cpp:
546 (WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
548 (wxWebViewReceivedTitleEvent::wxWebViewReceivedTitleEvent):
550 * bindings/python/webview.i:
552 2008-05-28 Robin Dunn <robin@alldunn.com>
554 Reviewed by Kevin Ollivier.
556 This patch tweaks the wxWebView class to make it conform to normal wx patterns
557 for widget classes. It adds a default ctor and the Create method so it can use
558 the 2-phase create pattern, adds wxRTTI macros which is important for wxPython
559 and XRC, and fixes the LoadURL method to pass a wxString reference to save a
562 https://bugs.webkit.org/show_bug.cgi?id=19068
565 (wxWebView::wxWebView):
567 (wxWebView::LoadURL):
570 2008-05-27 Kevin Ollivier <kevino@theolliviers.com>
572 wx build fix. Accidently left a couple fixes out of the previous commit.
574 * presets/wxwebkit.bkl:
576 2008-05-16 Kevin Ollivier <kevino@theolliviers.com>
578 Reviewed by Darin Adler.
580 Rename wxWebFrame -> wxWebBrowserShell in preparation to introduce a WebFrame
581 counterpart in wx port. (Frame typically means 'top level window' in wx terms.)
583 https://bugs.webkit.org/show_bug.cgi?id=19041
585 * WebBrowserShell.cpp: Copied from WebKit/wx/WebFrame.cpp.
586 (wxWebBrowserShell::wxWebBrowserShell):
587 (wxWebBrowserShell::~wxWebBrowserShell):
588 (wxWebBrowserShell::ShowDebugMenu):
589 (wxWebBrowserShell::OnQuit):
590 (wxWebBrowserShell::OnAbout):
591 (wxWebBrowserShell::OnLoadFile):
592 (wxWebBrowserShell::OnLoadEvent):
593 (wxWebBrowserShell::OnBeforeLoad):
594 (wxWebBrowserShell::OnAddressBarEnter):
595 (wxWebBrowserShell::OnSearchCtrlEnter):
596 (wxWebBrowserShell::OnBack):
597 (wxWebBrowserShell::OnForward):
598 (wxWebBrowserShell::OnStop):
599 (wxWebBrowserShell::OnReload):
600 (wxWebBrowserShell::OnMakeTextLarger):
601 (wxWebBrowserShell::OnMakeTextSmaller):
602 (wxWebBrowserShell::OnGetSource):
603 (wxWebBrowserShell::OnSetSource):
604 (wxWebBrowserShell::OnBrowse):
605 (wxWebBrowserShell::OnEdit):
606 (wxWebBrowserShell::OnRunScript):
607 * WebBrowserShell.h: Copied from WebKit/wx/WebFrame.h.
608 * WebFrame.cpp: Removed.
609 * WebFrame.h: Removed.
610 * WebKitSupport/ChromeClientWx.cpp:
611 (WebCore::ChromeClientWx::createWindow):
612 * bindings/python/webview.i:
615 2008-05-20 Kevin Ollivier <kevino@theolliviers.com>
617 wx build fix. Update code after removal of Document::toString().
620 (wxWebView::GetPageSource):
622 2008-05-15 Kevin Ollivier <kevino@theolliviers.com>
624 wx build fix. Add rendering/style to includes dir.
626 * presets/wxwebkit.bkl:
628 2008-05-11 Kevin Ollivier <kevino@theolliviers.com>
630 Previous commit made bdash sad. Restore happiness state by fixing missed style issue.
632 * WebKitSupport/FrameLoaderClientWx.cpp:
633 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
635 2008-05-11 Robin Dunn <robin@alldunn.com>
637 Reviewed by Kevin Ollivier.
639 Fix scrolling issues by implementing transitionToCommittedNewPage() so the scroll
640 positions are reset when a new page is loaded, and also maintained so that back
641 and next restore the scroll positions as well. This also simplifies the logic
642 for initializing and managing wxWebView.
644 https://bugs.webkit.org/show_bug.cgi?id=18992
646 * WebKitSupport/FrameLoaderClientWx.cpp:
647 (WebCore::FrameLoaderClientWx::setWebView):
648 (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
649 (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
650 (WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
651 (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
652 (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
653 (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
654 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
655 (WebCore::FrameLoaderClientWx::createFrame):
656 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
657 * WebKitSupport/FrameLoaderClientWx.h:
659 (wxWebView::wxWebView):
660 (wxWebView::~wxWebView):
661 (wxWebView::GetPageSource):
662 (wxWebView::GetInnerText):
663 (wxWebView::GetExternalRepresentation):
664 (wxWebView::OnPaint):
666 (wxWebView::OnMouseEvents):
667 (wxWebView::CanCopy):
669 (wxWebView::CanPaste):
670 (wxWebView::OnKeyEvents):
672 (WebViewPrivate::WebViewPrivate):
674 2008-05-04 Robin Dunn <robin@alldunn.com>
676 Reviewed by Kevin Ollivier.
678 Allow events to specify the ID of the particular wxWebView they are to be sent to.
680 https://bugs.webkit.org/show_bug.cgi?id=18659
683 (wxWebFrame::wxWebFrame):
685 (wxWebViewLoadEvent::wxWebViewLoadEvent):
686 (wxWebViewBeforeLoadEvent::wxWebViewBeforeLoadEvent):
687 (wxWebViewNewWindowEvent::wxWebViewNewWindowEvent):
688 (wxWebViewRightClickEvent::wxWebViewRightClickEvent):
689 (wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
691 * bindings/python/webview.i:
693 2008-04-27 Robin Dunn <robin@alldunn.com>
695 Reviewed by Kevin Ollivier.
697 Add methods to check if there is a previous/next page in the history. Also some
698 coding style cleanup.
700 https://bugs.webkit.org/show_bug.cgi?id=18757
704 (wxWebView::GoForward):
705 (wxWebView::CanGoBack):
706 (wxWebView::CanGoForward):
709 2008-04-24 Anders Carlsson <andersca@apple.com>
713 Change some String arguments to be const references instead.
715 * WebKitSupport/EditorClientWx.cpp:
716 (WebCore::EditorClientWx::shouldInsertText):
717 * WebKitSupport/EditorClientWx.h:
719 2008-04-23 Kevin Ollivier <kevino@theolliviers.com>
721 Reviewed by Alp Toker.
723 Typo fix to restore text entry.
725 * WebKitSupport/EditorClientWx.cpp:
726 (WebCore::EditorClientWx::handleKeyboardEvent):
728 2008-04-19 Kevin Ollivier <kevino@theolliviers.com>
730 wx build fix. renderer() -> contentRenderer()
733 (wxWebView::GetExternalRepresentation):
734 (wxWebView::OnPaint):
736 2008-04-18 Kevin Ollivier <kevino@theolliviers.com>
738 wx build fix. We need to use ENABLE_DOM_STORAGE now.
742 2008-04-05 Kevin Ollivier <kevino@theolliviers.com>
744 Rubber stamped by Mark Rowe.
746 Don't assume wxWebKit to be part of the wx package. This allows
747 us to run it from any directory on the PYTHONPATH rather than
748 having to copy files into the wxPython directory.
750 * bindings/python/webview.i:
752 2008-03-25 Brady Eidson <beidson@apple.com>
756 Remove newly obsolete FrameLoaderClient methods
758 * WebKitSupport/FrameLoaderClientWx.cpp:
759 * WebKitSupport/FrameLoaderClientWx.h:
761 2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
763 wx build fix. Make sure we link png/jpeg libraries before
764 wx libraries to get the right symbols.
769 2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
771 Rubber stamped by Darin Adler.
773 Add set-webkit-configuration support for wx port, and centralize
774 build dir location setting.
776 http://bugs.webkit.org/show_bug.cgi?id=17790
778 * bindings/python/wxwebkit-py.bkl:
779 * presets/wxwebkit.bkl:
783 2008-03-12 David Hyatt <hyatt@apple.com>
785 Make the zoom factor a float and not a percent.
790 (wxWebView::IncreaseTextSize):
791 (wxWebView::DecreaseTextSize):
793 2008-03-03 Kevin Ollivier <kevino@theolliviers.com>
795 wx build fix after Frame::setZoomFactor API change.
798 (wxWebView::IncreaseTextSize):
799 (wxWebView::DecreaseTextSize):
801 2008-02-24 Darin Adler <darin@apple.com>
805 - remove separate client calls for "standard" and "reload' history
807 * WebKitSupport/FrameLoaderClientWx.cpp:
808 (WebCore::FrameLoaderClientWx::updateGlobalHistory):
809 * WebKitSupport/FrameLoaderClientWx.h:
811 2008-02-23 Kevin Ollivier <kevino@theolliviers.com>
813 Reviewed by Darin Adler.
815 Move text drawing into wxcode, as we need platform-dependent
816 APIs for drawing non-kerned text, which wx doesn't yet have.
817 (But hopefully will, once these APIs are fleshed out on all
820 http://bugs.webkit.org/show_bug.cgi?id=17396
823 We need to directly link against GDI+ on Windows since we now
824 directly call GDI+ APIs.
826 2008-02-14 Darin Adler <darin@apple.com>
828 * WebView.cpp: Removed use of DeprecatedString to keep this compiling.
830 2008-02-11 Kevin Ollivier <kevino@theolliviers.com>
832 Reviewed by Darin Adler.
834 A couple quick wx fixes.
836 http://bugs.webkit.org/show_bug.cgi?id=17321
839 (wxWebView::OnPaint):
840 Make sure wxGCDC has its paint origin set properly after
841 the move to wxWindow for scrolling.
842 * bindings/python/webview.i:
843 Update the wxPython bindings after event rename.
845 2008-02-10 Darin Adler <darin@apple.com>
849 - http://bugs.webkit.org/show_bug.cgi?id=17256
850 eliminate default ref. count of 0 in RefCounted class
852 * WebKitSupport/FrameLoaderClientWx.cpp:
853 (WebCore::FrameLoaderClientWx::FrameLoaderClientWx):
854 Set the count to 0 explicitly (one stray client I missed in my last pass).
856 2008-02-03 Kevin Ollivier <kevino@theolliviers.com>
858 Reviewed by Darin Adler.
860 Typo fix. Don't use the provisionalDocumentLoader() after the
861 whole page has already been loaded.
863 * WebKitSupport/FrameLoaderClientWx.cpp:
864 (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
866 2008-02-03 Kevin Ollivier <kevino@theolliviers.com>
868 Build fix for last wx commit (a couple things were not committed).
869 Also fix some style issues.
872 (wxWebView::wxWebView):
873 (wxWebView::OnPaint):
875 (wxWebView::CanCopy):
879 (wxWebView::CanPaste):
881 (wxWebView::OnKeyEvents):
882 (wxWebView::OnSetFocus):
883 (wxWebView::OnKillFocus):
884 (wxWebView::OnActivate):
887 2008-01-31 Kevin Ollivier <kevino@theolliviers.com>
889 Reviewed by Adam Roben.
891 On MSW, the wx port internally uses callbacks for wxTimer, so the
892 wx port suffers from the same crash problem that was fixed
893 in r28500 for the Windows port. For now, use the SharedTimerWin.cpp
894 impl. for wx too on MSW, until a version of wx is released that
895 fixes the issue by reworking wxTimer.
898 (wxWebView::wxWebView):
900 2008-01-21 Darin Adler <darin@apple.com>
902 Reviewed by John Sullivan.
904 - updated for changes to ChromeClient database functions
906 * WebKitSupport/ChromeClientWx.cpp:
907 (WebCore::ChromeClientWx::exceededDatabaseQuota):
908 * WebKitSupport/ChromeClientWx.h:
910 2008-01-16 Adam Roben <aroben@apple.com>
912 Updated for WebCore method renames.
914 Reviewed by Darin Adler.
917 (wxWebView::OnSetFocus):
918 (wxWebView::OnKillFocus):
919 (wxWebView::OnActivate):
921 2008-01-12 Kevin Ollivier <kevino@theolliviers.com>
923 Reviewed by Darin Adler.
925 wxWebKit API changes in preparation for DRT implementation.
928 - Add CONSOLE_MESSAGE callback so clients can choose how to handle
930 - Add more load events, and rename wxWebViewStateChangedEvent to
931 wxWebViewLoadEvent to reflect that all 'states' are load states.
932 - Add wxWebView impls. for GetInnerText(), GetAsMarkup() and
933 GetExternalRepresentation()
936 (wxWebFrame::OnLoadEvent):
938 * WebKitSupport/ChromeClientWx.cpp:
939 (WebCore::ChromeClientWx::ChromeClientWx):
940 (WebCore::ChromeClientWx::addMessageToConsole):
941 * WebKitSupport/ChromeClientWx.h:
942 * WebKitSupport/FrameLoaderClientWx.cpp:
943 (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
944 (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
945 (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
946 (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
947 (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
949 (wxWebViewLoadEvent::wxWebViewLoadEvent):
950 (wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
951 (wxWebView::wxWebView):
952 (wxWebView::GetPageSource):
953 (wxWebView::GetInnerText):
954 (wxWebView::GetAsMarkup):
955 (wxWebView::GetExternalRepresentation):
958 2008-01-12 Kevin Ollivier <kevino@theolliviers.com>
960 wx build fix. Add WebCore/icu/include dir for OS X boxes with
961 only stock ICU installed.
965 2008-01-10 Maciej Stachowiak <mjs@apple.com>
969 - remove SecurityOriginData and fold its functionality into SecurityOrigin
971 * WebKitSupport/ChromeClientWx.cpp:
972 (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
973 (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
974 * WebKitSupport/ChromeClientWx.h:
976 2007-12-16 Darin Adler <darin@apple.com>
978 - try to fix the build
981 (wxWebView::OnKeyEvents): Add a WebCore prefix.
983 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
985 Reviewed by Darin Adler.
987 http://bugs.webkit.org/show_bug.cgi?id=16462
988 REGRESSION: access keys broken on Windows
990 * WebView.cpp: (wxWebView::OnKeyEvents): Call handleAccessKey() as appropriate.
992 2007-12-14 Darin Adler <darin@apple.com>
996 * WebKitSupport/EditorClientWx.cpp:
997 (WebCore::EditorClientWx::handleKeyboardEvent): Switched from Editor::execCommand
1000 2007-12-12 Brady Eidson <beidson@apple.com>
1002 Reviewed by Sam Weinig
1004 As part of doing some CachedPage and client cleanup, keep Wx building
1006 * WebKitSupport/FrameLoaderClientWx.cpp:
1007 (WebCore::FrameLoaderClientWx::savePlatformDataToCachedPage):
1008 (WebCore::FrameLoaderClientWx::transitionToCommittedFromCachedPage):
1009 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
1010 * WebKitSupport/FrameLoaderClientWx.h:
1012 2007-12-12 Sam Weinig <sam@webkit.org>
1016 * WebKitSupport/ChromeClientWx.cpp:
1017 (WebCore::ChromeClientWx::createWindow):
1018 * WebKitSupport/FrameLoaderClientWx.cpp:
1019 (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
1020 (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
1021 (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
1022 (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
1023 (WebCore::FrameLoaderClientWx::didChangeTitle):
1024 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
1026 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1028 Reviewed by Darin Adler.
1030 <rdar://problem/5535636>
1031 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1033 http://bugs.webkit.org/show_bug.cgi?id=13916
1034 JavaScript detects Tab as a character input on a textfield validation
1036 * WebKitSupport/EditorClientWx.cpp:
1037 (WebCore::EditorClientWx::handleInputMethodKeydown):
1038 (WebCore::EditorClientWx::handleKeyboardEvent):
1039 * WebKitSupport/EditorClientWx.h:
1040 Updated for cross-platform changes as much as it was possible without a wx build environment.
1041 The keyboard event model of wx is similar to Windows one, so further fixes can be modeled
1042 after the Windows port.
1044 2007-12-06 Kevin Ollivier <kevino@theolliviers.com>
1046 Fix page leak caused because the Frame's page pointer is 0 by the
1047 time we call delete on it. Store a reference to the page instead
1048 and delete it that way.
1050 Also, small fix to call PrepareDC(gcdc) when using wxGCDC because
1051 on Linux the wxGCDC gcdc(dc) constructor will not retain the
1052 changes made to dc by PrepareDC(dc).
1054 Reviewed by Darin Adler.
1057 (wxWebView::wxWebView):
1058 (wxWebView::~wxWebView):
1059 (wxWebView::OnPaint):
1061 (WebViewPrivate::WebViewPrivate):
1063 2007-12-06 Kevin Ollivier <kevino@theolliviers.com>
1065 Linux build fix - ensure that webcore is linked before jscore
1066 so that the linker will know which symbols it needs to link in.
1067 Also fix MSVC project file name typo for sample app.
1072 2007-12-04 Darin Adler <darin@apple.com>
1074 Reviewed by Kevin Decker.
1076 * WebKitSupport/FrameLoaderClientWx.cpp: Removed obsolete privateBrowsingEnabled.
1077 * WebKitSupport/FrameLoaderClientWx.h: Ditto.
1079 2007-12-03 Mark Rowe <mrowe@apple.com>
1084 (wxWebView::RunScript):
1086 2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
1088 wx build fix. Add WebCore/platform/graphics/wx to includes.
1092 2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
1094 Fix method signatures to be members of ClientChromeWx class.
1096 * WebKitSupport/ChromeClientWx.cpp:
1097 (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
1098 (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
1100 2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
1102 Build fix. Add platform/text to includes for targets that
1103 need WebCore headers.
1105 * presets/wxwebkit.bkl:
1107 2007-11-29 Brady Eidson <beidson@apple.com>
1109 Keep it building with new client method
1111 * WebKitSupport/ChromeClientWx.cpp:
1112 (WebCore::ChromeClient::requestQuotaIncreaseForNewDatabase):
1113 (WebCore::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
1114 * WebKitSupport/ChromeClientWx.h:
1116 2007-11-25 Kevin Ollivier <kevino@theolliviers.com>
1118 wx build fix. Don't get xslt-config options at bake time, do it
1123 2007-11-23 Kevin Ollivier <kevino@theolliviers.com>
1125 wx build fix. Include config.h in WebFrame/WebView to ensure
1126 WebCore headers are properly configured, fix unicode/utf8.h and
1127 config.h include ordering issues, centralize wx project options to
1128 ensure proper configuration, and fix wxwebkit-python target so that
1129 it links against wx libs.
1133 * bindings/python/wxwebkit-py.bkl:
1135 * presets/wxwebkit.bkl:
1137 * wxwk-settings.bkl:
1139 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
1141 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
1142 it indiscriminately copies any headers inside JavaScriptCore,
1143 which includes Tiger ICU headers.
1145 * presets/wxwebkit.bkl:
1146 Remove WebCore/include reference and add JSCore header dirs needed
1149 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
1151 Add pcre directory to JSCore includes, and update the wx port
1152 to reflect the Shared -> RefCounted name change. Also, fix
1153 WebFrame.cpp to re-enable code that should never have been
1159 (wxWebFrame::wxWebFrame):
1160 * WebKitSupport/FrameLoaderClientWx.cpp:
1161 (WebCore::FrameLoaderClientWx::ref):
1162 (WebCore::FrameLoaderClientWx::deref):
1163 * WebKitSupport/FrameLoaderClientWx.h:
1164 * presets/wxwebkit.bkl:
1166 2007-11-17 Timothy Hatcher <timothy@apple.com>
1168 Reviewed by Mark Rowe.
1170 Bug 13470: i18n: The Web Inspector is not localizable
1171 http://bugs.webkit.org/show_bug.cgi?id=13470
1173 * WebKitSupport/InspectorClientWx.cpp:
1174 (WebCore::InspectorClientWx::localizedStringsURL): Empty stub.
1175 * WebKitSupport/InspectorClientWx.h: Added localizedStringsURL.
1177 2007-11-08 Kevin Ollivier <kevino@theolliviers.com>
1179 Initial commit of wx implementation of WebKit. This includes
1180 the wxWebFrame and wxWebView wx front end classes, the
1181 WebKitSupport directory containing implementations of interfaces
1182 used by WebCore to talk with the wxWebKit front end, and the
1183 language bindings for wxWebKit (bindings dir), currently
1184 only containing bindings and a sample app for wxPython.
1186 Reviewed by Mark Rowe.
1188 * Bakefiles.bkgen: Added.
1189 * WebFrame.cpp: Added.
1190 * WebFrame.h: Added.
1191 * WebKitSupport: Added.
1192 * WebKitSupport/ChromeClientWx.cpp: Added.
1193 * WebKitSupport/ChromeClientWx.h: Added.
1194 * WebKitSupport/ContextMenuClientWx.cpp: Added.
1195 * WebKitSupport/ContextMenuClientWx.h: Added.
1196 * WebKitSupport/DragClientWx.cpp: Added.
1197 * WebKitSupport/DragClientWx.h: Added.
1198 * WebKitSupport/EditorClientWx.cpp: Added.
1199 * WebKitSupport/EditorClientWx.h: Added.
1200 * WebKitSupport/FrameLoaderClientWx.cpp: Added.
1201 * WebKitSupport/FrameLoaderClientWx.h: Added.
1202 * WebKitSupport/InspectorClientWx.cpp: Added.
1203 * WebKitSupport/InspectorClientWx.h: Added.
1204 * WebView.cpp: Added.
1206 * WebViewPrivate.h: Added.
1208 * bindings/python: Added.
1209 * bindings/python/samples: Added.
1210 * bindings/python/samples/simple.py: Added.
1211 * bindings/python/webview.i: Added.
1212 * bindings/python/wxwebkit-py.bkl: Added.
1213 * dependencies.bkl: Added.
1215 * presets/wxwebkit.bkl: Added.
1216 * wxwebkit.bkl: Added.
1217 * wxwk-settings.bkl: Added.