Active Topics

 


Reply
Thread Tools
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#21
@qwerty12:

How well do the bindings match the repository webkitgtk API?
__________________
N9: Go white or go home
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#22
Originally Posted by daperl View Post
@qwerty12:

How well do the bindings match the repository webkitgtk API?
The webkitgtk in there is Bundyo's latest (well, minus the localstorage patch) and these were built against that so, on that front, all should be well.

As for the bindings, codegen says the methods have 100% coverage so that should be OK too.

I hope I didn't misread your question
 

The Following 2 Users Say Thank You to qwerty12 For This Useful Post:
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#23
Originally Posted by qwerty12 View Post
The webkitgtk in there is Bundyo's latest (well, minus the localstorage patch) and these were built against that so, on that front, all should be well.

As for the bindings, codegen says the methods have 100% coverage so that should be OK too.

I hope I didn't misread your question
I saw where you were talking about midori in the Tear thread. I got mildly excited 'cause those guys are using this gjs stuff, and I was hoping you had created the python bindings for it. The guy that created and maintains the pywebkitgtk project yanked his gjs bindings; I don't think he ever got them to work, and I couldn't even get them to compile with the way he had things set up.

Anyway, IIRC, this gjs stuff allows access to the DOM inside webkit. Have you ever used Safari on an iPhone or an iPod touch? Well, the iPhone OS webkit has this cool feature that I think is called "Web Spot": By double tapping, the view will zoom or unzoom based on the inclosing tap's <div> width. It's f*cking awsome. But I think the only way to do such a thing is to have access to the DOM. Blah, blah, blah...

So, the reason I asked was my impression from the pywebkitgtk code is that some of the calls need an override file, and I was just curious how deep in the sh*t you were. But if codegen is handling everything, cool. Here's some links just for the heck of it:

pywebkitgtk source tree
midori's gjs.h

May The Force be with you. Always.
__________________
N9: Go white or go home
 

The Following User Says Thank You to daperl For This Useful Post:
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#24
And you need different zoom technique.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.
 

The Following User Says Thank You to Bundyo For This Useful Post:
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#25
Originally Posted by Bundyo View Post
And you need different zoom technique.
You're right, damn. It's just a view transform call. Except for rotation and view selection, there's really no resizing of the browser and there isn't any reformatting really, which means they're not even using webkit's zoom functions. And since everything is sitting on top of Cairo, I wonder if it wouldn't be just one matrix transform call in GTK. Those TI graphics drivers would sure come in handy right about now.
__________________
N9: Go white or go home
 
Reply

Tags
python, webkit


 
Forum Jump


All times are GMT. The time now is 13:43.