From gns at gnome.org Fri Jul 2 09:35:34 2010 From: gns at gnome.org (Gustavo Noronha Silva) Date: Fri, 02 Jul 2010 13:35:34 -0300 Subject: [webkit-gtk] Handling "create-plugin-widget" signals In-Reply-To: <1271072305.3594.12.camel@localhost.localdomain> References: <1270830463.18258.23.camel@localhost.localdomain> <1270942116.1940.1.camel@milkyway> <1271072305.3594.12.camel@localhost.localdomain> Message-ID: <1278088534.11987.1.camel@goiaba.horta> Hey! On Mon, 2010-04-12 at 07:38 -0400, Matthew Barnes wrote: > On Sat, 2010-04-10 at 18:28 -0500, Diego Escalante Urrelo wrote: > > Not a big help but I've been bitten by the same bug. Sometimes the > > widget pops when you trigger an scroll event, or resize the WebView so > > it requires scrollbars. > > I /think/ it's filled somewhere but I don't remember. > > I've since observed something similar. Evolution packs the web view > inside a GtkPaned widget, and users can change the pane orientation on > the fly by selecting between what we call "Classic" vs "Vertical" view. > > Doing so reveals the embedded widgets, so I've come to the conclusion > that my own code is correct. I haven't tried resizing yet; I'll give > that a shot next. > > Xan suggested calling gtk_widget_queue_resize() after the web view > finishes loading, but that doesn't seem to be a swift enough kick. > Perhaps gtk_widget_queue_draw()? > > I'll play around with it more and note my results here for posterity. Did you manage to get this working? This seems to be a somewhat common problem, I wonder if there's something we can do to improve the situation. I remember Xan had some idea, but it escaped me =P Cheers, -- Gustavo Noronha Silva GNOME Project From wadii.gd at gmail.com Mon Jul 5 02:45:57 2010 From: wadii.gd at gmail.com (Wadii Guedria) Date: Mon, 5 Jul 2010 11:45:57 +0200 Subject: [webkit-gtk] How to develop NPAPI plugin with webkitgtk Message-ID: Hi, I'd like to add plugins which call external C/C++ functions. So, I wonder if someone has an idea how to do this with webkitgtk. I need to have something like this, i, html page myObject.cmethod(); Regards, Wadii -------------- next part -------------- An HTML attachment was scrubbed... URL: From alsadi at gmail.com Fri Jul 9 09:49:40 2010 From: alsadi at gmail.com (Muayyad AlSadi) Date: Fri, 9 Jul 2010 19:49:40 +0300 Subject: [webkit-gtk] any page showing dialogs (html/js with alert / print ...etc) hangs Message-ID: Hello, I have written a python script that launches a server then show it in a view using webkit-gtk the code can be seen on git http://git.ojuba.org/cgit/thawab/tree/Thawab/gtkUi.py if the html/js contains any dialog eg. alert("hello"); the dialog will be shown but when closed it the app will hangs what could be the problem, is it related to threads ? some locks ? ...etc. any hint ? any comment ? note: sample tabbed_browser.py works fine From alsadi at gmail.com Tue Jul 13 05:51:12 2010 From: alsadi at gmail.com (Muayyad AlSadi) Date: Tue, 13 Jul 2010 15:51:12 +0300 Subject: [webkit-gtk] any page showing dialogs (html/js with alert / print ...etc) hangs In-Reply-To: References: Message-ID: for the records the problem was in populate_popup having self and view some-why different http://git.ojuba.org/cgit/thawab/commit/?id=e73cad3b79769567b438aea95f524d69c34fb9cc the problem is now solved From asdfgh2091 at yahoo.de Wed Jul 14 12:49:32 2010 From: asdfgh2091 at yahoo.de (Boris Bunker) Date: Wed, 14 Jul 2010 19:49:32 +0000 (GMT) Subject: [webkit-gtk] color links which has already been visited (history) Message-ID: <271686.44449.qm@web23201.mail.ird.yahoo.com> I am writing a little browser to browse local html files using webkit-gtk. When I restart the browser, I want it to color links which were visited in previous sessions. No problem I thought, save visited uris in a file, read them back and call webkit_web_history_item_new_with_data(uri,title); Put the links aren't coloured even though: Quote from http://webkitgtk.org/reference/webkitgtk-WebKitWebHistoryItem.html: The global history is used for coloring the links of visited sites. WebKitWebHistoryItem's constructed with webkit_web_history_item_new and webkit_web_history_item_new_with_data are automatically added to the global history. Links visted in previous sessions aren't coloured in midori and epiphany either. They seem to have my problem too. They have even the problem to coordinate the histories of two tabs: Only links visited in the tab itself are coloured. Webkit-gtk's cousins arora (webkit-qt) and chromium colour them. They don't have my problem. (Neither firefox nor ie) Am I missing something here? Is this a bug or a feature? I don't want to load every page I have previously visited to get their links coloured. I'm using ubuntu 10.04. I hope you can understand my Deutsch-English and thanks for your work. Yours asdfgh2091 From tvsdeepak at gmail.com Thu Jul 15 00:14:48 2010 From: tvsdeepak at gmail.com (Deepak) Date: Thu, 15 Jul 2010 07:14:48 +0000 (UTC) Subject: [webkit-gtk] Executing my own javascripts *after* any other References: <1277222647.1932.11.camel@laptop> Message-ID: > The problem is that, when "document-load-finished" is emitted, the > document is in a intermediary state where Googles' own onload scripts > have not been executed yet. At least that's what I could figure out > from spitting innerHTMLs on the console. > You have to listen on "window-object-cleared" to run your own javascript code. --Deepak From gns at gnome.org Fri Jul 16 06:03:15 2010 From: gns at gnome.org (Gustavo Noronha Silva) Date: Fri, 16 Jul 2010 10:03:15 -0300 Subject: [webkit-gtk] WebKitGTK+ 1.2.2 and 1.2.3 released! Message-ID: <1279285395.6146.36.camel@goiaba.horta> Hi, Some of you may have noticed WebKitGTK+ 1.2.2 and 1.2.3 have been uploaded recently. Here's their announcement =). A quick summary: if you're running the 1.2.x series upgrade to 1.2.3. Here's some information regarding 1.2.2: 1.2.2 is an update to the 1.2.x stable series; along with a lot of crash, and misc fixes the biggest changes are: 1) the inclusion of a new API from the development branch (webkit_back_forward_list_clear()), because it's simple and will help with fixing a problem in Epiphany stable, and 2) lots of drag and drop, and clipboard related work by Martin Robinson. Despite not being strictly fixes, we believe the stable series has a lot to gain from this work; a couple examples should illustrate this better: the changes included fix both a crash when dragging links from WebKit into other browsers, and the annoying bug that made the cursor get stuck in a grab when dragging, sometimes. http://webkitgtk.org/webkit-1.2.2.tar.gz MD5: 40338001324a38b977c163291e8816d3 Here's some information regarding 1.2.3: To some such a quick succession in releases may look like a brown paper bag was in order. Not strictly, but indeed 1.2.3 aims to fix some oversights with easy fixes. First of all, WebKit was not buildable with ICU 4.4.1, but thankfully a fix had already been checked in to trunk, so 1.2.3 includes that fix. Secondly, Debian's Michael Gilbert has done a great job going through all CVEs released about WebKit, and including patches in the Debian package. 1.2.3 includes all of the commits from trunk to fix those, too. http://webkitgtk.org/webkit-1.2.3.tar.gz MD5: 0ab5c478a6f5b74a1ae96bf13a456662 You can read some more details, including the list of CVEs that were addressed, in the NEWS file: http://gitorious.org/webkitgtk/stable/blobs/master/WebKit/gtk/NEWS See you, -- Gustavo Noronha Silva GNOME Project From haithem.rahmani at gmail.com Mon Jul 19 02:22:14 2010 From: haithem.rahmani at gmail.com (haithem rahmani) Date: Mon, 19 Jul 2010 11:22:14 +0200 Subject: [webkit-gtk] can't compile the WebKitGtk-1.2.3 Message-ID: Hi, When trying to compile the WebKitGtk 1.2.3 I got the follwing error: CXX WebCore/bindings/js/libwebkit_1_0_la-JSDOMWindowCustom.lo WebCore/bindings/js/JSDOMWindowCustom.cpp:39:24: error: JSDatabase.h: No such file or directory It seems that "JSDatabase.h" is no more included in the source tree, but "JSDOMWindowCustom.cpp" is still keeping reference to it. regards. Haithem. -- Be to GOD as he wants , HE'll be for you more than what you want. -------------- next part -------------- An HTML attachment was scrubbed... URL: From haithem.rahmani at gmail.com Mon Jul 19 04:25:36 2010 From: haithem.rahmani at gmail.com (haithem rahmani) Date: Mon, 19 Jul 2010 12:25:36 +0100 Subject: [webkit-gtk] problems to display chinese fonts using WebKit/gtk-directfb. Message-ID: Hi all, I'm running webkitGtK (directfb backend) on a setop box. It's working pretty well. however when browsing the site http://www.sina.com.cn I noticed a stange behaviour: - while loading the site main page the chinse glyphs that have been displayed are changing rapidly to other glyphs. - after the page loading finished it seems OK, but when pointing the mouse cursor to hyperlinks on the page the glyphs on that hyperlink change. - moving the cursor far from that hyperlink the changed glyphs keep the new modified symbols. I was not able to reproduce this error on PC. so I would be gratefull if someone can answer my questions: - What methods are called to change the color of the hyperlink when pointed by the mouse ? - can some one expalain to me how to write a test using GTK api to show chinese text ? mabe the problem is not related to webkit. PS: my config - gtk+2.0 2.12.9 - cairo 1.8.10 - fontconfig 2.8.0 -directfb 1.4.3 regards. Haithem. -- Be to GOD as he wants , HE'll be for you more than what you want. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bharathwaaj.s at gmail.com Mon Jul 19 05:14:33 2010 From: bharathwaaj.s at gmail.com (Bharathwaaj Srinivasan) Date: Mon, 19 Jul 2010 17:44:33 +0530 Subject: [webkit-gtk] can't compile the WebKitGtk-1.2.3 In-Reply-To: References: Message-ID: Hi, The file JSDatabase.h is auto generated by a perl script generate-bindings.pl. If you use build-webkit script for building, it should get generated inside WebKitBuild/Release/DerivedSources/. Perl should be installed and updated. Kind regards, Bharath On Mon, Jul 19, 2010 at 2:52 PM, haithem rahmani wrote: > Hi, > When trying to compile the WebKitGtk 1.2.3 > I got the follwing error: > > CXX WebCore/bindings/js/libwebkit_1_0_la-JSDOMWindowCustom.lo > WebCore/bindings/js/JSDOMWindowCustom.cpp:39:24: error: JSDatabase.h: No > such file or directory > > It seems that "JSDatabase.h" is no more included in the source tree, but > "JSDOMWindowCustom.cpp" > is still keeping reference to it. > > regards. > Haithem. > > > -- > Be to GOD as he wants , > HE'll be for you more > than what you want. > > _______________________________________________ > webkit-gtk mailing list > webkit-gtk at lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From haithem.rahmani at gmail.com Mon Jul 19 05:41:12 2010 From: haithem.rahmani at gmail.com (haithem rahmani) Date: Mon, 19 Jul 2010 13:41:12 +0100 Subject: [webkit-gtk] can't compile the WebKitGtk-1.2.3 In-Reply-To: References: Message-ID: Hi, I'm using the "http://webkitgtk.org/webkit-1.2.3.tar.gz" not the webkit svn tree. regards. Haithem. On Mon, Jul 19, 2010 at 1:14 PM, Bharathwaaj Srinivasan < bharathwaaj.s at gmail.com> wrote: > Hi, > > The file JSDatabase.h is auto generated by a perl script > generate-bindings.pl. > > If you use build-webkit script for building, it should get generated inside > WebKitBuild/Release/DerivedSources/. > > Perl should be installed and updated. > > Kind regards, > Bharath > > On Mon, Jul 19, 2010 at 2:52 PM, haithem rahmani < > haithem.rahmani at gmail.com> wrote: > >> Hi, >> When trying to compile the WebKitGtk 1.2.3 >> I got the follwing error: >> >> CXX WebCore/bindings/js/libwebkit_1_0_la-JSDOMWindowCustom.lo >> WebCore/bindings/js/JSDOMWindowCustom.cpp:39:24: error: JSDatabase.h: No >> such file or directory >> >> It seems that "JSDatabase.h" is no more included in the source tree, but >> "JSDOMWindowCustom.cpp" >> is still keeping reference to it. >> >> regards. >> Haithem. >> >> >> -- >> Be to GOD as he wants , >> HE'll be for you more >> than what you want. >> >> _______________________________________________ >> webkit-gtk mailing list >> webkit-gtk at lists.webkit.org >> http://lists.webkit.org/mailman/listinfo.cgi/webkit-gtk >> >> > -- Be to GOD as he wants , HE'll be for you more than what you want. -------------- next part -------------- An HTML attachment was scrubbed... URL: From rtnpro at gmail.com Mon Jul 19 12:51:52 2010 From: rtnpro at gmail.com (Ratnadeep Debnath) Date: Tue, 20 Jul 2010 01:21:52 +0530 Subject: [webkit-gtk] Webpage scrapping webkit + BeautifulSoup Message-ID: Hi, I am writing an app wordgroupz http://gitorious.org/wordgroupz/wordgroupz/ . I am implementing beautifulsoup here to scrap wiktionary pages and display them via webkit. The first part I have done, I used urllib to get the html object of the requisite page, scrapped it and then showed it using webkit. Now, I want to do the same for any link clicked within the page showed inside webkit. I don't know how. Please help. Thanks, Regards, rtnpro From flavio.ceolin at profusion.mobi Fri Jul 23 05:49:22 2010 From: flavio.ceolin at profusion.mobi (=?ISO-8859-1?Q?Fl=E1vio_Ceolin?=) Date: Fri, 23 Jul 2010 09:49:22 -0300 Subject: [webkit-gtk] How to register another protocol handler Message-ID: Hi folks, Is there a way to register a new protocol handler ?? It is the task of ResourceHandler right? If it is, Do I have to create a new class above the the ResourceHandlerSoup, just like Qt did with QNetworkAccessManager ? With this, will it be possible to intercepet the network request and then load resources from non-http/file, like a tar/zip ? Any clue is welcome. Regards, Ceolin From gns at gnome.org Sun Jul 25 03:39:10 2010 From: gns at gnome.org (Gustavo Noronha Silva) Date: Sun, 25 Jul 2010 11:39:10 +0100 Subject: [webkit-gtk] How to register another protocol handler In-Reply-To: References: Message-ID: <1280054350.3887.5.camel@goiaba.horta> Hey, On Fri, 2010-07-23 at 09:49 -0300, Fl?vio Ceolin wrote: > Is there a way to register a new protocol handler ?? Not right now. > It is the task of ResourceHandler right? If it is, Do I have to create > a new class above the the ResourceHandlerSoup, just like Qt did with > QNetworkAccessManager ? In WebKitGTK+ we have WebKitNetworkRequest, but we have no way of supporting custom protocols built into it - some of our API users have built simple solutions to provide support for some protocols using the navigation policy signals, and then using GIO directly. Our plan is to use the SoupURILoader infrastructure that is being built. Check these out: https://bugzilla.gnome.org/show_bug.cgi?id=557777 https://bugs.webkit.org/show_bug.cgi?id=40222 I guess you're asking about this for building support for this into WebKitEFL? Just curious =). Cheers, -- Gustavo Noronha Silva GNOME Project From flavio.ceolin at profusion.mobi Mon Jul 26 05:27:00 2010 From: flavio.ceolin at profusion.mobi (=?ISO-8859-1?Q?Fl=E1vio_Ceolin?=) Date: Mon, 26 Jul 2010 09:27:00 -0300 Subject: [webkit-gtk] How to register another protocol handler In-Reply-To: <1280054350.3887.5.camel@goiaba.horta> References: <1280054350.3887.5.camel@goiaba.horta> Message-ID: Hi, First of all, thank you for the reply. On Sun, Jul 25, 2010 at 7:39 AM, Gustavo Noronha Silva wrote: > Hey, > > On Fri, 2010-07-23 at 09:49 -0300, Fl?vio Ceolin wrote: >> Is there a way to register a new protocol handler ?? > > Not right now. > >> It is the task of ResourceHandler right? If it is, Do I have to create >> a new class above the the ResourceHandlerSoup, just like Qt did with >> QNetworkAccessManager ? > > In WebKitGTK+ we have WebKitNetworkRequest, but we have no way of > supporting custom protocols built into it - some of our API users have > built simple solutions to provide support for some protocols using the > navigation policy signals, and then using GIO directly. Our plan is to > use the SoupURILoader infrastructure that is being built. > I've had heard about this kind of functionalities using GIO, but I have no clue how do it. Where can I found an example ? > Check these out: > > ? ? ? ?https://bugzilla.gnome.org/show_bug.cgi?id=557777 > ? ? ? ?https://bugs.webkit.org/show_bug.cgi?id=40222 > I'll take a look > I guess you're asking about this for building support for this into > WebKitEFL? Just curious =). Yep =) Cheers, Ceolin From leeu365 at gmail.com Mon Jul 26 08:39:54 2010 From: leeu365 at gmail.com (=?GB2312?B?wO6809PR?=) Date: Mon, 26 Jul 2010 23:39:54 +0800 Subject: [webkit-gtk] do not send email to me , thank you Message-ID: do not send email to me , thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: From scurock at gmail.com Tue Jul 27 13:11:15 2010 From: scurock at gmail.com (SCU Rock) Date: Tue, 27 Jul 2010 13:11:15 -0700 Subject: [webkit-gtk] Download a file directly into memory Message-ID: Hi, What is the best function call to download a file on a website into a webkit-gtk program's memory? Looks like WebKitDownload widget only support download a file into harddrive. But I would just like to process the file in memory? Can I do that? Thanks, SR -------------- next part -------------- An HTML attachment was scrubbed... URL: