[wx] Build fixes for wxWebKit.
[WebKit.git] / Source / WebKit / wx / ChangeLog
1 2011-02-02  Kevin Ollivier  <kevino@theolliviers.com>
2
3         [wx] Build fixes for wxWebKit.
4
5         * bindings/python/wscript:
6
7 2011-01-28  Dan Bernstein  <mitz@apple.com>
8
9         Reviewed by Sam Weinig.
10
11         <select> can't display right-to-left (rtl) languages
12         https://bugs.webkit.org/show_bug.cgi?id=19785
13
14         * WebKitSupport/ChromeClientWx.cpp:
15         (WebCore::ChromeClientWx::selectItemAlignmentFollowsMenuWritingDirection): Added.
16         * WebKitSupport/ChromeClientWx.h:
17
18 2011-01-27  Nate Chapin  <japhet@chromium.org>
19
20         Reviewed by Adam Barth.
21
22         Use Document::url() instead of FrameLoader::url().
23         https://bugs.webkit.org/show_bug.cgi?id=41165
24
25         * WebKitSupport/FrameLoaderClientWx.cpp:
26         (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
27
28 2011-01-14  Yuzo Fujishima  <yuzo@google.com>
29
30         Reviewed by Antti Koivisto.
31
32         Rename cache() to memoryCache()
33         https://bugs.webkit.org/show_bug.cgi?id=52433
34
35         * WebView.cpp:
36         (wxWebView::SetCachePolicy):
37
38 2011-01-09  Xianzhu Wang <phnixwxz@gmail.com>
39
40         Reviewed by Darin Fisher.
41
42         https://bugs.webkit.org/show_bug.cgi?id=41441
43         createWindow method should only do window-creating without URL navigation
44
45         * WebKitSupport/ChromeClientWx.cpp:
46         (WebCore::ChromeClientWx::createWindow):
47
48 2011-01-07  Adam Barth  <abarth@webkit.org>
49
50         Rubber-stamped by Eric Seidel.
51
52         Move WebCore to Source
53         https://bugs.webkit.org/show_bug.cgi?id=52050
54
55         * bindings/python/wscript:
56         * wscript:
57
58 2011-01-01  Adam Barth  <abarth@webkit.org>
59
60         Reviewed by Eric Seidel.
61
62         Move JavaScriptCore to Source
63         https://bugs.webkit.org/show_bug.cgi?id=51604
64
65         * bindings/python/wscript:
66         * wscript:
67           - Point to JavaScriptCore in its new location.
68
69 2010-12-22  Sam Weinig  <sam@webkit.org>
70
71         Reviewed by Darin Adler.
72
73         WebKit2 needs to mirror the frame tree in the UIProcess
74         https://bugs.webkit.org/show_bug.cgi?id=51546
75
76         - Add client functions to notify that a frame has been added or
77           removed from the page cache.
78
79         * WebKitSupport/FrameLoaderClientWx.cpp:
80         (WebCore::FrameLoaderClientWx::didSaveToPageCache):
81         (WebCore::FrameLoaderClientWx::didRestoreFromPageCache):
82         * WebKitSupport/FrameLoaderClientWx.h:
83
84 2010-12-20  Eric Seidel  <eric@webkit.org>
85
86         Unreviewed.
87
88         Removed a non-utf8 character from this file.
89         Looks like it was accidentally added in:
90         http://trac.webkit.org/changeset/72669
91         Which caused troubles for the contributor working on bug 51382.
92
93 2010-10-28  MORITA Hajime  <morrita@google.com>
94
95         Reviewed by Ojan Vafai.
96
97         spellcheck does not check pasted text
98         https://bugs.webkit.org/show_bug.cgi?id=40092
99
100         Added a stub implememntation.
101
102         * WebKitSupport/EditorClientWx.h:
103         (WebCore::EditorClientWx::requestCheckingOfString):
104
105 2010-12-07  Martin Robinson  <mrobinson@igalia.com>
106
107         Unreviewed, rolling out r73392.
108         http://trac.webkit.org/changeset/73392
109         https://bugs.webkit.org/show_bug.cgi?id=50489
110
111         This commit caused crashes on the GTK+ bots
112
113         * WebKitSupport/FrameLoaderClientWx.cpp:
114         (WebCore::FrameLoaderClientWx::finishedLoading):
115
116 2010-12-06  Nate Chapin  <japhet@chromium.org>
117
118         Reviewed by Adam Barth.
119
120         Update calls to DocumentWriter.
121         https://bugs.webkit.org/show_bug.cgi?id=50489
122
123         * WebKitSupport/FrameLoaderClientWx.cpp:
124         (WebCore::FrameLoaderClientWx::finishedLoading):
125
126 2010-12-01  Jia Pu  <jpu@apple.com>
127
128         Reviewed by Darin Adler.
129
130         Support multiple correction candidates panel for misspelled word on Mac OS X.
131         https://bugs.webkit.org/show_bug.cgi?id=50137
132         <rdar://problem/8568059>
133
134         Adopted new function signature defined in base class.
135
136         * WebKitSupport/EditorClientWx.cpp:
137         (WebCore::EditorClientWx::getGuessesForWord):
138         * WebKitSupport/EditorClientWx.h:
139
140 2010-11-24  Patrick Gansterer  <paroga@webkit.org>
141
142         Reviewed by Csaba Osztrogon√°c.
143
144         Remove Bakefile build system files
145         https://bugs.webkit.org/show_bug.cgi?id=49983
146
147         r53757 only removed the content, but not the files.
148         This patch removes that empty files.
149
150         * Bakefiles.bkgen: Removed.
151         * bindings/python/wxwebkit-py.bkl: Removed.
152         * dependencies.bkl: Removed.
153         * presets: Removed.
154         * presets/wxwebkit.bkl: Removed.
155         * wxwebkit.bkl: Removed.
156         * wxwk-settings.bkl: Removed.
157
158 2010-11-08  Alexey Proskuryakov  <ap@apple.com>
159
160         Reviewed by Darin Adler.
161
162         https://bugs.webkit.org/show_bug.cgi?id=48685
163         Notify UI process about focused frame
164
165         Added an empty implementation of the new ChromeClient method.
166
167         * WebKitSupport/ChromeClientWx.cpp:
168         (WebCore::ChromeClientWx::focusedFrameChanged):
169         * WebKitSupport/ChromeClientWx.h:
170
171 2010-11-07  Adam Barth  <abarth@webkit.org>
172
173         Reviewed by Eric Seidel.
174
175         Rename Cache to MemoryCache
176         https://bugs.webkit.org/show_bug.cgi?id=49159
177
178         * WebView.cpp:
179         (wxWebView::SetCachePolicy):
180         * WebView.h:
181
182 2010-11-01  Brady Eidson  <beidson@apple.com>
183
184         Reviewed by Anders Carlsson.
185
186         <rdar://problem/7660547> and https://bugs.webkit.org/show_bug.cgi?id=48699
187         Context menu support for WebKit 2.
188
189         * WebKitSupport/ChromeClientWx.h:
190         (WebCore::ChromeClientWx::showContextMenu):
191
192 2010-10-29  Darin Adler  <darin@apple.com>
193
194         Reviewed by Sam Weinig.
195
196         Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring
197         https://bugs.webkit.org/show_bug.cgi?id=48574
198
199         * WebFrame.cpp:
200         (wxWebFrame::CanGoBack): Use canGoBackOrForward.
201         (wxWebFrame::CanGoForward): Ditto.
202
203 2010-10-29  Alexey Proskuryakov  <ap@apple.com>
204
205         Reviewed by Darin Adler.
206
207         https://bugs.webkit.org/show_bug.cgi?id=48576
208         Let WebKit2 client know when a frame is a frameset
209
210         Added a blank implementation of the new FrameLoaderClient method.
211
212         * WebKitSupport/FrameLoaderClientWx.h:
213         * WebKitSupport/FrameLoaderClientWx.cpp:
214         (WebCore::FrameLoaderClientWx::dispatchDidBecomeFrameset):
215
216 2010-10-26  Jenn Braithwaite  <jennb@chromium.org>
217
218         Reviewed by Dmitry Titov.
219
220         Resource tracking failure when trying to move a frame between documents
221         https://bugs.webkit.org/show_bug.cgi?id=44713
222
223         * WebKitSupport/FrameLoaderClientWx.cpp:
224         (WebCore::FrameLoaderClientWx::transferLoadingResourceFromPage):
225         Empty method.
226         * WebKitSupport/FrameLoaderClientWx.h:
227
228 2010-10-22  Sam Weinig  <sam@webkit.org>
229
230         Reviewed by Anders Carlsson.
231
232         WebKit2 needs to pass the current event modifier flags when requesting a new window
233         https://bugs.webkit.org/show_bug.cgi?id=48140
234
235         * WebKitSupport/ChromeClientWx.cpp:
236         (WebCore::ChromeClientWx::createWindow):
237         * WebKitSupport/ChromeClientWx.h:
238         * WebKitSupport/FrameLoaderClientWx.cpp:
239         (WebCore::FrameLoaderClientWx::dispatchCreatePage):
240         * WebKitSupport/FrameLoaderClientWx.h:
241         Add NavigationAction parameter.
242
243 2010-10-13  Gavin Barraclough  <barraclough@apple.com>
244
245         Reviewed by Oliver Hunt.
246
247         https://bugs.webkit.org/show_bug.cgi?id=43987
248         Switch XMLHttpRequest, FileReader, and FileReaderSync to use a Stringbuilder
249         to construct their internal result string.  Remove ScriptString (this is now
250         redundant).
251
252         * WebKitSupport/FrameLoaderClientWx.cpp:
253
254 2010-09-28  Jenn Braithwaite  <jennb@chromium.org>
255
256         Reviewed by Dmitry Titov.
257
258         Added oldPage param to FrameLoaderClient::didTransferChildFrameToNewDocument.
259         https://bugs.webkit.org/show_bug.cgi?id=46663
260
261         * WebKitSupport/FrameLoaderClientWx.cpp:
262         (WebCore::FrameLoaderClientWx::didTransferChildFrameToNewDocument):
263         * WebKitSupport/FrameLoaderClientWx.h:
264
265 2010-09-24  Kwang Yul Seo  <skyul@company100.net>
266
267         Reviewed by Andreas Kling.
268
269         [wx] ChromeClientWx::scaleFactor must return 1.0
270         https://bugs.webkit.org/show_bug.cgi?id=46542
271
272         The default value of ChromeClientWx::scaleFactor must be 1.0.
273         Otherwise, canvas element won't be painted.
274
275         * WebKitSupport/ChromeClientWx.cpp:
276         (WebCore::ChromeClientWx::scaleFactor):
277
278 2010-09-17  Darin Adler  <darin@apple.com>
279
280         Reviewed by Sam Weinig.
281
282         REGRESSION (r60104): Zoom level is unexpectedly reset on page reload
283         https://bugs.webkit.org/show_bug.cgi?id=42863
284
285         * WebFrame.cpp:
286         (wxWebFrame::IncreaseTextSize):
287         (wxWebFrame::DecreaseTextSize):
288         (wxWebFrame::ResetTextSize):
289         Call functions on Frame instead of FrameView.
290
291 2010-09-14  Kevin Ollivier  <kevino@theolliviers.com>
292
293         [wx] Build fix after FrameNetworkingContext changes and setZoomLevel changes.
294
295         * WebFrame.cpp:
296         (wxWebFrame::IncreaseTextSize):
297         (wxWebFrame::DecreaseTextSize):
298         (wxWebFrame::ResetTextSize):
299         * WebKitSupport/FrameLoaderClientWx.cpp:
300         (WebCore::FrameLoaderClientWx::createNetworkingContext):
301         * WebKitSupport/FrameLoaderClientWx.h:
302         * WebKitSupport/FrameNetworkingContextWx.h: Added.
303         (WebCore::FrameNetworkingContextWx::create):
304         (WebCore::FrameNetworkingContextWx::coreFrame):
305         (WebCore::FrameNetworkingContextWx::FrameNetworkingContextWx):
306
307 2010-09-13  Enrica Casucci  <enrica@apple.com>
308
309         Reviewed by Sam Weinig.
310
311         Paste should be implemented in WebCore like Copy and Cut for Mac also.
312         https://bugs.webkit.org/show_bug.cgi?id=45494
313         <rdar://problem/7660537>
314
315         On the Mac platform, the implementation of the paste operation is all done
316         at the WebKit level. In order to support it on WebKit2 it is necessary to
317         refactor the code and move this functionality at the level of WebCore like
318         we already have on Windows.
319         The original code relies on some in AppKit functions that call back into
320         WebKit causing problems in WebKit2. All this functionality has been moved
321         at the level of the editor client where it can be dealt with appropriately.
322
323         * WebKitSupport/FrameLoaderClientWx.cpp:
324         (WebCore::FrameLoaderClientWx::canShowMIMETypeAsHTML): Added stub.
325         * WebKitSupport/FrameLoaderClientWx.h:
326
327 2010-09-10  Adam Barth  <abarth@webkit.org>
328
329         Reviewed by Darin Fisher.
330
331         Move code from WebKit-layer to DocumentLoader
332         https://bugs.webkit.org/show_bug.cgi?id=45569
333
334         * WebKitSupport/FrameLoaderClientWx.cpp:
335         (WebCore::FrameLoaderClientWx::committedLoad):
336
337 2010-09-10  Adam Barth  <abarth@webkit.org>
338
339         Reviewed by Eric Seidel.
340
341         Main resource bytes shouldn't bounce through FrameLoader
342         https://bugs.webkit.org/show_bug.cgi?id=45496
343
344         Now return the bytes to the DocumentLoader.
345
346         * WebKitSupport/FrameLoaderClientWx.cpp:
347         (WebCore::FrameLoaderClientWx::committedLoad):
348
349 2010-09-08  Darin Adler  <darin@apple.com>
350
351         Reviewed by Adam Barth.
352
353         Move functions from Frame to Editor as planned
354         https://bugs.webkit.org/show_bug.cgi?id=45218
355
356         * WebFrame.cpp:
357         (wxWebFrame::FindString):
358         Changed call sites to use editor().
359
360 2010-08-31  Dave Hyatt  <hyatt@apple.com>
361
362         Reviewed by Sam Weinig.
363
364         https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
365         the former can occur in more places without having to do the latter.
366
367         * WebView.cpp:
368         (wxWebView::OnPaint):
369
370 2010-08-28  Kevin Ollivier  <kevino@theolliviers.com>
371
372         [wx] Build fix after parseMode -> compatibilityMode rename.
373         
374         * WebFrame.cpp:
375         (wxWebFrame::GetCompatibilityMode):
376         * WebFrame.h:
377         * WebView.cpp:
378         (wxWebView::GetCompatibilityMode):
379         * WebView.h:
380
381 2010-08-26  Robin Dunn  <robin@alldunn.com>
382
383         Reviewed by Kevin Ollivier.
384
385         A few tweaks to the wxWebView editing APIs after addition of DOM bindings.
386         https://bugs.webkit.org/show_bug.cgi?id=44656
387         
388         1. adoptRef fix for WebCore::EditCommand wrapper API.
389         2. Add the mimetype as an argument to SetPageSource to allow XHTML documents to be loaded.
390         3. Add notification events for contents / selection changed editing events.
391         4. Improved wxPython binding typemaps support for DOM APIs.
392         
393         * WebEdit.cpp:
394         (WebCoreEditCommandPrivate::WebCoreEditCommandPrivate):
395         (WebCoreEditCommandPrivate::~WebCoreEditCommandPrivate):
396         (WebCoreEditCommandPrivate::command):
397         (wxWebEditCommand::wxWebEditCommand):
398         (wxWebEditCommand::~wxWebEditCommand):
399         (wxWebEditCommand::SetNodeAttribute):
400         (wxWebEditCommand::Apply):
401         * WebEdit.h:
402         * WebFrame.cpp:
403         (wxWebFrame::SetPageSource):
404         * WebFrame.h:
405         * WebKitSupport/EditorClientWx.cpp:
406         (WebCore::EditorClientWx::respondToChangedContents):
407         (WebCore::EditorClientWx::respondToChangedSelection):
408         * WebSettings.h:
409         * WebView.cpp:
410         (wxWebViewContentsChangedEvent::wxWebViewContentsChangedEvent):
411         (wxWebViewSelectionChangedEvent::wxWebViewSelectionChangedEvent):
412         (wxWebView::SetPageSource):
413         * WebView.h:
414         * bindings/python/webview.i:
415
416 2010-08-16  Kevin Ollivier  <kevino@theolliviers.com>
417
418         [wx] Build fix, do not build WebCore as a convenience library as this leads to
419         errors in the Win build w/export symbols and causes problems with DOM bindings
420         debugging in gdb.
421         
422         * WebKitDefines.h:
423         * bindings/python/wscript:
424
425 2010-08-16  Kevin Ollivier  <kevino@theolliviers.com>
426
427         wxMSW build fix. Don't build the Python DOM bindings until we get the export issues
428         sorted out.
429
430         * bindings/python/webview.i:
431
432 2010-08-13  Gavin Barraclough  <barraclough@apple.com>
433
434         Reviewed by Sam Weinig
435
436         Unify UString::UTF8String() & String::utf8() methods,
437         remove UString::cost() & make atArrayIndex a free function.
438
439         * WebFrame.cpp:
440         (wxWebFrame::RunScript):
441
442 2010-08-12  Sheriff Bot  <webkit.review.bot@gmail.com>
443
444         Unreviewed, rolling out r65295.
445         http://trac.webkit.org/changeset/65295
446         https://bugs.webkit.org/show_bug.cgi?id=43950
447
448         It broke 4 sputnik tests (Requested by Ossy on #webkit).
449
450         * WebFrame.cpp:
451         (wxWebFrame::RunScript):
452
453 2010-08-12  Gavin Barraclough  <barraclough@apple.com>
454
455         Reviewed by Sam Weinig
456
457         Unify UString::UTF8String() & String::utf8() methods,
458         remove UString::cost() & make atArrayIndex a free function.
459
460         * WebFrame.cpp:
461         (wxWebFrame::RunScript):
462
463 2010-08-11  Kevin Ollivier  <kevino@theolliviers.com>
464
465         [wx] Build fix. WebCore::String -> WTF::String fixes.
466
467         * WebEdit.cpp:
468         (wxWebEditCommand::SetNodeAttribute):
469
470 2010-08-10  Gavin Barraclough  <barraclough@apple.com>
471
472         Rubber stamped by Sam Weinig.
473
474         Bug 43786 - Move AtomicStringHash from WebCore to WTF
475         Also remove deprecated string headers from WebCore/platform/text.
476
477         * WebEdit.cpp:
478
479 2010-08-06  Gavin Barraclough  <barraclough@apple.com>
480
481         Rubber stamped by Sam Weinig
482
483         Bug 43594 - Add string forwards to Forward.h
484         This allows us to remove forward declarations for these classes from
485         WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
486
487         * WebKitSupport/FrameLoaderClientWx.h:
488         * WebKitSupport/InspectorClientWx.h:
489
490 2010-08-06  Jessie Berlin  <jberlin@apple.com>
491
492         Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build.
493         Unreviewed.
494
495         * WebKitSupport/FrameLoaderClientWx.h:
496         * WebKitSupport/InspectorClientWx.h:
497
498 2010-08-04  Kevin Ollivier  <kevino@theolliviers.com>
499
500         [wx] Build fix for gcc not importing all symbols from convenience libraries.
501         Works on 10.6 only for Mac until the build system is reworked.
502         
503         * bindings/python/webview.i:
504
505 2010-08-03  Malcolm MacLeod  <mmacleod@webmail.co.za>
506
507         Reviewed by Kevin Ollivier.
508
509         Fix crash during HitTest call.
510         https://bugs.webkit.org/show_bug.cgi?id=43372
511
512         * WebFrame.cpp:
513         (wxWebFrame::HitTest):
514         * WebView.cpp:
515         (wxWebViewDOMElementInfo::wxWebViewDOMElementInfo):
516
517 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
518
519         Reviewed by Darin Fisher.
520
521         PopupMenu refactoring in preparation to WebKit2
522         https://bugs.webkit.org/show_bug.cgi?id=42592
523
524         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
525         instances, concrete classes that inherit from ChromeClient needed to be changed to
526         implement the new methods.
527
528         * WebKitSupport/ChromeClientWx.cpp:
529         (WebCore::ChromeClientWx::selectItemWritingDirectionIsNatural):
530         (WebCore::ChromeClientWx::createPopupMenu):
531         (WebCore::ChromeClientWx::createSearchPopupMenu):
532         * WebKitSupport/ChromeClientWx.h:
533
534 2010-08-02  Jeremy Orlow  <jorlow@chromium.org>
535
536         Speculative revert of 64425 due to Chromium instability
537         https://bugs.webkit.org/show_bug.cgi?id=43347
538
539         * WebKitSupport/ChromeClientWx.cpp:
540         * WebKitSupport/ChromeClientWx.h:
541
542 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
543
544         Reviewed by Darin Fisher.
545
546         PopupMenu refactoring in preparation to WebKit2
547         https://bugs.webkit.org/show_bug.cgi?id=42592
548
549         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
550         instances, concrete classes that inherit from ChromeClient needed to be changed to
551         implement the new methods.
552
553         * WebKitSupport/ChromeClientWx.cpp:
554         (WebCore::ChromeClientWx::selectItemWritingDirectionIsNatural):
555         (WebCore::ChromeClientWx::createPopupMenu):
556         (WebCore::ChromeClientWx::createSearchPopupMenu):
557         * WebKitSupport/ChromeClientWx.h:
558
559 2010-07-31  Sheriff Bot  <webkit.review.bot@gmail.com>
560
561         Unreviewed, rolling out r64422.
562         http://trac.webkit.org/changeset/64422
563         https://bugs.webkit.org/show_bug.cgi?id=43304
564
565         Build fixes are needed for Snow Leopard and Windows.
566         (Requested by lca on #webkit).
567
568         * WebKitSupport/ChromeClientWx.cpp:
569         * WebKitSupport/ChromeClientWx.h:
570
571 2010-07-27  Luiz Agostini  <luiz.agostini@openbossa.org>
572
573         Reviewed by Darin Fisher.
574
575         PopupMenu refactoring in preparation to WebKit2
576         https://bugs.webkit.org/show_bug.cgi?id=42592
577
578         As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
579         instances, concrete classes that inherit from ChromeClient needed to be changed to
580         implement the new methods.
581
582         * WebKitSupport/ChromeClientWx.cpp:
583         (WebCore::ChromeClientWx::selectItemWritingDirectionIsNatural):
584         (WebCore::ChromeClientWx::createPopupMenu):
585         (WebCore::ChromeClientWx::createSearchPopupMenu):
586         * WebKitSupport/ChromeClientWx.h:
587
588 2010-07-30  Joseph Pecoraro  <joepeck@webkit.org>
589
590         Reviewed by David Kilzer.
591
592         Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
593         https://bugs.webkit.org/show_bug.cgi?id=40627
594
595         * WebKitSupport/ChromeClientWx.cpp:
596         (WebCore::ChromeClientWx::reachedApplicationCacheOriginQuota):
597         * WebKitSupport/ChromeClientWx.h:
598
599 2010-07-29  Kevin Ollivier  <kevino@theolliviers.com>
600
601         [wx] Build fix, add file missing from DOM bindings commit.
602         
603         * WebEdit.cpp: Added.
604         (WebCore::):
605         (wxWebEditCommand::wxWebEditCommand):
606         (wxWebEditCommand::~wxWebEditCommand):
607         (wxWebEditCommand::SetNodeAttribute):
608         (wxWebEditCommand::Apply):
609
610 2010-07-28  Kevin Ollivier  <kevino@theolliviers.com>
611
612         [wx] wxPython build fix that was missed in last commit.
613
614         * bindings/python/webview.i:
615
616 2010-07-28  Kevin Ollivier  <kevino@theolliviers.com>
617
618         [wx] Build fix after recent changes.
619
620         * WebEdit.h: Added.
621         * bindings/python/webview.i:
622
623 2010-07-28  Robin Dunn  <robin@alldunn.com>
624
625         Reviewed by Kevin Ollivier.
626
627         Add DOM bindings support for wx port.
628
629         * WebBrowserShell.cpp:
630         (wxWebBrowserShell::wxWebBrowserShell):
631         (wxWebBrowserShell::OnEditCommand):
632         (wxWebBrowserShell::OnGetEditCommandState):
633         * WebBrowserShell.h:
634         * WebDOMSelection.cpp: Added.
635         (wxWebKitSelection::wxWebKitSelection):
636         (wxWebKitSelection::GetRootEditableElement):
637         (wxWebKitSelection::GetAsRange):
638         * WebDOMSelection.h: Added.
639         * WebFrame.cpp:
640         (wxWebFrame::GetSelectionAsHTML):
641         (wxWebFrame::GetSelectionAsText):
642         (wxWebFrame::GetSelection):
643         (wxWebFrame::ExecuteEditCommand):
644         (wxWebFrame::GetEditCommandState):
645         (wxWebFrame::GetEditCommandValue):
646         (wxWebFrame::HitTest):
647         * WebFrame.h:
648         * WebKitDefines.h:
649         * WebKitSupport/EditorClientWx.cpp:
650         (WebCore::):
651         (WebCore::EditorClientWx::redo):
652         * WebKitSupport/FrameLoaderClientWx.cpp:
653         (WebCore::FrameLoaderClientWx::finishedLoading):
654         (WebCore::FrameLoaderClientWx::setMainDocumentError):
655         (WebCore::FrameLoaderClientWx::dispatchDidFailLoading):
656         * WebView.cpp:
657         (wxWebViewDOMElementInfo::wxWebViewDOMElementInfo):
658         (wxWebViewDOMElementInfo::~wxWebViewDOMElementInfo):
659         (wxWebView::Create):
660         (wxWebView::GetSelection):
661         (wxWebView::GetSelectionAsHTML):
662         (wxWebView::GetSelectionAsText):
663         (wxWebView::ExecuteEditCommand):
664         (wxWebView::GetEditCommandState):
665         (wxWebView::GetEditCommandValue):
666         (wxWebView::MakeEditable):
667         (wxWebView::IsEditable):
668         * WebView.h:
669         * bindings/python/webview.i:
670         * bindings/python/wscript:
671         * wscript:
672
673 2010-07-26  Steve Block  <steveblock@google.com>
674
675         Reviewed by Jeremy Orlow.
676
677         Page clients should be passed to Page constructor via structure of pointers
678         https://bugs.webkit.org/show_bug.cgi?id=42834
679
680         * WebView.cpp:
681         (wxWebView::Create):
682
683 2010-07-16  Zhe Su  <suzhe@chromium.org>
684
685         Reviewed by Darin Adler.
686
687         REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms
688         https://bugs.webkit.org/show_bug.cgi?id=42253
689
690         Dummy implementation of EditorClient::willSetInputMethodState.
691
692         * WebKitSupport/EditorClientWx.cpp:
693         (WebCore::EditorClientWx::willSetInputMethodState):
694         * WebKitSupport/EditorClientWx.h:
695
696 2010-07-14  Sam Weinig  <sam@webkit.org>
697
698         Reviewed by Darin Adler.
699
700         Patch for https://bugs.webkit.org/show_bug.cgi?id=42232
701         Make changing Cursors work in WebKit2.
702
703         * WebKitSupport/ChromeClientWx.cpp:
704         (WebCore::ChromeClientWx::setCursor):
705         * WebKitSupport/ChromeClientWx.h:
706         Change prototype to match new one.
707
708 2010-07-07  Kevin Ollivier  <kevino@theolliviers.com>
709
710         [wx] Build fix after change in Page constructor.
711
712         * WebView.cpp:
713         (wxWebView::Create):
714
715 2010-06-21  Kevin Ollivier  <kevino@theolliviers.com>
716
717         Build fix after conversion of WebInterfaceSystem to Obj-C++.
718
719         * WebView.cpp:
720         * wscript:
721
722 2010-06-15  Dumitru Daniliuc  <dumi@chromium.org>
723
724         Reviewed by Adam Barth.
725
726         Move isAvailable()/setIsAvailable() from Database/DatabaseSync to AbstractDatabase.
727         https://bugs.webkit.org/show_bug.cgi?id=39041
728
729         * WebView.cpp:
730         (wxWebView::SetDatabasesEnabled):
731         (wxWebView::AreDatabasesEnabled):
732
733 2010-06-15  Darin Adler  <darin@apple.com>
734
735         Reviewed by Adam Barth.
736
737         Move functions out of Frame class that were marked "move to Chrome"
738         https://bugs.webkit.org/show_bug.cgi?id=39636
739
740         * WebFrame.cpp:
741         (wxWebFrame::ShouldClose): Call shouldClose on FrameLoader instead
742         of going through Frame.
743
744 2010-06-14  Ilya Tikhonovsky  <loislo@chromium.org>
745
746         Reviewed by Pavel Feldman.
747
748         WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
749         data from inspected page to WebInspector as JSON string via http. The native
750         serialization to JSON string is supported by InspectorValue's classes. This patch
751         has the implementation of sendMessageToFrontend function. WebKit version of it still
752         uses ScriptFunctionCall and will be switched to another transport a little bit later.
753         https://bugs.webkit.org/show_bug.cgi?id=40134
754
755         * WebKitSupport/InspectorClientWx.cpp:
756         (WebCore::InspectorClientWx::sendMessageToFrontend):
757         * WebKitSupport/InspectorClientWx.h:
758
759 2010-06-09  Sheriff Bot  <webkit.review.bot@gmail.com>
760
761         Unreviewed, rolling out r60889.
762         http://trac.webkit.org/changeset/60889
763         https://bugs.webkit.org/show_bug.cgi?id=40365
764
765         gtk bot has some kind of memory corruption (Requested by
766         loislo on #webkit).
767
768         * WebKitSupport/InspectorClientWx.cpp:
769         * WebKitSupport/InspectorClientWx.h:
770
771 2010-06-07  Ilya Tikhonovsky  <loislo@chromium.org>
772
773         Reviewed by Pavel Feldman.
774
775         WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
776         data from inspected page to WebInspector as JSON string via http. The native
777         serialization to JSON string is supported by InspectorValue's classes. This patch
778         has the implementation of sendMessageToFrontend function. WebKit version of it still
779         uses ScriptFunctionCall and will be switched to another transport a little bit later.
780         https://bugs.webkit.org/show_bug.cgi?id=40134
781
782         * WebKitSupport/InspectorClientWx.cpp:
783         (WebCore::InspectorClientWx::sendMessageToFrontend):
784         * WebKitSupport/InspectorClientWx.h:
785
786 2010-05-27  Kevin Ollivier  <kevino@theolliviers.com>
787
788         [wx] Build fixes for Windows after recent changes.
789
790         * WebView.cpp:
791         (wxWebView::Create):
792         * wscript:
793
794 2010-05-26  Kevin Ollivier  <kevino@theolliviers.com>
795
796         Build fix after new client added to Page constructor.
797
798         * WebView.cpp:
799         (wxWebView::Create):
800
801 2010-05-24  Darin Adler  <darin@apple.com>
802
803         Reviewed by Eric Seidel.
804
805         Move view-related functions from Frame to FrameView
806         https://bugs.webkit.org/show_bug.cgi?id=39366
807
808         * WebFrame.cpp:
809         (wxWebFrame::CanIncreaseTextSize): Check FrameView is not null.
810         (wxWebFrame::IncreaseTextSize): Call function on FrameView.
811         (wxWebFrame::CanDecreaseTextSize): Ditto.
812         (wxWebFrame::DecreaseTextSize): Ditto.
813         (wxWebFrame::ResetTextSize): Ditto.
814
815 2010-05-11  Kevin Watters  <kevinwatters@gmail.com>
816
817         Reviewed by Kevin Ollivier.
818
819         Load a blank page on creation to initialize WebCore objects properly.
820         https://bugs.webkit.org/show_bug.cgi?id=38932
821
822         * WebView.cpp:
823         (wxWebView::Create):
824
825 2010-05-03  Kevin Watters  <kevinwatters@gmail.com>
826
827         Reviewed by Kevin Ollivier.
828
829         Build and use Mac's ComplexTextController to support complex text in wx.
830         https://bugs.webkit.org/show_bug.cgi?id=38482
831
832         * WebView.cpp:
833         (wxWebView::Create):
834         * wscript:
835
836 2010-05-03  Kevin Watters  <kevinwatters@gmail.com>
837
838         Reviewed by Kevin Ollivier.
839
840         Provide access to GrantUniversalAccess to allow enabling of XSS support.
841         https://bugs.webkit.org/show_bug.cgi?id=38481
842
843         * WebFrame.cpp:
844         (wxWebFrame::GrantUniversalAccess):
845         * WebFrame.h:
846         * WebView.cpp:
847         (wxWebView::GetParseMode):
848         (wxWebView::GrantUniversalAccess):
849         * WebView.h:
850
851 2010-05-03  Jens Alfke  <snej@chromium.org>
852
853         Reviewed by Darin Fisher.
854
855         [chromium] Add "willSendSubmitEvent" hook to WebFrameClient and FrameLoaderClient
856         https://bugs.webkit.org/show_bug.cgi?id=38397
857
858         No tests (functionality is exposed only through native WebKit API.)
859
860         * WebKitSupport/FrameLoaderClientWx.h:
861         (WebCore::FrameLoaderClientWx::dispatchWillSendSubmitEvent):
862
863 2010-04-25  Sam Weinig  <sam@webkit.org>
864
865         Reviewed by Maciej Stachowiak.
866
867         Fix for https://bugs.webkit.org/show_bug.cgi?id=38097
868         Disentangle initializing the main thread from initializing threading
869
870         * WebView.cpp:
871         (wxWebView::Create): Add call to initializeMainThread.
872
873 2010-04-25  Kevin Watters  <kevinwatters@gmail.com>
874
875         Reviewed by Kevin Ollivier.
876
877         Update focus handling code to match current approaches used by other platforms,
878         and fix focus handling for corner cases such as when a mouse down pops up a dialog.
879         
880         https://bugs.webkit.org/show_bug.cgi?id=38086
881
882         * WebView.cpp:
883         (wxWebView::Create):
884         (wxWebView::OnTLWActivated):
885         (wxWebView::OnPaint):
886         (wxWebView::OnMouseEvents):
887         (wxWebView::OnSetFocus):
888         (wxWebView::OnKillFocus):
889         * WebView.h:
890
891 2010-04-20  Adam Barth  <abarth@webkit.org>
892
893         Reviewed by Eric Seidel.
894
895         Factor DocumentWriter out of FrameLoader
896         https://bugs.webkit.org/show_bug.cgi?id=37175
897
898         Update these callsites because the method moved to DocumentWriter.
899
900         * WebKitSupport/FrameLoaderClientWx.cpp:
901         (WebCore::FrameLoaderClientWx::committedLoad):
902
903 2010-04-20  Kent Tamura  <tkent@chromium.org>
904
905         Reviewed by Darin Adler.
906
907         Change a parameter type of chooseIconForFiles()
908         https://bugs.webkit.org/show_bug.cgi?id=37504
909
910         * WebKitSupport/ChromeClientWx.cpp:
911         (WebCore::ChromeClientWx::chooseIconForFiles):
912         * WebKitSupport/ChromeClientWx.h:
913
914 2010-04-19  Kevin Ollivier  <kevino@theolliviers.com>
915
916         Build fix, add stub for new FrameLoaderClient method.
917
918         * WebKitSupport/FrameLoaderClientWx.cpp:
919         (WebCore::FrameLoaderClientWx::dispatchDidChangeIcons):
920         * WebKitSupport/FrameLoaderClientWx.h:
921
922 2010-04-11  Sheriff Bot  <webkit.review.bot@gmail.com>
923
924         Unreviewed, rolling out r57468.
925         http://trac.webkit.org/changeset/57468
926         https://bugs.webkit.org/show_bug.cgi?id=37433
927
928         Broke the world...  Must have applied the patch wrong
929         (Requested by abarth on #webkit).
930
931         * WebKitSupport/FrameLoaderClientWx.cpp:
932         (WebCore::FrameLoaderClientWx::committedLoad):
933
934 2010-04-11  Adam Barth  <abarth@webkit.org>
935
936         Reviewed by Eric Seidel.
937
938         Factor DocumentWriter out of FrameLoader
939         https://bugs.webkit.org/show_bug.cgi?id=37175
940
941         Update these callsites because the method moved to DocumentWriter.
942
943         * WebKitSupport/FrameLoaderClientWx.cpp:
944         (WebCore::FrameLoaderClientWx::committedLoad):
945
946 2010-04-07  Andrey Kosyakov  <caseq@chromium.org>
947
948         Reviewed by Yury Semikhatsky.
949
950         Removed redundant FrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest()
951         https://bugs.webkit.org/show_bug.cgi?id=36949
952
953         * WebKitSupport/FrameLoaderClientWx.cpp:
954         * WebKitSupport/FrameLoaderClientWx.h:
955
956 2010-03-31  Marcus Bulach  <bulach@chromium.org>
957
958         Reviewed by Jeremy Orlow.
959
960         Adds Geolocation param for cancelGeolocationPermissionRequestForFrame.
961         https://bugs.webkit.org/show_bug.cgi?id=35031
962
963         * WebKitSupport/ChromeClientWx.h:
964         (WebCore::ChromeClientWx::cancelGeolocationPermissionRequestForFrame):
965
966 2010-03-30  Gavin Barraclough  <barraclough@apple.com>
967
968         Rubber stamped by Sam Weinig.
969
970         https://bugs.webkit.org/show_bug.cgi?id=36866
971         Move CString to WTF
972
973         * WebFrame.cpp:
974         * WebView.cpp:
975
976 2010-03-30  Kevin Ollivier  <kevino@theolliviers.com>
977
978         [wx] Build fix after method name change.
979
980         * WebFrame.cpp:
981         (wxWebFrame::RunScript):
982
983 2010-03-28  Alexey Proskuryakov  <ap@apple.com>
984
985         Build fix. Include WindowsKeyboardCodes.h instead of KeyboardCodes.h.
986
987         * WebKitSupport/EditorClientWx.cpp:
988
989 2010-03-24  Kent Tamura  <tkent@chromium.org>
990
991         Reviewed by Darin Adler.
992
993         Make Icon::createIconForFiles() optional.
994         https://bugs.webkit.org/show_bug.cgi?id=35072
995
996         - Rename iconForFiles() to chooseIconForFiles().
997         - Call Icon::createIconForFiles() from chooseIconForFiles().
998
999         * WebKitSupport/ChromeClientWx.cpp:
1000         (WebCore::ChromeClientWx::chooseIconForFiles):
1001         * WebKitSupport/ChromeClientWx.h:
1002
1003 2010-03-20  Kevin Ollivier  <kevino@theolliviers.com>
1004
1005         [wx] Build fixes after recent changes, including move of setDatabasesEnabled from Settings.
1006
1007         * WebFrame.cpp:
1008         (wxWebFrame::RunScript):
1009         * WebKitSupport/InspectorClientWx.cpp:
1010         (WebCore::InspectorClientWx::openInspectorFrontend):
1011         * WebSettings.cpp:
1012         * WebSettings.h:
1013         * WebView.cpp:
1014         (wxWebView::Create):
1015         (wxWebView::SetDatabasesEnabled):
1016         (wxWebView::AreDatabasesEnabled):
1017         * WebView.h:
1018
1019 2010-03-16  Yury Semikhatsky <yurys@chromium.org>
1020
1021         Reviewed by Pavel Feldman.
1022
1023         Introduce InspectorFrontendClient that provides InspectorFrontend with an interface to the embedder. InspectorClient now serves as a delegate for InspectorController and does not contain methods for managing inspector frontend window. That allows to create remote InspectorFrontendHost.
1024
1025         Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder
1026         https://bugs.webkit.org/show_bug.cgi?id=35036
1027
1028         * WebKitSupport/InspectorClientWx.cpp:
1029         * WebKitSupport/InspectorClientWx.h:
1030
1031 2010-03-11  Anders Carlsson  <andersca@apple.com>
1032
1033         Reviewed by David Hyatt.
1034
1035         Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents.
1036
1037         * WebKitSupport/ChromeClientWx.cpp:
1038         * WebKitSupport/ChromeClientWx.h:
1039
1040 2010-03-02  Adam Treat  <atreat@rim.com>
1041
1042         Reviewed by Dave Hyatt.
1043
1044         Adapt the wx port to the refactoring of repaint methods.
1045
1046         https://bugs.webkit.org/show_bug.cgi?id=34214
1047
1048         * WebKitSupport/ChromeClientWx.cpp:
1049         (WebCore::ChromeClientWx::invalidateContents):
1050         (WebCore::ChromeClientWx::invalidateWindow):
1051         (WebCore::ChromeClientWx::invalidateContentsForSlowScroll):
1052         (WebCore::ChromeClientWx::invalidateContentsAndWindow):
1053         * WebKitSupport/ChromeClientWx.h:
1054
1055 2010-03-01  Jakob Petsovits  <jpetsovits@rim.com>
1056
1057         Reviewed by Adam Barth.
1058
1059         Adapt to the new ZoomMode enum.
1060         https://bugs.webkit.org/show_bug.cgi?id=35347
1061
1062         * WebFrame.cpp:
1063         (wxWebFrame::IncreaseTextSize):
1064         (wxWebFrame::DecreaseTextSize):
1065         (wxWebFrame::ResetTextSize):
1066
1067 2010-02-23  Steve Block  <steveblock@google.com>
1068
1069         Reviewed by Darin Adler.
1070
1071         Adds ChromeClient::cancelGeolocationPermissionRequestForFrame
1072         https://bugs.webkit.org/show_bug.cgi?id=34962
1073
1074         This method is required so that a Geolocation object can cancel an
1075         asynchronous permission request. This allows the chrome client to cancel
1076         any UI it is showing for the permission request.
1077
1078         * WebKitSupport/ChromeClientWx.h:
1079         (WebCore::ChromeClientWx::cancelGeolocationPermissionRequestForFrame):
1080
1081 2010-02-17  Dmitry Titov  <dimich@chromium.org>
1082
1083         Reviewed by David Levin, Darin Fisher, Simon Hausmann.
1084
1085         When a live iframe element is moved between pages, it still depends on the old page.
1086         https://bugs.webkit.org/show_bug.cgi?id=34382
1087
1088         * WebKitSupport/FrameLoaderClientWx.cpp:
1089         (WebCore::FrameLoaderClientWx::didTransferChildFrameToNewDocument):
1090         Added empty implementation of a new virtual method.
1091
1092         * WebKitSupport/FrameLoaderClientWx.h:
1093
1094 2010-02-17  Kent Tamura  <tkent@chromium.org>
1095
1096         Reviewed by Eric Seidel.
1097
1098         Introduces new Icon loading interface in order to support
1099         asynchronous loading.
1100         https://bugs.webkit.org/show_bug.cgi?id=32054
1101
1102         Add an empty implementation of ChromeClient::iconForFiles().
1103
1104         * WebKitSupport/ChromeClientWx.cpp:
1105         (WebCore::ChromeClientWx::iconForFiles):
1106         * WebKitSupport/ChromeClientWx.h:
1107
1108 2010-02-04  Kevin Ollivier  <kevino@theolliviers.com>
1109
1110         Build fix after changes in r54345.
1111
1112         * WebView.cpp:
1113         (wxWebView::OnKeyEvents):
1114
1115 2010-02-04  Dan Bernstein  <mitz@apple.com>
1116
1117         Reviewed by Simon Fraser.
1118
1119         REGRESSION (r53718): When scrolling a tall window by page, the overlap between pages is too big
1120         https://bugs.webkit.org/show_bug.cgi?id=34371
1121
1122         * WebView.cpp:
1123         (wxWebView::OnKeyEvents): Use Scrollbar method instead of constant.
1124
1125 2010-02-03  Kevin Watters  <kevinwatters@gmail.com>
1126
1127         Reviewed by Kevin Ollivier.
1128
1129         Add wxWebKitWindowFeatures and have createWindow send a notification for 
1130         clients to handle.
1131         
1132         https://bugs.webkit.org/show_bug.cgi?id=34542
1133
1134         * WebKitSupport/ChromeClientWx.cpp:
1135         (WebCore::wkFeaturesforWindowFeatures):
1136         (WebCore::ChromeClientWx::createWindow):
1137         * WebView.h:
1138
1139 2010-01-27  Kevin Watters  <kevinwatters@gmail.com>
1140
1141         Reviewed by Kevin Ollivier.
1142
1143         Add a way to get the parse mode to wxWebKit API.
1144         
1145         https://bugs.webkit.org/show_bug.cgi?id=34341
1146
1147         * WebFrame.cpp:
1148         (wxWebFrame::GetParseMode):
1149         * WebFrame.h:
1150         * WebView.cpp:
1151         (wxWebView::GetParseMode):
1152         * WebView.h:
1153
1154 2010-01-22  Kevin Watters  <kevinwatters@gmail.com>
1155
1156         Reviewed by Kevin Ollivier.
1157
1158         [wx] Remove the Bakefile build system, which is no longer being used.
1159         
1160         https://bugs.webkit.org/show_bug.cgi?id=34022
1161
1162         * bindings/python/wxwebkit-py.bkl: Removed.
1163         * dependencies.bkl: Removed.
1164         * presets/wxwebkit.bkl: Removed.
1165         * wxwebkit.bkl: Removed.
1166         * wxwk-settings.bkl: Removed.
1167
1168 2010-01-22  Kevin Ollivier  <kevino@theolliviers.com>
1169
1170         Build fix after r53718.
1171
1172         * WebView.cpp:
1173         (wxWebView::OnKeyEvents):
1174
1175 2010-01-15  Kevin Ollivier  <kevino@theolliviers.com>
1176
1177         Reviewed by Alexey Proskuryakov.
1178
1179         Move the code adding the child frame to the FrameTree into wxWebFrame constructor
1180         so that it happens before we call init() on the new frame. Fixes asserts checking
1181         frame count consistency.
1182
1183         * WebFrame.cpp:
1184         (wxWebFrame::wxWebFrame):
1185         * WebKitSupport/FrameLoaderClientWx.cpp:
1186         (WebCore::FrameLoaderClientWx::createFrame):
1187
1188 2010-01-14  Kevin Ollivier  <kevino@theolliviers.com>
1189
1190         [wx] Build fix, missing header.
1191
1192         * WebView.cpp:
1193
1194 2010-01-09  Adam Barth  <abarth@webkit.org>
1195
1196         Reviewed by Darin Adler.
1197
1198         ScriptController::isEnabled needs to be renamed
1199         https://bugs.webkit.org/show_bug.cgi?id=32063
1200
1201         Rename ScriptController::isEnabled to
1202         ScriptController::canExecuteScripts.
1203
1204         * WebFrame.cpp:
1205         (wxWebFrame::RunScript):
1206
1207 2009-12-30  Kevin Watters  <kevinwatters@gmail.com>
1208
1209         Reviewed by Kevin Ollivier.
1210
1211         Introduce wxWebSettings API interface for editing wxWebView / page settings.
1212         
1213         https://bugs.webkit.org/show_bug.cgi?id=32956
1214
1215         * WebBrowserShell.h:
1216         * WebFrame.h:
1217         * WebKitDefines.h: Added.
1218         * WebSettings.cpp: Added.
1219         (wxWebSettings::SetDefaultFixedFontSize):
1220         (wxWebSettings::GetDefaultFixedFontSize):
1221         (wxWebSettings::SetDefaultFontSize):
1222         (wxWebSettings::GetDefaultFontSize):
1223         (wxWebSettings::SetMinimumFontSize):
1224         (wxWebSettings::GetMinimumFontSize):
1225         (wxWebSettings::SetLoadsImagesAutomatically):
1226         (wxWebSettings::LoadsImagesAutomatically):
1227         (wxWebSettings::SetJavaScriptEnabled):
1228         (wxWebSettings::IsJavaScriptEnabled):
1229         (wxWebSettings::SetDatabasesEnabled):
1230         (wxWebSettings::AreDatabasesEnabled):
1231         (wxWebSettings::SetLocalStoragePath):
1232         (wxWebSettings::GetLocalStoragePath):
1233         (wxWebSettings::SetEditableLinkBehavior):
1234         (wxWebSettings::GetEditableLinkBehavior):
1235         (wxWebSettings::SetPluginsEnabled):
1236         (wxWebSettings::ArePluginsEnabled):
1237         * WebSettings.h: Added.
1238         * WebView.cpp:
1239         (wxWebView::Create):
1240         (wxWebView::GetWebSettings):
1241         * WebView.h:
1242         * bindings/python/webview.i:
1243
1244 2009-12-28  Patrick Gansterer  <paroga@paroga.com>
1245
1246         Reviewed by Maciej Stachowiak.
1247
1248         Use JS_NO_EXPORT for JSBase.h.
1249
1250         * wxwk-settings.bkl:
1251
1252 2009-12-20  Kevin Ollivier  <kevino@theolliviers.com>
1253
1254         [wx] build fixes after recent changes.
1255
1256         * WebFrame.cpp: Added missing header.
1257         * WebKitSupport/EditorClientWx.cpp: Added missing header.
1258         * WebView.cpp: Updated Page constructor call.
1259         (wxWebView::Create):
1260
1261 2009-12-08  Kevin Watters  <kevinwatters@gmail.com>
1262
1263         Reviewed by Kevin Ollivier.
1264
1265         [wx] Mac plugins support.
1266         
1267         https://bugs.webkit.org/show_bug.cgi?id=32236
1268
1269         * WebKitSupport/FrameLoaderClientWx.cpp:
1270         (WebCore::FrameLoaderClientWx::createPlugin):
1271         (WebCore::FrameLoaderClientWx::redirectDataToPlugin):
1272         * WebView.cpp:
1273         (wxWebView::Create):
1274
1275 2009-12-03  Brady Eidson  <beidson@apple.com>
1276
1277         Reviewed by Sam Weinig.
1278
1279         <rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API
1280
1281         * WebKitSupport/FrameLoaderClientWx.cpp:
1282         (WebCore::FrameLoaderClientWx::dispatchDidPushStateWithinPage):
1283         (WebCore::FrameLoaderClientWx::dispatchDidReplaceStateWithinPage):
1284         (WebCore::FrameLoaderClientWx::dispatchDidPopStateWithinPage):
1285         * WebKitSupport/FrameLoaderClientWx.h:
1286
1287 2009-12-03  Pavel Feldman  <pfeldman@dhcp-172-28-174-220.spb.corp.google.com>
1288
1289         Reviewed by Timothy Hatcher.
1290
1291         Web Inspector: Simplify the settings support in inspector controller.
1292
1293         https://bugs.webkit.org/show_bug.cgi?id=32076
1294
1295         * WebKitSupport/InspectorClientWx.cpp:
1296         (WebCore::InspectorClientWx::populateSetting):
1297         (WebCore::InspectorClientWx::storeSetting):
1298         * WebKitSupport/InspectorClientWx.h:
1299
1300 2009-12-03  Ben Murdoch  <benm@google.com>
1301
1302         Reviewed by Brady Eidson.
1303
1304         [Android] The FrameLoaderClient is unaware of BackForwardList changes.
1305         https://bugs.webkit.org/show_bug.cgi?id=31914
1306
1307         * WebKitSupport/FrameLoaderClientWx.cpp:
1308         (WebCore::FrameLoaderClientWx::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug).
1309         (WebCore::FrameLoaderClientWx::dispatchDidRemoveBackForwardItem): ditto.
1310         (WebCore::FrameLoaderClientWx::dispatchDidChangeBackForwardIndex): ditto.
1311         * WebKitSupport/FrameLoaderClientWx.h:
1312
1313 2009-11-23  Laszlo Gombos  <laszlo.1.gombos@nokia.com>
1314
1315         Reviewed by Kenneth Rohde Christiansen.
1316
1317         Include "config.h" to meet Coding Style Guidelines
1318         https://bugs.webkit.org/show_bug.cgi?id=31792
1319
1320         * WebKitSupport/DragClientWx.cpp:
1321
1322 2009-11-18  Kevin Watters  <kevinwatters@gmail.com>
1323
1324         Reviewed by Kevin Ollivier.
1325
1326         Enable wx plugin support using the Windows implementation as a base.
1327         
1328         https://bugs.webkit.org/show_bug.cgi?id=31636
1329
1330         * WebKitSupport/FrameLoaderClientWx.cpp:
1331         (WebCore::FrameLoaderClientWx::FrameLoaderClientWx):
1332         (WebCore::FrameLoaderClientWx::finishedLoading):
1333         (WebCore::FrameLoaderClientWx::committedLoad):
1334         (WebCore::FrameLoaderClientWx::createPlugin):
1335         (WebCore::FrameLoaderClientWx::redirectDataToPlugin):
1336         (WebCore::FrameLoaderClientWx::shouldUsePluginDocument):
1337         * WebKitSupport/FrameLoaderClientWx.h:
1338         * WebView.cpp:
1339         (wxWebView::Create):
1340
1341 2009-11-13  Kevin Ollivier  <kevino@theolliviers.com>
1342
1343         wx build fix after r50923 change to externalRepresentation.
1344
1345         * WebFrame.cpp:
1346         (wxWebFrame::GetExternalRepresentation):
1347
1348 2009-11-13  Adam Roben  <aroben@apple.com>
1349
1350         Update for changes to FrameLoaderClient
1351
1352         Fixes <http://webkit.org/b/31124> Tell the WebFrameLoadDelegate when
1353         window objects in isolated worlds are cleared
1354
1355         Reviewed by Dave Hyatt.
1356
1357         * WebKitSupport/FrameLoaderClientWx.cpp:
1358         (WebCore::FrameLoaderClientWx::dispatchDidClearWindowObjectInWorld):
1359         * WebKitSupport/FrameLoaderClientWx.h:
1360         Replaced windowObjectCleared with this function. Does nothing if the
1361         passed-in world is not the mainThreadNormalWorld().
1362
1363 2009-11-10  Robin Dunn  <robin@alldunn.com>
1364
1365         Reviewed by Kevin Ollivier.
1366
1367         Add sanity checks to RunScript to ensure it doesn't run when the document hasn't yet
1368         loaded nor when JavaScript is disabled.
1369         
1370         https://bugs.webkit.org/show_bug.cgi?id=31309
1371
1372         * WebFrame.cpp:
1373         (wxWebFrame::RunScript):
1374
1375 2009-11-04  Kevin Watters  <kevinwatters@gmail.com>
1376
1377         Reviewed by Kevin Ollivier.
1378
1379         Fix an assert on shutdown when wxWebView has captured the mouse,
1380         and make sure wxWebView's right click handling is only active when 
1381         the WebCore popup menu is used.
1382         
1383         https://bugs.webkit.org/show_bug.cgi?id=31131
1384
1385         * WebView.cpp:
1386         (wxWebView::~wxWebView):
1387         (wxWebView::OnContextMenuEvents):
1388         (wxWebView::OnMenuSelectEvents):
1389
1390 2009-11-04  Vadim Zeitlin  <vadim@wxwidgets.org>
1391
1392         Reviewed by Eric Seidel.
1393
1394         [wx] Small cleanup: avoid unnecessary wxString::mb_str() calls.
1395
1396         * WebFrame.cpp:
1397         (wxWebFrame::SetPageSource):
1398         (wxWebFrame::LoadURL):
1399
1400 2009-10-30  Evan Stade  <estade@chromium.org>
1401
1402         Reviewed by David Levin.
1403
1404         Notify the chrome when the focused node has changed.
1405         https://bugs.webkit.org/show_bug.cgi?id=30832
1406
1407         Added stub implementation for new ChromeClient function.
1408
1409         * WebKitSupport/ChromeClientWx.cpp:
1410         (WebCore::ChromeClientWx::focusedNodeChanged):
1411         * WebKitSupport/ChromeClientWx.h:
1412
1413 2009-10-23  Kevin Ollivier  <kevino@theolliviers.com>
1414
1415         wx build fix. Update the globalObject calls after changes.
1416
1417         * WebFrame.cpp:
1418         (wxWebFrame::RunScript):
1419         * WebKitSupport/FrameLoaderClientWx.cpp:
1420         (WebCore::FrameLoaderClientWx::windowObjectCleared):
1421
1422 2009-10-21  Pedro Romano  <pmcnr72@gmail.com>
1423
1424         Reviewed by Kevin Ollivier.
1425
1426         Include 'WebFrame.h' declared classes in wxPython bindings.
1427         
1428         https://bugs.webkit.org/show_bug.cgi?id=30504
1429
1430         * bindings/python/webview.i:
1431
1432 2009-10-18  Kevin Watters  <kevinwatters@gmail.com>
1433
1434         Reviewed by Kevin Ollivier.
1435
1436         Add the ability to specify a proxy for wxWebKit.
1437         
1438         https://bugs.webkit.org/show_bug.cgi?id=30446
1439
1440         * WebView.cpp:
1441         (curlProxyType):
1442         (wxWebView::SetProxyInfo):
1443         * WebView.h:
1444
1445 2009-10-18  Kevin Watters  <kevinwatters@gmail.com>
1446
1447         Reviewed by Kevin Ollivier.
1448
1449         Add basic database support to wx API
1450         
1451         https://bugs.webkit.org/show_bug.cgi?id=30445
1452
1453         * WebKitSupport/ChromeClientWx.cpp:
1454         (WebCore::ChromeClientWx::exceededDatabaseQuota):
1455         * WebView.cpp:
1456         (wxWebView::Create):
1457         (wxWebView::SetDatabaseDirectory):
1458         (wxWebView::GetDatabaseDirectory):
1459         * WebView.h:
1460
1461 2009-10-16  Kevin Watters  <kevinwatters@gmail.com>
1462
1463         Reviewed by Kevin Ollivier.
1464
1465         Optionally allow the user to zoom text using the mouse wheel.
1466         
1467         https://bugs.webkit.org/show_bug.cgi?id=30444
1468
1469         * WebView.cpp:
1470         (wxWebView::wxWebView):
1471         (wxWebView::OnMouseEvents):
1472         * WebView.h:
1473
1474 2009-10-16  Kevin Ollivier  <kevino@theolliviers.com>
1475
1476         wxMSW non-precomp headers build fix.
1477
1478         * WebView.cpp:
1479
1480 2009-10-15  Robin Dunn  <robin@alldunn.com>
1481
1482         Reviewed by Kevin Ollivier.
1483
1484         Update the wxPython simple.py sample to match current wxWebKit API.
1485         
1486         https://bugs.webkit.org/show_bug.cgi?id=30406
1487
1488         * bindings/python/samples/simple.py:
1489
1490 2009-10-08  Adam Barth  <abarth@webkit.org>
1491
1492         Reviewed by Eric Seidel.
1493
1494         Move executeScript from FrameLoader to ScriptController
1495         https://bugs.webkit.org/show_bug.cgi?id=30200
1496
1497         Update API call.
1498
1499         * WebFrame.cpp:
1500         (wxWebFrame::RunScript):
1501
1502 2009-10-07  Adam Barth  <abarth@webkit.org>
1503
1504         Reviewed by Darin Adler.
1505
1506         Factor PolicyChecker out of FrameLoader
1507         https://bugs.webkit.org/show_bug.cgi?id=30155
1508
1509         Move the policy callback to the policy object.
1510
1511         * WebKitSupport/FrameLoaderClientWx.cpp:
1512         (WebCore::FrameLoaderClientWx::dispatchWillSubmitForm):
1513         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForMIMEType):
1514         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
1515         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
1516
1517 2009-09-25  Kevin Ollivier  <kevino@theolliviers.com>
1518
1519         wx build fix. Add EmptyPluginHalterClient when creating the Page.
1520
1521         * WebView.cpp:
1522         (wxWebView::Create):
1523
1524 2009-09-22  Kevin Ollivier  <kevino@theolliviers.com>
1525
1526         Build fix to ensure the import library gets properly installed on Windows.
1527
1528         * wscript:
1529
1530 2009-09-17  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1531
1532         Reviewed by Simon Hausmann.
1533
1534         Make PlatformWindow return something else than PlatformWidget
1535         https://bugs.webkit.org/show_bug.cgi?id=29085
1536
1537         Reflect the rename of platformWindow and it's return type.
1538
1539         * WebKitSupport/ChromeClientWx.cpp:
1540         (WebCore::ChromeClientWx::platformPageClient):
1541         * WebKitSupport/ChromeClientWx.h:
1542         * WebKitSupport/EditorClientWx.cpp:
1543         (WebCore::EditorClientWx::isEditable):
1544         (WebCore::EditorClientWx::registerCommandForUndo):
1545         (WebCore::EditorClientWx::registerCommandForRedo):
1546         (WebCore::EditorClientWx::clearUndoRedoOperations):
1547         (WebCore::EditorClientWx::canUndo):
1548         (WebCore::EditorClientWx::canRedo):
1549         (WebCore::EditorClientWx::undo):
1550         (WebCore::EditorClientWx::redo):
1551
1552 2009-09-16  Kevin Ollivier  <kevino@theolliviers.com>
1553
1554         wxPython bindings build fixes after recent changes.
1555
1556         * WebView.h:
1557         * bindings/python/wscript:
1558
1559 2009-09-13  Kevin Watters  <kevinwatters@gmail.com>
1560
1561         Reviewed by Kevin Ollivier.
1562
1563         Allow a way to set the cache policy via wx API.
1564         
1565         https://bugs.webkit.org/show_bug.cgi?id=29200
1566
1567         * WebView.cpp:
1568         (wxWebView::SetCachePolicy):
1569         (wxWebView::GetCachePolicy):
1570         * WebView.h:
1571
1572 2009-09-13  Kevin Watters  <kevinwatters@gmail.com>
1573
1574         Reviewed by Kevin Ollivier.
1575
1576         Allow the user to query Frame::shouldClose via wx API.
1577         
1578         https://bugs.webkit.org/show_bug.cgi?id=29199
1579
1580         * WebFrame.cpp:
1581         (wxWebFrame::ShouldClose):
1582         * WebFrame.h:
1583         * WebView.cpp:
1584         (wxWebView::ShouldClose):
1585         * WebView.h:
1586
1587 2009-09-13  Kevin Watters  <kevinwatters@gmail.com>
1588
1589         Reviewed by Kevin Ollivier.
1590
1591         Fix mouse handling when the mouse leaves the window during mouse down.
1592         
1593         https://bugs.webkit.org/show_bug.cgi?id=29198
1594
1595         * WebView.cpp:
1596         (wxWebView::OnMouseEvents):
1597
1598 2009-09-13  Kevin Watters  <kevinwatters@gmail.com>
1599
1600         Reviewed by Kevin Ollivier.
1601
1602         Add support for console MessageLevel at wx API level.
1603         
1604         https://bugs.webkit.org/show_bug.cgi?id=29197
1605
1606         * WebKitSupport/ChromeClientWx.cpp:
1607         (WebCore::ChromeClientWx::addMessageToConsole):
1608         * WebView.h:
1609
1610 2009-09-03  Adam Barth  <abarth@webkit.org>
1611
1612         Reviewed by eric@webkit.org.
1613
1614         https://bugs.webkit.org/show_bug.cgi?id=24696
1615
1616         Stub implementations of mixed content methods of FrameLoaderClient. 
1617
1618         * WebKitSupport/FrameLoaderClientWx.cpp:
1619         (WebCore::FrameLoaderClientWx::didDisplayInsecureContent):
1620         (WebCore::FrameLoaderClientWx::didRunInsecureContent):
1621         * WebKitSupport/FrameLoaderClientWx.h:
1622
1623 2009-09-03  Kevin Watters  <kevinwatters@gmail.com>
1624
1625         Reviewed by Kevin Ollivier.
1626
1627         [wx] Frames support
1628         https://bugs.webkit.org/show_bug.cgi?id=19041
1629
1630         * WebFrame.cpp:
1631         (wxWebFrame::wxWebFrame):
1632         (wxWebFrame::~wxWebFrame):
1633         (wxWebFrame::GetFrame):
1634         * WebFrame.h:
1635         * WebFramePrivate.h:
1636         * WebKitSupport/ChromeClientWx.cpp:
1637         (WebCore::ChromeClientWx::platformWindow):
1638         (WebCore::ChromeClientWx::scroll):
1639         * WebKitSupport/EditorClientWx.cpp:
1640         (WebCore::EditorClientWx::isEditable):
1641         (WebCore::EditorClientWx::registerCommandForUndo):
1642         (WebCore::EditorClientWx::registerCommandForRedo):
1643         (WebCore::EditorClientWx::clearUndoRedoOperations):
1644         (WebCore::EditorClientWx::canUndo):
1645         (WebCore::EditorClientWx::canRedo):
1646         (WebCore::EditorClientWx::undo):
1647         (WebCore::EditorClientWx::redo):
1648         * WebKitSupport/FrameLoaderClientWx.cpp:
1649         (WebCore::FrameLoaderClientWx::FrameLoaderClientWx):
1650         (WebCore::FrameLoaderClientWx::setFrame):
1651         (WebCore::FrameLoaderClientWx::dispatchWillSubmitForm):
1652         (WebCore::FrameLoaderClientWx::frameLoaderDestroyed):
1653         (WebCore::FrameLoaderClientWx::committedLoad):
1654         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForMIMEType):
1655         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
1656         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
1657         (WebCore::FrameLoaderClientWx::createFrame):
1658         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
1659         * WebKitSupport/FrameLoaderClientWx.h:
1660         * WebView.h:
1661         * WebViewPrivate.h:
1662
1663 2009-09-02  Kevin Ollivier  <kevino@theolliviers.com>
1664
1665         waf build fixes for Windows/MSVC.
1666
1667         * bindings/python/wscript:
1668         * wscript:
1669
1670 2009-09-02  Kevin Watters  <kevinwatters@gmail.com>
1671
1672         Reviewed by Kevin Ollivier.
1673
1674         wx port: Call WTF::initializeThreading().
1675         https://bugs.webkit.org/show_bug.cgi?id=28912
1676
1677         * WebView.cpp:
1678         (wxWebView::Create): call WTF::initializeThreading()
1679
1680 2009-09-02  Kevin Ollivier  <kevino@theolliviers.com>
1681
1682         wx build fix. Use the 2 param KURL constructor.
1683
1684         * WebFrame.cpp:
1685         (wxWebFrame::SetPageSource):
1686
1687 2009-08-31  Alexey Proskuryakov  <ap@webkit.org>
1688
1689         Reviewed by Darin Adler.
1690
1691         https://bugs.webkit.org/show_bug.cgi?id=28852
1692         Rename KURL single argument constructor to avoid confusion
1693
1694         * WebFrame.cpp: (wxWebFrame::SetPageSource): Adapt to the change.
1695
1696 2009-08-28  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1697
1698         Reviewed by Holger Freyther.
1699
1700         https://bugs.webkit.org/show_bug.cgi?id=25889
1701         [GTK] scrollbar policy for main frame is not implementable
1702
1703         Add empty implementation for new ChromeClient method.
1704
1705         * WebKitSupport/ChromeClientWx.h:
1706         (WebCore::ChromeClientWx::scrollbarsModeDidChange):
1707
1708 2009-08-19  Kevin Watters  <kevinwatters@gmail.com>
1709
1710         Reviewed by Kevin Ollivier.
1711
1712         Use FrameLoader::load() for loading pages from a HTML page string to address
1713         bugs with using begin/write/end loading.
1714         
1715         https://bugs.webkit.org/show_bug.cgi?id=28488
1716
1717         * WebFrame.cpp:
1718         (wxWebFrame::SetPageSource):
1719
1720 2009-08-13  Kevin Ollivier  <kevino@theolliviers.com>
1721
1722         wx build fix. Make sure that the wxWebKit dynamic library is rebuilt whenever
1723         webcore or jscore libs change.
1724
1725         * wscript:
1726
1727 2009-08-12  Kevin Ollivier  <kevino@theolliviers.com>
1728
1729         wxPython build fix, the SWIG defines must also be available when compiling.
1730
1731         * bindings/python/wscript:
1732
1733 2009-08-05  Kevin Ollivier  <kevino@theolliviers.com>
1734
1735         Reviewed by Eric Seidel.
1736
1737         Adding support for building wx Python bindings using the waf build system.
1738         
1739         https://bugs.webkit.org/show_bug.cgi?id=27619
1740
1741         * bindings/python/wscript: Added.
1742
1743 2009-08-04  Kevin Ollivier  <kevino@theolliviers.com>
1744
1745         wx build fix after InspectorClient API change.
1746
1747         * WebKitSupport/InspectorClientWx.cpp:
1748         (WebCore::InspectorClientWx::inspectorWindowObjectCleared):
1749         * WebKitSupport/InspectorClientWx.h:
1750
1751 2009-08-02  Kevin Ollivier  <kevino@theolliviers.com>
1752
1753         Reviewed by Jan Alonzo.
1754
1755         Script for building the WebKit library for wx.
1756         https://bugs.webkit.org/show_bug.cgi?id=27619
1757
1758         * wscript: Added.
1759
1760 2009-07-24  Andrei Popescu  <andreip@google.com>
1761
1762         Reviewed by Anders Carlsson.
1763
1764         ApplicationCache should have size limit
1765         https://bugs.webkit.org/show_bug.cgi?id=22700
1766  
1767         * WebKitSupport/ChromeClientWx.cpp:
1768         (WebCore::ChromeClientWx::reachedMaxAppCacheSize):
1769         Adds empty implementation of the reachedMaxAppCacheSize callback.
1770         * WebKitSupport/ChromeClientWx.h:
1771
1772 2009-07-21  Kevin Ollivier  <kevino@theolliviers.com>
1773
1774         wx build fix. Missing header added.
1775
1776         * WebFrame.cpp:
1777
1778 2009-07-21  Kevin Ollivier  <kevino@theolliviers.com>
1779
1780         wx build fix. Adding isSpeaking() to ContextMenuClientWx.
1781
1782         * WebKitSupport/ContextMenuClientWx.cpp:
1783         (WebCore::ContextMenuClientWx::isSpeaking):
1784         * WebKitSupport/ContextMenuClientWx.h:
1785
1786 2009-07-16  Xiaomei Ji  <xji@chromium.org>
1787
1788         Reviewed by Darin Adler.
1789
1790         Fix tooltip does not get its directionality from its element's directionality.
1791         https://bugs.webkit.org/show_bug.cgi?id=24187
1792
1793         Per mitz's suggestion in comment #6, while getting the plain-text 
1794         title, we also get the directionality of the title. How to handle 
1795         the directionality is up to clients. Clients could ignore it, 
1796         or use attribute or unicode control characters to display the title
1797         as what they want.
1798
1799         * WebKitSupport/ChromeClientWx.cpp:
1800         (WebCore::ChromeClientWx::setToolTip): Add directionality as 2nd parameter to setToopTip() (without handling it yet).
1801         * WebKitSupport/ChromeClientWx.h: Add directionality as 2nd parameter to setToolTip().
1802
1803 2009-07-12  Brent Fulgham  <bfulgham@gmail.com>
1804
1805         Speculative build fix after http://trac.webkit.org/changeset/45786.
1806
1807         * WebKitSupport/ChromeClientWx.cpp:
1808         (WebCore::ChromeClientWx::addMessageToConsole):
1809         * WebKitSupport/ChromeClientWx.h:
1810
1811 2009-07-09  Beth Dakin and Jon Honeycutt <bdakin@apple.com>
1812
1813         Reviewed by Dave Hyatt.
1814
1815         Make Widget RefCounted to fix:
1816
1817         <rdar://problem/7038831> REGRESSION (TOT): In Mail, a crash occurs 
1818         at WebCore::Widget::afterMouseDown() after clicking To Do's close 
1819         box
1820         <rdar://problem/6978804> WER #16: Repro Access Violation in 
1821         WebCore::PluginView::bindingInstance (1310178023)
1822         -and-
1823         <rdar://problem/6991251> WER #13: Crash in WebKit!
1824         WebCore::PluginView::performRequest+203 (1311461169) 
1825
1826         * WebKitSupport/FrameLoaderClientWx.cpp:
1827         (WebCore::FrameLoaderClientWx::createPlugin):
1828         (WebCore::FrameLoaderClientWx::createJavaAppletWidget):
1829         * WebKitSupport/FrameLoaderClientWx.h:
1830
1831 2009-06-09  Kevin Ollivier  <kevino@theolliviers.com>
1832
1833         wx build fix, adding JSCore/assembler to the list of include dirs.
1834
1835         * presets/wxwebkit.bkl:
1836
1837 2009-06-03  Kevin Ollivier  <kevino@theolliviers.com>
1838
1839         wx build fix, remove no longer needed function call.
1840
1841         * WebKitSupport/FrameLoaderClientWx.cpp:
1842         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
1843
1844 2009-06-02  Darin Adler  <darin@apple.com>
1845
1846         Reviewed by David Hyatt.
1847
1848         * WebKitSupport/FrameLoaderClientWx.cpp:
1849         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage): Use FrameView::create
1850         and RefPtr instead of the old "crazy" reference counting.
1851
1852 2009-05-23  David Kilzer  <ddkilzer@apple.com>
1853
1854         Part 2 of 2: Bug 25495: Implement PassOwnPtr and replace uses of std::auto_ptr
1855
1856         <https://bugs.webkit.org/show_bug.cgi?id=25495>
1857
1858         Reviewed by Oliver Hunt.
1859
1860         * WebKitSupport/ChromeClientWx.h:
1861         (WebCore::ChromeClientWx::createHTMLParserQuirks): Return a
1862         PassOwnPtr<> instead of a raw HTMLParserQuirks pointer.
1863
1864 2009-05-22  Kevin Watters  <kevinwatters@gmail.com>
1865
1866         Reviewed by Kevin Ollivier.
1867         
1868         Triple-click support for wx port. Also, switch to allocating GraphicsContext
1869         on the stack in OnPaint since we only need it within that function.
1870         
1871         https://bugs.webkit.org/show_bug.cgi?id=25962
1872
1873         * WebView.cpp:
1874         (wxWebView::OnPaint):
1875         (getDoubleClickTime):
1876         (wxWebView::OnMouseEvents):
1877         (wxWebView::OnContextMenuEvents):
1878         * WebView.h:
1879         * WebViewPrivate.h:
1880
1881 2009-05-21  Kevin Ollivier  <kevino@theolliviers.com>
1882
1883         wx build fix after method added to EditorClient.
1884
1885         * WebKitSupport/EditorClientWx.cpp:
1886         (WebCore::EditorClientWx::getAutoCorrectSuggestionForMisspelledWord):
1887         * WebKitSupport/EditorClientWx.h:
1888
1889 2009-05-20  Holger Hans Peter Freyther  <zecke@selfish.org>
1890
1891         Reviewed by Darin Adler.
1892
1893         https://bugs.webkit.org/show_bug.cgi?id=25834
1894
1895         Make ChromeClient a interface again
1896
1897         With recent additions to ChromeClient.h empty defaults were
1898         added. This is bad for porters as these changes go unnoticed
1899         and at runtime no notImplemented warning is logged and grepping
1900         for notImplemented will not show anything. Change this Client
1901         to be like the other Clients again and always have pure virtuals
1902         (but for stuff inside #ifdef PLATFORM(MAC)).
1903
1904         Update the various WebKit/* implementations to compile again.
1905
1906         * WebKitSupport/ChromeClientWx.cpp:
1907         (WebCore::ChromeClientWx::setCursor):
1908         (WebCore::ChromeClientWx::requestGeolocationPermissionForFrame):
1909         * WebKitSupport/ChromeClientWx.h:
1910         (WebCore::ChromeClientWx::scrollRectIntoView):
1911
1912 2009-05-18  Kevin Ollivier  <kevino@theolliviers.com>
1913
1914         wx build fix. Use python-config to get Python linking info on Unix OSes. 
1915
1916         * bindings/python/wxwebkit-py.bkl:
1917
1918 2009-03-29  Kevin Ollivier  <kevino@theolliviers.com>
1919
1920         Reviewed by Maciej Stachowiak.
1921
1922         WebCore::DocumentLoader::mainReceivedError now asserts if error.isNull(), so
1923         make sure wx does not create empty ResourceError() objects.
1924         
1925         Also make sure we fire a state changed event to notify when the load fails.
1926         
1927         https://bugs.webkit.org/show_bug.cgi?id=24927
1928
1929         * WebKitSupport/FrameLoaderClientWx.cpp:
1930         (WebCore::FrameLoaderClientWx::cancelledError):
1931         (WebCore::FrameLoaderClientWx::blockedError):
1932         (WebCore::FrameLoaderClientWx::cannotShowURLError):
1933         (WebCore::FrameLoaderClientWx::interruptForPolicyChangeError):
1934         (WebCore::FrameLoaderClientWx::cannotShowMIMETypeError):
1935         (WebCore::FrameLoaderClientWx::fileDoesNotExistError):
1936         (WebCore::FrameLoaderClientWx::dispatchDidFailLoading):
1937         (WebCore::FrameLoaderClientWx::pluginWillHandleLoadError):
1938         * WebView.h:
1939
1940 2009-05-07  Kevin Ollivier  <kevino@theolliviers.com>
1941
1942         Fix for building the Python extension. 
1943
1944         * bindings/python/wxwebkit-py.bkl:
1945
1946 2009-05-05  Ben Murdoch  <benm@google.com>
1947
1948         Reviewed by Eric Seidel.
1949         
1950         Add #if ENABLE(DATABASE) guards around database code so toggling ENABLE_DATABASE off does not break builds.
1951         https://bugs.webkit.org/show_bug.cgi?id=24776
1952
1953         * WebKitSupport/ChromeClientWx.cpp:
1954         * WebKitSupport/ChromeClientWx.h:
1955
1956 2009-04-01  miggilin  <mr.diggilin@gmail.com>
1957
1958         Reviewed by Kevin Ollivier.
1959
1960         Full Keyboard shortcut support.
1961         Implement wxBrowser Cut/Copy/Paste menu items.
1962         
1963         https://bugs.webkit.org/show_bug.cgi?id=24797
1964
1965         * WebBrowserShell.cpp:
1966         (wxWebBrowserShell::OnSearchCtrlEnter):
1967         (wxWebBrowserShell::OnCut):
1968         (wxWebBrowserShell::OnCopy):
1969         (wxWebBrowserShell::OnPaste):
1970         * WebBrowserShell.h:
1971         * WebKitSupport/EditorClientWx.cpp:
1972         (WebCore::):
1973         (WebCore::EditorClientWx::handleEditingKeyboardEvent):
1974         (WebCore::EditorClientWx::interpretKeyEvent):
1975         (WebCore::EditorClientWx::handleKeyboardEvent):
1976         * WebKitSupport/EditorClientWx.h:
1977         * WebView.cpp:
1978         (wxWebView::CanCut):
1979         (wxWebView::CanPaste):
1980         (wxWebView::Paste):
1981         (wxWebView::OnKeyEvents):
1982
1983 2009-05-05  Maclolm MacLeod  <mmacleod@webmail.co.za>
1984
1985         Reviewed by Kevin Ollivier.
1986         
1987         Have wxWebkit make use of gcc(4 and greater) hidden visibility feature
1988         
1989         https://bugs.webkit.org/show_bug.cgi?id=24345
1990
1991         * WebFrame.h:
1992         * WebView.h:
1993
1994 2009-05-01  Kevin Watters  <kevinwatters@gmail.com>
1995
1996         Reviewed by Kevin Ollivier.
1997         
1998         STATE_CHANGED event is now named LOAD
1999         
2000         https://bugs.webkit.org/show_bug.cgi?id=25549
2001
2002         * bindings/python/samples/simple.py:
2003
2004 2009-05-04  Kevin Ollivier  <kevino@theolliviers.com>
2005
2006         Reviewed by Eric Seidel.
2007         
2008         Initial DRT implementation for wx.
2009
2010         * Bakefiles.bkgen:
2011
2012 2009-05-01  Geoffrey Garen  <ggaren@apple.com>
2013
2014         Rubber Stamped by Sam Weinig.
2015         
2016         Renamed JSValuePtr => JSValue.
2017
2018         * WebFrame.cpp:
2019         (wxWebFrame::RunScript):
2020
2021 2009-05-01  Pavel Feldman  <pfeldman@chromium.org>
2022
2023         Reviewed by Timothy Hatcher.
2024
2025         Add a FrameLoaderClient callback for the ResourceRetrievedByXMLHttpRequest.
2026
2027         https://bugs.webkit.org/show_bug.cgi?id=25347
2028
2029         * WebKitSupport/FrameLoaderClientWx.cpp:
2030         (WebCore::FrameLoaderClientWx::dispatchDidLoadResourceByXMLHttpRequest):
2031         * WebKitSupport/FrameLoaderClientWx.h:
2032
2033 2009-04-30  Kevin Ollivier  <kevino@theolliviers.com>
2034
2035         wx build fix, remove references to JSCore shared library.
2036
2037         * bindings/python/wxwebkit-py.bkl:
2038         * wxwebkit.bkl:
2039
2040 2009-04-30  David Kilzer  <ddkilzer@apple.com>
2041
2042         Provide a mechanism to create a quirks delegate for HTMLParser
2043
2044         Reviewed by David Hyatt.
2045
2046         * WebKitSupport/ChromeClientWx.h:
2047         (WebCore::ChromeClientWx::createHTMLParserQuirks): Added.  The
2048         default implementation of this factory method returns 0.
2049
2050 2009-04-30  Pavel Feldman  <pfeldman@chromium.org>
2051
2052         Reviewed by Dimitri Glazkov.
2053
2054         https://bugs.webkit.org/show_bug.cgi?id=25342
2055         Add MessageSource and MessageLevel parameters to the ChromeClient::addMessageToConsole.
2056
2057         * WebKitSupport/ChromeClientWx.cpp:
2058         (WebCore::ChromeClientWx::addMessageToConsole):
2059         * WebKitSupport/ChromeClientWx.h:
2060
2061 2009-04-28  Kevin Watters  <kevinwatters@gmail.com>
2062
2063         Reviewed by Kevin Ollivier.
2064         
2065         Add a function for resetting the zoom factor to 1.0.
2066         
2067         https://bugs.webkit.org/show_bug.cgi?id=25447
2068
2069         * WebFrame.cpp:
2070         (wxWebFrame::ResetTextSize):
2071         * WebFrame.h:
2072         * WebView.cpp:
2073         (wxWebView::ResetTextSize):
2074         * WebView.h:
2075
2076 2009-04-24  Kevin Ollivier  <kevino@theolliviers.com>
2077
2078         wx build fix. Switching JSCore from a static lib to a dynamic lib
2079         to match the Apple build and fix symbol exports.
2080
2081         * bindings/python/wxwebkit-py.bkl:
2082         * presets/wxwebkit.bkl:
2083         * wxwebkit.bkl:
2084
2085 2009-04-15  Robin Dunn  <robin@alldunn.com>
2086
2087         Reviewed by Kevin Ollivier.
2088         
2089         Implement support for wxWebViewNewWindowEvent.
2090         
2091         https://bugs.webkit.org/show_bug.cgi?id=19043
2092
2093         * WebKitSupport/FrameLoaderClientWx.cpp:
2094         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
2095
2096 2009-04-04  Kevin Ollivier  <kevino@theolliviers.com>
2097
2098         Build fixes for wxMac/Tiger.
2099
2100         * dependencies.bkl:
2101         * wxwk-settings.bkl:
2102
2103 2009-04-04  Kevin Ollivier  <kevino@theolliviers.com>
2104
2105         wx build fix. Add missing header.
2106
2107         * WebKitSupport/FrameLoaderClientWx.cpp:
2108
2109 2009-03-30  Kevin Watters  <kevinwatters@gmail.com>
2110
2111         Reviewed by Kevin Ollivier.
2112         
2113         Add events to allow apps to override handling for JS prompts and 
2114         window object cleared events.
2115         
2116         https://bugs.webkit.org/show_bug.cgi?id=24948
2117
2118         * WebFrame.h:
2119         * WebKitSupport/ChromeClientWx.cpp:
2120         (WebCore::ChromeClientWx::runJavaScriptAlert):
2121         (WebCore::ChromeClientWx::runJavaScriptConfirm):
2122         (WebCore::ChromeClientWx::runJavaScriptPrompt):
2123         * WebKitSupport/EditorClientWx.cpp:
2124         (WebCore::EditorClientWx::pageDestroyed):
2125         * WebKitSupport/FrameLoaderClientWx.cpp:
2126         (WebCore::FrameLoaderClientWx::hasWebView):
2127         (WebCore::FrameLoaderClientWx::windowObjectCleared):
2128         * WebView.cpp:
2129         (wxWebViewAlertEvent::wxWebViewAlertEvent):
2130         (wxWebViewConfirmEvent::wxWebViewConfirmEvent):
2131         (wxWebViewPromptEvent::wxWebViewPromptEvent):
2132         (wxWebViewWindowObjectClearedEvent::wxWebViewWindowObjectClearedEvent):
2133         * WebView.h:
2134
2135 2009-03-28  Kevin Ollivier  <kevino@theolliviers.com>
2136
2137         wx build fix. Remove call to now private method.
2138
2139         * WebKitSupport/FrameLoaderClientWx.cpp:
2140         (WebCore::FrameLoaderClientWx::prepareForDataSourceReplacement):
2141
2142 2009-03-02  Kevin Ollivier  <kevino@theolliviers.com>
2143
2144         Build fixes for wxWidgets Mac trunk build.
2145
2146         * WebView.h:
2147         * bindings/python/webview.i:
2148         * bindings/python/wxwebkit-py.bkl:
2149         * dependencies.bkl:
2150         * presets/wxwebkit.bkl:
2151
2152 2009-02-11  Dimitri Dupuis-latour  <dupuislatour@apple.com>
2153
2154         Stub out InspectorClientWx::hiddenPanels.
2155
2156         Reviewed by Timothy Hatcher.
2157
2158         * WebKitSupport/InspectorClientWx.cpp:
2159         (WebCore::InspectorClientWx::hiddenPanels):
2160         * WebKitSupport/InspectorClientWx.h:
2161
2162 2009-02-06  Geoffrey Garen  <ggaren@apple.com>
2163
2164         Build fix.
2165
2166         * WebKitSupport/FrameLoaderClientWx.cpp:
2167         (WebCore::FrameLoaderClientWx::updateGlobalHistoryRedirectLinks):
2168         * WebKitSupport/FrameLoaderClientWx.h:
2169
2170 2009-02-05  Aaron Boodman  <aa@chromium.org>
2171
2172         Reviewed by Dave Hyatt.
2173
2174         https://bugs.webkit.org/show_bug.cgi?id=23708
2175         Adds documentElementAvailable() callback to FrameLoaderClient.
2176
2177         * WebKitSupport/FrameLoaderClientWx.cpp:
2178         (WebCore::FrameLoaderClientWx::documentElementAvailable):
2179         Stub out documentElementAvailable().
2180         * WebKitSupport/FrameLoaderClientWx.h:
2181         Ditto.
2182
2183 2009-02-02  Geoffrey Garen  <ggaren@apple.com>
2184
2185         Build fix.
2186
2187         * WebKitSupport/FrameLoaderClientWx.cpp:
2188         (WebCore::FrameLoaderClientWx::updateGlobalHistoryForRedirectWithoutHistoryItem):
2189         (WebCore::FrameLoaderClientWx::createPlugin):
2190         (WebCore::FrameLoaderClientWx::createJavaAppletWidget):
2191         * WebKitSupport/FrameLoaderClientWx.h:
2192
2193 2009-02-02  Geoffrey Garen  <ggaren@apple.com>
2194
2195         Build fix.
2196
2197         * WebFrame.cpp:
2198         (wxWebFrame::LoadURL):
2199
2200 2009-01-31  Darin Adler  <darin@apple.com>
2201
2202         Build fix.
2203
2204         * WebView.cpp:
2205         (wxWebView::OnSize): call sendResizeEvent on EventHandler.
2206
2207 2009-01-29  David Kilzer  <ddkilzer@apple.com>
2208
2209         Build fix for Wx: Finish de-RefCount-ing FrameLoaderClientWx
2210
2211         * WebKitSupport/FrameLoaderClientWx.cpp:
2212         (WebCore::FrameLoaderClientWx::ref): Removed.
2213         (WebCore::FrameLoaderClientWx::deref): Removed.
2214         * WebKitSupport/FrameLoaderClientWx.h: Ditto.
2215
2216 2009-01-28  David Kilzer  <ddkilzer@apple.com>
2217
2218         Bug 23490: Remove initialRefCount argument from RefCounted class
2219
2220         <https://bugs.webkit.org/show_bug.cgi?id=23490>
2221
2222         Reviewed by Darin Adler.
2223
2224         FrameLoaderClientWx is no longer a RefCounted class.
2225
2226         * WebKitSupport/FrameLoaderClientWx.cpp:
2227         (WebCore::FrameLoaderClientWx::FrameLoaderClientWx): Removed call
2228         to the RefCounted<FrameLoaderClientWx>(0) super constructor.
2229         * WebKitSupport/FrameLoaderClientWx.h: Don't include RefCounted.h
2230         and stop inheriting from RefCounted<FrameLoaderClientWx>.
2231
2232 2009-01-27  Brady Eidson  <beidson@apple.com>
2233
2234         Reviewed by Dan Bernstein
2235
2236         Rework FrameLoaderClient to work on a CachedFrame basis instead of CachedPage
2237
2238         * WebKitSupport/FrameLoaderClientWx.cpp:
2239         (WebCore::FrameLoaderClientWx::savePlatformDataToCachedFrame):
2240         (WebCore::FrameLoaderClientWx::transitionToCommittedFromCachedFrame):
2241         * WebKitSupport/FrameLoaderClientWx.h:
2242
2243 2009-01-23  Kevin Ollivier  <kevino@theolliviers.com>
2244
2245         wx build fix, add missing include dir.
2246
2247         * presets/wxwebkit.bkl:
2248
2249 2009-01-19  Sam Weinig  <sam@webkit.org>
2250
2251         Rubber-stamped by Gavin Barraclough.
2252
2253         Remove temporary operator-> from JSValuePtr.
2254
2255         * WebFrame.cpp:
2256         (wxWebFrame::RunScript):
2257
2258 2009-01-14  miggilin  <mr.diggilin@gmail.com>
2259
2260         Reviewed by Kevin Ollivier.
2261
2262         Fixing wx compilation for wx 2.9/trunk.
2263
2264         * WebFrame.cpp:
2265         (wxWebFrame::SetPageSource):
2266         * WebView.cpp:
2267
2268 2009-01-12  Kevin Ollivier  <kevino@theolliviers.com>
2269
2270         wx build fix. JSValue* -> JSValuePtr.
2271
2272         * WebFrame.cpp:
2273         (wxWebFrame::RunScript):
2274
2275 2009-01-05  Adam Treat  <adam.treat@torchmobile.com>
2276
2277         Reviewed by George Staikos.
2278
2279         Build fix for contentsSizeChanged
2280
2281         * WebKitSupport/ChromeClientWx.cpp:
2282         (WebCore::ChromeClientWx::contentsSizeChanged):
2283         * WebKitSupport/ChromeClientWx.h:
2284
2285 2008-12-19  miggilin  <mr.diggilin@gmail.com>
2286
2287         Reviewed by Kevin Ollivier.
2288
2289         Add Context Menu support to wx bindings.
2290         
2291         https://bugs.webkit.org/show_bug.cgi?id=22675
2292
2293         * WebKitSupport/ContextMenuClientWx.cpp:
2294         (WebCore::ContextMenuClientWx::contextMenuDestroyed):
2295         (WebCore::ContextMenuClientWx::getCustomMenuFromDefaultItems):
2296         * WebView.cpp:
2297         (wxWebView::OnMouseEvents):
2298         (wxWebView::OnContextMenuEvents):
2299         (wxWebView::OnMenuSelectEvents):
2300         * WebView.h:
2301
2302
2303 2008-12-19  Kevin Ollivier  <kevino@theolliviers.com>
2304
2305         wx build fixes after recent changes.
2306
2307         * presets/wxwebkit.bkl:
2308
2309 2008-12-18  Dan Bernstein  <mitz@apple.com>
2310
2311         Reviewed by Sam Weinig.
2312
2313         - stub out FrameLoaderClient::shouldUseCredentialStorage().
2314
2315         * WebKitSupport/FrameLoaderClientWx.cpp:
2316         (WebCore::FrameLoaderClientWx::shouldUseCredentialStorage):
2317         * WebKitSupport/FrameLoaderClientWx.h:
2318
2319 2008-12-18  Sam Weinig  <sam@webkit.org>
2320
2321         Reviewed by John Sullivan.
2322
2323         Stub out FrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout()
2324
2325         * WebKitSupport/FrameLoaderClientWx.cpp:
2326         (WebCore::FrameLoaderClientWx::dispatchDidFirstVisuallyNonEmptyLayout):
2327         * WebKitSupport/FrameLoaderClientWx.h:
2328
2329 2008-12-13  Kevin Watters  <kevinwatters@gmail.com>
2330
2331         Reviewed by Kevin Ollivier.
2332
2333         Expose findString in wxWebView as FindString.
2334
2335         https://bugs.webkit.org/show_bug.cgi?id=22458
2336
2337         * WebView.cpp:
2338         (wxWebView::FindString):
2339         * WebView.h:
2340
2341 2008-12-09  Brett Wilson  <brettw@chromium.org>
2342
2343         Reviewed by Dave Hyatt.
2344
2345         https://bugs.webkit.org/show_bug.cgi?id=22177
2346
2347         Add a callback on ChromeClient that the state of form elements on
2348         the page has changed. This is to allow clients implementing session
2349         saving to know when the current state is dirty.
2350
2351         * WebKitSupport/ChromeClientWx.h:
2352         (WebCore::ChromeClientWx::formStateDidChange):
2353
2354 2008-12-02  Kevin Watters  <kevinwatters@gmail.com>
2355
2356         Reviewed by Kevin Ollivier.
2357
2358         Add HitTest to wxWebView (and wxWebFrame).
2359         
2360         https://bugs.webkit.org/show_bug.cgi?id=22459
2361
2362         * WebFrame.cpp:
2363         (wxWebFrame::HitTest):
2364         * WebFrame.h:
2365         * WebView.cpp:
2366         (wxWebView::HitTest):
2367         * WebView.h:
2368
2369 2008-11-24  Darin Fisher  <darin@chromium.org>
2370
2371         Fix bustage.
2372
2373         http://bugs.webkit.org/show_bug.cgi?id=15643
2374
2375         * WebKitSupport/EditorClientWx.cpp:
2376         (WebCore::EditorClientWx::isSelectTrailingWhitespaceEnabled):
2377         * WebKitSupport/EditorClientWx.h:
2378
2379 2008-11-24  Darin Adler  <darin@apple.com>
2380
2381         Reviewed by Dan Bernstein.
2382
2383         - https://bugs.webkit.org/show_bug.cgi?id=22470
2384           remove unneeded URL argument from FrameLoaderClient::updateGlobalHistory
2385
2386         * WebKitSupport/FrameLoaderClientWx.cpp:
2387         (WebCore::FrameLoaderClientWx::updateGlobalHistory): Remove argument.
2388         * WebKitSupport/FrameLoaderClientWx.h: Ditto.
2389
2390 2008-11-21  Kevin Watters  <kevinwatters@gmail.com>
2391
2392         Reviewed by Kevin Ollivier.
2393
2394         Maintain an EditCommand stack in WebFramePrivate, and expose Undo and
2395         Redo in wxWebView.
2396         
2397         https://bugs.webkit.org/show_bug.cgi?id=22403
2398
2399         * WebFrame.cpp:
2400         (wxWebFrame::wxWebFrame):
2401         (wxWebFrame::Undo):
2402         (wxWebFrame::Redo):
2403         (wxWebFrame::CanUndo):
2404         (wxWebFrame::CanRedo):
2405         * WebFrame.h:
2406         * WebFramePrivate.h: Added.
2407         (WebFramePrivate::WebFramePrivate):
2408         * WebKitSupport/ChromeClientWx.cpp:
2409         (WebCore::ChromeClientWx::createWindow):
2410         * WebKitSupport/EditCommandWx.h: Added.
2411         (EditCommandWx::EditCommandWx):
2412         (EditCommandWx::~EditCommandWx):
2413         (EditCommandWx::editCommand):
2414         * WebKitSupport/EditorClientWx.cpp:
2415         (WebCore::EditorClientWx::registerCommandForUndo):
2416         (WebCore::EditorClientWx::registerCommandForRedo):
2417         (WebCore::EditorClientWx::canUndo):
2418         (WebCore::EditorClientWx::canRedo):
2419         (WebCore::EditorClientWx::undo):
2420         (WebCore::EditorClientWx::redo):
2421         * WebKitSupport/EditorClientWx.h:
2422         * WebView.cpp:
2423         (wxWebView::OnMouseEvents):
2424         (wxWebView::OnKeyEvents):
2425         * WebViewPrivate.h:
2426
2427 2008-11-19  Darin Fisher  <darin@chromium.org>
2428
2429         Reviewed by Geoff Garen.
2430
2431         https://bugs.webkit.org/show_bug.cgi?id=22345
2432         Define ScriptValue as a thin container for a JSC::Value*.
2433
2434         * WebFrame.cpp:
2435         (wxWebFrame::RunScript):
2436
2437 2008-11-17  Geoffrey Garen  <ggaren@apple.com>
2438
2439         Reviewed by Sam Weinig.
2440         
2441         Updated for JavaScriptCore renames.
2442
2443         * presets/wxwebkit.bkl:
2444
2445 2008-11-17  Geoffrey Garen  <ggaren@apple.com>
2446
2447         Reviewed by Sam Weinig.
2448         
2449         Updated for JavaScriptCore renames.
2450
2451         * presets/wxwebkit.bkl:
2452
2453 2008-11-17  Geoffrey Garen  <ggaren@apple.com>
2454
2455         Not reviewed.
2456         
2457         Try to fix wx build.
2458
2459         * presets/wxwebkit.bkl:
2460
2461 2008-11-15  Kevin Watters  <kevinwatters@gmail.com>
2462
2463         Reviewed by Kevin Ollivier.
2464
2465         Add API for setting transparent webview background.
2466         
2467         https://bugs.webkit.org/show_bug.cgi?id=22281
2468
2469         * WebView.cpp:
2470         (wxWebView::SetTransparent):
2471         (wxWebView::IsTransparent):
2472         * WebView.h:
2473
2474 2008-11-11  Cameron Zwarich  <zwarich@apple.com>
2475
2476         Reviewed by Geoff Garen.
2477
2478         Remove pointless dependencies on the deleted kjs directory.
2479
2480         * presets/wxwebkit.bkl:
2481
2482 2008-11-08  Kevin Ollivier  <kevino@theolliviers.com>
2483
2484         wx build fixes after addition of JSCore parser and bycompiler dirs. 
2485
2486         * presets/wxwebkit.bkl:
2487
2488 2008-11-05  Cameron Zwarich  <zwarich@apple.com>
2489
2490         Rubber-stamped by Sam Weinig.
2491
2492         Move more files to the runtime subdirectory of JavaScriptCore.
2493
2494         * WebFrame.cpp:
2495         * WebView.cpp:
2496
2497 2008-10-31  Kevin Ollivier  <kevino@theolliviers.com>
2498
2499         wxMSW build fix. Missing header.
2500
2501         * WebKitSupport/ChromeClientWx.cpp:
2502
2503 2008-10-29  Kevin Ollivier  <kevino@theolliviers.com>
2504
2505         wx build fixes after addition of runtime and ImageBuffer changes.
2506
2507         * presets/wxwebkit.bkl:
2508
2509 2008-10-28  Cameron Zwarich  <zwarich@apple.com>
2510
2511         Reviewed by Mark Rowe.
2512
2513         Move ForwardingHeaders to their correct location after the creation of
2514         the runtime directory in JavaScriptCore.
2515
2516         * WebFrame.cpp:
2517         * WebView.cpp:
2518
2519 2008-10-27  Kevin Ollivier  <kevino@theolliviers.com>
2520
2521         wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
2522
2523         * presets/wxwebkit.bkl:
2524
2525 2008-10-25  Kevin Ollivier  <kevino@theolliviers.com>
2526
2527         wx build fix.
2528
2529         * WebKitSupport/ChromeClientWx.h:
2530
2531 2008-10-24  Sam Weinig  <sam@webkit.org>
2532
2533         Reviewed by Dan Bernstein.
2534
2535         Fix https://bugs.webkit.org/show_bug.cgi?id=21759
2536         Layering violation: FileChooser should not depend on Document/Frame/Page
2537
2538         * WebKitSupport/ChromeClientWx.cpp:
2539         (WebCore::ChromeClientWx::runOpenPanel):
2540         * WebKitSupport/ChromeClientWx.h:
2541
2542 2008-10-24  David Kilzer  <ddkilzer@apple.com>
2543
2544         Build fix.
2545
2546         Reviewed by Greg Bolsinga.
2547
2548         * WebKitSupport/InspectorClientWx.cpp:
2549         (WebCore::InspectorClientWx::populateSetting): Changed
2550         InspectorClient:: to InspectorClientWx::.
2551         (WebCore::InspectorClientWx::storeSetting): Ditto.
2552         (WebCore::InspectorClientWx::removeSetting): Ditto.
2553
2554 2008-10-24  Timothy Hatcher  <timothy@apple.com>
2555
2556         Stub out new InspectorClient methods.
2557
2558         https://bugs.webkit.org/show_bug.cgi?id=21856
2559
2560         Reviewed by Darin Adler.
2561
2562         * WebKitSupport/InspectorClientWx.cpp:
2563         (WebCore::InspectorClient::populateSetting): Not implemented.
2564         (WebCore::InspectorClient::storeSetting): Ditto.
2565         (WebCore::InspectorClient::removeSetting): Ditto.
2566         * WebKitSupport/InspectorClientWx.h:
2567
2568 2008-10-24  Darin Adler  <darin@apple.com>
2569
2570         - finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
2571
2572         * WebFrame.cpp: (wxWebFrame::RunScript): Use JSValue* instead of JSValuePtr.
2573
2574 2008-10-20  Sam Weinig  <sam@webkit.org>
2575
2576         Reviewed by Anders Carlsson.
2577
2578         Remove FrameLoaderClient::detachedFromParent4.  It is no longer used by any port.
2579
2580         * WebKitSupport/FrameLoaderClientWx.cpp:
2581         * WebKitSupport/FrameLoaderClientWx.h:
2582
2583 2008-10-19  Darin Adler  <darin@apple.com>
2584
2585         Reviewed by Oliver Hunt.
2586
2587         - next step of https://bugs.webkit.org/show_bug.cgi?id=21732
2588           improve performance by eliminating JSValue as a base class for JSCell
2589
2590         Remove most uses of JSValue, which will be removed in a future patch.
2591
2592         * WebFrame.cpp:
2593         (wxWebFrame::RunScript): Use JSValuePtr.
2594
2595 2008-10-17  Kevin Watters  <kevinwatters@gmail.com>
2596         
2597         Reviewed by Kevin Ollivier
2598
2599         Fix wx port's scrollbar and drawing handling after recent changes.
2600         
2601         https://bugs.webkit.org/show_bug.cgi?id=21720
2602
2603         * WebView.cpp:
2604         (wxWebView::OnPaint):
2605         (wxWebView::OnSize):
2606
2607 2008-10-09  Kevin Ollivier  <kevino@theolliviers.com>
2608
2609         wx build fixes.
2610
2611         * WebKitSupport/ChromeClientWx.cpp:
2612         (WebCore::ChromeClientWx::repaint):
2613         (WebCore::ChromeClientWx::scroll):
2614         * WebKitSupport/ChromeClientWx.h:
2615         * presets/wxwebkit.bkl:
2616
2617 2008-10-06  David Hyatt  <hyatt@apple.com>
2618
2619         Enable viewless Mac WebKit to paint some basic pages.
2620         
2621         Reviewed by Sam Weinig
2622
2623         * WebKitSupport/FrameLoaderClientWx.cpp:
2624         * WebKitSupport/FrameLoaderClientWx.h:
2625
2626 2008-10-03  David Hyatt  <hyatt@apple.com>
2627
2628          Remove addToDirtyRegion.
2629         
2630          Reviewed by Oliver Hunt
2631
2632         * WebKitSupport/ChromeClientWx.cpp:
2633
2634 2008-10-02  Kevin Ollivier  <kevino@theolliviers.com>
2635
2636         wx build fixes after Frame/ScrollView changes.
2637
2638         * WebView.cpp:
2639         (wxWebView::OnPaint):
2640
2641 2008-10-01  David Hyatt  <hyatt@apple.com>
2642
2643         https://bugs.webkit.org/show_bug.cgi?id=21282
2644         
2645         Make contentsToScreen/screenToContents cross-platform.  Only implemented by Mac/Win right now.
2646     
2647         Reviewed by Adam Roben
2648
2649         * WebKitSupport/ChromeClientWx.cpp:
2650         (WebCore::ChromeClientWx::windowToScreen):
2651         (WebCore::ChromeClientWx::screenToWindow):
2652         * WebKitSupport/ChromeClientWx.h:
2653
2654 2008-09-30  Dave Hyatt  <hyatt@apple.com>
2655
2656         http://bugs.webkit.org/show_bug.cgi?id=21250
2657         
2658         Rename updateContents to repaintContentRectangle and make it cross-platform by always sending
2659         repaints up through the ChromeClient.
2660
2661         Reviewed by Darin Adler
2662
2663         * WebKitSupport/ChromeClientWx.cpp:
2664         (WebCore::ChromeClientWx::repaint):
2665         * WebKitSupport/ChromeClientWx.h:
2666
2667 2008-09-26  Kevin Ollivier  <kevino@theolliviers.com>
2668
2669         wx build fixes after Widget/ScrollView changes.
2670
2671         * WebKitSupport/FrameLoaderClientWx.cpp:
2672         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
2673
2674 2008-09-20  Kevin Ollivier  <kevino@theolliviers.com>
2675
2676         Reviewed by Dan Bernstein.
2677         
2678         Fix memory leak.
2679         
2680         https://bugs.webkit.org/show_bug.cgi?id=20505
2681
2682         * WebView.cpp:
2683         (wxWebView::OnPaint):
2684
2685 2008-09-20  Kevin Ollivier  <kevino@theolliviers.com>
2686
2687         wx build fixes. Added/removed build sources, and nativeWindow->platformWidget updates.
2688
2689         * WebKitSupport/EditorClientWx.cpp:
2690         (WebCore::EditorClientWx::isEditable):
2691         * WebKitSupport/FrameLoaderClientWx.cpp:
2692         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
2693
2694 2008-09-07  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
2695
2696         Reviewed by Maciej Stachowiak.
2697
2698         Bug 20704: Replace the KJS namespace
2699         <https://bugs.webkit.org/show_bug.cgi?id=20704>
2700
2701         Rename the KJS namespace to JSC.
2702
2703         * WebFrame.cpp:
2704         (wxWebFrame::RunScript):
2705
2706 2008-09-04  Kevin Ollivier  <kevino@theolliviers.com>
2707
2708         wx build fixes.
2709         
2710         * WebKitSupport/FrameLoaderClientWx.cpp:
2711         (WebCore::FrameLoaderClientWx::pluginWillHandleLoadError):
2712         * WebKitSupport/FrameLoaderClientWx.h:
2713
2714 2008-08-18  Kevin Ollivier  <kevino@theolliviers.com>
2715
2716         Build fix for Win. Don't include the libxml/libxslt directories in the
2717         include path, it picks up the wrong Pattern.h in that case.
2718
2719         * dependencies.bkl:
2720
2721 2008-08-12  Timothy Hatcher  <timothy@apple.com>
2722
2723         Add a stub for InspectorClient::setAttachedWindowHeight.
2724
2725         * WebKitSupport/InspectorClientWx.cpp:
2726         (WebCore::InspectorClientWx::setAttachedWindowHeight):
2727         Call notImplemented().
2728         * WebKitSupport/InspectorClientWx.h:
2729
2730 2008-08-06  Kevin Watters  <kevinwatters@gmail.com>
2731
2732         Reviewed by Kevin Ollivier.
2733         
2734         Create a wxWebFrame API to match other ports and to prepare for frames support.
2735         Also fixes a frame leak in wx port on trunk.
2736         
2737         https://bugs.webkit.org/show_bug.cgi?id=19041
2738
2739         * WebFrame.cpp: Added.
2740         (wxWebFrame::wxWebFrame):
2741         (wxWebFrame::~wxWebFrame):
2742         (wxWebFrame::GetFrame):
2743         (wxWebFrame::Stop):
2744         (wxWebFrame::Reload):
2745         (wxWebFrame::GetPageSource):
2746         (wxWebFrame::SetPageSource):
2747         (wxWebFrame::GetInnerText):
2748         (wxWebFrame::GetAsMarkup):
2749         (wxWebFrame::GetExternalRepresentation):
2750         (wxWebFrame::RunScript):
2751         (wxWebFrame::LoadURL):
2752         (wxWebFrame::GoBack):
2753         (wxWebFrame::GoForward):
2754         (wxWebFrame::CanGoBack):
2755         (wxWebFrame::CanGoForward):
2756         (wxWebFrame::CanIncreaseTextSize):
2757         (wxWebFrame::IncreaseTextSize):
2758         (wxWebFrame::CanDecreaseTextSize):
2759         (wxWebFrame::DecreaseTextSize):
2760         (wxWebFrame::MakeEditable):
2761         (wxWebFrame::CanCopy):
2762         (wxWebFrame::Copy):
2763         (wxWebFrame::CanCut):
2764         (wxWebFrame::Cut):
2765         (wxWebFrame::CanPaste):
2766         (wxWebFrame::Paste):
2767         * WebFrame.h: Added.
2768         * WebView.cpp:
2769         (wxWebView::wxWebView):
2770         (wxWebView::Create):
2771         (wxWebView::~wxWebView):
2772         (wxWebView::Stop):
2773         (wxWebView::Reload):
2774         (wxWebView::GetPageSource):
2775         (wxWebView::SetPageSource):
2776         (wxWebView::GetInnerText):
2777         (wxWebView::GetAsMarkup):
2778         (wxWebView::GetExternalRepresentation):
2779         (wxWebView::RunScript):
2780         (wxWebView::LoadURL):
2781         (wxWebView::GoBack):
2782         (wxWebView::GoForward):
2783         (wxWebView::CanGoBack):
2784         (wxWebView::CanGoForward):
2785         (wxWebView::CanIncreaseTextSize):
2786         (wxWebView::IncreaseTextSize):
2787         (wxWebView::CanDecreaseTextSize):
2788         (wxWebView::DecreaseTextSize):
2789         (wxWebView::OnPaint):
2790         (wxWebView::OnSize):
2791         (wxWebView::OnMouseEvents):
2792         (wxWebView::CanCopy):
2793         (wxWebView::Copy):
2794         (wxWebView::CanCut):
2795         (wxWebView::Cut):
2796         (wxWebView::CanPaste):
2797         (wxWebView::Paste):
2798         (wxWebView::OnKeyEvents):
2799         (wxWebView::OnSetFocus):
2800         (wxWebView::OnKillFocus):
2801         * WebView.h:
2802         * wxwebkit.bkl:
2803
2804 2008-07-27  Kevin Watters  <kevinwatters@gmail.com>
2805
2806         Reviewed by Sam Weinig.
2807
2808         Add tooltip support to the wx port.
2809         
2810         https://bugs.webkit.org/show_bug.cgi?id=20173
2811
2812         * WebKitSupport/ChromeClientWx.cpp:
2813         (WebCore::ChromeClientWx::setToolTip):
2814         * WebView.cpp:
2815         (wxWebView::OnMouseEvents): Use mouseMoved instead of handleMouseMoveEvent.
2816
2817 2008-07-21  Kevin Ollivier  <kevino@theolliviers.com>
2818
2819         wx build fix. Fix pthread linkage under Linux.
2820
2821         * dependencies.bkl:
2822
2823 2008-06-15  Darin Adler  <darin@apple.com>
2824
2825         - give Frame object functions shorter names: scriptProxy() -> script(),
2826           selectionController() -> selection(), animationController() -> animation()
2827
2828         * WebKitSupport/EditorClientWx.cpp:
2829         (WebCore::EditorClientWx::handleKeyboardEvent):
2830         * WebView.cpp:
2831         (wxWebView::RunScript):
2832         (wxWebView::OnSetFocus):
2833         (wxWebView::OnKillFocus):
2834
2835 2008-06-15  Darin Adler  <darin@apple.com>
2836
2837         - new names for a few key JavaScriptCore files
2838
2839         * WebView.cpp:
2840
2841 2008-06-14  Darin Adler  <darin@apple.com>
2842
2843         Rubber stamped by Sam.
2844
2845         - new names for kjs_binding.h and kjs_proxy.h
2846
2847         * WebView.cpp:
2848
2849 2008-06-14  Darin Adler  <darin@apple.com>
2850
2851         - try to fix wx build, again
2852
2853         * WebView.cpp:
2854         (wxWebView::Create): Use create function instead of new.
2855
2856 2008-06-14  Darin Adler  <darin@apple.com>
2857
2858         Reviewed by Sam.
2859
2860         - more https://bugs.webkit.org/show_bug.cgi?id=17257
2861           start ref counts at 1 instead of 0 for speed
2862
2863         * WebKitSupport/FrameLoaderClientWx.cpp:
2864         (WebCore::FrameLoaderClientWx::createDocumentLoader): Use create function
2865         instead of new.
2866
2867 2008-06-13  Darin Adler  <darin@apple.com>
2868
2869         - try to fix build
2870
2871         * WebKitSupport/FrameLoaderClientWx.h: Add missing argument.
2872
2873 2008-06-13  Darin Adler  <darin@apple.com>
2874
2875         Reviewed by John Sullivan.
2876
2877         - updated for addition of FormState argument to action policy functions
2878
2879         * WebKitSupport/FrameLoaderClientWx.cpp:
2880         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
2881         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
2882
2883 2008-06-10  Kevin Ollivier  <kevino@theolliviers.com>
2884
2885         wx Linux build fix. Only use -undefined dynamic_lookup flag under Mac.
2886
2887         * bindings/python/wxwebkit-py.bkl:
2888
2889 2008-05-28  Robin Dunn  <robin@alldunn.com>
2890
2891         Reviewed by Kevin Ollivier.
2892
2893         This patch adds a new wx event type and code to send it when a new title is set
2894         by the page being loaded.
2895         
2896         https://bugs.webkit.org/show_bug.cgi?id=19067
2897
2898         * WebKitSupport/FrameLoaderClientWx.cpp:
2899         (WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
2900         * WebView.cpp:
2901         (wxWebViewReceivedTitleEvent::wxWebViewReceivedTitleEvent):
2902         * WebView.h:
2903         * bindings/python/webview.i:
2904
2905 2008-05-28  Robin Dunn  <robin@alldunn.com>
2906
2907         Reviewed by Kevin Ollivier.
2908         
2909         This patch tweaks the wxWebView class to make it conform to normal wx patterns
2910         for widget classes.  It adds a default ctor and the Create method so it can use
2911         the 2-phase create pattern, adds wxRTTI macros which is important for wxPython
2912         and XRC, and fixes the LoadURL method to pass a wxString reference to save a
2913         copy.
2914         
2915         https://bugs.webkit.org/show_bug.cgi?id=19068
2916
2917         * WebView.cpp:
2918         (wxWebView::wxWebView):
2919         (wxWebView::Create):
2920         (wxWebView::LoadURL):
2921         * WebView.h:
2922
2923 2008-05-27  Kevin Ollivier  <kevino@theolliviers.com>
2924
2925         wx build fix. Accidently left a couple fixes out of the previous commit.
2926
2927         * presets/wxwebkit.bkl:
2928
2929 2008-05-16  Kevin Ollivier  <kevino@theolliviers.com>
2930
2931         Reviewed by Darin Adler.
2932         
2933         Rename wxWebFrame -> wxWebBrowserShell in preparation to introduce a WebFrame
2934         counterpart in wx port. (Frame typically means 'top level window' in wx terms.)
2935         
2936         https://bugs.webkit.org/show_bug.cgi?id=19041
2937
2938         * WebBrowserShell.cpp: Copied from WebKit/wx/WebFrame.cpp.
2939         (wxWebBrowserShell::wxWebBrowserShell):
2940         (wxWebBrowserShell::~wxWebBrowserShell):
2941         (wxWebBrowserShell::ShowDebugMenu):
2942         (wxWebBrowserShell::OnQuit):
2943         (wxWebBrowserShell::OnAbout):
2944         (wxWebBrowserShell::OnLoadFile):
2945         (wxWebBrowserShell::OnLoadEvent):
2946         (wxWebBrowserShell::OnBeforeLoad):
2947         (wxWebBrowserShell::OnAddressBarEnter):
2948         (wxWebBrowserShell::OnSearchCtrlEnter):
2949         (wxWebBrowserShell::OnBack):
2950         (wxWebBrowserShell::OnForward):
2951         (wxWebBrowserShell::OnStop):
2952         (wxWebBrowserShell::OnReload):
2953         (wxWebBrowserShell::OnMakeTextLarger):
2954         (wxWebBrowserShell::OnMakeTextSmaller):
2955         (wxWebBrowserShell::OnGetSource):
2956         (wxWebBrowserShell::OnSetSource):
2957         (wxWebBrowserShell::OnBrowse):
2958         (wxWebBrowserShell::OnEdit):
2959         (wxWebBrowserShell::OnRunScript):
2960         * WebBrowserShell.h: Copied from WebKit/wx/WebFrame.h.
2961         * WebFrame.cpp: Removed.
2962         * WebFrame.h: Removed.
2963         * WebKitSupport/ChromeClientWx.cpp:
2964         (WebCore::ChromeClientWx::createWindow):
2965         * bindings/python/webview.i:
2966         * wxwebkit.bkl:
2967
2968 2008-05-20  Kevin Ollivier  <kevino@theolliviers.com>
2969
2970         wx build fix. Update code after removal of Document::toString().
2971
2972         * WebView.cpp:
2973         (wxWebView::GetPageSource):
2974
2975 2008-05-15  Kevin Ollivier  <kevino@theolliviers.com>
2976
2977         wx build fix. Add rendering/style to includes dir.
2978
2979         * presets/wxwebkit.bkl:
2980
2981 2008-05-11  Kevin Ollivier  <kevino@theolliviers.com>
2982
2983         Previous commit made bdash sad. Restore happiness state by fixing missed style issue. 
2984
2985         * WebKitSupport/FrameLoaderClientWx.cpp:
2986         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
2987
2988 2008-05-11  Robin Dunn  <robin@alldunn.com>
2989
2990         Reviewed by Kevin Ollivier.
2991         
2992         Fix scrolling issues by implementing transitionToCommittedNewPage() so the scroll
2993         positions are reset when a new page is loaded, and also maintained so that back
2994         and next restore the scroll positions as well. This also simplifies the logic
2995         for initializing and managing wxWebView.
2996         
2997         https://bugs.webkit.org/show_bug.cgi?id=18992
2998
2999         * WebKitSupport/FrameLoaderClientWx.cpp:
3000         (WebCore::FrameLoaderClientWx::setWebView):
3001         (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
3002         (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
3003         (WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
3004         (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
3005         (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
3006         (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
3007         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
3008         (WebCore::FrameLoaderClientWx::createFrame):
3009         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
3010         * WebKitSupport/FrameLoaderClientWx.h:
3011         * WebView.cpp:
3012         (wxWebView::wxWebView):
3013         (wxWebView::~wxWebView):
3014         (wxWebView::GetPageSource):
3015         (wxWebView::GetInnerText):
3016         (wxWebView::GetExternalRepresentation):
3017         (wxWebView::OnPaint):
3018         (wxWebView::OnSize):
3019         (wxWebView::OnMouseEvents):
3020         (wxWebView::CanCopy):
3021         (wxWebView::CanCut):
3022         (wxWebView::CanPaste):
3023         (wxWebView::OnKeyEvents):
3024         * WebViewPrivate.h:
3025         (WebViewPrivate::WebViewPrivate):
3026
3027 2008-05-04  Robin Dunn  <robin@alldunn.com>
3028
3029         Reviewed by Kevin Ollivier.
3030         
3031         Allow events to specify the ID of the particular wxWebView they are to be sent to.
3032         
3033         https://bugs.webkit.org/show_bug.cgi?id=18659
3034
3035         * WebFrame.cpp:
3036         (wxWebFrame::wxWebFrame):
3037         * WebView.cpp:
3038         (wxWebViewLoadEvent::wxWebViewLoadEvent):
3039         (wxWebViewBeforeLoadEvent::wxWebViewBeforeLoadEvent):
3040         (wxWebViewNewWindowEvent::wxWebViewNewWindowEvent):
3041         (wxWebViewRightClickEvent::wxWebViewRightClickEvent):
3042         (wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
3043         * WebView.h:
3044         * bindings/python/webview.i:
3045
3046 2008-04-27  Robin Dunn  <robin@alldunn.com>
3047
3048         Reviewed by Kevin Ollivier.
3049         
3050         Add methods to check if there is a previous/next page in the history. Also some
3051         coding style cleanup.
3052         
3053         https://bugs.webkit.org/show_bug.cgi?id=18757
3054
3055         * WebView.cpp:
3056         (wxWebView::GoBack):
3057         (wxWebView::GoForward):
3058         (wxWebView::CanGoBack):
3059         (wxWebView::CanGoForward):
3060         * WebView.h:
3061
3062 2008-04-24  Anders Carlsson  <andersca@apple.com>
3063
3064         Reviewed by Sam.
3065
3066         Change some String arguments to be const references instead.
3067
3068         * WebKitSupport/EditorClientWx.cpp:
3069         (WebCore::EditorClientWx::shouldInsertText):
3070         * WebKitSupport/EditorClientWx.h:
3071
3072 2008-04-23  Kevin Ollivier  <kevino@theolliviers.com>
3073
3074         Reviewed by Alp Toker.
3075         
3076         Typo fix to restore text entry.
3077
3078         * WebKitSupport/EditorClientWx.cpp:
3079         (WebCore::EditorClientWx::handleKeyboardEvent):
3080
3081 2008-04-19  Kevin Ollivier  <kevino@theolliviers.com>
3082
3083         wx build fix. renderer() -> contentRenderer()
3084
3085         * WebView.cpp:
3086         (wxWebView::GetExternalRepresentation):
3087         (wxWebView::OnPaint):
3088
3089 2008-04-18  Kevin Ollivier  <kevino@theolliviers.com>
3090
3091         wx build fix. We need to use ENABLE_DOM_STORAGE now.
3092
3093         * wxwk-settings.bkl:
3094
3095 2008-04-05  Kevin Ollivier  <kevino@theolliviers.com>
3096
3097         Rubber stamped by Mark Rowe.
3098
3099         Don't assume wxWebKit to be part of the wx package. This allows
3100         us to run it from any directory on the PYTHONPATH rather than
3101         having to copy files into the wxPython directory.
3102
3103         * bindings/python/webview.i:
3104
3105 2008-03-25  Brady Eidson  <beidson@apple.com>
3106
3107         Reviewed by Darin
3108
3109         Remove newly obsolete FrameLoaderClient methods
3110
3111         * WebKitSupport/FrameLoaderClientWx.cpp:
3112         * WebKitSupport/FrameLoaderClientWx.h:
3113
3114 2008-03-16  Kevin Ollivier  <kevino@theolliviers.com>
3115
3116         wx build fix. Make sure we link png/jpeg libraries before
3117         wx libraries to get the right symbols.
3118
3119         * wxwebkit.bkl:
3120         * wxwk-settings.bkl:
3121
3122 2008-03-16  Kevin Ollivier  <kevino@theolliviers.com>
3123
3124         Rubber stamped by Darin Adler.
3125
3126         Add set-webkit-configuration support for wx port, and centralize
3127         build dir location setting.
3128
3129         http://bugs.webkit.org/show_bug.cgi?id=17790
3130
3131         * bindings/python/wxwebkit-py.bkl:
3132         * presets/wxwebkit.bkl:
3133         * wxwebkit.bkl:
3134         * wxwk-settings.bkl:
3135
3136 2008-03-12  David Hyatt  <hyatt@apple.com>
3137
3138         Make the zoom factor a float and not a percent.
3139
3140         Reviewed by antti
3141
3142         * WebView.cpp:
3143         (wxWebView::IncreaseTextSize):
3144         (wxWebView::DecreaseTextSize):
3145
3146 2008-03-03  Kevin Ollivier  <kevino@theolliviers.com>
3147
3148         wx build fix after Frame::setZoomFactor API change.
3149
3150         * WebView.cpp:
3151         (wxWebView::IncreaseTextSize):
3152         (wxWebView::DecreaseTextSize):
3153
3154 2008-02-24  Darin Adler  <darin@apple.com>
3155
3156         Reviewed by Sam.
3157
3158         - remove separate client calls for "standard" and "reload' history
3159
3160         * WebKitSupport/FrameLoaderClientWx.cpp:
3161         (WebCore::FrameLoaderClientWx::updateGlobalHistory):
3162         * WebKitSupport/FrameLoaderClientWx.h:
3163
3164 2008-02-23  Kevin Ollivier  <kevino@theolliviers.com>
3165
3166         Reviewed by Darin Adler.
3167
3168         Move text drawing into wxcode, as we need platform-dependent
3169         APIs for drawing non-kerned text, which wx doesn't yet have.
3170         (But hopefully will, once these APIs are fleshed out on all 
3171         platforms!)
3172
3173         http://bugs.webkit.org/show_bug.cgi?id=17396
3174
3175         * wxwebkit.bkl:
3176         We need to directly link against GDI+ on Windows since we now
3177         directly call GDI+ APIs.
3178
3179 2008-02-14  Darin Adler  <darin@apple.com>
3180
3181         * WebView.cpp: Removed use of DeprecatedString to keep this compiling.
3182
3183 2008-02-11  Kevin Ollivier <kevino@theolliviers.com>
3184
3185         Reviewed by Darin Adler.
3186
3187         A couple quick wx fixes.
3188         
3189         http://bugs.webkit.org/show_bug.cgi?id=17321
3190
3191         * WebView.cpp:
3192         (wxWebView::OnPaint):
3193         Make sure wxGCDC has its paint origin set properly after
3194         the move to wxWindow for scrolling.
3195         * bindings/python/webview.i:
3196         Update the wxPython bindings after event rename.
3197
3198 2008-02-10  Darin Adler  <darin@apple.com>
3199
3200         Reviewed by Eric.
3201
3202         - http://bugs.webkit.org/show_bug.cgi?id=17256
3203           eliminate default ref. count of 0 in RefCounted class
3204
3205         * WebKitSupport/FrameLoaderClientWx.cpp:
3206         (WebCore::FrameLoaderClientWx::FrameLoaderClientWx):
3207         Set the count to 0 explicitly (one stray client I missed in my last pass).
3208
3209 2008-02-03  Kevin Ollivier  <kevino@theolliviers.com>
3210
3211         Reviewed by Darin Adler.
3212
3213         Typo fix. Don't use the provisionalDocumentLoader() after the
3214         whole page has already been loaded.
3215
3216         * WebKitSupport/FrameLoaderClientWx.cpp:
3217         (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
3218
3219 2008-02-03  Kevin Ollivier  <kevino@theolliviers.com>
3220
3221         Build fix for last wx commit (a couple things were not committed). 
3222         Also fix some style issues.
3223
3224         * WebView.cpp:
3225         (wxWebView::wxWebView):
3226         (wxWebView::OnPaint):
3227         (wxWebView::OnSize):
3228         (wxWebView::CanCopy):
3229         (wxWebView::Copy):
3230         (wxWebView::CanCut):
3231         (wxWebView::Cut):
3232         (wxWebView::CanPaste):
3233         (wxWebView::Paste):
3234         (wxWebView::OnKeyEvents):
3235         (wxWebView::OnSetFocus):
3236         (wxWebView::OnKillFocus):
3237         (wxWebView::OnActivate):
3238         * WebView.h:
3239
3240 2008-01-31  Kevin Ollivier  <kevino@theolliviers.com>
3241
3242         Reviewed by Adam Roben.
3243
3244         On MSW, the wx port internally uses callbacks for wxTimer, so the
3245         wx port suffers from the same crash problem that was fixed
3246         in r28500 for the Windows port. For now, use the SharedTimerWin.cpp
3247         impl. for wx too on MSW, until a version of wx is released that
3248         fixes the issue by reworking wxTimer.
3249
3250         * WebView.cpp:
3251         (wxWebView::wxWebView):
3252
3253 2008-01-21  Darin Adler  <darin@apple.com>
3254
3255         Reviewed by John Sullivan.
3256
3257         - updated for changes to ChromeClient database functions
3258
3259         * WebKitSupport/ChromeClientWx.cpp:
3260         (WebCore::ChromeClientWx::exceededDatabaseQuota):
3261         * WebKitSupport/ChromeClientWx.h:
3262
3263 2008-01-16  Adam Roben  <aroben@apple.com>
3264
3265         Updated for WebCore method renames.
3266
3267         Reviewed by Darin Adler.
3268
3269         * WebView.cpp:
3270         (wxWebView::OnSetFocus):
3271         (wxWebView::OnKillFocus):
3272         (wxWebView::OnActivate):
3273
3274 2008-01-12  Kevin Ollivier  <kevino@theolliviers.com>
3275
3276         Reviewed by Darin Adler.
3277
3278         wxWebKit API changes in preparation for DRT implementation. 
3279         Specifically:
3280
3281         - Add CONSOLE_MESSAGE callback so clients can choose how to handle
3282         console messages.
3283         - Add more load events, and rename wxWebViewStateChangedEvent to 
3284         wxWebViewLoadEvent to reflect that all 'states' are load states.
3285         - Add wxWebView impls. for GetInnerText(), GetAsMarkup() and 
3286         GetExternalRepresentation()
3287
3288         * WebFrame.cpp:
3289         (wxWebFrame::OnLoadEvent):
3290         * WebFrame.h:
3291         * WebKitSupport/ChromeClientWx.cpp:
3292         (WebCore::ChromeClientWx::ChromeClientWx):
3293         (WebCore::ChromeClientWx::addMessageToConsole):
3294         * WebKitSupport/ChromeClientWx.h:
3295         * WebKitSupport/FrameLoaderClientWx.cpp:
3296         (WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
3297         (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
3298         (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
3299         (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
3300         (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
3301         * WebView.cpp:
3302         (wxWebViewLoadEvent::wxWebViewLoadEvent):
3303         (wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
3304         (wxWebView::wxWebView):
3305         (wxWebView::GetPageSource):
3306         (wxWebView::GetInnerText):
3307         (wxWebView::GetAsMarkup):
3308         (wxWebView::GetExternalRepresentation):
3309         * WebView.h:
3310
3311 2008-01-12  Kevin Ollivier  <kevino@theolliviers.com>
3312
3313         wx build fix. Add WebCore/icu/include dir for OS X boxes with
3314         only stock ICU installed.
3315
3316         * dependencies.bkl:
3317
3318 2008-01-10  Maciej Stachowiak  <mjs@apple.com>
3319
3320         Reviewed by Sam.
3321
3322         - remove SecurityOriginData and fold its functionality into SecurityOrigin
3323
3324         * WebKitSupport/ChromeClientWx.cpp:
3325         (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
3326         (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
3327         * WebKitSupport/ChromeClientWx.h:
3328
3329 2007-12-16  Darin Adler  <darin@apple.com>
3330
3331         - try to fix the build
3332
3333         * WebView.cpp:
3334         (wxWebView::OnKeyEvents): Add a WebCore prefix.
3335
3336 2007-12-16  Alexey Proskuryakov  <ap@webkit.org>
3337
3338         Reviewed by Darin Adler.
3339
3340         http://bugs.webkit.org/show_bug.cgi?id=16462
3341         REGRESSION: access keys broken on Windows
3342
3343         * WebView.cpp: (wxWebView::OnKeyEvents): Call handleAccessKey() as appropriate.
3344
3345 2007-12-14  Darin Adler  <darin@apple.com>
3346
3347         Reviewed by Alexey.
3348
3349         * WebKitSupport/EditorClientWx.cpp:
3350         (WebCore::EditorClientWx::handleKeyboardEvent): Switched from Editor::execCommand
3351         to Editor::command.
3352
3353 2007-12-12  Brady Eidson  <beidson@apple.com>
3354
3355         Reviewed by Sam Weinig
3356
3357         As part of doing some CachedPage and client cleanup, keep Wx building
3358
3359         * WebKitSupport/FrameLoaderClientWx.cpp:
3360         (WebCore::FrameLoaderClientWx::savePlatformDataToCachedPage):
3361         (WebCore::FrameLoaderClientWx::transitionToCommittedFromCachedPage):
3362         (WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
3363         * WebKitSupport/FrameLoaderClientWx.h:
3364
3365 2007-12-12  Sam Weinig  <sam@webkit.org>
3366
3367         Build fix.
3368
3369         * WebKitSupport/ChromeClientWx.cpp:
3370         (WebCore::ChromeClientWx::createWindow):
3371         * WebKitSupport/FrameLoaderClientWx.cpp:
3372         (WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
3373         (WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
3374         (WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
3375         (WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
3376         (WebCore::FrameLoaderClientWx::didChangeTitle):
3377         (WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
3378
3379 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
3380
3381         Reviewed by Darin Adler.
3382
3383         <rdar://problem/5535636>
3384         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
3385
3386         http://bugs.webkit.org/show_bug.cgi?id=13916
3387         JavaScript detects Tab as a character input on a textfield validation
3388
3389         * WebKitSupport/EditorClientWx.cpp:
3390         (WebCore::EditorClientWx::handleInputMethodKeydown):
3391         (WebCore::EditorClientWx::handleKeyboardEvent):
3392         * WebKitSupport/EditorClientWx.h:
3393         Updated for cross-platform changes as much as it was possible without a wx build environment.
3394         The keyboard event model of wx is similar to Windows one, so further fixes can be modeled
3395         after the Windows port.
3396
3397 2007-12-06  Kevin Ollivier  <kevino@theolliviers.com>
3398
3399         Fix page leak caused because the Frame's page pointer is 0 by the 
3400         time we call delete on it. Store a reference to the page instead
3401         and delete it that way.
3402
3403         Also, small fix to call PrepareDC(gcdc) when using wxGCDC because
3404         on Linux the wxGCDC gcdc(dc) constructor will not retain the
3405         changes made to dc by PrepareDC(dc).
3406
3407         Reviewed by Darin Adler.
3408
3409         * WebView.cpp:
3410         (wxWebView::wxWebView):
3411         (wxWebView::~wxWebView):
3412         (wxWebView::OnPaint):
3413         * WebViewPrivate.h:
3414         (WebViewPrivate::WebViewPrivate):
3415
3416 2007-12-06  Kevin Ollivier  <kevino@theolliviers.com>
3417
3418         Linux build fix - ensure that webcore is linked before jscore
3419         so that the linker will know which symbols it needs to link in.
3420         Also fix MSVC project file name typo for sample app.
3421
3422         * Bakefiles.bkgen:
3423         * wxwebkit.bkl:
3424
3425 2007-12-04  Darin Adler  <darin@apple.com>
3426
3427         Reviewed by Kevin Decker.
3428
3429         * WebKitSupport/FrameLoaderClientWx.cpp: Removed obsolete privateBrowsingEnabled.
3430         * WebKitSupport/FrameLoaderClientWx.h: Ditto.
3431
3432 2007-12-03  Mark Rowe  <mrowe@apple.com>
3433
3434         wx build fix.
3435
3436         * WebView.cpp:
3437         (wxWebView::RunScript):
3438
3439 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
3440
3441         wx build fix. Add WebCore/platform/graphics/wx to includes.
3442
3443         * wxwebkit.bkl:
3444
3445 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
3446
3447         Fix method signatures to be members of ClientChromeWx class.
3448
3449         * WebKitSupport/ChromeClientWx.cpp:
3450         (WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
3451         (WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
3452
3453 2007-11-30  Kevin Ollivier  <kevino@theolliviers.com>
3454
3455         Build fix. Add platform/text to includes for targets that
3456         need WebCore headers.
3457
3458         * presets/wxwebkit.bkl:
3459
3460 2007-11-29  Brady Eidson  <beidson@apple.com>
3461
3462         Keep it building with new client method
3463
3464         * WebKitSupport/ChromeClientWx.cpp:
3465         (WebCore::ChromeClient::requestQuotaIncreaseForNewDatabase):
3466         (WebCore::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
3467         * WebKitSupport/ChromeClientWx.h:
3468
3469 2007-11-25  Kevin Ollivier  <kevino@theolliviers.com>
3470
3471         wx build fix. Don't get xslt-config options at bake time, do it
3472         at make time.
3473
3474         * dependencies.bkl:
3475
3476 2007-11-23  Kevin Ollivier  <kevino@theolliviers.com>
3477
3478         wx build fix. Include config.h in WebFrame/WebView to ensure
3479         WebCore headers are properly configured, fix unicode/utf8.h and
3480         config.h include ordering issues, centralize wx project options to 
3481         ensure proper configuration, and fix wxwebkit-python target so that
3482         it links against wx libs.
3483
3484         * WebFrame.cpp:
3485         * WebView.cpp:
3486         * bindings/python/wxwebkit-py.bkl:
3487         * dependencies.bkl:
3488         * presets/wxwebkit.bkl:
3489         * wxwebkit.bkl:
3490         * wxwk-settings.bkl:
3491
3492 2007-11-20  Kevin Ollivier  <kevino@theolliviers.com>
3493
3494         wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
3495         it indiscriminately copies any headers inside JavaScriptCore,
3496         which includes Tiger ICU headers. 
3497
3498         * presets/wxwebkit.bkl:
3499         Remove WebCore/include reference and add JSCore header dirs needed
3500         instead.
3501
3502 2007-11-19  Kevin Ollivier  <kevino@theolliviers.com>
3503
3504         Add pcre directory to JSCore includes, and update the wx port
3505         to reflect the Shared -> RefCounted name change. Also, fix
3506         WebFrame.cpp to re-enable code that should never have been 
3507         committed disabled. 
3508
3509         Reviewed by Adam.
3510
3511         * WebFrame.cpp:
3512         (wxWebFrame::wxWebFrame):
3513         * WebKitSupport/FrameLoaderClientWx.cpp:
3514         (WebCore::FrameLoaderClientWx::ref):
3515         (WebCore::FrameLoaderClientWx::deref):
3516         * WebKitSupport/FrameLoaderClientWx.h:
3517         * presets/wxwebkit.bkl:
3518
3519 2007-11-17  Timothy Hatcher  <timothy@apple.com>
3520
3521         Reviewed by Mark Rowe.
3522
3523         Bug 13470: i18n: The Web Inspector is not localizable
3524         http://bugs.webkit.org/show_bug.cgi?id=13470
3525
3526         * WebKitSupport/InspectorClientWx.cpp:
3527         (WebCore::InspectorClientWx::localizedStringsURL): Empty stub.
3528         * WebKitSupport/InspectorClientWx.h: Added localizedStringsURL.
3529
3530 2007-11-08  Kevin Ollivier  <kevino@theolliviers.com>
3531
3532         Initial commit of wx implementation of WebKit. This includes
3533         the wxWebFrame and wxWebView wx front end classes, the 
3534         WebKitSupport directory containing implementations of interfaces
3535         used by WebCore to talk with the wxWebKit front end, and the 
3536         language bindings for wxWebKit (bindings dir), currently
3537         only containing bindings and a sample app for wxPython.
3538
3539         Reviewed by Mark Rowe.
3540
3541         * Bakefiles.bkgen: Added.
3542         * WebFrame.cpp: Added.
3543         * WebFrame.h: Added.
3544         * WebKitSupport: Added.
3545         * WebKitSupport/ChromeClientWx.cpp: Added.
3546         * WebKitSupport/ChromeClientWx.h: Added.
3547         * WebKitSupport/ContextMenuClientWx.cpp: Added.
3548         * WebKitSupport/ContextMenuClientWx.h: Added.
3549         * WebKitSupport/DragClientWx.cpp: Added.
3550         * WebKitSupport/DragClientWx.h: Added.
3551         * WebKitSupport/EditorClientWx.cpp: Added.
3552         * WebKitSupport/EditorClientWx.h: Added.
3553         * WebKitSupport/FrameLoaderClientWx.cpp: Added.
3554         * WebKitSupport/FrameLoaderClientWx.h: Added.
3555         * WebKitSupport/InspectorClientWx.cpp: Added.
3556         * WebKitSupport/InspectorClientWx.h: Added.
3557         * WebView.cpp: Added.
3558         * WebView.h: Added.
3559         * WebViewPrivate.h: Added.
3560         * bindings: Added.
3561         * bindings/python: Added.
3562         * bindings/python/samples: Added.
3563         * bindings/python/samples/simple.py: Added.
3564         * bindings/python/webview.i: Added.
3565         * bindings/python/wxwebkit-py.bkl: Added.
3566         * dependencies.bkl: Added.
3567         * presets: Added.
3568         * presets/wxwebkit.bkl: Added.
3569         * wxwebkit.bkl: Added.
3570         * wxwk-settings.bkl: Added.
3571