root/trunk/WebKit/gtk/ChangeLog

Revision 38861, 153.6 KB (checked in by christian@webkit.org, 3 hours ago)

2008-12-01 Xan Lopez <xan@gnome.org>

Reviewed by Holger Freyther.

http://bugs.webkit.org/show_bug.cgi?id=22553
Remove unneeded GObject casts.

Remove unneeded casts to GObject in functions that take a gpointer
argument.

  • WebCoreSupport/ChromeClientGtk.cpp: (WebKit::ChromeClient::setWindowRect): (WebKit::ChromeClient::createWindow): (WebKit::ChromeClient::setToolbarsVisible): (WebKit::ChromeClient::toolbarsVisible): (WebKit::ChromeClient::setStatusbarVisible): (WebKit::ChromeClient::statusbarVisible): (WebKit::ChromeClient::setScrollbarsVisible): (WebKit::ChromeClient::scrollbarsVisible): (WebKit::ChromeClient::setMenubarVisible): (WebKit::ChromeClient::menubarVisible): (WebKit::ChromeClient::setToolTip):
  • WebCoreSupport/InspectorClientGtk.cpp: (WebKit::InspectorClient::createPage):
  • webkit/webkitwebframe.cpp:
  • webkit/webkitwebview.cpp:
  • webkit/webkitwebwindowfeatures.cpp: (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_new_from_core_features):
  • Property svn:eol-style set to native
Line 
12008-12-01  Xan Lopez  <xan@gnome.org>
2
3        Reviewed by Holger Freyther.
4
5        http://bugs.webkit.org/show_bug.cgi?id=22553
6        Remove unneeded GObject casts.
7
8        Remove unneeded casts to GObject in functions that take a gpointer
9        argument.
10
11        * WebCoreSupport/ChromeClientGtk.cpp:
12        (WebKit::ChromeClient::setWindowRect):
13        (WebKit::ChromeClient::createWindow):
14        (WebKit::ChromeClient::setToolbarsVisible):
15        (WebKit::ChromeClient::toolbarsVisible):
16        (WebKit::ChromeClient::setStatusbarVisible):
17        (WebKit::ChromeClient::statusbarVisible):
18        (WebKit::ChromeClient::setScrollbarsVisible):
19        (WebKit::ChromeClient::scrollbarsVisible):
20        (WebKit::ChromeClient::setMenubarVisible):
21        (WebKit::ChromeClient::menubarVisible):
22        (WebKit::ChromeClient::setToolTip):
23        * WebCoreSupport/InspectorClientGtk.cpp:
24        (WebKit::InspectorClient::createPage):
25        * webkit/webkitwebframe.cpp:
26        * webkit/webkitwebview.cpp:
27        * webkit/webkitwebwindowfeatures.cpp:
28        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_new_from_core_features):
29
302008-11-29  Christian Dywan  <christian@twotoasts.de>
31
32        Reviewed by Holger Freyther.
33
34        http://bugs.webkit.org/show_bug.cgi?id=17122
35        [GTK] Bad font default settings
36
37        Implement a property "enforce-96-dpi" in WebKitWebSettings
38        that can be enabled to force the view to assume 96 DPI.
39
40        * webkit/webkitwebsettings.cpp:
41        (_WebKitWebSettingsPrivate::):
42        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
43        (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
44        (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
45        * webkit/webkitwebview.cpp:
46
472008-11-28  Holger Hans Peter Freyther  <zecke@selfish.org>
48
49        Reviewed by Nikolas Zimmermann.
50
51        Simplify the code. There is no reason to have code like
52        if (true) return false; which is using temporary variables.
53
54        * webkit/webkitwebview.cpp:
55
562008-11-28  Holger Hans Peter Freyther  <zecke@selfish.org>
57
58        Reviewed by Nikolas Zimmermann.
59
60        Remove bogus null checks. The WebKitWebView own's a WebCore::Page
61        which is owning a WebCore::ChromeClient. There is no way that a
62        WebCore::ChromeClient is still around when the WebKitWebView is gone.
63
64        m_webView can only be null when a ChromeClient gets constructed with
65        a null WebKitWebView which is not allowed.
66
67        * WebCoreSupport/ChromeClientGtk.cpp:
68        (WebKit::ChromeClient::ChromeClient):
69        (WebKit::ChromeClient::windowRect):
70        (WebKit::ChromeClient::setWindowRect):
71        (WebKit::ChromeClient::pageRect):
72        (WebKit::ChromeClient::focus):
73        (WebKit::ChromeClient::unfocus):
74        (WebKit::ChromeClient::show):
75        (WebKit::ChromeClient::setToolbarsVisible):
76        (WebKit::ChromeClient::toolbarsVisible):
77        (WebKit::ChromeClient::setStatusbarVisible):
78        (WebKit::ChromeClient::statusbarVisible):
79        (WebKit::ChromeClient::setScrollbarsVisible):
80        (WebKit::ChromeClient::setMenubarVisible):
81        (WebKit::ChromeClient::menubarVisible):
82        (WebKit::ChromeClient::canTakeFocus):
83        (WebKit::ChromeClient::repaint):
84        (WebKit::ChromeClient::scroll):
85        (WebKit::ChromeClient::platformWindow):
86
872008-11-28  Gustavo Noronha Silva  <gns@gnome.org>
88
89        Reviewed and slightly modified by Holger Freyther.
90
91        https://bugs.webkit.org/show_bug.cgi?id=19130
92
93        ChromeClient::createWindow and friends need to be implemented
94
95        Code from Gustavo Noronha and Marco Barisione
96        <marco.barisione@collabora.co.uk> in this change set.
97
98        Implemented all the ChromeClient interfaces needed to have new
99        window creation functioning and exposed to client code. We
100        implemented a mirror GObject to the WindowFeatures object provided
101        by WebCore.
102
103        * WebCoreSupport/ChromeClientGtk.cpp:
104        (WebKit::ChromeClient::windowRect):
105        (WebKit::ChromeClient::setWindowRect):
106        (WebKit::ChromeClient::unfocus):
107        (WebKit::ChromeClient::createWindow):
108        (WebKit::ChromeClient::show):
109        (WebKit::ChromeClient::setToolbarsVisible):
110        (WebKit::ChromeClient::toolbarsVisible):
111        (WebKit::ChromeClient::setStatusbarVisible):
112        (WebKit::ChromeClient::statusbarVisible):
113        (WebKit::ChromeClient::setScrollbarsVisible):
114        (WebKit::ChromeClient::scrollbarsVisible):
115        (WebKit::ChromeClient::setMenubarVisible):
116        (WebKit::ChromeClient::menubarVisible):
117        (WebKit::ChromeClient::setResizable):
118        * WebCoreSupport/FrameLoaderClientGtk.cpp:
119        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
120        (WebKit::FrameLoaderClient::dispatchShow):
121        (WebKit::FrameLoaderClient::dispatchCreatePage):
122        * webkit/webkit.h:
123        * webkit/webkitdefines.h:
124        * webkit/webkitprivate.h:
125        * webkit/webkitwebview.cpp:
126        * webkit/webkitwebview.h:
127        * webkit/webkitwebwindowfeatures.cpp: Added.
128        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_class_init):
129        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_init):
130        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_finalize):
131        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_set_property):
132        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_get_property):
133        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_new):
134        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_new_from_core_features):
135        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_equal):
136        * webkit/webkitwebwindowfeatures.h: Added.
137
1382008-11-24  Darin Fisher  <darin@chromium.org>
139
140        Fix bustage.
141
142        http://bugs.webkit.org/show_bug.cgi?id=15643
143
144        * WebCoreSupport/EditorClientGtk.cpp:
145        (WebKit::EditorClient::isSelectTrailingWhitespaceEnabled):
146        * WebCoreSupport/EditorClientGtk.h:
147
1482008-11-24  Darin Adler  <darin@apple.com>
149
150        Reviewed by Dan Bernstein.
151
152        - https://bugs.webkit.org/show_bug.cgi?id=22470
153          remove unneeded URL argument from FrameLoaderClient::updateGlobalHistory
154
155        * WebCoreSupport/FrameLoaderClientGtk.cpp:
156        (WebKit::FrameLoaderClient::updateGlobalHistory): Remove argument.
157        * WebCoreSupport/FrameLoaderClientGtk.h: Ditto.
158
1592008-11-24  Christian Dywan  <christian@twotoasts.de>
160
161        Reviewed by Holger Freyther.
162
163        http://bugs.webkit.org/show_bug.cgi?id=17122
164        [GTK] Bad font default settings
165
166        * webkit/webkitwebsettings.cpp:
167        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
168        Use default font size 12 instead of 10
169
1702008-11-24  Zan Dobersek  <zandobersek@gmail.com>
171
172        Reviewed by Holger Freyther.
173
174        https://bugs.webkit.org/show_bug.cgi?id=22039
175
176        Implement a semi-private function for adding a directory to
177        PluginDatabase's paths.
178
179        * webkit/webkitprivate.h:
180        * webkit/webkitwebsettings.cpp:
181        (_WebKitWebSettingsPrivate::webkit_web_settings_add_extra_plugin_directory):
182
1832008-11-23  Holger Hans Peter Freyther  <zecke@selfish.org>
184
185        Rubber-stamped by Sam Weinig.
186
187        Add gtk-doc configuration/source for the WebKit/Gtk+ Reference Manual
188
189        These files will be used by gtk-doc to generate the documentation. They
190        contain information how to group the symbols of our API, which objects
191        to inspect during the generation of the manual and how to display the
192        manual.
193
194        * docs/webkitgtk-docs.sgml: Added.
195        * docs/webkitgtk-overrides.txt: Added.
196        * docs/webkitgtk-sections.txt: Added.
197        * docs/webkitgtk.types: Added.
198
1992008-11-23  Holger Hans Peter Freyther  <zecke@selfish.org>
200
201        Reviewed by Sam Weinig.
202
203        Make gtk-doc happy with the existing API documentation
204
205        - Mark the *Private pointers in the struct private
206        - Use Returns: where gtk-doc wants us to
207        - Fix the parameters to make gtk-doc happy
208        - Fix signal references
209
210        * webkit/webkitnetworkrequest.h:
211        * webkit/webkitwebbackforwardlist.cpp:
212        * webkit/webkitwebbackforwardlist.h:
213        * webkit/webkitwebframe.h:
214        * webkit/webkitwebhistoryitem.cpp:
215        * webkit/webkitwebinspector.cpp:
216        (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
217        * webkit/webkitwebview.cpp:
218        * webkit/webkitwebview.h:
219
2202008-11-19  Darin Fisher  <darin@chromium.org>
221
222        Bustage fix.
223
224        https://bugs.webkit.org/show_bug.cgi?id=22373
225        Ports busted by addition of ScriptValue.{h,cpp}
226
227        * webkit/webkitwebview.cpp:
228
2292008-11-18  Holger Hans Peter Freyther  <zecke@selfish.org>
230
231        Reviewed by Simon Hausmann.
232
233        Attempt to share transitionToCommittedForNewPage of FrameLoaderClient with the different ports
234
235        After Hyatt's work on Widget and ScrollView there is little difference
236        between the implementation of Qt, Gtk+ and Win. In fact any kind of
237        difference is mostly a bug. Alp has fixed two of such errors for the Gtk+
238        port and the Qt port has at least one of them left.
239
240        The only difference between the implementations is in getting the the
241        IntSize for the new FrameView, the background color to be applied and
242        eventually some post processing.
243
244        Unify the implementations by providing a static helper function that
245        takes a Frame, IntSize, color and transparency bit and calling it from
246        the Gtk+, the Qt and the Windows port.
247
248        * WebCoreSupport/FrameLoaderClientGtk.cpp:
249        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
250
2512008-11-16  Christian Dywan  <christian@twoasts.de>
252
253        Reviewed by Holger Freyther.
254
255        https://bugs.webkit.org/show_bug.cgi?id=22207
256        [Gtk] Font sizes are not handled properly when updated at runtime
257
258        * webkit/webkitwebview.cpp: Move the DPI/ conversion into a
259        helper function and apply the logic in the notification callback.
260
2612008-11-06  Alp Toker  <alp@nuanti.com>
262
263        Reviewed by Darin Adler.
264
265        https://bugs.webkit.org/show_bug.cgi?id=22047
266        GTK: Add support for multiple file selection in the file upload control
267
268        Implemented with GtkFileChooser.
269
270        * WebCoreSupport/ChromeClientGtk.cpp:
271        (WebKit::ChromeClient::runOpenPanel):
272
2732008-11-03  Cameron Zwarich  <zwarich@apple.com>
274
275        Rubber-stamped by Maciej Stachowiak.
276
277        Move more files into the runtime subdirectory of JavaScriptCore.
278
279        * webkit/webkitprivate.cpp:
280
2812008-11-03  Alp Toker  <alp@nuanti.com>
282
283        Reviewed by Holger Freyther.
284
285        Deprecate flawed webkit_web_frame_new() function. This would never
286        have worked properly when used outside WebCore since Frame::create()
287        can only be called without an owner element once in the lifetime of a
288        Page and would result in assertions, leaks and an unusable WebView
289        instance.
290
291        Frame creation may be exposed in API some time later via the DOM
292        binding but probably not in the WebKit GTK+ core API.
293
294        * webkit/webkitwebframe.cpp:
295        * webkit/webkitwebframe.h:
296
2972008-11-03  Alp Toker  <alp@nuanti.com>
298
299        Reviewed by Holger Freyther.
300
301        Redundant scrollbars appear in frames where they shouldn't be visible
302        eg. embedded Google adverts.
303
304        Call setCanHaveScrollbars() when necessary. The Mac and Win ports
305        already have this but it was missing in FrameLoaderClientGtk.
306
307        * WebCoreSupport/FrameLoaderClientGtk.cpp:
308        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
309
3102008-11-03  Alp Toker  <alp@nuanti.com>
311
312        Rubber-stamped by Holger Freyther.
313
314        Sync WebKit GTK+ default UA version string to 528.5+. (We're still
315        doing this manually!)
316
317        * WebCoreSupport/FrameLoaderClientGtk.cpp:
318        (WebKit::composeUserAgent):
319
3202008-10-31  Christian Dywan  <christian@twotoasts.de>
321
322        Reviewed by Mark Rowe.
323
324        http://bugs.webkit.org/show_bug.cgi?id=22018
325        enable-developer-extras doesn't toggle WebInspector
326
327        * webkit/webkitwebview.cpp:
328        Add missing 'if' in notification for 'enable-developer-extras'.
329
3302008-10-30  Alp Toker  <alp@nuanti.com>
331
332        Reviewed by Dave Hyatt.
333
334        Fix GIF animations. WebCore will not update animated GIFs if
335        the WebView is marked offscreen so we need to call
336        frameView->setParentVisible() when necessary like the Mac and Win
337        ports do. Regression was introduced around r37155 during the
338        HostWindow refactor.
339
340        * WebCoreSupport/FrameLoaderClientGtk.cpp:
341        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
342
3432008-10-30  Alp Toker  <alp@nuanti.com>
344
345        Rubber-stamped by Holger Freyther.
346
347        Fix typo in recently added web inspector signal. dettach -> detach.
348
349        * WebCoreSupport/InspectorClientGtk.cpp:
350        (WebKit::InspectorClient::detachWindow):
351        * webkit/webkitwebinspector.cpp:
352        (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
353
3542008-10-30  Alp Toker  <alp@nuanti.com>
355
356        Fix version comments for the web inspector added in r37982. Available
357        since 1.0.3, not 1.0.2.
358
359        * webkit/webkitwebinspector.cpp:
360        (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
361        * webkit/webkitwebsettings.cpp:
362        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
363        * webkit/webkitwebview.cpp:
364
3652008-10-29  Gustavo Noronha Silva  <gns@gnome.org>
366
367        Reviewed and slightly changed by Holger Freyther.
368
369        Implemented a new WebKitWebInspector class to provide a GObject
370        API for the Web Inspector. Also implemented InspectorClient.
371
372        * WebCoreSupport/InspectorClientGtk.cpp:
373        (WebKit::notifyWebViewDestroyed):
374        (WebKit::InspectorClient::InspectorClient):
375        (WebKit::InspectorClient::inspectorDestroyed):
376        (WebKit::InspectorClient::webViewDestroyed):
377        (WebKit::InspectorClient::createPage):
378        (WebKit::InspectorClient::showWindow):
379        (WebKit::InspectorClient::closeWindow):
380        (WebKit::InspectorClient::attachWindow):
381        (WebKit::InspectorClient::detachWindow):
382        (WebKit::InspectorClient::inspectedURLChanged):
383        * WebCoreSupport/InspectorClientGtk.h:
384        * webkit/webkit.h:
385        * webkit/webkit-marshal.list:
386        * webkit/webkitdefines.h:
387        * webkit/webkitprivate.h:
388        * webkit/webkitwebinspector.cpp: Added.
389        (_WebKitWebInspectorPrivate::webkit_inspect_web_view_request_handled):
390        (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
391        (_WebKitWebInspectorPrivate::webkit_web_inspector_init):
392        (_WebKitWebInspectorPrivate::webkit_web_inspector_finalize):
393        (_WebKitWebInspectorPrivate::webkit_web_inspector_set_property):
394        (_WebKitWebInspectorPrivate::webkit_web_inspector_get_property):
395        (_WebKitWebInspectorPrivate::webkit_web_inspector_set_web_view):
396        * webkit/webkitwebinspector.h: Added.
397        * webkit/webkitwebsettings.cpp:
398        (_WebKitWebSettingsPrivate::):
399        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
400        (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
401        (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
402        (_WebKitWebSettingsPrivate::webkit_web_settings_copy):
403        * webkit/webkitwebview.cpp:
404        * webkit/webkitwebview.h:
405
4062008-10-27  Michael Tross  <michael@tross.org>
407
408        Reviewed by Alp Toker. Landed by Jan Alonzo.
409
410        https://bugs.webkit.org/show_bug.cgi?id=21827
411        [GTK] Fix memory leak in webkit_web_view_load_string
412
413        * webkit/webkitwebview.cpp:
414
4152008-10-24  Sam Weinig  <sam@webkit.org>
416
417        Fix the Gtk build.
418
419        * WebCoreSupport/ChromeClientGtk.cpp:
420
4212008-10-24  Sam Weinig  <sam@webkit.org>
422
423        Reviewed by Dan Bernstein.
424
425        Fix https://bugs.webkit.org/show_bug.cgi?id=21759
426        Layering violation: FileChooser should not depend on Document/Frame/Page
427
428        * WebCoreSupport/ChromeClientGtk.cpp:
429        (WebKit::ChromeClient::runOpenPanel):
430        * WebCoreSupport/ChromeClientGtk.h:
431
4322008-10-24  Timothy Hatcher  <timothy@apple.com>
433
434        Stub out new InspectorClient methods.
435
436        https://bugs.webkit.org/show_bug.cgi?id=21856
437
438        Reviewed by Darin Adler.
439
440        * WebCoreSupport/InspectorClientGtk.cpp:
441        (WebKit::InspectorClient::populateSetting): Not implemented.
442        (WebKit::InspectorClient::storeSetting): Ditto.
443        (WebKit::InspectorClient::removeSetting): Ditto.
444        * WebCoreSupport/InspectorClientGtk.h:
445
4462008-10-22  Alp Toker  <alp@nuanti.com>
447
448        Build fix for older GTK+ versions where GTK_TYPE_TARGET_LIST isn't
449        defined.
450
451        * webkit/webkitwebview.cpp:
452
4532008-10-22  Alp Toker  <alp@nuanti.com>
454
455        Reviewed by Adam Roben.
456
457        Avoid critical warnings on older GTK+ versions (2.8) by not checking
458        for GTK+ setting properties when we know they don't exist.
459
460        * WebCoreSupport/ContextMenuClientGtk.cpp:
461        (WebKit::inputMethodsMenuItem):
462        (WebKit::unicodeMenuItem):
463
4642008-10-20  Sam Weinig  <sam@webkit.org>
465
466        Reviewed by Anders Carlsson.
467
468        Remove FrameLoaderClient::detachedFromParent4.  It is no longer used by any port.
469
470        * WebCoreSupport/FrameLoaderClientGtk.cpp:
471        * WebCoreSupport/FrameLoaderClientGtk.h:
472
4732008-10-20  Alp Toker  <alp@nuanti.com>
474
475        Reviewed by Dave Hyatt.
476
477        https://bugs.webkit.org/show_bug.cgi?id=21303
478        [GTK] Scrolling glitches
479
480        Implement a buffering scheme to avoid full repaints when scrolling
481        views or subframes significantly improving scrolling performance.
482
483        Improve rendering performance by coalescing large numbers of small
484        repaints.
485
486        Also fixes long-running issues with scrollbar positioning and frame
487        invalidation.
488
489        Rendering in the GTK+ port should be more similar to other ports after
490        these changes.
491
492        * WebCoreSupport/ChromeClientGtk.cpp:
493        (WebKit::ChromeClient::repaint):
494        (WebKit::ChromeClient::scroll):
495        * WebCoreSupport/FrameLoaderClientGtk.cpp:
496        (WebKit::FrameLoaderClient::forceLayout):
497        * webkit/webkitwebview.cpp:
498
4992008-10-17  Luke Kenneth Casson Leighton  <lkcl@lkcl.net>
500
501        Reviewed by Mark Rowe. Landed by Jan Alonzo.
502
503        https://bugs.webkit.org/show_bug.cgi?id=20403
504        [Gtk] Segfault after a table with an iframe is attempted to be added twice to DOM model with javascript
505
506        * WebCoreSupport/FrameLoaderClientGtk.cpp:
507        (WebKit::FrameLoaderClient::frameLoaderDestroyed):
508        (WebKit::FrameLoaderClient::detachedFromParent4):
509
5102008-10-06  David Hyatt  <hyatt@apple.com>
511
512        Enable viewless Mac WebKit to paint some basic pages.
513       
514        Reviewed by Sam Weinig
515
516        * WebCoreSupport/FrameLoaderClientGtk.cpp:
517        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
518        * WebCoreSupport/FrameLoaderClientGtk.h:
519
5202008-10-03  David Hyatt  <hyatt@apple.com>
521
522        Fix Gtk bustage from use of containingWindow() over on the WebKit side.  Replace with HostWindow use.
523
524        * webkit/webkitwebview.cpp:
525
5262008-10-03  David Hyatt  <hyatt@apple.com>
527
528        https://bugs.webkit.org/show_bug.cgi?id=21340
529       
530        Remove "containingWindow()/setContainingWindow()" from Widget.  HostWindow covers this now.
531
532        Reviewed by Dan Bernstein & Darin Adler
533       
534        * WebCoreSupport/FrameLoaderClientGtk.cpp:
535        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
536
5372008-10-03  Alp Toker  <alp@nuanti.com>
538
539        Remove some left-over GTK+ includes. No change in functionality.
540
541        * webkit/webkitwebhistoryitem.h:
542
5432008-10-03  Alp Toker  <alp@nuanti.com>
544
545        Build fix following r37234. Remove addToDirtyRegion from the header
546        too.
547
548        * WebCoreSupport/ChromeClientGtk.h:
549
5502008-10-03  David Hyatt  <hyatt@apple.com>
551
552         Remove addToDirtyRegion.
553       
554        Reviewed by Oliver Hunt
555
556        * WebCoreSupport/ChromeClientGtk.cpp:
557
5582008-10-02  David Hyatt  <hyatt@apple.com>
559
560        https://bugs.webkit.org/show_bug.cgi?id=21314
561       
562        Make scrollBackingStore cross-platform.
563
564        Reviewed by Sam Weinig
565
566        * WebCoreSupport/ChromeClientGtk.cpp:
567        (WebKit::ChromeClient::repaint):
568        (WebKit::ChromeClient::scroll):
569        * WebCoreSupport/ChromeClientGtk.h:
570
5712008-10-01  David Hyatt  <hyatt@apple.com>
572
573        https://bugs.webkit.org/show_bug.cgi?id=21282
574       
575        Make contentsToScreen/screenToContents cross-platform.  Only implemented by Mac/Win right now.
576       
577        Reviewed by Adam Roben
578
579        * WebCoreSupport/ChromeClientGtk.cpp:
580        (WebKit::ChromeClient::windowToScreen):
581        (WebKit::ChromeClient::screenToWindow):
582        * WebCoreSupport/ChromeClientGtk.h:
583
5842008-09-30  Dave Hyatt  <hyatt@apple.com>
585
586        http://bugs.webkit.org/show_bug.cgi?id=21250
587       
588        Rename updateContents to repaintContentRectangle and make it cross-platform by always sending
589        repaints up through the ChromeClient.
590
591        Reviewed by Darin Adler
592
593        * WebCoreSupport/ChromeClientGtk.cpp:
594        (WebKit::ChromeClient::repaint):
595        * WebCoreSupport/ChromeClientGtk.h:
596
5972008-09-16  Alp Toker  <alp@nuanti.com>
598
599        Suggested by Dave Hyatt.
600
601        Build fix and cleanup. Rename ScrollBar to Scrollbar.
602
603        * webkit/webkitwebview.cpp:
604
6052008-09-13  Adrien Nader  <camaradetux@gmail.com>
606
607        Gtk build fix, not reviewed.
608
609        * webkit/webkitwebview.cpp:
610
6112008-09-10  Alp Toker  <alp@nuanti.com>
612
613        Reviewed by Mark Rowe.
614
615        https://bugs.webkit.org/show_bug.cgi?id=17267
616        [GTK] Primary selection/clipboard support
617
618        Implement primary selection support (copying only, no paste yet).
619
620        * WebCoreSupport/EditorClientGtk.cpp:
621        (WebKit::clipboard_get_contents_cb):
622        (WebKit::clipboard_clear_contents_cb):
623        (WebKit::EditorClient::respondToChangedSelection):
624
6252008-09-07  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
626
627        Reviewed by Maciej Stachowiak.
628
629        Bug 20704: Replace the KJS namespace
630        <https://bugs.webkit.org/show_bug.cgi?id=20704>
631
632        Rename the KJS namespace to JSC.
633
634        * webkit/webkitprivate.cpp:
635        (webkit_init):
636
6372008-09-05  Gustavo Noronha Silva  <gns@gnome.org>
638
639        Reviewed by Alp Toker.
640
641        https://bugs.webkit.org/show_bug.cgi?id=18346
642        [GTK] Remove build warnings
643
644        Removed/commented code that is not (yet) used, and reordered
645        member variables initialization for FrameLoaderClient, so that the
646        compiler is happy and prints less warnings when building.
647
648        * WebCoreSupport/ContextMenuClientGtk.cpp:
649        * WebCoreSupport/FrameLoaderClientGtk.cpp:
650        (WebKit::FrameLoaderClient::FrameLoaderClient):
651
6522008-09-03  Alp Toker  <alp@nuanti.com>
653
654        Build fix following r36073. Include config.h where necessary.
655
656        * WebCoreSupport/PasteboardHelperGtk.cpp:
657        * webkit/webkitversion.cpp:
658
6592008-09-01  Alp Toker  <alp@nuanti.com>
660
661        Reviewed by Eric Seidel.
662
663        https://bugs.webkit.org/show_bug.cgi?id=19939
664        [GTK] webkit_web_history_item_get_title() fails with assertion
665
666        Make sure newly constructed WebHistoryItem objects wrap a WebCore
667        history item when necessary. Avoid G_PARAM_CONSTRUCT since it destroys
668        history data -- use WEBKIT_PARAM flags instead as they do the right
669        thing. This restores history functionality.
670
671        Also use CString to simplify UTF-8 string management.
672
673        * webkit/webkitwebbackforwardlist.cpp:
674        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
675        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
676        No need to initialize the vector with a size since it's cleared by the
677        callee.
678        * webkit/webkitwebhistoryitem.cpp:
679        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
680        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
681        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
682        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
683        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
684        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
685        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
686        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
687        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
688        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
689
6902008-08-27  Adrien Nader  <camaradetux@gmail.com>
691
692        Reviewed by Eric Seidel.
693
694        https://bugs.webkit.org/show_bug.cgi?id=20099
695        [GTK] SHIFT+PAGE_UP/DOWN doesn't extend selection
696
697        * WebCoreSupport/EditorClientGtk.cpp:
698        (WebKit::EditorClient::handleKeyboardEvent):
699
7002008-08-27  Brady Eidson  <beidson@apple.com>
701
702        Reviewed by Anders
703
704        <rdar://problem/6134133> - Crash when loading large movie as a standalone document
705
706        * WebCoreSupport/FrameLoaderClientGtk.cpp:
707        (WebKit::FrameLoaderClient::pluginWillHandleLoadError): Stubbed for now
708        * WebCoreSupport/FrameLoaderClientGtk.h:
709
7102008-08-18  Alp Toker  <alp@nuanti.com>
711
712        Reviewed by Holger Freyther.
713
714        https://bugs.webkit.org/show_bug.cgi?id=20350
715        [GTK] Get DumpRenderTree working
716
717        Add a private function to WebFrame to dump the render tree as required
718        for the DumpRenderTree testing tool.
719
720        * webkit/webkitprivate.h:
721        * webkit/webkitwebframe.cpp:
722
7232008-08-12  Timothy Hatcher  <timothy@apple.com>
724
725        Add a stub for InspectorClient::setAttachedWindowHeight.
726
727        * WebCoreSupport/InspectorClientGtk.cpp:
728        (WebKit::InspectorClient::setAttachedWindowHeight):
729        Call notImplemented().
730        * WebCoreSupport/InspectorClientGtk.h:
731
7322008-08-10  Alp Toker  <alp@nuanti.com>
733
734        Remove leftover qmake/GTK+ build files.
735
736        * webkit/headers.pri: Removed.
737
7382008-08-02  Christian Dywan  <christian@twotoasts.de>
739
740        Reviewed by Eric Seidel.
741
742        Remove webkit-marshal.list, which was made obsolete in #19742
743
744        * webkit/webkit-marshal.list: Removed.
745
7462008-08-01  Wouter Bolsterlee  <uws@xs4all.nl>
747
748        Reviewed by Eric Seidel.
749
750        https://bugs.webkit.org/show_bug.cgi?id=20035
751        [GTK] Fix return value for webkit_web_view_go_to_back_forward_item()
752
753        * webkit/webkitwebview.cpp:
754
7552008-07-30  Marco Barisione  <marco.barisione@collabora.co.uk>
756
757        Reviewed by Holger.
758
759        http://bugs.webkit.org/show_bug.cgi?id=19742
760        [GTK] Auto generate webkitmarshal.list
761
762        Auto generate webkitmarshal.list from source files to reduce the
763        number of conflicts when merging git branches or when applying
764        patches.
765        Also rename webkit-marshal.* to webkitmarshal.* for consistency.
766
767        * webkit/webkitwebframe.cpp: Include webkitmarshal.h instead of
768         webkit-marshal.h.
769        * webkit/webkitwebview.cpp: Ditto.
770
7712008-07-30  Gustavo Noronha Silva  <gns@gnome.org>
772
773        Reviewed by Sam.
774
775        https://bugs.webkit.org/show_bug.cgi?id=20205
776        Typo in comment for bracer ending block
777
778        * webkit/webkitprivate.cpp: Typo fix in comment for the brace
779         that ends the WebKit namespace; WebCore -> WebKit
780
7812008-07-26  Mark Rowe  <mrowe@apple.com>
782
783        Build fix.  Changes to accommodate newly named/signatured loading methods in WebCore.
784
785        * WebCoreSupport/FrameLoaderClientGtk.cpp:
786        (WebKit::FrameLoaderClient::createFrame):
787
7882008-07-17  Christian Dywan  <christian@twotoasts.de>
789
790        Reviewed by Holger Freyther.
791
792        https://bugs.webkit.org/show_bug.cgi?id=19813
793        [GTK] WebKit crashes on invalid settings notify callback
794
795        * webkit/webkitwebview.cpp: Disconnect in webkit_web_view_finalize
796
7972008-07-08  Jan Michael Alonzo  <jmalonzo@webkit.org>
798
799        Reviewed by Christian Dywan.
800
801        Replace 'const' with G_CONST_RETURN macro to make it flexible to
802        disable constness
803
804        * webkit/webkitnetworkrequest.cpp:
805        * webkit/webkitnetworkrequest.h:
806        * webkit/webkitwebframe.cpp:
807        * webkit/webkitwebframe.h:
808        * webkit/webkitwebhistoryitem.cpp:
809        * webkit/webkitwebhistoryitem.h:
810
8112008-06-18  Marco Barisione  <marco.barisione@collabora.co.uk>
812
813        Reviewed by Alp Toker.
814
815        https://bugs.webkit.org/show_bug.cgi?id=19171
816        [GTK] GTypes for enumerations
817
818        Generate GTypes for public enumerations so they can be used as
819        properties.
820
821        * GNUmakefile.am: Generate webkit-enum-types.cpp and
822        webkit-enum-types.h.
823
8242008-06-17  Christian Dywan  <christian@twotoasts.de>
825
826        Reviewed by Alp.
827
828        [GTK] WebKitWebHistoryItem needs properties
829        https://bugs.webkit.org/show_bug.cgi?id=19558
830
831        Implement properties matching the existing accessors.
832
833        * webkit/webkitwebhistoryitem.cpp:
834        (_WebKitWebHistoryItemPrivate::):
835        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
836        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_property):
837        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_property):
838        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
839
8402008-06-15  Darin Adler  <darin@apple.com>
841
842        - give Frame object functions shorter names: scriptProxy() -> script(),
843          selectionController() -> selection(), animationController() -> animation()
844
845        * WebCoreSupport/EditorClientGtk.cpp:
846        (WebKit::EditorClient::handleKeyboardEvent):
847        * WebCoreSupport/FrameLoaderClientGtk.cpp:
848        (WebKit::FrameLoaderClient::windowObjectCleared):
849        * webkit/webkitwebframe.cpp:
850        * webkit/webkitwebview.cpp:
851
8522008-06-15  Darin Adler  <darin@apple.com>
853
854        - undo bogus renaming done by the script
855
856        * WebCoreSupport/ContextMenuClientGtk.cpp:
857        * webkit/webkitnetworkrequest.h:
858        * webkit/webkitwebbackforwardlist.h:
859        * webkit/webkitwebframe.h:
860        * webkit/webkitwebhistoryitem.h:
861        * webkit/webkitwebsettings.h:
862
8632008-06-15  Darin Adler  <darin@apple.com>
864
865        - new names for a few key JavaScriptCore files
866
867        * WebCoreSupport/ContextMenuClientGtk.cpp:
868        * webkit/webkitnetworkrequest.h:
869        * webkit/webkitwebbackforwardlist.h:
870        * webkit/webkitwebframe.h:
871        * webkit/webkitwebhistoryitem.h:
872        * webkit/webkitwebsettings.h:
873
8742008-06-15  Christian Dywan  <christian@twotoasts.de>
875
876        Reviewed by Alp Toker.
877
878        [GTK] Property setters do not call g_object_notify()
879        https://bugs.webkit.org/show_bug.cgi?id=18405
880
881        * webkit/webkitwebview.cpp:
882
8832008-06-15  Christian Dywan  <christian@twotoasts.de>
884
885        Reviewed by Alp Toker.
886
887        Tiny documentation fix, s/capacity/limit
888
889        * webkit/webkitwebbackforwardlist.cpp:
890
8912008-06-14  Darin Adler  <darin@apple.com>
892
893        Rubber stamped by Sam.
894
895        - new names for kjs_binding.h and kjs_proxy.h
896
897        * WebCoreSupport/FrameLoaderClientGtk.cpp:
898        * webkit/webkitwebframe.cpp:
899
9002008-06-14  Darin Adler  <darin@apple.com>
901
902        - fix build
903
904        * webkit/webkitwebframe.cpp: Remove a bogus release() call.
905
9062008-06-14  Darin Adler  <darin@apple.com>
907
908        Reviewed by Sam.
909
910        - more https://bugs.webkit.org/show_bug.cgi?id=17257
911          start ref counts at 1 instead of 0 for speed
912
913        * WebCoreSupport/FrameLoaderClientGtk.cpp:
914        (WebKit::FrameLoaderClient::createDocumentLoader): Use create instead of new.
915        * webkit/webkitwebframe.cpp:
916        (webkit_web_frame_new): Ditto.
917        (webkit_web_frame_init_with_web_view): Ditto.
918
9192008-06-13  Darin Adler  <darin@apple.com>
920
921        - try to fix build
922
923        * WebCoreSupport/FrameLoaderClientGtk.h: Add missing argument.
924
9252008-06-13  Darin Adler  <darin@apple.com>
926
927        Reviewed by John Sullivan.
928
929        - updated for addition of FormState argument to action policy functions
930
931        * WebCoreSupport/FrameLoaderClientGtk.cpp:
932        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
933        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
934
9352008-06-10  Christian Dywan  <christian@twotoasts.de>
936
937        Reviewed by Alp Toker and Darin Adler.
938
939        https://bugs.webkit.org/show_bug.cgi?id=16676
940        Apply GTK coding style to WebKit Gtk public headers
941
942        * webkit/webkitnetworkrequest.h:
943        * webkit/webkitwebbackforwardlist.h:
944        * webkit/webkitwebframe.h:
945        * webkit/webkitwebhistoryitem.h:
946        * webkit/webkitwebsettings.h:
947        * webkit/webkitwebview.h:
948
9492008-06-07  Jan Michael Alonzo  <jmalonzo@webkit.org>
950
951        Confirmed by Christian Dywan.
952
953        Gtk build fix for r34432
954
955        * webkit/webkitwebhistoryitem.cpp:
956        (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
957        (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
958        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
959        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
960        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
961        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
962        (WebKit::core):
963
9642008-06-07  Darin Adler  <darin@apple.com>
965
966        - try to fix build after HistoryItem changes
967
968        * webkit/webkitwebhistoryitem.cpp:
969        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new): Use HistoryItem::create.
970        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data): Ditto. I also
971        believe this fixes a memory leak in the old version.
972
9732008-06-07  Christian Dywan  <christian@twotoasts.de>
974
975        Reviewed by Alp Toker.
976
977        https://bugs.webkit.org/show_bug.cgi?id=17324
978        Remove PLATFORM ifdefs from ContextMenu.cpp
979
980        * WebCoreSupport/ContextMenuClientGtk.cpp:
981        (WebKit::ContextMenuClient::ContextMenuClient):
982        (WebKit::ContextMenuClient::contextMenuDestroyed):
983        (WebKit::inputMethodsMenuItem):
984        (WebKit::):
985        (WebKit::insertControlCharacter):
986        (WebKit::unicodeMenuItem):
987        (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
988        * WebCoreSupport/ContextMenuClientGtk.h:
989        * webkit/webkitwebview.cpp:
990
9912008-06-05  Alp Toker  <alp@nuanti.com>
992
993        Add 'Since' documentation for API versioning functions.
994
995        * webkit/webkitversion.cpp:
996
9972008-06-05  Christian Dywan  <christian@twotoasts.de>
998
999        Reviewed by Alp Toker.
1000
1001        https://bugs.webkit.org/show_bug.cgi?id=14141
1002        Please add a version to the Gtk port
1003
1004        * webkit/webkit.h:
1005        * webkit/webkitversion.cpp: Added.
1006        * webkit/webkitversion.h.in: Added.
1007        * webkit/webkitwebsettings.cpp:
1008        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1009        * webkit/webkitwebview.cpp:
1010
10112008-06-01  Alp Toker  <alp@nuanti.com>
1012
1013        Suggested by Christian Dywan.
1014
1015        Use float literals for zoom values and improve documentation wording.
1016
1017        * webkit/webkitwebsettings.cpp:
1018        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1019        * webkit/webkitwebview.cpp:
1020
10212008-06-01  Alp Toker  <alp@nuanti.com>
1022
1023        Reviewed by Oliver.
1024
1025        Remove webkit_web_view_go_backward(),
1026        webkit_web_view_can_go_backward(). These have been obsoleted by
1027        the back() versions for quite a while.
1028
1029        * webkit/webkitwebview.cpp:
1030        * webkit/webkitwebview.h:
1031
10322008-05-31  Alp Toker  <alp@nuanti.com>
1033
1034        Fix inconsistent zoom docs and enum name landed in r34249. Issue
1035        noticed by Marco Barisione.
1036
1037        * webkit/webkitwebview.cpp:
1038
10392008-05-30  Carlos Martín Nieto  <carlos@cmartin.tk>
1040
1041        Reviewed by Alp Toker.
1042
1043        http://bugs.webkit.org/show_bug.cgi?id=18383
1044        [GTK] The "hovering-over-link" signal arguments aren't documented.
1045
1046        * webkit/webkitwebview.cpp:
1047
10482008-05-29  Marco Barisione  <marco@collabora.co.uk>
1049
1050        Reviewed (and tweaked) by Alp Toker.
1051
1052        http://bugs.webkit.org/show_bug.cgi?id=18281
1053        [GTK] add functions to set/get the zoom level
1054
1055        * webkit/webkitwebsettings.cpp:
1056        (_WebKitWebSettingsPrivate::):
1057        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1058        (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
1059        (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
1060        * webkit/webkitwebview.cpp: Add functions to get and set the zoom
1061        level.
1062        * webkit/webkitwebview.h: Ditto.
1063        * webkit/webkitprivate.h:
1064
10652008-05-28  Alp Toker  <alp@nuanti.com>
1066
1067        Reviewed by Alexey Proskuryakov.
1068
1069        http://bugs.webkit.org/show_bug.cgi?id=18704
1070        [gtk] cannot type letters with dead keys in textarea
1071
1072        http://bugs.webkit.org/show_bug.cgi?id=14120
1073        [GDK] Support input methods
1074
1075        Add support for input method composition.
1076
1077        Remove some old hacks so we handle input method events more
1078        consistently.
1079
1080        * WebCoreSupport/EditorClientGtk.cpp:
1081        (WebKit::imContextCommitted):
1082        (WebKit::imContextPreeditChanged):
1083        (WebKit::EditorClient::setInputMethodState):
1084        (WebKit::EditorClient::respondToChangedSelection):
1085        (WebKit::EditorClient::handleInputMethodKeydown):
1086        (WebKit::EditorClient::EditorClient):
1087        (WebKit::EditorClient::~EditorClient):
1088        (WebKit::EditorClient::textFieldDidBeginEditing):
1089        (WebKit::EditorClient::textFieldDidEndEditing):
1090        (WebKit::EditorClient::textDidChangeInTextField):
1091        (WebKit::EditorClient::doTextFieldCommandFromEvent):
1092        * webkit/webkitwebview.cpp:
1093
10942008-05-25  Alp Toker  <alp@nuanti.com>
1095
1096        Reviewed by Niko.
1097
1098        Drop WebView focus when the widget is focused out.
1099
1100        * webkit/webkitwebview.cpp:
1101
11022008-05-25  Sriram Neelakandan  <sriram.neelakandan@gmail.com>
1103
1104        Reviewed by Alp Toker.
1105
1106        http://bugs.webkit.org/show_bug.cgi?id=18935
1107        [Gtk] Plugin Load crashes with NP_FULL mode
1108
1109        Fix crash due to uninitialized variable.
1110
1111        * WebCoreSupport/FrameLoaderClientGtk.cpp:
1112        (WebKit::FrameLoaderClient::FrameLoaderClient):
1113
11142008-05-24  Alp Toker  <alp@nuanti.com>
1115
1116        https://bugs.webkit.org/show_bug.cgi?id=18825
1117        webkitgtk fails to build from source: "Database Tracker" has not been declared
1118
1119</