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