2008-08-01 Wouter Bolsterlee <uws@xs4all.nl>
[WebKit-https.git] / WebKit / gtk / ChangeLog
1 2008-08-01  Wouter Bolsterlee  <uws@xs4all.nl>
2
3         https://bugs.webkit.org/show_bug.cgi?id=20035
4         [GTK] Fix return value for webkit_web_view_go_to_back_forward_item()
5
6         * webkit/webkitwebview.cpp:
7
8 2008-07-30  Marco Barisione  <marco.barisione@collabora.co.uk>
9
10         Reviewed by Holger.
11
12         http://bugs.webkit.org/show_bug.cgi?id=19742
13         [GTK] Auto generate webkitmarshal.list
14
15         Auto generate webkitmarshal.list from source files to reduce the
16         number of conflicts when merging git branches or when applying
17         patches.
18         Also rename webkit-marshal.* to webkitmarshal.* for consistency.
19
20         * webkit/webkitwebframe.cpp: Include webkitmarshal.h instead of
21          webkit-marshal.h.
22         * webkit/webkitwebview.cpp: Ditto.
23
24 2008-07-30  Gustavo Noronha Silva  <gns@gnome.org>
25
26         Reviewed by Sam.
27
28         https://bugs.webkit.org/show_bug.cgi?id=20205
29         Typo in comment for bracer ending block
30
31         * webkit/webkitprivate.cpp: Typo fix in comment for the brace
32          that ends the WebKit namespace; WebCore -> WebKit
33
34 2008-07-26  Mark Rowe  <mrowe@apple.com>
35
36         Build fix.  Changes to accommodate newly named/signatured loading methods in WebCore.
37
38         * WebCoreSupport/FrameLoaderClientGtk.cpp:
39         (WebKit::FrameLoaderClient::createFrame):
40
41 2008-07-17  Christian Dywan  <christian@twotoasts.de>
42
43         Reviewed by Holger Freyther.
44
45         https://bugs.webkit.org/show_bug.cgi?id=19813
46         [GTK] WebKit crashes on invalid settings notify callback
47
48         * webkit/webkitwebview.cpp: Disconnect in webkit_web_view_finalize
49
50 2008-07-08  Jan Michael Alonzo  <jmalonzo@webkit.org>
51
52         Reviewed by Christian Dywan.
53
54         Replace 'const' with G_CONST_RETURN macro to make it flexible to
55         disable constness
56
57         * webkit/webkitnetworkrequest.cpp:
58         * webkit/webkitnetworkrequest.h:
59         * webkit/webkitwebframe.cpp:
60         * webkit/webkitwebframe.h:
61         * webkit/webkitwebhistoryitem.cpp:
62         * webkit/webkitwebhistoryitem.h:
63
64 2008-06-18  Marco Barisione  <marco.barisione@collabora.co.uk>
65
66         Reviewed by Alp Toker.
67
68         https://bugs.webkit.org/show_bug.cgi?id=19171
69         [GTK] GTypes for enumerations
70
71         Generate GTypes for public enumerations so they can be used as
72         properties.
73
74         * GNUmakefile.am: Generate webkit-enum-types.cpp and
75         webkit-enum-types.h.
76
77 2008-06-17  Christian Dywan  <christian@twotoasts.de>
78
79         Reviewed by Alp.
80
81         [GTK] WebKitWebHistoryItem needs properties
82         https://bugs.webkit.org/show_bug.cgi?id=19558
83
84         Implement properties matching the existing accessors.
85
86         * webkit/webkitwebhistoryitem.cpp:
87         (_WebKitWebHistoryItemPrivate::):
88         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
89         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_property):
90         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_property):
91         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
92
93 2008-06-15  Darin Adler  <darin@apple.com>
94
95         - give Frame object functions shorter names: scriptProxy() -> script(),
96           selectionController() -> selection(), animationController() -> animation()
97
98         * WebCoreSupport/EditorClientGtk.cpp:
99         (WebKit::EditorClient::handleKeyboardEvent):
100         * WebCoreSupport/FrameLoaderClientGtk.cpp:
101         (WebKit::FrameLoaderClient::windowObjectCleared):
102         * webkit/webkitwebframe.cpp:
103         * webkit/webkitwebview.cpp:
104
105 2008-06-15  Darin Adler  <darin@apple.com>
106
107         - undo bogus renaming done by the script
108
109         * WebCoreSupport/ContextMenuClientGtk.cpp:
110         * webkit/webkitnetworkrequest.h:
111         * webkit/webkitwebbackforwardlist.h:
112         * webkit/webkitwebframe.h:
113         * webkit/webkitwebhistoryitem.h:
114         * webkit/webkitwebsettings.h:
115
116 2008-06-15  Darin Adler  <darin@apple.com>
117
118         - new names for a few key JavaScriptCore files
119
120         * WebCoreSupport/ContextMenuClientGtk.cpp:
121         * webkit/webkitnetworkrequest.h:
122         * webkit/webkitwebbackforwardlist.h:
123         * webkit/webkitwebframe.h:
124         * webkit/webkitwebhistoryitem.h:
125         * webkit/webkitwebsettings.h:
126
127 2008-06-15  Christian Dywan  <christian@twotoasts.de>
128
129         Reviewed by Alp Toker.
130
131         [GTK] Property setters do not call g_object_notify()
132         https://bugs.webkit.org/show_bug.cgi?id=18405
133
134         * webkit/webkitwebview.cpp:
135
136 2008-06-15  Christian Dywan  <christian@twotoasts.de>
137
138         Reviewed by Alp Toker.
139
140         Tiny documentation fix, s/capacity/limit
141
142         * webkit/webkitwebbackforwardlist.cpp:
143
144 2008-06-14  Darin Adler  <darin@apple.com>
145
146         Rubber stamped by Sam.
147
148         - new names for kjs_binding.h and kjs_proxy.h
149
150         * WebCoreSupport/FrameLoaderClientGtk.cpp:
151         * webkit/webkitwebframe.cpp:
152
153 2008-06-14  Darin Adler  <darin@apple.com>
154
155         - fix build
156
157         * webkit/webkitwebframe.cpp: Remove a bogus release() call.
158
159 2008-06-14  Darin Adler  <darin@apple.com>
160
161         Reviewed by Sam.
162
163         - more https://bugs.webkit.org/show_bug.cgi?id=17257
164           start ref counts at 1 instead of 0 for speed
165
166         * WebCoreSupport/FrameLoaderClientGtk.cpp:
167         (WebKit::FrameLoaderClient::createDocumentLoader): Use create instead of new.
168         * webkit/webkitwebframe.cpp:
169         (webkit_web_frame_new): Ditto.
170         (webkit_web_frame_init_with_web_view): Ditto.
171
172 2008-06-13  Darin Adler  <darin@apple.com>
173
174         - try to fix build
175
176         * WebCoreSupport/FrameLoaderClientGtk.h: Add missing argument.
177
178 2008-06-13  Darin Adler  <darin@apple.com>
179
180         Reviewed by John Sullivan.
181
182         - updated for addition of FormState argument to action policy functions
183
184         * WebCoreSupport/FrameLoaderClientGtk.cpp:
185         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
186         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
187
188 2008-06-10  Christian Dywan  <christian@twotoasts.de>
189
190         Reviewed by Alp Toker and Darin Adler.
191
192         https://bugs.webkit.org/show_bug.cgi?id=16676
193         Apply GTK coding style to WebKit Gtk public headers
194
195         * webkit/webkitnetworkrequest.h:
196         * webkit/webkitwebbackforwardlist.h:
197         * webkit/webkitwebframe.h:
198         * webkit/webkitwebhistoryitem.h:
199         * webkit/webkitwebsettings.h:
200         * webkit/webkitwebview.h:
201
202 2008-06-07  Jan Michael Alonzo  <jmalonzo@webkit.org>
203
204         Confirmed by Christian Dywan.
205
206         Gtk build fix for r34432
207
208         * webkit/webkitwebhistoryitem.cpp:
209         (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
210         (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
211         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
212         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
213         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
214         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
215         (WebKit::core):
216
217 2008-06-07  Darin Adler  <darin@apple.com>
218
219         - try to fix build after HistoryItem changes
220
221         * webkit/webkitwebhistoryitem.cpp:
222         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new): Use HistoryItem::create.
223         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data): Ditto. I also
224         believe this fixes a memory leak in the old version.
225
226 2008-06-07  Christian Dywan  <christian@twotoasts.de>
227
228         Reviewed by Alp Toker.
229
230         https://bugs.webkit.org/show_bug.cgi?id=17324
231         Remove PLATFORM ifdefs from ContextMenu.cpp
232
233         * WebCoreSupport/ContextMenuClientGtk.cpp:
234         (WebKit::ContextMenuClient::ContextMenuClient):
235         (WebKit::ContextMenuClient::contextMenuDestroyed):
236         (WebKit::inputMethodsMenuItem):
237         (WebKit::):
238         (WebKit::insertControlCharacter):
239         (WebKit::unicodeMenuItem):
240         (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
241         * WebCoreSupport/ContextMenuClientGtk.h:
242         * webkit/webkitwebview.cpp:
243
244 2008-06-05  Alp Toker  <alp@nuanti.com>
245
246         Add 'Since' documentation for API versioning functions.
247
248         * webkit/webkitversion.cpp:
249
250 2008-06-05  Christian Dywan  <christian@twotoasts.de>
251
252         Reviewed by Alp Toker.
253
254         https://bugs.webkit.org/show_bug.cgi?id=14141
255         Please add a version to the Gtk port
256
257         * webkit/webkit.h:
258         * webkit/webkitversion.cpp: Added.
259         * webkit/webkitversion.h.in: Added.
260         * webkit/webkitwebsettings.cpp:
261         (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
262         * webkit/webkitwebview.cpp:
263
264 2008-06-01  Alp Toker  <alp@nuanti.com>
265
266         Suggested by Christian Dywan.
267
268         Use float literals for zoom values and improve documentation wording.
269
270         * webkit/webkitwebsettings.cpp:
271         (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
272         * webkit/webkitwebview.cpp:
273
274 2008-06-01  Alp Toker  <alp@nuanti.com>
275
276         Reviewed by Oliver.
277
278         Remove webkit_web_view_go_backward(),
279         webkit_web_view_can_go_backward(). These have been obsoleted by
280         the back() versions for quite a while.
281
282         * webkit/webkitwebview.cpp:
283         * webkit/webkitwebview.h:
284
285 2008-05-31  Alp Toker  <alp@nuanti.com>
286
287         Fix inconsistent zoom docs and enum name landed in r34249. Issue
288         noticed by Marco Barisione.
289
290         * webkit/webkitwebview.cpp:
291
292 2008-05-30  Carlos Martín Nieto  <carlos@cmartin.tk>
293
294         Reviewed by Alp Toker.
295
296         http://bugs.webkit.org/show_bug.cgi?id=18383
297         [GTK] The "hovering-over-link" signal arguments aren't documented.
298
299         * webkit/webkitwebview.cpp:
300
301 2008-05-29  Marco Barisione  <marco@collabora.co.uk>
302
303         Reviewed (and tweaked) by Alp Toker.
304
305         http://bugs.webkit.org/show_bug.cgi?id=18281
306         [GTK] add functions to set/get the zoom level
307
308         * webkit/webkitwebsettings.cpp:
309         (_WebKitWebSettingsPrivate::):
310         (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
311         (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
312         (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
313         * webkit/webkitwebview.cpp: Add functions to get and set the zoom
314         level.
315         * webkit/webkitwebview.h: Ditto.
316         * webkit/webkitprivate.h:
317
318 2008-05-28  Alp Toker  <alp@nuanti.com>
319
320         Reviewed by Alexey Proskuryakov.
321
322         http://bugs.webkit.org/show_bug.cgi?id=18704
323         [gtk] cannot type letters with dead keys in textarea
324
325         http://bugs.webkit.org/show_bug.cgi?id=14120
326         [GDK] Support input methods
327
328         Add support for input method composition.
329
330         Remove some old hacks so we handle input method events more
331         consistently.
332
333         * WebCoreSupport/EditorClientGtk.cpp:
334         (WebKit::imContextCommitted):
335         (WebKit::imContextPreeditChanged):
336         (WebKit::EditorClient::setInputMethodState):
337         (WebKit::EditorClient::respondToChangedSelection):
338         (WebKit::EditorClient::handleInputMethodKeydown):
339         (WebKit::EditorClient::EditorClient):
340         (WebKit::EditorClient::~EditorClient):
341         (WebKit::EditorClient::textFieldDidBeginEditing):
342         (WebKit::EditorClient::textFieldDidEndEditing):
343         (WebKit::EditorClient::textDidChangeInTextField):
344         (WebKit::EditorClient::doTextFieldCommandFromEvent):
345         * webkit/webkitwebview.cpp:
346
347 2008-05-25  Alp Toker  <alp@nuanti.com>
348
349         Reviewed by Niko.
350
351         Drop WebView focus when the widget is focused out.
352
353         * webkit/webkitwebview.cpp:
354
355 2008-05-25  Sriram Neelakandan  <sriram.neelakandan@gmail.com>
356
357         Reviewed by Alp Toker.
358
359         http://bugs.webkit.org/show_bug.cgi?id=18935
360         [Gtk] Plugin Load crashes with NP_FULL mode
361
362         Fix crash due to uninitialized variable.
363
364         * WebCoreSupport/FrameLoaderClientGtk.cpp:
365         (WebKit::FrameLoaderClient::FrameLoaderClient):
366
367 2008-05-24  Alp Toker  <alp@nuanti.com>
368
369         https://bugs.webkit.org/show_bug.cgi?id=18825
370         webkitgtk fails to build from source: "Database Tracker" has not been declared
371
372         GTK+ fix for building without database support.
373         exceededDatabaseQuota() still needs to be present, just a no-op.
374
375         * WebCoreSupport/ChromeClientGtk.cpp:
376         (WebKit::ChromeClient::exceededDatabaseQuota):
377
378 2008-05-23  Alp Toker  <alp@nuanti.com>
379
380         GTK+ fixes for building without database support.
381
382         * WebCoreSupport/ChromeClientGtk.cpp:
383
384 2008-05-19  Alp Toker  <alp@nuanti.com>
385
386         Reviewed by Anders and Beth.
387
388         http://bugs.webkit.org/show_bug.cgi?id=16495
389         [GTK] Accessibility support with ATK/AT-SPI
390
391         Initial ATK/AT-SPI accessibility support for the GTK+ port.
392
393         * webkit/webkitwebview.cpp:
394
395 2008-05-06  Christian Dywan  <christian@twotoasts.de>
396
397         Rubber stamped by Alp.
398
399         Back out 17626. It wasn't ready for commit.
400
401         * webkit/webkitprivate.h:
402         * webkit/webkitwebview.cpp:
403         * webkit/webkitwebview.h:
404
405 2008-05-01  Marc Ordinas i Llopis  <marc.ordinasillopis@collabora.co.uk>
406
407         Reviewed by Alp Toker.
408
409         https://bugs.webkit.org/show_bug.cgi?id=14750
410         Added support for NPAPI plugins on Gtk and Qt-x11 ports.
411
412         * WebCoreSupport/FrameLoaderClientGtk.cpp:
413         (WebKit::FrameLoaderClient::FrameLoaderClient):
414         (WebKit::FrameLoaderClient::committedLoad):
415         (WebKit::FrameLoaderClient::createPlugin):
416         (WebKit::FrameLoaderClient::redirectDataToPlugin):
417         (WebKit::FrameLoaderClient::finishedLoading):
418         (WebKit::FrameLoaderClient::setMainDocumentError):
419         * WebCoreSupport/FrameLoaderClientGtk.h:
420
421 2008-04-30  Sean Egan  <seanegan@gmail.com>
422
423         Reviewed and modified by Holger.
424
425         https://bugs.webkit.org/show_bug.cgi?id=17626
426         Support setting background color and a 16-bit alpha channel.
427
428         * webkit/webkitprivate.h:
429         * webkit/webkitwebview.cpp:
430         * webkit/webkitwebview.h:
431
432 2008-04-24  Dan Bernstein  <mitz@apple.com>
433
434         - build fix
435
436         * webkit/webkitwebview.cpp:
437
438 2008-04-24  Anders Carlsson  <andersca@apple.com>
439
440         Reviewed by Sam.
441
442         Change some String arguments to be const references instead.
443
444         * WebCoreSupport/EditorClientGtk.cpp:
445         (WebKit::EditorClient::shouldInsertText):
446         * WebCoreSupport/EditorClientGtk.h:
447
448 2008-04-23  Christian Dywan  <christian@twotoasts.de>
449
450         Reviewed by Alp Toker.
451
452         Emit a warning about an unknown setting only if it is
453         not a valid property. Otherwise applications can't
454         subclass WebKitWebSettings to add new properties.
455
456         * webkit/webkitwebview.cpp:
457
458 2008-04-20  Simon Hausmann  <hausmann@webkit.org>
459
460         Reviewed by Alp Toker.
461
462         http://bugs.webkit.org/show_bug.cgi?id=18578
463         Share the printing code between the Gtk and the Qt port
464
465         Share the printing code between the Gtk and the Qt port
466         and added printing to the Qt WebKit API.
467
468         * webkit/webkitwebframe.cpp: Removed PrintContext in favour of
469         page/Printcontext.cpp/h
470
471 2008-04-19  Alp Toker  <alp@nuanti.com>
472
473         Reviewed by Maciej.
474
475         Enable visited link tracking by default at startup.
476
477         With this patch, the GTK+ port rendering of Acid3 now matches the
478         reference page.
479
480         * webkit/webkitprivate.cpp:
481         (WebKit::core):
482         (webkit_init):
483
484 2008-04-11  Mark Rowe  <mrowe@apple.com>
485
486         Gtk build fix after r32231.
487
488         * webkit/webkitwebview.cpp: Update to use contentRenderer.
489
490 2008-04-18  Alp Toker  <alp@atoker.com>
491
492         Rubber-stamped by Holger Freyther.
493
494         http://bugs.webkit.org/show_bug.cgi?id=18218
495         [Gtk] segfault when clicking on a disabled button
496
497         Always use the main frame for mouse events (not the focused frame)
498         since it knows best how to get the event through to the right target.
499
500         This also fixes a null crasher.
501
502         * webkit/webkitwebview.cpp:
503
504 2008-04-17  Alp Toker  <alp@atoker.com>
505
506         Rubber-stamped by Holger Freyther.
507
508         Reduce hard-coded page-cache count to 3 based on research done for the
509         Mac port on value / page.
510
511         We will need to make this more dynamic or configurable at some point
512         but for now it's best to keep closer to the behaviour before page
513         caching was enabled.
514
515         Issue spotted by Mark Rowe.
516
517         * webkit/webkitprivate.cpp:
518         (webkit_init):
519
520 2008-04-17  Daniele Metilli  <daniele.metilli@gmail.com>
521
522         Reviewed by Eric.
523
524         Fixed a typo in the copyright header.
525
526         * webkit/webkitprivate.h:
527
528 2008-04-14  Holger Freyther  <zecke@selfish.org>
529
530         Reviewed by Alp Toker.
531
532         https://bugs.webkit.org/show_bug.cgi?id=18411
533         Enable Page caching and create FrameViews on the fly
534
535         Create the FrameView on the fly and cache pages
536
537         - Keep a copy of the GtkAdjustment to be able to reuse it for the
538           FrameViews
539         - Do not initially create a FrameView and update the WebKit code to
540           cope with not having a view.
541         - Cache seven pages by default.
542
543         * WebCoreSupport/FrameLoaderClientGtk.cpp:
544         (WebKit::FrameLoaderClient::createFrame):
545         (WebKit::FrameLoaderClient::canCachePage):
546         (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
547         (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
548         (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
549         * webkit/webkitprivate.cpp:
550         (webkit_init):
551         * webkit/webkitprivate.h:
552         * webkit/webkitwebframe.cpp:
553         * webkit/webkitwebview.cpp:
554
555 2008-04-10  Mario Bensi  <mbensi@pleyo.com>
556
557         Reviewed by Alp Toker.
558
559         https://bugs.webkit.org/show_bug.cgi?id=18400
560         Database example doesn't work on Gtk port
561
562         Fix quota in ChromeClient
563
564         * WebCoreSupport/ChromeClientGtk.cpp:
565         (WebKit::ChromeClient::exceededDatabaseQuota):
566
567 2008-04-08  Adam Roben  <aroben@apple.com>
568
569         Move callOnMainThread to WTF
570
571         Reviewed by Alexey Proskuryakov.
572
573         * webkit/webkitprivate.cpp: Updated #include.
574         (webkit_init): Changed to call KJS::initializeThreading.
575
576 2008-04-06  Luca Bruno  <lethalman88@gmail.com>
577
578         Reviewed by Alp Toker.
579
580         Fix webkit_web_view_get_transparent() return value.
581
582         * webkit/webkitwebview.cpp:
583
584 2008-03-31  Jasper Bryant-Greene  <jasper@unix.geek.nz>
585
586         Reviewed by Darin.
587
588         Resolves http://bugs.webkit.org/show_bug.cgi?id=18010
589         "WebKitNetworkRequestPrivate is defined in two places unnecessarily"
590
591         Removed unnecessary definition of WebKitNetworkRequestPrivate in
592         webkitprivate.h
593
594         * webkit/webkitprivate.h:
595
596 2008-03-25  Brady Eidson  <beidson@apple.com>
597
598         Reviewed by Darin
599
600         Remove newly obsolete FrameLoaderClient methods
601
602         * WebCoreSupport/FrameLoaderClientGtk.cpp:
603         * WebCoreSupport/FrameLoaderClientGtk.h:
604
605 2008-03-20  Alp Toker  <alp@atoker.com>
606
607         GTK+ build fix. Back out r31183. This patch also introduced API style
608         issues.
609
610         * WebCoreSupport/FrameLoaderClientGtk.cpp:
611         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
612         * webkit/headers.pri:
613         * webkit/webkit-marshal.list:
614         * webkit/webkitdefines.h:
615         * webkit/webkitnavigationaction.cpp: Removed.
616         * webkit/webkitnavigationaction.h: Removed.
617         * webkit/webkitprivate.cpp:
618         * webkit/webkitprivate.h:
619         * webkit/webkitwebview.cpp:
620         * webkit/webkitwebview.h:
621
622 2008-03-20  Jasper Bryant-Greene  <jasper@unix.geek.nz>
623
624         Reviewed and tweaked by Anders.
625
626         Resolves http://bugs.webkit.org/show_bug.cgi?id=16092
627         "[GTK] Middle-mouse click should allow opening a URL in a new tab"
628
629         Created WebKitNavigationAction object exported through the API. The
630         navigation-requested signal provides this object as context for the
631         requested navigation, allowing the application to decide what to do
632         with the navigation based on which mouse button was used, which
633         modifier keys were held down, etc. This allows, for example, the
634         application to open links in a new tab when either middle-click or
635         control-click are used to initiate the navigation.
636
637         * WebCoreSupport/FrameLoaderClientGtk.cpp:
638         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
639         * webkit/headers.pri:
640         * webkit/webkit-marshal.list:
641         * webkit/webkitdefines.h:
642         * webkit/webkitnavigationaction.cpp: Added.
643         (webkit_navigation_action_finalize):
644         (webkit_navigation_action_class_init):
645         (webkit_navigation_action_init):
646         (webkit_navigation_action_get_button):
647         (webkit_navigation_action_get_modifier_flags):
648         (webkit_navigation_action_get_navigation_type):
649         (webkit_navigation_action_get_original_url):
650         * webkit/webkitnavigationaction.h: Added.
651         * webkit/webkitprivate.cpp:
652         (WebKit::kit):
653         * webkit/webkitprivate.h:
654         * webkit/webkitwebview.cpp:
655         * webkit/webkitwebview.h:
656
657 2008-03-18  Rodney Dawes  <dobey@wayofthemonkey.com>
658
659         Reviewed and landed by jhoneycutt.
660
661         Update to check if the MIME type is supported by a plugin.
662
663         * WebCoreSupport/FrameLoaderClientGtk.cpp:
664         (FrameLoaderClient::objectContentType):
665
666 2008-03-18  Rodney Dawes  <dobey@wayofthemonkey.com>
667
668         Reviewed by Jon Honeycutt.
669
670         Update setContainingWindow() calls to pass a GtkWidget.
671
672         * webkit/webkitwebframe.cpp:
673         (webkit_web_frame_new):
674         (webkit_web_frame_init_with_web_view):
675
676 2008-03-13  Rodney Dawes  <dobey@wayofthemonkey.com>
677
678         Fix GTK+ build for SharedBuffer changes.
679
680         * webkit/webkitwebview.cpp:
681         (webkit_web_view_load_string):
682
683 2008-03-12  Tommi Komulainen  <tommi.komulainen@iki.fi>
684
685         Reviewed by Alp Toker.
686
687         http://bugs.webkit.org/show_bug.cgi?id=17799
688         WebView signals should use more specific types
689
690         * webkit/webkitwebview.cpp: Use WEBKIT_TYPE_WEB_FRAME argument
691         type in "script-alert", "script-confirm", "script-script-prompt"
692         signals so that it gets more clearly documented rather than just
693         plain GObject.
694
695 2008-03-10  Xan Lopez  <xan@gnome.org>
696
697         Reviewed by Alp Toker.
698
699         Fix "missing braces" compiler warning.
700
701         * webkit/webkitwebview.cpp:
702
703 2008-03-04  Sam Weinig  <sam@webkit.org>
704
705         Reviewed by Mark Rowe.
706
707         - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
708           JSDOMWindow.h
709
710         * WebCoreSupport/FrameLoaderClientGtk.cpp:
711         * webkit/webkitwebframe.cpp:
712
713 2008-03-03  Sam Weinig  <sam@webkit.org>
714
715         GTK+ build fix.
716
717         * WebCoreSupport/FrameLoaderClientGtk.cpp:
718         (WebKit::FrameLoaderClient::windowObjectCleared):
719
720 2008-03-03  Alp Toker  <alp@atoker.com>
721
722         Fix the GTK+ build following breakage introduced in r30712.
723
724         * WebCoreSupport/EditorClientGtk.cpp:
725         (WebKit::imContextCommitted):
726
727 2008-03-02  Alp Toker  <alp@atoker.com>
728
729         Reviewed by Mark Rowe.
730
731         Split the WebKit GTK+ build out of the WebCore build and change the
732         shared object name to match the package name.
733
734         * webkit.pc.in:
735
736 2008-02-27  Adam Roben  <aroben@apple.com>
737
738         Attempt to fix the GTK+ build
739
740         * webkit/webkitwebframe.cpp:
741
742 2008-02-24  Darin Adler  <darin@apple.com>
743
744         Reviewed by Sam.
745
746         - remove separate client calls for "standard" and "reload' history
747
748         * WebCoreSupport/FrameLoaderClientGtk.cpp:
749         (WebKit::FrameLoaderClient::updateGlobalHistory):
750         * WebCoreSupport/FrameLoaderClientGtk.h:
751
752 2008-02-23  Alexey Proskuryakov  <ap@webkit.org>
753
754         Build fix.
755
756         * webkit/webkitprivate.cpp:
757         (webkit_init): Renamed initializeThreading to initializeThreadingAndMainThread.
758
759 2008-02-18  Alp Toker  <alp@atoker.com>
760
761         Reviewed by Mark Rowe.
762
763         http://bugs.webkit.org/show_bug.cgi?id=17312
764         [GTK] Webview Transparent Background
765
766         Add support for WebView background transparency.
767
768         * webkit/webkitprivate.h:
769         * webkit/webkitwebview.cpp:
770         * webkit/webkitwebview.h:
771
772 2008-02-18  Alp Toker  <alp@atoker.com>
773
774         Reviewed by Mark Rowe.
775
776         Implement webkit_web_view_get_focused_frame()
777
778         Equivalent to selectedFrame in the Mac API.
779
780         * webkit/webkitwebview.cpp:
781         * webkit/webkitwebview.h:
782
783 2008-02-17  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
784
785         Reviewed by Mark Rowe.
786
787         Fix a crash introduced in changeset #29985 by moving the dereference to after
788         the null check.
789
790         * webkit/webkitwebhistoryitem.cpp:
791         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
792
793 2008-02-15  Alp Toker  <alp@atoker.com>
794
795         Fix the GTK+ build following breakage introduced in r30243.
796
797         * WebCoreSupport/ChromeClientGtk.cpp:
798         (WebKit::ChromeClient::mouseDidMoveOverElement):
799         * WebCoreSupport/FrameLoaderClientGtk.cpp:
800         (WebKit::FrameLoaderClient::objectContentType):
801
802 2008-02-15  Darin Adler  <darin@apple.com>
803
804         - another try at fixing the build
805
806         * webkit/webkitwebview.cpp: Added some explicit conversions to KURL.
807
808 2008-02-14  Darin Adler  <darin@apple.com>
809
810         * webkit/webkitwebframe.cpp: Removed DeprecatedString use to try to keep it building.
811         * webkit/webkitwebview.cpp: Ditto.
812
813 2008-02-14  Holger Hans Peter Freyther  <zecke@selfish.org>
814
815         Reviewed by Alp.
816
817         * Make the handling of the coreFrame consistent. We construct the coreFrame
818         at the beginning and it will live until the end. Change the g_return_(val_)if
819         to ASSERTs as having a 0 coreFrame can never happen.
820
821         * webkit/webkitwebframe.cpp:
822         (PrintContext::webkit_web_frame_print):
823
824 2008-02-14  Holger Hans Peter Freyther  <zecke@selfish.org>
825
826         Reviewed by Alp.
827
828         * Make sure that the WebCore::Frame is living as long as the WebKitWebFrame
829         wrapped around it. All current calls to WebCore::Frame from within the
830         WebKitWebFrame are safe, even in the case where the WebCore::Frame is already
831         detached from the WebCore::Page.
832         * For the mainFrame the WebKitWebView is holding the initial reference and
833         will unref on destruction.
834         * For sub-frames the FramerLoaderClientGtk.cpp will do the unrefing when the
835         frame gets detached from the parent.
836         * Make sure FrameLoader::detachFromParent gets called by calling FrameLoader::detachChildren
837
838         * WebCoreSupport/FrameLoaderClientGtk.cpp:
839         (WebKit::FrameLoaderClient::detachedFromParent4):
840         * webkit/webkitprivate.cpp:
841         (WebKit::core):
842         * webkit/webkitprivate.h:
843         * webkit/webkitwebframe.cpp:
844         * webkit/webkitwebview.cpp:
845
846 2008-02-14  Holger Hans Peter Freyther  <zecke@selfish.org>
847
848         Reviewed by Alp.
849
850         WebCore::Frame is RefCounted, do not manually delete it!
851
852         * webkit/webkitwebframe.cpp:
853
854 2008-02-14  Holger Hans Peter Freyther  <zecke@selfish.org>
855
856         Reviewed by Alp.
857
858         * Plug a leak
859
860         * webkit/webkitwebframe.cpp:
861
862 2008-02-14  Holger Hans Peter Freyther  <zecke@selfish.org>
863
864         Reviewed by Alp.
865
866         * Update the Copyright Information
867
868         * WebCoreSupport/FrameLoaderClientGtk.cpp:
869         * webkit/webkitprivate.h:
870         * webkit/webkitwebframe.cpp:
871
872 2008-02-13  Alp Toker  <alp@atoker.com>
873
874         Reviewed by Adam Roben.
875
876         Fix very small, upside down, inside out text on GTK+/DirectFB.
877
878         Based on an initial patch by Sriram Neelakandan <sriram.neelakandan@gmail.com>
879
880         Test the result of gdk_screen_get_resolution() and use a default
881         fallback in case of failure.
882
883         Also remove an unhelpful runtime warning.
884
885         * webkit/webkitwebview.cpp:
886
887 2008-02-08  Pierre-Luc Beaudoin  <pierre-luc.beaudoin@collabora.co.uk>
888
889         Reviewed by Alp Toker.
890
891         http://bugs.webkit.org/show_bug.cgi?id=17009
892         [Gtk] Webkit strips accents from some dead-key combinations
893
894         KeyEvents have to go through the gtk input method.
895
896         * WebCoreSupport/EditorClientGtk.cpp:
897         (WebKit::imContextCommitted):
898         (WebKit::EditorClient::doTextFieldCommandFromEvent):
899
900 2008-02-05  Mark Rowe  <mrowe@apple.com>
901
902         Reviewed by Alp Toker.
903
904         Fix warnings seen on the Gtk port by declaring variables and using constants of the correct types.
905
906         * webkit/webkitwebbackforwardlist.cpp:
907         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
908         * webkit/webkitwebhistoryitem.cpp:
909         * webkit/webkitwebview.cpp:
910
911 2008-02-04  Christian Dywan  <christian@imendio.com>
912
913         Reviewed by Alp Toker.
914
915         http://bugs.webkit.org/show_bug.cgi?id=17065
916         [GTK] Use a consistent coding style
917
918         * WebCoreSupport/EditorClientGtk.cpp:
919         (WebKit::imContextCommitted):
920         (WebKit::EditorClient::EditorClient):
921         (WebKit::EditorClient::~EditorClient):
922         (WebKit::EditorClient::textFieldDidEndEditing):
923         * webkit/webkitdefines.h:
924         * webkit/webkitnetworkrequest.cpp:
925         (_WebKitNetworkRequestPrivate::webkit_network_request_finalize):
926         (_WebKitNetworkRequestPrivate::webkit_network_request_class_init):
927         (_WebKitNetworkRequestPrivate::webkit_network_request_init):
928         (_WebKitNetworkRequestPrivate::webkit_network_request_new):
929         (_WebKitNetworkRequestPrivate::webkit_network_request_set_uri):
930         (_WebKitNetworkRequestPrivate::webkit_network_request_get_uri):
931         * webkit/webkitnetworkrequest.h:
932         * webkit/webkitprivate.cpp:
933         (WebKit::getViewFromFrame):
934         (WebKit::core):
935         * webkit/webkitprivate.h:
936         * webkit/webkitwebbackforwardlist.cpp:
937         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_new_with_web_view):
938         * webkit/webkitwebbackforwardlist.h:
939         * webkit/webkitwebframe.cpp:
940         * webkit/webkitwebframe.h:
941         * webkit/webkitwebhistoryitem.cpp:
942         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
943         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
944         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
945         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
946         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
947         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
948         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
949         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
950         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
951         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
952         (WebKit::core):
953         * webkit/webkitwebhistoryitem.h:
954         * webkit/webkitwebsettings.h:
955         * webkit/webkitwebview.cpp:
956         * webkit/webkitwebview.h:
957
958 2008-02-04  Alp Toker  <alp@atoker.com>
959
960         Rubber-stamped by Mark Rowe.
961
962         Remove all trailing whitespace in the GTK+ port and related
963         components.
964
965         * WebCoreSupport/DragClientGtk.h:
966         * WebCoreSupport/FrameLoaderClientGtk.h:
967         * WebCoreSupport/InspectorClientGtk.h:
968         * WebCoreSupport/PasteboardHelperGtk.h:
969         * webkit/webkitprivate.h:
970         * webkit/webkitwebbackforwardlist.cpp:
971         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
972         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
973         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_item):
974         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_length):
975         * webkit/webkitwebhistoryitem.cpp:
976         (_WebKitWebHistoryItemPrivate::webkit_history_items):
977         (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
978         (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
979         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
980         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
981         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
982         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
983         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
984         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
985         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_last_visited_time):
986         (WebKit::kit):
987         * webkit/webkitwebhistoryitem.h:
988         * webkit/webkitwebview.cpp:
989         * webkit/webkitwebview.h:
990
991 2008-02-03  Christian Dywan  <christian@imendio.com>
992
993         Reviewed by Alp Toker.
994
995         http://bugs.webkit.org/show_bug.cgi?id=17046
996         [GTK] Context menu fixes and customisation suport
997
998         * webkit/webkitwebview.cpp:
999
1000 2008-01-31  Alp Toker  <alp@atoker.com>
1001
1002         Reviewed by Mark Rowe.
1003
1004         Fix the pkg-config file to follow GTK+ package naming and versioning
1005         conventions.
1006
1007         Remove unneeded dependency listings.
1008
1009         * WebKitGtk.pc.in: Removed.
1010         * webkit.pc.in: Copied from WebKit/gtk/WebKitGtk.pc.in.
1011
1012 2008-01-31  Alp Toker  <alp@atoker.com>
1013
1014         Rubber-stamped by Adam Roben.
1015
1016         http://bugs.webkit.org/show_bug.cgi?id=17006
1017         [GTK] Header path should be webkit/webkit.h
1018
1019         Move the GTK+ API sources as needed and update the build systems.
1020
1021         * WebView: Removed.
1022         * WebView/headers.pri: Removed.
1023         * WebView/webkit-marshal.list: Removed.
1024         * WebView/webkit.h: Removed.
1025         * WebView/webkitdefines.h: Removed.
1026         * WebView/webkitnetworkrequest.cpp: Removed.
1027         * WebView/webkitnetworkrequest.h: Removed.
1028         * WebView/webkitprivate.cpp: Removed.
1029         * WebView/webkitprivate.h: Removed.
1030         * WebView/webkitwebbackforwardlist.cpp: Removed.
1031         * WebView/webkitwebbackforwardlist.h: Removed.
1032         * WebView/webkitwebframe.cpp: Removed.
1033         * WebView/webkitwebframe.h: Removed.
1034         * WebView/webkitwebhistoryitem.cpp: Removed.
1035         * WebView/webkitwebhistoryitem.h: Removed.
1036         * WebView/webkitwebsettings.cpp: Removed.
1037         * WebView/webkitwebsettings.h: Removed.
1038         * WebView/webkitwebview.cpp: Removed.
1039         * WebView/webkitwebview.h: Removed.
1040         * webkit: Copied from WebKit/gtk/WebView.
1041         * webkit/webkit.h:
1042         * webkit/webkitnetworkrequest.h:
1043         * webkit/webkitprivate.h:
1044         * webkit/webkitwebbackforwardlist.h:
1045         * webkit/webkitwebframe.h:
1046         * webkit/webkitwebhistoryitem.h:
1047         * webkit/webkitwebsettings.h:
1048         * webkit/webkitwebview.h:
1049
1050 2008-01-27  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1051
1052         Reviewed by Alp Toker.
1053
1054         http://bugs.webkit.org/show_bug.cgi?id=14811
1055         [gtk] [request] add a webkit_gtk_page_go_to_history_item function
1056
1057         implement back/forward list and history item
1058
1059         * WebView/headers.pri:
1060         * WebView/webkit.h:
1061         * WebView/webkitprivate.cpp:
1062         * WebView/webkitprivate.h:
1063         * WebView/webkitwebbackforwardlist.cpp: Added.
1064         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_dispose):
1065         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_class_init):
1066         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_init):
1067         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_new_with_web_view):
1068         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_forward):
1069         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_back):
1070         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
1071         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_to_item):
1072         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
1073         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
1074         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_item):
1075         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_current_item):
1076         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_item):
1077         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_nth_item):
1078         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_length):
1079         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_length):
1080         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_limit):
1081         (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_set_limit):
1082         * WebView/webkitwebbackforwardlist.h: Added.
1083         * WebView/webkitwebhistoryitem.cpp: Added.
1084         (_WebKitWebHistoryItemPrivate::webkit_history_items):
1085         (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
1086         (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
1087         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
1088         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
1089         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
1090         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_init):
1091         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
1092         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
1093         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
1094         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
1095         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
1096         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
1097         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
1098         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
1099         (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_last_visited_time):
1100         (WebKit::core):
1101         (WebKit::kit):
1102         * WebView/webkitwebhistoryitem.h: Added.
1103         * WebView/webkitwebview.cpp:
1104         * WebView/webkitwebview.h:
1105
1106 2008-01-25  Ori Bernstein  <ori@eigenstate.org>
1107
1108         Reviewed by Alp Toker.
1109
1110         http://bugs.webkit.org/show_bug.cgi?id=16795
1111         WebKitGtk crashes when there is no focused Frame
1112
1113         Add a null check. focusedFrame() isn't used directly anywhere else so
1114         this is the only case that needs to be fixed.
1115
1116         * WebView/webkitwebview.cpp:
1117
1118 2008-01-22  Christian Dywan  <christian@imendio.com>
1119
1120         Reviewed by Alp Toker.
1121
1122         [GTK] API: WebKitWebSettings is not usable
1123         http://bugs.webkit.org/show_bug.cgi?id=16219
1124
1125         Implement WebKitWebSettings.
1126
1127         * WebView/headers.pri:
1128         * WebView/webkit.h:
1129         * WebView/webkitprivate.cpp:
1130         * WebView/webkitprivate.h:
1131         * WebView/webkitsettings.cpp: Removed.
1132         * WebView/webkitsettings.h: Removed.
1133         * WebView/webkitwebsettings.cpp: Added.
1134         * WebView/webkitwebsettings.h: Added.
1135         * WebView/webkitwebview.cpp:
1136         * WebView/webkitwebview.h:
1137
1138 2008-01-21  Alp Toker  <alp@atoker.com>
1139
1140         GTK+ build fix for breakage introduced in r29698.
1141
1142         * WebCoreSupport/ChromeClientGtk.h:
1143
1144 2008-01-21  Darin Adler  <darin@apple.com>
1145
1146         Reviewed by John Sullivan.
1147
1148         - updated for changes to database functions
1149
1150         * WebCoreSupport/ChromeClientGtk.cpp:
1151         (WebKit::ChromeClient::exceededDatabaseQuota):
1152         * WebCoreSupport/ChromeClientGtk.h:
1153         * WebView/webkitprivate.cpp:
1154         (webkit_init):
1155
1156 2008-01-20  Alp Toker  <alp@atoker.com>
1157
1158         Reviewed by Mark Rowe.
1159
1160         Attach the widget's style to its window and set the background to the
1161         base background to avoid black flicker when repainting. This is
1162         similar to what GtkTextView does.
1163
1164         * WebView/webkitwebview.cpp:
1165
1166 2008-01-19  Christian Dywan  <christian@imendio.com>
1167
1168         Reviewed by Alp Toker.
1169
1170         http://bugs.webkit.org/show_bug.cgi?id=16882
1171         [GTK] ChromeClientGtk is incompete
1172
1173         Implement these functions.
1174
1175         * WebCoreSupport/ChromeClientGtk.cpp:
1176         (WebKit::ChromeClient::windowRect):
1177         (WebKit::ChromeClient::pageRect):
1178         (WebKit::ChromeClient::scaleFactor):
1179         (WebKit::ChromeClient::focus):
1180         (WebKit::ChromeClient::unfocus):
1181         (WebKit::ChromeClient::canTakeFocus):
1182         (WebKit::ChromeClient::takeFocus):
1183         (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
1184
1185 2008-01-18  Luca Bruno  <lethalman88@gmail.com>
1186
1187         Reviewed by Alp Toker.
1188
1189         http://bugs.webkit.org/show_bug.cgi?id=16910
1190         [GTK] REGRESSION: keyboard cursor doesn't blink
1191
1192         http://bugs.webkit.org/show_bug.cgi?id=16863
1193         [GTK] REGRESSION: tab focusing doesn't work
1194
1195         * WebView/webkitwebview.cpp:
1196         (webkit_web_view_focus_in_event): Added. Set the active frame.
1197         (webkit_web_view_class_init):
1198
1199 2008-01-16  Alp Toker  <alp@atoker.com>
1200
1201         Reviewed by Mark Rowe.
1202
1203         http://bugs.webkit.org/show_bug.cgi?id=16218
1204         [GTK] API: Should this entry point be called go_back rather than go_backward?
1205
1206         Obsolete 'backward' terminology in API in favour of 'back'. Introduce
1207         step-based back/forward functions.
1208
1209         Document more functions.
1210
1211         * WebView/webkitdefines.h:
1212         * WebView/webkitwebview.cpp:
1213         * WebView/webkitwebview.h:
1214
1215 2008-01-10  Maciej Stachowiak  <mjs@apple.com>
1216
1217         Reviewed by Sam.
1218
1219         - remove SecurityOriginData and fold its functionality into SecurityOrigin
1220
1221         * WebCoreSupport/ChromeClientGtk.cpp:
1222         (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
1223         (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
1224         * WebCoreSupport/ChromeClientGtk.h:
1225
1226 2008-01-09  Luca Bruno  <lethalman88@gmail.com>
1227
1228         Reviewed by Alp Toker.
1229
1230         http://bugs.webkit.org/show_bug.cgi?id=16802
1231         [GTK] Missing gtk properties
1232         
1233         Add missing properties to WebKitViewFrame and WebKitWebView.
1234         
1235         * WebView/webkitprivate.h: add some useful defines for param specs
1236         * WebView/webkitwebframe.cpp:
1237         (webkit_web_frame_get_property): added
1238         (webkit_web_frame_class_init): add name, title and uri read-only properties
1239         * WebView/webkitwebview.cpp:
1240         (webkit_web_view_get_property): add editable property read
1241         (webkit_web_view_set_property): added for editable property write
1242         (webkit_web_view_class_init): add read-write editable property
1243
1244 2008-01-03  Xan Lopez  <xan@gnome.org>
1245
1246         Reviewed by Alp Toker.
1247
1248         http://bugs.webkit.org/show_bug.cgi?id=16654
1249         [GTK] Signal "navigation-requested" does not react correctly on
1250         return TRUE from callbacks
1251         
1252         * WebView/webkitwebview.cpp: use our own accumulator for signals
1253         returning WebKitNavigationResponse. The emission will be stopped
1254         when any callback returns anything but
1255         WEBKIT_NAVIGATION_RESPONSE_ACCEPT.
1256
1257 2008-01-02  Holger Hans Peter Freyther  <zecke@selfish.org>
1258
1259         Rubber stamped by Darin.
1260
1261         Coding Style fix. Do not use an else because we use a return in the
1262         if branch.
1263
1264         * WebView/webkitwebview.cpp:
1265
1266 2008-01-02  Luca Bruno  <lethalman88@gmail.com>
1267
1268         Reviewed by Alp Toker.
1269
1270         http://bugs.webkit.org/show_bug.cgi?id=16115
1271         [GTK] ContextMenu and ContextMenuItem lacks an implementation
1272
1273         Add context menu support.
1274
1275         Based on a patch by Holger Freyther.
1276
1277         * WebCoreSupport/ContextMenuClientGtk.cpp:
1278         (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
1279         * WebView/webkitprivate.h:
1280         * WebView/webkitwebview.cpp:
1281
1282 2007-12-29  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1283
1284         Reviewed by Alp Toker.
1285
1286         http://bugs.webkit.org/show_bug.cgi?id=16669
1287         autotools update and fixes
1288
1289         pkgconfig file and icon database inclusion fix
1290
1291         * WebKitGtk.pc.in: Remove ICU_FLAGS from Cflags
1292         * WebView/webkitprivate.cpp: Guard ICONDATABASE inclusions
1293
1294 2007-12-28  Christian Dywan  <christian@twotoasts.de>
1295
1296         Reviewed by Alp Toker.
1297
1298         http://bugs.webkit.org/show_bug.cgi?id=16642
1299         [GTK] webkit_web_view_has_selection returns the opposite result
1300
1301         Invert the return value.
1302
1303         * WebView/webkitwebview.cpp:
1304
1305 2007-12-26  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1306
1307         Reviewed by Alp Toker.
1308
1309         http://bugs.webkit.org/show_bug.cgi?id=16390
1310         Use autotools or GNU make as the build system for the GTK port
1311
1312         * WebKitGtk.pc.in: Added.
1313
1314 2007-12-24  Christian Dywan  <christian@twotoasts.de>
1315
1316         Reviewed by Alp Toker.
1317
1318         http://bugs.webkit.org/attachment.cgi?id=18099
1319         There are no NULL checks for strings in public api
1320
1321         Add missing NULL checks for string parameters.
1322
1323         Provide sensible defaults when NULL is passed for the optional
1324         parameters in webkit_web_view_load_string(). UTF-8 is the default
1325         encoding used by GLib and text/html is a reasonable default content
1326         type.
1327
1328         * WebView/webkitnetworkrequest.cpp:
1329         * WebView/webkitwebview.cpp:
1330
1331 2007-12-22  Xan Lopez  <xan@gnome.org>
1332
1333         Reviewed by Alp Toker.
1334
1335         Use webView, web_view, etc for variable names instead of page, which
1336         was left over from the old API.
1337
1338         * WebCoreSupport/EditorClientGtk.cpp:
1339         (WebKit::imContextCommitted):
1340         (WebKit::EditorClient::EditorClient):
1341         (WebKit::EditorClient::~EditorClient):
1342         (WebKit::EditorClient::textFieldDidBeginEditing):
1343         (WebKit::EditorClient::textFieldDidEndEditing):
1344         * WebCoreSupport/EditorClientGtk.h:
1345         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1346         (WebKit::FrameLoaderClient::postProgressStartedNotification):
1347         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
1348         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
1349         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1350         (WebKit::FrameLoaderClient::windowObjectCleared):
1351         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
1352         (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
1353         (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
1354
1355 2007-12-22  Alp Toker  <alp@atoker.com>
1356
1357         GTK+ build fix
1358
1359         GTK_TARGET_OTHER_APP is not available in older GTK+ versions. Pass
1360         empty target flags for now.
1361
1362         Check GTK+, not GLib versions, since they are different.
1363
1364         * WebView/webkitwebview.cpp:
1365
1366 2007-12-22  Luca Bruno  <lethalman88@gmail.com>
1367
1368         Reviewed by Alp Toker.
1369
1370         http://bugs.webkit.org/show_bug.cgi?id=16311
1371         [Gtk] Copy rich text to clipboard as text/plain and text/html.
1372
1373         Add copy and paste targets for WebView and implement
1374         WebCore::PasteboardHelper.
1375
1376         * WebCoreSupport/PasteboardHelperGtk.cpp: Added.
1377         (WebKit::PasteboardHelperGtk::getClipboard):
1378         (WebKit::PasteboardHelperGtk::getCopyTargetList):
1379         (WebKit::PasteboardHelperGtk::getPasteTargetList):
1380         * WebCoreSupport/PasteboardHelperGtk.h: Added.
1381         * WebView/webkitprivate.cpp:
1382         (webkit_init): set the PasteboardHelperGtk as WebCore::Pasteboard helper
1383         * WebView/webkitprivate.h:
1384         (_WebKitWebViewPrivate::copy_target_list): added
1385         (_WebKitWebViewPrivate::paste_target_list): added
1386         * WebView/webkitwebview.cpp:
1387         (webkit_web_view_get_property): added
1388         (webkit_web_view_finalize):
1389         (webkit_web_view_class_init): create properties for COPY_TARGET and PASTE_TARGET and create the copy and paste target lists
1390         (webkit_web_view_get_copy_target_list): added
1391         (webkit_web_view_get_paste_target_list): added
1392         * WebView/webkitwebview.h:
1393         (webkit_web_view_get_copy_target_list): added
1394         (webkit_web_view_get_paste_target_list): added
1395
1396 2007-12-22  Xan Lopez  <xan@gnome.org>
1397
1398         Reviewed by Alp Toker.
1399
1400         Follow up to http://bugs.webkit.org/show_bug.cgi?id=16144
1401
1402         * WebView/webkitwebview.cpp:
1403         Fix signal id arguments for g_signal_emit in
1404         clipboard functions.
1405
1406 2007-12-21  Alp Toker  <alp@atoker.com>
1407
1408         Documentation typo fix: s/wether/whether
1409
1410         * WebView/webkitwebview.cpp:
1411
1412 2007-12-21  Christian Dywan  <christian@twotoasts.de>
1413
1414         Reviewed by Alp Toker.
1415
1416         http://bugs.webkit.org/show_bug.cgi?id=16144
1417         [GTK] Clipboard/ selection handling functions
1418
1419         * WebView/webkitprivate.h:
1420         * WebView/webkitwebview.cpp:
1421         * WebView/webkitwebview.h:
1422
1423 2007-12-19  Christian Dywan  <christian@twotoasts.de> 
1424
1425         Reviewed by Alp Toker.
1426
1427         http://bugs.webkit.org/show_bug.cgi?id=16222
1428         [GTK] Implement inline search and highlighting of matching strings.
1429
1430         * WebView/webkitwebview.cpp:
1431         * WebView/webkitwebview.h:
1432
1433 2007-12-19  Alp Toker  <alp@atoker.com>
1434
1435         Reviewed by Holger Freyther.
1436
1437         Delete when Destroy functions are called to avoid leaks
1438         
1439         This matches the Mac port.
1440
1441         * WebCoreSupport/ChromeClientGtk.cpp:
1442         * WebCoreSupport/ContextMenuClientGtk.cpp:
1443         * WebCoreSupport/InspectorClientGtk.cpp:
1444
1445 2007-12-14  Juan A. Suarez Romero  <jasuarez@igalia.com>
1446
1447         Reviewed by Alp Toker.
1448
1449         http://bugs.webkit.org/show_bug.cgi?id=16042
1450         [GTK] Eliminate webkit_init()
1451
1452         Move webkit initialization to WebView class init.
1453
1454         * WebView/headers.pri:
1455         * WebView/webkit.h:
1456         * WebView/webkitglobal.cpp: Removed.
1457         * WebView/webkitglobal.h: Removed.
1458         * WebView/webkitprivate.cpp:
1459         (WebKit::webkit_init):
1460         * WebView/webkitprivate.h:
1461         * WebView/webkitwebframe.cpp:
1462         * WebView/webkitwebview.cpp:
1463
1464 2007-12-17  Luca Bruno  <lethalman88@gmail.com>
1465
1466         Reviewed by Alp Toker.
1467
1468         http://bugs.webkit.org/show_bug.cgi?id=13542
1469         gdklauncher doesnt change URL in adress GTKEntry.
1470
1471         Let DOMDocument observers do their work before emitting title-changed.
1472         The load-committed signal has been added for both the view and the frame.
1473
1474         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1475         (WebKit::FrameLoaderClient::dispatchDidReceiveTitle): emit title-changed
1476         (WebKit::FrameLoaderClient::setTitle): set private title
1477         (WebKit::FrameLoaderClient::dispatchDidCommitLoad): update the frame uri and emit load-committed
1478         * WebView/webkit-marshal.list:
1479         * WebView/webkitprivate.h:
1480         (_WebKitWebFramePrivate): rename location to uri
1481         * WebView/webkitwebframe.cpp:
1482         (webkit_web_frame_get_location): renamed to *_get_uri
1483         (webkit_web_frame_get_uri):
1484         (webkit_web_frame_real_title_changed): removed (see FrameLoaderClient::setTitle)
1485         (webkit_web_frame_class_init): pass the frame and the title in title-changed, not the uri
1486         (webkit_web_frame_finalize):
1487         * WebView/webkitwebframe.h:
1488         (_WebKitWebFrameClass): removed title_changed
1489         * WebView/webkitwebview.cpp:
1490         (webkit_web_view_class_init): pass only the title in title-changed
1491
1492 2007-12-14  Alp Toker  <alp@atoker.com>
1493
1494         Fix inconsistent indentation in the license header. Maciej was right!
1495
1496         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1497
1498 2007-12-14  Alp Toker  <alp@atoker.com>
1499
1500         Reviewed by Maciej.
1501
1502         http://bugs.webkit.org/show_bug.cgi?id=16432
1503         [GTK] Update license headers
1504
1505         Consent has been given by the authors of these files to change license
1506         to the LGPL as outlined in the bug report.
1507
1508         * WebCoreSupport/ChromeClientGtk.cpp:
1509         * WebCoreSupport/ContextMenuClientGtk.cpp:
1510         * WebCoreSupport/DragClientGtk.cpp:
1511         * WebCoreSupport/EditorClientGtk.cpp:
1512         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1513         (WebKit::FrameLoaderClient::makeRepresentation):
1514         (WebKit::FrameLoaderClient::forceLayout):
1515         (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
1516         (WebKit::FrameLoaderClient::setCopiesOnScroll):
1517         (WebKit::FrameLoaderClient::detachedFromParent1):
1518         (WebKit::FrameLoaderClient::detachedFromParent2):
1519         (WebKit::FrameLoaderClient::detachedFromParent3):
1520         (WebKit::FrameLoaderClient::detachedFromParent4):
1521         (WebKit::FrameLoaderClient::loadedFromCachedPage):
1522         (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
1523         (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
1524         (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
1525         (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
1526         (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
1527         (WebKit::FrameLoaderClient::dispatchWillClose):
1528         (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
1529         (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
1530         (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
1531         (WebKit::FrameLoaderClient::dispatchShow):
1532         (WebKit::FrameLoaderClient::cancelPolicyCheck):
1533         (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
1534         (WebKit::FrameLoaderClient::revertToProvisionalState):
1535         (WebKit::FrameLoaderClient::clearUnarchivingState):
1536         (WebKit::FrameLoaderClient::willChangeTitle):
1537         (WebKit::FrameLoaderClient::didChangeTitle):
1538         (WebKit::FrameLoaderClient::finalSetupForReplace):
1539         (WebKit::FrameLoaderClient::setDefersLoading):
1540         (WebKit::FrameLoaderClient::isArchiveLoadPending):
1541         (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
1542         (WebKit::FrameLoaderClient::clearArchivedResources):
1543         (WebKit::FrameLoaderClient::canHandleRequest):
1544         (WebKit::FrameLoaderClient::canShowMIMEType):
1545         (WebKit::FrameLoaderClient::representationExistsForURLScheme):
1546         (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
1547         (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
1548         (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
1549         (WebKit::FrameLoaderClient::dispatchDidFailLoading):
1550         (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
1551         (WebKit::FrameLoaderClient::download):
1552         (WebKit::FrameLoaderClient::cancelledError):
1553         (WebKit::FrameLoaderClient::blockedError):
1554         (WebKit::FrameLoaderClient::cannotShowURLError):
1555         (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
1556         (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
1557         (WebKit::FrameLoaderClient::fileDoesNotExistError):
1558         (WebKit::FrameLoaderClient::shouldFallBack):
1559         (WebKit::FrameLoaderClient::willUseArchive):
1560         (WebKit::FrameLoaderClient::canCachePage):
1561         (WebKit::FrameLoaderClient::dispatchCreatePage):
1562         (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
1563         (WebKit::FrameLoaderClient::setMainDocumentError):
1564         (WebKit::FrameLoaderClient::startDownload):
1565         (WebKit::FrameLoaderClient::updateGlobalHistoryForStandardLoad):
1566         (WebKit::FrameLoaderClient::updateGlobalHistoryForReload):
1567         (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
1568         (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
1569         (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1570         * WebCoreSupport/InspectorClientGtk.cpp:
1571         * WebView/webkitwebview.cpp:
1572
1573 2007-12-14  Darin Adler  <darin@apple.com>
1574
1575         Reviewed by Alexey.
1576
1577         * WebCoreSupport/EditorClientGtk.cpp:
1578         (WebKit::EditorClient::handleKeyboardEvent): Changed to use Editor::command
1579         instead of Editor::execCommand.
1580         * WebView/webkitwebview.cpp: Ditto.
1581
1582 2007-12-12  Brady Eidson  <beidson@apple.com>
1583
1584         Reviewed by Sam Weinig
1585
1586         As part of doing some CachedPage and client cleanup, keep GTK building
1587
1588         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1589         (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
1590         (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
1591         (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1592         * WebCoreSupport/FrameLoaderClientGtk.h:
1593
1594 2007-12-12  Alp Toker  <alp@atoker.com>
1595
1596         Reviewed by Holger Freyther.
1597
1598         http://bugs.webkit.org/show_bug.cgi?id=15576
1599         [GTK] Printing support
1600
1601         Add printing support.
1602
1603         The API will be kept internal for the time being, but printing can now
1604         be triggered by Web pages or the JSC API using JavaScript.
1605
1606         The print spooler and pagination code is fairly abstract and could be
1607         shared by other ports including Win and Qt once complete. It doesn't
1608         have header/footer support yet.
1609
1610         * WebCoreSupport/ChromeClientGtk.cpp:
1611         (WebKit::ChromeClient::print):
1612         * WebView/webkitprivate.h:
1613         * WebView/webkitwebframe.cpp:
1614         (PrintContext::begin_print):
1615         (PrintContext::draw_page):
1616         (PrintContext::end_print):
1617         (PrintContext::webkit_web_frame_print):
1618
1619 2007-12-12  Sam Weinig  <sam@webkit.org>
1620
1621         Build fix.
1622
1623         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1624         (WebKit::FrameLoaderClient::didChangeTitle):
1625
1626 2007-12-12  Sam Weinig  <sam@webkit.org>
1627
1628         Build fix.
1629
1630         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1631         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1632
1633 2007-12-11  George Wright  <george.wright@collabora.co.uk>
1634
1635         Reviewed by Alp Toker.
1636
1637         http://bugs.webkit.org/show_bug.cgi?id=14120
1638         [GDK] Support input methods
1639
1640         This patch adds infrastructure for input method support.
1641
1642         It also adds Hildon features for the Maemo mobile platform sufficient
1643         to support the virtual keyboard.
1644
1645         * WebCoreSupport/EditorClientGtk.cpp:
1646         (WebKit::imContextCommitted):
1647         (WebKit::EditorClient::EditorClient):
1648         (WebKit::EditorClient::~EditorClient):
1649         (WebKit::EditorClient::textFieldDidBeginEditing):
1650         (WebKit::EditorClient::textFieldDidEndEditing):
1651         * WebCoreSupport/EditorClientGtk.h:
1652         * WebView/webkitprivate.h:
1653         * WebView/webkitwebview.cpp:
1654
1655 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
1656
1657         Reviewed by Darin.
1658
1659         <rdar://problem/5535636>
1660         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1661
1662         http://bugs.webkit.org/show_bug.cgi?id=13916
1663         JavaScript detects Tab as a character input on a textfield validation
1664
1665         * WebCoreSupport/EditorClientGtk.cpp:
1666         (WebKit::EditorClient::handleKeyboardEvent):
1667         (WebKit::EditorClient::handleInputMethodKeydown):
1668         * WebCoreSupport/EditorClientGtk.h:
1669         Updated for cross-platform changes as much as it was possible without a gtk build environment.
1670
1671 2007-12-08  Luca Bruno  <lethalman88@gmail.com>
1672
1673         Reviewed by Alp Toker.
1674
1675         http://bugs.webkit.org/show_bug.cgi?id=16346
1676         [GTK] Some webview parts must use the focused frame.
1677
1678         Also update some old code.
1679
1680         * WebView/webkitprivate.cpp:
1681         (getFrameFromView): removed
1682
1683         * WebView/webkitprivate.h:
1684         (getFrameFromView): removed
1685         
1686         * WebView/webkitwebview.cpp:
1687         (webkit_web_view_expose_event):
1688         (webkit_web_view_key_press_event): use focused frame
1689         (webkit_web_view_key_release_event): use focused frame
1690         (webkit_web_view_button_press_event):
1691         (webkit_web_view_button_release_event):
1692         (webkit_web_view_motion_event):
1693         (webkit_web_view_scroll_event):
1694         (webkit_web_view_size_allocate):
1695         (webkit_web_view_set_scroll_adjustments):
1696         (webkit_web_view_execute_script):
1697         (webkit_web_view_stop_loading):
1698         (webkit_web_view_load_string):
1699         (webkit_web_view_reload):
1700         (webkit_web_view_open):
1701         (webkit_web_view_can_go_forward):
1702         (webkit_web_view_can_go_backward):
1703         (webkit_web_view_go_forward):
1704         (webkit_web_view_go_backward):
1705
1706         * WebCoreSupport/EditorClientGtk.cpp:
1707         (WebKit::EditorClient::handleKeypress): fix for page up and page down keys for editable contents
1708
1709 2007-12-07  Luca Bruno  <lethalman88@gmail.com>
1710
1711         Reviewed by Alp Toker.
1712
1713         http://bugs.webkit.org/show_bug.cgi?id=16333
1714         [GTK] Key bindings must work with focused frames.
1715
1716         There are still more cases where getFrameFromView() is mis-used that
1717         need to be fixed, but this is a good start.
1718
1719         * WebView/webkitwebview.cpp:
1720         (webkit_web_view_real_select_all):
1721         (webkit_web_view_real_cut_clipboard):
1722         (webkit_web_view_real_copy_clipboard):
1723         (webkit_web_view_real_paste_clipboard):
1724
1725 2007-12-06  Xan Lopez  <xan@gnome.org>
1726
1727         Reviewed by Alp Toker.
1728
1729         http://bugs.webkit.org/show_bug.cgi?id=16329
1730         [GTK] Two small cleanups
1731
1732         * WebCoreSupport/ChromeClientGtk.cpp:
1733         (WebKit::ChromeClient::createWindow):
1734         (WebKit::ChromeClient::addMessageToConsole):
1735         (WebKit::ChromeClient::runJavaScriptAlert):
1736         (WebKit::ChromeClient::runJavaScriptConfirm):
1737         (WebKit::ChromeClient::runJavaScriptPrompt):
1738         (WebKit::ChromeClient::setStatusbarText):
1739         (WebKit::ChromeClient::mouseDidMoveOverElement):
1740         (WebKit::ChromeClient::setToolTip):
1741         * WebCoreSupport/ChromeClientGtk.h:
1742         * WebView/webkitprivate.cpp:
1743         (WebKit::kit):
1744         s/m_webPage/m_webView/
1745         * WebView/webkitwebview.cpp:
1746         Chain up to the parent class to activate bindings instead
1747         of doing it explicitely.
1748
1749 2007-12-06  Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1750
1751         Reviewed by Alp Toker.
1752
1753         http://bugs.webkit.org/show_bug.cgi?id=16173
1754         Licensing change
1755
1756         Change license from BSD to LGPL.
1757
1758         * WebCoreSupport/ChromeClientGtk.h:
1759         * WebView/webkitdefines.h:
1760         * WebView/webkitglobal.cpp:
1761         * WebView/webkitglobal.h:
1762         * WebView/webkitnetworkrequest.cpp:
1763         * WebView/webkitnetworkrequest.h:
1764         * WebView/webkitprivate.cpp:
1765         * WebView/webkitprivate.h:
1766         * WebView/webkitsettings.cpp:
1767         * WebView/webkitsettings.h:
1768         * WebView/webkitwebframe.cpp:
1769         * WebView/webkitwebframe.h:
1770         * WebView/webkitwebview.h:
1771
1772 2007-12-05  Michael Natterer  <mitch@imendio.com>
1773
1774         Reviewed by Alp Toker.
1775
1776         * WebView/webkitwebview.cpp: split key and button event handlers
1777         into separate press and release functions.
1778
1779 2007-12-05  Luca Bruno  <lethalman88@gmail.com>
1780
1781         Reviewed by Alp Toker.
1782
1783         Handle events for Home and End keys.
1784
1785         * WebView/webkitwebview.cpp:
1786         (webkit_web_view_key_event):
1787         * WebCoreSupport/EditorClientGtk.cpp:
1788         (EditorClient::handleKeypress):
1789
1790 2007-12-05  Michael Natterer  <mitch@imendio.com>
1791
1792         Reviewed by Alp Toker.
1793
1794         * WebView/webkitwebview.cpp
1795         * WebCoreSupport/ChromeClientGtk.cpp
1796         * WebCoreSupport/FrameLoaderClientGtk.cpp: canonicalize signal names.
1797
1798 2007-12-04  Darin Adler  <darin@apple.com>
1799
1800         Reviewed by Kevin Decker.
1801
1802         * WebCoreSupport/FrameLoaderClientGtk.cpp: Removed obsolete privateBrowsingEnabled.
1803         * WebCoreSupport/FrameLoaderClientGtk.h: Ditto.
1804
1805 2007-12-04  Michael Natterer  <mitch@imendio.com>
1806
1807         Reviewed by Alp Toker.
1808
1809         * WebView/webkitwebframe.cpp: don't redeclare the marshaller
1810         prototype but simply include "webkit-marshal.h" now that its build
1811         is fixed.
1812
1813 2007-12-04  Luca Bruno  <lethalman88@gmail.com>
1814
1815         Reviewed by Alp Toker.
1816
1817         Fix a regression in key press propagation in r28386.
1818
1819         Fix indentation (was off by two spaces).
1820
1821         * WebView/webkitwebview.cpp:
1822
1823 2007-12-04  Luca Bruno  <lethalman88@gmail.com>
1824
1825         Reviewed by Alp Toker.
1826
1827         http://bugs.webkit.org/show_bug.cgi?id=15911
1828         [GTK] Use GtkBindingSet to make key bindings user-configurable
1829
1830         This patch doesn't cover the full range of bindings, only the ones
1831         that seem obviously correct and have clear public API.
1832
1833         * WebCoreSupport/EditorClientGtk.cpp:
1834         (WebKit::EditorClient::handleKeypress): do not handle clipboard operations and select-all
1835         * WebView/webkitwebview.cpp: add cut, copy, paste and select-all signals and allow binding sets (issue #15911 and #16144)
1836         * WebView/webkitwebview.h:
1837
1838 2007-12-04  Xan Lopez  <xan@gnome.org>
1839
1840         Reviewed by Alp Toker.
1841
1842         http://bugs.webkit.org/show_bug.cgi?id=15561
1843         GTK port needs DumpRenderTree implementation
1844
1845         Start work on the GTK+ DRT.
1846
1847         Add a couple of proposed new API entry points. They are currently for
1848         internal use only by DRT and not in the public headers.
1849
1850         * WebView/webkitprivate.h:
1851         * WebView/webkitwebframe.cpp:
1852
1853 2007-12-03  Dan Bernstein  <mitz@apple.com>
1854
1855         Reviewed by Dave Hyatt.
1856
1857         - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
1858
1859         * WebView/webkitwebview.cpp: Remove the call to sendResizeEvent() since
1860         FrameView sends it now.
1861
1862 2007-12-03  Alp Toker  <alp@atoker.com>
1863
1864         globalObject() GTK+ build fix.
1865
1866         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1867         (WebKit::FrameLoaderClient::windowObjectCleared):
1868
1869 2007-12-03  Geoffrey Garen  <ggaren@apple.com>
1870
1871         GTK Build fix: get globalExec from the right place.
1872
1873         * WebView/webkitwebframe.cpp:
1874
1875 2007-12-01  Alp Toker  <alp@atoker.com>
1876
1877         Reviewed by Adam Roben.
1878
1879         Wrap type definitions in webkitdefines.h with G_BEGIN_DECLS, which
1880         takes care of extern "C".
1881
1882         Introduce a webkit.h convenience header.
1883
1884         Remove another left-over from the old API.
1885
1886         * WebView/headers.pri:
1887         * WebView/webkit.h: Added.
1888         * WebView/webkitdefines.h:
1889
1890 2007-12-01  Alp Toker  <alp@atoker.com>
1891
1892         Reviewed by Adam Roben.
1893
1894         http://bugs.webkit.org/show_bug.cgi?id=15687
1895         [Gtk] Allow API clients to interact with JavaScript in web pages
1896
1897         Include the necessary JavaScriptCore headers directly in the public
1898         API headers.
1899
1900         This is the last of a series of changes needed to allow GTK+
1901         applications to access the JS API.
1902
1903         Until http://bugs.webkit.org/show_bug.cgi?id=16029 is resolved,
1904         developers will still have to include the individual JS API headers
1905         individually if they want to use it in their applications.
1906
1907         Patch also removes some old legacy use of GDK that was in
1908         WebKitWebFrame. No ABI change.
1909
1910         * WebView/webkitdefines.h:
1911         * WebView/webkitwebframe.h:
1912         * WebView/webkitwebview.h:
1913
1914 2007-11-30  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1915
1916         Fix for GTK+ Debug build breakage introduced in r28273.
1917
1918         * WebView/webkitprivate.cpp:
1919         (WebKit::kit):
1920
1921 2007-11-30  Alp Toker  <alp@atoker.com>
1922
1923         Reviewed by Adam Roben.
1924
1925         http://bugs.webkit.org/show_bug.cgi?id=15691
1926         [GTK] Public API does not follow GTK+ conventions
1927
1928         Refactor the WebKit/GTK+ public API. Changes:
1929           WebKitPage -> WebKitWebView
1930           WebKitFrame -> WebKitWebFrame
1931
1932         Public API source and header names have been updated to mirror the API
1933         changes.
1934
1935         The API is now kept in WebKit/gtk/WebView to match other ports in the
1936         same class such as Mac and Win.
1937
1938         API/ABI-breaking change.
1939
1940         * Api: Removed.
1941         * Api/headers.pri: Removed.
1942         * Api/webkitgtk-marshal.list: Removed.
1943         * Api/webkitgtkdefines.h: Removed.
1944         * Api/webkitgtkframe.cpp: Removed.
1945         * Api/webkitgtkframe.h: Removed.
1946         * Api/webkitgtkglobal.cpp: Removed.
1947         * Api/webkitgtkglobal.h: Removed.
1948         * Api/webkitgtknetworkrequest.cpp: Removed.
1949         * Api/webkitgtknetworkrequest.h: Removed.
1950         * Api/webkitgtkpage.cpp: Removed.
1951         * Api/webkitgtkpage.h: Removed.
1952         * Api/webkitgtkprivate.cpp: Removed.
1953         * Api/webkitgtkprivate.h: Removed.
1954         * Api/webkitgtksettings.cpp: Removed.
1955         * Api/webkitgtksettings.h: Removed.
1956         * WebCoreSupport/ChromeClientGtk.cpp:
1957         (WebKit::ChromeClient::ChromeClient):
1958         (WebKit::ChromeClient::createWindow):
1959         * WebCoreSupport/ChromeClientGtk.h:
1960         (WebKit::ChromeClient::webPage):
1961         * WebCoreSupport/EditorClientGtk.cpp:
1962         (WebKit::EditorClient::isEditable):
1963         (WebKit::EditorClient::EditorClient):
1964         * WebCoreSupport/EditorClientGtk.h:
1965         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1966         (WebKit::FrameLoaderClient::FrameLoaderClient):
1967         (WebKit::FrameLoaderClient::postProgressStartedNotification):
1968         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
1969         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
1970         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1971         (WebKit::FrameLoaderClient::createFrame):
1972         (WebKit::FrameLoaderClient::windowObjectCleared):
1973         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
1974         (WebKit::FrameLoaderClient::setTitle):
1975         * WebCoreSupport/FrameLoaderClientGtk.h:
1976         (WebKit::FrameLoaderClient::webFrame):
1977         * WebView: Added.
1978         * WebView/headers.pri: Added.
1979         * WebView/webkit-marshal.list: Added.
1980         * WebView/webkitdefines.h: Added.
1981         * WebView/webkitglobal.cpp: Added.
1982         * WebView/webkitglobal.h: Added.
1983         * WebView/webkitnetworkrequest.cpp: Added.
1984         * WebView/webkitnetworkrequest.h: Added.
1985         * WebView/webkitprivate.cpp: Added.
1986         (WebKit::apply):
1987         (WebKit::create):
1988         (WebKit::getFrameFromView):
1989         (WebKit::getViewFromFrame):
1990         (WebKit::core):
1991         (WebKit::kit):
1992         * WebView/webkitprivate.h: Added.
1993         * WebView/webkitsettings.cpp: Added.
1994         * WebView/webkitsettings.h: Added.
1995         * WebView/webkitwebframe.cpp: Added.
1996         * WebView/webkitwebframe.h: Added.
1997         * WebView/webkitwebview.cpp: Added.
1998         * WebView/webkitwebview.h: Added.
1999
2000 2007-11-28  Alp Toker  <alp@atoker.com>
2001
2002         Reviewed by Timothy Hatcher.
2003
2004         http://bugs.webkit.org/show_bug.cgi?id=16174
2005         [GTK] Use "URI" not "URL" in public API
2006
2007         Replace use of the term "URL" with "URI" in public headers,
2008         documentation and some internal code to match GLib/GTK+ convention.
2009
2010         This is now mentioned in the API guidelines:
2011           http://trac.webkit.org/projects/webkit/wiki/HackingGtk
2012
2013         API/ABI-breaking change.
2014
2015         * Api/webkitgtkframe.cpp:
2016         * Api/webkitgtknetworkrequest.cpp:
2017         * Api/webkitgtknetworkrequest.h:
2018         * Api/webkitgtkpage.cpp:
2019         * Api/webkitgtkpage.h:
2020         * Api/webkitgtkprivate.h:
2021         * Api/webkitgtksettings.h:
2022
2023 2007-11-29  Brady Eidson  <beidson@apple.com>
2024
2025         Better build fix for Gtk
2026
2027         * WebCoreSupport/ChromeClientGtk.h:
2028
2029 2007-11-29  Brady Eidson  <beidson@apple.com>
2030
2031         Keep it building with new client method
2032
2033         * WebCoreSupport/ChromeClientGtk.cpp:
2034         (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
2035         (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
2036         * WebCoreSupport/ChromeClientGtk.h:
2037
2038 2007-11-26  Alp Toker  <alp@atoker.com>
2039
2040         Reviewed by Adam Roben.
2041
2042         http://bugs.webkit.org/show_bug.cgi?id=16149
2043         Implement the window-object-cleared signal
2044
2045         This implementation provides the JSGlobalContextRef and JSObjectRef
2046         directly rather than using an intermediate JS wrapper object, similar
2047         to the approach taken by the Win port.
2048
2049         * Api/webkitgtk-marshal.list:
2050         * Api/webkitgtkframe.h:
2051         * Api/webkitgtkpage.cpp:
2052         * Api/webkitgtkpage.h:
2053         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2054         (WebKit::FrameLoaderClient::windowObjectCleared):
2055
2056 2007-11-24  Alp Toker  <alp@atoker.com>
2057
2058         Reviewed by Mark Rowe.
2059
2060         http://bugs.webkit.org/show_bug.cgi?id=15691
2061         [GTK] Public API does not follow GTK+ conventions
2062
2063         Public API enhancements:
2064
2065         Implement webkit_page_get_editable() and webkit_page_set_editable().
2066
2067         Implement webkit_frame_get_name().
2068
2069         Remove definitions for functions that are unusable or not implemented.
2070         This has caused much confusion for application developers.
2071
2072         Improve documentation.
2073
2074         Correct/constify some return types.
2075
2076         Add parameter checks.
2077
2078         Make the default fixed font "Courier New" to match the other Web
2079         font names.
2080
2081         * Api/webkitgtkframe.cpp:
2082         * Api/webkitgtkframe.h:
2083         * Api/webkitgtkpage.cpp:
2084         * Api/webkitgtkpage.h:
2085         * Api/webkitgtkprivate.h:
2086         * WebCoreSupport/EditorClientGtk.cpp:
2087         (WebKit::EditorClient::isEditable):
2088
2089 2007-11-24  Alp Toker  <alp@atoker.com>
2090
2091         Reviewed by Mark Rowe.
2092
2093         http://bugs.webkit.org/show_bug.cgi?id=16125
2094         [GTK] Up key doesn't work properly when content is editable
2095
2096         Add a missing 'break' to avoid falling through to the next case when
2097         handling VK_UP keystrokes. This was noticed when working on editing
2098         support in the GTK+ port.
2099
2100         I've checked the other cases for similar typos and they seem fine.
2101
2102         * WebCoreSupport/EditorClientGtk.cpp:
2103         (WebKit::EditorClient::handleKeypress):
2104
2105 2007-11-24  Xan Lopez  <xan@gnome.org>
2106
2107         Reviewed by Alp Toker.
2108
2109         http://bugs.webkit.org/show_bug.cgi?id=15745
2110         [GTK] Arrow keys do not Scroll
2111         
2112         * Api/webkitgtkpage.cpp:
2113
2114         Support Up/Down/Right/Left keys to scroll. Slight hack, see FIXME for
2115         details.
2116
2117 2007-11-24  Christian Dywan  <christian@twotoasts.de>
2118
2119         Reviewed by Alp Toker.
2120
2121         http://bugs.webkit.org/show_bug.cgi?id=15891
2122         [GTK] Javascript console and dialogs are not implemented
2123
2124         Fix call to gtk_message_dialog_new() which expects a format string.
2125
2126         * Api/webkitgtkpage.cpp:
2127
2128 2007-11-24  Christian Dywan  <christian@twotoasts.de>
2129
2130         Reviewed by Alp Toker.
2131
2132         http://bugs.webkit.org/show_bug.cgi?id=15793
2133         [GTK] Webkit doesn't show title attribute tooltip when hovering over an image
2134
2135         Implement tooltip support using the new Tooltip API.
2136
2137         Support for older versions of GTK+ is still lacking.
2138
2139         * WebCoreSupport/ChromeClientGtk.cpp:
2140         (WebKit::ChromeClient::setToolTip):
2141
2142 2007-11-22  Alp Toker  <alp@atoker.com>
2143
2144         Reviewed by Mark Rowe.
2145
2146         Implement and document several WebKitFrame functions, some of which
2147         are necessary to support DRT.
2148
2149         Correct NULL handling and improve run-time checks.
2150
2151         * Api/webkitgtkframe.cpp:
2152         * Api/webkitgtkframe.h:
2153         * Api/webkitgtkprivate.cpp:
2154
2155 2007-11-22  Alp Toker  <alp@atoker.com>
2156
2157         Whitespace fixes only.
2158
2159         * Api/webkitgtkframe.cpp:
2160         * Api/webkitgtkpage.cpp:
2161         * Api/webkitgtkpage.h:
2162         * Api/webkitgtkprivate.h:
2163         * WebCoreSupport/ChromeClientGtk.cpp:
2164         * WebCoreSupport/ContextMenuClientGtk.cpp:
2165         * WebCoreSupport/ContextMenuClientGtk.h:
2166         * WebCoreSupport/DragClientGtk.h:
2167         * WebCoreSupport/EditorClientGtk.h:
2168         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2169         (WebKit::FrameLoaderClient::dispatchWillSendRequest):
2170         (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
2171         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
2172         (WebKit::FrameLoaderClient::createFrame):
2173         (WebKit::FrameLoaderClient::createJavaAppletWidget):
2174         (WebKit::FrameLoaderClient::registerForIconNotification):
2175         (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
2176         (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
2177         (WebKit::FrameLoaderClient::frameLoadCompleted):
2178         (WebKit::FrameLoaderClient::saveViewStateToItem):
2179         (WebKit::FrameLoaderClient::restoreViewState):
2180         (WebKit::FrameLoaderClient::shouldGoToHistoryItem):
2181         (WebKit::FrameLoaderClient::setTitle):
2182         * WebCoreSupport/FrameLoaderClientGtk.h:
2183
2184 2007-11-22  Michael Natterer  <mitch@imendio.com>
2185
2186         Reviewed by Alp Toker.
2187
2188         http://bugs.webkit.org/show_bug.cgi?id=15984
2189         Implement "navigation-requested" signal for WebKit Gtk
2190
2191         * Api/webkitgtknetworkrequest.h: fix parent class member.
2192
2193         * Api/webkitgtknetworkrequest.cpp
2194         * Api/webkitgtkprivate.h: basic implementation featuring an
2195         "url" member and API.
2196
2197         * Api/webkitgtkdefines.h: added network request typedefs.
2198
2199         * Api/webkitgtkpage.h: fix enum name:
2200         s/WEBKIT_NAVIGATION_REQUEST_RESPONSE/WebKitNavigationRequestResponse/
2201         and sanitized enum values.
2202
2203         * Api/webkitgtkpage.cpp: made "navigation-requested" a signal.
2204
2205         * Api/webkitgtk-marshal.list: added INT:OBJECT,OBJECT
2206
2207         * WebCoreSupport/FrameLoaderClientGtk.cpp: emit the new signal in
2208         dispatchDecidePolicyForNavigationAction().
2209
2210 2007-11-18  Christian Dywan  <christian@twotoasts.de>
2211
2212         Reviewed by Alp.
2213
2214         http://bugs.webkit.org/show_bug.cgi?id=15891
2215         [GTK] Javascript console and dialogs are not implemented
2216
2217         Correct script-prompt to return NULL when cancelled.
2218
2219         Small changes to avoid compiler warnings.
2220
2221         * Api/webkitgtkpage.cpp:
2222
2223 2007-11-17  Timothy Hatcher  <timothy@apple.com>
2224
2225         Reviewed by Mark Rowe.
2226
2227         Bug 13470: i18n: The Web Inspector is not localizable
2228         http://bugs.webkit.org/show_bug.cgi?id=13470
2229
2230         * WebCoreSupport/InspectorClientGtk.cpp:
2231         (WebKit::InspectorClient::localizedStringsURL): Empty stub.
2232         * WebCoreSupport/InspectorClientGtk.h: Add localizedStringsURL.
2233
2234 2007-11-13  Mark Rowe  <mrowe@apple.com>
2235
2236         Gtk build fix. Replace incorrect use of the LOG macro with g_print.
2237
2238         * Api/webkitgtkpage.cpp:
2239
2240 2007-11-13  Christian Dywan  <christian@twotoasts.de>
2241
2242         Reviewed by Alp.
2243
2244         http://bugs.webkit.org/show_bug.cgi?id=15891
2245         [GTK] Javascript console and dialogs are not implemented
2246
2247         Implement signals for script dialogs and console messages.
2248
2249         * Api/webkitgtk-marshal.list:
2250         * Api/webkitgtkpage.cpp:
2251         * Api/webkitgtkpage.h:
2252         * WebCoreSupport/ChromeClientGtk.cpp:
2253         (WebKit::ChromeClient::addMessageToConsole):
2254         (WebKit::ChromeClient::runJavaScriptAlert):
2255         (WebKit::ChromeClient::runJavaScriptConfirm):
2256         (WebKit::ChromeClient::runJavaScriptPrompt):
2257
2258 2007-11-11  Alp Toker  <alp@atoker.com>
2259
2260         Reviewed by Anders.
2261
2262         Initialize m_userAgent.
2263
2264         Fix typos in GDK_WINDOWING conditionals.
2265
2266         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2267         (WebKit::FrameLoaderClient::FrameLoaderClient):
2268         (WebKit::agentPlatform):
2269
2270 2007-11-11  Alp Toker  <alp@atoker.com>
2271
2272         Reviewed by Mark Rowe.
2273
2274         Mention Safari in the UserAgent string to improve site compatibility.
2275
2276         Also bump the hard-coded AppleWebKit version number.
2277
2278         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2279         (WebKit::composeUserAgent):
2280
2281 2007-11-09  Xan Lopez  <xan@gnome.org>
2282
2283         Reviewed by Alp.
2284
2285         Fix http://bugs.webkit.org/show_bug.cgi?id=15926
2286         [GTK] WebKitPage map handler is redundant.
2287
2288         * Api/webkitgtkpage.cpp:
2289         The map handler for WebKitPage is redundant, GtkContainer does
2290         the same (and more correctly).
2291
2292 2007-11-08  Alp Toker  <alp@atoker.com>
2293
2294         Reviewed by Mark Rowe.
2295
2296         http://bugs.webkit.org/show_bug.cgi?id=15653
2297         [GTK] Text editor does not handle common keystrokes
2298
2299         Handle more keystrokes in EditorClientGtk. Note that this is a
2300         temporary measure pending a proper solution using GtkBindingSet (see
2301         http://bugs.webkit.org/show_bug.cgi?id=15911).
2302
2303         * WebCoreSupport/EditorClientGtk.cpp:
2304         (WebKit::EditorClient::handleKeypress):
2305
2306 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
2307
2308         Reviewed by Sam.
2309
2310         - windowObjectCleared() is no longer const.  It needs to setup the
2311         script debugger and cannot be const to do so.
2312
2313         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2314         (WebKit::FrameLoaderClient::windowObjectCleared):
2315         * WebCoreSupport/FrameLoaderClientGtk.h:
2316
2317 2007-11-06  Rodney Dawes  <dobey@wayofthemonkey.com>
2318
2319         Fix http://bugs.webkit.org/attachment.cgi?id=17043&action=view
2320         Bug 15766: [GTK] WebKit sometimes spews binary data as text/plain into iframes
2321
2322         FrameLoaderClient::objectContentType needs to check with the MIMETypeRegistry
2323         to determine whether the given MIME type is displayable as an image or non-image.
2324
2325         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2326         (FrameLoaderClient::objectContentType): Change logic to match that in
2327         the Windows and Mac ports.
2328
2329 2007-11-05  Christian Dywan  <christian@twotoasts.de>
2330
2331         Reviewed by Maciej.
2332
2333         http://bugs.webkit.org/show_bug.cgi?id=15409
2334         FrameLoaderClientGtk hardcodes data, including platform to Linux i686
2335
2336         Compute a proper user agent string.
2337
2338         Patch includes fixes by Alp.
2339
2340         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2341         (WebKit::agentPlatform):
2342         (WebKit::agentOS):
2343         (WebKit::composeUserAgent):
2344         (WebKit::FrameLoaderClient::userAgent):
2345         * WebCoreSupport/FrameLoaderClientGtk.h:
2346
2347 2007-11-05  Mark Rowe  <mrowe@apple.com>
2348
2349         Rubber-stamped by Alp Toker.
2350
2351         Remove unused m_firstData member from FrameLoaderClientGtk.
2352
2353         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2354         * WebCoreSupport/FrameLoaderClientGtk.h:
2355
2356 2007-11-05  Mark Rowe  <mrowe@apple.com>
2357
2358         Reviewed by Alp Toker.
2359
2360         Fix http://bugs.webkit.org/show_bug.cgi?id=15842
2361         Bug 15842: [Gtk] about:blank doesn't work
2362
2363         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2364         (WebKit::FrameLoaderClient::finishedLoading): Set the encoding on the frame loader to
2365         get work done that is normally done when the first bit of data is received, even in the
2366         case of a document with no data (like about:blank).
2367
2368 2007-11-03  Alp Toker  <alp@atoker.com>
2369
2370         Reviewed by Mark Rowe.
2371
2372         Restore correct double and triple click behaviour
2373
2374         We ended up ignoring GDK_2BUTTON_PRESS and GDK_3BUTTON_PRESS after
2375         recent refactoring.
2376
2377         * Api/webkitgtkpage.cpp:
2378
2379 2007-11-03  Alp Toker  <alp@atoker.com>
2380
2381         Reviewed by Mark Rowe.
2382
2383         Frame scrolling and invalidation fixes
2384
2385         Make upward scroll events have a positive delta to match other ports.
2386
2387         Fix the invalidation rect offset for frames so that scrolling works properly.
2388
2389         Avoid allocating negative sizes to widgets to avoid GTK+ warnings.
2390
2391         Allow tabbing to all widgets and links.
2392
2393         Fix event returns, improving the focus situation and correcting scroll wheel
2394         behavior.
2395
2396         * Api/webkitgtkpage.cpp:
2397         * WebCoreSupport/ChromeClientGtk.cpp:
2398
2399 2007-10-29  Alp Toker  <alp@atoker.com>
2400
2401         Reviewed by Maciej.
2402
2403         Do not allow control to reach end of non-void functions
2404
2405         * Api/webkitgtksettings.cpp:
2406
2407 2007-10-28  Lars Lindner  <lars.lindner@gmail.com>
2408
2409         Reviewed by Alp.
2410
2411         http://bugs.webkit.org/show_bug.cgi?id=15466
2412         [gtk] widget does not take focus on mouse click
2413
2414         Grab widget focus in mouse press callback.
2415
2416         * Api/webkitgtkpage.cpp:
2417
2418 2007-10-25  Alp Toker  <alp@atoker.com>
2419
2420         Reviewed by Brady.
2421
2422         http://bugs.webkit.org/show_bug.cgi?id=15686
2423         GtkLauncher aborts on launch due to uninitialized threading subsystem
2424
2425         Re-enable database support in the GTK+ port, with a fix.
2426
2427         Initialize GLib threading as early as possible.
2428
2429         * Api/webkitgtkglobal.cpp:
2430
2431 2007-10-25  Alp Toker  <alp@atoker.com>
2432
2433         Unreviewed fix to make the GTK+ port run.
2434
2435         http://bugs.webkit.org/show_bug.cgi?id=15686
2436         GtkLauncher aborts on launch due to uninitialized threading subsystem
2437
2438         http://bugs.webkit.org/show_bug.cgi?id=15688
2439         [GTK] Make it possible to disable database support
2440
2441         Make database path initialization conditional on database support
2442         being enabled.
2443
2444         * Api/webkitgtkglobal.cpp:
2445
2446 2007-10-24  Mark Rowe  <mrowe@apple.com>
2447
2448         Gtk build fix.  Track WebCore changes in r27004.
2449
2450         * Api/webkitgtkglobal.cpp:
2451
2452 2007-10-22  Alp Toker  <alp@atoker.com>
2453
2454         Reviewed by Mark Rowe.
2455
2456         http://bugs.webkit.org/show_bug.cgi?id=15611
2457         [GTK] Text selection behaviour different in Debug and Release builds
2458
2459         http://bugs.webkit.org/show_bug.cgi?id=15578
2460         [GTK] Text editor caret does not blink
2461
2462         Never allow control to reach the end of non-void functions.
2463
2464         Return more sensible values, or in some cases, nulls.
2465
2466         * Api/webkitgtksettings.cpp:
2467         * Api/webkitgtksettings.h:
2468         * WebCoreSupport/DragClientGtk.cpp:
2469         (WebKit::DragClient::actionMaskForDrag):
2470         (WebKit::DragClient::dragSourceActionMaskForPoint):
2471         (WebKit::DragClient::createDragImageForLink):
2472
2473 2007-10-20  Mark Rowe  <mrowe@apple.com>
2474
2475         Reviewed by Alp.
2476
2477         Gtk changes needed to enable HTML 5 client-side database storage.
2478
2479         * Api/webkitgtkglobal.cpp: Set a default database path based on the user data directory.
2480         This should become configurable by client applications in the future.
2481
2482 2007-10-20  Mark Rowe  <mrowe@apple.com>
2483
2484         Reviewed by Eric.
2485
2486         Don't allow control characters to be inserted into editable regions.
2487
2488         * WebCoreSupport/EditorClientGtk.cpp:
2489         (WebKit::EditorClient::handleKeypress):
2490
2491 2007-10-19  Alp Toker  <alp@atoker.com>
2492
2493         Reviewed by Oliver.
2494
2495         GTK+ build fix enabling the new local database storage feature.
2496         There is also a prospective Qt build fix.
2497
2498         * WebCoreSupport/ChromeClientGtk.cpp:
2499         (WebKit::ChromeClient::runDatabaseSizeLimitPrompt):
2500         * WebCoreSupport/ChromeClientGtk.h:
2501
2502 2007-10-14  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
2503
2504         Reviewed by Adam.
2505
2506         http://bugs.webkit.org/show_bug.cgi?id=15299
2507         Fix "hovering_over_link" signal not emitted when consecutive links
2508         are hovered.
2509
2510         * WebCoreSupport/ChromeClientGtk.cpp:
2511         (WebKit::ChromeClient::mouseDidMoveOverElement):
2512         * WebCoreSupport/ChromeClientGtk.h:
2513         - Remove m_didSendLinkSignal as it is superseded by m_hoveredLinkURL
2514
2515 2007-10-10  Alice Liu  <alice.liu@apple.com>
2516
2517         Reviewed by Geoff Garen.
2518
2519         changes to keep the build from breaking
2520
2521         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2522         (WebKit::FrameLoaderClient::createFrame):
2523         * WebCoreSupport/FrameLoaderClientGtk.h:
2524
2525 2007-10-03  Alp Toker  <alp@atoker.com>
2526
2527         Reviewed by Adam.
2528
2529         http://bugs.webkit.org/show_bug.cgi?id=14726
2530         [gtk] API design. Mapping the WebView delegates to signals.
2531
2532         Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
2533
2534         * Api/webkitgtkdefines.h:
2535         * Api/webkitgtkframe.cpp:
2536         * Api/webkitgtkframe.h:
2537         * Api/webkitgtkglobal.cpp:
2538         * Api/webkitgtkglobal.h:
2539         * Api/webkitgtknetworkrequest.h:
2540         * Api/webkitgtkpage.cpp:
2541         * Api/webkitgtkpage.h:
2542         * Api/webkitgtkprivate.cpp:
2543         (WebKit::apply):
2544         (WebKit::create):
2545         (WebKit::getFrameFromPage):
2546         (WebKit::getPageFromFrame):
2547         (WebKit::core):
2548         (WebKit::kit):
2549         * Api/webkitgtkprivate.h:
2550         * Api/webkitgtksettings.cpp:
2551         * Api/webkitgtksettings.h:
2552         * WebCoreSupport/ChromeClientGtk.cpp:
2553         (WebKit::ChromeClient::ChromeClient):
2554         (WebKit::ChromeClient::createWindow):
2555         (WebKit::ChromeClient::addMessageToConsole):
2556         (WebKit::ChromeClient::runJavaScriptAlert):
2557         (WebKit::ChromeClient::runJavaScriptConfirm):
2558         (WebKit::ChromeClient::runJavaScriptPrompt):
2559         * WebCoreSupport/ChromeClientGtk.h:
2560         (WebKit::ChromeClient::webPage):
2561         * WebCoreSupport/EditorClientGtk.cpp:
2562         (WebKit::EditorClient::EditorClient):
2563         * WebCoreSupport/EditorClientGtk.h:
2564         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2565         (WebKit::FrameLoaderClient::FrameLoaderClient):
2566         (WebKit::FrameLoaderClient::postProgressStartedNotification):
2567         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
2568         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
2569         (WebKit::FrameLoaderClient::createFrame):
2570         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
2571         (WebKit::FrameLoaderClient::setTitle):
2572         * WebCoreSupport/FrameLoaderClientGtk.h:
2573         (WebKit::FrameLoaderClient::webFrame):
2574
2575 2007-10-02  Cosimo Cecchi  <cosimoc@svn.gnome.org>
2576
2577         Reviewed by Mark.
2578
2579         http://bugs.webkit.org/show_bug.cgi?id=15299
2580         Fix "hovering_over_link" signal being fired every time mouse moves.
2581
2582         * WebCoreSupport/ChromeClientGtk.cpp:
2583         (WebKit::ChromeClient::ChromeClient):
2584         (WebKit::ChromeClient::mouseDidMoveOverElement):
2585         * WebCoreSupport/ChromeClientGtk.h:
2586
2587 2007-09-21  Sean Egan  <seanegan@gmail.com>
2588
2589         Reviewed by Alp.
2590
2591         Add an "execute_script" method to programmatically call Javascript
2592         http://bugs.webkit.org/show_bug.cgi?id=15255
2593
2594         * Api/webkitgtkpage.cpp:
2595         * Api/webkitgtkpage.h:
2596
2597 2007-09-29  Lars Lindner  <lars.lindner@gmail.com>
2598
2599         Reviewed by Adam.
2600
2601         ChromeClientGtk.cpp does not implement mouseDidMoveOverElement()
2602         http://bugs.webkit.org/show_bug.cgi?id=15299
2603
2604         Implementing "hovering_over_link" signal.
2605
2606         * WebCoreSupport/ChromeClientGtk.cpp:
2607         (WebKit::ChromeClient::mouseDidMoveOverElement):
2608
2609 2007-09-26  Mark Rowe  <mrowe@apple.com>
2610
2611         Gtk build fix.
2612
2613         * WebCoreSupport/FrameLoaderClientGtk.cpp:  Check for empty URL instead of invalid URL.
2614
2615 2007-09-17  Holger Hans Peter Freyther  <zecke@selfish.org>
2616
2617         Reviewed by Adam.
2618
2619         WebKitGtkPage and WebKitGtkFrame have a dependency on each other. To
2620         allow client code to include both headers the typedef's for
2621         WebKitGtkFrame, WebKitGtkPage, WebKitGtkFrameData and WebKitGtkNetworkRequest
2622         are moved into webkitgtkdefines.h and included by both webkitgtkpage.h and
2623         webkitgtkframe.h
2624
2625         * Api/webkitgtkdefines.h:
2626         * Api/webkitgtkframe.h:
2627         * Api/webkitgtkpage.h:
2628
2629 2007-09-17  Cyril Brulebois  <cyril.brulebois@enst-bretagne.fr>
2630
2631         Reviewed by Mark, some Coding Style changes by Holger.
2632
2633         This is from http://bugs.webkit.org/show_bug.cgi?id=14812.
2634
2635         Add title and location to WebKitGtkFramePrivate, add
2636         webkit_gtk_frame_get_location to the WebKitGtkFrame API as well
2637         as a title_changed callback, implement
2638         webkit_gtk_frame_get_title and webkit_gtk_frame_get_location.
2639
2640         Initial patch by Diego Escalante Urrelo.
2641
2642         * Api/webkitgtkframe.cpp:
2643         * Api/webkitgtkframe.h:
2644         * Api/webkitgtkprivate.h:
2645
2646 2007-09-15  Holger Hans Peter Freyther  <zecke@selfish.org>
2647
2648         Reviewed by Mark.
2649
2650         Use the new WebCore::String::fromUTF8 function to convert
2651         from the Gtk+ representation of a string to WebCore::String.
2652
2653         * WebCoreSupport/ChromeClientGtk.cpp:
2654         (WebKit::ChromeClient::runJavaScriptPrompt):
2655
2656 2007-09-10  Nigel Tao  <nigeltao@gnome.org>
2657
2658         Reviewed by Mark Rowe.
2659
2660         Fix a typo where webkit_gtk_page_can_copy was declared twice,
2661         rather than webkit_gtk_page_can_paste.
2662
2663         * Api/webkitgtkpage.h:
2664
2665 2007-09-08  Brady Eidson  <beidson@apple.com>
2666
2667         Better build fix
2668
2669         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2670         (WebKit::FrameLoaderClient::registerForIconNotification):
2671         * WebCoreSupport/FrameLoaderClientGtk.h:
2672
2673 2007-09-08  Brady Eidson  <beidson@apple.com>
2674
2675         Build fix
2676
2677         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2678         (WebKit::FrameLoaderClient::registerForIconNotification):
2679         * WebCoreSupport/FrameLoaderClientGtk.h:
2680
2681 2007-09-05  Geoffrey Garen  <ggaren@apple.com>
2682
2683         Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
2684         
2685         Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no 
2686         memory cache, or a very tiny one
2687         
2688         Keep the GTK build working with an empty stub.
2689         
2690         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2691         (WebKit::FrameLoaderClient::didPerformFirstNavigation):
2692         * WebCoreSupport/FrameLoaderClientGtk.h:
2693
2694 2007-09-01  Oliver Hunt  <oliver@apple.com>
2695
2696         Reviewed by Sam.
2697
2698         <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
2699  
2700         EditorClient::setInputMethodState stub
2701
2702         * WebCoreSupport/EditorClientGtk.cpp:
2703         (WebKit::EditorClient::setInputMethodState):
2704         * WebCoreSupport/EditorClientGtk.h:
2705
2706 2007-08-18  Holger Hans Peter Freyther  <zecke@selfish.org>
2707
2708         Build fix. Add const to the first parameter of createPlugin
2709
2710         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2711
2712 2007-08-17  Anders Carlsson  <andersca@apple.com>
2713
2714         Build fix.
2715         
2716         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2717         (WebKit::FrameLoaderClient::createPlugin):
2718         * WebCoreSupport/FrameLoaderClientGtk.h:
2719
2720 2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
2721
2722         Reviewed by Adam.
2723
2724         To not hit the needsLayout() assert of Frame::paint for subframes we need to
2725         make sure they are layed out. Use the newly created FrameView::layoutIfNeededRecursive
2726         method to do this.
2727
2728         * Api/webkitgtkpage.cpp:
2729
2730 2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
2731
2732         Reviewed by Adam.
2733
2734         Fix text selection by setting a DragClient when creating the Page. Now
2735         that we have a DragClient we can free the Page when WebKitGtkPage gets
2736         destructed.
2737
2738         * Api/webkitgtkpage.cpp:
2739         * WebCoreSupport/DragClientGtk.cpp: Added.
2740         (WebKit::DragClient::willPerformDragDestinationAction):
2741         (WebKit::DragClient::willPerformDragSourceAction):
2742         (WebKit::DragClient::actionMaskForDrag):
2743         (WebKit::DragClient::dragSourceActionMaskForPoint):
2744         (WebKit::DragClient::startDrag):
2745         (WebKit::DragClient::createDragImageForLink):
2746         * WebCoreSupport/DragClientGtk.h: Added.
2747
2748 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
2749
2750         Reviewed by Anders.
2751
2752         Make WebKitGtkPage a GtkContainer to avoid a size_allocate
2753         race of GtkScrollBar and GtkLayout.
2754
2755         * Api/webkitgtk-marshal.list:
2756         * Api/webkitgtkframe.cpp:
2757         * Api/webkitgtkpage.cpp:
2758         * Api/webkitgtkpage.h:
2759         * Api/webkitgtkprivate.h:
2760
2761 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
2762
2763         Reviewed by Niko.
2764
2765         Minor changes to the WebKit::EditorClient to allow removing
2766         of text from TextFields. Remove the selectWordBeforeMenuEvent method
2767         which is not used and not within WebCore::EditorClient. 
2768
2769         * WebCoreSupport/EditorClientGtk.cpp:
2770         (WebKit::EditorClient::shouldDeleteRange):
2771         (WebKit::EditorClient::shouldBeginEditing):
2772         (WebKit::EditorClient::shouldEndEditing):
2773         (WebKit::EditorClient::shouldApplyStyle):
2774         (WebKit::EditorClient::shouldInsertNode):
2775         * WebCoreSupport/EditorClientGtk.h:
2776
2777 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
2778
2779         Reviewed by Mark.
2780
2781         Rename the namespace from WebKitGtk to WebKit. Move the various *Client
2782         classes into the WebKit namespace. Change the class names to not contain Gtk.
2783         The file names have to contain the Gtk suffix to not clash with files in WebCore (e.g.
2784         bridge/EditorClient.h).
2785         
2786
2787         * Api/webkitgtkframe.cpp:
2788         * Api/webkitgtkpage.cpp:
2789         * Api/webkitgtkprivate.cpp:
2790         * Api/webkitgtkprivate.h:
2791         * ChangeLog:
2792         * WebCoreSupport/ChromeClientGtk.cpp:
2793         (WebKit::ChromeClient::ChromeClient):
2794         (WebKit::ChromeClient::chromeDestroyed):
2795         (WebKit::ChromeClient::windowRect):
2796         (WebKit::ChromeClient::setWindowRect):
2797         (WebKit::ChromeClient::pageRect):
2798         (WebKit::ChromeClient::scaleFactor):
2799         (WebKit::ChromeClient::focus):
2800         (WebKit::ChromeClient::unfocus):
2801         (WebKit::ChromeClient::createWindow):
2802         (WebKit::ChromeClient::createModalDialog):
2803         (WebKit::ChromeClient::show):
2804         (WebKit::ChromeClient::canRunModal):
2805         (WebKit::ChromeClient::runModal):
2806         (WebKit::ChromeClient::setToolbarsVisible):
2807         (WebKit::ChromeClient::toolbarsVisible):
2808         (WebKit::ChromeClient::setStatusbarVisible):
2809         (WebKit::ChromeClient::statusbarVisible):
2810         (WebKit::ChromeClient::setScrollbarsVisible):
2811         (WebKit::ChromeClient::scrollbarsVisible):
2812         (WebKit::ChromeClient::setMenubarVisible):
2813         (WebKit::ChromeClient::menubarVisible):
2814         (WebKit::ChromeClient::setResizable):
2815         (WebKit::ChromeClient::closeWindowSoon):
2816         (WebKit::ChromeClient::canTakeFocus):
2817         (WebKit::ChromeClient::takeFocus):
2818         (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
2819         (WebKit::ChromeClient::runBeforeUnloadConfirmPanel):
2820         (WebKit::ChromeClient::runJavaScriptAlert):
2821         (WebKit::ChromeClient::runJavaScriptConfirm):
2822         (WebKit::ChromeClient::setStatusbarText):
2823         (WebKit::ChromeClient::shouldInterruptJavaScript):
2824         (WebKit::ChromeClient::tabsToLinks):
2825         (WebKit::ChromeClient::windowResizerRect):
2826         (WebKit::ChromeClient::addToDirtyRegion):
2827         (WebKit::ChromeClient::scrollBackingStore):
2828         (WebKit::ChromeClient::updateBackingStore):
2829         (WebKit::ChromeClient::mouseDidMoveOverElement):
2830         (WebKit::ChromeClient::setToolTip):
2831         * WebCoreSupport/ChromeClientGtk.h:
2832         * WebCoreSupport/ContextMenuClientGtk.cpp:
2833         (WebKit::ContextMenuClient::contextMenuDestroyed):
2834         (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
2835         (WebKit::ContextMenuClient::contextMenuItemSelected):
2836         (WebKit::ContextMenuClient::downloadURL):
2837         (WebKit::ContextMenuClient::copyImageToClipboard):
2838         (WebKit::ContextMenuClient::searchWithGoogle):
2839         (WebKit::ContextMenuClient::lookUpInDictionary):
2840         (WebKit::ContextMenuClient::speak):
2841         * WebCoreSupport/ContextMenuClientGtk.h:
2842         * WebCoreSupport/EditorClientGtk.cpp:
2843         (WebKit::EditorClient::shouldDeleteRange):
2844         (WebKit::EditorClient::shouldShowDeleteInterface):
2845         (WebKit::EditorClient::isContinuousSpellCheckingEnabled):
2846         (WebKit::EditorClient::isGrammarCheckingEnabled):
2847         (WebKit::EditorClient::spellCheckerDocumentTag):
2848         (WebKit::EditorClient::shouldBeginEditing):
2849         (WebKit::EditorClient::shouldEndEditing):
2850         (WebKit::EditorClient::shouldInsertText):
2851         (WebKit::EditorClient::shouldChangeSelectedRange):
2852         (WebKit::EditorClient::shouldApplyStyle):
2853         (WebKit::EditorClient::shouldMoveRangeAfterDelete):
2854         (WebKit::EditorClient::didBeginEditing):
2855         (WebKit::EditorClient::respondToChangedContents):
2856         (WebKit::EditorClient::respondToChangedSelection):
2857         (WebKit::EditorClient::didEndEditing):
2858         (WebKit::EditorClient::didWriteSelectionToPasteboard):
2859         (WebKit::EditorClient::didSetSelectionTypesForPasteboard):
2860         (WebKit::EditorClient::selectWordBeforeMenuEvent):
2861         (WebKit::EditorClient::isEditable):
2862         (WebKit::EditorClient::registerCommandForUndo):
2863         (WebKit::EditorClient::registerCommandForRedo):
2864         (WebKit::EditorClient::clearUndoRedoOperations):
2865         (WebKit::EditorClient::canUndo):
2866         (WebKit::EditorClient::canRedo):
2867         (WebKit::EditorClient::undo):
2868         (WebKit::EditorClient::redo):
2869         (WebKit::EditorClient::shouldInsertNode):
2870         (WebKit::EditorClient::pageDestroyed):
2871         (WebKit::EditorClient::smartInsertDeleteEnabled):
2872         (WebKit::EditorClient::toggleContinuousSpellChecking):
2873         (WebKit::EditorClient::toggleGrammarChecking):
2874         (WebKit::EditorClient::handleInputMethodKeypress):
2875         (WebKit::EditorClient::EditorClient):
2876         (WebKit::EditorClient::textFieldDidBeginEditing):
2877         (WebKit::EditorClient::textFieldDidEndEditing):
2878         (WebKit::EditorClient::textDidChangeInTextField):
2879         (WebKit::EditorClient::doTextFieldCommandFromEvent):
2880         (WebKit::EditorClient::textWillBeDeletedInTextField):
2881         (WebKit::EditorClient::textDidChangeInTextArea):
2882         (WebKit::EditorClient::ignoreWordInSpellDocument):
2883         (WebKit::EditorClient::learnWord):
2884         (WebKit::EditorClient::checkSpellingOfString):
2885         (WebKit::EditorClient::checkGrammarOfString):
2886         (WebKit::EditorClient::updateSpellingUIWithGrammarString):
2887         (WebKit::EditorClient::updateSpellingUIWithMisspelledWord):
2888         (WebKit::EditorClient::showSpellingUI):
2889         (WebKit::EditorClient::spellingUIIsShowing):
2890         * WebCoreSupport/EditorClientGtk.h:
2891         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2892         (WebKit::FrameLoaderClient::FrameLoaderClient):
2893         (WebKit::FrameLoaderClient::userAgent):
2894         (WebKit::FrameLoaderClient::createDocumentLoader):
2895         (WebKit::FrameLoaderClient::committedLoad):
2896         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
2897         (WebKit::FrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
2898         (WebKit::FrameLoaderClient::dispatchWillSendRequest):
2899         (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
2900         (WebKit::FrameLoaderClient::postProgressStartedNotification):
2901         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
2902         (WebKit::FrameLoaderClient::frameLoaderDestroyed):
2903         (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
2904         (WebKit::FrameLoaderClient::createPlugin):
2905         (WebKit::FrameLoaderClient::redirectDataToPlugin):
2906         (WebKit::FrameLoaderClient::createJavaAppletWidget):
2907         (WebKit::FrameLoaderClient::overrideMediaType):
2908         (WebKit::FrameLoaderClient::windowObjectCleared):
2909         (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
2910         (WebKit::FrameLoaderClient::hasWebView):
2911         (WebKit::FrameLoaderClient::hasFrameView):
2912         (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
2913         (WebKit::FrameLoaderClient::frameLoadCompleted):
2914         (WebKit::FrameLoaderClient::saveViewStateToItem):
2915         (WebKit::FrameLoaderClient::restoreViewState):
2916         (WebKit::FrameLoaderClient::privateBrowsingEnabled):
2917         (WebKit::FrameLoaderClient::makeDocumentView):
2918         (WebKit::FrameLoaderClient::makeRepresentation):
2919         (WebKit::FrameLoaderClient::forceLayout):
2920         (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
2921         (WebKit::FrameLoaderClient::setCopiesOnScroll):
2922         (WebKit::FrameLoaderClient::detachedFromParent1):
2923         (WebKit::FrameLoaderClient::detachedFromParent2):
2924         (WebKit::FrameLoaderClient::detachedFromParent3):
2925         (WebKit::FrameLoaderClient::detachedFromParent4):
2926         (WebKit::FrameLoaderClient::loadedFromCachedPage):
2927         (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
2928         (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
2929         (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
2930         (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
2931         (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
2932         (WebKit::FrameLoaderClient::dispatchWillClose):
2933         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
2934         (WebKit::FrameLoaderClient::dispatchDidStartProvisionalLoad):
2935         (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
2936         (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
2937         (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
2938         (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
2939         (WebKit::FrameLoaderClient::dispatchShow):
2940         (WebKit::FrameLoaderClient::cancelPolicyCheck):
2941         (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
2942         (WebKit::FrameLoaderClient::revertToProvisionalState):
2943         (WebKit::FrameLoaderClient::clearUnarchivingState):
2944         (WebKit::FrameLoaderClient::willChangeTitle):
2945         (WebKit::FrameLoaderClient::didChangeTitle):
2946         (WebKit::FrameLoaderClient::finishedLoading):
2947         (WebKit::FrameLoaderClient::finalSetupForReplace):
2948         (WebKit::FrameLoaderClient::setDefersLoading):
2949         (WebKit::FrameLoaderClient::isArchiveLoadPending):
2950         (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
2951         (WebKit::FrameLoaderClient::clearArchivedResources):
2952         (WebKit::FrameLoaderClient::canHandleRequest):
2953         (WebKit::FrameLoaderClient::canShowMIMEType):
2954         (WebKit::FrameLoaderClient::representationExistsForURLScheme):
2955         (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
2956         (WebKit::FrameLoaderClient::provisionalLoadStarted):
2957         (WebKit::FrameLoaderClient::didFinishLoad):
2958         (WebKit::FrameLoaderClient::setDocumentViewFromCachedPage):
2959         (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
2960         (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
2961         (WebKit::FrameLoaderClient::dispatchDidFailLoading):
2962         (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
2963         (WebKit::FrameLoaderClient::dispatchDidFailProvisionalLoad):
2964         (WebKit::FrameLoaderClient::dispatchDidFailLoad):
2965         (WebKit::FrameLoaderClient::download):
2966         (WebKit::FrameLoaderClient::cancelledError):
2967         (WebKit::FrameLoaderClient::blockedError):
2968         (WebKit::FrameLoaderClient::cannotShowURLError):
2969         (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
2970         (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
2971         (WebKit::FrameLoaderClient::fileDoesNotExistError):
2972         (WebKit::FrameLoaderClient::shouldFallBack):
2973         (WebKit::FrameLoaderClient::willUseArchive):
2974         (WebKit::FrameLoaderClient::saveDocumentViewToCachedPage):
2975         (WebKit::FrameLoaderClient::canCachePage):
2976         (WebKit::FrameLoaderClient::dispatchCreatePage):
2977         (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
2978         * WebCoreSupport/FrameLoaderClientGtk.h:
2979         * WebCoreSupport/InspectorClientGtk.cpp:
2980         (WebKit::InspectorClient::inspectorDestroyed):
2981         (WebKit::InspectorClient::createPage):
2982         (WebKit::InspectorClient::showWindow):
2983         (WebKit::InspectorClient::closeWindow):
2984         (WebKit::InspectorClient::attachWindow):
2985         (WebKit::InspectorClient::detachWindow):
2986         (WebKit::InspectorClient::highlight):
2987         (WebKit::InspectorClient::hideHighlight):
2988         * WebCoreSupport/InspectorClientGtk.h:
2989
2990 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
2991
2992         Reviewed by Adam.
2993
2994         As of http://bugs.webkit.org/show_bug.cgi?id=14727 move the
2995         various *ClientGdk.{cpp,h} files from WebCore to WebKit/gtk/WebCoreSupport and
2996         rename it from Gdk to Gtk.
2997
2998         * Api/webkitgtkdefines.h:
2999         * Api/webkitgtkframe.cpp:
3000         * Api/webkitgtkframe.h:
3001         * Api/webkitgtkglobal.cpp:
3002         * Api/webkitgtkglobal.h:
3003         * Api/webkitgtknetworkrequest.cpp:
3004         * Api/webkitgtknetworkrequest.h:
3005         * Api/webkitgtkpage.cpp:
3006         * Api/webkitgtkpage.h:
3007         * Api/webkitgtkprivate.cpp:
3008         * Api/webkitgtkprivate.h:
3009         * Api/webkitgtksettings.cpp:
3010         * Api/webkitgtksettings.h:
3011         * WebCoreSupport/ChromeClientGtk.cpp: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.cpp.
3012         (WebKitGtk::ChromeClientGtk::ChromeClientGtk):
3013         (WebKitGtk::ChromeClientGtk::chromeDestroyed):
3014         (WebKitGtk::ChromeClientGtk::windowRect):
3015         (WebKitGtk::ChromeClientGtk::setWindowRect):
3016         (WebKitGtk::ChromeClientGtk::pageRect):
3017         (WebKitGtk::ChromeClientGtk::scaleFactor):
3018         (WebKitGtk::ChromeClientGtk::focus):
3019         (WebKitGtk::ChromeClientGtk::unfocus):
3020         (WebKitGtk::ChromeClientGtk::createWindow):
3021         (WebKitGtk::ChromeClientGtk::createModalDialog):
3022         (WebKitGtk::ChromeClientGtk::show):
3023         (WebKitGtk::ChromeClientGtk::canRunModal):
3024         (WebKitGtk::ChromeClientGtk::runModal):
3025         (WebKitGtk::ChromeClientGtk::setToolbarsVisible):
3026         (WebKitGtk::ChromeClientGtk::toolbarsVisible):
3027         (WebKitGtk::ChromeClientGtk::setStatusbarVisible):
3028         (WebKitGtk::ChromeClientGtk::statusbarVisible):
3029         (WebKitGtk::ChromeClientGtk::setScrollbarsVisible):
3030         (WebKitGtk::ChromeClientGtk::scrollbarsVisible):
3031         (WebKitGtk::ChromeClientGtk::setMenubarVisible):
3032         (WebKitGtk::ChromeClientGtk::menubarVisible):
3033         (WebKitGtk::ChromeClientGtk::setResizable):
3034         (WebKitGtk::ChromeClientGtk::closeWindowSoon):
3035         (WebKitGtk::ChromeClientGtk::canTakeFocus):
3036         (WebKitGtk::ChromeClientGtk::takeFocus):
3037         (WebKitGtk::ChromeClientGtk::canRunBeforeUnloadConfirmPanel):
3038         (WebKitGtk::ChromeClientGtk::runBeforeUnloadConfirmPanel):
3039         (WebKitGtk::ChromeClientGtk::addMessageToConsole):
3040         (WebKitGtk::ChromeClientGtk::runJavaScriptAlert):
3041         (WebKitGtk::ChromeClientGtk::runJavaScriptConfirm):
3042         (WebKitGtk::ChromeClientGtk::runJavaScriptPrompt):
3043         (WebKitGtk::ChromeClientGtk::setStatusbarText):
3044         (WebKitGtk::ChromeClientGtk::shouldInterruptJavaScript):
3045         (WebKitGtk::ChromeClientGtk::tabsToLinks):
3046         (WebKitGtk::ChromeClientGtk::windowResizerRect):
3047         (WebKitGtk::ChromeClientGtk::addToDirtyRegion):
3048         (WebKitGtk::ChromeClientGtk::scrollBackingStore):
3049         (WebKitGtk::ChromeClientGtk::updateBackingStore):
3050         (WebKitGtk::ChromeClientGtk::mouseDidMoveOverElement):
3051         (WebKitGtk::ChromeClientGtk::setToolTip):
3052         * WebCoreSupport/ChromeClientGtk.h: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.h.
3053         (WebKitGtk::ChromeClientGtk::webPage):
3054         * WebCoreSupport/ContextMenuClientGtk.cpp: Renamed from WebCore/page/gdk/ContextMenuClientGdk.cpp.
3055         (WebCore::ContextMenuClientGtk::contextMenuDestroyed):
3056         (WebCore::ContextMenuClientGtk::getCustomMenuFromDefaultItems):
3057         (WebCore::ContextMenuClientGtk::contextMenuItemSelected):
3058         (WebCore::ContextMenuClientGtk::downloadURL):
3059         (WebCore::ContextMenuClientGtk::copyImageToClipboard):
3060         (WebCore::ContextMenuClientGtk::searchWithGoogle):
3061         (WebCore::ContextMenuClientGtk::lookUpInDictionary):
3062         (WebCore::ContextMenuClientGtk::speak):
3063         (WebCore::ContextMenuClientGtk::stopSpeaking):
3064         * WebCoreSupport/ContextMenuClientGtk.h: Renamed from WebCore/page/gdk/ContextMenuClientGdk.h.
3065         * WebCoreSupport/EditorClientGtk.cpp: Renamed from WebCore/platform/gdk/EditorClientGdk.cpp.
3066         (WebCore::EditorClientGtk::shouldDeleteRange):
3067         (WebCore::EditorClientGtk::shouldShowDeleteInterface):
3068         (WebCore::EditorClientGtk::isContinuousSpellCheckingEnabled):
3069         (WebCore::EditorClientGtk::isGrammarCheckingEnabled):
3070         (WebCore::EditorClientGtk::spellCheckerDocumentTag):
3071         (WebCore::EditorClientGtk::shouldBeginEditing):
3072         (WebCore::EditorClientGtk::shouldEndEditing):
3073         (WebCore::EditorClientGtk::shouldInsertText):
3074         (WebCore::EditorClientGtk::shouldChangeSelectedRange):
3075         (WebCore::EditorClientGtk::shouldApplyStyle):
3076         (WebCore::EditorClientGtk::shouldMoveRangeAfterDelete):
3077         (WebCore::EditorClientGtk::didBeginEditing):
3078         (WebCore::EditorClientGtk::respondToChangedContents):
3079         (WebCore::EditorClientGtk::respondToChangedSelection):
3080         (WebCore::EditorClientGtk::didEndEditing):
3081         (WebCore::EditorClientGtk::didWriteSelectionToPasteboard):
3082         (WebCore::EditorClientGtk::didSetSelectionTypesForPasteboard):
3083         (WebCore::EditorClientGtk::selectWordBeforeMenuEvent):
3084         (WebCore::EditorClientGtk::isEditable):
3085         (WebCore::EditorClientGtk::registerCommandForUndo):
3086         (WebCore::EditorClientGtk::registerCommandForRedo):
3087         (WebCore::EditorClientGtk::clearUndoRedoOperations):
3088         (WebCore::EditorClientGtk::canUndo):
3089         (WebCore::EditorClientGtk::canRedo):
3090         (WebCore::EditorClientGtk::undo):
3091         (WebCore::EditorClientGtk::redo):
3092         (WebCore::EditorClientGtk::shouldInsertNode):
3093         (WebCore::EditorClientGtk::pageDestroyed):
3094         (WebCore::EditorClientGtk::smartInsertDeleteEnabled):
3095         (WebCore::EditorClientGtk::toggleContinuousSpellChecking):
3096         (WebCore::EditorClientGtk::toggleGrammarChecking):
3097         (WebCore::EditorClientGtk::handleKeypress):
3098         (WebCore::EditorClientGtk::handleInputMethodKeypress):
3099         (WebCore::EditorClientGtk::EditorClientGtk):
3100         (WebCore::EditorClientGtk::textFieldDidBeginEditing):
3101         (WebCore::EditorClientGtk::textFieldDidEndEditing):
3102         (WebCore::EditorClientGtk::textDidChangeInTextField):
3103         (WebCore::EditorClientGtk::doTextFieldCommandFromEvent):
3104         (WebCore::EditorClientGtk::textWillBeDeletedInTextField):
3105         (WebCore::EditorClientGtk::textDidChangeInTextArea):
3106         (WebCore::EditorClientGtk::ignoreWordInSpellDocument):
3107         (WebCore::EditorClientGtk::learnWord):
3108         (WebCore::EditorClientGtk::checkSpellingOfString):
3109         (WebCore::EditorClientGtk::checkGrammarOfString):
3110         (WebCore::EditorClientGtk::updateSpellingUIWithGrammarString):
3111         (WebCore::EditorClientGtk::updateSpellingUIWithMisspelledWord):
3112         (WebCore::EditorClientGtk::showSpellingUI):
3113         (WebCore::EditorClientGtk::spellingUIIsShowing):
3114         (WebCore::EditorClientGtk::getGuessesForWord):
3115         * WebCoreSupport/EditorClientGtk.h: Renamed from WebCore/platform/gdk/EditorClientGdk.h.
3116         * WebCoreSupport/FrameLoaderClientGtk.cpp: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.cpp.
3117         (WebCore::FrameLoaderClientGtk::FrameLoaderClientGtk):
3118         (WebCore::FrameLoaderClientGtk::userAgent):
3119         (WebCore::FrameLoaderClientGtk::createDocumentLoader):
3120         (WebCore::FrameLoaderClientGtk::dispatchWillSubmitForm):
3121         (WebCore::FrameLoaderClientGtk::committedLoad):
3122         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveAuthenticationChallenge):
3123         (WebCore::FrameLoaderClientGtk::dispatchDidCancelAuthenticationChallenge):
3124         (WebCore::FrameLoaderClientGtk::dispatchWillSendRequest):
3125         (WebCore::FrameLoaderClientGtk::assignIdentifierToInitialRequest):
3126         (WebCore::FrameLoaderClientGtk::postProgressStartedNotification):
3127         (WebCore::FrameLoaderClientGtk::postProgressEstimateChangedNotification):
3128         (WebCore::FrameLoaderClientGtk::postProgressFinishedNotification):
3129         (WebCore::FrameLoaderClientGtk::frameLoaderDestroyed):
3130         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveResponse):
3131         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForMIMEType):
3132         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNewWindowAction):
3133         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNavigationAction):
3134         (WebCore::FrameLoaderClientGtk::createPlugin):
3135         (WebCore::FrameLoaderClientGtk::createFrame):
3136         (WebCore::FrameLoaderClientGtk::redirectDataToPlugin):
3137         (WebCore::FrameLoaderClientGtk::createJavaAppletWidget):
3138         (WebCore::FrameLoaderClientGtk::objectContentType):
3139         (WebCore::FrameLoaderClientGtk::overrideMediaType):
3140         (WebCore::FrameLoaderClientGtk::windowObjectCleared):
3141         (WebCore::FrameLoaderClientGtk::setMainFrameDocumentReady):
3142         (WebCore::FrameLoaderClientGtk::hasWebView):
3143         (WebCore::FrameLoaderClientGtk::hasFrameView):
3144         (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoad):
3145         (WebCore::FrameLoaderClientGtk::frameLoadCompleted):
3146         (WebCore::FrameLoaderClientGtk::saveViewStateToItem):
3147         (WebCore::FrameLoaderClientGtk::restoreViewState):
3148         (WebCore::FrameLoaderClientGtk::shouldGoToHistoryItem):
3149         (WebCore::FrameLoaderClientGtk::privateBrowsingEnabled):
3150         (WebCore::FrameLoaderClientGtk::makeDocumentView):
3151         (WebCore::FrameLoaderClientGtk::makeRepresentation):
3152         (WebCore::FrameLoaderClientGtk::forceLayout):
3153         (WebCore::FrameLoaderClientGtk::forceLayoutForNonHTML):
3154         (WebCore::FrameLoaderClientGtk::setCopiesOnScroll):
3155         (WebCore::FrameLoaderClientGtk::detachedFromParent1):
3156         (WebCore::FrameLoaderClientGtk::detachedFromParent2):
3157         (WebCore::FrameLoaderClientGtk::detachedFromParent3):
3158         (WebCore::FrameLoaderClientGtk::detachedFromParent4):
3159         (WebCore::FrameLoaderClientGtk::loadedFromCachedPage):
3160         (WebCore::FrameLoaderClientGtk::dispatchDidHandleOnloadEvents):
3161         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveServerRedirectForProvisionalLoad):
3162         (WebCore::FrameLoaderClientGtk::dispatchDidCancelClientRedirect):
3163         (WebCore::FrameLoaderClientGtk::dispatchWillPerformClientRedirect):
3164         (WebCore::FrameLoaderClientGtk::dispatchDidChangeLocationWithinPage):
3165         (WebCore::FrameLoaderClientGtk::dispatchWillClose):
3166         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveIcon):
3167         (WebCore::FrameLoaderClientGtk::dispatchDidStartProvisionalLoad):
3168         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveTitle):
3169         (WebCore::FrameLoaderClientGtk::dispatchDidCommitLoad):
3170         (WebCore::FrameLoaderClientGtk::dispatchDidFinishDocumentLoad):
3171         (WebCore::FrameLoaderClientGtk::dispatchDidFirstLayout):
3172         (WebCore::FrameLoaderClientGtk::dispatchShow):
3173         (WebCore::FrameLoaderClientGtk::cancelPolicyCheck):
3174         (WebCore::FrameLoaderClientGtk::dispatchDidLoadMainResource):
3175         (WebCore::FrameLoaderClientGtk::revertToProvisionalState):
3176         (WebCore::FrameLoaderClientGtk::clearUnarchivingState):
3177         (WebCore::FrameLoaderClientGtk::willChangeTitle):
3178         (WebCore::FrameLoaderClientGtk::didChangeTitle):
3179         (WebCore::FrameLoaderClientGtk::finishedLoading):
3180         (WebCore::FrameLoaderClientGtk::finalSetupForReplace):
3181         (WebCore::FrameLoaderClientGtk::setDefersLoading):
3182         (WebCore::FrameLoaderClientGtk::isArchiveLoadPending):
3183         (WebCore::FrameLoaderClientGtk::cancelPendingArchiveLoad):
3184         (WebCore::FrameLoaderClientGtk::clearArchivedResources):
3185         (WebCore::FrameLoaderClientGtk::canHandleRequest):
3186         (WebCore::FrameLoaderClientGtk::canShowMIMEType):
3187         (WebCore::FrameLoaderClientGtk::representationExistsForURLScheme):
3188         (WebCore::FrameLoaderClientGtk::generatedMIMETypeForURLScheme):
3189         (WebCore::FrameLoaderClientGtk::provisionalLoadStarted):
3190         (WebCore::FrameLoaderClientGtk::didFinishLoad):
3191         (WebCore::FrameLoaderClientGtk::prepareForDataSourceReplacement):
3192         (WebCore::FrameLoaderClientGtk::setTitle):
3193         (WebCore::FrameLoaderClientGtk::setDocumentViewFromCachedPage):
3194         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveContentLength):
3195         (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoading):
3196         (WebCore::FrameLoaderClientGtk::dispatchDidFailLoading):
3197         (WebCore::FrameLoaderClientGtk::dispatchDidLoadResourceFromMemoryCache):
3198         (WebCore::FrameLoaderClientGtk::dispatchDidFailProvisionalLoad):
3199         (WebCore::FrameLoaderClientGtk::dispatchDidFailLoad):
3200         (WebCore::FrameLoaderClientGtk::download):
3201         (WebCore::FrameLoaderClientGtk::cancelledError):
3202         (WebCore::FrameLoaderClientGtk::blockedError):
3203         (WebCore::FrameLoaderClientGtk::cannotShowURLError):
3204         (WebCore::FrameLoaderClientGtk::interruptForPolicyChangeError):
3205         (WebCore::FrameLoaderClientGtk::cannotShowMIMETypeError):
3206         (WebCore::FrameLoaderClientGtk::fileDoesNotExistError):
3207         (WebCore::FrameLoaderClientGtk::shouldFallBack):
3208         (WebCore::FrameLoaderClientGtk::willUseArchive):
3209         (WebCore::FrameLoaderClientGtk::saveDocumentViewToCachedPage):
3210         (WebCore::FrameLoaderClientGtk::canCachePage):
3211         (WebCore::FrameLoaderClientGtk::dispatchCreatePage):
3212         (WebCore::FrameLoaderClientGtk::dispatchUnableToImplementPolicy):
3213         * WebCoreSupport/FrameLoaderClientGtk.h: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.h.
3214         (WebCore::FrameLoaderClientGtk::~FrameLoaderClientGtk):
3215         (WebCore::FrameLoaderClientGtk::webFrame):
3216         * WebCoreSupport/InspectorClientGtk.cpp: Renamed from WebCore/page/gdk/InspectorClientGdk.cpp.
3217         (WebCore::InspectorClientGtk::inspectorDestroyed):
3218         (WebCore::InspectorClientGtk::createPage):
3219         (WebCore::InspectorClientGtk::showWindow):
3220         (WebCore::InspectorClientGtk::closeWindow):
3221         (WebCore::InspectorClientGtk::attachWindow):
3222         (WebCore::InspectorClientGtk::detachWindow):
3223         (WebCore::InspectorClientGtk::highlight):
3224         (WebCore::InspectorClientGtk::hideHighlight):
3225         (WebCore::InspectorClientGtk::inspectedURLChanged):
3226         * WebCoreSupport/InspectorClientGtk.h: Renamed from WebCore/page/gdk/InspectorClientGdk.h.
3227
3228 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
3229
3230         Build fix.
3231
3232         * Api/webkitgtkframe.cpp:
3233
3234 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
3235
3236         Reviewed by Adam.
3237
3238         Remove the create_frame virtual method of WebKitGtkPage. This method was inspired
3239         by the Qt port but to be useful for reimplementations WebKitGtkFrameData would need
3240         to export/expose WebCore types. WebView doesn't offer such a method so I decided to
3241         remove it.
3242         Add a internal constructor to WebKitGtkFrame to be used for constructing Sub-Frames. This
3243         is currently used by FrameLoaderClientGdk::createFrame.
3244
3245         * Api/webkitgtkframe.cpp:
3246         * Api/webkitgtkframedata.cpp: Removed.
3247         * Api/webkitgtkframedata.h: Removed.
3248         * Api/webkitgtkpage.cpp:
3249         * Api/webkitgtkpage.h:
3250         * Api/webkitgtkprivate.h:
3251
3252 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
3253
3254         Reviewed by Adam.
3255
3256         Follow the changes of ScrollView in WebCore and call setContainingWindow, set the
3257         GtkAdjustment of the GtkLayout and reimplement the set_scroll_adjustments method and pass
3258         the GtkAdjustments to ScrollView.
3259         This makes having one GdkWindow for the complete FrameTree possible.
3260         
3261
3262         * gtk/Api/webkitgtkframe.cpp:
3263         * gtk/Api/webkitgtkpage.cpp:
3264
3265 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
3266
3267         Reviewed by Niko.
3268
3269         We only need to set the Settings of the Page once so do it in
3270         WebKitGtkPage instead of WebKitGtkFrame.
3271
3272         * gtk/Api/webkitgtkframe.cpp:
3273         * gtk/Api/webkitgtkpage.cpp:
3274
3275 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
3276
3277         Reviewed by Niko.
3278
3279         Instead of reimplementing the general event method, reimplement
3280         the specific mouse, expose, keyboard event methods.
3281
3282         Call the finalize implementation of the base class from WebKitGtkPage
3283         and WebKitGtkFrame.
3284
3285         * gtk/Api/webkitgtkframe.cpp:
3286         * gtk/Api/webkitgtkpage.cpp:
3287
3288 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
3289
3290         Reviewed by Niko.
3291
3292         Remove the custom painting in favor of the Widget::paint
3293         implementation.
3294
3295         * gtk/Api/webkitgtkpage.cpp:
3296
3297 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
3298
3299         Reviewed by Adam.
3300
3301         Moved code from class FrameGdk into WebKitGtkFrame. Update the
3302         webkitgrkprivate.h header file to not include FrameGdk.h.
3303
3304         * gtk/Api/webkitgtkframe.cpp:
3305         * gtk/Api/webkitgtkprivate.h:
3306
3307 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
3308
3309         Reviewed by Adam.
3310
3311         Change variable names to follow the Coding-Style. Replace occurences
3312         of a_b with aB and place the '*' correctly.
3313
3314         * gtk/Api/webkitgtkframe.cpp:
3315         * gtk/Api/webkitgtkpage.cpp:
3316         * gtk/Api/webkitgtkprivate.h:
3317
3318 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
3319
3320         Reviewed by Adam.
3321
3322         Reimplement GtkWidget::event and handle the keyboard and mouse
3323         events inside WebKitGtkPage.
3324
3325         * gtk/Api/webkitgtkpage.cpp:
3326         (FrameGdkExposeData::frame_gdk_expose_child):
3327         (FrameGdkExposeData::webkit_gtk_page_rendering_area_handle_gdk_event):
3328         (FrameGdkExposeData::webkit_gtk_page_register_rendering_area_events):
3329         (FrameGdkExposeData::webkit_gtk_page_class_init):
3330
3331 2007-08-07  Xan Lopez  <xan@gnome.org>
3332
3333         Reviewed by Mark Rowe.
3334
3335         http://bugs.webkit.org/show_bug.cgi?id=14815
3336         [gtk] API implementation: reload
3337
3338         * gtk/Api/webkitgtkpage.cpp: Implement the webkit_gtk_page_reload()
3339         function.
3340
3341 2007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org>
3342
3343         Reviewed by Adam.
3344
3345         http://bugs.webkit.org/show_bug.cgi?id=14806
3346         Implement can_go_backward and can_go_forward in webkitgtkpage.cpp
3347
3348         * gtk/Api/webkitgtkpage.cpp: Implement webkit_gtk_page_can_go_backward() and
3349         webkit_gtk_page_can_go_forward() functions.
3350
3351 2007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org> 
3352
3353         Reviewed by Alp Toker.
3354
3355         http://bugs.webkit.org/show_bug.cgi?id=14810
3356         Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
3357
3358         This is the proper fix for #14810.
3359
3360         * gtk/Api/webkitgtkframe.cpp:
3361         * gtk/Api/webkitgtkpage.cpp: Fix the marshaller type of the "load_finished" signal and
3362         correct the class_offset parameters.
3363
3364 2007-07-29  Diego Escalante Urrelo  <diegoe@gnome.org>
3365
3366         Reviewed by Alp Toker.
3367
3368         http://bugs.webkit.org/show_bug.cgi?id=14810
3369         Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
3370
3371         * gtk/Api/webkitgtkpage.cpp: Use a correct n_params value and the corresponding types for
3372         them in the "load_finished" signal.
3373
3374 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
3375
3376         Reviewed by Adam.
3377
3378         Add the first API and partial implementation of the WebKit/Gtk port as
3379         of http://bugs.webkit.org/show_bug.cgi?id=14678.
3380
3381         The delegates of WebView will be modeled as signals. Delegates like the
3382         WebPolicyDelegate will be implemented as signals with default handlers.
3383
3384         Start moving files to WebKit/gtk/WebCoreSupport.
3385
3386         * gtk: Added.
3387         * gtk/Api: Added.
3388         * gtk/Api/headers.pri: Added.
3389         * gtk/Api/webkitgtk-marshal.list: Added.
3390         * gtk/Api/webkitgtkdefines.h: Added.
3391         * gtk/Api/webkitgtkframe.cpp: Added.
3392         * gtk/Api/webkitgtkframe.h: Added.
3393         * gtk/Api/webkitgtkframedata.cpp: Added.
3394         * gtk/Api/webkitgtkframedata.h: Added.
3395         * gtk/Api/webkitgtkglobal.cpp: Added.
3396         * gtk/Api/webkitgtkglobal.h: Added.
3397         * gtk/Api/webkitgtknetworkrequest.cpp: Added.
3398         * gtk/Api/webkitgtknetworkrequest.h: Added.
3399         * gtk/Api/webkitgtkpage.cpp: Added.
3400         * gtk/Api/webkitgtkpage.h: Added.
3401         * gtk/Api/webkitgtkprivate.cpp: Added.
3402         * gtk/Api/webkitgtkprivate.h: Added.
3403         * gtk/Api/webkitgtksettings.cpp: Added.
3404         * gtk/Api/webkitgtksettings.h: Added.
3405         * gtk/WebCoreSupport: Added.
3406         * gtk/WebCoreSupport/ChromeClientGdk.cpp: Added.
3407         (WebCore::ChromeClientGdk::ChromeClientGdk):
3408         (WebCore::ChromeClientGdk::chromeDestroyed):
3409         (WebCore::ChromeClientGdk::windowRect):
3410         (WebCore::ChromeClientGdk::setWindowRect):
3411         (WebCore::ChromeClientGdk::pageRect):
3412         (WebCore::ChromeClientGdk::scaleFactor):
3413         (WebCore::ChromeClientGdk::focus):
3414         (WebCore::ChromeClientGdk::unfocus):
3415         (WebCore::ChromeClientGdk::createWindow):
3416         (WebCore::ChromeClientGdk::createModalDialog):
3417         (WebCore::ChromeClientGdk::show):
3418         (WebCore::ChromeClientGdk::canRunModal):
3419         (WebCore::ChromeClientGdk::runModal):
3420         (WebCore::ChromeClientGdk::setToolbarsVisible):
3421         (WebCore::ChromeClientGdk::toolbarsVisible):
3422         (WebCore::ChromeClientGdk::setStatusbarVisible):
3423         (WebCore::ChromeClientGdk::statusbarVisible):
3424         (WebCore::ChromeClientGdk::setScrollbarsVisible):
3425         (WebCore::ChromeClientGdk::scrollbarsVisible):
3426         (WebCore::ChromeClientGdk::setMenubarVisible):
3427         (WebCore::ChromeClientGdk::menubarVisible):
3428         (WebCore::ChromeClientGdk::setResizable):
3429         (WebCore::ChromeClientGdk::closeWindowSoon):
3430         (WebCore::ChromeClientGdk::canTakeFocus):
3431         (WebCore::ChromeClientGdk::takeFocus):
3432         (WebCore::ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
3433         (WebCore::ChromeClientGdk::runBeforeUnloadConfirmPanel):
3434         (WebCore::ChromeClientGdk::addMessageToConsole):
3435         (WebCore::ChromeClientGdk::runJavaScriptAlert):
3436         (WebCore::ChromeClientGdk::runJavaScriptConfirm):
3437         (WebCore::ChromeClientGdk::runJavaScriptPrompt):
3438         (WebCore::ChromeClientGdk::setStatusbarText):
3439         (WebCore::ChromeClientGdk::shouldInterruptJavaScript):
3440         (WebCore::ChromeClientGdk::tabsToLinks):
3441         (WebCore::ChromeClientGdk::windowResizerRect):
3442         (WebCore::ChromeClientGdk::addToDirtyRegion):
3443         (WebCore::ChromeClientGdk::scrollBackingStore):
3444         (WebCore::ChromeClientGdk::updateBackingStore):
3445         (WebCore::ChromeClientGdk::mouseDidMoveOverElement):
3446         (WebCore::ChromeClientGdk::setToolTip):
3447         (WebCore::ChromeClientGdk::print):
3448         * gtk/WebCoreSupport/ChromeClientGdk.h: Added.
3449