1 2008-11-24 Darin Fisher <darin@chromium.org>
5 http://bugs.webkit.org/show_bug.cgi?id=15643
7 * WebKitSupport/EditorClientWx.cpp:
8 (WebCore::EditorClientWx::isSelectTrailingWhitespaceEnabled):
9 * WebKitSupport/EditorClientWx.h:
11 2008-11-24 Darin Adler <darin@apple.com>
13 Reviewed by Dan Bernstein.
15 - https://bugs.webkit.org/show_bug.cgi?id=22470
16 remove unneeded URL argument from FrameLoaderClient::updateGlobalHistory
18 * WebKitSupport/FrameLoaderClientWx.cpp:
19 (WebCore::FrameLoaderClientWx::updateGlobalHistory): Remove argument.
20 * WebKitSupport/FrameLoaderClientWx.h: Ditto.
22 2008-11-21 Kevin Watters <kevinwatters@gmail.com>
24 Reviewed by Kevin Ollivier.
26 Maintain an EditCommand stack in WebFramePrivate, and expose Undo and
29 https://bugs.webkit.org/show_bug.cgi?id=22403
32 (wxWebFrame::wxWebFrame):
35 (wxWebFrame::CanUndo):
36 (wxWebFrame::CanRedo):
38 * WebFramePrivate.h: Added.
39 (WebFramePrivate::WebFramePrivate):
40 * WebKitSupport/ChromeClientWx.cpp:
41 (WebCore::ChromeClientWx::createWindow):
42 * WebKitSupport/EditCommandWx.h: Added.
43 (EditCommandWx::EditCommandWx):
44 (EditCommandWx::~EditCommandWx):
45 (EditCommandWx::editCommand):
46 * WebKitSupport/EditorClientWx.cpp:
47 (WebCore::EditorClientWx::registerCommandForUndo):
48 (WebCore::EditorClientWx::registerCommandForRedo):
49 (WebCore::EditorClientWx::canUndo):
50 (WebCore::EditorClientWx::canRedo):
51 (WebCore::EditorClientWx::undo):
52 (WebCore::EditorClientWx::redo):
53 * WebKitSupport/EditorClientWx.h:
55 (wxWebView::OnMouseEvents):
56 (wxWebView::OnKeyEvents):
59 2008-11-19 Darin Fisher <darin@chromium.org>
61 Reviewed by Geoff Garen.
63 https://bugs.webkit.org/show_bug.cgi?id=22345
64 Define ScriptValue as a thin container for a JSC::Value*.
67 (wxWebFrame::RunScript):
69 2008-11-17 Geoffrey Garen <ggaren@apple.com>
71 Reviewed by Sam Weinig.
73 Updated for JavaScriptCore renames.
75 * presets/wxwebkit.bkl:
77 2008-11-17 Geoffrey Garen <ggaren@apple.com>
79 Reviewed by Sam Weinig.
81 Updated for JavaScriptCore renames.
83 * presets/wxwebkit.bkl:
85 2008-11-17 Geoffrey Garen <ggaren@apple.com>
91 * presets/wxwebkit.bkl:
93 2008-11-15 Kevin Watters <kevinwatters@gmail.com>
95 Reviewed by Kevin Ollivier.
97 Add API for setting transparent webview background.
99 https://bugs.webkit.org/show_bug.cgi?id=22281
102 (wxWebView::SetTransparent):
103 (wxWebView::IsTransparent):
106 2008-11-11 Cameron Zwarich <zwarich@apple.com>
108 Reviewed by Geoff Garen.
110 Remove pointless dependencies on the deleted kjs directory.
112 * presets/wxwebkit.bkl:
114 2008-11-08 Kevin Ollivier <kevino@theolliviers.com>
116 wx build fixes after addition of JSCore parser and bycompiler dirs.
118 * presets/wxwebkit.bkl:
120 2008-11-05 Cameron Zwarich <zwarich@apple.com>
122 Rubber-stamped by Sam Weinig.
124 Move more files to the runtime subdirectory of JavaScriptCore.
129 2008-10-31 Kevin Ollivier <kevino@theolliviers.com>
131 wxMSW build fix. Missing header.
133 * WebKitSupport/ChromeClientWx.cpp:
135 2008-10-29 Kevin Ollivier <kevino@theolliviers.com>
137 wx build fixes after addition of runtime and ImageBuffer changes.
139 * presets/wxwebkit.bkl:
141 2008-10-28 Cameron Zwarich <zwarich@apple.com>
143 Reviewed by Mark Rowe.
145 Move ForwardingHeaders to their correct location after the creation of
146 the runtime directory in JavaScriptCore.
151 2008-10-27 Kevin Ollivier <kevino@theolliviers.com>
153 wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
155 * presets/wxwebkit.bkl:
157 2008-10-25 Kevin Ollivier <kevino@theolliviers.com>
161 * WebKitSupport/ChromeClientWx.h:
163 2008-10-24 Sam Weinig <sam@webkit.org>
165 Reviewed by Dan Bernstein.
167 Fix https://bugs.webkit.org/show_bug.cgi?id=21759
168 Layering violation: FileChooser should not depend on Document/Frame/Page
170 * WebKitSupport/ChromeClientWx.cpp:
171 (WebCore::ChromeClientWx::runOpenPanel):
172 * WebKitSupport/ChromeClientWx.h:
174 2008-10-24 David Kilzer <ddkilzer@apple.com>
178 Reviewed by Greg Bolsinga.
180 * WebKitSupport/InspectorClientWx.cpp:
181 (WebCore::InspectorClientWx::populateSetting): Changed
182 InspectorClient:: to InspectorClientWx::.
183 (WebCore::InspectorClientWx::storeSetting): Ditto.
184 (WebCore::InspectorClientWx::removeSetting): Ditto.
186 2008-10-24 Timothy Hatcher <timothy@apple.com>
188 Stub out new InspectorClient methods.
190 https://bugs.webkit.org/show_bug.cgi?id=21856
192 Reviewed by Darin Adler.
194 * WebKitSupport/InspectorClientWx.cpp:
195 (WebCore::InspectorClient::populateSetting): Not implemented.
196 (WebCore::InspectorClient::storeSetting): Ditto.
197 (WebCore::InspectorClient::removeSetting): Ditto.
198 * WebKitSupport/InspectorClientWx.h:
200 2008-10-24 Darin Adler <darin@apple.com>
202 - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
204 * WebFrame.cpp: (wxWebFrame::RunScript): Use JSValue* instead of JSValuePtr.
206 2008-10-20 Sam Weinig <sam@webkit.org>
208 Reviewed by Anders Carlsson.
210 Remove FrameLoaderClient::detachedFromParent4. It is no longer used by any port.
212 * WebKitSupport/FrameLoaderClientWx.cpp:
213 * WebKitSupport/FrameLoaderClientWx.h:
215 2008-10-19 Darin Adler <darin@apple.com>
217 Reviewed by Oliver Hunt.
219 - next step of https://bugs.webkit.org/show_bug.cgi?id=21732
220 improve performance by eliminating JSValue as a base class for JSCell
222 Remove most uses of JSValue, which will be removed in a future patch.
225 (wxWebFrame::RunScript): Use JSValuePtr.
227 2008-10-17 Kevin Watters <kevinwatters@gmail.com>
229 Reviewed by Kevin Ollivier
231 Fix wx port's scrollbar and drawing handling after recent changes.
233 https://bugs.webkit.org/show_bug.cgi?id=21720
236 (wxWebView::OnPaint):
239 2008-10-09 Kevin Ollivier <kevino@theolliviers.com>
243 * WebKitSupport/ChromeClientWx.cpp:
244 (WebCore::ChromeClientWx::repaint):
245 (WebCore::ChromeClientWx::scroll):
246 * WebKitSupport/ChromeClientWx.h:
247 * presets/wxwebkit.bkl:
249 2008-10-06 David Hyatt <hyatt@apple.com>
251 Enable viewless Mac WebKit to paint some basic pages.
253 Reviewed by Sam Weinig
255 * WebKitSupport/FrameLoaderClientWx.cpp:
256 * WebKitSupport/FrameLoaderClientWx.h:
258 2008-10-03 David Hyatt <hyatt@apple.com>
260 Remove addToDirtyRegion.
262 Reviewed by Oliver Hunt
264 * WebKitSupport/ChromeClientWx.cpp:
266 2008-10-02 Kevin Ollivier <kevino@theolliviers.com>
268 wx build fixes after Frame/ScrollView changes.
271 (wxWebView::OnPaint):
273 2008-10-01 David Hyatt <hyatt@apple.com>
275 https://bugs.webkit.org/show_bug.cgi?id=21282
277 Make contentsToScreen/screenToContents cross-platform. Only implemented by Mac/Win right now.
279 Reviewed by Adam Roben
281 * WebKitSupport/ChromeClientWx.cpp:
282 (WebCore::ChromeClientWx::windowToScreen):
283 (WebCore::ChromeClientWx::screenToWindow):
284 * WebKitSupport/ChromeClientWx.h:
286 2008-09-30 Dave Hyatt <hyatt@apple.com>
288 http://bugs.webkit.org/show_bug.cgi?id=21250
290 Rename updateContents to repaintContentRectangle and make it cross-platform by always sending
291 repaints up through the ChromeClient.
293 Reviewed by Darin Adler
295 * WebKitSupport/ChromeClientWx.cpp:
296 (WebCore::ChromeClientWx::repaint):
297 * WebKitSupport/ChromeClientWx.h:
299 2008-09-26 Kevin Ollivier <kevino@theolliviers.com>
301 wx build fixes after Widget/ScrollView changes.
303 * WebKitSupport/FrameLoaderClientWx.cpp:
304 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
306 2008-09-20 Kevin Ollivier <kevino@theolliviers.com>
308 Reviewed by Dan Bernstein.
312 https://bugs.webkit.org/show_bug.cgi?id=20505
315 (wxWebView::OnPaint):
317 2008-09-20 Kevin Ollivier <kevino@theolliviers.com>
319 wx build fixes. Added/removed build sources, and nativeWindow->platformWidget updates.
321 * WebKitSupport/EditorClientWx.cpp:
322 (WebCore::EditorClientWx::isEditable):
323 * WebKitSupport/FrameLoaderClientWx.cpp:
324 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
326 2008-09-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
328 Reviewed by Maciej Stachowiak.
330 Bug 20704: Replace the KJS namespace
331 <https://bugs.webkit.org/show_bug.cgi?id=20704>
333 Rename the KJS namespace to JSC.
336 (wxWebFrame::RunScript):
338 2008-09-04 Kevin Ollivier <kevino@theolliviers.com>
342 * WebKitSupport/FrameLoaderClientWx.cpp:
343 (WebCore::FrameLoaderClientWx::pluginWillHandleLoadError):
344 * WebKitSupport/FrameLoaderClientWx.h:
346 2008-08-18 Kevin Ollivier <kevino@theolliviers.com>
348 Build fix for Win. Don't include the libxml/libxslt directories in the
349 include path, it picks up the wrong Pattern.h in that case.
353 2008-08-12 Timothy Hatcher <timothy@apple.com>
355 Add a stub for InspectorClient::setAttachedWindowHeight.
357 * WebKitSupport/InspectorClientWx.cpp:
358 (WebCore::InspectorClientWx::setAttachedWindowHeight):
359 Call notImplemented().
360 * WebKitSupport/InspectorClientWx.h:
362 2008-08-06 Kevin Watters <kevinwatters@gmail.com>
364 Reviewed by Kevin Ollivier.
366 Create a wxWebFrame API to match other ports and to prepare for frames support.
367 Also fixes a frame leak in wx port on trunk.
369 https://bugs.webkit.org/show_bug.cgi?id=19041
371 * WebFrame.cpp: Added.
372 (wxWebFrame::wxWebFrame):
373 (wxWebFrame::~wxWebFrame):
374 (wxWebFrame::GetFrame):
376 (wxWebFrame::Reload):
377 (wxWebFrame::GetPageSource):
378 (wxWebFrame::SetPageSource):
379 (wxWebFrame::GetInnerText):
380 (wxWebFrame::GetAsMarkup):
381 (wxWebFrame::GetExternalRepresentation):
382 (wxWebFrame::RunScript):
383 (wxWebFrame::LoadURL):
384 (wxWebFrame::GoBack):
385 (wxWebFrame::GoForward):
386 (wxWebFrame::CanGoBack):
387 (wxWebFrame::CanGoForward):
388 (wxWebFrame::CanIncreaseTextSize):
389 (wxWebFrame::IncreaseTextSize):
390 (wxWebFrame::CanDecreaseTextSize):
391 (wxWebFrame::DecreaseTextSize):
392 (wxWebFrame::MakeEditable):
393 (wxWebFrame::CanCopy):
395 (wxWebFrame::CanCut):
397 (wxWebFrame::CanPaste):
401 (wxWebView::wxWebView):
403 (wxWebView::~wxWebView):
406 (wxWebView::GetPageSource):
407 (wxWebView::SetPageSource):
408 (wxWebView::GetInnerText):
409 (wxWebView::GetAsMarkup):
410 (wxWebView::GetExternalRepresentation):
411 (wxWebView::RunScript):
412 (wxWebView::LoadURL):
414 (wxWebView::GoForward):
415 (wxWebView::CanGoBack):
416 (wxWebView::CanGoForward):
417 (wxWebView::CanIncreaseTextSize):
418 (wxWebView::IncreaseTextSize):
419 (wxWebView::CanDecreaseTextSize):
420 (wxWebView::DecreaseTextSize):
421 (wxWebView::OnPaint):
423 (wxWebView::OnMouseEvents):
424 (wxWebView::CanCopy):
428 (wxWebView::CanPaste):
430 (wxWebView::OnKeyEvents):
431 (wxWebView::OnSetFocus):
432 (wxWebView::OnKillFocus):
436 2008-07-27 Kevin Watters <kevinwatters@gmail.com>
438 Reviewed by Sam Weinig.
440 Add tooltip support to the wx port.
442 https://bugs.webkit.org/show_bug.cgi?id=20173
444 * WebKitSupport/ChromeClientWx.cpp:
445 (WebCore::ChromeClientWx::setToolTip):
447 (wxWebView::OnMouseEvents): Use mouseMoved instead of handleMouseMoveEvent.
449 2008-07-21 Kevin Ollivier <kevino@theolliviers.com>
451 wx build fix. Fix pthread linkage under Linux.
455 2008-06-15 Darin Adler <darin@apple.com>
457 - give Frame object functions shorter names: scriptProxy() -> script(),
458 selectionController() -> selection(), animationController() -> animation()
460 * WebKitSupport/EditorClientWx.cpp:
461 (WebCore::EditorClientWx::handleKeyboardEvent):
463 (wxWebView::RunScript):
464 (wxWebView::OnSetFocus):
465 (wxWebView::OnKillFocus):
467 2008-06-15 Darin Adler <darin@apple.com>
469 - new names for a few key JavaScriptCore files
473 2008-06-14 Darin Adler <darin@apple.com>
475 Rubber stamped by Sam.
477 - new names for kjs_binding.h and kjs_proxy.h
481 2008-06-14 Darin Adler <darin@apple.com>
483 - try to fix wx build, again
486 (wxWebView::Create): Use create function instead of new.
488 2008-06-14 Darin Adler <darin@apple.com>
492 - more https://bugs.webkit.org/show_bug.cgi?id=17257
493 start ref counts at 1 instead of 0 for speed
495 * WebKitSupport/FrameLoaderClientWx.cpp:
496 (WebCore::FrameLoaderClientWx::createDocumentLoader): Use create function
499 2008-06-13 Darin Adler <darin@apple.com>
503 * WebKitSupport/FrameLoaderClientWx.h: Add missing argument.
505 2008-06-13 Darin Adler <darin@apple.com>
507 Reviewed by John Sullivan.
509 - updated for addition of FormState argument to action policy functions
511 * WebKitSupport/FrameLoaderClientWx.cpp:
512 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
513 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
515 2008-06-10 Kevin Ollivier <kevino@theolliviers.com>
517 wx Linux build fix. Only use -undefined dynamic_lookup flag under Mac.
519 * bindings/python/wxwebkit-py.bkl:
521 2008-05-28 Robin Dunn <robin@alldunn.com>
523 Reviewed by Kevin Ollivier.
525 This patch adds a new wx event type and code to send it when a new title is set
526 by the page being loaded.
528 https://bugs.webkit.org/show_bug.cgi?id=19067
530 * WebKitSupport/FrameLoaderClientWx.cpp:
531 (WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
533 (wxWebViewReceivedTitleEvent::wxWebViewReceivedTitleEvent):
535 * bindings/python/webview.i:
537 2008-05-28 Robin Dunn <robin@alldunn.com>
539 Reviewed by Kevin Ollivier.
541 This patch tweaks the wxWebView class to make it conform to normal wx patterns
542 for widget classes. It adds a default ctor and the Create method so it can use
543 the 2-phase create pattern, adds wxRTTI macros which is important for wxPython
544 and XRC, and fixes the LoadURL method to pass a wxString reference to save a
547 https://bugs.webkit.org/show_bug.cgi?id=19068
550 (wxWebView::wxWebView):
552 (wxWebView::LoadURL):
555 2008-05-27 Kevin Ollivier <kevino@theolliviers.com>
557 wx build fix. Accidently left a couple fixes out of the previous commit.
559 * presets/wxwebkit.bkl:
561 2008-05-16 Kevin Ollivier <kevino@theolliviers.com>
563 Reviewed by Darin Adler.
565 Rename wxWebFrame -> wxWebBrowserShell in preparation to introduce a WebFrame
566 counterpart in wx port. (Frame typically means 'top level window' in wx terms.)
568 https://bugs.webkit.org/show_bug.cgi?id=19041
570 * WebBrowserShell.cpp: Copied from WebKit/wx/WebFrame.cpp.
571 (wxWebBrowserShell::wxWebBrowserShell):
572 (wxWebBrowserShell::~wxWebBrowserShell):
573 (wxWebBrowserShell::ShowDebugMenu):
574 (wxWebBrowserShell::OnQuit):
575 (wxWebBrowserShell::OnAbout):
576 (wxWebBrowserShell::OnLoadFile):
577 (wxWebBrowserShell::OnLoadEvent):
578 (wxWebBrowserShell::OnBeforeLoad):
579 (wxWebBrowserShell::OnAddressBarEnter):
580 (wxWebBrowserShell::OnSearchCtrlEnter):
581 (wxWebBrowserShell::OnBack):
582 (wxWebBrowserShell::OnForward):
583 (wxWebBrowserShell::OnStop):
584 (wxWebBrowserShell::OnReload):
585 (wxWebBrowserShell::OnMakeTextLarger):
586 (wxWebBrowserShell::OnMakeTextSmaller):
587 (wxWebBrowserShell::OnGetSource):
588 (wxWebBrowserShell::OnSetSource):
589 (wxWebBrowserShell::OnBrowse):
590 (wxWebBrowserShell::OnEdit):
591 (wxWebBrowserShell::OnRunScript):
592 * WebBrowserShell.h: Copied from WebKit/wx/WebFrame.h.
593 * WebFrame.cpp: Removed.
594 * WebFrame.h: Removed.
595 * WebKitSupport/ChromeClientWx.cpp:
596 (WebCore::ChromeClientWx::createWindow):
597 * bindings/python/webview.i:
600 2008-05-20 Kevin Ollivier <kevino@theolliviers.com>
602 wx build fix. Update code after removal of Document::toString().
605 (wxWebView::GetPageSource):
607 2008-05-15 Kevin Ollivier <kevino@theolliviers.com>
609 wx build fix. Add rendering/style to includes dir.
611 * presets/wxwebkit.bkl:
613 2008-05-11 Kevin Ollivier <kevino@theolliviers.com>
615 Previous commit made bdash sad. Restore happiness state by fixing missed style issue.
617 * WebKitSupport/FrameLoaderClientWx.cpp:
618 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
620 2008-05-11 Robin Dunn <robin@alldunn.com>
622 Reviewed by Kevin Ollivier.
624 Fix scrolling issues by implementing transitionToCommittedNewPage() so the scroll
625 positions are reset when a new page is loaded, and also maintained so that back
626 and next restore the scroll positions as well. This also simplifies the logic
627 for initializing and managing wxWebView.
629 https://bugs.webkit.org/show_bug.cgi?id=18992
631 * WebKitSupport/FrameLoaderClientWx.cpp:
632 (WebCore::FrameLoaderClientWx::setWebView):
633 (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
634 (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
635 (WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
636 (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
637 (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
638 (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
639 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
640 (WebCore::FrameLoaderClientWx::createFrame):
641 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
642 * WebKitSupport/FrameLoaderClientWx.h:
644 (wxWebView::wxWebView):
645 (wxWebView::~wxWebView):
646 (wxWebView::GetPageSource):
647 (wxWebView::GetInnerText):
648 (wxWebView::GetExternalRepresentation):
649 (wxWebView::OnPaint):
651 (wxWebView::OnMouseEvents):
652 (wxWebView::CanCopy):
654 (wxWebView::CanPaste):
655 (wxWebView::OnKeyEvents):
657 (WebViewPrivate::WebViewPrivate):
659 2008-05-04 Robin Dunn <robin@alldunn.com>
661 Reviewed by Kevin Ollivier.
663 Allow events to specify the ID of the particular wxWebView they are to be sent to.
665 https://bugs.webkit.org/show_bug.cgi?id=18659
668 (wxWebFrame::wxWebFrame):
670 (wxWebViewLoadEvent::wxWebViewLoadEvent):
671 (wxWebViewBeforeLoadEvent::wxWebViewBeforeLoadEvent):
672 (wxWebViewNewWindowEvent::wxWebViewNewWindowEvent):
673 (wxWebViewRightClickEvent::wxWebViewRightClickEvent):
674 (wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
676 * bindings/python/webview.i:
678 2008-04-27 Robin Dunn <robin@alldunn.com>
680 Reviewed by Kevin Ollivier.
682 Add methods to check if there is a previous/next page in the history. Also some
683 coding style cleanup.
685 https://bugs.webkit.org/show_bug.cgi?id=18757
689 (wxWebView::GoForward):
690 (wxWebView::CanGoBack):
691 (wxWebView::CanGoForward):
694 2008-04-24 Anders Carlsson <andersca@apple.com>
698 Change some String arguments to be const references instead.
700 * WebKitSupport/EditorClientWx.cpp:
701 (WebCore::EditorClientWx::shouldInsertText):
702 * WebKitSupport/EditorClientWx.h:
704 2008-04-23 Kevin Ollivier <kevino@theolliviers.com>
706 Reviewed by Alp Toker.
708 Typo fix to restore text entry.
710 * WebKitSupport/EditorClientWx.cpp:
711 (WebCore::EditorClientWx::handleKeyboardEvent):
713 2008-04-19 Kevin Ollivier <kevino@theolliviers.com>
715 wx build fix. renderer() -> contentRenderer()
718 (wxWebView::GetExternalRepresentation):
719 (wxWebView::OnPaint):
721 2008-04-18 Kevin Ollivier <kevino@theolliviers.com>
723 wx build fix. We need to use ENABLE_DOM_STORAGE now.
727 2008-04-05 Kevin Ollivier <kevino@theolliviers.com>
729 Rubber stamped by Mark Rowe.
731 Don't assume wxWebKit to be part of the wx package. This allows
732 us to run it from any directory on the PYTHONPATH rather than
733 having to copy files into the wxPython directory.
735 * bindings/python/webview.i:
737 2008-03-25 Brady Eidson <beidson@apple.com>
741 Remove newly obsolete FrameLoaderClient methods
743 * WebKitSupport/FrameLoaderClientWx.cpp:
744 * WebKitSupport/FrameLoaderClientWx.h:
746 2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
748 wx build fix. Make sure we link png/jpeg libraries before
749 wx libraries to get the right symbols.
754 2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
756 Rubber stamped by Darin Adler.
758 Add set-webkit-configuration support for wx port, and centralize
759 build dir location setting.
761 http://bugs.webkit.org/show_bug.cgi?id=17790
763 * bindings/python/wxwebkit-py.bkl:
764 * presets/wxwebkit.bkl:
768 2008-03-12 David Hyatt <hyatt@apple.com>
770 Make the zoom factor a float and not a percent.
775 (wxWebView::IncreaseTextSize):
776 (wxWebView::DecreaseTextSize):
778 2008-03-03 Kevin Ollivier <kevino@theolliviers.com>
780 wx build fix after Frame::setZoomFactor API change.
783 (wxWebView::IncreaseTextSize):
784 (wxWebView::DecreaseTextSize):
786 2008-02-24 Darin Adler <darin@apple.com>
790 - remove separate client calls for "standard" and "reload' history
792 * WebKitSupport/FrameLoaderClientWx.cpp:
793 (WebCore::FrameLoaderClientWx::updateGlobalHistory):
794 * WebKitSupport/FrameLoaderClientWx.h:
796 2008-02-23 Kevin Ollivier <kevino@theolliviers.com>
798 Reviewed by Darin Adler.
800 Move text drawing into wxcode, as we need platform-dependent
801 APIs for drawing non-kerned text, which wx doesn't yet have.
802 (But hopefully will, once these APIs are fleshed out on all
805 http://bugs.webkit.org/show_bug.cgi?id=17396
808 We need to directly link against GDI+ on Windows since we now
809 directly call GDI+ APIs.
811 2008-02-14 Darin Adler <darin@apple.com>
813 * WebView.cpp: Removed use of DeprecatedString to keep this compiling.
815 2008-02-11 Kevin Ollivier <kevino@theolliviers.com>
817 Reviewed by Darin Adler.
819 A couple quick wx fixes.
821 http://bugs.webkit.org/show_bug.cgi?id=17321
824 (wxWebView::OnPaint):
825 Make sure wxGCDC has its paint origin set properly after
826 the move to wxWindow for scrolling.
827 * bindings/python/webview.i:
828 Update the wxPython bindings after event rename.
830 2008-02-10 Darin Adler <darin@apple.com>
834 - http://bugs.webkit.org/show_bug.cgi?id=17256
835 eliminate default ref. count of 0 in RefCounted class
837 * WebKitSupport/FrameLoaderClientWx.cpp:
838 (WebCore::FrameLoaderClientWx::FrameLoaderClientWx):
839 Set the count to 0 explicitly (one stray client I missed in my last pass).
841 2008-02-03 Kevin Ollivier <kevino@theolliviers.com>
843 Reviewed by Darin Adler.
845 Typo fix. Don't use the provisionalDocumentLoader() after the
846 whole page has already been loaded.
848 * WebKitSupport/FrameLoaderClientWx.cpp:
849 (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
851 2008-02-03 Kevin Ollivier <kevino@theolliviers.com>
853 Build fix for last wx commit (a couple things were not committed).
854 Also fix some style issues.
857 (wxWebView::wxWebView):
858 (wxWebView::OnPaint):
860 (wxWebView::CanCopy):
864 (wxWebView::CanPaste):
866 (wxWebView::OnKeyEvents):
867 (wxWebView::OnSetFocus):
868 (wxWebView::OnKillFocus):
869 (wxWebView::OnActivate):
872 2008-01-31 Kevin Ollivier <kevino@theolliviers.com>
874 Reviewed by Adam Roben.
876 On MSW, the wx port internally uses callbacks for wxTimer, so the
877 wx port suffers from the same crash problem that was fixed
878 in r28500 for the Windows port. For now, use the SharedTimerWin.cpp
879 impl. for wx too on MSW, until a version of wx is released that
880 fixes the issue by reworking wxTimer.
883 (wxWebView::wxWebView):
885 2008-01-21 Darin Adler <darin@apple.com>
887 Reviewed by John Sullivan.
889 - updated for changes to ChromeClient database functions
891 * WebKitSupport/ChromeClientWx.cpp:
892 (WebCore::ChromeClientWx::exceededDatabaseQuota):
893 * WebKitSupport/ChromeClientWx.h:
895 2008-01-16 Adam Roben <aroben@apple.com>
897 Updated for WebCore method renames.
899 Reviewed by Darin Adler.
902 (wxWebView::OnSetFocus):
903 (wxWebView::OnKillFocus):
904 (wxWebView::OnActivate):
906 2008-01-12 Kevin Ollivier <kevino@theolliviers.com>
908 Reviewed by Darin Adler.
910 wxWebKit API changes in preparation for DRT implementation.
913 - Add CONSOLE_MESSAGE callback so clients can choose how to handle
915 - Add more load events, and rename wxWebViewStateChangedEvent to
916 wxWebViewLoadEvent to reflect that all 'states' are load states.
917 - Add wxWebView impls. for GetInnerText(), GetAsMarkup() and
918 GetExternalRepresentation()
921 (wxWebFrame::OnLoadEvent):
923 * WebKitSupport/ChromeClientWx.cpp:
924 (WebCore::ChromeClientWx::ChromeClientWx):
925 (WebCore::ChromeClientWx::addMessageToConsole):
926 * WebKitSupport/ChromeClientWx.h:
927 * WebKitSupport/FrameLoaderClientWx.cpp:
928 (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
929 (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
930 (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
931 (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
932 (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
934 (wxWebViewLoadEvent::wxWebViewLoadEvent):
935 (wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
936 (wxWebView::wxWebView):
937 (wxWebView::GetPageSource):
938 (wxWebView::GetInnerText):
939 (wxWebView::GetAsMarkup):
940 (wxWebView::GetExternalRepresentation):
943 2008-01-12 Kevin Ollivier <kevino@theolliviers.com>
945 wx build fix. Add WebCore/icu/include dir for OS X boxes with
946 only stock ICU installed.
950 2008-01-10 Maciej Stachowiak <mjs@apple.com>
954 - remove SecurityOriginData and fold its functionality into SecurityOrigin
956 * WebKitSupport/ChromeClientWx.cpp:
957 (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
958 (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
959 * WebKitSupport/ChromeClientWx.h:
961 2007-12-16 Darin Adler <darin@apple.com>
963 - try to fix the build
966 (wxWebView::OnKeyEvents): Add a WebCore prefix.
968 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
970 Reviewed by Darin Adler.
972 http://bugs.webkit.org/show_bug.cgi?id=16462
973 REGRESSION: access keys broken on Windows
975 * WebView.cpp: (wxWebView::OnKeyEvents): Call handleAccessKey() as appropriate.
977 2007-12-14 Darin Adler <darin@apple.com>
981 * WebKitSupport/EditorClientWx.cpp:
982 (WebCore::EditorClientWx::handleKeyboardEvent): Switched from Editor::execCommand
985 2007-12-12 Brady Eidson <beidson@apple.com>
987 Reviewed by Sam Weinig
989 As part of doing some CachedPage and client cleanup, keep Wx building
991 * WebKitSupport/FrameLoaderClientWx.cpp:
992 (WebCore::FrameLoaderClientWx::savePlatformDataToCachedPage):
993 (WebCore::FrameLoaderClientWx::transitionToCommittedFromCachedPage):
994 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
995 * WebKitSupport/FrameLoaderClientWx.h:
997 2007-12-12 Sam Weinig <sam@webkit.org>
1001 * WebKitSupport/ChromeClientWx.cpp:
1002 (WebCore::ChromeClientWx::createWindow):
1003 * WebKitSupport/FrameLoaderClientWx.cpp:
1004 (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
1005 (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
1006 (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
1007 (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
1008 (WebCore::FrameLoaderClientWx::didChangeTitle):
1009 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
1011 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1013 Reviewed by Darin Adler.
1015 <rdar://problem/5535636>
1016 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1018 http://bugs.webkit.org/show_bug.cgi?id=13916
1019 JavaScript detects Tab as a character input on a textfield validation
1021 * WebKitSupport/EditorClientWx.cpp:
1022 (WebCore::EditorClientWx::handleInputMethodKeydown):
1023 (WebCore::EditorClientWx::handleKeyboardEvent):
1024 * WebKitSupport/EditorClientWx.h:
1025 Updated for cross-platform changes as much as it was possible without a wx build environment.
1026 The keyboard event model of wx is similar to Windows one, so further fixes can be modeled
1027 after the Windows port.
1029 2007-12-06 Kevin Ollivier <kevino@theolliviers.com>
1031 Fix page leak caused because the Frame's page pointer is 0 by the
1032 time we call delete on it. Store a reference to the page instead
1033 and delete it that way.
1035 Also, small fix to call PrepareDC(gcdc) when using wxGCDC because
1036 on Linux the wxGCDC gcdc(dc) constructor will not retain the
1037 changes made to dc by PrepareDC(dc).
1039 Reviewed by Darin Adler.
1042 (wxWebView::wxWebView):
1043 (wxWebView::~wxWebView):
1044 (wxWebView::OnPaint):
1046 (WebViewPrivate::WebViewPrivate):
1048 2007-12-06 Kevin Ollivier <kevino@theolliviers.com>
1050 Linux build fix - ensure that webcore is linked before jscore
1051 so that the linker will know which symbols it needs to link in.
1052 Also fix MSVC project file name typo for sample app.
1057 2007-12-04 Darin Adler <darin@apple.com>
1059 Reviewed by Kevin Decker.
1061 * WebKitSupport/FrameLoaderClientWx.cpp: Removed obsolete privateBrowsingEnabled.
1062 * WebKitSupport/FrameLoaderClientWx.h: Ditto.
1064 2007-12-03 Mark Rowe <mrowe@apple.com>
1069 (wxWebView::RunScript):
1071 2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
1073 wx build fix. Add WebCore/platform/graphics/wx to includes.
1077 2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
1079 Fix method signatures to be members of ClientChromeWx class.
1081 * WebKitSupport/ChromeClientWx.cpp:
1082 (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
1083 (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
1085 2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
1087 Build fix. Add platform/text to includes for targets that
1088 need WebCore headers.
1090 * presets/wxwebkit.bkl:
1092 2007-11-29 Brady Eidson <beidson@apple.com>
1094 Keep it building with new client method
1096 * WebKitSupport/ChromeClientWx.cpp:
1097 (WebCore::ChromeClient::requestQuotaIncreaseForNewDatabase):
1098 (WebCore::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
1099 * WebKitSupport/ChromeClientWx.h:
1101 2007-11-25 Kevin Ollivier <kevino@theolliviers.com>
1103 wx build fix. Don't get xslt-config options at bake time, do it
1108 2007-11-23 Kevin Ollivier <kevino@theolliviers.com>
1110 wx build fix. Include config.h in WebFrame/WebView to ensure
1111 WebCore headers are properly configured, fix unicode/utf8.h and
1112 config.h include ordering issues, centralize wx project options to
1113 ensure proper configuration, and fix wxwebkit-python target so that
1114 it links against wx libs.
1118 * bindings/python/wxwebkit-py.bkl:
1120 * presets/wxwebkit.bkl:
1122 * wxwk-settings.bkl:
1124 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
1126 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
1127 it indiscriminately copies any headers inside JavaScriptCore,
1128 which includes Tiger ICU headers.
1130 * presets/wxwebkit.bkl:
1131 Remove WebCore/include reference and add JSCore header dirs needed
1134 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
1136 Add pcre directory to JSCore includes, and update the wx port
1137 to reflect the Shared -> RefCounted name change. Also, fix
1138 WebFrame.cpp to re-enable code that should never have been
1144 (wxWebFrame::wxWebFrame):
1145 * WebKitSupport/FrameLoaderClientWx.cpp:
1146 (WebCore::FrameLoaderClientWx::ref):
1147 (WebCore::FrameLoaderClientWx::deref):
1148 * WebKitSupport/FrameLoaderClientWx.h:
1149 * presets/wxwebkit.bkl:
1151 2007-11-17 Timothy Hatcher <timothy@apple.com>
1153 Reviewed by Mark Rowe.
1155 Bug 13470: i18n: The Web Inspector is not localizable
1156 http://bugs.webkit.org/show_bug.cgi?id=13470
1158 * WebKitSupport/InspectorClientWx.cpp:
1159 (WebCore::InspectorClientWx::localizedStringsURL): Empty stub.
1160 * WebKitSupport/InspectorClientWx.h: Added localizedStringsURL.
1162 2007-11-08 Kevin Ollivier <kevino@theolliviers.com>
1164 Initial commit of wx implementation of WebKit. This includes
1165 the wxWebFrame and wxWebView wx front end classes, the
1166 WebKitSupport directory containing implementations of interfaces
1167 used by WebCore to talk with the wxWebKit front end, and the
1168 language bindings for wxWebKit (bindings dir), currently
1169 only containing bindings and a sample app for wxPython.
1171 Reviewed by Mark Rowe.
1173 * Bakefiles.bkgen: Added.
1174 * WebFrame.cpp: Added.
1175 * WebFrame.h: Added.
1176 * WebKitSupport: Added.
1177 * WebKitSupport/ChromeClientWx.cpp: Added.
1178 * WebKitSupport/ChromeClientWx.h: Added.
1179 * WebKitSupport/ContextMenuClientWx.cpp: Added.
1180 * WebKitSupport/ContextMenuClientWx.h: Added.
1181 * WebKitSupport/DragClientWx.cpp: Added.
1182 * WebKitSupport/DragClientWx.h: Added.
1183 * WebKitSupport/EditorClientWx.cpp: Added.
1184 * WebKitSupport/EditorClientWx.h: Added.
1185 * WebKitSupport/FrameLoaderClientWx.cpp: Added.
1186 * WebKitSupport/FrameLoaderClientWx.h: Added.
1187 * WebKitSupport/InspectorClientWx.cpp: Added.
1188 * WebKitSupport/InspectorClientWx.h: Added.
1189 * WebView.cpp: Added.
1191 * WebViewPrivate.h: Added.
1193 * bindings/python: Added.
1194 * bindings/python/samples: Added.
1195 * bindings/python/samples/simple.py: Added.
1196 * bindings/python/webview.i: Added.
1197 * bindings/python/wxwebkit-py.bkl: Added.
1198 * dependencies.bkl: Added.
1200 * presets/wxwebkit.bkl: Added.
1201 * wxwebkit.bkl: Added.
1202 * wxwk-settings.bkl: Added.