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