1 2008-09-10 Alp Toker <alp@nuanti.com>
5 https://bugs.webkit.org/show_bug.cgi?id=17267
6 [GTK] Primary selection/clipboard support
8 Implement primary selection support (copying only, no paste yet).
10 * WebCoreSupport/EditorClientGtk.cpp:
11 (WebKit::clipboard_get_contents_cb):
12 (WebKit::clipboard_clear_contents_cb):
13 (WebKit::EditorClient::respondToChangedSelection):
15 2008-09-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
17 Reviewed by Maciej Stachowiak.
19 Bug 20704: Replace the KJS namespace
20 <https://bugs.webkit.org/show_bug.cgi?id=20704>
22 Rename the KJS namespace to JSC.
24 * webkit/webkitprivate.cpp:
27 2008-09-05 Gustavo Noronha Silva <gns@gnome.org>
29 Reviewed by Alp Toker.
31 https://bugs.webkit.org/show_bug.cgi?id=18346
32 [GTK] Remove build warnings
34 Removed/commented code that is not (yet) used, and reordered
35 member variables initialization for FrameLoaderClient, so that the
36 compiler is happy and prints less warnings when building.
38 * WebCoreSupport/ContextMenuClientGtk.cpp:
39 * WebCoreSupport/FrameLoaderClientGtk.cpp:
40 (WebKit::FrameLoaderClient::FrameLoaderClient):
42 2008-09-03 Alp Toker <alp@nuanti.com>
44 Build fix following r36073. Include config.h where necessary.
46 * WebCoreSupport/PasteboardHelperGtk.cpp:
47 * webkit/webkitversion.cpp:
49 2008-09-01 Alp Toker <alp@nuanti.com>
51 Reviewed by Eric Seidel.
53 https://bugs.webkit.org/show_bug.cgi?id=19939
54 [GTK] webkit_web_history_item_get_title() fails with assertion
56 Make sure newly constructed WebHistoryItem objects wrap a WebCore
57 history item when necessary. Avoid G_PARAM_CONSTRUCT since it destroys
58 history data -- use WEBKIT_PARAM flags instead as they do the right
59 thing. This restores history functionality.
61 Also use CString to simplify UTF-8 string management.
63 * webkit/webkitwebbackforwardlist.cpp:
64 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
65 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
66 No need to initialize the vector with a size since it's cleared by the
68 * webkit/webkitwebhistoryitem.cpp:
69 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
70 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
71 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
72 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
73 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
74 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
75 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
76 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
77 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
78 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
80 2008-08-27 Adrien Nader <camaradetux@gmail.com>
82 Reviewed by Eric Seidel.
84 https://bugs.webkit.org/show_bug.cgi?id=20099
85 [GTK] SHIFT+PAGE_UP/DOWN doesn't extend selection
87 * WebCoreSupport/EditorClientGtk.cpp:
88 (WebKit::EditorClient::handleKeyboardEvent):
90 2008-08-27 Brady Eidson <beidson@apple.com>
94 <rdar://problem/6134133> - Crash when loading large movie as a standalone document
96 * WebCoreSupport/FrameLoaderClientGtk.cpp:
97 (WebKit::FrameLoaderClient::pluginWillHandleLoadError): Stubbed for now
98 * WebCoreSupport/FrameLoaderClientGtk.h:
100 2008-08-18 Alp Toker <alp@nuanti.com>
102 Reviewed by Holger Freyther.
104 https://bugs.webkit.org/show_bug.cgi?id=20350
105 [GTK] Get DumpRenderTree working
107 Add a private function to WebFrame to dump the render tree as required
108 for the DumpRenderTree testing tool.
110 * webkit/webkitprivate.h:
111 * webkit/webkitwebframe.cpp:
113 2008-08-12 Timothy Hatcher <timothy@apple.com>
115 Add a stub for InspectorClient::setAttachedWindowHeight.
117 * WebCoreSupport/InspectorClientGtk.cpp:
118 (WebKit::InspectorClient::setAttachedWindowHeight):
119 Call notImplemented().
120 * WebCoreSupport/InspectorClientGtk.h:
122 2008-08-10 Alp Toker <alp@nuanti.com>
124 Remove leftover qmake/GTK+ build files.
126 * webkit/headers.pri: Removed.
128 2008-08-02 Christian Dywan <christian@twotoasts.de>
130 Reviewed by Eric Seidel.
132 Remove webkit-marshal.list, which was made obsolete in #19742
134 * webkit/webkit-marshal.list: Removed.
136 2008-08-01 Wouter Bolsterlee <uws@xs4all.nl>
138 Reviewed by Eric Seidel.
140 https://bugs.webkit.org/show_bug.cgi?id=20035
141 [GTK] Fix return value for webkit_web_view_go_to_back_forward_item()
143 * webkit/webkitwebview.cpp:
145 2008-07-30 Marco Barisione <marco.barisione@collabora.co.uk>
149 http://bugs.webkit.org/show_bug.cgi?id=19742
150 [GTK] Auto generate webkitmarshal.list
152 Auto generate webkitmarshal.list from source files to reduce the
153 number of conflicts when merging git branches or when applying
155 Also rename webkit-marshal.* to webkitmarshal.* for consistency.
157 * webkit/webkitwebframe.cpp: Include webkitmarshal.h instead of
159 * webkit/webkitwebview.cpp: Ditto.
161 2008-07-30 Gustavo Noronha Silva <gns@gnome.org>
165 https://bugs.webkit.org/show_bug.cgi?id=20205
166 Typo in comment for bracer ending block
168 * webkit/webkitprivate.cpp: Typo fix in comment for the brace
169 that ends the WebKit namespace; WebCore -> WebKit
171 2008-07-26 Mark Rowe <mrowe@apple.com>
173 Build fix. Changes to accommodate newly named/signatured loading methods in WebCore.
175 * WebCoreSupport/FrameLoaderClientGtk.cpp:
176 (WebKit::FrameLoaderClient::createFrame):
178 2008-07-17 Christian Dywan <christian@twotoasts.de>
180 Reviewed by Holger Freyther.
182 https://bugs.webkit.org/show_bug.cgi?id=19813
183 [GTK] WebKit crashes on invalid settings notify callback
185 * webkit/webkitwebview.cpp: Disconnect in webkit_web_view_finalize
187 2008-07-08 Jan Michael Alonzo <jmalonzo@webkit.org>
189 Reviewed by Christian Dywan.
191 Replace 'const' with G_CONST_RETURN macro to make it flexible to
194 * webkit/webkitnetworkrequest.cpp:
195 * webkit/webkitnetworkrequest.h:
196 * webkit/webkitwebframe.cpp:
197 * webkit/webkitwebframe.h:
198 * webkit/webkitwebhistoryitem.cpp:
199 * webkit/webkitwebhistoryitem.h:
201 2008-06-18 Marco Barisione <marco.barisione@collabora.co.uk>
203 Reviewed by Alp Toker.
205 https://bugs.webkit.org/show_bug.cgi?id=19171
206 [GTK] GTypes for enumerations
208 Generate GTypes for public enumerations so they can be used as
211 * GNUmakefile.am: Generate webkit-enum-types.cpp and
214 2008-06-17 Christian Dywan <christian@twotoasts.de>
218 [GTK] WebKitWebHistoryItem needs properties
219 https://bugs.webkit.org/show_bug.cgi?id=19558
221 Implement properties matching the existing accessors.
223 * webkit/webkitwebhistoryitem.cpp:
224 (_WebKitWebHistoryItemPrivate::):
225 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
226 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_property):
227 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_property):
228 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
230 2008-06-15 Darin Adler <darin@apple.com>
232 - give Frame object functions shorter names: scriptProxy() -> script(),
233 selectionController() -> selection(), animationController() -> animation()
235 * WebCoreSupport/EditorClientGtk.cpp:
236 (WebKit::EditorClient::handleKeyboardEvent):
237 * WebCoreSupport/FrameLoaderClientGtk.cpp:
238 (WebKit::FrameLoaderClient::windowObjectCleared):
239 * webkit/webkitwebframe.cpp:
240 * webkit/webkitwebview.cpp:
242 2008-06-15 Darin Adler <darin@apple.com>
244 - undo bogus renaming done by the script
246 * WebCoreSupport/ContextMenuClientGtk.cpp:
247 * webkit/webkitnetworkrequest.h:
248 * webkit/webkitwebbackforwardlist.h:
249 * webkit/webkitwebframe.h:
250 * webkit/webkitwebhistoryitem.h:
251 * webkit/webkitwebsettings.h:
253 2008-06-15 Darin Adler <darin@apple.com>
255 - new names for a few key JavaScriptCore files
257 * WebCoreSupport/ContextMenuClientGtk.cpp:
258 * webkit/webkitnetworkrequest.h:
259 * webkit/webkitwebbackforwardlist.h:
260 * webkit/webkitwebframe.h:
261 * webkit/webkitwebhistoryitem.h:
262 * webkit/webkitwebsettings.h:
264 2008-06-15 Christian Dywan <christian@twotoasts.de>
266 Reviewed by Alp Toker.
268 [GTK] Property setters do not call g_object_notify()
269 https://bugs.webkit.org/show_bug.cgi?id=18405
271 * webkit/webkitwebview.cpp:
273 2008-06-15 Christian Dywan <christian@twotoasts.de>
275 Reviewed by Alp Toker.
277 Tiny documentation fix, s/capacity/limit
279 * webkit/webkitwebbackforwardlist.cpp:
281 2008-06-14 Darin Adler <darin@apple.com>
283 Rubber stamped by Sam.
285 - new names for kjs_binding.h and kjs_proxy.h
287 * WebCoreSupport/FrameLoaderClientGtk.cpp:
288 * webkit/webkitwebframe.cpp:
290 2008-06-14 Darin Adler <darin@apple.com>
294 * webkit/webkitwebframe.cpp: Remove a bogus release() call.
296 2008-06-14 Darin Adler <darin@apple.com>
300 - more https://bugs.webkit.org/show_bug.cgi?id=17257
301 start ref counts at 1 instead of 0 for speed
303 * WebCoreSupport/FrameLoaderClientGtk.cpp:
304 (WebKit::FrameLoaderClient::createDocumentLoader): Use create instead of new.
305 * webkit/webkitwebframe.cpp:
306 (webkit_web_frame_new): Ditto.
307 (webkit_web_frame_init_with_web_view): Ditto.
309 2008-06-13 Darin Adler <darin@apple.com>
313 * WebCoreSupport/FrameLoaderClientGtk.h: Add missing argument.
315 2008-06-13 Darin Adler <darin@apple.com>
317 Reviewed by John Sullivan.
319 - updated for addition of FormState argument to action policy functions
321 * WebCoreSupport/FrameLoaderClientGtk.cpp:
322 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
323 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
325 2008-06-10 Christian Dywan <christian@twotoasts.de>
327 Reviewed by Alp Toker and Darin Adler.
329 https://bugs.webkit.org/show_bug.cgi?id=16676
330 Apply GTK coding style to WebKit Gtk public headers
332 * webkit/webkitnetworkrequest.h:
333 * webkit/webkitwebbackforwardlist.h:
334 * webkit/webkitwebframe.h:
335 * webkit/webkitwebhistoryitem.h:
336 * webkit/webkitwebsettings.h:
337 * webkit/webkitwebview.h:
339 2008-06-07 Jan Michael Alonzo <jmalonzo@webkit.org>
341 Confirmed by Christian Dywan.
343 Gtk build fix for r34432
345 * webkit/webkitwebhistoryitem.cpp:
346 (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
347 (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
348 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
349 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
350 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
351 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
354 2008-06-07 Darin Adler <darin@apple.com>
356 - try to fix build after HistoryItem changes
358 * webkit/webkitwebhistoryitem.cpp:
359 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new): Use HistoryItem::create.
360 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data): Ditto. I also
361 believe this fixes a memory leak in the old version.
363 2008-06-07 Christian Dywan <christian@twotoasts.de>
365 Reviewed by Alp Toker.
367 https://bugs.webkit.org/show_bug.cgi?id=17324
368 Remove PLATFORM ifdefs from ContextMenu.cpp
370 * WebCoreSupport/ContextMenuClientGtk.cpp:
371 (WebKit::ContextMenuClient::ContextMenuClient):
372 (WebKit::ContextMenuClient::contextMenuDestroyed):
373 (WebKit::inputMethodsMenuItem):
375 (WebKit::insertControlCharacter):
376 (WebKit::unicodeMenuItem):
377 (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
378 * WebCoreSupport/ContextMenuClientGtk.h:
379 * webkit/webkitwebview.cpp:
381 2008-06-05 Alp Toker <alp@nuanti.com>
383 Add 'Since' documentation for API versioning functions.
385 * webkit/webkitversion.cpp:
387 2008-06-05 Christian Dywan <christian@twotoasts.de>
389 Reviewed by Alp Toker.
391 https://bugs.webkit.org/show_bug.cgi?id=14141
392 Please add a version to the Gtk port
395 * webkit/webkitversion.cpp: Added.
396 * webkit/webkitversion.h.in: Added.
397 * webkit/webkitwebsettings.cpp:
398 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
399 * webkit/webkitwebview.cpp:
401 2008-06-01 Alp Toker <alp@nuanti.com>
403 Suggested by Christian Dywan.
405 Use float literals for zoom values and improve documentation wording.
407 * webkit/webkitwebsettings.cpp:
408 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
409 * webkit/webkitwebview.cpp:
411 2008-06-01 Alp Toker <alp@nuanti.com>
415 Remove webkit_web_view_go_backward(),
416 webkit_web_view_can_go_backward(). These have been obsoleted by
417 the back() versions for quite a while.
419 * webkit/webkitwebview.cpp:
420 * webkit/webkitwebview.h:
422 2008-05-31 Alp Toker <alp@nuanti.com>
424 Fix inconsistent zoom docs and enum name landed in r34249. Issue
425 noticed by Marco Barisione.
427 * webkit/webkitwebview.cpp:
429 2008-05-30 Carlos MartÃn Nieto <carlos@cmartin.tk>
431 Reviewed by Alp Toker.
433 http://bugs.webkit.org/show_bug.cgi?id=18383
434 [GTK] The "hovering-over-link" signal arguments aren't documented.
436 * webkit/webkitwebview.cpp:
438 2008-05-29 Marco Barisione <marco@collabora.co.uk>
440 Reviewed (and tweaked) by Alp Toker.
442 http://bugs.webkit.org/show_bug.cgi?id=18281
443 [GTK] add functions to set/get the zoom level
445 * webkit/webkitwebsettings.cpp:
446 (_WebKitWebSettingsPrivate::):
447 (_WebKitWebSettingsPrivate::webkit_web_settings_class_init):
448 (_WebKitWebSettingsPrivate::webkit_web_settings_set_property):
449 (_WebKitWebSettingsPrivate::webkit_web_settings_get_property):
450 * webkit/webkitwebview.cpp: Add functions to get and set the zoom
452 * webkit/webkitwebview.h: Ditto.
453 * webkit/webkitprivate.h:
455 2008-05-28 Alp Toker <alp@nuanti.com>
457 Reviewed by Alexey Proskuryakov.
459 http://bugs.webkit.org/show_bug.cgi?id=18704
460 [gtk] cannot type letters with dead keys in textarea
462 http://bugs.webkit.org/show_bug.cgi?id=14120
463 [GDK] Support input methods
465 Add support for input method composition.
467 Remove some old hacks so we handle input method events more
470 * WebCoreSupport/EditorClientGtk.cpp:
471 (WebKit::imContextCommitted):
472 (WebKit::imContextPreeditChanged):
473 (WebKit::EditorClient::setInputMethodState):
474 (WebKit::EditorClient::respondToChangedSelection):
475 (WebKit::EditorClient::handleInputMethodKeydown):
476 (WebKit::EditorClient::EditorClient):
477 (WebKit::EditorClient::~EditorClient):
478 (WebKit::EditorClient::textFieldDidBeginEditing):
479 (WebKit::EditorClient::textFieldDidEndEditing):
480 (WebKit::EditorClient::textDidChangeInTextField):
481 (WebKit::EditorClient::doTextFieldCommandFromEvent):
482 * webkit/webkitwebview.cpp:
484 2008-05-25 Alp Toker <alp@nuanti.com>
488 Drop WebView focus when the widget is focused out.
490 * webkit/webkitwebview.cpp:
492 2008-05-25 Sriram Neelakandan <sriram.neelakandan@gmail.com>
494 Reviewed by Alp Toker.
496 http://bugs.webkit.org/show_bug.cgi?id=18935
497 [Gtk] Plugin Load crashes with NP_FULL mode
499 Fix crash due to uninitialized variable.
501 * WebCoreSupport/FrameLoaderClientGtk.cpp:
502 (WebKit::FrameLoaderClient::FrameLoaderClient):
504 2008-05-24 Alp Toker <alp@nuanti.com>
506 https://bugs.webkit.org/show_bug.cgi?id=18825
507 webkitgtk fails to build from source: "Database Tracker" has not been declared
509 GTK+ fix for building without database support.
510 exceededDatabaseQuota() still needs to be present, just a no-op.
512 * WebCoreSupport/ChromeClientGtk.cpp:
513 (WebKit::ChromeClient::exceededDatabaseQuota):
515 2008-05-23 Alp Toker <alp@nuanti.com>
517 GTK+ fixes for building without database support.
519 * WebCoreSupport/ChromeClientGtk.cpp:
521 2008-05-19 Alp Toker <alp@nuanti.com>
523 Reviewed by Anders and Beth.
525 http://bugs.webkit.org/show_bug.cgi?id=16495
526 [GTK] Accessibility support with ATK/AT-SPI
528 Initial ATK/AT-SPI accessibility support for the GTK+ port.
530 * webkit/webkitwebview.cpp:
532 2008-05-06 Christian Dywan <christian@twotoasts.de>
534 Rubber stamped by Alp.
536 Back out 17626. It wasn't ready for commit.
538 * webkit/webkitprivate.h:
539 * webkit/webkitwebview.cpp:
540 * webkit/webkitwebview.h:
542 2008-05-01 Marc Ordinas i Llopis <marc.ordinasillopis@collabora.co.uk>
544 Reviewed by Alp Toker.
546 https://bugs.webkit.org/show_bug.cgi?id=14750
547 Added support for NPAPI plugins on Gtk and Qt-x11 ports.
549 * WebCoreSupport/FrameLoaderClientGtk.cpp:
550 (WebKit::FrameLoaderClient::FrameLoaderClient):
551 (WebKit::FrameLoaderClient::committedLoad):
552 (WebKit::FrameLoaderClient::createPlugin):
553 (WebKit::FrameLoaderClient::redirectDataToPlugin):
554 (WebKit::FrameLoaderClient::finishedLoading):
555 (WebKit::FrameLoaderClient::setMainDocumentError):
556 * WebCoreSupport/FrameLoaderClientGtk.h:
558 2008-04-30 Sean Egan <seanegan@gmail.com>
560 Reviewed and modified by Holger.
562 https://bugs.webkit.org/show_bug.cgi?id=17626
563 Support setting background color and a 16-bit alpha channel.
565 * webkit/webkitprivate.h:
566 * webkit/webkitwebview.cpp:
567 * webkit/webkitwebview.h:
569 2008-04-24 Dan Bernstein <mitz@apple.com>
573 * webkit/webkitwebview.cpp:
575 2008-04-24 Anders Carlsson <andersca@apple.com>
579 Change some String arguments to be const references instead.
581 * WebCoreSupport/EditorClientGtk.cpp:
582 (WebKit::EditorClient::shouldInsertText):
583 * WebCoreSupport/EditorClientGtk.h:
585 2008-04-23 Christian Dywan <christian@twotoasts.de>
587 Reviewed by Alp Toker.
589 Emit a warning about an unknown setting only if it is
590 not a valid property. Otherwise applications can't
591 subclass WebKitWebSettings to add new properties.
593 * webkit/webkitwebview.cpp:
595 2008-04-20 Simon Hausmann <hausmann@webkit.org>
597 Reviewed by Alp Toker.
599 http://bugs.webkit.org/show_bug.cgi?id=18578
600 Share the printing code between the Gtk and the Qt port
602 Share the printing code between the Gtk and the Qt port
603 and added printing to the Qt WebKit API.
605 * webkit/webkitwebframe.cpp: Removed PrintContext in favour of
606 page/Printcontext.cpp/h
608 2008-04-19 Alp Toker <alp@nuanti.com>
612 Enable visited link tracking by default at startup.
614 With this patch, the GTK+ port rendering of Acid3 now matches the
617 * webkit/webkitprivate.cpp:
621 2008-04-11 Mark Rowe <mrowe@apple.com>
623 Gtk build fix after r32231.
625 * webkit/webkitwebview.cpp: Update to use contentRenderer.
627 2008-04-18 Alp Toker <alp@atoker.com>
629 Rubber-stamped by Holger Freyther.
631 http://bugs.webkit.org/show_bug.cgi?id=18218
632 [Gtk] segfault when clicking on a disabled button
634 Always use the main frame for mouse events (not the focused frame)
635 since it knows best how to get the event through to the right target.
637 This also fixes a null crasher.
639 * webkit/webkitwebview.cpp:
641 2008-04-17 Alp Toker <alp@atoker.com>
643 Rubber-stamped by Holger Freyther.
645 Reduce hard-coded page-cache count to 3 based on research done for the
646 Mac port on value / page.
648 We will need to make this more dynamic or configurable at some point
649 but for now it's best to keep closer to the behaviour before page
652 Issue spotted by Mark Rowe.
654 * webkit/webkitprivate.cpp:
657 2008-04-17 Daniele Metilli <daniele.metilli@gmail.com>
661 Fixed a typo in the copyright header.
663 * webkit/webkitprivate.h:
665 2008-04-14 Holger Freyther <zecke@selfish.org>
667 Reviewed by Alp Toker.
669 https://bugs.webkit.org/show_bug.cgi?id=18411
670 Enable Page caching and create FrameViews on the fly
672 Create the FrameView on the fly and cache pages
674 - Keep a copy of the GtkAdjustment to be able to reuse it for the
676 - Do not initially create a FrameView and update the WebKit code to
677 cope with not having a view.
678 - Cache seven pages by default.
680 * WebCoreSupport/FrameLoaderClientGtk.cpp:
681 (WebKit::FrameLoaderClient::createFrame):
682 (WebKit::FrameLoaderClient::canCachePage):
683 (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
684 (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
685 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
686 * webkit/webkitprivate.cpp:
688 * webkit/webkitprivate.h:
689 * webkit/webkitwebframe.cpp:
690 * webkit/webkitwebview.cpp:
692 2008-04-10 Mario Bensi <mbensi@pleyo.com>
694 Reviewed by Alp Toker.
696 https://bugs.webkit.org/show_bug.cgi?id=18400
697 Database example doesn't work on Gtk port
699 Fix quota in ChromeClient
701 * WebCoreSupport/ChromeClientGtk.cpp:
702 (WebKit::ChromeClient::exceededDatabaseQuota):
704 2008-04-08 Adam Roben <aroben@apple.com>
706 Move callOnMainThread to WTF
708 Reviewed by Alexey Proskuryakov.
710 * webkit/webkitprivate.cpp: Updated #include.
711 (webkit_init): Changed to call KJS::initializeThreading.
713 2008-04-06 Luca Bruno <lethalman88@gmail.com>
715 Reviewed by Alp Toker.
717 Fix webkit_web_view_get_transparent() return value.
719 * webkit/webkitwebview.cpp:
721 2008-03-31 Jasper Bryant-Greene <jasper@unix.geek.nz>
723 Reviewed by Darin Adler.
725 Resolves http://bugs.webkit.org/show_bug.cgi?id=18010
726 "WebKitNetworkRequestPrivate is defined in two places unnecessarily"
728 Removed unnecessary definition of WebKitNetworkRequestPrivate in
731 * webkit/webkitprivate.h:
733 2008-03-25 Brady Eidson <beidson@apple.com>
737 Remove newly obsolete FrameLoaderClient methods
739 * WebCoreSupport/FrameLoaderClientGtk.cpp:
740 * WebCoreSupport/FrameLoaderClientGtk.h:
742 2008-03-20 Alp Toker <alp@atoker.com>
744 GTK+ build fix. Back out r31183. This patch also introduced API style
747 * WebCoreSupport/FrameLoaderClientGtk.cpp:
748 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
749 * webkit/headers.pri:
750 * webkit/webkit-marshal.list:
751 * webkit/webkitdefines.h:
752 * webkit/webkitnavigationaction.cpp: Removed.
753 * webkit/webkitnavigationaction.h: Removed.
754 * webkit/webkitprivate.cpp:
755 * webkit/webkitprivate.h:
756 * webkit/webkitwebview.cpp:
757 * webkit/webkitwebview.h:
759 2008-03-20 Jasper Bryant-Greene <jasper@unix.geek.nz>
761 Reviewed and tweaked by Anders.
763 Resolves http://bugs.webkit.org/show_bug.cgi?id=16092
764 "[GTK] Middle-mouse click should allow opening a URL in a new tab"
766 Created WebKitNavigationAction object exported through the API. The
767 navigation-requested signal provides this object as context for the
768 requested navigation, allowing the application to decide what to do
769 with the navigation based on which mouse button was used, which
770 modifier keys were held down, etc. This allows, for example, the
771 application to open links in a new tab when either middle-click or
772 control-click are used to initiate the navigation.
774 * WebCoreSupport/FrameLoaderClientGtk.cpp:
775 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
776 * webkit/headers.pri:
777 * webkit/webkit-marshal.list:
778 * webkit/webkitdefines.h:
779 * webkit/webkitnavigationaction.cpp: Added.
780 (webkit_navigation_action_finalize):
781 (webkit_navigation_action_class_init):
782 (webkit_navigation_action_init):
783 (webkit_navigation_action_get_button):
784 (webkit_navigation_action_get_modifier_flags):
785 (webkit_navigation_action_get_navigation_type):
786 (webkit_navigation_action_get_original_url):
787 * webkit/webkitnavigationaction.h: Added.
788 * webkit/webkitprivate.cpp:
790 * webkit/webkitprivate.h:
791 * webkit/webkitwebview.cpp:
792 * webkit/webkitwebview.h:
794 2008-03-18 Rodney Dawes <dobey@wayofthemonkey.com>
796 Reviewed and landed by jhoneycutt.
798 Update to check if the MIME type is supported by a plugin.
800 * WebCoreSupport/FrameLoaderClientGtk.cpp:
801 (FrameLoaderClient::objectContentType):
803 2008-03-18 Rodney Dawes <dobey@wayofthemonkey.com>
805 Reviewed by Jon Honeycutt.
807 Update setContainingWindow() calls to pass a GtkWidget.
809 * webkit/webkitwebframe.cpp:
810 (webkit_web_frame_new):
811 (webkit_web_frame_init_with_web_view):
813 2008-03-13 Rodney Dawes <dobey@wayofthemonkey.com>
815 Fix GTK+ build for SharedBuffer changes.
817 * webkit/webkitwebview.cpp:
818 (webkit_web_view_load_string):
820 2008-03-12 Tommi Komulainen <tommi.komulainen@iki.fi>
822 Reviewed by Alp Toker.
824 http://bugs.webkit.org/show_bug.cgi?id=17799
825 WebView signals should use more specific types
827 * webkit/webkitwebview.cpp: Use WEBKIT_TYPE_WEB_FRAME argument
828 type in "script-alert", "script-confirm", "script-script-prompt"
829 signals so that it gets more clearly documented rather than just
832 2008-03-10 Xan Lopez <xan@gnome.org>
834 Reviewed by Alp Toker.
836 Fix "missing braces" compiler warning.
838 * webkit/webkitwebview.cpp:
840 2008-03-04 Sam Weinig <sam@webkit.org>
842 Reviewed by Mark Rowe.
844 - Remove all unnecessary includes of JSDOMWindowBase.h, we prefer including
847 * WebCoreSupport/FrameLoaderClientGtk.cpp:
848 * webkit/webkitwebframe.cpp:
850 2008-03-03 Sam Weinig <sam@webkit.org>
854 * WebCoreSupport/FrameLoaderClientGtk.cpp:
855 (WebKit::FrameLoaderClient::windowObjectCleared):
857 2008-03-03 Alp Toker <alp@atoker.com>
859 Fix the GTK+ build following breakage introduced in r30712.
861 * WebCoreSupport/EditorClientGtk.cpp:
862 (WebKit::imContextCommitted):
864 2008-03-02 Alp Toker <alp@atoker.com>
866 Reviewed by Mark Rowe.
868 Split the WebKit GTK+ build out of the WebCore build and change the
869 shared object name to match the package name.
873 2008-02-27 Adam Roben <aroben@apple.com>
875 Attempt to fix the GTK+ build
877 * webkit/webkitwebframe.cpp:
879 2008-02-24 Darin Adler <darin@apple.com>
883 - remove separate client calls for "standard" and "reload' history
885 * WebCoreSupport/FrameLoaderClientGtk.cpp:
886 (WebKit::FrameLoaderClient::updateGlobalHistory):
887 * WebCoreSupport/FrameLoaderClientGtk.h:
889 2008-02-23 Alexey Proskuryakov <ap@webkit.org>
893 * webkit/webkitprivate.cpp:
894 (webkit_init): Renamed initializeThreading to initializeThreadingAndMainThread.
896 2008-02-18 Alp Toker <alp@atoker.com>
898 Reviewed by Mark Rowe.
900 http://bugs.webkit.org/show_bug.cgi?id=17312
901 [GTK] Webview Transparent Background
903 Add support for WebView background transparency.
905 * webkit/webkitprivate.h:
906 * webkit/webkitwebview.cpp:
907 * webkit/webkitwebview.h:
909 2008-02-18 Alp Toker <alp@atoker.com>
911 Reviewed by Mark Rowe.
913 Implement webkit_web_view_get_focused_frame()
915 Equivalent to selectedFrame in the Mac API.
917 * webkit/webkitwebview.cpp:
918 * webkit/webkitwebview.h:
920 2008-02-17 Jan Michael Alonzo <jmalonzo@unpluggable.com>
922 Reviewed by Mark Rowe.
924 Fix a crash introduced in changeset #29985 by moving the dereference to after
927 * webkit/webkitwebhistoryitem.cpp:
928 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
930 2008-02-15 Alp Toker <alp@atoker.com>
932 Fix the GTK+ build following breakage introduced in r30243.
934 * WebCoreSupport/ChromeClientGtk.cpp:
935 (WebKit::ChromeClient::mouseDidMoveOverElement):
936 * WebCoreSupport/FrameLoaderClientGtk.cpp:
937 (WebKit::FrameLoaderClient::objectContentType):
939 2008-02-15 Darin Adler <darin@apple.com>
941 - another try at fixing the build
943 * webkit/webkitwebview.cpp: Added some explicit conversions to KURL.
945 2008-02-14 Darin Adler <darin@apple.com>
947 * webkit/webkitwebframe.cpp: Removed DeprecatedString use to try to keep it building.
948 * webkit/webkitwebview.cpp: Ditto.
950 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
954 * Make the handling of the coreFrame consistent. We construct the coreFrame
955 at the beginning and it will live until the end. Change the g_return_(val_)if
956 to ASSERTs as having a 0 coreFrame can never happen.
958 * webkit/webkitwebframe.cpp:
959 (PrintContext::webkit_web_frame_print):
961 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
965 * Make sure that the WebCore::Frame is living as long as the WebKitWebFrame
966 wrapped around it. All current calls to WebCore::Frame from within the
967 WebKitWebFrame are safe, even in the case where the WebCore::Frame is already
968 detached from the WebCore::Page.
969 * For the mainFrame the WebKitWebView is holding the initial reference and
970 will unref on destruction.
971 * For sub-frames the FramerLoaderClientGtk.cpp will do the unrefing when the
972 frame gets detached from the parent.
973 * Make sure FrameLoader::detachFromParent gets called by calling FrameLoader::detachChildren
975 * WebCoreSupport/FrameLoaderClientGtk.cpp:
976 (WebKit::FrameLoaderClient::detachedFromParent4):
977 * webkit/webkitprivate.cpp:
979 * webkit/webkitprivate.h:
980 * webkit/webkitwebframe.cpp:
981 * webkit/webkitwebview.cpp:
983 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
987 WebCore::Frame is RefCounted, do not manually delete it!
989 * webkit/webkitwebframe.cpp:
991 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
997 * webkit/webkitwebframe.cpp:
999 2008-02-14 Holger Hans Peter Freyther <zecke@selfish.org>
1003 * Update the Copyright Information
1005 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1006 * webkit/webkitprivate.h:
1007 * webkit/webkitwebframe.cpp:
1009 2008-02-13 Alp Toker <alp@atoker.com>
1011 Reviewed by Adam Roben.
1013 Fix very small, upside down, inside out text on GTK+/DirectFB.
1015 Based on an initial patch by Sriram Neelakandan <sriram.neelakandan@gmail.com>
1017 Test the result of gdk_screen_get_resolution() and use a default
1018 fallback in case of failure.
1020 Also remove an unhelpful runtime warning.
1022 * webkit/webkitwebview.cpp:
1024 2008-02-08 Pierre-Luc Beaudoin <pierre-luc.beaudoin@collabora.co.uk>
1026 Reviewed by Alp Toker.
1028 http://bugs.webkit.org/show_bug.cgi?id=17009
1029 [Gtk] Webkit strips accents from some dead-key combinations
1031 KeyEvents have to go through the gtk input method.
1033 * WebCoreSupport/EditorClientGtk.cpp:
1034 (WebKit::imContextCommitted):
1035 (WebKit::EditorClient::doTextFieldCommandFromEvent):
1037 2008-02-05 Mark Rowe <mrowe@apple.com>
1039 Reviewed by Alp Toker.
1041 Fix warnings seen on the Gtk port by declaring variables and using constants of the correct types.
1043 * webkit/webkitwebbackforwardlist.cpp:
1044 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
1045 * webkit/webkitwebhistoryitem.cpp:
1046 * webkit/webkitwebview.cpp:
1048 2008-02-04 Christian Dywan <christian@imendio.com>
1050 Reviewed by Alp Toker.
1052 http://bugs.webkit.org/show_bug.cgi?id=17065
1053 [GTK] Use a consistent coding style
1055 * WebCoreSupport/EditorClientGtk.cpp:
1056 (WebKit::imContextCommitted):
1057 (WebKit::EditorClient::EditorClient):
1058 (WebKit::EditorClient::~EditorClient):
1059 (WebKit::EditorClient::textFieldDidEndEditing):
1060 * webkit/webkitdefines.h:
1061 * webkit/webkitnetworkrequest.cpp:
1062 (_WebKitNetworkRequestPrivate::webkit_network_request_finalize):
1063 (_WebKitNetworkRequestPrivate::webkit_network_request_class_init):
1064 (_WebKitNetworkRequestPrivate::webkit_network_request_init):
1065 (_WebKitNetworkRequestPrivate::webkit_network_request_new):
1066 (_WebKitNetworkRequestPrivate::webkit_network_request_set_uri):
1067 (_WebKitNetworkRequestPrivate::webkit_network_request_get_uri):
1068 * webkit/webkitnetworkrequest.h:
1069 * webkit/webkitprivate.cpp:
1070 (WebKit::getViewFromFrame):
1072 * webkit/webkitprivate.h:
1073 * webkit/webkitwebbackforwardlist.cpp:
1074 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_new_with_web_view):
1075 * webkit/webkitwebbackforwardlist.h:
1076 * webkit/webkitwebframe.cpp:
1077 * webkit/webkitwebframe.h:
1078 * webkit/webkitwebhistoryitem.cpp:
1079 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
1080 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
1081 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
1082 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
1083 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
1084 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
1085 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
1086 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
1087 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
1088 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
1090 * webkit/webkitwebhistoryitem.h:
1091 * webkit/webkitwebsettings.h:
1092 * webkit/webkitwebview.cpp:
1093 * webkit/webkitwebview.h:
1095 2008-02-04 Alp Toker <alp@atoker.com>
1097 Rubber-stamped by Mark Rowe.
1099 Remove all trailing whitespace in the GTK+ port and related
1102 * WebCoreSupport/DragClientGtk.h:
1103 * WebCoreSupport/FrameLoaderClientGtk.h:
1104 * WebCoreSupport/InspectorClientGtk.h:
1105 * WebCoreSupport/PasteboardHelperGtk.h:
1106 * webkit/webkitprivate.h:
1107 * webkit/webkitwebbackforwardlist.cpp:
1108 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
1109 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
1110 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_item):
1111 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_length):
1112 * webkit/webkitwebhistoryitem.cpp:
1113 (_WebKitWebHistoryItemPrivate::webkit_history_items):
1114 (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
1115 (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
1116 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
1117 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
1118 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
1119 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
1120 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
1121 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
1122 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_last_visited_time):
1124 * webkit/webkitwebhistoryitem.h:
1125 * webkit/webkitwebview.cpp:
1126 * webkit/webkitwebview.h:
1128 2008-02-03 Christian Dywan <christian@imendio.com>
1130 Reviewed by Alp Toker.
1132 http://bugs.webkit.org/show_bug.cgi?id=17046
1133 [GTK] Context menu fixes and customisation suport
1135 * webkit/webkitwebview.cpp:
1137 2008-01-31 Alp Toker <alp@atoker.com>
1139 Reviewed by Mark Rowe.
1141 Fix the pkg-config file to follow GTK+ package naming and versioning
1144 Remove unneeded dependency listings.
1146 * WebKitGtk.pc.in: Removed.
1147 * webkit.pc.in: Copied from WebKit/gtk/WebKitGtk.pc.in.
1149 2008-01-31 Alp Toker <alp@atoker.com>
1151 Rubber-stamped by Adam Roben.
1153 http://bugs.webkit.org/show_bug.cgi?id=17006
1154 [GTK] Header path should be webkit/webkit.h
1156 Move the GTK+ API sources as needed and update the build systems.
1159 * WebView/headers.pri: Removed.
1160 * WebView/webkit-marshal.list: Removed.
1161 * WebView/webkit.h: Removed.
1162 * WebView/webkitdefines.h: Removed.
1163 * WebView/webkitnetworkrequest.cpp: Removed.
1164 * WebView/webkitnetworkrequest.h: Removed.
1165 * WebView/webkitprivate.cpp: Removed.
1166 * WebView/webkitprivate.h: Removed.
1167 * WebView/webkitwebbackforwardlist.cpp: Removed.
1168 * WebView/webkitwebbackforwardlist.h: Removed.
1169 * WebView/webkitwebframe.cpp: Removed.
1170 * WebView/webkitwebframe.h: Removed.
1171 * WebView/webkitwebhistoryitem.cpp: Removed.
1172 * WebView/webkitwebhistoryitem.h: Removed.
1173 * WebView/webkitwebsettings.cpp: Removed.
1174 * WebView/webkitwebsettings.h: Removed.
1175 * WebView/webkitwebview.cpp: Removed.
1176 * WebView/webkitwebview.h: Removed.
1177 * webkit: Copied from WebKit/gtk/WebView.
1179 * webkit/webkitnetworkrequest.h:
1180 * webkit/webkitprivate.h:
1181 * webkit/webkitwebbackforwardlist.h:
1182 * webkit/webkitwebframe.h:
1183 * webkit/webkitwebhistoryitem.h:
1184 * webkit/webkitwebsettings.h:
1185 * webkit/webkitwebview.h:
1187 2008-01-27 Jan Michael Alonzo <jmalonzo@unpluggable.com>
1189 Reviewed by Alp Toker.
1191 http://bugs.webkit.org/show_bug.cgi?id=14811
1192 [gtk] [request] add a webkit_gtk_page_go_to_history_item function
1194 implement back/forward list and history item
1196 * WebView/headers.pri:
1198 * WebView/webkitprivate.cpp:
1199 * WebView/webkitprivate.h:
1200 * WebView/webkitwebbackforwardlist.cpp: Added.
1201 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_dispose):
1202 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_class_init):
1203 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_init):
1204 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_new_with_web_view):
1205 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_forward):
1206 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_back):
1207 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_contains_item):
1208 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_go_to_item):
1209 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_list_with_limit):
1210 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_list_with_limit):
1211 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_item):
1212 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_current_item):
1213 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_item):
1214 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_nth_item):
1215 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_back_length):
1216 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_forward_length):
1217 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_get_limit):
1218 (_WebKitWebBackForwardListPrivate::webkit_web_back_forward_list_set_limit):
1219 * WebView/webkitwebbackforwardlist.h: Added.
1220 * WebView/webkitwebhistoryitem.cpp: Added.
1221 (_WebKitWebHistoryItemPrivate::webkit_history_items):
1222 (_WebKitWebHistoryItemPrivate::webkit_history_item_add):
1223 (_WebKitWebHistoryItemPrivate::webkit_history_item_remove):
1224 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_dispose):
1225 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_finalize):
1226 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_class_init):
1227 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_init):
1228 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_core_item):
1229 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new):
1230 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_new_with_data):
1231 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_title):
1232 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_alternate_title):
1233 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_set_alternate_title):
1234 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_uri):
1235 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_original_uri):
1236 (_WebKitWebHistoryItemPrivate::webkit_web_history_item_get_last_visited_time):
1239 * WebView/webkitwebhistoryitem.h: Added.
1240 * WebView/webkitwebview.cpp:
1241 * WebView/webkitwebview.h:
1243 2008-01-25 Ori Bernstein <ori@eigenstate.org>
1245 Reviewed by Alp Toker.
1247 http://bugs.webkit.org/show_bug.cgi?id=16795
1248 WebKitGtk crashes when there is no focused Frame
1250 Add a null check. focusedFrame() isn't used directly anywhere else so
1251 this is the only case that needs to be fixed.
1253 * WebView/webkitwebview.cpp:
1255 2008-01-22 Christian Dywan <christian@imendio.com>
1257 Reviewed by Alp Toker.
1259 [GTK] API: WebKitWebSettings is not usable
1260 http://bugs.webkit.org/show_bug.cgi?id=16219
1262 Implement WebKitWebSettings.
1264 * WebView/headers.pri:
1266 * WebView/webkitprivate.cpp:
1267 * WebView/webkitprivate.h:
1268 * WebView/webkitsettings.cpp: Removed.
1269 * WebView/webkitsettings.h: Removed.
1270 * WebView/webkitwebsettings.cpp: Added.
1271 * WebView/webkitwebsettings.h: Added.
1272 * WebView/webkitwebview.cpp:
1273 * WebView/webkitwebview.h:
1275 2008-01-21 Alp Toker <alp@atoker.com>
1277 GTK+ build fix for breakage introduced in r29698.
1279 * WebCoreSupport/ChromeClientGtk.h:
1281 2008-01-21 Darin Adler <darin@apple.com>
1283 Reviewed by John Sullivan.
1285 - updated for changes to database functions
1287 * WebCoreSupport/ChromeClientGtk.cpp:
1288 (WebKit::ChromeClient::exceededDatabaseQuota):
1289 * WebCoreSupport/ChromeClientGtk.h:
1290 * WebView/webkitprivate.cpp:
1293 2008-01-20 Alp Toker <alp@atoker.com>
1295 Reviewed by Mark Rowe.
1297 Attach the widget's style to its window and set the background to the
1298 base background to avoid black flicker when repainting. This is
1299 similar to what GtkTextView does.
1301 * WebView/webkitwebview.cpp:
1303 2008-01-19 Christian Dywan <christian@imendio.com>
1305 Reviewed by Alp Toker.
1307 http://bugs.webkit.org/show_bug.cgi?id=16882
1308 [GTK] ChromeClientGtk is incompete
1310 Implement these functions.
1312 * WebCoreSupport/ChromeClientGtk.cpp:
1313 (WebKit::ChromeClient::windowRect):
1314 (WebKit::ChromeClient::pageRect):
1315 (WebKit::ChromeClient::scaleFactor):
1316 (WebKit::ChromeClient::focus):
1317 (WebKit::ChromeClient::unfocus):
1318 (WebKit::ChromeClient::canTakeFocus):
1319 (WebKit::ChromeClient::takeFocus):
1320 (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
1322 2008-01-18 Luca Bruno <lethalman88@gmail.com>
1324 Reviewed by Alp Toker.
1326 http://bugs.webkit.org/show_bug.cgi?id=16910
1327 [GTK] REGRESSION: keyboard cursor doesn't blink
1329 http://bugs.webkit.org/show_bug.cgi?id=16863
1330 [GTK] REGRESSION: tab focusing doesn't work
1332 * WebView/webkitwebview.cpp:
1333 (webkit_web_view_focus_in_event): Added. Set the active frame.
1334 (webkit_web_view_class_init):
1336 2008-01-16 Alp Toker <alp@atoker.com>
1338 Reviewed by Mark Rowe.
1340 http://bugs.webkit.org/show_bug.cgi?id=16218
1341 [GTK] API: Should this entry point be called go_back rather than go_backward?
1343 Obsolete 'backward' terminology in API in favour of 'back'. Introduce
1344 step-based back/forward functions.
1346 Document more functions.
1348 * WebView/webkitdefines.h:
1349 * WebView/webkitwebview.cpp:
1350 * WebView/webkitwebview.h:
1352 2008-01-10 Maciej Stachowiak <mjs@apple.com>
1356 - remove SecurityOriginData and fold its functionality into SecurityOrigin
1358 * WebCoreSupport/ChromeClientGtk.cpp:
1359 (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
1360 (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
1361 * WebCoreSupport/ChromeClientGtk.h:
1363 2008-01-09 Luca Bruno <lethalman88@gmail.com>
1365 Reviewed by Alp Toker.
1367 http://bugs.webkit.org/show_bug.cgi?id=16802
1368 [GTK] Missing gtk properties
1370 Add missing properties to WebKitViewFrame and WebKitWebView.
1372 * WebView/webkitprivate.h: add some useful defines for param specs
1373 * WebView/webkitwebframe.cpp:
1374 (webkit_web_frame_get_property): added
1375 (webkit_web_frame_class_init): add name, title and uri read-only properties
1376 * WebView/webkitwebview.cpp:
1377 (webkit_web_view_get_property): add editable property read
1378 (webkit_web_view_set_property): added for editable property write
1379 (webkit_web_view_class_init): add read-write editable property
1381 2008-01-03 Xan Lopez <xan@gnome.org>
1383 Reviewed by Alp Toker.
1385 http://bugs.webkit.org/show_bug.cgi?id=16654
1386 [GTK] Signal "navigation-requested" does not react correctly on
1387 return TRUE from callbacks
1389 * WebView/webkitwebview.cpp: use our own accumulator for signals
1390 returning WebKitNavigationResponse. The emission will be stopped
1391 when any callback returns anything but
1392 WEBKIT_NAVIGATION_RESPONSE_ACCEPT.
1394 2008-01-02 Holger Hans Peter Freyther <zecke@selfish.org>
1396 Rubber stamped by Darin Adler.
1398 Coding Style fix. Do not use an else because we use a return in the
1401 * WebView/webkitwebview.cpp:
1403 2008-01-02 Luca Bruno <lethalman88@gmail.com>
1405 Reviewed by Alp Toker.
1407 http://bugs.webkit.org/show_bug.cgi?id=16115
1408 [GTK] ContextMenu and ContextMenuItem lacks an implementation
1410 Add context menu support.
1412 Based on a patch by Holger Freyther.
1414 * WebCoreSupport/ContextMenuClientGtk.cpp:
1415 (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
1416 * WebView/webkitprivate.h:
1417 * WebView/webkitwebview.cpp:
1419 2007-12-29 Jan Michael Alonzo <jmalonzo@unpluggable.com>
1421 Reviewed by Alp Toker.
1423 http://bugs.webkit.org/show_bug.cgi?id=16669
1424 autotools update and fixes
1426 pkgconfig file and icon database inclusion fix
1428 * WebKitGtk.pc.in: Remove ICU_FLAGS from Cflags
1429 * WebView/webkitprivate.cpp: Guard ICONDATABASE inclusions
1431 2007-12-28 Christian Dywan <christian@twotoasts.de>
1433 Reviewed by Alp Toker.
1435 http://bugs.webkit.org/show_bug.cgi?id=16642
1436 [GTK] webkit_web_view_has_selection returns the opposite result
1438 Invert the return value.
1440 * WebView/webkitwebview.cpp:
1442 2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
1444 Reviewed by Alp Toker.
1446 http://bugs.webkit.org/show_bug.cgi?id=16390
1447 Use autotools or GNU make as the build system for the GTK port
1449 * WebKitGtk.pc.in: Added.
1451 2007-12-24 Christian Dywan <christian@twotoasts.de>
1453 Reviewed by Alp Toker.
1455 http://bugs.webkit.org/attachment.cgi?id=18099
1456 There are no NULL checks for strings in public api
1458 Add missing NULL checks for string parameters.
1460 Provide sensible defaults when NULL is passed for the optional
1461 parameters in webkit_web_view_load_string(). UTF-8 is the default
1462 encoding used by GLib and text/html is a reasonable default content
1465 * WebView/webkitnetworkrequest.cpp:
1466 * WebView/webkitwebview.cpp:
1468 2007-12-22 Xan Lopez <xan@gnome.org>
1470 Reviewed by Alp Toker.
1472 Use webView, web_view, etc for variable names instead of page, which
1473 was left over from the old API.
1475 * WebCoreSupport/EditorClientGtk.cpp:
1476 (WebKit::imContextCommitted):
1477 (WebKit::EditorClient::EditorClient):
1478 (WebKit::EditorClient::~EditorClient):
1479 (WebKit::EditorClient::textFieldDidBeginEditing):
1480 (WebKit::EditorClient::textFieldDidEndEditing):
1481 * WebCoreSupport/EditorClientGtk.h:
1482 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1483 (WebKit::FrameLoaderClient::postProgressStartedNotification):
1484 (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
1485 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
1486 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1487 (WebKit::FrameLoaderClient::windowObjectCleared):
1488 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
1489 (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
1490 (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
1492 2007-12-22 Alp Toker <alp@atoker.com>
1496 GTK_TARGET_OTHER_APP is not available in older GTK+ versions. Pass
1497 empty target flags for now.
1499 Check GTK+, not GLib versions, since they are different.
1501 * WebView/webkitwebview.cpp:
1503 2007-12-22 Luca Bruno <lethalman88@gmail.com>
1505 Reviewed by Alp Toker.
1507 http://bugs.webkit.org/show_bug.cgi?id=16311
1508 [Gtk] Copy rich text to clipboard as text/plain and text/html.
1510 Add copy and paste targets for WebView and implement
1511 WebCore::PasteboardHelper.
1513 * WebCoreSupport/PasteboardHelperGtk.cpp: Added.
1514 (WebKit::PasteboardHelperGtk::getClipboard):
1515 (WebKit::PasteboardHelperGtk::getCopyTargetList):
1516 (WebKit::PasteboardHelperGtk::getPasteTargetList):
1517 * WebCoreSupport/PasteboardHelperGtk.h: Added.
1518 * WebView/webkitprivate.cpp:
1519 (webkit_init): set the PasteboardHelperGtk as WebCore::Pasteboard helper
1520 * WebView/webkitprivate.h:
1521 (_WebKitWebViewPrivate::copy_target_list): added
1522 (_WebKitWebViewPrivate::paste_target_list): added
1523 * WebView/webkitwebview.cpp:
1524 (webkit_web_view_get_property): added
1525 (webkit_web_view_finalize):
1526 (webkit_web_view_class_init): create properties for COPY_TARGET and PASTE_TARGET and create the copy and paste target lists
1527 (webkit_web_view_get_copy_target_list): added
1528 (webkit_web_view_get_paste_target_list): added
1529 * WebView/webkitwebview.h:
1530 (webkit_web_view_get_copy_target_list): added
1531 (webkit_web_view_get_paste_target_list): added
1533 2007-12-22 Xan Lopez <xan@gnome.org>
1535 Reviewed by Alp Toker.
1537 Follow up to http://bugs.webkit.org/show_bug.cgi?id=16144
1539 * WebView/webkitwebview.cpp:
1540 Fix signal id arguments for g_signal_emit in
1541 clipboard functions.
1543 2007-12-21 Alp Toker <alp@atoker.com>
1545 Documentation typo fix: s/wether/whether
1547 * WebView/webkitwebview.cpp:
1549 2007-12-21 Christian Dywan <christian@twotoasts.de>
1551 Reviewed by Alp Toker.
1553 http://bugs.webkit.org/show_bug.cgi?id=16144
1554 [GTK] Clipboard/ selection handling functions
1556 * WebView/webkitprivate.h:
1557 * WebView/webkitwebview.cpp:
1558 * WebView/webkitwebview.h:
1560 2007-12-19 Christian Dywan <christian@twotoasts.de>
1562 Reviewed by Alp Toker.
1564 http://bugs.webkit.org/show_bug.cgi?id=16222
1565 [GTK] Implement inline search and highlighting of matching strings.
1567 * WebView/webkitwebview.cpp:
1568 * WebView/webkitwebview.h:
1570 2007-12-19 Alp Toker <alp@atoker.com>
1572 Reviewed by Holger Freyther.
1574 Delete when Destroy functions are called to avoid leaks
1576 This matches the Mac port.
1578 * WebCoreSupport/ChromeClientGtk.cpp:
1579 * WebCoreSupport/ContextMenuClientGtk.cpp:
1580 * WebCoreSupport/InspectorClientGtk.cpp:
1582 2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
1584 Reviewed by Alp Toker.
1586 http://bugs.webkit.org/show_bug.cgi?id=16042
1587 [GTK] Eliminate webkit_init()
1589 Move webkit initialization to WebView class init.
1591 * WebView/headers.pri:
1593 * WebView/webkitglobal.cpp: Removed.
1594 * WebView/webkitglobal.h: Removed.
1595 * WebView/webkitprivate.cpp:
1596 (WebKit::webkit_init):
1597 * WebView/webkitprivate.h:
1598 * WebView/webkitwebframe.cpp:
1599 * WebView/webkitwebview.cpp:
1601 2007-12-17 Luca Bruno <lethalman88@gmail.com>
1603 Reviewed by Alp Toker.
1605 http://bugs.webkit.org/show_bug.cgi?id=13542
1606 gdklauncher doesnt change URL in adress GTKEntry.
1608 Let DOMDocument observers do their work before emitting title-changed.
1609 The load-committed signal has been added for both the view and the frame.
1611 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1612 (WebKit::FrameLoaderClient::dispatchDidReceiveTitle): emit title-changed
1613 (WebKit::FrameLoaderClient::setTitle): set private title
1614 (WebKit::FrameLoaderClient::dispatchDidCommitLoad): update the frame uri and emit load-committed
1615 * WebView/webkit-marshal.list:
1616 * WebView/webkitprivate.h:
1617 (_WebKitWebFramePrivate): rename location to uri
1618 * WebView/webkitwebframe.cpp:
1619 (webkit_web_frame_get_location): renamed to *_get_uri
1620 (webkit_web_frame_get_uri):
1621 (webkit_web_frame_real_title_changed): removed (see FrameLoaderClient::setTitle)
1622 (webkit_web_frame_class_init): pass the frame and the title in title-changed, not the uri
1623 (webkit_web_frame_finalize):
1624 * WebView/webkitwebframe.h:
1625 (_WebKitWebFrameClass): removed title_changed
1626 * WebView/webkitwebview.cpp:
1627 (webkit_web_view_class_init): pass only the title in title-changed
1629 2007-12-14 Alp Toker <alp@atoker.com>
1631 Fix inconsistent indentation in the license header. Maciej was right!
1633 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1635 2007-12-14 Alp Toker <alp@atoker.com>
1639 http://bugs.webkit.org/show_bug.cgi?id=16432
1640 [GTK] Update license headers
1642 Consent has been given by the authors of these files to change license
1643 to the LGPL as outlined in the bug report.
1645 * WebCoreSupport/ChromeClientGtk.cpp:
1646 * WebCoreSupport/ContextMenuClientGtk.cpp:
1647 * WebCoreSupport/DragClientGtk.cpp:
1648 * WebCoreSupport/EditorClientGtk.cpp:
1649 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1650 (WebKit::FrameLoaderClient::makeRepresentation):
1651 (WebKit::FrameLoaderClient::forceLayout):
1652 (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
1653 (WebKit::FrameLoaderClient::setCopiesOnScroll):
1654 (WebKit::FrameLoaderClient::detachedFromParent1):
1655 (WebKit::FrameLoaderClient::detachedFromParent2):
1656 (WebKit::FrameLoaderClient::detachedFromParent3):
1657 (WebKit::FrameLoaderClient::detachedFromParent4):
1658 (WebKit::FrameLoaderClient::loadedFromCachedPage):
1659 (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
1660 (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
1661 (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
1662 (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
1663 (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
1664 (WebKit::FrameLoaderClient::dispatchWillClose):
1665 (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
1666 (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
1667 (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
1668 (WebKit::FrameLoaderClient::dispatchShow):
1669 (WebKit::FrameLoaderClient::cancelPolicyCheck):
1670 (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
1671 (WebKit::FrameLoaderClient::revertToProvisionalState):
1672 (WebKit::FrameLoaderClient::clearUnarchivingState):
1673 (WebKit::FrameLoaderClient::willChangeTitle):
1674 (WebKit::FrameLoaderClient::didChangeTitle):
1675 (WebKit::FrameLoaderClient::finalSetupForReplace):
1676 (WebKit::FrameLoaderClient::setDefersLoading):
1677 (WebKit::FrameLoaderClient::isArchiveLoadPending):
1678 (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
1679 (WebKit::FrameLoaderClient::clearArchivedResources):
1680 (WebKit::FrameLoaderClient::canHandleRequest):
1681 (WebKit::FrameLoaderClient::canShowMIMEType):
1682 (WebKit::FrameLoaderClient::representationExistsForURLScheme):
1683 (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
1684 (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
1685 (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
1686 (WebKit::FrameLoaderClient::dispatchDidFailLoading):
1687 (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
1688 (WebKit::FrameLoaderClient::download):
1689 (WebKit::FrameLoaderClient::cancelledError):
1690 (WebKit::FrameLoaderClient::blockedError):
1691 (WebKit::FrameLoaderClient::cannotShowURLError):
1692 (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
1693 (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
1694 (WebKit::FrameLoaderClient::fileDoesNotExistError):
1695 (WebKit::FrameLoaderClient::shouldFallBack):
1696 (WebKit::FrameLoaderClient::willUseArchive):
1697 (WebKit::FrameLoaderClient::canCachePage):
1698 (WebKit::FrameLoaderClient::dispatchCreatePage):
1699 (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
1700 (WebKit::FrameLoaderClient::setMainDocumentError):
1701 (WebKit::FrameLoaderClient::startDownload):
1702 (WebKit::FrameLoaderClient::updateGlobalHistoryForStandardLoad):
1703 (WebKit::FrameLoaderClient::updateGlobalHistoryForReload):
1704 (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
1705 (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
1706 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1707 * WebCoreSupport/InspectorClientGtk.cpp:
1708 * WebView/webkitwebview.cpp:
1710 2007-12-14 Darin Adler <darin@apple.com>
1714 * WebCoreSupport/EditorClientGtk.cpp:
1715 (WebKit::EditorClient::handleKeyboardEvent): Changed to use Editor::command
1716 instead of Editor::execCommand.
1717 * WebView/webkitwebview.cpp: Ditto.
1719 2007-12-12 Brady Eidson <beidson@apple.com>
1721 Reviewed by Sam Weinig
1723 As part of doing some CachedPage and client cleanup, keep GTK building
1725 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1726 (WebKit::FrameLoaderClient::savePlatformDataToCachedPage):
1727 (WebKit::FrameLoaderClient::transitionToCommittedFromCachedPage):
1728 (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1729 * WebCoreSupport/FrameLoaderClientGtk.h:
1731 2007-12-12 Alp Toker <alp@atoker.com>
1733 Reviewed by Holger Freyther.
1735 http://bugs.webkit.org/show_bug.cgi?id=15576
1736 [GTK] Printing support
1738 Add printing support.
1740 The API will be kept internal for the time being, but printing can now
1741 be triggered by Web pages or the JSC API using JavaScript.
1743 The print spooler and pagination code is fairly abstract and could be
1744 shared by other ports including Win and Qt once complete. It doesn't
1745 have header/footer support yet.
1747 * WebCoreSupport/ChromeClientGtk.cpp:
1748 (WebKit::ChromeClient::print):
1749 * WebView/webkitprivate.h:
1750 * WebView/webkitwebframe.cpp:
1751 (PrintContext::begin_print):
1752 (PrintContext::draw_page):
1753 (PrintContext::end_print):
1754 (PrintContext::webkit_web_frame_print):
1756 2007-12-12 Sam Weinig <sam@webkit.org>
1760 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1761 (WebKit::FrameLoaderClient::didChangeTitle):
1763 2007-12-12 Sam Weinig <sam@webkit.org>
1767 * WebCoreSupport/FrameLoaderClientGtk.cpp:
1768 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
1770 2007-12-11 George Wright <george.wright@collabora.co.uk>
1772 Reviewed by Alp Toker.
1774 http://bugs.webkit.org/show_bug.cgi?id=14120
1775 [GDK] Support input methods
1777 This patch adds infrastructure for input method support.
1779 It also adds Hildon features for the Maemo mobile platform sufficient
1780 to support the virtual keyboard.
1782 * WebCoreSupport/EditorClientGtk.cpp:
1783 (WebKit::imContextCommitted):
1784 (WebKit::EditorClient::EditorClient):
1785 (WebKit::EditorClient::~EditorClient):
1786 (WebKit::EditorClient::textFieldDidBeginEditing):
1787 (WebKit::EditorClient::textFieldDidEndEditing):
1788 * WebCoreSupport/EditorClientGtk.h:
1789 * WebView/webkitprivate.h:
1790 * WebView/webkitwebview.cpp:
1792 2007-12-07 Alexey Proskuryakov <ap@webkit.org>
1794 Reviewed by Darin Adler.
1796 <rdar://problem/5535636>
1797 Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
1799 http://bugs.webkit.org/show_bug.cgi?id=13916
1800 JavaScript detects Tab as a character input on a textfield validation
1802 * WebCoreSupport/EditorClientGtk.cpp:
1803 (WebKit::EditorClient::handleKeyboardEvent):
1804 (WebKit::EditorClient::handleInputMethodKeydown):
1805 * WebCoreSupport/EditorClientGtk.h:
1806 Updated for cross-platform changes as much as it was possible without a gtk build environment.
1808 2007-12-08 Luca Bruno <lethalman88@gmail.com>
1810 Reviewed by Alp Toker.
1812 http://bugs.webkit.org/show_bug.cgi?id=16346
1813 [GTK] Some webview parts must use the focused frame.
1815 Also update some old code.
1817 * WebView/webkitprivate.cpp:
1818 (getFrameFromView): removed
1820 * WebView/webkitprivate.h:
1821 (getFrameFromView): removed
1823 * WebView/webkitwebview.cpp:
1824 (webkit_web_view_expose_event):
1825 (webkit_web_view_key_press_event): use focused frame
1826 (webkit_web_view_key_release_event): use focused frame
1827 (webkit_web_view_button_press_event):
1828 (webkit_web_view_button_release_event):
1829 (webkit_web_view_motion_event):
1830 (webkit_web_view_scroll_event):
1831 (webkit_web_view_size_allocate):
1832 (webkit_web_view_set_scroll_adjustments):
1833 (webkit_web_view_execute_script):
1834 (webkit_web_view_stop_loading):
1835 (webkit_web_view_load_string):
1836 (webkit_web_view_reload):
1837 (webkit_web_view_open):
1838 (webkit_web_view_can_go_forward):
1839 (webkit_web_view_can_go_backward):
1840 (webkit_web_view_go_forward):
1841 (webkit_web_view_go_backward):
1843 * WebCoreSupport/EditorClientGtk.cpp:
1844 (WebKit::EditorClient::handleKeypress): fix for page up and page down keys for editable contents
1846 2007-12-07 Luca Bruno <lethalman88@gmail.com>
1848 Reviewed by Alp Toker.
1850 http://bugs.webkit.org/show_bug.cgi?id=16333
1851 [GTK] Key bindings must work with focused frames.
1853 There are still more cases where getFrameFromView() is mis-used that
1854 need to be fixed, but this is a good start.
1856 * WebView/webkitwebview.cpp:
1857 (webkit_web_view_real_select_all):
1858 (webkit_web_view_real_cut_clipboard):
1859 (webkit_web_view_real_copy_clipboard):
1860 (webkit_web_view_real_paste_clipboard):
1862 2007-12-06 Xan Lopez <xan@gnome.org>
1864 Reviewed by Alp Toker.
1866 http://bugs.webkit.org/show_bug.cgi?id=16329
1867 [GTK] Two small cleanups
1869 * WebCoreSupport/ChromeClientGtk.cpp:
1870 (WebKit::ChromeClient::createWindow):
1871 (WebKit::ChromeClient::addMessageToConsole):
1872 (WebKit::ChromeClient::runJavaScriptAlert):
1873 (WebKit::ChromeClient::runJavaScriptConfirm):
1874 (WebKit::ChromeClient::runJavaScriptPrompt):
1875 (WebKit::ChromeClient::setStatusbarText):
1876 (WebKit::ChromeClient::mouseDidMoveOverElement):
1877 (WebKit::ChromeClient::setToolTip):
1878 * WebCoreSupport/ChromeClientGtk.h:
1879 * WebView/webkitprivate.cpp:
1881 s/m_webPage/m_webView/
1882 * WebView/webkitwebview.cpp:
1883 Chain up to the parent class to activate bindings instead
1884 of doing it explicitely.
1886 2007-12-06 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
1888 Reviewed by Alp Toker.
1890 http://bugs.webkit.org/show_bug.cgi?id=16173
1893 Change license from BSD to LGPL.
1895 * WebCoreSupport/ChromeClientGtk.h:
1896 * WebView/webkitdefines.h:
1897 * WebView/webkitglobal.cpp:
1898 * WebView/webkitglobal.h:
1899 * WebView/webkitnetworkrequest.cpp:
1900 * WebView/webkitnetworkrequest.h:
1901 * WebView/webkitprivate.cpp:
1902 * WebView/webkitprivate.h:
1903 * WebView/webkitsettings.cpp:
1904 * WebView/webkitsettings.h:
1905 * WebView/webkitwebframe.cpp:
1906 * WebView/webkitwebframe.h:
1907 * WebView/webkitwebview.h:
1909 2007-12-05 Michael Natterer <mitch@imendio.com>
1911 Reviewed by Alp Toker.
1913 * WebView/webkitwebview.cpp: split key and button event handlers
1914 into separate press and release functions.
1916 2007-12-05 Luca Bruno <lethalman88@gmail.com>
1918 Reviewed by Alp Toker.
1920 Handle events for Home and End keys.
1922 * WebView/webkitwebview.cpp:
1923 (webkit_web_view_key_event):
1924 * WebCoreSupport/EditorClientGtk.cpp:
1925 (EditorClient::handleKeypress):
1927 2007-12-05 Michael Natterer <mitch@imendio.com>
1929 Reviewed by Alp Toker.
1931 * WebView/webkitwebview.cpp
1932 * WebCoreSupport/ChromeClientGtk.cpp
1933 * WebCoreSupport/FrameLoaderClientGtk.cpp: canonicalize signal names.
1935 2007-12-04 Darin Adler <darin@apple.com>
1937 Reviewed by Kevin Decker.
1939 * WebCoreSupport/FrameLoaderClientGtk.cpp: Removed obsolete privateBrowsingEnabled.
1940 * WebCoreSupport/FrameLoaderClientGtk.h: Ditto.
1942 2007-12-04 Michael Natterer <mitch@imendio.com>
1944 Reviewed by Alp Toker.
1946 * WebView/webkitwebframe.cpp: don't redeclare the marshaller
1947 prototype but simply include "webkit-marshal.h" now that its build
1950 2007-12-04 Luca Bruno <lethalman88@gmail.com>
1952 Reviewed by Alp Toker.
1954 Fix a regression in key press propagation in r28386.
1956 Fix indentation (was off by two spaces).
1958 * WebView/webkitwebview.cpp:
1960 2007-12-04 Luca Bruno <lethalman88@gmail.com>
1962 Reviewed by Alp Toker.
1964 http://bugs.webkit.org/show_bug.cgi?id=15911
1965 [GTK] Use GtkBindingSet to make key bindings user-configurable
1967 This patch doesn't cover the full range of bindings, only the ones
1968 that seem obviously correct and have clear public API.
1970 * WebCoreSupport/EditorClientGtk.cpp:
1971 (WebKit::EditorClient::handleKeypress): do not handle clipboard operations and select-all
1972 * WebView/webkitwebview.cpp: add cut, copy, paste and select-all signals and allow binding sets (issue #15911 and #16144)
1973 * WebView/webkitwebview.h:
1975 2007-12-04 Xan Lopez <xan@gnome.org>
1977 Reviewed by Alp Toker.
1979 http://bugs.webkit.org/show_bug.cgi?id=15561
1980 GTK port needs DumpRenderTree implementation
1982 Start work on the GTK+ DRT.
1984 Add a couple of proposed new API entry points. They are currently for
1985 internal use only by DRT and not in the public headers.
1987 * WebView/webkitprivate.h:
1988 * WebView/webkitwebframe.cpp:
1990 2007-12-03 Dan Bernstein <mitz@apple.com>
1992 Reviewed by Dave Hyatt.
1994 - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
1996 * WebView/webkitwebview.cpp: Remove the call to sendResizeEvent() since
1997 FrameView sends it now.
1999 2007-12-03 Alp Toker <alp@atoker.com>
2001 globalObject() GTK+ build fix.
2003 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2004 (WebKit::FrameLoaderClient::windowObjectCleared):
2006 2007-12-03 Geoffrey Garen <ggaren@apple.com>
2008 GTK Build fix: get globalExec from the right place.
2010 * WebView/webkitwebframe.cpp:
2012 2007-12-01 Alp Toker <alp@atoker.com>
2014 Reviewed by Adam Roben.
2016 Wrap type definitions in webkitdefines.h with G_BEGIN_DECLS, which
2017 takes care of extern "C".
2019 Introduce a webkit.h convenience header.
2021 Remove another left-over from the old API.
2023 * WebView/headers.pri:
2024 * WebView/webkit.h: Added.
2025 * WebView/webkitdefines.h:
2027 2007-12-01 Alp Toker <alp@atoker.com>
2029 Reviewed by Adam Roben.
2031 http://bugs.webkit.org/show_bug.cgi?id=15687
2032 [Gtk] Allow API clients to interact with JavaScript in web pages
2034 Include the necessary JavaScriptCore headers directly in the public
2037 This is the last of a series of changes needed to allow GTK+
2038 applications to access the JS API.
2040 Until http://bugs.webkit.org/show_bug.cgi?id=16029 is resolved,
2041 developers will still have to include the individual JS API headers
2042 individually if they want to use it in their applications.
2044 Patch also removes some old legacy use of GDK that was in
2045 WebKitWebFrame. No ABI change.
2047 * WebView/webkitdefines.h:
2048 * WebView/webkitwebframe.h:
2049 * WebView/webkitwebview.h:
2051 2007-11-30 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2053 Fix for GTK+ Debug build breakage introduced in r28273.
2055 * WebView/webkitprivate.cpp:
2058 2007-11-30 Alp Toker <alp@atoker.com>
2060 Reviewed by Adam Roben.
2062 http://bugs.webkit.org/show_bug.cgi?id=15691
2063 [GTK] Public API does not follow GTK+ conventions
2065 Refactor the WebKit/GTK+ public API. Changes:
2066 WebKitPage -> WebKitWebView
2067 WebKitFrame -> WebKitWebFrame
2069 Public API source and header names have been updated to mirror the API
2072 The API is now kept in WebKit/gtk/WebView to match other ports in the
2073 same class such as Mac and Win.
2075 API/ABI-breaking change.
2078 * Api/headers.pri: Removed.
2079 * Api/webkitgtk-marshal.list: Removed.
2080 * Api/webkitgtkdefines.h: Removed.
2081 * Api/webkitgtkframe.cpp: Removed.
2082 * Api/webkitgtkframe.h: Removed.
2083 * Api/webkitgtkglobal.cpp: Removed.
2084 * Api/webkitgtkglobal.h: Removed.
2085 * Api/webkitgtknetworkrequest.cpp: Removed.
2086 * Api/webkitgtknetworkrequest.h: Removed.
2087 * Api/webkitgtkpage.cpp: Removed.
2088 * Api/webkitgtkpage.h: Removed.
2089 * Api/webkitgtkprivate.cpp: Removed.
2090 * Api/webkitgtkprivate.h: Removed.
2091 * Api/webkitgtksettings.cpp: Removed.
2092 * Api/webkitgtksettings.h: Removed.
2093 * WebCoreSupport/ChromeClientGtk.cpp:
2094 (WebKit::ChromeClient::ChromeClient):
2095 (WebKit::ChromeClient::createWindow):
2096 * WebCoreSupport/ChromeClientGtk.h:
2097 (WebKit::ChromeClient::webPage):
2098 * WebCoreSupport/EditorClientGtk.cpp:
2099 (WebKit::EditorClient::isEditable):
2100 (WebKit::EditorClient::EditorClient):
2101 * WebCoreSupport/EditorClientGtk.h:
2102 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2103 (WebKit::FrameLoaderClient::FrameLoaderClient):
2104 (WebKit::FrameLoaderClient::postProgressStartedNotification):
2105 (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
2106 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
2107 (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2108 (WebKit::FrameLoaderClient::createFrame):
2109 (WebKit::FrameLoaderClient::windowObjectCleared):
2110 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
2111 (WebKit::FrameLoaderClient::setTitle):
2112 * WebCoreSupport/FrameLoaderClientGtk.h:
2113 (WebKit::FrameLoaderClient::webFrame):
2115 * WebView/headers.pri: Added.
2116 * WebView/webkit-marshal.list: Added.
2117 * WebView/webkitdefines.h: Added.
2118 * WebView/webkitglobal.cpp: Added.
2119 * WebView/webkitglobal.h: Added.
2120 * WebView/webkitnetworkrequest.cpp: Added.
2121 * WebView/webkitnetworkrequest.h: Added.
2122 * WebView/webkitprivate.cpp: Added.
2125 (WebKit::getFrameFromView):
2126 (WebKit::getViewFromFrame):
2129 * WebView/webkitprivate.h: Added.
2130 * WebView/webkitsettings.cpp: Added.
2131 * WebView/webkitsettings.h: Added.
2132 * WebView/webkitwebframe.cpp: Added.
2133 * WebView/webkitwebframe.h: Added.
2134 * WebView/webkitwebview.cpp: Added.
2135 * WebView/webkitwebview.h: Added.
2137 2007-11-28 Alp Toker <alp@atoker.com>
2139 Reviewed by Timothy Hatcher.
2141 http://bugs.webkit.org/show_bug.cgi?id=16174
2142 [GTK] Use "URI" not "URL" in public API
2144 Replace use of the term "URL" with "URI" in public headers,
2145 documentation and some internal code to match GLib/GTK+ convention.
2147 This is now mentioned in the API guidelines:
2148 http://trac.webkit.org/projects/webkit/wiki/HackingGtk
2150 API/ABI-breaking change.
2152 * Api/webkitgtkframe.cpp:
2153 * Api/webkitgtknetworkrequest.cpp:
2154 * Api/webkitgtknetworkrequest.h:
2155 * Api/webkitgtkpage.cpp:
2156 * Api/webkitgtkpage.h:
2157 * Api/webkitgtkprivate.h:
2158 * Api/webkitgtksettings.h:
2160 2007-11-29 Brady Eidson <beidson@apple.com>
2162 Better build fix for Gtk
2164 * WebCoreSupport/ChromeClientGtk.h:
2166 2007-11-29 Brady Eidson <beidson@apple.com>
2168 Keep it building with new client method
2170 * WebCoreSupport/ChromeClientGtk.cpp:
2171 (WebKit::ChromeClient::requestQuotaIncreaseForNewDatabase):
2172 (WebKit::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
2173 * WebCoreSupport/ChromeClientGtk.h:
2175 2007-11-26 Alp Toker <alp@atoker.com>
2177 Reviewed by Adam Roben.
2179 http://bugs.webkit.org/show_bug.cgi?id=16149
2180 Implement the window-object-cleared signal
2182 This implementation provides the JSGlobalContextRef and JSObjectRef
2183 directly rather than using an intermediate JS wrapper object, similar
2184 to the approach taken by the Win port.
2186 * Api/webkitgtk-marshal.list:
2187 * Api/webkitgtkframe.h:
2188 * Api/webkitgtkpage.cpp:
2189 * Api/webkitgtkpage.h:
2190 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2191 (WebKit::FrameLoaderClient::windowObjectCleared):
2193 2007-11-24 Alp Toker <alp@atoker.com>
2195 Reviewed by Mark Rowe.
2197 http://bugs.webkit.org/show_bug.cgi?id=15691
2198 [GTK] Public API does not follow GTK+ conventions
2200 Public API enhancements:
2202 Implement webkit_page_get_editable() and webkit_page_set_editable().
2204 Implement webkit_frame_get_name().
2206 Remove definitions for functions that are unusable or not implemented.
2207 This has caused much confusion for application developers.
2209 Improve documentation.
2211 Correct/constify some return types.
2213 Add parameter checks.
2215 Make the default fixed font "Courier New" to match the other Web
2218 * Api/webkitgtkframe.cpp:
2219 * Api/webkitgtkframe.h:
2220 * Api/webkitgtkpage.cpp:
2221 * Api/webkitgtkpage.h:
2222 * Api/webkitgtkprivate.h:
2223 * WebCoreSupport/EditorClientGtk.cpp:
2224 (WebKit::EditorClient::isEditable):
2226 2007-11-24 Alp Toker <alp@atoker.com>
2228 Reviewed by Mark Rowe.
2230 http://bugs.webkit.org/show_bug.cgi?id=16125
2231 [GTK] Up key doesn't work properly when content is editable
2233 Add a missing 'break' to avoid falling through to the next case when
2234 handling VK_UP keystrokes. This was noticed when working on editing
2235 support in the GTK+ port.
2237 I've checked the other cases for similar typos and they seem fine.
2239 * WebCoreSupport/EditorClientGtk.cpp:
2240 (WebKit::EditorClient::handleKeypress):
2242 2007-11-24 Xan Lopez <xan@gnome.org>
2244 Reviewed by Alp Toker.
2246 http://bugs.webkit.org/show_bug.cgi?id=15745
2247 [GTK] Arrow keys do not Scroll
2249 * Api/webkitgtkpage.cpp:
2251 Support Up/Down/Right/Left keys to scroll. Slight hack, see FIXME for
2254 2007-11-24 Christian Dywan <christian@twotoasts.de>
2256 Reviewed by Alp Toker.
2258 http://bugs.webkit.org/show_bug.cgi?id=15891
2259 [GTK] Javascript console and dialogs are not implemented
2261 Fix call to gtk_message_dialog_new() which expects a format string.
2263 * Api/webkitgtkpage.cpp:
2265 2007-11-24 Christian Dywan <christian@twotoasts.de>
2267 Reviewed by Alp Toker.
2269 http://bugs.webkit.org/show_bug.cgi?id=15793
2270 [GTK] Webkit doesn't show title attribute tooltip when hovering over an image
2272 Implement tooltip support using the new Tooltip API.
2274 Support for older versions of GTK+ is still lacking.
2276 * WebCoreSupport/ChromeClientGtk.cpp:
2277 (WebKit::ChromeClient::setToolTip):
2279 2007-11-22 Alp Toker <alp@atoker.com>
2281 Reviewed by Mark Rowe.
2283 Implement and document several WebKitFrame functions, some of which
2284 are necessary to support DRT.
2286 Correct NULL handling and improve run-time checks.
2288 * Api/webkitgtkframe.cpp:
2289 * Api/webkitgtkframe.h:
2290 * Api/webkitgtkprivate.cpp:
2292 2007-11-22 Alp Toker <alp@atoker.com>
2294 Whitespace fixes only.
2296 * Api/webkitgtkframe.cpp:
2297 * Api/webkitgtkpage.cpp:
2298 * Api/webkitgtkpage.h:
2299 * Api/webkitgtkprivate.h:
2300 * WebCoreSupport/ChromeClientGtk.cpp:
2301 * WebCoreSupport/ContextMenuClientGtk.cpp:
2302 * WebCoreSupport/ContextMenuClientGtk.h:
2303 * WebCoreSupport/DragClientGtk.h:
2304 * WebCoreSupport/EditorClientGtk.h:
2305 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2306 (WebKit::FrameLoaderClient::dispatchWillSendRequest):
2307 (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
2308 (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
2309 (WebKit::FrameLoaderClient::createFrame):
2310 (WebKit::FrameLoaderClient::createJavaAppletWidget):
2311 (WebKit::FrameLoaderClient::registerForIconNotification):
2312 (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
2313 (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
2314 (WebKit::FrameLoaderClient::frameLoadCompleted):
2315 (WebKit::FrameLoaderClient::saveViewStateToItem):
2316 (WebKit::FrameLoaderClient::restoreViewState):
2317 (WebKit::FrameLoaderClient::shouldGoToHistoryItem):
2318 (WebKit::FrameLoaderClient::setTitle):
2319 * WebCoreSupport/FrameLoaderClientGtk.h:
2321 2007-11-22 Michael Natterer <mitch@imendio.com>
2323 Reviewed by Alp Toker.
2325 http://bugs.webkit.org/show_bug.cgi?id=15984
2326 Implement "navigation-requested" signal for WebKit Gtk
2328 * Api/webkitgtknetworkrequest.h: fix parent class member.
2330 * Api/webkitgtknetworkrequest.cpp
2331 * Api/webkitgtkprivate.h: basic implementation featuring an
2332 "url" member and API.
2334 * Api/webkitgtkdefines.h: added network request typedefs.
2336 * Api/webkitgtkpage.h: fix enum name:
2337 s/WEBKIT_NAVIGATION_REQUEST_RESPONSE/WebKitNavigationRequestResponse/
2338 and sanitized enum values.
2340 * Api/webkitgtkpage.cpp: made "navigation-requested" a signal.
2342 * Api/webkitgtk-marshal.list: added INT:OBJECT,OBJECT
2344 * WebCoreSupport/FrameLoaderClientGtk.cpp: emit the new signal in
2345 dispatchDecidePolicyForNavigationAction().
2347 2007-11-18 Christian Dywan <christian@twotoasts.de>
2351 http://bugs.webkit.org/show_bug.cgi?id=15891
2352 [GTK] Javascript console and dialogs are not implemented
2354 Correct script-prompt to return NULL when cancelled.
2356 Small changes to avoid compiler warnings.
2358 * Api/webkitgtkpage.cpp:
2360 2007-11-17 Timothy Hatcher <timothy@apple.com>
2362 Reviewed by Mark Rowe.
2364 Bug 13470: i18n: The Web Inspector is not localizable
2365 http://bugs.webkit.org/show_bug.cgi?id=13470
2367 * WebCoreSupport/InspectorClientGtk.cpp:
2368 (WebKit::InspectorClient::localizedStringsURL): Empty stub.
2369 * WebCoreSupport/InspectorClientGtk.h: Add localizedStringsURL.
2371 2007-11-13 Mark Rowe <mrowe@apple.com>
2373 Gtk build fix. Replace incorrect use of the LOG macro with g_print.
2375 * Api/webkitgtkpage.cpp:
2377 2007-11-13 Christian Dywan <christian@twotoasts.de>
2381 http://bugs.webkit.org/show_bug.cgi?id=15891
2382 [GTK] Javascript console and dialogs are not implemented
2384 Implement signals for script dialogs and console messages.
2386 * Api/webkitgtk-marshal.list:
2387 * Api/webkitgtkpage.cpp:
2388 * Api/webkitgtkpage.h:
2389 * WebCoreSupport/ChromeClientGtk.cpp:
2390 (WebKit::ChromeClient::addMessageToConsole):
2391 (WebKit::ChromeClient::runJavaScriptAlert):
2392 (WebKit::ChromeClient::runJavaScriptConfirm):
2393 (WebKit::ChromeClient::runJavaScriptPrompt):
2395 2007-11-11 Alp Toker <alp@atoker.com>
2399 Initialize m_userAgent.
2401 Fix typos in GDK_WINDOWING conditionals.
2403 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2404 (WebKit::FrameLoaderClient::FrameLoaderClient):
2405 (WebKit::agentPlatform):
2407 2007-11-11 Alp Toker <alp@atoker.com>
2409 Reviewed by Mark Rowe.
2411 Mention Safari in the UserAgent string to improve site compatibility.
2413 Also bump the hard-coded AppleWebKit version number.
2415 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2416 (WebKit::composeUserAgent):
2418 2007-11-09 Xan Lopez <xan@gnome.org>
2422 Fix http://bugs.webkit.org/show_bug.cgi?id=15926
2423 [GTK] WebKitPage map handler is redundant.
2425 * Api/webkitgtkpage.cpp:
2426 The map handler for WebKitPage is redundant, GtkContainer does
2427 the same (and more correctly).
2429 2007-11-08 Alp Toker <alp@atoker.com>
2431 Reviewed by Mark Rowe.
2433 http://bugs.webkit.org/show_bug.cgi?id=15653
2434 [GTK] Text editor does not handle common keystrokes
2436 Handle more keystrokes in EditorClientGtk. Note that this is a
2437 temporary measure pending a proper solution using GtkBindingSet (see
2438 http://bugs.webkit.org/show_bug.cgi?id=15911).
2440 * WebCoreSupport/EditorClientGtk.cpp:
2441 (WebKit::EditorClient::handleKeypress):
2443 2007-11-08 Kevin McCullough <kmccullough@apple.com>
2447 - windowObjectCleared() is no longer const. It needs to setup the
2448 script debugger and cannot be const to do so.
2450 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2451 (WebKit::FrameLoaderClient::windowObjectCleared):
2452 * WebCoreSupport/FrameLoaderClientGtk.h:
2454 2007-11-06 Rodney Dawes <dobey@wayofthemonkey.com>
2456 Fix http://bugs.webkit.org/attachment.cgi?id=17043&action=view
2457 Bug 15766: [GTK] WebKit sometimes spews binary data as text/plain into iframes
2459 FrameLoaderClient::objectContentType needs to check with the MIMETypeRegistry
2460 to determine whether the given MIME type is displayable as an image or non-image.
2462 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2463 (FrameLoaderClient::objectContentType): Change logic to match that in
2464 the Windows and Mac ports.
2466 2007-11-05 Christian Dywan <christian@twotoasts.de>
2470 http://bugs.webkit.org/show_bug.cgi?id=15409
2471 FrameLoaderClientGtk hardcodes data, including platform to Linux i686
2473 Compute a proper user agent string.
2475 Patch includes fixes by Alp.
2477 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2478 (WebKit::agentPlatform):
2480 (WebKit::composeUserAgent):
2481 (WebKit::FrameLoaderClient::userAgent):
2482 * WebCoreSupport/FrameLoaderClientGtk.h:
2484 2007-11-05 Mark Rowe <mrowe@apple.com>
2486 Rubber-stamped by Alp Toker.
2488 Remove unused m_firstData member from FrameLoaderClientGtk.
2490 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2491 * WebCoreSupport/FrameLoaderClientGtk.h:
2493 2007-11-05 Mark Rowe <mrowe@apple.com>
2495 Reviewed by Alp Toker.
2497 Fix http://bugs.webkit.org/show_bug.cgi?id=15842
2498 Bug 15842: [Gtk] about:blank doesn't work
2500 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2501 (WebKit::FrameLoaderClient::finishedLoading): Set the encoding on the frame loader to
2502 get work done that is normally done when the first bit of data is received, even in the
2503 case of a document with no data (like about:blank).
2505 2007-11-03 Alp Toker <alp@atoker.com>
2507 Reviewed by Mark Rowe.
2509 Restore correct double and triple click behaviour
2511 We ended up ignoring GDK_2BUTTON_PRESS and GDK_3BUTTON_PRESS after
2514 * Api/webkitgtkpage.cpp:
2516 2007-11-03 Alp Toker <alp@atoker.com>
2518 Reviewed by Mark Rowe.
2520 Frame scrolling and invalidation fixes
2522 Make upward scroll events have a positive delta to match other ports.
2524 Fix the invalidation rect offset for frames so that scrolling works properly.
2526 Avoid allocating negative sizes to widgets to avoid GTK+ warnings.
2528 Allow tabbing to all widgets and links.
2530 Fix event returns, improving the focus situation and correcting scroll wheel
2533 * Api/webkitgtkpage.cpp:
2534 * WebCoreSupport/ChromeClientGtk.cpp:
2536 2007-10-29 Alp Toker <alp@atoker.com>
2540 Do not allow control to reach end of non-void functions
2542 * Api/webkitgtksettings.cpp:
2544 2007-10-28 Lars Lindner <lars.lindner@gmail.com>
2548 http://bugs.webkit.org/show_bug.cgi?id=15466
2549 [gtk] widget does not take focus on mouse click
2551 Grab widget focus in mouse press callback.
2553 * Api/webkitgtkpage.cpp:
2555 2007-10-25 Alp Toker <alp@atoker.com>
2559 http://bugs.webkit.org/show_bug.cgi?id=15686
2560 GtkLauncher aborts on launch due to uninitialized threading subsystem
2562 Re-enable database support in the GTK+ port, with a fix.
2564 Initialize GLib threading as early as possible.
2566 * Api/webkitgtkglobal.cpp:
2568 2007-10-25 Alp Toker <alp@atoker.com>
2570 Unreviewed fix to make the GTK+ port run.
2572 http://bugs.webkit.org/show_bug.cgi?id=15686
2573 GtkLauncher aborts on launch due to uninitialized threading subsystem
2575 http://bugs.webkit.org/show_bug.cgi?id=15688
2576 [GTK] Make it possible to disable database support
2578 Make database path initialization conditional on database support
2581 * Api/webkitgtkglobal.cpp:
2583 2007-10-24 Mark Rowe <mrowe@apple.com>
2585 Gtk build fix. Track WebCore changes in r27004.
2587 * Api/webkitgtkglobal.cpp:
2589 2007-10-22 Alp Toker <alp@atoker.com>
2591 Reviewed by Mark Rowe.
2593 http://bugs.webkit.org/show_bug.cgi?id=15611
2594 [GTK] Text selection behaviour different in Debug and Release builds
2596 http://bugs.webkit.org/show_bug.cgi?id=15578
2597 [GTK] Text editor caret does not blink
2599 Never allow control to reach the end of non-void functions.
2601 Return more sensible values, or in some cases, nulls.
2603 * Api/webkitgtksettings.cpp:
2604 * Api/webkitgtksettings.h:
2605 * WebCoreSupport/DragClientGtk.cpp:
2606 (WebKit::DragClient::actionMaskForDrag):
2607 (WebKit::DragClient::dragSourceActionMaskForPoint):
2608 (WebKit::DragClient::createDragImageForLink):
2610 2007-10-20 Mark Rowe <mrowe@apple.com>
2614 Gtk changes needed to enable HTML 5 client-side database storage.
2616 * Api/webkitgtkglobal.cpp: Set a default database path based on the user data directory.
2617 This should become configurable by client applications in the future.
2619 2007-10-20 Mark Rowe <mrowe@apple.com>
2623 Don't allow control characters to be inserted into editable regions.
2625 * WebCoreSupport/EditorClientGtk.cpp:
2626 (WebKit::EditorClient::handleKeypress):
2628 2007-10-19 Alp Toker <alp@atoker.com>
2632 GTK+ build fix enabling the new local database storage feature.
2633 There is also a prospective Qt build fix.
2635 * WebCoreSupport/ChromeClientGtk.cpp:
2636 (WebKit::ChromeClient::runDatabaseSizeLimitPrompt):
2637 * WebCoreSupport/ChromeClientGtk.h:
2639 2007-10-14 Jan Michael Alonzo <jmalonzo@unpluggable.com>
2643 http://bugs.webkit.org/show_bug.cgi?id=15299
2644 Fix "hovering_over_link" signal not emitted when consecutive links
2647 * WebCoreSupport/ChromeClientGtk.cpp:
2648 (WebKit::ChromeClient::mouseDidMoveOverElement):
2649 * WebCoreSupport/ChromeClientGtk.h:
2650 - Remove m_didSendLinkSignal as it is superseded by m_hoveredLinkURL
2652 2007-10-10 Alice Liu <alice.liu@apple.com>
2654 Reviewed by Geoff Garen.
2656 changes to keep the build from breaking
2658 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2659 (WebKit::FrameLoaderClient::createFrame):
2660 * WebCoreSupport/FrameLoaderClientGtk.h:
2662 2007-10-03 Alp Toker <alp@atoker.com>
2666 http://bugs.webkit.org/show_bug.cgi?id=14726
2667 [gtk] API design. Mapping the WebView delegates to signals.
2669 Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
2671 * Api/webkitgtkdefines.h:
2672 * Api/webkitgtkframe.cpp:
2673 * Api/webkitgtkframe.h:
2674 * Api/webkitgtkglobal.cpp:
2675 * Api/webkitgtkglobal.h:
2676 * Api/webkitgtknetworkrequest.h:
2677 * Api/webkitgtkpage.cpp:
2678 * Api/webkitgtkpage.h:
2679 * Api/webkitgtkprivate.cpp:
2682 (WebKit::getFrameFromPage):
2683 (WebKit::getPageFromFrame):
2686 * Api/webkitgtkprivate.h:
2687 * Api/webkitgtksettings.cpp:
2688 * Api/webkitgtksettings.h:
2689 * WebCoreSupport/ChromeClientGtk.cpp:
2690 (WebKit::ChromeClient::ChromeClient):
2691 (WebKit::ChromeClient::createWindow):
2692 (WebKit::ChromeClient::addMessageToConsole):
2693 (WebKit::ChromeClient::runJavaScriptAlert):
2694 (WebKit::ChromeClient::runJavaScriptConfirm):
2695 (WebKit::ChromeClient::runJavaScriptPrompt):
2696 * WebCoreSupport/ChromeClientGtk.h:
2697 (WebKit::ChromeClient::webPage):
2698 * WebCoreSupport/EditorClientGtk.cpp:
2699 (WebKit::EditorClient::EditorClient):
2700 * WebCoreSupport/EditorClientGtk.h:
2701 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2702 (WebKit::FrameLoaderClient::FrameLoaderClient):
2703 (WebKit::FrameLoaderClient::postProgressStartedNotification):
2704 (WebKit::FrameLoaderClient::postProgressEstimateChangedNotification):
2705 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
2706 (WebKit::FrameLoaderClient::createFrame):
2707 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
2708 (WebKit::FrameLoaderClient::setTitle):
2709 * WebCoreSupport/FrameLoaderClientGtk.h:
2710 (WebKit::FrameLoaderClient::webFrame):
2712 2007-10-02 Cosimo Cecchi <cosimoc@svn.gnome.org>
2716 http://bugs.webkit.org/show_bug.cgi?id=15299
2717 Fix "hovering_over_link" signal being fired every time mouse moves.
2719 * WebCoreSupport/ChromeClientGtk.cpp:
2720 (WebKit::ChromeClient::ChromeClient):
2721 (WebKit::ChromeClient::mouseDidMoveOverElement):
2722 * WebCoreSupport/ChromeClientGtk.h:
2724 2007-09-21 Sean Egan <seanegan@gmail.com>
2728 Add an "execute_script" method to programmatically call Javascript
2729 http://bugs.webkit.org/show_bug.cgi?id=15255
2731 * Api/webkitgtkpage.cpp:
2732 * Api/webkitgtkpage.h:
2734 2007-09-29 Lars Lindner <lars.lindner@gmail.com>
2738 ChromeClientGtk.cpp does not implement mouseDidMoveOverElement()
2739 http://bugs.webkit.org/show_bug.cgi?id=15299
2741 Implementing "hovering_over_link" signal.
2743 * WebCoreSupport/ChromeClientGtk.cpp:
2744 (WebKit::ChromeClient::mouseDidMoveOverElement):
2746 2007-09-26 Mark Rowe <mrowe@apple.com>
2750 * WebCoreSupport/FrameLoaderClientGtk.cpp: Check for empty URL instead of invalid URL.
2752 2007-09-17 Holger Hans Peter Freyther <zecke@selfish.org>
2756 WebKitGtkPage and WebKitGtkFrame have a dependency on each other. To
2757 allow client code to include both headers the typedef's for
2758 WebKitGtkFrame, WebKitGtkPage, WebKitGtkFrameData and WebKitGtkNetworkRequest
2759 are moved into webkitgtkdefines.h and included by both webkitgtkpage.h and
2762 * Api/webkitgtkdefines.h:
2763 * Api/webkitgtkframe.h:
2764 * Api/webkitgtkpage.h:
2766 2007-09-17 Cyril Brulebois <cyril.brulebois@enst-bretagne.fr>
2768 Reviewed by Mark, some Coding Style changes by Holger.
2770 This is from http://bugs.webkit.org/show_bug.cgi?id=14812.
2772 Add title and location to WebKitGtkFramePrivate, add
2773 webkit_gtk_frame_get_location to the WebKitGtkFrame API as well
2774 as a title_changed callback, implement
2775 webkit_gtk_frame_get_title and webkit_gtk_frame_get_location.
2777 Initial patch by Diego Escalante Urrelo.
2779 * Api/webkitgtkframe.cpp:
2780 * Api/webkitgtkframe.h:
2781 * Api/webkitgtkprivate.h:
2783 2007-09-15 Holger Hans Peter Freyther <zecke@selfish.org>
2787 Use the new WebCore::String::fromUTF8 function to convert
2788 from the Gtk+ representation of a string to WebCore::String.
2790 * WebCoreSupport/ChromeClientGtk.cpp:
2791 (WebKit::ChromeClient::runJavaScriptPrompt):
2793 2007-09-10 Nigel Tao <nigeltao@gnome.org>
2795 Reviewed by Mark Rowe.
2797 Fix a typo where webkit_gtk_page_can_copy was declared twice,
2798 rather than webkit_gtk_page_can_paste.
2800 * Api/webkitgtkpage.h:
2802 2007-09-08 Brady Eidson <beidson@apple.com>
2806 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2807 (WebKit::FrameLoaderClient::registerForIconNotification):
2808 * WebCoreSupport/FrameLoaderClientGtk.h:
2810 2007-09-08 Brady Eidson <beidson@apple.com>
2814 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2815 (WebKit::FrameLoaderClient::registerForIconNotification):
2816 * WebCoreSupport/FrameLoaderClientGtk.h:
2818 2007-09-05 Geoffrey Garen <ggaren@apple.com>
2820 Reviewed by Darin Adler, Maciej Stachowiak, Mark Rowe, Tim Hatcher.
2822 Fixed <rdar://problem/5326009> Make non-browser WebKit clients have no
2823 memory cache, or a very tiny one
2825 Keep the GTK build working with an empty stub.
2827 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2828 (WebKit::FrameLoaderClient::didPerformFirstNavigation):
2829 * WebCoreSupport/FrameLoaderClientGtk.h:
2831 2007-09-01 Oliver Hunt <oliver@apple.com>
2835 <rdar://problem/5344848> IME is incorrectly used for key events when on non-editable regions
2837 EditorClient::setInputMethodState stub
2839 * WebCoreSupport/EditorClientGtk.cpp:
2840 (WebKit::EditorClient::setInputMethodState):
2841 * WebCoreSupport/EditorClientGtk.h:
2843 2007-08-18 Holger Hans Peter Freyther <zecke@selfish.org>
2845 Build fix. Add const to the first parameter of createPlugin
2847 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2849 2007-08-17 Anders Carlsson <andersca@apple.com>
2853 * WebCoreSupport/FrameLoaderClientGtk.cpp:
2854 (WebKit::FrameLoaderClient::createPlugin):
2855 * WebCoreSupport/FrameLoaderClientGtk.h:
2857 2007-08-11 Holger Hans Peter Freyther <zecke@selfish.org>
2861 To not hit the needsLayout() assert of Frame::paint for subframes we need to
2862 make sure they are layed out. Use the newly created FrameView::layoutIfNeededRecursive
2865 * Api/webkitgtkpage.cpp:
2867 2007-08-11 Holger Hans Peter Freyther <zecke@selfish.org>
2871 Fix text selection by setting a DragClient when creating the Page. Now
2872 that we have a DragClient we can free the Page when WebKitGtkPage gets
2875 * Api/webkitgtkpage.cpp:
2876 * WebCoreSupport/DragClientGtk.cpp: Added.
2877 (WebKit::DragClient::willPerformDragDestinationAction):
2878 (WebKit::DragClient::willPerformDragSourceAction):
2879 (WebKit::DragClient::actionMaskForDrag):
2880 (WebKit::DragClient::dragSourceActionMaskForPoint):
2881 (WebKit::DragClient::startDrag):
2882 (WebKit::DragClient::createDragImageForLink):
2883 * WebCoreSupport/DragClientGtk.h: Added.
2885 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
2889 Make WebKitGtkPage a GtkContainer to avoid a size_allocate
2890 race of GtkScrollBar and GtkLayout.
2892 * Api/webkitgtk-marshal.list:
2893 * Api/webkitgtkframe.cpp:
2894 * Api/webkitgtkpage.cpp:
2895 * Api/webkitgtkpage.h:
2896 * Api/webkitgtkprivate.h:
2898 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
2902 Minor changes to the WebKit::EditorClient to allow removing
2903 of text from TextFields. Remove the selectWordBeforeMenuEvent method
2904 which is not used and not within WebCore::EditorClient.
2906 * WebCoreSupport/EditorClientGtk.cpp:
2907 (WebKit::EditorClient::shouldDeleteRange):
2908 (WebKit::EditorClient::shouldBeginEditing):
2909 (WebKit::EditorClient::shouldEndEditing):
2910 (WebKit::EditorClient::shouldApplyStyle):
2911 (WebKit::EditorClient::shouldInsertNode):
2912 * WebCoreSupport/EditorClientGtk.h:
2914 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
2918 Rename the namespace from WebKitGtk to WebKit. Move the various *Client
2919 classes into the WebKit namespace. Change the class names to not contain Gtk.
2920 The file names have to contain the Gtk suffix to not clash with files in WebCore (e.g.
2921 bridge/EditorClient.h).
2924 * Api/webkitgtkframe.cpp:
2925 * Api/webkitgtkpage.cpp:
2926 * Api/webkitgtkprivate.cpp:
2927 * Api/webkitgtkprivate.h:
2929 * WebCoreSupport/ChromeClientGtk.cpp:
2930 (WebKit::ChromeClient::ChromeClient):
2931 (WebKit::ChromeClient::chromeDestroyed):
2932 (WebKit::ChromeClient::windowRect):
2933 (WebKit::ChromeClient::setWindowRect):
2934 (WebKit::ChromeClient::pageRect):
2935 (WebKit::ChromeClient::scaleFactor):
2936 (WebKit::ChromeClient::focus):
2937 (WebKit::ChromeClient::unfocus):
2938 (WebKit::ChromeClient::createWindow):
2939 (WebKit::ChromeClient::createModalDialog):
2940 (WebKit::ChromeClient::show):
2941 (WebKit::ChromeClient::canRunModal):
2942 (WebKit::ChromeClient::runModal):
2943 (WebKit::ChromeClient::setToolbarsVisible):
2944 (WebKit::ChromeClient::toolbarsVisible):
2945 (WebKit::ChromeClient::setStatusbarVisible):
2946 (WebKit::ChromeClient::statusbarVisible):
2947 (WebKit::ChromeClient::setScrollbarsVisible):
2948 (WebKit::ChromeClient::scrollbarsVisible):
2949 (WebKit::ChromeClient::setMenubarVisible):
2950 (WebKit::ChromeClient::menubarVisible):
2951 (WebKit::ChromeClient::setResizable):
2952 (WebKit::ChromeClient::closeWindowSoon):
2953 (WebKit::ChromeClient::canTakeFocus):
2954 (WebKit::ChromeClient::takeFocus):
2955 (WebKit::ChromeClient::canRunBeforeUnloadConfirmPanel):
2956 (WebKit::ChromeClient::runBeforeUnloadConfirmPanel):
2957 (WebKit::ChromeClient::runJavaScriptAlert):
2958 (WebKit::ChromeClient::runJavaScriptConfirm):
2959 (WebKit::ChromeClient::setStatusbarText):
2960 (WebKit::ChromeClient::shouldInterruptJavaScript):
2961 (WebKit::ChromeClient::tabsToLinks):
2962 (WebKit::ChromeClient::windowResizerRect):
2963 (WebKit::ChromeClient::addToDirtyRegion):
2964 (WebKit::ChromeClient::scrollBackingStore):
2965 (WebKit::ChromeClient::updateBackingStore):
2966 (WebKit::ChromeClient::mouseDidMoveOverElement):
2967 (WebKit::ChromeClient::setToolTip):
2968 * WebCoreSupport/ChromeClientGtk.h:
2969 * WebCoreSupport/ContextMenuClientGtk.cpp:
2970 (WebKit::ContextMenuClient::contextMenuDestroyed):
2971 (WebKit::ContextMenuClient::getCustomMenuFromDefaultItems):
2972 (WebKit::ContextMenuClient::contextMenuItemSelected):
2973 (WebKit::ContextMenuClient::downloadURL):
2974 (WebKit::ContextMenuClient::copyImageToClipboard):
2975 (WebKit::ContextMenuClient::searchWithGoogle):
2976 (WebKit::ContextMenuClient::lookUpInDictionary):
2977 (WebKit::ContextMenuClient::speak):
2978 * WebCoreSupport/ContextMenuClientGtk.h:
2979 * WebCoreSupport/EditorClientGtk.cpp:
2980 (WebKit::EditorClient::shouldDeleteRange):
2981 (WebKit::EditorClient::shouldShowDeleteInterface):
2982 (WebKit::EditorClient::isContinuousSpellCheckingEnabled):
2983 (WebKit::EditorClient::isGrammarCheckingEnabled):
2984 (WebKit::EditorClient::spellCheckerDocumentTag):
2985 (WebKit::EditorClient::shouldBeginEditing):
2986 (WebKit::EditorClient::shouldEndEditing):
2987 (WebKit::EditorClient::shouldInsertText):
2988 (WebKit::EditorClient::shouldChangeSelectedRange):
2989 (WebKit::EditorClient::shouldApplyStyle):
2990 (WebKit::EditorClient::shouldMoveRangeAfterDelete):
2991 (WebKit::EditorClient::didBeginEditing):
2992 (WebKit::EditorClient::respondToChangedContents):
2993 (WebKit::EditorClient::respondToChangedSelection):
2994 (WebKit::EditorClient::didEndEditing):
2995 (WebKit::EditorClient::didWriteSelectionToPasteboard):
2996 (WebKit::EditorClient::didSetSelectionTypesForPasteboard):
2997 (WebKit::EditorClient::selectWordBeforeMenuEvent):
2998 (WebKit::EditorClient::isEditable):
2999 (WebKit::EditorClient::registerCommandForUndo):
3000 (WebKit::EditorClient::registerCommandForRedo):
3001 (WebKit::EditorClient::clearUndoRedoOperations):
3002 (WebKit::EditorClient::canUndo):
3003 (WebKit::EditorClient::canRedo):
3004 (WebKit::EditorClient::undo):
3005 (WebKit::EditorClient::redo):
3006 (WebKit::EditorClient::shouldInsertNode):
3007 (WebKit::EditorClient::pageDestroyed):
3008 (WebKit::EditorClient::smartInsertDeleteEnabled):
3009 (WebKit::EditorClient::toggleContinuousSpellChecking):
3010 (WebKit::EditorClient::toggleGrammarChecking):
3011 (WebKit::EditorClient::handleInputMethodKeypress):
3012 (WebKit::EditorClient::EditorClient):
3013 (WebKit::EditorClient::textFieldDidBeginEditing):
3014 (WebKit::EditorClient::textFieldDidEndEditing):
3015 (WebKit::EditorClient::textDidChangeInTextField):
3016 (WebKit::EditorClient::doTextFieldCommandFromEvent):
3017 (WebKit::EditorClient::textWillBeDeletedInTextField):
3018 (WebKit::EditorClient::textDidChangeInTextArea):
3019 (WebKit::EditorClient::ignoreWordInSpellDocument):
3020 (WebKit::EditorClient::learnWord):
3021 (WebKit::EditorClient::checkSpellingOfString):
3022 (WebKit::EditorClient::checkGrammarOfString):
3023 (WebKit::EditorClient::updateSpellingUIWithGrammarString):
3024 (WebKit::EditorClient::updateSpellingUIWithMisspelledWord):
3025 (WebKit::EditorClient::showSpellingUI):
3026 (WebKit::EditorClient::spellingUIIsShowing):
3027 * WebCoreSupport/EditorClientGtk.h:
3028 * WebCoreSupport/FrameLoaderClientGtk.cpp:
3029 (WebKit::FrameLoaderClient::FrameLoaderClient):
3030 (WebKit::FrameLoaderClient::userAgent):
3031 (WebKit::FrameLoaderClient::createDocumentLoader):
3032 (WebKit::FrameLoaderClient::committedLoad):
3033 (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
3034 (WebKit::FrameLoaderClient::dispatchDidCancelAuthenticationChallenge):
3035 (WebKit::FrameLoaderClient::dispatchWillSendRequest):
3036 (WebKit::FrameLoaderClient::assignIdentifierToInitialRequest):
3037 (WebKit::FrameLoaderClient::postProgressStartedNotification):
3038 (WebKit::FrameLoaderClient::postProgressFinishedNotification):
3039 (WebKit::FrameLoaderClient::frameLoaderDestroyed):
3040 (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
3041 (WebKit::FrameLoaderClient::createPlugin):
3042 (WebKit::FrameLoaderClient::redirectDataToPlugin):
3043 (WebKit::FrameLoaderClient::createJavaAppletWidget):
3044 (WebKit::FrameLoaderClient::overrideMediaType):
3045 (WebKit::FrameLoaderClient::windowObjectCleared):
3046 (WebKit::FrameLoaderClient::setMainFrameDocumentReady):
3047 (WebKit::FrameLoaderClient::hasWebView):
3048 (WebKit::FrameLoaderClient::hasFrameView):
3049 (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
3050 (WebKit::FrameLoaderClient::frameLoadCompleted):
3051 (WebKit::FrameLoaderClient::saveViewStateToItem):
3052 (WebKit::FrameLoaderClient::restoreViewState):
3053 (WebKit::FrameLoaderClient::privateBrowsingEnabled):
3054 (WebKit::FrameLoaderClient::makeDocumentView):
3055 (WebKit::FrameLoaderClient::makeRepresentation):
3056 (WebKit::FrameLoaderClient::forceLayout):
3057 (WebKit::FrameLoaderClient::forceLayoutForNonHTML):
3058 (WebKit::FrameLoaderClient::setCopiesOnScroll):
3059 (WebKit::FrameLoaderClient::detachedFromParent1):
3060 (WebKit::FrameLoaderClient::detachedFromParent2):
3061 (WebKit::FrameLoaderClient::detachedFromParent3):
3062 (WebKit::FrameLoaderClient::detachedFromParent4):
3063 (WebKit::FrameLoaderClient::loadedFromCachedPage):
3064 (WebKit::FrameLoaderClient::dispatchDidHandleOnloadEvents):
3065 (WebKit::FrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad):
3066 (WebKit::FrameLoaderClient::dispatchDidCancelClientRedirect):
3067 (WebKit::FrameLoaderClient::dispatchWillPerformClientRedirect):
3068 (WebKit::FrameLoaderClient::dispatchDidChangeLocationWithinPage):
3069 (WebKit::FrameLoaderClient::dispatchWillClose):
3070 (WebKit::FrameLoaderClient::dispatchDidReceiveIcon):
3071 (WebKit::FrameLoaderClient::dispatchDidStartProvisionalLoad):
3072 (WebKit::FrameLoaderClient::dispatchDidReceiveTitle):
3073 (WebKit::FrameLoaderClient::dispatchDidCommitLoad):
3074 (WebKit::FrameLoaderClient::dispatchDidFinishDocumentLoad):
3075 (WebKit::FrameLoaderClient::dispatchDidFirstLayout):
3076 (WebKit::FrameLoaderClient::dispatchShow):
3077 (WebKit::FrameLoaderClient::cancelPolicyCheck):
3078 (WebKit::FrameLoaderClient::dispatchDidLoadMainResource):
3079 (WebKit::FrameLoaderClient::revertToProvisionalState):
3080 (WebKit::FrameLoaderClient::clearUnarchivingState):
3081 (WebKit::FrameLoaderClient::willChangeTitle):
3082 (WebKit::FrameLoaderClient::didChangeTitle):
3083 (WebKit::FrameLoaderClient::finishedLoading):
3084 (WebKit::FrameLoaderClient::finalSetupForReplace):
3085 (WebKit::FrameLoaderClient::setDefersLoading):
3086 (WebKit::FrameLoaderClient::isArchiveLoadPending):
3087 (WebKit::FrameLoaderClient::cancelPendingArchiveLoad):
3088 (WebKit::FrameLoaderClient::clearArchivedResources):
3089 (WebKit::FrameLoaderClient::canHandleRequest):
3090 (WebKit::FrameLoaderClient::canShowMIMEType):
3091 (WebKit::FrameLoaderClient::representationExistsForURLScheme):
3092 (WebKit::FrameLoaderClient::generatedMIMETypeForURLScheme):
3093 (WebKit::FrameLoaderClient::provisionalLoadStarted):
3094 (WebKit::FrameLoaderClient::didFinishLoad):
3095 (WebKit::FrameLoaderClient::setDocumentViewFromCachedPage):
3096 (WebKit::FrameLoaderClient::dispatchDidReceiveContentLength):
3097 (WebKit::FrameLoaderClient::dispatchDidFinishLoading):
3098 (WebKit::FrameLoaderClient::dispatchDidFailLoading):
3099 (WebKit::FrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
3100 (WebKit::FrameLoaderClient::dispatchDidFailProvisionalLoad):
3101 (WebKit::FrameLoaderClient::dispatchDidFailLoad):
3102 (WebKit::FrameLoaderClient::download):
3103 (WebKit::FrameLoaderClient::cancelledError):
3104 (WebKit::FrameLoaderClient::blockedError):
3105 (WebKit::FrameLoaderClient::cannotShowURLError):
3106 (WebKit::FrameLoaderClient::interruptForPolicyChangeError):
3107 (WebKit::FrameLoaderClient::cannotShowMIMETypeError):
3108 (WebKit::FrameLoaderClient::fileDoesNotExistError):
3109 (WebKit::FrameLoaderClient::shouldFallBack):
3110 (WebKit::FrameLoaderClient::willUseArchive):
3111 (WebKit::FrameLoaderClient::saveDocumentViewToCachedPage):
3112 (WebKit::FrameLoaderClient::canCachePage):
3113 (WebKit::FrameLoaderClient::dispatchCreatePage):
3114 (WebKit::FrameLoaderClient::dispatchUnableToImplementPolicy):
3115 * WebCoreSupport/FrameLoaderClientGtk.h:
3116 * WebCoreSupport/InspectorClientGtk.cpp:
3117 (WebKit::InspectorClient::inspectorDestroyed):
3118 (WebKit::InspectorClient::createPage):
3119 (WebKit::InspectorClient::showWindow):
3120 (WebKit::InspectorClient::closeWindow):
3121 (WebKit::InspectorClient::attachWindow):
3122 (WebKit::InspectorClient::detachWindow):
3123 (WebKit::InspectorClient::highlight):
3124 (WebKit::InspectorClient::hideHighlight):
3125 * WebCoreSupport/InspectorClientGtk.h:
3127 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
3131 As of http://bugs.webkit.org/show_bug.cgi?id=14727 move the
3132 various *ClientGdk.{cpp,h} files from WebCore to WebKit/gtk/WebCoreSupport and
3133 rename it from Gdk to Gtk.
3135 * Api/webkitgtkdefines.h:
3136 * Api/webkitgtkframe.cpp:
3137 * Api/webkitgtkframe.h:
3138 * Api/webkitgtkglobal.cpp:
3139 * Api/webkitgtkglobal.h:
3140 * Api/webkitgtknetworkrequest.cpp:
3141 * Api/webkitgtknetworkrequest.h:
3142 * Api/webkitgtkpage.cpp:
3143 * Api/webkitgtkpage.h:
3144 * Api/webkitgtkprivate.cpp:
3145 * Api/webkitgtkprivate.h:
3146 * Api/webkitgtksettings.cpp:
3147 * Api/webkitgtksettings.h:
3148 * WebCoreSupport/ChromeClientGtk.cpp: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.cpp.
3149 (WebKitGtk::ChromeClientGtk::ChromeClientGtk):
3150 (WebKitGtk::ChromeClientGtk::chromeDestroyed):
3151 (WebKitGtk::ChromeClientGtk::windowRect):
3152 (WebKitGtk::ChromeClientGtk::setWindowRect):
3153 (WebKitGtk::ChromeClientGtk::pageRect):
3154 (WebKitGtk::ChromeClientGtk::scaleFactor):
3155 (WebKitGtk::ChromeClientGtk::focus):
3156 (WebKitGtk::ChromeClientGtk::unfocus):
3157 (WebKitGtk::ChromeClientGtk::createWindow):
3158 (WebKitGtk::ChromeClientGtk::createModalDialog):
3159 (WebKitGtk::ChromeClientGtk::show):
3160 (WebKitGtk::ChromeClientGtk::canRunModal):
3161 (WebKitGtk::ChromeClientGtk::runModal):
3162 (WebKitGtk::ChromeClientGtk::setToolbarsVisible):
3163 (WebKitGtk::ChromeClientGtk::toolbarsVisible):
3164 (WebKitGtk::ChromeClientGtk::setStatusbarVisible):
3165 (WebKitGtk::ChromeClientGtk::statusbarVisible):
3166 (WebKitGtk::ChromeClientGtk::setScrollbarsVisible):
3167 (WebKitGtk::ChromeClientGtk::scrollbarsVisible):
3168 (WebKitGtk::ChromeClientGtk::setMenubarVisible):
3169 (WebKitGtk::ChromeClientGtk::menubarVisible):
3170 (WebKitGtk::ChromeClientGtk::setResizable):
3171 (WebKitGtk::ChromeClientGtk::closeWindowSoon):
3172 (WebKitGtk::ChromeClientGtk::canTakeFocus):
3173 (WebKitGtk::ChromeClientGtk::takeFocus):
3174 (WebKitGtk::ChromeClientGtk::canRunBeforeUnloadConfirmPanel):
3175 (WebKitGtk::ChromeClientGtk::runBeforeUnloadConfirmPanel):
3176 (WebKitGtk::ChromeClientGtk::addMessageToConsole):
3177 (WebKitGtk::ChromeClientGtk::runJavaScriptAlert):
3178 (WebKitGtk::ChromeClientGtk::runJavaScriptConfirm):
3179 (WebKitGtk::ChromeClientGtk::runJavaScriptPrompt):
3180 (WebKitGtk::ChromeClientGtk::setStatusbarText):
3181 (WebKitGtk::ChromeClientGtk::shouldInterruptJavaScript):
3182 (WebKitGtk::ChromeClientGtk::tabsToLinks):
3183 (WebKitGtk::ChromeClientGtk::windowResizerRect):
3184 (WebKitGtk::ChromeClientGtk::addToDirtyRegion):
3185 (WebKitGtk::ChromeClientGtk::scrollBackingStore):
3186 (WebKitGtk::ChromeClientGtk::updateBackingStore):
3187 (WebKitGtk::ChromeClientGtk::mouseDidMoveOverElement):
3188 (WebKitGtk::ChromeClientGtk::setToolTip):
3189 * WebCoreSupport/ChromeClientGtk.h: Renamed from WebKit/gtk/WebCoreSupport/ChromeClientGdk.h.
3190 (WebKitGtk::ChromeClientGtk::webPage):
3191 * WebCoreSupport/ContextMenuClientGtk.cpp: Renamed from WebCore/page/gdk/ContextMenuClientGdk.cpp.
3192 (WebCore::ContextMenuClientGtk::contextMenuDestroyed):
3193 (WebCore::ContextMenuClientGtk::getCustomMenuFromDefaultItems):
3194 (WebCore::ContextMenuClientGtk::contextMenuItemSelected):
3195 (WebCore::ContextMenuClientGtk::downloadURL):
3196 (WebCore::ContextMenuClientGtk::copyImageToClipboard):
3197 (WebCore::ContextMenuClientGtk::searchWithGoogle):
3198 (WebCore::ContextMenuClientGtk::lookUpInDictionary):
3199 (WebCore::ContextMenuClientGtk::speak):
3200 (WebCore::ContextMenuClientGtk::stopSpeaking):
3201 * WebCoreSupport/ContextMenuClientGtk.h: Renamed from WebCore/page/gdk/ContextMenuClientGdk.h.
3202 * WebCoreSupport/EditorClientGtk.cpp: Renamed from WebCore/platform/gdk/EditorClientGdk.cpp.
3203 (WebCore::EditorClientGtk::shouldDeleteRange):
3204 (WebCore::EditorClientGtk::shouldShowDeleteInterface):
3205 (WebCore::EditorClientGtk::isContinuousSpellCheckingEnabled):
3206 (WebCore::EditorClientGtk::isGrammarCheckingEnabled):
3207 (WebCore::EditorClientGtk::spellCheckerDocumentTag):
3208 (WebCore::EditorClientGtk::shouldBeginEditing):
3209 (WebCore::EditorClientGtk::shouldEndEditing):
3210 (WebCore::EditorClientGtk::shouldInsertText):
3211 (WebCore::EditorClientGtk::shouldChangeSelectedRange):
3212 (WebCore::EditorClientGtk::shouldApplyStyle):
3213 (WebCore::EditorClientGtk::shouldMoveRangeAfterDelete):
3214 (WebCore::EditorClientGtk::didBeginEditing):
3215 (WebCore::EditorClientGtk::respondToChangedContents):
3216 (WebCore::EditorClientGtk::respondToChangedSelection):
3217 (WebCore::EditorClientGtk::didEndEditing):
3218 (WebCore::EditorClientGtk::didWriteSelectionToPasteboard):
3219 (WebCore::EditorClientGtk::didSetSelectionTypesForPasteboard):
3220 (WebCore::EditorClientGtk::selectWordBeforeMenuEvent):
3221 (WebCore::EditorClientGtk::isEditable):
3222 (WebCore::EditorClientGtk::registerCommandForUndo):
3223 (WebCore::EditorClientGtk::registerCommandForRedo):
3224 (WebCore::EditorClientGtk::clearUndoRedoOperations):
3225 (WebCore::EditorClientGtk::canUndo):
3226 (WebCore::EditorClientGtk::canRedo):
3227 (WebCore::EditorClientGtk::undo):
3228 (WebCore::EditorClientGtk::redo):
3229 (WebCore::EditorClientGtk::shouldInsertNode):
3230 (WebCore::EditorClientGtk::pageDestroyed):
3231 (WebCore::EditorClientGtk::smartInsertDeleteEnabled):
3232 (WebCore::EditorClientGtk::toggleContinuousSpellChecking):
3233 (WebCore::EditorClientGtk::toggleGrammarChecking):
3234 (WebCore::EditorClientGtk::handleKeypress):
3235 (WebCore::EditorClientGtk::handleInputMethodKeypress):
3236 (WebCore::EditorClientGtk::EditorClientGtk):
3237 (WebCore::EditorClientGtk::textFieldDidBeginEditing):
3238 (WebCore::EditorClientGtk::textFieldDidEndEditing):
3239 (WebCore::EditorClientGtk::textDidChangeInTextField):
3240 (WebCore::EditorClientGtk::doTextFieldCommandFromEvent):
3241 (WebCore::EditorClientGtk::textWillBeDeletedInTextField):
3242 (WebCore::EditorClientGtk::textDidChangeInTextArea):
3243 (WebCore::EditorClientGtk::ignoreWordInSpellDocument):
3244 (WebCore::EditorClientGtk::learnWord):
3245 (WebCore::EditorClientGtk::checkSpellingOfString):
3246 (WebCore::EditorClientGtk::checkGrammarOfString):
3247 (WebCore::EditorClientGtk::updateSpellingUIWithGrammarString):
3248 (WebCore::EditorClientGtk::updateSpellingUIWithMisspelledWord):
3249 (WebCore::EditorClientGtk::showSpellingUI):
3250 (WebCore::EditorClientGtk::spellingUIIsShowing):
3251 (WebCore::EditorClientGtk::getGuessesForWord):
3252 * WebCoreSupport/EditorClientGtk.h: Renamed from WebCore/platform/gdk/EditorClientGdk.h.
3253 * WebCoreSupport/FrameLoaderClientGtk.cpp: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.cpp.
3254 (WebCore::FrameLoaderClientGtk::FrameLoaderClientGtk):
3255 (WebCore::FrameLoaderClientGtk::userAgent):
3256 (WebCore::FrameLoaderClientGtk::createDocumentLoader):
3257 (WebCore::FrameLoaderClientGtk::dispatchWillSubmitForm):
3258 (WebCore::FrameLoaderClientGtk::committedLoad):
3259 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveAuthenticationChallenge):
3260 (WebCore::FrameLoaderClientGtk::dispatchDidCancelAuthenticationChallenge):
3261 (WebCore::FrameLoaderClientGtk::dispatchWillSendRequest):
3262 (WebCore::FrameLoaderClientGtk::assignIdentifierToInitialRequest):
3263 (WebCore::FrameLoaderClientGtk::postProgressStartedNotification):
3264 (WebCore::FrameLoaderClientGtk::postProgressEstimateChangedNotification):
3265 (WebCore::FrameLoaderClientGtk::postProgressFinishedNotification):
3266 (WebCore::FrameLoaderClientGtk::frameLoaderDestroyed):
3267 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveResponse):
3268 (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForMIMEType):
3269 (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNewWindowAction):
3270 (WebCore::FrameLoaderClientGtk::dispatchDecidePolicyForNavigationAction):
3271 (WebCore::FrameLoaderClientGtk::createPlugin):
3272 (WebCore::FrameLoaderClientGtk::createFrame):
3273 (WebCore::FrameLoaderClientGtk::redirectDataToPlugin):
3274 (WebCore::FrameLoaderClientGtk::createJavaAppletWidget):
3275 (WebCore::FrameLoaderClientGtk::objectContentType):
3276 (WebCore::FrameLoaderClientGtk::overrideMediaType):
3277 (WebCore::FrameLoaderClientGtk::windowObjectCleared):
3278 (WebCore::FrameLoaderClientGtk::setMainFrameDocumentReady):
3279 (WebCore::FrameLoaderClientGtk::hasWebView):
3280 (WebCore::FrameLoaderClientGtk::hasFrameView):
3281 (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoad):
3282 (WebCore::FrameLoaderClientGtk::frameLoadCompleted):
3283 (WebCore::FrameLoaderClientGtk::saveViewStateToItem):
3284 (WebCore::FrameLoaderClientGtk::restoreViewState):
3285 (WebCore::FrameLoaderClientGtk::shouldGoToHistoryItem):
3286 (WebCore::FrameLoaderClientGtk::privateBrowsingEnabled):
3287 (WebCore::FrameLoaderClientGtk::makeDocumentView):
3288 (WebCore::FrameLoaderClientGtk::makeRepresentation):
3289 (WebCore::FrameLoaderClientGtk::forceLayout):
3290 (WebCore::FrameLoaderClientGtk::forceLayoutForNonHTML):
3291 (WebCore::FrameLoaderClientGtk::setCopiesOnScroll):
3292 (WebCore::FrameLoaderClientGtk::detachedFromParent1):
3293 (WebCore::FrameLoaderClientGtk::detachedFromParent2):
3294 (WebCore::FrameLoaderClientGtk::detachedFromParent3):
3295 (WebCore::FrameLoaderClientGtk::detachedFromParent4):
3296 (WebCore::FrameLoaderClientGtk::loadedFromCachedPage):
3297 (WebCore::FrameLoaderClientGtk::dispatchDidHandleOnloadEvents):
3298 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveServerRedirectForProvisionalLoad):
3299 (WebCore::FrameLoaderClientGtk::dispatchDidCancelClientRedirect):
3300 (WebCore::FrameLoaderClientGtk::dispatchWillPerformClientRedirect):
3301 (WebCore::FrameLoaderClientGtk::dispatchDidChangeLocationWithinPage):
3302 (WebCore::FrameLoaderClientGtk::dispatchWillClose):
3303 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveIcon):
3304 (WebCore::FrameLoaderClientGtk::dispatchDidStartProvisionalLoad):
3305 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveTitle):
3306 (WebCore::FrameLoaderClientGtk::dispatchDidCommitLoad):
3307 (WebCore::FrameLoaderClientGtk::dispatchDidFinishDocumentLoad):
3308 (WebCore::FrameLoaderClientGtk::dispatchDidFirstLayout):
3309 (WebCore::FrameLoaderClientGtk::dispatchShow):
3310 (WebCore::FrameLoaderClientGtk::cancelPolicyCheck):
3311 (WebCore::FrameLoaderClientGtk::dispatchDidLoadMainResource):
3312 (WebCore::FrameLoaderClientGtk::revertToProvisionalState):
3313 (WebCore::FrameLoaderClientGtk::clearUnarchivingState):
3314 (WebCore::FrameLoaderClientGtk::willChangeTitle):
3315 (WebCore::FrameLoaderClientGtk::didChangeTitle):
3316 (WebCore::FrameLoaderClientGtk::finishedLoading):
3317 (WebCore::FrameLoaderClientGtk::finalSetupForReplace):
3318 (WebCore::FrameLoaderClientGtk::setDefersLoading):
3319 (WebCore::FrameLoaderClientGtk::isArchiveLoadPending):
3320 (WebCore::FrameLoaderClientGtk::cancelPendingArchiveLoad):
3321 (WebCore::FrameLoaderClientGtk::clearArchivedResources):
3322 (WebCore::FrameLoaderClientGtk::canHandleRequest):
3323 (WebCore::FrameLoaderClientGtk::canShowMIMEType):
3324 (WebCore::FrameLoaderClientGtk::representationExistsForURLScheme):
3325 (WebCore::FrameLoaderClientGtk::generatedMIMETypeForURLScheme):
3326 (WebCore::FrameLoaderClientGtk::provisionalLoadStarted):
3327 (WebCore::FrameLoaderClientGtk::didFinishLoad):
3328 (WebCore::FrameLoaderClientGtk::prepareForDataSourceReplacement):
3329 (WebCore::FrameLoaderClientGtk::setTitle):
3330 (WebCore::FrameLoaderClientGtk::setDocumentViewFromCachedPage):
3331 (WebCore::FrameLoaderClientGtk::dispatchDidReceiveContentLength):
3332 (WebCore::FrameLoaderClientGtk::dispatchDidFinishLoading):
3333 (WebCore::FrameLoaderClientGtk::dispatchDidFailLoading):
3334 (WebCore::FrameLoaderClientGtk::dispatchDidLoadResourceFromMemoryCache):
3335 (WebCore::FrameLoaderClientGtk::dispatchDidFailProvisionalLoad):
3336 (WebCore::FrameLoaderClientGtk::dispatchDidFailLoad):
3337 (WebCore::FrameLoaderClientGtk::download):
3338 (WebCore::FrameLoaderClientGtk::cancelledError):
3339 (WebCore::FrameLoaderClientGtk::blockedError):
3340 (WebCore::FrameLoaderClientGtk::cannotShowURLError):
3341 (WebCore::FrameLoaderClientGtk::interruptForPolicyChangeError):
3342 (WebCore::FrameLoaderClientGtk::cannotShowMIMETypeError):
3343 (WebCore::FrameLoaderClientGtk::fileDoesNotExistError):
3344 (WebCore::FrameLoaderClientGtk::shouldFallBack):
3345 (WebCore::FrameLoaderClientGtk::willUseArchive):
3346 (WebCore::FrameLoaderClientGtk::saveDocumentViewToCachedPage):
3347 (WebCore::FrameLoaderClientGtk::canCachePage):
3348 (WebCore::FrameLoaderClientGtk::dispatchCreatePage):
3349 (WebCore::FrameLoaderClientGtk::dispatchUnableToImplementPolicy):
3350 * WebCoreSupport/FrameLoaderClientGtk.h: Renamed from WebCore/loader/gdk/FrameLoaderClientGdk.h.
3351 (WebCore::FrameLoaderClientGtk::~FrameLoaderClientGtk):
3352 (WebCore::FrameLoaderClientGtk::webFrame):
3353 * WebCoreSupport/InspectorClientGtk.cpp: Renamed from WebCore/page/gdk/InspectorClientGdk.cpp.
3354 (WebCore::InspectorClientGtk::inspectorDestroyed):
3355 (WebCore::InspectorClientGtk::createPage):
3356 (WebCore::InspectorClientGtk::showWindow):
3357 (WebCore::InspectorClientGtk::closeWindow):
3358 (WebCore::InspectorClientGtk::attachWindow):
3359 (WebCore::InspectorClientGtk::detachWindow):
3360 (WebCore::InspectorClientGtk::highlight):
3361 (WebCore::InspectorClientGtk::hideHighlight):
3362 (WebCore::InspectorClientGtk::inspectedURLChanged):
3363 * WebCoreSupport/InspectorClientGtk.h: Renamed from WebCore/page/gdk/InspectorClientGdk.h.
3365 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
3369 * Api/webkitgtkframe.cpp:
3371 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
3375 Remove the create_frame virtual method of WebKitGtkPage. This method was inspired
3376 by the Qt port but to be useful for reimplementations WebKitGtkFrameData would need
3377 to export/expose WebCore types. WebView doesn't offer such a method so I decided to
3379 Add a internal constructor to WebKitGtkFrame to be used for constructing Sub-Frames. This
3380 is currently used by FrameLoaderClientGdk::createFrame.
3382 * Api/webkitgtkframe.cpp:
3383 * Api/webkitgtkframedata.cpp: Removed.
3384 * Api/webkitgtkframedata.h: Removed.
3385 * Api/webkitgtkpage.cpp:
3386 * Api/webkitgtkpage.h:
3387 * Api/webkitgtkprivate.h:
3389 2007-08-10 Holger Hans Peter Freyther <zecke@selfish.org>
3393 Follow the changes of ScrollView in WebCore and call setContainingWindow, set the
3394 GtkAdjustment of the GtkLayout and reimplement the set_scroll_adjustments method and pass
3395 the GtkAdjustments to ScrollView.
3396 This makes having one GdkWindow for the complete FrameTree possible.
3399 * gtk/Api/webkitgtkframe.cpp:
3400 * gtk/Api/webkitgtkpage.cpp:
3402 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
3406 We only need to set the Settings of the Page once so do it in
3407 WebKitGtkPage instead of WebKitGtkFrame.
3409 * gtk/Api/webkitgtkframe.cpp:
3410 * gtk/Api/webkitgtkpage.cpp:
3412 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
3416 Instead of reimplementing the general event method, reimplement
3417 the specific mouse, expose, keyboard event methods.
3419 Call the finalize implementation of the base class from WebKitGtkPage
3422 * gtk/Api/webkitgtkframe.cpp:
3423 * gtk/Api/webkitgtkpage.cpp:
3425 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
3429 Remove the custom painting in favor of the Widget::paint
3432 * gtk/Api/webkitgtkpage.cpp:
3434 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
3438 Moved code from class FrameGdk into WebKitGtkFrame. Update the
3439 webkitgrkprivate.h header file to not include FrameGdk.h.
3441 * gtk/Api/webkitgtkframe.cpp:
3442 * gtk/Api/webkitgtkprivate.h:
3444 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
3448 Change variable names to follow the Coding-Style. Replace occurences
3449 of a_b with aB and place the '*' correctly.
3451 * gtk/Api/webkitgtkframe.cpp:
3452 * gtk/Api/webkitgtkpage.cpp:
3453 * gtk/Api/webkitgtkprivate.h:
3455 2007-08-08 Holger Hans Peter Freyther <zecke@selfish.org>
3459 Reimplement GtkWidget::event and handle the keyboard and mouse
3460 events inside WebKitGtkPage.
3462 * gtk/Api/webkitgtkpage.cpp:
3463 (FrameGdkExposeData::frame_gdk_expose_child):
3464 (FrameGdkExposeData::webkit_gtk_page_rendering_area_handle_gdk_event):
3465 (FrameGdkExposeData::webkit_gtk_page_register_rendering_area_events):
3466 (FrameGdkExposeData::webkit_gtk_page_class_init):
3468 2007-08-07 Xan Lopez <xan@gnome.org>
3470 Reviewed by Mark Rowe.
3472 http://bugs.webkit.org/show_bug.cgi?id=14815
3473 [gtk] API implementation: reload
3475 * gtk/Api/webkitgtkpage.cpp: Implement the webkit_gtk_page_reload()
3478 2007-07-30 Diego Escalante Urrelo <diegoe@gnome.org>
3482 http://bugs.webkit.org/show_bug.cgi?id=14806
3483 Implement can_go_backward and can_go_forward in webkitgtkpage.cpp
3485 * gtk/Api/webkitgtkpage.cpp: Implement webkit_gtk_page_can_go_backward() and
3486 webkit_gtk_page_can_go_forward() functions.
3488 2007-07-30 Diego Escalante Urrelo <diegoe@gnome.org>
3490 Reviewed by Alp Toker.
3492 http://bugs.webkit.org/show_bug.cgi?id=14810
3493 Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
3495 This is the proper fix for #14810.
3497 * gtk/Api/webkitgtkframe.cpp:
3498 * gtk/Api/webkitgtkpage.cpp: Fix the marshaller type of the "load_finished" signal and
3499 correct the class_offset parameters.
3501 2007-07-29 Diego Escalante Urrelo <diegoe@gnome.org>
3503 Reviewed by Alp Toker.
3505 http://bugs.webkit.org/show_bug.cgi?id=14810
3506 Bad n_params on load_finished's g_signal_new in webkitgtkpage.cpp
3508 * gtk/Api/webkitgtkpage.cpp: Use a correct n_params value and the corresponding types for
3509 them in the "load_finished" signal.
3511 2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
3515 Add the first API and partial implementation of the WebKit/Gtk port as
3516 of http://bugs.webkit.org/show_bug.cgi?id=14678.
3518 The delegates of WebView will be modeled as signals. Delegates like the
3519 WebPolicyDelegate will be implemented as signals with default handlers.
3521 Start moving files to WebKit/gtk/WebCoreSupport.
3525 * gtk/Api/headers.pri: Added.
3526 * gtk/Api/webkitgtk-marshal.list: Added.
3527 * gtk/Api/webkitgtkdefines.h: Added.
3528 * gtk/Api/webkitgtkframe.cpp: Added.
3529 * gtk/Api/webkitgtkframe.h: Added.
3530 * gtk/Api/webkitgtkframedata.cpp: Added.
3531 * gtk/Api/webkitgtkframedata.h: Added.
3532 * gtk/Api/webkitgtkglobal.cpp: Added.
3533 * gtk/Api/webkitgtkglobal.h: Added.
3534 * gtk/Api/webkitgtknetworkrequest.cpp: Added.
3535 * gtk/Api/webkitgtknetworkrequest.h: Added.
3536 * gtk/Api/webkitgtkpage.cpp: Added.
3537 * gtk/Api/webkitgtkpage.h: Added.
3538 * gtk/Api/webkitgtkprivate.cpp: Added.
3539 * gtk/Api/webkitgtkprivate.h: Added.
3540 * gtk/Api/webkitgtksettings.cpp: Added.
3541 * gtk/Api/webkitgtksettings.h: Added.
3542 * gtk/WebCoreSupport: Added.
3543 * gtk/WebCoreSupport/ChromeClientGdk.cpp: Added.
3544 (WebCore::ChromeClientGdk::ChromeClientGdk):
3545 (WebCore::ChromeClientGdk::chromeDestroyed):
3546 (WebCore::ChromeClientGdk::windowRect):
3547 (WebCore::ChromeClientGdk::setWindowRect):
3548 (WebCore::ChromeClientGdk::pageRect):
3549 (WebCore::ChromeClientGdk::scaleFactor):
3550 (WebCore::ChromeClientGdk::focus):
3551 (WebCore::ChromeClientGdk::unfocus):
3552 (WebCore::ChromeClientGdk::createWindow):
3553 (WebCore::ChromeClientGdk::createModalDialog):
3554 (WebCore::ChromeClientGdk::show):
3555 (WebCore::ChromeClientGdk::canRunModal):
3556 (WebCore::ChromeClientGdk::runModal):
3557 (WebCore::ChromeClientGdk::setToolbarsVisible):
3558 (WebCore::ChromeClientGdk::toolbarsVisible):
3559 (WebCore::ChromeClientGdk::setStatusbarVisible):
3560 (WebCore::ChromeClientGdk::statusbarVisible):
3561 (WebCore::ChromeClientGdk::setScrollbarsVisible):
3562 (WebCore::ChromeClientGdk::scrollbarsVisible):
3563 (WebCore::ChromeClientGdk::setMenubarVisible):
3564 (WebCore::ChromeClientGdk::menubarVisible):
3565 (WebCore::ChromeClientGdk::setResizable):
3566 (WebCore::ChromeClientGdk::closeWindowSoon):
3567 (WebCore::ChromeClientGdk::canTakeFocus):
3568 (WebCore::ChromeClientGdk::takeFocus):
3569 (WebCore::ChromeClientGdk::canRunBeforeUnloadConfirmPanel):
3570 (WebCore::ChromeClientGdk::runBeforeUnloadConfirmPanel):
3571 (WebCore::ChromeClientGdk::addMessageToConsole):
3572 (WebCore::ChromeClientGdk::runJavaScriptAlert):
3573 (WebCore::ChromeClientGdk::runJavaScriptConfirm):
3574 (WebCore::ChromeClientGdk::runJavaScriptPrompt):
3575 (WebCore::ChromeClientGdk::setStatusbarText):
3576 (WebCore::ChromeClientGdk::shouldInterruptJavaScript):
3577 (WebCore::ChromeClientGdk::tabsToLinks):
3578 (WebCore::ChromeClientGdk::windowResizerRect):
3579 (WebCore::ChromeClientGdk::addToDirtyRegion):
3580 (WebCore::ChromeClientGdk::scrollBackingStore):
3581 (WebCore::ChromeClientGdk::updateBackingStore):
3582 (WebCore::ChromeClientGdk::mouseDidMoveOverElement):
3583 (WebCore::ChromeClientGdk::setToolTip):
3584 (WebCore::ChromeClientGdk::print):
3585 * gtk/WebCoreSupport/ChromeClientGdk.h: Added.