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