• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
12009-08-10  Brady Eidson  <beidson@apple.com>
2
3        GTK build fix.
4
5        * webkit/webkitdownload.cpp:
6        (webkit_download_get_suggested_filename):
7
82009-08-08  Xan Lopez  <xlopez@igalia.com>
9
10        Roll out r46928, since it wasn't done in accordance with the
11        agreed naming.
12
13        * ChangeLog:
14
15        Remove the ChangeLog entry, since it was added at the bottom of
16        the file.
17
18        * gdom/GdomDOMObject.h: Removed.
19        * gdom/GdomDOMObjectPrivate.h: Removed.
20
212009-08-08  Jan Michael Alonzo  <jmalonzo@webkit.org>
22
23        Reviewed by Xan Lopez.
24
25        [Gtk] Enable accessibility in Gtk DRT
26        https://bugs.webkit.org/show_bug.cgi?id=25989
27
28        Add SPI to get the focused accessible element to be used by DRT.
29
30        * webkit/webkitprivate.h:
31        * webkit/webkitwebframe.cpp:
32        (webkit_web_frame_get_focused_accessible_element):
33
342009-07-30  Martin Robinson  <mrobinson@appcelerator.com>
35
36        Reviewed by Xan Lopez, Gustavo Noronha and Jan Alonzo.
37
38        [GTK] new-window-policy-decision-requested provides no information about the target frame
39        https://bugs.webkit.org/show_bug.cgi?id=27792
40
41        Add frameName property to the WebKitWebNavigation object.
42
43        * WebCoreSupport/FrameLoaderClientGtk.cpp:
44        (WebKit::getNavigationAction):
45        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
46        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
47        * webkit/webkitwebnavigationaction.cpp:
48        (webkit_web_navigation_action_get_property):
49        (webkit_web_navigation_action_set_property):
50        (webkit_web_navigation_action_class_init):
51        (webkit_web_navigation_action_get_target_frame):
52        (webkit_web_navigation_action_set_target_frame):
53        * webkit/webkitwebnavigationaction.h:
54
552009-07-29  Kevin McCullough  <kmccullough@apple.com>
56
57        Reviewed by Darin Adler.
58
59        Added foundation work to allow a testing infrastructure for the Web
60        Inspector.
61
62        * WebCoreSupport/InspectorClientGtk.cpp:
63        (WebKit::InspectorClient::inspectorWindowObjectCleared):
64        * WebCoreSupport/InspectorClientGtk.h:
65
662009-07-29  Jan Michael Alonzo  <jmalonzo@webkit.org>
67
68        Reviewed by Eric Seidel and Xan Lopez.
69
70        [Gtk] Enable http/tests/appcache tests
71        https://bugs.webkit.org/show_bug.cgi?id=27674
72
73        Add 'enable-offline-web-application-cache' WebSetting to enable
74        or disable the appcache. Also, Add appcache SPI for DRT to use.
75
76        * webkit/webkitapplicationcache.cpp: Added.
77        (webkit_application_cache_set_maximum_size):
78        * webkit/webkitprivate.cpp:
79        (webkit_init):
80        * webkit/webkitprivate.h:
81        * webkit/webkitwebsettings.cpp:
82        (webkit_web_settings_class_init):
83        (webkit_web_settings_set_property):
84        (webkit_web_settings_get_property):
85        (webkit_web_settings_copy):
86        * webkit/webkitwebview.cpp:
87        (webkit_web_view_update_settings):
88        (webkit_web_view_settings_notify):
89
902009-07-28  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
91
92        Reviewed by Xan Lopez.
93
94        Add information about the regression fix for WEBKIT_DEBUG.
95
96        * NEWS:
97
982009-07-28  Priit Laes  <plaes@plaes.org>
99
100        Reviewed by Xan Lopez.
101
102        Fix mnemonics in the soup authentication dialog.
103
104        * webkit/webkitsoupauthdialog.c:
105        (show_auth_dialog):
106
1072009-07-28  Xan Lopez  <xlopez@igalia.com>
108
109        Reviewed by Gustavo Noronha.
110
111        * NEWS: update for 1.1.12 release.
112
1132009-07-27  Alexey Proskuryakov  <ap@webkit.org>
114
115        Build fix.
116
117        * webkit/webkitwebframe.cpp: (webkit_gc_count_javascript_objects): Added a namespace to
118        SilenceAssertionsOnly.
119
1202009-07-27  Alexey Proskuryakov  <ap@webkit.org>
121
122        Reviewed by Darin Adler.
123
124        https://bugs.webkit.org/show_bug.cgi?id=27735
125        Give a helpful name to JSLock constructor argument
126
127        * webkit/webkitwebframe.cpp:
128        (webkit_gc_count_javascript_objects):
129
1302009-07-24  Priit Laes  <plaes@plaes.org>
131
132        Reviewed by Xan Lopez.
133
134        [Gtk] Password is saved into gnome-keyring even if auth. fails
135        https://bugs.webkit.org/show_bug.cgi?id=27560
136
137        Check authentication result and save password only when authentication
138        succeeds.
139
140        * webkit/webkitsoupauthdialog.c:
141        (free_authData):
142        (response_callback):
143        (save_password_callback):
144
1452009-07-24  Andrei Popescu  <andreip@google.com>
146
147        Reviewed by Anders Carlsson.
148
149        ApplicationCache should have size limit
150        https://bugs.webkit.org/show_bug.cgi?id=22700
151
152        * WebCoreSupport/ChromeClientGtk.cpp:
153        (WebKit::ChromeClient::reachedMaxAppCacheSize):
154        Adds empty implementation of reachedMaxAppCacheSize.
155        * WebCoreSupport/ChromeClientGtk.h:
156
1572009-07-23  Jan Michael Alonzo  <jmalonzo@webkit.org>
158
159        Reviewed by Eric Seidel.
160
161        [Gtk] Add implementation of GCController for DRT
162        https://bugs.webkit.org/show_bug.cgi?id=27636
163
164        Add SPI for GCController to use.
165
166        * webkit/webkitprivate.h:
167        * webkit/webkitwebframe.cpp:
168        (webkit_gc_collect_javascript_objects):
169        (webkit_gc_collect_javascript_objects_on_alternate_thread):
170        (webkit_gc_count_javascript_objects):
171
1722009-07-22  Xan Lopez  <xlopez@igalia.com>
173
174        Reviewed by Mark Rowe.
175
176        Fix compiler warning.
177
178        * tests/testwebsettings.c:
179        (test_webkit_web_settings_user_agent):
180
1812009-07-22  Xan Lopez  <xlopez@igalia.com>
182
183        Reviewed by Gustavo Noronha.
184
185        Remove unused variables.
186
187        * webkit/webkitwebview.cpp:
188        (webkit_web_view_grab_focus):
189        (webkit_web_view_focus_in_event):
190
1912009-07-21  Priit Laes  <plaes@plaes.org>
192
193        Reviewed by Holger Freyther.
194
195        [GTK+] Missing accelerator in authentication dialog
196        https://bugs.webkit.org/show_bug.cgi?id=25509
197
198        Add accelerator to checkbox text.
199
200        * WebKit/gtk/webkit/webkitsoupauthdialog.c:
201        (show_auth_dialog):
202
2032009-07-21  Priit Laes  <plaes@plaes.org>
204
205        Reviewed by Holger Freyther.
206
207        [GTK] http auth dialog pops up twice after a cancelled atempt
208        https://bugs.webkit.org/show_bug.cgi?id=24818
209
210        Remove workaround required for libsoup versions <=2.26.2 as we depend
211        on 2.27.4 now.
212
213        * webkit/webkitsoupauthdialog.c:
214        (session_authenticate):
215
2162009-07-20  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
217
218        Reviewed by Holger Freyther.
219
220        [GTK] Widget size negotiation
221        https://bugs.webkit.org/show_bug.cgi?id=17154
222
223        Implement proper size request for the WebView widget.
224
225        * WebCoreSupport/ChromeClientGtk.cpp:
226        (WebKit::ChromeClient::contentsSizeChanged):
227        * webkit/webkitwebview.cpp:
228        (webkit_web_view_size_request):
229        (webkit_web_view_class_init):
230
2312009-07-16  Holger Hans Peter Freyther  <zecke@selfish.org>
232
233        Reviewed by Jan Alonzo.
234
235        [GTK+] Update the focus handling code.
236
237        Change focus-in to always call setActive(true), call
238        FocusController::setFocusedFrame when no focused frame exists
239        other SelectionController::setActive. This is matching Windows
240        and Qt.
241
242        On focus-out call FocusController::setActive(false) and
243        SelectionController::setFocued(false). This is matching Windows
244        and Qt as well.
245
246        * webkit/webkitwebview.cpp:
247        (webkit_web_view_focus_in_event):
248        (webkit_web_view_focus_out_event):
249
2502009-07-16  Xiaomei Ji  <xji@chromium.org>
251
252        Reviewed by Dan Bernstein.
253
254        This is the 2nd part of fixing "RTL: tooltip does not get its directionlity from its element's."
255        https://bugs.webkit.org/show_bug.cgi?id=24187
256
257        Add one extra parameter to the callee of HitTestResult::title() due to the signature change.
258
259
260        * WebCoreSupport/ChromeClientGtk.cpp:
261        (WebKit::ChromeClient::mouseDidMoveOverElement): Add direction as a parameter to the callee of HitTestResult::title().
262
2632009-07-16  Xiaomei Ji  <xji@chromium.org>
264
265        Reviewed by Darin Adler.
266
267        Fix tooltip does not get its directionality from its element's directionality.
268        https://bugs.webkit.org/show_bug.cgi?id=24187
269
270        Per mitz's suggestion in comment #6, while getting the plain-text
271        title, we also get the directionality of the title. How to handle
272        the directionality is up to clients. Clients could ignore it,
273        or use attribute or unicode control characters to display the title
274        as what they want.
275
276        * WebCoreSupport/ChromeClientGtk.cpp:
277        (WebKit::ChromeClient::setToolTip): Add directionality as 2nd parameter to setToopTip() (without handling it yet).
278        * WebCoreSupport/ChromeClientGtk.h: Add directionality as 2nd parameter to setToolTip().
279
2802009-07-15  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
281
282        Rubber-stamped by Jan Alonzo.
283
284        Fix enable-xss-auditor property documentation, and default value
285        to match the fact that it is now enabled by default.
286
287        * webkit/webkitwebsettings.cpp:
288        (webkit_web_settings_class_init):
289
2902009-07-14  Zoltan Horvath  <hzoltan@inf.u-szeged.hu>
291
292        Reviewed by Darin Adler.
293
294        Change all Noncopyable inheriting visibility to public.
295        https://bugs.webkit.org/show_bug.cgi?id=27225
296
297        Change all Noncopyable inheriting visibility to public because
298        it is needed to the custom allocation framework (bug #20422).
299
300        * webkit/webkitdownload.cpp:
301
3022009-07-13  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
303
304        Unreviewed. Late NEWS file for 1.1.11.
305
306        * NEWS:
307
3082009-07-13  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
309
310        Unreviewed. Changes to the doc control files for 1.1.11.
311
312        * docs/webkitgtk-docs.sgml:
313        * docs/webkitgtk-sections.txt:
314
3152009-07-13  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
316
317        Rubber-stamped by Holger Freyther.
318
319        Fix unit test to use the correct assumption that the SoupMessage
320        will be NULL when WebKitNetworkRequest is created from an URI.
321
322        * tests/testnetworkrequest.c:
323        (test_network_request_create_destroy):
324
3252009-07-13  Jan Michael Alonzo  <jmalonzo@webkit.org>
326
327        <https://bugs.webkit.org/show_bug.cgi?id=27171> [Gtk]
328        REGRESSION (r45440): fails at fast/events/frame-programmatic-focus.html
329
330        Reviewed by Gustavo Noronha.
331
332        focus-in and focus-out events only get triggered when there's user
333        interaction, hence setFocused(bool) never gets called when
334        focusEvent is triggered when running the layout tests. The
335        solution seems to be to implement grab-focus too so we can call
336        setFocused(bool) when a widget has focus.
337
338        * webkit/webkitwebview.cpp:
339        (webkit_web_view_grab_focus):
340        (webkit_web_view_focus_in_event):
341        (webkit_web_view_class_init):
342
3432009-07-13  Jan Michael Alonzo  <jmalonzo@webkit.org>
344
345        https://bugs.webkit.org/show_bug.cgi?id=26718 [Gtk] Add support for javascript windows for DRT
346
347        Reviewed by Gustavo Noronha and Xan Lopez.
348
349        Add API to support opening and closing of JavaScript windows automatically.
350
351        * WebCoreSupport/ChromeClientGtk.cpp:
352        (WebKit::ChromeClient::closeWindowSoon):
353        * webkit/webkitprivate.h:
354        * webkit/webkitwebsettings.cpp:
355        (webkit_web_settings_class_init):
356        (webkit_web_settings_set_property):
357        (webkit_web_settings_get_property):
358        (webkit_web_settings_copy):
359        * webkit/webkitwebview.cpp:
360        (webkit_web_view_real_close_web_view):
361        (webkit_web_view_class_init):
362        (webkit_web_view_update_settings):
363        (webkit_web_view_settings_notify):
364        (webkit_web_view_set_group_name):
365        * webkit/webkitwebview.h:
366
3672009-07-12  Brent Fulgham  <bfulgham@gmail.com>
368
369        Speculative build fix after http://trac.webkit.org/changeset/45786.
370
371        * WebCoreSupport/ChromeClientGtk.cpp:
372        (WebKit::ChromeClient::addMessageToConsole):
373        * WebCoreSupport/ChromeClientGtk.h:
374
3752009-07-09  Beth Dakin and Jon Honeycutt <bdakin@apple.com>
376
377        Reviewed by Dave Hyatt.
378
379        Make Widget RefCounted to fix:
380
381        <rdar://problem/7038831> REGRESSION (TOT): In Mail, a crash occurs
382        at WebCore::Widget::afterMouseDown() after clicking To Do's close
383        box
384        <rdar://problem/6978804> WER #16: Repro Access Violation in
385        WebCore::PluginView::bindingInstance (1310178023)
386        -and-
387        <rdar://problem/6991251> WER #13: Crash in WebKit!
388        WebCore::PluginView::performRequest+203 (1311461169)
389
390        * WebCoreSupport/FrameLoaderClientGtk.cpp:
391        (WebKit::FrameLoaderClient::createPlugin):
392        (WebKit::FrameLoaderClient::createJavaAppletWidget):
393        * WebCoreSupport/FrameLoaderClientGtk.h:
394
3952009-07-06  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
396
397        Reviewed by Jan Alonzo.
398
399        Use soup's content sniffing
400        https://bugs.webkit.org/show_bug.cgi?id=26982
401
402        Add the new Content Sniffing feature provided by libsoup.
403
404        * webkit/webkitprivate.cpp:
405        (webkit_init):
406
4072009-07-05  Holger Hans Peter Freyther  <zecke@selfish.org>
408
409        Reviewed by Xan Lopez.
410
411        Always initialize WebCore.
412
413        It is possible that WebKitWebSettings and other classes get
414        constructed before the WebKitWebView. In this case WebCore is
415        not yet properly initialized. Add webkit_init to every class
416        that can be constructed by API users.
417
418        * webkit/webkitdownload.cpp:
419        (webkit_download_class_init):
420        * webkit/webkitnetworkrequest.cpp:
421        (webkit_network_request_class_init):
422        * webkit/webkitwebbackforwardlist.cpp:
423        (webkit_web_back_forward_list_class_init):
424        * webkit/webkitwebhistoryitem.cpp:
425        (webkit_web_history_item_class_init):
426        * webkit/webkitwebsettings.cpp:
427        (webkit_web_settings_class_init):
428        * webkit/webkitwebwindowfeatures.cpp:
429        (webkit_web_window_features_class_init):
430
4312009-07-03  Jan Michael Alonzo  <jmalonzo@webkit.org>
432
433        Reviewed by Xan Lopez and Gustavo Noronha.
434
435        Set user-agent from application
436        https://bugs.webkit.org/show_bug.cgi?id=17375
437
438        Add 'user-agent' setter/getter API to WebSettings.
439
440        * WebCoreSupport/FrameLoaderClientGtk.cpp:
441        (WebKit::FrameLoaderClient::FrameLoaderClient):
442        (WebKit::FrameLoaderClient::userAgent):
443        * WebCoreSupport/FrameLoaderClientGtk.h:
444        * webkit/webkitprivate.h:
445        * webkit/webkitversion.h.in:
446        * webkit/webkitwebsettings.cpp:
447        (webkit_get_user_agent):
448        (webkit_web_settings_class_init):
449        (webkit_web_settings_finalize):
450        (webkit_web_settings_set_property):
451        (webkit_web_settings_get_property):
452        (webkit_web_settings_copy):
453        (webkit_web_settings_get_user_agent):
454        * webkit/webkitwebsettings.h:
455        * webkit/webkitwebview.cpp:
456        (webkit_web_view_dispose):
457
4582009-07-02  Xan Lopez  <xlopez@igalia.com>
459
460        Reviewed by Holger Freyther.
461
462        Update the new boolean property in FocusController that keeps
463        track of whether or not the Page is focused.
464
465        * webkit/webkitwebview.cpp:
466        (webkit_web_view_focus_in_event):
467        (webkit_web_view_focus_out_event):
468
4692009-06-29  Xan Lopez  <xlopez@igalia.com>
470
471        Reviewed by Jan Alonzo.
472
473        Fix a couple of compiler warnings.
474
475        * webkit/webkitwebnavigationaction.cpp:
476        * webkit/webkitwebview.cpp:
477        (webkit_web_view_real_move_cursor):
478
4792009-06-28  Xan Lopez  <xlopez@igalia.com>
480
481        Fix the GTK+ build.
482
483        * WebCoreSupport/ContextMenuClientGtk.cpp:
484        (WebKit::ContextMenuClient::isSpeaking):
485        * WebCoreSupport/ContextMenuClientGtk.h:
486
4872009-06-24  Jiahua Huang  <jhuangjiahua@gmail.com>
488
489        Reviewed by Holger Freyther.
490
491        [Gtk] Add Undo/Redo support to WebKitGtk
492        https://bugs.webkit.org/show_bug.cgi?id=26573
493
494        Implement EditorClient::undo and other interested funcs.
495
496        * WebCoreSupport/EditorClientGtk.cpp:
497        (WebKit::EditorClient::registerCommandForUndo):
498        (WebKit::EditorClient::registerCommandForRedo):
499        (WebKit::EditorClient::clearUndoRedoOperations):
500        (WebKit::EditorClient::canUndo):
501        (WebKit::EditorClient::canRedo):
502        (WebKit::EditorClient::undo):
503        (WebKit::EditorClient::redo):
504        (WebKit::EditorClient::EditorClient):
505        * WebCoreSupport/EditorClientGtk.h:
506
5072009-06-20  Jan Michael Alonzo  <jmalonzo@webkit.org>
508
509        Reviewed by Gustavo Noronha and Xan Lopez.
510
511        [Gtk] Implement DRT XSS auditor support
512        https://bugs.webkit.org/show_bug.cgi?id=26571
513
514        Add a setting "enable-xss-auditor" to enable this feature.
515
516        * webkit/webkitwebsettings.cpp:
517        (webkit_web_settings_class_init):
518        (webkit_web_settings_set_property):
519        (webkit_web_settings_get_property):
520        (webkit_web_settings_copy):
521        * webkit/webkitwebview.cpp:
522        (webkit_web_view_update_settings):
523        (webkit_web_view_settings_notify):
524
5252009-06-20  Jan Michael Alonzo  <jmalonzo@webkit.org>
526
527        Reviewed by Gustavo Noronha and Xan Lopez.
528
529        webkit_web_back_forward_list_add_item() should add a ref for the history item
530        https://bugs.webkit.org/show_bug.cgi?id=26517
531
532        Add a ref to the WebHistoryItem when it's added to the back
533        forward list through webkit_web_back_forward_list_add_item.
534        This keeps the history item alive and prevents pywebkitgtk from
535        crashing
536
537        * tests/testwebbackforwardlist.c:
538        (test_webkit_web_history_item_lifetime):
539        (test_webkit_web_back_forward_list_order):
540        (test_webkit_web_back_forward_list_add_item):
541        * webkit/webkitwebbackforwardlist.cpp:
542        (webkit_web_back_forward_list_add_item):
543
5442009-06-20  Gustavo Noronha Silva  <gns@gnome.org>
545
546        Reviewed by Jan Alonzo.
547
548        Initial test case for loading statuses.
549
550        * tests/testloading.c: Added.
551        (load_finished_cb):
552        (status_changed_cb):
553        (test_loading_status):
554        (main):
555
5562009-06-20  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
557
558        Rubber-stamped by Jan Alonzo.
559
560        Fix the ordering in which the new load status goes into the enum
561        to avoid ABI breakage.
562
563        * webkit/webkitwebframe.h:
564
5652009-06-18  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
566
567        Reviewed by Xan Lopez and Christian Dywan.
568
569        Add a new load status to report that the first visually non-empty
570        layout has been done.
571
572        * WebCoreSupport/FrameLoaderClientGtk.cpp:
573        (WebKit::FrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout):
574        * webkit/webkitwebframe.h:
575
5762009-06-18  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
577
578        Reviewed by Xan Lopez.
579
580        Fix parameters of navigation-policy-decision-requested callback,
581        to be correct in number and type
582
583        * tests/testhttpbackend.c:
584        (navigation_policy_decision_requested_cb):
585
5862009-06-18  Christian Dywan  <christian@twotoasts.de>
587
588        Reviewed by Gustavo Noronha.
589
590        * WebCoreSupport/FrameLoaderClientGtk.cpp:
591        (WebKit::loadDone):
592        (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
593        (WebKit::FrameLoaderClient::dispatchDidFailProvisionalLoad):
594        (WebKit::FrameLoaderClient::dispatchDidFailLoad): Introduce the static
595        function loadDone to emit "load-done" and update the status and update
596        the relevent places. We missed some status notifications before.
597
5982009-06-18  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
599
600        Rubber-stamped by Xan Lopez.
601
602        Be consistent in always using the term URI instead of URL in the
603        documentation of WebKitWebView signals.
604
605        * webkit/webkitwebview.cpp:
606        (webkit_web_view_class_init):
607
6082009-06-16  Xan Lopez  <xlopez@igalia.com>
609
610        Reviewed by Gustavo Noronha.
611
612        Do not use g_assert_cmpint to test for NULL pointer, just
613        g_assert.
614
615        * tests/testnetworkrequest.c:
616        (test_network_request_create_destroy):
617
6182009-06-15  Xan Lopez  <xlopez@igalia.com>
619
620        Reviewed by Gustavo Noronha.
621
622        https://bugs.webkit.org/show_bug.cgi?id=26377
623        [GTK] Confusion about range of 'progress' property
624
625        Range for the progress property is 0.0 .. 1.0, don't multiply it
626        by 100 to make it a percentage.
627
628        * webkit/webkitwebview.cpp:
629        (webkit_web_view_get_progress):
630
6312009-06-15  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
632
633        Unreviewed. Add new symbols list for 1.1.10 release.
634
635        * docs/webkitgtk-docs.sgml:
636
6372009-06-15  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
638
639        Rubber-stamped by Xan Lopez.
640
641        Fix Since tags for the new uri and message properties.
642
643        * webkit/webkitnetworkrequest.cpp:
644        (webkit_network_request_class_init):
645
6462009-06-15  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
647
648        Unreviewed. Adding new documented API to the generated
649        documentation.
650
651        * docs/webkitgtk-sections.txt:
652
6532009-06-15  Xan Lopez  <xlopez@igalia.com>
654
655        Reviewed by Gustavo Noronha.
656
657        Update NEWS for 1.1.10 release.
658
659        * NEWS:
660
6612009-06-11  Gustavo Noronha Silva  <gns@gnome.org>
662
663        Reviewed by Xan Lopez.
664
665        Add a test to perform an actual download.
666
667        * tests/testdownload.c:
668        (navigation_policy_decision_requested_cb):
669        (notify_status_cb):
670        (download_requested_cb):
671        (test_webkit_download_perform):
672        (main):
673
6742009-06-11  Gustavo Noronha Silva  <gns@gnome.org>
675
676        Reviewed by Xan Lopez.
677
678        Fix crash when downloading, caused by assuming SoupMessage would
679        be there. This change factors the logic required to create a
680        ResourceRequest from a WebKitNetworkRequest into a core()
681        function, like we have for some other classes.
682
683        * webkit/webkitdownload.cpp:
684        (webkit_download_start):
685        * webkit/webkitprivate.cpp:
686        (WebKit::core):
687        * webkit/webkitprivate.h:
688        * webkit/webkitwebframe.cpp:
689        (webkit_web_frame_load_request):
690
6912009-06-10  Gustavo Noronha Silva  <gns@gnome.org>
692
693        Reviewed by Xan Lopez.
694
695        Make WebKitNetworkRequest a proper GObject, making URI and
696        SoupMessage properties. Also adding unit tests for creation and
697        destruction.
698
699        * tests/testnetworkrequest.c: Added.
700        (test_network_request_create_destroy):
701        (test_network_request_properties):
702        (main):
703        * webkit/webkitnetworkrequest.cpp:
704        (webkit_network_request_get_property):
705        (webkit_network_request_set_property):
706        (webkit_network_request_class_init):
707        (webkit_network_request_init):
708        (webkit_network_request_constructor):
709        (webkit_network_request_new_with_core_request):
710        (webkit_network_request_new):
711        (webkit_network_request_set_uri):
712        (webkit_network_request_get_uri):
713        * webkit/webkitnetworkrequest.h:
714
7152009-06-10  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
716
717        Reviewed by Xan Lopez.
718
719        News for 1.1.9.
720
721        * NEWS:
722
7232009-06-09  Jan Michael Alonzo  <jmalonzo@webkit.org>
724
725        Reviewed by Gustavo Noronha.
726
727        Clear the frame name before we run each tests so we don't get
728        "someFloaString" or "3" in the target frame name.
729
730        * webkit/webkitprivate.h:
731        * webkit/webkitwebframe.cpp:
732        (webkit_web_frame_clear_main_frame_name):
733
734
7352009-06-10  Xan Lopez  <xlopez@igalia.com>
736
737        Reviewed by Jan Alonzo.
738
739        https://bugs.webkit.org/show_bug.cgi?id=25415
740        [GTK][ATK] Please implement support for get_text_at_offset
741
742        Update test for new implementation (it fixes two bugs and adds
743        actual implementations for LINE boundaries).
744
745        * tests/testatk.c:
746        (test_webkit_atk_get_text_at_offset):
747
7482009-06-09  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
749
750        Reviewed by Xan Lopez.
751
752        https://bugs.webkit.org/show_bug.cgi?id=26104
753        [GTK] Make NetworkRequest a proper GObject and expose SoupMessage
754
755        Refactor how SoupMessage is handled, so that our ResourceRequest
756        object doesn't have to store it as a member, which complicates
757        managing ResourceRequest's lifetime.
758
759        * tests/testhttpbackend.c:
760        (navigation_policy_decision_requested_cb):
761        (test_soup_message_lifetime):
762        * webkit/webkitnetworkrequest.cpp:
763        (WTF::SoupMessage):
764        (webkit_network_request_new_with_core_request):
765
7662009-06-08  Gustavo Noronha Silva  <gns@gnome.org>
767
768        Reviewed by Jan Alonzo.
769
770        https://bugs.webkit.org/show_bug.cgi?id=26240
771        [GTK] Try again button loses query strings
772
773        Only trigger reload, when try again is clicked, this way we do not
774        lose the query strings, like we did when also triggering a form
775        submission.
776
777        * resources/error.html:
778
7792009-06-06  Gustavo Noronha Silva  <gns@gnome.org>
780
781        Reviewed by Xan Lopez.
782
783        https://bugs.webkit.org/show_bug.cgi?id=26175
784        [GTK] Download progress notification should be throttled, for the benefit of download managers
785
786        Throttle notifications for the 'progress' property of the Download
787        object, and update documentation to note the fact that this is
788        being done, and how to get all notifications if you really care
789        about them.
790
791        * webkit/webkitdownload.cpp:
792        (webkit_download_class_init):
793        (webkit_download_received_data):
794
7952009-05-29  Jan Michael Alonzo  <jmalonzo@webkit.org>
796
797        Reviewed by Gustavo Noronha.
798
799        Fixed compile warning when comparing the different navigation types
800
801        * webkit/webkitwebnavigationaction.cpp:
802        (webkit_web_navigation_action_class_init):
803
8042009-05-29  Xan Lopez  <xlopez@igalia.com>
805
806        Reviewed by Gustavo Noronha.
807
808        https://bugs.webkit.org/show_bug.cgi?id=26075
809        [GTK] Refactor key scrolling code
810
811        After the scrolling changes in r44177 we can now use the
812        FrameView::scroll method like the other ports, keeping the magic
813        constants for the scrolling amounts inside WebCore proper.
814
815        * webkit/webkitwebview.cpp:
816        (webkit_web_view_real_move_cursor):
817
8182009-05-29  Gustavo Noronha Silva  <gns@gnome.org>
819
820        Reviewed by Jan Alonzo.
821
822        Make NetworkRequest carry a reference of the SoupMessage used by
823        ResourceRequest, and use that to create new ResourceRequests where
824        needed, so that no information is lost while passing around
825        NetworkRequest objects.
826
827        * WebCoreSupport/FrameLoaderClientGtk.cpp:
828        (WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType):
829        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
830        (WebKit::FrameLoaderClient::startDownload):
831        * webkit/webkitdownload.cpp:
832        (webkit_download_start):
833        * webkit/webkitnetworkrequest.cpp:
834        (webkit_network_request_finalize):
835        (webkit_network_request_new_with_core_request):
836        (webkit_network_request_new):
837        (webkit_network_request_get_message):
838        * webkit/webkitprivate.h:
839        * webkit/webkitwebframe.cpp:
840        (webkit_web_frame_load_request):
841
8422009-05-28  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
843
844        Reviewed by Xan Lopez.
845
846        https://bugs.webkit.org/show_bug.cgi?id=26048
847        navigation-policy-decision-requested documentation incomplete
848
849        Fix documentation for all policy decision request signals, to
850        mention that an actual decision is expected when you return TRUE,
851        meaning that you handled the signal.
852
853        * webkit/webkitwebview.cpp:
854        (webkit_web_view_class_init):
855
8562009-05-28  Xan Lopez  <xlopez@igalia.com>
857
858        Reviewed by Gustavo Noronha.
859
860        Mention the implementation of the new AtkText methods.
861
862        * NEWS:
863
8642009-05-19  Xan Lopez  <xlopez@igalia.com>
865
866        Reviewed by Jan Alonzo and Gustavo Noronha.
867
868        https://bugs.webkit.org/show_bug.cgi?id=25415
869        [GTK][ATK] Please implement support for get_text_at_offset
870
871        New test file for ATK functionality.
872
873        * tests/testatk.c: Added.
874        (bail_out):
875        (test_get_text_function):
876        (test_webkit_atk_get_text_at_offset):
877        (main):
878
8792009-05-28  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
880
881        Reviewed by Xan Lopez.
882
883        Document changes worth noting for 1.1.8.
884
885        * NEWS:
886
8872009-05-27  Xan Lopez  <xlopez@igalia.com>
888
889        Reviewed by Gustavo Noronha.
890
891        https://bugs.webkit.org/show_bug.cgi?id=26039
892        [GTK] WebKitWebHistoryItem lifetime fixes
893
894        Modify the management of history items by the BackForward list.
895
896        Having the objects add themselves to a hash table with an extra
897        reference made impossible for the cleanup code in the dispose
898        method to be ever called in normal conditions, since dispose is
899        called before getting rid of the last reference, which the objects
900        were making to themselves. Get rid of this extra reference and
901        move the responsibility of the cleanup to the BackForward list
902        itself, which effectively owns the WebKitWebHistoryItems now.
903
904        Also, update the tests to reflect this change.
905
906        * tests/testwebbackforwardlist.c:
907        (test_webkit_web_history_item_lifetime):
908        (test_webkit_web_back_forward_list_order):
909        (test_webkit_web_back_forward_list_add_item):
910        * tests/testwebhistoryitem.c:
911        (web_history_item_fixture_setup):
912        (web_history_item_fixture_teardown):
913        * webkit/webkitprivate.h:
914        * webkit/webkitwebbackforwardlist.cpp:
915        (webkit_web_back_forward_list_dispose):
916        (webkit_web_back_forward_list_class_init):
917        * webkit/webkitwebhistoryitem.cpp:
918        (webkit_history_items):
919        (webkit_history_item_add):
920        (webkit_web_history_item_dispose):
921        (WebKit::kit):
922
9232009-05-26  Xan Lopez  <xlopez@igalia.com>
924
925        Reviewed by Jan Alonzo.
926
927        https://bugs.webkit.org/show_bug.cgi?id=26039
928        [GTK] WebKitWebHistoryItem lifetime fixes
929
930        Delete the BackForwardList before the Page, otherwise the references
931        to the WebKitWebHistoryItems will be gone.
932
933        * webkit/webkitwebview.cpp:
934        (webkit_web_view_dispose):
935
9362009-05-27  Gustavo Noronha Silva  <gns@gnome.org>
937
938        Reviewed by Xan Lopez.
939
940        Add comment to clarify why scrolling is done as it is and not with
941        gdk_window_scroll.
942
943        * WebCoreSupport/ChromeClientGtk.cpp:
944        (WebKit::ChromeClient::scroll):
945
9462009-05-27  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
947
948        Unreviewed. Adding new symbols index for 1.1.8.
949
950        * docs/webkitgtk-docs.sgml:
951
9522009-05-26  Holger Hans Peter Freyther  <zecke@selfish.org>
953
954        Reviewed by Xan Lopez.
955
956        Add a new signal called "create-plugin-widget" and emit it from
957        within the FrameLoaderClientGtk::createPlugin method. If a
958        GtkWidget gets returned it will be embedded as a WebCore::Widget
959        using the new GtkPluginWidget.
960
961        * WebCoreSupport/FrameLoaderClientGtk.cpp:
962        (WebKit::FrameLoaderClient::createPlugin):
963        * webkit/webkitwebview.cpp:
964        (webkit_signal_accumulator_object_handled):
965        (webkit_web_view_class_init):
966        * webkitmarshal.list:
967
9682009-05-24  Xan Lopez  <xlopez@igalia.com>
969
970        Reviewed by Mark Rowe.
971
972        https://bugs.webkit.org/show_bug.cgi?id=25987
973        [GTK] Clarify WebKitWebView::download-requested documentation
974
975        Explain a bit why this signal is not emitted by default and offer
976        a common solution/setup for that issue.
977
978        * webkit/webkitwebview.cpp:
979        (webkit_web_view_class_init):
980
9812009-05-23  Jan Michael Alonzo  <jmalonzo@webkit.org>
982
983        Rubber-stamped by Gustavo Noronha.
984
985        Break the switch once private browsing is selected.
986
987        * webkit/webkitwebsettings.cpp:
988        (webkit_web_settings_set_property):
989        (webkit_web_settings_get_property):
990
9912009-05-23  Jan Michael Alonzo  <jmalonzo@webkit.org>
992
993        Reviewed by Gustavo Noronha and Xan Lopez.
994
995        [Gtk] Enable database and localStorage support
996        https://bugs.webkit.org/show_bug.cgi?id=25629
997
998        Add settings to enable or disable database and localStorage
999        support and enable them by default. This allows databases to be
1000        shown in the WebInspector as well as allow us to run the storage
1001        layout tests.
1002
1003        * webkit/webkitwebsettings.cpp:
1004        (webkit_web_settings_class_init):
1005        (webkit_web_settings_set_property):
1006        (webkit_web_settings_get_property):
1007        (webkit_web_settings_copy):
1008        * webkit/webkitwebview.cpp:
1009        (webkit_web_view_update_settings):
1010        (webkit_web_view_settings_notify):
1011
10122009-05-23  David Kilzer  <ddkilzer@apple.com>
1013
1014        Part 2 of 2: Bug 25495: Implement PassOwnPtr and replace uses of std::auto_ptr
1015
1016        <https://bugs.webkit.org/show_bug.cgi?id=25495>
1017
1018        Reviewed by Oliver Hunt.
1019
1020        * WebCoreSupport/ChromeClientGtk.h:
1021        (WebKit::ChromeClient::createHTMLParserQuirks): Return a
1022        PassOwnPtr<> instead of a raw HTMLParserQuirks pointer.
1023
10242009-05-22  Gustavo Noronha Silva  <gns@gnome.org>
1025
1026        Reviewed by Jan Alonzo.
1027
1028        Improve NetworkRequest documentation.
1029
1030        * webkit/webkitnetworkrequest.cpp:
1031        (webkit_network_request_class_init):
1032        (webkit_network_request_init):
1033
10342009-05-21  Xan Lopez  <xlopez@igalia.com>
1035
1036        Reviewed by Maciej Stachowiak.
1037
1038        https://bugs.webkit.org/show_bug.cgi?id=24818
1039        [GTK] http auth dialog pops up twice after a cancelled atempt
1040
1041        Workaround libsoup bug
1042        http://bugzilla.gnome.org/show_bug.cgi?id=583462, which made
1043        libsoup emit the 'authenticate' signal more often than it was
1044        expected.
1045
1046        We'll be able to remove this when we depend on libsoup > 2.26.2.
1047
1048        * webkit/webkitsoupauthdialog.c:
1049        (session_authenticate):
1050
10512009-05-21  Darin Fisher  <darin@chromium.org>
1052
1053        Fix build bustage.
1054
1055        * WebCoreSupport/EditorClientGtk.cpp:
1056        (WebKit::EditorClient::getAutoCorrectSuggestionForMisspelledWord): Add stub for method.
1057        * WebCoreSupport/EditorClientGtk.h:
1058
10592009-05-20  Holger Hans Peter Freyther  <zecke@selfish.org>
1060
1061        Reviewed by Darin Adler.
1062
1063        https://bugs.webkit.org/show_bug.cgi?id=25834
1064
1065        Make ChromeClient a interface again
1066
1067        With recent additions to ChromeClient.h empty defaults were
1068        added. This is bad for porters as these changes go unnoticed
1069        and at runtime no notImplemented warning is logged and grepping
1070        for notImplemented will not show anything. Change this Client
1071        to be like the other Clients again and always have pure virtuals
1072        (but for stuff inside #ifdef PLATFORM(MAC)).
1073
1074        Update the various WebKit/* implementations to compile again.
1075
1076        * WebCoreSupport/ChromeClientGtk.cpp:
1077        (WebKit::ChromeClient::setCursor):
1078        (WebKit::ChromeClient::requestGeolocationPermissionForFrame):
1079        * WebCoreSupport/ChromeClientGtk.h:
1080        (WebKit::ChromeClient::scrollRectIntoView):
1081
10822009-05-19  Xan Lopez  <xlopez@igalia.com>
1083
1084        Reviewed by Jan Alonzo.
1085
1086        Do not try to free enchant broker and dictionary if they do not
1087        exist, those functions aren't NULL-safe.
1088
1089        * webkit/webkitwebsettings.cpp:
1090        (free_spell_checking_language):
1091
10922009-05-15  Gustavo Noronha Silva  <gns@gnome.org>
1093
1094        Reviewed by Jan Alonzo.
1095
1096        Plug memory leak.
1097
1098        * webkit/webkitwebsettings.cpp:
1099        (free_spell_checking_language):
1100        (webkit_web_settings_finalize):
1101        (webkit_web_settings_set_property):
1102
11032009-05-15  Fridrich Strba  <fridrich.strba@bluewin.ch>
1104
1105        Reviewed by Jan Alonzo.
1106
1107        Converting filename to uri by concatenating strings is broken
1108        on Windows. Use proper glib conversion functions.
1109
1110        * webkit/webkitwebview.cpp:
1111        (webkit_web_view_open):
1112        * tests/testdownload.c:
1113        (test_webkit_download_create):
1114
11152009-05-13  Xan Lopez  <xlopez@igalia.com>
1116
1117        Reviewed by Gustavo Noronha.
1118
1119        Do not handle KeyEvents with Ctrl or Alt modifiers that we
1120        otherwise know nothing about. Otherwise shortcuts defined in the
1121        WebView will never be executed.
1122
1123        * WebCoreSupport/EditorClientGtk.cpp:
1124        (WebKit::handleEditingKeyboardEvent):
1125
11262009-05-13  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1127
1128        Add information about the SVG index bounds check committed in
1129        r43590.
1130
1131        * NEWS:
1132
11332009-05-13  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1134
1135        Reviewed by Xan Lopez.
1136
1137        Note changes since 1.1.6.
1138
1139        * NEWS:
1140
11412009-05-13  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1142
1143        Unreviewed. Updated control file, and main file for the 1.1.7
1144        release.
1145
1146        * docs/webkitgtk-docs.sgml:
1147        * docs/webkitgtk-sections.txt:
1148
11492009-05-11  Holger Hans Peter Freyther  <zecke@selfish.org>
1150
1151        Reviewed by Xan Lopez.
1152
1153        https://bugs.webkit.org/show_bug.cgi?id=25685
1154        [GTK] Middle click paste form the pasteboard
1155
1156        For paste from middle button (button==2) we want to use
1157        the GDK_PRIMARY_SELECTION. Implement the new getCurrentTarget
1158        method in PasteboardHelperGtk by asking the WebView which
1159        clipboard to use.
1160
1161        * WebCoreSupport/PasteboardHelperGtk.cpp:
1162        (WebKit::PasteboardHelperGtk::getCurrentTarget):
1163        * WebCoreSupport/PasteboardHelperGtk.h:
1164        * webkit/webkitprivate.h:
1165        * webkit/webkitwebview.cpp:
1166        (webkit_web_view_button_press_event):
1167        (webkit_web_view_use_primary_for_paste):
1168
11692009-05-12  Jan Michael Alonzo  <jmalonzo@webkit.org>
1170
1171        Reviewed by Holger Freyther.
1172
1173        [Gtk] Various autotools build refactoring and fixes
1174        https://bugs.webkit.org/show_bug.cgi?id=25286
1175
1176        Add glib-2.0 to the list of required package.
1177
1178        * webkit.pc.in:
1179
11802009-05-11  Christian Dywan  <christian@twotoasts.de>
1181
1182        Reviewed by Gustavo Noronha.
1183
1184        https://bugs.webkit.org/show_bug.cgi?id=25697
1185        [GTK] Warnings building WebKit/gtk/tests/testwebframe.c
1186
1187        * tests/testwebframe.c:
1188        (test_webkit_web_frame_create_destroy): Declare webView as a GtkWidget*
1189        to fix pointer type incompatibility warnings.
1190
11912009-05-08  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1192
1193        Reviewed by Xan Lopez.
1194
1195        Make the scan program call g_thread_init(NULL) in addition to
1196        g_type_init(), so that it actually works.
1197
1198        * docs/GNUmakefile.am:
1199
12002009-05-08  Xan Lopez  <xlopez@igalia.com>
1201
1202        Reviewed by Gustavo Noronha.
1203
1204        Unify scrolling code via adjustments and keys. Use the WebCore
1205        defined constants, since that's what people are most used to at
1206        this point.
1207
1208        * ChangeLog:
1209        * webkit/webkitwebview.cpp:
1210        (webkit_web_view_real_move_cursor):
1211
12122009-05-07  Christian Dywan  <christian@twotoasts.de>
1213
1214        Reviewed by Gustavo Noronha.
1215
1216        * WebCoreSupport/FrameLoaderClientGtk.cpp:
1217        (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
1218        (WebKit::FrameLoaderClient::dispatchDidCommitLoad): Add missing
1219        call to notifyStatus in the committed case and a missing property notify.
1220
12212009-05-06  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1222
1223        Reviewed by Xan Lopez.
1224
1225        https://bugs.webkit.org/show_bug.cgi?id=24786
1226        WebKitDownload sometimes suggests peculiar filenames
1227
1228        When a download is requested by an ongoing request, use the already
1229        provided response to set the suggested filename for the WebKitDownload
1230        object, if available.
1231
1232        * WebCoreSupport/FrameLoaderClientGtk.cpp:
1233        (WebKit::FrameLoaderClient::download):
1234        * webkit/webkitdownload.cpp:
1235        (_WebKitDownloadPrivate::webkit_download_set_property):
1236        (_WebKitDownloadPrivate::webkit_download_get_suggested_filename):
1237        (_WebKitDownloadPrivate::webkit_download_set_suggested_filename):
1238        * webkit/webkitprivate.h:
1239        * webkit/webkitwebview.cpp:
1240
12412009-05-06  Jan Michael Alonzo  <jmalonzo@webkit.org>
1242
1243        Reviewed by Holger Freyther.
1244
1245        GTK+ API implementation files have bogus extern "C" entries
1246        https://bugs.webkit.org/show_bug.cgi?id=24322
1247
1248        Remove bogus extern "C" from the source files.
1249
1250        * webkit/webkitdownload.cpp:
1251        (DownloadClient::cannotShowURL):
1252        * webkit/webkiterror.cpp:
1253        (webkit_plugin_error_quark):
1254        * webkit/webkitnetworkrequest.cpp:
1255        (webkit_network_request_get_uri):
1256        * webkit/webkitprivate.cpp:
1257        (webkit_init):
1258        * webkit/webkitversion.cpp:
1259        (webkit_micro_version):
1260        * webkit/webkitwebbackforwardlist.cpp:
1261        * webkit/webkitwebframe.cpp:
1262        (webkit_web_frame_get_load_status):
1263        * webkit/webkitwebhistoryitem.cpp:
1264        * webkit/webkitwebinspector.cpp:
1265        (webkit_web_inspector_set_inspector_client):
1266        * webkit/webkitwebnavigationaction.cpp:
1267        (webkit_web_navigation_action_get_modifier_state):
1268        * webkit/webkitwebpolicydecision.cpp:
1269        (webkit_web_policy_decision_cancel):
1270        * webkit/webkitwebsettings.cpp:
1271        (webkit_web_settings_get_spell_languages):
1272        * webkit/webkitwebview.cpp:
1273        * webkit/webkitwebwindowfeatures.cpp:
1274        (webkit_web_window_features_equal):
1275
12762009-05-06  Jan Michael Alonzo  <jmalonzo@webkit.org>
1277
1278        Reviewed by Holger Freyther.
1279
1280        Misc fixes to InspectorClientGtk.
1281
1282        * WebCoreSupport/InspectorClientGtk.cpp:
1283        (WebKit::InspectorClient::createPage): use g_filename_to_uri to
1284        get the URI and use web_view_load_uri instead of the deprecated
1285        web_view_open method for loading the URI.
1286        (WebKit::InspectorClient::localizedStringsURL): implement.
1287
12882009-05-05  Ben Murdoch  <benm@google.com>
1289
1290        Reviewed by Eric Seidel.
1291
1292        Add #if ENABLE(DATABASE) guards around database code so toggling ENABLE_DATABASE off does not break builds.
1293        https://bugs.webkit.org/show_bug.cgi?id=24776
1294
1295        * WebCoreSupport/ChromeClientGtk.cpp:
1296        (WebKit::ChromeClient::exceededDatabaseQuota):
1297        * WebCoreSupport/ChromeClientGtk.h:
1298
12992009-05-06  Christian Dywan  <christian@twotoasts.de>
1300
1301        Reviewed by Gustavo Noronha.
1302
1303        http://bugs.webkit.org/show_bug.cgi?id=17066
1304        [GTK] Improve frameloader signals
1305
1306        Implement load-status and progress properties on the view, as well as
1307        load-status on the frame. This supersedes the different load signals
1308        load-progress-changed, load-committed, load-done, load-started and
1309        load-finished which are not only misnamed but broken by design.
1310
1311        * WebCoreSupport/FrameLoaderClientGtk.cpp:
1312        (WebKit::notifyStatus):
1313        (WebKit::FrameLoaderClient::postProgressStartedNotification):
1314        (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
1315        (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
1316        (WebKit::FrameLoaderClient::dispatchDidStartProvisionalLoad):
1317        * webkit/webkitprivate.h:
1318        * webkit/webkitwebframe.cpp:
1319        * webkit/webkitwebframe.h:
1320        * webkit/webkitwebview.cpp:
1321        * webkit/webkitwebview.h:
1322
13232009-05-05  Xan Lopez  <xlopez@igalia.com>
1324
1325        Reviewed by Holger Freyther.
1326
1327        Fix memory leaks.
1328
1329        * WebCoreSupport/EditorClientGtk.cpp:
1330        (WebKit::EditorClient::checkSpellingOfString):
1331
13322009-05-02  Gustavo Noronha Silva  <gns@gnome.org>
1333
1334        Reviewed by Holger Freyther.
1335
1336        https://bugs.webkit.org/show_bug.cgi?id=25466
1337        WebKitGtk+ 1.1.6 prints weird error messages in Liferea
1338
1339        Use strlen instead of g_utf8_strlen when calculating the size of
1340        the data that is being given to webkit_web_frame_load_string to be
1341        loaded, so that we don't miss any of the content.
1342
1343        * webkit/webkitwebframe.cpp:
1344
13452009-05-01  Dimitri Glazkov  <dglazkov@chromium.org>
1346
1347        Unreviewed, bulid fix.
1348
1349        Fix mis-applied patch.
1350
1351        * WebCoreSupport/FrameLoaderClientGtk.cpp:
1352        (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
1353
13542009-05-01  Pavel Feldman  <pfeldman@chromium.org>
1355
1356        Reviewed by Timothy Hatcher.
1357
1358        Add a FrameLoaderClient callback for the ResourceRetrievedByXMLHttpRequest.
1359
1360        https://bugs.webkit.org/show_bug.cgi?id=25347
1361
1362        * WebCoreSupport/FrameLoaderClientGtk.cpp:
1363        (WebKit::FrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest):
1364        * WebCoreSupport/FrameLoaderClientGtk.h:
1365
13662009-04-30  David Kilzer  <ddkilzer@apple.com>
1367
1368        Provide a mechanism to create a quirks delegate for HTMLParser
1369
1370        Reviewed by David Hyatt.
1371
1372        * WebCoreSupport/ChromeClientGtk.h:
1373        (WebKit::ChromeClient::createHTMLParserQuirks): Added.  The
1374        default implementation of this factory method returns 0.
1375
13762009-04-30  Pavel Feldman  <pfeldman@chromium.org>
1377
1378        Reviewed by Dimitri Glazkov.
1379
1380        https://bugs.webkit.org/show_bug.cgi?id=25342
1381        Add MessageSource and MessageLevel parameters to the ChromeClient::addMessageToConsole.
1382
1383        * WebCoreSupport/ChromeClientGtk.cpp:
1384        (WebKit::ChromeClient::addMessageToConsole):
1385        * WebCoreSupport/ChromeClientGtk.h:
1386
13872009-04-28  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1388
1389        Unreviewed. Update gtk-doc control and base sgml files for 1.1.6.
1390
1391        * docs/webkitgtk-docs.sgml:
1392        * docs/webkitgtk-sections.txt:
1393
13942009-04-28  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1395
1396        Reviewed by Xan Lopez.
1397
1398        Updated with news for the 1.1.6 release.
1399
1400        * NEWS:
1401
14022009-04-28  Xan Lopez  <xlopez@igalia.com>
1403
1404        Reviewed by Gustavo Noronha.
1405
1406        Leave a bit of space from the previous page when advacing a whole
1407        page. This matches the behavior of our scrollbar scrolling code
1408        and is just nicer in general.
1409
1410        * webkit/webkitwebview.cpp:
1411
14122009-04-28  Xan Lopez  <xlopez@igalia.com>
1413
1414        Unreviewed: committed a few bits by mistake, remove them.
1415
1416        * WebCoreSupport/EditorClientGtk.cpp:
1417        (WebKit::handleEditingKeyboardEvent):
1418
14192009-04-28  Xan Lopez  <xlopez@igalia.com>
1420
1421        Reviewed by Gustavo Noronha.
1422
1423        https://bugs.webkit.org/show_bug.cgi?id=16135
1424        [GTK] Support caret browsing
1425
1426        Refactor keyboard event handling to work properly under caret
1427        browsing mode. Most of the code comes from the Windows port.
1428
1429        * WebCoreSupport/EditorClientGtk.cpp:
1430        (WebKit::):
1431        (WebKit::interpretKeyEvent):
1432        (WebKit::handleEditingKeyboardEvent):
1433        (WebKit::EditorClient::handleKeyboardEvent):
1434
14352009-04-28  Xan Lopez  <xlopez@igalia.com>
1436
1437        Reviewed by Gustavo Noronha.
1438
1439        https://bugs.webkit.org/show_bug.cgi?id=16135
1440        [GTK] Support caret browsing
1441
1442        Based on a patch by Alp Toker.
1443
1444        Add enable-caret-browsing setting to WebKitWebView.
1445
1446        * webkit/webkitwebsettings.cpp:
1447        (_WebKitWebSettingsPrivate::):
1448        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1449        (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
1450        (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
1451        (_WebKitWebSettingsPrivate::webkit_web_settings_copy):
1452        * webkit/webkitwebview.cpp:
1453
14542009-04-27  Gustavo Noronha Silva  <gns@gnome.org>
1455
1456        Reviewed by Xan Lopez.
1457
1458        https://bugs.webkit.org/show_bug.cgi?id=25409
1459        [GTK] incorrectly fallsback on cancellation
1460
1461        Check whether we should fallback also on didFailLoad, so that we
1462        don't get error pages showing up in parts of the content of some
1463        sites because of, for instance, location changes.
1464
1465        * WebCoreSupport/FrameLoaderClientGtk.cpp:
1466        (WebKit::FrameLoaderClient::dispatchDidFailLoad):
1467
14682009-04-27  Gustavo Noronha Silva  <gns@gnome.org>
1469
1470        Reviewed by Xan Lopez.
1471
1472        https://bugs.webkit.org/show_bug.cgi?id=25409
1473        [GTK] incorrectly fallsback on cancellation
1474
1475        Correctly handle cancellation and frame loading interruption
1476        caused by policy change.  This also fixes
1477        fast/frames/location-change.html.
1478
1479        * WebCoreSupport/FrameLoaderClientGtk.cpp:
1480        (WebKit::FrameLoaderClient::shouldFallBack):
1481
14822009-04-26  Xan Lopez  <xlopez@igalia.com>
1483
1484        Reviewed by Mark Rowe.
1485
1486        Plug memory leak.
1487
1488        * WebCoreSupport/FrameLoaderClientGtk.cpp:
1489        (WebKit::FrameLoaderClient::dispatchDidFailLoad):
1490
14912009-04-26  Xan Lopez  <xlopez@igalia.com>
1492
1493        Reviewed by Gustavo Noronha.
1494
1495        https://bugs.webkit.org/show_bug.cgi?id=25391
1496        G_SIGNAL_ACTION flag in WebKitWebView signals
1497
1498        Most of the signals in WebKitGTK+ have the G_SIGNAL_ACTION flag,
1499        but I don't think this makes sense. The flag is meant for those
1500        signals that can be emitted by the user to trigger some action in
1501        the view, as if it were a normal API, which is not the case for
1502        most of them.
1503
1504        * webkit/webkitdownload.cpp:
1505        (_WebKitDownloadPrivate::webkit_download_class_init):
1506        * webkit/webkitwebframe.cpp:
1507        * webkit/webkitwebinspector.cpp:
1508        (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
1509        * webkit/webkitwebview.cpp:
1510
15112009-04-26  Xan Lopez  <xlopez@igalia.com>
1512
1513        Unreviewed, actually apply the right patch.
1514
1515        * webkit/webkitwebview.cpp:
1516        (webkit_web_view_move_cursor):
1517
15182009-04-26  Xan Lopez  <xlopez@igalia.com>
1519
1520        Reviewed by Gustavo Noronha.
1521
1522        Pass a variable to hold the return value of the 'move-cursor'
1523        signal, otherwise a crash can happen.
1524
1525        * webkit/webkitwebview.cpp:
1526        (webkit_web_view_move_cursor):
1527
15282009-04-25  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1529
1530        Reviewed by Xan Lopez.
1531
1532        https://bugs.webkit.org/show_bug.cgi?id=24786
1533        WebKitDownload sometimes suggests peculiar filenames
1534
1535        Refactor the emission of the download-requested signal so that we
1536        have less code duplication.
1537
1538        * WebCoreSupport/ContextMenuClientGtk.cpp:
1539        (WebKit::ContextMenuClient::downloadURL):
1540        * WebCoreSupport/FrameLoaderClientGtk.cpp:
1541        (WebKit::FrameLoaderClient::startDownload):
1542        * webkit/webkitprivate.h:
1543        * webkit/webkitwebview.cpp:
1544
15452009-04-25  Jan Michael Alonzo  <jmalonzo@webkit.org>
1546
1547        Reviewed by Xan Lopez.
1548
1549        [GTK] Error reporting
1550        https://bugs.webkit.org/show_bug.cgi?id=18344
1551
1552        Update FrameLoad errors to use WebKitErrors.
1553
1554        * WebCoreSupport/FrameLoaderClientGtk.cpp:
1555        (WebKit::FrameLoaderClient::cancelledError):
1556        (WebKit::FrameLoaderClient::blockedError):
1557        (WebKit::FrameLoaderClient::cannotShowURLError):
1558        (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
1559        (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
1560        (WebKit::FrameLoaderClient::fileDoesNotExistError):
1561        (WebKit::FrameLoaderClient::pluginWillHandleLoadError):
1562        (WebKit::FrameLoaderClient::shouldFallBack):
1563        * webkit/webkiterror.h: Added.
1564        * webkit/webkiterror.cpp: Added.
1565
15662009-04-25  Jan Michael Alonzo  <jmalonzo@webkit.org>
1567
1568        Reviewed by Xan Lopez.
1569
1570        [GTK] Error reporting
1571        https://bugs.webkit.org/show_bug.cgi?id=18344
1572
1573        Display a default error page for load errors.
1574
1575        * WebCoreSupport/FrameLoaderClientGtk.cpp:
1576        (WebKit::FrameLoaderClient::dispatchDidFailLoad):
1577        * resources/error.html: Added.
1578
15792009-04-25  Jan Michael Alonzo  <jmalonzo@webkit.org>
1580
1581         Reviewed by Xan Lopez.
1582
1583         [GTK] Error reporting
1584         https://bugs.webkit.org/show_bug.cgi?id=18344
1585
1586         Add a WebKitWebFrame API to load alternate content for unreachable URLs.
1587         Also add a new signal "load-error" for handling load errors.
1588
1589         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1590         (WebKit::FrameLoaderClient::postProgressFinishedNotification):
1591         (WebKit::FrameLoaderClient::dispatchDidFailLoading):
1592         (WebKit::FrameLoaderClient::dispatchDidFailProvisionalLoad):
1593         (WebKit::FrameLoaderClient::dispatchDidFailLoad):
1594         * webkit/webkitwebframe.cpp:
1595         * webkit/webkitwebframe.h:
1596         * webkit/webkitwebview.cpp:
1597
15982009-04-24  Jan Michael Alonzo  <jmalonzo@webkit.org>
1599
1600        Rubber-stamped by Gustavo Noronha.
1601
1602        Fix braces to comply with style guidelines.
1603
1604        * WebCoreSupport/PasteboardHelperGtk.cpp:
1605        (WebKit::PasteboardHelperGtk::getClipboard):
1606        (WebKit::PasteboardHelperGtk::getCopyTargetList):
1607        (WebKit::PasteboardHelperGtk::getPasteTargetList):
1608
16092009-04-24  Sergio García-Cuevas  <sergio_gcg@telefonica.net>
1610
1611        Reviewed by Gustavo Noronha.
1612
1613        https://bugs.webkit.org/show_bug.cgi?id=17267
1614        [GTK] Primary selection/clipboard support
1615
1616        Add a method for getting the primary selection.
1617
1618        * WebCoreSupport/PasteboardHelperGtk.cpp:
1619        (WebKit::PasteboardHelperGtk::getPrimary):
1620        * WebCoreSupport/PasteboardHelperGtk.h:
1621
16222009-04-24  Johan Bilien  <jobi@via.ecp.fr>
1623
1624        Reviewed by Xan Lopez.
1625
1626        https://bugs.webkit.org/show_bug.cgi?id=25373
1627        Popup menu has the wrong size when popped up near the edge
1628        of the screen
1629
1630        * webkit/webkitwebview.cpp:
1631        (webkit_web_view_forward_context_menu_event): Let GTK place
1632        the popup menu instead of trying to do better and failing
1633
16342009-04-24  Christian Dywan  <christian@twotoasts.de>
1635
1636        Rubber-stamped by Gustavo Noronha.
1637
1638        * webkit/webkitwebsettings.cpp:
1639        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init): Reword the
1640        description of the enable-spell-checking property and correct the
1641        mentioning of the default language used.
1642
16432009-04-24  Diego Escalante Urrelo  <diegoe@gnome.org>
1644
1645        Reviewed by Gustavo Noronha.
1646
1647        https://bugs.webkit.org/show_bug.cgi?id=15616
1648        [GTK] Add spell checking
1649
1650        Implement EditorClient::ignoreWordInSpellDocument,
1651        EditorClient::learnWord and EditorClient::getGuessesForWord. This
1652        enables the corresponding user actions.
1653
1654        * WebCoreSupport/EditorClientGtk.cpp:
1655        (WebKit::EditorClient::ignoreWordInSpellDocument):
1656        (WebKit::EditorClient::learnWord):
1657        (WebKit::EditorClient::getGuessesForWord):
1658
16592009-04-24  Diego Escalante Urrelo  <diegoe@gnome.org>
1660
1661        Reviewed by Gustavo Noronha.
1662
1663        https://bugs.webkit.org/show_bug.cgi?id=15616
1664        [GTK] Add spell checking
1665
1666        Implement EditorClient::checkSpellingOfString; enabling spell checking
1667        to actually happen, this is the basis for other spelling functions.
1668
1669        * WebCoreSupport/EditorClientGtk.cpp:
1670        (WebKit::EditorClient::checkSpellingOfString):
1671
16722009-04-24  Diego Escalante Urrelo  <diegoe@gnome.org>
1673
1674        Reviewed by Gustavo Noronha.
1675
1676        https://bugs.webkit.org/show_bug.cgi?id=15616
1677        [GTK] Add spell checking
1678
1679        Add spell-checking-languages property to WebKitWebSettings.
1680
1681        * webkit/webkitprivate.h:
1682        * webkit/webkitwebsettings.cpp:
1683        (_WebKitWebSettingsPrivate::):
1684        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1685        (_WebKitWebSettingsPrivate::webkit_web_settings_init):
1686        (_WebKitWebSettingsPrivate::webkit_web_settings_finalize):
1687        (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
1688        (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
1689        (_WebKitWebSettingsPrivate::webkit_web_settings_copy):
1690        (_WebKitWebSettingsPrivate::webkit_web_settings_get_spell_languages):
1691
16922009-04-24  Diego Escalante Urrelo  <diegoe@gnome.org>
1693
1694        Reviewed by Gustavo Noronha.
1695
1696        https://bugs.webkit.org/show_bug.cgi?id=15616
1697        [GTK] Add spell checking
1698
1699        Add enable-spell-checking property to WebKitWebSettings and implement
1700        EditorClient::isContinuousSpellCheckingEnabled and
1701        EditorClient::toggleContinuousSpellChecking to allow the UI to
1702        enable check as you type spell checking.
1703
1704        * WebCoreSupport/EditorClientGtk.cpp:
1705        (WebKit::EditorClient::isContinuousSpellCheckingEnabled):
1706        (WebKit::EditorClient::toggleContinuousSpellChecking):
1707        * webkit/webkitwebsettings.cpp:
1708        (_WebKitWebSettingsPrivate::):
1709        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1710        (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
1711        (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
1712        (_WebKitWebSettingsPrivate::webkit_web_settings_copy):
1713
17142009-04-21  Xan Lopez  <xlopez@igalia.com>
1715
1716        Reviewed by Gustavo Noronha.
1717
1718        https://bugs.webkit.org/show_bug.cgi?id=21546
1719        [GTK] ATK accessibility enhancements
1720
1721        Implement window<->screen coordinate transformation functions.
1722
1723        * WebCoreSupport/ChromeClientGtk.cpp:
1724        (WebKit::widgetScreenPosition):
1725        (WebKit::ChromeClient::windowToScreen):
1726        (WebKit::ChromeClient::screenToWindow):
1727
17282009-04-20  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1729
1730        Reviewed by Xan Lopez.
1731
1732        https://bugs.webkit.org/show_bug.cgi?id=24786
1733        WebKitDownload sometimes suggests peculiar filenames
1734
1735        Remove query and ref from the URI that is to be downloaded when
1736        using it to provide a file name suggestion.
1737
1738        * webkit/webkitdownload.cpp:
1739        (_WebKitDownloadPrivate::webkit_download_set_property):
1740
17412009-04-20  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1742
1743        Reviewed by Xan Lopez.
1744
1745        Handle the case when the plugin view is destroyed during
1746        didReceiveResponse, to avoid crashing.
1747
1748        * WebCoreSupport/FrameLoaderClientGtk.cpp:
1749        (WebKit::FrameLoaderClient::committedLoad):
1750
17512009-04-17  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1752
1753        Reviewed by Alexey Proskuryakov.
1754
1755        https://bugs.webkit.org/show_bug.cgi?id=25251
1756        Crash when frame creation removes it from the parent
1757
1758        This brings us up-to-date with the expectations of sub-frame
1759        creation, following what Mac has done. It fixes crashes when
1760        calling init on the child frame removes it from the page.
1761
1762        This makes the following test pass instead of crash:
1763
1764          fast/loader/frame-creation-removal.html
1765
1766        * WebCoreSupport/FrameLoaderClientGtk.cpp:
1767        (WebKit::FrameLoaderClient::createFrame):
1768
17692009-04-16  Christian Dywan  <christian@twotoasts.de>
1770
1771        Reviewed by Holger Freyther.
1772
1773        http://bugs.webkit.org/show_bug.cgi?id=25042
1774        destroying webview widget directly causes crash.
1775
1776        * tests/testwebframe.c:
1777        (test_webkit_web_frame_create_destroy): Add a test case for destroying
1778        a web view shortly after packing it in a window.
1779
17802009-04-16  Xan Lopez  <xlopez@igalia.com>
1781
1782        Reviewed by Sam Weinig.
1783
1784        https://bugs.webkit.org/show_bug.cgi?id=25241
1785        Remove superfluous NotImplemented.h includes.
1786
1787        * webkit/webkitprivate.cpp:
1788
17892009-04-14  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1790
1791        Unreviewed. Update gtk-doc control and base sgml files for 1.1.5.
1792
1793        * docs/webkitgtk-docs.sgml:
1794        * docs/webkitgtk-sections.txt:
1795
17962009-04-14  Xan Lopez  <xlopez@igalia.com>
1797
1798        * NEWS: updated for 1.1.5 release.
1799
18002009-04-13  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1801
1802        Reviewed by Holger Freyther.
1803
1804        https://bugs.webkit.org/show_bug.cgi?id=22898
1805        [GTK] need proper API for printing
1806
1807        Added simple printing unit tests.
1808
1809        * tests/testwebframe.c:
1810        (print_requested_cb):
1811        (print_timeout):
1812        (test_webkit_web_frame_printing):
1813        (main):
1814
18152009-04-13  Gustavo Noronha Silva  <gns@gnome.org>
1816
1817        Reviewed by Holger Freyther.
1818
1819        https://bugs.webkit.org/show_bug.cgi?id=22898
1820        [GTK] need proper API for printing
1821
1822        Implement proper printing API, using the GTK+ printing API.
1823
1824        * WebCoreSupport/ChromeClientGtk.cpp:
1825        (WebKit::ChromeClient::print):
1826        * webkit/webkitprivate.h:
1827        * webkit/webkitwebframe.cpp:
1828        * webkit/webkitwebframe.h:
1829        * webkit/webkitwebview.cpp:
1830
18312009-04-10  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1832
1833        Reviewed by Holger Freyther.
1834
1835        https://bugs.webkit.org/show_bug.cgi?id=25124
1836        [GTK] many strings still missing translation calls
1837
1838        Mark the missing strings for translation.
1839
1840        * webkit/webkitdownload.cpp:
1841        (_WebKitDownloadPrivate::webkit_download_cancel):
1842        * webkit/webkitsoupauthdialog.c:
1843        (show_auth_dialog):
1844        * webkit/webkitwebhistoryitem.cpp:
1845        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
1846        * webkit/webkitwebinspector.cpp:
1847        (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
1848        * webkit/webkitwebnavigationaction.cpp:
1849        (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_class_init):
1850        * webkit/webkitwebsettings.cpp:
1851        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1852        * webkit/webkitwebview.cpp:
1853
18542009-04-08  Alejandro Piñeiro  <apinheiro@igalia.com>
1855
1856        Reviewed by Holger Freyther.
1857
1858        https://bugs.webkit.org/show_bug.cgi?id=21546
1859        [GTK] ATK accessibility enhancements
1860
1861        Use getOrCreate instead of just get, as we need to actually create
1862        the wrapper object the first time this function is called.
1863
1864        * webkit/webkitwebview.cpp:
1865
18662009-04-06  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1867
1868        Rubber-stamped by Sam Weinig.
1869
1870        https://bugs.webkit.org/show_bug.cgi?id=20575
1871        No localization in WebKitGtk
1872
1873        Implemented localization support for WebKitGTK+.
1874
1875        * WebCoreSupport/ChromeClientGtk.cpp:
1876        * WebCoreSupport/ContextMenuClientGtk.cpp:
1877        * po/POTFILES: Added.
1878        * po/README: Added.
1879        * po/webkit.pot: Added.
1880        * webkit/webkitdownload.cpp:
1881        (_WebKitDownloadPrivate::webkit_download_class_init):
1882        * webkit/webkitprivate.cpp:
1883        (webkit_init):
1884        * webkit/webkitwebframe.cpp:
1885
18862009-04-05  Xan Lopez  <xlopez@igalia.com>
1887
1888        Reviewed by Holger Freyther.
1889
1890        https://bugs.webkit.org/show_bug.cgi?id=25042
1891        destroying webview widget directly causes crash.
1892
1893        Do not connect the WebView to its own screen-changed signal, set a
1894        default handler instead.
1895
1896        * webkit/webkitwebview.cpp:
1897
18982009-04-05  Xan Lopez  <xlopez@igalia.com>
1899
1900        Reviewed by Holger Freyther.
1901
1902        https://bugs.webkit.org/show_bug.cgi?id=25042
1903        destroying webview widget directly causes crash.
1904
1905        GtkWidget::screen-changed can be emitted when a widget is being
1906        destroyed, protect against it.
1907
1908        * webkit/webkitwebview.cpp:
1909
19102009-04-05  Jan Michael Alonzo  <jmalonzo@webkit.org>
1911
1912        Reviewed by Holger Freyther.
1913
1914        [Gtk] Implement LayoutTestControllerGtk::setPrivateBrowsingEnabled
1915        https://bugs.webkit.org/show_bug.cgi?id=24487
1916
1917        Updated documentation and put more information about the
1918        private-browsing setting for WebKitGtk.
1919
1920        * webkit/webkitwebsettings.cpp:
1921        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
1922
19232009-04-03  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1924
1925        Reviewed by Holger Freyther.
1926
1927        Remove pre-processor checks for GTK+ >= 2.10, since we now require
1928        at least that version.
1929
1930        * WebCoreSupport/EditorClientGtk.cpp:
1931        (WebKit::clipboard_clear_contents_cb):
1932        (WebKit::EditorClient::respondToChangedSelection):
1933        * webkit/webkitwebframe.cpp:
1934        * webkit/webkitwebview.cpp:
1935
19362009-04-02  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1937
1938        Reviewed by Alexey  Proskuryakov.
1939
1940        https://bugs.webkit.org/show_bug.cgi?id=24844
1941        Unit test WebKitDownload
1942
1943        Extra checks to avoid crashing and a critical message when
1944        property accessor functions are called before the download is
1945        started.
1946
1947        * webkit/webkitdownload.cpp:
1948        (_WebKitDownloadPrivate::webkit_download_get_progress):
1949        (_WebKitDownloadPrivate::webkit_download_get_elapsed_time):
1950
19512009-04-01  Christian Dywan  <christian@twotoasts.de>
1952
1953        Reviewed by Holger Freyther.
1954
1955        * tests/testdownload.c: Added.
1956        (test_webkit_download_create):
1957        (main): Add an initial unit test for downloading.
1958
19592009-04-01  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1960
1961        Unreviewed typo fixes, and naming normalization in the
1962        documentation.
1963
1964        * docs/webkitenvironment.xml:
1965        * webkit/webkitwebview.cpp:
1966
19672009-03-31  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1968
1969        Reviewed by Holger Freyther.
1970
1971        Updated gtk-doc configuration files for the 1.1.1, 1.1.2, 1.1.3,
1972        and 1.1.4 versions of WebKitGTK+.
1973
1974        * docs/webkitgtk-docs.sgml:
1975        * docs/webkitgtk-sections.txt:
1976
19772009-03-31  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
1978
1979        Reviewed by Holger Freyther.
1980
1981        https://bugs.webkit.org/show_bug.cgi?id=17045
1982        [GTK] Documentation
1983
1984        Added header documentation for WebKitWebNavigationAction and
1985        WebKitWebPolicyDecision.
1986
1987        Added missing documentation pieces for WebKitSoupAuthDialog,
1988        WebKitDownload and WebKitWebPolicyDecision.
1989
1990        Wrote a section about using the WEBKIT_DEBUG environment variable.
1991
1992        * docs/GNUmakefile.am:
1993        * docs/webkitenvironment.xml: Added.
1994        * docs/webkitgtk-docs.sgml:
1995        * webkit/webkitdownload.cpp:
1996        * webkit/webkitsoupauthdialog.c:
1997        * webkit/webkitwebnavigationaction.cpp:
1998        * webkit/webkitwebpolicydecision.cpp:
1999
20002009-03-30  Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
2001
2002        Reviewed by Holger Freyther.
2003
2004        Integrate gtk-doc into the Gtk+ buildsystem.
2005
2006        Based on original work by Holger Freyther.
2007
2008        Integrate gtk-doc into our buildsystem. We are forced to
2009        use recursive make for gtk-doc itself as the to be installed
2010        gtk-doc.make (done by gtkdocize) is not working in a non
2011        recursive environment.
2012
2013        The documentation can only be generated when srcdir == builddir.
2014        In all other cases the generated files will not be found. This
2015        limitation can be found in pango and gtk+ as well. There is no
2016        easy way around. The resulting html documentation will be saved
2017        in the srcdir as well.
2018
2019        * docs/GNUmakefile.am: Added.
2020        * docs/version.xml.in: Added.
2021        * docs/webkitgtk-docs.sgml:
2022
20232009-03-30  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
2024
2025        Unreviewed. Documenting what changed since the 1.1.3 release, in
2026        the GTK+ port.
2027
2028        * NEWS:
2029
20302009-03-30  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>
2031
2032        Unreviewed. Add information on the bug-fix-only 1.1.3 release.
2033
2034        * NEWS:
2035
20362009-03-30  Xan Lopez  <xlopez@igalia.com>
2037
2038        Reviewed by Holger Freyther.
2039
2040        https://bugs.webkit.org/show_bug.cgi?id=24878
2041        [GTK] Use GtkBinding system to handle key events in WebView
2042
2043        Use GtkBinding system for key events in WebKitWebView. Allows the
2044        user to reconfigure the bindings and fixes a bunch of bugs along
2045        the way (we were not checking modifier keys in most actions).
2046
2047        * webkit/webkitwebview.cpp:
2048        (webkit_web_view_move_cursor):
2049        * webkit/webkitwebview.h:
2050        * webkitmarshal.list:
2051
20522009-03-28  Xan Lopez  <xlopez@igalia.com>
2053
2054        Reviewed by Mark Rowe.
2055
2056        https://bugs.webkit.org/show_bug.cgi?id=24790
2057        [GTK] webkitsoupauthdialog.h lacks WEBKIT_API before function
2058
2059        Set the right visibility to the WebKitSoupAuthDialog get_type
2060        function.
2061
2062        * webkit/webkitsoupauthdialog.h:
2063
20642009-03-28  Jan Michael Alonzo  <jmalonzo@webkit.org>
2065
2066        Gtk build fix. Not reviewed.
2067
2068        FrameLoader::loadURL and FrameLoader::detachChildren went private
2069        per changes in http://trac.webkit.org/changeset/42055. Follow
2070        Mac's behaviour and use FrameLoader::loadURLIntoChildFrame for
2071        loadURL and FrameLoader::detachParent for detachChildrem.
2072
2073        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2074        (WebKit::FrameLoaderClient::createFrame):
2075        * webkit/webkitwebview.cpp:
2076
20772009-03-25  Gustavo Noronha Silva  <gns@gnome.org>
2078
2079        Reviewed by Holger Freyther.
2080
2081        https://bugs.webkit.org/show_bug.cgi?id=15793
2082        [GTK] tooltip position doesn't update when hovering consecutive links
2083
2084        Work-around tooltips not updating their location when the elements
2085        are consecutive, by clearing the tooltip when handling
2086        mouseDidMoveOverElement.
2087
2088        * WebCoreSupport/ChromeClientGtk.cpp:
2089        (WebKit::ChromeClient::mouseDidMoveOverElement):
2090
20912009-03-23  Alejandro Garcia Castro  <alex@igalia.com>
2092
2093        Reviewed by Holger Freyther.
2094
2095        [Gtk] Current API does not allow us to open target="_blank" links
2096        in new tabs instead of windows
2097        https://bugs.webkit.org/show_bug.cgi?id=23932
2098
2099        Added a signal to the API (new-window-policy-decision-requested)
2100        that allows the browser to decide the policy for the new window
2101        request, if the signal is not handled we open the new window as
2102        usual.
2103
2104        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2105        (WebKit::getNavigationAction):
2106        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
2107        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2108        * webkit/webkitwebview.cpp:
2109
21102009-03-20  Jan Michael Alonzo  <jmalonzo@gmail.com>
2111
2112        Not reviewed. Fix style issues with my previous commit (r41866) as
2113        suggested by Holger in https://bugs.webkit.org/show_bug.cgi?id=24493
2114
2115        * tests/testwebhistoryitem.c:
2116        (test_webkit_web_history_item_get_data):
2117        (test_webkit_web_history_item_alternate_title):
2118
21192009-03-20  Jan Michael Alonzo  <jmalonzo@gmail.com>
2120
2121        Reviewed by Holger Freyther.
2122
2123        [GTK] Misc patches for WebKitWebHistoryItem
2124        https://bugs.webkit.org/show_bug.cgi?id=24493
2125
2126        Add unit test for WebKitWebHistoryItem
2127
2128        * tests/testwebhistoryitem.c: Added.
2129        (web_history_item_fixture_setup):
2130        (web_history_item_fixture_teardown):
2131        (test_webkit_web_history_item_get_data):
2132        (test_webkit_web_history_item_alternate_title):
2133        (main):
2134
21352009-03-20  Jan Michael Alonzo  <jmalonzo@gmail.com>
2136
2137        Reviewed by Holger Freyther.
2138
2139        Separate gtk unit tests
2140        https://bugs.webkit.org/show_bug.cgi?id=24039
2141
2142        Split the current single-file unit test to make it more
2143        modularized and manageable in the future as more unit tests are
2144        written.
2145
2146        * tests/main.c: Removed.
2147        * tests/testwebbackforwardlist.c: Copied from WebKit/gtk/tests/main.c.
2148        (main):
2149        * tests/testwebframe.c: Copied from WebKit/gtk/tests/main.c.
2150        (main):
2151
21522009-03-16  Christian Dywan  <christian@twotoasts.de>
2153
2154        Reviewed by Adam Roben.
2155
2156        [gtk] API implementation: url and title
2157        http://bugs.webkit.org/show_bug.cgi?id=14807
2158
2159        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2160        (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
2161        (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
2162        (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
2163        * webkit/webkitwebview.cpp:
2164        * webkit/webkitwebview.h: Implement "title" and "uri" properties as well
2165        as according functions. "uri" always reflects the current location
2166        including navigation inside the same page. title-changed is deprecated.
2167
21682009-03-15  Gustavo Noronha Silva  <gns@gnome.org>
2169
2170        Reviewed by Anders Carlsson.
2171
2172        Fix default policy decision to be ignore, on MIME checks, if
2173        WebKit doesn't know how to handle the MIME type. The documentation
2174        is already correct, and this was an oversight when the policy
2175        decision code was first committed. Since 1.1.2 will be the first
2176        release to support download, there is no practical change in
2177        behavior.
2178
2179        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2180        (WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType):
2181
21822009-03-15  Xan Lopez  <xlopez@igalia.com>
2183
2184        * NEWS: update for 1.1.2.
2185
21862009-03-14  Jan Michael Alonzo  <jmalonzo@webkit.org>
2187
2188        Reviewed by Holger Freyther.
2189
2190        [GTK] use of confirm dialog (yes/no) causes segfault
2191        https://bugs.webkit.org/show_bug.cgi?id=20940
2192
2193        Change the script-confirm marshaller from OBJECT,STRING,BOOLEAN to
2194        OBJECT,STRING,POINTER
2195
2196        * webkit/webkitwebview.cpp:
2197        * webkitmarshal.list:
2198
21992009-03-12  Gustavo Noronha Silva  <gns@gnome.org>
2200
2201        Reviewed by Alexey  Proskuryakov.
2202
2203        https://bugs.webkit.org/show_bug.cgi?id=24553
2204        [GTK] Improvements to WebKitDownload
2205
2206        Rename 'state' to 'status' to match the naming in the frame
2207        loader rework that we plan to land soonish, and make it a
2208        property, for the same reason.
2209
2210        * webkit/webkitdownload.cpp:
2211        (_WebKitDownloadPrivate::):
2212        (_WebKitDownloadPrivate::webkit_download_finalize):
2213        (_WebKitDownloadPrivate::webkit_download_get_property):
2214        (_WebKitDownloadPrivate::webkit_download_set_property):
2215        (_WebKitDownloadPrivate::webkit_download_class_init):
2216        (_WebKitDownloadPrivate::webkit_download_init):
2217        (_WebKitDownloadPrivate::webkit_download_start):
2218        (_WebKitDownloadPrivate::webkit_download_cancel):
2219        (_WebKitDownloadPrivate::webkit_download_set_destination_uri):
2220        (_WebKitDownloadPrivate::webkit_download_get_status):
2221        (_WebKitDownloadPrivate::webkit_download_set_status):
2222        (_WebKitDownloadPrivate::webkit_download_received_data):
2223        (_WebKitDownloadPrivate::webkit_download_finished_loading):
2224        (_WebKitDownloadPrivate::webkit_download_error):
2225        * webkit/webkitdownload.h:
2226
22272009-03-12  Gustavo Noronha Silva  <gns@gnome.org>
2228
2229        Reviewed by Alexey  Proskuryakov.
2230
2231        https://bugs.webkit.org/show_bug.cgi?id=24553
2232        [GTK] Improvements to WebKitDownload
2233
2234        Improved documentation for the download-requested signal, to make
2235        its usage clear.
2236
2237        * webkit/webkitwebview.cpp:
2238
22392009-03-12  Gustavo Noronha Silva  <gns@gnome.org>
2240
2241        Reviewed by Alp Toker.
2242
2243        https://bugs.webkit.org/show_bug.cgi?id=24541
2244        Scrolling with home and end keys not always works
2245
2246        Also make page up and page down keys be handled by the webview key
2247        event code, so that they also work in cases where the GTK+
2248        scrollbars don't handle them directly, like in the bugzill's patch
2249        review page.
2250
2251        * webkit/webkitwebview.cpp:
2252
22532009-03-12  Gustavo Noronha Silva  <gns@gnome.org>
2254
2255        Reviewed by Alp Toker.
2256
2257        https://bugs.webkit.org/show_bug.cgi?id=24541
2258        Scrolling with home and end keys not always works
2259
2260        Make home and end keys behave more consistently for scrolling the
2261        view.
2262
2263        * webkit/webkitwebview.cpp:
2264
22652009-03-12  Gustavo Noronha Silva  <gns@gnome.org>
2266
2267        Reviewed by Alp Toker.
2268
2269        https://bugs.webkit.org/show_bug.cgi?id=24254
2270        [GTK] spacebar doesn't scroll down
2271
2272        Make spacebar and shift+spacebar scroll like page up and down
2273        respectively would.
2274
2275        * webkit/webkitwebview.cpp:
2276
22772009-03-10  Xan Lopez  <xlopez@igalia.com>
2278
2279        Reviewed by Holger Freyther.
2280
2281        https://bugs.webkit.org/show_bug.cgi?id=24493
2282        [GTK] Misc patches for WebKitWebHistoryItem
2283
2284        Only run code in dispose once per instance.
2285
2286        * webkit/webkitwebhistoryitem.cpp:
2287        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
2288
22892009-03-10  Xan Lopez  <xlopez@igalia.com>
2290
2291        Reviewed by Holger Freyther.
2292
2293        https://bugs.webkit.org/show_bug.cgi?id=24493
2294        [GTK] Misc patches for WebKitWebHistoryItem
2295
2296        Call deref() on our internal HistoryItem on dispose, as we always
2297        acquire it with a releaseRef() call to a PassRefPtr, which passes
2298        ownership.
2299
2300        * webkit/webkitwebhistoryitem.cpp:
2301        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
2302
23032009-03-10  Xan Lopez  <xlopez@igalia.com>
2304
2305        Reviewed by Holger Freyther.
2306
2307        https://bugs.webkit.org/show_bug.cgi?id=24493
2308        [GTK] Misc patches for WebKitWebHistoryItem
2309
2310        return foo? foo : NULL == return foo
2311
2312        * webkit/webkitwebhistoryitem.cpp:
2313        (WebKit::core):
2314
23152009-03-11  Jan Michael Alonzo  <jmalonzo@webkit.org>
2316
2317        Reviewed by Holger Freyther.
2318
2319        Gtk] Implement LayoutTestControllerGtk::setPrivateBrowsingEnabled
2320        https://bugs.webkit.org/show_bug.cgi?id=24487
2321
2322        Add private browsing option "enable-private-browsing" to WebKitWebSettings.
2323
2324        * webkit/webkitwebsettings.cpp:
2325        (_WebKitWebSettingsPrivate::):
2326        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
2327        (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
2328        (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
2329        (_WebKitWebSettingsPrivate::webkit_web_settings_copy):
2330        * webkit/webkitwebview.cpp:
2331
23322009-03-11  Jan Michael Alonzo  <jmalonzo@webkit.org>
2333
2334        Reviewed by Holger Freyther.
2335
2336        [GTK] BackForward history leak?
2337        https://bugs.webkit.org/show_bug.cgi?id=19528
2338
2339        Don't ref the history items when returning the back/forward list
2340        Added test_webkit_web_history_item_lifetime test case for this.
2341
2342        * tests/main.c:
2343        (test_webkit_web_history_item_lifetime):
2344        (test_webkit_web_back_forward_list_order): Style fix.
2345        (test_webkit_web_back_forward_list_add_item): Style fix.
2346        (main):
2347        * webkit/webkitwebbackforwardlist.cpp:
2348        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
2349        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
2350
23512009-03-10  Xan Lopez  <xlopez@igalia.com>
2352
2353        Reviewed by Alexey Proskuryakov.
2354
2355        https://bugs.webkit.org/show_bug.cgi?id=24493
2356        [GTK] Misc patches for WebKitWebHistoryItem
2357
2358        Use g_hash_table_new_full so we can save the manual unref on the
2359        values when removing them from the table.
2360
2361        * webkit/webkitwebhistoryitem.cpp:
2362        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
2363
23642009-03-10  Xan Lopez  <xan@gnome.org>
2365
2366        Reviewed by Alexey Proskuryakov.
2367
2368        https://bugs.webkit.org/show_bug.cgi?id=24493
2369        [GTK] Misc patches for WebKitWebHistoryItem
2370
2371        Use 'if (foo)' instead of 'if (foo != NULL)', per coding style
2372        guidelines.
2373
2374        * webkit/webkitwebhistoryitem.cpp:
2375        (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
2376        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
2377        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
2378        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
2379        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
2380        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_last_visited_time):
2381        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_target):
2382        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_is_target_item):
2383        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_children):
2384
23852009-03-10  Xan Lopez  <xlopez@igalia.com>
2386
2387        Reviewed by Alexey Proskuryakov.
2388
2389        Correct return value to false instead of NULL.
2390
2391        * webkit/webkitwebhistoryitem.cpp:
2392        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_is_target_item):
2393
23942009-03-08  Holger Hans Peter Freyther  <zecke@selfish.org>
2395
2396        Reviewed by Mark Rowe.
2397
2398        Add javascript-profiling-enabled property and implement it. This
2399        will enable/disable the profiler on the InstpectorController.
2400
2401        * webkit/webkitprivate.h:
2402        * webkit/webkitwebinspector.cpp:
2403        (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
2404        (_WebKitWebInspectorPrivate::webkit_web_inspector_set_property):
2405        (_WebKitWebInspectorPrivate::webkit_web_inspector_get_property):
2406        (_WebKitWebInspectorPrivate::webkit_web_inspector_set_inspector_client):
2407        * webkit/webkitwebview.cpp:
2408
24092009-03-05  Gustavo Noronha Silva  <gns@gnome.org>
2410
2411        Reviewed by Olliej.
2412
2413        https://bugs.webkit.org/show_bug.cgi?id=24295
2414        webkit_web_back_forward_list_add_item needs a Since tag
2415
2416        Add missing Since tag to webkit_web_back_forward_list_add_item
2417        documentation.
2418
2419        * webkit/webkitwebbackforwardlist.cpp:
2420
24212009-03-05  Gustavo Noronha Silva  <gns@gnome.org>
2422
2423        Reviewed by Mark Rowe.
2424
2425        https://bugs.webkit.org/show_bug.cgi?id=24417
2426        [GTK] WebKitDownload's _cancel and _dispose methods may emit warnings
2427
2428        NULL-check for timer on _cancel and _dispose, to avoid bad
2429        warnings.
2430
2431        * webkit/webkitdownload.cpp:
2432        (_WebKitDownloadPrivate::webkit_download_finalize):
2433        (_WebKitDownloadPrivate::webkit_download_cancel):
2434
24352009-03-02  Xan Lopez  <xan@gnome.org>
2436
2437        Reviewed by Mark Rowe.
2438
2439        https://bugs.webkit.org/show_bug.cgi?id=24287
2440        [GTK] Move auth dialog feature to WebKit/
2441
2442        Add WebKitSoupAuthDialog and add it to the session in webkit_init.
2443
2444        * webkit/webkitprivate.cpp:
2445        (currentToplevelCallback):
2446        (webkit_init):
2447        * webkit/webkitsoupauthdialog.c: Added.
2448        (webkit_soup_auth_dialog_class_init):
2449        (webkit_soup_auth_dialog_init):
2450        (webkit_soup_auth_dialog_session_feature_init):
2451        (free_authData):
2452        (set_password_callback):
2453        (response_callback):
2454        (table_add_entry):
2455        (show_auth_dialog):
2456        (find_password_callback):
2457        (session_authenticate):
2458        (attach):
2459        * webkit/webkitsoupauthdialog.h: Added.
2460
24612009-03-03  Gustavo Noronha Silva  <gns@gnome.org>
2462
2463        Reviewed by Alexey Proskuryakov.
2464
2465        https://bugs.webkit.org/show_bug.cgi?id=16826
2466        [Gtk] Implement WebKitDownload
2467
2468        Implement download, and provide a nice object wrapping the
2469        download process. Initial work done by Marco Barisione and
2470        Pierre-Luc Beaudoin for Collabora.
2471
2472        * WebCoreSupport/ContextMenuClientGtk.cpp:
2473        (WebKit::ContextMenuClient::downloadURL):
2474        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2475        (WebKit::FrameLoaderClient::download):
2476        (WebKit::FrameLoaderClient::startDownload):
2477        * webkit/webkit.h:
2478        * webkit/webkitdefines.h:
2479        * webkit/webkitdownload.cpp: Added.
2480        (_WebKitDownloadPrivate::):
2481        (_WebKitDownloadPrivate::webkit_download_dispose):
2482        (_WebKitDownloadPrivate::webkit_download_finalize):
2483        (_WebKitDownloadPrivate::webkit_download_get_property):
2484        (_WebKitDownloadPrivate::webkit_download_set_property):
2485        (_WebKitDownloadPrivate::webkit_download_class_init):
2486        (_WebKitDownloadPrivate::webkit_download_init):
2487        (_WebKitDownloadPrivate::webkit_download_new):
2488        (_WebKitDownloadPrivate::webkit_download_open_stream_for_uri):
2489        (_WebKitDownloadPrivate::webkit_download_close_stream):
2490        (_WebKitDownloadPrivate::webkit_download_start):
2491        (_WebKitDownloadPrivate::webkit_download_cancel):
2492        (_WebKitDownloadPrivate::webkit_download_get_uri):
2493        (_WebKitDownloadPrivate::webkit_download_get_network_request):
2494        (_WebKitDownloadPrivate::webkit_download_set_response):
2495        (_WebKitDownloadPrivate::webkit_download_get_suggested_filename):
2496        (_WebKitDownloadPrivate::webkit_download_get_destination_uri):
2497        (_WebKitDownloadPrivate::webkit_download_set_destination_uri):
2498        (_WebKitDownloadPrivate::webkit_download_get_state):
2499        (_WebKitDownloadPrivate::webkit_download_get_total_size):
2500        (_WebKitDownloadPrivate::webkit_download_get_current_size):
2501        (_WebKitDownloadPrivate::webkit_download_get_progress):
2502        (_WebKitDownloadPrivate::webkit_download_get_elapsed_time):
2503        (_WebKitDownloadPrivate::webkit_download_received_data):
2504        (_WebKitDownloadPrivate::webkit_download_finished_loading):
2505        (_WebKitDownloadPrivate::webkit_download_error):
2506        (_WebKitDownloadPrivate::DownloadClient::DownloadClient):
2507        (_WebKitDownloadPrivate::DownloadClient::didReceiveResponse):
2508        (_WebKitDownloadPrivate::DownloadClient::didReceiveData):
2509        (_WebKitDownloadPrivate::DownloadClient::didFinishLoading):
2510        (_WebKitDownloadPrivate::DownloadClient::didFail):
2511        (_WebKitDownloadPrivate::DownloadClient::wasBlocked):
2512        (_WebKitDownloadPrivate::DownloadClient::cannotShowURL):
2513        * webkit/webkitdownload.h: Added.
2514        * webkit/webkitprivate.h:
2515        * webkit/webkitwebview.cpp:
2516        * webkitmarshal.list:
2517
25182009-03-01  Jan Michael Alonzo  <jmalonzo@webkit.org>
2519
2520        Reviewed by Holger Freyther.
2521
2522         [Gtk] get the HTTP layout tests going
2523         https://bugs.webkit.org/show_bug.cgi?id=24259
2524
2525        Added API to get the response mime type from a frame. We need this
2526        so we can decide if we need to dump the frame as text or its
2527        render tree
2528
2529        * webkit/webkitprivate.h:
2530        * webkit/webkitwebframe.cpp:
2531
25322009-03-01  Jan Michael Alonzo  <jmalonzo@webkit.org>
2533
2534        Reviewed by Holger Freyther.
2535
2536        [Gtk] get the HTTP layout tests going
2537        https://bugs.webkit.org/show_bug.cgi?id=24259
2538
2539        Create a WebKitWebHistoryItem for each WebCore::HistoryItem when
2540        necessary.
2541        Add necessary API additions for us to be able to dump a WebKitWebHistoryItem
2542
2543        * webkit/webkitprivate.h:
2544        * webkit/webkitwebbackforwardlist.cpp:
2545        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
2546        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
2547        * webkit/webkitwebhistoryitem.cpp:
2548        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
2549        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
2550        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
2551        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_target):
2552        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_is_target_item):
2553        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_children):
2554        (WebKit::core):
2555        (WebKit::kit):
2556
25572009-03-01  Christian Dywan  <christian@twotoasts.de>
2558
2559        Reviewed by Holger Freyther.
2560
2561        * webkit/webkitprivate.h:
2562        * webkit/webkitwebview.cpp:
2563        (webkit_web_view_get_encoding):
2564        * webkit/webkitwebview.h: Implement 'encoding' and 'custom-encoding'
2565        properties as well as webkit_web_view_get_encoding.
2566
25672009-03-01  Gustavo Noronha Silva  <gns@gnome.org>
2568
2569        Unreviewed simple wording fix for the NEWS file.
2570
2571        * NEWS:
2572
25732009-03-01  Xan Lopez  <xan@gnome.org>
2574
2575        Add NEWS file to track progress between releases.
2576
2577        * NEWS: Added.
2578
25792009-02-28  Christian Dywan  <christian@twotoasts.de>
2580
2581        Reviewed by Holger Freyther.
2582
2583        * webkit/webkitwebview.cpp: Let webkit_web_view_open add file:// if a
2584        locale path is passed for compatibility, since we used to support that.
2585
25862009-02-27  Gustavo Noronha Silva  <gns@gnome.org>
2587
2588        Reviewed by David Hyatt.
2589
2590        Automatically ignore empty requests to avoid crashing. This fixes
2591        the crash in fast/loader/empty-embed-src-attribute.html.
2592
2593        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2594        (WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType):
2595        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
2596        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2597
25982009-02-27  Xan Lopez  <xan@gnome.org>
2599
2600        Reviewed by Alexey Proskuryakov.
2601
2602        https://bugs.webkit.org/show_bug.cgi?id=24221
2603        [GTK] Do not emit load-finished when being disposed
2604
2605        webkit_web_view_stop_load() is called from dispose() on
2606        WebKitWebView. This eventually calls postProgressFinishedNotification
2607        in FrameLoaderClientGtk, which emits load-finished. Add
2608        a 'disposing' flag to WebView that we can check here, so
2609        we avoid emitting signals on objects on their way to be
2610        destroyed.  This fixes a bunch of critical warnings when
2611        closing a loading WebView.
2612
2613        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2614        (WebKit::FrameLoaderClient::postProgressFinishedNotification):
2615        * webkit/webkitprivate.h:
2616        * webkit/webkitwebview.cpp:
2617
26182009-02-27  Xan Lopez  <xan@gnome.org>
2619
2620        Rubber-stamped by Alexey Proskuryakov.
2621
2622        https://bugs.webkit.org/show_bug.cgi?id=24222
2623        [GTK] Remove checks for old glib versions
2624
2625        libsoup, which is a hard dependency, needs at least glib 2.15.3,
2626        so remove all glib checks for versions older than that.
2627
2628        * webkit/webkitwebview.cpp:
2629
26302009-02-26  Xan Lopez  <xan@gnome.org>
2631
2632        Reviewed by Holger Freyther.
2633
2634        https://bugs.webkit.org/show_bug.cgi?id=16947
2635        [GTK] Missing HTTP Auth challenge
2636
2637        Add new marshalers list.
2638
2639        * webkitmarshal.list: Added.
2640
26412009-02-26  Xan Lopez  <xan@gnome.org>
2642
2643        Reviewed by Alexey Proskuryakov.
2644
2645        https://bugs.webkit.org/show_bug.cgi?id=24193
2646        [GTK] Checkbuttons not activated with space
2647
2648        Do not swallow key events with GtkIMContext for non-editable
2649        content.
2650
2651        * WebCoreSupport/EditorClientGtk.cpp:
2652        (WebKit::EditorClient::handleInputMethodKeydown):
2653
26542009-02-26  Xan Lopez  <xan@gnome.org>
2655
2656        Reviewed by Alexey Proskuryakov.
2657
2658        https://bugs.webkit.org/show_bug.cgi?id=24103
2659        [GTK] Use correct return value for WebView button-release handler
2660
2661        We are returning whatever the core code tells us it did, but this
2662        does not play well with the GTK+ model. GTK+ in general expects it
2663        will see a button-release if it saw a button-press and no
2664        motion/leave/etc events in between. EventHandler.cpp will, in some
2665        cases, not handle press but handle release, confusing the parent
2666        container of the WebView.
2667
2668        As a workaround return always FALSE for button-release (this is
2669        the same than the Windows port does).
2670
2671        * webkit/webkitwebview.cpp:
2672
26732009-02-26  Xan Lopez  <xan@gnome.org>
2674
2675        Reviewed by Holger Freyther.
2676
2677        https://bugs.webkit.org/show_bug.cgi?id=17585
2678        [gtk] get|set encoding api
2679
2680        Add functions to get and set a custom encoding an a view.
2681
2682        * webkit/webkitprivate.h:
2683        * webkit/webkitwebview.cpp:
2684        (webkit_web_view_set_custom_encoding):
2685        (webkit_web_view_get_custom_encoding):
2686        * webkit/webkitwebview.h:
2687
26882009-02-23  Xan Lopez  <xan@gnome.org>
2689
2690        Reviewed by Alexey Proskuryakov.
2691
2692        https://bugs.webkit.org/show_bug.cgi?id=22624
2693        [SOUP][GTK] Need API to get SoupSession from WebKit.
2694
2695        Add API to get the default soup session.
2696
2697        * webkit/webkitwebview.cpp:
2698        * webkit/webkitwebview.h:
2699
27002009-02-23  Xan Lopez  <xan@gnome.org>
2701
2702        Reviewed by Alexey Proskuryakov.
2703
2704        https://bugs.webkit.org/show_bug.cgi?id=22624
2705        [SOUP][GTK] Need API to get SoupSession from WebKit.
2706
2707        Add soup dependency to pc file.
2708
2709        * webkit.pc.in:
2710
27112009-02-23  Jan Michael Alonzo  <jmalonzo@webkit.org>
2712
2713        Reviewed by Mark Rowe.
2714
2715        [GTK] Back / Forward history menus are flipped
2716        https://bugs.webkit.org/show_bug.cgi?id=22694
2717
2718        Don't call g_list_reverse when returning the back or forward list.
2719
2720        * tests/main.c:
2721        (test_webkit_web_back_forward_list_order):
2722        (main):
2723        * webkit/webkitwebbackforwardlist.cpp:
2724        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
2725        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
2726
27272009-02-17  Xan Lopez  <xan@gnome.org>
2728
2729        Rubber-stamped by Alexey Proskuryakov.
2730
2731        Restoring change landed in r40715, which was accidentally undone
2732        by r40918.
2733
2734        * webkit/webkitwebframe.cpp:
2735
27362009-02-12  Christian Dywan  <christian@twotoasts.de>
2737
2738        Reviewed by Holger Freyther.
2739
2740        http://bugs.webkit.org/show_bug.cgi?id=17176
2741        [GTK] API: hovering-over-link and webkit_web_view_open /_load_foo
2742
2743        * webkit/webkitwebframe.cpp:
2744        * webkit/webkitwebframe.h:
2745        * webkit/webkitwebview.cpp:
2746        * webkit/webkitwebview.h: Introduce webkit_web_frame_load_uri,
2747        webkit_web_frame_load_string, webkit_web_view_load_uri and
2748        webkit_web_view_load_request and unify implementations.
2749
27502009-02-11  Dimitri Dupuis-latour  <dupuislatour@apple.com>
2751
2752        Stub out InspectorClient::hiddenPanels.
2753
2754        Reviewed by Timothy Hatcher.
2755
2756        * WebCoreSupport/InspectorClientGtk.cpp:
2757        (WebKit::InspectorClient::hiddenPanels):
2758        * WebCoreSupport/InspectorClientGtk.h:
2759
27602009-02-07  Holger Hans Peter Freyther  <zecke@selfish.org>
2761
2762        Unreviewed build fix Use toNormalizedRange().
2763
2764        * WebCoreSupport/EditorClientGtk.cpp:
2765        (WebKit::clipboard_get_contents_cb):
2766
27672009-02-06  Geoffrey Garen  <ggaren@apple.com>
2768
2769        Build fix.
2770
2771        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2772        (WebKit::FrameLoaderClient::updateGlobalHistoryRedirectLinks):
2773        * WebCoreSupport/FrameLoaderClientGtk.h:
2774
27752009-02-06  Xan Lopez  <xan@gnome.org>
2776
2777        Reviewed by Holger Freyther.
2778
2779        Reported by Daniel Macks.
2780
2781        https://bugs.webkit.org/show_bug.cgi?id=20412
2782
2783        Use positive numbers for the target info IDs, gtk_target_list_add
2784        casts them to 'guint'. Also just start them from 0, since the
2785        values are not relevant or magic in any way, they are just used as
2786        tokens for the user of the API.
2787
2788        * webkit/webkitwebview.h:
2789
27902009-02-06  Xan Lopez  <xan@gnome.org>
2791
2792        Reviewed by Alexey Proskuryakov.
2793
2794        https://bugs.webkit.org/show_bug.cgi?id=23769
2795
2796        Do not use empty ResourceError errors.
2797
2798        Rather create bogus but non-null errors, since some codepaths
2799        expect these. For example, see DocumentLoader::mainReceivedError.
2800
2801        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2802        (WebKit::FrameLoaderClient::cancelledError):
2803        (WebKit::FrameLoaderClient::blockedError):
2804        (WebKit::FrameLoaderClient::cannotShowURLError):
2805        (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
2806        (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
2807        (WebKit::FrameLoaderClient::fileDoesNotExistError):
2808        (WebKit::FrameLoaderClient::pluginWillHandleLoadError):
2809
28102009-02-06  Xan Lopez  <xan@gnome.org>
2811
2812        Reviewed by Alexey Proskuryakov.
2813
2814        https://bugs.webkit.org/show_bug.cgi?id=23761
2815
2816        Use two-arg KURL ctor.
2817
2818        We are using the one-arg ctor currently, but:
2819
2820        - It assumes the strings are already encoded, which is not
2821        necesarily the case for us.
2822
2823        - The single-argument KURL ctors expect their input to already be
2824        the output of a previous KURL::parse call, so for the general
2825        case (ie, random user input) we need to use the two-arg ctor
2826        anyway.
2827
2828        * webkit/webkitwebframe.cpp:
2829        * webkit/webkitwebview.cpp:
2830
28312009-02-05  Aaron Boodman <aa@chromium.org>
2832
2833        Reviewed by Dave Hyatt.
2834
2835        https://bugs.webkit.org/show_bug.cgi?id=23708
2836        Adds documentElementAvailable() callback to FrameLoaderClient.
2837
2838        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2839        (WebKit::FrameLoaderClient::documentElementAvailable):
2840        Stub out documentElementAvailable()
2841        * WebCoreSupport/FrameLoaderClientGtk.h:
2842        Ditto.
2843
28442009-02-03  Hiroyuki Ikezoe  <poincare@ikezoe.net>
2845
2846        Reviewed by Holger Freyther.
2847
2848        https://bugs.webkit.org/show_bug.cgi?id=22988
2849        [GTK] Need a public method to add a WebKitWebHistoryItem to
2850        WebKitWebBackForwardList.
2851
2852        Wrap WebCore::BackForwardList::addItem.
2853
2854        * tests/main.c:
2855        (test_webkit_web_back_forward_list_add_item):
2856        (main):
2857        * webkit/webkitwebbackforwardlist.cpp:
2858        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_add_item):
2859        * webkit/webkitwebbackforwardlist.h:
2860
28612009-02-02  Geoffrey Garen  <ggaren@apple.com>
2862
2863        Build fix.
2864
2865        * webkit/webkitwebview.cpp:
2866
28672009-02-02  Geoffrey Garen  <ggaren@apple.com>
2868
2869        Build fix.
2870
2871        * webkit/webkitwebframe.cpp:
2872
28732009-02-02  Geoffrey Garen  <ggaren@apple.com>
2874
2875        Build fix.
2876
2877        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2878        (WebKit::FrameLoaderClient::createFrame):
2879
28802009-02-02  Geoffrey Garen  <ggaren@apple.com>
2881
2882        Reviewed by Sam Weinig.
2883
2884        Track redirects in global history.
2885
2886        Keep GTK building.
2887
2888        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2889        (WebKit::FrameLoaderClient::createFrame):
2890        (WebKit::FrameLoaderClient::updateGlobalHistoryForRedirectWithoutHistoryItem):
2891        * WebCoreSupport/FrameLoaderClientGtk.h:
2892
28932009-02-02  Anders Carlsson  <andersca@apple.com>
2894
2895        Build fix.
2896
2897        * WebCoreSupport/FrameLoaderClientGtk.h:
2898
28992009-02-02  Anders Carlsson  <andersca@apple.com>
2900
2901        Reviewed by Dan Bernstein.
2902
2903        Update for changes to WebCore.
2904
2905        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2906        (WebKit::FrameLoaderClient::createPlugin):
2907        (WebKit::FrameLoaderClient::createJavaAppletWidget):
2908        * WebCoreSupport/FrameLoaderClientGtk.h:
2909
29102009-02-02  Holger Hans Peter Freyther  <zecke@selfish.org>
2911
2912        Reviewed by Darin Adler.
2913
2914        Move Frame::forceLayout, Frame::adjustPageHeight and Frame::forceLayoutWithPageWidthRange to FrameView
2915
2916        https://bugs.webkit.org/show_bug.cgi?id=23428
2917
2918        FrameView::forceLayout could be killed but the comment might
2919        contain a value over the the plain FrameView::layout...
2920
2921        Adjust the WebCore/WebKit consumers of these methods.
2922
2923        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2924        (WebKit::FrameLoaderClient::forceLayout):
2925        * webkit/webkitwebview.cpp:
2926
29272009-01-30  Geoffrey Garen  <ggaren@apple.com>
2928
2929        Build fix.
2930
2931        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2932        (WebKit::FrameLoaderClient::createFrame):
2933
29342009-01-30  Holger Hans Peter Freyther  <zecke@selfish.org>
2935
2936        Reviewed by Simon Hausmann.
2937
2938        https://bugs.webkit.org/show_bug.cgi?id=22056
2939
2940        Kill FrameLoaderClient.cpp, move the code over to Frame::createView
2941
2942        FrameLoaderClient is supposed to be an interface, move the
2943        to be shared code to Frame which is a controller and is
2944        allowed to create a FrameView.
2945
2946        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2947        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
2948
29492009-01-27  Brady Eidson  <beidson@apple.com>
2950
2951        Reviewed by Dan Bernstein
2952
2953        Rework FrameLoaderClient to work on a CachedFrame basis instead of CachedPage
2954
2955        * WebCoreSupport/FrameLoaderClientGtk.cpp:
2956        (WebKit::FrameLoaderClient::savePlatformDataToCachedFrame):
2957        (WebKit::FrameLoaderClient::transitionToCommittedFromCachedFrame):
2958        * WebCoreSupport/FrameLoaderClientGtk.h:
2959
29602009-01-25  Darin Adler  <darin@apple.com>
2961
2962        Try to fix GTK build.
2963
2964        * webkit/webkitwebview.cpp: Added include of FloatQuad.h.
2965
29662009-01-13  Alexander V. Butenko  <alex@digiqube.com>
2967
2968        Reviewed by Holger Freyther.
2969
2970        https://bugs.webkit.org/show_bug.cgi?id=23279
2971
2972        Fix crash on WebView dispose stage.
2973
2974        Add null checks to webkit_web_view_set_scroll_adjustments  and
2975        webkit_web_view_get_accessible as they get called from within
2976        the dispose.
2977
2978        * webkit/webkitwebview.cpp:
2979
29802009-01-11  Xan Lopez  <xan@gnome.org>
2981
2982        Reviewed by Holger Freyther.
2983
2984        Use NULL instead of 0 when dealing with pointers, as agreed for
2985        the coding style of the WebKit GTK port for its GTK+ specific
2986        files.
2987
2988        * webkit/webkitwebview.cpp:
2989
29902009-01-11  Xan Lopez  <xan@gnome.org>
2991
2992        Reviewed by Holger Freyther.
2993
2994        Add padding to the class structs to avoid breaking ABI each time
2995        we add stuff there.
2996
2997        * webkit/webkitnetworkrequest.h:
2998        * webkit/webkitwebbackforwardlist.h:
2999        * webkit/webkitwebhistoryitem.h:
3000        * webkit/webkitwebnavigationaction.h:
3001        * webkit/webkitwebpolicydecision.h:
3002        * webkit/webkitwebview.h:
3003
30042009-01-09  Benjamin Otte  <otte@gnome.org>
3005
3006        Reviewed by Holger Freyther.
3007
3008        https://bugs.webkit.org/show_bug.cgi?id=23194
3009
3010        make the finalize function the dispose function. Not releasing held
3011        objects in dispose can cause crashers later.
3012
3013        * webkit/webkitwebview.cpp:
3014
30152009-01-09  Benjamin Otte  <otte@gnome.org>
3016
3017        Reviewed by Holger Freyther.
3018
3019        https://bugs.webkit.org/show_bug.cgi?id=23194
3020
3021        Remove broken code that uses a fallback. The previous code did 2
3022        policy decisions which caused crashes.
3023        Download is still notImplemented();
3024
3025        * webkit/webkitwebpolicydecision.cpp:
3026        (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_download):
3027
30282009-01-03  Xan Lopez  <xan@gnome.org>
3029
3030        Reviewed by Holger Freyther.
3031
3032        [GTK] Need a public method to reload view bypassing cache
3033        https://bugs.webkit.org/show_bug.cgi?id=19815
3034
3035        * webkit/webkitwebview.cpp:
3036        * webkit/webkitwebview.h:
3037
3038        Add webkit_web_view_reload_bypass_cache.
3039
30402009-01-07  Holger Hans Peter Freyther  <zecke@selfish.org>
3041
3042        Reviewed by Maciej Stachowiak.
3043
3044        Add private API to get the number of active animations of
3045        a frame. This is required by the DumpRenderTree utility.
3046
3047        * webkit/webkitprivate.h:
3048        * webkit/webkitwebframe.cpp:
3049
30502009-01-05  Adam Treat  <adam.treat@torchmobile.com>
3051
3052        Fix build
3053
3054        * WebCoreSupport/ChromeClientGtk.h:
3055
30562009-01-05  Adam Treat  <adam.treat@torchmobile.com>
3057
3058        Reviewed by George Staikos.
3059
3060        Build fix for contentsSizeChanged
3061
3062        * WebCoreSupport/ChromeClientGtk.cpp:
3063        (WebKit::ChromeClient::contentsSizeChanged):
3064        * WebCoreSupport/ChromeClientGtk.h:
3065
30662009-01-04  Adam Treat  <adam.treat@torchmobile.com>
3067
3068        Reviewed by George Staikos.
3069
3070        Make the gtk port build with the new fixedLayoutSize feature
3071
3072        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3073        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
3074
30752009-01-03  Holger Hans Peter Freyther  <zecke@selfish.org>
3076
3077        Reviewed by Darin Adler.
3078
3079        [GTK] Fix the reference counting of WebKitWebFrames
3080
3081        The ownership is the following: WebKitWebView owns a WebCore::Page.
3082        WebKitWebView is creating one WebKitWebFrame which will be the
3083        mainFrame of the WebCore::Page (having the reference on the Frame).
3084
3085        The FrameLoaderClient has the reference of the WebKitWebFrame for
3086        the main frame and also any other frame. This means when the
3087        WebCore::Frame goes away the FrameLoaderClient will go away which
3088        will normally remove the last reference of the WebKitWebFrame. Because
3089        an API user might have g_object_ref'ed the WebKitWebFrame null
3090        checks had to be added to WebKitWebFrame.
3091
3092        For WebCore::Frames created by the FrameLoaderClient the ownership
3093        will be passed down to the FrameTree, the WebKitWebFrame is not holding
3094        a reference to the WebCore::Frame.
3095
3096        Do not g_object_unref the mainFrame in the destructor of the
3097        WebKitWebFrame as this will happen from within the WebCore::Page
3098        destruction. Do not hold a reference to the WebCore::Frame (circle) in
3099        WebKitWebFrame, add null checks as the WebCore::Frame might have gone
3100        away. Do not keep track of the FrameLoaderClient in the private
3101        structures as it was mostly unusued.
3102
3103        https://bugs.webkit.org/show_bug.cgi?id=21837
3104
3105        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3106        (WebKit::FrameLoaderClient::frameLoaderDestroyed):
3107        (WebKit::FrameLoaderClient::createFrame):
3108        * tests/main.c: Add test case.
3109        (test_webkit_web_frame_create_destroy):
3110        (test_webkit_web_frame_lifetime):
3111        (main):
3112        * webkit/webkitprivate.cpp:
3113        (WebKit::core):
3114        * webkit/webkitprivate.h:
3115        * webkit/webkitwebframe.cpp:
3116        * webkit/webkitwebview.cpp:
3117
31182009-01-02  Holger Hans Peter Freyther  <zecke@selfish.org>
3119
3120        Unreviewed build fix.
3121
3122        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3123
31242008-12-31  Holger Hans Peter Freyther  <zecke@selfish.org>
3125
3126        Reviewed by Nikolas Zimmermann.
3127
3128        https://bugs.webkit.org/show_bug.cgi?id=17045
3129
3130        Add section information for View, Frame, Settings, HistoryItem, BackForwardList, WindowFeatures and Inspector
3131
3132        Add section information and informal examples for WebKitWebView,
3133        WebKitWebFrame, WebKitWebSettings, WebKitWebNetworkRequest,
3134        WebKitWebWindowFeatures, WebKitWebHistoryItem,
3135        WebKitWebBackForwardList and WebKitWebInspector.
3136
3137        * docs/webkitgtk-sections.txt: Decide to not document some bits
3138        * webkit/webkitnetworkrequest.cpp:
3139        * webkit/webkitwebbackforwardlist.cpp:
3140        * webkit/webkitwebframe.cpp:
3141        * webkit/webkitwebhistoryitem.cpp:
3142        * webkit/webkitwebhistoryitem.h:
3143        * webkit/webkitwebinspector.cpp:
3144        * webkit/webkitwebsettings.cpp:
3145        * webkit/webkitwebsettings.h:
3146        * webkit/webkitwebview.cpp:
3147        * webkit/webkitwebwindowfeatures.cpp:
3148
31492008-12-21  Xan Lopez  <xan@gnome.org>
3150
3151        Reviewed by Holger Freyther.
3152
3153        https://bugs.webkit.org/show_bug.cgi?id=16092
3154        [GTK] Middle-mouse click should allow opening a URL in a new tab
3155
3156        Add mouse button and keyboard state modifiers info to navigation action.
3157
3158        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3159        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
3160        * webkit/webkitwebnavigationaction.cpp:
3161        (_WebKitWebNavigationActionPrivate::):
3162        (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_property):
3163        (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_set_property):
3164        (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_class_init):
3165        (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_button):
3166        (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_modifier_state):
3167        * webkit/webkitwebnavigationaction.h:
3168
31692008-12-19  Marco Barisione  <marco.barisione@collabora.co.uk>
3170
3171        Reviewed by Holger Freyther.
3172
3173        http://bugs.webkit.org/show_bug.cgi?id=16562
3174        [gtk] Implement WebPolicyDelegate methods
3175
3176        Original work by Pierre-Luc Beaudoin. Final touches by Gustavo
3177        Noronha.
3178
3179        This implements the delegates methods of WebPolicyDelegate.
3180        Since Gtk+/C doesn't have delegate methods, they are replaced with
3181        signals.
3182
3183        A new object WebKitWebPolicyDecision allows the browser to delay its
3184        response in certain cases. WebKitWebNavigationAction contains the
3185        information about what caused a navigation request.
3186
3187        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3188        (WebKit::FrameLoaderClient::FrameLoaderClient):
3189        (WebKit::FrameLoaderClient::~FrameLoaderClient):
3190        (WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType):
3191        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
3192        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
3193        (WebKit::FrameLoaderClient::cancelPolicyCheck):
3194        (WebKit::FrameLoaderClient::canShowMIMEType):
3195        * WebCoreSupport/FrameLoaderClientGtk.h:
3196        * webkit/webkit.h:
3197        * webkit/webkitdefines.h:
3198        * webkit/webkitprivate.cpp:
3199        (WebKit::kit):
3200        (WebKit::core):
3201        * webkit/webkitprivate.h:
3202        * webkit/webkitwebnavigationaction.cpp: Added.
3203        (_WebKitWebNavigationActionPrivate::):
3204        (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_property):
3205        (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_set_property):
3206        (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_init):
3207        (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_finalize):
3208        (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_class_init):
3209        (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_reason):
3210        (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_set_reason):
3211        (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_get_original_uri):
3212        (_WebKitWebNavigationActionPrivate::webkit_web_navigation_action_set_original_uri):
3213        * webkit/webkitwebnavigationaction.h: Added.
3214        * webkit/webkitwebpolicydecision.cpp: Added.
3215        (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_class_init):
3216        (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_init):
3217        (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_new):
3218        (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_use):
3219        (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_ignore):
3220        (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_download):
3221        (_WebKitWebPolicyDecisionPrivate::webkit_web_policy_decision_cancel):
3222        * webkit/webkitwebpolicydecision.h: Added.
3223        * webkit/webkitwebview.cpp:
3224        * webkit/webkitwebview.h:
3225
32262008-12-18  Dan Bernstein  <mitz@apple.com>
3227
3228        Reviewed by Sam Weinig.
3229
3230        - stub out FrameLoaderClient::shouldUseCredentialStorage().
3231
3232        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3233        (WebKit::FrameLoaderClient::shouldUseCredentialStorage):
3234        * WebCoreSupport/FrameLoaderClientGtk.h:
3235
32362008-12-18  Sam Weinig  <sam@webkit.org>
3237
3238        Reviewed by John Sullivan.
3239
3240        Stub out FrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout()
3241
3242        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3243        (WebKit::FrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout):
3244        * WebCoreSupport/FrameLoaderClientGtk.h:
3245
32462008-12-13  Holger Hans Peter Freyther  <zecke@selfish.org>
3247
3248        Reviewed by Cameron Zwarich.
3249
3250        [GTK] Fix crash with LayoutTests/fast/loader/frame-creation-removal.html
3251
3252        Call WebCore::Frame::init after the frame has been given
3253        a name and been added to the FrameTree of the parent.
3254
3255        Removing the call to init is fine as FrameLoaderClientGtk::createFrame
3256        is the only user of webkit_web_frame_init_with_web_view and is already
3257        calling WebCore::Frame::init.
3258
3259        * webkit/webkitwebframe.cpp:
3260
32612008-12-13  Adam Bergkvist <adam.bergkvist@ericsson.com>
3262
3263        Reviewed by Holger Freyther.
3264
3265        https://bugs.webkit.org/show_bug.cgi?id=22779
3266
3267        Check for GTK version >= 2.14.0 before using gtk_test_init.
3268
3269        * tests/main.c:
3270        (main):
3271
32722008-12-13  Zan Dobersek  <zandobersek@gmail.com>
3273
3274        Reviewed by Darin Adler.
3275
3276        https://bugs.webkit.org/show_bug.cgi?id=22039
3277
3278        Implement animation and transition pausing as needed by DumpRenderTree.
3279
3280        * webkit/webkitprivate.h:
3281        * webkit/webkitwebframe.cpp:
3282
32832008-11-29  Holger Hans Peter Freyther  <zecke@selfish.org>
3284
3285        Rubber-stamped by Simon Hausmann.
3286
3287        https://bugs.webkit.org/show_bug.cgi?id=22574
3288
3289        Make webkit_web_view_set_window_features internal
3290
3291        Calling this method will not result in a notify::window-features
3292        signal being emitted. This would allow replacing a
3293        WebKitWebWindowFeature on a WebKitWebView without anyone noticing
3294        and the client code would monitor the wrong object.
3295
3296        * WebCoreSupport/ChromeClientGtk.cpp:
3297        (WebKit::ChromeClient::createWindow):
3298        * webkit/webkitwebview.cpp:
3299        * webkit/webkitwebview.h:
3300
33012008-12-09  Brett Wilson  <brettw@chromium.org>
3302
3303        Reviewed by Dave Hyatt.
3304
3305        https://bugs.webkit.org/show_bug.cgi?id=22177
3306
3307        Add a callback on ChromeClient that the state of form elements on
3308        the page has changed. This is to allow clients implementing session
3309        saving to know when the current state is dirty.
3310
3311        * WebCoreSupport/ChromeClientGtk.h:
3312        (WebKit::ChromeClient::formStateDidChange):
3313
33142008-12-07  Holger Hans Peter Freyther  <zecke@selfish.org>
3315
3316        Reviewed by Eric Seidel.
3317
3318        [Gtk+] Use glib's unit test facilities to test the WebKit/Gtk+ API
3319
3320        https://bugs.webkit.org/show_bug.cgi?id=22491
3321
3322        Add the skeleton to WebKit/gtk/tests and integrate that into the
3323        buildsystem. Testing support was added in glib 2.16. For versions
3324        using glib < 2.16 we compile an empty application.
3325
3326        * tests/main.c: Added. https://bugs.webkit.org/show_bug.cgi?id=21837
3327        will be the first consumer.
3328        (main):
3329
33302008-12-06  Simon Fraser  <simon.fraser@apple.com>
3331
3332        Reviewed by Dave Hyatt
3333
3334        https://bugs.webkit.org/show_bug.cgi?id=15671
3335
3336        Renderer::caretRect() is now localCaretRect(), which needs
3337        converting to absolute coordinates (taking transforms into account).
3338
3339        * webkit/webkitwebview.cpp:
3340
33412008-12-01  Xan Lopez  <xan@gnome.org>
3342
3343        Reviewed by Holger Freyther.
3344
3345        http://bugs.webkit.org/show_bug.cgi?id=22553
3346        Remove unneeded GObject casts.
3347
3348        Remove unneeded casts to GObject in functions that take a gpointer
3349        argument.
3350
3351        * WebCoreSupport/ChromeClientGtk.cpp:
3352        (WebKit::ChromeClient::setWindowRect):
3353        (WebKit::ChromeClient::createWindow):
3354        (WebKit::ChromeClient::setToolbarsVisible):
3355        (WebKit::ChromeClient::toolbarsVisible):
3356        (WebKit::ChromeClient::setStatusbarVisible):
3357        (WebKit::ChromeClient::statusbarVisible):
3358        (WebKit::ChromeClient::setScrollbarsVisible):
3359        (WebKit::ChromeClient::scrollbarsVisible):
3360        (WebKit::ChromeClient::setMenubarVisible):
3361        (WebKit::ChromeClient::menubarVisible):
3362        (WebKit::ChromeClient::setToolTip):
3363        * WebCoreSupport/InspectorClientGtk.cpp:
3364        (WebKit::InspectorClient::createPage):
3365        * webkit/webkitwebframe.cpp:
3366        * webkit/webkitwebview.cpp:
3367        * webkit/webkitwebwindowfeatures.cpp:
3368        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_new_from_core_features):
3369
33702008-11-29  Christian Dywan  <christian@twotoasts.de>
3371
3372        Reviewed by Holger Freyther.
3373
3374        http://bugs.webkit.org/show_bug.cgi?id=17122
3375        [GTK] Bad font default settings
3376
3377        Implement a property "enforce-96-dpi" in WebKitWebSettings
3378        that can be enabled to force the view to assume 96 DPI.
3379
3380        * webkit/webkitwebsettings.cpp:
3381        (_WebKitWebSettingsPrivate::):
3382        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
3383        (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
3384        (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
3385        * webkit/webkitwebview.cpp:
3386
33872008-11-28  Holger Hans Peter Freyther  <zecke@selfish.org>
3388
3389        Reviewed by Nikolas Zimmermann.
3390
3391        Simplify the code. There is no reason to have code like
3392        if (true) return false; which is using temporary variables.
3393
3394        * webkit/webkitwebview.cpp:
3395
33962008-11-28  Holger Hans Peter Freyther  <zecke@selfish.org>
3397
3398        Reviewed by Nikolas Zimmermann.
3399
3400        Remove bogus null checks. The WebKitWebView own's a WebCore::Page
3401        which is owning a WebCore::ChromeClient. There is no way that a
3402        WebCore::ChromeClient is still around when the WebKitWebView is gone.
3403
3404        m_webView can only be null when a ChromeClient gets constructed with
3405        a null WebKitWebView which is not allowed.
3406
3407        * WebCoreSupport/ChromeClientGtk.cpp:
3408        (WebKit::ChromeClient::ChromeClient):
3409        (WebKit::ChromeClient::windowRect):
3410        (WebKit::ChromeClient::setWindowRect):
3411        (WebKit::ChromeClient::pageRect):
3412        (WebKit::ChromeClient::focus):
3413        (WebKit::ChromeClient::unfocus):
3414        (WebKit::ChromeClient::show):
3415        (WebKit::ChromeClient::setToolbarsVisible):
3416        (WebKit::ChromeClient::toolbarsVisible):
3417        (WebKit::ChromeClient::setStatusbarVisible):
3418        (WebKit::ChromeClient::statusbarVisible):
3419        (WebKit::ChromeClient::setScrollbarsVisible):
3420        (WebKit::ChromeClient::setMenubarVisible):
3421        (WebKit::ChromeClient::menubarVisible):
3422        (WebKit::ChromeClient::canTakeFocus):
3423        (WebKit::ChromeClient::repaint):
3424        (WebKit::ChromeClient::scroll):
3425        (WebKit::ChromeClient::platformWindow):
3426
34272008-11-28  Gustavo Noronha Silva  <gns@gnome.org>
3428
3429        Reviewed and slightly modified by Holger Freyther.
3430
3431        https://bugs.webkit.org/show_bug.cgi?id=19130
3432
3433        ChromeClient::createWindow and friends need to be implemented
3434
3435        Code from Gustavo Noronha and Marco Barisione
3436        <marco.barisione@collabora.co.uk> in this change set.
3437
3438        Implemented all the ChromeClient interfaces needed to have new
3439        window creation functioning and exposed to client code. We
3440        implemented a mirror GObject to the WindowFeatures object provided
3441        by WebCore.
3442
3443        * WebCoreSupport/ChromeClientGtk.cpp:
3444        (WebKit::ChromeClient::windowRect):
3445        (WebKit::ChromeClient::setWindowRect):
3446        (WebKit::ChromeClient::unfocus):
3447        (WebKit::ChromeClient::createWindow):
3448        (WebKit::ChromeClient::show):
3449        (WebKit::ChromeClient::setToolbarsVisible):
3450        (WebKit::ChromeClient::toolbarsVisible):
3451        (WebKit::ChromeClient::setStatusbarVisible):
3452        (WebKit::ChromeClient::statusbarVisible):
3453        (WebKit::ChromeClient::setScrollbarsVisible):
3454        (WebKit::ChromeClient::scrollbarsVisible):
3455        (WebKit::ChromeClient::setMenubarVisible):
3456        (WebKit::ChromeClient::menubarVisible):
3457        (WebKit::ChromeClient::setResizable):
3458        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3459        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
3460        (WebKit::FrameLoaderClient::dispatchShow):
3461        (WebKit::FrameLoaderClient::dispatchCreatePage):
3462        * webkit/webkit.h:
3463        * webkit/webkitdefines.h:
3464        * webkit/webkitprivate.h:
3465        * webkit/webkitwebview.cpp:
3466        * webkit/webkitwebview.h:
3467        * webkit/webkitwebwindowfeatures.cpp: Added.
3468        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_class_init):
3469        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_init):
3470        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_finalize):
3471        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_set_property):
3472        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_get_property):
3473        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_new):
3474        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_new_from_core_features):
3475        (_WebKitWebWindowFeaturesPrivate::webkit_web_window_features_equal):
3476        * webkit/webkitwebwindowfeatures.h: Added.
3477
34782008-11-24  Darin Fisher  <darin@chromium.org>
3479
3480        Fix bustage.
3481
3482        http://bugs.webkit.org/show_bug.cgi?id=15643
3483
3484        * WebCoreSupport/EditorClientGtk.cpp:
3485        (WebKit::EditorClient::isSelectTrailingWhitespaceEnabled):
3486        * WebCoreSupport/EditorClientGtk.h:
3487
34882008-11-24  Darin Adler  <darin@apple.com>
3489
3490        Reviewed by Dan Bernstein.
3491
3492        - https://bugs.webkit.org/show_bug.cgi?id=22470
3493          remove unneeded URL argument from FrameLoaderClient::updateGlobalHistory
3494
3495        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3496        (WebKit::FrameLoaderClient::updateGlobalHistory): Remove argument.
3497        * WebCoreSupport/FrameLoaderClientGtk.h: Ditto.
3498
34992008-11-24  Christian Dywan  <christian@twotoasts.de>
3500
3501        Reviewed by Holger Freyther.
3502
3503        http://bugs.webkit.org/show_bug.cgi?id=17122
3504        [GTK] Bad font default settings
3505
3506        * webkit/webkitwebsettings.cpp:
3507        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
3508        Use default font size 12 instead of 10
3509
35102008-11-24  Zan Dobersek  <zandobersek@gmail.com>
3511
3512        Reviewed by Holger Freyther.
3513
3514        https://bugs.webkit.org/show_bug.cgi?id=22039
3515
3516        Implement a semi-private function for adding a directory to
3517        PluginDatabase's paths.
3518
3519        * webkit/webkitprivate.h:
3520        * webkit/webkitwebsettings.cpp:
3521        (_WebKitWebSettingsPrivate::webkit_web_settings_add_extra_plugin_directory):
3522
35232008-11-23  Holger Hans Peter Freyther  <zecke@selfish.org>
3524
3525        Rubber-stamped by Sam Weinig.
3526
3527        Add gtk-doc configuration/source for the WebKit/Gtk+ Reference Manual
3528
3529        These files will be used by gtk-doc to generate the documentation. They
3530        contain information how to group the symbols of our API, which objects
3531        to inspect during the generation of the manual and how to display the
3532        manual.
3533
3534        * docs/webkitgtk-docs.sgml: Added.
3535        * docs/webkitgtk-overrides.txt: Added.
3536        * docs/webkitgtk-sections.txt: Added.
3537        * docs/webkitgtk.types: Added.
3538
35392008-11-23  Holger Hans Peter Freyther  <zecke@selfish.org>
3540
3541        Reviewed by Sam Weinig.
3542
3543        Make gtk-doc happy with the existing API documentation
3544
3545        - Mark the *Private pointers in the struct private
3546        - Use Returns: where gtk-doc wants us to
3547        - Fix the parameters to make gtk-doc happy
3548        - Fix signal references
3549
3550        * webkit/webkitnetworkrequest.h:
3551        * webkit/webkitwebbackforwardlist.cpp:
3552        * webkit/webkitwebbackforwardlist.h:
3553        * webkit/webkitwebframe.h:
3554        * webkit/webkitwebhistoryitem.cpp:
3555        * webkit/webkitwebinspector.cpp:
3556        (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
3557        * webkit/webkitwebview.cpp:
3558        * webkit/webkitwebview.h:
3559
35602008-11-19  Darin Fisher  <darin@chromium.org>
3561
3562        Bustage fix.
3563
3564        https://bugs.webkit.org/show_bug.cgi?id=22373
3565        Ports busted by addition of ScriptValue.{h,cpp}
3566
3567        * webkit/webkitwebview.cpp:
3568
35692008-11-18  Holger Hans Peter Freyther  <zecke@selfish.org>
3570
3571        Reviewed by Simon Hausmann.
3572
3573        Attempt to share transitionToCommittedForNewPage of FrameLoaderClient with the different ports
3574
3575        After Hyatt's work on Widget and ScrollView there is little difference
3576        between the implementation of Qt, Gtk+ and Win. In fact any kind of
3577        difference is mostly a bug. Alp has fixed two of such errors for the Gtk+
3578        port and the Qt port has at least one of them left.
3579
3580        The only difference between the implementations is in getting the the
3581        IntSize for the new FrameView, the background color to be applied and
3582        eventually some post processing.
3583
3584        Unify the implementations by providing a static helper function that
3585        takes a Frame, IntSize, color and transparency bit and calling it from
3586        the Gtk+, the Qt and the Windows port.
3587
3588        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3589        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
3590
35912008-11-16  Christian Dywan  <christian@twoasts.de>
3592
3593        Reviewed by Holger Freyther.
3594
3595        https://bugs.webkit.org/show_bug.cgi?id=22207
3596        [Gtk] Font sizes are not handled properly when updated at runtime
3597
3598        * webkit/webkitwebview.cpp: Move the DPI/ conversion into a
3599        helper function and apply the logic in the notification callback.
3600
36012008-11-06  Alp Toker  <alp@nuanti.com>
3602
3603        Reviewed by Darin Adler.
3604
3605        https://bugs.webkit.org/show_bug.cgi?id=22047
3606        GTK: Add support for multiple file selection in the file upload control
3607
3608        Implemented with GtkFileChooser.
3609
3610        * WebCoreSupport/ChromeClientGtk.cpp:
3611        (WebKit::ChromeClient::runOpenPanel):
3612
36132008-11-03  Cameron Zwarich  <zwarich@apple.com>
3614
3615        Rubber-stamped by Maciej Stachowiak.
3616
3617        Move more files into the runtime subdirectory of JavaScriptCore.
3618
3619        * webkit/webkitprivate.cpp:
3620
36212008-11-03  Alp Toker  <alp@nuanti.com>
3622
3623        Reviewed by Holger Freyther.
3624
3625        Deprecate flawed webkit_web_frame_new() function. This would never
3626        have worked properly when used outside WebCore since Frame::create()
3627        can only be called without an owner element once in the lifetime of a
3628        Page and would result in assertions, leaks and an unusable WebView
3629        instance.
3630
3631        Frame creation may be exposed in API some time later via the DOM
3632        binding but probably not in the WebKit GTK+ core API.
3633
3634        * webkit/webkitwebframe.cpp:
3635        * webkit/webkitwebframe.h:
3636
36372008-11-03  Alp Toker  <alp@nuanti.com>
3638
3639        Reviewed by Holger Freyther.
3640
3641        Redundant scrollbars appear in frames where they shouldn't be visible
3642        eg. embedded Google adverts.
3643
3644        Call setCanHaveScrollbars() when necessary. The Mac and Win ports
3645        already have this but it was missing in FrameLoaderClientGtk.
3646
3647        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3648        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
3649
36502008-11-03  Alp Toker  <alp@nuanti.com>
3651
3652        Rubber-stamped by Holger Freyther.
3653
3654        Sync WebKit GTK+ default UA version string to 528.5+. (We're still
3655        doing this manually!)
3656
3657        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3658        (WebKit::composeUserAgent):
3659
36602008-10-31  Christian Dywan  <christian@twotoasts.de>
3661
3662        Reviewed by Mark Rowe.
3663
3664        http://bugs.webkit.org/show_bug.cgi?id=22018
3665        enable-developer-extras doesn't toggle WebInspector
3666
3667        * webkit/webkitwebview.cpp:
3668        Add missing 'if' in notification for 'enable-developer-extras'.
3669
36702008-10-30  Alp Toker  <alp@nuanti.com>
3671
3672        Reviewed by Dave Hyatt.
3673
3674        Fix GIF animations. WebCore will not update animated GIFs if
3675        the WebView is marked offscreen so we need to call
3676        frameView->setParentVisible() when necessary like the Mac and Win
3677        ports do. Regression was introduced around r37155 during the
3678        HostWindow refactor.
3679
3680        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3681        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
3682
36832008-10-30  Alp Toker  <alp@nuanti.com>
3684
3685        Rubber-stamped by Holger Freyther.
3686
3687        Fix typo in recently added web inspector signal. dettach -> detach.
3688
3689        * WebCoreSupport/InspectorClientGtk.cpp:
3690        (WebKit::InspectorClient::detachWindow):
3691        * webkit/webkitwebinspector.cpp:
3692        (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
3693
36942008-10-30  Alp Toker  <alp@nuanti.com>
3695
3696        Fix version comments for the web inspector added in r37982. Available
3697        since 1.0.3, not 1.0.2.
3698
3699        * webkit/webkitwebinspector.cpp:
3700        (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
3701        * webkit/webkitwebsettings.cpp:
3702        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
3703        * webkit/webkitwebview.cpp:
3704
37052008-10-29  Gustavo Noronha Silva  <gns@gnome.org>
3706
3707        Reviewed and slightly changed by Holger Freyther.
3708
3709        Implemented a new WebKitWebInspector class to provide a GObject
3710        API for the Web Inspector. Also implemented InspectorClient.
3711
3712        * WebCoreSupport/InspectorClientGtk.cpp:
3713        (WebKit::notifyWebViewDestroyed):
3714        (WebKit::InspectorClient::InspectorClient):
3715        (WebKit::InspectorClient::inspectorDestroyed):
3716        (WebKit::InspectorClient::webViewDestroyed):
3717        (WebKit::InspectorClient::createPage):
3718        (WebKit::InspectorClient::showWindow):
3719        (WebKit::InspectorClient::closeWindow):
3720        (WebKit::InspectorClient::attachWindow):
3721        (WebKit::InspectorClient::detachWindow):
3722        (WebKit::InspectorClient::inspectedURLChanged):
3723        * WebCoreSupport/InspectorClientGtk.h:
3724        * webkit/webkit.h:
3725        * webkit/webkit-marshal.list:
3726        * webkit/webkitdefines.h:
3727        * webkit/webkitprivate.h:
3728        * webkit/webkitwebinspector.cpp: Added.
3729        (_WebKitWebInspectorPrivate::webkit_inspect_web_view_request_handled):
3730        (_WebKitWebInspectorPrivate::webkit_web_inspector_class_init):
3731        (_WebKitWebInspectorPrivate::webkit_web_inspector_init):
3732        (_WebKitWebInspectorPrivate::webkit_web_inspector_finalize):
3733        (_WebKitWebInspectorPrivate::webkit_web_inspector_set_property):
3734        (_WebKitWebInspectorPrivate::webkit_web_inspector_get_property):
3735        (_WebKitWebInspectorPrivate::webkit_web_inspector_set_web_view):
3736        * webkit/webkitwebinspector.h: Added.
3737        * webkit/webkitwebsettings.cpp:
3738        (_WebKitWebSettingsPrivate::):
3739        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
3740        (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
3741        (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
3742        (_WebKitWebSettingsPrivate::webkit_web_settings_copy):
3743        * webkit/webkitwebview.cpp:
3744        * webkit/webkitwebview.h:
3745
37462008-10-27  Michael Tross  <michael@tross.org>
3747
3748        Reviewed by Alp Toker. Landed by Jan Alonzo.
3749
3750        https://bugs.webkit.org/show_bug.cgi?id=21827
3751        [GTK] Fix memory leak in webkit_web_view_load_string
3752
3753        * webkit/webkitwebview.cpp:
3754
37552008-10-24  Sam Weinig  <sam@webkit.org>
3756
3757        Fix the Gtk build.
3758
3759        * WebCoreSupport/ChromeClientGtk.cpp:
3760
37612008-10-24  Sam Weinig  <sam@webkit.org>
3762
3763        Reviewed by Dan Bernstein.
3764
3765        Fix https://bugs.webkit.org/show_bug.cgi?id=21759
3766        Layering violation: FileChooser should not depend on Document/Frame/Page
3767
3768        * WebCoreSupport/ChromeClientGtk.cpp:
3769        (WebKit::ChromeClient::runOpenPanel):
3770        * WebCoreSupport/ChromeClientGtk.h:
3771
37722008-10-24  Timothy Hatcher  <timothy@apple.com>
3773
3774        Stub out new InspectorClient methods.
3775
3776        https://bugs.webkit.org/show_bug.cgi?id=21856
3777
3778        Reviewed by Darin Adler.
3779
3780        * WebCoreSupport/InspectorClientGtk.cpp:
3781        (WebKit::InspectorClient::populateSetting): Not implemented.
3782        (WebKit::InspectorClient::storeSetting): Ditto.
3783        (WebKit::InspectorClient::removeSetting): Ditto.
3784        * WebCoreSupport/InspectorClientGtk.h:
3785
37862008-10-22  Alp Toker  <alp@nuanti.com>
3787
3788        Build fix for older GTK+ versions where GTK_TYPE_TARGET_LIST isn't
3789        defined.
3790
3791        * webkit/webkitwebview.cpp:
3792
37932008-10-22  Alp Toker  <alp@nuanti.com>
3794
3795        Reviewed by Adam Roben.
3796
3797        Avoid critical warnings on older GTK+ versions (2.8) by not checking
3798        for GTK+ setting properties when we know they don't exist.
3799
3800        * WebCoreSupport/ContextMenuClientGtk.cpp:
3801        (WebKit::inputMethodsMenuItem):
3802        (WebKit::unicodeMenuItem):
3803
38042008-10-20  Sam Weinig  <sam@webkit.org>
3805
3806        Reviewed by Anders Carlsson.
3807
3808        Remove FrameLoaderClient::detachedFromParent4.  It is no longer used by any port.
3809
3810        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3811        * WebCoreSupport/FrameLoaderClientGtk.h:
3812
38132008-10-20  Alp Toker  <alp@nuanti.com>
3814
3815        Reviewed by Dave Hyatt.
3816
3817        https://bugs.webkit.org/show_bug.cgi?id=21303
3818        [GTK] Scrolling glitches
3819
3820        Implement a buffering scheme to avoid full repaints when scrolling
3821        views or subframes significantly improving scrolling performance.
3822
3823        Improve rendering performance by coalescing large numbers of small
3824        repaints.
3825
3826        Also fixes long-running issues with scrollbar positioning and frame
3827        invalidation.
3828
3829        Rendering in the GTK+ port should be more similar to other ports after
3830        these changes.
3831
3832        * WebCoreSupport/ChromeClientGtk.cpp:
3833        (WebKit::ChromeClient::repaint):
3834        (WebKit::ChromeClient::scroll):
3835        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3836        (WebKit::FrameLoaderClient::forceLayout):
3837        * webkit/webkitwebview.cpp:
3838
38392008-10-17  Luke Kenneth Casson Leighton  <lkcl@lkcl.net>
3840
3841        Reviewed by Mark Rowe. Landed by Jan Alonzo.
3842
3843        https://bugs.webkit.org/show_bug.cgi?id=20403
3844        [Gtk] Segfault after a table with an iframe is attempted to be added twice to DOM model with javascript
3845
3846        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3847        (WebKit::FrameLoaderClient::frameLoaderDestroyed):
3848        (WebKit::FrameLoaderClient::detachedFromParent4):
3849
38502008-10-06  David Hyatt  <hyatt@apple.com>
3851
3852        Enable viewless Mac WebKit to paint some basic pages.
3853
3854        Reviewed by Sam Weinig
3855
3856        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3857        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
3858        * WebCoreSupport/FrameLoaderClientGtk.h:
3859
38602008-10-03  David Hyatt  <hyatt@apple.com>
3861
3862        Fix Gtk bustage from use of containingWindow() over on the WebKit side.  Replace with HostWindow use.
3863
3864        * webkit/webkitwebview.cpp:
3865
38662008-10-03  David Hyatt  <hyatt@apple.com>
3867
3868        https://bugs.webkit.org/show_bug.cgi?id=21340
3869
3870        Remove "containingWindow()/setContainingWindow()" from Widget.  HostWindow covers this now.
3871
3872        Reviewed by Dan Bernstein & Darin Adler
3873
3874        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3875        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
3876
38772008-10-03  Alp Toker  <alp@nuanti.com>
3878
3879        Remove some left-over GTK+ includes. No change in functionality.
3880
3881        * webkit/webkitwebhistoryitem.h:
3882
38832008-10-03  Alp Toker  <alp@nuanti.com>
3884
3885        Build fix following r37234. Remove addToDirtyRegion from the header
3886        too.
3887
3888        * WebCoreSupport/ChromeClientGtk.h:
3889
38902008-10-03  David Hyatt  <hyatt@apple.com>
3891
3892         Remove addToDirtyRegion.
3893
3894        Reviewed by Oliver Hunt
3895
3896        * WebCoreSupport/ChromeClientGtk.cpp:
3897
38982008-10-02  David Hyatt  <hyatt@apple.com>
3899
3900        https://bugs.webkit.org/show_bug.cgi?id=21314
3901
3902        Make scrollBackingStore cross-platform.
3903
3904        Reviewed by Sam Weinig
3905
3906        * WebCoreSupport/ChromeClientGtk.cpp:
3907        (WebKit::ChromeClient::repaint):
3908        (WebKit::ChromeClient::scroll):
3909        * WebCoreSupport/ChromeClientGtk.h:
3910
39112008-10-01  David Hyatt  <hyatt@apple.com>
3912
3913        https://bugs.webkit.org/show_bug.cgi?id=21282
3914
3915        Make contentsToScreen/screenToContents cross-platform.  Only implemented by Mac/Win right now.
3916
3917        Reviewed by Adam Roben
3918
3919        * WebCoreSupport/ChromeClientGtk.cpp:
3920        (WebKit::ChromeClient::windowToScreen):
3921        (WebKit::ChromeClient::screenToWindow):
3922        * WebCoreSupport/ChromeClientGtk.h:
3923
39242008-09-30  Dave Hyatt  <hyatt@apple.com>
3925
3926        http://bugs.webkit.org/show_bug.cgi?id=21250
3927
3928        Rename updateContents to repaintContentRectangle and make it cross-platform by always sending
3929        repaints up through the ChromeClient.
3930
3931        Reviewed by Darin Adler
3932
3933        * WebCoreSupport/ChromeClientGtk.cpp:
3934        (WebKit::ChromeClient::repaint):
3935        * WebCoreSupport/ChromeClientGtk.h:
3936
39372008-09-16  Alp Toker  <alp@nuanti.com>
3938
3939        Suggested by Dave Hyatt.
3940
3941        Build fix and cleanup. Rename ScrollBar to Scrollbar.
3942
3943        * webkit/webkitwebview.cpp:
3944
39452008-09-13  Adrien Nader  <camaradetux@gmail.com>
3946
3947        Gtk build fix, not reviewed.
3948
3949        * webkit/webkitwebview.cpp:
3950
39512008-09-10  Alp Toker  <alp@nuanti.com>
3952
3953        Reviewed by Mark Rowe.
3954
3955        https://bugs.webkit.org/show_bug.cgi?id=17267
3956        [GTK] Primary selection/clipboard support
3957
3958        Implement primary selection support (copying only, no paste yet).
3959
3960        * WebCoreSupport/EditorClientGtk.cpp:
3961        (WebKit::clipboard_get_contents_cb):
3962        (WebKit::clipboard_clear_contents_cb):
3963        (WebKit::EditorClient::respondToChangedSelection):
3964
39652008-09-07  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
3966
3967        Reviewed by Maciej Stachowiak.
3968
3969        Bug 20704: Replace the KJS namespace
3970        <https://bugs.webkit.org/show_bug.cgi?id=20704>
3971
3972        Rename the KJS namespace to JSC.
3973
3974        * webkit/webkitprivate.cpp:
3975        (webkit_init):
3976
39772008-09-05  Gustavo Noronha Silva  <gns@gnome.org>
3978
3979        Reviewed by Alp Toker.
3980
3981        https://bugs.webkit.org/show_bug.cgi?id=18346
3982        [GTK] Remove build warnings
3983
3984        Removed/commented code that is not (yet) used, and reordered
3985        member variables initialization for FrameLoaderClient, so that the
3986        compiler is happy and prints less warnings when building.
3987
3988        * WebCoreSupport/ContextMenuClientGtk.cpp:
3989        * WebCoreSupport/FrameLoaderClientGtk.cpp:
3990        (WebKit::FrameLoaderClient::FrameLoaderClient):
3991
39922008-09-03  Alp Toker  <alp@nuanti.com>
3993
3994        Build fix following r36073. Include config.h where necessary.
3995
3996        * WebCoreSupport/PasteboardHelperGtk.cpp:
3997        * webkit/webkitversion.cpp:
3998
39992008-09-01  Alp Toker  <alp@nuanti.com>
4000
4001        Reviewed by Eric Seidel.
4002
4003        https://bugs.webkit.org/show_bug.cgi?id=19939
4004        [GTK] webkit_web_history_item_get_title() fails with assertion
4005
4006        Make sure newly constructed WebHistoryItem objects wrap a WebCore
4007        history item when necessary. Avoid G_PARAM_CONSTRUCT since it destroys
4008        history data -- use WEBKIT_PARAM flags instead as they do the right
4009        thing. This restores history functionality.
4010
4011        Also use CString to simplify UTF-8 string management.
4012
4013        * webkit/webkitwebbackforwardlist.cpp:
4014        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
4015        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
4016        No need to initialize the vector with a size since it's cleared by the
4017        callee.
4018        * webkit/webkitwebhistoryitem.cpp:
4019        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
4020        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
4021        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
4022        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
4023        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
4024        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
4025        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
4026        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
4027        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
4028        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
4029
40302008-08-27  Adrien Nader  <camaradetux@gmail.com>
4031
4032        Reviewed by Eric Seidel.
4033
4034        https://bugs.webkit.org/show_bug.cgi?id=20099
4035        [GTK] SHIFT+PAGE_UP/DOWN doesn't extend selection
4036
4037        * WebCoreSupport/EditorClientGtk.cpp:
4038        (WebKit::EditorClient::handleKeyboardEvent):
4039
40402008-08-27  Brady Eidson  <beidson@apple.com>
4041
4042        Reviewed by Anders
4043
4044        <rdar://problem/6134133> - Crash when loading large movie as a standalone document
4045
4046        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4047        (WebKit::FrameLoaderClient::pluginWillHandleLoadError): Stubbed for now
4048        * WebCoreSupport/FrameLoaderClientGtk.h:
4049
40502008-08-18  Alp Toker  <alp@nuanti.com>
4051
4052        Reviewed by Holger Freyther.
4053
4054        https://bugs.webkit.org/show_bug.cgi?id=20350
4055        [GTK] Get DumpRenderTree working
4056
4057        Add a private function to WebFrame to dump the render tree as required
4058        for the DumpRenderTree testing tool.
4059
4060        * webkit/webkitprivate.h:
4061        * webkit/webkitwebframe.cpp:
4062
40632008-08-12  Timothy Hatcher  <timothy@apple.com>
4064
4065        Add a stub for InspectorClient::setAttachedWindowHeight.
4066
4067        * WebCoreSupport/InspectorClientGtk.cpp:
4068        (WebKit::InspectorClient::setAttachedWindowHeight):
4069        Call notImplemented().
4070        * WebCoreSupport/InspectorClientGtk.h:
4071
40722008-08-10  Alp Toker  <alp@nuanti.com>
4073
4074        Remove leftover qmake/GTK+ build files.
4075
4076        * webkit/headers.pri: Removed.
4077
40782008-08-02  Christian Dywan  <christian@twotoasts.de>
4079
4080        Reviewed by Eric Seidel.
4081
4082        Remove webkit-marshal.list, which was made obsolete in #19742
4083
4084        * webkit/webkit-marshal.list: Removed.
4085
40862008-08-01  Wouter Bolsterlee  <uws@xs4all.nl>
4087
4088        Reviewed by Eric Seidel.
4089
4090        https://bugs.webkit.org/show_bug.cgi?id=20035
4091        [GTK] Fix return value for webkit_web_view_go_to_back_forward_item()
4092
4093        * webkit/webkitwebview.cpp:
4094
40952008-07-30  Marco Barisione  <marco.barisione@collabora.co.uk>
4096
4097        Reviewed by Holger.
4098
4099        http://bugs.webkit.org/show_bug.cgi?id=19742
4100        [GTK] Auto generate webkitmarshal.list
4101
4102        Auto generate webkitmarshal.list from source files to reduce the
4103        number of conflicts when merging git branches or when applying
4104        patches.
4105        Also rename webkit-marshal.* to webkitmarshal.* for consistency.
4106
4107        * webkit/webkitwebframe.cpp: Include webkitmarshal.h instead of
4108         webkit-marshal.h.
4109        * webkit/webkitwebview.cpp: Ditto.
4110
41112008-07-30  Gustavo Noronha Silva  <gns@gnome.org>
4112
4113        Reviewed by Sam.
4114
4115        https://bugs.webkit.org/show_bug.cgi?id=20205
4116        Typo in comment for bracer ending block
4117
4118        * webkit/webkitprivate.cpp: Typo fix in comment for the brace
4119         that ends the WebKit namespace; WebCore -> WebKit
4120
41212008-07-26  Mark Rowe  <mrowe@apple.com>
4122
4123        Build fix.  Changes to accommodate newly named/signatured loading methods in WebCore.
4124
4125        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4126        (WebKit::FrameLoaderClient::createFrame):
4127
41282008-07-17  Christian Dywan  <christian@twotoasts.de>
4129
4130        Reviewed by Holger Freyther.
4131
4132        https://bugs.webkit.org/show_bug.cgi?id=19813
4133        [GTK] WebKit crashes on invalid settings notify callback
4134
4135        * webkit/webkitwebview.cpp: Disconnect in webkit_web_view_finalize
4136
41372008-07-08  Jan Michael Alonzo  <jmalonzo@webkit.org>
4138
4139        Reviewed by Christian Dywan.
4140
4141        Replace 'const' with G_CONST_RETURN macro to make it flexible to
4142        disable constness
4143
4144        * webkit/webkitnetworkrequest.cpp:
4145        * webkit/webkitnetworkrequest.h:
4146        * webkit/webkitwebframe.cpp:
4147        * webkit/webkitwebframe.h:
4148        * webkit/webkitwebhistoryitem.cpp:
4149        * webkit/webkitwebhistoryitem.h:
4150
41512008-06-18  Marco Barisione  <marco.barisione@collabora.co.uk>
4152
4153        Reviewed by Alp Toker.
4154
4155        https://bugs.webkit.org/show_bug.cgi?id=19171
4156        [GTK] GTypes for enumerations
4157
4158        Generate GTypes for public enumerations so they can be used as
4159        properties.
4160
4161        * GNUmakefile.am: Generate webkit-enum-types.cpp and
4162        webkit-enum-types.h.
4163
41642008-06-17  Christian Dywan  <christian@twotoasts.de>
4165
4166        Reviewed by Alp.
4167
4168        [GTK] WebKitWebHistoryItem needs properties
4169        https://bugs.webkit.org/show_bug.cgi?id=19558
4170
4171        Implement properties matching the existing accessors.
4172
4173        * webkit/webkitwebhistoryitem.cpp:
4174        (_WebKitWebHistoryItemPrivate::):
4175        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
4176        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_property):
4177        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_property):
4178        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
4179
41802008-06-15  Darin Adler  <darin@apple.com>
4181
4182        - give Frame object functions shorter names: scriptProxy() -> script(),
4183          selectionController() -> selection(), animationController() -> animation()
4184
4185        * WebCoreSupport/EditorClientGtk.cpp:
4186        (WebKit::EditorClient::handleKeyboardEvent):
4187        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4188        (WebKit::FrameLoaderClient::windowObjectCleared):
4189        * webkit/webkitwebframe.cpp:
4190        * webkit/webkitwebview.cpp:
4191
41922008-06-15  Darin Adler  <darin@apple.com>
4193
4194        - undo bogus renaming done by the script
4195
4196        * WebCoreSupport/ContextMenuClientGtk.cpp:
4197        * webkit/webkitnetworkrequest.h:
4198        * webkit/webkitwebbackforwardlist.h:
4199        * webkit/webkitwebframe.h:
4200        * webkit/webkitwebhistoryitem.h:
4201        * webkit/webkitwebsettings.h:
4202
42032008-06-15  Darin Adler  <darin@apple.com>
4204
4205        - new names for a few key JavaScriptCore files
4206
4207        * WebCoreSupport/ContextMenuClientGtk.cpp:
4208        * webkit/webkitnetworkrequest.h:
4209        * webkit/webkitwebbackforwardlist.h:
4210        * webkit/webkitwebframe.h:
4211        * webkit/webkitwebhistoryitem.h:
4212        * webkit/webkitwebsettings.h:
4213
42142008-06-15  Christian Dywan  <christian@twotoasts.de>
4215
4216        Reviewed by Alp Toker.
4217
4218        [GTK] Property setters do not call g_object_notify()
4219        https://bugs.webkit.org/show_bug.cgi?id=18405
4220
4221        * webkit/webkitwebview.cpp:
4222
42232008-06-15  Christian Dywan  <christian@twotoasts.de>
4224
4225        Reviewed by Alp Toker.
4226
4227        Tiny documentation fix, s/capacity/limit
4228
4229        * webkit/webkitwebbackforwardlist.cpp:
4230
42312008-06-14  Darin Adler  <darin@apple.com>
4232
4233        Rubber stamped by Sam.
4234
4235        - new names for kjs_binding.h and kjs_proxy.h
4236
4237        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4238        * webkit/webkitwebframe.cpp:
4239
42402008-06-14  Darin Adler  <darin@apple.com>
4241
4242        - fix build
4243
4244        * webkit/webkitwebframe.cpp: Remove a bogus release() call.
4245
42462008-06-14  Darin Adler  <darin@apple.com>
4247
4248        Reviewed by Sam.
4249
4250        - more https://bugs.webkit.org/show_bug.cgi?id=17257
4251          start ref counts at 1 instead of 0 for speed
4252
4253        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4254        (WebKit::FrameLoaderClient::createDocumentLoader): Use create instead of new.
4255        * webkit/webkitwebframe.cpp:
4256        (webkit_web_frame_new): Ditto.
4257        (webkit_web_frame_init_with_web_view): Ditto.
4258
42592008-06-13  Darin Adler  <darin@apple.com>
4260
4261        - try to fix build
4262
4263        * WebCoreSupport/FrameLoaderClientGtk.h: Add missing argument.
4264
42652008-06-13  Darin Adler  <darin@apple.com>
4266
4267        Reviewed by John Sullivan.
4268
4269        - updated for addition of FormState argument to action policy functions
4270
4271        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4272        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
4273        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
4274
42752008-06-10  Christian Dywan  <christian@twotoasts.de>
4276
4277        Reviewed by Alp Toker and Darin Adler.
4278
4279        https://bugs.webkit.org/show_bug.cgi?id=16676
4280        Apply GTK coding style to WebKit Gtk public headers
4281
4282        * webkit/webkitnetworkrequest.h:
4283        * webkit/webkitwebbackforwardlist.h:
4284        * webkit/webkitwebframe.h:
4285        * webkit/webkitwebhistoryitem.h:
4286        * webkit/webkitwebsettings.h:
4287        * webkit/webkitwebview.h:
4288
42892008-06-07  Jan Michael Alonzo  <jmalonzo@webkit.org>
4290
4291        Confirmed by Christian Dywan.
4292
4293        Gtk build fix for r34432
4294
4295        * webkit/webkitwebhistoryitem.cpp:
4296        (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
4297        (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
4298        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
4299        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
4300        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
4301        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
4302        (WebKit::core):
4303
43042008-06-07  Darin Adler  <darin@apple.com>
4305
4306        - try to fix build after HistoryItem changes
4307
4308        * webkit/webkitwebhistoryitem.cpp:
4309        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new): Use HistoryItem::create.
4310        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data): Ditto. I also
4311        believe this fixes a memory leak in the old version.
4312
43132008-06-07  Christian Dywan  <christian@twotoasts.de>
4314
4315        Reviewed by Alp Toker.
4316
4317        https://bugs.webkit.org/show_bug.cgi?id=17324
4318        Remove PLATFORM ifdefs from ContextMenu.cpp
4319
4320        * WebCoreSupport/ContextMenuClientGtk.cpp:
4321        (WebKit::ContextMenuClient::ContextMenuClient):
4322        (WebKit::ContextMenuClient::contextMenuDestroyed):
4323        (WebKit::inputMethodsMenuItem):
4324        (WebKit::):
4325        (WebKit::insertControlCharacter):
4326        (WebKit::unicodeMenuItem):
4327        (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
4328        * WebCoreSupport/ContextMenuClientGtk.h:
4329        * webkit/webkitwebview.cpp:
4330
43312008-06-05  Alp Toker  <alp@nuanti.com>
4332
4333        Add 'Since' documentation for API versioning functions.
4334
4335        * webkit/webkitversion.cpp:
4336
43372008-06-05  Christian Dywan  <christian@twotoasts.de>
4338
4339        Reviewed by Alp Toker.
4340
4341        https://bugs.webkit.org/show_bug.cgi?id=14141
4342        Please add a version to the Gtk port
4343
4344        * webkit/webkit.h:
4345        * webkit/webkitversion.cpp: Added.
4346        * webkit/webkitversion.h.in: Added.
4347        * webkit/webkitwebsettings.cpp:
4348        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
4349        * webkit/webkitwebview.cpp:
4350
43512008-06-01  Alp Toker  <alp@nuanti.com>
4352
4353        Suggested by Christian Dywan.
4354
4355        Use float literals for zoom values and improve documentation wording.
4356
4357        * webkit/webkitwebsettings.cpp:
4358        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
4359        * webkit/webkitwebview.cpp:
4360
43612008-06-01  Alp Toker  <alp@nuanti.com>
4362
4363        Reviewed by Oliver.
4364
4365        Remove webkit_web_view_go_backward(),
4366        webkit_web_view_can_go_backward(). These have been obsoleted by
4367        the back() versions for quite a while.
4368
4369        * webkit/webkitwebview.cpp:
4370        * webkit/webkitwebview.h:
4371
43722008-05-31  Alp Toker  <alp@nuanti.com>
4373
4374        Fix inconsistent zoom docs and enum name landed in r34249. Issue
4375        noticed by Marco Barisione.
4376
4377        * webkit/webkitwebview.cpp:
4378
43792008-05-30  Carlos Martín Nieto  <carlos@cmartin.tk>
4380
4381        Reviewed by Alp Toker.
4382
4383        http://bugs.webkit.org/show_bug.cgi?id=18383
4384        [GTK] The "hovering-over-link" signal arguments aren't documented.
4385
4386        * webkit/webkitwebview.cpp:
4387
43882008-05-29  Marco Barisione  <marco@collabora.co.uk>
4389
4390        Reviewed (and tweaked) by Alp Toker.
4391
4392        http://bugs.webkit.org/show_bug.cgi?id=18281
4393        [GTK] add functions to set/get the zoom level
4394
4395        * webkit/webkitwebsettings.cpp:
4396        (_WebKitWebSettingsPrivate::):
4397        (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
4398        (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
4399        (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
4400        * webkit/webkitwebview.cpp: Add functions to get and set the zoom
4401        level.
4402        * webkit/webkitwebview.h: Ditto.
4403        * webkit/webkitprivate.h:
4404
44052008-05-28  Alp Toker  <alp@nuanti.com>
4406
4407        Reviewed by Alexey Proskuryakov.
4408
4409        http://bugs.webkit.org/show_bug.cgi?id=18704
4410        [gtk] cannot type letters with dead keys in textarea
4411
4412        http://bugs.webkit.org/show_bug.cgi?id=14120
4413        [GDK] Support input methods
4414
4415        Add support for input method composition.
4416
4417        Remove some old hacks so we handle input method events more
4418        consistently.
4419
4420        * WebCoreSupport/EditorClientGtk.cpp:
4421        (WebKit::imContextCommitted):
4422        (WebKit::imContextPreeditChanged):
4423        (WebKit::EditorClient::setInputMethodState):
4424        (WebKit::EditorClient::respondToChangedSelection):
4425        (WebKit::EditorClient::handleInputMethodKeydown):
4426        (WebKit::EditorClient::EditorClient):
4427        (WebKit::EditorClient::~EditorClient):
4428        (WebKit::EditorClient::textFieldDidBeginEditing):
4429        (WebKit::EditorClient::textFieldDidEndEditing):
4430        (WebKit::EditorClient::textDidChangeInTextField):
4431        (WebKit::EditorClient::doTextFieldCommandFromEvent):
4432        * webkit/webkitwebview.cpp:
4433
44342008-05-25  Alp Toker  <alp@nuanti.com>
4435
4436        Reviewed by Niko.
4437
4438        Drop WebView focus when the widget is focused out.
4439
4440        * webkit/webkitwebview.cpp:
4441
44422008-05-25  Sriram Neelakandan  <sriram.neelakandan@gmail.com>
4443
4444        Reviewed by Alp Toker.
4445
4446        http://bugs.webkit.org/show_bug.cgi?id=18935
4447        [Gtk] Plugin Load crashes with NP_FULL mode
4448
4449        Fix crash due to uninitialized variable.
4450
4451        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4452        (WebKit::FrameLoaderClient::FrameLoaderClient):
4453
44542008-05-24  Alp Toker  <alp@nuanti.com>
4455
4456        https://bugs.webkit.org/show_bug.cgi?id=18825
4457        webkitgtk fails to build from source: "Database Tracker" has not been declared
4458
4459        GTK+ fix for building without database support.
4460        exceededDatabaseQuota() still needs to be present, just a no-op.
4461
4462        * WebCoreSupport/ChromeClientGtk.cpp:
4463        (WebKit::ChromeClient::exceededDatabaseQuota):
4464
44652008-05-23  Alp Toker  <alp@nuanti.com>
4466
4467        GTK+ fixes for building without database support.
4468
4469        * WebCoreSupport/ChromeClientGtk.cpp:
4470
44712008-05-19  Alp Toker  <alp@nuanti.com>
4472
4473        Reviewed by Anders and Beth.
4474
4475        http://bugs.webkit.org/show_bug.cgi?id=16495
4476        [GTK] Accessibility support with ATK/AT-SPI
4477
4478        Initial ATK/AT-SPI accessibility support for the GTK+ port.
4479
4480        * webkit/webkitwebview.cpp:
4481
44822008-05-06  Christian Dywan  <christian@twotoasts.de>
4483
4484        Rubber stamped by Alp.
4485
4486        Back out 17626. It wasn't ready for commit.
4487
4488        * webkit/webkitprivate.h:
4489        * webkit/webkitwebview.cpp:
4490        * webkit/webkitwebview.h:
4491
44922008-05-01  Marc Ordinas i Llopis  <marc.ordinasillopis@collabora.co.uk>
4493
4494        Reviewed by Alp Toker.
4495
4496        https://bugs.webkit.org/show_bug.cgi?id=14750
4497        Added support for NPAPI plugins on Gtk and Qt-x11 ports.
4498
4499        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4500        (WebKit::FrameLoaderClient::FrameLoaderClient):
4501        (WebKit::FrameLoaderClient::committedLoad):
4502        (WebKit::FrameLoaderClient::createPlugin):
4503        (WebKit::FrameLoaderClient::redirectDataToPlugin):
4504        (WebKit::FrameLoaderClient::finishedLoading):
4505        (WebKit::FrameLoaderClient::setMainDocumentError):
4506        * WebCoreSupport/FrameLoaderClientGtk.h:
4507
45082008-04-30  Sean Egan  <seanegan@gmail.com>
4509
4510        Reviewed and modified by Holger.
4511
4512        https://bugs.webkit.org/show_bug.cgi?id=17626
4513        Support setting background color and a 16-bit alpha channel.
4514
4515        * webkit/webkitprivate.h:
4516        * webkit/webkitwebview.cpp:
4517        * webkit/webkitwebview.h:
4518
45192008-04-24  Dan Bernstein  <mitz@apple.com>
4520
4521        - build fix
4522
4523        * webkit/webkitwebview.cpp:
4524
45252008-04-24  Anders Carlsson  <andersca@apple.com>
4526
4527        Reviewed by Sam.
4528
4529        Change some String arguments to be const references instead.
4530
4531        * WebCoreSupport/EditorClientGtk.cpp:
4532        (WebKit::EditorClient::shouldInsertText):
4533        * WebCoreSupport/EditorClientGtk.h:
4534
45352008-04-23  Christian Dywan  <christian@twotoasts.de>
4536
4537        Reviewed by Alp Toker.
4538
4539        Emit a warning about an unknown setting only if it is
4540        not a valid property. Otherwise applications can't
4541        subclass WebKitWebSettings to add new properties.
4542
4543        * webkit/webkitwebview.cpp:
4544
45452008-04-20  Simon Hausmann  <hausmann@webkit.org>
4546
4547        Reviewed by Alp Toker.
4548
4549        http://bugs.webkit.org/show_bug.cgi?id=18578
4550        Share the printing code between the Gtk and the Qt port
4551
4552        Share the printing code between the Gtk and the Qt port
4553        and added printing to the Qt WebKit API.
4554
4555        * webkit/webkitwebframe.cpp: Removed PrintContext in favour of
4556        page/Printcontext.cpp/h
4557
45582008-04-19  Alp Toker  <alp@nuanti.com>
4559
4560        Reviewed by Maciej.
4561
4562        Enable visited link tracking by default at startup.
4563
4564        With this patch, the GTK+ port rendering of Acid3 now matches the
4565        reference page.
4566
4567        * webkit/webkitprivate.cpp:
4568        (WebKit::core):
4569        (webkit_init):
4570
45712008-04-11  Mark Rowe  <mrowe@apple.com>
4572
4573        Gtk build fix after r32231.
4574
4575        * webkit/webkitwebview.cpp: Update to use contentRenderer.
4576
45772008-04-18  Alp Toker  <alp@atoker.com>
4578
4579        Rubber-stamped by Holger Freyther.
4580
4581        http://bugs.webkit.org/show_bug.cgi?id=18218
4582        [Gtk] segfault when clicking on a disabled button
4583
4584        Always use the main frame for mouse events (not the focused frame)
4585        since it knows best how to get the event through to the right target.
4586
4587        This also fixes a null crasher.
4588
4589        * webkit/webkitwebview.cpp:
4590
45912008-04-17  Alp Toker  <alp@atoker.com>
4592
4593        Rubber-stamped by Holger Freyther.
4594
4595        Reduce hard-coded page-cache count to 3 based on research done for the
4596        Mac port on value / page.
4597
4598        We will need to make this more dynamic or configurable at some point
4599        but for now it's best to keep closer to the behaviour before page
4600        caching was enabled.
4601
4602        Issue spotted by Mark Rowe.
4603
4604        * webkit/webkitprivate.cpp:
4605        (webkit_init):
4606
46072008-04-17  Daniele Metilli  <daniele.metilli@gmail.com>
4608
4609        Reviewed by Eric.
4610
4611        Fixed a typo in the copyright header.
4612
4613        * webkit/webkitprivate.h:
4614
46152008-04-14  Holger Freyther  <zecke@selfish.org>
4616
4617        Reviewed by Alp Toker.
4618
4619        https://bugs.webkit.org/show_bug.cgi?id=18411
4620        Enable Page caching and create FrameViews on the fly
4621
4622        Create the FrameView on the fly and cache pages
4623
4624        - Keep a copy of the GtkAdjustment to be able to reuse it for the
4625          FrameViews
4626        - Do not initially create a FrameView and update the WebKit code to
4627          cope with not having a view.
4628        - Cache seven pages by default.
4629
4630        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4631        (WebKit::FrameLoaderClient::createFrame):
4632        (WebKit::FrameLoaderClient::canCachePage):
4633        (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
4634        (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
4635        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
4636        * webkit/webkitprivate.cpp:
4637        (webkit_init):
4638        * webkit/webkitprivate.h:
4639        * webkit/webkitwebframe.cpp:
4640        * webkit/webkitwebview.cpp:
4641
46422008-04-10  Mario Bensi  <mbensi@pleyo.com>
4643
4644        Reviewed by Alp Toker.
4645
4646        https://bugs.webkit.org/show_bug.cgi?id=18400
4647        Database example doesn't work on Gtk port
4648
4649        Fix quota in ChromeClient
4650
4651        * WebCoreSupport/ChromeClientGtk.cpp:
4652        (WebKit::ChromeClient::exceededDatabaseQuota):
4653
46542008-04-08  Adam Roben  <aroben@apple.com>
4655
4656        Move callOnMainThread to WTF
4657
4658        Reviewed by Alexey Proskuryakov.
4659
4660        * webkit/webkitprivate.cpp: Updated #include.
4661        (webkit_init): Changed to call KJS::initializeThreading.
4662
46632008-04-06  Luca Bruno  <lethalman88@gmail.com>
4664
4665        Reviewed by Alp Toker.
4666
4667        Fix webkit_web_view_get_transparent() return value.
4668
4669        * webkit/webkitwebview.cpp:
4670
46712008-03-31  Jasper Bryant-Greene  <jasper@unix.geek.nz>
4672
4673        Reviewed by Darin Adler.
4674
4675        Resolves http://bugs.webkit.org/show_bug.cgi?id=18010
4676        "WebKitNetworkRequestPrivate is defined in two places unnecessarily"
4677
4678        Removed unnecessary definition of WebKitNetworkRequestPrivate in
4679        webkitprivate.h
4680
4681        * webkit/webkitprivate.h:
4682
46832008-03-25  Brady Eidson  <beidson@apple.com>
4684
4685        Reviewed by Darin
4686
4687        Remove newly obsolete FrameLoaderClient methods
4688
4689        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4690        * WebCoreSupport/FrameLoaderClientGtk.h:
4691
46922008-03-20  Alp Toker  <alp@atoker.com>
4693
4694        GTK+ build fix. Back out r31183. This patch also introduced API style
4695        issues.
4696
4697        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4698        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
4699        * webkit/headers.pri:
4700        * webkit/webkit-marshal.list:
4701        * webkit/webkitdefines.h:
4702        * webkit/webkitnavigationaction.cpp: Removed.
4703        * webkit/webkitnavigationaction.h: Removed.
4704        * webkit/webkitprivate.cpp:
4705        * webkit/webkitprivate.h:
4706        * webkit/webkitwebview.cpp:
4707        * webkit/webkitwebview.h:
4708
47092008-03-20  Jasper Bryant-Greene  <jasper@unix.geek.nz>
4710
4711        Reviewed and tweaked by Anders.
4712
4713        Resolves http://bugs.webkit.org/show_bug.cgi?id=16092
4714        "[GTK] Middle-mouse click should allow opening a URL in a new tab"
4715
4716        Created WebKitNavigationAction object exported through the API. The
4717        navigation-requested signal provides this object as context for the
4718        requested navigation, allowing the application to decide what to do
4719        with the navigation based on which mouse button was used, which
4720        modifier keys were held down, etc. This allows, for example, the
4721        application to open links in a new tab when either middle-click or
4722        control-click are used to initiate the navigation.
4723
4724        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4725        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
4726        * webkit/headers.pri:
4727        * webkit/webkit-marshal.list:
4728        * webkit/webkitdefines.h:
4729        * webkit/webkitnavigationaction.cpp: Added.
4730        (webkit_navigation_action_finalize):
4731        (webkit_navigation_action_class_init):
4732        (webkit_navigation_action_init):
4733        (webkit_navigation_action_get_button):
4734        (webkit_navigation_action_get_modifier_flags):
4735        (webkit_navigation_action_get_navigation_type):
4736        (webkit_navigation_action_get_original_url):
4737        * webkit/webkitnavigationaction.h: Added.
4738        * webkit/webkitprivate.cpp:
4739        (WebKit::kit):
4740        * webkit/webkitprivate.h:
4741        * webkit/webkitwebview.cpp:
4742        * webkit/webkitwebview.h:
4743
47442008-03-18  Rodney Dawes  <dobey@wayofthemonkey.com>
4745
4746        Reviewed and landed by jhoneycutt.
4747
4748        Update to check if the MIME type is supported by a plugin.
4749
4750        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4751        (FrameLoaderClient::objectContentType):
4752
47532008-03-18  Rodney Dawes  <dobey@wayofthemonkey.com>
4754
4755        Reviewed by Jon Honeycutt.
4756
4757        Update setContainingWindow() calls to pass a GtkWidget.
4758
4759        * webkit/webkitwebframe.cpp:
4760        (webkit_web_frame_new):
4761        (webkit_web_frame_init_with_web_view):
4762
47632008-03-13  Rodney Dawes  <dobey@wayofthemonkey.com>
4764
4765        Fix GTK+ build for SharedBuffer changes.
4766
4767        * webkit/webkitwebview.cpp:
4768        (webkit_web_view_load_string):
4769
47702008-03-12  Tommi Komulainen  <tommi.komulainen@iki.fi>
4771
4772        Reviewed by Alp Toker.
4773
4774        http://bugs.webkit.org/show_bug.cgi?id=17799
4775        WebView signals should use more specific types
4776
4777        * webkit/webkitwebview.cpp: Use WEBKIT_TYPE_WEB_FRAME argument
4778        type in "script-alert", "script-confirm", "script-script-prompt"
4779        signals so that it gets more clearly documented rather than just
4780        plain GObject.
4781
47822008-03-10  Xan Lopez  <xan@gnome.org>
4783
4784        Reviewed by Alp Toker.
4785
4786        Fix "missing braces" compiler warning.
4787
4788        * webkit/webkitwebview.cpp:
4789
47902008-03-04  Sam Weinig  <sam@webkit.org>
4791
4792        Reviewed by Mark Rowe.
4793
4794        - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
4795          JSDOMWindow.h
4796
4797        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4798        * webkit/webkitwebframe.cpp:
4799
48002008-03-03  Sam Weinig  <sam@webkit.org>
4801
4802        GTK+ build fix.
4803
4804        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4805        (WebKit::FrameLoaderClient::windowObjectCleared):
4806
48072008-03-03  Alp Toker  <alp@atoker.com>
4808
4809        Fix the GTK+ build following breakage introduced in r30712.
4810
4811        * WebCoreSupport/EditorClientGtk.cpp:
4812        (WebKit::imContextCommitted):
4813
48142008-03-02  Alp Toker  <alp@atoker.com>
4815
4816        Reviewed by Mark Rowe.
4817
4818        Split the WebKit GTK+ build out of the WebCore build and change the
4819        shared object name to match the package name.
4820
4821        * webkit.pc.in:
4822
48232008-02-27  Adam Roben  <aroben@apple.com>
4824
4825        Attempt to fix the GTK+ build
4826
4827        * webkit/webkitwebframe.cpp:
4828
48292008-02-24  Darin Adler  <darin@apple.com>
4830
4831        Reviewed by Sam.
4832
4833        - remove separate client calls for "standard" and "reload' history
4834
4835        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4836        (WebKit::FrameLoaderClient::updateGlobalHistory):
4837        * WebCoreSupport/FrameLoaderClientGtk.h:
4838
48392008-02-23  Alexey Proskuryakov  <ap@webkit.org>
4840
4841        Build fix.
4842
4843        * webkit/webkitprivate.cpp:
4844        (webkit_init): Renamed initializeThreading to initializeThreadingAndMainThread.
4845
48462008-02-18  Alp Toker  <alp@atoker.com>
4847
4848        Reviewed by Mark Rowe.
4849
4850        http://bugs.webkit.org/show_bug.cgi?id=17312
4851        [GTK] Webview Transparent Background
4852
4853        Add support for WebView background transparency.
4854
4855        * webkit/webkitprivate.h:
4856        * webkit/webkitwebview.cpp:
4857        * webkit/webkitwebview.h:
4858
48592008-02-18  Alp Toker  <alp@atoker.com>
4860
4861        Reviewed by Mark Rowe.
4862
4863        Implement webkit_web_view_get_focused_frame()
4864
4865        Equivalent to selectedFrame in the Mac API.
4866
4867        * webkit/webkitwebview.cpp:
4868        * webkit/webkitwebview.h:
4869
48702008-02-17  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
4871
4872        Reviewed by Mark Rowe.
4873
4874        Fix a crash introduced in changeset #29985 by moving the dereference to after
4875        the null check.
4876
4877        * webkit/webkitwebhistoryitem.cpp:
4878        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
4879
48802008-02-15  Alp Toker  <alp@atoker.com>
4881
4882        Fix the GTK+ build following breakage introduced in r30243.
4883
4884        * WebCoreSupport/ChromeClientGtk.cpp:
4885        (WebKit::ChromeClient::mouseDidMoveOverElement):
4886        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4887        (WebKit::FrameLoaderClient::objectContentType):
4888
48892008-02-15  Darin Adler  <darin@apple.com>
4890
4891        - another try at fixing the build
4892
4893        * webkit/webkitwebview.cpp: Added some explicit conversions to KURL.
4894
48952008-02-14  Darin Adler  <darin@apple.com>
4896
4897        * webkit/webkitwebframe.cpp: Removed DeprecatedString use to try to keep it building.
4898        * webkit/webkitwebview.cpp: Ditto.
4899
49002008-02-14  Holger Hans Peter Freyther  <zecke@selfish.org>
4901
4902        Reviewed by Alp.
4903
4904        * Make the handling of the coreFrame consistent. We construct the coreFrame
4905        at the beginning and it will live until the end. Change the g_return_(val_)if
4906        to ASSERTs as having a 0 coreFrame can never happen.
4907
4908        * webkit/webkitwebframe.cpp:
4909        (PrintContext::webkit_web_frame_print):
4910
49112008-02-14  Holger Hans Peter Freyther  <zecke@selfish.org>
4912
4913        Reviewed by Alp.
4914
4915        * Make sure that the WebCore::Frame is living as long as the WebKitWebFrame
4916        wrapped around it. All current calls to WebCore::Frame from within the
4917        WebKitWebFrame are safe, even in the case where the WebCore::Frame is already
4918        detached from the WebCore::Page.
4919        * For the mainFrame the WebKitWebView is holding the initial reference and
4920        will unref on destruction.
4921        * For sub-frames the FramerLoaderClientGtk.cpp will do the unrefing when the
4922        frame gets detached from the parent.
4923        * Make sure FrameLoader::detachFromParent gets called by calling FrameLoader::detachChildren
4924
4925        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4926        (WebKit::FrameLoaderClient::detachedFromParent4):
4927        * webkit/webkitprivate.cpp:
4928        (WebKit::core):
4929        * webkit/webkitprivate.h:
4930        * webkit/webkitwebframe.cpp:
4931        * webkit/webkitwebview.cpp:
4932
49332008-02-14  Holger Hans Peter Freyther  <zecke@selfish.org>
4934
4935        Reviewed by Alp.
4936
4937        WebCore::Frame is RefCounted, do not manually delete it!
4938
4939        * webkit/webkitwebframe.cpp:
4940
49412008-02-14  Holger Hans Peter Freyther  <zecke@selfish.org>
4942
4943        Reviewed by Alp.
4944
4945        * Plug a leak
4946
4947        * webkit/webkitwebframe.cpp:
4948
49492008-02-14  Holger Hans Peter Freyther  <zecke@selfish.org>
4950
4951        Reviewed by Alp.
4952
4953        * Update the Copyright Information
4954
4955        * WebCoreSupport/FrameLoaderClientGtk.cpp:
4956        * webkit/webkitprivate.h:
4957        * webkit/webkitwebframe.cpp:
4958
49592008-02-13  Alp Toker  <alp@atoker.com>
4960
4961        Reviewed by Adam Roben.
4962
4963        Fix very small, upside down, inside out text on GTK+/DirectFB.
4964
4965        Based on an initial patch by Sriram Neelakandan <sriram.neelakandan@gmail.com>
4966
4967        Test the result of gdk_screen_get_resolution() and use a default
4968        fallback in case of failure.
4969
4970        Also remove an unhelpful runtime warning.
4971
4972        * webkit/webkitwebview.cpp:
4973
49742008-02-08  Pierre-Luc Beaudoin  <pierre-luc.beaudoin@collabora.co.uk>
4975
4976        Reviewed by Alp Toker.
4977
4978        http://bugs.webkit.org/show_bug.cgi?id=17009
4979        [Gtk] Webkit strips accents from some dead-key combinations
4980
4981        KeyEvents have to go through the gtk input method.
4982
4983        * WebCoreSupport/EditorClientGtk.cpp:
4984        (WebKit::imContextCommitted):
4985        (WebKit::EditorClient::doTextFieldCommandFromEvent):
4986
49872008-02-05  Mark Rowe  <mrowe@apple.com>
4988
4989        Reviewed by Alp Toker.
4990
4991        Fix warnings seen on the Gtk port by declaring variables and using constants of the correct types.
4992
4993        * webkit/webkitwebbackforwardlist.cpp:
4994        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
4995        * webkit/webkitwebhistoryitem.cpp:
4996        * webkit/webkitwebview.cpp:
4997
49982008-02-04  Christian Dywan  <christian@imendio.com>
4999
5000        Reviewed by Alp Toker.
5001
5002        http://bugs.webkit.org/show_bug.cgi?id=17065
5003        [GTK] Use a consistent coding style
5004
5005        * WebCoreSupport/EditorClientGtk.cpp:
5006        (WebKit::imContextCommitted):
5007        (WebKit::EditorClient::EditorClient):
5008        (WebKit::EditorClient::~EditorClient):
5009        (WebKit::EditorClient::textFieldDidEndEditing):
5010        * webkit/webkitdefines.h:
5011        * webkit/webkitnetworkrequest.cpp:
5012        (_WebKitNetworkRequestPrivate::webkit_network_request_finalize):
5013        (_WebKitNetworkRequestPrivate::webkit_network_request_class_init):
5014        (_WebKitNetworkRequestPrivate::webkit_network_request_init):
5015        (_WebKitNetworkRequestPrivate::webkit_network_request_new):
5016        (_WebKitNetworkRequestPrivate::webkit_network_request_set_uri):
5017        (_WebKitNetworkRequestPrivate::webkit_network_request_get_uri):
5018        * webkit/webkitnetworkrequest.h:
5019        * webkit/webkitprivate.cpp:
5020        (WebKit::getViewFromFrame):
5021        (WebKit::core):
5022        * webkit/webkitprivate.h:
5023        * webkit/webkitwebbackforwardlist.cpp:
5024        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_new_with_web_view):
5025        * webkit/webkitwebbackforwardlist.h:
5026        * webkit/webkitwebframe.cpp:
5027        * webkit/webkitwebframe.h:
5028        * webkit/webkitwebhistoryitem.cpp:
5029        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
5030        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
5031        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
5032        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
5033        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
5034        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
5035        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
5036        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
5037        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
5038        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
5039        (WebKit::core):
5040        * webkit/webkitwebhistoryitem.h:
5041        * webkit/webkitwebsettings.h:
5042        * webkit/webkitwebview.cpp:
5043        * webkit/webkitwebview.h:
5044
50452008-02-04  Alp Toker  <alp@atoker.com>
5046
5047        Rubber-stamped by Mark Rowe.
5048
5049        Remove all trailing whitespace in the GTK+ port and related
5050        components.
5051
5052        * WebCoreSupport/DragClientGtk.h:
5053        * WebCoreSupport/FrameLoaderClientGtk.h:
5054        * WebCoreSupport/InspectorClientGtk.h:
5055        * WebCoreSupport/PasteboardHelperGtk.h:
5056        * webkit/webkitprivate.h:
5057        * webkit/webkitwebbackforwardlist.cpp:
5058        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
5059        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
5060        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_item):
5061        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_length):
5062        * webkit/webkitwebhistoryitem.cpp:
5063        (_WebKitWebHistoryItemPrivate::webkit_history_items):
5064        (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
5065        (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
5066        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
5067        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
5068        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
5069        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
5070        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
5071        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
5072        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_last_visited_time):
5073        (WebKit::kit):
5074        * webkit/webkitwebhistoryitem.h:
5075        * webkit/webkitwebview.cpp:
5076        * webkit/webkitwebview.h:
5077
50782008-02-03  Christian Dywan  <christian@imendio.com>
5079
5080        Reviewed by Alp Toker.
5081
5082        http://bugs.webkit.org/show_bug.cgi?id=17046
5083        [GTK] Context menu fixes and customisation suport
5084
5085        * webkit/webkitwebview.cpp:
5086
50872008-01-31  Alp Toker  <alp@atoker.com>
5088
5089        Reviewed by Mark Rowe.
5090
5091        Fix the pkg-config file to follow GTK+ package naming and versioning
5092        conventions.
5093
5094        Remove unneeded dependency listings.
5095
5096        * WebKitGtk.pc.in: Removed.
5097        * webkit.pc.in: Copied from WebKit/gtk/WebKitGtk.pc.in.
5098
50992008-01-31  Alp Toker  <alp@atoker.com>
5100
5101        Rubber-stamped by Adam Roben.
5102
5103        http://bugs.webkit.org/show_bug.cgi?id=17006
5104        [GTK] Header path should be webkit/webkit.h
5105
5106        Move the GTK+ API sources as needed and update the build systems.
5107
5108        * WebView: Removed.
5109        * WebView/headers.pri: Removed.
5110        * WebView/webkit-marshal.list: Removed.
5111        * WebView/webkit.h: Removed.
5112        * WebView/webkitdefines.h: Removed.
5113        * WebView/webkitnetworkrequest.cpp: Removed.
5114        * WebView/webkitnetworkrequest.h: Removed.
5115        * WebView/webkitprivate.cpp: Removed.
5116        * WebView/webkitprivate.h: Removed.
5117        * WebView/webkitwebbackforwardlist.cpp: Removed.
5118        * WebView/webkitwebbackforwardlist.h: Removed.
5119        * WebView/webkitwebframe.cpp: Removed.
5120        * WebView/webkitwebframe.h: Removed.
5121        * WebView/webkitwebhistoryitem.cpp: Removed.
5122        * WebView/webkitwebhistoryitem.h: Removed.
5123        * WebView/webkitwebsettings.cpp: Removed.
5124        * WebView/webkitwebsettings.h: Removed.
5125        * WebView/webkitwebview.cpp: Removed.
5126        * WebView/webkitwebview.h: Removed.
5127        * webkit: Copied from WebKit/gtk/WebView.
5128        * webkit/webkit.h:
5129        * webkit/webkitnetworkrequest.h:
5130        * webkit/webkitprivate.h:
5131        * webkit/webkitwebbackforwardlist.h:
5132        * webkit/webkitwebframe.h:
5133        * webkit/webkitwebhistoryitem.h:
5134        * webkit/webkitwebsettings.h:
5135        * webkit/webkitwebview.h:
5136
51372008-01-27  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
5138
5139        Reviewed by Alp Toker.
5140
5141        http://bugs.webkit.org/show_bug.cgi?id=14811
5142        [gtk] [request] add a webkit_gtk_page_go_to_history_item function
5143
5144        implement back/forward list and history item
5145
5146        * WebView/headers.pri:
5147        * WebView/webkit.h:
5148        * WebView/webkitprivate.cpp:
5149        * WebView/webkitprivate.h:
5150        * WebView/webkitwebbackforwardlist.cpp: Added.
5151        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_dispose):
5152        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_class_init):
5153        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_init):
5154        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_new_with_web_view):
5155        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_forward):
5156        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_back):
5157        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
5158        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_to_item):
5159        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
5160        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
5161        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_item):
5162        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_current_item):
5163        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_item):
5164        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_nth_item):
5165        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_length):
5166        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_length):
5167        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_limit):
5168        (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_set_limit):
5169        * WebView/webkitwebbackforwardlist.h: Added.
5170        * WebView/webkitwebhistoryitem.cpp: Added.
5171        (_WebKitWebHistoryItemPrivate::webkit_history_items):
5172        (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
5173        (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
5174        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
5175        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
5176        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
5177        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_init):
5178        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
5179        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
5180        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
5181        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
5182        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
5183        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
5184        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
5185        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
5186        (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_last_visited_time):
5187        (WebKit::core):
5188        (WebKit::kit):
5189        * WebView/webkitwebhistoryitem.h: Added.
5190        * WebView/webkitwebview.cpp:
5191        * WebView/webkitwebview.h:
5192
51932008-01-25  Ori Bernstein  <ori@eigenstate.org>
5194
5195        Reviewed by Alp Toker.
5196
5197        http://bugs.webkit.org/show_bug.cgi?id=16795
5198        WebKitGtk crashes when there is no focused Frame
5199
5200        Add a null check. focusedFrame() isn't used directly anywhere else so
5201        this is the only case that needs to be fixed.
5202
5203        * WebView/webkitwebview.cpp:
5204
52052008-01-22  Christian Dywan  <christian@imendio.com>
5206
5207        Reviewed by Alp Toker.
5208
5209        [GTK] API: WebKitWebSettings is not usable
5210        http://bugs.webkit.org/show_bug.cgi?id=16219
5211
5212        Implement WebKitWebSettings.
5213
5214        * WebView/headers.pri:
5215        * WebView/webkit.h:
5216        * WebView/webkitprivate.cpp:
5217        * WebView/webkitprivate.h:
5218        * WebView/webkitsettings.cpp: Removed.
5219        * WebView/webkitsettings.h: Removed.
5220        * WebView/webkitwebsettings.cpp: Added.
5221        * WebView/webkitwebsettings.h: Added.
5222        * WebView/webkitwebview.cpp:
5223        * WebView/webkitwebview.h:
5224
52252008-01-21  Alp Toker  <alp@atoker.com>
5226
5227        GTK+ build fix for breakage introduced in r29698.
5228
5229        * WebCoreSupport/ChromeClientGtk.h:
5230
52312008-01-21  Darin Adler  <darin@apple.com>
5232
5233        Reviewed by John Sullivan.
5234
5235        - updated for changes to database functions
5236
5237        * WebCoreSupport/ChromeClientGtk.cpp:
5238        (WebKit::ChromeClient::exceededDatabaseQuota):
5239        * WebCoreSupport/ChromeClientGtk.h:
5240        * WebView/webkitprivate.cpp:
5241        (webkit_init):
5242
52432008-01-20  Alp Toker  <alp@atoker.com>
5244
5245        Reviewed by Mark Rowe.
5246
5247        Attach the widget's style to its window and set the background to the
5248        base background to avoid black flicker when repainting. This is
5249        similar to what GtkTextView does.
5250
5251        * WebView/webkitwebview.cpp:
5252
52532008-01-19  Christian Dywan  <christian@imendio.com>
5254
5255        Reviewed by Alp Toker.
5256
5257        http://bugs.webkit.org/show_bug.cgi?id=16882
5258        [GTK] ChromeClientGtk is incompete
5259
5260        Implement these functions.
5261
5262        * WebCoreSupport/ChromeClientGtk.cpp:
5263        (WebKit::ChromeClient::windowRect):
5264        (WebKit::ChromeClient::pageRect):
5265        (WebKit::ChromeClient::scaleFactor):
5266        (WebKit::ChromeClient::focus):
5267        (WebKit::ChromeClient::unfocus):
5268        (WebKit::ChromeClient::canTakeFocus):
5269        (WebKit::ChromeClient::takeFocus):
5270        (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
5271
52722008-01-18  Luca Bruno  <lethalman88@gmail.com>
5273
5274        Reviewed by Alp Toker.
5275
5276        http://bugs.webkit.org/show_bug.cgi?id=16910
5277        [GTK] REGRESSION: keyboard cursor doesn't blink
5278
5279        http://bugs.webkit.org/show_bug.cgi?id=16863
5280        [GTK] REGRESSION: tab focusing doesn't work
5281
5282        * WebView/webkitwebview.cpp:
5283        (webkit_web_view_focus_in_event): Added. Set the active frame.
5284        (webkit_web_view_class_init):
5285
52862008-01-16  Alp Toker  <alp@atoker.com>
5287
5288        Reviewed by Mark Rowe.
5289
5290        http://bugs.webkit.org/show_bug.cgi?id=16218
5291        [GTK] API: Should this entry point be called go_back rather than go_backward?
5292
5293        Obsolete 'backward' terminology in API in favour of 'back'. Introduce
5294        step-based back/forward functions.
5295
5296        Document more functions.
5297
5298        * WebView/webkitdefines.h:
5299        * WebView/webkitwebview.cpp:
5300        * WebView/webkitwebview.h:
5301
53022008-01-10  Maciej Stachowiak  <mjs@apple.com>
5303
5304        Reviewed by Sam.
5305
5306        - remove SecurityOriginData and fold its functionality into SecurityOrigin
5307
5308        * WebCoreSupport/ChromeClientGtk.cpp:
5309        (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
5310        (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
5311        * WebCoreSupport/ChromeClientGtk.h:
5312
53132008-01-09  Luca Bruno  <lethalman88@gmail.com>
5314
5315        Reviewed by Alp Toker.
5316
5317        http://bugs.webkit.org/show_bug.cgi?id=16802
5318        [GTK] Missing gtk properties
5319
5320        Add missing properties to WebKitViewFrame and WebKitWebView.
5321
5322        * WebView/webkitprivate.h: add some useful defines for param specs
5323        * WebView/webkitwebframe.cpp:
5324        (webkit_web_frame_get_property): added
5325        (webkit_web_frame_class_init): add name, title and uri read-only properties
5326        * WebView/webkitwebview.cpp:
5327        (webkit_web_view_get_property): add editable property read
5328        (webkit_web_view_set_property): added for editable property write
5329        (webkit_web_view_class_init): add read-write editable property
5330
53312008-01-03  Xan Lopez  <xan@gnome.org>
5332
5333        Reviewed by Alp Toker.
5334
5335        http://bugs.webkit.org/show_bug.cgi?id=16654
5336        [GTK] Signal "navigation-requested" does not react correctly on
5337        return TRUE from callbacks
5338
5339        * WebView/webkitwebview.cpp: use our own accumulator for signals
5340        returning WebKitNavigationResponse. The emission will be stopped
5341        when any callback returns anything but
5342        WEBKIT_NAVIGATION_RESPONSE_ACCEPT.
5343
53442008-01-02  Holger Hans Peter Freyther  <zecke@selfish.org>
5345
5346        Rubber stamped by Darin Adler.
5347
5348        Coding Style fix. Do not use an else because we use a return in the
5349        if branch.
5350
5351        * WebView/webkitwebview.cpp:
5352
53532008-01-02  Luca Bruno  <lethalman88@gmail.com>
5354
5355        Reviewed by Alp Toker.
5356
5357        http://bugs.webkit.org/show_bug.cgi?id=16115
5358        [GTK] ContextMenu and ContextMenuItem lacks an implementation
5359
5360        Add context menu support.
5361
5362        Based on a patch by Holger Freyther.
5363
5364        * WebCoreSupport/ContextMenuClientGtk.cpp:
5365        (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
5366        * WebView/webkitprivate.h:
5367        * WebView/webkitwebview.cpp:
5368
53692007-12-29  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
5370
5371        Reviewed by Alp Toker.
5372
5373        http://bugs.webkit.org/show_bug.cgi?id=16669
5374        autotools update and fixes
5375
5376        pkgconfig file and icon database inclusion fix
5377
5378        * WebKitGtk.pc.in: Remove ICU_FLAGS from Cflags
5379        * WebView/webkitprivate.cpp: Guard ICONDATABASE inclusions
5380
53812007-12-28  Christian Dywan  <christian@twotoasts.de>
5382
5383        Reviewed by Alp Toker.
5384
5385        http://bugs.webkit.org/show_bug.cgi?id=16642
5386        [GTK] webkit_web_view_has_selection returns the opposite result
5387
5388        Invert the return value.
5389
5390        * WebView/webkitwebview.cpp:
5391
53922007-12-26  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
5393
5394        Reviewed by Alp Toker.
5395
5396        http://bugs.webkit.org/show_bug.cgi?id=16390
5397        Use autotools or GNU make as the build system for the GTK port
5398
5399        * WebKitGtk.pc.in: Added.
5400
54012007-12-24  Christian Dywan  <christian@twotoasts.de>
5402
5403        Reviewed by Alp Toker.
5404
5405        http://bugs.webkit.org/attachment.cgi?id=18099
5406        There are no NULL checks for strings in public api
5407
5408        Add missing NULL checks for string parameters.
5409
5410        Provide sensible defaults when NULL is passed for the optional
5411        parameters in webkit_web_view_load_string(). UTF-8 is the default
5412        encoding used by GLib and text/html is a reasonable default content
5413        type.
5414
5415        * WebView/webkitnetworkrequest.cpp:
5416        * WebView/webkitwebview.cpp:
5417
54182007-12-22  Xan Lopez  <xan@gnome.org>
5419
5420        Reviewed by Alp Toker.
5421
5422        Use webView, web_view, etc for variable names instead of page, which
5423        was left over from the old API.
5424
5425        * WebCoreSupport/EditorClientGtk.cpp:
5426        (WebKit::imContextCommitted):
5427        (WebKit::EditorClient::EditorClient):
5428        (WebKit::EditorClient::~EditorClient):
5429        (WebKit::EditorClient::textFieldDidBeginEditing):
5430        (WebKit::EditorClient::textFieldDidEndEditing):
5431        * WebCoreSupport/EditorClientGtk.h:
5432        * WebCoreSupport/FrameLoaderClientGtk.cpp:
5433        (WebKit::FrameLoaderClient::postProgressStartedNotification):
5434        (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
5435        (WebKit::FrameLoaderClient::postProgressFinishedNotification):
5436        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
5437        (WebKit::FrameLoaderClient::windowObjectCleared):
5438        (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
5439        (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
5440        (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
5441
54422007-12-22  Alp Toker  <alp@atoker.com>
5443
5444        GTK+ build fix
5445
5446        GTK_TARGET_OTHER_APP is not available in older GTK+ versions. Pass
5447        empty target flags for now.
5448
5449        Check GTK+, not GLib versions, since they are different.
5450
5451        * WebView/webkitwebview.cpp:
5452
54532007-12-22  Luca Bruno  <lethalman88@gmail.com>
5454
5455        Reviewed by Alp Toker.
5456
5457        http://bugs.webkit.org/show_bug.cgi?id=16311
5458        [Gtk] Copy rich text to clipboard as text/plain and text/html.
5459
5460        Add copy and paste targets for WebView and implement
5461        WebCore::PasteboardHelper.
5462
5463        * WebCoreSupport/PasteboardHelperGtk.cpp: Added.
5464        (WebKit::PasteboardHelperGtk::getClipboard):
5465        (WebKit::PasteboardHelperGtk::getCopyTargetList):
5466        (WebKit::PasteboardHelperGtk::getPasteTargetList):
5467        * WebCoreSupport/PasteboardHelperGtk.h: Added.
5468        * WebView/webkitprivate.cpp:
5469        (webkit_init): set the PasteboardHelperGtk as WebCore::Pasteboard helper
5470        * WebView/webkitprivate.h:
5471        (_WebKitWebViewPrivate::copy_target_list): added
5472        (_WebKitWebViewPrivate::paste_target_list): added
5473        * WebView/webkitwebview.cpp:
5474        (webkit_web_view_get_property): added
5475        (webkit_web_view_finalize):
5476        (webkit_web_view_class_init): create properties for COPY_TARGET and PASTE_TARGET and create the copy and paste target lists
5477        (webkit_web_view_get_copy_target_list): added
5478        (webkit_web_view_get_paste_target_list): added
5479        * WebView/webkitwebview.h:
5480        (webkit_web_view_get_copy_target_list): added
5481        (webkit_web_view_get_paste_target_list): added
5482
54832007-12-22  Xan Lopez  <xan@gnome.org>
5484
5485        Reviewed by Alp Toker.
5486
5487        Follow up to http://bugs.webkit.org/show_bug.cgi?id=16144
5488
5489        * WebView/webkitwebview.cpp:
5490        Fix signal id arguments for g_signal_emit in
5491        clipboard functions.
5492
54932007-12-21  Alp Toker  <alp@atoker.com>
5494
5495        Documentation typo fix: s/wether/whether
5496
5497        * WebView/webkitwebview.cpp:
5498
54992007-12-21  Christian Dywan  <christian@twotoasts.de>
5500
5501        Reviewed by Alp Toker.
5502
5503        http://bugs.webkit.org/show_bug.cgi?id=16144
5504        [GTK] Clipboard/ selection handling functions
5505
5506        * WebView/webkitprivate.h:
5507        * WebView/webkitwebview.cpp:
5508        * WebView/webkitwebview.h:
5509
55102007-12-19  Christian Dywan  <christian@twotoasts.de>
5511
5512        Reviewed by Alp Toker.
5513
5514        http://bugs.webkit.org/show_bug.cgi?id=16222
5515        [GTK] Implement inline search and highlighting of matching strings.
5516
5517        * WebView/webkitwebview.cpp:
5518        * WebView/webkitwebview.h:
5519
55202007-12-19  Alp Toker  <alp@atoker.com>
5521
5522        Reviewed by Holger Freyther.
5523
5524        Delete when Destroy functions are called to avoid leaks
5525
5526        This matches the Mac port.
5527
5528        * WebCoreSupport/ChromeClientGtk.cpp:
5529        * WebCoreSupport/ContextMenuClientGtk.cpp:
5530        * WebCoreSupport/InspectorClientGtk.cpp:
5531
55322007-12-14  Juan A. Suarez Romero  <jasuarez@igalia.com>
5533
5534        Reviewed by Alp Toker.
5535
5536        http://bugs.webkit.org/show_bug.cgi?id=16042
5537        [GTK] Eliminate webkit_init()
5538
5539        Move webkit initialization to WebView class init.
5540
5541        * WebView/headers.pri:
5542        * WebView/webkit.h:
5543        * WebView/webkitglobal.cpp: Removed.
5544        * WebView/webkitglobal.h: Removed.
5545        * WebView/webkitprivate.cpp:
5546        (WebKit::webkit_init):
5547        * WebView/webkitprivate.h:
5548        * WebView/webkitwebframe.cpp:
5549        * WebView/webkitwebview.cpp:
5550
55512007-12-17  Luca Bruno  <lethalman88@gmail.com>
5552
5553        Reviewed by Alp Toker.
5554
5555        http://bugs.webkit.org/show_bug.cgi?id=13542
5556        gdklauncher doesnt change URL in adress GTKEntry.
5557
5558        Let DOMDocument observers do their work before emitting title-changed.
5559        The load-committed signal has been added for both the view and the frame.
5560
5561        * WebCoreSupport/FrameLoaderClientGtk.cpp:
5562        (WebKit::FrameLoaderClient::dispatchDidReceiveTitle): emit title-changed
5563        (WebKit::FrameLoaderClient::setTitle): set private title
5564        (WebKit::FrameLoaderClient::dispatchDidCommitLoad): update the frame uri and emit load-committed
5565        * WebView/webkit-marshal.list:
5566        * WebView/webkitprivate.h:
5567        (_WebKitWebFramePrivate): rename location to uri
5568        * WebView/webkitwebframe.cpp:
5569        (webkit_web_frame_get_location): renamed to *_get_uri
5570        (webkit_web_frame_get_uri):
5571        (webkit_web_frame_real_title_changed): removed (see FrameLoaderClient::setTitle)
5572        (webkit_web_frame_class_init): pass the frame and the title in title-changed, not the uri
5573        (webkit_web_frame_finalize):
5574        * WebView/webkitwebframe.h:
5575        (_WebKitWebFrameClass): removed title_changed
5576        * WebView/webkitwebview.cpp:
5577        (webkit_web_view_class_init): pass only the title in title-changed
5578
55792007-12-14  Alp Toker  <alp@atoker.com>
5580
5581        Fix inconsistent indentation in the license header. Maciej was right!
5582
5583        * WebCoreSupport/FrameLoaderClientGtk.cpp:
5584
55852007-12-14  Alp Toker  <alp@atoker.com>
5586
5587        Reviewed by Maciej.
5588
5589        http://bugs.webkit.org/show_bug.cgi?id=16432
5590        [GTK] Update license headers
5591
5592        Consent has been given by the authors of these files to change license
5593        to the LGPL as outlined in the bug report.
5594
5595        * WebCoreSupport/ChromeClientGtk.cpp:
5596        * WebCoreSupport/ContextMenuClientGtk.cpp:
5597        * WebCoreSupport/DragClientGtk.cpp:
5598        * WebCoreSupport/EditorClientGtk.cpp:
5599        * WebCoreSupport/FrameLoaderClientGtk.cpp:
5600        (WebKit::FrameLoaderClient::makeRepresentation):
5601        (WebKit::FrameLoaderClient::forceLayout):
5602        (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
5603        (WebKit::FrameLoaderClient::setCopiesOnScroll):
5604        (WebKit::FrameLoaderClient::detachedFromParent1):
5605        (WebKit::FrameLoaderClient::detachedFromParent2):
5606        (WebKit::FrameLoaderClient::detachedFromParent3):
5607        (WebKit::FrameLoaderClient::detachedFromParent4):
5608        (WebKit::FrameLoaderClient::loadedFromCachedPage):
5609        (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
5610        (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
5611        (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
5612        (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
5613        (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
5614        (WebKit::FrameLoaderClient::dispatchWillClose):
5615        (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
5616        (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
5617        (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
5618        (WebKit::FrameLoaderClient::dispatchShow):
5619        (WebKit::FrameLoaderClient::cancelPolicyCheck):
5620        (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
5621        (WebKit::FrameLoaderClient::revertToProvisionalState):
5622        (WebKit::FrameLoaderClient::clearUnarchivingState):
5623        (WebKit::FrameLoaderClient::willChangeTitle):
5624        (WebKit::FrameLoaderClient::didChangeTitle):
5625        (WebKit::FrameLoaderClient::finalSetupForReplace):
5626        (WebKit::FrameLoaderClient::setDefersLoading):
5627        (WebKit::FrameLoaderClient::isArchiveLoadPending):
5628        (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
5629        (WebKit::FrameLoaderClient::clearArchivedResources):
5630        (WebKit::FrameLoaderClient::canHandleRequest):
5631        (WebKit::FrameLoaderClient::canShowMIMEType):
5632        (WebKit::FrameLoaderClient::representationExistsForURLScheme):
5633        (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
5634        (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
5635        (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
5636        (WebKit::FrameLoaderClient::dispatchDidFailLoading):
5637        (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
5638        (WebKit::FrameLoaderClient::download):
5639        (WebKit::FrameLoaderClient::cancelledError):
5640        (WebKit::FrameLoaderClient::blockedError):
5641        (WebKit::FrameLoaderClient::cannotShowURLError):
5642        (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
5643        (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
5644        (WebKit::FrameLoaderClient::fileDoesNotExistError):
5645        (WebKit::FrameLoaderClient::shouldFallBack):
5646        (WebKit::FrameLoaderClient::willUseArchive):
5647        (WebKit::FrameLoaderClient::canCachePage):
5648        (WebKit::FrameLoaderClient::dispatchCreatePage):
5649        (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
5650        (WebKit::FrameLoaderClient::setMainDocumentError):
5651        (WebKit::FrameLoaderClient::startDownload):
5652        (WebKit::FrameLoaderClient::updateGlobalHistoryForStandardLoad):
5653        (WebKit::FrameLoaderClient::updateGlobalHistoryForReload):
5654        (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
5655        (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
5656        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
5657        * WebCoreSupport/InspectorClientGtk.cpp:
5658        * WebView/webkitwebview.cpp:
5659
56602007-12-14  Darin Adler  <darin@apple.com>
5661
5662        Reviewed by Alexey.
5663
5664        * WebCoreSupport/EditorClientGtk.cpp:
5665        (WebKit::EditorClient::handleKeyboardEvent): Changed to use Editor::command
5666        instead of Editor::execCommand.
5667        * WebView/webkitwebview.cpp: Ditto.
5668
56692007-12-12  Brady Eidson  <beidson@apple.com>
5670
5671        Reviewed by Sam Weinig
5672
5673        As part of doing some CachedPage and client cleanup, keep GTK building
5674
5675        * WebCoreSupport/FrameLoaderClientGtk.cpp:
5676        (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
5677        (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
5678        (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
5679        * WebCoreSupport/FrameLoaderClientGtk.h:
5680
56812007-12-12  Alp Toker  <alp@atoker.com>
5682
5683        Reviewed by Holger Freyther.
5684
5685        http://bugs.webkit.org/show_bug.cgi?id=15576
5686        [GTK] Printing support
5687
5688        Add printing support.
5689
5690        The API will be kept internal for the time being, but printing can now
5691        be triggered by Web pages or the JSC API using JavaScript.
5692
5693        The print spooler and pagination code is fairly abstract and could be
5694        shared by other ports including Win and Qt once complete. It doesn't
5695        have header/footer support yet.
5696
5697        * WebCoreSupport/ChromeClientGtk.cpp:
5698        (WebKit::ChromeClient::print):
5699        * WebView/webkitprivate.h:
5700        * WebView/webkitwebframe.cpp:
5701        (PrintContext::begin_print):
5702        (PrintContext::draw_page):
5703        (PrintContext::end_print):
5704        (PrintContext::webkit_web_frame_print):
5705
57062007-12-12  Sam Weinig  <sam@webkit.org>
5707
5708        Build fix.
5709
5710        * WebCoreSupport/FrameLoaderClientGtk.cpp:
5711        (WebKit::FrameLoaderClient::didChangeTitle):
5712
57132007-12-12  Sam Weinig  <sam@webkit.org>
5714
5715        Build fix.
5716
5717        * WebCoreSupport/FrameLoaderClientGtk.cpp:
5718        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
5719
57202007-12-11  George Wright  <george.wright@collabora.co.uk>
5721
5722        Reviewed by Alp Toker.
5723
5724        http://bugs.webkit.org/show_bug.cgi?id=14120
5725        [GDK] Support input methods
5726
5727        This patch adds infrastructure for input method support.
5728
5729        It also adds Hildon features for the Maemo mobile platform sufficient
5730        to support the virtual keyboard.
5731
5732        * WebCoreSupport/EditorClientGtk.cpp:
5733        (WebKit::imContextCommitted):
5734        (WebKit::EditorClient::EditorClient):
5735        (WebKit::EditorClient::~EditorClient):
5736        (WebKit::EditorClient::textFieldDidBeginEditing):
5737        (WebKit::EditorClient::textFieldDidEndEditing):
5738        * WebCoreSupport/EditorClientGtk.h:
5739        * WebView/webkitprivate.h:
5740        * WebView/webkitwebview.cpp:
5741
57422007-12-07  Alexey Proskuryakov  <ap@webkit.org>
5743
5744        Reviewed by Darin Adler.
5745
5746        <rdar://problem/5535636>
5747        Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
5748
5749        http://bugs.webkit.org/show_bug.cgi?id=13916
5750        JavaScript detects Tab as a character input on a textfield validation
5751
5752        * WebCoreSupport/EditorClientGtk.cpp:
5753        (WebKit::EditorClient::handleKeyboardEvent):
5754        (WebKit::EditorClient::handleInputMethodKeydown):
5755        * WebCoreSupport/EditorClientGtk.h:
5756        Updated for cross-platform changes as much as it was possible without a gtk build environment.
5757
57582007-12-08  Luca Bruno  <lethalman88@gmail.com>
5759
5760        Reviewed by Alp Toker.
5761
5762        http://bugs.webkit.org/show_bug.cgi?id=16346
5763        [GTK] Some webview parts must use the focused frame.
5764
5765        Also update some old code.
5766
5767        * WebView/webkitprivate.cpp:
5768        (getFrameFromView): removed
5769
5770        * WebView/webkitprivate.h:
5771        (getFrameFromView): removed
5772
5773        * WebView/webkitwebview.cpp:
5774        (webkit_web_view_expose_event):
5775        (webkit_web_view_key_press_event): use focused frame
5776        (webkit_web_view_key_release_event): use focused frame
5777        (webkit_web_view_button_press_event):
5778        (webkit_web_view_button_release_event):
5779        (webkit_web_view_motion_event):
5780        (webkit_web_view_scroll_event):
5781        (webkit_web_view_size_allocate):
5782        (webkit_web_view_set_scroll_adjustments):
5783        (webkit_web_view_execute_script):
5784        (webkit_web_view_stop_loading):
5785        (webkit_web_view_load_string):
5786        (webkit_web_view_reload):
5787        (webkit_web_view_open):
5788        (webkit_web_view_can_go_forward):
5789        (webkit_web_view_can_go_backward):
5790        (webkit_web_view_go_forward):
5791        (webkit_web_view_go_backward):
5792
5793        * WebCoreSupport/EditorClientGtk.cpp:
5794        (WebKit::EditorClient::handleKeypress): fix for page up and page down keys for editable contents
5795
57962007-12-07  Luca Bruno  <lethalman88@gmail.com>
5797
5798        Reviewed by Alp Toker.
5799
5800        http://bugs.webkit.org/show_bug.cgi?id=16333
5801        [GTK] Key bindings must work with focused frames.
5802
5803        There are still more cases where getFrameFromView() is mis-used that
5804        need to be fixed, but this is a good start.
5805
5806        * WebView/webkitwebview.cpp:
5807        (webkit_web_view_real_select_all):
5808        (webkit_web_view_real_cut_clipboard):
5809        (webkit_web_view_real_copy_clipboard):
5810        (webkit_web_view_real_paste_clipboard):
5811
58122007-12-06  Xan Lopez  <xan@gnome.org>
5813
5814        Reviewed by Alp Toker.
5815
5816        http://bugs.webkit.org/show_bug.cgi?id=16329
5817        [GTK] Two small cleanups
5818
5819        * WebCoreSupport/ChromeClientGtk.cpp:
5820        (WebKit::ChromeClient::createWindow):
5821        (WebKit::ChromeClient::addMessageToConsole):
5822        (WebKit::ChromeClient::runJavaScriptAlert):
5823        (WebKit::ChromeClient::runJavaScriptConfirm):
5824        (WebKit::ChromeClient::runJavaScriptPrompt):
5825        (WebKit::ChromeClient::setStatusbarText):
5826        (WebKit::ChromeClient::mouseDidMoveOverElement):
5827        (WebKit::ChromeClient::setToolTip):
5828        * WebCoreSupport/ChromeClientGtk.h:
5829        * WebView/webkitprivate.cpp:
5830        (WebKit::kit):
5831        s/m_webPage/m_webView/
5832        * WebView/webkitwebview.cpp:
5833        Chain up to the parent class to activate bindings instead
5834        of doing it explicitely.
5835
58362007-12-06  Holger Hans Peter Freyther <holger.freyther@trolltech.com>
5837
5838        Reviewed by Alp Toker.
5839
5840        http://bugs.webkit.org/show_bug.cgi?id=16173
5841        Licensing change
5842
5843        Change license from BSD to LGPL.
5844
5845        * WebCoreSupport/ChromeClientGtk.h:
5846        * WebView/webkitdefines.h:
5847        * WebView/webkitglobal.cpp:
5848        * WebView/webkitglobal.h:
5849        * WebView/webkitnetworkrequest.cpp:
5850        * WebView/webkitnetworkrequest.h:
5851        * WebView/webkitprivate.cpp:
5852        * WebView/webkitprivate.h:
5853        * WebView/webkitsettings.cpp:
5854        * WebView/webkitsettings.h:
5855        * WebView/webkitwebframe.cpp:
5856        * WebView/webkitwebframe.h:
5857        * WebView/webkitwebview.h:
5858
58592007-12-05  Michael Natterer  <mitch@imendio.com>
5860
5861        Reviewed by Alp Toker.
5862
5863        * WebView/webkitwebview.cpp: split key and button event handlers
5864        into separate press and release functions.
5865
58662007-12-05  Luca Bruno  <lethalman88@gmail.com>
5867
5868        Reviewed by Alp Toker.
5869
5870        Handle events for Home and End keys.
5871
5872        * WebView/webkitwebview.cpp:
5873        (webkit_web_view_key_event):
5874        * WebCoreSupport/EditorClientGtk.cpp:
5875        (EditorClient::handleKeypress):
5876
58772007-12-05  Michael Natterer  <mitch@imendio.com>
5878
5879        Reviewed by Alp Toker.
5880
5881        * WebView/webkitwebview.cpp
5882        * WebCoreSupport/ChromeClientGtk.cpp
5883        * WebCoreSupport/FrameLoaderClientGtk.cpp: canonicalize signal names.
5884
58852007-12-04  Darin Adler  <darin@apple.com>
5886
5887        Reviewed by Kevin Decker.
5888
5889        * WebCoreSupport/FrameLoaderClientGtk.cpp: Removed obsolete privateBrowsingEnabled.
5890        * WebCoreSupport/FrameLoaderClientGtk.h: Ditto.
5891
58922007-12-04  Michael Natterer  <mitch@imendio.com>
5893
5894        Reviewed by Alp Toker.
5895
5896        * WebView/webkitwebframe.cpp: don't redeclare the marshaller
5897        prototype but simply include "webkit-marshal.h" now that its build
5898        is fixed.
5899
59002007-12-04  Luca Bruno  <lethalman88@gmail.com>
5901
5902        Reviewed by Alp Toker.
5903
5904        Fix a regression in key press propagation in r28386.
5905
5906        Fix indentation (was off by two spaces).
5907
5908        * WebView/webkitwebview.cpp:
5909
59102007-12-04  Luca Bruno  <lethalman88@gmail.com>
5911
5912        Reviewed by Alp Toker.
5913
5914        http://bugs.webkit.org/show_bug.cgi?id=15911
5915        [GTK] Use GtkBindingSet to make key bindings user-configurable
5916
5917        This patch doesn't cover the full range of bindings, only the ones
5918        that seem obviously correct and have clear public API.
5919
5920        * WebCoreSupport/EditorClientGtk.cpp:
5921        (WebKit::EditorClient::handleKeypress): do not handle clipboard operations and select-all
5922        * WebView/webkitwebview.cpp: add cut, copy, paste and select-all signals and allow binding sets (issue #15911 and #16144)
5923        * WebView/webkitwebview.h:
5924
59252007-12-04  Xan Lopez  <xan@gnome.org>
5926
5927        Reviewed by Alp Toker.
5928
5929        http://bugs.webkit.org/show_bug.cgi?id=15561
5930        GTK port needs DumpRenderTree implementation
5931
5932        Start work on the GTK+ DRT.
5933
5934        Add a couple of proposed new API entry points. They are currently for
5935        internal use only by DRT and not in the public headers.
5936
5937        * WebView/webkitprivate.h:
5938        * WebView/webkitwebframe.cpp:
5939
59402007-12-03  Dan Bernstein  <mitz@apple.com>
5941
5942        Reviewed by Dave Hyatt.
5943
5944        - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
5945
5946        * WebView/webkitwebview.cpp: Remove the call to sendResizeEvent() since
5947        FrameView sends it now.
5948
59492007-12-03  Alp Toker  <alp@atoker.com>
5950
5951        globalObject() GTK+ build fix.
5952
5953        * WebCoreSupport/FrameLoaderClientGtk.cpp:
5954        (WebKit::FrameLoaderClient::windowObjectCleared):
5955
59562007-12-03  Geoffrey Garen  <ggaren@apple.com>
5957
5958        GTK Build fix: get globalExec from the right place.
5959
5960        * WebView/webkitwebframe.cpp:
5961
59622007-12-01  Alp Toker  <alp@atoker.com>
5963
5964        Reviewed by Adam Roben.
5965
5966        Wrap type definitions in webkitdefines.h with G_BEGIN_DECLS, which
5967        takes care of extern "C".
5968
5969        Introduce a webkit.h convenience header.
5970
5971        Remove another left-over from the old API.
5972
5973        * WebView/headers.pri:
5974        * WebView/webkit.h: Added.
5975        * WebView/webkitdefines.h:
5976
59772007-12-01  Alp Toker  <alp@atoker.com>
5978
5979        Reviewed by Adam Roben.
5980
5981        http://bugs.webkit.org/show_bug.cgi?id=15687
5982        [Gtk] Allow API clients to interact with JavaScript in web pages
5983
5984        Include the necessary JavaScriptCore headers directly in the public
5985        API headers.
5986
5987        This is the last of a series of changes needed to allow GTK+
5988        applications to access the JS API.
5989
5990        Until http://bugs.webkit.org/show_bug.cgi?id=16029 is resolved,
5991        developers will still have to include the individual JS API headers
5992        individually if they want to use it in their applications.
5993
5994        Patch also removes some old legacy use of GDK that was in
5995        WebKitWebFrame. No ABI change.
5996
5997        * WebView/webkitdefines.h:
5998        * WebView/webkitwebframe.h:
5999        * WebView/webkitwebview.h:
6000
60012007-11-30  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
6002
6003        Fix for GTK+ Debug build breakage introduced in r28273.
6004
6005        * WebView/webkitprivate.cpp:
6006        (WebKit::kit):
6007
60082007-11-30  Alp Toker  <alp@atoker.com>
6009
6010        Reviewed by Adam Roben.
6011
6012        http://bugs.webkit.org/show_bug.cgi?id=15691
6013        [GTK] Public API does not follow GTK+ conventions
6014
6015        Refactor the WebKit/GTK+ public API. Changes:
6016          WebKitPage -> WebKitWebView
6017          WebKitFrame -> WebKitWebFrame
6018
6019        Public API source and header names have been updated to mirror the API
6020        changes.
6021
6022        The API is now kept in WebKit/gtk/WebView to match other ports in the
6023        same class such as Mac and Win.
6024
6025        API/ABI-breaking change.
6026
6027        * Api: Removed.
6028        * Api/headers.pri: Removed.
6029        * Api/webkitgtk-marshal.list: Removed.
6030        * Api/webkitgtkdefines.h: Removed.
6031        * Api/webkitgtkframe.cpp: Removed.
6032        * Api/webkitgtkframe.h: Removed.
6033        * Api/webkitgtkglobal.cpp: Removed.
6034        * Api/webkitgtkglobal.h: Removed.
6035        * Api/webkitgtknetworkrequest.cpp: Removed.
6036        * Api/webkitgtknetworkrequest.h: Removed.
6037        * Api/webkitgtkpage.cpp: Removed.
6038        * Api/webkitgtkpage.h: Removed.
6039        * Api/webkitgtkprivate.cpp: Removed.
6040        * Api/webkitgtkprivate.h: Removed.
6041        * Api/webkitgtksettings.cpp: Removed.
6042        * Api/webkitgtksettings.h: Removed.
6043        * WebCoreSupport/ChromeClientGtk.cpp:
6044        (WebKit::ChromeClient::ChromeClient):
6045        (WebKit::ChromeClient::createWindow):
6046        * WebCoreSupport/ChromeClientGtk.h:
6047        (WebKit::ChromeClient::webPage):
6048        * WebCoreSupport/EditorClientGtk.cpp:
6049        (WebKit::EditorClient::isEditable):
6050        (WebKit::EditorClient::EditorClient):
6051        * WebCoreSupport/EditorClientGtk.h:
6052        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6053        (WebKit::FrameLoaderClient::FrameLoaderClient):
6054        (WebKit::FrameLoaderClient::postProgressStartedNotification):
6055        (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
6056        (WebKit::FrameLoaderClient::postProgressFinishedNotification):
6057        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
6058        (WebKit::FrameLoaderClient::createFrame):
6059        (WebKit::FrameLoaderClient::windowObjectCleared):
6060        (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
6061        (WebKit::FrameLoaderClient::setTitle):
6062        * WebCoreSupport/FrameLoaderClientGtk.h:
6063        (WebKit::FrameLoaderClient::webFrame):
6064        * WebView: Added.
6065        * WebView/headers.pri: Added.
6066        * WebView/webkit-marshal.list: Added.
6067        * WebView/webkitdefines.h: Added.
6068        * WebView/webkitglobal.cpp: Added.
6069        * WebView/webkitglobal.h: Added.
6070        * WebView/webkitnetworkrequest.cpp: Added.
6071        * WebView/webkitnetworkrequest.h: Added.
6072        * WebView/webkitprivate.cpp: Added.
6073        (WebKit::apply):
6074        (WebKit::create):
6075        (WebKit::getFrameFromView):
6076        (WebKit::getViewFromFrame):
6077        (WebKit::core):
6078        (WebKit::kit):
6079        * WebView/webkitprivate.h: Added.
6080        * WebView/webkitsettings.cpp: Added.
6081        * WebView/webkitsettings.h: Added.
6082        * WebView/webkitwebframe.cpp: Added.
6083        * WebView/webkitwebframe.h: Added.
6084        * WebView/webkitwebview.cpp: Added.
6085        * WebView/webkitwebview.h: Added.
6086
60872007-11-28  Alp Toker  <alp@atoker.com>
6088
6089        Reviewed by Timothy Hatcher.
6090
6091        http://bugs.webkit.org/show_bug.cgi?id=16174
6092        [GTK] Use "URI" not "URL" in public API
6093
6094        Replace use of the term "URL" with "URI" in public headers,
6095        documentation and some internal code to match GLib/GTK+ convention.
6096
6097        This is now mentioned in the API guidelines:
6098          http://trac.webkit.org/projects/webkit/wiki/HackingGtk
6099
6100        API/ABI-breaking change.
6101
6102        * Api/webkitgtkframe.cpp:
6103        * Api/webkitgtknetworkrequest.cpp:
6104        * Api/webkitgtknetworkrequest.h:
6105        * Api/webkitgtkpage.cpp:
6106        * Api/webkitgtkpage.h:
6107        * Api/webkitgtkprivate.h:
6108        * Api/webkitgtksettings.h:
6109
61102007-11-29  Brady Eidson  <beidson@apple.com>
6111
6112        Better build fix for Gtk
6113
6114        * WebCoreSupport/ChromeClientGtk.h:
6115
61162007-11-29  Brady Eidson  <beidson@apple.com>
6117
6118        Keep it building with new client method
6119
6120        * WebCoreSupport/ChromeClientGtk.cpp:
6121        (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
6122        (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
6123        * WebCoreSupport/ChromeClientGtk.h:
6124
61252007-11-26  Alp Toker  <alp@atoker.com>
6126
6127        Reviewed by Adam Roben.
6128
6129        http://bugs.webkit.org/show_bug.cgi?id=16149
6130        Implement the window-object-cleared signal
6131
6132        This implementation provides the JSGlobalContextRef and JSObjectRef
6133        directly rather than using an intermediate JS wrapper object, similar
6134        to the approach taken by the Win port.
6135
6136        * Api/webkitgtk-marshal.list:
6137        * Api/webkitgtkframe.h:
6138        * Api/webkitgtkpage.cpp:
6139        * Api/webkitgtkpage.h:
6140        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6141        (WebKit::FrameLoaderClient::windowObjectCleared):
6142
61432007-11-24  Alp Toker  <alp@atoker.com>
6144
6145        Reviewed by Mark Rowe.
6146
6147        http://bugs.webkit.org/show_bug.cgi?id=15691
6148        [GTK] Public API does not follow GTK+ conventions
6149
6150        Public API enhancements:
6151
6152        Implement webkit_page_get_editable() and webkit_page_set_editable().
6153
6154        Implement webkit_frame_get_name().
6155
6156        Remove definitions for functions that are unusable or not implemented.
6157        This has caused much confusion for application developers.
6158
6159        Improve documentation.
6160
6161        Correct/constify some return types.
6162
6163        Add parameter checks.
6164
6165        Make the default fixed font "Courier New" to match the other Web
6166        font names.
6167
6168        * Api/webkitgtkframe.cpp:
6169        * Api/webkitgtkframe.h:
6170        * Api/webkitgtkpage.cpp:
6171        * Api/webkitgtkpage.h:
6172        * Api/webkitgtkprivate.h:
6173        * WebCoreSupport/EditorClientGtk.cpp:
6174        (WebKit::EditorClient::isEditable):
6175
61762007-11-24  Alp Toker  <alp@atoker.com>
6177
6178        Reviewed by Mark Rowe.
6179
6180        http://bugs.webkit.org/show_bug.cgi?id=16125
6181        [GTK] Up key doesn't work properly when content is editable
6182
6183        Add a missing 'break' to avoid falling through to the next case when
6184        handling VK_UP keystrokes. This was noticed when working on editing
6185        support in the GTK+ port.
6186
6187        I've checked the other cases for similar typos and they seem fine.
6188
6189        * WebCoreSupport/EditorClientGtk.cpp:
6190        (WebKit::EditorClient::handleKeypress):
6191
61922007-11-24  Xan Lopez  <xan@gnome.org>
6193
6194        Reviewed by Alp Toker.
6195
6196        http://bugs.webkit.org/show_bug.cgi?id=15745
6197        [GTK] Arrow keys do not Scroll
6198
6199        * Api/webkitgtkpage.cpp:
6200
6201        Support Up/Down/Right/Left keys to scroll. Slight hack, see FIXME for
6202        details.
6203
62042007-11-24  Christian Dywan  <christian@twotoasts.de>
6205
6206        Reviewed by Alp Toker.
6207
6208        http://bugs.webkit.org/show_bug.cgi?id=15891
6209        [GTK] Javascript console and dialogs are not implemented
6210
6211        Fix call to gtk_message_dialog_new() which expects a format string.
6212
6213        * Api/webkitgtkpage.cpp:
6214
62152007-11-24  Christian Dywan  <christian@twotoasts.de>
6216
6217        Reviewed by Alp Toker.
6218
6219        http://bugs.webkit.org/show_bug.cgi?id=15793
6220        [GTK] Webkit doesn't show title attribute tooltip when hovering over an image
6221
6222        Implement tooltip support using the new Tooltip API.
6223
6224        Support for older versions of GTK+ is still lacking.
6225
6226        * WebCoreSupport/ChromeClientGtk.cpp:
6227        (WebKit::ChromeClient::setToolTip):
6228
62292007-11-22  Alp Toker  <alp@atoker.com>
6230
6231        Reviewed by Mark Rowe.
6232
6233        Implement and document several WebKitFrame functions, some of which
6234        are necessary to support DRT.
6235
6236        Correct NULL handling and improve run-time checks.
6237
6238        * Api/webkitgtkframe.cpp:
6239        * Api/webkitgtkframe.h:
6240        * Api/webkitgtkprivate.cpp:
6241
62422007-11-22  Alp Toker  <alp@atoker.com>
6243
6244        Whitespace fixes only.
6245
6246        * Api/webkitgtkframe.cpp:
6247        * Api/webkitgtkpage.cpp:
6248        * Api/webkitgtkpage.h:
6249        * Api/webkitgtkprivate.h:
6250        * WebCoreSupport/ChromeClientGtk.cpp:
6251        * WebCoreSupport/ContextMenuClientGtk.cpp:
6252        * WebCoreSupport/ContextMenuClientGtk.h:
6253        * WebCoreSupport/DragClientGtk.h:
6254        * WebCoreSupport/EditorClientGtk.h:
6255        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6256        (WebKit::FrameLoaderClient::dispatchWillSendRequest):
6257        (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
6258        (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
6259        (WebKit::FrameLoaderClient::createFrame):
6260        (WebKit::FrameLoaderClient::createJavaAppletWidget):
6261        (WebKit::FrameLoaderClient::registerForIconNotification):
6262        (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
6263        (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
6264        (WebKit::FrameLoaderClient::frameLoadCompleted):
6265        (WebKit::FrameLoaderClient::saveViewStateToItem):
6266        (WebKit::FrameLoaderClient::restoreViewState):
6267        (WebKit::FrameLoaderClient::shouldGoToHistoryItem):
6268        (WebKit::FrameLoaderClient::setTitle):
6269        * WebCoreSupport/FrameLoaderClientGtk.h:
6270
62712007-11-22  Michael Natterer  <mitch@imendio.com>
6272
6273        Reviewed by Alp Toker.
6274
6275        http://bugs.webkit.org/show_bug.cgi?id=15984
6276        Implement "navigation-requested" signal for WebKit Gtk
6277
6278        * Api/webkitgtknetworkrequest.h: fix parent class member.
6279
6280        * Api/webkitgtknetworkrequest.cpp
6281        * Api/webkitgtkprivate.h: basic implementation featuring an
6282        "url" member and API.
6283
6284        * Api/webkitgtkdefines.h: added network request typedefs.
6285
6286        * Api/webkitgtkpage.h: fix enum name:
6287        s/WEBKIT_NAVIGATION_REQUEST_RESPONSE/WebKitNavigationRequestResponse/
6288        and sanitized enum values.
6289
6290        * Api/webkitgtkpage.cpp: made "navigation-requested" a signal.
6291
6292        * Api/webkitgtk-marshal.list: added INT:OBJECT,OBJECT
6293
6294        * WebCoreSupport/FrameLoaderClientGtk.cpp: emit the new signal in
6295        dispatchDecidePolicyForNavigationAction().
6296
62972007-11-18  Christian Dywan  <christian@twotoasts.de>
6298
6299        Reviewed by Alp.
6300
6301        http://bugs.webkit.org/show_bug.cgi?id=15891
6302        [GTK] Javascript console and dialogs are not implemented
6303
6304        Correct script-prompt to return NULL when cancelled.
6305
6306        Small changes to avoid compiler warnings.
6307
6308        * Api/webkitgtkpage.cpp:
6309
63102007-11-17  Timothy Hatcher  <timothy@apple.com>
6311
6312        Reviewed by Mark Rowe.
6313
6314        Bug 13470: i18n: The Web Inspector is not localizable
6315        http://bugs.webkit.org/show_bug.cgi?id=13470
6316
6317        * WebCoreSupport/InspectorClientGtk.cpp:
6318        (WebKit::InspectorClient::localizedStringsURL): Empty stub.
6319        * WebCoreSupport/InspectorClientGtk.h: Add localizedStringsURL.
6320
63212007-11-13  Mark Rowe  <mrowe@apple.com>
6322
6323        Gtk build fix. Replace incorrect use of the LOG macro with g_print.
6324
6325        * Api/webkitgtkpage.cpp:
6326
63272007-11-13  Christian Dywan  <christian@twotoasts.de>
6328
6329        Reviewed by Alp.
6330
6331        http://bugs.webkit.org/show_bug.cgi?id=15891
6332        [GTK] Javascript console and dialogs are not implemented
6333
6334        Implement signals for script dialogs and console messages.
6335
6336        * Api/webkitgtk-marshal.list:
6337        * Api/webkitgtkpage.cpp:
6338        * Api/webkitgtkpage.h:
6339        * WebCoreSupport/ChromeClientGtk.cpp:
6340        (WebKit::ChromeClient::addMessageToConsole):
6341        (WebKit::ChromeClient::runJavaScriptAlert):
6342        (WebKit::ChromeClient::runJavaScriptConfirm):
6343        (WebKit::ChromeClient::runJavaScriptPrompt):
6344
63452007-11-11  Alp Toker  <alp@atoker.com>
6346
6347        Reviewed by Anders.
6348
6349        Initialize m_userAgent.
6350
6351        Fix typos in GDK_WINDOWING conditionals.
6352
6353        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6354        (WebKit::FrameLoaderClient::FrameLoaderClient):
6355        (WebKit::agentPlatform):
6356
63572007-11-11  Alp Toker  <alp@atoker.com>
6358
6359        Reviewed by Mark Rowe.
6360
6361        Mention Safari in the UserAgent string to improve site compatibility.
6362
6363        Also bump the hard-coded AppleWebKit version number.
6364
6365        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6366        (WebKit::composeUserAgent):
6367
63682007-11-09  Xan Lopez  <xan@gnome.org>
6369
6370        Reviewed by Alp.
6371
6372        Fix http://bugs.webkit.org/show_bug.cgi?id=15926
6373        [GTK] WebKitPage map handler is redundant.
6374
6375        * Api/webkitgtkpage.cpp:
6376        The map handler for WebKitPage is redundant, GtkContainer does
6377        the same (and more correctly).
6378
63792007-11-08  Alp Toker  <alp@atoker.com>
6380
6381        Reviewed by Mark Rowe.
6382
6383        http://bugs.webkit.org/show_bug.cgi?id=15653
6384        [GTK] Text editor does not handle common keystrokes
6385
6386        Handle more keystrokes in EditorClientGtk. Note that this is a
6387        temporary measure pending a proper solution using GtkBindingSet (see
6388        http://bugs.webkit.org/show_bug.cgi?id=15911).
6389
6390        * WebCoreSupport/EditorClientGtk.cpp:
6391        (WebKit::EditorClient::handleKeypress):
6392
63932007-11-08  Kevin McCullough  <kmccullough@apple.com>
6394
6395        Reviewed by Sam.
6396
6397        - windowObjectCleared() is no longer const.  It needs to setup the
6398        script debugger and cannot be const to do so.
6399
6400        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6401        (WebKit::FrameLoaderClient::windowObjectCleared):
6402        * WebCoreSupport/FrameLoaderClientGtk.h:
6403
64042007-11-06  Rodney Dawes  <dobey@wayofthemonkey.com>
6405
6406        Fix http://bugs.webkit.org/attachment.cgi?id=17043&action=view
6407        Bug 15766: [GTK] WebKit sometimes spews binary data as text/plain into iframes
6408
6409        FrameLoaderClient::objectContentType needs to check with the MIMETypeRegistry
6410        to determine whether the given MIME type is displayable as an image or non-image.
6411
6412        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6413        (FrameLoaderClient::objectContentType): Change logic to match that in
6414        the Windows and Mac ports.
6415
64162007-11-05  Christian Dywan  <christian@twotoasts.de>
6417
6418        Reviewed by Maciej.
6419
6420        http://bugs.webkit.org/show_bug.cgi?id=15409
6421        FrameLoaderClientGtk hardcodes data, including platform to Linux i686
6422
6423        Compute a proper user agent string.
6424
6425        Patch includes fixes by Alp.
6426
6427        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6428        (WebKit::agentPlatform):
6429        (WebKit::agentOS):
6430        (WebKit::composeUserAgent):
6431        (WebKit::FrameLoaderClient::userAgent):
6432        * WebCoreSupport/FrameLoaderClientGtk.h:
6433
64342007-11-05  Mark Rowe  <mrowe@apple.com>
6435
6436        Rubber-stamped by Alp Toker.
6437
6438        Remove unused m_firstData member from FrameLoaderClientGtk.
6439
6440        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6441        * WebCoreSupport/FrameLoaderClientGtk.h:
6442
64432007-11-05  Mark Rowe  <mrowe@apple.com>
6444
6445        Reviewed by Alp Toker.
6446
6447        Fix http://bugs.webkit.org/show_bug.cgi?id=15842
6448        Bug 15842: [Gtk] about:blank doesn't work
6449
6450        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6451        (WebKit::FrameLoaderClient::finishedLoading): Set the encoding on the frame loader to
6452        get work done that is normally done when the first bit of data is received, even in the
6453        case of a document with no data (like about:blank).
6454
64552007-11-03  Alp Toker  <alp@atoker.com>
6456
6457        Reviewed by Mark Rowe.
6458
6459        Restore correct double and triple click behaviour
6460
6461        We ended up ignoring GDK_2BUTTON_PRESS and GDK_3BUTTON_PRESS after
6462        recent refactoring.
6463
6464        * Api/webkitgtkpage.cpp:
6465
64662007-11-03  Alp Toker  <alp@atoker.com>
6467
6468        Reviewed by Mark Rowe.
6469
6470        Frame scrolling and invalidation fixes
6471
6472        Make upward scroll events have a positive delta to match other ports.
6473
6474        Fix the invalidation rect offset for frames so that scrolling works properly.
6475
6476        Avoid allocating negative sizes to widgets to avoid GTK+ warnings.
6477
6478        Allow tabbing to all widgets and links.
6479
6480        Fix event returns, improving the focus situation and correcting scroll wheel
6481        behavior.
6482
6483        * Api/webkitgtkpage.cpp:
6484        * WebCoreSupport/ChromeClientGtk.cpp:
6485
64862007-10-29  Alp Toker  <alp@atoker.com>
6487
6488        Reviewed by Maciej.
6489
6490        Do not allow control to reach end of non-void functions
6491
6492        * Api/webkitgtksettings.cpp:
6493
64942007-10-28  Lars Lindner  <lars.lindner@gmail.com>
6495
6496        Reviewed by Alp.
6497
6498        http://bugs.webkit.org/show_bug.cgi?id=15466
6499        [gtk] widget does not take focus on mouse click
6500
6501        Grab widget focus in mouse press callback.
6502
6503        * Api/webkitgtkpage.cpp:
6504
65052007-10-25  Alp Toker  <alp@atoker.com>
6506
6507        Reviewed by Brady.
6508
6509        http://bugs.webkit.org/show_bug.cgi?id=15686
6510        GtkLauncher aborts on launch due to uninitialized threading subsystem
6511
6512        Re-enable database support in the GTK+ port, with a fix.
6513
6514        Initialize GLib threading as early as possible.
6515
6516        * Api/webkitgtkglobal.cpp:
6517
65182007-10-25  Alp Toker  <alp@atoker.com>
6519
6520        Unreviewed fix to make the GTK+ port run.
6521
6522        http://bugs.webkit.org/show_bug.cgi?id=15686
6523        GtkLauncher aborts on launch due to uninitialized threading subsystem
6524
6525        http://bugs.webkit.org/show_bug.cgi?id=15688
6526        [GTK] Make it possible to disable database support
6527
6528        Make database path initialization conditional on database support
6529        being enabled.
6530
6531        * Api/webkitgtkglobal.cpp:
6532
65332007-10-24  Mark Rowe  <mrowe@apple.com>
6534
6535        Gtk build fix.  Track WebCore changes in r27004.
6536
6537        * Api/webkitgtkglobal.cpp:
6538
65392007-10-22  Alp Toker  <alp@atoker.com>
6540
6541        Reviewed by Mark Rowe.
6542
6543        http://bugs.webkit.org/show_bug.cgi?id=15611
6544        [GTK] Text selection behaviour different in Debug and Release builds
6545
6546        http://bugs.webkit.org/show_bug.cgi?id=15578
6547        [GTK] Text editor caret does not blink
6548
6549        Never allow control to reach the end of non-void functions.
6550
6551        Return more sensible values, or in some cases, nulls.
6552
6553        * Api/webkitgtksettings.cpp:
6554        * Api/webkitgtksettings.h:
6555        * WebCoreSupport/DragClientGtk.cpp:
6556        (WebKit::DragClient::actionMaskForDrag):
6557        (WebKit::DragClient::dragSourceActionMaskForPoint):
6558        (WebKit::DragClient::createDragImageForLink):
6559
65602007-10-20  Mark Rowe  <mrowe@apple.com>
6561
6562        Reviewed by Alp.
6563
6564        Gtk changes needed to enable HTML 5 client-side database storage.
6565
6566        * Api/webkitgtkglobal.cpp: Set a default database path based on the user data directory.
6567        This should become configurable by client applications in the future.
6568
65692007-10-20  Mark Rowe  <mrowe@apple.com>
6570
6571        Reviewed by Eric.
6572
6573        Don't allow control characters to be inserted into editable regions.
6574
6575        * WebCoreSupport/EditorClientGtk.cpp:
6576        (WebKit::EditorClient::handleKeypress):
6577
65782007-10-19  Alp Toker  <alp@atoker.com>
6579
6580        Reviewed by Oliver.
6581
6582        GTK+ build fix enabling the new local database storage feature.
6583        There is also a prospective Qt build fix.
6584
6585        * WebCoreSupport/ChromeClientGtk.cpp:
6586        (WebKit::ChromeClient::runDatabaseSizeLimitPrompt):
6587        * WebCoreSupport/ChromeClientGtk.h:
6588
65892007-10-14  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
6590
6591        Reviewed by Adam.
6592
6593        http://bugs.webkit.org/show_bug.cgi?id=15299
6594        Fix "hovering_over_link" signal not emitted when consecutive links
6595        are hovered.
6596
6597        * WebCoreSupport/ChromeClientGtk.cpp:
6598        (WebKit::ChromeClient::mouseDidMoveOverElement):
6599        * WebCoreSupport/ChromeClientGtk.h:
6600        - Remove m_didSendLinkSignal as it is superseded by m_hoveredLinkURL
6601
66022007-10-10  Alice Liu  <alice.liu@apple.com>
6603
6604        Reviewed by Geoff Garen.
6605
6606        changes to keep the build from breaking
6607
6608        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6609        (WebKit::FrameLoaderClient::createFrame):
6610        * WebCoreSupport/FrameLoaderClientGtk.h:
6611
66122007-10-03  Alp Toker  <alp@atoker.com>
6613
6614        Reviewed by Adam.
6615
6616        http://bugs.webkit.org/show_bug.cgi?id=14726
6617        [gtk] API design. Mapping the WebView delegates to signals.
6618
6619        Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
6620
6621        * Api/webkitgtkdefines.h:
6622        * Api/webkitgtkframe.cpp:
6623        * Api/webkitgtkframe.h:
6624        * Api/webkitgtkglobal.cpp:
6625        * Api/webkitgtkglobal.h:
6626        * Api/webkitgtknetworkrequest.h:
6627        * Api/webkitgtkpage.cpp:
6628        * Api/webkitgtkpage.h:
6629        * Api/webkitgtkprivate.cpp:
6630        (WebKit::apply):
6631        (WebKit::create):
6632        (WebKit::getFrameFromPage):
6633        (WebKit::getPageFromFrame):
6634        (WebKit::core):
6635        (WebKit::kit):
6636        * Api/webkitgtkprivate.h:
6637        * Api/webkitgtksettings.cpp:
6638        * Api/webkitgtksettings.h:
6639        * WebCoreSupport/ChromeClientGtk.cpp:
6640        (WebKit::ChromeClient::ChromeClient):
6641        (WebKit::ChromeClient::createWindow):
6642        (WebKit::ChromeClient::addMessageToConsole):
6643        (WebKit::ChromeClient::runJavaScriptAlert):
6644        (WebKit::ChromeClient::runJavaScriptConfirm):
6645        (WebKit::ChromeClient::runJavaScriptPrompt):
6646        * WebCoreSupport/ChromeClientGtk.h:
6647        (WebKit::ChromeClient::webPage):
6648        * WebCoreSupport/EditorClientGtk.cpp:
6649        (WebKit::EditorClient::EditorClient):
6650        * WebCoreSupport/EditorClientGtk.h:
6651        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6652        (WebKit::FrameLoaderClient::FrameLoaderClient):
6653        (WebKit::FrameLoaderClient::postProgressStartedNotification):
6654        (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
6655        (WebKit::FrameLoaderClient::postProgressFinishedNotification):
6656        (WebKit::FrameLoaderClient::createFrame):
6657        (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
6658        (WebKit::FrameLoaderClient::setTitle):
6659        * WebCoreSupport/FrameLoaderClientGtk.h:
6660        (WebKit::FrameLoaderClient::webFrame):
6661
66622007-10-02  Cosimo Cecchi  <cosimoc@svn.gnome.org>
6663
6664        Reviewed by Mark.
6665
6666        http://bugs.webkit.org/show_bug.cgi?id=15299
6667        Fix "hovering_over_link" signal being fired every time mouse moves.
6668
6669        * WebCoreSupport/ChromeClientGtk.cpp:
6670        (WebKit::ChromeClient::ChromeClient):
6671        (WebKit::ChromeClient::mouseDidMoveOverElement):
6672        * WebCoreSupport/ChromeClientGtk.h:
6673
66742007-09-21  Sean Egan  <seanegan@gmail.com>
6675
6676        Reviewed by Alp.
6677
6678        Add an "execute_script" method to programmatically call Javascript
6679        http://bugs.webkit.org/show_bug.cgi?id=15255
6680
6681        * Api/webkitgtkpage.cpp:
6682        * Api/webkitgtkpage.h:
6683
66842007-09-29  Lars Lindner  <lars.lindner@gmail.com>
6685
6686        Reviewed by Adam.
6687
6688        ChromeClientGtk.cpp does not implement mouseDidMoveOverElement()
6689        http://bugs.webkit.org/show_bug.cgi?id=15299
6690
6691        Implementing "hovering_over_link" signal.
6692
6693        * WebCoreSupport/ChromeClientGtk.cpp:
6694        (WebKit::ChromeClient::mouseDidMoveOverElement):
6695
66962007-09-26  Mark Rowe  <mrowe@apple.com>
6697
6698        Gtk build fix.
6699
6700        * WebCoreSupport/FrameLoaderClientGtk.cpp:  Check for empty URL instead of invalid URL.
6701
67022007-09-17  Holger Hans Peter Freyther  <zecke@selfish.org>
6703
6704        Reviewed by Adam.
6705
6706        WebKitGtkPage and WebKitGtkFrame have a dependency on each other. To
6707        allow client code to include both headers the typedef's for
6708        WebKitGtkFrame, WebKitGtkPage, WebKitGtkFrameData and WebKitGtkNetworkRequest
6709        are moved into webkitgtkdefines.h and included by both webkitgtkpage.h and
6710        webkitgtkframe.h
6711
6712        * Api/webkitgtkdefines.h:
6713        * Api/webkitgtkframe.h:
6714        * Api/webkitgtkpage.h:
6715
67162007-09-17  Cyril Brulebois  <cyril.brulebois@enst-bretagne.fr>
6717
6718        Reviewed by Mark, some Coding Style changes by Holger.
6719
6720        This is from http://bugs.webkit.org/show_bug.cgi?id=14812.
6721
6722        Add title and location to WebKitGtkFramePrivate, add
6723        webkit_gtk_frame_get_location to the WebKitGtkFrame API as well
6724        as a title_changed callback, implement
6725        webkit_gtk_frame_get_title and webkit_gtk_frame_get_location.
6726
6727        Initial patch by Diego Escalante Urrelo.
6728
6729        * Api/webkitgtkframe.cpp:
6730        * Api/webkitgtkframe.h:
6731        * Api/webkitgtkprivate.h:
6732
67332007-09-15  Holger Hans Peter Freyther  <zecke@selfish.org>
6734
6735        Reviewed by Mark.
6736
6737        Use the new WebCore::String::fromUTF8 function to convert
6738        from the Gtk+ representation of a string to WebCore::String.
6739
6740        * WebCoreSupport/ChromeClientGtk.cpp:
6741        (WebKit::ChromeClient::runJavaScriptPrompt):
6742
67432007-09-10  Nigel Tao  <nigeltao@gnome.org>
6744
6745        Reviewed by Mark Rowe.
6746
6747        Fix a typo where webkit_gtk_page_can_copy was declared twice,
6748        rather than webkit_gtk_page_can_paste.
6749
6750        * Api/webkitgtkpage.h:
6751
67522007-09-08  Brady Eidson  <beidson@apple.com>
6753
6754        Better build fix
6755
6756        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6757        (WebKit::FrameLoaderClient::registerForIconNotification):
6758        * WebCoreSupport/FrameLoaderClientGtk.h:
6759
67602007-09-08  Brady Eidson  <beidson@apple.com>
6761
6762        Build fix
6763
6764        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6765        (WebKit::FrameLoaderClient::registerForIconNotification):
6766        * WebCoreSupport/FrameLoaderClientGtk.h:
6767
67682007-09-05  Geoffrey Garen  <ggaren@apple.com>
6769
6770        Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
6771
6772        Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
6773        memory cache, or a very tiny one
6774
6775        Keep the GTK build working with an empty stub.
6776
6777        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6778        (WebKit::FrameLoaderClient::didPerformFirstNavigation):
6779        * WebCoreSupport/FrameLoaderClientGtk.h:
6780
67812007-09-01  Oliver Hunt  <oliver@apple.com>
6782
6783        Reviewed by Sam.
6784
6785        <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
6786
6787        EditorClient::setInputMethodState stub
6788
6789        * WebCoreSupport/EditorClientGtk.cpp:
6790        (WebKit::EditorClient::setInputMethodState):
6791        * WebCoreSupport/EditorClientGtk.h:
6792
67932007-08-18  Holger Hans Peter Freyther  <zecke@selfish.org>
6794
6795        Build fix. Add const to the first parameter of createPlugin
6796
6797        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6798
67992007-08-17  Anders Carlsson  <andersca@apple.com>
6800
6801        Build fix.
6802
6803        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6804        (WebKit::FrameLoaderClient::createPlugin):
6805        * WebCoreSupport/FrameLoaderClientGtk.h:
6806
68072007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
6808
6809        Reviewed by Adam.
6810
6811        To not hit the needsLayout() assert of Frame::paint for subframes we need to
6812        make sure they are layed out. Use the newly created FrameView::layoutIfNeededRecursive
6813        method to do this.
6814
6815        * Api/webkitgtkpage.cpp:
6816
68172007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
6818
6819        Reviewed by Adam.
6820
6821        Fix text selection by setting a DragClient when creating the Page. Now
6822        that we have a DragClient we can free the Page when WebKitGtkPage gets
6823        destructed.
6824
6825        * Api/webkitgtkpage.cpp:
6826        * WebCoreSupport/DragClientGtk.cpp: Added.
6827        (WebKit::DragClient::willPerformDragDestinationAction):
6828        (WebKit::DragClient::willPerformDragSourceAction):
6829        (WebKit::DragClient::actionMaskForDrag):
6830        (WebKit::DragClient::dragSourceActionMaskForPoint):
6831        (WebKit::DragClient::startDrag):
6832        (WebKit::DragClient::createDragImageForLink):
6833        * WebCoreSupport/DragClientGtk.h: Added.
6834
68352007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
6836
6837        Reviewed by Anders.
6838
6839        Make WebKitGtkPage a GtkContainer to avoid a size_allocate
6840        race of GtkScrollBar and GtkLayout.
6841
6842        * Api/webkitgtk-marshal.list:
6843        * Api/webkitgtkframe.cpp:
6844        * Api/webkitgtkpage.cpp:
6845        * Api/webkitgtkpage.h:
6846        * Api/webkitgtkprivate.h:
6847
68482007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
6849
6850        Reviewed by Niko.
6851
6852        Minor changes to the WebKit::EditorClient to allow removing
6853        of text from TextFields. Remove the selectWordBeforeMenuEvent method
6854        which is not used and not within WebCore::EditorClient.
6855
6856        * WebCoreSupport/EditorClientGtk.cpp:
6857        (WebKit::EditorClient::shouldDeleteRange):
6858        (WebKit::EditorClient::shouldBeginEditing):
6859        (WebKit::EditorClient::shouldEndEditing):
6860        (WebKit::EditorClient::shouldApplyStyle):
6861        (WebKit::EditorClient::shouldInsertNode):
6862        * WebCoreSupport/EditorClientGtk.h:
6863
68642007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
6865
6866        Reviewed by Mark.
6867
6868        Rename the namespace from WebKitGtk to WebKit. Move the various *Client
6869        classes into the WebKit namespace. Change the class names to not contain Gtk.
6870        The file names have to contain the Gtk suffix to not clash with files in WebCore (e.g.
6871        bridge/EditorClient.h).
6872
6873
6874        * Api/webkitgtkframe.cpp:
6875        * Api/webkitgtkpage.cpp:
6876        * Api/webkitgtkprivate.cpp:
6877        * Api/webkitgtkprivate.h:
6878        * ChangeLog:
6879        * WebCoreSupport/ChromeClientGtk.cpp:
6880        (WebKit::ChromeClient::ChromeClient):
6881        (WebKit::ChromeClient::chromeDestroyed):
6882        (WebKit::ChromeClient::windowRect):
6883        (WebKit::ChromeClient::setWindowRect):
6884        (WebKit::ChromeClient::pageRect):
6885        (WebKit::ChromeClient::scaleFactor):
6886        (WebKit::ChromeClient::focus):
6887        (WebKit::ChromeClient::unfocus):
6888        (WebKit::ChromeClient::createWindow):
6889        (WebKit::ChromeClient::createModalDialog):
6890        (WebKit::ChromeClient::show):
6891        (WebKit::ChromeClient::canRunModal):
6892        (WebKit::ChromeClient::runModal):
6893        (WebKit::ChromeClient::setToolbarsVisible):
6894        (WebKit::ChromeClient::toolbarsVisible):
6895        (WebKit::ChromeClient::setStatusbarVisible):
6896        (WebKit::ChromeClient::statusbarVisible):
6897        (WebKit::ChromeClient::setScrollbarsVisible):
6898        (WebKit::ChromeClient::scrollbarsVisible):
6899        (WebKit::ChromeClient::setMenubarVisible):
6900        (WebKit::ChromeClient::menubarVisible):
6901        (WebKit::ChromeClient::setResizable):
6902        (WebKit::ChromeClient::closeWindowSoon):
6903        (WebKit::ChromeClient::canTakeFocus):
6904        (WebKit::ChromeClient::takeFocus):
6905        (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
6906        (WebKit::ChromeClient::runBeforeUnloadConfirmPanel):
6907        (WebKit::ChromeClient::runJavaScriptAlert):
6908        (WebKit::ChromeClient::runJavaScriptConfirm):
6909        (WebKit::ChromeClient::setStatusbarText):
6910        (WebKit::ChromeClient::shouldInterruptJavaScript):
6911        (WebKit::ChromeClient::tabsToLinks):
6912        (WebKit::ChromeClient::windowResizerRect):
6913        (WebKit::ChromeClient::addToDirtyRegion):
6914        (WebKit::ChromeClient::scrollBackingStore):
6915        (WebKit::ChromeClient::updateBackingStore):
6916        (WebKit::ChromeClient::mouseDidMoveOverElement):
6917        (WebKit::ChromeClient::setToolTip):
6918        * WebCoreSupport/ChromeClientGtk.h:
6919        * WebCoreSupport/ContextMenuClientGtk.cpp:
6920        (WebKit::ContextMenuClient::contextMenuDestroyed):
6921        (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
6922        (WebKit::ContextMenuClient::contextMenuItemSelected):
6923        (WebKit::ContextMenuClient::downloadURL):
6924        (WebKit::ContextMenuClient::copyImageToClipboard):
6925        (WebKit::ContextMenuClient::searchWithGoogle):
6926        (WebKit::ContextMenuClient::lookUpInDictionary):
6927        (WebKit::ContextMenuClient::speak):
6928        * WebCoreSupport/ContextMenuClientGtk.h:
6929        * WebCoreSupport/EditorClientGtk.cpp:
6930        (WebKit::EditorClient::shouldDeleteRange):
6931        (WebKit::EditorClient::shouldShowDeleteInterface):
6932        (WebKit::EditorClient::isContinuousSpellCheckingEnabled):
6933        (WebKit::EditorClient::isGrammarCheckingEnabled):
6934        (WebKit::EditorClient::spellCheckerDocumentTag):
6935        (WebKit::EditorClient::shouldBeginEditing):
6936        (WebKit::EditorClient::shouldEndEditing):
6937        (WebKit::EditorClient::shouldInsertText):
6938        (WebKit::EditorClient::shouldChangeSelectedRange):
6939        (WebKit::EditorClient::shouldApplyStyle):
6940        (WebKit::EditorClient::shouldMoveRangeAfterDelete):
6941        (WebKit::EditorClient::didBeginEditing):
6942        (WebKit::EditorClient::respondToChangedContents):
6943        (WebKit::EditorClient::respondToChangedSelection):
6944        (WebKit::EditorClient::didEndEditing):
6945        (WebKit::EditorClient::didWriteSelectionToPasteboard):
6946        (WebKit::EditorClient::didSetSelectionTypesForPasteboard):
6947        (WebKit::EditorClient::selectWordBeforeMenuEvent):
6948        (WebKit::EditorClient::isEditable):
6949        (WebKit::EditorClient::registerCommandForUndo):
6950        (WebKit::EditorClient::registerCommandForRedo):
6951        (WebKit::EditorClient::clearUndoRedoOperations):
6952        (WebKit::EditorClient::canUndo):
6953        (WebKit::EditorClient::canRedo):
6954        (WebKit::EditorClient::undo):
6955        (WebKit::EditorClient::redo):
6956        (WebKit::EditorClient::shouldInsertNode):
6957        (WebKit::EditorClient::pageDestroyed):
6958        (WebKit::EditorClient::smartInsertDeleteEnabled):
6959        (WebKit::EditorClient::toggleContinuousSpellChecking):
6960        (WebKit::EditorClient::toggleGrammarChecking):
6961        (WebKit::EditorClient::handleInputMethodKeypress):
6962        (WebKit::EditorClient::EditorClient):
6963        (WebKit::EditorClient::textFieldDidBeginEditing):
6964        (WebKit::EditorClient::textFieldDidEndEditing):
6965        (WebKit::EditorClient::textDidChangeInTextField):
6966        (WebKit::EditorClient::doTextFieldCommandFromEvent):
6967        (WebKit::EditorClient::textWillBeDeletedInTextField):
6968        (WebKit::EditorClient::textDidChangeInTextArea):
6969        (WebKit::EditorClient::ignoreWordInSpellDocument):
6970        (WebKit::EditorClient::learnWord):
6971        (WebKit::EditorClient::checkSpellingOfString):
6972        (WebKit::EditorClient::checkGrammarOfString):
6973        (WebKit::EditorClient::updateSpellingUIWithGrammarString):
6974        (WebKit::EditorClient::updateSpellingUIWithMisspelledWord):
6975        (WebKit::EditorClient::showSpellingUI):
6976        (WebKit::EditorClient::spellingUIIsShowing):
6977        * WebCoreSupport/EditorClientGtk.h:
6978        * WebCoreSupport/FrameLoaderClientGtk.cpp:
6979        (WebKit::FrameLoaderClient::FrameLoaderClient):
6980        (WebKit::FrameLoaderClient::userAgent):
6981        (WebKit::FrameLoaderClient::createDocumentLoader):
6982        (WebKit::FrameLoaderClient::committedLoad):
6983        (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
6984        (WebKit::FrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
6985        (WebKit::FrameLoaderClient::dispatchWillSendRequest):
6986        (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
6987        (WebKit::FrameLoaderClient::postProgressStartedNotification):
6988        (WebKit::FrameLoaderClient::postProgressFinishedNotification):
6989        (WebKit::FrameLoaderClient::frameLoaderDestroyed):
6990        (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
6991        (WebKit::FrameLoaderClient::createPlugin):
6992        (WebKit::FrameLoaderClient::redirectDataToPlugin):
6993        (WebKit::FrameLoaderClient::createJavaAppletWidget):
6994        (WebKit::FrameLoaderClient::overrideMediaType):
6995        (WebKit::FrameLoaderClient::windowObjectCleared):
6996        (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
6997        (WebKit::FrameLoaderClient::hasWebView):
6998        (WebKit::FrameLoaderClient::hasFrameView):
6999        (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
7000        (WebKit::FrameLoaderClient::frameLoadCompleted):
7001        (WebKit::FrameLoaderClient::saveViewStateToItem):
7002        (WebKit::FrameLoaderClient::restoreViewState):
7003        (WebKit::FrameLoaderClient::privateBrowsingEnabled):
7004        (WebKit::FrameLoaderClient::makeDocumentView):
7005        (WebKit::FrameLoaderClient::makeRepresentation):
7006        (WebKit::FrameLoaderClient::forceLayout):
7007        (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
7008        (WebKit::FrameLoaderClient::setCopiesOnScroll):
7009        (WebKit::FrameLoaderClient::detachedFromParent1):
7010        (WebKit::FrameLoaderClient::detachedFromParent2):
7011        (WebKit::FrameLoaderClient::detachedFromParent3):
7012        (WebKit::FrameLoaderClient::detachedFromParent4):
7013        (WebKit::FrameLoaderClient::loadedFromCachedPage):
7014        (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
7015        (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
7016        (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
7017        (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
7018        (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
7019        (WebKit::FrameLoaderClient::dispatchWillClose):
7020        (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
7021        (WebKit::FrameLoaderClient::dispatchDidStartProvisionalLoad):
7022        (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
7023        (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
7024        (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
7025        (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
7026        (WebKit::FrameLoaderClient::dispatchShow):
7027        (WebKit::FrameLoaderClient::cancelPolicyCheck):
7028        (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
7029        (WebKit::FrameLoaderClient::revertToProvisionalState):
7030        (WebKit::FrameLoaderClient::clearUnarchivingState):
7031        (WebKit::FrameLoaderClient::willChangeTitle):
7032        (WebKit::FrameLoaderClient::didChangeTitle):
7033        (WebKit::FrameLoaderClient::finishedLoading):
7034        (WebKit::FrameLoaderClient::finalSetupForReplace):
7035        (WebKit::FrameLoaderClient::setDefersLoading):
7036        (WebKit::FrameLoaderClient::isArchiveLoadPending):
7037        (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
7038        (WebKit::FrameLoaderClient::clearArchivedResources):
7039        (WebKit::FrameLoaderClient::canHandleRequest):
7040        (WebKit::FrameLoaderClient::canShowMIMEType):
7041        (WebKit::FrameLoaderClient::representationExistsForURLScheme):
7042        (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
7043        (WebKit::FrameLoaderClient::provisionalLoadStarted):
7044        (WebKit::FrameLoaderClient::didFinishLoad):
7045        (WebKit::FrameLoaderClient::setDocumentViewFromCachedPage):
7046        (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
7047        (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
7048        (WebKit::FrameLoaderClient::dispatchDidFailLoading):
7049        (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
7050        (WebKit::FrameLoaderClient::dispatchDidFailProvisionalLoad):
7051        (WebKit::FrameLoaderClient::dispatchDidFailLoad):
7052        (WebKit::FrameLoaderClient::download):
7053        (WebKit::FrameLoaderClient::cancelledError):
7054        (WebKit::FrameLoaderClient::blockedError):
7055        (WebKit::FrameLoaderClient::cannotShowURLError):
7056        (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
7057        (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
7058        (WebKit::FrameLoaderClient::fileDoesNotExistError):
7059        (WebKit::FrameLoaderClient::shouldFallBack):
7060        (WebKit::FrameLoaderClient::willUseArchive):
7061        (WebKit::FrameLoaderClient::saveDocumentViewToCachedPage):
7062        (WebKit::FrameLoaderClient::canCachePage):
7063        (WebKit::FrameLoaderClient::dispatchCreatePage):
7064        (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
7065        * WebCoreSupport/FrameLoaderClientGtk.h:
7066        * WebCoreSupport/InspectorClientGtk.cpp:
7067        (WebKit::InspectorClient::inspectorDestroyed):
7068        (WebKit::InspectorClient::createPage):
7069        (WebKit::InspectorClient::showWindow):
7070        (WebKit::InspectorClient::closeWindow):
7071        (WebKit::InspectorClient::attachWindow):
7072        (WebKit::InspectorClient::detachWindow):
7073        (WebKit::InspectorClient::highlight):
7074        (WebKit::InspectorClient::hideHighlight):
7075        * WebCoreSupport/InspectorClientGtk.h:
7076
70772007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
7078
7079        Reviewed by Adam.
7080
7081        As of http://bugs.webkit.org/show_bug.cgi?id=14727 move the
7082        various *ClientGdk.{cpp,h} files from WebCore to WebKit/gtk/WebCoreSupport and
7083        rename it from Gdk to Gtk.
7084
7085        * Api/webkitgtkdefines.h:
7086        * Api/webkitgtkframe.cpp:
7087        * Api/webkitgtkframe.h:
7088        * Api/webkitgtkglobal.cpp:
7089        * Api/webkitgtkglobal.h:
7090        * Api/webkitgtknetworkrequest.cpp:
7091        * Api/webkitgtknetworkrequest.h:
7092        * Api/webkitgtkpage.cpp:
7093        * Api/webkitgtkpage.h:
7094        * Api/webkitgtkprivate.cpp:
7095        * Api/webkitgtkprivate.h:
7096        * Api/webkitgtksettings.cpp:
7097        * Api/webkitgtksettings.h:
7098        * WebCoreSupport/ChromeClientGtk.cpp: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.cpp.
7099        (WebKitGtk::ChromeClientGtk::ChromeClientGtk):
7100        (WebKitGtk::ChromeClientGtk::chromeDestroyed):
7101        (WebKitGtk::ChromeClientGtk::windowRect):
7102        (WebKitGtk::ChromeClientGtk::setWindowRect):
7103        (WebKitGtk::ChromeClientGtk::pageRect):
7104        (WebKitGtk::ChromeClientGtk::scaleFactor):
7105        (WebKitGtk::ChromeClientGtk::focus):
7106        (WebKitGtk::ChromeClientGtk::unfocus):
7107        (WebKitGtk::ChromeClientGtk::createWindow):
7108        (WebKitGtk::ChromeClientGtk::createModalDialog):
7109        (WebKitGtk::ChromeClientGtk::show):
7110        (WebKitGtk::ChromeClientGtk::canRunModal):
7111        (WebKitGtk::ChromeClientGtk::runModal):
7112        (WebKitGtk::ChromeClientGtk::setToolbarsVisible):
7113        (WebKitGtk::ChromeClientGtk::toolbarsVisible):
7114        (WebKitGtk::ChromeClientGtk::setStatusbarVisible):
7115        (WebKitGtk::ChromeClientGtk::statusbarVisible):
7116        (WebKitGtk::ChromeClientGtk::setScrollbarsVisible):
7117        (WebKitGtk::ChromeClientGtk::scrollbarsVisible):
7118        (WebKitGtk::ChromeClientGtk::setMenubarVisible):
7119        (WebKitGtk::ChromeClientGtk::menubarVisible):
7120        (WebKitGtk::ChromeClientGtk::setResizable):
7121        (WebKitGtk::ChromeClientGtk::closeWindowSoon):
7122        (WebKitGtk::ChromeClientGtk::canTakeFocus):
7123        (WebKitGtk::ChromeClientGtk::takeFocus):
7124        (WebKitGtk::ChromeClientGtk::canRunBeforeUnloadConfirmPanel):
7125        (WebKitGtk::ChromeClientGtk::runBeforeUnloadConfirmPanel):
7126        (WebKitGtk::ChromeClientGtk::addMessageToConsole):
7127        (WebKitGtk::ChromeClientGtk::runJavaScriptAlert):
7128        (WebKitGtk::ChromeClientGtk::runJavaScriptConfirm):
7129        (WebKitGtk::ChromeClientGtk::runJavaScriptPrompt):
7130        (WebKitGtk::ChromeClientGtk::setStatusbarText):
7131        (WebKitGtk::ChromeClientGtk::shouldInterruptJavaScript):
7132        (WebKitGtk::ChromeClientGtk::tabsToLinks):
7133        (WebKitGtk::ChromeClientGtk::windowResizerRect):
7134        (WebKitGtk::ChromeClientGtk::addToDirtyRegion):
7135        (WebKitGtk::ChromeClientGtk::scrollBackingStore):
7136        (WebKitGtk::ChromeClientGtk::updateBackingStore):
7137        (WebKitGtk::ChromeClientGtk::mouseDidMoveOverElement):
7138        (WebKitGtk::ChromeClientGtk::setToolTip):
7139        * WebCoreSupport/ChromeClientGtk.h: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.h.
7140        (WebKitGtk::ChromeClientGtk::webPage):
7141        * WebCoreSupport/ContextMenuClientGtk.cpp: Renamed from WebCore/page/gdk/ContextMenuClientGdk.cpp.
7142        (WebCore::ContextMenuClientGtk::contextMenuDestroyed):
7143        (WebCore::ContextMenuClientGtk::getCustomMenuFromDefaultItems):
7144        (WebCore::ContextMenuClientGtk::contextMenuItemSelected):
7145        (WebCore::ContextMenuClientGtk::downloadURL):
7146        (WebCore::ContextMenuClientGtk::copyImageToClipboard):
7147        (WebCore::ContextMenuClientGtk::searchWithGoogle):
7148        (WebCore::ContextMenuClientGtk::lookUpInDictionary):
7149        (WebCore::ContextMenuClientGtk::speak):
7150        (WebCore::ContextMenuClientGtk::stopSpeaking):
7151        * WebCoreSupport/ContextMenuClientGtk.h: Renamed from WebCore/page/gdk/ContextMenuClientGdk.h.
7152        * WebCoreSupport/EditorClientGtk.cpp: Renamed from WebCore/platform/gdk/EditorClientGdk.cpp.
7153        (WebCore::EditorClientGtk::shouldDeleteRange):
7154        (WebCore::EditorClientGtk::shouldShowDeleteInterface):
7155        (WebCore::EditorClientGtk::isContinuousSpellCheckingEnabled):
7156        (WebCore::EditorClientGtk::isGrammarCheckingEnabled):
7157        (WebCore::EditorClientGtk::spellCheckerDocumentTag):
7158        (WebCore::EditorClientGtk::shouldBeginEditing):
7159        (WebCore::EditorClientGtk::shouldEndEditing):
7160        (WebCore::EditorClientGtk::shouldInsertText):
7161        (WebCore::EditorClientGtk::shouldChangeSelectedRange):
7162        (WebCore::EditorClientGtk::shouldApplyStyle):
7163        (WebCore::EditorClientGtk::shouldMoveRangeAfterDelete):
7164        (WebCore::EditorClientGtk::didBeginEditing):
7165        (WebCore::EditorClientGtk::respondToChangedContents):
7166        (WebCore::EditorClientGtk::respondToChangedSelection):
7167        (WebCore::EditorClientGtk::didEndEditing):
7168        (WebCore::EditorClientGtk::didWriteSelectionToPasteboard):
7169        (WebCore::EditorClientGtk::didSetSelectionTypesForPasteboard):
7170        (WebCore::EditorClientGtk::selectWordBeforeMenuEvent):
7171        (WebCore::EditorClientGtk::isEditable):
7172        (WebCore::EditorClientGtk::registerCommandForUndo):
7173        (WebCore::EditorClientGtk::registerCommandForRedo):
7174        (WebCore::EditorClientGtk::clearUndoRedoOperations):
7175        (WebCore::EditorClientGtk::canUndo):
7176        (WebCore::EditorClientGtk::canRedo):
7177        (WebCore::EditorClientGtk::undo):
7178        (WebCore::EditorClientGtk::redo):
7179        (WebCore::EditorClientGtk::shouldInsertNode):
7180        (WebCore::EditorClientGtk::pageDestroyed):
7181        (WebCore::EditorClientGtk::smartInsertDeleteEnabled):
7182        (WebCore::EditorClientGtk::toggleContinuousSpellChecking):
7183        (WebCore::EditorClientGtk::toggleGrammarChecking):
7184        (WebCore::EditorClientGtk::handleKeypress):
7185        (WebCore::EditorClientGtk::handleInputMethodKeypress):
7186        (WebCore::EditorClientGtk::EditorClientGtk):
7187        (WebCore::EditorClientGtk::textFieldDidBeginEditing):
7188        (WebCore::EditorClientGtk::textFieldDidEndEditing):
7189        (WebCore::EditorClientGtk::textDidChangeInTextField):
7190        (WebCore::EditorClientGtk::doTextFieldCommandFromEvent):
7191        (WebCore::EditorClientGtk::textWillBeDeletedInTextField):
7192        (WebCore::EditorClientGtk::textDidChangeInTextArea):
7193        (WebCore::EditorClientGtk::ignoreWordInSpellDocument):
7194        (WebCore::EditorClientGtk::learnWord):
7195        (WebCore::EditorClientGtk::checkSpellingOfString):
7196        (WebCore::EditorClientGtk::checkGrammarOfString):
7197        (WebCore::EditorClientGtk::updateSpellingUIWithGrammarString):
7198        (WebCore::EditorClientGtk::updateSpellingUIWithMisspelledWord):
7199        (WebCore::EditorClientGtk::showSpellingUI):
7200        (WebCore::EditorClientGtk::spellingUIIsShowing):
7201        (WebCore::EditorClientGtk::getGuessesForWord):
7202        * WebCoreSupport/EditorClientGtk.h: Renamed from WebCore/platform/gdk/EditorClientGdk.h.
7203        * WebCoreSupport/FrameLoaderClientGtk.cpp: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.cpp.
7204        (WebCore::FrameLoaderClientGtk::FrameLoaderClientGtk):
7205        (WebCore::FrameLoaderClientGtk::userAgent):
7206        (WebCore::FrameLoaderClientGtk::createDocumentLoader):
7207        (WebCore::FrameLoaderClientGtk::dispatchWillSubmitForm):
7208        (WebCore::FrameLoaderClientGtk::committedLoad):
7209        (WebCore::FrameLoaderClientGtk::dispatchDidReceiveAuthenticationChallenge):
7210        (WebCore::FrameLoaderClientGtk::dispatchDidCancelAuthenticationChallenge):
7211        (WebCore::FrameLoaderClientGtk::dispatchWillSendRequest):
7212        (WebCore::FrameLoaderClientGtk::assignIdentifierToInitialRequest):
7213        (WebCore::FrameLoaderClientGtk::postProgressStartedNotification):
7214        (WebCore::FrameLoaderClientGtk::postProgressEstimateChangedNotification):
7215        (WebCore::FrameLoaderClientGtk::postProgressFinishedNotification):
7216        (WebCore::FrameLoaderClientGtk::frameLoaderDestroyed):
7217        (WebCore::FrameLoaderClientGtk::dispatchDidReceiveResponse):
7218        (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForMIMEType):
7219        (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNewWindowAction):
7220        (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNavigationAction):
7221        (WebCore::FrameLoaderClientGtk::createPlugin):
7222        (WebCore::FrameLoaderClientGtk::createFrame):
7223        (WebCore::FrameLoaderClientGtk::redirectDataToPlugin):
7224        (WebCore::FrameLoaderClientGtk::createJavaAppletWidget):
7225        (WebCore::FrameLoaderClientGtk::objectContentType):
7226        (WebCore::FrameLoaderClientGtk::overrideMediaType):
7227        (WebCore::FrameLoaderClientGtk::windowObjectCleared):
7228        (WebCore::FrameLoaderClientGtk::setMainFrameDocumentReady):
7229        (WebCore::FrameLoaderClientGtk::hasWebView):
7230        (WebCore::FrameLoaderClientGtk::hasFrameView):
7231        (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoad):
7232        (WebCore::FrameLoaderClientGtk::frameLoadCompleted):
7233        (WebCore::FrameLoaderClientGtk::saveViewStateToItem):
7234        (WebCore::FrameLoaderClientGtk::restoreViewState):
7235        (WebCore::FrameLoaderClientGtk::shouldGoToHistoryItem):
7236        (WebCore::FrameLoaderClientGtk::privateBrowsingEnabled):
7237        (WebCore::FrameLoaderClientGtk::makeDocumentView):
7238        (WebCore::FrameLoaderClientGtk::makeRepresentation):
7239        (WebCore::FrameLoaderClientGtk::forceLayout):
7240        (WebCore::FrameLoaderClientGtk::forceLayoutForNonHTML):
7241        (WebCore::FrameLoaderClientGtk::setCopiesOnScroll):
7242        (WebCore::FrameLoaderClientGtk::detachedFromParent1):
7243        (WebCore::FrameLoaderClientGtk::detachedFromParent2):
7244        (WebCore::FrameLoaderClientGtk::detachedFromParent3):
7245        (WebCore::FrameLoaderClientGtk::detachedFromParent4):
7246        (WebCore::FrameLoaderClientGtk::loadedFromCachedPage):
7247        (WebCore::FrameLoaderClientGtk::dispatchDidHandleOnloadEvents):
7248        (WebCore::FrameLoaderClientGtk::dispatchDidReceiveServerRedirectForProvisionalLoad):
7249        (WebCore::FrameLoaderClientGtk::dispatchDidCancelClientRedirect):
7250        (WebCore::FrameLoaderClientGtk::dispatchWillPerformClientRedirect):
7251        (WebCore::FrameLoaderClientGtk::dispatchDidChangeLocationWithinPage):
7252        (WebCore::FrameLoaderClientGtk::dispatchWillClose):
7253        (WebCore::FrameLoaderClientGtk::dispatchDidReceiveIcon):
7254        (WebCore::FrameLoaderClientGtk::dispatchDidStartProvisionalLoad):
7255        (WebCore::FrameLoaderClientGtk::dispatchDidReceiveTitle):
7256        (WebCore::FrameLoaderClientGtk::dispatchDidCommitLoad):
7257        (WebCore::FrameLoaderClientGtk::dispatchDidFinishDocumentLoad):
7258        (WebCore::FrameLoaderClientGtk::dispatchDidFirstLayout):
7259        (WebCore::FrameLoaderClientGtk::dispatchShow):
7260        (WebCore::FrameLoaderClientGtk::cancelPolicyCheck):
7261        (WebCore::FrameLoaderClientGtk::dispatchDidLoadMainResource):
7262        (WebCore::FrameLoaderClientGtk::revertToProvisionalState):
7263        (WebCore::FrameLoaderClientGtk::clearUnarchivingState):
7264        (WebCore::FrameLoaderClientGtk::willChangeTitle):
7265        (WebCore::FrameLoaderClientGtk::didChangeTitle):
7266        (WebCore::FrameLoaderClientGtk::finishedLoading):
7267        (WebCore::FrameLoaderClientGtk::finalSetupForReplace):
7268        (WebCore::FrameLoaderClientGtk::setDefersLoading):
7269        (WebCore::FrameLoaderClientGtk::isArchiveLoadPending):
7270        (WebCore::FrameLoaderClientGtk::cancelPendingArchiveLoad):
7271        (WebCore::FrameLoaderClientGtk::clearArchivedResources):
7272        (WebCore::FrameLoaderClientGtk::canHandleRequest):
7273        (WebCore::FrameLoaderClientGtk::canShowMIMEType):
7274        (WebCore::FrameLoaderClientGtk::representationExistsForURLScheme):
7275        (WebCore::FrameLoaderClientGtk::generatedMIMETypeForURLScheme):
7276        (WebCore::FrameLoaderClientGtk::provisionalLoadStarted):
7277        (WebCore::FrameLoaderClientGtk::didFinishLoad):
7278        (WebCore::FrameLoaderClientGtk::prepareForDataSourceReplacement):
7279        (WebCore::FrameLoaderClientGtk::setTitle):
7280        (WebCore::FrameLoaderClientGtk::setDocumentViewFromCachedPage):
7281        (WebCore::FrameLoaderClientGtk::dispatchDidReceiveContentLength):
7282        (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoading):
7283        (WebCore::FrameLoaderClientGtk::dispatchDidFailLoading):
7284        (WebCore::FrameLoaderClientGtk::dispatchDidLoadResourceFromMemoryCache):
7285        (WebCore::FrameLoaderClientGtk::dispatchDidFailProvisionalLoad):
7286        (WebCore::FrameLoaderClientGtk::dispatchDidFailLoad):
7287        (WebCore::FrameLoaderClientGtk::download):
7288        (WebCore::FrameLoaderClientGtk::cancelledError):
7289        (WebCore::FrameLoaderClientGtk::blockedError):
7290        (WebCore::FrameLoaderClientGtk::cannotShowURLError):
7291        (WebCore::FrameLoaderClientGtk::interruptForPolicyChangeError):
7292        (WebCore::FrameLoaderClientGtk::cannotShowMIMETypeError):
7293        (WebCore::FrameLoaderClientGtk::fileDoesNotExistError):
7294        (WebCore::FrameLoaderClientGtk::shouldFallBack):
7295        (WebCore::FrameLoaderClientGtk::willUseArchive):
7296        (WebCore::FrameLoaderClientGtk::saveDocumentViewToCachedPage):
7297        (WebCore::FrameLoaderClientGtk::canCachePage):
7298        (WebCore::FrameLoaderClientGtk::dispatchCreatePage):
7299        (WebCore::FrameLoaderClientGtk::dispatchUnableToImplementPolicy):
7300        * WebCoreSupport/FrameLoaderClientGtk.h: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.h.
7301        (WebCore::FrameLoaderClientGtk::~FrameLoaderClientGtk):
7302        (WebCore::FrameLoaderClientGtk::webFrame):
7303        * WebCoreSupport/InspectorClientGtk.cpp: Renamed from WebCore/page/gdk/InspectorClientGdk.cpp.
7304        (WebCore::InspectorClientGtk::inspectorDestroyed):
7305        (WebCore::InspectorClientGtk::createPage):
7306        (WebCore::InspectorClientGtk::showWindow):
7307        (WebCore::InspectorClientGtk::closeWindow):
7308        (WebCore::InspectorClientGtk::attachWindow):
7309        (WebCore::InspectorClientGtk::detachWindow):
7310        (WebCore::InspectorClientGtk::highlight):
7311        (WebCore::InspectorClientGtk::hideHighlight):
7312        (WebCore::InspectorClientGtk::inspectedURLChanged):
7313        * WebCoreSupport/InspectorClientGtk.h: Renamed from WebCore/page/gdk/InspectorClientGdk.h.
7314
73152007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
7316
7317        Build fix.
7318
7319        * Api/webkitgtkframe.cpp:
7320
73212007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
7322
7323        Reviewed by Adam.
7324
7325        Remove the create_frame virtual method of WebKitGtkPage. This method was inspired
7326        by the Qt port but to be useful for reimplementations WebKitGtkFrameData would need
7327        to export/expose WebCore types. WebView doesn't offer such a method so I decided to
7328        remove it.
7329        Add a internal constructor to WebKitGtkFrame to be used for constructing Sub-Frames. This
7330        is currently used by FrameLoaderClientGdk::createFrame.
7331
7332        * Api/webkitgtkframe.cpp:
7333        * Api/webkitgtkframedata.cpp: Removed.
7334        * Api/webkitgtkframedata.h: Removed.
7335        * Api/webkitgtkpage.cpp:
7336        * Api/webkitgtkpage.h:
7337        * Api/webkitgtkprivate.h:
7338
73392007-08-10  Holger Hans Peter Freyther  <zecke@selfish.org>
7340
7341        Reviewed by Adam.
7342
7343        Follow the changes of ScrollView in WebCore and call setContainingWindow, set the
7344        GtkAdjustment of the GtkLayout and reimplement the set_scroll_adjustments method and pass
7345        the GtkAdjustments to ScrollView.
7346        This makes having one GdkWindow for the complete FrameTree possible.
7347
7348
7349        * gtk/Api/webkitgtkframe.cpp:
7350        * gtk/Api/webkitgtkpage.cpp:
7351
73522007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
7353
7354        Reviewed by Niko.
7355
7356        We only need to set the Settings of the Page once so do it in
7357        WebKitGtkPage instead of WebKitGtkFrame.
7358
7359        * gtk/Api/webkitgtkframe.cpp:
7360        * gtk/Api/webkitgtkpage.cpp:
7361
73622007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
7363
7364        Reviewed by Niko.
7365
7366        Instead of reimplementing the general event method, reimplement
7367        the specific mouse, expose, keyboard event methods.
7368
7369        Call the finalize implementation of the base class from WebKitGtkPage
7370        and WebKitGtkFrame.
7371
7372        * gtk/Api/webkitgtkframe.cpp:
7373        * gtk/Api/webkitgtkpage.cpp:
7374
73752007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
7376
7377        Reviewed by Niko.
7378
7379        Remove the custom painting in favor of the Widget::paint
7380        implementation.
7381
7382        * gtk/Api/webkitgtkpage.cpp:
7383
73842007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
7385
7386        Reviewed by Adam.
7387
7388        Moved code from class FrameGdk into WebKitGtkFrame. Update the
7389        webkitgrkprivate.h header file to not include FrameGdk.h.
7390
7391        * gtk/Api/webkitgtkframe.cpp:
7392        * gtk/Api/webkitgtkprivate.h:
7393
73942007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
7395
7396        Reviewed by Adam.
7397
7398        Change variable names to follow the Coding-Style. Replace occurences
7399        of a_b with aB and place the '*' correctly.
7400
7401        * gtk/Api/webkitgtkframe.cpp:
7402        * gtk/Api/webkitgtkpage.cpp:
7403        * gtk/Api/webkitgtkprivate.h:
7404
74052007-08-08  Holger Hans Peter Freyther  <zecke@selfish.org>
7406
7407        Reviewed by Adam.
7408
7409        Reimplement GtkWidget::event and handle the keyboard and mouse
7410        events inside WebKitGtkPage.
7411
7412        * gtk/Api/webkitgtkpage.cpp:
7413        (FrameGdkExposeData::frame_gdk_expose_child):
7414        (FrameGdkExposeData::webkit_gtk_page_rendering_area_handle_gdk_event):
7415        (FrameGdkExposeData::webkit_gtk_page_register_rendering_area_events):
7416        (FrameGdkExposeData::webkit_gtk_page_class_init):
7417
74182007-08-07  Xan Lopez  <xan@gnome.org>
7419
7420        Reviewed by Mark Rowe.
7421
7422        http://bugs.webkit.org/show_bug.cgi?id=14815
7423        [gtk] API implementation: reload
7424
7425        * gtk/Api/webkitgtkpage.cpp: Implement the webkit_gtk_page_reload()
7426        function.
7427
74282007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org>
7429
7430        Reviewed by Adam.
7431
7432        http://bugs.webkit.org/show_bug.cgi?id=14806
7433        Implement can_go_backward and can_go_forward in webkitgtkpage.cpp
7434
7435        * gtk/Api/webkitgtkpage.cpp: Implement webkit_gtk_page_can_go_backward() and
7436        webkit_gtk_page_can_go_forward() functions.
7437
74382007-07-30  Diego Escalante Urrelo  <diegoe@gnome.org>
7439
7440        Reviewed by Alp Toker.
7441
7442        http://bugs.webkit.org/show_bug.cgi?id=14810
7443        Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
7444
7445        This is the proper fix for #14810.
7446
7447        * gtk/Api/webkitgtkframe.cpp:
7448        * gtk/Api/webkitgtkpage.cpp: Fix the marshaller type of the "load_finished" signal and
7449        correct the class_offset parameters.
7450
74512007-07-29  Diego Escalante Urrelo  <diegoe@gnome.org>
7452
7453        Reviewed by Alp Toker.
7454
7455        http://bugs.webkit.org/show_bug.cgi?id=14810
7456        Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
7457
7458        * gtk/Api/webkitgtkpage.cpp: Use a correct n_params value and the corresponding types for
7459        them in the "load_finished" signal.
7460
74612007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
7462
7463        Reviewed by Adam.
7464
7465        Add the first API and partial implementation of the WebKit/Gtk port as
7466        of http://bugs.webkit.org/show_bug.cgi?id=14678.
7467
7468        The delegates of WebView will be modeled as signals. Delegates like the
7469        WebPolicyDelegate will be implemented as signals with default handlers.
7470
7471        Start moving files to WebKit/gtk/WebCoreSupport.
7472
7473        * gtk: Added.
7474        * gtk/Api: Added.
7475        * gtk/Api/headers.pri: Added.
7476        * gtk/Api/webkitgtk-marshal.list: Added.
7477        * gtk/Api/webkitgtkdefines.h: Added.
7478        * gtk/Api/webkitgtkframe.cpp: Added.
7479        * gtk/Api/webkitgtkframe.h: Added.
7480        * gtk/Api/webkitgtkframedata.cpp: Added.
7481        * gtk/Api/webkitgtkframedata.h: Added.
7482        * gtk/Api/webkitgtkglobal.cpp: Added.
7483        * gtk/Api/webkitgtkglobal.h: Added.
7484        * gtk/Api/webkitgtknetworkrequest.cpp: Added.
7485        * gtk/Api/webkitgtknetworkrequest.h: Added.
7486        * gtk/Api/webkitgtkpage.cpp: Added.
7487        * gtk/Api/webkitgtkpage.h: Added.
7488        * gtk/Api/webkitgtkprivate.cpp: Added.
7489        * gtk/Api/webkitgtkprivate.h: Added.
7490        * gtk/Api/webkitgtksettings.cpp: Added.
7491        * gtk/Api/webkitgtksettings.h: Added.
7492        * gtk/WebCoreSupport: Added.
7493        * gtk/WebCoreSupport/ChromeClientGdk.cpp: Added.
7494        (WebCore::ChromeClientGdk::ChromeClientGdk):
7495        (WebCore::ChromeClientGdk::chromeDestroyed):
7496        (WebCore::ChromeClientGdk::windowRect):
7497        (WebCore::ChromeClientGdk::setWindowRect):
7498        (WebCore::ChromeClientGdk::pageRect):
7499        (WebCore::ChromeClientGdk::scaleFactor):
7500        (WebCore::ChromeClientGdk::focus):
7501        (WebCore::ChromeClientGdk::unfocus):
7502        (WebCore::ChromeClientGdk::createWindow):
7503        (WebCore::ChromeClientGdk::createModalDialog):
7504        (WebCore::ChromeClientGdk::show):
7505        (WebCore::ChromeClientGdk::canRunModal):
7506        (WebCore::ChromeClientGdk::runModal):
7507        (WebCore::ChromeClientGdk::setToolbarsVisible):
7508        (WebCore::ChromeClientGdk::toolbarsVisible):
7509        (WebCore::ChromeClientGdk::setStatusbarVisible):
7510        (WebCore::ChromeClientGdk::statusbarVisible):
7511        (WebCore::ChromeClientGdk::setScrollbarsVisible):
7512        (WebCore::ChromeClientGdk::scrollbarsVisible):
7513        (WebCore::ChromeClientGdk::setMenubarVisible):
7514        (WebCore::ChromeClientGdk::menubarVisible):
7515        (WebCore::ChromeClientGdk::setResizable):
7516        (WebCore::ChromeClientGdk::closeWindowSoon):
7517        (WebCore::ChromeClientGdk::canTakeFocus):
7518        (WebCore::ChromeClientGdk::takeFocus):
7519        (WebCore::ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
7520        (WebCore::ChromeClientGdk::runBeforeUnloadConfirmPanel):
7521        (WebCore::ChromeClientGdk::addMessageToConsole):
7522        (WebCore::ChromeClientGdk::runJavaScriptAlert):
7523        (WebCore::ChromeClientGdk::runJavaScriptConfirm):
7524        (WebCore::ChromeClientGdk::runJavaScriptPrompt):
7525        (WebCore::ChromeClientGdk::setStatusbarText):
7526        (WebCore::ChromeClientGdk::shouldInterruptJavaScript):
7527        (WebCore::ChromeClientGdk::tabsToLinks):
7528        (WebCore::ChromeClientGdk::windowResizerRect):
7529        (WebCore::ChromeClientGdk::addToDirtyRegion):
7530        (WebCore::ChromeClientGdk::scrollBackingStore):
7531        (WebCore::ChromeClientGdk::updateBackingStore):
7532        (WebCore::ChromeClientGdk::mouseDidMoveOverElement):
7533        (WebCore::ChromeClientGdk::setToolTip):
7534        (WebCore::ChromeClientGdk::print):
7535        * gtk/WebCoreSupport/ChromeClientGdk.h: Added.
7536
7537