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