6ce6f033077e2972357a44c6361fce9a64784acb
[WebKit-https.git] / Source / WebKit / gtk / ChangeLog
1 2013-02-25  Andreas Kling  <akling@apple.com>
2
3         Reduce amount of code that includes StylePropertySet.h
4         <http://webkit.org/b/101149>
5
6         Reviewed by Antti Koivisto.
7
8         * WebCoreSupport/EditorClientGtk.cpp:
9
10 2013-02-24  Gustavo Noronha Silva  <gns@gnome.org>
11
12         [GTK] GTK+ 2 build broken since GTK_API_VERSION_2 moved to autoconfig.h
13         https://bugs.webkit.org/show_bug.cgi?id=110702
14
15         Reviewed by Martin Robinson.
16
17         * tests/testapplicationcache.c: include autotoolsconfig.h.
18         * tests/testatk.c: ditto.
19         * tests/testatkroles.c: ditto.
20         * tests/testcontextmenu.c: ditto.
21         * tests/testcopyandpaste.c: ditto.
22         * tests/testdomdocument.c: ditto.
23         * tests/testdomdomwindow.c: ditto.
24         * tests/testdomnode.c: ditto.
25         * tests/testdownload.c: ditto.
26         * tests/testfavicondatabase.c: ditto.
27         * tests/testglobals.c: ditto.
28         * tests/testhittestresult.c: ditto.
29         * tests/testhttpbackend.c: ditto.
30         * tests/testkeyevents.c: ditto.
31         * tests/testloading.c: ditto.
32         * tests/testmimehandling.c: ditto.
33         * tests/testnetworkrequest.c: ditto.
34         * tests/testnetworkresponse.c: ditto.
35         * tests/testwebbackforwardlist.c: ditto.
36         * tests/testwebdatasource.c: ditto.
37         * tests/testwebframe.c: ditto.
38         * tests/testwebhistoryitem.c: ditto.
39         * tests/testwebinspector.c: ditto.
40         * tests/testwebplugindatabase.c: ditto.
41         * tests/testwebresource.c: ditto.
42         * tests/testwebsettings.c: ditto.
43         * tests/testwebview.c: ditto.
44         * tests/testwindow.c: ditto.
45
46 2013-02-23  Jason Anderssen  <janderssen@gmail.com>
47
48         Move setAutofilled from TestRunner to WebCore
49         https://bugs.webkit.org/show_bug.cgi?id=110521
50
51         Reviewed by Benjamin Poulain.
52
53         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
54         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
55         (DumpRenderTreeSupportGtk):
56
57 2013-02-22  Martin Robinson  <mrobinson@igalia.com>
58
59         [GTK] Expose all dependencies to the gyp build
60         https://bugs.webkit.org/show_bug.cgi?id=110498
61
62         Reviewed by Dirk Pranke.
63
64         * gyp/Configuration.gypi.in: Add the missing configuration cflags here.
65         * gyp/Dependencies.gyp: Add targets for all missing dependencies.
66
67 2013-02-21  George McCollister  <george.mccollister@gmail.com>
68
69         [GTK] Remove subresource leaks from WebKit1 and WebKit2
70         https://bugs.webkit.org/show_bug.cgi?id=108960
71
72         Reviewed by Martin Robinson.
73
74         * WebCoreSupport/FrameLoaderClientGtk.cpp:
75         (WebKit::FrameLoaderClient::dispatchDidFinishLoading): Remove resource
76         if it isn't the main resource to prevent leak.
77         (WebKit::FrameLoaderClient::dispatchDidFailLoading): Ditto
78         * webkit/webkitwebview.cpp:
79         (cleanupTemporarilyCachedSubresources): Added to cleanup subresources.
80         (webkit_web_view_get_subresources): Use getSubresources from the
81         documentLoader to provide subresources since resources will be removed
82         from webview after loading.
83
84 2013-02-21  Carlos Garcia Campos  <cgarcia@igalia.com>
85
86         Unreviewed. Fix make distcheck.
87
88         * GNUmakefile.am: Add -DBUILDING_WEBKIT flags to introspection
89         scanner.
90
91 2013-02-15  Martin Robinson  <mrobinson@igalia.com>
92
93         [GTK] Spread the gyp build files throughout the tree
94         https://bugs.webkit.org/show_bug.cgi?id=109960
95
96         Reviewed by Dirk Pranke.
97
98         * gyp/Configuration.gypi.in: Remove the 'Source', since now it cannot be shared.
99         * gyp/run-gyp: Update the path to the JavaScriptCore gypfile.
100
101 2013-02-15  Martin Robinson  <mrobinson@igalia.com>
102
103         Unreviewed, rolling out parts of r142731.
104         http://trac.webkit.org/changeset/142731
105         https://bugs.webkit.org/show_bug.cgi?id=109672
106
107         This patch broke the GTK+ gyp build. Roll out the changes there,
108         since they were actually unnecessary.
109
110         * gyp/Configuration.gypi.in:
111         * gyp/Dependencies.gyp:
112         * gyp/JavaScriptCore.gyp:
113         * gyp/WTF.gyp:
114
115 2013-02-13  Allan Sandfeld Jensen  <allan.jensen@digia.com>
116
117         [Qt] window.open passes height and width parameters even if not defined in a page
118         https://bugs.webkit.org/show_bug.cgi?id=107705
119
120         Reviewed by Kenneth Rohde Christiansen.
121
122         Do not resize window when default size is requested.
123
124         * WebCoreSupport/ChromeClientGtk.cpp:
125         (WebKit::ChromeClient::setWindowRect):
126
127 2013-02-13  Andrew Wilson  <atwilson@chromium.org>
128
129         Unreviewed Chromium gyp-file cleanup after glib backend removal.
130         https://bugs.webkit.org/show_bug.cgi?id=109672
131
132         Removed references to GLib unicode backend:
133
134         * gyp/Configuration.gypi.in:
135         * gyp/Dependencies.gyp:
136         * gyp/JavaScriptCore.gyp:
137         * gyp/WTF.gyp:
138
139 2013-02-12  Martin Robinson  <mrobinson@igalia.com>
140
141         2013-02-10  Martin Robinson  <mrobinson@igalia.com>
142
143         [GTK] Connect the gyp build to autoconf
144         https://bugs.webkit.org/show_bug.cgi?id=109360
145
146         Reviewed by Dirk Pranke.
147
148         Move Configuration.gypi to Configuration.gypi.in and allow autoconf to
149         fill in variables during a configuration phase. Also add some scripts
150         to support connecting autoconf up to the gyp build. This allows us
151         to have a very autotools-esque experience.
152
153         * gyp/Configuration.gypi: Removed.
154         * gyp/Configuration.gypi.in: Added. Fleshed out Configuration.gypi to include
155         dependency CFLAGS and LIBS directly from configure. Due to the way we are
156         generating the gyp build now, we also need to include an absolute path to
157         the build directory. Fixing bugs in gyp should allow us to avoid this in the
158         future.
159         * gyp/Dependencies.gyp: Added this file which holds external dependency targets.
160         We could consider auto-generating this at some point.
161         * gyp/JavaScriptCore.gyp: Remove references to the old Configuration.gypi.
162         It's now included via the command-line -I flag. Update to support the new
163         s/default/global/g terminology for variables.
164         * gyp/WTF.gyp: Remove the dependency targets as this is now handled entirely
165         by autoconf.
166         * gyp/autogen.sh: Added. Set up the build directory and kick off autoconf.
167         * gyp/configure.ac: Added. An autoconf build that re-uses much of our
168         existing autoconf setup.
169         * gyp/run-gyp: Added. Script for invoking gyp for out-of-tree builds.
170
171 2013-02-12  Huang Dongsung  <luxtella@company100.net>
172
173         [TexMap] Apply frames-per-second debug counter to WK1.
174         https://bugs.webkit.org/show_bug.cgi?id=109540
175
176         Reviewed by Noam Rosenthal.
177
178         Make AcceleratedCompositingContext use TextureMapperFPSCounter.
179
180         * WebCoreSupport/AcceleratedCompositingContext.h:
181         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
182         (WebKit::AcceleratedCompositingContext::compositeLayersToContext):
183
184 2013-02-11  Ryosuke Niwa  <rniwa@webkit.org>
185
186         Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
187         https://bugs.webkit.org/show_bug.cgi?id=109534
188
189         Reviewed by Anders Carlsson.
190
191         * WebCoreSupport/EditorClientGtk.cpp:
192         (WebKit):
193         * WebCoreSupport/EditorClientGtk.h:
194         (EditorClient):
195         * webkit/webkitwebview.cpp:
196         (webkit_web_view_class_init):
197
198 2013-02-11  Benjamin Poulain  <benjamin@webkit.org>
199
200         Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
201         https://bugs.webkit.org/show_bug.cgi?id=109349
202
203         Reviewed by Sam Weinig.
204
205         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
206         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
207         (DumpRenderTreeSupportGtk):
208
209 2013-02-10  Jae Hyun Park  <jae.park08@gmail.com>
210
211         Rename ENABLE(GLIB_SUPPORT) to USE(GLIB)
212         https://bugs.webkit.org/show_bug.cgi?id=104266
213
214         Reviewed by Philippe Normand.
215
216         Using USE(GLIB) instead of ENABLE(GLIB_SUPPORT) is more consistent with
217         the existing macro naming conventions.
218
219         From Platform.h
220         USE() - use a particular third-party library or optional OS service
221         ENABLE() - turn on a specific feature of WebKit
222
223         * gyp/Configuration.gypi:
224
225 2013-02-08  Benjamin Poulain  <bpoulain@apple.com>
226
227         Move workerThreadCount from TestRunner to WebCore Internals
228         https://bugs.webkit.org/show_bug.cgi?id=109239
229
230         Reviewed by Darin Adler.
231
232         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
233         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
234         (DumpRenderTreeSupportGtk):
235
236 2013-02-08  Martin Robinson  <mrobinson@igalia.com>
237
238         [GTK] Add an experimental gyp build
239         https://bugs.webkit.org/show_bug.cgi?id=109003
240
241         Reviewed by Gustavo Noronha Silva.
242
243         Add an experimental gyp build for WebKitGTK+. Currently only libjavascriptcoregtk,
244         jsc, and minidom build (and only on platforms for that support bash). To use the
245         build simply run:
246
247         $ gyp --generator-output=build --depth=. Source/WebKit/gtk/gyp/JavaScriptCore.gyp
248
249         Then enter the build directory and run make.
250
251         * gyp/Configuration.gypi: Added.
252         * gyp/JavaScriptCore.gyp: Added.
253         * gyp/WTF.gyp: Added.
254         * gyp/generate-derived-sources.sh: Added.
255
256 2013-02-07  Martin Robinson  <mrobinson@igalia.com>
257
258         [GTK] Cleanup command-line defines
259         https://bugs.webkit.org/show_bug.cgi?id=109213
260
261         Reviewed by Xan Lopez.
262
263         * GNUmakefile.am: Remove references to flags that are now provided
264         by autotoolsconfig.h
265
266 2013-02-07  Benjamin Poulain  <bpoulain@apple.com>
267
268         Move pauseAnimation/pauseTransition from TestRunner to Internals
269         https://bugs.webkit.org/show_bug.cgi?id=109107
270
271         Reviewed by Anders Carlsson.
272
273         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
274         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
275         (DumpRenderTreeSupportGtk):
276
277 2013-02-07  ChangSeok Oh  <shivamidow@gmail.com>
278
279         [GTK][AC] Implement opacity animation with clutter ac backend
280         https://bugs.webkit.org/show_bug.cgi?id=108961
281
282         Reviewed by Gustavo Noronha Silva.
283
284         Add AnimationTrigger for ac compositing.
285
286         * WebCoreSupport/ChromeClientGtk.cpp:
287         (WebKit::ChromeClient::allowedCompositingTriggers):
288
289 2013-02-05  Martin Robinson  <mrobinson@igalia.com>
290
291         Update the NEWS and configuration in preparation for 1.11.5.
292
293         Reviewed by Philippe Normand.
294
295         * NEWS:
296
297 2013-02-04  Benjamin Poulain  <bpoulain@apple.com>
298
299         Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
300         https://bugs.webkit.org/show_bug.cgi?id=108741
301
302         Reviewed by Tony Chang.
303
304         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
305         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
306         (DumpRenderTreeSupportGtk):
307
308 2013-02-04  Gustavo Noronha Silva  <gns@gnome.org>
309
310         Made the documentation on the confirmed argument for the
311         WebView::script-confirm signal clearer about its type.
312
313         Reviewed by Martin Robinson.
314
315         * webkit/webkitwebview.cpp:
316         (webkit_web_view_class_init):
317
318 2013-02-04  Balazs Kelemen  <kbalazs@webkit.org>
319
320         [Soup] Wrap SoupSession by NetworkStorageSession
321         https://bugs.webkit.org/show_bug.cgi?id=108615
322
323         Reviewed by Alexey Proskuryakov.
324
325         * WebCoreSupport/FrameNetworkingContextGtk.cpp:
326         (WebKit::FrameNetworkingContextGtk::storageSession):
327         * WebCoreSupport/FrameNetworkingContextGtk.h:
328         (FrameNetworkingContextGtk):
329
330 2013-02-03  KwangYong Choi  <ky0.choi@samsung.com>
331
332         Fix build warning after r141473
333         https://bugs.webkit.org/show_bug.cgi?id=108782
334
335         Reviewed by Kentaro Hara.
336
337         Fix -Wunused-parameter build warning.
338
339         * WebCoreSupport/EditorClientGtk.cpp:
340         (WebKit::EditorClient::getClientPasteboardDataForRange):
341
342 2013-02-01  Philippe Normand  <pnormand@igalia.com>
343
344         [GTK][GStreamer] FullscreenVideoControllerGtk implementation
345         https://bugs.webkit.org/show_bug.cgi?id=107398
346
347         Reviewed by Gustavo Noronha Silva.
348
349         Remove the FullscreenVideoController as it moved to
350         FullscreenVideoControllerGStreamer and its Gtk subclass in
351         WebCore. Hook in NATIVE_FULLSCREEN_VIDEO in the ChromeClient in
352         the two possible scenarios, wether FULLSCREEN_API is enabled or not.
353
354         * GNUmakefile.am: Remove FullscreenVideoController.
355         * WebCoreSupport/ChromeClientGtk.cpp:
356         (WebKit):
357         (WebKit::ChromeClient::enterFullscreenForNode): Hook
358         NATIVE_FULLSCREEN_VIDEO support.
359         (WebKit::ChromeClient::exitFullscreenForNode): Ditto
360         (WebKit::ChromeClient::enterFullScreenForElement): Ditto
361         (WebKit::ChromeClient::exitFullScreenForElement): Ditto
362         * WebCoreSupport/ChromeClientGtk.h:
363         (ChromeClient):
364         * WebCoreSupport/FullscreenVideoController.cpp: Removed.
365         * WebCoreSupport/FullscreenVideoController.h: Removed.
366         * webkit/webkitwebview.cpp: Remove FullscreenVideoController support.
367         * webkit/webkitwebviewprivate.h: Ditto
368
369 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
370
371         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
372         https://bugs.webkit.org/show_bug.cgi?id=107737
373
374         Reviewed by Ryosuke Niwa.
375
376         * WebCoreSupport/EditorClientGtk.cpp:
377         (WebKit::EditorClient::respondToChangedSelection):
378             Adding a call to the newly refactored Editor method.
379
380 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
381
382         Unreviewed, rolling out r141479.
383         http://trac.webkit.org/changeset/141479
384         https://bugs.webkit.org/show_bug.cgi?id=108564
385
386         breaks chromium test (Requested by morrita on #webkit).
387
388         * WebCoreSupport/EditorClientGtk.cpp:
389         (WebKit::EditorClient::respondToChangedSelection):
390
391 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
392
393         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
394         https://bugs.webkit.org/show_bug.cgi?id=107737
395
396         Reviewed by Ryosuke Niwa.
397
398         * WebCoreSupport/EditorClientGtk.cpp:
399         (WebKit::EditorClient::respondToChangedSelection):
400             Adding a call to the newly refactored Editor method.
401
402 2013-01-31  Enrica Casucci  <enrica@apple.com>
403
404         WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
405         https://bugs.webkit.org/show_bug.cgi?id=108396.
406         <rdar://problem/12920461>
407
408         Reviewed by Alexey Proskuryakov.
409
410         Adds stub implementation for WebKit of the new EditorClient methods.
411
412         * WebCoreSupport/EditorClientGtk.cpp:
413         (WebKit::EditorClient::willWriteSelectionToPasteboard):
414         (WebKit::EditorClient::getClientPasteboardDataForRange):
415         * WebCoreSupport/EditorClientGtk.h:
416
417 2013-01-30  Huang Dongsung  <luxtella@company100.net>
418
419         [TexMap] Remove GraphicsLayer in TextureMapperLayer.
420         https://bugs.webkit.org/show_bug.cgi?id=107073
421
422         Reviewed by Noam Rosenthal.
423
424         Include GraphicsLayerTextureMapper.h to use toTextureMapperLayer().
425
426         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
427
428 2013-01-29  Mario Sanchez Prada  <mario.prada@samsung.com>
429
430         [GTK] Missing build flags when building with Harfbuzz
431         https://bugs.webkit.org/show_bug.cgi?id=108174
432
433         Reviewed by Martin Robinson.
434
435         Add FREETYPE_CFLAGS and FREETYPE_LIBS to makefiles so -lharfbuzz
436         parameter will be added to linking lines when needed.
437
438         * GNUmakefile.am: Added FREETYPE_CFLAGS and FREETYPE_LIBS.
439
440 2013-01-28  Huang Dongsung  <luxtella@company100.net>
441
442         [TexMap] Enable debug borders and repaint counter via Settings.
443         https://bugs.webkit.org/show_bug.cgi?id=107198
444
445         Reviewed by Benjamin Poulain.
446
447         If WEBKIT_SHOW_COMPOSITING_DEBUG_VISUALS is set to 1, set
448         showDebugBorders and showRepaintCounter in Settings to true.
449
450         * webkit/webkitwebview.cpp:
451         (webkit_web_view_update_settings):
452
453 2013-01-25  Joone Hur  <joone.hur@intel.com>
454
455         [GTK][AC] Use new Clutter APIs instead of deprecated APIs
456         https://bugs.webkit.org/show_bug.cgi?id=105736
457
458         Reviewed by Gustavo Noronha Silva.
459
460         Use clutter_actor_set_background_color instead of clutter_stage_set_color.
461         Use clutter_actor_add_child instead of clutter_container_add_actor.
462         Remove clutter_actor_show_all because Actors are visible by default.
463
464         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
465         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
466
467 2013-01-25  Martin Robinson  <mrobinson@igalia.com>
468
469         [GTK] LDFLAGS are being incorrectly used at compile time (rather than linking)
470         https://bugs.webkit.org/show_bug.cgi?id=100616
471
472         Unreviewed, since this is just a build fix.
473
474         * GNUmakefile.am: use PACKAGE_CFLAGS instead of PACKAGE_LIBS when appending pkg-config
475         variables to build target _CFLAGS.
476
477 2013-01-24  Mark Hahnenberg  <mhahnenberg@apple.com>
478
479         Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
480         https://bugs.webkit.org/show_bug.cgi?id=107327
481
482         Reviewed by Filip Pizlo.
483
484         We're renaming these two files, so we have to replace the names everywhere.
485
486         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
487
488 2013-01-23  Manuel Rego Casasnovas  <rego@igalia.com>
489
490         [GTK] Avoid reset title for navigation within the page
491         https://bugs.webkit.org/show_bug.cgi?id=106908
492
493         Reviewed by Martin Robinson.
494
495         * WebCoreSupport/FrameLoaderClientGtk.cpp:
496         (WebKit::FrameLoaderClient::dispatchDidNavigateWithinPage): Call
497         dispatchDidCommitLoad with true as param.
498         (WebKit::FrameLoaderClient::dispatchDidCommitLoad): The method has been
499         overloaded. The default implementation (without params) simply calls
500         dispatchDidCommitLoad with false. The new private method with
501         isNavigatingWithinPage as param will avoid to reset the title for
502         navigation within the page.
503         * WebCoreSupport/FrameLoaderClientGtk.h:
504         (FrameLoaderClient): Add new private method dispatchDidCommitLoad with a
505         boolean parameter to know if it is navigating withing the same page or
506         not.
507
508 2013-01-22  Anders Carlsson  <andersca@apple.com>
509
510         Use a platforom strategy for local storage
511         https://bugs.webkit.org/show_bug.cgi?id=107600
512
513         Reviewed by Andreas Kling.
514
515         Update for new storage strategy.
516
517         * WebCoreSupport/PlatformStrategiesGtk.cpp:
518         (PlatformStrategiesGtk::createStorageStrategy):
519         * WebCoreSupport/PlatformStrategiesGtk.h:
520         (PlatformStrategiesGtk):
521
522 2013-01-22  Manuel Rego Casasnovas  <rego@igalia.com>
523
524         [GTK] Add listener for direction-changed signal in WebKitWebView
525         https://bugs.webkit.org/show_bug.cgi?id=107131
526
527         Reviewed by Philippe Normand.
528
529         * webkit/webkitwebview.cpp:
530         (webkit_web_view_init): Add listener for direction-changed signal.
531         (webkitWebViewDirectionChanged): Implement listener using
532         Editor::setBaseWritingDirection().
533
534 2013-01-21  Oleg Smirnov  <oleg.smirnov@lge.com>
535
536         [Gtk] Dispatching event list into input element.
537         https://bugs.webkit.org/show_bug.cgi?id=107259
538
539         Reviewed by Martin Robinson.
540
541         Clear pending command list after dispatching events.
542
543         * WebCoreSupport/EditorClientGtk.cpp:
544         (WebKit::EditorClient::handleKeyboardEvent):
545
546 2013-01-18  Martin Robinson  <mrobinson@igalia.com>
547
548         [GTK] Add property for IndexedDB database path to WebKitGTK+
549         https://bugs.webkit.org/show_bug.cgi?id=106136
550
551         Reviewed by Gustavo Noronha Silva.
552
553         Make the web database directory affect both the legacy SQLite web
554         database API and the newer indexed database API. This will allow us
555         to run IDB tests in WebKit1.
556
557         * webkit/webkitglobals.cpp:
558         (webkitPageGroupName): Added this helper to get the default page
559         group name.
560         * webkit/webkitglobalsprivate.h: Added a declaration for the helper.
561         * webkit/webkitwebdatabase.cpp:
562         (webkit_get_web_database_directory_path): Just return the cached value.
563         This is always set by webkitInit.
564         (webkit_set_web_database_directory_path): Set both the IDB and legacy
565         database paths.
566         * webkit/webkitwebview.cpp:
567         (webkit_web_view_init): Use the new page group name helper.
568
569 2013-01-18  Seokju Kwon  <seokju.kwon@gmail.com>
570
571         Add explicit keyword to constructors in platform-specific InspectorClient
572         https://bugs.webkit.org/show_bug.cgi?id=107255
573
574         Reviewed by Kentaro Hara.
575
576         Add explicit keyword to constructors that take one argument
577         in platform-specific implementation of InspectorClient.
578         And fix some coding style.
579
580         * WebCoreSupport/InspectorClientGtk.h:
581         (WebCore):
582         (WebKit):
583         (InspectorClient):
584         (WebKit::InspectorClient::disconnectFrontendClient):
585         (InspectorFrontendClient):
586         (WebKit::InspectorFrontendClient::disconnectInspectorClient):
587
588 2013-01-18  Manuel Rego Casasnovas  <rego@igalia.com>
589
590         [GTK] Add new method to support addUserScript in DumpRenderTree
591         https://bugs.webkit.org/show_bug.cgi?id=107275
592
593         Reviewed by Philippe Normand.
594
595         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
596         (DumpRenderTreeSupportGtk::addUserScript): Implement new method using
597         PageGroup::addUserScriptToWorld.
598         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
599         (DumpRenderTreeSupportGtk): Define method header.
600
601 2013-01-17  Martin Robinson  <mrobinson@igalia.com>
602
603         [GTK] Build with LevelDB when IndexedDB is enabled
604         https://bugs.webkit.org/show_bug.cgi?id=103220
605
606         Reviewed by Gustavo Noronha Silva.
607
608         * GNUmakefile.am: When IndexedDatabase is enabled add the leveldb convenience
609         library to the shared library link phase.
610
611 2013-01-15  Zan Dobersek  <zandobersek@gmail.com>
612
613         [Autotools] Add support for WebKit2-only builds
614         https://bugs.webkit.org/show_bug.cgi?id=106889
615
616         Reviewed by Gustavo Noronha Silva.
617
618         * GNUmakefile.am: Only build the WebKit1-specific targets if actually
619         building WebKit1. This puts the libwebkitgtk library, the pkg-config file
620         and the WebKit1-specific unit tests under the ENABLE_WEBKIT1 Automake
621         conditional.
622
623 2013-01-11  Carlos Garcia Campos  <cgarcia@igalia.com>
624
625         Unreviewed. Update NEWS and configure.ac for 1.11.4 release
626
627         * NEWS: Added release notes for 1.11.4.
628
629 2013-01-08  Mark Lam  <mark.lam@apple.com>
630
631         Removed the need for the ProposedDatabase mechanism.
632         https://bugs.webkit.org/show_bug.cgi?id=106292.
633
634         Reviewed by Sam Weinig.
635
636         * WebCoreSupport/ChromeClientGtk.cpp:
637         (WebKit::ChromeClient::exceededDatabaseQuota):
638         * WebCoreSupport/ChromeClientGtk.h:
639         (ChromeClient):
640
641 2013-01-03  Sergio Villar Senin  <svillar@igalia.com>
642
643         [GTK] Add WebP image support
644         https://bugs.webkit.org/show_bug.cgi?id=105915
645
646         Reviewed by Martin Robinson.
647
648         * GNUmakefile.am: link against WebP library.
649
650 2013-01-07  Mike West  <mkwst@chromium.org>
651
652         Make the IFRAME_SEAMLESS flag runtime-enabled.
653         https://bugs.webkit.org/show_bug.cgi?id=106213
654
655         Reviewed by Ojan Vafai.
656
657         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
658         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
659         (DumpRenderTreeSupportGtk):
660             Add a toggle for seamless IFrames to GTK's DRTSuport.
661
662 2013-01-04  Adam Klein  <adamk@chromium.org>
663
664         Remove ENABLE_MUTATION_OBSERVERS #define
665         https://bugs.webkit.org/show_bug.cgi?id=105459
666
667         Reviewed by Ryosuke Niwa.
668
669         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
670         (DumpRenderTreeSupportGtk::deliverAllMutationsIfNecessary):
671
672 2012-12-28  Martin Robinson  <mrobinson@igalia.com>
673
674         [GTK][WK2] Add support for IME Composition
675         https://bugs.webkit.org/show_bug.cgi?id=65093
676
677         Reviewed by Carlos Garcia Campos.
678
679         Update the method signatures for concrete WebKit1 implementation of
680         the GtkInputMethodFilter.
681
682         * WebCoreSupport/WebViewInputMethodFilter.cpp:
683         (WebKit::WebViewInputMethodFilter::sendSimpleKeyEvent):
684         (WebKit::WebViewInputMethodFilter::sendKeyEventWithCompositionResults):
685         * WebCoreSupport/WebViewInputMethodFilter.h:
686         (WebViewInputMethodFilter):
687
688 2012-12-27  ChangSeok Oh  <shivamidow@gmail.com>
689
690         [GTK] invalid use of incomplete type WebCore::ResourceResponse in webkitwebviewprivate.h
691         https://bugs.webkit.org/show_bug.cgi?id=105720
692
693         Reviewed by Martin Robinson.
694
695         If the acceleration backend is clutter, then css_filter feature is disabled.
696         So ResourceResponse.h could not be reached with only existing headers
697         in webkitwebviewprivate.h. For this reason, I add ResourceResponse.h explicitly
698         to fix a build failure using incomplete type 'WebCore::ResourceResponse()'.
699
700         * webkit/webkitwebviewprivate.h:
701
702 2012-12-23  Alexey Proskuryakov  <ap@apple.com>
703
704         <rdar://problem/12808377> Network process should respect cookie accept policy
705         https://bugs.webkit.org/show_bug.cgi?id=105684
706
707         Reviewed by Sam Weinig.
708
709         * WebCoreSupport/PlatformStrategiesGtk.cpp:
710         * WebCoreSupport/PlatformStrategiesGtk.h:
711         CookiesStrategy no longer has notifyCookiesChanged(). This port didn't use it anyway.
712
713 2012-12-22  Alexey Proskuryakov  <ap@apple.com>
714
715         Add a separate class for networking related storage
716         https://bugs.webkit.org/show_bug.cgi?id=105676
717
718         Reviewed by Sam Weinig.
719
720         * WebCoreSupport/PlatformStrategiesGtk.cpp:
721         (PlatformStrategiesGtk::cookiesForDOM):
722         (PlatformStrategiesGtk::setCookiesFromDOM):
723         (PlatformStrategiesGtk::cookiesEnabled):
724         (PlatformStrategiesGtk::cookieRequestHeaderFieldValue):
725         (PlatformStrategiesGtk::getRawCookies):
726         (PlatformStrategiesGtk::deleteCookie):
727         * WebCoreSupport/PlatformStrategiesGtk.h:
728         Cookie functions now take a NetworkStorageSession, not a NetworkingContext.
729
730 2012-12-18  Alexey Proskuryakov  <ap@apple.com>
731
732         Remove unnecessary functions from CookiesStrategy
733         https://bugs.webkit.org/show_bug.cgi?id=105369
734
735         Reviewed by Brady Eidson.
736
737         * WebCoreSupport/PlatformStrategiesGtk.cpp:
738         * WebCoreSupport/PlatformStrategiesGtk.h:
739
740 2012-12-18  ChangSeok Oh  <shivamidow@gmail.com>
741
742         [GTK][AC] Fix assertion failures for AC with clutter
743         https://bugs.webkit.org/show_bug.cgi?id=105039
744
745         Reviewed by Gustavo Noronha Silva.
746
747         AcceleratedCompositingContext could be a client of GraphicsLayerClutter
748         not only RenderLayerBacking. So inserting ASSERT_NOT_REACH in notifyFlushRequired()
749         causes a crash by calling GraphicsLayerClutter::noteLayerPropertyChanged in debug build.
750         And also I added flushCompositingStateIncludingSubframes taken from
751         AcceleratedCompositingContextGL to flushAndRenderLayers(). If not so,
752         ASSERT(!needsLayout()) failed in FrameView::paintContents() too in debug build.
753
754         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
755         (WebKit::AcceleratedCompositingContext::flushAndRenderLayers): Add updateLayoutAndStyleIfNeededRecursive()
756         (WebKit::AcceleratedCompositingContext::notifyAnimationStarted): Removed ASSERT_NOT_REACHED()
757         (WebKit::AcceleratedCompositingContext::notifyFlushRequired): Removed ASSERT_NOT_REACHED()
758
759 2012-12-15  Anders Carlsson  <andersca@apple.com>
760
761         Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
762         https://bugs.webkit.org/show_bug.cgi?id=105122
763
764         Reviewed by Andreas Kling.
765
766         Update for WebCore changes.
767
768         * WebCoreSupport/FrameLoaderClientGtk.cpp:
769         (WebKit::FrameLoaderClient::convertMainResourceLoadToDownload):
770         * WebCoreSupport/FrameLoaderClientGtk.h:
771         (FrameLoaderClient):
772
773 2012-12-15  Mark Lam  <mark.lam@apple.com>
774
775         Re-landing patch for "Introducing the DatabaseStrategy and database servers".
776         https://bugs.webkit.org/show_bug.cgi?id=104934.
777
778         Not reviewed.
779
780         Merged from r137767. Previously reviewed by Sam Weinig.
781
782         * WebCoreSupport/PlatformStrategiesGtk.cpp:
783         (PlatformStrategiesGtk::createDatabaseStrategy):
784         * WebCoreSupport/PlatformStrategiesGtk.h:
785         (PlatformStrategiesGtk):
786
787 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
788
789         Unreviewed, rolling out r137767.
790         http://trac.webkit.org/changeset/137767
791         https://bugs.webkit.org/show_bug.cgi?id=105062
792
793         Broke Mac builds. (Requested by mlam on #webkit).
794
795         * WebCoreSupport/PlatformStrategiesGtk.cpp:
796         * WebCoreSupport/PlatformStrategiesGtk.h:
797         (PlatformStrategiesGtk):
798
799 2012-12-14  Mark Lam  <mark.lam@apple.com>
800
801         Introducing the DatabaseStrategy and database servers.
802         https://bugs.webkit.org/show_bug.cgi?id=104934.
803
804         Reviewed by Sam Weinig.
805
806         The database server is currently a placeholder that does nothing.
807
808         * WebCoreSupport/PlatformStrategiesGtk.cpp:
809         (PlatformStrategiesGtk::createDatabaseStrategy):
810         * WebCoreSupport/PlatformStrategiesGtk.h:
811         (PlatformStrategiesGtk):
812
813 2012-12-14  Alberto Garcia  <agarcia@igalia.com>
814
815         [GTK] When in private mode WebKitGTK+ should not save HTTP authentication credentials to the persistent storage
816         https://bugs.webkit.org/show_bug.cgi?id=104910
817
818         Reviewed by Martin Robinson.
819
820         * WebCoreSupport/FrameLoaderClientGtk.cpp:
821         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
822         When creating the GtkAuthenticationDialog, set the credential
823         storage mode using the private browsing setting from the current
824         page.
825
826         * webkit/webkitsoupauthdialog.cpp:
827         (sessionAuthenticate):
828         Create the GtkAuthenticationDialog with no persistent storage
829         allowed, as we are not handling the credential persistence here.
830
831 2012-12-12  Mark Lam  <mark.lam@apple.com>
832
833         Encapsulate externally used webdatabase APIs in DatabaseManager.
834         https://bugs.webkit.org/show_bug.cgi?id=104741.
835
836         Reviewed by Sam Weinig.
837
838         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
839         and DatabaseContext directly. This is to prepare for upcoming webkit2
840         refactoring.
841
842         * WebCoreSupport/ChromeClientGtk.cpp:
843         (WebKit::ChromeClient::exceededDatabaseQuota):
844         * webkit/webkitfavicondatabase.cpp:
845         * webkit/webkiticondatabase.cpp:
846         * webkit/webkitsecurityorigin.cpp:
847         (webkit_security_origin_get_web_database_usage):
848         (webkit_security_origin_get_web_database_quota):
849         (webkit_security_origin_set_web_database_quota):
850         (webkit_security_origin_get_all_web_databases):
851         * webkit/webkitwebdatabase.cpp:
852         (webkit_web_database_get_display_name):
853         (webkit_web_database_get_expected_size):
854         (webkit_web_database_get_size):
855         (webkit_web_database_get_filename):
856         (webkit_web_database_remove):
857         (webkit_remove_all_web_databases):
858         (webkit_get_web_database_directory_path):
859         (webkit_set_web_database_directory_path):
860         * webkit/webkitwebview.cpp:
861         (webkit_web_view_update_settings):
862         (webkit_web_view_settings_notify):
863
864 2012-12-12  Martin Robinson  <mrobinson@igalia.com>
865
866         [GTK] Add authentication support to DRT and fix exposed issues in the libsoup backend
867         https://bugs.webkit.org/show_bug.cgi?id=104285
868
869         Reviewed by Gustavo Noronha Silva.
870
871         Add support to DumpRenderTree for running authentication tests. Since the DRT
872         expects an authentication callback, we add one to DRTSupport to avoid #ifdefs
873         in platform-independent code for GTK+.
874
875         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
876         (DumpRenderTreeSupportGtk::setAuthenticationCallback): Added.
877         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
878         (DumpRenderTreeSupportGtk): Add a method to set the authentication callback.
879         * WebCoreSupport/FrameLoaderClientGtk.cpp:
880         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge): When
881         in DRT mode we need to call the authentication callback instead of popping
882         up the dialog or ignoring the request.
883
884 2012-12-12  Alexey Proskuryakov  <ap@apple.com>
885
886         Make LOG() work in WebProcess and NetworkProcess
887         https://bugs.webkit.org/show_bug.cgi?id=104718
888
889         Reviewed by Tim Horton.
890
891         * webkit/webkitglobals.cpp: Include InitializeLogging.h
892
893 2012-12-12  Joone Hur  <joone.hur@intel.com>
894
895         [GTK][AC] The non-composited content is not painted
896         https://bugs.webkit.org/show_bug.cgi?id=104819
897
898         Reviewed by Gustavo Noronha Silva.
899
900         When Accelerated Compositing is enabled, only GraphicsLayers are painted.
901         This patch allows to paint the non-composited content on the viewport with 
902         GraphicsLayers. Most of the codes are the same as AcceleratedCompositingContextGL.cpp
903
904         * WebCoreSupport/AcceleratedCompositingContext.h: Add m_nonCompositedContentLayer.
905         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
906         (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
907         (WebKit::AcceleratedCompositingContext::initialize):
908         (WebKit):
909         (WebKit::AcceleratedCompositingContext::~AcceleratedCompositingContext):
910         (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
911         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
912         (WebKit::AcceleratedCompositingContext::setNonCompositedContentsNeedDisplay):
913         (WebKit::AcceleratedCompositingContext::resizeRootLayer):
914         (WebKit::AcceleratedCompositingContext::scrollNonCompositedContents): Make the non-composited 
915         content scroll.
916         (WebKit::AcceleratedCompositingContext::layerFlushTimerFiredCallback):
917         (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
918         (WebKit::AcceleratedCompositingContext::flushAndRenderLayers):
919         (WebKit::AcceleratedCompositingContext::notifyAnimationStarted):
920         (WebKit::AcceleratedCompositingContext::paintContents): Paint the non-composited content.
921
922 2012-12-12  Joone Hur  <joone.hur@intel.com>
923
924         [GTK][AC] GraphicsLayers are not shown on the viewport
925         https://bugs.webkit.org/show_bug.cgi?id=104670
926
927         Reviewed by Gustavo Noronha Silva.
928
929         GraphicsLayers are not shown on the viewport because the container(GtkClutterEmbed) 
930         is not resized and shown, so this patch allows it to fit to the viewport.
931
932         * WebCoreSupport/AcceleratedCompositingContext.h:
933         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
934         (WebKit::AcceleratedCompositingContext::renderLayersToWindow):
935         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
936         (WebKit::AcceleratedCompositingContext::resizeRootLayer):
937         (WebKit::AcceleratedCompositingContext::layerFlushTimerFiredCallback):
938         (WebKit::AcceleratedCompositingContext::scheduleLayerFlush):
939
940 2012-12-11  Carlos Garcia Campos  <cgarcia@igalia.com>
941
942         [GTK] Install GObject DOM bindings headers in its own directory
943         https://bugs.webkit.org/show_bug.cgi?id=104663
944
945         Reviewed by Gustavo Noronha Silva.
946
947         * GNUmakefile.am: Add webkitdom.h.
948         * webkit/webkitdom.h: Compatibility header just including the new
949         one.
950         * webkit/webkitwebframe.cpp: Update includes.
951         * webkit/webkitwebframe.h: Ditto.
952         * webkit/webkitwebinspector.cpp: Ditto.
953         * webkit/webkitwebinspector.h: Ditto.
954         * webkit/webkitwebview.cpp: Ditto.
955         * webkit/webkitwebview.h: Ditto.
956
957 2012-12-11  Mike West  <mkwst@chromium.org>
958
959         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
960         https://bugs.webkit.org/show_bug.cgi?id=66371
961
962         Reviewed by Pavel Feldman.
963
964         Drops WebCore::MessageType from the addMessageToConsole method.
965
966         * WebCoreSupport/ChromeClientGtk.cpp:
967         (WebKit::ChromeClient::addMessageToConsole):
968         * WebCoreSupport/ChromeClientGtk.h:
969         (ChromeClient):
970
971 2012-12-11  Martin Robinson  <mrobinson@igalia.com>
972
973         [GTK] Implement some missing FrameLoaderClient message in DRT
974         https://bugs.webkit.org/show_bug.cgi?id=104444
975
976         Reviewed by Gustavo Noronha Silva.
977
978         When in DumpRenderTree mode allow the DRT to install a FrameLoaderEvent callback
979         for events that we do not expose in the API. This will allow us to share more
980         results with WebKit2.
981
982         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
983         (DumpRenderTreeSupportGtk::setFrameLoadEventCallback): Added.
984         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
985         * WebCoreSupport/FrameLoaderClientGtk.cpp: Use the new callback to deliver
986         events to DRT.
987
988 2012-12-11  Martin Robinson  <mrobinson@igalia.com>
989
990         [Coverity] [GTK] Remove some redundant null checks in DumpRenderTree
991         https://bugs.webkit.org/show_bug.cgi?id=104570
992
993         Reviewed by Daniel Bates.
994
995         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
996         (DumpRenderTreeSupportGtk::elementDoesAutoCompleteForElementWithId): Remove a redundant null check.
997
998 2012-12-10  Carlos Garcia Campos  <cgarcia@igalia.com>
999
1000         [GTK] Build GObject DOM bindings as a separate library
1001         https://bugs.webkit.org/show_bug.cgi?id=104527
1002
1003         Reviewed by Xan Lopez.
1004
1005         * GNUmakefile.am: Link to libWebCoreDOM.la.
1006
1007 2012-12-10  Martin Robinson  <mrobinson@igalia.com>
1008
1009         [GTK] Bring Harfbuzz-ng support to Gtk
1010         https://bugs.webkit.org/show_bug.cgi?id=92098
1011
1012         Reviewed by Gustavo Noronha Silva.
1013
1014         Add HarfBuzz dependency.
1015
1016         * GNUmakefile.am: Add FreeType/HarfBuzz CFLAGS to the library.
1017
1018 2012-12-05  Arnaud Renevier  <a.renevier@sisa.samsung.com>
1019
1020         [Gtk] navigator.plugins contains too many plugin entries. First one are garbages
1021         https://bugs.webkit.org/show_bug.cgi?id=102438
1022
1023         Reviewed by Xan Lopez.
1024
1025         In getPluginInfo, outPlugins is resized to plugins.size and then,
1026         plugins are appended to it. So at the end, outPlugins will be twice
1027         too large, and first half will contain null objects. As outPlugins
1028         size is 0 when calling getPluginInfo, we don't need to resize it.
1029
1030         * WebCoreSupport/PlatformStrategiesGtk.cpp:
1031         (PlatformStrategiesGtk::getPluginInfo):
1032
1033 2012-12-04  Carlos Garcia Campos  <cgarcia@igalia.com>
1034
1035         [GTK] Avoid unnecessary heap allocations during drag and drop operations
1036         https://bugs.webkit.org/show_bug.cgi?id=87938
1037
1038         Reviewed by Martin Robinson.
1039
1040         * webkit/webkitwebview.cpp:
1041         (webkit_web_view_drag_motion): Create DragData for the given
1042         DataObjectGtk in the stack.
1043         (webkit_web_view_drag_data_received): Ditto.
1044         (webkit_web_view_drag_drop): Ditto.
1045
1046 2012-12-02  Mike West  <mkwst@chromium.org>
1047
1048         [gtk] Enable the CSP_NEXT runtime flag.
1049         https://bugs.webkit.org/show_bug.cgi?id=103810
1050
1051         Reviewed by Adam Barth.
1052
1053         This patch adds methods to DumpRenderTreeSupport in order to ensure that
1054         CSP 1.1 features are enabled when running DRT tests in the GTK port.
1055
1056         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1057         (DumpRenderTreeSupportGtk::setExperimentalContentSecurityPolicyFeaturesEnabled):
1058         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1059         (DumpRenderTreeSupportGtk):
1060
1061 2012-11-30  Mihai Maerean  <mmaerean@adobe.com>
1062
1063         [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
1064         https://bugs.webkit.org/show_bug.cgi?id=101192
1065
1066         Reviewed by Hajime Morita.
1067
1068         Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
1069
1070         Tests: No new tests because there is no functional change.
1071
1072         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1073         (DumpRenderTreeSupportGtk::setCSSRegionsEnabled):
1074
1075 2012-11-29  Alexey Proskuryakov  <ap@apple.com>
1076
1077         [WK2] Forward cookie jar calls to NetworkProcess
1078         https://bugs.webkit.org/show_bug.cgi?id=103457
1079
1080         Reviewed by Darin Adler.
1081
1082         * WebCoreSupport/PlatformStrategiesGtk.cpp:
1083         (PlatformStrategiesGtk::cookiesForDOM):
1084         (PlatformStrategiesGtk::setCookiesFromDOM):
1085         (PlatformStrategiesGtk::cookiesEnabled):
1086         (PlatformStrategiesGtk::cookieRequestHeaderFieldValue):
1087         (PlatformStrategiesGtk::getRawCookies):
1088         (PlatformStrategiesGtk::deleteCookie):
1089         (PlatformStrategiesGtk::getHostnamesWithCookies):
1090         (PlatformStrategiesGtk::deleteCookiesForHostname):
1091         (PlatformStrategiesGtk::deleteAllCookies):
1092
1093 2012-11-27  James Simonsen  <simonjam@chromium.org>
1094
1095         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1096         https://bugs.webkit.org/show_bug.cgi?id=102151
1097
1098         Reviewed by Adam Barth.
1099
1100         * webkit/webkitwebframe.cpp:
1101         (webkit_web_frame_load_uri):
1102         (webkit_web_frame_load_data):
1103         (webkit_web_frame_load_request):
1104
1105 2012-11-27  Sheriff Bot  <webkit.review.bot@gmail.com>
1106
1107         Unreviewed, rolling out r135786.
1108         http://trac.webkit.org/changeset/135786
1109         https://bugs.webkit.org/show_bug.cgi?id=103379
1110
1111         It made 3 plugin tests timeout on several platforms (Requested
1112         by Ossy on #webkit).
1113
1114         * webkit/webkitwebframe.cpp:
1115         (webkit_web_frame_load_uri):
1116         (webkit_web_frame_load_data):
1117         (webkit_web_frame_load_request):
1118
1119 2012-11-26  James Simonsen  <simonjam@chromium.org>
1120
1121         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1122         https://bugs.webkit.org/show_bug.cgi?id=102151
1123
1124         Reviewed by Adam Barth.
1125
1126         * webkit/webkitwebframe.cpp:
1127         (webkit_web_frame_load_uri):
1128         (webkit_web_frame_load_data):
1129         (webkit_web_frame_load_request):
1130
1131 2012-11-25  Kaustubh Atrawalkar  <kaustubh@motorola.com>
1132
1133         Remove deprecated load-done signal
1134         https://bugs.webkit.org/show_bug.cgi?id=72712
1135
1136         Reviewed by Brent Fulgham.
1137
1138         Remove deprecated load-done signal and migrate to load-status.
1139
1140         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1141         (WebKit):
1142         (WebKit::FrameLoaderClient::dispatchDidFinishLoad):
1143         * webkit/webkitwebframe.cpp:
1144         (webkit_web_frame_class_init):
1145
1146 2012-09-26  Gustavo Noronha Silva  <gns@gnome.org>
1147
1148         [GTK] Split SVG from WebCore to work-around make limitation
1149         https://bugs.webkit.org/show_bug.cgi?id=97735
1150
1151         Reviewed by Carlos Garcia Campos.
1152
1153         Add a new libtool convenience library, libWebCoreSVG.la, to work-around
1154         make limitation when linking libWebCore.
1155
1156         * GNUmakefile.am: link libWebCoreSVG.la into libwebkitgtk.
1157
1158 2012-11-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
1159
1160         Disambiguate innerNodeFramePoint and mainFramePoint
1161         https://bugs.webkit.org/show_bug.cgi?id=98139
1162
1163         Reviewed by Julien Chaffraix.
1164
1165         Switched to using point in innerNodeFrame. While the use here seems wrong it has been
1166         left functionally unchanged to be fixed by a later patch.
1167
1168         * webkit/webkithittestresult.cpp:
1169         (WebKit::kit):
1170
1171 2012-11-20  Sheriff Bot  <webkit.review.bot@gmail.com>
1172
1173         Unreviewed, rolling out r135295.
1174         http://trac.webkit.org/changeset/135295
1175         https://bugs.webkit.org/show_bug.cgi?id=102834
1176
1177         This patch causes assertion to some layout tests on chromium
1178         (Requested by jianli on #webkit).
1179
1180         * webkit/webkitwebframe.cpp:
1181         (webkit_web_frame_load_uri):
1182         (webkit_web_frame_load_data):
1183         (webkit_web_frame_load_request):
1184
1185 2012-11-20  James Simonsen  <simonjam@chromium.org>
1186
1187         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1188         https://bugs.webkit.org/show_bug.cgi?id=102151
1189
1190         Reviewed by Adam Barth.
1191
1192         * webkit/webkitwebframe.cpp:
1193         (webkit_web_frame_load_uri):
1194         (webkit_web_frame_load_data):
1195         (webkit_web_frame_load_request):
1196
1197 2012-11-20  Carlos Garcia Campos  <cgarcia@igalia.com>
1198
1199         Unreviewed. Update NEWS and configure.ac for 1.11.2 release
1200
1201         * NEWS: Added release notes for 1.11.2.
1202
1203 2012-11-16  Martin Robinson  <mrobinson@igalia.com>
1204
1205         [GTK] Move CredentialBackingStore usage from GtkAuthenticationDialog to ResourceHandleSoup
1206         https://bugs.webkit.org/show_bug.cgi?id=101840
1207
1208         Reviewed by Gustavo Noronha Silva.
1209
1210         Enable the CredentialStore by default for the WebKit1 GTK+ port. Before this value
1211         didn't have an bearing on whether or not the persistent credential storage was used.
1212         Now is does.
1213
1214         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1215         (WebKit::FrameLoaderClient::shouldUseCredentialStorage): Enable credential storage by default.
1216
1217 2012-11-15  Gustavo Noronha Silva  <gns@gnome.org>
1218
1219         [GTK] Split WebCore/platform into a separate library
1220         https://bugs.webkit.org/show_bug.cgi?id=94435
1221
1222         Reviewed by Martin Robinson.
1223
1224         More people have been reporting problems when linking WebCore because
1225         the command line limit is being exceeded. Splitting WebCore a bit more
1226         is in order.
1227
1228         * GNUmakefile.am: link libWebCorePlatform into libwebkitgtk
1229
1230 2012-11-15  Zan Dobersek  <zandobersek@gmail.com>
1231
1232         Unreviewed build fix attempt after r134765.
1233
1234         * webkit/webkitviewportattributes.cpp:
1235         (webkitViewportAttributesRecompute):
1236
1237 2012-11-12  Josh Rickmar  <jrick@devio.us>
1238
1239         Add WebCore::Setting to block displaying and/or running insecure content on secure pages
1240         https://bugs.webkit.org/show_bug.cgi?id=58378
1241
1242         Reviewed by Martin Robinson.
1243
1244         * webkit/webkitwebsettings.cpp:
1245         (webkit_web_settings_class_init):
1246         (webkit_web_settings_set_property):
1247         (webkit_web_settings_get_property):
1248         (webkit_web_settings_copy):
1249         * webkit/webkitwebview.cpp:
1250         (webkit_web_view_update_settings):
1251         (webkit_web_view_settings_notify):
1252
1253 2012-11-05  Simon Fraser  <simon.fraser@apple.com>
1254
1255         Fix layer borders to cleaning appear and disappear on switching
1256         https://bugs.webkit.org/show_bug.cgi?id=101136
1257
1258         Reviewed by Sam Weinig.
1259
1260         Remove the GraphicsLayerClient methods showDebugBorders() and
1261         showRepaintCounter().
1262
1263         * WebCoreSupport/AcceleratedCompositingContext.h:
1264         (AcceleratedCompositingContext):
1265         * WebCoreSupport/AcceleratedCompositingContextCairo.cpp:
1266         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
1267         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
1268
1269 2012-10-25  Martin Robinson  <mrobinson@igalia.com>
1270
1271         [GTK] Move soup authentication from GtkAuthenticationDialog to WebCore
1272         https://bugs.webkit.org/show_bug.cgi?id=99914
1273
1274         Reviewed by Carlos Garcia Campos.
1275
1276         The calls which actually authenticate a soup message are gone from the GtkAuthenticationDialog. Since the
1277         GtkAuthenticationDialog exposed by the WebKitSoupAuthentication class in the GTK+ API work without a
1278         ResourceHandle (they are more general), we add a WebKitSoupAuthDialogAuthenticationClient added to avoid
1279         breaking API. This is unused by either Epiphany or internally in WebKitGTK+.
1280
1281         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1282         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge): The authentication dialog
1283         now just takes the AuthenticationChallenge instead of the libsoup objects.
1284         * webkit/webkitsoupauthdialog.cpp:
1285         (WebKitSoupAuthDialogAuthenticationClient): Added this helper.
1286         (sessionAuthenticate): Use the new WebKitSoupAuthDialogAuthenticationClient.
1287
1288 2012-11-02  Martin Robinson  <mrobinson@igalia.com>
1289
1290         [GTK] Remove dependency on SoupPasswordManager
1291         https://bugs.webkit.org/show_bug.cgi?id=100775
1292
1293         Reviewed by Carlos Garcia Campos.
1294
1295         Add a libsecret dependency to the build. This is necessary so that we can remove
1296         a dependency on SoupPasswordManager.
1297
1298         * GNUmakefile.am: Use libsecret libs during WebKit1 library compilation.
1299
1300 2012-10-24  Brady Eidson  <beidson@apple.com>
1301
1302         Add a strategy for loader customization.
1303         https://bugs.webkit.org/show_bug.cgi?id=100278
1304
1305         Reviewed by Alexey Proskuryakov.
1306
1307         * WebCoreSupport/PlatformStrategiesGtk.cpp:
1308         (PlatformStrategiesGtk::createLoaderStrategy):
1309         * WebCoreSupport/PlatformStrategiesGtk.h:
1310         (PlatformStrategiesGtk):
1311
1312 2012-10-23  Alexey Proskuryakov  <ap@apple.com>
1313
1314         Add a strategy for shared workers
1315         https://bugs.webkit.org/show_bug.cgi?id=100165
1316
1317         Reviewed by Brady Eidson.
1318
1319         * WebCoreSupport/PlatformStrategiesGtk.cpp:
1320         (PlatformStrategiesGtk::createPasteboardStrategy):
1321         (PlatformStrategiesGtk::createSharedWorkerStrategy):
1322         (PlatformStrategiesGtk::createVisitedLinkStrategy):
1323         * WebCoreSupport/PlatformStrategiesGtk.h:
1324
1325 2012-10-24  Priit Laes  <plaes@plaes.org>
1326
1327         [GTK] Typos in user-visible strings: "coordintate"
1328         https://bugs.webkit.org/show_bug.cgi?id=100252
1329
1330         Reviewed by Martin Robinson.
1331
1332         s/coordintate/coordinate
1333
1334         * webkit/webkithittestresult.cpp:
1335         (webkit_hit_test_result_class_init):
1336
1337 2012-10-23  Martin Robinson  <mrobinson@igalia.com>
1338
1339         [GTK][Soup] Implement the default authentication dialog via WebCoreSupport
1340         https://bugs.webkit.org/show_bug.cgi?id=99351
1341
1342         Reviewed by Carlos Garcia Campos.
1343
1344         Instead of using a custom SoupSessionFeature to show the authentication dialog,
1345         show it using the corresponding WebCore message.
1346
1347         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1348         (WebKit::FrameLoaderClient::dispatchDidReceiveAuthenticationChallenge):
1349         Show the dialog when we need to authenticate. Also, so not show the dialog
1350         if we are in DRT mode.
1351         * webkit/webkitglobals.cpp:
1352         (webkitInit): No longer install our SoupFeature.
1353
1354 2012-10-23  Carlos Garcia Campos  <cgarcia@igalia.com>
1355
1356         Unreviewed. Update NEWS and configure.ac for 1.11.1 release
1357
1358         * NEWS: Added release notes for 1.11.1.
1359
1360 2012-10-23  Andras Becsi  <andras.becsi@digia.com>
1361
1362         Remove devicePixelRatio from ViewportAttributes
1363         https://bugs.webkit.org/show_bug.cgi?id=99845
1364
1365         Reviewed by Adam Barth.
1366
1367         * webkit/webkitviewportattributes.cpp:
1368         (webkitViewportAttributesRecompute):
1369         Pass the device pixel ratio as a function argument.
1370
1371 2012-10-22  Jocelyn Turcotte  <jocelyn.turcotte@digia.com>
1372
1373         [Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page
1374         https://bugs.webkit.org/show_bug.cgi?id=98514
1375
1376         Reviewed by Kenneth Rohde Christiansen.
1377
1378         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1379         (WebKit::FrameLoaderClient::transitionToCommittedForNewPage):
1380
1381 2012-10-10  Brady Eidson  <beidson@apple.com>
1382
1383         Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
1384         https://bugs.webkit.org/show_bug.cgi?id=98976
1385
1386         Reviewed by Anders Carlsson.
1387
1388         * webkit/webkitwebdatasource.cpp:
1389         (webkit_web_data_source_get_data):
1390
1391 2012-10-10  Jon Lee  <jonlee@apple.com>
1392
1393         [WK2] Activate plugins when user clicks on snapshot
1394         https://bugs.webkit.org/show_bug.cgi?id=98328
1395         <rdar://problem/12426681>
1396
1397         Reviewed by Brady Eidson.
1398
1399         * WebCoreSupport/FrameLoaderClientGtk.h:
1400         (WebKit::FrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
1401
1402 2012-10-10  Sheriff Bot  <webkit.review.bot@gmail.com>
1403
1404         Unreviewed, rolling out r130853.
1405         http://trac.webkit.org/changeset/130853
1406         https://bugs.webkit.org/show_bug.cgi?id=98873
1407
1408         The rollout was incorrect (Requested by zdobersek on #webkit).
1409
1410         * webkit/webkitwebview.cpp:
1411         (resizeWebViewFromAllocation):
1412         (webkit_web_view_size_allocate):
1413         (webkitWebViewMap):
1414
1415 2012-10-09  Sheriff Bot  <webkit.review.bot@gmail.com>
1416
1417         Unreviewed, rolling out r130838.
1418         http://trac.webkit.org/changeset/130838
1419         https://bugs.webkit.org/show_bug.cgi?id=98860
1420
1421         The patch is causing X errors (=> crashes) on GTK 64-bit
1422         Release builder (Requested by zdobersek on #webkit).
1423
1424         * webkit/webkitwebview.cpp:
1425         (resizeWebViewFromAllocation):
1426         (webkit_web_view_size_allocate):
1427         (webkitWebViewMap):
1428
1429 2012-10-09  Daniel Drake  <dsd@laptop.org>
1430
1431         [GTK] Plugins don't display
1432         https://bugs.webkit.org/show_bug.cgi?id=98789
1433
1434         Reviewed by Martin Robinson.
1435
1436         Fix a recent regression where plugin content was not being displayed.
1437         Bringing webkit_web_view_size_allocate in line with the WebKit2
1438         equivalent solves the issue.
1439
1440         * webkit/webkitwebview.cpp:
1441         (resizeWebViewFromAllocation): pass allocation request to children
1442         even when the allocation size does not change.
1443         (webkit_web_view_size_allocate): don't bail too early if the
1444         allocation size does not change.
1445
1446 2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1447
1448         Rename first/second to key/value in HashMap iterators
1449         https://bugs.webkit.org/show_bug.cgi?id=82784
1450
1451         Reviewed by Eric Seidel.
1452
1453         * WebCoreSupport/PlatformStrategiesGtk.cpp:
1454         (PlatformStrategiesGtk::getPluginInfo):
1455         * webkit/webkitfavicondatabase.cpp:
1456         (webkitFaviconDatabaseImportFinished):
1457         * webkit/webkitwebplugin.cpp:
1458         (webkit_web_plugin_get_mimetypes):
1459
1460 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
1461
1462         Final part of "sync" to "flush" renaming
1463         https://bugs.webkit.org/show_bug.cgi?id=98430
1464
1465         Reviewed by Tim Horton.
1466
1467         Change method names on GraphicsLayer and GraphicsLayerClient that
1468         refer to "sync" to use the term "flush" instead, to be consistent
1469         with the rest of the code.
1470
1471         * WebCoreSupport/AcceleratedCompositingContext.h:
1472         (AcceleratedCompositingContext):
1473         * WebCoreSupport/AcceleratedCompositingContextCairo.cpp:
1474         (WebKit::AcceleratedCompositingContext::attachRootGraphicsLayer):
1475         (WebKit::AcceleratedCompositingContext::resizeRootLayer):
1476         (WebKit::AcceleratedCompositingContext::syncLayersNow):
1477         (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
1478         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
1479         (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
1480         (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
1481         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
1482         (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
1483         (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
1484
1485 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
1486
1487         Standardize on "flush" terminology for compositing layer flushing/syncing
1488         https://bugs.webkit.org/show_bug.cgi?id=98321
1489
1490         Reviewed by Simon Fraser.
1491
1492         Rename compositing-related methods that refer to "syncing" to instead
1493         refer to "flushing".
1494
1495         * WebCoreSupport/ChromeClientGtk.cpp:
1496         (WebKit::ChromeClient::scheduleCompositingLayerFlush):
1497         * WebCoreSupport/ChromeClientGtk.h:
1498         (ChromeClient):
1499
1500 2012-10-02  Anders Carlsson  <andersca@apple.com>
1501
1502         Change most GraphicsLayer::create calls to use the version that takes a GraphicsLayerFactory
1503         https://bugs.webkit.org/show_bug.cgi?id=98217
1504
1505         Reviewed by Andreas Kling.
1506
1507         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
1508         (WebKit::AcceleratedCompositingContext::initialize):
1509
1510 2012-10-02  Carlos Garcia Campos  <cgarcia@igalia.com>
1511
1512         [GTK] Add API to get the web view that initiated a custom URI request to WebKit2 GTK+
1513         https://bugs.webkit.org/show_bug.cgi?id=97895
1514
1515         Reviewed by Martin Robinson.
1516
1517         * WebCoreSupport/FrameNetworkingContextGtk.cpp:
1518         (WebKit::FrameNetworkingContextGtk::initiatingPageID): Stub
1519         implementation.
1520         * WebCoreSupport/FrameNetworkingContextGtk.h:
1521         (FrameNetworkingContextGtk): Added.
1522
1523 2012-10-02  Adrian Perez de Castro  <aperez@igalia.com>
1524
1525         [GTK] Value not returned warning with geolocation disabled
1526         https://bugs.webkit.org/show_bug.cgi?id=98148
1527
1528         Reviewed by Xan Lopez.
1529
1530         With geolocation disabled in the build, return a sensible value from
1531         DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests.
1532         This also avoids a compiler warning.
1533
1534         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1535         (DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests):
1536
1537 2012-10-01  Brady Eidson  <beidson@apple.com>
1538
1539         Remove the Safari 2 -> Safari 3 icon database import code.
1540         https://bugs.webkit.org/show_bug.cgi?id=98113
1541
1542         Reviewed by Maciej Stachowiak.
1543
1544         Nuke the performImport() IconDatabaseClient method.
1545
1546         * webkit/webkitfavicondatabase.cpp:
1547         (IconDatabaseClientGtk):
1548
1549 2012-10-01  Arnaud Renevier  <a.renevier@sisa.samsung.com>
1550
1551         [Gtk] crash when accelerated composition is turned off
1552         https://bugs.webkit.org/show_bug.cgi?id=98099
1553
1554         Reviewed by Martin Robinson.
1555
1556         frame->view()->updateLayoutAndStyleIfNeededRecursive() may reset root
1557         compositing layer in flushAndRenderLayers. So, we check if compositing
1558         is enabled afterwards, and return if it is not.
1559
1560         This bug is handled by LayoutTests/compositing/toggle-compositing.html
1561
1562         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
1563         (WebKit::AcceleratedCompositingContext::flushAndRenderLayers):
1564
1565 2012-10-01  Claudio Saavedra  <csaavedra@igalia.com>
1566
1567         [GTK] Save original uri for downloaded files
1568         https://bugs.webkit.org/show_bug.cgi?id=95188
1569
1570         Reviewed by Carlos Garcia Campos.
1571
1572         gvfs stores metadata locally, and this information can later be
1573         used by file management applications. Based on a patch by
1574         Alexander Larsson <alexl@redhat.com>.
1575
1576         * webkit/webkitdownload.cpp:
1577         (webkit_download_open_stream_for_uri): Save the download-uri as
1578         file metadata.
1579
1580 2012-10-01  Claudio Saavedra  <csaavedra@igalia.com>
1581
1582         [GTK] WebKitDownload: use more of GOwnPtr/GRefPtr
1583         https://bugs.webkit.org/show_bug.cgi?id=98009
1584
1585         Reviewed by Carlos Garcia Campos.
1586
1587         Use more GOwnPtr/GRefPtr in WebKitDownload
1588
1589         * webkit/webkitdownload.cpp:
1590         (webkit_download_open_stream_for_uri): Use GRefPtr
1591         for a GFile and GOwnPtr for GError.
1592         (webkit_download_set_destination_uri): Ditto.
1593         (webkit_download_received_data): Use GOwnPtr for GError.
1594
1595 2012-09-28  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
1596
1597         Code inside FrameLoaderClient::canShowMIMEType() implementations can be shared among different WK ports
1598         https://bugs.webkit.org/show_bug.cgi?id=97547
1599
1600         Reviewed by Adam Barth.
1601
1602         Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used
1603         inside WebKit::FrameLoaderClient::canShowMIMEType().
1604
1605         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1606         (WebKit::FrameLoaderClient::canShowMIMEType):
1607
1608 2012-09-28  Huang Dongsung  <luxtella@company100.net>
1609
1610         [GTK] Enable CSS Shaders layout LayoutTests on GTK+
1611         https://bugs.webkit.org/show_bug.cgi?id=97821
1612
1613         Reviewed by Martin Robinson.
1614
1615         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1616         (DumpRenderTreeSupportGtk::setCSSCustomFilterEnabled): Pass through to Settings object.
1617         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1618         (DumpRenderTreeSupportGtk):
1619
1620 2012-09-27  Allan Sandfeld Jensen  <allan.jensen@digia.com>
1621
1622         Unify event handling of middle mouse button.
1623         https://bugs.webkit.org/show_bug.cgi?id=97690
1624
1625         Reviewed by Tony Chang.
1626
1627         Remove port specific handling of middle mouse button press.
1628
1629         * WebCoreSupport/EditorClientGtk.cpp:
1630         (WebKit::EditorClient::supportsGlobalSelection):
1631         * WebCoreSupport/EditorClientGtk.h:
1632         (EditorClient):
1633         * webkit/webkitwebview.cpp:
1634         (webkit_web_view_button_press_event):
1635
1636 2012-09-26  Gustavo Noronha Silva  <gns@gnome.org>
1637
1638         Unreviewed build fix after 129707.
1639
1640         * webkit/webkitwebview.cpp:
1641         (webkit_web_view_forward_context_menu_event):
1642
1643 2012-09-26  Martin Robinson  <mrobinson@igalia.com>
1644
1645         [GTK] Use XDamage to simplify RedirectedXCompositeWindow
1646         https://bugs.webkit.org/show_bug.cgi?id=97267
1647
1648         Reviewed by Alejandro G. Castro.
1649
1650         Use XDamage to queue redraws of the widget when redirecting accelerated compositing
1651         to an offscreen window. This allows removing a finicky timer-based approach, improves
1652         performance, and allows simplifying things greatly.
1653
1654         * GNUmakefile.am: Add the XDamage CFLAGS and LIBS.
1655         * WebCoreSupport/AcceleratedCompositingContext.h:
1656         (AcceleratedCompositingContext): Change the signature of compositeLayersToContext
1657         to accept an enum that explains the composite purpose.
1658         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
1659         (WebKit::redirectedWindowDamagedCallback): Added.
1660         (WebKit::AcceleratedCompositingContext::initialize): Handle the situation where
1661         the RedirectedXCompositeWindow returns a null pointer.
1662         (WebKit::AcceleratedCompositingContext::enabled): Ditto.
1663         (WebKit::AcceleratedCompositingContext::renderLayersToWindow): Remove the code handling
1664         the usable size of the RedirectedXCompositeWindow. The usable size is now always equal
1665         to the size.
1666         (WebKit::AcceleratedCompositingContext::compositeLayersToContext): When drawing for a
1667         resize, first clear the entire context. Remove the double swap-buffer, as it's no
1668         longer necessary.
1669         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer): Handle the case that
1670         the redirected window is null.
1671         (WebKit::AcceleratedCompositingContext::resizeRootLayer): Instead of doing another
1672         immediate layer flush, just recomposite the current layer state and schedule a new
1673         flush. This should make resizing faster.
1674         (WebKit::AcceleratedCompositingContext::flushAndRenderLayers): We no longer need to
1675         queue a redraw, unless we want to force one.
1676
1677 2012-09-26  Zan Dobersek  <zandobersek@gmail.com>
1678
1679         [GTK] Enable some of the unstable CSS features
1680         https://bugs.webkit.org/show_bug.cgi?id=97572
1681
1682         Reviewed by Martin Robinson.
1683
1684         Add a helper DumpRenderTreeSupportGtk method for enabling
1685         the <style scoped> support in WebCore. This is used in DumpRenderTree.
1686
1687         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1688         (DumpRenderTreeSupportGtk::setShadowDOMEnabled): Add missing
1689         ENABLE(SHADOW_DOM) compilation guards.
1690         (DumpRenderTreeSupportGtk::setStyleScopedEnabled):
1691         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1692         (DumpRenderTreeSupportGtk): Remove the 'enabled' parameter name from both
1693         setShadowDOMEnabled and setStyleScopedEnabled method declarations as it adds
1694         no information and is causing style warnings.
1695
1696 2012-09-25  Beth Dakin  <bdakin@apple.com>
1697
1698         https://bugs.webkit.org/show_bug.cgi?id=95397
1699         Need to merge didFirstVisuallyNonEmptyLayout and 
1700         didNewFirstVisuallyNonEmptyLayout
1701         -and corresponding-
1702         <rdar://problem/10791680>
1703
1704         Reviewed by Sam Weinig.
1705
1706         Remove dispatchDidFirstLayout, 
1707         dispatchDidFirstVisuallyNonEmptyLayout, and 
1708         dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality 
1709         is now replaced by dispatchDidLayout(LayoutMilestoneOptions)
1710         * WebCoreSupport/FrameLoaderClientGtk.cpp:
1711         (WebKit::FrameLoaderClient::dispatchDidLayout):
1712         * WebCoreSupport/FrameLoaderClientGtk.h:
1713         (FrameLoaderClient):
1714
1715         It is now necessary to opt into getting any of the 
1716         "layout milestone" notifications.
1717         * webkit/webkitwebview.cpp:
1718         (webkit_web_view_init):
1719
1720 2012-09-25  Paweł Forysiuk  <tuxator@o2.pl>
1721
1722         [GTK] Webkit 1.8.2 fails to build with MinGW with spellchecking enabled
1723         https://bugs.webkit.org/show_bug.cgi?id=93255
1724
1725         Reviewed by Martin Robinson.
1726
1727         Build dies because of invalid cast. Additionaly word "interface" is in use with MinGW compiler.
1728
1729         * WebCoreSupport/TextCheckerClientGtk.cpp:
1730         (WebKit::TextCheckerClientGtk::checkSpellingOfString): Use String to avoid unneded casting
1731         * webkit/webkitspellcheckerenchant.cpp:
1732         (webkit_spell_checker_enchant_spell_checker_interface_init): rename interface -> checkerInterface
1733
1734 2012-09-24  Benjamin Poulain  <bpoulain@apple.com>
1735
1736         Fix Geolocation error reporting in the test support
1737         https://bugs.webkit.org/show_bug.cgi?id=97386
1738
1739         Reviewed by Sam Weinig.
1740
1741         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1742         (DumpRenderTreeSupportGtk::setMockGeolocationPositionUnavailableError):
1743         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1744         (DumpRenderTreeSupportGtk):
1745
1746 2012-09-24  Zan Dobersek  <zandobersek@gmail.com>
1747
1748         [Gtk] Unskip the Shadow DOM layout tests
1749         https://bugs.webkit.org/show_bug.cgi?id=90776
1750
1751         Reviewed by Ryosuke Niwa.
1752
1753         Add a method for enabling the Shadow DOM through RuntimeEnabledFeatures.
1754         The method is called from DumpRenderTree when resetting state.
1755
1756         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1757         (DumpRenderTreeSupportGtk::setShadowDOMEnabled):
1758         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1759         (DumpRenderTreeSupportGtk):
1760
1761 2012-09-24  Joone Hur  <joone.hur@intel.com>
1762
1763         [GTK] Implement GraphicsLayer using Clutter
1764         https://bugs.webkit.org/show_bug.cgi?id=73767
1765
1766         Reviewed by Martin Robinson.
1767
1768         This patch is needed for enabling Accelerated Compositing(Clutter backend)
1769         with the patches submitted in bug 92045 and 91940.
1770
1771         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
1772         (WebKit::AcceleratedCompositingContext::scrollNonCompositedContents): Added to fix bulid break.
1773         (WebKit):
1774
1775 2012-09-19  Danilo Cesar Lemes de Paula  <danilo.cesar@collabora.co.uk>
1776
1777         [gtk] add enable-media-stream to websettings
1778         https://bugs.webkit.org/show_bug.cgi?id=94361
1779
1780         Reviewed by Martin Robinson.
1781
1782         Applications should be allowed to enable/disable MediaStream on webkitwebsettings.
1783
1784         * webkit/webkitwebsettings.cpp:
1785         (webkit_web_settings_class_init):
1786         (webkit_web_settings_set_property):
1787         (webkit_web_settings_get_property):
1788         * webkit/webkitwebsettingsprivate.h:
1789         * webkit/webkitwebview.cpp:
1790         (webkit_web_view_update_settings):
1791
1792 2012-09-14  Zan Dobersek  <zandobersek@gmail.com>
1793
1794         [GTK] Clear application cache between tests in DumpRenderTree
1795         https://bugs.webkit.org/show_bug.cgi?id=96543
1796
1797         Reviewed by Philippe Normand.
1798
1799         Add a method to the DumpRenderTreeSupportGtk class that upon calling
1800         clears the application cache and vacuums the database file.
1801
1802         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1803         (DumpRenderTreeSupportGtk::clearApplicationCache):
1804         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1805         (DumpRenderTreeSupportGtk):
1806
1807 2012-09-13  Sheriff Bot  <webkit.review.bot@gmail.com>
1808
1809         Unreviewed, rolling out r128453.
1810         http://trac.webkit.org/changeset/128453
1811         https://bugs.webkit.org/show_bug.cgi?id=96681
1812
1813         Having tests use the same appcache directory leads to timeouts
1814         (Requested by zdobersek on #webkit).
1815
1816         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1817         (DumpRenderTreeSupportGtk::clearMemoryCache):
1818         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1819         (DumpRenderTreeSupportGtk):
1820
1821 2012-09-13  Zan Dobersek  <zandobersek@gmail.com>
1822
1823         [GTK] Clear application cache between tests in DumpRenderTree
1824         https://bugs.webkit.org/show_bug.cgi?id=96543
1825
1826         Reviewed by Philippe Normand.
1827
1828         Add a method to the DumpRenderTreeSupportGtk class that upon calling
1829         clears the application cache and vacuums the database file.
1830
1831         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1832         (DumpRenderTreeSupportGtk::clearApplicationCache):
1833         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1834         (DumpRenderTreeSupportGtk):
1835
1836 2012-09-12  Siraj Razick  <siraj.razick@collabora.co.uk>
1837
1838         [GTK] Update AcceleratedCompositingContextClutter to match AcceleratedCompositingContext.h API update
1839         https://bugs.webkit.org/show_bug.cgi?id=96165
1840
1841         Reviewed by Martin Robinson.
1842
1843         Due to the refactoring done in bug #90085 AcceleratedCompositingContext API changed, as a result
1844         AcceleratedCompositingContextClutter doesn't compile anymore. This patch is to update the
1845         AcceleratedCompositingContextClutter implementations to match the API update, and Make webkit
1846         AC backend compile again.
1847
1848         * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
1849         (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
1850         (WebKit::AcceleratedCompositingContext::~AcceleratedCompositingContext):
1851         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
1852         (WebKit::AcceleratedCompositingContext::setNonCompositedContentsNeedDisplay):
1853         (WebKit::flushAndRenderLayersCallback):
1854         (WebKit::AcceleratedCompositingContext::scheduleLayerFlush):
1855         (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
1856         (WebKit::AcceleratedCompositingContext::flushAndRenderLayers):
1857
1858 2012-09-11  Arnaud Renevier  <a.renevier@sisa.samsung.com>
1859
1860         [Gtk] allow building with css-shaders
1861         https://bugs.webkit.org/show_bug.cgi?id=95603
1862
1863         Reviewed by Martin Robinson.
1864
1865         Add enable-css-shaders property to WebKit WebSettings, and connects it
1866         to WebCore settings setCSSCustomFilterEnabled.
1867
1868         * webkit/webkitwebsettings.cpp:
1869         (webkit_web_settings_class_init):
1870         (webkit_web_settings_set_property):
1871         (webkit_web_settings_get_property):
1872         * webkit/webkitwebsettingsprivate.h:
1873         * webkit/webkitwebview.cpp:
1874         (webkit_web_view_update_settings):
1875         (webkit_web_view_settings_notify):
1876
1877 2012-09-09  Emil A Eklund  <eae@chromium.org>
1878
1879         Rename Node::getRect/getPixelSnappedRect and remove ContainerNode::getRect
1880         https://bugs.webkit.org/show_bug.cgi?id=81413
1881
1882         Reviewed by David Hyatt.
1883
1884         Update ChromeClientGtk and webkitwebview to call pixelSnappedBoundingBox.
1885
1886         * WebCoreSupport/ChromeClientGtk.cpp:
1887         (WebKit::ChromeClient::mouseDidMoveOverElement):
1888         * webkit/webkitwebview.cpp:
1889         (getLocationForKeyboardGeneratedContextMenu):
1890         (webkit_web_view_query_tooltip):
1891
1892 2012-09-07  Martin Robinson  <mrobinson@igalia.com>
1893
1894         [GTK] Move user agent helpers to WebCore
1895         https://bugs.webkit.org/show_bug.cgi?id=95745
1896
1897         Reviewed by Carlos Garcia Campos.
1898
1899         Move the code for determining the user agent to WebCore and have WebKit1
1900         use the new shared code.
1901
1902         * webkit/webkitwebsettings.cpp: Use the WebCore code to determine the user
1903         agent in WebKit1.
1904
1905 2012-09-05  Sam Weinig  <sam@webkit.org>
1906
1907         Part 2 of removing PlatformString.h, remove PlatformString.h
1908         https://bugs.webkit.org/show_bug.cgi?id=95931
1909
1910         Reviewed by Adam Barth.
1911
1912         Remove PlatformString.h
1913
1914         * WebCoreSupport/ChromeClientGtk.cpp:
1915         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1916         * WebCoreSupport/InspectorClientGtk.cpp:
1917         * gdom/ConvertToGCharPrivate.h:
1918         * webkit/webkitsecurityorigin.cpp:
1919         * webkit/webkitwebdatasource.cpp:
1920         * webkit/webkitwebhistoryitem.cpp:
1921         * webkit/webkitwebresource.cpp:
1922
1923 2012-09-06  Carlos Garcia Campos  <cgarcia@igalia.com>
1924
1925         [GTK] Add API to get/set the security policy of a given URI scheme
1926         https://bugs.webkit.org/show_bug.cgi?id=95549
1927
1928         Reviewed by Martin Robinson.
1929
1930         Add WebKitSecurityPolicy enum with flags that represent the
1931         security policy of a URI scheme. Add methods to get and set the
1932         security policy flags for a given URI scheme.
1933
1934         * docs/webkitgtk-sections.txt: Add new symbols.
1935         * tests/testglobals.c:
1936         (test_globals_security_policy):
1937         (main):
1938         * webkit/webkitglobals.cpp:
1939         (webkit_set_security_policy_for_uri_scheme):
1940         (webkit_get_security_policy_for_uri_scheme):
1941         * webkit/webkitglobals.h:
1942
1943 2012-09-05  Kaustubh Atrawalkar  <kaustubh@motorola.com>
1944
1945         [DRT] LTC:: Move printing related APIs from LayoutTestController to Internals
1946         https://bugs.webkit.org/show_bug.cgi?id=92735
1947
1948         Reviewed by Hajime Morita.
1949
1950         Move numberOfPages, pageProperty & pageSizeAndMarginsInPixels in Internals and remove duplicated code from DumprenderTree & WebkitTestRunner.
1951
1952         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
1953         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
1954         (DumpRenderTreeSupportGtk):
1955
1956 2012-09-04  Joanmarie Diggs  <jdiggs@igalia.com>
1957
1958         [GTK] Crash in AccessibilityObject::accessibilityPlatformIncludesObject()
1959         https://bugs.webkit.org/show_bug.cgi?id=95740
1960
1961         Reviewed by Martin Robinson.
1962
1963         Updated unit test.
1964
1965         * tests/testatk.c:
1966         (testWebkitAtkComboBox): Added checks that the menu popup in a combo box
1967         has 0 links and, more importantly, that checking doesn't result in a crash.
1968
1969 2012-09-01  Joanmarie Diggs  <jdiggs@igalia.com>
1970
1971         [Gtk] Incorrect/unexpected characters in the text of certain accessibles
1972         https://bugs.webkit.org/show_bug.cgi?id=95180
1973
1974         Reviewed by Chris Fleizach.
1975
1976         Corrected a unit test in which the expected accessible text was wrong as
1977         a result of this bug. In particular, the AtkText inserted into an empty
1978         text field is expected to be the same text atk_text_get_text() returns.
1979         That was not happening -- and presumably not noticed as a result of the
1980         hard to read textual representation of the multibyte password field
1981         bullets.
1982
1983         * tests/testatk.c:
1984         (testWebkitAtkTextChangedNotifications): Corrected the test and added a
1985         comment so that one knows what the multibyte character is.
1986
1987 2012-08-31  José Dapena Paz  <jdapena@igalia.com>
1988
1989         [GTK] Assert on ChromeClientGtk::scroll with delta (0, -1).
1990         https://bugs.webkit.org/show_bug.cgi?id=95590
1991
1992         Change the assert to avoid hitting when the delta does not have any
1993         value > 0.
1994
1995         Reviewed by Martin Robinson.
1996
1997         * WebCoreSupport/ChromeClientGtk.cpp:
1998         (WebKit::ChromeClient::scroll):
1999
2000 2012-08-30  Benjamin Poulain  <bpoulain@apple.com>
2001
2002         Replace JSC::UString by WTF::String
2003         https://bugs.webkit.org/show_bug.cgi?id=95271
2004
2005         Reviewed by Geoffrey Garen.
2006
2007         Replace UString by String.
2008
2009         * gdom/ConvertToGCharPrivate.h:
2010         (copyAsGchar):
2011
2012 2012-08-30  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2013
2014         Use ASCIILiteral for DEFINE_STATIC_LOCAL string
2015         https://bugs.webkit.org/show_bug.cgi?id=95420
2016
2017         Reviewed by Benjamin Poulain.
2018
2019         As recommended by http://trac.webkit.org/wiki/EfficientStrings,
2020         WebKit needs to use ASCIILiteral for the string of DEFINE_STATIC_LOCAL.
2021
2022         * webkit/webkitwebsettings.cpp:
2023         (webkitPlatform):
2024         (webkitOSVersion):
2025
2026 2012-08-29  José Dapena Paz  <jdapena@igalia.com>
2027
2028         [Gtk] Process Gtk 3.4 smooth scroll events properly.
2029         https://bugs.webkit.org/show_bug.cgi?id=88070
2030
2031         Gtk 3.3.18 added smooth scroll events, adding a new scroll direction that
2032         provides detailed delta information.
2033
2034         Added GDK_SMOOTH_SCROLL_MASK to the events listened, and added
2035         code to process properly the new direction GDK_SCROLL_SMOOTH and
2036         its deltas.
2037
2038         Reviewed by Martin Robinson.
2039
2040         * webkit/webkitwebview.cpp:
2041         (webkit_web_view_realize):
2042
2043 2012-08-28  Martin Robinson  <mrobinson@igalia.com>
2044
2045         [GTK] Enable the edge distance anti-aliasing for accelerated compositing layers
2046         https://bugs.webkit.org/show_bug.cgi?id=95272
2047
2048         Reviewed by No'am Rosenthal.
2049
2050         Turn on edge-distance anti-aliasing for GTK+ WebKit1. This
2051         improves the quality of layer rendering.
2052
2053         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2054         (WebKit::AcceleratedCompositingContext::initialize):
2055
2056 2012-08-28  Sheriff Bot  <webkit.review.bot@gmail.com>
2057
2058         Unreviewed, rolling out r126914.
2059         http://trac.webkit.org/changeset/126914
2060         https://bugs.webkit.org/show_bug.cgi?id=95239
2061
2062         it breaks everything and fixes nothing (Requested by pizlo on
2063         #webkit).
2064
2065         * WebCoreSupport/PlatformStrategiesGtk.cpp:
2066         (PlatformStrategiesGtk::getPluginInfo):
2067         * webkit/webkitfavicondatabase.cpp:
2068         (webkitFaviconDatabaseImportFinished):
2069         * webkit/webkitwebplugin.cpp:
2070         (webkit_web_plugin_get_mimetypes):
2071
2072 2012-08-28  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2073
2074         Rename first/second to key/value in HashMap iterators
2075         https://bugs.webkit.org/show_bug.cgi?id=82784
2076
2077         Reviewed by Eric Seidel.
2078
2079         * WebCoreSupport/PlatformStrategiesGtk.cpp:
2080         (PlatformStrategiesGtk::getPluginInfo):
2081         * webkit/webkitfavicondatabase.cpp:
2082         (webkitFaviconDatabaseImportFinished):
2083         * webkit/webkitwebplugin.cpp:
2084         (webkit_web_plugin_get_mimetypes):
2085
2086 2012-08-27  Zan Dobersek  <zandobersek@gmail.com>
2087
2088         [GTK] Memory cache should be cleared in between test runs
2089         https://bugs.webkit.org/show_bug.cgi?id=95105
2090
2091         Reviewed by Martin Robinson.
2092
2093         Add a DumpRenderTreeSupportGtk helper method that clears the
2094         memory cache when called.
2095
2096         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2097         (DumpRenderTreeSupportGtk::clearMemoryCache):
2098         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2099         (DumpRenderTreeSupportGtk):
2100
2101 2012-08-27  Sheriff Bot  <webkit.review.bot@gmail.com>
2102
2103         Unreviewed, rolling out r126836.
2104         http://trac.webkit.org/changeset/126836
2105         https://bugs.webkit.org/show_bug.cgi?id=95163
2106
2107         Broke all Apple ports, EFL, and Qt. (Requested by tkent on
2108         #webkit).
2109
2110         * WebCoreSupport/PlatformStrategiesGtk.cpp:
2111         (PlatformStrategiesGtk::getPluginInfo):
2112         * webkit/webkitfavicondatabase.cpp:
2113         (webkitFaviconDatabaseImportFinished):
2114         * webkit/webkitwebplugin.cpp:
2115         (webkit_web_plugin_get_mimetypes):
2116
2117 2012-08-27  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2118
2119         Rename first/second to key/value in HashMap iterators
2120         https://bugs.webkit.org/show_bug.cgi?id=82784
2121
2122         Reviewed by Eric Seidel.
2123
2124         * WebCoreSupport/PlatformStrategiesGtk.cpp:
2125         (PlatformStrategiesGtk::getPluginInfo):
2126         * webkit/webkitfavicondatabase.cpp:
2127         (webkitFaviconDatabaseImportFinished):
2128         * webkit/webkitwebplugin.cpp:
2129         (webkit_web_plugin_get_mimetypes):
2130
2131 2012-08-27  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
2132
2133         Rename RegisterProtocolHandler API to NavigatorContentUtils
2134         https://bugs.webkit.org/show_bug.cgi?id=94920
2135
2136         Reviewed by Adam Barth.
2137
2138         Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
2139         RegisterProtocolHandlerClientGtk is renamed to NavigatorContentUtilsClientGtk.
2140
2141         * GNUmakefile.am:
2142         * WebCoreSupport/NavigatorContentUtilsClientGtk.cpp: Renamed from Source/WebKit/gtk/WebCoreSupport/RegisterProtocolHandlerClientGtk.cpp.
2143         (WebKit):
2144         (WebKit::NavigatorContentUtilsClient::create):
2145         (WebKit::NavigatorContentUtilsClient::NavigatorContentUtilsClient):
2146         (WebKit::NavigatorContentUtilsClient::registerProtocolHandler):
2147         * WebCoreSupport/NavigatorContentUtilsClientGtk.h: Renamed from Source/WebKit/gtk/WebCoreSupport/RegisterProtocolHandlerClientGtk.h.
2148         (WebKit):
2149         (NavigatorContentUtilsClient):
2150         (WebKit::NavigatorContentUtilsClient::~NavigatorContentUtilsClient):
2151         * webkit/webkitwebview.cpp:
2152         (webkit_web_view_init):
2153         * webkit/webkitwebviewprivate.h:
2154
2155 2012-08-23  Carlos Garcia Campos  <cgarcia@igalia.com>
2156
2157         REGRESSION(r126306): it broke the plugin process
2158         https://bugs.webkit.org/show_bug.cgi?id=94797
2159
2160         Reviewed by Xan Lopez.
2161
2162         * GNUmakefile.am:
2163
2164 2012-08-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2165
2166         [GTK] Crash when finalizing WebKitWebView
2167         https://bugs.webkit.org/show_bug.cgi?id=94699
2168
2169         Reviewed by Martin Robinson.
2170
2171         Create the offscreen window the first time accelerated compositing
2172         is enabled, so that if it's never enabled the window won't be
2173         created.
2174
2175         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2176         (WebKit::AcceleratedCompositingContext::AcceleratedCompositingContext):
2177         (WebKit::AcceleratedCompositingContext::initialize):
2178         (WebKit::AcceleratedCompositingContext::setRootCompositingLayer):
2179
2180 2012-08-22  Gustavo Noronha Silva  <gns@gnome.org>
2181
2182         [GTK] Split WebCore/platform into a separate library
2183         https://bugs.webkit.org/show_bug.cgi?id=94435
2184
2185         Reviewed by Martin Robinson.
2186
2187         More people have been reporting problems when linking WebCore because
2188         the command line limit is being exceeded. Splitting WebCore a bit more
2189         is in order.
2190
2191         * GNUmakefile.am: link libWebCorePlatform into libwebkitgtk
2192
2193 2012-08-22  Carlos Garcia Campos  <cgarcia@igalia.com>
2194
2195         [GTK] Preferred languages and spellchecker APIs are not consistent in WebKit2
2196         https://bugs.webkit.org/show_bug.cgi?id=94683
2197
2198         Reviewed by Alejandro G. Castro.
2199
2200         * webkit/webkitspellcheckerenchant.cpp:
2201         (updateSpellCheckingLanguages): Split the languages string to pass a
2202         Vector to updateSpellCheckingLanguages().
2203
2204 2012-08-21  Joanmarie Diggs  <jdiggs@igalia.com>
2205         [Gtk] No accessible caret-moved events found in certain content
2206         https://bugs.webkit.org/show_bug.cgi?id=72811
2207
2208         Reviewed by Chris Fleizach.
2209
2210         Part of the bug is due to objects which should claim to implement AtkText
2211         failed to do so as a result of containing a mixture of inline and block
2212         spans.
2213
2214         An updated unit test was provided.
2215
2216         * tests/testatk.c:
2217         (testWebkitAtkCaretOffsets): Added instances of objects containing a
2218         mixture of inline and block spans and tested that they implement AtkText
2219         and contain the right textual contents.
2220
2221 2012-08-21  Kihong Kwon  <kihong.kwon@samsung.com>
2222
2223         [EFL][GTK][BlackBerry] Fix build error in the DeviceOrientationClient
2224         https://bugs.webkit.org/show_bug.cgi?id=94586
2225
2226         Reviewed by Kentaro Hara.
2227
2228         Fix build error in the DeviceOrientationClientGtk.cpp.
2229         It is occured because DeviceOrientation is changed to DeviceOrientationData in the WebCore.
2230
2231         * WebCoreSupport/DeviceOrientationClientGtk.cpp:
2232         (WebKit::DeviceOrientationClientGtk::lastOrientation):
2233
2234 2012-08-21  Martin Robinson  <mrobinson@igalia.com>
2235
2236         [GTK] Using a native window for the WebView breaks GtkOverlay
2237         https://bugs.webkit.org/show_bug.cgi?id=90085
2238
2239         Reviewed by Alejandro G. Castro.
2240
2241         Rewrite AcceleratedCompositingContext for TextureMapperGL to be more similar to
2242         the WebKit2 LayerTreeHost and switch from rendering directly to the widget window
2243         to a window redirected to a pixmap via XComposite. The AcceleratedCompositingContext
2244         now handles painting the non-composited content itself and no longer relies on the
2245         ChromeClient backing store.
2246
2247         This fixes issues with using GtkOverlay WebKitWebView as well as making it possible
2248         to run pixel tests with accelerated compositing turned on.
2249
2250         * WebCoreSupport/AcceleratedCompositingContext.h:
2251         (AcceleratedCompositingContext):
2252         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2253         Rename some methods to make them more similar to LayerTreeHost. Now we wait to render
2254         the OpenGL context to the window until the widget's draw signal. Escape out of all
2255         methods early if accelerated compositing is disabled.
2256         * WebCoreSupport/ChromeClientGtk.cpp: Always check if accelerated compositing is on
2257         before calling into AcceleratedCompositingContext methods. When AC is on, never paint
2258         the backing store, deferring immediately to the AcceleratedCompositingContext. When
2259         AC is turned on the backing store now shrinks to a small size to save memory.
2260         * webkit/webkitwebview.cpp:
2261         (resizeWebViewFromAllocation): ChromeClient is now responsible for talking to the
2262         AcceleratedCompositingContext directly.
2263         (webkit_web_view_size_allocate): Exit early if the allocation is not a resize. This
2264         makes some deeper logic a bit simpler and avoids accidentally doing too much work for
2265         widget movement.
2266         (webkit_web_view_realize): We no longer need a native window.
2267
2268 2012-08-15  Joanmarie Diggs  <jdiggs@igalia.com>
2269
2270         [Gtk] atk_text_set_caret_offset() fails for table cells
2271         https://bugs.webkit.org/show_bug.cgi?id=83501
2272
2273         Reviewed by Chris Fleizach.
2274
2275         Update unit test to include setting the caret in a table cell via the AtkText interface.
2276
2277         * tests/testatk.c:
2278         (testWebkitAtkCaretOffsets): Add setting the caret inside the text of a table cell.
2279
2280 2012-08-15  Joanmarie Diggs  <jdiggs@igalia.com>
2281
2282         [Gtk] atk_text_get_text_at_offset() fails to provide the correct line for paragraphs in list items whose text wraps
2283         https://bugs.webkit.org/show_bug.cgi?id=83435
2284
2285         Reviewed by Chris Fleizach.
2286
2287         Updated unit test to include a paragraph in a list item when testing atk_text_get_text_at_offset().
2288
2289         * tests/testatk.c:
2290         (testWebkitAtkGetTextAtOffsetWithSpecialCharacters):
2291
2292 2012-08-14  Adam Barth  <abarth@webkit.org>
2293
2294         Delete Frame::domWindow() and Frame::existingDOMWindow()
2295         https://bugs.webkit.org/show_bug.cgi?id=93990
2296
2297         Reviewed by Eric Seidel.
2298
2299         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2300         (DumpRenderTreeSupportGtk::getPendingUnloadEventCount):
2301
2302 2012-08-13  Tom Sepez  <tsepez@chromium.org>
2303
2304         [chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
2305         https://bugs.webkit.org/show_bug.cgi?id=93283
2306
2307         Reviewed by Eric Seidel.
2308
2309         Change the client redirectDataToPlugin method(s) to expect the possibility of
2310         a NULL argument, keeping existing behaviour otherwise.
2311
2312         * WebCoreSupport/FrameLoaderClientGtk.cpp:
2313         (WebKit::FrameLoaderClient::redirectDataToPlugin):
2314
2315 2012-08-13  Martin Robinson  <mrobinson@igalia.com>
2316
2317         [GTK] Default signal handler for WebKitWebView::should-show-delete-interface-for-element overrides default result
2318         https://bugs.webkit.org/show_bug.cgi?id=93600
2319
2320         Reviewed by Xan Lopez.
2321
2322         Instead of using the default editing signal handler for ::should-show-delete-interface-for-element,
2323         do not use a default signal handler. This means that the result of the signal defaults to FALSE,
2324         which is the expected value to ensure that the delete interface is not shown.
2325
2326         * webkit/webkitwebview.cpp:
2327         (webkit_web_view_class_init): Do not install a default signal handler.
2328
2329 2012-08-13  Mario Sanchez Prada  <msanchez@igalia.com>
2330
2331         [GTK] Implementation of atk_editable_text_insert_text ignores 'length' parameter
2332         https://bugs.webkit.org/show_bug.cgi?id=93804
2333
2334         Reviewed by Carlos Garcia Campos.
2335
2336         Update unit tests to also check inserting a partial string.
2337
2338         * tests/testatk.c:
2339         (testWebkitAtkTextChangedNotifications): Update test.
2340
2341 2012-08-10  Alice Cheng  <alice_cheng@apple.com>
2342
2343         Part 1 of: Extend -webkit-user-select with a new value "all"
2344         <rdar://problem/10161404>
2345         https://bugs.webkit.org/show_bug.cgi?id=93562
2346
2347         Reviewed by Dan Bernstein.
2348
2349         Modify the enum to resolve ambiguous reference
2350
2351         * webkit/webkitwebview.cpp:
2352         (webkit_web_view_class_init): Modify the ambiguous enum
2353         (webkit_web_view_select_all): Modify the ambiguous enum
2354
2355 2012-08-10  Mario Sanchez Prada  <msanchez@igalia.com>
2356
2357         [GTK] Broken implementation of AtkText and AtkEditableText for password fields
2358         https://bugs.webkit.org/show_bug.cgi?id=93621
2359
2360         Reviewed by Chris Fleizach.
2361
2362         Update unit test to ensure that password input fields behave
2363         as expected when inserting and removing characters in them.
2364
2365         * tests/testatk.c:
2366         (testWebkitAtkTextChangedNotifications): Updated unit test to
2367         cover the special case of password input fields.
2368
2369 2012-08-09  Carlos Garcia Campos  <cgarcia@igalia.com>
2370
2371         Handle SSL errors for SOUP
2372         https://bugs.webkit.org/show_bug.cgi?id=90267
2373
2374         Reviewed by Martin Robinson.
2375
2376         Ignore SSL errors by default for compatibility.
2377
2378         * webkit/webkitglobals.cpp:
2379         (webkitInit):
2380
2381 2012-08-07  Carlos Garcia Campos  <cgarcia@igalia.com>
2382
2383         Unreviewed. Fix GTK+ build with GTK2 after r120918.
2384
2385         * tests/testwebview.c:
2386
2387 2012-08-06  Carlos Garcia Campos  <cgarcia@igalia.com>
2388
2389         Unreviewed. Update NEWS and configure.ac for 1.9.6 release
2390
2391         * NEWS: Added release notes for 1.9.6.
2392
2393 2012-08-06  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
2394
2395         [EFL] [GTK] Register Protocol Handler Client is never deleted
2396         https://bugs.webkit.org/show_bug.cgi?id=92745
2397
2398         Reviewed by Gustavo Noronha Silva.
2399
2400         Added usage of OwnPtr to manage register protocol handler client pointer.
2401
2402         * WebCoreSupport/RegisterProtocolHandlerClientGtk.cpp:
2403         (WebKit::RegisterProtocolHandlerClient::create): Factory function returning smart pointer.
2404         (WebKit):
2405         * WebCoreSupport/RegisterProtocolHandlerClientGtk.h:
2406         (RegisterProtocolHandlerClient):
2407         * webkit/webkitwebview.cpp:
2408         (webkit_web_view_init):
2409         * webkit/webkitwebviewprivate.h:
2410
2411 2012-08-03  Mario Sanchez Prada  <msanchez@igalia.com>
2412
2413         [GTK] Add a new and reusable enchant-based spellchecker in WebCore
2414         https://bugs.webkit.org/show_bug.cgi?id=90269
2415
2416         Reviewed by Martin Robinson.
2417
2418         Remove enchant specific code from WebKitSpellCheckerEnchant and
2419         implement it relying in the new TextCheckerEnchant class in WebCore.
2420
2421         * webkit/webkitspellcheckerenchant.cpp:
2422         (_WebKitSpellCheckerEnchantPrivate):
2423         (webkit_spell_checker_enchant_finalize):
2424         (webkit_spell_checker_enchant_class_init):
2425         (webkit_spell_checker_enchant_init):
2426         (checkSpellingOfString):
2427         (getGuessesForWord):
2428         (updateSpellCheckingLanguages):
2429         (learnWord):
2430         (ignoreWord):
2431
2432 2012-08-02  Claudio Saavedra  <csaavedra@igalia.com>
2433
2434         [GTK] Add WebKitNetworkResponse::suggested-filename property
2435         https://bugs.webkit.org/show_bug.cgi?id=92878
2436
2437         Reviewed by Carlos Garcia Campos.
2438
2439         Webcore has API the suggested filename for a response, add
2440         a property and getter for it in WebKitNetworkResponse.
2441
2442         * docs/webkitgtk-sections.txt: Add the symbols
2443         * webkit/webkitnetworkresponse.cpp:
2444         (_WebKitNetworkResponsePrivate): Add suggested_filename.
2445         (webkit_network_response_finalize): Free it on finalize
2446         (webkit_network_response_get_property): Add the getter call.
2447         (webkit_network_response_class_init): Install the property.
2448         (webkit_network_response_get_suggested_filename): New getter.
2449         * webkit/webkitnetworkresponse.h: Add the declaration to header
2450         file.
2451
2452 2012-07-31  Sheriff Bot  <webkit.review.bot@gmail.com>
2453
2454         Unreviewed, rolling out r124207.
2455         http://trac.webkit.org/changeset/124207
2456         https://bugs.webkit.org/show_bug.cgi?id=92773
2457
2458         Patch causes crashes on the 64-bit debug builder (and other
2459         builders likely) (Requested by zdobersek on #webkit).
2460
2461         * webkit/webkitspellcheckerenchant.cpp:
2462         (_WebKitSpellCheckerEnchantPrivate):
2463         (createEnchantBrokerIfNeeded):
2464         (freeSpellCheckingLanguage):
2465         (webkit_spell_checker_enchant_finalize):
2466         (webkit_spell_checker_enchant_class_init):
2467         (webkit_spell_checker_enchant_init):
2468         (wordEndIsAContractionApostrophe):
2469         (checkSpellingOfString):
2470         (getGuessesForWord):
2471         (getAvailableDictionariesCallback):
2472         (updateSpellCheckingLanguages):
2473         (learnWord):
2474         (ignoreWord):
2475
2476 2012-07-31  Mario Sanchez Prada  <msanchez@igalia.com>
2477
2478         [GTK] Add a new and reusable enchant-based spellchecker in WebCore
2479         https://bugs.webkit.org/show_bug.cgi?id=90269
2480
2481         Reviewed by Martin Robinson.
2482
2483         Remove enchant specific code from WebKitSpellCheckerEnchant and
2484         implement it relying in the new TextCheckerEnchant class in WebCore.
2485
2486         * webkit/webkitspellcheckerenchant.cpp:
2487         (_WebKitSpellCheckerEnchantPrivate):
2488         (webkit_spell_checker_enchant_finalize):
2489         (webkit_spell_checker_enchant_class_init):
2490         (webkit_spell_checker_enchant_init):
2491         (checkSpellingOfString):
2492         (getGuessesForWord):
2493         (updateSpellCheckingLanguages):
2494         (learnWord):
2495         (ignoreWord):
2496
2497 2012-07-30  Martin Robinson  <mrobinson@igalia.com>
2498
2499         [GTK] New lines automatically and repeatedly added to list items in Etherpad
2500         https://bugs.webkit.org/show_bug.cgi?id=89971
2501
2502         Reviewed by Ryosuke Niwa.
2503
2504         Disable the deletion UI by default. This UI, which was enabled as a side-effect
2505         of the addition of the private editing API, seems to expose a bug in Etherpad
2506         which causes the continuous insertion of bullet points.
2507
2508         * WebCoreSupport/EditorClientGtk.cpp:
2509         (WebKit::EditorClient::shouldShowDeleteInterface): Disable the deletion UI by default.
2510
2511 2012-07-30  Sheriff Bot  <webkit.review.bot@gmail.com>
2512
2513         Unreviewed, rolling out r123966 and r123967.
2514         http://trac.webkit.org/changeset/123966
2515         http://trac.webkit.org/changeset/123967
2516         https://bugs.webkit.org/show_bug.cgi?id=92656
2517
2518         This patch is causing assertion failures on the debug bot
2519         (also rolling out a dependent patch) (Requested by mrobinson
2520         on #webkit).
2521
2522         * webkit/webkitspellcheckerenchant.cpp:
2523         (_WebKitSpellCheckerEnchantPrivate):
2524         (createEnchantBrokerIfNeeded):
2525         (freeSpellCheckingLanguage):
2526         (webkit_spell_checker_enchant_finalize):
2527         (webkit_spell_checker_enchant_class_init):
2528         (webkit_spell_checker_enchant_init):
2529         (wordEndIsAContractionApostrophe):
2530         (checkSpellingOfString):
2531         (getGuessesForWord):
2532         (getAvailableDictionariesCallback):
2533         (updateSpellCheckingLanguages):
2534         (learnWord):
2535         (ignoreWord):
2536
2537 2012-07-30  Claudio Saavedra  <csaavedra@igalia.com>
2538
2539         [Gtk] Add WK1 API for snapshot retrieval
2540         https://bugs.webkit.org/show_bug.cgi?id=92261
2541
2542         Reviewed by Martin Robinson.
2543
2544         Add API to WebKitWebView to retrieve a snapshot of its
2545         visible contents as a cairo_surface_t.
2546
2547         * docs/webkitgtk-sections.txt: Add new symbols.
2548         * webkit/webkitwebview.cpp:
2549         (webkit_web_view_get_snapshot): New
2550         method to paint a webview snapshot.
2551         * webkit/webkitwebview.h: Ditto.
2552
2553 2012-07-28  Mario Sanchez Prada  <msanchez@igalia.com>
2554
2555         [GTK] Add a new and reusable enchant-based spellchecker in WebCore
2556         https://bugs.webkit.org/show_bug.cgi?id=90269
2557
2558         Reviewed by Martin Robinson.
2559
2560         Remove enchant specific code from WebKitSpellCheckerEnchant and
2561         implement it relying in the new TextCheckerEnchant class in WebCore.
2562
2563         * webkit/webkitspellcheckerenchant.cpp:
2564         (_WebKitSpellCheckerEnchantPrivate):
2565         (webkit_spell_checker_enchant_finalize):
2566         (webkit_spell_checker_enchant_class_init):
2567         (webkit_spell_checker_enchant_init):
2568         (checkSpellingOfString):
2569         (getGuessesForWord):
2570         (updateSpellCheckingLanguages):
2571         (learnWord):
2572         (ignoreWord):
2573
2574 2012-07-26  Kaustubh Atrawalkar  <kaustubh@motorola.com>
2575
2576         [DRT] LTC:: pageNumberForElementById() could be moved to Internals
2577         https://bugs.webkit.org/show_bug.cgi?id=92091
2578
2579         Reviewed by Adam Barth.
2580
2581         Move the pageNumberForElementById from LayoutTestCotroller to Internals and
2582         remove the old platform specific implementations as it exclusively tests WebCore functionality.
2583
2584         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2585         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2586         (DumpRenderTreeSupportGtk):
2587
2588 2012-07-24  Kaustubh Atrawalkar  <kaustubh@motorola.com>
2589
2590         [DRT] LTC:: pageNumberForElementById() could be moved to Internals
2591         https://bugs.webkit.org/show_bug.cgi?id=92091
2592
2593         Reviewed by Adam Barth.
2594
2595         Move the pageNumberForElementById from LayoutTestCotroller to Internals and
2596         remove the old platform specific implementations as it exclusively tests WebCore functionality.
2597
2598         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2599         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2600         (DumpRenderTreeSupportGtk):
2601
2602 2012-07-23  Pierre Rossi  <pierre.rossi@gmail.com>
2603
2604         Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
2605         https://bugs.webkit.org/show_bug.cgi?id=91006
2606
2607         Reviewed by Ryosuke Niwa.
2608
2609         Remove numTouchEventHandlersChanged stub.
2610
2611         * WebCoreSupport/ChromeClientGtk.h:
2612
2613 2012-07-17  Vivek Galatage  <vivekgalatage@gmail.com>
2614
2615         Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
2616         https://bugs.webkit.org/show_bug.cgi?id=91196
2617
2618         Reviewed by Pavel Feldman.
2619
2620         Refactoring InspectorClients. InspectorClient::openInspectorFrontend
2621         now returning the InspectorFrontendChannel.
2622
2623         * WebCoreSupport/InspectorClientGtk.cpp:
2624         (WebKit::InspectorClient::openInspectorFrontend):
2625         * WebCoreSupport/InspectorClientGtk.h:
2626         (InspectorClient):
2627
2628 2012-07-16  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
2629
2630         Add RegisterProtocolHandlerClient to the Modules/protocolhandler
2631         https://bugs.webkit.org/show_bug.cgi?id=90940
2632
2633         Reviewed by Hajime Morita.
2634
2635         As a step to let protocol handler be moved to the modules, RegisterProtocolHandlerClient needs
2636         to be added to the Modules/protocolhandler. Because ChromeClient has some virtual functions for
2637         protocol handlers, virtual functions should be moved to RegisterProtocolHandlerClient.
2638
2639         In order to support this, RegisterProtocolHandlerClientGtk class is added and webview registers
2640         RegisterProtocolHandlerClientGtk. In addition, existing concrete functions in ChromeClientGtk are moved
2641         to RegisterProtocolHandlerClientGtk.
2642
2643         * GNUmakefile.am:
2644         * WebCoreSupport/ChromeClientGtk.cpp:
2645         * WebCoreSupport/ChromeClientGtk.h:
2646         (ChromeClient):
2647         * WebCoreSupport/RegisterProtocolHandlerClientGtk.cpp: Added.
2648         (WebKit):
2649         (WebKit::RegisterProtocolHandlerClient::RegisterProtocolHandlerClient):
2650         (WebKit::RegisterProtocolHandlerClient::registerProtocolHandler):
2651         * WebCoreSupport/RegisterProtocolHandlerClientGtk.h: Added.
2652         (WebKit):
2653         (RegisterProtocolHandlerClient):
2654         (WebKit::RegisterProtocolHandlerClient::~RegisterProtocolHandlerClient):
2655         * webkit/webkitwebview.cpp:
2656         (webkit_web_view_init):
2657
2658 2012-07-16  Carlos Garcia Campos  <cgarcia@igalia.com>
2659
2660         Unreviewed. Update NEWS and configure.ac for 1.9.5 release
2661
2662         * NEWS: Added release notes for 1.9.5.
2663
2664 2012-07-10  Adam Barth  <abarth@webkit.org>
2665
2666         WebCore::Settings for Hixie76 WebSocket protocol doesn't do anything and should be removed
2667         https://bugs.webkit.org/show_bug.cgi?id=90910
2668
2669         Reviewed by Eric Seidel.
2670
2671         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2672         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2673         (DumpRenderTreeSupportGtk):
2674         * webkit/webkitwebview.cpp:
2675         (webkit_web_view_update_settings):
2676
2677 2012-07-10  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
2678
2679         [GTK] Fix memory leaks by adopting allocation of GdkPixbuf
2680         https://bugs.webkit.org/show_bug.cgi?id=90790
2681
2682         Reviewed by Carlos Garcia Campos.
2683
2684         Fixed a memory leak in WebKitFaviconDatabase by adopting an
2685         allocation of GdkPixbuf.
2686
2687         * webkit/webkitfavicondatabase.cpp:
2688         (getIconPixbufSynchronously):
2689
2690 2012-07-10  Adam Barth  <abarth@webkit.org>
2691
2692         LayoutTestController.dumpConfigurationForViewport should move to Internals
2693         https://bugs.webkit.org/show_bug.cgi?id=45652
2694
2695         Reviewed by Eric Seidel.
2696
2697         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2698         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2699         (DumpRenderTreeSupportGtk):
2700
2701 2012-07-09  Adam Klein  <adamk@chromium.org>
2702
2703         Rename WebCore::WebKitMutationObserver to WebCore::MutationObserver
2704         https://bugs.webkit.org/show_bug.cgi?id=90810
2705
2706         Reviewed by Ojan Vafai.
2707
2708         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2709         (DumpRenderTreeSupportGtk::deliverAllMutationsIfNecessary):
2710
2711 2012-07-09  Zan Dobersek  <zandobersek@gmail.com>
2712
2713         [Gtk] Implement dumpFrameScrollPosition in DumpRenderTree
2714         https://bugs.webkit.org/show_bug.cgi?id=89356
2715
2716         Reviewed by Martin Robinson.
2717
2718         Add a new method for returning the WebKitDOMDocument that is loaded
2719         in a given frame, webkit_web_frame_get_dom_document.
2720
2721         * docs/webkitgtk-sections.txt:
2722         * webkit/webkitwebframe.cpp:
2723         (webkit_web_frame_get_dom_document):
2724         * webkit/webkitwebframe.h:
2725         * webkit/webkitwebview.cpp: State explicitly that the document being returned
2726         when calling webkit_web_view_get_dom_document is loaded in the main frame.
2727         Also call the webkit_web_frame_get_dom_document on WebKitWebView's main frame
2728         to get the document.
2729
2730 2012-07-09  Zan Dobersek  <zandobersek@gmail.com>
2731
2732         [Gtk] Unskip the CSS Regions layout tests
2733         https://bugs.webkit.org/show_bug.cgi?id=90771
2734
2735         Reviewed by Martin Robinson.
2736
2737         Add a method to DumpRenderTreeSupportGtk for enabling or disabling
2738         CSS Regions from DumpRenderTree.
2739
2740         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2741         (DumpRenderTreeSupportGtk::setCSSRegionsEnabled):
2742         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2743         (DumpRenderTreeSupportGtk):
2744
2745 2012-07-09  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
2746
2747         [GTK] Memory leak in webkitwebnavigationaction.cpp
2748         https://bugs.webkit.org/show_bug.cgi?id=90787
2749
2750         Reviewed by Martin Robinson.
2751
2752         Fixed a memory leak in WebKitWebNavigationAction.
2753
2754         * webkit/webkitwebnavigationaction.cpp:
2755         (webkit_web_navigation_action_finalize): Free the g_strdup()'d string.
2756
2757 2012-07-07  Zan Dobersek  <zandobersek@gmail.com>
2758
2759         REGRESSION (r122035): fullscreen/exit-full-screen-iframe.html failing on GTK Linux 64-bit Release
2760         https://bugs.webkit.org/show_bug.cgi?id=90719
2761
2762         Reviewed by Martin Robinson.
2763
2764         Follow the approach of the BlackBerry port outlined in r122035, using in exitFullScreenForElement
2765         the fullscreen element to which the reference was saved when enterFullScreenForElement was called.
2766
2767         * WebCoreSupport/ChromeClientGtk.cpp:
2768         (WebKit::ChromeClient::exitFullScreenForElement):
2769
2770 2012-07-02  Benjamin Poulain  <bpoulain@apple.com>
2771
2772         Do not do any logging initialization when logging is disabled
2773         https://bugs.webkit.org/show_bug.cgi?id=90228
2774
2775         Reviewed by Simon Fraser.
2776
2777         * webkit/webkitglobals.cpp:
2778         (webkitInit):
2779
2780 2012-06-29  Tony Chang  <tony@chromium.org>
2781
2782         [GTK] Enable CSS grid layout LayoutTests on GTK+
2783         https://bugs.webkit.org/show_bug.cgi?id=90226
2784
2785         Reviewed by Martin Robinson.
2786
2787         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2788         (DumpRenderTreeSupportGtk::setCSSGridLayoutEnabled): Pass through to Settings object.
2789         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
2790         (DumpRenderTreeSupportGtk):
2791
2792 2012-06-29  Konrad Piascik  <kpiascik@rim.com>
2793
2794         Don't hardcode target dpi of 160 (it should be 96 on desktop)
2795         https://bugs.webkit.org/show_bug.cgi?id=88114
2796
2797         Reviewed by Adam Barth.
2798
2799         Updated the call to computeViewportAttributes.
2800
2801         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2802         (DumpRenderTreeSupportGtk::dumpConfigurationForViewport):
2803         * webkit/webkitviewportattributes.cpp:
2804         (webkitViewportAttributesRecompute):
2805
2806 2012-06-25  Mark Hahnenberg  <mhahnenberg@apple.com>
2807
2808         JSLock should be per-JSGlobalData
2809         https://bugs.webkit.org/show_bug.cgi?id=89123
2810
2811         Reviewed by Geoffrey Garen.
2812
2813         Changed all sites that used JSLock to instead use the new JSLockHolder
2814         and pass in the correct JS context that the code is about to interact with that 
2815         needs protection. Also added a couple JSLocks to places that didn't already 
2816         have it that needed it.
2817
2818         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2819         (DumpRenderTreeSupportGtk::gcCountJavascriptObjects):
2820
2821 2012-06-27  Martin Robinson  <mrobinson@igalia.com>
2822
2823         [gtk] Spell checker doesn't recognize contractions (apostrophes)
2824         https://bugs.webkit.org/show_bug.cgi?id=86118
2825
2826         Reviewed by Gustavo Noronha Silva.
2827
2828         Work-around a bug in Pango by trying to detect apostrophes
2829         that create contractions. This work-around is similar to one
2830         found in gtkspell.
2831
2832         * webkit/webkitspellcheckerenchant.cpp:
2833         (wordEndIsAContractionApostrophe): Added this helper which tries to detect
2834         situations where a word end is both an apostrophe and followed by a alphabetic
2835         character.
2836         (checkSpellingOfString): When searching for the end of a word, skip over
2837         apostrophes that appear to be part of contractions.
2838
2839 2012-06-27  Zan Dobersek  <zandobersek@gmail.com>
2840
2841         [Gtk] Add support for the Gamepad API
2842         https://bugs.webkit.org/show_bug.cgi?id=87503
2843
2844         Reviewed by Carlos Garcia Campos.
2845
2846         Add the Gamepad feature dependencies libraries to the LIBADD
2847         list for the libwebkitgtk library.
2848
2849         * GNUmakefile.am:
2850
2851 2012-06-25  Carlos Garcia Campos  <cgarcia@igalia.com>
2852
2853         Unreviewed. Update NEWS and configure.ac for 1.9.4 release
2854
2855         * NEWS: Added release notes for 1.9.4.
2856
2857 2012-06-23  Sheriff Bot  <webkit.review.bot@gmail.com>
2858
2859         Unreviewed, rolling out r121058.
2860         http://trac.webkit.org/changeset/121058
2861         https://bugs.webkit.org/show_bug.cgi?id=89809
2862
2863         Patch causes plugins tests to crash in GTK debug builds
2864         (Requested by zdobersek on #webkit).
2865
2866         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2867         (DumpRenderTreeSupportGtk::gcCountJavascriptObjects):
2868
2869 2012-06-20  Mark Hahnenberg  <mhahnenberg@apple.com>
2870
2871         JSLock should be per-JSGlobalData
2872         https://bugs.webkit.org/show_bug.cgi?id=89123
2873
2874         Reviewed by Gavin Barraclough.
2875
2876         Changed all sites that used JSLock to instead use the new JSLockHolder
2877         and pass in the correct JS context that the code is about to interact with that 
2878         needs protection.
2879
2880         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
2881         (DumpRenderTreeSupportGtk::gcCountJavascriptObjects):
2882
2883 2012-06-22  Amy Ousterhout  <aousterh@chromium.org>
2884
2885         Renamed DeviceOrientation to DeviceOrientationData
2886         https://bugs.webkit.org/show_bug.cgi?id=88663
2887
2888         Reviewed by Steve Block.
2889
2890         Updated files to use the renamed DeviceOrientationData instead of DeviceOrientation.
2891         This change makes DeviceOrientationData consistent with DeviceMotionData.
2892         
2893         * WebCoreSupport/DeviceOrientationClientGtk.h:
2894         (DeviceOrientationClientGtk):
2895
2896 2012-06-21  Daniel Drake  <dsd@laptop.org>
2897
2898         [GTK] Backport run-file-chooser to WebKit1
2899         https://bugs.webkit.org/show_bug.cgi?id=87283
2900
2901         Reviewed by Gustavo Noronha Silva.
2902
2903         This is a relatively straightforward backport of Mario Sanchez
2904         Prada's WebKit2 run-file-chooser signal work, intended for use by
2905         OLPC and others who are not quite ready to move to WebKit2.
2906
2907         Add a new public class to the API, WebKitFileChooserRequest, to be
2908         emitted along with a new WebKitWebView::run-file-chooser signal to
2909         let client applications to provide their own file chooser dialog
2910         when the use interacts with HTML Input elements of type 'file'.
2911
2912         * GNUmakefile.am: Added new source files and headers.
2913         * webkit/webkitfilechooserrequest.cpp: Added.
2914         (_WebKitFileChooserRequestPrivate):
2915         (webkit_file_chooser_request_init):
2916         (webkit_file_chooser_request_finalize):
2917         (webkit_file_chooser_request_get_property):
2918         (webkit_file_chooser_request_class_init):
2919         (webkit_file_chooser_request_create):
2920         (webkit_file_chooser_request_get_mime_types):
2921         (webkit_file_chooser_request_get_mime_types_filter):
2922         (webkit_file_chooser_request_get_select_multiple):
2923         (webkit_file_chooser_request_select_files):
2924         (webkit_file_chooser_request_get_selected_files):
2925         * webkit/webkitfilechooserrequest.h: Added.
2926         (_WebKitFileChooserRequest):
2927         (_WebKitFileChooserRequestClass):
2928         * webkit/webkitfilechooserrequestprivate.h: Added, 
2929         containing the prototype of webkit_file_chooser_request_create.
2930
2931         Provide private API to make a file chooser request from the
2932         WebView, and provide a default handler for it.
2933
2934         * webkit/webkitwebview.cpp:
2935         (fileChooserDialogResponseCallback): Handler for the 'response'
2936         signal for the GtkFileChooserDialog used in the default
2937         handler. It will call to webkit_file_chooser_request_select_files
2938         or webkit_file_chooser_request_cancel as needed.
2939         (webkitWebViewRealRunFileChooser): Default handler for the new
2940         'run-file-chooser' signal. It will create a GtkFileChooserDialog,
2941         connect to the 'response' signal and show it.
2942         (webkit_web_view_class_init): Connect the 'run-file-chooser'
2943         signal to the default handler, webkitWebViewRunFileChooser.
2944         (webkit_web_view_new):
2945         (webkitWebViewRunFileChooserRequest):
2946         * webkit/webkitwebview.h:
2947         (_WebKitWebViewClass): Added prototype for the handler of the new
2948         'run-file-chooser' signal.
2949         * webkit/webkitwebviewprivate.h: Added prototype for
2950         private new function webkitWebViewRunFileChooserRequest.
2951
2952         Update runOpenPanel to use the new API, including a default handler
2953         with similar behaviour to before.
2954
2955         * WebCoreSupport/ChromeClientGtk.cpp:
2956         (WebKit::ChromeClient::runOpenPanel): Now creates an instance of
2957         WebKitFileChooserRequest and asks the WebView to emit the
2958         new 'run-file-chooser' signal with it.
2959
2960         Added the new public header to the main header.
2961
2962         * webkit/webkit.h: Added webkitfilechooserrequest.h
2963
2964         New unit tests for the new WebKitFileChooserRequest API.
2965
2966         * tests/testwebview.c: Various WebKitFileChooserRequest tests,
2967         including MIME type filtering and selection handling.
2968
2969         Updated documentation related files with the new API.
2970
2971         * docs/webkitgtk-docs.sgml: Added new section.
2972         * docs/webkitgtk-sections.txt: Added new API.
2973         * docs/webkitgtk.types: Added get_type function.
2974
2975 2012-06-19  Chang Wan Hong  <jourmoon@company100.net>
2976
2977         Refine syncLayersTimeoutCallback for Accelerated Compositing.
2978         https://bugs.webkit.org/show_bug.cgi?id=89538
2979
2980         Reviewed by Martin Robinson.
2981
2982         syncLayersTimeout reschedules the timer so that it can render each frame
2983         every 1/60 seconds on animation. However, because it takes to time to execute
2984         renderLayersToWindow, the timer is delayed. To fix this, we must reschedule
2985         the timer before calling renderLayersToWindow.
2986
2987         * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
2988         (WebKit::AcceleratedCompositingContext::syncLayersTimeout):
2989
2990 2012-06-19  Sergio Villar Senin  <svillar@igalia.com>
2991
2992         Calling nativeImageForCurrentFrame() causes assertion failure: m_verifier.isSafeToUse()
2993         https://bugs.webkit.org/show_bug.cgi?id=67582
2994
2995         Reviewed by David Levin.
2996
2997         Use synchronousNativeIconForPageURL() to retrieve favicons.
2998
2999         * webkit/webkitfavicondatabase.cpp:
3000         (getIconPixbufSynchronously):
3001
3002 2012-06-18  Mario Sanchez Prada  <msanchez@igalia.com>
3003
3004         [GTK] Get rid of DumpRenderTreeSupportGtk::{in|de}crementAccessibilityValue
3005         https://bugs.webkit.org/show_bug.cgi?id=89226
3006
3007         Reviewed by Martin Robinson.
3008
3009         Remove unnecesary functions incrementAccessibilityValue() and
3010         decrementAccessibilityValue() from DumpRenderTreeSupportGtk.
3011
3012         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3013         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3014         (DumpRenderTreeSupportGtk):
3015
3016 2012-06-14  Alejandro G. Castro  <alex@igalia.com>
3017
3018         [GTK] Add TextureMapper ImageBuffer support as a fallback from the hardware accelerated path
3019         https://bugs.webkit.org/show_bug.cgi?id=73634
3020
3021         Add the new graphics layer client that uses cairo to render the
3022         composition. The cairo transformations do not support perspective
3023         so in perspective cases we have just a representation not the real
3024         perspective transformation.
3025
3026         This patch adds a new implementation of already tested cases.
3027
3028         Reviewed by Martin Robinson.
3029
3030         * GNUmakefile.am:
3031         * WebCoreSupport/AcceleratedCompositingContext.h:
3032         (AcceleratedCompositingContext):
3033         * WebCoreSupport/AcceleratedCompositingContextCairo.cpp: Added.
3034         * WebCoreSupport/ChromeClientGtk.cpp:
3035         (WebKit::ChromeClient::invalidateWidgetRect): We need to
3036         invalidate the widget in this case because we do not directly
3037         render to a texture but to the widget surface.
3038         (WebKit::ChromeClient::paint): We can not render here, we have to
3039         invalidate and wait for the widget rendering.
3040         * webkit/webkitwebview.cpp:
3041         (webkit_web_view_draw): In this case the renderLayersToWindow
3042         requires the graphics context used to render in the window.
3043         (webkit_web_view_realize): Small cleanup of the priv variable
3044         definition.
3045
3046 2012-06-14  Zan Dobersek  <zandobersek@gmail.com>
3047
3048         [Gtk] Add support in DumpRenderTree for tracking repaints
3049         https://bugs.webkit.org/show_bug.cgi?id=87658
3050
3051         Reviewed by Martin Robinson.
3052
3053         Add methods to the DumpRenderTreeSupport class for controlling the
3054         status of repaint tracking along with retreiving and resetting the
3055         tracked repaints.
3056
3057         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3058         (DumpRenderTreeSupportGtk::setTracksRepaints):
3059         (DumpRenderTreeSupportGtk::isTrackingRepaints):
3060         (DumpRenderTreeSupportGtk::trackedRepaintRects):
3061         (DumpRenderTreeSupportGtk::resetTrackedRepaints):
3062         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3063         (DumpRenderTreeSupportGtk):
3064
3065 2012-06-13  Amy Ousterhout  <aousterh@chromium.org>
3066
3067         Rename currentDeviceMotion to lastMotion in DeviceMotionClient
3068         https://bugs.webkit.org/show_bug.cgi?id=88854
3069
3070         Reviewed by Adam Barth.
3071
3072         Rename the function currentDeviceMotion to lastMotion in DeviceMotionClient.
3073         This makes it consistent with the similar function lastOrientation in DeviceOrientationClient.
3074
3075         * WebCoreSupport/DeviceMotionClientGtk.cpp:
3076         (WebKit::DeviceMotionClientGtk::lastMotion):
3077         * WebCoreSupport/DeviceMotionClientGtk.h:
3078         (DeviceMotionClientGtk):
3079
3080 2012-06-11  Kaustubh Atrawalkar  <kaustubh@motorola.com>
3081
3082         [DRT] LTC:: counterValueForElementById() could be moved to Internals.
3083         https://bugs.webkit.org/show_bug.cgi?id=84406
3084
3085         Reviewed by Hajime Morita.
3086
3087         Move the counterValueForElementById from LayoutTestCotroller to Internals and
3088         remove the old platform specific implementations as it exclusively tests WebCore functionality.
3089
3090         * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
3091         * WebCoreSupport/DumpRenderTreeSupportGtk.h:
3092         (DumpRenderTreeSupportGtk):
3093
3094 2012-06-07  Simon Pena  <spena@igalia.com>
3095
3096         [GTK] deviceScaleFactor setting is not honored
3097         https://bugs.webkit.org/show_bug.cgi?id=88511
3098
3099         Reviewed by Gustavo Noronha Silva.
3100
3101         Honor the deviceScaleFactor property in the paintWebView
3102         method of the ChromeClientGtk.
3103
3104         * WebCoreSupport/ChromeClientGtk.cpp:
3105         (WebKit::paintWebView):
3106
3107 2012-06-04  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
3108
3109         [GTK] Memory leak in WebKitWebView
3110         https://bugs.webkit.org/show_bug.cgi?id=88214
3111
3112         Reviewed by Martin Robinson.
3113
3114         Fixed a memory leak in WebKitWebView by making
3115         GeolocationClientMock to be owned by the WebView.
3116
3117         * webkit/webkitwebview.cpp:
3118         (webkit_web_view_init):
3119         * webkit/webkitwebviewprivate.h:
3120
3121 2012-06-04  Carlos Garcia Campos  <cgarcia@igalia.com>
3122
3123         Unreviewed. Update NEWS and configure.ac for 1.9.3 release
3124
3125         * NEWS: Added release notes for 1.9.3.
3126
3127 2012-06-04  Mario Sanchez Prada  <msanchez@igalia.com>
3128
3129         [GTK] Remove geoclue dependency from WebKit API Layer
3130         https://bugs.webkit.org/show_bug.cgi?id=87801
3131
3132         Reviewed by Martin Robinson.
3133
3134         Make GeolocationClient for WebKitGTK+ use the new Geoclue-based
3135         geolocation provider available in WebCore.
3136
3137         * WebCoreSupport/GeolocationClientGtk.cpp:
3138         (WebKit):
3139         (WebKit::GeolocationClient::GeolocationClient):
3140         (WebKit::GeolocationClient::startUpdating):
3141         (WebKit::GeolocationClient::stopUpdating):
3142         (WebKit::GeolocationClient::setEnableHighAccuracy):
3143         (WebKit::GeolocationClient::notifyPositionChanged):
3144         (WebKit::GeolocationClient::notifyErrorOccurred):
3145         * WebCoreSupport/GeolocationClientGtk.h:
3146         (GeolocationClient):
3147
3148 2012-05-31  Hajime Morrita  <morrita@chromium.org>
3149
3150         REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
3151         https://bugs.webkit.org/show_bug.cgi?id=86859
3152
3153         Reviewed by Ryosuke Niwa.
3154
3155         * WebCoreSupport/TextCheckerClientGtk.h:
3156         (WebKit::TextCheckerClientGtk::requestCheckingOfString):
3157
3158 2012-05-31  Sheriff Bot  <webkit.review.bot@gmail.com>
3159
3160         Unreviewed, rolling out r119113.
3161         http://trac.webkit.org/changeset/119113
3162         https://bugs.webkit.org/show_bug.cgi?id=88016
3163
3164         This caused multiple regressions (Requested by mrobinson on
3165         #webkit).
3166
3167         * WebCoreSupport/TextCheckerClientGtk.cpp:
3168         (WebKit::TextCheckerClientGtk::checkSpellingOfString):
3169         * webkit/webkitspellcheckerenchant.cpp:
3170         (checkSpellingOfString):
3171
3172 2012-05-31  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
3173
3174         [GTK] Memory leak in webkit_web_view_init
3175         https://bugs.webkit.org/show_bug.cgi?id=87943
3176
3177         Reviewed by Martin Robinson.
3178
3179         Fixed a memory leak in webkit_web_view_init by making the
3180         UserMediaClientGtk to be owned by the WebView.
3181
3182         * webkit/webkitwebview.cpp:
3183         (webkit_web_view_init):
3184         * webkit/webkitwebviewprivate.h:
3185
3186 2012-05-31  Martin Robinson  <mrobinson@igalia.com>
3187
3188         Spell checker doesn't recognize contractions (apostrophes)
3189         https://bugs.webkit.org/show_bug.cgi?id=86118
3190
3191         Reviewed by Gustavo Noronha Silva.
3192
3193         The Enchant spell checker was breaking words on apostrophes, because
3194         apparently they were always being detected as Pango word-end
3195         characters. To know whether or not the apostrophe is a
3196         word end character requires looking at a string with a larger
3197         granularity than one character.
3198
3199         Simplify the way the we break strings, by search for non-graphable
3200         character manually to find word starts and ends. This has the side
3201         effect of removing the dependency on Pango and eliminating one copy.
3202
3203         This change also cleans up some misbehavior on the part of the
3204         WebCoreSupport layer which was not converting from Unicode character
3205         offsets to UTF-16. These offsets can be different if any of the
3206         characters in the UTF-16 string are surrogate pairs (non BMP
3207         characters).
3208
3209         * WebCoreSupport/TextCheckerClientGtk.cpp:
3210         (WebKit::TextCheckerClientGtk::checkSpellingOfString): Properly
3211         convert from Unicode offsets to UTF-16 offsets.
3212         * webkit/webkitspellcheckerenchant.cpp:
3213         (findByteOffsetToFirstNonGraphableCharacter): Added this helper.
3214         (getExtentsOfNextWord): Ditto.
3215         (wordIsSpelledCorrectlyInAtLeastOneDictionary): Ditto.
3216         (checkSpellingOfString): Don't split words on apostrophes.
3217
3218 2012-05-30  Sudarsana Nagineni  <sudarsana.nagineni@linux.intel.com>
3219
3220         [GTK] [WK2] Memory leak in webkitWebViewBaseStartDrag
3221         https://bugs.webkit.org/show_bug.cgi?id=87756
3222
3223         Reviewed by Carlos Garcia Campos.
3224
3225         Fixed a memory leak in drag and drop by using adoptRef instead
3226         of just getting a new reference of targetList.
3227
3228         * WebCoreSupport/DragClientGtk.cpp:
3229         (WebKit::DragClient::startDrag):
3230
3231 2012-05-25  Jesus Sanchez-Palencia  <jesus.palencia@openbossa.org>
3232
3233         WebKitTestRunner needs to support layoutTestController.setJavaScriptProfilingEnabled
3234         https://bugs.webkit.org/show_bug.cgi?id=42328
3235
3236         Reviewed by Eric Seidel.
3237
3238         * webkit/webkitwebinspector.cpp:
3239         (webkit_web_inspector_set_property):
3240
3241 2012-05-25  Lu Guanqun  <guanqun.lu@intel.com>
3242
3243         [GTK] fix compilation for webkitwebview.cpp
3244         https://bugs.webkit.org/show_bug.cgi?id=87473
3245
3246         Reviewed by Martin Robinson.
3247
3248         When ACCELERATED_COMPOSITING and TEXTURE_MAPPER_GL is not set,
3249         the local variable 'priv' won't be used. Therefore the following warning:
3250
3251         ../../../Source/WebKit/gtk/webkit/webkitwebview.cpp: In function ‘void webkit_web_view_realize(GtkWidget*)’:
3252         ../../../Source/WebKit/gtk/webkit/webkitwebview.cpp:971:27: warning: unused variable ‘priv’ [-Wunused-variable]
3253
3254         * webkit/webkitwebview.cpp:
3255         (webkit_web_view_realize):
3256
3257 == Rolled over to ChangeLog-2012-05-22 ==