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