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