2007-12-04 Luca Bruno <lethalman88@gmail.com>
[WebKit-https.git] / WebKit / gtk / ChangeLog
1 2007-12-04  Luca Bruno  <lethalman88@gmail.com>
2
3         Reviewed by Alp Toker.
4
5         Fix a regression in key press propagation in r28386.
6
7         Fix indentation (was off by two spaces).
8
9         * WebView/webkitwebview.cpp:
10
11 2007-12-04  Luca Bruno  <lethalman88@gmail.com>
12
13         Reviewed by Alp Toker.
14
15         http://bugs.webkit.org/show_bug.cgi?id=15911
16         [GTK] Use GtkBindingSet to make key bindings user-configurable
17
18         This patch doesn't cover the full range of bindings, only the ones
19         that seem obviously correct and have clear public API.
20
21         * WebCoreSupport/EditorClientGtk.cpp:
22         (WebKit::EditorClient::handleKeypress): do not handle clipboard operations and select-all
23         * WebView/webkitwebview.cpp: add cut, copy, paste and select-all signals and allow binding sets (issue #15911 and #16144)
24         * WebView/webkitwebview.h:
25
26 2007-12-04  Xan Lopez  <xan@gnome.org>
27
28         Reviewed by Alp Toker.
29
30         http://bugs.webkit.org/show_bug.cgi?id=15561
31         GTK port needs DumpRenderTree implementation
32
33         Start work on the GTK+ DRT.
34
35         Add a couple of proposed new API entry points. They are currently for
36         internal use only by DRT and not in the public headers.
37
38         * WebView/webkitprivate.h:
39         * WebView/webkitwebframe.cpp:
40
41 2007-12-03  Dan Bernstein  <mitz@apple.com>
42
43         Reviewed by Dave Hyatt.
44
45         - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
46
47         * WebView/webkitwebview.cpp: Remove the call to sendResizeEvent() since
48         FrameView sends it now.
49
50 2007-12-03  Alp Toker  <alp@atoker.com>
51
52         globalObject() GTK+ build fix.
53
54         * WebCoreSupport/FrameLoaderClientGtk.cpp:
55         (WebKit::FrameLoaderClient::windowObjectCleared):
56
57 2007-12-03  Geoffrey Garen  <ggaren@apple.com>
58
59         GTK Build fix: get globalExec from the right place.
60
61         * WebView/webkitwebframe.cpp:
62
63 2007-12-01  Alp Toker  <alp@atoker.com>
64
65         Reviewed by Adam Roben.
66
67         Wrap type definitions in webkitdefines.h with G_BEGIN_DECLS, which
68         takes care of extern "C".
69
70         Introduce a webkit.h convenience header.
71
72         Remove another left-over from the old API.
73
74         * WebView/headers.pri:
75         * WebView/webkit.h: Added.
76         * WebView/webkitdefines.h:
77
78 2007-12-01  Alp Toker  <alp@atoker.com>
79
80         Reviewed by Adam Roben.
81
82         http://bugs.webkit.org/show_bug.cgi?id=15687
83         [Gtk] Allow API clients to interact with JavaScript in web pages
84
85         Include the necessary JavaScriptCore headers directly in the public
86         API headers.
87
88         This is the last of a series of changes needed to allow GTK+
89         applications to access the JS API.
90
91         Until http://bugs.webkit.org/show_bug.cgi?id=16029 is resolved,
92         developers will still have to include the individual JS API headers
93         individually if they want to use it in their applications.
94
95         Patch also removes some old legacy use of GDK that was in
96         WebKitWebFrame. No ABI change.
97
98         * WebView/webkitdefines.h:
99         * WebView/webkitwebframe.h:
100         * WebView/webkitwebview.h:
101
102 2007-11-30  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
103
104         Fix for GTK+ Debug build breakage introduced in r28273.
105
106         * WebView/webkitprivate.cpp:
107         (WebKit::kit):
108
109 2007-11-30  Alp Toker  <alp@atoker.com>
110
111         Reviewed by Adam Roben.
112
113         http://bugs.webkit.org/show_bug.cgi?id=15691
114         [GTK] Public API does not follow GTK+ conventions
115
116         Refactor the WebKit/GTK+ public API. Changes:
117           WebKitPage -> WebKitWebView
118           WebKitFrame -> WebKitWebFrame
119
120         Public API source and header names have been updated to mirror the API
121         changes.
122
123         The API is now kept in WebKit/gtk/WebView to match other ports in the
124         same class such as Mac and Win.
125
126         API/ABI-breaking change.
127
128         * Api: Removed.
129         * Api/headers.pri: Removed.
130         * Api/webkitgtk-marshal.list: Removed.
131         * Api/webkitgtkdefines.h: Removed.
132         * Api/webkitgtkframe.cpp: Removed.
133         * Api/webkitgtkframe.h: Removed.
134         * Api/webkitgtkglobal.cpp: Removed.
135         * Api/webkitgtkglobal.h: Removed.
136         * Api/webkitgtknetworkrequest.cpp: Removed.
137         * Api/webkitgtknetworkrequest.h: Removed.
138         * Api/webkitgtkpage.cpp: Removed.
139         * Api/webkitgtkpage.h: Removed.
140         * Api/webkitgtkprivate.cpp: Removed.
141         * Api/webkitgtkprivate.h: Removed.
142         * Api/webkitgtksettings.cpp: Removed.
143         * Api/webkitgtksettings.h: Removed.
144         * WebCoreSupport/ChromeClientGtk.cpp:
145         (WebKit::ChromeClient::ChromeClient):
146         (WebKit::ChromeClient::createWindow):
147         * WebCoreSupport/ChromeClientGtk.h:
148         (WebKit::ChromeClient::webPage):
149         * WebCoreSupport/EditorClientGtk.cpp:
150         (WebKit::EditorClient::isEditable):
151         (WebKit::EditorClient::EditorClient):
152         * WebCoreSupport/EditorClientGtk.h:
153         * WebCoreSupport/FrameLoaderClientGtk.cpp:
154         (WebKit::FrameLoaderClient::FrameLoaderClient):
155         (WebKit::FrameLoaderClient::postProgressStartedNotification):
156         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
157         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
158         (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
159         (WebKit::FrameLoaderClient::createFrame):
160         (WebKit::FrameLoaderClient::windowObjectCleared):
161         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
162         (WebKit::FrameLoaderClient::setTitle):
163         * WebCoreSupport/FrameLoaderClientGtk.h:
164         (WebKit::FrameLoaderClient::webFrame):
165         * WebView: Added.
166         * WebView/headers.pri: Added.
167         * WebView/webkit-marshal.list: Added.
168         * WebView/webkitdefines.h: Added.
169         * WebView/webkitglobal.cpp: Added.
170         * WebView/webkitglobal.h: Added.
171         * WebView/webkitnetworkrequest.cpp: Added.
172         * WebView/webkitnetworkrequest.h: Added.
173         * WebView/webkitprivate.cpp: Added.
174         (WebKit::apply):
175         (WebKit::create):
176         (WebKit::getFrameFromView):
177         (WebKit::getViewFromFrame):
178         (WebKit::core):
179         (WebKit::kit):
180         * WebView/webkitprivate.h: Added.
181         * WebView/webkitsettings.cpp: Added.
182         * WebView/webkitsettings.h: Added.
183         * WebView/webkitwebframe.cpp: Added.
184         * WebView/webkitwebframe.h: Added.
185         * WebView/webkitwebview.cpp: Added.
186         * WebView/webkitwebview.h: Added.
187
188 2007-11-28  Alp Toker  <alp@atoker.com>
189
190         Reviewed by Timothy Hatcher.
191
192         http://bugs.webkit.org/show_bug.cgi?id=16174
193         [GTK] Use "URI" not "URL" in public API
194
195         Replace use of the term "URL" with "URI" in public headers,
196         documentation and some internal code to match GLib/GTK+ convention.
197
198         This is now mentioned in the API guidelines:
199           http://trac.webkit.org/projects/webkit/wiki/HackingGtk
200
201         API/ABI-breaking change.
202
203         * Api/webkitgtkframe.cpp:
204         * Api/webkitgtknetworkrequest.cpp:
205         * Api/webkitgtknetworkrequest.h:
206         * Api/webkitgtkpage.cpp:
207         * Api/webkitgtkpage.h:
208         * Api/webkitgtkprivate.h:
209         * Api/webkitgtksettings.h:
210
211 2007-11-29  Brady Eidson  <beidson@apple.com>
212
213         Better build fix for Gtk
214
215         * WebCoreSupport/ChromeClientGtk.h:
216
217 2007-11-29  Brady Eidson  <beidson@apple.com>
218
219         Keep it building with new client method
220
221         * WebCoreSupport/ChromeClientGtk.cpp:
222         (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
223         (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
224         * WebCoreSupport/ChromeClientGtk.h:
225
226 2007-11-26  Alp Toker  <alp@atoker.com>
227
228         Reviewed by Adam Roben.
229
230         http://bugs.webkit.org/show_bug.cgi?id=16149
231         Implement the window-object-cleared signal
232
233         This implementation provides the JSGlobalContextRef and JSObjectRef
234         directly rather than using an intermediate JS wrapper object, similar
235         to the approach taken by the Win port.
236
237         * Api/webkitgtk-marshal.list:
238         * Api/webkitgtkframe.h:
239         * Api/webkitgtkpage.cpp:
240         * Api/webkitgtkpage.h:
241         * WebCoreSupport/FrameLoaderClientGtk.cpp:
242         (WebKit::FrameLoaderClient::windowObjectCleared):
243
244 2007-11-24  Alp Toker  <alp@atoker.com>
245
246         Reviewed by Mark Rowe.
247
248         http://bugs.webkit.org/show_bug.cgi?id=15691
249         [GTK] Public API does not follow GTK+ conventions
250
251         Public API enhancements:
252
253         Implement webkit_page_get_editable() and webkit_page_set_editable().
254
255         Implement webkit_frame_get_name().
256
257         Remove definitions for functions that are unusable or not implemented.
258         This has caused much confusion for application developers.
259
260         Improve documentation.
261
262         Correct/constify some return types.
263
264         Add parameter checks.
265
266         Make the default fixed font "Courier New" to match the other Web
267         font names.
268
269         * Api/webkitgtkframe.cpp:
270         * Api/webkitgtkframe.h:
271         * Api/webkitgtkpage.cpp:
272         * Api/webkitgtkpage.h:
273         * Api/webkitgtkprivate.h:
274         * WebCoreSupport/EditorClientGtk.cpp:
275         (WebKit::EditorClient::isEditable):
276
277 2007-11-24  Alp Toker  <alp@atoker.com>
278
279         Reviewed by Mark Rowe.
280
281         http://bugs.webkit.org/show_bug.cgi?id=16125
282         [GTK] Up key doesn't work properly when content is editable
283
284         Add a missing 'break' to avoid falling through to the next case when
285         handling VK_UP keystrokes. This was noticed when working on editing
286         support in the GTK+ port.
287
288         I've checked the other cases for similar typos and they seem fine.
289
290         * WebCoreSupport/EditorClientGtk.cpp:
291         (WebKit::EditorClient::handleKeypress):
292
293 2007-11-24  Xan Lopez  <xan@gnome.org>
294
295         Reviewed by Alp Toker.
296
297         http://bugs.webkit.org/show_bug.cgi?id=15745
298         [GTK] Arrow keys do not Scroll
299         
300         * Api/webkitgtkpage.cpp:
301
302         Support Up/Down/Right/Left keys to scroll. Slight hack, see FIXME for
303         details.
304
305 2007-11-24  Christian Dywan  <christian@twotoasts.de>
306
307         Reviewed by Alp Toker.
308
309         http://bugs.webkit.org/show_bug.cgi?id=15891
310         [GTK] Javascript console and dialogs are not implemented
311
312         Fix call to gtk_message_dialog_new() which expects a format string.
313
314         * Api/webkitgtkpage.cpp:
315
316 2007-11-24  Christian Dywan  <christian@twotoasts.de>
317
318         Reviewed by Alp Toker.
319
320         http://bugs.webkit.org/show_bug.cgi?id=15793
321         [GTK] Webkit doesn't show title attribute tooltip when hovering over an image
322
323         Implement tooltip support using the new Tooltip API.
324
325         Support for older versions of GTK+ is still lacking.
326
327         * WebCoreSupport/ChromeClientGtk.cpp:
328         (WebKit::ChromeClient::setToolTip):
329
330 2007-11-22  Alp Toker  <alp@atoker.com>
331
332         Reviewed by Mark Rowe.
333
334         Implement and document several WebKitFrame functions, some of which
335         are necessary to support DRT.
336
337         Correct NULL handling and improve run-time checks.
338
339         * Api/webkitgtkframe.cpp:
340         * Api/webkitgtkframe.h:
341         * Api/webkitgtkprivate.cpp:
342
343 2007-11-22  Alp Toker  <alp@atoker.com>
344
345         Whitespace fixes only.
346
347         * Api/webkitgtkframe.cpp:
348         * Api/webkitgtkpage.cpp:
349         * Api/webkitgtkpage.h:
350         * Api/webkitgtkprivate.h:
351         * WebCoreSupport/ChromeClientGtk.cpp:
352         * WebCoreSupport/ContextMenuClientGtk.cpp:
353         * WebCoreSupport/ContextMenuClientGtk.h:
354         * WebCoreSupport/DragClientGtk.h:
355         * WebCoreSupport/EditorClientGtk.h:
356         * WebCoreSupport/FrameLoaderClientGtk.cpp:
357         (WebKit::FrameLoaderClient::dispatchWillSendRequest):
358         (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
359         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
360         (WebKit::FrameLoaderClient::createFrame):
361         (WebKit::FrameLoaderClient::createJavaAppletWidget):
362         (WebKit::FrameLoaderClient::registerForIconNotification):
363         (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
364         (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
365         (WebKit::FrameLoaderClient::frameLoadCompleted):
366         (WebKit::FrameLoaderClient::saveViewStateToItem):
367         (WebKit::FrameLoaderClient::restoreViewState):
368         (WebKit::FrameLoaderClient::shouldGoToHistoryItem):
369         (WebKit::FrameLoaderClient::setTitle):
370         * WebCoreSupport/FrameLoaderClientGtk.h:
371
372 2007-11-22  Michael Natterer  <mitch@imendio.com>
373
374         Reviewed by Alp Toker.
375
376         http://bugs.webkit.org/show_bug.cgi?id=15984
377         Implement "navigation-requested" signal for WebKit Gtk
378
379         * Api/webkitgtknetworkrequest.h: fix parent class member.
380
381         * Api/webkitgtknetworkrequest.cpp
382         * Api/webkitgtkprivate.h: basic implementation featuring an
383         "url" member and API.
384
385         * Api/webkitgtkdefines.h: added network request typedefs.
386
387         * Api/webkitgtkpage.h: fix enum name:
388         s/WEBKIT_NAVIGATION_REQUEST_RESPONSE/WebKitNavigationRequestResponse/
389         and sanitized enum values.
390
391         * Api/webkitgtkpage.cpp: made "navigation-requested" a signal.
392
393         * Api/webkitgtk-marshal.list: added INT:OBJECT,OBJECT
394
395         * WebCoreSupport/FrameLoaderClientGtk.cpp: emit the new signal in
396         dispatchDecidePolicyForNavigationAction().
397
398 2007-11-18  Christian Dywan  <christian@twotoasts.de>
399
400         Reviewed by Alp.
401
402         http://bugs.webkit.org/show_bug.cgi?id=15891
403         [GTK] Javascript console and dialogs are not implemented
404
405         Correct script-prompt to return NULL when cancelled.
406
407         Small changes to avoid compiler warnings.
408
409         * Api/webkitgtkpage.cpp:
410
411 2007-11-17  Timothy Hatcher  <timothy@apple.com>
412
413         Reviewed by Mark Rowe.
414
415         Bug 13470: i18n: The Web Inspector is not localizable
416         http://bugs.webkit.org/show_bug.cgi?id=13470
417
418         * WebCoreSupport/InspectorClientGtk.cpp:
419         (WebKit::InspectorClient::localizedStringsURL): Empty stub.
420         * WebCoreSupport/InspectorClientGtk.h: Add localizedStringsURL.
421
422 2007-11-13  Mark Rowe  <mrowe@apple.com>
423
424         Gtk build fix. Replace incorrect use of the LOG macro with g_print.
425
426         * Api/webkitgtkpage.cpp:
427
428 2007-11-13  Christian Dywan  <christian@twotoasts.de>
429
430         Reviewed by Alp.
431
432         http://bugs.webkit.org/show_bug.cgi?id=15891
433         [GTK] Javascript console and dialogs are not implemented
434
435         Implement signals for script dialogs and console messages.
436
437         * Api/webkitgtk-marshal.list:
438         * Api/webkitgtkpage.cpp:
439         * Api/webkitgtkpage.h:
440         * WebCoreSupport/ChromeClientGtk.cpp:
441         (WebKit::ChromeClient::addMessageToConsole):
442         (WebKit::ChromeClient::runJavaScriptAlert):
443         (WebKit::ChromeClient::runJavaScriptConfirm):
444         (WebKit::ChromeClient::runJavaScriptPrompt):
445
446 2007-11-11  Alp Toker  <alp@atoker.com>
447
448         Reviewed by Anders.
449
450         Initialize m_userAgent.
451
452         Fix typos in GDK_WINDOWING conditionals.
453
454         * WebCoreSupport/FrameLoaderClientGtk.cpp:
455         (WebKit::FrameLoaderClient::FrameLoaderClient):
456         (WebKit::agentPlatform):
457
458 2007-11-11  Alp Toker  <alp@atoker.com>
459
460         Reviewed by Mark Rowe.
461
462         Mention Safari in the UserAgent string to improve site compatibility.
463
464         Also bump the hard-coded AppleWebKit version number.
465
466         * WebCoreSupport/FrameLoaderClientGtk.cpp:
467         (WebKit::composeUserAgent):
468
469 2007-11-09  Xan Lopez  <xan@gnome.org>
470
471         Reviewed by Alp.
472
473         Fix http://bugs.webkit.org/show_bug.cgi?id=15926
474         [GTK] WebKitPage map handler is redundant.
475
476         * Api/webkitgtkpage.cpp:
477         The map handler for WebKitPage is redundant, GtkContainer does
478         the same (and more correctly).
479
480 2007-11-08  Alp Toker  <alp@atoker.com>
481
482         Reviewed by Mark Rowe.
483
484         http://bugs.webkit.org/show_bug.cgi?id=15653
485         [GTK] Text editor does not handle common keystrokes
486
487         Handle more keystrokes in EditorClientGtk. Note that this is a
488         temporary measure pending a proper solution using GtkBindingSet (see
489         http://bugs.webkit.org/show_bug.cgi?id=15911).
490
491         * WebCoreSupport/EditorClientGtk.cpp:
492         (WebKit::EditorClient::handleKeypress):
493
494 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
495
496         Reviewed by Sam.
497
498         - windowObjectCleared() is no longer const.  It needs to setup the
499         script debugger and cannot be const to do so.
500
501         * WebCoreSupport/FrameLoaderClientGtk.cpp:
502         (WebKit::FrameLoaderClient::windowObjectCleared):
503         * WebCoreSupport/FrameLoaderClientGtk.h:
504
505 2007-11-06  Rodney Dawes  <dobey@wayofthemonkey.com>
506
507         Fix http://bugs.webkit.org/attachment.cgi?id=17043&action=view
508         Bug 15766: [GTK] WebKit sometimes spews binary data as text/plain into iframes
509
510         FrameLoaderClient::objectContentType needs to check with the MIMETypeRegistry
511         to determine whether the given MIME type is displayable as an image or non-image.
512
513         * WebCoreSupport/FrameLoaderClientGtk.cpp:
514         (FrameLoaderClient::objectContentType): Change logic to match that in
515         the Windows and Mac ports.
516
517 2007-11-05  Christian Dywan  <christian@twotoasts.de>
518
519         Reviewed by Maciej.
520
521         http://bugs.webkit.org/show_bug.cgi?id=15409
522         FrameLoaderClientGtk hardcodes data, including platform to Linux i686
523
524         Compute a proper user agent string.
525
526         Patch includes fixes by Alp.
527
528         * WebCoreSupport/FrameLoaderClientGtk.cpp:
529         (WebKit::agentPlatform):
530         (WebKit::agentOS):
531         (WebKit::composeUserAgent):
532         (WebKit::FrameLoaderClient::userAgent):
533         * WebCoreSupport/FrameLoaderClientGtk.h:
534
535 2007-11-05  Mark Rowe  <mrowe@apple.com>
536
537         Rubber-stamped by Alp Toker.
538
539         Remove unused m_firstData member from FrameLoaderClientGtk.
540
541         * WebCoreSupport/FrameLoaderClientGtk.cpp:
542         * WebCoreSupport/FrameLoaderClientGtk.h:
543
544 2007-11-05  Mark Rowe  <mrowe@apple.com>
545
546         Reviewed by Alp Toker.
547
548         Fix http://bugs.webkit.org/show_bug.cgi?id=15842
549         Bug 15842: [Gtk] about:blank doesn't work
550
551         * WebCoreSupport/FrameLoaderClientGtk.cpp:
552         (WebKit::FrameLoaderClient::finishedLoading): Set the encoding on the frame loader to
553         get work done that is normally done when the first bit of data is received, even in the
554         case of a document with no data (like about:blank).
555
556 2007-11-03  Alp Toker  <alp@atoker.com>
557
558         Reviewed by Mark Rowe.
559
560         Restore correct double and triple click behaviour
561
562         We ended up ignoring GDK_2BUTTON_PRESS and GDK_3BUTTON_PRESS after
563         recent refactoring.
564
565         * Api/webkitgtkpage.cpp:
566
567 2007-11-03  Alp Toker  <alp@atoker.com>
568
569         Reviewed by Mark Rowe.
570
571         Frame scrolling and invalidation fixes
572
573         Make upward scroll events have a positive delta to match other ports.
574
575         Fix the invalidation rect offset for frames so that scrolling works properly.
576
577         Avoid allocating negative sizes to widgets to avoid GTK+ warnings.
578
579         Allow tabbing to all widgets and links.
580
581         Fix event returns, improving the focus situation and correcting scroll wheel
582         behavior.
583
584         * Api/webkitgtkpage.cpp:
585         * WebCoreSupport/ChromeClientGtk.cpp:
586
587 2007-10-29  Alp Toker  <alp@atoker.com>
588
589         Reviewed by Maciej.
590
591         Do not allow control to reach end of non-void functions
592
593         * Api/webkitgtksettings.cpp:
594
595 2007-10-28  Lars Lindner  <lars.lindner@gmail.com>
596
597         Reviewed by Alp.
598
599         http://bugs.webkit.org/show_bug.cgi?id=15466
600         [gtk] widget does not take focus on mouse click
601
602         Grab widget focus in mouse press callback.
603
604         * Api/webkitgtkpage.cpp:
605
606 2007-10-25  Alp Toker  <alp@atoker.com>
607
608         Reviewed by Brady.
609
610         http://bugs.webkit.org/show_bug.cgi?id=15686
611         GtkLauncher aborts on launch due to uninitialized threading subsystem
612
613         Re-enable database support in the GTK+ port, with a fix.
614
615         Initialize GLib threading as early as possible.
616
617         * Api/webkitgtkglobal.cpp:
618
619 2007-10-25  Alp Toker  <alp@atoker.com>
620
621         Unreviewed fix to make the GTK+ port run.
622
623         http://bugs.webkit.org/show_bug.cgi?id=15686
624         GtkLauncher aborts on launch due to uninitialized threading subsystem
625
626         http://bugs.webkit.org/show_bug.cgi?id=15688
627         [GTK] Make it possible to disable database support
628
629         Make database path initialization conditional on database support
630         being enabled.
631
632         * Api/webkitgtkglobal.cpp:
633
634 2007-10-24  Mark Rowe  <mrowe@apple.com>
635
636         Gtk build fix.  Track WebCore changes in r27004.
637
638         * Api/webkitgtkglobal.cpp:
639
640 2007-10-22  Alp Toker  <alp@atoker.com>
641
642         Reviewed by Mark Rowe.
643
644         http://bugs.webkit.org/show_bug.cgi?id=15611
645         [GTK] Text selection behaviour different in Debug and Release builds
646
647         http://bugs.webkit.org/show_bug.cgi?id=15578
648         [GTK] Text editor caret does not blink
649
650         Never allow control to reach the end of non-void functions.
651
652         Return more sensible values, or in some cases, nulls.
653
654         * Api/webkitgtksettings.cpp:
655         * Api/webkitgtksettings.h:
656         * WebCoreSupport/DragClientGtk.cpp:
657         (WebKit::DragClient::actionMaskForDrag):
658         (WebKit::DragClient::dragSourceActionMaskForPoint):
659         (WebKit::DragClient::createDragImageForLink):
660
661 2007-10-20  Mark Rowe  <mrowe@apple.com>
662
663         Reviewed by Alp.
664
665         Gtk changes needed to enable HTML 5 client-side database storage.
666
667         * Api/webkitgtkglobal.cpp: Set a default database path based on the user data directory.
668         This should become configurable by client applications in the future.
669
670 2007-10-20  Mark Rowe  <mrowe@apple.com>
671
672         Reviewed by Eric.
673
674         Don't allow control characters to be inserted into editable regions.
675
676         * WebCoreSupport/EditorClientGtk.cpp:
677         (WebKit::EditorClient::handleKeypress):
678
679 2007-10-19  Alp Toker  <alp@atoker.com>
680
681         Reviewed by Oliver.
682
683         GTK+ build fix enabling the new local database storage feature.
684         There is also a prospective Qt build fix.
685
686         * WebCoreSupport/ChromeClientGtk.cpp:
687         (WebKit::ChromeClient::runDatabaseSizeLimitPrompt):
688         * WebCoreSupport/ChromeClientGtk.h:
689
690 2007-10-14  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
691
692         Reviewed by Adam.
693
694         http://bugs.webkit.org/show_bug.cgi?id=15299
695         Fix "hovering_over_link" signal not emitted when consecutive links
696         are hovered.
697
698         * WebCoreSupport/ChromeClientGtk.cpp:
699         (WebKit::ChromeClient::mouseDidMoveOverElement):
700         * WebCoreSupport/ChromeClientGtk.h:
701         - Remove m_didSendLinkSignal as it is superseded by m_hoveredLinkURL
702
703 2007-10-10  Alice Liu  <alice.liu@apple.com>
704
705         Reviewed by Geoff Garen.
706
707         changes to keep the build from breaking
708
709         * WebCoreSupport/FrameLoaderClientGtk.cpp:
710         (WebKit::FrameLoaderClient::createFrame):
711         * WebCoreSupport/FrameLoaderClientGtk.h:
712
713 2007-10-03  Alp Toker  <alp@atoker.com>
714
715         Reviewed by Adam.
716
717         http://bugs.webkit.org/show_bug.cgi?id=14726
718         [gtk] API design. Mapping the WebView delegates to signals.
719
720         Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
721
722         * Api/webkitgtkdefines.h:
723         * Api/webkitgtkframe.cpp:
724         * Api/webkitgtkframe.h:
725         * Api/webkitgtkglobal.cpp:
726         * Api/webkitgtkglobal.h:
727         * Api/webkitgtknetworkrequest.h:
728         * Api/webkitgtkpage.cpp:
729         * Api/webkitgtkpage.h:
730         * Api/webkitgtkprivate.cpp:
731         (WebKit::apply):
732         (WebKit::create):
733         (WebKit::getFrameFromPage):
734         (WebKit::getPageFromFrame):
735         (WebKit::core):
736         (WebKit::kit):
737         * Api/webkitgtkprivate.h:
738         * Api/webkitgtksettings.cpp:
739         * Api/webkitgtksettings.h:
740         * WebCoreSupport/ChromeClientGtk.cpp:
741         (WebKit::ChromeClient::ChromeClient):
742         (WebKit::ChromeClient::createWindow):
743         (WebKit::ChromeClient::addMessageToConsole):
744         (WebKit::ChromeClient::runJavaScriptAlert):
745         (WebKit::ChromeClient::runJavaScriptConfirm):
746         (WebKit::ChromeClient::runJavaScriptPrompt):
747         * WebCoreSupport/ChromeClientGtk.h:
748         (WebKit::ChromeClient::webPage):
749         * WebCoreSupport/EditorClientGtk.cpp:
750         (WebKit::EditorClient::EditorClient):
751         * WebCoreSupport/EditorClientGtk.h:
752         * WebCoreSupport/FrameLoaderClientGtk.cpp:
753         (WebKit::FrameLoaderClient::FrameLoaderClient):
754         (WebKit::FrameLoaderClient::postProgressStartedNotification):
755         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
756         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
757         (WebKit::FrameLoaderClient::createFrame):
758         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
759         (WebKit::FrameLoaderClient::setTitle):
760         * WebCoreSupport/FrameLoaderClientGtk.h:
761         (WebKit::FrameLoaderClient::webFrame):
762
763 2007-10-02  Cosimo Cecchi  <cosimoc@svn.gnome.org>
764
765         Reviewed by Mark.
766
767         http://bugs.webkit.org/show_bug.cgi?id=15299
768         Fix "hovering_over_link" signal being fired every time mouse moves.
769
770         * WebCoreSupport/ChromeClientGtk.cpp:
771         (WebKit::ChromeClient::ChromeClient):
772         (WebKit::ChromeClient::mouseDidMoveOverElement):
773         * WebCoreSupport/ChromeClientGtk.h:
774
775 2007-09-21  Sean Egan  <seanegan@gmail.com>
776
777         Reviewed by Alp.
778
779         Add an "execute_script" method to programmatically call Javascript
780         http://bugs.webkit.org/show_bug.cgi?id=15255
781
782         * Api/webkitgtkpage.cpp:
783         * Api/webkitgtkpage.h:
784
785 2007-09-29  Lars Lindner  <lars.lindner@gmail.com>
786
787         Reviewed by Adam.
788
789         ChromeClientGtk.cpp does not implement mouseDidMoveOverElement()
790         http://bugs.webkit.org/show_bug.cgi?id=15299
791
792         Implementing "hovering_over_link" signal.
793
794         * WebCoreSupport/ChromeClientGtk.cpp:
795         (WebKit::ChromeClient::mouseDidMoveOverElement):
796
797 2007-09-26  Mark Rowe  <mrowe@apple.com>
798
799         Gtk build fix.
800
801         * WebCoreSupport/FrameLoaderClientGtk.cpp:  Check for empty URL instead of invalid URL.
802
803 2007-09-17  Holger Hans Peter Freyther  <zecke@selfish.org>
804
805         Reviewed by Adam.
806
807         WebKitGtkPage and WebKitGtkFrame have a dependency on each other. To
808         allow client code to include both headers the typedef's for
809         WebKitGtkFrame, WebKitGtkPage, WebKitGtkFrameData and WebKitGtkNetworkRequest
810         are moved into webkitgtkdefines.h and included by both webkitgtkpage.h and
811         webkitgtkframe.h
812
813         * Api/webkitgtkdefines.h:
814         * Api/webkitgtkframe.h:
815         * Api/webkitgtkpage.h:
816
817 2007-09-17  Cyril Brulebois  <cyril.brulebois@enst-bretagne.fr>
818
819         Reviewed by Mark, some Coding Style changes by Holger.
820
821         This is from http://bugs.webkit.org/show_bug.cgi?id=14812.
822
823         Add title and location to WebKitGtkFramePrivate, add
824         webkit_gtk_frame_get_location to the WebKitGtkFrame API as well
825         as a title_changed callback, implement
826         webkit_gtk_frame_get_title and webkit_gtk_frame_get_location.
827
828         Initial patch by Diego Escalante Urrelo.
829
830         * Api/webkitgtkframe.cpp:
831         * Api/webkitgtkframe.h:
832         * Api/webkitgtkprivate.h:
833
834 2007-09-15  Holger Hans Peter Freyther  <zecke@selfish.org>
835
836         Reviewed by Mark.
837
838         Use the new WebCore::String::fromUTF8 function to convert
839         from the Gtk+ representation of a string to WebCore::String.
840
841         * WebCoreSupport/ChromeClientGtk.cpp:
842         (WebKit::ChromeClient::runJavaScriptPrompt):
843
844 2007-09-10  Nigel Tao  <nigeltao@gnome.org>
845
846         Reviewed by Mark Rowe.
847
848         Fix a typo where webkit_gtk_page_can_copy was declared twice,
849         rather than webkit_gtk_page_can_paste.
850
851         * Api/webkitgtkpage.h:
852
853 2007-09-08  Brady Eidson  <beidson@apple.com>
854
855         Better build fix
856
857         * WebCoreSupport/FrameLoaderClientGtk.cpp:
858         (WebKit::FrameLoaderClient::registerForIconNotification):
859         * WebCoreSupport/FrameLoaderClientGtk.h:
860
861 2007-09-08  Brady Eidson  <beidson@apple.com>
862
863         Build fix
864
865         * WebCoreSupport/FrameLoaderClientGtk.cpp:
866         (WebKit::FrameLoaderClient::registerForIconNotification):
867         * WebCoreSupport/FrameLoaderClientGtk.h:
868
869 2007-09-05  Geoffrey Garen  <ggaren@apple.com>
870
871         Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
872         
873         Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no 
874         memory cache, or a very tiny one
875         
876         Keep the GTK build working with an empty stub.
877         
878         * WebCoreSupport/FrameLoaderClientGtk.cpp:
879         (WebKit::FrameLoaderClient::didPerformFirstNavigation):
880         * WebCoreSupport/FrameLoaderClientGtk.h:
881
882 2007-09-01  Oliver Hunt  <oliver@apple.com>
883
884         Reviewed by Sam.
885
886         <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
887  
888         EditorClient::setInputMethodState stub
889
890         * WebCoreSupport/EditorClientGtk.cpp:
891         (WebKit::EditorClient::setInputMethodState):
892         * WebCoreSupport/EditorClientGtk.h:
893
894 2007-08-18  Holger Hans Peter Freyther  <zecke@selfish.org>
895
896         Build fix. Add const to the first parameter of createPlugin
897
898         * WebCoreSupport/FrameLoaderClientGtk.cpp:
899
900 2007-08-17  Anders Carlsson  <andersca@apple.com>
901
902         Build fix.
903         
904         * WebCoreSupport/FrameLoaderClientGtk.cpp:
905         (WebKit::FrameLoaderClient::createPlugin):
906         * WebCoreSupport/FrameLoaderClientGtk.h:
907
908 2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
909
910         Reviewed by Adam.
911
912         To not hit the needsLayout() assert of Frame::paint for subframes we need to
913         make sure they are layed out. Use the newly created FrameView::layoutIfNeededRecursive
914         method to do this.
915
916         * Api/webkitgtkpage.cpp:
917
918 2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
919
920         Reviewed by Adam.
921
922         Fix text selection by setting a DragClient when creating the Page. Now
923         that we have a DragClient we can free the Page when WebKitGtkPage gets
924         destructed.
925
926         * Api/webkitgtkpage.cpp:
927         * WebCoreSupport/DragClientGtk.cpp: Added.
928         (WebKit::DragClient::willPerformDragDestinationAction):
929         (WebKit::DragClient::willPerformDragSourceAction):
930         (WebKit::DragClient::actionMaskForDrag):
931         (WebKit::DragClient::dragSourceActionMaskForPoint):
932         (WebKit::DragClient::startDrag):
933         (WebKit::DragClient::createDragImageForLink):
934         * WebCoreSupport/DragClientGtk.h: Added.
935
936 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
937
938         Reviewed by Anders.
939
940         Make WebKitGtkPage a GtkContainer to avoid a size_allocate
941         race of GtkScrollBar and GtkLayout.
942
943         * Api/webkitgtk-marshal.list:
944         * Api/webkitgtkframe.cpp:
945         * Api/webkitgtkpage.cpp:
946         * Api/webkitgtkpage.h:
947         * Api/webkitgtkprivate.h:
948
949 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
950
951         Reviewed by Niko.
952
953         Minor changes to the WebKit::EditorClient to allow removing
954         of text from TextFields. Remove the selectWordBeforeMenuEvent method
955         which is not used and not within WebCore::EditorClient. 
956
957         * WebCoreSupport/EditorClientGtk.cpp:
958         (WebKit::EditorClient::shouldDeleteRange):
959         (WebKit::EditorClient::shouldBeginEditing):
960         (WebKit::EditorClient::shouldEndEditing):
961         (WebKit::EditorClient::shouldApplyStyle):
962         (WebKit::EditorClient::shouldInsertNode):
963         * WebCoreSupport/EditorClientGtk.h:
964
965 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
966
967         Reviewed by Mark.
968
969         Rename the namespace from WebKitGtk to WebKit. Move the various *Client
970         classes into the WebKit namespace. Change the class names to not contain Gtk.
971         The file names have to contain the Gtk suffix to not clash with files in WebCore (e.g.
972         bridge/EditorClient.h).
973         
974
975         * Api/webkitgtkframe.cpp:
976         * Api/webkitgtkpage.cpp:
977         * Api/webkitgtkprivate.cpp:
978         * Api/webkitgtkprivate.h:
979         * ChangeLog:
980         * WebCoreSupport/ChromeClientGtk.cpp:
981         (WebKit::ChromeClient::ChromeClient):
982         (WebKit::ChromeClient::chromeDestroyed):
983         (WebKit::ChromeClient::windowRect):
984         (WebKit::ChromeClient::setWindowRect):
985         (WebKit::ChromeClient::pageRect):
986         (WebKit::ChromeClient::scaleFactor):
987         (WebKit::ChromeClient::focus):
988         (WebKit::ChromeClient::unfocus):
989         (WebKit::ChromeClient::createWindow):
990         (WebKit::ChromeClient::createModalDialog):
991         (WebKit::ChromeClient::show):
992         (WebKit::ChromeClient::canRunModal):
993         (WebKit::ChromeClient::runModal):
994         (WebKit::ChromeClient::setToolbarsVisible):
995         (WebKit::ChromeClient::toolbarsVisible):
996         (WebKit::ChromeClient::setStatusbarVisible):
997         (WebKit::ChromeClient::statusbarVisible):
998         (WebKit::ChromeClient::setScrollbarsVisible):
999         (WebKit::ChromeClient::scrollbarsVisible):
1000         (WebKit::ChromeClient::setMenubarVisible):
1001         (WebKit::ChromeClient::menubarVisible):
1002         (WebKit::ChromeClient::setResizable):
1003         (WebKit::ChromeClient::closeWindowSoon):
1004         (WebKit::ChromeClient::canTakeFocus):
1005         (WebKit::ChromeClient::takeFocus):
1006         (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
1007         (WebKit::ChromeClient::runBeforeUnloadConfirmPanel):
1008         (WebKit::ChromeClient::runJavaScriptAlert):
1009         (WebKit::ChromeClient::runJavaScriptConfirm):
1010         (WebKit::ChromeClient::setStatusbarText):
1011         (WebKit::ChromeClient::shouldInterruptJavaScript):
1012         (WebKit::ChromeClient::tabsToLinks):
1013         (WebKit::ChromeClient::windowResizerRect):
1014         (WebKit::ChromeClient::addToDirtyRegion):
1015         (WebKit::ChromeClient::scrollBackingStore):
1016         (WebKit::ChromeClient::updateBackingStore):
1017         (WebKit::ChromeClient::mouseDidMoveOverElement):
1018         (WebKit::ChromeClient::setToolTip):
1019         * WebCoreSupport/ChromeClientGtk.h:
1020         * WebCoreSupport/ContextMenuClientGtk.cpp:
1021         (WebKit::ContextMenuClient::contextMenuDestroyed):
1022         (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
1023         (WebKit::ContextMenuClient::contextMenuItemSelected):
1024         (WebKit::ContextMenuClient::downloadURL):
1025         (WebKit::ContextMenuClient::copyImageToClipboard):
1026         (WebKit::ContextMenuClient::searchWithGoogle):
1027         (WebKit::ContextMenuClient::lookUpInDictionary):
1028         (WebKit::ContextMenuClient::speak):
1029         * WebCoreSupport/ContextMenuClientGtk.h:
1030         * WebCoreSupport/EditorClientGtk.cpp:
1031         (WebKit::EditorClient::shouldDeleteRange):
1032         (WebKit::EditorClient::shouldShowDeleteInterface):
1033         (WebKit::EditorClient::isContinuousSpellCheckingEnabled):
1034         (WebKit::EditorClient::isGrammarCheckingEnabled):
1035         (WebKit::EditorClient::spellCheckerDocumentTag):
1036         (WebKit::EditorClient::shouldBeginEditing):
1037         (WebKit::EditorClient::shouldEndEditing):
1038         (WebKit::EditorClient::shouldInsertText):
1039         (WebKit::EditorClient::shouldChangeSelectedRange):
1040         (WebKit::EditorClient::shouldApplyStyle):
1041         (WebKit::EditorClient::shouldMoveRangeAfterDelete):
1042         (WebKit::EditorClient::didBeginEditing):
1043         (WebKit::EditorClient::respondToChangedContents):
1044         (WebKit::EditorClient::respondToChangedSelection):
1045         (WebKit::EditorClient::didEndEditing):
1046         (WebKit::EditorClient::didWriteSelectionToPasteboard):
1047         (WebKit::EditorClient::didSetSelectionTypesForPasteboard):
1048         (WebKit::EditorClient::selectWordBeforeMenuEvent):
1049         (WebKit::EditorClient::isEditable):
1050         (WebKit::EditorClient::registerCommandForUndo):
1051         (WebKit::EditorClient::registerCommandForRedo):
1052         (WebKit::EditorClient::clearUndoRedoOperations):
1053         (WebKit::EditorClient::canUndo):
1054         (WebKit::EditorClient::canRedo):
1055         (WebKit::EditorClient::undo):
1056         (WebKit::EditorClient::redo):
1057         (WebKit::EditorClient::shouldInsertNode):
1058         (WebKit::EditorClient::pageDestroyed):
1059         (WebKit::EditorClient::smartInsertDeleteEnabled):
1060         (WebKit::EditorClient::toggleContinuousSpellChecking):
1061         (WebKit::EditorClient::toggleGrammarChecking):
1062         (WebKit::EditorClient::handleInputMethodKeypress):
1063         (WebKit::EditorClient::EditorClient):
1064         (WebKit::EditorClient::textFieldDidBeginEditing):
1065         (WebKit::EditorClient::textFieldDidEndEditing):
1066         (WebKit::EditorClient::textDidChangeInTextField):
1067         (WebKit::EditorClient::doTextFieldCommandFromEvent):
1068         (WebKit::EditorClient::textWillBeDeletedInTextField):
1069         (WebKit::EditorClient::textDidChangeInTextArea):
1070         (WebKit::EditorClient::ignoreWordInSpellDocument):
1071         (WebKit::EditorClient::learnWord):
1072         (WebKit::EditorClient::checkSpellingOfString):
1073         (WebKit::EditorClient::checkGrammarOfString):
1074         (WebKit::EditorClient::updateSpellingUIWithGrammarString):
1075         (WebKit::EditorClient::updateSpellingUIWithMisspelledWord):
1076         (WebKit::EditorClient::showSpellingUI):
1077         (WebKit::EditorClient::spellingUIIsShowing):
1078         * WebCoreSupport/EditorClientGtk.h:
1079         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1080         (WebKit::FrameLoaderClient::FrameLoaderClient):
1081         (WebKit::FrameLoaderClient::userAgent):
1082         (WebKit::FrameLoaderClient::createDocumentLoader):
1083         (WebKit::FrameLoaderClient::committedLoad):
1084         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
1085         (WebKit::FrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
1086         (WebKit::FrameLoaderClient::dispatchWillSendRequest):
1087         (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
1088         (WebKit::FrameLoaderClient::postProgressStartedNotification):
1089         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
1090         (WebKit::FrameLoaderClient::frameLoaderDestroyed):
1091         (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
1092         (WebKit::FrameLoaderClient::createPlugin):
1093         (WebKit::FrameLoaderClient::redirectDataToPlugin):
1094         (WebKit::FrameLoaderClient::createJavaAppletWidget):
1095         (WebKit::FrameLoaderClient::overrideMediaType):
1096         (WebKit::FrameLoaderClient::windowObjectCleared):
1097         (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
1098         (WebKit::FrameLoaderClient::hasWebView):
1099         (WebKit::FrameLoaderClient::hasFrameView):
1100         (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
1101         (WebKit::FrameLoaderClient::frameLoadCompleted):
1102         (WebKit::FrameLoaderClient::saveViewStateToItem):
1103         (WebKit::FrameLoaderClient::restoreViewState):
1104         (WebKit::FrameLoaderClient::privateBrowsingEnabled):
1105         (WebKit::FrameLoaderClient::makeDocumentView):
1106         (WebKit::FrameLoaderClient::makeRepresentation):
1107         (WebKit::FrameLoaderClient::forceLayout):
1108         (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
1109         (WebKit::FrameLoaderClient::setCopiesOnScroll):
1110         (WebKit::FrameLoaderClient::detachedFromParent1):
1111         (WebKit::FrameLoaderClient::detachedFromParent2):
1112         (WebKit::FrameLoaderClient::detachedFromParent3):
1113         (WebKit::FrameLoaderClient::detachedFromParent4):
1114         (WebKit::FrameLoaderClient::loadedFromCachedPage):
1115         (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
1116         (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
1117         (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
1118         (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
1119         (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
1120         (WebKit::FrameLoaderClient::dispatchWillClose):
1121         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
1122         (WebKit::FrameLoaderClient::dispatchDidStartProvisionalLoad):
1123         (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
1124         (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
1125         (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
1126         (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
1127         (WebKit::FrameLoaderClient::dispatchShow):
1128         (WebKit::FrameLoaderClient::cancelPolicyCheck):
1129         (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
1130         (WebKit::FrameLoaderClient::revertToProvisionalState):
1131         (WebKit::FrameLoaderClient::clearUnarchivingState):
1132         (WebKit::FrameLoaderClient::willChangeTitle):
1133         (WebKit::FrameLoaderClient::didChangeTitle):
1134         (WebKit::FrameLoaderClient::finishedLoading):
1135         (WebKit::FrameLoaderClient::finalSetupForReplace):
1136         (WebKit::FrameLoaderClient::setDefersLoading):
1137         (WebKit::FrameLoaderClient::isArchiveLoadPending):
1138         (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
1139         (WebKit::FrameLoaderClient::clearArchivedResources):
1140         (WebKit::FrameLoaderClient::canHandleRequest):
1141         (WebKit::FrameLoaderClient::canShowMIMEType):
1142         (WebKit::FrameLoaderClient::representationExistsForURLScheme):
1143         (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
1144         (WebKit::FrameLoaderClient::provisionalLoadStarted):
1145         (WebKit::FrameLoaderClient::didFinishLoad):
1146         (WebKit::FrameLoaderClient::setDocumentViewFromCachedPage):
1147         (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
1148         (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
1149         (WebKit::FrameLoaderClient::dispatchDidFailLoading):
1150         (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
1151         (WebKit::FrameLoaderClient::dispatchDidFailProvisionalLoad):
1152         (WebKit::FrameLoaderClient::dispatchDidFailLoad):
1153         (WebKit::FrameLoaderClient::download):
1154         (WebKit::FrameLoaderClient::cancelledError):
1155         (WebKit::FrameLoaderClient::blockedError):
1156         (WebKit::FrameLoaderClient::cannotShowURLError):
1157         (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
1158         (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
1159         (WebKit::FrameLoaderClient::fileDoesNotExistError):
1160         (WebKit::FrameLoaderClient::shouldFallBack):
1161         (WebKit::FrameLoaderClient::willUseArchive):
1162         (WebKit::FrameLoaderClient::saveDocumentViewToCachedPage):
1163         (WebKit::FrameLoaderClient::canCachePage):
1164         (WebKit::FrameLoaderClient::dispatchCreatePage):
1165         (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
1166         * WebCoreSupport/FrameLoaderClientGtk.h:
1167         * WebCoreSupport/InspectorClientGtk.cpp:
1168         (WebKit::InspectorClient::inspectorDestroyed):
1169         (WebKit::InspectorClient::createPage):
1170         (WebKit::InspectorClient::showWindow):
1171         (WebKit::InspectorClient::closeWindow):
1172         (WebKit::InspectorClient::attachWindow):
1173         (WebKit::InspectorClient::detachWindow):
1174         (WebKit::InspectorClient::highlight):
1175         (WebKit::InspectorClient::hideHighlight):
1176         * WebCoreSupport/InspectorClientGtk.h:
1177
1178 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1179
1180         Reviewed by Adam.
1181
1182         As of http://bugs.webkit.org/show_bug.cgi?id=14727 move the
1183         various *ClientGdk.{cpp,h} files from WebCore to WebKit/gtk/WebCoreSupport and
1184         rename it from Gdk to Gtk.
1185
1186         * Api/webkitgtkdefines.h:
1187         * Api/webkitgtkframe.cpp:
1188         * Api/webkitgtkframe.h:
1189         * Api/webkitgtkglobal.cpp:
1190         * Api/webkitgtkglobal.h:
1191         * Api/webkitgtknetworkrequest.cpp:
1192         * Api/webkitgtknetworkrequest.h:
1193         * Api/webkitgtkpage.cpp:
1194         * Api/webkitgtkpage.h:
1195         * Api/webkitgtkprivate.cpp:
1196         * Api/webkitgtkprivate.h:
1197         * Api/webkitgtksettings.cpp:
1198         * Api/webkitgtksettings.h:
1199         * WebCoreSupport/ChromeClientGtk.cpp: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.cpp.
1200         (WebKitGtk::ChromeClientGtk::ChromeClientGtk):
1201         (WebKitGtk::ChromeClientGtk::chromeDestroyed):
1202         (WebKitGtk::ChromeClientGtk::windowRect):
1203         (WebKitGtk::ChromeClientGtk::setWindowRect):
1204         (WebKitGtk::ChromeClientGtk::pageRect):
1205         (WebKitGtk::ChromeClientGtk::scaleFactor):
1206         (WebKitGtk::ChromeClientGtk::focus):
1207         (WebKitGtk::ChromeClientGtk::unfocus):
1208         (WebKitGtk::ChromeClientGtk::createWindow):
1209         (WebKitGtk::ChromeClientGtk::createModalDialog):
1210         (WebKitGtk::ChromeClientGtk::show):
1211         (WebKitGtk::ChromeClientGtk::canRunModal):
1212         (WebKitGtk::ChromeClientGtk::runModal):
1213         (WebKitGtk::ChromeClientGtk::setToolbarsVisible):
1214         (WebKitGtk::ChromeClientGtk::toolbarsVisible):
1215         (WebKitGtk::ChromeClientGtk::setStatusbarVisible):
1216         (WebKitGtk::ChromeClientGtk::statusbarVisible):
1217         (WebKitGtk::ChromeClientGtk::setScrollbarsVisible):
1218         (WebKitGtk::ChromeClientGtk::scrollbarsVisible):
1219         (WebKitGtk::ChromeClientGtk::setMenubarVisible):
1220         (WebKitGtk::ChromeClientGtk::menubarVisible):
1221         (WebKitGtk::ChromeClientGtk::setResizable):
1222         (WebKitGtk::ChromeClientGtk::closeWindowSoon):
1223         (WebKitGtk::ChromeClientGtk::canTakeFocus):
1224         (WebKitGtk::ChromeClientGtk::takeFocus):
1225         (WebKitGtk::ChromeClientGtk::canRunBeforeUnloadConfirmPanel):
1226         (WebKitGtk::ChromeClientGtk::runBeforeUnloadConfirmPanel):
1227         (WebKitGtk::ChromeClientGtk::addMessageToConsole):
1228         (WebKitGtk::ChromeClientGtk::runJavaScriptAlert):
1229         (WebKitGtk::ChromeClientGtk::runJavaScriptConfirm):
1230         (WebKitGtk::ChromeClientGtk::runJavaScriptPrompt):
1231         (WebKitGtk::ChromeClientGtk::setStatusbarText):
1232         (WebKitGtk::ChromeClientGtk::shouldInterruptJavaScript):
1233         (WebKitGtk::ChromeClientGtk::tabsToLinks):
1234         (WebKitGtk::ChromeClientGtk::windowResizerRect):
1235         (WebKitGtk::ChromeClientGtk::addToDirtyRegion):
1236         (WebKitGtk::ChromeClientGtk::scrollBackingStore):
1237         (WebKitGtk::ChromeClientGtk::updateBackingStore):
1238         (WebKitGtk::ChromeClientGtk::mouseDidMoveOverElement):
1239         (WebKitGtk::ChromeClientGtk::setToolTip):
1240         * WebCoreSupport/ChromeClientGtk.h: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.h.
1241         (WebKitGtk::ChromeClientGtk::webPage):
1242         * WebCoreSupport/ContextMenuClientGtk.cpp: Renamed from WebCore/page/gdk/ContextMenuClientGdk.cpp.
1243         (WebCore::ContextMenuClientGtk::contextMenuDestroyed):
1244         (WebCore::ContextMenuClientGtk::getCustomMenuFromDefaultItems):
1245         (WebCore::ContextMenuClientGtk::contextMenuItemSelected):
1246         (WebCore::ContextMenuClientGtk::downloadURL):
1247         (WebCore::ContextMenuClientGtk::copyImageToClipboard):
1248         (WebCore::ContextMenuClientGtk::searchWithGoogle):
1249         (WebCore::ContextMenuClientGtk::lookUpInDictionary):
1250         (WebCore::ContextMenuClientGtk::speak):
1251         (WebCore::ContextMenuClientGtk::stopSpeaking):
1252         * WebCoreSupport/ContextMenuClientGtk.h: Renamed from WebCore/page/gdk/ContextMenuClientGdk.h.
1253         * WebCoreSupport/EditorClientGtk.cpp: Renamed from WebCore/platform/gdk/EditorClientGdk.cpp.
1254         (WebCore::EditorClientGtk::shouldDeleteRange):
1255         (WebCore::EditorClientGtk::shouldShowDeleteInterface):
1256         (WebCore::EditorClientGtk::isContinuousSpellCheckingEnabled):
1257         (WebCore::EditorClientGtk::isGrammarCheckingEnabled):
1258         (WebCore::EditorClientGtk::spellCheckerDocumentTag):
1259         (WebCore::EditorClientGtk::shouldBeginEditing):
1260         (WebCore::EditorClientGtk::shouldEndEditing):
1261         (WebCore::EditorClientGtk::shouldInsertText):
1262         (WebCore::EditorClientGtk::shouldChangeSelectedRange):
1263         (WebCore::EditorClientGtk::shouldApplyStyle):
1264         (WebCore::EditorClientGtk::shouldMoveRangeAfterDelete):
1265         (WebCore::EditorClientGtk::didBeginEditing):
1266         (WebCore::EditorClientGtk::respondToChangedContents):
1267         (WebCore::EditorClientGtk::respondToChangedSelection):
1268         (WebCore::EditorClientGtk::didEndEditing):
1269         (WebCore::EditorClientGtk::didWriteSelectionToPasteboard):
1270         (WebCore::EditorClientGtk::didSetSelectionTypesForPasteboard):
1271         (WebCore::EditorClientGtk::selectWordBeforeMenuEvent):
1272         (WebCore::EditorClientGtk::isEditable):
1273         (WebCore::EditorClientGtk::registerCommandForUndo):
1274         (WebCore::EditorClientGtk::registerCommandForRedo):
1275         (WebCore::EditorClientGtk::clearUndoRedoOperations):
1276         (WebCore::EditorClientGtk::canUndo):
1277         (WebCore::EditorClientGtk::canRedo):
1278         (WebCore::EditorClientGtk::undo):
1279         (WebCore::EditorClientGtk::redo):
1280         (WebCore::EditorClientGtk::shouldInsertNode):
1281         (WebCore::EditorClientGtk::pageDestroyed):
1282         (WebCore::EditorClientGtk::smartInsertDeleteEnabled):
1283         (WebCore::EditorClientGtk::toggleContinuousSpellChecking):
1284         (WebCore::EditorClientGtk::toggleGrammarChecking):
1285         (WebCore::EditorClientGtk::handleKeypress):
1286         (WebCore::EditorClientGtk::handleInputMethodKeypress):
1287         (WebCore::EditorClientGtk::EditorClientGtk):
1288         (WebCore::EditorClientGtk::textFieldDidBeginEditing):
1289         (WebCore::EditorClientGtk::textFieldDidEndEditing):
1290         (WebCore::EditorClientGtk::textDidChangeInTextField):
1291         (WebCore::EditorClientGtk::doTextFieldCommandFromEvent):
1292         (WebCore::EditorClientGtk::textWillBeDeletedInTextField):
1293         (WebCore::EditorClientGtk::textDidChangeInTextArea):
1294         (WebCore::EditorClientGtk::ignoreWordInSpellDocument):
1295         (WebCore::EditorClientGtk::learnWord):
1296         (WebCore::EditorClientGtk::checkSpellingOfString):
1297         (WebCore::EditorClientGtk::checkGrammarOfString):
1298         (WebCore::EditorClientGtk::updateSpellingUIWithGrammarString):
1299         (WebCore::EditorClientGtk::updateSpellingUIWithMisspelledWord):
1300         (WebCore::EditorClientGtk::showSpellingUI):
1301         (WebCore::EditorClientGtk::spellingUIIsShowing):
1302         (WebCore::EditorClientGtk::getGuessesForWord):
1303         * WebCoreSupport/EditorClientGtk.h: Renamed from WebCore/platform/gdk/EditorClientGdk.h.
1304         * WebCoreSupport/FrameLoaderClientGtk.cpp: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.cpp.
1305         (WebCore::FrameLoaderClientGtk::FrameLoaderClientGtk):
1306         (WebCore::FrameLoaderClientGtk::userAgent):
1307         (WebCore::FrameLoaderClientGtk::createDocumentLoader):
1308         (WebCore::FrameLoaderClientGtk::dispatchWillSubmitForm):
1309         (WebCore::FrameLoaderClientGtk::committedLoad):
1310         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveAuthenticationChallenge):
1311         (WebCore::FrameLoaderClientGtk::dispatchDidCancelAuthenticationChallenge):
1312         (WebCore::FrameLoaderClientGtk::dispatchWillSendRequest):
1313         (WebCore::FrameLoaderClientGtk::assignIdentifierToInitialRequest):
1314         (WebCore::FrameLoaderClientGtk::postProgressStartedNotification):
1315         (WebCore::FrameLoaderClientGtk::postProgressEstimateChangedNotification):
1316         (WebCore::FrameLoaderClientGtk::postProgressFinishedNotification):
1317         (WebCore::FrameLoaderClientGtk::frameLoaderDestroyed):
1318         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveResponse):
1319         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForMIMEType):
1320         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNewWindowAction):
1321         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNavigationAction):
1322         (WebCore::FrameLoaderClientGtk::createPlugin):
1323         (WebCore::FrameLoaderClientGtk::createFrame):
1324         (WebCore::FrameLoaderClientGtk::redirectDataToPlugin):
1325         (WebCore::FrameLoaderClientGtk::createJavaAppletWidget):
1326         (WebCore::FrameLoaderClientGtk::objectContentType):
1327         (WebCore::FrameLoaderClientGtk::overrideMediaType):
1328         (WebCore::FrameLoaderClientGtk::windowObjectCleared):
1329         (WebCore::FrameLoaderClientGtk::setMainFrameDocumentReady):
1330         (WebCore::FrameLoaderClientGtk::hasWebView):
1331         (WebCore::FrameLoaderClientGtk::hasFrameView):
1332         (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoad):
1333         (WebCore::FrameLoaderClientGtk::frameLoadCompleted):
1334         (WebCore::FrameLoaderClientGtk::saveViewStateToItem):
1335         (WebCore::FrameLoaderClientGtk::restoreViewState):
1336         (WebCore::FrameLoaderClientGtk::shouldGoToHistoryItem):
1337         (WebCore::FrameLoaderClientGtk::privateBrowsingEnabled):
1338         (WebCore::FrameLoaderClientGtk::makeDocumentView):
1339         (WebCore::FrameLoaderClientGtk::makeRepresentation):
1340         (WebCore::FrameLoaderClientGtk::forceLayout):
1341         (WebCore::FrameLoaderClientGtk::forceLayoutForNonHTML):
1342         (WebCore::FrameLoaderClientGtk::setCopiesOnScroll):
1343         (WebCore::FrameLoaderClientGtk::detachedFromParent1):
1344         (WebCore::FrameLoaderClientGtk::detachedFromParent2):
1345         (WebCore::FrameLoaderClientGtk::detachedFromParent3):
1346         (WebCore::FrameLoaderClientGtk::detachedFromParent4):
1347         (WebCore::FrameLoaderClientGtk::loadedFromCachedPage):
1348         (WebCore::FrameLoaderClientGtk::dispatchDidHandleOnloadEvents):
1349         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveServerRedirectForProvisionalLoad):
1350         (WebCore::FrameLoaderClientGtk::dispatchDidCancelClientRedirect):
1351         (WebCore::FrameLoaderClientGtk::dispatchWillPerformClientRedirect):
1352         (WebCore::FrameLoaderClientGtk::dispatchDidChangeLocationWithinPage):
1353         (WebCore::FrameLoaderClientGtk::dispatchWillClose):
1354         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveIcon):
1355         (WebCore::FrameLoaderClientGtk::dispatchDidStartProvisionalLoad):
1356         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveTitle):
1357         (WebCore::FrameLoaderClientGtk::dispatchDidCommitLoad):
1358         (WebCore::FrameLoaderClientGtk::dispatchDidFinishDocumentLoad):
1359         (WebCore::FrameLoaderClientGtk::dispatchDidFirstLayout):
1360         (WebCore::FrameLoaderClientGtk::dispatchShow):
1361         (WebCore::FrameLoaderClientGtk::cancelPolicyCheck):
1362         (WebCore::FrameLoaderClientGtk::dispatchDidLoadMainResource):
1363         (WebCore::FrameLoaderClientGtk::revertToProvisionalState):
1364         (WebCore::FrameLoaderClientGtk::clearUnarchivingState):
1365         (WebCore::FrameLoaderClientGtk::willChangeTitle):
1366         (WebCore::FrameLoaderClientGtk::didChangeTitle):
1367         (WebCore::FrameLoaderClientGtk::finishedLoading):
1368         (WebCore::FrameLoaderClientGtk::finalSetupForReplace):
1369         (WebCore::FrameLoaderClientGtk::setDefersLoading):
1370         (WebCore::FrameLoaderClientGtk::isArchiveLoadPending):
1371         (WebCore::FrameLoaderClientGtk::cancelPendingArchiveLoad):
1372         (WebCore::FrameLoaderClientGtk::clearArchivedResources):
1373         (WebCore::FrameLoaderClientGtk::canHandleRequest):
1374         (WebCore::FrameLoaderClientGtk::canShowMIMEType):
1375         (WebCore::FrameLoaderClientGtk::representationExistsForURLScheme):
1376         (WebCore::FrameLoaderClientGtk::generatedMIMETypeForURLScheme):
1377         (WebCore::FrameLoaderClientGtk::provisionalLoadStarted):
1378         (WebCore::FrameLoaderClientGtk::didFinishLoad):
1379         (WebCore::FrameLoaderClientGtk::prepareForDataSourceReplacement):
1380         (WebCore::FrameLoaderClientGtk::setTitle):
1381         (WebCore::FrameLoaderClientGtk::setDocumentViewFromCachedPage):
1382         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveContentLength):
1383         (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoading):
1384         (WebCore::FrameLoaderClientGtk::dispatchDidFailLoading):
1385         (WebCore::FrameLoaderClientGtk::dispatchDidLoadResourceFromMemoryCache):
1386         (WebCore::FrameLoaderClientGtk::dispatchDidFailProvisionalLoad):
1387         (WebCore::FrameLoaderClientGtk::dispatchDidFailLoad):
1388         (WebCore::FrameLoaderClientGtk::download):
1389         (WebCore::FrameLoaderClientGtk::cancelledError):
1390         (WebCore::FrameLoaderClientGtk::blockedError):
1391         (WebCore::FrameLoaderClientGtk::cannotShowURLError):
1392         (WebCore::FrameLoaderClientGtk::interruptForPolicyChangeError):
1393         (WebCore::FrameLoaderClientGtk::cannotShowMIMETypeError):
1394         (WebCore::FrameLoaderClientGtk::fileDoesNotExistError):
1395         (WebCore::FrameLoaderClientGtk::shouldFallBack):
1396         (WebCore::FrameLoaderClientGtk::willUseArchive):
1397         (WebCore::FrameLoaderClientGtk::saveDocumentViewToCachedPage):
1398         (WebCore::FrameLoaderClientGtk::canCachePage):
1399         (WebCore::FrameLoaderClientGtk::dispatchCreatePage):
1400         (WebCore::FrameLoaderClientGtk::dispatchUnableToImplementPolicy):
1401         * WebCoreSupport/FrameLoaderClientGtk.h: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.h.
1402         (WebCore::FrameLoaderClientGtk::~FrameLoaderClientGtk):
1403         (WebCore::FrameLoaderClientGtk::webFrame):
1404         * WebCoreSupport/InspectorClientGtk.cpp: Renamed from WebCore/page/gdk/InspectorClientGdk.cpp.
1405         (WebCore::InspectorClientGtk::inspectorDestroyed):
1406         (WebCore::InspectorClientGtk::createPage):
1407         (WebCore::InspectorClientGtk::showWindow):
1408         (WebCore::InspectorClientGtk::closeWindow):
1409         (WebCore::InspectorClientGtk::attachWindow):
1410         (WebCore::InspectorClientGtk::detachWindow):
1411         (WebCore::InspectorClientGtk::highlight):
1412         (WebCore::InspectorClientGtk::hideHighlight):
1413         (WebCore::InspectorClientGtk::inspectedURLChanged):
1414         * WebCoreSupport/InspectorClientGtk.h: Renamed from WebCore/page/gdk/InspectorClientGdk.h.
1415
1416 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1417
1418         Build fix.
1419
1420         * Api/webkitgtkframe.cpp:
1421
1422 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1423
1424         Reviewed by Adam.
1425
1426         Remove the create_frame virtual method of WebKitGtkPage. This method was inspired
1427         by the Qt port but to be useful for reimplementations WebKitGtkFrameData would need
1428         to export/expose WebCore types. WebView doesn't offer such a method so I decided to
1429         remove it.
1430         Add a internal constructor to WebKitGtkFrame to be used for constructing Sub-Frames. This
1431         is currently used by FrameLoaderClientGdk::createFrame.
1432
1433         * Api/webkitgtkframe.cpp:
1434         * Api/webkitgtkframedata.cpp: Removed.
1435         * Api/webkitgtkframedata.h: Removed.
1436         * Api/webkitgtkpage.cpp:
1437         * Api/webkitgtkpage.h:
1438         * Api/webkitgtkprivate.h:
1439
1440 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
1441
1442         Reviewed by Adam.
1443
1444         Follow the changes of ScrollView in WebCore and call setContainingWindow, set the
1445         GtkAdjustment of the GtkLayout and reimplement the set_scroll_adjustments method and pass
1446         the GtkAdjustments to ScrollView.
1447         This makes having one GdkWindow for the complete FrameTree possible.
1448         
1449
1450         * gtk/Api/webkitgtkframe.cpp:
1451         * gtk/Api/webkitgtkpage.cpp:
1452
1453 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1454
1455         Reviewed by Niko.
1456
1457         We only need to set the Settings of the Page once so do it in
1458         WebKitGtkPage instead of WebKitGtkFrame.
1459
1460         * gtk/Api/webkitgtkframe.cpp:
1461         * gtk/Api/webkitgtkpage.cpp:
1462
1463 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1464
1465         Reviewed by Niko.
1466
1467         Instead of reimplementing the general event method, reimplement
1468         the specific mouse, expose, keyboard event methods.
1469
1470         Call the finalize implementation of the base class from WebKitGtkPage
1471         and WebKitGtkFrame.
1472
1473         * gtk/Api/webkitgtkframe.cpp:
1474         * gtk/Api/webkitgtkpage.cpp:
1475
1476 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1477
1478         Reviewed by Niko.
1479
1480         Remove the custom painting in favor of the Widget::paint
1481         implementation.
1482
1483         * gtk/Api/webkitgtkpage.cpp:
1484
1485 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1486
1487         Reviewed by Adam.
1488
1489         Moved code from class FrameGdk into WebKitGtkFrame. Update the
1490         webkitgrkprivate.h header file to not include FrameGdk.h.
1491
1492         * gtk/Api/webkitgtkframe.cpp:
1493         * gtk/Api/webkitgtkprivate.h:
1494
1495 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1496
1497         Reviewed by Adam.
1498
1499         Change variable names to follow the Coding-Style. Replace occurences
1500         of a_b with aB and place the '*' correctly.
1501
1502         * gtk/Api/webkitgtkframe.cpp:
1503         * gtk/Api/webkitgtkpage.cpp:
1504         * gtk/Api/webkitgtkprivate.h:
1505
1506 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
1507
1508         Reviewed by Adam.
1509
1510         Reimplement GtkWidget::event and handle the keyboard and mouse
1511         events inside WebKitGtkPage.
1512
1513         * gtk/Api/webkitgtkpage.cpp:
1514         (FrameGdkExposeData::frame_gdk_expose_child):
1515         (FrameGdkExposeData::webkit_gtk_page_rendering_area_handle_gdk_event):
1516         (FrameGdkExposeData::webkit_gtk_page_register_rendering_area_events):
1517         (FrameGdkExposeData::webkit_gtk_page_class_init):
1518
1519 2007-08-07  Xan Lopez  <xan@gnome.org>
1520
1521         Reviewed by Mark Rowe.
1522
1523         http://bugs.webkit.org/show_bug.cgi?id=14815
1524         [gtk] API implementation: reload
1525
1526         * gtk/Api/webkitgtkpage.cpp: Implement the webkit_gtk_page_reload()
1527         function.
1528
1529 2007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org>
1530
1531         Reviewed by Adam.
1532
1533         http://bugs.webkit.org/show_bug.cgi?id=14806
1534         Implement can_go_backward and can_go_forward in webkitgtkpage.cpp
1535
1536         * gtk/Api/webkitgtkpage.cpp: Implement webkit_gtk_page_can_go_backward() and
1537         webkit_gtk_page_can_go_forward() functions.
1538
1539 2007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org> 
1540
1541         Reviewed by Alp Toker.
1542
1543         http://bugs.webkit.org/show_bug.cgi?id=14810
1544         Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
1545
1546         This is the proper fix for #14810.
1547
1548         * gtk/Api/webkitgtkframe.cpp:
1549         * gtk/Api/webkitgtkpage.cpp: Fix the marshaller type of the "load_finished" signal and
1550         correct the class_offset parameters.
1551
1552 2007-07-29  Diego Escalante Urrelo  <diegoe@gnome.org>
1553
1554         Reviewed by Alp Toker.
1555
1556         http://bugs.webkit.org/show_bug.cgi?id=14810
1557         Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
1558
1559         * gtk/Api/webkitgtkpage.cpp: Use a correct n_params value and the corresponding types for
1560         them in the "load_finished" signal.
1561
1562 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
1563
1564         Reviewed by Adam.
1565
1566         Add the first API and partial implementation of the WebKit/Gtk port as
1567         of http://bugs.webkit.org/show_bug.cgi?id=14678.
1568
1569         The delegates of WebView will be modeled as signals. Delegates like the
1570         WebPolicyDelegate will be implemented as signals with default handlers.
1571
1572         Start moving files to WebKit/gtk/WebCoreSupport.
1573
1574         * gtk: Added.
1575         * gtk/Api: Added.
1576         * gtk/Api/headers.pri: Added.
1577         * gtk/Api/webkitgtk-marshal.list: Added.
1578         * gtk/Api/webkitgtkdefines.h: Added.
1579         * gtk/Api/webkitgtkframe.cpp: Added.
1580         * gtk/Api/webkitgtkframe.h: Added.
1581         * gtk/Api/webkitgtkframedata.cpp: Added.
1582         * gtk/Api/webkitgtkframedata.h: Added.
1583         * gtk/Api/webkitgtkglobal.cpp: Added.
1584         * gtk/Api/webkitgtkglobal.h: Added.
1585         * gtk/Api/webkitgtknetworkrequest.cpp: Added.
1586         * gtk/Api/webkitgtknetworkrequest.h: Added.
1587         * gtk/Api/webkitgtkpage.cpp: Added.
1588         * gtk/Api/webkitgtkpage.h: Added.
1589         * gtk/Api/webkitgtkprivate.cpp: Added.
1590         * gtk/Api/webkitgtkprivate.h: Added.
1591         * gtk/Api/webkitgtksettings.cpp: Added.
1592         * gtk/Api/webkitgtksettings.h: Added.
1593         * gtk/WebCoreSupport: Added.
1594         * gtk/WebCoreSupport/ChromeClientGdk.cpp: Added.
1595         (WebCore::ChromeClientGdk::ChromeClientGdk):
1596         (WebCore::ChromeClientGdk::chromeDestroyed):
1597         (WebCore::ChromeClientGdk::windowRect):
1598         (WebCore::ChromeClientGdk::setWindowRect):
1599         (WebCore::ChromeClientGdk::pageRect):
1600         (WebCore::ChromeClientGdk::scaleFactor):
1601         (WebCore::ChromeClientGdk::focus):
1602         (WebCore::ChromeClientGdk::unfocus):
1603         (WebCore::ChromeClientGdk::createWindow):
1604         (WebCore::ChromeClientGdk::createModalDialog):
1605         (WebCore::ChromeClientGdk::show):
1606         (WebCore::ChromeClientGdk::canRunModal):
1607         (WebCore::ChromeClientGdk::runModal):
1608         (WebCore::ChromeClientGdk::setToolbarsVisible):
1609         (WebCore::ChromeClientGdk::toolbarsVisible):
1610         (WebCore::ChromeClientGdk::setStatusbarVisible):
1611         (WebCore::ChromeClientGdk::statusbarVisible):
1612         (WebCore::ChromeClientGdk::setScrollbarsVisible):
1613         (WebCore::ChromeClientGdk::scrollbarsVisible):
1614         (WebCore::ChromeClientGdk::setMenubarVisible):
1615         (WebCore::ChromeClientGdk::menubarVisible):
1616         (WebCore::ChromeClientGdk::setResizable):
1617         (WebCore::ChromeClientGdk::closeWindowSoon):
1618         (WebCore::ChromeClientGdk::canTakeFocus):
1619         (WebCore::ChromeClientGdk::takeFocus):
1620         (WebCore::ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
1621         (WebCore::ChromeClientGdk::runBeforeUnloadConfirmPanel):
1622         (WebCore::ChromeClientGdk::addMessageToConsole):
1623         (WebCore::ChromeClientGdk::runJavaScriptAlert):
1624         (WebCore::ChromeClientGdk::runJavaScriptConfirm):
1625         (WebCore::ChromeClientGdk::runJavaScriptPrompt):
1626         (WebCore::ChromeClientGdk::setStatusbarText):
1627         (WebCore::ChromeClientGdk::shouldInterruptJavaScript):
1628         (WebCore::ChromeClientGdk::tabsToLinks):
1629         (WebCore::ChromeClientGdk::windowResizerRect):
1630         (WebCore::ChromeClientGdk::addToDirtyRegion):
1631         (WebCore::ChromeClientGdk::scrollBackingStore):
1632         (WebCore::ChromeClientGdk::updateBackingStore):
1633         (WebCore::ChromeClientGdk::mouseDidMoveOverElement):
1634         (WebCore::ChromeClientGdk::setToolTip):
1635         (WebCore::ChromeClientGdk::print):
1636         * gtk/WebCoreSupport/ChromeClientGdk.h: Added.
1637