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