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