1 2008-09-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
3 Reviewed by Maciej Stachowiak.
5 Bug 20704: Replace the KJS namespace
6 <https://bugs.webkit.org/show_bug.cgi?id=20704>
8 Rename the KJS namespace to JSC.
10 * webkit/webkitprivate.cpp:
13 2008-09-05 Gustavo Noronha Silva <gns@gnome.org>
15 Reviewed by Alp Toker.
17 https://bugs.webkit.org/show_bug.cgi?id=18346
18 [GTK] Remove build warnings
20 Removed/commented code that is not (yet) used, and reordered
21 member variables initialization for FrameLoaderClient, so that the
22 compiler is happy and prints less warnings when building.
24 * WebCoreSupport/ContextMenuClientGtk.cpp:
25 * WebCoreSupport/FrameLoaderClientGtk.cpp:
26 (WebKit::FrameLoaderClient::FrameLoaderClient):
28 2008-09-03 Alp Toker <alp@nuanti.com>
30 Build fix following r36073. Include config.h where necessary.
32 * WebCoreSupport/PasteboardHelperGtk.cpp:
33 * webkit/webkitversion.cpp:
35 2008-09-01 Alp Toker <alp@nuanti.com>
37 Reviewed by Eric Seidel.
39 https://bugs.webkit.org/show_bug.cgi?id=19939
40 [GTK] webkit_web_history_item_get_title() fails with assertion
42 Make sure newly constructed WebHistoryItem objects wrap a WebCore
43 history item when necessary. Avoid G_PARAM_CONSTRUCT since it destroys
44 history data -- use WEBKIT_PARAM flags instead as they do the right
45 thing. This restores history functionality.
47 Also use CString to simplify UTF-8 string management.
49 * webkit/webkitwebbackforwardlist.cpp:
50 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
51 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
52 No need to initialize the vector with a size since it's cleared by the
54 * webkit/webkitwebhistoryitem.cpp:
55 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
56 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
57 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
58 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
59 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
60 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
61 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
62 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
63 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
64 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
66 2008-08-27 Adrien Nader <camaradetux@gmail.com>
68 Reviewed by Eric Seidel.
70 https://bugs.webkit.org/show_bug.cgi?id=20099
71 [GTK] SHIFT+PAGE_UP/DOWN doesn't extend selection
73 * WebCoreSupport/EditorClientGtk.cpp:
74 (WebKit::EditorClient::handleKeyboardEvent):
76 2008-08-27 Brady Eidson <beidson@apple.com>
80 <rdar://problem/6134133> - Crash when loading large movie as a standalone document
82 * WebCoreSupport/FrameLoaderClientGtk.cpp:
83 (WebKit::FrameLoaderClient::pluginWillHandleLoadError): Stubbed for now
84 * WebCoreSupport/FrameLoaderClientGtk.h:
86 2008-08-18 Alp Toker <alp@nuanti.com>
88 Reviewed by Holger Freyther.
90 https://bugs.webkit.org/show_bug.cgi?id=20350
91 [GTK] Get DumpRenderTree working
93 Add a private function to WebFrame to dump the render tree as required
94 for the DumpRenderTree testing tool.
96 * webkit/webkitprivate.h:
97 * webkit/webkitwebframe.cpp:
99 2008-08-12 Timothy Hatcher <timothy@apple.com>
101 Add a stub for InspectorClient::setAttachedWindowHeight.
103 * WebCoreSupport/InspectorClientGtk.cpp:
104 (WebKit::InspectorClient::setAttachedWindowHeight):
105 Call notImplemented().
106 * WebCoreSupport/InspectorClientGtk.h:
108 2008-08-10 Alp Toker <alp@nuanti.com>
110 Remove leftover qmake/GTK+ build files.
112 * webkit/headers.pri: Removed.
114 2008-08-02 Christian Dywan <christian@twotoasts.de>
116 Reviewed by Eric Seidel.
118 Remove webkit-marshal.list, which was made obsolete in #19742
120 * webkit/webkit-marshal.list: Removed.
122 2008-08-01 Wouter Bolsterlee <uws@xs4all.nl>
124 Reviewed by Eric Seidel.
126 https://bugs.webkit.org/show_bug.cgi?id=20035
127 [GTK] Fix return value for webkit_web_view_go_to_back_forward_item()
129 * webkit/webkitwebview.cpp:
131 2008-07-30 Marco Barisione <marco.barisione@collabora.co.uk>
135 http://bugs.webkit.org/show_bug.cgi?id=19742
136 [GTK] Auto generate webkitmarshal.list
138 Auto generate webkitmarshal.list from source files to reduce the
139 number of conflicts when merging git branches or when applying
141 Also rename webkit-marshal.* to webkitmarshal.* for consistency.
143 * webkit/webkitwebframe.cpp: Include webkitmarshal.h instead of
145 * webkit/webkitwebview.cpp: Ditto.
147 2008-07-30 Gustavo Noronha Silva <gns@gnome.org>
151 https://bugs.webkit.org/show_bug.cgi?id=20205
152 Typo in comment for bracer ending block
154 * webkit/webkitprivate.cpp: Typo fix in comment for the brace
155 that ends the WebKit namespace; WebCore -> WebKit
157 2008-07-26 Mark Rowe <mrowe@apple.com>
159 Build fix. Changes to accommodate newly named/signatured loading methods in WebCore.
161 * WebCoreSupport/FrameLoaderClientGtk.cpp:
162 (WebKit::FrameLoaderClient::createFrame):
164 2008-07-17 Christian Dywan <christian@twotoasts.de>
166 Reviewed by Holger Freyther.
168 https://bugs.webkit.org/show_bug.cgi?id=19813
169 [GTK] WebKit crashes on invalid settings notify callback
171 * webkit/webkitwebview.cpp: Disconnect in webkit_web_view_finalize
173 2008-07-08 Jan Michael Alonzo <jmalonzo@webkit.org>
175 Reviewed by Christian Dywan.
177 Replace 'const' with G_CONST_RETURN macro to make it flexible to
180 * webkit/webkitnetworkrequest.cpp:
181 * webkit/webkitnetworkrequest.h:
182 * webkit/webkitwebframe.cpp:
183 * webkit/webkitwebframe.h:
184 * webkit/webkitwebhistoryitem.cpp:
185 * webkit/webkitwebhistoryitem.h:
187 2008-06-18 Marco Barisione <marco.barisione@collabora.co.uk>
189 Reviewed by Alp Toker.
191 https://bugs.webkit.org/show_bug.cgi?id=19171
192 [GTK] GTypes for enumerations
194 Generate GTypes for public enumerations so they can be used as
197 * GNUmakefile.am: Generate webkit-enum-types.cpp and
200 2008-06-17 Christian Dywan <christian@twotoasts.de>
204 [GTK] WebKitWebHistoryItem needs properties
205 https://bugs.webkit.org/show_bug.cgi?id=19558
207 Implement properties matching the existing accessors.
209 * webkit/webkitwebhistoryitem.cpp:
210 (_WebKitWebHistoryItemPrivate::):
211 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
212 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_property):
213 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_property):
214 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
216 2008-06-15 Darin Adler <darin@apple.com>
218 - give Frame object functions shorter names: scriptProxy() -> script(),
219 selectionController() -> selection(), animationController() -> animation()
221 * WebCoreSupport/EditorClientGtk.cpp:
222 (WebKit::EditorClient::handleKeyboardEvent):
223 * WebCoreSupport/FrameLoaderClientGtk.cpp:
224 (WebKit::FrameLoaderClient::windowObjectCleared):
225 * webkit/webkitwebframe.cpp:
226 * webkit/webkitwebview.cpp:
228 2008-06-15 Darin Adler <darin@apple.com>
230 - undo bogus renaming done by the script
232 * WebCoreSupport/ContextMenuClientGtk.cpp:
233 * webkit/webkitnetworkrequest.h:
234 * webkit/webkitwebbackforwardlist.h:
235 * webkit/webkitwebframe.h:
236 * webkit/webkitwebhistoryitem.h:
237 * webkit/webkitwebsettings.h:
239 2008-06-15 Darin Adler <darin@apple.com>
241 - new names for a few key JavaScriptCore files
243 * WebCoreSupport/ContextMenuClientGtk.cpp:
244 * webkit/webkitnetworkrequest.h:
245 * webkit/webkitwebbackforwardlist.h:
246 * webkit/webkitwebframe.h:
247 * webkit/webkitwebhistoryitem.h:
248 * webkit/webkitwebsettings.h:
250 2008-06-15 Christian Dywan <christian@twotoasts.de>
252 Reviewed by Alp Toker.
254 [GTK] Property setters do not call g_object_notify()
255 https://bugs.webkit.org/show_bug.cgi?id=18405
257 * webkit/webkitwebview.cpp:
259 2008-06-15 Christian Dywan <christian@twotoasts.de>
261 Reviewed by Alp Toker.
263 Tiny documentation fix, s/capacity/limit
265 * webkit/webkitwebbackforwardlist.cpp:
267 2008-06-14 Darin Adler <darin@apple.com>
269 Rubber stamped by Sam.
271 - new names for kjs_binding.h and kjs_proxy.h
273 * WebCoreSupport/FrameLoaderClientGtk.cpp:
274 * webkit/webkitwebframe.cpp:
276 2008-06-14 Darin Adler <darin@apple.com>
280 * webkit/webkitwebframe.cpp: Remove a bogus release() call.
282 2008-06-14 Darin Adler <darin@apple.com>
286 - more https://bugs.webkit.org/show_bug.cgi?id=17257
287 start ref counts at 1 instead of 0 for speed
289 * WebCoreSupport/FrameLoaderClientGtk.cpp:
290 (WebKit::FrameLoaderClient::createDocumentLoader): Use create instead of new.
291 * webkit/webkitwebframe.cpp:
292 (webkit_web_frame_new): Ditto.
293 (webkit_web_frame_init_with_web_view): Ditto.
295 2008-06-13 Darin Adler <darin@apple.com>
299 * WebCoreSupport/FrameLoaderClientGtk.h: Add missing argument.
301 2008-06-13 Darin Adler <darin@apple.com>
303 Reviewed by John Sullivan.
305 - updated for addition of FormState argument to action policy functions
307 * WebCoreSupport/FrameLoaderClientGtk.cpp:
308 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
309 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
311 2008-06-10 Christian Dywan <christian@twotoasts.de>
313 Reviewed by Alp Toker and Darin Adler.
315 https://bugs.webkit.org/show_bug.cgi?id=16676
316 Apply GTK coding style to WebKit Gtk public headers
318 * webkit/webkitnetworkrequest.h:
319 * webkit/webkitwebbackforwardlist.h:
320 * webkit/webkitwebframe.h:
321 * webkit/webkitwebhistoryitem.h:
322 * webkit/webkitwebsettings.h:
323 * webkit/webkitwebview.h:
325 2008-06-07 Jan Michael Alonzo <jmalonzo@webkit.org>
327 Confirmed by Christian Dywan.
329 Gtk build fix for r34432
331 * webkit/webkitwebhistoryitem.cpp:
332 (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
333 (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
334 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
335 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
336 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
337 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
340 2008-06-07 Darin Adler <darin@apple.com>
342 - try to fix build after HistoryItem changes
344 * webkit/webkitwebhistoryitem.cpp:
345 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new): Use HistoryItem::create.
346 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data): Ditto. I also
347 believe this fixes a memory leak in the old version.
349 2008-06-07 Christian Dywan <christian@twotoasts.de>
351 Reviewed by Alp Toker.
353 https://bugs.webkit.org/show_bug.cgi?id=17324
354 Remove PLATFORM ifdefs from ContextMenu.cpp
356 * WebCoreSupport/ContextMenuClientGtk.cpp:
357 (WebKit::ContextMenuClient::ContextMenuClient):
358 (WebKit::ContextMenuClient::contextMenuDestroyed):
359 (WebKit::inputMethodsMenuItem):
361 (WebKit::insertControlCharacter):
362 (WebKit::unicodeMenuItem):
363 (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
364 * WebCoreSupport/ContextMenuClientGtk.h:
365 * webkit/webkitwebview.cpp:
367 2008-06-05 Alp Toker <alp@nuanti.com>
369 Add 'Since' documentation for API versioning functions.
371 * webkit/webkitversion.cpp:
373 2008-06-05 Christian Dywan <christian@twotoasts.de>
375 Reviewed by Alp Toker.
377 https://bugs.webkit.org/show_bug.cgi?id=14141
378 Please add a version to the Gtk port
381 * webkit/webkitversion.cpp: Added.
382 * webkit/webkitversion.h.in: Added.
383 * webkit/webkitwebsettings.cpp:
384 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
385 * webkit/webkitwebview.cpp:
387 2008-06-01 Alp Toker <alp@nuanti.com>
389 Suggested by Christian Dywan.
391 Use float literals for zoom values and improve documentation wording.
393 * webkit/webkitwebsettings.cpp:
394 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
395 * webkit/webkitwebview.cpp:
397 2008-06-01 Alp Toker <alp@nuanti.com>
401 Remove webkit_web_view_go_backward(),
402 webkit_web_view_can_go_backward(). These have been obsoleted by
403 the back() versions for quite a while.
405 * webkit/webkitwebview.cpp:
406 * webkit/webkitwebview.h:
408 2008-05-31 Alp Toker <alp@nuanti.com>
410 Fix inconsistent zoom docs and enum name landed in r34249. Issue
411 noticed by Marco Barisione.
413 * webkit/webkitwebview.cpp:
415 2008-05-30 Carlos MartÃn Nieto <carlos@cmartin.tk>
417 Reviewed by Alp Toker.
419 http://bugs.webkit.org/show_bug.cgi?id=18383
420 [GTK] The "hovering-over-link" signal arguments aren't documented.
422 * webkit/webkitwebview.cpp:
424 2008-05-29 Marco Barisione <marco@collabora.co.uk>
426 Reviewed (and tweaked) by Alp Toker.
428 http://bugs.webkit.org/show_bug.cgi?id=18281
429 [GTK] add functions to set/get the zoom level
431 * webkit/webkitwebsettings.cpp:
432 (_WebKitWebSettingsPrivate::):
433 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
434 (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
435 (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
436 * webkit/webkitwebview.cpp: Add functions to get and set the zoom
438 * webkit/webkitwebview.h: Ditto.
439 * webkit/webkitprivate.h:
441 2008-05-28 Alp Toker <alp@nuanti.com>
443 Reviewed by Alexey Proskuryakov.
445 http://bugs.webkit.org/show_bug.cgi?id=18704
446 [gtk] cannot type letters with dead keys in textarea
448 http://bugs.webkit.org/show_bug.cgi?id=14120
449 [GDK] Support input methods
451 Add support for input method composition.
453 Remove some old hacks so we handle input method events more
456 * WebCoreSupport/EditorClientGtk.cpp:
457 (WebKit::imContextCommitted):
458 (WebKit::imContextPreeditChanged):
459 (WebKit::EditorClient::setInputMethodState):
460 (WebKit::EditorClient::respondToChangedSelection):
461 (WebKit::EditorClient::handleInputMethodKeydown):
462 (WebKit::EditorClient::EditorClient):
463 (WebKit::EditorClient::~EditorClient):
464 (WebKit::EditorClient::textFieldDidBeginEditing):
465 (WebKit::EditorClient::textFieldDidEndEditing):
466 (WebKit::EditorClient::textDidChangeInTextField):
467 (WebKit::EditorClient::doTextFieldCommandFromEvent):
468 * webkit/webkitwebview.cpp:
470 2008-05-25 Alp Toker <alp@nuanti.com>
474 Drop WebView focus when the widget is focused out.
476 * webkit/webkitwebview.cpp:
478 2008-05-25 Sriram Neelakandan <sriram.neelakandan@gmail.com>
480 Reviewed by Alp Toker.
482 http://bugs.webkit.org/show_bug.cgi?id=18935
483 [Gtk] Plugin Load crashes with NP_FULL mode
485 Fix crash due to uninitialized variable.
487 * WebCoreSupport/FrameLoaderClientGtk.cpp:
488 (WebKit::FrameLoaderClient::FrameLoaderClient):
490 2008-05-24 Alp Toker <alp@nuanti.com>
492 https://bugs.webkit.org/show_bug.cgi?id=18825
493 webkitgtk fails to build from source: "Database Tracker" has not been declared
495 GTK+ fix for building without database support.
496 exceededDatabaseQuota() still needs to be present, just a no-op.
498 * WebCoreSupport/ChromeClientGtk.cpp:
499 (WebKit::ChromeClient::exceededDatabaseQuota):
501 2008-05-23 Alp Toker <alp@nuanti.com>
503 GTK+ fixes for building without database support.
505 * WebCoreSupport/ChromeClientGtk.cpp:
507 2008-05-19 Alp Toker <alp@nuanti.com>
509 Reviewed by Anders and Beth.
511 http://bugs.webkit.org/show_bug.cgi?id=16495
512 [GTK] Accessibility support with ATK/AT-SPI
514 Initial ATK/AT-SPI accessibility support for the GTK+ port.
516 * webkit/webkitwebview.cpp:
518 2008-05-06 Christian Dywan <christian@twotoasts.de>
520 Rubber stamped by Alp.
522 Back out 17626. It wasn't ready for commit.
524 * webkit/webkitprivate.h:
525 * webkit/webkitwebview.cpp:
526 * webkit/webkitwebview.h:
528 2008-05-01 Marc Ordinas i Llopis <marc.ordinasillopis@collabora.co.uk>
530 Reviewed by Alp Toker.
532 https://bugs.webkit.org/show_bug.cgi?id=14750
533 Added support for NPAPI plugins on Gtk and Qt-x11 ports.
535 * WebCoreSupport/FrameLoaderClientGtk.cpp:
536 (WebKit::FrameLoaderClient::FrameLoaderClient):
537 (WebKit::FrameLoaderClient::committedLoad):
538 (WebKit::FrameLoaderClient::createPlugin):
539 (WebKit::FrameLoaderClient::redirectDataToPlugin):
540 (WebKit::FrameLoaderClient::finishedLoading):
541 (WebKit::FrameLoaderClient::setMainDocumentError):
542 * WebCoreSupport/FrameLoaderClientGtk.h:
544 2008-04-30 Sean Egan <seanegan@gmail.com>
546 Reviewed and modified by Holger.
548 https://bugs.webkit.org/show_bug.cgi?id=17626
549 Support setting background color and a 16-bit alpha channel.
551 * webkit/webkitprivate.h:
552 * webkit/webkitwebview.cpp:
553 * webkit/webkitwebview.h:
555 2008-04-24 Dan Bernstein <mitz@apple.com>
559 * webkit/webkitwebview.cpp:
561 2008-04-24 Anders Carlsson <andersca@apple.com>
565 Change some String arguments to be const references instead.
567 * WebCoreSupport/EditorClientGtk.cpp:
568 (WebKit::EditorClient::shouldInsertText):
569 * WebCoreSupport/EditorClientGtk.h:
571 2008-04-23 Christian Dywan <christian@twotoasts.de>
573 Reviewed by Alp Toker.
575 Emit a warning about an unknown setting only if it is
576 not a valid property. Otherwise applications can't
577 subclass WebKitWebSettings to add new properties.
579 * webkit/webkitwebview.cpp:
581 2008-04-20 Simon Hausmann <hausmann@webkit.org>
583 Reviewed by Alp Toker.
585 http://bugs.webkit.org/show_bug.cgi?id=18578
586 Share the printing code between the Gtk and the Qt port
588 Share the printing code between the Gtk and the Qt port
589 and added printing to the Qt WebKit API.
591 * webkit/webkitwebframe.cpp: Removed PrintContext in favour of
592 page/Printcontext.cpp/h
594 2008-04-19 Alp Toker <alp@nuanti.com>
598 Enable visited link tracking by default at startup.
600 With this patch, the GTK+ port rendering of Acid3 now matches the
603 * webkit/webkitprivate.cpp:
607 2008-04-11 Mark Rowe <mrowe@apple.com>
609 Gtk build fix after r32231.
611 * webkit/webkitwebview.cpp: Update to use contentRenderer.
613 2008-04-18 Alp Toker <alp@atoker.com>
615 Rubber-stamped by Holger Freyther.
617 http://bugs.webkit.org/show_bug.cgi?id=18218
618 [Gtk] segfault when clicking on a disabled button
620 Always use the main frame for mouse events (not the focused frame)
621 since it knows best how to get the event through to the right target.
623 This also fixes a null crasher.
625 * webkit/webkitwebview.cpp:
627 2008-04-17 Alp Toker <alp@atoker.com>
629 Rubber-stamped by Holger Freyther.
631 Reduce hard-coded page-cache count to 3 based on research done for the
632 Mac port on value / page.
634 We will need to make this more dynamic or configurable at some point
635 but for now it's best to keep closer to the behaviour before page
638 Issue spotted by Mark Rowe.
640 * webkit/webkitprivate.cpp:
643 2008-04-17 Daniele Metilli <daniele.metilli@gmail.com>
647 Fixed a typo in the copyright header.
649 * webkit/webkitprivate.h:
651 2008-04-14 Holger Freyther <zecke@selfish.org>
653 Reviewed by Alp Toker.
655 https://bugs.webkit.org/show_bug.cgi?id=18411
656 Enable Page caching and create FrameViews on the fly
658 Create the FrameView on the fly and cache pages
660 - Keep a copy of the GtkAdjustment to be able to reuse it for the
662 - Do not initially create a FrameView and update the WebKit code to
663 cope with not having a view.
664 - Cache seven pages by default.
666 * WebCoreSupport/FrameLoaderClientGtk.cpp:
667 (WebKit::FrameLoaderClient::createFrame):
668 (WebKit::FrameLoaderClient::canCachePage):
669 (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
670 (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
671 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
672 * webkit/webkitprivate.cpp:
674 * webkit/webkitprivate.h:
675 * webkit/webkitwebframe.cpp:
676 * webkit/webkitwebview.cpp:
678 2008-04-10 Mario Bensi <mbensi@pleyo.com>
680 Reviewed by Alp Toker.
682 https://bugs.webkit.org/show_bug.cgi?id=18400
683 Database example doesn't work on Gtk port
685 Fix quota in ChromeClient
687 * WebCoreSupport/ChromeClientGtk.cpp:
688 (WebKit::ChromeClient::exceededDatabaseQuota):
690 2008-04-08 Adam Roben <aroben@apple.com>
692 Move callOnMainThread to WTF
694 Reviewed by Alexey Proskuryakov.
696 * webkit/webkitprivate.cpp: Updated #include.
697 (webkit_init): Changed to call KJS::initializeThreading.
699 2008-04-06 Luca Bruno <lethalman88@gmail.com>
701 Reviewed by Alp Toker.
703 Fix webkit_web_view_get_transparent() return value.
705 * webkit/webkitwebview.cpp:
707 2008-03-31 Jasper Bryant-Greene <jasper@unix.geek.nz>
709 Reviewed by Darin Adler.
711 Resolves http://bugs.webkit.org/show_bug.cgi?id=18010
712 "WebKitNetworkRequestPrivate is defined in two places unnecessarily"
714 Removed unnecessary definition of WebKitNetworkRequestPrivate in
717 * webkit/webkitprivate.h:
719 2008-03-25 Brady Eidson <beidson@apple.com>
723 Remove newly obsolete FrameLoaderClient methods
725 * WebCoreSupport/FrameLoaderClientGtk.cpp:
726 * WebCoreSupport/FrameLoaderClientGtk.h:
728 2008-03-20 Alp Toker <alp@atoker.com>
730 GTK+ build fix. Back out r31183. This patch also introduced API style
733 * WebCoreSupport/FrameLoaderClientGtk.cpp:
734 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
735 * webkit/headers.pri:
736 * webkit/webkit-marshal.list:
737 * webkit/webkitdefines.h:
738 * webkit/webkitnavigationaction.cpp: Removed.
739 * webkit/webkitnavigationaction.h: Removed.
740 * webkit/webkitprivate.cpp:
741 * webkit/webkitprivate.h:
742 * webkit/webkitwebview.cpp:
743 * webkit/webkitwebview.h:
745 2008-03-20 Jasper Bryant-Greene <jasper@unix.geek.nz>
747 Reviewed and tweaked by Anders.
749 Resolves http://bugs.webkit.org/show_bug.cgi?id=16092
750 "[GTK] Middle-mouse click should allow opening a URL in a new tab"
752 Created WebKitNavigationAction object exported through the API. The
753 navigation-requested signal provides this object as context for the
754 requested navigation, allowing the application to decide what to do
755 with the navigation based on which mouse button was used, which
756 modifier keys were held down, etc. This allows, for example, the
757 application to open links in a new tab when either middle-click or
758 control-click are used to initiate the navigation.
760 * WebCoreSupport/FrameLoaderClientGtk.cpp:
761 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
762 * webkit/headers.pri:
763 * webkit/webkit-marshal.list:
764 * webkit/webkitdefines.h:
765 * webkit/webkitnavigationaction.cpp: Added.
766 (webkit_navigation_action_finalize):
767 (webkit_navigation_action_class_init):
768 (webkit_navigation_action_init):
769 (webkit_navigation_action_get_button):
770 (webkit_navigation_action_get_modifier_flags):
771 (webkit_navigation_action_get_navigation_type):
772 (webkit_navigation_action_get_original_url):
773 * webkit/webkitnavigationaction.h: Added.
774 * webkit/webkitprivate.cpp:
776 * webkit/webkitprivate.h:
777 * webkit/webkitwebview.cpp:
778 * webkit/webkitwebview.h:
780 2008-03-18 Rodney Dawes <dobey@wayofthemonkey.com>
782 Reviewed and landed by jhoneycutt.
784 Update to check if the MIME type is supported by a plugin.
786 * WebCoreSupport/FrameLoaderClientGtk.cpp:
787 (FrameLoaderClient::objectContentType):
789 2008-03-18 Rodney Dawes <dobey@wayofthemonkey.com>
791 Reviewed by Jon Honeycutt.
793 Update setContainingWindow() calls to pass a GtkWidget.
795 * webkit/webkitwebframe.cpp:
796 (webkit_web_frame_new):
797 (webkit_web_frame_init_with_web_view):
799 2008-03-13 Rodney Dawes <dobey@wayofthemonkey.com>
801 Fix GTK+ build for SharedBuffer changes.
803 * webkit/webkitwebview.cpp:
804 (webkit_web_view_load_string):
806 2008-03-12 Tommi Komulainen <tommi.komulainen@iki.fi>
808 Reviewed by Alp Toker.
810 http://bugs.webkit.org/show_bug.cgi?id=17799
811 WebView signals should use more specific types
813 * webkit/webkitwebview.cpp: Use WEBKIT_TYPE_WEB_FRAME argument
814 type in "script-alert", "script-confirm", "script-script-prompt"
815 signals so that it gets more clearly documented rather than just
818 2008-03-10 Xan Lopez <xan@gnome.org>
820 Reviewed by Alp Toker.
822 Fix "missing braces" compiler warning.
824 * webkit/webkitwebview.cpp:
826 2008-03-04 Sam Weinig <sam@webkit.org>
828 Reviewed by Mark Rowe.
830 - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
833 * WebCoreSupport/FrameLoaderClientGtk.cpp:
834 * webkit/webkitwebframe.cpp:
836 2008-03-03 Sam Weinig <sam@webkit.org>
840 * WebCoreSupport/FrameLoaderClientGtk.cpp:
841 (WebKit::FrameLoaderClient::windowObjectCleared):
843 2008-03-03 Alp Toker <alp@atoker.com>
845 Fix the GTK+ build following breakage introduced in r30712.
847 * WebCoreSupport/EditorClientGtk.cpp:
848 (WebKit::imContextCommitted):
850 2008-03-02 Alp Toker <alp@atoker.com>
852 Reviewed by Mark Rowe.
854 Split the WebKit GTK+ build out of the WebCore build and change the
855 shared object name to match the package name.
859 2008-02-27 Adam Roben <aroben@apple.com>
861 Attempt to fix the GTK+ build
863 * webkit/webkitwebframe.cpp:
865 2008-02-24 Darin Adler <darin@apple.com>
869 - remove separate client calls for "standard" and "reload' history
871 * WebCoreSupport/FrameLoaderClientGtk.cpp:
872 (WebKit::FrameLoaderClient::updateGlobalHistory):
873 * WebCoreSupport/FrameLoaderClientGtk.h:
875 2008-02-23 Alexey Proskuryakov <ap@webkit.org>
879 * webkit/webkitprivate.cpp:
880 (webkit_init): Renamed initializeThreading to initializeThreadingAndMainThread.
882 2008-02-18 Alp Toker <alp@atoker.com>
884 Reviewed by Mark Rowe.
886 http://bugs.webkit.org/show_bug.cgi?id=17312
887 [GTK] Webview Transparent Background
889 Add support for WebView background transparency.
891 * webkit/webkitprivate.h:
892 * webkit/webkitwebview.cpp:
893 * webkit/webkitwebview.h:
895 2008-02-18 Alp Toker <alp@atoker.com>
897 Reviewed by Mark Rowe.
899 Implement webkit_web_view_get_focused_frame()
901 Equivalent to selectedFrame in the Mac API.
903 * webkit/webkitwebview.cpp:
904 * webkit/webkitwebview.h:
906 2008-02-17 Jan Michael Alonzo <jmalonzo@unpluggable.com>
908 Reviewed by Mark Rowe.
910 Fix a crash introduced in changeset #29985 by moving the dereference to after
913 * webkit/webkitwebhistoryitem.cpp:
914 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
916 2008-02-15 Alp Toker <alp@atoker.com>
918 Fix the GTK+ build following breakage introduced in r30243.
920 * WebCoreSupport/ChromeClientGtk.cpp:
921 (WebKit::ChromeClient::mouseDidMoveOverElement):
922 * WebCoreSupport/FrameLoaderClientGtk.cpp:
923 (WebKit::FrameLoaderClient::objectContentType):
925 2008-02-15 Darin Adler <darin@apple.com>
927 - another try at fixing the build
929 * webkit/webkitwebview.cpp: Added some explicit conversions to KURL.
931 2008-02-14 Darin Adler <darin@apple.com>
933 * webkit/webkitwebframe.cpp: Removed DeprecatedString use to try to keep it building.
934 * webkit/webkitwebview.cpp: Ditto.
936 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
940 * Make the handling of the coreFrame consistent. We construct the coreFrame
941 at the beginning and it will live until the end. Change the g_return_(val_)if
942 to ASSERTs as having a 0 coreFrame can never happen.
944 * webkit/webkitwebframe.cpp:
945 (PrintContext::webkit_web_frame_print):
947 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
951 * Make sure that the WebCore::Frame is living as long as the WebKitWebFrame
952 wrapped around it. All current calls to WebCore::Frame from within the
953 WebKitWebFrame are safe, even in the case where the WebCore::Frame is already
954 detached from the WebCore::Page.
955 * For the mainFrame the WebKitWebView is holding the initial reference and
956 will unref on destruction.
957 * For sub-frames the FramerLoaderClientGtk.cpp will do the unrefing when the
958 frame gets detached from the parent.
959 * Make sure FrameLoader::detachFromParent gets called by calling FrameLoader::detachChildren
961 * WebCoreSupport/FrameLoaderClientGtk.cpp:
962 (WebKit::FrameLoaderClient::detachedFromParent4):
963 * webkit/webkitprivate.cpp:
965 * webkit/webkitprivate.h:
966 * webkit/webkitwebframe.cpp:
967 * webkit/webkitwebview.cpp:
969 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
973 WebCore::Frame is RefCounted, do not manually delete it!
975 * webkit/webkitwebframe.cpp:
977 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
983 * webkit/webkitwebframe.cpp:
985 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
989 * Update the Copyright Information
991 * WebCoreSupport/FrameLoaderClientGtk.cpp:
992 * webkit/webkitprivate.h:
993 * webkit/webkitwebframe.cpp:
995 2008-02-13 Alp Toker <alp@atoker.com>
997 Reviewed by Adam Roben.
999 Fix very small, upside down, inside out text on GTK+/DirectFB.
1001 Based on an initial patch by Sriram Neelakandan <sriram.neelakandan@gmail.com>
1003 Test the result of gdk_screen_get_resolution() and use a default
1004 fallback in case of failure.
1006 Also remove an unhelpful runtime warning.
1008 * webkit/webkitwebview.cpp:
1010 2008-02-08 Pierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>
1012 Reviewed by Alp Toker.
1014 http://bugs.webkit.org/show_bug.cgi?id=17009
1015 [Gtk] Webkit strips accents from some dead-key combinations
1017 KeyEvents have to go through the gtk input method.
1019 * WebCoreSupport/EditorClientGtk.cpp:
1020 (WebKit::imContextCommitted):
1021 (WebKit::EditorClient::doTextFieldCommandFromEvent):
1023 2008-02-05 Mark Rowe <mrowe@apple.com>
1025 Reviewed by Alp Toker.
1027 Fix warnings seen on the Gtk port by declaring variables and using constants of the correct types.
1029 * webkit/webkitwebbackforwardlist.cpp:
1030 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
1031 * webkit/webkitwebhistoryitem.cpp:
1032 * webkit/webkitwebview.cpp:
1034 2008-02-04 Christian Dywan <christian@imendio.com>
1036 Reviewed by Alp Toker.
1038 http://bugs.webkit.org/show_bug.cgi?id=17065
1039 [GTK] Use a consistent coding style
1041 * WebCoreSupport/EditorClientGtk.cpp:
1042 (WebKit::imContextCommitted):
1043 (WebKit::EditorClient::EditorClient):
1044 (WebKit::EditorClient::~EditorClient):
1045 (WebKit::EditorClient::textFieldDidEndEditing):
1046 * webkit/webkitdefines.h:
1047 * webkit/webkitnetworkrequest.cpp:
1048 (_WebKitNetworkRequestPrivate::webkit_network_request_finalize):
1049 (_WebKitNetworkRequestPrivate::webkit_network_request_class_init):
1050 (_WebKitNetworkRequestPrivate::webkit_network_request_init):
1051 (_WebKitNetworkRequestPrivate::webkit_network_request_new):
1052 (_WebKitNetworkRequestPrivate::webkit_network_request_set_uri):
1053 (_WebKitNetworkRequestPrivate::webkit_network_request_get_uri):
1054 * webkit/webkitnetworkrequest.h:
1055 * webkit/webkitprivate.cpp:
1056 (WebKit::getViewFromFrame):
1058 * webkit/webkitprivate.h:
1059 * webkit/webkitwebbackforwardlist.cpp:
1060 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_new_with_web_view):
1061 * webkit/webkitwebbackforwardlist.h:
1062 * webkit/webkitwebframe.cpp:
1063 * webkit/webkitwebframe.h:
1064 * webkit/webkitwebhistoryitem.cpp:
1065 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
1066 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
1067 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
1068 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
1069 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
1070 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
1071 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
1072 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
1073 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
1074 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
1076 * webkit/webkitwebhistoryitem.h:
1077 * webkit/webkitwebsettings.h:
1078 * webkit/webkitwebview.cpp:
1079 * webkit/webkitwebview.h:
1081 2008-02-04 Alp Toker <alp@atoker.com>
1083 Rubber-stamped by Mark Rowe.
1085 Remove all trailing whitespace in the GTK+ port and related
1088 * WebCoreSupport/DragClientGtk.h:
1089 * WebCoreSupport/FrameLoaderClientGtk.h:
1090 * WebCoreSupport/InspectorClientGtk.h:
1091 * WebCoreSupport/PasteboardHelperGtk.h:
1092 * webkit/webkitprivate.h:
1093 * webkit/webkitwebbackforwardlist.cpp:
1094 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
1095 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
1096 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_item):
1097 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_length):
1098 * webkit/webkitwebhistoryitem.cpp:
1099 (_WebKitWebHistoryItemPrivate::webkit_history_items):
1100 (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
1101 (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
1102 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
1103 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
1104 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
1105 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
1106 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
1107 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
1108 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_last_visited_time):
1110 * webkit/webkitwebhistoryitem.h:
1111 * webkit/webkitwebview.cpp:
1112 * webkit/webkitwebview.h:
1114 2008-02-03 Christian Dywan <christian@imendio.com>
1116 Reviewed by Alp Toker.
1118 http://bugs.webkit.org/show_bug.cgi?id=17046
1119 [GTK] Context menu fixes and customisation suport
1121 * webkit/webkitwebview.cpp:
1123 2008-01-31 Alp Toker <alp@atoker.com>
1125 Reviewed by Mark Rowe.
1127 Fix the pkg-config file to follow GTK+ package naming and versioning
1130 Remove unneeded dependency listings.
1132 * WebKitGtk.pc.in: Removed.
1133 * webkit.pc.in: Copied from WebKit/gtk/WebKitGtk.pc.in.
1135 2008-01-31 Alp Toker <alp@atoker.com>
1137 Rubber-stamped by Adam Roben.
1139 http://bugs.webkit.org/show_bug.cgi?id=17006
1140 [GTK] Header path should be webkit/webkit.h
1142 Move the GTK+ API sources as needed and update the build systems.
1145 * WebView/headers.pri: Removed.
1146 * WebView/webkit-marshal.list: Removed.
1147 * WebView/webkit.h: Removed.
1148 * WebView/webkitdefines.h: Removed.
1149 * WebView/webkitnetworkrequest.cpp: Removed.
1150 * WebView/webkitnetworkrequest.h: Removed.
1151 * WebView/webkitprivate.cpp: Removed.
1152 * WebView/webkitprivate.h: Removed.
1153 * WebView/webkitwebbackforwardlist.cpp: Removed.
1154 * WebView/webkitwebbackforwardlist.h: Removed.
1155 * WebView/webkitwebframe.cpp: Removed.
1156 * WebView/webkitwebframe.h: Removed.
1157 * WebView/webkitwebhistoryitem.cpp: Removed.
1158 * WebView/webkitwebhistoryitem.h: Removed.
1159 * WebView/webkitwebsettings.cpp: Removed.
1160 * WebView/webkitwebsettings.h: Removed.
1161 * WebView/webkitwebview.cpp: Removed.
1162 * WebView/webkitwebview.h: Removed.
1163 * webkit: Copied from WebKit/gtk/WebView.
1165 * webkit/webkitnetworkrequest.h:
1166 * webkit/webkitprivate.h:
1167 * webkit/webkitwebbackforwardlist.h:
1168 * webkit/webkitwebframe.h:
1169 * webkit/webkitwebhistoryitem.h:
1170 * webkit/webkitwebsettings.h:
1171 * webkit/webkitwebview.h:
1173 2008-01-27 Jan Michael Alonzo <jmalonzo@unpluggable.com>
1175 Reviewed by Alp Toker.
1177 http://bugs.webkit.org/show_bug.cgi?id=14811
1178 [gtk] [request] add a webkit_gtk_page_go_to_history_item function
1180 implement back/forward list and history item
1182 * WebView/headers.pri:
1184 * WebView/webkitprivate.cpp:
1185 * WebView/webkitprivate.h:
1186 * WebView/webkitwebbackforwardlist.cpp: Added.
1187 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_dispose):
1188 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_class_init):
1189 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_init):
1190 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_new_with_web_view):
1191 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_forward):
1192 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_back):
1193 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
1194 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_to_item):
1195 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
1196 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
1197 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_item):
1198 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_current_item):
1199 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_item):
1200 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_nth_item):
1201 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_length):
1202 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_length):
1203 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_limit):
1204 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_set_limit):
1205 * WebView/webkitwebbackforwardlist.h: Added.
1206 * WebView/webkitwebhistoryitem.cpp: Added.
1207 (_WebKitWebHistoryItemPrivate::webkit_history_items):
1208 (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
1209 (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
1210 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
1211 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
1212 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
1213 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_init):
1214 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
1215 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
1216 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
1217 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
1218 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
1219 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
1220 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
1221 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
1222 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_last_visited_time):
1225 * WebView/webkitwebhistoryitem.h: Added.
1226 * WebView/webkitwebview.cpp:
1227 * WebView/webkitwebview.h:
1229 2008-01-25 Ori Bernstein <ori@eigenstate.org>
1231 Reviewed by Alp Toker.
1233 http://bugs.webkit.org/show_bug.cgi?id=16795
1234 WebKitGtk crashes when there is no focused Frame
1236 Add a null check. focusedFrame() isn't used directly anywhere else so
1237 this is the only case that needs to be fixed.
1239 * WebView/webkitwebview.cpp:
1241 2008-01-22 Christian Dywan <christian@imendio.com>
1243 Reviewed by Alp Toker.
1245 [GTK] API: WebKitWebSettings is not usable
1246 http://bugs.webkit.org/show_bug.cgi?id=16219
1248 Implement WebKitWebSettings.
1250 * WebView/headers.pri:
1252 * WebView/webkitprivate.cpp:
1253 * WebView/webkitprivate.h:
1254 * WebView/webkitsettings.cpp: Removed.
1255 * WebView/webkitsettings.h: Removed.
1256 * WebView/webkitwebsettings.cpp: Added.
1257 * WebView/webkitwebsettings.h: Added.
1258 * WebView/webkitwebview.cpp:
1259 * WebView/webkitwebview.h:
1261 2008-01-21 Alp Toker <alp@atoker.com>
1263 GTK+ build fix for breakage introduced in r29698.
1265 * WebCoreSupport/ChromeClientGtk.h:
1267 2008-01-21 Darin Adler <darin@apple.com>
1269 Reviewed by John Sullivan.
1271 - updated for changes to database functions
1273 * WebCoreSupport/ChromeClientGtk.cpp:
1274 (WebKit::ChromeClient::exceededDatabaseQuota):
1275 * WebCoreSupport/ChromeClientGtk.h:
1276 * WebView/webkitprivate.cpp:
1279 2008-01-20 Alp Toker <alp@atoker.com>
1281 Reviewed by Mark Rowe.
1283 Attach the widget's style to its window and set the background to the
1284 base background to avoid black flicker when repainting. This is
1285 similar to what GtkTextView does.
1287 * WebView/webkitwebview.cpp:
1289 2008-01-19 Christian Dywan <christian@imendio.com>
1291 Reviewed by Alp Toker.
1293 http://bugs.webkit.org/show_bug.cgi?id=16882
1294 [GTK] ChromeClientGtk is incompete
1296 Implement these functions.
1298 * WebCoreSupport/ChromeClientGtk.cpp:
1299 (WebKit::ChromeClient::windowRect):
1300 (WebKit::ChromeClient::pageRect):
1301 (WebKit::ChromeClient::scaleFactor):
1302 (WebKit::ChromeClient::focus):
1303 (WebKit::ChromeClient::unfocus):
1304 (WebKit::ChromeClient::canTakeFocus):
1305 (WebKit::ChromeClient::takeFocus):
1306 (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
1308 2008-01-18 Luca Bruno <lethalman88@gmail.com>
1310 Reviewed by Alp Toker.
1312 http://bugs.webkit.org/show_bug.cgi?id=16910
1313 [GTK] REGRESSION: keyboard cursor doesn't blink
1315 http://bugs.webkit.org/show_bug.cgi?id=16863
1316 [GTK] REGRESSION: tab focusing doesn't work
1318 * WebView/webkitwebview.cpp:
1319 (webkit_web_view_focus_in_event): Added. Set the active frame.
1320 (webkit_web_view_class_init):
1322 2008-01-16 Alp Toker <alp@atoker.com>
1324 Reviewed by Mark Rowe.
1326 http://bugs.webkit.org/show_bug.cgi?id=16218
1327 [GTK] API: Should this entry point be called go_back rather than go_backward?
1329 Obsolete 'backward' terminology in API in favour of 'back'. Introduce
1330 step-based back/forward functions.
1332 Document more functions.
1334 * WebView/webkitdefines.h:
1335 * WebView/webkitwebview.cpp:
1336 * WebView/webkitwebview.h:
1338 2008-01-10 Maciej Stachowiak <mjs@apple.com>
1342 - remove SecurityOriginData and fold its functionality into SecurityOrigin
1344 * WebCoreSupport/ChromeClientGtk.cpp:
1345 (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
1346 (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
1347 * WebCoreSupport/ChromeClientGtk.h:
1349 2008-01-09 Luca Bruno <lethalman88@gmail.com>
1351 Reviewed by Alp Toker.
1353 http://bugs.webkit.org/show_bug.cgi?id=16802
1354 [GTK] Missing gtk properties
1356 Add missing properties to WebKitViewFrame and WebKitWebView.
1358 * WebView/webkitprivate.h: add some useful defines for param specs
1359 * WebView/webkitwebframe.cpp:
1360 (webkit_web_frame_get_property): added
1361 (webkit_web_frame_class_init): add name, title and uri read-only properties
1362 * WebView/webkitwebview.cpp:
1363 (webkit_web_view_get_property): add editable property read
1364 (webkit_web_view_set_property): added for editable property write
1365 (webkit_web_view_class_init): add read-write editable property
1367 2008-01-03 Xan Lopez <xan@gnome.org>
1369 Reviewed by Alp Toker.
1371 http://bugs.webkit.org/show_bug.cgi?id=16654
1372 [GTK] Signal "navigation-requested" does not react correctly on
1373 return TRUE from callbacks
1375 * WebView/webkitwebview.cpp: use our own accumulator for signals
1376 returning WebKitNavigationResponse. The emission will be stopped
1377 when any callback returns anything but
1378 WEBKIT_NAVIGATION_RESPONSE_ACCEPT.
1380 2008-01-02 Holger Hans Peter Freyther <zecke@selfish.org>
1382 Rubber stamped by Darin Adler.
1384 Coding Style fix. Do not use an else because we use a return in the
1387 * WebView/webkitwebview.cpp:
1389 2008-01-02 Luca Bruno <lethalman88@gmail.com>
1391 Reviewed by Alp Toker.
1393 http://bugs.webkit.org/show_bug.cgi?id=16115
1394 [GTK] ContextMenu and ContextMenuItem lacks an implementation
1396 Add context menu support.
1398 Based on a patch by Holger Freyther.
1400 * WebCoreSupport/ContextMenuClientGtk.cpp:
1401 (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
1402 * WebView/webkitprivate.h:
1403 * WebView/webkitwebview.cpp:
1405 2007-12-29 Jan Michael Alonzo <jmalonzo@unpluggable.com>
1407 Reviewed by Alp Toker.
1409 http://bugs.webkit.org/show_bug.cgi?id=16669
1410 autotools update and fixes
1412 pkgconfig file and icon database inclusion fix
1414 * WebKitGtk.pc.in: Remove ICU_FLAGS from Cflags
1415 * WebView/webkitprivate.cpp: Guard ICONDATABASE inclusions
1417 2007-12-28 Christian Dywan <christian@twotoasts.de>
1419 Reviewed by Alp Toker.
1421 http://bugs.webkit.org/show_bug.cgi?id=16642
1422 [GTK] webkit_web_view_has_selection returns the opposite result
1424 Invert the return value.
1426 * WebView/webkitwebview.cpp:
1428 2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
1430 Reviewed by Alp Toker.
1432 http://bugs.webkit.org/show_bug.cgi?id=16390
1433 Use autotools or GNU make as the build system for the GTK port
1435 * WebKitGtk.pc.in: Added.
1437 2007-12-24 Christian Dywan <christian@twotoasts.de>
1439 Reviewed by Alp Toker.
1441 http://bugs.webkit.org/attachment.cgi?id=18099
1442 There are no NULL checks for strings in public api
1444 Add missing NULL checks for string parameters.
1446 Provide sensible defaults when NULL is passed for the optional
1447 parameters in webkit_web_view_load_string(). UTF-8 is the default
1448 encoding used by GLib and text/html is a reasonable default content
1451 * WebView/webkitnetworkrequest.cpp:
1452 * WebView/webkitwebview.cpp:
1454 2007-12-22 Xan Lopez <xan@gnome.org>
1456 Reviewed by Alp Toker.
1458 Use webView, web_view, etc for variable names instead of page, which
1459 was left over from the old API.
1461 * WebCoreSupport/EditorClientGtk.cpp:
1462 (WebKit::imContextCommitted):
1463 (WebKit::EditorClient::EditorClient):
1464 (WebKit::EditorClient::~EditorClient):
1465 (WebKit::EditorClient::textFieldDidBeginEditing):
1466 (WebKit::EditorClient::textFieldDidEndEditing):
1467 * WebCoreSupport/EditorClientGtk.h:
1468 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1469 (WebKit::FrameLoaderClient::postProgressStartedNotification):
1470 (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
1471 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
1472 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1473 (WebKit::FrameLoaderClient::windowObjectCleared):
1474 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
1475 (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
1476 (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
1478 2007-12-22 Alp Toker <alp@atoker.com>
1482 GTK_TARGET_OTHER_APP is not available in older GTK+ versions. Pass
1483 empty target flags for now.
1485 Check GTK+, not GLib versions, since they are different.
1487 * WebView/webkitwebview.cpp:
1489 2007-12-22 Luca Bruno <lethalman88@gmail.com>
1491 Reviewed by Alp Toker.
1493 http://bugs.webkit.org/show_bug.cgi?id=16311
1494 [Gtk] Copy rich text to clipboard as text/plain and text/html.
1496 Add copy and paste targets for WebView and implement
1497 WebCore::PasteboardHelper.
1499 * WebCoreSupport/PasteboardHelperGtk.cpp: Added.
1500 (WebKit::PasteboardHelperGtk::getClipboard):
1501 (WebKit::PasteboardHelperGtk::getCopyTargetList):
1502 (WebKit::PasteboardHelperGtk::getPasteTargetList):
1503 * WebCoreSupport/PasteboardHelperGtk.h: Added.
1504 * WebView/webkitprivate.cpp:
1505 (webkit_init): set the PasteboardHelperGtk as WebCore::Pasteboard helper
1506 * WebView/webkitprivate.h:
1507 (_WebKitWebViewPrivate::copy_target_list): added
1508 (_WebKitWebViewPrivate::paste_target_list): added
1509 * WebView/webkitwebview.cpp:
1510 (webkit_web_view_get_property): added
1511 (webkit_web_view_finalize):
1512 (webkit_web_view_class_init): create properties for COPY_TARGET and PASTE_TARGET and create the copy and paste target lists
1513 (webkit_web_view_get_copy_target_list): added
1514 (webkit_web_view_get_paste_target_list): added
1515 * WebView/webkitwebview.h:
1516 (webkit_web_view_get_copy_target_list): added
1517 (webkit_web_view_get_paste_target_list): added
1519 2007-12-22 Xan Lopez <xan@gnome.org>
1521 Reviewed by Alp Toker.
1523 Follow up to http://bugs.webkit.org/show_bug.cgi?id=16144
1525 * WebView/webkitwebview.cpp:
1526 Fix signal id arguments for g_signal_emit in
1527 clipboard functions.
1529 2007-12-21 Alp Toker <alp@atoker.com>
1531 Documentation typo fix: s/wether/whether
1533 * WebView/webkitwebview.cpp:
1535 2007-12-21 Christian Dywan <christian@twotoasts.de>
1537 Reviewed by Alp Toker.
1539 http://bugs.webkit.org/show_bug.cgi?id=16144
1540 [GTK] Clipboard/ selection handling functions
1542 * WebView/webkitprivate.h:
1543 * WebView/webkitwebview.cpp:
1544 * WebView/webkitwebview.h:
1546 2007-12-19 Christian Dywan <christian@twotoasts.de>
1548 Reviewed by Alp Toker.
1550 http://bugs.webkit.org/show_bug.cgi?id=16222
1551 [GTK] Implement inline search and highlighting of matching strings.
1553 * WebView/webkitwebview.cpp:
1554 * WebView/webkitwebview.h:
1556 2007-12-19 Alp Toker <alp@atoker.com>
1558 Reviewed by Holger Freyther.
1560 Delete when Destroy functions are called to avoid leaks
1562 This matches the Mac port.
1564 * WebCoreSupport/ChromeClientGtk.cpp:
1565 * WebCoreSupport/ContextMenuClientGtk.cpp:
1566 * WebCoreSupport/InspectorClientGtk.cpp:
1568 2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
1570 Reviewed by Alp Toker.
1572 http://bugs.webkit.org/show_bug.cgi?id=16042
1573 [GTK] Eliminate webkit_init()
1575 Move webkit initialization to WebView class init.
1577 * WebView/headers.pri:
1579 * WebView/webkitglobal.cpp: Removed.
1580 * WebView/webkitglobal.h: Removed.
1581 * WebView/webkitprivate.cpp:
1582 (WebKit::webkit_init):
1583 * WebView/webkitprivate.h:
1584 * WebView/webkitwebframe.cpp:
1585 * WebView/webkitwebview.cpp:
1587 2007-12-17 Luca Bruno <lethalman88@gmail.com>
1589 Reviewed by Alp Toker.
1591 http://bugs.webkit.org/show_bug.cgi?id=13542
1592 gdklauncher doesnt change URL in adress GTKEntry.
1594 Let DOMDocument observers do their work before emitting title-changed.
1595 The load-committed signal has been added for both the view and the frame.
1597 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1598 (WebKit::FrameLoaderClient::dispatchDidReceiveTitle): emit title-changed
1599 (WebKit::FrameLoaderClient::setTitle): set private title
1600 (WebKit::FrameLoaderClient::dispatchDidCommitLoad): update the frame uri and emit load-committed
1601 * WebView/webkit-marshal.list:
1602 * WebView/webkitprivate.h:
1603 (_WebKitWebFramePrivate): rename location to uri
1604 * WebView/webkitwebframe.cpp:
1605 (webkit_web_frame_get_location): renamed to *_get_uri
1606 (webkit_web_frame_get_uri):
1607 (webkit_web_frame_real_title_changed): removed (see FrameLoaderClient::setTitle)
1608 (webkit_web_frame_class_init): pass the frame and the title in title-changed, not the uri
1609 (webkit_web_frame_finalize):
1610 * WebView/webkitwebframe.h:
1611 (_WebKitWebFrameClass): removed title_changed
1612 * WebView/webkitwebview.cpp:
1613 (webkit_web_view_class_init): pass only the title in title-changed
1615 2007-12-14 Alp Toker <alp@atoker.com>
1617 Fix inconsistent indentation in the license header. Maciej was right!
1619 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1621 2007-12-14 Alp Toker <alp@atoker.com>
1625 http://bugs.webkit.org/show_bug.cgi?id=16432
1626 [GTK] Update license headers
1628 Consent has been given by the authors of these files to change license
1629 to the LGPL as outlined in the bug report.
1631 * WebCoreSupport/ChromeClientGtk.cpp:
1632 * WebCoreSupport/ContextMenuClientGtk.cpp:
1633 * WebCoreSupport/DragClientGtk.cpp:
1634 * WebCoreSupport/EditorClientGtk.cpp:
1635 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1636 (WebKit::FrameLoaderClient::makeRepresentation):
1637 (WebKit::FrameLoaderClient::forceLayout):
1638 (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
1639 (WebKit::FrameLoaderClient::setCopiesOnScroll):
1640 (WebKit::FrameLoaderClient::detachedFromParent1):
1641 (WebKit::FrameLoaderClient::detachedFromParent2):
1642 (WebKit::FrameLoaderClient::detachedFromParent3):
1643 (WebKit::FrameLoaderClient::detachedFromParent4):
1644 (WebKit::FrameLoaderClient::loadedFromCachedPage):
1645 (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
1646 (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
1647 (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
1648 (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
1649 (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
1650 (WebKit::FrameLoaderClient::dispatchWillClose):
1651 (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
1652 (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
1653 (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
1654 (WebKit::FrameLoaderClient::dispatchShow):
1655 (WebKit::FrameLoaderClient::cancelPolicyCheck):
1656 (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
1657 (WebKit::FrameLoaderClient::revertToProvisionalState):
1658 (WebKit::FrameLoaderClient::clearUnarchivingState):
1659 (WebKit::FrameLoaderClient::willChangeTitle):
1660 (WebKit::FrameLoaderClient::didChangeTitle):
1661 (WebKit::FrameLoaderClient::finalSetupForReplace):
1662 (WebKit::FrameLoaderClient::setDefersLoading):
1663 (WebKit::FrameLoaderClient::isArchiveLoadPending):
1664 (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
1665 (WebKit::FrameLoaderClient::clearArchivedResources):
1666 (WebKit::FrameLoaderClient::canHandleRequest):
1667 (WebKit::FrameLoaderClient::canShowMIMEType):
1668 (WebKit::FrameLoaderClient::representationExistsForURLScheme):
1669 (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
1670 (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
1671 (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
1672 (WebKit::FrameLoaderClient::dispatchDidFailLoading):
1673 (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
1674 (WebKit::FrameLoaderClient::download):
1675 (WebKit::FrameLoaderClient::cancelledError):
1676 (WebKit::FrameLoaderClient::blockedError):
1677 (WebKit::FrameLoaderClient::cannotShowURLError):
1678 (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
1679 (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
1680 (WebKit::FrameLoaderClient::fileDoesNotExistError):
1681 (WebKit::FrameLoaderClient::shouldFallBack):
1682 (WebKit::FrameLoaderClient::willUseArchive):
1683 (WebKit::FrameLoaderClient::canCachePage):
1684 (WebKit::FrameLoaderClient::dispatchCreatePage):
1685 (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
1686 (WebKit::FrameLoaderClient::setMainDocumentError):
1687 (WebKit::FrameLoaderClient::startDownload):
1688 (WebKit::FrameLoaderClient::updateGlobalHistoryForStandardLoad):
1689 (WebKit::FrameLoaderClient::updateGlobalHistoryForReload):
1690 (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
1691 (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
1692 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1693 * WebCoreSupport/InspectorClientGtk.cpp:
1694 * WebView/webkitwebview.cpp:
1696 2007-12-14 Darin Adler <darin@apple.com>
1700 * WebCoreSupport/EditorClientGtk.cpp:
1701 (WebKit::EditorClient::handleKeyboardEvent): Changed to use Editor::command
1702 instead of Editor::execCommand.
1703 * WebView/webkitwebview.cpp: Ditto.
1705 2007-12-12 Brady Eidson <beidson@apple.com>
1707 Reviewed by Sam Weinig
1709 As part of doing some CachedPage and client cleanup, keep GTK building
1711 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1712 (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
1713 (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
1714 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1715 * WebCoreSupport/FrameLoaderClientGtk.h:
1717 2007-12-12 Alp Toker <alp@atoker.com>
1719 Reviewed by Holger Freyther.
1721 http://bugs.webkit.org/show_bug.cgi?id=15576
1722 [GTK] Printing support
1724 Add printing support.
1726 The API will be kept internal for the time being, but printing can now
1727 be triggered by Web pages or the JSC API using JavaScript.
1729 The print spooler and pagination code is fairly abstract and could be
1730 shared by other ports including Win and Qt once complete. It doesn't
1731 have header/footer support yet.
1733 * WebCoreSupport/ChromeClientGtk.cpp:
1734 (WebKit::ChromeClient::print):
1735 * WebView/webkitprivate.h:
1736 * WebView/webkitwebframe.cpp:
1737 (PrintContext::begin_print):
1738 (PrintContext::draw_page):
1739 (PrintContext::end_print):
1740 (PrintContext::webkit_web_frame_print):
1742 2007-12-12 Sam Weinig <sam@webkit.org>
1746 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1747 (WebKit::FrameLoaderClient::didChangeTitle):
1749 2007-12-12 Sam Weinig <sam@webkit.org>
1753 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1754 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1756 2007-12-11 George Wright <george.wright@collabora.co.uk>
1758 Reviewed by Alp Toker.
1760 http://bugs.webkit.org/show_bug.cgi?id=14120
1761 [GDK] Support input methods
1763 This patch adds infrastructure for input method support.
1765 It also adds Hildon features for the Maemo mobile platform sufficient
1766 to support the virtual keyboard.
1768 * WebCoreSupport/EditorClientGtk.cpp:
1769 (WebKit::imContextCommitted):
1770 (WebKit::EditorClient::EditorClient):
1771 (WebKit::EditorClient::~EditorClient):
1772 (WebKit::EditorClient::textFieldDidBeginEditing):
1773 (WebKit::EditorClient::textFieldDidEndEditing):
1774 * WebCoreSupport/EditorClientGtk.h:
1775 * WebView/webkitprivate.h:
1776 * WebView/webkitwebview.cpp:
1778 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1780 Reviewed by Darin Adler.
1782 <rdar://problem/5535636>
1783 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1785 http://bugs.webkit.org/show_bug.cgi?id=13916
1786 JavaScript detects Tab as a character input on a textfield validation
1788 * WebCoreSupport/EditorClientGtk.cpp:
1789 (WebKit::EditorClient::handleKeyboardEvent):
1790 (WebKit::EditorClient::handleInputMethodKeydown):
1791 * WebCoreSupport/EditorClientGtk.h:
1792 Updated for cross-platform changes as much as it was possible without a gtk build environment.
1794 2007-12-08 Luca Bruno <lethalman88@gmail.com>
1796 Reviewed by Alp Toker.
1798 http://bugs.webkit.org/show_bug.cgi?id=16346
1799 [GTK] Some webview parts must use the focused frame.
1801 Also update some old code.
1803 * WebView/webkitprivate.cpp:
1804 (getFrameFromView): removed
1806 * WebView/webkitprivate.h:
1807 (getFrameFromView): removed
1809 * WebView/webkitwebview.cpp:
1810 (webkit_web_view_expose_event):
1811 (webkit_web_view_key_press_event): use focused frame
1812 (webkit_web_view_key_release_event): use focused frame
1813 (webkit_web_view_button_press_event):
1814 (webkit_web_view_button_release_event):
1815 (webkit_web_view_motion_event):
1816 (webkit_web_view_scroll_event):
1817 (webkit_web_view_size_allocate):
1818 (webkit_web_view_set_scroll_adjustments):
1819 (webkit_web_view_execute_script):
1820 (webkit_web_view_stop_loading):
1821 (webkit_web_view_load_string):
1822 (webkit_web_view_reload):
1823 (webkit_web_view_open):
1824 (webkit_web_view_can_go_forward):
1825 (webkit_web_view_can_go_backward):
1826 (webkit_web_view_go_forward):
1827 (webkit_web_view_go_backward):
1829 * WebCoreSupport/EditorClientGtk.cpp:
1830 (WebKit::EditorClient::handleKeypress): fix for page up and page down keys for editable contents
1832 2007-12-07 Luca Bruno <lethalman88@gmail.com>
1834 Reviewed by Alp Toker.
1836 http://bugs.webkit.org/show_bug.cgi?id=16333
1837 [GTK] Key bindings must work with focused frames.
1839 There are still more cases where getFrameFromView() is mis-used that
1840 need to be fixed, but this is a good start.
1842 * WebView/webkitwebview.cpp:
1843 (webkit_web_view_real_select_all):
1844 (webkit_web_view_real_cut_clipboard):
1845 (webkit_web_view_real_copy_clipboard):
1846 (webkit_web_view_real_paste_clipboard):
1848 2007-12-06 Xan Lopez <xan@gnome.org>
1850 Reviewed by Alp Toker.
1852 http://bugs.webkit.org/show_bug.cgi?id=16329
1853 [GTK] Two small cleanups
1855 * WebCoreSupport/ChromeClientGtk.cpp:
1856 (WebKit::ChromeClient::createWindow):
1857 (WebKit::ChromeClient::addMessageToConsole):
1858 (WebKit::ChromeClient::runJavaScriptAlert):
1859 (WebKit::ChromeClient::runJavaScriptConfirm):
1860 (WebKit::ChromeClient::runJavaScriptPrompt):
1861 (WebKit::ChromeClient::setStatusbarText):
1862 (WebKit::ChromeClient::mouseDidMoveOverElement):
1863 (WebKit::ChromeClient::setToolTip):
1864 * WebCoreSupport/ChromeClientGtk.h:
1865 * WebView/webkitprivate.cpp:
1867 s/m_webPage/m_webView/
1868 * WebView/webkitwebview.cpp:
1869 Chain up to the parent class to activate bindings instead
1870 of doing it explicitely.
1872 2007-12-06 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1874 Reviewed by Alp Toker.
1876 http://bugs.webkit.org/show_bug.cgi?id=16173
1879 Change license from BSD to LGPL.
1881 * WebCoreSupport/ChromeClientGtk.h:
1882 * WebView/webkitdefines.h:
1883 * WebView/webkitglobal.cpp:
1884 * WebView/webkitglobal.h:
1885 * WebView/webkitnetworkrequest.cpp:
1886 * WebView/webkitnetworkrequest.h:
1887 * WebView/webkitprivate.cpp:
1888 * WebView/webkitprivate.h:
1889 * WebView/webkitsettings.cpp:
1890 * WebView/webkitsettings.h:
1891 * WebView/webkitwebframe.cpp:
1892 * WebView/webkitwebframe.h:
1893 * WebView/webkitwebview.h:
1895 2007-12-05 Michael Natterer <mitch@imendio.com>
1897 Reviewed by Alp Toker.
1899 * WebView/webkitwebview.cpp: split key and button event handlers
1900 into separate press and release functions.
1902 2007-12-05 Luca Bruno <lethalman88@gmail.com>
1904 Reviewed by Alp Toker.
1906 Handle events for Home and End keys.
1908 * WebView/webkitwebview.cpp:
1909 (webkit_web_view_key_event):
1910 * WebCoreSupport/EditorClientGtk.cpp:
1911 (EditorClient::handleKeypress):
1913 2007-12-05 Michael Natterer <mitch@imendio.com>
1915 Reviewed by Alp Toker.
1917 * WebView/webkitwebview.cpp
1918 * WebCoreSupport/ChromeClientGtk.cpp
1919 * WebCoreSupport/FrameLoaderClientGtk.cpp: canonicalize signal names.
1921 2007-12-04 Darin Adler <darin@apple.com>
1923 Reviewed by Kevin Decker.
1925 * WebCoreSupport/FrameLoaderClientGtk.cpp: Removed obsolete privateBrowsingEnabled.
1926 * WebCoreSupport/FrameLoaderClientGtk.h: Ditto.
1928 2007-12-04 Michael Natterer <mitch@imendio.com>
1930 Reviewed by Alp Toker.
1932 * WebView/webkitwebframe.cpp: don't redeclare the marshaller
1933 prototype but simply include "webkit-marshal.h" now that its build
1936 2007-12-04 Luca Bruno <lethalman88@gmail.com>
1938 Reviewed by Alp Toker.
1940 Fix a regression in key press propagation in r28386.
1942 Fix indentation (was off by two spaces).
1944 * WebView/webkitwebview.cpp:
1946 2007-12-04 Luca Bruno <lethalman88@gmail.com>
1948 Reviewed by Alp Toker.
1950 http://bugs.webkit.org/show_bug.cgi?id=15911
1951 [GTK] Use GtkBindingSet to make key bindings user-configurable
1953 This patch doesn't cover the full range of bindings, only the ones
1954 that seem obviously correct and have clear public API.
1956 * WebCoreSupport/EditorClientGtk.cpp:
1957 (WebKit::EditorClient::handleKeypress): do not handle clipboard operations and select-all
1958 * WebView/webkitwebview.cpp: add cut, copy, paste and select-all signals and allow binding sets (issue #15911 and #16144)
1959 * WebView/webkitwebview.h:
1961 2007-12-04 Xan Lopez <xan@gnome.org>
1963 Reviewed by Alp Toker.
1965 http://bugs.webkit.org/show_bug.cgi?id=15561
1966 GTK port needs DumpRenderTree implementation
1968 Start work on the GTK+ DRT.
1970 Add a couple of proposed new API entry points. They are currently for
1971 internal use only by DRT and not in the public headers.
1973 * WebView/webkitprivate.h:
1974 * WebView/webkitwebframe.cpp:
1976 2007-12-03 Dan Bernstein <mitz@apple.com>
1978 Reviewed by Dave Hyatt.
1980 - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
1982 * WebView/webkitwebview.cpp: Remove the call to sendResizeEvent() since
1983 FrameView sends it now.
1985 2007-12-03 Alp Toker <alp@atoker.com>
1987 globalObject() GTK+ build fix.
1989 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1990 (WebKit::FrameLoaderClient::windowObjectCleared):
1992 2007-12-03 Geoffrey Garen <ggaren@apple.com>
1994 GTK Build fix: get globalExec from the right place.
1996 * WebView/webkitwebframe.cpp:
1998 2007-12-01 Alp Toker <alp@atoker.com>
2000 Reviewed by Adam Roben.
2002 Wrap type definitions in webkitdefines.h with G_BEGIN_DECLS, which
2003 takes care of extern "C".
2005 Introduce a webkit.h convenience header.
2007 Remove another left-over from the old API.
2009 * WebView/headers.pri:
2010 * WebView/webkit.h: Added.
2011 * WebView/webkitdefines.h:
2013 2007-12-01 Alp Toker <alp@atoker.com>
2015 Reviewed by Adam Roben.
2017 http://bugs.webkit.org/show_bug.cgi?id=15687
2018 [Gtk] Allow API clients to interact with JavaScript in web pages
2020 Include the necessary JavaScriptCore headers directly in the public
2023 This is the last of a series of changes needed to allow GTK+
2024 applications to access the JS API.
2026 Until http://bugs.webkit.org/show_bug.cgi?id=16029 is resolved,
2027 developers will still have to include the individual JS API headers
2028 individually if they want to use it in their applications.
2030 Patch also removes some old legacy use of GDK that was in
2031 WebKitWebFrame. No ABI change.
2033 * WebView/webkitdefines.h:
2034 * WebView/webkitwebframe.h:
2035 * WebView/webkitwebview.h:
2037 2007-11-30 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2039 Fix for GTK+ Debug build breakage introduced in r28273.
2041 * WebView/webkitprivate.cpp:
2044 2007-11-30 Alp Toker <alp@atoker.com>
2046 Reviewed by Adam Roben.
2048 http://bugs.webkit.org/show_bug.cgi?id=15691
2049 [GTK] Public API does not follow GTK+ conventions
2051 Refactor the WebKit/GTK+ public API. Changes:
2052 WebKitPage -> WebKitWebView
2053 WebKitFrame -> WebKitWebFrame
2055 Public API source and header names have been updated to mirror the API
2058 The API is now kept in WebKit/gtk/WebView to match other ports in the
2059 same class such as Mac and Win.
2061 API/ABI-breaking change.
2064 * Api/headers.pri: Removed.
2065 * Api/webkitgtk-marshal.list: Removed.
2066 * Api/webkitgtkdefines.h: Removed.
2067 * Api/webkitgtkframe.cpp: Removed.
2068 * Api/webkitgtkframe.h: Removed.
2069 * Api/webkitgtkglobal.cpp: Removed.
2070 * Api/webkitgtkglobal.h: Removed.
2071 * Api/webkitgtknetworkrequest.cpp: Removed.
2072 * Api/webkitgtknetworkrequest.h: Removed.
2073 * Api/webkitgtkpage.cpp: Removed.
2074 * Api/webkitgtkpage.h: Removed.
2075 * Api/webkitgtkprivate.cpp: Removed.
2076 * Api/webkitgtkprivate.h: Removed.
2077 * Api/webkitgtksettings.cpp: Removed.
2078 * Api/webkitgtksettings.h: Removed.
2079 * WebCoreSupport/ChromeClientGtk.cpp:
2080 (WebKit::ChromeClient::ChromeClient):
2081 (WebKit::ChromeClient::createWindow):
2082 * WebCoreSupport/ChromeClientGtk.h:
2083 (WebKit::ChromeClient::webPage):
2084 * WebCoreSupport/EditorClientGtk.cpp:
2085 (WebKit::EditorClient::isEditable):
2086 (WebKit::EditorClient::EditorClient):
2087 * WebCoreSupport/EditorClientGtk.h:
2088 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2089 (WebKit::FrameLoaderClient::FrameLoaderClient):
2090 (WebKit::FrameLoaderClient::postProgressStartedNotification):
2091 (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
2092 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
2093 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2094 (WebKit::FrameLoaderClient::createFrame):
2095 (WebKit::FrameLoaderClient::windowObjectCleared):
2096 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
2097 (WebKit::FrameLoaderClient::setTitle):
2098 * WebCoreSupport/FrameLoaderClientGtk.h:
2099 (WebKit::FrameLoaderClient::webFrame):
2101 * WebView/headers.pri: Added.
2102 * WebView/webkit-marshal.list: Added.
2103 * WebView/webkitdefines.h: Added.
2104 * WebView/webkitglobal.cpp: Added.
2105 * WebView/webkitglobal.h: Added.
2106 * WebView/webkitnetworkrequest.cpp: Added.
2107 * WebView/webkitnetworkrequest.h: Added.
2108 * WebView/webkitprivate.cpp: Added.
2111 (WebKit::getFrameFromView):
2112 (WebKit::getViewFromFrame):
2115 * WebView/webkitprivate.h: Added.
2116 * WebView/webkitsettings.cpp: Added.
2117 * WebView/webkitsettings.h: Added.
2118 * WebView/webkitwebframe.cpp: Added.
2119 * WebView/webkitwebframe.h: Added.
2120 * WebView/webkitwebview.cpp: Added.
2121 * WebView/webkitwebview.h: Added.
2123 2007-11-28 Alp Toker <alp@atoker.com>
2125 Reviewed by Timothy Hatcher.
2127 http://bugs.webkit.org/show_bug.cgi?id=16174
2128 [GTK] Use "URI" not "URL" in public API
2130 Replace use of the term "URL" with "URI" in public headers,
2131 documentation and some internal code to match GLib/GTK+ convention.
2133 This is now mentioned in the API guidelines:
2134 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
2136 API/ABI-breaking change.
2138 * Api/webkitgtkframe.cpp:
2139 * Api/webkitgtknetworkrequest.cpp:
2140 * Api/webkitgtknetworkrequest.h:
2141 * Api/webkitgtkpage.cpp:
2142 * Api/webkitgtkpage.h:
2143 * Api/webkitgtkprivate.h:
2144 * Api/webkitgtksettings.h:
2146 2007-11-29 Brady Eidson <beidson@apple.com>
2148 Better build fix for Gtk
2150 * WebCoreSupport/ChromeClientGtk.h:
2152 2007-11-29 Brady Eidson <beidson@apple.com>
2154 Keep it building with new client method
2156 * WebCoreSupport/ChromeClientGtk.cpp:
2157 (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
2158 (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
2159 * WebCoreSupport/ChromeClientGtk.h:
2161 2007-11-26 Alp Toker <alp@atoker.com>
2163 Reviewed by Adam Roben.
2165 http://bugs.webkit.org/show_bug.cgi?id=16149
2166 Implement the window-object-cleared signal
2168 This implementation provides the JSGlobalContextRef and JSObjectRef
2169 directly rather than using an intermediate JS wrapper object, similar
2170 to the approach taken by the Win port.
2172 * Api/webkitgtk-marshal.list:
2173 * Api/webkitgtkframe.h:
2174 * Api/webkitgtkpage.cpp:
2175 * Api/webkitgtkpage.h:
2176 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2177 (WebKit::FrameLoaderClient::windowObjectCleared):
2179 2007-11-24 Alp Toker <alp@atoker.com>
2181 Reviewed by Mark Rowe.
2183 http://bugs.webkit.org/show_bug.cgi?id=15691
2184 [GTK] Public API does not follow GTK+ conventions
2186 Public API enhancements:
2188 Implement webkit_page_get_editable() and webkit_page_set_editable().
2190 Implement webkit_frame_get_name().
2192 Remove definitions for functions that are unusable or not implemented.
2193 This has caused much confusion for application developers.
2195 Improve documentation.
2197 Correct/constify some return types.
2199 Add parameter checks.
2201 Make the default fixed font "Courier New" to match the other Web
2204 * Api/webkitgtkframe.cpp:
2205 * Api/webkitgtkframe.h:
2206 * Api/webkitgtkpage.cpp:
2207 * Api/webkitgtkpage.h:
2208 * Api/webkitgtkprivate.h:
2209 * WebCoreSupport/EditorClientGtk.cpp:
2210 (WebKit::EditorClient::isEditable):
2212 2007-11-24 Alp Toker <alp@atoker.com>
2214 Reviewed by Mark Rowe.
2216 http://bugs.webkit.org/show_bug.cgi?id=16125
2217 [GTK] Up key doesn't work properly when content is editable
2219 Add a missing 'break' to avoid falling through to the next case when
2220 handling VK_UP keystrokes. This was noticed when working on editing
2221 support in the GTK+ port.
2223 I've checked the other cases for similar typos and they seem fine.
2225 * WebCoreSupport/EditorClientGtk.cpp:
2226 (WebKit::EditorClient::handleKeypress):
2228 2007-11-24 Xan Lopez <xan@gnome.org>
2230 Reviewed by Alp Toker.
2232 http://bugs.webkit.org/show_bug.cgi?id=15745
2233 [GTK] Arrow keys do not Scroll
2235 * Api/webkitgtkpage.cpp:
2237 Support Up/Down/Right/Left keys to scroll. Slight hack, see FIXME for
2240 2007-11-24 Christian Dywan <christian@twotoasts.de>
2242 Reviewed by Alp Toker.
2244 http://bugs.webkit.org/show_bug.cgi?id=15891
2245 [GTK] Javascript console and dialogs are not implemented
2247 Fix call to gtk_message_dialog_new() which expects a format string.
2249 * Api/webkitgtkpage.cpp:
2251 2007-11-24 Christian Dywan <christian@twotoasts.de>
2253 Reviewed by Alp Toker.
2255 http://bugs.webkit.org/show_bug.cgi?id=15793
2256 [GTK] Webkit doesn't show title attribute tooltip when hovering over an image
2258 Implement tooltip support using the new Tooltip API.
2260 Support for older versions of GTK+ is still lacking.
2262 * WebCoreSupport/ChromeClientGtk.cpp:
2263 (WebKit::ChromeClient::setToolTip):
2265 2007-11-22 Alp Toker <alp@atoker.com>
2267 Reviewed by Mark Rowe.
2269 Implement and document several WebKitFrame functions, some of which
2270 are necessary to support DRT.
2272 Correct NULL handling and improve run-time checks.
2274 * Api/webkitgtkframe.cpp:
2275 * Api/webkitgtkframe.h:
2276 * Api/webkitgtkprivate.cpp:
2278 2007-11-22 Alp Toker <alp@atoker.com>
2280 Whitespace fixes only.
2282 * Api/webkitgtkframe.cpp:
2283 * Api/webkitgtkpage.cpp:
2284 * Api/webkitgtkpage.h:
2285 * Api/webkitgtkprivate.h:
2286 * WebCoreSupport/ChromeClientGtk.cpp:
2287 * WebCoreSupport/ContextMenuClientGtk.cpp:
2288 * WebCoreSupport/ContextMenuClientGtk.h:
2289 * WebCoreSupport/DragClientGtk.h:
2290 * WebCoreSupport/EditorClientGtk.h:
2291 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2292 (WebKit::FrameLoaderClient::dispatchWillSendRequest):
2293 (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
2294 (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
2295 (WebKit::FrameLoaderClient::createFrame):
2296 (WebKit::FrameLoaderClient::createJavaAppletWidget):
2297 (WebKit::FrameLoaderClient::registerForIconNotification):
2298 (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
2299 (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
2300 (WebKit::FrameLoaderClient::frameLoadCompleted):
2301 (WebKit::FrameLoaderClient::saveViewStateToItem):
2302 (WebKit::FrameLoaderClient::restoreViewState):
2303 (WebKit::FrameLoaderClient::shouldGoToHistoryItem):
2304 (WebKit::FrameLoaderClient::setTitle):
2305 * WebCoreSupport/FrameLoaderClientGtk.h:
2307 2007-11-22 Michael Natterer <mitch@imendio.com>
2309 Reviewed by Alp Toker.
2311 http://bugs.webkit.org/show_bug.cgi?id=15984
2312 Implement "navigation-requested" signal for WebKit Gtk
2314 * Api/webkitgtknetworkrequest.h: fix parent class member.
2316 * Api/webkitgtknetworkrequest.cpp
2317 * Api/webkitgtkprivate.h: basic implementation featuring an
2318 "url" member and API.
2320 * Api/webkitgtkdefines.h: added network request typedefs.
2322 * Api/webkitgtkpage.h: fix enum name:
2323 s/WEBKIT_NAVIGATION_REQUEST_RESPONSE/WebKitNavigationRequestResponse/
2324 and sanitized enum values.
2326 * Api/webkitgtkpage.cpp: made "navigation-requested" a signal.
2328 * Api/webkitgtk-marshal.list: added INT:OBJECT,OBJECT
2330 * WebCoreSupport/FrameLoaderClientGtk.cpp: emit the new signal in
2331 dispatchDecidePolicyForNavigationAction().
2333 2007-11-18 Christian Dywan <christian@twotoasts.de>
2337 http://bugs.webkit.org/show_bug.cgi?id=15891
2338 [GTK] Javascript console and dialogs are not implemented
2340 Correct script-prompt to return NULL when cancelled.
2342 Small changes to avoid compiler warnings.
2344 * Api/webkitgtkpage.cpp:
2346 2007-11-17 Timothy Hatcher <timothy@apple.com>
2348 Reviewed by Mark Rowe.
2350 Bug 13470: i18n: The Web Inspector is not localizable
2351 http://bugs.webkit.org/show_bug.cgi?id=13470
2353 * WebCoreSupport/InspectorClientGtk.cpp:
2354 (WebKit::InspectorClient::localizedStringsURL): Empty stub.
2355 * WebCoreSupport/InspectorClientGtk.h: Add localizedStringsURL.
2357 2007-11-13 Mark Rowe <mrowe@apple.com>
2359 Gtk build fix. Replace incorrect use of the LOG macro with g_print.
2361 * Api/webkitgtkpage.cpp:
2363 2007-11-13 Christian Dywan <christian@twotoasts.de>
2367 http://bugs.webkit.org/show_bug.cgi?id=15891
2368 [GTK] Javascript console and dialogs are not implemented
2370 Implement signals for script dialogs and console messages.
2372 * Api/webkitgtk-marshal.list:
2373 * Api/webkitgtkpage.cpp:
2374 * Api/webkitgtkpage.h:
2375 * WebCoreSupport/ChromeClientGtk.cpp:
2376 (WebKit::ChromeClient::addMessageToConsole):
2377 (WebKit::ChromeClient::runJavaScriptAlert):
2378 (WebKit::ChromeClient::runJavaScriptConfirm):
2379 (WebKit::ChromeClient::runJavaScriptPrompt):
2381 2007-11-11 Alp Toker <alp@atoker.com>
2385 Initialize m_userAgent.
2387 Fix typos in GDK_WINDOWING conditionals.
2389 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2390 (WebKit::FrameLoaderClient::FrameLoaderClient):
2391 (WebKit::agentPlatform):
2393 2007-11-11 Alp Toker <alp@atoker.com>
2395 Reviewed by Mark Rowe.
2397 Mention Safari in the UserAgent string to improve site compatibility.
2399 Also bump the hard-coded AppleWebKit version number.
2401 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2402 (WebKit::composeUserAgent):
2404 2007-11-09 Xan Lopez <xan@gnome.org>
2408 Fix http://bugs.webkit.org/show_bug.cgi?id=15926
2409 [GTK] WebKitPage map handler is redundant.
2411 * Api/webkitgtkpage.cpp:
2412 The map handler for WebKitPage is redundant, GtkContainer does
2413 the same (and more correctly).
2415 2007-11-08 Alp Toker <alp@atoker.com>
2417 Reviewed by Mark Rowe.
2419 http://bugs.webkit.org/show_bug.cgi?id=15653
2420 [GTK] Text editor does not handle common keystrokes
2422 Handle more keystrokes in EditorClientGtk. Note that this is a
2423 temporary measure pending a proper solution using GtkBindingSet (see
2424 http://bugs.webkit.org/show_bug.cgi?id=15911).
2426 * WebCoreSupport/EditorClientGtk.cpp:
2427 (WebKit::EditorClient::handleKeypress):
2429 2007-11-08 Kevin McCullough <kmccullough@apple.com>
2433 - windowObjectCleared() is no longer const. It needs to setup the
2434 script debugger and cannot be const to do so.
2436 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2437 (WebKit::FrameLoaderClient::windowObjectCleared):
2438 * WebCoreSupport/FrameLoaderClientGtk.h:
2440 2007-11-06 Rodney Dawes <dobey@wayofthemonkey.com>
2442 Fix http://bugs.webkit.org/attachment.cgi?id=17043&action=view
2443 Bug 15766: [GTK] WebKit sometimes spews binary data as text/plain into iframes
2445 FrameLoaderClient::objectContentType needs to check with the MIMETypeRegistry
2446 to determine whether the given MIME type is displayable as an image or non-image.
2448 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2449 (FrameLoaderClient::objectContentType): Change logic to match that in
2450 the Windows and Mac ports.
2452 2007-11-05 Christian Dywan <christian@twotoasts.de>
2456 http://bugs.webkit.org/show_bug.cgi?id=15409
2457 FrameLoaderClientGtk hardcodes data, including platform to Linux i686
2459 Compute a proper user agent string.
2461 Patch includes fixes by Alp.
2463 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2464 (WebKit::agentPlatform):
2466 (WebKit::composeUserAgent):
2467 (WebKit::FrameLoaderClient::userAgent):
2468 * WebCoreSupport/FrameLoaderClientGtk.h:
2470 2007-11-05 Mark Rowe <mrowe@apple.com>
2472 Rubber-stamped by Alp Toker.
2474 Remove unused m_firstData member from FrameLoaderClientGtk.
2476 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2477 * WebCoreSupport/FrameLoaderClientGtk.h:
2479 2007-11-05 Mark Rowe <mrowe@apple.com>
2481 Reviewed by Alp Toker.
2483 Fix http://bugs.webkit.org/show_bug.cgi?id=15842
2484 Bug 15842: [Gtk] about:blank doesn't work
2486 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2487 (WebKit::FrameLoaderClient::finishedLoading): Set the encoding on the frame loader to
2488 get work done that is normally done when the first bit of data is received, even in the
2489 case of a document with no data (like about:blank).
2491 2007-11-03 Alp Toker <alp@atoker.com>
2493 Reviewed by Mark Rowe.
2495 Restore correct double and triple click behaviour
2497 We ended up ignoring GDK_2BUTTON_PRESS and GDK_3BUTTON_PRESS after
2500 * Api/webkitgtkpage.cpp:
2502 2007-11-03 Alp Toker <alp@atoker.com>
2504 Reviewed by Mark Rowe.
2506 Frame scrolling and invalidation fixes
2508 Make upward scroll events have a positive delta to match other ports.
2510 Fix the invalidation rect offset for frames so that scrolling works properly.
2512 Avoid allocating negative sizes to widgets to avoid GTK+ warnings.
2514 Allow tabbing to all widgets and links.
2516 Fix event returns, improving the focus situation and correcting scroll wheel
2519 * Api/webkitgtkpage.cpp:
2520 * WebCoreSupport/ChromeClientGtk.cpp:
2522 2007-10-29 Alp Toker <alp@atoker.com>
2526 Do not allow control to reach end of non-void functions
2528 * Api/webkitgtksettings.cpp:
2530 2007-10-28 Lars Lindner <lars.lindner@gmail.com>
2534 http://bugs.webkit.org/show_bug.cgi?id=15466
2535 [gtk] widget does not take focus on mouse click
2537 Grab widget focus in mouse press callback.
2539 * Api/webkitgtkpage.cpp:
2541 2007-10-25 Alp Toker <alp@atoker.com>
2545 http://bugs.webkit.org/show_bug.cgi?id=15686
2546 GtkLauncher aborts on launch due to uninitialized threading subsystem
2548 Re-enable database support in the GTK+ port, with a fix.
2550 Initialize GLib threading as early as possible.
2552 * Api/webkitgtkglobal.cpp:
2554 2007-10-25 Alp Toker <alp@atoker.com>
2556 Unreviewed fix to make the GTK+ port run.
2558 http://bugs.webkit.org/show_bug.cgi?id=15686
2559 GtkLauncher aborts on launch due to uninitialized threading subsystem
2561 http://bugs.webkit.org/show_bug.cgi?id=15688
2562 [GTK] Make it possible to disable database support
2564 Make database path initialization conditional on database support
2567 * Api/webkitgtkglobal.cpp:
2569 2007-10-24 Mark Rowe <mrowe@apple.com>
2571 Gtk build fix. Track WebCore changes in r27004.
2573 * Api/webkitgtkglobal.cpp:
2575 2007-10-22 Alp Toker <alp@atoker.com>
2577 Reviewed by Mark Rowe.
2579 http://bugs.webkit.org/show_bug.cgi?id=15611
2580 [GTK] Text selection behaviour different in Debug and Release builds
2582 http://bugs.webkit.org/show_bug.cgi?id=15578
2583 [GTK] Text editor caret does not blink
2585 Never allow control to reach the end of non-void functions.
2587 Return more sensible values, or in some cases, nulls.
2589 * Api/webkitgtksettings.cpp:
2590 * Api/webkitgtksettings.h:
2591 * WebCoreSupport/DragClientGtk.cpp:
2592 (WebKit::DragClient::actionMaskForDrag):
2593 (WebKit::DragClient::dragSourceActionMaskForPoint):
2594 (WebKit::DragClient::createDragImageForLink):
2596 2007-10-20 Mark Rowe <mrowe@apple.com>
2600 Gtk changes needed to enable HTML 5 client-side database storage.
2602 * Api/webkitgtkglobal.cpp: Set a default database path based on the user data directory.
2603 This should become configurable by client applications in the future.
2605 2007-10-20 Mark Rowe <mrowe@apple.com>
2609 Don't allow control characters to be inserted into editable regions.
2611 * WebCoreSupport/EditorClientGtk.cpp:
2612 (WebKit::EditorClient::handleKeypress):
2614 2007-10-19 Alp Toker <alp@atoker.com>
2618 GTK+ build fix enabling the new local database storage feature.
2619 There is also a prospective Qt build fix.
2621 * WebCoreSupport/ChromeClientGtk.cpp:
2622 (WebKit::ChromeClient::runDatabaseSizeLimitPrompt):
2623 * WebCoreSupport/ChromeClientGtk.h:
2625 2007-10-14 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2629 http://bugs.webkit.org/show_bug.cgi?id=15299
2630 Fix "hovering_over_link" signal not emitted when consecutive links
2633 * WebCoreSupport/ChromeClientGtk.cpp:
2634 (WebKit::ChromeClient::mouseDidMoveOverElement):
2635 * WebCoreSupport/ChromeClientGtk.h:
2636 - Remove m_didSendLinkSignal as it is superseded by m_hoveredLinkURL
2638 2007-10-10 Alice Liu <alice.liu@apple.com>
2640 Reviewed by Geoff Garen.
2642 changes to keep the build from breaking
2644 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2645 (WebKit::FrameLoaderClient::createFrame):
2646 * WebCoreSupport/FrameLoaderClientGtk.h:
2648 2007-10-03 Alp Toker <alp@atoker.com>
2652 http://bugs.webkit.org/show_bug.cgi?id=14726
2653 [gtk] API design. Mapping the WebView delegates to signals.
2655 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
2657 * Api/webkitgtkdefines.h:
2658 * Api/webkitgtkframe.cpp:
2659 * Api/webkitgtkframe.h:
2660 * Api/webkitgtkglobal.cpp:
2661 * Api/webkitgtkglobal.h:
2662 * Api/webkitgtknetworkrequest.h:
2663 * Api/webkitgtkpage.cpp:
2664 * Api/webkitgtkpage.h:
2665 * Api/webkitgtkprivate.cpp:
2668 (WebKit::getFrameFromPage):
2669 (WebKit::getPageFromFrame):
2672 * Api/webkitgtkprivate.h:
2673 * Api/webkitgtksettings.cpp:
2674 * Api/webkitgtksettings.h:
2675 * WebCoreSupport/ChromeClientGtk.cpp:
2676 (WebKit::ChromeClient::ChromeClient):
2677 (WebKit::ChromeClient::createWindow):
2678 (WebKit::ChromeClient::addMessageToConsole):
2679 (WebKit::ChromeClient::runJavaScriptAlert):
2680 (WebKit::ChromeClient::runJavaScriptConfirm):
2681 (WebKit::ChromeClient::runJavaScriptPrompt):
2682 * WebCoreSupport/ChromeClientGtk.h:
2683 (WebKit::ChromeClient::webPage):
2684 * WebCoreSupport/EditorClientGtk.cpp:
2685 (WebKit::EditorClient::EditorClient):
2686 * WebCoreSupport/EditorClientGtk.h:
2687 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2688 (WebKit::FrameLoaderClient::FrameLoaderClient):
2689 (WebKit::FrameLoaderClient::postProgressStartedNotification):
2690 (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
2691 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
2692 (WebKit::FrameLoaderClient::createFrame):
2693 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
2694 (WebKit::FrameLoaderClient::setTitle):
2695 * WebCoreSupport/FrameLoaderClientGtk.h:
2696 (WebKit::FrameLoaderClient::webFrame):
2698 2007-10-02 Cosimo Cecchi <cosimoc@svn.gnome.org>
2702 http://bugs.webkit.org/show_bug.cgi?id=15299
2703 Fix "hovering_over_link" signal being fired every time mouse moves.
2705 * WebCoreSupport/ChromeClientGtk.cpp:
2706 (WebKit::ChromeClient::ChromeClient):
2707 (WebKit::ChromeClient::mouseDidMoveOverElement):
2708 * WebCoreSupport/ChromeClientGtk.h:
2710 2007-09-21 Sean Egan <seanegan@gmail.com>
2714 Add an "execute_script" method to programmatically call Javascript
2715 http://bugs.webkit.org/show_bug.cgi?id=15255
2717 * Api/webkitgtkpage.cpp:
2718 * Api/webkitgtkpage.h:
2720 2007-09-29 Lars Lindner <lars.lindner@gmail.com>
2724 ChromeClientGtk.cpp does not implement mouseDidMoveOverElement()
2725 http://bugs.webkit.org/show_bug.cgi?id=15299
2727 Implementing "hovering_over_link" signal.
2729 * WebCoreSupport/ChromeClientGtk.cpp:
2730 (WebKit::ChromeClient::mouseDidMoveOverElement):
2732 2007-09-26 Mark Rowe <mrowe@apple.com>
2736 * WebCoreSupport/FrameLoaderClientGtk.cpp: Check for empty URL instead of invalid URL.
2738 2007-09-17 Holger Hans Peter Freyther <zecke@selfish.org>
2742 WebKitGtkPage and WebKitGtkFrame have a dependency on each other. To
2743 allow client code to include both headers the typedef's for
2744 WebKitGtkFrame, WebKitGtkPage, WebKitGtkFrameData and WebKitGtkNetworkRequest
2745 are moved into webkitgtkdefines.h and included by both webkitgtkpage.h and
2748 * Api/webkitgtkdefines.h:
2749 * Api/webkitgtkframe.h:
2750 * Api/webkitgtkpage.h:
2752 2007-09-17 Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
2754 Reviewed by Mark, some Coding Style changes by Holger.
2756 This is from http://bugs.webkit.org/show_bug.cgi?id=14812.
2758 Add title and location to WebKitGtkFramePrivate, add
2759 webkit_gtk_frame_get_location to the WebKitGtkFrame API as well
2760 as a title_changed callback, implement
2761 webkit_gtk_frame_get_title and webkit_gtk_frame_get_location.
2763 Initial patch by Diego Escalante Urrelo.
2765 * Api/webkitgtkframe.cpp:
2766 * Api/webkitgtkframe.h:
2767 * Api/webkitgtkprivate.h:
2769 2007-09-15 Holger Hans Peter Freyther <zecke@selfish.org>
2773 Use the new WebCore::String::fromUTF8 function to convert
2774 from the Gtk+ representation of a string to WebCore::String.
2776 * WebCoreSupport/ChromeClientGtk.cpp:
2777 (WebKit::ChromeClient::runJavaScriptPrompt):
2779 2007-09-10 Nigel Tao <nigeltao@gnome.org>
2781 Reviewed by Mark Rowe.
2783 Fix a typo where webkit_gtk_page_can_copy was declared twice,
2784 rather than webkit_gtk_page_can_paste.
2786 * Api/webkitgtkpage.h:
2788 2007-09-08 Brady Eidson <beidson@apple.com>
2792 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2793 (WebKit::FrameLoaderClient::registerForIconNotification):
2794 * WebCoreSupport/FrameLoaderClientGtk.h:
2796 2007-09-08 Brady Eidson <beidson@apple.com>
2800 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2801 (WebKit::FrameLoaderClient::registerForIconNotification):
2802 * WebCoreSupport/FrameLoaderClientGtk.h:
2804 2007-09-05 Geoffrey Garen <ggaren@apple.com>
2806 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
2808 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
2809 memory cache, or a very tiny one
2811 Keep the GTK build working with an empty stub.
2813 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2814 (WebKit::FrameLoaderClient::didPerformFirstNavigation):
2815 * WebCoreSupport/FrameLoaderClientGtk.h:
2817 2007-09-01 Oliver Hunt <oliver@apple.com>
2821 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
2823 EditorClient::setInputMethodState stub
2825 * WebCoreSupport/EditorClientGtk.cpp:
2826 (WebKit::EditorClient::setInputMethodState):
2827 * WebCoreSupport/EditorClientGtk.h:
2829 2007-08-18 Holger Hans Peter Freyther <zecke@selfish.org>
2831 Build fix. Add const to the first parameter of createPlugin
2833 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2835 2007-08-17 Anders Carlsson <andersca@apple.com>
2839 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2840 (WebKit::FrameLoaderClient::createPlugin):
2841 * WebCoreSupport/FrameLoaderClientGtk.h:
2843 2007-08-11 Holger Hans Peter Freyther <zecke@selfish.org>
2847 To not hit the needsLayout() assert of Frame::paint for subframes we need to
2848 make sure they are layed out. Use the newly created FrameView::layoutIfNeededRecursive
2851 * Api/webkitgtkpage.cpp:
2853 2007-08-11 Holger Hans Peter Freyther <zecke@selfish.org>
2857 Fix text selection by setting a DragClient when creating the Page. Now
2858 that we have a DragClient we can free the Page when WebKitGtkPage gets
2861 * Api/webkitgtkpage.cpp:
2862 * WebCoreSupport/DragClientGtk.cpp: Added.
2863 (WebKit::DragClient::willPerformDragDestinationAction):
2864 (WebKit::DragClient::willPerformDragSourceAction):
2865 (WebKit::DragClient::actionMaskForDrag):
2866 (WebKit::DragClient::dragSourceActionMaskForPoint):
2867 (WebKit::DragClient::startDrag):
2868 (WebKit::DragClient::createDragImageForLink):
2869 * WebCoreSupport/DragClientGtk.h: Added.
2871 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
2875 Make WebKitGtkPage a GtkContainer to avoid a size_allocate
2876 race of GtkScrollBar and GtkLayout.
2878 * Api/webkitgtk-marshal.list:
2879 * Api/webkitgtkframe.cpp:
2880 * Api/webkitgtkpage.cpp:
2881 * Api/webkitgtkpage.h:
2882 * Api/webkitgtkprivate.h:
2884 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
2888 Minor changes to the WebKit::EditorClient to allow removing
2889 of text from TextFields. Remove the selectWordBeforeMenuEvent method
2890 which is not used and not within WebCore::EditorClient.
2892 * WebCoreSupport/EditorClientGtk.cpp:
2893 (WebKit::EditorClient::shouldDeleteRange):
2894 (WebKit::EditorClient::shouldBeginEditing):
2895 (WebKit::EditorClient::shouldEndEditing):
2896 (WebKit::EditorClient::shouldApplyStyle):
2897 (WebKit::EditorClient::shouldInsertNode):
2898 * WebCoreSupport/EditorClientGtk.h:
2900 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
2904 Rename the namespace from WebKitGtk to WebKit. Move the various *Client
2905 classes into the WebKit namespace. Change the class names to not contain Gtk.
2906 The file names have to contain the Gtk suffix to not clash with files in WebCore (e.g.
2907 bridge/EditorClient.h).
2910 * Api/webkitgtkframe.cpp:
2911 * Api/webkitgtkpage.cpp:
2912 * Api/webkitgtkprivate.cpp:
2913 * Api/webkitgtkprivate.h:
2915 * WebCoreSupport/ChromeClientGtk.cpp:
2916 (WebKit::ChromeClient::ChromeClient):
2917 (WebKit::ChromeClient::chromeDestroyed):
2918 (WebKit::ChromeClient::windowRect):
2919 (WebKit::ChromeClient::setWindowRect):
2920 (WebKit::ChromeClient::pageRect):
2921 (WebKit::ChromeClient::scaleFactor):
2922 (WebKit::ChromeClient::focus):
2923 (WebKit::ChromeClient::unfocus):
2924 (WebKit::ChromeClient::createWindow):
2925 (WebKit::ChromeClient::createModalDialog):
2926 (WebKit::ChromeClient::show):
2927 (WebKit::ChromeClient::canRunModal):
2928 (WebKit::ChromeClient::runModal):
2929 (WebKit::ChromeClient::setToolbarsVisible):
2930 (WebKit::ChromeClient::toolbarsVisible):
2931 (WebKit::ChromeClient::setStatusbarVisible):
2932 (WebKit::ChromeClient::statusbarVisible):
2933 (WebKit::ChromeClient::setScrollbarsVisible):
2934 (WebKit::ChromeClient::scrollbarsVisible):
2935 (WebKit::ChromeClient::setMenubarVisible):
2936 (WebKit::ChromeClient::menubarVisible):
2937 (WebKit::ChromeClient::setResizable):
2938 (WebKit::ChromeClient::closeWindowSoon):
2939 (WebKit::ChromeClient::canTakeFocus):
2940 (WebKit::ChromeClient::takeFocus):
2941 (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
2942 (WebKit::ChromeClient::runBeforeUnloadConfirmPanel):
2943 (WebKit::ChromeClient::runJavaScriptAlert):
2944 (WebKit::ChromeClient::runJavaScriptConfirm):
2945 (WebKit::ChromeClient::setStatusbarText):
2946 (WebKit::ChromeClient::shouldInterruptJavaScript):
2947 (WebKit::ChromeClient::tabsToLinks):
2948 (WebKit::ChromeClient::windowResizerRect):
2949 (WebKit::ChromeClient::addToDirtyRegion):
2950 (WebKit::ChromeClient::scrollBackingStore):
2951 (WebKit::ChromeClient::updateBackingStore):
2952 (WebKit::ChromeClient::mouseDidMoveOverElement):
2953 (WebKit::ChromeClient::setToolTip):
2954 * WebCoreSupport/ChromeClientGtk.h:
2955 * WebCoreSupport/ContextMenuClientGtk.cpp:
2956 (WebKit::ContextMenuClient::contextMenuDestroyed):
2957 (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
2958 (WebKit::ContextMenuClient::contextMenuItemSelected):
2959 (WebKit::ContextMenuClient::downloadURL):
2960 (WebKit::ContextMenuClient::copyImageToClipboard):
2961 (WebKit::ContextMenuClient::searchWithGoogle):
2962 (WebKit::ContextMenuClient::lookUpInDictionary):
2963 (WebKit::ContextMenuClient::speak):
2964 * WebCoreSupport/ContextMenuClientGtk.h:
2965 * WebCoreSupport/EditorClientGtk.cpp:
2966 (WebKit::EditorClient::shouldDeleteRange):
2967 (WebKit::EditorClient::shouldShowDeleteInterface):
2968 (WebKit::EditorClient::isContinuousSpellCheckingEnabled):
2969 (WebKit::EditorClient::isGrammarCheckingEnabled):
2970 (WebKit::EditorClient::spellCheckerDocumentTag):
2971 (WebKit::EditorClient::shouldBeginEditing):
2972 (WebKit::EditorClient::shouldEndEditing):
2973 (WebKit::EditorClient::shouldInsertText):
2974 (WebKit::EditorClient::shouldChangeSelectedRange):
2975 (WebKit::EditorClient::shouldApplyStyle):
2976 (WebKit::EditorClient::shouldMoveRangeAfterDelete):
2977 (WebKit::EditorClient::didBeginEditing):
2978 (WebKit::EditorClient::respondToChangedContents):
2979 (WebKit::EditorClient::respondToChangedSelection):
2980 (WebKit::EditorClient::didEndEditing):
2981 (WebKit::EditorClient::didWriteSelectionToPasteboard):
2982 (WebKit::EditorClient::didSetSelectionTypesForPasteboard):
2983 (WebKit::EditorClient::selectWordBeforeMenuEvent):
2984 (WebKit::EditorClient::isEditable):
2985 (WebKit::EditorClient::registerCommandForUndo):
2986 (WebKit::EditorClient::registerCommandForRedo):
2987 (WebKit::EditorClient::clearUndoRedoOperations):
2988 (WebKit::EditorClient::canUndo):
2989 (WebKit::EditorClient::canRedo):
2990 (WebKit::EditorClient::undo):
2991 (WebKit::EditorClient::redo):
2992 (WebKit::EditorClient::shouldInsertNode):
2993 (WebKit::EditorClient::pageDestroyed):
2994 (WebKit::EditorClient::smartInsertDeleteEnabled):
2995 (WebKit::EditorClient::toggleContinuousSpellChecking):
2996 (WebKit::EditorClient::toggleGrammarChecking):
2997 (WebKit::EditorClient::handleInputMethodKeypress):
2998 (WebKit::EditorClient::EditorClient):
2999 (WebKit::EditorClient::textFieldDidBeginEditing):
3000 (WebKit::EditorClient::textFieldDidEndEditing):
3001 (WebKit::EditorClient::textDidChangeInTextField):
3002 (WebKit::EditorClient::doTextFieldCommandFromEvent):
3003 (WebKit::EditorClient::textWillBeDeletedInTextField):
3004 (WebKit::EditorClient::textDidChangeInTextArea):
3005 (WebKit::EditorClient::ignoreWordInSpellDocument):
3006 (WebKit::EditorClient::learnWord):
3007 (WebKit::EditorClient::checkSpellingOfString):
3008 (WebKit::EditorClient::checkGrammarOfString):
3009 (WebKit::EditorClient::updateSpellingUIWithGrammarString):
3010 (WebKit::EditorClient::updateSpellingUIWithMisspelledWord):
3011 (WebKit::EditorClient::showSpellingUI):
3012 (WebKit::EditorClient::spellingUIIsShowing):
3013 * WebCoreSupport/EditorClientGtk.h:
3014 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3015 (WebKit::FrameLoaderClient::FrameLoaderClient):
3016 (WebKit::FrameLoaderClient::userAgent):
3017 (WebKit::FrameLoaderClient::createDocumentLoader):
3018 (WebKit::FrameLoaderClient::committedLoad):
3019 (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
3020 (WebKit::FrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
3021 (WebKit::FrameLoaderClient::dispatchWillSendRequest):
3022 (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
3023 (WebKit::FrameLoaderClient::postProgressStartedNotification):
3024 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
3025 (WebKit::FrameLoaderClient::frameLoaderDestroyed):
3026 (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
3027 (WebKit::FrameLoaderClient::createPlugin):
3028 (WebKit::FrameLoaderClient::redirectDataToPlugin):
3029 (WebKit::FrameLoaderClient::createJavaAppletWidget):
3030 (WebKit::FrameLoaderClient::overrideMediaType):
3031 (WebKit::FrameLoaderClient::windowObjectCleared):
3032 (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
3033 (WebKit::FrameLoaderClient::hasWebView):
3034 (WebKit::FrameLoaderClient::hasFrameView):
3035 (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
3036 (WebKit::FrameLoaderClient::frameLoadCompleted):
3037 (WebKit::FrameLoaderClient::saveViewStateToItem):
3038 (WebKit::FrameLoaderClient::restoreViewState):
3039 (WebKit::FrameLoaderClient::privateBrowsingEnabled):
3040 (WebKit::FrameLoaderClient::makeDocumentView):
3041 (WebKit::FrameLoaderClient::makeRepresentation):
3042 (WebKit::FrameLoaderClient::forceLayout):
3043 (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
3044 (WebKit::FrameLoaderClient::setCopiesOnScroll):
3045 (WebKit::FrameLoaderClient::detachedFromParent1):
3046 (WebKit::FrameLoaderClient::detachedFromParent2):
3047 (WebKit::FrameLoaderClient::detachedFromParent3):
3048 (WebKit::FrameLoaderClient::detachedFromParent4):
3049 (WebKit::FrameLoaderClient::loadedFromCachedPage):
3050 (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
3051 (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
3052 (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
3053 (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
3054 (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
3055 (WebKit::FrameLoaderClient::dispatchWillClose):
3056 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
3057 (WebKit::FrameLoaderClient::dispatchDidStartProvisionalLoad):
3058 (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
3059 (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
3060 (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
3061 (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
3062 (WebKit::FrameLoaderClient::dispatchShow):
3063 (WebKit::FrameLoaderClient::cancelPolicyCheck):
3064 (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
3065 (WebKit::FrameLoaderClient::revertToProvisionalState):
3066 (WebKit::FrameLoaderClient::clearUnarchivingState):
3067 (WebKit::FrameLoaderClient::willChangeTitle):
3068 (WebKit::FrameLoaderClient::didChangeTitle):
3069 (WebKit::FrameLoaderClient::finishedLoading):
3070 (WebKit::FrameLoaderClient::finalSetupForReplace):
3071 (WebKit::FrameLoaderClient::setDefersLoading):
3072 (WebKit::FrameLoaderClient::isArchiveLoadPending):
3073 (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
3074 (WebKit::FrameLoaderClient::clearArchivedResources):
3075 (WebKit::FrameLoaderClient::canHandleRequest):
3076 (WebKit::FrameLoaderClient::canShowMIMEType):
3077 (WebKit::FrameLoaderClient::representationExistsForURLScheme):
3078 (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
3079 (WebKit::FrameLoaderClient::provisionalLoadStarted):
3080 (WebKit::FrameLoaderClient::didFinishLoad):
3081 (WebKit::FrameLoaderClient::setDocumentViewFromCachedPage):
3082 (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
3083 (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
3084 (WebKit::FrameLoaderClient::dispatchDidFailLoading):
3085 (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
3086 (WebKit::FrameLoaderClient::dispatchDidFailProvisionalLoad):
3087 (WebKit::FrameLoaderClient::dispatchDidFailLoad):
3088 (WebKit::FrameLoaderClient::download):
3089 (WebKit::FrameLoaderClient::cancelledError):
3090 (WebKit::FrameLoaderClient::blockedError):
3091 (WebKit::FrameLoaderClient::cannotShowURLError):
3092 (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
3093 (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
3094 (WebKit::FrameLoaderClient::fileDoesNotExistError):
3095 (WebKit::FrameLoaderClient::shouldFallBack):
3096 (WebKit::FrameLoaderClient::willUseArchive):
3097 (WebKit::FrameLoaderClient::saveDocumentViewToCachedPage):
3098 (WebKit::FrameLoaderClient::canCachePage):
3099 (WebKit::FrameLoaderClient::dispatchCreatePage):
3100 (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
3101 * WebCoreSupport/FrameLoaderClientGtk.h:
3102 * WebCoreSupport/InspectorClientGtk.cpp:
3103 (WebKit::InspectorClient::inspectorDestroyed):
3104 (WebKit::InspectorClient::createPage):
3105 (WebKit::InspectorClient::showWindow):
3106 (WebKit::InspectorClient::closeWindow):
3107 (WebKit::InspectorClient::attachWindow):
3108 (WebKit::InspectorClient::detachWindow):
3109 (WebKit::InspectorClient::highlight):
3110 (WebKit::InspectorClient::hideHighlight):
3111 * WebCoreSupport/InspectorClientGtk.h:
3113 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
3117 As of http://bugs.webkit.org/show_bug.cgi?id=14727 move the
3118 various *ClientGdk.{cpp,h} files from WebCore to WebKit/gtk/WebCoreSupport and
3119 rename it from Gdk to Gtk.
3121 * Api/webkitgtkdefines.h:
3122 * Api/webkitgtkframe.cpp:
3123 * Api/webkitgtkframe.h:
3124 * Api/webkitgtkglobal.cpp:
3125 * Api/webkitgtkglobal.h:
3126 * Api/webkitgtknetworkrequest.cpp:
3127 * Api/webkitgtknetworkrequest.h:
3128 * Api/webkitgtkpage.cpp:
3129 * Api/webkitgtkpage.h:
3130 * Api/webkitgtkprivate.cpp:
3131 * Api/webkitgtkprivate.h:
3132 * Api/webkitgtksettings.cpp:
3133 * Api/webkitgtksettings.h:
3134 * WebCoreSupport/ChromeClientGtk.cpp: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.cpp.
3135 (WebKitGtk::ChromeClientGtk::ChromeClientGtk):
3136 (WebKitGtk::ChromeClientGtk::chromeDestroyed):
3137 (WebKitGtk::ChromeClientGtk::windowRect):
3138 (WebKitGtk::ChromeClientGtk::setWindowRect):
3139 (WebKitGtk::ChromeClientGtk::pageRect):
3140 (WebKitGtk::ChromeClientGtk::scaleFactor):
3141 (WebKitGtk::ChromeClientGtk::focus):
3142 (WebKitGtk::ChromeClientGtk::unfocus):
3143 (WebKitGtk::ChromeClientGtk::createWindow):
3144 (WebKitGtk::ChromeClientGtk::createModalDialog):
3145 (WebKitGtk::ChromeClientGtk::show):
3146 (WebKitGtk::ChromeClientGtk::canRunModal):
3147 (WebKitGtk::ChromeClientGtk::runModal):
3148 (WebKitGtk::ChromeClientGtk::setToolbarsVisible):
3149 (WebKitGtk::ChromeClientGtk::toolbarsVisible):
3150 (WebKitGtk::ChromeClientGtk::setStatusbarVisible):
3151 (WebKitGtk::ChromeClientGtk::statusbarVisible):
3152 (WebKitGtk::ChromeClientGtk::setScrollbarsVisible):
3153 (WebKitGtk::ChromeClientGtk::scrollbarsVisible):
3154 (WebKitGtk::ChromeClientGtk::setMenubarVisible):
3155 (WebKitGtk::ChromeClientGtk::menubarVisible):
3156 (WebKitGtk::ChromeClientGtk::setResizable):
3157 (WebKitGtk::ChromeClientGtk::closeWindowSoon):
3158 (WebKitGtk::ChromeClientGtk::canTakeFocus):
3159 (WebKitGtk::ChromeClientGtk::takeFocus):
3160 (WebKitGtk::ChromeClientGtk::canRunBeforeUnloadConfirmPanel):
3161 (WebKitGtk::ChromeClientGtk::runBeforeUnloadConfirmPanel):
3162 (WebKitGtk::ChromeClientGtk::addMessageToConsole):
3163 (WebKitGtk::ChromeClientGtk::runJavaScriptAlert):
3164 (WebKitGtk::ChromeClientGtk::runJavaScriptConfirm):
3165 (WebKitGtk::ChromeClientGtk::runJavaScriptPrompt):
3166 (WebKitGtk::ChromeClientGtk::setStatusbarText):
3167 (WebKitGtk::ChromeClientGtk::shouldInterruptJavaScript):
3168 (WebKitGtk::ChromeClientGtk::tabsToLinks):
3169 (WebKitGtk::ChromeClientGtk::windowResizerRect):
3170 (WebKitGtk::ChromeClientGtk::addToDirtyRegion):
3171 (WebKitGtk::ChromeClientGtk::scrollBackingStore):
3172 (WebKitGtk::ChromeClientGtk::updateBackingStore):
3173 (WebKitGtk::ChromeClientGtk::mouseDidMoveOverElement):
3174 (WebKitGtk::ChromeClientGtk::setToolTip):
3175 * WebCoreSupport/ChromeClientGtk.h: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.h.
3176 (WebKitGtk::ChromeClientGtk::webPage):
3177 * WebCoreSupport/ContextMenuClientGtk.cpp: Renamed from WebCore/page/gdk/ContextMenuClientGdk.cpp.
3178 (WebCore::ContextMenuClientGtk::contextMenuDestroyed):
3179 (WebCore::ContextMenuClientGtk::getCustomMenuFromDefaultItems):
3180 (WebCore::ContextMenuClientGtk::contextMenuItemSelected):
3181 (WebCore::ContextMenuClientGtk::downloadURL):
3182 (WebCore::ContextMenuClientGtk::copyImageToClipboard):
3183 (WebCore::ContextMenuClientGtk::searchWithGoogle):
3184 (WebCore::ContextMenuClientGtk::lookUpInDictionary):
3185 (WebCore::ContextMenuClientGtk::speak):
3186 (WebCore::ContextMenuClientGtk::stopSpeaking):
3187 * WebCoreSupport/ContextMenuClientGtk.h: Renamed from WebCore/page/gdk/ContextMenuClientGdk.h.
3188 * WebCoreSupport/EditorClientGtk.cpp: Renamed from WebCore/platform/gdk/EditorClientGdk.cpp.
3189 (WebCore::EditorClientGtk::shouldDeleteRange):
3190 (WebCore::EditorClientGtk::shouldShowDeleteInterface):
3191 (WebCore::EditorClientGtk::isContinuousSpellCheckingEnabled):
3192 (WebCore::EditorClientGtk::isGrammarCheckingEnabled):
3193 (WebCore::EditorClientGtk::spellCheckerDocumentTag):
3194 (WebCore::EditorClientGtk::shouldBeginEditing):
3195 (WebCore::EditorClientGtk::shouldEndEditing):
3196 (WebCore::EditorClientGtk::shouldInsertText):
3197 (WebCore::EditorClientGtk::shouldChangeSelectedRange):
3198 (WebCore::EditorClientGtk::shouldApplyStyle):
3199 (WebCore::EditorClientGtk::shouldMoveRangeAfterDelete):
3200 (WebCore::EditorClientGtk::didBeginEditing):
3201 (WebCore::EditorClientGtk::respondToChangedContents):
3202 (WebCore::EditorClientGtk::respondToChangedSelection):
3203 (WebCore::EditorClientGtk::didEndEditing):
3204 (WebCore::EditorClientGtk::didWriteSelectionToPasteboard):
3205 (WebCore::EditorClientGtk::didSetSelectionTypesForPasteboard):
3206 (WebCore::EditorClientGtk::selectWordBeforeMenuEvent):
3207 (WebCore::EditorClientGtk::isEditable):
3208 (WebCore::EditorClientGtk::registerCommandForUndo):
3209 (WebCore::EditorClientGtk::registerCommandForRedo):
3210 (WebCore::EditorClientGtk::clearUndoRedoOperations):
3211 (WebCore::EditorClientGtk::canUndo):
3212 (WebCore::EditorClientGtk::canRedo):
3213 (WebCore::EditorClientGtk::undo):
3214 (WebCore::EditorClientGtk::redo):
3215 (WebCore::EditorClientGtk::shouldInsertNode):
3216 (WebCore::EditorClientGtk::pageDestroyed):
3217 (WebCore::EditorClientGtk::smartInsertDeleteEnabled):
3218 (WebCore::EditorClientGtk::toggleContinuousSpellChecking):
3219 (WebCore::EditorClientGtk::toggleGrammarChecking):
3220 (WebCore::EditorClientGtk::handleKeypress):
3221 (WebCore::EditorClientGtk::handleInputMethodKeypress):
3222 (WebCore::EditorClientGtk::EditorClientGtk):
3223 (WebCore::EditorClientGtk::textFieldDidBeginEditing):
3224 (WebCore::EditorClientGtk::textFieldDidEndEditing):
3225 (WebCore::EditorClientGtk::textDidChangeInTextField):
3226 (WebCore::EditorClientGtk::doTextFieldCommandFromEvent):
3227 (WebCore::EditorClientGtk::textWillBeDeletedInTextField):
3228 (WebCore::EditorClientGtk::textDidChangeInTextArea):
3229 (WebCore::EditorClientGtk::ignoreWordInSpellDocument):
3230 (WebCore::EditorClientGtk::learnWord):
3231 (WebCore::EditorClientGtk::checkSpellingOfString):
3232 (WebCore::EditorClientGtk::checkGrammarOfString):
3233 (WebCore::EditorClientGtk::updateSpellingUIWithGrammarString):
3234 (WebCore::EditorClientGtk::updateSpellingUIWithMisspelledWord):
3235 (WebCore::EditorClientGtk::showSpellingUI):
3236 (WebCore::EditorClientGtk::spellingUIIsShowing):
3237 (WebCore::EditorClientGtk::getGuessesForWord):
3238 * WebCoreSupport/EditorClientGtk.h: Renamed from WebCore/platform/gdk/EditorClientGdk.h.
3239 * WebCoreSupport/FrameLoaderClientGtk.cpp: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.cpp.
3240 (WebCore::FrameLoaderClientGtk::FrameLoaderClientGtk):
3241 (WebCore::FrameLoaderClientGtk::userAgent):
3242 (WebCore::FrameLoaderClientGtk::createDocumentLoader):
3243 (WebCore::FrameLoaderClientGtk::dispatchWillSubmitForm):
3244 (WebCore::FrameLoaderClientGtk::committedLoad):
3245 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveAuthenticationChallenge):
3246 (WebCore::FrameLoaderClientGtk::dispatchDidCancelAuthenticationChallenge):
3247 (WebCore::FrameLoaderClientGtk::dispatchWillSendRequest):
3248 (WebCore::FrameLoaderClientGtk::assignIdentifierToInitialRequest):
3249 (WebCore::FrameLoaderClientGtk::postProgressStartedNotification):
3250 (WebCore::FrameLoaderClientGtk::postProgressEstimateChangedNotification):
3251 (WebCore::FrameLoaderClientGtk::postProgressFinishedNotification):
3252 (WebCore::FrameLoaderClientGtk::frameLoaderDestroyed):
3253 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveResponse):
3254 (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForMIMEType):
3255 (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNewWindowAction):
3256 (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNavigationAction):
3257 (WebCore::FrameLoaderClientGtk::createPlugin):
3258 (WebCore::FrameLoaderClientGtk::createFrame):
3259 (WebCore::FrameLoaderClientGtk::redirectDataToPlugin):
3260 (WebCore::FrameLoaderClientGtk::createJavaAppletWidget):
3261 (WebCore::FrameLoaderClientGtk::objectContentType):
3262 (WebCore::FrameLoaderClientGtk::overrideMediaType):
3263 (WebCore::FrameLoaderClientGtk::windowObjectCleared):
3264 (WebCore::FrameLoaderClientGtk::setMainFrameDocumentReady):
3265 (WebCore::FrameLoaderClientGtk::hasWebView):
3266 (WebCore::FrameLoaderClientGtk::hasFrameView):
3267 (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoad):
3268 (WebCore::FrameLoaderClientGtk::frameLoadCompleted):
3269 (WebCore::FrameLoaderClientGtk::saveViewStateToItem):
3270 (WebCore::FrameLoaderClientGtk::restoreViewState):
3271 (WebCore::FrameLoaderClientGtk::shouldGoToHistoryItem):
3272 (WebCore::FrameLoaderClientGtk::privateBrowsingEnabled):
3273 (WebCore::FrameLoaderClientGtk::makeDocumentView):
3274 (WebCore::FrameLoaderClientGtk::makeRepresentation):
3275 (WebCore::FrameLoaderClientGtk::forceLayout):
3276 (WebCore::FrameLoaderClientGtk::forceLayoutForNonHTML):
3277 (WebCore::FrameLoaderClientGtk::setCopiesOnScroll):
3278 (WebCore::FrameLoaderClientGtk::detachedFromParent1):
3279 (WebCore::FrameLoaderClientGtk::detachedFromParent2):
3280 (WebCore::FrameLoaderClientGtk::detachedFromParent3):
3281 (WebCore::FrameLoaderClientGtk::detachedFromParent4):
3282 (WebCore::FrameLoaderClientGtk::loadedFromCachedPage):
3283 (WebCore::FrameLoaderClientGtk::dispatchDidHandleOnloadEvents):
3284 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveServerRedirectForProvisionalLoad):
3285 (WebCore::FrameLoaderClientGtk::dispatchDidCancelClientRedirect):
3286 (WebCore::FrameLoaderClientGtk::dispatchWillPerformClientRedirect):
3287 (WebCore::FrameLoaderClientGtk::dispatchDidChangeLocationWithinPage):
3288 (WebCore::FrameLoaderClientGtk::dispatchWillClose):
3289 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveIcon):
3290 (WebCore::FrameLoaderClientGtk::dispatchDidStartProvisionalLoad):
3291 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveTitle):
3292 (WebCore::FrameLoaderClientGtk::dispatchDidCommitLoad):
3293 (WebCore::FrameLoaderClientGtk::dispatchDidFinishDocumentLoad):
3294 (WebCore::FrameLoaderClientGtk::dispatchDidFirstLayout):
3295 (WebCore::FrameLoaderClientGtk::dispatchShow):
3296 (WebCore::FrameLoaderClientGtk::cancelPolicyCheck):
3297 (WebCore::FrameLoaderClientGtk::dispatchDidLoadMainResource):
3298 (WebCore::FrameLoaderClientGtk::revertToProvisionalState):
3299 (WebCore::FrameLoaderClientGtk::clearUnarchivingState):
3300 (WebCore::FrameLoaderClientGtk::willChangeTitle):
3301 (WebCore::FrameLoaderClientGtk::didChangeTitle):
3302 (WebCore::FrameLoaderClientGtk::finishedLoading):
3303 (WebCore::FrameLoaderClientGtk::finalSetupForReplace):
3304 (WebCore::FrameLoaderClientGtk::setDefersLoading):
3305 (WebCore::FrameLoaderClientGtk::isArchiveLoadPending):
3306 (WebCore::FrameLoaderClientGtk::cancelPendingArchiveLoad):
3307 (WebCore::FrameLoaderClientGtk::clearArchivedResources):
3308 (WebCore::FrameLoaderClientGtk::canHandleRequest):
3309 (WebCore::FrameLoaderClientGtk::canShowMIMEType):
3310 (WebCore::FrameLoaderClientGtk::representationExistsForURLScheme):
3311 (WebCore::FrameLoaderClientGtk::generatedMIMETypeForURLScheme):
3312 (WebCore::FrameLoaderClientGtk::provisionalLoadStarted):
3313 (WebCore::FrameLoaderClientGtk::didFinishLoad):
3314 (WebCore::FrameLoaderClientGtk::prepareForDataSourceReplacement):
3315 (WebCore::FrameLoaderClientGtk::setTitle):
3316 (WebCore::FrameLoaderClientGtk::setDocumentViewFromCachedPage):
3317 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveContentLength):
3318 (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoading):
3319 (WebCore::FrameLoaderClientGtk::dispatchDidFailLoading):
3320 (WebCore::FrameLoaderClientGtk::dispatchDidLoadResourceFromMemoryCache):
3321 (WebCore::FrameLoaderClientGtk::dispatchDidFailProvisionalLoad):
3322 (WebCore::FrameLoaderClientGtk::dispatchDidFailLoad):
3323 (WebCore::FrameLoaderClientGtk::download):
3324 (WebCore::FrameLoaderClientGtk::cancelledError):
3325 (WebCore::FrameLoaderClientGtk::blockedError):
3326 (WebCore::FrameLoaderClientGtk::cannotShowURLError):
3327 (WebCore::FrameLoaderClientGtk::interruptForPolicyChangeError):
3328 (WebCore::FrameLoaderClientGtk::cannotShowMIMETypeError):
3329 (WebCore::FrameLoaderClientGtk::fileDoesNotExistError):
3330 (WebCore::FrameLoaderClientGtk::shouldFallBack):
3331 (WebCore::FrameLoaderClientGtk::willUseArchive):
3332 (WebCore::FrameLoaderClientGtk::saveDocumentViewToCachedPage):
3333 (WebCore::FrameLoaderClientGtk::canCachePage):
3334 (WebCore::FrameLoaderClientGtk::dispatchCreatePage):
3335 (WebCore::FrameLoaderClientGtk::dispatchUnableToImplementPolicy):
3336 * WebCoreSupport/FrameLoaderClientGtk.h: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.h.
3337 (WebCore::FrameLoaderClientGtk::~FrameLoaderClientGtk):
3338 (WebCore::FrameLoaderClientGtk::webFrame):
3339 * WebCoreSupport/InspectorClientGtk.cpp: Renamed from WebCore/page/gdk/InspectorClientGdk.cpp.
3340 (WebCore::InspectorClientGtk::inspectorDestroyed):
3341 (WebCore::InspectorClientGtk::createPage):
3342 (WebCore::InspectorClientGtk::showWindow):
3343 (WebCore::InspectorClientGtk::closeWindow):
3344 (WebCore::InspectorClientGtk::attachWindow):
3345 (WebCore::InspectorClientGtk::detachWindow):
3346 (WebCore::InspectorClientGtk::highlight):
3347 (WebCore::InspectorClientGtk::hideHighlight):
3348 (WebCore::InspectorClientGtk::inspectedURLChanged):
3349 * WebCoreSupport/InspectorClientGtk.h: Renamed from WebCore/page/gdk/InspectorClientGdk.h.
3351 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
3355 * Api/webkitgtkframe.cpp:
3357 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
3361 Remove the create_frame virtual method of WebKitGtkPage. This method was inspired
3362 by the Qt port but to be useful for reimplementations WebKitGtkFrameData would need
3363 to export/expose WebCore types. WebView doesn't offer such a method so I decided to
3365 Add a internal constructor to WebKitGtkFrame to be used for constructing Sub-Frames. This
3366 is currently used by FrameLoaderClientGdk::createFrame.
3368 * Api/webkitgtkframe.cpp:
3369 * Api/webkitgtkframedata.cpp: Removed.
3370 * Api/webkitgtkframedata.h: Removed.
3371 * Api/webkitgtkpage.cpp:
3372 * Api/webkitgtkpage.h:
3373 * Api/webkitgtkprivate.h:
3375 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
3379 Follow the changes of ScrollView in WebCore and call setContainingWindow, set the
3380 GtkAdjustment of the GtkLayout and reimplement the set_scroll_adjustments method and pass
3381 the GtkAdjustments to ScrollView.
3382 This makes having one GdkWindow for the complete FrameTree possible.
3385 * gtk/Api/webkitgtkframe.cpp:
3386 * gtk/Api/webkitgtkpage.cpp:
3388 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
3392 We only need to set the Settings of the Page once so do it in
3393 WebKitGtkPage instead of WebKitGtkFrame.
3395 * gtk/Api/webkitgtkframe.cpp:
3396 * gtk/Api/webkitgtkpage.cpp:
3398 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
3402 Instead of reimplementing the general event method, reimplement
3403 the specific mouse, expose, keyboard event methods.
3405 Call the finalize implementation of the base class from WebKitGtkPage
3408 * gtk/Api/webkitgtkframe.cpp:
3409 * gtk/Api/webkitgtkpage.cpp:
3411 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
3415 Remove the custom painting in favor of the Widget::paint
3418 * gtk/Api/webkitgtkpage.cpp:
3420 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
3424 Moved code from class FrameGdk into WebKitGtkFrame. Update the
3425 webkitgrkprivate.h header file to not include FrameGdk.h.
3427 * gtk/Api/webkitgtkframe.cpp:
3428 * gtk/Api/webkitgtkprivate.h:
3430 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
3434 Change variable names to follow the Coding-Style. Replace occurences
3435 of a_b with aB and place the '*' correctly.
3437 * gtk/Api/webkitgtkframe.cpp:
3438 * gtk/Api/webkitgtkpage.cpp:
3439 * gtk/Api/webkitgtkprivate.h:
3441 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
3445 Reimplement GtkWidget::event and handle the keyboard and mouse
3446 events inside WebKitGtkPage.
3448 * gtk/Api/webkitgtkpage.cpp:
3449 (FrameGdkExposeData::frame_gdk_expose_child):
3450 (FrameGdkExposeData::webkit_gtk_page_rendering_area_handle_gdk_event):
3451 (FrameGdkExposeData::webkit_gtk_page_register_rendering_area_events):
3452 (FrameGdkExposeData::webkit_gtk_page_class_init):
3454 2007-08-07 Xan Lopez <xan@gnome.org>
3456 Reviewed by Mark Rowe.
3458 http://bugs.webkit.org/show_bug.cgi?id=14815
3459 [gtk] API implementation: reload
3461 * gtk/Api/webkitgtkpage.cpp: Implement the webkit_gtk_page_reload()
3464 2007-07-30 Diego Escalante Urrelo <diegoe@gnome.org>
3468 http://bugs.webkit.org/show_bug.cgi?id=14806
3469 Implement can_go_backward and can_go_forward in webkitgtkpage.cpp
3471 * gtk/Api/webkitgtkpage.cpp: Implement webkit_gtk_page_can_go_backward() and
3472 webkit_gtk_page_can_go_forward() functions.
3474 2007-07-30 Diego Escalante Urrelo <diegoe@gnome.org>
3476 Reviewed by Alp Toker.
3478 http://bugs.webkit.org/show_bug.cgi?id=14810
3479 Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
3481 This is the proper fix for #14810.
3483 * gtk/Api/webkitgtkframe.cpp:
3484 * gtk/Api/webkitgtkpage.cpp: Fix the marshaller type of the "load_finished" signal and
3485 correct the class_offset parameters.
3487 2007-07-29 Diego Escalante Urrelo <diegoe@gnome.org>
3489 Reviewed by Alp Toker.
3491 http://bugs.webkit.org/show_bug.cgi?id=14810
3492 Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
3494 * gtk/Api/webkitgtkpage.cpp: Use a correct n_params value and the corresponding types for
3495 them in the "load_finished" signal.
3497 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
3501 Add the first API and partial implementation of the WebKit/Gtk port as
3502 of http://bugs.webkit.org/show_bug.cgi?id=14678.
3504 The delegates of WebView will be modeled as signals. Delegates like the
3505 WebPolicyDelegate will be implemented as signals with default handlers.
3507 Start moving files to WebKit/gtk/WebCoreSupport.
3511 * gtk/Api/headers.pri: Added.
3512 * gtk/Api/webkitgtk-marshal.list: Added.
3513 * gtk/Api/webkitgtkdefines.h: Added.
3514 * gtk/Api/webkitgtkframe.cpp: Added.
3515 * gtk/Api/webkitgtkframe.h: Added.
3516 * gtk/Api/webkitgtkframedata.cpp: Added.
3517 * gtk/Api/webkitgtkframedata.h: Added.
3518 * gtk/Api/webkitgtkglobal.cpp: Added.
3519 * gtk/Api/webkitgtkglobal.h: Added.
3520 * gtk/Api/webkitgtknetworkrequest.cpp: Added.
3521 * gtk/Api/webkitgtknetworkrequest.h: Added.
3522 * gtk/Api/webkitgtkpage.cpp: Added.
3523 * gtk/Api/webkitgtkpage.h: Added.
3524 * gtk/Api/webkitgtkprivate.cpp: Added.
3525 * gtk/Api/webkitgtkprivate.h: Added.
3526 * gtk/Api/webkitgtksettings.cpp: Added.
3527 * gtk/Api/webkitgtksettings.h: Added.
3528 * gtk/WebCoreSupport: Added.
3529 * gtk/WebCoreSupport/ChromeClientGdk.cpp: Added.
3530 (WebCore::ChromeClientGdk::ChromeClientGdk):
3531 (WebCore::ChromeClientGdk::chromeDestroyed):
3532 (WebCore::ChromeClientGdk::windowRect):
3533 (WebCore::ChromeClientGdk::setWindowRect):
3534 (WebCore::ChromeClientGdk::pageRect):
3535 (WebCore::ChromeClientGdk::scaleFactor):
3536 (WebCore::ChromeClientGdk::focus):
3537 (WebCore::ChromeClientGdk::unfocus):
3538 (WebCore::ChromeClientGdk::createWindow):
3539 (WebCore::ChromeClientGdk::createModalDialog):
3540 (WebCore::ChromeClientGdk::show):
3541 (WebCore::ChromeClientGdk::canRunModal):
3542 (WebCore::ChromeClientGdk::runModal):
3543 (WebCore::ChromeClientGdk::setToolbarsVisible):
3544 (WebCore::ChromeClientGdk::toolbarsVisible):
3545 (WebCore::ChromeClientGdk::setStatusbarVisible):
3546 (WebCore::ChromeClientGdk::statusbarVisible):
3547 (WebCore::ChromeClientGdk::setScrollbarsVisible):
3548 (WebCore::ChromeClientGdk::scrollbarsVisible):
3549 (WebCore::ChromeClientGdk::setMenubarVisible):
3550 (WebCore::ChromeClientGdk::menubarVisible):
3551 (WebCore::ChromeClientGdk::setResizable):
3552 (WebCore::ChromeClientGdk::closeWindowSoon):
3553 (WebCore::ChromeClientGdk::canTakeFocus):
3554 (WebCore::ChromeClientGdk::takeFocus):
3555 (WebCore::ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
3556 (WebCore::ChromeClientGdk::runBeforeUnloadConfirmPanel):
3557 (WebCore::ChromeClientGdk::addMessageToConsole):
3558 (WebCore::ChromeClientGdk::runJavaScriptAlert):
3559 (WebCore::ChromeClientGdk::runJavaScriptConfirm):
3560 (WebCore::ChromeClientGdk::runJavaScriptPrompt):
3561 (WebCore::ChromeClientGdk::setStatusbarText):
3562 (WebCore::ChromeClientGdk::shouldInterruptJavaScript):
3563 (WebCore::ChromeClientGdk::tabsToLinks):
3564 (WebCore::ChromeClientGdk::windowResizerRect):
3565 (WebCore::ChromeClientGdk::addToDirtyRegion):
3566 (WebCore::ChromeClientGdk::scrollBackingStore):
3567 (WebCore::ChromeClientGdk::updateBackingStore):
3568 (WebCore::ChromeClientGdk::mouseDidMoveOverElement):
3569 (WebCore::ChromeClientGdk::setToolTip):
3570 (WebCore::ChromeClientGdk::print):
3571 * gtk/WebCoreSupport/ChromeClientGdk.h: Added.