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