maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Tear 0.1 - YAWBFTA (https://talk.maemo.org/showthread.php?t=23962)

Bundyo 2008-09-29 23:17

Tear 0.1 - YAWBFTA
 
Instead of re-porting Midori (i'm not very proficient with C anyway), I decided to start more tablet oriented and lightweight Web browser based again on WebKit (I'm thinking of implementing cross-engine webkit/gecko) and written in Vala. So far so good - I have an early alpha with only base controls implemented, try it and tell me what you think (especially qole :)). I'm not going to put it in Extras yet (too not working :)

Minor update, 0.1.2 on 01.10.2008:
Release Highlights:
  • GTK+ accelerators working (Full screen, Escape for back and arrows scroll)
  • Some menu items now work (namely new window, close one and all and the clipboard operations)
  • Zoom still not working (the engine in Extras doesn't support it, still trying to compile from SVN)

What it has (not much):
  • Works with the WebKit in Extras-devel for now.
  • Multi-windows.
  • Forward, back, refresh, go buttons, Full screen.
  • Hardware keys for full screen, Esc for back and arrow scroll.
  • Hildon interface
  • About dialog... Ha! :)

What it doesn't have:
Everything else, history and fully working menus :)

Screenshot:
http://maemobox.org/bundyo/images/tear_screenshot.png

Download:
http://maemobox.org/bundyo/tear-0.1.2-1_armel.deb
68KB/150KB

Dictionary:
YAWBFTA: Yet Another Web Browser For The Adventurous... :)

Jaffa 2008-09-30 06:53

Re: Tear 0.1 - YAWBFTA
 
When you do move it to Extras, the mud-based vala & libgee ports in Extras-devel will need some work. Also, would love to see the code and try hacking on it in Valable.

Bundyo 2008-09-30 07:06

Re: Tear 0.1 - YAWBFTA
 
Maybe it won't compile directly in Extras-devel though, since I needed to tweak the vapi's a little. UIManager wasn't working and WebKit vapi is not updated to the latest nightlies.

I'm planning a more AwesomeBar-like history/bookmark list, I'll release the code after i get this and the hardware buttons working.

Benson 2008-09-30 07:24

Re: Tear 0.1 - YAWBFTA
 
Well, I rather like it. That stealth progress bar really snazzes. I suppose you don't really need a feature request/bug list yet... so I won't go on about how the shift in the stylus keyboard seems to lock, or how nice it would be to have a view source option... oops! ;) Anyway, great work! --this message brought to you by Tear

GeneralAntilles 2008-09-30 07:27

Re: Tear 0.1 - YAWBFTA
 
Ha! So much win.

Not gonna be an easy thing to put together, but damn if it wont be cool once it is.

Bundyo 2008-09-30 07:33

Re: Tear 0.1 - YAWBFTA
 
Another good thing is while I was at it, i ported the Scons create deb script and integrated it into my WAF wscript, so i can now generate a deb directly from WAF :)

Bundyo 2008-09-30 21:01

Re: Tear 0.1 - YAWBFTA
 
WTF?!? Does anyone know why the GTK+ accelerators need to be enabled by a GConf value in order to be used? Lost some hours to that :(

Bundyo 2008-09-30 23:30

Re: Tear 0.1 - YAWBFTA
 
Minor update, see the first post.

Benson 2008-10-01 00:16

Re: Tear 0.1 - YAWBFTA
 
That "YAWBFTA", I keep seeing the W, the T, and the F, and the whole thing half-assembles into an obscene backronym, but fortunately some letter always gets in the way and brings me back to the clean proper acronym. I just fear one of these times, a matching backronym is going to materialize, and I'll never be able to think of Tear without thinking of that phrase.

I vote you start a new thread for the next version, without acronyms involving butt-!@#$ in the title.

Bundyo 2008-10-01 00:38

Re: Tear 0.1 - YAWBFTA
 
Yeah, i will - there's a version number in the title too :)

qole 2008-10-01 03:43

Re: Tear 0.1 - YAWBFTA
 
How come this one only gets 87/100 on Acid3, while Midori gets 100/100? Are you using a different version of the engine? And if so, why?

EDIT: Aha, you're using the WebKit engine from Extras, and it's old and sucky.

http://farm4.static.flickr.com/3114/...e5689f4b_o.png

GeneralAntilles 2008-10-01 03:55

Re: Tear 0.1 - YAWBFTA
 
Quote:

Originally Posted by qole (Post 229188)
EDIT: Aha, you're using the WebKit engine from Extras, and it's old and sucky.

Yes, but it's also tablet-optimized and in Extras. ;)

qole 2008-10-01 04:14

Re: Tear 0.1 - YAWBFTA
 
Who put it there? Can they apply those "tablet-optimized" patches to the current WebKit and then upload to Extras?

Aisu 2008-10-01 04:28

Re: Tear 0.1 - YAWBFTA
 
Thanks for this, Bundyo! It's great to have choices. But, this is way~ behind the latest Microb (engine-wise). I like your UI, though. especially the loading bar :D Please continue, and maybe incorporate the newer webkit? Again, thanks a lot. (Posted from Tear!)

Bundyo 2008-10-01 04:37

Re: Tear 0.1 - YAWBFTA
 
Yeah, the april WebKit is way behind MicroB, but Slashdot loads twice as fast in it :D

@qole: The tablet patches are enabled at compile time. They are part of WebKitGtk port.

qole 2008-10-01 04:58

Re: Tear 0.1 - YAWBFTA
 
Quote:

Originally Posted by Bundyo (Post 229202)
Yeah, the april WebKit is way behind MicroB, but Slashdot loads twice as fast in it :D

@qole: The tablet patches are enabled at compile time. They are part of WebKitGtk port.

That didn't answer my questions :)

Bundyo 2008-10-01 04:59

Re: Tear 0.1 - YAWBFTA
 
Combined with the first post i probably did :P

Thesandlord 2008-10-01 05:32

Re: Tear 0.1 - YAWBFTA
 
152 MB? Is this wrong??? Why is this 152MB? My mind has just exploded, I am sorry...

Bundyo 2008-10-01 06:37

Re: Tear 0.1 - YAWBFTA
 
Oh, the size bug :) Its 150KB, don't worry :D

qwerty12 2008-10-01 06:44

Re: Tear 0.1 - YAWBFTA
 
@Bundyo

Your deb creating script has me in tears :P

[Email] should be <email>

To recalculate the correct size of an deb when it is created:
Quote:

ar x foo.deb data.tar.gz ; mkdir tmp ; tar -C tmp -xzf data.tar.gz ; du -sb tmp ; rm -rf rmp data.tar.gz
(Thanks to aspect of #maemo)
You should then get a nice/correct number which you can repack the deb with by putting that number in the Installed-Size in control. But I think I had to remove one of the du options to get the right size (can't remember if it's -s or -b).

P.S, Sorry if I sound like a knob by saying this.

Bundyo 2008-10-01 06:51

Re: Tear 0.1 - YAWBFTA
 
@qwerty12:

It is in Python you know... :D And i'm calculating it while generating, so i need only to divide it at the end.

EDIT: And fixed already ;)

qole 2008-10-01 16:21

Re: Tear 0.1 - YAWBFTA
 
These were my questions:

Quote:

Originally Posted by qole (Post 229196)
Who put [the WebKit in Extras-Devel] in there? Can they apply those "tablet-optimized" patches to the current WebKit and then upload the newest version to Extras[-Devel]?

I'm very interested in seeing the latest version of WebKit available, and, if the patches can be applied fairly easily (as you seem to be suggesting here)...

Quote:

Originally Posted by Bundyo (Post 229202)
@qole: The tablet patches are enabled at compile time. They are part of WebKitGtk port.


qwerty12 2008-10-01 16:34

Re: Tear 0.1 - YAWBFTA
 
Quote:

Originally Posted by qole (Post 229353)
These were my questions:



I'm very interested in seeing the latest version of WebKit available, and, if the patches can be applied fairly easily (as you seem to be suggesting here)...

[QUOTE=Bundyo;228616][*] Zoom still not working (the engine in Extras doesn't support it, still trying to compile from SVN)

Bundyo 2008-10-01 16:52

Re: Tear 0.1 - YAWBFTA
 
Yep, and who exactly put WebKit in extras i cannot tell :)

The tablet patches are part of WebKit, just a compile option, they are in no need to be applied.

qwerty12 2008-10-01 16:53

Re: Tear 0.1 - YAWBFTA
 
webkit (1~svn30907-1maemo1) unstable; urgency=low

* New upstream snapshot
* Removed all Qt packages
* Removed build-dep on Qt, decrease build-dep on libcurl
* Replaced rules with a CDBS on

-- Johan Bilien <jobi AT via DOT ecp DOT fr> Sun, 09 Mar 2008 17:58:42 +0200

I applied his modifications (he did make some minor changes) to the latest nightly from today and get:
Quote:

make[1]: Entering directory `/home/faheem/webkit/WebKit-r37126'
/scratchbox/tools/bin/perl JavaScriptCore/kjs/create_hash_table JavaScriptCore/kjs/keywords.table > DerivedSources/lexer.lut.h
/scratchbox/tools/bin/sh: line 1: DerivedSources/lexer.lut.h: No such file or directory

qole 2008-10-01 17:11

Re: Tear 0.1 - YAWBFTA
 
thanks for working on this, guys!

qwerty12 2008-10-01 17:26

Re: Tear 0.1 - YAWBFTA
 
Turns out all I had to do was mkdir DerivedSources but I get this while compiling:
Quote:

WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:268: error: cannot convert `GtkWidget*' to `GdkWindow*' in initialization
My Scratchbox is fubared so and I'm going out of my depth so I'll leave this to people who know what they are doing. But I will leave you with a patch and a debian folder:
http://qwerty12.maemobox.org/webkit-...ods%3f.tar.bz2

(I may have ****ed something up so use that at own risk if trying to compile latest webkit with above :))

EDIT: Edited ChromeClientGtk.cpp and now we are compiling! :) Lets see if this actually finishes compiling...

Bundyo 2008-10-01 17:38

Re: Tear 0.1 - YAWBFTA
 
I already got these :)
The main problem is with the TransformOperation.h, which reports on linking a circular reference error, which is somehow out of place there.


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

vBulletin® Version 3.8.8