Changeset 107941 in webkit


Ignore:
Timestamp:
Feb 16, 2012 8:41:38 AM (12 years ago)
Author:
sergio@webkit.org
Message:

[soup] Move important SoupSession feature initialization to WebCore
https://bugs.webkit.org/show_bug.cgi?id=68602

Reviewed by Martin Robinson.

Source/WebCore:

Moved content sniffer and decoder initialization from WebKit to
WebCore because network stuff will not work as expected without
them. Added also out-of-the-box proxy support to WebCore.

No new tests required as we're just moving stuff from WebKit to
WebCore.

  • platform/network/soup/ResourceHandleSoup.cpp:

(WebCore::ResourceHandle::defaultSession):

Source/WebKit/gtk:

Moved content sniffer and decoder initialization from WebKit to
WebCore because network stuff will not work as expected without
them.

No new tests required as we're just moving stuff from WebKit to
WebCore.

  • webkit/webkitglobals.cpp:

(webkitInit):

Source/WebKit2:

Moved content sniffer and decoder initialization from the
WebProcess to WebCore because network stuff will not work as
expected without them.

No new tests required as we're just moving stuff from the
WebProcess to WebCore.

  • WebProcess/gtk/WebProcessMainGtk.cpp:

(WebKit::WebProcessMainGtk):

Location:
trunk/Source
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r107940 r107941  
     12012-02-16  Sergio Villar Senin  <svillar@igalia.com>
     2
     3        [soup] Move important SoupSession feature initialization to WebCore
     4        https://bugs.webkit.org/show_bug.cgi?id=68602
     5
     6        Reviewed by Martin Robinson.
     7
     8        Moved content sniffer and decoder initialization from WebKit to
     9        WebCore because network stuff will not work as expected without
     10        them. Added also out-of-the-box proxy support to WebCore.
     11
     12        No new tests required as we're just moving stuff from WebKit to
     13        WebCore.
     14
     15        * platform/network/soup/ResourceHandleSoup.cpp:
     16        (WebCore::ResourceHandle::defaultSession):
     17
    1182012-02-16  Pavel Feldman  <pfeldman@google.com>
    219
  • trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp

    r107854 r107941  
    735735        session = soup_session_async_new();
    736736        g_object_set(session,
     737                     SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_CONTENT_DECODER,
     738                     SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_CONTENT_SNIFFER,
     739                     SOUP_SESSION_ADD_FEATURE_BY_TYPE, SOUP_TYPE_PROXY_RESOLVER_DEFAULT,
    737740                     SOUP_SESSION_MAX_CONNS, maxConnections,
    738                      SOUP_SESSION_MAX_CONNS_PER_HOST, maxConnectionsPerHost,
     741                     SOUP_SESSION_MAX_CONNS_PER_HOST, maxConnectionsPerHost,
     742                     SOUP_SESSION_SSL_USE_SYSTEM_CA_FILE, TRUE,
    739743                     NULL);
    740744    }
  • trunk/Source/WebKit/gtk/ChangeLog

    r107854 r107941  
     12012-02-16  Sergio Villar Senin  <svillar@igalia.com>
     2
     3        [soup] Move important SoupSession feature initialization to WebCore
     4        https://bugs.webkit.org/show_bug.cgi?id=68602
     5
     6        Reviewed by Martin Robinson.
     7
     8        Moved content sniffer and decoder initialization from WebKit to
     9        WebCore because network stuff will not work as expected without
     10        them.
     11
     12        No new tests required as we're just moving stuff from WebKit to
     13        WebCore.
     14
     15        * webkit/webkitglobals.cpp:
     16        (webkitInit):
     17
    1182012-01-31  Raphael Kubo da Costa  <kubo@profusion.mobi>
    219
  • trunk/Source/WebKit/gtk/webkit/webkitglobals.cpp

    r106559 r107941  
    337337    g_object_unref(authDialog);
    338338
    339     SoupSessionFeature* sniffer = static_cast<SoupSessionFeature*>(g_object_new(SOUP_TYPE_CONTENT_SNIFFER, NULL));
    340     soup_session_add_feature(session, sniffer);
    341     g_object_unref(sniffer);
    342 
    343     soup_session_add_feature_by_type(session, SOUP_TYPE_CONTENT_DECODER);
    344 
    345339#if USE(CLUTTER)
    346340    gtk_clutter_init(0, 0);
  • trunk/Source/WebKit2/ChangeLog

    r107914 r107941  
     12012-02-16  Sergio Villar Senin  <svillar@igalia.com>
     2
     3        [soup] Move important SoupSession feature initialization to WebCore
     4        https://bugs.webkit.org/show_bug.cgi?id=68602
     5
     6        Reviewed by Martin Robinson.
     7
     8        Moved content sniffer and decoder initialization from the
     9        WebProcess to WebCore because network stuff will not work as
     10        expected without them.
     11
     12        No new tests required as we're just moving stuff from the
     13        WebProcess to WebCore.
     14
     15        * WebProcess/gtk/WebProcessMainGtk.cpp:
     16        (WebKit::WebProcessMainGtk):
     17
    1182012-02-16  Adenilson Cavalcanti  <cavalcantii@gmail.com>
    219
  • trunk/Source/WebKit2/WebProcess/gtk/WebProcessMainGtk.cpp

    r105475 r107941  
    6161    SoupSession* session = WebCore::ResourceHandle::defaultSession();
    6262
    63     soup_session_add_feature_by_type(session, SOUP_TYPE_CONTENT_SNIFFER);
    64     soup_session_add_feature_by_type(session, SOUP_TYPE_CONTENT_DECODER);
    6563    soup_session_add_feature_by_type(session, WEB_TYPE_AUTH_DIALOG);
    6664
Note: See TracChangeset for help on using the changeset viewer.