maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   WebKit engine for default browser (https://talk.maemo.org/showthread.php?t=25752)

pronvit 2008-12-29 06:53

Re: WebKit engine for default browser
 
yes, use bison 2.2, sometimes newer doesn't mean better:)

pronvit 2008-12-29 07:21

Re: WebKit engine for default browser
 
Bundyo, open WebCore/platform/network/curl/ResourceHandleManager.cpp and replace m_cookieJarFileName(0) with m_cookieJarFileName("/home/user/.webkitcookies") for cookies to work. I can't find way to set this from outside

Bundyo 2008-12-29 07:45

Re: WebKit engine for default browser
 
Reuploaded them with the cookie fix.

sMiLo 2008-12-29 07:50

Re: WebKit engine for default browser
 
Quote:

Originally Posted by Bundyo (Post 253129)
You need bison 2.2, its not working with bison 2.4. I had the same problem before.

Thank you very much! :)
I will try it!

sMiLo 2008-12-29 08:03

Re: WebKit engine for default browser
 
Quote:

Originally Posted by pronvit (Post 253137)
Bundyo, open WebCore/platform/network/curl/ResourceHandleManager.cpp and replace m_cookieJarFileName(0) with m_cookieJarFileName("/home/user/.webkitcookies") for cookies to work. I can't find way to set this from outside

Webkit does not support perpect cookie handling yet.
Refer this link :
https://bugs.webkit.org/show_bug.cgi?id=14730

pronvit 2008-12-29 08:32

Re: WebKit engine for default browser
 
Quote:

Originally Posted by sMiLo (Post 253143)
Webkit does not support perpect cookie handling yet.
Refer this link :
https://bugs.webkit.org/show_bug.cgi?id=14730

yes, but with my small change it works fine, libcurl does everything.

pronvit 2008-12-30 00:29

Re: WebKit engine for default browser
 
Spent two days trying to recomplile microb-engine (mozilla) with their new javascript engine.. I thought it will be easier to add fast engine to microb than implement everything in webkit (downloads, finger nav and so on)
But it seems to be impossible. Their code is too weird. So now I'll finally do my primary job and then continue to work on webkit. bye-bye mozilla..

pronvit 2008-12-30 04:56

Re: WebKit engine for default browser
 
Please try my new version. It's somewhat experimental because I implemented finger scrolling in unusual way.

The problem with finger scrolling is that (without hacking webkit) I don't know if motion event will be handled by javascript on the page (for example to pan google maps, to select text (however this isn't javascript-related)) or I can use it for scrolling. That's why simple implementation when any tap+move = scroll is very bad.

Instead of this I reserved 100px scrolling areas in right and bottom parts of window. So when you tap and move near right edge you will scroll vertically, and near bottom edge to scroll horizontally. Moving in remaining window area will pass this events to page for handling in javascript. So think of my implementation as of wide invisible scrollbars. Btw, I removed default scrollbars.

For me such solution is quite convenient. Try it and tell me what do you think.

Oh, download link: http://mifki.s3.amazonaws.com/webkit....0.7_armel.deb

upd. Fullscreen/zoom keys now should work too!

tso 2008-12-30 06:30

Re: WebKit engine for default browser
 
i just managed to download that first version, but now im looking at a access denied error. like the scrolling solution tho. seems one can do scrolling on the whole page as long as one drag out of one of the "zones"...

see a fair bit of tearing while scrolling tho...

pronvit 2008-12-30 06:39

Re: WebKit engine for default browser
 
Quote:

Originally Posted by tso (Post 253384)
i just managed to download that first version, but now im looking at a access denied error. like the scrolling solution tho. seems one can do scrolling on the whole page as long as one drag out of one of the "zones"...

see a fair bit of tearing while scrolling tho...

fixed dl link.


All times are GMT. The time now is 12:07.

vBulletin® Version 3.8.8