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