Reviewed by Kevin Ollivier.
[WebKit.git] / WebKit / wx / ChangeLog
1 2008-12-02  Kevin Watters  <kevinwatters@gmail.com>
2
3         Reviewed by Kevin Ollivier.
4
5         Add HitTest to wxWebView (and wxWebFrame).
6         
7         https://bugs.webkit.org/show_bug.cgi?id=22459
8
9         * WebFrame.cpp:
10         (wxWebFrame::HitTest):
11         * WebFrame.h:
12         * WebView.cpp:
13         (wxWebView::HitTest):
14         * WebView.h:
15
16 2008-11-24  Darin Fisher  <darin@chromium.org>
17
18         Fix bustage.
19
20         http://bugs.webkit.org/show_bug.cgi?id=15643
21
22         * WebKitSupport/EditorClientWx.cpp:
23         (WebCore::EditorClientWx::isSelectTrailingWhitespaceEnabled):
24         * WebKitSupport/EditorClientWx.h:
25
26 2008-11-24  Darin Adler  <darin@apple.com>
27
28         Reviewed by Dan Bernstein.
29
30         - https://bugs.webkit.org/show_bug.cgi?id=22470
31           remove unneeded URL argument from FrameLoaderClient::updateGlobalHistory
32
33         * WebKitSupport/FrameLoaderClientWx.cpp:
34         (WebCore::FrameLoaderClientWx::updateGlobalHistory): Remove argument.
35         * WebKitSupport/FrameLoaderClientWx.h: Ditto.
36
37 2008-11-21  Kevin Watters  <kevinwatters@gmail.com>
38
39         Reviewed by Kevin Ollivier.
40
41         Maintain an EditCommand stack in WebFramePrivate, and expose Undo and
42         Redo in wxWebView.
43         
44         https://bugs.webkit.org/show_bug.cgi?id=22403
45
46         * WebFrame.cpp:
47         (wxWebFrame::wxWebFrame):
48         (wxWebFrame::Undo):
49         (wxWebFrame::Redo):
50         (wxWebFrame::CanUndo):
51         (wxWebFrame::CanRedo):
52         * WebFrame.h:
53         * WebFramePrivate.h: Added.
54         (WebFramePrivate::WebFramePrivate):
55         * WebKitSupport/ChromeClientWx.cpp:
56         (WebCore::ChromeClientWx::createWindow):
57         * WebKitSupport/EditCommandWx.h: Added.
58         (EditCommandWx::EditCommandWx):
59         (EditCommandWx::~EditCommandWx):
60         (EditCommandWx::editCommand):
61         * WebKitSupport/EditorClientWx.cpp:
62         (WebCore::EditorClientWx::registerCommandForUndo):
63         (WebCore::EditorClientWx::registerCommandForRedo):
64         (WebCore::EditorClientWx::canUndo):
65         (WebCore::EditorClientWx::canRedo):
66         (WebCore::EditorClientWx::undo):
67         (WebCore::EditorClientWx::redo):
68         * WebKitSupport/EditorClientWx.h:
69         * WebView.cpp:
70         (wxWebView::OnMouseEvents):
71         (wxWebView::OnKeyEvents):
72         * WebViewPrivate.h:
73
74 2008-11-19  Darin Fisher  <darin@chromium.org>
75
76         Reviewed by Geoff Garen.
77
78         https://bugs.webkit.org/show_bug.cgi?id=22345
79         Define ScriptValue as a thin container for a JSC::Value*.
80
81         * WebFrame.cpp:
82         (wxWebFrame::RunScript):
83
84 2008-11-17  Geoffrey Garen  <ggaren@apple.com>
85
86         Reviewed by Sam Weinig.
87         
88         Updated for JavaScriptCore renames.
89
90         * presets/wxwebkit.bkl:
91
92 2008-11-17  Geoffrey Garen  <ggaren@apple.com>
93
94         Reviewed by Sam Weinig.
95         
96         Updated for JavaScriptCore renames.
97
98         * presets/wxwebkit.bkl:
99
100 2008-11-17  Geoffrey Garen  <ggaren@apple.com>
101
102         Not reviewed.
103         
104         Try to fix wx build.
105
106         * presets/wxwebkit.bkl:
107
108 2008-11-15  Kevin Watters  <kevinwatters@gmail.com>
109
110         Reviewed by Kevin Ollivier.
111
112         Add API for setting transparent webview background.
113         
114         https://bugs.webkit.org/show_bug.cgi?id=22281
115
116         * WebView.cpp:
117         (wxWebView::SetTransparent):
118         (wxWebView::IsTransparent):
119         * WebView.h:
120
121 2008-11-11  Cameron Zwarich  <zwarich@apple.com>
122
123         Reviewed by Geoff Garen.
124
125         Remove pointless dependencies on the deleted kjs directory.
126
127         * presets/wxwebkit.bkl:
128
129 2008-11-08  Kevin Ollivier  <kevino@theolliviers.com>
130
131         wx build fixes after addition of JSCore parser and bycompiler dirs. 
132
133         * presets/wxwebkit.bkl:
134
135 2008-11-05  Cameron Zwarich  <zwarich@apple.com>
136
137         Rubber-stamped by Sam Weinig.
138
139         Move more files to the runtime subdirectory of JavaScriptCore.
140
141         * WebFrame.cpp:
142         * WebView.cpp:
143
144 2008-10-31  Kevin Ollivier  <kevino@theolliviers.com>
145
146         wxMSW build fix. Missing header.
147
148         * WebKitSupport/ChromeClientWx.cpp:
149
150 2008-10-29  Kevin Ollivier  <kevino@theolliviers.com>
151
152         wx build fixes after addition of runtime and ImageBuffer changes.
153
154         * presets/wxwebkit.bkl:
155
156 2008-10-28  Cameron Zwarich  <zwarich@apple.com>
157
158         Reviewed by Mark Rowe.
159
160         Move ForwardingHeaders to their correct location after the creation of
161         the runtime directory in JavaScriptCore.
162
163         * WebFrame.cpp:
164         * WebView.cpp:
165
166 2008-10-27  Kevin Ollivier  <kevino@theolliviers.com>
167
168         wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
169
170         * presets/wxwebkit.bkl:
171
172 2008-10-25  Kevin Ollivier  <kevino@theolliviers.com>
173
174         wx build fix.
175
176         * WebKitSupport/ChromeClientWx.h:
177
178 2008-10-24  Sam Weinig  <sam@webkit.org>
179
180         Reviewed by Dan Bernstein.
181
182         Fix https://bugs.webkit.org/show_bug.cgi?id=21759
183         Layering violation: FileChooser should not depend on Document/Frame/Page
184
185         * WebKitSupport/ChromeClientWx.cpp:
186         (WebCore::ChromeClientWx::runOpenPanel):
187         * WebKitSupport/ChromeClientWx.h:
188
189 2008-10-24  David Kilzer  <ddkilzer@apple.com>
190
191         Build fix.
192
193         Reviewed by Greg Bolsinga.
194
195         * WebKitSupport/InspectorClientWx.cpp:
196         (WebCore::InspectorClientWx::populateSetting): Changed
197         InspectorClient:: to InspectorClientWx::.
198         (WebCore::InspectorClientWx::storeSetting): Ditto.
199         (WebCore::InspectorClientWx::removeSetting): Ditto.
200
201 2008-10-24  Timothy Hatcher  <timothy@apple.com>
202
203         Stub out new InspectorClient methods.
204
205         https://bugs.webkit.org/show_bug.cgi?id=21856
206
207         Reviewed by Darin Adler.
208
209         * WebKitSupport/InspectorClientWx.cpp:
210         (WebCore::InspectorClient::populateSetting): Not implemented.
211         (WebCore::InspectorClient::storeSetting): Ditto.
212         (WebCore::InspectorClient::removeSetting): Ditto.
213         * WebKitSupport/InspectorClientWx.h:
214
215 2008-10-24  Darin Adler  <darin@apple.com>
216
217         - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
218
219         * WebFrame.cpp: (wxWebFrame::RunScript): Use JSValue* instead of JSValuePtr.
220
221 2008-10-20  Sam Weinig  <sam@webkit.org>
222
223         Reviewed by Anders Carlsson.
224
225         Remove FrameLoaderClient::detachedFromParent4.  It is no longer used by any port.
226
227         * WebKitSupport/FrameLoaderClientWx.cpp:
228         * WebKitSupport/FrameLoaderClientWx.h:
229
230 2008-10-19  Darin Adler  <darin@apple.com>
231
232         Reviewed by Oliver Hunt.
233
234         - next step of https://bugs.webkit.org/show_bug.cgi?id=21732
235           improve performance by eliminating JSValue as a base class for JSCell
236
237         Remove most uses of JSValue, which will be removed in a future patch.
238
239         * WebFrame.cpp:
240         (wxWebFrame::RunScript): Use JSValuePtr.
241
242 2008-10-17  Kevin Watters  <kevinwatters@gmail.com>
243         
244         Reviewed by Kevin Ollivier
245
246         Fix wx port's scrollbar and drawing handling after recent changes.
247         
248         https://bugs.webkit.org/show_bug.cgi?id=21720
249
250         * WebView.cpp:
251         (wxWebView::OnPaint):
252         (wxWebView::OnSize):
253
254 2008-10-09  Kevin Ollivier  <kevino@theolliviers.com>
255
256         wx build fixes.
257
258         * WebKitSupport/ChromeClientWx.cpp:
259         (WebCore::ChromeClientWx::repaint):
260         (WebCore::ChromeClientWx::scroll):
261         * WebKitSupport/ChromeClientWx.h:
262         * presets/wxwebkit.bkl:
263
264 2008-10-06  David Hyatt  <hyatt@apple.com>
265
266         Enable viewless Mac WebKit to paint some basic pages.
267         
268         Reviewed by Sam Weinig
269
270         * WebKitSupport/FrameLoaderClientWx.cpp:
271         * WebKitSupport/FrameLoaderClientWx.h:
272
273 2008-10-03  David Hyatt  <hyatt@apple.com>
274
275          Remove addToDirtyRegion.
276         
277          Reviewed by Oliver Hunt
278
279         * WebKitSupport/ChromeClientWx.cpp:
280
281 2008-10-02  Kevin Ollivier  <kevino@theolliviers.com>
282
283         wx build fixes after Frame/ScrollView changes.
284
285         * WebView.cpp:
286         (wxWebView::OnPaint):
287
288 2008-10-01  David Hyatt  <hyatt@apple.com>
289
290         https://bugs.webkit.org/show_bug.cgi?id=21282
291         
292         Make contentsToScreen/screenToContents cross-platform.  Only implemented by Mac/Win right now.
293     
294         Reviewed by Adam Roben
295
296         * WebKitSupport/ChromeClientWx.cpp:
297         (WebCore::ChromeClientWx::windowToScreen):
298         (WebCore::ChromeClientWx::screenToWindow):
299         * WebKitSupport/ChromeClientWx.h:
300
301 2008-09-30  Dave Hyatt  <hyatt@apple.com>
302
303         http://bugs.webkit.org/show_bug.cgi?id=21250
304         
305         Rename updateContents to repaintContentRectangle and make it cross-platform by always sending
306         repaints up through the ChromeClient.
307
308         Reviewed by Darin Adler
309
310         * WebKitSupport/ChromeClientWx.cpp:
311         (WebCore::ChromeClientWx::repaint):
312         * WebKitSupport/ChromeClientWx.h:
313
314 2008-09-26  Kevin Ollivier  <kevino@theolliviers.com>
315
316         wx build fixes after Widget/ScrollView changes.
317
318         * WebKitSupport/FrameLoaderClientWx.cpp:
319         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
320
321 2008-09-20  Kevin Ollivier  <kevino@theolliviers.com>
322
323         Reviewed by Dan Bernstein.
324         
325         Fix memory leak.
326         
327         https://bugs.webkit.org/show_bug.cgi?id=20505
328
329         * WebView.cpp:
330         (wxWebView::OnPaint):
331
332 2008-09-20  Kevin Ollivier  <kevino@theolliviers.com>
333
334         wx build fixes. Added/removed build sources, and nativeWindow->platformWidget updates.
335
336         * WebKitSupport/EditorClientWx.cpp:
337         (WebCore::EditorClientWx::isEditable):
338         * WebKitSupport/FrameLoaderClientWx.cpp:
339         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
340
341 2008-09-07  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
342
343         Reviewed by Maciej Stachowiak.
344
345         Bug 20704: Replace the KJS namespace
346         <https://bugs.webkit.org/show_bug.cgi?id=20704>
347
348         Rename the KJS namespace to JSC.
349
350         * WebFrame.cpp:
351         (wxWebFrame::RunScript):
352
353 2008-09-04  Kevin Ollivier  <kevino@theolliviers.com>
354
355         wx build fixes.
356         
357         * WebKitSupport/FrameLoaderClientWx.cpp:
358         (WebCore::FrameLoaderClientWx::pluginWillHandleLoadError):
359         * WebKitSupport/FrameLoaderClientWx.h:
360
361 2008-08-18  Kevin Ollivier  <kevino@theolliviers.com>
362
363         Build fix for Win. Don't include the libxml/libxslt directories in the
364         include path, it picks up the wrong Pattern.h in that case.
365
366         * dependencies.bkl:
367
368 2008-08-12  Timothy Hatcher  <timothy@apple.com>
369
370         Add a stub for InspectorClient::setAttachedWindowHeight.
371
372         * WebKitSupport/InspectorClientWx.cpp:
373         (WebCore::InspectorClientWx::setAttachedWindowHeight):
374         Call notImplemented().
375         * WebKitSupport/InspectorClientWx.h:
376
377 2008-08-06  Kevin Watters  <kevinwatters@gmail.com>
378
379         Reviewed by Kevin Ollivier.
380         
381         Create a wxWebFrame API to match other ports and to prepare for frames support.
382         Also fixes a frame leak in wx port on trunk.
383         
384         https://bugs.webkit.org/show_bug.cgi?id=19041
385
386         * WebFrame.cpp: Added.
387         (wxWebFrame::wxWebFrame):
388         (wxWebFrame::~wxWebFrame):
389         (wxWebFrame::GetFrame):
390         (wxWebFrame::Stop):
391         (wxWebFrame::Reload):
392         (wxWebFrame::GetPageSource):
393         (wxWebFrame::SetPageSource):
394         (wxWebFrame::GetInnerText):
395         (wxWebFrame::GetAsMarkup):
396         (wxWebFrame::GetExternalRepresentation):
397         (wxWebFrame::RunScript):
398         (wxWebFrame::LoadURL):
399         (wxWebFrame::GoBack):
400         (wxWebFrame::GoForward):
401         (wxWebFrame::CanGoBack):
402         (wxWebFrame::CanGoForward):
403         (wxWebFrame::CanIncreaseTextSize):
404         (wxWebFrame::IncreaseTextSize):
405         (wxWebFrame::CanDecreaseTextSize):
406         (wxWebFrame::DecreaseTextSize):
407         (wxWebFrame::MakeEditable):
408         (wxWebFrame::CanCopy):
409         (wxWebFrame::Copy):
410         (wxWebFrame::CanCut):
411         (wxWebFrame::Cut):
412         (wxWebFrame::CanPaste):
413         (wxWebFrame::Paste):
414         * WebFrame.h: Added.
415         * WebView.cpp:
416         (wxWebView::wxWebView):
417         (wxWebView::Create):
418         (wxWebView::~wxWebView):
419         (wxWebView::Stop):
420         (wxWebView::Reload):
421         (wxWebView::GetPageSource):
422         (wxWebView::SetPageSource):
423         (wxWebView::GetInnerText):
424         (wxWebView::GetAsMarkup):
425         (wxWebView::GetExternalRepresentation):
426         (wxWebView::RunScript):
427         (wxWebView::LoadURL):
428         (wxWebView::GoBack):
429         (wxWebView::GoForward):
430         (wxWebView::CanGoBack):
431         (wxWebView::CanGoForward):
432         (wxWebView::CanIncreaseTextSize):
433         (wxWebView::IncreaseTextSize):
434         (wxWebView::CanDecreaseTextSize):
435         (wxWebView::DecreaseTextSize):
436         (wxWebView::OnPaint):
437         (wxWebView::OnSize):
438         (wxWebView::OnMouseEvents):
439         (wxWebView::CanCopy):
440         (wxWebView::Copy):
441         (wxWebView::CanCut):
442         (wxWebView::Cut):
443         (wxWebView::CanPaste):
444         (wxWebView::Paste):
445         (wxWebView::OnKeyEvents):
446         (wxWebView::OnSetFocus):
447         (wxWebView::OnKillFocus):
448         * WebView.h:
449         * wxwebkit.bkl:
450
451 2008-07-27  Kevin Watters  <kevinwatters@gmail.com>
452
453         Reviewed by Sam Weinig.
454
455         Add tooltip support to the wx port.
456         
457         https://bugs.webkit.org/show_bug.cgi?id=20173
458
459         * WebKitSupport/ChromeClientWx.cpp:
460         (WebCore::ChromeClientWx::setToolTip):
461         * WebView.cpp:
462         (wxWebView::OnMouseEvents): Use mouseMoved instead of handleMouseMoveEvent.
463
464 2008-07-21  Kevin Ollivier  <kevino@theolliviers.com>
465
466         wx build fix. Fix pthread linkage under Linux.
467
468         * dependencies.bkl:
469
470 2008-06-15  Darin Adler  <darin@apple.com>
471
472         - give Frame object functions shorter names: scriptProxy() -> script(),
473           selectionController() -> selection(), animationController() -> animation()
474
475         * WebKitSupport/EditorClientWx.cpp:
476         (WebCore::EditorClientWx::handleKeyboardEvent):
477         * WebView.cpp:
478         (wxWebView::RunScript):
479         (wxWebView::OnSetFocus):
480         (wxWebView::OnKillFocus):
481
482 2008-06-15  Darin Adler  <darin@apple.com>
483
484         - new names for a few key JavaScriptCore files
485
486         * WebView.cpp:
487
488 2008-06-14  Darin Adler  <darin@apple.com>
489
490         Rubber stamped by Sam.
491
492         - new names for kjs_binding.h and kjs_proxy.h
493
494         * WebView.cpp:
495
496 2008-06-14  Darin Adler  <darin@apple.com>
497
498         - try to fix wx build, again
499
500         * WebView.cpp:
501         (wxWebView::Create): Use create function instead of new.
502
503 2008-06-14  Darin Adler  <darin@apple.com>
504
505         Reviewed by Sam.
506
507         - more https://bugs.webkit.org/show_bug.cgi?id=17257
508           start ref counts at 1 instead of 0 for speed
509
510         * WebKitSupport/FrameLoaderClientWx.cpp:
511         (WebCore::FrameLoaderClientWx::createDocumentLoader): Use create function
512         instead of new.
513
514 2008-06-13  Darin Adler  <darin@apple.com>
515
516         - try to fix build
517
518         * WebKitSupport/FrameLoaderClientWx.h: Add missing argument.
519
520 2008-06-13  Darin Adler  <darin@apple.com>
521
522         Reviewed by John Sullivan.
523
524         - updated for addition of FormState argument to action policy functions
525
526         * WebKitSupport/FrameLoaderClientWx.cpp:
527         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
528         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
529
530 2008-06-10  Kevin Ollivier  <kevino@theolliviers.com>
531
532         wx Linux build fix. Only use -undefined dynamic_lookup flag under Mac.
533
534         * bindings/python/wxwebkit-py.bkl:
535
536 2008-05-28  Robin Dunn  <robin@alldunn.com>
537
538         Reviewed by Kevin Ollivier.
539
540         This patch adds a new wx event type and code to send it when a new title is set
541         by the page being loaded.
542         
543         https://bugs.webkit.org/show_bug.cgi?id=19067
544
545         * WebKitSupport/FrameLoaderClientWx.cpp:
546         (WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
547         * WebView.cpp:
548         (wxWebViewReceivedTitleEvent::wxWebViewReceivedTitleEvent):
549         * WebView.h:
550         * bindings/python/webview.i:
551
552 2008-05-28  Robin Dunn  <robin@alldunn.com>
553
554         Reviewed by Kevin Ollivier.
555         
556         This patch tweaks the wxWebView class to make it conform to normal wx patterns
557         for widget classes.  It adds a default ctor and the Create method so it can use
558         the 2-phase create pattern, adds wxRTTI macros which is important for wxPython
559         and XRC, and fixes the LoadURL method to pass a wxString reference to save a
560         copy.
561         
562         https://bugs.webkit.org/show_bug.cgi?id=19068
563
564         * WebView.cpp:
565         (wxWebView::wxWebView):
566         (wxWebView::Create):
567         (wxWebView::LoadURL):
568         * WebView.h:
569
570 2008-05-27  Kevin Ollivier  <kevino@theolliviers.com>
571
572         wx build fix. Accidently left a couple fixes out of the previous commit.
573
574         * presets/wxwebkit.bkl:
575
576 2008-05-16  Kevin Ollivier  <kevino@theolliviers.com>
577
578         Reviewed by Darin Adler.
579         
580         Rename wxWebFrame -> wxWebBrowserShell in preparation to introduce a WebFrame
581         counterpart in wx port. (Frame typically means 'top level window' in wx terms.)
582         
583         https://bugs.webkit.org/show_bug.cgi?id=19041
584
585         * WebBrowserShell.cpp: Copied from WebKit/wx/WebFrame.cpp.
586         (wxWebBrowserShell::wxWebBrowserShell):
587         (wxWebBrowserShell::~wxWebBrowserShell):
588         (wxWebBrowserShell::ShowDebugMenu):
589         (wxWebBrowserShell::OnQuit):
590         (wxWebBrowserShell::OnAbout):
591         (wxWebBrowserShell::OnLoadFile):
592         (wxWebBrowserShell::OnLoadEvent):
593         (wxWebBrowserShell::OnBeforeLoad):
594         (wxWebBrowserShell::OnAddressBarEnter):
595         (wxWebBrowserShell::OnSearchCtrlEnter):
596         (wxWebBrowserShell::OnBack):
597         (wxWebBrowserShell::OnForward):
598         (wxWebBrowserShell::OnStop):
599         (wxWebBrowserShell::OnReload):
600         (wxWebBrowserShell::OnMakeTextLarger):
601         (wxWebBrowserShell::OnMakeTextSmaller):
602         (wxWebBrowserShell::OnGetSource):
603         (wxWebBrowserShell::OnSetSource):
604         (wxWebBrowserShell::OnBrowse):
605         (wxWebBrowserShell::OnEdit):
606         (wxWebBrowserShell::OnRunScript):
607         * WebBrowserShell.h: Copied from WebKit/wx/WebFrame.h.
608         * WebFrame.cpp: Removed.
609         * WebFrame.h: Removed.
610         * WebKitSupport/ChromeClientWx.cpp:
611         (WebCore::ChromeClientWx::createWindow):
612         * bindings/python/webview.i:
613         * wxwebkit.bkl:
614
615 2008-05-20  Kevin Ollivier  <kevino@theolliviers.com>
616
617         wx build fix. Update code after removal of Document::toString().
618
619         * WebView.cpp:
620         (wxWebView::GetPageSource):
621
622 2008-05-15  Kevin Ollivier  <kevino@theolliviers.com>
623
624         wx build fix. Add rendering/style to includes dir.
625
626         * presets/wxwebkit.bkl:
627
628 2008-05-11  Kevin Ollivier  <kevino@theolliviers.com>
629
630         Previous commit made bdash sad. Restore happiness state by fixing missed style issue. 
631
632         * WebKitSupport/FrameLoaderClientWx.cpp:
633         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
634
635 2008-05-11  Robin Dunn  <robin@alldunn.com>
636
637         Reviewed by Kevin Ollivier.
638         
639         Fix scrolling issues by implementing transitionToCommittedNewPage() so the scroll
640         positions are reset when a new page is loaded, and also maintained so that back
641         and next restore the scroll positions as well. This also simplifies the logic
642         for initializing and managing wxWebView.
643         
644         https://bugs.webkit.org/show_bug.cgi?id=18992
645
646         * WebKitSupport/FrameLoaderClientWx.cpp:
647         (WebCore::FrameLoaderClientWx::setWebView):
648         (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
649         (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
650         (WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
651         (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
652         (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
653         (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
654         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
655         (WebCore::FrameLoaderClientWx::createFrame):
656         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
657         * WebKitSupport/FrameLoaderClientWx.h:
658         * WebView.cpp:
659         (wxWebView::wxWebView):
660         (wxWebView::~wxWebView):
661         (wxWebView::GetPageSource):
662         (wxWebView::GetInnerText):
663         (wxWebView::GetExternalRepresentation):
664         (wxWebView::OnPaint):
665         (wxWebView::OnSize):
666         (wxWebView::OnMouseEvents):
667         (wxWebView::CanCopy):
668         (wxWebView::CanCut):
669         (wxWebView::CanPaste):
670         (wxWebView::OnKeyEvents):
671         * WebViewPrivate.h:
672         (WebViewPrivate::WebViewPrivate):
673
674 2008-05-04  Robin Dunn  <robin@alldunn.com>
675
676         Reviewed by Kevin Ollivier.
677         
678         Allow events to specify the ID of the particular wxWebView they are to be sent to.
679         
680         https://bugs.webkit.org/show_bug.cgi?id=18659
681
682         * WebFrame.cpp:
683         (wxWebFrame::wxWebFrame):
684         * WebView.cpp:
685         (wxWebViewLoadEvent::wxWebViewLoadEvent):
686         (wxWebViewBeforeLoadEvent::wxWebViewBeforeLoadEvent):
687         (wxWebViewNewWindowEvent::wxWebViewNewWindowEvent):
688         (wxWebViewRightClickEvent::wxWebViewRightClickEvent):
689         (wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
690         * WebView.h:
691         * bindings/python/webview.i:
692
693 2008-04-27  Robin Dunn  <robin@alldunn.com>
694
695         Reviewed by Kevin Ollivier.
696         
697         Add methods to check if there is a previous/next page in the history. Also some
698         coding style cleanup.
699         
700         https://bugs.webkit.org/show_bug.cgi?id=18757
701
702         * WebView.cpp:
703         (wxWebView::GoBack):
704         (wxWebView::GoForward):
705         (wxWebView::CanGoBack):
706         (wxWebView::CanGoForward):
707         * WebView.h:
708
709 2008-04-24  Anders Carlsson  <andersca@apple.com>
710
711         Reviewed by Sam.
712
713         Change some String arguments to be const references instead.
714
715         * WebKitSupport/EditorClientWx.cpp:
716         (WebCore::EditorClientWx::shouldInsertText):
717         * WebKitSupport/EditorClientWx.h:
718
719 2008-04-23  Kevin Ollivier  <kevino@theolliviers.com>
720
721         Reviewed by Alp Toker.
722         
723         Typo fix to restore text entry.
724
725         * WebKitSupport/EditorClientWx.cpp:
726         (WebCore::EditorClientWx::handleKeyboardEvent):
727
728 2008-04-19  Kevin Ollivier  <kevino@theolliviers.com>
729
730         wx build fix. renderer() -> contentRenderer()
731
732         * WebView.cpp:
733         (wxWebView::GetExternalRepresentation):
734         (wxWebView::OnPaint):
735
736 2008-04-18  Kevin Ollivier  <kevino@theolliviers.com>
737
738         wx build fix. We need to use ENABLE_DOM_STORAGE now.
739
740         * wxwk-settings.bkl:
741
742 2008-04-05  Kevin Ollivier  <kevino@theolliviers.com>
743
744         Rubber stamped by Mark Rowe.
745
746         Don't assume wxWebKit to be part of the wx package. This allows
747         us to run it from any directory on the PYTHONPATH rather than
748         having to copy files into the wxPython directory.
749
750         * bindings/python/webview.i:
751
752 2008-03-25  Brady Eidson  <beidson@apple.com>
753
754         Reviewed by Darin
755
756         Remove newly obsolete FrameLoaderClient methods
757
758         * WebKitSupport/FrameLoaderClientWx.cpp:
759         * WebKitSupport/FrameLoaderClientWx.h:
760
761 2008-03-16  Kevin Ollivier  <kevino@theolliviers.com>
762
763         wx build fix. Make sure we link png/jpeg libraries before
764         wx libraries to get the right symbols.
765
766         * wxwebkit.bkl:
767         * wxwk-settings.bkl:
768
769 2008-03-16  Kevin Ollivier  <kevino@theolliviers.com>
770
771         Rubber stamped by Darin Adler.
772
773         Add set-webkit-configuration support for wx port, and centralize
774         build dir location setting.
775
776         http://bugs.webkit.org/show_bug.cgi?id=17790
777
778         * bindings/python/wxwebkit-py.bkl:
779         * presets/wxwebkit.bkl:
780         * wxwebkit.bkl:
781         * wxwk-settings.bkl:
782
783 2008-03-12  David Hyatt  <hyatt@apple.com>
784
785         Make the zoom factor a float and not a percent.
786
787         Reviewed by antti
788
789         * WebView.cpp:
790         (wxWebView::IncreaseTextSize):
791         (wxWebView::DecreaseTextSize):
792
793 2008-03-03  Kevin Ollivier  <kevino@theolliviers.com>
794
795         wx build fix after Frame::setZoomFactor API change.
796
797         * WebView.cpp:
798         (wxWebView::IncreaseTextSize):
799         (wxWebView::DecreaseTextSize):
800
801 2008-02-24  Darin Adler  <darin@apple.com>
802
803         Reviewed by Sam.
804
805         - remove separate client calls for "standard" and "reload' history
806
807         * WebKitSupport/FrameLoaderClientWx.cpp:
808         (WebCore::FrameLoaderClientWx::updateGlobalHistory):
809         * WebKitSupport/FrameLoaderClientWx.h:
810
811 2008-02-23  Kevin Ollivier  <kevino@theolliviers.com>
812
813         Reviewed by Darin Adler.
814
815         Move text drawing into wxcode, as we need platform-dependent
816         APIs for drawing non-kerned text, which wx doesn't yet have.
817         (But hopefully will, once these APIs are fleshed out on all 
818         platforms!)
819
820         http://bugs.webkit.org/show_bug.cgi?id=17396
821
822         * wxwebkit.bkl:
823         We need to directly link against GDI+ on Windows since we now
824         directly call GDI+ APIs.
825
826 2008-02-14  Darin Adler  <darin@apple.com>
827
828         * WebView.cpp: Removed use of DeprecatedString to keep this compiling.
829
830 2008-02-11  Kevin Ollivier <kevino@theolliviers.com>
831
832         Reviewed by Darin Adler.
833
834         A couple quick wx fixes.
835         
836         http://bugs.webkit.org/show_bug.cgi?id=17321
837
838         * WebView.cpp:
839         (wxWebView::OnPaint):
840         Make sure wxGCDC has its paint origin set properly after
841         the move to wxWindow for scrolling.
842         * bindings/python/webview.i:
843         Update the wxPython bindings after event rename.
844
845 2008-02-10  Darin Adler  <darin@apple.com>
846
847         Reviewed by Eric.
848
849         - http://bugs.webkit.org/show_bug.cgi?id=17256
850           eliminate default ref. count of 0 in RefCounted class
851
852         * WebKitSupport/FrameLoaderClientWx.cpp:
853         (WebCore::FrameLoaderClientWx::FrameLoaderClientWx):
854         Set the count to 0 explicitly (one stray client I missed in my last pass).
855
856 2008-02-03  Kevin Ollivier  <kevino@theolliviers.com>
857
858         Reviewed by Darin Adler.
859
860         Typo fix. Don't use the provisionalDocumentLoader() after the
861         whole page has already been loaded.
862
863         * WebKitSupport/FrameLoaderClientWx.cpp:
864         (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
865
866 2008-02-03  Kevin Ollivier  <kevino@theolliviers.com>
867
868         Build fix for last wx commit (a couple things were not committed). 
869         Also fix some style issues.
870
871         * WebView.cpp:
872         (wxWebView::wxWebView):
873         (wxWebView::OnPaint):
874         (wxWebView::OnSize):
875         (wxWebView::CanCopy):
876         (wxWebView::Copy):
877         (wxWebView::CanCut):
878         (wxWebView::Cut):
879         (wxWebView::CanPaste):
880         (wxWebView::Paste):
881         (wxWebView::OnKeyEvents):
882         (wxWebView::OnSetFocus):
883         (wxWebView::OnKillFocus):
884         (wxWebView::OnActivate):
885         * WebView.h:
886
887 2008-01-31  Kevin Ollivier  <kevino@theolliviers.com>
888
889         Reviewed by Adam Roben.
890
891         On MSW, the wx port internally uses callbacks for wxTimer, so the
892         wx port suffers from the same crash problem that was fixed
893         in r28500 for the Windows port. For now, use the SharedTimerWin.cpp
894         impl. for wx too on MSW, until a version of wx is released that
895         fixes the issue by reworking wxTimer.
896
897         * WebView.cpp:
898         (wxWebView::wxWebView):
899
900 2008-01-21  Darin Adler  <darin@apple.com>
901
902         Reviewed by John Sullivan.
903
904         - updated for changes to ChromeClient database functions
905
906         * WebKitSupport/ChromeClientWx.cpp:
907         (WebCore::ChromeClientWx::exceededDatabaseQuota):
908         * WebKitSupport/ChromeClientWx.h:
909
910 2008-01-16  Adam Roben  <aroben@apple.com>
911
912         Updated for WebCore method renames.
913
914         Reviewed by Darin Adler.
915
916         * WebView.cpp:
917         (wxWebView::OnSetFocus):
918         (wxWebView::OnKillFocus):
919         (wxWebView::OnActivate):
920
921 2008-01-12  Kevin Ollivier  <kevino@theolliviers.com>
922
923         Reviewed by Darin Adler.
924
925         wxWebKit API changes in preparation for DRT implementation. 
926         Specifically:
927
928         - Add CONSOLE_MESSAGE callback so clients can choose how to handle
929         console messages.
930         - Add more load events, and rename wxWebViewStateChangedEvent to 
931         wxWebViewLoadEvent to reflect that all 'states' are load states.
932         - Add wxWebView impls. for GetInnerText(), GetAsMarkup() and 
933         GetExternalRepresentation()
934
935         * WebFrame.cpp:
936         (wxWebFrame::OnLoadEvent):
937         * WebFrame.h:
938         * WebKitSupport/ChromeClientWx.cpp:
939         (WebCore::ChromeClientWx::ChromeClientWx):
940         (WebCore::ChromeClientWx::addMessageToConsole):
941         * WebKitSupport/ChromeClientWx.h:
942         * WebKitSupport/FrameLoaderClientWx.cpp:
943         (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
944         (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
945         (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
946         (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
947         (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
948         * WebView.cpp:
949         (wxWebViewLoadEvent::wxWebViewLoadEvent):
950         (wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
951         (wxWebView::wxWebView):
952         (wxWebView::GetPageSource):
953         (wxWebView::GetInnerText):
954         (wxWebView::GetAsMarkup):
955         (wxWebView::GetExternalRepresentation):
956         * WebView.h:
957
958 2008-01-12  Kevin Ollivier  <kevino@theolliviers.com>
959
960         wx build fix. Add WebCore/icu/include dir for OS X boxes with
961         only stock ICU installed.
962
963         * dependencies.bkl:
964
965 2008-01-10  Maciej Stachowiak  <mjs@apple.com>
966
967         Reviewed by Sam.
968
969         - remove SecurityOriginData and fold its functionality into SecurityOrigin
970
971         * WebKitSupport/ChromeClientWx.cpp:
972         (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
973         (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
974         * WebKitSupport/ChromeClientWx.h:
975
976 2007-12-16  Darin Adler  <darin@apple.com>
977
978         - try to fix the build
979
980         * WebView.cpp:
981         (wxWebView::OnKeyEvents): Add a WebCore prefix.
982
983 2007-12-16  Alexey Proskuryakov  <ap@webkit.org>
984
985         Reviewed by Darin Adler.
986
987         http://bugs.webkit.org/show_bug.cgi?id=16462
988         REGRESSION: access keys broken on Windows
989
990         * WebView.cpp: (wxWebView::OnKeyEvents): Call handleAccessKey() as appropriate.
991
992 2007-12-14  Darin Adler  <darin@apple.com>
993
994         Reviewed by Alexey.
995
996         * WebKitSupport/EditorClientWx.cpp:
997         (WebCore::EditorClientWx::handleKeyboardEvent): Switched from Editor::execCommand
998         to Editor::command.
999
1000 2007-12-12  Brady Eidson  <beidson@apple.com>
1001
1002         Reviewed by Sam Weinig
1003
1004         As part of doing some CachedPage and client cleanup, keep Wx building
1005
1006         * WebKitSupport/FrameLoaderClientWx.cpp:
1007         (WebCore::FrameLoaderClientWx::savePlatformDataToCachedPage):
1008         (WebCore::FrameLoaderClientWx::transitionToCommittedFromCachedPage):
1009         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
1010         * WebKitSupport/FrameLoaderClientWx.h:
1011
1012 2007-12-12  Sam Weinig  <sam@webkit.org>
1013
1014         Build fix.
1015
1016         * WebKitSupport/ChromeClientWx.cpp:
1017         (WebCore::ChromeClientWx::createWindow):
1018         * WebKitSupport/FrameLoaderClientWx.cpp:
1019         (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
1020         (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
1021         (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
1022         (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
1023         (WebCore::FrameLoaderClientWx::didChangeTitle):
1024         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
1025
1026 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
1027
1028         Reviewed by Darin Adler.
1029
1030         <rdar://problem/5535636>
1031         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1032
1033         http://bugs.webkit.org/show_bug.cgi?id=13916
1034         JavaScript detects Tab as a character input on a textfield validation
1035
1036         * WebKitSupport/EditorClientWx.cpp:
1037         (WebCore::EditorClientWx::handleInputMethodKeydown):
1038         (WebCore::EditorClientWx::handleKeyboardEvent):
1039         * WebKitSupport/EditorClientWx.h:
1040         Updated for cross-platform changes as much as it was possible without a wx build environment.
1041         The keyboard event model of wx is similar to Windows one, so further fixes can be modeled
1042         after the Windows port.
1043
1044 2007-12-06  Kevin Ollivier  <kevino@theolliviers.com>
1045
1046         Fix page leak caused because the Frame's page pointer is 0 by the 
1047         time we call delete on it. Store a reference to the page instead
1048         and delete it that way.
1049
1050         Also, small fix to call PrepareDC(gcdc) when using wxGCDC because
1051         on Linux the wxGCDC gcdc(dc) constructor will not retain the
1052         changes made to dc by PrepareDC(dc).
1053
1054         Reviewed by Darin Adler.
1055
1056         * WebView.cpp:
1057         (wxWebView::wxWebView):
1058         (wxWebView::~wxWebView):
1059         (wxWebView::OnPaint):
1060         * WebViewPrivate.h:
1061         (WebViewPrivate::WebViewPrivate):
1062
1063 2007-12-06  Kevin Ollivier  <kevino@theolliviers.com>
1064
1065         Linux build fix - ensure that webcore is linked before jscore
1066         so that the linker will know which symbols it needs to link in.
1067         Also fix MSVC project file name typo for sample app.
1068
1069         * Bakefiles.bkgen:
1070         * wxwebkit.bkl:
1071
1072 2007-12-04  Darin Adler  <darin@apple.com>
1073
1074         Reviewed by Kevin Decker.
1075
1076         * WebKitSupport/FrameLoaderClientWx.cpp: Removed obsolete privateBrowsingEnabled.
1077         * WebKitSupport/FrameLoaderClientWx.h: Ditto.
1078
1079 2007-12-03  Mark Rowe  <mrowe@apple.com>
1080
1081         wx build fix.
1082
1083         * WebView.cpp:
1084         (wxWebView::RunScript):
1085
1086 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
1087
1088         wx build fix. Add WebCore/platform/graphics/wx to includes.
1089
1090         * wxwebkit.bkl:
1091
1092 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
1093
1094         Fix method signatures to be members of ClientChromeWx class.
1095
1096         * WebKitSupport/ChromeClientWx.cpp:
1097         (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
1098         (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
1099
1100 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
1101
1102         Build fix. Add platform/text to includes for targets that
1103         need WebCore headers.
1104
1105         * presets/wxwebkit.bkl:
1106
1107 2007-11-29  Brady Eidson  <beidson@apple.com>
1108
1109         Keep it building with new client method
1110
1111         * WebKitSupport/ChromeClientWx.cpp:
1112         (WebCore::ChromeClient::requestQuotaIncreaseForNewDatabase):
1113         (WebCore::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
1114         * WebKitSupport/ChromeClientWx.h:
1115
1116 2007-11-25  Kevin Ollivier  <kevino@theolliviers.com>
1117
1118         wx build fix. Don't get xslt-config options at bake time, do it
1119         at make time.
1120
1121         * dependencies.bkl:
1122
1123 2007-11-23  Kevin Ollivier  <kevino@theolliviers.com>
1124
1125         wx build fix. Include config.h in WebFrame/WebView to ensure
1126         WebCore headers are properly configured, fix unicode/utf8.h and
1127         config.h include ordering issues, centralize wx project options to 
1128         ensure proper configuration, and fix wxwebkit-python target so that
1129         it links against wx libs.
1130
1131         * WebFrame.cpp:
1132         * WebView.cpp:
1133         * bindings/python/wxwebkit-py.bkl:
1134         * dependencies.bkl:
1135         * presets/wxwebkit.bkl:
1136         * wxwebkit.bkl:
1137         * wxwk-settings.bkl:
1138
1139 2007-11-20  Kevin Ollivier  <kevino@theolliviers.com>
1140
1141         wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
1142         it indiscriminately copies any headers inside JavaScriptCore,
1143         which includes Tiger ICU headers. 
1144
1145         * presets/wxwebkit.bkl:
1146         Remove WebCore/include reference and add JSCore header dirs needed
1147         instead.
1148
1149 2007-11-19  Kevin Ollivier  <kevino@theolliviers.com>
1150
1151         Add pcre directory to JSCore includes, and update the wx port
1152         to reflect the Shared -> RefCounted name change. Also, fix
1153         WebFrame.cpp to re-enable code that should never have been 
1154         committed disabled. 
1155
1156         Reviewed by Adam.
1157
1158         * WebFrame.cpp:
1159         (wxWebFrame::wxWebFrame):
1160         * WebKitSupport/FrameLoaderClientWx.cpp:
1161         (WebCore::FrameLoaderClientWx::ref):
1162         (WebCore::FrameLoaderClientWx::deref):
1163         * WebKitSupport/FrameLoaderClientWx.h:
1164         * presets/wxwebkit.bkl:
1165
1166 2007-11-17  Timothy Hatcher  <timothy@apple.com>
1167
1168         Reviewed by Mark Rowe.
1169
1170         Bug 13470: i18n: The Web Inspector is not localizable
1171         http://bugs.webkit.org/show_bug.cgi?id=13470
1172
1173         * WebKitSupport/InspectorClientWx.cpp:
1174         (WebCore::InspectorClientWx::localizedStringsURL): Empty stub.
1175         * WebKitSupport/InspectorClientWx.h: Added localizedStringsURL.
1176
1177 2007-11-08  Kevin Ollivier  <kevino@theolliviers.com>
1178
1179         Initial commit of wx implementation of WebKit. This includes
1180         the wxWebFrame and wxWebView wx front end classes, the 
1181         WebKitSupport directory containing implementations of interfaces
1182         used by WebCore to talk with the wxWebKit front end, and the 
1183         language bindings for wxWebKit (bindings dir), currently
1184         only containing bindings and a sample app for wxPython.
1185
1186         Reviewed by Mark Rowe.
1187
1188         * Bakefiles.bkgen: Added.
1189         * WebFrame.cpp: Added.
1190         * WebFrame.h: Added.
1191         * WebKitSupport: Added.
1192         * WebKitSupport/ChromeClientWx.cpp: Added.
1193         * WebKitSupport/ChromeClientWx.h: Added.
1194         * WebKitSupport/ContextMenuClientWx.cpp: Added.
1195         * WebKitSupport/ContextMenuClientWx.h: Added.
1196         * WebKitSupport/DragClientWx.cpp: Added.
1197         * WebKitSupport/DragClientWx.h: Added.
1198         * WebKitSupport/EditorClientWx.cpp: Added.
1199         * WebKitSupport/EditorClientWx.h: Added.
1200         * WebKitSupport/FrameLoaderClientWx.cpp: Added.
1201         * WebKitSupport/FrameLoaderClientWx.h: Added.
1202         * WebKitSupport/InspectorClientWx.cpp: Added.
1203         * WebKitSupport/InspectorClientWx.h: Added.
1204         * WebView.cpp: Added.
1205         * WebView.h: Added.
1206         * WebViewPrivate.h: Added.
1207         * bindings: Added.
1208         * bindings/python: Added.
1209         * bindings/python/samples: Added.
1210         * bindings/python/samples/simple.py: Added.
1211         * bindings/python/webview.i: Added.
1212         * bindings/python/wxwebkit-py.bkl: Added.
1213         * dependencies.bkl: Added.
1214         * presets: Added.
1215         * presets/wxwebkit.bkl: Added.
1216         * wxwebkit.bkl: Added.
1217         * wxwk-settings.bkl: Added.
1218