maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Tear 0.2 - a simple maemo WebKit browser. (https://talk.maemo.org/showthread.php?t=24293)

liquid217 2008-12-30 15:37

Re: Tear 0.2 - a simple maemo WebKit browser.
 
I have tried Tear for the first time, with 0.2.1, and was greatly impressed. One problem though: I was browsing along, and it froze up on me, so I killed the process, and tried to relaunch. Since then, I cannot get it to open again. Running it from the shell shows a segmentation fault, just like TrueJournals above. I have tried removing all of the packages (libwebkit, and tear), and then reinstalling to no avail. Any thoughts?

Bundyo 2008-12-30 17:52

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Yes, remove the .tear home directory to fix that.

liquid217 2008-12-30 18:09

Re: Tear 0.2 - a simple maemo WebKit browser.
 
That did it, Thanks!

meizirkki 2008-12-30 18:18

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Thank you a lot !!!

Finger scroll was the only missing thing in earlier version.

This is faster than the built-in browser and now even better than built-in browser with webkit.

:) thanks

Can i switch the finger scroll of to copy text?

Bundyo 2008-12-30 18:51

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Not at this time, but a good idea to have such a feature...

bow 2008-12-30 19:49

Re: Tear 0.2 - a simple maemo WebKit browser.
 
When I try to install your version of the webkit engine my n800 says something about an incompatible installation package? What might that be caused by?

Do I need to be in redpill-mode or something?

Bundyo 2008-12-30 20:25

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Yes, seems I have missed to fix the section (used the Debian rules and control to build it). I'll upload it right away.

EDIT: Reuploaded.

(Sadly, my WebKit can't go in Extras - it requires manual intervention to be built, maybe pronvit's can?)

luca 2008-12-30 20:25

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Quote:

Originally Posted by TrueJournals (Post 253382)
Lastly, with my n800 and its on-screen keyboard, I'm unable to enter passwords in password text boxes. This kills quite a few websites (here, e-mail, etc...)

Workaround: type your password in a terminal window/note/another field, copy it then paste it in the password field with the menu.

What I cannot find is how to open links in a new window (tap and hold does nothing).

pronvit 2008-12-30 20:42

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Quote:

Originally Posted by Bundyo (Post 253518)
(Sadly, my WebKit can't go in Extras - it requires manual intervention to be built, maybe pronvit's can?)

I'm not familiar with Extras rules, what's the problem with building and Extras?

Bundyo 2008-12-30 20:48

Re: Tear 0.2 - a simple maemo WebKit browser.
 
It should be autobuildable if I'm not mistaken.

pronvit 2008-12-30 20:59

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Quote:

Originally Posted by Bundyo (Post 253528)
It should be autobuildable if I'm not mistaken.

you can always include patch and apply it in debian/rules. or what intervention you're talking about? my webkit builds as-is (plus patch for cookies)

Bundyo 2008-12-30 21:26

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Mine looks in the wrong place for some files and since i don't know anything about Makefiles, i need to symlink a directory and then continue building. The files are related to CSS transforms.

pronvit 2008-12-30 21:44

Re: Tear 0.2 - a simple maemo WebKit browser.
 
strange, never had this problem. this can be fixed in debian/rules too, however maybe it's not good solution

ltrinh 2008-12-30 21:48

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Hi All,

I cannot install the libwebkit. When using dpkg -i, I get "package libicu38 is not installed". I tried to install it though application manager but it doesn't seem to be available. I did a google search and the only thing I could find was from gronmayer which required me to install the chinook extras repository. I tried to install that repository but application manager said it was incompatible. Any suggestions on where I can install libicu38? I would really like to try out tear.

Thanks

ltrinh 2008-12-30 21:49

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Oh btw,

I'm using a N810 with the latest diablo flash.

Thanks

FRZ 2008-12-30 21:55

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Is it possible that you guys post the depencies also that is required to install the programs? Thanks

Bundyo 2008-12-30 21:58

Re: Tear 0.2 - a simple maemo WebKit browser.
 
libwebkit requires libicu38, which can be found here:
http://repository.maemo.org/extras-d...emo1_armel.deb

Probably will work with libicu40 in Diablo's extras-devel. Didn't test it.

Btw, be warned that Tear still crashes a lot after some usage, so won't expect too much :)

Bundyo 2008-12-30 22:01

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Quote:

Originally Posted by pronvit (Post 253553)
strange, never had this problem. this can be fixed in debian/rules too, however maybe it's not good solution

So maybe you can upload a newer WebKit to extras, 'cause the current one is from april and is in Chinook extras-devel and is missing key functionality too.

FRZ 2008-12-30 22:01

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Where can I find the deb for this file?

libicu38

Bundyo 2008-12-30 22:02

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Its linked one post above yours :)

FRZ 2008-12-30 22:03

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Quote:

Originally Posted by Bundyo (Post 253565)
libwebkit requires libicu38, which can be found here:
http://repository.maemo.org/extras-d...emo1_armel.deb

Probably will work with libicu40 in Diablo's extras-devel. Didn't test it.

Btw, be warned that Tear still crashes a lot after some usage, so won't expect too much :)

Thanks

It seems that I can't type a short message to just say thanks.

Bundyo 2008-12-30 22:04

Re: Tear 0.2 - a simple maemo WebKit browser.
 
There's a button for that under every post ;) No need for typing :D

bow 2008-12-30 22:26

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Got it working now :) I'm quite impressed with the speed! A quick apt-get for libicu solved my problems once the webkitpackage was updated. Thanks for this, looks very promising!

TrueJournals 2008-12-30 23:09

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Since I have a feeling I'll be using Tear instead of the default web browser once a few small improvements are made, I've started working on something for it: a task navigator plugin. Forget the one that launches the built-in browser... this one is all tear! Screenshot:
http://truejournals.com/shot-tear-bookmarks.png

Bundyo: I'd like some help with this, just how the application was developed, no code needed :-P First off, it seems that launching tear again and again will only open one instance of it. Is there some way to externally open another WINDOW? I'd like to duplicate the "open new window" functionality as much as I can... Also, are the favicons for bookmarks saved anywhere? I couldn't find them, so I assume they aren't. Saving them somewhere would allow me to show them next to the title. Lastly, I can't figure out a way to open a bookmark! I tried tear (url), but it just seems to ignore the parameter. Could you add support for this method of launching? Or something else to allow me to do this?

I'm still working on this, don't have it launching anything yet, so it's still very proof-of-concept.

meizirkki 2008-12-30 23:18

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Wow! great!

meizirkki 2008-12-30 23:19

Re: Tear 0.2 - a simple maemo WebKit browser.
 
I installed libicu40... works with no problem. I'm not sure if the crashing problem is gone.

tso 2008-12-30 23:23

Re: Tear 0.2 - a simple maemo WebKit browser.
 
hmm, i wonder if one could use dbus-switchboard to make tear take over the job of the built in browser (altho i love the scrolling system in the latest webkit build for it).

thats always been a issue with any replacement browser, it cant access any existing stockpile of bookmarks in a seamless fashion.

qwerty12 2008-12-30 23:27

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Quote:

Originally Posted by TrueJournals (Post 253594)
Since I have a feeling I'll be using Tear instead of the default web browser once a few small improvements are made, I've started working on something for it: a task navigator plugin. Forget the one that launches the built-in browser... this one is all tear! Screenshot:
http://truejournals.com/shot-tear-bookmarks.png

Bundyo: I'd like some help with this, just how the application was developed, no code needed :-P First off, it seems that launching tear again and again will only open one instance of it. Is there some way to externally open another WINDOW? I'd like to duplicate the "open new window" functionality as much as I can... Also, are the favicons for bookmarks saved anywhere? I couldn't find them, so I assume they aren't. Saving them somewhere would allow me to show them next to the title. Lastly, I can't figure out a way to open a bookmark! I tried tear (url), but it just seems to ignore the parameter. Could you add support for this method of launching? Or something else to allow me to do this?

I'm still working on this, don't have it launching anything yet, so it's still very proof-of-concept.

Really nice plugin :). i really should read those python & ruby books :)

i was able to launch tear twice from the same terminal fine. i think your problem is that you are launching from dbus and dbus only lets you launch a program once.

Bundyo 2008-12-30 23:29

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Thanks TrueJournals. I'll try to implement the functionality you request, I just hope to have the time :) I can use all the help i can get.

We discussed with Ignacius about the bookmarks and decided that it will be best to use sqlite for that and have import/export for the xml format and the internal browser format. I'm not saving the favicons yet since the april WebKit didn't have a way to get them (and the current one maybe doesn't :) ), but external retrieval will be possible anyway. They will go in the sqlite3 db too as blobs.

TrueJournals 2008-12-30 23:48

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Quote:

Originally Posted by qwerty12 (Post 253601)
Really nice plugin :). i really should read those python & ruby books :)

i was able to launch tear twice from the same terminal fine. i think your problem is that you are launching from dbus and dbus only lets you launch a program once.

D'oh! Seems like you're right! The application task navigator plugin also seems to know something I don't... it won't let me open more than one copy, even though no dbus is involved. Perhaps it uses window manager class names... Anyway, this is written in python if you're wondering ;-)

Quote:

I'm not saving the favicons yet since the april WebKit didn't have a way to get them (and the current one maybe doesn't ), but external retrieval will be possible anyway. They will go in the sqlite3 db too as blobs.
Sounds good! I'll look into getting those into the menu as soon as they're saved somewhere :-P You've done a great job with this browser. I'd rather see you take your time and get the features done right than done quickly.

On a side note, anyone know how the bookmarks plugin shows the neat two-line title and url thing? I'm not QUITE sure how to do it...

Bundyo 2008-12-30 23:49

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Probably checking the original maemo plugin sources will help :)

ltrinh 2008-12-30 23:53

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Thanks for the assist Bundyo! I got it working now at blazing speeds. Good work guys!

qwerty12 2008-12-31 00:03

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Quote:

Originally Posted by TrueJournals (Post 253604)
D'oh! Seems like your right! The application task navigator plugin also seems to know something I don't... it won't let me open more than one copy, even though no dbus is involved. Perhaps it uses window manager class names... Anyway, this is written in python if you're wondering ;-)


Sounds good! I'll look into getting those into the menu as soon as they're saved somewhere :-P You've done a great job with this browser. I'd rather see you take your time and get the features done right than done quickly.

On a side note, anyone know how the bookmarks plugin shows the neat two-line title and url thing? I'm not QUITE sure how to do it...

Heh, yeah, I just want to learn both because they can both do cool things. Did a quick check, if the browser is not open, dbus is not used to launch it. But the browser has its own signal internally which it will respond to if you send 'new_window' via dbus to the browser directly. The bookmark plugin does this if there is already a window open.

WRT the two line thing, the bookmark applet is closed but you've most likely noticed that the application list can do it and the code for that is in hildon-desktop.

FRZ 2008-12-31 00:56

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Quote:

Originally Posted by Bundyo (Post 253569)
Its linked one post above yours :)

Thanks. i was able to install and it seems to run fine but, it seem to be missing features like bookmarks, etc.

Bundyo 2008-12-31 01:56

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Small new release. Look in the first post.

I'll concentrate on the crashes now. The plan is to write an sqlite operation pool, since threadsafe is not the word to describe sqlite for linux :) At least this version.

FRZ 2008-12-31 02:22

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Quote:

Originally Posted by ltrinh (Post 253608)
Thanks for the assist Bundyo! I got it working now at blazing speeds. Good work guys!

You are having better luck. Mine is slow with nothing else running and the finger scrolling was very choppy.

Munk 2008-12-31 02:58

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Quote:

Originally Posted by FRZ (Post 253630)
You are having better luck. Mine is slow with nothing else running and the finger scrolling was very choppy.

Is it just on the Internettablettalk site that it's choppy? This site has always been pretty bad when it comes to actually loading, rendering, scrolling on the NIT. Using simpler themes can help a little but things always render slowly and have choppy scrolling using Webkit (on this site). In fact I believe that this website, ITT, is the slowest website to load under webkit compared to MicroB. All other sites are pretty fast and scroll pretty well.

Munk 2008-12-31 03:18

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Can anyone tell me why when trying to install the newer version of 39474_all.deb I get the following error:

Code:

dpkg -i libwebkit-1.0-1_1.0-svn39474_armel.deb

(Reading database ... 17325 files and directories currently installed.)
Unpacking libwebkit-1.0-1 (from libwebkit-1.0-1_1.0-svn39474_armel.deb) ...
dpkg: error processing libwebkit-1.0-1_1.0-svn39474_armel.deb (--install):
trying to overwrite '/usr/lib/libwebkit-1.0.so.1.0.0', which is also in package libwebkitgtk-1.0
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
libwebkit-1.0-1_1.0-svn39474_armel.deb


macit 2008-12-31 03:55

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Btw,sometimes the vertical scrollbar dissappears. A simple workaround is to click somewhere on the scrollbar area (far right) and it will show up again. I am using Tear to write this post. Really nifty!

TrueJournals 2008-12-31 04:17

Re: Tear 0.2 - a simple maemo WebKit browser.
 
Quote:

Originally Posted by qwerty12 (Post 253612)
Heh, yeah, I just want to learn both because they can both do cool things. Did a quick check, if the browser is not open, dbus is not used to launch it. But the browser has its own signal internally which it will respond to if you send 'new_window' via dbus to the browser directly. The bookmark plugin does this if there is already a window open.

WRT the two line thing, the bookmark applet is closed but you've most likely noticed that the application list can do it and the code for that is in hildon-desktop.

Are you talking about tear or the built-in browser? Tear does seem to install a dbus service, but the only thing I can get that to do is open one window. I even looked through Tear's code a bit, but couldn't find anything with dbus...

As for the two-line thing... I actually figured it out on my own, mostly. Turns out menu items just use GTK Labels by default, but you can make them use something else. Pretty screenshot of what it currently looks like... I actually kind of like this better than the current bookmarks menu:
http://truejournals.com/shot-tear2.png


All times are GMT. The time now is 03:11.

vBulletin® Version 3.8.8