You are not logged in.

#1 2007-04-03 22:42:55

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Offline

#2 2007-04-04 12:40:37

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Re: GTK-Webcore: not dead yet!

WebKit port to Qt will be used as optional engine in Konqueror4


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

#3 2007-04-04 17:40:44

TomE
Member
Registered: 2005-08-06
Posts: 164

Re: GTK-Webcore: not dead yet!

If you want to try it you will need to build for svn as there are some problems
the bulid process.

I put a PKGBUILD for svn in AUR a few weeks ago just search for osb
You need to build osb-jscore then osb-nscore then osb-nrcit and then
osb-browser or Kazehakase
I've not built the latest revision yet, but it looks like osb-nscore will need
flex as a make dep. I'll update AUR when every thing is finished compiling

Last edited by TomE (2007-04-04 17:41:14)

Offline

#4 2007-04-04 18:36:02

TomE
Member
Registered: 2005-08-06
Posts: 164

Re: GTK-Webcore: not dead yet!

AUR updated.
jscore nrcore nrcit browser

Offline

#5 2007-04-04 19:42:17

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: GTK-Webcore: not dead yet!

Hey thanks, building as I type...:D

Edit: Hmm, looks like nrcit needs curl as a makedepend.

Last edited by Gullible Jones (2007-04-04 20:45:39)

Offline

#6 2007-04-05 04:59:01

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: GTK-Webcore: not dead yet!

Gullible, have you tried this yet? I think GTK+Webcore has the potential to replace mozilla on my system if development continues further.

Offline

#7 2007-04-05 10:47:52

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: GTK-Webcore: not dead yet!

Yep. RAM usage is very low, startup speed is very fast, rendering is very fast... However, the browser's widgets are pretty unresponsive and it has *serious* CPU usage issues if you drag its window around. I wonder what's up with that - are they using Webcore to emulate GTK widgets ala Firefox?

Offline

#8 2007-04-05 11:29:56

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: GTK-Webcore: not dead yet!

I did build build kazehakase agains gtk+ webcore a few days ago, but it was extremely buggy, it crashes after viewing like 2 webpages. Did other people try this and got a better result ?

Offline

#9 2007-04-05 14:07:05

hightower
Member
Registered: 2006-04-02
Posts: 182

Re: GTK-Webcore: not dead yet!

The gtk-webcore developers favour the development of the gtk port of WebKit as you can read in the mailing lists.

hightower

Offline

#10 2007-04-05 19:53:53

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: GTK-Webcore: not dead yet!

I thought Webkit was stuff that Apple built around Webcore?

Offline

#11 2007-04-06 10:17:45

hightower
Member
Registered: 2006-04-02
Posts: 182

Re: GTK-Webcore: not dead yet!

WebKit was derived from Khtml. Apple added many nice features (e.g. better JavaScript engine) which were ported back to Khtml. But WebKit as far as I know has it's own svn branch where ports are developed.

hightower

Offline

#12 2007-04-06 13:21:35

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: GTK-Webcore: not dead yet!

Wikipedia (on WebKit) wrote:

WebKit is an application framework included with Mac OS X v10.3 and later (and available as a software update for v10.2.7 and later) which is the basis of Mac OS X's Safari web browser, allowing third party developers to include much of Safari's functionality in their own products with very little work.

WebKit's Objective-C API provides the capability to interact with a web server, retrieve and render web pages, download files, and manage plugins.

WebKit includes two lower-level frameworks: WebCore, an HTML parser and renderer based on KHTML, and JavaScriptCore, a JavaScript engine based on KJS. Both are heavily modified from the KDE originals for performance, web site compatibility and standards compliance.

Oh... So they wouldn't have to build the browser from scratch? Cool. Is there any remotely usable port as of now?

Offline

#13 2007-04-08 16:32:52

TomE
Member
Registered: 2005-08-06
Posts: 164

Re: GTK-Webcore: not dead yet!

I've add curl to the depends of nrcit.

@pressh the latest svn is a lot more stable then the svn you try.
Most of the crashes seem to be on heavily javascripted pages

Offline

#14 2007-04-08 19:12:08

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: GTK-Webcore: not dead yet!

osb-nrcore-svn seems to depend on gperf (in unstable):

Making all in css
make[3]: Entering directory `/tmp/yaourt-tmp-stonecrest/aur-osb-nrcore-svn/osb-nrcore-svn/src/nrcore/khtml/css'
/usr/bin/flex tokenizer.flex && /usr/bin/perl maketokenizer lex.yy.c > tokenizer.cpp; \
        rm -f lex.yy.c
/bin/sh makeprop cssproperties.in
makeprop: line 39: gperf: command not found
make[3]: *** [cssproperties.c] Error 1
make[3]: Leaving directory `/tmp/yaourt-tmp-stonecrest/aur-osb-nrcore-svn/osb-nrcore-svn/src/nrcore/khtml/css'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/yaourt-tmp-stonecrest/aur-osb-nrcore-svn/osb-nrcore-svn/src/nrcore/khtml'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-stonecrest/aur-osb-nrcore-svn/osb-nrcore-svn/src/nrcore'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...


I am a gated community.

Offline

#15 2007-04-08 19:22:07

hightower
Member
Registered: 2006-04-02
Posts: 182

Re: GTK-Webcore: not dead yet!

Bringing the QT-Webkit-Port to life: http://www.kdedevelopers.org/node/2267

I found this blog entry a long time ago and after digging in my bookmarks I finally found it. Perhaps someone is interested in it. As I tried this howto there were some bugs in the code which made it impossible for me to compile it - maybe you're lucky!

hightower

Offline

#16 2007-04-08 20:17:48

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: GTK-Webcore: not dead yet!

stonecrest wrote:

osb-nrcore-svn seems to depend on gperf (in unstable)

Hmm, no such problem here.

Not bad, at any rate. The CPU usage stuff is weird though. Anyone have a clue why osb-browser eats up all my processing power if I drag another window over it?:/

Offline

#17 2007-04-09 00:09:19

TomE
Member
Registered: 2005-08-06
Posts: 164

Re: GTK-Webcore: not dead yet!

stonecrest wrote:

osb-nrcore-svn seems to depend on gperf (in unstable):

Rev. 62 built fine here without gperf, I think it may have some thing to do with
a jscore perl script that does some hashing. Its should only be a makedepend
so you should be able to remove it, but I'll take a look.

Offline

#18 2007-04-09 14:41:40

neodreams
Member
Registered: 2006-03-20
Posts: 87

Offline

#19 2007-04-14 14:17:03

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: GTK-Webcore: not dead yet!

Hmm, Kazehakase with Webcore is a lot more stable than osb-browser, and faster. I'd say don't bother with osb-browser, just compile Kaze with --enable-gtk-web-core and put layout_engine=gtk+-webcore under [Global] in ~/.kazehakase/kzrc.

Offline

#20 2007-04-14 16:17:01

Lontronics
Member
Registered: 2006-08-28
Posts: 121

Re: GTK-Webcore: not dead yet!

@Gullible Jones;

I do not know if you have worked with Opera, but how is the speed of Kazehakase/ Webcore compared to Opera?
Kazehakase does have tab support in combination with Webcore?

Jan

Offline

#21 2007-04-14 21:58:50

daedalusman
Member
From: CO, USA
Registered: 2006-12-05
Posts: 258

Re: GTK-Webcore: not dead yet!

I'm trying to compile the latest kazehakase with webcore and I'm getting this error...

kz-gtk-webcore.cpp:26:17: error: osb.h: No such file or directory
kz-gtk-webcore.cpp:152: error: 'OSB' has not been declared
kz-gtk-webcore.cpp:152: error: expected initializer before '*' token
kz-gtk-webcore.cpp: In function 'void kz_gtk_webcore_class_init(KzGtkWebcoreClass*)':
kz-gtk-webcore.cpp:251: error: invalid conversion from 'gboolean (*)(Webi*, WebiCookie*)' to 'gboolean (*)(Webi*, const gchar*, WebiCookie*)'
kz-gtk-webcore.cpp: At global scope:
kz-gtk-webcore.cpp:370: error: 'OSB' has not been declared
kz-gtk-webcore.cpp:370: error: expected ',' or '...' before '*' token
kz-gtk-webcore.cpp: In function 'void set_font_preferences(KzProfile*, int)':
kz-gtk-webcore.cpp:449: error: 'preferences' was not declared in this scope
kz-gtk-webcore.cpp:458: error: 'preferences' was not declared in this scope
kz-gtk-webcore.cpp:466: error: 'preferences' was not declared in this scope
kz-gtk-webcore.cpp:475: error: 'preferences' was not declared in this scope
kz-gtk-webcore.cpp:477: error: 'preferences' was not declared in this scope
kz-gtk-webcore.cpp:479: error: 'preferences' was not declared in this scope
kz-gtk-webcore.cpp:481: error: 'preferences' was not declared in this scope
kz-gtk-webcore.cpp: In function 'void set_user_agent(KzProfile*, KzGtkWebcore*)':
kz-gtk-webcore.cpp:525: error: 'OSB' has not been declared
kz-gtk-webcore.cpp:525: error: 'engine' was not declared in this scope
kz-gtk-webcore.cpp:526: error: expected type-specifier before 'OSB'
kz-gtk-webcore.cpp:526: error: expected `>' before 'OSB'
kz-gtk-webcore.cpp:526: error: expected `(' before 'OSB'
kz-gtk-webcore.cpp:526: error: 'OSB' has not been declared
kz-gtk-webcore.cpp:526: error: expected primary-expression before '>' token
kz-gtk-webcore.cpp:526: error: expected `)' before ';' token
kz-gtk-webcore.cpp: In function 'void set_proxy(KzProfile*, KzGtkWebcore*)':
kz-gtk-webcore.cpp:580: error: 'OSB' has not been declared
kz-gtk-webcore.cpp:580: error: 'engine' was not declared in this scope
kz-gtk-webcore.cpp:581: error: 'OSB' has not been declared
kz-gtk-webcore.cpp:581: error: 'delegate' was not declared in this scope
kz-gtk-webcore.cpp:582: error: expected type-specifier before 'OSB'
kz-gtk-webcore.cpp:582: error: expected `>' before 'OSB'
kz-gtk-webcore.cpp:582: error: expected `(' before 'OSB'
kz-gtk-webcore.cpp:582: error: 'OSB' has not been declared
kz-gtk-webcore.cpp:582: error: expected primary-expression before '>' token
kz-gtk-webcore.cpp:582: error: expected `)' before ';' token
kz-gtk-webcore.cpp: In function 'void set_default_preferences(KzGtkWebcore*)':
kz-gtk-webcore.cpp:612: error: 'OSB' has not been declared
kz-gtk-webcore.cpp:612: error: 'preferences' was not declared in this scope
kz-gtk-webcore.cpp:612: error: 'get_osb_preferences' was not declared in this scope
kz-gtk-webcore.cpp: In function 'gboolean kz_gtk_webcore_set_cookie(Webi*, WebiCookie*)':
kz-gtk-webcore.cpp:939: error: 'struct WebiCookie_' has no member named 'out_accept_cookie'
kz-gtk-webcore.cpp: At global scope:
kz-gtk-webcore.cpp:1239: error: 'OSB' has not been declared
kz-gtk-webcore.cpp:1239: error: expected initializer before '*' token
kz-gtk-webcore.cpp: In function 'gboolean kz_gtk_webcore_get_allow_javascript(KzEmbed*)':
kz-gtk-webcore.cpp:1256: error: 'OSB' has not been declared
kz-gtk-webcore.cpp:1256: error: 'preferences' was not declared in this scope
kz-gtk-webcore.cpp:1256: error: 'get_osb_preferences' was not declared in this scope
kz-gtk-webcore.cpp: In function 'void kz_gtk_webcore_set_allow_javascript(KzEmbed*, gboolean)':
kz-gtk-webcore.cpp:1266: error: 'OSB' has not been declared
kz-gtk-webcore.cpp:1266: error: 'preferences' was not declared in this scope
kz-gtk-webcore.cpp:1266: error: 'get_osb_preferences' was not declared in this scope
kz-gtk-webcore.cpp: In function 'gboolean kz_gtk_webcore_get_allow_images(KzEmbed*)':
kz-gtk-webcore.cpp:1276: error: 'OSB' has not been declared
kz-gtk-webcore.cpp:1276: error: 'preferences' was not declared in this scope
kz-gtk-webcore.cpp:1276: error: 'get_osb_preferences' was not declared in this scope
kz-gtk-webcore.cpp: In function 'void kz_gtk_webcore_set_allow_images(KzEmbed*, gboolean)':
kz-gtk-webcore.cpp:1286: error: 'OSB' has not been declared
kz-gtk-webcore.cpp:1286: error: 'preferences' was not declared in this scope
kz-gtk-webcore.cpp:1286: error: 'get_osb_preferences' was not declared in this scope
make[4]: *** [gtk_webcore_la-kz-gtk-webcore.lo] Error 1
make[4]: Leaving directory `/var/abs/local/kazehakasa/src/kazehakase-0.4.5/module/embed/gtk-webcore'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/abs/local/kazehakasa/src/kazehakase-0.4.5/module/embed'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/local/kazehakasa/src/kazehakase-0.4.5/module'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/kazehakasa/src/kazehakase-0.4.5'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...

Can someone help me out with this, I have the latest versions of osb-jscore, osb-nrcore and osb-nrcit. Do I need something else? Thanks for the help.

Offline

#22 2007-04-15 07:28:26

Lontronics
Member
Registered: 2006-08-28
Posts: 121

Re: GTK-Webcore: not dead yet!

I followed the recommandations from Tom, and am working with Kazehakase now.
Should work fine....

What I noticed is that I get a lot of critical output at command line.

For example (just a piece of it):

ERROR: called KWQKHTMLPart::paint with nil renderer
(KWQKHTMLPart.cpp:939 void KWQKHTMLPart::paint(QPainter*, const QRect&))
=================
- KWQLoader.cpp:84 bool KWQServeRequest(khtml::Loader*, khtml::Request*, KIO::TransferJob*) - Serving request for base http://bbs.archlinux.org/post.php?tid=31545, url http://bbs.archlinux.org/img/smilies/smile.png
- KWQLoader.cpp:84 bool KWQServeRequest(khtml::Loader*, khtml::Request*, KIO::TransferJob*) - Serving request for base http://bbs.archlinux.org/post.php?tid=31545, url http://bbs.archlinux.org/img/smilies/neutral.png
- KWQLoader.cpp:84 bool KWQServeRequest(khtml::Loader*, khtml::Request*, KIO::TransferJob*) - Serving request for base http://bbs.archlinux.org/post.php?tid=31545, url http://bbs.archlinux.org/img/smilies/sad.png
- KWQLoader.cpp:84 bool KWQServeRequest(khtml::Loader*, khtml::Request*, KIO::TransferJob*) - Serving request for base http://bbs.archlinux.org/post.php?tid=31545, url http://bbs.archlinux.org/img/smilies/yikes.png
- KWQLoader.cpp:84 bool KWQServeRequest(khtml::Loader*, khtml::Request*, KIO::TransferJob*) - Serving request for base http://bbs.archlinux.org/post.php?tid=31545, url http://bbs.archlinux.org/img/smilies/wink.png
- KWQLoader.cpp:84 bool KWQServeRequest(khtml::Loader*, khtml::Request*, KIO::TransferJob*) - Serving request for base http://bbs.archlinux.org/post.php?tid=31545, url http://bbs.archlinux

(kazehakase:4220): Gtk-CRITICAL **: gtk_text_buffer_set_text: assertion `text != NULL' failed
- KWQTextEdit.cpp:131 void QTextEdit::setCursorPosition(int, int) - KWIQ
- KWQTextEdit.cpp:118 void QTextEdit::getCursorPosition(int*, int*) const - KWIQ
- KWQTextEdit.cpp:131 void QTextEdit::setCursorPosition(int, int) - KWIQ
- KWQTextEdit.cpp:234 void QTextEdit::setAlignment(Qt::AlignmentFlags) - KWIQ
=================
ERROR: called KWQKHTMLPart::paint with nil renderer
(KWQKHTMLPart.cpp:939 void KWQKHTMLPart::paint(QPainter*, const QRect&))
=================
=================
ERROR: called KWQKHTMLPart::paint with nil renderer
(KWQKHTMLPart.cpp:939 void KWQKHTMLPart::paint(QPainter*, const QRect&))
=================

(kazehakase:4220): Kazehakase-CRITICAL **: kz_embed_get_history: assertion `KZ_EMBED_GET_IFACE(kzembed)->get_history' failed

(kazehakase:4220): Kazehakase-CRITICAL **: kz_embed_get_history: assertion `KZ_EMBED_GET_IFACE(kzembed)->get_history' failed
- KWQTextEdit.cpp:234 void QTextEdit::setAlignment(Qt::AlignmentFlags) - KWIQ

Btw, Opera seems to be faster here and I do like the Opera gestures a lot.
But will try a little further wink

Last edited by Lontronics (2007-04-15 09:17:46)

Offline

#23 2007-04-15 08:35:32

baze
Member
Registered: 2005-10-30
Posts: 393

Re: GTK-Webcore: not dead yet!

is it only me, or does osb-browser not correctly render alpha transparency in png images?
gecko (epiphany in the background) renders them correctly, but they look really ugly in osb-browser with the latest webcore: http://img387.imageshack.us/my.php?image=webkitqn2.png

Offline

#24 2007-04-15 13:34:21

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: GTK-Webcore: not dead yet!

Lontronics wrote:

@Gullible Jones;

I do not know if you have worked with Opera, but how is the speed of Kazehakase/ Webcore compared to Opera?
Kazehakase does have tab support in combination with Webcore?

Jan

Faster than what I've seen from Opera. YMMV though, and though it's better than osb-browser it's still not nearly as stable as Opera or Firefox.

baze wrote:

is it only me, or does osb-browser not correctly render alpha transparency in png images?
gecko (epiphany in the background) renders them correctly, but they look really ugly in osb-browser with the latest webcore: http://img387.imageshack.us/my.php?image=webkitqn2.png

Yup, confirmed. That's pretty weird. Any other pages where that happens?

Offline

#25 2007-04-21 04:34:56

aquila_deus
Member
From: Taipei
Registered: 2005-07-02
Posts: 348
Website

Re: GTK-Webcore: not dead yet!

Omfg!!!! smile:):):)

Offline

Board footer

Powered by FluxBB