maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Tear 0.3 - Simple WebKit browser, now with Dashboard (https://talk.maemo.org/showthread.php?t=26475)

dentra 2009-03-06 10:55

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by Bundyo (Post 269280)
This whole send download thing is very strange. WebKit decides what is a download by the content-type of the response, which for the message form is exactly the same when loading the first time and when clicking on send/preview. The only difference seems to be the form post http request.

When I post message the forum returns:
HTTP/1.1 200 OK
Date: Fri, 06 Mar 2009 10:44:10 GMT
Server: Apache/2.0.63
X-Powered-By: PHP/5.2.6
Cache-Control: private, no-cache="set-cookie"
Expires: 0
Pragma: no-cache
Content-Encoding: gzip
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Transfer-Encoding: chunked

As I can see the Content-Type is valid, but maby other headers say something more to you.

pelago 2009-03-06 12:07

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by tso (Post 269108)
i suspect that the impression of speed comes from webkit/tear actually being done when the load bar disappears.

microb is like a jobs keynote taken to extreme, there is always 1 more thing that needs to be done with the page before the user can start scrolling around and look at the page content.

Ah yes, I hadn't noticed this and hadn't added it into my calculations. Taking that into account, Tear is indeed considerably faster than MicroB.

Snoshrk 2009-03-07 02:26

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
@Bundyo - Dude, this is an awesome addition to my N800! :D

Thank You!

Now for the silly question: :o

I know in microb that I can open a html file stored on MMC1 (N800)

Is this possible in Tear?

I've tried: file:///mmc1/.../bookmarks.html (copied from microb) with no luck.

Thanks
M

daperl 2009-03-07 05:59

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by Snoshrk (Post 269544)
@Bundyo - Dude, this is an awesome addition to my N800! :D

Thank You!

Now for the silly question: :o

I know in microb that I can open a html file stored on MMC1 (N800)

Is this possible in Tear?

I've tried: file:///mmc1/.../bookmarks.html (copied from microb) with no luck.

Thanks
M

It should work. Did you forget 'media' in front of '/mmc1'?

luca 2009-03-07 10:40

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Could you add a "Open link in background window" to the tap'n'hold menu?
With it tear would be almost perfect :)

Snoshrk 2009-03-07 14:55

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by daperl (Post 269562)
It should work. Did you forget 'media' in front of '/mmc1'?

Hmmm. I thought I copied and pasted.... but at this point I don't really remember. I'll re-try typing it directly:)

debudebu 2009-03-07 15:08

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
this is a nice browser. i've tried the webkit engine for microb and it crashes. it also doesn't seem quite as fast as tear. is there a way to make tear my default browser?

tso 2009-03-07 15:11

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by debudebu (Post 269607)
this is a nice browser. i've tried the webkit engine for microb and it crashes. it also doesn't seem quite as fast as tear. is there a way to make tear my default browser?

you could retry the webkit-eal, the crash issue is fixed now...

as for making tear default, from what i can tell, there is no easy way :(

daperl 2009-03-07 16:26

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
Quote:

Originally Posted by tso (Post 269608)
you could retry the webkit-eal, the crash issue is fixed now...

as for making tear default, from what i can tell, there is no easy way :(

If I were a hacker and I wanted to play around, the first thing I would do is make a cp -a of /usr/bin/browser.launch to browser.launch.orig. Then I would make sure that my new browser could take an url as a command-line argument. I would then copy my new browser to /usr/bin/browser.launch and see if that worked. If that fails, maybe I would then do a

strings browser.launch.orig | sort | less

to see what that reveals. It seems to reveal a few things. I would guess there might be one or two dbus messages to catch.

Something similar could probably be done with bookmark.launch.

tso 2009-03-07 16:35

Re: Tear 0.3 - Simple WebKit browser, now with Dashboard
 
if there are dbus messages, then maybe dbus-switchboard can be poked into handling it?


All times are GMT. The time now is 06:59.

vBulletin® Version 3.8.8