2007-10-22 Alp Toker <alp@atoker.com>
[WebKit-https.git] / WebKit / gtk / ChangeLog
1 2007-10-22  Alp Toker  <alp@atoker.com>
2
3         Reviewed by Mark Rowe.
4
5         http://bugs.webkit.org/show_bug.cgi?id=15611
6         [GTK] Text selection behaviour different in Debug and Release builds
7
8         http://bugs.webkit.org/show_bug.cgi?id=15578
9         [GTK] Text editor caret does not blink
10
11         Never allow control to reach the end of non-void functions.
12
13         Return more sensible values, or in some cases, nulls.
14
15         * Api/webkitgtksettings.cpp:
16         * Api/webkitgtksettings.h:
17         * WebCoreSupport/DragClientGtk.cpp:
18         (WebKit::DragClient::actionMaskForDrag):
19         (WebKit::DragClient::dragSourceActionMaskForPoint):
20         (WebKit::DragClient::createDragImageForLink):
21
22 2007-10-20  Mark Rowe  <mrowe@apple.com>
23
24         Reviewed by Alp.
25
26         Gtk changes needed to enable HTML 5 client-side database storage.
27
28         * Api/webkitgtkglobal.cpp: Set a default database path based on the user data directory.
29         This should become configurable by client applications in the future.
30
31 2007-10-20  Mark Rowe  <mrowe@apple.com>
32
33         Reviewed by Eric.
34
35         Don't allow control characters to be inserted into editable regions.
36
37         * WebCoreSupport/EditorClientGtk.cpp:
38         (WebKit::EditorClient::handleKeypress):
39
40 2007-10-19  Alp Toker  <alp@atoker.com>
41
42         Reviewed by Oliver.
43
44         GTK+ build fix enabling the new local database storage feature.
45         There is also a prospective Qt build fix.
46
47         * WebCoreSupport/ChromeClientGtk.cpp:
48         (WebKit::ChromeClient::runDatabaseSizeLimitPrompt):
49         * WebCoreSupport/ChromeClientGtk.h:
50
51 2007-10-14  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
52
53         Reviewed by Adam.
54
55         http://bugs.webkit.org/show_bug.cgi?id=15299
56         Fix "hovering_over_link" signal not emitted when consecutive links
57         are hovered.
58
59         * WebCoreSupport/ChromeClientGtk.cpp:
60         (WebKit::ChromeClient::mouseDidMoveOverElement):
61         * WebCoreSupport/ChromeClientGtk.h:
62         - Remove m_didSendLinkSignal as it is superseded by m_hoveredLinkURL
63
64 2007-10-10  Alice Liu  <alice.liu@apple.com>
65
66         Reviewed by Geoff Garen.
67
68         changes to keep the build from breaking
69
70         * WebCoreSupport/FrameLoaderClientGtk.cpp:
71         (WebKit::FrameLoaderClient::createFrame):
72         * WebCoreSupport/FrameLoaderClientGtk.h:
73
74 2007-10-03  Alp Toker  <alp@atoker.com>
75
76         Reviewed by Adam.
77
78         http://bugs.webkit.org/show_bug.cgi?id=14726
79         [gtk] API design. Mapping the WebView delegates to signals.
80
81         Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
82
83         * Api/webkitgtkdefines.h:
84         * Api/webkitgtkframe.cpp:
85         * Api/webkitgtkframe.h:
86         * Api/webkitgtkglobal.cpp:
87         * Api/webkitgtkglobal.h:
88         * Api/webkitgtknetworkrequest.h:
89         * Api/webkitgtkpage.cpp:
90         * Api/webkitgtkpage.h:
91         * Api/webkitgtkprivate.cpp:
92         (WebKit::apply):
93         (WebKit::create):
94         (WebKit::getFrameFromPage):
95         (WebKit::getPageFromFrame):
96         (WebKit::core):
97         (WebKit::kit):
98         * Api/webkitgtkprivate.h:
99         * Api/webkitgtksettings.cpp:
100         * Api/webkitgtksettings.h:
101         * WebCoreSupport/ChromeClientGtk.cpp:
102         (WebKit::ChromeClient::ChromeClient):
103         (WebKit::ChromeClient::createWindow):
104         (WebKit::ChromeClient::addMessageToConsole):
105         (WebKit::ChromeClient::runJavaScriptAlert):
106         (WebKit::ChromeClient::runJavaScriptConfirm):
107         (WebKit::ChromeClient::runJavaScriptPrompt):
108         * WebCoreSupport/ChromeClientGtk.h:
109         (WebKit::ChromeClient::webPage):
110         * WebCoreSupport/EditorClientGtk.cpp:
111         (WebKit::EditorClient::EditorClient):
112         * WebCoreSupport/EditorClientGtk.h:
113         * WebCoreSupport/FrameLoaderClientGtk.cpp:
114         (WebKit::FrameLoaderClient::FrameLoaderClient):
115         (WebKit::FrameLoaderClient::postProgressStartedNotification):
116         (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
117         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
118         (WebKit::FrameLoaderClient::createFrame):
119         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
120         (WebKit::FrameLoaderClient::setTitle):
121         * WebCoreSupport/FrameLoaderClientGtk.h:
122         (WebKit::FrameLoaderClient::webFrame):
123
124 2007-10-02  Cosimo Cecchi  <cosimoc@svn.gnome.org>
125
126         Reviewed by Mark.
127
128         http://bugs.webkit.org/show_bug.cgi?id=15299
129         Fix "hovering_over_link" signal being fired every time mouse moves.
130
131         * WebCoreSupport/ChromeClientGtk.cpp:
132         (WebKit::ChromeClient::ChromeClient):
133         (WebKit::ChromeClient::mouseDidMoveOverElement):
134         * WebCoreSupport/ChromeClientGtk.h:
135
136 2007-09-21  Sean Egan  <seanegan@gmail.com>
137
138         Reviewed by Alp.
139
140         Add an "execute_script" method to programmatically call Javascript
141         http://bugs.webkit.org/show_bug.cgi?id=15255
142
143         * Api/webkitgtkpage.cpp:
144         * Api/webkitgtkpage.h:
145
146 2007-09-29  Lars Lindner  <lars.lindner@gmail.com>
147
148         Reviewed by Adam.
149
150         ChromeClientGtk.cpp does not implement mouseDidMoveOverElement()
151         http://bugs.webkit.org/show_bug.cgi?id=15299
152
153         Implementing "hovering_over_link" signal.
154
155         * WebCoreSupport/ChromeClientGtk.cpp:
156         (WebKit::ChromeClient::mouseDidMoveOverElement):
157
158 2007-09-26  Mark Rowe  <mrowe@apple.com>
159
160         Gtk build fix.
161
162         * WebCoreSupport/FrameLoaderClientGtk.cpp:  Check for empty URL instead of invalid URL.
163
164 2007-09-17  Holger Hans Peter Freyther  <zecke@selfish.org>
165
166         Reviewed by Adam.
167
168         WebKitGtkPage and WebKitGtkFrame have a dependency on each other. To
169         allow client code to include both headers the typedef's for
170         WebKitGtkFrame, WebKitGtkPage, WebKitGtkFrameData and WebKitGtkNetworkRequest
171         are moved into webkitgtkdefines.h and included by both webkitgtkpage.h and
172         webkitgtkframe.h
173
174         * Api/webkitgtkdefines.h:
175         * Api/webkitgtkframe.h:
176         * Api/webkitgtkpage.h:
177
178 2007-09-17  Cyril Brulebois  <cyril.brulebois@enst-bretagne.fr>
179
180         Reviewed by Mark, some Coding Style changes by Holger.
181
182         This is from http://bugs.webkit.org/show_bug.cgi?id=14812.
183
184         Add title and location to WebKitGtkFramePrivate, add
185         webkit_gtk_frame_get_location to the WebKitGtkFrame API as well
186         as a title_changed callback, implement
187         webkit_gtk_frame_get_title and webkit_gtk_frame_get_location.
188
189         Initial patch by Diego Escalante Urrelo.
190
191         * Api/webkitgtkframe.cpp:
192         * Api/webkitgtkframe.h:
193         * Api/webkitgtkprivate.h:
194
195 2007-09-15  Holger Hans Peter Freyther  <zecke@selfish.org>
196
197         Reviewed by Mark.
198
199         Use the new WebCore::String::fromUTF8 function to convert
200         from the Gtk+ representation of a string to WebCore::String.
201
202         * WebCoreSupport/ChromeClientGtk.cpp:
203         (WebKit::ChromeClient::runJavaScriptPrompt):
204
205 2007-09-10  Nigel Tao  <nigeltao@gnome.org>
206
207         Reviewed by Mark Rowe.
208
209         Fix a typo where webkit_gtk_page_can_copy was declared twice,
210         rather than webkit_gtk_page_can_paste.
211
212         * Api/webkitgtkpage.h:
213
214 2007-09-08  Brady Eidson  <beidson@apple.com>
215
216         Better build fix
217
218         * WebCoreSupport/FrameLoaderClientGtk.cpp:
219         (WebKit::FrameLoaderClient::registerForIconNotification):
220         * WebCoreSupport/FrameLoaderClientGtk.h:
221
222 2007-09-08  Brady Eidson  <beidson@apple.com>
223
224         Build fix
225
226         * WebCoreSupport/FrameLoaderClientGtk.cpp:
227         (WebKit::FrameLoaderClient::registerForIconNotification):
228         * WebCoreSupport/FrameLoaderClientGtk.h:
229
230 2007-09-05  Geoffrey Garen  <ggaren@apple.com>
231
232         Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
233         
234         Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no 
235         memory cache, or a very tiny one
236         
237         Keep the GTK build working with an empty stub.
238         
239         * WebCoreSupport/FrameLoaderClientGtk.cpp:
240         (WebKit::FrameLoaderClient::didPerformFirstNavigation):
241         * WebCoreSupport/FrameLoaderClientGtk.h:
242
243 2007-09-01  Oliver Hunt  <oliver@apple.com>
244
245         Reviewed by Sam.
246
247         <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
248  
249         EditorClient::setInputMethodState stub
250
251         * WebCoreSupport/EditorClientGtk.cpp:
252         (WebKit::EditorClient::setInputMethodState):
253         * WebCoreSupport/EditorClientGtk.h:
254
255 2007-08-18  Holger Hans Peter Freyther  <zecke@selfish.org>
256
257         Build fix. Add const to the first parameter of createPlugin
258
259         * WebCoreSupport/FrameLoaderClientGtk.cpp:
260
261 2007-08-17  Anders Carlsson  <andersca@apple.com>
262
263         Build fix.
264         
265         * WebCoreSupport/FrameLoaderClientGtk.cpp:
266         (WebKit::FrameLoaderClient::createPlugin):
267         * WebCoreSupport/FrameLoaderClientGtk.h:
268
269 2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
270
271         Reviewed by Adam.
272
273         To not hit the needsLayout() assert of Frame::paint for subframes we need to
274         make sure they are layed out. Use the newly created FrameView::layoutIfNeededRecursive
275         method to do this.
276
277         * Api/webkitgtkpage.cpp:
278
279 2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
280
281         Reviewed by Adam.
282
283         Fix text selection by setting a DragClient when creating the Page. Now
284         that we have a DragClient we can free the Page when WebKitGtkPage gets
285         destructed.
286
287         * Api/webkitgtkpage.cpp:
288         * WebCoreSupport/DragClientGtk.cpp: Added.
289         (WebKit::DragClient::willPerformDragDestinationAction):
290         (WebKit::DragClient::willPerformDragSourceAction):
291         (WebKit::DragClient::actionMaskForDrag):
292         (WebKit::DragClient::dragSourceActionMaskForPoint):
293         (WebKit::DragClient::startDrag):
294         (WebKit::DragClient::createDragImageForLink):
295         * WebCoreSupport/DragClientGtk.h: Added.
296
297 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
298
299         Reviewed by Anders.
300
301         Make WebKitGtkPage a GtkContainer to avoid a size_allocate
302         race of GtkScrollBar and GtkLayout.
303
304         * Api/webkitgtk-marshal.list:
305         * Api/webkitgtkframe.cpp:
306         * Api/webkitgtkpage.cpp:
307         * Api/webkitgtkpage.h:
308         * Api/webkitgtkprivate.h:
309
310 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
311
312         Reviewed by Niko.
313
314         Minor changes to the WebKit::EditorClient to allow removing
315         of text from TextFields. Remove the selectWordBeforeMenuEvent method
316         which is not used and not within WebCore::EditorClient. 
317
318         * WebCoreSupport/EditorClientGtk.cpp:
319         (WebKit::EditorClient::shouldDeleteRange):
320         (WebKit::EditorClient::shouldBeginEditing):
321         (WebKit::EditorClient::shouldEndEditing):
322         (WebKit::EditorClient::shouldApplyStyle):
323         (WebKit::EditorClient::shouldInsertNode):
324         * WebCoreSupport/EditorClientGtk.h:
325
326 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
327
328         Reviewed by Mark.
329
330         Rename the namespace from WebKitGtk to WebKit. Move the various *Client
331         classes into the WebKit namespace. Change the class names to not contain Gtk.
332         The file names have to contain the Gtk suffix to not clash with files in WebCore (e.g.
333         bridge/EditorClient.h).
334         
335
336         * Api/webkitgtkframe.cpp:
337         * Api/webkitgtkpage.cpp:
338         * Api/webkitgtkprivate.cpp:
339         * Api/webkitgtkprivate.h:
340         * ChangeLog:
341         * WebCoreSupport/ChromeClientGtk.cpp:
342         (WebKit::ChromeClient::ChromeClient):
343         (WebKit::ChromeClient::chromeDestroyed):
344         (WebKit::ChromeClient::windowRect):
345         (WebKit::ChromeClient::setWindowRect):
346         (WebKit::ChromeClient::pageRect):
347         (WebKit::ChromeClient::scaleFactor):
348         (WebKit::ChromeClient::focus):
349         (WebKit::ChromeClient::unfocus):
350         (WebKit::ChromeClient::createWindow):
351         (WebKit::ChromeClient::createModalDialog):
352         (WebKit::ChromeClient::show):
353         (WebKit::ChromeClient::canRunModal):
354         (WebKit::ChromeClient::runModal):
355         (WebKit::ChromeClient::setToolbarsVisible):
356         (WebKit::ChromeClient::toolbarsVisible):
357         (WebKit::ChromeClient::setStatusbarVisible):
358         (WebKit::ChromeClient::statusbarVisible):
359         (WebKit::ChromeClient::setScrollbarsVisible):
360         (WebKit::ChromeClient::scrollbarsVisible):
361         (WebKit::ChromeClient::setMenubarVisible):
362         (WebKit::ChromeClient::menubarVisible):
363         (WebKit::ChromeClient::setResizable):
364         (WebKit::ChromeClient::closeWindowSoon):
365         (WebKit::ChromeClient::canTakeFocus):
366         (WebKit::ChromeClient::takeFocus):
367         (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
368         (WebKit::ChromeClient::runBeforeUnloadConfirmPanel):
369         (WebKit::ChromeClient::runJavaScriptAlert):
370         (WebKit::ChromeClient::runJavaScriptConfirm):
371         (WebKit::ChromeClient::setStatusbarText):
372         (WebKit::ChromeClient::shouldInterruptJavaScript):
373         (WebKit::ChromeClient::tabsToLinks):
374         (WebKit::ChromeClient::windowResizerRect):
375         (WebKit::ChromeClient::addToDirtyRegion):
376         (WebKit::ChromeClient::scrollBackingStore):
377         (WebKit::ChromeClient::updateBackingStore):
378         (WebKit::ChromeClient::mouseDidMoveOverElement):
379         (WebKit::ChromeClient::setToolTip):
380         * WebCoreSupport/ChromeClientGtk.h:
381         * WebCoreSupport/ContextMenuClientGtk.cpp:
382         (WebKit::ContextMenuClient::contextMenuDestroyed):
383         (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
384         (WebKit::ContextMenuClient::contextMenuItemSelected):
385         (WebKit::ContextMenuClient::downloadURL):
386         (WebKit::ContextMenuClient::copyImageToClipboard):
387         (WebKit::ContextMenuClient::searchWithGoogle):
388         (WebKit::ContextMenuClient::lookUpInDictionary):
389         (WebKit::ContextMenuClient::speak):
390         * WebCoreSupport/ContextMenuClientGtk.h:
391         * WebCoreSupport/EditorClientGtk.cpp:
392         (WebKit::EditorClient::shouldDeleteRange):
393         (WebKit::EditorClient::shouldShowDeleteInterface):
394         (WebKit::EditorClient::isContinuousSpellCheckingEnabled):
395         (WebKit::EditorClient::isGrammarCheckingEnabled):
396         (WebKit::EditorClient::spellCheckerDocumentTag):
397         (WebKit::EditorClient::shouldBeginEditing):
398         (WebKit::EditorClient::shouldEndEditing):
399         (WebKit::EditorClient::shouldInsertText):
400         (WebKit::EditorClient::shouldChangeSelectedRange):
401         (WebKit::EditorClient::shouldApplyStyle):
402         (WebKit::EditorClient::shouldMoveRangeAfterDelete):
403         (WebKit::EditorClient::didBeginEditing):
404         (WebKit::EditorClient::respondToChangedContents):
405         (WebKit::EditorClient::respondToChangedSelection):
406         (WebKit::EditorClient::didEndEditing):
407         (WebKit::EditorClient::didWriteSelectionToPasteboard):
408         (WebKit::EditorClient::didSetSelectionTypesForPasteboard):
409         (WebKit::EditorClient::selectWordBeforeMenuEvent):
410         (WebKit::EditorClient::isEditable):
411         (WebKit::EditorClient::registerCommandForUndo):
412         (WebKit::EditorClient::registerCommandForRedo):
413         (WebKit::EditorClient::clearUndoRedoOperations):
414         (WebKit::EditorClient::canUndo):
415         (WebKit::EditorClient::canRedo):
416         (WebKit::EditorClient::undo):
417         (WebKit::EditorClient::redo):
418         (WebKit::EditorClient::shouldInsertNode):
419         (WebKit::EditorClient::pageDestroyed):
420         (WebKit::EditorClient::smartInsertDeleteEnabled):
421         (WebKit::EditorClient::toggleContinuousSpellChecking):
422         (WebKit::EditorClient::toggleGrammarChecking):
423         (WebKit::EditorClient::handleInputMethodKeypress):
424         (WebKit::EditorClient::EditorClient):
425         (WebKit::EditorClient::textFieldDidBeginEditing):
426         (WebKit::EditorClient::textFieldDidEndEditing):
427         (WebKit::EditorClient::textDidChangeInTextField):
428         (WebKit::EditorClient::doTextFieldCommandFromEvent):
429         (WebKit::EditorClient::textWillBeDeletedInTextField):
430         (WebKit::EditorClient::textDidChangeInTextArea):
431         (WebKit::EditorClient::ignoreWordInSpellDocument):
432         (WebKit::EditorClient::learnWord):
433         (WebKit::EditorClient::checkSpellingOfString):
434         (WebKit::EditorClient::checkGrammarOfString):
435         (WebKit::EditorClient::updateSpellingUIWithGrammarString):
436         (WebKit::EditorClient::updateSpellingUIWithMisspelledWord):
437         (WebKit::EditorClient::showSpellingUI):
438         (WebKit::EditorClient::spellingUIIsShowing):
439         * WebCoreSupport/EditorClientGtk.h:
440         * WebCoreSupport/FrameLoaderClientGtk.cpp:
441         (WebKit::FrameLoaderClient::FrameLoaderClient):
442         (WebKit::FrameLoaderClient::userAgent):
443         (WebKit::FrameLoaderClient::createDocumentLoader):
444         (WebKit::FrameLoaderClient::committedLoad):
445         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
446         (WebKit::FrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
447         (WebKit::FrameLoaderClient::dispatchWillSendRequest):
448         (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
449         (WebKit::FrameLoaderClient::postProgressStartedNotification):
450         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
451         (WebKit::FrameLoaderClient::frameLoaderDestroyed):
452         (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
453         (WebKit::FrameLoaderClient::createPlugin):
454         (WebKit::FrameLoaderClient::redirectDataToPlugin):
455         (WebKit::FrameLoaderClient::createJavaAppletWidget):
456         (WebKit::FrameLoaderClient::overrideMediaType):
457         (WebKit::FrameLoaderClient::windowObjectCleared):
458         (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
459         (WebKit::FrameLoaderClient::hasWebView):
460         (WebKit::FrameLoaderClient::hasFrameView):
461         (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
462         (WebKit::FrameLoaderClient::frameLoadCompleted):
463         (WebKit::FrameLoaderClient::saveViewStateToItem):
464         (WebKit::FrameLoaderClient::restoreViewState):
465         (WebKit::FrameLoaderClient::privateBrowsingEnabled):
466         (WebKit::FrameLoaderClient::makeDocumentView):
467         (WebKit::FrameLoaderClient::makeRepresentation):
468         (WebKit::FrameLoaderClient::forceLayout):
469         (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
470         (WebKit::FrameLoaderClient::setCopiesOnScroll):
471         (WebKit::FrameLoaderClient::detachedFromParent1):
472         (WebKit::FrameLoaderClient::detachedFromParent2):
473         (WebKit::FrameLoaderClient::detachedFromParent3):
474         (WebKit::FrameLoaderClient::detachedFromParent4):
475         (WebKit::FrameLoaderClient::loadedFromCachedPage):
476         (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
477         (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
478         (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
479         (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
480         (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
481         (WebKit::FrameLoaderClient::dispatchWillClose):
482         (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
483         (WebKit::FrameLoaderClient::dispatchDidStartProvisionalLoad):
484         (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
485         (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
486         (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
487         (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
488         (WebKit::FrameLoaderClient::dispatchShow):
489         (WebKit::FrameLoaderClient::cancelPolicyCheck):
490         (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
491         (WebKit::FrameLoaderClient::revertToProvisionalState):
492         (WebKit::FrameLoaderClient::clearUnarchivingState):
493         (WebKit::FrameLoaderClient::willChangeTitle):
494         (WebKit::FrameLoaderClient::didChangeTitle):
495         (WebKit::FrameLoaderClient::finishedLoading):
496         (WebKit::FrameLoaderClient::finalSetupForReplace):
497         (WebKit::FrameLoaderClient::setDefersLoading):
498         (WebKit::FrameLoaderClient::isArchiveLoadPending):
499         (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
500         (WebKit::FrameLoaderClient::clearArchivedResources):
501         (WebKit::FrameLoaderClient::canHandleRequest):
502         (WebKit::FrameLoaderClient::canShowMIMEType):
503         (WebKit::FrameLoaderClient::representationExistsForURLScheme):
504         (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
505         (WebKit::FrameLoaderClient::provisionalLoadStarted):
506         (WebKit::FrameLoaderClient::didFinishLoad):
507         (WebKit::FrameLoaderClient::setDocumentViewFromCachedPage):
508         (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
509         (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
510         (WebKit::FrameLoaderClient::dispatchDidFailLoading):
511         (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
512         (WebKit::FrameLoaderClient::dispatchDidFailProvisionalLoad):
513         (WebKit::FrameLoaderClient::dispatchDidFailLoad):
514         (WebKit::FrameLoaderClient::download):
515         (WebKit::FrameLoaderClient::cancelledError):
516         (WebKit::FrameLoaderClient::blockedError):
517         (WebKit::FrameLoaderClient::cannotShowURLError):
518         (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
519         (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
520         (WebKit::FrameLoaderClient::fileDoesNotExistError):
521         (WebKit::FrameLoaderClient::shouldFallBack):
522         (WebKit::FrameLoaderClient::willUseArchive):
523         (WebKit::FrameLoaderClient::saveDocumentViewToCachedPage):
524         (WebKit::FrameLoaderClient::canCachePage):
525         (WebKit::FrameLoaderClient::dispatchCreatePage):
526         (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
527         * WebCoreSupport/FrameLoaderClientGtk.h:
528         * WebCoreSupport/InspectorClientGtk.cpp:
529         (WebKit::InspectorClient::inspectorDestroyed):
530         (WebKit::InspectorClient::createPage):
531         (WebKit::InspectorClient::showWindow):
532         (WebKit::InspectorClient::closeWindow):
533         (WebKit::InspectorClient::attachWindow):
534         (WebKit::InspectorClient::detachWindow):
535         (WebKit::InspectorClient::highlight):
536         (WebKit::InspectorClient::hideHighlight):
537         * WebCoreSupport/InspectorClientGtk.h:
538
539 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
540
541         Reviewed by Adam.
542
543         As of http://bugs.webkit.org/show_bug.cgi?id=14727 move the
544         various *ClientGdk.{cpp,h} files from WebCore to WebKit/gtk/WebCoreSupport and
545         rename it from Gdk to Gtk.
546
547         * Api/webkitgtkdefines.h:
548         * Api/webkitgtkframe.cpp:
549         * Api/webkitgtkframe.h:
550         * Api/webkitgtkglobal.cpp:
551         * Api/webkitgtkglobal.h:
552         * Api/webkitgtknetworkrequest.cpp:
553         * Api/webkitgtknetworkrequest.h:
554         * Api/webkitgtkpage.cpp:
555         * Api/webkitgtkpage.h:
556         * Api/webkitgtkprivate.cpp:
557         * Api/webkitgtkprivate.h:
558         * Api/webkitgtksettings.cpp:
559         * Api/webkitgtksettings.h:
560         * WebCoreSupport/ChromeClientGtk.cpp: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.cpp.
561         (WebKitGtk::ChromeClientGtk::ChromeClientGtk):
562         (WebKitGtk::ChromeClientGtk::chromeDestroyed):
563         (WebKitGtk::ChromeClientGtk::windowRect):
564         (WebKitGtk::ChromeClientGtk::setWindowRect):
565         (WebKitGtk::ChromeClientGtk::pageRect):
566         (WebKitGtk::ChromeClientGtk::scaleFactor):
567         (WebKitGtk::ChromeClientGtk::focus):
568         (WebKitGtk::ChromeClientGtk::unfocus):
569         (WebKitGtk::ChromeClientGtk::createWindow):
570         (WebKitGtk::ChromeClientGtk::createModalDialog):
571         (WebKitGtk::ChromeClientGtk::show):
572         (WebKitGtk::ChromeClientGtk::canRunModal):
573         (WebKitGtk::ChromeClientGtk::runModal):
574         (WebKitGtk::ChromeClientGtk::setToolbarsVisible):
575         (WebKitGtk::ChromeClientGtk::toolbarsVisible):
576         (WebKitGtk::ChromeClientGtk::setStatusbarVisible):
577         (WebKitGtk::ChromeClientGtk::statusbarVisible):
578         (WebKitGtk::ChromeClientGtk::setScrollbarsVisible):
579         (WebKitGtk::ChromeClientGtk::scrollbarsVisible):
580         (WebKitGtk::ChromeClientGtk::setMenubarVisible):
581         (WebKitGtk::ChromeClientGtk::menubarVisible):
582         (WebKitGtk::ChromeClientGtk::setResizable):
583         (WebKitGtk::ChromeClientGtk::closeWindowSoon):
584         (WebKitGtk::ChromeClientGtk::canTakeFocus):
585         (WebKitGtk::ChromeClientGtk::takeFocus):
586         (WebKitGtk::ChromeClientGtk::canRunBeforeUnloadConfirmPanel):
587         (WebKitGtk::ChromeClientGtk::runBeforeUnloadConfirmPanel):
588         (WebKitGtk::ChromeClientGtk::addMessageToConsole):
589         (WebKitGtk::ChromeClientGtk::runJavaScriptAlert):
590         (WebKitGtk::ChromeClientGtk::runJavaScriptConfirm):
591         (WebKitGtk::ChromeClientGtk::runJavaScriptPrompt):
592         (WebKitGtk::ChromeClientGtk::setStatusbarText):
593         (WebKitGtk::ChromeClientGtk::shouldInterruptJavaScript):
594         (WebKitGtk::ChromeClientGtk::tabsToLinks):
595         (WebKitGtk::ChromeClientGtk::windowResizerRect):
596         (WebKitGtk::ChromeClientGtk::addToDirtyRegion):
597         (WebKitGtk::ChromeClientGtk::scrollBackingStore):
598         (WebKitGtk::ChromeClientGtk::updateBackingStore):
599         (WebKitGtk::ChromeClientGtk::mouseDidMoveOverElement):
600         (WebKitGtk::ChromeClientGtk::setToolTip):
601         * WebCoreSupport/ChromeClientGtk.h: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.h.
602         (WebKitGtk::ChromeClientGtk::webPage):
603         * WebCoreSupport/ContextMenuClientGtk.cpp: Renamed from WebCore/page/gdk/ContextMenuClientGdk.cpp.
604         (WebCore::ContextMenuClientGtk::contextMenuDestroyed):
605         (WebCore::ContextMenuClientGtk::getCustomMenuFromDefaultItems):
606         (WebCore::ContextMenuClientGtk::contextMenuItemSelected):
607         (WebCore::ContextMenuClientGtk::downloadURL):
608         (WebCore::ContextMenuClientGtk::copyImageToClipboard):
609         (WebCore::ContextMenuClientGtk::searchWithGoogle):
610         (WebCore::ContextMenuClientGtk::lookUpInDictionary):
611         (WebCore::ContextMenuClientGtk::speak):
612         (WebCore::ContextMenuClientGtk::stopSpeaking):
613         * WebCoreSupport/ContextMenuClientGtk.h: Renamed from WebCore/page/gdk/ContextMenuClientGdk.h.
614         * WebCoreSupport/EditorClientGtk.cpp: Renamed from WebCore/platform/gdk/EditorClientGdk.cpp.
615         (WebCore::EditorClientGtk::shouldDeleteRange):
616         (WebCore::EditorClientGtk::shouldShowDeleteInterface):
617         (WebCore::EditorClientGtk::isContinuousSpellCheckingEnabled):
618         (WebCore::EditorClientGtk::isGrammarCheckingEnabled):
619         (WebCore::EditorClientGtk::spellCheckerDocumentTag):
620         (WebCore::EditorClientGtk::shouldBeginEditing):
621         (WebCore::EditorClientGtk::shouldEndEditing):
622         (WebCore::EditorClientGtk::shouldInsertText):
623         (WebCore::EditorClientGtk::shouldChangeSelectedRange):
624         (WebCore::EditorClientGtk::shouldApplyStyle):
625         (WebCore::EditorClientGtk::shouldMoveRangeAfterDelete):
626         (WebCore::EditorClientGtk::didBeginEditing):
627         (WebCore::EditorClientGtk::respondToChangedContents):
628         (WebCore::EditorClientGtk::respondToChangedSelection):
629         (WebCore::EditorClientGtk::didEndEditing):
630         (WebCore::EditorClientGtk::didWriteSelectionToPasteboard):
631         (WebCore::EditorClientGtk::didSetSelectionTypesForPasteboard):
632         (WebCore::EditorClientGtk::selectWordBeforeMenuEvent):
633         (WebCore::EditorClientGtk::isEditable):
634         (WebCore::EditorClientGtk::registerCommandForUndo):
635         (WebCore::EditorClientGtk::registerCommandForRedo):
636         (WebCore::EditorClientGtk::clearUndoRedoOperations):
637         (WebCore::EditorClientGtk::canUndo):
638         (WebCore::EditorClientGtk::canRedo):
639         (WebCore::EditorClientGtk::undo):
640         (WebCore::EditorClientGtk::redo):
641         (WebCore::EditorClientGtk::shouldInsertNode):
642         (WebCore::EditorClientGtk::pageDestroyed):
643         (WebCore::EditorClientGtk::smartInsertDeleteEnabled):
644         (WebCore::EditorClientGtk::toggleContinuousSpellChecking):
645         (WebCore::EditorClientGtk::toggleGrammarChecking):
646         (WebCore::EditorClientGtk::handleKeypress):
647         (WebCore::EditorClientGtk::handleInputMethodKeypress):
648         (WebCore::EditorClientGtk::EditorClientGtk):
649         (WebCore::EditorClientGtk::textFieldDidBeginEditing):
650         (WebCore::EditorClientGtk::textFieldDidEndEditing):
651         (WebCore::EditorClientGtk::textDidChangeInTextField):
652         (WebCore::EditorClientGtk::doTextFieldCommandFromEvent):
653         (WebCore::EditorClientGtk::textWillBeDeletedInTextField):
654         (WebCore::EditorClientGtk::textDidChangeInTextArea):
655         (WebCore::EditorClientGtk::ignoreWordInSpellDocument):
656         (WebCore::EditorClientGtk::learnWord):
657         (WebCore::EditorClientGtk::checkSpellingOfString):
658         (WebCore::EditorClientGtk::checkGrammarOfString):
659         (WebCore::EditorClientGtk::updateSpellingUIWithGrammarString):
660         (WebCore::EditorClientGtk::updateSpellingUIWithMisspelledWord):
661         (WebCore::EditorClientGtk::showSpellingUI):
662         (WebCore::EditorClientGtk::spellingUIIsShowing):
663         (WebCore::EditorClientGtk::getGuessesForWord):
664         * WebCoreSupport/EditorClientGtk.h: Renamed from WebCore/platform/gdk/EditorClientGdk.h.
665         * WebCoreSupport/FrameLoaderClientGtk.cpp: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.cpp.
666         (WebCore::FrameLoaderClientGtk::FrameLoaderClientGtk):
667         (WebCore::FrameLoaderClientGtk::userAgent):
668         (WebCore::FrameLoaderClientGtk::createDocumentLoader):
669         (WebCore::FrameLoaderClientGtk::dispatchWillSubmitForm):
670         (WebCore::FrameLoaderClientGtk::committedLoad):
671         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveAuthenticationChallenge):
672         (WebCore::FrameLoaderClientGtk::dispatchDidCancelAuthenticationChallenge):
673         (WebCore::FrameLoaderClientGtk::dispatchWillSendRequest):
674         (WebCore::FrameLoaderClientGtk::assignIdentifierToInitialRequest):
675         (WebCore::FrameLoaderClientGtk::postProgressStartedNotification):
676         (WebCore::FrameLoaderClientGtk::postProgressEstimateChangedNotification):
677         (WebCore::FrameLoaderClientGtk::postProgressFinishedNotification):
678         (WebCore::FrameLoaderClientGtk::frameLoaderDestroyed):
679         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveResponse):
680         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForMIMEType):
681         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNewWindowAction):
682         (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNavigationAction):
683         (WebCore::FrameLoaderClientGtk::createPlugin):
684         (WebCore::FrameLoaderClientGtk::createFrame):
685         (WebCore::FrameLoaderClientGtk::redirectDataToPlugin):
686         (WebCore::FrameLoaderClientGtk::createJavaAppletWidget):
687         (WebCore::FrameLoaderClientGtk::objectContentType):
688         (WebCore::FrameLoaderClientGtk::overrideMediaType):
689         (WebCore::FrameLoaderClientGtk::windowObjectCleared):
690         (WebCore::FrameLoaderClientGtk::setMainFrameDocumentReady):
691         (WebCore::FrameLoaderClientGtk::hasWebView):
692         (WebCore::FrameLoaderClientGtk::hasFrameView):
693         (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoad):
694         (WebCore::FrameLoaderClientGtk::frameLoadCompleted):
695         (WebCore::FrameLoaderClientGtk::saveViewStateToItem):
696         (WebCore::FrameLoaderClientGtk::restoreViewState):
697         (WebCore::FrameLoaderClientGtk::shouldGoToHistoryItem):
698         (WebCore::FrameLoaderClientGtk::privateBrowsingEnabled):
699         (WebCore::FrameLoaderClientGtk::makeDocumentView):
700         (WebCore::FrameLoaderClientGtk::makeRepresentation):
701         (WebCore::FrameLoaderClientGtk::forceLayout):
702         (WebCore::FrameLoaderClientGtk::forceLayoutForNonHTML):
703         (WebCore::FrameLoaderClientGtk::setCopiesOnScroll):
704         (WebCore::FrameLoaderClientGtk::detachedFromParent1):
705         (WebCore::FrameLoaderClientGtk::detachedFromParent2):
706         (WebCore::FrameLoaderClientGtk::detachedFromParent3):
707         (WebCore::FrameLoaderClientGtk::detachedFromParent4):
708         (WebCore::FrameLoaderClientGtk::loadedFromCachedPage):
709         (WebCore::FrameLoaderClientGtk::dispatchDidHandleOnloadEvents):
710         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveServerRedirectForProvisionalLoad):
711         (WebCore::FrameLoaderClientGtk::dispatchDidCancelClientRedirect):
712         (WebCore::FrameLoaderClientGtk::dispatchWillPerformClientRedirect):
713         (WebCore::FrameLoaderClientGtk::dispatchDidChangeLocationWithinPage):
714         (WebCore::FrameLoaderClientGtk::dispatchWillClose):
715         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveIcon):
716         (WebCore::FrameLoaderClientGtk::dispatchDidStartProvisionalLoad):
717         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveTitle):
718         (WebCore::FrameLoaderClientGtk::dispatchDidCommitLoad):
719         (WebCore::FrameLoaderClientGtk::dispatchDidFinishDocumentLoad):
720         (WebCore::FrameLoaderClientGtk::dispatchDidFirstLayout):
721         (WebCore::FrameLoaderClientGtk::dispatchShow):
722         (WebCore::FrameLoaderClientGtk::cancelPolicyCheck):
723         (WebCore::FrameLoaderClientGtk::dispatchDidLoadMainResource):
724         (WebCore::FrameLoaderClientGtk::revertToProvisionalState):
725         (WebCore::FrameLoaderClientGtk::clearUnarchivingState):
726         (WebCore::FrameLoaderClientGtk::willChangeTitle):
727         (WebCore::FrameLoaderClientGtk::didChangeTitle):
728         (WebCore::FrameLoaderClientGtk::finishedLoading):
729         (WebCore::FrameLoaderClientGtk::finalSetupForReplace):
730         (WebCore::FrameLoaderClientGtk::setDefersLoading):
731         (WebCore::FrameLoaderClientGtk::isArchiveLoadPending):
732         (WebCore::FrameLoaderClientGtk::cancelPendingArchiveLoad):
733         (WebCore::FrameLoaderClientGtk::clearArchivedResources):
734         (WebCore::FrameLoaderClientGtk::canHandleRequest):
735         (WebCore::FrameLoaderClientGtk::canShowMIMEType):
736         (WebCore::FrameLoaderClientGtk::representationExistsForURLScheme):
737         (WebCore::FrameLoaderClientGtk::generatedMIMETypeForURLScheme):
738         (WebCore::FrameLoaderClientGtk::provisionalLoadStarted):
739         (WebCore::FrameLoaderClientGtk::didFinishLoad):
740         (WebCore::FrameLoaderClientGtk::prepareForDataSourceReplacement):
741         (WebCore::FrameLoaderClientGtk::setTitle):
742         (WebCore::FrameLoaderClientGtk::setDocumentViewFromCachedPage):
743         (WebCore::FrameLoaderClientGtk::dispatchDidReceiveContentLength):
744         (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoading):
745         (WebCore::FrameLoaderClientGtk::dispatchDidFailLoading):
746         (WebCore::FrameLoaderClientGtk::dispatchDidLoadResourceFromMemoryCache):
747         (WebCore::FrameLoaderClientGtk::dispatchDidFailProvisionalLoad):
748         (WebCore::FrameLoaderClientGtk::dispatchDidFailLoad):
749         (WebCore::FrameLoaderClientGtk::download):
750         (WebCore::FrameLoaderClientGtk::cancelledError):
751         (WebCore::FrameLoaderClientGtk::blockedError):
752         (WebCore::FrameLoaderClientGtk::cannotShowURLError):
753         (WebCore::FrameLoaderClientGtk::interruptForPolicyChangeError):
754         (WebCore::FrameLoaderClientGtk::cannotShowMIMETypeError):
755         (WebCore::FrameLoaderClientGtk::fileDoesNotExistError):
756         (WebCore::FrameLoaderClientGtk::shouldFallBack):
757         (WebCore::FrameLoaderClientGtk::willUseArchive):
758         (WebCore::FrameLoaderClientGtk::saveDocumentViewToCachedPage):
759         (WebCore::FrameLoaderClientGtk::canCachePage):
760         (WebCore::FrameLoaderClientGtk::dispatchCreatePage):
761         (WebCore::FrameLoaderClientGtk::dispatchUnableToImplementPolicy):
762         * WebCoreSupport/FrameLoaderClientGtk.h: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.h.
763         (WebCore::FrameLoaderClientGtk::~FrameLoaderClientGtk):
764         (WebCore::FrameLoaderClientGtk::webFrame):
765         * WebCoreSupport/InspectorClientGtk.cpp: Renamed from WebCore/page/gdk/InspectorClientGdk.cpp.
766         (WebCore::InspectorClientGtk::inspectorDestroyed):
767         (WebCore::InspectorClientGtk::createPage):
768         (WebCore::InspectorClientGtk::showWindow):
769         (WebCore::InspectorClientGtk::closeWindow):
770         (WebCore::InspectorClientGtk::attachWindow):
771         (WebCore::InspectorClientGtk::detachWindow):
772         (WebCore::InspectorClientGtk::highlight):
773         (WebCore::InspectorClientGtk::hideHighlight):
774         (WebCore::InspectorClientGtk::inspectedURLChanged):
775         * WebCoreSupport/InspectorClientGtk.h: Renamed from WebCore/page/gdk/InspectorClientGdk.h.
776
777 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
778
779         Build fix.
780
781         * Api/webkitgtkframe.cpp:
782
783 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
784
785         Reviewed by Adam.
786
787         Remove the create_frame virtual method of WebKitGtkPage. This method was inspired
788         by the Qt port but to be useful for reimplementations WebKitGtkFrameData would need
789         to export/expose WebCore types. WebView doesn't offer such a method so I decided to
790         remove it.
791         Add a internal constructor to WebKitGtkFrame to be used for constructing Sub-Frames. This
792         is currently used by FrameLoaderClientGdk::createFrame.
793
794         * Api/webkitgtkframe.cpp:
795         * Api/webkitgtkframedata.cpp: Removed.
796         * Api/webkitgtkframedata.h: Removed.
797         * Api/webkitgtkpage.cpp:
798         * Api/webkitgtkpage.h:
799         * Api/webkitgtkprivate.h:
800
801 2007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
802
803         Reviewed by Adam.
804
805         Follow the changes of ScrollView in WebCore and call setContainingWindow, set the
806         GtkAdjustment of the GtkLayout and reimplement the set_scroll_adjustments method and pass
807         the GtkAdjustments to ScrollView.
808         This makes having one GdkWindow for the complete FrameTree possible.
809         
810
811         * gtk/Api/webkitgtkframe.cpp:
812         * gtk/Api/webkitgtkpage.cpp:
813
814 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
815
816         Reviewed by Niko.
817
818         We only need to set the Settings of the Page once so do it in
819         WebKitGtkPage instead of WebKitGtkFrame.
820
821         * gtk/Api/webkitgtkframe.cpp:
822         * gtk/Api/webkitgtkpage.cpp:
823
824 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
825
826         Reviewed by Niko.
827
828         Instead of reimplementing the general event method, reimplement
829         the specific mouse, expose, keyboard event methods.
830
831         Call the finalize implementation of the base class from WebKitGtkPage
832         and WebKitGtkFrame.
833
834         * gtk/Api/webkitgtkframe.cpp:
835         * gtk/Api/webkitgtkpage.cpp:
836
837 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
838
839         Reviewed by Niko.
840
841         Remove the custom painting in favor of the Widget::paint
842         implementation.
843
844         * gtk/Api/webkitgtkpage.cpp:
845
846 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
847
848         Reviewed by Adam.
849
850         Moved code from class FrameGdk into WebKitGtkFrame. Update the
851         webkitgrkprivate.h header file to not include FrameGdk.h.
852
853         * gtk/Api/webkitgtkframe.cpp:
854         * gtk/Api/webkitgtkprivate.h:
855
856 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
857
858         Reviewed by Adam.
859
860         Change variable names to follow the Coding-Style. Replace occurences
861         of a_b with aB and place the '*' correctly.
862
863         * gtk/Api/webkitgtkframe.cpp:
864         * gtk/Api/webkitgtkpage.cpp:
865         * gtk/Api/webkitgtkprivate.h:
866
867 2007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
868
869         Reviewed by Adam.
870
871         Reimplement GtkWidget::event and handle the keyboard and mouse
872         events inside WebKitGtkPage.
873
874         * gtk/Api/webkitgtkpage.cpp:
875         (FrameGdkExposeData::frame_gdk_expose_child):
876         (FrameGdkExposeData::webkit_gtk_page_rendering_area_handle_gdk_event):
877         (FrameGdkExposeData::webkit_gtk_page_register_rendering_area_events):
878         (FrameGdkExposeData::webkit_gtk_page_class_init):
879
880 2007-08-07  Xan Lopez  <xan@gnome.org>
881
882         Reviewed by Mark Rowe.
883
884         http://bugs.webkit.org/show_bug.cgi?id=14815
885         [gtk] API implementation: reload
886
887         * gtk/Api/webkitgtkpage.cpp: Implement the webkit_gtk_page_reload()
888         function.
889
890 2007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org>
891
892         Reviewed by Adam.
893
894         http://bugs.webkit.org/show_bug.cgi?id=14806
895         Implement can_go_backward and can_go_forward in webkitgtkpage.cpp
896
897         * gtk/Api/webkitgtkpage.cpp: Implement webkit_gtk_page_can_go_backward() and
898         webkit_gtk_page_can_go_forward() functions.
899
900 2007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org> 
901
902         Reviewed by Alp Toker.
903
904         http://bugs.webkit.org/show_bug.cgi?id=14810
905         Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
906
907         This is the proper fix for #14810.
908
909         * gtk/Api/webkitgtkframe.cpp:
910         * gtk/Api/webkitgtkpage.cpp: Fix the marshaller type of the "load_finished" signal and
911         correct the class_offset parameters.
912
913 2007-07-29  Diego Escalante Urrelo  <diegoe@gnome.org>
914
915         Reviewed by Alp Toker.
916
917         http://bugs.webkit.org/show_bug.cgi?id=14810
918         Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
919
920         * gtk/Api/webkitgtkpage.cpp: Use a correct n_params value and the corresponding types for
921         them in the "load_finished" signal.
922
923 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
924
925         Reviewed by Adam.
926
927         Add the first API and partial implementation of the WebKit/Gtk port as
928         of http://bugs.webkit.org/show_bug.cgi?id=14678.
929
930         The delegates of WebView will be modeled as signals. Delegates like the
931         WebPolicyDelegate will be implemented as signals with default handlers.
932
933         Start moving files to WebKit/gtk/WebCoreSupport.
934
935         * gtk: Added.
936         * gtk/Api: Added.
937         * gtk/Api/headers.pri: Added.
938         * gtk/Api/webkitgtk-marshal.list: Added.
939         * gtk/Api/webkitgtkdefines.h: Added.
940         * gtk/Api/webkitgtkframe.cpp: Added.
941         * gtk/Api/webkitgtkframe.h: Added.
942         * gtk/Api/webkitgtkframedata.cpp: Added.
943         * gtk/Api/webkitgtkframedata.h: Added.
944         * gtk/Api/webkitgtkglobal.cpp: Added.
945         * gtk/Api/webkitgtkglobal.h: Added.
946         * gtk/Api/webkitgtknetworkrequest.cpp: Added.
947         * gtk/Api/webkitgtknetworkrequest.h: Added.
948         * gtk/Api/webkitgtkpage.cpp: Added.
949         * gtk/Api/webkitgtkpage.h: Added.
950         * gtk/Api/webkitgtkprivate.cpp: Added.
951         * gtk/Api/webkitgtkprivate.h: Added.
952         * gtk/Api/webkitgtksettings.cpp: Added.
953         * gtk/Api/webkitgtksettings.h: Added.
954         * gtk/WebCoreSupport: Added.
955         * gtk/WebCoreSupport/ChromeClientGdk.cpp: Added.
956         (WebCore::ChromeClientGdk::ChromeClientGdk):
957         (WebCore::ChromeClientGdk::chromeDestroyed):
958         (WebCore::ChromeClientGdk::windowRect):
959         (WebCore::ChromeClientGdk::setWindowRect):
960         (WebCore::ChromeClientGdk::pageRect):
961         (WebCore::ChromeClientGdk::scaleFactor):
962         (WebCore::ChromeClientGdk::focus):
963         (WebCore::ChromeClientGdk::unfocus):
964         (WebCore::ChromeClientGdk::createWindow):
965         (WebCore::ChromeClientGdk::createModalDialog):
966         (WebCore::ChromeClientGdk::show):
967         (WebCore::ChromeClientGdk::canRunModal):
968         (WebCore::ChromeClientGdk::runModal):
969         (WebCore::ChromeClientGdk::setToolbarsVisible):
970         (WebCore::ChromeClientGdk::toolbarsVisible):
971         (WebCore::ChromeClientGdk::setStatusbarVisible):
972         (WebCore::ChromeClientGdk::statusbarVisible):
973         (WebCore::ChromeClientGdk::setScrollbarsVisible):
974         (WebCore::ChromeClientGdk::scrollbarsVisible):
975         (WebCore::ChromeClientGdk::setMenubarVisible):
976         (WebCore::ChromeClientGdk::menubarVisible):
977         (WebCore::ChromeClientGdk::setResizable):
978         (WebCore::ChromeClientGdk::closeWindowSoon):
979         (WebCore::ChromeClientGdk::canTakeFocus):
980         (WebCore::ChromeClientGdk::takeFocus):
981         (WebCore::ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
982         (WebCore::ChromeClientGdk::runBeforeUnloadConfirmPanel):
983         (WebCore::ChromeClientGdk::addMessageToConsole):
984         (WebCore::ChromeClientGdk::runJavaScriptAlert):
985         (WebCore::ChromeClientGdk::runJavaScriptConfirm):
986         (WebCore::ChromeClientGdk::runJavaScriptPrompt):
987         (WebCore::ChromeClientGdk::setStatusbarText):
988         (WebCore::ChromeClientGdk::shouldInterruptJavaScript):
989         (WebCore::ChromeClientGdk::tabsToLinks):
990         (WebCore::ChromeClientGdk::windowResizerRect):
991         (WebCore::ChromeClientGdk::addToDirtyRegion):
992         (WebCore::ChromeClientGdk::scrollBackingStore):
993         (WebCore::ChromeClientGdk::updateBackingStore):
994         (WebCore::ChromeClientGdk::mouseDidMoveOverElement):
995         (WebCore::ChromeClientGdk::setToolTip):
996         (WebCore::ChromeClientGdk::print):
997         * gtk/WebCoreSupport/ChromeClientGdk.h: Added.
998