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