c2c86c1225ff1a21707a73540970ed484e4684e2
[WebKit.git] / WebKit / wx / ChangeLog
1 2008-11-24  Darin Fisher  <darin@chromium.org>
2
3         Fix bustage.
4
5         http://bugs.webkit.org/show_bug.cgi?id=15643
6
7         * WebKitSupport/EditorClientWx.cpp:
8         (WebCore::EditorClientWx::isSelectTrailingWhitespaceEnabled):
9         * WebKitSupport/EditorClientWx.h:
10
11 2008-11-24  Darin Adler  <darin@apple.com>
12
13         Reviewed by Dan Bernstein.
14
15         - https://bugs.webkit.org/show_bug.cgi?id=22470
16           remove unneeded URL argument from FrameLoaderClient::updateGlobalHistory
17
18         * WebKitSupport/FrameLoaderClientWx.cpp:
19         (WebCore::FrameLoaderClientWx::updateGlobalHistory): Remove argument.
20         * WebKitSupport/FrameLoaderClientWx.h: Ditto.
21
22 2008-11-21  Kevin Watters  <kevinwatters@gmail.com>
23
24         Reviewed by Kevin Ollivier.
25
26         Maintain an EditCommand stack in WebFramePrivate, and expose Undo and
27         Redo in wxWebView.
28         
29         https://bugs.webkit.org/show_bug.cgi?id=22403
30
31         * WebFrame.cpp:
32         (wxWebFrame::wxWebFrame):
33         (wxWebFrame::Undo):
34         (wxWebFrame::Redo):
35         (wxWebFrame::CanUndo):
36         (wxWebFrame::CanRedo):
37         * WebFrame.h:
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:
54         * WebView.cpp:
55         (wxWebView::OnMouseEvents):
56         (wxWebView::OnKeyEvents):
57         * WebViewPrivate.h:
58
59 2008-11-19  Darin Fisher  <darin@chromium.org>
60
61         Reviewed by Geoff Garen.
62
63         https://bugs.webkit.org/show_bug.cgi?id=22345
64         Define ScriptValue as a thin container for a JSC::Value*.
65
66         * WebFrame.cpp:
67         (wxWebFrame::RunScript):
68
69 2008-11-17  Geoffrey Garen  <ggaren@apple.com>
70
71         Reviewed by Sam Weinig.
72         
73         Updated for JavaScriptCore renames.
74
75         * presets/wxwebkit.bkl:
76
77 2008-11-17  Geoffrey Garen  <ggaren@apple.com>
78
79         Reviewed by Sam Weinig.
80         
81         Updated for JavaScriptCore renames.
82
83         * presets/wxwebkit.bkl:
84
85 2008-11-17  Geoffrey Garen  <ggaren@apple.com>
86
87         Not reviewed.
88         
89         Try to fix wx build.
90
91         * presets/wxwebkit.bkl:
92
93 2008-11-15  Kevin Watters  <kevinwatters@gmail.com>
94
95         Reviewed by Kevin Ollivier.
96
97         Add API for setting transparent webview background.
98         
99         https://bugs.webkit.org/show_bug.cgi?id=22281
100
101         * WebView.cpp:
102         (wxWebView::SetTransparent):
103         (wxWebView::IsTransparent):
104         * WebView.h:
105
106 2008-11-11  Cameron Zwarich  <zwarich@apple.com>
107
108         Reviewed by Geoff Garen.
109
110         Remove pointless dependencies on the deleted kjs directory.
111
112         * presets/wxwebkit.bkl:
113
114 2008-11-08  Kevin Ollivier  <kevino@theolliviers.com>
115
116         wx build fixes after addition of JSCore parser and bycompiler dirs. 
117
118         * presets/wxwebkit.bkl:
119
120 2008-11-05  Cameron Zwarich  <zwarich@apple.com>
121
122         Rubber-stamped by Sam Weinig.
123
124         Move more files to the runtime subdirectory of JavaScriptCore.
125
126         * WebFrame.cpp:
127         * WebView.cpp:
128
129 2008-10-31  Kevin Ollivier  <kevino@theolliviers.com>
130
131         wxMSW build fix. Missing header.
132
133         * WebKitSupport/ChromeClientWx.cpp:
134
135 2008-10-29  Kevin Ollivier  <kevino@theolliviers.com>
136
137         wx build fixes after addition of runtime and ImageBuffer changes.
138
139         * presets/wxwebkit.bkl:
140
141 2008-10-28  Cameron Zwarich  <zwarich@apple.com>
142
143         Reviewed by Mark Rowe.
144
145         Move ForwardingHeaders to their correct location after the creation of
146         the runtime directory in JavaScriptCore.
147
148         * WebFrame.cpp:
149         * WebView.cpp:
150
151 2008-10-27  Kevin Ollivier  <kevino@theolliviers.com>
152
153         wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
154
155         * presets/wxwebkit.bkl:
156
157 2008-10-25  Kevin Ollivier  <kevino@theolliviers.com>
158
159         wx build fix.
160
161         * WebKitSupport/ChromeClientWx.h:
162
163 2008-10-24  Sam Weinig  <sam@webkit.org>
164
165         Reviewed by Dan Bernstein.
166
167         Fix https://bugs.webkit.org/show_bug.cgi?id=21759
168         Layering violation: FileChooser should not depend on Document/Frame/Page
169
170         * WebKitSupport/ChromeClientWx.cpp:
171         (WebCore::ChromeClientWx::runOpenPanel):
172         * WebKitSupport/ChromeClientWx.h:
173
174 2008-10-24  David Kilzer  <ddkilzer@apple.com>
175
176         Build fix.
177
178         Reviewed by Greg Bolsinga.
179
180         * WebKitSupport/InspectorClientWx.cpp:
181         (WebCore::InspectorClientWx::populateSetting): Changed
182         InspectorClient:: to InspectorClientWx::.
183         (WebCore::InspectorClientWx::storeSetting): Ditto.
184         (WebCore::InspectorClientWx::removeSetting): Ditto.
185
186 2008-10-24  Timothy Hatcher  <timothy@apple.com>
187
188         Stub out new InspectorClient methods.
189
190         https://bugs.webkit.org/show_bug.cgi?id=21856
191
192         Reviewed by Darin Adler.
193
194         * WebKitSupport/InspectorClientWx.cpp:
195         (WebCore::InspectorClient::populateSetting): Not implemented.
196         (WebCore::InspectorClient::storeSetting): Ditto.
197         (WebCore::InspectorClient::removeSetting): Ditto.
198         * WebKitSupport/InspectorClientWx.h:
199
200 2008-10-24  Darin Adler  <darin@apple.com>
201
202         - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
203
204         * WebFrame.cpp: (wxWebFrame::RunScript): Use JSValue* instead of JSValuePtr.
205
206 2008-10-20  Sam Weinig  <sam@webkit.org>
207
208         Reviewed by Anders Carlsson.
209
210         Remove FrameLoaderClient::detachedFromParent4.  It is no longer used by any port.
211
212         * WebKitSupport/FrameLoaderClientWx.cpp:
213         * WebKitSupport/FrameLoaderClientWx.h:
214
215 2008-10-19  Darin Adler  <darin@apple.com>
216
217         Reviewed by Oliver Hunt.
218
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
221
222         Remove most uses of JSValue, which will be removed in a future patch.
223
224         * WebFrame.cpp:
225         (wxWebFrame::RunScript): Use JSValuePtr.
226
227 2008-10-17  Kevin Watters  <kevinwatters@gmail.com>
228         
229         Reviewed by Kevin Ollivier
230
231         Fix wx port's scrollbar and drawing handling after recent changes.
232         
233         https://bugs.webkit.org/show_bug.cgi?id=21720
234
235         * WebView.cpp:
236         (wxWebView::OnPaint):
237         (wxWebView::OnSize):
238
239 2008-10-09  Kevin Ollivier  <kevino@theolliviers.com>
240
241         wx build fixes.
242
243         * WebKitSupport/ChromeClientWx.cpp:
244         (WebCore::ChromeClientWx::repaint):
245         (WebCore::ChromeClientWx::scroll):
246         * WebKitSupport/ChromeClientWx.h:
247         * presets/wxwebkit.bkl:
248
249 2008-10-06  David Hyatt  <hyatt@apple.com>
250
251         Enable viewless Mac WebKit to paint some basic pages.
252         
253         Reviewed by Sam Weinig
254
255         * WebKitSupport/FrameLoaderClientWx.cpp:
256         * WebKitSupport/FrameLoaderClientWx.h:
257
258 2008-10-03  David Hyatt  <hyatt@apple.com>
259
260          Remove addToDirtyRegion.
261         
262          Reviewed by Oliver Hunt
263
264         * WebKitSupport/ChromeClientWx.cpp:
265
266 2008-10-02  Kevin Ollivier  <kevino@theolliviers.com>
267
268         wx build fixes after Frame/ScrollView changes.
269
270         * WebView.cpp:
271         (wxWebView::OnPaint):
272
273 2008-10-01  David Hyatt  <hyatt@apple.com>
274
275         https://bugs.webkit.org/show_bug.cgi?id=21282
276         
277         Make contentsToScreen/screenToContents cross-platform.  Only implemented by Mac/Win right now.
278     
279         Reviewed by Adam Roben
280
281         * WebKitSupport/ChromeClientWx.cpp:
282         (WebCore::ChromeClientWx::windowToScreen):
283         (WebCore::ChromeClientWx::screenToWindow):
284         * WebKitSupport/ChromeClientWx.h:
285
286 2008-09-30  Dave Hyatt  <hyatt@apple.com>
287
288         http://bugs.webkit.org/show_bug.cgi?id=21250
289         
290         Rename updateContents to repaintContentRectangle and make it cross-platform by always sending
291         repaints up through the ChromeClient.
292
293         Reviewed by Darin Adler
294
295         * WebKitSupport/ChromeClientWx.cpp:
296         (WebCore::ChromeClientWx::repaint):
297         * WebKitSupport/ChromeClientWx.h:
298
299 2008-09-26  Kevin Ollivier  <kevino@theolliviers.com>
300
301         wx build fixes after Widget/ScrollView changes.
302
303         * WebKitSupport/FrameLoaderClientWx.cpp:
304         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
305
306 2008-09-20  Kevin Ollivier  <kevino@theolliviers.com>
307
308         Reviewed by Dan Bernstein.
309         
310         Fix memory leak.
311         
312         https://bugs.webkit.org/show_bug.cgi?id=20505
313
314         * WebView.cpp:
315         (wxWebView::OnPaint):
316
317 2008-09-20  Kevin Ollivier  <kevino@theolliviers.com>
318
319         wx build fixes. Added/removed build sources, and nativeWindow->platformWidget updates.
320
321         * WebKitSupport/EditorClientWx.cpp:
322         (WebCore::EditorClientWx::isEditable):
323         * WebKitSupport/FrameLoaderClientWx.cpp:
324         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
325
326 2008-09-07  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
327
328         Reviewed by Maciej Stachowiak.
329
330         Bug 20704: Replace the KJS namespace
331         <https://bugs.webkit.org/show_bug.cgi?id=20704>
332
333         Rename the KJS namespace to JSC.
334
335         * WebFrame.cpp:
336         (wxWebFrame::RunScript):
337
338 2008-09-04  Kevin Ollivier  <kevino@theolliviers.com>
339
340         wx build fixes.
341         
342         * WebKitSupport/FrameLoaderClientWx.cpp:
343         (WebCore::FrameLoaderClientWx::pluginWillHandleLoadError):
344         * WebKitSupport/FrameLoaderClientWx.h:
345
346 2008-08-18  Kevin Ollivier  <kevino@theolliviers.com>
347
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.
350
351         * dependencies.bkl:
352
353 2008-08-12  Timothy Hatcher  <timothy@apple.com>
354
355         Add a stub for InspectorClient::setAttachedWindowHeight.
356
357         * WebKitSupport/InspectorClientWx.cpp:
358         (WebCore::InspectorClientWx::setAttachedWindowHeight):
359         Call notImplemented().
360         * WebKitSupport/InspectorClientWx.h:
361
362 2008-08-06  Kevin Watters  <kevinwatters@gmail.com>
363
364         Reviewed by Kevin Ollivier.
365         
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.
368         
369         https://bugs.webkit.org/show_bug.cgi?id=19041
370
371         * WebFrame.cpp: Added.
372         (wxWebFrame::wxWebFrame):
373         (wxWebFrame::~wxWebFrame):
374         (wxWebFrame::GetFrame):
375         (wxWebFrame::Stop):
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):
394         (wxWebFrame::Copy):
395         (wxWebFrame::CanCut):
396         (wxWebFrame::Cut):
397         (wxWebFrame::CanPaste):
398         (wxWebFrame::Paste):
399         * WebFrame.h: Added.
400         * WebView.cpp:
401         (wxWebView::wxWebView):
402         (wxWebView::Create):
403         (wxWebView::~wxWebView):
404         (wxWebView::Stop):
405         (wxWebView::Reload):
406         (wxWebView::GetPageSource):
407         (wxWebView::SetPageSource):
408         (wxWebView::GetInnerText):
409         (wxWebView::GetAsMarkup):
410         (wxWebView::GetExternalRepresentation):
411         (wxWebView::RunScript):
412         (wxWebView::LoadURL):
413         (wxWebView::GoBack):
414         (wxWebView::GoForward):
415         (wxWebView::CanGoBack):
416         (wxWebView::CanGoForward):
417         (wxWebView::CanIncreaseTextSize):
418         (wxWebView::IncreaseTextSize):
419         (wxWebView::CanDecreaseTextSize):
420         (wxWebView::DecreaseTextSize):
421         (wxWebView::OnPaint):
422         (wxWebView::OnSize):
423         (wxWebView::OnMouseEvents):
424         (wxWebView::CanCopy):
425         (wxWebView::Copy):
426         (wxWebView::CanCut):
427         (wxWebView::Cut):
428         (wxWebView::CanPaste):
429         (wxWebView::Paste):
430         (wxWebView::OnKeyEvents):
431         (wxWebView::OnSetFocus):
432         (wxWebView::OnKillFocus):
433         * WebView.h:
434         * wxwebkit.bkl:
435
436 2008-07-27  Kevin Watters  <kevinwatters@gmail.com>
437
438         Reviewed by Sam Weinig.
439
440         Add tooltip support to the wx port.
441         
442         https://bugs.webkit.org/show_bug.cgi?id=20173
443
444         * WebKitSupport/ChromeClientWx.cpp:
445         (WebCore::ChromeClientWx::setToolTip):
446         * WebView.cpp:
447         (wxWebView::OnMouseEvents): Use mouseMoved instead of handleMouseMoveEvent.
448
449 2008-07-21  Kevin Ollivier  <kevino@theolliviers.com>
450
451         wx build fix. Fix pthread linkage under Linux.
452
453         * dependencies.bkl:
454
455 2008-06-15  Darin Adler  <darin@apple.com>
456
457         - give Frame object functions shorter names: scriptProxy() -> script(),
458           selectionController() -> selection(), animationController() -> animation()
459
460         * WebKitSupport/EditorClientWx.cpp:
461         (WebCore::EditorClientWx::handleKeyboardEvent):
462         * WebView.cpp:
463         (wxWebView::RunScript):
464         (wxWebView::OnSetFocus):
465         (wxWebView::OnKillFocus):
466
467 2008-06-15  Darin Adler  <darin@apple.com>
468
469         - new names for a few key JavaScriptCore files
470
471         * WebView.cpp:
472
473 2008-06-14  Darin Adler  <darin@apple.com>
474
475         Rubber stamped by Sam.
476
477         - new names for kjs_binding.h and kjs_proxy.h
478
479         * WebView.cpp:
480
481 2008-06-14  Darin Adler  <darin@apple.com>
482
483         - try to fix wx build, again
484
485         * WebView.cpp:
486         (wxWebView::Create): Use create function instead of new.
487
488 2008-06-14  Darin Adler  <darin@apple.com>
489
490         Reviewed by Sam.
491
492         - more https://bugs.webkit.org/show_bug.cgi?id=17257
493           start ref counts at 1 instead of 0 for speed
494
495         * WebKitSupport/FrameLoaderClientWx.cpp:
496         (WebCore::FrameLoaderClientWx::createDocumentLoader): Use create function
497         instead of new.
498
499 2008-06-13  Darin Adler  <darin@apple.com>
500
501         - try to fix build
502
503         * WebKitSupport/FrameLoaderClientWx.h: Add missing argument.
504
505 2008-06-13  Darin Adler  <darin@apple.com>
506
507         Reviewed by John Sullivan.
508
509         - updated for addition of FormState argument to action policy functions
510
511         * WebKitSupport/FrameLoaderClientWx.cpp:
512         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
513         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
514
515 2008-06-10  Kevin Ollivier  <kevino@theolliviers.com>
516
517         wx Linux build fix. Only use -undefined dynamic_lookup flag under Mac.
518
519         * bindings/python/wxwebkit-py.bkl:
520
521 2008-05-28  Robin Dunn  <robin@alldunn.com>
522
523         Reviewed by Kevin Ollivier.
524
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.
527         
528         https://bugs.webkit.org/show_bug.cgi?id=19067
529
530         * WebKitSupport/FrameLoaderClientWx.cpp:
531         (WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
532         * WebView.cpp:
533         (wxWebViewReceivedTitleEvent::wxWebViewReceivedTitleEvent):
534         * WebView.h:
535         * bindings/python/webview.i:
536
537 2008-05-28  Robin Dunn  <robin@alldunn.com>
538
539         Reviewed by Kevin Ollivier.
540         
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
545         copy.
546         
547         https://bugs.webkit.org/show_bug.cgi?id=19068
548
549         * WebView.cpp:
550         (wxWebView::wxWebView):
551         (wxWebView::Create):
552         (wxWebView::LoadURL):
553         * WebView.h:
554
555 2008-05-27  Kevin Ollivier  <kevino@theolliviers.com>
556
557         wx build fix. Accidently left a couple fixes out of the previous commit.
558
559         * presets/wxwebkit.bkl:
560
561 2008-05-16  Kevin Ollivier  <kevino@theolliviers.com>
562
563         Reviewed by Darin Adler.
564         
565         Rename wxWebFrame -> wxWebBrowserShell in preparation to introduce a WebFrame
566         counterpart in wx port. (Frame typically means 'top level window' in wx terms.)
567         
568         https://bugs.webkit.org/show_bug.cgi?id=19041
569
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:
598         * wxwebkit.bkl:
599
600 2008-05-20  Kevin Ollivier  <kevino@theolliviers.com>
601
602         wx build fix. Update code after removal of Document::toString().
603
604         * WebView.cpp:
605         (wxWebView::GetPageSource):
606
607 2008-05-15  Kevin Ollivier  <kevino@theolliviers.com>
608
609         wx build fix. Add rendering/style to includes dir.
610
611         * presets/wxwebkit.bkl:
612
613 2008-05-11  Kevin Ollivier  <kevino@theolliviers.com>
614
615         Previous commit made bdash sad. Restore happiness state by fixing missed style issue. 
616
617         * WebKitSupport/FrameLoaderClientWx.cpp:
618         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
619
620 2008-05-11  Robin Dunn  <robin@alldunn.com>
621
622         Reviewed by Kevin Ollivier.
623         
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.
628         
629         https://bugs.webkit.org/show_bug.cgi?id=18992
630
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:
643         * WebView.cpp:
644         (wxWebView::wxWebView):
645         (wxWebView::~wxWebView):
646         (wxWebView::GetPageSource):
647         (wxWebView::GetInnerText):
648         (wxWebView::GetExternalRepresentation):
649         (wxWebView::OnPaint):
650         (wxWebView::OnSize):
651         (wxWebView::OnMouseEvents):
652         (wxWebView::CanCopy):
653         (wxWebView::CanCut):
654         (wxWebView::CanPaste):
655         (wxWebView::OnKeyEvents):
656         * WebViewPrivate.h:
657         (WebViewPrivate::WebViewPrivate):
658
659 2008-05-04  Robin Dunn  <robin@alldunn.com>
660
661         Reviewed by Kevin Ollivier.
662         
663         Allow events to specify the ID of the particular wxWebView they are to be sent to.
664         
665         https://bugs.webkit.org/show_bug.cgi?id=18659
666
667         * WebFrame.cpp:
668         (wxWebFrame::wxWebFrame):
669         * WebView.cpp:
670         (wxWebViewLoadEvent::wxWebViewLoadEvent):
671         (wxWebViewBeforeLoadEvent::wxWebViewBeforeLoadEvent):
672         (wxWebViewNewWindowEvent::wxWebViewNewWindowEvent):
673         (wxWebViewRightClickEvent::wxWebViewRightClickEvent):
674         (wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
675         * WebView.h:
676         * bindings/python/webview.i:
677
678 2008-04-27  Robin Dunn  <robin@alldunn.com>
679
680         Reviewed by Kevin Ollivier.
681         
682         Add methods to check if there is a previous/next page in the history. Also some
683         coding style cleanup.
684         
685         https://bugs.webkit.org/show_bug.cgi?id=18757
686
687         * WebView.cpp:
688         (wxWebView::GoBack):
689         (wxWebView::GoForward):
690         (wxWebView::CanGoBack):
691         (wxWebView::CanGoForward):
692         * WebView.h:
693
694 2008-04-24  Anders Carlsson  <andersca@apple.com>
695
696         Reviewed by Sam.
697
698         Change some String arguments to be const references instead.
699
700         * WebKitSupport/EditorClientWx.cpp:
701         (WebCore::EditorClientWx::shouldInsertText):
702         * WebKitSupport/EditorClientWx.h:
703
704 2008-04-23  Kevin Ollivier  <kevino@theolliviers.com>
705
706         Reviewed by Alp Toker.
707         
708         Typo fix to restore text entry.
709
710         * WebKitSupport/EditorClientWx.cpp:
711         (WebCore::EditorClientWx::handleKeyboardEvent):
712
713 2008-04-19  Kevin Ollivier  <kevino@theolliviers.com>
714
715         wx build fix. renderer() -> contentRenderer()
716
717         * WebView.cpp:
718         (wxWebView::GetExternalRepresentation):
719         (wxWebView::OnPaint):
720
721 2008-04-18  Kevin Ollivier  <kevino@theolliviers.com>
722
723         wx build fix. We need to use ENABLE_DOM_STORAGE now.
724
725         * wxwk-settings.bkl:
726
727 2008-04-05  Kevin Ollivier  <kevino@theolliviers.com>
728
729         Rubber stamped by Mark Rowe.
730
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.
734
735         * bindings/python/webview.i:
736
737 2008-03-25  Brady Eidson  <beidson@apple.com>
738
739         Reviewed by Darin
740
741         Remove newly obsolete FrameLoaderClient methods
742
743         * WebKitSupport/FrameLoaderClientWx.cpp:
744         * WebKitSupport/FrameLoaderClientWx.h:
745
746 2008-03-16  Kevin Ollivier  <kevino@theolliviers.com>
747
748         wx build fix. Make sure we link png/jpeg libraries before
749         wx libraries to get the right symbols.
750
751         * wxwebkit.bkl:
752         * wxwk-settings.bkl:
753
754 2008-03-16  Kevin Ollivier  <kevino@theolliviers.com>
755
756         Rubber stamped by Darin Adler.
757
758         Add set-webkit-configuration support for wx port, and centralize
759         build dir location setting.
760
761         http://bugs.webkit.org/show_bug.cgi?id=17790
762
763         * bindings/python/wxwebkit-py.bkl:
764         * presets/wxwebkit.bkl:
765         * wxwebkit.bkl:
766         * wxwk-settings.bkl:
767
768 2008-03-12  David Hyatt  <hyatt@apple.com>
769
770         Make the zoom factor a float and not a percent.
771
772         Reviewed by antti
773
774         * WebView.cpp:
775         (wxWebView::IncreaseTextSize):
776         (wxWebView::DecreaseTextSize):
777
778 2008-03-03  Kevin Ollivier  <kevino@theolliviers.com>
779
780         wx build fix after Frame::setZoomFactor API change.
781
782         * WebView.cpp:
783         (wxWebView::IncreaseTextSize):
784         (wxWebView::DecreaseTextSize):
785
786 2008-02-24  Darin Adler  <darin@apple.com>
787
788         Reviewed by Sam.
789
790         - remove separate client calls for "standard" and "reload' history
791
792         * WebKitSupport/FrameLoaderClientWx.cpp:
793         (WebCore::FrameLoaderClientWx::updateGlobalHistory):
794         * WebKitSupport/FrameLoaderClientWx.h:
795
796 2008-02-23  Kevin Ollivier  <kevino@theolliviers.com>
797
798         Reviewed by Darin Adler.
799
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 
803         platforms!)
804
805         http://bugs.webkit.org/show_bug.cgi?id=17396
806
807         * wxwebkit.bkl:
808         We need to directly link against GDI+ on Windows since we now
809         directly call GDI+ APIs.
810
811 2008-02-14  Darin Adler  <darin@apple.com>
812
813         * WebView.cpp: Removed use of DeprecatedString to keep this compiling.
814
815 2008-02-11  Kevin Ollivier <kevino@theolliviers.com>
816
817         Reviewed by Darin Adler.
818
819         A couple quick wx fixes.
820         
821         http://bugs.webkit.org/show_bug.cgi?id=17321
822
823         * WebView.cpp:
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.
829
830 2008-02-10  Darin Adler  <darin@apple.com>
831
832         Reviewed by Eric.
833
834         - http://bugs.webkit.org/show_bug.cgi?id=17256
835           eliminate default ref. count of 0 in RefCounted class
836
837         * WebKitSupport/FrameLoaderClientWx.cpp:
838         (WebCore::FrameLoaderClientWx::FrameLoaderClientWx):
839         Set the count to 0 explicitly (one stray client I missed in my last pass).
840
841 2008-02-03  Kevin Ollivier  <kevino@theolliviers.com>
842
843         Reviewed by Darin Adler.
844
845         Typo fix. Don't use the provisionalDocumentLoader() after the
846         whole page has already been loaded.
847
848         * WebKitSupport/FrameLoaderClientWx.cpp:
849         (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
850
851 2008-02-03  Kevin Ollivier  <kevino@theolliviers.com>
852
853         Build fix for last wx commit (a couple things were not committed). 
854         Also fix some style issues.
855
856         * WebView.cpp:
857         (wxWebView::wxWebView):
858         (wxWebView::OnPaint):
859         (wxWebView::OnSize):
860         (wxWebView::CanCopy):
861         (wxWebView::Copy):
862         (wxWebView::CanCut):
863         (wxWebView::Cut):
864         (wxWebView::CanPaste):
865         (wxWebView::Paste):
866         (wxWebView::OnKeyEvents):
867         (wxWebView::OnSetFocus):
868         (wxWebView::OnKillFocus):
869         (wxWebView::OnActivate):
870         * WebView.h:
871
872 2008-01-31  Kevin Ollivier  <kevino@theolliviers.com>
873
874         Reviewed by Adam Roben.
875
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.
881
882         * WebView.cpp:
883         (wxWebView::wxWebView):
884
885 2008-01-21  Darin Adler  <darin@apple.com>
886
887         Reviewed by John Sullivan.
888
889         - updated for changes to ChromeClient database functions
890
891         * WebKitSupport/ChromeClientWx.cpp:
892         (WebCore::ChromeClientWx::exceededDatabaseQuota):
893         * WebKitSupport/ChromeClientWx.h:
894
895 2008-01-16  Adam Roben  <aroben@apple.com>
896
897         Updated for WebCore method renames.
898
899         Reviewed by Darin Adler.
900
901         * WebView.cpp:
902         (wxWebView::OnSetFocus):
903         (wxWebView::OnKillFocus):
904         (wxWebView::OnActivate):
905
906 2008-01-12  Kevin Ollivier  <kevino@theolliviers.com>
907
908         Reviewed by Darin Adler.
909
910         wxWebKit API changes in preparation for DRT implementation. 
911         Specifically:
912
913         - Add CONSOLE_MESSAGE callback so clients can choose how to handle
914         console messages.
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()
919
920         * WebFrame.cpp:
921         (wxWebFrame::OnLoadEvent):
922         * WebFrame.h:
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):
933         * WebView.cpp:
934         (wxWebViewLoadEvent::wxWebViewLoadEvent):
935         (wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
936         (wxWebView::wxWebView):
937         (wxWebView::GetPageSource):
938         (wxWebView::GetInnerText):
939         (wxWebView::GetAsMarkup):
940         (wxWebView::GetExternalRepresentation):
941         * WebView.h:
942
943 2008-01-12  Kevin Ollivier  <kevino@theolliviers.com>
944
945         wx build fix. Add WebCore/icu/include dir for OS X boxes with
946         only stock ICU installed.
947
948         * dependencies.bkl:
949
950 2008-01-10  Maciej Stachowiak  <mjs@apple.com>
951
952         Reviewed by Sam.
953
954         - remove SecurityOriginData and fold its functionality into SecurityOrigin
955
956         * WebKitSupport/ChromeClientWx.cpp:
957         (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
958         (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
959         * WebKitSupport/ChromeClientWx.h:
960
961 2007-12-16  Darin Adler  <darin@apple.com>
962
963         - try to fix the build
964
965         * WebView.cpp:
966         (wxWebView::OnKeyEvents): Add a WebCore prefix.
967
968 2007-12-16  Alexey Proskuryakov  <ap@webkit.org>
969
970         Reviewed by Darin Adler.
971
972         http://bugs.webkit.org/show_bug.cgi?id=16462
973         REGRESSION: access keys broken on Windows
974
975         * WebView.cpp: (wxWebView::OnKeyEvents): Call handleAccessKey() as appropriate.
976
977 2007-12-14  Darin Adler  <darin@apple.com>
978
979         Reviewed by Alexey.
980
981         * WebKitSupport/EditorClientWx.cpp:
982         (WebCore::EditorClientWx::handleKeyboardEvent): Switched from Editor::execCommand
983         to Editor::command.
984
985 2007-12-12  Brady Eidson  <beidson@apple.com>
986
987         Reviewed by Sam Weinig
988
989         As part of doing some CachedPage and client cleanup, keep Wx building
990
991         * WebKitSupport/FrameLoaderClientWx.cpp:
992         (WebCore::FrameLoaderClientWx::savePlatformDataToCachedPage):
993         (WebCore::FrameLoaderClientWx::transitionToCommittedFromCachedPage):
994         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
995         * WebKitSupport/FrameLoaderClientWx.h:
996
997 2007-12-12  Sam Weinig  <sam@webkit.org>
998
999         Build fix.
1000
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):
1010
1011 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
1012
1013         Reviewed by Darin Adler.
1014
1015         <rdar://problem/5535636>
1016         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1017
1018         http://bugs.webkit.org/show_bug.cgi?id=13916
1019         JavaScript detects Tab as a character input on a textfield validation
1020
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.
1028
1029 2007-12-06  Kevin Ollivier  <kevino@theolliviers.com>
1030
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.
1034
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).
1038
1039         Reviewed by Darin Adler.
1040
1041         * WebView.cpp:
1042         (wxWebView::wxWebView):
1043         (wxWebView::~wxWebView):
1044         (wxWebView::OnPaint):
1045         * WebViewPrivate.h:
1046         (WebViewPrivate::WebViewPrivate):
1047
1048 2007-12-06  Kevin Ollivier  <kevino@theolliviers.com>
1049
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.
1053
1054         * Bakefiles.bkgen:
1055         * wxwebkit.bkl:
1056
1057 2007-12-04  Darin Adler  <darin@apple.com>
1058
1059         Reviewed by Kevin Decker.
1060
1061         * WebKitSupport/FrameLoaderClientWx.cpp: Removed obsolete privateBrowsingEnabled.
1062         * WebKitSupport/FrameLoaderClientWx.h: Ditto.
1063
1064 2007-12-03  Mark Rowe  <mrowe@apple.com>
1065
1066         wx build fix.
1067
1068         * WebView.cpp:
1069         (wxWebView::RunScript):
1070
1071 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
1072
1073         wx build fix. Add WebCore/platform/graphics/wx to includes.
1074
1075         * wxwebkit.bkl:
1076
1077 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
1078
1079         Fix method signatures to be members of ClientChromeWx class.
1080
1081         * WebKitSupport/ChromeClientWx.cpp:
1082         (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
1083         (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
1084
1085 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
1086
1087         Build fix. Add platform/text to includes for targets that
1088         need WebCore headers.
1089
1090         * presets/wxwebkit.bkl:
1091
1092 2007-11-29  Brady Eidson  <beidson@apple.com>
1093
1094         Keep it building with new client method
1095
1096         * WebKitSupport/ChromeClientWx.cpp:
1097         (WebCore::ChromeClient::requestQuotaIncreaseForNewDatabase):
1098         (WebCore::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
1099         * WebKitSupport/ChromeClientWx.h:
1100
1101 2007-11-25  Kevin Ollivier  <kevino@theolliviers.com>
1102
1103         wx build fix. Don't get xslt-config options at bake time, do it
1104         at make time.
1105
1106         * dependencies.bkl:
1107
1108 2007-11-23  Kevin Ollivier  <kevino@theolliviers.com>
1109
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.
1115
1116         * WebFrame.cpp:
1117         * WebView.cpp:
1118         * bindings/python/wxwebkit-py.bkl:
1119         * dependencies.bkl:
1120         * presets/wxwebkit.bkl:
1121         * wxwebkit.bkl:
1122         * wxwk-settings.bkl:
1123
1124 2007-11-20  Kevin Ollivier  <kevino@theolliviers.com>
1125
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. 
1129
1130         * presets/wxwebkit.bkl:
1131         Remove WebCore/include reference and add JSCore header dirs needed
1132         instead.
1133
1134 2007-11-19  Kevin Ollivier  <kevino@theolliviers.com>
1135
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 
1139         committed disabled. 
1140
1141         Reviewed by Adam.
1142
1143         * WebFrame.cpp:
1144         (wxWebFrame::wxWebFrame):
1145         * WebKitSupport/FrameLoaderClientWx.cpp:
1146         (WebCore::FrameLoaderClientWx::ref):
1147         (WebCore::FrameLoaderClientWx::deref):
1148         * WebKitSupport/FrameLoaderClientWx.h:
1149         * presets/wxwebkit.bkl:
1150
1151 2007-11-17  Timothy Hatcher  <timothy@apple.com>
1152
1153         Reviewed by Mark Rowe.
1154
1155         Bug 13470: i18n: The Web Inspector is not localizable
1156         http://bugs.webkit.org/show_bug.cgi?id=13470
1157
1158         * WebKitSupport/InspectorClientWx.cpp:
1159         (WebCore::InspectorClientWx::localizedStringsURL): Empty stub.
1160         * WebKitSupport/InspectorClientWx.h: Added localizedStringsURL.
1161
1162 2007-11-08  Kevin Ollivier  <kevino@theolliviers.com>
1163
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.
1170
1171         Reviewed by Mark Rowe.
1172
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.
1190         * WebView.h: Added.
1191         * WebViewPrivate.h: Added.
1192         * bindings: 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.
1199         * presets: Added.
1200         * presets/wxwebkit.bkl: Added.
1201         * wxwebkit.bkl: Added.
1202         * wxwk-settings.bkl: Added.
1203