Bug 128701

Summary: [EFL][WK1] Do not include libsoup header in the public headers
Product: WebKit Reporter: Ryuan Choi <ryuan.choi>
Component: WebKit EFLAssignee: Ryuan Choi <ryuan.choi>
Status: RESOLVED FIXED    
Severity: Normal CC: bunhere, cdumez, commit-queue, gyuyoung.kim, gyuyoung.kim, lucas.de.marchi, sergio
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch none

Description Ryuan Choi 2014-02-12 16:00:22 PST
Although ewebkit used libsoup internally, it's not good for EFL developers to use it.
Comment 1 Ryuan Choi 2014-02-12 16:05:05 PST
Created attachment 224022 [details]
Patch
Comment 2 Ryuan Choi 2014-02-12 16:12:03 PST
Created attachment 224023 [details]
Patch
Comment 3 Gyuyoung Kim 2014-02-12 16:37:09 PST
Comment on attachment 224023 [details]
Patch

Basically, I agree not to open libsoup header in ewk header. However, it would be good to replace those APIs with new wrapper APIs together.
Comment 4 Ryuan Choi 2014-02-12 16:59:20 PST
(In reply to comment #3)
> (From update of attachment 224023 [details])
> Basically, I agree not to open libsoup header in ewk header. However, it would be good to replace those APIs with new wrapper APIs together.

Basically, I think that it is wrong approach to expose session directly.

In my opinion, we'd better to expose proper APIs like ewk_view_proxy_uri_set instead of exposing setter/getter of session and letting application developers learn extra libraries.
Comment 5 Gyuyoung Kim 2014-02-12 17:08:37 PST
(In reply to comment #4)
> (In reply to comment #3)
> > (From update of attachment 224023 [details] [details])
> > Basically, I agree not to open libsoup header in ewk header. However, it would be good to replace those APIs with new wrapper APIs together.
> 
> Basically, I think that it is wrong approach to expose session directly.
> 
> In my opinion, we'd better to expose proper APIs like ewk_view_proxy_uri_set instead of exposing setter/getter of session and letting application developers learn extra libraries.

Yes, I meant that it is nice to remove those APIs with new wrapper APIs together.
Comment 6 Gyuyoung Kim 2014-02-13 00:13:55 PST
Comment on attachment 224023 [details]
Patch

As we talked, we believe that this APIs aren't being used now. So, let's remove it. r=me.
Comment 7 Ryuan Choi 2014-02-13 04:50:33 PST
Comment on attachment 224023 [details]
Patch

Thanks.
Comment 8 WebKit Commit Bot 2014-02-13 05:20:21 PST
Comment on attachment 224023 [details]
Patch

Clearing flags on attachment: 224023

Committed r164028: <http://trac.webkit.org/changeset/164028>
Comment 9 WebKit Commit Bot 2014-02-13 05:20:25 PST
All reviewed patches have been landed.  Closing bug.