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