1 2009-09-16 Kevin Ollivier <kevino@theolliviers.com>
3 wxPython bindings build fixes after recent changes.
6 * bindings/python/wscript:
8 2009-09-13 Kevin Watters <kevinwatters@gmail.com>
10 Reviewed by Kevin Ollivier.
12 Allow a way to set the cache policy via wx API.
14 https://bugs.webkit.org/show_bug.cgi?id=29200
17 (wxWebView::SetCachePolicy):
18 (wxWebView::GetCachePolicy):
21 2009-09-13 Kevin Watters <kevinwatters@gmail.com>
23 Reviewed by Kevin Ollivier.
25 Allow the user to query Frame::shouldClose via wx API.
27 https://bugs.webkit.org/show_bug.cgi?id=29199
30 (wxWebFrame::ShouldClose):
33 (wxWebView::ShouldClose):
36 2009-09-13 Kevin Watters <kevinwatters@gmail.com>
38 Reviewed by Kevin Ollivier.
40 Fix mouse handling when the mouse leaves the window during mouse down.
42 https://bugs.webkit.org/show_bug.cgi?id=29198
45 (wxWebView::OnMouseEvents):
47 2009-09-13 Kevin Watters <kevinwatters@gmail.com>
49 Reviewed by Kevin Ollivier.
51 Add support for console MessageLevel at wx API level.
53 https://bugs.webkit.org/show_bug.cgi?id=29197
55 * WebKitSupport/ChromeClientWx.cpp:
56 (WebCore::ChromeClientWx::addMessageToConsole):
59 2009-09-03 Adam Barth <abarth@webkit.org>
61 Reviewed by eric@webkit.org.
63 https://bugs.webkit.org/show_bug.cgi?id=24696
65 Stub implementations of mixed content methods of FrameLoaderClient.
67 * WebKitSupport/FrameLoaderClientWx.cpp:
68 (WebCore::FrameLoaderClientWx::didDisplayInsecureContent):
69 (WebCore::FrameLoaderClientWx::didRunInsecureContent):
70 * WebKitSupport/FrameLoaderClientWx.h:
72 2009-09-03 Kevin Watters <kevinwatters@gmail.com>
74 Reviewed by Kevin Ollivier.
77 https://bugs.webkit.org/show_bug.cgi?id=19041
80 (wxWebFrame::wxWebFrame):
81 (wxWebFrame::~wxWebFrame):
82 (wxWebFrame::GetFrame):
85 * WebKitSupport/ChromeClientWx.cpp:
86 (WebCore::ChromeClientWx::platformWindow):
87 (WebCore::ChromeClientWx::scroll):
88 * WebKitSupport/EditorClientWx.cpp:
89 (WebCore::EditorClientWx::isEditable):
90 (WebCore::EditorClientWx::registerCommandForUndo):
91 (WebCore::EditorClientWx::registerCommandForRedo):
92 (WebCore::EditorClientWx::clearUndoRedoOperations):
93 (WebCore::EditorClientWx::canUndo):
94 (WebCore::EditorClientWx::canRedo):
95 (WebCore::EditorClientWx::undo):
96 (WebCore::EditorClientWx::redo):
97 * WebKitSupport/FrameLoaderClientWx.cpp:
98 (WebCore::FrameLoaderClientWx::FrameLoaderClientWx):
99 (WebCore::FrameLoaderClientWx::setFrame):
100 (WebCore::FrameLoaderClientWx::dispatchWillSubmitForm):
101 (WebCore::FrameLoaderClientWx::frameLoaderDestroyed):
102 (WebCore::FrameLoaderClientWx::committedLoad):
103 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForMIMEType):
104 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
105 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
106 (WebCore::FrameLoaderClientWx::createFrame):
107 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
108 * WebKitSupport/FrameLoaderClientWx.h:
112 2009-09-02 Kevin Ollivier <kevino@theolliviers.com>
114 waf build fixes for Windows/MSVC.
116 * bindings/python/wscript:
119 2009-09-02 Kevin Watters <kevinwatters@gmail.com>
121 Reviewed by Kevin Ollivier.
123 wx port: Call WTF::initializeThreading().
124 https://bugs.webkit.org/show_bug.cgi?id=28912
127 (wxWebView::Create): call WTF::initializeThreading()
129 2009-09-02 Kevin Ollivier <kevino@theolliviers.com>
131 wx build fix. Use the 2 param KURL constructor.
134 (wxWebFrame::SetPageSource):
136 2009-08-31 Alexey Proskuryakov <ap@webkit.org>
138 Reviewed by Darin Adler.
140 https://bugs.webkit.org/show_bug.cgi?id=28852
141 Rename KURL single argument constructor to avoid confusion
143 * WebFrame.cpp: (wxWebFrame::SetPageSource): Adapt to the change.
145 2009-08-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
147 Reviewed by Holger Freyther.
149 https://bugs.webkit.org/show_bug.cgi?id=25889
150 [GTK] scrollbar policy for main frame is not implementable
152 Add empty implementation for new ChromeClient method.
154 * WebKitSupport/ChromeClientWx.h:
155 (WebCore::ChromeClientWx::scrollbarsModeDidChange):
157 2009-08-19 Kevin Watters <kevinwatters@gmail.com>
159 Reviewed by Kevin Ollivier.
161 Use FrameLoader::load() for loading pages from a HTML page string to address
162 bugs with using begin/write/end loading.
164 https://bugs.webkit.org/show_bug.cgi?id=28488
167 (wxWebFrame::SetPageSource):
169 2009-08-13 Kevin Ollivier <kevino@theolliviers.com>
171 wx build fix. Make sure that the wxWebKit dynamic library is rebuilt whenever
172 webcore or jscore libs change.
176 2009-08-12 Kevin Ollivier <kevino@theolliviers.com>
178 wxPython build fix, the SWIG defines must also be available when compiling.
180 * bindings/python/wscript:
182 2009-08-05 Kevin Ollivier <kevino@theolliviers.com>
184 Reviewed by Eric Seidel.
186 Adding support for building wx Python bindings using the waf build system.
188 https://bugs.webkit.org/show_bug.cgi?id=27619
190 * bindings/python/wscript: Added.
192 2009-08-04 Kevin Ollivier <kevino@theolliviers.com>
194 wx build fix after InspectorClient API change.
196 * WebKitSupport/InspectorClientWx.cpp:
197 (WebCore::InspectorClientWx::inspectorWindowObjectCleared):
198 * WebKitSupport/InspectorClientWx.h:
200 2009-08-02 Kevin Ollivier <kevino@theolliviers.com>
202 Reviewed by Jan Alonzo.
204 Script for building the WebKit library for wx.
205 https://bugs.webkit.org/show_bug.cgi?id=27619
209 2009-07-24 Andrei Popescu <andreip@google.com>
211 Reviewed by Anders Carlsson.
213 ApplicationCache should have size limit
214 https://bugs.webkit.org/show_bug.cgi?id=22700
216 * WebKitSupport/ChromeClientWx.cpp:
217 (WebCore::ChromeClientWx::reachedMaxAppCacheSize):
218 Adds empty implementation of the reachedMaxAppCacheSize callback.
219 * WebKitSupport/ChromeClientWx.h:
221 2009-07-21 Kevin Ollivier <kevino@theolliviers.com>
223 wx build fix. Missing header added.
227 2009-07-21 Kevin Ollivier <kevino@theolliviers.com>
229 wx build fix. Adding isSpeaking() to ContextMenuClientWx.
231 * WebKitSupport/ContextMenuClientWx.cpp:
232 (WebCore::ContextMenuClientWx::isSpeaking):
233 * WebKitSupport/ContextMenuClientWx.h:
235 2009-07-16 Xiaomei Ji <xji@chromium.org>
237 Reviewed by Darin Adler.
239 Fix tooltip does not get its directionality from its element's directionality.
240 https://bugs.webkit.org/show_bug.cgi?id=24187
242 Per mitz's suggestion in comment #6, while getting the plain-text
243 title, we also get the directionality of the title. How to handle
244 the directionality is up to clients. Clients could ignore it,
245 or use attribute or unicode control characters to display the title
248 * WebKitSupport/ChromeClientWx.cpp:
249 (WebCore::ChromeClientWx::setToolTip): Add directionality as 2nd parameter to setToopTip() (without handling it yet).
250 * WebKitSupport/ChromeClientWx.h: Add directionality as 2nd parameter to setToolTip().
252 2009-07-12 Brent Fulgham <bfulgham@gmail.com>
254 Speculative build fix after http://trac.webkit.org/changeset/45786.
256 * WebKitSupport/ChromeClientWx.cpp:
257 (WebCore::ChromeClientWx::addMessageToConsole):
258 * WebKitSupport/ChromeClientWx.h:
260 2009-07-09 Beth Dakin and Jon Honeycutt <bdakin@apple.com>
262 Reviewed by Dave Hyatt.
264 Make Widget RefCounted to fix:
266 <rdar://problem/7038831> REGRESSION (TOT): In Mail, a crash occurs
267 at WebCore::Widget::afterMouseDown() after clicking To Do's close
269 <rdar://problem/6978804> WER #16: Repro Access Violation in
270 WebCore::PluginView::bindingInstance (1310178023)
272 <rdar://problem/6991251> WER #13: Crash in WebKit!
273 WebCore::PluginView::performRequest+203 (1311461169)
275 * WebKitSupport/FrameLoaderClientWx.cpp:
276 (WebCore::FrameLoaderClientWx::createPlugin):
277 (WebCore::FrameLoaderClientWx::createJavaAppletWidget):
278 * WebKitSupport/FrameLoaderClientWx.h:
280 2009-06-09 Kevin Ollivier <kevino@theolliviers.com>
282 wx build fix, adding JSCore/assembler to the list of include dirs.
284 * presets/wxwebkit.bkl:
286 2009-06-03 Kevin Ollivier <kevino@theolliviers.com>
288 wx build fix, remove no longer needed function call.
290 * WebKitSupport/FrameLoaderClientWx.cpp:
291 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
293 2009-06-02 Darin Adler <darin@apple.com>
295 Reviewed by David Hyatt.
297 * WebKitSupport/FrameLoaderClientWx.cpp:
298 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage): Use FrameView::create
299 and RefPtr instead of the old "crazy" reference counting.
301 2009-05-23 David Kilzer <ddkilzer@apple.com>
303 Part 2 of 2: Bug 25495: Implement PassOwnPtr and replace uses of std::auto_ptr
305 <https://bugs.webkit.org/show_bug.cgi?id=25495>
307 Reviewed by Oliver Hunt.
309 * WebKitSupport/ChromeClientWx.h:
310 (WebCore::ChromeClientWx::createHTMLParserQuirks): Return a
311 PassOwnPtr<> instead of a raw HTMLParserQuirks pointer.
313 2009-05-22 Kevin Watters <kevinwatters@gmail.com>
315 Reviewed by Kevin Ollivier.
317 Triple-click support for wx port. Also, switch to allocating GraphicsContext
318 on the stack in OnPaint since we only need it within that function.
320 https://bugs.webkit.org/show_bug.cgi?id=25962
323 (wxWebView::OnPaint):
324 (getDoubleClickTime):
325 (wxWebView::OnMouseEvents):
326 (wxWebView::OnContextMenuEvents):
330 2009-05-21 Kevin Ollivier <kevino@theolliviers.com>
332 wx build fix after method added to EditorClient.
334 * WebKitSupport/EditorClientWx.cpp:
335 (WebCore::EditorClientWx::getAutoCorrectSuggestionForMisspelledWord):
336 * WebKitSupport/EditorClientWx.h:
338 2009-05-20 Holger Hans Peter Freyther <zecke@selfish.org>
340 Reviewed by Darin Adler.
342 https://bugs.webkit.org/show_bug.cgi?id=25834
344 Make ChromeClient a interface again
346 With recent additions to ChromeClient.h empty defaults were
347 added. This is bad for porters as these changes go unnoticed
348 and at runtime no notImplemented warning is logged and grepping
349 for notImplemented will not show anything. Change this Client
350 to be like the other Clients again and always have pure virtuals
351 (but for stuff inside #ifdef PLATFORM(MAC)).
353 Update the various WebKit/* implementations to compile again.
355 * WebKitSupport/ChromeClientWx.cpp:
356 (WebCore::ChromeClientWx::setCursor):
357 (WebCore::ChromeClientWx::requestGeolocationPermissionForFrame):
358 * WebKitSupport/ChromeClientWx.h:
359 (WebCore::ChromeClientWx::scrollRectIntoView):
361 2009-05-18 Kevin Ollivier <kevino@theolliviers.com>
363 wx build fix. Use python-config to get Python linking info on Unix OSes.
365 * bindings/python/wxwebkit-py.bkl:
367 2009-03-29 Kevin Ollivier <kevino@theolliviers.com>
369 Reviewed by Maciej Stachowiak.
371 WebCore::DocumentLoader::mainReceivedError now asserts if error.isNull(), so
372 make sure wx does not create empty ResourceError() objects.
374 Also make sure we fire a state changed event to notify when the load fails.
376 https://bugs.webkit.org/show_bug.cgi?id=24927
378 * WebKitSupport/FrameLoaderClientWx.cpp:
379 (WebCore::FrameLoaderClientWx::cancelledError):
380 (WebCore::FrameLoaderClientWx::blockedError):
381 (WebCore::FrameLoaderClientWx::cannotShowURLError):
382 (WebCore::FrameLoaderClientWx::interruptForPolicyChangeError):
383 (WebCore::FrameLoaderClientWx::cannotShowMIMETypeError):
384 (WebCore::FrameLoaderClientWx::fileDoesNotExistError):
385 (WebCore::FrameLoaderClientWx::dispatchDidFailLoading):
386 (WebCore::FrameLoaderClientWx::pluginWillHandleLoadError):
389 2009-05-07 Kevin Ollivier <kevino@theolliviers.com>
391 Fix for building the Python extension.
393 * bindings/python/wxwebkit-py.bkl:
395 2009-05-05 Ben Murdoch <benm@google.com>
397 Reviewed by Eric Seidel.
399 Add #if ENABLE(DATABASE) guards around database code so toggling ENABLE_DATABASE off does not break builds.
400 https://bugs.webkit.org/show_bug.cgi?id=24776
402 * WebKitSupport/ChromeClientWx.cpp:
403 * WebKitSupport/ChromeClientWx.h:
405 2009-04-01 miggilin <mr.diggilin@gmail.com>
407 Reviewed by Kevin Ollivier.
409 Full Keyboard shortcut support.
410 Implement wxBrowser Cut/Copy/Paste menu items.
412 https://bugs.webkit.org/show_bug.cgi?id=24797
414 * WebBrowserShell.cpp:
415 (wxWebBrowserShell::OnSearchCtrlEnter):
416 (wxWebBrowserShell::OnCut):
417 (wxWebBrowserShell::OnCopy):
418 (wxWebBrowserShell::OnPaste):
420 * WebKitSupport/EditorClientWx.cpp:
422 (WebCore::EditorClientWx::handleEditingKeyboardEvent):
423 (WebCore::EditorClientWx::interpretKeyEvent):
424 (WebCore::EditorClientWx::handleKeyboardEvent):
425 * WebKitSupport/EditorClientWx.h:
428 (wxWebView::CanPaste):
430 (wxWebView::OnKeyEvents):
432 2009-05-05 Maclolm MacLeod <mmacleod@webmail.co.za>
434 Reviewed by Kevin Ollivier.
436 Have wxWebkit make use of gcc(4 and greater) hidden visibility feature
438 https://bugs.webkit.org/show_bug.cgi?id=24345
443 2009-05-01 Kevin Watters <kevinwatters@gmail.com>
445 Reviewed by Kevin Ollivier.
447 STATE_CHANGED event is now named LOAD
449 https://bugs.webkit.org/show_bug.cgi?id=25549
451 * bindings/python/samples/simple.py:
453 2009-05-04 Kevin Ollivier <kevino@theolliviers.com>
455 Reviewed by Eric Seidel.
457 Initial DRT implementation for wx.
461 2009-05-01 Geoffrey Garen <ggaren@apple.com>
463 Rubber Stamped by Sam Weinig.
465 Renamed JSValuePtr => JSValue.
468 (wxWebFrame::RunScript):
470 2009-05-01 Pavel Feldman <pfeldman@chromium.org>
472 Reviewed by Timothy Hatcher.
474 Add a FrameLoaderClient callback for the ResourceRetrievedByXMLHttpRequest.
476 https://bugs.webkit.org/show_bug.cgi?id=25347
478 * WebKitSupport/FrameLoaderClientWx.cpp:
479 (WebCore::FrameLoaderClientWx::dispatchDidLoadResourceByXMLHttpRequest):
480 * WebKitSupport/FrameLoaderClientWx.h:
482 2009-04-30 Kevin Ollivier <kevino@theolliviers.com>
484 wx build fix, remove references to JSCore shared library.
486 * bindings/python/wxwebkit-py.bkl:
489 2009-04-30 David Kilzer <ddkilzer@apple.com>
491 Provide a mechanism to create a quirks delegate for HTMLParser
493 Reviewed by David Hyatt.
495 * WebKitSupport/ChromeClientWx.h:
496 (WebCore::ChromeClientWx::createHTMLParserQuirks): Added. The
497 default implementation of this factory method returns 0.
499 2009-04-30 Pavel Feldman <pfeldman@chromium.org>
501 Reviewed by Dimitri Glazkov.
503 https://bugs.webkit.org/show_bug.cgi?id=25342
504 Add MessageSource and MessageLevel parameters to the ChromeClient::addMessageToConsole.
506 * WebKitSupport/ChromeClientWx.cpp:
507 (WebCore::ChromeClientWx::addMessageToConsole):
508 * WebKitSupport/ChromeClientWx.h:
510 2009-04-28 Kevin Watters <kevinwatters@gmail.com>
512 Reviewed by Kevin Ollivier.
514 Add a function for resetting the zoom factor to 1.0.
516 https://bugs.webkit.org/show_bug.cgi?id=25447
519 (wxWebFrame::ResetTextSize):
522 (wxWebView::ResetTextSize):
525 2009-04-24 Kevin Ollivier <kevino@theolliviers.com>
527 wx build fix. Switching JSCore from a static lib to a dynamic lib
528 to match the Apple build and fix symbol exports.
530 * bindings/python/wxwebkit-py.bkl:
531 * presets/wxwebkit.bkl:
534 2009-04-15 Robin Dunn <robin@alldunn.com>
536 Reviewed by Kevin Ollivier.
538 Implement support for wxWebViewNewWindowEvent.
540 https://bugs.webkit.org/show_bug.cgi?id=19043
542 * WebKitSupport/FrameLoaderClientWx.cpp:
543 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
545 2009-04-04 Kevin Ollivier <kevino@theolliviers.com>
547 Build fixes for wxMac/Tiger.
552 2009-04-04 Kevin Ollivier <kevino@theolliviers.com>
554 wx build fix. Add missing header.
556 * WebKitSupport/FrameLoaderClientWx.cpp:
558 2009-03-30 Kevin Watters <kevinwatters@gmail.com>
560 Reviewed by Kevin Ollivier.
562 Add events to allow apps to override handling for JS prompts and
563 window object cleared events.
565 https://bugs.webkit.org/show_bug.cgi?id=24948
568 * WebKitSupport/ChromeClientWx.cpp:
569 (WebCore::ChromeClientWx::runJavaScriptAlert):
570 (WebCore::ChromeClientWx::runJavaScriptConfirm):
571 (WebCore::ChromeClientWx::runJavaScriptPrompt):
572 * WebKitSupport/EditorClientWx.cpp:
573 (WebCore::EditorClientWx::pageDestroyed):
574 * WebKitSupport/FrameLoaderClientWx.cpp:
575 (WebCore::FrameLoaderClientWx::hasWebView):
576 (WebCore::FrameLoaderClientWx::windowObjectCleared):
578 (wxWebViewAlertEvent::wxWebViewAlertEvent):
579 (wxWebViewConfirmEvent::wxWebViewConfirmEvent):
580 (wxWebViewPromptEvent::wxWebViewPromptEvent):
581 (wxWebViewWindowObjectClearedEvent::wxWebViewWindowObjectClearedEvent):
584 2009-03-28 Kevin Ollivier <kevino@theolliviers.com>
586 wx build fix. Remove call to now private method.
588 * WebKitSupport/FrameLoaderClientWx.cpp:
589 (WebCore::FrameLoaderClientWx::prepareForDataSourceReplacement):
591 2009-03-02 Kevin Ollivier <kevino@theolliviers.com>
593 Build fixes for wxWidgets Mac trunk build.
596 * bindings/python/webview.i:
597 * bindings/python/wxwebkit-py.bkl:
599 * presets/wxwebkit.bkl:
601 2009-02-11 Dimitri Dupuis-latour <dupuislatour@apple.com>
603 Stub out InspectorClientWx::hiddenPanels.
605 Reviewed by Timothy Hatcher.
607 * WebKitSupport/InspectorClientWx.cpp:
608 (WebCore::InspectorClientWx::hiddenPanels):
609 * WebKitSupport/InspectorClientWx.h:
611 2009-02-06 Geoffrey Garen <ggaren@apple.com>
615 * WebKitSupport/FrameLoaderClientWx.cpp:
616 (WebCore::FrameLoaderClientWx::updateGlobalHistoryRedirectLinks):
617 * WebKitSupport/FrameLoaderClientWx.h:
619 2009-02-05 Aaron Boodman <aa@chromium.org>
621 Reviewed by Dave Hyatt.
623 https://bugs.webkit.org/show_bug.cgi?id=23708
624 Adds documentElementAvailable() callback to FrameLoaderClient.
626 * WebKitSupport/FrameLoaderClientWx.cpp:
627 (WebCore::FrameLoaderClientWx::documentElementAvailable):
628 Stub out documentElementAvailable().
629 * WebKitSupport/FrameLoaderClientWx.h:
632 2009-02-02 Geoffrey Garen <ggaren@apple.com>
636 * WebKitSupport/FrameLoaderClientWx.cpp:
637 (WebCore::FrameLoaderClientWx::updateGlobalHistoryForRedirectWithoutHistoryItem):
638 (WebCore::FrameLoaderClientWx::createPlugin):
639 (WebCore::FrameLoaderClientWx::createJavaAppletWidget):
640 * WebKitSupport/FrameLoaderClientWx.h:
642 2009-02-02 Geoffrey Garen <ggaren@apple.com>
647 (wxWebFrame::LoadURL):
649 2009-01-31 Darin Adler <darin@apple.com>
654 (wxWebView::OnSize): call sendResizeEvent on EventHandler.
656 2009-01-29 David Kilzer <ddkilzer@apple.com>
658 Build fix for Wx: Finish de-RefCount-ing FrameLoaderClientWx
660 * WebKitSupport/FrameLoaderClientWx.cpp:
661 (WebCore::FrameLoaderClientWx::ref): Removed.
662 (WebCore::FrameLoaderClientWx::deref): Removed.
663 * WebKitSupport/FrameLoaderClientWx.h: Ditto.
665 2009-01-28 David Kilzer <ddkilzer@apple.com>
667 Bug 23490: Remove initialRefCount argument from RefCounted class
669 <https://bugs.webkit.org/show_bug.cgi?id=23490>
671 Reviewed by Darin Adler.
673 FrameLoaderClientWx is no longer a RefCounted class.
675 * WebKitSupport/FrameLoaderClientWx.cpp:
676 (WebCore::FrameLoaderClientWx::FrameLoaderClientWx): Removed call
677 to the RefCounted<FrameLoaderClientWx>(0) super constructor.
678 * WebKitSupport/FrameLoaderClientWx.h: Don't include RefCounted.h
679 and stop inheriting from RefCounted<FrameLoaderClientWx>.
681 2009-01-27 Brady Eidson <beidson@apple.com>
683 Reviewed by Dan Bernstein
685 Rework FrameLoaderClient to work on a CachedFrame basis instead of CachedPage
687 * WebKitSupport/FrameLoaderClientWx.cpp:
688 (WebCore::FrameLoaderClientWx::savePlatformDataToCachedFrame):
689 (WebCore::FrameLoaderClientWx::transitionToCommittedFromCachedFrame):
690 * WebKitSupport/FrameLoaderClientWx.h:
692 2009-01-23 Kevin Ollivier <kevino@theolliviers.com>
694 wx build fix, add missing include dir.
696 * presets/wxwebkit.bkl:
698 2009-01-19 Sam Weinig <sam@webkit.org>
700 Rubber-stamped by Gavin Barraclough.
702 Remove temporary operator-> from JSValuePtr.
705 (wxWebFrame::RunScript):
707 2009-01-14 miggilin <mr.diggilin@gmail.com>
709 Reviewed by Kevin Ollivier.
711 Fixing wx compilation for wx 2.9/trunk.
714 (wxWebFrame::SetPageSource):
717 2009-01-12 Kevin Ollivier <kevino@theolliviers.com>
719 wx build fix. JSValue* -> JSValuePtr.
722 (wxWebFrame::RunScript):
724 2009-01-05 Adam Treat <adam.treat@torchmobile.com>
726 Reviewed by George Staikos.
728 Build fix for contentsSizeChanged
730 * WebKitSupport/ChromeClientWx.cpp:
731 (WebCore::ChromeClientWx::contentsSizeChanged):
732 * WebKitSupport/ChromeClientWx.h:
734 2008-12-19 miggilin <mr.diggilin@gmail.com>
736 Reviewed by Kevin Ollivier.
738 Add Context Menu support to wx bindings.
740 https://bugs.webkit.org/show_bug.cgi?id=22675
742 * WebKitSupport/ContextMenuClientWx.cpp:
743 (WebCore::ContextMenuClientWx::contextMenuDestroyed):
744 (WebCore::ContextMenuClientWx::getCustomMenuFromDefaultItems):
746 (wxWebView::OnMouseEvents):
747 (wxWebView::OnContextMenuEvents):
748 (wxWebView::OnMenuSelectEvents):
752 2008-12-19 Kevin Ollivier <kevino@theolliviers.com>
754 wx build fixes after recent changes.
756 * presets/wxwebkit.bkl:
758 2008-12-18 Dan Bernstein <mitz@apple.com>
760 Reviewed by Sam Weinig.
762 - stub out FrameLoaderClient::shouldUseCredentialStorage().
764 * WebKitSupport/FrameLoaderClientWx.cpp:
765 (WebCore::FrameLoaderClientWx::shouldUseCredentialStorage):
766 * WebKitSupport/FrameLoaderClientWx.h:
768 2008-12-18 Sam Weinig <sam@webkit.org>
770 Reviewed by John Sullivan.
772 Stub out FrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout()
774 * WebKitSupport/FrameLoaderClientWx.cpp:
775 (WebCore::FrameLoaderClientWx::dispatchDidFirstVisuallyNonEmptyLayout):
776 * WebKitSupport/FrameLoaderClientWx.h:
778 2008-12-13 Kevin Watters <kevinwatters@gmail.com>
780 Reviewed by Kevin Ollivier.
782 Expose findString in wxWebView as FindString.
784 https://bugs.webkit.org/show_bug.cgi?id=22458
787 (wxWebView::FindString):
790 2008-12-09 Brett Wilson <brettw@chromium.org>
792 Reviewed by Dave Hyatt.
794 https://bugs.webkit.org/show_bug.cgi?id=22177
796 Add a callback on ChromeClient that the state of form elements on
797 the page has changed. This is to allow clients implementing session
798 saving to know when the current state is dirty.
800 * WebKitSupport/ChromeClientWx.h:
801 (WebCore::ChromeClientWx::formStateDidChange):
803 2008-12-02 Kevin Watters <kevinwatters@gmail.com>
805 Reviewed by Kevin Ollivier.
807 Add HitTest to wxWebView (and wxWebFrame).
809 https://bugs.webkit.org/show_bug.cgi?id=22459
812 (wxWebFrame::HitTest):
815 (wxWebView::HitTest):
818 2008-11-24 Darin Fisher <darin@chromium.org>
822 http://bugs.webkit.org/show_bug.cgi?id=15643
824 * WebKitSupport/EditorClientWx.cpp:
825 (WebCore::EditorClientWx::isSelectTrailingWhitespaceEnabled):
826 * WebKitSupport/EditorClientWx.h:
828 2008-11-24 Darin Adler <darin@apple.com>
830 Reviewed by Dan Bernstein.
832 - https://bugs.webkit.org/show_bug.cgi?id=22470
833 remove unneeded URL argument from FrameLoaderClient::updateGlobalHistory
835 * WebKitSupport/FrameLoaderClientWx.cpp:
836 (WebCore::FrameLoaderClientWx::updateGlobalHistory): Remove argument.
837 * WebKitSupport/FrameLoaderClientWx.h: Ditto.
839 2008-11-21 Kevin Watters <kevinwatters@gmail.com>
841 Reviewed by Kevin Ollivier.
843 Maintain an EditCommand stack in WebFramePrivate, and expose Undo and
846 https://bugs.webkit.org/show_bug.cgi?id=22403
849 (wxWebFrame::wxWebFrame):
852 (wxWebFrame::CanUndo):
853 (wxWebFrame::CanRedo):
855 * WebFramePrivate.h: Added.
856 (WebFramePrivate::WebFramePrivate):
857 * WebKitSupport/ChromeClientWx.cpp:
858 (WebCore::ChromeClientWx::createWindow):
859 * WebKitSupport/EditCommandWx.h: Added.
860 (EditCommandWx::EditCommandWx):
861 (EditCommandWx::~EditCommandWx):
862 (EditCommandWx::editCommand):
863 * WebKitSupport/EditorClientWx.cpp:
864 (WebCore::EditorClientWx::registerCommandForUndo):
865 (WebCore::EditorClientWx::registerCommandForRedo):
866 (WebCore::EditorClientWx::canUndo):
867 (WebCore::EditorClientWx::canRedo):
868 (WebCore::EditorClientWx::undo):
869 (WebCore::EditorClientWx::redo):
870 * WebKitSupport/EditorClientWx.h:
872 (wxWebView::OnMouseEvents):
873 (wxWebView::OnKeyEvents):
876 2008-11-19 Darin Fisher <darin@chromium.org>
878 Reviewed by Geoff Garen.
880 https://bugs.webkit.org/show_bug.cgi?id=22345
881 Define ScriptValue as a thin container for a JSC::Value*.
884 (wxWebFrame::RunScript):
886 2008-11-17 Geoffrey Garen <ggaren@apple.com>
888 Reviewed by Sam Weinig.
890 Updated for JavaScriptCore renames.
892 * presets/wxwebkit.bkl:
894 2008-11-17 Geoffrey Garen <ggaren@apple.com>
896 Reviewed by Sam Weinig.
898 Updated for JavaScriptCore renames.
900 * presets/wxwebkit.bkl:
902 2008-11-17 Geoffrey Garen <ggaren@apple.com>
908 * presets/wxwebkit.bkl:
910 2008-11-15 Kevin Watters <kevinwatters@gmail.com>
912 Reviewed by Kevin Ollivier.
914 Add API for setting transparent webview background.
916 https://bugs.webkit.org/show_bug.cgi?id=22281
919 (wxWebView::SetTransparent):
920 (wxWebView::IsTransparent):
923 2008-11-11 Cameron Zwarich <zwarich@apple.com>
925 Reviewed by Geoff Garen.
927 Remove pointless dependencies on the deleted kjs directory.
929 * presets/wxwebkit.bkl:
931 2008-11-08 Kevin Ollivier <kevino@theolliviers.com>
933 wx build fixes after addition of JSCore parser and bycompiler dirs.
935 * presets/wxwebkit.bkl:
937 2008-11-05 Cameron Zwarich <zwarich@apple.com>
939 Rubber-stamped by Sam Weinig.
941 Move more files to the runtime subdirectory of JavaScriptCore.
946 2008-10-31 Kevin Ollivier <kevino@theolliviers.com>
948 wxMSW build fix. Missing header.
950 * WebKitSupport/ChromeClientWx.cpp:
952 2008-10-29 Kevin Ollivier <kevino@theolliviers.com>
954 wx build fixes after addition of runtime and ImageBuffer changes.
956 * presets/wxwebkit.bkl:
958 2008-10-28 Cameron Zwarich <zwarich@apple.com>
960 Reviewed by Mark Rowe.
962 Move ForwardingHeaders to their correct location after the creation of
963 the runtime directory in JavaScriptCore.
968 2008-10-27 Kevin Ollivier <kevino@theolliviers.com>
970 wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
972 * presets/wxwebkit.bkl:
974 2008-10-25 Kevin Ollivier <kevino@theolliviers.com>
978 * WebKitSupport/ChromeClientWx.h:
980 2008-10-24 Sam Weinig <sam@webkit.org>
982 Reviewed by Dan Bernstein.
984 Fix https://bugs.webkit.org/show_bug.cgi?id=21759
985 Layering violation: FileChooser should not depend on Document/Frame/Page
987 * WebKitSupport/ChromeClientWx.cpp:
988 (WebCore::ChromeClientWx::runOpenPanel):
989 * WebKitSupport/ChromeClientWx.h:
991 2008-10-24 David Kilzer <ddkilzer@apple.com>
995 Reviewed by Greg Bolsinga.
997 * WebKitSupport/InspectorClientWx.cpp:
998 (WebCore::InspectorClientWx::populateSetting): Changed
999 InspectorClient:: to InspectorClientWx::.
1000 (WebCore::InspectorClientWx::storeSetting): Ditto.
1001 (WebCore::InspectorClientWx::removeSetting): Ditto.
1003 2008-10-24 Timothy Hatcher <timothy@apple.com>
1005 Stub out new InspectorClient methods.
1007 https://bugs.webkit.org/show_bug.cgi?id=21856
1009 Reviewed by Darin Adler.
1011 * WebKitSupport/InspectorClientWx.cpp:
1012 (WebCore::InspectorClient::populateSetting): Not implemented.
1013 (WebCore::InspectorClient::storeSetting): Ditto.
1014 (WebCore::InspectorClient::removeSetting): Ditto.
1015 * WebKitSupport/InspectorClientWx.h:
1017 2008-10-24 Darin Adler <darin@apple.com>
1019 - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
1021 * WebFrame.cpp: (wxWebFrame::RunScript): Use JSValue* instead of JSValuePtr.
1023 2008-10-20 Sam Weinig <sam@webkit.org>
1025 Reviewed by Anders Carlsson.
1027 Remove FrameLoaderClient::detachedFromParent4. It is no longer used by any port.
1029 * WebKitSupport/FrameLoaderClientWx.cpp:
1030 * WebKitSupport/FrameLoaderClientWx.h:
1032 2008-10-19 Darin Adler <darin@apple.com>
1034 Reviewed by Oliver Hunt.
1036 - next step of https://bugs.webkit.org/show_bug.cgi?id=21732
1037 improve performance by eliminating JSValue as a base class for JSCell
1039 Remove most uses of JSValue, which will be removed in a future patch.
1042 (wxWebFrame::RunScript): Use JSValuePtr.
1044 2008-10-17 Kevin Watters <kevinwatters@gmail.com>
1046 Reviewed by Kevin Ollivier
1048 Fix wx port's scrollbar and drawing handling after recent changes.
1050 https://bugs.webkit.org/show_bug.cgi?id=21720
1053 (wxWebView::OnPaint):
1054 (wxWebView::OnSize):
1056 2008-10-09 Kevin Ollivier <kevino@theolliviers.com>
1060 * WebKitSupport/ChromeClientWx.cpp:
1061 (WebCore::ChromeClientWx::repaint):
1062 (WebCore::ChromeClientWx::scroll):
1063 * WebKitSupport/ChromeClientWx.h:
1064 * presets/wxwebkit.bkl:
1066 2008-10-06 David Hyatt <hyatt@apple.com>
1068 Enable viewless Mac WebKit to paint some basic pages.
1070 Reviewed by Sam Weinig
1072 * WebKitSupport/FrameLoaderClientWx.cpp:
1073 * WebKitSupport/FrameLoaderClientWx.h:
1075 2008-10-03 David Hyatt <hyatt@apple.com>
1077 Remove addToDirtyRegion.
1079 Reviewed by Oliver Hunt
1081 * WebKitSupport/ChromeClientWx.cpp:
1083 2008-10-02 Kevin Ollivier <kevino@theolliviers.com>
1085 wx build fixes after Frame/ScrollView changes.
1088 (wxWebView::OnPaint):
1090 2008-10-01 David Hyatt <hyatt@apple.com>
1092 https://bugs.webkit.org/show_bug.cgi?id=21282
1094 Make contentsToScreen/screenToContents cross-platform. Only implemented by Mac/Win right now.
1096 Reviewed by Adam Roben
1098 * WebKitSupport/ChromeClientWx.cpp:
1099 (WebCore::ChromeClientWx::windowToScreen):
1100 (WebCore::ChromeClientWx::screenToWindow):
1101 * WebKitSupport/ChromeClientWx.h:
1103 2008-09-30 Dave Hyatt <hyatt@apple.com>
1105 http://bugs.webkit.org/show_bug.cgi?id=21250
1107 Rename updateContents to repaintContentRectangle and make it cross-platform by always sending
1108 repaints up through the ChromeClient.
1110 Reviewed by Darin Adler
1112 * WebKitSupport/ChromeClientWx.cpp:
1113 (WebCore::ChromeClientWx::repaint):
1114 * WebKitSupport/ChromeClientWx.h:
1116 2008-09-26 Kevin Ollivier <kevino@theolliviers.com>
1118 wx build fixes after Widget/ScrollView changes.
1120 * WebKitSupport/FrameLoaderClientWx.cpp:
1121 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
1123 2008-09-20 Kevin Ollivier <kevino@theolliviers.com>
1125 Reviewed by Dan Bernstein.
1129 https://bugs.webkit.org/show_bug.cgi?id=20505
1132 (wxWebView::OnPaint):
1134 2008-09-20 Kevin Ollivier <kevino@theolliviers.com>
1136 wx build fixes. Added/removed build sources, and nativeWindow->platformWidget updates.
1138 * WebKitSupport/EditorClientWx.cpp:
1139 (WebCore::EditorClientWx::isEditable):
1140 * WebKitSupport/FrameLoaderClientWx.cpp:
1141 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
1143 2008-09-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
1145 Reviewed by Maciej Stachowiak.
1147 Bug 20704: Replace the KJS namespace
1148 <https://bugs.webkit.org/show_bug.cgi?id=20704>
1150 Rename the KJS namespace to JSC.
1153 (wxWebFrame::RunScript):
1155 2008-09-04 Kevin Ollivier <kevino@theolliviers.com>
1159 * WebKitSupport/FrameLoaderClientWx.cpp:
1160 (WebCore::FrameLoaderClientWx::pluginWillHandleLoadError):
1161 * WebKitSupport/FrameLoaderClientWx.h:
1163 2008-08-18 Kevin Ollivier <kevino@theolliviers.com>
1165 Build fix for Win. Don't include the libxml/libxslt directories in the
1166 include path, it picks up the wrong Pattern.h in that case.
1170 2008-08-12 Timothy Hatcher <timothy@apple.com>
1172 Add a stub for InspectorClient::setAttachedWindowHeight.
1174 * WebKitSupport/InspectorClientWx.cpp:
1175 (WebCore::InspectorClientWx::setAttachedWindowHeight):
1176 Call notImplemented().
1177 * WebKitSupport/InspectorClientWx.h:
1179 2008-08-06 Kevin Watters <kevinwatters@gmail.com>
1181 Reviewed by Kevin Ollivier.
1183 Create a wxWebFrame API to match other ports and to prepare for frames support.
1184 Also fixes a frame leak in wx port on trunk.
1186 https://bugs.webkit.org/show_bug.cgi?id=19041
1188 * WebFrame.cpp: Added.
1189 (wxWebFrame::wxWebFrame):
1190 (wxWebFrame::~wxWebFrame):
1191 (wxWebFrame::GetFrame):
1193 (wxWebFrame::Reload):
1194 (wxWebFrame::GetPageSource):
1195 (wxWebFrame::SetPageSource):
1196 (wxWebFrame::GetInnerText):
1197 (wxWebFrame::GetAsMarkup):
1198 (wxWebFrame::GetExternalRepresentation):
1199 (wxWebFrame::RunScript):
1200 (wxWebFrame::LoadURL):
1201 (wxWebFrame::GoBack):
1202 (wxWebFrame::GoForward):
1203 (wxWebFrame::CanGoBack):
1204 (wxWebFrame::CanGoForward):
1205 (wxWebFrame::CanIncreaseTextSize):
1206 (wxWebFrame::IncreaseTextSize):
1207 (wxWebFrame::CanDecreaseTextSize):
1208 (wxWebFrame::DecreaseTextSize):
1209 (wxWebFrame::MakeEditable):
1210 (wxWebFrame::CanCopy):
1212 (wxWebFrame::CanCut):
1214 (wxWebFrame::CanPaste):
1215 (wxWebFrame::Paste):
1216 * WebFrame.h: Added.
1218 (wxWebView::wxWebView):
1219 (wxWebView::Create):
1220 (wxWebView::~wxWebView):
1222 (wxWebView::Reload):
1223 (wxWebView::GetPageSource):
1224 (wxWebView::SetPageSource):
1225 (wxWebView::GetInnerText):
1226 (wxWebView::GetAsMarkup):
1227 (wxWebView::GetExternalRepresentation):
1228 (wxWebView::RunScript):
1229 (wxWebView::LoadURL):
1230 (wxWebView::GoBack):
1231 (wxWebView::GoForward):
1232 (wxWebView::CanGoBack):
1233 (wxWebView::CanGoForward):
1234 (wxWebView::CanIncreaseTextSize):
1235 (wxWebView::IncreaseTextSize):
1236 (wxWebView::CanDecreaseTextSize):
1237 (wxWebView::DecreaseTextSize):
1238 (wxWebView::OnPaint):
1239 (wxWebView::OnSize):
1240 (wxWebView::OnMouseEvents):
1241 (wxWebView::CanCopy):
1243 (wxWebView::CanCut):
1245 (wxWebView::CanPaste):
1247 (wxWebView::OnKeyEvents):
1248 (wxWebView::OnSetFocus):
1249 (wxWebView::OnKillFocus):
1253 2008-07-27 Kevin Watters <kevinwatters@gmail.com>
1255 Reviewed by Sam Weinig.
1257 Add tooltip support to the wx port.
1259 https://bugs.webkit.org/show_bug.cgi?id=20173
1261 * WebKitSupport/ChromeClientWx.cpp:
1262 (WebCore::ChromeClientWx::setToolTip):
1264 (wxWebView::OnMouseEvents): Use mouseMoved instead of handleMouseMoveEvent.
1266 2008-07-21 Kevin Ollivier <kevino@theolliviers.com>
1268 wx build fix. Fix pthread linkage under Linux.
1272 2008-06-15 Darin Adler <darin@apple.com>
1274 - give Frame object functions shorter names: scriptProxy() -> script(),
1275 selectionController() -> selection(), animationController() -> animation()
1277 * WebKitSupport/EditorClientWx.cpp:
1278 (WebCore::EditorClientWx::handleKeyboardEvent):
1280 (wxWebView::RunScript):
1281 (wxWebView::OnSetFocus):
1282 (wxWebView::OnKillFocus):
1284 2008-06-15 Darin Adler <darin@apple.com>
1286 - new names for a few key JavaScriptCore files
1290 2008-06-14 Darin Adler <darin@apple.com>
1292 Rubber stamped by Sam.
1294 - new names for kjs_binding.h and kjs_proxy.h
1298 2008-06-14 Darin Adler <darin@apple.com>
1300 - try to fix wx build, again
1303 (wxWebView::Create): Use create function instead of new.
1305 2008-06-14 Darin Adler <darin@apple.com>
1309 - more https://bugs.webkit.org/show_bug.cgi?id=17257
1310 start ref counts at 1 instead of 0 for speed
1312 * WebKitSupport/FrameLoaderClientWx.cpp:
1313 (WebCore::FrameLoaderClientWx::createDocumentLoader): Use create function
1316 2008-06-13 Darin Adler <darin@apple.com>
1320 * WebKitSupport/FrameLoaderClientWx.h: Add missing argument.
1322 2008-06-13 Darin Adler <darin@apple.com>
1324 Reviewed by John Sullivan.
1326 - updated for addition of FormState argument to action policy functions
1328 * WebKitSupport/FrameLoaderClientWx.cpp:
1329 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
1330 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
1332 2008-06-10 Kevin Ollivier <kevino@theolliviers.com>
1334 wx Linux build fix. Only use -undefined dynamic_lookup flag under Mac.
1336 * bindings/python/wxwebkit-py.bkl:
1338 2008-05-28 Robin Dunn <robin@alldunn.com>
1340 Reviewed by Kevin Ollivier.
1342 This patch adds a new wx event type and code to send it when a new title is set
1343 by the page being loaded.
1345 https://bugs.webkit.org/show_bug.cgi?id=19067
1347 * WebKitSupport/FrameLoaderClientWx.cpp:
1348 (WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
1350 (wxWebViewReceivedTitleEvent::wxWebViewReceivedTitleEvent):
1352 * bindings/python/webview.i:
1354 2008-05-28 Robin Dunn <robin@alldunn.com>
1356 Reviewed by Kevin Ollivier.
1358 This patch tweaks the wxWebView class to make it conform to normal wx patterns
1359 for widget classes. It adds a default ctor and the Create method so it can use
1360 the 2-phase create pattern, adds wxRTTI macros which is important for wxPython
1361 and XRC, and fixes the LoadURL method to pass a wxString reference to save a
1364 https://bugs.webkit.org/show_bug.cgi?id=19068
1367 (wxWebView::wxWebView):
1368 (wxWebView::Create):
1369 (wxWebView::LoadURL):
1372 2008-05-27 Kevin Ollivier <kevino@theolliviers.com>
1374 wx build fix. Accidently left a couple fixes out of the previous commit.
1376 * presets/wxwebkit.bkl:
1378 2008-05-16 Kevin Ollivier <kevino@theolliviers.com>
1380 Reviewed by Darin Adler.
1382 Rename wxWebFrame -> wxWebBrowserShell in preparation to introduce a WebFrame
1383 counterpart in wx port. (Frame typically means 'top level window' in wx terms.)
1385 https://bugs.webkit.org/show_bug.cgi?id=19041
1387 * WebBrowserShell.cpp: Copied from WebKit/wx/WebFrame.cpp.
1388 (wxWebBrowserShell::wxWebBrowserShell):
1389 (wxWebBrowserShell::~wxWebBrowserShell):
1390 (wxWebBrowserShell::ShowDebugMenu):
1391 (wxWebBrowserShell::OnQuit):
1392 (wxWebBrowserShell::OnAbout):
1393 (wxWebBrowserShell::OnLoadFile):
1394 (wxWebBrowserShell::OnLoadEvent):
1395 (wxWebBrowserShell::OnBeforeLoad):
1396 (wxWebBrowserShell::OnAddressBarEnter):
1397 (wxWebBrowserShell::OnSearchCtrlEnter):
1398 (wxWebBrowserShell::OnBack):
1399 (wxWebBrowserShell::OnForward):
1400 (wxWebBrowserShell::OnStop):
1401 (wxWebBrowserShell::OnReload):
1402 (wxWebBrowserShell::OnMakeTextLarger):
1403 (wxWebBrowserShell::OnMakeTextSmaller):
1404 (wxWebBrowserShell::OnGetSource):
1405 (wxWebBrowserShell::OnSetSource):
1406 (wxWebBrowserShell::OnBrowse):
1407 (wxWebBrowserShell::OnEdit):
1408 (wxWebBrowserShell::OnRunScript):
1409 * WebBrowserShell.h: Copied from WebKit/wx/WebFrame.h.
1410 * WebFrame.cpp: Removed.
1411 * WebFrame.h: Removed.
1412 * WebKitSupport/ChromeClientWx.cpp:
1413 (WebCore::ChromeClientWx::createWindow):
1414 * bindings/python/webview.i:
1417 2008-05-20 Kevin Ollivier <kevino@theolliviers.com>
1419 wx build fix. Update code after removal of Document::toString().
1422 (wxWebView::GetPageSource):
1424 2008-05-15 Kevin Ollivier <kevino@theolliviers.com>
1426 wx build fix. Add rendering/style to includes dir.
1428 * presets/wxwebkit.bkl:
1430 2008-05-11 Kevin Ollivier <kevino@theolliviers.com>
1432 Previous commit made bdash sad. Restore happiness state by fixing missed style issue.
1434 * WebKitSupport/FrameLoaderClientWx.cpp:
1435 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
1437 2008-05-11 Robin Dunn <robin@alldunn.com>
1439 Reviewed by Kevin Ollivier.
1441 Fix scrolling issues by implementing transitionToCommittedNewPage() so the scroll
1442 positions are reset when a new page is loaded, and also maintained so that back
1443 and next restore the scroll positions as well. This also simplifies the logic
1444 for initializing and managing wxWebView.
1446 https://bugs.webkit.org/show_bug.cgi?id=18992
1448 * WebKitSupport/FrameLoaderClientWx.cpp:
1449 (WebCore::FrameLoaderClientWx::setWebView):
1450 (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
1451 (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
1452 (WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
1453 (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
1454 (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
1455 (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
1456 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
1457 (WebCore::FrameLoaderClientWx::createFrame):
1458 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
1459 * WebKitSupport/FrameLoaderClientWx.h:
1461 (wxWebView::wxWebView):
1462 (wxWebView::~wxWebView):
1463 (wxWebView::GetPageSource):
1464 (wxWebView::GetInnerText):
1465 (wxWebView::GetExternalRepresentation):
1466 (wxWebView::OnPaint):
1467 (wxWebView::OnSize):
1468 (wxWebView::OnMouseEvents):
1469 (wxWebView::CanCopy):
1470 (wxWebView::CanCut):
1471 (wxWebView::CanPaste):
1472 (wxWebView::OnKeyEvents):
1474 (WebViewPrivate::WebViewPrivate):
1476 2008-05-04 Robin Dunn <robin@alldunn.com>
1478 Reviewed by Kevin Ollivier.
1480 Allow events to specify the ID of the particular wxWebView they are to be sent to.
1482 https://bugs.webkit.org/show_bug.cgi?id=18659
1485 (wxWebFrame::wxWebFrame):
1487 (wxWebViewLoadEvent::wxWebViewLoadEvent):
1488 (wxWebViewBeforeLoadEvent::wxWebViewBeforeLoadEvent):
1489 (wxWebViewNewWindowEvent::wxWebViewNewWindowEvent):
1490 (wxWebViewRightClickEvent::wxWebViewRightClickEvent):
1491 (wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
1493 * bindings/python/webview.i:
1495 2008-04-27 Robin Dunn <robin@alldunn.com>
1497 Reviewed by Kevin Ollivier.
1499 Add methods to check if there is a previous/next page in the history. Also some
1500 coding style cleanup.
1502 https://bugs.webkit.org/show_bug.cgi?id=18757
1505 (wxWebView::GoBack):
1506 (wxWebView::GoForward):
1507 (wxWebView::CanGoBack):
1508 (wxWebView::CanGoForward):
1511 2008-04-24 Anders Carlsson <andersca@apple.com>
1515 Change some String arguments to be const references instead.
1517 * WebKitSupport/EditorClientWx.cpp:
1518 (WebCore::EditorClientWx::shouldInsertText):
1519 * WebKitSupport/EditorClientWx.h:
1521 2008-04-23 Kevin Ollivier <kevino@theolliviers.com>
1523 Reviewed by Alp Toker.
1525 Typo fix to restore text entry.
1527 * WebKitSupport/EditorClientWx.cpp:
1528 (WebCore::EditorClientWx::handleKeyboardEvent):
1530 2008-04-19 Kevin Ollivier <kevino@theolliviers.com>
1532 wx build fix. renderer() -> contentRenderer()
1535 (wxWebView::GetExternalRepresentation):
1536 (wxWebView::OnPaint):
1538 2008-04-18 Kevin Ollivier <kevino@theolliviers.com>
1540 wx build fix. We need to use ENABLE_DOM_STORAGE now.
1542 * wxwk-settings.bkl:
1544 2008-04-05 Kevin Ollivier <kevino@theolliviers.com>
1546 Rubber stamped by Mark Rowe.
1548 Don't assume wxWebKit to be part of the wx package. This allows
1549 us to run it from any directory on the PYTHONPATH rather than
1550 having to copy files into the wxPython directory.
1552 * bindings/python/webview.i:
1554 2008-03-25 Brady Eidson <beidson@apple.com>
1558 Remove newly obsolete FrameLoaderClient methods
1560 * WebKitSupport/FrameLoaderClientWx.cpp:
1561 * WebKitSupport/FrameLoaderClientWx.h:
1563 2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
1565 wx build fix. Make sure we link png/jpeg libraries before
1566 wx libraries to get the right symbols.
1569 * wxwk-settings.bkl:
1571 2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
1573 Rubber stamped by Darin Adler.
1575 Add set-webkit-configuration support for wx port, and centralize
1576 build dir location setting.
1578 http://bugs.webkit.org/show_bug.cgi?id=17790
1580 * bindings/python/wxwebkit-py.bkl:
1581 * presets/wxwebkit.bkl:
1583 * wxwk-settings.bkl:
1585 2008-03-12 David Hyatt <hyatt@apple.com>
1587 Make the zoom factor a float and not a percent.
1592 (wxWebView::IncreaseTextSize):
1593 (wxWebView::DecreaseTextSize):
1595 2008-03-03 Kevin Ollivier <kevino@theolliviers.com>
1597 wx build fix after Frame::setZoomFactor API change.
1600 (wxWebView::IncreaseTextSize):
1601 (wxWebView::DecreaseTextSize):
1603 2008-02-24 Darin Adler <darin@apple.com>
1607 - remove separate client calls for "standard" and "reload' history
1609 * WebKitSupport/FrameLoaderClientWx.cpp:
1610 (WebCore::FrameLoaderClientWx::updateGlobalHistory):
1611 * WebKitSupport/FrameLoaderClientWx.h:
1613 2008-02-23 Kevin Ollivier <kevino@theolliviers.com>
1615 Reviewed by Darin Adler.
1617 Move text drawing into wxcode, as we need platform-dependent
1618 APIs for drawing non-kerned text, which wx doesn't yet have.
1619 (But hopefully will, once these APIs are fleshed out on all
1622 http://bugs.webkit.org/show_bug.cgi?id=17396
1625 We need to directly link against GDI+ on Windows since we now
1626 directly call GDI+ APIs.
1628 2008-02-14 Darin Adler <darin@apple.com>
1630 * WebView.cpp: Removed use of DeprecatedString to keep this compiling.
1632 2008-02-11 Kevin Ollivier <kevino@theolliviers.com>
1634 Reviewed by Darin Adler.
1636 A couple quick wx fixes.
1638 http://bugs.webkit.org/show_bug.cgi?id=17321
1641 (wxWebView::OnPaint):
1642 Make sure wxGCDC has its paint origin set properly after
1643 the move to wxWindow for scrolling.
1644 * bindings/python/webview.i:
1645 Update the wxPython bindings after event rename.
1647 2008-02-10 Darin Adler <darin@apple.com>
1651 - http://bugs.webkit.org/show_bug.cgi?id=17256
1652 eliminate default ref. count of 0 in RefCounted class
1654 * WebKitSupport/FrameLoaderClientWx.cpp:
1655 (WebCore::FrameLoaderClientWx::FrameLoaderClientWx):
1656 Set the count to 0 explicitly (one stray client I missed in my last pass).
1658 2008-02-03 Kevin Ollivier <kevino@theolliviers.com>
1660 Reviewed by Darin Adler.
1662 Typo fix. Don't use the provisionalDocumentLoader() after the
1663 whole page has already been loaded.
1665 * WebKitSupport/FrameLoaderClientWx.cpp:
1666 (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
1668 2008-02-03 Kevin Ollivier <kevino@theolliviers.com>
1670 Build fix for last wx commit (a couple things were not committed).
1671 Also fix some style issues.
1674 (wxWebView::wxWebView):
1675 (wxWebView::OnPaint):
1676 (wxWebView::OnSize):
1677 (wxWebView::CanCopy):
1679 (wxWebView::CanCut):
1681 (wxWebView::CanPaste):
1683 (wxWebView::OnKeyEvents):
1684 (wxWebView::OnSetFocus):
1685 (wxWebView::OnKillFocus):
1686 (wxWebView::OnActivate):
1689 2008-01-31 Kevin Ollivier <kevino@theolliviers.com>
1691 Reviewed by Adam Roben.
1693 On MSW, the wx port internally uses callbacks for wxTimer, so the
1694 wx port suffers from the same crash problem that was fixed
1695 in r28500 for the Windows port. For now, use the SharedTimerWin.cpp
1696 impl. for wx too on MSW, until a version of wx is released that
1697 fixes the issue by reworking wxTimer.
1700 (wxWebView::wxWebView):
1702 2008-01-21 Darin Adler <darin@apple.com>
1704 Reviewed by John Sullivan.
1706 - updated for changes to ChromeClient database functions
1708 * WebKitSupport/ChromeClientWx.cpp:
1709 (WebCore::ChromeClientWx::exceededDatabaseQuota):
1710 * WebKitSupport/ChromeClientWx.h:
1712 2008-01-16 Adam Roben <aroben@apple.com>
1714 Updated for WebCore method renames.
1716 Reviewed by Darin Adler.
1719 (wxWebView::OnSetFocus):
1720 (wxWebView::OnKillFocus):
1721 (wxWebView::OnActivate):
1723 2008-01-12 Kevin Ollivier <kevino@theolliviers.com>
1725 Reviewed by Darin Adler.
1727 wxWebKit API changes in preparation for DRT implementation.
1730 - Add CONSOLE_MESSAGE callback so clients can choose how to handle
1732 - Add more load events, and rename wxWebViewStateChangedEvent to
1733 wxWebViewLoadEvent to reflect that all 'states' are load states.
1734 - Add wxWebView impls. for GetInnerText(), GetAsMarkup() and
1735 GetExternalRepresentation()
1738 (wxWebFrame::OnLoadEvent):
1740 * WebKitSupport/ChromeClientWx.cpp:
1741 (WebCore::ChromeClientWx::ChromeClientWx):
1742 (WebCore::ChromeClientWx::addMessageToConsole):
1743 * WebKitSupport/ChromeClientWx.h:
1744 * WebKitSupport/FrameLoaderClientWx.cpp:
1745 (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
1746 (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
1747 (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
1748 (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
1749 (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
1751 (wxWebViewLoadEvent::wxWebViewLoadEvent):
1752 (wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
1753 (wxWebView::wxWebView):
1754 (wxWebView::GetPageSource):
1755 (wxWebView::GetInnerText):
1756 (wxWebView::GetAsMarkup):
1757 (wxWebView::GetExternalRepresentation):
1760 2008-01-12 Kevin Ollivier <kevino@theolliviers.com>
1762 wx build fix. Add WebCore/icu/include dir for OS X boxes with
1763 only stock ICU installed.
1767 2008-01-10 Maciej Stachowiak <mjs@apple.com>
1771 - remove SecurityOriginData and fold its functionality into SecurityOrigin
1773 * WebKitSupport/ChromeClientWx.cpp:
1774 (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
1775 (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
1776 * WebKitSupport/ChromeClientWx.h:
1778 2007-12-16 Darin Adler <darin@apple.com>
1780 - try to fix the build
1783 (wxWebView::OnKeyEvents): Add a WebCore prefix.
1785 2007-12-16 Alexey Proskuryakov <ap@webkit.org>
1787 Reviewed by Darin Adler.
1789 http://bugs.webkit.org/show_bug.cgi?id=16462
1790 REGRESSION: access keys broken on Windows
1792 * WebView.cpp: (wxWebView::OnKeyEvents): Call handleAccessKey() as appropriate.
1794 2007-12-14 Darin Adler <darin@apple.com>
1798 * WebKitSupport/EditorClientWx.cpp:
1799 (WebCore::EditorClientWx::handleKeyboardEvent): Switched from Editor::execCommand
1802 2007-12-12 Brady Eidson <beidson@apple.com>
1804 Reviewed by Sam Weinig
1806 As part of doing some CachedPage and client cleanup, keep Wx building
1808 * WebKitSupport/FrameLoaderClientWx.cpp:
1809 (WebCore::FrameLoaderClientWx::savePlatformDataToCachedPage):
1810 (WebCore::FrameLoaderClientWx::transitionToCommittedFromCachedPage):
1811 (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
1812 * WebKitSupport/FrameLoaderClientWx.h:
1814 2007-12-12 Sam Weinig <sam@webkit.org>
1818 * WebKitSupport/ChromeClientWx.cpp:
1819 (WebCore::ChromeClientWx::createWindow):
1820 * WebKitSupport/FrameLoaderClientWx.cpp:
1821 (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
1822 (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
1823 (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
1824 (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
1825 (WebCore::FrameLoaderClientWx::didChangeTitle):
1826 (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
1828 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1830 Reviewed by Darin Adler.
1832 <rdar://problem/5535636>
1833 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1835 http://bugs.webkit.org/show_bug.cgi?id=13916
1836 JavaScript detects Tab as a character input on a textfield validation
1838 * WebKitSupport/EditorClientWx.cpp:
1839 (WebCore::EditorClientWx::handleInputMethodKeydown):
1840 (WebCore::EditorClientWx::handleKeyboardEvent):
1841 * WebKitSupport/EditorClientWx.h:
1842 Updated for cross-platform changes as much as it was possible without a wx build environment.
1843 The keyboard event model of wx is similar to Windows one, so further fixes can be modeled
1844 after the Windows port.
1846 2007-12-06 Kevin Ollivier <kevino@theolliviers.com>
1848 Fix page leak caused because the Frame's page pointer is 0 by the
1849 time we call delete on it. Store a reference to the page instead
1850 and delete it that way.
1852 Also, small fix to call PrepareDC(gcdc) when using wxGCDC because
1853 on Linux the wxGCDC gcdc(dc) constructor will not retain the
1854 changes made to dc by PrepareDC(dc).
1856 Reviewed by Darin Adler.
1859 (wxWebView::wxWebView):
1860 (wxWebView::~wxWebView):
1861 (wxWebView::OnPaint):
1863 (WebViewPrivate::WebViewPrivate):
1865 2007-12-06 Kevin Ollivier <kevino@theolliviers.com>
1867 Linux build fix - ensure that webcore is linked before jscore
1868 so that the linker will know which symbols it needs to link in.
1869 Also fix MSVC project file name typo for sample app.
1874 2007-12-04 Darin Adler <darin@apple.com>
1876 Reviewed by Kevin Decker.
1878 * WebKitSupport/FrameLoaderClientWx.cpp: Removed obsolete privateBrowsingEnabled.
1879 * WebKitSupport/FrameLoaderClientWx.h: Ditto.
1881 2007-12-03 Mark Rowe <mrowe@apple.com>
1886 (wxWebView::RunScript):
1888 2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
1890 wx build fix. Add WebCore/platform/graphics/wx to includes.
1894 2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
1896 Fix method signatures to be members of ClientChromeWx class.
1898 * WebKitSupport/ChromeClientWx.cpp:
1899 (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
1900 (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
1902 2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
1904 Build fix. Add platform/text to includes for targets that
1905 need WebCore headers.
1907 * presets/wxwebkit.bkl:
1909 2007-11-29 Brady Eidson <beidson@apple.com>
1911 Keep it building with new client method
1913 * WebKitSupport/ChromeClientWx.cpp:
1914 (WebCore::ChromeClient::requestQuotaIncreaseForNewDatabase):
1915 (WebCore::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
1916 * WebKitSupport/ChromeClientWx.h:
1918 2007-11-25 Kevin Ollivier <kevino@theolliviers.com>
1920 wx build fix. Don't get xslt-config options at bake time, do it
1925 2007-11-23 Kevin Ollivier <kevino@theolliviers.com>
1927 wx build fix. Include config.h in WebFrame/WebView to ensure
1928 WebCore headers are properly configured, fix unicode/utf8.h and
1929 config.h include ordering issues, centralize wx project options to
1930 ensure proper configuration, and fix wxwebkit-python target so that
1931 it links against wx libs.
1935 * bindings/python/wxwebkit-py.bkl:
1937 * presets/wxwebkit.bkl:
1939 * wxwk-settings.bkl:
1941 2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
1943 wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
1944 it indiscriminately copies any headers inside JavaScriptCore,
1945 which includes Tiger ICU headers.
1947 * presets/wxwebkit.bkl:
1948 Remove WebCore/include reference and add JSCore header dirs needed
1951 2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
1953 Add pcre directory to JSCore includes, and update the wx port
1954 to reflect the Shared -> RefCounted name change. Also, fix
1955 WebFrame.cpp to re-enable code that should never have been
1961 (wxWebFrame::wxWebFrame):
1962 * WebKitSupport/FrameLoaderClientWx.cpp:
1963 (WebCore::FrameLoaderClientWx::ref):
1964 (WebCore::FrameLoaderClientWx::deref):
1965 * WebKitSupport/FrameLoaderClientWx.h:
1966 * presets/wxwebkit.bkl:
1968 2007-11-17 Timothy Hatcher <timothy@apple.com>
1970 Reviewed by Mark Rowe.
1972 Bug 13470: i18n: The Web Inspector is not localizable
1973 http://bugs.webkit.org/show_bug.cgi?id=13470
1975 * WebKitSupport/InspectorClientWx.cpp:
1976 (WebCore::InspectorClientWx::localizedStringsURL): Empty stub.
1977 * WebKitSupport/InspectorClientWx.h: Added localizedStringsURL.
1979 2007-11-08 Kevin Ollivier <kevino@theolliviers.com>
1981 Initial commit of wx implementation of WebKit. This includes
1982 the wxWebFrame and wxWebView wx front end classes, the
1983 WebKitSupport directory containing implementations of interfaces
1984 used by WebCore to talk with the wxWebKit front end, and the
1985 language bindings for wxWebKit (bindings dir), currently
1986 only containing bindings and a sample app for wxPython.
1988 Reviewed by Mark Rowe.
1990 * Bakefiles.bkgen: Added.
1991 * WebFrame.cpp: Added.
1992 * WebFrame.h: Added.
1993 * WebKitSupport: Added.
1994 * WebKitSupport/ChromeClientWx.cpp: Added.
1995 * WebKitSupport/ChromeClientWx.h: Added.
1996 * WebKitSupport/ContextMenuClientWx.cpp: Added.
1997 * WebKitSupport/ContextMenuClientWx.h: Added.
1998 * WebKitSupport/DragClientWx.cpp: Added.
1999 * WebKitSupport/DragClientWx.h: Added.
2000 * WebKitSupport/EditorClientWx.cpp: Added.
2001 * WebKitSupport/EditorClientWx.h: Added.
2002 * WebKitSupport/FrameLoaderClientWx.cpp: Added.
2003 * WebKitSupport/FrameLoaderClientWx.h: Added.
2004 * WebKitSupport/InspectorClientWx.cpp: Added.
2005 * WebKitSupport/InspectorClientWx.h: Added.
2006 * WebView.cpp: Added.
2008 * WebViewPrivate.h: Added.
2010 * bindings/python: Added.
2011 * bindings/python/samples: Added.
2012 * bindings/python/samples/simple.py: Added.
2013 * bindings/python/webview.i: Added.
2014 * bindings/python/wxwebkit-py.bkl: Added.
2015 * dependencies.bkl: Added.
2017 * presets/wxwebkit.bkl: Added.
2018 * wxwebkit.bkl: Added.
2019 * wxwk-settings.bkl: Added.