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