You are viewing donscorgie

Another Pointless Blog - All the cool kids are doing it
February 3rd, 2008
05:31 pm

[Link]

Previous Entry Share Next Entry
All the cool kids are doing it
WebCore. In Yelp.
It doesn't look much, but it it

Pluses:
* Blazing fast. Startup goes from 2.8s to 1.9s. Startup limitation is now in yelp code (which I can work on)
* API rocks. It's like a real gtk+ API. I can understand what's going on in it.

Minuses:
* People will expect the choice now.
* Frags apparently don't count as links, which means we'll have to deal with all events. Which sucks.
* WebCore apparently doesn't play nicely with libxslt. More on this in a minute.
* Scrollbars have gone AWOL.

Currently, the patch resides in bugzilla. It's ugly and disables lots of features. Once it's cleaned up a bit and more works, I'll consider (maybe!) landing it in SVN.

The problem with WebCore and libxslt. Any help most gratefully appreciated. The issue appears when trying to parse the next document after WebCore is initialised. The sequence goes something like:
Yelp starts
Initialise TOC
Initialise and pages requested
Create window as well as html
(When user requests doc): Initialise new page.

When I do all this, it works beautifully up until the final step. Then, things go a bit squiffy:
"/usr/share/gnome/help/platform-overview/C/platform-overview.xml:1: parser error : Document is empty

^
/usr/share/gnome/help/platform-overview/C/platform-overview.xml:1: parser error : Start tag expected, '<' not found

^
"
Except the XML file definitely exists and is valid (I can display it normally). Things get even more fun for man and info pages, where the first step is to load the stylesheet using
"transform->stylesheet = xsltParseStylesheetFile (BAD_CAST stylesheet);"
This fails miserably and the entire program grinds to a horrible halt. So, anyone with experience of WebCore and / or libxslt want to comment and / or explain WTF is going on? There's a drink in it if you can solve it.

(10 comments | Leave a comment)

Comments
 
From:(Anonymous)
Date:February 3rd, 2008 05:52 pm (UTC)

About scrollbars

(Link)
I'm no WebKit or GTK+ guru, but maybe you should place the component in some kind of scrolling pane?
From:donscorgie
Date:February 3rd, 2008 05:55 pm (UTC)

Re: About scrollbars

(Link)
Thanks. I've discussed with Xan Lopez on IRC about the scrollbars. He did (at least some of) the work in porting epiphany to use WebKit and pointed me in the right direction.
From:(Anonymous)
Date:February 3rd, 2008 08:21 pm (UTC)

No

(Link)
No, REAL users (as in end users) will not care rats ass about having a choice. They just want it to work. It's supposed to view very simple stuff with relatively few formating tricks - even DILLO would suffice. If it takes as much as over one second to maintain mozilla version then dump it because the input/output ratio for maintaining alternatives is too much.
From:(Anonymous)
Date:February 3rd, 2008 09:50 pm (UTC)

Re: No

(Link)
On the other hand displaying "very simple stuff with relatively few formating tricks" more than one second even on slower machine sucks. Therefore porting Yelp to more resource-savvy engine makes sense.
From:(Anonymous)
Date:February 3rd, 2008 09:27 pm (UTC)

Minus

(Link)
It is not accessible.
From:(Anonymous)
Date:February 3rd, 2008 10:38 pm (UTC)

Re: Minus

(Link)
Which is one reason we aren't going to just rip out Gecko tomorrow. Accessibility is something that can be worked on. And if the community is moving towards Webkit/Gtk, then you can be sure it will be worked on.

Of course, one could argue that chasing accessibility on Webkit when we already have it with Gecko is pointless. But Gecko has been a huge source of headaches over the last few years, and doesn't exactly have a spotless accessibility track record itself.

--
Shaun
From:(Anonymous)
Date:December 11th, 2010 09:39 pm (UTC)

ASP, PHP,Wordpress blog , development, Joomla, Drupal, DNN, Web Designing,JQuery, Mootools, AJAX, Ja

(Link)
Hack again?!
From:(Anonymous)
Date:January 14th, 2011 07:47 pm (UTC)

Breeze away rental business software?

(Link)
When i was at the most recent excursion on the way to Bergen I met Augustus on my street. This guy informed me, he was open to buy a new Software package in our Computer Storeroom around the turn. Fortunate, so a luck, I was just now in this area to proceed toward the equal shop, however intended for a dissimilar cause. We both determined that we depart as one, therefore we both be able to offer assistance to each other.
Nowadays I once in a blue moon purchase Computer programs in a stock. I have a preference purchasing in the Web since nearly at all times there appears to be the plus to check a demonstration or even test the thing for a limited period or and restricted features. I can not accomplish that inside a store! My buddy opposed me, telling me he is sure of exactly what he requests. This guy weathered previously on his acquaintances computer as a consequence it is the paramount he has yet encountered yet!
Here in Norway however it appears to be not dangerous to pay money for [url=http://www.accuevent.com]rental business software[/url] in the Network. It comes with the entire help you want. Indisputably it is good, when you give people joy and this so greatly required entertainment, when you manage a venture that certainly is connected to Outdoor parties, Events and Celebration, nevertheless still this type of making funds nevertheless needs to get money (smile at this moment). Thus hold it all together and be sure you hold a first-rate program to deal with all your ventures and maintains you updated!
For me, Scott Potts the thing is the most crucial bit of gear you does possess!
For ever and a day know, what appears to be best!!
From:(Anonymous)
Date:January 17th, 2011 11:30 pm (UTC)

Phlebotomy Certification

(Link)
Read about: [url=http://www.phlebotomycertificationcourse.com/]Phlebotomy Certification[/url], [url=http://www.phlebotomycertificationcourse.com/]phlebotomy certification online[/url], [url=http://www.phlebotomycertificationcourse.com/]phlebotomy training[/url], [url=http://www.phlebotomycertificationcourse.com/]ascp[/url], [url=http://www.phlebotomycertificationcourse.com/]nursing training[/url], [url=http://www.phlebotomycertificationcourse.com/]phlebotomy training[/url], [url=http://www.phlebotomycertificationcourse.com/]phlebotomy technician[/url], [url=http://www.phlebotomycertificationcourse.com/]phlebotomist certification[/url], [url=http://www.phlebotomycertificationcourse.com/]phlebotomy jobs[/url] and [url=http://www.phlebotomycertificationcourse.com/]phlebotomy certification exam[/url]
From:(Anonymous)
Date:February 25th, 2011 08:20 pm (UTC)

hi,I am donscorgie.livejournal.com member now,Grate !

(Link)
Hello.
The interesting name of a site - donscorgie.livejournal.com, interesting this here is very good.
I spent 4 hours searching in the network, until find your forum!
Powered by LiveJournal.com